@leadping/sdk 1.0.85 → 1.0.87
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/leads/item/index.d.ts +5 -0
- package/dist/leads/item/index.d.ts.map +1 -1
- package/dist/leads/item/index.js +5 -0
- package/dist/leads/item/index.js.map +1 -1
- package/dist/leads/item/phoneLookup/index.d.ts +32 -0
- package/dist/leads/item/phoneLookup/index.d.ts.map +1 -0
- package/dist/leads/item/phoneLookup/index.js +29 -0
- package/dist/leads/item/phoneLookup/index.js.map +1 -0
- package/dist/models/index.d.ts +82 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +51 -0
- package/dist/models/index.js.map +1 -1
- package/dist/outbound/index.d.ts +7 -0
- package/dist/outbound/index.d.ts.map +1 -1
- package/dist/outbound/index.js +6 -0
- package/dist/outbound/index.js.map +1 -1
- package/dist/outbound/item/capacity/index.d.ts +32 -0
- package/dist/outbound/item/capacity/index.d.ts.map +1 -0
- package/dist/outbound/item/capacity/index.js +29 -0
- package/dist/outbound/item/capacity/index.js.map +1 -0
- package/dist/outbound/item/index.d.ts +20 -0
- package/dist/outbound/item/index.d.ts.map +1 -0
- package/dist/outbound/item/index.js +20 -0
- package/dist/outbound/item/index.js.map +1 -0
- package/package.json +1 -1
|
@@ -2,6 +2,7 @@ import { type LeadRequest, type LeadResponse } from '../../models/index.js';
|
|
|
2
2
|
import { type ArchiveRequestBuilder } from './archive/index.js';
|
|
3
3
|
import { type AssignmentRequestBuilder } from './assignment/index.js';
|
|
4
4
|
import { type FollowUpRequestBuilder } from './followUp/index.js';
|
|
5
|
+
import { type PhoneLookupRequestBuilder } from './phoneLookup/index.js';
|
|
5
6
|
import { type StatusRequestBuilder } from './status/index.js';
|
|
6
7
|
import { type StatusHistoryRequestBuilder } from './statusHistory/index.js';
|
|
7
8
|
import { type TagsRequestBuilder } from './tags/index.js';
|
|
@@ -24,6 +25,10 @@ export interface ItemRequestBuilder extends BaseRequestBuilder<ItemRequestBuilde
|
|
|
24
25
|
* The followUp property
|
|
25
26
|
*/
|
|
26
27
|
get followUp(): FollowUpRequestBuilder;
|
|
28
|
+
/**
|
|
29
|
+
* The phoneLookup property
|
|
30
|
+
*/
|
|
31
|
+
get phoneLookup(): PhoneLookupRequestBuilder;
|
|
27
32
|
/**
|
|
28
33
|
* The status property
|
|
29
34
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../leads/item/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAqI,KAAK,WAAW,EAAE,KAAK,YAAY,EAAuB,MAAM,uBAAuB,CAAC;AAEpO,OAAO,EAAyC,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAEvG,OAAO,EAA4C,KAAK,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAEhH,OAAO,EAA0C,KAAK,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAE1G,OAAO,EAAwC,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAEpG,OAAO,EAA8F,KAAK,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAExK,OAAO,EAA4E,KAAK,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAEpI,OAAO,EAAE,KAAK,uBAAuB,EAA2C,MAAM,sBAAsB,CAAC;AAE7G,OAAO,EAAE,KAAK,4BAA4B,EAAgD,MAAM,2BAA2B,CAAC;AAE5H,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,kBAAmB,SAAQ,kBAAkB,CAAC,kBAAkB,CAAC;IAC9E;;OAEG;IACH,IAAI,OAAO,IAAI,qBAAqB,CAAC;IACrC;;OAEG;IACH,IAAI,UA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,kCAAkC,CAAC,EAAE,kBAAkB,CA8BlJ,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,kCAAkC,EAAE,gBAwChD,CAAC"}
|
package/dist/leads/item/index.js
CHANGED
|
@@ -10,6 +10,8 @@ import { AssignmentRequestBuilderRequestsMetadata } from './assignment/index.js'
|
|
|
10
10
|
// @ts-ignore
|
|
11
11
|
import { FollowUpRequestBuilderRequestsMetadata } from './followUp/index.js';
|
|
12
12
|
// @ts-ignore
|
|
13
|
+
import { PhoneLookupRequestBuilderRequestsMetadata } from './phoneLookup/index.js';
|
|
14
|
+
// @ts-ignore
|
|
13
15
|
import { StatusRequestBuilderRequestsMetadata } from './status/index.js';
|
|
14
16
|
// @ts-ignore
|
|
15
17
|
import { StatusHistoryRequestBuilderNavigationMetadata, StatusHistoryRequestBuilderRequestsMetadata } from './statusHistory/index.js';
|
|
@@ -36,6 +38,9 @@ export const ItemRequestBuilderNavigationMetadata = {
|
|
|
36
38
|
followUp: {
|
|
37
39
|
requestsMetadata: FollowUpRequestBuilderRequestsMetadata,
|
|
38
40
|
},
|
|
41
|
+
phoneLookup: {
|
|
42
|
+
requestsMetadata: PhoneLookupRequestBuilderRequestsMetadata,
|
|
43
|
+
},
|
|
39
44
|
status: {
|
|
40
45
|
requestsMetadata: StatusRequestBuilderRequestsMetadata,
|
|
41
46
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../leads/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,wCAAwC,EAAE,0CAA0C,EAAE,oBAAoB,EAAmF,MAAM,uBAAuB,CAAC;AACpO,aAAa;AACb,OAAO,EAAE,qCAAqC,EAA8B,MAAM,oBAAoB,CAAC;AACvG,aAAa;AACb,OAAO,EAAE,wCAAwC,EAAiC,MAAM,uBAAuB,CAAC;AAChH,aAAa;AACb,OAAO,EAAE,sCA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,EAAE,6BAA6B;QAC1C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,wCAAwC;QAC9D,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,oBAAoB;QAC3C,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { type LeadResponse } from '../../../models/index.js';
|
|
2
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Builds and executes requests for operations under /leads/{-id}/phone-lookup
|
|
5
|
+
*/
|
|
6
|
+
export interface PhoneLookupRequestBuilder extends BaseRequestBuilder<PhoneLookupRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Queues a phone identity lookup for a lead visible to the current user and returns the lead after the lookup request is accepted.The lookup runs asynchronously and incurs a charge.
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
* @returns {Promise<LeadResponse>}
|
|
11
|
+
* @throws {ProblemDetails} error when the service returns a 400 status code
|
|
12
|
+
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
13
|
+
* @throws {ProblemDetails} error when the service returns a 403 status code
|
|
14
|
+
* @throws {ProblemDetails} error when the service returns a 429 status code
|
|
15
|
+
*/
|
|
16
|
+
post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<LeadResponse | undefined>;
|
|
17
|
+
/**
|
|
18
|
+
* Queues a phone identity lookup for a lead visible to the current user and returns the lead after the lookup request is accepted.The lookup runs asynchronously and incurs a charge.
|
|
19
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
20
|
+
* @returns {RequestInformation}
|
|
21
|
+
*/
|
|
22
|
+
toPostRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Uri template for the request builder.
|
|
26
|
+
*/
|
|
27
|
+
export declare const PhoneLookupRequestBuilderUriTemplate = "{+baseurl}/leads/{%2Did}/phone-lookup";
|
|
28
|
+
/**
|
|
29
|
+
* Metadata for all the requests in the request builder.
|
|
30
|
+
*/
|
|
31
|
+
export declare const PhoneLookupRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
32
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../leads/item/phoneLookup/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAwF,KAAK,YAAY,EAAuB,MAAM,0BAA0B,CAAC;AAExK,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,yBAA0B,SAAQ,kBAAkB,CAAC,yBAAyB,CAAC;IAC5F;;;;;;;;OAQG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,YAAY,GAAG,SAAS,CAAC,CAAC;IAC3G;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,oCAAoC,0CAA0C,CAAC;AAC5F;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,gBAavD,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createLeadResponseFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue } from '../../../models/index.js';
|
|
6
|
+
/**
|
|
7
|
+
* Uri template for the request builder.
|
|
8
|
+
*/
|
|
9
|
+
export const PhoneLookupRequestBuilderUriTemplate = "{+baseurl}/leads/{%2Did}/phone-lookup";
|
|
10
|
+
/**
|
|
11
|
+
* Metadata for all the requests in the request builder.
|
|
12
|
+
*/
|
|
13
|
+
export const PhoneLookupRequestBuilderRequestsMetadata = {
|
|
14
|
+
post: {
|
|
15
|
+
uriTemplate: PhoneLookupRequestBuilderUriTemplate,
|
|
16
|
+
responseBodyContentType: "text/plain;q=0.9",
|
|
17
|
+
errorMappings: {
|
|
18
|
+
400: createProblemDetailsFromDiscriminatorValue,
|
|
19
|
+
401: createProblemDetailsFromDiscriminatorValue,
|
|
20
|
+
403: createProblemDetailsFromDiscriminatorValue,
|
|
21
|
+
429: createProblemDetailsFromDiscriminatorValue,
|
|
22
|
+
},
|
|
23
|
+
adapterMethodName: "send",
|
|
24
|
+
responseBodyFactory: createLeadResponseFromDiscriminatorValue,
|
|
25
|
+
},
|
|
26
|
+
};
|
|
27
|
+
/* tslint:enable */
|
|
28
|
+
/* eslint-enable */
|
|
29
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../leads/item/phoneLookup/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,wCAAwC,EAAE,0CAA0C,EAA0C,MAAM,0BAA0B,CAAC;AAyBxK;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAG,uCAAuC,CAAC;AAC5F;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAqB;IACvE,IAAI,EAAE;QACF,WAAW,EAAE,oCAAoC;QACjD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,wCAAwC;KACjE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1227,6 +1227,7 @@ export interface AutomationWorkflowStatusResponse extends AdditionalDataHolder,
|
|
|
1227
1227
|
runs?: AutomationWorkflowRunResponse[] | null;
|
|
1228
1228
|
}
|
|
1229
1229
|
export type BillableUnit = (typeof BillableUnitObject)[keyof typeof BillableUnitObject];
|
|
1230
|
+
export type BillingPaymentMethodType = (typeof BillingPaymentMethodTypeObject)[keyof typeof BillingPaymentMethodTypeObject];
|
|
1230
1231
|
export type BillingPlan = (typeof BillingPlanObject)[keyof typeof BillingPlanObject];
|
|
1231
1232
|
/**
|
|
1232
1233
|
* Represents a blog article response.
|
|
@@ -1407,6 +1408,10 @@ export interface CallEventTableRow extends AdditionalDataHolder, Parsable {
|
|
|
1407
1408
|
* UTC timestamp when this call event table row was created.
|
|
1408
1409
|
*/
|
|
1409
1410
|
createdAt?: Date | null;
|
|
1411
|
+
/**
|
|
1412
|
+
* Stored description of the call event.
|
|
1413
|
+
*/
|
|
1414
|
+
description?: string | null;
|
|
1410
1415
|
/**
|
|
1411
1416
|
* Communication direction for this call event table row, such as inbound or outbound.
|
|
1412
1417
|
*/
|
|
@@ -7043,6 +7048,10 @@ export interface LeadMetadata extends AdditionalDataHolder, Parsable {
|
|
|
7043
7048
|
* Certificate URL used as proof of consumer consent.
|
|
7044
7049
|
*/
|
|
7045
7050
|
consentCertificateUrl?: string | null;
|
|
7051
|
+
/**
|
|
7052
|
+
* Server-issued time at which the source policy skipped certificate validation for this consent snapshot.
|
|
7053
|
+
*/
|
|
7054
|
+
consentValidationSkippedAt?: Date | null;
|
|
7046
7055
|
/**
|
|
7047
7056
|
* Leadping's assessment of the supporting consent evidence.
|
|
7048
7057
|
*/
|
|
@@ -7091,6 +7100,10 @@ export interface LeadMetadata extends AdditionalDataHolder, Parsable {
|
|
|
7091
7100
|
* Organization ID that owns this lead's attribution metadata.
|
|
7092
7101
|
*/
|
|
7093
7102
|
organizationId?: string | null;
|
|
7103
|
+
/**
|
|
7104
|
+
* Organization name captured at intake for searching lead attribution.
|
|
7105
|
+
*/
|
|
7106
|
+
organizationName?: string | null;
|
|
7094
7107
|
/**
|
|
7095
7108
|
* System or workflow that created this event.
|
|
7096
7109
|
*/
|
|
@@ -7143,6 +7156,10 @@ export interface LeadMetadata extends AdditionalDataHolder, Parsable {
|
|
|
7143
7156
|
* Source-provided key-value metadata retained for lead attribution and integration troubleshooting.
|
|
7144
7157
|
*/
|
|
7145
7158
|
sourceMetadata?: LeadMetadata_sourceMetadata | null;
|
|
7159
|
+
/**
|
|
7160
|
+
* Source name captured at intake for searching lead attribution.
|
|
7161
|
+
*/
|
|
7162
|
+
sourceName?: string | null;
|
|
7146
7163
|
/**
|
|
7147
7164
|
* Affiliate or publisher sub ID captured for lead attribution.
|
|
7148
7165
|
*/
|
|
@@ -9090,6 +9107,10 @@ export interface OrganizationRequest extends AdditionalDataHolder, Parsable {
|
|
|
9090
9107
|
* Intended audience described during organization setup.
|
|
9091
9108
|
*/
|
|
9092
9109
|
targetAudience?: string | null;
|
|
9110
|
+
/**
|
|
9111
|
+
* Default timezone for organization reporting and display when a user has no personal preference.
|
|
9112
|
+
*/
|
|
9113
|
+
timeZoneId?: string | null;
|
|
9093
9114
|
/**
|
|
9094
9115
|
* Industry vertical used for lead routing, compliance review, and reporting.
|
|
9095
9116
|
*/
|
|
@@ -9228,6 +9249,10 @@ export interface OrganizationResponse extends AdditionalDataHolder, Parsable {
|
|
|
9228
9249
|
* Describes an organization's billing subscription lifecycle, including trial, active, delinquent, canceled, and expired states.
|
|
9229
9250
|
*/
|
|
9230
9251
|
subscriptionStatus?: OrganizationResponse_subscriptionStatus | null;
|
|
9252
|
+
/**
|
|
9253
|
+
* Default timezone for organization reporting and display when a user has no personal preference.
|
|
9254
|
+
*/
|
|
9255
|
+
timeZoneId?: string | null;
|
|
9231
9256
|
/**
|
|
9232
9257
|
* Provides a compact API reference to another resource using its stable identifier and human-readable display name.
|
|
9233
9258
|
*/
|
|
@@ -9342,6 +9367,10 @@ export interface OrganizationSwitchOption extends AdditionalDataHolder, Parsable
|
|
|
9342
9367
|
* Describes an organization's overall 10DLC registration lifecycle across brand and messaging campaign submission.
|
|
9343
9368
|
*/
|
|
9344
9369
|
tenDlcStatus?: OrganizationSwitchOption_tenDlcStatus | null;
|
|
9370
|
+
/**
|
|
9371
|
+
* Default timezone for organization reporting and display when a user has no personal preference.
|
|
9372
|
+
*/
|
|
9373
|
+
timeZoneId?: string | null;
|
|
9345
9374
|
}
|
|
9346
9375
|
export type OrganizationSwitchOption_activationStatus = (typeof OrganizationSwitchOption_activationStatusObject)[keyof typeof OrganizationSwitchOption_activationStatusObject];
|
|
9347
9376
|
export type OrganizationSwitchOption_organizationStatus = (typeof OrganizationSwitchOption_organizationStatusObject)[keyof typeof OrganizationSwitchOption_organizationStatusObject];
|
|
@@ -10870,6 +10899,10 @@ export interface PhoneNumberTableRow extends AdditionalDataHolder, Parsable {
|
|
|
10870
10899
|
* Human-readable routing summary for this phone number.
|
|
10871
10900
|
*/
|
|
10872
10901
|
routingSummary?: string | null;
|
|
10902
|
+
/**
|
|
10903
|
+
* Indicates whether a phone number's channel capacity is increasing, decreasing, or stable.
|
|
10904
|
+
*/
|
|
10905
|
+
smsRampDirection?: PhoneNumberTableRow_smsRampDirection | null;
|
|
10873
10906
|
/**
|
|
10874
10907
|
* Indicates whether SMS messaging is ready for this organization or phone number.
|
|
10875
10908
|
*/
|
|
@@ -10882,6 +10915,10 @@ export interface PhoneNumberTableRow extends AdditionalDataHolder, Parsable {
|
|
|
10882
10915
|
* Type classification used to route and interpret this phone number table row in the Leadping API.
|
|
10883
10916
|
*/
|
|
10884
10917
|
type?: string | null;
|
|
10918
|
+
/**
|
|
10919
|
+
* Indicates whether a phone number's channel capacity is increasing, decreasing, or stable.
|
|
10920
|
+
*/
|
|
10921
|
+
voiceRampDirection?: PhoneNumberTableRow_voiceRampDirection | null;
|
|
10885
10922
|
/**
|
|
10886
10923
|
* Indicates whether voice calling is ready for this organization or phone number.
|
|
10887
10924
|
*/
|
|
@@ -10891,6 +10928,8 @@ export interface PhoneNumberTableRow extends AdditionalDataHolder, Parsable {
|
|
|
10891
10928
|
*/
|
|
10892
10929
|
warmup?: PhoneNumberReadiness | null;
|
|
10893
10930
|
}
|
|
10931
|
+
export type PhoneNumberTableRow_smsRampDirection = (typeof PhoneNumberTableRow_smsRampDirectionObject)[keyof typeof PhoneNumberTableRow_smsRampDirectionObject];
|
|
10932
|
+
export type PhoneNumberTableRow_voiceRampDirection = (typeof PhoneNumberTableRow_voiceRampDirectionObject)[keyof typeof PhoneNumberTableRow_voiceRampDirectionObject];
|
|
10894
10933
|
/**
|
|
10895
10934
|
* Describes phone number traffic metrics data returned by Leadping.
|
|
10896
10935
|
*/
|
|
@@ -13697,6 +13736,10 @@ export interface SourceMetricsResponse extends AdditionalDataHolder, Parsable {
|
|
|
13697
13736
|
* Defines the fields clients can send when working with lead source.
|
|
13698
13737
|
*/
|
|
13699
13738
|
export interface SourceRequest extends AdditionalDataHolder, Parsable {
|
|
13739
|
+
/**
|
|
13740
|
+
* Whether to validate consent certificates during intake. Skipped validation leaves consent unverified.
|
|
13741
|
+
*/
|
|
13742
|
+
automaticConsentValidation?: boolean | null;
|
|
13700
13743
|
/**
|
|
13701
13744
|
* Whether to look up lead phone numbers during intake. When disabled, lookup is required before calling or texting.
|
|
13702
13745
|
*/
|
|
@@ -13738,6 +13781,10 @@ export interface SourceResponse extends AdditionalDataHolder, Parsable {
|
|
|
13738
13781
|
* UTC timestamp when the source credential was most recently rotated.
|
|
13739
13782
|
*/
|
|
13740
13783
|
apiKeyRotatedAt?: Date | null;
|
|
13784
|
+
/**
|
|
13785
|
+
* Whether to validate consent certificates during intake. Skipped validation leaves consent unverified.
|
|
13786
|
+
*/
|
|
13787
|
+
automaticConsentValidation?: boolean | null;
|
|
13741
13788
|
/**
|
|
13742
13789
|
* Whether to look up lead phone numbers during intake. When disabled, lookup is required before calling or texting.
|
|
13743
13790
|
*/
|
|
@@ -13863,6 +13910,10 @@ export interface SourceTableRow extends AdditionalDataHolder, Parsable {
|
|
|
13863
13910
|
* Total number of authenticated requests made with this source API key.
|
|
13864
13911
|
*/
|
|
13865
13912
|
apiKeyTotalUses?: number | null;
|
|
13913
|
+
/**
|
|
13914
|
+
* Whether to validate consent certificates during intake. Skipped validation leaves consent unverified.
|
|
13915
|
+
*/
|
|
13916
|
+
automaticConsentValidation?: boolean | null;
|
|
13866
13917
|
/**
|
|
13867
13918
|
* Whether lead phone numbers are looked up automatically during intake.
|
|
13868
13919
|
*/
|
|
@@ -14112,6 +14163,14 @@ export interface StripePaymentMethodResponse extends AdditionalDataHolder, Parsa
|
|
|
14112
14163
|
* Last four digits of the payment card number.
|
|
14113
14164
|
*/
|
|
14114
14165
|
last4?: string | null;
|
|
14166
|
+
/**
|
|
14167
|
+
* Reusable payment types supported for immediate billing payments.
|
|
14168
|
+
*/
|
|
14169
|
+
type?: BillingPaymentMethodType | null;
|
|
14170
|
+
/**
|
|
14171
|
+
* The wallet name when supplied by a digital wallet.
|
|
14172
|
+
*/
|
|
14173
|
+
walletName?: string | null;
|
|
14115
14174
|
}
|
|
14116
14175
|
/**
|
|
14117
14176
|
* Reports whether Leadping may contact a recipient and identifies the active suppression when contact is blocked.
|
|
@@ -15484,6 +15543,13 @@ export declare const BillableUnitObject: {
|
|
|
15484
15543
|
readonly Connection_action: "connection_action";
|
|
15485
15544
|
readonly Automation_run: "automation_run";
|
|
15486
15545
|
};
|
|
15546
|
+
/**
|
|
15547
|
+
* Reusable payment types supported for immediate billing payments.
|
|
15548
|
+
*/
|
|
15549
|
+
export declare const BillingPaymentMethodTypeObject: {
|
|
15550
|
+
readonly Card: "card";
|
|
15551
|
+
readonly Link: "link";
|
|
15552
|
+
};
|
|
15487
15553
|
/**
|
|
15488
15554
|
* Identifies the Leadping subscription plan that determines organization features, allowances, and billing behavior.
|
|
15489
15555
|
*/
|
|
@@ -16327,6 +16393,22 @@ export declare const PhoneNumberReadiness_stateObject: {
|
|
|
16327
16393
|
readonly Blocked: "Blocked";
|
|
16328
16394
|
readonly Ready: "Ready";
|
|
16329
16395
|
};
|
|
16396
|
+
/**
|
|
16397
|
+
* Indicates whether a phone number's channel capacity is increasing, decreasing, or stable.
|
|
16398
|
+
*/
|
|
16399
|
+
export declare const PhoneNumberTableRow_smsRampDirectionObject: {
|
|
16400
|
+
readonly Up: "up";
|
|
16401
|
+
readonly Down: "down";
|
|
16402
|
+
readonly None: "none";
|
|
16403
|
+
};
|
|
16404
|
+
/**
|
|
16405
|
+
* Indicates whether a phone number's channel capacity is increasing, decreasing, or stable.
|
|
16406
|
+
*/
|
|
16407
|
+
export declare const PhoneNumberTableRow_voiceRampDirectionObject: {
|
|
16408
|
+
readonly Up: "up";
|
|
16409
|
+
readonly Down: "down";
|
|
16410
|
+
readonly None: "none";
|
|
16411
|
+
};
|
|
16330
16412
|
/**
|
|
16331
16413
|
* Defines the source that requested outbound delivery.
|
|
16332
16414
|
*/
|