oci-onesubscription 2.143.0 → 2.145.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 (92) hide show
  1. package/lib/client.d.ts +72 -18
  2. package/lib/client.js +192 -18
  3. package/lib/client.js.map +1 -1
  4. package/lib/model/aggregated-computed-usage-summary.d.ts +6 -6
  5. package/lib/model/associated-subscriptions.d.ts +43 -0
  6. package/lib/model/associated-subscriptions.js +30 -0
  7. package/lib/model/associated-subscriptions.js.map +1 -0
  8. package/lib/model/billing-schedule-product.d.ts +4 -3
  9. package/lib/model/billing-schedule-product.js.map +1 -1
  10. package/lib/model/billing-schedule-summary.d.ts +13 -13
  11. package/lib/model/commitment-period.d.ts +46 -0
  12. package/lib/model/commitment-period.js +30 -0
  13. package/lib/model/commitment-period.js.map +1 -0
  14. package/lib/model/commitment-service.d.ts +7 -7
  15. package/lib/model/commitment-summary.d.ts +10 -10
  16. package/lib/model/commitment.d.ts +10 -10
  17. package/lib/model/computed-usage-aggregation.d.ts +7 -7
  18. package/lib/model/computed-usage-product.d.ts +8 -8
  19. package/lib/model/computed-usage-summary.d.ts +23 -23
  20. package/lib/model/computed-usage.d.ts +23 -23
  21. package/lib/model/index.d.ts +10 -0
  22. package/lib/model/index.js +11 -1
  23. package/lib/model/index.js.map +1 -1
  24. package/lib/model/invoice-line-summary.d.ts +6 -6
  25. package/lib/model/invoice-summary.d.ts +13 -13
  26. package/lib/model/invoiceline-computed-usage-summary.d.ts +7 -7
  27. package/lib/model/invoicing-address.d.ts +3 -3
  28. package/lib/model/invoicing-business-partner.d.ts +4 -4
  29. package/lib/model/invoicing-currency.d.ts +4 -4
  30. package/lib/model/invoicing-location.d.ts +1 -1
  31. package/lib/model/invoicing-organization.d.ts +3 -3
  32. package/lib/model/invoicing-payment-term.d.ts +9 -9
  33. package/lib/model/invoicing-product.d.ts +7 -7
  34. package/lib/model/invoicing-user.d.ts +2 -2
  35. package/lib/model/organization-subscription-summary.d.ts +8 -8
  36. package/lib/model/orgnization-subs-currency.d.ts +4 -4
  37. package/lib/model/product-and-service.d.ts +50 -0
  38. package/lib/model/product-and-service.js +30 -0
  39. package/lib/model/product-and-service.js.map +1 -0
  40. package/lib/model/rate-card-product.d.ts +7 -7
  41. package/lib/model/rate-card-summary.d.ts +9 -9
  42. package/lib/model/rate-card-tier.d.ts +4 -4
  43. package/lib/model/subscribed-service-address.d.ts +3 -3
  44. package/lib/model/subscribed-service-business-partner.d.ts +4 -4
  45. package/lib/model/subscribed-service-location.d.ts +1 -1
  46. package/lib/model/subscribed-service-payment-term.d.ts +9 -9
  47. package/lib/model/subscribed-service-summary.d.ts +95 -95
  48. package/lib/model/subscribed-service-user.d.ts +2 -2
  49. package/lib/model/subscribed-service.d.ts +97 -97
  50. package/lib/model/subscription-currency.d.ts +4 -4
  51. package/lib/model/subscription-details.d.ts +75 -0
  52. package/lib/model/subscription-details.js +72 -0
  53. package/lib/model/subscription-details.js.map +1 -0
  54. package/lib/model/subscription-product.d.ts +5 -5
  55. package/lib/model/subscription-subscribed-service.d.ts +31 -26
  56. package/lib/model/subscription-subscribed-service.js +10 -0
  57. package/lib/model/subscription-subscribed-service.js.map +1 -1
  58. package/lib/model/subscription-summary.d.ts +8 -8
  59. package/lib/model/usage-ledger-summary.d.ts +46 -0
  60. package/lib/model/usage-ledger-summary.js +30 -0
  61. package/lib/model/usage-ledger-summary.js.map +1 -0
  62. package/lib/request/get-commitment-request.d.ts +1 -1
  63. package/lib/request/get-computed-usage-request.d.ts +3 -3
  64. package/lib/request/get-subscribed-service-request.d.ts +5 -5
  65. package/lib/request/get-subscription-details-request.d.ts +31 -0
  66. package/lib/request/get-subscription-details-request.js +15 -0
  67. package/lib/request/get-subscription-details-request.js.map +1 -0
  68. package/lib/request/index.d.ts +4 -0
  69. package/lib/request/index.js +3 -1
  70. package/lib/request/index.js.map +1 -1
  71. package/lib/request/list-aggregated-computed-usages-request.d.ts +7 -7
  72. package/lib/request/list-billing-schedules-request.d.ts +2 -2
  73. package/lib/request/list-commitments-request.d.ts +1 -1
  74. package/lib/request/list-computed-usages-request.d.ts +5 -5
  75. package/lib/request/list-invoiceline-computed-usages-request.d.ts +4 -4
  76. package/lib/request/list-invoices-request.d.ts +5 -5
  77. package/lib/request/list-rate-cards-request.d.ts +8 -4
  78. package/lib/request/list-rate-cards-request.js.map +1 -1
  79. package/lib/request/list-subscribed-services-request.d.ts +3 -3
  80. package/lib/request/list-subscriptions-request.d.ts +4 -4
  81. package/lib/request/list-usage-ledgers-request.d.ts +73 -0
  82. package/lib/request/list-usage-ledgers-request.js +29 -0
  83. package/lib/request/list-usage-ledgers-request.js.map +1 -0
  84. package/lib/response/get-subscription-details-response.d.ts +25 -0
  85. package/lib/response/get-subscription-details-response.js +15 -0
  86. package/lib/response/get-subscription-details-response.js.map +1 -0
  87. package/lib/response/index.d.ts +4 -0
  88. package/lib/response/list-rate-cards-response.d.ts +2 -0
  89. package/lib/response/list-usage-ledgers-response.d.ts +32 -0
  90. package/lib/response/list-usage-ledgers-response.js +15 -0
  91. package/lib/response/list-usage-ledgers-response.js.map +1 -0
  92. package/package.json +2 -2
