@leadping/sdk 1.0.140 → 1.0.142
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 +120 -4
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +99 -0
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
package/dist/models/index.d.ts
CHANGED
|
@@ -912,6 +912,10 @@ export interface AutomationResponse extends AdditionalDataHolder, Parsable {
|
|
|
912
912
|
* Organization ID that owns this automation.
|
|
913
913
|
*/
|
|
914
914
|
organizationId?: string | null;
|
|
915
|
+
/**
|
|
916
|
+
* When the current automation version was saved and its schedule started.
|
|
917
|
+
*/
|
|
918
|
+
scheduleStartedAt?: Date | null;
|
|
915
919
|
/**
|
|
916
920
|
* Scope that limits where this automation configuration response applies in Leadping.
|
|
917
921
|
*/
|
|
@@ -2940,6 +2944,12 @@ export declare function createLeadResponse_inquiryFromDiscriminatorValue(parseNo
|
|
|
2940
2944
|
* @returns {LeadResponse_phoneIdentity}
|
|
2941
2945
|
*/
|
|
2942
2946
|
export declare function createLeadResponse_phoneIdentityFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
2947
|
+
/**
|
|
2948
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
2949
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
2950
|
+
* @returns {LeadResponse_possibleDuplicate}
|
|
2951
|
+
*/
|
|
2952
|
+
export declare function createLeadResponse_possibleDuplicateFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
2943
2953
|
/**
|
|
2944
2954
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
2945
2955
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -3663,6 +3673,12 @@ export declare function createPhoneNumberTrafficMetricsResponseFromDiscriminator
|
|
|
3663
3673
|
* @returns {PhoneNumberTrafficTrendPoint}
|
|
3664
3674
|
*/
|
|
3665
3675
|
export declare function createPhoneNumberTrafficTrendPointFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
3676
|
+
/**
|
|
3677
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
3678
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
3679
|
+
* @returns {PossibleDuplicateLead}
|
|
3680
|
+
*/
|
|
3681
|
+
export declare function createPossibleDuplicateLeadFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
3666
3682
|
/**
|
|
3667
3683
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
3668
3684
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -5617,6 +5633,12 @@ export declare function deserializeIntoLeadResponse_inquiry(leadResponse_inquiry
|
|
|
5617
5633
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
5618
5634
|
*/
|
|
5619
5635
|
export declare function deserializeIntoLeadResponse_phoneIdentity(leadResponse_phoneIdentity?: Partial<LeadResponse_phoneIdentity> | undefined): Record<string, (node: ParseNode) => void>;
|
|
5636
|
+
/**
|
|
5637
|
+
* The deserialization information for the current model
|
|
5638
|
+
* @param LeadResponse_possibleDuplicate The instance to deserialize into.
|
|
5639
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
5640
|
+
*/
|
|
5641
|
+
export declare function deserializeIntoLeadResponse_possibleDuplicate(leadResponse_possibleDuplicate?: Partial<LeadResponse_possibleDuplicate> | undefined): Record<string, (node: ParseNode) => void>;
|
|
5620
5642
|
/**
|
|
5621
5643
|
* The deserialization information for the current model
|
|
5622
5644
|
* @param LeadResponse_profile The instance to deserialize into.
|
|
@@ -6325,6 +6347,12 @@ export declare function deserializeIntoPhoneNumberTrafficMetricsResponse(phoneNu
|
|
|
6325
6347
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
6326
6348
|
*/
|
|
6327
6349
|
export declare function deserializeIntoPhoneNumberTrafficTrendPoint(phoneNumberTrafficTrendPoint?: Partial<PhoneNumberTrafficTrendPoint> | undefined): Record<string, (node: ParseNode) => void>;
|
|
6350
|
+
/**
|
|
6351
|
+
* The deserialization information for the current model
|
|
6352
|
+
* @param PossibleDuplicateLead The instance to deserialize into.
|
|
6353
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
6354
|
+
*/
|
|
6355
|
+
export declare function deserializeIntoPossibleDuplicateLead(possibleDuplicateLead?: Partial<PossibleDuplicateLead> | undefined): Record<string, (node: ParseNode) => void>;
|
|
6328
6356
|
/**
|
|
6329
6357
|
* The deserialization information for the current model
|
|
6330
6358
|
* @param ProblemDetails The instance to deserialize into.
|
|
@@ -7330,6 +7358,14 @@ export interface IdNameValue extends AdditionalDataHolder, Parsable {
|
|
|
7330
7358
|
* Lead identity matched to an incoming caller within the current organization.
|
|
7331
7359
|
*/
|
|
7332
7360
|
export interface IncomingCallerResponse extends AdditionalDataHolder, Parsable {
|
|
7361
|
+
/**
|
|
7362
|
+
* The matched lead's profile image, when available.
|
|
7363
|
+
*/
|
|
7364
|
+
leadAvatarUrl?: string | null;
|
|
7365
|
+
/**
|
|
7366
|
+
* The matched lead's email for Gravatar fallback.
|
|
7367
|
+
*/
|
|
7368
|
+
leadEmail?: string | null;
|
|
7333
7369
|
/**
|
|
7334
7370
|
* The lead associated with the caller in the current organization.
|
|
7335
7371
|
*/
|
|
@@ -8347,6 +8383,10 @@ export interface LeadResponse extends AdditionalDataHolder, Parsable {
|
|
|
8347
8383
|
* Describes Leadping's canonical identity for a phone number, including normalization, carrier, line type, reputation, and lookup history.
|
|
8348
8384
|
*/
|
|
8349
8385
|
phoneIdentity?: LeadResponse_phoneIdentity | null;
|
|
8386
|
+
/**
|
|
8387
|
+
* An intake match. Earlier lead details are supplied only when visible to the viewer.
|
|
8388
|
+
*/
|
|
8389
|
+
possibleDuplicate?: LeadResponse_possibleDuplicate | null;
|
|
8350
8390
|
/**
|
|
8351
8391
|
* Defines the asynchronous verification and enrichment lifecycle for a lead.
|
|
8352
8392
|
*/
|
|
@@ -8407,6 +8447,11 @@ export interface LeadResponse_inquiry extends LeadInquiry, Parsable {
|
|
|
8407
8447
|
*/
|
|
8408
8448
|
export interface LeadResponse_phoneIdentity extends Parsable, PhoneIdentityResponse {
|
|
8409
8449
|
}
|
|
8450
|
+
/**
|
|
8451
|
+
* An intake match. Earlier lead details are supplied only when visible to the viewer.
|
|
8452
|
+
*/
|
|
8453
|
+
export interface LeadResponse_possibleDuplicate extends Parsable, PossibleDuplicateLead {
|
|
8454
|
+
}
|
|
8410
8455
|
export type LeadResponse_processingStatus = (typeof LeadResponse_processingStatusObject)[keyof typeof LeadResponse_processingStatusObject];
|
|
8411
8456
|
/**
|
|
8412
8457
|
* Public Leadping API schema for lead demographic profile data.
|
|
@@ -10058,6 +10103,10 @@ export interface OrganizationRequest extends AdditionalDataHolder, Parsable {
|
|
|
10058
10103
|
* Human-readable description that explains this organization profile request to API users.
|
|
10059
10104
|
*/
|
|
10060
10105
|
description?: string | null;
|
|
10106
|
+
/**
|
|
10107
|
+
* Days to look back for possible duplicate leads across the organization. Zero disables detection.
|
|
10108
|
+
*/
|
|
10109
|
+
duplicateLeadLookbackDays?: number | null;
|
|
10061
10110
|
/**
|
|
10062
10111
|
* Employer Identification Number used for organization and 10DLC verification.
|
|
10063
10112
|
*/
|
|
@@ -10074,6 +10123,18 @@ export interface OrganizationRequest extends AdditionalDataHolder, Parsable {
|
|
|
10074
10123
|
* Primary organization name.
|
|
10075
10124
|
*/
|
|
10076
10125
|
name?: string | null;
|
|
10126
|
+
/**
|
|
10127
|
+
* Statuses excluded from Next call.
|
|
10128
|
+
*/
|
|
10129
|
+
nextCallExcludedStatusIds?: string[] | null;
|
|
10130
|
+
/**
|
|
10131
|
+
* Tags that exclude a lead from Next call.
|
|
10132
|
+
*/
|
|
10133
|
+
nextCallExcludedTagIds?: string[] | null;
|
|
10134
|
+
/**
|
|
10135
|
+
* Additional statuses eligible for Next call.
|
|
10136
|
+
*/
|
|
10137
|
+
nextCallIncludedStatusIds?: string[] | null;
|
|
10077
10138
|
/**
|
|
10078
10139
|
* Main service or offer described during organization setup.
|
|
10079
10140
|
*/
|
|
@@ -10196,6 +10257,10 @@ export interface OrganizationResponse extends AdditionalDataHolder, Parsable {
|
|
|
10196
10257
|
* Domain name connected to the organization website or activation workflow.
|
|
10197
10258
|
*/
|
|
10198
10259
|
domain?: string | null;
|
|
10260
|
+
/**
|
|
10261
|
+
* Days to look back for possible duplicate leads across the organization. Zero disables detection.
|
|
10262
|
+
*/
|
|
10263
|
+
duplicateLeadLookbackDays?: number | null;
|
|
10199
10264
|
/**
|
|
10200
10265
|
* Employer Identification Number used for organization and 10DLC verification.
|
|
10201
10266
|
*/
|
|
@@ -10228,6 +10293,18 @@ export interface OrganizationResponse extends AdditionalDataHolder, Parsable {
|
|
|
10228
10293
|
* Human-readable display name of the resource.
|
|
10229
10294
|
*/
|
|
10230
10295
|
name?: string | null;
|
|
10296
|
+
/**
|
|
10297
|
+
* Statuses excluded from Next call.
|
|
10298
|
+
*/
|
|
10299
|
+
nextCallExcludedStatusIds?: string[] | null;
|
|
10300
|
+
/**
|
|
10301
|
+
* Tags that exclude a lead from Next call.
|
|
10302
|
+
*/
|
|
10303
|
+
nextCallExcludedTagIds?: string[] | null;
|
|
10304
|
+
/**
|
|
10305
|
+
* Additional statuses eligible for Next call.
|
|
10306
|
+
*/
|
|
10307
|
+
nextCallIncludedStatusIds?: string[] | null;
|
|
10231
10308
|
/**
|
|
10232
10309
|
* Phone details for the lead, user, or organization represented by this organization profile response.
|
|
10233
10310
|
*/
|
|
@@ -10480,11 +10557,11 @@ export interface OutboundPhoneNumberCapacity extends AdditionalDataHolder, Parsa
|
|
|
10480
10557
|
*/
|
|
10481
10558
|
smsApproved?: boolean | null;
|
|
10482
10559
|
/**
|
|
10483
|
-
* Next
|
|
10560
|
+
* Next time an attempt leaves the rolling 24-hour SMS window.
|
|
10484
10561
|
*/
|
|
10485
10562
|
smsDailyResetsAt?: Date | null;
|
|
10486
10563
|
/**
|
|
10487
|
-
*
|
|
10564
|
+
* Next time an attempt leaves the rolling 60-minute SMS window.
|
|
10488
10565
|
*/
|
|
10489
10566
|
smsHourlyResetsAt?: Date | null;
|
|
10490
10567
|
/**
|
|
@@ -10503,6 +10580,10 @@ export interface OutboundPhoneNumberCapacity extends AdditionalDataHolder, Parsa
|
|
|
10503
10580
|
* The next time SMS capacity becomes available in the rolling minute window.
|
|
10504
10581
|
*/
|
|
10505
10582
|
smsMinutelyResetsAt?: Date | null;
|
|
10583
|
+
/**
|
|
10584
|
+
* Earliest projected automated SMS slot under the current sender limits and spacing. Null when unavailable.
|
|
10585
|
+
*/
|
|
10586
|
+
smsNextSlotAt?: Date | null;
|
|
10506
10587
|
/**
|
|
10507
10588
|
* Indicates whether a phone number's channel capacity is increasing, decreasing, or stable.
|
|
10508
10589
|
*/
|
|
@@ -10536,11 +10617,11 @@ export interface OutboundPhoneNumberCapacity extends AdditionalDataHolder, Parsa
|
|
|
10536
10617
|
*/
|
|
10537
10618
|
smsUsedToday?: number | null;
|
|
10538
10619
|
/**
|
|
10539
|
-
* Next
|
|
10620
|
+
* Next time an attempt leaves the rolling 24-hour voice window.
|
|
10540
10621
|
*/
|
|
10541
10622
|
voiceDailyResetsAt?: Date | null;
|
|
10542
10623
|
/**
|
|
10543
|
-
*
|
|
10624
|
+
* Next time an attempt leaves the rolling 60-minute voice window.
|
|
10544
10625
|
*/
|
|
10545
10626
|
voiceHourlyResetsAt?: Date | null;
|
|
10546
10627
|
/**
|
|
@@ -10559,6 +10640,10 @@ export interface OutboundPhoneNumberCapacity extends AdditionalDataHolder, Parsa
|
|
|
10559
10640
|
* The next time voice capacity becomes available in the rolling minute window.
|
|
10560
10641
|
*/
|
|
10561
10642
|
voiceMinutelyResetsAt?: Date | null;
|
|
10643
|
+
/**
|
|
10644
|
+
* Earliest projected call slot under the current sender limits and spacing. Null when unavailable.
|
|
10645
|
+
*/
|
|
10646
|
+
voiceNextSlotAt?: Date | null;
|
|
10562
10647
|
/**
|
|
10563
10648
|
* Indicates whether a phone number's channel capacity is increasing, decreasing, or stable.
|
|
10564
10649
|
*/
|
|
@@ -12059,6 +12144,23 @@ export interface PhoneNumberTrafficTrendPoint extends AdditionalDataHolder, Pars
|
|
|
12059
12144
|
*/
|
|
12060
12145
|
startAt?: Date | null;
|
|
12061
12146
|
}
|
|
12147
|
+
/**
|
|
12148
|
+
* An intake match. Earlier lead details are supplied only when visible to the viewer.
|
|
12149
|
+
*/
|
|
12150
|
+
export interface PossibleDuplicateLead extends AdditionalDataHolder, Parsable {
|
|
12151
|
+
/**
|
|
12152
|
+
* The leadId property
|
|
12153
|
+
*/
|
|
12154
|
+
leadId?: string | null;
|
|
12155
|
+
/**
|
|
12156
|
+
* The receivedAt property
|
|
12157
|
+
*/
|
|
12158
|
+
receivedAt?: Date | null;
|
|
12159
|
+
/**
|
|
12160
|
+
* The sourceName property
|
|
12161
|
+
*/
|
|
12162
|
+
sourceName?: string | null;
|
|
12163
|
+
}
|
|
12062
12164
|
/**
|
|
12063
12165
|
* Standard problem-details response containing machine-readable and human-readable information about an HTTP API error.
|
|
12064
12166
|
*/
|
|
@@ -13188,6 +13290,13 @@ export declare function serializeLeadResponse_inquiry(writer: SerializationWrite
|
|
|
13188
13290
|
* @param writer Serialization writer to use to serialize this model
|
|
13189
13291
|
*/
|
|
13190
13292
|
export declare function serializeLeadResponse_phoneIdentity(writer: SerializationWriter, leadResponse_phoneIdentity?: Partial<LeadResponse_phoneIdentity> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
13293
|
+
/**
|
|
13294
|
+
* Serializes information the current object
|
|
13295
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
13296
|
+
* @param LeadResponse_possibleDuplicate The instance to serialize from.
|
|
13297
|
+
* @param writer Serialization writer to use to serialize this model
|
|
13298
|
+
*/
|
|
13299
|
+
export declare function serializeLeadResponse_possibleDuplicate(writer: SerializationWriter, leadResponse_possibleDuplicate?: Partial<LeadResponse_possibleDuplicate> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
13191
13300
|
/**
|
|
13192
13301
|
* Serializes information the current object
|
|
13193
13302
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -14014,6 +14123,13 @@ export declare function serializePhoneNumberTrafficMetricsResponse(writer: Seria
|
|
|
14014
14123
|
* @param writer Serialization writer to use to serialize this model
|
|
14015
14124
|
*/
|
|
14016
14125
|
export declare function serializePhoneNumberTrafficTrendPoint(writer: SerializationWriter, phoneNumberTrafficTrendPoint?: Partial<PhoneNumberTrafficTrendPoint> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
14126
|
+
/**
|
|
14127
|
+
* Serializes information the current object
|
|
14128
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
14129
|
+
* @param PossibleDuplicateLead The instance to serialize from.
|
|
14130
|
+
* @param writer Serialization writer to use to serialize this model
|
|
14131
|
+
*/
|
|
14132
|
+
export declare function serializePossibleDuplicateLead(writer: SerializationWriter, possibleDuplicateLead?: Partial<PossibleDuplicateLead> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
14017
14133
|
/**
|
|
14018
14134
|
* Serializes information the current object
|
|
14019
14135
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|