oci-apigateway 2.41.0 → 2.42.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 +50 -50
- package/lib/client.js +50 -50
- package/lib/model/any-of-selection-key.d.ts +31 -0
- package/lib/model/any-of-selection-key.js +55 -0
- package/lib/model/any-of-selection-key.js.map +1 -0
- package/lib/model/api-specification-request-policies.d.ts +1 -0
- package/lib/model/api-specification-request-policies.js +9 -1
- package/lib/model/api-specification-request-policies.js.map +1 -1
- package/lib/model/api-specification-route-backend.js +4 -0
- package/lib/model/api-specification-route-backend.js.map +1 -1
- package/lib/model/api-specification-route.d.ts +1 -1
- package/lib/model/api-specification-route.js.map +1 -1
- package/lib/model/authentication-server-policy.d.ts +27 -0
- package/lib/model/authentication-server-policy.js +62 -0
- package/lib/model/authentication-server-policy.js.map +1 -0
- package/lib/model/custom-authentication-policy.d.ts +14 -0
- package/lib/model/custom-authentication-policy.js +10 -2
- package/lib/model/custom-authentication-policy.js.map +1 -1
- package/lib/model/dynamic-authentication-policy.d.ts +30 -0
- package/lib/model/dynamic-authentication-policy.js +70 -0
- package/lib/model/dynamic-authentication-policy.js.map +1 -0
- package/lib/model/dynamic-routing-backend.d.ts +33 -0
- package/lib/model/dynamic-routing-backend.js +75 -0
- package/lib/model/dynamic-routing-backend.js.map +1 -0
- package/lib/model/dynamic-routing-type-routing-backend.d.ts +27 -0
- package/lib/model/dynamic-routing-type-routing-backend.js +62 -0
- package/lib/model/dynamic-routing-type-routing-backend.js.map +1 -0
- package/lib/model/dynamic-selection-key.d.ts +33 -0
- package/lib/model/dynamic-selection-key.js +75 -0
- package/lib/model/dynamic-selection-key.js.map +1 -0
- package/lib/model/index.d.ts +22 -0
- package/lib/model/index.js +25 -3
- package/lib/model/index.js.map +1 -1
- package/lib/model/modify-response-validation-failure-policy.d.ts +37 -0
- package/lib/model/modify-response-validation-failure-policy.js +65 -0
- package/lib/model/modify-response-validation-failure-policy.js.map +1 -0
- package/lib/model/selection-source-policy.d.ts +25 -0
- package/lib/model/selection-source-policy.js +71 -0
- package/lib/model/selection-source-policy.js.map +1 -0
- package/lib/model/single-selection-source-policy.d.ts +31 -0
- package/lib/model/single-selection-source-policy.js +57 -0
- package/lib/model/single-selection-source-policy.js.map +1 -0
- package/lib/model/validation-failure-policy.d.ts +25 -0
- package/lib/model/validation-failure-policy.js +71 -0
- package/lib/model/validation-failure-policy.js.map +1 -0
- package/lib/model/wildcard-selection-key.d.ts +31 -0
- package/lib/model/wildcard-selection-key.js +57 -0
- package/lib/model/wildcard-selection-key.js.map +1 -0
- package/lib/request/cancel-work-request-request.d.ts +1 -1
- package/lib/request/change-api-compartment-request.d.ts +1 -1
- package/lib/request/change-certificate-compartment-request.d.ts +1 -1
- package/lib/request/change-deployment-compartment-request.d.ts +1 -1
- package/lib/request/change-gateway-compartment-request.d.ts +1 -1
- package/lib/request/change-subscriber-compartment-request.d.ts +1 -1
- package/lib/request/change-usage-plan-compartment-request.d.ts +1 -1
- package/lib/request/create-api-request.d.ts +1 -1
- package/lib/request/create-certificate-request.d.ts +1 -1
- package/lib/request/create-deployment-request.d.ts +1 -1
- package/lib/request/create-gateway-request.d.ts +1 -1
- package/lib/request/create-sdk-request.d.ts +1 -1
- package/lib/request/create-subscriber-request.d.ts +1 -1
- package/lib/request/create-usage-plan-request.d.ts +1 -1
- package/lib/request/delete-api-request.d.ts +1 -1
- package/lib/request/delete-certificate-request.d.ts +1 -1
- package/lib/request/delete-deployment-request.d.ts +1 -1
- package/lib/request/delete-gateway-request.d.ts +1 -1
- package/lib/request/delete-sdk-request.d.ts +1 -1
- package/lib/request/delete-subscriber-request.d.ts +1 -1
- package/lib/request/delete-usage-plan-request.d.ts +1 -1
- package/lib/request/get-api-content-request.d.ts +1 -1
- package/lib/request/get-api-deployment-specification-request.d.ts +1 -1
- package/lib/request/get-api-request.d.ts +1 -1
- package/lib/request/get-api-validations-request.d.ts +1 -1
- package/lib/request/get-certificate-request.d.ts +1 -1
- package/lib/request/get-deployment-request.d.ts +1 -1
- package/lib/request/get-gateway-request.d.ts +1 -1
- package/lib/request/get-sdk-request.d.ts +1 -1
- package/lib/request/get-subscriber-request.d.ts +1 -1
- package/lib/request/get-usage-plan-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/list-apis-request.d.ts +1 -1
- package/lib/request/list-certificates-request.d.ts +1 -1
- package/lib/request/list-deployments-request.d.ts +1 -1
- package/lib/request/list-gateways-request.d.ts +1 -1
- package/lib/request/list-sdk-language-types-request.d.ts +1 -1
- package/lib/request/list-sdks-request.d.ts +1 -1
- package/lib/request/list-subscribers-request.d.ts +1 -1
- package/lib/request/list-usage-plans-request.d.ts +1 -1
- package/lib/request/list-work-request-errors-request.d.ts +1 -1
- package/lib/request/list-work-request-logs-request.d.ts +1 -1
- package/lib/request/list-work-requests-request.d.ts +1 -1
- package/lib/request/update-api-request.d.ts +1 -1
- package/lib/request/update-certificate-request.d.ts +1 -1
- package/lib/request/update-deployment-request.d.ts +1 -1
- package/lib/request/update-gateway-request.d.ts +1 -1
- package/lib/request/update-sdk-request.d.ts +1 -1
- package/lib/request/update-subscriber-request.d.ts +1 -1
- package/lib/request/update-usage-plan-request.d.ts +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-specification-route.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/api-specification-route.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"api-specification-route.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/api-specification-route.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA6BlC,IAAiB,qBAAqB,CA2DrC;AA3DD,WAAiB,qBAAqB;IACpC,IAAY,OAcX;IAdD,WAAY,OAAO;QACjB,sBAAW,CAAA;QACX,wBAAa,CAAA;QACb,sBAAW,CAAA;QACX,wBAAa,CAAA;QACb,sBAAW,CAAA;QACX,0BAAe,CAAA;QACf,4BAAiB,CAAA;QACjB,8BAAmB,CAAA;QACnB;;;WAGG;QACH,yCAA8B,CAAA;IAChC,CAAC,EAdW,OAAO,GAAP,6BAAO,KAAP,6BAAO,QAclB;IAED,SAAgB,UAAU,CAAC,GAA0B;QACnD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,KAAK,CAAC,oCAAoC,CAAC,UAAU,CAAC,GAAG,CAAC,eAAe,CAAC;gBAC5E,CAAC,CAAC,SAAS;YACb,kBAAkB,EAAE,GAAG,CAAC,gBAAgB;gBACtC,CAAC,CAAC,KAAK,CAAC,qCAAqC,CAAC,UAAU,CAAC,GAAG,CAAC,gBAAgB,CAAC;gBAC9E,CAAC,CAAC,SAAS;YACb,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,KAAK,CAAC,+BAA+B,CAAC,UAAU,CAAC,GAAG,CAAC,eAAe,CAAC;gBACvE,CAAC,CAAC,SAAS;YACb,SAAS,EAAE,GAAG,CAAC,OAAO;gBACpB,CAAC,CAAC,KAAK,CAAC,4BAA4B,CAAC,UAAU,CAAC,GAAG,CAAC,OAAO,CAAC;gBAC5D,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,gCAAU,aAoBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA0B;QAC/D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,KAAK,CAAC,oCAAoC,CAAC,sBAAsB,CAAC,GAAG,CAAC,eAAe,CAAC;gBACxF,CAAC,CAAC,SAAS;YACb,kBAAkB,EAAE,GAAG,CAAC,gBAAgB;gBACtC,CAAC,CAAC,KAAK,CAAC,qCAAqC,CAAC,sBAAsB,CAAC,GAAG,CAAC,gBAAgB,CAAC;gBAC1F,CAAC,CAAC,SAAS;YACb,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,KAAK,CAAC,+BAA+B,CAAC,sBAAsB,CAAC,GAAG,CAAC,eAAe,CAAC;gBACnF,CAAC,CAAC,SAAS;YACb,SAAS,EAAE,GAAG,CAAC,OAAO;gBACpB,CAAC,CAAC,KAAK,CAAC,4BAA4B,CAAC,sBAAsB,CAAC,GAAG,CAAC,OAAO,CAAC;gBACxE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,4CAAsB,yBAoBrC,CAAA;AACH,CAAC,EA3DgB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QA2DrC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
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](/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, 2022, 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
|
+
import * as model from "../model";
|
|
17
|
+
/**
|
|
18
|
+
* Information around an authentication server for dynamic authentication.
|
|
19
|
+
*/
|
|
20
|
+
export interface AuthenticationServerPolicy {
|
|
21
|
+
"key": model.WildcardSelectionKey | model.AnyOfSelectionKey;
|
|
22
|
+
"authenticationServerDetail": model.JwtAuthenticationPolicy | model.CustomAuthenticationPolicy;
|
|
23
|
+
}
|
|
24
|
+
export declare namespace AuthenticationServerPolicy {
|
|
25
|
+
function getJsonObj(obj: AuthenticationServerPolicy): object;
|
|
26
|
+
function getDeserializedJsonObj(obj: AuthenticationServerPolicy): object;
|
|
27
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
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](/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, 2022, 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
|
+
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
|
+
};
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.AuthenticationServerPolicy = void 0;
|
|
38
|
+
const model = __importStar(require("../model"));
|
|
39
|
+
var AuthenticationServerPolicy;
|
|
40
|
+
(function (AuthenticationServerPolicy) {
|
|
41
|
+
function getJsonObj(obj) {
|
|
42
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
43
|
+
"key": obj.key ? model.DynamicSelectionKey.getJsonObj(obj.key) : undefined,
|
|
44
|
+
"authenticationServerDetail": obj.authenticationServerDetail
|
|
45
|
+
? model.AuthenticationPolicy.getJsonObj(obj.authenticationServerDetail)
|
|
46
|
+
: undefined
|
|
47
|
+
});
|
|
48
|
+
return jsonObj;
|
|
49
|
+
}
|
|
50
|
+
AuthenticationServerPolicy.getJsonObj = getJsonObj;
|
|
51
|
+
function getDeserializedJsonObj(obj) {
|
|
52
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
53
|
+
"key": obj.key ? model.DynamicSelectionKey.getDeserializedJsonObj(obj.key) : undefined,
|
|
54
|
+
"authenticationServerDetail": obj.authenticationServerDetail
|
|
55
|
+
? model.AuthenticationPolicy.getDeserializedJsonObj(obj.authenticationServerDetail)
|
|
56
|
+
: undefined
|
|
57
|
+
});
|
|
58
|
+
return jsonObj;
|
|
59
|
+
}
|
|
60
|
+
AuthenticationServerPolicy.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
61
|
+
})(AuthenticationServerPolicy = exports.AuthenticationServerPolicy || (exports.AuthenticationServerPolicy = {}));
|
|
62
|
+
//# sourceMappingURL=authentication-server-policy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authentication-server-policy.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/authentication-server-policy.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAWlC,IAAiB,0BAA0B,CA2B1C;AA3BD,WAAiB,0BAA0B;IACzC,SAAgB,UAAU,CAAC,GAA+B;QACxD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,KAAK,EAAE,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,UAAU,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS;YAC1E,4BAA4B,EAAE,GAAG,CAAC,0BAA0B;gBAC1D,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,UAAU,CAAC,GAAG,CAAC,0BAA0B,CAAC;gBACvE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,qCAAU,aAYzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA+B;QACpE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,KAAK,EAAE,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS;YACtF,4BAA4B,EAAE,GAAG,CAAC,0BAA0B;gBAC1D,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,sBAAsB,CAAC,GAAG,CAAC,0BAA0B,CAAC;gBACnF,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,iDAAsB,yBAYrC,CAAA;AACH,CAAC,EA3BgB,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QA2B1C"}
|
|
@@ -33,6 +33,20 @@ export interface CustomAuthenticationPolicy extends model.AuthenticationPolicy {
|
|
|
33
33
|
* The name of the query parameter containing the authentication token.
|
|
34
34
|
*/
|
|
35
35
|
"tokenQueryParam"?: string;
|
|
36
|
+
/**
|
|
37
|
+
* A map where key is a user defined string and value is a context expressions whose values will be sent to the custom auth function. Values should contain an expression.
|
|
38
|
+
* Example: `{\"foo\": \"request.header[abc]\"}`
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
"parameters"?: {
|
|
42
|
+
[key: string]: string;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* A list of keys from \"parameters\" attribute value whose values will be added to the cache key.
|
|
46
|
+
*
|
|
47
|
+
*/
|
|
48
|
+
"cacheKey"?: Array<string>;
|
|
49
|
+
"validationFailurePolicy"?: model.ModifyResponseValidationFailurePolicy;
|
|
36
50
|
"type": string;
|
|
37
51
|
}
|
|
38
52
|
export declare namespace CustomAuthenticationPolicy {
|
|
@@ -41,7 +41,11 @@ var CustomAuthenticationPolicy;
|
|
|
41
41
|
function getJsonObj(obj, isParentJsonObj) {
|
|
42
42
|
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
43
43
|
? obj
|
|
44
|
-
: model.AuthenticationPolicy.getJsonObj(obj))), {
|
|
44
|
+
: model.AuthenticationPolicy.getJsonObj(obj))), {
|
|
45
|
+
"validationFailurePolicy": obj.validationFailurePolicy
|
|
46
|
+
? model.ValidationFailurePolicy.getJsonObj(obj.validationFailurePolicy)
|
|
47
|
+
: undefined
|
|
48
|
+
});
|
|
45
49
|
return jsonObj;
|
|
46
50
|
}
|
|
47
51
|
CustomAuthenticationPolicy.getJsonObj = getJsonObj;
|
|
@@ -49,7 +53,11 @@ var CustomAuthenticationPolicy;
|
|
|
49
53
|
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
50
54
|
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
51
55
|
? obj
|
|
52
|
-
: model.AuthenticationPolicy.getDeserializedJsonObj(obj))), {
|
|
56
|
+
: model.AuthenticationPolicy.getDeserializedJsonObj(obj))), {
|
|
57
|
+
"validationFailurePolicy": obj.validationFailurePolicy
|
|
58
|
+
? model.ValidationFailurePolicy.getDeserializedJsonObj(obj.validationFailurePolicy)
|
|
59
|
+
: undefined
|
|
60
|
+
});
|
|
53
61
|
return jsonObj;
|
|
54
62
|
}
|
|
55
63
|
CustomAuthenticationPolicy.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-authentication-policy.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/custom-authentication-policy.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"custom-authentication-policy.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/custom-authentication-policy.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAsClC,IAAiB,0BAA0B,CAiC1C;AAjCD,WAAiB,0BAA0B;IACzC,SAAgB,UAAU,CAAC,GAA+B,EAAE,eAAyB;QACnF,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,oBAAoB,CAAC,UAAU,CAAC,GAAG,CAAgC,CAAC,GAC5E;YACD,yBAAyB,EAAE,GAAG,CAAC,uBAAuB;gBACpD,CAAC,CAAC,KAAK,CAAC,uBAAuB,CAAC,UAAU,CAAC,GAAG,CAAC,uBAAuB,CAAC;gBACvE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,qCAAU,aAazB,CAAA;IACY,+BAAI,GAAG,uBAAuB,CAAC;IAC5C,SAAgB,sBAAsB,CACpC,GAA+B,EAC/B,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,oBAAoB,CAAC,sBAAsB,CAAC,GAAG,CAAgC,CAAC,GACxF;YACD,yBAAyB,EAAE,GAAG,CAAC,uBAAuB;gBACpD,CAAC,CAAC,KAAK,CAAC,uBAAuB,CAAC,sBAAsB,CAAC,GAAG,CAAC,uBAAuB,CAAC;gBACnF,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAhBe,iDAAsB,yBAgBrC,CAAA;AACH,CAAC,EAjCgB,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAiC1C"}
|
|
@@ -0,0 +1,30 @@
|
|
|
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](/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, 2022, 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
|
+
import * as model from "../model";
|
|
17
|
+
/**
|
|
18
|
+
* Information on how to authenticate requests when multiple authentication options are configured for a deployment.
|
|
19
|
+
*/
|
|
20
|
+
export interface DynamicAuthenticationPolicy {
|
|
21
|
+
"selectionSource": model.SingleSelectionSourcePolicy;
|
|
22
|
+
/**
|
|
23
|
+
* List of authentication servers to choose from during dynamic authentication.
|
|
24
|
+
*/
|
|
25
|
+
"authenticationServers": Array<model.AuthenticationServerPolicy>;
|
|
26
|
+
}
|
|
27
|
+
export declare namespace DynamicAuthenticationPolicy {
|
|
28
|
+
function getJsonObj(obj: DynamicAuthenticationPolicy): object;
|
|
29
|
+
function getDeserializedJsonObj(obj: DynamicAuthenticationPolicy): object;
|
|
30
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
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](/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, 2022, 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
|
+
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
|
+
};
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.DynamicAuthenticationPolicy = void 0;
|
|
38
|
+
const model = __importStar(require("../model"));
|
|
39
|
+
var DynamicAuthenticationPolicy;
|
|
40
|
+
(function (DynamicAuthenticationPolicy) {
|
|
41
|
+
function getJsonObj(obj) {
|
|
42
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
43
|
+
"selectionSource": obj.selectionSource
|
|
44
|
+
? model.SelectionSourcePolicy.getJsonObj(obj.selectionSource)
|
|
45
|
+
: undefined,
|
|
46
|
+
"authenticationServers": obj.authenticationServers
|
|
47
|
+
? obj.authenticationServers.map(item => {
|
|
48
|
+
return model.AuthenticationServerPolicy.getJsonObj(item);
|
|
49
|
+
})
|
|
50
|
+
: undefined
|
|
51
|
+
});
|
|
52
|
+
return jsonObj;
|
|
53
|
+
}
|
|
54
|
+
DynamicAuthenticationPolicy.getJsonObj = getJsonObj;
|
|
55
|
+
function getDeserializedJsonObj(obj) {
|
|
56
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
57
|
+
"selectionSource": obj.selectionSource
|
|
58
|
+
? model.SelectionSourcePolicy.getDeserializedJsonObj(obj.selectionSource)
|
|
59
|
+
: undefined,
|
|
60
|
+
"authenticationServers": obj.authenticationServers
|
|
61
|
+
? obj.authenticationServers.map(item => {
|
|
62
|
+
return model.AuthenticationServerPolicy.getDeserializedJsonObj(item);
|
|
63
|
+
})
|
|
64
|
+
: undefined
|
|
65
|
+
});
|
|
66
|
+
return jsonObj;
|
|
67
|
+
}
|
|
68
|
+
DynamicAuthenticationPolicy.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
69
|
+
})(DynamicAuthenticationPolicy = exports.DynamicAuthenticationPolicy || (exports.DynamicAuthenticationPolicy = {}));
|
|
70
|
+
//# sourceMappingURL=dynamic-authentication-policy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dynamic-authentication-policy.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/dynamic-authentication-policy.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAclC,IAAiB,2BAA2B,CAmC3C;AAnCD,WAAiB,2BAA2B;IAC1C,SAAgB,UAAU,CAAC,GAAgC;QACzD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,KAAK,CAAC,qBAAqB,CAAC,UAAU,CAAC,GAAG,CAAC,eAAe,CAAC;gBAC7D,CAAC,CAAC,SAAS;YACb,uBAAuB,EAAE,GAAG,CAAC,qBAAqB;gBAChD,CAAC,CAAC,GAAG,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnC,OAAO,KAAK,CAAC,0BAA0B,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC3D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAhBe,sCAAU,aAgBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAgC;QACrE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,KAAK,CAAC,qBAAqB,CAAC,sBAAsB,CAAC,GAAG,CAAC,eAAe,CAAC;gBACzE,CAAC,CAAC,SAAS;YACb,uBAAuB,EAAE,GAAG,CAAC,qBAAqB;gBAChD,CAAC,CAAC,GAAG,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnC,OAAO,KAAK,CAAC,0BAA0B,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACvE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAhBe,kDAAsB,yBAgBrC,CAAA;AACH,CAAC,EAnCgB,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAmC3C"}
|
|
@@ -0,0 +1,33 @@
|
|
|
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](/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, 2022, 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
|
+
import * as model from "../model";
|
|
17
|
+
/**
|
|
18
|
+
* Send the request to a Dynamic Routing backend.
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
export interface DynamicRoutingBackend extends model.ApiSpecificationRouteBackend {
|
|
22
|
+
"selectionSource": model.SingleSelectionSourcePolicy;
|
|
23
|
+
/**
|
|
24
|
+
* List of backends to chose from for Dynamic Routing.
|
|
25
|
+
*/
|
|
26
|
+
"routingBackends": Array<model.DynamicRoutingTypeRoutingBackend>;
|
|
27
|
+
"type": string;
|
|
28
|
+
}
|
|
29
|
+
export declare namespace DynamicRoutingBackend {
|
|
30
|
+
function getJsonObj(obj: DynamicRoutingBackend, isParentJsonObj?: boolean): object;
|
|
31
|
+
const type = "DYNAMIC_ROUTING_BACKEND";
|
|
32
|
+
function getDeserializedJsonObj(obj: DynamicRoutingBackend, isParentJsonObj?: boolean): object;
|
|
33
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
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](/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, 2022, 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
|
+
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
|
+
};
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.DynamicRoutingBackend = void 0;
|
|
38
|
+
const model = __importStar(require("../model"));
|
|
39
|
+
var DynamicRoutingBackend;
|
|
40
|
+
(function (DynamicRoutingBackend) {
|
|
41
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
42
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
43
|
+
? obj
|
|
44
|
+
: model.ApiSpecificationRouteBackend.getJsonObj(obj))), {
|
|
45
|
+
"selectionSource": obj.selectionSource
|
|
46
|
+
? model.SelectionSourcePolicy.getJsonObj(obj.selectionSource)
|
|
47
|
+
: undefined,
|
|
48
|
+
"routingBackends": obj.routingBackends
|
|
49
|
+
? obj.routingBackends.map(item => {
|
|
50
|
+
return model.DynamicRoutingTypeRoutingBackend.getJsonObj(item);
|
|
51
|
+
})
|
|
52
|
+
: undefined
|
|
53
|
+
});
|
|
54
|
+
return jsonObj;
|
|
55
|
+
}
|
|
56
|
+
DynamicRoutingBackend.getJsonObj = getJsonObj;
|
|
57
|
+
DynamicRoutingBackend.type = "DYNAMIC_ROUTING_BACKEND";
|
|
58
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
59
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
60
|
+
? obj
|
|
61
|
+
: model.ApiSpecificationRouteBackend.getDeserializedJsonObj(obj))), {
|
|
62
|
+
"selectionSource": obj.selectionSource
|
|
63
|
+
? model.SelectionSourcePolicy.getDeserializedJsonObj(obj.selectionSource)
|
|
64
|
+
: undefined,
|
|
65
|
+
"routingBackends": obj.routingBackends
|
|
66
|
+
? obj.routingBackends.map(item => {
|
|
67
|
+
return model.DynamicRoutingTypeRoutingBackend.getDeserializedJsonObj(item);
|
|
68
|
+
})
|
|
69
|
+
: undefined
|
|
70
|
+
});
|
|
71
|
+
return jsonObj;
|
|
72
|
+
}
|
|
73
|
+
DynamicRoutingBackend.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
74
|
+
})(DynamicRoutingBackend = exports.DynamicRoutingBackend || (exports.DynamicRoutingBackend = {}));
|
|
75
|
+
//# sourceMappingURL=dynamic-routing-backend.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dynamic-routing-backend.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/dynamic-routing-backend.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAiBlC,IAAiB,qBAAqB,CA6CrC;AA7CD,WAAiB,qBAAqB;IACpC,SAAgB,UAAU,CAAC,GAA0B,EAAE,eAAyB;QAC9E,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,4BAA4B,CAAC,UAAU,CAAC,GAAG,CAA2B,CAAC,GAC/E;YACD,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,KAAK,CAAC,qBAAqB,CAAC,UAAU,CAAC,GAAG,CAAC,eAAe,CAAC;gBAC7D,CAAC,CAAC,SAAS;YACb,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,GAAG,CAAC,eAAe,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC7B,OAAO,KAAK,CAAC,gCAAgC,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACjE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAlBe,gCAAU,aAkBzB,CAAA;IACY,0BAAI,GAAG,yBAAyB,CAAC;IAC9C,SAAgB,sBAAsB,CACpC,GAA0B,EAC1B,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,4BAA4B,CAAC,sBAAsB,CACxD,GAAG,CACsB,CAAC,GAC7B;YACD,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,KAAK,CAAC,qBAAqB,CAAC,sBAAsB,CAAC,GAAG,CAAC,eAAe,CAAC;gBACzE,CAAC,CAAC,SAAS;YACb,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,GAAG,CAAC,eAAe,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC7B,OAAO,KAAK,CAAC,gCAAgC,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC7E,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAvBe,4CAAsB,yBAuBrC,CAAA;AACH,CAAC,EA7CgB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QA6CrC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
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](/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, 2022, 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
|
+
import * as model from "../model";
|
|
17
|
+
/**
|
|
18
|
+
* Information around a routing backend for dynamic routing.
|
|
19
|
+
*/
|
|
20
|
+
export interface DynamicRoutingTypeRoutingBackend {
|
|
21
|
+
"key": model.WildcardSelectionKey | model.AnyOfSelectionKey;
|
|
22
|
+
"backend": model.HTTPBackend | model.OracleFunctionBackend | model.StockResponseBackend | model.DynamicRoutingBackend;
|
|
23
|
+
}
|
|
24
|
+
export declare namespace DynamicRoutingTypeRoutingBackend {
|
|
25
|
+
function getJsonObj(obj: DynamicRoutingTypeRoutingBackend): object;
|
|
26
|
+
function getDeserializedJsonObj(obj: DynamicRoutingTypeRoutingBackend): object;
|
|
27
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
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](/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, 2022, 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
|
+
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
|
+
};
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.DynamicRoutingTypeRoutingBackend = void 0;
|
|
38
|
+
const model = __importStar(require("../model"));
|
|
39
|
+
var DynamicRoutingTypeRoutingBackend;
|
|
40
|
+
(function (DynamicRoutingTypeRoutingBackend) {
|
|
41
|
+
function getJsonObj(obj) {
|
|
42
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
43
|
+
"key": obj.key ? model.DynamicSelectionKey.getJsonObj(obj.key) : undefined,
|
|
44
|
+
"backend": obj.backend
|
|
45
|
+
? model.ApiSpecificationRouteBackend.getJsonObj(obj.backend)
|
|
46
|
+
: undefined
|
|
47
|
+
});
|
|
48
|
+
return jsonObj;
|
|
49
|
+
}
|
|
50
|
+
DynamicRoutingTypeRoutingBackend.getJsonObj = getJsonObj;
|
|
51
|
+
function getDeserializedJsonObj(obj) {
|
|
52
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
53
|
+
"key": obj.key ? model.DynamicSelectionKey.getDeserializedJsonObj(obj.key) : undefined,
|
|
54
|
+
"backend": obj.backend
|
|
55
|
+
? model.ApiSpecificationRouteBackend.getDeserializedJsonObj(obj.backend)
|
|
56
|
+
: undefined
|
|
57
|
+
});
|
|
58
|
+
return jsonObj;
|
|
59
|
+
}
|
|
60
|
+
DynamicRoutingTypeRoutingBackend.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
61
|
+
})(DynamicRoutingTypeRoutingBackend = exports.DynamicRoutingTypeRoutingBackend || (exports.DynamicRoutingTypeRoutingBackend = {}));
|
|
62
|
+
//# sourceMappingURL=dynamic-routing-type-routing-backend.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dynamic-routing-type-routing-backend.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/dynamic-routing-type-routing-backend.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAelC,IAAiB,gCAAgC,CA2BhD;AA3BD,WAAiB,gCAAgC;IAC/C,SAAgB,UAAU,CAAC,GAAqC;QAC9D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,KAAK,EAAE,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,UAAU,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS;YAC1E,SAAS,EAAE,GAAG,CAAC,OAAO;gBACpB,CAAC,CAAC,KAAK,CAAC,4BAA4B,CAAC,UAAU,CAAC,GAAG,CAAC,OAAO,CAAC;gBAC5D,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,2CAAU,aAYzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAqC;QAC1E,MAAM,OAAO,mCACR,GAAG,GACH;YACD,KAAK,EAAE,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS;YACtF,SAAS,EAAE,GAAG,CAAC,OAAO;gBACpB,CAAC,CAAC,KAAK,CAAC,4BAA4B,CAAC,sBAAsB,CAAC,GAAG,CAAC,OAAO,CAAC;gBACxE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,uDAAsB,yBAYrC,CAAA;AACH,CAAC,EA3BgB,gCAAgC,GAAhC,wCAAgC,KAAhC,wCAAgC,QA2BhD"}
|
|
@@ -0,0 +1,33 @@
|
|
|
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](/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, 2022, 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
|
+
* Information around the values for selector of an authentication/ routing branch.
|
|
18
|
+
*/
|
|
19
|
+
export interface DynamicSelectionKey {
|
|
20
|
+
/**
|
|
21
|
+
* Information regarding whether this is the default branch.
|
|
22
|
+
*/
|
|
23
|
+
"isDefault"?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Name assigned to the branch.
|
|
26
|
+
*/
|
|
27
|
+
"name": string;
|
|
28
|
+
"type": string;
|
|
29
|
+
}
|
|
30
|
+
export declare namespace DynamicSelectionKey {
|
|
31
|
+
function getJsonObj(obj: DynamicSelectionKey): object;
|
|
32
|
+
function getDeserializedJsonObj(obj: DynamicSelectionKey): object;
|
|
33
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
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](/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, 2022, 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
|
+
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
|
+
};
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.DynamicSelectionKey = void 0;
|
|
38
|
+
const model = __importStar(require("../model"));
|
|
39
|
+
const common = require("oci-common");
|
|
40
|
+
var DynamicSelectionKey;
|
|
41
|
+
(function (DynamicSelectionKey) {
|
|
42
|
+
function getJsonObj(obj) {
|
|
43
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
44
|
+
if (obj && "type" in obj && obj.type) {
|
|
45
|
+
switch (obj.type) {
|
|
46
|
+
case "WILDCARD":
|
|
47
|
+
return model.WildcardSelectionKey.getJsonObj(jsonObj, true);
|
|
48
|
+
case "ANY_OF":
|
|
49
|
+
return model.AnyOfSelectionKey.getJsonObj(jsonObj, true);
|
|
50
|
+
default:
|
|
51
|
+
if (common.LOG.logger)
|
|
52
|
+
common.LOG.logger.info(`Unknown value for: ${obj.type}`);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
return jsonObj;
|
|
56
|
+
}
|
|
57
|
+
DynamicSelectionKey.getJsonObj = getJsonObj;
|
|
58
|
+
function getDeserializedJsonObj(obj) {
|
|
59
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
60
|
+
if (obj && "type" in obj && obj.type) {
|
|
61
|
+
switch (obj.type) {
|
|
62
|
+
case "WILDCARD":
|
|
63
|
+
return model.WildcardSelectionKey.getDeserializedJsonObj(jsonObj, true);
|
|
64
|
+
case "ANY_OF":
|
|
65
|
+
return model.AnyOfSelectionKey.getDeserializedJsonObj(jsonObj, true);
|
|
66
|
+
default:
|
|
67
|
+
if (common.LOG.logger)
|
|
68
|
+
common.LOG.logger.info(`Unknown value for: ${obj.type}`);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
return jsonObj;
|
|
72
|
+
}
|
|
73
|
+
DynamicSelectionKey.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
74
|
+
})(DynamicSelectionKey = exports.DynamicSelectionKey || (exports.DynamicSelectionKey = {}));
|
|
75
|
+
//# sourceMappingURL=dynamic-selection-key.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dynamic-selection-key.js","sourceRoot":"","sources":["../../../../../lib/apigateway/lib/model/dynamic-selection-key.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAkBtC,IAAiB,mBAAmB,CA2CnC;AA3CD,WAAiB,mBAAmB;IAClC,SAAgB,UAAU,CAAC,GAAwB;QACjD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE;YACpC,QAAQ,GAAG,CAAC,IAAI,EAAE;gBAChB,KAAK,UAAU;oBACb,OAAO,KAAK,CAAC,oBAAoB,CAAC,UAAU,CACL,OAAQ,EAC7C,IAAI,CACL,CAAC;gBACJ,KAAK,QAAQ;oBACX,OAAO,KAAK,CAAC,iBAAiB,CAAC,UAAU,CACL,OAAQ,EAC1C,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC;aACnF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,8BAAU,aAoBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAwB;QAC7D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE;YACpC,QAAQ,GAAG,CAAC,IAAI,EAAE;gBAChB,KAAK,UAAU;oBACb,OAAO,KAAK,CAAC,oBAAoB,CAAC,sBAAsB,CACjB,OAAQ,EAC7C,IAAI,CACL,CAAC;gBACJ,KAAK,QAAQ;oBACX,OAAO,KAAK,CAAC,iBAAiB,CAAC,sBAAsB,CACjB,OAAQ,EAC1C,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC;aACnF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,0CAAsB,yBAoBrC,CAAA;AACH,CAAC,EA3CgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QA2CnC"}
|