@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.
@@ -7730,6 +7730,18 @@ export interface LeadMetadata extends AdditionalDataHolder, Parsable {
7730
7730
  * Seller-provided lead identifier used to deduplicate and reconcile lead delivery.
7731
7731
  */
7732
7732
  sellerLeadId?: string | null;
7733
+ /**
7734
+ * Interest expressed in the lead's first inbound text reply, independent of contact consent.
7735
+ */
7736
+ sentiment?: LeadMetadata_sentiment | null;
7737
+ /**
7738
+ * Completion time, including a first reply that has no positive or negative sentiment.
7739
+ */
7740
+ sentimentAnalyzedAt?: Date | null;
7741
+ /**
7742
+ * First inbound SMS selected for sentiment analysis. Later replies cannot replace it.
7743
+ */
7744
+ sentimentMessageId?: string | null;
7733
7745
  /**
7734
7746
  * Phone number where SMS consent was captured or evaluated.
7735
7747
  */
@@ -7804,6 +7816,7 @@ export interface LeadMetadata extends AdditionalDataHolder, Parsable {
7804
7816
  vertical?: string | null;
7805
7817
  }
7806
7818
  export type LeadMetadata_consentCertificateType = (typeof LeadMetadata_consentCertificateTypeObject)[keyof typeof LeadMetadata_consentCertificateTypeObject];
7819
+ export type LeadMetadata_sentiment = (typeof LeadMetadata_sentimentObject)[keyof typeof LeadMetadata_sentimentObject];
7807
7820
  /**
7808
7821
  * Source-provided key-value metadata retained for lead attribution and integration troubleshooting.
7809
7822
  */
@@ -8655,6 +8668,10 @@ export interface LeadTableRow extends AdditionalDataHolder, Parsable {
8655
8668
  * Explanation when asynchronous lead processing is blocked or fails.
8656
8669
  */
8657
8670
  processingStatusReason?: string | null;
8671
+ /**
8672
+ * Interest expressed in the lead's first inbound text reply, independent of contact consent.
8673
+ */
8674
+ sentiment?: LeadTableRow_sentiment | null;
8658
8675
  /**
8659
8676
  * Provides a compact API reference to another resource using its stable identifier and human-readable display name.
8660
8677
  */
@@ -8692,6 +8709,7 @@ export interface LeadTableRow_currentLeadStatus extends CurrentLeadStatusSummary
8692
8709
  export interface LeadTableRow_organization extends IdNamePair, Parsable {
8693
8710
  }
8694
8711
  export type LeadTableRow_processingStatus = (typeof LeadTableRow_processingStatusObject)[keyof typeof LeadTableRow_processingStatusObject];
8712
+ export type LeadTableRow_sentiment = (typeof LeadTableRow_sentimentObject)[keyof typeof LeadTableRow_sentimentObject];
8695
8713
  /**
8696
8714
  * Provides a compact API reference to another resource using its stable identifier and human-readable display name.
8697
8715
  */
@@ -11261,6 +11279,10 @@ export interface PhoneNumberLocation extends AdditionalDataHolder, Parsable {
11261
11279
  * Geographic location metadata for the phone number, lead, or lookup result.
11262
11280
  */
11263
11281
  location?: string | null;
11282
+ /**
11283
+ * When local geography resolution completed, including when no geographic match exists. Prevents repeated resolution until an explicit rebuild or new carrier lookup.
11284
+ */
11285
+ resolvedAt?: Date | null;
11264
11286
  /**
11265
11287
  * State, province, or region for the lead or organization postal address.
11266
11288
  */
@@ -16214,6 +16236,18 @@ export interface UserNotificationPreferences extends AdditionalDataHolder, Parsa
16214
16236
  * Indicates whether payment failed SMS functionality is enabled for this Leadping user notification preferences.
16215
16237
  */
16216
16238
  paymentFailedSmsEnabled?: boolean | null;
16239
+ /**
16240
+ * Email alerts when a lead's first text reply has positive sentiment.
16241
+ */
16242
+ positiveSentimentEmailEnabled?: boolean | null;
16243
+ /**
16244
+ * Send push alerts when a lead's first text reply has positive sentiment.
16245
+ */
16246
+ positiveSentimentEnabled?: boolean | null;
16247
+ /**
16248
+ * Text alerts for positive first replies, subject to notification SMS consent.
16249
+ */
16250
+ positiveSentimentSmsEnabled?: boolean | null;
16217
16251
  /**
16218
16252
  * Whether notification delivery respects the user's daily quiet hours.
16219
16253
  */
@@ -16912,6 +16946,13 @@ export declare const LeadMetadata_consentCertificateTypeObject: {
16912
16946
  readonly Leadping: "Leadping";
16913
16947
  readonly Other: "Other";
16914
16948
  };
16949
+ /**
16950
+ * Interest expressed in the lead's first inbound text reply, independent of contact consent.
16951
+ */
16952
+ export declare const LeadMetadata_sentimentObject: {
16953
+ readonly Positive: "Positive";
16954
+ readonly Negative: "Negative";
16955
+ };
16915
16956
  /**
16916
16957
  * Classifies a lead's self-reported gender when required by a qualification, demographic, or integration workflow.
16917
16958
  */
@@ -17047,6 +17088,13 @@ export declare const LeadTableRow_processingStatusObject: {
17047
17088
  readonly Invalid: "Invalid";
17048
17089
  readonly Failed: "Failed";
17049
17090
  };
17091
+ /**
17092
+ * Interest expressed in the lead's first inbound text reply, independent of contact consent.
17093
+ */
17094
+ export declare const LeadTableRow_sentimentObject: {
17095
+ readonly Positive: "Positive";
17096
+ readonly Negative: "Negative";
17097
+ };
17050
17098
  /**
17051
17099
  * Ranks the urgency and presentation importance of a Leadping user notification.
17052
17100
  */
@@ -17060,6 +17108,7 @@ export declare const NotificationPriorityObject: {
17060
17108
  * Identifies the Leadping workflow or account event communicated by a user notification.
17061
17109
  */
17062
17110
  export declare const NotificationTypeObject: {
17111
+ readonly PositiveSentiment: "PositiveSentiment";
17063
17112
  readonly Appointment: "Appointment";
17064
17113
  readonly General: "General";
17065
17114
  readonly Lead: "Lead";