@leadping/sdk 1.0.17 → 1.0.19
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/feedback/index.d.ts +1 -10
- package/dist/feedback/index.d.ts.map +1 -1
- package/dist/feedback/index.js +0 -11
- package/dist/feedback/index.js.map +1 -1
- package/dist/leadpingOpenApiClient.d.ts.map +1 -1
- package/dist/leadpingOpenApiClient.js +1 -2
- package/dist/leadpingOpenApiClient.js.map +1 -1
- package/dist/models/index.d.ts +417 -3001
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +125 -2358
- package/dist/models/index.js.map +1 -1
- package/dist/paymentMethods/index.d.ts +2 -2
- package/dist/paymentMethods/item/defaultEscaped/index.d.ts +2 -2
- package/package.json +1 -1
- package/dist/feedback/admin/all/index.d.ts +0 -72
- package/dist/feedback/admin/all/index.d.ts.map +0 -1
- package/dist/feedback/admin/all/index.js +0 -44
- package/dist/feedback/admin/all/index.js.map +0 -1
- package/dist/feedback/admin/index.d.ts +0 -86
- package/dist/feedback/admin/index.d.ts.map +0 -1
- package/dist/feedback/admin/index.js +0 -57
- package/dist/feedback/admin/index.js.map +0 -1
- package/dist/feedback/admin/item/index.d.ts +0 -47
- package/dist/feedback/admin/item/index.d.ts.map +0 -1
- package/dist/feedback/admin/item/index.js +0 -41
- package/dist/feedback/admin/item/index.js.map +0 -1
package/dist/models/index.js
CHANGED
|
@@ -30,15 +30,6 @@ export function createActivationDomainOptionFromDiscriminatorValue(parseNode) {
|
|
|
30
30
|
export function createActivationTimelineEventFromDiscriminatorValue(parseNode) {
|
|
31
31
|
return deserializeIntoActivationTimelineEvent;
|
|
32
32
|
}
|
|
33
|
-
/**
|
|
34
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
35
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
36
|
-
* @returns {AdminEnablementOverride}
|
|
37
|
-
*/
|
|
38
|
-
// @ts-ignore
|
|
39
|
-
export function createAdminEnablementOverrideFromDiscriminatorValue(parseNode) {
|
|
40
|
-
return deserializeIntoAdminEnablementOverride;
|
|
41
|
-
}
|
|
42
33
|
/**
|
|
43
34
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
44
35
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -174,15 +165,6 @@ export function createAutomationPreviewResponse_samplePayloadFromDiscriminatorVa
|
|
|
174
165
|
export function createAutomationPreviewResponseFromDiscriminatorValue(parseNode) {
|
|
175
166
|
return deserializeIntoAutomationPreviewResponse;
|
|
176
167
|
}
|
|
177
|
-
/**
|
|
178
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
179
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
180
|
-
* @returns {AutomationRequest_adminEnablementOverride}
|
|
181
|
-
*/
|
|
182
|
-
// @ts-ignore
|
|
183
|
-
export function createAutomationRequest_adminEnablementOverrideFromDiscriminatorValue(parseNode) {
|
|
184
|
-
return deserializeIntoAutomationRequest_adminEnablementOverride;
|
|
185
|
-
}
|
|
186
168
|
/**
|
|
187
169
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
188
170
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -201,15 +183,6 @@ export function createAutomationRequestFromDiscriminatorValue(parseNode) {
|
|
|
201
183
|
export function createAutomationRequestSnapshotFromDiscriminatorValue(parseNode) {
|
|
202
184
|
return deserializeIntoAutomationRequestSnapshot;
|
|
203
185
|
}
|
|
204
|
-
/**
|
|
205
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
206
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
207
|
-
* @returns {AutomationResponse_adminEnablementOverride}
|
|
208
|
-
*/
|
|
209
|
-
// @ts-ignore
|
|
210
|
-
export function createAutomationResponse_adminEnablementOverrideFromDiscriminatorValue(parseNode) {
|
|
211
|
-
return deserializeIntoAutomationResponse_adminEnablementOverride;
|
|
212
|
-
}
|
|
213
186
|
/**
|
|
214
187
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
215
188
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -237,15 +210,6 @@ export function createAutomationResponse_userFromDiscriminatorValue(parseNode) {
|
|
|
237
210
|
export function createAutomationResponseFromDiscriminatorValue(parseNode) {
|
|
238
211
|
return deserializeIntoAutomationResponse;
|
|
239
212
|
}
|
|
240
|
-
/**
|
|
241
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
242
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
243
|
-
* @returns {AutomationRunRecord_contextSnapshot}
|
|
244
|
-
*/
|
|
245
|
-
// @ts-ignore
|
|
246
|
-
export function createAutomationRunRecord_contextSnapshotFromDiscriminatorValue(parseNode) {
|
|
247
|
-
return deserializeIntoAutomationRunRecord_contextSnapshot;
|
|
248
|
-
}
|
|
249
213
|
/**
|
|
250
214
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
251
215
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -255,15 +219,6 @@ export function createAutomationRunRecord_contextSnapshotFromDiscriminatorValue(
|
|
|
255
219
|
export function createAutomationRunRecordFromDiscriminatorValue(parseNode) {
|
|
256
220
|
return deserializeIntoAutomationRunRecord;
|
|
257
221
|
}
|
|
258
|
-
/**
|
|
259
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
260
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
261
|
-
* @returns {AutomationTableRow_adminEnablementOverride}
|
|
262
|
-
*/
|
|
263
|
-
// @ts-ignore
|
|
264
|
-
export function createAutomationTableRow_adminEnablementOverrideFromDiscriminatorValue(parseNode) {
|
|
265
|
-
return deserializeIntoAutomationTableRow_adminEnablementOverride;
|
|
266
|
-
}
|
|
267
222
|
/**
|
|
268
223
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
269
224
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -381,15 +336,6 @@ export function createBusinessActivationStateFromDiscriminatorValue(parseNode) {
|
|
|
381
336
|
export function createBusinessCompliancePolicyFromDiscriminatorValue(parseNode) {
|
|
382
337
|
return deserializeIntoBusinessCompliancePolicy;
|
|
383
338
|
}
|
|
384
|
-
/**
|
|
385
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
386
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
387
|
-
* @returns {BusinessDunningInfo}
|
|
388
|
-
*/
|
|
389
|
-
// @ts-ignore
|
|
390
|
-
export function createBusinessDunningInfoFromDiscriminatorValue(parseNode) {
|
|
391
|
-
return deserializeIntoBusinessDunningInfo;
|
|
392
|
-
}
|
|
393
339
|
/**
|
|
394
340
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
395
341
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -417,15 +363,6 @@ export function createBusinessInvitationResponseFromDiscriminatorValue(parseNode
|
|
|
417
363
|
export function createBusinessInvitationTableRowFromDiscriminatorValue(parseNode) {
|
|
418
364
|
return deserializeIntoBusinessInvitationTableRow;
|
|
419
365
|
}
|
|
420
|
-
/**
|
|
421
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
422
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
423
|
-
* @returns {BusinessRequest_activation}
|
|
424
|
-
*/
|
|
425
|
-
// @ts-ignore
|
|
426
|
-
export function createBusinessRequest_activationFromDiscriminatorValue(parseNode) {
|
|
427
|
-
return deserializeIntoBusinessRequest_activation;
|
|
428
|
-
}
|
|
429
366
|
/**
|
|
430
367
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
431
368
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -435,15 +372,6 @@ export function createBusinessRequest_activationFromDiscriminatorValue(parseNode
|
|
|
435
372
|
export function createBusinessRequest_addressFromDiscriminatorValue(parseNode) {
|
|
436
373
|
return deserializeIntoBusinessRequest_address;
|
|
437
374
|
}
|
|
438
|
-
/**
|
|
439
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
440
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
441
|
-
* @returns {BusinessRequest_adminEnablementOverride}
|
|
442
|
-
*/
|
|
443
|
-
// @ts-ignore
|
|
444
|
-
export function createBusinessRequest_adminEnablementOverrideFromDiscriminatorValue(parseNode) {
|
|
445
|
-
return deserializeIntoBusinessRequest_adminEnablementOverride;
|
|
446
|
-
}
|
|
447
375
|
/**
|
|
448
376
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
449
377
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -471,15 +399,6 @@ export function createBusinessRequest_compliancePolicyFromDiscriminatorValue(par
|
|
|
471
399
|
export function createBusinessRequest_einDocumentFromDiscriminatorValue(parseNode) {
|
|
472
400
|
return deserializeIntoBusinessRequest_einDocument;
|
|
473
401
|
}
|
|
474
|
-
/**
|
|
475
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
476
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
477
|
-
* @returns {BusinessRequest_stripeInfo}
|
|
478
|
-
*/
|
|
479
|
-
// @ts-ignore
|
|
480
|
-
export function createBusinessRequest_stripeInfoFromDiscriminatorValue(parseNode) {
|
|
481
|
-
return deserializeIntoBusinessRequest_stripeInfo;
|
|
482
|
-
}
|
|
483
402
|
/**
|
|
484
403
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
485
404
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -507,15 +426,6 @@ export function createBusinessResponse_activationFromDiscriminatorValue(parseNod
|
|
|
507
426
|
export function createBusinessResponse_addressFromDiscriminatorValue(parseNode) {
|
|
508
427
|
return deserializeIntoBusinessResponse_address;
|
|
509
428
|
}
|
|
510
|
-
/**
|
|
511
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
512
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
513
|
-
* @returns {BusinessResponse_adminEnablementOverride}
|
|
514
|
-
*/
|
|
515
|
-
// @ts-ignore
|
|
516
|
-
export function createBusinessResponse_adminEnablementOverrideFromDiscriminatorValue(parseNode) {
|
|
517
|
-
return deserializeIntoBusinessResponse_adminEnablementOverride;
|
|
518
|
-
}
|
|
519
429
|
/**
|
|
520
430
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
521
431
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -552,15 +462,6 @@ export function createBusinessResponse_einDocumentFromDiscriminatorValue(parseNo
|
|
|
552
462
|
export function createBusinessResponse_siteFromDiscriminatorValue(parseNode) {
|
|
553
463
|
return deserializeIntoBusinessResponse_site;
|
|
554
464
|
}
|
|
555
|
-
/**
|
|
556
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
557
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
558
|
-
* @returns {BusinessResponse_stripeInfo}
|
|
559
|
-
*/
|
|
560
|
-
// @ts-ignore
|
|
561
|
-
export function createBusinessResponse_stripeInfoFromDiscriminatorValue(parseNode) {
|
|
562
|
-
return deserializeIntoBusinessResponse_stripeInfo;
|
|
563
|
-
}
|
|
564
465
|
/**
|
|
565
466
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
566
467
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -579,42 +480,6 @@ export function createBusinessResponse_userFromDiscriminatorValue(parseNode) {
|
|
|
579
480
|
export function createBusinessResponseFromDiscriminatorValue(parseNode) {
|
|
580
481
|
return deserializeIntoBusinessResponse;
|
|
581
482
|
}
|
|
582
|
-
/**
|
|
583
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
584
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
585
|
-
* @returns {BusinessStripeInfo_cancellation}
|
|
586
|
-
*/
|
|
587
|
-
// @ts-ignore
|
|
588
|
-
export function createBusinessStripeInfo_cancellationFromDiscriminatorValue(parseNode) {
|
|
589
|
-
return deserializeIntoBusinessStripeInfo_cancellation;
|
|
590
|
-
}
|
|
591
|
-
/**
|
|
592
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
593
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
594
|
-
* @returns {BusinessStripeInfo_dunning}
|
|
595
|
-
*/
|
|
596
|
-
// @ts-ignore
|
|
597
|
-
export function createBusinessStripeInfo_dunningFromDiscriminatorValue(parseNode) {
|
|
598
|
-
return deserializeIntoBusinessStripeInfo_dunning;
|
|
599
|
-
}
|
|
600
|
-
/**
|
|
601
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
602
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
603
|
-
* @returns {BusinessStripeInfo}
|
|
604
|
-
*/
|
|
605
|
-
// @ts-ignore
|
|
606
|
-
export function createBusinessStripeInfoFromDiscriminatorValue(parseNode) {
|
|
607
|
-
return deserializeIntoBusinessStripeInfo;
|
|
608
|
-
}
|
|
609
|
-
/**
|
|
610
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
611
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
612
|
-
* @returns {BusinessSubscriptionCancellationInfo}
|
|
613
|
-
*/
|
|
614
|
-
// @ts-ignore
|
|
615
|
-
export function createBusinessSubscriptionCancellationInfoFromDiscriminatorValue(parseNode) {
|
|
616
|
-
return deserializeIntoBusinessSubscriptionCancellationInfo;
|
|
617
|
-
}
|
|
618
483
|
/**
|
|
619
484
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
620
485
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -633,15 +498,6 @@ export function createBusinessSwitchOptionFromDiscriminatorValue(parseNode) {
|
|
|
633
498
|
export function createBusinessSwitchRequestFromDiscriminatorValue(parseNode) {
|
|
634
499
|
return deserializeIntoBusinessSwitchRequest;
|
|
635
500
|
}
|
|
636
|
-
/**
|
|
637
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
638
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
639
|
-
* @returns {BusinessTableRow_adminEnablementOverride}
|
|
640
|
-
*/
|
|
641
|
-
// @ts-ignore
|
|
642
|
-
export function createBusinessTableRow_adminEnablementOverrideFromDiscriminatorValue(parseNode) {
|
|
643
|
-
return deserializeIntoBusinessTableRow_adminEnablementOverride;
|
|
644
|
-
}
|
|
645
501
|
/**
|
|
646
502
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
647
503
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -678,15 +534,6 @@ export function createBusinessUserResponseFromDiscriminatorValue(parseNode) {
|
|
|
678
534
|
export function createBusinessUserTableRowFromDiscriminatorValue(parseNode) {
|
|
679
535
|
return deserializeIntoBusinessUserTableRow;
|
|
680
536
|
}
|
|
681
|
-
/**
|
|
682
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
683
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
684
|
-
* @returns {CallEventTableRow_metadata}
|
|
685
|
-
*/
|
|
686
|
-
// @ts-ignore
|
|
687
|
-
export function createCallEventTableRow_metadataFromDiscriminatorValue(parseNode) {
|
|
688
|
-
return deserializeIntoCallEventTableRow_metadata;
|
|
689
|
-
}
|
|
690
537
|
/**
|
|
691
538
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
692
539
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -993,15 +840,6 @@ export function createEventTableRowFromDiscriminatorValue(parseNode) {
|
|
|
993
840
|
export function createExactMatchFilterFromDiscriminatorValue(parseNode) {
|
|
994
841
|
return deserializeIntoExactMatchFilter;
|
|
995
842
|
}
|
|
996
|
-
/**
|
|
997
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
998
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
999
|
-
* @returns {FeedbackAdminUpdateRequest}
|
|
1000
|
-
*/
|
|
1001
|
-
// @ts-ignore
|
|
1002
|
-
export function createFeedbackAdminUpdateRequestFromDiscriminatorValue(parseNode) {
|
|
1003
|
-
return deserializeIntoFeedbackAdminUpdateRequest;
|
|
1004
|
-
}
|
|
1005
843
|
/**
|
|
1006
844
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
1007
845
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -1137,15 +975,6 @@ export function createLeadMetadataFromDiscriminatorValue(parseNode) {
|
|
|
1137
975
|
export function createLeadProfileFromDiscriminatorValue(parseNode) {
|
|
1138
976
|
return deserializeIntoLeadProfile;
|
|
1139
977
|
}
|
|
1140
|
-
/**
|
|
1141
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
1142
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
1143
|
-
* @returns {LeadRequest_adminEnablementOverride}
|
|
1144
|
-
*/
|
|
1145
|
-
// @ts-ignore
|
|
1146
|
-
export function createLeadRequest_adminEnablementOverrideFromDiscriminatorValue(parseNode) {
|
|
1147
|
-
return deserializeIntoLeadRequest_adminEnablementOverride;
|
|
1148
|
-
}
|
|
1149
978
|
/**
|
|
1150
979
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
1151
980
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -1155,15 +984,6 @@ export function createLeadRequest_adminEnablementOverrideFromDiscriminatorValue(
|
|
|
1155
984
|
export function createLeadRequestFromDiscriminatorValue(parseNode) {
|
|
1156
985
|
return deserializeIntoLeadRequest;
|
|
1157
986
|
}
|
|
1158
|
-
/**
|
|
1159
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
1160
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
1161
|
-
* @returns {LeadResponse_adminEnablementOverride}
|
|
1162
|
-
*/
|
|
1163
|
-
// @ts-ignore
|
|
1164
|
-
export function createLeadResponse_adminEnablementOverrideFromDiscriminatorValue(parseNode) {
|
|
1165
|
-
return deserializeIntoLeadResponse_adminEnablementOverride;
|
|
1166
|
-
}
|
|
1167
987
|
/**
|
|
1168
988
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
1169
989
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -1182,15 +1002,6 @@ export function createLeadResponse_currentDispositionFromDiscriminatorValue(pars
|
|
|
1182
1002
|
export function createLeadResponseFromDiscriminatorValue(parseNode) {
|
|
1183
1003
|
return deserializeIntoLeadResponse;
|
|
1184
1004
|
}
|
|
1185
|
-
/**
|
|
1186
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
1187
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
1188
|
-
* @returns {LeadTableRow_adminEnablementOverride}
|
|
1189
|
-
*/
|
|
1190
|
-
// @ts-ignore
|
|
1191
|
-
export function createLeadTableRow_adminEnablementOverrideFromDiscriminatorValue(parseNode) {
|
|
1192
|
-
return deserializeIntoLeadTableRow_adminEnablementOverride;
|
|
1193
|
-
}
|
|
1194
1005
|
/**
|
|
1195
1006
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
1196
1007
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -1344,15 +1155,6 @@ export function createPagedResultOfConversationResponseFromDiscriminatorValue(pa
|
|
|
1344
1155
|
export function createPagedResultOfEventTableRowFromDiscriminatorValue(parseNode) {
|
|
1345
1156
|
return deserializeIntoPagedResultOfEventTableRow;
|
|
1346
1157
|
}
|
|
1347
|
-
/**
|
|
1348
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
1349
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
1350
|
-
* @returns {PagedResultOfFeedbackResponse}
|
|
1351
|
-
*/
|
|
1352
|
-
// @ts-ignore
|
|
1353
|
-
export function createPagedResultOfFeedbackResponseFromDiscriminatorValue(parseNode) {
|
|
1354
|
-
return deserializeIntoPagedResultOfFeedbackResponse;
|
|
1355
|
-
}
|
|
1356
1158
|
/**
|
|
1357
1159
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
1358
1160
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -1425,15 +1227,6 @@ export function createPagedResultOfUsageLedgerTableRowFromDiscriminatorValue(par
|
|
|
1425
1227
|
export function createPhone_lookupFromDiscriminatorValue(parseNode) {
|
|
1426
1228
|
return deserializeIntoPhone_lookup;
|
|
1427
1229
|
}
|
|
1428
|
-
/**
|
|
1429
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
1430
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
1431
|
-
* @returns {PhoneCallResponse_metadata}
|
|
1432
|
-
*/
|
|
1433
|
-
// @ts-ignore
|
|
1434
|
-
export function createPhoneCallResponse_metadataFromDiscriminatorValue(parseNode) {
|
|
1435
|
-
return deserializeIntoPhoneCallResponse_metadata;
|
|
1436
|
-
}
|
|
1437
1230
|
/**
|
|
1438
1231
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
1439
1232
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -1452,6 +1245,15 @@ export function createPhoneCallResponseFromDiscriminatorValue(parseNode) {
|
|
|
1452
1245
|
export function createPhoneFromDiscriminatorValue(parseNode) {
|
|
1453
1246
|
return deserializeIntoPhone;
|
|
1454
1247
|
}
|
|
1248
|
+
/**
|
|
1249
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
1250
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
1251
|
+
* @returns {PhoneLookup_carrier}
|
|
1252
|
+
*/
|
|
1253
|
+
// @ts-ignore
|
|
1254
|
+
export function createPhoneLookup_carrierFromDiscriminatorValue(parseNode) {
|
|
1255
|
+
return deserializeIntoPhoneLookup_carrier;
|
|
1256
|
+
}
|
|
1455
1257
|
/**
|
|
1456
1258
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
1457
1259
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -1461,6 +1263,15 @@ export function createPhoneFromDiscriminatorValue(parseNode) {
|
|
|
1461
1263
|
export function createPhoneLookup_locationFromDiscriminatorValue(parseNode) {
|
|
1462
1264
|
return deserializeIntoPhoneLookup_location;
|
|
1463
1265
|
}
|
|
1266
|
+
/**
|
|
1267
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
1268
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
1269
|
+
* @returns {PhoneLookupCarrier}
|
|
1270
|
+
*/
|
|
1271
|
+
// @ts-ignore
|
|
1272
|
+
export function createPhoneLookupCarrierFromDiscriminatorValue(parseNode) {
|
|
1273
|
+
return deserializeIntoPhoneLookupCarrier;
|
|
1274
|
+
}
|
|
1464
1275
|
/**
|
|
1465
1276
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
1466
1277
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -1497,33 +1308,6 @@ export function createPhoneNumberAvailabilityResponse_locationFromDiscriminatorV
|
|
|
1497
1308
|
export function createPhoneNumberAvailabilityResponseFromDiscriminatorValue(parseNode) {
|
|
1498
1309
|
return deserializeIntoPhoneNumberAvailabilityResponse;
|
|
1499
1310
|
}
|
|
1500
|
-
/**
|
|
1501
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
1502
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
1503
|
-
* @returns {PhoneNumberBillingAttribution}
|
|
1504
|
-
*/
|
|
1505
|
-
// @ts-ignore
|
|
1506
|
-
export function createPhoneNumberBillingAttributionFromDiscriminatorValue(parseNode) {
|
|
1507
|
-
return deserializeIntoPhoneNumberBillingAttribution;
|
|
1508
|
-
}
|
|
1509
|
-
/**
|
|
1510
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
1511
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
1512
|
-
* @returns {PhoneNumberCapabilities}
|
|
1513
|
-
*/
|
|
1514
|
-
// @ts-ignore
|
|
1515
|
-
export function createPhoneNumberCapabilitiesFromDiscriminatorValue(parseNode) {
|
|
1516
|
-
return deserializeIntoPhoneNumberCapabilities;
|
|
1517
|
-
}
|
|
1518
|
-
/**
|
|
1519
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
1520
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
1521
|
-
* @returns {PhoneNumberEventRecord}
|
|
1522
|
-
*/
|
|
1523
|
-
// @ts-ignore
|
|
1524
|
-
export function createPhoneNumberEventRecordFromDiscriminatorValue(parseNode) {
|
|
1525
|
-
return deserializeIntoPhoneNumberEventRecord;
|
|
1526
|
-
}
|
|
1527
1311
|
/**
|
|
1528
1312
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
1529
1313
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -1560,15 +1344,6 @@ export function createPhoneNumberMessagingEventResponseFromDiscriminatorValue(pa
|
|
|
1560
1344
|
export function createPhoneNumberOptOutMetricsResponseFromDiscriminatorValue(parseNode) {
|
|
1561
1345
|
return deserializeIntoPhoneNumberOptOutMetricsResponse;
|
|
1562
1346
|
}
|
|
1563
|
-
/**
|
|
1564
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
1565
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
1566
|
-
* @returns {PhoneNumberRequest_adminEnablementOverride}
|
|
1567
|
-
*/
|
|
1568
|
-
// @ts-ignore
|
|
1569
|
-
export function createPhoneNumberRequest_adminEnablementOverrideFromDiscriminatorValue(parseNode) {
|
|
1570
|
-
return deserializeIntoPhoneNumberRequest_adminEnablementOverride;
|
|
1571
|
-
}
|
|
1572
1347
|
/**
|
|
1573
1348
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
1574
1349
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -1578,15 +1353,6 @@ export function createPhoneNumberRequest_adminEnablementOverrideFromDiscriminato
|
|
|
1578
1353
|
export function createPhoneNumberRequestFromDiscriminatorValue(parseNode) {
|
|
1579
1354
|
return deserializeIntoPhoneNumberRequest;
|
|
1580
1355
|
}
|
|
1581
|
-
/**
|
|
1582
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
1583
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
1584
|
-
* @returns {PhoneNumberResponse_adminEnablementOverride}
|
|
1585
|
-
*/
|
|
1586
|
-
// @ts-ignore
|
|
1587
|
-
export function createPhoneNumberResponse_adminEnablementOverrideFromDiscriminatorValue(parseNode) {
|
|
1588
|
-
return deserializeIntoPhoneNumberResponse_adminEnablementOverride;
|
|
1589
|
-
}
|
|
1590
1356
|
/**
|
|
1591
1357
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
1592
1358
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -1605,15 +1371,6 @@ export function createPhoneNumberResponse_businessFromDiscriminatorValue(parseNo
|
|
|
1605
1371
|
export function createPhoneNumberResponse_locationFromDiscriminatorValue(parseNode) {
|
|
1606
1372
|
return deserializeIntoPhoneNumberResponse_location;
|
|
1607
1373
|
}
|
|
1608
|
-
/**
|
|
1609
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
1610
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
1611
|
-
* @returns {PhoneNumberResponse_user}
|
|
1612
|
-
*/
|
|
1613
|
-
// @ts-ignore
|
|
1614
|
-
export function createPhoneNumberResponse_userFromDiscriminatorValue(parseNode) {
|
|
1615
|
-
return deserializeIntoPhoneNumberResponse_user;
|
|
1616
|
-
}
|
|
1617
1374
|
/**
|
|
1618
1375
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
1619
1376
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -1677,15 +1434,6 @@ export function createPhoneNumberSearchResult_locationFromDiscriminatorValue(par
|
|
|
1677
1434
|
export function createPhoneNumberSearchResultFromDiscriminatorValue(parseNode) {
|
|
1678
1435
|
return deserializeIntoPhoneNumberSearchResult;
|
|
1679
1436
|
}
|
|
1680
|
-
/**
|
|
1681
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
1682
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
1683
|
-
* @returns {PhoneNumberStatusResponse_callWarmup}
|
|
1684
|
-
*/
|
|
1685
|
-
// @ts-ignore
|
|
1686
|
-
export function createPhoneNumberStatusResponse_callWarmupFromDiscriminatorValue(parseNode) {
|
|
1687
|
-
return deserializeIntoPhoneNumberStatusResponse_callWarmup;
|
|
1688
|
-
}
|
|
1689
1437
|
/**
|
|
1690
1438
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
1691
1439
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -1713,15 +1461,6 @@ export function createPhoneNumberStatusResponse_smsWarmupFromDiscriminatorValue(
|
|
|
1713
1461
|
export function createPhoneNumberStatusResponseFromDiscriminatorValue(parseNode) {
|
|
1714
1462
|
return deserializeIntoPhoneNumberStatusResponse;
|
|
1715
1463
|
}
|
|
1716
|
-
/**
|
|
1717
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
1718
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
1719
|
-
* @returns {PhoneNumberTableRow_adminEnablementOverride}
|
|
1720
|
-
*/
|
|
1721
|
-
// @ts-ignore
|
|
1722
|
-
export function createPhoneNumberTableRow_adminEnablementOverrideFromDiscriminatorValue(parseNode) {
|
|
1723
|
-
return deserializeIntoPhoneNumberTableRow_adminEnablementOverride;
|
|
1724
|
-
}
|
|
1725
1464
|
/**
|
|
1726
1465
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
1727
1466
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -1731,15 +1470,6 @@ export function createPhoneNumberTableRow_adminEnablementOverrideFromDiscriminat
|
|
|
1731
1470
|
export function createPhoneNumberTableRowFromDiscriminatorValue(parseNode) {
|
|
1732
1471
|
return deserializeIntoPhoneNumberTableRow;
|
|
1733
1472
|
}
|
|
1734
|
-
/**
|
|
1735
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
1736
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
1737
|
-
* @returns {PhoneNumberTenDlcAssociation}
|
|
1738
|
-
*/
|
|
1739
|
-
// @ts-ignore
|
|
1740
|
-
export function createPhoneNumberTenDlcAssociationFromDiscriminatorValue(parseNode) {
|
|
1741
|
-
return deserializeIntoPhoneNumberTenDlcAssociation;
|
|
1742
|
-
}
|
|
1743
1473
|
/**
|
|
1744
1474
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
1745
1475
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -1761,20 +1491,11 @@ export function createPhoneNumberTrafficTrendPointFromDiscriminatorValue(parseNo
|
|
|
1761
1491
|
/**
|
|
1762
1492
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
1763
1493
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
1764
|
-
* @returns {
|
|
1765
|
-
*/
|
|
1766
|
-
// @ts-ignore
|
|
1767
|
-
export function createPhoneNumberWarmupCallResponseFromDiscriminatorValue(parseNode) {
|
|
1768
|
-
return deserializeIntoPhoneNumberWarmupCallResponse;
|
|
1769
|
-
}
|
|
1770
|
-
/**
|
|
1771
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
1772
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
1773
|
-
* @returns {PhoneNumberWarmupStatusResponse}
|
|
1494
|
+
* @returns {PhoneNumberWarmup}
|
|
1774
1495
|
*/
|
|
1775
1496
|
// @ts-ignore
|
|
1776
|
-
export function
|
|
1777
|
-
return
|
|
1497
|
+
export function createPhoneNumberWarmupFromDiscriminatorValue(parseNode) {
|
|
1498
|
+
return deserializeIntoPhoneNumberWarmup;
|
|
1778
1499
|
}
|
|
1779
1500
|
/**
|
|
1780
1501
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
@@ -1830,15 +1551,6 @@ export function createSmsEventTableRowFromDiscriminatorValue(parseNode) {
|
|
|
1830
1551
|
export function createSmsResponseFromDiscriminatorValue(parseNode) {
|
|
1831
1552
|
return deserializeIntoSmsResponse;
|
|
1832
1553
|
}
|
|
1833
|
-
/**
|
|
1834
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
1835
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
1836
|
-
* @returns {SmsWarmupActionResponse}
|
|
1837
|
-
*/
|
|
1838
|
-
// @ts-ignore
|
|
1839
|
-
export function createSmsWarmupActionResponseFromDiscriminatorValue(parseNode) {
|
|
1840
|
-
return deserializeIntoSmsWarmupActionResponse;
|
|
1841
|
-
}
|
|
1842
1554
|
/**
|
|
1843
1555
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
1844
1556
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -1866,15 +1578,6 @@ export function createSmsWarmupUiStateFromDiscriminatorValue(parseNode) {
|
|
|
1866
1578
|
export function createSourceMetricsResponseFromDiscriminatorValue(parseNode) {
|
|
1867
1579
|
return deserializeIntoSourceMetricsResponse;
|
|
1868
1580
|
}
|
|
1869
|
-
/**
|
|
1870
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
1871
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
1872
|
-
* @returns {SourceRequest_adminEnablementOverride}
|
|
1873
|
-
*/
|
|
1874
|
-
// @ts-ignore
|
|
1875
|
-
export function createSourceRequest_adminEnablementOverrideFromDiscriminatorValue(parseNode) {
|
|
1876
|
-
return deserializeIntoSourceRequest_adminEnablementOverride;
|
|
1877
|
-
}
|
|
1878
1581
|
/**
|
|
1879
1582
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
1880
1583
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -1884,15 +1587,6 @@ export function createSourceRequest_adminEnablementOverrideFromDiscriminatorValu
|
|
|
1884
1587
|
export function createSourceRequestFromDiscriminatorValue(parseNode) {
|
|
1885
1588
|
return deserializeIntoSourceRequest;
|
|
1886
1589
|
}
|
|
1887
|
-
/**
|
|
1888
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
1889
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
1890
|
-
* @returns {SourceResponse_adminEnablementOverride}
|
|
1891
|
-
*/
|
|
1892
|
-
// @ts-ignore
|
|
1893
|
-
export function createSourceResponse_adminEnablementOverrideFromDiscriminatorValue(parseNode) {
|
|
1894
|
-
return deserializeIntoSourceResponse_adminEnablementOverride;
|
|
1895
|
-
}
|
|
1896
1590
|
/**
|
|
1897
1591
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
1898
1592
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -1938,15 +1632,6 @@ export function createSourceResponse_userFromDiscriminatorValue(parseNode) {
|
|
|
1938
1632
|
export function createSourceResponseFromDiscriminatorValue(parseNode) {
|
|
1939
1633
|
return deserializeIntoSourceResponse;
|
|
1940
1634
|
}
|
|
1941
|
-
/**
|
|
1942
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
1943
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
1944
|
-
* @returns {SourceTableRow_adminEnablementOverride}
|
|
1945
|
-
*/
|
|
1946
|
-
// @ts-ignore
|
|
1947
|
-
export function createSourceTableRow_adminEnablementOverrideFromDiscriminatorValue(parseNode) {
|
|
1948
|
-
return deserializeIntoSourceTableRow_adminEnablementOverride;
|
|
1949
|
-
}
|
|
1950
1635
|
/**
|
|
1951
1636
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
1952
1637
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -2037,15 +1722,6 @@ export function createSuppressionEntryAudit_safeMetadataFromDiscriminatorValue(p
|
|
|
2037
1722
|
export function createSuppressionEntryAuditFromDiscriminatorValue(parseNode) {
|
|
2038
1723
|
return deserializeIntoSuppressionEntryAudit;
|
|
2039
1724
|
}
|
|
2040
|
-
/**
|
|
2041
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
2042
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
2043
|
-
* @returns {SuppressionEntryRequest_safeMetadata}
|
|
2044
|
-
*/
|
|
2045
|
-
// @ts-ignore
|
|
2046
|
-
export function createSuppressionEntryRequest_safeMetadataFromDiscriminatorValue(parseNode) {
|
|
2047
|
-
return deserializeIntoSuppressionEntryRequest_safeMetadata;
|
|
2048
|
-
}
|
|
2049
1725
|
/**
|
|
2050
1726
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
2051
1727
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -2118,15 +1794,6 @@ export function createTelephonyLoginResponseFromDiscriminatorValue(parseNode) {
|
|
|
2118
1794
|
export function createTenDlcApplicationDraftFromDiscriminatorValue(parseNode) {
|
|
2119
1795
|
return deserializeIntoTenDlcApplicationDraft;
|
|
2120
1796
|
}
|
|
2121
|
-
/**
|
|
2122
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
2123
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
2124
|
-
* @returns {TransactionResponse_metadata}
|
|
2125
|
-
*/
|
|
2126
|
-
// @ts-ignore
|
|
2127
|
-
export function createTransactionResponse_metadataFromDiscriminatorValue(parseNode) {
|
|
2128
|
-
return deserializeIntoTransactionResponse_metadata;
|
|
2129
|
-
}
|
|
2130
1797
|
/**
|
|
2131
1798
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
2132
1799
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -2298,15 +1965,6 @@ export function createUserResponse_currentBusinessFromDiscriminatorValue(parseNo
|
|
|
2298
1965
|
export function createUserResponse_notificationPreferencesFromDiscriminatorValue(parseNode) {
|
|
2299
1966
|
return deserializeIntoUserResponse_notificationPreferences;
|
|
2300
1967
|
}
|
|
2301
|
-
/**
|
|
2302
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
2303
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
2304
|
-
* @returns {UserResponse_stripeInfo}
|
|
2305
|
-
*/
|
|
2306
|
-
// @ts-ignore
|
|
2307
|
-
export function createUserResponse_stripeInfoFromDiscriminatorValue(parseNode) {
|
|
2308
|
-
return deserializeIntoUserResponse_stripeInfo;
|
|
2309
|
-
}
|
|
2310
1968
|
/**
|
|
2311
1969
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
2312
1970
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -2376,25 +2034,11 @@ export function deserializeIntoActivationTimelineEvent(activationTimelineEvent =
|
|
|
2376
2034
|
}
|
|
2377
2035
|
/**
|
|
2378
2036
|
* The deserialization information for the current model
|
|
2379
|
-
* @param
|
|
2037
|
+
* @param AnalyticsComparison The instance to deserialize into.
|
|
2380
2038
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
2381
2039
|
*/
|
|
2382
2040
|
// @ts-ignore
|
|
2383
|
-
export function
|
|
2384
|
-
return {
|
|
2385
|
-
"enabled": n => { adminEnablementOverride.enabled = n.getBooleanValue(); },
|
|
2386
|
-
"reason": n => { adminEnablementOverride.reason = n.getStringValue(); },
|
|
2387
|
-
"updatedAt": n => { adminEnablementOverride.updatedAt = n.getDateValue(); },
|
|
2388
|
-
"updatedByUserId": n => { adminEnablementOverride.updatedByUserId = n.getStringValue(); },
|
|
2389
|
-
};
|
|
2390
|
-
}
|
|
2391
|
-
/**
|
|
2392
|
-
* The deserialization information for the current model
|
|
2393
|
-
* @param AnalyticsComparison The instance to deserialize into.
|
|
2394
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
2395
|
-
*/
|
|
2396
|
-
// @ts-ignore
|
|
2397
|
-
export function deserializeIntoAnalyticsComparison(analyticsComparison = {}) {
|
|
2041
|
+
export function deserializeIntoAnalyticsComparison(analyticsComparison = {}) {
|
|
2398
2042
|
return {
|
|
2399
2043
|
"changePercent": n => { analyticsComparison.changePercent = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
2400
2044
|
"current": n => { analyticsComparison.current = n.getNumberValue(); },
|
|
@@ -2479,15 +2123,11 @@ export function deserializeIntoAutomationActionRunRecord(automationActionRunReco
|
|
|
2479
2123
|
"actionType": n => { automationActionRunRecord.actionType = n.getStringValue(); },
|
|
2480
2124
|
"automationRunId": n => { automationActionRunRecord.automationRunId = n.getStringValue(); },
|
|
2481
2125
|
"completedAt": n => { automationActionRunRecord.completedAt = n.getDateValue(); },
|
|
2482
|
-
"connectionKey": n => { automationActionRunRecord.connectionKey = n.getStringValue(); },
|
|
2483
|
-
"error": n => { automationActionRunRecord.errorEscaped = n.getStringValue(); },
|
|
2484
|
-
"executionKey": n => { automationActionRunRecord.executionKey = n.getStringValue(); },
|
|
2485
2126
|
"failedAt": n => { automationActionRunRecord.failedAt = n.getDateValue(); },
|
|
2486
2127
|
"failureCode": n => { automationActionRunRecord.failureCode = n.getStringValue(); },
|
|
2487
2128
|
"id": n => { automationActionRunRecord.id = n.getStringValue(); },
|
|
2488
2129
|
"nextRetryAt": n => { automationActionRunRecord.nextRetryAt = n.getDateValue(); },
|
|
2489
2130
|
"order": n => { automationActionRunRecord.order = n.getNumberValue(); },
|
|
2490
|
-
"output": n => { automationActionRunRecord.output = n.getStringValue(); },
|
|
2491
2131
|
"processingAttempts": n => { automationActionRunRecord.processingAttempts = n.getNumberValue(); },
|
|
2492
2132
|
"scheduledAt": n => { automationActionRunRecord.scheduledAt = n.getDateValue(); },
|
|
2493
2133
|
"startedAt": n => { automationActionRunRecord.startedAt = n.getDateValue(); },
|
|
@@ -2605,15 +2245,10 @@ export function deserializeIntoAutomationPreviewResponse_samplePayload(automatio
|
|
|
2605
2245
|
export function deserializeIntoAutomationRequest(automationRequest = {}) {
|
|
2606
2246
|
return {
|
|
2607
2247
|
"actions": n => { automationRequest.actions = n.getCollectionOfObjectValues(createAutomationActionFromDiscriminatorValue); },
|
|
2608
|
-
"adminEnablementOverride": n => { automationRequest.adminEnablementOverride = n.getObjectValue(createAutomationRequest_adminEnablementOverrideFromDiscriminatorValue); },
|
|
2609
|
-
"businessId": n => { automationRequest.businessId = n.getStringValue(); },
|
|
2610
2248
|
"conditionGroups": n => { automationRequest.conditionGroups = n.getCollectionOfObjectValues(createAutomationConditionGroupFromDiscriminatorValue); },
|
|
2611
|
-
"createdByUserId": n => { automationRequest.createdByUserId = n.getStringValue(); },
|
|
2612
2249
|
"description": n => { automationRequest.description = n.getStringValue(); },
|
|
2613
2250
|
"enabled": n => { automationRequest.enabled = n.getBooleanValue(); },
|
|
2614
2251
|
"id": n => { automationRequest.id = n.getStringValue(); },
|
|
2615
|
-
"isSystemManaged": n => { automationRequest.isSystemManaged = n.getBooleanValue(); },
|
|
2616
|
-
"managementLevel": n => { automationRequest.managementLevel = n.getStringValue(); },
|
|
2617
2252
|
"name": n => { automationRequest.name = n.getStringValue(); },
|
|
2618
2253
|
"scope": n => { automationRequest.scope = n.getStringValue(); },
|
|
2619
2254
|
"triggers": n => { automationRequest.triggers = n.getCollectionOfObjectValues(createAutomationTriggerFromDiscriminatorValue); },
|
|
@@ -2621,17 +2256,6 @@ export function deserializeIntoAutomationRequest(automationRequest = {}) {
|
|
|
2621
2256
|
"visibility": n => { automationRequest.visibility = n.getStringValue(); },
|
|
2622
2257
|
};
|
|
2623
2258
|
}
|
|
2624
|
-
/**
|
|
2625
|
-
* The deserialization information for the current model
|
|
2626
|
-
* @param AutomationRequest_adminEnablementOverride The instance to deserialize into.
|
|
2627
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
2628
|
-
*/
|
|
2629
|
-
// @ts-ignore
|
|
2630
|
-
export function deserializeIntoAutomationRequest_adminEnablementOverride(automationRequest_adminEnablementOverride = {}) {
|
|
2631
|
-
return {
|
|
2632
|
-
...deserializeIntoAdminEnablementOverride(automationRequest_adminEnablementOverride),
|
|
2633
|
-
};
|
|
2634
|
-
}
|
|
2635
2259
|
/**
|
|
2636
2260
|
* The deserialization information for the current model
|
|
2637
2261
|
* @param AutomationRequestSnapshot The instance to deserialize into.
|
|
@@ -2664,7 +2288,6 @@ export function deserializeIntoAutomationRequestSnapshot(automationRequestSnapsh
|
|
|
2664
2288
|
export function deserializeIntoAutomationResponse(automationResponse = {}) {
|
|
2665
2289
|
return {
|
|
2666
2290
|
"actions": n => { automationResponse.actions = n.getCollectionOfObjectValues(createAutomationActionFromDiscriminatorValue); },
|
|
2667
|
-
"adminEnablementOverride": n => { automationResponse.adminEnablementOverride = n.getObjectValue(createAutomationResponse_adminEnablementOverrideFromDiscriminatorValue); },
|
|
2668
2291
|
"business": n => { automationResponse.business = n.getObjectValue(createAutomationResponse_businessFromDiscriminatorValue); },
|
|
2669
2292
|
"businessId": n => { automationResponse.businessId = n.getStringValue(); },
|
|
2670
2293
|
"conditionGroups": n => { automationResponse.conditionGroups = n.getCollectionOfObjectValues(createAutomationConditionGroupFromDiscriminatorValue); },
|
|
@@ -2675,7 +2298,6 @@ export function deserializeIntoAutomationResponse(automationResponse = {}) {
|
|
|
2675
2298
|
"id": n => { automationResponse.id = n.getStringValue(); },
|
|
2676
2299
|
"isSystemManaged": n => { automationResponse.isSystemManaged = n.getBooleanValue(); },
|
|
2677
2300
|
"lastRunAt": n => { automationResponse.lastRunAt = n.getDateValue(); },
|
|
2678
|
-
"lastRunError": n => { automationResponse.lastRunError = n.getStringValue(); },
|
|
2679
2301
|
"lastRunStatus": n => { automationResponse.lastRunStatus = n.getStringValue(); },
|
|
2680
2302
|
"managementLevel": n => { automationResponse.managementLevel = n.getStringValue(); },
|
|
2681
2303
|
"modifiedAt": n => { automationResponse.modifiedAt = n.getDateValue(); },
|
|
@@ -2688,17 +2310,6 @@ export function deserializeIntoAutomationResponse(automationResponse = {}) {
|
|
|
2688
2310
|
"visibility": n => { automationResponse.visibility = n.getStringValue(); },
|
|
2689
2311
|
};
|
|
2690
2312
|
}
|
|
2691
|
-
/**
|
|
2692
|
-
* The deserialization information for the current model
|
|
2693
|
-
* @param AutomationResponse_adminEnablementOverride The instance to deserialize into.
|
|
2694
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
2695
|
-
*/
|
|
2696
|
-
// @ts-ignore
|
|
2697
|
-
export function deserializeIntoAutomationResponse_adminEnablementOverride(automationResponse_adminEnablementOverride = {}) {
|
|
2698
|
-
return {
|
|
2699
|
-
...deserializeIntoAdminEnablementOverride(automationResponse_adminEnablementOverride),
|
|
2700
|
-
};
|
|
2701
|
-
}
|
|
2702
2313
|
/**
|
|
2703
2314
|
* The deserialization information for the current model
|
|
2704
2315
|
* @param AutomationResponse_business The instance to deserialize into.
|
|
@@ -2733,9 +2344,6 @@ export function deserializeIntoAutomationRunRecord(automationRunRecord = {}) {
|
|
|
2733
2344
|
"automationId": n => { automationRunRecord.automationId = n.getStringValue(); },
|
|
2734
2345
|
"businessId": n => { automationRunRecord.businessId = n.getStringValue(); },
|
|
2735
2346
|
"completedAt": n => { automationRunRecord.completedAt = n.getDateValue(); },
|
|
2736
|
-
"contextSnapshot": n => { automationRunRecord.contextSnapshot = n.getObjectValue(createAutomationRunRecord_contextSnapshotFromDiscriminatorValue); },
|
|
2737
|
-
"error": n => { automationRunRecord.errorEscaped = n.getStringValue(); },
|
|
2738
|
-
"executionKey": n => { automationRunRecord.executionKey = n.getStringValue(); },
|
|
2739
2347
|
"executionMode": n => { automationRunRecord.executionMode = n.getStringValue(); },
|
|
2740
2348
|
"failureCode": n => { automationRunRecord.failureCode = n.getStringValue(); },
|
|
2741
2349
|
"id": n => { automationRunRecord.id = n.getStringValue(); },
|
|
@@ -2743,21 +2351,11 @@ export function deserializeIntoAutomationRunRecord(automationRunRecord = {}) {
|
|
|
2743
2351
|
"leadId": n => { automationRunRecord.leadId = n.getStringValue(); },
|
|
2744
2352
|
"processingAttempts": n => { automationRunRecord.processingAttempts = n.getNumberValue(); },
|
|
2745
2353
|
"skippedReason": n => { automationRunRecord.skippedReason = n.getStringValue(); },
|
|
2746
|
-
"sourceEventId": n => { automationRunRecord.sourceEventId = n.getStringValue(); },
|
|
2747
2354
|
"startedAt": n => { automationRunRecord.startedAt = n.getDateValue(); },
|
|
2748
2355
|
"status": n => { automationRunRecord.status = n.getStringValue(); },
|
|
2749
2356
|
"triggerType": n => { automationRunRecord.triggerType = n.getStringValue(); },
|
|
2750
2357
|
};
|
|
2751
2358
|
}
|
|
2752
|
-
/**
|
|
2753
|
-
* The deserialization information for the current model
|
|
2754
|
-
* @param AutomationRunRecord_contextSnapshot The instance to deserialize into.
|
|
2755
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
2756
|
-
*/
|
|
2757
|
-
// @ts-ignore
|
|
2758
|
-
export function deserializeIntoAutomationRunRecord_contextSnapshot(automationRunRecord_contextSnapshot = {}) {
|
|
2759
|
-
return {};
|
|
2760
|
-
}
|
|
2761
2359
|
/**
|
|
2762
2360
|
* The deserialization information for the current model
|
|
2763
2361
|
* @param AutomationTableRow The instance to deserialize into.
|
|
@@ -2767,7 +2365,6 @@ export function deserializeIntoAutomationRunRecord_contextSnapshot(automationRun
|
|
|
2767
2365
|
export function deserializeIntoAutomationTableRow(automationTableRow = {}) {
|
|
2768
2366
|
return {
|
|
2769
2367
|
"actionSummary": n => { automationTableRow.actionSummary = n.getStringValue(); },
|
|
2770
|
-
"adminEnablementOverride": n => { automationTableRow.adminEnablementOverride = n.getObjectValue(createAutomationTableRow_adminEnablementOverrideFromDiscriminatorValue); },
|
|
2771
2368
|
"business": n => { automationTableRow.business = n.getObjectValue(createAutomationTableRow_businessFromDiscriminatorValue); },
|
|
2772
2369
|
"businessId": n => { automationTableRow.businessId = n.getStringValue(); },
|
|
2773
2370
|
"conditionSummary": n => { automationTableRow.conditionSummary = n.getStringValue(); },
|
|
@@ -2778,7 +2375,6 @@ export function deserializeIntoAutomationTableRow(automationTableRow = {}) {
|
|
|
2778
2375
|
"id": n => { automationTableRow.id = n.getStringValue(); },
|
|
2779
2376
|
"isSystemManaged": n => { automationTableRow.isSystemManaged = n.getBooleanValue(); },
|
|
2780
2377
|
"lastRunAt": n => { automationTableRow.lastRunAt = n.getDateValue(); },
|
|
2781
|
-
"lastRunError": n => { automationTableRow.lastRunError = n.getStringValue(); },
|
|
2782
2378
|
"lastRunStatus": n => { automationTableRow.lastRunStatus = n.getStringValue(); },
|
|
2783
2379
|
"managementLevel": n => { automationTableRow.managementLevel = n.getStringValue(); },
|
|
2784
2380
|
"modifiedAt": n => { automationTableRow.modifiedAt = n.getDateValue(); },
|
|
@@ -2791,17 +2387,6 @@ export function deserializeIntoAutomationTableRow(automationTableRow = {}) {
|
|
|
2791
2387
|
"visibility": n => { automationTableRow.visibility = n.getStringValue(); },
|
|
2792
2388
|
};
|
|
2793
2389
|
}
|
|
2794
|
-
/**
|
|
2795
|
-
* The deserialization information for the current model
|
|
2796
|
-
* @param AutomationTableRow_adminEnablementOverride The instance to deserialize into.
|
|
2797
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
2798
|
-
*/
|
|
2799
|
-
// @ts-ignore
|
|
2800
|
-
export function deserializeIntoAutomationTableRow_adminEnablementOverride(automationTableRow_adminEnablementOverride = {}) {
|
|
2801
|
-
return {
|
|
2802
|
-
...deserializeIntoAdminEnablementOverride(automationTableRow_adminEnablementOverride),
|
|
2803
|
-
};
|
|
2804
|
-
}
|
|
2805
2390
|
/**
|
|
2806
2391
|
* The deserialization information for the current model
|
|
2807
2392
|
* @param AutomationTableRow_business The instance to deserialize into.
|
|
@@ -2870,7 +2455,6 @@ export function deserializeIntoAutomationWorkflowActionResponse(automationWorkfl
|
|
|
2870
2455
|
return {
|
|
2871
2456
|
"actionType": n => { automationWorkflowActionResponse.actionType = n.getStringValue(); },
|
|
2872
2457
|
"actionTypeDisplay": n => { automationWorkflowActionResponse.actionTypeDisplay = n.getStringValue(); },
|
|
2873
|
-
"adminDiagnostics": n => { automationWorkflowActionResponse.adminDiagnostics = n.getStringValue(); },
|
|
2874
2458
|
"completedAt": n => { automationWorkflowActionResponse.completedAt = n.getDateValue(); },
|
|
2875
2459
|
"failedAt": n => { automationWorkflowActionResponse.failedAt = n.getDateValue(); },
|
|
2876
2460
|
"failureCode": n => { automationWorkflowActionResponse.failureCode = n.getStringValue(); },
|
|
@@ -2898,7 +2482,6 @@ export function deserializeIntoAutomationWorkflowActionResponse(automationWorkfl
|
|
|
2898
2482
|
export function deserializeIntoAutomationWorkflowEventResponse(automationWorkflowEventResponse = {}) {
|
|
2899
2483
|
return {
|
|
2900
2484
|
"actionId": n => { automationWorkflowEventResponse.actionId = n.getStringValue(); },
|
|
2901
|
-
"adminDiagnostics": n => { automationWorkflowEventResponse.adminDiagnostics = n.getStringValue(); },
|
|
2902
2485
|
"eventType": n => { automationWorkflowEventResponse.eventType = n.getStringValue(); },
|
|
2903
2486
|
"id": n => { automationWorkflowEventResponse.id = n.getStringValue(); },
|
|
2904
2487
|
"occurredAt": n => { automationWorkflowEventResponse.occurredAt = n.getDateValue(); },
|
|
@@ -2923,15 +2506,12 @@ export function deserializeIntoAutomationWorkflowRunResponse(automationWorkflowR
|
|
|
2923
2506
|
"businessId": n => { automationWorkflowRunResponse.businessId = n.getStringValue(); },
|
|
2924
2507
|
"cancelledAt": n => { automationWorkflowRunResponse.cancelledAt = n.getDateValue(); },
|
|
2925
2508
|
"completedAt": n => { automationWorkflowRunResponse.completedAt = n.getDateValue(); },
|
|
2926
|
-
"correlationId": n => { automationWorkflowRunResponse.correlationId = n.getStringValue(); },
|
|
2927
2509
|
"currentStepId": n => { automationWorkflowRunResponse.currentStepId = n.getStringValue(); },
|
|
2928
2510
|
"currentStepName": n => { automationWorkflowRunResponse.currentStepName = n.getStringValue(); },
|
|
2929
2511
|
"currentStepOrder": n => { automationWorkflowRunResponse.currentStepOrder = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
2930
2512
|
"events": n => { automationWorkflowRunResponse.events = n.getCollectionOfObjectValues(createAutomationWorkflowEventResponseFromDiscriminatorValue); },
|
|
2931
|
-
"executionKey": n => { automationWorkflowRunResponse.executionKey = n.getStringValue(); },
|
|
2932
2513
|
"failedAt": n => { automationWorkflowRunResponse.failedAt = n.getDateValue(); },
|
|
2933
2514
|
"id": n => { automationWorkflowRunResponse.id = n.getStringValue(); },
|
|
2934
|
-
"internalErrorDetails": n => { automationWorkflowRunResponse.internalErrorDetails = n.getStringValue(); },
|
|
2935
2515
|
"lastActionSummary": n => { automationWorkflowRunResponse.lastActionSummary = n.getStringValue(); },
|
|
2936
2516
|
"lastErrorCode": n => { automationWorkflowRunResponse.lastErrorCode = n.getStringValue(); },
|
|
2937
2517
|
"lastErrorMessage": n => { automationWorkflowRunResponse.lastErrorMessage = n.getStringValue(); },
|
|
@@ -2943,7 +2523,6 @@ export function deserializeIntoAutomationWorkflowRunResponse(automationWorkflowR
|
|
|
2943
2523
|
"retryCount": n => { automationWorkflowRunResponse.retryCount = n.getNumberValue(); },
|
|
2944
2524
|
"skipReasonCode": n => { automationWorkflowRunResponse.skipReasonCode = n.getStringValue(); },
|
|
2945
2525
|
"skipReasonDisplay": n => { automationWorkflowRunResponse.skipReasonDisplay = n.getStringValue(); },
|
|
2946
|
-
"sourceEventId": n => { automationWorkflowRunResponse.sourceEventId = n.getStringValue(); },
|
|
2947
2526
|
"startedAt": n => { automationWorkflowRunResponse.startedAt = n.getDateValue(); },
|
|
2948
2527
|
"status": n => { automationWorkflowRunResponse.status = n.getStringValue(); },
|
|
2949
2528
|
"statusDisplay": n => { automationWorkflowRunResponse.statusDisplay = n.getStringValue(); },
|
|
@@ -3038,27 +2617,6 @@ export function deserializeIntoBusinessCompliancePolicy(businessCompliancePolicy
|
|
|
3038
2617
|
"requireTrustedFormForAutomations": n => { businessCompliancePolicy.requireTrustedFormForAutomations = n.getBooleanValue(); },
|
|
3039
2618
|
};
|
|
3040
2619
|
}
|
|
3041
|
-
/**
|
|
3042
|
-
* The deserialization information for the current model
|
|
3043
|
-
* @param BusinessDunningInfo The instance to deserialize into.
|
|
3044
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
3045
|
-
*/
|
|
3046
|
-
// @ts-ignore
|
|
3047
|
-
export function deserializeIntoBusinessDunningInfo(businessDunningInfo = {}) {
|
|
3048
|
-
return {
|
|
3049
|
-
"finalCancellationAt": n => { businessDunningInfo.finalCancellationAt = n.getDateValue(); },
|
|
3050
|
-
"gracePeriodEndsAt": n => { businessDunningInfo.gracePeriodEndsAt = n.getDateValue(); },
|
|
3051
|
-
"lastFailedInvoiceId": n => { businessDunningInfo.lastFailedInvoiceId = n.getStringValue(); },
|
|
3052
|
-
"lastFailedInvoiceStatus": n => { businessDunningInfo.lastFailedInvoiceStatus = n.getStringValue(); },
|
|
3053
|
-
"lastUpdatedAt": n => { businessDunningInfo.lastUpdatedAt = n.getDateValue(); },
|
|
3054
|
-
"nextRetryAt": n => { businessDunningInfo.nextRetryAt = n.getDateValue(); },
|
|
3055
|
-
"outboundRestrictedAt": n => { businessDunningInfo.outboundRestrictedAt = n.getDateValue(); },
|
|
3056
|
-
"outboundSuspendedAt": n => { businessDunningInfo.outboundSuspendedAt = n.getDateValue(); },
|
|
3057
|
-
"paymentFailedAt": n => { businessDunningInfo.paymentFailedAt = n.getDateValue(); },
|
|
3058
|
-
"retryAttemptCount": n => { businessDunningInfo.retryAttemptCount = n.getNumberValue(); },
|
|
3059
|
-
"stage": n => { businessDunningInfo.stage = n.getStringValue(); },
|
|
3060
|
-
};
|
|
3061
|
-
}
|
|
3062
2620
|
/**
|
|
3063
2621
|
* The deserialization information for the current model
|
|
3064
2622
|
* @param BusinessInvitationRequest The instance to deserialize into.
|
|
@@ -3136,15 +2694,12 @@ export function deserializeIntoBusinessInvitationTableRow(businessInvitationTabl
|
|
|
3136
2694
|
// @ts-ignore
|
|
3137
2695
|
export function deserializeIntoBusinessRequest(businessRequest = {}) {
|
|
3138
2696
|
return {
|
|
3139
|
-
"activation": n => { businessRequest.activation = n.getObjectValue(createBusinessRequest_activationFromDiscriminatorValue); },
|
|
3140
2697
|
"address": n => { businessRequest.address = n.getObjectValue(createBusinessRequest_addressFromDiscriminatorValue); },
|
|
3141
|
-
"adminEnablementOverride": n => { businessRequest.adminEnablementOverride = n.getObjectValue(createBusinessRequest_adminEnablementOverrideFromDiscriminatorValue); },
|
|
3142
2698
|
"autoRefillAmount": n => { businessRequest.autoRefillAmount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
3143
2699
|
"autoRefillEnabled": n => { businessRequest.autoRefillEnabled = n.getBooleanValue(); },
|
|
3144
2700
|
"autoRefillTrigger": n => { businessRequest.autoRefillTrigger = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
3145
2701
|
"billingAddress": n => { businessRequest.billingAddress = n.getObjectValue(createBusinessRequest_billingAddressFromDiscriminatorValue); },
|
|
3146
2702
|
"billingName": n => { businessRequest.billingName = n.getStringValue(); },
|
|
3147
|
-
"billingPlan": n => { businessRequest.billingPlan = n.getEnumValue(BusinessRequest_billingPlanObject); },
|
|
3148
2703
|
"compliancePolicy": n => { businessRequest.compliancePolicy = n.getObjectValue(createBusinessRequest_compliancePolicyFromDiscriminatorValue); },
|
|
3149
2704
|
"description": n => { businessRequest.description = n.getStringValue(); },
|
|
3150
2705
|
"ein": n => { businessRequest.ein = n.getStringValue(); },
|
|
@@ -3156,25 +2711,11 @@ export function deserializeIntoBusinessRequest(businessRequest = {}) {
|
|
|
3156
2711
|
"phone": n => { businessRequest.phone = n.getStringValue(); },
|
|
3157
2712
|
"phones": n => { businessRequest.phones = n.getCollectionOfObjectValues(createIdNameValueFromDiscriminatorValue); },
|
|
3158
2713
|
"secondaryName": n => { businessRequest.secondaryName = n.getStringValue(); },
|
|
3159
|
-
"setupStep": n => { businessRequest.setupStep = n.getEnumValue(BusinessRequest_setupStepObject); },
|
|
3160
2714
|
"status": n => { businessRequest.status = n.getEnumValue(BusinessRequest_statusObject); },
|
|
3161
|
-
"stripeInfo": n => { businessRequest.stripeInfo = n.getObjectValue(createBusinessRequest_stripeInfoFromDiscriminatorValue); },
|
|
3162
|
-
"subscriptionStatus": n => { businessRequest.subscriptionStatus = n.getEnumValue(BusinessRequest_subscriptionStatusObject); },
|
|
3163
2715
|
"vertical": n => { businessRequest.vertical = n.getStringValue(); },
|
|
3164
2716
|
"website": n => { businessRequest.website = n.getStringValue(); },
|
|
3165
2717
|
};
|
|
3166
2718
|
}
|
|
3167
|
-
/**
|
|
3168
|
-
* The deserialization information for the current model
|
|
3169
|
-
* @param BusinessRequest_activation The instance to deserialize into.
|
|
3170
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
3171
|
-
*/
|
|
3172
|
-
// @ts-ignore
|
|
3173
|
-
export function deserializeIntoBusinessRequest_activation(businessRequest_activation = {}) {
|
|
3174
|
-
return {
|
|
3175
|
-
...deserializeIntoBusinessActivationState(businessRequest_activation),
|
|
3176
|
-
};
|
|
3177
|
-
}
|
|
3178
2719
|
/**
|
|
3179
2720
|
* The deserialization information for the current model
|
|
3180
2721
|
* @param BusinessRequest_address The instance to deserialize into.
|
|
@@ -3186,17 +2727,6 @@ export function deserializeIntoBusinessRequest_address(businessRequest_address =
|
|
|
3186
2727
|
...deserializeIntoStreetAddress(businessRequest_address),
|
|
3187
2728
|
};
|
|
3188
2729
|
}
|
|
3189
|
-
/**
|
|
3190
|
-
* The deserialization information for the current model
|
|
3191
|
-
* @param BusinessRequest_adminEnablementOverride The instance to deserialize into.
|
|
3192
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
3193
|
-
*/
|
|
3194
|
-
// @ts-ignore
|
|
3195
|
-
export function deserializeIntoBusinessRequest_adminEnablementOverride(businessRequest_adminEnablementOverride = {}) {
|
|
3196
|
-
return {
|
|
3197
|
-
...deserializeIntoAdminEnablementOverride(businessRequest_adminEnablementOverride),
|
|
3198
|
-
};
|
|
3199
|
-
}
|
|
3200
2730
|
/**
|
|
3201
2731
|
* The deserialization information for the current model
|
|
3202
2732
|
* @param BusinessRequest_billingAddress The instance to deserialize into.
|
|
@@ -3230,17 +2760,6 @@ export function deserializeIntoBusinessRequest_einDocument(businessRequest_einDo
|
|
|
3230
2760
|
...deserializeIntoIdNameValue(businessRequest_einDocument),
|
|
3231
2761
|
};
|
|
3232
2762
|
}
|
|
3233
|
-
/**
|
|
3234
|
-
* The deserialization information for the current model
|
|
3235
|
-
* @param BusinessRequest_stripeInfo The instance to deserialize into.
|
|
3236
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
3237
|
-
*/
|
|
3238
|
-
// @ts-ignore
|
|
3239
|
-
export function deserializeIntoBusinessRequest_stripeInfo(businessRequest_stripeInfo = {}) {
|
|
3240
|
-
return {
|
|
3241
|
-
...deserializeIntoBusinessStripeInfo(businessRequest_stripeInfo),
|
|
3242
|
-
};
|
|
3243
|
-
}
|
|
3244
2763
|
/**
|
|
3245
2764
|
* The deserialization information for the current model
|
|
3246
2765
|
* @param BusinessResponse The instance to deserialize into.
|
|
@@ -3252,7 +2771,6 @@ export function deserializeIntoBusinessResponse(businessResponse = {}) {
|
|
|
3252
2771
|
"accountBalance": n => { businessResponse.accountBalance = n.getNumberValue(); },
|
|
3253
2772
|
"activation": n => { businessResponse.activation = n.getObjectValue(createBusinessResponse_activationFromDiscriminatorValue); },
|
|
3254
2773
|
"address": n => { businessResponse.address = n.getObjectValue(createBusinessResponse_addressFromDiscriminatorValue); },
|
|
3255
|
-
"adminEnablementOverride": n => { businessResponse.adminEnablementOverride = n.getObjectValue(createBusinessResponse_adminEnablementOverrideFromDiscriminatorValue); },
|
|
3256
2774
|
"autoRefillAmount": n => { businessResponse.autoRefillAmount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
3257
2775
|
"autoRefillEnabled": n => { businessResponse.autoRefillEnabled = n.getBooleanValue(); },
|
|
3258
2776
|
"autoRefillTrigger": n => { businessResponse.autoRefillTrigger = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
@@ -3275,7 +2793,6 @@ export function deserializeIntoBusinessResponse(businessResponse = {}) {
|
|
|
3275
2793
|
"setupStep": n => { businessResponse.setupStep = n.getEnumValue(BusinessResponse_setupStepObject); },
|
|
3276
2794
|
"site": n => { businessResponse.site = n.getObjectValue(createBusinessResponse_siteFromDiscriminatorValue); },
|
|
3277
2795
|
"status": n => { businessResponse.status = n.getEnumValue(BusinessResponse_statusObject); },
|
|
3278
|
-
"stripeInfo": n => { businessResponse.stripeInfo = n.getObjectValue(createBusinessResponse_stripeInfoFromDiscriminatorValue); },
|
|
3279
2796
|
"subscriptionStatus": n => { businessResponse.subscriptionStatus = n.getEnumValue(BusinessResponse_subscriptionStatusObject); },
|
|
3280
2797
|
"user": n => { businessResponse.user = n.getObjectValue(createBusinessResponse_userFromDiscriminatorValue); },
|
|
3281
2798
|
"vertical": n => { businessResponse.vertical = n.getStringValue(); },
|
|
@@ -3304,17 +2821,6 @@ export function deserializeIntoBusinessResponse_address(businessResponse_address
|
|
|
3304
2821
|
...deserializeIntoStreetAddress(businessResponse_address),
|
|
3305
2822
|
};
|
|
3306
2823
|
}
|
|
3307
|
-
/**
|
|
3308
|
-
* The deserialization information for the current model
|
|
3309
|
-
* @param BusinessResponse_adminEnablementOverride The instance to deserialize into.
|
|
3310
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
3311
|
-
*/
|
|
3312
|
-
// @ts-ignore
|
|
3313
|
-
export function deserializeIntoBusinessResponse_adminEnablementOverride(businessResponse_adminEnablementOverride = {}) {
|
|
3314
|
-
return {
|
|
3315
|
-
...deserializeIntoAdminEnablementOverride(businessResponse_adminEnablementOverride),
|
|
3316
|
-
};
|
|
3317
|
-
}
|
|
3318
2824
|
/**
|
|
3319
2825
|
* The deserialization information for the current model
|
|
3320
2826
|
* @param BusinessResponse_billingAddress The instance to deserialize into.
|
|
@@ -3359,17 +2865,6 @@ export function deserializeIntoBusinessResponse_site(businessResponse_site = {})
|
|
|
3359
2865
|
...deserializeIntoIdNamePair(businessResponse_site),
|
|
3360
2866
|
};
|
|
3361
2867
|
}
|
|
3362
|
-
/**
|
|
3363
|
-
* The deserialization information for the current model
|
|
3364
|
-
* @param BusinessResponse_stripeInfo The instance to deserialize into.
|
|
3365
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
3366
|
-
*/
|
|
3367
|
-
// @ts-ignore
|
|
3368
|
-
export function deserializeIntoBusinessResponse_stripeInfo(businessResponse_stripeInfo = {}) {
|
|
3369
|
-
return {
|
|
3370
|
-
...deserializeIntoBusinessStripeInfo(businessResponse_stripeInfo),
|
|
3371
|
-
};
|
|
3372
|
-
}
|
|
3373
2868
|
/**
|
|
3374
2869
|
* The deserialization information for the current model
|
|
3375
2870
|
* @param BusinessResponse_user The instance to deserialize into.
|
|
@@ -3381,73 +2876,6 @@ export function deserializeIntoBusinessResponse_user(businessResponse_user = {})
|
|
|
3381
2876
|
...deserializeIntoIdNamePair(businessResponse_user),
|
|
3382
2877
|
};
|
|
3383
2878
|
}
|
|
3384
|
-
/**
|
|
3385
|
-
* The deserialization information for the current model
|
|
3386
|
-
* @param BusinessStripeInfo The instance to deserialize into.
|
|
3387
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
3388
|
-
*/
|
|
3389
|
-
// @ts-ignore
|
|
3390
|
-
export function deserializeIntoBusinessStripeInfo(businessStripeInfo = {}) {
|
|
3391
|
-
return {
|
|
3392
|
-
"businessUserAssignedQuantity": n => { businessStripeInfo.businessUserAssignedQuantity = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
3393
|
-
"businessUserQuantity": n => { businessStripeInfo.businessUserQuantity = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
3394
|
-
"businessUserSubscriptionItemId": n => { businessStripeInfo.businessUserSubscriptionItemId = n.getStringValue(); },
|
|
3395
|
-
"cancelAt": n => { businessStripeInfo.cancelAt = n.getDateValue(); },
|
|
3396
|
-
"cancellation": n => { businessStripeInfo.cancellation = n.getObjectValue(createBusinessStripeInfo_cancellationFromDiscriminatorValue); },
|
|
3397
|
-
"customerId": n => { businessStripeInfo.customerId = n.getStringValue(); },
|
|
3398
|
-
"defaultPaymentMethodId": n => { businessStripeInfo.defaultPaymentMethodId = n.getStringValue(); },
|
|
3399
|
-
"dunning": n => { businessStripeInfo.dunning = n.getObjectValue(createBusinessStripeInfo_dunningFromDiscriminatorValue); },
|
|
3400
|
-
"lastPaymentMethodEventAt": n => { businessStripeInfo.lastPaymentMethodEventAt = n.getDateValue(); },
|
|
3401
|
-
"lastSubscriptionEventAt": n => { businessStripeInfo.lastSubscriptionEventAt = n.getDateValue(); },
|
|
3402
|
-
"phoneNumberQuantity": n => { businessStripeInfo.phoneNumberQuantity = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
3403
|
-
"phoneSubscriptionId": n => { businessStripeInfo.phoneSubscriptionId = n.getStringValue(); },
|
|
3404
|
-
"phoneSubscriptionItemId": n => { businessStripeInfo.phoneSubscriptionItemId = n.getStringValue(); },
|
|
3405
|
-
"planSubscriptionId": n => { businessStripeInfo.planSubscriptionId = n.getStringValue(); },
|
|
3406
|
-
"planSubscriptionItemId": n => { businessStripeInfo.planSubscriptionItemId = n.getStringValue(); },
|
|
3407
|
-
"subscriptionIds": n => { businessStripeInfo.subscriptionIds = n.getCollectionOfPrimitiveValues("string"); },
|
|
3408
|
-
};
|
|
3409
|
-
}
|
|
3410
|
-
/**
|
|
3411
|
-
* The deserialization information for the current model
|
|
3412
|
-
* @param BusinessStripeInfo_cancellation The instance to deserialize into.
|
|
3413
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
3414
|
-
*/
|
|
3415
|
-
// @ts-ignore
|
|
3416
|
-
export function deserializeIntoBusinessStripeInfo_cancellation(businessStripeInfo_cancellation = {}) {
|
|
3417
|
-
return {
|
|
3418
|
-
...deserializeIntoBusinessSubscriptionCancellationInfo(businessStripeInfo_cancellation),
|
|
3419
|
-
};
|
|
3420
|
-
}
|
|
3421
|
-
/**
|
|
3422
|
-
* The deserialization information for the current model
|
|
3423
|
-
* @param BusinessStripeInfo_dunning The instance to deserialize into.
|
|
3424
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
3425
|
-
*/
|
|
3426
|
-
// @ts-ignore
|
|
3427
|
-
export function deserializeIntoBusinessStripeInfo_dunning(businessStripeInfo_dunning = {}) {
|
|
3428
|
-
return {
|
|
3429
|
-
...deserializeIntoBusinessDunningInfo(businessStripeInfo_dunning),
|
|
3430
|
-
};
|
|
3431
|
-
}
|
|
3432
|
-
/**
|
|
3433
|
-
* The deserialization information for the current model
|
|
3434
|
-
* @param BusinessSubscriptionCancellationInfo The instance to deserialize into.
|
|
3435
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
3436
|
-
*/
|
|
3437
|
-
// @ts-ignore
|
|
3438
|
-
export function deserializeIntoBusinessSubscriptionCancellationInfo(businessSubscriptionCancellationInfo = {}) {
|
|
3439
|
-
return {
|
|
3440
|
-
"cancelAtPeriodEnd": n => { businessSubscriptionCancellationInfo.cancelAtPeriodEnd = n.getBooleanValue(); },
|
|
3441
|
-
"competitor": n => { businessSubscriptionCancellationInfo.competitor = n.getStringValue(); },
|
|
3442
|
-
"missingFeature": n => { businessSubscriptionCancellationInfo.missingFeature = n.getStringValue(); },
|
|
3443
|
-
"notes": n => { businessSubscriptionCancellationInfo.notes = n.getStringValue(); },
|
|
3444
|
-
"reason": n => { businessSubscriptionCancellationInfo.reason = n.getStringValue(); },
|
|
3445
|
-
"reasonCode": n => { businessSubscriptionCancellationInfo.reasonCode = n.getStringValue(); },
|
|
3446
|
-
"requestedAt": n => { businessSubscriptionCancellationInfo.requestedAt = n.getDateValue(); },
|
|
3447
|
-
"requestedByUserId": n => { businessSubscriptionCancellationInfo.requestedByUserId = n.getStringValue(); },
|
|
3448
|
-
"technicalIssues": n => { businessSubscriptionCancellationInfo.technicalIssues = n.getStringValue(); },
|
|
3449
|
-
};
|
|
3450
|
-
}
|
|
3451
2879
|
/**
|
|
3452
2880
|
* The deserialization information for the current model
|
|
3453
2881
|
* @param BusinessSwitchOption The instance to deserialize into.
|
|
@@ -3490,7 +2918,6 @@ export function deserializeIntoBusinessTableRow(businessTableRow = {}) {
|
|
|
3490
2918
|
return {
|
|
3491
2919
|
"accountBalance": n => { businessTableRow.accountBalance = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
3492
2920
|
"activationStatus": n => { businessTableRow.activationStatus = n.getEnumValue(BusinessTableRow_activationStatusObject); },
|
|
3493
|
-
"adminEnablementOverride": n => { businessTableRow.adminEnablementOverride = n.getObjectValue(createBusinessTableRow_adminEnablementOverrideFromDiscriminatorValue); },
|
|
3494
2921
|
"apiKeyExpiresAt": n => { businessTableRow.apiKeyExpiresAt = n.getDateValue(); },
|
|
3495
2922
|
"apiKeyFirstUsedAt": n => { businessTableRow.apiKeyFirstUsedAt = n.getDateValue(); },
|
|
3496
2923
|
"apiKeyIssuedAt": n => { businessTableRow.apiKeyIssuedAt = n.getDateValue(); },
|
|
@@ -3521,17 +2948,6 @@ export function deserializeIntoBusinessTableRow(businessTableRow = {}) {
|
|
|
3521
2948
|
"websiteStatus": n => { businessTableRow.websiteStatus = n.getEnumValue(BusinessTableRow_websiteStatusObject); },
|
|
3522
2949
|
};
|
|
3523
2950
|
}
|
|
3524
|
-
/**
|
|
3525
|
-
* The deserialization information for the current model
|
|
3526
|
-
* @param BusinessTableRow_adminEnablementOverride The instance to deserialize into.
|
|
3527
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
3528
|
-
*/
|
|
3529
|
-
// @ts-ignore
|
|
3530
|
-
export function deserializeIntoBusinessTableRow_adminEnablementOverride(businessTableRow_adminEnablementOverride = {}) {
|
|
3531
|
-
return {
|
|
3532
|
-
...deserializeIntoAdminEnablementOverride(businessTableRow_adminEnablementOverride),
|
|
3533
|
-
};
|
|
3534
|
-
}
|
|
3535
2951
|
/**
|
|
3536
2952
|
* The deserialization information for the current model
|
|
3537
2953
|
* @param BusinessUserRequest The instance to deserialize into.
|
|
@@ -3561,8 +2977,6 @@ export function deserializeIntoBusinessUserResponse(businessUserResponse = {}) {
|
|
|
3561
2977
|
"licenseBillingStatus": n => { businessUserResponse.licenseBillingStatus = n.getStringValue(); },
|
|
3562
2978
|
"licenseQuantity": n => { businessUserResponse.licenseQuantity = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
3563
2979
|
"licenseRenewalDate": n => { businessUserResponse.licenseRenewalDate = n.getDateValue(); },
|
|
3564
|
-
"licenseStripeSubscriptionId": n => { businessUserResponse.licenseStripeSubscriptionId = n.getStringValue(); },
|
|
3565
|
-
"licenseStripeSubscriptionItemId": n => { businessUserResponse.licenseStripeSubscriptionItemId = n.getStringValue(); },
|
|
3566
2980
|
"modifiedAt": n => { businessUserResponse.modifiedAt = n.getDateValue(); },
|
|
3567
2981
|
"name": n => { businessUserResponse.name = n.getStringValue(); },
|
|
3568
2982
|
"removedAt": n => { businessUserResponse.removedAt = n.getDateValue(); },
|
|
@@ -3601,7 +3015,6 @@ export function deserializeIntoCallEventTableRow(callEventTableRow = {}) {
|
|
|
3601
3015
|
"answeredAt": n => { callEventTableRow.answeredAt = n.getDateValue(); },
|
|
3602
3016
|
"billableAmount": n => { callEventTableRow.billableAmount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
3603
3017
|
"billableSeconds": n => { callEventTableRow.billableSeconds = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
3604
|
-
"billingPhoneNumberId": n => { callEventTableRow.billingPhoneNumberId = n.getStringValue(); },
|
|
3605
3018
|
"billingStatus": n => { callEventTableRow.billingStatus = n.getStringValue(); },
|
|
3606
3019
|
"business": n => { callEventTableRow.business = n.getStringValue(); },
|
|
3607
3020
|
"businessId": n => { callEventTableRow.businessId = n.getStringValue(); },
|
|
@@ -3615,26 +3028,14 @@ export function deserializeIntoCallEventTableRow(callEventTableRow = {}) {
|
|
|
3615
3028
|
"fromPhoneNumberId": n => { callEventTableRow.fromPhoneNumberId = n.getStringValue(); },
|
|
3616
3029
|
"id": n => { callEventTableRow.id = n.getStringValue(); },
|
|
3617
3030
|
"leadId": n => { callEventTableRow.leadId = n.getStringValue(); },
|
|
3618
|
-
"metadata": n => { callEventTableRow.metadata = n.getObjectValue(createCallEventTableRow_metadataFromDiscriminatorValue); },
|
|
3619
|
-
"providerStatus": n => { callEventTableRow.providerStatus = n.getStringValue(); },
|
|
3620
3031
|
"recordingUrl": n => { callEventTableRow.recordingUrl = n.getStringValue(); },
|
|
3621
3032
|
"status": n => { callEventTableRow.status = n.getEnumValue(CallEventTableRow_statusObject); },
|
|
3622
3033
|
"statusReason": n => { callEventTableRow.statusReason = n.getStringValue(); },
|
|
3623
|
-
"telnyxId": n => { callEventTableRow.telnyxId = n.getStringValue(); },
|
|
3624
3034
|
"toPhoneNumber": n => { callEventTableRow.toPhoneNumber = n.getStringValue(); },
|
|
3625
3035
|
"user": n => { callEventTableRow.user = n.getStringValue(); },
|
|
3626
3036
|
"userId": n => { callEventTableRow.userId = n.getStringValue(); },
|
|
3627
3037
|
};
|
|
3628
3038
|
}
|
|
3629
|
-
/**
|
|
3630
|
-
* The deserialization information for the current model
|
|
3631
|
-
* @param CallEventTableRow_metadata The instance to deserialize into.
|
|
3632
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
3633
|
-
*/
|
|
3634
|
-
// @ts-ignore
|
|
3635
|
-
export function deserializeIntoCallEventTableRow_metadata(callEventTableRow_metadata = {}) {
|
|
3636
|
-
return {};
|
|
3637
|
-
}
|
|
3638
3039
|
/**
|
|
3639
3040
|
* The deserialization information for the current model
|
|
3640
3041
|
* @param ChangeBillingPlanRequest The instance to deserialize into.
|
|
@@ -4164,7 +3565,6 @@ export function deserializeIntoEventDetailResponse(eventDetailResponse = {}) {
|
|
|
4164
3565
|
"leadId": n => { eventDetailResponse.leadId = n.getStringValue(); },
|
|
4165
3566
|
"modifiedAt": n => { eventDetailResponse.modifiedAt = n.getDateValue(); },
|
|
4166
3567
|
"outboundPhoneNumberId": n => { eventDetailResponse.outboundPhoneNumberId = n.getStringValue(); },
|
|
4167
|
-
"providerMessageId": n => { eventDetailResponse.providerMessageId = n.getStringValue(); },
|
|
4168
3568
|
"queuedAt": n => { eventDetailResponse.queuedAt = n.getDateValue(); },
|
|
4169
3569
|
"receivedAt": n => { eventDetailResponse.receivedAt = n.getDateValue(); },
|
|
4170
3570
|
"scheduledFor": n => { eventDetailResponse.scheduledFor = n.getDateValue(); },
|
|
@@ -4223,11 +3623,9 @@ export function deserializeIntoEventTableRow(eventTableRow = {}) {
|
|
|
4223
3623
|
"fromPhoneNumber": n => { eventTableRow.fromPhoneNumber = n.getStringValue(); },
|
|
4224
3624
|
"fromPhoneNumberId": n => { eventTableRow.fromPhoneNumberId = n.getStringValue(); },
|
|
4225
3625
|
"id": n => { eventTableRow.id = n.getStringValue(); },
|
|
4226
|
-
"isWarmup": n => { eventTableRow.isWarmup = n.getBooleanValue(); },
|
|
4227
3626
|
"leadId": n => { eventTableRow.leadId = n.getStringValue(); },
|
|
4228
3627
|
"nextRetryAt": n => { eventTableRow.nextRetryAt = n.getDateValue(); },
|
|
4229
3628
|
"outboundPhoneNumberId": n => { eventTableRow.outboundPhoneNumberId = n.getStringValue(); },
|
|
4230
|
-
"providerMessageId": n => { eventTableRow.providerMessageId = n.getStringValue(); },
|
|
4231
3629
|
"queuedAt": n => { eventTableRow.queuedAt = n.getDateValue(); },
|
|
4232
3630
|
"receivedAt": n => { eventTableRow.receivedAt = n.getDateValue(); },
|
|
4233
3631
|
"relatedEntityId": n => { eventTableRow.relatedEntityId = n.getStringValue(); },
|
|
@@ -4242,8 +3640,6 @@ export function deserializeIntoEventTableRow(eventTableRow = {}) {
|
|
|
4242
3640
|
"status": n => { eventTableRow.status = n.getEnumValue(EventTableRow_statusObject); },
|
|
4243
3641
|
"statusReason": n => { eventTableRow.statusReason = n.getStringValue(); },
|
|
4244
3642
|
"summary": n => { eventTableRow.summary = n.getStringValue(); },
|
|
4245
|
-
"telnyxId": n => { eventTableRow.telnyxId = n.getStringValue(); },
|
|
4246
|
-
"tenDlcCampaignId": n => { eventTableRow.tenDlcCampaignId = n.getStringValue(); },
|
|
4247
3643
|
"timelineCategory": n => { eventTableRow.timelineCategory = n.getStringValue(); },
|
|
4248
3644
|
"timelineType": n => { eventTableRow.timelineType = n.getEnumValue(EventTimelineTypeObject); },
|
|
4249
3645
|
"toPhoneNumber": n => { eventTableRow.toPhoneNumber = n.getStringValue(); },
|
|
@@ -4264,22 +3660,6 @@ export function deserializeIntoExactMatchFilter(exactMatchFilter = {}) {
|
|
|
4264
3660
|
"value": n => { exactMatchFilter.value = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
4265
3661
|
};
|
|
4266
3662
|
}
|
|
4267
|
-
/**
|
|
4268
|
-
* The deserialization information for the current model
|
|
4269
|
-
* @param FeedbackAdminUpdateRequest The instance to deserialize into.
|
|
4270
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
4271
|
-
*/
|
|
4272
|
-
// @ts-ignore
|
|
4273
|
-
export function deserializeIntoFeedbackAdminUpdateRequest(feedbackAdminUpdateRequest = {}) {
|
|
4274
|
-
return {
|
|
4275
|
-
"adminNote": n => { feedbackAdminUpdateRequest.adminNote = n.getStringValue(); },
|
|
4276
|
-
"area": n => { feedbackAdminUpdateRequest.area = n.getStringValue(); },
|
|
4277
|
-
"duplicateOfFeedbackItemId": n => { feedbackAdminUpdateRequest.duplicateOfFeedbackItemId = n.getStringValue(); },
|
|
4278
|
-
"externalIssueUrl": n => { feedbackAdminUpdateRequest.externalIssueUrl = n.getStringValue(); },
|
|
4279
|
-
"status": n => { feedbackAdminUpdateRequest.status = n.getEnumValue(FeedbackAdminUpdateRequest_statusObject); },
|
|
4280
|
-
"type": n => { feedbackAdminUpdateRequest.type = n.getEnumValue(FeedbackAdminUpdateRequest_typeObject); },
|
|
4281
|
-
};
|
|
4282
|
-
}
|
|
4283
3663
|
/**
|
|
4284
3664
|
* The deserialization information for the current model
|
|
4285
3665
|
* @param FeedbackCreateRequest The instance to deserialize into.
|
|
@@ -4304,30 +3684,16 @@ export function deserializeIntoFeedbackCreateRequest(feedbackCreateRequest = {})
|
|
|
4304
3684
|
// @ts-ignore
|
|
4305
3685
|
export function deserializeIntoFeedbackResponse(feedbackResponse = {}) {
|
|
4306
3686
|
return {
|
|
4307
|
-
"adminNote": n => { feedbackResponse.adminNote = n.getStringValue(); },
|
|
4308
3687
|
"allowContact": n => { feedbackResponse.allowContact = n.getBooleanValue(); },
|
|
4309
3688
|
"area": n => { feedbackResponse.area = n.getStringValue(); },
|
|
4310
3689
|
"businessId": n => { feedbackResponse.businessId = n.getStringValue(); },
|
|
4311
|
-
"businessNameSnapshot": n => { feedbackResponse.businessNameSnapshot = n.getStringValue(); },
|
|
4312
3690
|
"clientVersion": n => { feedbackResponse.clientVersion = n.getStringValue(); },
|
|
4313
|
-
"closedAt": n => { feedbackResponse.closedAt = n.getDateValue(); },
|
|
4314
|
-
"closedByUserId": n => { feedbackResponse.closedByUserId = n.getStringValue(); },
|
|
4315
3691
|
"createdAt": n => { feedbackResponse.createdAt = n.getDateValue(); },
|
|
4316
|
-
"duplicateOfFeedbackItemId": n => { feedbackResponse.duplicateOfFeedbackItemId = n.getStringValue(); },
|
|
4317
|
-
"environment": n => { feedbackResponse.environment = n.getStringValue(); },
|
|
4318
|
-
"externalIssueUrl": n => { feedbackResponse.externalIssueUrl = n.getStringValue(); },
|
|
4319
3692
|
"id": n => { feedbackResponse.id = n.getStringValue(); },
|
|
4320
3693
|
"message": n => { feedbackResponse.message = n.getStringValue(); },
|
|
4321
|
-
"reviewedAt": n => { feedbackResponse.reviewedAt = n.getDateValue(); },
|
|
4322
|
-
"reviewedByUserId": n => { feedbackResponse.reviewedByUserId = n.getStringValue(); },
|
|
4323
3694
|
"route": n => { feedbackResponse.route = n.getStringValue(); },
|
|
4324
|
-
"serverVersion": n => { feedbackResponse.serverVersion = n.getStringValue(); },
|
|
4325
3695
|
"status": n => { feedbackResponse.status = n.getEnumValue(FeedbackStatusObject); },
|
|
4326
|
-
"subscriptionPlanSnapshot": n => { feedbackResponse.subscriptionPlanSnapshot = n.getStringValue(); },
|
|
4327
3696
|
"type": n => { feedbackResponse.type = n.getEnumValue(FeedbackTypeObject); },
|
|
4328
|
-
"userAgent": n => { feedbackResponse.userAgent = n.getStringValue(); },
|
|
4329
|
-
"userDisplayNameSnapshot": n => { feedbackResponse.userDisplayNameSnapshot = n.getStringValue(); },
|
|
4330
|
-
"userEmailSnapshot": n => { feedbackResponse.userEmailSnapshot = n.getStringValue(); },
|
|
4331
3697
|
"userId": n => { feedbackResponse.userId = n.getStringValue(); },
|
|
4332
3698
|
};
|
|
4333
3699
|
}
|
|
@@ -4364,20 +3730,11 @@ export function deserializeIntoIdNameValue(idNameValue = {}) {
|
|
|
4364
3730
|
// @ts-ignore
|
|
4365
3731
|
export function deserializeIntoInitiateCallRequest(initiateCallRequest = {}) {
|
|
4366
3732
|
return {
|
|
4367
|
-
"automationId": n => { initiateCallRequest.automationId = n.getStringValue(); },
|
|
4368
3733
|
"campaignId": n => { initiateCallRequest.campaignId = n.getStringValue(); },
|
|
4369
3734
|
"conversationId": n => { initiateCallRequest.conversationId = n.getStringValue(); },
|
|
4370
3735
|
"fromPhoneNumberId": n => { initiateCallRequest.fromPhoneNumberId = n.getStringValue(); },
|
|
4371
|
-
"importBatchId": n => { initiateCallRequest.importBatchId = n.getStringValue(); },
|
|
4372
|
-
"isAutomated": n => { initiateCallRequest.isAutomated = n.getBooleanValue(); },
|
|
4373
|
-
"isImportedLead": n => { initiateCallRequest.isImportedLead = n.getBooleanValue(); },
|
|
4374
3736
|
"leadId": n => { initiateCallRequest.leadId = n.getStringValue(); },
|
|
4375
|
-
"outboundDeliveryRequestId": n => { initiateCallRequest.outboundDeliveryRequestId = n.getStringValue(); },
|
|
4376
3737
|
"outboundIdempotencyKey": n => { initiateCallRequest.outboundIdempotencyKey = n.getStringValue(); },
|
|
4377
|
-
"outboundPriority": n => { initiateCallRequest.outboundPriority = n.getEnumValue(InitiateCallRequest_outboundPriorityObject); },
|
|
4378
|
-
"outboundReservationId": n => { initiateCallRequest.outboundReservationId = n.getStringValue(); },
|
|
4379
|
-
"outboundSource": n => { initiateCallRequest.outboundSource = n.getEnumValue(InitiateCallRequest_outboundSourceObject); },
|
|
4380
|
-
"selectionReason": n => { initiateCallRequest.selectionReason = n.getEnumValue(InitiateCallRequest_selectionReasonObject); },
|
|
4381
3738
|
"sourceId": n => { initiateCallRequest.sourceId = n.getStringValue(); },
|
|
4382
3739
|
"wasManuallyOverridden": n => { initiateCallRequest.wasManuallyOverridden = n.getBooleanValue(); },
|
|
4383
3740
|
};
|
|
@@ -4580,7 +3937,6 @@ export function deserializeIntoLeadProfile(leadProfile = {}) {
|
|
|
4580
3937
|
// @ts-ignore
|
|
4581
3938
|
export function deserializeIntoLeadRequest(leadRequest = {}) {
|
|
4582
3939
|
return {
|
|
4583
|
-
"adminEnablementOverride": n => { leadRequest.adminEnablementOverride = n.getObjectValue(createLeadRequest_adminEnablementOverrideFromDiscriminatorValue); },
|
|
4584
3940
|
"contact": n => { leadRequest.contact = n.getObjectValue(createLeadContactFromDiscriminatorValue); },
|
|
4585
3941
|
"customer": n => { leadRequest.customer = n.getObjectValue(createLeadProfileFromDiscriminatorValue); },
|
|
4586
3942
|
"enabled": n => { leadRequest.enabled = n.getBooleanValue(); },
|
|
@@ -4590,17 +3946,6 @@ export function deserializeIntoLeadRequest(leadRequest = {}) {
|
|
|
4590
3946
|
"tagNames": n => { leadRequest.tagNames = n.getCollectionOfPrimitiveValues("string"); },
|
|
4591
3947
|
};
|
|
4592
3948
|
}
|
|
4593
|
-
/**
|
|
4594
|
-
* The deserialization information for the current model
|
|
4595
|
-
* @param LeadRequest_adminEnablementOverride The instance to deserialize into.
|
|
4596
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
4597
|
-
*/
|
|
4598
|
-
// @ts-ignore
|
|
4599
|
-
export function deserializeIntoLeadRequest_adminEnablementOverride(leadRequest_adminEnablementOverride = {}) {
|
|
4600
|
-
return {
|
|
4601
|
-
...deserializeIntoAdminEnablementOverride(leadRequest_adminEnablementOverride),
|
|
4602
|
-
};
|
|
4603
|
-
}
|
|
4604
3949
|
/**
|
|
4605
3950
|
* The deserialization information for the current model
|
|
4606
3951
|
* @param LeadResponse The instance to deserialize into.
|
|
@@ -4609,7 +3954,6 @@ export function deserializeIntoLeadRequest_adminEnablementOverride(leadRequest_a
|
|
|
4609
3954
|
// @ts-ignore
|
|
4610
3955
|
export function deserializeIntoLeadResponse(leadResponse = {}) {
|
|
4611
3956
|
return {
|
|
4612
|
-
"adminEnablementOverride": n => { leadResponse.adminEnablementOverride = n.getObjectValue(createLeadResponse_adminEnablementOverrideFromDiscriminatorValue); },
|
|
4613
3957
|
"archivedAt": n => { leadResponse.archivedAt = n.getDateValue(); },
|
|
4614
3958
|
"archivedByUserId": n => { leadResponse.archivedByUserId = n.getStringValue(); },
|
|
4615
3959
|
"archiveNote": n => { leadResponse.archiveNote = n.getStringValue(); },
|
|
@@ -4626,17 +3970,6 @@ export function deserializeIntoLeadResponse(leadResponse = {}) {
|
|
|
4626
3970
|
"tags": n => { leadResponse.tags = n.getCollectionOfObjectValues(createTagSummaryFromDiscriminatorValue); },
|
|
4627
3971
|
};
|
|
4628
3972
|
}
|
|
4629
|
-
/**
|
|
4630
|
-
* The deserialization information for the current model
|
|
4631
|
-
* @param LeadResponse_adminEnablementOverride The instance to deserialize into.
|
|
4632
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
4633
|
-
*/
|
|
4634
|
-
// @ts-ignore
|
|
4635
|
-
export function deserializeIntoLeadResponse_adminEnablementOverride(leadResponse_adminEnablementOverride = {}) {
|
|
4636
|
-
return {
|
|
4637
|
-
...deserializeIntoAdminEnablementOverride(leadResponse_adminEnablementOverride),
|
|
4638
|
-
};
|
|
4639
|
-
}
|
|
4640
3973
|
/**
|
|
4641
3974
|
* The deserialization information for the current model
|
|
4642
3975
|
* @param LeadResponse_currentDisposition The instance to deserialize into.
|
|
@@ -4656,7 +3989,6 @@ export function deserializeIntoLeadResponse_currentDisposition(leadResponse_curr
|
|
|
4656
3989
|
// @ts-ignore
|
|
4657
3990
|
export function deserializeIntoLeadTableRow(leadTableRow = {}) {
|
|
4658
3991
|
return {
|
|
4659
|
-
"adminEnablementOverride": n => { leadTableRow.adminEnablementOverride = n.getObjectValue(createLeadTableRow_adminEnablementOverrideFromDiscriminatorValue); },
|
|
4660
3992
|
"archivedAt": n => { leadTableRow.archivedAt = n.getDateValue(); },
|
|
4661
3993
|
"archivedByUserId": n => { leadTableRow.archivedByUserId = n.getStringValue(); },
|
|
4662
3994
|
"archiveReason": n => { leadTableRow.archiveReason = n.getNumberValue(); },
|
|
@@ -4680,17 +4012,6 @@ export function deserializeIntoLeadTableRow(leadTableRow = {}) {
|
|
|
4680
4012
|
"updatedAt": n => { leadTableRow.updatedAt = n.getDateValue(); },
|
|
4681
4013
|
};
|
|
4682
4014
|
}
|
|
4683
|
-
/**
|
|
4684
|
-
* The deserialization information for the current model
|
|
4685
|
-
* @param LeadTableRow_adminEnablementOverride The instance to deserialize into.
|
|
4686
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
4687
|
-
*/
|
|
4688
|
-
// @ts-ignore
|
|
4689
|
-
export function deserializeIntoLeadTableRow_adminEnablementOverride(leadTableRow_adminEnablementOverride = {}) {
|
|
4690
|
-
return {
|
|
4691
|
-
...deserializeIntoAdminEnablementOverride(leadTableRow_adminEnablementOverride),
|
|
4692
|
-
};
|
|
4693
|
-
}
|
|
4694
4015
|
/**
|
|
4695
4016
|
* The deserialization information for the current model
|
|
4696
4017
|
* @param LeadTableRow_currentDisposition The instance to deserialize into.
|
|
@@ -4950,20 +4271,6 @@ export function deserializeIntoPagedResultOfEventTableRow(pagedResultOfEventTabl
|
|
|
4950
4271
|
"totalCount": n => { pagedResultOfEventTableRow.totalCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
4951
4272
|
};
|
|
4952
4273
|
}
|
|
4953
|
-
/**
|
|
4954
|
-
* The deserialization information for the current model
|
|
4955
|
-
* @param PagedResultOfFeedbackResponse The instance to deserialize into.
|
|
4956
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
4957
|
-
*/
|
|
4958
|
-
// @ts-ignore
|
|
4959
|
-
export function deserializeIntoPagedResultOfFeedbackResponse(pagedResultOfFeedbackResponse = {}) {
|
|
4960
|
-
return {
|
|
4961
|
-
"continuationToken": n => { pagedResultOfFeedbackResponse.continuationToken = n.getStringValue(); },
|
|
4962
|
-
"items": n => { pagedResultOfFeedbackResponse.items = n.getCollectionOfObjectValues(createFeedbackResponseFromDiscriminatorValue); },
|
|
4963
|
-
"pageSize": n => { pagedResultOfFeedbackResponse.pageSize = n.getNumberValue(); },
|
|
4964
|
-
"totalCount": n => { pagedResultOfFeedbackResponse.totalCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
4965
|
-
};
|
|
4966
|
-
}
|
|
4967
4274
|
/**
|
|
4968
4275
|
* The deserialization information for the current model
|
|
4969
4276
|
* @param PagedResultOfLeadTableRow The instance to deserialize into.
|
|
@@ -5109,7 +4416,6 @@ export function deserializeIntoPhoneCallResponse(phoneCallResponse = {}) {
|
|
|
5109
4416
|
"fromPhoneNumberId": n => { phoneCallResponse.fromPhoneNumberId = n.getStringValue(); },
|
|
5110
4417
|
"id": n => { phoneCallResponse.id = n.getStringValue(); },
|
|
5111
4418
|
"leadId": n => { phoneCallResponse.leadId = n.getStringValue(); },
|
|
5112
|
-
"metadata": n => { phoneCallResponse.metadata = n.getObjectValue(createPhoneCallResponse_metadataFromDiscriminatorValue); },
|
|
5113
4419
|
"modifiedAt": n => { phoneCallResponse.modifiedAt = n.getDateValue(); },
|
|
5114
4420
|
"phoneNumber": n => { phoneCallResponse.phoneNumber = n.getStringValue(); },
|
|
5115
4421
|
"queuedAt": n => { phoneCallResponse.queuedAt = n.getDateValue(); },
|
|
@@ -5123,15 +4429,6 @@ export function deserializeIntoPhoneCallResponse(phoneCallResponse = {}) {
|
|
|
5123
4429
|
"wasManuallyOverridden": n => { phoneCallResponse.wasManuallyOverridden = n.getBooleanValue(); },
|
|
5124
4430
|
};
|
|
5125
4431
|
}
|
|
5126
|
-
/**
|
|
5127
|
-
* The deserialization information for the current model
|
|
5128
|
-
* @param PhoneCallResponse_metadata The instance to deserialize into.
|
|
5129
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
5130
|
-
*/
|
|
5131
|
-
// @ts-ignore
|
|
5132
|
-
export function deserializeIntoPhoneCallResponse_metadata(phoneCallResponse_metadata = {}) {
|
|
5133
|
-
return {};
|
|
5134
|
-
}
|
|
5135
4432
|
/**
|
|
5136
4433
|
* The deserialization information for the current model
|
|
5137
4434
|
* @param PhoneLookup The instance to deserialize into.
|
|
@@ -5140,7 +4437,7 @@ export function deserializeIntoPhoneCallResponse_metadata(phoneCallResponse_meta
|
|
|
5140
4437
|
// @ts-ignore
|
|
5141
4438
|
export function deserializeIntoPhoneLookup(phoneLookup = {}) {
|
|
5142
4439
|
return {
|
|
5143
|
-
"
|
|
4440
|
+
"carrier": n => { phoneLookup.carrier = n.getObjectValue(createPhoneLookup_carrierFromDiscriminatorValue); },
|
|
5144
4441
|
"createdAt": n => { phoneLookup.createdAt = n.getDateValue(); },
|
|
5145
4442
|
"id": n => { phoneLookup.id = n.getStringValue(); },
|
|
5146
4443
|
"isValid": n => { phoneLookup.isValid = n.getBooleanValue(); },
|
|
@@ -5152,99 +4449,77 @@ export function deserializeIntoPhoneLookup(phoneLookup = {}) {
|
|
|
5152
4449
|
}
|
|
5153
4450
|
/**
|
|
5154
4451
|
* The deserialization information for the current model
|
|
5155
|
-
* @param
|
|
5156
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
5157
|
-
*/
|
|
5158
|
-
// @ts-ignore
|
|
5159
|
-
export function deserializeIntoPhoneLookup_location(phoneLookup_location = {}) {
|
|
5160
|
-
return {
|
|
5161
|
-
...deserializeIntoPhoneNumberLocation(phoneLookup_location),
|
|
5162
|
-
};
|
|
5163
|
-
}
|
|
5164
|
-
/**
|
|
5165
|
-
* The deserialization information for the current model
|
|
5166
|
-
* @param PhoneNumberAvailabilityRequest The instance to deserialize into.
|
|
4452
|
+
* @param PhoneLookup_carrier The instance to deserialize into.
|
|
5167
4453
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
5168
4454
|
*/
|
|
5169
4455
|
// @ts-ignore
|
|
5170
|
-
export function
|
|
4456
|
+
export function deserializeIntoPhoneLookup_carrier(phoneLookup_carrier = {}) {
|
|
5171
4457
|
return {
|
|
5172
|
-
|
|
4458
|
+
...deserializeIntoPhoneLookupCarrier(phoneLookup_carrier),
|
|
5173
4459
|
};
|
|
5174
4460
|
}
|
|
5175
4461
|
/**
|
|
5176
4462
|
* The deserialization information for the current model
|
|
5177
|
-
* @param
|
|
4463
|
+
* @param PhoneLookup_location The instance to deserialize into.
|
|
5178
4464
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
5179
4465
|
*/
|
|
5180
4466
|
// @ts-ignore
|
|
5181
|
-
export function
|
|
4467
|
+
export function deserializeIntoPhoneLookup_location(phoneLookup_location = {}) {
|
|
5182
4468
|
return {
|
|
5183
|
-
|
|
5184
|
-
"isAvailable": n => { phoneNumberAvailabilityResponse.isAvailable = n.getBooleanValue(); },
|
|
5185
|
-
"location": n => { phoneNumberAvailabilityResponse.location = n.getObjectValue(createPhoneNumberAvailabilityResponse_locationFromDiscriminatorValue); },
|
|
5186
|
-
"phoneNumber": n => { phoneNumberAvailabilityResponse.phoneNumber = n.getStringValue(); },
|
|
5187
|
-
"price": n => { phoneNumberAvailabilityResponse.price = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
4469
|
+
...deserializeIntoPhoneNumberLocation(phoneLookup_location),
|
|
5188
4470
|
};
|
|
5189
4471
|
}
|
|
5190
4472
|
/**
|
|
5191
4473
|
* The deserialization information for the current model
|
|
5192
|
-
* @param
|
|
4474
|
+
* @param PhoneLookupCarrier The instance to deserialize into.
|
|
5193
4475
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
5194
4476
|
*/
|
|
5195
4477
|
// @ts-ignore
|
|
5196
|
-
export function
|
|
4478
|
+
export function deserializeIntoPhoneLookupCarrier(phoneLookupCarrier = {}) {
|
|
5197
4479
|
return {
|
|
5198
|
-
|
|
4480
|
+
"errorCode": n => { phoneLookupCarrier.errorCode = n.getStringValue(); },
|
|
4481
|
+
"mobileCountryCode": n => { phoneLookupCarrier.mobileCountryCode = n.getStringValue(); },
|
|
4482
|
+
"mobileNetworkCode": n => { phoneLookupCarrier.mobileNetworkCode = n.getStringValue(); },
|
|
4483
|
+
"name": n => { phoneLookupCarrier.name = n.getStringValue(); },
|
|
4484
|
+
"normalizedCarrier": n => { phoneLookupCarrier.normalizedCarrier = n.getStringValue(); },
|
|
4485
|
+
"type": n => { phoneLookupCarrier.type = n.getEnumValue(PhoneLookupCarrier_typeObject); },
|
|
5199
4486
|
};
|
|
5200
4487
|
}
|
|
5201
4488
|
/**
|
|
5202
4489
|
* The deserialization information for the current model
|
|
5203
|
-
* @param
|
|
4490
|
+
* @param PhoneNumberAvailabilityRequest The instance to deserialize into.
|
|
5204
4491
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
5205
4492
|
*/
|
|
5206
4493
|
// @ts-ignore
|
|
5207
|
-
export function
|
|
4494
|
+
export function deserializeIntoPhoneNumberAvailabilityRequest(phoneNumberAvailabilityRequest = {}) {
|
|
5208
4495
|
return {
|
|
5209
|
-
"
|
|
5210
|
-
"businessName": n => { phoneNumberBillingAttribution.businessName = n.getStringValue(); },
|
|
5211
|
-
"channel": n => { phoneNumberBillingAttribution.channel = n.getStringValue(); },
|
|
5212
|
-
"monthlyAmount": n => { phoneNumberBillingAttribution.monthlyAmount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
5213
|
-
"subscriptionItemId": n => { phoneNumberBillingAttribution.subscriptionItemId = n.getStringValue(); },
|
|
5214
|
-
"userId": n => { phoneNumberBillingAttribution.userId = n.getStringValue(); },
|
|
5215
|
-
"userName": n => { phoneNumberBillingAttribution.userName = n.getStringValue(); },
|
|
4496
|
+
"phoneNumber": n => { phoneNumberAvailabilityRequest.phoneNumber = n.getStringValue(); },
|
|
5216
4497
|
};
|
|
5217
4498
|
}
|
|
5218
4499
|
/**
|
|
5219
4500
|
* The deserialization information for the current model
|
|
5220
|
-
* @param
|
|
4501
|
+
* @param PhoneNumberAvailabilityResponse The instance to deserialize into.
|
|
5221
4502
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
5222
4503
|
*/
|
|
5223
4504
|
// @ts-ignore
|
|
5224
|
-
export function
|
|
4505
|
+
export function deserializeIntoPhoneNumberAvailabilityResponse(phoneNumberAvailabilityResponse = {}) {
|
|
5225
4506
|
return {
|
|
5226
|
-
"
|
|
5227
|
-
"
|
|
5228
|
-
"
|
|
5229
|
-
"
|
|
4507
|
+
"currency": n => { phoneNumberAvailabilityResponse.currency = n.getStringValue(); },
|
|
4508
|
+
"isAvailable": n => { phoneNumberAvailabilityResponse.isAvailable = n.getBooleanValue(); },
|
|
4509
|
+
"location": n => { phoneNumberAvailabilityResponse.location = n.getObjectValue(createPhoneNumberAvailabilityResponse_locationFromDiscriminatorValue); },
|
|
4510
|
+
"phoneNumber": n => { phoneNumberAvailabilityResponse.phoneNumber = n.getStringValue(); },
|
|
4511
|
+
"price": n => { phoneNumberAvailabilityResponse.price = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
5230
4512
|
};
|
|
5231
4513
|
}
|
|
5232
4514
|
/**
|
|
5233
4515
|
* The deserialization information for the current model
|
|
5234
|
-
* @param
|
|
4516
|
+
* @param PhoneNumberAvailabilityResponse_location The instance to deserialize into.
|
|
5235
4517
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
5236
4518
|
*/
|
|
5237
4519
|
// @ts-ignore
|
|
5238
|
-
export function
|
|
4520
|
+
export function deserializeIntoPhoneNumberAvailabilityResponse_location(phoneNumberAvailabilityResponse_location = {}) {
|
|
5239
4521
|
return {
|
|
5240
|
-
|
|
5241
|
-
"actorName": n => { phoneNumberEventRecord.actorName = n.getStringValue(); },
|
|
5242
|
-
"createdAt": n => { phoneNumberEventRecord.createdAt = n.getDateValue(); },
|
|
5243
|
-
"details": n => { phoneNumberEventRecord.details = n.getStringValue(); },
|
|
5244
|
-
"id": n => { phoneNumberEventRecord.id = n.getStringValue(); },
|
|
5245
|
-
"state": n => { phoneNumberEventRecord.state = n.getEnumValue(PhoneNumberEventRecord_stateObject); },
|
|
5246
|
-
"title": n => { phoneNumberEventRecord.title = n.getStringValue(); },
|
|
5247
|
-
"type": n => { phoneNumberEventRecord.type = n.getStringValue(); },
|
|
4522
|
+
...deserializeIntoPhoneNumberLocation(phoneNumberAvailabilityResponse_location),
|
|
5248
4523
|
};
|
|
5249
4524
|
}
|
|
5250
4525
|
/**
|
|
@@ -5288,7 +4563,6 @@ export function deserializeIntoPhoneNumberMessagingEventResponse(phoneNumberMess
|
|
|
5288
4563
|
"id": n => { phoneNumberMessagingEventResponse.id = n.getStringValue(); },
|
|
5289
4564
|
"isOptOut": n => { phoneNumberMessagingEventResponse.isOptOut = n.getBooleanValue(); },
|
|
5290
4565
|
"label": n => { phoneNumberMessagingEventResponse.label = n.getStringValue(); },
|
|
5291
|
-
"providerStatus": n => { phoneNumberMessagingEventResponse.providerStatus = n.getStringValue(); },
|
|
5292
4566
|
"textPreview": n => { phoneNumberMessagingEventResponse.textPreview = n.getStringValue(); },
|
|
5293
4567
|
"toPhoneNumber": n => { phoneNumberMessagingEventResponse.toPhoneNumber = n.getStringValue(); },
|
|
5294
4568
|
};
|
|
@@ -5316,7 +4590,6 @@ export function deserializeIntoPhoneNumberOptOutMetricsResponse(phoneNumberOptOu
|
|
|
5316
4590
|
// @ts-ignore
|
|
5317
4591
|
export function deserializeIntoPhoneNumberRequest(phoneNumberRequest = {}) {
|
|
5318
4592
|
return {
|
|
5319
|
-
"adminEnablementOverride": n => { phoneNumberRequest.adminEnablementOverride = n.getObjectValue(createPhoneNumberRequest_adminEnablementOverrideFromDiscriminatorValue); },
|
|
5320
4593
|
"businessId": n => { phoneNumberRequest.businessId = n.getStringValue(); },
|
|
5321
4594
|
"enabled": n => { phoneNumberRequest.enabled = n.getBooleanValue(); },
|
|
5322
4595
|
"id": n => { phoneNumberRequest.id = n.getStringValue(); },
|
|
@@ -5324,17 +4597,6 @@ export function deserializeIntoPhoneNumberRequest(phoneNumberRequest = {}) {
|
|
|
5324
4597
|
"number": n => { phoneNumberRequest.number = n.getStringValue(); },
|
|
5325
4598
|
};
|
|
5326
4599
|
}
|
|
5327
|
-
/**
|
|
5328
|
-
* The deserialization information for the current model
|
|
5329
|
-
* @param PhoneNumberRequest_adminEnablementOverride The instance to deserialize into.
|
|
5330
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
5331
|
-
*/
|
|
5332
|
-
// @ts-ignore
|
|
5333
|
-
export function deserializeIntoPhoneNumberRequest_adminEnablementOverride(phoneNumberRequest_adminEnablementOverride = {}) {
|
|
5334
|
-
return {
|
|
5335
|
-
...deserializeIntoAdminEnablementOverride(phoneNumberRequest_adminEnablementOverride),
|
|
5336
|
-
};
|
|
5337
|
-
}
|
|
5338
4600
|
/**
|
|
5339
4601
|
* The deserialization information for the current model
|
|
5340
4602
|
* @param PhoneNumberResponse The instance to deserialize into.
|
|
@@ -5343,72 +4605,17 @@ export function deserializeIntoPhoneNumberRequest_adminEnablementOverride(phoneN
|
|
|
5343
4605
|
// @ts-ignore
|
|
5344
4606
|
export function deserializeIntoPhoneNumberResponse(phoneNumberResponse = {}) {
|
|
5345
4607
|
return {
|
|
5346
|
-
"adminEnablementOverride": n => { phoneNumberResponse.adminEnablementOverride = n.getObjectValue(createPhoneNumberResponse_adminEnablementOverrideFromDiscriminatorValue); },
|
|
5347
|
-
"billing": n => { phoneNumberResponse.billing = n.getObjectValue(createPhoneNumberBillingAttributionFromDiscriminatorValue); },
|
|
5348
4608
|
"business": n => { phoneNumberResponse.business = n.getObjectValue(createPhoneNumberResponse_businessFromDiscriminatorValue); },
|
|
5349
|
-
"callWarmupEnabled": n => { phoneNumberResponse.callWarmupEnabled = n.getBooleanValue(); },
|
|
5350
|
-
"callWarmupHealthReason": n => { phoneNumberResponse.callWarmupHealthReason = n.getStringValue(); },
|
|
5351
|
-
"callWarmupNextActionAt": n => { phoneNumberResponse.callWarmupNextActionAt = n.getDateValue(); },
|
|
5352
|
-
"callWarmupPauseReason": n => { phoneNumberResponse.callWarmupPauseReason = n.getStringValue(); },
|
|
5353
|
-
"callWarmupStage": n => { phoneNumberResponse.callWarmupStage = n.getEnumValue(PhoneNumberResponse_callWarmupStageObject); },
|
|
5354
|
-
"callWarmupState": n => { phoneNumberResponse.callWarmupState = n.getEnumValue(PhoneNumberResponse_callWarmupStateObject); },
|
|
5355
|
-
"campaignId": n => { phoneNumberResponse.campaignId = n.getStringValue(); },
|
|
5356
|
-
"capabilities": n => { phoneNumberResponse.capabilities = n.getObjectValue(createPhoneNumberCapabilitiesFromDiscriminatorValue); },
|
|
5357
4609
|
"createdAt": n => { phoneNumberResponse.createdAt = n.getDateValue(); },
|
|
5358
4610
|
"enabled": n => { phoneNumberResponse.enabled = n.getBooleanValue(); },
|
|
5359
|
-
"events": n => { phoneNumberResponse.events = n.getCollectionOfObjectValues(createPhoneNumberEventRecordFromDiscriminatorValue); },
|
|
5360
|
-
"healthReason": n => { phoneNumberResponse.healthReason = n.getStringValue(); },
|
|
5361
|
-
"healthStatus": n => { phoneNumberResponse.healthStatus = n.getEnumValue(PhoneNumberResponse_healthStatusObject); },
|
|
5362
4611
|
"id": n => { phoneNumberResponse.id = n.getStringValue(); },
|
|
5363
|
-
"inventoryState": n => { phoneNumberResponse.inventoryState = n.getEnumValue(PhoneNumberInventoryStateObject); },
|
|
5364
|
-
"isApprovedTestDestination": n => { phoneNumberResponse.isApprovedTestDestination = n.getBooleanValue(); },
|
|
5365
|
-
"isDefault": n => { phoneNumberResponse.isDefault = n.getBooleanValue(); },
|
|
5366
|
-
"isInternalPool": n => { phoneNumberResponse.isInternalPool = n.getBooleanValue(); },
|
|
5367
|
-
"isMessagingProgramApproved": n => { phoneNumberResponse.isMessagingProgramApproved = n.getBooleanValue(); },
|
|
5368
|
-
"isPreferred": n => { phoneNumberResponse.isPreferred = n.getBooleanValue(); },
|
|
5369
4612
|
"leadpingOwned": n => { phoneNumberResponse.leadpingOwned = n.getBooleanValue(); },
|
|
5370
4613
|
"location": n => { phoneNumberResponse.location = n.getObjectValue(createPhoneNumberResponse_locationFromDiscriminatorValue); },
|
|
5371
4614
|
"modifiedAt": n => { phoneNumberResponse.modifiedAt = n.getDateValue(); },
|
|
5372
4615
|
"name": n => { phoneNumberResponse.name = n.getStringValue(); },
|
|
5373
4616
|
"number": n => { phoneNumberResponse.number = n.getStringValue(); },
|
|
5374
|
-
"provider": n => { phoneNumberResponse.provider = n.getStringValue(); },
|
|
5375
|
-
"providerError": n => { phoneNumberResponse.providerError = n.getStringValue(); },
|
|
5376
|
-
"providerOrderId": n => { phoneNumberResponse.providerOrderId = n.getStringValue(); },
|
|
5377
|
-
"providerOrderStatus": n => { phoneNumberResponse.providerOrderStatus = n.getStringValue(); },
|
|
5378
|
-
"providerPhoneNumberId": n => { phoneNumberResponse.providerPhoneNumberId = n.getStringValue(); },
|
|
5379
|
-
"providerReleasedAt": n => { phoneNumberResponse.providerReleasedAt = n.getDateValue(); },
|
|
5380
|
-
"providerReleaseHoldStartsAt": n => { phoneNumberResponse.providerReleaseHoldStartsAt = n.getDateValue(); },
|
|
5381
|
-
"providerReleaseReason": n => { phoneNumberResponse.providerReleaseReason = n.getStringValue(); },
|
|
5382
|
-
"providerReleaseRequestedAt": n => { phoneNumberResponse.providerReleaseRequestedAt = n.getDateValue(); },
|
|
5383
|
-
"providerReleaseRequestedByName": n => { phoneNumberResponse.providerReleaseRequestedByName = n.getStringValue(); },
|
|
5384
|
-
"providerReleaseRequestedByUserId": n => { phoneNumberResponse.providerReleaseRequestedByUserId = n.getStringValue(); },
|
|
5385
|
-
"providerReleaseScheduledAt": n => { phoneNumberResponse.providerReleaseScheduledAt = n.getDateValue(); },
|
|
5386
|
-
"providerReleaseUnassignAtHoldStart": n => { phoneNumberResponse.providerReleaseUnassignAtHoldStart = n.getBooleanValue(); },
|
|
5387
|
-
"providerStatus": n => { phoneNumberResponse.providerStatus = n.getStringValue(); },
|
|
5388
|
-
"providerSyncedAt": n => { phoneNumberResponse.providerSyncedAt = n.getDateValue(); },
|
|
5389
4617
|
"routing": n => { phoneNumberResponse.routing = n.getObjectValue(createPhoneNumberRoutingMetadataFromDiscriminatorValue); },
|
|
5390
|
-
"
|
|
5391
|
-
"status": n => { phoneNumberResponse.status = n.getEnumValue(InternalPhoneNumberStatusObject); },
|
|
5392
|
-
"teamId": n => { phoneNumberResponse.teamId = n.getStringValue(); },
|
|
5393
|
-
"tenDlc": n => { phoneNumberResponse.tenDlc = n.getObjectValue(createPhoneNumberTenDlcAssociationFromDiscriminatorValue); },
|
|
5394
|
-
"user": n => { phoneNumberResponse.user = n.getObjectValue(createPhoneNumberResponse_userFromDiscriminatorValue); },
|
|
5395
|
-
"warmupEnabled": n => { phoneNumberResponse.warmupEnabled = n.getBooleanValue(); },
|
|
5396
|
-
"warmupHealthScore": n => { phoneNumberResponse.warmupHealthScore = n.getNumberValue(); },
|
|
5397
|
-
"warmupNextActionAt": n => { phoneNumberResponse.warmupNextActionAt = n.getDateValue(); },
|
|
5398
|
-
"warmupPauseReason": n => { phoneNumberResponse.warmupPauseReason = n.getStringValue(); },
|
|
5399
|
-
"warmupProgressPercent": n => { phoneNumberResponse.warmupProgressPercent = n.getNumberValue(); },
|
|
5400
|
-
"warmupState": n => { phoneNumberResponse.warmupState = n.getEnumValue(PhoneNumberResponse_warmupStateObject); },
|
|
5401
|
-
};
|
|
5402
|
-
}
|
|
5403
|
-
/**
|
|
5404
|
-
* The deserialization information for the current model
|
|
5405
|
-
* @param PhoneNumberResponse_adminEnablementOverride The instance to deserialize into.
|
|
5406
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
5407
|
-
*/
|
|
5408
|
-
// @ts-ignore
|
|
5409
|
-
export function deserializeIntoPhoneNumberResponse_adminEnablementOverride(phoneNumberResponse_adminEnablementOverride = {}) {
|
|
5410
|
-
return {
|
|
5411
|
-
...deserializeIntoAdminEnablementOverride(phoneNumberResponse_adminEnablementOverride),
|
|
4618
|
+
"warmup": n => { phoneNumberResponse.warmup = n.getObjectValue(createPhoneNumberWarmupFromDiscriminatorValue); },
|
|
5412
4619
|
};
|
|
5413
4620
|
}
|
|
5414
4621
|
/**
|
|
@@ -5433,17 +4640,6 @@ export function deserializeIntoPhoneNumberResponse_location(phoneNumberResponse_
|
|
|
5433
4640
|
...deserializeIntoPhoneNumberLocation(phoneNumberResponse_location),
|
|
5434
4641
|
};
|
|
5435
4642
|
}
|
|
5436
|
-
/**
|
|
5437
|
-
* The deserialization information for the current model
|
|
5438
|
-
* @param PhoneNumberResponse_user The instance to deserialize into.
|
|
5439
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
5440
|
-
*/
|
|
5441
|
-
// @ts-ignore
|
|
5442
|
-
export function deserializeIntoPhoneNumberResponse_user(phoneNumberResponse_user = {}) {
|
|
5443
|
-
return {
|
|
5444
|
-
...deserializeIntoIdNamePair(phoneNumberResponse_user),
|
|
5445
|
-
};
|
|
5446
|
-
}
|
|
5447
4643
|
/**
|
|
5448
4644
|
* The deserialization information for the current model
|
|
5449
4645
|
* @param PhoneNumberRoutingMetadata The instance to deserialize into.
|
|
@@ -5453,14 +4649,10 @@ export function deserializeIntoPhoneNumberResponse_user(phoneNumberResponse_user
|
|
|
5453
4649
|
export function deserializeIntoPhoneNumberRoutingMetadata(phoneNumberRoutingMetadata = {}) {
|
|
5454
4650
|
return {
|
|
5455
4651
|
"campaignId": n => { phoneNumberRoutingMetadata.campaignId = n.getStringValue(); },
|
|
5456
|
-
"internalTestOnly": n => { phoneNumberRoutingMetadata.internalTestOnly = n.getBooleanValue(); },
|
|
5457
|
-
"messagingProfileId": n => { phoneNumberRoutingMetadata.messagingProfileId = n.getStringValue(); },
|
|
5458
4652
|
"smsEnabled": n => { phoneNumberRoutingMetadata.smsEnabled = n.getBooleanValue(); },
|
|
5459
4653
|
"sourceId": n => { phoneNumberRoutingMetadata.sourceId = n.getStringValue(); },
|
|
5460
4654
|
"teamId": n => { phoneNumberRoutingMetadata.teamId = n.getStringValue(); },
|
|
5461
|
-
"voiceConnectionId": n => { phoneNumberRoutingMetadata.voiceConnectionId = n.getStringValue(); },
|
|
5462
4655
|
"voiceEnabled": n => { phoneNumberRoutingMetadata.voiceEnabled = n.getBooleanValue(); },
|
|
5463
|
-
"warmupOnly": n => { phoneNumberRoutingMetadata.warmupOnly = n.getBooleanValue(); },
|
|
5464
4656
|
};
|
|
5465
4657
|
}
|
|
5466
4658
|
/**
|
|
@@ -5529,27 +4721,13 @@ export function deserializeIntoPhoneNumberSearchResult_location(phoneNumberSearc
|
|
|
5529
4721
|
export function deserializeIntoPhoneNumberStatusResponse(phoneNumberStatusResponse = {}) {
|
|
5530
4722
|
return {
|
|
5531
4723
|
"callsPossible": n => { phoneNumberStatusResponse.callsPossible = n.getNumberValue(); },
|
|
5532
|
-
"callWarmup": n => { phoneNumberStatusResponse.callWarmup = n.getObjectValue(createPhoneNumberStatusResponse_callWarmupFromDiscriminatorValue); },
|
|
5533
4724
|
"messagesPossible": n => { phoneNumberStatusResponse.messagesPossible = n.getNumberValue(); },
|
|
5534
|
-
"messagesWarmed": n => { phoneNumberStatusResponse.messagesWarmed = n.getNumberValue(); },
|
|
5535
4725
|
"number": n => { phoneNumberStatusResponse.number = n.getStringValue(); },
|
|
5536
4726
|
"optOutMetrics": n => { phoneNumberStatusResponse.optOutMetrics = n.getObjectValue(createPhoneNumberOptOutMetricsResponseFromDiscriminatorValue); },
|
|
5537
4727
|
"outboundCapacity": n => { phoneNumberStatusResponse.outboundCapacity = n.getObjectValue(createPhoneNumberStatusResponse_outboundCapacityFromDiscriminatorValue); },
|
|
5538
4728
|
"recentEvents": n => { phoneNumberStatusResponse.recentEvents = n.getCollectionOfObjectValues(createPhoneNumberMessagingEventResponseFromDiscriminatorValue); },
|
|
5539
4729
|
"smsWarmup": n => { phoneNumberStatusResponse.smsWarmup = n.getObjectValue(createPhoneNumberStatusResponse_smsWarmupFromDiscriminatorValue); },
|
|
5540
4730
|
"trafficMetrics": n => { phoneNumberStatusResponse.trafficMetrics = n.getObjectValue(createPhoneNumberTrafficMetricsResponseFromDiscriminatorValue); },
|
|
5541
|
-
"warmupCallsMade": n => { phoneNumberStatusResponse.warmupCallsMade = n.getNumberValue(); },
|
|
5542
|
-
};
|
|
5543
|
-
}
|
|
5544
|
-
/**
|
|
5545
|
-
* The deserialization information for the current model
|
|
5546
|
-
* @param PhoneNumberStatusResponse_callWarmup The instance to deserialize into.
|
|
5547
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
5548
|
-
*/
|
|
5549
|
-
// @ts-ignore
|
|
5550
|
-
export function deserializeIntoPhoneNumberStatusResponse_callWarmup(phoneNumberStatusResponse_callWarmup = {}) {
|
|
5551
|
-
return {
|
|
5552
|
-
...deserializeIntoPhoneNumberWarmupStatusResponse(phoneNumberStatusResponse_callWarmup),
|
|
5553
4731
|
};
|
|
5554
4732
|
}
|
|
5555
4733
|
/**
|
|
@@ -5582,77 +4760,29 @@ export function deserializeIntoPhoneNumberStatusResponse_smsWarmup(phoneNumberSt
|
|
|
5582
4760
|
// @ts-ignore
|
|
5583
4761
|
export function deserializeIntoPhoneNumberTableRow(phoneNumberTableRow = {}) {
|
|
5584
4762
|
return {
|
|
5585
|
-
"adminEnablementOverride": n => { phoneNumberTableRow.adminEnablementOverride = n.getObjectValue(createPhoneNumberTableRow_adminEnablementOverrideFromDiscriminatorValue); },
|
|
5586
|
-
"billingAttribution": n => { phoneNumberTableRow.billingAttribution = n.getStringValue(); },
|
|
5587
4763
|
"business": n => { phoneNumberTableRow.business = n.getStringValue(); },
|
|
5588
4764
|
"businessId": n => { phoneNumberTableRow.businessId = n.getStringValue(); },
|
|
5589
|
-
"callWarmupEnabled": n => { phoneNumberTableRow.callWarmupEnabled = n.getBooleanValue(); },
|
|
5590
|
-
"callWarmupStage": n => { phoneNumberTableRow.callWarmupStage = n.getEnumValue(PhoneNumberTableRow_callWarmupStageObject); },
|
|
5591
|
-
"callWarmupState": n => { phoneNumberTableRow.callWarmupState = n.getEnumValue(PhoneNumberTableRow_callWarmupStateObject); },
|
|
5592
|
-
"capabilities": n => { phoneNumberTableRow.capabilities = n.getStringValue(); },
|
|
5593
4765
|
"enabled": n => { phoneNumberTableRow.enabled = n.getBooleanValue(); },
|
|
5594
|
-
"healthStatus": n => { phoneNumberTableRow.healthStatus = n.getEnumValue(PhoneNumberTableRow_healthStatusObject); },
|
|
5595
4766
|
"id": n => { phoneNumberTableRow.id = n.getStringValue(); },
|
|
5596
|
-
"internalTestOnly": n => { phoneNumberTableRow.internalTestOnly = n.getBooleanValue(); },
|
|
5597
|
-
"inventoryState": n => { phoneNumberTableRow.inventoryState = n.getEnumValue(PhoneNumberInventoryStateObject); },
|
|
5598
|
-
"isMessagingProgramApproved": n => { phoneNumberTableRow.isMessagingProgramApproved = n.getBooleanValue(); },
|
|
5599
4767
|
"location": n => { phoneNumberTableRow.location = n.getStringValue(); },
|
|
5600
4768
|
"name": n => { phoneNumberTableRow.name = n.getStringValue(); },
|
|
5601
4769
|
"number": n => { phoneNumberTableRow.number = n.getStringValue(); },
|
|
5602
4770
|
"ownership": n => { phoneNumberTableRow.ownership = n.getStringValue(); },
|
|
5603
|
-
"providerLifecycleState": n => { phoneNumberTableRow.providerLifecycleState = n.getEnumValue(PhoneNumberProviderLifecycleStateObject); },
|
|
5604
|
-
"providerReconciliationStatus": n => { phoneNumberTableRow.providerReconciliationStatus = n.getStringValue(); },
|
|
5605
|
-
"providerStatus": n => { phoneNumberTableRow.providerStatus = n.getStringValue(); },
|
|
5606
4771
|
"routingSummary": n => { phoneNumberTableRow.routingSummary = n.getStringValue(); },
|
|
5607
4772
|
"smsReady": n => { phoneNumberTableRow.smsReady = n.getBooleanValue(); },
|
|
5608
|
-
"status": n => { phoneNumberTableRow.status = n.getEnumValue(InternalPhoneNumberStatusObject); },
|
|
5609
|
-
"tenDlcCampaignId": n => { phoneNumberTableRow.tenDlcCampaignId = n.getStringValue(); },
|
|
5610
4773
|
"tenDlcCampaignStatus": n => { phoneNumberTableRow.tenDlcCampaignStatus = n.getStringValue(); },
|
|
5611
4774
|
"type": n => { phoneNumberTableRow.type = n.getStringValue(); },
|
|
5612
|
-
"user": n => { phoneNumberTableRow.user = n.getStringValue(); },
|
|
5613
4775
|
"voiceReady": n => { phoneNumberTableRow.voiceReady = n.getBooleanValue(); },
|
|
5614
|
-
"
|
|
5615
|
-
"warmupOnly": n => { phoneNumberTableRow.warmupOnly = n.getBooleanValue(); },
|
|
5616
|
-
"warmupProgressPercent": n => { phoneNumberTableRow.warmupProgressPercent = n.getNumberValue(); },
|
|
5617
|
-
"warmupState": n => { phoneNumberTableRow.warmupState = n.getEnumValue(PhoneNumberTableRow_warmupStateObject); },
|
|
4776
|
+
"warmup": n => { phoneNumberTableRow.warmup = n.getObjectValue(createPhoneNumberWarmupFromDiscriminatorValue); },
|
|
5618
4777
|
};
|
|
5619
4778
|
}
|
|
5620
4779
|
/**
|
|
5621
4780
|
* The deserialization information for the current model
|
|
5622
|
-
* @param
|
|
4781
|
+
* @param PhoneNumberTrafficMetricsResponse The instance to deserialize into.
|
|
5623
4782
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
5624
4783
|
*/
|
|
5625
4784
|
// @ts-ignore
|
|
5626
|
-
export function
|
|
5627
|
-
return {
|
|
5628
|
-
...deserializeIntoAdminEnablementOverride(phoneNumberTableRow_adminEnablementOverride),
|
|
5629
|
-
};
|
|
5630
|
-
}
|
|
5631
|
-
/**
|
|
5632
|
-
* The deserialization information for the current model
|
|
5633
|
-
* @param PhoneNumberTenDlcAssociation The instance to deserialize into.
|
|
5634
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
5635
|
-
*/
|
|
5636
|
-
// @ts-ignore
|
|
5637
|
-
export function deserializeIntoPhoneNumberTenDlcAssociation(phoneNumberTenDlcAssociation = {}) {
|
|
5638
|
-
return {
|
|
5639
|
-
"assignmentStatus": n => { phoneNumberTenDlcAssociation.assignmentStatus = n.getStringValue(); },
|
|
5640
|
-
"brandId": n => { phoneNumberTenDlcAssociation.brandId = n.getStringValue(); },
|
|
5641
|
-
"campaignId": n => { phoneNumberTenDlcAssociation.campaignId = n.getStringValue(); },
|
|
5642
|
-
"campaignStatus": n => { phoneNumberTenDlcAssociation.campaignStatus = n.getStringValue(); },
|
|
5643
|
-
"failureReason": n => { phoneNumberTenDlcAssociation.failureReason = n.getStringValue(); },
|
|
5644
|
-
"lastProviderEventId": n => { phoneNumberTenDlcAssociation.lastProviderEventId = n.getStringValue(); },
|
|
5645
|
-
"messagingProfileId": n => { phoneNumberTenDlcAssociation.messagingProfileId = n.getStringValue(); },
|
|
5646
|
-
"statusUpdatedAt": n => { phoneNumberTenDlcAssociation.statusUpdatedAt = n.getDateValue(); },
|
|
5647
|
-
};
|
|
5648
|
-
}
|
|
5649
|
-
/**
|
|
5650
|
-
* The deserialization information for the current model
|
|
5651
|
-
* @param PhoneNumberTrafficMetricsResponse The instance to deserialize into.
|
|
5652
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
5653
|
-
*/
|
|
5654
|
-
// @ts-ignore
|
|
5655
|
-
export function deserializeIntoPhoneNumberTrafficMetricsResponse(phoneNumberTrafficMetricsResponse = {}) {
|
|
4785
|
+
export function deserializeIntoPhoneNumberTrafficMetricsResponse(phoneNumberTrafficMetricsResponse = {}) {
|
|
5656
4786
|
return {
|
|
5657
4787
|
"callFailedCount": n => { phoneNumberTrafficMetricsResponse.callFailedCount = n.getNumberValue(); },
|
|
5658
4788
|
"callPlacedCount": n => { phoneNumberTrafficMetricsResponse.callPlacedCount = n.getNumberValue(); },
|
|
@@ -5682,59 +4812,17 @@ export function deserializeIntoPhoneNumberTrafficTrendPoint(phoneNumberTrafficTr
|
|
|
5682
4812
|
}
|
|
5683
4813
|
/**
|
|
5684
4814
|
* The deserialization information for the current model
|
|
5685
|
-
* @param
|
|
5686
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
5687
|
-
*/
|
|
5688
|
-
// @ts-ignore
|
|
5689
|
-
export function deserializeIntoPhoneNumberWarmupCallResponse(phoneNumberWarmupCallResponse = {}) {
|
|
5690
|
-
return {
|
|
5691
|
-
"actualConnectedDurationSeconds": n => { phoneNumberWarmupCallResponse.actualConnectedDurationSeconds = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
5692
|
-
"answeredAt": n => { phoneNumberWarmupCallResponse.answeredAt = n.getDateValue(); },
|
|
5693
|
-
"completedAt": n => { phoneNumberWarmupCallResponse.completedAt = n.getDateValue(); },
|
|
5694
|
-
"destinationPhoneNumber": n => { phoneNumberWarmupCallResponse.destinationPhoneNumber = n.getStringValue(); },
|
|
5695
|
-
"destinationPhoneNumberId": n => { phoneNumberWarmupCallResponse.destinationPhoneNumberId = n.getStringValue(); },
|
|
5696
|
-
"failureReason": n => { phoneNumberWarmupCallResponse.failureReason = n.getStringValue(); },
|
|
5697
|
-
"id": n => { phoneNumberWarmupCallResponse.id = n.getStringValue(); },
|
|
5698
|
-
"scheduledAt": n => { phoneNumberWarmupCallResponse.scheduledAt = n.getDateValue(); },
|
|
5699
|
-
"sourcePhoneNumber": n => { phoneNumberWarmupCallResponse.sourcePhoneNumber = n.getStringValue(); },
|
|
5700
|
-
"sourcePhoneNumberId": n => { phoneNumberWarmupCallResponse.sourcePhoneNumberId = n.getStringValue(); },
|
|
5701
|
-
"status": n => { phoneNumberWarmupCallResponse.status = n.getEnumValue(PhoneNumberWarmupCallStatusObject); },
|
|
5702
|
-
"targetDurationSeconds": n => { phoneNumberWarmupCallResponse.targetDurationSeconds = n.getNumberValue(); },
|
|
5703
|
-
};
|
|
5704
|
-
}
|
|
5705
|
-
/**
|
|
5706
|
-
* The deserialization information for the current model
|
|
5707
|
-
* @param PhoneNumberWarmupStatusResponse The instance to deserialize into.
|
|
4815
|
+
* @param PhoneNumberWarmup The instance to deserialize into.
|
|
5708
4816
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
5709
4817
|
*/
|
|
5710
4818
|
// @ts-ignore
|
|
5711
|
-
export function
|
|
4819
|
+
export function deserializeIntoPhoneNumberWarmup(phoneNumberWarmup = {}) {
|
|
5712
4820
|
return {
|
|
5713
|
-
"
|
|
5714
|
-
"
|
|
5715
|
-
"
|
|
5716
|
-
"
|
|
5717
|
-
"
|
|
5718
|
-
"dailyCap": n => { phoneNumberWarmupStatusResponse.dailyCap = n.getNumberValue(); },
|
|
5719
|
-
"eligibilityReasons": n => { phoneNumberWarmupStatusResponse.eligibilityReasons = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
5720
|
-
"failureReason": n => { phoneNumberWarmupStatusResponse.failureReason = n.getStringValue(); },
|
|
5721
|
-
"hourlyCap": n => { phoneNumberWarmupStatusResponse.hourlyCap = n.getNumberValue(); },
|
|
5722
|
-
"lastSuccessfulWarmupAt": n => { phoneNumberWarmupStatusResponse.lastSuccessfulWarmupAt = n.getDateValue(); },
|
|
5723
|
-
"lowConfidenceTimeZone": n => { phoneNumberWarmupStatusResponse.lowConfidenceTimeZone = n.getBooleanValue(); },
|
|
5724
|
-
"maxTargetDurationSeconds": n => { phoneNumberWarmupStatusResponse.maxTargetDurationSeconds = n.getNumberValue(); },
|
|
5725
|
-
"minTargetDurationSeconds": n => { phoneNumberWarmupStatusResponse.minTargetDurationSeconds = n.getNumberValue(); },
|
|
5726
|
-
"networkWarmupOptIn": n => { phoneNumberWarmupStatusResponse.networkWarmupOptIn = n.getBooleanValue(); },
|
|
5727
|
-
"nextEligibleAt": n => { phoneNumberWarmupStatusResponse.nextEligibleAt = n.getDateValue(); },
|
|
5728
|
-
"phoneNumber": n => { phoneNumberWarmupStatusResponse.phoneNumber = n.getStringValue(); },
|
|
5729
|
-
"phoneNumberId": n => { phoneNumberWarmupStatusResponse.phoneNumberId = n.getStringValue(); },
|
|
5730
|
-
"recentCalls": n => { phoneNumberWarmupStatusResponse.recentCalls = n.getCollectionOfObjectValues(createPhoneNumberWarmupCallResponseFromDiscriminatorValue); },
|
|
5731
|
-
"stage": n => { phoneNumberWarmupStatusResponse.stage = n.getEnumValue(PhoneNumberWarmupStageObject); },
|
|
5732
|
-
"startAt": n => { phoneNumberWarmupStatusResponse.startAt = n.getDateValue(); },
|
|
5733
|
-
"status": n => { phoneNumberWarmupStatusResponse.status = n.getEnumValue(PhoneNumberWarmupHealthStatusObject); },
|
|
5734
|
-
"timeZoneId": n => { phoneNumberWarmupStatusResponse.timeZoneId = n.getStringValue(); },
|
|
5735
|
-
"totalFailedCalls": n => { phoneNumberWarmupStatusResponse.totalFailedCalls = n.getNumberValue(); },
|
|
5736
|
-
"totalSuccessfulCalls": n => { phoneNumberWarmupStatusResponse.totalSuccessfulCalls = n.getNumberValue(); },
|
|
5737
|
-
"warmupEnabled": n => { phoneNumberWarmupStatusResponse.warmupEnabled = n.getBooleanValue(); },
|
|
4821
|
+
"enabled": n => { phoneNumberWarmup.enabled = n.getBooleanValue(); },
|
|
4822
|
+
"healthScore": n => { phoneNumberWarmup.healthScore = n.getNumberValue(); },
|
|
4823
|
+
"healthStatus": n => { phoneNumberWarmup.healthStatus = n.getEnumValue(PhoneNumberWarmup_healthStatusObject); },
|
|
4824
|
+
"progressPercent": n => { phoneNumberWarmup.progressPercent = n.getNumberValue(); },
|
|
4825
|
+
"state": n => { phoneNumberWarmup.state = n.getEnumValue(PhoneNumberWarmup_stateObject); },
|
|
5738
4826
|
};
|
|
5739
4827
|
}
|
|
5740
4828
|
/**
|
|
@@ -5793,21 +4881,11 @@ export function deserializeIntoRequestDataOptions(requestDataOptions = {}) {
|
|
|
5793
4881
|
// @ts-ignore
|
|
5794
4882
|
export function deserializeIntoSendSmsRequest(sendSmsRequest = {}) {
|
|
5795
4883
|
return {
|
|
5796
|
-
"automationId": n => { sendSmsRequest.automationId = n.getStringValue(); },
|
|
5797
4884
|
"campaignId": n => { sendSmsRequest.campaignId = n.getStringValue(); },
|
|
5798
4885
|
"conversationId": n => { sendSmsRequest.conversationId = n.getStringValue(); },
|
|
5799
4886
|
"fromPhoneNumberId": n => { sendSmsRequest.fromPhoneNumberId = n.getStringValue(); },
|
|
5800
|
-
"hasRequiredConsent": n => { sendSmsRequest.hasRequiredConsent = n.getBooleanValue(); },
|
|
5801
|
-
"importBatchId": n => { sendSmsRequest.importBatchId = n.getStringValue(); },
|
|
5802
|
-
"isAutomated": n => { sendSmsRequest.isAutomated = n.getBooleanValue(); },
|
|
5803
|
-
"isImportedLead": n => { sendSmsRequest.isImportedLead = n.getBooleanValue(); },
|
|
5804
|
-
"outboundDeliveryRequestId": n => { sendSmsRequest.outboundDeliveryRequestId = n.getStringValue(); },
|
|
5805
4887
|
"outboundIdempotencyKey": n => { sendSmsRequest.outboundIdempotencyKey = n.getStringValue(); },
|
|
5806
|
-
"outboundPriority": n => { sendSmsRequest.outboundPriority = n.getEnumValue(SendSmsRequest_outboundPriorityObject); },
|
|
5807
|
-
"outboundReservationId": n => { sendSmsRequest.outboundReservationId = n.getStringValue(); },
|
|
5808
|
-
"outboundSource": n => { sendSmsRequest.outboundSource = n.getEnumValue(SendSmsRequest_outboundSourceObject); },
|
|
5809
4888
|
"scheduledFor": n => { sendSmsRequest.scheduledFor = n.getDateValue(); },
|
|
5810
|
-
"selectionReason": n => { sendSmsRequest.selectionReason = n.getEnumValue(SendSmsRequest_selectionReasonObject); },
|
|
5811
4889
|
"smsEventId": n => { sendSmsRequest.smsEventId = n.getStringValue(); },
|
|
5812
4890
|
"sourceId": n => { sendSmsRequest.sourceId = n.getStringValue(); },
|
|
5813
4891
|
"text": n => { sendSmsRequest.text = n.getStringValue(); },
|
|
@@ -5843,12 +4921,10 @@ export function deserializeIntoSmsEventTableRow(smsEventTableRow = {}) {
|
|
|
5843
4921
|
"fromPhoneNumberId": n => { smsEventTableRow.fromPhoneNumberId = n.getStringValue(); },
|
|
5844
4922
|
"id": n => { smsEventTableRow.id = n.getStringValue(); },
|
|
5845
4923
|
"isAutomated": n => { smsEventTableRow.isAutomated = n.getBooleanValue(); },
|
|
5846
|
-
"isWarmup": n => { smsEventTableRow.isWarmup = n.getBooleanValue(); },
|
|
5847
4924
|
"leadId": n => { smsEventTableRow.leadId = n.getStringValue(); },
|
|
5848
4925
|
"leadName": n => { smsEventTableRow.leadName = n.getStringValue(); },
|
|
5849
4926
|
"outboundPhoneNumberId": n => { smsEventTableRow.outboundPhoneNumberId = n.getStringValue(); },
|
|
5850
4927
|
"outboundSource": n => { smsEventTableRow.outboundSource = n.getEnumValue(SmsEventTableRow_outboundSourceObject); },
|
|
5851
|
-
"providerMessageId": n => { smsEventTableRow.providerMessageId = n.getStringValue(); },
|
|
5852
4928
|
"queuedAt": n => { smsEventTableRow.queuedAt = n.getDateValue(); },
|
|
5853
4929
|
"receivedAt": n => { smsEventTableRow.receivedAt = n.getDateValue(); },
|
|
5854
4930
|
"scheduledFor": n => { smsEventTableRow.scheduledFor = n.getDateValue(); },
|
|
@@ -5858,8 +4934,6 @@ export function deserializeIntoSmsEventTableRow(smsEventTableRow = {}) {
|
|
|
5858
4934
|
"sentAt": n => { smsEventTableRow.sentAt = n.getDateValue(); },
|
|
5859
4935
|
"status": n => { smsEventTableRow.status = n.getEnumValue(SmsEventTableRow_statusObject); },
|
|
5860
4936
|
"statusReason": n => { smsEventTableRow.statusReason = n.getStringValue(); },
|
|
5861
|
-
"telnyxId": n => { smsEventTableRow.telnyxId = n.getStringValue(); },
|
|
5862
|
-
"tenDlcCampaignId": n => { smsEventTableRow.tenDlcCampaignId = n.getStringValue(); },
|
|
5863
4937
|
"text": n => { smsEventTableRow.text = n.getStringValue(); },
|
|
5864
4938
|
"toPhoneNumber": n => { smsEventTableRow.toPhoneNumber = n.getStringValue(); },
|
|
5865
4939
|
"trafficType": n => { smsEventTableRow.trafficType = n.getEnumValue(SmsEventTableRow_trafficTypeObject); },
|
|
@@ -5892,12 +4966,10 @@ export function deserializeIntoSmsResponse(smsResponse = {}) {
|
|
|
5892
4966
|
"fromPhoneNumber": n => { smsResponse.fromPhoneNumber = n.getStringValue(); },
|
|
5893
4967
|
"fromPhoneNumberId": n => { smsResponse.fromPhoneNumberId = n.getStringValue(); },
|
|
5894
4968
|
"id": n => { smsResponse.id = n.getStringValue(); },
|
|
5895
|
-
"isWarmup": n => { smsResponse.isWarmup = n.getBooleanValue(); },
|
|
5896
4969
|
"leadId": n => { smsResponse.leadId = n.getStringValue(); },
|
|
5897
4970
|
"modifiedAt": n => { smsResponse.modifiedAt = n.getDateValue(); },
|
|
5898
4971
|
"nextRetryAt": n => { smsResponse.nextRetryAt = n.getDateValue(); },
|
|
5899
4972
|
"outboundPhoneNumberId": n => { smsResponse.outboundPhoneNumberId = n.getStringValue(); },
|
|
5900
|
-
"providerMessageId": n => { smsResponse.providerMessageId = n.getStringValue(); },
|
|
5901
4973
|
"queuedAt": n => { smsResponse.queuedAt = n.getDateValue(); },
|
|
5902
4974
|
"receivedAt": n => { smsResponse.receivedAt = n.getDateValue(); },
|
|
5903
4975
|
"retryCount": n => { smsResponse.retryCount = n.getNumberValue(); },
|
|
@@ -5909,34 +4981,12 @@ export function deserializeIntoSmsResponse(smsResponse = {}) {
|
|
|
5909
4981
|
"sourceId": n => { smsResponse.sourceId = n.getStringValue(); },
|
|
5910
4982
|
"status": n => { smsResponse.status = n.getEnumValue(SmsResponse_statusObject); },
|
|
5911
4983
|
"statusReason": n => { smsResponse.statusReason = n.getStringValue(); },
|
|
5912
|
-
"telnyxId": n => { smsResponse.telnyxId = n.getStringValue(); },
|
|
5913
|
-
"tenDlcCampaignId": n => { smsResponse.tenDlcCampaignId = n.getStringValue(); },
|
|
5914
4984
|
"text": n => { smsResponse.text = n.getStringValue(); },
|
|
5915
4985
|
"trafficType": n => { smsResponse.trafficType = n.getEnumValue(SmsResponse_trafficTypeObject); },
|
|
5916
4986
|
"undeliverableAt": n => { smsResponse.undeliverableAt = n.getDateValue(); },
|
|
5917
4987
|
"wasManuallyOverridden": n => { smsResponse.wasManuallyOverridden = n.getBooleanValue(); },
|
|
5918
4988
|
};
|
|
5919
4989
|
}
|
|
5920
|
-
/**
|
|
5921
|
-
* The deserialization information for the current model
|
|
5922
|
-
* @param SmsWarmupActionResponse The instance to deserialize into.
|
|
5923
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
5924
|
-
*/
|
|
5925
|
-
// @ts-ignore
|
|
5926
|
-
export function deserializeIntoSmsWarmupActionResponse(smsWarmupActionResponse = {}) {
|
|
5927
|
-
return {
|
|
5928
|
-
"actionType": n => { smsWarmupActionResponse.actionType = n.getEnumValue(SmsWarmupActionTypeObject); },
|
|
5929
|
-
"body": n => { smsWarmupActionResponse.body = n.getStringValue(); },
|
|
5930
|
-
"conversationId": n => { smsWarmupActionResponse.conversationId = n.getStringValue(); },
|
|
5931
|
-
"executedAt": n => { smsWarmupActionResponse.executedAt = n.getDateValue(); },
|
|
5932
|
-
"failureReason": n => { smsWarmupActionResponse.failureReason = n.getStringValue(); },
|
|
5933
|
-
"fromPhoneNumber": n => { smsWarmupActionResponse.fromPhoneNumber = n.getStringValue(); },
|
|
5934
|
-
"id": n => { smsWarmupActionResponse.id = n.getStringValue(); },
|
|
5935
|
-
"scheduledAt": n => { smsWarmupActionResponse.scheduledAt = n.getDateValue(); },
|
|
5936
|
-
"status": n => { smsWarmupActionResponse.status = n.getEnumValue(SmsWarmupActionStatusObject); },
|
|
5937
|
-
"toPhoneNumber": n => { smsWarmupActionResponse.toPhoneNumber = n.getStringValue(); },
|
|
5938
|
-
};
|
|
5939
|
-
}
|
|
5940
4990
|
/**
|
|
5941
4991
|
* The deserialization information for the current model
|
|
5942
4992
|
* @param SmsWarmupStatusResponse The instance to deserialize into.
|
|
@@ -5945,32 +4995,10 @@ export function deserializeIntoSmsWarmupActionResponse(smsWarmupActionResponse =
|
|
|
5945
4995
|
// @ts-ignore
|
|
5946
4996
|
export function deserializeIntoSmsWarmupStatusResponse(smsWarmupStatusResponse = {}) {
|
|
5947
4997
|
return {
|
|
5948
|
-
"blockReason": n => { smsWarmupStatusResponse.blockReason = n.getStringValue(); },
|
|
5949
|
-
"canPause": n => { smsWarmupStatusResponse.canPause = n.getBooleanValue(); },
|
|
5950
|
-
"canResume": n => { smsWarmupStatusResponse.canResume = n.getBooleanValue(); },
|
|
5951
|
-
"carrierRejectionCount": n => { smsWarmupStatusResponse.carrierRejectionCount = n.getNumberValue(); },
|
|
5952
|
-
"completedAt": n => { smsWarmupStatusResponse.completedAt = n.getDateValue(); },
|
|
5953
|
-
"deliveredCount": n => { smsWarmupStatusResponse.deliveredCount = n.getNumberValue(); },
|
|
5954
|
-
"deliverySuccessRate": n => { smsWarmupStatusResponse.deliverySuccessRate = n.getNumberValue(); },
|
|
5955
|
-
"failureCount": n => { smsWarmupStatusResponse.failureCount = n.getNumberValue(); },
|
|
5956
|
-
"globalWarmupEnabled": n => { smsWarmupStatusResponse.globalWarmupEnabled = n.getBooleanValue(); },
|
|
5957
4998
|
"healthScore": n => { smsWarmupStatusResponse.healthScore = n.getNumberValue(); },
|
|
5958
|
-
"isApprovedTestDestination": n => { smsWarmupStatusResponse.isApprovedTestDestination = n.getBooleanValue(); },
|
|
5959
|
-
"isInternalPool": n => { smsWarmupStatusResponse.isInternalPool = n.getBooleanValue(); },
|
|
5960
|
-
"isMessagingProgramApproved": n => { smsWarmupStatusResponse.isMessagingProgramApproved = n.getBooleanValue(); },
|
|
5961
|
-
"lastHealthSnapshotAt": n => { smsWarmupStatusResponse.lastHealthSnapshotAt = n.getDateValue(); },
|
|
5962
|
-
"lastSuccessfulMessageAt": n => { smsWarmupStatusResponse.lastSuccessfulMessageAt = n.getDateValue(); },
|
|
5963
|
-
"nextScheduledActionAt": n => { smsWarmupStatusResponse.nextScheduledActionAt = n.getDateValue(); },
|
|
5964
|
-
"optOutSignalCount": n => { smsWarmupStatusResponse.optOutSignalCount = n.getNumberValue(); },
|
|
5965
|
-
"pauseReason": n => { smsWarmupStatusResponse.pauseReason = n.getStringValue(); },
|
|
5966
4999
|
"phoneNumber": n => { smsWarmupStatusResponse.phoneNumber = n.getStringValue(); },
|
|
5967
5000
|
"phoneNumberId": n => { smsWarmupStatusResponse.phoneNumberId = n.getStringValue(); },
|
|
5968
5001
|
"progressPercent": n => { smsWarmupStatusResponse.progressPercent = n.getNumberValue(); },
|
|
5969
|
-
"receivedCount": n => { smsWarmupStatusResponse.receivedCount = n.getNumberValue(); },
|
|
5970
|
-
"recentActions": n => { smsWarmupStatusResponse.recentActions = n.getCollectionOfObjectValues(createSmsWarmupActionResponseFromDiscriminatorValue); },
|
|
5971
|
-
"sentCount": n => { smsWarmupStatusResponse.sentCount = n.getNumberValue(); },
|
|
5972
|
-
"spamSignalCount": n => { smsWarmupStatusResponse.spamSignalCount = n.getNumberValue(); },
|
|
5973
|
-
"startedAt": n => { smsWarmupStatusResponse.startedAt = n.getDateValue(); },
|
|
5974
5002
|
"status": n => { smsWarmupStatusResponse.status = n.getEnumValue(SmsWarmupHealthStateObject); },
|
|
5975
5003
|
"uiState": n => { smsWarmupStatusResponse.uiState = n.getObjectValue(createSmsWarmupUiStateFromDiscriminatorValue); },
|
|
5976
5004
|
"warmupEnabled": n => { smsWarmupStatusResponse.warmupEnabled = n.getBooleanValue(); },
|
|
@@ -6011,12 +5039,8 @@ export function deserializeIntoSourceMetricsResponse(sourceMetricsResponse = {})
|
|
|
6011
5039
|
// @ts-ignore
|
|
6012
5040
|
export function deserializeIntoSourceRequest(sourceRequest = {}) {
|
|
6013
5041
|
return {
|
|
6014
|
-
"adminEnablementOverride": n => { sourceRequest.adminEnablementOverride = n.getObjectValue(createSourceRequest_adminEnablementOverrideFromDiscriminatorValue); },
|
|
6015
5042
|
"allowedProducts": n => { sourceRequest.allowedProducts = n.getCollectionOfPrimitiveValues("string"); },
|
|
6016
5043
|
"allowedStates": n => { sourceRequest.allowedStates = n.getCollectionOfPrimitiveValues("string"); },
|
|
6017
|
-
"businessId": n => { sourceRequest.businessId = n.getStringValue(); },
|
|
6018
|
-
"complianceApproved": n => { sourceRequest.complianceApproved = n.getBooleanValue(); },
|
|
6019
|
-
"complianceNotes": n => { sourceRequest.complianceNotes = n.getStringValue(); },
|
|
6020
5044
|
"costPerLead": n => { sourceRequest.costPerLead = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
6021
5045
|
"defaultTagIds": n => { sourceRequest.defaultTagIds = n.getCollectionOfPrimitiveValues("string"); },
|
|
6022
5046
|
"defaultTagNames": n => { sourceRequest.defaultTagNames = n.getCollectionOfPrimitiveValues("string"); },
|
|
@@ -6028,17 +5052,6 @@ export function deserializeIntoSourceRequest(sourceRequest = {}) {
|
|
|
6028
5052
|
"requiresTrustedForm": n => { sourceRequest.requiresTrustedForm = n.getBooleanValue(); },
|
|
6029
5053
|
};
|
|
6030
5054
|
}
|
|
6031
|
-
/**
|
|
6032
|
-
* The deserialization information for the current model
|
|
6033
|
-
* @param SourceRequest_adminEnablementOverride The instance to deserialize into.
|
|
6034
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
6035
|
-
*/
|
|
6036
|
-
// @ts-ignore
|
|
6037
|
-
export function deserializeIntoSourceRequest_adminEnablementOverride(sourceRequest_adminEnablementOverride = {}) {
|
|
6038
|
-
return {
|
|
6039
|
-
...deserializeIntoAdminEnablementOverride(sourceRequest_adminEnablementOverride),
|
|
6040
|
-
};
|
|
6041
|
-
}
|
|
6042
5055
|
/**
|
|
6043
5056
|
* The deserialization information for the current model
|
|
6044
5057
|
* @param SourceResponse The instance to deserialize into.
|
|
@@ -6047,13 +5060,11 @@ export function deserializeIntoSourceRequest_adminEnablementOverride(sourceReque
|
|
|
6047
5060
|
// @ts-ignore
|
|
6048
5061
|
export function deserializeIntoSourceResponse(sourceResponse = {}) {
|
|
6049
5062
|
return {
|
|
6050
|
-
"adminEnablementOverride": n => { sourceResponse.adminEnablementOverride = n.getObjectValue(createSourceResponse_adminEnablementOverrideFromDiscriminatorValue); },
|
|
6051
5063
|
"allowedProducts": n => { sourceResponse.allowedProducts = n.getCollectionOfPrimitiveValues("string"); },
|
|
6052
5064
|
"allowedStates": n => { sourceResponse.allowedStates = n.getCollectionOfPrimitiveValues("string"); },
|
|
6053
5065
|
"apiKeyPreview": n => { sourceResponse.apiKeyPreview = n.getStringValue(); },
|
|
6054
5066
|
"business": n => { sourceResponse.business = n.getObjectValue(createSourceResponse_businessFromDiscriminatorValue); },
|
|
6055
5067
|
"complianceApproved": n => { sourceResponse.complianceApproved = n.getBooleanValue(); },
|
|
6056
|
-
"complianceNotes": n => { sourceResponse.complianceNotes = n.getStringValue(); },
|
|
6057
5068
|
"costPerLead": n => { sourceResponse.costPerLead = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
6058
5069
|
"createdAt": n => { sourceResponse.createdAt = n.getDateValue(); },
|
|
6059
5070
|
"createdByUser": n => { sourceResponse.createdByUser = n.getObjectValue(createSourceResponse_createdByUserFromDiscriminatorValue); },
|
|
@@ -6071,17 +5082,6 @@ export function deserializeIntoSourceResponse(sourceResponse = {}) {
|
|
|
6071
5082
|
"user": n => { sourceResponse.user = n.getObjectValue(createSourceResponse_userFromDiscriminatorValue); },
|
|
6072
5083
|
};
|
|
6073
5084
|
}
|
|
6074
|
-
/**
|
|
6075
|
-
* The deserialization information for the current model
|
|
6076
|
-
* @param SourceResponse_adminEnablementOverride The instance to deserialize into.
|
|
6077
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
6078
|
-
*/
|
|
6079
|
-
// @ts-ignore
|
|
6080
|
-
export function deserializeIntoSourceResponse_adminEnablementOverride(sourceResponse_adminEnablementOverride = {}) {
|
|
6081
|
-
return {
|
|
6082
|
-
...deserializeIntoAdminEnablementOverride(sourceResponse_adminEnablementOverride),
|
|
6083
|
-
};
|
|
6084
|
-
}
|
|
6085
5085
|
/**
|
|
6086
5086
|
* The deserialization information for the current model
|
|
6087
5087
|
* @param SourceResponse_business The instance to deserialize into.
|
|
@@ -6134,7 +5134,6 @@ export function deserializeIntoSourceResponse_user(sourceResponse_user = {}) {
|
|
|
6134
5134
|
// @ts-ignore
|
|
6135
5135
|
export function deserializeIntoSourceTableRow(sourceTableRow = {}) {
|
|
6136
5136
|
return {
|
|
6137
|
-
"adminEnablementOverride": n => { sourceTableRow.adminEnablementOverride = n.getObjectValue(createSourceTableRow_adminEnablementOverrideFromDiscriminatorValue); },
|
|
6138
5137
|
"allowedProducts": n => { sourceTableRow.allowedProducts = n.getCollectionOfPrimitiveValues("string"); },
|
|
6139
5138
|
"allowedStates": n => { sourceTableRow.allowedStates = n.getCollectionOfPrimitiveValues("string"); },
|
|
6140
5139
|
"apiKeyLastUsedAt": n => { sourceTableRow.apiKeyLastUsedAt = n.getDateValue(); },
|
|
@@ -6160,17 +5159,6 @@ export function deserializeIntoSourceTableRow(sourceTableRow = {}) {
|
|
|
6160
5159
|
"user": n => { sourceTableRow.user = n.getObjectValue(createSourceTableRow_userFromDiscriminatorValue); },
|
|
6161
5160
|
};
|
|
6162
5161
|
}
|
|
6163
|
-
/**
|
|
6164
|
-
* The deserialization information for the current model
|
|
6165
|
-
* @param SourceTableRow_adminEnablementOverride The instance to deserialize into.
|
|
6166
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
6167
|
-
*/
|
|
6168
|
-
// @ts-ignore
|
|
6169
|
-
export function deserializeIntoSourceTableRow_adminEnablementOverride(sourceTableRow_adminEnablementOverride = {}) {
|
|
6170
|
-
return {
|
|
6171
|
-
...deserializeIntoAdminEnablementOverride(sourceTableRow_adminEnablementOverride),
|
|
6172
|
-
};
|
|
6173
|
-
}
|
|
6174
5162
|
/**
|
|
6175
5163
|
* The deserialization information for the current model
|
|
6176
5164
|
* @param SourceTableRow_business The instance to deserialize into.
|
|
@@ -6259,7 +5247,6 @@ export function deserializeIntoStripePaymentMethodResponse(stripePaymentMethodRe
|
|
|
6259
5247
|
// @ts-ignore
|
|
6260
5248
|
export function deserializeIntoSuppressionCheckResult(suppressionCheckResult = {}) {
|
|
6261
5249
|
return {
|
|
6262
|
-
"adminReason": n => { suppressionCheckResult.adminReason = n.getStringValue(); },
|
|
6263
5250
|
"allowed": n => { suppressionCheckResult.allowed = n.getBooleanValue(); },
|
|
6264
5251
|
"businessId": n => { suppressionCheckResult.businessId = n.getStringValue(); },
|
|
6265
5252
|
"channel": n => { suppressionCheckResult.channel = n.getStringValue(); },
|
|
@@ -6282,11 +5269,9 @@ export function deserializeIntoSuppressionEntryAudit(suppressionEntryAudit = {})
|
|
|
6282
5269
|
return {
|
|
6283
5270
|
"actorId": n => { suppressionEntryAudit.actorId = n.getStringValue(); },
|
|
6284
5271
|
"id": n => { suppressionEntryAudit.id = n.getStringValue(); },
|
|
6285
|
-
"providerEventId": n => { suppressionEntryAudit.providerEventId = n.getStringValue(); },
|
|
6286
5272
|
"reason": n => { suppressionEntryAudit.reason = n.getStringValue(); },
|
|
6287
5273
|
"safeMetadata": n => { suppressionEntryAudit.safeMetadata = n.getObjectValue(createSuppressionEntryAudit_safeMetadataFromDiscriminatorValue); },
|
|
6288
5274
|
"source": n => { suppressionEntryAudit.source = n.getStringValue(); },
|
|
6289
|
-
"sourceEventId": n => { suppressionEntryAudit.sourceEventId = n.getStringValue(); },
|
|
6290
5275
|
"status": n => { suppressionEntryAudit.status = n.getStringValue(); },
|
|
6291
5276
|
"timestamp": n => { suppressionEntryAudit.timestamp = n.getDateValue(); },
|
|
6292
5277
|
};
|
|
@@ -6308,29 +5293,14 @@ export function deserializeIntoSuppressionEntryAudit_safeMetadata(suppressionEnt
|
|
|
6308
5293
|
// @ts-ignore
|
|
6309
5294
|
export function deserializeIntoSuppressionEntryRequest(suppressionEntryRequest = {}) {
|
|
6310
5295
|
return {
|
|
6311
|
-
"actorId": n => { suppressionEntryRequest.actorId = n.getStringValue(); },
|
|
6312
5296
|
"businessId": n => { suppressionEntryRequest.businessId = n.getStringValue(); },
|
|
6313
5297
|
"channel": n => { suppressionEntryRequest.channel = n.getStringValue(); },
|
|
6314
5298
|
"email": n => { suppressionEntryRequest.email = n.getStringValue(); },
|
|
6315
5299
|
"phoneNumber": n => { suppressionEntryRequest.phoneNumber = n.getStringValue(); },
|
|
6316
|
-
"providerEventId": n => { suppressionEntryRequest.providerEventId = n.getStringValue(); },
|
|
6317
5300
|
"reason": n => { suppressionEntryRequest.reason = n.getStringValue(); },
|
|
6318
5301
|
"recipientIdentifier": n => { suppressionEntryRequest.recipientIdentifier = n.getStringValue(); },
|
|
6319
|
-
"safeMetadata": n => { suppressionEntryRequest.safeMetadata = n.getObjectValue(createSuppressionEntryRequest_safeMetadataFromDiscriminatorValue); },
|
|
6320
|
-
"source": n => { suppressionEntryRequest.source = n.getStringValue(); },
|
|
6321
|
-
"sourceEventId": n => { suppressionEntryRequest.sourceEventId = n.getStringValue(); },
|
|
6322
|
-
"timestamp": n => { suppressionEntryRequest.timestamp = n.getDateValue(); },
|
|
6323
5302
|
};
|
|
6324
5303
|
}
|
|
6325
|
-
/**
|
|
6326
|
-
* The deserialization information for the current model
|
|
6327
|
-
* @param SuppressionEntryRequest_safeMetadata The instance to deserialize into.
|
|
6328
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
6329
|
-
*/
|
|
6330
|
-
// @ts-ignore
|
|
6331
|
-
export function deserializeIntoSuppressionEntryRequest_safeMetadata(suppressionEntryRequest_safeMetadata = {}) {
|
|
6332
|
-
return {};
|
|
6333
|
-
}
|
|
6334
5304
|
/**
|
|
6335
5305
|
* The deserialization information for the current model
|
|
6336
5306
|
* @param SuppressionEntryResponse The instance to deserialize into.
|
|
@@ -6345,12 +5315,10 @@ export function deserializeIntoSuppressionEntryResponse(suppressionEntryResponse
|
|
|
6345
5315
|
"id": n => { suppressionEntryResponse.id = n.getStringValue(); },
|
|
6346
5316
|
"normalizedEmail": n => { suppressionEntryResponse.normalizedEmail = n.getStringValue(); },
|
|
6347
5317
|
"normalizedPhoneNumber": n => { suppressionEntryResponse.normalizedPhoneNumber = n.getStringValue(); },
|
|
6348
|
-
"providerEventId": n => { suppressionEntryResponse.providerEventId = n.getStringValue(); },
|
|
6349
5318
|
"reason": n => { suppressionEntryResponse.reason = n.getStringValue(); },
|
|
6350
5319
|
"recipientIdentifier": n => { suppressionEntryResponse.recipientIdentifier = n.getStringValue(); },
|
|
6351
5320
|
"releasedAt": n => { suppressionEntryResponse.releasedAt = n.getDateValue(); },
|
|
6352
5321
|
"source": n => { suppressionEntryResponse.source = n.getStringValue(); },
|
|
6353
|
-
"sourceEventId": n => { suppressionEntryResponse.sourceEventId = n.getStringValue(); },
|
|
6354
5322
|
"status": n => { suppressionEntryResponse.status = n.getStringValue(); },
|
|
6355
5323
|
"suppressedAt": n => { suppressionEntryResponse.suppressedAt = n.getDateValue(); },
|
|
6356
5324
|
};
|
|
@@ -6470,24 +5438,18 @@ export function deserializeIntoTenDlcApplicationDraft(tenDlcApplicationDraft = {
|
|
|
6470
5438
|
// @ts-ignore
|
|
6471
5439
|
export function deserializeIntoTransactionResponse(transactionResponse = {}) {
|
|
6472
5440
|
return {
|
|
6473
|
-
"accountId": n => { transactionResponse.accountId = n.getStringValue(); },
|
|
6474
5441
|
"accountName": n => { transactionResponse.accountName = n.getStringValue(); },
|
|
6475
5442
|
"amount": n => { transactionResponse.amount = n.getNumberValue(); },
|
|
6476
5443
|
"businessId": n => { transactionResponse.businessId = n.getStringValue(); },
|
|
6477
5444
|
"businessName": n => { transactionResponse.businessName = n.getStringValue(); },
|
|
6478
|
-
"correlationId": n => { transactionResponse.correlationId = n.getStringValue(); },
|
|
6479
5445
|
"createdAt": n => { transactionResponse.createdAt = n.getDateValue(); },
|
|
6480
|
-
"createdBy": n => { transactionResponse.createdBy = n.getStringValue(); },
|
|
6481
5446
|
"description": n => { transactionResponse.description = n.getStringValue(); },
|
|
6482
5447
|
"gatewayFeeAmount": n => { transactionResponse.gatewayFeeAmount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
6483
|
-
"gatewayId": n => { transactionResponse.gatewayId = n.getStringValue(); },
|
|
6484
5448
|
"gatewayStatus": n => { transactionResponse.gatewayStatus = n.getStringValue(); },
|
|
6485
5449
|
"id": n => { transactionResponse.id = n.getStringValue(); },
|
|
6486
5450
|
"leadId": n => { transactionResponse.leadId = n.getStringValue(); },
|
|
6487
5451
|
"leadName": n => { transactionResponse.leadName = n.getStringValue(); },
|
|
6488
|
-
"metadata": n => { transactionResponse.metadata = n.getObjectValue(createTransactionResponse_metadataFromDiscriminatorValue); },
|
|
6489
5452
|
"modifiedAt": n => { transactionResponse.modifiedAt = n.getDateValue(); },
|
|
6490
|
-
"modifiedBy": n => { transactionResponse.modifiedBy = n.getStringValue(); },
|
|
6491
5453
|
"netAmount": n => { transactionResponse.netAmount = n.getNumberValue(); },
|
|
6492
5454
|
"notes": n => { transactionResponse.notes = n.getStringValue(); },
|
|
6493
5455
|
"paymentMethodDisplay": n => { transactionResponse.paymentMethodDisplay = n.getStringValue(); },
|
|
@@ -6496,15 +5458,6 @@ export function deserializeIntoTransactionResponse(transactionResponse = {}) {
|
|
|
6496
5458
|
"transactionType": n => { transactionResponse.transactionType = n.getEnumValue(TransactionTypeObject); },
|
|
6497
5459
|
};
|
|
6498
5460
|
}
|
|
6499
|
-
/**
|
|
6500
|
-
* The deserialization information for the current model
|
|
6501
|
-
* @param TransactionResponse_metadata The instance to deserialize into.
|
|
6502
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
6503
|
-
*/
|
|
6504
|
-
// @ts-ignore
|
|
6505
|
-
export function deserializeIntoTransactionResponse_metadata(transactionResponse_metadata = {}) {
|
|
6506
|
-
return {};
|
|
6507
|
-
}
|
|
6508
5461
|
/**
|
|
6509
5462
|
* The deserialization information for the current model
|
|
6510
5463
|
* @param TransactionTableRow The instance to deserialize into.
|
|
@@ -6513,13 +5466,11 @@ export function deserializeIntoTransactionResponse_metadata(transactionResponse_
|
|
|
6513
5466
|
// @ts-ignore
|
|
6514
5467
|
export function deserializeIntoTransactionTableRow(transactionTableRow = {}) {
|
|
6515
5468
|
return {
|
|
6516
|
-
"accountId": n => { transactionTableRow.accountId = n.getStringValue(); },
|
|
6517
5469
|
"accountName": n => { transactionTableRow.accountName = n.getStringValue(); },
|
|
6518
5470
|
"amount": n => { transactionTableRow.amount = n.getNumberValue(); },
|
|
6519
5471
|
"businessId": n => { transactionTableRow.businessId = n.getStringValue(); },
|
|
6520
5472
|
"businessName": n => { transactionTableRow.businessName = n.getStringValue(); },
|
|
6521
5473
|
"createdAt": n => { transactionTableRow.createdAt = n.getDateValue(); },
|
|
6522
|
-
"createdBy": n => { transactionTableRow.createdBy = n.getStringValue(); },
|
|
6523
5474
|
"description": n => { transactionTableRow.description = n.getStringValue(); },
|
|
6524
5475
|
"id": n => { transactionTableRow.id = n.getStringValue(); },
|
|
6525
5476
|
"leadId": n => { transactionTableRow.leadId = n.getStringValue(); },
|
|
@@ -6552,7 +5503,6 @@ export function deserializeIntoTrustedFormCertificate(trustedFormCertificate = {
|
|
|
6552
5503
|
// @ts-ignore
|
|
6553
5504
|
export function deserializeIntoUsageCounterLine(usageCounterLine = {}) {
|
|
6554
5505
|
return {
|
|
6555
|
-
"adminOnly": n => { usageCounterLine.adminOnly = n.getBooleanValue(); },
|
|
6556
5506
|
"key": n => { usageCounterLine.key = n.getStringValue(); },
|
|
6557
5507
|
"label": n => { usageCounterLine.label = n.getStringValue(); },
|
|
6558
5508
|
"sortOrder": n => { usageCounterLine.sortOrder = n.getNumberValue(); },
|
|
@@ -6573,24 +5523,18 @@ export function deserializeIntoUsageLedgerTableRow(usageLedgerTableRow = {}) {
|
|
|
6573
5523
|
"businessId": n => { usageLedgerTableRow.businessId = n.getStringValue(); },
|
|
6574
5524
|
"businessName": n => { usageLedgerTableRow.businessName = n.getStringValue(); },
|
|
6575
5525
|
"channel": n => { usageLedgerTableRow.channel = n.getEnumValue(UsageChannelObject); },
|
|
6576
|
-
"correlationId": n => { usageLedgerTableRow.correlationId = n.getStringValue(); },
|
|
6577
5526
|
"createdAt": n => { usageLedgerTableRow.createdAt = n.getDateValue(); },
|
|
6578
5527
|
"customerChargeAmount": n => { usageLedgerTableRow.customerChargeAmount = n.getNumberValue(); },
|
|
6579
5528
|
"description": n => { usageLedgerTableRow.description = n.getStringValue(); },
|
|
6580
5529
|
"durationSeconds": n => { usageLedgerTableRow.durationSeconds = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
6581
5530
|
"id": n => { usageLedgerTableRow.id = n.getStringValue(); },
|
|
6582
|
-
"idempotencyKey": n => { usageLedgerTableRow.idempotencyKey = n.getStringValue(); },
|
|
6583
|
-
"internalCostAmount": n => { usageLedgerTableRow.internalCostAmount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
6584
5531
|
"isBillable": n => { usageLedgerTableRow.isBillable = n.getBooleanValue(); },
|
|
6585
|
-
"isInternal": n => { usageLedgerTableRow.isInternal = n.getBooleanValue(); },
|
|
6586
5532
|
"leadId": n => { usageLedgerTableRow.leadId = n.getStringValue(); },
|
|
6587
5533
|
"leadName": n => { usageLedgerTableRow.leadName = n.getStringValue(); },
|
|
6588
5534
|
"phoneNumber": n => { usageLedgerTableRow.phoneNumber = n.getStringValue(); },
|
|
6589
5535
|
"phoneNumberId": n => { usageLedgerTableRow.phoneNumberId = n.getStringValue(); },
|
|
6590
|
-
"providerCostAmount": n => { usageLedgerTableRow.providerCostAmount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
6591
5536
|
"quantity": n => { usageLedgerTableRow.quantity = n.getNumberValue(); },
|
|
6592
5537
|
"smsSegments": n => { usageLedgerTableRow.smsSegments = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
6593
|
-
"sourceEventId": n => { usageLedgerTableRow.sourceEventId = n.getStringValue(); },
|
|
6594
5538
|
"status": n => { usageLedgerTableRow.status = n.getEnumValue(UsageRecordStatusObject); },
|
|
6595
5539
|
"unitPrice": n => { usageLedgerTableRow.unitPrice = n.getNumberValue(); },
|
|
6596
5540
|
"userId": n => { usageLedgerTableRow.userId = n.getStringValue(); },
|
|
@@ -6608,8 +5552,6 @@ export function deserializeIntoUsageSummaryLine(usageSummaryLine = {}) {
|
|
|
6608
5552
|
"billableUnit": n => { usageSummaryLine.billableUnit = n.getEnumValue(BillableUnitObject); },
|
|
6609
5553
|
"channel": n => { usageSummaryLine.channel = n.getEnumValue(UsageChannelObject); },
|
|
6610
5554
|
"customerChargeAmount": n => { usageSummaryLine.customerChargeAmount = n.getNumberValue(); },
|
|
6611
|
-
"internalCostAmount": n => { usageSummaryLine.internalCostAmount = n.getNumberValue(); },
|
|
6612
|
-
"providerCostAmount": n => { usageSummaryLine.providerCostAmount = n.getNumberValue(); },
|
|
6613
5555
|
"quantity": n => { usageSummaryLine.quantity = n.getNumberValue(); },
|
|
6614
5556
|
"recordCount": n => { usageSummaryLine.recordCount = n.getNumberValue(); },
|
|
6615
5557
|
"status": n => { usageSummaryLine.status = n.getEnumValue(UsageRecordStatusObject); },
|
|
@@ -6624,17 +5566,13 @@ export function deserializeIntoUsageSummaryLine(usageSummaryLine = {}) {
|
|
|
6624
5566
|
export function deserializeIntoUsageSummaryResponse(usageSummaryResponse = {}) {
|
|
6625
5567
|
return {
|
|
6626
5568
|
"billableQuantityTotal": n => { usageSummaryResponse.billableQuantityTotal = n.getNumberValue(); },
|
|
6627
|
-
"billingBlockedCount": n => { usageSummaryResponse.billingBlockedCount = n.getNumberValue(); },
|
|
6628
5569
|
"counters": n => { usageSummaryResponse.counters = n.getCollectionOfObjectValues(createUsageCounterLineFromDiscriminatorValue); },
|
|
6629
5570
|
"customerChargeTotal": n => { usageSummaryResponse.customerChargeTotal = n.getNumberValue(); },
|
|
6630
5571
|
"failedCount": n => { usageSummaryResponse.failedCount = n.getNumberValue(); },
|
|
6631
|
-
"internalCostTotal": n => { usageSummaryResponse.internalCostTotal = n.getNumberValue(); },
|
|
6632
5572
|
"lines": n => { usageSummaryResponse.lines = n.getCollectionOfObjectValues(createUsageSummaryLineFromDiscriminatorValue); },
|
|
6633
|
-
"nonBillableInternalCount": n => { usageSummaryResponse.nonBillableInternalCount = n.getNumberValue(); },
|
|
6634
5573
|
"pendingInvoiceCount": n => { usageSummaryResponse.pendingInvoiceCount = n.getNumberValue(); },
|
|
6635
5574
|
"periodEnd": n => { usageSummaryResponse.periodEnd = n.getDateValue(); },
|
|
6636
5575
|
"periodStart": n => { usageSummaryResponse.periodStart = n.getDateValue(); },
|
|
6637
|
-
"providerCostTotal": n => { usageSummaryResponse.providerCostTotal = n.getNumberValue(); },
|
|
6638
5576
|
"usageRecordCount": n => { usageSummaryResponse.usageRecordCount = n.getNumberValue(); },
|
|
6639
5577
|
};
|
|
6640
5578
|
}
|
|
@@ -6822,7 +5760,6 @@ export function deserializeIntoUserResponse(userResponse = {}) {
|
|
|
6822
5760
|
"personalDataDeletionStatus": n => { userResponse.personalDataDeletionStatus = n.getStringValue(); },
|
|
6823
5761
|
"phone": n => { userResponse.phone = n.getStringValue(); },
|
|
6824
5762
|
"roles": n => { userResponse.roles = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
6825
|
-
"stripeInfo": n => { userResponse.stripeInfo = n.getObjectValue(createUserResponse_stripeInfoFromDiscriminatorValue); },
|
|
6826
5763
|
"subscriptionStatus": n => { userResponse.subscriptionStatus = n.getEnumValue(UserResponse_subscriptionStatusObject); },
|
|
6827
5764
|
};
|
|
6828
5765
|
}
|
|
@@ -6859,17 +5796,6 @@ export function deserializeIntoUserResponse_notificationPreferences(userResponse
|
|
|
6859
5796
|
...deserializeIntoUserNotificationPreferences(userResponse_notificationPreferences),
|
|
6860
5797
|
};
|
|
6861
5798
|
}
|
|
6862
|
-
/**
|
|
6863
|
-
* The deserialization information for the current model
|
|
6864
|
-
* @param UserResponse_stripeInfo The instance to deserialize into.
|
|
6865
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
6866
|
-
*/
|
|
6867
|
-
// @ts-ignore
|
|
6868
|
-
export function deserializeIntoUserResponse_stripeInfo(userResponse_stripeInfo = {}) {
|
|
6869
|
-
return {
|
|
6870
|
-
...deserializeIntoBusinessStripeInfo(userResponse_stripeInfo),
|
|
6871
|
-
};
|
|
6872
|
-
}
|
|
6873
5799
|
/**
|
|
6874
5800
|
* The deserialization information for the current model
|
|
6875
5801
|
* @param WalletResponse The instance to deserialize into.
|
|
@@ -6896,9 +5822,6 @@ export function deserializeIntoWalletResponse(walletResponse = {}) {
|
|
|
6896
5822
|
"originalTransactionId": n => { walletResponse.originalTransactionId = n.getStringValue(); },
|
|
6897
5823
|
"purchasedAt": n => { walletResponse.purchasedAt = n.getDateValue(); },
|
|
6898
5824
|
"sourceType": n => { walletResponse.sourceType = n.getEnumValue(WalletResponse_sourceTypeObject); },
|
|
6899
|
-
"stripeChargeId": n => { walletResponse.stripeChargeId = n.getStringValue(); },
|
|
6900
|
-
"stripeInvoiceId": n => { walletResponse.stripeInvoiceId = n.getStringValue(); },
|
|
6901
|
-
"stripePaymentIntentId": n => { walletResponse.stripePaymentIntentId = n.getStringValue(); },
|
|
6902
5825
|
};
|
|
6903
5826
|
}
|
|
6904
5827
|
/**
|
|
@@ -6959,23 +5882,6 @@ export function serializeActivationTimelineEvent(writer, activationTimelineEvent
|
|
|
6959
5882
|
writer.writeStringValue("type", activationTimelineEvent.type);
|
|
6960
5883
|
writer.writeAdditionalData(activationTimelineEvent.additionalData);
|
|
6961
5884
|
}
|
|
6962
|
-
/**
|
|
6963
|
-
* Serializes information the current object
|
|
6964
|
-
* @param AdminEnablementOverride The instance to serialize from.
|
|
6965
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
6966
|
-
* @param writer Serialization writer to use to serialize this model
|
|
6967
|
-
*/
|
|
6968
|
-
// @ts-ignore
|
|
6969
|
-
export function serializeAdminEnablementOverride(writer, adminEnablementOverride = {}, isSerializingDerivedType = false) {
|
|
6970
|
-
if (!adminEnablementOverride || isSerializingDerivedType) {
|
|
6971
|
-
return;
|
|
6972
|
-
}
|
|
6973
|
-
writer.writeBooleanValue("enabled", adminEnablementOverride.enabled);
|
|
6974
|
-
writer.writeStringValue("reason", adminEnablementOverride.reason);
|
|
6975
|
-
writer.writeDateValue("updatedAt", adminEnablementOverride.updatedAt);
|
|
6976
|
-
writer.writeStringValue("updatedByUserId", adminEnablementOverride.updatedByUserId);
|
|
6977
|
-
writer.writeAdditionalData(adminEnablementOverride.additionalData);
|
|
6978
|
-
}
|
|
6979
5885
|
/**
|
|
6980
5886
|
* Serializes information the current object
|
|
6981
5887
|
* @param AnalyticsComparison The instance to serialize from.
|
|
@@ -7089,15 +5995,11 @@ export function serializeAutomationActionRunRecord(writer, automationActionRunRe
|
|
|
7089
5995
|
writer.writeStringValue("actionType", automationActionRunRecord.actionType);
|
|
7090
5996
|
writer.writeStringValue("automationRunId", automationActionRunRecord.automationRunId);
|
|
7091
5997
|
writer.writeDateValue("completedAt", automationActionRunRecord.completedAt);
|
|
7092
|
-
writer.writeStringValue("connectionKey", automationActionRunRecord.connectionKey);
|
|
7093
|
-
writer.writeStringValue("error", automationActionRunRecord.errorEscaped);
|
|
7094
|
-
writer.writeStringValue("executionKey", automationActionRunRecord.executionKey);
|
|
7095
5998
|
writer.writeDateValue("failedAt", automationActionRunRecord.failedAt);
|
|
7096
5999
|
writer.writeStringValue("failureCode", automationActionRunRecord.failureCode);
|
|
7097
6000
|
writer.writeStringValue("id", automationActionRunRecord.id);
|
|
7098
6001
|
writer.writeDateValue("nextRetryAt", automationActionRunRecord.nextRetryAt);
|
|
7099
6002
|
writer.writeNumberValue("order", automationActionRunRecord.order);
|
|
7100
|
-
writer.writeStringValue("output", automationActionRunRecord.output);
|
|
7101
6003
|
writer.writeNumberValue("processingAttempts", automationActionRunRecord.processingAttempts);
|
|
7102
6004
|
writer.writeDateValue("scheduledAt", automationActionRunRecord.scheduledAt);
|
|
7103
6005
|
writer.writeDateValue("startedAt", automationActionRunRecord.startedAt);
|
|
@@ -7244,15 +6146,10 @@ export function serializeAutomationRequest(writer, automationRequest = {}, isSer
|
|
|
7244
6146
|
return;
|
|
7245
6147
|
}
|
|
7246
6148
|
writer.writeCollectionOfObjectValues("actions", automationRequest.actions, serializeAutomationAction);
|
|
7247
|
-
writer.writeObjectValue("adminEnablementOverride", automationRequest.adminEnablementOverride, serializeAutomationRequest_adminEnablementOverride);
|
|
7248
|
-
writer.writeStringValue("businessId", automationRequest.businessId);
|
|
7249
6149
|
writer.writeCollectionOfObjectValues("conditionGroups", automationRequest.conditionGroups, serializeAutomationConditionGroup);
|
|
7250
|
-
writer.writeStringValue("createdByUserId", automationRequest.createdByUserId);
|
|
7251
6150
|
writer.writeStringValue("description", automationRequest.description);
|
|
7252
6151
|
writer.writeBooleanValue("enabled", automationRequest.enabled);
|
|
7253
6152
|
writer.writeStringValue("id", automationRequest.id);
|
|
7254
|
-
writer.writeBooleanValue("isSystemManaged", automationRequest.isSystemManaged);
|
|
7255
|
-
writer.writeStringValue("managementLevel", automationRequest.managementLevel);
|
|
7256
6153
|
writer.writeStringValue("name", automationRequest.name);
|
|
7257
6154
|
writer.writeStringValue("scope", automationRequest.scope);
|
|
7258
6155
|
writer.writeCollectionOfObjectValues("triggers", automationRequest.triggers, serializeAutomationTrigger);
|
|
@@ -7260,19 +6157,6 @@ export function serializeAutomationRequest(writer, automationRequest = {}, isSer
|
|
|
7260
6157
|
writer.writeStringValue("visibility", automationRequest.visibility);
|
|
7261
6158
|
writer.writeAdditionalData(automationRequest.additionalData);
|
|
7262
6159
|
}
|
|
7263
|
-
/**
|
|
7264
|
-
* Serializes information the current object
|
|
7265
|
-
* @param AutomationRequest_adminEnablementOverride The instance to serialize from.
|
|
7266
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
7267
|
-
* @param writer Serialization writer to use to serialize this model
|
|
7268
|
-
*/
|
|
7269
|
-
// @ts-ignore
|
|
7270
|
-
export function serializeAutomationRequest_adminEnablementOverride(writer, automationRequest_adminEnablementOverride = {}, isSerializingDerivedType = false) {
|
|
7271
|
-
if (!automationRequest_adminEnablementOverride || isSerializingDerivedType) {
|
|
7272
|
-
return;
|
|
7273
|
-
}
|
|
7274
|
-
serializeAdminEnablementOverride(writer, automationRequest_adminEnablementOverride, isSerializingDerivedType);
|
|
7275
|
-
}
|
|
7276
6160
|
/**
|
|
7277
6161
|
* Serializes information the current object
|
|
7278
6162
|
* @param AutomationRequestSnapshot The instance to serialize from.
|
|
@@ -7311,7 +6195,6 @@ export function serializeAutomationResponse(writer, automationResponse = {}, isS
|
|
|
7311
6195
|
return;
|
|
7312
6196
|
}
|
|
7313
6197
|
writer.writeCollectionOfObjectValues("actions", automationResponse.actions, serializeAutomationAction);
|
|
7314
|
-
writer.writeObjectValue("adminEnablementOverride", automationResponse.adminEnablementOverride, serializeAutomationResponse_adminEnablementOverride);
|
|
7315
6198
|
writer.writeObjectValue("business", automationResponse.business, serializeAutomationResponse_business);
|
|
7316
6199
|
writer.writeStringValue("businessId", automationResponse.businessId);
|
|
7317
6200
|
writer.writeCollectionOfObjectValues("conditionGroups", automationResponse.conditionGroups, serializeAutomationConditionGroup);
|
|
@@ -7322,7 +6205,6 @@ export function serializeAutomationResponse(writer, automationResponse = {}, isS
|
|
|
7322
6205
|
writer.writeStringValue("id", automationResponse.id);
|
|
7323
6206
|
writer.writeBooleanValue("isSystemManaged", automationResponse.isSystemManaged);
|
|
7324
6207
|
writer.writeDateValue("lastRunAt", automationResponse.lastRunAt);
|
|
7325
|
-
writer.writeStringValue("lastRunError", automationResponse.lastRunError);
|
|
7326
6208
|
writer.writeStringValue("lastRunStatus", automationResponse.lastRunStatus);
|
|
7327
6209
|
writer.writeStringValue("managementLevel", automationResponse.managementLevel);
|
|
7328
6210
|
writer.writeDateValue("modifiedAt", automationResponse.modifiedAt);
|
|
@@ -7335,19 +6217,6 @@ export function serializeAutomationResponse(writer, automationResponse = {}, isS
|
|
|
7335
6217
|
writer.writeStringValue("visibility", automationResponse.visibility);
|
|
7336
6218
|
writer.writeAdditionalData(automationResponse.additionalData);
|
|
7337
6219
|
}
|
|
7338
|
-
/**
|
|
7339
|
-
* Serializes information the current object
|
|
7340
|
-
* @param AutomationResponse_adminEnablementOverride The instance to serialize from.
|
|
7341
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
7342
|
-
* @param writer Serialization writer to use to serialize this model
|
|
7343
|
-
*/
|
|
7344
|
-
// @ts-ignore
|
|
7345
|
-
export function serializeAutomationResponse_adminEnablementOverride(writer, automationResponse_adminEnablementOverride = {}, isSerializingDerivedType = false) {
|
|
7346
|
-
if (!automationResponse_adminEnablementOverride || isSerializingDerivedType) {
|
|
7347
|
-
return;
|
|
7348
|
-
}
|
|
7349
|
-
serializeAdminEnablementOverride(writer, automationResponse_adminEnablementOverride, isSerializingDerivedType);
|
|
7350
|
-
}
|
|
7351
6220
|
/**
|
|
7352
6221
|
* Serializes information the current object
|
|
7353
6222
|
* @param AutomationResponse_business The instance to serialize from.
|
|
@@ -7389,9 +6258,6 @@ export function serializeAutomationRunRecord(writer, automationRunRecord = {}, i
|
|
|
7389
6258
|
writer.writeStringValue("automationId", automationRunRecord.automationId);
|
|
7390
6259
|
writer.writeStringValue("businessId", automationRunRecord.businessId);
|
|
7391
6260
|
writer.writeDateValue("completedAt", automationRunRecord.completedAt);
|
|
7392
|
-
writer.writeObjectValue("contextSnapshot", automationRunRecord.contextSnapshot, serializeAutomationRunRecord_contextSnapshot);
|
|
7393
|
-
writer.writeStringValue("error", automationRunRecord.errorEscaped);
|
|
7394
|
-
writer.writeStringValue("executionKey", automationRunRecord.executionKey);
|
|
7395
6261
|
writer.writeStringValue("executionMode", automationRunRecord.executionMode);
|
|
7396
6262
|
writer.writeStringValue("failureCode", automationRunRecord.failureCode);
|
|
7397
6263
|
writer.writeStringValue("id", automationRunRecord.id);
|
|
@@ -7399,25 +6265,11 @@ export function serializeAutomationRunRecord(writer, automationRunRecord = {}, i
|
|
|
7399
6265
|
writer.writeStringValue("leadId", automationRunRecord.leadId);
|
|
7400
6266
|
writer.writeNumberValue("processingAttempts", automationRunRecord.processingAttempts);
|
|
7401
6267
|
writer.writeStringValue("skippedReason", automationRunRecord.skippedReason);
|
|
7402
|
-
writer.writeStringValue("sourceEventId", automationRunRecord.sourceEventId);
|
|
7403
6268
|
writer.writeDateValue("startedAt", automationRunRecord.startedAt);
|
|
7404
6269
|
writer.writeStringValue("status", automationRunRecord.status);
|
|
7405
6270
|
writer.writeStringValue("triggerType", automationRunRecord.triggerType);
|
|
7406
6271
|
writer.writeAdditionalData(automationRunRecord.additionalData);
|
|
7407
6272
|
}
|
|
7408
|
-
/**
|
|
7409
|
-
* Serializes information the current object
|
|
7410
|
-
* @param AutomationRunRecord_contextSnapshot The instance to serialize from.
|
|
7411
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
7412
|
-
* @param writer Serialization writer to use to serialize this model
|
|
7413
|
-
*/
|
|
7414
|
-
// @ts-ignore
|
|
7415
|
-
export function serializeAutomationRunRecord_contextSnapshot(writer, automationRunRecord_contextSnapshot = {}, isSerializingDerivedType = false) {
|
|
7416
|
-
if (!automationRunRecord_contextSnapshot || isSerializingDerivedType) {
|
|
7417
|
-
return;
|
|
7418
|
-
}
|
|
7419
|
-
writer.writeAdditionalData(automationRunRecord_contextSnapshot.additionalData);
|
|
7420
|
-
}
|
|
7421
6273
|
/**
|
|
7422
6274
|
* Serializes information the current object
|
|
7423
6275
|
* @param AutomationTableRow The instance to serialize from.
|
|
@@ -7430,7 +6282,6 @@ export function serializeAutomationTableRow(writer, automationTableRow = {}, isS
|
|
|
7430
6282
|
return;
|
|
7431
6283
|
}
|
|
7432
6284
|
writer.writeStringValue("actionSummary", automationTableRow.actionSummary);
|
|
7433
|
-
writer.writeObjectValue("adminEnablementOverride", automationTableRow.adminEnablementOverride, serializeAutomationTableRow_adminEnablementOverride);
|
|
7434
6285
|
writer.writeObjectValue("business", automationTableRow.business, serializeAutomationTableRow_business);
|
|
7435
6286
|
writer.writeStringValue("businessId", automationTableRow.businessId);
|
|
7436
6287
|
writer.writeStringValue("conditionSummary", automationTableRow.conditionSummary);
|
|
@@ -7441,7 +6292,6 @@ export function serializeAutomationTableRow(writer, automationTableRow = {}, isS
|
|
|
7441
6292
|
writer.writeStringValue("id", automationTableRow.id);
|
|
7442
6293
|
writer.writeBooleanValue("isSystemManaged", automationTableRow.isSystemManaged);
|
|
7443
6294
|
writer.writeDateValue("lastRunAt", automationTableRow.lastRunAt);
|
|
7444
|
-
writer.writeStringValue("lastRunError", automationTableRow.lastRunError);
|
|
7445
6295
|
writer.writeStringValue("lastRunStatus", automationTableRow.lastRunStatus);
|
|
7446
6296
|
writer.writeStringValue("managementLevel", automationTableRow.managementLevel);
|
|
7447
6297
|
writer.writeDateValue("modifiedAt", automationTableRow.modifiedAt);
|
|
@@ -7454,19 +6304,6 @@ export function serializeAutomationTableRow(writer, automationTableRow = {}, isS
|
|
|
7454
6304
|
writer.writeStringValue("visibility", automationTableRow.visibility);
|
|
7455
6305
|
writer.writeAdditionalData(automationTableRow.additionalData);
|
|
7456
6306
|
}
|
|
7457
|
-
/**
|
|
7458
|
-
* Serializes information the current object
|
|
7459
|
-
* @param AutomationTableRow_adminEnablementOverride The instance to serialize from.
|
|
7460
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
7461
|
-
* @param writer Serialization writer to use to serialize this model
|
|
7462
|
-
*/
|
|
7463
|
-
// @ts-ignore
|
|
7464
|
-
export function serializeAutomationTableRow_adminEnablementOverride(writer, automationTableRow_adminEnablementOverride = {}, isSerializingDerivedType = false) {
|
|
7465
|
-
if (!automationTableRow_adminEnablementOverride || isSerializingDerivedType) {
|
|
7466
|
-
return;
|
|
7467
|
-
}
|
|
7468
|
-
serializeAdminEnablementOverride(writer, automationTableRow_adminEnablementOverride, isSerializingDerivedType);
|
|
7469
|
-
}
|
|
7470
6307
|
/**
|
|
7471
6308
|
* Serializes information the current object
|
|
7472
6309
|
* @param AutomationTableRow_business The instance to serialize from.
|
|
@@ -7552,7 +6389,6 @@ export function serializeAutomationWorkflowActionResponse(writer, automationWork
|
|
|
7552
6389
|
}
|
|
7553
6390
|
writer.writeStringValue("actionType", automationWorkflowActionResponse.actionType);
|
|
7554
6391
|
writer.writeStringValue("actionTypeDisplay", automationWorkflowActionResponse.actionTypeDisplay);
|
|
7555
|
-
writer.writeStringValue("adminDiagnostics", automationWorkflowActionResponse.adminDiagnostics);
|
|
7556
6392
|
writer.writeDateValue("completedAt", automationWorkflowActionResponse.completedAt);
|
|
7557
6393
|
writer.writeDateValue("failedAt", automationWorkflowActionResponse.failedAt);
|
|
7558
6394
|
writer.writeStringValue("failureCode", automationWorkflowActionResponse.failureCode);
|
|
@@ -7583,7 +6419,6 @@ export function serializeAutomationWorkflowEventResponse(writer, automationWorkf
|
|
|
7583
6419
|
return;
|
|
7584
6420
|
}
|
|
7585
6421
|
writer.writeStringValue("actionId", automationWorkflowEventResponse.actionId);
|
|
7586
|
-
writer.writeStringValue("adminDiagnostics", automationWorkflowEventResponse.adminDiagnostics);
|
|
7587
6422
|
writer.writeStringValue("eventType", automationWorkflowEventResponse.eventType);
|
|
7588
6423
|
writer.writeStringValue("id", automationWorkflowEventResponse.id);
|
|
7589
6424
|
writer.writeDateValue("occurredAt", automationWorkflowEventResponse.occurredAt);
|
|
@@ -7611,15 +6446,12 @@ export function serializeAutomationWorkflowRunResponse(writer, automationWorkflo
|
|
|
7611
6446
|
writer.writeStringValue("businessId", automationWorkflowRunResponse.businessId);
|
|
7612
6447
|
writer.writeDateValue("cancelledAt", automationWorkflowRunResponse.cancelledAt);
|
|
7613
6448
|
writer.writeDateValue("completedAt", automationWorkflowRunResponse.completedAt);
|
|
7614
|
-
writer.writeStringValue("correlationId", automationWorkflowRunResponse.correlationId);
|
|
7615
6449
|
writer.writeStringValue("currentStepId", automationWorkflowRunResponse.currentStepId);
|
|
7616
6450
|
writer.writeStringValue("currentStepName", automationWorkflowRunResponse.currentStepName);
|
|
7617
6451
|
writer.writeObjectValue("currentStepOrder", automationWorkflowRunResponse.currentStepOrder);
|
|
7618
6452
|
writer.writeCollectionOfObjectValues("events", automationWorkflowRunResponse.events, serializeAutomationWorkflowEventResponse);
|
|
7619
|
-
writer.writeStringValue("executionKey", automationWorkflowRunResponse.executionKey);
|
|
7620
6453
|
writer.writeDateValue("failedAt", automationWorkflowRunResponse.failedAt);
|
|
7621
6454
|
writer.writeStringValue("id", automationWorkflowRunResponse.id);
|
|
7622
|
-
writer.writeStringValue("internalErrorDetails", automationWorkflowRunResponse.internalErrorDetails);
|
|
7623
6455
|
writer.writeStringValue("lastActionSummary", automationWorkflowRunResponse.lastActionSummary);
|
|
7624
6456
|
writer.writeStringValue("lastErrorCode", automationWorkflowRunResponse.lastErrorCode);
|
|
7625
6457
|
writer.writeStringValue("lastErrorMessage", automationWorkflowRunResponse.lastErrorMessage);
|
|
@@ -7631,7 +6463,6 @@ export function serializeAutomationWorkflowRunResponse(writer, automationWorkflo
|
|
|
7631
6463
|
writer.writeNumberValue("retryCount", automationWorkflowRunResponse.retryCount);
|
|
7632
6464
|
writer.writeStringValue("skipReasonCode", automationWorkflowRunResponse.skipReasonCode);
|
|
7633
6465
|
writer.writeStringValue("skipReasonDisplay", automationWorkflowRunResponse.skipReasonDisplay);
|
|
7634
|
-
writer.writeStringValue("sourceEventId", automationWorkflowRunResponse.sourceEventId);
|
|
7635
6466
|
writer.writeDateValue("startedAt", automationWorkflowRunResponse.startedAt);
|
|
7636
6467
|
writer.writeStringValue("status", automationWorkflowRunResponse.status);
|
|
7637
6468
|
writer.writeStringValue("statusDisplay", automationWorkflowRunResponse.statusDisplay);
|
|
@@ -7737,30 +6568,6 @@ export function serializeBusinessCompliancePolicy(writer, businessCompliancePoli
|
|
|
7737
6568
|
writer.writeBooleanValue("requireTrustedFormForAutomations", businessCompliancePolicy.requireTrustedFormForAutomations);
|
|
7738
6569
|
writer.writeAdditionalData(businessCompliancePolicy.additionalData);
|
|
7739
6570
|
}
|
|
7740
|
-
/**
|
|
7741
|
-
* Serializes information the current object
|
|
7742
|
-
* @param BusinessDunningInfo The instance to serialize from.
|
|
7743
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
7744
|
-
* @param writer Serialization writer to use to serialize this model
|
|
7745
|
-
*/
|
|
7746
|
-
// @ts-ignore
|
|
7747
|
-
export function serializeBusinessDunningInfo(writer, businessDunningInfo = {}, isSerializingDerivedType = false) {
|
|
7748
|
-
if (!businessDunningInfo || isSerializingDerivedType) {
|
|
7749
|
-
return;
|
|
7750
|
-
}
|
|
7751
|
-
writer.writeDateValue("finalCancellationAt", businessDunningInfo.finalCancellationAt);
|
|
7752
|
-
writer.writeDateValue("gracePeriodEndsAt", businessDunningInfo.gracePeriodEndsAt);
|
|
7753
|
-
writer.writeStringValue("lastFailedInvoiceId", businessDunningInfo.lastFailedInvoiceId);
|
|
7754
|
-
writer.writeStringValue("lastFailedInvoiceStatus", businessDunningInfo.lastFailedInvoiceStatus);
|
|
7755
|
-
writer.writeDateValue("lastUpdatedAt", businessDunningInfo.lastUpdatedAt);
|
|
7756
|
-
writer.writeDateValue("nextRetryAt", businessDunningInfo.nextRetryAt);
|
|
7757
|
-
writer.writeDateValue("outboundRestrictedAt", businessDunningInfo.outboundRestrictedAt);
|
|
7758
|
-
writer.writeDateValue("outboundSuspendedAt", businessDunningInfo.outboundSuspendedAt);
|
|
7759
|
-
writer.writeDateValue("paymentFailedAt", businessDunningInfo.paymentFailedAt);
|
|
7760
|
-
writer.writeNumberValue("retryAttemptCount", businessDunningInfo.retryAttemptCount);
|
|
7761
|
-
writer.writeStringValue("stage", businessDunningInfo.stage);
|
|
7762
|
-
writer.writeAdditionalData(businessDunningInfo.additionalData);
|
|
7763
|
-
}
|
|
7764
6571
|
/**
|
|
7765
6572
|
* Serializes information the current object
|
|
7766
6573
|
* @param BusinessInvitationRequest The instance to serialize from.
|
|
@@ -7850,15 +6657,12 @@ export function serializeBusinessRequest(writer, businessRequest = {}, isSeriali
|
|
|
7850
6657
|
if (!businessRequest || isSerializingDerivedType) {
|
|
7851
6658
|
return;
|
|
7852
6659
|
}
|
|
7853
|
-
writer.writeObjectValue("activation", businessRequest.activation, serializeBusinessRequest_activation);
|
|
7854
6660
|
writer.writeObjectValue("address", businessRequest.address, serializeBusinessRequest_address);
|
|
7855
|
-
writer.writeObjectValue("adminEnablementOverride", businessRequest.adminEnablementOverride, serializeBusinessRequest_adminEnablementOverride);
|
|
7856
6661
|
writer.writeObjectValue("autoRefillAmount", businessRequest.autoRefillAmount);
|
|
7857
6662
|
writer.writeBooleanValue("autoRefillEnabled", businessRequest.autoRefillEnabled);
|
|
7858
6663
|
writer.writeObjectValue("autoRefillTrigger", businessRequest.autoRefillTrigger);
|
|
7859
6664
|
writer.writeObjectValue("billingAddress", businessRequest.billingAddress, serializeBusinessRequest_billingAddress);
|
|
7860
6665
|
writer.writeStringValue("billingName", businessRequest.billingName);
|
|
7861
|
-
writer.writeEnumValue("billingPlan", businessRequest.billingPlan);
|
|
7862
6666
|
writer.writeObjectValue("compliancePolicy", businessRequest.compliancePolicy, serializeBusinessRequest_compliancePolicy);
|
|
7863
6667
|
writer.writeStringValue("description", businessRequest.description);
|
|
7864
6668
|
writer.writeStringValue("ein", businessRequest.ein);
|
|
@@ -7870,27 +6674,11 @@ export function serializeBusinessRequest(writer, businessRequest = {}, isSeriali
|
|
|
7870
6674
|
writer.writeStringValue("phone", businessRequest.phone);
|
|
7871
6675
|
writer.writeCollectionOfObjectValues("phones", businessRequest.phones, serializeIdNameValue);
|
|
7872
6676
|
writer.writeStringValue("secondaryName", businessRequest.secondaryName);
|
|
7873
|
-
writer.writeEnumValue("setupStep", businessRequest.setupStep);
|
|
7874
6677
|
writer.writeEnumValue("status", businessRequest.status);
|
|
7875
|
-
writer.writeObjectValue("stripeInfo", businessRequest.stripeInfo, serializeBusinessRequest_stripeInfo);
|
|
7876
|
-
writer.writeEnumValue("subscriptionStatus", businessRequest.subscriptionStatus);
|
|
7877
6678
|
writer.writeStringValue("vertical", businessRequest.vertical);
|
|
7878
6679
|
writer.writeStringValue("website", businessRequest.website);
|
|
7879
6680
|
writer.writeAdditionalData(businessRequest.additionalData);
|
|
7880
6681
|
}
|
|
7881
|
-
/**
|
|
7882
|
-
* Serializes information the current object
|
|
7883
|
-
* @param BusinessRequest_activation The instance to serialize from.
|
|
7884
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
7885
|
-
* @param writer Serialization writer to use to serialize this model
|
|
7886
|
-
*/
|
|
7887
|
-
// @ts-ignore
|
|
7888
|
-
export function serializeBusinessRequest_activation(writer, businessRequest_activation = {}, isSerializingDerivedType = false) {
|
|
7889
|
-
if (!businessRequest_activation || isSerializingDerivedType) {
|
|
7890
|
-
return;
|
|
7891
|
-
}
|
|
7892
|
-
serializeBusinessActivationState(writer, businessRequest_activation, isSerializingDerivedType);
|
|
7893
|
-
}
|
|
7894
6682
|
/**
|
|
7895
6683
|
* Serializes information the current object
|
|
7896
6684
|
* @param BusinessRequest_address The instance to serialize from.
|
|
@@ -7904,19 +6692,6 @@ export function serializeBusinessRequest_address(writer, businessRequest_address
|
|
|
7904
6692
|
}
|
|
7905
6693
|
serializeStreetAddress(writer, businessRequest_address, isSerializingDerivedType);
|
|
7906
6694
|
}
|
|
7907
|
-
/**
|
|
7908
|
-
* Serializes information the current object
|
|
7909
|
-
* @param BusinessRequest_adminEnablementOverride The instance to serialize from.
|
|
7910
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
7911
|
-
* @param writer Serialization writer to use to serialize this model
|
|
7912
|
-
*/
|
|
7913
|
-
// @ts-ignore
|
|
7914
|
-
export function serializeBusinessRequest_adminEnablementOverride(writer, businessRequest_adminEnablementOverride = {}, isSerializingDerivedType = false) {
|
|
7915
|
-
if (!businessRequest_adminEnablementOverride || isSerializingDerivedType) {
|
|
7916
|
-
return;
|
|
7917
|
-
}
|
|
7918
|
-
serializeAdminEnablementOverride(writer, businessRequest_adminEnablementOverride, isSerializingDerivedType);
|
|
7919
|
-
}
|
|
7920
6695
|
/**
|
|
7921
6696
|
* Serializes information the current object
|
|
7922
6697
|
* @param BusinessRequest_billingAddress The instance to serialize from.
|
|
@@ -7956,19 +6731,6 @@ export function serializeBusinessRequest_einDocument(writer, businessRequest_ein
|
|
|
7956
6731
|
}
|
|
7957
6732
|
serializeIdNameValue(writer, businessRequest_einDocument, isSerializingDerivedType);
|
|
7958
6733
|
}
|
|
7959
|
-
/**
|
|
7960
|
-
* Serializes information the current object
|
|
7961
|
-
* @param BusinessRequest_stripeInfo The instance to serialize from.
|
|
7962
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
7963
|
-
* @param writer Serialization writer to use to serialize this model
|
|
7964
|
-
*/
|
|
7965
|
-
// @ts-ignore
|
|
7966
|
-
export function serializeBusinessRequest_stripeInfo(writer, businessRequest_stripeInfo = {}, isSerializingDerivedType = false) {
|
|
7967
|
-
if (!businessRequest_stripeInfo || isSerializingDerivedType) {
|
|
7968
|
-
return;
|
|
7969
|
-
}
|
|
7970
|
-
serializeBusinessStripeInfo(writer, businessRequest_stripeInfo, isSerializingDerivedType);
|
|
7971
|
-
}
|
|
7972
6734
|
/**
|
|
7973
6735
|
* Serializes information the current object
|
|
7974
6736
|
* @param BusinessResponse The instance to serialize from.
|
|
@@ -7983,7 +6745,6 @@ export function serializeBusinessResponse(writer, businessResponse = {}, isSeria
|
|
|
7983
6745
|
writer.writeNumberValue("accountBalance", businessResponse.accountBalance);
|
|
7984
6746
|
writer.writeObjectValue("activation", businessResponse.activation, serializeBusinessResponse_activation);
|
|
7985
6747
|
writer.writeObjectValue("address", businessResponse.address, serializeBusinessResponse_address);
|
|
7986
|
-
writer.writeObjectValue("adminEnablementOverride", businessResponse.adminEnablementOverride, serializeBusinessResponse_adminEnablementOverride);
|
|
7987
6748
|
writer.writeObjectValue("autoRefillAmount", businessResponse.autoRefillAmount);
|
|
7988
6749
|
writer.writeBooleanValue("autoRefillEnabled", businessResponse.autoRefillEnabled);
|
|
7989
6750
|
writer.writeObjectValue("autoRefillTrigger", businessResponse.autoRefillTrigger);
|
|
@@ -8006,7 +6767,6 @@ export function serializeBusinessResponse(writer, businessResponse = {}, isSeria
|
|
|
8006
6767
|
writer.writeEnumValue("setupStep", businessResponse.setupStep);
|
|
8007
6768
|
writer.writeObjectValue("site", businessResponse.site, serializeBusinessResponse_site);
|
|
8008
6769
|
writer.writeEnumValue("status", businessResponse.status);
|
|
8009
|
-
writer.writeObjectValue("stripeInfo", businessResponse.stripeInfo, serializeBusinessResponse_stripeInfo);
|
|
8010
6770
|
writer.writeEnumValue("subscriptionStatus", businessResponse.subscriptionStatus);
|
|
8011
6771
|
writer.writeObjectValue("user", businessResponse.user, serializeBusinessResponse_user);
|
|
8012
6772
|
writer.writeStringValue("vertical", businessResponse.vertical);
|
|
@@ -8039,19 +6799,6 @@ export function serializeBusinessResponse_address(writer, businessResponse_addre
|
|
|
8039
6799
|
}
|
|
8040
6800
|
serializeStreetAddress(writer, businessResponse_address, isSerializingDerivedType);
|
|
8041
6801
|
}
|
|
8042
|
-
/**
|
|
8043
|
-
* Serializes information the current object
|
|
8044
|
-
* @param BusinessResponse_adminEnablementOverride The instance to serialize from.
|
|
8045
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
8046
|
-
* @param writer Serialization writer to use to serialize this model
|
|
8047
|
-
*/
|
|
8048
|
-
// @ts-ignore
|
|
8049
|
-
export function serializeBusinessResponse_adminEnablementOverride(writer, businessResponse_adminEnablementOverride = {}, isSerializingDerivedType = false) {
|
|
8050
|
-
if (!businessResponse_adminEnablementOverride || isSerializingDerivedType) {
|
|
8051
|
-
return;
|
|
8052
|
-
}
|
|
8053
|
-
serializeAdminEnablementOverride(writer, businessResponse_adminEnablementOverride, isSerializingDerivedType);
|
|
8054
|
-
}
|
|
8055
6802
|
/**
|
|
8056
6803
|
* Serializes information the current object
|
|
8057
6804
|
* @param BusinessResponse_billingAddress The instance to serialize from.
|
|
@@ -8104,19 +6851,6 @@ export function serializeBusinessResponse_site(writer, businessResponse_site = {
|
|
|
8104
6851
|
}
|
|
8105
6852
|
serializeIdNamePair(writer, businessResponse_site, isSerializingDerivedType);
|
|
8106
6853
|
}
|
|
8107
|
-
/**
|
|
8108
|
-
* Serializes information the current object
|
|
8109
|
-
* @param BusinessResponse_stripeInfo The instance to serialize from.
|
|
8110
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
8111
|
-
* @param writer Serialization writer to use to serialize this model
|
|
8112
|
-
*/
|
|
8113
|
-
// @ts-ignore
|
|
8114
|
-
export function serializeBusinessResponse_stripeInfo(writer, businessResponse_stripeInfo = {}, isSerializingDerivedType = false) {
|
|
8115
|
-
if (!businessResponse_stripeInfo || isSerializingDerivedType) {
|
|
8116
|
-
return;
|
|
8117
|
-
}
|
|
8118
|
-
serializeBusinessStripeInfo(writer, businessResponse_stripeInfo, isSerializingDerivedType);
|
|
8119
|
-
}
|
|
8120
6854
|
/**
|
|
8121
6855
|
* Serializes information the current object
|
|
8122
6856
|
* @param BusinessResponse_user The instance to serialize from.
|
|
@@ -8130,83 +6864,6 @@ export function serializeBusinessResponse_user(writer, businessResponse_user = {
|
|
|
8130
6864
|
}
|
|
8131
6865
|
serializeIdNamePair(writer, businessResponse_user, isSerializingDerivedType);
|
|
8132
6866
|
}
|
|
8133
|
-
/**
|
|
8134
|
-
* Serializes information the current object
|
|
8135
|
-
* @param BusinessStripeInfo The instance to serialize from.
|
|
8136
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
8137
|
-
* @param writer Serialization writer to use to serialize this model
|
|
8138
|
-
*/
|
|
8139
|
-
// @ts-ignore
|
|
8140
|
-
export function serializeBusinessStripeInfo(writer, businessStripeInfo = {}, isSerializingDerivedType = false) {
|
|
8141
|
-
if (!businessStripeInfo || isSerializingDerivedType) {
|
|
8142
|
-
return;
|
|
8143
|
-
}
|
|
8144
|
-
writer.writeObjectValue("businessUserAssignedQuantity", businessStripeInfo.businessUserAssignedQuantity);
|
|
8145
|
-
writer.writeObjectValue("businessUserQuantity", businessStripeInfo.businessUserQuantity);
|
|
8146
|
-
writer.writeStringValue("businessUserSubscriptionItemId", businessStripeInfo.businessUserSubscriptionItemId);
|
|
8147
|
-
writer.writeDateValue("cancelAt", businessStripeInfo.cancelAt);
|
|
8148
|
-
writer.writeObjectValue("cancellation", businessStripeInfo.cancellation, serializeBusinessStripeInfo_cancellation);
|
|
8149
|
-
writer.writeStringValue("customerId", businessStripeInfo.customerId);
|
|
8150
|
-
writer.writeStringValue("defaultPaymentMethodId", businessStripeInfo.defaultPaymentMethodId);
|
|
8151
|
-
writer.writeObjectValue("dunning", businessStripeInfo.dunning, serializeBusinessStripeInfo_dunning);
|
|
8152
|
-
writer.writeDateValue("lastPaymentMethodEventAt", businessStripeInfo.lastPaymentMethodEventAt);
|
|
8153
|
-
writer.writeDateValue("lastSubscriptionEventAt", businessStripeInfo.lastSubscriptionEventAt);
|
|
8154
|
-
writer.writeObjectValue("phoneNumberQuantity", businessStripeInfo.phoneNumberQuantity);
|
|
8155
|
-
writer.writeStringValue("phoneSubscriptionId", businessStripeInfo.phoneSubscriptionId);
|
|
8156
|
-
writer.writeStringValue("phoneSubscriptionItemId", businessStripeInfo.phoneSubscriptionItemId);
|
|
8157
|
-
writer.writeStringValue("planSubscriptionId", businessStripeInfo.planSubscriptionId);
|
|
8158
|
-
writer.writeStringValue("planSubscriptionItemId", businessStripeInfo.planSubscriptionItemId);
|
|
8159
|
-
writer.writeCollectionOfPrimitiveValues("subscriptionIds", businessStripeInfo.subscriptionIds);
|
|
8160
|
-
writer.writeAdditionalData(businessStripeInfo.additionalData);
|
|
8161
|
-
}
|
|
8162
|
-
/**
|
|
8163
|
-
* Serializes information the current object
|
|
8164
|
-
* @param BusinessStripeInfo_cancellation The instance to serialize from.
|
|
8165
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
8166
|
-
* @param writer Serialization writer to use to serialize this model
|
|
8167
|
-
*/
|
|
8168
|
-
// @ts-ignore
|
|
8169
|
-
export function serializeBusinessStripeInfo_cancellation(writer, businessStripeInfo_cancellation = {}, isSerializingDerivedType = false) {
|
|
8170
|
-
if (!businessStripeInfo_cancellation || isSerializingDerivedType) {
|
|
8171
|
-
return;
|
|
8172
|
-
}
|
|
8173
|
-
serializeBusinessSubscriptionCancellationInfo(writer, businessStripeInfo_cancellation, isSerializingDerivedType);
|
|
8174
|
-
}
|
|
8175
|
-
/**
|
|
8176
|
-
* Serializes information the current object
|
|
8177
|
-
* @param BusinessStripeInfo_dunning The instance to serialize from.
|
|
8178
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
8179
|
-
* @param writer Serialization writer to use to serialize this model
|
|
8180
|
-
*/
|
|
8181
|
-
// @ts-ignore
|
|
8182
|
-
export function serializeBusinessStripeInfo_dunning(writer, businessStripeInfo_dunning = {}, isSerializingDerivedType = false) {
|
|
8183
|
-
if (!businessStripeInfo_dunning || isSerializingDerivedType) {
|
|
8184
|
-
return;
|
|
8185
|
-
}
|
|
8186
|
-
serializeBusinessDunningInfo(writer, businessStripeInfo_dunning, isSerializingDerivedType);
|
|
8187
|
-
}
|
|
8188
|
-
/**
|
|
8189
|
-
* Serializes information the current object
|
|
8190
|
-
* @param BusinessSubscriptionCancellationInfo The instance to serialize from.
|
|
8191
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
8192
|
-
* @param writer Serialization writer to use to serialize this model
|
|
8193
|
-
*/
|
|
8194
|
-
// @ts-ignore
|
|
8195
|
-
export function serializeBusinessSubscriptionCancellationInfo(writer, businessSubscriptionCancellationInfo = {}, isSerializingDerivedType = false) {
|
|
8196
|
-
if (!businessSubscriptionCancellationInfo || isSerializingDerivedType) {
|
|
8197
|
-
return;
|
|
8198
|
-
}
|
|
8199
|
-
writer.writeBooleanValue("cancelAtPeriodEnd", businessSubscriptionCancellationInfo.cancelAtPeriodEnd);
|
|
8200
|
-
writer.writeStringValue("competitor", businessSubscriptionCancellationInfo.competitor);
|
|
8201
|
-
writer.writeStringValue("missingFeature", businessSubscriptionCancellationInfo.missingFeature);
|
|
8202
|
-
writer.writeStringValue("notes", businessSubscriptionCancellationInfo.notes);
|
|
8203
|
-
writer.writeStringValue("reason", businessSubscriptionCancellationInfo.reason);
|
|
8204
|
-
writer.writeStringValue("reasonCode", businessSubscriptionCancellationInfo.reasonCode);
|
|
8205
|
-
writer.writeDateValue("requestedAt", businessSubscriptionCancellationInfo.requestedAt);
|
|
8206
|
-
writer.writeStringValue("requestedByUserId", businessSubscriptionCancellationInfo.requestedByUserId);
|
|
8207
|
-
writer.writeStringValue("technicalIssues", businessSubscriptionCancellationInfo.technicalIssues);
|
|
8208
|
-
writer.writeAdditionalData(businessSubscriptionCancellationInfo.additionalData);
|
|
8209
|
-
}
|
|
8210
6867
|
/**
|
|
8211
6868
|
* Serializes information the current object
|
|
8212
6869
|
* @param BusinessSwitchOption The instance to serialize from.
|
|
@@ -8258,7 +6915,6 @@ export function serializeBusinessTableRow(writer, businessTableRow = {}, isSeria
|
|
|
8258
6915
|
}
|
|
8259
6916
|
writer.writeObjectValue("accountBalance", businessTableRow.accountBalance);
|
|
8260
6917
|
writer.writeEnumValue("activationStatus", businessTableRow.activationStatus);
|
|
8261
|
-
writer.writeObjectValue("adminEnablementOverride", businessTableRow.adminEnablementOverride, serializeBusinessTableRow_adminEnablementOverride);
|
|
8262
6918
|
writer.writeDateValue("apiKeyExpiresAt", businessTableRow.apiKeyExpiresAt);
|
|
8263
6919
|
writer.writeDateValue("apiKeyFirstUsedAt", businessTableRow.apiKeyFirstUsedAt);
|
|
8264
6920
|
writer.writeDateValue("apiKeyIssuedAt", businessTableRow.apiKeyIssuedAt);
|
|
@@ -8289,19 +6945,6 @@ export function serializeBusinessTableRow(writer, businessTableRow = {}, isSeria
|
|
|
8289
6945
|
writer.writeEnumValue("websiteStatus", businessTableRow.websiteStatus);
|
|
8290
6946
|
writer.writeAdditionalData(businessTableRow.additionalData);
|
|
8291
6947
|
}
|
|
8292
|
-
/**
|
|
8293
|
-
* Serializes information the current object
|
|
8294
|
-
* @param BusinessTableRow_adminEnablementOverride The instance to serialize from.
|
|
8295
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
8296
|
-
* @param writer Serialization writer to use to serialize this model
|
|
8297
|
-
*/
|
|
8298
|
-
// @ts-ignore
|
|
8299
|
-
export function serializeBusinessTableRow_adminEnablementOverride(writer, businessTableRow_adminEnablementOverride = {}, isSerializingDerivedType = false) {
|
|
8300
|
-
if (!businessTableRow_adminEnablementOverride || isSerializingDerivedType) {
|
|
8301
|
-
return;
|
|
8302
|
-
}
|
|
8303
|
-
serializeAdminEnablementOverride(writer, businessTableRow_adminEnablementOverride, isSerializingDerivedType);
|
|
8304
|
-
}
|
|
8305
6948
|
/**
|
|
8306
6949
|
* Serializes information the current object
|
|
8307
6950
|
* @param BusinessUserRequest The instance to serialize from.
|
|
@@ -8337,8 +6980,6 @@ export function serializeBusinessUserResponse(writer, businessUserResponse = {},
|
|
|
8337
6980
|
writer.writeStringValue("licenseBillingStatus", businessUserResponse.licenseBillingStatus);
|
|
8338
6981
|
writer.writeObjectValue("licenseQuantity", businessUserResponse.licenseQuantity);
|
|
8339
6982
|
writer.writeDateValue("licenseRenewalDate", businessUserResponse.licenseRenewalDate);
|
|
8340
|
-
writer.writeStringValue("licenseStripeSubscriptionId", businessUserResponse.licenseStripeSubscriptionId);
|
|
8341
|
-
writer.writeStringValue("licenseStripeSubscriptionItemId", businessUserResponse.licenseStripeSubscriptionItemId);
|
|
8342
6983
|
writer.writeDateValue("modifiedAt", businessUserResponse.modifiedAt);
|
|
8343
6984
|
writer.writeStringValue("name", businessUserResponse.name);
|
|
8344
6985
|
writer.writeDateValue("removedAt", businessUserResponse.removedAt);
|
|
@@ -8383,7 +7024,6 @@ export function serializeCallEventTableRow(writer, callEventTableRow = {}, isSer
|
|
|
8383
7024
|
writer.writeDateValue("answeredAt", callEventTableRow.answeredAt);
|
|
8384
7025
|
writer.writeObjectValue("billableAmount", callEventTableRow.billableAmount);
|
|
8385
7026
|
writer.writeObjectValue("billableSeconds", callEventTableRow.billableSeconds);
|
|
8386
|
-
writer.writeStringValue("billingPhoneNumberId", callEventTableRow.billingPhoneNumberId);
|
|
8387
7027
|
writer.writeStringValue("billingStatus", callEventTableRow.billingStatus);
|
|
8388
7028
|
writer.writeStringValue("business", callEventTableRow.business);
|
|
8389
7029
|
writer.writeStringValue("businessId", callEventTableRow.businessId);
|
|
@@ -8397,30 +7037,14 @@ export function serializeCallEventTableRow(writer, callEventTableRow = {}, isSer
|
|
|
8397
7037
|
writer.writeStringValue("fromPhoneNumberId", callEventTableRow.fromPhoneNumberId);
|
|
8398
7038
|
writer.writeStringValue("id", callEventTableRow.id);
|
|
8399
7039
|
writer.writeStringValue("leadId", callEventTableRow.leadId);
|
|
8400
|
-
writer.writeObjectValue("metadata", callEventTableRow.metadata, serializeCallEventTableRow_metadata);
|
|
8401
|
-
writer.writeStringValue("providerStatus", callEventTableRow.providerStatus);
|
|
8402
7040
|
writer.writeStringValue("recordingUrl", callEventTableRow.recordingUrl);
|
|
8403
7041
|
writer.writeEnumValue("status", callEventTableRow.status);
|
|
8404
7042
|
writer.writeStringValue("statusReason", callEventTableRow.statusReason);
|
|
8405
|
-
writer.writeStringValue("telnyxId", callEventTableRow.telnyxId);
|
|
8406
7043
|
writer.writeStringValue("toPhoneNumber", callEventTableRow.toPhoneNumber);
|
|
8407
7044
|
writer.writeStringValue("user", callEventTableRow.user);
|
|
8408
7045
|
writer.writeStringValue("userId", callEventTableRow.userId);
|
|
8409
7046
|
writer.writeAdditionalData(callEventTableRow.additionalData);
|
|
8410
7047
|
}
|
|
8411
|
-
/**
|
|
8412
|
-
* Serializes information the current object
|
|
8413
|
-
* @param CallEventTableRow_metadata The instance to serialize from.
|
|
8414
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
8415
|
-
* @param writer Serialization writer to use to serialize this model
|
|
8416
|
-
*/
|
|
8417
|
-
// @ts-ignore
|
|
8418
|
-
export function serializeCallEventTableRow_metadata(writer, callEventTableRow_metadata = {}, isSerializingDerivedType = false) {
|
|
8419
|
-
if (!callEventTableRow_metadata || isSerializingDerivedType) {
|
|
8420
|
-
return;
|
|
8421
|
-
}
|
|
8422
|
-
writer.writeAdditionalData(callEventTableRow_metadata.additionalData);
|
|
8423
|
-
}
|
|
8424
7048
|
/**
|
|
8425
7049
|
* Serializes information the current object
|
|
8426
7050
|
* @param ChangeBillingPlanRequest The instance to serialize from.
|
|
@@ -9036,7 +7660,6 @@ export function serializeEventDetailResponse(writer, eventDetailResponse = {}, i
|
|
|
9036
7660
|
writer.writeStringValue("leadId", eventDetailResponse.leadId);
|
|
9037
7661
|
writer.writeDateValue("modifiedAt", eventDetailResponse.modifiedAt);
|
|
9038
7662
|
writer.writeStringValue("outboundPhoneNumberId", eventDetailResponse.outboundPhoneNumberId);
|
|
9039
|
-
writer.writeStringValue("providerMessageId", eventDetailResponse.providerMessageId);
|
|
9040
7663
|
writer.writeDateValue("queuedAt", eventDetailResponse.queuedAt);
|
|
9041
7664
|
writer.writeDateValue("receivedAt", eventDetailResponse.receivedAt);
|
|
9042
7665
|
writer.writeDateValue("scheduledFor", eventDetailResponse.scheduledFor);
|
|
@@ -9100,11 +7723,9 @@ export function serializeEventTableRow(writer, eventTableRow = {}, isSerializing
|
|
|
9100
7723
|
writer.writeStringValue("fromPhoneNumber", eventTableRow.fromPhoneNumber);
|
|
9101
7724
|
writer.writeStringValue("fromPhoneNumberId", eventTableRow.fromPhoneNumberId);
|
|
9102
7725
|
writer.writeStringValue("id", eventTableRow.id);
|
|
9103
|
-
writer.writeBooleanValue("isWarmup", eventTableRow.isWarmup);
|
|
9104
7726
|
writer.writeStringValue("leadId", eventTableRow.leadId);
|
|
9105
7727
|
writer.writeDateValue("nextRetryAt", eventTableRow.nextRetryAt);
|
|
9106
7728
|
writer.writeStringValue("outboundPhoneNumberId", eventTableRow.outboundPhoneNumberId);
|
|
9107
|
-
writer.writeStringValue("providerMessageId", eventTableRow.providerMessageId);
|
|
9108
7729
|
writer.writeDateValue("queuedAt", eventTableRow.queuedAt);
|
|
9109
7730
|
writer.writeDateValue("receivedAt", eventTableRow.receivedAt);
|
|
9110
7731
|
writer.writeStringValue("relatedEntityId", eventTableRow.relatedEntityId);
|
|
@@ -9119,8 +7740,6 @@ export function serializeEventTableRow(writer, eventTableRow = {}, isSerializing
|
|
|
9119
7740
|
writer.writeEnumValue("status", eventTableRow.status);
|
|
9120
7741
|
writer.writeStringValue("statusReason", eventTableRow.statusReason);
|
|
9121
7742
|
writer.writeStringValue("summary", eventTableRow.summary);
|
|
9122
|
-
writer.writeStringValue("telnyxId", eventTableRow.telnyxId);
|
|
9123
|
-
writer.writeStringValue("tenDlcCampaignId", eventTableRow.tenDlcCampaignId);
|
|
9124
7743
|
writer.writeStringValue("timelineCategory", eventTableRow.timelineCategory);
|
|
9125
7744
|
writer.writeEnumValue("timelineType", eventTableRow.timelineType);
|
|
9126
7745
|
writer.writeStringValue("toPhoneNumber", eventTableRow.toPhoneNumber);
|
|
@@ -9144,25 +7763,6 @@ export function serializeExactMatchFilter(writer, exactMatchFilter = {}, isSeria
|
|
|
9144
7763
|
writer.writeObjectValue("value", exactMatchFilter.value);
|
|
9145
7764
|
writer.writeAdditionalData(exactMatchFilter.additionalData);
|
|
9146
7765
|
}
|
|
9147
|
-
/**
|
|
9148
|
-
* Serializes information the current object
|
|
9149
|
-
* @param FeedbackAdminUpdateRequest The instance to serialize from.
|
|
9150
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
9151
|
-
* @param writer Serialization writer to use to serialize this model
|
|
9152
|
-
*/
|
|
9153
|
-
// @ts-ignore
|
|
9154
|
-
export function serializeFeedbackAdminUpdateRequest(writer, feedbackAdminUpdateRequest = {}, isSerializingDerivedType = false) {
|
|
9155
|
-
if (!feedbackAdminUpdateRequest || isSerializingDerivedType) {
|
|
9156
|
-
return;
|
|
9157
|
-
}
|
|
9158
|
-
writer.writeStringValue("adminNote", feedbackAdminUpdateRequest.adminNote);
|
|
9159
|
-
writer.writeStringValue("area", feedbackAdminUpdateRequest.area);
|
|
9160
|
-
writer.writeStringValue("duplicateOfFeedbackItemId", feedbackAdminUpdateRequest.duplicateOfFeedbackItemId);
|
|
9161
|
-
writer.writeStringValue("externalIssueUrl", feedbackAdminUpdateRequest.externalIssueUrl);
|
|
9162
|
-
writer.writeEnumValue("status", feedbackAdminUpdateRequest.status);
|
|
9163
|
-
writer.writeEnumValue("type", feedbackAdminUpdateRequest.type);
|
|
9164
|
-
writer.writeAdditionalData(feedbackAdminUpdateRequest.additionalData);
|
|
9165
|
-
}
|
|
9166
7766
|
/**
|
|
9167
7767
|
* Serializes information the current object
|
|
9168
7768
|
* @param FeedbackCreateRequest The instance to serialize from.
|
|
@@ -9193,30 +7793,16 @@ export function serializeFeedbackResponse(writer, feedbackResponse = {}, isSeria
|
|
|
9193
7793
|
if (!feedbackResponse || isSerializingDerivedType) {
|
|
9194
7794
|
return;
|
|
9195
7795
|
}
|
|
9196
|
-
writer.writeStringValue("adminNote", feedbackResponse.adminNote);
|
|
9197
7796
|
writer.writeBooleanValue("allowContact", feedbackResponse.allowContact);
|
|
9198
7797
|
writer.writeStringValue("area", feedbackResponse.area);
|
|
9199
7798
|
writer.writeStringValue("businessId", feedbackResponse.businessId);
|
|
9200
|
-
writer.writeStringValue("businessNameSnapshot", feedbackResponse.businessNameSnapshot);
|
|
9201
7799
|
writer.writeStringValue("clientVersion", feedbackResponse.clientVersion);
|
|
9202
|
-
writer.writeDateValue("closedAt", feedbackResponse.closedAt);
|
|
9203
|
-
writer.writeStringValue("closedByUserId", feedbackResponse.closedByUserId);
|
|
9204
7800
|
writer.writeDateValue("createdAt", feedbackResponse.createdAt);
|
|
9205
|
-
writer.writeStringValue("duplicateOfFeedbackItemId", feedbackResponse.duplicateOfFeedbackItemId);
|
|
9206
|
-
writer.writeStringValue("environment", feedbackResponse.environment);
|
|
9207
|
-
writer.writeStringValue("externalIssueUrl", feedbackResponse.externalIssueUrl);
|
|
9208
7801
|
writer.writeStringValue("id", feedbackResponse.id);
|
|
9209
7802
|
writer.writeStringValue("message", feedbackResponse.message);
|
|
9210
|
-
writer.writeDateValue("reviewedAt", feedbackResponse.reviewedAt);
|
|
9211
|
-
writer.writeStringValue("reviewedByUserId", feedbackResponse.reviewedByUserId);
|
|
9212
7803
|
writer.writeStringValue("route", feedbackResponse.route);
|
|
9213
|
-
writer.writeStringValue("serverVersion", feedbackResponse.serverVersion);
|
|
9214
7804
|
writer.writeEnumValue("status", feedbackResponse.status);
|
|
9215
|
-
writer.writeStringValue("subscriptionPlanSnapshot", feedbackResponse.subscriptionPlanSnapshot);
|
|
9216
7805
|
writer.writeEnumValue("type", feedbackResponse.type);
|
|
9217
|
-
writer.writeStringValue("userAgent", feedbackResponse.userAgent);
|
|
9218
|
-
writer.writeStringValue("userDisplayNameSnapshot", feedbackResponse.userDisplayNameSnapshot);
|
|
9219
|
-
writer.writeStringValue("userEmailSnapshot", feedbackResponse.userEmailSnapshot);
|
|
9220
7806
|
writer.writeStringValue("userId", feedbackResponse.userId);
|
|
9221
7807
|
writer.writeAdditionalData(feedbackResponse.additionalData);
|
|
9222
7808
|
}
|
|
@@ -9262,20 +7848,11 @@ export function serializeInitiateCallRequest(writer, initiateCallRequest = {}, i
|
|
|
9262
7848
|
if (!initiateCallRequest || isSerializingDerivedType) {
|
|
9263
7849
|
return;
|
|
9264
7850
|
}
|
|
9265
|
-
writer.writeStringValue("automationId", initiateCallRequest.automationId);
|
|
9266
7851
|
writer.writeStringValue("campaignId", initiateCallRequest.campaignId);
|
|
9267
7852
|
writer.writeStringValue("conversationId", initiateCallRequest.conversationId);
|
|
9268
7853
|
writer.writeStringValue("fromPhoneNumberId", initiateCallRequest.fromPhoneNumberId);
|
|
9269
|
-
writer.writeStringValue("importBatchId", initiateCallRequest.importBatchId);
|
|
9270
|
-
writer.writeBooleanValue("isAutomated", initiateCallRequest.isAutomated);
|
|
9271
|
-
writer.writeBooleanValue("isImportedLead", initiateCallRequest.isImportedLead);
|
|
9272
7854
|
writer.writeStringValue("leadId", initiateCallRequest.leadId);
|
|
9273
|
-
writer.writeStringValue("outboundDeliveryRequestId", initiateCallRequest.outboundDeliveryRequestId);
|
|
9274
7855
|
writer.writeStringValue("outboundIdempotencyKey", initiateCallRequest.outboundIdempotencyKey);
|
|
9275
|
-
writer.writeEnumValue("outboundPriority", initiateCallRequest.outboundPriority);
|
|
9276
|
-
writer.writeStringValue("outboundReservationId", initiateCallRequest.outboundReservationId);
|
|
9277
|
-
writer.writeEnumValue("outboundSource", initiateCallRequest.outboundSource);
|
|
9278
|
-
writer.writeEnumValue("selectionReason", initiateCallRequest.selectionReason);
|
|
9279
7856
|
writer.writeStringValue("sourceId", initiateCallRequest.sourceId);
|
|
9280
7857
|
writer.writeBooleanValue("wasManuallyOverridden", initiateCallRequest.wasManuallyOverridden);
|
|
9281
7858
|
writer.writeAdditionalData(initiateCallRequest.additionalData);
|
|
@@ -9510,7 +8087,6 @@ export function serializeLeadRequest(writer, leadRequest = {}, isSerializingDeri
|
|
|
9510
8087
|
if (!leadRequest || isSerializingDerivedType) {
|
|
9511
8088
|
return;
|
|
9512
8089
|
}
|
|
9513
|
-
writer.writeObjectValue("adminEnablementOverride", leadRequest.adminEnablementOverride, serializeLeadRequest_adminEnablementOverride);
|
|
9514
8090
|
writer.writeObjectValue("contact", leadRequest.contact, serializeLeadContact);
|
|
9515
8091
|
writer.writeObjectValue("customer", leadRequest.customer, serializeLeadProfile);
|
|
9516
8092
|
writer.writeBooleanValue("enabled", leadRequest.enabled);
|
|
@@ -9520,19 +8096,6 @@ export function serializeLeadRequest(writer, leadRequest = {}, isSerializingDeri
|
|
|
9520
8096
|
writer.writeCollectionOfPrimitiveValues("tagNames", leadRequest.tagNames);
|
|
9521
8097
|
writer.writeAdditionalData(leadRequest.additionalData);
|
|
9522
8098
|
}
|
|
9523
|
-
/**
|
|
9524
|
-
* Serializes information the current object
|
|
9525
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
9526
|
-
* @param LeadRequest_adminEnablementOverride The instance to serialize from.
|
|
9527
|
-
* @param writer Serialization writer to use to serialize this model
|
|
9528
|
-
*/
|
|
9529
|
-
// @ts-ignore
|
|
9530
|
-
export function serializeLeadRequest_adminEnablementOverride(writer, leadRequest_adminEnablementOverride = {}, isSerializingDerivedType = false) {
|
|
9531
|
-
if (!leadRequest_adminEnablementOverride || isSerializingDerivedType) {
|
|
9532
|
-
return;
|
|
9533
|
-
}
|
|
9534
|
-
serializeAdminEnablementOverride(writer, leadRequest_adminEnablementOverride, isSerializingDerivedType);
|
|
9535
|
-
}
|
|
9536
8099
|
/**
|
|
9537
8100
|
* Serializes information the current object
|
|
9538
8101
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -9544,7 +8107,6 @@ export function serializeLeadResponse(writer, leadResponse = {}, isSerializingDe
|
|
|
9544
8107
|
if (!leadResponse || isSerializingDerivedType) {
|
|
9545
8108
|
return;
|
|
9546
8109
|
}
|
|
9547
|
-
writer.writeObjectValue("adminEnablementOverride", leadResponse.adminEnablementOverride, serializeLeadResponse_adminEnablementOverride);
|
|
9548
8110
|
writer.writeDateValue("archivedAt", leadResponse.archivedAt);
|
|
9549
8111
|
writer.writeStringValue("archivedByUserId", leadResponse.archivedByUserId);
|
|
9550
8112
|
writer.writeStringValue("archiveNote", leadResponse.archiveNote);
|
|
@@ -9564,33 +8126,20 @@ export function serializeLeadResponse(writer, leadResponse = {}, isSerializingDe
|
|
|
9564
8126
|
/**
|
|
9565
8127
|
* Serializes information the current object
|
|
9566
8128
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
9567
|
-
* @param
|
|
8129
|
+
* @param LeadResponse_currentDisposition The instance to serialize from.
|
|
9568
8130
|
* @param writer Serialization writer to use to serialize this model
|
|
9569
8131
|
*/
|
|
9570
8132
|
// @ts-ignore
|
|
9571
|
-
export function
|
|
9572
|
-
if (!
|
|
8133
|
+
export function serializeLeadResponse_currentDisposition(writer, leadResponse_currentDisposition = {}, isSerializingDerivedType = false) {
|
|
8134
|
+
if (!leadResponse_currentDisposition || isSerializingDerivedType) {
|
|
9573
8135
|
return;
|
|
9574
8136
|
}
|
|
9575
|
-
|
|
8137
|
+
serializeCurrentDispositionSummary(writer, leadResponse_currentDisposition, isSerializingDerivedType);
|
|
9576
8138
|
}
|
|
9577
8139
|
/**
|
|
9578
8140
|
* Serializes information the current object
|
|
9579
8141
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
9580
|
-
* @param
|
|
9581
|
-
* @param writer Serialization writer to use to serialize this model
|
|
9582
|
-
*/
|
|
9583
|
-
// @ts-ignore
|
|
9584
|
-
export function serializeLeadResponse_currentDisposition(writer, leadResponse_currentDisposition = {}, isSerializingDerivedType = false) {
|
|
9585
|
-
if (!leadResponse_currentDisposition || isSerializingDerivedType) {
|
|
9586
|
-
return;
|
|
9587
|
-
}
|
|
9588
|
-
serializeCurrentDispositionSummary(writer, leadResponse_currentDisposition, isSerializingDerivedType);
|
|
9589
|
-
}
|
|
9590
|
-
/**
|
|
9591
|
-
* Serializes information the current object
|
|
9592
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
9593
|
-
* @param LeadTableRow The instance to serialize from.
|
|
8142
|
+
* @param LeadTableRow The instance to serialize from.
|
|
9594
8143
|
* @param writer Serialization writer to use to serialize this model
|
|
9595
8144
|
*/
|
|
9596
8145
|
// @ts-ignore
|
|
@@ -9598,7 +8147,6 @@ export function serializeLeadTableRow(writer, leadTableRow = {}, isSerializingDe
|
|
|
9598
8147
|
if (!leadTableRow || isSerializingDerivedType) {
|
|
9599
8148
|
return;
|
|
9600
8149
|
}
|
|
9601
|
-
writer.writeObjectValue("adminEnablementOverride", leadTableRow.adminEnablementOverride, serializeLeadTableRow_adminEnablementOverride);
|
|
9602
8150
|
writer.writeDateValue("archivedAt", leadTableRow.archivedAt);
|
|
9603
8151
|
writer.writeStringValue("archivedByUserId", leadTableRow.archivedByUserId);
|
|
9604
8152
|
writer.writeNumberValue("archiveReason", leadTableRow.archiveReason);
|
|
@@ -9622,19 +8170,6 @@ export function serializeLeadTableRow(writer, leadTableRow = {}, isSerializingDe
|
|
|
9622
8170
|
writer.writeDateValue("updatedAt", leadTableRow.updatedAt);
|
|
9623
8171
|
writer.writeAdditionalData(leadTableRow.additionalData);
|
|
9624
8172
|
}
|
|
9625
|
-
/**
|
|
9626
|
-
* Serializes information the current object
|
|
9627
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
9628
|
-
* @param LeadTableRow_adminEnablementOverride The instance to serialize from.
|
|
9629
|
-
* @param writer Serialization writer to use to serialize this model
|
|
9630
|
-
*/
|
|
9631
|
-
// @ts-ignore
|
|
9632
|
-
export function serializeLeadTableRow_adminEnablementOverride(writer, leadTableRow_adminEnablementOverride = {}, isSerializingDerivedType = false) {
|
|
9633
|
-
if (!leadTableRow_adminEnablementOverride || isSerializingDerivedType) {
|
|
9634
|
-
return;
|
|
9635
|
-
}
|
|
9636
|
-
serializeAdminEnablementOverride(writer, leadTableRow_adminEnablementOverride, isSerializingDerivedType);
|
|
9637
|
-
}
|
|
9638
8173
|
/**
|
|
9639
8174
|
* Serializes information the current object
|
|
9640
8175
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -9941,23 +8476,6 @@ export function serializePagedResultOfEventTableRow(writer, pagedResultOfEventTa
|
|
|
9941
8476
|
writer.writeObjectValue("totalCount", pagedResultOfEventTableRow.totalCount);
|
|
9942
8477
|
writer.writeAdditionalData(pagedResultOfEventTableRow.additionalData);
|
|
9943
8478
|
}
|
|
9944
|
-
/**
|
|
9945
|
-
* Serializes information the current object
|
|
9946
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
9947
|
-
* @param PagedResultOfFeedbackResponse The instance to serialize from.
|
|
9948
|
-
* @param writer Serialization writer to use to serialize this model
|
|
9949
|
-
*/
|
|
9950
|
-
// @ts-ignore
|
|
9951
|
-
export function serializePagedResultOfFeedbackResponse(writer, pagedResultOfFeedbackResponse = {}, isSerializingDerivedType = false) {
|
|
9952
|
-
if (!pagedResultOfFeedbackResponse || isSerializingDerivedType) {
|
|
9953
|
-
return;
|
|
9954
|
-
}
|
|
9955
|
-
writer.writeStringValue("continuationToken", pagedResultOfFeedbackResponse.continuationToken);
|
|
9956
|
-
writer.writeCollectionOfObjectValues("items", pagedResultOfFeedbackResponse.items, serializeFeedbackResponse);
|
|
9957
|
-
writer.writeNumberValue("pageSize", pagedResultOfFeedbackResponse.pageSize);
|
|
9958
|
-
writer.writeObjectValue("totalCount", pagedResultOfFeedbackResponse.totalCount);
|
|
9959
|
-
writer.writeAdditionalData(pagedResultOfFeedbackResponse.additionalData);
|
|
9960
|
-
}
|
|
9961
8479
|
/**
|
|
9962
8480
|
* Serializes information the current object
|
|
9963
8481
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -10132,7 +8650,6 @@ export function serializePhoneCallResponse(writer, phoneCallResponse = {}, isSer
|
|
|
10132
8650
|
writer.writeStringValue("fromPhoneNumberId", phoneCallResponse.fromPhoneNumberId);
|
|
10133
8651
|
writer.writeStringValue("id", phoneCallResponse.id);
|
|
10134
8652
|
writer.writeStringValue("leadId", phoneCallResponse.leadId);
|
|
10135
|
-
writer.writeObjectValue("metadata", phoneCallResponse.metadata, serializePhoneCallResponse_metadata);
|
|
10136
8653
|
writer.writeDateValue("modifiedAt", phoneCallResponse.modifiedAt);
|
|
10137
8654
|
writer.writeStringValue("phoneNumber", phoneCallResponse.phoneNumber);
|
|
10138
8655
|
writer.writeDateValue("queuedAt", phoneCallResponse.queuedAt);
|
|
@@ -10146,19 +8663,6 @@ export function serializePhoneCallResponse(writer, phoneCallResponse = {}, isSer
|
|
|
10146
8663
|
writer.writeBooleanValue("wasManuallyOverridden", phoneCallResponse.wasManuallyOverridden);
|
|
10147
8664
|
writer.writeAdditionalData(phoneCallResponse.additionalData);
|
|
10148
8665
|
}
|
|
10149
|
-
/**
|
|
10150
|
-
* Serializes information the current object
|
|
10151
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
10152
|
-
* @param PhoneCallResponse_metadata The instance to serialize from.
|
|
10153
|
-
* @param writer Serialization writer to use to serialize this model
|
|
10154
|
-
*/
|
|
10155
|
-
// @ts-ignore
|
|
10156
|
-
export function serializePhoneCallResponse_metadata(writer, phoneCallResponse_metadata = {}, isSerializingDerivedType = false) {
|
|
10157
|
-
if (!phoneCallResponse_metadata || isSerializingDerivedType) {
|
|
10158
|
-
return;
|
|
10159
|
-
}
|
|
10160
|
-
writer.writeAdditionalData(phoneCallResponse_metadata.additionalData);
|
|
10161
|
-
}
|
|
10162
8666
|
/**
|
|
10163
8667
|
* Serializes information the current object
|
|
10164
8668
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -10170,7 +8674,7 @@ export function serializePhoneLookup(writer, phoneLookup = {}, isSerializingDeri
|
|
|
10170
8674
|
if (!phoneLookup || isSerializingDerivedType) {
|
|
10171
8675
|
return;
|
|
10172
8676
|
}
|
|
10173
|
-
writer.
|
|
8677
|
+
writer.writeObjectValue("carrier", phoneLookup.carrier, serializePhoneLookup_carrier);
|
|
10174
8678
|
writer.writeDateValue("createdAt", phoneLookup.createdAt);
|
|
10175
8679
|
writer.writeStringValue("id", phoneLookup.id);
|
|
10176
8680
|
writer.writeBooleanValue("isValid", phoneLookup.isValid);
|
|
@@ -10180,6 +8684,19 @@ export function serializePhoneLookup(writer, phoneLookup = {}, isSerializingDeri
|
|
|
10180
8684
|
writer.writeStringValue("number", phoneLookup.number);
|
|
10181
8685
|
writer.writeAdditionalData(phoneLookup.additionalData);
|
|
10182
8686
|
}
|
|
8687
|
+
/**
|
|
8688
|
+
* Serializes information the current object
|
|
8689
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
8690
|
+
* @param PhoneLookup_carrier The instance to serialize from.
|
|
8691
|
+
* @param writer Serialization writer to use to serialize this model
|
|
8692
|
+
*/
|
|
8693
|
+
// @ts-ignore
|
|
8694
|
+
export function serializePhoneLookup_carrier(writer, phoneLookup_carrier = {}, isSerializingDerivedType = false) {
|
|
8695
|
+
if (!phoneLookup_carrier || isSerializingDerivedType) {
|
|
8696
|
+
return;
|
|
8697
|
+
}
|
|
8698
|
+
serializePhoneLookupCarrier(writer, phoneLookup_carrier, isSerializingDerivedType);
|
|
8699
|
+
}
|
|
10183
8700
|
/**
|
|
10184
8701
|
* Serializes information the current object
|
|
10185
8702
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -10193,6 +8710,25 @@ export function serializePhoneLookup_location(writer, phoneLookup_location = {},
|
|
|
10193
8710
|
}
|
|
10194
8711
|
serializePhoneNumberLocation(writer, phoneLookup_location, isSerializingDerivedType);
|
|
10195
8712
|
}
|
|
8713
|
+
/**
|
|
8714
|
+
* Serializes information the current object
|
|
8715
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
8716
|
+
* @param PhoneLookupCarrier The instance to serialize from.
|
|
8717
|
+
* @param writer Serialization writer to use to serialize this model
|
|
8718
|
+
*/
|
|
8719
|
+
// @ts-ignore
|
|
8720
|
+
export function serializePhoneLookupCarrier(writer, phoneLookupCarrier = {}, isSerializingDerivedType = false) {
|
|
8721
|
+
if (!phoneLookupCarrier || isSerializingDerivedType) {
|
|
8722
|
+
return;
|
|
8723
|
+
}
|
|
8724
|
+
writer.writeStringValue("errorCode", phoneLookupCarrier.errorCode);
|
|
8725
|
+
writer.writeStringValue("mobileCountryCode", phoneLookupCarrier.mobileCountryCode);
|
|
8726
|
+
writer.writeStringValue("mobileNetworkCode", phoneLookupCarrier.mobileNetworkCode);
|
|
8727
|
+
writer.writeStringValue("name", phoneLookupCarrier.name);
|
|
8728
|
+
writer.writeStringValue("normalizedCarrier", phoneLookupCarrier.normalizedCarrier);
|
|
8729
|
+
writer.writeEnumValue("type", phoneLookupCarrier.type);
|
|
8730
|
+
writer.writeAdditionalData(phoneLookupCarrier.additionalData);
|
|
8731
|
+
}
|
|
10196
8732
|
/**
|
|
10197
8733
|
* Serializes information the current object
|
|
10198
8734
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -10238,64 +8774,6 @@ export function serializePhoneNumberAvailabilityResponse_location(writer, phoneN
|
|
|
10238
8774
|
}
|
|
10239
8775
|
serializePhoneNumberLocation(writer, phoneNumberAvailabilityResponse_location, isSerializingDerivedType);
|
|
10240
8776
|
}
|
|
10241
|
-
/**
|
|
10242
|
-
* Serializes information the current object
|
|
10243
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
10244
|
-
* @param PhoneNumberBillingAttribution The instance to serialize from.
|
|
10245
|
-
* @param writer Serialization writer to use to serialize this model
|
|
10246
|
-
*/
|
|
10247
|
-
// @ts-ignore
|
|
10248
|
-
export function serializePhoneNumberBillingAttribution(writer, phoneNumberBillingAttribution = {}, isSerializingDerivedType = false) {
|
|
10249
|
-
if (!phoneNumberBillingAttribution || isSerializingDerivedType) {
|
|
10250
|
-
return;
|
|
10251
|
-
}
|
|
10252
|
-
writer.writeStringValue("businessId", phoneNumberBillingAttribution.businessId);
|
|
10253
|
-
writer.writeStringValue("businessName", phoneNumberBillingAttribution.businessName);
|
|
10254
|
-
writer.writeStringValue("channel", phoneNumberBillingAttribution.channel);
|
|
10255
|
-
writer.writeObjectValue("monthlyAmount", phoneNumberBillingAttribution.monthlyAmount);
|
|
10256
|
-
writer.writeStringValue("subscriptionItemId", phoneNumberBillingAttribution.subscriptionItemId);
|
|
10257
|
-
writer.writeStringValue("userId", phoneNumberBillingAttribution.userId);
|
|
10258
|
-
writer.writeStringValue("userName", phoneNumberBillingAttribution.userName);
|
|
10259
|
-
writer.writeAdditionalData(phoneNumberBillingAttribution.additionalData);
|
|
10260
|
-
}
|
|
10261
|
-
/**
|
|
10262
|
-
* Serializes information the current object
|
|
10263
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
10264
|
-
* @param PhoneNumberCapabilities The instance to serialize from.
|
|
10265
|
-
* @param writer Serialization writer to use to serialize this model
|
|
10266
|
-
*/
|
|
10267
|
-
// @ts-ignore
|
|
10268
|
-
export function serializePhoneNumberCapabilities(writer, phoneNumberCapabilities = {}, isSerializingDerivedType = false) {
|
|
10269
|
-
if (!phoneNumberCapabilities || isSerializingDerivedType) {
|
|
10270
|
-
return;
|
|
10271
|
-
}
|
|
10272
|
-
writer.writeBooleanValue("sms", phoneNumberCapabilities.sms);
|
|
10273
|
-
writer.writeBooleanValue("testing", phoneNumberCapabilities.testing);
|
|
10274
|
-
writer.writeBooleanValue("voice", phoneNumberCapabilities.voice);
|
|
10275
|
-
writer.writeBooleanValue("warmup", phoneNumberCapabilities.warmup);
|
|
10276
|
-
writer.writeAdditionalData(phoneNumberCapabilities.additionalData);
|
|
10277
|
-
}
|
|
10278
|
-
/**
|
|
10279
|
-
* Serializes information the current object
|
|
10280
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
10281
|
-
* @param PhoneNumberEventRecord The instance to serialize from.
|
|
10282
|
-
* @param writer Serialization writer to use to serialize this model
|
|
10283
|
-
*/
|
|
10284
|
-
// @ts-ignore
|
|
10285
|
-
export function serializePhoneNumberEventRecord(writer, phoneNumberEventRecord = {}, isSerializingDerivedType = false) {
|
|
10286
|
-
if (!phoneNumberEventRecord || isSerializingDerivedType) {
|
|
10287
|
-
return;
|
|
10288
|
-
}
|
|
10289
|
-
writer.writeStringValue("actorId", phoneNumberEventRecord.actorId);
|
|
10290
|
-
writer.writeStringValue("actorName", phoneNumberEventRecord.actorName);
|
|
10291
|
-
writer.writeDateValue("createdAt", phoneNumberEventRecord.createdAt);
|
|
10292
|
-
writer.writeStringValue("details", phoneNumberEventRecord.details);
|
|
10293
|
-
writer.writeStringValue("id", phoneNumberEventRecord.id);
|
|
10294
|
-
writer.writeEnumValue("state", phoneNumberEventRecord.state);
|
|
10295
|
-
writer.writeStringValue("title", phoneNumberEventRecord.title);
|
|
10296
|
-
writer.writeStringValue("type", phoneNumberEventRecord.type);
|
|
10297
|
-
writer.writeAdditionalData(phoneNumberEventRecord.additionalData);
|
|
10298
|
-
}
|
|
10299
8777
|
/**
|
|
10300
8778
|
* Serializes information the current object
|
|
10301
8779
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -10345,7 +8823,6 @@ export function serializePhoneNumberMessagingEventResponse(writer, phoneNumberMe
|
|
|
10345
8823
|
writer.writeStringValue("id", phoneNumberMessagingEventResponse.id);
|
|
10346
8824
|
writer.writeBooleanValue("isOptOut", phoneNumberMessagingEventResponse.isOptOut);
|
|
10347
8825
|
writer.writeStringValue("label", phoneNumberMessagingEventResponse.label);
|
|
10348
|
-
writer.writeStringValue("providerStatus", phoneNumberMessagingEventResponse.providerStatus);
|
|
10349
8826
|
writer.writeStringValue("textPreview", phoneNumberMessagingEventResponse.textPreview);
|
|
10350
8827
|
writer.writeStringValue("toPhoneNumber", phoneNumberMessagingEventResponse.toPhoneNumber);
|
|
10351
8828
|
writer.writeAdditionalData(phoneNumberMessagingEventResponse.additionalData);
|
|
@@ -10379,7 +8856,6 @@ export function serializePhoneNumberRequest(writer, phoneNumberRequest = {}, isS
|
|
|
10379
8856
|
if (!phoneNumberRequest || isSerializingDerivedType) {
|
|
10380
8857
|
return;
|
|
10381
8858
|
}
|
|
10382
|
-
writer.writeObjectValue("adminEnablementOverride", phoneNumberRequest.adminEnablementOverride, serializePhoneNumberRequest_adminEnablementOverride);
|
|
10383
8859
|
writer.writeStringValue("businessId", phoneNumberRequest.businessId);
|
|
10384
8860
|
writer.writeBooleanValue("enabled", phoneNumberRequest.enabled);
|
|
10385
8861
|
writer.writeStringValue("id", phoneNumberRequest.id);
|
|
@@ -10387,19 +8863,6 @@ export function serializePhoneNumberRequest(writer, phoneNumberRequest = {}, isS
|
|
|
10387
8863
|
writer.writeStringValue("number", phoneNumberRequest.number);
|
|
10388
8864
|
writer.writeAdditionalData(phoneNumberRequest.additionalData);
|
|
10389
8865
|
}
|
|
10390
|
-
/**
|
|
10391
|
-
* Serializes information the current object
|
|
10392
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
10393
|
-
* @param PhoneNumberRequest_adminEnablementOverride The instance to serialize from.
|
|
10394
|
-
* @param writer Serialization writer to use to serialize this model
|
|
10395
|
-
*/
|
|
10396
|
-
// @ts-ignore
|
|
10397
|
-
export function serializePhoneNumberRequest_adminEnablementOverride(writer, phoneNumberRequest_adminEnablementOverride = {}, isSerializingDerivedType = false) {
|
|
10398
|
-
if (!phoneNumberRequest_adminEnablementOverride || isSerializingDerivedType) {
|
|
10399
|
-
return;
|
|
10400
|
-
}
|
|
10401
|
-
serializeAdminEnablementOverride(writer, phoneNumberRequest_adminEnablementOverride, isSerializingDerivedType);
|
|
10402
|
-
}
|
|
10403
8866
|
/**
|
|
10404
8867
|
* Serializes information the current object
|
|
10405
8868
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -10411,76 +8874,19 @@ export function serializePhoneNumberResponse(writer, phoneNumberResponse = {}, i
|
|
|
10411
8874
|
if (!phoneNumberResponse || isSerializingDerivedType) {
|
|
10412
8875
|
return;
|
|
10413
8876
|
}
|
|
10414
|
-
writer.writeObjectValue("adminEnablementOverride", phoneNumberResponse.adminEnablementOverride, serializePhoneNumberResponse_adminEnablementOverride);
|
|
10415
|
-
writer.writeObjectValue("billing", phoneNumberResponse.billing, serializePhoneNumberBillingAttribution);
|
|
10416
8877
|
writer.writeObjectValue("business", phoneNumberResponse.business, serializePhoneNumberResponse_business);
|
|
10417
|
-
writer.writeBooleanValue("callWarmupEnabled", phoneNumberResponse.callWarmupEnabled);
|
|
10418
|
-
writer.writeStringValue("callWarmupHealthReason", phoneNumberResponse.callWarmupHealthReason);
|
|
10419
|
-
writer.writeDateValue("callWarmupNextActionAt", phoneNumberResponse.callWarmupNextActionAt);
|
|
10420
|
-
writer.writeStringValue("callWarmupPauseReason", phoneNumberResponse.callWarmupPauseReason);
|
|
10421
|
-
writer.writeEnumValue("callWarmupStage", phoneNumberResponse.callWarmupStage);
|
|
10422
|
-
writer.writeEnumValue("callWarmupState", phoneNumberResponse.callWarmupState);
|
|
10423
|
-
writer.writeStringValue("campaignId", phoneNumberResponse.campaignId);
|
|
10424
|
-
writer.writeObjectValue("capabilities", phoneNumberResponse.capabilities, serializePhoneNumberCapabilities);
|
|
10425
8878
|
writer.writeDateValue("createdAt", phoneNumberResponse.createdAt);
|
|
10426
8879
|
writer.writeBooleanValue("enabled", phoneNumberResponse.enabled);
|
|
10427
|
-
writer.writeCollectionOfObjectValues("events", phoneNumberResponse.events, serializePhoneNumberEventRecord);
|
|
10428
|
-
writer.writeStringValue("healthReason", phoneNumberResponse.healthReason);
|
|
10429
|
-
writer.writeEnumValue("healthStatus", phoneNumberResponse.healthStatus);
|
|
10430
8880
|
writer.writeStringValue("id", phoneNumberResponse.id);
|
|
10431
|
-
writer.writeEnumValue("inventoryState", phoneNumberResponse.inventoryState);
|
|
10432
|
-
writer.writeBooleanValue("isApprovedTestDestination", phoneNumberResponse.isApprovedTestDestination);
|
|
10433
|
-
writer.writeBooleanValue("isDefault", phoneNumberResponse.isDefault);
|
|
10434
|
-
writer.writeBooleanValue("isInternalPool", phoneNumberResponse.isInternalPool);
|
|
10435
|
-
writer.writeBooleanValue("isMessagingProgramApproved", phoneNumberResponse.isMessagingProgramApproved);
|
|
10436
|
-
writer.writeBooleanValue("isPreferred", phoneNumberResponse.isPreferred);
|
|
10437
8881
|
writer.writeBooleanValue("leadpingOwned", phoneNumberResponse.leadpingOwned);
|
|
10438
8882
|
writer.writeObjectValue("location", phoneNumberResponse.location, serializePhoneNumberResponse_location);
|
|
10439
8883
|
writer.writeDateValue("modifiedAt", phoneNumberResponse.modifiedAt);
|
|
10440
8884
|
writer.writeStringValue("name", phoneNumberResponse.name);
|
|
10441
8885
|
writer.writeStringValue("number", phoneNumberResponse.number);
|
|
10442
|
-
writer.writeStringValue("provider", phoneNumberResponse.provider);
|
|
10443
|
-
writer.writeStringValue("providerError", phoneNumberResponse.providerError);
|
|
10444
|
-
writer.writeStringValue("providerOrderId", phoneNumberResponse.providerOrderId);
|
|
10445
|
-
writer.writeStringValue("providerOrderStatus", phoneNumberResponse.providerOrderStatus);
|
|
10446
|
-
writer.writeStringValue("providerPhoneNumberId", phoneNumberResponse.providerPhoneNumberId);
|
|
10447
|
-
writer.writeDateValue("providerReleasedAt", phoneNumberResponse.providerReleasedAt);
|
|
10448
|
-
writer.writeDateValue("providerReleaseHoldStartsAt", phoneNumberResponse.providerReleaseHoldStartsAt);
|
|
10449
|
-
writer.writeStringValue("providerReleaseReason", phoneNumberResponse.providerReleaseReason);
|
|
10450
|
-
writer.writeDateValue("providerReleaseRequestedAt", phoneNumberResponse.providerReleaseRequestedAt);
|
|
10451
|
-
writer.writeStringValue("providerReleaseRequestedByName", phoneNumberResponse.providerReleaseRequestedByName);
|
|
10452
|
-
writer.writeStringValue("providerReleaseRequestedByUserId", phoneNumberResponse.providerReleaseRequestedByUserId);
|
|
10453
|
-
writer.writeDateValue("providerReleaseScheduledAt", phoneNumberResponse.providerReleaseScheduledAt);
|
|
10454
|
-
writer.writeBooleanValue("providerReleaseUnassignAtHoldStart", phoneNumberResponse.providerReleaseUnassignAtHoldStart);
|
|
10455
|
-
writer.writeStringValue("providerStatus", phoneNumberResponse.providerStatus);
|
|
10456
|
-
writer.writeDateValue("providerSyncedAt", phoneNumberResponse.providerSyncedAt);
|
|
10457
8886
|
writer.writeObjectValue("routing", phoneNumberResponse.routing, serializePhoneNumberRoutingMetadata);
|
|
10458
|
-
writer.
|
|
10459
|
-
writer.writeEnumValue("status", phoneNumberResponse.status);
|
|
10460
|
-
writer.writeStringValue("teamId", phoneNumberResponse.teamId);
|
|
10461
|
-
writer.writeObjectValue("tenDlc", phoneNumberResponse.tenDlc, serializePhoneNumberTenDlcAssociation);
|
|
10462
|
-
writer.writeObjectValue("user", phoneNumberResponse.user, serializePhoneNumberResponse_user);
|
|
10463
|
-
writer.writeBooleanValue("warmupEnabled", phoneNumberResponse.warmupEnabled);
|
|
10464
|
-
writer.writeNumberValue("warmupHealthScore", phoneNumberResponse.warmupHealthScore);
|
|
10465
|
-
writer.writeDateValue("warmupNextActionAt", phoneNumberResponse.warmupNextActionAt);
|
|
10466
|
-
writer.writeStringValue("warmupPauseReason", phoneNumberResponse.warmupPauseReason);
|
|
10467
|
-
writer.writeNumberValue("warmupProgressPercent", phoneNumberResponse.warmupProgressPercent);
|
|
10468
|
-
writer.writeEnumValue("warmupState", phoneNumberResponse.warmupState);
|
|
8887
|
+
writer.writeObjectValue("warmup", phoneNumberResponse.warmup, serializePhoneNumberWarmup);
|
|
10469
8888
|
writer.writeAdditionalData(phoneNumberResponse.additionalData);
|
|
10470
8889
|
}
|
|
10471
|
-
/**
|
|
10472
|
-
* Serializes information the current object
|
|
10473
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
10474
|
-
* @param PhoneNumberResponse_adminEnablementOverride The instance to serialize from.
|
|
10475
|
-
* @param writer Serialization writer to use to serialize this model
|
|
10476
|
-
*/
|
|
10477
|
-
// @ts-ignore
|
|
10478
|
-
export function serializePhoneNumberResponse_adminEnablementOverride(writer, phoneNumberResponse_adminEnablementOverride = {}, isSerializingDerivedType = false) {
|
|
10479
|
-
if (!phoneNumberResponse_adminEnablementOverride || isSerializingDerivedType) {
|
|
10480
|
-
return;
|
|
10481
|
-
}
|
|
10482
|
-
serializeAdminEnablementOverride(writer, phoneNumberResponse_adminEnablementOverride, isSerializingDerivedType);
|
|
10483
|
-
}
|
|
10484
8890
|
/**
|
|
10485
8891
|
* Serializes information the current object
|
|
10486
8892
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -10507,19 +8913,6 @@ export function serializePhoneNumberResponse_location(writer, phoneNumberRespons
|
|
|
10507
8913
|
}
|
|
10508
8914
|
serializePhoneNumberLocation(writer, phoneNumberResponse_location, isSerializingDerivedType);
|
|
10509
8915
|
}
|
|
10510
|
-
/**
|
|
10511
|
-
* Serializes information the current object
|
|
10512
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
10513
|
-
* @param PhoneNumberResponse_user The instance to serialize from.
|
|
10514
|
-
* @param writer Serialization writer to use to serialize this model
|
|
10515
|
-
*/
|
|
10516
|
-
// @ts-ignore
|
|
10517
|
-
export function serializePhoneNumberResponse_user(writer, phoneNumberResponse_user = {}, isSerializingDerivedType = false) {
|
|
10518
|
-
if (!phoneNumberResponse_user || isSerializingDerivedType) {
|
|
10519
|
-
return;
|
|
10520
|
-
}
|
|
10521
|
-
serializeIdNamePair(writer, phoneNumberResponse_user, isSerializingDerivedType);
|
|
10522
|
-
}
|
|
10523
8916
|
/**
|
|
10524
8917
|
* Serializes information the current object
|
|
10525
8918
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -10532,14 +8925,10 @@ export function serializePhoneNumberRoutingMetadata(writer, phoneNumberRoutingMe
|
|
|
10532
8925
|
return;
|
|
10533
8926
|
}
|
|
10534
8927
|
writer.writeStringValue("campaignId", phoneNumberRoutingMetadata.campaignId);
|
|
10535
|
-
writer.writeBooleanValue("internalTestOnly", phoneNumberRoutingMetadata.internalTestOnly);
|
|
10536
|
-
writer.writeStringValue("messagingProfileId", phoneNumberRoutingMetadata.messagingProfileId);
|
|
10537
8928
|
writer.writeBooleanValue("smsEnabled", phoneNumberRoutingMetadata.smsEnabled);
|
|
10538
8929
|
writer.writeStringValue("sourceId", phoneNumberRoutingMetadata.sourceId);
|
|
10539
8930
|
writer.writeStringValue("teamId", phoneNumberRoutingMetadata.teamId);
|
|
10540
|
-
writer.writeStringValue("voiceConnectionId", phoneNumberRoutingMetadata.voiceConnectionId);
|
|
10541
8931
|
writer.writeBooleanValue("voiceEnabled", phoneNumberRoutingMetadata.voiceEnabled);
|
|
10542
|
-
writer.writeBooleanValue("warmupOnly", phoneNumberRoutingMetadata.warmupOnly);
|
|
10543
8932
|
writer.writeAdditionalData(phoneNumberRoutingMetadata.additionalData);
|
|
10544
8933
|
}
|
|
10545
8934
|
/**
|
|
@@ -10624,31 +9013,15 @@ export function serializePhoneNumberStatusResponse(writer, phoneNumberStatusResp
|
|
|
10624
9013
|
return;
|
|
10625
9014
|
}
|
|
10626
9015
|
writer.writeNumberValue("callsPossible", phoneNumberStatusResponse.callsPossible);
|
|
10627
|
-
writer.writeObjectValue("callWarmup", phoneNumberStatusResponse.callWarmup, serializePhoneNumberStatusResponse_callWarmup);
|
|
10628
9016
|
writer.writeNumberValue("messagesPossible", phoneNumberStatusResponse.messagesPossible);
|
|
10629
|
-
writer.writeNumberValue("messagesWarmed", phoneNumberStatusResponse.messagesWarmed);
|
|
10630
9017
|
writer.writeStringValue("number", phoneNumberStatusResponse.number);
|
|
10631
9018
|
writer.writeObjectValue("optOutMetrics", phoneNumberStatusResponse.optOutMetrics, serializePhoneNumberOptOutMetricsResponse);
|
|
10632
9019
|
writer.writeObjectValue("outboundCapacity", phoneNumberStatusResponse.outboundCapacity, serializePhoneNumberStatusResponse_outboundCapacity);
|
|
10633
9020
|
writer.writeCollectionOfObjectValues("recentEvents", phoneNumberStatusResponse.recentEvents, serializePhoneNumberMessagingEventResponse);
|
|
10634
9021
|
writer.writeObjectValue("smsWarmup", phoneNumberStatusResponse.smsWarmup, serializePhoneNumberStatusResponse_smsWarmup);
|
|
10635
9022
|
writer.writeObjectValue("trafficMetrics", phoneNumberStatusResponse.trafficMetrics, serializePhoneNumberTrafficMetricsResponse);
|
|
10636
|
-
writer.writeNumberValue("warmupCallsMade", phoneNumberStatusResponse.warmupCallsMade);
|
|
10637
9023
|
writer.writeAdditionalData(phoneNumberStatusResponse.additionalData);
|
|
10638
9024
|
}
|
|
10639
|
-
/**
|
|
10640
|
-
* Serializes information the current object
|
|
10641
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
10642
|
-
* @param PhoneNumberStatusResponse_callWarmup The instance to serialize from.
|
|
10643
|
-
* @param writer Serialization writer to use to serialize this model
|
|
10644
|
-
*/
|
|
10645
|
-
// @ts-ignore
|
|
10646
|
-
export function serializePhoneNumberStatusResponse_callWarmup(writer, phoneNumberStatusResponse_callWarmup = {}, isSerializingDerivedType = false) {
|
|
10647
|
-
if (!phoneNumberStatusResponse_callWarmup || isSerializingDerivedType) {
|
|
10648
|
-
return;
|
|
10649
|
-
}
|
|
10650
|
-
serializePhoneNumberWarmupStatusResponse(writer, phoneNumberStatusResponse_callWarmup, isSerializingDerivedType);
|
|
10651
|
-
}
|
|
10652
9025
|
/**
|
|
10653
9026
|
* Serializes information the current object
|
|
10654
9027
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -10686,75 +9059,22 @@ export function serializePhoneNumberTableRow(writer, phoneNumberTableRow = {}, i
|
|
|
10686
9059
|
if (!phoneNumberTableRow || isSerializingDerivedType) {
|
|
10687
9060
|
return;
|
|
10688
9061
|
}
|
|
10689
|
-
writer.writeObjectValue("adminEnablementOverride", phoneNumberTableRow.adminEnablementOverride, serializePhoneNumberTableRow_adminEnablementOverride);
|
|
10690
|
-
writer.writeStringValue("billingAttribution", phoneNumberTableRow.billingAttribution);
|
|
10691
9062
|
writer.writeStringValue("business", phoneNumberTableRow.business);
|
|
10692
9063
|
writer.writeStringValue("businessId", phoneNumberTableRow.businessId);
|
|
10693
|
-
writer.writeBooleanValue("callWarmupEnabled", phoneNumberTableRow.callWarmupEnabled);
|
|
10694
|
-
writer.writeEnumValue("callWarmupStage", phoneNumberTableRow.callWarmupStage);
|
|
10695
|
-
writer.writeEnumValue("callWarmupState", phoneNumberTableRow.callWarmupState);
|
|
10696
|
-
writer.writeStringValue("capabilities", phoneNumberTableRow.capabilities);
|
|
10697
9064
|
writer.writeBooleanValue("enabled", phoneNumberTableRow.enabled);
|
|
10698
|
-
writer.writeEnumValue("healthStatus", phoneNumberTableRow.healthStatus);
|
|
10699
9065
|
writer.writeStringValue("id", phoneNumberTableRow.id);
|
|
10700
|
-
writer.writeBooleanValue("internalTestOnly", phoneNumberTableRow.internalTestOnly);
|
|
10701
|
-
writer.writeEnumValue("inventoryState", phoneNumberTableRow.inventoryState);
|
|
10702
|
-
writer.writeBooleanValue("isMessagingProgramApproved", phoneNumberTableRow.isMessagingProgramApproved);
|
|
10703
9066
|
writer.writeStringValue("location", phoneNumberTableRow.location);
|
|
10704
9067
|
writer.writeStringValue("name", phoneNumberTableRow.name);
|
|
10705
9068
|
writer.writeStringValue("number", phoneNumberTableRow.number);
|
|
10706
9069
|
writer.writeStringValue("ownership", phoneNumberTableRow.ownership);
|
|
10707
|
-
writer.writeEnumValue("providerLifecycleState", phoneNumberTableRow.providerLifecycleState);
|
|
10708
|
-
writer.writeStringValue("providerReconciliationStatus", phoneNumberTableRow.providerReconciliationStatus);
|
|
10709
|
-
writer.writeStringValue("providerStatus", phoneNumberTableRow.providerStatus);
|
|
10710
9070
|
writer.writeStringValue("routingSummary", phoneNumberTableRow.routingSummary);
|
|
10711
9071
|
writer.writeBooleanValue("smsReady", phoneNumberTableRow.smsReady);
|
|
10712
|
-
writer.writeEnumValue("status", phoneNumberTableRow.status);
|
|
10713
|
-
writer.writeStringValue("tenDlcCampaignId", phoneNumberTableRow.tenDlcCampaignId);
|
|
10714
9072
|
writer.writeStringValue("tenDlcCampaignStatus", phoneNumberTableRow.tenDlcCampaignStatus);
|
|
10715
9073
|
writer.writeStringValue("type", phoneNumberTableRow.type);
|
|
10716
|
-
writer.writeStringValue("user", phoneNumberTableRow.user);
|
|
10717
9074
|
writer.writeBooleanValue("voiceReady", phoneNumberTableRow.voiceReady);
|
|
10718
|
-
writer.
|
|
10719
|
-
writer.writeBooleanValue("warmupOnly", phoneNumberTableRow.warmupOnly);
|
|
10720
|
-
writer.writeNumberValue("warmupProgressPercent", phoneNumberTableRow.warmupProgressPercent);
|
|
10721
|
-
writer.writeEnumValue("warmupState", phoneNumberTableRow.warmupState);
|
|
9075
|
+
writer.writeObjectValue("warmup", phoneNumberTableRow.warmup, serializePhoneNumberWarmup);
|
|
10722
9076
|
writer.writeAdditionalData(phoneNumberTableRow.additionalData);
|
|
10723
9077
|
}
|
|
10724
|
-
/**
|
|
10725
|
-
* Serializes information the current object
|
|
10726
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
10727
|
-
* @param PhoneNumberTableRow_adminEnablementOverride The instance to serialize from.
|
|
10728
|
-
* @param writer Serialization writer to use to serialize this model
|
|
10729
|
-
*/
|
|
10730
|
-
// @ts-ignore
|
|
10731
|
-
export function serializePhoneNumberTableRow_adminEnablementOverride(writer, phoneNumberTableRow_adminEnablementOverride = {}, isSerializingDerivedType = false) {
|
|
10732
|
-
if (!phoneNumberTableRow_adminEnablementOverride || isSerializingDerivedType) {
|
|
10733
|
-
return;
|
|
10734
|
-
}
|
|
10735
|
-
serializeAdminEnablementOverride(writer, phoneNumberTableRow_adminEnablementOverride, isSerializingDerivedType);
|
|
10736
|
-
}
|
|
10737
|
-
/**
|
|
10738
|
-
* Serializes information the current object
|
|
10739
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
10740
|
-
* @param PhoneNumberTenDlcAssociation The instance to serialize from.
|
|
10741
|
-
* @param writer Serialization writer to use to serialize this model
|
|
10742
|
-
*/
|
|
10743
|
-
// @ts-ignore
|
|
10744
|
-
export function serializePhoneNumberTenDlcAssociation(writer, phoneNumberTenDlcAssociation = {}, isSerializingDerivedType = false) {
|
|
10745
|
-
if (!phoneNumberTenDlcAssociation || isSerializingDerivedType) {
|
|
10746
|
-
return;
|
|
10747
|
-
}
|
|
10748
|
-
writer.writeStringValue("assignmentStatus", phoneNumberTenDlcAssociation.assignmentStatus);
|
|
10749
|
-
writer.writeStringValue("brandId", phoneNumberTenDlcAssociation.brandId);
|
|
10750
|
-
writer.writeStringValue("campaignId", phoneNumberTenDlcAssociation.campaignId);
|
|
10751
|
-
writer.writeStringValue("campaignStatus", phoneNumberTenDlcAssociation.campaignStatus);
|
|
10752
|
-
writer.writeStringValue("failureReason", phoneNumberTenDlcAssociation.failureReason);
|
|
10753
|
-
writer.writeStringValue("lastProviderEventId", phoneNumberTenDlcAssociation.lastProviderEventId);
|
|
10754
|
-
writer.writeStringValue("messagingProfileId", phoneNumberTenDlcAssociation.messagingProfileId);
|
|
10755
|
-
writer.writeDateValue("statusUpdatedAt", phoneNumberTenDlcAssociation.statusUpdatedAt);
|
|
10756
|
-
writer.writeAdditionalData(phoneNumberTenDlcAssociation.additionalData);
|
|
10757
|
-
}
|
|
10758
9078
|
/**
|
|
10759
9079
|
* Serializes information the current object
|
|
10760
9080
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -10798,65 +9118,20 @@ export function serializePhoneNumberTrafficTrendPoint(writer, phoneNumberTraffic
|
|
|
10798
9118
|
/**
|
|
10799
9119
|
* Serializes information the current object
|
|
10800
9120
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
10801
|
-
* @param
|
|
10802
|
-
* @param writer Serialization writer to use to serialize this model
|
|
10803
|
-
*/
|
|
10804
|
-
// @ts-ignore
|
|
10805
|
-
export function serializePhoneNumberWarmupCallResponse(writer, phoneNumberWarmupCallResponse = {}, isSerializingDerivedType = false) {
|
|
10806
|
-
if (!phoneNumberWarmupCallResponse || isSerializingDerivedType) {
|
|
10807
|
-
return;
|
|
10808
|
-
}
|
|
10809
|
-
writer.writeObjectValue("actualConnectedDurationSeconds", phoneNumberWarmupCallResponse.actualConnectedDurationSeconds);
|
|
10810
|
-
writer.writeDateValue("answeredAt", phoneNumberWarmupCallResponse.answeredAt);
|
|
10811
|
-
writer.writeDateValue("completedAt", phoneNumberWarmupCallResponse.completedAt);
|
|
10812
|
-
writer.writeStringValue("destinationPhoneNumber", phoneNumberWarmupCallResponse.destinationPhoneNumber);
|
|
10813
|
-
writer.writeStringValue("destinationPhoneNumberId", phoneNumberWarmupCallResponse.destinationPhoneNumberId);
|
|
10814
|
-
writer.writeStringValue("failureReason", phoneNumberWarmupCallResponse.failureReason);
|
|
10815
|
-
writer.writeStringValue("id", phoneNumberWarmupCallResponse.id);
|
|
10816
|
-
writer.writeDateValue("scheduledAt", phoneNumberWarmupCallResponse.scheduledAt);
|
|
10817
|
-
writer.writeStringValue("sourcePhoneNumber", phoneNumberWarmupCallResponse.sourcePhoneNumber);
|
|
10818
|
-
writer.writeStringValue("sourcePhoneNumberId", phoneNumberWarmupCallResponse.sourcePhoneNumberId);
|
|
10819
|
-
writer.writeEnumValue("status", phoneNumberWarmupCallResponse.status);
|
|
10820
|
-
writer.writeNumberValue("targetDurationSeconds", phoneNumberWarmupCallResponse.targetDurationSeconds);
|
|
10821
|
-
writer.writeAdditionalData(phoneNumberWarmupCallResponse.additionalData);
|
|
10822
|
-
}
|
|
10823
|
-
/**
|
|
10824
|
-
* Serializes information the current object
|
|
10825
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
10826
|
-
* @param PhoneNumberWarmupStatusResponse The instance to serialize from.
|
|
9121
|
+
* @param PhoneNumberWarmup The instance to serialize from.
|
|
10827
9122
|
* @param writer Serialization writer to use to serialize this model
|
|
10828
9123
|
*/
|
|
10829
9124
|
// @ts-ignore
|
|
10830
|
-
export function
|
|
10831
|
-
if (!
|
|
9125
|
+
export function serializePhoneNumberWarmup(writer, phoneNumberWarmup = {}, isSerializingDerivedType = false) {
|
|
9126
|
+
if (!phoneNumberWarmup || isSerializingDerivedType) {
|
|
10832
9127
|
return;
|
|
10833
9128
|
}
|
|
10834
|
-
writer.
|
|
10835
|
-
writer.writeNumberValue("
|
|
10836
|
-
writer.
|
|
10837
|
-
writer.writeNumberValue("
|
|
10838
|
-
writer.
|
|
10839
|
-
writer.
|
|
10840
|
-
writer.writeObjectValue("eligibilityReasons", phoneNumberWarmupStatusResponse.eligibilityReasons);
|
|
10841
|
-
writer.writeStringValue("failureReason", phoneNumberWarmupStatusResponse.failureReason);
|
|
10842
|
-
writer.writeNumberValue("hourlyCap", phoneNumberWarmupStatusResponse.hourlyCap);
|
|
10843
|
-
writer.writeDateValue("lastSuccessfulWarmupAt", phoneNumberWarmupStatusResponse.lastSuccessfulWarmupAt);
|
|
10844
|
-
writer.writeBooleanValue("lowConfidenceTimeZone", phoneNumberWarmupStatusResponse.lowConfidenceTimeZone);
|
|
10845
|
-
writer.writeNumberValue("maxTargetDurationSeconds", phoneNumberWarmupStatusResponse.maxTargetDurationSeconds);
|
|
10846
|
-
writer.writeNumberValue("minTargetDurationSeconds", phoneNumberWarmupStatusResponse.minTargetDurationSeconds);
|
|
10847
|
-
writer.writeBooleanValue("networkWarmupOptIn", phoneNumberWarmupStatusResponse.networkWarmupOptIn);
|
|
10848
|
-
writer.writeDateValue("nextEligibleAt", phoneNumberWarmupStatusResponse.nextEligibleAt);
|
|
10849
|
-
writer.writeStringValue("phoneNumber", phoneNumberWarmupStatusResponse.phoneNumber);
|
|
10850
|
-
writer.writeStringValue("phoneNumberId", phoneNumberWarmupStatusResponse.phoneNumberId);
|
|
10851
|
-
writer.writeCollectionOfObjectValues("recentCalls", phoneNumberWarmupStatusResponse.recentCalls, serializePhoneNumberWarmupCallResponse);
|
|
10852
|
-
writer.writeEnumValue("stage", phoneNumberWarmupStatusResponse.stage);
|
|
10853
|
-
writer.writeDateValue("startAt", phoneNumberWarmupStatusResponse.startAt);
|
|
10854
|
-
writer.writeEnumValue("status", phoneNumberWarmupStatusResponse.status);
|
|
10855
|
-
writer.writeStringValue("timeZoneId", phoneNumberWarmupStatusResponse.timeZoneId);
|
|
10856
|
-
writer.writeNumberValue("totalFailedCalls", phoneNumberWarmupStatusResponse.totalFailedCalls);
|
|
10857
|
-
writer.writeNumberValue("totalSuccessfulCalls", phoneNumberWarmupStatusResponse.totalSuccessfulCalls);
|
|
10858
|
-
writer.writeBooleanValue("warmupEnabled", phoneNumberWarmupStatusResponse.warmupEnabled);
|
|
10859
|
-
writer.writeAdditionalData(phoneNumberWarmupStatusResponse.additionalData);
|
|
9129
|
+
writer.writeBooleanValue("enabled", phoneNumberWarmup.enabled);
|
|
9130
|
+
writer.writeNumberValue("healthScore", phoneNumberWarmup.healthScore);
|
|
9131
|
+
writer.writeEnumValue("healthStatus", phoneNumberWarmup.healthStatus);
|
|
9132
|
+
writer.writeNumberValue("progressPercent", phoneNumberWarmup.progressPercent);
|
|
9133
|
+
writer.writeEnumValue("state", phoneNumberWarmup.state);
|
|
9134
|
+
writer.writeAdditionalData(phoneNumberWarmup.additionalData);
|
|
10860
9135
|
}
|
|
10861
9136
|
/**
|
|
10862
9137
|
* Serializes information the current object
|
|
@@ -10926,21 +9201,11 @@ export function serializeSendSmsRequest(writer, sendSmsRequest = {}, isSerializi
|
|
|
10926
9201
|
if (!sendSmsRequest || isSerializingDerivedType) {
|
|
10927
9202
|
return;
|
|
10928
9203
|
}
|
|
10929
|
-
writer.writeStringValue("automationId", sendSmsRequest.automationId);
|
|
10930
9204
|
writer.writeStringValue("campaignId", sendSmsRequest.campaignId);
|
|
10931
9205
|
writer.writeStringValue("conversationId", sendSmsRequest.conversationId);
|
|
10932
9206
|
writer.writeStringValue("fromPhoneNumberId", sendSmsRequest.fromPhoneNumberId);
|
|
10933
|
-
writer.writeBooleanValue("hasRequiredConsent", sendSmsRequest.hasRequiredConsent);
|
|
10934
|
-
writer.writeStringValue("importBatchId", sendSmsRequest.importBatchId);
|
|
10935
|
-
writer.writeBooleanValue("isAutomated", sendSmsRequest.isAutomated);
|
|
10936
|
-
writer.writeBooleanValue("isImportedLead", sendSmsRequest.isImportedLead);
|
|
10937
|
-
writer.writeStringValue("outboundDeliveryRequestId", sendSmsRequest.outboundDeliveryRequestId);
|
|
10938
9207
|
writer.writeStringValue("outboundIdempotencyKey", sendSmsRequest.outboundIdempotencyKey);
|
|
10939
|
-
writer.writeEnumValue("outboundPriority", sendSmsRequest.outboundPriority);
|
|
10940
|
-
writer.writeStringValue("outboundReservationId", sendSmsRequest.outboundReservationId);
|
|
10941
|
-
writer.writeEnumValue("outboundSource", sendSmsRequest.outboundSource);
|
|
10942
9208
|
writer.writeDateValue("scheduledFor", sendSmsRequest.scheduledFor);
|
|
10943
|
-
writer.writeEnumValue("selectionReason", sendSmsRequest.selectionReason);
|
|
10944
9209
|
writer.writeStringValue("smsEventId", sendSmsRequest.smsEventId);
|
|
10945
9210
|
writer.writeStringValue("sourceId", sendSmsRequest.sourceId);
|
|
10946
9211
|
writer.writeStringValue("text", sendSmsRequest.text);
|
|
@@ -10979,12 +9244,10 @@ export function serializeSmsEventTableRow(writer, smsEventTableRow = {}, isSeria
|
|
|
10979
9244
|
writer.writeStringValue("fromPhoneNumberId", smsEventTableRow.fromPhoneNumberId);
|
|
10980
9245
|
writer.writeStringValue("id", smsEventTableRow.id);
|
|
10981
9246
|
writer.writeBooleanValue("isAutomated", smsEventTableRow.isAutomated);
|
|
10982
|
-
writer.writeBooleanValue("isWarmup", smsEventTableRow.isWarmup);
|
|
10983
9247
|
writer.writeStringValue("leadId", smsEventTableRow.leadId);
|
|
10984
9248
|
writer.writeStringValue("leadName", smsEventTableRow.leadName);
|
|
10985
9249
|
writer.writeStringValue("outboundPhoneNumberId", smsEventTableRow.outboundPhoneNumberId);
|
|
10986
9250
|
writer.writeEnumValue("outboundSource", smsEventTableRow.outboundSource);
|
|
10987
|
-
writer.writeStringValue("providerMessageId", smsEventTableRow.providerMessageId);
|
|
10988
9251
|
writer.writeDateValue("queuedAt", smsEventTableRow.queuedAt);
|
|
10989
9252
|
writer.writeDateValue("receivedAt", smsEventTableRow.receivedAt);
|
|
10990
9253
|
writer.writeDateValue("scheduledFor", smsEventTableRow.scheduledFor);
|
|
@@ -10994,8 +9257,6 @@ export function serializeSmsEventTableRow(writer, smsEventTableRow = {}, isSeria
|
|
|
10994
9257
|
writer.writeDateValue("sentAt", smsEventTableRow.sentAt);
|
|
10995
9258
|
writer.writeEnumValue("status", smsEventTableRow.status);
|
|
10996
9259
|
writer.writeStringValue("statusReason", smsEventTableRow.statusReason);
|
|
10997
|
-
writer.writeStringValue("telnyxId", smsEventTableRow.telnyxId);
|
|
10998
|
-
writer.writeStringValue("tenDlcCampaignId", smsEventTableRow.tenDlcCampaignId);
|
|
10999
9260
|
writer.writeStringValue("text", smsEventTableRow.text);
|
|
11000
9261
|
writer.writeStringValue("toPhoneNumber", smsEventTableRow.toPhoneNumber);
|
|
11001
9262
|
writer.writeEnumValue("trafficType", smsEventTableRow.trafficType);
|
|
@@ -11031,12 +9292,10 @@ export function serializeSmsResponse(writer, smsResponse = {}, isSerializingDeri
|
|
|
11031
9292
|
writer.writeStringValue("fromPhoneNumber", smsResponse.fromPhoneNumber);
|
|
11032
9293
|
writer.writeStringValue("fromPhoneNumberId", smsResponse.fromPhoneNumberId);
|
|
11033
9294
|
writer.writeStringValue("id", smsResponse.id);
|
|
11034
|
-
writer.writeBooleanValue("isWarmup", smsResponse.isWarmup);
|
|
11035
9295
|
writer.writeStringValue("leadId", smsResponse.leadId);
|
|
11036
9296
|
writer.writeDateValue("modifiedAt", smsResponse.modifiedAt);
|
|
11037
9297
|
writer.writeDateValue("nextRetryAt", smsResponse.nextRetryAt);
|
|
11038
9298
|
writer.writeStringValue("outboundPhoneNumberId", smsResponse.outboundPhoneNumberId);
|
|
11039
|
-
writer.writeStringValue("providerMessageId", smsResponse.providerMessageId);
|
|
11040
9299
|
writer.writeDateValue("queuedAt", smsResponse.queuedAt);
|
|
11041
9300
|
writer.writeDateValue("receivedAt", smsResponse.receivedAt);
|
|
11042
9301
|
writer.writeNumberValue("retryCount", smsResponse.retryCount);
|
|
@@ -11048,37 +9307,12 @@ export function serializeSmsResponse(writer, smsResponse = {}, isSerializingDeri
|
|
|
11048
9307
|
writer.writeStringValue("sourceId", smsResponse.sourceId);
|
|
11049
9308
|
writer.writeEnumValue("status", smsResponse.status);
|
|
11050
9309
|
writer.writeStringValue("statusReason", smsResponse.statusReason);
|
|
11051
|
-
writer.writeStringValue("telnyxId", smsResponse.telnyxId);
|
|
11052
|
-
writer.writeStringValue("tenDlcCampaignId", smsResponse.tenDlcCampaignId);
|
|
11053
9310
|
writer.writeStringValue("text", smsResponse.text);
|
|
11054
9311
|
writer.writeEnumValue("trafficType", smsResponse.trafficType);
|
|
11055
9312
|
writer.writeDateValue("undeliverableAt", smsResponse.undeliverableAt);
|
|
11056
9313
|
writer.writeBooleanValue("wasManuallyOverridden", smsResponse.wasManuallyOverridden);
|
|
11057
9314
|
writer.writeAdditionalData(smsResponse.additionalData);
|
|
11058
9315
|
}
|
|
11059
|
-
/**
|
|
11060
|
-
* Serializes information the current object
|
|
11061
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
11062
|
-
* @param SmsWarmupActionResponse The instance to serialize from.
|
|
11063
|
-
* @param writer Serialization writer to use to serialize this model
|
|
11064
|
-
*/
|
|
11065
|
-
// @ts-ignore
|
|
11066
|
-
export function serializeSmsWarmupActionResponse(writer, smsWarmupActionResponse = {}, isSerializingDerivedType = false) {
|
|
11067
|
-
if (!smsWarmupActionResponse || isSerializingDerivedType) {
|
|
11068
|
-
return;
|
|
11069
|
-
}
|
|
11070
|
-
writer.writeEnumValue("actionType", smsWarmupActionResponse.actionType);
|
|
11071
|
-
writer.writeStringValue("body", smsWarmupActionResponse.body);
|
|
11072
|
-
writer.writeStringValue("conversationId", smsWarmupActionResponse.conversationId);
|
|
11073
|
-
writer.writeDateValue("executedAt", smsWarmupActionResponse.executedAt);
|
|
11074
|
-
writer.writeStringValue("failureReason", smsWarmupActionResponse.failureReason);
|
|
11075
|
-
writer.writeStringValue("fromPhoneNumber", smsWarmupActionResponse.fromPhoneNumber);
|
|
11076
|
-
writer.writeStringValue("id", smsWarmupActionResponse.id);
|
|
11077
|
-
writer.writeDateValue("scheduledAt", smsWarmupActionResponse.scheduledAt);
|
|
11078
|
-
writer.writeEnumValue("status", smsWarmupActionResponse.status);
|
|
11079
|
-
writer.writeStringValue("toPhoneNumber", smsWarmupActionResponse.toPhoneNumber);
|
|
11080
|
-
writer.writeAdditionalData(smsWarmupActionResponse.additionalData);
|
|
11081
|
-
}
|
|
11082
9316
|
/**
|
|
11083
9317
|
* Serializes information the current object
|
|
11084
9318
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -11090,32 +9324,10 @@ export function serializeSmsWarmupStatusResponse(writer, smsWarmupStatusResponse
|
|
|
11090
9324
|
if (!smsWarmupStatusResponse || isSerializingDerivedType) {
|
|
11091
9325
|
return;
|
|
11092
9326
|
}
|
|
11093
|
-
writer.writeStringValue("blockReason", smsWarmupStatusResponse.blockReason);
|
|
11094
|
-
writer.writeBooleanValue("canPause", smsWarmupStatusResponse.canPause);
|
|
11095
|
-
writer.writeBooleanValue("canResume", smsWarmupStatusResponse.canResume);
|
|
11096
|
-
writer.writeNumberValue("carrierRejectionCount", smsWarmupStatusResponse.carrierRejectionCount);
|
|
11097
|
-
writer.writeDateValue("completedAt", smsWarmupStatusResponse.completedAt);
|
|
11098
|
-
writer.writeNumberValue("deliveredCount", smsWarmupStatusResponse.deliveredCount);
|
|
11099
|
-
writer.writeNumberValue("deliverySuccessRate", smsWarmupStatusResponse.deliverySuccessRate);
|
|
11100
|
-
writer.writeNumberValue("failureCount", smsWarmupStatusResponse.failureCount);
|
|
11101
|
-
writer.writeBooleanValue("globalWarmupEnabled", smsWarmupStatusResponse.globalWarmupEnabled);
|
|
11102
9327
|
writer.writeNumberValue("healthScore", smsWarmupStatusResponse.healthScore);
|
|
11103
|
-
writer.writeBooleanValue("isApprovedTestDestination", smsWarmupStatusResponse.isApprovedTestDestination);
|
|
11104
|
-
writer.writeBooleanValue("isInternalPool", smsWarmupStatusResponse.isInternalPool);
|
|
11105
|
-
writer.writeBooleanValue("isMessagingProgramApproved", smsWarmupStatusResponse.isMessagingProgramApproved);
|
|
11106
|
-
writer.writeDateValue("lastHealthSnapshotAt", smsWarmupStatusResponse.lastHealthSnapshotAt);
|
|
11107
|
-
writer.writeDateValue("lastSuccessfulMessageAt", smsWarmupStatusResponse.lastSuccessfulMessageAt);
|
|
11108
|
-
writer.writeDateValue("nextScheduledActionAt", smsWarmupStatusResponse.nextScheduledActionAt);
|
|
11109
|
-
writer.writeNumberValue("optOutSignalCount", smsWarmupStatusResponse.optOutSignalCount);
|
|
11110
|
-
writer.writeStringValue("pauseReason", smsWarmupStatusResponse.pauseReason);
|
|
11111
9328
|
writer.writeStringValue("phoneNumber", smsWarmupStatusResponse.phoneNumber);
|
|
11112
9329
|
writer.writeStringValue("phoneNumberId", smsWarmupStatusResponse.phoneNumberId);
|
|
11113
9330
|
writer.writeNumberValue("progressPercent", smsWarmupStatusResponse.progressPercent);
|
|
11114
|
-
writer.writeNumberValue("receivedCount", smsWarmupStatusResponse.receivedCount);
|
|
11115
|
-
writer.writeCollectionOfObjectValues("recentActions", smsWarmupStatusResponse.recentActions, serializeSmsWarmupActionResponse);
|
|
11116
|
-
writer.writeNumberValue("sentCount", smsWarmupStatusResponse.sentCount);
|
|
11117
|
-
writer.writeNumberValue("spamSignalCount", smsWarmupStatusResponse.spamSignalCount);
|
|
11118
|
-
writer.writeDateValue("startedAt", smsWarmupStatusResponse.startedAt);
|
|
11119
9331
|
writer.writeEnumValue("status", smsWarmupStatusResponse.status);
|
|
11120
9332
|
writer.writeObjectValue("uiState", smsWarmupStatusResponse.uiState, serializeSmsWarmupUiState);
|
|
11121
9333
|
writer.writeBooleanValue("warmupEnabled", smsWarmupStatusResponse.warmupEnabled);
|
|
@@ -11165,12 +9377,8 @@ export function serializeSourceRequest(writer, sourceRequest = {}, isSerializing
|
|
|
11165
9377
|
if (!sourceRequest || isSerializingDerivedType) {
|
|
11166
9378
|
return;
|
|
11167
9379
|
}
|
|
11168
|
-
writer.writeObjectValue("adminEnablementOverride", sourceRequest.adminEnablementOverride, serializeSourceRequest_adminEnablementOverride);
|
|
11169
9380
|
writer.writeCollectionOfPrimitiveValues("allowedProducts", sourceRequest.allowedProducts);
|
|
11170
9381
|
writer.writeCollectionOfPrimitiveValues("allowedStates", sourceRequest.allowedStates);
|
|
11171
|
-
writer.writeStringValue("businessId", sourceRequest.businessId);
|
|
11172
|
-
writer.writeBooleanValue("complianceApproved", sourceRequest.complianceApproved);
|
|
11173
|
-
writer.writeStringValue("complianceNotes", sourceRequest.complianceNotes);
|
|
11174
9382
|
writer.writeObjectValue("costPerLead", sourceRequest.costPerLead);
|
|
11175
9383
|
writer.writeCollectionOfPrimitiveValues("defaultTagIds", sourceRequest.defaultTagIds);
|
|
11176
9384
|
writer.writeCollectionOfPrimitiveValues("defaultTagNames", sourceRequest.defaultTagNames);
|
|
@@ -11182,19 +9390,6 @@ export function serializeSourceRequest(writer, sourceRequest = {}, isSerializing
|
|
|
11182
9390
|
writer.writeBooleanValue("requiresTrustedForm", sourceRequest.requiresTrustedForm);
|
|
11183
9391
|
writer.writeAdditionalData(sourceRequest.additionalData);
|
|
11184
9392
|
}
|
|
11185
|
-
/**
|
|
11186
|
-
* Serializes information the current object
|
|
11187
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
11188
|
-
* @param SourceRequest_adminEnablementOverride The instance to serialize from.
|
|
11189
|
-
* @param writer Serialization writer to use to serialize this model
|
|
11190
|
-
*/
|
|
11191
|
-
// @ts-ignore
|
|
11192
|
-
export function serializeSourceRequest_adminEnablementOverride(writer, sourceRequest_adminEnablementOverride = {}, isSerializingDerivedType = false) {
|
|
11193
|
-
if (!sourceRequest_adminEnablementOverride || isSerializingDerivedType) {
|
|
11194
|
-
return;
|
|
11195
|
-
}
|
|
11196
|
-
serializeAdminEnablementOverride(writer, sourceRequest_adminEnablementOverride, isSerializingDerivedType);
|
|
11197
|
-
}
|
|
11198
9393
|
/**
|
|
11199
9394
|
* Serializes information the current object
|
|
11200
9395
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -11206,13 +9401,11 @@ export function serializeSourceResponse(writer, sourceResponse = {}, isSerializi
|
|
|
11206
9401
|
if (!sourceResponse || isSerializingDerivedType) {
|
|
11207
9402
|
return;
|
|
11208
9403
|
}
|
|
11209
|
-
writer.writeObjectValue("adminEnablementOverride", sourceResponse.adminEnablementOverride, serializeSourceResponse_adminEnablementOverride);
|
|
11210
9404
|
writer.writeCollectionOfPrimitiveValues("allowedProducts", sourceResponse.allowedProducts);
|
|
11211
9405
|
writer.writeCollectionOfPrimitiveValues("allowedStates", sourceResponse.allowedStates);
|
|
11212
9406
|
writer.writeStringValue("apiKeyPreview", sourceResponse.apiKeyPreview);
|
|
11213
9407
|
writer.writeObjectValue("business", sourceResponse.business, serializeSourceResponse_business);
|
|
11214
9408
|
writer.writeBooleanValue("complianceApproved", sourceResponse.complianceApproved);
|
|
11215
|
-
writer.writeStringValue("complianceNotes", sourceResponse.complianceNotes);
|
|
11216
9409
|
writer.writeObjectValue("costPerLead", sourceResponse.costPerLead);
|
|
11217
9410
|
writer.writeDateValue("createdAt", sourceResponse.createdAt);
|
|
11218
9411
|
writer.writeObjectValue("createdByUser", sourceResponse.createdByUser, serializeSourceResponse_createdByUser);
|
|
@@ -11230,19 +9423,6 @@ export function serializeSourceResponse(writer, sourceResponse = {}, isSerializi
|
|
|
11230
9423
|
writer.writeObjectValue("user", sourceResponse.user, serializeSourceResponse_user);
|
|
11231
9424
|
writer.writeAdditionalData(sourceResponse.additionalData);
|
|
11232
9425
|
}
|
|
11233
|
-
/**
|
|
11234
|
-
* Serializes information the current object
|
|
11235
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
11236
|
-
* @param SourceResponse_adminEnablementOverride The instance to serialize from.
|
|
11237
|
-
* @param writer Serialization writer to use to serialize this model
|
|
11238
|
-
*/
|
|
11239
|
-
// @ts-ignore
|
|
11240
|
-
export function serializeSourceResponse_adminEnablementOverride(writer, sourceResponse_adminEnablementOverride = {}, isSerializingDerivedType = false) {
|
|
11241
|
-
if (!sourceResponse_adminEnablementOverride || isSerializingDerivedType) {
|
|
11242
|
-
return;
|
|
11243
|
-
}
|
|
11244
|
-
serializeAdminEnablementOverride(writer, sourceResponse_adminEnablementOverride, isSerializingDerivedType);
|
|
11245
|
-
}
|
|
11246
9426
|
/**
|
|
11247
9427
|
* Serializes information the current object
|
|
11248
9428
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -11306,7 +9486,6 @@ export function serializeSourceTableRow(writer, sourceTableRow = {}, isSerializi
|
|
|
11306
9486
|
if (!sourceTableRow || isSerializingDerivedType) {
|
|
11307
9487
|
return;
|
|
11308
9488
|
}
|
|
11309
|
-
writer.writeObjectValue("adminEnablementOverride", sourceTableRow.adminEnablementOverride, serializeSourceTableRow_adminEnablementOverride);
|
|
11310
9489
|
writer.writeCollectionOfPrimitiveValues("allowedProducts", sourceTableRow.allowedProducts);
|
|
11311
9490
|
writer.writeCollectionOfPrimitiveValues("allowedStates", sourceTableRow.allowedStates);
|
|
11312
9491
|
writer.writeDateValue("apiKeyLastUsedAt", sourceTableRow.apiKeyLastUsedAt);
|
|
@@ -11332,19 +9511,6 @@ export function serializeSourceTableRow(writer, sourceTableRow = {}, isSerializi
|
|
|
11332
9511
|
writer.writeObjectValue("user", sourceTableRow.user, serializeSourceTableRow_user);
|
|
11333
9512
|
writer.writeAdditionalData(sourceTableRow.additionalData);
|
|
11334
9513
|
}
|
|
11335
|
-
/**
|
|
11336
|
-
* Serializes information the current object
|
|
11337
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
11338
|
-
* @param SourceTableRow_adminEnablementOverride The instance to serialize from.
|
|
11339
|
-
* @param writer Serialization writer to use to serialize this model
|
|
11340
|
-
*/
|
|
11341
|
-
// @ts-ignore
|
|
11342
|
-
export function serializeSourceTableRow_adminEnablementOverride(writer, sourceTableRow_adminEnablementOverride = {}, isSerializingDerivedType = false) {
|
|
11343
|
-
if (!sourceTableRow_adminEnablementOverride || isSerializingDerivedType) {
|
|
11344
|
-
return;
|
|
11345
|
-
}
|
|
11346
|
-
serializeAdminEnablementOverride(writer, sourceTableRow_adminEnablementOverride, isSerializingDerivedType);
|
|
11347
|
-
}
|
|
11348
9514
|
/**
|
|
11349
9515
|
* Serializes information the current object
|
|
11350
9516
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -11450,7 +9616,6 @@ export function serializeSuppressionCheckResult(writer, suppressionCheckResult =
|
|
|
11450
9616
|
if (!suppressionCheckResult || isSerializingDerivedType) {
|
|
11451
9617
|
return;
|
|
11452
9618
|
}
|
|
11453
|
-
writer.writeStringValue("adminReason", suppressionCheckResult.adminReason);
|
|
11454
9619
|
writer.writeBooleanValue("allowed", suppressionCheckResult.allowed);
|
|
11455
9620
|
writer.writeStringValue("businessId", suppressionCheckResult.businessId);
|
|
11456
9621
|
writer.writeStringValue("channel", suppressionCheckResult.channel);
|
|
@@ -11476,11 +9641,9 @@ export function serializeSuppressionEntryAudit(writer, suppressionEntryAudit = {
|
|
|
11476
9641
|
}
|
|
11477
9642
|
writer.writeStringValue("actorId", suppressionEntryAudit.actorId);
|
|
11478
9643
|
writer.writeStringValue("id", suppressionEntryAudit.id);
|
|
11479
|
-
writer.writeStringValue("providerEventId", suppressionEntryAudit.providerEventId);
|
|
11480
9644
|
writer.writeStringValue("reason", suppressionEntryAudit.reason);
|
|
11481
9645
|
writer.writeObjectValue("safeMetadata", suppressionEntryAudit.safeMetadata, serializeSuppressionEntryAudit_safeMetadata);
|
|
11482
9646
|
writer.writeStringValue("source", suppressionEntryAudit.source);
|
|
11483
|
-
writer.writeStringValue("sourceEventId", suppressionEntryAudit.sourceEventId);
|
|
11484
9647
|
writer.writeStringValue("status", suppressionEntryAudit.status);
|
|
11485
9648
|
writer.writeDateValue("timestamp", suppressionEntryAudit.timestamp);
|
|
11486
9649
|
writer.writeAdditionalData(suppressionEntryAudit.additionalData);
|
|
@@ -11509,33 +9672,14 @@ export function serializeSuppressionEntryRequest(writer, suppressionEntryRequest
|
|
|
11509
9672
|
if (!suppressionEntryRequest || isSerializingDerivedType) {
|
|
11510
9673
|
return;
|
|
11511
9674
|
}
|
|
11512
|
-
writer.writeStringValue("actorId", suppressionEntryRequest.actorId);
|
|
11513
9675
|
writer.writeStringValue("businessId", suppressionEntryRequest.businessId);
|
|
11514
9676
|
writer.writeStringValue("channel", suppressionEntryRequest.channel);
|
|
11515
9677
|
writer.writeStringValue("email", suppressionEntryRequest.email);
|
|
11516
9678
|
writer.writeStringValue("phoneNumber", suppressionEntryRequest.phoneNumber);
|
|
11517
|
-
writer.writeStringValue("providerEventId", suppressionEntryRequest.providerEventId);
|
|
11518
9679
|
writer.writeStringValue("reason", suppressionEntryRequest.reason);
|
|
11519
9680
|
writer.writeStringValue("recipientIdentifier", suppressionEntryRequest.recipientIdentifier);
|
|
11520
|
-
writer.writeObjectValue("safeMetadata", suppressionEntryRequest.safeMetadata, serializeSuppressionEntryRequest_safeMetadata);
|
|
11521
|
-
writer.writeStringValue("source", suppressionEntryRequest.source);
|
|
11522
|
-
writer.writeStringValue("sourceEventId", suppressionEntryRequest.sourceEventId);
|
|
11523
|
-
writer.writeDateValue("timestamp", suppressionEntryRequest.timestamp);
|
|
11524
9681
|
writer.writeAdditionalData(suppressionEntryRequest.additionalData);
|
|
11525
9682
|
}
|
|
11526
|
-
/**
|
|
11527
|
-
* Serializes information the current object
|
|
11528
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
11529
|
-
* @param SuppressionEntryRequest_safeMetadata The instance to serialize from.
|
|
11530
|
-
* @param writer Serialization writer to use to serialize this model
|
|
11531
|
-
*/
|
|
11532
|
-
// @ts-ignore
|
|
11533
|
-
export function serializeSuppressionEntryRequest_safeMetadata(writer, suppressionEntryRequest_safeMetadata = {}, isSerializingDerivedType = false) {
|
|
11534
|
-
if (!suppressionEntryRequest_safeMetadata || isSerializingDerivedType) {
|
|
11535
|
-
return;
|
|
11536
|
-
}
|
|
11537
|
-
writer.writeAdditionalData(suppressionEntryRequest_safeMetadata.additionalData);
|
|
11538
|
-
}
|
|
11539
9683
|
/**
|
|
11540
9684
|
* Serializes information the current object
|
|
11541
9685
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -11553,12 +9697,10 @@ export function serializeSuppressionEntryResponse(writer, suppressionEntryRespon
|
|
|
11553
9697
|
writer.writeStringValue("id", suppressionEntryResponse.id);
|
|
11554
9698
|
writer.writeStringValue("normalizedEmail", suppressionEntryResponse.normalizedEmail);
|
|
11555
9699
|
writer.writeStringValue("normalizedPhoneNumber", suppressionEntryResponse.normalizedPhoneNumber);
|
|
11556
|
-
writer.writeStringValue("providerEventId", suppressionEntryResponse.providerEventId);
|
|
11557
9700
|
writer.writeStringValue("reason", suppressionEntryResponse.reason);
|
|
11558
9701
|
writer.writeStringValue("recipientIdentifier", suppressionEntryResponse.recipientIdentifier);
|
|
11559
9702
|
writer.writeDateValue("releasedAt", suppressionEntryResponse.releasedAt);
|
|
11560
9703
|
writer.writeStringValue("source", suppressionEntryResponse.source);
|
|
11561
|
-
writer.writeStringValue("sourceEventId", suppressionEntryResponse.sourceEventId);
|
|
11562
9704
|
writer.writeStringValue("status", suppressionEntryResponse.status);
|
|
11563
9705
|
writer.writeDateValue("suppressedAt", suppressionEntryResponse.suppressedAt);
|
|
11564
9706
|
writer.writeAdditionalData(suppressionEntryResponse.additionalData);
|
|
@@ -11699,24 +9841,18 @@ export function serializeTransactionResponse(writer, transactionResponse = {}, i
|
|
|
11699
9841
|
if (!transactionResponse || isSerializingDerivedType) {
|
|
11700
9842
|
return;
|
|
11701
9843
|
}
|
|
11702
|
-
writer.writeStringValue("accountId", transactionResponse.accountId);
|
|
11703
9844
|
writer.writeStringValue("accountName", transactionResponse.accountName);
|
|
11704
9845
|
writer.writeNumberValue("amount", transactionResponse.amount);
|
|
11705
9846
|
writer.writeStringValue("businessId", transactionResponse.businessId);
|
|
11706
9847
|
writer.writeStringValue("businessName", transactionResponse.businessName);
|
|
11707
|
-
writer.writeStringValue("correlationId", transactionResponse.correlationId);
|
|
11708
9848
|
writer.writeDateValue("createdAt", transactionResponse.createdAt);
|
|
11709
|
-
writer.writeStringValue("createdBy", transactionResponse.createdBy);
|
|
11710
9849
|
writer.writeStringValue("description", transactionResponse.description);
|
|
11711
9850
|
writer.writeObjectValue("gatewayFeeAmount", transactionResponse.gatewayFeeAmount);
|
|
11712
|
-
writer.writeStringValue("gatewayId", transactionResponse.gatewayId);
|
|
11713
9851
|
writer.writeStringValue("gatewayStatus", transactionResponse.gatewayStatus);
|
|
11714
9852
|
writer.writeStringValue("id", transactionResponse.id);
|
|
11715
9853
|
writer.writeStringValue("leadId", transactionResponse.leadId);
|
|
11716
9854
|
writer.writeStringValue("leadName", transactionResponse.leadName);
|
|
11717
|
-
writer.writeObjectValue("metadata", transactionResponse.metadata, serializeTransactionResponse_metadata);
|
|
11718
9855
|
writer.writeDateValue("modifiedAt", transactionResponse.modifiedAt);
|
|
11719
|
-
writer.writeStringValue("modifiedBy", transactionResponse.modifiedBy);
|
|
11720
9856
|
writer.writeNumberValue("netAmount", transactionResponse.netAmount);
|
|
11721
9857
|
writer.writeStringValue("notes", transactionResponse.notes);
|
|
11722
9858
|
writer.writeStringValue("paymentMethodDisplay", transactionResponse.paymentMethodDisplay);
|
|
@@ -11725,19 +9861,6 @@ export function serializeTransactionResponse(writer, transactionResponse = {}, i
|
|
|
11725
9861
|
writer.writeEnumValue("transactionType", transactionResponse.transactionType);
|
|
11726
9862
|
writer.writeAdditionalData(transactionResponse.additionalData);
|
|
11727
9863
|
}
|
|
11728
|
-
/**
|
|
11729
|
-
* Serializes information the current object
|
|
11730
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
11731
|
-
* @param TransactionResponse_metadata The instance to serialize from.
|
|
11732
|
-
* @param writer Serialization writer to use to serialize this model
|
|
11733
|
-
*/
|
|
11734
|
-
// @ts-ignore
|
|
11735
|
-
export function serializeTransactionResponse_metadata(writer, transactionResponse_metadata = {}, isSerializingDerivedType = false) {
|
|
11736
|
-
if (!transactionResponse_metadata || isSerializingDerivedType) {
|
|
11737
|
-
return;
|
|
11738
|
-
}
|
|
11739
|
-
writer.writeAdditionalData(transactionResponse_metadata.additionalData);
|
|
11740
|
-
}
|
|
11741
9864
|
/**
|
|
11742
9865
|
* Serializes information the current object
|
|
11743
9866
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -11749,13 +9872,11 @@ export function serializeTransactionTableRow(writer, transactionTableRow = {}, i
|
|
|
11749
9872
|
if (!transactionTableRow || isSerializingDerivedType) {
|
|
11750
9873
|
return;
|
|
11751
9874
|
}
|
|
11752
|
-
writer.writeStringValue("accountId", transactionTableRow.accountId);
|
|
11753
9875
|
writer.writeStringValue("accountName", transactionTableRow.accountName);
|
|
11754
9876
|
writer.writeNumberValue("amount", transactionTableRow.amount);
|
|
11755
9877
|
writer.writeStringValue("businessId", transactionTableRow.businessId);
|
|
11756
9878
|
writer.writeStringValue("businessName", transactionTableRow.businessName);
|
|
11757
9879
|
writer.writeDateValue("createdAt", transactionTableRow.createdAt);
|
|
11758
|
-
writer.writeStringValue("createdBy", transactionTableRow.createdBy);
|
|
11759
9880
|
writer.writeStringValue("description", transactionTableRow.description);
|
|
11760
9881
|
writer.writeStringValue("id", transactionTableRow.id);
|
|
11761
9882
|
writer.writeStringValue("leadId", transactionTableRow.leadId);
|
|
@@ -11794,7 +9915,6 @@ export function serializeUsageCounterLine(writer, usageCounterLine = {}, isSeria
|
|
|
11794
9915
|
if (!usageCounterLine || isSerializingDerivedType) {
|
|
11795
9916
|
return;
|
|
11796
9917
|
}
|
|
11797
|
-
writer.writeBooleanValue("adminOnly", usageCounterLine.adminOnly);
|
|
11798
9918
|
writer.writeStringValue("key", usageCounterLine.key);
|
|
11799
9919
|
writer.writeStringValue("label", usageCounterLine.label);
|
|
11800
9920
|
writer.writeNumberValue("sortOrder", usageCounterLine.sortOrder);
|
|
@@ -11818,24 +9938,18 @@ export function serializeUsageLedgerTableRow(writer, usageLedgerTableRow = {}, i
|
|
|
11818
9938
|
writer.writeStringValue("businessId", usageLedgerTableRow.businessId);
|
|
11819
9939
|
writer.writeStringValue("businessName", usageLedgerTableRow.businessName);
|
|
11820
9940
|
writer.writeEnumValue("channel", usageLedgerTableRow.channel);
|
|
11821
|
-
writer.writeStringValue("correlationId", usageLedgerTableRow.correlationId);
|
|
11822
9941
|
writer.writeDateValue("createdAt", usageLedgerTableRow.createdAt);
|
|
11823
9942
|
writer.writeNumberValue("customerChargeAmount", usageLedgerTableRow.customerChargeAmount);
|
|
11824
9943
|
writer.writeStringValue("description", usageLedgerTableRow.description);
|
|
11825
9944
|
writer.writeObjectValue("durationSeconds", usageLedgerTableRow.durationSeconds);
|
|
11826
9945
|
writer.writeStringValue("id", usageLedgerTableRow.id);
|
|
11827
|
-
writer.writeStringValue("idempotencyKey", usageLedgerTableRow.idempotencyKey);
|
|
11828
|
-
writer.writeObjectValue("internalCostAmount", usageLedgerTableRow.internalCostAmount);
|
|
11829
9946
|
writer.writeBooleanValue("isBillable", usageLedgerTableRow.isBillable);
|
|
11830
|
-
writer.writeBooleanValue("isInternal", usageLedgerTableRow.isInternal);
|
|
11831
9947
|
writer.writeStringValue("leadId", usageLedgerTableRow.leadId);
|
|
11832
9948
|
writer.writeStringValue("leadName", usageLedgerTableRow.leadName);
|
|
11833
9949
|
writer.writeStringValue("phoneNumber", usageLedgerTableRow.phoneNumber);
|
|
11834
9950
|
writer.writeStringValue("phoneNumberId", usageLedgerTableRow.phoneNumberId);
|
|
11835
|
-
writer.writeObjectValue("providerCostAmount", usageLedgerTableRow.providerCostAmount);
|
|
11836
9951
|
writer.writeNumberValue("quantity", usageLedgerTableRow.quantity);
|
|
11837
9952
|
writer.writeObjectValue("smsSegments", usageLedgerTableRow.smsSegments);
|
|
11838
|
-
writer.writeStringValue("sourceEventId", usageLedgerTableRow.sourceEventId);
|
|
11839
9953
|
writer.writeEnumValue("status", usageLedgerTableRow.status);
|
|
11840
9954
|
writer.writeNumberValue("unitPrice", usageLedgerTableRow.unitPrice);
|
|
11841
9955
|
writer.writeStringValue("userId", usageLedgerTableRow.userId);
|
|
@@ -11856,8 +9970,6 @@ export function serializeUsageSummaryLine(writer, usageSummaryLine = {}, isSeria
|
|
|
11856
9970
|
writer.writeEnumValue("billableUnit", usageSummaryLine.billableUnit);
|
|
11857
9971
|
writer.writeEnumValue("channel", usageSummaryLine.channel);
|
|
11858
9972
|
writer.writeNumberValue("customerChargeAmount", usageSummaryLine.customerChargeAmount);
|
|
11859
|
-
writer.writeNumberValue("internalCostAmount", usageSummaryLine.internalCostAmount);
|
|
11860
|
-
writer.writeNumberValue("providerCostAmount", usageSummaryLine.providerCostAmount);
|
|
11861
9973
|
writer.writeNumberValue("quantity", usageSummaryLine.quantity);
|
|
11862
9974
|
writer.writeNumberValue("recordCount", usageSummaryLine.recordCount);
|
|
11863
9975
|
writer.writeEnumValue("status", usageSummaryLine.status);
|
|
@@ -11875,17 +9987,13 @@ export function serializeUsageSummaryResponse(writer, usageSummaryResponse = {},
|
|
|
11875
9987
|
return;
|
|
11876
9988
|
}
|
|
11877
9989
|
writer.writeNumberValue("billableQuantityTotal", usageSummaryResponse.billableQuantityTotal);
|
|
11878
|
-
writer.writeNumberValue("billingBlockedCount", usageSummaryResponse.billingBlockedCount);
|
|
11879
9990
|
writer.writeCollectionOfObjectValues("counters", usageSummaryResponse.counters, serializeUsageCounterLine);
|
|
11880
9991
|
writer.writeNumberValue("customerChargeTotal", usageSummaryResponse.customerChargeTotal);
|
|
11881
9992
|
writer.writeNumberValue("failedCount", usageSummaryResponse.failedCount);
|
|
11882
|
-
writer.writeNumberValue("internalCostTotal", usageSummaryResponse.internalCostTotal);
|
|
11883
9993
|
writer.writeCollectionOfObjectValues("lines", usageSummaryResponse.lines, serializeUsageSummaryLine);
|
|
11884
|
-
writer.writeNumberValue("nonBillableInternalCount", usageSummaryResponse.nonBillableInternalCount);
|
|
11885
9994
|
writer.writeNumberValue("pendingInvoiceCount", usageSummaryResponse.pendingInvoiceCount);
|
|
11886
9995
|
writer.writeDateValue("periodEnd", usageSummaryResponse.periodEnd);
|
|
11887
9996
|
writer.writeDateValue("periodStart", usageSummaryResponse.periodStart);
|
|
11888
|
-
writer.writeNumberValue("providerCostTotal", usageSummaryResponse.providerCostTotal);
|
|
11889
9997
|
writer.writeNumberValue("usageRecordCount", usageSummaryResponse.usageRecordCount);
|
|
11890
9998
|
writer.writeAdditionalData(usageSummaryResponse.additionalData);
|
|
11891
9999
|
}
|
|
@@ -12100,7 +10208,6 @@ export function serializeUserResponse(writer, userResponse = {}, isSerializingDe
|
|
|
12100
10208
|
writer.writeStringValue("personalDataDeletionStatus", userResponse.personalDataDeletionStatus);
|
|
12101
10209
|
writer.writeStringValue("phone", userResponse.phone);
|
|
12102
10210
|
writer.writeObjectValue("roles", userResponse.roles);
|
|
12103
|
-
writer.writeObjectValue("stripeInfo", userResponse.stripeInfo, serializeUserResponse_stripeInfo);
|
|
12104
10211
|
writer.writeEnumValue("subscriptionStatus", userResponse.subscriptionStatus);
|
|
12105
10212
|
writer.writeAdditionalData(userResponse.additionalData);
|
|
12106
10213
|
}
|
|
@@ -12143,19 +10250,6 @@ export function serializeUserResponse_notificationPreferences(writer, userRespon
|
|
|
12143
10250
|
}
|
|
12144
10251
|
serializeUserNotificationPreferences(writer, userResponse_notificationPreferences, isSerializingDerivedType);
|
|
12145
10252
|
}
|
|
12146
|
-
/**
|
|
12147
|
-
* Serializes information the current object
|
|
12148
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
12149
|
-
* @param UserResponse_stripeInfo The instance to serialize from.
|
|
12150
|
-
* @param writer Serialization writer to use to serialize this model
|
|
12151
|
-
*/
|
|
12152
|
-
// @ts-ignore
|
|
12153
|
-
export function serializeUserResponse_stripeInfo(writer, userResponse_stripeInfo = {}, isSerializingDerivedType = false) {
|
|
12154
|
-
if (!userResponse_stripeInfo || isSerializingDerivedType) {
|
|
12155
|
-
return;
|
|
12156
|
-
}
|
|
12157
|
-
serializeBusinessStripeInfo(writer, userResponse_stripeInfo, isSerializingDerivedType);
|
|
12158
|
-
}
|
|
12159
10253
|
/**
|
|
12160
10254
|
* Serializes information the current object
|
|
12161
10255
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -12185,9 +10279,6 @@ export function serializeWalletResponse(writer, walletResponse = {}, isSerializi
|
|
|
12185
10279
|
writer.writeStringValue("originalTransactionId", walletResponse.originalTransactionId);
|
|
12186
10280
|
writer.writeDateValue("purchasedAt", walletResponse.purchasedAt);
|
|
12187
10281
|
writer.writeEnumValue("sourceType", walletResponse.sourceType);
|
|
12188
|
-
writer.writeStringValue("stripeChargeId", walletResponse.stripeChargeId);
|
|
12189
|
-
writer.writeStringValue("stripeInvoiceId", walletResponse.stripeInvoiceId);
|
|
12190
|
-
writer.writeStringValue("stripePaymentIntentId", walletResponse.stripePaymentIntentId);
|
|
12191
10282
|
writer.writeAdditionalData(walletResponse.additionalData);
|
|
12192
10283
|
}
|
|
12193
10284
|
/**
|
|
@@ -12271,29 +10362,6 @@ export const BusinessInvitationStatusObject = {
|
|
|
12271
10362
|
Resent: "Resent",
|
|
12272
10363
|
FailedToSend: "Failed to send",
|
|
12273
10364
|
};
|
|
12274
|
-
/**
|
|
12275
|
-
* Defines the supported Billing Plan values.
|
|
12276
|
-
*/
|
|
12277
|
-
export const BusinessRequest_billingPlanObject = {
|
|
12278
|
-
Annual: "Annual",
|
|
12279
|
-
Monthly: "Monthly",
|
|
12280
|
-
};
|
|
12281
|
-
/**
|
|
12282
|
-
* Defines the supported Business Setup Step values.
|
|
12283
|
-
*/
|
|
12284
|
-
export const BusinessRequest_setupStepObject = {
|
|
12285
|
-
DomainFinding: "DomainFinding",
|
|
12286
|
-
DomainOptionsFound: "DomainOptionsFound",
|
|
12287
|
-
SiteGenerating: "SiteGenerating",
|
|
12288
|
-
SiteGenerated: "SiteGenerated",
|
|
12289
|
-
BrandSubmitted: "BrandSubmitted",
|
|
12290
|
-
BrandApproved: "BrandApproved",
|
|
12291
|
-
CampaignSubmitted: "CampaignSubmitted",
|
|
12292
|
-
CampaignApproved: "CampaignApproved",
|
|
12293
|
-
CarrierReviewing: "CarrierReviewing",
|
|
12294
|
-
TenDlcComplete: "TenDlcComplete",
|
|
12295
|
-
Complete: "Complete",
|
|
12296
|
-
};
|
|
12297
10365
|
/**
|
|
12298
10366
|
* Defines the supported Business Status values.
|
|
12299
10367
|
*/
|
|
@@ -12302,15 +10370,6 @@ export const BusinessRequest_statusObject = {
|
|
|
12302
10370
|
SetupCompleted: "SetupCompleted",
|
|
12303
10371
|
Active: "Active",
|
|
12304
10372
|
};
|
|
12305
|
-
/**
|
|
12306
|
-
* Defines the supported Subscription Status values.
|
|
12307
|
-
*/
|
|
12308
|
-
export const BusinessRequest_subscriptionStatusObject = {
|
|
12309
|
-
Pending: "Pending",
|
|
12310
|
-
Active: "Active",
|
|
12311
|
-
Overdue: "Overdue",
|
|
12312
|
-
Canceled: "Canceled",
|
|
12313
|
-
};
|
|
12314
10373
|
/**
|
|
12315
10374
|
* Defines the supported Billing Plan values.
|
|
12316
10375
|
*/
|
|
@@ -12738,28 +10797,6 @@ export const EventTimelineTypeObject = {
|
|
|
12738
10797
|
Payment: "Payment",
|
|
12739
10798
|
Warmup: "Warmup",
|
|
12740
10799
|
};
|
|
12741
|
-
/**
|
|
12742
|
-
* Defines admin triage statuses for durable product feedback.
|
|
12743
|
-
*/
|
|
12744
|
-
export const FeedbackAdminUpdateRequest_statusObject = {
|
|
12745
|
-
NewEscaped: "new",
|
|
12746
|
-
Reviewed: "reviewed",
|
|
12747
|
-
Planned: "planned",
|
|
12748
|
-
In_progress: "in_progress",
|
|
12749
|
-
Shipped: "shipped",
|
|
12750
|
-
Closed: "closed",
|
|
12751
|
-
Ignored: "ignored",
|
|
12752
|
-
};
|
|
12753
|
-
/**
|
|
12754
|
-
* Defines the type of product feedback submitted from inside Leadping.
|
|
12755
|
-
*/
|
|
12756
|
-
export const FeedbackAdminUpdateRequest_typeObject = {
|
|
12757
|
-
Bug: "bug",
|
|
12758
|
-
Confusing: "confusing",
|
|
12759
|
-
Feature_request: "feature_request",
|
|
12760
|
-
Missing_capability: "missing_capability",
|
|
12761
|
-
Other: "other",
|
|
12762
|
-
};
|
|
12763
10800
|
/**
|
|
12764
10801
|
* Defines the type of product feedback submitted from inside Leadping.
|
|
12765
10802
|
*/
|
|
@@ -12792,58 +10829,6 @@ export const FeedbackTypeObject = {
|
|
|
12792
10829
|
Missing_capability: "missing_capability",
|
|
12793
10830
|
Other: "other",
|
|
12794
10831
|
};
|
|
12795
|
-
/**
|
|
12796
|
-
* Defines priority classes used when pacing outbound delivery.
|
|
12797
|
-
*/
|
|
12798
|
-
export const InitiateCallRequest_outboundPriorityObject = {
|
|
12799
|
-
Critical_internal_notification: "critical_internal_notification",
|
|
12800
|
-
Fresh_inbound_lead_response: "fresh_inbound_lead_response",
|
|
12801
|
-
Manual_user_initiated: "manual_user_initiated",
|
|
12802
|
-
Active_conversation_reply: "active_conversation_reply",
|
|
12803
|
-
Automation_follow_up: "automation_follow_up",
|
|
12804
|
-
Campaign_message: "campaign_message",
|
|
12805
|
-
Imported_lead_campaign: "imported_lead_campaign",
|
|
12806
|
-
Warmup: "warmup",
|
|
12807
|
-
Retry: "retry",
|
|
12808
|
-
};
|
|
12809
|
-
/**
|
|
12810
|
-
* Defines the source that requested outbound delivery.
|
|
12811
|
-
*/
|
|
12812
|
-
export const InitiateCallRequest_outboundSourceObject = {
|
|
12813
|
-
Manual: "manual",
|
|
12814
|
-
Automation: "automation",
|
|
12815
|
-
Campaign: "campaign",
|
|
12816
|
-
ImportEscaped: "import",
|
|
12817
|
-
Api: "api",
|
|
12818
|
-
System_notification: "system_notification",
|
|
12819
|
-
Warmup: "warmup",
|
|
12820
|
-
Retry: "retry",
|
|
12821
|
-
};
|
|
12822
|
-
/**
|
|
12823
|
-
* Defines the supported Outgoing Number Selection Reason values.
|
|
12824
|
-
*/
|
|
12825
|
-
export const InitiateCallRequest_selectionReasonObject = {
|
|
12826
|
-
StickyConversation: "StickyConversation",
|
|
12827
|
-
LeadAssigned: "LeadAssigned",
|
|
12828
|
-
CampaignOrSource: "CampaignOrSource",
|
|
12829
|
-
Preferred: "Preferred",
|
|
12830
|
-
LocalArea: "LocalArea",
|
|
12831
|
-
HealthyPool: "HealthyPool",
|
|
12832
|
-
FallbackDefault: "FallbackDefault",
|
|
12833
|
-
ManualOverride: "ManualOverride",
|
|
12834
|
-
};
|
|
12835
|
-
/**
|
|
12836
|
-
* Represents the status of an internal phone number in the system.
|
|
12837
|
-
*/
|
|
12838
|
-
export const InternalPhoneNumberStatusObject = {
|
|
12839
|
-
Unregistered: "Unregistered",
|
|
12840
|
-
Provisioning: "Provisioning",
|
|
12841
|
-
FailedProvisioning: "FailedProvisioning",
|
|
12842
|
-
Active: "Active",
|
|
12843
|
-
Expired: "Expired",
|
|
12844
|
-
Suspended: "Suspended",
|
|
12845
|
-
PendingRelease: "PendingRelease",
|
|
12846
|
-
};
|
|
12847
10832
|
/**
|
|
12848
10833
|
* Defines the supported Employment Type values.
|
|
12849
10834
|
*/
|
|
@@ -13061,10 +11046,21 @@ export const PhoneCallStatusObject = {
|
|
|
13061
11046
|
Blocked_permission: "blocked_permission",
|
|
13062
11047
|
Configuration_required: "configuration_required",
|
|
13063
11048
|
};
|
|
11049
|
+
/**
|
|
11050
|
+
* An enumerator describing phone line types
|
|
11051
|
+
*/
|
|
11052
|
+
export const PhoneLookup_lineTypeObject = {
|
|
11053
|
+
Wireline: "Wireline",
|
|
11054
|
+
Wireless: "Wireless",
|
|
11055
|
+
VoWiFi: "VoWiFi",
|
|
11056
|
+
VoIP: "VoIP",
|
|
11057
|
+
PrePaidWireless: "PrePaidWireless",
|
|
11058
|
+
Unknown: "Unknown",
|
|
11059
|
+
};
|
|
13064
11060
|
/**
|
|
13065
11061
|
* An enumerator describing carrier types
|
|
13066
11062
|
*/
|
|
13067
|
-
export const
|
|
11063
|
+
export const PhoneLookupCarrier_typeObject = {
|
|
13068
11064
|
FixedLine: "FixedLine",
|
|
13069
11065
|
Mobile: "Mobile",
|
|
13070
11066
|
Voip: "Voip",
|
|
@@ -13078,51 +11074,6 @@ export const PhoneLookup_carrierTypeObject = {
|
|
|
13078
11074
|
Voicemail: "Voicemail",
|
|
13079
11075
|
Unknown: "Unknown",
|
|
13080
11076
|
};
|
|
13081
|
-
/**
|
|
13082
|
-
* An enumerator describing phone line types
|
|
13083
|
-
*/
|
|
13084
|
-
export const PhoneLookup_lineTypeObject = {
|
|
13085
|
-
Wireline: "Wireline",
|
|
13086
|
-
Wireless: "Wireless",
|
|
13087
|
-
VoWiFi: "VoWiFi",
|
|
13088
|
-
VoIP: "VoIP",
|
|
13089
|
-
PrePaidWireless: "PrePaidWireless",
|
|
13090
|
-
Unknown: "Unknown",
|
|
13091
|
-
};
|
|
13092
|
-
/**
|
|
13093
|
-
* Leadping-owned inventory state for phone-number assignment and routing.
|
|
13094
|
-
*/
|
|
13095
|
-
export const PhoneNumberEventRecord_stateObject = {
|
|
13096
|
-
Available: "Available",
|
|
13097
|
-
Assigned: "Assigned",
|
|
13098
|
-
PendingVerification: "Pending verification",
|
|
13099
|
-
ReadyForSMS: "Ready for SMS",
|
|
13100
|
-
ReadyForVoice: "Ready for voice",
|
|
13101
|
-
Restricted: "Restricted",
|
|
13102
|
-
Suspended: "Suspended",
|
|
13103
|
-
Failed: "Failed",
|
|
13104
|
-
Released: "Released",
|
|
13105
|
-
PendingRelease: "Pending release",
|
|
13106
|
-
WarmupOnly: "Warmup-only",
|
|
13107
|
-
InternalTestOnly: "Internal/test-only",
|
|
13108
|
-
};
|
|
13109
|
-
/**
|
|
13110
|
-
* Leadping-owned inventory state for phone-number assignment and routing.
|
|
13111
|
-
*/
|
|
13112
|
-
export const PhoneNumberInventoryStateObject = {
|
|
13113
|
-
Available: "Available",
|
|
13114
|
-
Assigned: "Assigned",
|
|
13115
|
-
PendingVerification: "Pending verification",
|
|
13116
|
-
ReadyForSMS: "Ready for SMS",
|
|
13117
|
-
ReadyForVoice: "Ready for voice",
|
|
13118
|
-
Restricted: "Restricted",
|
|
13119
|
-
Suspended: "Suspended",
|
|
13120
|
-
Failed: "Failed",
|
|
13121
|
-
Released: "Released",
|
|
13122
|
-
PendingRelease: "Pending release",
|
|
13123
|
-
WarmupOnly: "Warmup-only",
|
|
13124
|
-
InternalTestOnly: "Internal/test-only",
|
|
13125
|
-
};
|
|
13126
11077
|
/**
|
|
13127
11078
|
* Defines phone-number outbound health states used by pacing.
|
|
13128
11079
|
*/
|
|
@@ -13136,46 +11087,10 @@ export const PhoneNumberOutboundHealthStatusObject = {
|
|
|
13136
11087
|
Suspended: "suspended",
|
|
13137
11088
|
Disabled: "disabled",
|
|
13138
11089
|
};
|
|
13139
|
-
/**
|
|
13140
|
-
* Defines the supported Phone Number Provider Lifecycle State values.
|
|
13141
|
-
*/
|
|
13142
|
-
export const PhoneNumberProviderLifecycleStateObject = {
|
|
13143
|
-
Unknown: "Unknown",
|
|
13144
|
-
Requested: "Requested",
|
|
13145
|
-
Purchasing: "Purchasing",
|
|
13146
|
-
Purchased: "Purchased",
|
|
13147
|
-
Provisioning: "Provisioning",
|
|
13148
|
-
Active: "Active",
|
|
13149
|
-
Failed: "Failed",
|
|
13150
|
-
Released: "Released",
|
|
13151
|
-
Suspended: "Suspended",
|
|
13152
|
-
};
|
|
13153
|
-
/**
|
|
13154
|
-
* Defines the supported voice call warmup stages for a Leadping-managed phone number.
|
|
13155
|
-
*/
|
|
13156
|
-
export const PhoneNumberResponse_callWarmupStageObject = {
|
|
13157
|
-
Stage0: "Stage 0",
|
|
13158
|
-
Stage1: "Stage 1",
|
|
13159
|
-
Stage2: "Stage 2",
|
|
13160
|
-
Stage3: "Stage 3",
|
|
13161
|
-
Stage4: "Stage 4",
|
|
13162
|
-
};
|
|
13163
|
-
/**
|
|
13164
|
-
* Defines the supported health states for controlled internal voice call warmup.
|
|
13165
|
-
*/
|
|
13166
|
-
export const PhoneNumberResponse_callWarmupStateObject = {
|
|
13167
|
-
NotStarted: "Not Started",
|
|
13168
|
-
NotEligible: "Not Eligible",
|
|
13169
|
-
Warming: "Warming",
|
|
13170
|
-
Warmed: "Warmed",
|
|
13171
|
-
Paused: "Paused",
|
|
13172
|
-
NeedsAttention: "Needs Attention",
|
|
13173
|
-
Blocked: "Blocked",
|
|
13174
|
-
};
|
|
13175
11090
|
/**
|
|
13176
11091
|
* Defines the supported SMS Warmup Health State values.
|
|
13177
11092
|
*/
|
|
13178
|
-
export const
|
|
11093
|
+
export const PhoneNumberWarmup_healthStatusObject = {
|
|
13179
11094
|
NotStarted: "Not Started",
|
|
13180
11095
|
Warming: "Warming",
|
|
13181
11096
|
Healthy: "Healthy",
|
|
@@ -13187,7 +11102,7 @@ export const PhoneNumberResponse_healthStatusObject = {
|
|
|
13187
11102
|
/**
|
|
13188
11103
|
* Defines the supported SMS Warmup Health State values.
|
|
13189
11104
|
*/
|
|
13190
|
-
export const
|
|
11105
|
+
export const PhoneNumberWarmup_stateObject = {
|
|
13191
11106
|
NotStarted: "Not Started",
|
|
13192
11107
|
Warming: "Warming",
|
|
13193
11108
|
Healthy: "Healthy",
|
|
@@ -13196,130 +11111,6 @@ export const PhoneNumberResponse_warmupStateObject = {
|
|
|
13196
11111
|
Blocked: "Blocked",
|
|
13197
11112
|
Ready: "Ready",
|
|
13198
11113
|
};
|
|
13199
|
-
/**
|
|
13200
|
-
* Defines the supported voice call warmup stages for a Leadping-managed phone number.
|
|
13201
|
-
*/
|
|
13202
|
-
export const PhoneNumberTableRow_callWarmupStageObject = {
|
|
13203
|
-
Stage0: "Stage 0",
|
|
13204
|
-
Stage1: "Stage 1",
|
|
13205
|
-
Stage2: "Stage 2",
|
|
13206
|
-
Stage3: "Stage 3",
|
|
13207
|
-
Stage4: "Stage 4",
|
|
13208
|
-
};
|
|
13209
|
-
/**
|
|
13210
|
-
* Defines the supported health states for controlled internal voice call warmup.
|
|
13211
|
-
*/
|
|
13212
|
-
export const PhoneNumberTableRow_callWarmupStateObject = {
|
|
13213
|
-
NotStarted: "Not Started",
|
|
13214
|
-
NotEligible: "Not Eligible",
|
|
13215
|
-
Warming: "Warming",
|
|
13216
|
-
Warmed: "Warmed",
|
|
13217
|
-
Paused: "Paused",
|
|
13218
|
-
NeedsAttention: "Needs Attention",
|
|
13219
|
-
Blocked: "Blocked",
|
|
13220
|
-
};
|
|
13221
|
-
/**
|
|
13222
|
-
* Defines the supported SMS Warmup Health State values.
|
|
13223
|
-
*/
|
|
13224
|
-
export const PhoneNumberTableRow_healthStatusObject = {
|
|
13225
|
-
NotStarted: "Not Started",
|
|
13226
|
-
Warming: "Warming",
|
|
13227
|
-
Healthy: "Healthy",
|
|
13228
|
-
NeedsAttention: "Needs Attention",
|
|
13229
|
-
Paused: "Paused",
|
|
13230
|
-
Blocked: "Blocked",
|
|
13231
|
-
Ready: "Ready",
|
|
13232
|
-
};
|
|
13233
|
-
/**
|
|
13234
|
-
* Defines the supported SMS Warmup Health State values.
|
|
13235
|
-
*/
|
|
13236
|
-
export const PhoneNumberTableRow_warmupStateObject = {
|
|
13237
|
-
NotStarted: "Not Started",
|
|
13238
|
-
Warming: "Warming",
|
|
13239
|
-
Healthy: "Healthy",
|
|
13240
|
-
NeedsAttention: "Needs Attention",
|
|
13241
|
-
Paused: "Paused",
|
|
13242
|
-
Blocked: "Blocked",
|
|
13243
|
-
Ready: "Ready",
|
|
13244
|
-
};
|
|
13245
|
-
/**
|
|
13246
|
-
* Defines the durable state machine statuses for voice call warmup attempts.
|
|
13247
|
-
*/
|
|
13248
|
-
export const PhoneNumberWarmupCallStatusObject = {
|
|
13249
|
-
Created: "Created",
|
|
13250
|
-
Scheduled: "Scheduled",
|
|
13251
|
-
Placing: "Placing",
|
|
13252
|
-
Ringing: "Ringing",
|
|
13253
|
-
Answered: "Answered",
|
|
13254
|
-
Connected: "Connected",
|
|
13255
|
-
Completed: "Completed",
|
|
13256
|
-
Failed: "Failed",
|
|
13257
|
-
Canceled: "Canceled",
|
|
13258
|
-
Skipped: "Skipped",
|
|
13259
|
-
TimedOut: "TimedOut",
|
|
13260
|
-
};
|
|
13261
|
-
/**
|
|
13262
|
-
* Defines the supported health states for controlled internal voice call warmup.
|
|
13263
|
-
*/
|
|
13264
|
-
export const PhoneNumberWarmupHealthStatusObject = {
|
|
13265
|
-
NotStarted: "Not Started",
|
|
13266
|
-
NotEligible: "Not Eligible",
|
|
13267
|
-
Warming: "Warming",
|
|
13268
|
-
Warmed: "Warmed",
|
|
13269
|
-
Paused: "Paused",
|
|
13270
|
-
NeedsAttention: "Needs Attention",
|
|
13271
|
-
Blocked: "Blocked",
|
|
13272
|
-
};
|
|
13273
|
-
/**
|
|
13274
|
-
* Defines the supported voice call warmup stages for a Leadping-managed phone number.
|
|
13275
|
-
*/
|
|
13276
|
-
export const PhoneNumberWarmupStageObject = {
|
|
13277
|
-
Stage0: "Stage 0",
|
|
13278
|
-
Stage1: "Stage 1",
|
|
13279
|
-
Stage2: "Stage 2",
|
|
13280
|
-
Stage3: "Stage 3",
|
|
13281
|
-
Stage4: "Stage 4",
|
|
13282
|
-
};
|
|
13283
|
-
/**
|
|
13284
|
-
* Defines priority classes used when pacing outbound delivery.
|
|
13285
|
-
*/
|
|
13286
|
-
export const SendSmsRequest_outboundPriorityObject = {
|
|
13287
|
-
Critical_internal_notification: "critical_internal_notification",
|
|
13288
|
-
Fresh_inbound_lead_response: "fresh_inbound_lead_response",
|
|
13289
|
-
Manual_user_initiated: "manual_user_initiated",
|
|
13290
|
-
Active_conversation_reply: "active_conversation_reply",
|
|
13291
|
-
Automation_follow_up: "automation_follow_up",
|
|
13292
|
-
Campaign_message: "campaign_message",
|
|
13293
|
-
Imported_lead_campaign: "imported_lead_campaign",
|
|
13294
|
-
Warmup: "warmup",
|
|
13295
|
-
Retry: "retry",
|
|
13296
|
-
};
|
|
13297
|
-
/**
|
|
13298
|
-
* Defines the source that requested outbound delivery.
|
|
13299
|
-
*/
|
|
13300
|
-
export const SendSmsRequest_outboundSourceObject = {
|
|
13301
|
-
Manual: "manual",
|
|
13302
|
-
Automation: "automation",
|
|
13303
|
-
Campaign: "campaign",
|
|
13304
|
-
ImportEscaped: "import",
|
|
13305
|
-
Api: "api",
|
|
13306
|
-
System_notification: "system_notification",
|
|
13307
|
-
Warmup: "warmup",
|
|
13308
|
-
Retry: "retry",
|
|
13309
|
-
};
|
|
13310
|
-
/**
|
|
13311
|
-
* Defines the supported Outgoing Number Selection Reason values.
|
|
13312
|
-
*/
|
|
13313
|
-
export const SendSmsRequest_selectionReasonObject = {
|
|
13314
|
-
StickyConversation: "StickyConversation",
|
|
13315
|
-
LeadAssigned: "LeadAssigned",
|
|
13316
|
-
CampaignOrSource: "CampaignOrSource",
|
|
13317
|
-
Preferred: "Preferred",
|
|
13318
|
-
LocalArea: "LocalArea",
|
|
13319
|
-
HealthyPool: "HealthyPool",
|
|
13320
|
-
FallbackDefault: "FallbackDefault",
|
|
13321
|
-
ManualOverride: "ManualOverride",
|
|
13322
|
-
};
|
|
13323
11114
|
/**
|
|
13324
11115
|
* Defines the source that requested outbound delivery.
|
|
13325
11116
|
*/
|
|
@@ -13404,30 +11195,6 @@ export const SmsResponse_trafficTypeObject = {
|
|
|
13404
11195
|
SystemInternal: "SystemInternal",
|
|
13405
11196
|
FailedAttempt: "FailedAttempt",
|
|
13406
11197
|
};
|
|
13407
|
-
/**
|
|
13408
|
-
* Defines the supported SMS Warmup Action Status values.
|
|
13409
|
-
*/
|
|
13410
|
-
export const SmsWarmupActionStatusObject = {
|
|
13411
|
-
Scheduled: "Scheduled",
|
|
13412
|
-
Sending: "Sending",
|
|
13413
|
-
Sent: "Sent",
|
|
13414
|
-
Delivered: "Delivered",
|
|
13415
|
-
Received: "Received",
|
|
13416
|
-
Failed: "Failed",
|
|
13417
|
-
Skipped: "Skipped",
|
|
13418
|
-
Paused: "Paused",
|
|
13419
|
-
Blocked: "Blocked",
|
|
13420
|
-
Cancelled: "Cancelled",
|
|
13421
|
-
};
|
|
13422
|
-
/**
|
|
13423
|
-
* Defines the supported SMS Warmup Action Type values.
|
|
13424
|
-
*/
|
|
13425
|
-
export const SmsWarmupActionTypeObject = {
|
|
13426
|
-
OutboundMessage: "OutboundMessage",
|
|
13427
|
-
ReplyMessage: "ReplyMessage",
|
|
13428
|
-
HealthCheck: "HealthCheck",
|
|
13429
|
-
Audit: "Audit",
|
|
13430
|
-
};
|
|
13431
11198
|
/**
|
|
13432
11199
|
* Defines the supported SMS Warmup Health State values.
|
|
13433
11200
|
*/
|