@@ -0,0 +1,75 @@
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, 2026, 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
+ * Commitment summary for a subscription.
17
+ */
18
+ export interface SubscriptionDetails {
19
+ /**
20
+ * Contract identifier.
21
+ */
22
+ "contractId"?: string;
23
+ /**
24
+ * Subscription identifier.
25
+ */
26
+ "subscriptionId"?: string;
27
+ /**
28
+ * Sold-to customer name.
29
+ */
30
+ "customerName"?: string;
31
+ /**
32
+ * The currency of the subscription, in the format specified by [ISO-4217](https://www.iso.org/iso-4217-currency-codes.html).
33
+ */
34
+ "currencyCode"?: string;
35
+ /**
36
+ * Start date and time of the subscription commitment.
37
+ */
38
+ "timeCommitmentStart"?: Date;
39
+ /**
40
+ * End date and time of the subscription commitment.
41
+ */
42
+ "timeCommitmentEnd"?: Date;
43
+ /**
44
+ * Total committed amount for the subscription. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
45
+ */
46
+ "amountCommitment"?: number;
47
+ /**
48
+ * Amount authorized for the subscription. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
49
+ */
50
+ "amountAuthorized"?: number;
51
+ /**
52
+ * Amount provisioned for the subscription. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
53
+ */
54
+ "amountProvisioned"?: number;
55
+ /**
56
+ * Amount consumed from the subscription commitment. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
57
+ */
58
+ "amountConsumed"?: number;
59
+ /**
60
+ * Amount remaining and available for the subscription. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
61
+ */
62
+ "amountAvailable"?: number;
63
+ /**
64
+ * Commitment periods associated with the subscription.
65
+ */
66
+ "commitmentPeriods"?: Array<model.CommitmentPeriod>;
67
+ /**
68
+ * Products and services that draw down from the subscription.
69
+ */
70
+ "productsAndServices"?: Array<model.ProductAndService>;
71
+ }
72
+ export declare namespace SubscriptionDetails {
73
+ function getJsonObj(obj: SubscriptionDetails): object;
74
+ function getDeserializedJsonObj(obj: SubscriptionDetails): object;
75
+ }
@@ -0,0 +1,72 @@
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, 2026, 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.SubscriptionDetails = void 0;
36
+ const model = __importStar(require("../model"));
37
+ var SubscriptionDetails;
38
+ (function (SubscriptionDetails) {
39
+ function getJsonObj(obj) {
40
+ const jsonObj = Object.assign(Object.assign({}, obj), {
41
+ "commitmentPeriods": obj.commitmentPeriods
42
+ ? obj.commitmentPeriods.map(item => {
43
+ return model.CommitmentPeriod.getJsonObj(item);
44
+ })
45
+ : undefined,
46
+ "productsAndServices": obj.productsAndServices
47
+ ? obj.productsAndServices.map(item => {
48
+ return model.ProductAndService.getJsonObj(item);
49
+ })
50
+ : undefined
51
+ });
52
+ return jsonObj;
53
+ }
54
+ SubscriptionDetails.getJsonObj = getJsonObj;
55
+ function getDeserializedJsonObj(obj) {
56
+ const jsonObj = Object.assign(Object.assign({}, obj), {
57
+ "commitmentPeriods": obj.commitmentPeriods
58
+ ? obj.commitmentPeriods.map(item => {
59
+ return model.CommitmentPeriod.getDeserializedJsonObj(item);
60
+ })
61
+ : undefined,
62
+ "productsAndServices": obj.productsAndServices
63
+ ? obj.productsAndServices.map(item => {
64
+ return model.ProductAndService.getDeserializedJsonObj(item);
65
+ })
66
+ : undefined
67
+ });
68
+ return jsonObj;
69
+ }
70
+ SubscriptionDetails.getDeserializedJsonObj = getDeserializedJsonObj;
71
+ })(SubscriptionDetails = exports.SubscriptionDetails || (exports.SubscriptionDetails = {}));
72
+ //# sourceMappingURL=subscription-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"subscription-details.js","sourceRoot":"","sources":["../../../../../lib/onesubscription/lib/model/subscription-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA6DlC,IAAiB,mBAAmB,CAuCnC;AAvCD,WAAiB,mBAAmB;IAClC,SAAgB,UAAU,CAAC,GAAwB;QACjD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,mBAAmB,EAAE,GAAG,CAAC,iBAAiB;gBACxC,CAAC,CAAC,GAAG,CAAC,iBAAiB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC/B,OAAO,KAAK,CAAC,gBAAgB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACjD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,qBAAqB,EAAE,GAAG,CAAC,mBAAmB;gBAC5C,CAAC,CAAC,GAAG,CAAC,mBAAmB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACjC,OAAO,KAAK,CAAC,iBAAiB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAClD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAlBe,8BAAU,aAkBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAwB;QAC7D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,mBAAmB,EAAE,GAAG,CAAC,iBAAiB;gBACxC,CAAC,CAAC,GAAG,CAAC,iBAAiB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC/B,OAAO,KAAK,CAAC,gBAAgB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC7D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,qBAAqB,EAAE,GAAG,CAAC,mBAAmB;gBAC5C,CAAC,CAAC,GAAG,CAAC,mBAAmB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACjC,OAAO,KAAK,CAAC,iBAAiB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC9D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAlBe,0CAAsB,yBAkBrC,CAAA;AACH,CAAC,EAvCgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAuCnC"}
@@ -12,27 +12,27 @@
12
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
13
  */
