@leadping/sdk 1.0.23 → 1.0.25

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 (51) hide show
  1. package/dist/businesses/me/index.d.ts +7 -2
  2. package/dist/businesses/me/index.d.ts.map +1 -1
  3. package/dist/businesses/me/index.js +5 -0
  4. package/dist/businesses/me/index.js.map +1 -1
  5. package/dist/businesses/me/oneZerodlc/index.d.ts +20 -0
  6. package/dist/businesses/me/oneZerodlc/index.d.ts.map +1 -0
  7. package/dist/businesses/me/oneZerodlc/index.js +20 -0
  8. package/dist/businesses/me/oneZerodlc/index.js.map +1 -0
  9. package/dist/businesses/me/oneZerodlc/notes/index.d.ts +32 -0
  10. package/dist/businesses/me/oneZerodlc/notes/index.d.ts.map +1 -0
  11. package/dist/businesses/me/oneZerodlc/notes/index.js +30 -0
  12. package/dist/businesses/me/oneZerodlc/notes/index.js.map +1 -0
  13. package/dist/leadStatuses/index.d.ts +4 -4
  14. package/dist/leadStatuses/item/index.d.ts +4 -4
  15. package/dist/models/index.d.ts +377 -162
  16. package/dist/models/index.d.ts.map +1 -1
  17. package/dist/models/index.js +334 -158
  18. package/dist/models/index.js.map +1 -1
  19. package/dist/notifications/index.d.ts +1 -1
  20. package/dist/notifications/index.d.ts.map +1 -1
  21. package/dist/notifications/index.js +2 -1
  22. package/dist/notifications/index.js.map +1 -1
  23. package/dist/notifications/item/index.d.ts +20 -1
  24. package/dist/notifications/item/index.d.ts.map +1 -1
  25. package/dist/notifications/item/index.js +17 -0
  26. package/dist/notifications/item/index.js.map +1 -1
  27. package/dist/notifications/me/index.d.ts +16 -3
  28. package/dist/notifications/me/index.d.ts.map +1 -1
  29. package/dist/notifications/me/index.js +1 -1
  30. package/dist/notifications/me/index.js.map +1 -1
  31. package/dist/paymentMethods/index.d.ts +2 -2
  32. package/dist/paymentMethods/index.d.ts.map +1 -1
  33. package/dist/paymentMethods/index.js +2 -1
  34. package/dist/paymentMethods/index.js.map +1 -1
  35. package/dist/paymentMethods/invoices/index.d.ts +14 -3
  36. package/dist/paymentMethods/invoices/index.d.ts.map +1 -1
  37. package/dist/paymentMethods/invoices/index.js +11 -0
  38. package/dist/paymentMethods/invoices/index.js.map +1 -1
  39. package/dist/paymentMethods/invoices/item/index.d.ts +20 -0
  40. package/dist/paymentMethods/invoices/item/index.d.ts.map +1 -0
  41. package/dist/paymentMethods/invoices/item/index.js +20 -0
  42. package/dist/paymentMethods/invoices/item/index.js.map +1 -0
  43. package/dist/paymentMethods/invoices/item/pdfAccess/index.d.ts +35 -0
  44. package/dist/paymentMethods/invoices/item/pdfAccess/index.d.ts.map +1 -0
  45. package/dist/paymentMethods/invoices/item/pdfAccess/index.js +26 -0
  46. package/dist/paymentMethods/invoices/item/pdfAccess/index.js.map +1 -0
  47. package/dist/paymentMethods/item/defaultEscaped/index.d.ts +2 -2
  48. package/dist/phoneNumbers/item/index.d.ts +2 -2
  49. package/dist/phoneNumbers/item/status/index.d.ts +3 -3
  50. package/dist/phoneNumbers/item/warmup/index.d.ts +3 -3
  51. package/package.json +1 -1
