@leadping/sdk 1.0.56 → 1.0.58

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 (34) hide show
  1. package/dist/a2a/index.d.ts +2 -2
  2. package/dist/analytics/index.d.ts.map +1 -1
  3. package/dist/analytics/index.js +2 -1
  4. package/dist/analytics/index.js.map +1 -1
  5. package/dist/analytics/my/exportEscaped/index.d.ts +47 -0
  6. package/dist/analytics/my/exportEscaped/index.d.ts.map +1 -0
  7. package/dist/analytics/my/exportEscaped/index.js +28 -0
  8. package/dist/analytics/my/exportEscaped/index.js.map +1 -0
  9. package/dist/analytics/my/index.d.ts +10 -1
  10. package/dist/analytics/my/index.d.ts.map +1 -1
  11. package/dist/analytics/my/index.js +10 -0
  12. package/dist/analytics/my/index.js.map +1 -1
  13. package/dist/automations/preview/index.d.ts +3 -3
  14. package/dist/blog/index.d.ts +2 -2
  15. package/dist/leadStatusChanges/item/index.d.ts +2 -2
  16. package/dist/leads/item/archive/index.d.ts +2 -2
  17. package/dist/leads/item/index.d.ts +2 -2
  18. package/dist/models/index.d.ts +335 -9
  19. package/dist/models/index.d.ts.map +1 -1
  20. package/dist/models/index.js +262 -2
  21. package/dist/models/index.js.map +1 -1
  22. package/dist/sms/index.d.ts +5 -5
  23. package/dist/sms/index.d.ts.map +1 -1
  24. package/dist/sms/index.js +5 -5
  25. package/dist/sms/index.js.map +1 -1
  26. package/dist/sms/item/cancel/index.d.ts +2 -2
  27. package/dist/sms/{media → uploads}/index.d.ts +4 -4
  28. package/dist/sms/uploads/index.d.ts.map +1 -0
  29. package/dist/sms/{media → uploads}/index.js +3 -3
  30. package/dist/sms/uploads/index.js.map +1 -0
  31. package/dist/users/me/notificationPreferences/index.d.ts +2 -2
  32. package/package.json +1 -1
  33. package/dist/sms/media/index.d.ts.map +0 -1
  34. package/dist/sms/media/index.js.map +0 -1
@@ -84,6 +84,15 @@ export function createAutomationAction_settingsFromDiscriminatorValue(parseNode)
84
84
  export function createAutomationActionFromDiscriminatorValue(parseNode) {
85
85
  return deserializeIntoAutomationAction;
86
86
  }
