@leadping/sdk 1.0.114 → 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.
@@ -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(); },
@@ -8205,6 +8209,9 @@ export function deserializeIntoUserNotificationPreferences(userNotificationPrefe
8205
8209
  "newLeadSmsEnabled": n => { userNotificationPreferences.newLeadSmsEnabled = n.getBooleanValue(); },
8206
8210
  "paymentFailedEnabled": n => { userNotificationPreferences.paymentFailedEnabled = n.getBooleanValue(); },
8207
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(); },
8208
8215
  "quietHoursEnabled": n => { userNotificationPreferences.quietHoursEnabled = n.getBooleanValue(); },
8209
8216
  "quietHoursEnd": n => { userNotificationPreferences.quietHoursEnd = n.getTimeOnlyValue(); },
8210
8217
  "quietHoursQueueEnabled": n => { userNotificationPreferences.quietHoursQueueEnabled = n.getBooleanValue(); },
@@ -10676,6 +10683,9 @@ export function serializeLeadMetadata(writer, leadMetadata = {}, isSerializingDe
10676
10683
  writer.writeStringValue("pubId", leadMetadata.pubId);
10677
10684
  writer.writeStringValue("referrer", leadMetadata.referrer);
10678
10685
  writer.writeStringValue("sellerLeadId", leadMetadata.sellerLeadId);
10686
+ writer.writeEnumValue("sentiment", leadMetadata.sentiment);
10687
+ writer.writeDateValue("sentimentAnalyzedAt", leadMetadata.sentimentAnalyzedAt);
10688
+ writer.writeStringValue("sentimentMessageId", leadMetadata.sentimentMessageId);
10679
10689
  writer.writeStringValue("smsConsentPhoneNumber", leadMetadata.smsConsentPhoneNumber);
10680
10690
  writer.writeStringValue("smsConsentStatus", leadMetadata.smsConsentStatus);
10681
10691
  writer.writeDateValue("smsHelpRequestedAt", leadMetadata.smsHelpRequestedAt);
@@ -11245,6 +11255,7 @@ export function serializeLeadTableRow(writer, leadTableRow = {}, isSerializingDe
11245
11255
  writer.writeEnumValue("processingStatus", leadTableRow.processingStatus);
11246
11256
  writer.writeDateValue("processingStatusChangedAt", leadTableRow.processingStatusChangedAt);
11247
11257
  writer.writeStringValue("processingStatusReason", leadTableRow.processingStatusReason);
11258
+ writer.writeEnumValue("sentiment", leadTableRow.sentiment);
11248
11259
  writer.writeObjectValue("source", leadTableRow.source, serializeLeadTableRow_source);
11249
11260
  writer.writeStringValue("status", leadTableRow.status);
11250
11261
  writer.writeStringValue("statusTone", leadTableRow.statusTone);
@@ -14543,6 +14554,9 @@ export function serializeUserNotificationPreferences(writer, userNotificationPre
14543
14554
  writer.writeBooleanValue("newLeadSmsEnabled", userNotificationPreferences.newLeadSmsEnabled);
14544
14555
  writer.writeBooleanValue("paymentFailedEnabled", userNotificationPreferences.paymentFailedEnabled);
14545
14556
  writer.writeBooleanValue("paymentFailedSmsEnabled", userNotificationPreferences.paymentFailedSmsEnabled);
14557
+ writer.writeBooleanValue("positiveSentimentEmailEnabled", userNotificationPreferences.positiveSentimentEmailEnabled);
14558
+ writer.writeBooleanValue("positiveSentimentEnabled", userNotificationPreferences.positiveSentimentEnabled);
14559
+ writer.writeBooleanValue("positiveSentimentSmsEnabled", userNotificationPreferences.positiveSentimentSmsEnabled);
14546
14560
  writer.writeBooleanValue("quietHoursEnabled", userNotificationPreferences.quietHoursEnabled);
14547
14561
  writer.writeTimeOnlyValue("quietHoursEnd", userNotificationPreferences.quietHoursEnd);
14548
14562
  writer.writeBooleanValue("quietHoursQueueEnabled", userNotificationPreferences.quietHoursQueueEnabled);
@@ -15122,6 +15136,13 @@ export const LeadMetadata_consentCertificateTypeObject = {
15122
15136
  Leadping: "Leadping",
15123
15137
  Other: "Other",
15124
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
+ };
15125
15146
  /**
15126
15147
  * Classifies a lead's self-reported gender when required by a qualification, demographic, or integration workflow.
15127
15148
  */
@@ -15257,6 +15278,13 @@ export const LeadTableRow_processingStatusObject = {
15257
15278
  Invalid: "Invalid",
15258
15279
  Failed: "Failed",
15259
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
+ };
15260
15288
  /**
15261
15289
  * Ranks the urgency and presentation importance of a Leadping user notification.
15262
15290
  */
@@ -15270,6 +15298,7 @@ export const NotificationPriorityObject = {
15270
15298
  * Identifies the Leadping workflow or account event communicated by a user notification.
15271
15299
  */
15272
15300
  export const NotificationTypeObject = {
15301
+ PositiveSentiment: "PositiveSentiment",
15273
15302
  Appointment: "Appointment",
15274
15303
  General: "General",
15275
15304
  Lead: "Lead",