@leadping/sdk 1.0.24 → 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.
@@ -1425,6 +1425,15 @@ export function createPhoneNumberMessagingEventResponseFromDiscriminatorValue(pa
1425
1425
  export function createPhoneNumberOptOutMetricsResponseFromDiscriminatorValue(parseNode) {
1426
1426
  return deserializeIntoPhoneNumberOptOutMetricsResponse;
1427
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
+ }
1428
1437
  /**
1429
1438
  * Creates a new instance of the appropriate class based on discriminator value
1430
1439
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -1560,15 +1569,6 @@ export function createPhoneNumberTrafficMetricsResponseFromDiscriminatorValue(pa
1560
1569
  export function createPhoneNumberTrafficTrendPointFromDiscriminatorValue(parseNode) {
1561
1570
  return deserializeIntoPhoneNumberTrafficTrendPoint;
1562
1571
  }
1563
- /**
1564
- * Creates a new instance of the appropriate class based on discriminator value
1565
- * @param parseNode The parse node to use to read the discriminator value and create the object
1566
- * @returns {PhoneNumberWarmup}
1567
- */
1568
- // @ts-ignore
1569
- export function createPhoneNumberWarmupFromDiscriminatorValue(parseNode) {
1570
- return deserializeIntoPhoneNumberWarmup;
1571
- }
1572
1572
  /**
1573
1573
  * Creates a new instance of the appropriate class based on discriminator value
1574
1574
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -1617,29 +1617,29 @@ export function createSmsEventTableRowFromDiscriminatorValue(parseNode) {
1617
1617
  /**
1618
1618
  * Creates a new instance of the appropriate class based on discriminator value
1619
1619
  * @param parseNode The parse node to use to read the discriminator value and create the object
1620
- * @returns {SmsResponse}
1620
+ * @returns {SmsReadinessStatusResponse}
1621
1621
  */
1622
1622
  // @ts-ignore
1623
- export function createSmsResponseFromDiscriminatorValue(parseNode) {
1624
- return deserializeIntoSmsResponse;
1623
+ export function createSmsReadinessStatusResponseFromDiscriminatorValue(parseNode) {
1624
+ return deserializeIntoSmsReadinessStatusResponse;
1625
1625
  }
1626
1626
  /**
1627
1627
  * Creates a new instance of the appropriate class based on discriminator value
1628
1628
  * @param parseNode The parse node to use to read the discriminator value and create the object
1629
- * @returns {SmsWarmupStatusResponse}
1629
+ * @returns {SmsReadinessUiState}
1630
1630
  */
1631
1631
  // @ts-ignore
1632
- export function createSmsWarmupStatusResponseFromDiscriminatorValue(parseNode) {
1633
- return deserializeIntoSmsWarmupStatusResponse;
1632
+ export function createSmsReadinessUiStateFromDiscriminatorValue(parseNode) {
1633
+ return deserializeIntoSmsReadinessUiState;
1634
1634
  }
1635
1635
  /**
1636
1636
  * Creates a new instance of the appropriate class based on discriminator value
1637
1637
  * @param parseNode The parse node to use to read the discriminator value and create the object
1638
- * @returns {SmsWarmupUiState}
1638
+ * @returns {SmsResponse}
1639
1639
  */
1640
1640
  // @ts-ignore
1641
- export function createSmsWarmupUiStateFromDiscriminatorValue(parseNode) {
1642
- return deserializeIntoSmsWarmupUiState;
1641
+ export function createSmsResponseFromDiscriminatorValue(parseNode) {
1642
+ return deserializeIntoSmsResponse;
1643
1643
  }
1644
1644
  /**
1645
1645
  * Creates a new instance of the appropriate class based on discriminator value
@@ -3172,6 +3172,7 @@ export function deserializeIntoBusinessSwitchOption(businessSwitchOption = {}) {
3172
3172
  "needsAdminReview": n => { businessSwitchOption.needsAdminReview = n.getBooleanValue(); },
3173
3173
  "readyForCustomerTraffic": n => { businessSwitchOption.readyForCustomerTraffic = n.getBooleanValue(); },
3174
3174
  "role": n => { businessSwitchOption.role = n.getEnumValue(BusinessUserRoleObject); },
3175
+ "tenDlcStatus": n => { businessSwitchOption.tenDlcStatus = n.getEnumValue(BusinessSwitchOption_tenDlcStatusObject); },
3175
3176
  };
3176
3177
  }
3177
3178
  /**
@@ -3392,6 +3393,7 @@ export function deserializeIntoConversationResponse(conversationResponse = {}) {
3392
3393
  "archivedAt": n => { conversationResponse.archivedAt = n.getDateValue(); },
3393
3394
  "archiveReason": n => { conversationResponse.archiveReason = n.getNumberValue(); },
3394
3395
  "currentDisposition": n => { conversationResponse.currentDisposition = n.getObjectValue(createConversationResponse_currentDispositionFromDiscriminatorValue); },
3396
+ "email": n => { conversationResponse.email = n.getStringValue(); },
3395
3397
  "firstName": n => { conversationResponse.firstName = n.getStringValue(); },
3396
3398
  "id": n => { conversationResponse.id = n.getStringValue(); },
3397
3399
  "isArchived": n => { conversationResponse.isArchived = n.getBooleanValue(); },
@@ -4489,12 +4491,16 @@ export function deserializeIntoOutboundPhoneNumberCapacity(outboundPhoneNumberCa
4489
4491
  "healthStatus": n => { outboundPhoneNumberCapacity.healthStatus = n.getEnumValue(PhoneNumberOutboundHealthStatusObject); },
4490
4492
  "phoneNumber": n => { outboundPhoneNumberCapacity.phoneNumber = n.getStringValue(); },
4491
4493
  "phoneNumberId": n => { outboundPhoneNumberCapacity.phoneNumberId = n.getStringValue(); },
4494
+ "smsDailyResetsAt": n => { outboundPhoneNumberCapacity.smsDailyResetsAt = n.getDateValue(); },
4495
+ "smsHourlyResetsAt": n => { outboundPhoneNumberCapacity.smsHourlyResetsAt = n.getDateValue(); },
4492
4496
  "smsLimitThisHour": n => { outboundPhoneNumberCapacity.smsLimitThisHour = n.getNumberValue(); },
4493
4497
  "smsLimitToday": n => { outboundPhoneNumberCapacity.smsLimitToday = n.getNumberValue(); },
4494
4498
  "smsRemainingThisHour": n => { outboundPhoneNumberCapacity.smsRemainingThisHour = n.getNumberValue(); },
4495
4499
  "smsRemainingToday": n => { outboundPhoneNumberCapacity.smsRemainingToday = n.getNumberValue(); },
4496
4500
  "smsUsedThisHour": n => { outboundPhoneNumberCapacity.smsUsedThisHour = n.getNumberValue(); },
4497
4501
  "smsUsedToday": n => { outboundPhoneNumberCapacity.smsUsedToday = n.getNumberValue(); },
4502
+ "voiceDailyResetsAt": n => { outboundPhoneNumberCapacity.voiceDailyResetsAt = n.getDateValue(); },
4503
+ "voiceHourlyResetsAt": n => { outboundPhoneNumberCapacity.voiceHourlyResetsAt = n.getDateValue(); },
4498
4504
  "voiceLimitThisHour": n => { outboundPhoneNumberCapacity.voiceLimitThisHour = n.getNumberValue(); },
4499
4505
  "voiceLimitToday": n => { outboundPhoneNumberCapacity.voiceLimitToday = n.getNumberValue(); },
4500
4506
  "voiceRemainingThisHour": n => { outboundPhoneNumberCapacity.voiceRemainingThisHour = n.getNumberValue(); },
@@ -4887,6 +4893,21 @@ export function deserializeIntoPhoneNumberOptOutMetricsResponse(phoneNumberOptOu
4887
4893
  "windowStartedAt": n => { phoneNumberOptOutMetricsResponse.windowStartedAt = n.getDateValue(); },
4888
4894
  };
4889
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
+ }
4890
4911
  /**
4891
4912
  * The deserialization information for the current model
4892
4913
  * @param PhoneNumberRequest The instance to deserialize into.
@@ -4920,7 +4941,7 @@ export function deserializeIntoPhoneNumberResponse(phoneNumberResponse = {}) {
4920
4941
  "number": n => { phoneNumberResponse.number = n.getStringValue(); },
4921
4942
  "phoneIdentityId": n => { phoneNumberResponse.phoneIdentityId = n.getStringValue(); },
4922
4943
  "routing": n => { phoneNumberResponse.routing = n.getObjectValue(createPhoneNumberRoutingMetadataFromDiscriminatorValue); },
4923
- "warmup": n => { phoneNumberResponse.warmup = n.getObjectValue(createPhoneNumberWarmupFromDiscriminatorValue); },
4944
+ "warmup": n => { phoneNumberResponse.warmup = n.getObjectValue(createPhoneNumberReadinessFromDiscriminatorValue); },
4924
4945
  };
4925
4946
  }
4926
4947
  /**
@@ -5043,7 +5064,7 @@ export function deserializeIntoPhoneNumberStatusResponse_outboundCapacity(phoneN
5043
5064
  // @ts-ignore
5044
5065
  export function deserializeIntoPhoneNumberStatusResponse_smsWarmup(phoneNumberStatusResponse_smsWarmup = {}) {
5045
5066
  return {
5046
- ...deserializeIntoSmsWarmupStatusResponse(phoneNumberStatusResponse_smsWarmup),
5067
+ ...deserializeIntoSmsReadinessStatusResponse(phoneNumberStatusResponse_smsWarmup),
5047
5068
  };
5048
5069
  }
5049
5070
  /**
@@ -5066,7 +5087,7 @@ export function deserializeIntoPhoneNumberTableRow(phoneNumberTableRow = {}) {
5066
5087
  "tenDlcCampaignStatus": n => { phoneNumberTableRow.tenDlcCampaignStatus = n.getStringValue(); },
5067
5088
  "type": n => { phoneNumberTableRow.type = n.getStringValue(); },
5068
5089
  "voiceReady": n => { phoneNumberTableRow.voiceReady = n.getBooleanValue(); },
5069
- "warmup": n => { phoneNumberTableRow.warmup = n.getObjectValue(createPhoneNumberWarmupFromDiscriminatorValue); },
5090
+ "warmup": n => { phoneNumberTableRow.warmup = n.getObjectValue(createPhoneNumberReadinessFromDiscriminatorValue); },
5070
5091
  };
5071
5092
  }
5072
5093
  /**
@@ -5077,8 +5098,11 @@ export function deserializeIntoPhoneNumberTableRow(phoneNumberTableRow = {}) {
5077
5098
  // @ts-ignore
5078
5099
  export function deserializeIntoPhoneNumberTrafficMetricsResponse(phoneNumberTrafficMetricsResponse = {}) {
5079
5100
  return {
5101
+ "callConnectedCount": n => { phoneNumberTrafficMetricsResponse.callConnectedCount = n.getNumberValue(); },
5080
5102
  "callFailedCount": n => { phoneNumberTrafficMetricsResponse.callFailedCount = n.getNumberValue(); },
5103
+ "callInvalidNumberCount": n => { phoneNumberTrafficMetricsResponse.callInvalidNumberCount = n.getNumberValue(); },
5081
5104
  "callPlacedCount": n => { phoneNumberTrafficMetricsResponse.callPlacedCount = n.getNumberValue(); },
5105
+ "callShortCount": n => { phoneNumberTrafficMetricsResponse.callShortCount = n.getNumberValue(); },
5082
5106
  "smsFailedCount": n => { phoneNumberTrafficMetricsResponse.smsFailedCount = n.getNumberValue(); },
5083
5107
  "smsSentCount": n => { phoneNumberTrafficMetricsResponse.smsSentCount = n.getNumberValue(); },
5084
5108
  "trend": n => { phoneNumberTrafficMetricsResponse.trend = n.getCollectionOfObjectValues(createPhoneNumberTrafficTrendPointFromDiscriminatorValue); },
@@ -5103,21 +5127,6 @@ export function deserializeIntoPhoneNumberTrafficTrendPoint(phoneNumberTrafficTr
5103
5127
  "startAt": n => { phoneNumberTrafficTrendPoint.startAt = n.getDateValue(); },
5104
5128
  };
5105
5129
  }
5106
- /**
5107
- * The deserialization information for the current model
5108
- * @param PhoneNumberWarmup The instance to deserialize into.
5109
- * @returns {Record<string, (node: ParseNode) => void>}
5110
- */
5111
- // @ts-ignore
5112
- export function deserializeIntoPhoneNumberWarmup(phoneNumberWarmup = {}) {
5113
- return {
5114
- "enabled": n => { phoneNumberWarmup.enabled = n.getBooleanValue(); },
5115
- "healthScore": n => { phoneNumberWarmup.healthScore = n.getNumberValue(); },
5116
- "healthStatus": n => { phoneNumberWarmup.healthStatus = n.getEnumValue(PhoneNumberWarmup_healthStatusObject); },
5117
- "progressPercent": n => { phoneNumberWarmup.progressPercent = n.getNumberValue(); },
5118
- "state": n => { phoneNumberWarmup.state = n.getEnumValue(PhoneNumberWarmup_stateObject); },
5119
- };
5120
- }
5121
5130
  /**
5122
5131
  * The deserialization information for the current model
5123
5132
  * @param ProblemDetails The instance to deserialize into.
@@ -5234,6 +5243,37 @@ export function deserializeIntoSmsEventTableRow(smsEventTableRow = {}) {
5234
5243
  "userName": n => { smsEventTableRow.userName = n.getStringValue(); },
5235
5244
  };
5236
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
+ }
5237
5277
  /**
5238
5278
  * The deserialization information for the current model
5239
5279
  * @param SmsResponse The instance to deserialize into.
@@ -5279,36 +5319,6 @@ export function deserializeIntoSmsResponse(smsResponse = {}) {
5279
5319
  "wasManuallyOverridden": n => { smsResponse.wasManuallyOverridden = n.getBooleanValue(); },
5280
5320
  };
5281
5321
  }
5282
- /**
5283
- * The deserialization information for the current model
5284
- * @param SmsWarmupStatusResponse The instance to deserialize into.
5285
- * @returns {Record<string, (node: ParseNode) => void>}
5286
- */
5287
- // @ts-ignore
5288
- export function deserializeIntoSmsWarmupStatusResponse(smsWarmupStatusResponse = {}) {
5289
- return {
5290
- "healthScore": n => { smsWarmupStatusResponse.healthScore = n.getNumberValue(); },
5291
- "phoneNumber": n => { smsWarmupStatusResponse.phoneNumber = n.getStringValue(); },
5292
- "phoneNumberId": n => { smsWarmupStatusResponse.phoneNumberId = n.getStringValue(); },
5293
- "progressPercent": n => { smsWarmupStatusResponse.progressPercent = n.getNumberValue(); },
5294
- "status": n => { smsWarmupStatusResponse.status = n.getEnumValue(SmsWarmupHealthStateObject); },
5295
- "uiState": n => { smsWarmupStatusResponse.uiState = n.getObjectValue(createSmsWarmupUiStateFromDiscriminatorValue); },
5296
- "warmupEnabled": n => { smsWarmupStatusResponse.warmupEnabled = n.getBooleanValue(); },
5297
- };
5298
- }
5299
- /**
5300
- * The deserialization information for the current model
5301
- * @param SmsWarmupUiState The instance to deserialize into.
5302
- * @returns {Record<string, (node: ParseNode) => void>}
5303
- */
5304
- // @ts-ignore
5305
- export function deserializeIntoSmsWarmupUiState(smsWarmupUiState = {}) {
5306
- return {
5307
- "description": n => { smsWarmupUiState.description = n.getStringValue(); },
5308
- "label": n => { smsWarmupUiState.label = n.getEnumValue(SmsWarmupHealthStateObject); },
5309
- "tone": n => { smsWarmupUiState.tone = n.getStringValue(); },
5310
- };
5311
- }
5312
5322
  /**
5313
5323
  * The deserialization information for the current model
5314
5324
  * @param SourceMetricsResponse The instance to deserialize into.
@@ -7425,6 +7435,7 @@ export function serializeBusinessSwitchOption(writer, businessSwitchOption = {},
7425
7435
  writer.writeBooleanValue("needsAdminReview", businessSwitchOption.needsAdminReview);
7426
7436
  writer.writeBooleanValue("readyForCustomerTraffic", businessSwitchOption.readyForCustomerTraffic);
7427
7437
  writer.writeEnumValue("role", businessSwitchOption.role);
7438
+ writer.writeEnumValue("tenDlcStatus", businessSwitchOption.tenDlcStatus);
7428
7439
  writer.writeAdditionalData(businessSwitchOption.additionalData);
7429
7440
  }
7430
7441
  /**
@@ -7682,6 +7693,7 @@ export function serializeConversationResponse(writer, conversationResponse = {},
7682
7693
  writer.writeDateValue("archivedAt", conversationResponse.archivedAt);
7683
7694
  writer.writeNumberValue("archiveReason", conversationResponse.archiveReason);
7684
7695
  writer.writeObjectValue("currentDisposition", conversationResponse.currentDisposition, serializeConversationResponse_currentDisposition);
7696
+ writer.writeStringValue("email", conversationResponse.email);
7685
7697
  writer.writeStringValue("firstName", conversationResponse.firstName);
7686
7698
  writer.writeStringValue("id", conversationResponse.id);
7687
7699
  writer.writeBooleanValue("isArchived", conversationResponse.isArchived);
@@ -8947,12 +8959,16 @@ export function serializeOutboundPhoneNumberCapacity(writer, outboundPhoneNumber
8947
8959
  writer.writeEnumValue("healthStatus", outboundPhoneNumberCapacity.healthStatus);
8948
8960
  writer.writeStringValue("phoneNumber", outboundPhoneNumberCapacity.phoneNumber);
8949
8961
  writer.writeStringValue("phoneNumberId", outboundPhoneNumberCapacity.phoneNumberId);
8962
+ writer.writeDateValue("smsDailyResetsAt", outboundPhoneNumberCapacity.smsDailyResetsAt);
8963
+ writer.writeDateValue("smsHourlyResetsAt", outboundPhoneNumberCapacity.smsHourlyResetsAt);
8950
8964
  writer.writeNumberValue("smsLimitThisHour", outboundPhoneNumberCapacity.smsLimitThisHour);
8951
8965
  writer.writeNumberValue("smsLimitToday", outboundPhoneNumberCapacity.smsLimitToday);
8952
8966
  writer.writeNumberValue("smsRemainingThisHour", outboundPhoneNumberCapacity.smsRemainingThisHour);
8953
8967
  writer.writeNumberValue("smsRemainingToday", outboundPhoneNumberCapacity.smsRemainingToday);
8954
8968
  writer.writeNumberValue("smsUsedThisHour", outboundPhoneNumberCapacity.smsUsedThisHour);
8955
8969
  writer.writeNumberValue("smsUsedToday", outboundPhoneNumberCapacity.smsUsedToday);
8970
+ writer.writeDateValue("voiceDailyResetsAt", outboundPhoneNumberCapacity.voiceDailyResetsAt);
8971
+ writer.writeDateValue("voiceHourlyResetsAt", outboundPhoneNumberCapacity.voiceHourlyResetsAt);
8956
8972
  writer.writeNumberValue("voiceLimitThisHour", outboundPhoneNumberCapacity.voiceLimitThisHour);
8957
8973
  writer.writeNumberValue("voiceLimitToday", outboundPhoneNumberCapacity.voiceLimitToday);
8958
8974
  writer.writeNumberValue("voiceRemainingThisHour", outboundPhoneNumberCapacity.voiceRemainingThisHour);
@@ -9418,6 +9434,24 @@ export function serializePhoneNumberOptOutMetricsResponse(writer, phoneNumberOpt
9418
9434
  writer.writeDateValue("windowStartedAt", phoneNumberOptOutMetricsResponse.windowStartedAt);
9419
9435
  writer.writeAdditionalData(phoneNumberOptOutMetricsResponse.additionalData);
9420
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
+ }
9421
9455
  /**
9422
9456
  * Serializes information the current object
9423
9457
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -9457,7 +9491,7 @@ export function serializePhoneNumberResponse(writer, phoneNumberResponse = {}, i
9457
9491
  writer.writeStringValue("number", phoneNumberResponse.number);
9458
9492
  writer.writeStringValue("phoneIdentityId", phoneNumberResponse.phoneIdentityId);
9459
9493
  writer.writeObjectValue("routing", phoneNumberResponse.routing, serializePhoneNumberRoutingMetadata);
9460
- writer.writeObjectValue("warmup", phoneNumberResponse.warmup, serializePhoneNumberWarmup);
9494
+ writer.writeObjectValue("warmup", phoneNumberResponse.warmup, serializePhoneNumberReadiness);
9461
9495
  writer.writeAdditionalData(phoneNumberResponse.additionalData);
9462
9496
  }
9463
9497
  /**
@@ -9606,7 +9640,7 @@ export function serializePhoneNumberStatusResponse_smsWarmup(writer, phoneNumber
9606
9640
  if (!phoneNumberStatusResponse_smsWarmup || isSerializingDerivedType) {
9607
9641
  return;
9608
9642
  }
9609
- serializeSmsWarmupStatusResponse(writer, phoneNumberStatusResponse_smsWarmup, isSerializingDerivedType);
9643
+ serializeSmsReadinessStatusResponse(writer, phoneNumberStatusResponse_smsWarmup, isSerializingDerivedType);
9610
9644
  }
9611
9645
  /**
9612
9646
  * Serializes information the current object
@@ -9631,7 +9665,7 @@ export function serializePhoneNumberTableRow(writer, phoneNumberTableRow = {}, i
9631
9665
  writer.writeStringValue("tenDlcCampaignStatus", phoneNumberTableRow.tenDlcCampaignStatus);
9632
9666
  writer.writeStringValue("type", phoneNumberTableRow.type);
9633
9667
  writer.writeBooleanValue("voiceReady", phoneNumberTableRow.voiceReady);
9634
- writer.writeObjectValue("warmup", phoneNumberTableRow.warmup, serializePhoneNumberWarmup);
9668
+ writer.writeObjectValue("warmup", phoneNumberTableRow.warmup, serializePhoneNumberReadiness);
9635
9669
  writer.writeAdditionalData(phoneNumberTableRow.additionalData);
9636
9670
  }
9637
9671
  /**
@@ -9645,8 +9679,11 @@ export function serializePhoneNumberTrafficMetricsResponse(writer, phoneNumberTr
9645
9679
  if (!phoneNumberTrafficMetricsResponse || isSerializingDerivedType) {
9646
9680
  return;
9647
9681
  }
9682
+ writer.writeNumberValue("callConnectedCount", phoneNumberTrafficMetricsResponse.callConnectedCount);
9648
9683
  writer.writeNumberValue("callFailedCount", phoneNumberTrafficMetricsResponse.callFailedCount);
9684
+ writer.writeNumberValue("callInvalidNumberCount", phoneNumberTrafficMetricsResponse.callInvalidNumberCount);
9649
9685
  writer.writeNumberValue("callPlacedCount", phoneNumberTrafficMetricsResponse.callPlacedCount);
9686
+ writer.writeNumberValue("callShortCount", phoneNumberTrafficMetricsResponse.callShortCount);
9650
9687
  writer.writeNumberValue("smsFailedCount", phoneNumberTrafficMetricsResponse.smsFailedCount);
9651
9688
  writer.writeNumberValue("smsSentCount", phoneNumberTrafficMetricsResponse.smsSentCount);
9652
9689
  writer.writeCollectionOfObjectValues("trend", phoneNumberTrafficMetricsResponse.trend, serializePhoneNumberTrafficTrendPoint);
@@ -9674,24 +9711,6 @@ export function serializePhoneNumberTrafficTrendPoint(writer, phoneNumberTraffic
9674
9711
  writer.writeDateValue("startAt", phoneNumberTrafficTrendPoint.startAt);
9675
9712
  writer.writeAdditionalData(phoneNumberTrafficTrendPoint.additionalData);
9676
9713
  }
9677
- /**
9678
- * Serializes information the current object
9679
- * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
9680
- * @param PhoneNumberWarmup The instance to serialize from.
9681
- * @param writer Serialization writer to use to serialize this model
9682
- */
9683
- // @ts-ignore
9684
- export function serializePhoneNumberWarmup(writer, phoneNumberWarmup = {}, isSerializingDerivedType = false) {
9685
- if (!phoneNumberWarmup || isSerializingDerivedType) {
9686
- return;
9687
- }
9688
- writer.writeBooleanValue("enabled", phoneNumberWarmup.enabled);
9689
- writer.writeNumberValue("healthScore", phoneNumberWarmup.healthScore);
9690
- writer.writeEnumValue("healthStatus", phoneNumberWarmup.healthStatus);
9691
- writer.writeNumberValue("progressPercent", phoneNumberWarmup.progressPercent);
9692
- writer.writeEnumValue("state", phoneNumberWarmup.state);
9693
- writer.writeAdditionalData(phoneNumberWarmup.additionalData);
9694
- }
9695
9714
  /**
9696
9715
  * Serializes information the current object
9697
9716
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -9823,6 +9842,43 @@ export function serializeSmsEventTableRow(writer, smsEventTableRow = {}, isSeria
9823
9842
  writer.writeStringValue("userName", smsEventTableRow.userName);
9824
9843
  writer.writeAdditionalData(smsEventTableRow.additionalData);
9825
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
+ }
9826
9882
  /**
9827
9883
  * Serializes information the current object
9828
9884
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -9871,42 +9927,6 @@ export function serializeSmsResponse(writer, smsResponse = {}, isSerializingDeri
9871
9927
  writer.writeBooleanValue("wasManuallyOverridden", smsResponse.wasManuallyOverridden);
9872
9928
  writer.writeAdditionalData(smsResponse.additionalData);
9873
9929
  }
9874
- /**
9875
- * Serializes information the current object
9876
- * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
9877
- * @param SmsWarmupStatusResponse The instance to serialize from.
9878
- * @param writer Serialization writer to use to serialize this model
9879
- */
9880
- // @ts-ignore
9881
- export function serializeSmsWarmupStatusResponse(writer, smsWarmupStatusResponse = {}, isSerializingDerivedType = false) {
9882
- if (!smsWarmupStatusResponse || isSerializingDerivedType) {
9883
- return;
9884
- }
9885
- writer.writeNumberValue("healthScore", smsWarmupStatusResponse.healthScore);
9886
- writer.writeStringValue("phoneNumber", smsWarmupStatusResponse.phoneNumber);
9887
- writer.writeStringValue("phoneNumberId", smsWarmupStatusResponse.phoneNumberId);
9888
- writer.writeNumberValue("progressPercent", smsWarmupStatusResponse.progressPercent);
9889
- writer.writeEnumValue("status", smsWarmupStatusResponse.status);
9890
- writer.writeObjectValue("uiState", smsWarmupStatusResponse.uiState, serializeSmsWarmupUiState);
9891
- writer.writeBooleanValue("warmupEnabled", smsWarmupStatusResponse.warmupEnabled);
9892
- writer.writeAdditionalData(smsWarmupStatusResponse.additionalData);
9893
- }
9894
- /**
9895
- * Serializes information the current object
9896
- * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
9897
- * @param SmsWarmupUiState The instance to serialize from.
9898
- * @param writer Serialization writer to use to serialize this model
9899
- */
9900
- // @ts-ignore
9901
- export function serializeSmsWarmupUiState(writer, smsWarmupUiState = {}, isSerializingDerivedType = false) {
9902
- if (!smsWarmupUiState || isSerializingDerivedType) {
9903
- return;
9904
- }
9905
- writer.writeStringValue("description", smsWarmupUiState.description);
9906
- writer.writeEnumValue("label", smsWarmupUiState.label);
9907
- writer.writeStringValue("tone", smsWarmupUiState.tone);
9908
- writer.writeAdditionalData(smsWarmupUiState.additionalData);
9909
- }
9910
9930
  /**
9911
9931
  * Serializes information the current object
9912
9932
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -11182,6 +11202,22 @@ export const BusinessSwitchOption_businessStatusObject = {
11182
11202
  SetupCompleted: "SetupCompleted",
11183
11203
  Active: "Active",
11184
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
+ };
11185
11221
  /**
11186
11222
  * Defines the supported Customer Activation Status values.
11187
11223
  */
@@ -11443,16 +11479,14 @@ export const DispositionResponse_changeSourceObject = {
11443
11479
  API: "API",
11444
11480
  };
11445
11481
  /**
11446
- * Defines the supported SMS Warmup Health State values.
11482
+ * Defines the supported SMS readiness health assessments.
11447
11483
  */
11448
11484
  export const EligibleOutgoingNumberResponse_healthStatusObject = {
11449
- NotStarted: "Not Started",
11450
- Warming: "Warming",
11485
+ NotEvaluated: "Not Evaluated",
11486
+ Evaluating: "Evaluating",
11451
11487
  Healthy: "Healthy",
11452
11488
  NeedsAttention: "Needs Attention",
11453
- Paused: "Paused",
11454
11489
  Blocked: "Blocked",
11455
- Ready: "Ready",
11456
11490
  };
11457
11491
  /**
11458
11492
  * Defines the supported Event status values.
@@ -11745,16 +11779,14 @@ export const OutgoingNumberSelectionRequest_channelObject = {
11745
11779
  Call: "call",
11746
11780
  };
11747
11781
  /**
11748
- * Defines the supported SMS Warmup Health State values.
11782
+ * Defines the supported SMS readiness health assessments.
11749
11783
  */
11750
11784
  export const OutgoingNumberSelectionResponse_healthStatusObject = {
11751
- NotStarted: "Not Started",
11752
- Warming: "Warming",
11785
+ NotEvaluated: "Not Evaluated",
11786
+ Evaluating: "Evaluating",
11753
11787
  Healthy: "Healthy",
11754
11788
  NeedsAttention: "Needs Attention",
11755
- Paused: "Paused",
11756
11789
  Blocked: "Blocked",
11757
- Ready: "Ready",
11758
11790
  };
11759
11791
  /**
11760
11792
  * Defines the supported Outgoing Number Selection Reason values.
@@ -11821,25 +11853,21 @@ export const PhoneNumberOutboundHealthStatusObject = {
11821
11853
  Disabled: "disabled",
11822
11854
  };
11823
11855
  /**
11824
- * Defines the supported SMS Warmup Health State values.
11856
+ * Defines the supported SMS readiness health assessments.
11825
11857
  */
11826
- export const PhoneNumberWarmup_healthStatusObject = {
11827
- NotStarted: "Not Started",
11828
- Warming: "Warming",
11858
+ export const PhoneNumberReadiness_healthStatusObject = {
11859
+ NotEvaluated: "Not Evaluated",
11860
+ Evaluating: "Evaluating",
11829
11861
  Healthy: "Healthy",
11830
11862
  NeedsAttention: "Needs Attention",
11831
- Paused: "Paused",
11832
11863
  Blocked: "Blocked",
11833
- Ready: "Ready",
11834
11864
  };
11835
11865
  /**
11836
- * Defines the supported SMS Warmup Health State values.
11866
+ * Defines the supported SMS readiness states.
11837
11867
  */
11838
- export const PhoneNumberWarmup_stateObject = {
11868
+ export const PhoneNumberReadiness_stateObject = {
11839
11869
  NotStarted: "Not Started",
11840
- Warming: "Warming",
11841
- Healthy: "Healthy",
11842
- NeedsAttention: "Needs Attention",
11870
+ InProgress: "In Progress",
11843
11871
  Paused: "Paused",
11844
11872
  Blocked: "Blocked",
11845
11873
  Ready: "Ready",
@@ -11886,6 +11914,26 @@ export const SmsEventTableRow_trafficTypeObject = {
11886
11914
  SystemInternal: "SystemInternal",
11887
11915
  FailedAttempt: "FailedAttempt",
11888
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
+ };
11889
11937
  /**
11890
11938
  * Defines the supported Outgoing Number Selection Reason values.
11891
11939
  */
@@ -11928,18 +11976,6 @@ export const SmsResponse_trafficTypeObject = {
11928
11976
  SystemInternal: "SystemInternal",
11929
11977
  FailedAttempt: "FailedAttempt",
11930
11978
  };
11931
- /**
11932
- * Defines the supported SMS Warmup Health State values.
11933
- */
11934
- export const SmsWarmupHealthStateObject = {
11935
- NotStarted: "Not Started",
11936
- Warming: "Warming",
11937
- Healthy: "Healthy",
11938
- NeedsAttention: "Needs Attention",
11939
- Paused: "Paused",
11940
- Blocked: "Blocked",
11941
- Ready: "Ready",
11942
- };
11943
11979
  /**
11944
11980
  * Defines the supported 10DLC Application Status values.
11945
11981
  */