oci-osubsubscription 2.12.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/LICENSE.txt +89 -0
- package/NOTICE.txt +1 -0
- package/README.md +22 -0
- package/THIRD_PARTY_LICENSES.txt +1521 -0
- package/index.d.ts +23 -0
- package/index.js +46 -0
- package/index.js.map +1 -0
- package/lib/client.d.ts +274 -0
- package/lib/client.js +681 -0
- package/lib/client.js.map +1 -0
- package/lib/model/commitment-detail.d.ts +59 -0
- package/lib/model/commitment-detail.js +30 -0
- package/lib/model/commitment-detail.js.map +1 -0
- package/lib/model/commitment-summary.d.ts +59 -0
- package/lib/model/commitment-summary.js +30 -0
- package/lib/model/commitment-summary.js.map +1 -0
- package/lib/model/commitment.d.ts +53 -0
- package/lib/model/commitment.js +30 -0
- package/lib/model/commitment.js.map +1 -0
- package/lib/model/currency.d.ts +38 -0
- package/lib/model/currency.js +30 -0
- package/lib/model/currency.js.map +1 -0
- package/lib/model/index.d.ts +33 -0
- package/lib/model/index.js +56 -0
- package/lib/model/index.js.map +1 -0
- package/lib/model/product.d.ts +53 -0
- package/lib/model/product.js +30 -0
- package/lib/model/product.js.map +1 -0
- package/lib/model/rate-card-summary.d.ts +61 -0
- package/lib/model/rate-card-summary.js +66 -0
- package/lib/model/rate-card-summary.js.map +1 -0
- package/lib/model/rate-card-tier.d.ts +38 -0
- package/lib/model/rate-card-tier.js +30 -0
- package/lib/model/rate-card-tier.js.map +1 -0
- package/lib/model/subscribed-service-summary.d.ts +131 -0
- package/lib/model/subscribed-service-summary.js +66 -0
- package/lib/model/subscribed-service-summary.js.map +1 -0
- package/lib/model/subscription-product.d.ts +43 -0
- package/lib/model/subscription-product.js +30 -0
- package/lib/model/subscription-product.js.map +1 -0
- package/lib/model/subscription-summary.d.ts +50 -0
- package/lib/model/subscription-summary.js +64 -0
- package/lib/model/subscription-summary.js.map +1 -0
- package/lib/request/get-commitment-request.d.ts +38 -0
- package/lib/request/get-commitment-request.js +15 -0
- package/lib/request/get-commitment-request.js.map +1 -0
- package/lib/request/index.d.ts +21 -0
- package/lib/request/index.js +42 -0
- package/lib/request/index.js.map +1 -0
- package/lib/request/list-commitments-request.d.ts +75 -0
- package/lib/request/list-commitments-request.js +29 -0
- package/lib/request/list-commitments-request.js.map +1 -0
- package/lib/request/list-rate-cards-request.d.ts +80 -0
- package/lib/request/list-rate-cards-request.js +29 -0
- package/lib/request/list-rate-cards-request.js.map +1 -0
- package/lib/request/list-subscriptions-request.d.ts +86 -0
- package/lib/request/list-subscriptions-request.js +29 -0
- package/lib/request/list-subscriptions-request.js.map +1 -0
- package/lib/response/get-commitment-response.d.ts +25 -0
- package/lib/response/get-commitment-response.js +15 -0
- package/lib/response/get-commitment-response.js.map +1 -0
- package/lib/response/index.d.ts +21 -0
- package/lib/response/index.js +16 -0
- package/lib/response/index.js.map +1 -0
- package/lib/response/list-commitments-response.d.ts +32 -0
- package/lib/response/list-commitments-response.js +15 -0
- package/lib/response/list-commitments-response.js.map +1 -0
- package/lib/response/list-rate-cards-response.d.ts +27 -0
- package/lib/response/list-rate-cards-response.js +15 -0
- package/lib/response/list-rate-cards-response.js.map +1 -0
- package/lib/response/list-subscriptions-response.d.ts +32 -0
- package/lib/response/list-subscriptions-response.js +15 -0
- package/lib/response/list-subscriptions-response.js.map +1 -0
- package/package.json +29 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* OneSubscription API Subscription, Commitment and and Rate Card Details
|
|
4
|
+
* Set of APIs that return the Subscription Details, Commitment and Effective Rate Card Details
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20210501
|
|
7
|
+
* Contact: kuaskum_org_ww@oracle.com
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
13
|
+
* 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.
|
|
14
|
+
*/
|
|
15
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
18
|
+
}) : (function(o, m, k, k2) {
|
|
19
|
+
if (k2 === undefined) k2 = k;
|
|
20
|
+
o[k2] = m[k];
|
|
21
|
+
}));
|
|
22
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
23
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
24
|
+
}) : function(o, v) {
|
|
25
|
+
o["default"] = v;
|
|
26
|
+
});
|
|
27
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
+
exports.ListSubscriptionsRequest = exports.ListRateCardsRequest = exports.ListCommitmentsRequest = void 0;
|
|
36
|
+
const ListCommitmentsRequest = __importStar(require("./list-commitments-request"));
|
|
37
|
+
exports.ListCommitmentsRequest = ListCommitmentsRequest.ListCommitmentsRequest;
|
|
38
|
+
const ListRateCardsRequest = __importStar(require("./list-rate-cards-request"));
|
|
39
|
+
exports.ListRateCardsRequest = ListRateCardsRequest.ListRateCardsRequest;
|
|
40
|
+
const ListSubscriptionsRequest = __importStar(require("./list-subscriptions-request"));
|
|
41
|
+
exports.ListSubscriptionsRequest = ListSubscriptionsRequest.ListSubscriptionsRequest;
|
|
42
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/osubsubscription/lib/request/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAIH,mFAAqE;AACvD,QAAA,sBAAsB,GAAG,sBAAsB,CAAC,sBAAsB,CAAC;AACrF,gFAAkE;AACpD,QAAA,oBAAoB,GAAG,oBAAoB,CAAC,oBAAoB,CAAC;AAC/E,uFAAyE;AAC3D,QAAA,wBAAwB,GAAG,wBAAwB,CAAC,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20210501
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* 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.
|
|
12
|
+
*/
|
|
13
|
+
import common = require("oci-common");
|
|
14
|
+
/**
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.12.0/osubsubscription/ListCommitments.ts.html |here} to see how to use ListCommitmentsRequest.
|
|
16
|
+
*/
|
|
17
|
+
export interface ListCommitmentsRequest extends common.BaseRequest {
|
|
18
|
+
/**
|
|
19
|
+
* This param is used to get the commitments for a particular subscribed service
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
"subscribedServiceId": string;
|
|
23
|
+
/**
|
|
24
|
+
* The OCID of the compartment.
|
|
25
|
+
*/
|
|
26
|
+
"compartmentId": string;
|
|
27
|
+
/**
|
|
28
|
+
* The maximum number of items to return in a paginated \"List\" call. Default: (`50`)
|
|
29
|
+
* <p>
|
|
30
|
+
Example: `500`
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
"limit"?: number;
|
|
34
|
+
/**
|
|
35
|
+
* The value of the `opc-next-page` response header from the previous \"List\" call.
|
|
36
|
+
*
|
|
37
|
+
*/
|
|
38
|
+
"page"?: string;
|
|
39
|
+
/**
|
|
40
|
+
* The sort order to use, either ascending (`ASC`) or descending (`DESC`).
|
|
41
|
+
*
|
|
42
|
+
*/
|
|
43
|
+
"sortOrder"?: ListCommitmentsRequest.SortOrder;
|
|
44
|
+
/**
|
|
45
|
+
* The field to sort by. You can provide one sort order (`sortOrder`).
|
|
46
|
+
*
|
|
47
|
+
*/
|
|
48
|
+
"sortBy"?: ListCommitmentsRequest.SortBy;
|
|
49
|
+
/**
|
|
50
|
+
* Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
|
51
|
+
*
|
|
52
|
+
*/
|
|
53
|
+
"opcRequestId"?: string;
|
|
54
|
+
/**
|
|
55
|
+
* This header is meant to be used only for internal purposes and will be ignored on any public request. The purpose of this header is
|
|
56
|
+
* to help on Gateway to API calls identification.
|
|
57
|
+
*
|
|
58
|
+
*/
|
|
59
|
+
"xOneGatewaySubscriptionId"?: string;
|
|
60
|
+
/**
|
|
61
|
+
* The OCI home region name in case home region is not us-ashburn-1 (IAD), e.g. ap-mumbai-1, us-phoenix-1 etc.
|
|
62
|
+
*
|
|
63
|
+
*/
|
|
64
|
+
"xOneOriginRegion"?: string;
|
|
65
|
+
}
|
|
66
|
+
export declare namespace ListCommitmentsRequest {
|
|
67
|
+
enum SortOrder {
|
|
68
|
+
Asc = "ASC",
|
|
69
|
+
Desc = "DESC"
|
|
70
|
+
}
|
|
71
|
+
enum SortBy {
|
|
72
|
+
Timecreated = "TIMECREATED",
|
|
73
|
+
Timestart = "TIMESTART"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20210501
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* 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.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.ListCommitmentsRequest = void 0;
|
|
16
|
+
var ListCommitmentsRequest;
|
|
17
|
+
(function (ListCommitmentsRequest) {
|
|
18
|
+
let SortOrder;
|
|
19
|
+
(function (SortOrder) {
|
|
20
|
+
SortOrder["Asc"] = "ASC";
|
|
21
|
+
SortOrder["Desc"] = "DESC";
|
|
22
|
+
})(SortOrder = ListCommitmentsRequest.SortOrder || (ListCommitmentsRequest.SortOrder = {}));
|
|
23
|
+
let SortBy;
|
|
24
|
+
(function (SortBy) {
|
|
25
|
+
SortBy["Timecreated"] = "TIMECREATED";
|
|
26
|
+
SortBy["Timestart"] = "TIMESTART";
|
|
27
|
+
})(SortBy = ListCommitmentsRequest.SortBy || (ListCommitmentsRequest.SortBy = {}));
|
|
28
|
+
})(ListCommitmentsRequest = exports.ListCommitmentsRequest || (exports.ListCommitmentsRequest = {}));
|
|
29
|
+
//# sourceMappingURL=list-commitments-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-commitments-request.js","sourceRoot":"","sources":["../../../../../lib/osubsubscription/lib/request/list-commitments-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AA0DH,IAAiB,sBAAsB,CAUtC;AAVD,WAAiB,sBAAsB;IACrC,IAAY,SAGX;IAHD,WAAY,SAAS;QACnB,wBAAW,CAAA;QACX,0BAAa,CAAA;IACf,CAAC,EAHW,SAAS,GAAT,gCAAS,KAAT,gCAAS,QAGpB;IAED,IAAY,MAGX;IAHD,WAAY,MAAM;QAChB,qCAA2B,CAAA;QAC3B,iCAAuB,CAAA;IACzB,CAAC,EAHW,MAAM,GAAN,6BAAM,KAAN,6BAAM,QAGjB;AACH,CAAC,EAVgB,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAUtC"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20210501
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* 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.
|
|
12
|
+
*/
|
|
13
|
+
import common = require("oci-common");
|
|
14
|
+
/**
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.12.0/osubsubscription/ListRateCards.ts.html |here} to see how to use ListRateCardsRequest.
|
|
16
|
+
*/
|
|
17
|
+
export interface ListRateCardsRequest extends common.BaseRequest {
|
|
18
|
+
/**
|
|
19
|
+
* Line level Subscription Id
|
|
20
|
+
*/
|
|
21
|
+
"subscriptionId": string;
|
|
22
|
+
/**
|
|
23
|
+
* The OCID of the compartment.
|
|
24
|
+
*/
|
|
25
|
+
"compartmentId": string;
|
|
26
|
+
/**
|
|
27
|
+
* This param is used to get the rate card(s) whose effective start date starts on or after a particular date
|
|
28
|
+
*/
|
|
29
|
+
"timeFrom"?: Date;
|
|
30
|
+
/**
|
|
31
|
+
* This param is used to get the rate card(s) whose effective end date ends on or before a particular date
|
|
32
|
+
*/
|
|
33
|
+
"timeTo"?: Date;
|
|
34
|
+
/**
|
|
35
|
+
* This param is used to get the rate card(s) filterd by the partNumber
|
|
36
|
+
*/
|
|
37
|
+
"partNumber"?: string;
|
|
38
|
+
/**
|
|
39
|
+
* The maximum number of items to return in a paginated \"List\" call. Default: (`50`)
|
|
40
|
+
* <p>
|
|
41
|
+
Example: `500`
|
|
42
|
+
*
|
|
43
|
+
*/
|
|
44
|
+
"limit"?: number;
|
|
45
|
+
/**
|
|
46
|
+
* The value of the `opc-next-page` response header from the previous \"List\" call.
|
|
47
|
+
*
|
|
48
|
+
*/
|
|
49
|
+
"page"?: string;
|
|
50
|
+
/**
|
|
51
|
+
* The sort order to use, either ascending (`ASC`) or descending (`DESC`).
|
|
52
|
+
*
|
|
53
|
+
*/
|
|
54
|
+
"sortOrder"?: ListRateCardsRequest.SortOrder;
|
|
55
|
+
/**
|
|
56
|
+
* The field to sort by. You can provide one sort order (`sortOrder`).
|
|
57
|
+
*
|
|
58
|
+
*/
|
|
59
|
+
"sortBy"?: ListRateCardsRequest.SortBy;
|
|
60
|
+
/**
|
|
61
|
+
* Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
|
62
|
+
*
|
|
63
|
+
*/
|
|
64
|
+
"opcRequestId"?: string;
|
|
65
|
+
/**
|
|
66
|
+
* The OCI home region name in case home region is not us-ashburn-1 (IAD), e.g. ap-mumbai-1, us-phoenix-1 etc.
|
|
67
|
+
*
|
|
68
|
+
*/
|
|
69
|
+
"xOneOriginRegion"?: string;
|
|
70
|
+
}
|
|
71
|
+
export declare namespace ListRateCardsRequest {
|
|
72
|
+
enum SortOrder {
|
|
73
|
+
Asc = "ASC",
|
|
74
|
+
Desc = "DESC"
|
|
75
|
+
}
|
|
76
|
+
enum SortBy {
|
|
77
|
+
Timecreated = "TIMECREATED",
|
|
78
|
+
Timestart = "TIMESTART"
|
|
79
|
+
}
|
|
80
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20210501
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* 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.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.ListRateCardsRequest = void 0;
|
|
16
|
+
var ListRateCardsRequest;
|
|
17
|
+
(function (ListRateCardsRequest) {
|
|
18
|
+
let SortOrder;
|
|
19
|
+
(function (SortOrder) {
|
|
20
|
+
SortOrder["Asc"] = "ASC";
|
|
21
|
+
SortOrder["Desc"] = "DESC";
|
|
22
|
+
})(SortOrder = ListRateCardsRequest.SortOrder || (ListRateCardsRequest.SortOrder = {}));
|
|
23
|
+
let SortBy;
|
|
24
|
+
(function (SortBy) {
|
|
25
|
+
SortBy["Timecreated"] = "TIMECREATED";
|
|
26
|
+
SortBy["Timestart"] = "TIMESTART";
|
|
27
|
+
})(SortBy = ListRateCardsRequest.SortBy || (ListRateCardsRequest.SortBy = {}));
|
|
28
|
+
})(ListRateCardsRequest = exports.ListRateCardsRequest || (exports.ListRateCardsRequest = {}));
|
|
29
|
+
//# sourceMappingURL=list-rate-cards-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-rate-cards-request.js","sourceRoot":"","sources":["../../../../../lib/osubsubscription/lib/request/list-rate-cards-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AA+DH,IAAiB,oBAAoB,CAUpC;AAVD,WAAiB,oBAAoB;IACnC,IAAY,SAGX;IAHD,WAAY,SAAS;QACnB,wBAAW,CAAA;QACX,0BAAa,CAAA;IACf,CAAC,EAHW,SAAS,GAAT,8BAAS,KAAT,8BAAS,QAGpB;IAED,IAAY,MAGX;IAHD,WAAY,MAAM;QAChB,qCAA2B,CAAA;QAC3B,iCAAuB,CAAA;IACzB,CAAC,EAHW,MAAM,GAAN,2BAAM,KAAN,2BAAM,QAGjB;AACH,CAAC,EAVgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAUpC"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20210501
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* 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.
|
|
12
|
+
*/
|
|
13
|
+
import common = require("oci-common");
|
|
14
|
+
/**
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.12.0/osubsubscription/ListSubscriptions.ts.html |here} to see how to use ListSubscriptionsRequest.
|
|
16
|
+
*/
|
|
17
|
+
export interface ListSubscriptionsRequest extends common.BaseRequest {
|
|
18
|
+
/**
|
|
19
|
+
* The OCID of the compartment.
|
|
20
|
+
*/
|
|
21
|
+
"compartmentId": string;
|
|
22
|
+
/**
|
|
23
|
+
* The Plan Number
|
|
24
|
+
*/
|
|
25
|
+
"planNumber"?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Line level Subscription Id
|
|
28
|
+
*/
|
|
29
|
+
"subscriptionId"?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Buyer Email Id
|
|
32
|
+
*/
|
|
33
|
+
"buyerEmail"?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Boolean value to decide whether commitment services will be shown
|
|
36
|
+
*/
|
|
37
|
+
"isCommitInfoRequired"?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* The maximum number of items to return in a paginated \"List\" call. Default: (`50`)
|
|
40
|
+
* <p>
|
|
41
|
+
Example: `500`
|
|
42
|
+
*
|
|
43
|
+
*/
|
|
44
|
+
"limit"?: number;
|
|
45
|
+
/**
|
|
46
|
+
* The value of the `opc-next-page` response header from the previous \"List\" call.
|
|
47
|
+
*
|
|
48
|
+
*/
|
|
49
|
+
"page"?: string;
|
|
50
|
+
/**
|
|
51
|
+
* The sort order to use, either ascending (`ASC`) or descending (`DESC`).
|
|
52
|
+
*
|
|
53
|
+
*/
|
|
54
|
+
"sortOrder"?: ListSubscriptionsRequest.SortOrder;
|
|
55
|
+
/**
|
|
56
|
+
* The field to sort by. You can provide one sort order (`sortOrder`).
|
|
57
|
+
*
|
|
58
|
+
*/
|
|
59
|
+
"sortBy"?: ListSubscriptionsRequest.SortBy;
|
|
60
|
+
/**
|
|
61
|
+
* Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
|
62
|
+
*
|
|
63
|
+
*/
|
|
64
|
+
"opcRequestId"?: string;
|
|
65
|
+
/**
|
|
66
|
+
* This header is meant to be used only for internal purposes and will be ignored on any public request. The purpose of this header is
|
|
67
|
+
* to help on Gateway to API calls identification.
|
|
68
|
+
*
|
|
69
|
+
*/
|
|
70
|
+
"xOneGatewaySubscriptionId"?: string;
|
|
71
|
+
/**
|
|
72
|
+
* The OCI home region name in case home region is not us-ashburn-1 (IAD), e.g. ap-mumbai-1, us-phoenix-1 etc.
|
|
73
|
+
*
|
|
74
|
+
*/
|
|
75
|
+
"xOneOriginRegion"?: string;
|
|
76
|
+
}
|
|
77
|
+
export declare namespace ListSubscriptionsRequest {
|
|
78
|
+
enum SortOrder {
|
|
79
|
+
Asc = "ASC",
|
|
80
|
+
Desc = "DESC"
|
|
81
|
+
}
|
|
82
|
+
enum SortBy {
|
|
83
|
+
Timecreated = "TIMECREATED",
|
|
84
|
+
Timestart = "TIMESTART"
|
|
85
|
+
}
|
|
86
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20210501
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* 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.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.ListSubscriptionsRequest = void 0;
|
|
16
|
+
var ListSubscriptionsRequest;
|
|
17
|
+
(function (ListSubscriptionsRequest) {
|
|
18
|
+
let SortOrder;
|
|
19
|
+
(function (SortOrder) {
|
|
20
|
+
SortOrder["Asc"] = "ASC";
|
|
21
|
+
SortOrder["Desc"] = "DESC";
|
|
22
|
+
})(SortOrder = ListSubscriptionsRequest.SortOrder || (ListSubscriptionsRequest.SortOrder = {}));
|
|
23
|
+
let SortBy;
|
|
24
|
+
(function (SortBy) {
|
|
25
|
+
SortBy["Timecreated"] = "TIMECREATED";
|
|
26
|
+
SortBy["Timestart"] = "TIMESTART";
|
|
27
|
+
})(SortBy = ListSubscriptionsRequest.SortBy || (ListSubscriptionsRequest.SortBy = {}));
|
|
28
|
+
})(ListSubscriptionsRequest = exports.ListSubscriptionsRequest || (exports.ListSubscriptionsRequest = {}));
|
|
29
|
+
//# sourceMappingURL=list-subscriptions-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-subscriptions-request.js","sourceRoot":"","sources":["../../../../../lib/osubsubscription/lib/request/list-subscriptions-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAqEH,IAAiB,wBAAwB,CAUxC;AAVD,WAAiB,wBAAwB;IACvC,IAAY,SAGX;IAHD,WAAY,SAAS;QACnB,wBAAW,CAAA;QACX,0BAAa,CAAA;IACf,CAAC,EAHW,SAAS,GAAT,kCAAS,KAAT,kCAAS,QAGpB;IAED,IAAY,MAGX;IAHD,WAAY,MAAM;QAChB,qCAA2B,CAAA;QAC3B,iCAAuB,CAAA;IACzB,CAAC,EAHW,MAAM,GAAN,+BAAM,KAAN,+BAAM,QAGjB;AACH,CAAC,EAVgB,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAUxC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20210501
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* 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.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
export interface GetCommitmentResponse {
|
|
15
|
+
/**
|
|
16
|
+
* Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
|
|
17
|
+
* particular request, please provide the request ID.
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
"opcRequestId": string;
|
|
21
|
+
/**
|
|
22
|
+
* The returned model.CommitmentDetail instance.
|
|
23
|
+
*/
|
|
24
|
+
"commitmentDetail": model.CommitmentDetail;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20210501
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* 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.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
//# sourceMappingURL=get-commitment-response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-commitment-response.js","sourceRoot":"","sources":["../../../../../lib/osubsubscription/lib/response/get-commitment-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OneSubscription API Subscription, Commitment and and Rate Card Details
|
|
3
|
+
* Set of APIs that return the Subscription Details, Commitment and Effective Rate Card Details
|
|
4
|
+
|
|
5
|
+
* OpenAPI spec version: 20210501
|
|
6
|
+
* Contact: kuaskum_org_ww@oracle.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* 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.
|
|
13
|
+
*/
|
|
14
|
+
import * as GetCommitmentResponse from "./get-commitment-response";
|
|
15
|
+
export import GetCommitmentResponse = GetCommitmentResponse.GetCommitmentResponse;
|
|
16
|
+
import * as ListCommitmentsResponse from "./list-commitments-response";
|
|
17
|
+
export import ListCommitmentsResponse = ListCommitmentsResponse.ListCommitmentsResponse;
|
|
18
|
+
import * as ListRateCardsResponse from "./list-rate-cards-response";
|
|
19
|
+
export import ListRateCardsResponse = ListRateCardsResponse.ListRateCardsResponse;
|
|
20
|
+
import * as ListSubscriptionsResponse from "./list-subscriptions-response";
|
|
21
|
+
export import ListSubscriptionsResponse = ListSubscriptionsResponse.ListSubscriptionsResponse;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* OneSubscription API Subscription, Commitment and and Rate Card Details
|
|
4
|
+
* Set of APIs that return the Subscription Details, Commitment and Effective Rate Card Details
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20210501
|
|
7
|
+
* Contact: kuaskum_org_ww@oracle.com
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
13
|
+
* 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.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/osubsubscription/lib/response/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20210501
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* 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.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
export interface ListCommitmentsResponse {
|
|
15
|
+
/**
|
|
16
|
+
* For pagination of a list of items. When paging through a list, if this header appears in the response,
|
|
17
|
+
* then a partial list might have been returned. Include this value as the `page` parameter for the
|
|
18
|
+
* subsequent GET request to get the next batch of items.
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
"opcNextPage": string;
|
|
22
|
+
/**
|
|
23
|
+
* Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
|
|
24
|
+
* particular request, please provide the request ID.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
"opcRequestId": string;
|
|
28
|
+
/**
|
|
29
|
+
* A list of CommitmentSummary instances.
|
|
30
|
+
*/
|
|
31
|
+
"items": model.CommitmentSummary[];
|
|
32
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20210501
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* 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.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
//# sourceMappingURL=list-commitments-response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-commitments-response.js","sourceRoot":"","sources":["../../../../../lib/osubsubscription/lib/response/list-commitments-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20210501
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* 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.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
export interface ListRateCardsResponse {
|
|
15
|
+
/**
|
|
16
|
+
* For pagination of a list of items. When paging through a list, if this header appears in the response, then a partial list might have been returned. Include this value as the `page` parameter for the subsequent GET request to get the next batch of items.
|
|
17
|
+
*/
|
|
18
|
+
"opcNextPage": string;
|
|
19
|
+
/**
|
|
20
|
+
* Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
|
21
|
+
*/
|
|
22
|
+
"opcRequestId": string;
|
|
23
|
+
/**
|
|
24
|
+
* A list of RateCardSummary instances.
|
|
25
|
+
*/
|
|
26
|
+
"items": model.RateCardSummary[];
|
|
27
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20210501
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* 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.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
//# sourceMappingURL=list-rate-cards-response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-rate-cards-response.js","sourceRoot":"","sources":["../../../../../lib/osubsubscription/lib/response/list-rate-cards-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20210501
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* 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.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
export interface ListSubscriptionsResponse {
|
|
15
|
+
/**
|
|
16
|
+
* For pagination of a list of items. When paging through a list, if this header appears in the response,
|
|
17
|
+
* then a partial list might have been returned. Include this value as the `page` parameter for the
|
|
18
|
+
* subsequent GET request to get the next batch of items.
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
"opcNextPage": string;
|
|
22
|
+
/**
|
|
23
|
+
* Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
|
|
24
|
+
* particular request, please provide the request ID.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
"opcRequestId": string;
|
|
28
|
+
/**
|
|
29
|
+
* A list of SubscriptionSummary instances.
|
|
30
|
+
*/
|
|
31
|
+
"items": model.SubscriptionSummary[];
|
|
32
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20210501
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* 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.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
//# sourceMappingURL=list-subscriptions-response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-subscriptions-response.js","sourceRoot":"","sources":["../../../../../lib/osubsubscription/lib/response/list-subscriptions-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|