@leadping/sdk 1.0.76 → 1.0.77

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 (37) hide show
  1. package/dist/conversations/index.d.ts +1 -1
  2. package/dist/conversations/index.d.ts.map +1 -1
  3. package/dist/conversations/index.js +2 -1
  4. package/dist/conversations/index.js.map +1 -1
  5. package/dist/conversations/item/index.d.ts +27 -1
  6. package/dist/conversations/item/index.d.ts.map +1 -1
  7. package/dist/conversations/item/index.js +24 -0
  8. package/dist/conversations/item/index.js.map +1 -1
  9. package/dist/conversations/item/markRead/index.d.ts +14 -6
  10. package/dist/conversations/item/markRead/index.d.ts.map +1 -1
  11. package/dist/conversations/item/markRead/index.js +1 -2
  12. package/dist/conversations/item/markRead/index.js.map +1 -1
  13. package/dist/conversations/item/outboundReadiness/index.d.ts +41 -0
  14. package/dist/conversations/item/outboundReadiness/index.d.ts.map +1 -0
  15. package/dist/conversations/item/outboundReadiness/index.js +29 -0
  16. package/dist/conversations/item/outboundReadiness/index.js.map +1 -0
  17. package/dist/leads/followUps/index.d.ts +43 -0
  18. package/dist/leads/followUps/index.d.ts.map +1 -0
  19. package/dist/leads/followUps/index.js +28 -0
  20. package/dist/leads/followUps/index.js.map +1 -0
  21. package/dist/leads/index.d.ts +5 -0
  22. package/dist/leads/index.d.ts.map +1 -1
  23. package/dist/leads/index.js +5 -0
  24. package/dist/leads/index.js.map +1 -1
  25. package/dist/leads/item/followUp/index.d.ts +33 -0
  26. package/dist/leads/item/followUp/index.d.ts.map +1 -0
  27. package/dist/leads/item/followUp/index.js +31 -0
  28. package/dist/leads/item/followUp/index.js.map +1 -0
  29. package/dist/leads/item/index.d.ts +5 -0
  30. package/dist/leads/item/index.d.ts.map +1 -1
  31. package/dist/leads/item/index.js +5 -0
  32. package/dist/leads/item/index.js.map +1 -1
  33. package/dist/models/index.d.ts +133 -1
  34. package/dist/models/index.d.ts.map +1 -1
  35. package/dist/models/index.js +106 -0
  36. package/dist/models/index.js.map +1 -1
  37. package/package.json +1 -1
