Socket
Socket
Sign inDemoInstall

oci-apigateway

Package Overview
Dependencies
Maintainers
2
Versions
191
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oci-apigateway - npm Package Compare versions

Comparing version 1.3.0 to 1.4.0

15

lib/client.d.ts

@@ -29,2 +29,3 @@ /**

protected "_waiters": DeploymentWaiter;
protected "_clientConfiguration": common.ClientConfiguration;
protected _httpClient: common.HttpClient;

@@ -67,2 +68,6 @@ constructor(params: common.AuthParams);

/**
* Sets the client configuration for the client
*/
clientConfiguration: common.ClientConfiguration;
/**
* Changes the deployment compartment.

@@ -119,2 +124,3 @@ * @param ChangeDeploymentCompartmentRequest

protected "_waiters": GatewayWaiter;
protected "_clientConfiguration": common.ClientConfiguration;
protected _httpClient: common.HttpClient;

@@ -157,2 +163,6 @@ constructor(params: common.AuthParams);

/**
* Sets the client configuration for the client
*/
clientConfiguration: common.ClientConfiguration;
/**
* Changes the gateway compartment.

@@ -209,2 +219,3 @@ * @param ChangeGatewayCompartmentRequest

protected "_waiters": WorkRequestsWaiter;
protected "_clientConfiguration": common.ClientConfiguration;
protected _httpClient: common.HttpClient;

@@ -247,2 +258,6 @@ constructor(params: common.AuthParams);

/**
* Sets the client configuration for the client
*/
clientConfiguration: common.ClientConfiguration;
/**
* Cancels the work request.

@@ -249,0 +264,0 @@ * @param CancelWorkRequestRequest

69

lib/client.js

@@ -116,2 +116,8 @@ "use strict";

/**
* Sets the client configuration for the client
*/
set clientConfiguration(clientConfiguration) {
this._clientConfiguration = clientConfiguration;
}
/**
* Changes the deployment compartment.

@@ -145,3 +151,4 @@ * @param ChangeDeploymentCompartmentRequest

});
const response = yield this._httpClient.send(request);
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, changeDeploymentCompartmentRequest.retryConfiguration);
const response = yield retrier.makeServiceCall(() => this._httpClient.send(request));
if (response.status && response.status >= 200 && response.status <= 299) {

@@ -198,3 +205,4 @@ const sdkResponse = oci_common_1.composeResponse({

});
const response = yield this._httpClient.send(request);
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, createDeploymentRequest.retryConfiguration);
const response = yield retrier.makeServiceCall(() => this._httpClient.send(request));
if (response.status && response.status >= 200 && response.status <= 299) {

@@ -264,3 +272,4 @@ const sdkResponse = oci_common_1.composeResponse({

});
const response = yield this._httpClient.send(request);
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, deleteDeploymentRequest.retryConfiguration);
const response = yield retrier.makeServiceCall(() => this._httpClient.send(request));
if (response.status && response.status >= 200 && response.status <= 299) {

@@ -316,3 +325,4 @@ const sdkResponse = oci_common_1.composeResponse({

});
const response = yield this._httpClient.send(request);
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, getDeploymentRequest.retryConfiguration);
const response = yield retrier.makeServiceCall(() => this._httpClient.send(request));
if (response.status && response.status >= 200 && response.status <= 299) {

@@ -379,3 +389,4 @@ const sdkResponse = oci_common_1.composeResponse({

});
const response = yield this._httpClient.send(request);
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, listDeploymentsRequest.retryConfiguration);
const response = yield retrier.makeServiceCall(() => this._httpClient.send(request));
if (response.status && response.status >= 200 && response.status <= 299) {

@@ -441,3 +452,4 @@ const sdkResponse = oci_common_1.composeResponse({

});
const response = yield this._httpClient.send(request);
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, updateDeploymentRequest.retryConfiguration);
const response = yield retrier.makeServiceCall(() => this._httpClient.send(request));
if (response.status && response.status >= 200 && response.status <= 299) {

@@ -543,2 +555,8 @@ const sdkResponse = oci_common_1.composeResponse({

/**
* Sets the client configuration for the client
*/
set clientConfiguration(clientConfiguration) {
this._clientConfiguration = clientConfiguration;
}
/**
* Changes the gateway compartment.

@@ -572,3 +590,4 @@ * @param ChangeGatewayCompartmentRequest

});
const response = yield this._httpClient.send(request);
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, changeGatewayCompartmentRequest.retryConfiguration);
const response = yield retrier.makeServiceCall(() => this._httpClient.send(request));
if (response.status && response.status >= 200 && response.status <= 299) {

@@ -625,3 +644,4 @@ const sdkResponse = oci_common_1.composeResponse({

});
const response = yield this._httpClient.send(request);
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, createGatewayRequest.retryConfiguration);
const response = yield retrier.makeServiceCall(() => this._httpClient.send(request));
if (response.status && response.status >= 200 && response.status <= 299) {

@@ -691,3 +711,4 @@ const sdkResponse = oci_common_1.composeResponse({

});
const response = yield this._httpClient.send(request);
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, deleteGatewayRequest.retryConfiguration);
const response = yield retrier.makeServiceCall(() => this._httpClient.send(request));
if (response.status && response.status >= 200 && response.status <= 299) {

@@ -743,3 +764,4 @@ const sdkResponse = oci_common_1.composeResponse({

});
const response = yield this._httpClient.send(request);
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, getGatewayRequest.retryConfiguration);
const response = yield retrier.makeServiceCall(() => this._httpClient.send(request));
if (response.status && response.status >= 200 && response.status <= 299) {

@@ -805,3 +827,4 @@ const sdkResponse = oci_common_1.composeResponse({

});
const response = yield this._httpClient.send(request);
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, listGatewaysRequest.retryConfiguration);
const response = yield retrier.makeServiceCall(() => this._httpClient.send(request));
if (response.status && response.status >= 200 && response.status <= 299) {

@@ -867,3 +890,4 @@ const sdkResponse = oci_common_1.composeResponse({

});
const response = yield this._httpClient.send(request);
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, updateGatewayRequest.retryConfiguration);
const response = yield retrier.makeServiceCall(() => this._httpClient.send(request));
if (response.status && response.status >= 200 && response.status <= 299) {

@@ -969,2 +993,8 @@ const sdkResponse = oci_common_1.composeResponse({

/**
* Sets the client configuration for the client
*/
set clientConfiguration(clientConfiguration) {
this._clientConfiguration = clientConfiguration;
}
/**
* Cancels the work request.

@@ -997,3 +1027,4 @@ * @param CancelWorkRequestRequest

});
const response = yield this._httpClient.send(request);
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, cancelWorkRequestRequest.retryConfiguration);
const response = yield retrier.makeServiceCall(() => this._httpClient.send(request));
if (response.status && response.status >= 200 && response.status <= 299) {

@@ -1044,3 +1075,4 @@ const sdkResponse = oci_common_1.composeResponse({

});
const response = yield this._httpClient.send(request);
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, getWorkRequestRequest.retryConfiguration);
const response = yield retrier.makeServiceCall(() => this._httpClient.send(request));
if (response.status && response.status >= 200 && response.status <= 299) {

@@ -1110,3 +1142,4 @@ const sdkResponse = oci_common_1.composeResponse({

});
const response = yield this._httpClient.send(request);
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, listWorkRequestErrorsRequest.retryConfiguration);
const response = yield retrier.makeServiceCall(() => this._httpClient.send(request));
if (response.status && response.status >= 200 && response.status <= 299) {

@@ -1176,3 +1209,4 @@ const sdkResponse = oci_common_1.composeResponse({

});
const response = yield this._httpClient.send(request);
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, listWorkRequestLogsRequest.retryConfiguration);
const response = yield retrier.makeServiceCall(() => this._httpClient.send(request));
if (response.status && response.status >= 200 && response.status <= 299) {

@@ -1242,3 +1276,4 @@ const sdkResponse = oci_common_1.composeResponse({

});
const response = yield this._httpClient.send(request);
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, listWorkRequestsRequest.retryConfiguration);
const response = yield retrier.makeServiceCall(() => this._httpClient.send(request));
if (response.status && response.status >= 200 && response.status <= 299) {

@@ -1245,0 +1280,0 @@ const sdkResponse = oci_common_1.composeResponse({

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

return __awaiter(this, void 0, void 0, function* () {
return oci_common_1.genericTerminalConditionWaiter(this.config, () => this.client.getDeployment(request), response => targetStates.exists(response.deployment.lifecycleState), targetStates.includes(models.Deployment.LifecycleState.DELETED));
return oci_common_1.genericTerminalConditionWaiter(this.config, () => this.client.getDeployment(request), response => targetStates.exists(response.deployment.lifecycleState), targetStates.includes(models.Deployment.LifecycleState.Deleted));
});

@@ -53,0 +53,0 @@ }

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

return __awaiter(this, void 0, void 0, function* () {
return oci_common_1.genericTerminalConditionWaiter(this.config, () => this.client.getGateway(request), response => targetStates.exists(response.gateway.lifecycleState), targetStates.includes(models.Gateway.LifecycleState.DELETED));
return oci_common_1.genericTerminalConditionWaiter(this.config, () => this.client.getGateway(request), response => targetStates.exists(response.gateway.lifecycleState), targetStates.includes(models.Gateway.LifecycleState.Deleted));
});

@@ -53,0 +53,0 @@ }

@@ -39,10 +39,10 @@ /**

enum Methods {
ANY = "ANY",
HEAD = "HEAD",
GET = "GET",
POST = "POST",
PUT = "PUT",
PATCH = "PATCH",
DELETE = "DELETE",
OPTIONS = "OPTIONS",
Any = "ANY",
Head = "HEAD",
Get = "GET",
Post = "POST",
Put = "PUT",
Patch = "PATCH",
Delete = "DELETE",
Options = "OPTIONS",
/**

@@ -52,5 +52,5 @@ * This value is used if a service returns a value for this enum that is not recognized by this

*/
UNKNOWN_VALUE = "UNKNOWN_VALUE"
UnknownValue = "UNKNOWN_VALUE"
}
function getJsonObj(obj: ApiSpecificationRoute): object;
}

@@ -30,10 +30,10 @@ "use strict";

(function (Methods) {
Methods["ANY"] = "ANY";
Methods["HEAD"] = "HEAD";
Methods["GET"] = "GET";
Methods["POST"] = "POST";
Methods["PUT"] = "PUT";
Methods["PATCH"] = "PATCH";
Methods["DELETE"] = "DELETE";
Methods["OPTIONS"] = "OPTIONS";
Methods["Any"] = "ANY";
Methods["Head"] = "HEAD";
Methods["Get"] = "GET";
Methods["Post"] = "POST";
Methods["Put"] = "PUT";
Methods["Patch"] = "PATCH";
Methods["Delete"] = "DELETE";
Methods["Options"] = "OPTIONS";
/**

@@ -43,3 +43,3 @@ * This value is used if a service returns a value for this enum that is not recognized by this

*/
Methods["UNKNOWN_VALUE"] = "UNKNOWN_VALUE";
Methods["UnknownValue"] = "UNKNOWN_VALUE";
})(Methods = ApiSpecificationRoute.Methods || (ApiSpecificationRoute.Methods = {}));

@@ -46,0 +46,0 @@ function getJsonObj(obj) {

@@ -107,8 +107,8 @@ /**

enum LifecycleState {
CREATING = "CREATING",
ACTIVE = "ACTIVE",
UPDATING = "UPDATING",
DELETING = "DELETING",
DELETED = "DELETED",
FAILED = "FAILED",
Creating = "CREATING",
Active = "ACTIVE",
Updating = "UPDATING",
Deleting = "DELETING",
Deleted = "DELETED",
Failed = "FAILED",
/**

@@ -118,5 +118,5 @@ * This value is used if a service returns a value for this enum that is not recognized by this

*/
UNKNOWN_VALUE = "UNKNOWN_VALUE"
UnknownValue = "UNKNOWN_VALUE"
}
function getJsonObj(obj: Deployment): object;
}

@@ -30,8 +30,8 @@ "use strict";

(function (LifecycleState) {
LifecycleState["CREATING"] = "CREATING";
LifecycleState["ACTIVE"] = "ACTIVE";
LifecycleState["UPDATING"] = "UPDATING";
LifecycleState["DELETING"] = "DELETING";
LifecycleState["DELETED"] = "DELETED";
LifecycleState["FAILED"] = "FAILED";
LifecycleState["Creating"] = "CREATING";
LifecycleState["Active"] = "ACTIVE";
LifecycleState["Updating"] = "UPDATING";
LifecycleState["Deleting"] = "DELETING";
LifecycleState["Deleted"] = "DELETED";
LifecycleState["Failed"] = "FAILED";
/**

@@ -41,3 +41,3 @@ * This value is used if a service returns a value for this enum that is not recognized by this

*/
LifecycleState["UNKNOWN_VALUE"] = "UNKNOWN_VALUE";
LifecycleState["UnknownValue"] = "UNKNOWN_VALUE";
})(LifecycleState = Deployment.LifecycleState || (Deployment.LifecycleState = {}));

@@ -44,0 +44,0 @@ function getJsonObj(obj) {

@@ -34,5 +34,5 @@ /**

enum LogLevel {
INFO = "INFO",
WARN = "WARN",
ERROR = "ERROR",
Info = "INFO",
Warn = "WARN",
Error = "ERROR",
/**

@@ -42,5 +42,5 @@ * This value is used if a service returns a value for this enum that is not recognized by this

*/
UNKNOWN_VALUE = "UNKNOWN_VALUE"
UnknownValue = "UNKNOWN_VALUE"
}
function getJsonObj(obj: ExecutionLogPolicy): object;
}

@@ -22,5 +22,5 @@ "use strict";

(function (LogLevel) {
LogLevel["INFO"] = "INFO";
LogLevel["WARN"] = "WARN";
LogLevel["ERROR"] = "ERROR";
LogLevel["Info"] = "INFO";
LogLevel["Warn"] = "WARN";
LogLevel["Error"] = "ERROR";
/**

@@ -30,3 +30,3 @@ * This value is used if a service returns a value for this enum that is not recognized by this

*/
LogLevel["UNKNOWN_VALUE"] = "UNKNOWN_VALUE";
LogLevel["UnknownValue"] = "UNKNOWN_VALUE";
})(LogLevel = ExecutionLogPolicy.LogLevel || (ExecutionLogPolicy.LogLevel = {}));

@@ -33,0 +33,0 @@ function getJsonObj(obj) {

@@ -101,4 +101,4 @@ /**

enum EndpointType {
PUBLIC = "PUBLIC",
PRIVATE = "PRIVATE",
Public = "PUBLIC",
Private = "PRIVATE",
/**

@@ -108,11 +108,11 @@ * This value is used if a service returns a value for this enum that is not recognized by this

*/
UNKNOWN_VALUE = "UNKNOWN_VALUE"
UnknownValue = "UNKNOWN_VALUE"
}
enum LifecycleState {
CREATING = "CREATING",
ACTIVE = "ACTIVE",
UPDATING = "UPDATING",
DELETING = "DELETING",
DELETED = "DELETED",
FAILED = "FAILED",
Creating = "CREATING",
Active = "ACTIVE",
Updating = "UPDATING",
Deleting = "DELETING",
Deleted = "DELETED",
Failed = "FAILED",
/**

@@ -122,5 +122,5 @@ * This value is used if a service returns a value for this enum that is not recognized by this

*/
UNKNOWN_VALUE = "UNKNOWN_VALUE"
UnknownValue = "UNKNOWN_VALUE"
}
function getJsonObj(obj: Gateway): object;
}

@@ -22,4 +22,4 @@ "use strict";

(function (EndpointType) {
EndpointType["PUBLIC"] = "PUBLIC";
EndpointType["PRIVATE"] = "PRIVATE";
EndpointType["Public"] = "PUBLIC";
EndpointType["Private"] = "PRIVATE";
/**

@@ -29,12 +29,12 @@ * This value is used if a service returns a value for this enum that is not recognized by this

*/
EndpointType["UNKNOWN_VALUE"] = "UNKNOWN_VALUE";
EndpointType["UnknownValue"] = "UNKNOWN_VALUE";
})(EndpointType = Gateway.EndpointType || (Gateway.EndpointType = {}));
let LifecycleState;
(function (LifecycleState) {
LifecycleState["CREATING"] = "CREATING";
LifecycleState["ACTIVE"] = "ACTIVE";
LifecycleState["UPDATING"] = "UPDATING";
LifecycleState["DELETING"] = "DELETING";
LifecycleState["DELETED"] = "DELETED";
LifecycleState["FAILED"] = "FAILED";
LifecycleState["Creating"] = "CREATING";
LifecycleState["Active"] = "ACTIVE";
LifecycleState["Updating"] = "UPDATING";
LifecycleState["Deleting"] = "DELETING";
LifecycleState["Deleted"] = "DELETED";
LifecycleState["Failed"] = "FAILED";
/**

@@ -44,3 +44,3 @@ * This value is used if a service returns a value for this enum that is not recognized by this

*/
LifecycleState["UNKNOWN_VALUE"] = "UNKNOWN_VALUE";
LifecycleState["UnknownValue"] = "UNKNOWN_VALUE";
})(LifecycleState = Gateway.LifecycleState || (Gateway.LifecycleState = {}));

