@leadping/sdk 1.0.28 → 1.0.29

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.
Files changed (66) hide show
  1. package/dist/businesses/me/oneZerodlc/notes/index.d.ts +2 -2
  2. package/dist/contact/index.d.ts +10 -1
  3. package/dist/contact/index.d.ts.map +1 -1
  4. package/dist/contact/index.js +10 -0
  5. package/dist/contact/index.js.map +1 -1
  6. package/dist/contact/website/index.d.ts +78 -0
  7. package/dist/contact/website/index.d.ts.map +1 -0
  8. package/dist/contact/website/index.js +74 -0
  9. package/dist/contact/website/index.js.map +1 -0
  10. package/dist/dispositions/all/index.d.ts +20 -0
  11. package/dist/dispositions/all/index.d.ts.map +1 -0
  12. package/dist/dispositions/all/index.js +20 -0
  13. package/dist/dispositions/all/index.js.map +1 -0
  14. package/dist/dispositions/all/my/index.d.ts +31 -0
  15. package/dist/dispositions/all/my/index.d.ts.map +1 -0
  16. package/dist/dispositions/all/my/index.js +29 -0
  17. package/dist/dispositions/all/my/index.js.map +1 -0
  18. package/dist/dispositions/index.d.ts +5 -0
  19. package/dist/dispositions/index.d.ts.map +1 -1
  20. package/dist/dispositions/index.js +5 -0
  21. package/dist/dispositions/index.js.map +1 -1
  22. package/dist/leadStatuses/index.d.ts +2 -2
  23. package/dist/leadStatuses/index.js +1 -1
  24. package/dist/leadStatuses/index.js.map +1 -1
  25. package/dist/leadStatuses/item/index.d.ts +2 -2
  26. package/dist/leadStatuses/item/index.js +1 -1
  27. package/dist/leadStatuses/item/index.js.map +1 -1
  28. package/dist/leadpingOpenApiClient.d.ts.map +1 -1
  29. package/dist/leadpingOpenApiClient.js +2 -1
  30. package/dist/leadpingOpenApiClient.js.map +1 -1
  31. package/dist/models/index.d.ts +752 -98
  32. package/dist/models/index.d.ts.map +1 -1
  33. package/dist/models/index.js +717 -145
  34. package/dist/models/index.js.map +1 -1
  35. package/dist/sms/index.d.ts +5 -0
  36. package/dist/sms/index.d.ts.map +1 -1
  37. package/dist/sms/index.js +5 -0
  38. package/dist/sms/index.js.map +1 -1
  39. package/dist/sms/media/index.d.ts +97 -0
  40. package/dist/sms/media/index.d.ts.map +1 -0
  41. package/dist/sms/media/index.js +104 -0
  42. package/dist/sms/media/index.js.map +1 -0
  43. package/dist/suppressions/all/index.d.ts +20 -0
  44. package/dist/suppressions/all/index.d.ts.map +1 -0
  45. package/dist/suppressions/all/index.js +20 -0
  46. package/dist/suppressions/all/index.js.map +1 -0
  47. package/dist/suppressions/all/my/index.d.ts +31 -0
  48. package/dist/suppressions/all/my/index.d.ts.map +1 -0
  49. package/dist/suppressions/all/my/index.js +29 -0
  50. package/dist/suppressions/all/my/index.js.map +1 -0
  51. package/dist/suppressions/index.d.ts +12 -0
  52. package/dist/suppressions/index.d.ts.map +1 -1
  53. package/dist/suppressions/index.js +11 -0
  54. package/dist/suppressions/index.js.map +1 -1
  55. package/dist/suppressions/item/index.d.ts +30 -0
  56. package/dist/suppressions/item/index.d.ts.map +1 -0
  57. package/dist/{users/me/lastLogin → suppressions/item}/index.js +6 -6
  58. package/dist/suppressions/item/index.js.map +1 -0
  59. package/dist/users/me/index.d.ts +0 -5
  60. package/dist/users/me/index.d.ts.map +1 -1
  61. package/dist/users/me/index.js +0 -5
  62. package/dist/users/me/index.js.map +1 -1
  63. package/package.json +1 -1
  64. package/dist/users/me/lastLogin/index.d.ts +0 -30
  65. package/dist/users/me/lastLogin/index.d.ts.map +0 -1
  66. package/dist/users/me/lastLogin/index.js.map +0 -1
