@leadping/sdk 1.0.9 → 1.0.10
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/dispositions/lead/item/index.d.ts +2 -2
- package/dist/events/businesses/item/index.d.ts +10 -3
- package/dist/events/businesses/item/index.d.ts.map +1 -1
- package/dist/events/businesses/item/index.js +1 -1
- package/dist/events/businesses/item/index.js.map +1 -1
- package/dist/models/index.d.ts +172 -8
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +159 -4
- package/dist/models/index.js.map +1 -1
- package/dist/phoneNumbers/all/{my → business}/index.d.ts +6 -6
- package/dist/phoneNumbers/all/business/index.d.ts.map +1 -0
- package/dist/phoneNumbers/all/{my → business}/index.js +3 -3
- package/dist/phoneNumbers/all/business/index.js.map +1 -0
- package/dist/phoneNumbers/all/index.d.ts +3 -3
- package/dist/phoneNumbers/all/index.d.ts.map +1 -1
- package/dist/phoneNumbers/all/index.js +3 -3
- package/dist/phoneNumbers/all/index.js.map +1 -1
- package/dist/sources/item/metrics/index.d.ts +3 -3
- package/package.json +1 -1
- package/dist/phoneNumbers/all/my/index.d.ts.map +0 -1
- package/dist/phoneNumbers/all/my/index.js.map +0 -1
|
@@ -10,14 +10,14 @@ export interface WithLeadItemRequestBuilder extends BaseRequestBuilder<WithLeadI
|
|
|
10
10
|
*/
|
|
11
11
|
get exportEscaped(): ExportRequestBuilder;
|
|
12
12
|
/**
|
|
13
|
-
* Lists disposition history for one lead
|
|
13
|
+
* Lists disposition outcome history for one lead, including prior outcomes, notes, follow-up context, timestamps, and actor details used for audit review.
|
|
14
14
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
15
|
* @returns {Promise<DispositionResponse[]>}
|
|
16
16
|
* @throws {ProblemDetails} error when the service returns a 404 status code
|
|
17
17
|
*/
|
|
18
18
|
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DispositionResponse[] | undefined>;
|
|
19
19
|
/**
|
|
20
|
-
* Lists disposition history for one lead
|
|
20
|
+
* Lists disposition outcome history for one lead, including prior outcomes, notes, follow-up context, timestamps, and actor details used for audit review.
|
|
21
21
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
22
|
* @returns {RequestInformation}
|
|
23
23
|
*/
|
|
@@ -11,19 +11,26 @@ export interface WithBusinessItemRequestBuilder extends BaseRequestBuilder<WithB
|
|
|
11
11
|
* @returns {Promise<PagedResultOfEventTableRow>}
|
|
12
12
|
* @throws {ProblemDetails} error when the service returns a 400 status code
|
|
13
13
|
*/
|
|
14
|
-
post(body: RequestDataOptions, requestConfiguration?: RequestConfiguration<
|
|
14
|
+
post(body: RequestDataOptions, requestConfiguration?: RequestConfiguration<WithBusinessItemRequestBuilderPostQueryParameters> | undefined): Promise<PagedResultOfEventTableRow | undefined>;
|
|
15
15
|
/**
|
|
16
16
|
* Lists event records for a business with paging and filters so admins can review lead communication and automation events.
|
|
17
17
|
* @param body Options for flexible, efficient, and explicit querying in Cosmos DB or similar repositories.
|
|
18
18
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
19
19
|
* @returns {RequestInformation}
|
|
20
20
|
*/
|
|
21
|
-
toPostRequestInformation(body: RequestDataOptions, requestConfiguration?: RequestConfiguration<
|
|
21
|
+
toPostRequestInformation(body: RequestDataOptions, requestConfiguration?: RequestConfiguration<WithBusinessItemRequestBuilderPostQueryParameters> | undefined): RequestInformation;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Lists event records for a business with paging and filters so admins can review lead communication and automation events.
|
|
25
|
+
*/
|
|
26
|
+
export interface WithBusinessItemRequestBuilderPostQueryParameters {
|
|
27
|
+
endAt?: Date;
|
|
28
|
+
startAt?: Date;
|
|
22
29
|
}
|
|
23
30
|
/**
|
|
24
31
|
* Uri template for the request builder.
|
|
25
32
|
*/
|
|
26
|
-
export declare const WithBusinessItemRequestBuilderUriTemplate = "{+baseurl}/events/businesses/{businessId}";
|
|
33
|
+
export declare const WithBusinessItemRequestBuilderUriTemplate = "{+baseurl}/events/businesses/{businessId}{?endAt*,startAt*}";
|
|
27
34
|
/**
|
|
28
35
|
* Metadata for all the requests in the request builder.
|
|
29
36
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../events/businesses/item/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAwK,KAAK,0BAA0B,EAAuB,KAAK,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAE/R,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,8BAA+B,SAAQ,kBAAkB,CAAC,8BAA8B,CAAC;IACtG;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../events/businesses/item/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAwK,KAAK,0BAA0B,EAAuB,KAAK,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAE/R,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,8BAA+B,SAAQ,kBAAkB,CAAC,8BAA8B,CAAC;IACtG;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,iDAAiD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,0BAA0B,GAAG,SAAS,CAAC,CAAC;IAC9L;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,iDAAiD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACxL;AACD;;GAEG;AACH,MAAM,WAAW,iDAAiD;IAC9D,KAAK,CAAC,EAAE,IAAI,CAAC;IACb,OAAO,CAAC,EAAE,IAAI,CAAC;CAClB;AACD;;GAEG;AACH,eAAO,MAAM,yCAAyC,gEAAgE,CAAC;AACvH;;GAEG;AACH,eAAO,MAAM,8CAA8C,EAAE,gBAa5D,CAAC"}
|
|
@@ -6,7 +6,7 @@ import { createPagedResultOfEventTableRowFromDiscriminatorValue, createProblemDe
|
|
|
6
6
|
/**
|
|
7
7
|
* Uri template for the request builder.
|
|
8
8
|
*/
|
|
9
|
-
export const WithBusinessItemRequestBuilderUriTemplate = "{+baseurl}/events/businesses/{businessId}";
|
|
9
|
+
export const WithBusinessItemRequestBuilderUriTemplate = "{+baseurl}/events/businesses/{businessId}{?endAt*,startAt*}";
|
|
10
10
|
/**
|
|
11
11
|
* Metadata for all the requests in the request builder.
|
|
12
12
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../events/businesses/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,sDAAsD,EAAE,0CAA0C,EAAuC,2BAA2B,EAAiF,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../events/businesses/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,sDAAsD,EAAE,0CAA0C,EAAuC,2BAA2B,EAAiF,MAAM,0BAA0B,CAAC;AA+B/R;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAG,6DAA6D,CAAC;AACvH;;GAEG;AACH,MAAM,CAAC,MAAM,8CAA8C,GAAqB;IAC5E,IAAI,EAAE;QACF,WAAW,EAAE,yCAAyC;QACtD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,sDAAsD;QAC5E,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,2BAA2B;QAClD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1564,6 +1564,14 @@ export interface BusinessRequest extends AdditionalDataHolder, Parsable {
|
|
|
1564
1564
|
* Wallet balance threshold that triggers automatic refill.
|
|
1565
1565
|
*/
|
|
1566
1566
|
autoRefillTrigger?: UntypedNode | null;
|
|
1567
|
+
/**
|
|
1568
|
+
* Postal address used for invoices, receipts, and payment processor billing records.
|
|
1569
|
+
*/
|
|
1570
|
+
billingAddress?: BusinessRequest_billingAddress | null;
|
|
1571
|
+
/**
|
|
1572
|
+
* Name used for invoices, receipts, and payment processor billing records.
|
|
1573
|
+
*/
|
|
1574
|
+
billingName?: string | null;
|
|
1567
1575
|
/**
|
|
1568
1576
|
* Defines the supported Billing Plan values.
|
|
1569
1577
|
*/
|
|
@@ -1652,6 +1660,11 @@ export interface BusinessRequest_address extends Parsable, StreetAddress {
|
|
|
1652
1660
|
*/
|
|
1653
1661
|
export interface BusinessRequest_adminEnablementOverride extends AdminEnablementOverride, Parsable {
|
|
1654
1662
|
}
|
|
1663
|
+
/**
|
|
1664
|
+
* Postal address used for invoices, receipts, and payment processor billing records.
|
|
1665
|
+
*/
|
|
1666
|
+
export interface BusinessRequest_billingAddress extends Parsable, StreetAddress {
|
|
1667
|
+
}
|
|
1655
1668
|
export type BusinessRequest_billingPlan = (typeof BusinessRequest_billingPlanObject)[keyof typeof BusinessRequest_billingPlanObject];
|
|
1656
1669
|
/**
|
|
1657
1670
|
* Compliance policy configuration for the business.
|
|
@@ -1703,6 +1716,14 @@ export interface BusinessResponse extends AdditionalDataHolder, Parsable {
|
|
|
1703
1716
|
* Wallet balance threshold that triggers automatic refill.
|
|
1704
1717
|
*/
|
|
1705
1718
|
autoRefillTrigger?: UntypedNode | null;
|
|
1719
|
+
/**
|
|
1720
|
+
* Postal address used for invoices, receipts, and payment processor billing records.
|
|
1721
|
+
*/
|
|
1722
|
+
billingAddress?: BusinessResponse_billingAddress | null;
|
|
1723
|
+
/**
|
|
1724
|
+
* Name used for invoices, receipts, and payment processor billing records.
|
|
1725
|
+
*/
|
|
1726
|
+
billingName?: string | null;
|
|
1706
1727
|
/**
|
|
1707
1728
|
* Defines the supported Billing Plan values.
|
|
1708
1729
|
*/
|
|
@@ -1807,6 +1828,11 @@ export interface BusinessResponse_address extends Parsable, StreetAddress {
|
|
|
1807
1828
|
*/
|
|
1808
1829
|
export interface BusinessResponse_adminEnablementOverride extends AdminEnablementOverride, Parsable {
|
|
1809
1830
|
}
|
|
1831
|
+
/**
|
|
1832
|
+
* Postal address used for invoices, receipts, and payment processor billing records.
|
|
1833
|
+
*/
|
|
1834
|
+
export interface BusinessResponse_billingAddress extends Parsable, StreetAddress {
|
|
1835
|
+
}
|
|
1810
1836
|
export type BusinessResponse_billingPlan = (typeof BusinessResponse_billingPlanObject)[keyof typeof BusinessResponse_billingPlanObject];
|
|
1811
1837
|
/**
|
|
1812
1838
|
* Compliance policy configuration for the business.
|
|
@@ -2660,6 +2686,12 @@ export declare function createBusinessRequest_addressFromDiscriminatorValue(pars
|
|
|
2660
2686
|
* @returns {BusinessRequest_adminEnablementOverride}
|
|
2661
2687
|
*/
|
|
2662
2688
|
export declare function createBusinessRequest_adminEnablementOverrideFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
2689
|
+
/**
|
|
2690
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
2691
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
2692
|
+
* @returns {BusinessRequest_billingAddress}
|
|
2693
|
+
*/
|
|
2694
|
+
export declare function createBusinessRequest_billingAddressFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
2663
2695
|
/**
|
|
2664
2696
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
2665
2697
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -2702,6 +2734,12 @@ export declare function createBusinessResponse_addressFromDiscriminatorValue(par
|
|
|
2702
2734
|
* @returns {BusinessResponse_adminEnablementOverride}
|
|
2703
2735
|
*/
|
|
2704
2736
|
export declare function createBusinessResponse_adminEnablementOverrideFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
2737
|
+
/**
|
|
2738
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
2739
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
2740
|
+
* @returns {BusinessResponse_billingAddress}
|
|
2741
|
+
*/
|
|
2742
|
+
export declare function createBusinessResponse_billingAddressFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
2705
2743
|
/**
|
|
2706
2744
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
2707
2745
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -3443,6 +3481,12 @@ export declare function createPhoneNumberSearchResultFromDiscriminatorValue(pars
|
|
|
3443
3481
|
* @returns {PhoneNumberStatusResponse_callWarmup}
|
|
3444
3482
|
*/
|
|
3445
3483
|
export declare function createPhoneNumberStatusResponse_callWarmupFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
3484
|
+
/**
|
|
3485
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
3486
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
3487
|
+
* @returns {PhoneNumberStatusResponse_outboundCapacity}
|
|
3488
|
+
*/
|
|
3489
|
+
export declare function createPhoneNumberStatusResponse_outboundCapacityFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
3446
3490
|
/**
|
|
3447
3491
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
3448
3492
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -4545,6 +4589,12 @@ export declare function deserializeIntoBusinessRequest_address(businessRequest_a
|
|
|
4545
4589
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
4546
4590
|
*/
|
|
4547
4591
|
export declare function deserializeIntoBusinessRequest_adminEnablementOverride(businessRequest_adminEnablementOverride?: Partial<BusinessRequest_adminEnablementOverride> | undefined): Record<string, (node: ParseNode) => void>;
|
|
4592
|
+
/**
|
|
4593
|
+
* The deserialization information for the current model
|
|
4594
|
+
* @param BusinessRequest_billingAddress The instance to deserialize into.
|
|
4595
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
4596
|
+
*/
|
|
4597
|
+
export declare function deserializeIntoBusinessRequest_billingAddress(businessRequest_billingAddress?: Partial<BusinessRequest_billingAddress> | undefined): Record<string, (node: ParseNode) => void>;
|
|
4548
4598
|
/**
|
|
4549
4599
|
* The deserialization information for the current model
|
|
4550
4600
|
* @param BusinessRequest_compliancePolicy The instance to deserialize into.
|
|
@@ -4587,6 +4637,12 @@ export declare function deserializeIntoBusinessResponse_address(businessResponse
|
|
|
4587
4637
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
4588
4638
|
*/
|
|
4589
4639
|
export declare function deserializeIntoBusinessResponse_adminEnablementOverride(businessResponse_adminEnablementOverride?: Partial<BusinessResponse_adminEnablementOverride> | undefined): Record<string, (node: ParseNode) => void>;
|
|
4640
|
+
/**
|
|
4641
|
+
* The deserialization information for the current model
|
|
4642
|
+
* @param BusinessResponse_billingAddress The instance to deserialize into.
|
|
4643
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
4644
|
+
*/
|
|
4645
|
+
export declare function deserializeIntoBusinessResponse_billingAddress(businessResponse_billingAddress?: Partial<BusinessResponse_billingAddress> | undefined): Record<string, (node: ParseNode) => void>;
|
|
4590
4646
|
/**
|
|
4591
4647
|
* The deserialization information for the current model
|
|
4592
4648
|
* @param BusinessResponse_compliancePolicy The instance to deserialize into.
|
|
@@ -5319,6 +5375,12 @@ export declare function deserializeIntoPhoneNumberStatusResponse(phoneNumberStat
|
|
|
5319
5375
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
5320
5376
|
*/
|
|
5321
5377
|
export declare function deserializeIntoPhoneNumberStatusResponse_callWarmup(phoneNumberStatusResponse_callWarmup?: Partial<PhoneNumberStatusResponse_callWarmup> | undefined): Record<string, (node: ParseNode) => void>;
|
|
5378
|
+
/**
|
|
5379
|
+
* The deserialization information for the current model
|
|
5380
|
+
* @param PhoneNumberStatusResponse_outboundCapacity The instance to deserialize into.
|
|
5381
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
5382
|
+
*/
|
|
5383
|
+
export declare function deserializeIntoPhoneNumberStatusResponse_outboundCapacity(phoneNumberStatusResponse_outboundCapacity?: Partial<PhoneNumberStatusResponse_outboundCapacity> | undefined): Record<string, (node: ParseNode) => void>;
|
|
5322
5384
|
/**
|
|
5323
5385
|
* The deserialization information for the current model
|
|
5324
5386
|
* @param PhoneNumberStatusResponse_smsWarmup The instance to deserialize into.
|
|
@@ -7466,14 +7528,54 @@ export interface OutboundPhoneNumberCapacity extends AdditionalDataHolder, Parsa
|
|
|
7466
7528
|
* The phoneNumberId property
|
|
7467
7529
|
*/
|
|
7468
7530
|
phoneNumberId?: string | null;
|
|
7531
|
+
/**
|
|
7532
|
+
* The smsLimitThisHour property
|
|
7533
|
+
*/
|
|
7534
|
+
smsLimitThisHour?: number | null;
|
|
7535
|
+
/**
|
|
7536
|
+
* The smsLimitToday property
|
|
7537
|
+
*/
|
|
7538
|
+
smsLimitToday?: number | null;
|
|
7539
|
+
/**
|
|
7540
|
+
* The smsRemainingThisHour property
|
|
7541
|
+
*/
|
|
7542
|
+
smsRemainingThisHour?: number | null;
|
|
7469
7543
|
/**
|
|
7470
7544
|
* The smsRemainingToday property
|
|
7471
7545
|
*/
|
|
7472
7546
|
smsRemainingToday?: number | null;
|
|
7547
|
+
/**
|
|
7548
|
+
* The smsUsedThisHour property
|
|
7549
|
+
*/
|
|
7550
|
+
smsUsedThisHour?: number | null;
|
|
7551
|
+
/**
|
|
7552
|
+
* The smsUsedToday property
|
|
7553
|
+
*/
|
|
7554
|
+
smsUsedToday?: number | null;
|
|
7555
|
+
/**
|
|
7556
|
+
* The voiceLimitThisHour property
|
|
7557
|
+
*/
|
|
7558
|
+
voiceLimitThisHour?: number | null;
|
|
7559
|
+
/**
|
|
7560
|
+
* The voiceLimitToday property
|
|
7561
|
+
*/
|
|
7562
|
+
voiceLimitToday?: number | null;
|
|
7563
|
+
/**
|
|
7564
|
+
* The voiceRemainingThisHour property
|
|
7565
|
+
*/
|
|
7566
|
+
voiceRemainingThisHour?: number | null;
|
|
7473
7567
|
/**
|
|
7474
7568
|
* The voiceRemainingToday property
|
|
7475
7569
|
*/
|
|
7476
7570
|
voiceRemainingToday?: number | null;
|
|
7571
|
+
/**
|
|
7572
|
+
* The voiceUsedThisHour property
|
|
7573
|
+
*/
|
|
7574
|
+
voiceUsedThisHour?: number | null;
|
|
7575
|
+
/**
|
|
7576
|
+
* The voiceUsedToday property
|
|
7577
|
+
*/
|
|
7578
|
+
voiceUsedToday?: number | null;
|
|
7477
7579
|
}
|
|
7478
7580
|
export interface OutboundQueueItem extends AdditionalDataHolder, Parsable {
|
|
7479
7581
|
/**
|
|
@@ -8570,6 +8672,10 @@ export interface PhoneNumberStatusResponse extends AdditionalDataHolder, Parsabl
|
|
|
8570
8672
|
* Recent SMS opt-out metrics used to evaluate sender health and compliance risk.
|
|
8571
8673
|
*/
|
|
8572
8674
|
optOutMetrics?: PhoneNumberOptOutMetricsResponse | null;
|
|
8675
|
+
/**
|
|
8676
|
+
* Current outbound SMS and voice capacity for this phone number.
|
|
8677
|
+
*/
|
|
8678
|
+
outboundCapacity?: PhoneNumberStatusResponse_outboundCapacity | null;
|
|
8573
8679
|
/**
|
|
8574
8680
|
* Recent workflow events returned for timeline and troubleshooting.
|
|
8575
8681
|
*/
|
|
@@ -8592,6 +8698,11 @@ export interface PhoneNumberStatusResponse extends AdditionalDataHolder, Parsabl
|
|
|
8592
8698
|
*/
|
|
8593
8699
|
export interface PhoneNumberStatusResponse_callWarmup extends Parsable, PhoneNumberWarmupStatusResponse {
|
|
8594
8700
|
}
|
|
8701
|
+
/**
|
|
8702
|
+
* Current outbound SMS and voice capacity for this phone number.
|
|
8703
|
+
*/
|
|
8704
|
+
export interface PhoneNumberStatusResponse_outboundCapacity extends OutboundPhoneNumberCapacity, Parsable {
|
|
8705
|
+
}
|
|
8595
8706
|
/**
|
|
8596
8707
|
* SMS sender warmup status for this phone number.
|
|
8597
8708
|
*/
|
|
@@ -8613,6 +8724,22 @@ export interface PhoneNumberTableRow extends AdditionalDataHolder, Parsable {
|
|
|
8613
8724
|
* Business summary connected to this phone number table row.
|
|
8614
8725
|
*/
|
|
8615
8726
|
business?: string | null;
|
|
8727
|
+
/**
|
|
8728
|
+
* Unique Leadping business identifier connected to this phone number table row.
|
|
8729
|
+
*/
|
|
8730
|
+
businessId?: string | null;
|
|
8731
|
+
/**
|
|
8732
|
+
* Indicates whether controlled voice call warmup is enabled for this phone number.
|
|
8733
|
+
*/
|
|
8734
|
+
callWarmupEnabled?: boolean | null;
|
|
8735
|
+
/**
|
|
8736
|
+
* Defines the supported voice call warmup stages for a Leadping-managed phone number.
|
|
8737
|
+
*/
|
|
8738
|
+
callWarmupStage?: PhoneNumberTableRow_callWarmupStage | null;
|
|
8739
|
+
/**
|
|
8740
|
+
* Defines the supported health states for controlled internal voice call warmup.
|
|
8741
|
+
*/
|
|
8742
|
+
callWarmupState?: PhoneNumberTableRow_callWarmupState | null;
|
|
8616
8743
|
/**
|
|
8617
8744
|
* SMS and voice capabilities available on this phone number.
|
|
8618
8745
|
*/
|
|
@@ -8723,6 +8850,8 @@ export interface PhoneNumberTableRow extends AdditionalDataHolder, Parsable {
|
|
|
8723
8850
|
*/
|
|
8724
8851
|
export interface PhoneNumberTableRow_adminEnablementOverride extends AdminEnablementOverride, Parsable {
|
|
8725
8852
|
}
|
|
8853
|
+
export type PhoneNumberTableRow_callWarmupStage = (typeof PhoneNumberTableRow_callWarmupStageObject)[keyof typeof PhoneNumberTableRow_callWarmupStageObject];
|
|
8854
|
+
export type PhoneNumberTableRow_callWarmupState = (typeof PhoneNumberTableRow_callWarmupStateObject)[keyof typeof PhoneNumberTableRow_callWarmupStateObject];
|
|
8726
8855
|
export type PhoneNumberTableRow_healthStatus = (typeof PhoneNumberTableRow_healthStatusObject)[keyof typeof PhoneNumberTableRow_healthStatusObject];
|
|
8727
8856
|
export type PhoneNumberTableRow_warmupState = (typeof PhoneNumberTableRow_warmupStateObject)[keyof typeof PhoneNumberTableRow_warmupStateObject];
|
|
8728
8857
|
/**
|
|
@@ -9500,6 +9629,13 @@ export declare function serializeBusinessRequest_address(writer: SerializationWr
|
|
|
9500
9629
|
* @param writer Serialization writer to use to serialize this model
|
|
9501
9630
|
*/
|
|
9502
9631
|
export declare function serializeBusinessRequest_adminEnablementOverride(writer: SerializationWriter, businessRequest_adminEnablementOverride?: Partial<BusinessRequest_adminEnablementOverride> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
9632
|
+
/**
|
|
9633
|
+
* Serializes information the current object
|
|
9634
|
+
* @param BusinessRequest_billingAddress The instance to serialize from.
|
|
9635
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
9636
|
+
* @param writer Serialization writer to use to serialize this model
|
|
9637
|
+
*/
|
|
9638
|
+
export declare function serializeBusinessRequest_billingAddress(writer: SerializationWriter, businessRequest_billingAddress?: Partial<BusinessRequest_billingAddress> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
9503
9639
|
/**
|
|
9504
9640
|
* Serializes information the current object
|
|
9505
9641
|
* @param BusinessRequest_compliancePolicy The instance to serialize from.
|
|
@@ -9549,6 +9685,13 @@ export declare function serializeBusinessResponse_address(writer: SerializationW
|
|
|
9549
9685
|
* @param writer Serialization writer to use to serialize this model
|
|
9550
9686
|
*/
|
|
9551
9687
|
export declare function serializeBusinessResponse_adminEnablementOverride(writer: SerializationWriter, businessResponse_adminEnablementOverride?: Partial<BusinessResponse_adminEnablementOverride> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
9688
|
+
/**
|
|
9689
|
+
* Serializes information the current object
|
|
9690
|
+
* @param BusinessResponse_billingAddress The instance to serialize from.
|
|
9691
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
9692
|
+
* @param writer Serialization writer to use to serialize this model
|
|
9693
|
+
*/
|
|
9694
|
+
export declare function serializeBusinessResponse_billingAddress(writer: SerializationWriter, businessResponse_billingAddress?: Partial<BusinessResponse_billingAddress> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
9552
9695
|
/**
|
|
9553
9696
|
* Serializes information the current object
|
|
9554
9697
|
* @param BusinessResponse_compliancePolicy The instance to serialize from.
|
|
@@ -10403,6 +10546,13 @@ export declare function serializePhoneNumberStatusResponse(writer: Serialization
|
|
|
10403
10546
|
* @param writer Serialization writer to use to serialize this model
|
|
10404
10547
|
*/
|
|
10405
10548
|
export declare function serializePhoneNumberStatusResponse_callWarmup(writer: SerializationWriter, phoneNumberStatusResponse_callWarmup?: Partial<PhoneNumberStatusResponse_callWarmup> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
10549
|
+
/**
|
|
10550
|
+
* Serializes information the current object
|
|
10551
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
10552
|
+
* @param PhoneNumberStatusResponse_outboundCapacity The instance to serialize from.
|
|
10553
|
+
* @param writer Serialization writer to use to serialize this model
|
|
10554
|
+
*/
|
|
10555
|
+
export declare function serializePhoneNumberStatusResponse_outboundCapacity(writer: SerializationWriter, phoneNumberStatusResponse_outboundCapacity?: Partial<PhoneNumberStatusResponse_outboundCapacity> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
10406
10556
|
/**
|
|
10407
10557
|
* Serializes information the current object
|
|
10408
10558
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -11517,10 +11667,6 @@ export interface SourceResponse extends AdditionalDataHolder, Parsable {
|
|
|
11517
11667
|
* State or region allowlist used to accept leads from this source.
|
|
11518
11668
|
*/
|
|
11519
11669
|
allowedStates?: string[] | null;
|
|
11520
|
-
/**
|
|
11521
|
-
* UTC timestamp when Leadping issued the source API key.
|
|
11522
|
-
*/
|
|
11523
|
-
apiKeyIssuedAt?: Date | null;
|
|
11524
11670
|
/**
|
|
11525
11671
|
* Masked preview of the source API key for display without exposing the secret.
|
|
11526
11672
|
*/
|
|
@@ -11639,10 +11785,6 @@ export interface SourceTableRow extends AdditionalDataHolder, Parsable {
|
|
|
11639
11785
|
* State or region allowlist used to accept leads from this source.
|
|
11640
11786
|
*/
|
|
11641
11787
|
allowedStates?: string[] | null;
|
|
11642
|
-
/**
|
|
11643
|
-
* UTC timestamp when Leadping issued the source API key.
|
|
11644
|
-
*/
|
|
11645
|
-
apiKeyIssuedAt?: Date | null;
|
|
11646
11788
|
/**
|
|
11647
11789
|
* UTC timestamp when the source API key was last used.
|
|
11648
11790
|
*/
|
|
@@ -13926,6 +14068,28 @@ export declare const PhoneNumberResponse_warmupStateObject: {
|
|
|
13926
14068
|
readonly Blocked: "Blocked";
|
|
13927
14069
|
readonly Ready: "Ready";
|
|
13928
14070
|
};
|
|
14071
|
+
/**
|
|
14072
|
+
* Defines the supported voice call warmup stages for a Leadping-managed phone number.
|
|
14073
|
+
*/
|
|
14074
|
+
export declare const PhoneNumberTableRow_callWarmupStageObject: {
|
|
14075
|
+
readonly Stage0: "Stage 0";
|
|
14076
|
+
readonly Stage1: "Stage 1";
|
|
14077
|
+
readonly Stage2: "Stage 2";
|
|
14078
|
+
readonly Stage3: "Stage 3";
|
|
14079
|
+
readonly Stage4: "Stage 4";
|
|
14080
|
+
};
|
|
14081
|
+
/**
|
|
14082
|
+
* Defines the supported health states for controlled internal voice call warmup.
|
|
14083
|
+
*/
|
|
14084
|
+
export declare const PhoneNumberTableRow_callWarmupStateObject: {
|
|
14085
|
+
readonly NotStarted: "Not Started";
|
|
14086
|
+
readonly NotEligible: "Not Eligible";
|
|
14087
|
+
readonly Warming: "Warming";
|
|
14088
|
+
readonly Warmed: "Warmed";
|
|
14089
|
+
readonly Paused: "Paused";
|
|
14090
|
+
readonly NeedsAttention: "Needs Attention";
|
|
14091
|
+
readonly Blocked: "Blocked";
|
|
14092
|
+
};
|
|
13929
14093
|
/**
|
|
13930
14094
|
* Defines the supported SMS Warmup Health State values.
|
|
13931
14095
|
*/
|