87
+ /**
88
+ * Creates a new instance of the appropriate class based on discriminator value
89
+ * @param parseNode The parse node to use to read the discriminator value and create the object
90
+ * @returns {AutomationActionRunRecord_smsDelivery}
91
+ */
92
+ // @ts-ignore
93
+ export function createAutomationActionRunRecord_smsDeliveryFromDiscriminatorValue(parseNode) {
94
+ return deserializeIntoAutomationActionRunRecord_smsDelivery;
95
+ }
87
96
  /**
88
97
  * Creates a new instance of the appropriate class based on discriminator value
89
98
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -246,6 +255,15 @@ export function createAutomationRunRecord_conditionResultsFromDiscriminatorValue
246
255
  export function createAutomationRunRecordFromDiscriminatorValue(parseNode) {
247
256
  return deserializeIntoAutomationRunRecord;
248
257
  }
258
+ /**
259
+ * Creates a new instance of the appropriate class based on discriminator value
260
+ * @param parseNode The parse node to use to read the discriminator value and create the object
261
+ * @returns {AutomationSmsDeliveryRecord}
262
+ */
263
+ // @ts-ignore
264
+ export function createAutomationSmsDeliveryRecordFromDiscriminatorValue(parseNode) {
265
+ return deserializeIntoAutomationSmsDeliveryRecord;
266
+ }
249
267
  /**
250
268
  * Creates a new instance of the appropriate class based on discriminator value
251
269
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -300,6 +318,15 @@ export function createAutomationTriggerFromDiscriminatorValue(parseNode) {
300
318
  export function createAutomationValidationResultFromDiscriminatorValue(parseNode) {
301
319
  return deserializeIntoAutomationValidationResult;
302
320
  }
321
+ /**
322
+ * Creates a new instance of the appropriate class based on discriminator value
323
+ * @param parseNode The parse node to use to read the discriminator value and create the object
324
+ * @returns {AutomationWorkflowActionResponse_smsDelivery}
325
+ */
326
+ // @ts-ignore
327
+ export function createAutomationWorkflowActionResponse_smsDeliveryFromDiscriminatorValue(parseNode) {
328
+ return deserializeIntoAutomationWorkflowActionResponse_smsDelivery;
329
+ }
303
330
  /**
304
331
  * Creates a new instance of the appropriate class based on discriminator value
305
332
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -588,6 +615,15 @@ export function createCustomerNeedsAttentionItemFromDiscriminatorValue(parseNode
588
615
  export function createCustomerResponseMetricsFromDiscriminatorValue(parseNode) {
589
616
  return deserializeIntoCustomerResponseMetrics;
590
617
  }
618
+ /**
619
+ * Creates a new instance of the appropriate class based on discriminator value
620
+ * @param parseNode The parse node to use to read the discriminator value and create the object
621
+ * @returns {CustomerResponseSlaPoint}
622
+ */
623
+ // @ts-ignore
624
+ export function createCustomerResponseSlaPointFromDiscriminatorValue(parseNode) {
625
+ return deserializeIntoCustomerResponseSlaPoint;
626
+ }
591
627
  /**
592
628
  * Creates a new instance of the appropriate class based on discriminator value
593
629
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -2560,10 +2596,22 @@ export function deserializeIntoAutomationActionRunRecord(automationActionRunReco
2560
2596
  "processingAttempts": n => { automationActionRunRecord.processingAttempts = n.getNumberValue(); },
2561
2597
  "scheduledAt": n => { automationActionRunRecord.scheduledAt = n.getDateValue(); },
2562
2598
  "selectedConnectionId": n => { automationActionRunRecord.selectedConnectionId = n.getStringValue(); },
2599
+ "smsDelivery": n => { automationActionRunRecord.smsDelivery = n.getObjectValue(createAutomationActionRunRecord_smsDeliveryFromDiscriminatorValue); },
2563
2600
  "startedAt": n => { automationActionRunRecord.startedAt = n.getDateValue(); },
2564
2601
  "status": n => { automationActionRunRecord.status = n.getStringValue(); },
2565
2602
  };
2566
2603
  }
2604
+ /**
2605
+ * The deserialization information for the current model
2606
+ * @param AutomationActionRunRecord_smsDelivery The instance to deserialize into.
2607
+ * @returns {Record<string, (node: ParseNode) => void>}
2608
+ */
2609
+ // @ts-ignore
2610
+ export function deserializeIntoAutomationActionRunRecord_smsDelivery(automationActionRunRecord_smsDelivery = {}) {
2611
+ return {
2612
+ ...deserializeIntoAutomationSmsDeliveryRecord(automationActionRunRecord_smsDelivery),
2613
+ };
2614
+ }
2567
2615
  /**
2568
2616
  * The deserialization information for the current model
2569
2617
  * @param AutomationCondition The instance to deserialize into.
@@ -2825,6 +2873,23 @@ export function deserializeIntoAutomationRunRecord(automationRunRecord = {}) {
2825
2873
  export function deserializeIntoAutomationRunRecord_conditionResults(automationRunRecord_conditionResults = {}) {
2826
2874
  return {};
2827
2875
  }
2876
+ /**
2877
+ * The deserialization information for the current model
2878
+ * @param AutomationSmsDeliveryRecord The instance to deserialize into.
2879
+ * @returns {Record<string, (node: ParseNode) => void>}
2880
+ */
2881
+ // @ts-ignore
2882
+ export function deserializeIntoAutomationSmsDeliveryRecord(automationSmsDeliveryRecord = {}) {
2883
+ return {
2884
+ "errorCode": n => { automationSmsDeliveryRecord.errorCode = n.getStringValue(); },
2885
+ "nextRetryAt": n => { automationSmsDeliveryRecord.nextRetryAt = n.getDateValue(); },
2886
+ "reason": n => { automationSmsDeliveryRecord.reason = n.getStringValue(); },
2887
+ "scheduledFor": n => { automationSmsDeliveryRecord.scheduledFor = n.getDateValue(); },
2888
+ "smsEventId": n => { automationSmsDeliveryRecord.smsEventId = n.getStringValue(); },
2889
+ "status": n => { automationSmsDeliveryRecord.status = n.getEnumValue(AutomationSmsDeliveryRecord_statusObject); },
2890
+ "summary": n => { automationSmsDeliveryRecord.summary = n.getStringValue(); },
2891
+ };
2892
+ }
2828
2893
  /**
2829
2894
  * The deserialization information for the current model
2830
2895
  * @param AutomationTableRow The instance to deserialize into.
@@ -2933,6 +2998,7 @@ export function deserializeIntoAutomationWorkflowActionResponse(automationWorkfl
2933
2998
  "safeReason": n => { automationWorkflowActionResponse.safeReason = n.getStringValue(); },
2934
2999
  "scheduledAt": n => { automationWorkflowActionResponse.scheduledAt = n.getDateValue(); },
2935
3000
  "skippedAt": n => { automationWorkflowActionResponse.skippedAt = n.getDateValue(); },
3001
+ "smsDelivery": n => { automationWorkflowActionResponse.smsDelivery = n.getObjectValue(createAutomationWorkflowActionResponse_smsDeliveryFromDiscriminatorValue); },
2936
3002
  "startedAt": n => { automationWorkflowActionResponse.startedAt = n.getDateValue(); },
2937
3003
  "status": n => { automationWorkflowActionResponse.status = n.getStringValue(); },
2938
3004
  "statusDisplay": n => { automationWorkflowActionResponse.statusDisplay = n.getStringValue(); },
@@ -2942,6 +3008,17 @@ export function deserializeIntoAutomationWorkflowActionResponse(automationWorkfl
2942
3008
  "userSummary": n => { automationWorkflowActionResponse.userSummary = n.getStringValue(); },
2943
3009
  };
2944
3010
  }
3011
+ /**
3012
+ * The deserialization information for the current model
3013
+ * @param AutomationWorkflowActionResponse_smsDelivery The instance to deserialize into.
3014
+ * @returns {Record<string, (node: ParseNode) => void>}
3015
+ */
3016
+ // @ts-ignore
3017
+ export function deserializeIntoAutomationWorkflowActionResponse_smsDelivery(automationWorkflowActionResponse_smsDelivery = {}) {
3018
+ return {
3019
+ ...deserializeIntoAutomationSmsDeliveryRecord(automationWorkflowActionResponse_smsDelivery),
3020
+ };
3021
+ }
2945
3022
  /**
2946
3023
  * The deserialization information for the current model
2947
3024
  * @param AutomationWorkflowEventResponse The instance to deserialize into.
@@ -3088,6 +3165,7 @@ export function deserializeIntoCallEventTableRow(callEventTableRow = {}) {
3088
3165
  "organization": n => { callEventTableRow.organization = n.getStringValue(); },
3089
3166
  "organizationId": n => { callEventTableRow.organizationId = n.getStringValue(); },
3090
3167
  "organizationName": n => { callEventTableRow.organizationName = n.getStringValue(); },
3168
+ "outboundSource": n => { callEventTableRow.outboundSource = n.getEnumValue(CallEventTableRow_outboundSourceObject); },
3091
3169
  "status": n => { callEventTableRow.status = n.getEnumValue(CallEventTableRow_statusObject); },
3092
3170
  "statusReason": n => { callEventTableRow.statusReason = n.getStringValue(); },
3093
3171
  "toPhoneNumber": n => { callEventTableRow.toPhoneNumber = n.getStringValue(); },
@@ -3301,12 +3379,22 @@ export function deserializeIntoCustomerAnalyticsSummary(customerAnalyticsSummary
3301
3379
  "callMinutes": n => { customerAnalyticsSummary.callMinutes = n.getNumberValue(); },
3302
3380
  "callsPlaced": n => { customerAnalyticsSummary.callsPlaced = n.getNumberValue(); },
3303
3381
  "callsReceived": n => { customerAnalyticsSummary.callsReceived = n.getNumberValue(); },
3382
+ "humanResponses": n => { customerAnalyticsSummary.humanResponses = n.getNumberValue(); },
3304
3383
  "leads": n => { customerAnalyticsSummary.leads = n.getNumberValue(); },
3305
3384
  "leadsComparison": n => { customerAnalyticsSummary.leadsComparison = n.getObjectValue(createAnalyticsComparisonFromDiscriminatorValue); },
3306
3385
  "medianResponseMinutes": n => { customerAnalyticsSummary.medianResponseMinutes = n.getNumberValue(); },
3307
3386
  "missedCalls": n => { customerAnalyticsSummary.missedCalls = n.getNumberValue(); },
3308
3387
  "missedLeads": n => { customerAnalyticsSummary.missedLeads = n.getNumberValue(); },
3388
+ "observedThrough": n => { customerAnalyticsSummary.observedThrough = n.getDateValue(); },
3389
+ "overallFiveMinuteSlaPercent": n => { customerAnalyticsSummary.overallFiveMinuteSlaPercent = n.getNumberValue(); },
3390
+ "prospectReplies": n => { customerAnalyticsSummary.prospectReplies = n.getNumberValue(); },
3309
3391
  "respondedWithinFiveMinutesPercent": n => { customerAnalyticsSummary.respondedWithinFiveMinutesPercent = n.getNumberValue(); },
3392
+ "slaEligibleLeads": n => { customerAnalyticsSummary.slaEligibleLeads = n.getNumberValue(); },
3393
+ "slaPendingLeads": n => { customerAnalyticsSummary.slaPendingLeads = n.getNumberValue(); },
3394
+ "slaTimelyLeads": n => { customerAnalyticsSummary.slaTimelyLeads = n.getNumberValue(); },
3395
+ "slaUnrespondedLeads": n => { customerAnalyticsSummary.slaUnrespondedLeads = n.getNumberValue(); },
3396
+ "smsAttempted": n => { customerAnalyticsSummary.smsAttempted = n.getNumberValue(); },
3397
+ "smsDelivered": n => { customerAnalyticsSummary.smsDelivered = n.getNumberValue(); },
3310
3398
  "smsReceived": n => { customerAnalyticsSummary.smsReceived = n.getNumberValue(); },
3311
3399
  "smsSent": n => { customerAnalyticsSummary.smsSent = n.getNumberValue(); },
3312
3400
  "unreadMessages": n => { customerAnalyticsSummary.unreadMessages = n.getNumberValue(); },
@@ -3374,7 +3462,11 @@ export function deserializeIntoCustomerCommunicationUsage(customerCommunicationU
3374
3462
  "callsPlaced": n => { customerCommunicationUsage.callsPlaced = n.getNumberValue(); },
3375
3463
  "callsReceived": n => { customerCommunicationUsage.callsReceived = n.getNumberValue(); },
3376
3464
  "failedOrBlockedSms": n => { customerCommunicationUsage.failedOrBlockedSms = n.getNumberValue(); },
3465
+ "humanResponses": n => { customerCommunicationUsage.humanResponses = n.getNumberValue(); },
3377
3466
  "missedCalls": n => { customerCommunicationUsage.missedCalls = n.getNumberValue(); },
3467
+ "prospectReplies": n => { customerCommunicationUsage.prospectReplies = n.getNumberValue(); },
3468
+ "smsAttempted": n => { customerCommunicationUsage.smsAttempted = n.getNumberValue(); },
3469
+ "smsDelivered": n => { customerCommunicationUsage.smsDelivered = n.getNumberValue(); },
3378
3470
  "smsReceived": n => { customerCommunicationUsage.smsReceived = n.getNumberValue(); },
3379
3471
  "smsSent": n => { customerCommunicationUsage.smsSent = n.getNumberValue(); },
3380
3472
  "trend": n => { customerCommunicationUsage.trend = n.getCollectionOfObjectValues(createCustomerCommunicationUsagePointFromDiscriminatorValue); },
@@ -3395,7 +3487,11 @@ export function deserializeIntoCustomerCommunicationUsagePoint(customerCommunica
3395
3487
  "callsPlaced": n => { customerCommunicationUsagePoint.callsPlaced = n.getNumberValue(); },
3396
3488
  "callsReceived": n => { customerCommunicationUsagePoint.callsReceived = n.getNumberValue(); },
3397
3489
  "endAt": n => { customerCommunicationUsagePoint.endAt = n.getDateValue(); },
3490
+ "humanResponses": n => { customerCommunicationUsagePoint.humanResponses = n.getNumberValue(); },
3398
3491
  "label": n => { customerCommunicationUsagePoint.label = n.getStringValue(); },
3492
+ "prospectReplies": n => { customerCommunicationUsagePoint.prospectReplies = n.getNumberValue(); },
3493
+ "smsAttempted": n => { customerCommunicationUsagePoint.smsAttempted = n.getNumberValue(); },
3494
+ "smsDelivered": n => { customerCommunicationUsagePoint.smsDelivered = n.getNumberValue(); },
3399
3495
  "smsErrors": n => { customerCommunicationUsagePoint.smsErrors = n.getNumberValue(); },
3400
3496
  "smsReceived": n => { customerCommunicationUsagePoint.smsReceived = n.getNumberValue(); },
3401
3497
  "smsSent": n => { customerCommunicationUsagePoint.smsSent = n.getNumberValue(); },
@@ -3470,14 +3566,42 @@ export function deserializeIntoCustomerResponseMetrics(customerResponseMetrics =
3470
3566
  return {
3471
3567
  "averageMinutes": n => { customerResponseMetrics.averageMinutes = n.getNumberValue(); },
3472
3568
  "averageMinutesTrend": n => { customerResponseMetrics.averageMinutesTrend = n.getCollectionOfObjectValues(createAnalyticsTrendPointOfdecimalFromDiscriminatorValue); },
3569
+ "cohortEndAt": n => { customerResponseMetrics.cohortEndAt = n.getDateValue(); },
3570
+ "cohortStartAt": n => { customerResponseMetrics.cohortStartAt = n.getDateValue(); },
3473
3571
  "medianMinutes": n => { customerResponseMetrics.medianMinutes = n.getNumberValue(); },
3474
3572
  "missedCalls": n => { customerResponseMetrics.missedCalls = n.getNumberValue(); },
3573
+ "observedThrough": n => { customerResponseMetrics.observedThrough = n.getDateValue(); },
3574
+ "overallFiveMinuteSlaPercent": n => { customerResponseMetrics.overallFiveMinuteSlaPercent = n.getNumberValue(); },
3475
3575
  "respondedLeads": n => { customerResponseMetrics.respondedLeads = n.getNumberValue(); },
3476
3576
  "respondedWithinFiveMinutesPercent": n => { customerResponseMetrics.respondedWithinFiveMinutesPercent = n.getNumberValue(); },
3577
+ "responseDefinition": n => { customerResponseMetrics.responseDefinition = n.getStringValue(); },
3578
+ "slaEligibleLeads": n => { customerResponseMetrics.slaEligibleLeads = n.getNumberValue(); },
3579
+ "slaPendingLeads": n => { customerResponseMetrics.slaPendingLeads = n.getNumberValue(); },
3580
+ "slaTimelyLeads": n => { customerResponseMetrics.slaTimelyLeads = n.getNumberValue(); },
3581
+ "slaTrend": n => { customerResponseMetrics.slaTrend = n.getCollectionOfObjectValues(createCustomerResponseSlaPointFromDiscriminatorValue); },
3582
+ "slaUnrespondedLeads": n => { customerResponseMetrics.slaUnrespondedLeads = n.getNumberValue(); },
3477
3583
  "unreadMessages": n => { customerResponseMetrics.unreadMessages = n.getNumberValue(); },
3478
3584
  "unrespondedLeads": n => { customerResponseMetrics.unrespondedLeads = n.getNumberValue(); },
3479
3585
  };
3480
3586
  }
3587
+ /**
3588
+ * The deserialization information for the current model
3589
+ * @param CustomerResponseSlaPoint The instance to deserialize into.
3590
+ * @returns {Record<string, (node: ParseNode) => void>}
3591
+ */
3592
+ // @ts-ignore
3593
+ export function deserializeIntoCustomerResponseSlaPoint(customerResponseSlaPoint = {}) {
3594
+ return {
3595
+ "coveragePercent": n => { customerResponseSlaPoint.coveragePercent = n.getNumberValue(); },
3596
+ "eligibleLeads": n => { customerResponseSlaPoint.eligibleLeads = n.getNumberValue(); },
3597
+ "endAt": n => { customerResponseSlaPoint.endAt = n.getDateValue(); },
3598
+ "label": n => { customerResponseSlaPoint.label = n.getStringValue(); },
3599
+ "pendingLeads": n => { customerResponseSlaPoint.pendingLeads = n.getNumberValue(); },
3600
+ "startAt": n => { customerResponseSlaPoint.startAt = n.getDateValue(); },
3601
+ "timelyLeads": n => { customerResponseSlaPoint.timelyLeads = n.getNumberValue(); },
3602
+ "unrespondedLeads": n => { customerResponseSlaPoint.unrespondedLeads = n.getNumberValue(); },
3603
+ };
3604
+ }
3481
3605
  /**
3482
3606
  * The deserialization information for the current model
3483
3607
  * @param EligibleOutgoingNumberResponse The instance to deserialize into.
@@ -4247,9 +4371,9 @@ export function deserializeIntoMessageMediaAttachment(messageMediaAttachment = {
4247
4371
  return {
4248
4372
  "contentType": n => { messageMediaAttachment.contentType = n.getStringValue(); },
4249
4373
  "fileName": n => { messageMediaAttachment.fileName = n.getStringValue(); },
4250
- "mediaId": n => { messageMediaAttachment.mediaId = n.getStringValue(); },
4251
4374
  "sha256": n => { messageMediaAttachment.sha256 = n.getStringValue(); },
4252
4375
  "size": n => { messageMediaAttachment.size = n.getNumberValue(); },
4376
+ "uploadId": n => { messageMediaAttachment.uploadId = n.getStringValue(); },
4253
4377
  "url": n => { messageMediaAttachment.url = n.getStringValue(); },
4254
4378
  };
4255
4379
  }
@@ -6344,6 +6468,9 @@ export function deserializeIntoSuppressionEntryResponse(suppressionEntryResponse
6344
6468
  "audit": n => { suppressionEntryResponse.audit = n.getCollectionOfObjectValues(createSuppressionEntryAuditFromDiscriminatorValue); },
6345
6469
  "channel": n => { suppressionEntryResponse.channel = n.getStringValue(); },
6346
6470
  "id": n => { suppressionEntryResponse.id = n.getStringValue(); },
6471
+ "leadAvatarUrl": n => { suppressionEntryResponse.leadAvatarUrl = n.getStringValue(); },
6472
+ "leadEmail": n => { suppressionEntryResponse.leadEmail = n.getStringValue(); },
6473
+ "leadName": n => { suppressionEntryResponse.leadName = n.getStringValue(); },
6347
6474
  "normalizedEmail": n => { suppressionEntryResponse.normalizedEmail = n.getStringValue(); },
6348
6475
  "normalizedPhoneNumber": n => { suppressionEntryResponse.normalizedPhoneNumber = n.getStringValue(); },
6349
6476
  "organizationId": n => { suppressionEntryResponse.organizationId = n.getStringValue(); },
@@ -7143,10 +7270,24 @@ export function serializeAutomationActionRunRecord(writer, automationActionRunRe
7143
7270
  writer.writeNumberValue("processingAttempts", automationActionRunRecord.processingAttempts);
7144
7271
  writer.writeDateValue("scheduledAt", automationActionRunRecord.scheduledAt);
7145
7272
  writer.writeStringValue("selectedConnectionId", automationActionRunRecord.selectedConnectionId);
7273
+ writer.writeObjectValue("smsDelivery", automationActionRunRecord.smsDelivery, serializeAutomationActionRunRecord_smsDelivery);
7146
7274
  writer.writeDateValue("startedAt", automationActionRunRecord.startedAt);
7147
7275
  writer.writeStringValue("status", automationActionRunRecord.status);
7148
7276
  writer.writeAdditionalData(automationActionRunRecord.additionalData);
7149
7277
  }
7278
+ /**
7279
+ * Serializes information the current object
7280
+ * @param AutomationActionRunRecord_smsDelivery The instance to serialize from.
7281
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
7282
+ * @param writer Serialization writer to use to serialize this model
7283
+ */
7284
+ // @ts-ignore
7285
+ export function serializeAutomationActionRunRecord_smsDelivery(writer, automationActionRunRecord_smsDelivery = {}, isSerializingDerivedType = false) {
7286
+ if (!automationActionRunRecord_smsDelivery || isSerializingDerivedType) {
7287
+ return;
7288
+ }
7289
+ serializeAutomationSmsDeliveryRecord(writer, automationActionRunRecord_smsDelivery, isSerializingDerivedType);
7290
+ }
7150
7291
  /**
7151
7292
  * Serializes information the current object
7152
7293
  * @param AutomationCondition The instance to serialize from.
@@ -7460,6 +7601,26 @@ export function serializeAutomationRunRecord_conditionResults(writer, automation
7460
7601
  }
7461
7602
  writer.writeAdditionalData(automationRunRecord_conditionResults.additionalData);
7462
7603
  }
7604
+ /**
7605
+ * Serializes information the current object
7606
+ * @param AutomationSmsDeliveryRecord The instance to serialize from.
7607
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
7608
+ * @param writer Serialization writer to use to serialize this model
7609
+ */
7610
+ // @ts-ignore
7611
+ export function serializeAutomationSmsDeliveryRecord(writer, automationSmsDeliveryRecord = {}, isSerializingDerivedType = false) {
7612
+ if (!automationSmsDeliveryRecord || isSerializingDerivedType) {
7613
+ return;
7614
+ }
7615
+ writer.writeStringValue("errorCode", automationSmsDeliveryRecord.errorCode);
7616
+ writer.writeDateValue("nextRetryAt", automationSmsDeliveryRecord.nextRetryAt);
7617
+ writer.writeStringValue("reason", automationSmsDeliveryRecord.reason);
7618
+ writer.writeDateValue("scheduledFor", automationSmsDeliveryRecord.scheduledFor);
7619
+ writer.writeStringValue("smsEventId", automationSmsDeliveryRecord.smsEventId);
7620
+ writer.writeEnumValue("status", automationSmsDeliveryRecord.status);
7621
+ writer.writeStringValue("summary", automationSmsDeliveryRecord.summary);
7622
+ writer.writeAdditionalData(automationSmsDeliveryRecord.additionalData);
7623
+ }
7463
7624
  /**
7464
7625
  * Serializes information the current object
7465
7626
  * @param AutomationTableRow The instance to serialize from.
@@ -7588,6 +7749,7 @@ export function serializeAutomationWorkflowActionResponse(writer, automationWork
7588
7749
  writer.writeStringValue("safeReason", automationWorkflowActionResponse.safeReason);
7589
7750
  writer.writeDateValue("scheduledAt", automationWorkflowActionResponse.scheduledAt);
7590
7751
  writer.writeDateValue("skippedAt", automationWorkflowActionResponse.skippedAt);
7752
+ writer.writeObjectValue("smsDelivery", automationWorkflowActionResponse.smsDelivery, serializeAutomationWorkflowActionResponse_smsDelivery);
7591
7753
  writer.writeDateValue("startedAt", automationWorkflowActionResponse.startedAt);
7592
7754
  writer.writeStringValue("status", automationWorkflowActionResponse.status);
7593
7755
  writer.writeStringValue("statusDisplay", automationWorkflowActionResponse.statusDisplay);
@@ -7597,6 +7759,19 @@ export function serializeAutomationWorkflowActionResponse(writer, automationWork
7597
7759
  writer.writeStringValue("userSummary", automationWorkflowActionResponse.userSummary);
7598
7760
  writer.writeAdditionalData(automationWorkflowActionResponse.additionalData);
7599
7761
  }
7762
+ /**
7763
+ * Serializes information the current object
7764
+ * @param AutomationWorkflowActionResponse_smsDelivery The instance to serialize from.
7765
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
7766
+ * @param writer Serialization writer to use to serialize this model
7767
+ */
7768
+ // @ts-ignore
7769
+ export function serializeAutomationWorkflowActionResponse_smsDelivery(writer, automationWorkflowActionResponse_smsDelivery = {}, isSerializingDerivedType = false) {
7770
+ if (!automationWorkflowActionResponse_smsDelivery || isSerializingDerivedType) {
7771
+ return;
7772
+ }
7773
+ serializeAutomationSmsDeliveryRecord(writer, automationWorkflowActionResponse_smsDelivery, isSerializingDerivedType);
7774
+ }
7600
7775
  /**
7601
7776
  * Serializes information the current object
7602
7777
  * @param AutomationWorkflowEventResponse The instance to serialize from.
@@ -7762,6 +7937,7 @@ export function serializeCallEventTableRow(writer, callEventTableRow = {}, isSer
7762
7937
  writer.writeStringValue("organization", callEventTableRow.organization);
7763
7938
  writer.writeStringValue("organizationId", callEventTableRow.organizationId);
7764
7939
  writer.writeStringValue("organizationName", callEventTableRow.organizationName);
7940
+ writer.writeEnumValue("outboundSource", callEventTableRow.outboundSource);
7765
7941
  writer.writeEnumValue("status", callEventTableRow.status);
7766
7942
  writer.writeStringValue("statusReason", callEventTableRow.statusReason);
7767
7943
  writer.writeStringValue("toPhoneNumber", callEventTableRow.toPhoneNumber);
@@ -8014,12 +8190,22 @@ export function serializeCustomerAnalyticsSummary(writer, customerAnalyticsSumma
8014
8190
  writer.writeNumberValue("callMinutes", customerAnalyticsSummary.callMinutes);
8015
8191
  writer.writeNumberValue("callsPlaced", customerAnalyticsSummary.callsPlaced);
8016
8192
  writer.writeNumberValue("callsReceived", customerAnalyticsSummary.callsReceived);
8193
+ writer.writeNumberValue("humanResponses", customerAnalyticsSummary.humanResponses);
8017
8194
  writer.writeNumberValue("leads", customerAnalyticsSummary.leads);
8018
8195
  writer.writeObjectValue("leadsComparison", customerAnalyticsSummary.leadsComparison, serializeAnalyticsComparison);
8019
8196
  writer.writeNumberValue("medianResponseMinutes", customerAnalyticsSummary.medianResponseMinutes);
8020
8197
  writer.writeNumberValue("missedCalls", customerAnalyticsSummary.missedCalls);
8021
8198
  writer.writeNumberValue("missedLeads", customerAnalyticsSummary.missedLeads);
8199
+ writer.writeDateValue("observedThrough", customerAnalyticsSummary.observedThrough);
8200
+ writer.writeNumberValue("overallFiveMinuteSlaPercent", customerAnalyticsSummary.overallFiveMinuteSlaPercent);
8201
+ writer.writeNumberValue("prospectReplies", customerAnalyticsSummary.prospectReplies);
8022
8202
  writer.writeNumberValue("respondedWithinFiveMinutesPercent", customerAnalyticsSummary.respondedWithinFiveMinutesPercent);
8203
+ writer.writeNumberValue("slaEligibleLeads", customerAnalyticsSummary.slaEligibleLeads);
8204
+ writer.writeNumberValue("slaPendingLeads", customerAnalyticsSummary.slaPendingLeads);
8205
+ writer.writeNumberValue("slaTimelyLeads", customerAnalyticsSummary.slaTimelyLeads);
8206
+ writer.writeNumberValue("slaUnrespondedLeads", customerAnalyticsSummary.slaUnrespondedLeads);
8207
+ writer.writeNumberValue("smsAttempted", customerAnalyticsSummary.smsAttempted);
8208
+ writer.writeNumberValue("smsDelivered", customerAnalyticsSummary.smsDelivered);
8023
8209
  writer.writeNumberValue("smsReceived", customerAnalyticsSummary.smsReceived);
8024
8210
  writer.writeNumberValue("smsSent", customerAnalyticsSummary.smsSent);
8025
8211
  writer.writeNumberValue("unreadMessages", customerAnalyticsSummary.unreadMessages);
@@ -8098,7 +8284,11 @@ export function serializeCustomerCommunicationUsage(writer, customerCommunicatio
8098
8284
  writer.writeNumberValue("callsPlaced", customerCommunicationUsage.callsPlaced);
8099
8285
  writer.writeNumberValue("callsReceived", customerCommunicationUsage.callsReceived);
8100
8286
  writer.writeNumberValue("failedOrBlockedSms", customerCommunicationUsage.failedOrBlockedSms);
8287
+ writer.writeNumberValue("humanResponses", customerCommunicationUsage.humanResponses);
8101
8288
  writer.writeNumberValue("missedCalls", customerCommunicationUsage.missedCalls);
8289
+ writer.writeNumberValue("prospectReplies", customerCommunicationUsage.prospectReplies);
8290
+ writer.writeNumberValue("smsAttempted", customerCommunicationUsage.smsAttempted);
8291
+ writer.writeNumberValue("smsDelivered", customerCommunicationUsage.smsDelivered);
8102
8292
  writer.writeNumberValue("smsReceived", customerCommunicationUsage.smsReceived);
8103
8293
  writer.writeNumberValue("smsSent", customerCommunicationUsage.smsSent);
8104
8294
  writer.writeCollectionOfObjectValues("trend", customerCommunicationUsage.trend, serializeCustomerCommunicationUsagePoint);
@@ -8122,7 +8312,11 @@ export function serializeCustomerCommunicationUsagePoint(writer, customerCommuni
8122
8312
  writer.writeNumberValue("callsPlaced", customerCommunicationUsagePoint.callsPlaced);
8123
8313
  writer.writeNumberValue("callsReceived", customerCommunicationUsagePoint.callsReceived);
8124
8314
  writer.writeDateValue("endAt", customerCommunicationUsagePoint.endAt);
8315
+ writer.writeNumberValue("humanResponses", customerCommunicationUsagePoint.humanResponses);
8125
8316
  writer.writeStringValue("label", customerCommunicationUsagePoint.label);
8317
+ writer.writeNumberValue("prospectReplies", customerCommunicationUsagePoint.prospectReplies);
8318
+ writer.writeNumberValue("smsAttempted", customerCommunicationUsagePoint.smsAttempted);
8319
+ writer.writeNumberValue("smsDelivered", customerCommunicationUsagePoint.smsDelivered);
8126
8320
  writer.writeNumberValue("smsErrors", customerCommunicationUsagePoint.smsErrors);
8127
8321
  writer.writeNumberValue("smsReceived", customerCommunicationUsagePoint.smsReceived);
8128
8322
  writer.writeNumberValue("smsSent", customerCommunicationUsagePoint.smsSent);
@@ -8212,14 +8406,45 @@ export function serializeCustomerResponseMetrics(writer, customerResponseMetrics
8212
8406
  }
8213
8407
  writer.writeNumberValue("averageMinutes", customerResponseMetrics.averageMinutes);
8214
8408
  writer.writeCollectionOfObjectValues("averageMinutesTrend", customerResponseMetrics.averageMinutesTrend, serializeAnalyticsTrendPointOfdecimal);
8409
+ writer.writeDateValue("cohortEndAt", customerResponseMetrics.cohortEndAt);
8410
+ writer.writeDateValue("cohortStartAt", customerResponseMetrics.cohortStartAt);
8215
8411
  writer.writeNumberValue("medianMinutes", customerResponseMetrics.medianMinutes);
8216
8412
  writer.writeNumberValue("missedCalls", customerResponseMetrics.missedCalls);
8413
+ writer.writeDateValue("observedThrough", customerResponseMetrics.observedThrough);
8414
+ writer.writeNumberValue("overallFiveMinuteSlaPercent", customerResponseMetrics.overallFiveMinuteSlaPercent);
8217
8415
  writer.writeNumberValue("respondedLeads", customerResponseMetrics.respondedLeads);
8218
8416
  writer.writeNumberValue("respondedWithinFiveMinutesPercent", customerResponseMetrics.respondedWithinFiveMinutesPercent);
8417
+ writer.writeStringValue("responseDefinition", customerResponseMetrics.responseDefinition);
8418
+ writer.writeNumberValue("slaEligibleLeads", customerResponseMetrics.slaEligibleLeads);
8419
+ writer.writeNumberValue("slaPendingLeads", customerResponseMetrics.slaPendingLeads);
8420
+ writer.writeNumberValue("slaTimelyLeads", customerResponseMetrics.slaTimelyLeads);
8421
+ writer.writeCollectionOfObjectValues("slaTrend", customerResponseMetrics.slaTrend, serializeCustomerResponseSlaPoint);
8422
+ writer.writeNumberValue("slaUnrespondedLeads", customerResponseMetrics.slaUnrespondedLeads);
8219
8423
  writer.writeNumberValue("unreadMessages", customerResponseMetrics.unreadMessages);
8220
8424
  writer.writeNumberValue("unrespondedLeads", customerResponseMetrics.unrespondedLeads);
8221
8425
  writer.writeAdditionalData(customerResponseMetrics.additionalData);
8222
8426
  }
8427
+ /**
8428
+ * Serializes information the current object
8429
+ * @param CustomerResponseSlaPoint The instance to serialize from.
8430
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
8431
+ * @param writer Serialization writer to use to serialize this model
8432
+ */
8433
+ // @ts-ignore
8434
+ export function serializeCustomerResponseSlaPoint(writer, customerResponseSlaPoint = {}, isSerializingDerivedType = false) {
8435
+ if (!customerResponseSlaPoint || isSerializingDerivedType) {
8436
+ return;
8437
+ }
8438
+ writer.writeNumberValue("coveragePercent", customerResponseSlaPoint.coveragePercent);
8439
+ writer.writeNumberValue("eligibleLeads", customerResponseSlaPoint.eligibleLeads);
8440
+ writer.writeDateValue("endAt", customerResponseSlaPoint.endAt);
8441
+ writer.writeStringValue("label", customerResponseSlaPoint.label);
8442
+ writer.writeNumberValue("pendingLeads", customerResponseSlaPoint.pendingLeads);
8443
+ writer.writeDateValue("startAt", customerResponseSlaPoint.startAt);
8444
+ writer.writeNumberValue("timelyLeads", customerResponseSlaPoint.timelyLeads);
8445
+ writer.writeNumberValue("unrespondedLeads", customerResponseSlaPoint.unrespondedLeads);
8446
+ writer.writeAdditionalData(customerResponseSlaPoint.additionalData);
8447
+ }
8223
8448
  /**
8224
8449
  * Serializes information the current object
8225
8450
  * @param EligibleOutgoingNumberResponse The instance to serialize from.
@@ -9100,9 +9325,9 @@ export function serializeMessageMediaAttachment(writer, messageMediaAttachment =
9100
9325
  }
9101
9326
  writer.writeStringValue("contentType", messageMediaAttachment.contentType);
9102
9327
  writer.writeStringValue("fileName", messageMediaAttachment.fileName);
9103
- writer.writeStringValue("mediaId", messageMediaAttachment.mediaId);
9104
9328
  writer.writeStringValue("sha256", messageMediaAttachment.sha256);
9105
9329
  writer.writeNumberValue("size", messageMediaAttachment.size);
9330
+ writer.writeStringValue("uploadId", messageMediaAttachment.uploadId);
9106
9331
  writer.writeStringValue("url", messageMediaAttachment.url);
9107
9332
  writer.writeAdditionalData(messageMediaAttachment.additionalData);
9108
9333
  }
@@ -11544,6 +11769,9 @@ export function serializeSuppressionEntryResponse(writer, suppressionEntryRespon
11544
11769
  writer.writeCollectionOfObjectValues("audit", suppressionEntryResponse.audit, serializeSuppressionEntryAudit);
11545
11770
  writer.writeStringValue("channel", suppressionEntryResponse.channel);
11546
11771
  writer.writeStringValue("id", suppressionEntryResponse.id);
11772
+ writer.writeStringValue("leadAvatarUrl", suppressionEntryResponse.leadAvatarUrl);
11773
+ writer.writeStringValue("leadEmail", suppressionEntryResponse.leadEmail);
11774
+ writer.writeStringValue("leadName", suppressionEntryResponse.leadName);
11547
11775
  writer.writeStringValue("normalizedEmail", suppressionEntryResponse.normalizedEmail);
11548
11776
  writer.writeStringValue("normalizedPhoneNumber", suppressionEntryResponse.normalizedPhoneNumber);
11549
11777
  writer.writeStringValue("organizationId", suppressionEntryResponse.organizationId);
@@ -12311,6 +12539,25 @@ export const ActivationTelephonyStatusObject = {
12311
12539
  Failed: "Failed",
12312
12540
  BlockedRequiresOperatorAction: "BlockedRequiresOperatorAction",
12313
12541
  };
12542
+ /**
12543
+ * Describes the normalized lifecycle of an SMS or MMS message from scheduling through delivery or failure.
12544
+ */
12545
+ export const AutomationSmsDeliveryRecord_statusObject = {
12546
+ Draft: "draft",
12547
+ Scheduled: "scheduled",
12548
+ Queued: "queued",
12549
+ Sending: "sending",
12550
+ Sent: "sent",
12551
+ Received: "received",
12552
+ Delivered: "delivered",
12553
+ Failed: "failed",
12554
+ Undeliverable: "undeliverable",
12555
+ Opted_out: "opted_out",
12556
+ Blocked_compliance: "blocked_compliance",
12557
+ Blocked_billing: "blocked_billing",
12558
+ Blocked_missing_campaign: "blocked_missing_campaign",
12559
+ Canceled: "canceled",
12560
+ };
12314
12561
  /**
12315
12562
  * Identifies the metered unit used to price Leadping usage, such as a message, call minute, lookup, or phone number.
12316
12563
  */
@@ -12340,6 +12587,19 @@ export const BillingPlanObject = {
12340
12587
  Annual: "Annual",
12341
12588
  Monthly: "Monthly",
12342
12589
  };
12590
+ /**
12591
+ * Defines the source that requested outbound delivery.
12592
+ */
12593
+ export const CallEventTableRow_outboundSourceObject = {
12594
+ Manual: "manual",
12595
+ Automation: "automation",
12596
+ Campaign: "campaign",
12597
+ ImportEscaped: "import",
12598
+ Api: "api",
12599
+ System_notification: "system_notification",
12600
+ Warmup: "warmup",
12601
+ Retry: "retry",
12602
+ };
12343
12603
  /**
12344
12604
  * Describes the durable business outcome of a Leadping phone call after provider status normalization.
12345
12605
  */