@leadping/sdk 1.0.126 → 1.0.128

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.
@@ -1353,6 +1353,15 @@ export function createLeadTableRowFromDiscriminatorValue(parseNode) {
1353
1353
  export function createLeadTagsRequestFromDiscriminatorValue(parseNode) {
1354
1354
  return deserializeIntoLeadTagsRequest;
1355
1355
  }
1356
+ /**
1357
+ * Creates a new instance of the appropriate class based on discriminator value
1358
+ * @param parseNode The parse node to use to read the discriminator value and create the object
1359
+ * @returns {ManualDialRequest}
1360
+ */
1361
+ // @ts-ignore
1362
+ export function createManualDialRequestFromDiscriminatorValue(parseNode) {
1363
+ return deserializeIntoManualDialRequest;
1364
+ }
1356
1365
  /**
1357
1366
  * Creates a new instance of the appropriate class based on discriminator value
1358
1367
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -4700,6 +4709,7 @@ export function deserializeIntoLeadContactabilityResponse(leadContactabilityResp
4700
4709
  "callBlockedReason": n => { leadContactabilityResponse.callBlockedReason = n.getStringValue(); },
4701
4710
  "canCall": n => { leadContactabilityResponse.canCall = n.getBooleanValue(); },
4702
4711
  "canText": n => { leadContactabilityResponse.canText = n.getBooleanValue(); },
4712
+ "nextWindowChangeAt": n => { leadContactabilityResponse.nextWindowChangeAt = n.getDateValue(); },
4703
4713
  "smsLineRestricted": n => { leadContactabilityResponse.smsLineRestricted = n.getBooleanValue(); },
4704
4714
  "textBlockedReason": n => { leadContactabilityResponse.textBlockedReason = n.getStringValue(); },
4705
4715
  };
@@ -5129,6 +5139,7 @@ export function deserializeIntoLeadResponse(leadResponse = {}) {
5129
5139
  "deletedAt": n => { leadResponse.deletedAt = n.getDateValue(); },
5130
5140
  "deletedByUserId": n => { leadResponse.deletedByUserId = n.getStringValue(); },
5131
5141
  "enabled": n => { leadResponse.enabled = n.getBooleanValue(); },
5142
+ "hasSourceSmsConsent": n => { leadResponse.hasSourceSmsConsent = n.getBooleanValue(); },
5132
5143
  "id": n => { leadResponse.id = n.getStringValue(); },
5133
5144
  "inquiry": n => { leadResponse.inquiry = n.getObjectValue(createLeadResponse_inquiryFromDiscriminatorValue); },
5134
5145
  "isArchived": n => { leadResponse.isArchived = n.getBooleanValue(); },
@@ -5490,6 +5501,17 @@ export function deserializeIntoLeadTagsRequest(leadTagsRequest = {}) {
5490
5501
  "tagNames": n => { leadTagsRequest.tagNames = n.getCollectionOfPrimitiveValues("string"); },
5491
5502
  };
5492
5503
  }
5504
+ /**
5505
+ * The deserialization information for the current model
5506
+ * @param ManualDialRequest The instance to deserialize into.
5507
+ * @returns {Record<string, (node: ParseNode) => void>}
5508
+ */
5509
+ // @ts-ignore
5510
+ export function deserializeIntoManualDialRequest(manualDialRequest = {}) {
5511
+ return {
5512
+ "phoneNumber": n => { manualDialRequest.phoneNumber = n.getStringValue(); },
5513
+ };
5514
+ }
5493
5515
  /**
5494
5516
  * The deserialization information for the current model
5495
5517
  * @param MessageMediaAttachment The instance to deserialize into.
@@ -10530,6 +10552,7 @@ export function serializeLeadContactabilityResponse(writer, leadContactabilityRe
10530
10552
  writer.writeStringValue("callBlockedReason", leadContactabilityResponse.callBlockedReason);
10531
10553
  writer.writeBooleanValue("canCall", leadContactabilityResponse.canCall);
10532
10554
  writer.writeBooleanValue("canText", leadContactabilityResponse.canText);
10555
+ writer.writeDateValue("nextWindowChangeAt", leadContactabilityResponse.nextWindowChangeAt);
10533
10556
  writer.writeBooleanValue("smsLineRestricted", leadContactabilityResponse.smsLineRestricted);
10534
10557
  writer.writeStringValue("textBlockedReason", leadContactabilityResponse.textBlockedReason);
10535
10558
  writer.writeAdditionalData(leadContactabilityResponse.additionalData);
@@ -11030,6 +11053,7 @@ export function serializeLeadResponse(writer, leadResponse = {}, isSerializingDe
11030
11053
  writer.writeDateValue("deletedAt", leadResponse.deletedAt);
11031
11054
  writer.writeStringValue("deletedByUserId", leadResponse.deletedByUserId);
11032
11055
  writer.writeBooleanValue("enabled", leadResponse.enabled);
11056
+ writer.writeBooleanValue("hasSourceSmsConsent", leadResponse.hasSourceSmsConsent);
11033
11057
  writer.writeStringValue("id", leadResponse.id);
11034
11058
  writer.writeObjectValue("inquiry", leadResponse.inquiry, serializeLeadResponse_inquiry);
11035
11059
  writer.writeBooleanValue("isArchived", leadResponse.isArchived);
@@ -11443,6 +11467,20 @@ export function serializeLeadTagsRequest(writer, leadTagsRequest = {}, isSeriali
11443
11467
  writer.writeCollectionOfPrimitiveValues("tagNames", leadTagsRequest.tagNames);
11444
11468
  writer.writeAdditionalData(leadTagsRequest.additionalData);
11445
11469
  }
11470
+ /**
11471
+ * Serializes information the current object
11472
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
11473
+ * @param ManualDialRequest The instance to serialize from.
11474
+ * @param writer Serialization writer to use to serialize this model
11475
+ */
11476
+ // @ts-ignore
11477
+ export function serializeManualDialRequest(writer, manualDialRequest = {}, isSerializingDerivedType = false) {
11478
+ if (!manualDialRequest || isSerializingDerivedType) {
11479
+ return;
11480
+ }
11481
+ writer.writeStringValue("phoneNumber", manualDialRequest.phoneNumber);
11482
+ writer.writeAdditionalData(manualDialRequest.additionalData);
11483
+ }
11446
11484
  /**
11447
11485
  * Serializes information the current object
11448
11486
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -15248,6 +15286,7 @@ export const LeadInquiry_urgencyObject = {
15248
15286
  export const LeadIntakeRequest_consentCertificateTypeObject = {
15249
15287
  TrustedForm: "TrustedForm",
15250
15288
  Leadping: "Leadping",
15289
+ ManualVoice: "ManualVoice",
15251
15290
  Other: "Other",
15252
15291
  };
15253
15292
  /**
@@ -15256,6 +15295,7 @@ export const LeadIntakeRequest_consentCertificateTypeObject = {
15256
15295
  export const LeadMetadata_consentCertificateTypeObject = {
15257
15296
  TrustedForm: "TrustedForm",
15258
15297
  Leadping: "Leadping",
15298
+ ManualVoice: "ManualVoice",
15259
15299
  Other: "Other",
15260
15300
  };
15261
15301
  /**