14
14
  /**
15
- * Product description
15
+ * Product description.
16
16
  *
17
17
  */
18
18
  export interface SubscriptionProduct {
19
19
  /**
20
- * Product part numner
20
+ * Product part number.
21
21
  *
22
22
  */
23
23
  "partNumber": string;
24
24
  /**
25
- * Product name
25
+ * Product name.
26
26
  *
27
27
  */
28
28
  "name": string;
29
29
  /**
30
- * Unit of measure
30
+ * Unit of measure.
31
31
  *
32
32
  */
33
33
  "unitOfMeasure": string;
34
34
  /**
35
- * Product provisioning group
35
+ * Product provisioning group.
36
36
  *
37
37
  */
38
38
  "provisioningGroup"?: string;
@@ -13,132 +13,137 @@
13
13
  */
14
14
  import * as model from "../model";
15
15
  /**
16
- * Subscribed Service summary
16
+ * Subscribed service summary.
17
17
  *
18
18
  */
19
19
  export interface SubscriptionSubscribedService {
20
20
  /**
21
- * SPM internal Subscribed Service ID
21
+ * SPM (Subscription Plan Management) internal subscribed service ID.
22
22
  *
23
23
  */
24
24
  "id": string;
25
25
  "product"?: model.SubscriptionProduct;
26
26
  /**
27
- * Subscribed service quantity
27
+ * Subscribed service quantity.
28
28
  *
29
29
  */
30
30
  "quantity"?: string;
31
31
  /**
32
- * Subscribed service status
32
+ * Subscribed service status.
33
33
  *
34
34
  */
35
35
  "status"?: string;
36
36
  /**
37
- * Subscribed service operation type
37
+ * Subscribed service operation type.
38
38
  *
39
39
  */
40
40
  "operationType"?: string;
41
41
  /**
42
- * Subscribed service net unit price
42
+ * Subscribed service net unit price.
43
43
  *
44
44
  */
45
45
  "netUnitPrice"?: string;
46
46
  /**
47
- * Subscribed service used amount
47
+ * Subscribed service used amount.
48
48
  *
49
49
  */
50
50
  "usedAmount"?: string;
51
51
  /**
52
- * Subscribed sercice available or remaining amount
52
+ * Subscribed sercice available or remaining amount.
53
53
  *
54
54
  */
55
55
  "availableAmount"?: string;
56
56
  /**
57
- * Funded Allocation line value
58
- * example: 12000.00
57
+ * Funded allocation line value.
58
+ * Example: 12000.00
59
59
  *
60
60
  */
61
61
  "fundedAllocationValue"?: string;
62
62
  /**
63
- * This field contains the name of the partner to which the subscription belongs - depending on which the invoicing may differ
63
+ * The name of the partner to which the subscription belongs, however depending on which subscription, the invoicing can differ.
64
64
  *
65
65
  */
66
66
  "partnerTransactionType"?: string;
67
67
  /**
68
- * Term value in Months
68
+ * Term value in months.
69
69
  * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
70
70
  */
71
71
  "termValue"?: number;
72
72
  /**
73
- * Term value UOM
73
+ * Term value UOM (Unit of Measure).
74
74
  *
75
75
  */
76
76
  "termValueUom"?: string;
77
77
  /**
78
- * Booking Opportunity Number of Subscribed Service
78
+ * Booking opportunity number of subscribed service.
79
79
  *
80
80
  */
81
81
  "bookingOptyNumber"?: string;
82
82
  /**
83
- * Subscribed service total value
83
+ * Subscribed service total value.
84
84
  *
85
85
  */
86
86
  "totalValue"?: string;
87
87
  /**
88
- * Subscribed service Promotion Amount
88
+ * Subscribed service promotion amount.
89
89
  *
90
90
  */
91
91
  "originalPromoAmount"?: string;
92
92
  /**
93
- * Sales Order Number associated to the subscribed service
93
+ * Sales order number associated with the subscribed service.
94
94
  * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
95
95
  */
96
96
  "orderNumber"?: number;
97
97
  /**
98
- * Subscribed service data center region
98
+ * Subscribed service data center region.
99
99
  *
100
100
  */
101
101
  "dataCenterRegion"?: string;
102
102
  /**
103
- * Subscribed service pricing model
103
+ * Subscribed service pricing model.
104
104
  *
105
105
  */
106
106
  "pricingModel"?: string;
107
107
  /**
108
- * Subscribed service program type
108
+ * Subscribed service program type.
109
109
  *
110
110
  */
111
111
  "programType"?: string;
112
112
  /**
113
- * Subscribed service promotion type
113
+ * Subscribed service promotion type.
114
114
  *
115
115
  */
116
116
  "promoType"?: string;
117
117
  /**
118
- * Subscribed service CSI number
118
+ * Subscribed service CSI (Customer Service Identifier) number.
119
119
  * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
120
120
  */
121
121
  "csi"?: number;
122
122
  /**
123
- * Subscribed service intent to pay flag
123
+ * Subscribed service intent to pay parameter.
124
124
  *
125
125
  */
126
126
  "isIntentToPay"?: boolean;
127
127
  /**
128
- * Subscribed service start date
128
+ * Subscribed service start date.
129
129
  *
130
130
  */
131
131
  "timeStart"?: Date;
132
132
  /**
133
- * Subscribed service end date
133
+ * Subscribed service end date.
134
134
  *
135
135
  */
136
136
  "timeEnd"?: Date;
137
137
  /**
138
- * List of Commitment services of a line
138
+ * List of commitment services of a line.
139
139
  *
140
140
  */
141
141
  "commitmentServices"?: Array<model.CommitmentService>;
142
+ /**
143
+ * List of Associated Subscriptions
144
+ *
145
+ */
146
+ "associatedSubscriptions"?: Array<model.AssociatedSubscriptions>;
142
147
  }
143
148
  export declare namespace SubscriptionSubscribedService {
144
149
  function getJsonObj(obj: SubscriptionSubscribedService): object;
@@ -43,6 +43,11 @@ var SubscriptionSubscribedService;
43
43
  ? obj.commitmentServices.map(item => {
44
44
  return model.CommitmentService.getJsonObj(item);
45
45
  })
46
+ : undefined,
47
+ "associatedSubscriptions": obj.associatedSubscriptions
48
+ ? obj.associatedSubscriptions.map(item => {
49
+ return model.AssociatedSubscriptions.getJsonObj(item);
50
+ })
46
51
  : undefined
47
52
  });