@@ -39,6 +39,15 @@ export function createActivationTimelineEventFromDiscriminatorValue(parseNode) {
39
39
  export function createAnalyticsComparisonFromDiscriminatorValue(parseNode) {
40
40
  return deserializeIntoAnalyticsComparison;
41
41
  }
42
+ /**
43
+ * Creates a new instance of the appropriate class based on discriminator value
44
+ * @param parseNode The parse node to use to read the discriminator value and create the object
45
+ * @returns {AnalyticsCoverage}
46
+ */
47
+ // @ts-ignore
48
+ export function createAnalyticsCoverageFromDiscriminatorValue(parseNode) {
49
+ return deserializeIntoAnalyticsCoverage;
50
+ }
42
51
  /**
43
52
  * Creates a new instance of the appropriate class based on discriminator value
44
53
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -804,6 +813,15 @@ export function createLeadContact_streetAddressFromDiscriminatorValue(parseNode)
804
813
  export function createLeadContactFromDiscriminatorValue(parseNode) {
805
814
  return deserializeIntoLeadContact;
806
815
  }
816
+ /**
817
+ * Creates a new instance of the appropriate class based on discriminator value
818
+ * @param parseNode The parse node to use to read the discriminator value and create the object
819
+ * @returns {LeadFollowUpUpdateRequest}
820
+ */
821
+ // @ts-ignore
822
+ export function createLeadFollowUpUpdateRequestFromDiscriminatorValue(parseNode) {
823
+ return deserializeIntoLeadFollowUpUpdateRequest;
824
+ }
807
825
  /**
808
826
  * Creates a new instance of the appropriate class based on discriminator value
809
827
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -2556,6 +2574,19 @@ export function deserializeIntoAnalyticsComparison(analyticsComparison = {}) {
2556
2574
  "previous": n => { analyticsComparison.previous = n.getNumberValue(); },
2557
2575
  };
2558
2576
  }
2577
+ /**
2578
+ * The deserialization information for the current model
2579
+ * @param AnalyticsCoverage The instance to deserialize into.
2580
+ * @returns {Record<string, (node: ParseNode) => void>}
2581
+ */
2582
+ // @ts-ignore
2583
+ export function deserializeIntoAnalyticsCoverage(analyticsCoverage = {}) {
2584
+ return {
2585
+ "completeFrom": n => { analyticsCoverage.completeFrom = n.getDateValue(); },
2586
+ "detail": n => { analyticsCoverage.detail = n.getStringValue(); },
2587
+ "isPartial": n => { analyticsCoverage.isPartial = n.getBooleanValue(); },
2588
+ };
2589
+ }
2559
2590
  /**
2560
2591
  * The deserialization information for the current model
2561
2592
  * @param AnalyticsDateRange The instance to deserialize into.
@@ -3342,6 +3373,7 @@ export function deserializeIntoConversationResponse(conversationResponse = {}) {
3342
3373
  "avatarUrl": n => { conversationResponse.avatarUrl = n.getStringValue(); },
3343
3374
  "currentLeadStatus": n => { conversationResponse.currentLeadStatus = n.getObjectValue(createConversationResponse_currentLeadStatusFromDiscriminatorValue); },
3344
3375
  "email": n => { conversationResponse.email = n.getStringValue(); },
3376
+ "eventVersion": n => { conversationResponse.eventVersion = n.getNumberValue(); },
3345
3377
  "firstName": n => { conversationResponse.firstName = n.getStringValue(); },
3346
3378
  "id": n => { conversationResponse.id = n.getStringValue(); },
3347
3379
  "isArchived": n => { conversationResponse.isArchived = n.getBooleanValue(); },
@@ -3418,8 +3450,11 @@ export function deserializeIntoCurrentLeadStatusSummary(currentLeadStatusSummary
3418
3450
  "changedByAutomationId": n => { currentLeadStatusSummary.changedByAutomationId = n.getStringValue(); },
3419
3451
  "changedByUserId": n => { currentLeadStatusSummary.changedByUserId = n.getStringValue(); },
3420
3452
  "displayName": n => { currentLeadStatusSummary.displayName = n.getStringValue(); },
3453
+ "followUpCompletedAt": n => { currentLeadStatusSummary.followUpCompletedAt = n.getDateValue(); },
3454
+ "followUpDueAt": n => { currentLeadStatusSummary.followUpDueAt = n.getDateValue(); },
3421
3455
  "id": n => { currentLeadStatusSummary.id = n.getStringValue(); },
3422
3456
  "outcome": n => { currentLeadStatusSummary.outcome = n.getStringValue(); },
3457
+ "revision": n => { currentLeadStatusSummary.revision = n.getNumberValue(); },
3423
3458
  "source": n => { currentLeadStatusSummary.source = n.getEnumValue(CurrentLeadStatusSummary_sourceObject); },
3424
3459
  };
3425
3460
  }
@@ -3516,6 +3551,7 @@ export function deserializeIntoCustomerAnalyticsSummary(customerAnalyticsSummary
3516
3551
  export function deserializeIntoCustomerAutomationHealth(customerAutomationHealth = {}) {
3517
3552
  return {
3518
3553
  "automationCount": n => { customerAutomationHealth.automationCount = n.getNumberValue(); },
3554
+ "coverage": n => { customerAutomationHealth.coverage = n.getObjectValue(createAnalyticsCoverageFromDiscriminatorValue); },
3519
3555
  "enabledCount": n => { customerAutomationHealth.enabledCount = n.getNumberValue(); },
3520
3556
  "executions": n => { customerAutomationHealth.executions = n.getNumberValue(); },
3521
3557
  "failingAutomations": n => { customerAutomationHealth.failingAutomations = n.getCollectionOfObjectValues(createCustomerFailingAutomationFromDiscriminatorValue); },
@@ -3840,6 +3876,7 @@ export function deserializeIntoEventTableRow(eventTableRow = {}) {
3840
3876
  "toPhoneNumber": n => { eventTableRow.toPhoneNumber = n.getStringValue(); },
3841
3877
  "trafficType": n => { eventTableRow.trafficType = n.getEnumValue(EventTableRow_trafficTypeObject); },
3842
3878
  "undeliverableAt": n => { eventTableRow.undeliverableAt = n.getDateValue(); },
3879
+ "voicemailUrl": n => { eventTableRow.voicemailUrl = n.getStringValue(); },
3843
3880
  "wasManuallyOverridden": n => { eventTableRow.wasManuallyOverridden = n.getBooleanValue(); },
3844
3881
  };
3845
3882
  }
@@ -4021,6 +4058,19 @@ export function deserializeIntoLeadContact_streetAddress(leadContact_streetAddre
4021
4058
  ...deserializeIntoStreetAddress(leadContact_streetAddress),
4022
4059
  };
4023
4060
  }
4061
+ /**
4062
+ * The deserialization information for the current model
4063
+ * @param LeadFollowUpUpdateRequest The instance to deserialize into.
4064
+ * @returns {Record<string, (node: ParseNode) => void>}
4065
+ */
4066
+ // @ts-ignore
4067
+ export function deserializeIntoLeadFollowUpUpdateRequest(leadFollowUpUpdateRequest = {}) {
4068
+ return {
4069
+ "dueAt": n => { leadFollowUpUpdateRequest.dueAt = n.getDateValue(); },
4070
+ "expectedRevision": n => { leadFollowUpUpdateRequest.expectedRevision = n.getNumberValue(); },
4071
+ "expectedStatusId": n => { leadFollowUpUpdateRequest.expectedStatusId = n.getStringValue(); },
4072
+ };
4073
+ }
4024
4074
  /**
4025
4075
  * The deserialization information for the current model
4026
4076
  * @param LeadIntakeRequest The instance to deserialize into.
@@ -4313,6 +4363,9 @@ export function deserializeIntoLeadStatusChangeRequest(leadStatusChangeRequest =
4313
4363
  "appointmentStartAt": n => { leadStatusChangeRequest.appointmentStartAt = n.getDateValue(); },
4314
4364
  "callbackAt": n => { leadStatusChangeRequest.callbackAt = n.getDateValue(); },
4315
4365
  "category": n => { leadStatusChangeRequest.category = n.getEnumValue(LeadStatusChangeRequest_categoryObject); },
4366
+ "completeFollowUp": n => { leadStatusChangeRequest.completeFollowUp = n.getBooleanValue(); },
4367
+ "expectedCurrentStatusId": n => { leadStatusChangeRequest.expectedCurrentStatusId = n.getStringValue(); },
4368
+ "expectedRevision": n => { leadStatusChangeRequest.expectedRevision = n.getNumberValue(); },
4316
4369
  "followUpStatus": n => { leadStatusChangeRequest.followUpStatus = n.getStringValue(); },
4317
4370
  "notes": n => { leadStatusChangeRequest.notes = n.getStringValue(); },
4318
4371
  "outcome": n => { leadStatusChangeRequest.outcome = n.getStringValue(); },
@@ -4340,6 +4393,7 @@ export function deserializeIntoLeadStatusChangeResponse(leadStatusChangeResponse
4340
4393
  "changedByUserId": n => { leadStatusChangeResponse.changedByUserId = n.getStringValue(); },
4341
4394
  "changeSource": n => { leadStatusChangeResponse.changeSource = n.getEnumValue(LeadStatusChangeResponse_changeSourceObject); },
4342
4395
  "createdAt": n => { leadStatusChangeResponse.createdAt = n.getDateValue(); },
4396
+ "followUpCompletedAt": n => { leadStatusChangeResponse.followUpCompletedAt = n.getDateValue(); },
4343
4397
  "followUpStatus": n => { leadStatusChangeResponse.followUpStatus = n.getStringValue(); },
4344
4398
  "id": n => { leadStatusChangeResponse.id = n.getStringValue(); },
4345
4399
  "isDemo": n => { leadStatusChangeResponse.isDemo = n.getBooleanValue(); },
@@ -4356,6 +4410,7 @@ export function deserializeIntoLeadStatusChangeResponse(leadStatusChangeResponse
4356
4410
  "outcome": n => { leadStatusChangeResponse.outcome = n.getStringValue(); },
4357
4411
  "reason": n => { leadStatusChangeResponse.reason = n.getStringValue(); },
4358
4412
  "relatedCallEventId": n => { leadStatusChangeResponse.relatedCallEventId = n.getStringValue(); },
4413
+ "revision": n => { leadStatusChangeResponse.revision = n.getNumberValue(); },
4359
4414
  "sourceId": n => { leadStatusChangeResponse.sourceId = n.getStringValue(); },
4360
4415
  "taskDueAt": n => { leadStatusChangeResponse.taskDueAt = n.getDateValue(); },
4361
4416
  "timestamp": n => { leadStatusChangeResponse.timestamp = n.getDateValue(); },
@@ -4528,14 +4583,17 @@ export function deserializeIntoNotificationResponse(notificationResponse = {}) {
4528
4583
  return {
4529
4584
  "actionButtonText": n => { notificationResponse.actionButtonText = n.getStringValue(); },
4530
4585
  "actionUrl": n => { notificationResponse.actionUrl = n.getStringValue(); },
4586
+ "conversationId": n => { notificationResponse.conversationId = n.getStringValue(); },
4531
4587
  "createdAt": n => { notificationResponse.createdAt = n.getDateValue(); },
4532
4588
  "details": n => { notificationResponse.details = n.getStringValue(); },
4533
4589
  "id": n => { notificationResponse.id = n.getStringValue(); },
4534
4590
  "isDemo": n => { notificationResponse.isDemo = n.getBooleanValue(); },
4535
4591
  "isRead": n => { notificationResponse.isRead = n.getBooleanValue(); },
4592
+ "leadId": n => { notificationResponse.leadId = n.getStringValue(); },
4536
4593
  "message": n => { notificationResponse.message = n.getStringValue(); },
4537
4594
  "modifiedAt": n => { notificationResponse.modifiedAt = n.getDateValue(); },
4538
4595
  "name": n => { notificationResponse.name = n.getStringValue(); },
4596
+ "organizationId": n => { notificationResponse.organizationId = n.getStringValue(); },
4539
4597
  "priority": n => { notificationResponse.priority = n.getEnumValue(NotificationPriorityObject); },
4540
4598
  "pushEnabled": n => { notificationResponse.pushEnabled = n.getBooleanValue(); },
4541
4599
  "readAt": n => { notificationResponse.readAt = n.getDateValue(); },
@@ -5492,6 +5550,7 @@ export function deserializeIntoPhoneCallResponse(phoneCallResponse = {}) {
5492
5550
  "isDemo": n => { phoneCallResponse.isDemo = n.getBooleanValue(); },
5493
5551
  "leadId": n => { phoneCallResponse.leadId = n.getStringValue(); },
5494
5552
  "modifiedAt": n => { phoneCallResponse.modifiedAt = n.getDateValue(); },
5553
+ "organizationId": n => { phoneCallResponse.organizationId = n.getStringValue(); },
5495
5554
  "phoneNumber": n => { phoneCallResponse.phoneNumber = n.getStringValue(); },
5496
5555
  "queuedAt": n => { phoneCallResponse.queuedAt = n.getDateValue(); },
5497
5556
  "ringingAt": n => { phoneCallResponse.ringingAt = n.getDateValue(); },
@@ -7327,6 +7386,22 @@ export function serializeAnalyticsComparison(writer, analyticsComparison = {}, i
7327
7386
  writer.writeNumberValue("previous", analyticsComparison.previous);
7328
7387
  writer.writeAdditionalData(analyticsComparison.additionalData);
7329
7388
  }
7389
+ /**
7390
+ * Serializes information the current object
7391
+ * @param AnalyticsCoverage The instance to serialize from.
7392
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
7393
+ * @param writer Serialization writer to use to serialize this model
7394
+ */
7395
+ // @ts-ignore
7396
+ export function serializeAnalyticsCoverage(writer, analyticsCoverage = {}, isSerializingDerivedType = false) {
7397
+ if (!analyticsCoverage || isSerializingDerivedType) {
7398
+ return;
7399
+ }
7400
+ writer.writeDateValue("completeFrom", analyticsCoverage.completeFrom);
7401
+ writer.writeStringValue("detail", analyticsCoverage.detail);
7402
+ writer.writeBooleanValue("isPartial", analyticsCoverage.isPartial);
7403
+ writer.writeAdditionalData(analyticsCoverage.additionalData);
7404
+ }
7330
7405
  /**
7331
7406
  * Serializes information the current object
7332
7407
  * @param AnalyticsDateRange The instance to serialize from.
@@ -8252,6 +8327,7 @@ export function serializeConversationResponse(writer, conversationResponse = {},
8252
8327
  writer.writeStringValue("avatarUrl", conversationResponse.avatarUrl);
8253
8328
  writer.writeObjectValue("currentLeadStatus", conversationResponse.currentLeadStatus, serializeConversationResponse_currentLeadStatus);
8254
8329
  writer.writeStringValue("email", conversationResponse.email);
8330
+ writer.writeNumberValue("eventVersion", conversationResponse.eventVersion);
8255
8331
  writer.writeStringValue("firstName", conversationResponse.firstName);
8256
8332
  writer.writeStringValue("id", conversationResponse.id);
8257
8333
  writer.writeBooleanValue("isArchived", conversationResponse.isArchived);
@@ -8341,8 +8417,11 @@ export function serializeCurrentLeadStatusSummary(writer, currentLeadStatusSumma
8341
8417
  writer.writeStringValue("changedByAutomationId", currentLeadStatusSummary.changedByAutomationId);
8342
8418
  writer.writeStringValue("changedByUserId", currentLeadStatusSummary.changedByUserId);
8343
8419
  writer.writeStringValue("displayName", currentLeadStatusSummary.displayName);
8420
+ writer.writeDateValue("followUpCompletedAt", currentLeadStatusSummary.followUpCompletedAt);
8421
+ writer.writeDateValue("followUpDueAt", currentLeadStatusSummary.followUpDueAt);
8344
8422
  writer.writeStringValue("id", currentLeadStatusSummary.id);
8345
8423
  writer.writeStringValue("outcome", currentLeadStatusSummary.outcome);
8424
+ writer.writeNumberValue("revision", currentLeadStatusSummary.revision);
8346
8425
  writer.writeEnumValue("source", currentLeadStatusSummary.source);
8347
8426
  writer.writeAdditionalData(currentLeadStatusSummary.additionalData);
8348
8427
  }
@@ -8454,6 +8533,7 @@ export function serializeCustomerAutomationHealth(writer, customerAutomationHeal
8454
8533
  return;
8455
8534
  }
8456
8535
  writer.writeNumberValue("automationCount", customerAutomationHealth.automationCount);
8536
+ writer.writeObjectValue("coverage", customerAutomationHealth.coverage, serializeAnalyticsCoverage);
8457
8537
  writer.writeNumberValue("enabledCount", customerAutomationHealth.enabledCount);
8458
8538
  writer.writeNumberValue("executions", customerAutomationHealth.executions);
8459
8539
  writer.writeCollectionOfObjectValues("failingAutomations", customerAutomationHealth.failingAutomations, serializeCustomerFailingAutomation);
@@ -8818,6 +8898,7 @@ export function serializeEventTableRow(writer, eventTableRow = {}, isSerializing
8818
8898
  writer.writeStringValue("toPhoneNumber", eventTableRow.toPhoneNumber);
8819
8899
  writer.writeEnumValue("trafficType", eventTableRow.trafficType);
8820
8900
  writer.writeDateValue("undeliverableAt", eventTableRow.undeliverableAt);
8901
+ writer.writeStringValue("voicemailUrl", eventTableRow.voicemailUrl);
8821
8902
  writer.writeBooleanValue("wasManuallyOverridden", eventTableRow.wasManuallyOverridden);
8822
8903
  writer.writeAdditionalData(eventTableRow.additionalData);
8823
8904
  }
@@ -9035,6 +9116,22 @@ export function serializeLeadContact_streetAddress(writer, leadContact_streetAdd
9035
9116
  }
9036
9117
  serializeStreetAddress(writer, leadContact_streetAddress, isSerializingDerivedType);
9037
9118
  }
9119
+ /**
9120
+ * Serializes information the current object
9121
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
9122
+ * @param LeadFollowUpUpdateRequest The instance to serialize from.
9123
+ * @param writer Serialization writer to use to serialize this model
9124
+ */
9125
+ // @ts-ignore
9126
+ export function serializeLeadFollowUpUpdateRequest(writer, leadFollowUpUpdateRequest = {}, isSerializingDerivedType = false) {
9127
+ if (!leadFollowUpUpdateRequest || isSerializingDerivedType) {
9128
+ return;
9129
+ }
9130
+ writer.writeDateValue("dueAt", leadFollowUpUpdateRequest.dueAt);
9131
+ writer.writeNumberValue("expectedRevision", leadFollowUpUpdateRequest.expectedRevision);
9132
+ writer.writeStringValue("expectedStatusId", leadFollowUpUpdateRequest.expectedStatusId);
9133
+ writer.writeAdditionalData(leadFollowUpUpdateRequest.additionalData);
9134
+ }
9038
9135
  /**
9039
9136
  * Serializes information the current object
9040
9137
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -9368,6 +9465,9 @@ export function serializeLeadStatusChangeRequest(writer, leadStatusChangeRequest
9368
9465
  writer.writeDateValue("appointmentStartAt", leadStatusChangeRequest.appointmentStartAt);
9369
9466
  writer.writeDateValue("callbackAt", leadStatusChangeRequest.callbackAt);
9370
9467
  writer.writeEnumValue("category", leadStatusChangeRequest.category);
9468
+ writer.writeBooleanValue("completeFollowUp", leadStatusChangeRequest.completeFollowUp);
9469
+ writer.writeStringValue("expectedCurrentStatusId", leadStatusChangeRequest.expectedCurrentStatusId);
9470
+ writer.writeNumberValue("expectedRevision", leadStatusChangeRequest.expectedRevision);
9371
9471
  writer.writeStringValue("followUpStatus", leadStatusChangeRequest.followUpStatus);
9372
9472
  writer.writeStringValue("notes", leadStatusChangeRequest.notes);
9373
9473
  writer.writeStringValue("outcome", leadStatusChangeRequest.outcome);
@@ -9398,6 +9498,7 @@ export function serializeLeadStatusChangeResponse(writer, leadStatusChangeRespon
9398
9498
  writer.writeStringValue("changedByUserId", leadStatusChangeResponse.changedByUserId);
9399
9499
  writer.writeEnumValue("changeSource", leadStatusChangeResponse.changeSource);
9400
9500
  writer.writeDateValue("createdAt", leadStatusChangeResponse.createdAt);
9501
+ writer.writeDateValue("followUpCompletedAt", leadStatusChangeResponse.followUpCompletedAt);
9401
9502
  writer.writeStringValue("followUpStatus", leadStatusChangeResponse.followUpStatus);
9402
9503
  writer.writeStringValue("id", leadStatusChangeResponse.id);
9403
9504
  writer.writeBooleanValue("isDemo", leadStatusChangeResponse.isDemo);
@@ -9414,6 +9515,7 @@ export function serializeLeadStatusChangeResponse(writer, leadStatusChangeRespon
9414
9515
  writer.writeStringValue("outcome", leadStatusChangeResponse.outcome);
9415
9516
  writer.writeStringValue("reason", leadStatusChangeResponse.reason);
9416
9517
  writer.writeStringValue("relatedCallEventId", leadStatusChangeResponse.relatedCallEventId);
9518
+ writer.writeNumberValue("revision", leadStatusChangeResponse.revision);
9417
9519
  writer.writeStringValue("sourceId", leadStatusChangeResponse.sourceId);
9418
9520
  writer.writeDateValue("taskDueAt", leadStatusChangeResponse.taskDueAt);
9419
9521
  writer.writeDateValue("timestamp", leadStatusChangeResponse.timestamp);
@@ -9615,14 +9717,17 @@ export function serializeNotificationResponse(writer, notificationResponse = {},
9615
9717
  }
9616
9718
  writer.writeStringValue("actionButtonText", notificationResponse.actionButtonText);
9617
9719
  writer.writeStringValue("actionUrl", notificationResponse.actionUrl);
9720
+ writer.writeStringValue("conversationId", notificationResponse.conversationId);
9618
9721
  writer.writeDateValue("createdAt", notificationResponse.createdAt);
9619
9722
  writer.writeStringValue("details", notificationResponse.details);
9620
9723
  writer.writeStringValue("id", notificationResponse.id);
9621
9724
  writer.writeBooleanValue("isDemo", notificationResponse.isDemo);
9622
9725
  writer.writeBooleanValue("isRead", notificationResponse.isRead);
9726
+ writer.writeStringValue("leadId", notificationResponse.leadId);
9623
9727
  writer.writeStringValue("message", notificationResponse.message);
9624
9728
  writer.writeDateValue("modifiedAt", notificationResponse.modifiedAt);
9625
9729
  writer.writeStringValue("name", notificationResponse.name);
9730
+ writer.writeStringValue("organizationId", notificationResponse.organizationId);
9626
9731
  writer.writeEnumValue("priority", notificationResponse.priority);
9627
9732
  writer.writeBooleanValue("pushEnabled", notificationResponse.pushEnabled);
9628
9733
  writer.writeDateValue("readAt", notificationResponse.readAt);
@@ -10732,6 +10837,7 @@ export function serializePhoneCallResponse(writer, phoneCallResponse = {}, isSer
10732
10837
  writer.writeBooleanValue("isDemo", phoneCallResponse.isDemo);
10733
10838
  writer.writeStringValue("leadId", phoneCallResponse.leadId);
10734
10839
  writer.writeDateValue("modifiedAt", phoneCallResponse.modifiedAt);
10840
+ writer.writeStringValue("organizationId", phoneCallResponse.organizationId);
10735
10841
  writer.writeStringValue("phoneNumber", phoneCallResponse.phoneNumber);
10736
10842
  writer.writeDateValue("queuedAt", phoneCallResponse.queuedAt);
10737
10843
  writer.writeDateValue("ringingAt", phoneCallResponse.ringingAt);