@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.
- package/dist/models/index.d.ts +61 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +37 -0
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
package/dist/models/index.d.ts
CHANGED
|
@@ -6508,14 +6508,26 @@ export declare function deserializeIntoWalletResponse(walletResponse?: Partial<W
|
|
|
6508
6508
|
* Describes a Leadping phone number that is eligible to send an outbound message or place a call.
|
|
6509
6509
|
*/
|
|
6510
6510
|
export interface EligibleOutgoingNumberResponse extends AdditionalDataHolder, Parsable {
|
|
6511
|
+
/**
|
|
6512
|
+
* Explains why outbound calls are unavailable for this sender.
|
|
6513
|
+
*/
|
|
6514
|
+
callUnavailableReason?: string | null;
|
|
6511
6515
|
/**
|
|
6512
6516
|
* Messaging campaign identifier associated with this eligible outgoing phone number.
|
|
6513
6517
|
*/
|
|
6514
6518
|
campaignId?: string | null;
|
|
6519
|
+
/**
|
|
6520
|
+
* Whether this sender is ready for outbound calls.
|
|
6521
|
+
*/
|
|
6522
|
+
canCall?: boolean | null;
|
|
6515
6523
|
/**
|
|
6516
6524
|
* Indicates whether Leadping can send outbound messages using this eligible outgoing phone number.
|
|
6517
6525
|
*/
|
|
6518
6526
|
canSend?: boolean | null;
|
|
6527
|
+
/**
|
|
6528
|
+
* Whether this sender is ready for outbound texts.
|
|
6529
|
+
*/
|
|
6530
|
+
canText?: boolean | null;
|
|
6519
6531
|
/**
|
|
6520
6532
|
* Human-readable phone number shown in Leadping UI and API responses.
|
|
6521
6533
|
*/
|
|
@@ -6568,6 +6580,10 @@ export interface EligibleOutgoingNumberResponse extends AdditionalDataHolder, Pa
|
|
|
6568
6580
|
* Organization ID used to determine this phone number's outbound eligibility.
|
|
6569
6581
|
*/
|
|
6570
6582
|
teamId?: string | null;
|
|
6583
|
+
/**
|
|
6584
|
+
* Explains why outbound texts are unavailable for this sender.
|
|
6585
|
+
*/
|
|
6586
|
+
textUnavailableReason?: string | null;
|
|
6571
6587
|
}
|
|
6572
6588
|
export type EligibleOutgoingNumberResponse_healthStatus = (typeof EligibleOutgoingNumberResponse_healthStatusObject)[keyof typeof EligibleOutgoingNumberResponse_healthStatusObject];
|
|
6573
6589
|
/**
|
|
@@ -7714,6 +7730,18 @@ export interface LeadMetadata extends AdditionalDataHolder, Parsable {
|
|
|
7714
7730
|
* Seller-provided lead identifier used to deduplicate and reconcile lead delivery.
|
|
7715
7731
|
*/
|
|
7716
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;
|
|
7717
7745
|
/**
|
|
7718
7746
|
* Phone number where SMS consent was captured or evaluated.
|
|
7719
7747
|
*/
|
|
@@ -7788,6 +7816,7 @@ export interface LeadMetadata extends AdditionalDataHolder, Parsable {
|
|
|
7788
7816
|
vertical?: string | null;
|
|
7789
7817
|
}
|
|
7790
7818
|
export type LeadMetadata_consentCertificateType = (typeof LeadMetadata_consentCertificateTypeObject)[keyof typeof LeadMetadata_consentCertificateTypeObject];
|
|
7819
|
+
export type LeadMetadata_sentiment = (typeof LeadMetadata_sentimentObject)[keyof typeof LeadMetadata_sentimentObject];
|
|
7791
7820
|
/**
|
|
7792
7821
|
* Source-provided key-value metadata retained for lead attribution and integration troubleshooting.
|
|
7793
7822
|
*/
|
|
@@ -8639,6 +8668,10 @@ export interface LeadTableRow extends AdditionalDataHolder, Parsable {
|
|
|
8639
8668
|
* Explanation when asynchronous lead processing is blocked or fails.
|
|
8640
8669
|
*/
|
|
8641
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;
|
|
8642
8675
|
/**
|
|
8643
8676
|
* Provides a compact API reference to another resource using its stable identifier and human-readable display name.
|
|
8644
8677
|
*/
|
|
@@ -8676,6 +8709,7 @@ export interface LeadTableRow_currentLeadStatus extends CurrentLeadStatusSummary
|
|
|
8676
8709
|
export interface LeadTableRow_organization extends IdNamePair, Parsable {
|
|
8677
8710
|
}
|
|
8678
8711
|
export type LeadTableRow_processingStatus = (typeof LeadTableRow_processingStatusObject)[keyof typeof LeadTableRow_processingStatusObject];
|
|
8712
|
+
export type LeadTableRow_sentiment = (typeof LeadTableRow_sentimentObject)[keyof typeof LeadTableRow_sentimentObject];
|
|
8679
8713
|
/**
|
|
8680
8714
|
* Provides a compact API reference to another resource using its stable identifier and human-readable display name.
|
|
8681
8715
|
*/
|
|
@@ -16198,6 +16232,18 @@ export interface UserNotificationPreferences extends AdditionalDataHolder, Parsa
|
|
|
16198
16232
|
* Indicates whether payment failed SMS functionality is enabled for this Leadping user notification preferences.
|
|
16199
16233
|
*/
|
|
16200
16234
|
paymentFailedSmsEnabled?: boolean | null;
|
|
16235
|
+
/**
|
|
16236
|
+
* Email alerts when a lead's first text reply has positive sentiment.
|
|
16237
|
+
*/
|
|
16238
|
+
positiveSentimentEmailEnabled?: boolean | null;
|
|
16239
|
+
/**
|
|
16240
|
+
* Send push alerts when a lead's first text reply has positive sentiment.
|
|
16241
|
+
*/
|
|
16242
|
+
positiveSentimentEnabled?: boolean | null;
|
|
16243
|
+
/**
|
|
16244
|
+
* Text alerts for positive first replies, subject to notification SMS consent.
|
|
16245
|
+
*/
|
|
16246
|
+
positiveSentimentSmsEnabled?: boolean | null;
|
|
16201
16247
|
/**
|
|
16202
16248
|
* Whether notification delivery respects the user's daily quiet hours.
|
|
16203
16249
|
*/
|
|
@@ -16896,6 +16942,13 @@ export declare const LeadMetadata_consentCertificateTypeObject: {
|
|
|
16896
16942
|
readonly Leadping: "Leadping";
|
|
16897
16943
|
readonly Other: "Other";
|
|
16898
16944
|
};
|
|
16945
|
+
/**
|
|
16946
|
+
* Interest expressed in the lead's first inbound text reply, independent of contact consent.
|
|
16947
|
+
*/
|
|
16948
|
+
export declare const LeadMetadata_sentimentObject: {
|
|
16949
|
+
readonly Positive: "Positive";
|
|
16950
|
+
readonly Negative: "Negative";
|
|
16951
|
+
};
|
|
16899
16952
|
/**
|
|
16900
16953
|
* Classifies a lead's self-reported gender when required by a qualification, demographic, or integration workflow.
|
|
16901
16954
|
*/
|
|
@@ -17031,6 +17084,13 @@ export declare const LeadTableRow_processingStatusObject: {
|
|
|
17031
17084
|
readonly Invalid: "Invalid";
|
|
17032
17085
|
readonly Failed: "Failed";
|
|
17033
17086
|
};
|
|
17087
|
+
/**
|
|
17088
|
+
* Interest expressed in the lead's first inbound text reply, independent of contact consent.
|
|
17089
|
+
*/
|
|
17090
|
+
export declare const LeadTableRow_sentimentObject: {
|
|
17091
|
+
readonly Positive: "Positive";
|
|
17092
|
+
readonly Negative: "Negative";
|
|
17093
|
+
};
|
|
17034
17094
|
/**
|
|
17035
17095
|
* Ranks the urgency and presentation importance of a Leadping user notification.
|
|
17036
17096
|
*/
|
|
@@ -17044,6 +17104,7 @@ export declare const NotificationPriorityObject: {
|
|
|
17044
17104
|
* Identifies the Leadping workflow or account event communicated by a user notification.
|
|
17045
17105
|
*/
|
|
17046
17106
|
export declare const NotificationTypeObject: {
|
|
17107
|
+
readonly PositiveSentiment: "PositiveSentiment";
|
|
17047
17108
|
readonly Appointment: "Appointment";
|
|
17048
17109
|
readonly General: "General";
|
|
17049
17110
|
readonly Lead: "Lead";
|