oci-onesubscription 2.31.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 +576 -0
- package/index.d.ts +28 -0
- package/index.js +51 -0
- package/index.js.map +1 -0
- package/lib/client.d.ts +808 -0
- package/lib/client.js +2027 -0
- package/lib/client.js.map +1 -0
- package/lib/model/aggregated-computed-usage-summary.d.ts +82 -0
- package/lib/model/aggregated-computed-usage-summary.js +81 -0
- package/lib/model/aggregated-computed-usage-summary.js.map +1 -0
- package/lib/model/billing-schedule-product.d.ts +32 -0
- package/lib/model/billing-schedule-product.js +30 -0
- package/lib/model/billing-schedule-product.js.map +1 -0
- package/lib/model/billing-schedule-summary.d.ts +94 -0
- package/lib/model/billing-schedule-summary.js +66 -0
- package/lib/model/billing-schedule-summary.js.map +1 -0
- package/lib/model/commitment-service.d.ts +53 -0
- package/lib/model/commitment-service.js +30 -0
- package/lib/model/commitment-service.js.map +1 -0
- package/lib/model/commitment-summary.d.ts +64 -0
- package/lib/model/commitment-summary.js +30 -0
- package/lib/model/commitment-summary.js.map +1 -0
- package/lib/model/commitment.d.ts +64 -0
- package/lib/model/commitment.js +30 -0
- package/lib/model/commitment.js.map +1 -0
- package/lib/model/computed-usage-aggregation.d.ts +82 -0
- package/lib/model/computed-usage-aggregation.js +79 -0
- package/lib/model/computed-usage-aggregation.js.map +1 -0
- package/lib/model/computed-usage-product.d.ts +58 -0
- package/lib/model/computed-usage-product.js +30 -0
- package/lib/model/computed-usage-product.js.map +1 -0
- package/lib/model/computed-usage-summary.d.ts +163 -0
- package/lib/model/computed-usage-summary.js +85 -0
- package/lib/model/computed-usage-summary.js.map +1 -0
- package/lib/model/computed-usage.d.ts +163 -0
- package/lib/model/computed-usage.js +85 -0
- package/lib/model/computed-usage.js.map +1 -0
- package/lib/model/index.d.ts +87 -0
- package/lib/model/index.js +110 -0
- package/lib/model/index.js.map +1 -0
- package/lib/model/invoice-line-summary.d.ts +50 -0
- package/lib/model/invoice-line-summary.js +56 -0
- package/lib/model/invoice-line-summary.js.map +1 -0
- package/lib/model/invoice-summary.d.ts +95 -0
- package/lib/model/invoice-summary.js +96 -0
- package/lib/model/invoice-summary.js.map +1 -0
- package/lib/model/invoiceline-computed-usage-summary.d.ts +74 -0
- package/lib/model/invoiceline-computed-usage-summary.js +81 -0
- package/lib/model/invoiceline-computed-usage-summary.js.map +1 -0
- package/lib/model/invoicing-address.d.ts +65 -0
- package/lib/model/invoicing-address.js +56 -0
- package/lib/model/invoicing-address.js.map +1 -0
- package/lib/model/invoicing-business-partner.d.ts +68 -0
- package/lib/model/invoicing-business-partner.js +30 -0
- package/lib/model/invoicing-business-partner.js.map +1 -0
- package/lib/model/invoicing-currency.d.ts +38 -0
- package/lib/model/invoicing-currency.js +30 -0
- package/lib/model/invoicing-currency.js.map +1 -0
- package/lib/model/invoicing-location.d.ts +58 -0
- package/lib/model/invoicing-location.js +30 -0
- package/lib/model/invoicing-location.js.map +1 -0
- package/lib/model/invoicing-organization.d.ts +33 -0
- package/lib/model/invoicing-organization.js +30 -0
- package/lib/model/invoicing-organization.js.map +1 -0
- package/lib/model/invoicing-payment-term.d.ts +63 -0
- package/lib/model/invoicing-payment-term.js +30 -0
- package/lib/model/invoicing-payment-term.js.map +1 -0
- package/lib/model/invoicing-product.d.ts +53 -0
- package/lib/model/invoicing-product.js +30 -0
- package/lib/model/invoicing-product.js.map +1 -0
- package/lib/model/invoicing-user.d.ts +63 -0
- package/lib/model/invoicing-user.js +30 -0
- package/lib/model/invoicing-user.js.map +1 -0
- package/lib/model/organization-subscription-summary.d.ts +60 -0
- package/lib/model/organization-subscription-summary.js +58 -0
- package/lib/model/organization-subscription-summary.js.map +1 -0
- package/lib/model/orgnization-subs-currency.d.ts +38 -0
- package/lib/model/orgnization-subs-currency.js +30 -0
- package/lib/model/orgnization-subs-currency.js.map +1 -0
- package/lib/model/rate-card-product.d.ts +53 -0
- package/lib/model/rate-card-product.js +30 -0
- package/lib/model/rate-card-product.js.map +1 -0
- package/lib/model/rate-card-summary.d.ts +66 -0
- package/lib/model/rate-card-summary.js +70 -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-address.d.ts +65 -0
- package/lib/model/subscribed-service-address.js +58 -0
- package/lib/model/subscribed-service-address.js.map +1 -0
- package/lib/model/subscribed-service-business-partner.d.ts +68 -0
- package/lib/model/subscribed-service-business-partner.js +30 -0
- package/lib/model/subscribed-service-business-partner.js.map +1 -0
- package/lib/model/subscribed-service-location.d.ts +58 -0
- package/lib/model/subscribed-service-location.js +30 -0
- package/lib/model/subscribed-service-location.js.map +1 -0
- package/lib/model/subscribed-service-payment-term.d.ts +63 -0
- package/lib/model/subscribed-service-payment-term.js +30 -0
- package/lib/model/subscribed-service-payment-term.js.map +1 -0
- package/lib/model/subscribed-service-summary.d.ts +507 -0
- package/lib/model/subscribed-service-summary.js +146 -0
- package/lib/model/subscribed-service-summary.js.map +1 -0
- package/lib/model/subscribed-service-user.d.ts +63 -0
- package/lib/model/subscribed-service-user.js +30 -0
- package/lib/model/subscribed-service-user.js.map +1 -0
- package/lib/model/subscribed-service.d.ts +517 -0
- package/lib/model/subscribed-service.js +166 -0
- package/lib/model/subscribed-service.js.map +1 -0
- package/lib/model/subscription-currency.d.ts +38 -0
- package/lib/model/subscription-currency.js +30 -0
- package/lib/model/subscription-currency.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-subscribed-service.d.ts +146 -0
- package/lib/model/subscription-subscribed-service.js +66 -0
- package/lib/model/subscription-subscribed-service.js.map +1 -0
- package/lib/model/subscription-summary.d.ts +60 -0
- package/lib/model/subscription-summary.js +66 -0
- package/lib/model/subscription-summary.js.map +1 -0
- package/lib/request/get-commitment-request.d.ts +27 -0
- package/lib/request/get-commitment-request.js +15 -0
- package/lib/request/get-commitment-request.js.map +1 -0
- package/lib/request/get-computed-usage-request.d.ts +39 -0
- package/lib/request/get-computed-usage-request.js +15 -0
- package/lib/request/get-computed-usage-request.js.map +1 -0
- package/lib/request/get-subscribed-service-request.d.ts +40 -0
- package/lib/request/get-subscribed-service-request.js +15 -0
- package/lib/request/get-subscribed-service-request.js.map +1 -0
- package/lib/request/index.d.ts +39 -0
- package/lib/request/index.js +56 -0
- package/lib/request/index.js.map +1 -0
- package/lib/request/list-aggregated-computed-usages-request.d.ts +72 -0
- package/lib/request/list-aggregated-computed-usages-request.js +26 -0
- package/lib/request/list-aggregated-computed-usages-request.js.map +1 -0
- package/lib/request/list-billing-schedules-request.d.ts +69 -0
- package/lib/request/list-billing-schedules-request.js +29 -0
- package/lib/request/list-billing-schedules-request.js.map +1 -0
- package/lib/request/list-commitments-request.d.ts +64 -0
- package/lib/request/list-commitments-request.js +29 -0
- package/lib/request/list-commitments-request.js.map +1 -0
- package/lib/request/list-computed-usages-request.d.ts +85 -0
- package/lib/request/list-computed-usages-request.js +30 -0
- package/lib/request/list-computed-usages-request.js.map +1 -0
- package/lib/request/list-invoiceline-computed-usages-request.d.ts +72 -0
- package/lib/request/list-invoiceline-computed-usages-request.js +29 -0
- package/lib/request/list-invoiceline-computed-usages-request.js.map +1 -0
- package/lib/request/list-invoices-request.d.ts +81 -0
- package/lib/request/list-invoices-request.js +29 -0
- package/lib/request/list-invoices-request.js.map +1 -0
- package/lib/request/list-organization-subscriptions-request.d.ts +59 -0
- package/lib/request/list-organization-subscriptions-request.js +29 -0
- package/lib/request/list-organization-subscriptions-request.js.map +1 -0
- package/lib/request/list-rate-cards-request.d.ts +75 -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-subscribed-services-request.d.ts +73 -0
- package/lib/request/list-subscribed-services-request.js +29 -0
- package/lib/request/list-subscribed-services-request.js.map +1 -0
- package/lib/request/list-subscriptions-request.d.ts +75 -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/get-computed-usage-response.d.ts +25 -0
- package/lib/response/get-computed-usage-response.js +15 -0
- package/lib/response/get-computed-usage-response.js.map +1 -0
- package/lib/response/get-subscribed-service-response.d.ts +25 -0
- package/lib/response/get-subscribed-service-response.js +15 -0
- package/lib/response/get-subscribed-service-response.js.map +1 -0
- package/lib/response/index.d.ts +39 -0
- package/lib/response/index.js +16 -0
- package/lib/response/index.js.map +1 -0
- package/lib/response/list-aggregated-computed-usages-response.d.ts +32 -0
- package/lib/response/list-aggregated-computed-usages-response.js +15 -0
- package/lib/response/list-aggregated-computed-usages-response.js.map +1 -0
- package/lib/response/list-billing-schedules-response.d.ts +32 -0
- package/lib/response/list-billing-schedules-response.js +15 -0
- package/lib/response/list-billing-schedules-response.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-computed-usages-response.d.ts +32 -0
- package/lib/response/list-computed-usages-response.js +15 -0
- package/lib/response/list-computed-usages-response.js.map +1 -0
- package/lib/response/list-invoiceline-computed-usages-response.d.ts +32 -0
- package/lib/response/list-invoiceline-computed-usages-response.js +15 -0
- package/lib/response/list-invoiceline-computed-usages-response.js.map +1 -0
- package/lib/response/list-invoices-response.d.ts +32 -0
- package/lib/response/list-invoices-response.js +15 -0
- package/lib/response/list-invoices-response.js.map +1 -0
- package/lib/response/list-organization-subscriptions-response.d.ts +32 -0
- package/lib/response/list-organization-subscriptions-response.js +15 -0
- package/lib/response/list-organization-subscriptions-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-subscribed-services-response.d.ts +32 -0
- package/lib/response/list-subscribed-services-response.js +15 -0
- package/lib/response/list-subscribed-services-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,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* OneSubscription APIs
|
|
4
|
+
* OneSubscription APIs
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20190111
|
|
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
|
+
exports.CommitmentSummary = void 0;
|
|
17
|
+
var CommitmentSummary;
|
|
18
|
+
(function (CommitmentSummary) {
|
|
19
|
+
function getJsonObj(obj) {
|
|
20
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
21
|
+
return jsonObj;
|
|
22
|
+
}
|
|
23
|
+
CommitmentSummary.getJsonObj = getJsonObj;
|
|
24
|
+
function getDeserializedJsonObj(obj) {
|
|
25
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
26
|
+
return jsonObj;
|
|
27
|
+
}
|
|
28
|
+
CommitmentSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
29
|
+
})(CommitmentSummary = exports.CommitmentSummary || (exports.CommitmentSummary = {}));
|
|
30
|
+
//# sourceMappingURL=commitment-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"commitment-summary.js","sourceRoot":"","sources":["../../../../../lib/onesubscription/lib/model/commitment-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;AAqDH,IAAiB,iBAAiB,CAWjC;AAXD,WAAiB,iBAAiB;IAChC,SAAgB,UAAU,CAAC,GAAsB;QAC/C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,4BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAsB;QAC3D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,wCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAWjC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OneSubscription APIs
|
|
3
|
+
* OneSubscription APIs
|
|
4
|
+
|
|
5
|
+
* OpenAPI spec version: 20190111
|
|
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
|
+
/**
|
|
15
|
+
* Subscribed Service commitment summary
|
|
16
|
+
*
|
|
17
|
+
*/
|
|
18
|
+
export interface Commitment {
|
|
19
|
+
/**
|
|
20
|
+
* SPM internal Commitment ID
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
"id": string;
|
|
24
|
+
/**
|
|
25
|
+
* SPM internal Subscribed Service ID
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
"subscribedServiceId"?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Commitment start date
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
"timeStart"?: Date;
|
|
34
|
+
/**
|
|
35
|
+
* Commitment end date
|
|
36
|
+
*
|
|
37
|
+
*/
|
|
38
|
+
"timeEnd"?: Date;
|
|
39
|
+
/**
|
|
40
|
+
* Commitment quantity
|
|
41
|
+
*
|
|
42
|
+
*/
|
|
43
|
+
"quantity"?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Commitment used amount
|
|
46
|
+
*
|
|
47
|
+
*/
|
|
48
|
+
"usedAmount"?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Commitment available amount
|
|
51
|
+
*
|
|
52
|
+
*/
|
|
53
|
+
"availableAmount"?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Funded Allocation line value
|
|
56
|
+
* example: 12000.00
|
|
57
|
+
*
|
|
58
|
+
*/
|
|
59
|
+
"fundedAllocationValue"?: string;
|
|
60
|
+
}
|
|
61
|
+
export declare namespace Commitment {
|
|
62
|
+
function getJsonObj(obj: Commitment): object;
|
|
63
|
+
function getDeserializedJsonObj(obj: Commitment): object;
|
|
64
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* OneSubscription APIs
|
|
4
|
+
* OneSubscription APIs
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20190111
|
|
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
|
+
exports.Commitment = void 0;
|
|
17
|
+
var Commitment;
|
|
18
|
+
(function (Commitment) {
|
|
19
|
+
function getJsonObj(obj) {
|
|
20
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
21
|
+
return jsonObj;
|
|
22
|
+
}
|
|
23
|
+
Commitment.getJsonObj = getJsonObj;
|
|
24
|
+
function getDeserializedJsonObj(obj) {
|
|
25
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
26
|
+
return jsonObj;
|
|
27
|
+
}
|
|
28
|
+
Commitment.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
29
|
+
})(Commitment = exports.Commitment || (exports.Commitment = {}));
|
|
30
|
+
//# sourceMappingURL=commitment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"commitment.js","sourceRoot":"","sources":["../../../../../lib/onesubscription/lib/model/commitment.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;AAqDH,IAAiB,UAAU,CAW1B;AAXD,WAAiB,UAAU;IACzB,SAAgB,UAAU,CAAC,GAAe;QACxC,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,qBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAe;QACpD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,iCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAW1B"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OneSubscription APIs
|
|
3
|
+
* OneSubscription APIs
|
|
4
|
+
|
|
5
|
+
* OpenAPI spec version: 20190111
|
|
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 model from "../model";
|
|
15
|
+
/**
|
|
16
|
+
* Computed Usage Aggregation object
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export interface ComputedUsageAggregation {
|
|
20
|
+
/**
|
|
21
|
+
* Total Quantity that was used for computation
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
"quantity"?: string;
|
|
25
|
+
"product"?: model.ComputedUsageProduct;
|
|
26
|
+
/**
|
|
27
|
+
* Data Center Attribute as sent by MQS to SPM.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
"dataCenter"?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Metered Service date , expressed in RFC 3339 timestamp format.
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
"timeMeteredOn"?: Date;
|
|
36
|
+
/**
|
|
37
|
+
* Net Unit Price for the product in consideration.
|
|
38
|
+
*
|
|
39
|
+
*/
|
|
40
|
+
"netUnitPrice"?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Sum of Computed Line Amount unrounded
|
|
43
|
+
*
|
|
44
|
+
*/
|
|
45
|
+
"costUnrounded"?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Sum of Computed Line Amount rounded
|
|
48
|
+
*
|
|
49
|
+
*/
|
|
50
|
+
"cost"?: string;
|
|
51
|
+
/**
|
|
52
|
+
* Usage compute type in SPM.
|
|
53
|
+
*
|
|
54
|
+
*/
|
|
55
|
+
"type"?: ComputedUsageAggregation.Type;
|
|
56
|
+
}
|
|
57
|
+
export declare namespace ComputedUsageAggregation {
|
|
58
|
+
enum Type {
|
|
59
|
+
Promotion = "PROMOTION",
|
|
60
|
+
DoNotBill = "DO_NOT_BILL",
|
|
61
|
+
Usage = "USAGE",
|
|
62
|
+
Commit = "COMMIT",
|
|
63
|
+
Overage = "OVERAGE",
|
|
64
|
+
PayAsYouGo = "PAY_AS_YOU_GO",
|
|
65
|
+
MonthlyMinimum = "MONTHLY_MINIMUM",
|
|
66
|
+
DelayedUsageInvoiceTiming = "DELAYED_USAGE_INVOICE_TIMING",
|
|
67
|
+
DelayedUsageCommitmentExp = "DELAYED_USAGE_COMMITMENT_EXP",
|
|
68
|
+
OnAccountCredit = "ON_ACCOUNT_CREDIT",
|
|
69
|
+
ServiceCredit = "SERVICE_CREDIT",
|
|
70
|
+
CommitmentExpiration = "COMMITMENT_EXPIRATION",
|
|
71
|
+
FundedAllocation = "FUNDED_ALLOCATION",
|
|
72
|
+
DonotBillUsagePostTermination = "DONOT_BILL_USAGE_POST_TERMINATION",
|
|
73
|
+
DelayedUsagePostTermination = "DELAYED_USAGE_POST_TERMINATION",
|
|
74
|
+
/**
|
|
75
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
76
|
+
* version of the SDK.
|
|
77
|
+
*/
|
|
78
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
79
|
+
}
|
|
80
|
+
function getJsonObj(obj: ComputedUsageAggregation): object;
|
|
81
|
+
function getDeserializedJsonObj(obj: ComputedUsageAggregation): object;
|
|
82
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* OneSubscription APIs
|
|
4
|
+
* OneSubscription APIs
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20190111
|
|
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.ComputedUsageAggregation = void 0;
|
|
36
|
+
const model = __importStar(require("../model"));
|
|
37
|
+
var ComputedUsageAggregation;
|
|
38
|
+
(function (ComputedUsageAggregation) {
|
|
39
|
+
let Type;
|
|
40
|
+
(function (Type) {
|
|
41
|
+
Type["Promotion"] = "PROMOTION";
|
|
42
|
+
Type["DoNotBill"] = "DO_NOT_BILL";
|
|
43
|
+
Type["Usage"] = "USAGE";
|
|
44
|
+
Type["Commit"] = "COMMIT";
|
|
45
|
+
Type["Overage"] = "OVERAGE";
|
|
46
|
+
Type["PayAsYouGo"] = "PAY_AS_YOU_GO";
|
|
47
|
+
Type["MonthlyMinimum"] = "MONTHLY_MINIMUM";
|
|
48
|
+
Type["DelayedUsageInvoiceTiming"] = "DELAYED_USAGE_INVOICE_TIMING";
|
|
49
|
+
Type["DelayedUsageCommitmentExp"] = "DELAYED_USAGE_COMMITMENT_EXP";
|
|
50
|
+
Type["OnAccountCredit"] = "ON_ACCOUNT_CREDIT";
|
|
51
|
+
Type["ServiceCredit"] = "SERVICE_CREDIT";
|
|
52
|
+
Type["CommitmentExpiration"] = "COMMITMENT_EXPIRATION";
|
|
53
|
+
Type["FundedAllocation"] = "FUNDED_ALLOCATION";
|
|
54
|
+
Type["DonotBillUsagePostTermination"] = "DONOT_BILL_USAGE_POST_TERMINATION";
|
|
55
|
+
Type["DelayedUsagePostTermination"] = "DELAYED_USAGE_POST_TERMINATION";
|
|
56
|
+
/**
|
|
57
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
58
|
+
* version of the SDK.
|
|
59
|
+
*/
|
|
60
|
+
Type["UnknownValue"] = "UNKNOWN_VALUE";
|
|
61
|
+
})(Type = ComputedUsageAggregation.Type || (ComputedUsageAggregation.Type = {}));
|
|
62
|
+
function getJsonObj(obj) {
|
|
63
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
64
|
+
"product": obj.product ? model.ComputedUsageProduct.getJsonObj(obj.product) : undefined
|
|
65
|
+
});
|
|
66
|
+
return jsonObj;
|
|
67
|
+
}
|
|
68
|
+
ComputedUsageAggregation.getJsonObj = getJsonObj;
|
|
69
|
+
function getDeserializedJsonObj(obj) {
|
|
70
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
71
|
+
"product": obj.product
|
|
72
|
+
? model.ComputedUsageProduct.getDeserializedJsonObj(obj.product)
|
|
73
|
+
: undefined
|
|
74
|
+
});
|
|
75
|
+
return jsonObj;
|
|
76
|
+
}
|
|
77
|
+
ComputedUsageAggregation.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
78
|
+
})(ComputedUsageAggregation = exports.ComputedUsageAggregation || (exports.ComputedUsageAggregation = {}));
|
|
79
|
+
//# sourceMappingURL=computed-usage-aggregation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"computed-usage-aggregation.js","sourceRoot":"","sources":["../../../../../lib/onesubscription/lib/model/computed-usage-aggregation.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA8ClC,IAAiB,wBAAwB,CA8CxC;AA9CD,WAAiB,wBAAwB;IACvC,IAAY,IAqBX;IArBD,WAAY,IAAI;QACd,+BAAuB,CAAA;QACvB,iCAAyB,CAAA;QACzB,uBAAe,CAAA;QACf,yBAAiB,CAAA;QACjB,2BAAmB,CAAA;QACnB,oCAA4B,CAAA;QAC5B,0CAAkC,CAAA;QAClC,kEAA0D,CAAA;QAC1D,kEAA0D,CAAA;QAC1D,6CAAqC,CAAA;QACrC,wCAAgC,CAAA;QAChC,sDAA8C,CAAA;QAC9C,8CAAsC,CAAA;QACtC,2EAAmE,CAAA;QACnE,sEAA8D,CAAA;QAC9D;;;WAGG;QACH,sCAA8B,CAAA;IAChC,CAAC,EArBW,IAAI,GAAJ,6BAAI,KAAJ,6BAAI,QAqBf;IAED,SAAgB,UAAU,CAAC,GAA6B;QACtD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,SAAS,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,UAAU,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;SACxF,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,mCAAU,aASzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA6B;QAClE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,SAAS,EAAE,GAAG,CAAC,OAAO;gBACpB,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,sBAAsB,CAAC,GAAG,CAAC,OAAO,CAAC;gBAChE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,+CAAsB,yBAWrC,CAAA;AACH,CAAC,EA9CgB,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QA8CxC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OneSubscription APIs
|
|
3
|
+
* OneSubscription APIs
|
|
4
|
+
|
|
5
|
+
* OpenAPI spec version: 20190111
|
|
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
|
+
/**
|
|
15
|
+
* Product description
|
|
16
|
+
*
|
|
17
|
+
*/
|
|
18
|
+
export interface ComputedUsageProduct {
|
|
19
|
+
/**
|
|
20
|
+
* Product part number
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
"partNumber": string;
|
|
24
|
+
/**
|
|
25
|
+
* Product name
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
"name": string;
|
|
29
|
+
/**
|
|
30
|
+
* Unit of Measure
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
"unitOfMeasure"?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Product provisioning group
|
|
36
|
+
*
|
|
37
|
+
*/
|
|
38
|
+
"provisioningGroup"?: string;
|
|
39
|
+
/**
|
|
40
|
+
* Metered service billing category
|
|
41
|
+
*
|
|
42
|
+
*/
|
|
43
|
+
"billingCategory"?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Product category
|
|
46
|
+
*
|
|
47
|
+
*/
|
|
48
|
+
"productCategory"?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Rate card part type of Product
|
|
51
|
+
*
|
|
52
|
+
*/
|
|
53
|
+
"ucmRateCardPartType"?: string;
|
|
54
|
+
}
|
|
55
|
+
export declare namespace ComputedUsageProduct {
|
|
56
|
+
function getJsonObj(obj: ComputedUsageProduct): object;
|
|
57
|
+
function getDeserializedJsonObj(obj: ComputedUsageProduct): object;
|
|
58
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* OneSubscription APIs
|
|
4
|
+
* OneSubscription APIs
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20190111
|
|
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
|
+
exports.ComputedUsageProduct = void 0;
|
|
17
|
+
var ComputedUsageProduct;
|
|
18
|
+
(function (ComputedUsageProduct) {
|
|
19
|
+
function getJsonObj(obj) {
|
|
20
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
21
|
+
return jsonObj;
|
|
22
|
+
}
|
|
23
|
+
ComputedUsageProduct.getJsonObj = getJsonObj;
|
|
24
|
+
function getDeserializedJsonObj(obj) {
|
|
25
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
26
|
+
return jsonObj;
|
|
27
|
+
}
|
|
28
|
+
ComputedUsageProduct.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
29
|
+
})(ComputedUsageProduct = exports.ComputedUsageProduct || (exports.ComputedUsageProduct = {}));
|
|
30
|
+
//# sourceMappingURL=computed-usage-product.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"computed-usage-product.js","sourceRoot":"","sources":["../../../../../lib/onesubscription/lib/model/computed-usage-product.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;AA+CH,IAAiB,oBAAoB,CAWpC;AAXD,WAAiB,oBAAoB;IACnC,SAAgB,UAAU,CAAC,GAAyB;QAClD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,+BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAyB;QAC9D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,2CAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAWpC"}
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OneSubscription APIs
|
|
3
|
+
* OneSubscription APIs
|
|
4
|
+
|
|
5
|
+
* OpenAPI spec version: 20190111
|
|
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 model from "../model";
|
|
15
|
+
/**
|
|
16
|
+
* Computed Usage Summary object
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export interface ComputedUsageSummary {
|
|
20
|
+
/**
|
|
21
|
+
* Computed Usage created time, expressed in RFC 3339 timestamp format.
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
"timeCreated"?: Date;
|
|
25
|
+
/**
|
|
26
|
+
* Computed Usage updated time, expressed in RFC 3339 timestamp format.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
"timeUpdated"?: Date;
|
|
30
|
+
/**
|
|
31
|
+
* Subscribed service line parent id
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
"parentSubscribedServiceId"?: string;
|
|
35
|
+
"parentProduct"?: model.ComputedUsageProduct;
|
|
36
|
+
/**
|
|
37
|
+
* Subscription plan number
|
|
38
|
+
*
|
|
39
|
+
*/
|
|
40
|
+
"planNumber"?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Currency code
|
|
43
|
+
*
|
|
44
|
+
*/
|
|
45
|
+
"currencyCode"?: string;
|
|
46
|
+
/**
|
|
47
|
+
* References the tier in the ratecard for that usage (OCI will be using the same reference to cross-reference for correctness on the usage csv report), comes from Entity OBSCNTR_IPT_PRODUCTTIER.
|
|
48
|
+
*
|
|
49
|
+
*/
|
|
50
|
+
"rateCardTierdId"?: string;
|
|
51
|
+
/**
|
|
52
|
+
* Ratecard Id at subscribed service level
|
|
53
|
+
*
|
|
54
|
+
*/
|
|
55
|
+
"rateCardId"?: string;
|
|
56
|
+
/**
|
|
57
|
+
* SPM Internal compute records source .
|
|
58
|
+
*
|
|
59
|
+
*/
|
|
60
|
+
"computeSource"?: string;
|
|
61
|
+
/**
|
|
62
|
+
* Data Center Attribute as sent by MQS to SPM.
|
|
63
|
+
*
|
|
64
|
+
*/
|
|
65
|
+
"dataCenter"?: string;
|
|
66
|
+
/**
|
|
67
|
+
* MQS Identfier send to SPM , SPM does not transform this attribute and is received as is.
|
|
68
|
+
*
|
|
69
|
+
*/
|
|
70
|
+
"mqsMessageId"?: string;
|
|
71
|
+
/**
|
|
72
|
+
* SPM Internal computed usage Id , 32 character string
|
|
73
|
+
*
|
|
74
|
+
*/
|
|
75
|
+
"computedUsageId": string;
|
|
76
|
+
/**
|
|
77
|
+
* Total Quantity that was used for computation
|
|
78
|
+
*
|
|
79
|
+
*/
|
|
80
|
+
"quantity"?: string;
|
|
81
|
+
/**
|
|
82
|
+
* SPM Internal usage Line number identifier in SPM coming from Metered Services entity.
|
|
83
|
+
*
|
|
84
|
+
*/
|
|
85
|
+
"usageNumber"?: string;
|
|
86
|
+
/**
|
|
87
|
+
* SPM Internal Original usage Line number identifier in SPM coming from Metered Services entity.
|
|
88
|
+
*
|
|
89
|
+
*/
|
|
90
|
+
"originalUsageNumber"?: string;
|
|
91
|
+
/**
|
|
92
|
+
* Subscribed service commitmentId.
|
|
93
|
+
*
|
|
94
|
+
*/
|
|
95
|
+
"commitmentServiceId"?: string;
|
|
96
|
+
/**
|
|
97
|
+
* Invoicing status for the aggregated compute usage
|
|
98
|
+
*
|
|
99
|
+
*/
|
|
100
|
+
"isInvoiced"?: boolean;
|
|
101
|
+
/**
|
|
102
|
+
* Usage compute type in SPM.
|
|
103
|
+
*
|
|
104
|
+
*/
|
|
105
|
+
"type"?: ComputedUsageSummary.Type;
|
|
106
|
+
/**
|
|
107
|
+
* Usae computation date, expressed in RFC 3339 timestamp format.
|
|
108
|
+
*
|
|
109
|
+
*/
|
|
110
|
+
"timeOfArrival"?: Date;
|
|
111
|
+
/**
|
|
112
|
+
* Metered Service date, expressed in RFC 3339 timestamp format.
|
|
113
|
+
*
|
|
114
|
+
*/
|
|
115
|
+
"timeMeteredOn"?: Date;
|
|
116
|
+
/**
|
|
117
|
+
* Net Unit Price for the product in consideration, price actual.
|
|
118
|
+
*
|
|
119
|
+
*/
|
|
120
|
+
"netUnitPrice"?: string;
|
|
121
|
+
/**
|
|
122
|
+
* Computed Line Amount rounded.
|
|
123
|
+
*
|
|
124
|
+
*/
|
|
125
|
+
"costRounded"?: string;
|
|
126
|
+
/**
|
|
127
|
+
* Computed Line Amount not rounded
|
|
128
|
+
*
|
|
129
|
+
*/
|
|
130
|
+
"cost"?: string;
|
|
131
|
+
"product"?: model.ComputedUsageProduct;
|
|
132
|
+
/**
|
|
133
|
+
* Unit of Messure
|
|
134
|
+
*
|
|
135
|
+
*/
|
|
136
|
+
"unitOfMeasure"?: string;
|
|
137
|
+
}
|
|
138
|
+
export declare namespace ComputedUsageSummary {
|
|
139
|
+
enum Type {
|
|
140
|
+
Promotion = "PROMOTION",
|
|
141
|
+
DoNotBill = "DO_NOT_BILL",
|
|
142
|
+
Usage = "USAGE",
|
|
143
|
+
Commit = "COMMIT",
|
|
144
|
+
Overage = "OVERAGE",
|
|
145
|
+
PayAsYouGo = "PAY_AS_YOU_GO",
|
|
146
|
+
MonthlyMinimum = "MONTHLY_MINIMUM",
|
|
147
|
+
DelayedUsageInvoiceTiming = "DELAYED_USAGE_INVOICE_TIMING",
|
|
148
|
+
DelayedUsageCommitmentExp = "DELAYED_USAGE_COMMITMENT_EXP",
|
|
149
|
+
OnAccountCredit = "ON_ACCOUNT_CREDIT",
|
|
150
|
+
ServiceCredit = "SERVICE_CREDIT",
|
|
151
|
+
CommitmentExpiration = "COMMITMENT_EXPIRATION",
|
|
152
|
+
FundedAllocation = "FUNDED_ALLOCATION",
|
|
153
|
+
DonotBillUsagePostTermination = "DONOT_BILL_USAGE_POST_TERMINATION",
|
|
154
|
+
DelayedUsagePostTermination = "DELAYED_USAGE_POST_TERMINATION",
|
|
155
|
+
/**
|
|
156
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
157
|
+
* version of the SDK.
|
|
158
|
+
*/
|
|
159
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
160
|
+
}
|
|
161
|
+
function getJsonObj(obj: ComputedUsageSummary): object;
|
|
162
|
+
function getDeserializedJsonObj(obj: ComputedUsageSummary): object;
|
|
163
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* OneSubscription APIs
|
|
4
|
+
* OneSubscription APIs
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20190111
|
|
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.ComputedUsageSummary = void 0;
|
|
36
|
+
const model = __importStar(require("../model"));
|
|
37
|
+
var ComputedUsageSummary;
|
|
38
|
+
(function (ComputedUsageSummary) {
|
|
39
|
+
let Type;
|
|
40
|
+
(function (Type) {
|
|
41
|
+
Type["Promotion"] = "PROMOTION";
|
|
42
|
+
Type["DoNotBill"] = "DO_NOT_BILL";
|
|
43
|
+
Type["Usage"] = "USAGE";
|
|
44
|
+
Type["Commit"] = "COMMIT";
|
|
45
|
+
Type["Overage"] = "OVERAGE";
|
|
46
|
+
Type["PayAsYouGo"] = "PAY_AS_YOU_GO";
|
|
47
|
+
Type["MonthlyMinimum"] = "MONTHLY_MINIMUM";
|
|
48
|
+
Type["DelayedUsageInvoiceTiming"] = "DELAYED_USAGE_INVOICE_TIMING";
|
|
49
|
+
Type["DelayedUsageCommitmentExp"] = "DELAYED_USAGE_COMMITMENT_EXP";
|
|
50
|
+
Type["OnAccountCredit"] = "ON_ACCOUNT_CREDIT";
|
|
51
|
+
Type["ServiceCredit"] = "SERVICE_CREDIT";
|
|
52
|
+
Type["CommitmentExpiration"] = "COMMITMENT_EXPIRATION";
|
|
53
|
+
Type["FundedAllocation"] = "FUNDED_ALLOCATION";
|
|
54
|
+
Type["DonotBillUsagePostTermination"] = "DONOT_BILL_USAGE_POST_TERMINATION";
|
|
55
|
+
Type["DelayedUsagePostTermination"] = "DELAYED_USAGE_POST_TERMINATION";
|
|
56
|
+
/**
|
|
57
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
58
|
+
* version of the SDK.
|
|
59
|
+
*/
|
|
60
|
+
Type["UnknownValue"] = "UNKNOWN_VALUE";
|
|
61
|
+
})(Type = ComputedUsageSummary.Type || (ComputedUsageSummary.Type = {}));
|
|
62
|
+
function getJsonObj(obj) {
|
|
63
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
64
|
+
"parentProduct": obj.parentProduct
|
|
65
|
+
? model.ComputedUsageProduct.getJsonObj(obj.parentProduct)
|
|
66
|
+
: undefined,
|
|
67
|
+
"product": obj.product ? model.ComputedUsageProduct.getJsonObj(obj.product) : undefined
|
|
68
|
+
});
|
|
69
|
+
return jsonObj;
|
|
70
|
+
}
|
|
71
|
+
ComputedUsageSummary.getJsonObj = getJsonObj;
|
|
72
|
+
function getDeserializedJsonObj(obj) {
|
|
73
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
74
|
+
"parentProduct": obj.parentProduct
|
|
75
|
+
? model.ComputedUsageProduct.getDeserializedJsonObj(obj.parentProduct)
|
|
76
|
+
: undefined,
|
|
77
|
+
"product": obj.product
|
|
78
|
+
? model.ComputedUsageProduct.getDeserializedJsonObj(obj.product)
|
|
79
|
+
: undefined
|
|
80
|
+
});
|
|
81
|
+
return jsonObj;
|
|
82
|
+
}
|
|
83
|
+
ComputedUsageSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
84
|
+
})(ComputedUsageSummary = exports.ComputedUsageSummary || (exports.ComputedUsageSummary = {}));
|
|
85
|
+
//# sourceMappingURL=computed-usage-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"computed-usage-summary.js","sourceRoot":"","sources":["../../../../../lib/onesubscription/lib/model/computed-usage-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA+HlC,IAAiB,oBAAoB,CAsDpC;AAtDD,WAAiB,oBAAoB;IACnC,IAAY,IAqBX;IArBD,WAAY,IAAI;QACd,+BAAuB,CAAA;QACvB,iCAAyB,CAAA;QACzB,uBAAe,CAAA;QACf,yBAAiB,CAAA;QACjB,2BAAmB,CAAA;QACnB,oCAA4B,CAAA;QAC5B,0CAAkC,CAAA;QAClC,kEAA0D,CAAA;QAC1D,kEAA0D,CAAA;QAC1D,6CAAqC,CAAA;QACrC,wCAAgC,CAAA;QAChC,sDAA8C,CAAA;QAC9C,8CAAsC,CAAA;QACtC,2EAAmE,CAAA;QACnE,sEAA8D,CAAA;QAC9D;;;WAGG;QACH,sCAA8B,CAAA;IAChC,CAAC,EArBW,IAAI,GAAJ,yBAAI,KAAJ,yBAAI,QAqBf;IAED,SAAgB,UAAU,CAAC,GAAyB;QAClD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,UAAU,CAAC,GAAG,CAAC,aAAa,CAAC;gBAC1D,CAAC,CAAC,SAAS;YAEb,SAAS,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,UAAU,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;SACxF,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,+BAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAyB;QAC9D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,sBAAsB,CAAC,GAAG,CAAC,aAAa,CAAC;gBACtE,CAAC,CAAC,SAAS;YAEb,SAAS,EAAE,GAAG,CAAC,OAAO;gBACpB,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,sBAAsB,CAAC,GAAG,CAAC,OAAO,CAAC;gBAChE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,2CAAsB,yBAerC,CAAA;AACH,CAAC,EAtDgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAsDpC"}
|