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.
Files changed (74) hide show
  1. package/LICENSE.txt +89 -0
  2. package/NOTICE.txt +1 -0
  3. package/README.md +22 -0
  4. package/THIRD_PARTY_LICENSES.txt +1521 -0
  5. package/index.d.ts +23 -0
  6. package/index.js +46 -0
  7. package/index.js.map +1 -0
  8. package/lib/client.d.ts +274 -0
  9. package/lib/client.js +681 -0
  10. package/lib/client.js.map +1 -0
  11. package/lib/model/commitment-detail.d.ts +59 -0
  12. package/lib/model/commitment-detail.js +30 -0
  13. package/lib/model/commitment-detail.js.map +1 -0
  14. package/lib/model/commitment-summary.d.ts +59 -0
  15. package/lib/model/commitment-summary.js +30 -0
  16. package/lib/model/commitment-summary.js.map +1 -0
  17. package/lib/model/commitment.d.ts +53 -0
  18. package/lib/model/commitment.js +30 -0
  19. package/lib/model/commitment.js.map +1 -0
  20. package/lib/model/currency.d.ts +38 -0
  21. package/lib/model/currency.js +30 -0
  22. package/lib/model/currency.js.map +1 -0
  23. package/lib/model/index.d.ts +33 -0
  24. package/lib/model/index.js +56 -0
  25. package/lib/model/index.js.map +1 -0
  26. package/lib/model/product.d.ts +53 -0
  27. package/lib/model/product.js +30 -0
  28. package/lib/model/product.js.map +1 -0
  29. package/lib/model/rate-card-summary.d.ts +61 -0
  30. package/lib/model/rate-card-summary.js +66 -0
  31. package/lib/model/rate-card-summary.js.map +1 -0
  32. package/lib/model/rate-card-tier.d.ts +38 -0
  33. package/lib/model/rate-card-tier.js +30 -0
  34. package/lib/model/rate-card-tier.js.map +1 -0
  35. package/lib/model/subscribed-service-summary.d.ts +131 -0
  36. package/lib/model/subscribed-service-summary.js +66 -0
  37. package/lib/model/subscribed-service-summary.js.map +1 -0
  38. package/lib/model/subscription-product.d.ts +43 -0
  39. package/lib/model/subscription-product.js +30 -0
  40. package/lib/model/subscription-product.js.map +1 -0
  41. package/lib/model/subscription-summary.d.ts +50 -0
  42. package/lib/model/subscription-summary.js +64 -0
  43. package/lib/model/subscription-summary.js.map +1 -0
  44. package/lib/request/get-commitment-request.d.ts +38 -0
  45. package/lib/request/get-commitment-request.js +15 -0
  46. package/lib/request/get-commitment-request.js.map +1 -0
  47. package/lib/request/index.d.ts +21 -0
  48. package/lib/request/index.js +42 -0
  49. package/lib/request/index.js.map +1 -0
  50. package/lib/request/list-commitments-request.d.ts +75 -0
  51. package/lib/request/list-commitments-request.js +29 -0
  52. package/lib/request/list-commitments-request.js.map +1 -0
  53. package/lib/request/list-rate-cards-request.d.ts +80 -0
  54. package/lib/request/list-rate-cards-request.js +29 -0
  55. package/lib/request/list-rate-cards-request.js.map +1 -0
  56. package/lib/request/list-subscriptions-request.d.ts +86 -0
  57. package/lib/request/list-subscriptions-request.js +29 -0
  58. package/lib/request/list-subscriptions-request.js.map +1 -0
  59. package/lib/response/get-commitment-response.d.ts +25 -0
  60. package/lib/response/get-commitment-response.js +15 -0
  61. package/lib/response/get-commitment-response.js.map +1 -0
  62. package/lib/response/index.d.ts +21 -0
  63. package/lib/response/index.js +16 -0
  64. package/lib/response/index.js.map +1 -0
  65. package/lib/response/list-commitments-response.d.ts +32 -0
  66. package/lib/response/list-commitments-response.js +15 -0
  67. package/lib/response/list-commitments-response.js.map +1 -0
  68. package/lib/response/list-rate-cards-response.d.ts +27 -0
  69. package/lib/response/list-rate-cards-response.js +15 -0
  70. package/lib/response/list-rate-cards-response.js.map +1 -0
  71. package/lib/response/list-subscriptions-response.d.ts +32 -0
  72. package/lib/response/list-subscriptions-response.js +15 -0
  73. package/lib/response/list-subscriptions-response.js.map +1 -0
  74. package/package.json +29 -0
