@leadping/sdk 1.0.53 → 1.0.55
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/models/index.d.ts +298 -254
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +26 -4
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
package/dist/models/index.js
CHANGED
|
@@ -3023,14 +3023,20 @@ export function deserializeIntoBlogArticleResponse(blogArticleResponse = {}) {
|
|
|
3023
3023
|
"authorName": n => { blogArticleResponse.authorName = n.getStringValue(); },
|
|
3024
3024
|
"category": n => { blogArticleResponse.category = n.getStringValue(); },
|
|
3025
3025
|
"content": n => { blogArticleResponse.content = n.getStringValue(); },
|
|
3026
|
+
"contentUpdatedAt": n => { blogArticleResponse.contentUpdatedAt = n.getDateValue(); },
|
|
3027
|
+
"coverImageAlt": n => { blogArticleResponse.coverImageAlt = n.getStringValue(); },
|
|
3026
3028
|
"coverImageUrl": n => { blogArticleResponse.coverImageUrl = n.getStringValue(); },
|
|
3027
3029
|
"createdAt": n => { blogArticleResponse.createdAt = n.getDateValue(); },
|
|
3028
3030
|
"excerpt": n => { blogArticleResponse.excerpt = n.getStringValue(); },
|
|
3029
3031
|
"id": n => { blogArticleResponse.id = n.getStringValue(); },
|
|
3032
|
+
"imageProcessingError": n => { blogArticleResponse.imageProcessingError = n.getStringValue(); },
|
|
3033
|
+
"imagesProcessing": n => { blogArticleResponse.imagesProcessing = n.getBooleanValue(); },
|
|
3030
3034
|
"isFeatured": n => { blogArticleResponse.isFeatured = n.getBooleanValue(); },
|
|
3031
3035
|
"isPublished": n => { blogArticleResponse.isPublished = n.getBooleanValue(); },
|
|
3036
|
+
"metaDescription": n => { blogArticleResponse.metaDescription = n.getStringValue(); },
|
|
3032
3037
|
"modifiedAt": n => { blogArticleResponse.modifiedAt = n.getDateValue(); },
|
|
3033
3038
|
"publishedAt": n => { blogArticleResponse.publishedAt = n.getDateValue(); },
|
|
3039
|
+
"seoTitle": n => { blogArticleResponse.seoTitle = n.getStringValue(); },
|
|
3034
3040
|
"slug": n => { blogArticleResponse.slug = n.getStringValue(); },
|
|
3035
3041
|
"title": n => { blogArticleResponse.title = n.getStringValue(); },
|
|
3036
3042
|
};
|
|
@@ -3062,7 +3068,6 @@ export function deserializeIntoCallEventTableRow(callEventTableRow = {}) {
|
|
|
3062
3068
|
"organization": n => { callEventTableRow.organization = n.getStringValue(); },
|
|
3063
3069
|
"organizationId": n => { callEventTableRow.organizationId = n.getStringValue(); },
|
|
3064
3070
|
"organizationName": n => { callEventTableRow.organizationName = n.getStringValue(); },
|
|
3065
|
-
"recordingUrl": n => { callEventTableRow.recordingUrl = n.getStringValue(); },
|
|
3066
3071
|
"status": n => { callEventTableRow.status = n.getEnumValue(CallEventTableRow_statusObject); },
|
|
3067
3072
|
"statusReason": n => { callEventTableRow.statusReason = n.getStringValue(); },
|
|
3068
3073
|
"toPhoneNumber": n => { callEventTableRow.toPhoneNumber = n.getStringValue(); },
|
|
@@ -3070,6 +3075,7 @@ export function deserializeIntoCallEventTableRow(callEventTableRow = {}) {
|
|
|
3070
3075
|
"userEmail": n => { callEventTableRow.userEmail = n.getStringValue(); },
|
|
3071
3076
|
"userId": n => { callEventTableRow.userId = n.getStringValue(); },
|
|
3072
3077
|
"userName": n => { callEventTableRow.userName = n.getStringValue(); },
|
|
3078
|
+
"voicemailUrl": n => { callEventTableRow.voicemailUrl = n.getStringValue(); },
|
|
3073
3079
|
};
|
|
3074
3080
|
}
|
|
3075
3081
|
/**
|
|
@@ -4067,6 +4073,8 @@ export function deserializeIntoLeadStatusChangeResponse(leadStatusChangeResponse
|
|
|
4067
4073
|
"followUpStatus": n => { leadStatusChangeResponse.followUpStatus = n.getStringValue(); },
|
|
4068
4074
|
"id": n => { leadStatusChangeResponse.id = n.getStringValue(); },
|
|
4069
4075
|
"isMissedCallFollowUp": n => { leadStatusChangeResponse.isMissedCallFollowUp = n.getBooleanValue(); },
|
|
4076
|
+
"leadAvatarUrl": n => { leadStatusChangeResponse.leadAvatarUrl = n.getStringValue(); },
|
|
4077
|
+
"leadEmail": n => { leadStatusChangeResponse.leadEmail = n.getStringValue(); },
|
|
4070
4078
|
"leadId": n => { leadStatusChangeResponse.leadId = n.getStringValue(); },
|
|
4071
4079
|
"leadName": n => { leadStatusChangeResponse.leadName = n.getStringValue(); },
|
|
4072
4080
|
"newLeadStatusChangeId": n => { leadStatusChangeResponse.newLeadStatusChangeId = n.getStringValue(); },
|
|
@@ -4219,6 +4227,7 @@ export function deserializeIntoMessageMediaAttachment(messageMediaAttachment = {
|
|
|
4219
4227
|
return {
|
|
4220
4228
|
"contentType": n => { messageMediaAttachment.contentType = n.getStringValue(); },
|
|
4221
4229
|
"fileName": n => { messageMediaAttachment.fileName = n.getStringValue(); },
|
|
4230
|
+
"mediaId": n => { messageMediaAttachment.mediaId = n.getStringValue(); },
|
|
4222
4231
|
"sha256": n => { messageMediaAttachment.sha256 = n.getStringValue(); },
|
|
4223
4232
|
"size": n => { messageMediaAttachment.size = n.getNumberValue(); },
|
|
4224
4233
|
"url": n => { messageMediaAttachment.url = n.getStringValue(); },
|
|
@@ -5179,13 +5188,13 @@ export function deserializeIntoPhoneCallResponse(phoneCallResponse = {}) {
|
|
|
5179
5188
|
"modifiedAt": n => { phoneCallResponse.modifiedAt = n.getDateValue(); },
|
|
5180
5189
|
"phoneNumber": n => { phoneCallResponse.phoneNumber = n.getStringValue(); },
|
|
5181
5190
|
"queuedAt": n => { phoneCallResponse.queuedAt = n.getDateValue(); },
|
|
5182
|
-
"recordingUrl": n => { phoneCallResponse.recordingUrl = n.getStringValue(); },
|
|
5183
5191
|
"ringingAt": n => { phoneCallResponse.ringingAt = n.getDateValue(); },
|
|
5184
5192
|
"selectionReason": n => { phoneCallResponse.selectionReason = n.getEnumValue(PhoneCallResponse_selectionReasonObject); },
|
|
5185
5193
|
"sourceId": n => { phoneCallResponse.sourceId = n.getStringValue(); },
|
|
5186
5194
|
"status": n => { phoneCallResponse.status = n.getEnumValue(PhoneCallStatusObject); },
|
|
5187
5195
|
"statusReason": n => { phoneCallResponse.statusReason = n.getStringValue(); },
|
|
5188
5196
|
"toPhoneNumber": n => { phoneCallResponse.toPhoneNumber = n.getStringValue(); },
|
|
5197
|
+
"voicemailUrl": n => { phoneCallResponse.voicemailUrl = n.getStringValue(); },
|
|
5189
5198
|
"wasManuallyOverridden": n => { phoneCallResponse.wasManuallyOverridden = n.getBooleanValue(); },
|
|
5190
5199
|
};
|
|
5191
5200
|
}
|
|
@@ -5541,6 +5550,7 @@ export function deserializeIntoPhoneNumberRequest(phoneNumberRequest = {}) {
|
|
|
5541
5550
|
return {
|
|
5542
5551
|
"name": n => { phoneNumberRequest.name = n.getStringValue(); },
|
|
5543
5552
|
"number": n => { phoneNumberRequest.number = n.getStringValue(); },
|
|
5553
|
+
"numberHealthEnabled": n => { phoneNumberRequest.numberHealthEnabled = n.getBooleanValue(); },
|
|
5544
5554
|
};
|
|
5545
5555
|
}
|
|
5546
5556
|
/**
|
|
@@ -5558,6 +5568,7 @@ export function deserializeIntoPhoneNumberResponse(phoneNumberResponse = {}) {
|
|
|
5558
5568
|
"modifiedAt": n => { phoneNumberResponse.modifiedAt = n.getDateValue(); },
|
|
5559
5569
|
"name": n => { phoneNumberResponse.name = n.getStringValue(); },
|
|
5560
5570
|
"number": n => { phoneNumberResponse.number = n.getStringValue(); },
|
|
5571
|
+
"numberHealthEnabled": n => { phoneNumberResponse.numberHealthEnabled = n.getBooleanValue(); },
|
|
5561
5572
|
"organization": n => { phoneNumberResponse.organization = n.getObjectValue(createPhoneNumberResponse_organizationFromDiscriminatorValue); },
|
|
5562
5573
|
"phoneIdentityId": n => { phoneNumberResponse.phoneIdentityId = n.getStringValue(); },
|
|
5563
5574
|
"routing": n => { phoneNumberResponse.routing = n.getObjectValue(createPhoneNumberRoutingMetadataFromDiscriminatorValue); },
|
|
@@ -7668,14 +7679,20 @@ export function serializeBlogArticleResponse(writer, blogArticleResponse = {}, i
|
|
|
7668
7679
|
writer.writeStringValue("authorName", blogArticleResponse.authorName);
|
|
7669
7680
|
writer.writeStringValue("category", blogArticleResponse.category);
|
|
7670
7681
|
writer.writeStringValue("content", blogArticleResponse.content);
|
|
7682
|
+
writer.writeDateValue("contentUpdatedAt", blogArticleResponse.contentUpdatedAt);
|
|
7683
|
+
writer.writeStringValue("coverImageAlt", blogArticleResponse.coverImageAlt);
|
|
7671
7684
|
writer.writeStringValue("coverImageUrl", blogArticleResponse.coverImageUrl);
|
|
7672
7685
|
writer.writeDateValue("createdAt", blogArticleResponse.createdAt);
|
|
7673
7686
|
writer.writeStringValue("excerpt", blogArticleResponse.excerpt);
|
|
7674
7687
|
writer.writeStringValue("id", blogArticleResponse.id);
|
|
7688
|
+
writer.writeStringValue("imageProcessingError", blogArticleResponse.imageProcessingError);
|
|
7689
|
+
writer.writeBooleanValue("imagesProcessing", blogArticleResponse.imagesProcessing);
|
|
7675
7690
|
writer.writeBooleanValue("isFeatured", blogArticleResponse.isFeatured);
|
|
7676
7691
|
writer.writeBooleanValue("isPublished", blogArticleResponse.isPublished);
|
|
7692
|
+
writer.writeStringValue("metaDescription", blogArticleResponse.metaDescription);
|
|
7677
7693
|
writer.writeDateValue("modifiedAt", blogArticleResponse.modifiedAt);
|
|
7678
7694
|
writer.writeDateValue("publishedAt", blogArticleResponse.publishedAt);
|
|
7695
|
+
writer.writeStringValue("seoTitle", blogArticleResponse.seoTitle);
|
|
7679
7696
|
writer.writeStringValue("slug", blogArticleResponse.slug);
|
|
7680
7697
|
writer.writeStringValue("title", blogArticleResponse.title);
|
|
7681
7698
|
writer.writeAdditionalData(blogArticleResponse.additionalData);
|
|
@@ -7710,7 +7727,6 @@ export function serializeCallEventTableRow(writer, callEventTableRow = {}, isSer
|
|
|
7710
7727
|
writer.writeStringValue("organization", callEventTableRow.organization);
|
|
7711
7728
|
writer.writeStringValue("organizationId", callEventTableRow.organizationId);
|
|
7712
7729
|
writer.writeStringValue("organizationName", callEventTableRow.organizationName);
|
|
7713
|
-
writer.writeStringValue("recordingUrl", callEventTableRow.recordingUrl);
|
|
7714
7730
|
writer.writeEnumValue("status", callEventTableRow.status);
|
|
7715
7731
|
writer.writeStringValue("statusReason", callEventTableRow.statusReason);
|
|
7716
7732
|
writer.writeStringValue("toPhoneNumber", callEventTableRow.toPhoneNumber);
|
|
@@ -7718,6 +7734,7 @@ export function serializeCallEventTableRow(writer, callEventTableRow = {}, isSer
|
|
|
7718
7734
|
writer.writeStringValue("userEmail", callEventTableRow.userEmail);
|
|
7719
7735
|
writer.writeStringValue("userId", callEventTableRow.userId);
|
|
7720
7736
|
writer.writeStringValue("userName", callEventTableRow.userName);
|
|
7737
|
+
writer.writeStringValue("voicemailUrl", callEventTableRow.voicemailUrl);
|
|
7721
7738
|
writer.writeAdditionalData(callEventTableRow.additionalData);
|
|
7722
7739
|
}
|
|
7723
7740
|
/**
|
|
@@ -8871,6 +8888,8 @@ export function serializeLeadStatusChangeResponse(writer, leadStatusChangeRespon
|
|
|
8871
8888
|
writer.writeStringValue("followUpStatus", leadStatusChangeResponse.followUpStatus);
|
|
8872
8889
|
writer.writeStringValue("id", leadStatusChangeResponse.id);
|
|
8873
8890
|
writer.writeBooleanValue("isMissedCallFollowUp", leadStatusChangeResponse.isMissedCallFollowUp);
|
|
8891
|
+
writer.writeStringValue("leadAvatarUrl", leadStatusChangeResponse.leadAvatarUrl);
|
|
8892
|
+
writer.writeStringValue("leadEmail", leadStatusChangeResponse.leadEmail);
|
|
8874
8893
|
writer.writeStringValue("leadId", leadStatusChangeResponse.leadId);
|
|
8875
8894
|
writer.writeStringValue("leadName", leadStatusChangeResponse.leadName);
|
|
8876
8895
|
writer.writeStringValue("newLeadStatusChangeId", leadStatusChangeResponse.newLeadStatusChangeId);
|
|
@@ -9046,6 +9065,7 @@ export function serializeMessageMediaAttachment(writer, messageMediaAttachment =
|
|
|
9046
9065
|
}
|
|
9047
9066
|
writer.writeStringValue("contentType", messageMediaAttachment.contentType);
|
|
9048
9067
|
writer.writeStringValue("fileName", messageMediaAttachment.fileName);
|
|
9068
|
+
writer.writeStringValue("mediaId", messageMediaAttachment.mediaId);
|
|
9049
9069
|
writer.writeStringValue("sha256", messageMediaAttachment.sha256);
|
|
9050
9070
|
writer.writeNumberValue("size", messageMediaAttachment.size);
|
|
9051
9071
|
writer.writeStringValue("url", messageMediaAttachment.url);
|
|
@@ -10160,13 +10180,13 @@ export function serializePhoneCallResponse(writer, phoneCallResponse = {}, isSer
|
|
|
10160
10180
|
writer.writeDateValue("modifiedAt", phoneCallResponse.modifiedAt);
|
|
10161
10181
|
writer.writeStringValue("phoneNumber", phoneCallResponse.phoneNumber);
|
|
10162
10182
|
writer.writeDateValue("queuedAt", phoneCallResponse.queuedAt);
|
|
10163
|
-
writer.writeStringValue("recordingUrl", phoneCallResponse.recordingUrl);
|
|
10164
10183
|
writer.writeDateValue("ringingAt", phoneCallResponse.ringingAt);
|
|
10165
10184
|
writer.writeEnumValue("selectionReason", phoneCallResponse.selectionReason);
|
|
10166
10185
|
writer.writeStringValue("sourceId", phoneCallResponse.sourceId);
|
|
10167
10186
|
writer.writeEnumValue("status", phoneCallResponse.status);
|
|
10168
10187
|
writer.writeStringValue("statusReason", phoneCallResponse.statusReason);
|
|
10169
10188
|
writer.writeStringValue("toPhoneNumber", phoneCallResponse.toPhoneNumber);
|
|
10189
|
+
writer.writeStringValue("voicemailUrl", phoneCallResponse.voicemailUrl);
|
|
10170
10190
|
writer.writeBooleanValue("wasManuallyOverridden", phoneCallResponse.wasManuallyOverridden);
|
|
10171
10191
|
writer.writeAdditionalData(phoneCallResponse.additionalData);
|
|
10172
10192
|
}
|
|
@@ -10587,6 +10607,7 @@ export function serializePhoneNumberRequest(writer, phoneNumberRequest = {}, isS
|
|
|
10587
10607
|
}
|
|
10588
10608
|
writer.writeStringValue("name", phoneNumberRequest.name);
|
|
10589
10609
|
writer.writeStringValue("number", phoneNumberRequest.number);
|
|
10610
|
+
writer.writeBooleanValue("numberHealthEnabled", phoneNumberRequest.numberHealthEnabled);
|
|
10590
10611
|
writer.writeAdditionalData(phoneNumberRequest.additionalData);
|
|
10591
10612
|
}
|
|
10592
10613
|
/**
|
|
@@ -10607,6 +10628,7 @@ export function serializePhoneNumberResponse(writer, phoneNumberResponse = {}, i
|
|
|
10607
10628
|
writer.writeDateValue("modifiedAt", phoneNumberResponse.modifiedAt);
|
|
10608
10629
|
writer.writeStringValue("name", phoneNumberResponse.name);
|
|
10609
10630
|
writer.writeStringValue("number", phoneNumberResponse.number);
|
|
10631
|
+
writer.writeBooleanValue("numberHealthEnabled", phoneNumberResponse.numberHealthEnabled);
|
|
10610
10632
|
writer.writeObjectValue("organization", phoneNumberResponse.organization, serializePhoneNumberResponse_organization);
|
|
10611
10633
|
writer.writeStringValue("phoneIdentityId", phoneNumberResponse.phoneIdentityId);
|
|
10612
10634
|
writer.writeObjectValue("routing", phoneNumberResponse.routing, serializePhoneNumberRoutingMetadata);
|