@managespace/sdk 0.1.197-melissa.dev → 0.1.199-melissa.dev
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.map +1 -1
- package/dist/generated/apis/default-api.d.ts +4 -111
- package/dist/generated/apis/default-api.d.ts.map +1 -1
- package/dist/generated/apis/default-api.js +13 -366
- package/dist/generated/models/billing-run-filter-condition.d.ts +6 -0
- package/dist/generated/models/billing-run-filter-condition.d.ts.map +1 -1
- package/dist/generated/models/billing-run-filter-condition.js +2 -0
- package/dist/generated/models/custom-create-customer.d.ts +15 -3
- package/dist/generated/models/custom-create-customer.d.ts.map +1 -1
- package/dist/generated/models/custom-create-customer.js +6 -4
- package/dist/generated/models/custom-update-customer.d.ts +15 -9
- package/dist/generated/models/custom-update-customer.d.ts.map +1 -1
- package/dist/generated/models/custom-update-customer.js +6 -4
- package/dist/generated/models/customer.d.ts +9 -3
- package/dist/generated/models/customer.d.ts.map +1 -1
- package/dist/generated/models/customer.js +7 -3
- package/dist/generated/models/index.d.ts +0 -8
- package/dist/generated/models/index.d.ts.map +1 -1
- package/dist/generated/models/index.js +0 -8
- package/package.deploy.json +2 -2
- package/package.json +1 -1
- package/src/extensibility/functions/project/billing.ts +1 -3
- package/src/generated/.openapi-generator/FILES +0 -8
- package/src/generated/apis/default-api.ts +25 -580
- package/src/generated/models/billing-run-filter-condition.ts +8 -0
- package/src/generated/models/custom-create-customer.ts +21 -6
- package/src/generated/models/custom-update-customer.ts +21 -13
- package/src/generated/models/customer.ts +15 -6
- package/src/generated/models/index.ts +0 -8
|
@@ -26,6 +26,12 @@ export interface BillingRunFilterCondition {
|
|
|
26
26
|
* @memberof BillingRunFilterCondition
|
|
27
27
|
*/
|
|
28
28
|
id?: Array<string>;
|
|
29
|
+
/**
|
|
30
|
+
* Name
|
|
31
|
+
* @type {Array<string>}
|
|
32
|
+
* @memberof BillingRunFilterCondition
|
|
33
|
+
*/
|
|
34
|
+
name?: Array<string>;
|
|
29
35
|
}
|
|
30
36
|
|
|
31
37
|
/**
|
|
@@ -46,6 +52,7 @@ export function BillingRunFilterConditionFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
46
52
|
return {
|
|
47
53
|
|
|
48
54
|
'id': json['id'] == null ? undefined : json['id'],
|
|
55
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
49
56
|
};
|
|
50
57
|
}
|
|
51
58
|
|
|
@@ -61,6 +68,7 @@ export function BillingRunFilterConditionToJSONTyped(value?: BillingRunFilterCon
|
|
|
61
68
|
return {
|
|
62
69
|
|
|
63
70
|
'id': value['id'],
|
|
71
|
+
'name': value['name'],
|
|
64
72
|
};
|
|
65
73
|
}
|
|
66
74
|
|
|
@@ -40,6 +40,12 @@ export interface CustomCreateCustomer {
|
|
|
40
40
|
* @memberof CustomCreateCustomer
|
|
41
41
|
*/
|
|
42
42
|
description?: string | null;
|
|
43
|
+
/**
|
|
44
|
+
* When the record was last updated
|
|
45
|
+
* @type {Date}
|
|
46
|
+
* @memberof CustomCreateCustomer
|
|
47
|
+
*/
|
|
48
|
+
updatedAt?: Date | null;
|
|
43
49
|
/**
|
|
44
50
|
* Site ID the customer was created on
|
|
45
51
|
* @type {string}
|
|
@@ -53,11 +59,17 @@ export interface CustomCreateCustomer {
|
|
|
53
59
|
*/
|
|
54
60
|
avatarUrl?: string | null;
|
|
55
61
|
/**
|
|
56
|
-
*
|
|
57
|
-
* @type {
|
|
62
|
+
* Tenant identifier from the upstream source system (e.g. SiteLink); passed through to external billing
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof CustomCreateCustomer
|
|
65
|
+
*/
|
|
66
|
+
tenantId?: string | null;
|
|
67
|
+
/**
|
|
68
|
+
* When the customer was created in the source system we imported from; owned by the local anchor and not pushed to the billing provider
|
|
69
|
+
* @type {Date}
|
|
58
70
|
* @memberof CustomCreateCustomer
|
|
59
71
|
*/
|
|
60
|
-
|
|
72
|
+
sourceCreatedAt?: Date | null;
|
|
61
73
|
/**
|
|
62
74
|
* Customer status ID
|
|
63
75
|
* @type {string}
|
|
@@ -167,7 +179,6 @@ export interface CustomCreateCustomer {
|
|
|
167
179
|
*/
|
|
168
180
|
export function instanceOfCustomCreateCustomer(value: object): value is CustomCreateCustomer {
|
|
169
181
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
170
|
-
if (!('metadata' in value) || value['metadata'] === undefined) return false;
|
|
171
182
|
if (!('customerStatusId' in value) || value['customerStatusId'] === undefined) return false;
|
|
172
183
|
if (!('contacts' in value) || value['contacts'] === undefined) return false;
|
|
173
184
|
return true;
|
|
@@ -185,9 +196,11 @@ export function CustomCreateCustomerFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
185
196
|
|
|
186
197
|
'name': json['name'],
|
|
187
198
|
'description': json['description'] == null ? undefined : json['description'],
|
|
199
|
+
'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
|
|
188
200
|
'creationSiteId': json['creationSiteId'] == null ? undefined : json['creationSiteId'],
|
|
189
201
|
'avatarUrl': json['avatarUrl'] == null ? undefined : json['avatarUrl'],
|
|
190
|
-
'
|
|
202
|
+
'tenantId': json['tenantId'] == null ? undefined : json['tenantId'],
|
|
203
|
+
'sourceCreatedAt': json['sourceCreatedAt'] == null ? undefined : (new Date(json['sourceCreatedAt'])),
|
|
191
204
|
'customerStatusId': json['customerStatusId'],
|
|
192
205
|
'customerSource': json['customerSource'] == null ? undefined : json['customerSource'],
|
|
193
206
|
'followUp': json['followUp'] == null ? undefined : json['followUp'],
|
|
@@ -221,9 +234,11 @@ export function CustomCreateCustomerToJSONTyped(value?: CustomCreateCustomer | n
|
|
|
221
234
|
|
|
222
235
|
'name': value['name'],
|
|
223
236
|
'description': value['description'],
|
|
237
|
+
'updatedAt': value['updatedAt'] == null ? undefined : ((value['updatedAt'] as any).toISOString()),
|
|
224
238
|
'creationSiteId': value['creationSiteId'],
|
|
225
239
|
'avatarUrl': value['avatarUrl'],
|
|
226
|
-
'
|
|
240
|
+
'tenantId': value['tenantId'],
|
|
241
|
+
'sourceCreatedAt': value['sourceCreatedAt'] == null ? undefined : ((value['sourceCreatedAt'] as any).toISOString()),
|
|
227
242
|
'customerStatusId': value['customerStatusId'],
|
|
228
243
|
'customerSource': value['customerSource'],
|
|
229
244
|
'followUp': value['followUp'],
|
|
@@ -32,6 +32,12 @@ export interface CustomUpdateCustomer {
|
|
|
32
32
|
* @memberof CustomUpdateCustomer
|
|
33
33
|
*/
|
|
34
34
|
description?: string | null;
|
|
35
|
+
/**
|
|
36
|
+
* When the record was last updated
|
|
37
|
+
* @type {Date}
|
|
38
|
+
* @memberof CustomUpdateCustomer
|
|
39
|
+
*/
|
|
40
|
+
updatedAt?: Date | null;
|
|
35
41
|
/**
|
|
36
42
|
* Site ID the customer was created on
|
|
37
43
|
* @type {string}
|
|
@@ -45,11 +51,17 @@ export interface CustomUpdateCustomer {
|
|
|
45
51
|
*/
|
|
46
52
|
avatarUrl?: string | null;
|
|
47
53
|
/**
|
|
48
|
-
*
|
|
49
|
-
* @type {
|
|
54
|
+
* Tennant ID.
|
|
55
|
+
* @type {string}
|
|
50
56
|
* @memberof CustomUpdateCustomer
|
|
51
57
|
*/
|
|
52
|
-
|
|
58
|
+
tenantId?: string | null;
|
|
59
|
+
/**
|
|
60
|
+
* When the customer was created in the source system we imported from; owned by the local anchor and not pushed to the billing provider
|
|
61
|
+
* @type {Date}
|
|
62
|
+
* @memberof CustomUpdateCustomer
|
|
63
|
+
*/
|
|
64
|
+
sourceCreatedAt?: Date | null;
|
|
53
65
|
/**
|
|
54
66
|
* Customer status ID
|
|
55
67
|
* @type {string}
|
|
@@ -68,12 +80,6 @@ export interface CustomUpdateCustomer {
|
|
|
68
80
|
* @memberof CustomUpdateCustomer
|
|
69
81
|
*/
|
|
70
82
|
paymentTerms?: string | null;
|
|
71
|
-
/**
|
|
72
|
-
* Tennant ID.
|
|
73
|
-
* @type {string}
|
|
74
|
-
* @memberof CustomUpdateCustomer
|
|
75
|
-
*/
|
|
76
|
-
tenantId?: string;
|
|
77
83
|
/**
|
|
78
84
|
* autoPay
|
|
79
85
|
* @type {boolean}
|
|
@@ -149,13 +155,14 @@ export function CustomUpdateCustomerFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
149
155
|
|
|
150
156
|
'name': json['name'] == null ? undefined : json['name'],
|
|
151
157
|
'description': json['description'] == null ? undefined : json['description'],
|
|
158
|
+
'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
|
|
152
159
|
'creationSiteId': json['creationSiteId'] == null ? undefined : json['creationSiteId'],
|
|
153
160
|
'avatarUrl': json['avatarUrl'] == null ? undefined : json['avatarUrl'],
|
|
154
|
-
'
|
|
161
|
+
'tenantId': json['tenantId'] == null ? undefined : json['tenantId'],
|
|
162
|
+
'sourceCreatedAt': json['sourceCreatedAt'] == null ? undefined : (new Date(json['sourceCreatedAt'])),
|
|
155
163
|
'customerStatusId': json['customerStatusId'] == null ? undefined : json['customerStatusId'],
|
|
156
164
|
'customerSource': json['customerSource'] == null ? undefined : json['customerSource'],
|
|
157
165
|
'paymentTerms': json['paymentTerms'] == null ? undefined : json['paymentTerms'],
|
|
158
|
-
'tenantId': json['tenantId'] == null ? undefined : json['tenantId'],
|
|
159
166
|
'autoPay': json['autoPay'] == null ? undefined : json['autoPay'],
|
|
160
167
|
'billingCycleDay': json['billingCycleDay'] == null ? undefined : json['billingCycleDay'],
|
|
161
168
|
'currency': json['currency'] == null ? undefined : json['currency'],
|
|
@@ -181,13 +188,14 @@ export function CustomUpdateCustomerToJSONTyped(value?: CustomUpdateCustomer | n
|
|
|
181
188
|
|
|
182
189
|
'name': value['name'],
|
|
183
190
|
'description': value['description'],
|
|
191
|
+
'updatedAt': value['updatedAt'] == null ? undefined : ((value['updatedAt'] as any).toISOString()),
|
|
184
192
|
'creationSiteId': value['creationSiteId'],
|
|
185
193
|
'avatarUrl': value['avatarUrl'],
|
|
186
|
-
'
|
|
194
|
+
'tenantId': value['tenantId'],
|
|
195
|
+
'sourceCreatedAt': value['sourceCreatedAt'] == null ? undefined : ((value['sourceCreatedAt'] as any).toISOString()),
|
|
187
196
|
'customerStatusId': value['customerStatusId'],
|
|
188
197
|
'customerSource': value['customerSource'],
|
|
189
198
|
'paymentTerms': value['paymentTerms'],
|
|
190
|
-
'tenantId': value['tenantId'],
|
|
191
199
|
'autoPay': value['autoPay'],
|
|
192
200
|
'billingCycleDay': value['billingCycleDay'],
|
|
193
201
|
'currency': value['currency'],
|
|
@@ -188,11 +188,17 @@ export interface Customer {
|
|
|
188
188
|
*/
|
|
189
189
|
avatarUrl: string | null;
|
|
190
190
|
/**
|
|
191
|
-
*
|
|
192
|
-
* @type {
|
|
191
|
+
* Tenant identifier from the upstream source system (e.g. SiteLink); passed through to external billing
|
|
192
|
+
* @type {string}
|
|
193
|
+
* @memberof Customer
|
|
194
|
+
*/
|
|
195
|
+
tenantId: string | null;
|
|
196
|
+
/**
|
|
197
|
+
* When the customer was created in the source system we imported from; owned by the local anchor and not pushed to the billing provider
|
|
198
|
+
* @type {Date}
|
|
193
199
|
* @memberof Customer
|
|
194
200
|
*/
|
|
195
|
-
|
|
201
|
+
sourceCreatedAt: Date | null;
|
|
196
202
|
/**
|
|
197
203
|
*
|
|
198
204
|
* @type {Array<Communication>}
|
|
@@ -300,7 +306,8 @@ export function instanceOfCustomer(value: object): value is Customer {
|
|
|
300
306
|
if (!('orgId' in value) || value['orgId'] === undefined) return false;
|
|
301
307
|
if (!('msExternalId' in value) || value['msExternalId'] === undefined) return false;
|
|
302
308
|
if (!('avatarUrl' in value) || value['avatarUrl'] === undefined) return false;
|
|
303
|
-
if (!('
|
|
309
|
+
if (!('tenantId' in value) || value['tenantId'] === undefined) return false;
|
|
310
|
+
if (!('sourceCreatedAt' in value) || value['sourceCreatedAt'] === undefined) return false;
|
|
304
311
|
if (!('customerStatusId' in value) || value['customerStatusId'] === undefined) return false;
|
|
305
312
|
if (!('customerSource' in value) || value['customerSource'] === undefined) return false;
|
|
306
313
|
if (!('followUp' in value) || value['followUp'] === undefined) return false;
|
|
@@ -339,7 +346,8 @@ export function CustomerFromJSONTyped(json: any, ignoreDiscriminator: boolean):
|
|
|
339
346
|
'note': json['note'] == null ? undefined : ((json['note'] as Array<any>).map(NoteFromJSON)),
|
|
340
347
|
'msExternalId': json['msExternalId'],
|
|
341
348
|
'avatarUrl': json['avatarUrl'],
|
|
342
|
-
'
|
|
349
|
+
'tenantId': json['tenantId'],
|
|
350
|
+
'sourceCreatedAt': (json['sourceCreatedAt'] == null ? null : new Date(json['sourceCreatedAt'])),
|
|
343
351
|
'communications': json['communications'] == null ? undefined : ((json['communications'] as Array<any>).map(CommunicationFromJSON)),
|
|
344
352
|
'documents': json['documents'] == null ? undefined : ((json['documents'] as Array<any>).map(UploadedDocumentFromJSON)),
|
|
345
353
|
'assignedTasks': json['assignedTasks'] == null ? undefined : ((json['assignedTasks'] as Array<any>).map(TaskInstanceFromJSON)),
|
|
@@ -385,7 +393,8 @@ export function CustomerToJSONTyped(value?: Customer | null, ignoreDiscriminator
|
|
|
385
393
|
'note': value['note'] == null ? undefined : ((value['note'] as Array<any>).map(NoteToJSON)),
|
|
386
394
|
'msExternalId': value['msExternalId'],
|
|
387
395
|
'avatarUrl': value['avatarUrl'],
|
|
388
|
-
'
|
|
396
|
+
'tenantId': value['tenantId'],
|
|
397
|
+
'sourceCreatedAt': (value['sourceCreatedAt'] == null ? null : (value['sourceCreatedAt'] as any).toISOString()),
|
|
389
398
|
'communications': value['communications'] == null ? undefined : ((value['communications'] as Array<any>).map(CommunicationToJSON)),
|
|
390
399
|
'documents': value['documents'] == null ? undefined : ((value['documents'] as Array<any>).map(UploadedDocumentToJSON)),
|
|
391
400
|
'assignedTasks': value['assignedTasks'] == null ? undefined : ((value['assignedTasks'] as Array<any>).map(TaskInstanceToJSON)),
|
|
@@ -17,7 +17,6 @@ export * from './billing-run';
|
|
|
17
17
|
export * from './billing-run-filter-condition';
|
|
18
18
|
export * from './billing-run-filter-options';
|
|
19
19
|
export * from './calendar';
|
|
20
|
-
export * from './calendar-events';
|
|
21
20
|
export * from './cancel-asset-reservations';
|
|
22
21
|
export * from './cancel-subscription';
|
|
23
22
|
export * from './charge';
|
|
@@ -39,12 +38,9 @@ export * from './create-asset-feature-custom';
|
|
|
39
38
|
export * from './create-asset-reservation';
|
|
40
39
|
export * from './create-assets';
|
|
41
40
|
export * from './create-billing-run';
|
|
42
|
-
export * from './create-calendar';
|
|
43
41
|
export * from './create-charge';
|
|
44
42
|
export * from './create-chart-of-accounts';
|
|
45
43
|
export * from './create-communication';
|
|
46
|
-
export * from './create-configuration-setting';
|
|
47
|
-
export * from './create-configuration-settings';
|
|
48
44
|
export * from './create-credit';
|
|
49
45
|
export * from './create-credit-invoice';
|
|
50
46
|
export * from './create-credit-line-items';
|
|
@@ -55,7 +51,6 @@ export * from './create-instances';
|
|
|
55
51
|
export * from './create-map-feature';
|
|
56
52
|
export * from './create-note';
|
|
57
53
|
export * from './create-notes';
|
|
58
|
-
export * from './create-notification';
|
|
59
54
|
export * from './create-order';
|
|
60
55
|
export * from './create-org';
|
|
61
56
|
export * from './create-payment';
|
|
@@ -130,7 +125,6 @@ export * from './get-asset-classes200-response';
|
|
|
130
125
|
export * from './get-asset-features200-response';
|
|
131
126
|
export * from './get-assets200-response';
|
|
132
127
|
export * from './get-billing-runs200-response';
|
|
133
|
-
export * from './get-calendars200-response';
|
|
134
128
|
export * from './get-charges200-response';
|
|
135
129
|
export * from './get-chart-of-accounts200-response';
|
|
136
130
|
export * from './get-checklists200-response';
|
|
@@ -147,7 +141,6 @@ export * from './get-invoices200-response';
|
|
|
147
141
|
export * from './get-invoices-query';
|
|
148
142
|
export * from './get-journal-entries200-response';
|
|
149
143
|
export * from './get-notes200-response';
|
|
150
|
-
export * from './get-notifications200-response';
|
|
151
144
|
export * from './get-orders200-response';
|
|
152
145
|
export * from './get-orders-query';
|
|
153
146
|
export * from './get-payment-methods200-response';
|
|
@@ -273,7 +266,6 @@ export * from './update-asset-category';
|
|
|
273
266
|
export * from './update-asset-feature';
|
|
274
267
|
export * from './update-asset-reservation';
|
|
275
268
|
export * from './update-asset-stock-count';
|
|
276
|
-
export * from './update-configuration-setting';
|
|
277
269
|
export * from './update-customer-status';
|
|
278
270
|
export * from './update-map-feature';
|
|
279
271
|
export * from './update-note';
|