@managespace/sdk 0.1.156 → 0.1.158-braintree
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 +19 -12
- package/dist/extensibility/functions/project/billing.d.ts.map +1 -1
- package/dist/extensibility/functions/project/billing.js +5 -0
- package/dist/extensibility/types/control.d.ts +1 -1
- package/dist/extensibility/types/control.d.ts.map +1 -1
- package/dist/generated/apis/default-api.d.ts +9 -1
- package/dist/generated/apis/default-api.d.ts.map +1 -1
- package/dist/generated/apis/default-api.js +28 -0
- package/dist/generated/models/billing-run.d.ts +0 -6
- package/dist/generated/models/billing-run.d.ts.map +1 -1
- package/dist/generated/models/billing-run.js +0 -2
- package/dist/generated/models/contact.d.ts +1 -1
- package/dist/generated/models/contact.d.ts.map +1 -1
- package/dist/generated/models/contact.js +3 -3
- package/dist/generated/models/create-billing-run.d.ts +0 -6
- package/dist/generated/models/create-billing-run.d.ts.map +1 -1
- package/dist/generated/models/create-billing-run.js +0 -2
- package/dist/generated/models/customer.d.ts +1 -1
- package/dist/generated/models/customer.d.ts.map +1 -1
- package/dist/generated/models/customer.js +3 -3
- package/dist/generated/models/index.d.ts +1 -0
- package/dist/generated/models/index.d.ts.map +1 -1
- package/dist/generated/models/index.js +1 -0
- package/dist/generated/models/payment-gateway-client-token-response.d.ts +47 -0
- package/dist/generated/models/payment-gateway-client-token-response.d.ts.map +1 -0
- package/dist/generated/models/payment-gateway-client-token-response.js +63 -0
- package/dist/generated/models/subscription-preview.d.ts +1 -1
- package/dist/generated/models/subscription-preview.d.ts.map +1 -1
- package/dist/generated/models/subscription-preview.js +3 -3
- package/dist/generated/models/subscription.d.ts +1 -1
- package/dist/generated/models/subscription.d.ts.map +1 -1
- package/dist/generated/models/subscription.js +3 -3
- package/package.deploy.json +7 -3
- package/package.json +7 -3
- package/src/extensibility/functions/project/billing.ts +18 -12
- package/src/extensibility/types/control.ts +1 -0
- package/src/generated/.openapi-generator/FILES +1 -0
- package/src/generated/apis/default-api.ts +37 -0
- package/src/generated/models/billing-run.ts +0 -8
- package/src/generated/models/contact.ts +4 -4
- package/src/generated/models/create-billing-run.ts +0 -8
- package/src/generated/models/customer.ts +4 -4
- package/src/generated/models/index.ts +1 -0
- package/src/generated/models/payment-gateway-client-token-response.ts +87 -0
- package/src/generated/models/subscription-preview.ts +4 -4
- package/src/generated/models/subscription.ts +4 -4
|
@@ -152,6 +152,7 @@ import type {
|
|
|
152
152
|
Org,
|
|
153
153
|
PastDueBalancesReportFilters,
|
|
154
154
|
Payment,
|
|
155
|
+
PaymentGatewayClientTokenResponse,
|
|
155
156
|
PaymentMethod,
|
|
156
157
|
PaymentRun,
|
|
157
158
|
PlanCustom,
|
|
@@ -488,6 +489,8 @@ import {
|
|
|
488
489
|
PastDueBalancesReportFiltersToJSON,
|
|
489
490
|
PaymentFromJSON,
|
|
490
491
|
PaymentToJSON,
|
|
492
|
+
PaymentGatewayClientTokenResponseFromJSON,
|
|
493
|
+
PaymentGatewayClientTokenResponseToJSON,
|
|
491
494
|
PaymentMethodFromJSON,
|
|
492
495
|
PaymentMethodToJSON,
|
|
493
496
|
PaymentRunFromJSON,
|
|
@@ -6385,6 +6388,40 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
6385
6388
|
return await response.value();
|
|
6386
6389
|
}
|
|
6387
6390
|
|
|
6391
|
+
/**
|
|
6392
|
+
*
|
|
6393
|
+
*/
|
|
6394
|
+
async getPaymentGatewayClientTokenRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaymentGatewayClientTokenResponse>> {
|
|
6395
|
+
const queryParameters: any = {};
|
|
6396
|
+
|
|
6397
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
6398
|
+
|
|
6399
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
6400
|
+
const token = this.configuration.accessToken;
|
|
6401
|
+
const tokenString = await token("bearer", []);
|
|
6402
|
+
|
|
6403
|
+
if (tokenString) {
|
|
6404
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
6405
|
+
}
|
|
6406
|
+
}
|
|
6407
|
+
const response = await this.request({
|
|
6408
|
+
path: `/api/billing/client-token`,
|
|
6409
|
+
method: 'GET',
|
|
6410
|
+
headers: headerParameters,
|
|
6411
|
+
query: queryParameters,
|
|
6412
|
+
}, initOverrides);
|
|
6413
|
+
|
|
6414
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PaymentGatewayClientTokenResponseFromJSON(jsonValue));
|
|
6415
|
+
}
|
|
6416
|
+
|
|
6417
|
+
/**
|
|
6418
|
+
*
|
|
6419
|
+
*/
|
|
6420
|
+
async getPaymentGatewayClientToken(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaymentGatewayClientTokenResponse> {
|
|
6421
|
+
const response = await this.getPaymentGatewayClientTokenRaw(initOverrides);
|
|
6422
|
+
return await response.value();
|
|
6423
|
+
}
|
|
6424
|
+
|
|
6388
6425
|
/**
|
|
6389
6426
|
*/
|
|
6390
6427
|
async getPaymentMethodRaw(requestParameters: GetPaymentMethodRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaymentMethod>> {
|
|
@@ -52,12 +52,6 @@ export interface BillingRun {
|
|
|
52
52
|
* @memberof BillingRun
|
|
53
53
|
*/
|
|
54
54
|
filterOptions?: BillingRunFilterOptions;
|
|
55
|
-
/**
|
|
56
|
-
* Payment term to apply to invoices (e.g., "Due on Receipt", "Net 15")
|
|
57
|
-
* @type {string}
|
|
58
|
-
* @memberof BillingRun
|
|
59
|
-
*/
|
|
60
|
-
paymentTerm?: string;
|
|
61
55
|
/**
|
|
62
56
|
* Billing Run ID
|
|
63
57
|
* @type {string}
|
|
@@ -159,7 +153,6 @@ export function BillingRunFromJSONTyped(json: any, ignoreDiscriminator: boolean)
|
|
|
159
153
|
'invoiceDate': json['invoiceDate'],
|
|
160
154
|
'chargeType': json['chargeType'],
|
|
161
155
|
'filterOptions': json['filterOptions'] == null ? undefined : BillingRunFilterOptionsFromJSON(json['filterOptions']),
|
|
162
|
-
'paymentTerm': json['paymentTerm'] == null ? undefined : json['paymentTerm'],
|
|
163
156
|
'id': json['id'],
|
|
164
157
|
'status': json['status'],
|
|
165
158
|
'invoicesTotal': json['invoicesTotal'],
|
|
@@ -189,7 +182,6 @@ export function BillingRunToJSONTyped(value?: BillingRun | null, ignoreDiscrimin
|
|
|
189
182
|
'invoiceDate': value['invoiceDate'],
|
|
190
183
|
'chargeType': value['chargeType'],
|
|
191
184
|
'filterOptions': BillingRunFilterOptionsToJSON(value['filterOptions']),
|
|
192
|
-
'paymentTerm': value['paymentTerm'],
|
|
193
185
|
'id': value['id'],
|
|
194
186
|
'status': value['status'],
|
|
195
187
|
'invoicesTotal': value['invoicesTotal'],
|
|
@@ -67,7 +67,7 @@ export interface Contact {
|
|
|
67
67
|
* @type {string}
|
|
68
68
|
* @memberof Contact
|
|
69
69
|
*/
|
|
70
|
-
|
|
70
|
+
msExternalId: string | null;
|
|
71
71
|
/**
|
|
72
72
|
* First name
|
|
73
73
|
* @type {string}
|
|
@@ -177,7 +177,7 @@ export interface Contact {
|
|
|
177
177
|
*/
|
|
178
178
|
export function instanceOfContact(value: object): value is Contact {
|
|
179
179
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
180
|
-
if (!('
|
|
180
|
+
if (!('msExternalId' in value) || value['msExternalId'] === undefined) return false;
|
|
181
181
|
if (!('firstName' in value) || value['firstName'] === undefined) return false;
|
|
182
182
|
if (!('middleInitial' in value) || value['middleInitial'] === undefined) return false;
|
|
183
183
|
if (!('lastName' in value) || value['lastName'] === undefined) return false;
|
|
@@ -204,7 +204,7 @@ export function ContactFromJSONTyped(json: any, ignoreDiscriminator: boolean): C
|
|
|
204
204
|
return {
|
|
205
205
|
|
|
206
206
|
'id': json['id'],
|
|
207
|
-
'
|
|
207
|
+
'msExternalId': json['msExternalId'],
|
|
208
208
|
'firstName': json['firstName'],
|
|
209
209
|
'middleInitial': json['middleInitial'],
|
|
210
210
|
'lastName': json['lastName'],
|
|
@@ -237,7 +237,7 @@ export function ContactToJSONTyped(value?: Contact | null, ignoreDiscriminator:
|
|
|
237
237
|
return {
|
|
238
238
|
|
|
239
239
|
'id': value['id'],
|
|
240
|
-
'
|
|
240
|
+
'msExternalId': value['msExternalId'],
|
|
241
241
|
'firstName': value['firstName'],
|
|
242
242
|
'middleInitial': value['middleInitial'],
|
|
243
243
|
'lastName': value['lastName'],
|
|
@@ -82,12 +82,6 @@ export interface CreateBillingRun {
|
|
|
82
82
|
* @memberof CreateBillingRun
|
|
83
83
|
*/
|
|
84
84
|
doNotEmailIfInvoiceAmountZero?: boolean;
|
|
85
|
-
/**
|
|
86
|
-
* Payment term to apply to invoices (e.g., "Due on Receipt", "Net 15")
|
|
87
|
-
* @type {string}
|
|
88
|
-
* @memberof CreateBillingRun
|
|
89
|
-
*/
|
|
90
|
-
paymentTerm?: string;
|
|
91
85
|
}
|
|
92
86
|
|
|
93
87
|
/**
|
|
@@ -119,7 +113,6 @@ export function CreateBillingRunFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
119
113
|
'doNotEmailIfInvoiceBalanceZero': json['doNotEmailIfInvoiceBalanceZero'] == null ? undefined : json['doNotEmailIfInvoiceBalanceZero'],
|
|
120
114
|
'doNotEmailIfAutoPayIsOnWithPaymentMethod': json['doNotEmailIfAutoPayIsOnWithPaymentMethod'] == null ? undefined : json['doNotEmailIfAutoPayIsOnWithPaymentMethod'],
|
|
121
115
|
'doNotEmailIfInvoiceAmountZero': json['doNotEmailIfInvoiceAmountZero'] == null ? undefined : json['doNotEmailIfInvoiceAmountZero'],
|
|
122
|
-
'paymentTerm': json['paymentTerm'] == null ? undefined : json['paymentTerm'],
|
|
123
116
|
};
|
|
124
117
|
}
|
|
125
118
|
|
|
@@ -143,7 +136,6 @@ export function CreateBillingRunToJSONTyped(value?: CreateBillingRun | null, ign
|
|
|
143
136
|
'doNotEmailIfInvoiceBalanceZero': value['doNotEmailIfInvoiceBalanceZero'],
|
|
144
137
|
'doNotEmailIfAutoPayIsOnWithPaymentMethod': value['doNotEmailIfAutoPayIsOnWithPaymentMethod'],
|
|
145
138
|
'doNotEmailIfInvoiceAmountZero': value['doNotEmailIfInvoiceAmountZero'],
|
|
146
|
-
'paymentTerm': value['paymentTerm'],
|
|
147
139
|
};
|
|
148
140
|
}
|
|
149
141
|
|
|
@@ -180,7 +180,7 @@ export interface Customer {
|
|
|
180
180
|
* @type {string}
|
|
181
181
|
* @memberof Customer
|
|
182
182
|
*/
|
|
183
|
-
|
|
183
|
+
msExternalId: string | null;
|
|
184
184
|
/**
|
|
185
185
|
* A URL to a customers avatar
|
|
186
186
|
* @type {string}
|
|
@@ -268,7 +268,7 @@ export function instanceOfCustomer(value: object): value is Customer {
|
|
|
268
268
|
if (!('updatedAt' in value) || value['updatedAt'] === undefined) return false;
|
|
269
269
|
if (!('creationSiteId' in value) || value['creationSiteId'] === undefined) return false;
|
|
270
270
|
if (!('orgId' in value) || value['orgId'] === undefined) return false;
|
|
271
|
-
if (!('
|
|
271
|
+
if (!('msExternalId' in value) || value['msExternalId'] === undefined) return false;
|
|
272
272
|
if (!('avatarUrl' in value) || value['avatarUrl'] === undefined) return false;
|
|
273
273
|
if (!('metadata' in value) || value['metadata'] === undefined) return false;
|
|
274
274
|
if (!('customerStatusId' in value) || value['customerStatusId'] === undefined) return false;
|
|
@@ -302,7 +302,7 @@ export function CustomerFromJSONTyped(json: any, ignoreDiscriminator: boolean):
|
|
|
302
302
|
'orgId': json['orgId'],
|
|
303
303
|
'contacts': json['contacts'] == null ? undefined : ((json['contacts'] as Array<any>).map(ContactFromJSON)),
|
|
304
304
|
'note': json['note'] == null ? undefined : ((json['note'] as Array<any>).map(NoteFromJSON)),
|
|
305
|
-
'
|
|
305
|
+
'msExternalId': json['msExternalId'],
|
|
306
306
|
'avatarUrl': json['avatarUrl'],
|
|
307
307
|
'metadata': json['metadata'],
|
|
308
308
|
'communications': json['communications'] == null ? undefined : ((json['communications'] as Array<any>).map(CommunicationFromJSON)),
|
|
@@ -343,7 +343,7 @@ export function CustomerToJSONTyped(value?: Customer | null, ignoreDiscriminator
|
|
|
343
343
|
'orgId': value['orgId'],
|
|
344
344
|
'contacts': value['contacts'] == null ? undefined : ((value['contacts'] as Array<any>).map(ContactToJSON)),
|
|
345
345
|
'note': value['note'] == null ? undefined : ((value['note'] as Array<any>).map(NoteToJSON)),
|
|
346
|
-
'
|
|
346
|
+
'msExternalId': value['msExternalId'],
|
|
347
347
|
'avatarUrl': value['avatarUrl'],
|
|
348
348
|
'metadata': value['metadata'],
|
|
349
349
|
'communications': value['communications'] == null ? undefined : ((value['communications'] as Array<any>).map(CommunicationToJSON)),
|
|
@@ -180,6 +180,7 @@ export * from './page-meta';
|
|
|
180
180
|
export * from './paginated';
|
|
181
181
|
export * from './past-due-balances-report-filters';
|
|
182
182
|
export * from './payment';
|
|
183
|
+
export * from './payment-gateway-client-token-response';
|
|
183
184
|
export * from './payment-method';
|
|
184
185
|
export * from './payment-run';
|
|
185
186
|
export * from './payment-run-filter-condition';
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* ManageSpace API
|
|
6
|
+
* ManageSpace API Documentation
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
import { mapValues } from '../runtime';
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface PaymentGatewayClientTokenResponse
|
|
21
|
+
*/
|
|
22
|
+
export interface PaymentGatewayClientTokenResponse {
|
|
23
|
+
/**
|
|
24
|
+
* Payment gateway type
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof PaymentGatewayClientTokenResponse
|
|
27
|
+
*/
|
|
28
|
+
gateway: PaymentGatewayClientTokenResponseGateway;
|
|
29
|
+
/**
|
|
30
|
+
* Client token for SDK initialisation
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof PaymentGatewayClientTokenResponse
|
|
33
|
+
*/
|
|
34
|
+
clientToken: string;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* @export
|
|
40
|
+
*/
|
|
41
|
+
export const PaymentGatewayClientTokenResponseGateway = {
|
|
42
|
+
braintree: 'braintree',
|
|
43
|
+
stripe: 'stripe'
|
|
44
|
+
} as const;
|
|
45
|
+
export type PaymentGatewayClientTokenResponseGateway = typeof PaymentGatewayClientTokenResponseGateway[keyof typeof PaymentGatewayClientTokenResponseGateway];
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the PaymentGatewayClientTokenResponse interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfPaymentGatewayClientTokenResponse(value: object): value is PaymentGatewayClientTokenResponse {
|
|
52
|
+
if (!('gateway' in value) || value['gateway'] === undefined) return false;
|
|
53
|
+
if (!('clientToken' in value) || value['clientToken'] === undefined) return false;
|
|
54
|
+
return true;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export function PaymentGatewayClientTokenResponseFromJSON(json: any): PaymentGatewayClientTokenResponse {
|
|
58
|
+
return PaymentGatewayClientTokenResponseFromJSONTyped(json, false);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function PaymentGatewayClientTokenResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaymentGatewayClientTokenResponse {
|
|
62
|
+
if (json == null) {
|
|
63
|
+
return json;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
|
|
67
|
+
'gateway': json['gateway'],
|
|
68
|
+
'clientToken': json['clientToken'],
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function PaymentGatewayClientTokenResponseToJSON(json: any): PaymentGatewayClientTokenResponse {
|
|
73
|
+
return PaymentGatewayClientTokenResponseToJSONTyped(json, false);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function PaymentGatewayClientTokenResponseToJSONTyped(value?: PaymentGatewayClientTokenResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
77
|
+
if (value == null) {
|
|
78
|
+
return value;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
return {
|
|
82
|
+
|
|
83
|
+
'gateway': value['gateway'],
|
|
84
|
+
'clientToken': value['clientToken'],
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
|
|
@@ -280,7 +280,7 @@ export interface SubscriptionPreview {
|
|
|
280
280
|
* @type {string}
|
|
281
281
|
* @memberof SubscriptionPreview
|
|
282
282
|
*/
|
|
283
|
-
|
|
283
|
+
msExternalId: string;
|
|
284
284
|
/**
|
|
285
285
|
* Charges associated the subscription
|
|
286
286
|
* @type {Array<SubscriptionCharge>}
|
|
@@ -361,7 +361,7 @@ export function instanceOfSubscriptionPreview(value: object): value is Subscript
|
|
|
361
361
|
if (!('billContactSfId' in value) || value['billContactSfId'] === undefined) return false;
|
|
362
362
|
if (!('shippingContactSfId' in value) || value['shippingContactSfId'] === undefined) return false;
|
|
363
363
|
if (!('siteId' in value) || value['siteId'] === undefined) return false;
|
|
364
|
-
if (!('
|
|
364
|
+
if (!('msExternalId' in value) || value['msExternalId'] === undefined) return false;
|
|
365
365
|
if (!('charges' in value) || value['charges'] === undefined) return false;
|
|
366
366
|
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
367
367
|
if (!('createdBy' in value) || value['createdBy'] === undefined) return false;
|
|
@@ -418,7 +418,7 @@ export function SubscriptionPreviewFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
418
418
|
'billContactSfId': json['billContactSfId'],
|
|
419
419
|
'shippingContactSfId': json['shippingContactSfId'],
|
|
420
420
|
'siteId': json['siteId'],
|
|
421
|
-
'
|
|
421
|
+
'msExternalId': json['msExternalId'],
|
|
422
422
|
'charges': ((json['charges'] as Array<any>).map(SubscriptionChargeFromJSON)),
|
|
423
423
|
'createdAt': json['createdAt'],
|
|
424
424
|
'createdBy': json['createdBy'],
|
|
@@ -483,7 +483,7 @@ export function SubscriptionPreviewToJSONTyped(value?: SubscriptionPreview | nul
|
|
|
483
483
|
'billContactSfId': value['billContactSfId'],
|
|
484
484
|
'shippingContactSfId': value['shippingContactSfId'],
|
|
485
485
|
'siteId': value['siteId'],
|
|
486
|
-
'
|
|
486
|
+
'msExternalId': value['msExternalId'],
|
|
487
487
|
'charges': ((value['charges'] as Array<any>).map(SubscriptionChargeToJSON)),
|
|
488
488
|
'createdAt': value['createdAt'],
|
|
489
489
|
'createdBy': value['createdBy'],
|
|
@@ -273,7 +273,7 @@ export interface Subscription {
|
|
|
273
273
|
* @type {string}
|
|
274
274
|
* @memberof Subscription
|
|
275
275
|
*/
|
|
276
|
-
|
|
276
|
+
msExternalId: string;
|
|
277
277
|
/**
|
|
278
278
|
* Charges associated the subscription
|
|
279
279
|
* @type {Array<SubscriptionCharge>}
|
|
@@ -330,7 +330,7 @@ export function instanceOfSubscription(value: object): value is Subscription {
|
|
|
330
330
|
if (!('billContactSfId' in value) || value['billContactSfId'] === undefined) return false;
|
|
331
331
|
if (!('shippingContactSfId' in value) || value['shippingContactSfId'] === undefined) return false;
|
|
332
332
|
if (!('siteId' in value) || value['siteId'] === undefined) return false;
|
|
333
|
-
if (!('
|
|
333
|
+
if (!('msExternalId' in value) || value['msExternalId'] === undefined) return false;
|
|
334
334
|
if (!('charges' in value) || value['charges'] === undefined) return false;
|
|
335
335
|
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
336
336
|
if (!('createdBy' in value) || value['createdBy'] === undefined) return false;
|
|
@@ -387,7 +387,7 @@ export function SubscriptionFromJSONTyped(json: any, ignoreDiscriminator: boolea
|
|
|
387
387
|
'billContactSfId': json['billContactSfId'],
|
|
388
388
|
'shippingContactSfId': json['shippingContactSfId'],
|
|
389
389
|
'siteId': json['siteId'],
|
|
390
|
-
'
|
|
390
|
+
'msExternalId': json['msExternalId'],
|
|
391
391
|
'charges': ((json['charges'] as Array<any>).map(SubscriptionChargeFromJSON)),
|
|
392
392
|
'createdAt': json['createdAt'],
|
|
393
393
|
'createdBy': json['createdBy'],
|
|
@@ -448,7 +448,7 @@ export function SubscriptionToJSONTyped(value?: Subscription | null, ignoreDiscr
|
|
|
448
448
|
'billContactSfId': value['billContactSfId'],
|
|
449
449
|
'shippingContactSfId': value['shippingContactSfId'],
|
|
450
450
|
'siteId': value['siteId'],
|
|
451
|
-
'
|
|
451
|
+
'msExternalId': value['msExternalId'],
|
|
452
452
|
'charges': ((value['charges'] as Array<any>).map(SubscriptionChargeToJSON)),
|
|
453
453
|
'createdAt': value['createdAt'],
|
|
454
454
|
'createdBy': value['createdBy'],
|