48
53
  return jsonObj;
@@ -57,6 +62,11 @@ var SubscriptionSubscribedService;
57
62
  ? obj.commitmentServices.map(item => {
58
63
  return model.CommitmentService.getDeserializedJsonObj(item);
59
64
  })
65
+ : undefined,
66
+ "associatedSubscriptions": obj.associatedSubscriptions
67
+ ? obj.associatedSubscriptions.map(item => {
68
+ return model.AssociatedSubscriptions.getDeserializedJsonObj(item);
69
+ })
60
70
  : undefined
61
71
  });
62
72
  return jsonObj;
@@ -1 +1 @@
1
- {"version":3,"file":"subscription-subscribed-service.js","sourceRoot":"","sources":["../../../../../lib/onesubscription/lib/model/subscription-subscribed-service.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAoIlC,IAAiB,6BAA6B,CAmC7C;AAnCD,WAAiB,6BAA6B;IAC5C,SAAgB,UAAU,CAAC,GAAkC;QAC3D,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,iBAAiB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAClD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,wCAAU,aAezB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAkC;QACvE,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,iBAAiB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC9D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAjBe,oDAAsB,yBAiBrC,CAAA;AACH,CAAC,EAnCgB,6BAA6B,GAA7B,qCAA6B,KAA7B,qCAA6B,QAmC7C"}
1
+ {"version":3,"file":"subscription-subscribed-service.js","sourceRoot":"","sources":["../../../../../lib/onesubscription/lib/model/subscription-subscribed-service.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAyIlC,IAAiB,6BAA6B,CA6C7C;AA7CD,WAAiB,6BAA6B;IAC5C,SAAgB,UAAU,CAAC,GAAkC;QAC3D,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,iBAAiB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAClD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,yBAAyB,EAAE,GAAG,CAAC,uBAAuB;gBACpD,CAAC,CAAC,GAAG,CAAC,uBAAuB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACrC,OAAO,KAAK,CAAC,uBAAuB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACxD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,wCAAU,aAoBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAkC;QACvE,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,iBAAiB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC9D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,yBAAyB,EAAE,GAAG,CAAC,uBAAuB;gBACpD,CAAC,CAAC,GAAG,CAAC,uBAAuB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACrC,OAAO,KAAK,CAAC,uBAAuB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACpE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAtBe,oDAAsB,yBAsBrC,CAAA;AACH,CAAC,EA7CgB,6BAA6B,GAA7B,qCAA6B,KAA7B,qCAA6B,QA6C7C"}
@@ -13,43 +13,43 @@
13
13
  */
14
14
  import * as model from "../model";
15
15
  /**
16
- * Subscription summary
16
+ * Subscription summary.
17
17
  *
18
18
  */
19
19
  export interface SubscriptionSummary {
20
20
  /**
21
- * Status of the plan
21
+ * Plan status.
22
22
  *
23
23
  */
24
24
  "status"?: string;
25
25
  /**
26
- * Represents the date when the first service of the subscription was activated
26
+ * The date when the first service of the subscription was activated.
27
27
  *
28
28
  */
29
29
  "timeStart"?: Date;
30
30
  /**
31
- * Represents the date when the last service of the subscription ends
31
+ * The date when the last service of the subscription ends.
32
32
  *
33
33
  */
34
34
  "timeEnd"?: Date;
35
35
  "currency"?: model.SubscriptionCurrency;
36
36
  /**
37
- * Customer friendly service name provided by PRG
37
+ * Customer-friendly service name provided by the PRG (Product Release Group).
38
38
  *
39
39
  */
40
40
  "serviceName"?: string;
41
41
  /**
42
- * Hold reason of the plan
42
+ * Hold reason of the plan.
43
43
  *
44
44
  */
45
45
  "holdReason"?: string;
46
46
  /**
47
- * Represents the date of the hold release
47
+ * The date of the hold release.
48
48
  *
49
49
  */
50
50
  "timeHoldReleaseEta"?: Date;
51
51
  /**
52
- * List of Subscribed Services of the plan
52
+ * List of plan's subscribed services.
53
53
  *
54
54
  */
55
55
  "subscribedServices"?: Array<model.SubscriptionSubscribedService>;
@@ -0,0 +1,46 @@
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, 2026, 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
+ * Revenue invoice consumption detail for a subscription.
16
+ */
17
+ export interface UsageLedgerSummary {
18
+ /**
19
+ * Commitment period from the subscription details summary.
20
+ */
21
+ "commitmentPeriod"?: string;
22
+ /**
23
+ * Revenue invoice consumption date.
24
+ */
25
+ "timeConsumption"?: Date;
26
+ /**
27
+ * Authorization-order subscription identifier.
28
+ */
29
+ "subId"?: string;
30
+ /**
31
+ * Name of the consumed product or service.
32
+ */
33
+ "serviceName"?: string;
34
+ /**
35
+ * Amount consumed on the consumption date. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
36
+ */
37
+ "consumptionAmount"?: number;
38
+ /**
39
+ * Consumption category. Known values include Consumption, Commitment Expiration, and Overage.
40
+ */
41
+ "type"?: string;
42
+ }
43
+ export declare namespace UsageLedgerSummary {
44
+ function getJsonObj(obj: UsageLedgerSummary): object;
45
+ function getDeserializedJsonObj(obj: UsageLedgerSummary): object;
46
+ }
@@ -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, 2026, 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.UsageLedgerSummary = void 0;
17
+ var UsageLedgerSummary;
18
+ (function (UsageLedgerSummary) {
19
+ function getJsonObj(obj) {
20
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
21
+ return jsonObj;
22
+ }
23
+ UsageLedgerSummary.getJsonObj = getJsonObj;
24
+ function getDeserializedJsonObj(obj) {
25
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
26
+ return jsonObj;
27
+ }
28
+ UsageLedgerSummary.getDeserializedJsonObj = getDeserializedJsonObj;
29
+ })(UsageLedgerSummary = exports.UsageLedgerSummary || (exports.UsageLedgerSummary = {}));
30
+ //# sourceMappingURL=usage-ledger-summary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usage-ledger-summary.js","sourceRoot":"","sources":["../../../../../lib/onesubscription/lib/model/usage-ledger-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;AAmCH,IAAiB,kBAAkB,CAWlC;AAXD,WAAiB,kBAAkB;IACjC,SAAgB,UAAU,CAAC,GAAuB;QAChD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,6BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAuB;QAC5D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,yCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAWlC"}
@@ -16,7 +16,7 @@ import common = require("oci-common");
16
16
  */
17
17
  export interface GetCommitmentRequest extends common.BaseRequest {
18
18
  /**
19
- * The Commitment Id
19
+ * The commitment ID.
20
20
  */
21
21
  "commitmentId": string;
22
22
  /**
@@ -16,7 +16,7 @@ import common = require("oci-common");
16
16
  */
17
17
  export interface GetComputedUsageRequest extends common.BaseRequest {
18
18
  /**
19
- * The Computed Usage Id
19
+ * The computed usage ID.
20
20
  */
21
21
  "computedUsageId": string;
22
22
  /**
@@ -25,8 +25,8 @@ export interface GetComputedUsageRequest extends common.BaseRequest {
25
25
  "compartmentId": string;
26
26
  /**
27
27
  * Partial response refers to an optimization technique offered
28
- * by the RESTful web APIs to return only the information
29
- * (fields) required by the client. This parameter is used to control what fields to
28
+ * by the RESTful web APIs, to return only the information
29
+ * (fields) required by the client. This parameter controls which fields to
30
30
  * return.
31
31
  *
32
32
  */
@@ -16,19 +16,19 @@ import common = require("oci-common");
16
16
  */
17
17
  export interface GetSubscribedServiceRequest extends common.BaseRequest {
18
18
  /**
19
- * The Subscribed Service Id
19
+ * The subscribed service ID.
20
20
  */
21
21
  "subscribedServiceId": string;
22
22
  /**
23
23
  * Partial response refers to an optimization technique offered
24
- * by the RESTful web APIs to return only the information
24
+ * by the RESTful web APIs, to return only the information
25
25
  * (fields) required by the client. In this mechanism, the client
26
26
  * sends the required field names as the query parameters for
27
27
  * an API to the server, and the server trims down the default
28
28
  * response content by removing the fields that are not required
29
- * by the client. The parameter used to control what fields to
30
- * return should be a query string parameter called \"fields\" of
31
- * type array, and usecollectionFormat
29
+ * by the client. The parameter used to control which fields to
30
+ * return should be a query string parameter called \"fields\", of
31
+ * an array type, and use collectionFormat.
32
32
  *
33
33
  */
34
34
  "fields"?: Array<string>;
@@ -0,0 +1,31 @@
1
+ /**
2
+ *
3
+ *
4
+ * OpenAPI spec version: 20190111
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2026, 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.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/onesubscription/GetSubscriptionDetails.ts.html |here} to see how to use GetSubscriptionDetailsRequest.
16
+ */
17
+ export interface GetSubscriptionDetailsRequest extends common.BaseRequest {
18
+ /**
19
+ * Subscription identifier.
20
+ */
21
+ "subscriptionId": string;
22
+ /**
23
+ * The OCID of the root compartment.
24
+ */
25
+ "compartmentId": string;
26
+ /**
27
+ * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
28
+ *
29
+ */
30
+ "opcRequestId"?: string;
31
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * OpenAPI spec version: 20190111
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2026, 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-subscription-details-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-subscription-details-request.js","sourceRoot":"","sources":["../../../../../lib/onesubscription/lib/request/get-subscription-details-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
@@ -35,5 +35,9 @@ import * as GetSubscribedServiceRequest from "./get-subscribed-service-request";
35
35
  export import GetSubscribedServiceRequest = GetSubscribedServiceRequest.GetSubscribedServiceRequest;
36
36
  import * as ListSubscribedServicesRequest from "./list-subscribed-services-request";
37
37
  export import ListSubscribedServicesRequest = ListSubscribedServicesRequest.ListSubscribedServicesRequest;
38
+ import * as GetSubscriptionDetailsRequest from "./get-subscription-details-request";
39
+ export import GetSubscriptionDetailsRequest = GetSubscriptionDetailsRequest.GetSubscriptionDetailsRequest;
38
40
  import * as ListSubscriptionsRequest from "./list-subscriptions-request";
39
41
  export import ListSubscriptionsRequest = ListSubscriptionsRequest.ListSubscriptionsRequest;
42
+ import * as ListUsageLedgersRequest from "./list-usage-ledgers-request";
43
+ export import ListUsageLedgersRequest = ListUsageLedgersRequest.ListUsageLedgersRequest;
@@ -32,7 +32,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
32
32
  return result;
33
33
  };
34
34
  Object.defineProperty(exports, "__esModule", { value: true });
35
- exports.ListSubscriptionsRequest = exports.ListSubscribedServicesRequest = exports.ListRateCardsRequest = exports.ListOrganizationSubscriptionsRequest = exports.ListInvoicesRequest = exports.ListInvoicelineComputedUsagesRequest = exports.ListComputedUsagesRequest = exports.ListAggregatedComputedUsagesRequest = exports.ListCommitmentsRequest = exports.ListBillingSchedulesRequest = void 0;
35
+ exports.ListUsageLedgersRequest = exports.ListSubscriptionsRequest = exports.ListSubscribedServicesRequest = exports.ListRateCardsRequest = exports.ListOrganizationSubscriptionsRequest = exports.ListInvoicesRequest = exports.ListInvoicelineComputedUsagesRequest = exports.ListComputedUsagesRequest = exports.ListAggregatedComputedUsagesRequest = exports.ListCommitmentsRequest = exports.ListBillingSchedulesRequest = void 0;
36
36
  const ListBillingSchedulesRequest = __importStar(require("./list-billing-schedules-request"));
37
37
  exports.ListBillingSchedulesRequest = ListBillingSchedulesRequest.ListBillingSchedulesRequest;
38
38
  const ListCommitmentsRequest = __importStar(require("./list-commitments-request"));
@@ -53,4 +53,6 @@ const ListSubscribedServicesRequest = __importStar(require("./list-subscribed-se
53
53
  exports.ListSubscribedServicesRequest = ListSubscribedServicesRequest.ListSubscribedServicesRequest;
54
54
  const ListSubscriptionsRequest = __importStar(require("./list-subscriptions-request"));
55
55
  exports.ListSubscriptionsRequest = ListSubscriptionsRequest.ListSubscriptionsRequest;
56
+ const ListUsageLedgersRequest = __importStar(require("./list-usage-ledgers-request"));
57
+ exports.ListUsageLedgersRequest = ListUsageLedgersRequest.ListUsageLedgersRequest;
56
58
  //# sourceMappingURL=index.js.map