@@ -0,0 +1,66 @@
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.RateCardSummary = void 0;
36
+ const model = __importStar(require("../model"));
37
+ var RateCardSummary;
38
+ (function (RateCardSummary) {
39
+ function getJsonObj(obj) {
40
+ const jsonObj = Object.assign(Object.assign({}, obj), {
41
+ "product": obj.product ? model.Product.getJsonObj(obj.product) : undefined,
42
+ "currency": obj.currency ? model.Currency.getJsonObj(obj.currency) : undefined,
43
+ "rateCardTiers": obj.rateCardTiers
44
+ ? obj.rateCardTiers.map(item => {
45
+ return model.RateCardTier.getJsonObj(item);
46
+ })
47
+ : undefined
48
+ });
49
+ return jsonObj;
50
+ }
51
+ RateCardSummary.getJsonObj = getJsonObj;
52
+ function getDeserializedJsonObj(obj) {
53
+ const jsonObj = Object.assign(Object.assign({}, obj), {
54
+ "product": obj.product ? model.Product.getDeserializedJsonObj(obj.product) : undefined,
55
+ "currency": obj.currency ? model.Currency.getDeserializedJsonObj(obj.currency) : undefined,
56
+ "rateCardTiers": obj.rateCardTiers
57
+ ? obj.rateCardTiers.map(item => {
58
+ return model.RateCardTier.getDeserializedJsonObj(item);
59
+ })
60
+ : undefined
61
+ });
62
+ return jsonObj;
63
+ }
64
+ RateCardSummary.getDeserializedJsonObj = getDeserializedJsonObj;
65
+ })(RateCardSummary = exports.RateCardSummary || (exports.RateCardSummary = {}));
66
+ //# sourceMappingURL=rate-card-summary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rate-card-summary.js","sourceRoot":"","sources":["../../../../../lib/osubsubscription/lib/model/rate-card-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA+ClC,IAAiB,eAAe,CAmC/B;AAnCD,WAAiB,eAAe;IAC9B,SAAgB,UAAU,CAAC,GAAoB;QAC7C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,SAAS,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;YAE1E,UAAU,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS;YAC9E,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,GAAG,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC3B,OAAO,KAAK,CAAC,YAAY,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC7C,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAhBe,0BAAU,aAgBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAoB;QACzD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,SAAS,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,sBAAsB,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;YAEtF,UAAU,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,sBAAsB,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS;YAC1F,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,GAAG,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC3B,OAAO,KAAK,CAAC,YAAY,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACzD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAhBe,sCAAsB,yBAgBrC,CAAA;AACH,CAAC,EAnCgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAmC/B"}
@@ -0,0 +1,38 @@
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
+ /**
15
+ * Rate Card Tier details
16
+ *
17
+ */
18
+ export interface RateCardTier {
19
+ /**
20
+ * Rate card tier quantity range
21
+ *
22
+ */
23
+ "upToQuantity"?: string;
24
+ /**
25
+ * Rate card tier net unit price
26
+ *
27
+ */
28
+ "netUnitPrice"?: string;
29
+ /**
30
+ * Rate card tier overage price
31
+ *
32
+ */
33
+ "overagePrice"?: string;
34
+ }
35
+ export declare namespace RateCardTier {
36
+ function getJsonObj(obj: RateCardTier): object;
37
+ function getDeserializedJsonObj(obj: RateCardTier): object;
38
+ }
@@ -0,0 +1,30 @@
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
+ exports.RateCardTier = void 0;
17
+ var RateCardTier;
18
+ (function (RateCardTier) {
19
+ function getJsonObj(obj) {
20
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
21
+ return jsonObj;
22
+ }
23
+ RateCardTier.getJsonObj = getJsonObj;
24
+ function getDeserializedJsonObj(obj) {
25
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
26
+ return jsonObj;
27
+ }
28
+ RateCardTier.getDeserializedJsonObj = getDeserializedJsonObj;
29
+ })(RateCardTier = exports.RateCardTier || (exports.RateCardTier = {}));
30
+ //# sourceMappingURL=rate-card-tier.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rate-card-tier.js","sourceRoot":"","sources":["../../../../../lib/osubsubscription/lib/model/rate-card-tier.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;AA2BH,IAAiB,YAAY,CAW5B;AAXD,WAAiB,YAAY;IAC3B,SAAgB,UAAU,CAAC,GAAiB;QAC1C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,uBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAiB;QACtD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,mCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAW5B"}
@@ -0,0 +1,131 @@
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 model from "../model";
15
+ /**
16
+ * Subscribed Service summary
17
+ *
18
+ */
19
+ export interface SubscribedServiceSummary {
20
+ /**
21
+ * SPM internal Subscribed Service ID
22
+ *
23
+ */
24
+ "id": string;
25
+ "product"?: model.SubscriptionProduct;
26
+ /**
27
+ * Subscribed service quantity
28
+ *
29
+ */
30
+ "quantity"?: string;
31
+ /**
32
+ * Subscribed service status
33
+ *
34
+ */
35
+ "status"?: string;
36
+ /**
37
+ * Subscribed service operation type
38
+ *
39
+ */
40
+ "operationType"?: string;
41
+ /**
42
+ * Subscribed service net unit price
43
+ *
44
+ */
45
+ "netUnitPrice"?: string;
46
+ /**
47
+ * Funded Allocation line value
48
+ * example: 12000.00
49
+ *
50
+ */
51
+ "fundedAllocationValue"?: string;
52
+ /**
53
+ * This field contains the name of the partner to which the subscription belongs - depending on which the invoicing may differ
54
+ *
55
+ */
56
+ "partnerTransactionType"?: string;
57
+ /**
58
+ * Term value in Months
59
+ * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
60
+ */
61
+ "termValue"?: number;
62
+ /**
63
+ * Term value UOM
64
+ *
65
+ */
66
+ "termValueUOM"?: string;
67
+ /**
68
+ * Booking Opportunity Number of Subscribed Service
69
+ *
70
+ */
71
+ "bookingOptyNumber"?: string;
72
+ /**
73
+ * Subscribed service total value
74
+ *
75
+ */
76
+ "totalValue"?: string;
77
+ /**
78
+ * Sales Order Number associated to the subscribed service
79
+ * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
80
+ */
81
+ "orderNumber"?: number;
82
+ /**
83
+ * Subscribed service data center region
84
+ *
85
+ */
86
+ "dataCenterRegion"?: string;
87
+ /**
88
+ * Subscribed service pricing model
89
+ *
90
+ */
91
+ "pricingModel"?: string;
92
+ /**
93
+ * Subscribed service program type
94
+ *
95
+ */
96
+ "programType"?: string;
97
+ /**
98
+ * Subscribed service promotion type
99
+ *
100
+ */
101
+ "promoType"?: string;
102
+ /**
103
+ * Subscribed service CSI number
104
+ * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
105
+ */
106
+ "csi"?: number;
107
+ /**
108
+ * Subscribed service intent to pay flag
109
+ *
110
+ */
111
+ "isIntentToPay"?: boolean;
112
+ /**
113
+ * Subscribed service start date
114
+ *
115
+ */
116
+ "timeStart"?: Date;
117
+ /**
118
+ * Subscribed service end date
119
+ *
120
+ */
121
+ "timeEnd"?: Date;
122
+ /**
123
+ * List of Commitment services of a line
124
+ *
125
+ */
126
+ "commitmentServices"?: Array<model.Commitment>;
127
+ }
128
+ export declare namespace SubscribedServiceSummary {
129
+ function getJsonObj(obj: SubscribedServiceSummary): object;
130
+ function getDeserializedJsonObj(obj: SubscribedServiceSummary): object;
131
+ }
@@ -0,0 +1,66 @@
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.SubscribedServiceSummary = void 0;
36
+ const model = __importStar(require("../model"));
37
+ var SubscribedServiceSummary;
38
+ (function (SubscribedServiceSummary) {
39
+ function getJsonObj(obj) {
40
+ const jsonObj = Object.assign(Object.assign({}, obj), {
41
+ "product": obj.product ? model.SubscriptionProduct.getJsonObj(obj.product) : undefined,
42
+ "commitmentServices": obj.commitmentServices
43
+ ? obj.commitmentServices.map(item => {
44
+ return model.Commitment.getJsonObj(item);
45
+ })
46
+ : undefined
47
+ });
48
+ return jsonObj;
49
+ }
50
+ SubscribedServiceSummary.getJsonObj = getJsonObj;
51
+ function getDeserializedJsonObj(obj) {
52
+ const jsonObj = Object.assign(Object.assign({}, obj), {
53
+ "product": obj.product
54
+ ? model.SubscriptionProduct.getDeserializedJsonObj(obj.product)
55
+ : undefined,
56
+ "commitmentServices": obj.commitmentServices
57
+ ? obj.commitmentServices.map(item => {
58
+ return model.Commitment.getDeserializedJsonObj(item);
59
+ })
60
+ : undefined
61
+ });
62
+ return jsonObj;
63
+ }
64
+ SubscribedServiceSummary.getDeserializedJsonObj = getDeserializedJsonObj;
65
+ })(SubscribedServiceSummary = exports.SubscribedServiceSummary || (exports.SubscribedServiceSummary = {}));
66
+ //# sourceMappingURL=subscribed-service-summary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"subscribed-service-summary.js","sourceRoot":"","sources":["../../../../../lib/osubsubscription/lib/model/subscribed-service-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAqHlC,IAAiB,wBAAwB,CAmCxC;AAnCD,WAAiB,wBAAwB;IACvC,SAAgB,UAAU,CAAC,GAA6B;QACtD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,SAAS,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,UAAU,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;YAEtF,oBAAoB,EAAE,GAAG,CAAC,kBAAkB;gBAC1C,CAAC,CAAC,GAAG,CAAC,kBAAkB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAChC,OAAO,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC3C,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,mCAAU,aAezB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA6B;QAClE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,SAAS,EAAE,GAAG,CAAC,OAAO;gBACpB,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,GAAG,CAAC,OAAO,CAAC;gBAC/D,CAAC,CAAC,SAAS;YAEb,oBAAoB,EAAE,GAAG,CAAC,kBAAkB;gBAC1C,CAAC,CAAC,GAAG,CAAC,kBAAkB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAChC,OAAO,KAAK,CAAC,UAAU,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACvD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAjBe,+CAAsB,yBAiBrC,CAAA;AACH,CAAC,EAnCgB,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAmCxC"}
@@ -0,0 +1,43 @@
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
+ /**
15
+ * Product description
16
+ *
17
+ */
18
+ export interface SubscriptionProduct {
19
+ /**
20
+ * Product part numner
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
+ export declare namespace SubscriptionProduct {
41
+ function getJsonObj(obj: SubscriptionProduct): object;
42
+ function getDeserializedJsonObj(obj: SubscriptionProduct): object;
43
+ }
@@ -0,0 +1,30 @@
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
+ exports.SubscriptionProduct = void 0;
17
+ var SubscriptionProduct;
18
+ (function (SubscriptionProduct) {
19
+ function getJsonObj(obj) {
20
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
21
+ return jsonObj;
22
+ }
23
+ SubscriptionProduct.getJsonObj = getJsonObj;
24
+ function getDeserializedJsonObj(obj) {
25
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
26
+ return jsonObj;
27
+ }
28
+ SubscriptionProduct.getDeserializedJsonObj = getDeserializedJsonObj;
29
+ })(SubscriptionProduct = exports.SubscriptionProduct || (exports.SubscriptionProduct = {}));
30
+ //# sourceMappingURL=subscription-product.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"subscription-product.js","sourceRoot":"","sources":["../../../../../lib/osubsubscription/lib/model/subscription-product.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;AAgCH,IAAiB,mBAAmB,CAWnC;AAXD,WAAiB,mBAAmB;IAClC,SAAgB,UAAU,CAAC,GAAwB;QACjD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,8BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAwB;QAC7D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,0CAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAWnC"}
@@ -0,0 +1,50 @@
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 model from "../model";
15
+ /**
16
+ * Subscription summary
17
+ *
18
+ */
19
+ export interface SubscriptionSummary {
20
+ /**
21
+ * Status of the plan
22
+ *
23
+ */
24
+ "status"?: string;
25
+ /**
26
+ * Represents the date when the first service of the subscription was activated
27
+ *
28
+ */
29
+ "timeStart"?: Date;
30
+ /**
31
+ * Represents the date when the last service of the subscription ends
32
+ *
33
+ */
34
+ "timeEnd"?: Date;
35
+ "currency"?: model.Currency;
36
+ /**
37
+ * Customer friendly service name provided by PRG
38
+ *
39
+ */
40
+ "serviceName"?: string;
41
+ /**
42
+ * List of Subscribed Services of the plan
43
+ *
44
+ */
45
+ "subscribedServices"?: Array<model.SubscribedServiceSummary>;
46
+ }
47
+ export declare namespace SubscriptionSummary {
48
+ function getJsonObj(obj: SubscriptionSummary): object;
49
+ function getDeserializedJsonObj(obj: SubscriptionSummary): object;
50
+ }
@@ -0,0 +1,64 @@
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.SubscriptionSummary = void 0;
36
+ const model = __importStar(require("../model"));
37
+ var SubscriptionSummary;
38
+ (function (SubscriptionSummary) {
39
+ function getJsonObj(obj) {
40
+ const jsonObj = Object.assign(Object.assign({}, obj), {
41
+ "currency": obj.currency ? model.Currency.getJsonObj(obj.currency) : undefined,
42
+ "subscribedServices": obj.subscribedServices
43
+ ? obj.subscribedServices.map(item => {
44
+ return model.SubscribedServiceSummary.getJsonObj(item);
45
+ })
46
+ : undefined
47
+ });
48
+ return jsonObj;
49
+ }
50
+ SubscriptionSummary.getJsonObj = getJsonObj;
51
+ function getDeserializedJsonObj(obj) {
52
+ const jsonObj = Object.assign(Object.assign({}, obj), {
53
+ "currency": obj.currency ? model.Currency.getDeserializedJsonObj(obj.currency) : undefined,
54
+ "subscribedServices": obj.subscribedServices
55
+ ? obj.subscribedServices.map(item => {
56
+ return model.SubscribedServiceSummary.getDeserializedJsonObj(item);
57
+ })
58
+ : undefined
59
+ });
60
+ return jsonObj;
61
+ }
62
+ SubscriptionSummary.getDeserializedJsonObj = getDeserializedJsonObj;
63
+ })(SubscriptionSummary = exports.SubscriptionSummary || (exports.SubscriptionSummary = {}));
64
+ //# sourceMappingURL=subscription-summary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"subscription-summary.js","sourceRoot":"","sources":["../../../../../lib/osubsubscription/lib/model/subscription-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAoClC,IAAiB,mBAAmB,CAiCnC;AAjCD,WAAiB,mBAAmB;IAClC,SAAgB,UAAU,CAAC,GAAwB;QACjD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,UAAU,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS;YAE9E,oBAAoB,EAAE,GAAG,CAAC,kBAAkB;gBAC1C,CAAC,CAAC,GAAG,CAAC,kBAAkB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAChC,OAAO,KAAK,CAAC,wBAAwB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACzD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,8BAAU,aAezB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAwB;QAC7D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,UAAU,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,sBAAsB,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS;YAE1F,oBAAoB,EAAE,GAAG,CAAC,kBAAkB;gBAC1C,CAAC,CAAC,GAAG,CAAC,kBAAkB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAChC,OAAO,KAAK,CAAC,wBAAwB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACrE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,0CAAsB,yBAerC,CAAA;AACH,CAAC,EAjCgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAiCnC"}
@@ -0,0 +1,38 @@
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/GetCommitment.ts.html |here} to see how to use GetCommitmentRequest.
16
+ */
17
+ export interface GetCommitmentRequest extends common.BaseRequest {
18
+ /**
19
+ * The Commitment Id
20
+ */
21
+ "commitmentId": string;
22
+ /**
23
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
24
+ *
25
+ */
26
+ "opcRequestId"?: string;
27
+ /**
28
+ * 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
29
+ * to help on Gateway to API calls identification.
30
+ *
31
+ */
32
+ "xOneGatewaySubscriptionId"?: string;
33
+ /**
34
+ * The OCI home region name in case home region is not us-ashburn-1 (IAD), e.g. ap-mumbai-1, us-phoenix-1 etc.
35
+ *
36
+ */
37
+ "xOneOriginRegion"?: string;
38
+ }
@@ -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-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-commitment-request.js","sourceRoot":"","sources":["../../../../../lib/osubsubscription/lib/request/get-commitment-request.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 GetCommitmentRequest from "./get-commitment-request";
15
+ export import GetCommitmentRequest = GetCommitmentRequest.GetCommitmentRequest;
16
+ import * as ListCommitmentsRequest from "./list-commitments-request";
17
+ export import ListCommitmentsRequest = ListCommitmentsRequest.ListCommitmentsRequest;
18
+ import * as ListRateCardsRequest from "./list-rate-cards-request";
19
+ export import ListRateCardsRequest = ListRateCardsRequest.ListRateCardsRequest;
20
+ import * as ListSubscriptionsRequest from "./list-subscriptions-request";
21
+ export import ListSubscriptionsRequest = ListSubscriptionsRequest.ListSubscriptionsRequest;