@leadping/sdk 1.0.139 → 1.0.141
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 +165 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +147 -0
- package/dist/models/index.js.map +1 -1
- package/dist/phoneCall/budget/index.d.ts +31 -0
- package/dist/phoneCall/budget/index.d.ts.map +1 -0
- package/dist/phoneCall/budget/index.js +28 -0
- package/dist/phoneCall/budget/index.js.map +1 -0
- package/dist/phoneCall/index.d.ts +5 -0
- package/dist/phoneCall/index.d.ts.map +1 -1
- package/dist/phoneCall/index.js +5 -0
- package/dist/phoneCall/index.js.map +1 -1
- package/dist/wallets/me/spendLimits/index.d.ts +4 -4
- package/package.json +1 -1
package/dist/models/index.d.ts
CHANGED
|
@@ -1660,6 +1660,19 @@ export interface BrowserCallApproval extends AdditionalDataHolder, Parsable {
|
|
|
1660
1660
|
*/
|
|
1661
1661
|
maximumDurationSeconds?: number | null;
|
|
1662
1662
|
}
|
|
1663
|
+
/**
|
|
1664
|
+
* Describes a restriction on starting a call, including the calendar reset when applicable.
|
|
1665
|
+
*/
|
|
1666
|
+
export interface CallBudgetResponse extends AdditionalDataHolder, Parsable {
|
|
1667
|
+
/**
|
|
1668
|
+
* The reason property
|
|
1669
|
+
*/
|
|
1670
|
+
reason?: string | null;
|
|
1671
|
+
/**
|
|
1672
|
+
* The resetsAt property
|
|
1673
|
+
*/
|
|
1674
|
+
resetsAt?: Date | null;
|
|
1675
|
+
}
|
|
1663
1676
|
/**
|
|
1664
1677
|
* Summarizes call event data in paginated and searchable results.
|
|
1665
1678
|
*/
|
|
@@ -2423,6 +2436,12 @@ export declare function createBlogSocialPostFromDiscriminatorValue(parseNode: Pa
|
|
|
2423
2436
|
* @returns {BrowserCallApproval}
|
|
2424
2437
|
*/
|
|
2425
2438
|
export declare function createBrowserCallApprovalFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
2439
|
+
/**
|
|
2440
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
2441
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
2442
|
+
* @returns {CallBudgetResponse}
|
|
2443
|
+
*/
|
|
2444
|
+
export declare function createCallBudgetResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
2426
2445
|
/**
|
|
2427
2446
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
2428
2447
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -2921,6 +2940,12 @@ export declare function createLeadResponse_inquiryFromDiscriminatorValue(parseNo
|
|
|
2921
2940
|
* @returns {LeadResponse_phoneIdentity}
|
|
2922
2941
|
*/
|
|
2923
2942
|
export declare function createLeadResponse_phoneIdentityFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
2943
|
+
/**
|
|
2944
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
2945
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
2946
|
+
* @returns {LeadResponse_possibleDuplicate}
|
|
2947
|
+
*/
|
|
2948
|
+
export declare function createLeadResponse_possibleDuplicateFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
2924
2949
|
/**
|
|
2925
2950
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
2926
2951
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -3644,6 +3669,12 @@ export declare function createPhoneNumberTrafficMetricsResponseFromDiscriminator
|
|
|
3644
3669
|
* @returns {PhoneNumberTrafficTrendPoint}
|
|
3645
3670
|
*/
|
|
3646
3671
|
export declare function createPhoneNumberTrafficTrendPointFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
3672
|
+
/**
|
|
3673
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
3674
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
3675
|
+
* @returns {PossibleDuplicateLead}
|
|
3676
|
+
*/
|
|
3677
|
+
export declare function createPossibleDuplicateLeadFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
3647
3678
|
/**
|
|
3648
3679
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
3649
3680
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -5088,6 +5119,12 @@ export declare function deserializeIntoBlogSocialPost(blogSocialPost?: Partial<B
|
|
|
5088
5119
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
5089
5120
|
*/
|
|
5090
5121
|
export declare function deserializeIntoBrowserCallApproval(browserCallApproval?: Partial<BrowserCallApproval> | undefined): Record<string, (node: ParseNode) => void>;
|
|
5122
|
+
/**
|
|
5123
|
+
* The deserialization information for the current model
|
|
5124
|
+
* @param CallBudgetResponse The instance to deserialize into.
|
|
5125
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
5126
|
+
*/
|
|
5127
|
+
export declare function deserializeIntoCallBudgetResponse(callBudgetResponse?: Partial<CallBudgetResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
5091
5128
|
/**
|
|
5092
5129
|
* The deserialization information for the current model
|
|
5093
5130
|
* @param CallEventTableRow The instance to deserialize into.
|
|
@@ -5592,6 +5629,12 @@ export declare function deserializeIntoLeadResponse_inquiry(leadResponse_inquiry
|
|
|
5592
5629
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
5593
5630
|
*/
|
|
5594
5631
|
export declare function deserializeIntoLeadResponse_phoneIdentity(leadResponse_phoneIdentity?: Partial<LeadResponse_phoneIdentity> | undefined): Record<string, (node: ParseNode) => void>;
|
|
5632
|
+
/**
|
|
5633
|
+
* The deserialization information for the current model
|
|
5634
|
+
* @param LeadResponse_possibleDuplicate The instance to deserialize into.
|
|
5635
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
5636
|
+
*/
|
|
5637
|
+
export declare function deserializeIntoLeadResponse_possibleDuplicate(leadResponse_possibleDuplicate?: Partial<LeadResponse_possibleDuplicate> | undefined): Record<string, (node: ParseNode) => void>;
|
|
5595
5638
|
/**
|
|
5596
5639
|
* The deserialization information for the current model
|
|
5597
5640
|
* @param LeadResponse_profile The instance to deserialize into.
|
|
@@ -6300,6 +6343,12 @@ export declare function deserializeIntoPhoneNumberTrafficMetricsResponse(phoneNu
|
|
|
6300
6343
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
6301
6344
|
*/
|
|
6302
6345
|
export declare function deserializeIntoPhoneNumberTrafficTrendPoint(phoneNumberTrafficTrendPoint?: Partial<PhoneNumberTrafficTrendPoint> | undefined): Record<string, (node: ParseNode) => void>;
|
|
6346
|
+
/**
|
|
6347
|
+
* The deserialization information for the current model
|
|
6348
|
+
* @param PossibleDuplicateLead The instance to deserialize into.
|
|
6349
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
6350
|
+
*/
|
|
6351
|
+
export declare function deserializeIntoPossibleDuplicateLead(possibleDuplicateLead?: Partial<PossibleDuplicateLead> | undefined): Record<string, (node: ParseNode) => void>;
|
|
6303
6352
|
/**
|
|
6304
6353
|
* The deserialization information for the current model
|
|
6305
6354
|
* @param ProblemDetails The instance to deserialize into.
|
|
@@ -7056,6 +7105,10 @@ export interface EventTableRow extends AdditionalDataHolder, Parsable {
|
|
|
7056
7105
|
* Unique Leadping identifier for this event timeline table row.
|
|
7057
7106
|
*/
|
|
7058
7107
|
id?: string | null;
|
|
7108
|
+
/**
|
|
7109
|
+
* Whether the scheduled send is waiting for spending capacity to reset.
|
|
7110
|
+
*/
|
|
7111
|
+
isBudgetDelayed?: boolean | null;
|
|
7059
7112
|
/**
|
|
7060
7113
|
* Whether this record belongs to demo data.
|
|
7061
7114
|
*/
|
|
@@ -8318,6 +8371,10 @@ export interface LeadResponse extends AdditionalDataHolder, Parsable {
|
|
|
8318
8371
|
* Describes Leadping's canonical identity for a phone number, including normalization, carrier, line type, reputation, and lookup history.
|
|
8319
8372
|
*/
|
|
8320
8373
|
phoneIdentity?: LeadResponse_phoneIdentity | null;
|
|
8374
|
+
/**
|
|
8375
|
+
* An intake match. Earlier lead details are supplied only when visible to the viewer.
|
|
8376
|
+
*/
|
|
8377
|
+
possibleDuplicate?: LeadResponse_possibleDuplicate | null;
|
|
8321
8378
|
/**
|
|
8322
8379
|
* Defines the asynchronous verification and enrichment lifecycle for a lead.
|
|
8323
8380
|
*/
|
|
@@ -8378,6 +8435,11 @@ export interface LeadResponse_inquiry extends LeadInquiry, Parsable {
|
|
|
8378
8435
|
*/
|
|
8379
8436
|
export interface LeadResponse_phoneIdentity extends Parsable, PhoneIdentityResponse {
|
|
8380
8437
|
}
|
|
8438
|
+
/**
|
|
8439
|
+
* An intake match. Earlier lead details are supplied only when visible to the viewer.
|
|
8440
|
+
*/
|
|
8441
|
+
export interface LeadResponse_possibleDuplicate extends Parsable, PossibleDuplicateLead {
|
|
8442
|
+
}
|
|
8381
8443
|
export type LeadResponse_processingStatus = (typeof LeadResponse_processingStatusObject)[keyof typeof LeadResponse_processingStatusObject];
|
|
8382
8444
|
/**
|
|
8383
8445
|
* Public Leadping API schema for lead demographic profile data.
|
|
@@ -10029,6 +10091,10 @@ export interface OrganizationRequest extends AdditionalDataHolder, Parsable {
|
|
|
10029
10091
|
* Human-readable description that explains this organization profile request to API users.
|
|
10030
10092
|
*/
|
|
10031
10093
|
description?: string | null;
|
|
10094
|
+
/**
|
|
10095
|
+
* Days to look back for possible duplicate leads across the organization. Zero disables detection.
|
|
10096
|
+
*/
|
|
10097
|
+
duplicateLeadLookbackDays?: number | null;
|
|
10032
10098
|
/**
|
|
10033
10099
|
* Employer Identification Number used for organization and 10DLC verification.
|
|
10034
10100
|
*/
|
|
@@ -10167,6 +10233,10 @@ export interface OrganizationResponse extends AdditionalDataHolder, Parsable {
|
|
|
10167
10233
|
* Domain name connected to the organization website or activation workflow.
|
|
10168
10234
|
*/
|
|
10169
10235
|
domain?: string | null;
|
|
10236
|
+
/**
|
|
10237
|
+
* Days to look back for possible duplicate leads across the organization. Zero disables detection.
|
|
10238
|
+
*/
|
|
10239
|
+
duplicateLeadLookbackDays?: number | null;
|
|
10170
10240
|
/**
|
|
10171
10241
|
* Employer Identification Number used for organization and 10DLC verification.
|
|
10172
10242
|
*/
|
|
@@ -12030,6 +12100,23 @@ export interface PhoneNumberTrafficTrendPoint extends AdditionalDataHolder, Pars
|
|
|
12030
12100
|
*/
|
|
12031
12101
|
startAt?: Date | null;
|
|
12032
12102
|
}
|
|
12103
|
+
/**
|
|
12104
|
+
* An intake match. Earlier lead details are supplied only when visible to the viewer.
|
|
12105
|
+
*/
|
|
12106
|
+
export interface PossibleDuplicateLead extends AdditionalDataHolder, Parsable {
|
|
12107
|
+
/**
|
|
12108
|
+
* The leadId property
|
|
12109
|
+
*/
|
|
12110
|
+
leadId?: string | null;
|
|
12111
|
+
/**
|
|
12112
|
+
* The receivedAt property
|
|
12113
|
+
*/
|
|
12114
|
+
receivedAt?: Date | null;
|
|
12115
|
+
/**
|
|
12116
|
+
* The sourceName property
|
|
12117
|
+
*/
|
|
12118
|
+
sourceName?: string | null;
|
|
12119
|
+
}
|
|
12033
12120
|
/**
|
|
12034
12121
|
* Standard problem-details response containing machine-readable and human-readable information about an HTTP API error.
|
|
12035
12122
|
*/
|
|
@@ -12564,6 +12651,13 @@ export declare function serializeBlogSocialPost(writer: SerializationWriter, blo
|
|
|
12564
12651
|
* @param writer Serialization writer to use to serialize this model
|
|
12565
12652
|
*/
|
|
12566
12653
|
export declare function serializeBrowserCallApproval(writer: SerializationWriter, browserCallApproval?: Partial<BrowserCallApproval> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
12654
|
+
/**
|
|
12655
|
+
* Serializes information the current object
|
|
12656
|
+
* @param CallBudgetResponse The instance to serialize from.
|
|
12657
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
12658
|
+
* @param writer Serialization writer to use to serialize this model
|
|
12659
|
+
*/
|
|
12660
|
+
export declare function serializeCallBudgetResponse(writer: SerializationWriter, callBudgetResponse?: Partial<CallBudgetResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
12567
12661
|
/**
|
|
12568
12662
|
* Serializes information the current object
|
|
12569
12663
|
* @param CallEventTableRow The instance to serialize from.
|
|
@@ -13152,6 +13246,13 @@ export declare function serializeLeadResponse_inquiry(writer: SerializationWrite
|
|
|
13152
13246
|
* @param writer Serialization writer to use to serialize this model
|
|
13153
13247
|
*/
|
|
13154
13248
|
export declare function serializeLeadResponse_phoneIdentity(writer: SerializationWriter, leadResponse_phoneIdentity?: Partial<LeadResponse_phoneIdentity> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
13249
|
+
/**
|
|
13250
|
+
* Serializes information the current object
|
|
13251
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
13252
|
+
* @param LeadResponse_possibleDuplicate The instance to serialize from.
|
|
13253
|
+
* @param writer Serialization writer to use to serialize this model
|
|
13254
|
+
*/
|
|
13255
|
+
export declare function serializeLeadResponse_possibleDuplicate(writer: SerializationWriter, leadResponse_possibleDuplicate?: Partial<LeadResponse_possibleDuplicate> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
13155
13256
|
/**
|
|
13156
13257
|
* Serializes information the current object
|
|
13157
13258
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -13978,6 +14079,13 @@ export declare function serializePhoneNumberTrafficMetricsResponse(writer: Seria
|
|
|
13978
14079
|
* @param writer Serialization writer to use to serialize this model
|
|
13979
14080
|
*/
|
|
13980
14081
|
export declare function serializePhoneNumberTrafficTrendPoint(writer: SerializationWriter, phoneNumberTrafficTrendPoint?: Partial<PhoneNumberTrafficTrendPoint> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
14082
|
+
/**
|
|
14083
|
+
* Serializes information the current object
|
|
14084
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
14085
|
+
* @param PossibleDuplicateLead The instance to serialize from.
|
|
14086
|
+
* @param writer Serialization writer to use to serialize this model
|
|
14087
|
+
*/
|
|
14088
|
+
export declare function serializePossibleDuplicateLead(writer: SerializationWriter, possibleDuplicateLead?: Partial<PossibleDuplicateLead> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
13981
14089
|
/**
|
|
13982
14090
|
* Serializes information the current object
|
|
13983
14091
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -14553,6 +14661,10 @@ export interface SmsEventTableRow extends AdditionalDataHolder, Parsable {
|
|
|
14553
14661
|
* Indicates whether automation created or triggered this SMS event table row.
|
|
14554
14662
|
*/
|
|
14555
14663
|
isAutomated?: boolean | null;
|
|
14664
|
+
/**
|
|
14665
|
+
* Whether the scheduled send is waiting for spending capacity to reset.
|
|
14666
|
+
*/
|
|
14667
|
+
isBudgetDelayed?: boolean | null;
|
|
14556
14668
|
/**
|
|
14557
14669
|
* Whether this record belongs to demo data.
|
|
14558
14670
|
*/
|
|
@@ -14782,6 +14894,10 @@ export interface SmsResponse extends AdditionalDataHolder, Parsable {
|
|
|
14782
14894
|
* Stable unique identifier of the resource.
|
|
14783
14895
|
*/
|
|
14784
14896
|
id?: string | null;
|
|
14897
|
+
/**
|
|
14898
|
+
* Whether the scheduled send is waiting for spending capacity to reset.
|
|
14899
|
+
*/
|
|
14900
|
+
isBudgetDelayed?: boolean | null;
|
|
14785
14901
|
/**
|
|
14786
14902
|
* Whether this record belongs to demo data.
|
|
14787
14903
|
*/
|
|
@@ -15215,6 +15331,14 @@ export interface SourceTableRow_user extends IdNamePair, Parsable {
|
|
|
15215
15331
|
* Organization usage budgets in USD. Null removes a limit; zero stops new paid usage.
|
|
15216
15332
|
*/
|
|
15217
15333
|
export interface SpendLimitsRequest extends AdditionalDataHolder, Parsable {
|
|
15334
|
+
/**
|
|
15335
|
+
* Optional calling budget in USD.
|
|
15336
|
+
*/
|
|
15337
|
+
callingLimit?: number | null;
|
|
15338
|
+
/**
|
|
15339
|
+
* Calendar period for an organization channel budget, in UTC.
|
|
15340
|
+
*/
|
|
15341
|
+
callingPeriod?: SpendPeriod | null;
|
|
15218
15342
|
/**
|
|
15219
15343
|
* Daily usage budget in USD for the UTC calendar day. Null removes the limit; zero stops new paid usage.
|
|
15220
15344
|
*/
|
|
@@ -15223,11 +15347,31 @@ export interface SpendLimitsRequest extends AdditionalDataHolder, Parsable {
|
|
|
15223
15347
|
* Monthly usage budget in USD for the UTC calendar month. Null removes the limit; zero stops new paid usage.
|
|
15224
15348
|
*/
|
|
15225
15349
|
monthlyLimit?: number | null;
|
|
15350
|
+
/**
|
|
15351
|
+
* Optional texting budget in USD.
|
|
15352
|
+
*/
|
|
15353
|
+
textingLimit?: number | null;
|
|
15354
|
+
/**
|
|
15355
|
+
* Calendar period for an organization channel budget, in UTC.
|
|
15356
|
+
*/
|
|
15357
|
+
textingPeriod?: SpendPeriod | null;
|
|
15226
15358
|
}
|
|
15227
15359
|
/**
|
|
15228
15360
|
* UTC calendar usage budgets, settled spend, and pending usage reservations in USD.
|
|
15229
15361
|
*/
|
|
15230
15362
|
export interface SpendLimitsResponse extends AdditionalDataHolder, Parsable {
|
|
15363
|
+
/**
|
|
15364
|
+
* Optional calling budget in USD.
|
|
15365
|
+
*/
|
|
15366
|
+
callingLimit?: number | null;
|
|
15367
|
+
/**
|
|
15368
|
+
* Calendar period for an organization channel budget, in UTC.
|
|
15369
|
+
*/
|
|
15370
|
+
callingPeriod?: SpendPeriod | null;
|
|
15371
|
+
/**
|
|
15372
|
+
* Settled calling charges this period plus pending calling reservations.
|
|
15373
|
+
*/
|
|
15374
|
+
callingUsed?: number | null;
|
|
15231
15375
|
/**
|
|
15232
15376
|
* Daily usage budget in USD. Null means no daily limit; zero stops new paid usage.
|
|
15233
15377
|
*/
|
|
@@ -15256,7 +15400,20 @@ export interface SpendLimitsResponse extends AdditionalDataHolder, Parsable {
|
|
|
15256
15400
|
* Pending usage reservations in USD.
|
|
15257
15401
|
*/
|
|
15258
15402
|
reserved?: number | null;
|
|
15403
|
+
/**
|
|
15404
|
+
* Optional texting budget in USD.
|
|
15405
|
+
*/
|
|
15406
|
+
textingLimit?: number | null;
|
|
15407
|
+
/**
|
|
15408
|
+
* Calendar period for an organization channel budget, in UTC.
|
|
15409
|
+
*/
|
|
15410
|
+
textingPeriod?: SpendPeriod | null;
|
|
15411
|
+
/**
|
|
15412
|
+
* Settled texting charges this period plus pending texting reservations.
|
|
15413
|
+
*/
|
|
15414
|
+
textingUsed?: number | null;
|
|
15259
15415
|
}
|
|
15416
|
+
export type SpendPeriod = (typeof SpendPeriodObject)[keyof typeof SpendPeriodObject];
|
|
15260
15417
|
/**
|
|
15261
15418
|
* Describes a physical or mailing address using international locality, administrative-area, postal-code, and country fields.
|
|
15262
15419
|
*/
|
|
@@ -17905,6 +18062,14 @@ export declare const SmsResponse_trafficTypeObject: {
|
|
|
17905
18062
|
readonly SystemInternal: "SystemInternal";
|
|
17906
18063
|
readonly FailedAttempt: "FailedAttempt";
|
|
17907
18064
|
};
|
|
18065
|
+
/**
|
|
18066
|
+
* Calendar period for an organization channel budget, in UTC.
|
|
18067
|
+
*/
|
|
18068
|
+
export declare const SpendPeriodObject: {
|
|
18069
|
+
readonly Day: "day";
|
|
18070
|
+
readonly Week: "week";
|
|
18071
|
+
readonly Month: "month";
|
|
18072
|
+
};
|
|
17908
18073
|
/**
|
|
17909
18074
|
* Describes an organization's overall 10DLC registration lifecycle across brand and messaging campaign submission.
|
|
17910
18075
|
*/
|