Socket
Socket
Sign inDemoInstall

oci-workrequests

Package Overview
Dependencies
2
Maintainers
4
Versions
183
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.79.1 to 2.80.0

11

lib/client.d.ts

@@ -33,3 +33,3 @@ /**

protected static endpointServiceName: string;
protected "_realmSpecificEndpointTemplateEnabled": boolean;
protected "_realmSpecificEndpointTemplateEnabled": boolean | undefined;
protected "_endpoint": string;

@@ -57,2 +57,3 @@ protected "_defaultHeaders": any;

set endpoint(endpoint: string);
get logger(): import("oci-common/lib/log").Logger;
/**

@@ -102,3 +103,3 @@ * Determines whether realm specific endpoint should be used or not.

* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/workrequests/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/workrequests/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
*/

@@ -113,3 +114,3 @@ getWorkRequest(getWorkRequestRequest: requests.GetWorkRequestRequest): Promise<responses.GetWorkRequestResponse>;

* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/workrequests/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/workrequests/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
*/

@@ -156,3 +157,3 @@ listWorkRequestErrors(listWorkRequestErrorsRequest: requests.ListWorkRequestErrorsRequest): Promise<responses.ListWorkRequestErrorsResponse>;

* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/workrequests/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/workrequests/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
*/

@@ -199,3 +200,3 @@ listWorkRequestLogs(listWorkRequestLogsRequest: requests.ListWorkRequestLogsRequest): Promise<responses.ListWorkRequestLogsResponse>;

* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/workrequests/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/workrequests/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
*/

@@ -202,0 +203,0 @@ listWorkRequests(listWorkRequestsRequest: requests.ListWorkRequestsRequest): Promise<responses.ListWorkRequestsResponse>;

@@ -67,3 +67,3 @@ "use strict";

constructor(params, clientConfiguration) {
this["_realmSpecificEndpointTemplateEnabled"] = false;
this["_realmSpecificEndpointTemplateEnabled"] = undefined;
this["_endpoint"] = "";

@@ -127,4 +127,8 @@ this["_defaultHeaders"] = {};

this._endpoint = this._endpoint + "/20160918";
oci_common_2.logger.info(`WorkRequestClient endpoint set to ${this._endpoint}`);
if (this.logger)
this.logger.info(`WorkRequestClient endpoint set to ${this._endpoint}`);
}
get logger() {
return common.LOG.logger;
}
/**

@@ -137,3 +141,4 @@ * Determines whether realm specific endpoint should be used or not.

this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
oci_common_2.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
if (this.logger)
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {

@@ -204,7 +209,8 @@ this.endpoint = common.EndpointBuilder.createEndpointFromRegion(WorkRequestClient.serviceEndpointTemplate, this._region, WorkRequestClient.endpointServiceName);

* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/workrequests/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/workrequests/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
*/
getWorkRequest(getWorkRequestRequest) {
return __awaiter(this, void 0, void 0, function* () {
oci_common_2.logger.debug("Calling operation WorkRequestClient#getWorkRequest.");
if (this.logger)
this.logger.debug("Calling operation WorkRequestClient#getWorkRequest.");
const operationName = "getWorkRequest";

@@ -222,2 +228,4 @@ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest";

const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
if (this.logger)
retrier.logger = this.logger;
const request = yield oci_common_2.composeRequest({

@@ -262,7 +270,8 @@ baseEndpoint: this._endpoint,

* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/workrequests/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/workrequests/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
*/
listWorkRequestErrors(listWorkRequestErrorsRequest) {
return __awaiter(this, void 0, void 0, function* () {
oci_common_2.logger.debug("Calling operation WorkRequestClient#listWorkRequestErrors.");
if (this.logger)
this.logger.debug("Calling operation WorkRequestClient#listWorkRequestErrors.");
const operationName = "listWorkRequestErrors";

@@ -284,2 +293,4 @@ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/workrequests/20160918/WorkRequestError/ListWorkRequestErrors";

const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
if (this.logger)
retrier.logger = this.logger;
const request = yield oci_common_2.composeRequest({

@@ -369,7 +380,8 @@ baseEndpoint: this._endpoint,

* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/workrequests/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/workrequests/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
*/
listWorkRequestLogs(listWorkRequestLogsRequest) {
return __awaiter(this, void 0, void 0, function* () {
oci_common_2.logger.debug("Calling operation WorkRequestClient#listWorkRequestLogs.");
if (this.logger)
this.logger.debug("Calling operation WorkRequestClient#listWorkRequestLogs.");
const operationName = "listWorkRequestLogs";

@@ -391,2 +403,4 @@ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/workrequests/20160918/WorkRequestLogEntry/ListWorkRequestLogs";

const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
if (this.logger)
retrier.logger = this.logger;
const request = yield oci_common_2.composeRequest({

@@ -476,7 +490,8 @@ baseEndpoint: this._endpoint,

* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/workrequests/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/workrequests/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
*/
listWorkRequests(listWorkRequestsRequest) {
return __awaiter(this, void 0, void 0, function* () {
oci_common_2.logger.debug("Calling operation WorkRequestClient#listWorkRequests.");
if (this.logger)
this.logger.debug("Calling operation WorkRequestClient#listWorkRequests.");
const operationName = "listWorkRequests";

@@ -497,2 +512,4 @@ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/workrequests/20160918/WorkRequestSummary/ListWorkRequests";

const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
if (this.logger)
retrier.logger = this.logger;
const request = yield oci_common_2.composeRequest({

@@ -499,0 +516,0 @@ baseEndpoint: this._endpoint,

@@ -15,3 +15,3 @@ /**

/**
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/workrequests/GetWorkRequest.ts.html |here} to see how to use GetWorkRequestRequest.
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/workrequests/GetWorkRequest.ts.html |here} to see how to use GetWorkRequestRequest.
*/

@@ -18,0 +18,0 @@ export interface GetWorkRequestRequest extends common.BaseRequest {

@@ -15,3 +15,3 @@ /**

/**
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/workrequests/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrorsRequest.
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/workrequests/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrorsRequest.
*/

@@ -18,0 +18,0 @@ export interface ListWorkRequestErrorsRequest extends common.BaseRequest {

@@ -15,3 +15,3 @@ /**

/**
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/workrequests/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogsRequest.
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/workrequests/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogsRequest.
*/

@@ -18,0 +18,0 @@ export interface ListWorkRequestLogsRequest extends common.BaseRequest {

@@ -15,3 +15,3 @@ /**

/**
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/workrequests/ListWorkRequests.ts.html |here} to see how to use ListWorkRequestsRequest.
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/workrequests/ListWorkRequests.ts.html |here} to see how to use ListWorkRequestsRequest.
*/

@@ -18,0 +18,0 @@ export interface ListWorkRequestsRequest extends common.BaseRequest {

{
"name": "oci-workrequests",
"version": "2.79.1",
"version": "2.80.0",
"description": "OCI NodeJS client for WorkRequests",

@@ -18,4 +18,4 @@ "repository": {

"dependencies": {
"oci-common": "2.79.1",
"oci-workrequests": "2.79.1"
"oci-common": "2.80.0",
"oci-workrequests": "2.80.0"
},

@@ -22,0 +22,0 @@ "publishConfig": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc