@managespace/sdk 0.0.136 → 0.0.138
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 +4 -4
- package/dist/extensibility/functions/project/billing.d.ts.map +1 -1
- package/dist/extensibility/functions/project/billing.js +2 -2
- package/dist/extensibility/functions/project/document.d.ts +14 -1
- package/dist/extensibility/functions/project/document.d.ts.map +1 -1
- package/dist/extensibility/functions/project/document.js +10 -0
- package/dist/generated/apis/default-api.d.ts +61 -11
- package/dist/generated/apis/default-api.d.ts.map +1 -1
- package/dist/generated/apis/default-api.js +195 -33
- package/dist/generated/models/document-signed.d.ts +6 -0
- package/dist/generated/models/document-signed.d.ts.map +1 -1
- package/dist/generated/models/document-signed.js +4 -0
- package/dist/generated/models/document-url.d.ts +39 -0
- package/dist/generated/models/document-url.d.ts.map +1 -0
- package/dist/generated/models/document-url.js +55 -0
- package/dist/generated/models/document.d.ts +39 -0
- package/dist/generated/models/document.d.ts.map +1 -0
- package/dist/generated/models/document.js +55 -0
- package/dist/generated/models/get-documents200-response.d.ts +41 -0
- package/dist/generated/models/get-documents200-response.d.ts.map +1 -0
- package/dist/generated/models/get-documents200-response.js +55 -0
- package/dist/generated/models/index.d.ts +8 -0
- package/dist/generated/models/index.d.ts.map +1 -1
- package/dist/generated/models/index.js +8 -0
- package/dist/generated/models/upload-document.d.ts +45 -0
- package/dist/generated/models/upload-document.d.ts.map +1 -0
- package/dist/generated/models/upload-document.js +55 -0
- package/dist/generated/models/uploaded-document.d.ts +33 -0
- package/dist/generated/models/uploaded-document.d.ts.map +1 -0
- package/dist/generated/models/uploaded-document.js +51 -0
- package/dist/generated/models/uploaded-documents.d.ts +45 -0
- package/dist/generated/models/uploaded-documents.d.ts.map +1 -0
- package/dist/generated/models/uploaded-documents.js +59 -0
- package/package.json +1 -1
- package/src/extensibility/functions/project/billing.ts +14 -6
- package/src/generated/.openapi-generator/FILES +2 -3
- package/src/generated/apis/default-api.ts +117 -55
- package/src/generated/models/create-subscription.ts +224 -12
- package/src/generated/models/index.ts +2 -3
- 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
- package/src/generated/models/subscription-invoice-line.ts +0 -192
- package/src/generated/models/subscription-invoice.ts +0 -110
- package/src/generated/models/subscription-preview.ts +0 -440
|
@@ -1,440 +0,0 @@
|
|
|
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 { SubscriptionCharge } from './subscription-charge';
|
|
17
|
-
import {
|
|
18
|
-
SubscriptionChargeFromJSON,
|
|
19
|
-
SubscriptionChargeFromJSONTyped,
|
|
20
|
-
SubscriptionChargeToJSON,
|
|
21
|
-
SubscriptionChargeToJSONTyped,
|
|
22
|
-
} from './subscription-charge';
|
|
23
|
-
import type { SubscriptionInvoice } from './subscription-invoice';
|
|
24
|
-
import {
|
|
25
|
-
SubscriptionInvoiceFromJSON,
|
|
26
|
-
SubscriptionInvoiceFromJSONTyped,
|
|
27
|
-
SubscriptionInvoiceToJSON,
|
|
28
|
-
SubscriptionInvoiceToJSONTyped,
|
|
29
|
-
} from './subscription-invoice';
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @export
|
|
34
|
-
* @interface SubscriptionPreview
|
|
35
|
-
*/
|
|
36
|
-
export interface SubscriptionPreview {
|
|
37
|
-
/**
|
|
38
|
-
* Subscription ID
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof SubscriptionPreview
|
|
41
|
-
*/
|
|
42
|
-
id: string;
|
|
43
|
-
/**
|
|
44
|
-
* Customer ID
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof SubscriptionPreview
|
|
47
|
-
*/
|
|
48
|
-
externalCustomerId: string;
|
|
49
|
-
/**
|
|
50
|
-
* Customer name
|
|
51
|
-
* @type {string}
|
|
52
|
-
* @memberof SubscriptionPreview
|
|
53
|
-
*/
|
|
54
|
-
customerName: string;
|
|
55
|
-
/**
|
|
56
|
-
* Id of billing contact
|
|
57
|
-
* @type {string}
|
|
58
|
-
* @memberof SubscriptionPreview
|
|
59
|
-
*/
|
|
60
|
-
externalBillContactId: string;
|
|
61
|
-
/**
|
|
62
|
-
* Id of shipping contact
|
|
63
|
-
* @type {string}
|
|
64
|
-
* @memberof SubscriptionPreview
|
|
65
|
-
*/
|
|
66
|
-
externalShippingContactId: string;
|
|
67
|
-
/**
|
|
68
|
-
* Status of subscription contract
|
|
69
|
-
* @type {string}
|
|
70
|
-
* @memberof SubscriptionPreview
|
|
71
|
-
*/
|
|
72
|
-
status: string;
|
|
73
|
-
/**
|
|
74
|
-
* Set to defer start date
|
|
75
|
-
* @type {boolean}
|
|
76
|
-
* @memberof SubscriptionPreview
|
|
77
|
-
*/
|
|
78
|
-
deferStartDate: boolean;
|
|
79
|
-
/**
|
|
80
|
-
* Billing start date for subscription contract
|
|
81
|
-
* @type {string}
|
|
82
|
-
* @memberof SubscriptionPreview
|
|
83
|
-
*/
|
|
84
|
-
billingStartDate: string;
|
|
85
|
-
/**
|
|
86
|
-
* Service start date for subscription contract
|
|
87
|
-
* @type {string}
|
|
88
|
-
* @memberof SubscriptionPreview
|
|
89
|
-
*/
|
|
90
|
-
serviceStartDate: string;
|
|
91
|
-
/**
|
|
92
|
-
* Date order was placed
|
|
93
|
-
* @type {string}
|
|
94
|
-
* @memberof SubscriptionPreview
|
|
95
|
-
*/
|
|
96
|
-
orderPlacedAt: string;
|
|
97
|
-
/**
|
|
98
|
-
* Date subscription contract was signed and activated
|
|
99
|
-
* @type {string}
|
|
100
|
-
* @memberof SubscriptionPreview
|
|
101
|
-
*/
|
|
102
|
-
contractEffectiveDate: string;
|
|
103
|
-
/**
|
|
104
|
-
* Date subscription contract was terminated
|
|
105
|
-
* @type {string}
|
|
106
|
-
* @memberof SubscriptionPreview
|
|
107
|
-
*/
|
|
108
|
-
cancellationDate: string;
|
|
109
|
-
/**
|
|
110
|
-
* Date subscription contract to pause
|
|
111
|
-
* @type {string}
|
|
112
|
-
* @memberof SubscriptionPreview
|
|
113
|
-
*/
|
|
114
|
-
pauseEffectiveDate: string;
|
|
115
|
-
/**
|
|
116
|
-
* Date subscription contract to resume
|
|
117
|
-
* @type {string}
|
|
118
|
-
* @memberof SubscriptionPreview
|
|
119
|
-
*/
|
|
120
|
-
resumeEffectiveDate: string;
|
|
121
|
-
/**
|
|
122
|
-
* Set to extend contract on resume
|
|
123
|
-
* @type {boolean}
|
|
124
|
-
* @memberof SubscriptionPreview
|
|
125
|
-
*/
|
|
126
|
-
extendOnResume: boolean;
|
|
127
|
-
/**
|
|
128
|
-
* auto-renew subscription contract
|
|
129
|
-
* @type {boolean}
|
|
130
|
-
* @memberof SubscriptionPreview
|
|
131
|
-
*/
|
|
132
|
-
autoRenew: boolean;
|
|
133
|
-
/**
|
|
134
|
-
* currency
|
|
135
|
-
* @type {string}
|
|
136
|
-
* @memberof SubscriptionPreview
|
|
137
|
-
*/
|
|
138
|
-
currency: string;
|
|
139
|
-
/**
|
|
140
|
-
* Calculate due date of invoice
|
|
141
|
-
* @type {string}
|
|
142
|
-
* @memberof SubscriptionPreview
|
|
143
|
-
*/
|
|
144
|
-
paymentTerms: string;
|
|
145
|
-
/**
|
|
146
|
-
* Contracted MRR per charge
|
|
147
|
-
* @type {string}
|
|
148
|
-
* @memberof SubscriptionPreview
|
|
149
|
-
*/
|
|
150
|
-
cmrr: string;
|
|
151
|
-
/**
|
|
152
|
-
* MRR calculated based on % discount
|
|
153
|
-
* @type {string}
|
|
154
|
-
* @memberof SubscriptionPreview
|
|
155
|
-
*/
|
|
156
|
-
discountedCmrr: string;
|
|
157
|
-
/**
|
|
158
|
-
* separate invoice generated
|
|
159
|
-
* @type {boolean}
|
|
160
|
-
* @memberof SubscriptionPreview
|
|
161
|
-
*/
|
|
162
|
-
separateInvoice: boolean;
|
|
163
|
-
/**
|
|
164
|
-
* Miscellaneous notes
|
|
165
|
-
* @type {string}
|
|
166
|
-
* @memberof SubscriptionPreview
|
|
167
|
-
*/
|
|
168
|
-
notes: string;
|
|
169
|
-
/**
|
|
170
|
-
* Version of subscription contract
|
|
171
|
-
* @type {number}
|
|
172
|
-
* @memberof SubscriptionPreview
|
|
173
|
-
*/
|
|
174
|
-
version: number;
|
|
175
|
-
/**
|
|
176
|
-
* Subscription contract version type
|
|
177
|
-
* @type {string}
|
|
178
|
-
* @memberof SubscriptionPreview
|
|
179
|
-
*/
|
|
180
|
-
versionType: string;
|
|
181
|
-
/**
|
|
182
|
-
* Term of contract in months
|
|
183
|
-
* @type {string}
|
|
184
|
-
* @memberof SubscriptionPreview
|
|
185
|
-
*/
|
|
186
|
-
contractTerm: string;
|
|
187
|
-
/**
|
|
188
|
-
* Date subscription contract will start
|
|
189
|
-
* @type {number}
|
|
190
|
-
* @memberof SubscriptionPreview
|
|
191
|
-
*/
|
|
192
|
-
renewalIncrementPercent: number;
|
|
193
|
-
/**
|
|
194
|
-
* Total contract value of the subsctiption contract
|
|
195
|
-
* @type {number}
|
|
196
|
-
* @memberof SubscriptionPreview
|
|
197
|
-
*/
|
|
198
|
-
tcv: number;
|
|
199
|
-
/**
|
|
200
|
-
* Subscription charge details
|
|
201
|
-
* @type {Array<SubscriptionCharge>}
|
|
202
|
-
* @memberof SubscriptionPreview
|
|
203
|
-
*/
|
|
204
|
-
charges: Array<SubscriptionCharge>;
|
|
205
|
-
/**
|
|
206
|
-
* Date record was created
|
|
207
|
-
* @type {string}
|
|
208
|
-
* @memberof SubscriptionPreview
|
|
209
|
-
*/
|
|
210
|
-
createdAt: string;
|
|
211
|
-
/**
|
|
212
|
-
* Date record was created
|
|
213
|
-
* @type {string}
|
|
214
|
-
* @memberof SubscriptionPreview
|
|
215
|
-
*/
|
|
216
|
-
updatedAt: string;
|
|
217
|
-
/**
|
|
218
|
-
* Email of user who created record
|
|
219
|
-
* @type {string}
|
|
220
|
-
* @memberof SubscriptionPreview
|
|
221
|
-
*/
|
|
222
|
-
createdBy: string;
|
|
223
|
-
/**
|
|
224
|
-
* Email of user who last modifed record
|
|
225
|
-
* @type {string}
|
|
226
|
-
* @memberof SubscriptionPreview
|
|
227
|
-
*/
|
|
228
|
-
updatedBy: string;
|
|
229
|
-
/**
|
|
230
|
-
* Id of billing contact sf
|
|
231
|
-
* @type {string}
|
|
232
|
-
* @memberof SubscriptionPreview
|
|
233
|
-
*/
|
|
234
|
-
billContactSfId: string;
|
|
235
|
-
/**
|
|
236
|
-
* Id of shipping contact sf
|
|
237
|
-
* @type {string}
|
|
238
|
-
* @memberof SubscriptionPreview
|
|
239
|
-
*/
|
|
240
|
-
shippingContactSfId: string;
|
|
241
|
-
/**
|
|
242
|
-
* Custom fields on the invoice
|
|
243
|
-
* @type {object}
|
|
244
|
-
* @memberof SubscriptionPreview
|
|
245
|
-
*/
|
|
246
|
-
customFields: object;
|
|
247
|
-
/**
|
|
248
|
-
* Asset ID
|
|
249
|
-
* @type {string}
|
|
250
|
-
* @memberof SubscriptionPreview
|
|
251
|
-
*/
|
|
252
|
-
assetId?: string;
|
|
253
|
-
/**
|
|
254
|
-
* Site ID
|
|
255
|
-
* @type {string}
|
|
256
|
-
* @memberof SubscriptionPreview
|
|
257
|
-
*/
|
|
258
|
-
siteId: string;
|
|
259
|
-
/**
|
|
260
|
-
* External id associated with subscription
|
|
261
|
-
* @type {string}
|
|
262
|
-
* @memberof SubscriptionPreview
|
|
263
|
-
*/
|
|
264
|
-
externalId: string;
|
|
265
|
-
/**
|
|
266
|
-
* Subscription Current Invoice line items
|
|
267
|
-
* @type {SubscriptionInvoice}
|
|
268
|
-
* @memberof SubscriptionPreview
|
|
269
|
-
*/
|
|
270
|
-
currentInvoice: SubscriptionInvoice;
|
|
271
|
-
/**
|
|
272
|
-
* Subscription Next Invoice line items
|
|
273
|
-
* @type {SubscriptionInvoice}
|
|
274
|
-
* @memberof SubscriptionPreview
|
|
275
|
-
*/
|
|
276
|
-
nextInvoice: SubscriptionInvoice;
|
|
277
|
-
/**
|
|
278
|
-
* Estimated tax amount
|
|
279
|
-
* @type {string}
|
|
280
|
-
* @memberof SubscriptionPreview
|
|
281
|
-
*/
|
|
282
|
-
estimatedTax: string;
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
/**
|
|
286
|
-
* Check if a given object implements the SubscriptionPreview interface.
|
|
287
|
-
*/
|
|
288
|
-
export function instanceOfSubscriptionPreview(value: object): value is SubscriptionPreview {
|
|
289
|
-
if (!('id' in value) || value['id'] === undefined) return false;
|
|
290
|
-
if (!('externalCustomerId' in value) || value['externalCustomerId'] === undefined) return false;
|
|
291
|
-
if (!('customerName' in value) || value['customerName'] === undefined) return false;
|
|
292
|
-
if (!('externalBillContactId' in value) || value['externalBillContactId'] === undefined) return false;
|
|
293
|
-
if (!('externalShippingContactId' in value) || value['externalShippingContactId'] === undefined) return false;
|
|
294
|
-
if (!('status' in value) || value['status'] === undefined) return false;
|
|
295
|
-
if (!('deferStartDate' in value) || value['deferStartDate'] === undefined) return false;
|
|
296
|
-
if (!('billingStartDate' in value) || value['billingStartDate'] === undefined) return false;
|
|
297
|
-
if (!('serviceStartDate' in value) || value['serviceStartDate'] === undefined) return false;
|
|
298
|
-
if (!('orderPlacedAt' in value) || value['orderPlacedAt'] === undefined) return false;
|
|
299
|
-
if (!('contractEffectiveDate' in value) || value['contractEffectiveDate'] === undefined) return false;
|
|
300
|
-
if (!('cancellationDate' in value) || value['cancellationDate'] === undefined) return false;
|
|
301
|
-
if (!('pauseEffectiveDate' in value) || value['pauseEffectiveDate'] === undefined) return false;
|
|
302
|
-
if (!('resumeEffectiveDate' in value) || value['resumeEffectiveDate'] === undefined) return false;
|
|
303
|
-
if (!('extendOnResume' in value) || value['extendOnResume'] === undefined) return false;
|
|
304
|
-
if (!('autoRenew' in value) || value['autoRenew'] === undefined) return false;
|
|
305
|
-
if (!('currency' in value) || value['currency'] === undefined) return false;
|
|
306
|
-
if (!('paymentTerms' in value) || value['paymentTerms'] === undefined) return false;
|
|
307
|
-
if (!('cmrr' in value) || value['cmrr'] === undefined) return false;
|
|
308
|
-
if (!('discountedCmrr' in value) || value['discountedCmrr'] === undefined) return false;
|
|
309
|
-
if (!('separateInvoice' in value) || value['separateInvoice'] === undefined) return false;
|
|
310
|
-
if (!('notes' in value) || value['notes'] === undefined) return false;
|
|
311
|
-
if (!('version' in value) || value['version'] === undefined) return false;
|
|
312
|
-
if (!('versionType' in value) || value['versionType'] === undefined) return false;
|
|
313
|
-
if (!('contractTerm' in value) || value['contractTerm'] === undefined) return false;
|
|
314
|
-
if (!('renewalIncrementPercent' in value) || value['renewalIncrementPercent'] === undefined) return false;
|
|
315
|
-
if (!('tcv' in value) || value['tcv'] === undefined) return false;
|
|
316
|
-
if (!('charges' in value) || value['charges'] === undefined) return false;
|
|
317
|
-
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
318
|
-
if (!('updatedAt' in value) || value['updatedAt'] === undefined) return false;
|
|
319
|
-
if (!('createdBy' in value) || value['createdBy'] === undefined) return false;
|
|
320
|
-
if (!('updatedBy' in value) || value['updatedBy'] === undefined) return false;
|
|
321
|
-
if (!('billContactSfId' in value) || value['billContactSfId'] === undefined) return false;
|
|
322
|
-
if (!('shippingContactSfId' in value) || value['shippingContactSfId'] === undefined) return false;
|
|
323
|
-
if (!('customFields' in value) || value['customFields'] === undefined) return false;
|
|
324
|
-
if (!('siteId' in value) || value['siteId'] === undefined) return false;
|
|
325
|
-
if (!('externalId' in value) || value['externalId'] === undefined) return false;
|
|
326
|
-
if (!('currentInvoice' in value) || value['currentInvoice'] === undefined) return false;
|
|
327
|
-
if (!('nextInvoice' in value) || value['nextInvoice'] === undefined) return false;
|
|
328
|
-
if (!('estimatedTax' in value) || value['estimatedTax'] === undefined) return false;
|
|
329
|
-
return true;
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
export function SubscriptionPreviewFromJSON(json: any): SubscriptionPreview {
|
|
333
|
-
return SubscriptionPreviewFromJSONTyped(json, false);
|
|
334
|
-
}
|
|
335
|
-
|
|
336
|
-
export function SubscriptionPreviewFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriptionPreview {
|
|
337
|
-
if (json == null) {
|
|
338
|
-
return json;
|
|
339
|
-
}
|
|
340
|
-
return {
|
|
341
|
-
|
|
342
|
-
'id': json['id'],
|
|
343
|
-
'externalCustomerId': json['externalCustomerId'],
|
|
344
|
-
'customerName': json['customerName'],
|
|
345
|
-
'externalBillContactId': json['externalBillContactId'],
|
|
346
|
-
'externalShippingContactId': json['externalShippingContactId'],
|
|
347
|
-
'status': json['status'],
|
|
348
|
-
'deferStartDate': json['deferStartDate'],
|
|
349
|
-
'billingStartDate': json['billingStartDate'],
|
|
350
|
-
'serviceStartDate': json['serviceStartDate'],
|
|
351
|
-
'orderPlacedAt': json['orderPlacedAt'],
|
|
352
|
-
'contractEffectiveDate': json['contractEffectiveDate'],
|
|
353
|
-
'cancellationDate': json['cancellationDate'],
|
|
354
|
-
'pauseEffectiveDate': json['pauseEffectiveDate'],
|
|
355
|
-
'resumeEffectiveDate': json['resumeEffectiveDate'],
|
|
356
|
-
'extendOnResume': json['extendOnResume'],
|
|
357
|
-
'autoRenew': json['autoRenew'],
|
|
358
|
-
'currency': json['currency'],
|
|
359
|
-
'paymentTerms': json['paymentTerms'],
|
|
360
|
-
'cmrr': json['cmrr'],
|
|
361
|
-
'discountedCmrr': json['discountedCmrr'],
|
|
362
|
-
'separateInvoice': json['separateInvoice'],
|
|
363
|
-
'notes': json['notes'],
|
|
364
|
-
'version': json['version'],
|
|
365
|
-
'versionType': json['versionType'],
|
|
366
|
-
'contractTerm': json['contractTerm'],
|
|
367
|
-
'renewalIncrementPercent': json['renewalIncrementPercent'],
|
|
368
|
-
'tcv': json['tcv'],
|
|
369
|
-
'charges': ((json['charges'] as Array<any>).map(SubscriptionChargeFromJSON)),
|
|
370
|
-
'createdAt': json['createdAt'],
|
|
371
|
-
'updatedAt': json['updatedAt'],
|
|
372
|
-
'createdBy': json['createdBy'],
|
|
373
|
-
'updatedBy': json['updatedBy'],
|
|
374
|
-
'billContactSfId': json['billContactSfId'],
|
|
375
|
-
'shippingContactSfId': json['shippingContactSfId'],
|
|
376
|
-
'customFields': json['customFields'],
|
|
377
|
-
'assetId': json['assetId'] == null ? undefined : json['assetId'],
|
|
378
|
-
'siteId': json['siteId'],
|
|
379
|
-
'externalId': json['externalId'],
|
|
380
|
-
'currentInvoice': SubscriptionInvoiceFromJSON(json['currentInvoice']),
|
|
381
|
-
'nextInvoice': SubscriptionInvoiceFromJSON(json['nextInvoice']),
|
|
382
|
-
'estimatedTax': json['estimatedTax'],
|
|
383
|
-
};
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
export function SubscriptionPreviewToJSON(json: any): SubscriptionPreview {
|
|
387
|
-
return SubscriptionPreviewToJSONTyped(json, false);
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
export function SubscriptionPreviewToJSONTyped(value?: SubscriptionPreview | null, ignoreDiscriminator: boolean = false): any {
|
|
391
|
-
if (value == null) {
|
|
392
|
-
return value;
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
return {
|
|
396
|
-
|
|
397
|
-
'id': value['id'],
|
|
398
|
-
'externalCustomerId': value['externalCustomerId'],
|
|
399
|
-
'customerName': value['customerName'],
|
|
400
|
-
'externalBillContactId': value['externalBillContactId'],
|
|
401
|
-
'externalShippingContactId': value['externalShippingContactId'],
|
|
402
|
-
'status': value['status'],
|
|
403
|
-
'deferStartDate': value['deferStartDate'],
|
|
404
|
-
'billingStartDate': value['billingStartDate'],
|
|
405
|
-
'serviceStartDate': value['serviceStartDate'],
|
|
406
|
-
'orderPlacedAt': value['orderPlacedAt'],
|
|
407
|
-
'contractEffectiveDate': value['contractEffectiveDate'],
|
|
408
|
-
'cancellationDate': value['cancellationDate'],
|
|
409
|
-
'pauseEffectiveDate': value['pauseEffectiveDate'],
|
|
410
|
-
'resumeEffectiveDate': value['resumeEffectiveDate'],
|
|
411
|
-
'extendOnResume': value['extendOnResume'],
|
|
412
|
-
'autoRenew': value['autoRenew'],
|
|
413
|
-
'currency': value['currency'],
|
|
414
|
-
'paymentTerms': value['paymentTerms'],
|
|
415
|
-
'cmrr': value['cmrr'],
|
|
416
|
-
'discountedCmrr': value['discountedCmrr'],
|
|
417
|
-
'separateInvoice': value['separateInvoice'],
|
|
418
|
-
'notes': value['notes'],
|
|
419
|
-
'version': value['version'],
|
|
420
|
-
'versionType': value['versionType'],
|
|
421
|
-
'contractTerm': value['contractTerm'],
|
|
422
|
-
'renewalIncrementPercent': value['renewalIncrementPercent'],
|
|
423
|
-
'tcv': value['tcv'],
|
|
424
|
-
'charges': ((value['charges'] as Array<any>).map(SubscriptionChargeToJSON)),
|
|
425
|
-
'createdAt': value['createdAt'],
|
|
426
|
-
'updatedAt': value['updatedAt'],
|
|
427
|
-
'createdBy': value['createdBy'],
|
|
428
|
-
'updatedBy': value['updatedBy'],
|
|
429
|
-
'billContactSfId': value['billContactSfId'],
|
|
430
|
-
'shippingContactSfId': value['shippingContactSfId'],
|
|
431
|
-
'customFields': value['customFields'],
|
|
432
|
-
'assetId': value['assetId'],
|
|
433
|
-
'siteId': value['siteId'],
|
|
434
|
-
'externalId': value['externalId'],
|
|
435
|
-
'currentInvoice': SubscriptionInvoiceToJSON(value['currentInvoice']),
|
|
436
|
-
'nextInvoice': SubscriptionInvoiceToJSON(value['nextInvoice']),
|
|
437
|
-
'estimatedTax': value['estimatedTax'],
|
|
438
|
-
};
|
|
439
|
-
}
|
|
440
|
-
|