@@ -47,0 +47,0 @@ function getJsonObj(obj) {

@@ -53,3 +53,3 @@ /**

enum Kty {
RSA = "RSA",
Rsa = "RSA",
/**

@@ -59,3 +59,3 @@ * This value is used if a service returns a value for this enum that is not recognized by this

*/
UNKNOWN_VALUE = "UNKNOWN_VALUE"
UnknownValue = "UNKNOWN_VALUE"
}

@@ -68,3 +68,3 @@ enum Use {

*/
UNKNOWN_VALUE = "UNKNOWN_VALUE"
UnknownValue = "UNKNOWN_VALUE"
}

@@ -77,3 +77,3 @@ enum KeyOps {

*/
UNKNOWN_VALUE = "UNKNOWN_VALUE"
UnknownValue = "UNKNOWN_VALUE"
}

@@ -80,0 +80,0 @@ function getJsonObj(obj: JsonWebKey, isParentJsonObj?: boolean): object;

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

(function (Kty) {
Kty["RSA"] = "RSA";
Kty["Rsa"] = "RSA";
/**

@@ -36,3 +36,3 @@ * This value is used if a service returns a value for this enum that is not recognized by this

*/
Kty["UNKNOWN_VALUE"] = "UNKNOWN_VALUE";
Kty["UnknownValue"] = "UNKNOWN_VALUE";
})(Kty = JsonWebKey.Kty || (JsonWebKey.Kty = {}));

@@ -46,3 +46,3 @@ let Use;

*/
Use["UNKNOWN_VALUE"] = "UNKNOWN_VALUE";
Use["UnknownValue"] = "UNKNOWN_VALUE";
})(Use = JsonWebKey.Use || (JsonWebKey.Use = {}));

@@ -56,3 +56,3 @@ let KeyOps;

*/
KeyOps["UNKNOWN_VALUE"] = "UNKNOWN_VALUE";
KeyOps["UnknownValue"] = "UNKNOWN_VALUE";
})(KeyOps = JsonWebKey.KeyOps || (JsonWebKey.KeyOps = {}));

@@ -59,0 +59,0 @@ function getJsonObj(obj, isParentJsonObj) {

@@ -31,4 +31,4 @@ /**

enum RateKey {
CLIENTIP = "CLIENT_IP",
TOTAL = "TOTAL",
ClientIp = "CLIENT_IP",
Total = "TOTAL",
/**

@@ -38,5 +38,5 @@ * This value is used if a service returns a value for this enum that is not recognized by this

*/
UNKNOWN_VALUE = "UNKNOWN_VALUE"
UnknownValue = "UNKNOWN_VALUE"
}
function getJsonObj(obj: RateLimitingPolicy): object;
}

@@ -22,4 +22,4 @@ "use strict";

(function (RateKey) {
RateKey["CLIENTIP"] = "CLIENT_IP";
RateKey["TOTAL"] = "TOTAL";
RateKey["ClientIp"] = "CLIENT_IP";
RateKey["Total"] = "TOTAL";
/**

@@ -29,3 +29,3 @@ * This value is used if a service returns a value for this enum that is not recognized by this

*/
RateKey["UNKNOWN_VALUE"] = "UNKNOWN_VALUE";
RateKey["UnknownValue"] = "UNKNOWN_VALUE";
})(RateKey = RateLimitingPolicy.RateKey || (RateLimitingPolicy.RateKey = {}));

@@ -32,0 +32,0 @@ function getJsonObj(obj) {

@@ -44,7 +44,7 @@ /**

enum ActionType {
CREATED = "CREATED",
UPDATED = "UPDATED",
DELETED = "DELETED",
INPROGRESS = "IN_PROGRESS",
FAILED = "FAILED",
Created = "CREATED",
Updated = "UPDATED",
Deleted = "DELETED",
InProgress = "IN_PROGRESS",
Failed = "FAILED",
/**

@@ -54,5 +54,5 @@ * This value is used if a service returns a value for this enum that is not recognized by this

*/
UNKNOWN_VALUE = "UNKNOWN_VALUE"
UnknownValue = "UNKNOWN_VALUE"
}
function getJsonObj(obj: WorkRequestResource): object;
}

@@ -22,7 +22,7 @@ "use strict";