@@ -957,6 +957,15 @@ export function createIdNameValueFromDiscriminatorValue(parseNode) {
957
957
  export function createInitiateCallRequestFromDiscriminatorValue(parseNode) {
958
958
  return deserializeIntoInitiateCallRequest;
959
959
  }
960
+ /**
961
+ * Creates a new instance of the appropriate class based on discriminator value
962
+ * @param parseNode The parse node to use to read the discriminator value and create the object
963
+ * @returns {InvoicePdfAccessResponse}
964
+ */
965
+ // @ts-ignore
966
+ export function createInvoicePdfAccessResponseFromDiscriminatorValue(parseNode) {
967
+ return deserializeIntoInvoicePdfAccessResponse;
968
+ }
960
969
  /**
961
970
  * Creates a new instance of the appropriate class based on discriminator value
962
971
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -1146,6 +1155,15 @@ export function createLeadTagsRequestFromDiscriminatorValue(parseNode) {
1146
1155
  export function createMobileDevicePreferencesFromDiscriminatorValue(parseNode) {
1147
1156
  return deserializeIntoMobileDevicePreferences;
1148
1157
  }
1158
+ /**
1159
+ * Creates a new instance of the appropriate class based on discriminator value
1160
+ * @param parseNode The parse node to use to read the discriminator value and create the object
1161
+ * @returns {NotificationResponse}
1162
+ */
1163
+ // @ts-ignore
1164
+ export function createNotificationResponseFromDiscriminatorValue(parseNode) {
1165
+ return deserializeIntoNotificationResponse;
1166
+ }
1149
1167
  /**
1150
1168
  * Creates a new instance of the appropriate class based on discriminator value
1151
1169
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -1407,6 +1425,15 @@ export function createPhoneNumberMessagingEventResponseFromDiscriminatorValue(pa
1407
1425
  export function createPhoneNumberOptOutMetricsResponseFromDiscriminatorValue(parseNode) {
1408
1426
  return deserializeIntoPhoneNumberOptOutMetricsResponse;
1409
1427
  }
1428
+ /**
1429
+ * Creates a new instance of the appropriate class based on discriminator value
1430
+ * @param parseNode The parse node to use to read the discriminator value and create the object
1431
+ * @returns {PhoneNumberReadiness}
1432
+ */
1433
+ // @ts-ignore
1434
+ export function createPhoneNumberReadinessFromDiscriminatorValue(parseNode) {
1435
+ return deserializeIntoPhoneNumberReadiness;
1436
+ }
1410
1437
  /**
1411
1438
  * Creates a new instance of the appropriate class based on discriminator value
1412
1439
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -1542,15 +1569,6 @@ export function createPhoneNumberTrafficMetricsResponseFromDiscriminatorValue(pa
1542
1569
  export function createPhoneNumberTrafficTrendPointFromDiscriminatorValue(parseNode) {
1543
1570
  return deserializeIntoPhoneNumberTrafficTrendPoint;
1544
1571
  }
1545
- /**
1546
- * Creates a new instance of the appropriate class based on discriminator value
1547
- * @param parseNode The parse node to use to read the discriminator value and create the object
1548
- * @returns {PhoneNumberWarmup}
1549
- */
1550
- // @ts-ignore
1551
- export function createPhoneNumberWarmupFromDiscriminatorValue(parseNode) {
1552
- return deserializeIntoPhoneNumberWarmup;
1553
- }
1554
1572
  /**
1555
1573
  * Creates a new instance of the appropriate class based on discriminator value
1556
1574
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -1599,29 +1617,29 @@ export function createSmsEventTableRowFromDiscriminatorValue(parseNode) {
1599
1617
  /**
1600
1618
  * Creates a new instance of the appropriate class based on discriminator value
1601
1619
  * @param parseNode The parse node to use to read the discriminator value and create the object
1602
- * @returns {SmsResponse}
1620
+ * @returns {SmsReadinessStatusResponse}
1603
1621
  */
1604
1622
  // @ts-ignore
1605
- export function createSmsResponseFromDiscriminatorValue(parseNode) {
1606
- return deserializeIntoSmsResponse;
1623
+ export function createSmsReadinessStatusResponseFromDiscriminatorValue(parseNode) {
1624
+ return deserializeIntoSmsReadinessStatusResponse;
1607
1625
  }
1608
1626
  /**
1609
1627
  * Creates a new instance of the appropriate class based on discriminator value
1610
1628
  * @param parseNode The parse node to use to read the discriminator value and create the object
1611
- * @returns {SmsWarmupStatusResponse}
1629
+ * @returns {SmsReadinessUiState}
1612
1630
  */
1613
1631
  // @ts-ignore
1614
- export function createSmsWarmupStatusResponseFromDiscriminatorValue(parseNode) {
1615
- return deserializeIntoSmsWarmupStatusResponse;
1632
+ export function createSmsReadinessUiStateFromDiscriminatorValue(parseNode) {
1633
+ return deserializeIntoSmsReadinessUiState;
1616
1634
  }
1617
1635
  /**
1618
1636
  * Creates a new instance of the appropriate class based on discriminator value
1619
1637
  * @param parseNode The parse node to use to read the discriminator value and create the object
1620
- * @returns {SmsWarmupUiState}
1638
+ * @returns {SmsResponse}
1621
1639
  */
1622
1640
  // @ts-ignore
1623
- export function createSmsWarmupUiStateFromDiscriminatorValue(parseNode) {
1624
- return deserializeIntoSmsWarmupUiState;
1641
+ export function createSmsResponseFromDiscriminatorValue(parseNode) {
1642
+ return deserializeIntoSmsResponse;
1625
1643
  }
1626
1644
  /**
1627
1645
  * Creates a new instance of the appropriate class based on discriminator value
@@ -1866,6 +1884,15 @@ export function createTelephonyLoginResponseFromDiscriminatorValue(parseNode) {
1866
1884
  export function createTenDlcApplicationDraftFromDiscriminatorValue(parseNode) {
1867
1885
  return deserializeIntoTenDlcApplicationDraft;
1868
1886
  }
1887
+ /**
1888
+ * Creates a new instance of the appropriate class based on discriminator value
1889
+ * @param parseNode The parse node to use to read the discriminator value and create the object
1890
+ * @returns {TenDlcNotesRequest}
1891
+ */
1892
+ // @ts-ignore
1893
+ export function createTenDlcNotesRequestFromDiscriminatorValue(parseNode) {
1894
+ return deserializeIntoTenDlcNotesRequest;
1895
+ }
1869
1896
  /**
1870
1897
  * Creates a new instance of the appropriate class based on discriminator value
1871
1898
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -3145,6 +3172,7 @@ export function deserializeIntoBusinessSwitchOption(businessSwitchOption = {}) {
3145
3172
  "needsAdminReview": n => { businessSwitchOption.needsAdminReview = n.getBooleanValue(); },
3146
3173
  "readyForCustomerTraffic": n => { businessSwitchOption.readyForCustomerTraffic = n.getBooleanValue(); },
3147
3174
  "role": n => { businessSwitchOption.role = n.getEnumValue(BusinessUserRoleObject); },
3175
+ "tenDlcStatus": n => { businessSwitchOption.tenDlcStatus = n.getEnumValue(BusinessSwitchOption_tenDlcStatusObject); },
3148
3176
  };
3149
3177
  }
3150
3178
  /**
@@ -3365,6 +3393,7 @@ export function deserializeIntoConversationResponse(conversationResponse = {}) {
3365
3393
  "archivedAt": n => { conversationResponse.archivedAt = n.getDateValue(); },
3366
3394
  "archiveReason": n => { conversationResponse.archiveReason = n.getNumberValue(); },
3367
3395
  "currentDisposition": n => { conversationResponse.currentDisposition = n.getObjectValue(createConversationResponse_currentDispositionFromDiscriminatorValue); },
3396
+ "email": n => { conversationResponse.email = n.getStringValue(); },
3368
3397
  "firstName": n => { conversationResponse.firstName = n.getStringValue(); },
3369
3398
  "id": n => { conversationResponse.id = n.getStringValue(); },
3370
3399
  "isArchived": n => { conversationResponse.isArchived = n.getBooleanValue(); },
@@ -3996,6 +4025,18 @@ export function deserializeIntoInitiateCallRequest(initiateCallRequest = {}) {
3996
4025
  "wasManuallyOverridden": n => { initiateCallRequest.wasManuallyOverridden = n.getBooleanValue(); },
3997
4026
  };
3998
4027
  }
4028
+ /**
4029
+ * The deserialization information for the current model
4030
+ * @param InvoicePdfAccessResponse The instance to deserialize into.
4031
+ * @returns {Record<string, (node: ParseNode) => void>}
4032
+ */
4033
+ // @ts-ignore
4034
+ export function deserializeIntoInvoicePdfAccessResponse(invoicePdfAccessResponse = {}) {
4035
+ return {
4036
+ "expiresAt": n => { invoicePdfAccessResponse.expiresAt = n.getDateValue(); },
4037
+ "url": n => { invoicePdfAccessResponse.url = n.getStringValue(); },
4038
+ };
4039
+ }
3999
4040
  /**
4000
4041
  * The deserialization information for the current model
4001
4042
  * @param LeadArchiveRequest The instance to deserialize into.
@@ -4358,6 +4399,31 @@ export function deserializeIntoMobileDevicePreferences(mobileDevicePreferences =
4358
4399
  "updatedAt": n => { mobileDevicePreferences.updatedAt = n.getDateValue(); },
4359
4400
  };
4360
4401
  }
4402
+ /**
4403
+ * The deserialization information for the current model
4404
+ * @param NotificationResponse The instance to deserialize into.
4405
+ * @returns {Record<string, (node: ParseNode) => void>}
4406
+ */
4407
+ // @ts-ignore
4408
+ export function deserializeIntoNotificationResponse(notificationResponse = {}) {
4409
+ return {
4410
+ "actionButtonText": n => { notificationResponse.actionButtonText = n.getStringValue(); },
4411
+ "actionUrl": n => { notificationResponse.actionUrl = n.getStringValue(); },
4412
+ "createdAt": n => { notificationResponse.createdAt = n.getDateValue(); },
4413
+ "details": n => { notificationResponse.details = n.getStringValue(); },
4414
+ "id": n => { notificationResponse.id = n.getStringValue(); },
4415
+ "isRead": n => { notificationResponse.isRead = n.getBooleanValue(); },
4416
+ "message": n => { notificationResponse.message = n.getStringValue(); },
4417
+ "modifiedAt": n => { notificationResponse.modifiedAt = n.getDateValue(); },
4418
+ "name": n => { notificationResponse.name = n.getStringValue(); },
4419
+ "priority": n => { notificationResponse.priority = n.getEnumValue(NotificationPriorityObject); },
4420
+ "readAt": n => { notificationResponse.readAt = n.getDateValue(); },
4421
+ "relatedEntityId": n => { notificationResponse.relatedEntityId = n.getStringValue(); },
4422
+ "relatedEntityType": n => { notificationResponse.relatedEntityType = n.getStringValue(); },
4423
+ "type": n => { notificationResponse.type = n.getEnumValue(NotificationTypeObject); },
4424
+ "userId": n => { notificationResponse.userId = n.getStringValue(); },
4425
+ };
4426
+ }
4361
4427
  /**
4362
4428
  * The deserialization information for the current model
4363
4429
  * @param NotificationTableRow The instance to deserialize into.
@@ -4421,15 +4487,20 @@ export function deserializeIntoOutboundCapacityOverview(outboundCapacityOverview
4421
4487
  // @ts-ignore
4422
4488
  export function deserializeIntoOutboundPhoneNumberCapacity(outboundPhoneNumberCapacity = {}) {
4423
4489
  return {
4490
+ "capacityAvailable": n => { outboundPhoneNumberCapacity.capacityAvailable = n.getBooleanValue(); },
4424
4491
  "healthStatus": n => { outboundPhoneNumberCapacity.healthStatus = n.getEnumValue(PhoneNumberOutboundHealthStatusObject); },
4425
4492
  "phoneNumber": n => { outboundPhoneNumberCapacity.phoneNumber = n.getStringValue(); },
4426
4493
  "phoneNumberId": n => { outboundPhoneNumberCapacity.phoneNumberId = n.getStringValue(); },
4494
+ "smsDailyResetsAt": n => { outboundPhoneNumberCapacity.smsDailyResetsAt = n.getDateValue(); },
4495
+ "smsHourlyResetsAt": n => { outboundPhoneNumberCapacity.smsHourlyResetsAt = n.getDateValue(); },
4427
4496
  "smsLimitThisHour": n => { outboundPhoneNumberCapacity.smsLimitThisHour = n.getNumberValue(); },
4428
4497
  "smsLimitToday": n => { outboundPhoneNumberCapacity.smsLimitToday = n.getNumberValue(); },
4429
4498
  "smsRemainingThisHour": n => { outboundPhoneNumberCapacity.smsRemainingThisHour = n.getNumberValue(); },
4430
4499
  "smsRemainingToday": n => { outboundPhoneNumberCapacity.smsRemainingToday = n.getNumberValue(); },
4431
4500
  "smsUsedThisHour": n => { outboundPhoneNumberCapacity.smsUsedThisHour = n.getNumberValue(); },
4432
4501
  "smsUsedToday": n => { outboundPhoneNumberCapacity.smsUsedToday = n.getNumberValue(); },
4502
+ "voiceDailyResetsAt": n => { outboundPhoneNumberCapacity.voiceDailyResetsAt = n.getDateValue(); },
4503
+ "voiceHourlyResetsAt": n => { outboundPhoneNumberCapacity.voiceHourlyResetsAt = n.getDateValue(); },
4433
4504
  "voiceLimitThisHour": n => { outboundPhoneNumberCapacity.voiceLimitThisHour = n.getNumberValue(); },
4434
4505
  "voiceLimitToday": n => { outboundPhoneNumberCapacity.voiceLimitToday = n.getNumberValue(); },
4435
4506
  "voiceRemainingThisHour": n => { outboundPhoneNumberCapacity.voiceRemainingThisHour = n.getNumberValue(); },
@@ -4822,6 +4893,21 @@ export function deserializeIntoPhoneNumberOptOutMetricsResponse(phoneNumberOptOu
4822
4893
  "windowStartedAt": n => { phoneNumberOptOutMetricsResponse.windowStartedAt = n.getDateValue(); },
4823
4894
  };
4824
4895
  }
4896
+ /**
4897
+ * The deserialization information for the current model
4898
+ * @param PhoneNumberReadiness The instance to deserialize into.
4899
+ * @returns {Record<string, (node: ParseNode) => void>}
4900
+ */
4901
+ // @ts-ignore
4902
+ export function deserializeIntoPhoneNumberReadiness(phoneNumberReadiness = {}) {
4903
+ return {
4904
+ "enabled": n => { phoneNumberReadiness.enabled = n.getBooleanValue(); },
4905
+ "healthScore": n => { phoneNumberReadiness.healthScore = n.getNumberValue(); },
4906
+ "healthStatus": n => { phoneNumberReadiness.healthStatus = n.getEnumValue(PhoneNumberReadiness_healthStatusObject); },
4907
+ "progressPercent": n => { phoneNumberReadiness.progressPercent = n.getNumberValue(); },
4908
+ "state": n => { phoneNumberReadiness.state = n.getEnumValue(PhoneNumberReadiness_stateObject); },
4909
+ };
4910
+ }
4825
4911
  /**
4826
4912
  * The deserialization information for the current model
4827
4913
  * @param PhoneNumberRequest The instance to deserialize into.
@@ -4855,7 +4941,7 @@ export function deserializeIntoPhoneNumberResponse(phoneNumberResponse = {}) {
4855
4941
  "number": n => { phoneNumberResponse.number = n.getStringValue(); },
4856
4942
  "phoneIdentityId": n => { phoneNumberResponse.phoneIdentityId = n.getStringValue(); },
4857
4943
  "routing": n => { phoneNumberResponse.routing = n.getObjectValue(createPhoneNumberRoutingMetadataFromDiscriminatorValue); },
4858
- "warmup": n => { phoneNumberResponse.warmup = n.getObjectValue(createPhoneNumberWarmupFromDiscriminatorValue); },
4944
+ "warmup": n => { phoneNumberResponse.warmup = n.getObjectValue(createPhoneNumberReadinessFromDiscriminatorValue); },
4859
4945
  };
4860
4946
  }
4861
4947
  /**
@@ -4978,7 +5064,7 @@ export function deserializeIntoPhoneNumberStatusResponse_outboundCapacity(phoneN
4978
5064
  // @ts-ignore
4979
5065
  export function deserializeIntoPhoneNumberStatusResponse_smsWarmup(phoneNumberStatusResponse_smsWarmup = {}) {
4980
5066
  return {
4981
- ...deserializeIntoSmsWarmupStatusResponse(phoneNumberStatusResponse_smsWarmup),
5067
+ ...deserializeIntoSmsReadinessStatusResponse(phoneNumberStatusResponse_smsWarmup),
4982
5068
  };
4983
5069
  }
4984
5070
  /**
@@ -5001,7 +5087,7 @@ export function deserializeIntoPhoneNumberTableRow(phoneNumberTableRow = {}) {
5001
5087
  "tenDlcCampaignStatus": n => { phoneNumberTableRow.tenDlcCampaignStatus = n.getStringValue(); },
5002
5088
  "type": n => { phoneNumberTableRow.type = n.getStringValue(); },
5003
5089
  "voiceReady": n => { phoneNumberTableRow.voiceReady = n.getBooleanValue(); },
5004
- "warmup": n => { phoneNumberTableRow.warmup = n.getObjectValue(createPhoneNumberWarmupFromDiscriminatorValue); },
5090
+ "warmup": n => { phoneNumberTableRow.warmup = n.getObjectValue(createPhoneNumberReadinessFromDiscriminatorValue); },
5005
5091
  };
5006
5092
  }
5007
5093
  /**
@@ -5012,8 +5098,11 @@ export function deserializeIntoPhoneNumberTableRow(phoneNumberTableRow = {}) {
5012
5098
  // @ts-ignore
5013
5099
  export function deserializeIntoPhoneNumberTrafficMetricsResponse(phoneNumberTrafficMetricsResponse = {}) {
5014
5100
  return {
5101
+ "callConnectedCount": n => { phoneNumberTrafficMetricsResponse.callConnectedCount = n.getNumberValue(); },
5015
5102
  "callFailedCount": n => { phoneNumberTrafficMetricsResponse.callFailedCount = n.getNumberValue(); },
5103
+ "callInvalidNumberCount": n => { phoneNumberTrafficMetricsResponse.callInvalidNumberCount = n.getNumberValue(); },
5016
5104
  "callPlacedCount": n => { phoneNumberTrafficMetricsResponse.callPlacedCount = n.getNumberValue(); },
5105
+ "callShortCount": n => { phoneNumberTrafficMetricsResponse.callShortCount = n.getNumberValue(); },
5017
5106
  "smsFailedCount": n => { phoneNumberTrafficMetricsResponse.smsFailedCount = n.getNumberValue(); },
5018
5107
  "smsSentCount": n => { phoneNumberTrafficMetricsResponse.smsSentCount = n.getNumberValue(); },
5019
5108
  "trend": n => { phoneNumberTrafficMetricsResponse.trend = n.getCollectionOfObjectValues(createPhoneNumberTrafficTrendPointFromDiscriminatorValue); },
@@ -5038,21 +5127,6 @@ export function deserializeIntoPhoneNumberTrafficTrendPoint(phoneNumberTrafficTr
5038
5127
  "startAt": n => { phoneNumberTrafficTrendPoint.startAt = n.getDateValue(); },
5039
5128
  };
5040
5129
  }
5041
- /**
5042
- * The deserialization information for the current model
5043
- * @param PhoneNumberWarmup The instance to deserialize into.
5044
- * @returns {Record<string, (node: ParseNode) => void>}
5045
- */
5046
- // @ts-ignore
5047
- export function deserializeIntoPhoneNumberWarmup(phoneNumberWarmup = {}) {
5048
- return {
5049
- "enabled": n => { phoneNumberWarmup.enabled = n.getBooleanValue(); },
5050
- "healthScore": n => { phoneNumberWarmup.healthScore = n.getNumberValue(); },
5051
- "healthStatus": n => { phoneNumberWarmup.healthStatus = n.getEnumValue(PhoneNumberWarmup_healthStatusObject); },
5052
- "progressPercent": n => { phoneNumberWarmup.progressPercent = n.getNumberValue(); },
5053
- "state": n => { phoneNumberWarmup.state = n.getEnumValue(PhoneNumberWarmup_stateObject); },
5054
- };
5055
- }
5056
5130
  /**
5057
5131
  * The deserialization information for the current model
5058
5132
  * @param ProblemDetails The instance to deserialize into.
@@ -5169,6 +5243,37 @@ export function deserializeIntoSmsEventTableRow(smsEventTableRow = {}) {
5169
5243
  "userName": n => { smsEventTableRow.userName = n.getStringValue(); },
5170
5244
  };
5171
5245
  }
5246
+ /**
5247
+ * The deserialization information for the current model
5248
+ * @param SmsReadinessStatusResponse The instance to deserialize into.
5249
+ * @returns {Record<string, (node: ParseNode) => void>}
5250
+ */
5251
+ // @ts-ignore
5252
+ export function deserializeIntoSmsReadinessStatusResponse(smsReadinessStatusResponse = {}) {
5253
+ return {
5254
+ "healthScore": n => { smsReadinessStatusResponse.healthScore = n.getNumberValue(); },
5255
+ "healthStatus": n => { smsReadinessStatusResponse.healthStatus = n.getEnumValue(SmsReadinessHealthStatusObject); },
5256
+ "phoneNumber": n => { smsReadinessStatusResponse.phoneNumber = n.getStringValue(); },
5257
+ "phoneNumberId": n => { smsReadinessStatusResponse.phoneNumberId = n.getStringValue(); },
5258
+ "progressPercent": n => { smsReadinessStatusResponse.progressPercent = n.getNumberValue(); },
5259
+ "status": n => { smsReadinessStatusResponse.status = n.getEnumValue(SmsReadinessStateObject); },
5260
+ "uiState": n => { smsReadinessStatusResponse.uiState = n.getObjectValue(createSmsReadinessUiStateFromDiscriminatorValue); },
5261
+ "warmupEnabled": n => { smsReadinessStatusResponse.warmupEnabled = n.getBooleanValue(); },
5262
+ };
5263
+ }
5264
+ /**
5265
+ * The deserialization information for the current model
5266
+ * @param SmsReadinessUiState The instance to deserialize into.
5267
+ * @returns {Record<string, (node: ParseNode) => void>}
5268
+ */
5269
+ // @ts-ignore
5270
+ export function deserializeIntoSmsReadinessUiState(smsReadinessUiState = {}) {
5271
+ return {
5272
+ "description": n => { smsReadinessUiState.description = n.getStringValue(); },
5273
+ "label": n => { smsReadinessUiState.label = n.getEnumValue(SmsReadinessStateObject); },
5274
+ "tone": n => { smsReadinessUiState.tone = n.getStringValue(); },
5275
+ };
5276
+ }
5172
5277
  /**
5173
5278
  * The deserialization information for the current model
5174
5279
  * @param SmsResponse The instance to deserialize into.
@@ -5214,36 +5319,6 @@ export function deserializeIntoSmsResponse(smsResponse = {}) {
5214
5319
  "wasManuallyOverridden": n => { smsResponse.wasManuallyOverridden = n.getBooleanValue(); },
5215
5320
  };
5216
5321
  }
5217
- /**
5218
- * The deserialization information for the current model
5219
- * @param SmsWarmupStatusResponse The instance to deserialize into.
5220
- * @returns {Record<string, (node: ParseNode) => void>}
5221
- */
5222
- // @ts-ignore
5223
- export function deserializeIntoSmsWarmupStatusResponse(smsWarmupStatusResponse = {}) {
5224
- return {
5225
- "healthScore": n => { smsWarmupStatusResponse.healthScore = n.getNumberValue(); },
5226
- "phoneNumber": n => { smsWarmupStatusResponse.phoneNumber = n.getStringValue(); },
5227
- "phoneNumberId": n => { smsWarmupStatusResponse.phoneNumberId = n.getStringValue(); },
5228
- "progressPercent": n => { smsWarmupStatusResponse.progressPercent = n.getNumberValue(); },
5229
- "status": n => { smsWarmupStatusResponse.status = n.getEnumValue(SmsWarmupHealthStateObject); },
5230
- "uiState": n => { smsWarmupStatusResponse.uiState = n.getObjectValue(createSmsWarmupUiStateFromDiscriminatorValue); },
5231
- "warmupEnabled": n => { smsWarmupStatusResponse.warmupEnabled = n.getBooleanValue(); },
5232
- };
5233
- }
5234
- /**
5235
- * The deserialization information for the current model
5236
- * @param SmsWarmupUiState The instance to deserialize into.
5237
- * @returns {Record<string, (node: ParseNode) => void>}
5238
- */
5239
- // @ts-ignore
5240
- export function deserializeIntoSmsWarmupUiState(smsWarmupUiState = {}) {
5241
- return {
5242
- "description": n => { smsWarmupUiState.description = n.getStringValue(); },
5243
- "label": n => { smsWarmupUiState.label = n.getEnumValue(SmsWarmupHealthStateObject); },
5244
- "tone": n => { smsWarmupUiState.tone = n.getStringValue(); },
5245
- };
5246
- }
5247
5322
  /**
5248
5323
  * The deserialization information for the current model
5249
5324
  * @param SourceMetricsResponse The instance to deserialize into.
@@ -5268,6 +5343,7 @@ export function deserializeIntoSourceRequest(sourceRequest = {}) {
5268
5343
  return {
5269
5344
  "allowedProducts": n => { sourceRequest.allowedProducts = n.getCollectionOfPrimitiveValues("string"); },
5270
5345
  "allowedStates": n => { sourceRequest.allowedStates = n.getCollectionOfPrimitiveValues("string"); },
5346
+ "apiKey": n => { sourceRequest.apiKey = n.getStringValue(); },
5271
5347
  "costPerLead": n => { sourceRequest.costPerLead = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
5272
5348
  "defaultTagIds": n => { sourceRequest.defaultTagIds = n.getCollectionOfPrimitiveValues("string"); },
5273
5349
  "defaultTagNames": n => { sourceRequest.defaultTagNames = n.getCollectionOfPrimitiveValues("string"); },
@@ -5289,6 +5365,7 @@ export function deserializeIntoSourceResponse(sourceResponse = {}) {
5289
5365
  return {
5290
5366
  "allowedProducts": n => { sourceResponse.allowedProducts = n.getCollectionOfPrimitiveValues("string"); },
5291
5367
  "allowedStates": n => { sourceResponse.allowedStates = n.getCollectionOfPrimitiveValues("string"); },
5368
+ "apiKey": n => { sourceResponse.apiKey = n.getStringValue(); },
5292
5369
  "apiKeyPreview": n => { sourceResponse.apiKeyPreview = n.getStringValue(); },
5293
5370
  "business": n => { sourceResponse.business = n.getObjectValue(createSourceResponse_businessFromDiscriminatorValue); },
5294
5371
  "complianceApproved": n => { sourceResponse.complianceApproved = n.getBooleanValue(); },
@@ -5363,6 +5440,7 @@ export function deserializeIntoSourceTableRow(sourceTableRow = {}) {
5363
5440
  return {
5364
5441
  "allowedProducts": n => { sourceTableRow.allowedProducts = n.getCollectionOfPrimitiveValues("string"); },
5365
5442
  "allowedStates": n => { sourceTableRow.allowedStates = n.getCollectionOfPrimitiveValues("string"); },
5443
+ "apiKey": n => { sourceTableRow.apiKey = n.getStringValue(); },
5366
5444
  "apiKeyLastUsedAt": n => { sourceTableRow.apiKeyLastUsedAt = n.getDateValue(); },
5367
5445
  "apiKeyPreview": n => { sourceTableRow.apiKeyPreview = n.getStringValue(); },
5368
5446
  "apiKeyTotalUses": n => { sourceTableRow.apiKeyTotalUses = n.getNumberValue(); },
@@ -5459,7 +5537,7 @@ export function deserializeIntoStripeInvoiceResponse(stripeInvoiceResponse = {})
5459
5537
  return {
5460
5538
  "amount": n => { stripeInvoiceResponse.amount = n.getNumberValue(); },
5461
5539
  "createdAt": n => { stripeInvoiceResponse.createdAt = n.getDateValue(); },
5462
- "hostedInvoiceUrl": n => { stripeInvoiceResponse.hostedInvoiceUrl = n.getStringValue(); },
5540
+ "hasPdf": n => { stripeInvoiceResponse.hasPdf = n.getBooleanValue(); },
5463
5541
  "id": n => { stripeInvoiceResponse.id = n.getStringValue(); },
5464
5542
  "number": n => { stripeInvoiceResponse.number = n.getStringValue(); },
5465
5543
  "status": n => { stripeInvoiceResponse.status = n.getStringValue(); },
@@ -5683,6 +5761,17 @@ export function deserializeIntoTenDlcApplicationDraft(tenDlcApplicationDraft = {
5683
5761
  "websiteUrl": n => { tenDlcApplicationDraft.websiteUrl = n.getStringValue(); },
5684
5762
  };
5685
5763
  }
5764
+ /**
5765
+ * The deserialization information for the current model
5766
+ * @param TenDlcNotesRequest The instance to deserialize into.
5767
+ * @returns {Record<string, (node: ParseNode) => void>}
5768
+ */
5769
+ // @ts-ignore
5770
+ export function deserializeIntoTenDlcNotesRequest(tenDlcNotesRequest = {}) {
5771
+ return {
5772
+ "notes": n => { tenDlcNotesRequest.notes = n.getStringValue(); },
5773
+ };
5774
+ }
5686
5775
  /**
5687
5776
  * The deserialization information for the current model
5688
5777
  * @param TransactionResponse The instance to deserialize into.
@@ -7346,6 +7435,7 @@ export function serializeBusinessSwitchOption(writer, businessSwitchOption = {},
7346
7435
  writer.writeBooleanValue("needsAdminReview", businessSwitchOption.needsAdminReview);
7347
7436
  writer.writeBooleanValue("readyForCustomerTraffic", businessSwitchOption.readyForCustomerTraffic);
7348
7437
  writer.writeEnumValue("role", businessSwitchOption.role);
7438
+ writer.writeEnumValue("tenDlcStatus", businessSwitchOption.tenDlcStatus);
7349
7439
  writer.writeAdditionalData(businessSwitchOption.additionalData);
7350
7440
  }
7351
7441
  /**
@@ -7603,6 +7693,7 @@ export function serializeConversationResponse(writer, conversationResponse = {},
7603
7693
  writer.writeDateValue("archivedAt", conversationResponse.archivedAt);
7604
7694
  writer.writeNumberValue("archiveReason", conversationResponse.archiveReason);
7605
7695
  writer.writeObjectValue("currentDisposition", conversationResponse.currentDisposition, serializeConversationResponse_currentDisposition);
7696
+ writer.writeStringValue("email", conversationResponse.email);
7606
7697
  writer.writeStringValue("firstName", conversationResponse.firstName);
7607
7698
  writer.writeStringValue("id", conversationResponse.id);
7608
7699
  writer.writeBooleanValue("isArchived", conversationResponse.isArchived);
@@ -8326,6 +8417,21 @@ export function serializeInitiateCallRequest(writer, initiateCallRequest = {}, i
8326
8417
  writer.writeBooleanValue("wasManuallyOverridden", initiateCallRequest.wasManuallyOverridden);
8327
8418
  writer.writeAdditionalData(initiateCallRequest.additionalData);
8328
8419
  }
8420
+ /**
8421
+ * Serializes information the current object
8422
+ * @param InvoicePdfAccessResponse The instance to serialize from.
8423
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
8424
+ * @param writer Serialization writer to use to serialize this model
8425
+ */
8426
+ // @ts-ignore
8427
+ export function serializeInvoicePdfAccessResponse(writer, invoicePdfAccessResponse = {}, isSerializingDerivedType = false) {
8428
+ if (!invoicePdfAccessResponse || isSerializingDerivedType) {
8429
+ return;
8430
+ }
8431
+ writer.writeDateValue("expiresAt", invoicePdfAccessResponse.expiresAt);
8432
+ writer.writeStringValue("url", invoicePdfAccessResponse.url);
8433
+ writer.writeAdditionalData(invoicePdfAccessResponse.additionalData);
8434
+ }
8329
8435
  /**
8330
8436
  * Serializes information the current object
8331
8437
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -8746,6 +8852,34 @@ export function serializeMobileDevicePreferences(writer, mobileDevicePreferences
8746
8852
  writer.writeDateValue("updatedAt", mobileDevicePreferences.updatedAt);
8747
8853
  writer.writeAdditionalData(mobileDevicePreferences.additionalData);
8748
8854
  }
8855
+ /**
8856
+ * Serializes information the current object
8857
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
8858
+ * @param NotificationResponse The instance to serialize from.
8859
+ * @param writer Serialization writer to use to serialize this model
8860
+ */
8861
+ // @ts-ignore
8862
+ export function serializeNotificationResponse(writer, notificationResponse = {}, isSerializingDerivedType = false) {
8863
+ if (!notificationResponse || isSerializingDerivedType) {
8864
+ return;
8865
+ }
8866
+ writer.writeStringValue("actionButtonText", notificationResponse.actionButtonText);
8867
+ writer.writeStringValue("actionUrl", notificationResponse.actionUrl);
8868
+ writer.writeDateValue("createdAt", notificationResponse.createdAt);
8869
+ writer.writeStringValue("details", notificationResponse.details);
8870
+ writer.writeStringValue("id", notificationResponse.id);
8871
+ writer.writeBooleanValue("isRead", notificationResponse.isRead);
8872
+ writer.writeStringValue("message", notificationResponse.message);
8873
+ writer.writeDateValue("modifiedAt", notificationResponse.modifiedAt);
8874
+ writer.writeStringValue("name", notificationResponse.name);
8875
+ writer.writeEnumValue("priority", notificationResponse.priority);
8876
+ writer.writeDateValue("readAt", notificationResponse.readAt);
8877
+ writer.writeStringValue("relatedEntityId", notificationResponse.relatedEntityId);
8878
+ writer.writeStringValue("relatedEntityType", notificationResponse.relatedEntityType);
8879
+ writer.writeEnumValue("type", notificationResponse.type);
8880
+ writer.writeStringValue("userId", notificationResponse.userId);
8881
+ writer.writeAdditionalData(notificationResponse.additionalData);
8882
+ }
8749
8883
  /**
8750
8884
  * Serializes information the current object
8751
8885
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -8821,15 +8955,20 @@ export function serializeOutboundPhoneNumberCapacity(writer, outboundPhoneNumber
8821
8955
  if (!outboundPhoneNumberCapacity || isSerializingDerivedType) {
8822
8956
  return;
8823
8957
  }
8958
+ writer.writeBooleanValue("capacityAvailable", outboundPhoneNumberCapacity.capacityAvailable);
8824
8959
  writer.writeEnumValue("healthStatus", outboundPhoneNumberCapacity.healthStatus);
8825
8960
  writer.writeStringValue("phoneNumber", outboundPhoneNumberCapacity.phoneNumber);
8826
8961
  writer.writeStringValue("phoneNumberId", outboundPhoneNumberCapacity.phoneNumberId);
8962
+ writer.writeDateValue("smsDailyResetsAt", outboundPhoneNumberCapacity.smsDailyResetsAt);
8963
+ writer.writeDateValue("smsHourlyResetsAt", outboundPhoneNumberCapacity.smsHourlyResetsAt);
8827
8964
  writer.writeNumberValue("smsLimitThisHour", outboundPhoneNumberCapacity.smsLimitThisHour);
8828
8965
  writer.writeNumberValue("smsLimitToday", outboundPhoneNumberCapacity.smsLimitToday);
8829
8966
  writer.writeNumberValue("smsRemainingThisHour", outboundPhoneNumberCapacity.smsRemainingThisHour);
8830
8967
  writer.writeNumberValue("smsRemainingToday", outboundPhoneNumberCapacity.smsRemainingToday);
8831
8968
  writer.writeNumberValue("smsUsedThisHour", outboundPhoneNumberCapacity.smsUsedThisHour);
8832
8969
  writer.writeNumberValue("smsUsedToday", outboundPhoneNumberCapacity.smsUsedToday);
8970
+ writer.writeDateValue("voiceDailyResetsAt", outboundPhoneNumberCapacity.voiceDailyResetsAt);
8971
+ writer.writeDateValue("voiceHourlyResetsAt", outboundPhoneNumberCapacity.voiceHourlyResetsAt);
8833
8972
  writer.writeNumberValue("voiceLimitThisHour", outboundPhoneNumberCapacity.voiceLimitThisHour);
8834
8973
  writer.writeNumberValue("voiceLimitToday", outboundPhoneNumberCapacity.voiceLimitToday);
8835
8974
  writer.writeNumberValue("voiceRemainingThisHour", outboundPhoneNumberCapacity.voiceRemainingThisHour);
@@ -9295,6 +9434,24 @@ export function serializePhoneNumberOptOutMetricsResponse(writer, phoneNumberOpt
9295
9434
  writer.writeDateValue("windowStartedAt", phoneNumberOptOutMetricsResponse.windowStartedAt);
9296
9435
  writer.writeAdditionalData(phoneNumberOptOutMetricsResponse.additionalData);
9297
9436
  }
9437
+ /**
9438
+ * Serializes information the current object
9439
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
9440
+ * @param PhoneNumberReadiness The instance to serialize from.
9441
+ * @param writer Serialization writer to use to serialize this model
9442
+ */
9443
+ // @ts-ignore
9444
+ export function serializePhoneNumberReadiness(writer, phoneNumberReadiness = {}, isSerializingDerivedType = false) {
9445
+ if (!phoneNumberReadiness || isSerializingDerivedType) {
9446
+ return;
9447
+ }
9448
+ writer.writeBooleanValue("enabled", phoneNumberReadiness.enabled);
9449
+ writer.writeNumberValue("healthScore", phoneNumberReadiness.healthScore);
9450
+ writer.writeEnumValue("healthStatus", phoneNumberReadiness.healthStatus);
9451
+ writer.writeNumberValue("progressPercent", phoneNumberReadiness.progressPercent);
9452
+ writer.writeEnumValue("state", phoneNumberReadiness.state);
9453
+ writer.writeAdditionalData(phoneNumberReadiness.additionalData);
9454
+ }
9298
9455
  /**
9299
9456
  * Serializes information the current object
9300
9457
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -9334,7 +9491,7 @@ export function serializePhoneNumberResponse(writer, phoneNumberResponse = {}, i
9334
9491
  writer.writeStringValue("number", phoneNumberResponse.number);
9335
9492
  writer.writeStringValue("phoneIdentityId", phoneNumberResponse.phoneIdentityId);
9336
9493
  writer.writeObjectValue("routing", phoneNumberResponse.routing, serializePhoneNumberRoutingMetadata);
9337
- writer.writeObjectValue("warmup", phoneNumberResponse.warmup, serializePhoneNumberWarmup);
9494
+ writer.writeObjectValue("warmup", phoneNumberResponse.warmup, serializePhoneNumberReadiness);
9338
9495
  writer.writeAdditionalData(phoneNumberResponse.additionalData);
9339
9496
  }
9340
9497
  /**
@@ -9483,7 +9640,7 @@ export function serializePhoneNumberStatusResponse_smsWarmup(writer, phoneNumber
9483
9640
  if (!phoneNumberStatusResponse_smsWarmup || isSerializingDerivedType) {
9484
9641
  return;
9485
9642
  }
9486
- serializeSmsWarmupStatusResponse(writer, phoneNumberStatusResponse_smsWarmup, isSerializingDerivedType);
9643
+ serializeSmsReadinessStatusResponse(writer, phoneNumberStatusResponse_smsWarmup, isSerializingDerivedType);
9487
9644
  }
9488
9645
  /**
9489
9646
  * Serializes information the current object
@@ -9508,7 +9665,7 @@ export function serializePhoneNumberTableRow(writer, phoneNumberTableRow = {}, i
9508
9665
  writer.writeStringValue("tenDlcCampaignStatus", phoneNumberTableRow.tenDlcCampaignStatus);
9509
9666
  writer.writeStringValue("type", phoneNumberTableRow.type);
9510
9667
  writer.writeBooleanValue("voiceReady", phoneNumberTableRow.voiceReady);
9511
- writer.writeObjectValue("warmup", phoneNumberTableRow.warmup, serializePhoneNumberWarmup);
9668
+ writer.writeObjectValue("warmup", phoneNumberTableRow.warmup, serializePhoneNumberReadiness);
9512
9669
  writer.writeAdditionalData(phoneNumberTableRow.additionalData);
9513
9670
  }
9514
9671
  /**
@@ -9522,8 +9679,11 @@ export function serializePhoneNumberTrafficMetricsResponse(writer, phoneNumberTr
9522
9679
  if (!phoneNumberTrafficMetricsResponse || isSerializingDerivedType) {
9523
9680
  return;
9524
9681
  }
9682
+ writer.writeNumberValue("callConnectedCount", phoneNumberTrafficMetricsResponse.callConnectedCount);
9525
9683
  writer.writeNumberValue("callFailedCount", phoneNumberTrafficMetricsResponse.callFailedCount);
9684
+ writer.writeNumberValue("callInvalidNumberCount", phoneNumberTrafficMetricsResponse.callInvalidNumberCount);
9526
9685
  writer.writeNumberValue("callPlacedCount", phoneNumberTrafficMetricsResponse.callPlacedCount);
9686
+ writer.writeNumberValue("callShortCount", phoneNumberTrafficMetricsResponse.callShortCount);
9527
9687
  writer.writeNumberValue("smsFailedCount", phoneNumberTrafficMetricsResponse.smsFailedCount);
9528
9688
  writer.writeNumberValue("smsSentCount", phoneNumberTrafficMetricsResponse.smsSentCount);
9529
9689
  writer.writeCollectionOfObjectValues("trend", phoneNumberTrafficMetricsResponse.trend, serializePhoneNumberTrafficTrendPoint);
@@ -9551,24 +9711,6 @@ export function serializePhoneNumberTrafficTrendPoint(writer, phoneNumberTraffic
9551
9711
  writer.writeDateValue("startAt", phoneNumberTrafficTrendPoint.startAt);
9552
9712
  writer.writeAdditionalData(phoneNumberTrafficTrendPoint.additionalData);
9553
9713
  }
9554
- /**
9555
- * Serializes information the current object
9556
- * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
9557
- * @param PhoneNumberWarmup The instance to serialize from.
9558
- * @param writer Serialization writer to use to serialize this model
9559
- */
9560
- // @ts-ignore
9561
- export function serializePhoneNumberWarmup(writer, phoneNumberWarmup = {}, isSerializingDerivedType = false) {
9562
- if (!phoneNumberWarmup || isSerializingDerivedType) {
9563
- return;
9564
- }
9565
- writer.writeBooleanValue("enabled", phoneNumberWarmup.enabled);
9566
- writer.writeNumberValue("healthScore", phoneNumberWarmup.healthScore);
9567
- writer.writeEnumValue("healthStatus", phoneNumberWarmup.healthStatus);
9568
- writer.writeNumberValue("progressPercent", phoneNumberWarmup.progressPercent);
9569
- writer.writeEnumValue("state", phoneNumberWarmup.state);
9570
- writer.writeAdditionalData(phoneNumberWarmup.additionalData);
9571
- }
9572
9714
  /**
9573
9715
  * Serializes information the current object
9574
9716
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -9700,6 +9842,43 @@ export function serializeSmsEventTableRow(writer, smsEventTableRow = {}, isSeria
9700
9842
  writer.writeStringValue("userName", smsEventTableRow.userName);
9701
9843
  writer.writeAdditionalData(smsEventTableRow.additionalData);
9702
9844
  }
9845
+ /**
9846
+ * Serializes information the current object
9847
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
9848
+ * @param SmsReadinessStatusResponse The instance to serialize from.
9849
+ * @param writer Serialization writer to use to serialize this model
9850
+ */
9851
+ // @ts-ignore
9852
+ export function serializeSmsReadinessStatusResponse(writer, smsReadinessStatusResponse = {}, isSerializingDerivedType = false) {
9853
+ if (!smsReadinessStatusResponse || isSerializingDerivedType) {
9854
+ return;
9855
+ }
9856
+ writer.writeNumberValue("healthScore", smsReadinessStatusResponse.healthScore);
9857
+ writer.writeEnumValue("healthStatus", smsReadinessStatusResponse.healthStatus);
9858
+ writer.writeStringValue("phoneNumber", smsReadinessStatusResponse.phoneNumber);
9859
+ writer.writeStringValue("phoneNumberId", smsReadinessStatusResponse.phoneNumberId);
9860
+ writer.writeNumberValue("progressPercent", smsReadinessStatusResponse.progressPercent);
9861
+ writer.writeEnumValue("status", smsReadinessStatusResponse.status);
9862
+ writer.writeObjectValue("uiState", smsReadinessStatusResponse.uiState, serializeSmsReadinessUiState);
9863
+ writer.writeBooleanValue("warmupEnabled", smsReadinessStatusResponse.warmupEnabled);
9864
+ writer.writeAdditionalData(smsReadinessStatusResponse.additionalData);
9865
+ }
9866
+ /**
9867
+ * Serializes information the current object
9868
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
9869
+ * @param SmsReadinessUiState The instance to serialize from.
9870
+ * @param writer Serialization writer to use to serialize this model
9871
+ */
9872
+ // @ts-ignore
9873
+ export function serializeSmsReadinessUiState(writer, smsReadinessUiState = {}, isSerializingDerivedType = false) {
9874
+ if (!smsReadinessUiState || isSerializingDerivedType) {
9875
+ return;
9876
+ }
9877
+ writer.writeStringValue("description", smsReadinessUiState.description);
9878
+ writer.writeEnumValue("label", smsReadinessUiState.label);
9879
+ writer.writeStringValue("tone", smsReadinessUiState.tone);
9880
+ writer.writeAdditionalData(smsReadinessUiState.additionalData);
9881
+ }
9703
9882
  /**
9704
9883
  * Serializes information the current object
9705
9884
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -9748,42 +9927,6 @@ export function serializeSmsResponse(writer, smsResponse = {}, isSerializingDeri
9748
9927
  writer.writeBooleanValue("wasManuallyOverridden", smsResponse.wasManuallyOverridden);
9749
9928
  writer.writeAdditionalData(smsResponse.additionalData);
9750
9929
  }
9751
- /**
9752
- * Serializes information the current object
9753
- * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
9754
- * @param SmsWarmupStatusResponse The instance to serialize from.
9755
- * @param writer Serialization writer to use to serialize this model
9756
- */
9757
- // @ts-ignore
9758
- export function serializeSmsWarmupStatusResponse(writer, smsWarmupStatusResponse = {}, isSerializingDerivedType = false) {
9759
- if (!smsWarmupStatusResponse || isSerializingDerivedType) {
9760
- return;
9761
- }
9762
- writer.writeNumberValue("healthScore", smsWarmupStatusResponse.healthScore);
9763
- writer.writeStringValue("phoneNumber", smsWarmupStatusResponse.phoneNumber);
9764
- writer.writeStringValue("phoneNumberId", smsWarmupStatusResponse.phoneNumberId);
9765
- writer.writeNumberValue("progressPercent", smsWarmupStatusResponse.progressPercent);
9766
- writer.writeEnumValue("status", smsWarmupStatusResponse.status);
9767
- writer.writeObjectValue("uiState", smsWarmupStatusResponse.uiState, serializeSmsWarmupUiState);
9768
- writer.writeBooleanValue("warmupEnabled", smsWarmupStatusResponse.warmupEnabled);
9769
- writer.writeAdditionalData(smsWarmupStatusResponse.additionalData);
9770
- }
9771
- /**
9772
- * Serializes information the current object
9773
- * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
9774
- * @param SmsWarmupUiState The instance to serialize from.
9775
- * @param writer Serialization writer to use to serialize this model
9776
- */
9777
- // @ts-ignore
9778
- export function serializeSmsWarmupUiState(writer, smsWarmupUiState = {}, isSerializingDerivedType = false) {
9779
- if (!smsWarmupUiState || isSerializingDerivedType) {
9780
- return;
9781
- }
9782
- writer.writeStringValue("description", smsWarmupUiState.description);
9783
- writer.writeEnumValue("label", smsWarmupUiState.label);
9784
- writer.writeStringValue("tone", smsWarmupUiState.tone);
9785
- writer.writeAdditionalData(smsWarmupUiState.additionalData);
9786
- }
9787
9930
  /**
9788
9931
  * Serializes information the current object
9789
9932
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -9814,6 +9957,7 @@ export function serializeSourceRequest(writer, sourceRequest = {}, isSerializing
9814
9957
  }
9815
9958
  writer.writeCollectionOfPrimitiveValues("allowedProducts", sourceRequest.allowedProducts);
9816
9959
  writer.writeCollectionOfPrimitiveValues("allowedStates", sourceRequest.allowedStates);
9960
+ writer.writeStringValue("apiKey", sourceRequest.apiKey);
9817
9961
  writer.writeObjectValue("costPerLead", sourceRequest.costPerLead);
9818
9962
  writer.writeCollectionOfPrimitiveValues("defaultTagIds", sourceRequest.defaultTagIds);
9819
9963
  writer.writeCollectionOfPrimitiveValues("defaultTagNames", sourceRequest.defaultTagNames);
@@ -9838,6 +9982,7 @@ export function serializeSourceResponse(writer, sourceResponse = {}, isSerializi
9838
9982
  }
9839
9983
  writer.writeCollectionOfPrimitiveValues("allowedProducts", sourceResponse.allowedProducts);
9840
9984
  writer.writeCollectionOfPrimitiveValues("allowedStates", sourceResponse.allowedStates);
9985
+ writer.writeStringValue("apiKey", sourceResponse.apiKey);
9841
9986
  writer.writeStringValue("apiKeyPreview", sourceResponse.apiKeyPreview);
9842
9987
  writer.writeObjectValue("business", sourceResponse.business, serializeSourceResponse_business);
9843
9988
  writer.writeBooleanValue("complianceApproved", sourceResponse.complianceApproved);
@@ -9923,6 +10068,7 @@ export function serializeSourceTableRow(writer, sourceTableRow = {}, isSerializi
9923
10068
  }
9924
10069
  writer.writeCollectionOfPrimitiveValues("allowedProducts", sourceTableRow.allowedProducts);
9925
10070
  writer.writeCollectionOfPrimitiveValues("allowedStates", sourceTableRow.allowedStates);
10071
+ writer.writeStringValue("apiKey", sourceTableRow.apiKey);
9926
10072
  writer.writeDateValue("apiKeyLastUsedAt", sourceTableRow.apiKeyLastUsedAt);
9927
10073
  writer.writeStringValue("apiKeyPreview", sourceTableRow.apiKeyPreview);
9928
10074
  writer.writeNumberValue("apiKeyTotalUses", sourceTableRow.apiKeyTotalUses);
@@ -10033,7 +10179,7 @@ export function serializeStripeInvoiceResponse(writer, stripeInvoiceResponse = {
10033
10179
  }
10034
10180
  writer.writeNumberValue("amount", stripeInvoiceResponse.amount);
10035
10181
  writer.writeDateValue("createdAt", stripeInvoiceResponse.createdAt);
10036
- writer.writeStringValue("hostedInvoiceUrl", stripeInvoiceResponse.hostedInvoiceUrl);
10182
+ writer.writeBooleanValue("hasPdf", stripeInvoiceResponse.hasPdf);
10037
10183
  writer.writeStringValue("id", stripeInvoiceResponse.id);
10038
10184
  writer.writeStringValue("number", stripeInvoiceResponse.number);
10039
10185
  writer.writeStringValue("status", stripeInvoiceResponse.status);
@@ -10296,6 +10442,20 @@ export function serializeTenDlcApplicationDraft(writer, tenDlcApplicationDraft =
10296
10442
  writer.writeStringValue("websiteUrl", tenDlcApplicationDraft.websiteUrl);
10297
10443
  writer.writeAdditionalData(tenDlcApplicationDraft.additionalData);
10298
10444
  }
10445
+ /**
10446
+ * Serializes information the current object
10447
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
10448
+ * @param TenDlcNotesRequest The instance to serialize from.
10449
+ * @param writer Serialization writer to use to serialize this model
10450
+ */
10451
+ // @ts-ignore
10452
+ export function serializeTenDlcNotesRequest(writer, tenDlcNotesRequest = {}, isSerializingDerivedType = false) {
10453
+ if (!tenDlcNotesRequest || isSerializingDerivedType) {
10454
+ return;
10455
+ }
10456
+ writer.writeStringValue("notes", tenDlcNotesRequest.notes);
10457
+ writer.writeAdditionalData(tenDlcNotesRequest.additionalData);
10458
+ }
10299
10459
  /**
10300
10460
  * Serializes information the current object
10301
10461
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -11042,6 +11202,22 @@ export const BusinessSwitchOption_businessStatusObject = {
11042
11202
  SetupCompleted: "SetupCompleted",
11043
11203
  Active: "Active",
11044
11204
  };
11205
+ /**
11206
+ * Defines the supported 10DLC Application Status values.
11207
+ */
11208
+ export const BusinessSwitchOption_tenDlcStatusObject = {
11209
+ NotStarted: "NotStarted",
11210
+ DraftGenerated: "DraftGenerated",
11211
+ DraftNeedsAdminReview: "DraftNeedsAdminReview",
11212
+ ReadyToSubmit: "ReadyToSubmit",
11213
+ Submitted: "Submitted",
11214
+ PendingTelnyxReview: "PendingTelnyxReview",
11215
+ Approved: "Approved",
11216
+ Rejected: "Rejected",
11217
+ NeedsChanges: "NeedsChanges",
11218
+ ResubmissionReady: "ResubmissionReady",
11219
+ Failed: "Failed",
11220
+ };
11045
11221
  /**
11046
11222
  * Defines the supported Customer Activation Status values.
11047
11223
  */
@@ -11303,16 +11479,14 @@ export const DispositionResponse_changeSourceObject = {
11303
11479
  API: "API",
11304
11480
  };
11305
11481
  /**
11306
- * Defines the supported SMS Warmup Health State values.
11482
+ * Defines the supported SMS readiness health assessments.
11307
11483
  */
11308
11484
  export const EligibleOutgoingNumberResponse_healthStatusObject = {
11309
- NotStarted: "Not Started",
11310
- Warming: "Warming",
11485
+ NotEvaluated: "Not Evaluated",
11486
+ Evaluating: "Evaluating",
11311
11487
  Healthy: "Healthy",
11312
11488
  NeedsAttention: "Needs Attention",
11313
- Paused: "Paused",
11314
11489
  Blocked: "Blocked",
11315
- Ready: "Ready",
11316
11490
  };
11317
11491
  /**
11318
11492
  * Defines the supported Event status values.
@@ -11605,16 +11779,14 @@ export const OutgoingNumberSelectionRequest_channelObject = {
11605
11779
  Call: "call",
11606
11780
  };
11607
11781
  /**
11608
- * Defines the supported SMS Warmup Health State values.
11782
+ * Defines the supported SMS readiness health assessments.
11609
11783
  */
11610
11784
  export const OutgoingNumberSelectionResponse_healthStatusObject = {
11611
- NotStarted: "Not Started",
11612
- Warming: "Warming",
11785
+ NotEvaluated: "Not Evaluated",
11786
+ Evaluating: "Evaluating",
11613
11787
  Healthy: "Healthy",
11614
11788
  NeedsAttention: "Needs Attention",
11615
- Paused: "Paused",
11616
11789
  Blocked: "Blocked",
11617
- Ready: "Ready",
11618
11790
  };
11619
11791
  /**
11620
11792
  * Defines the supported Outgoing Number Selection Reason values.
@@ -11681,25 +11853,21 @@ export const PhoneNumberOutboundHealthStatusObject = {
11681
11853
  Disabled: "disabled",
11682
11854
  };
11683
11855
  /**
11684
- * Defines the supported SMS Warmup Health State values.
11856
+ * Defines the supported SMS readiness health assessments.
11685
11857
  */
11686
- export const PhoneNumberWarmup_healthStatusObject = {
11687
- NotStarted: "Not Started",
11688
- Warming: "Warming",
11858
+ export const PhoneNumberReadiness_healthStatusObject = {
11859
+ NotEvaluated: "Not Evaluated",
11860
+ Evaluating: "Evaluating",
11689
11861
  Healthy: "Healthy",
11690
11862
  NeedsAttention: "Needs Attention",
11691
- Paused: "Paused",
11692
11863
  Blocked: "Blocked",
11693
- Ready: "Ready",
11694
11864
  };
11695
11865
  /**
11696
- * Defines the supported SMS Warmup Health State values.
11866
+ * Defines the supported SMS readiness states.
11697
11867
  */
11698
- export const PhoneNumberWarmup_stateObject = {
11868
+ export const PhoneNumberReadiness_stateObject = {
11699
11869
  NotStarted: "Not Started",
11700
- Warming: "Warming",
11701
- Healthy: "Healthy",
11702
- NeedsAttention: "Needs Attention",
11870
+ InProgress: "In Progress",
11703
11871
  Paused: "Paused",
11704
11872
  Blocked: "Blocked",
11705
11873
  Ready: "Ready",
@@ -11746,6 +11914,26 @@ export const SmsEventTableRow_trafficTypeObject = {
11746
11914
  SystemInternal: "SystemInternal",
11747
11915
  FailedAttempt: "FailedAttempt",
11748
11916
  };
11917
+ /**
11918
+ * Defines the supported SMS readiness health assessments.
11919
+ */
11920
+ export const SmsReadinessHealthStatusObject = {
11921
+ NotEvaluated: "Not Evaluated",
11922
+ Evaluating: "Evaluating",
11923
+ Healthy: "Healthy",
11924
+ NeedsAttention: "Needs Attention",
11925
+ Blocked: "Blocked",
11926
+ };
11927
+ /**
11928
+ * Defines the supported SMS readiness states.
11929
+ */
11930
+ export const SmsReadinessStateObject = {
11931
+ NotStarted: "Not Started",
11932
+ InProgress: "In Progress",
11933
+ Paused: "Paused",
11934
+ Blocked: "Blocked",
11935
+ Ready: "Ready",
11936
+ };
11749
11937
  /**
11750
11938
  * Defines the supported Outgoing Number Selection Reason values.
11751
11939
  */
@@ -11788,18 +11976,6 @@ export const SmsResponse_trafficTypeObject = {
11788
11976
  SystemInternal: "SystemInternal",
11789
11977
  FailedAttempt: "FailedAttempt",
11790
11978
  };
11791
- /**
11792
- * Defines the supported SMS Warmup Health State values.
11793
- */
11794
- export const SmsWarmupHealthStateObject = {
11795
- NotStarted: "Not Started",
11796
- Warming: "Warming",
11797
- Healthy: "Healthy",
11798
- NeedsAttention: "Needs Attention",
11799
- Paused: "Paused",
11800
- Blocked: "Blocked",
11801
- Ready: "Ready",
11802
- };
11803
11979
  /**
11804
11980
  * Defines the supported 10DLC Application Status values.
11805
11981
  */