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,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 ComputedUsage {
|
|
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
|
+
"id": 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"?: ComputedUsage.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 ComputedUsage {
|
|
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: ComputedUsage): object;
|
|
162
|
+
function getDeserializedJsonObj(obj: ComputedUsage): 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.ComputedUsage = void 0;
|
|
36
|
+
const model = __importStar(require("../model"));
|
|
37
|
+
var ComputedUsage;
|
|
38
|
+
(function (ComputedUsage) {
|
|
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 = ComputedUsage.Type || (ComputedUsage.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
|
+
ComputedUsage.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
|
+
ComputedUsage.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
84
|
+
})(ComputedUsage = exports.ComputedUsage || (exports.ComputedUsage = {}));
|
|
85
|
+
//# sourceMappingURL=computed-usage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"computed-usage.js","sourceRoot":"","sources":["../../../../../lib/onesubscription/lib/model/computed-usage.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA+HlC,IAAiB,aAAa,CAsD7B;AAtDD,WAAiB,aAAa;IAC5B,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,kBAAI,KAAJ,kBAAI,QAqBf;IAED,SAAgB,UAAU,CAAC,GAAkB;QAC3C,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,wBAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAkB;QACvD,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,oCAAsB,yBAerC,CAAA;AACH,CAAC,EAtDgB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAsD7B"}
|
|
@@ -0,0 +1,87 @@
|
|
|
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 AggregatedComputedUsageSummary from "./aggregated-computed-usage-summary";
|
|
15
|
+
export import AggregatedComputedUsageSummary = AggregatedComputedUsageSummary.AggregatedComputedUsageSummary;
|
|
16
|
+
import * as BillingScheduleProduct from "./billing-schedule-product";
|
|
17
|
+
export import BillingScheduleProduct = BillingScheduleProduct.BillingScheduleProduct;
|
|
18
|
+
import * as BillingScheduleSummary from "./billing-schedule-summary";
|
|
19
|
+
export import BillingScheduleSummary = BillingScheduleSummary.BillingScheduleSummary;
|
|
20
|
+
import * as Commitment from "./commitment";
|
|
21
|
+
export import Commitment = Commitment.Commitment;
|
|
22
|
+
import * as CommitmentService from "./commitment-service";
|
|
23
|
+
export import CommitmentService = CommitmentService.CommitmentService;
|
|
24
|
+
import * as CommitmentSummary from "./commitment-summary";
|
|
25
|
+
export import CommitmentSummary = CommitmentSummary.CommitmentSummary;
|
|
26
|
+
import * as ComputedUsage from "./computed-usage";
|
|
27
|
+
export import ComputedUsage = ComputedUsage.ComputedUsage;
|
|
28
|
+
import * as ComputedUsageAggregation from "./computed-usage-aggregation";
|
|
29
|
+
export import ComputedUsageAggregation = ComputedUsageAggregation.ComputedUsageAggregation;
|
|
30
|
+
import * as ComputedUsageProduct from "./computed-usage-product";
|
|
31
|
+
export import ComputedUsageProduct = ComputedUsageProduct.ComputedUsageProduct;
|
|
32
|
+
import * as ComputedUsageSummary from "./computed-usage-summary";
|
|
33
|
+
export import ComputedUsageSummary = ComputedUsageSummary.ComputedUsageSummary;
|
|
34
|
+
import * as InvoiceLineSummary from "./invoice-line-summary";
|
|
35
|
+
export import InvoiceLineSummary = InvoiceLineSummary.InvoiceLineSummary;
|
|
36
|
+
import * as InvoiceSummary from "./invoice-summary";
|
|
37
|
+
export import InvoiceSummary = InvoiceSummary.InvoiceSummary;
|
|
38
|
+
import * as InvoicelineComputedUsageSummary from "./invoiceline-computed-usage-summary";
|
|
39
|
+
export import InvoicelineComputedUsageSummary = InvoicelineComputedUsageSummary.InvoicelineComputedUsageSummary;
|
|
40
|
+
import * as InvoicingAddress from "./invoicing-address";
|
|
41
|
+
export import InvoicingAddress = InvoicingAddress.InvoicingAddress;
|
|
42
|
+
import * as InvoicingBusinessPartner from "./invoicing-business-partner";
|
|
43
|
+
export import InvoicingBusinessPartner = InvoicingBusinessPartner.InvoicingBusinessPartner;
|
|
44
|
+
import * as InvoicingCurrency from "./invoicing-currency";
|
|
45
|
+
export import InvoicingCurrency = InvoicingCurrency.InvoicingCurrency;
|
|
46
|
+
import * as InvoicingLocation from "./invoicing-location";
|
|
47
|
+
export import InvoicingLocation = InvoicingLocation.InvoicingLocation;
|
|
48
|
+
import * as InvoicingOrganization from "./invoicing-organization";
|
|
49
|
+
export import InvoicingOrganization = InvoicingOrganization.InvoicingOrganization;
|
|
50
|
+
import * as InvoicingPaymentTerm from "./invoicing-payment-term";
|
|
51
|
+
export import InvoicingPaymentTerm = InvoicingPaymentTerm.InvoicingPaymentTerm;
|
|
52
|
+
import * as InvoicingProduct from "./invoicing-product";
|
|
53
|
+
export import InvoicingProduct = InvoicingProduct.InvoicingProduct;
|
|
54
|
+
import * as InvoicingUser from "./invoicing-user";
|
|
55
|
+
export import InvoicingUser = InvoicingUser.InvoicingUser;
|
|
56
|
+
import * as OrganizationSubscriptionSummary from "./organization-subscription-summary";
|
|
57
|
+
export import OrganizationSubscriptionSummary = OrganizationSubscriptionSummary.OrganizationSubscriptionSummary;
|
|
58
|
+
import * as OrgnizationSubsCurrency from "./orgnization-subs-currency";
|
|
59
|
+
export import OrgnizationSubsCurrency = OrgnizationSubsCurrency.OrgnizationSubsCurrency;
|
|
60
|
+
import * as RateCardProduct from "./rate-card-product";
|
|
61
|
+
export import RateCardProduct = RateCardProduct.RateCardProduct;
|
|
62
|
+
import * as RateCardSummary from "./rate-card-summary";
|
|
63
|
+
export import RateCardSummary = RateCardSummary.RateCardSummary;
|
|
64
|
+
import * as RateCardTier from "./rate-card-tier";
|
|
65
|
+
export import RateCardTier = RateCardTier.RateCardTier;
|
|
66
|
+
import * as SubscribedService from "./subscribed-service";
|
|
67
|
+
export import SubscribedService = SubscribedService.SubscribedService;
|
|
68
|
+
import * as SubscribedServiceAddress from "./subscribed-service-address";
|
|
69
|
+
export import SubscribedServiceAddress = SubscribedServiceAddress.SubscribedServiceAddress;
|
|
70
|
+
import * as SubscribedServiceBusinessPartner from "./subscribed-service-business-partner";
|
|
71
|
+
export import SubscribedServiceBusinessPartner = SubscribedServiceBusinessPartner.SubscribedServiceBusinessPartner;
|
|
72
|
+
import * as SubscribedServiceLocation from "./subscribed-service-location";
|
|
73
|
+
export import SubscribedServiceLocation = SubscribedServiceLocation.SubscribedServiceLocation;
|
|
74
|
+
import * as SubscribedServicePaymentTerm from "./subscribed-service-payment-term";
|
|
75
|
+
export import SubscribedServicePaymentTerm = SubscribedServicePaymentTerm.SubscribedServicePaymentTerm;
|
|
76
|
+
import * as SubscribedServiceSummary from "./subscribed-service-summary";
|
|
77
|
+
export import SubscribedServiceSummary = SubscribedServiceSummary.SubscribedServiceSummary;
|
|
78
|
+
import * as SubscribedServiceUser from "./subscribed-service-user";
|
|
79
|
+
export import SubscribedServiceUser = SubscribedServiceUser.SubscribedServiceUser;
|
|
80
|
+
import * as SubscriptionCurrency from "./subscription-currency";
|
|
81
|
+
export import SubscriptionCurrency = SubscriptionCurrency.SubscriptionCurrency;
|
|
82
|
+
import * as SubscriptionProduct from "./subscription-product";
|
|
83
|
+
export import SubscriptionProduct = SubscriptionProduct.SubscriptionProduct;
|
|
84
|
+
import * as SubscriptionSubscribedService from "./subscription-subscribed-service";
|
|
85
|
+
export import SubscriptionSubscribedService = SubscriptionSubscribedService.SubscriptionSubscribedService;
|
|
86
|
+
import * as SubscriptionSummary from "./subscription-summary";
|
|
87
|
+
export import SubscriptionSummary = SubscriptionSummary.SubscriptionSummary;
|
|
@@ -0,0 +1,110 @@
|
|
|
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.SubscriptionSummary = exports.SubscriptionSubscribedService = exports.SubscriptionProduct = exports.SubscriptionCurrency = exports.SubscribedServiceUser = exports.SubscribedServiceSummary = exports.SubscribedServicePaymentTerm = exports.SubscribedServiceLocation = exports.SubscribedServiceBusinessPartner = exports.SubscribedServiceAddress = exports.SubscribedService = exports.RateCardTier = exports.RateCardSummary = exports.RateCardProduct = exports.OrgnizationSubsCurrency = exports.OrganizationSubscriptionSummary = exports.InvoicingUser = exports.InvoicingProduct = exports.InvoicingPaymentTerm = exports.InvoicingOrganization = exports.InvoicingLocation = exports.InvoicingCurrency = exports.InvoicingBusinessPartner = exports.InvoicingAddress = exports.InvoicelineComputedUsageSummary = exports.InvoiceSummary = exports.InvoiceLineSummary = exports.ComputedUsageSummary = exports.ComputedUsageProduct = exports.ComputedUsageAggregation = exports.ComputedUsage = exports.CommitmentSummary = exports.CommitmentService = exports.Commitment = exports.BillingScheduleSummary = exports.BillingScheduleProduct = exports.AggregatedComputedUsageSummary = void 0;
|
|
36
|
+
const AggregatedComputedUsageSummary = __importStar(require("./aggregated-computed-usage-summary"));
|
|
37
|
+
exports.AggregatedComputedUsageSummary = AggregatedComputedUsageSummary.AggregatedComputedUsageSummary;
|
|
38
|
+
const BillingScheduleProduct = __importStar(require("./billing-schedule-product"));
|
|
39
|
+
exports.BillingScheduleProduct = BillingScheduleProduct.BillingScheduleProduct;
|
|
40
|
+
const BillingScheduleSummary = __importStar(require("./billing-schedule-summary"));
|
|
41
|
+
exports.BillingScheduleSummary = BillingScheduleSummary.BillingScheduleSummary;
|
|
42
|
+
const Commitment = __importStar(require("./commitment"));
|
|
43
|
+
exports.Commitment = Commitment.Commitment;
|
|
44
|
+
const CommitmentService = __importStar(require("./commitment-service"));
|
|
45
|
+
exports.CommitmentService = CommitmentService.CommitmentService;
|
|
46
|
+
const CommitmentSummary = __importStar(require("./commitment-summary"));
|
|
47
|
+
exports.CommitmentSummary = CommitmentSummary.CommitmentSummary;
|
|
48
|
+
const ComputedUsage = __importStar(require("./computed-usage"));
|
|
49
|
+
exports.ComputedUsage = ComputedUsage.ComputedUsage;
|
|
50
|
+
const ComputedUsageAggregation = __importStar(require("./computed-usage-aggregation"));
|
|
51
|
+
exports.ComputedUsageAggregation = ComputedUsageAggregation.ComputedUsageAggregation;
|
|
52
|
+
const ComputedUsageProduct = __importStar(require("./computed-usage-product"));
|
|
53
|
+
exports.ComputedUsageProduct = ComputedUsageProduct.ComputedUsageProduct;
|
|
54
|
+
const ComputedUsageSummary = __importStar(require("./computed-usage-summary"));
|
|
55
|
+
exports.ComputedUsageSummary = ComputedUsageSummary.ComputedUsageSummary;
|
|
56
|
+
const InvoiceLineSummary = __importStar(require("./invoice-line-summary"));
|
|
57
|
+
exports.InvoiceLineSummary = InvoiceLineSummary.InvoiceLineSummary;
|
|
58
|
+
const InvoiceSummary = __importStar(require("./invoice-summary"));
|
|
59
|
+
exports.InvoiceSummary = InvoiceSummary.InvoiceSummary;
|
|
60
|
+
const InvoicelineComputedUsageSummary = __importStar(require("./invoiceline-computed-usage-summary"));
|
|
61
|
+
exports.InvoicelineComputedUsageSummary = InvoicelineComputedUsageSummary.InvoicelineComputedUsageSummary;
|
|
62
|
+
const InvoicingAddress = __importStar(require("./invoicing-address"));
|
|
63
|
+
exports.InvoicingAddress = InvoicingAddress.InvoicingAddress;
|
|
64
|
+
const InvoicingBusinessPartner = __importStar(require("./invoicing-business-partner"));
|
|
65
|
+
exports.InvoicingBusinessPartner = InvoicingBusinessPartner.InvoicingBusinessPartner;
|
|
66
|
+
const InvoicingCurrency = __importStar(require("./invoicing-currency"));
|
|
67
|
+
exports.InvoicingCurrency = InvoicingCurrency.InvoicingCurrency;
|
|
68
|
+
const InvoicingLocation = __importStar(require("./invoicing-location"));
|
|
69
|
+
exports.InvoicingLocation = InvoicingLocation.InvoicingLocation;
|
|
70
|
+
const InvoicingOrganization = __importStar(require("./invoicing-organization"));
|
|
71
|
+
exports.InvoicingOrganization = InvoicingOrganization.InvoicingOrganization;
|
|
72
|
+
const InvoicingPaymentTerm = __importStar(require("./invoicing-payment-term"));
|
|
73
|
+
exports.InvoicingPaymentTerm = InvoicingPaymentTerm.InvoicingPaymentTerm;
|
|
74
|
+
const InvoicingProduct = __importStar(require("./invoicing-product"));
|
|
75
|
+
exports.InvoicingProduct = InvoicingProduct.InvoicingProduct;
|
|
76
|
+
const InvoicingUser = __importStar(require("./invoicing-user"));
|
|
77
|
+
exports.InvoicingUser = InvoicingUser.InvoicingUser;
|
|
78
|
+
const OrganizationSubscriptionSummary = __importStar(require("./organization-subscription-summary"));
|
|
79
|
+
exports.OrganizationSubscriptionSummary = OrganizationSubscriptionSummary.OrganizationSubscriptionSummary;
|
|
80
|
+
const OrgnizationSubsCurrency = __importStar(require("./orgnization-subs-currency"));
|
|
81
|
+
exports.OrgnizationSubsCurrency = OrgnizationSubsCurrency.OrgnizationSubsCurrency;
|
|
82
|
+
const RateCardProduct = __importStar(require("./rate-card-product"));
|
|
83
|
+
exports.RateCardProduct = RateCardProduct.RateCardProduct;
|
|
84
|
+
const RateCardSummary = __importStar(require("./rate-card-summary"));
|
|
85
|
+
exports.RateCardSummary = RateCardSummary.RateCardSummary;
|
|
86
|
+
const RateCardTier = __importStar(require("./rate-card-tier"));
|
|
87
|
+
exports.RateCardTier = RateCardTier.RateCardTier;
|
|
88
|
+
const SubscribedService = __importStar(require("./subscribed-service"));
|
|
89
|
+
exports.SubscribedService = SubscribedService.SubscribedService;
|
|
90
|
+
const SubscribedServiceAddress = __importStar(require("./subscribed-service-address"));
|
|
91
|
+
exports.SubscribedServiceAddress = SubscribedServiceAddress.SubscribedServiceAddress;
|
|
92
|
+
const SubscribedServiceBusinessPartner = __importStar(require("./subscribed-service-business-partner"));
|
|
93
|
+
exports.SubscribedServiceBusinessPartner = SubscribedServiceBusinessPartner.SubscribedServiceBusinessPartner;
|
|
94
|
+
const SubscribedServiceLocation = __importStar(require("./subscribed-service-location"));
|
|
95
|
+
exports.SubscribedServiceLocation = SubscribedServiceLocation.SubscribedServiceLocation;
|
|
96
|
+
const SubscribedServicePaymentTerm = __importStar(require("./subscribed-service-payment-term"));
|
|
97
|
+
exports.SubscribedServicePaymentTerm = SubscribedServicePaymentTerm.SubscribedServicePaymentTerm;
|
|
98
|
+
const SubscribedServiceSummary = __importStar(require("./subscribed-service-summary"));
|
|
99
|
+
exports.SubscribedServiceSummary = SubscribedServiceSummary.SubscribedServiceSummary;
|
|
100
|
+
const SubscribedServiceUser = __importStar(require("./subscribed-service-user"));
|
|
101
|
+
exports.SubscribedServiceUser = SubscribedServiceUser.SubscribedServiceUser;
|
|
102
|
+
const SubscriptionCurrency = __importStar(require("./subscription-currency"));
|
|
103
|
+
exports.SubscriptionCurrency = SubscriptionCurrency.SubscriptionCurrency;
|
|
104
|
+
const SubscriptionProduct = __importStar(require("./subscription-product"));
|
|
105
|
+
exports.SubscriptionProduct = SubscriptionProduct.SubscriptionProduct;
|
|
106
|
+
const SubscriptionSubscribedService = __importStar(require("./subscription-subscribed-service"));
|
|
107
|
+
exports.SubscriptionSubscribedService = SubscriptionSubscribedService.SubscriptionSubscribedService;
|
|
108
|
+
const SubscriptionSummary = __importStar(require("./subscription-summary"));
|
|
109
|
+
exports.SubscriptionSummary = SubscriptionSummary.SubscriptionSummary;
|
|
110
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/onesubscription/lib/model/index.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,50 @@
|
|
|
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
|
+
* Invoice Line
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export interface InvoiceLineSummary {
|
|
20
|
+
/**
|
|
21
|
+
* SPM Invoice Line internal identifier
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
"id": string;
|
|
25
|
+
"product": model.InvoicingProduct;
|
|
26
|
+
/**
|
|
27
|
+
* AR Invoice Number for Invoice Line
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
"arInvoiceNumber"?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Data Center Attribute.
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
"dataCenter": string;
|
|
36
|
+
/**
|
|
37
|
+
* Usage start time
|
|
38
|
+
*
|
|
39
|
+
*/
|
|
40
|
+
"timeStart": Date;
|
|
41
|
+
/**
|
|
42
|
+
* Usage end time
|
|
43
|
+
*
|
|
44
|
+
*/
|
|
45
|
+
"timeEnd": Date;
|
|
46
|
+
}
|
|
47
|
+
export declare namespace InvoiceLineSummary {
|
|
48
|
+
function getJsonObj(obj: InvoiceLineSummary): object;
|
|
49
|
+
function getDeserializedJsonObj(obj: InvoiceLineSummary): object;
|
|
50
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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.InvoiceLineSummary = void 0;
|
|
36
|
+
const model = __importStar(require("../model"));
|
|
37
|
+
var InvoiceLineSummary;
|
|
38
|
+
(function (InvoiceLineSummary) {
|
|
39
|
+
function getJsonObj(obj) {
|
|
40
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
41
|
+
"product": obj.product ? model.InvoicingProduct.getJsonObj(obj.product) : undefined
|
|
42
|
+
});
|
|
43
|
+
return jsonObj;
|
|
44
|
+
}
|
|
45
|
+
InvoiceLineSummary.getJsonObj = getJsonObj;
|
|
46
|
+
function getDeserializedJsonObj(obj) {
|
|
47
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
48
|
+
"product": obj.product
|
|
49
|
+
? model.InvoicingProduct.getDeserializedJsonObj(obj.product)
|
|
50
|
+
: undefined
|
|
51
|
+
});
|
|
52
|
+
return jsonObj;
|
|
53
|
+
}
|
|
54
|
+
InvoiceLineSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
55
|
+
})(InvoiceLineSummary = exports.InvoiceLineSummary || (exports.InvoiceLineSummary = {}));
|
|
56
|
+
//# sourceMappingURL=invoice-line-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"invoice-line-summary.js","sourceRoot":"","sources":["../../../../../lib/onesubscription/lib/model/invoice-line-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAoClC,IAAiB,kBAAkB,CAuBlC;AAvBD,WAAiB,kBAAkB;IACjC,SAAgB,UAAU,CAAC,GAAuB;QAChD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,SAAS,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,UAAU,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;SACpF,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,6BAAU,aASzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAuB;QAC5D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,SAAS,EAAE,GAAG,CAAC,OAAO;gBACpB,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,sBAAsB,CAAC,GAAG,CAAC,OAAO,CAAC;gBAC5D,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,yCAAsB,yBAWrC,CAAA;AACH,CAAC,EAvBgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAuBlC"}
|
|
@@ -0,0 +1,95 @@
|
|
|
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
|
+
* Invoice details
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export interface InvoiceSummary {
|
|
20
|
+
/**
|
|
21
|
+
* SPM Document Number is an functional identifier for invoice in SPM
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
"spmInvoiceNumber": string;
|
|
25
|
+
/**
|
|
26
|
+
* AR Invoice Numbers comma separated under one invoice
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
"arInvoices"?: string;
|
|
30
|
+
"billToCustomer": model.InvoicingBusinessPartner;
|
|
31
|
+
"billToContact": model.InvoicingUser;
|
|
32
|
+
"billToAddress": model.InvoicingAddress;
|
|
33
|
+
/**
|
|
34
|
+
* Payment Method
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
"paymentMethod": string;
|
|
38
|
+
"paymentTerm": model.InvoicingPaymentTerm;
|
|
39
|
+
/**
|
|
40
|
+
* Receipt Method of Payment Mode
|
|
41
|
+
*
|
|
42
|
+
*/
|
|
43
|
+
"receiptMethod"?: string;
|
|
44
|
+
"currency": model.InvoicingCurrency;
|
|
45
|
+
"organization": model.InvoicingOrganization;
|
|
46
|
+
/**
|
|
47
|
+
* Document Type in SPM like SPM Invoice,SPM Credit Memo etc.,
|
|
48
|
+
*
|
|
49
|
+
*/
|
|
50
|
+
"type": string;
|
|
51
|
+
/**
|
|
52
|
+
* Document Status in SPM which depicts current state of invoice
|
|
53
|
+
*
|
|
54
|
+
*/
|
|
55
|
+
"status": string;
|
|
56
|
+
/**
|
|
57
|
+
* Invoice associated subscription plan number.
|
|
58
|
+
*
|
|
59
|
+
*/
|
|
60
|
+
"subscriptionNumber": string;
|
|
61
|
+
/**
|
|
62
|
+
* Invoice Date
|
|
63
|
+
*
|
|
64
|
+
*/
|
|
65
|
+
"timeInvoiceDate": Date;
|
|
66
|
+
/**
|
|
67
|
+
* SPM Invocie creation date
|
|
68
|
+
*
|
|
69
|
+
*/
|
|
70
|
+
"timeCreated"?: Date;
|
|
71
|
+
/**
|
|
72
|
+
* User that executed SPM Invoice process
|
|
73
|
+
*
|
|
74
|
+
*/
|
|
75
|
+
"createdBy"?: string;
|
|
76
|
+
/**
|
|
77
|
+
* SPM Invoice updated date
|
|
78
|
+
*
|
|
79
|
+
*/
|
|
80
|
+
"timeUpdated"?: Date;
|
|
81
|
+
/**
|
|
82
|
+
* User that updated SPM Invoice
|
|
83
|
+
*
|
|
84
|
+
*/
|
|
85
|
+
"updatedBy"?: string;
|
|
86
|
+
/**
|
|
87
|
+
* Invoice Lines under particular invoice.
|
|
88
|
+
*
|
|
89
|
+
*/
|
|
90
|
+
"invoiceLines"?: Array<model.InvoiceLineSummary>;
|
|
91
|
+
}
|
|
92
|
+
export declare namespace InvoiceSummary {
|
|
93
|
+
function getJsonObj(obj: InvoiceSummary): object;
|
|
94
|
+
function getDeserializedJsonObj(obj: InvoiceSummary): object;
|
|
95
|
+
}
|