@leadping/sdk 1.0.76 → 1.0.78
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.
- package/dist/conversations/index.d.ts +1 -1
- package/dist/conversations/index.d.ts.map +1 -1
- package/dist/conversations/index.js +2 -1
- package/dist/conversations/index.js.map +1 -1
- package/dist/conversations/item/index.d.ts +32 -1
- package/dist/conversations/item/index.d.ts.map +1 -1
- package/dist/conversations/item/index.js +29 -0
- package/dist/conversations/item/index.js.map +1 -1
- package/dist/conversations/item/markHandled/index.d.ts +39 -0
- package/dist/conversations/item/markHandled/index.d.ts.map +1 -0
- package/dist/{notifications/push/installations/item → conversations/item/markHandled}/index.js +6 -5
- package/dist/conversations/item/markHandled/index.js.map +1 -0
- package/dist/conversations/item/markRead/index.d.ts +14 -6
- package/dist/conversations/item/markRead/index.d.ts.map +1 -1
- package/dist/conversations/item/markRead/index.js +1 -2
- package/dist/conversations/item/markRead/index.js.map +1 -1
- package/dist/conversations/item/outboundReadiness/index.d.ts +41 -0
- package/dist/conversations/item/outboundReadiness/index.d.ts.map +1 -0
- package/dist/conversations/item/outboundReadiness/index.js +29 -0
- package/dist/conversations/item/outboundReadiness/index.js.map +1 -0
- package/dist/leads/followUps/index.d.ts +43 -0
- package/dist/leads/followUps/index.d.ts.map +1 -0
- package/dist/leads/followUps/index.js +28 -0
- package/dist/leads/followUps/index.js.map +1 -0
- package/dist/leads/index.d.ts +5 -0
- package/dist/leads/index.d.ts.map +1 -1
- package/dist/leads/index.js +5 -0
- package/dist/leads/index.js.map +1 -1
- package/dist/leads/item/followUp/index.d.ts +33 -0
- package/dist/leads/item/followUp/index.d.ts.map +1 -0
- package/dist/leads/item/followUp/index.js +31 -0
- package/dist/leads/item/followUp/index.js.map +1 -0
- package/dist/leads/item/index.d.ts +5 -0
- package/dist/leads/item/index.d.ts.map +1 -1
- package/dist/leads/item/index.js +5 -0
- package/dist/leads/item/index.js.map +1 -1
- package/dist/models/index.d.ts +149 -93
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +114 -85
- package/dist/models/index.js.map +1 -1
- package/dist/notifications/index.d.ts +0 -5
- package/dist/notifications/index.d.ts.map +1 -1
- package/dist/notifications/index.js +0 -5
- package/dist/notifications/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/notifications/push/index.d.ts +0 -20
- package/dist/notifications/push/index.d.ts.map +0 -1
- package/dist/notifications/push/index.js +0 -20
- package/dist/notifications/push/index.js.map +0 -1
- package/dist/notifications/push/installations/current/index.d.ts +0 -33
- package/dist/notifications/push/installations/current/index.d.ts.map +0 -1
- package/dist/notifications/push/installations/current/index.js +0 -31
- package/dist/notifications/push/installations/current/index.js.map +0 -1
- package/dist/notifications/push/installations/index.d.ts +0 -27
- package/dist/notifications/push/installations/index.d.ts.map +0 -1
- package/dist/notifications/push/installations/index.js +0 -26
- package/dist/notifications/push/installations/index.js.map +0 -1
- package/dist/notifications/push/installations/item/index.d.ts +0 -29
- package/dist/notifications/push/installations/item/index.d.ts.map +0 -1
- package/dist/notifications/push/installations/item/index.js.map +0 -1
package/dist/models/index.js
CHANGED
|
@@ -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
|
|
@@ -1911,24 +1929,6 @@ export function createProblemDetails_errorsFromDiscriminatorValue(parseNode) {
|
|
|
1911
1929
|
export function createProblemDetailsFromDiscriminatorValue(parseNode) {
|
|
1912
1930
|
return deserializeIntoProblemDetails;
|
|
1913
1931
|
}
|
|
1914
|
-
/**
|
|
1915
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
1916
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
1917
|
-
* @returns {PushInstallationRequest_metadata}
|
|
1918
|
-
*/
|
|
1919
|
-
// @ts-ignore
|
|
1920
|
-
export function createPushInstallationRequest_metadataFromDiscriminatorValue(parseNode) {
|
|
1921
|
-
return deserializeIntoPushInstallationRequest_metadata;
|
|
1922
|
-
}
|
|
1923
|
-
/**
|
|
1924
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
1925
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
1926
|
-
* @returns {PushInstallationRequest}
|
|
1927
|
-
*/
|
|
1928
|
-
// @ts-ignore
|
|
1929
|
-
export function createPushInstallationRequestFromDiscriminatorValue(parseNode) {
|
|
1930
|
-
return deserializeIntoPushInstallationRequest;
|
|
1931
|
-
}
|
|
1932
1932
|
/**
|
|
1933
1933
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
1934
1934
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -2556,6 +2556,19 @@ export function deserializeIntoAnalyticsComparison(analyticsComparison = {}) {
|
|
|
2556
2556
|
"previous": n => { analyticsComparison.previous = n.getNumberValue(); },
|
|
2557
2557
|
};
|
|
2558
2558
|
}
|
|
2559
|
+
/**
|
|
2560
|
+
* The deserialization information for the current model
|
|
2561
|
+
* @param AnalyticsCoverage The instance to deserialize into.
|
|
2562
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
2563
|
+
*/
|
|
2564
|
+
// @ts-ignore
|
|
2565
|
+
export function deserializeIntoAnalyticsCoverage(analyticsCoverage = {}) {
|
|
2566
|
+
return {
|
|
2567
|
+
"completeFrom": n => { analyticsCoverage.completeFrom = n.getDateValue(); },
|
|
2568
|
+
"detail": n => { analyticsCoverage.detail = n.getStringValue(); },
|
|
2569
|
+
"isPartial": n => { analyticsCoverage.isPartial = n.getBooleanValue(); },
|
|
2570
|
+
};
|
|
2571
|
+
}
|
|
2559
2572
|
/**
|
|
2560
2573
|
* The deserialization information for the current model
|
|
2561
2574
|
* @param AnalyticsDateRange The instance to deserialize into.
|
|
@@ -3342,6 +3355,7 @@ export function deserializeIntoConversationResponse(conversationResponse = {}) {
|
|
|
3342
3355
|
"avatarUrl": n => { conversationResponse.avatarUrl = n.getStringValue(); },
|
|
3343
3356
|
"currentLeadStatus": n => { conversationResponse.currentLeadStatus = n.getObjectValue(createConversationResponse_currentLeadStatusFromDiscriminatorValue); },
|
|
3344
3357
|
"email": n => { conversationResponse.email = n.getStringValue(); },
|
|
3358
|
+
"eventVersion": n => { conversationResponse.eventVersion = n.getNumberValue(); },
|
|
3345
3359
|
"firstName": n => { conversationResponse.firstName = n.getStringValue(); },
|
|
3346
3360
|
"id": n => { conversationResponse.id = n.getStringValue(); },
|
|
3347
3361
|
"isArchived": n => { conversationResponse.isArchived = n.getBooleanValue(); },
|
|
@@ -3349,13 +3363,17 @@ export function deserializeIntoConversationResponse(conversationResponse = {}) {
|
|
|
3349
3363
|
"isUnread": n => { conversationResponse.isUnread = n.getBooleanValue(); },
|
|
3350
3364
|
"lastEventAt": n => { conversationResponse.lastEventAt = n.getDateValue(); },
|
|
3351
3365
|
"lastEventIsInternalNote": n => { conversationResponse.lastEventIsInternalNote = n.getBooleanValue(); },
|
|
3366
|
+
"lastInboundAt": n => { conversationResponse.lastInboundAt = n.getDateValue(); },
|
|
3367
|
+
"lastInboundSnippet": n => { conversationResponse.lastInboundSnippet = n.getStringValue(); },
|
|
3352
3368
|
"lastName": n => { conversationResponse.lastName = n.getStringValue(); },
|
|
3353
3369
|
"lastSnippet": n => { conversationResponse.lastSnippet = n.getStringValue(); },
|
|
3354
3370
|
"leadId": n => { conversationResponse.leadId = n.getStringValue(); },
|
|
3355
3371
|
"leadPhoneNumber": n => { conversationResponse.leadPhoneNumber = n.getStringValue(); },
|
|
3372
|
+
"needsReply": n => { conversationResponse.needsReply = n.getBooleanValue(); },
|
|
3356
3373
|
"nextStep": n => { conversationResponse.nextStep = n.getStringValue(); },
|
|
3357
3374
|
"outboundPhoneNumberOverrideId": n => { conversationResponse.outboundPhoneNumberOverrideId = n.getStringValue(); },
|
|
3358
3375
|
"phoneNumber": n => { conversationResponse.phoneNumber = n.getObjectValue(createConversationResponse_phoneNumberFromDiscriminatorValue); },
|
|
3376
|
+
"replyVersion": n => { conversationResponse.replyVersion = n.getNumberValue(); },
|
|
3359
3377
|
"status": n => { conversationResponse.status = n.getEnumValue(ConversationResponse_statusObject); },
|
|
3360
3378
|
"statusReason": n => { conversationResponse.statusReason = n.getStringValue(); },
|
|
3361
3379
|
};
|
|
@@ -3418,8 +3436,11 @@ export function deserializeIntoCurrentLeadStatusSummary(currentLeadStatusSummary
|
|
|
3418
3436
|
"changedByAutomationId": n => { currentLeadStatusSummary.changedByAutomationId = n.getStringValue(); },
|
|
3419
3437
|
"changedByUserId": n => { currentLeadStatusSummary.changedByUserId = n.getStringValue(); },
|
|
3420
3438
|
"displayName": n => { currentLeadStatusSummary.displayName = n.getStringValue(); },
|
|
3439
|
+
"followUpCompletedAt": n => { currentLeadStatusSummary.followUpCompletedAt = n.getDateValue(); },
|
|
3440
|
+
"followUpDueAt": n => { currentLeadStatusSummary.followUpDueAt = n.getDateValue(); },
|
|
3421
3441
|
"id": n => { currentLeadStatusSummary.id = n.getStringValue(); },
|
|
3422
3442
|
"outcome": n => { currentLeadStatusSummary.outcome = n.getStringValue(); },
|
|
3443
|
+
"revision": n => { currentLeadStatusSummary.revision = n.getNumberValue(); },
|
|
3423
3444
|
"source": n => { currentLeadStatusSummary.source = n.getEnumValue(CurrentLeadStatusSummary_sourceObject); },
|
|
3424
3445
|
};
|
|
3425
3446
|
}
|
|
@@ -3516,6 +3537,7 @@ export function deserializeIntoCustomerAnalyticsSummary(customerAnalyticsSummary
|
|
|
3516
3537
|
export function deserializeIntoCustomerAutomationHealth(customerAutomationHealth = {}) {
|
|
3517
3538
|
return {
|
|
3518
3539
|
"automationCount": n => { customerAutomationHealth.automationCount = n.getNumberValue(); },
|
|
3540
|
+
"coverage": n => { customerAutomationHealth.coverage = n.getObjectValue(createAnalyticsCoverageFromDiscriminatorValue); },
|
|
3519
3541
|
"enabledCount": n => { customerAutomationHealth.enabledCount = n.getNumberValue(); },
|
|
3520
3542
|
"executions": n => { customerAutomationHealth.executions = n.getNumberValue(); },
|
|
3521
3543
|
"failingAutomations": n => { customerAutomationHealth.failingAutomations = n.getCollectionOfObjectValues(createCustomerFailingAutomationFromDiscriminatorValue); },
|
|
@@ -3840,6 +3862,7 @@ export function deserializeIntoEventTableRow(eventTableRow = {}) {
|
|
|
3840
3862
|
"toPhoneNumber": n => { eventTableRow.toPhoneNumber = n.getStringValue(); },
|
|
3841
3863
|
"trafficType": n => { eventTableRow.trafficType = n.getEnumValue(EventTableRow_trafficTypeObject); },
|
|
3842
3864
|
"undeliverableAt": n => { eventTableRow.undeliverableAt = n.getDateValue(); },
|
|
3865
|
+
"voicemailUrl": n => { eventTableRow.voicemailUrl = n.getStringValue(); },
|
|
3843
3866
|
"wasManuallyOverridden": n => { eventTableRow.wasManuallyOverridden = n.getBooleanValue(); },
|
|
3844
3867
|
};
|
|
3845
3868
|
}
|
|
@@ -4021,6 +4044,19 @@ export function deserializeIntoLeadContact_streetAddress(leadContact_streetAddre
|
|
|
4021
4044
|
...deserializeIntoStreetAddress(leadContact_streetAddress),
|
|
4022
4045
|
};
|
|
4023
4046
|
}
|
|
4047
|
+
/**
|
|
4048
|
+
* The deserialization information for the current model
|
|
4049
|
+
* @param LeadFollowUpUpdateRequest The instance to deserialize into.
|
|
4050
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
4051
|
+
*/
|
|
4052
|
+
// @ts-ignore
|
|
4053
|
+
export function deserializeIntoLeadFollowUpUpdateRequest(leadFollowUpUpdateRequest = {}) {
|
|
4054
|
+
return {
|
|
4055
|
+
"dueAt": n => { leadFollowUpUpdateRequest.dueAt = n.getDateValue(); },
|
|
4056
|
+
"expectedRevision": n => { leadFollowUpUpdateRequest.expectedRevision = n.getNumberValue(); },
|
|
4057
|
+
"expectedStatusId": n => { leadFollowUpUpdateRequest.expectedStatusId = n.getStringValue(); },
|
|
4058
|
+
};
|
|
4059
|
+
}
|
|
4024
4060
|
/**
|
|
4025
4061
|
* The deserialization information for the current model
|
|
4026
4062
|
* @param LeadIntakeRequest The instance to deserialize into.
|
|
@@ -4313,6 +4349,9 @@ export function deserializeIntoLeadStatusChangeRequest(leadStatusChangeRequest =
|
|
|
4313
4349
|
"appointmentStartAt": n => { leadStatusChangeRequest.appointmentStartAt = n.getDateValue(); },
|
|
4314
4350
|
"callbackAt": n => { leadStatusChangeRequest.callbackAt = n.getDateValue(); },
|
|
4315
4351
|
"category": n => { leadStatusChangeRequest.category = n.getEnumValue(LeadStatusChangeRequest_categoryObject); },
|
|
4352
|
+
"completeFollowUp": n => { leadStatusChangeRequest.completeFollowUp = n.getBooleanValue(); },
|
|
4353
|
+
"expectedCurrentStatusId": n => { leadStatusChangeRequest.expectedCurrentStatusId = n.getStringValue(); },
|
|
4354
|
+
"expectedRevision": n => { leadStatusChangeRequest.expectedRevision = n.getNumberValue(); },
|
|
4316
4355
|
"followUpStatus": n => { leadStatusChangeRequest.followUpStatus = n.getStringValue(); },
|
|
4317
4356
|
"notes": n => { leadStatusChangeRequest.notes = n.getStringValue(); },
|
|
4318
4357
|
"outcome": n => { leadStatusChangeRequest.outcome = n.getStringValue(); },
|
|
@@ -4340,6 +4379,7 @@ export function deserializeIntoLeadStatusChangeResponse(leadStatusChangeResponse
|
|
|
4340
4379
|
"changedByUserId": n => { leadStatusChangeResponse.changedByUserId = n.getStringValue(); },
|
|
4341
4380
|
"changeSource": n => { leadStatusChangeResponse.changeSource = n.getEnumValue(LeadStatusChangeResponse_changeSourceObject); },
|
|
4342
4381
|
"createdAt": n => { leadStatusChangeResponse.createdAt = n.getDateValue(); },
|
|
4382
|
+
"followUpCompletedAt": n => { leadStatusChangeResponse.followUpCompletedAt = n.getDateValue(); },
|
|
4343
4383
|
"followUpStatus": n => { leadStatusChangeResponse.followUpStatus = n.getStringValue(); },
|
|
4344
4384
|
"id": n => { leadStatusChangeResponse.id = n.getStringValue(); },
|
|
4345
4385
|
"isDemo": n => { leadStatusChangeResponse.isDemo = n.getBooleanValue(); },
|
|
@@ -4356,6 +4396,7 @@ export function deserializeIntoLeadStatusChangeResponse(leadStatusChangeResponse
|
|
|
4356
4396
|
"outcome": n => { leadStatusChangeResponse.outcome = n.getStringValue(); },
|
|
4357
4397
|
"reason": n => { leadStatusChangeResponse.reason = n.getStringValue(); },
|
|
4358
4398
|
"relatedCallEventId": n => { leadStatusChangeResponse.relatedCallEventId = n.getStringValue(); },
|
|
4399
|
+
"revision": n => { leadStatusChangeResponse.revision = n.getNumberValue(); },
|
|
4359
4400
|
"sourceId": n => { leadStatusChangeResponse.sourceId = n.getStringValue(); },
|
|
4360
4401
|
"taskDueAt": n => { leadStatusChangeResponse.taskDueAt = n.getDateValue(); },
|
|
4361
4402
|
"timestamp": n => { leadStatusChangeResponse.timestamp = n.getDateValue(); },
|
|
@@ -4528,14 +4569,17 @@ export function deserializeIntoNotificationResponse(notificationResponse = {}) {
|
|
|
4528
4569
|
return {
|
|
4529
4570
|
"actionButtonText": n => { notificationResponse.actionButtonText = n.getStringValue(); },
|
|
4530
4571
|
"actionUrl": n => { notificationResponse.actionUrl = n.getStringValue(); },
|
|
4572
|
+
"conversationId": n => { notificationResponse.conversationId = n.getStringValue(); },
|
|
4531
4573
|
"createdAt": n => { notificationResponse.createdAt = n.getDateValue(); },
|
|
4532
4574
|
"details": n => { notificationResponse.details = n.getStringValue(); },
|
|
4533
4575
|
"id": n => { notificationResponse.id = n.getStringValue(); },
|
|
4534
4576
|
"isDemo": n => { notificationResponse.isDemo = n.getBooleanValue(); },
|
|
4535
4577
|
"isRead": n => { notificationResponse.isRead = n.getBooleanValue(); },
|
|
4578
|
+
"leadId": n => { notificationResponse.leadId = n.getStringValue(); },
|
|
4536
4579
|
"message": n => { notificationResponse.message = n.getStringValue(); },
|
|
4537
4580
|
"modifiedAt": n => { notificationResponse.modifiedAt = n.getDateValue(); },
|
|
4538
4581
|
"name": n => { notificationResponse.name = n.getStringValue(); },
|
|
4582
|
+
"organizationId": n => { notificationResponse.organizationId = n.getStringValue(); },
|
|
4539
4583
|
"priority": n => { notificationResponse.priority = n.getEnumValue(NotificationPriorityObject); },
|
|
4540
4584
|
"pushEnabled": n => { notificationResponse.pushEnabled = n.getBooleanValue(); },
|
|
4541
4585
|
"readAt": n => { notificationResponse.readAt = n.getDateValue(); },
|
|
@@ -5492,6 +5536,7 @@ export function deserializeIntoPhoneCallResponse(phoneCallResponse = {}) {
|
|
|
5492
5536
|
"isDemo": n => { phoneCallResponse.isDemo = n.getBooleanValue(); },
|
|
5493
5537
|
"leadId": n => { phoneCallResponse.leadId = n.getStringValue(); },
|
|
5494
5538
|
"modifiedAt": n => { phoneCallResponse.modifiedAt = n.getDateValue(); },
|
|
5539
|
+
"organizationId": n => { phoneCallResponse.organizationId = n.getStringValue(); },
|
|
5495
5540
|
"phoneNumber": n => { phoneCallResponse.phoneNumber = n.getStringValue(); },
|
|
5496
5541
|
"queuedAt": n => { phoneCallResponse.queuedAt = n.getDateValue(); },
|
|
5497
5542
|
"ringingAt": n => { phoneCallResponse.ringingAt = n.getDateValue(); },
|
|
@@ -6113,36 +6158,6 @@ export function deserializeIntoProblemDetails(problemDetails = {}) {
|
|
|
6113
6158
|
export function deserializeIntoProblemDetails_errors(problemDetails_errors = {}) {
|
|
6114
6159
|
return {};
|
|
6115
6160
|
}
|
|
6116
|
-
/**
|
|
6117
|
-
* The deserialization information for the current model
|
|
6118
|
-
* @param PushInstallationRequest The instance to deserialize into.
|
|
6119
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
6120
|
-
*/
|
|
6121
|
-
// @ts-ignore
|
|
6122
|
-
export function deserializeIntoPushInstallationRequest(pushInstallationRequest = {}) {
|
|
6123
|
-
return {
|
|
6124
|
-
"appBuild": n => { pushInstallationRequest.appBuild = n.getStringValue(); },
|
|
6125
|
-
"appIdentifier": n => { pushInstallationRequest.appIdentifier = n.getStringValue(); },
|
|
6126
|
-
"appName": n => { pushInstallationRequest.appName = n.getStringValue(); },
|
|
6127
|
-
"appVersion": n => { pushInstallationRequest.appVersion = n.getStringValue(); },
|
|
6128
|
-
"deviceModel": n => { pushInstallationRequest.deviceModel = n.getStringValue(); },
|
|
6129
|
-
"devicePlatform": n => { pushInstallationRequest.devicePlatform = n.getStringValue(); },
|
|
6130
|
-
"deviceVersion": n => { pushInstallationRequest.deviceVersion = n.getStringValue(); },
|
|
6131
|
-
"installationId": n => { pushInstallationRequest.installationId = n.getStringValue(); },
|
|
6132
|
-
"metadata": n => { pushInstallationRequest.metadata = n.getObjectValue(createPushInstallationRequest_metadataFromDiscriminatorValue); },
|
|
6133
|
-
"platform": n => { pushInstallationRequest.platform = n.getStringValue(); },
|
|
6134
|
-
"pushChannel": n => { pushInstallationRequest.pushChannel = n.getStringValue(); },
|
|
6135
|
-
};
|
|
6136
|
-
}
|
|
6137
|
-
/**
|
|
6138
|
-
* The deserialization information for the current model
|
|
6139
|
-
* @param PushInstallationRequest_metadata The instance to deserialize into.
|
|
6140
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
6141
|
-
*/
|
|
6142
|
-
// @ts-ignore
|
|
6143
|
-
export function deserializeIntoPushInstallationRequest_metadata(pushInstallationRequest_metadata = {}) {
|
|
6144
|
-
return {};
|
|
6145
|
-
}
|
|
6146
6161
|
/**
|
|
6147
6162
|
* The deserialization information for the current model
|
|
6148
6163
|
* @param RangeFilter The instance to deserialize into.
|
|
@@ -7327,6 +7342,22 @@ export function serializeAnalyticsComparison(writer, analyticsComparison = {}, i
|
|
|
7327
7342
|
writer.writeNumberValue("previous", analyticsComparison.previous);
|
|
7328
7343
|
writer.writeAdditionalData(analyticsComparison.additionalData);
|
|
7329
7344
|
}
|
|
7345
|
+
/**
|
|
7346
|
+
* Serializes information the current object
|
|
7347
|
+
* @param AnalyticsCoverage The instance to serialize from.
|
|
7348
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
7349
|
+
* @param writer Serialization writer to use to serialize this model
|
|
7350
|
+
*/
|
|
7351
|
+
// @ts-ignore
|
|
7352
|
+
export function serializeAnalyticsCoverage(writer, analyticsCoverage = {}, isSerializingDerivedType = false) {
|
|
7353
|
+
if (!analyticsCoverage || isSerializingDerivedType) {
|
|
7354
|
+
return;
|
|
7355
|
+
}
|
|
7356
|
+
writer.writeDateValue("completeFrom", analyticsCoverage.completeFrom);
|
|
7357
|
+
writer.writeStringValue("detail", analyticsCoverage.detail);
|
|
7358
|
+
writer.writeBooleanValue("isPartial", analyticsCoverage.isPartial);
|
|
7359
|
+
writer.writeAdditionalData(analyticsCoverage.additionalData);
|
|
7360
|
+
}
|
|
7330
7361
|
/**
|
|
7331
7362
|
* Serializes information the current object
|
|
7332
7363
|
* @param AnalyticsDateRange The instance to serialize from.
|
|
@@ -8252,6 +8283,7 @@ export function serializeConversationResponse(writer, conversationResponse = {},
|
|
|
8252
8283
|
writer.writeStringValue("avatarUrl", conversationResponse.avatarUrl);
|
|
8253
8284
|
writer.writeObjectValue("currentLeadStatus", conversationResponse.currentLeadStatus, serializeConversationResponse_currentLeadStatus);
|
|
8254
8285
|
writer.writeStringValue("email", conversationResponse.email);
|
|
8286
|
+
writer.writeNumberValue("eventVersion", conversationResponse.eventVersion);
|
|
8255
8287
|
writer.writeStringValue("firstName", conversationResponse.firstName);
|
|
8256
8288
|
writer.writeStringValue("id", conversationResponse.id);
|
|
8257
8289
|
writer.writeBooleanValue("isArchived", conversationResponse.isArchived);
|
|
@@ -8259,13 +8291,17 @@ export function serializeConversationResponse(writer, conversationResponse = {},
|
|
|
8259
8291
|
writer.writeBooleanValue("isUnread", conversationResponse.isUnread);
|
|
8260
8292
|
writer.writeDateValue("lastEventAt", conversationResponse.lastEventAt);
|
|
8261
8293
|
writer.writeBooleanValue("lastEventIsInternalNote", conversationResponse.lastEventIsInternalNote);
|
|
8294
|
+
writer.writeDateValue("lastInboundAt", conversationResponse.lastInboundAt);
|
|
8295
|
+
writer.writeStringValue("lastInboundSnippet", conversationResponse.lastInboundSnippet);
|
|
8262
8296
|
writer.writeStringValue("lastName", conversationResponse.lastName);
|
|
8263
8297
|
writer.writeStringValue("lastSnippet", conversationResponse.lastSnippet);
|
|
8264
8298
|
writer.writeStringValue("leadId", conversationResponse.leadId);
|
|
8265
8299
|
writer.writeStringValue("leadPhoneNumber", conversationResponse.leadPhoneNumber);
|
|
8300
|
+
writer.writeBooleanValue("needsReply", conversationResponse.needsReply);
|
|
8266
8301
|
writer.writeStringValue("nextStep", conversationResponse.nextStep);
|
|
8267
8302
|
writer.writeStringValue("outboundPhoneNumberOverrideId", conversationResponse.outboundPhoneNumberOverrideId);
|
|
8268
8303
|
writer.writeObjectValue("phoneNumber", conversationResponse.phoneNumber, serializeConversationResponse_phoneNumber);
|
|
8304
|
+
writer.writeNumberValue("replyVersion", conversationResponse.replyVersion);
|
|
8269
8305
|
writer.writeEnumValue("status", conversationResponse.status);
|
|
8270
8306
|
writer.writeStringValue("statusReason", conversationResponse.statusReason);
|
|
8271
8307
|
writer.writeAdditionalData(conversationResponse.additionalData);
|
|
@@ -8341,8 +8377,11 @@ export function serializeCurrentLeadStatusSummary(writer, currentLeadStatusSumma
|
|
|
8341
8377
|
writer.writeStringValue("changedByAutomationId", currentLeadStatusSummary.changedByAutomationId);
|
|
8342
8378
|
writer.writeStringValue("changedByUserId", currentLeadStatusSummary.changedByUserId);
|
|
8343
8379
|
writer.writeStringValue("displayName", currentLeadStatusSummary.displayName);
|
|
8380
|
+
writer.writeDateValue("followUpCompletedAt", currentLeadStatusSummary.followUpCompletedAt);
|
|
8381
|
+
writer.writeDateValue("followUpDueAt", currentLeadStatusSummary.followUpDueAt);
|
|
8344
8382
|
writer.writeStringValue("id", currentLeadStatusSummary.id);
|
|
8345
8383
|
writer.writeStringValue("outcome", currentLeadStatusSummary.outcome);
|
|
8384
|
+
writer.writeNumberValue("revision", currentLeadStatusSummary.revision);
|
|
8346
8385
|
writer.writeEnumValue("source", currentLeadStatusSummary.source);
|
|
8347
8386
|
writer.writeAdditionalData(currentLeadStatusSummary.additionalData);
|
|
8348
8387
|
}
|
|
@@ -8454,6 +8493,7 @@ export function serializeCustomerAutomationHealth(writer, customerAutomationHeal
|
|
|
8454
8493
|
return;
|
|
8455
8494
|
}
|
|
8456
8495
|
writer.writeNumberValue("automationCount", customerAutomationHealth.automationCount);
|
|
8496
|
+
writer.writeObjectValue("coverage", customerAutomationHealth.coverage, serializeAnalyticsCoverage);
|
|
8457
8497
|
writer.writeNumberValue("enabledCount", customerAutomationHealth.enabledCount);
|
|
8458
8498
|
writer.writeNumberValue("executions", customerAutomationHealth.executions);
|
|
8459
8499
|
writer.writeCollectionOfObjectValues("failingAutomations", customerAutomationHealth.failingAutomations, serializeCustomerFailingAutomation);
|
|
@@ -8818,6 +8858,7 @@ export function serializeEventTableRow(writer, eventTableRow = {}, isSerializing
|
|
|
8818
8858
|
writer.writeStringValue("toPhoneNumber", eventTableRow.toPhoneNumber);
|
|
8819
8859
|
writer.writeEnumValue("trafficType", eventTableRow.trafficType);
|
|
8820
8860
|
writer.writeDateValue("undeliverableAt", eventTableRow.undeliverableAt);
|
|
8861
|
+
writer.writeStringValue("voicemailUrl", eventTableRow.voicemailUrl);
|
|
8821
8862
|
writer.writeBooleanValue("wasManuallyOverridden", eventTableRow.wasManuallyOverridden);
|
|
8822
8863
|
writer.writeAdditionalData(eventTableRow.additionalData);
|
|
8823
8864
|
}
|
|
@@ -9035,6 +9076,22 @@ export function serializeLeadContact_streetAddress(writer, leadContact_streetAdd
|
|
|
9035
9076
|
}
|
|
9036
9077
|
serializeStreetAddress(writer, leadContact_streetAddress, isSerializingDerivedType);
|
|
9037
9078
|
}
|
|
9079
|
+
/**
|
|
9080
|
+
* Serializes information the current object
|
|
9081
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
9082
|
+
* @param LeadFollowUpUpdateRequest The instance to serialize from.
|
|
9083
|
+
* @param writer Serialization writer to use to serialize this model
|
|
9084
|
+
*/
|
|
9085
|
+
// @ts-ignore
|
|
9086
|
+
export function serializeLeadFollowUpUpdateRequest(writer, leadFollowUpUpdateRequest = {}, isSerializingDerivedType = false) {
|
|
9087
|
+
if (!leadFollowUpUpdateRequest || isSerializingDerivedType) {
|
|
9088
|
+
return;
|
|
9089
|
+
}
|
|
9090
|
+
writer.writeDateValue("dueAt", leadFollowUpUpdateRequest.dueAt);
|
|
9091
|
+
writer.writeNumberValue("expectedRevision", leadFollowUpUpdateRequest.expectedRevision);
|
|
9092
|
+
writer.writeStringValue("expectedStatusId", leadFollowUpUpdateRequest.expectedStatusId);
|
|
9093
|
+
writer.writeAdditionalData(leadFollowUpUpdateRequest.additionalData);
|
|
9094
|
+
}
|
|
9038
9095
|
/**
|
|
9039
9096
|
* Serializes information the current object
|
|
9040
9097
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -9368,6 +9425,9 @@ export function serializeLeadStatusChangeRequest(writer, leadStatusChangeRequest
|
|
|
9368
9425
|
writer.writeDateValue("appointmentStartAt", leadStatusChangeRequest.appointmentStartAt);
|
|
9369
9426
|
writer.writeDateValue("callbackAt", leadStatusChangeRequest.callbackAt);
|
|
9370
9427
|
writer.writeEnumValue("category", leadStatusChangeRequest.category);
|
|
9428
|
+
writer.writeBooleanValue("completeFollowUp", leadStatusChangeRequest.completeFollowUp);
|
|
9429
|
+
writer.writeStringValue("expectedCurrentStatusId", leadStatusChangeRequest.expectedCurrentStatusId);
|
|
9430
|
+
writer.writeNumberValue("expectedRevision", leadStatusChangeRequest.expectedRevision);
|
|
9371
9431
|
writer.writeStringValue("followUpStatus", leadStatusChangeRequest.followUpStatus);
|
|
9372
9432
|
writer.writeStringValue("notes", leadStatusChangeRequest.notes);
|
|
9373
9433
|
writer.writeStringValue("outcome", leadStatusChangeRequest.outcome);
|
|
@@ -9398,6 +9458,7 @@ export function serializeLeadStatusChangeResponse(writer, leadStatusChangeRespon
|
|
|
9398
9458
|
writer.writeStringValue("changedByUserId", leadStatusChangeResponse.changedByUserId);
|
|
9399
9459
|
writer.writeEnumValue("changeSource", leadStatusChangeResponse.changeSource);
|
|
9400
9460
|
writer.writeDateValue("createdAt", leadStatusChangeResponse.createdAt);
|
|
9461
|
+
writer.writeDateValue("followUpCompletedAt", leadStatusChangeResponse.followUpCompletedAt);
|
|
9401
9462
|
writer.writeStringValue("followUpStatus", leadStatusChangeResponse.followUpStatus);
|
|
9402
9463
|
writer.writeStringValue("id", leadStatusChangeResponse.id);
|
|
9403
9464
|
writer.writeBooleanValue("isDemo", leadStatusChangeResponse.isDemo);
|
|
@@ -9414,6 +9475,7 @@ export function serializeLeadStatusChangeResponse(writer, leadStatusChangeRespon
|
|
|
9414
9475
|
writer.writeStringValue("outcome", leadStatusChangeResponse.outcome);
|
|
9415
9476
|
writer.writeStringValue("reason", leadStatusChangeResponse.reason);
|
|
9416
9477
|
writer.writeStringValue("relatedCallEventId", leadStatusChangeResponse.relatedCallEventId);
|
|
9478
|
+
writer.writeNumberValue("revision", leadStatusChangeResponse.revision);
|
|
9417
9479
|
writer.writeStringValue("sourceId", leadStatusChangeResponse.sourceId);
|
|
9418
9480
|
writer.writeDateValue("taskDueAt", leadStatusChangeResponse.taskDueAt);
|
|
9419
9481
|
writer.writeDateValue("timestamp", leadStatusChangeResponse.timestamp);
|
|
@@ -9615,14 +9677,17 @@ export function serializeNotificationResponse(writer, notificationResponse = {},
|
|
|
9615
9677
|
}
|
|
9616
9678
|
writer.writeStringValue("actionButtonText", notificationResponse.actionButtonText);
|
|
9617
9679
|
writer.writeStringValue("actionUrl", notificationResponse.actionUrl);
|
|
9680
|
+
writer.writeStringValue("conversationId", notificationResponse.conversationId);
|
|
9618
9681
|
writer.writeDateValue("createdAt", notificationResponse.createdAt);
|
|
9619
9682
|
writer.writeStringValue("details", notificationResponse.details);
|
|
9620
9683
|
writer.writeStringValue("id", notificationResponse.id);
|
|
9621
9684
|
writer.writeBooleanValue("isDemo", notificationResponse.isDemo);
|
|
9622
9685
|
writer.writeBooleanValue("isRead", notificationResponse.isRead);
|
|
9686
|
+
writer.writeStringValue("leadId", notificationResponse.leadId);
|
|
9623
9687
|
writer.writeStringValue("message", notificationResponse.message);
|
|
9624
9688
|
writer.writeDateValue("modifiedAt", notificationResponse.modifiedAt);
|
|
9625
9689
|
writer.writeStringValue("name", notificationResponse.name);
|
|
9690
|
+
writer.writeStringValue("organizationId", notificationResponse.organizationId);
|
|
9626
9691
|
writer.writeEnumValue("priority", notificationResponse.priority);
|
|
9627
9692
|
writer.writeBooleanValue("pushEnabled", notificationResponse.pushEnabled);
|
|
9628
9693
|
writer.writeDateValue("readAt", notificationResponse.readAt);
|
|
@@ -10732,6 +10797,7 @@ export function serializePhoneCallResponse(writer, phoneCallResponse = {}, isSer
|
|
|
10732
10797
|
writer.writeBooleanValue("isDemo", phoneCallResponse.isDemo);
|
|
10733
10798
|
writer.writeStringValue("leadId", phoneCallResponse.leadId);
|
|
10734
10799
|
writer.writeDateValue("modifiedAt", phoneCallResponse.modifiedAt);
|
|
10800
|
+
writer.writeStringValue("organizationId", phoneCallResponse.organizationId);
|
|
10735
10801
|
writer.writeStringValue("phoneNumber", phoneCallResponse.phoneNumber);
|
|
10736
10802
|
writer.writeDateValue("queuedAt", phoneCallResponse.queuedAt);
|
|
10737
10803
|
writer.writeDateValue("ringingAt", phoneCallResponse.ringingAt);
|
|
@@ -11464,43 +11530,6 @@ export function serializeProblemDetails_errors(writer, problemDetails_errors = {
|
|
|
11464
11530
|
}
|
|
11465
11531
|
writer.writeAdditionalData(problemDetails_errors.additionalData);
|
|
11466
11532
|
}
|
|
11467
|
-
/**
|
|
11468
|
-
* Serializes information the current object
|
|
11469
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
11470
|
-
* @param PushInstallationRequest The instance to serialize from.
|
|
11471
|
-
* @param writer Serialization writer to use to serialize this model
|
|
11472
|
-
*/
|
|
11473
|
-
// @ts-ignore
|
|
11474
|
-
export function serializePushInstallationRequest(writer, pushInstallationRequest = {}, isSerializingDerivedType = false) {
|
|
11475
|
-
if (!pushInstallationRequest || isSerializingDerivedType) {
|
|
11476
|
-
return;
|
|
11477
|
-
}
|
|
11478
|
-
writer.writeStringValue("appBuild", pushInstallationRequest.appBuild);
|
|
11479
|
-
writer.writeStringValue("appIdentifier", pushInstallationRequest.appIdentifier);
|
|
11480
|
-
writer.writeStringValue("appName", pushInstallationRequest.appName);
|
|
11481
|
-
writer.writeStringValue("appVersion", pushInstallationRequest.appVersion);
|
|
11482
|
-
writer.writeStringValue("deviceModel", pushInstallationRequest.deviceModel);
|
|
11483
|
-
writer.writeStringValue("devicePlatform", pushInstallationRequest.devicePlatform);
|
|
11484
|
-
writer.writeStringValue("deviceVersion", pushInstallationRequest.deviceVersion);
|
|
11485
|
-
writer.writeStringValue("installationId", pushInstallationRequest.installationId);
|
|
11486
|
-
writer.writeObjectValue("metadata", pushInstallationRequest.metadata, serializePushInstallationRequest_metadata);
|
|
11487
|
-
writer.writeStringValue("platform", pushInstallationRequest.platform);
|
|
11488
|
-
writer.writeStringValue("pushChannel", pushInstallationRequest.pushChannel);
|
|
11489
|
-
writer.writeAdditionalData(pushInstallationRequest.additionalData);
|
|
11490
|
-
}
|
|
11491
|
-
/**
|
|
11492
|
-
* Serializes information the current object
|
|
11493
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
11494
|
-
* @param PushInstallationRequest_metadata The instance to serialize from.
|
|
11495
|
-
* @param writer Serialization writer to use to serialize this model
|
|
11496
|
-
*/
|
|
11497
|
-
// @ts-ignore
|
|
11498
|
-
export function serializePushInstallationRequest_metadata(writer, pushInstallationRequest_metadata = {}, isSerializingDerivedType = false) {
|
|
11499
|
-
if (!pushInstallationRequest_metadata || isSerializingDerivedType) {
|
|
11500
|
-
return;
|
|
11501
|
-
}
|
|
11502
|
-
writer.writeAdditionalData(pushInstallationRequest_metadata.additionalData);
|
|
11503
|
-
}
|
|
11504
11533
|
/**
|
|
11505
11534
|
* Serializes information the current object
|
|
11506
11535
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|