@managespace/sdk 0.0.124 → 0.0.125
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/dist/extensibility/functions/project/billing.d.ts +9 -1
- package/dist/extensibility/functions/project/billing.d.ts.map +1 -1
- package/dist/extensibility/functions/project/billing.js +5 -0
- package/dist/generated/apis/default-api.d.ts +24 -1
- package/dist/generated/apis/default-api.d.ts.map +1 -1
- package/dist/generated/apis/default-api.js +76 -1
- package/dist/generated/models/create-note.d.ts +6 -0
- package/dist/generated/models/create-note.d.ts.map +1 -1
- package/dist/generated/models/create-note.js +2 -0
- package/dist/generated/models/create-product-custom.d.ts +6 -0
- package/dist/generated/models/create-product-custom.d.ts.map +1 -1
- package/dist/generated/models/create-product-custom.js +2 -0
- package/dist/generated/models/create-subscription.d.ts +166 -4
- package/dist/generated/models/create-subscription.d.ts.map +1 -1
- package/dist/generated/models/create-subscription.js +58 -12
- package/dist/generated/models/index.d.ts +2 -0
- package/dist/generated/models/index.d.ts.map +1 -1
- package/dist/generated/models/index.js +2 -0
- package/dist/generated/models/note.d.ts +6 -0
- package/dist/generated/models/note.d.ts.map +1 -1
- package/dist/generated/models/note.js +4 -0
- package/dist/generated/models/product-custom.d.ts +6 -0
- package/dist/generated/models/product-custom.d.ts.map +1 -1
- package/dist/generated/models/product-custom.js +2 -0
- package/dist/generated/models/subscription.d.ts +120 -78
- package/dist/generated/models/subscription.d.ts.map +1 -1
- package/dist/generated/models/subscription.js +56 -90
- package/dist/generated/models/update-note.d.ts +1 -19
- package/dist/generated/models/update-note.d.ts.map +1 -1
- package/dist/generated/models/update-note.js +3 -7
- package/package.json +1 -1
- package/src/extensibility/functions/project/billing.ts +11 -2
- package/src/generated/.openapi-generator/FILES +2 -0
- package/src/generated/apis/default-api.ts +66 -1
- package/src/generated/models/create-product-custom.ts +8 -0
- package/src/generated/models/create-subscription.ts +224 -12
- package/src/generated/models/index.ts +2 -0
- package/src/generated/models/product-custom.ts +8 -0
- package/src/generated/models/subscription.ts +175 -143
- package/src/generated/models/update-subscription-charge.ts +430 -0
- package/src/generated/models/update-subscription.ts +331 -0
|
@@ -0,0 +1,430 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* ManageSpace API
|
|
5
|
+
* ManageSpace API Documentation
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { TransactionPostingEntries } from './transaction-posting-entries';
|
|
17
|
+
import {
|
|
18
|
+
TransactionPostingEntriesFromJSON,
|
|
19
|
+
TransactionPostingEntriesFromJSONTyped,
|
|
20
|
+
TransactionPostingEntriesToJSON,
|
|
21
|
+
TransactionPostingEntriesToJSONTyped,
|
|
22
|
+
} from './transaction-posting-entries';
|
|
23
|
+
import type { ChargeTier } from './charge-tier';
|
|
24
|
+
import {
|
|
25
|
+
ChargeTierFromJSON,
|
|
26
|
+
ChargeTierFromJSONTyped,
|
|
27
|
+
ChargeTierToJSON,
|
|
28
|
+
ChargeTierToJSONTyped,
|
|
29
|
+
} from './charge-tier';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
* @interface UpdateSubscriptionCharge
|
|
35
|
+
*/
|
|
36
|
+
export interface UpdateSubscriptionCharge {
|
|
37
|
+
/**
|
|
38
|
+
* Product ID
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof UpdateSubscriptionCharge
|
|
41
|
+
*/
|
|
42
|
+
productId: string;
|
|
43
|
+
/**
|
|
44
|
+
* Name of product
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof UpdateSubscriptionCharge
|
|
47
|
+
*/
|
|
48
|
+
productName?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Plan ID
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof UpdateSubscriptionCharge
|
|
53
|
+
*/
|
|
54
|
+
planId: string;
|
|
55
|
+
/**
|
|
56
|
+
* Name of plan
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof UpdateSubscriptionCharge
|
|
59
|
+
*/
|
|
60
|
+
planName?: string;
|
|
61
|
+
/**
|
|
62
|
+
* Name of charge
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof UpdateSubscriptionCharge
|
|
65
|
+
*/
|
|
66
|
+
chargeName: string;
|
|
67
|
+
/**
|
|
68
|
+
* How charge will be priced
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof UpdateSubscriptionCharge
|
|
71
|
+
*/
|
|
72
|
+
pricingModel?: string;
|
|
73
|
+
/**
|
|
74
|
+
* How charge will be priced
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof UpdateSubscriptionCharge
|
|
77
|
+
*/
|
|
78
|
+
priceBase?: string;
|
|
79
|
+
/**
|
|
80
|
+
* Quantity of item included
|
|
81
|
+
* @type {number}
|
|
82
|
+
* @memberof UpdateSubscriptionCharge
|
|
83
|
+
*/
|
|
84
|
+
quantity?: number;
|
|
85
|
+
/**
|
|
86
|
+
* Number of units included in plan
|
|
87
|
+
* @type {number}
|
|
88
|
+
* @memberof UpdateSubscriptionCharge
|
|
89
|
+
*/
|
|
90
|
+
includedUnits?: number;
|
|
91
|
+
/**
|
|
92
|
+
* Discount applied to product
|
|
93
|
+
* @type {number}
|
|
94
|
+
* @memberof UpdateSubscriptionCharge
|
|
95
|
+
*/
|
|
96
|
+
discount?: number;
|
|
97
|
+
/**
|
|
98
|
+
* Effective price of product
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof UpdateSubscriptionCharge
|
|
101
|
+
*/
|
|
102
|
+
effectivePrice?: string;
|
|
103
|
+
/**
|
|
104
|
+
* For recurrign charges, when the charge is billed
|
|
105
|
+
* @type {string}
|
|
106
|
+
* @memberof UpdateSubscriptionCharge
|
|
107
|
+
*/
|
|
108
|
+
chargeTiming?: string;
|
|
109
|
+
/**
|
|
110
|
+
* Determine boundary of Charge period
|
|
111
|
+
* @type {string}
|
|
112
|
+
* @memberof UpdateSubscriptionCharge
|
|
113
|
+
*/
|
|
114
|
+
billingPeriodStartAlignment?: string;
|
|
115
|
+
/**
|
|
116
|
+
* Which day of the month or week Charge is invoiced
|
|
117
|
+
* @type {string}
|
|
118
|
+
* @memberof UpdateSubscriptionCharge
|
|
119
|
+
*/
|
|
120
|
+
billingDay?: string;
|
|
121
|
+
/**
|
|
122
|
+
* Charge for partial periods
|
|
123
|
+
* @type {boolean}
|
|
124
|
+
* @memberof UpdateSubscriptionCharge
|
|
125
|
+
*/
|
|
126
|
+
proratePartialPeriods?: boolean;
|
|
127
|
+
/**
|
|
128
|
+
* Number of periods/units to charge
|
|
129
|
+
* @type {number}
|
|
130
|
+
* @memberof UpdateSubscriptionCharge
|
|
131
|
+
*/
|
|
132
|
+
prepaymentPeriods?: number;
|
|
133
|
+
/**
|
|
134
|
+
* For usage charges, number of prepayment units
|
|
135
|
+
* @type {number}
|
|
136
|
+
* @memberof UpdateSubscriptionCharge
|
|
137
|
+
*/
|
|
138
|
+
prepaymentAmount?: number;
|
|
139
|
+
/**
|
|
140
|
+
* For one time charges, when billing will happen
|
|
141
|
+
* @type {string}
|
|
142
|
+
* @memberof UpdateSubscriptionCharge
|
|
143
|
+
*/
|
|
144
|
+
chargeBillingDate?: string;
|
|
145
|
+
/**
|
|
146
|
+
* For one time charges, display completion date if chosen as charge effective date
|
|
147
|
+
* @type {string}
|
|
148
|
+
* @memberof UpdateSubscriptionCharge
|
|
149
|
+
*/
|
|
150
|
+
completionDate?: string;
|
|
151
|
+
/**
|
|
152
|
+
* Unique subscription line id
|
|
153
|
+
* @type {string}
|
|
154
|
+
* @memberof UpdateSubscriptionCharge
|
|
155
|
+
*/
|
|
156
|
+
subscriptionLineId?: string;
|
|
157
|
+
/**
|
|
158
|
+
* start date of current period
|
|
159
|
+
* @type {string}
|
|
160
|
+
* @memberof UpdateSubscriptionCharge
|
|
161
|
+
*/
|
|
162
|
+
currentPeriodStartDate?: string;
|
|
163
|
+
/**
|
|
164
|
+
* end date of current period
|
|
165
|
+
* @type {string}
|
|
166
|
+
* @memberof UpdateSubscriptionCharge
|
|
167
|
+
*/
|
|
168
|
+
currentPeriodEndDate?: string;
|
|
169
|
+
/**
|
|
170
|
+
* Unique billing schedule id
|
|
171
|
+
* @type {string}
|
|
172
|
+
* @memberof UpdateSubscriptionCharge
|
|
173
|
+
*/
|
|
174
|
+
billingScheduleId?: string;
|
|
175
|
+
/**
|
|
176
|
+
* Charge end date
|
|
177
|
+
* @type {string}
|
|
178
|
+
* @memberof UpdateSubscriptionCharge
|
|
179
|
+
*/
|
|
180
|
+
chargeEndDate?: string;
|
|
181
|
+
/**
|
|
182
|
+
* Date subscription contract will start
|
|
183
|
+
* @type {number}
|
|
184
|
+
* @memberof UpdateSubscriptionCharge
|
|
185
|
+
*/
|
|
186
|
+
renewalIncrementPercent?: number;
|
|
187
|
+
/**
|
|
188
|
+
* Override automatic renewal increment percent
|
|
189
|
+
* @type {boolean}
|
|
190
|
+
* @memberof UpdateSubscriptionCharge
|
|
191
|
+
*/
|
|
192
|
+
overrideRenewalIncrementPercent?: boolean;
|
|
193
|
+
/**
|
|
194
|
+
* Charge start date
|
|
195
|
+
* @type {string}
|
|
196
|
+
* @memberof UpdateSubscriptionCharge
|
|
197
|
+
*/
|
|
198
|
+
chargeStartDate?: string;
|
|
199
|
+
/**
|
|
200
|
+
* Unit of measure
|
|
201
|
+
* @type {string}
|
|
202
|
+
* @memberof UpdateSubscriptionCharge
|
|
203
|
+
*/
|
|
204
|
+
unitOfMeasure?: string;
|
|
205
|
+
/**
|
|
206
|
+
* Unique revenue schedule id
|
|
207
|
+
* @type {string}
|
|
208
|
+
* @memberof UpdateSubscriptionCharge
|
|
209
|
+
*/
|
|
210
|
+
revenueScheduleId?: string;
|
|
211
|
+
/**
|
|
212
|
+
* Determines proration logic
|
|
213
|
+
* @type {boolean}
|
|
214
|
+
* @memberof UpdateSubscriptionCharge
|
|
215
|
+
*/
|
|
216
|
+
backchargeCurrentPeriod?: boolean;
|
|
217
|
+
/**
|
|
218
|
+
* For tiered/volume pricing, each tier will represent price of specific units in given range
|
|
219
|
+
* @type {Array<ChargeTier>}
|
|
220
|
+
* @memberof UpdateSubscriptionCharge
|
|
221
|
+
*/
|
|
222
|
+
tiers?: Array<ChargeTier>;
|
|
223
|
+
/**
|
|
224
|
+
* Last charge date
|
|
225
|
+
* @type {string}
|
|
226
|
+
* @memberof UpdateSubscriptionCharge
|
|
227
|
+
*/
|
|
228
|
+
lastChargeDate?: string;
|
|
229
|
+
/**
|
|
230
|
+
* Accounting information can be overridden
|
|
231
|
+
* @type {boolean}
|
|
232
|
+
* @memberof UpdateSubscriptionCharge
|
|
233
|
+
*/
|
|
234
|
+
defaultFromPlan?: boolean;
|
|
235
|
+
/**
|
|
236
|
+
* Contracted MRR per charge
|
|
237
|
+
* @type {string}
|
|
238
|
+
* @memberof UpdateSubscriptionCharge
|
|
239
|
+
*/
|
|
240
|
+
cmrr?: string;
|
|
241
|
+
/**
|
|
242
|
+
* Revenue rule ID
|
|
243
|
+
* @type {string}
|
|
244
|
+
* @memberof UpdateSubscriptionCharge
|
|
245
|
+
*/
|
|
246
|
+
revenueRuleId?: string;
|
|
247
|
+
/**
|
|
248
|
+
* Date when revenue recognition will begin
|
|
249
|
+
* @type {string}
|
|
250
|
+
* @memberof UpdateSubscriptionCharge
|
|
251
|
+
*/
|
|
252
|
+
recognitionStartDate?: string;
|
|
253
|
+
/**
|
|
254
|
+
* Date to customize revenue recognition Start
|
|
255
|
+
* @type {string}
|
|
256
|
+
* @memberof UpdateSubscriptionCharge
|
|
257
|
+
*/
|
|
258
|
+
customRecognitionStartDate?: string;
|
|
259
|
+
/**
|
|
260
|
+
* For one-time charge, date to customize revenue recognition End
|
|
261
|
+
* @type {string}
|
|
262
|
+
* @memberof UpdateSubscriptionCharge
|
|
263
|
+
*/
|
|
264
|
+
customRecognitionEndDate?: string;
|
|
265
|
+
/**
|
|
266
|
+
* Transaction type
|
|
267
|
+
* @type {Array<TransactionPostingEntries>}
|
|
268
|
+
* @memberof UpdateSubscriptionCharge
|
|
269
|
+
*/
|
|
270
|
+
transactionPostingEntries?: Array<TransactionPostingEntries>;
|
|
271
|
+
/**
|
|
272
|
+
* Charge ID
|
|
273
|
+
* @type {string}
|
|
274
|
+
* @memberof UpdateSubscriptionCharge
|
|
275
|
+
*/
|
|
276
|
+
chargeId?: string;
|
|
277
|
+
/**
|
|
278
|
+
* Type of charge
|
|
279
|
+
* @type {string}
|
|
280
|
+
* @memberof UpdateSubscriptionCharge
|
|
281
|
+
*/
|
|
282
|
+
chargeType: string;
|
|
283
|
+
/**
|
|
284
|
+
* Billing period for recurring and usage based Charges
|
|
285
|
+
* @type {string}
|
|
286
|
+
* @memberof UpdateSubscriptionCharge
|
|
287
|
+
*/
|
|
288
|
+
billingPeriod: string;
|
|
289
|
+
/**
|
|
290
|
+
* List price of product
|
|
291
|
+
* @type {string}
|
|
292
|
+
* @memberof UpdateSubscriptionCharge
|
|
293
|
+
*/
|
|
294
|
+
listPrice: string;
|
|
295
|
+
/**
|
|
296
|
+
* Asset ID
|
|
297
|
+
* @type {string}
|
|
298
|
+
* @memberof UpdateSubscriptionCharge
|
|
299
|
+
*/
|
|
300
|
+
assetId?: string;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* Check if a given object implements the UpdateSubscriptionCharge interface.
|
|
305
|
+
*/
|
|
306
|
+
export function instanceOfUpdateSubscriptionCharge(value: object): value is UpdateSubscriptionCharge {
|
|
307
|
+
if (!('productId' in value) || value['productId'] === undefined) return false;
|
|
308
|
+
if (!('planId' in value) || value['planId'] === undefined) return false;
|
|
309
|
+
if (!('chargeName' in value) || value['chargeName'] === undefined) return false;
|
|
310
|
+
if (!('chargeType' in value) || value['chargeType'] === undefined) return false;
|
|
311
|
+
if (!('billingPeriod' in value) || value['billingPeriod'] === undefined) return false;
|
|
312
|
+
if (!('listPrice' in value) || value['listPrice'] === undefined) return false;
|
|
313
|
+
return true;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
export function UpdateSubscriptionChargeFromJSON(json: any): UpdateSubscriptionCharge {
|
|
317
|
+
return UpdateSubscriptionChargeFromJSONTyped(json, false);
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
export function UpdateSubscriptionChargeFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateSubscriptionCharge {
|
|
321
|
+
if (json == null) {
|
|
322
|
+
return json;
|
|
323
|
+
}
|
|
324
|
+
return {
|
|
325
|
+
|
|
326
|
+
'productId': json['productId'],
|
|
327
|
+
'productName': json['productName'] == null ? undefined : json['productName'],
|
|
328
|
+
'planId': json['planId'],
|
|
329
|
+
'planName': json['planName'] == null ? undefined : json['planName'],
|
|
330
|
+
'chargeName': json['chargeName'],
|
|
331
|
+
'pricingModel': json['pricingModel'] == null ? undefined : json['pricingModel'],
|
|
332
|
+
'priceBase': json['priceBase'] == null ? undefined : json['priceBase'],
|
|
333
|
+
'quantity': json['quantity'] == null ? undefined : json['quantity'],
|
|
334
|
+
'includedUnits': json['includedUnits'] == null ? undefined : json['includedUnits'],
|
|
335
|
+
'discount': json['discount'] == null ? undefined : json['discount'],
|
|
336
|
+
'effectivePrice': json['effectivePrice'] == null ? undefined : json['effectivePrice'],
|
|
337
|
+
'chargeTiming': json['chargeTiming'] == null ? undefined : json['chargeTiming'],
|
|
338
|
+
'billingPeriodStartAlignment': json['billingPeriodStartAlignment'] == null ? undefined : json['billingPeriodStartAlignment'],
|
|
339
|
+
'billingDay': json['billingDay'] == null ? undefined : json['billingDay'],
|
|
340
|
+
'proratePartialPeriods': json['proratePartialPeriods'] == null ? undefined : json['proratePartialPeriods'],
|
|
341
|
+
'prepaymentPeriods': json['prepaymentPeriods'] == null ? undefined : json['prepaymentPeriods'],
|
|
342
|
+
'prepaymentAmount': json['prepaymentAmount'] == null ? undefined : json['prepaymentAmount'],
|
|
343
|
+
'chargeBillingDate': json['chargeBillingDate'] == null ? undefined : json['chargeBillingDate'],
|
|
344
|
+
'completionDate': json['completionDate'] == null ? undefined : json['completionDate'],
|
|
345
|
+
'subscriptionLineId': json['subscriptionLineId'] == null ? undefined : json['subscriptionLineId'],
|
|
346
|
+
'currentPeriodStartDate': json['currentPeriodStartDate'] == null ? undefined : json['currentPeriodStartDate'],
|
|
347
|
+
'currentPeriodEndDate': json['currentPeriodEndDate'] == null ? undefined : json['currentPeriodEndDate'],
|
|
348
|
+
'billingScheduleId': json['billingScheduleId'] == null ? undefined : json['billingScheduleId'],
|
|
349
|
+
'chargeEndDate': json['chargeEndDate'] == null ? undefined : json['chargeEndDate'],
|
|
350
|
+
'renewalIncrementPercent': json['renewalIncrementPercent'] == null ? undefined : json['renewalIncrementPercent'],
|
|
351
|
+
'overrideRenewalIncrementPercent': json['overrideRenewalIncrementPercent'] == null ? undefined : json['overrideRenewalIncrementPercent'],
|
|
352
|
+
'chargeStartDate': json['chargeStartDate'] == null ? undefined : json['chargeStartDate'],
|
|
353
|
+
'unitOfMeasure': json['unitOfMeasure'] == null ? undefined : json['unitOfMeasure'],
|
|
354
|
+
'revenueScheduleId': json['revenueScheduleId'] == null ? undefined : json['revenueScheduleId'],
|
|
355
|
+
'backchargeCurrentPeriod': json['backchargeCurrentPeriod'] == null ? undefined : json['backchargeCurrentPeriod'],
|
|
356
|
+
'tiers': json['tiers'] == null ? undefined : ((json['tiers'] as Array<any>).map(ChargeTierFromJSON)),
|
|
357
|
+
'lastChargeDate': json['lastChargeDate'] == null ? undefined : json['lastChargeDate'],
|
|
358
|
+
'defaultFromPlan': json['defaultFromPlan'] == null ? undefined : json['defaultFromPlan'],
|
|
359
|
+
'cmrr': json['cmrr'] == null ? undefined : json['cmrr'],
|
|
360
|
+
'revenueRuleId': json['revenueRuleId'] == null ? undefined : json['revenueRuleId'],
|
|
361
|
+
'recognitionStartDate': json['recognitionStartDate'] == null ? undefined : json['recognitionStartDate'],
|
|
362
|
+
'customRecognitionStartDate': json['customRecognitionStartDate'] == null ? undefined : json['customRecognitionStartDate'],
|
|
363
|
+
'customRecognitionEndDate': json['customRecognitionEndDate'] == null ? undefined : json['customRecognitionEndDate'],
|
|
364
|
+
'transactionPostingEntries': json['transactionPostingEntries'] == null ? undefined : ((json['transactionPostingEntries'] as Array<any>).map(TransactionPostingEntriesFromJSON)),
|
|
365
|
+
'chargeId': json['chargeId'] == null ? undefined : json['chargeId'],
|
|
366
|
+
'chargeType': json['chargeType'],
|
|
367
|
+
'billingPeriod': json['billingPeriod'],
|
|
368
|
+
'listPrice': json['listPrice'],
|
|
369
|
+
'assetId': json['assetId'] == null ? undefined : json['assetId'],
|
|
370
|
+
};
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
export function UpdateSubscriptionChargeToJSON(json: any): UpdateSubscriptionCharge {
|
|
374
|
+
return UpdateSubscriptionChargeToJSONTyped(json, false);
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
export function UpdateSubscriptionChargeToJSONTyped(value?: UpdateSubscriptionCharge | null, ignoreDiscriminator: boolean = false): any {
|
|
378
|
+
if (value == null) {
|
|
379
|
+
return value;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
return {
|
|
383
|
+
|
|
384
|
+
'productId': value['productId'],
|
|
385
|
+
'productName': value['productName'],
|
|
386
|
+
'planId': value['planId'],
|
|
387
|
+
'planName': value['planName'],
|
|
388
|
+
'chargeName': value['chargeName'],
|
|
389
|
+
'pricingModel': value['pricingModel'],
|
|
390
|
+
'priceBase': value['priceBase'],
|
|
391
|
+
'quantity': value['quantity'],
|
|
392
|
+
'includedUnits': value['includedUnits'],
|
|
393
|
+
'discount': value['discount'],
|
|
394
|
+
'effectivePrice': value['effectivePrice'],
|
|
395
|
+
'chargeTiming': value['chargeTiming'],
|
|
396
|
+
'billingPeriodStartAlignment': value['billingPeriodStartAlignment'],
|
|
397
|
+
'billingDay': value['billingDay'],
|
|
398
|
+
'proratePartialPeriods': value['proratePartialPeriods'],
|
|
399
|
+
'prepaymentPeriods': value['prepaymentPeriods'],
|
|
400
|
+
'prepaymentAmount': value['prepaymentAmount'],
|
|
401
|
+
'chargeBillingDate': value['chargeBillingDate'],
|
|
402
|
+
'completionDate': value['completionDate'],
|
|
403
|
+
'subscriptionLineId': value['subscriptionLineId'],
|
|
404
|
+
'currentPeriodStartDate': value['currentPeriodStartDate'],
|
|
405
|
+
'currentPeriodEndDate': value['currentPeriodEndDate'],
|
|
406
|
+
'billingScheduleId': value['billingScheduleId'],
|
|
407
|
+
'chargeEndDate': value['chargeEndDate'],
|
|
408
|
+
'renewalIncrementPercent': value['renewalIncrementPercent'],
|
|
409
|
+
'overrideRenewalIncrementPercent': value['overrideRenewalIncrementPercent'],
|
|
410
|
+
'chargeStartDate': value['chargeStartDate'],
|
|
411
|
+
'unitOfMeasure': value['unitOfMeasure'],
|
|
412
|
+
'revenueScheduleId': value['revenueScheduleId'],
|
|
413
|
+
'backchargeCurrentPeriod': value['backchargeCurrentPeriod'],
|
|
414
|
+
'tiers': value['tiers'] == null ? undefined : ((value['tiers'] as Array<any>).map(ChargeTierToJSON)),
|
|
415
|
+
'lastChargeDate': value['lastChargeDate'],
|
|
416
|
+
'defaultFromPlan': value['defaultFromPlan'],
|
|
417
|
+
'cmrr': value['cmrr'],
|
|
418
|
+
'revenueRuleId': value['revenueRuleId'],
|
|
419
|
+
'recognitionStartDate': value['recognitionStartDate'],
|
|
420
|
+
'customRecognitionStartDate': value['customRecognitionStartDate'],
|
|
421
|
+
'customRecognitionEndDate': value['customRecognitionEndDate'],
|
|
422
|
+
'transactionPostingEntries': value['transactionPostingEntries'] == null ? undefined : ((value['transactionPostingEntries'] as Array<any>).map(TransactionPostingEntriesToJSON)),
|
|
423
|
+
'chargeId': value['chargeId'],
|
|
424
|
+
'chargeType': value['chargeType'],
|
|
425
|
+
'billingPeriod': value['billingPeriod'],
|
|
426
|
+
'listPrice': value['listPrice'],
|
|
427
|
+
'assetId': value['assetId'],
|
|
428
|
+
};
|
|
429
|
+
}
|
|
430
|
+
|