oci-apigateway 2.112.2 → 2.114.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.d.ts +126 -0
- package/lib/client.js +1042 -92
- package/lib/client.js.map +1 -1
- package/lib/model/add-resource-lock-details.d.ts +42 -0
- package/lib/model/add-resource-lock-details.js +37 -0
- package/lib/model/add-resource-lock-details.js.map +1 -0
- package/lib/model/api-summary.d.ts +14 -0
- package/lib/model/api-summary.js +10 -0
- package/lib/model/api-summary.js.map +1 -1
- package/lib/model/api.d.ts +14 -0
- package/lib/model/api.js +10 -0
- package/lib/model/api.js.map +1 -1
- package/lib/model/certificate-summary.d.ts +15 -0
- package/lib/model/certificate-summary.js +34 -2
- package/lib/model/certificate-summary.js.map +1 -1
- package/lib/model/certificate.d.ts +15 -0
- package/lib/model/certificate.js +34 -2
- package/lib/model/certificate.js.map +1 -1
- package/lib/model/create-api-details.d.ts +5 -0
- package/lib/model/create-api-details.js +34 -2
- package/lib/model/create-api-details.js.map +1 -1
- package/lib/model/create-certificate-details.d.ts +5 -0
- package/lib/model/create-certificate-details.js +34 -2
- package/lib/model/create-certificate-details.js.map +1 -1
- package/lib/model/create-deployment-details.d.ts +4 -0
- package/lib/model/create-deployment-details.js +10 -0
- package/lib/model/create-deployment-details.js.map +1 -1
- package/lib/model/create-gateway-details.d.ts +6 -1
- package/lib/model/create-gateway-details.js +10 -0
- package/lib/model/create-gateway-details.js.map +1 -1
- package/lib/model/create-sdk-details.d.ts +5 -0
- package/lib/model/create-sdk-details.js +34 -2
- package/lib/model/create-sdk-details.js.map +1 -1
- package/lib/model/create-subscriber-details.d.ts +4 -0
- package/lib/model/create-subscriber-details.js +10 -0
- package/lib/model/create-subscriber-details.js.map +1 -1
- package/lib/model/create-usage-plan-details.d.ts +4 -0
- package/lib/model/create-usage-plan-details.js +10 -0
- package/lib/model/create-usage-plan-details.js.map +1 -1
- package/lib/model/deployment-summary.d.ts +15 -0
- package/lib/model/deployment-summary.js +34 -2
- package/lib/model/deployment-summary.js.map +1 -1
- package/lib/model/deployment.d.ts +14 -0
- package/lib/model/deployment.js +10 -0
- package/lib/model/deployment.js.map +1 -1
- package/lib/model/gateway-summary.d.ts +15 -0
- package/lib/model/gateway-summary.js +34 -2
- package/lib/model/gateway-summary.js.map +1 -1
- package/lib/model/gateway.d.ts +14 -0
- package/lib/model/gateway.js +10 -0
- package/lib/model/gateway.js.map +1 -1
- package/lib/model/h-tt-pbackend.d.ts +3 -0
- package/lib/model/h-tt-pbackend.js.map +1 -1
- package/lib/model/header-validation-request-policy.d.ts +3 -0
- package/lib/model/header-validation-request-policy.js.map +1 -1
- package/lib/model/index.d.ts +6 -0
- package/lib/model/index.js +10 -4
- package/lib/model/index.js.map +1 -1
- package/lib/model/o-auth2-logout-backend.d.ts +3 -0
- package/lib/model/o-auth2-logout-backend.js.map +1 -1
- package/lib/model/query-parameter-validation-request-policy.d.ts +3 -0
- package/lib/model/query-parameter-validation-request-policy.js.map +1 -1
- package/lib/model/remove-resource-lock-details.d.ts +36 -0
- package/lib/model/remove-resource-lock-details.js +37 -0
- package/lib/model/remove-resource-lock-details.js.map +1 -0
- package/lib/model/resource-lock.d.ts +55 -0
- package/lib/model/resource-lock.js +42 -0
- package/lib/model/resource-lock.js.map +1 -0
- package/lib/model/sdk-summary.d.ts +15 -0
- package/lib/model/sdk-summary.js +34 -2
- package/lib/model/sdk-summary.js.map +1 -1
- package/lib/model/sdk.d.ts +15 -0
- package/lib/model/sdk.js +34 -2
- package/lib/model/sdk.js.map +1 -1
- package/lib/model/subscriber-summary.d.ts +14 -0
- package/lib/model/subscriber-summary.js +10 -0
- package/lib/model/subscriber-summary.js.map +1 -1
- package/lib/model/subscriber.d.ts +14 -0
- package/lib/model/subscriber.js +10 -0
- package/lib/model/subscriber.js.map +1 -1
- package/lib/model/update-gateway-details.d.ts +2 -1
- package/lib/model/update-gateway-details.js.map +1 -1
- package/lib/model/usage-plan-summary.d.ts +14 -0
- package/lib/model/usage-plan-summary.js +10 -0
- package/lib/model/usage-plan-summary.js.map +1 -1
- package/lib/model/usage-plan.d.ts +14 -0
- package/lib/model/usage-plan.js +10 -0
- package/lib/model/usage-plan.js.map +1 -1
- package/lib/request/add-api-lock-request.d.ts +40 -0
- package/lib/request/add-api-lock-request.js +15 -0
- package/lib/request/add-api-lock-request.js.map +1 -0
- package/lib/request/add-certificate-lock-request.d.ts +40 -0
- package/lib/request/add-certificate-lock-request.js +15 -0
- package/lib/request/add-certificate-lock-request.js.map +1 -0
- package/lib/request/add-deployment-lock-request.d.ts +40 -0
- package/lib/request/add-deployment-lock-request.js +15 -0
- package/lib/request/add-deployment-lock-request.js.map +1 -0
- package/lib/request/add-gateway-lock-request.d.ts +40 -0
- package/lib/request/add-gateway-lock-request.js +15 -0
- package/lib/request/add-gateway-lock-request.js.map +1 -0
- package/lib/request/add-sdk-lock-request.d.ts +40 -0
- package/lib/request/add-sdk-lock-request.js +15 -0
- package/lib/request/add-sdk-lock-request.js.map +1 -0
- package/lib/request/add-subscriber-lock-request.d.ts +40 -0
- package/lib/request/add-subscriber-lock-request.js +15 -0
- package/lib/request/add-subscriber-lock-request.js.map +1 -0
- package/lib/request/add-usage-plan-lock-request.d.ts +40 -0
- package/lib/request/add-usage-plan-lock-request.js +15 -0
- package/lib/request/add-usage-plan-lock-request.js.map +1 -0
- package/lib/request/change-api-compartment-request.d.ts +4 -0
- package/lib/request/change-certificate-compartment-request.d.ts +4 -0
- package/lib/request/change-deployment-compartment-request.d.ts +4 -0
- package/lib/request/change-gateway-compartment-request.d.ts +4 -0
- package/lib/request/change-subscriber-compartment-request.d.ts +4 -0
- package/lib/request/change-usage-plan-compartment-request.d.ts +4 -0
- package/lib/request/delete-api-request.d.ts +4 -0
- package/lib/request/delete-certificate-request.d.ts +4 -0
- package/lib/request/delete-deployment-request.d.ts +4 -0
- package/lib/request/delete-gateway-request.d.ts +4 -0
- package/lib/request/delete-sdk-request.d.ts +4 -0
- package/lib/request/delete-subscriber-request.d.ts +4 -0
- package/lib/request/delete-usage-plan-request.d.ts +4 -0
- package/lib/request/index.d.ts +28 -0
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-sdks-request.d.ts +2 -2
- package/lib/request/remove-api-lock-request.d.ts +40 -0
- package/lib/request/remove-api-lock-request.js +15 -0
- package/lib/request/remove-api-lock-request.js.map +1 -0
- package/lib/request/remove-certificate-lock-request.d.ts +40 -0
- package/lib/request/remove-certificate-lock-request.js +15 -0
- package/lib/request/remove-certificate-lock-request.js.map +1 -0
- package/lib/request/remove-deployment-lock-request.d.ts +40 -0
- package/lib/request/remove-deployment-lock-request.js +15 -0
- package/lib/request/remove-deployment-lock-request.js.map +1 -0
- package/lib/request/remove-gateway-lock-request.d.ts +40 -0
- package/lib/request/remove-gateway-lock-request.js +15 -0
- package/lib/request/remove-gateway-lock-request.js.map +1 -0
- package/lib/request/remove-sdk-lock-request.d.ts +40 -0
- package/lib/request/remove-sdk-lock-request.js +15 -0
- package/lib/request/remove-sdk-lock-request.js.map +1 -0
- package/lib/request/remove-subscriber-lock-request.d.ts +40 -0
- package/lib/request/remove-subscriber-lock-request.js +15 -0
- package/lib/request/remove-subscriber-lock-request.js.map +1 -0
- package/lib/request/remove-usage-plan-lock-request.d.ts +40 -0
- package/lib/request/remove-usage-plan-lock-request.js +15 -0
- package/lib/request/remove-usage-plan-lock-request.js.map +1 -0
- package/lib/request/update-api-request.d.ts +4 -0
- package/lib/request/update-certificate-request.d.ts +4 -0
- package/lib/request/update-deployment-request.d.ts +4 -0
- package/lib/request/update-gateway-request.d.ts +4 -0
- package/lib/request/update-sdk-request.d.ts +4 -0
- package/lib/request/update-subscriber-request.d.ts +4 -0
- package/lib/request/update-usage-plan-request.d.ts +4 -0
- package/lib/response/add-api-lock-response.d.ts +30 -0
- package/lib/response/add-api-lock-response.js +15 -0
- package/lib/response/add-api-lock-response.js.map +1 -0
- package/lib/response/add-certificate-lock-response.d.ts +30 -0
- package/lib/response/add-certificate-lock-response.js +15 -0
- package/lib/response/add-certificate-lock-response.js.map +1 -0
- package/lib/response/add-deployment-lock-response.d.ts +30 -0
- package/lib/response/add-deployment-lock-response.js +15 -0
- package/lib/response/add-deployment-lock-response.js.map +1 -0
- package/lib/response/add-gateway-lock-response.d.ts +30 -0
- package/lib/response/add-gateway-lock-response.js +15 -0
- package/lib/response/add-gateway-lock-response.js.map +1 -0
- package/lib/response/add-sdk-lock-response.d.ts +30 -0
- package/lib/response/add-sdk-lock-response.js +15 -0
- package/lib/response/add-sdk-lock-response.js.map +1 -0
- package/lib/response/add-subscriber-lock-response.d.ts +30 -0
- package/lib/response/add-subscriber-lock-response.js +15 -0
- package/lib/response/add-subscriber-lock-response.js.map +1 -0
- package/lib/response/add-usage-plan-lock-response.d.ts +30 -0
- package/lib/response/add-usage-plan-lock-response.js +15 -0
- package/lib/response/add-usage-plan-lock-response.js.map +1 -0
- package/lib/response/index.d.ts +28 -0
- package/lib/response/remove-api-lock-response.d.ts +30 -0
- package/lib/response/remove-api-lock-response.js +15 -0
- package/lib/response/remove-api-lock-response.js.map +1 -0
- package/lib/response/remove-certificate-lock-response.d.ts +30 -0
- package/lib/response/remove-certificate-lock-response.js +15 -0
- package/lib/response/remove-certificate-lock-response.js.map +1 -0
- package/lib/response/remove-deployment-lock-response.d.ts +30 -0
- package/lib/response/remove-deployment-lock-response.js +15 -0
- package/lib/response/remove-deployment-lock-response.js.map +1 -0
- package/lib/response/remove-gateway-lock-response.d.ts +30 -0
- package/lib/response/remove-gateway-lock-response.js +15 -0
- package/lib/response/remove-gateway-lock-response.js.map +1 -0
- package/lib/response/remove-sdk-lock-response.d.ts +30 -0
- package/lib/response/remove-sdk-lock-response.js +15 -0
- package/lib/response/remove-sdk-lock-response.js.map +1 -0
- package/lib/response/remove-subscriber-lock-response.d.ts +30 -0
- package/lib/response/remove-subscriber-lock-response.js +15 -0
- package/lib/response/remove-subscriber-lock-response.js.map +1 -0
- package/lib/response/remove-usage-plan-lock-response.d.ts +30 -0
- package/lib/response/remove-usage-plan-lock-response.js +15 -0
- package/lib/response/remove-usage-plan-lock-response.js.map +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* API Gateway API
|
|
3
|
+
* API for the API Gateway service. Use this API to manage gateways, deployments, and related items.
|
|
4
|
+
For more information, see
|
|
5
|
+
[Overview of API Gateway](https://docs.oracle.com/iaas/Content/APIGateway/Concepts/apigatewayoverview.htm).
|
|
6
|
+
|
|
7
|
+
* OpenAPI spec version: 20190501
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
14
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* Used to add a resource lock.
|
|
18
|
+
* Resource locks are used to prevent certain APIs from being called for the resource.
|
|
19
|
+
* A full lock prevents both updating the resource and deleting the resource. A delete
|
|
20
|
+
* lock prevents deleting the resource.
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
export interface AddResourceLockDetails {
|
|
24
|
+
/**
|
|
25
|
+
* Type of the lock.
|
|
26
|
+
*/
|
|
27
|
+
"type": AddResourceLockDetails.Type;
|
|
28
|
+
/**
|
|
29
|
+
* A message added by the creator of the lock. This is typically used to give an
|
|
30
|
+
* indication of why the resource is locked.
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
"message"?: string;
|
|
34
|
+
}
|
|
35
|
+
export declare namespace AddResourceLockDetails {
|
|
36
|
+
enum Type {
|
|
37
|
+
Full = "FULL",
|
|
38
|
+
Delete = "DELETE"
|
|
39
|
+
}
|
|
40
|
+
function getJsonObj(obj: AddResourceLockDetails): object;
|
|
41
|
+
function getDeserializedJsonObj(obj: AddResourceLockDetails): object;
|
|
42
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* API Gateway API
|
|
4
|
+
* API for the API Gateway service. Use this API to manage gateways, deployments, and related items.
|
|
5
|
+
For more information, see
|
|
6
|
+
[Overview of API Gateway](https://docs.oracle.com/iaas/Content/APIGateway/Concepts/apigatewayoverview.htm).
|
|
7
|
+
|
|
8
|
+
* OpenAPI spec version: 20190501
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
15
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.AddResourceLockDetails = void 0;
|
|
19
|
+
var AddResourceLockDetails;
|
|
20
|
+
(function (AddResourceLockDetails) {
|
|
21
|
+
let Type;
|
|
22
|
+
(function (Type) {
|
|
23
|
+
Type["Full"] = "FULL";
|
|
24
|
+
Type["Delete"] = "DELETE";
|
|
25
|
+
})(Type = AddResourceLockDetails.Type || (AddResourceLockDetails.Type = {}));
|
|
26
|
+
function getJsonObj(obj) {
|
|
27
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
28
|
+
return jsonObj;
|
|
29
|
+
}
|
|
30
|
+
AddResourceLockDetails.getJsonObj = getJsonObj;
|
|
31
|
+
function getDeserializedJsonObj(obj) {
|
|
32
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
33
|
+
return jsonObj;
|
|
34
|
+
}
|
|
35
|
+
AddResourceLockDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
36
|
+
})(AddResourceLockDetails = exports.AddResourceLockDetails || (exports.AddResourceLockDetails = {}));
|
|
37
|
+
//# sourceMappingURL=add-resource-lock-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-resource-lock-details.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/add-resource-lock-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAyBH,IAAiB,sBAAsB,CAgBtC;AAhBD,WAAiB,sBAAsB;IACrC,IAAY,IAGX;IAHD,WAAY,IAAI;QACd,qBAAa,CAAA;QACb,yBAAiB,CAAA;IACnB,CAAC,EAHW,IAAI,GAAJ,2BAAI,KAAJ,2BAAI,QAGf;IAED,SAAgB,UAAU,CAAC,GAA2B;QACpD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,iCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA2B;QAChE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,6CAAsB,yBAIrC,CAAA;AACH,CAAC,EAhBgB,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAgBtC"}
|
|
@@ -45,6 +45,10 @@ export interface ApiSummary {
|
|
|
45
45
|
* The time this resource was last updated. An RFC3339 formatted datetime string.
|
|
46
46
|
*/
|
|
47
47
|
"timeUpdated"?: Date;
|
|
48
|
+
/**
|
|
49
|
+
* Locks associated with this resource.
|
|
50
|
+
*/
|
|
51
|
+
"locks"?: Array<model.ResourceLock>;
|
|
48
52
|
/**
|
|
49
53
|
* The current state of the API.
|
|
50
54
|
*/
|
|
@@ -96,6 +100,16 @@ export interface ApiSummary {
|
|
|
96
100
|
[key: string]: any;
|
|
97
101
|
};
|
|
98
102
|
};
|
|
103
|
+
/**
|
|
104
|
+
* System tags for this resource. Each key is predefined and scoped to a namespace.
|
|
105
|
+
* Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}}
|
|
106
|
+
*
|
|
107
|
+
*/
|
|
108
|
+
"systemTags"?: {
|
|
109
|
+
[key: string]: {
|
|
110
|
+
[key: string]: any;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
99
113
|
}
|
|
100
114
|
export declare namespace ApiSummary {
|
|
101
115
|
enum LifecycleState {
|
package/lib/model/api-summary.js
CHANGED
|
@@ -54,6 +54,11 @@ var ApiSummary;
|
|
|
54
54
|
})(LifecycleState = ApiSummary.LifecycleState || (ApiSummary.LifecycleState = {}));
|
|
55
55
|
function getJsonObj(obj) {
|
|
56
56
|
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
57
|
+
"locks": obj.locks
|
|
58
|
+
? obj.locks.map(item => {
|
|
59
|
+
return model.ResourceLock.getJsonObj(item);
|
|
60
|
+
})
|
|
61
|
+
: undefined,
|
|
57
62
|
"validationResults": obj.validationResults
|
|
58
63
|
? obj.validationResults.map(item => {
|
|
59
64
|
return model.ApiValidationResult.getJsonObj(item);
|
|
@@ -65,6 +70,11 @@ var ApiSummary;
|
|
|
65
70
|
ApiSummary.getJsonObj = getJsonObj;
|
|
66
71
|
function getDeserializedJsonObj(obj) {
|
|
67
72
|
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
73
|
+
"locks": obj.locks
|
|
74
|
+
? obj.locks.map(item => {
|
|
75
|
+
return model.ResourceLock.getDeserializedJsonObj(item);
|
|
76
|
+
})
|
|
77
|
+
: undefined,
|
|
68
78
|
"validationResults": obj.validationResults
|
|
69
79
|
? obj.validationResults.map(item => {
|
|
70
80
|
return model.ApiValidationResult.getDeserializedJsonObj(item);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-summary.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/api-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"api-summary.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/api-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA2FlC,IAAiB,UAAU,CAuD1B;AAvDD,WAAiB,UAAU;IACzB,IAAY,cAYX;IAZD,WAAY,cAAc;QACxB,uCAAqB,CAAA;QACrB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB,uCAAqB,CAAA;QACrB,qCAAmB,CAAA;QACnB,mCAAiB,CAAA;QACjB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAZW,cAAc,GAAd,yBAAc,KAAd,yBAAc,QAYzB;IAED,SAAgB,UAAU,CAAC,GAAe;QACxC,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,YAAY,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC7C,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YAEb,mBAAmB,EAAE,GAAG,CAAC,iBAAiB;gBACxC,CAAC,CAAC,GAAG,CAAC,iBAAiB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC/B,OAAO,KAAK,CAAC,mBAAmB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACpD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAnBe,qBAAU,aAmBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAe;QACpD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,YAAY,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACzD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YAEb,mBAAmB,EAAE,GAAG,CAAC,iBAAiB;gBACxC,CAAC,CAAC,GAAG,CAAC,iBAAiB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC/B,OAAO,KAAK,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAChE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAnBe,iCAAsB,yBAmBrC,CAAA;AACH,CAAC,EAvDgB,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAuD1B"}
|
package/lib/model/api.d.ts
CHANGED
|
@@ -46,6 +46,10 @@ export interface Api {
|
|
|
46
46
|
* The time this resource was last updated. An RFC3339 formatted datetime string.
|
|
47
47
|
*/
|
|
48
48
|
"timeUpdated"?: Date;
|
|
49
|
+
/**
|
|
50
|
+
* Locks associated with this resource.
|
|
51
|
+
*/
|
|
52
|
+
"locks"?: Array<model.ResourceLock>;
|
|
49
53
|
/**
|
|
50
54
|
* The current state of the API.
|
|
51
55
|
*/
|
|
@@ -97,6 +101,16 @@ export interface Api {
|
|
|
97
101
|
[key: string]: any;
|
|
98
102
|
};
|
|
99
103
|
};
|
|
104
|
+
/**
|
|
105
|
+
* System tags for this resource. Each key is predefined and scoped to a namespace.
|
|
106
|
+
* Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}}
|
|
107
|
+
*
|
|
108
|
+
*/
|
|
109
|
+
"systemTags"?: {
|
|
110
|
+
[key: string]: {
|
|
111
|
+
[key: string]: any;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
100
114
|
}
|
|
101
115
|
export declare namespace Api {
|
|
102
116
|
enum LifecycleState {
|
package/lib/model/api.js
CHANGED
|
@@ -54,6 +54,11 @@ var Api;
|
|
|
54
54
|
})(LifecycleState = Api.LifecycleState || (Api.LifecycleState = {}));
|
|
55
55
|
function getJsonObj(obj) {
|
|
56
56
|
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
57
|
+
"locks": obj.locks
|
|
58
|
+
? obj.locks.map(item => {
|
|
59
|
+
return model.ResourceLock.getJsonObj(item);
|
|
60
|
+
})
|
|
61
|
+
: undefined,
|
|
57
62
|
"validationResults": obj.validationResults
|
|
58
63
|
? obj.validationResults.map(item => {
|
|
59
64
|
return model.ApiValidationResult.getJsonObj(item);
|
|
@@ -65,6 +70,11 @@ var Api;
|
|
|
65
70
|
Api.getJsonObj = getJsonObj;
|
|
66
71
|
function getDeserializedJsonObj(obj) {
|
|
67
72
|
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
73
|
+
"locks": obj.locks
|
|
74
|
+
? obj.locks.map(item => {
|
|
75
|
+
return model.ResourceLock.getDeserializedJsonObj(item);
|
|
76
|
+
})
|
|
77
|
+
: undefined,
|
|
68
78
|
"validationResults": obj.validationResults
|
|
69
79
|
? obj.validationResults.map(item => {
|
|
70
80
|
return model.ApiValidationResult.getDeserializedJsonObj(item);
|
package/lib/model/api.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/api.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/api.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA4FlC,IAAiB,GAAG,CAuDnB;AAvDD,WAAiB,GAAG;IAClB,IAAY,cAYX;IAZD,WAAY,cAAc;QACxB,uCAAqB,CAAA;QACrB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB,uCAAqB,CAAA;QACrB,qCAAmB,CAAA;QACnB,mCAAiB,CAAA;QACjB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAZW,cAAc,GAAd,kBAAc,KAAd,kBAAc,QAYzB;IAED,SAAgB,UAAU,CAAC,GAAQ;QACjC,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,YAAY,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC7C,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YAEb,mBAAmB,EAAE,GAAG,CAAC,iBAAiB;gBACxC,CAAC,CAAC,GAAG,CAAC,iBAAiB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC/B,OAAO,KAAK,CAAC,mBAAmB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACpD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAnBe,cAAU,aAmBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAQ;QAC7C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,YAAY,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACzD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YAEb,mBAAmB,EAAE,GAAG,CAAC,iBAAiB;gBACxC,CAAC,CAAC,GAAG,CAAC,iBAAiB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC/B,OAAO,KAAK,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAChE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAnBe,0BAAsB,yBAmBrC,CAAA;AACH,CAAC,EAvDgB,GAAG,GAAH,WAAG,KAAH,WAAG,QAuDnB"}
|
|
@@ -13,6 +13,7 @@ For more information, see
|
|
|
13
13
|
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
14
14
|
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
15
15
|
*/
|
|
16
|
+
import * as model from "../model";
|
|
16
17
|
/**
|
|
17
18
|
* A summary of the certificate.
|
|
18
19
|
*/
|
|
@@ -52,6 +53,10 @@ export interface CertificateSummary {
|
|
|
52
53
|
* The time this resource was last updated. An RFC3339 formatted datetime string.
|
|
53
54
|
*/
|
|
54
55
|
"timeUpdated"?: Date;
|
|
56
|
+
/**
|
|
57
|
+
* Locks associated with this resource.
|
|
58
|
+
*/
|
|
59
|
+
"locks"?: Array<model.ResourceLock>;
|
|
55
60
|
/**
|
|
56
61
|
* The current state of the certificate.
|
|
57
62
|
*/
|
|
@@ -87,6 +92,16 @@ export interface CertificateSummary {
|
|
|
87
92
|
[key: string]: any;
|
|
88
93
|
};
|
|
89
94
|
};
|
|
95
|
+
/**
|
|
96
|
+
* System tags for this resource. Each key is predefined and scoped to a namespace.
|
|
97
|
+
* Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}}
|
|
98
|
+
*
|
|
99
|
+
*/
|
|
100
|
+
"systemTags"?: {
|
|
101
|
+
[key: string]: {
|
|
102
|
+
[key: string]: any;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
90
105
|
}
|
|
91
106
|
export declare namespace CertificateSummary {
|
|
92
107
|
function getJsonObj(obj: CertificateSummary): object;
|
|
@@ -14,17 +14,49 @@ For more information, see
|
|
|
14
14
|
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
15
15
|
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
16
16
|
*/
|
|
17
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
20
|
+
}) : (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
o[k2] = m[k];
|
|
23
|
+
}));
|
|
24
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
+
}) : function(o, v) {
|
|
27
|
+
o["default"] = v;
|
|
28
|
+
});
|
|
29
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
17
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
37
|
exports.CertificateSummary = void 0;
|
|
38
|
+
const model = __importStar(require("../model"));
|
|
19
39
|
var CertificateSummary;
|
|
20
40
|
(function (CertificateSummary) {
|
|
21
41
|
function getJsonObj(obj) {
|
|
22
|
-
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
42
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
43
|
+
"locks": obj.locks
|
|
44
|
+
? obj.locks.map(item => {
|
|
45
|
+
return model.ResourceLock.getJsonObj(item);
|
|
46
|
+
})
|
|
47
|
+
: undefined
|
|
48
|
+
});
|
|
23
49
|
return jsonObj;
|
|
24
50
|
}
|
|
25
51
|
CertificateSummary.getJsonObj = getJsonObj;
|
|
26
52
|
function getDeserializedJsonObj(obj) {
|
|
27
|
-
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
53
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
54
|
+
"locks": obj.locks
|
|
55
|
+
? obj.locks.map(item => {
|
|
56
|
+
return model.ResourceLock.getDeserializedJsonObj(item);
|
|
57
|
+
})
|
|
58
|
+
: undefined
|
|
59
|
+
});
|
|
28
60
|
return jsonObj;
|
|
29
61
|
}
|
|
30
62
|
CertificateSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"certificate-summary.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/certificate-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"certificate-summary.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/certificate-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAmFlC,IAAiB,kBAAkB,CA6BlC;AA7BD,WAAiB,kBAAkB;IACjC,SAAgB,UAAU,CAAC,GAAuB;QAChD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,YAAY,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC7C,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,6BAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAuB;QAC5D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,YAAY,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACzD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,yCAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QA6BlC"}
|
|
@@ -13,6 +13,7 @@ For more information, see
|
|
|
13
13
|
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
14
14
|
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
15
15
|
*/
|
|
16
|
+
import * as model from "../model";
|
|
16
17
|
/**
|
|
17
18
|
* A certificate contains information to be installed on a gateway to secure the traffic going
|
|
18
19
|
* through it.
|
|
@@ -64,6 +65,10 @@ export interface Certificate {
|
|
|
64
65
|
* The time this resource was last updated. An RFC3339 formatted datetime string.
|
|
65
66
|
*/
|
|
66
67
|
"timeUpdated"?: Date;
|
|
68
|
+
/**
|
|
69
|
+
* Locks associated with this resource.
|
|
70
|
+
*/
|
|
71
|
+
"locks"?: Array<model.ResourceLock>;
|
|
67
72
|
/**
|
|
68
73
|
* The current state of the certificate.
|
|
69
74
|
*/
|
|
@@ -99,6 +104,16 @@ export interface Certificate {
|
|
|
99
104
|
[key: string]: any;
|
|
100
105
|
};
|
|
101
106
|
};
|
|
107
|
+
/**
|
|
108
|
+
* System tags for this resource. Each key is predefined and scoped to a namespace.
|
|
109
|
+
* Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}}
|
|
110
|
+
*
|
|
111
|
+
*/
|
|
112
|
+
"systemTags"?: {
|
|
113
|
+
[key: string]: {
|
|
114
|
+
[key: string]: any;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
102
117
|
}
|
|
103
118
|
export declare namespace Certificate {
|
|
104
119
|
enum LifecycleState {
|
package/lib/model/certificate.js
CHANGED
|
@@ -14,8 +14,28 @@ For more information, see
|
|
|
14
14
|
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
15
15
|
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
16
16
|
*/
|
|
17
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
20
|
+
}) : (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
o[k2] = m[k];
|
|
23
|
+
}));
|
|
24
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
+
}) : function(o, v) {
|
|
27
|
+
o["default"] = v;
|
|
28
|
+
});
|
|
29
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
17
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
37
|
exports.Certificate = void 0;
|
|
38
|
+
const model = __importStar(require("../model"));
|
|
19
39
|
var Certificate;
|
|
20
40
|
(function (Certificate) {
|
|
21
41
|
let LifecycleState;
|
|
@@ -33,12 +53,24 @@ var Certificate;
|
|
|
33
53
|
LifecycleState["UnknownValue"] = "UNKNOWN_VALUE";
|
|
34
54
|
})(LifecycleState = Certificate.LifecycleState || (Certificate.LifecycleState = {}));
|
|
35
55
|
function getJsonObj(obj) {
|
|
36
|
-
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
56
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
57
|
+
"locks": obj.locks
|
|
58
|
+
? obj.locks.map(item => {
|
|
59
|
+
return model.ResourceLock.getJsonObj(item);
|
|
60
|
+
})
|
|
61
|
+
: undefined
|
|
62
|
+
});
|
|
37
63
|
return jsonObj;
|
|
38
64
|
}
|
|
39
65
|
Certificate.getJsonObj = getJsonObj;
|
|
40
66
|
function getDeserializedJsonObj(obj) {
|
|
41
|
-
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
67
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
68
|
+
"locks": obj.locks
|
|
69
|
+
? obj.locks.map(item => {
|
|
70
|
+
return model.ResourceLock.getDeserializedJsonObj(item);
|
|
71
|
+
})
|
|
72
|
+
: undefined
|
|
73
|
+
});
|
|
42
74
|
return jsonObj;
|
|
43
75
|
}
|
|
44
76
|
Certificate.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"certificate.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/certificate.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"certificate.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/certificate.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA+FlC,IAAiB,WAAW,CA2C3B;AA3CD,WAAiB,WAAW;IAC1B,IAAY,cAYX;IAZD,WAAY,cAAc;QACxB,uCAAqB,CAAA;QACrB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB,uCAAqB,CAAA;QACrB,qCAAmB,CAAA;QACnB,mCAAiB,CAAA;QACjB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAZW,cAAc,GAAd,0BAAc,KAAd,0BAAc,QAYzB;IAED,SAAgB,UAAU,CAAC,GAAgB;QACzC,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,YAAY,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC7C,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,sBAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAgB;QACrD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,YAAY,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACzD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,kCAAsB,yBAarC,CAAA;AACH,CAAC,EA3CgB,WAAW,GAAX,mBAAW,KAAX,mBAAW,QA2C3B"}
|
|
@@ -13,6 +13,7 @@ For more information, see
|
|
|
13
13
|
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
14
14
|
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
15
15
|
*/
|
|
16
|
+
import * as model from "../model";
|
|
16
17
|
/**
|
|
17
18
|
* Information about the new API.
|
|
18
19
|
*/
|
|
@@ -55,6 +56,10 @@ export interface CreateApiDetails {
|
|
|
55
56
|
[key: string]: any;
|
|
56
57
|
};
|
|
57
58
|
};
|
|
59
|
+
/**
|
|
60
|
+
* Locks associated with this resource.
|
|
61
|
+
*/
|
|
62
|
+
"locks"?: Array<model.AddResourceLockDetails>;
|
|
58
63
|
/**
|
|
59
64
|
* API Specification content in json or yaml format
|
|
60
65
|
*/
|
|
@@ -14,17 +14,49 @@ For more information, see
|
|
|
14
14
|
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
15
15
|
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
16
16
|
*/
|
|
17
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
20
|
+
}) : (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
o[k2] = m[k];
|
|
23
|
+
}));
|
|
24
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
+
}) : function(o, v) {
|
|
27
|
+
o["default"] = v;
|
|
28
|
+
});
|
|
29
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
17
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
37
|
exports.CreateApiDetails = void 0;
|
|
38
|
+
const model = __importStar(require("../model"));
|
|
19
39
|
var CreateApiDetails;
|
|
20
40
|
(function (CreateApiDetails) {
|
|
21
41
|
function getJsonObj(obj) {
|
|
22
|
-
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
42
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
43
|
+
"locks": obj.locks
|
|
44
|
+
? obj.locks.map(item => {
|
|
45
|
+
return model.AddResourceLockDetails.getJsonObj(item);
|
|
46
|
+
})
|
|
47
|
+
: undefined
|
|
48
|
+
});
|
|
23
49
|
return jsonObj;
|
|
24
50
|
}
|
|
25
51
|
CreateApiDetails.getJsonObj = getJsonObj;
|
|
26
52
|
function getDeserializedJsonObj(obj) {
|
|
27
|
-
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
53
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
54
|
+
"locks": obj.locks
|
|
55
|
+
? obj.locks.map(item => {
|
|
56
|
+
return model.AddResourceLockDetails.getDeserializedJsonObj(item);
|
|
57
|
+
})
|
|
58
|
+
: undefined
|
|
59
|
+
});
|
|
28
60
|
return jsonObj;
|
|
29
61
|
}
|
|
30
62
|
CreateApiDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-api-details.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/create-api-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"create-api-details.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/create-api-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAiDlC,IAAiB,gBAAgB,CA6BhC;AA7BD,WAAiB,gBAAgB;IAC/B,SAAgB,UAAU,CAAC,GAAqB;QAC9C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,sBAAsB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACvD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,2BAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAqB;QAC1D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,sBAAsB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACnE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,uCAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QA6BhC"}
|
|
@@ -13,6 +13,7 @@ For more information, see
|
|
|
13
13
|
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
14
14
|
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
15
15
|
*/
|
|
16
|
+
import * as model from "../model";
|
|
16
17
|
/**
|
|
17
18
|
* Information about a new certificate.
|
|
18
19
|
*/
|
|
@@ -67,6 +68,10 @@ export interface CreateCertificateDetails {
|
|
|
67
68
|
[key: string]: any;
|
|
68
69
|
};
|
|
69
70
|
};
|
|
71
|
+
/**
|
|
72
|
+
* Locks associated with this resource.
|
|
73
|
+
*/
|
|
74
|
+
"locks"?: Array<model.AddResourceLockDetails>;
|
|
70
75
|
}
|
|
71
76
|
export declare namespace CreateCertificateDetails {
|
|
72
77
|
function getJsonObj(obj: CreateCertificateDetails): object;
|
|
@@ -14,17 +14,49 @@ For more information, see
|
|
|
14
14
|
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
15
15
|
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
16
16
|
*/
|
|
17
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
20
|
+
}) : (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
o[k2] = m[k];
|
|
23
|
+
}));
|
|
24
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
+
}) : function(o, v) {
|
|
27
|
+
o["default"] = v;
|
|
28
|
+
});
|
|
29
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
17
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
37
|
exports.CreateCertificateDetails = void 0;
|
|
38
|
+
const model = __importStar(require("../model"));
|
|
19
39
|
var CreateCertificateDetails;
|
|
20
40
|
(function (CreateCertificateDetails) {
|
|
21
41
|
function getJsonObj(obj) {
|
|
22
|
-
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
42
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
43
|
+
"locks": obj.locks
|
|
44
|
+
? obj.locks.map(item => {
|
|
45
|
+
return model.AddResourceLockDetails.getJsonObj(item);
|
|
46
|
+
})
|
|
47
|
+
: undefined
|
|
48
|
+
});
|
|
23
49
|
return jsonObj;
|
|
24
50
|
}
|
|
25
51
|
CreateCertificateDetails.getJsonObj = getJsonObj;
|
|
26
52
|
function getDeserializedJsonObj(obj) {
|
|
27
|
-
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
53
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
54
|
+
"locks": obj.locks
|
|
55
|
+
? obj.locks.map(item => {
|
|
56
|
+
return model.AddResourceLockDetails.getDeserializedJsonObj(item);
|
|
57
|
+
})
|
|
58
|
+
: undefined
|
|
59
|
+
});
|
|
28
60
|
return jsonObj;
|
|
29
61
|
}
|
|
30
62
|
CreateCertificateDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-certificate-details.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/create-certificate-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"create-certificate-details.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/create-certificate-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAyDlC,IAAiB,wBAAwB,CA6BxC;AA7BD,WAAiB,wBAAwB;IACvC,SAAgB,UAAU,CAAC,GAA6B;QACtD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,sBAAsB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACvD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,mCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA6B;QAClE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,sBAAsB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACnE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,+CAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QA6BxC"}
|
|
@@ -46,6 +46,10 @@ export interface CreateDeploymentDetails {
|
|
|
46
46
|
*/
|
|
47
47
|
"pathPrefix": string;
|
|
48
48
|
"specification": model.ApiSpecification;
|
|
49
|
+
/**
|
|
50
|
+
* Locks associated with this resource.
|
|
51
|
+
*/
|
|
52
|
+
"locks"?: Array<model.AddResourceLockDetails>;
|
|
49
53
|
/**
|
|
50
54
|
* Free-form tags for this resource. Each tag is a simple key-value pair
|
|
51
55
|
* with no predefined name, type, or namespace. For more information, see
|
|
@@ -42,6 +42,11 @@ var CreateDeploymentDetails;
|
|
|
42
42
|
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
43
43
|
"specification": obj.specification
|
|
44
44
|
? model.ApiSpecification.getJsonObj(obj.specification)
|
|
45
|
+
: undefined,
|
|
46
|
+
"locks": obj.locks
|
|
47
|
+
? obj.locks.map(item => {
|
|
48
|
+
return model.AddResourceLockDetails.getJsonObj(item);
|
|
49
|
+
})
|
|
45
50
|
: undefined
|
|
46
51
|
});
|
|
47
52
|
return jsonObj;
|
|
@@ -51,6 +56,11 @@ var CreateDeploymentDetails;
|
|
|
51
56
|
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
52
57
|
"specification": obj.specification
|
|
53
58
|
? model.ApiSpecification.getDeserializedJsonObj(obj.specification)
|
|
59
|
+
: undefined,
|
|
60
|
+
"locks": obj.locks
|
|
61
|
+
? obj.locks.map(item => {
|
|
62
|
+
return model.AddResourceLockDetails.getDeserializedJsonObj(item);
|
|
63
|
+
})
|
|
54
64
|
: undefined
|
|
55
65
|
});
|
|
56
66
|
return jsonObj;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-deployment-details.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/create-deployment-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"create-deployment-details.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/create-deployment-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA2DlC,IAAiB,uBAAuB,CAmCvC;AAnCD,WAAiB,uBAAuB;IACtC,SAAgB,UAAU,CAAC,GAA4B;QACrD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,UAAU,CAAC,GAAG,CAAC,aAAa,CAAC;gBACtD,CAAC,CAAC,SAAS;YACb,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,sBAAsB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACvD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAhBe,kCAAU,aAgBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA4B;QACjE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,sBAAsB,CAAC,GAAG,CAAC,aAAa,CAAC;gBAClE,CAAC,CAAC,SAAS;YACb,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,sBAAsB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACnE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAhBe,8CAAsB,yBAgBrC,CAAA;AACH,CAAC,EAnCgB,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAmCvC"}
|
|
@@ -52,11 +52,16 @@ export interface CreateGatewayDetails {
|
|
|
52
52
|
*/
|
|
53
53
|
"networkSecurityGroupIds"?: Array<string>;
|
|
54
54
|
/**
|
|
55
|
-
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource
|
|
55
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource which can be
|
|
56
|
+
* empty string.
|
|
56
57
|
*
|
|
57
58
|
*/
|
|
58
59
|
"certificateId"?: string;
|
|
59
60
|
"responseCacheDetails"?: model.ExternalRespCache | model.NoCache;
|
|
61
|
+
/**
|
|
62
|
+
* Locks associated with this resource.
|
|
63
|
+
*/
|
|
64
|
+
"locks"?: Array<model.AddResourceLockDetails>;
|
|
60
65
|
/**
|
|
61
66
|
* Free-form tags for this resource. Each tag is a simple key-value pair
|
|
62
67
|
* with no predefined name, type, or namespace. For more information, see
|