@leadping/sdk 1.0.126 → 1.0.127

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
  };
@@ -5490,6 +5500,17 @@ export function deserializeIntoLeadTagsRequest(leadTagsRequest = {}) {
5490
5500
  "tagNames": n => { leadTagsRequest.tagNames = n.getCollectionOfPrimitiveValues("string"); },
5491
5501
  };
5492
5502
  }
5503
+ /**
5504
+ * The deserialization information for the current model
5505
+ * @param ManualDialRequest The instance to deserialize into.
5506
+ * @returns {Record<string, (node: ParseNode) => void>}
5507
+ */
5508
+ // @ts-ignore
5509
+ export function deserializeIntoManualDialRequest(manualDialRequest = {}) {
5510
+ return {
5511
+ "phoneNumber": n => { manualDialRequest.phoneNumber = n.getStringValue(); },
5512
+ };
5513
+ }
5493
5514
  /**
5494
5515
  * The deserialization information for the current model
5495
5516
  * @param MessageMediaAttachment The instance to deserialize into.
@@ -10530,6 +10551,7 @@ export function serializeLeadContactabilityResponse(writer, leadContactabilityRe
10530
10551
  writer.writeStringValue("callBlockedReason", leadContactabilityResponse.callBlockedReason);
10531
10552
  writer.writeBooleanValue("canCall", leadContactabilityResponse.canCall);
10532
10553
  writer.writeBooleanValue("canText", leadContactabilityResponse.canText);
10554
+ writer.writeDateValue("nextWindowChangeAt", leadContactabilityResponse.nextWindowChangeAt);
10533
10555
  writer.writeBooleanValue("smsLineRestricted", leadContactabilityResponse.smsLineRestricted);
10534
10556
  writer.writeStringValue("textBlockedReason", leadContactabilityResponse.textBlockedReason);
10535
10557
  writer.writeAdditionalData(leadContactabilityResponse.additionalData);
@@ -11443,6 +11465,20 @@ export function serializeLeadTagsRequest(writer, leadTagsRequest = {}, isSeriali
11443
11465
  writer.writeCollectionOfPrimitiveValues("tagNames", leadTagsRequest.tagNames);
11444
11466
  writer.writeAdditionalData(leadTagsRequest.additionalData);
11445
11467
  }
11468
+ /**
11469
+ * Serializes information the current object
11470
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
11471
+ * @param ManualDialRequest The instance to serialize from.
11472
+ * @param writer Serialization writer to use to serialize this model
11473
+ */
11474
+ // @ts-ignore
11475
+ export function serializeManualDialRequest(writer, manualDialRequest = {}, isSerializingDerivedType = false) {
11476
+ if (!manualDialRequest || isSerializingDerivedType) {
11477
+ return;
11478
+ }
11479
+ writer.writeStringValue("phoneNumber", manualDialRequest.phoneNumber);
11480
+ writer.writeAdditionalData(manualDialRequest.additionalData);
11481
+ }
11446
11482
  /**
11447
11483
  * Serializes information the current object
11448
11484
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -15248,6 +15284,7 @@ export const LeadInquiry_urgencyObject = {
15248
15284
  export const LeadIntakeRequest_consentCertificateTypeObject = {
15249
15285
  TrustedForm: "TrustedForm",
15250
15286
  Leadping: "Leadping",
15287
+ ManualVoice: "ManualVoice",
15251
15288
  Other: "Other",
15252
15289
  };
15253
15290
  /**
@@ -15256,6 +15293,7 @@ export const LeadIntakeRequest_consentCertificateTypeObject = {
15256
15293
  export const LeadMetadata_consentCertificateTypeObject = {
15257
15294
  TrustedForm: "TrustedForm",
15258
15295
  Leadping: "Leadping",
15296
+ ManualVoice: "ManualVoice",
15259
15297
  Other: "Other",
15260
15298
  };
15261
15299
  /**