(function (ActionType) {
ActionType["CREATED"] = "CREATED";
ActionType["UPDATED"] = "UPDATED";
ActionType["DELETED"] = "DELETED";
ActionType["INPROGRESS"] = "IN_PROGRESS";
ActionType["FAILED"] = "FAILED";
ActionType["Created"] = "CREATED";
ActionType["Updated"] = "UPDATED";
ActionType["Deleted"] = "DELETED";
ActionType["InProgress"] = "IN_PROGRESS";
ActionType["Failed"] = "FAILED";
/**

@@ -32,3 +32,3 @@ * This value is used if a service returns a value for this enum that is not recognized by this

*/
ActionType["UNKNOWN_VALUE"] = "UNKNOWN_VALUE";
ActionType["UnknownValue"] = "UNKNOWN_VALUE";
})(ActionType = WorkRequestResource.ActionType || (WorkRequestResource.ActionType = {}));

@@ -35,0 +35,0 @@ function getJsonObj(obj) {

@@ -68,8 +68,8 @@ /**

enum OperationType {
CREATEGATEWAY = "CREATE_GATEWAY",
UPDATEGATEWAY = "UPDATE_GATEWAY",
DELETEGATEWAY = "DELETE_GATEWAY",
CREATEDEPLOYMENT = "CREATE_DEPLOYMENT",
UPDATEDEPLOYMENT = "UPDATE_DEPLOYMENT",
DELETEDEPLOYMENT = "DELETE_DEPLOYMENT",
CreateGateway = "CREATE_GATEWAY",
UpdateGateway = "UPDATE_GATEWAY",
DeleteGateway = "DELETE_GATEWAY",
CreateDeployment = "CREATE_DEPLOYMENT",
UpdateDeployment = "UPDATE_DEPLOYMENT",
DeleteDeployment = "DELETE_DEPLOYMENT",
/**

@@ -79,11 +79,11 @@ * This value is used if a service returns a value for this enum that is not recognized by this

*/
UNKNOWN_VALUE = "UNKNOWN_VALUE"
UnknownValue = "UNKNOWN_VALUE"
}
enum Status {
ACCEPTED = "ACCEPTED",
INPROGRESS = "IN_PROGRESS",
FAILED = "FAILED",
SUCCEEDED = "SUCCEEDED",
CANCELING = "CANCELING",
CANCELED = "CANCELED",
Accepted = "ACCEPTED",
InProgress = "IN_PROGRESS",
Failed = "FAILED",
Succeeded = "SUCCEEDED",
Canceling = "CANCELING",
Canceled = "CANCELED",
/**

@@ -93,5 +93,5 @@ * This value is used if a service returns a value for this enum that is not recognized by this

*/
UNKNOWN_VALUE = "UNKNOWN_VALUE"
UnknownValue = "UNKNOWN_VALUE"
}
function getJsonObj(obj: WorkRequest): object;
}

@@ -30,8 +30,8 @@ "use strict";

(function (OperationType) {
OperationType["CREATEGATEWAY"] = "CREATE_GATEWAY";
OperationType["UPDATEGATEWAY"] = "UPDATE_GATEWAY";
OperationType["DELETEGATEWAY"] = "DELETE_GATEWAY";
OperationType["CREATEDEPLOYMENT"] = "CREATE_DEPLOYMENT";
OperationType["UPDATEDEPLOYMENT"] = "UPDATE_DEPLOYMENT";
OperationType["DELETEDEPLOYMENT"] = "DELETE_DEPLOYMENT";
OperationType["CreateGateway"] = "CREATE_GATEWAY";
OperationType["UpdateGateway"] = "UPDATE_GATEWAY";
OperationType["DeleteGateway"] = "DELETE_GATEWAY";
OperationType["CreateDeployment"] = "CREATE_DEPLOYMENT";
OperationType["UpdateDeployment"] = "UPDATE_DEPLOYMENT";
OperationType["DeleteDeployment"] = "DELETE_DEPLOYMENT";
/**

@@ -41,12 +41,12 @@ * This value is used if a service returns a value for this enum that is not recognized by this

*/
OperationType["UNKNOWN_VALUE"] = "UNKNOWN_VALUE";
OperationType["UnknownValue"] = "UNKNOWN_VALUE";
})(OperationType = WorkRequest.OperationType || (WorkRequest.OperationType = {}));
let Status;
(function (Status) {
Status["ACCEPTED"] = "ACCEPTED";
Status["INPROGRESS"] = "IN_PROGRESS";
Status["FAILED"] = "FAILED";
Status["SUCCEEDED"] = "SUCCEEDED";
Status["CANCELING"] = "CANCELING";
Status["CANCELED"] = "CANCELED";
Status["Accepted"] = "ACCEPTED";
Status["InProgress"] = "IN_PROGRESS";
Status["Failed"] = "FAILED";
Status["Succeeded"] = "SUCCEEDED";
Status["Canceling"] = "CANCELING";
Status["Canceled"] = "CANCELED";
/**

@@ -56,3 +56,3 @@ * This value is used if a service returns a value for this enum that is not recognized by this

*/
Status["UNKNOWN_VALUE"] = "UNKNOWN_VALUE";
Status["UnknownValue"] = "UNKNOWN_VALUE";
})(Status = WorkRequest.Status || (WorkRequest.Status = {}));