@@ -129,6 +129,15 @@ export function createAutomationConditionFromDiscriminatorValue(parseNode) {
129
129
  export function createAutomationConditionGroupFromDiscriminatorValue(parseNode) {
130
130
  return deserializeIntoAutomationConditionGroup;
131
131
  }
132
+ /**
133
+ * Creates a new instance of the appropriate class based on discriminator value
134
+ * @param parseNode The parse node to use to read the discriminator value and create the object
135
+ * @returns {AutomationConnection}
136
+ */
137
+ // @ts-ignore
138
+ export function createAutomationConnectionFromDiscriminatorValue(parseNode) {
139
+ return deserializeIntoAutomationConnection;
140
+ }
132
141
  /**
133
142
  * Creates a new instance of the appropriate class based on discriminator value
134
143
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -1155,6 +1164,15 @@ export function createLeadTableRowFromDiscriminatorValue(parseNode) {
1155
1164
  export function createLeadTagsRequestFromDiscriminatorValue(parseNode) {
1156
1165
  return deserializeIntoLeadTagsRequest;
1157
1166
  }
1167
+ /**
1168
+ * Creates a new instance of the appropriate class based on discriminator value
1169
+ * @param parseNode The parse node to use to read the discriminator value and create the object
1170
+ * @returns {MessageMediaAttachment}
1171
+ */
1172
+ // @ts-ignore
1173
+ export function createMessageMediaAttachmentFromDiscriminatorValue(parseNode) {
1174
+ return deserializeIntoMessageMediaAttachment;
1175
+ }
1158
1176
  /**
1159
1177
  * Creates a new instance of the appropriate class based on discriminator value
1160
1178
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -1281,6 +1299,15 @@ export function createPagedResultOfCallEventTableRowFromDiscriminatorValue(parse
1281
1299
  export function createPagedResultOfConversationResponseFromDiscriminatorValue(parseNode) {
1282
1300
  return deserializeIntoPagedResultOfConversationResponse;
1283
1301
  }
1302
+ /**
1303
+ * Creates a new instance of the appropriate class based on discriminator value
1304
+ * @param parseNode The parse node to use to read the discriminator value and create the object
1305
+ * @returns {PagedResultOfDispositionResponse}
1306
+ */
1307
+ // @ts-ignore
1308
+ export function createPagedResultOfDispositionResponseFromDiscriminatorValue(parseNode) {
1309
+ return deserializeIntoPagedResultOfDispositionResponse;
1310
+ }
1284
1311
  /**
1285
1312
  * Creates a new instance of the appropriate class based on discriminator value
1286
1313
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -1335,6 +1362,15 @@ export function createPagedResultOfSmsEventTableRowFromDiscriminatorValue(parseN
1335
1362
  export function createPagedResultOfSourceTableRowFromDiscriminatorValue(parseNode) {
1336
1363
  return deserializeIntoPagedResultOfSourceTableRow;
1337
1364
  }
1365
+ /**
1366
+ * Creates a new instance of the appropriate class based on discriminator value
1367
+ * @param parseNode The parse node to use to read the discriminator value and create the object
1368
+ * @returns {PagedResultOfSuppressionEntryResponse}
1369
+ */
1370
+ // @ts-ignore
1371
+ export function createPagedResultOfSuppressionEntryResponseFromDiscriminatorValue(parseNode) {
1372
+ return deserializeIntoPagedResultOfSuppressionEntryResponse;
1373
+ }
1338
1374
  /**
1339
1375
  * Creates a new instance of the appropriate class based on discriminator value
1340
1376
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -1380,6 +1416,15 @@ export function createPhoneFromDiscriminatorValue(parseNode) {
1380
1416
  export function createPhoneIdentityResponse_lookupFromDiscriminatorValue(parseNode) {
1381
1417
  return deserializeIntoPhoneIdentityResponse_lookup;
1382
1418
  }
1419
+ /**
1420
+ * Creates a new instance of the appropriate class based on discriminator value
1421
+ * @param parseNode The parse node to use to read the discriminator value and create the object
1422
+ * @returns {PhoneIdentityResponse_providerEnrichment}
1423
+ */
1424
+ // @ts-ignore
1425
+ export function createPhoneIdentityResponse_providerEnrichmentFromDiscriminatorValue(parseNode) {
1426
+ return deserializeIntoPhoneIdentityResponse_providerEnrichment;
1427
+ }
1383
1428
  /**
1384
1429
  * Creates a new instance of the appropriate class based on discriminator value
1385
1430
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -1398,6 +1443,15 @@ export function createPhoneIdentityResponseFromDiscriminatorValue(parseNode) {
1398
1443
  export function createPhoneLocationSourceFromDiscriminatorValue(parseNode) {
1399
1444
  return deserializeIntoPhoneLocationSource;
1400
1445
  }
1446
+ /**
1447
+ * Creates a new instance of the appropriate class based on discriminator value
1448
+ * @param parseNode The parse node to use to read the discriminator value and create the object
1449
+ * @returns {PhoneLookup_callerName}
1450
+ */
1451
+ // @ts-ignore
1452
+ export function createPhoneLookup_callerNameFromDiscriminatorValue(parseNode) {
1453
+ return deserializeIntoPhoneLookup_callerName;
1454
+ }
1401
1455
  /**
1402
1456
  * Creates a new instance of the appropriate class based on discriminator value
1403
1457
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -1416,6 +1470,24 @@ export function createPhoneLookup_carrierFromDiscriminatorValue(parseNode) {
1416
1470
  export function createPhoneLookup_locationFromDiscriminatorValue(parseNode) {
1417
1471
  return deserializeIntoPhoneLookup_location;
1418
1472
  }
1473
+ /**
1474
+ * Creates a new instance of the appropriate class based on discriminator value
1475
+ * @param parseNode The parse node to use to read the discriminator value and create the object
1476
+ * @returns {PhoneLookup_portability}
1477
+ */
1478
+ // @ts-ignore
1479
+ export function createPhoneLookup_portabilityFromDiscriminatorValue(parseNode) {
1480
+ return deserializeIntoPhoneLookup_portability;
1481
+ }
1482
+ /**
1483
+ * Creates a new instance of the appropriate class based on discriminator value
1484
+ * @param parseNode The parse node to use to read the discriminator value and create the object
1485
+ * @returns {PhoneLookupCallerName}
1486
+ */
1487
+ // @ts-ignore
1488
+ export function createPhoneLookupCallerNameFromDiscriminatorValue(parseNode) {
1489
+ return deserializeIntoPhoneLookupCallerName;
1490
+ }
1419
1491
  /**
1420
1492
  * Creates a new instance of the appropriate class based on discriminator value
1421
1493
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -1434,6 +1506,24 @@ export function createPhoneLookupCarrierFromDiscriminatorValue(parseNode) {
1434
1506
  export function createPhoneLookupFromDiscriminatorValue(parseNode) {
1435
1507
  return deserializeIntoPhoneLookup;
1436
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 {PhoneLookupPortability}
1513
+ */
1514
+ // @ts-ignore
1515
+ export function createPhoneLookupPortabilityFromDiscriminatorValue(parseNode) {
1516
+ return deserializeIntoPhoneLookupPortability;
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 {PhoneLookupProviderSnapshot}
1522
+ */
1523
+ // @ts-ignore
1524
+ export function createPhoneLookupProviderSnapshotFromDiscriminatorValue(parseNode) {
1525
+ return deserializeIntoPhoneLookupProviderSnapshot;
1526
+ }
1437
1527
  /**
1438
1528
  * Creates a new instance of the appropriate class based on discriminator value
1439
1529
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -2277,7 +2367,7 @@ export function deserializeIntoActivationDomainOption(activationDomainOption = {
2277
2367
  return {
2278
2368
  "availabilityStatus": n => { activationDomainOption.availabilityStatus = n.getStringValue(); },
2279
2369
  "domainName": n => { activationDomainOption.domainName = n.getStringValue(); },
2280
- "estimatedAnnualCost": n => { activationDomainOption.estimatedAnnualCost = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
2370
+ "estimatedAnnualCost": n => { activationDomainOption.estimatedAnnualCost = n.getNumberValue(); },
2281
2371
  "industryRelevance": n => { activationDomainOption.industryRelevance = n.getStringValue(); },
2282
2372
  "recommended": n => { activationDomainOption.recommended = n.getBooleanValue(); },
2283
2373
  "trustConcerns": n => { activationDomainOption.trustConcerns = n.getStringValue(); },
@@ -2321,7 +2411,7 @@ export function deserializeIntoActivationTimelineEvent_actor(activationTimelineE
2321
2411
  // @ts-ignore
2322
2412
  export function deserializeIntoAnalyticsComparison(analyticsComparison = {}) {
2323
2413
  return {
2324
- "changePercent": n => { analyticsComparison.changePercent = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
2414
+ "changePercent": n => { analyticsComparison.changePercent = n.getNumberValue(); },
2325
2415
  "current": n => { analyticsComparison.current = n.getNumberValue(); },
2326
2416
  "direction": n => { analyticsComparison.direction = n.getStringValue(); },
2327
2417
  "previous": n => { analyticsComparison.previous = n.getNumberValue(); },
@@ -2452,6 +2542,19 @@ export function deserializeIntoAutomationConditionGroup(automationConditionGroup
2452
2542
  "mode": n => { automationConditionGroup.mode = n.getStringValue(); },
2453
2543
  };
2454
2544
  }
2545
+ /**
2546
+ * The deserialization information for the current model
2547
+ * @param AutomationConnection The instance to deserialize into.
2548
+ * @returns {Record<string, (node: ParseNode) => void>}
2549
+ */
2550
+ // @ts-ignore
2551
+ export function deserializeIntoAutomationConnection(automationConnection = {}) {
2552
+ return {
2553
+ "id": n => { automationConnection.id = n.getStringValue(); },
2554
+ "sourceNodeId": n => { automationConnection.sourceNodeId = n.getStringValue(); },
2555
+ "targetNodeId": n => { automationConnection.targetNodeId = n.getStringValue(); },
2556
+ };
2557
+ }
2455
2558
  /**
2456
2559
  * The deserialization information for the current model
2457
2560
  * @param AutomationPreviewActionResult The instance to deserialize into.
@@ -2527,6 +2630,7 @@ export function deserializeIntoAutomationRequest(automationRequest = {}) {
2527
2630
  return {
2528
2631
  "actions": n => { automationRequest.actions = n.getCollectionOfObjectValues(createAutomationActionFromDiscriminatorValue); },
2529
2632
  "conditionGroups": n => { automationRequest.conditionGroups = n.getCollectionOfObjectValues(createAutomationConditionGroupFromDiscriminatorValue); },
2633
+ "connections": n => { automationRequest.connections = n.getCollectionOfObjectValues(createAutomationConnectionFromDiscriminatorValue); },
2530
2634
  "description": n => { automationRequest.description = n.getStringValue(); },
2531
2635
  "enabled": n => { automationRequest.enabled = n.getBooleanValue(); },
2532
2636
  "id": n => { automationRequest.id = n.getStringValue(); },
@@ -2548,6 +2652,7 @@ export function deserializeIntoAutomationRequestSnapshot(automationRequestSnapsh
2548
2652
  "actions": n => { automationRequestSnapshot.actions = n.getCollectionOfObjectValues(createAutomationActionFromDiscriminatorValue); },
2549
2653
  "businessId": n => { automationRequestSnapshot.businessId = n.getStringValue(); },
2550
2654
  "conditionGroups": n => { automationRequestSnapshot.conditionGroups = n.getCollectionOfObjectValues(createAutomationConditionGroupFromDiscriminatorValue); },
2655
+ "connections": n => { automationRequestSnapshot.connections = n.getCollectionOfObjectValues(createAutomationConnectionFromDiscriminatorValue); },
2551
2656
  "createdByUserId": n => { automationRequestSnapshot.createdByUserId = n.getStringValue(); },
2552
2657
  "description": n => { automationRequestSnapshot.description = n.getStringValue(); },
2553
2658
  "enabled": n => { automationRequestSnapshot.enabled = n.getBooleanValue(); },
@@ -2572,6 +2677,7 @@ export function deserializeIntoAutomationResponse(automationResponse = {}) {
2572
2677
  "business": n => { automationResponse.business = n.getObjectValue(createAutomationResponse_businessFromDiscriminatorValue); },
2573
2678
  "businessId": n => { automationResponse.businessId = n.getStringValue(); },
2574
2679
  "conditionGroups": n => { automationResponse.conditionGroups = n.getCollectionOfObjectValues(createAutomationConditionGroupFromDiscriminatorValue); },
2680
+ "connections": n => { automationResponse.connections = n.getCollectionOfObjectValues(createAutomationConnectionFromDiscriminatorValue); },
2575
2681
  "createdAt": n => { automationResponse.createdAt = n.getDateValue(); },
2576
2682
  "createdByUserId": n => { automationResponse.createdByUserId = n.getStringValue(); },
2577
2683
  "description": n => { automationResponse.description = n.getStringValue(); },
@@ -2787,7 +2893,7 @@ export function deserializeIntoAutomationWorkflowRunResponse(automationWorkflowR
2787
2893
  "cancelledAt": n => { automationWorkflowRunResponse.cancelledAt = n.getDateValue(); },
2788
2894
  "completedAt": n => { automationWorkflowRunResponse.completedAt = n.getDateValue(); },
2789
2895
  "currentStep": n => { automationWorkflowRunResponse.currentStep = n.getObjectValue(createAutomationWorkflowRunResponse_currentStepFromDiscriminatorValue); },
2790
- "currentStepOrder": n => { automationWorkflowRunResponse.currentStepOrder = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
2896
+ "currentStepOrder": n => { automationWorkflowRunResponse.currentStepOrder = n.getNumberValue(); },
2791
2897
  "events": n => { automationWorkflowRunResponse.events = n.getCollectionOfObjectValues(createAutomationWorkflowEventResponseFromDiscriminatorValue); },
2792
2898
  "failedAt": n => { automationWorkflowRunResponse.failedAt = n.getDateValue(); },
2793
2899
  "id": n => { automationWorkflowRunResponse.id = n.getStringValue(); },
@@ -2853,6 +2959,7 @@ export function deserializeIntoAutomationWorkflowStatusResponse(automationWorkfl
2853
2959
  export function deserializeIntoBusinessActivationState(businessActivationState = {}) {
2854
2960
  return {
2855
2961
  "activatedAt": n => { businessActivationState.activatedAt = n.getDateValue(); },
2962
+ "availableDomainCount": n => { businessActivationState.availableDomainCount = n.getNumberValue(); },
2856
2963
  "billingSubscriptionStatus": n => { businessActivationState.billingSubscriptionStatus = n.getEnumValue(ActivationSubscriptionStatusObject); },
2857
2964
  "businessDescription": n => { businessActivationState.businessDescription = n.getStringValue(); },
2858
2965
  "complianceNotes": n => { businessActivationState.complianceNotes = n.getStringValue(); },
@@ -2861,6 +2968,11 @@ export function deserializeIntoBusinessActivationState(businessActivationState =
2861
2968
  "customerFacingStatus": n => { businessActivationState.customerFacingStatus = n.getStringValue(); },
2862
2969
  "domainApprovedAt": n => { businessActivationState.domainApprovedAt = n.getDateValue(); },
2863
2970
  "domainOptions": n => { businessActivationState.domainOptions = n.getCollectionOfObjectValues(createActivationDomainOptionFromDiscriminatorValue); },
2971
+ "domainPurchasedAt": n => { businessActivationState.domainPurchasedAt = n.getDateValue(); },
2972
+ "domainSearchAttempt": n => { businessActivationState.domainSearchAttempt = n.getNumberValue(); },
2973
+ "domainSearchId": n => { businessActivationState.domainSearchId = n.getStringValue(); },
2974
+ "domainSearchStage": n => { businessActivationState.domainSearchStage = n.getEnumValue(BusinessActivationState_domainSearchStageObject); },
2975
+ "domainSearchUpdatedAt": n => { businessActivationState.domainSearchUpdatedAt = n.getDateValue(); },
2864
2976
  "events": n => { businessActivationState.events = n.getCollectionOfObjectValues(createActivationTimelineEventFromDiscriminatorValue); },
2865
2977
  "failedAt": n => { businessActivationState.failedAt = n.getDateValue(); },
2866
2978
  "industry": n => { businessActivationState.industry = n.getStringValue(); },
@@ -2885,6 +2997,7 @@ export function deserializeIntoBusinessActivationState(businessActivationState =
2885
2997
  "tenDlcDraft": n => { businessActivationState.tenDlcDraft = n.getObjectValue(createBusinessActivationState_tenDlcDraftFromDiscriminatorValue); },
2886
2998
  "tenDlcStatus": n => { businessActivationState.tenDlcStatus = n.getEnumValue(TenDlcApplicationStatusObject); },
2887
2999
  "updatedAt": n => { businessActivationState.updatedAt = n.getDateValue(); },
3000
+ "websiteGenerationResult": n => { businessActivationState.websiteGenerationResult = n.getStringValue(); },
2888
3001
  "websiteNeeds": n => { businessActivationState.websiteNeeds = n.getStringValue(); },
2889
3002
  "websiteStatus": n => { businessActivationState.websiteStatus = n.getEnumValue(WebsiteLifecycleStatusObject); },
2890
3003
  "websiteUrl": n => { businessActivationState.websiteUrl = n.getStringValue(); },
@@ -2910,8 +3023,8 @@ export function deserializeIntoBusinessActivationState_tenDlcDraft(businessActiv
2910
3023
  export function deserializeIntoBusinessBillingState(businessBillingState = {}) {
2911
3024
  return {
2912
3025
  "billingPlanChangeEffectiveAt": n => { businessBillingState.billingPlanChangeEffectiveAt = n.getDateValue(); },
2913
- "businessUserAssignedQuantity": n => { businessBillingState.businessUserAssignedQuantity = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
2914
- "businessUserQuantity": n => { businessBillingState.businessUserQuantity = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3026
+ "businessUserAssignedQuantity": n => { businessBillingState.businessUserAssignedQuantity = n.getNumberValue(); },
3027
+ "businessUserQuantity": n => { businessBillingState.businessUserQuantity = n.getNumberValue(); },
2915
3028
  "cancelAt": n => { businessBillingState.cancelAt = n.getDateValue(); },
2916
3029
  "dunning": n => { businessBillingState.dunning = n.getObjectValue(createBusinessBillingState_dunningFromDiscriminatorValue); },
2917
3030
  "hasPaymentMethod": n => { businessBillingState.hasPaymentMethod = n.getBooleanValue(); },
@@ -2919,7 +3032,8 @@ export function deserializeIntoBusinessBillingState(businessBillingState = {}) {
2919
3032
  "lastPaymentMethodEventAt": n => { businessBillingState.lastPaymentMethodEventAt = n.getDateValue(); },
2920
3033
  "lastSubscriptionEventAt": n => { businessBillingState.lastSubscriptionEventAt = n.getDateValue(); },
2921
3034
  "pendingBillingPlan": n => { businessBillingState.pendingBillingPlan = n.getEnumValue(BusinessBillingState_pendingBillingPlanObject); },
2922
- "phoneNumberQuantity": n => { businessBillingState.phoneNumberQuantity = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3035
+ "phoneNumberQuantity": n => { businessBillingState.phoneNumberQuantity = n.getNumberValue(); },
3036
+ "planPeriodStartAt": n => { businessBillingState.planPeriodStartAt = n.getDateValue(); },
2923
3037
  "planRenewalAt": n => { businessBillingState.planRenewalAt = n.getDateValue(); },
2924
3038
  };
2925
3039
  }
@@ -3000,7 +3114,7 @@ export function deserializeIntoBusinessInvitationResponse(businessInvitationResp
3000
3114
  "id": n => { businessInvitationResponse.id = n.getStringValue(); },
3001
3115
  "licenseActivatedAt": n => { businessInvitationResponse.licenseActivatedAt = n.getDateValue(); },
3002
3116
  "licenseBillingStatus": n => { businessInvitationResponse.licenseBillingStatus = n.getStringValue(); },
3003
- "licenseQuantity": n => { businessInvitationResponse.licenseQuantity = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3117
+ "licenseQuantity": n => { businessInvitationResponse.licenseQuantity = n.getNumberValue(); },
3004
3118
  "licenseReleasedAt": n => { businessInvitationResponse.licenseReleasedAt = n.getDateValue(); },
3005
3119
  "licenseRenewalDate": n => { businessInvitationResponse.licenseRenewalDate = n.getDateValue(); },
3006
3120
  "resentAt": n => { businessInvitationResponse.resentAt = n.getDateValue(); },
@@ -3028,7 +3142,7 @@ export function deserializeIntoBusinessInvitationTableRow(businessInvitationTabl
3028
3142
  "id": n => { businessInvitationTableRow.id = n.getStringValue(); },
3029
3143
  "licenseActivatedAt": n => { businessInvitationTableRow.licenseActivatedAt = n.getDateValue(); },
3030
3144
  "licenseBillingStatus": n => { businessInvitationTableRow.licenseBillingStatus = n.getStringValue(); },
3031
- "licenseQuantity": n => { businessInvitationTableRow.licenseQuantity = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3145
+ "licenseQuantity": n => { businessInvitationTableRow.licenseQuantity = n.getNumberValue(); },
3032
3146
  "licenseReleasedAt": n => { businessInvitationTableRow.licenseReleasedAt = n.getDateValue(); },
3033
3147
  "licenseRenewalDate": n => { businessInvitationTableRow.licenseRenewalDate = n.getDateValue(); },
3034
3148
  "resentAt": n => { businessInvitationTableRow.resentAt = n.getDateValue(); },
@@ -3048,9 +3162,9 @@ export function deserializeIntoBusinessInvitationTableRow(businessInvitationTabl
3048
3162
  export function deserializeIntoBusinessRequest(businessRequest = {}) {
3049
3163
  return {
3050
3164
  "address": n => { businessRequest.address = n.getObjectValue(createBusinessRequest_addressFromDiscriminatorValue); },
3051
- "autoRefillAmount": n => { businessRequest.autoRefillAmount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3165
+ "autoRefillAmount": n => { businessRequest.autoRefillAmount = n.getNumberValue(); },
3052
3166
  "autoRefillEnabled": n => { businessRequest.autoRefillEnabled = n.getBooleanValue(); },
3053
- "autoRefillTrigger": n => { businessRequest.autoRefillTrigger = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3167
+ "autoRefillTrigger": n => { businessRequest.autoRefillTrigger = n.getNumberValue(); },
3054
3168
  "billingAddress": n => { businessRequest.billingAddress = n.getObjectValue(createBusinessRequest_billingAddressFromDiscriminatorValue); },
3055
3169
  "billingName": n => { businessRequest.billingName = n.getStringValue(); },
3056
3170
  "billingTaxId": n => { businessRequest.billingTaxId = n.getStringValue(); },
@@ -3125,9 +3239,9 @@ export function deserializeIntoBusinessResponse(businessResponse = {}) {
3125
3239
  "accountBalance": n => { businessResponse.accountBalance = n.getNumberValue(); },
3126
3240
  "activation": n => { businessResponse.activation = n.getObjectValue(createBusinessResponse_activationFromDiscriminatorValue); },
3127
3241
  "address": n => { businessResponse.address = n.getObjectValue(createBusinessResponse_addressFromDiscriminatorValue); },
3128
- "autoRefillAmount": n => { businessResponse.autoRefillAmount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3242
+ "autoRefillAmount": n => { businessResponse.autoRefillAmount = n.getNumberValue(); },
3129
3243
  "autoRefillEnabled": n => { businessResponse.autoRefillEnabled = n.getBooleanValue(); },
3130
- "autoRefillTrigger": n => { businessResponse.autoRefillTrigger = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3244
+ "autoRefillTrigger": n => { businessResponse.autoRefillTrigger = n.getNumberValue(); },
3131
3245
  "billingAddress": n => { businessResponse.billingAddress = n.getObjectValue(createBusinessResponse_billingAddressFromDiscriminatorValue); },
3132
3246
  "billingName": n => { businessResponse.billingName = n.getStringValue(); },
3133
3247
  "billingPlan": n => { businessResponse.billingPlan = n.getEnumValue(BusinessResponse_billingPlanObject); },
@@ -3285,12 +3399,13 @@ export function deserializeIntoBusinessSwitchRequest(businessSwitchRequest = {})
3285
3399
  // @ts-ignore
3286
3400
  export function deserializeIntoBusinessTableRow(businessTableRow = {}) {
3287
3401
  return {
3288
- "accountBalance": n => { businessTableRow.accountBalance = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3402
+ "accountBalance": n => { businessTableRow.accountBalance = n.getNumberValue(); },
3289
3403
  "activationStatus": n => { businessTableRow.activationStatus = n.getEnumValue(BusinessTableRow_activationStatusObject); },
3290
3404
  "apiKeyExpiresAt": n => { businessTableRow.apiKeyExpiresAt = n.getDateValue(); },
3291
3405
  "apiKeyFirstUsedAt": n => { businessTableRow.apiKeyFirstUsedAt = n.getDateValue(); },
3292
3406
  "apiKeyIssuedAt": n => { businessTableRow.apiKeyIssuedAt = n.getDateValue(); },
3293
3407
  "apiKeyLastUsedAt": n => { businessTableRow.apiKeyLastUsedAt = n.getDateValue(); },
3408
+ "apiKeyPermissions": n => { businessTableRow.apiKeyPermissions = n.getCollectionOfPrimitiveValues("string"); },
3294
3409
  "apiKeyPreview": n => { businessTableRow.apiKeyPreview = n.getStringValue(); },
3295
3410
  "apiKeyTotalUses": n => { businessTableRow.apiKeyTotalUses = n.getNumberValue(); },
3296
3411
  "billingPlan": n => { businessTableRow.billingPlan = n.getEnumValue(BusinessTableRow_billingPlanObject); },
@@ -3352,7 +3467,7 @@ export function deserializeIntoBusinessUserResponse(businessUserResponse = {}) {
3352
3467
  "id": n => { businessUserResponse.id = n.getStringValue(); },
3353
3468
  "lastUsedAt": n => { businessUserResponse.lastUsedAt = n.getDateValue(); },
3354
3469
  "licenseBillingStatus": n => { businessUserResponse.licenseBillingStatus = n.getStringValue(); },
3355
- "licenseQuantity": n => { businessUserResponse.licenseQuantity = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3470
+ "licenseQuantity": n => { businessUserResponse.licenseQuantity = n.getNumberValue(); },
3356
3471
  "licenseRenewalDate": n => { businessUserResponse.licenseRenewalDate = n.getDateValue(); },
3357
3472
  "modifiedAt": n => { businessUserResponse.modifiedAt = n.getDateValue(); },
3358
3473
  "name": n => { businessUserResponse.name = n.getStringValue(); },
@@ -3389,21 +3504,23 @@ export function deserializeIntoBusinessUserTableRow(businessUserTableRow = {}) {
3389
3504
  export function deserializeIntoCallEventTableRow(callEventTableRow = {}) {
3390
3505
  return {
3391
3506
  "answeredAt": n => { callEventTableRow.answeredAt = n.getDateValue(); },
3392
- "billableAmount": n => { callEventTableRow.billableAmount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3393
- "billableSeconds": n => { callEventTableRow.billableSeconds = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3507
+ "billableAmount": n => { callEventTableRow.billableAmount = n.getNumberValue(); },
3508
+ "billableSeconds": n => { callEventTableRow.billableSeconds = n.getNumberValue(); },
3394
3509
  "billingStatus": n => { callEventTableRow.billingStatus = n.getStringValue(); },
3395
3510
  "business": n => { callEventTableRow.business = n.getStringValue(); },
3396
3511
  "businessId": n => { callEventTableRow.businessId = n.getStringValue(); },
3512
+ "businessName": n => { callEventTableRow.businessName = n.getStringValue(); },
3397
3513
  "callerId": n => { callEventTableRow.callerId = n.getStringValue(); },
3398
3514
  "conversationId": n => { callEventTableRow.conversationId = n.getStringValue(); },
3399
3515
  "createdAt": n => { callEventTableRow.createdAt = n.getDateValue(); },
3400
3516
  "direction": n => { callEventTableRow.direction = n.getStringValue(); },
3401
- "duration": n => { callEventTableRow.duration = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3517
+ "duration": n => { callEventTableRow.duration = n.getNumberValue(); },
3402
3518
  "endedAt": n => { callEventTableRow.endedAt = n.getDateValue(); },
3403
3519
  "fromPhoneNumber": n => { callEventTableRow.fromPhoneNumber = n.getStringValue(); },
3404
3520
  "fromPhoneNumberId": n => { callEventTableRow.fromPhoneNumberId = n.getStringValue(); },
3405
3521
  "id": n => { callEventTableRow.id = n.getStringValue(); },
3406
3522
  "leadId": n => { callEventTableRow.leadId = n.getStringValue(); },
3523
+ "leadName": n => { callEventTableRow.leadName = n.getStringValue(); },
3407
3524
  "recordingUrl": n => { callEventTableRow.recordingUrl = n.getStringValue(); },
3408
3525
  "status": n => { callEventTableRow.status = n.getEnumValue(CallEventTableRow_statusObject); },
3409
3526
  "statusReason": n => { callEventTableRow.statusReason = n.getStringValue(); },
@@ -3490,6 +3607,7 @@ export function deserializeIntoConversationResponse(conversationResponse = {}) {
3490
3607
  "isArchived": n => { conversationResponse.isArchived = n.getBooleanValue(); },
3491
3608
  "isUnread": n => { conversationResponse.isUnread = n.getBooleanValue(); },
3492
3609
  "lastEventAt": n => { conversationResponse.lastEventAt = n.getDateValue(); },
3610
+ "lastEventIsInternalNote": n => { conversationResponse.lastEventIsInternalNote = n.getBooleanValue(); },
3493
3611
  "lastName": n => { conversationResponse.lastName = n.getStringValue(); },
3494
3612
  "lastSnippet": n => { conversationResponse.lastSnippet = n.getStringValue(); },
3495
3613
  "leadId": n => { conversationResponse.leadId = n.getStringValue(); },
@@ -3619,14 +3737,14 @@ export function deserializeIntoCustomerAnalyticsResponse(customerAnalyticsRespon
3619
3737
  // @ts-ignore
3620
3738
  export function deserializeIntoCustomerAnalyticsSummary(customerAnalyticsSummary = {}) {
3621
3739
  return {
3622
- "averageResponseMinutes": n => { customerAnalyticsSummary.averageResponseMinutes = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3740
+ "averageResponseMinutes": n => { customerAnalyticsSummary.averageResponseMinutes = n.getNumberValue(); },
3623
3741
  "billingStatus": n => { customerAnalyticsSummary.billingStatus = n.getStringValue(); },
3624
3742
  "callMinutes": n => { customerAnalyticsSummary.callMinutes = n.getNumberValue(); },
3625
3743
  "callsPlaced": n => { customerAnalyticsSummary.callsPlaced = n.getNumberValue(); },
3626
3744
  "callsReceived": n => { customerAnalyticsSummary.callsReceived = n.getNumberValue(); },
3627
3745
  "leads": n => { customerAnalyticsSummary.leads = n.getNumberValue(); },
3628
3746
  "leadsComparison": n => { customerAnalyticsSummary.leadsComparison = n.getObjectValue(createAnalyticsComparisonFromDiscriminatorValue); },
3629
- "medianResponseMinutes": n => { customerAnalyticsSummary.medianResponseMinutes = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3747
+ "medianResponseMinutes": n => { customerAnalyticsSummary.medianResponseMinutes = n.getNumberValue(); },
3630
3748
  "missedCalls": n => { customerAnalyticsSummary.missedCalls = n.getNumberValue(); },
3631
3749
  "missedLeads": n => { customerAnalyticsSummary.missedLeads = n.getNumberValue(); },
3632
3750
  "respondedWithinFiveMinutesPercent": n => { customerAnalyticsSummary.respondedWithinFiveMinutesPercent = n.getNumberValue(); },
@@ -3767,9 +3885,9 @@ export function deserializeIntoCustomerNeedsAttentionItem(customerNeedsAttention
3767
3885
  // @ts-ignore
3768
3886
  export function deserializeIntoCustomerResponseMetrics(customerResponseMetrics = {}) {
3769
3887
  return {
3770
- "averageMinutes": n => { customerResponseMetrics.averageMinutes = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3888
+ "averageMinutes": n => { customerResponseMetrics.averageMinutes = n.getNumberValue(); },
3771
3889
  "averageMinutesTrend": n => { customerResponseMetrics.averageMinutesTrend = n.getCollectionOfObjectValues(createAnalyticsTrendPointOfdecimalFromDiscriminatorValue); },
3772
- "medianMinutes": n => { customerResponseMetrics.medianMinutes = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
3890
+ "medianMinutes": n => { customerResponseMetrics.medianMinutes = n.getNumberValue(); },
3773
3891
  "missedCalls": n => { customerResponseMetrics.missedCalls = n.getNumberValue(); },
3774
3892
  "respondedLeads": n => { customerResponseMetrics.respondedLeads = n.getNumberValue(); },
3775
3893
  "respondedWithinFiveMinutesPercent": n => { customerResponseMetrics.respondedWithinFiveMinutesPercent = n.getNumberValue(); },
@@ -3981,7 +4099,7 @@ export function deserializeIntoEventTableRow(eventTableRow = {}) {
3981
4099
  "actorDisplayName": n => { eventTableRow.actorDisplayName = n.getStringValue(); },
3982
4100
  "actorEmail": n => { eventTableRow.actorEmail = n.getStringValue(); },
3983
4101
  "actorUserId": n => { eventTableRow.actorUserId = n.getStringValue(); },
3984
- "billableAmount": n => { eventTableRow.billableAmount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4102
+ "billableAmount": n => { eventTableRow.billableAmount = n.getNumberValue(); },
3985
4103
  "billingStatus": n => { eventTableRow.billingStatus = n.getStringValue(); },
3986
4104
  "blockedAt": n => { eventTableRow.blockedAt = n.getDateValue(); },
3987
4105
  "campaignId": n => { eventTableRow.campaignId = n.getStringValue(); },
@@ -4002,6 +4120,7 @@ export function deserializeIntoEventTableRow(eventTableRow = {}) {
4002
4120
  "fromPhoneNumberId": n => { eventTableRow.fromPhoneNumberId = n.getStringValue(); },
4003
4121
  "id": n => { eventTableRow.id = n.getStringValue(); },
4004
4122
  "leadId": n => { eventTableRow.leadId = n.getStringValue(); },
4123
+ "media": n => { eventTableRow.media = n.getCollectionOfObjectValues(createMessageMediaAttachmentFromDiscriminatorValue); },
4005
4124
  "nextRetryAt": n => { eventTableRow.nextRetryAt = n.getDateValue(); },
4006
4125
  "outboundPhoneNumberId": n => { eventTableRow.outboundPhoneNumberId = n.getStringValue(); },
4007
4126
  "queuedAt": n => { eventTableRow.queuedAt = n.getDateValue(); },
@@ -4204,7 +4323,7 @@ export function deserializeIntoLeadIntakeRequest(leadIntakeRequest = {}) {
4204
4323
  "birthDate": n => { leadIntakeRequest.birthDate = n.getDateOnlyValue(); },
4205
4324
  "city": n => { leadIntakeRequest.city = n.getStringValue(); },
4206
4325
  "dateOfBirth": n => { leadIntakeRequest.dateOfBirth = n.getDateOnlyValue(); },
4207
- "directPostPrice": n => { leadIntakeRequest.directPostPrice = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4326
+ "directPostPrice": n => { leadIntakeRequest.directPostPrice = n.getNumberValue(); },
4208
4327
  "email": n => { leadIntakeRequest.email = n.getStringValue(); },
4209
4328
  "externalId": n => { leadIntakeRequest.externalId = n.getStringValue(); },
4210
4329
  "firstName": n => { leadIntakeRequest.firstName = n.getStringValue(); },
@@ -4214,7 +4333,7 @@ export function deserializeIntoLeadIntakeRequest(leadIntakeRequest = {}) {
4214
4333
  "phone": n => { leadIntakeRequest.phone = n.getStringValue(); },
4215
4334
  "phoneType": n => { leadIntakeRequest.phoneType = n.getStringValue(); },
4216
4335
  "postalCode": n => { leadIntakeRequest.postalCode = n.getStringValue(); },
4217
- "price": n => { leadIntakeRequest.price = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4336
+ "price": n => { leadIntakeRequest.price = n.getNumberValue(); },
4218
4337
  "product": n => { leadIntakeRequest.product = n.getStringValue(); },
4219
4338
  "referrer": n => { leadIntakeRequest.referrer = n.getStringValue(); },
4220
4339
  "sellerLeadId": n => { leadIntakeRequest.sellerLeadId = n.getStringValue(); },
@@ -4256,14 +4375,14 @@ export function deserializeIntoLeadMetadata(leadMetadata = {}) {
4256
4375
  "complianceBlockedReason": n => { leadMetadata.complianceBlockedReason = n.getStringValue(); },
4257
4376
  "complianceStatus": n => { leadMetadata.complianceStatus = n.getStringValue(); },
4258
4377
  "createdAt": n => { leadMetadata.createdAt = n.getDateValue(); },
4259
- "directPostPrice": n => { leadMetadata.directPostPrice = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4378
+ "directPostPrice": n => { leadMetadata.directPostPrice = n.getNumberValue(); },
4260
4379
  "externalId": n => { leadMetadata.externalId = n.getStringValue(); },
4261
4380
  "importBatchId": n => { leadMetadata.importBatchId = n.getStringValue(); },
4262
4381
  "ipAddress": n => { leadMetadata.ipAddress = n.getStringValue(); },
4263
4382
  "isImported": n => { leadMetadata.isImported = n.getBooleanValue(); },
4264
4383
  "landingPage": n => { leadMetadata.landingPage = n.getStringValue(); },
4265
4384
  "origin": n => { leadMetadata.origin = n.getStringValue(); },
4266
- "price": n => { leadMetadata.price = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4385
+ "price": n => { leadMetadata.price = n.getNumberValue(); },
4267
4386
  "product": n => { leadMetadata.product = n.getStringValue(); },
4268
4387
  "pubId": n => { leadMetadata.pubId = n.getStringValue(); },
4269
4388
  "referrer": n => { leadMetadata.referrer = n.getStringValue(); },
@@ -4276,6 +4395,7 @@ export function deserializeIntoLeadMetadata(leadMetadata = {}) {
4276
4395
  "smsOptOutAt": n => { leadMetadata.smsOptOutAt = n.getDateValue(); },
4277
4396
  "sourceMetadata": n => { leadMetadata.sourceMetadata = n.getObjectValue(createLeadMetadata_sourceMetadataFromDiscriminatorValue); },
4278
4397
  "subId": n => { leadMetadata.subId = n.getStringValue(); },
4398
+ "trustedFormCheckedAt": n => { leadMetadata.trustedFormCheckedAt = n.getDateValue(); },
4279
4399
  "trustedFormUrl": n => { leadMetadata.trustedFormUrl = n.getStringValue(); },
4280
4400
  "userAgent": n => { leadMetadata.userAgent = n.getStringValue(); },
4281
4401
  "userId": n => { leadMetadata.userId = n.getStringValue(); },
@@ -4305,18 +4425,18 @@ export function deserializeIntoLeadMetadata_sourceMetadata(leadMetadata_sourceMe
4305
4425
  export function deserializeIntoLeadProfile(leadProfile = {}) {
4306
4426
  return {
4307
4427
  "birthDate": n => { leadProfile.birthDate = n.getDateOnlyValue(); },
4308
- "creditScore": n => { leadProfile.creditScore = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4428
+ "creditScore": n => { leadProfile.creditScore = n.getNumberValue(); },
4309
4429
  "employmentType": n => { leadProfile.employmentType = n.getEnumValue(LeadProfile_employmentTypeObject); },
4310
4430
  "gender": n => { leadProfile.gender = n.getEnumValue(LeadProfile_genderObject); },
4311
4431
  "hasBankruptcy": n => { leadProfile.hasBankruptcy = n.getBooleanValue(); },
4312
4432
  "hasMedicalCondition": n => { leadProfile.hasMedicalCondition = n.getBooleanValue(); },
4313
- "height": n => { leadProfile.height = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4314
- "income": n => { leadProfile.income = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4433
+ "height": n => { leadProfile.height = n.getNumberValue(); },
4434
+ "income": n => { leadProfile.income = n.getNumberValue(); },
4315
4435
  "isHomeowner": n => { leadProfile.isHomeowner = n.getBooleanValue(); },
4316
4436
  "maritalStatus": n => { leadProfile.maritalStatus = n.getEnumValue(LeadProfile_maritalStatusObject); },
4317
- "monthsAtResidence": n => { leadProfile.monthsAtResidence = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4318
- "numberOfDependents": n => { leadProfile.numberOfDependents = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4319
- "weight": n => { leadProfile.weight = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4437
+ "monthsAtResidence": n => { leadProfile.monthsAtResidence = n.getNumberValue(); },
4438
+ "numberOfDependents": n => { leadProfile.numberOfDependents = n.getNumberValue(); },
4439
+ "weight": n => { leadProfile.weight = n.getNumberValue(); },
4320
4440
  };
4321
4441
  }
4322
4442
  /**
@@ -4394,7 +4514,7 @@ export function deserializeIntoLeadStatusRequest(leadStatusRequest = {}) {
4394
4514
  "category": n => { leadStatusRequest.category = n.getEnumValue(LeadStatusRequest_categoryObject); },
4395
4515
  "color": n => { leadStatusRequest.color = n.getStringValue(); },
4396
4516
  "name": n => { leadStatusRequest.name = n.getStringValue(); },
4397
- "sortOrder": n => { leadStatusRequest.sortOrder = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4517
+ "sortOrder": n => { leadStatusRequest.sortOrder = n.getNumberValue(); },
4398
4518
  };
4399
4519
  }
4400
4520
  /**
@@ -4436,7 +4556,7 @@ export function deserializeIntoLeadTableRow(leadTableRow = {}) {
4436
4556
  "isArchived": n => { leadTableRow.isArchived = n.getBooleanValue(); },
4437
4557
  "lastName": n => { leadTableRow.lastName = n.getStringValue(); },
4438
4558
  "phone": n => { leadTableRow.phone = n.getStringValue(); },
4439
- "price": n => { leadTableRow.price = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4559
+ "price": n => { leadTableRow.price = n.getNumberValue(); },
4440
4560
  "source": n => { leadTableRow.source = n.getObjectValue(createLeadTableRow_sourceFromDiscriminatorValue); },
4441
4561
  "status": n => { leadTableRow.status = n.getStringValue(); },
4442
4562
  "statusTone": n => { leadTableRow.statusTone = n.getStringValue(); },
@@ -4490,6 +4610,21 @@ export function deserializeIntoLeadTagsRequest(leadTagsRequest = {}) {
4490
4610
  "tagNames": n => { leadTagsRequest.tagNames = n.getCollectionOfPrimitiveValues("string"); },
4491
4611
  };
4492
4612
  }
4613
+ /**
4614
+ * The deserialization information for the current model
4615
+ * @param MessageMediaAttachment The instance to deserialize into.
4616
+ * @returns {Record<string, (node: ParseNode) => void>}
4617
+ */
4618
+ // @ts-ignore
4619
+ export function deserializeIntoMessageMediaAttachment(messageMediaAttachment = {}) {
4620
+ return {
4621
+ "contentType": n => { messageMediaAttachment.contentType = n.getStringValue(); },
4622
+ "fileName": n => { messageMediaAttachment.fileName = n.getStringValue(); },
4623
+ "sha256": n => { messageMediaAttachment.sha256 = n.getStringValue(); },
4624
+ "size": n => { messageMediaAttachment.size = n.getNumberValue(); },
4625
+ "url": n => { messageMediaAttachment.url = n.getStringValue(); },
4626
+ };
4627
+ }
4493
4628
  /**
4494
4629
  * The deserialization information for the current model
4495
4630
  * @param MobileDevicePreferences The instance to deserialize into.
@@ -4695,7 +4830,7 @@ export function deserializeIntoPagedResultOfAutomationTableRow(pagedResultOfAuto
4695
4830
  "continuationToken": n => { pagedResultOfAutomationTableRow.continuationToken = n.getStringValue(); },
4696
4831
  "items": n => { pagedResultOfAutomationTableRow.items = n.getCollectionOfObjectValues(createAutomationTableRowFromDiscriminatorValue); },
4697
4832
  "pageSize": n => { pagedResultOfAutomationTableRow.pageSize = n.getNumberValue(); },
4698
- "totalCount": n => { pagedResultOfAutomationTableRow.totalCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4833
+ "totalCount": n => { pagedResultOfAutomationTableRow.totalCount = n.getNumberValue(); },
4699
4834
  };
4700
4835
  }
4701
4836
  /**
@@ -4709,7 +4844,7 @@ export function deserializeIntoPagedResultOfBusinessTableRow(pagedResultOfBusine
4709
4844
  "continuationToken": n => { pagedResultOfBusinessTableRow.continuationToken = n.getStringValue(); },
4710
4845
  "items": n => { pagedResultOfBusinessTableRow.items = n.getCollectionOfObjectValues(createBusinessTableRowFromDiscriminatorValue); },
4711
4846
  "pageSize": n => { pagedResultOfBusinessTableRow.pageSize = n.getNumberValue(); },
4712
- "totalCount": n => { pagedResultOfBusinessTableRow.totalCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4847
+ "totalCount": n => { pagedResultOfBusinessTableRow.totalCount = n.getNumberValue(); },
4713
4848
  };
4714
4849
  }
4715
4850
  /**
@@ -4723,7 +4858,7 @@ export function deserializeIntoPagedResultOfCallEventTableRow(pagedResultOfCallE
4723
4858
  "continuationToken": n => { pagedResultOfCallEventTableRow.continuationToken = n.getStringValue(); },
4724
4859
  "items": n => { pagedResultOfCallEventTableRow.items = n.getCollectionOfObjectValues(createCallEventTableRowFromDiscriminatorValue); },
4725
4860
  "pageSize": n => { pagedResultOfCallEventTableRow.pageSize = n.getNumberValue(); },
4726
- "totalCount": n => { pagedResultOfCallEventTableRow.totalCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4861
+ "totalCount": n => { pagedResultOfCallEventTableRow.totalCount = n.getNumberValue(); },
4727
4862
  };
4728
4863
  }
4729
4864
  /**
@@ -4737,7 +4872,21 @@ export function deserializeIntoPagedResultOfConversationResponse(pagedResultOfCo
4737
4872
  "continuationToken": n => { pagedResultOfConversationResponse.continuationToken = n.getStringValue(); },
4738
4873
  "items": n => { pagedResultOfConversationResponse.items = n.getCollectionOfObjectValues(createConversationResponseFromDiscriminatorValue); },
4739
4874
  "pageSize": n => { pagedResultOfConversationResponse.pageSize = n.getNumberValue(); },
4740
- "totalCount": n => { pagedResultOfConversationResponse.totalCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4875
+ "totalCount": n => { pagedResultOfConversationResponse.totalCount = n.getNumberValue(); },
4876
+ };
4877
+ }
4878
+ /**
4879
+ * The deserialization information for the current model
4880
+ * @param PagedResultOfDispositionResponse The instance to deserialize into.
4881
+ * @returns {Record<string, (node: ParseNode) => void>}
4882
+ */
4883
+ // @ts-ignore
4884
+ export function deserializeIntoPagedResultOfDispositionResponse(pagedResultOfDispositionResponse = {}) {
4885
+ return {
4886
+ "continuationToken": n => { pagedResultOfDispositionResponse.continuationToken = n.getStringValue(); },
4887
+ "items": n => { pagedResultOfDispositionResponse.items = n.getCollectionOfObjectValues(createDispositionResponseFromDiscriminatorValue); },
4888
+ "pageSize": n => { pagedResultOfDispositionResponse.pageSize = n.getNumberValue(); },
4889
+ "totalCount": n => { pagedResultOfDispositionResponse.totalCount = n.getNumberValue(); },
4741
4890
  };
4742
4891
  }
4743
4892
  /**
@@ -4751,7 +4900,7 @@ export function deserializeIntoPagedResultOfEventTableRow(pagedResultOfEventTabl
4751
4900
  "continuationToken": n => { pagedResultOfEventTableRow.continuationToken = n.getStringValue(); },
4752
4901
  "items": n => { pagedResultOfEventTableRow.items = n.getCollectionOfObjectValues(createEventTableRowFromDiscriminatorValue); },
4753
4902
  "pageSize": n => { pagedResultOfEventTableRow.pageSize = n.getNumberValue(); },
4754
- "totalCount": n => { pagedResultOfEventTableRow.totalCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4903
+ "totalCount": n => { pagedResultOfEventTableRow.totalCount = n.getNumberValue(); },
4755
4904
  };
4756
4905
  }
4757
4906
  /**
@@ -4765,7 +4914,7 @@ export function deserializeIntoPagedResultOfLeadTableRow(pagedResultOfLeadTableR
4765
4914
  "continuationToken": n => { pagedResultOfLeadTableRow.continuationToken = n.getStringValue(); },
4766
4915
  "items": n => { pagedResultOfLeadTableRow.items = n.getCollectionOfObjectValues(createLeadTableRowFromDiscriminatorValue); },
4767
4916
  "pageSize": n => { pagedResultOfLeadTableRow.pageSize = n.getNumberValue(); },
4768
- "totalCount": n => { pagedResultOfLeadTableRow.totalCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4917
+ "totalCount": n => { pagedResultOfLeadTableRow.totalCount = n.getNumberValue(); },
4769
4918
  };
4770
4919
  }
4771
4920
  /**
@@ -4779,7 +4928,7 @@ export function deserializeIntoPagedResultOfNotificationTableRow(pagedResultOfNo
4779
4928
  "continuationToken": n => { pagedResultOfNotificationTableRow.continuationToken = n.getStringValue(); },
4780
4929
  "items": n => { pagedResultOfNotificationTableRow.items = n.getCollectionOfObjectValues(createNotificationTableRowFromDiscriminatorValue); },
4781
4930
  "pageSize": n => { pagedResultOfNotificationTableRow.pageSize = n.getNumberValue(); },
4782
- "totalCount": n => { pagedResultOfNotificationTableRow.totalCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4931
+ "totalCount": n => { pagedResultOfNotificationTableRow.totalCount = n.getNumberValue(); },
4783
4932
  };
4784
4933
  }
4785
4934
  /**
@@ -4793,7 +4942,7 @@ export function deserializeIntoPagedResultOfPhoneNumberTableRow(pagedResultOfPho
4793
4942
  "continuationToken": n => { pagedResultOfPhoneNumberTableRow.continuationToken = n.getStringValue(); },
4794
4943
  "items": n => { pagedResultOfPhoneNumberTableRow.items = n.getCollectionOfObjectValues(createPhoneNumberTableRowFromDiscriminatorValue); },
4795
4944
  "pageSize": n => { pagedResultOfPhoneNumberTableRow.pageSize = n.getNumberValue(); },
4796
- "totalCount": n => { pagedResultOfPhoneNumberTableRow.totalCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4945
+ "totalCount": n => { pagedResultOfPhoneNumberTableRow.totalCount = n.getNumberValue(); },
4797
4946
  };
4798
4947
  }
4799
4948
  /**
@@ -4807,7 +4956,7 @@ export function deserializeIntoPagedResultOfSmsEventTableRow(pagedResultOfSmsEve
4807
4956
  "continuationToken": n => { pagedResultOfSmsEventTableRow.continuationToken = n.getStringValue(); },
4808
4957
  "items": n => { pagedResultOfSmsEventTableRow.items = n.getCollectionOfObjectValues(createSmsEventTableRowFromDiscriminatorValue); },
4809
4958
  "pageSize": n => { pagedResultOfSmsEventTableRow.pageSize = n.getNumberValue(); },
4810
- "totalCount": n => { pagedResultOfSmsEventTableRow.totalCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4959
+ "totalCount": n => { pagedResultOfSmsEventTableRow.totalCount = n.getNumberValue(); },
4811
4960
  };
4812
4961
  }
4813
4962
  /**
@@ -4821,7 +4970,21 @@ export function deserializeIntoPagedResultOfSourceTableRow(pagedResultOfSourceTa
4821
4970
  "continuationToken": n => { pagedResultOfSourceTableRow.continuationToken = n.getStringValue(); },
4822
4971
  "items": n => { pagedResultOfSourceTableRow.items = n.getCollectionOfObjectValues(createSourceTableRowFromDiscriminatorValue); },
4823
4972
  "pageSize": n => { pagedResultOfSourceTableRow.pageSize = n.getNumberValue(); },
4824
- "totalCount": n => { pagedResultOfSourceTableRow.totalCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
4973
+ "totalCount": n => { pagedResultOfSourceTableRow.totalCount = n.getNumberValue(); },
4974
+ };
4975
+ }
4976
+ /**
4977
+ * The deserialization information for the current model
4978
+ * @param PagedResultOfSuppressionEntryResponse The instance to deserialize into.
4979
+ * @returns {Record<string, (node: ParseNode) => void>}
4980
+ */
4981
+ // @ts-ignore
4982
+ export function deserializeIntoPagedResultOfSuppressionEntryResponse(pagedResultOfSuppressionEntryResponse = {}) {
4983
+ return {
4984
+ "continuationToken": n => { pagedResultOfSuppressionEntryResponse.continuationToken = n.getStringValue(); },
4985
+ "items": n => { pagedResultOfSuppressionEntryResponse.items = n.getCollectionOfObjectValues(createSuppressionEntryResponseFromDiscriminatorValue); },
4986
+ "pageSize": n => { pagedResultOfSuppressionEntryResponse.pageSize = n.getNumberValue(); },
4987
+ "totalCount": n => { pagedResultOfSuppressionEntryResponse.totalCount = n.getNumberValue(); },
4825
4988
  };
4826
4989
  }
4827
4990
  /**
@@ -4835,7 +4998,7 @@ export function deserializeIntoPagedResultOfTransactionTableRow(pagedResultOfTra
4835
4998
  "continuationToken": n => { pagedResultOfTransactionTableRow.continuationToken = n.getStringValue(); },
4836
4999
  "items": n => { pagedResultOfTransactionTableRow.items = n.getCollectionOfObjectValues(createTransactionTableRowFromDiscriminatorValue); },
4837
5000
  "pageSize": n => { pagedResultOfTransactionTableRow.pageSize = n.getNumberValue(); },
4838
- "totalCount": n => { pagedResultOfTransactionTableRow.totalCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5001
+ "totalCount": n => { pagedResultOfTransactionTableRow.totalCount = n.getNumberValue(); },
4839
5002
  };
4840
5003
  }
4841
5004
  /**
@@ -4849,7 +5012,7 @@ export function deserializeIntoPagedResultOfUsageLedgerTableRow(pagedResultOfUsa
4849
5012
  "continuationToken": n => { pagedResultOfUsageLedgerTableRow.continuationToken = n.getStringValue(); },
4850
5013
  "items": n => { pagedResultOfUsageLedgerTableRow.items = n.getCollectionOfObjectValues(createUsageLedgerTableRowFromDiscriminatorValue); },
4851
5014
  "pageSize": n => { pagedResultOfUsageLedgerTableRow.pageSize = n.getNumberValue(); },
4852
- "totalCount": n => { pagedResultOfUsageLedgerTableRow.totalCount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5015
+ "totalCount": n => { pagedResultOfUsageLedgerTableRow.totalCount = n.getNumberValue(); },
4853
5016
  };
4854
5017
  }
4855
5018
  /**
@@ -4874,14 +5037,14 @@ export function deserializeIntoPhone(phone = {}) {
4874
5037
  export function deserializeIntoPhoneCallResponse(phoneCallResponse = {}) {
4875
5038
  return {
4876
5039
  "answeredAt": n => { phoneCallResponse.answeredAt = n.getDateValue(); },
4877
- "billableAmount": n => { phoneCallResponse.billableAmount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5040
+ "billableAmount": n => { phoneCallResponse.billableAmount = n.getNumberValue(); },
4878
5041
  "billingStatus": n => { phoneCallResponse.billingStatus = n.getStringValue(); },
4879
5042
  "callerId": n => { phoneCallResponse.callerId = n.getStringValue(); },
4880
5043
  "campaignId": n => { phoneCallResponse.campaignId = n.getStringValue(); },
4881
5044
  "conversationId": n => { phoneCallResponse.conversationId = n.getStringValue(); },
4882
5045
  "createdAt": n => { phoneCallResponse.createdAt = n.getDateValue(); },
4883
5046
  "direction": n => { phoneCallResponse.direction = n.getStringValue(); },
4884
- "durationSeconds": n => { phoneCallResponse.durationSeconds = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5047
+ "durationSeconds": n => { phoneCallResponse.durationSeconds = n.getNumberValue(); },
4885
5048
  "endedAt": n => { phoneCallResponse.endedAt = n.getDateValue(); },
4886
5049
  "fromPhoneNumber": n => { phoneCallResponse.fromPhoneNumber = n.getStringValue(); },
4887
5050
  "fromPhoneNumberId": n => { phoneCallResponse.fromPhoneNumberId = n.getStringValue(); },
@@ -4915,6 +5078,7 @@ export function deserializeIntoPhoneIdentityResponse(phoneIdentityResponse = {})
4915
5078
  "modifiedAt": n => { phoneIdentityResponse.modifiedAt = n.getDateValue(); },
4916
5079
  "name": n => { phoneIdentityResponse.name = n.getStringValue(); },
4917
5080
  "number": n => { phoneIdentityResponse.number = n.getStringValue(); },
5081
+ "providerEnrichment": n => { phoneIdentityResponse.providerEnrichment = n.getObjectValue(createPhoneIdentityResponse_providerEnrichmentFromDiscriminatorValue); },
4918
5082
  };
4919
5083
  }
4920
5084
  /**
@@ -4928,6 +5092,17 @@ export function deserializeIntoPhoneIdentityResponse_lookup(phoneIdentityRespons
4928
5092
  ...deserializeIntoPhoneLookup(phoneIdentityResponse_lookup),
4929
5093
  };
4930
5094
  }
5095
+ /**
5096
+ * The deserialization information for the current model
5097
+ * @param PhoneIdentityResponse_providerEnrichment The instance to deserialize into.
5098
+ * @returns {Record<string, (node: ParseNode) => void>}
5099
+ */
5100
+ // @ts-ignore
5101
+ export function deserializeIntoPhoneIdentityResponse_providerEnrichment(phoneIdentityResponse_providerEnrichment = {}) {
5102
+ return {
5103
+ ...deserializeIntoPhoneLookupProviderSnapshot(phoneIdentityResponse_providerEnrichment),
5104
+ };
5105
+ }
4931
5106
  /**
4932
5107
  * The deserialization information for the current model
4933
5108
  * @param PhoneLocationSource The instance to deserialize into.
@@ -4948,14 +5123,30 @@ export function deserializeIntoPhoneLocationSource(phoneLocationSource = {}) {
4948
5123
  // @ts-ignore
4949
5124
  export function deserializeIntoPhoneLookup(phoneLookup = {}) {
4950
5125
  return {
5126
+ "callerName": n => { phoneLookup.callerName = n.getObjectValue(createPhoneLookup_callerNameFromDiscriminatorValue); },
4951
5127
  "carrier": n => { phoneLookup.carrier = n.getObjectValue(createPhoneLookup_carrierFromDiscriminatorValue); },
4952
5128
  "createdAt": n => { phoneLookup.createdAt = n.getDateValue(); },
5129
+ "fraud": n => { phoneLookup.fraud = n.getStringValue(); },
4953
5130
  "id": n => { phoneLookup.id = n.getStringValue(); },
4954
5131
  "isValid": n => { phoneLookup.isValid = n.getBooleanValue(); },
4955
5132
  "lineType": n => { phoneLookup.lineType = n.getEnumValue(PhoneLookup_lineTypeObject); },
4956
5133
  "location": n => { phoneLookup.location = n.getObjectValue(createPhoneLookup_locationFromDiscriminatorValue); },
4957
5134
  "modifiedAt": n => { phoneLookup.modifiedAt = n.getDateValue(); },
5135
+ "nationalFormat": n => { phoneLookup.nationalFormat = n.getStringValue(); },
4958
5136
  "number": n => { phoneLookup.number = n.getStringValue(); },
5137
+ "portability": n => { phoneLookup.portability = n.getObjectValue(createPhoneLookup_portabilityFromDiscriminatorValue); },
5138
+ "recordType": n => { phoneLookup.recordType = n.getStringValue(); },
5139
+ };
5140
+ }
5141
+ /**
5142
+ * The deserialization information for the current model
5143
+ * @param PhoneLookup_callerName The instance to deserialize into.
5144
+ * @returns {Record<string, (node: ParseNode) => void>}
5145
+ */
5146
+ // @ts-ignore
5147
+ export function deserializeIntoPhoneLookup_callerName(phoneLookup_callerName = {}) {
5148
+ return {
5149
+ ...deserializeIntoPhoneLookupCallerName(phoneLookup_callerName),
4959
5150
  };
4960
5151
  }
4961
5152
  /**
@@ -4980,6 +5171,29 @@ export function deserializeIntoPhoneLookup_location(phoneLookup_location = {}) {
4980
5171
  ...deserializeIntoPhoneNumberLocation(phoneLookup_location),
4981
5172
  };
4982
5173
  }
5174
+ /**
5175
+ * The deserialization information for the current model
5176
+ * @param PhoneLookup_portability The instance to deserialize into.
5177
+ * @returns {Record<string, (node: ParseNode) => void>}
5178
+ */
5179
+ // @ts-ignore
5180
+ export function deserializeIntoPhoneLookup_portability(phoneLookup_portability = {}) {
5181
+ return {
5182
+ ...deserializeIntoPhoneLookupPortability(phoneLookup_portability),
5183
+ };
5184
+ }
5185
+ /**
5186
+ * The deserialization information for the current model
5187
+ * @param PhoneLookupCallerName The instance to deserialize into.
5188
+ * @returns {Record<string, (node: ParseNode) => void>}
5189
+ */
5190
+ // @ts-ignore
5191
+ export function deserializeIntoPhoneLookupCallerName(phoneLookupCallerName = {}) {
5192
+ return {
5193
+ "errorCode": n => { phoneLookupCallerName.errorCode = n.getStringValue(); },
5194
+ "name": n => { phoneLookupCallerName.name = n.getStringValue(); },
5195
+ };
5196
+ }
4983
5197
  /**
4984
5198
  * The deserialization information for the current model
4985
5199
  * @param PhoneLookupCarrier The instance to deserialize into.
@@ -4996,6 +5210,44 @@ export function deserializeIntoPhoneLookupCarrier(phoneLookupCarrier = {}) {
4996
5210
  "type": n => { phoneLookupCarrier.type = n.getEnumValue(PhoneLookupCarrier_typeObject); },
4997
5211
  };
4998
5212
  }
5213
+ /**
5214
+ * The deserialization information for the current model
5215
+ * @param PhoneLookupPortability The instance to deserialize into.
5216
+ * @returns {Record<string, (node: ParseNode) => void>}
5217
+ */
5218
+ // @ts-ignore
5219
+ export function deserializeIntoPhoneLookupPortability(phoneLookupPortability = {}) {
5220
+ return {
5221
+ "alternativeCarrierName": n => { phoneLookupPortability.alternativeCarrierName = n.getStringValue(); },
5222
+ "alternativeCarrierType": n => { phoneLookupPortability.alternativeCarrierType = n.getStringValue(); },
5223
+ "alternativeSpid": n => { phoneLookupPortability.alternativeSpid = n.getStringValue(); },
5224
+ "carrierName": n => { phoneLookupPortability.carrierName = n.getStringValue(); },
5225
+ "carrierType": n => { phoneLookupPortability.carrierType = n.getStringValue(); },
5226
+ "city": n => { phoneLookupPortability.city = n.getStringValue(); },
5227
+ "lineType": n => { phoneLookupPortability.lineType = n.getStringValue(); },
5228
+ "localRoutingNumber": n => { phoneLookupPortability.localRoutingNumber = n.getStringValue(); },
5229
+ "operatingCompanyNumber": n => { phoneLookupPortability.operatingCompanyNumber = n.getStringValue(); },
5230
+ "portedDate": n => { phoneLookupPortability.portedDate = n.getStringValue(); },
5231
+ "portedStatus": n => { phoneLookupPortability.portedStatus = n.getStringValue(); },
5232
+ "spid": n => { phoneLookupPortability.spid = n.getStringValue(); },
5233
+ "state": n => { phoneLookupPortability.state = n.getStringValue(); },
5234
+ };
5235
+ }
5236
+ /**
5237
+ * The deserialization information for the current model
5238
+ * @param PhoneLookupProviderSnapshot The instance to deserialize into.
5239
+ * @returns {Record<string, (node: ParseNode) => void>}
5240
+ */
5241
+ // @ts-ignore
5242
+ export function deserializeIntoPhoneLookupProviderSnapshot(phoneLookupProviderSnapshot = {}) {
5243
+ return {
5244
+ "lookupType": n => { phoneLookupProviderSnapshot.lookupType = n.getStringValue(); },
5245
+ "provider": n => { phoneLookupProviderSnapshot.provider = n.getStringValue(); },
5246
+ "rawRecordJson": n => { phoneLookupProviderSnapshot.rawRecordJson = n.getStringValue(); },
5247
+ "retrievedAt": n => { phoneLookupProviderSnapshot.retrievedAt = n.getDateValue(); },
5248
+ "schemaVersion": n => { phoneLookupProviderSnapshot.schemaVersion = n.getNumberValue(); },
5249
+ };
5250
+ }
4999
5251
  /**
5000
5252
  * The deserialization information for the current model
5001
5253
  * @param PhoneNumberAvailabilityRequest The instance to deserialize into.
@@ -5019,7 +5271,7 @@ export function deserializeIntoPhoneNumberAvailabilityResponse(phoneNumberAvaila
5019
5271
  "isAvailable": n => { phoneNumberAvailabilityResponse.isAvailable = n.getBooleanValue(); },
5020
5272
  "location": n => { phoneNumberAvailabilityResponse.location = n.getObjectValue(createPhoneNumberAvailabilityResponse_locationFromDiscriminatorValue); },
5021
5273
  "phoneNumber": n => { phoneNumberAvailabilityResponse.phoneNumber = n.getStringValue(); },
5022
- "price": n => { phoneNumberAvailabilityResponse.price = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5274
+ "price": n => { phoneNumberAvailabilityResponse.price = n.getNumberValue(); },
5023
5275
  };
5024
5276
  }
5025
5277
  /**
@@ -5365,7 +5617,7 @@ export function deserializeIntoProblemDetails(problemDetails = {}) {
5365
5617
  return {
5366
5618
  "detail": n => { problemDetails.detail = n.getStringValue(); },
5367
5619
  "instance": n => { problemDetails.instance = n.getStringValue(); },
5368
- "status": n => { problemDetails.status = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5620
+ "status": n => { problemDetails.status = n.getNumberValue(); },
5369
5621
  "title": n => { problemDetails.title = n.getStringValue(); },
5370
5622
  "type": n => { problemDetails.type = n.getStringValue(); },
5371
5623
  };
@@ -5414,6 +5666,7 @@ export function deserializeIntoSendSmsRequest(sendSmsRequest = {}) {
5414
5666
  "campaignId": n => { sendSmsRequest.campaignId = n.getStringValue(); },
5415
5667
  "conversationId": n => { sendSmsRequest.conversationId = n.getStringValue(); },
5416
5668
  "fromPhoneNumberId": n => { sendSmsRequest.fromPhoneNumberId = n.getStringValue(); },
5669
+ "mediaUrls": n => { sendSmsRequest.mediaUrls = n.getCollectionOfPrimitiveValues("string"); },
5417
5670
  "outboundIdempotencyKey": n => { sendSmsRequest.outboundIdempotencyKey = n.getStringValue(); },
5418
5671
  "scheduledFor": n => { sendSmsRequest.scheduledFor = n.getDateValue(); },
5419
5672
  "smsEventId": n => { sendSmsRequest.smsEventId = n.getStringValue(); },
@@ -5432,7 +5685,7 @@ export function deserializeIntoSmsEventTableRow(smsEventTableRow = {}) {
5432
5685
  return {
5433
5686
  "actorDisplayName": n => { smsEventTableRow.actorDisplayName = n.getStringValue(); },
5434
5687
  "actorUserId": n => { smsEventTableRow.actorUserId = n.getStringValue(); },
5435
- "billableAmount": n => { smsEventTableRow.billableAmount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5688
+ "billableAmount": n => { smsEventTableRow.billableAmount = n.getNumberValue(); },
5436
5689
  "billingStatus": n => { smsEventTableRow.billingStatus = n.getStringValue(); },
5437
5690
  "blockedAt": n => { smsEventTableRow.blockedAt = n.getDateValue(); },
5438
5691
  "business": n => { smsEventTableRow.business = n.getStringValue(); },
@@ -5452,6 +5705,7 @@ export function deserializeIntoSmsEventTableRow(smsEventTableRow = {}) {
5452
5705
  "id": n => { smsEventTableRow.id = n.getStringValue(); },
5453
5706
  "isAutomated": n => { smsEventTableRow.isAutomated = n.getBooleanValue(); },
5454
5707
  "lead": n => { smsEventTableRow.lead = n.getObjectValue(createIdNamePairFromDiscriminatorValue); },
5708
+ "media": n => { smsEventTableRow.media = n.getCollectionOfObjectValues(createMessageMediaAttachmentFromDiscriminatorValue); },
5455
5709
  "outboundPhoneNumberId": n => { smsEventTableRow.outboundPhoneNumberId = n.getStringValue(); },
5456
5710
  "outboundSource": n => { smsEventTableRow.outboundSource = n.getEnumValue(SmsEventTableRow_outboundSourceObject); },
5457
5711
  "queuedAt": n => { smsEventTableRow.queuedAt = n.getDateValue(); },
@@ -5510,7 +5764,7 @@ export function deserializeIntoSmsReadinessUiState(smsReadinessUiState = {}) {
5510
5764
  // @ts-ignore
5511
5765
  export function deserializeIntoSmsResponse(smsResponse = {}) {
5512
5766
  return {
5513
- "billableAmount": n => { smsResponse.billableAmount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5767
+ "billableAmount": n => { smsResponse.billableAmount = n.getNumberValue(); },
5514
5768
  "billingStatus": n => { smsResponse.billingStatus = n.getStringValue(); },
5515
5769
  "blockedAt": n => { smsResponse.blockedAt = n.getDateValue(); },
5516
5770
  "campaignId": n => { smsResponse.campaignId = n.getStringValue(); },
@@ -5527,6 +5781,7 @@ export function deserializeIntoSmsResponse(smsResponse = {}) {
5527
5781
  "fromPhoneNumberId": n => { smsResponse.fromPhoneNumberId = n.getStringValue(); },
5528
5782
  "id": n => { smsResponse.id = n.getStringValue(); },
5529
5783
  "leadId": n => { smsResponse.leadId = n.getStringValue(); },
5784
+ "media": n => { smsResponse.media = n.getCollectionOfObjectValues(createMessageMediaAttachmentFromDiscriminatorValue); },
5530
5785
  "modifiedAt": n => { smsResponse.modifiedAt = n.getDateValue(); },
5531
5786
  "nextRetryAt": n => { smsResponse.nextRetryAt = n.getDateValue(); },
5532
5787
  "outboundPhoneNumberId": n => { smsResponse.outboundPhoneNumberId = n.getStringValue(); },
@@ -5572,7 +5827,7 @@ export function deserializeIntoSourceRequest(sourceRequest = {}) {
5572
5827
  "allowedProducts": n => { sourceRequest.allowedProducts = n.getCollectionOfPrimitiveValues("string"); },
5573
5828
  "allowedStates": n => { sourceRequest.allowedStates = n.getCollectionOfPrimitiveValues("string"); },
5574
5829
  "apiKey": n => { sourceRequest.apiKey = n.getStringValue(); },
5575
- "costPerLead": n => { sourceRequest.costPerLead = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5830
+ "costPerLead": n => { sourceRequest.costPerLead = n.getNumberValue(); },
5576
5831
  "defaultTagIds": n => { sourceRequest.defaultTagIds = n.getCollectionOfPrimitiveValues("string"); },
5577
5832
  "defaultTagNames": n => { sourceRequest.defaultTagNames = n.getCollectionOfPrimitiveValues("string"); },
5578
5833
  "description": n => { sourceRequest.description = n.getStringValue(); },
@@ -5597,7 +5852,7 @@ export function deserializeIntoSourceResponse(sourceResponse = {}) {
5597
5852
  "apiKeyPreview": n => { sourceResponse.apiKeyPreview = n.getStringValue(); },
5598
5853
  "business": n => { sourceResponse.business = n.getObjectValue(createSourceResponse_businessFromDiscriminatorValue); },
5599
5854
  "complianceApproved": n => { sourceResponse.complianceApproved = n.getBooleanValue(); },
5600
- "costPerLead": n => { sourceResponse.costPerLead = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5855
+ "costPerLead": n => { sourceResponse.costPerLead = n.getNumberValue(); },
5601
5856
  "createdAt": n => { sourceResponse.createdAt = n.getDateValue(); },
5602
5857
  "createdByUser": n => { sourceResponse.createdByUser = n.getObjectValue(createSourceResponse_createdByUserFromDiscriminatorValue); },
5603
5858
  "defaultTagIds": n => { sourceResponse.defaultTagIds = n.getCollectionOfPrimitiveValues("string"); },
@@ -5675,7 +5930,7 @@ export function deserializeIntoSourceTableRow(sourceTableRow = {}) {
5675
5930
  "business": n => { sourceTableRow.business = n.getObjectValue(createSourceTableRow_businessFromDiscriminatorValue); },
5676
5931
  "businessId": n => { sourceTableRow.businessId = n.getStringValue(); },
5677
5932
  "complianceApproved": n => { sourceTableRow.complianceApproved = n.getBooleanValue(); },
5678
- "costPerLead": n => { sourceTableRow.costPerLead = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5933
+ "costPerLead": n => { sourceTableRow.costPerLead = n.getNumberValue(); },
5679
5934
  "createdAt": n => { sourceTableRow.createdAt = n.getDateValue(); },
5680
5935
  "createdByUser": n => { sourceTableRow.createdByUser = n.getObjectValue(createSourceTableRow_createdByUserFromDiscriminatorValue); },
5681
5936
  "defaultTagIds": n => { sourceTableRow.defaultTagIds = n.getCollectionOfPrimitiveValues("string"); },
@@ -5965,13 +6220,15 @@ export function deserializeIntoTelephonyLoginResponse(telephonyLoginResponse = {
5965
6220
  // @ts-ignore
5966
6221
  export function deserializeIntoTenDlcApplicationDraft(tenDlcApplicationDraft = {}) {
5967
6222
  return {
6223
+ "brandStatus": n => { tenDlcApplicationDraft.brandStatus = n.getEnumValue(TenDlcRegistrationStatusObject); },
6224
+ "campaignStatus": n => { tenDlcApplicationDraft.campaignStatus = n.getEnumValue(TenDlcRegistrationStatusObject); },
5968
6225
  "companyName": n => { tenDlcApplicationDraft.companyName = n.getStringValue(); },
5969
6226
  "complianceWarnings": n => { tenDlcApplicationDraft.complianceWarnings = n.getCollectionOfPrimitiveValues("string"); },
5970
6227
  "contactEmail": n => { tenDlcApplicationDraft.contactEmail = n.getStringValue(); },
5971
6228
  "contactName": n => { tenDlcApplicationDraft.contactName = n.getStringValue(); },
5972
6229
  "contactPhone": n => { tenDlcApplicationDraft.contactPhone = n.getStringValue(); },
5973
6230
  "ein": n => { tenDlcApplicationDraft.ein = n.getStringValue(); },
5974
- "expectedMonthlyVolume": n => { tenDlcApplicationDraft.expectedMonthlyVolume = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6231
+ "expectedMonthlyVolume": n => { tenDlcApplicationDraft.expectedMonthlyVolume = n.getNumberValue(); },
5975
6232
  "industry": n => { tenDlcApplicationDraft.industry = n.getStringValue(); },
5976
6233
  "lastSubmittedAt": n => { tenDlcApplicationDraft.lastSubmittedAt = n.getDateValue(); },
5977
6234
  "leadSource": n => { tenDlcApplicationDraft.leadSource = n.getStringValue(); },
@@ -6009,10 +6266,13 @@ export function deserializeIntoTenDlcNotesRequest(tenDlcNotesRequest = {}) {
6009
6266
  export function deserializeIntoTransactionResponse(transactionResponse = {}) {
6010
6267
  return {
6011
6268
  "amount": n => { transactionResponse.amount = n.getNumberValue(); },
6269
+ "billableUnit": n => { transactionResponse.billableUnit = n.getEnumValue(TransactionResponse_billableUnitObject); },
6270
+ "billedAmount": n => { transactionResponse.billedAmount = n.getNumberValue(); },
6271
+ "billingChannel": n => { transactionResponse.billingChannel = n.getEnumValue(TransactionResponse_billingChannelObject); },
6012
6272
  "business": n => { transactionResponse.business = n.getObjectValue(createTransactionResponse_businessFromDiscriminatorValue); },
6013
6273
  "createdAt": n => { transactionResponse.createdAt = n.getDateValue(); },
6014
6274
  "description": n => { transactionResponse.description = n.getStringValue(); },
6015
- "gatewayFeeAmount": n => { transactionResponse.gatewayFeeAmount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6275
+ "gatewayFeeAmount": n => { transactionResponse.gatewayFeeAmount = n.getNumberValue(); },
6016
6276
  "gatewayStatus": n => { transactionResponse.gatewayStatus = n.getStringValue(); },
6017
6277
  "id": n => { transactionResponse.id = n.getStringValue(); },
6018
6278
  "lead": n => { transactionResponse.lead = n.getObjectValue(createTransactionResponse_leadFromDiscriminatorValue); },
@@ -6020,7 +6280,7 @@ export function deserializeIntoTransactionResponse(transactionResponse = {}) {
6020
6280
  "netAmount": n => { transactionResponse.netAmount = n.getNumberValue(); },
6021
6281
  "notes": n => { transactionResponse.notes = n.getStringValue(); },
6022
6282
  "paymentMethodDisplay": n => { transactionResponse.paymentMethodDisplay = n.getStringValue(); },
6023
- "platformFeeAmount": n => { transactionResponse.platformFeeAmount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6283
+ "platformFeeAmount": n => { transactionResponse.platformFeeAmount = n.getNumberValue(); },
6024
6284
  "transactionStatus": n => { transactionResponse.transactionStatus = n.getEnumValue(TransactionStatusObject); },
6025
6285
  "transactionType": n => { transactionResponse.transactionType = n.getEnumValue(TransactionTypeObject); },
6026
6286
  };
@@ -6056,6 +6316,9 @@ export function deserializeIntoTransactionResponse_lead(transactionResponse_lead
6056
6316
  export function deserializeIntoTransactionTableRow(transactionTableRow = {}) {
6057
6317
  return {
6058
6318
  "amount": n => { transactionTableRow.amount = n.getNumberValue(); },
6319
+ "billableUnit": n => { transactionTableRow.billableUnit = n.getEnumValue(TransactionTableRow_billableUnitObject); },
6320
+ "billedAmount": n => { transactionTableRow.billedAmount = n.getNumberValue(); },
6321
+ "billingChannel": n => { transactionTableRow.billingChannel = n.getEnumValue(TransactionTableRow_billingChannelObject); },
6059
6322
  "business": n => { transactionTableRow.business = n.getObjectValue(createTransactionTableRow_businessFromDiscriminatorValue); },
6060
6323
  "createdAt": n => { transactionTableRow.createdAt = n.getDateValue(); },
6061
6324
  "description": n => { transactionTableRow.description = n.getStringValue(); },
@@ -6063,8 +6326,13 @@ export function deserializeIntoTransactionTableRow(transactionTableRow = {}) {
6063
6326
  "lead": n => { transactionTableRow.lead = n.getObjectValue(createTransactionTableRow_leadFromDiscriminatorValue); },
6064
6327
  "netAmount": n => { transactionTableRow.netAmount = n.getNumberValue(); },
6065
6328
  "paymentMethodDisplay": n => { transactionTableRow.paymentMethodDisplay = n.getStringValue(); },
6329
+ "pricingVersion": n => { transactionTableRow.pricingVersion = n.getStringValue(); },
6330
+ "quantity": n => { transactionTableRow.quantity = n.getNumberValue(); },
6331
+ "sourceEventId": n => { transactionTableRow.sourceEventId = n.getStringValue(); },
6332
+ "sourceEventType": n => { transactionTableRow.sourceEventType = n.getStringValue(); },
6066
6333
  "transactionStatus": n => { transactionTableRow.transactionStatus = n.getEnumValue(TransactionStatusObject); },
6067
6334
  "transactionType": n => { transactionTableRow.transactionType = n.getEnumValue(TransactionTypeObject); },
6335
+ "unitPrice": n => { transactionTableRow.unitPrice = n.getNumberValue(); },
6068
6336
  };
6069
6337
  }
6070
6338
  /**
@@ -6126,22 +6394,22 @@ export function deserializeIntoUsageCounterLine(usageCounterLine = {}) {
6126
6394
  // @ts-ignore
6127
6395
  export function deserializeIntoUsageLedgerTableRow(usageLedgerTableRow = {}) {
6128
6396
  return {
6129
- "billableSeconds": n => { usageLedgerTableRow.billableSeconds = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6397
+ "billableSeconds": n => { usageLedgerTableRow.billableSeconds = n.getNumberValue(); },
6130
6398
  "billableUnit": n => { usageLedgerTableRow.billableUnit = n.getEnumValue(BillableUnitObject); },
6131
6399
  "business": n => { usageLedgerTableRow.business = n.getObjectValue(createUsageLedgerTableRow_businessFromDiscriminatorValue); },
6132
6400
  "channel": n => { usageLedgerTableRow.channel = n.getEnumValue(UsageChannelObject); },
6133
6401
  "createdAt": n => { usageLedgerTableRow.createdAt = n.getDateValue(); },
6134
6402
  "customerChargeAmount": n => { usageLedgerTableRow.customerChargeAmount = n.getNumberValue(); },
6135
6403
  "description": n => { usageLedgerTableRow.description = n.getStringValue(); },
6136
- "durationSeconds": n => { usageLedgerTableRow.durationSeconds = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6404
+ "durationSeconds": n => { usageLedgerTableRow.durationSeconds = n.getNumberValue(); },
6137
6405
  "id": n => { usageLedgerTableRow.id = n.getStringValue(); },
6138
6406
  "isBillable": n => { usageLedgerTableRow.isBillable = n.getBooleanValue(); },
6139
6407
  "lead": n => { usageLedgerTableRow.lead = n.getObjectValue(createUsageLedgerTableRow_leadFromDiscriminatorValue); },
6140
6408
  "phoneNumber": n => { usageLedgerTableRow.phoneNumber = n.getStringValue(); },
6141
6409
  "phoneNumberId": n => { usageLedgerTableRow.phoneNumberId = n.getStringValue(); },
6142
6410
  "quantity": n => { usageLedgerTableRow.quantity = n.getNumberValue(); },
6143
- "smsSegments": n => { usageLedgerTableRow.smsSegments = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6144
- "status": n => { usageLedgerTableRow.status = n.getEnumValue(UsageRecordStatusObject); },
6411
+ "smsSegments": n => { usageLedgerTableRow.smsSegments = n.getNumberValue(); },
6412
+ "status": n => { usageLedgerTableRow.status = n.getEnumValue(UsageStatusObject); },
6145
6413
  "unitPrice": n => { usageLedgerTableRow.unitPrice = n.getNumberValue(); },
6146
6414
  "user": n => { usageLedgerTableRow.user = n.getObjectValue(createUsageLedgerTableRow_userFromDiscriminatorValue); },
6147
6415
  };
@@ -6192,7 +6460,7 @@ export function deserializeIntoUsageSummaryLine(usageSummaryLine = {}) {
6192
6460
  "customerChargeAmount": n => { usageSummaryLine.customerChargeAmount = n.getNumberValue(); },
6193
6461
  "quantity": n => { usageSummaryLine.quantity = n.getNumberValue(); },
6194
6462
  "recordCount": n => { usageSummaryLine.recordCount = n.getNumberValue(); },
6195
- "status": n => { usageSummaryLine.status = n.getEnumValue(UsageRecordStatusObject); },
6463
+ "status": n => { usageSummaryLine.status = n.getEnumValue(UsageStatusObject); },
6196
6464
  };
6197
6465
  }
6198
6466
  /**
@@ -6211,7 +6479,7 @@ export function deserializeIntoUsageSummaryResponse(usageSummaryResponse = {}) {
6211
6479
  "pendingInvoiceCount": n => { usageSummaryResponse.pendingInvoiceCount = n.getNumberValue(); },
6212
6480
  "periodEnd": n => { usageSummaryResponse.periodEnd = n.getDateValue(); },
6213
6481
  "periodStart": n => { usageSummaryResponse.periodStart = n.getDateValue(); },
6214
- "usageRecordCount": n => { usageSummaryResponse.usageRecordCount = n.getNumberValue(); },
6482
+ "transactionCount": n => { usageSummaryResponse.transactionCount = n.getNumberValue(); },
6215
6483
  };
6216
6484
  }
6217
6485
  /**
@@ -6264,7 +6532,7 @@ export function deserializeIntoUserDataExportResponse(userDataExportResponse = {
6264
6532
  "maxDownloadCount": n => { userDataExportResponse.maxDownloadCount = n.getNumberValue(); },
6265
6533
  "message": n => { userDataExportResponse.message = n.getStringValue(); },
6266
6534
  "requestedAt": n => { userDataExportResponse.requestedAt = n.getDateValue(); },
6267
- "sizeBytes": n => { userDataExportResponse.sizeBytes = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6535
+ "sizeBytes": n => { userDataExportResponse.sizeBytes = n.getNumberValue(); },
6268
6536
  "startedAt": n => { userDataExportResponse.startedAt = n.getDateValue(); },
6269
6537
  "status": n => { userDataExportResponse.status = n.getEnumValue(UserDataExportStatusesObject); },
6270
6538
  };
@@ -6470,21 +6738,21 @@ export function deserializeIntoUserResponse_notificationPreferences(userResponse
6470
6738
  // @ts-ignore
6471
6739
  export function deserializeIntoWalletResponse(walletResponse = {}) {
6472
6740
  return {
6473
- "amountPurchased": n => { walletResponse.amountPurchased = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6474
- "amountRemaining": n => { walletResponse.amountRemaining = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6475
- "balance": n => { walletResponse.balance = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6741
+ "amountPurchased": n => { walletResponse.amountPurchased = n.getNumberValue(); },
6742
+ "amountRemaining": n => { walletResponse.amountRemaining = n.getNumberValue(); },
6743
+ "balance": n => { walletResponse.balance = n.getNumberValue(); },
6476
6744
  "balanceCalculatedAt": n => { walletResponse.balanceCalculatedAt = n.getDateValue(); },
6477
6745
  "businessId": n => { walletResponse.businessId = n.getStringValue(); },
6478
6746
  "createdAt": n => { walletResponse.createdAt = n.getDateValue(); },
6479
6747
  "creditStatus": n => { walletResponse.creditStatus = n.getEnumValue(WalletResponse_creditStatusObject); },
6480
6748
  "currency": n => { walletResponse.currency = n.getStringValue(); },
6481
- "expiredCreditAmount": n => { walletResponse.expiredCreditAmount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6749
+ "expiredCreditAmount": n => { walletResponse.expiredCreditAmount = n.getNumberValue(); },
6482
6750
  "expiresAt": n => { walletResponse.expiresAt = n.getDateValue(); },
6483
6751
  "id": n => { walletResponse.id = n.getStringValue(); },
6484
6752
  "modifiedAt": n => { walletResponse.modifiedAt = n.getDateValue(); },
6485
6753
  "name": n => { walletResponse.name = n.getStringValue(); },
6486
6754
  "nextCreditExpirationAt": n => { walletResponse.nextCreditExpirationAt = n.getDateValue(); },
6487
- "nextExpiringCreditAmount": n => { walletResponse.nextExpiringCreditAmount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
6755
+ "nextExpiringCreditAmount": n => { walletResponse.nextExpiringCreditAmount = n.getNumberValue(); },
6488
6756
  "originalTransactionId": n => { walletResponse.originalTransactionId = n.getStringValue(); },
6489
6757
  "purchasedAt": n => { walletResponse.purchasedAt = n.getDateValue(); },
6490
6758
  "sourceType": n => { walletResponse.sourceType = n.getEnumValue(WalletResponse_sourceTypeObject); },
@@ -6520,7 +6788,7 @@ export function serializeActivationDomainOption(writer, activationDomainOption =
6520
6788
  }
6521
6789
  writer.writeStringValue("availabilityStatus", activationDomainOption.availabilityStatus);
6522
6790
  writer.writeStringValue("domainName", activationDomainOption.domainName);
6523
- writer.writeObjectValue("estimatedAnnualCost", activationDomainOption.estimatedAnnualCost);
6791
+ writer.writeNumberValue("estimatedAnnualCost", activationDomainOption.estimatedAnnualCost);
6524
6792
  writer.writeStringValue("industryRelevance", activationDomainOption.industryRelevance);
6525
6793
  writer.writeBooleanValue("recommended", activationDomainOption.recommended);
6526
6794
  writer.writeStringValue("trustConcerns", activationDomainOption.trustConcerns);
@@ -6572,7 +6840,7 @@ export function serializeAnalyticsComparison(writer, analyticsComparison = {}, i
6572
6840
  if (!analyticsComparison || isSerializingDerivedType) {
6573
6841
  return;
6574
6842
  }
6575
- writer.writeObjectValue("changePercent", analyticsComparison.changePercent);
6843
+ writer.writeNumberValue("changePercent", analyticsComparison.changePercent);
6576
6844
  writer.writeNumberValue("current", analyticsComparison.current);
6577
6845
  writer.writeStringValue("direction", analyticsComparison.direction);
6578
6846
  writer.writeNumberValue("previous", analyticsComparison.previous);
@@ -6732,6 +7000,22 @@ export function serializeAutomationConditionGroup(writer, automationConditionGro
6732
7000
  writer.writeStringValue("mode", automationConditionGroup.mode);
6733
7001
  writer.writeAdditionalData(automationConditionGroup.additionalData);
6734
7002
  }
7003
+ /**
7004
+ * Serializes information the current object
7005
+ * @param AutomationConnection The instance to serialize from.
7006
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
7007
+ * @param writer Serialization writer to use to serialize this model
7008
+ */
7009
+ // @ts-ignore
7010
+ export function serializeAutomationConnection(writer, automationConnection = {}, isSerializingDerivedType = false) {
7011
+ if (!automationConnection || isSerializingDerivedType) {
7012
+ return;
7013
+ }
7014
+ writer.writeStringValue("id", automationConnection.id);
7015
+ writer.writeStringValue("sourceNodeId", automationConnection.sourceNodeId);
7016
+ writer.writeStringValue("targetNodeId", automationConnection.targetNodeId);
7017
+ writer.writeAdditionalData(automationConnection.additionalData);
7018
+ }
6735
7019
  /**
6736
7020
  * Serializes information the current object
6737
7021
  * @param AutomationPreviewActionResult The instance to serialize from.
@@ -6826,6 +7110,7 @@ export function serializeAutomationRequest(writer, automationRequest = {}, isSer
6826
7110
  }
6827
7111
  writer.writeCollectionOfObjectValues("actions", automationRequest.actions, serializeAutomationAction);
6828
7112
  writer.writeCollectionOfObjectValues("conditionGroups", automationRequest.conditionGroups, serializeAutomationConditionGroup);
7113
+ writer.writeCollectionOfObjectValues("connections", automationRequest.connections, serializeAutomationConnection);
6829
7114
  writer.writeStringValue("description", automationRequest.description);
6830
7115
  writer.writeBooleanValue("enabled", automationRequest.enabled);
6831
7116
  writer.writeStringValue("id", automationRequest.id);
@@ -6850,6 +7135,7 @@ export function serializeAutomationRequestSnapshot(writer, automationRequestSnap
6850
7135
  writer.writeCollectionOfObjectValues("actions", automationRequestSnapshot.actions, serializeAutomationAction);
6851
7136
  writer.writeStringValue("businessId", automationRequestSnapshot.businessId);
6852
7137
  writer.writeCollectionOfObjectValues("conditionGroups", automationRequestSnapshot.conditionGroups, serializeAutomationConditionGroup);
7138
+ writer.writeCollectionOfObjectValues("connections", automationRequestSnapshot.connections, serializeAutomationConnection);
6853
7139
  writer.writeStringValue("createdByUserId", automationRequestSnapshot.createdByUserId);
6854
7140
  writer.writeStringValue("description", automationRequestSnapshot.description);
6855
7141
  writer.writeBooleanValue("enabled", automationRequestSnapshot.enabled);
@@ -6877,6 +7163,7 @@ export function serializeAutomationResponse(writer, automationResponse = {}, isS
6877
7163
  writer.writeObjectValue("business", automationResponse.business, serializeAutomationResponse_business);
6878
7164
  writer.writeStringValue("businessId", automationResponse.businessId);
6879
7165
  writer.writeCollectionOfObjectValues("conditionGroups", automationResponse.conditionGroups, serializeAutomationConditionGroup);
7166
+ writer.writeCollectionOfObjectValues("connections", automationResponse.connections, serializeAutomationConnection);
6880
7167
  writer.writeDateValue("createdAt", automationResponse.createdAt);
6881
7168
  writer.writeStringValue("createdByUserId", automationResponse.createdByUserId);
6882
7169
  writer.writeStringValue("description", automationResponse.description);
@@ -7125,7 +7412,7 @@ export function serializeAutomationWorkflowRunResponse(writer, automationWorkflo
7125
7412
  writer.writeDateValue("cancelledAt", automationWorkflowRunResponse.cancelledAt);
7126
7413
  writer.writeDateValue("completedAt", automationWorkflowRunResponse.completedAt);
7127
7414
  writer.writeObjectValue("currentStep", automationWorkflowRunResponse.currentStep, serializeAutomationWorkflowRunResponse_currentStep);
7128
- writer.writeObjectValue("currentStepOrder", automationWorkflowRunResponse.currentStepOrder);
7415
+ writer.writeNumberValue("currentStepOrder", automationWorkflowRunResponse.currentStepOrder);
7129
7416
  writer.writeCollectionOfObjectValues("events", automationWorkflowRunResponse.events, serializeAutomationWorkflowEventResponse);
7130
7417
  writer.writeDateValue("failedAt", automationWorkflowRunResponse.failedAt);
7131
7418
  writer.writeStringValue("id", automationWorkflowRunResponse.id);
@@ -7201,6 +7488,7 @@ export function serializeBusinessActivationState(writer, businessActivationState
7201
7488
  return;
7202
7489
  }
7203
7490
  writer.writeDateValue("activatedAt", businessActivationState.activatedAt);
7491
+ writer.writeNumberValue("availableDomainCount", businessActivationState.availableDomainCount);
7204
7492
  writer.writeEnumValue("billingSubscriptionStatus", businessActivationState.billingSubscriptionStatus);
7205
7493
  writer.writeStringValue("businessDescription", businessActivationState.businessDescription);
7206
7494
  writer.writeStringValue("complianceNotes", businessActivationState.complianceNotes);
@@ -7209,6 +7497,11 @@ export function serializeBusinessActivationState(writer, businessActivationState
7209
7497
  writer.writeStringValue("customerFacingStatus", businessActivationState.customerFacingStatus);
7210
7498
  writer.writeDateValue("domainApprovedAt", businessActivationState.domainApprovedAt);
7211
7499
  writer.writeCollectionOfObjectValues("domainOptions", businessActivationState.domainOptions, serializeActivationDomainOption);
7500
+ writer.writeDateValue("domainPurchasedAt", businessActivationState.domainPurchasedAt);
7501
+ writer.writeNumberValue("domainSearchAttempt", businessActivationState.domainSearchAttempt);
7502
+ writer.writeStringValue("domainSearchId", businessActivationState.domainSearchId);
7503
+ writer.writeEnumValue("domainSearchStage", businessActivationState.domainSearchStage);
7504
+ writer.writeDateValue("domainSearchUpdatedAt", businessActivationState.domainSearchUpdatedAt);
7212
7505
  writer.writeCollectionOfObjectValues("events", businessActivationState.events, serializeActivationTimelineEvent);
7213
7506
  writer.writeDateValue("failedAt", businessActivationState.failedAt);
7214
7507
  writer.writeStringValue("industry", businessActivationState.industry);
@@ -7233,6 +7526,7 @@ export function serializeBusinessActivationState(writer, businessActivationState
7233
7526
  writer.writeObjectValue("tenDlcDraft", businessActivationState.tenDlcDraft, serializeBusinessActivationState_tenDlcDraft);
7234
7527
  writer.writeEnumValue("tenDlcStatus", businessActivationState.tenDlcStatus);
7235
7528
  writer.writeDateValue("updatedAt", businessActivationState.updatedAt);
7529
+ writer.writeStringValue("websiteGenerationResult", businessActivationState.websiteGenerationResult);
7236
7530
  writer.writeStringValue("websiteNeeds", businessActivationState.websiteNeeds);
7237
7531
  writer.writeEnumValue("websiteStatus", businessActivationState.websiteStatus);
7238
7532
  writer.writeStringValue("websiteUrl", businessActivationState.websiteUrl);
@@ -7263,8 +7557,8 @@ export function serializeBusinessBillingState(writer, businessBillingState = {},
7263
7557
  return;
7264
7558
  }
7265
7559
  writer.writeDateValue("billingPlanChangeEffectiveAt", businessBillingState.billingPlanChangeEffectiveAt);
7266
- writer.writeObjectValue("businessUserAssignedQuantity", businessBillingState.businessUserAssignedQuantity);
7267
- writer.writeObjectValue("businessUserQuantity", businessBillingState.businessUserQuantity);
7560
+ writer.writeNumberValue("businessUserAssignedQuantity", businessBillingState.businessUserAssignedQuantity);
7561
+ writer.writeNumberValue("businessUserQuantity", businessBillingState.businessUserQuantity);
7268
7562
  writer.writeDateValue("cancelAt", businessBillingState.cancelAt);
7269
7563
  writer.writeObjectValue("dunning", businessBillingState.dunning, serializeBusinessBillingState_dunning);
7270
7564
  writer.writeBooleanValue("hasPaymentMethod", businessBillingState.hasPaymentMethod);
@@ -7272,7 +7566,8 @@ export function serializeBusinessBillingState(writer, businessBillingState = {},
7272
7566
  writer.writeDateValue("lastPaymentMethodEventAt", businessBillingState.lastPaymentMethodEventAt);
7273
7567
  writer.writeDateValue("lastSubscriptionEventAt", businessBillingState.lastSubscriptionEventAt);
7274
7568
  writer.writeEnumValue("pendingBillingPlan", businessBillingState.pendingBillingPlan);
7275
- writer.writeObjectValue("phoneNumberQuantity", businessBillingState.phoneNumberQuantity);
7569
+ writer.writeNumberValue("phoneNumberQuantity", businessBillingState.phoneNumberQuantity);
7570
+ writer.writeDateValue("planPeriodStartAt", businessBillingState.planPeriodStartAt);
7276
7571
  writer.writeDateValue("planRenewalAt", businessBillingState.planRenewalAt);
7277
7572
  writer.writeAdditionalData(businessBillingState.additionalData);
7278
7573
  }
@@ -7367,7 +7662,7 @@ export function serializeBusinessInvitationResponse(writer, businessInvitationRe
7367
7662
  writer.writeStringValue("id", businessInvitationResponse.id);
7368
7663
  writer.writeDateValue("licenseActivatedAt", businessInvitationResponse.licenseActivatedAt);
7369
7664
  writer.writeStringValue("licenseBillingStatus", businessInvitationResponse.licenseBillingStatus);
7370
- writer.writeObjectValue("licenseQuantity", businessInvitationResponse.licenseQuantity);
7665
+ writer.writeNumberValue("licenseQuantity", businessInvitationResponse.licenseQuantity);
7371
7666
  writer.writeDateValue("licenseReleasedAt", businessInvitationResponse.licenseReleasedAt);
7372
7667
  writer.writeDateValue("licenseRenewalDate", businessInvitationResponse.licenseRenewalDate);
7373
7668
  writer.writeDateValue("resentAt", businessInvitationResponse.resentAt);
@@ -7398,7 +7693,7 @@ export function serializeBusinessInvitationTableRow(writer, businessInvitationTa
7398
7693
  writer.writeStringValue("id", businessInvitationTableRow.id);
7399
7694
  writer.writeDateValue("licenseActivatedAt", businessInvitationTableRow.licenseActivatedAt);
7400
7695
  writer.writeStringValue("licenseBillingStatus", businessInvitationTableRow.licenseBillingStatus);
7401
- writer.writeObjectValue("licenseQuantity", businessInvitationTableRow.licenseQuantity);
7696
+ writer.writeNumberValue("licenseQuantity", businessInvitationTableRow.licenseQuantity);
7402
7697
  writer.writeDateValue("licenseReleasedAt", businessInvitationTableRow.licenseReleasedAt);
7403
7698
  writer.writeDateValue("licenseRenewalDate", businessInvitationTableRow.licenseRenewalDate);
7404
7699
  writer.writeDateValue("resentAt", businessInvitationTableRow.resentAt);
@@ -7421,9 +7716,9 @@ export function serializeBusinessRequest(writer, businessRequest = {}, isSeriali
7421
7716
  return;
7422
7717
  }
7423
7718
  writer.writeObjectValue("address", businessRequest.address, serializeBusinessRequest_address);
7424
- writer.writeObjectValue("autoRefillAmount", businessRequest.autoRefillAmount);
7719
+ writer.writeNumberValue("autoRefillAmount", businessRequest.autoRefillAmount);
7425
7720
  writer.writeBooleanValue("autoRefillEnabled", businessRequest.autoRefillEnabled);
7426
- writer.writeObjectValue("autoRefillTrigger", businessRequest.autoRefillTrigger);
7721
+ writer.writeNumberValue("autoRefillTrigger", businessRequest.autoRefillTrigger);
7427
7722
  writer.writeObjectValue("billingAddress", businessRequest.billingAddress, serializeBusinessRequest_billingAddress);
7428
7723
  writer.writeStringValue("billingName", businessRequest.billingName);
7429
7724
  writer.writeStringValue("billingTaxId", businessRequest.billingTaxId);
@@ -7509,9 +7804,9 @@ export function serializeBusinessResponse(writer, businessResponse = {}, isSeria
7509
7804
  writer.writeNumberValue("accountBalance", businessResponse.accountBalance);
7510
7805
  writer.writeObjectValue("activation", businessResponse.activation, serializeBusinessResponse_activation);
7511
7806
  writer.writeObjectValue("address", businessResponse.address, serializeBusinessResponse_address);
7512
- writer.writeObjectValue("autoRefillAmount", businessResponse.autoRefillAmount);
7807
+ writer.writeNumberValue("autoRefillAmount", businessResponse.autoRefillAmount);
7513
7808
  writer.writeBooleanValue("autoRefillEnabled", businessResponse.autoRefillEnabled);
7514
- writer.writeObjectValue("autoRefillTrigger", businessResponse.autoRefillTrigger);
7809
+ writer.writeNumberValue("autoRefillTrigger", businessResponse.autoRefillTrigger);
7515
7810
  writer.writeObjectValue("billingAddress", businessResponse.billingAddress, serializeBusinessResponse_billingAddress);
7516
7811
  writer.writeStringValue("billingName", businessResponse.billingName);
7517
7812
  writer.writeEnumValue("billingPlan", businessResponse.billingPlan);
@@ -7694,12 +7989,13 @@ export function serializeBusinessTableRow(writer, businessTableRow = {}, isSeria
7694
7989
  if (!businessTableRow || isSerializingDerivedType) {
7695
7990
  return;
7696
7991
  }
7697
- writer.writeObjectValue("accountBalance", businessTableRow.accountBalance);
7992
+ writer.writeNumberValue("accountBalance", businessTableRow.accountBalance);
7698
7993
  writer.writeEnumValue("activationStatus", businessTableRow.activationStatus);
7699
7994
  writer.writeDateValue("apiKeyExpiresAt", businessTableRow.apiKeyExpiresAt);
7700
7995
  writer.writeDateValue("apiKeyFirstUsedAt", businessTableRow.apiKeyFirstUsedAt);
7701
7996
  writer.writeDateValue("apiKeyIssuedAt", businessTableRow.apiKeyIssuedAt);
7702
7997
  writer.writeDateValue("apiKeyLastUsedAt", businessTableRow.apiKeyLastUsedAt);
7998
+ writer.writeCollectionOfPrimitiveValues("apiKeyPermissions", businessTableRow.apiKeyPermissions);
7703
7999
  writer.writeStringValue("apiKeyPreview", businessTableRow.apiKeyPreview);
7704
8000
  writer.writeNumberValue("apiKeyTotalUses", businessTableRow.apiKeyTotalUses);
7705
8001
  writer.writeEnumValue("billingPlan", businessTableRow.billingPlan);
@@ -7769,7 +8065,7 @@ export function serializeBusinessUserResponse(writer, businessUserResponse = {},
7769
8065
  writer.writeStringValue("id", businessUserResponse.id);
7770
8066
  writer.writeDateValue("lastUsedAt", businessUserResponse.lastUsedAt);
7771
8067
  writer.writeStringValue("licenseBillingStatus", businessUserResponse.licenseBillingStatus);
7772
- writer.writeObjectValue("licenseQuantity", businessUserResponse.licenseQuantity);
8068
+ writer.writeNumberValue("licenseQuantity", businessUserResponse.licenseQuantity);
7773
8069
  writer.writeDateValue("licenseRenewalDate", businessUserResponse.licenseRenewalDate);
7774
8070
  writer.writeDateValue("modifiedAt", businessUserResponse.modifiedAt);
7775
8071
  writer.writeStringValue("name", businessUserResponse.name);
@@ -7812,21 +8108,23 @@ export function serializeCallEventTableRow(writer, callEventTableRow = {}, isSer
7812
8108
  return;
7813
8109
  }
7814
8110
  writer.writeDateValue("answeredAt", callEventTableRow.answeredAt);
7815
- writer.writeObjectValue("billableAmount", callEventTableRow.billableAmount);
7816
- writer.writeObjectValue("billableSeconds", callEventTableRow.billableSeconds);
8111
+ writer.writeNumberValue("billableAmount", callEventTableRow.billableAmount);
8112
+ writer.writeNumberValue("billableSeconds", callEventTableRow.billableSeconds);
7817
8113
  writer.writeStringValue("billingStatus", callEventTableRow.billingStatus);
7818
8114
  writer.writeStringValue("business", callEventTableRow.business);
7819
8115
  writer.writeStringValue("businessId", callEventTableRow.businessId);
8116
+ writer.writeStringValue("businessName", callEventTableRow.businessName);
7820
8117
  writer.writeStringValue("callerId", callEventTableRow.callerId);
7821
8118
  writer.writeStringValue("conversationId", callEventTableRow.conversationId);
7822
8119
  writer.writeDateValue("createdAt", callEventTableRow.createdAt);
7823
8120
  writer.writeStringValue("direction", callEventTableRow.direction);
7824
- writer.writeObjectValue("duration", callEventTableRow.duration);
8121
+ writer.writeNumberValue("duration", callEventTableRow.duration);
7825
8122
  writer.writeDateValue("endedAt", callEventTableRow.endedAt);
7826
8123
  writer.writeStringValue("fromPhoneNumber", callEventTableRow.fromPhoneNumber);
7827
8124
  writer.writeStringValue("fromPhoneNumberId", callEventTableRow.fromPhoneNumberId);
7828
8125
  writer.writeStringValue("id", callEventTableRow.id);
7829
8126
  writer.writeStringValue("leadId", callEventTableRow.leadId);
8127
+ writer.writeStringValue("leadName", callEventTableRow.leadName);
7830
8128
  writer.writeStringValue("recordingUrl", callEventTableRow.recordingUrl);
7831
8129
  writer.writeEnumValue("status", callEventTableRow.status);
7832
8130
  writer.writeStringValue("statusReason", callEventTableRow.statusReason);
@@ -7930,6 +8228,7 @@ export function serializeConversationResponse(writer, conversationResponse = {},
7930
8228
  writer.writeBooleanValue("isArchived", conversationResponse.isArchived);
7931
8229
  writer.writeBooleanValue("isUnread", conversationResponse.isUnread);
7932
8230
  writer.writeDateValue("lastEventAt", conversationResponse.lastEventAt);
8231
+ writer.writeBooleanValue("lastEventIsInternalNote", conversationResponse.lastEventIsInternalNote);
7933
8232
  writer.writeStringValue("lastName", conversationResponse.lastName);
7934
8233
  writer.writeStringValue("lastSnippet", conversationResponse.lastSnippet);
7935
8234
  writer.writeStringValue("leadId", conversationResponse.leadId);
@@ -8084,14 +8383,14 @@ export function serializeCustomerAnalyticsSummary(writer, customerAnalyticsSumma
8084
8383
  if (!customerAnalyticsSummary || isSerializingDerivedType) {
8085
8384
  return;
8086
8385
  }
8087
- writer.writeObjectValue("averageResponseMinutes", customerAnalyticsSummary.averageResponseMinutes);
8386
+ writer.writeNumberValue("averageResponseMinutes", customerAnalyticsSummary.averageResponseMinutes);
8088
8387
  writer.writeStringValue("billingStatus", customerAnalyticsSummary.billingStatus);
8089
8388
  writer.writeNumberValue("callMinutes", customerAnalyticsSummary.callMinutes);
8090
8389
  writer.writeNumberValue("callsPlaced", customerAnalyticsSummary.callsPlaced);
8091
8390
  writer.writeNumberValue("callsReceived", customerAnalyticsSummary.callsReceived);
8092
8391
  writer.writeNumberValue("leads", customerAnalyticsSummary.leads);
8093
8392
  writer.writeObjectValue("leadsComparison", customerAnalyticsSummary.leadsComparison, serializeAnalyticsComparison);
8094
- writer.writeObjectValue("medianResponseMinutes", customerAnalyticsSummary.medianResponseMinutes);
8393
+ writer.writeNumberValue("medianResponseMinutes", customerAnalyticsSummary.medianResponseMinutes);
8095
8394
  writer.writeNumberValue("missedCalls", customerAnalyticsSummary.missedCalls);
8096
8395
  writer.writeNumberValue("missedLeads", customerAnalyticsSummary.missedLeads);
8097
8396
  writer.writeNumberValue("respondedWithinFiveMinutesPercent", customerAnalyticsSummary.respondedWithinFiveMinutesPercent);
@@ -8258,9 +8557,9 @@ export function serializeCustomerResponseMetrics(writer, customerResponseMetrics
8258
8557
  if (!customerResponseMetrics || isSerializingDerivedType) {
8259
8558
  return;
8260
8559
  }
8261
- writer.writeObjectValue("averageMinutes", customerResponseMetrics.averageMinutes);
8560
+ writer.writeNumberValue("averageMinutes", customerResponseMetrics.averageMinutes);
8262
8561
  writer.writeCollectionOfObjectValues("averageMinutesTrend", customerResponseMetrics.averageMinutesTrend, serializeAnalyticsTrendPointOfdecimal);
8263
- writer.writeObjectValue("medianMinutes", customerResponseMetrics.medianMinutes);
8562
+ writer.writeNumberValue("medianMinutes", customerResponseMetrics.medianMinutes);
8264
8563
  writer.writeNumberValue("missedCalls", customerResponseMetrics.missedCalls);
8265
8564
  writer.writeNumberValue("respondedLeads", customerResponseMetrics.respondedLeads);
8266
8565
  writer.writeNumberValue("respondedWithinFiveMinutesPercent", customerResponseMetrics.respondedWithinFiveMinutesPercent);
@@ -8495,7 +8794,7 @@ export function serializeEventTableRow(writer, eventTableRow = {}, isSerializing
8495
8794
  writer.writeStringValue("actorDisplayName", eventTableRow.actorDisplayName);
8496
8795
  writer.writeStringValue("actorEmail", eventTableRow.actorEmail);
8497
8796
  writer.writeStringValue("actorUserId", eventTableRow.actorUserId);
8498
- writer.writeObjectValue("billableAmount", eventTableRow.billableAmount);
8797
+ writer.writeNumberValue("billableAmount", eventTableRow.billableAmount);
8499
8798
  writer.writeStringValue("billingStatus", eventTableRow.billingStatus);
8500
8799
  writer.writeDateValue("blockedAt", eventTableRow.blockedAt);
8501
8800
  writer.writeStringValue("campaignId", eventTableRow.campaignId);
@@ -8516,6 +8815,7 @@ export function serializeEventTableRow(writer, eventTableRow = {}, isSerializing
8516
8815
  writer.writeStringValue("fromPhoneNumberId", eventTableRow.fromPhoneNumberId);
8517
8816
  writer.writeStringValue("id", eventTableRow.id);
8518
8817
  writer.writeStringValue("leadId", eventTableRow.leadId);
8818
+ writer.writeCollectionOfObjectValues("media", eventTableRow.media, serializeMessageMediaAttachment);
8519
8819
  writer.writeDateValue("nextRetryAt", eventTableRow.nextRetryAt);
8520
8820
  writer.writeStringValue("outboundPhoneNumberId", eventTableRow.outboundPhoneNumberId);
8521
8821
  writer.writeDateValue("queuedAt", eventTableRow.queuedAt);
@@ -8754,7 +9054,7 @@ export function serializeLeadIntakeRequest(writer, leadIntakeRequest = {}, isSer
8754
9054
  writer.writeDateOnlyValue("birthDate", leadIntakeRequest.birthDate);
8755
9055
  writer.writeStringValue("city", leadIntakeRequest.city);
8756
9056
  writer.writeDateOnlyValue("dateOfBirth", leadIntakeRequest.dateOfBirth);
8757
- writer.writeObjectValue("directPostPrice", leadIntakeRequest.directPostPrice);
9057
+ writer.writeNumberValue("directPostPrice", leadIntakeRequest.directPostPrice);
8758
9058
  writer.writeStringValue("email", leadIntakeRequest.email);
8759
9059
  writer.writeStringValue("externalId", leadIntakeRequest.externalId);
8760
9060
  writer.writeStringValue("firstName", leadIntakeRequest.firstName);
@@ -8764,7 +9064,7 @@ export function serializeLeadIntakeRequest(writer, leadIntakeRequest = {}, isSer
8764
9064
  writer.writeStringValue("phone", leadIntakeRequest.phone);
8765
9065
  writer.writeStringValue("phoneType", leadIntakeRequest.phoneType);
8766
9066
  writer.writeStringValue("postalCode", leadIntakeRequest.postalCode);
8767
- writer.writeObjectValue("price", leadIntakeRequest.price);
9067
+ writer.writeNumberValue("price", leadIntakeRequest.price);
8768
9068
  writer.writeStringValue("product", leadIntakeRequest.product);
8769
9069
  writer.writeStringValue("referrer", leadIntakeRequest.referrer);
8770
9070
  writer.writeStringValue("sellerLeadId", leadIntakeRequest.sellerLeadId);
@@ -8813,14 +9113,14 @@ export function serializeLeadMetadata(writer, leadMetadata = {}, isSerializingDe
8813
9113
  writer.writeStringValue("complianceBlockedReason", leadMetadata.complianceBlockedReason);
8814
9114
  writer.writeStringValue("complianceStatus", leadMetadata.complianceStatus);
8815
9115
  writer.writeDateValue("createdAt", leadMetadata.createdAt);
8816
- writer.writeObjectValue("directPostPrice", leadMetadata.directPostPrice);
9116
+ writer.writeNumberValue("directPostPrice", leadMetadata.directPostPrice);
8817
9117
  writer.writeStringValue("externalId", leadMetadata.externalId);
8818
9118
  writer.writeStringValue("importBatchId", leadMetadata.importBatchId);
8819
9119
  writer.writeStringValue("ipAddress", leadMetadata.ipAddress);
8820
9120
  writer.writeBooleanValue("isImported", leadMetadata.isImported);
8821
9121
  writer.writeStringValue("landingPage", leadMetadata.landingPage);
8822
9122
  writer.writeStringValue("origin", leadMetadata.origin);
8823
- writer.writeObjectValue("price", leadMetadata.price);
9123
+ writer.writeNumberValue("price", leadMetadata.price);
8824
9124
  writer.writeStringValue("product", leadMetadata.product);
8825
9125
  writer.writeStringValue("pubId", leadMetadata.pubId);
8826
9126
  writer.writeStringValue("referrer", leadMetadata.referrer);
@@ -8833,6 +9133,7 @@ export function serializeLeadMetadata(writer, leadMetadata = {}, isSerializingDe
8833
9133
  writer.writeDateValue("smsOptOutAt", leadMetadata.smsOptOutAt);
8834
9134
  writer.writeObjectValue("sourceMetadata", leadMetadata.sourceMetadata, serializeLeadMetadata_sourceMetadata);
8835
9135
  writer.writeStringValue("subId", leadMetadata.subId);
9136
+ writer.writeDateValue("trustedFormCheckedAt", leadMetadata.trustedFormCheckedAt);
8836
9137
  writer.writeStringValue("trustedFormUrl", leadMetadata.trustedFormUrl);
8837
9138
  writer.writeStringValue("userAgent", leadMetadata.userAgent);
8838
9139
  writer.writeStringValue("userId", leadMetadata.userId);
@@ -8869,18 +9170,18 @@ export function serializeLeadProfile(writer, leadProfile = {}, isSerializingDeri
8869
9170
  return;
8870
9171
  }
8871
9172
  writer.writeDateOnlyValue("birthDate", leadProfile.birthDate);
8872
- writer.writeObjectValue("creditScore", leadProfile.creditScore);
9173
+ writer.writeNumberValue("creditScore", leadProfile.creditScore);
8873
9174
  writer.writeEnumValue("employmentType", leadProfile.employmentType);
8874
9175
  writer.writeEnumValue("gender", leadProfile.gender);
8875
9176
  writer.writeBooleanValue("hasBankruptcy", leadProfile.hasBankruptcy);
8876
9177
  writer.writeBooleanValue("hasMedicalCondition", leadProfile.hasMedicalCondition);
8877
- writer.writeObjectValue("height", leadProfile.height);
8878
- writer.writeObjectValue("income", leadProfile.income);
9178
+ writer.writeNumberValue("height", leadProfile.height);
9179
+ writer.writeNumberValue("income", leadProfile.income);
8879
9180
  writer.writeBooleanValue("isHomeowner", leadProfile.isHomeowner);
8880
9181
  writer.writeEnumValue("maritalStatus", leadProfile.maritalStatus);
8881
- writer.writeObjectValue("monthsAtResidence", leadProfile.monthsAtResidence);
8882
- writer.writeObjectValue("numberOfDependents", leadProfile.numberOfDependents);
8883
- writer.writeObjectValue("weight", leadProfile.weight);
9182
+ writer.writeNumberValue("monthsAtResidence", leadProfile.monthsAtResidence);
9183
+ writer.writeNumberValue("numberOfDependents", leadProfile.numberOfDependents);
9184
+ writer.writeNumberValue("weight", leadProfile.weight);
8884
9185
  writer.writeAdditionalData(leadProfile.additionalData);
8885
9186
  }
8886
9187
  /**
@@ -8971,7 +9272,7 @@ export function serializeLeadStatusRequest(writer, leadStatusRequest = {}, isSer
8971
9272
  writer.writeEnumValue("category", leadStatusRequest.category);
8972
9273
  writer.writeStringValue("color", leadStatusRequest.color);
8973
9274
  writer.writeStringValue("name", leadStatusRequest.name);
8974
- writer.writeObjectValue("sortOrder", leadStatusRequest.sortOrder);
9275
+ writer.writeNumberValue("sortOrder", leadStatusRequest.sortOrder);
8975
9276
  writer.writeAdditionalData(leadStatusRequest.additionalData);
8976
9277
  }
8977
9278
  /**
@@ -9019,7 +9320,7 @@ export function serializeLeadTableRow(writer, leadTableRow = {}, isSerializingDe
9019
9320
  writer.writeBooleanValue("isArchived", leadTableRow.isArchived);
9020
9321
  writer.writeStringValue("lastName", leadTableRow.lastName);
9021
9322
  writer.writeStringValue("phone", leadTableRow.phone);
9022
- writer.writeObjectValue("price", leadTableRow.price);
9323
+ writer.writeNumberValue("price", leadTableRow.price);
9023
9324
  writer.writeObjectValue("source", leadTableRow.source, serializeLeadTableRow_source);
9024
9325
  writer.writeStringValue("status", leadTableRow.status);
9025
9326
  writer.writeStringValue("statusTone", leadTableRow.statusTone);
@@ -9082,6 +9383,24 @@ export function serializeLeadTagsRequest(writer, leadTagsRequest = {}, isSeriali
9082
9383
  writer.writeCollectionOfPrimitiveValues("tagNames", leadTagsRequest.tagNames);
9083
9384
  writer.writeAdditionalData(leadTagsRequest.additionalData);
9084
9385
  }
9386
+ /**
9387
+ * Serializes information the current object
9388
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
9389
+ * @param MessageMediaAttachment The instance to serialize from.
9390
+ * @param writer Serialization writer to use to serialize this model
9391
+ */
9392
+ // @ts-ignore
9393
+ export function serializeMessageMediaAttachment(writer, messageMediaAttachment = {}, isSerializingDerivedType = false) {
9394
+ if (!messageMediaAttachment || isSerializingDerivedType) {
9395
+ return;
9396
+ }
9397
+ writer.writeStringValue("contentType", messageMediaAttachment.contentType);
9398
+ writer.writeStringValue("fileName", messageMediaAttachment.fileName);
9399
+ writer.writeStringValue("sha256", messageMediaAttachment.sha256);
9400
+ writer.writeNumberValue("size", messageMediaAttachment.size);
9401
+ writer.writeStringValue("url", messageMediaAttachment.url);
9402
+ writer.writeAdditionalData(messageMediaAttachment.additionalData);
9403
+ }
9085
9404
  /**
9086
9405
  * Serializes information the current object
9087
9406
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -9320,7 +9639,7 @@ export function serializePagedResultOfAutomationTableRow(writer, pagedResultOfAu
9320
9639
  writer.writeStringValue("continuationToken", pagedResultOfAutomationTableRow.continuationToken);
9321
9640
  writer.writeCollectionOfObjectValues("items", pagedResultOfAutomationTableRow.items, serializeAutomationTableRow);
9322
9641
  writer.writeNumberValue("pageSize", pagedResultOfAutomationTableRow.pageSize);
9323
- writer.writeObjectValue("totalCount", pagedResultOfAutomationTableRow.totalCount);
9642
+ writer.writeNumberValue("totalCount", pagedResultOfAutomationTableRow.totalCount);
9324
9643
  writer.writeAdditionalData(pagedResultOfAutomationTableRow.additionalData);
9325
9644
  }
9326
9645
  /**
@@ -9337,7 +9656,7 @@ export function serializePagedResultOfBusinessTableRow(writer, pagedResultOfBusi
9337
9656
  writer.writeStringValue("continuationToken", pagedResultOfBusinessTableRow.continuationToken);
9338
9657
  writer.writeCollectionOfObjectValues("items", pagedResultOfBusinessTableRow.items, serializeBusinessTableRow);
9339
9658
  writer.writeNumberValue("pageSize", pagedResultOfBusinessTableRow.pageSize);
9340
- writer.writeObjectValue("totalCount", pagedResultOfBusinessTableRow.totalCount);
9659
+ writer.writeNumberValue("totalCount", pagedResultOfBusinessTableRow.totalCount);
9341
9660
  writer.writeAdditionalData(pagedResultOfBusinessTableRow.additionalData);
9342
9661
  }
9343
9662
  /**
@@ -9354,7 +9673,7 @@ export function serializePagedResultOfCallEventTableRow(writer, pagedResultOfCal
9354
9673
  writer.writeStringValue("continuationToken", pagedResultOfCallEventTableRow.continuationToken);
9355
9674
  writer.writeCollectionOfObjectValues("items", pagedResultOfCallEventTableRow.items, serializeCallEventTableRow);
9356
9675
  writer.writeNumberValue("pageSize", pagedResultOfCallEventTableRow.pageSize);
9357
- writer.writeObjectValue("totalCount", pagedResultOfCallEventTableRow.totalCount);
9676
+ writer.writeNumberValue("totalCount", pagedResultOfCallEventTableRow.totalCount);
9358
9677
  writer.writeAdditionalData(pagedResultOfCallEventTableRow.additionalData);
9359
9678
  }
9360
9679
  /**
@@ -9371,9 +9690,26 @@ export function serializePagedResultOfConversationResponse(writer, pagedResultOf
9371
9690
  writer.writeStringValue("continuationToken", pagedResultOfConversationResponse.continuationToken);
9372
9691
  writer.writeCollectionOfObjectValues("items", pagedResultOfConversationResponse.items, serializeConversationResponse);
9373
9692
  writer.writeNumberValue("pageSize", pagedResultOfConversationResponse.pageSize);
9374
- writer.writeObjectValue("totalCount", pagedResultOfConversationResponse.totalCount);
9693
+ writer.writeNumberValue("totalCount", pagedResultOfConversationResponse.totalCount);
9375
9694
  writer.writeAdditionalData(pagedResultOfConversationResponse.additionalData);
9376
9695
  }
9696
+ /**
9697
+ * Serializes information the current object
9698
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
9699
+ * @param PagedResultOfDispositionResponse The instance to serialize from.
9700
+ * @param writer Serialization writer to use to serialize this model
9701
+ */
9702
+ // @ts-ignore
9703
+ export function serializePagedResultOfDispositionResponse(writer, pagedResultOfDispositionResponse = {}, isSerializingDerivedType = false) {
9704
+ if (!pagedResultOfDispositionResponse || isSerializingDerivedType) {
9705
+ return;
9706
+ }
9707
+ writer.writeStringValue("continuationToken", pagedResultOfDispositionResponse.continuationToken);
9708
+ writer.writeCollectionOfObjectValues("items", pagedResultOfDispositionResponse.items, serializeDispositionResponse);
9709
+ writer.writeNumberValue("pageSize", pagedResultOfDispositionResponse.pageSize);
9710
+ writer.writeNumberValue("totalCount", pagedResultOfDispositionResponse.totalCount);
9711
+ writer.writeAdditionalData(pagedResultOfDispositionResponse.additionalData);
9712
+ }
9377
9713
  /**
9378
9714
  * Serializes information the current object
9379
9715
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -9388,7 +9724,7 @@ export function serializePagedResultOfEventTableRow(writer, pagedResultOfEventTa
9388
9724
  writer.writeStringValue("continuationToken", pagedResultOfEventTableRow.continuationToken);
9389
9725
  writer.writeCollectionOfObjectValues("items", pagedResultOfEventTableRow.items, serializeEventTableRow);
9390
9726
  writer.writeNumberValue("pageSize", pagedResultOfEventTableRow.pageSize);
9391
- writer.writeObjectValue("totalCount", pagedResultOfEventTableRow.totalCount);
9727
+ writer.writeNumberValue("totalCount", pagedResultOfEventTableRow.totalCount);
9392
9728
  writer.writeAdditionalData(pagedResultOfEventTableRow.additionalData);
9393
9729
  }
9394
9730
  /**
@@ -9405,7 +9741,7 @@ export function serializePagedResultOfLeadTableRow(writer, pagedResultOfLeadTabl
9405
9741
  writer.writeStringValue("continuationToken", pagedResultOfLeadTableRow.continuationToken);
9406
9742
  writer.writeCollectionOfObjectValues("items", pagedResultOfLeadTableRow.items, serializeLeadTableRow);
9407
9743
  writer.writeNumberValue("pageSize", pagedResultOfLeadTableRow.pageSize);
9408
- writer.writeObjectValue("totalCount", pagedResultOfLeadTableRow.totalCount);
9744
+ writer.writeNumberValue("totalCount", pagedResultOfLeadTableRow.totalCount);
9409
9745
  writer.writeAdditionalData(pagedResultOfLeadTableRow.additionalData);
9410
9746
  }
9411
9747
  /**
@@ -9422,7 +9758,7 @@ export function serializePagedResultOfNotificationTableRow(writer, pagedResultOf
9422
9758
  writer.writeStringValue("continuationToken", pagedResultOfNotificationTableRow.continuationToken);
9423
9759
  writer.writeCollectionOfObjectValues("items", pagedResultOfNotificationTableRow.items, serializeNotificationTableRow);
9424
9760
  writer.writeNumberValue("pageSize", pagedResultOfNotificationTableRow.pageSize);
9425
- writer.writeObjectValue("totalCount", pagedResultOfNotificationTableRow.totalCount);
9761
+ writer.writeNumberValue("totalCount", pagedResultOfNotificationTableRow.totalCount);
9426
9762
  writer.writeAdditionalData(pagedResultOfNotificationTableRow.additionalData);
9427
9763
  }
9428
9764
  /**
@@ -9439,7 +9775,7 @@ export function serializePagedResultOfPhoneNumberTableRow(writer, pagedResultOfP
9439
9775
  writer.writeStringValue("continuationToken", pagedResultOfPhoneNumberTableRow.continuationToken);
9440
9776
  writer.writeCollectionOfObjectValues("items", pagedResultOfPhoneNumberTableRow.items, serializePhoneNumberTableRow);
9441
9777
  writer.writeNumberValue("pageSize", pagedResultOfPhoneNumberTableRow.pageSize);
9442
- writer.writeObjectValue("totalCount", pagedResultOfPhoneNumberTableRow.totalCount);
9778
+ writer.writeNumberValue("totalCount", pagedResultOfPhoneNumberTableRow.totalCount);
9443
9779
  writer.writeAdditionalData(pagedResultOfPhoneNumberTableRow.additionalData);
9444
9780
  }
9445
9781
  /**
@@ -9456,7 +9792,7 @@ export function serializePagedResultOfSmsEventTableRow(writer, pagedResultOfSmsE
9456
9792
  writer.writeStringValue("continuationToken", pagedResultOfSmsEventTableRow.continuationToken);
9457
9793
  writer.writeCollectionOfObjectValues("items", pagedResultOfSmsEventTableRow.items, serializeSmsEventTableRow);
9458
9794
  writer.writeNumberValue("pageSize", pagedResultOfSmsEventTableRow.pageSize);
9459
- writer.writeObjectValue("totalCount", pagedResultOfSmsEventTableRow.totalCount);
9795
+ writer.writeNumberValue("totalCount", pagedResultOfSmsEventTableRow.totalCount);
9460
9796
  writer.writeAdditionalData(pagedResultOfSmsEventTableRow.additionalData);
9461
9797
  }
9462
9798
  /**
@@ -9473,9 +9809,26 @@ export function serializePagedResultOfSourceTableRow(writer, pagedResultOfSource
9473
9809
  writer.writeStringValue("continuationToken", pagedResultOfSourceTableRow.continuationToken);
9474
9810
  writer.writeCollectionOfObjectValues("items", pagedResultOfSourceTableRow.items, serializeSourceTableRow);
9475
9811
  writer.writeNumberValue("pageSize", pagedResultOfSourceTableRow.pageSize);
9476
- writer.writeObjectValue("totalCount", pagedResultOfSourceTableRow.totalCount);
9812
+ writer.writeNumberValue("totalCount", pagedResultOfSourceTableRow.totalCount);
9477
9813
  writer.writeAdditionalData(pagedResultOfSourceTableRow.additionalData);
9478
9814
  }
9815
+ /**
9816
+ * Serializes information the current object
9817
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
9818
+ * @param PagedResultOfSuppressionEntryResponse The instance to serialize from.
9819
+ * @param writer Serialization writer to use to serialize this model
9820
+ */
9821
+ // @ts-ignore
9822
+ export function serializePagedResultOfSuppressionEntryResponse(writer, pagedResultOfSuppressionEntryResponse = {}, isSerializingDerivedType = false) {
9823
+ if (!pagedResultOfSuppressionEntryResponse || isSerializingDerivedType) {
9824
+ return;
9825
+ }
9826
+ writer.writeStringValue("continuationToken", pagedResultOfSuppressionEntryResponse.continuationToken);
9827
+ writer.writeCollectionOfObjectValues("items", pagedResultOfSuppressionEntryResponse.items, serializeSuppressionEntryResponse);
9828
+ writer.writeNumberValue("pageSize", pagedResultOfSuppressionEntryResponse.pageSize);
9829
+ writer.writeNumberValue("totalCount", pagedResultOfSuppressionEntryResponse.totalCount);
9830
+ writer.writeAdditionalData(pagedResultOfSuppressionEntryResponse.additionalData);
9831
+ }
9479
9832
  /**
9480
9833
  * Serializes information the current object
9481
9834
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -9490,7 +9843,7 @@ export function serializePagedResultOfTransactionTableRow(writer, pagedResultOfT
9490
9843
  writer.writeStringValue("continuationToken", pagedResultOfTransactionTableRow.continuationToken);
9491
9844
  writer.writeCollectionOfObjectValues("items", pagedResultOfTransactionTableRow.items, serializeTransactionTableRow);
9492
9845
  writer.writeNumberValue("pageSize", pagedResultOfTransactionTableRow.pageSize);
9493
- writer.writeObjectValue("totalCount", pagedResultOfTransactionTableRow.totalCount);
9846
+ writer.writeNumberValue("totalCount", pagedResultOfTransactionTableRow.totalCount);
9494
9847
  writer.writeAdditionalData(pagedResultOfTransactionTableRow.additionalData);
9495
9848
  }
9496
9849
  /**
@@ -9507,7 +9860,7 @@ export function serializePagedResultOfUsageLedgerTableRow(writer, pagedResultOfU
9507
9860
  writer.writeStringValue("continuationToken", pagedResultOfUsageLedgerTableRow.continuationToken);
9508
9861
  writer.writeCollectionOfObjectValues("items", pagedResultOfUsageLedgerTableRow.items, serializeUsageLedgerTableRow);
9509
9862
  writer.writeNumberValue("pageSize", pagedResultOfUsageLedgerTableRow.pageSize);
9510
- writer.writeObjectValue("totalCount", pagedResultOfUsageLedgerTableRow.totalCount);
9863
+ writer.writeNumberValue("totalCount", pagedResultOfUsageLedgerTableRow.totalCount);
9511
9864
  writer.writeAdditionalData(pagedResultOfUsageLedgerTableRow.additionalData);
9512
9865
  }
9513
9866
  /**
@@ -9538,14 +9891,14 @@ export function serializePhoneCallResponse(writer, phoneCallResponse = {}, isSer
9538
9891
  return;
9539
9892
  }
9540
9893
  writer.writeDateValue("answeredAt", phoneCallResponse.answeredAt);
9541
- writer.writeObjectValue("billableAmount", phoneCallResponse.billableAmount);
9894
+ writer.writeNumberValue("billableAmount", phoneCallResponse.billableAmount);
9542
9895
  writer.writeStringValue("billingStatus", phoneCallResponse.billingStatus);
9543
9896
  writer.writeStringValue("callerId", phoneCallResponse.callerId);
9544
9897
  writer.writeStringValue("campaignId", phoneCallResponse.campaignId);
9545
9898
  writer.writeStringValue("conversationId", phoneCallResponse.conversationId);
9546
9899
  writer.writeDateValue("createdAt", phoneCallResponse.createdAt);
9547
9900
  writer.writeStringValue("direction", phoneCallResponse.direction);
9548
- writer.writeObjectValue("durationSeconds", phoneCallResponse.durationSeconds);
9901
+ writer.writeNumberValue("durationSeconds", phoneCallResponse.durationSeconds);
9549
9902
  writer.writeDateValue("endedAt", phoneCallResponse.endedAt);
9550
9903
  writer.writeStringValue("fromPhoneNumber", phoneCallResponse.fromPhoneNumber);
9551
9904
  writer.writeStringValue("fromPhoneNumberId", phoneCallResponse.fromPhoneNumberId);
@@ -9582,6 +9935,7 @@ export function serializePhoneIdentityResponse(writer, phoneIdentityResponse = {
9582
9935
  writer.writeDateValue("modifiedAt", phoneIdentityResponse.modifiedAt);
9583
9936
  writer.writeStringValue("name", phoneIdentityResponse.name);
9584
9937
  writer.writeStringValue("number", phoneIdentityResponse.number);
9938
+ writer.writeObjectValue("providerEnrichment", phoneIdentityResponse.providerEnrichment, serializePhoneIdentityResponse_providerEnrichment);
9585
9939
  writer.writeAdditionalData(phoneIdentityResponse.additionalData);
9586
9940
  }
9587
9941
  /**
@@ -9597,6 +9951,19 @@ export function serializePhoneIdentityResponse_lookup(writer, phoneIdentityRespo
9597
9951
  }
9598
9952
  serializePhoneLookup(writer, phoneIdentityResponse_lookup, isSerializingDerivedType);
9599
9953
  }
9954
+ /**
9955
+ * Serializes information the current object
9956
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
9957
+ * @param PhoneIdentityResponse_providerEnrichment The instance to serialize from.
9958
+ * @param writer Serialization writer to use to serialize this model
9959
+ */
9960
+ // @ts-ignore
9961
+ export function serializePhoneIdentityResponse_providerEnrichment(writer, phoneIdentityResponse_providerEnrichment = {}, isSerializingDerivedType = false) {
9962
+ if (!phoneIdentityResponse_providerEnrichment || isSerializingDerivedType) {
9963
+ return;
9964
+ }
9965
+ serializePhoneLookupProviderSnapshot(writer, phoneIdentityResponse_providerEnrichment, isSerializingDerivedType);
9966
+ }
9600
9967
  /**
9601
9968
  * Serializes information the current object
9602
9969
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -9623,16 +9990,34 @@ export function serializePhoneLookup(writer, phoneLookup = {}, isSerializingDeri
9623
9990
  if (!phoneLookup || isSerializingDerivedType) {
9624
9991
  return;
9625
9992
  }
9993
+ writer.writeObjectValue("callerName", phoneLookup.callerName, serializePhoneLookup_callerName);
9626
9994
  writer.writeObjectValue("carrier", phoneLookup.carrier, serializePhoneLookup_carrier);
9627
9995
  writer.writeDateValue("createdAt", phoneLookup.createdAt);
9996
+ writer.writeStringValue("fraud", phoneLookup.fraud);
9628
9997
  writer.writeStringValue("id", phoneLookup.id);
9629
9998
  writer.writeBooleanValue("isValid", phoneLookup.isValid);
9630
9999
  writer.writeEnumValue("lineType", phoneLookup.lineType);
9631
10000
  writer.writeObjectValue("location", phoneLookup.location, serializePhoneLookup_location);
9632
10001
  writer.writeDateValue("modifiedAt", phoneLookup.modifiedAt);
10002
+ writer.writeStringValue("nationalFormat", phoneLookup.nationalFormat);
9633
10003
  writer.writeStringValue("number", phoneLookup.number);
10004
+ writer.writeObjectValue("portability", phoneLookup.portability, serializePhoneLookup_portability);
10005
+ writer.writeStringValue("recordType", phoneLookup.recordType);
9634
10006
  writer.writeAdditionalData(phoneLookup.additionalData);
9635
10007
  }
10008
+ /**
10009
+ * Serializes information the current object
10010
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
10011
+ * @param PhoneLookup_callerName The instance to serialize from.
10012
+ * @param writer Serialization writer to use to serialize this model
10013
+ */
10014
+ // @ts-ignore
10015
+ export function serializePhoneLookup_callerName(writer, phoneLookup_callerName = {}, isSerializingDerivedType = false) {
10016
+ if (!phoneLookup_callerName || isSerializingDerivedType) {
10017
+ return;
10018
+ }
10019
+ serializePhoneLookupCallerName(writer, phoneLookup_callerName, isSerializingDerivedType);
10020
+ }
9636
10021
  /**
9637
10022
  * Serializes information the current object
9638
10023
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -9659,6 +10044,34 @@ export function serializePhoneLookup_location(writer, phoneLookup_location = {},
9659
10044
  }
9660
10045
  serializePhoneNumberLocation(writer, phoneLookup_location, isSerializingDerivedType);
9661
10046
  }
10047
+ /**
10048
+ * Serializes information the current object
10049
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
10050
+ * @param PhoneLookup_portability The instance to serialize from.
10051
+ * @param writer Serialization writer to use to serialize this model
10052
+ */
10053
+ // @ts-ignore
10054
+ export function serializePhoneLookup_portability(writer, phoneLookup_portability = {}, isSerializingDerivedType = false) {
10055
+ if (!phoneLookup_portability || isSerializingDerivedType) {
10056
+ return;
10057
+ }
10058
+ serializePhoneLookupPortability(writer, phoneLookup_portability, isSerializingDerivedType);
10059
+ }
10060
+ /**
10061
+ * Serializes information the current object
10062
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
10063
+ * @param PhoneLookupCallerName The instance to serialize from.
10064
+ * @param writer Serialization writer to use to serialize this model
10065
+ */
10066
+ // @ts-ignore
10067
+ export function serializePhoneLookupCallerName(writer, phoneLookupCallerName = {}, isSerializingDerivedType = false) {
10068
+ if (!phoneLookupCallerName || isSerializingDerivedType) {
10069
+ return;
10070
+ }
10071
+ writer.writeStringValue("errorCode", phoneLookupCallerName.errorCode);
10072
+ writer.writeStringValue("name", phoneLookupCallerName.name);
10073
+ writer.writeAdditionalData(phoneLookupCallerName.additionalData);
10074
+ }
9662
10075
  /**
9663
10076
  * Serializes information the current object
9664
10077
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -9678,6 +10091,50 @@ export function serializePhoneLookupCarrier(writer, phoneLookupCarrier = {}, isS
9678
10091
  writer.writeEnumValue("type", phoneLookupCarrier.type);
9679
10092
  writer.writeAdditionalData(phoneLookupCarrier.additionalData);
9680
10093
  }
10094
+ /**
10095
+ * Serializes information the current object
10096
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
10097
+ * @param PhoneLookupPortability The instance to serialize from.
10098
+ * @param writer Serialization writer to use to serialize this model
10099
+ */
10100
+ // @ts-ignore
10101
+ export function serializePhoneLookupPortability(writer, phoneLookupPortability = {}, isSerializingDerivedType = false) {
10102
+ if (!phoneLookupPortability || isSerializingDerivedType) {
10103
+ return;
10104
+ }
10105
+ writer.writeStringValue("alternativeCarrierName", phoneLookupPortability.alternativeCarrierName);
10106
+ writer.writeStringValue("alternativeCarrierType", phoneLookupPortability.alternativeCarrierType);
10107
+ writer.writeStringValue("alternativeSpid", phoneLookupPortability.alternativeSpid);
10108
+ writer.writeStringValue("carrierName", phoneLookupPortability.carrierName);
10109
+ writer.writeStringValue("carrierType", phoneLookupPortability.carrierType);
10110
+ writer.writeStringValue("city", phoneLookupPortability.city);
10111
+ writer.writeStringValue("lineType", phoneLookupPortability.lineType);
10112
+ writer.writeStringValue("localRoutingNumber", phoneLookupPortability.localRoutingNumber);
10113
+ writer.writeStringValue("operatingCompanyNumber", phoneLookupPortability.operatingCompanyNumber);
10114
+ writer.writeStringValue("portedDate", phoneLookupPortability.portedDate);
10115
+ writer.writeStringValue("portedStatus", phoneLookupPortability.portedStatus);
10116
+ writer.writeStringValue("spid", phoneLookupPortability.spid);
10117
+ writer.writeStringValue("state", phoneLookupPortability.state);
10118
+ writer.writeAdditionalData(phoneLookupPortability.additionalData);
10119
+ }
10120
+ /**
10121
+ * Serializes information the current object
10122
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
10123
+ * @param PhoneLookupProviderSnapshot The instance to serialize from.
10124
+ * @param writer Serialization writer to use to serialize this model
10125
+ */
10126
+ // @ts-ignore
10127
+ export function serializePhoneLookupProviderSnapshot(writer, phoneLookupProviderSnapshot = {}, isSerializingDerivedType = false) {
10128
+ if (!phoneLookupProviderSnapshot || isSerializingDerivedType) {
10129
+ return;
10130
+ }
10131
+ writer.writeStringValue("lookupType", phoneLookupProviderSnapshot.lookupType);
10132
+ writer.writeStringValue("provider", phoneLookupProviderSnapshot.provider);
10133
+ writer.writeStringValue("rawRecordJson", phoneLookupProviderSnapshot.rawRecordJson);
10134
+ writer.writeDateValue("retrievedAt", phoneLookupProviderSnapshot.retrievedAt);
10135
+ writer.writeNumberValue("schemaVersion", phoneLookupProviderSnapshot.schemaVersion);
10136
+ writer.writeAdditionalData(phoneLookupProviderSnapshot.additionalData);
10137
+ }
9681
10138
  /**
9682
10139
  * Serializes information the current object
9683
10140
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -9707,7 +10164,7 @@ export function serializePhoneNumberAvailabilityResponse(writer, phoneNumberAvai
9707
10164
  writer.writeBooleanValue("isAvailable", phoneNumberAvailabilityResponse.isAvailable);
9708
10165
  writer.writeObjectValue("location", phoneNumberAvailabilityResponse.location, serializePhoneNumberAvailabilityResponse_location);
9709
10166
  writer.writeStringValue("phoneNumber", phoneNumberAvailabilityResponse.phoneNumber);
9710
- writer.writeObjectValue("price", phoneNumberAvailabilityResponse.price);
10167
+ writer.writeNumberValue("price", phoneNumberAvailabilityResponse.price);
9711
10168
  writer.writeAdditionalData(phoneNumberAvailabilityResponse.additionalData);
9712
10169
  }
9713
10170
  /**
@@ -10116,7 +10573,7 @@ export function serializeProblemDetails(writer, problemDetails = {}, isSerializi
10116
10573
  }
10117
10574
  writer.writeStringValue("detail", problemDetails.detail);
10118
10575
  writer.writeStringValue("instance", problemDetails.instance);
10119
- writer.writeObjectValue("status", problemDetails.status);
10576
+ writer.writeNumberValue("status", problemDetails.status);
10120
10577
  writer.writeStringValue("title", problemDetails.title);
10121
10578
  writer.writeStringValue("type", problemDetails.type);
10122
10579
  writer.writeAdditionalData(problemDetails.additionalData);
@@ -10174,6 +10631,7 @@ export function serializeSendSmsRequest(writer, sendSmsRequest = {}, isSerializi
10174
10631
  writer.writeStringValue("campaignId", sendSmsRequest.campaignId);
10175
10632
  writer.writeStringValue("conversationId", sendSmsRequest.conversationId);
10176
10633
  writer.writeStringValue("fromPhoneNumberId", sendSmsRequest.fromPhoneNumberId);
10634
+ writer.writeCollectionOfPrimitiveValues("mediaUrls", sendSmsRequest.mediaUrls);
10177
10635
  writer.writeStringValue("outboundIdempotencyKey", sendSmsRequest.outboundIdempotencyKey);
10178
10636
  writer.writeDateValue("scheduledFor", sendSmsRequest.scheduledFor);
10179
10637
  writer.writeStringValue("smsEventId", sendSmsRequest.smsEventId);
@@ -10195,7 +10653,7 @@ export function serializeSmsEventTableRow(writer, smsEventTableRow = {}, isSeria
10195
10653
  }
10196
10654
  writer.writeStringValue("actorDisplayName", smsEventTableRow.actorDisplayName);
10197
10655
  writer.writeStringValue("actorUserId", smsEventTableRow.actorUserId);
10198
- writer.writeObjectValue("billableAmount", smsEventTableRow.billableAmount);
10656
+ writer.writeNumberValue("billableAmount", smsEventTableRow.billableAmount);
10199
10657
  writer.writeStringValue("billingStatus", smsEventTableRow.billingStatus);
10200
10658
  writer.writeDateValue("blockedAt", smsEventTableRow.blockedAt);
10201
10659
  writer.writeStringValue("business", smsEventTableRow.business);
@@ -10215,6 +10673,7 @@ export function serializeSmsEventTableRow(writer, smsEventTableRow = {}, isSeria
10215
10673
  writer.writeStringValue("id", smsEventTableRow.id);
10216
10674
  writer.writeBooleanValue("isAutomated", smsEventTableRow.isAutomated);
10217
10675
  writer.writeObjectValue("lead", smsEventTableRow.lead, serializeIdNamePair);
10676
+ writer.writeCollectionOfObjectValues("media", smsEventTableRow.media, serializeMessageMediaAttachment);
10218
10677
  writer.writeStringValue("outboundPhoneNumberId", smsEventTableRow.outboundPhoneNumberId);
10219
10678
  writer.writeEnumValue("outboundSource", smsEventTableRow.outboundSource);
10220
10679
  writer.writeDateValue("queuedAt", smsEventTableRow.queuedAt);
@@ -10282,7 +10741,7 @@ export function serializeSmsResponse(writer, smsResponse = {}, isSerializingDeri
10282
10741
  if (!smsResponse || isSerializingDerivedType) {
10283
10742
  return;
10284
10743
  }
10285
- writer.writeObjectValue("billableAmount", smsResponse.billableAmount);
10744
+ writer.writeNumberValue("billableAmount", smsResponse.billableAmount);
10286
10745
  writer.writeStringValue("billingStatus", smsResponse.billingStatus);
10287
10746
  writer.writeDateValue("blockedAt", smsResponse.blockedAt);
10288
10747
  writer.writeStringValue("campaignId", smsResponse.campaignId);
@@ -10299,6 +10758,7 @@ export function serializeSmsResponse(writer, smsResponse = {}, isSerializingDeri
10299
10758
  writer.writeStringValue("fromPhoneNumberId", smsResponse.fromPhoneNumberId);
10300
10759
  writer.writeStringValue("id", smsResponse.id);
10301
10760
  writer.writeStringValue("leadId", smsResponse.leadId);
10761
+ writer.writeCollectionOfObjectValues("media", smsResponse.media, serializeMessageMediaAttachment);
10302
10762
  writer.writeDateValue("modifiedAt", smsResponse.modifiedAt);
10303
10763
  writer.writeDateValue("nextRetryAt", smsResponse.nextRetryAt);
10304
10764
  writer.writeStringValue("outboundPhoneNumberId", smsResponse.outboundPhoneNumberId);
@@ -10350,7 +10810,7 @@ export function serializeSourceRequest(writer, sourceRequest = {}, isSerializing
10350
10810
  writer.writeCollectionOfPrimitiveValues("allowedProducts", sourceRequest.allowedProducts);
10351
10811
  writer.writeCollectionOfPrimitiveValues("allowedStates", sourceRequest.allowedStates);
10352
10812
  writer.writeStringValue("apiKey", sourceRequest.apiKey);
10353
- writer.writeObjectValue("costPerLead", sourceRequest.costPerLead);
10813
+ writer.writeNumberValue("costPerLead", sourceRequest.costPerLead);
10354
10814
  writer.writeCollectionOfPrimitiveValues("defaultTagIds", sourceRequest.defaultTagIds);
10355
10815
  writer.writeCollectionOfPrimitiveValues("defaultTagNames", sourceRequest.defaultTagNames);
10356
10816
  writer.writeStringValue("description", sourceRequest.description);
@@ -10378,7 +10838,7 @@ export function serializeSourceResponse(writer, sourceResponse = {}, isSerializi
10378
10838
  writer.writeStringValue("apiKeyPreview", sourceResponse.apiKeyPreview);
10379
10839
  writer.writeObjectValue("business", sourceResponse.business, serializeSourceResponse_business);
10380
10840
  writer.writeBooleanValue("complianceApproved", sourceResponse.complianceApproved);
10381
- writer.writeObjectValue("costPerLead", sourceResponse.costPerLead);
10841
+ writer.writeNumberValue("costPerLead", sourceResponse.costPerLead);
10382
10842
  writer.writeDateValue("createdAt", sourceResponse.createdAt);
10383
10843
  writer.writeObjectValue("createdByUser", sourceResponse.createdByUser, serializeSourceResponse_createdByUser);
10384
10844
  writer.writeCollectionOfPrimitiveValues("defaultTagIds", sourceResponse.defaultTagIds);
@@ -10467,7 +10927,7 @@ export function serializeSourceTableRow(writer, sourceTableRow = {}, isSerializi
10467
10927
  writer.writeObjectValue("business", sourceTableRow.business, serializeSourceTableRow_business);
10468
10928
  writer.writeStringValue("businessId", sourceTableRow.businessId);
10469
10929
  writer.writeBooleanValue("complianceApproved", sourceTableRow.complianceApproved);
10470
- writer.writeObjectValue("costPerLead", sourceTableRow.costPerLead);
10930
+ writer.writeNumberValue("costPerLead", sourceTableRow.costPerLead);
10471
10931
  writer.writeDateValue("createdAt", sourceTableRow.createdAt);
10472
10932
  writer.writeObjectValue("createdByUser", sourceTableRow.createdByUser, serializeSourceTableRow_createdByUser);
10473
10933
  writer.writeCollectionOfPrimitiveValues("defaultTagIds", sourceTableRow.defaultTagIds);
@@ -10810,13 +11270,15 @@ export function serializeTenDlcApplicationDraft(writer, tenDlcApplicationDraft =
10810
11270
  if (!tenDlcApplicationDraft || isSerializingDerivedType) {
10811
11271
  return;
10812
11272
  }
11273
+ writer.writeEnumValue("brandStatus", tenDlcApplicationDraft.brandStatus);
11274
+ writer.writeEnumValue("campaignStatus", tenDlcApplicationDraft.campaignStatus);
10813
11275
  writer.writeStringValue("companyName", tenDlcApplicationDraft.companyName);
10814
11276
  writer.writeCollectionOfPrimitiveValues("complianceWarnings", tenDlcApplicationDraft.complianceWarnings);
10815
11277
  writer.writeStringValue("contactEmail", tenDlcApplicationDraft.contactEmail);
10816
11278
  writer.writeStringValue("contactName", tenDlcApplicationDraft.contactName);
10817
11279
  writer.writeStringValue("contactPhone", tenDlcApplicationDraft.contactPhone);
10818
11280
  writer.writeStringValue("ein", tenDlcApplicationDraft.ein);
10819
- writer.writeObjectValue("expectedMonthlyVolume", tenDlcApplicationDraft.expectedMonthlyVolume);
11281
+ writer.writeNumberValue("expectedMonthlyVolume", tenDlcApplicationDraft.expectedMonthlyVolume);
10820
11282
  writer.writeStringValue("industry", tenDlcApplicationDraft.industry);
10821
11283
  writer.writeDateValue("lastSubmittedAt", tenDlcApplicationDraft.lastSubmittedAt);
10822
11284
  writer.writeStringValue("leadSource", tenDlcApplicationDraft.leadSource);
@@ -10860,10 +11322,13 @@ export function serializeTransactionResponse(writer, transactionResponse = {}, i
10860
11322
  return;
10861
11323
  }
10862
11324
  writer.writeNumberValue("amount", transactionResponse.amount);
11325
+ writer.writeEnumValue("billableUnit", transactionResponse.billableUnit);
11326
+ writer.writeNumberValue("billedAmount", transactionResponse.billedAmount);
11327
+ writer.writeEnumValue("billingChannel", transactionResponse.billingChannel);
10863
11328
  writer.writeObjectValue("business", transactionResponse.business, serializeTransactionResponse_business);
10864
11329
  writer.writeDateValue("createdAt", transactionResponse.createdAt);
10865
11330
  writer.writeStringValue("description", transactionResponse.description);
10866
- writer.writeObjectValue("gatewayFeeAmount", transactionResponse.gatewayFeeAmount);
11331
+ writer.writeNumberValue("gatewayFeeAmount", transactionResponse.gatewayFeeAmount);
10867
11332
  writer.writeStringValue("gatewayStatus", transactionResponse.gatewayStatus);
10868
11333
  writer.writeStringValue("id", transactionResponse.id);
10869
11334
  writer.writeObjectValue("lead", transactionResponse.lead, serializeTransactionResponse_lead);
@@ -10871,7 +11336,7 @@ export function serializeTransactionResponse(writer, transactionResponse = {}, i
10871
11336
  writer.writeNumberValue("netAmount", transactionResponse.netAmount);
10872
11337
  writer.writeStringValue("notes", transactionResponse.notes);
10873
11338
  writer.writeStringValue("paymentMethodDisplay", transactionResponse.paymentMethodDisplay);
10874
- writer.writeObjectValue("platformFeeAmount", transactionResponse.platformFeeAmount);
11339
+ writer.writeNumberValue("platformFeeAmount", transactionResponse.platformFeeAmount);
10875
11340
  writer.writeEnumValue("transactionStatus", transactionResponse.transactionStatus);
10876
11341
  writer.writeEnumValue("transactionType", transactionResponse.transactionType);
10877
11342
  writer.writeAdditionalData(transactionResponse.additionalData);
@@ -10914,6 +11379,9 @@ export function serializeTransactionTableRow(writer, transactionTableRow = {}, i
10914
11379
  return;
10915
11380
  }
10916
11381
  writer.writeNumberValue("amount", transactionTableRow.amount);
11382
+ writer.writeEnumValue("billableUnit", transactionTableRow.billableUnit);
11383
+ writer.writeNumberValue("billedAmount", transactionTableRow.billedAmount);
11384
+ writer.writeEnumValue("billingChannel", transactionTableRow.billingChannel);
10917
11385
  writer.writeObjectValue("business", transactionTableRow.business, serializeTransactionTableRow_business);
10918
11386
  writer.writeDateValue("createdAt", transactionTableRow.createdAt);
10919
11387
  writer.writeStringValue("description", transactionTableRow.description);
@@ -10921,8 +11389,13 @@ export function serializeTransactionTableRow(writer, transactionTableRow = {}, i
10921
11389
  writer.writeObjectValue("lead", transactionTableRow.lead, serializeTransactionTableRow_lead);
10922
11390
  writer.writeNumberValue("netAmount", transactionTableRow.netAmount);
10923
11391
  writer.writeStringValue("paymentMethodDisplay", transactionTableRow.paymentMethodDisplay);
11392
+ writer.writeStringValue("pricingVersion", transactionTableRow.pricingVersion);
11393
+ writer.writeNumberValue("quantity", transactionTableRow.quantity);
11394
+ writer.writeStringValue("sourceEventId", transactionTableRow.sourceEventId);
11395
+ writer.writeStringValue("sourceEventType", transactionTableRow.sourceEventType);
10924
11396
  writer.writeEnumValue("transactionStatus", transactionTableRow.transactionStatus);
10925
11397
  writer.writeEnumValue("transactionType", transactionTableRow.transactionType);
11398
+ writer.writeNumberValue("unitPrice", transactionTableRow.unitPrice);
10926
11399
  writer.writeAdditionalData(transactionTableRow.additionalData);
10927
11400
  }
10928
11401
  /**
@@ -10997,21 +11470,21 @@ export function serializeUsageLedgerTableRow(writer, usageLedgerTableRow = {}, i
10997
11470
  if (!usageLedgerTableRow || isSerializingDerivedType) {
10998
11471
  return;
10999
11472
  }
11000
- writer.writeObjectValue("billableSeconds", usageLedgerTableRow.billableSeconds);
11473
+ writer.writeNumberValue("billableSeconds", usageLedgerTableRow.billableSeconds);
11001
11474
  writer.writeEnumValue("billableUnit", usageLedgerTableRow.billableUnit);
11002
11475
  writer.writeObjectValue("business", usageLedgerTableRow.business, serializeUsageLedgerTableRow_business);
11003
11476
  writer.writeEnumValue("channel", usageLedgerTableRow.channel);
11004
11477
  writer.writeDateValue("createdAt", usageLedgerTableRow.createdAt);
11005
11478
  writer.writeNumberValue("customerChargeAmount", usageLedgerTableRow.customerChargeAmount);
11006
11479
  writer.writeStringValue("description", usageLedgerTableRow.description);
11007
- writer.writeObjectValue("durationSeconds", usageLedgerTableRow.durationSeconds);
11480
+ writer.writeNumberValue("durationSeconds", usageLedgerTableRow.durationSeconds);
11008
11481
  writer.writeStringValue("id", usageLedgerTableRow.id);
11009
11482
  writer.writeBooleanValue("isBillable", usageLedgerTableRow.isBillable);
11010
11483
  writer.writeObjectValue("lead", usageLedgerTableRow.lead, serializeUsageLedgerTableRow_lead);
11011
11484
  writer.writeStringValue("phoneNumber", usageLedgerTableRow.phoneNumber);
11012
11485
  writer.writeStringValue("phoneNumberId", usageLedgerTableRow.phoneNumberId);
11013
11486
  writer.writeNumberValue("quantity", usageLedgerTableRow.quantity);
11014
- writer.writeObjectValue("smsSegments", usageLedgerTableRow.smsSegments);
11487
+ writer.writeNumberValue("smsSegments", usageLedgerTableRow.smsSegments);
11015
11488
  writer.writeEnumValue("status", usageLedgerTableRow.status);
11016
11489
  writer.writeNumberValue("unitPrice", usageLedgerTableRow.unitPrice);
11017
11490
  writer.writeObjectValue("user", usageLedgerTableRow.user, serializeUsageLedgerTableRow_user);
@@ -11094,7 +11567,7 @@ export function serializeUsageSummaryResponse(writer, usageSummaryResponse = {},
11094
11567
  writer.writeNumberValue("pendingInvoiceCount", usageSummaryResponse.pendingInvoiceCount);
11095
11568
  writer.writeDateValue("periodEnd", usageSummaryResponse.periodEnd);
11096
11569
  writer.writeDateValue("periodStart", usageSummaryResponse.periodStart);
11097
- writer.writeNumberValue("usageRecordCount", usageSummaryResponse.usageRecordCount);
11570
+ writer.writeNumberValue("transactionCount", usageSummaryResponse.transactionCount);
11098
11571
  writer.writeAdditionalData(usageSummaryResponse.additionalData);
11099
11572
  }
11100
11573
  /**
@@ -11156,7 +11629,7 @@ export function serializeUserDataExportResponse(writer, userDataExportResponse =
11156
11629
  writer.writeNumberValue("maxDownloadCount", userDataExportResponse.maxDownloadCount);
11157
11630
  writer.writeStringValue("message", userDataExportResponse.message);
11158
11631
  writer.writeDateValue("requestedAt", userDataExportResponse.requestedAt);
11159
- writer.writeObjectValue("sizeBytes", userDataExportResponse.sizeBytes);
11632
+ writer.writeNumberValue("sizeBytes", userDataExportResponse.sizeBytes);
11160
11633
  writer.writeDateValue("startedAt", userDataExportResponse.startedAt);
11161
11634
  writer.writeEnumValue("status", userDataExportResponse.status);
11162
11635
  writer.writeAdditionalData(userDataExportResponse.additionalData);
@@ -11393,21 +11866,21 @@ export function serializeWalletResponse(writer, walletResponse = {}, isSerializi
11393
11866
  if (!walletResponse || isSerializingDerivedType) {
11394
11867
  return;
11395
11868
  }
11396
- writer.writeObjectValue("amountPurchased", walletResponse.amountPurchased);
11397
- writer.writeObjectValue("amountRemaining", walletResponse.amountRemaining);
11398
- writer.writeObjectValue("balance", walletResponse.balance);
11869
+ writer.writeNumberValue("amountPurchased", walletResponse.amountPurchased);
11870
+ writer.writeNumberValue("amountRemaining", walletResponse.amountRemaining);
11871
+ writer.writeNumberValue("balance", walletResponse.balance);
11399
11872
  writer.writeDateValue("balanceCalculatedAt", walletResponse.balanceCalculatedAt);
11400
11873
  writer.writeStringValue("businessId", walletResponse.businessId);
11401
11874
  writer.writeDateValue("createdAt", walletResponse.createdAt);
11402
11875
  writer.writeEnumValue("creditStatus", walletResponse.creditStatus);
11403
11876
  writer.writeStringValue("currency", walletResponse.currency);
11404
- writer.writeObjectValue("expiredCreditAmount", walletResponse.expiredCreditAmount);
11877
+ writer.writeNumberValue("expiredCreditAmount", walletResponse.expiredCreditAmount);
11405
11878
  writer.writeDateValue("expiresAt", walletResponse.expiresAt);
11406
11879
  writer.writeStringValue("id", walletResponse.id);
11407
11880
  writer.writeDateValue("modifiedAt", walletResponse.modifiedAt);
11408
11881
  writer.writeStringValue("name", walletResponse.name);
11409
11882
  writer.writeDateValue("nextCreditExpirationAt", walletResponse.nextCreditExpirationAt);
11410
- writer.writeObjectValue("nextExpiringCreditAmount", walletResponse.nextExpiringCreditAmount);
11883
+ writer.writeNumberValue("nextExpiringCreditAmount", walletResponse.nextExpiringCreditAmount);
11411
11884
  writer.writeStringValue("originalTransactionId", walletResponse.originalTransactionId);
11412
11885
  writer.writeDateValue("purchasedAt", walletResponse.purchasedAt);
11413
11886
  writer.writeEnumValue("sourceType", walletResponse.sourceType);
@@ -11463,6 +11936,8 @@ export const ActivationTelephonyStatusObject = {
11463
11936
  * Defines the supported Billable Unit values.
11464
11937
  */
11465
11938
  export const BillableUnitObject = {
11939
+ Lead_received: "lead_received",
11940
+ Phone_identity_lookup: "phone_identity_lookup",
11466
11941
  Sms_segment: "sms_segment",
11467
11942
  Mms_message: "mms_message",
11468
11943
  Email_message: "email_message",
@@ -11471,6 +11946,7 @@ export const BillableUnitObject = {
11471
11946
  Warmup_sms_segment: "warmup_sms_segment",
11472
11947
  Warmup_voice_minute: "warmup_voice_minute",
11473
11948
  Website_setup: "website_setup",
11949
+ Openai_operation: "openai_operation",
11474
11950
  Domain_registration: "domain_registration",
11475
11951
  OneZerodlc_application: "10dlc_application",
11476
11952
  Connection_action: "connection_action",
@@ -11483,6 +11959,17 @@ export const BillingPlanObject = {
11483
11959
  Annual: "Annual",
11484
11960
  Monthly: "Monthly",
11485
11961
  };
11962
+ /**
11963
+ * Defines the stages of a domain search.
11964
+ */
11965
+ export const BusinessActivationState_domainSearchStageObject = {
11966
+ Queued: "Queued",
11967
+ AskingOpenAi: "AskingOpenAi",
11968
+ CheckingCloudflare: "CheckingCloudflare",
11969
+ Ranking: "Ranking",
11970
+ Complete: "Complete",
11971
+ Failed: "Failed",
11972
+ };
11486
11973
  /**
11487
11974
  * Defines the supported Billing Plan values.
11488
11975
  */
@@ -11602,7 +12089,7 @@ export const BusinessSwitchOption_businessStatusObject = {
11602
12089
  export const BusinessSwitchOption_tenDlcStatusObject = {
11603
12090
  NotStarted: "NotStarted",
11604
12091
  DraftGenerated: "DraftGenerated",
11605
- DraftNeedsAdminReview: "DraftNeedsAdminReview",
12092
+ DraftIncomplete: "DraftIncomplete",
11606
12093
  ReadyToSubmit: "ReadyToSubmit",
11607
12094
  Submitted: "Submitted",
11608
12095
  PendingTelnyxReview: "PendingTelnyxReview",
@@ -11683,7 +12170,7 @@ export const BusinessTableRow_subscriptionStatusObject = {
11683
12170
  export const BusinessTableRow_tenDlcStatusObject = {
11684
12171
  NotStarted: "NotStarted",
11685
12172
  DraftGenerated: "DraftGenerated",
11686
- DraftNeedsAdminReview: "DraftNeedsAdminReview",
12173
+ DraftIncomplete: "DraftIncomplete",
11687
12174
  ReadyToSubmit: "ReadyToSubmit",
11688
12175
  Submitted: "Submitted",
11689
12176
  PendingTelnyxReview: "PendingTelnyxReview",
@@ -12134,9 +12621,6 @@ export const OutboundQueueItem_reasonCodeObject = {
12134
12621
  Phone_number_daily_limit_reached: "phone_number_daily_limit_reached",
12135
12622
  Phone_number_hourly_limit_reached: "phone_number_hourly_limit_reached",
12136
12623
  Phone_number_minute_limit_reached: "phone_number_minute_limit_reached",
12137
- Business_daily_limit_reached: "business_daily_limit_reached",
12138
- Business_hourly_limit_reached: "business_hourly_limit_reached",
12139
- Business_minute_limit_reached: "business_minute_limit_reached",
12140
12624
  Lead_daily_limit_reached: "lead_daily_limit_reached",
12141
12625
  Lead_hourly_limit_reached: "lead_hourly_limit_reached",
12142
12626
  Lead_recently_contacted: "lead_recently_contacted",
@@ -12414,7 +12898,7 @@ export const SmsResponse_trafficTypeObject = {
12414
12898
  export const TenDlcApplicationStatusObject = {
12415
12899
  NotStarted: "NotStarted",
12416
12900
  DraftGenerated: "DraftGenerated",
12417
- DraftNeedsAdminReview: "DraftNeedsAdminReview",
12901
+ DraftIncomplete: "DraftIncomplete",
12418
12902
  ReadyToSubmit: "ReadyToSubmit",
12419
12903
  Submitted: "Submitted",
12420
12904
  PendingTelnyxReview: "PendingTelnyxReview",
@@ -12424,6 +12908,54 @@ export const TenDlcApplicationStatusObject = {
12424
12908
  ResubmissionReady: "ResubmissionReady",
12425
12909
  Failed: "Failed",
12426
12910
  };
12911
+ /**
12912
+ * Defines the provider lifecycle for an individual 10DLC brand or campaign.
12913
+ */
12914
+ export const TenDlcRegistrationStatusObject = {
12915
+ NotSubmitted: "NotSubmitted",
12916
+ Pending: "Pending",
12917
+ Approved: "Approved",
12918
+ Rejected: "Rejected",
12919
+ Failed: "Failed",
12920
+ };
12921
+ /**
12922
+ * Defines the supported Billable Unit values.
12923
+ */
12924
+ export const TransactionResponse_billableUnitObject = {
12925
+ Lead_received: "lead_received",
12926
+ Phone_identity_lookup: "phone_identity_lookup",
12927
+ Sms_segment: "sms_segment",
12928
+ Mms_message: "mms_message",
12929
+ Email_message: "email_message",
12930
+ Voice_minute: "voice_minute",
12931
+ Phone_number_month: "phone_number_month",
12932
+ Warmup_sms_segment: "warmup_sms_segment",
12933
+ Warmup_voice_minute: "warmup_voice_minute",
12934
+ Website_setup: "website_setup",
12935
+ Openai_operation: "openai_operation",
12936
+ Domain_registration: "domain_registration",
12937
+ OneZerodlc_application: "10dlc_application",
12938
+ Connection_action: "connection_action",
12939
+ Automation_run: "automation_run",
12940
+ };
12941
+ /**
12942
+ * Defines the supported Usage Channel values.
12943
+ */
12944
+ export const TransactionResponse_billingChannelObject = {
12945
+ Lead: "lead",
12946
+ Sms: "sms",
12947
+ Mms: "mms",
12948
+ Email: "email",
12949
+ Voice: "voice",
12950
+ Phone_number: "phone_number",
12951
+ Warmup: "warmup",
12952
+ Website: "website",
12953
+ Openai: "openai",
12954
+ Domain: "domain",
12955
+ OneZerodlc: "10dlc",
12956
+ Connection: "connection",
12957
+ Automation: "automation",
12958
+ };
12427
12959
  /**
12428
12960
  * Defines the supported Transaction Status values.
12429
12961
  */
@@ -12432,6 +12964,44 @@ export const TransactionStatusObject = {
12432
12964
  Confirmed: "Confirmed",
12433
12965
  Failed: "Failed",
12434
12966
  };
12967
+ /**
12968
+ * Defines the supported Billable Unit values.
12969
+ */
12970
+ export const TransactionTableRow_billableUnitObject = {
12971
+ Lead_received: "lead_received",
12972
+ Phone_identity_lookup: "phone_identity_lookup",
12973
+ Sms_segment: "sms_segment",
12974
+ Mms_message: "mms_message",
12975
+ Email_message: "email_message",
12976
+ Voice_minute: "voice_minute",
12977
+ Phone_number_month: "phone_number_month",
12978
+ Warmup_sms_segment: "warmup_sms_segment",
12979
+ Warmup_voice_minute: "warmup_voice_minute",
12980
+ Website_setup: "website_setup",
12981
+ Openai_operation: "openai_operation",
12982
+ Domain_registration: "domain_registration",
12983
+ OneZerodlc_application: "10dlc_application",
12984
+ Connection_action: "connection_action",
12985
+ Automation_run: "automation_run",
12986
+ };
12987
+ /**
12988
+ * Defines the supported Usage Channel values.
12989
+ */
12990
+ export const TransactionTableRow_billingChannelObject = {
12991
+ Lead: "lead",
12992
+ Sms: "sms",
12993
+ Mms: "mms",
12994
+ Email: "email",
12995
+ Voice: "voice",
12996
+ Phone_number: "phone_number",
12997
+ Warmup: "warmup",
12998
+ Website: "website",
12999
+ Openai: "openai",
13000
+ Domain: "domain",
13001
+ OneZerodlc: "10dlc",
13002
+ Connection: "connection",
13003
+ Automation: "automation",
13004
+ };
12435
13005
  /**
12436
13006
  * Defines the supported Transaction Type values.
12437
13007
  */
@@ -12444,6 +13014,7 @@ export const TransactionTypeObject = {
12444
13014
  * Defines the supported Usage Channel values.
12445
13015
  */
12446
13016
  export const UsageChannelObject = {
13017
+ Lead: "lead",
12447
13018
  Sms: "sms",
12448
13019
  Mms: "mms",
12449
13020
  Email: "email",
@@ -12451,6 +13022,7 @@ export const UsageChannelObject = {
12451
13022
  Phone_number: "phone_number",
12452
13023
  Warmup: "warmup",
12453
13024
  Website: "website",
13025
+ Openai: "openai",
12454
13026
  Domain: "domain",
12455
13027
  OneZerodlc: "10dlc",
12456
13028
  Connection: "connection",
@@ -12459,7 +13031,7 @@ export const UsageChannelObject = {
12459
13031
  /**
12460
13032
  * Defines the supported Usage Record Status values.
12461
13033
  */
12462
- export const UsageRecordStatusObject = {
13034
+ export const UsageStatusObject = {
12463
13035
  Recorded: "recorded",
12464
13036
  Rated: "rated",
12465
13037
  Pending_invoice: "pending_invoice",