@leadping/sdk 1.0.140 → 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.
@@ -2940,6 +2940,12 @@ export declare function createLeadResponse_inquiryFromDiscriminatorValue(parseNo
2940
2940
  * @returns {LeadResponse_phoneIdentity}
2941
2941
  */
2942
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>);
2943
2949
  /**
2944
2950
  * Creates a new instance of the appropriate class based on discriminator value
2945
2951
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -3663,6 +3669,12 @@ export declare function createPhoneNumberTrafficMetricsResponseFromDiscriminator
3663
3669
  * @returns {PhoneNumberTrafficTrendPoint}
3664
3670
  */
3665
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>);
3666
3678
  /**
3667
3679
  * Creates a new instance of the appropriate class based on discriminator value
3668
3680
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -5617,6 +5629,12 @@ export declare function deserializeIntoLeadResponse_inquiry(leadResponse_inquiry
5617
5629
  * @returns {Record<string, (node: ParseNode) => void>}
5618
5630
  */
5619
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>;
5620
5638
  /**
5621
5639
  * The deserialization information for the current model
5622
5640
  * @param LeadResponse_profile The instance to deserialize into.
@@ -6325,6 +6343,12 @@ export declare function deserializeIntoPhoneNumberTrafficMetricsResponse(phoneNu
6325
6343
  * @returns {Record<string, (node: ParseNode) => void>}
6326
6344
  */
6327
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>;
6328
6352
  /**
6329
6353
  * The deserialization information for the current model
6330
6354
  * @param ProblemDetails The instance to deserialize into.
@@ -8347,6 +8371,10 @@ export interface LeadResponse extends AdditionalDataHolder, Parsable {
8347
8371
  * Describes Leadping's canonical identity for a phone number, including normalization, carrier, line type, reputation, and lookup history.
8348
8372
  */
8349
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;
8350
8378
  /**
8351
8379
  * Defines the asynchronous verification and enrichment lifecycle for a lead.
8352
8380
  */
@@ -8407,6 +8435,11 @@ export interface LeadResponse_inquiry extends LeadInquiry, Parsable {
8407
8435
  */
8408
8436
  export interface LeadResponse_phoneIdentity extends Parsable, PhoneIdentityResponse {
8409
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
+ }
8410
8443
  export type LeadResponse_processingStatus = (typeof LeadResponse_processingStatusObject)[keyof typeof LeadResponse_processingStatusObject];
8411
8444
  /**
8412
8445
  * Public Leadping API schema for lead demographic profile data.
@@ -10058,6 +10091,10 @@ export interface OrganizationRequest extends AdditionalDataHolder, Parsable {
10058
10091
  * Human-readable description that explains this organization profile request to API users.
10059
10092
  */
10060
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;
10061
10098
  /**
10062
10099
  * Employer Identification Number used for organization and 10DLC verification.
10063
10100
  */
@@ -10196,6 +10233,10 @@ export interface OrganizationResponse extends AdditionalDataHolder, Parsable {
10196
10233
  * Domain name connected to the organization website or activation workflow.
10197
10234
  */
10198
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;
10199
10240
  /**
10200
10241
  * Employer Identification Number used for organization and 10DLC verification.
10201
10242
  */
@@ -12059,6 +12100,23 @@ export interface PhoneNumberTrafficTrendPoint extends AdditionalDataHolder, Pars
12059
12100
  */
12060
12101
  startAt?: Date | null;
12061
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
+ }
12062
12120
  /**
12063
12121
  * Standard problem-details response containing machine-readable and human-readable information about an HTTP API error.
12064
12122
  */
@@ -13188,6 +13246,13 @@ export declare function serializeLeadResponse_inquiry(writer: SerializationWrite
13188
13246
  * @param writer Serialization writer to use to serialize this model
13189
13247
  */
13190
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;
13191
13256
  /**
13192
13257
  * Serializes information the current object
13193
13258
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -14014,6 +14079,13 @@ export declare function serializePhoneNumberTrafficMetricsResponse(writer: Seria
14014
14079
  * @param writer Serialization writer to use to serialize this model
14015
14080
  */
14016
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;
14017
14089
  /**
14018
14090
  * Serializes information the current object
14019
14091
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.