@leadping/sdk 1.0.78 → 1.0.80
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 +52 -28
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +32 -14
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
package/dist/models/index.d.ts
CHANGED
|
@@ -6375,6 +6375,14 @@ export interface LeadIntakeRequest extends AdditionalDataHolder, Parsable {
|
|
|
6375
6375
|
* City for the lead or organization postal address.
|
|
6376
6376
|
*/
|
|
6377
6377
|
city?: string | null;
|
|
6378
|
+
/**
|
|
6379
|
+
* The provider responsible for a lead's consent certificate.
|
|
6380
|
+
*/
|
|
6381
|
+
consentCertificateType?: LeadIntakeRequest_consentCertificateType | null;
|
|
6382
|
+
/**
|
|
6383
|
+
* Certificate URL used as proof of consumer consent.
|
|
6384
|
+
*/
|
|
6385
|
+
consentCertificateUrl?: string | null;
|
|
6378
6386
|
/**
|
|
6379
6387
|
* Lead date of birth supplied by intake sources and normalized into the lead profile.
|
|
6380
6388
|
*/
|
|
@@ -6463,10 +6471,6 @@ export interface LeadIntakeRequest extends AdditionalDataHolder, Parsable {
|
|
|
6463
6471
|
* Tag names assigned to this lead when matching existing tags by name.
|
|
6464
6472
|
*/
|
|
6465
6473
|
tagNames?: string[] | null;
|
|
6466
|
-
/**
|
|
6467
|
-
* TrustedForm certificate URL used as proof of consumer consent.
|
|
6468
|
-
*/
|
|
6469
|
-
trustedFormUrl?: string | null;
|
|
6470
6474
|
/**
|
|
6471
6475
|
* UTM campaign parameter captured for lead attribution reporting.
|
|
6472
6476
|
*/
|
|
@@ -6496,6 +6500,7 @@ export interface LeadIntakeRequest extends AdditionalDataHolder, Parsable {
|
|
|
6496
6500
|
*/
|
|
6497
6501
|
zip?: string | null;
|
|
6498
6502
|
}
|
|
6503
|
+
export type LeadIntakeRequest_consentCertificateType = (typeof LeadIntakeRequest_consentCertificateTypeObject)[keyof typeof LeadIntakeRequest_consentCertificateTypeObject];
|
|
6499
6504
|
/**
|
|
6500
6505
|
* Source-provided key-value metadata retained for lead attribution and integration troubleshooting.
|
|
6501
6506
|
*/
|
|
@@ -6517,6 +6522,14 @@ export interface LeadMetadata extends AdditionalDataHolder, Parsable {
|
|
|
6517
6522
|
* Compliance status used to decide whether Leadping can send messages.
|
|
6518
6523
|
*/
|
|
6519
6524
|
complianceStatus?: string | null;
|
|
6525
|
+
/**
|
|
6526
|
+
* The provider responsible for a lead's consent certificate.
|
|
6527
|
+
*/
|
|
6528
|
+
consentCertificateType?: LeadMetadata_consentCertificateType | null;
|
|
6529
|
+
/**
|
|
6530
|
+
* Certificate URL used as proof of consumer consent.
|
|
6531
|
+
*/
|
|
6532
|
+
consentCertificateUrl?: string | null;
|
|
6520
6533
|
/**
|
|
6521
6534
|
* UTC timestamp when this lead attribution metadata was created.
|
|
6522
6535
|
*/
|
|
@@ -6549,10 +6562,6 @@ export interface LeadMetadata extends AdditionalDataHolder, Parsable {
|
|
|
6549
6562
|
* Landing page URL where the lead submitted their information.
|
|
6550
6563
|
*/
|
|
6551
6564
|
landingPage?: string | null;
|
|
6552
|
-
/**
|
|
6553
|
-
* Standalone Leadping Consent certificate identifier, accepted as an alternative to TrustedForm.
|
|
6554
|
-
*/
|
|
6555
|
-
leadpingConsentCertificateId?: string | null;
|
|
6556
6565
|
/**
|
|
6557
6566
|
* Server-issued timestamp for successful Leadping Consent evidence and recipient validation.
|
|
6558
6567
|
*/
|
|
@@ -6621,10 +6630,6 @@ export interface LeadMetadata extends AdditionalDataHolder, Parsable {
|
|
|
6621
6630
|
* UTC timestamp when Leadping last successfully checked the TrustedForm certificate URL availability.
|
|
6622
6631
|
*/
|
|
6623
6632
|
trustedFormCheckedAt?: Date | null;
|
|
6624
|
-
/**
|
|
6625
|
-
* TrustedForm certificate URL used as proof of consumer consent.
|
|
6626
|
-
*/
|
|
6627
|
-
trustedFormUrl?: string | null;
|
|
6628
6633
|
/**
|
|
6629
6634
|
* Browser or client user agent captured when this lead attribution metadata was submitted.
|
|
6630
6635
|
*/
|
|
@@ -6658,6 +6663,7 @@ export interface LeadMetadata extends AdditionalDataHolder, Parsable {
|
|
|
6658
6663
|
*/
|
|
6659
6664
|
vertical?: string | null;
|
|
6660
6665
|
}
|
|
6666
|
+
export type LeadMetadata_consentCertificateType = (typeof LeadMetadata_consentCertificateTypeObject)[keyof typeof LeadMetadata_consentCertificateTypeObject];
|
|
6661
6667
|
/**
|
|
6662
6668
|
* Source-provided key-value metadata retained for lead attribution and integration troubleshooting.
|
|
6663
6669
|
*/
|
|
@@ -8021,10 +8027,6 @@ export type OrganizationBillingState_pendingBillingPlan = (typeof OrganizationBi
|
|
|
8021
8027
|
* Describes organization compliance policy data used in Leadping API requests and responses.
|
|
8022
8028
|
*/
|
|
8023
8029
|
export interface OrganizationCompliancePolicy extends AdditionalDataHolder, Parsable {
|
|
8024
|
-
/**
|
|
8025
|
-
* The allowed products included with this organization compliance policy.
|
|
8026
|
-
*/
|
|
8027
|
-
allowedProducts?: string[] | null;
|
|
8028
8030
|
/**
|
|
8029
8031
|
* The allowed states included with this organization compliance policy.
|
|
8030
8032
|
*/
|
|
@@ -8669,6 +8671,10 @@ export interface OrganizationSwitchOption extends AdditionalDataHolder, Parsable
|
|
|
8669
8671
|
* Whether this organization switch option is current.
|
|
8670
8672
|
*/
|
|
8671
8673
|
isCurrent?: boolean | null;
|
|
8674
|
+
/**
|
|
8675
|
+
* The isDemo property
|
|
8676
|
+
*/
|
|
8677
|
+
isDemo?: boolean | null;
|
|
8672
8678
|
/**
|
|
8673
8679
|
* UTC timestamp for last used at on this organization switch option.
|
|
8674
8680
|
*/
|
|
@@ -10196,6 +10202,10 @@ export interface PhoneNumberTableRow extends AdditionalDataHolder, Parsable {
|
|
|
10196
10202
|
* The isDemo property
|
|
10197
10203
|
*/
|
|
10198
10204
|
isDemo?: boolean | null;
|
|
10205
|
+
/**
|
|
10206
|
+
* City and state from the stored phone identity.
|
|
10207
|
+
*/
|
|
10208
|
+
location?: string | null;
|
|
10199
10209
|
/**
|
|
10200
10210
|
* Optional display label for this phone number table row in the Leadping API.
|
|
10201
10211
|
*/
|
|
@@ -12857,14 +12867,14 @@ export interface SourceMetricsResponse extends AdditionalDataHolder, Parsable {
|
|
|
12857
12867
|
* Defines the fields clients can send when working with lead source.
|
|
12858
12868
|
*/
|
|
12859
12869
|
export interface SourceRequest extends AdditionalDataHolder, Parsable {
|
|
12860
|
-
/**
|
|
12861
|
-
* Product allowlist used to accept or route leads from this source.
|
|
12862
|
-
*/
|
|
12863
|
-
allowedProducts?: string[] | null;
|
|
12864
12870
|
/**
|
|
12865
12871
|
* State or region allowlist used to accept leads from this source.
|
|
12866
12872
|
*/
|
|
12867
12873
|
allowedStates?: string[] | null;
|
|
12874
|
+
/**
|
|
12875
|
+
* Whether to look up lead phone numbers during intake. When disabled, lookup is required before calling or texting.
|
|
12876
|
+
*/
|
|
12877
|
+
automaticPhoneLookup?: boolean | null;
|
|
12868
12878
|
/**
|
|
12869
12879
|
* Tag IDs automatically assigned to leads created by this source.
|
|
12870
12880
|
*/
|
|
@@ -12890,10 +12900,6 @@ export interface SourceRequest extends AdditionalDataHolder, Parsable {
|
|
|
12890
12900
|
* Describes lead source data returned by Leadping.
|
|
12891
12901
|
*/
|
|
12892
12902
|
export interface SourceResponse extends AdditionalDataHolder, Parsable {
|
|
12893
|
-
/**
|
|
12894
|
-
* Product allowlist used to accept or route leads from this source.
|
|
12895
|
-
*/
|
|
12896
|
-
allowedProducts?: string[] | null;
|
|
12897
12903
|
/**
|
|
12898
12904
|
* State or region allowlist used to accept leads from this source.
|
|
12899
12905
|
*/
|
|
@@ -12906,6 +12912,10 @@ export interface SourceResponse extends AdditionalDataHolder, Parsable {
|
|
|
12906
12912
|
* UTC timestamp when the source credential was most recently rotated.
|
|
12907
12913
|
*/
|
|
12908
12914
|
apiKeyRotatedAt?: Date | null;
|
|
12915
|
+
/**
|
|
12916
|
+
* Whether to look up lead phone numbers during intake. When disabled, lookup is required before calling or texting.
|
|
12917
|
+
*/
|
|
12918
|
+
automaticPhoneLookup?: boolean | null;
|
|
12909
12919
|
/**
|
|
12910
12920
|
* Indicates whether the organization or sender passed compliance review.
|
|
12911
12921
|
*/
|
|
@@ -13007,10 +13017,6 @@ export interface SourceResponse_user extends IdNamePair, Parsable {
|
|
|
13007
13017
|
* Summarizes lead source data in paginated and searchable results.
|
|
13008
13018
|
*/
|
|
13009
13019
|
export interface SourceTableRow extends AdditionalDataHolder, Parsable {
|
|
13010
|
-
/**
|
|
13011
|
-
* Product allowlist used to accept or route leads from this source.
|
|
13012
|
-
*/
|
|
13013
|
-
allowedProducts?: string[] | null;
|
|
13014
13020
|
/**
|
|
13015
13021
|
* State or region allowlist used to accept leads from this source.
|
|
13016
13022
|
*/
|
|
@@ -13031,6 +13037,10 @@ export interface SourceTableRow extends AdditionalDataHolder, Parsable {
|
|
|
13031
13037
|
* Total number of authenticated requests made with this source API key.
|
|
13032
13038
|
*/
|
|
13033
13039
|
apiKeyTotalUses?: number | null;
|
|
13040
|
+
/**
|
|
13041
|
+
* Whether lead phone numbers are looked up automatically during intake.
|
|
13042
|
+
*/
|
|
13043
|
+
automaticPhoneLookup?: boolean | null;
|
|
13034
13044
|
/**
|
|
13035
13045
|
* Indicates whether the organization or sender passed compliance review.
|
|
13036
13046
|
*/
|
|
@@ -14827,6 +14837,20 @@ export declare const FeedbackTypeObject: {
|
|
|
14827
14837
|
readonly Missing_capability: "missing_capability";
|
|
14828
14838
|
readonly Other: "other";
|
|
14829
14839
|
};
|
|
14840
|
+
/**
|
|
14841
|
+
* The provider responsible for a lead's consent certificate.
|
|
14842
|
+
*/
|
|
14843
|
+
export declare const LeadIntakeRequest_consentCertificateTypeObject: {
|
|
14844
|
+
readonly TrustedForm: "TrustedForm";
|
|
14845
|
+
readonly Leadping: "Leadping";
|
|
14846
|
+
};
|
|
14847
|
+
/**
|
|
14848
|
+
* The provider responsible for a lead's consent certificate.
|
|
14849
|
+
*/
|
|
14850
|
+
export declare const LeadMetadata_consentCertificateTypeObject: {
|
|
14851
|
+
readonly TrustedForm: "TrustedForm";
|
|
14852
|
+
readonly Leadping: "Leadping";
|
|
14853
|
+
};
|
|
14830
14854
|
/**
|
|
14831
14855
|
* Classifies a lead's reported employment arrangement for qualification and demographic workflows.
|
|
14832
14856
|
*/
|