@leadping/sdk 1.0.114 → 1.0.116

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.
@@ -4872,6 +4872,9 @@ export function deserializeIntoLeadMetadata(leadMetadata = {}) {
4872
4872
  "pubId": n => { leadMetadata.pubId = n.getStringValue(); },
4873
4873
  "referrer": n => { leadMetadata.referrer = n.getStringValue(); },
4874
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(); },
4875
4878
  "smsConsentPhoneNumber": n => { leadMetadata.smsConsentPhoneNumber = n.getStringValue(); },
4876
4879
  "smsConsentStatus": n => { leadMetadata.smsConsentStatus = n.getStringValue(); },
4877
4880
  "smsHelpRequestedAt": n => { leadMetadata.smsHelpRequestedAt = n.getDateValue(); },
@@ -5365,6 +5368,7 @@ export function deserializeIntoLeadTableRow(leadTableRow = {}) {
5365
5368
  "processingStatus": n => { leadTableRow.processingStatus = n.getEnumValue(LeadTableRow_processingStatusObject); },
5366
5369
  "processingStatusChangedAt": n => { leadTableRow.processingStatusChangedAt = n.getDateValue(); },
5367
5370
  "processingStatusReason": n => { leadTableRow.processingStatusReason = n.getStringValue(); },
5371
+ "sentiment": n => { leadTableRow.sentiment = n.getEnumValue(LeadTableRow_sentimentObject); },
5368
5372
  "source": n => { leadTableRow.source = n.getObjectValue(createLeadTableRow_sourceFromDiscriminatorValue); },
5369
5373
  "status": n => { leadTableRow.status = n.getStringValue(); },
5370
5374
  "statusTone": n => { leadTableRow.statusTone = n.getStringValue(); },
@@ -6785,6 +6789,7 @@ export function deserializeIntoPhoneNumberLocation(phoneNumberLocation = {}) {
6785
6789
  "countryCode": n => { phoneNumberLocation.countryCode = n.getStringValue(); },
6786
6790
  "isCoordinateApproximate": n => { phoneNumberLocation.isCoordinateApproximate = n.getBooleanValue(); },
6787
6791
  "location": n => { phoneNumberLocation.location = n.getStringValue(); },
6792
+ "resolvedAt": n => { phoneNumberLocation.resolvedAt = n.getDateValue(); },
6788
6793
  "state": n => { phoneNumberLocation.state = n.getStringValue(); },
6789
6794
  "timeZoneId": n => { phoneNumberLocation.timeZoneId = n.getStringValue(); },
6790
6795
  "timeZoneSource": n => { phoneNumberLocation.timeZoneSource = n.getObjectValue(createPhoneNumberLocation_timeZoneSourceFromDiscriminatorValue); },
@@ -8205,6 +8210,9 @@ export function deserializeIntoUserNotificationPreferences(userNotificationPrefe
8205
8210
  "newLeadSmsEnabled": n => { userNotificationPreferences.newLeadSmsEnabled = n.getBooleanValue(); },
8206
8211
  "paymentFailedEnabled": n => { userNotificationPreferences.paymentFailedEnabled = n.getBooleanValue(); },
8207
8212
  "paymentFailedSmsEnabled": n => { userNotificationPreferences.paymentFailedSmsEnabled = n.getBooleanValue(); },
8213
+ "positiveSentimentEmailEnabled": n => { userNotificationPreferences.positiveSentimentEmailEnabled = n.getBooleanValue(); },
8214
+ "positiveSentimentEnabled": n => { userNotificationPreferences.positiveSentimentEnabled = n.getBooleanValue(); },
8215
+ "positiveSentimentSmsEnabled": n => { userNotificationPreferences.positiveSentimentSmsEnabled = n.getBooleanValue(); },
8208
8216
  "quietHoursEnabled": n => { userNotificationPreferences.quietHoursEnabled = n.getBooleanValue(); },
8209
8217
  "quietHoursEnd": n => { userNotificationPreferences.quietHoursEnd = n.getTimeOnlyValue(); },
8210
8218
  "quietHoursQueueEnabled": n => { userNotificationPreferences.quietHoursQueueEnabled = n.getBooleanValue(); },
@@ -10676,6 +10684,9 @@ export function serializeLeadMetadata(writer, leadMetadata = {}, isSerializingDe
10676
10684
  writer.writeStringValue("pubId", leadMetadata.pubId);
10677
10685
  writer.writeStringValue("referrer", leadMetadata.referrer);
10678
10686
  writer.writeStringValue("sellerLeadId", leadMetadata.sellerLeadId);
10687
+ writer.writeEnumValue("sentiment", leadMetadata.sentiment);
10688
+ writer.writeDateValue("sentimentAnalyzedAt", leadMetadata.sentimentAnalyzedAt);
10689
+ writer.writeStringValue("sentimentMessageId", leadMetadata.sentimentMessageId);
10679
10690
  writer.writeStringValue("smsConsentPhoneNumber", leadMetadata.smsConsentPhoneNumber);
10680
10691
  writer.writeStringValue("smsConsentStatus", leadMetadata.smsConsentStatus);
10681
10692
  writer.writeDateValue("smsHelpRequestedAt", leadMetadata.smsHelpRequestedAt);
@@ -11245,6 +11256,7 @@ export function serializeLeadTableRow(writer, leadTableRow = {}, isSerializingDe
11245
11256
  writer.writeEnumValue("processingStatus", leadTableRow.processingStatus);
11246
11257
  writer.writeDateValue("processingStatusChangedAt", leadTableRow.processingStatusChangedAt);
11247
11258
  writer.writeStringValue("processingStatusReason", leadTableRow.processingStatusReason);
11259
+ writer.writeEnumValue("sentiment", leadTableRow.sentiment);
11248
11260
  writer.writeObjectValue("source", leadTableRow.source, serializeLeadTableRow_source);
11249
11261
  writer.writeStringValue("status", leadTableRow.status);
11250
11262
  writer.writeStringValue("statusTone", leadTableRow.statusTone);
@@ -12899,6 +12911,7 @@ export function serializePhoneNumberLocation(writer, phoneNumberLocation = {}, i
12899
12911
  writer.writeStringValue("countryCode", phoneNumberLocation.countryCode);
12900
12912
  writer.writeBooleanValue("isCoordinateApproximate", phoneNumberLocation.isCoordinateApproximate);
12901
12913
  writer.writeStringValue("location", phoneNumberLocation.location);
12914
+ writer.writeDateValue("resolvedAt", phoneNumberLocation.resolvedAt);
12902
12915
  writer.writeStringValue("state", phoneNumberLocation.state);
12903
12916
  writer.writeStringValue("timeZoneId", phoneNumberLocation.timeZoneId);
12904
12917
  writer.writeObjectValue("timeZoneSource", phoneNumberLocation.timeZoneSource, serializePhoneNumberLocation_timeZoneSource);
@@ -14543,6 +14556,9 @@ export function serializeUserNotificationPreferences(writer, userNotificationPre
14543
14556
  writer.writeBooleanValue("newLeadSmsEnabled", userNotificationPreferences.newLeadSmsEnabled);
14544
14557
  writer.writeBooleanValue("paymentFailedEnabled", userNotificationPreferences.paymentFailedEnabled);
14545
14558
  writer.writeBooleanValue("paymentFailedSmsEnabled", userNotificationPreferences.paymentFailedSmsEnabled);
14559
+ writer.writeBooleanValue("positiveSentimentEmailEnabled", userNotificationPreferences.positiveSentimentEmailEnabled);
14560
+ writer.writeBooleanValue("positiveSentimentEnabled", userNotificationPreferences.positiveSentimentEnabled);
14561
+ writer.writeBooleanValue("positiveSentimentSmsEnabled", userNotificationPreferences.positiveSentimentSmsEnabled);
14546
14562
  writer.writeBooleanValue("quietHoursEnabled", userNotificationPreferences.quietHoursEnabled);
14547
14563
  writer.writeTimeOnlyValue("quietHoursEnd", userNotificationPreferences.quietHoursEnd);
14548
14564
  writer.writeBooleanValue("quietHoursQueueEnabled", userNotificationPreferences.quietHoursQueueEnabled);
@@ -15122,6 +15138,13 @@ export const LeadMetadata_consentCertificateTypeObject = {
15122
15138
  Leadping: "Leadping",
15123
15139
  Other: "Other",
15124
15140
  };
15141
+ /**
15142
+ * Interest expressed in the lead's first inbound text reply, independent of contact consent.
15143
+ */
15144
+ export const LeadMetadata_sentimentObject = {
15145
+ Positive: "Positive",
15146
+ Negative: "Negative",
15147
+ };
15125
15148
  /**
15126
15149
  * Classifies a lead's self-reported gender when required by a qualification, demographic, or integration workflow.
15127
15150
  */
@@ -15257,6 +15280,13 @@ export const LeadTableRow_processingStatusObject = {
15257
15280
  Invalid: "Invalid",
15258
15281
  Failed: "Failed",
15259
15282
  };
15283
+ /**
15284
+ * Interest expressed in the lead's first inbound text reply, independent of contact consent.
15285
+ */
15286
+ export const LeadTableRow_sentimentObject = {
15287
+ Positive: "Positive",
15288
+ Negative: "Negative",
15289
+ };
15260
15290
  /**
15261
15291
  * Ranks the urgency and presentation importance of a Leadping user notification.
15262
15292
  */
@@ -15270,6 +15300,7 @@ export const NotificationPriorityObject = {
15270
15300
  * Identifies the Leadping workflow or account event communicated by a user notification.
15271
15301
  */
15272
15302
  export const NotificationTypeObject = {
15303
+ PositiveSentiment: "PositiveSentiment",
15273
15304
  Appointment: "Appointment",
15274
15305
  General: "General",
15275
15306
  Lead: "Lead",