@leadping/sdk 1.0.125 → 1.0.126
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 +4 -4
- package/dist/conversations/index.d.ts.map +1 -1
- package/dist/conversations/index.js +5 -5
- package/dist/conversations/index.js.map +1 -1
- package/dist/conversations/item/index.d.ts +10 -5
- package/dist/conversations/item/index.d.ts.map +1 -1
- package/dist/conversations/item/index.js +9 -4
- package/dist/conversations/item/index.js.map +1 -1
- package/dist/conversations/item/markHandled/index.d.ts +2 -2
- package/dist/conversations/item/markHandled/index.d.ts.map +1 -1
- package/dist/conversations/item/markHandled/index.js +1 -1
- package/dist/conversations/item/markHandled/index.js.map +1 -1
- package/dist/conversations/item/markRead/index.d.ts +2 -2
- package/dist/conversations/item/markRead/index.d.ts.map +1 -1
- package/dist/conversations/item/markRead/index.js +1 -1
- package/dist/conversations/item/markRead/index.js.map +1 -1
- package/dist/conversations/item/markReplyNeeded/index.d.ts +2 -2
- package/dist/conversations/item/markReplyNeeded/index.d.ts.map +1 -1
- package/dist/conversations/item/markReplyNeeded/index.js +1 -1
- package/dist/conversations/item/markReplyNeeded/index.js.map +1 -1
- package/dist/conversations/item/outboundReadiness/index.d.ts +2 -2
- package/dist/conversations/item/outboundReadiness/index.d.ts.map +1 -1
- package/dist/conversations/item/outboundReadiness/index.js +1 -1
- package/dist/conversations/item/outboundReadiness/index.js.map +1 -1
- package/dist/conversations/item/retry/index.d.ts +33 -0
- package/dist/conversations/item/retry/index.d.ts.map +1 -0
- package/dist/conversations/item/retry/index.js +31 -0
- package/dist/conversations/item/retry/index.js.map +1 -0
- package/dist/conversations/my/index.d.ts +8 -4
- package/dist/conversations/my/index.d.ts.map +1 -1
- package/dist/conversations/my/index.js +3 -3
- package/dist/conversations/my/index.js.map +1 -1
- package/dist/models/index.d.ts +98 -1
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +90 -0
- package/dist/models/index.js.map +1 -1
- package/dist/phoneCall/index.d.ts +5 -0
- package/dist/phoneCall/index.d.ts.map +1 -1
- package/dist/phoneCall/index.js +5 -0
- package/dist/phoneCall/index.js.map +1 -1
- package/dist/phoneCall/next/index.d.ts +22 -0
- package/dist/phoneCall/next/index.d.ts.map +1 -0
- package/dist/phoneCall/next/index.js +21 -0
- package/dist/phoneCall/next/index.js.map +1 -0
- package/dist/phoneCall/next/item/index.d.ts +39 -0
- package/dist/phoneCall/next/item/index.d.ts.map +1 -0
- package/dist/phoneCall/next/item/index.js +31 -0
- package/dist/phoneCall/next/item/index.js.map +1 -0
- package/package.json +1 -1
package/dist/models/index.js
CHANGED
|
@@ -489,6 +489,15 @@ export function createBrowserCallApprovalFromDiscriminatorValue(parseNode) {
|
|
|
489
489
|
export function createCallEventTableRowFromDiscriminatorValue(parseNode) {
|
|
490
490
|
return deserializeIntoCallEventTableRow;
|
|
491
491
|
}
|
|
492
|
+
/**
|
|
493
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
494
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
495
|
+
* @returns {CallRetryRequest}
|
|
496
|
+
*/
|
|
497
|
+
// @ts-ignore
|
|
498
|
+
export function createCallRetryRequestFromDiscriminatorValue(parseNode) {
|
|
499
|
+
return deserializeIntoCallRetryRequest;
|
|
500
|
+
}
|
|
492
501
|
/**
|
|
493
502
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
494
503
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -525,6 +534,15 @@ export function createComplianceUpdateRequest_complianceFromDiscriminatorValue(p
|
|
|
525
534
|
export function createComplianceUpdateRequestFromDiscriminatorValue(parseNode) {
|
|
526
535
|
return deserializeIntoComplianceUpdateRequest;
|
|
527
536
|
}
|
|
537
|
+
/**
|
|
538
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
539
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
540
|
+
* @returns {ConversationPage}
|
|
541
|
+
*/
|
|
542
|
+
// @ts-ignore
|
|
543
|
+
export function createConversationPageFromDiscriminatorValue(parseNode) {
|
|
544
|
+
return deserializeIntoConversationPage;
|
|
545
|
+
}
|
|
528
546
|
/**
|
|
529
547
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
530
548
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -3812,6 +3830,18 @@ export function deserializeIntoCallEventTableRow(callEventTableRow = {}) {
|
|
|
3812
3830
|
"voicemailUrl": n => { callEventTableRow.voicemailUrl = n.getStringValue(); },
|
|
3813
3831
|
};
|
|
3814
3832
|
}
|
|
3833
|
+
/**
|
|
3834
|
+
* The deserialization information for the current model
|
|
3835
|
+
* @param CallRetryRequest The instance to deserialize into.
|
|
3836
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
3837
|
+
*/
|
|
3838
|
+
// @ts-ignore
|
|
3839
|
+
export function deserializeIntoCallRetryRequest(callRetryRequest = {}) {
|
|
3840
|
+
return {
|
|
3841
|
+
"expectedRetryAt": n => { callRetryRequest.expectedRetryAt = n.getDateValue(); },
|
|
3842
|
+
"retryAt": n => { callRetryRequest.retryAt = n.getDateValue(); },
|
|
3843
|
+
};
|
|
3844
|
+
}
|
|
3815
3845
|
/**
|
|
3816
3846
|
* The deserialization information for the current model
|
|
3817
3847
|
* @param ChangeBillingPlanRequest The instance to deserialize into.
|
|
@@ -3862,6 +3892,22 @@ export function deserializeIntoComplianceUpdateRequest_compliance(complianceUpda
|
|
|
3862
3892
|
...deserializeIntoUserCompliance(complianceUpdateRequest_compliance),
|
|
3863
3893
|
};
|
|
3864
3894
|
}
|
|
3895
|
+
/**
|
|
3896
|
+
* The deserialization information for the current model
|
|
3897
|
+
* @param ConversationPage The instance to deserialize into.
|
|
3898
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
3899
|
+
*/
|
|
3900
|
+
// @ts-ignore
|
|
3901
|
+
export function deserializeIntoConversationPage(conversationPage = {}) {
|
|
3902
|
+
return {
|
|
3903
|
+
"continuationToken": n => { conversationPage.continuationToken = n.getStringValue(); },
|
|
3904
|
+
"items": n => { conversationPage.items = n.getCollectionOfObjectValues(createConversationResponseFromDiscriminatorValue); },
|
|
3905
|
+
"needsReplyCount": n => { conversationPage.needsReplyCount = n.getNumberValue(); },
|
|
3906
|
+
"pageSize": n => { conversationPage.pageSize = n.getNumberValue(); },
|
|
3907
|
+
"refreshAfter": n => { conversationPage.refreshAfter = n.getStringValue(); },
|
|
3908
|
+
"totalCount": n => { conversationPage.totalCount = n.getNumberValue(); },
|
|
3909
|
+
};
|
|
3910
|
+
}
|
|
3865
3911
|
/**
|
|
3866
3912
|
* The deserialization information for the current model
|
|
3867
3913
|
* @param ConversationResponse The instance to deserialize into.
|
|
@@ -3874,6 +3920,7 @@ export function deserializeIntoConversationResponse(conversationResponse = {}) {
|
|
|
3874
3920
|
"archivedAt": n => { conversationResponse.archivedAt = n.getDateValue(); },
|
|
3875
3921
|
"archiveReason": n => { conversationResponse.archiveReason = n.getNumberValue(); },
|
|
3876
3922
|
"avatarUrl": n => { conversationResponse.avatarUrl = n.getStringValue(); },
|
|
3923
|
+
"callRetryAt": n => { conversationResponse.callRetryAt = n.getDateValue(); },
|
|
3877
3924
|
"canCallNow": n => { conversationResponse.canCallNow = n.getBooleanValue(); },
|
|
3878
3925
|
"canTextNow": n => { conversationResponse.canTextNow = n.getBooleanValue(); },
|
|
3879
3926
|
"complianceStatus": n => { conversationResponse.complianceStatus = n.getStringValue(); },
|
|
@@ -3882,6 +3929,8 @@ export function deserializeIntoConversationResponse(conversationResponse = {}) {
|
|
|
3882
3929
|
"eventVersion": n => { conversationResponse.eventVersion = n.getNumberValue(); },
|
|
3883
3930
|
"firstName": n => { conversationResponse.firstName = n.getStringValue(); },
|
|
3884
3931
|
"id": n => { conversationResponse.id = n.getStringValue(); },
|
|
3932
|
+
"inboxAction": n => { conversationResponse.inboxAction = n.getNumberValue(); },
|
|
3933
|
+
"inboxActionAt": n => { conversationResponse.inboxActionAt = n.getDateValue(); },
|
|
3885
3934
|
"isArchived": n => { conversationResponse.isArchived = n.getBooleanValue(); },
|
|
3886
3935
|
"isDemo": n => { conversationResponse.isDemo = n.getBooleanValue(); },
|
|
3887
3936
|
"isUnread": n => { conversationResponse.isUnread = n.getBooleanValue(); },
|
|
@@ -3956,6 +4005,7 @@ export function deserializeIntoCreateNoteRequest(createNoteRequest = {}) {
|
|
|
3956
4005
|
// @ts-ignore
|
|
3957
4006
|
export function deserializeIntoCurrentLeadStatusSummary(currentLeadStatusSummary = {}) {
|
|
3958
4007
|
return {
|
|
4008
|
+
"callbackAt": n => { currentLeadStatusSummary.callbackAt = n.getDateValue(); },
|
|
3959
4009
|
"category": n => { currentLeadStatusSummary.category = n.getEnumValue(CurrentLeadStatusSummary_categoryObject); },
|
|
3960
4010
|
"changedAt": n => { currentLeadStatusSummary.changedAt = n.getDateValue(); },
|
|
3961
4011
|
"changedByAutomationId": n => { currentLeadStatusSummary.changedByAutomationId = n.getStringValue(); },
|
|
@@ -7227,6 +7277,7 @@ export function deserializeIntoSendSmsRequest(sendSmsRequest = {}) {
|
|
|
7227
7277
|
"fromPhoneNumberId": n => { sendSmsRequest.fromPhoneNumberId = n.getStringValue(); },
|
|
7228
7278
|
"mediaUrls": n => { sendSmsRequest.mediaUrls = n.getCollectionOfPrimitiveValues("string"); },
|
|
7229
7279
|
"outboundIdempotencyKey": n => { sendSmsRequest.outboundIdempotencyKey = n.getStringValue(); },
|
|
7280
|
+
"replyVersion": n => { sendSmsRequest.replyVersion = n.getNumberValue(); },
|
|
7230
7281
|
"scheduledFor": n => { sendSmsRequest.scheduledFor = n.getDateValue(); },
|
|
7231
7282
|
"smsEventId": n => { sendSmsRequest.smsEventId = n.getStringValue(); },
|
|
7232
7283
|
"sourceId": n => { sendSmsRequest.sourceId = n.getStringValue(); },
|
|
@@ -9470,6 +9521,21 @@ export function serializeCallEventTableRow(writer, callEventTableRow = {}, isSer
|
|
|
9470
9521
|
writer.writeStringValue("voicemailUrl", callEventTableRow.voicemailUrl);
|
|
9471
9522
|
writer.writeAdditionalData(callEventTableRow.additionalData);
|
|
9472
9523
|
}
|
|
9524
|
+
/**
|
|
9525
|
+
* Serializes information the current object
|
|
9526
|
+
* @param CallRetryRequest The instance to serialize from.
|
|
9527
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
9528
|
+
* @param writer Serialization writer to use to serialize this model
|
|
9529
|
+
*/
|
|
9530
|
+
// @ts-ignore
|
|
9531
|
+
export function serializeCallRetryRequest(writer, callRetryRequest = {}, isSerializingDerivedType = false) {
|
|
9532
|
+
if (!callRetryRequest || isSerializingDerivedType) {
|
|
9533
|
+
return;
|
|
9534
|
+
}
|
|
9535
|
+
writer.writeDateValue("expectedRetryAt", callRetryRequest.expectedRetryAt);
|
|
9536
|
+
writer.writeDateValue("retryAt", callRetryRequest.retryAt);
|
|
9537
|
+
writer.writeAdditionalData(callRetryRequest.additionalData);
|
|
9538
|
+
}
|
|
9473
9539
|
/**
|
|
9474
9540
|
* Serializes information the current object
|
|
9475
9541
|
* @param ChangeBillingPlanRequest The instance to serialize from.
|
|
@@ -9531,6 +9597,25 @@ export function serializeComplianceUpdateRequest_compliance(writer, complianceUp
|
|
|
9531
9597
|
}
|
|
9532
9598
|
serializeUserCompliance(writer, complianceUpdateRequest_compliance, isSerializingDerivedType);
|
|
9533
9599
|
}
|
|
9600
|
+
/**
|
|
9601
|
+
* Serializes information the current object
|
|
9602
|
+
* @param ConversationPage The instance to serialize from.
|
|
9603
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
9604
|
+
* @param writer Serialization writer to use to serialize this model
|
|
9605
|
+
*/
|
|
9606
|
+
// @ts-ignore
|
|
9607
|
+
export function serializeConversationPage(writer, conversationPage = {}, isSerializingDerivedType = false) {
|
|
9608
|
+
if (!conversationPage || isSerializingDerivedType) {
|
|
9609
|
+
return;
|
|
9610
|
+
}
|
|
9611
|
+
writer.writeStringValue("continuationToken", conversationPage.continuationToken);
|
|
9612
|
+
writer.writeCollectionOfObjectValues("items", conversationPage.items, serializeConversationResponse);
|
|
9613
|
+
writer.writeNumberValue("needsReplyCount", conversationPage.needsReplyCount);
|
|
9614
|
+
writer.writeNumberValue("pageSize", conversationPage.pageSize);
|
|
9615
|
+
writer.writeStringValue("refreshAfter", conversationPage.refreshAfter);
|
|
9616
|
+
writer.writeNumberValue("totalCount", conversationPage.totalCount);
|
|
9617
|
+
writer.writeAdditionalData(conversationPage.additionalData);
|
|
9618
|
+
}
|
|
9534
9619
|
/**
|
|
9535
9620
|
* Serializes information the current object
|
|
9536
9621
|
* @param ConversationResponse The instance to serialize from.
|
|
@@ -9546,6 +9631,7 @@ export function serializeConversationResponse(writer, conversationResponse = {},
|
|
|
9546
9631
|
writer.writeDateValue("archivedAt", conversationResponse.archivedAt);
|
|
9547
9632
|
writer.writeNumberValue("archiveReason", conversationResponse.archiveReason);
|
|
9548
9633
|
writer.writeStringValue("avatarUrl", conversationResponse.avatarUrl);
|
|
9634
|
+
writer.writeDateValue("callRetryAt", conversationResponse.callRetryAt);
|
|
9549
9635
|
writer.writeBooleanValue("canCallNow", conversationResponse.canCallNow);
|
|
9550
9636
|
writer.writeBooleanValue("canTextNow", conversationResponse.canTextNow);
|
|
9551
9637
|
writer.writeStringValue("complianceStatus", conversationResponse.complianceStatus);
|
|
@@ -9554,6 +9640,8 @@ export function serializeConversationResponse(writer, conversationResponse = {},
|
|
|
9554
9640
|
writer.writeNumberValue("eventVersion", conversationResponse.eventVersion);
|
|
9555
9641
|
writer.writeStringValue("firstName", conversationResponse.firstName);
|
|
9556
9642
|
writer.writeStringValue("id", conversationResponse.id);
|
|
9643
|
+
writer.writeNumberValue("inboxAction", conversationResponse.inboxAction);
|
|
9644
|
+
writer.writeDateValue("inboxActionAt", conversationResponse.inboxActionAt);
|
|
9557
9645
|
writer.writeBooleanValue("isArchived", conversationResponse.isArchived);
|
|
9558
9646
|
writer.writeBooleanValue("isDemo", conversationResponse.isDemo);
|
|
9559
9647
|
writer.writeBooleanValue("isUnread", conversationResponse.isUnread);
|
|
@@ -9641,6 +9729,7 @@ export function serializeCurrentLeadStatusSummary(writer, currentLeadStatusSumma
|
|
|
9641
9729
|
if (!currentLeadStatusSummary || isSerializingDerivedType) {
|
|
9642
9730
|
return;
|
|
9643
9731
|
}
|
|
9732
|
+
writer.writeDateValue("callbackAt", currentLeadStatusSummary.callbackAt);
|
|
9644
9733
|
writer.writeEnumValue("category", currentLeadStatusSummary.category);
|
|
9645
9734
|
writer.writeDateValue("changedAt", currentLeadStatusSummary.changedAt);
|
|
9646
9735
|
writer.writeStringValue("changedByAutomationId", currentLeadStatusSummary.changedByAutomationId);
|
|
@@ -13442,6 +13531,7 @@ export function serializeSendSmsRequest(writer, sendSmsRequest = {}, isSerializi
|
|
|
13442
13531
|
writer.writeStringValue("fromPhoneNumberId", sendSmsRequest.fromPhoneNumberId);
|
|
13443
13532
|
writer.writeCollectionOfPrimitiveValues("mediaUrls", sendSmsRequest.mediaUrls);
|
|
13444
13533
|
writer.writeStringValue("outboundIdempotencyKey", sendSmsRequest.outboundIdempotencyKey);
|
|
13534
|
+
writer.writeNumberValue("replyVersion", sendSmsRequest.replyVersion);
|
|
13445
13535
|
writer.writeDateValue("scheduledFor", sendSmsRequest.scheduledFor);
|
|
13446
13536
|
writer.writeStringValue("smsEventId", sendSmsRequest.smsEventId);
|
|
13447
13537
|
writer.writeStringValue("sourceId", sendSmsRequest.sourceId);
|