@leadping/sdk 1.0.113 → 1.0.115

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.
@@ -4274,8 +4274,11 @@ export function deserializeIntoCustomerResponseSlaPoint(customerResponseSlaPoint
4274
4274
  // @ts-ignore
4275
4275
  export function deserializeIntoEligibleOutgoingNumberResponse(eligibleOutgoingNumberResponse = {}) {
4276
4276
  return {
4277
+ "callUnavailableReason": n => { eligibleOutgoingNumberResponse.callUnavailableReason = n.getStringValue(); },
4277
4278
  "campaignId": n => { eligibleOutgoingNumberResponse.campaignId = n.getStringValue(); },
4279
+ "canCall": n => { eligibleOutgoingNumberResponse.canCall = n.getBooleanValue(); },
4278
4280
  "canSend": n => { eligibleOutgoingNumberResponse.canSend = n.getBooleanValue(); },
4281
+ "canText": n => { eligibleOutgoingNumberResponse.canText = n.getBooleanValue(); },
4279
4282
  "displayNumber": n => { eligibleOutgoingNumberResponse.displayNumber = n.getStringValue(); },
4280
4283
  "healthLabel": n => { eligibleOutgoingNumberResponse.healthLabel = n.getStringValue(); },
4281
4284
  "healthStatus": n => { eligibleOutgoingNumberResponse.healthStatus = n.getEnumValue(EligibleOutgoingNumberResponse_healthStatusObject); },
@@ -4289,6 +4292,7 @@ export function deserializeIntoEligibleOutgoingNumberResponse(eligibleOutgoingNu
4289
4292
  "sourceId": n => { eligibleOutgoingNumberResponse.sourceId = n.getStringValue(); },
4290
4293
  "state": n => { eligibleOutgoingNumberResponse.state = n.getStringValue(); },
4291
4294
  "teamId": n => { eligibleOutgoingNumberResponse.teamId = n.getStringValue(); },
4295
+ "textUnavailableReason": n => { eligibleOutgoingNumberResponse.textUnavailableReason = n.getStringValue(); },
4292
4296
  };
4293
4297
  }
4294
4298
  /**
@@ -4868,6 +4872,9 @@ export function deserializeIntoLeadMetadata(leadMetadata = {}) {
4868
4872
  "pubId": n => { leadMetadata.pubId = n.getStringValue(); },
4869
4873
  "referrer": n => { leadMetadata.referrer = n.getStringValue(); },
4870
4874
  "sellerLeadId": n => { leadMetadata.sellerLeadId = n.getStringValue(); },
4875
+ "sentiment": n => { leadMetadata.sentiment = n.getEnumValue(LeadMetadata_sentimentObject); },
4876
+ "sentimentAnalyzedAt": n => { leadMetadata.sentimentAnalyzedAt = n.getDateValue(); },
4877
+ "sentimentMessageId": n => { leadMetadata.sentimentMessageId = n.getStringValue(); },
4871
4878
  "smsConsentPhoneNumber": n => { leadMetadata.smsConsentPhoneNumber = n.getStringValue(); },
4872
4879
  "smsConsentStatus": n => { leadMetadata.smsConsentStatus = n.getStringValue(); },
4873
4880
  "smsHelpRequestedAt": n => { leadMetadata.smsHelpRequestedAt = n.getDateValue(); },
@@ -5361,6 +5368,7 @@ export function deserializeIntoLeadTableRow(leadTableRow = {}) {
5361
5368
  "processingStatus": n => { leadTableRow.processingStatus = n.getEnumValue(LeadTableRow_processingStatusObject); },
5362
5369
  "processingStatusChangedAt": n => { leadTableRow.processingStatusChangedAt = n.getDateValue(); },
5363
5370
  "processingStatusReason": n => { leadTableRow.processingStatusReason = n.getStringValue(); },
5371
+ "sentiment": n => { leadTableRow.sentiment = n.getEnumValue(LeadTableRow_sentimentObject); },
5364
5372
  "source": n => { leadTableRow.source = n.getObjectValue(createLeadTableRow_sourceFromDiscriminatorValue); },
5365
5373
  "status": n => { leadTableRow.status = n.getStringValue(); },
5366
5374
  "statusTone": n => { leadTableRow.statusTone = n.getStringValue(); },
@@ -8201,6 +8209,9 @@ export function deserializeIntoUserNotificationPreferences(userNotificationPrefe
8201
8209
  "newLeadSmsEnabled": n => { userNotificationPreferences.newLeadSmsEnabled = n.getBooleanValue(); },
8202
8210
  "paymentFailedEnabled": n => { userNotificationPreferences.paymentFailedEnabled = n.getBooleanValue(); },
8203
8211
  "paymentFailedSmsEnabled": n => { userNotificationPreferences.paymentFailedSmsEnabled = n.getBooleanValue(); },
8212
+ "positiveSentimentEmailEnabled": n => { userNotificationPreferences.positiveSentimentEmailEnabled = n.getBooleanValue(); },
8213
+ "positiveSentimentEnabled": n => { userNotificationPreferences.positiveSentimentEnabled = n.getBooleanValue(); },
8214
+ "positiveSentimentSmsEnabled": n => { userNotificationPreferences.positiveSentimentSmsEnabled = n.getBooleanValue(); },
8204
8215
  "quietHoursEnabled": n => { userNotificationPreferences.quietHoursEnabled = n.getBooleanValue(); },
8205
8216
  "quietHoursEnd": n => { userNotificationPreferences.quietHoursEnd = n.getTimeOnlyValue(); },
8206
8217
  "quietHoursQueueEnabled": n => { userNotificationPreferences.quietHoursQueueEnabled = n.getBooleanValue(); },
@@ -9982,8 +9993,11 @@ export function serializeEligibleOutgoingNumberResponse(writer, eligibleOutgoing
9982
9993
  if (!eligibleOutgoingNumberResponse || isSerializingDerivedType) {
9983
9994
  return;
9984
9995
  }
9996
+ writer.writeStringValue("callUnavailableReason", eligibleOutgoingNumberResponse.callUnavailableReason);
9985
9997
  writer.writeStringValue("campaignId", eligibleOutgoingNumberResponse.campaignId);
9998
+ writer.writeBooleanValue("canCall", eligibleOutgoingNumberResponse.canCall);
9986
9999
  writer.writeBooleanValue("canSend", eligibleOutgoingNumberResponse.canSend);
10000
+ writer.writeBooleanValue("canText", eligibleOutgoingNumberResponse.canText);
9987
10001
  writer.writeStringValue("displayNumber", eligibleOutgoingNumberResponse.displayNumber);
9988
10002
  writer.writeStringValue("healthLabel", eligibleOutgoingNumberResponse.healthLabel);
9989
10003
  writer.writeEnumValue("healthStatus", eligibleOutgoingNumberResponse.healthStatus);
@@ -9997,6 +10011,7 @@ export function serializeEligibleOutgoingNumberResponse(writer, eligibleOutgoing
9997
10011
  writer.writeStringValue("sourceId", eligibleOutgoingNumberResponse.sourceId);
9998
10012
  writer.writeStringValue("state", eligibleOutgoingNumberResponse.state);
9999
10013
  writer.writeStringValue("teamId", eligibleOutgoingNumberResponse.teamId);
10014
+ writer.writeStringValue("textUnavailableReason", eligibleOutgoingNumberResponse.textUnavailableReason);
10000
10015
  writer.writeAdditionalData(eligibleOutgoingNumberResponse.additionalData);
10001
10016
  }
10002
10017
  /**
@@ -10668,6 +10683,9 @@ export function serializeLeadMetadata(writer, leadMetadata = {}, isSerializingDe
10668
10683
  writer.writeStringValue("pubId", leadMetadata.pubId);
10669
10684
  writer.writeStringValue("referrer", leadMetadata.referrer);
10670
10685
  writer.writeStringValue("sellerLeadId", leadMetadata.sellerLeadId);
10686
+ writer.writeEnumValue("sentiment", leadMetadata.sentiment);
10687
+ writer.writeDateValue("sentimentAnalyzedAt", leadMetadata.sentimentAnalyzedAt);
10688
+ writer.writeStringValue("sentimentMessageId", leadMetadata.sentimentMessageId);
10671
10689
  writer.writeStringValue("smsConsentPhoneNumber", leadMetadata.smsConsentPhoneNumber);
10672
10690
  writer.writeStringValue("smsConsentStatus", leadMetadata.smsConsentStatus);
10673
10691
  writer.writeDateValue("smsHelpRequestedAt", leadMetadata.smsHelpRequestedAt);
@@ -11237,6 +11255,7 @@ export function serializeLeadTableRow(writer, leadTableRow = {}, isSerializingDe
11237
11255
  writer.writeEnumValue("processingStatus", leadTableRow.processingStatus);
11238
11256
  writer.writeDateValue("processingStatusChangedAt", leadTableRow.processingStatusChangedAt);
11239
11257
  writer.writeStringValue("processingStatusReason", leadTableRow.processingStatusReason);
11258
+ writer.writeEnumValue("sentiment", leadTableRow.sentiment);
11240
11259
  writer.writeObjectValue("source", leadTableRow.source, serializeLeadTableRow_source);
11241
11260
  writer.writeStringValue("status", leadTableRow.status);
11242
11261
  writer.writeStringValue("statusTone", leadTableRow.statusTone);
@@ -14535,6 +14554,9 @@ export function serializeUserNotificationPreferences(writer, userNotificationPre
14535
14554
  writer.writeBooleanValue("newLeadSmsEnabled", userNotificationPreferences.newLeadSmsEnabled);
14536
14555
  writer.writeBooleanValue("paymentFailedEnabled", userNotificationPreferences.paymentFailedEnabled);
14537
14556
  writer.writeBooleanValue("paymentFailedSmsEnabled", userNotificationPreferences.paymentFailedSmsEnabled);
14557
+ writer.writeBooleanValue("positiveSentimentEmailEnabled", userNotificationPreferences.positiveSentimentEmailEnabled);
14558
+ writer.writeBooleanValue("positiveSentimentEnabled", userNotificationPreferences.positiveSentimentEnabled);
14559
+ writer.writeBooleanValue("positiveSentimentSmsEnabled", userNotificationPreferences.positiveSentimentSmsEnabled);
14538
14560
  writer.writeBooleanValue("quietHoursEnabled", userNotificationPreferences.quietHoursEnabled);
14539
14561
  writer.writeTimeOnlyValue("quietHoursEnd", userNotificationPreferences.quietHoursEnd);
14540
14562
  writer.writeBooleanValue("quietHoursQueueEnabled", userNotificationPreferences.quietHoursQueueEnabled);
@@ -15114,6 +15136,13 @@ export const LeadMetadata_consentCertificateTypeObject = {
15114
15136
  Leadping: "Leadping",
15115
15137
  Other: "Other",
15116
15138
  };
15139
+ /**
15140
+ * Interest expressed in the lead's first inbound text reply, independent of contact consent.
15141
+ */
15142
+ export const LeadMetadata_sentimentObject = {
15143
+ Positive: "Positive",
15144
+ Negative: "Negative",
15145
+ };
15117
15146
  /**
15118
15147
  * Classifies a lead's self-reported gender when required by a qualification, demographic, or integration workflow.
15119
15148
  */
@@ -15249,6 +15278,13 @@ export const LeadTableRow_processingStatusObject = {
15249
15278
  Invalid: "Invalid",
15250
15279
  Failed: "Failed",
15251
15280
  };
15281
+ /**
15282
+ * Interest expressed in the lead's first inbound text reply, independent of contact consent.
15283
+ */
15284
+ export const LeadTableRow_sentimentObject = {
15285
+ Positive: "Positive",
15286
+ Negative: "Negative",
15287
+ };
15252
15288
  /**
15253
15289
  * Ranks the urgency and presentation importance of a Leadping user notification.
15254
15290
  */
@@ -15262,6 +15298,7 @@ export const NotificationPriorityObject = {
15262
15298
  * Identifies the Leadping workflow or account event communicated by a user notification.
15263
15299
  */
15264
15300
  export const NotificationTypeObject = {
15301
+ PositiveSentiment: "PositiveSentiment",
15265
15302
  Appointment: "Appointment",
15266
15303
  General: "General",
15267
15304
  Lead: "Lead",