@@ -59,0 +59,0 @@ function getJsonObj(obj) {

@@ -13,3 +13,4 @@ /**

*/
export interface CancelWorkRequestRequest {
import common = require("oci-common");
export interface CancelWorkRequestRequest extends common.BaseRequest {
/**

@@ -16,0 +17,0 @@ * The ocid of the asynchronous request.

@@ -14,3 +14,4 @@ /**

import * as model from "../model";
export interface ChangeDeploymentCompartmentRequest {
import common = require("oci-common");
export interface ChangeDeploymentCompartmentRequest extends common.BaseRequest {
/**

@@ -17,0 +18,0 @@ * The ocid of the deployment.

@@ -14,3 +14,4 @@ /**

import * as model from "../model";
export interface ChangeGatewayCompartmentRequest {
import common = require("oci-common");
export interface ChangeGatewayCompartmentRequest extends common.BaseRequest {
/**

@@ -17,0 +18,0 @@ * The ocid of the gateway.

@@ -14,3 +14,4 @@ /**

import * as model from "../model";
export interface CreateDeploymentRequest {
import common = require("oci-common");
export interface CreateDeploymentRequest extends common.BaseRequest {
/**

@@ -17,0 +18,0 @@ * Details for the new deployment

@@ -14,3 +14,4 @@ /**

import * as model from "../model";
export interface CreateGatewayRequest {
import common = require("oci-common");
export interface CreateGatewayRequest extends common.BaseRequest {
/**

@@ -17,0 +18,0 @@ * Details for the new gateway.

@@ -13,3 +13,4 @@ /**

*/
export interface DeleteDeploymentRequest {
import common = require("oci-common");
export interface DeleteDeploymentRequest extends common.BaseRequest {
/**

@@ -16,0 +17,0 @@ * The ocid of the deployment.

@@ -13,3 +13,4 @@ /**

*/
export interface DeleteGatewayRequest {
import common = require("oci-common");
export interface DeleteGatewayRequest extends common.BaseRequest {
/**

@@ -16,0 +17,0 @@ * The ocid of the gateway.

@@ -13,3 +13,4 @@ /**

*/
export interface GetDeploymentRequest {
import common = require("oci-common");
export interface GetDeploymentRequest extends common.BaseRequest {
/**

@@ -16,0 +17,0 @@ * The ocid of the deployment.

@@ -13,3 +13,4 @@ /**

*/
export interface GetGatewayRequest {
import common = require("oci-common");
export interface GetGatewayRequest extends common.BaseRequest {
/**

@@ -16,0 +17,0 @@ * The ocid of the gateway.

@@ -13,3 +13,4 @@ /**

*/
export interface GetWorkRequestRequest {
import common = require("oci-common");
export interface GetWorkRequestRequest extends common.BaseRequest {
/**

@@ -16,0 +17,0 @@ * The ocid of the asynchronous request.

@@ -13,3 +13,4 @@ /**

*/
export interface ListDeploymentsRequest {
import common = require("oci-common");
export interface ListDeploymentsRequest extends common.BaseRequest {
/**

@@ -64,4 +65,4 @@ * The ocid of the compartment in which to list resources.

enum SortOrder {
ASC = "ASC",
DESC = "DESC"
Asc = "ASC",
Desc = "DESC"
}

@@ -68,0 +69,0 @@ enum SortBy {

@@ -19,4 +19,4 @@ "use strict";

(function (SortOrder) {
SortOrder["ASC"] = "ASC";
SortOrder["DESC"] = "DESC";
SortOrder["Asc"] = "ASC";
SortOrder["Desc"] = "DESC";
})(SortOrder = ListDeploymentsRequest.SortOrder || (ListDeploymentsRequest.SortOrder = {}));

@@ -23,0 +23,0 @@ let SortBy;

@@ -13,3 +13,4 @@ /**

*/
export interface ListGatewaysRequest {
import common = require("oci-common");
export interface ListGatewaysRequest extends common.BaseRequest {
/**

@@ -60,4 +61,4 @@ * The ocid of the compartment in which to list resources.

enum SortOrder {
ASC = "ASC",
DESC = "DESC"
Asc = "ASC",
Desc = "DESC"
}

@@ -64,0 +65,0 @@ enum SortBy {

@@ -19,4 +19,4 @@ "use strict";

(function (SortOrder) {
SortOrder["ASC"] = "ASC";
SortOrder["DESC"] = "DESC";
SortOrder["Asc"] = "ASC";
SortOrder["Desc"] = "DESC";
})(SortOrder = ListGatewaysRequest.SortOrder || (ListGatewaysRequest.SortOrder = {}));

@@ -23,0 +23,0 @@ let SortBy;

@@ -13,3 +13,4 @@ /**

*/
export interface ListWorkRequestErrorsRequest {
import common = require("oci-common");
export interface ListWorkRequestErrorsRequest extends common.BaseRequest {
/**

@@ -46,4 +47,4 @@ * The ocid of the asynchronous request.

enum SortOrder {
ASC = "ASC",
DESC = "DESC"
Asc = "ASC",
Desc = "DESC"
}

@@ -50,0 +51,0 @@ enum SortBy {

@@ -19,4 +19,4 @@ "use strict";

(function (SortOrder) {
SortOrder["ASC"] = "ASC";
SortOrder["DESC"] = "DESC";
SortOrder["Asc"] = "ASC";
SortOrder["Desc"] = "DESC";
})(SortOrder = ListWorkRequestErrorsRequest.SortOrder || (ListWorkRequestErrorsRequest.SortOrder = {}));

@@ -23,0 +23,0 @@ let SortBy;

@@ -13,3 +13,4 @@ /**

*/
export interface ListWorkRequestLogsRequest {
import common = require("oci-common");
export interface ListWorkRequestLogsRequest extends common.BaseRequest {
/**

@@ -46,4 +47,4 @@ * The ocid of the asynchronous request.

enum SortOrder {
ASC = "ASC",
DESC = "DESC"
Asc = "ASC",
Desc = "DESC"
}

@@ -50,0 +51,0 @@ enum SortBy {

@@ -19,4 +19,4 @@ "use strict";

(function (SortOrder) {
SortOrder["ASC"] = "ASC";
SortOrder["DESC"] = "DESC";
SortOrder["Asc"] = "ASC";
SortOrder["Desc"] = "DESC";
})(SortOrder = ListWorkRequestLogsRequest.SortOrder || (ListWorkRequestLogsRequest.SortOrder = {}));

@@ -23,0 +23,0 @@ let SortBy;

@@ -13,3 +13,4 @@ /**

*/
export interface ListWorkRequestsRequest {
import common = require("oci-common");
export interface ListWorkRequestsRequest extends common.BaseRequest {
/**

@@ -50,4 +51,4 @@ * The ocid of the compartment in which to list resources.

enum SortOrder {
ASC = "ASC",
DESC = "DESC"
Asc = "ASC",
Desc = "DESC"
}

@@ -54,0 +55,0 @@ enum SortBy {

@@ -19,4 +19,4 @@ "use strict";

(function (SortOrder) {
SortOrder["ASC"] = "ASC";
SortOrder["DESC"] = "DESC";
SortOrder["Asc"] = "ASC";
SortOrder["Desc"] = "DESC";
})(SortOrder = ListWorkRequestsRequest.SortOrder || (ListWorkRequestsRequest.SortOrder = {}));

@@ -23,0 +23,0 @@ let SortBy;

@@ -14,3 +14,4 @@ /**

import * as model from "../model";
export interface UpdateDeploymentRequest {
import common = require("oci-common");
export interface UpdateDeploymentRequest extends common.BaseRequest {
/**

@@ -17,0 +18,0 @@ * The ocid of the deployment.

@@ -14,3 +14,4 @@ /**

import * as model from "../model";
export interface UpdateGatewayRequest {
import common = require("oci-common");
export interface UpdateGatewayRequest extends common.BaseRequest {
/**

@@ -17,0 +18,0 @@ * The ocid of the gateway.

{
"name": "oci-apigateway",
"version": "1.3.0",
"version": "1.4.0",
"description": "OCI NodeJS client for API gateway service",

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

"dependencies": {
"oci-common": "1.3.0",
"oci-workrequests": "1.3.0"
"oci-common": "1.4.0",
"oci-workrequests": "1.4.0"
},

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc