@leadping/sdk 1.0.54 → 1.0.56

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.
@@ -228,6 +228,15 @@ export function createAutomationResponse_userFromDiscriminatorValue(parseNode) {
228
228
  export function createAutomationResponseFromDiscriminatorValue(parseNode) {
229
229
  return deserializeIntoAutomationResponse;
230
230
  }
231
+ /**
232
+ * Creates a new instance of the appropriate class based on discriminator value
233
+ * @param parseNode The parse node to use to read the discriminator value and create the object
234
+ * @returns {AutomationRunRecord_conditionResults}
235
+ */
236
+ // @ts-ignore
237
+ export function createAutomationRunRecord_conditionResultsFromDiscriminatorValue(parseNode) {
238
+ return deserializeIntoAutomationRunRecord_conditionResults;
239
+ }
231
240
  /**
232
241
  * Creates a new instance of the appropriate class based on discriminator value
233
242
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -2792,6 +2801,7 @@ export function deserializeIntoAutomationRunRecord(automationRunRecord = {}) {
2792
2801
  "actions": n => { automationRunRecord.actions = n.getCollectionOfObjectValues(createAutomationActionRunRecordFromDiscriminatorValue); },
2793
2802
  "automationId": n => { automationRunRecord.automationId = n.getStringValue(); },
2794
2803
  "completedAt": n => { automationRunRecord.completedAt = n.getDateValue(); },
2804
+ "conditionResults": n => { automationRunRecord.conditionResults = n.getObjectValue(createAutomationRunRecord_conditionResultsFromDiscriminatorValue); },
2795
2805
  "executionMode": n => { automationRunRecord.executionMode = n.getStringValue(); },
2796
2806
  "failureCode": n => { automationRunRecord.failureCode = n.getStringValue(); },
2797
2807
  "id": n => { automationRunRecord.id = n.getStringValue(); },
@@ -2802,9 +2812,19 @@ export function deserializeIntoAutomationRunRecord(automationRunRecord = {}) {
2802
2812
  "skippedReason": n => { automationRunRecord.skippedReason = n.getStringValue(); },
2803
2813
  "startedAt": n => { automationRunRecord.startedAt = n.getDateValue(); },
2804
2814
  "status": n => { automationRunRecord.status = n.getStringValue(); },
2815
+ "triggerId": n => { automationRunRecord.triggerId = n.getStringValue(); },
2805
2816
  "triggerType": n => { automationRunRecord.triggerType = n.getStringValue(); },
2806
2817
  };
2807
2818
  }
2819
+ /**
2820
+ * The deserialization information for the current model
2821
+ * @param AutomationRunRecord_conditionResults The instance to deserialize into.
2822
+ * @returns {Record<string, (node: ParseNode) => void>}
2823
+ */
2824
+ // @ts-ignore
2825
+ export function deserializeIntoAutomationRunRecord_conditionResults(automationRunRecord_conditionResults = {}) {
2826
+ return {};
2827
+ }
2808
2828
  /**
2809
2829
  * The deserialization information for the current model
2810
2830
  * @param AutomationTableRow The instance to deserialize into.
@@ -3023,14 +3043,20 @@ export function deserializeIntoBlogArticleResponse(blogArticleResponse = {}) {
3023
3043
  "authorName": n => { blogArticleResponse.authorName = n.getStringValue(); },
3024
3044
  "category": n => { blogArticleResponse.category = n.getStringValue(); },
3025
3045
  "content": n => { blogArticleResponse.content = n.getStringValue(); },
3046
+ "contentUpdatedAt": n => { blogArticleResponse.contentUpdatedAt = n.getDateValue(); },
3047
+ "coverImageAlt": n => { blogArticleResponse.coverImageAlt = n.getStringValue(); },
3026
3048
  "coverImageUrl": n => { blogArticleResponse.coverImageUrl = n.getStringValue(); },
3027
3049
  "createdAt": n => { blogArticleResponse.createdAt = n.getDateValue(); },
3028
3050
  "excerpt": n => { blogArticleResponse.excerpt = n.getStringValue(); },
3029
3051
  "id": n => { blogArticleResponse.id = n.getStringValue(); },
3052
+ "imageProcessingError": n => { blogArticleResponse.imageProcessingError = n.getStringValue(); },
3053
+ "imagesProcessing": n => { blogArticleResponse.imagesProcessing = n.getBooleanValue(); },
3030
3054
  "isFeatured": n => { blogArticleResponse.isFeatured = n.getBooleanValue(); },
3031
3055
  "isPublished": n => { blogArticleResponse.isPublished = n.getBooleanValue(); },
3056
+ "metaDescription": n => { blogArticleResponse.metaDescription = n.getStringValue(); },
3032
3057
  "modifiedAt": n => { blogArticleResponse.modifiedAt = n.getDateValue(); },
3033
3058
  "publishedAt": n => { blogArticleResponse.publishedAt = n.getDateValue(); },
3059
+ "seoTitle": n => { blogArticleResponse.seoTitle = n.getStringValue(); },
3034
3060
  "slug": n => { blogArticleResponse.slug = n.getStringValue(); },
3035
3061
  "title": n => { blogArticleResponse.title = n.getStringValue(); },
3036
3062
  };
@@ -4067,6 +4093,8 @@ export function deserializeIntoLeadStatusChangeResponse(leadStatusChangeResponse
4067
4093
  "followUpStatus": n => { leadStatusChangeResponse.followUpStatus = n.getStringValue(); },
4068
4094
  "id": n => { leadStatusChangeResponse.id = n.getStringValue(); },
4069
4095
  "isMissedCallFollowUp": n => { leadStatusChangeResponse.isMissedCallFollowUp = n.getBooleanValue(); },
4096
+ "leadAvatarUrl": n => { leadStatusChangeResponse.leadAvatarUrl = n.getStringValue(); },
4097
+ "leadEmail": n => { leadStatusChangeResponse.leadEmail = n.getStringValue(); },
4070
4098
  "leadId": n => { leadStatusChangeResponse.leadId = n.getStringValue(); },
4071
4099
  "leadName": n => { leadStatusChangeResponse.leadName = n.getStringValue(); },
4072
4100
  "newLeadStatusChangeId": n => { leadStatusChangeResponse.newLeadStatusChangeId = n.getStringValue(); },
@@ -4219,6 +4247,7 @@ export function deserializeIntoMessageMediaAttachment(messageMediaAttachment = {
4219
4247
  return {
4220
4248
  "contentType": n => { messageMediaAttachment.contentType = n.getStringValue(); },
4221
4249
  "fileName": n => { messageMediaAttachment.fileName = n.getStringValue(); },
4250
+ "mediaId": n => { messageMediaAttachment.mediaId = n.getStringValue(); },
4222
4251
  "sha256": n => { messageMediaAttachment.sha256 = n.getStringValue(); },
4223
4252
  "size": n => { messageMediaAttachment.size = n.getNumberValue(); },
4224
4253
  "url": n => { messageMediaAttachment.url = n.getStringValue(); },
@@ -5541,6 +5570,7 @@ export function deserializeIntoPhoneNumberRequest(phoneNumberRequest = {}) {
5541
5570
  return {
5542
5571
  "name": n => { phoneNumberRequest.name = n.getStringValue(); },
5543
5572
  "number": n => { phoneNumberRequest.number = n.getStringValue(); },
5573
+ "numberHealthEnabled": n => { phoneNumberRequest.numberHealthEnabled = n.getBooleanValue(); },
5544
5574
  };
5545
5575
  }
5546
5576
  /**
@@ -5558,6 +5588,7 @@ export function deserializeIntoPhoneNumberResponse(phoneNumberResponse = {}) {
5558
5588
  "modifiedAt": n => { phoneNumberResponse.modifiedAt = n.getDateValue(); },
5559
5589
  "name": n => { phoneNumberResponse.name = n.getStringValue(); },
5560
5590
  "number": n => { phoneNumberResponse.number = n.getStringValue(); },
5591
+ "numberHealthEnabled": n => { phoneNumberResponse.numberHealthEnabled = n.getBooleanValue(); },
5561
5592
  "organization": n => { phoneNumberResponse.organization = n.getObjectValue(createPhoneNumberResponse_organizationFromDiscriminatorValue); },
5562
5593
  "phoneIdentityId": n => { phoneNumberResponse.phoneIdentityId = n.getStringValue(); },
5563
5594
  "routing": n => { phoneNumberResponse.routing = n.getObjectValue(createPhoneNumberRoutingMetadataFromDiscriminatorValue); },
@@ -7401,6 +7432,7 @@ export function serializeAutomationRunRecord(writer, automationRunRecord = {}, i
7401
7432
  writer.writeCollectionOfObjectValues("actions", automationRunRecord.actions, serializeAutomationActionRunRecord);
7402
7433
  writer.writeStringValue("automationId", automationRunRecord.automationId);
7403
7434
  writer.writeDateValue("completedAt", automationRunRecord.completedAt);
7435
+ writer.writeObjectValue("conditionResults", automationRunRecord.conditionResults, serializeAutomationRunRecord_conditionResults);
7404
7436
  writer.writeStringValue("executionMode", automationRunRecord.executionMode);
7405
7437
  writer.writeStringValue("failureCode", automationRunRecord.failureCode);
7406
7438
  writer.writeStringValue("id", automationRunRecord.id);
@@ -7411,9 +7443,23 @@ export function serializeAutomationRunRecord(writer, automationRunRecord = {}, i
7411
7443
  writer.writeStringValue("skippedReason", automationRunRecord.skippedReason);
7412
7444
  writer.writeDateValue("startedAt", automationRunRecord.startedAt);
7413
7445
  writer.writeStringValue("status", automationRunRecord.status);
7446
+ writer.writeStringValue("triggerId", automationRunRecord.triggerId);
7414
7447
  writer.writeStringValue("triggerType", automationRunRecord.triggerType);
7415
7448
  writer.writeAdditionalData(automationRunRecord.additionalData);
7416
7449
  }
7450
+ /**
7451
+ * Serializes information the current object
7452
+ * @param AutomationRunRecord_conditionResults The instance to serialize from.
7453
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
7454
+ * @param writer Serialization writer to use to serialize this model
7455
+ */
7456
+ // @ts-ignore
7457
+ export function serializeAutomationRunRecord_conditionResults(writer, automationRunRecord_conditionResults = {}, isSerializingDerivedType = false) {
7458
+ if (!automationRunRecord_conditionResults || isSerializingDerivedType) {
7459
+ return;
7460
+ }
7461
+ writer.writeAdditionalData(automationRunRecord_conditionResults.additionalData);
7462
+ }
7417
7463
  /**
7418
7464
  * Serializes information the current object
7419
7465
  * @param AutomationTableRow The instance to serialize from.
@@ -7668,14 +7714,20 @@ export function serializeBlogArticleResponse(writer, blogArticleResponse = {}, i
7668
7714
  writer.writeStringValue("authorName", blogArticleResponse.authorName);
7669
7715
  writer.writeStringValue("category", blogArticleResponse.category);
7670
7716
  writer.writeStringValue("content", blogArticleResponse.content);
7717
+ writer.writeDateValue("contentUpdatedAt", blogArticleResponse.contentUpdatedAt);
7718
+ writer.writeStringValue("coverImageAlt", blogArticleResponse.coverImageAlt);
7671
7719
  writer.writeStringValue("coverImageUrl", blogArticleResponse.coverImageUrl);
7672
7720
  writer.writeDateValue("createdAt", blogArticleResponse.createdAt);
7673
7721
  writer.writeStringValue("excerpt", blogArticleResponse.excerpt);
7674
7722
  writer.writeStringValue("id", blogArticleResponse.id);
7723
+ writer.writeStringValue("imageProcessingError", blogArticleResponse.imageProcessingError);
7724
+ writer.writeBooleanValue("imagesProcessing", blogArticleResponse.imagesProcessing);
7675
7725
  writer.writeBooleanValue("isFeatured", blogArticleResponse.isFeatured);
7676
7726
  writer.writeBooleanValue("isPublished", blogArticleResponse.isPublished);
7727
+ writer.writeStringValue("metaDescription", blogArticleResponse.metaDescription);
7677
7728
  writer.writeDateValue("modifiedAt", blogArticleResponse.modifiedAt);
7678
7729
  writer.writeDateValue("publishedAt", blogArticleResponse.publishedAt);
7730
+ writer.writeStringValue("seoTitle", blogArticleResponse.seoTitle);
7679
7731
  writer.writeStringValue("slug", blogArticleResponse.slug);
7680
7732
  writer.writeStringValue("title", blogArticleResponse.title);
7681
7733
  writer.writeAdditionalData(blogArticleResponse.additionalData);
@@ -8871,6 +8923,8 @@ export function serializeLeadStatusChangeResponse(writer, leadStatusChangeRespon
8871
8923
  writer.writeStringValue("followUpStatus", leadStatusChangeResponse.followUpStatus);
8872
8924
  writer.writeStringValue("id", leadStatusChangeResponse.id);
8873
8925
  writer.writeBooleanValue("isMissedCallFollowUp", leadStatusChangeResponse.isMissedCallFollowUp);
8926
+ writer.writeStringValue("leadAvatarUrl", leadStatusChangeResponse.leadAvatarUrl);
8927
+ writer.writeStringValue("leadEmail", leadStatusChangeResponse.leadEmail);
8874
8928
  writer.writeStringValue("leadId", leadStatusChangeResponse.leadId);
8875
8929
  writer.writeStringValue("leadName", leadStatusChangeResponse.leadName);
8876
8930
  writer.writeStringValue("newLeadStatusChangeId", leadStatusChangeResponse.newLeadStatusChangeId);
@@ -9046,6 +9100,7 @@ export function serializeMessageMediaAttachment(writer, messageMediaAttachment =
9046
9100
  }
9047
9101
  writer.writeStringValue("contentType", messageMediaAttachment.contentType);
9048
9102
  writer.writeStringValue("fileName", messageMediaAttachment.fileName);
9103
+ writer.writeStringValue("mediaId", messageMediaAttachment.mediaId);
9049
9104
  writer.writeStringValue("sha256", messageMediaAttachment.sha256);
9050
9105
  writer.writeNumberValue("size", messageMediaAttachment.size);
9051
9106
  writer.writeStringValue("url", messageMediaAttachment.url);
@@ -10587,6 +10642,7 @@ export function serializePhoneNumberRequest(writer, phoneNumberRequest = {}, isS
10587
10642
  }
10588
10643
  writer.writeStringValue("name", phoneNumberRequest.name);
10589
10644
  writer.writeStringValue("number", phoneNumberRequest.number);
10645
+ writer.writeBooleanValue("numberHealthEnabled", phoneNumberRequest.numberHealthEnabled);
10590
10646
  writer.writeAdditionalData(phoneNumberRequest.additionalData);
10591
10647
  }
10592
10648
  /**
@@ -10607,6 +10663,7 @@ export function serializePhoneNumberResponse(writer, phoneNumberResponse = {}, i
10607
10663
  writer.writeDateValue("modifiedAt", phoneNumberResponse.modifiedAt);
10608
10664
  writer.writeStringValue("name", phoneNumberResponse.name);
10609
10665
  writer.writeStringValue("number", phoneNumberResponse.number);
10666
+ writer.writeBooleanValue("numberHealthEnabled", phoneNumberResponse.numberHealthEnabled);
10610
10667
  writer.writeObjectValue("organization", phoneNumberResponse.organization, serializePhoneNumberResponse_organization);
10611
10668
  writer.writeStringValue("phoneIdentityId", phoneNumberResponse.phoneIdentityId);
10612
10669
  writer.writeObjectValue("routing", phoneNumberResponse.routing, serializePhoneNumberRoutingMetadata);