@leadping/sdk 1.0.72 → 1.0.73

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.
@@ -2146,6 +2146,12 @@ export declare function createLeadMetadata_sourceMetadataFromDiscriminatorValue(
2146
2146
  * @returns {LeadMetadata}
2147
2147
  */
2148
2148
  export declare function createLeadMetadataFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
2149
+ /**
2150
+ * Creates a new instance of the appropriate class based on discriminator value
2151
+ * @param parseNode The parse node to use to read the discriminator value and create the object
2152
+ * @returns {LeadpingConsentCertificate}
2153
+ */
2154
+ export declare function createLeadpingConsentCertificateFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
2149
2155
  /**
2150
2156
  * Creates a new instance of the appropriate class based on discriminator value
2151
2157
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -3127,12 +3133,6 @@ export declare function createTransactionTableRow_organizationFromDiscriminatorV
3127
3133
  * @returns {TransactionTableRow}
3128
3134
  */
3129
3135
  export declare function createTransactionTableRowFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
3130
- /**
3131
- * Creates a new instance of the appropriate class based on discriminator value
3132
- * @param parseNode The parse node to use to read the discriminator value and create the object
3133
- * @returns {TrustedFormCertificate}
3134
- */
3135
- export declare function createTrustedFormCertificateFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
3136
3136
  /**
3137
3137
  * Creates a new instance of the appropriate class based on discriminator value
3138
3138
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -3202,9 +3202,9 @@ export declare function createUserDataExportResponseFromDiscriminatorValue(parse
3202
3202
  /**
3203
3203
  * Creates a new instance of the appropriate class based on discriminator value
3204
3204
  * @param parseNode The parse node to use to read the discriminator value and create the object
3205
- * @returns {UserNotificationPreferences_smsConsentTrustedFormCertificate}
3205
+ * @returns {UserNotificationPreferences_smsConsentCertificate}
3206
3206
  */
3207
- export declare function createUserNotificationPreferences_smsConsentTrustedFormCertificateFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
3207
+ export declare function createUserNotificationPreferences_smsConsentCertificateFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
3208
3208
  /**
3209
3209
  * Creates a new instance of the appropriate class based on discriminator value
3210
3210
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -4448,6 +4448,12 @@ export declare function deserializeIntoLeadMetadata(leadMetadata?: Partial<LeadM
4448
4448
  * @returns {Record<string, (node: ParseNode) => void>}
4449
4449
  */
4450
4450
  export declare function deserializeIntoLeadMetadata_sourceMetadata(leadMetadata_sourceMetadata?: Partial<LeadMetadata_sourceMetadata> | undefined): Record<string, (node: ParseNode) => void>;
4451
+ /**
4452
+ * The deserialization information for the current model
4453
+ * @param LeadpingConsentCertificate The instance to deserialize into.
4454
+ * @returns {Record<string, (node: ParseNode) => void>}
4455
+ */
4456
+ export declare function deserializeIntoLeadpingConsentCertificate(leadpingConsentCertificate?: Partial<LeadpingConsentCertificate> | undefined): Record<string, (node: ParseNode) => void>;
4451
4457
  /**
4452
4458
  * The deserialization information for the current model
4453
4459
  * @param LeadProfile The instance to deserialize into.
@@ -5420,12 +5426,6 @@ export declare function deserializeIntoTransactionTableRow_lead(transactionTable
5420
5426
  * @returns {Record<string, (node: ParseNode) => void>}
5421
5427
  */
5422
5428
  export declare function deserializeIntoTransactionTableRow_organization(transactionTableRow_organization?: Partial<TransactionTableRow_organization> | undefined): Record<string, (node: ParseNode) => void>;
5423
- /**
5424
- * The deserialization information for the current model
5425
- * @param TrustedFormCertificate The instance to deserialize into.
5426
- * @returns {Record<string, (node: ParseNode) => void>}
5427
- */
5428
- export declare function deserializeIntoTrustedFormCertificate(trustedFormCertificate?: Partial<TrustedFormCertificate> | undefined): Record<string, (node: ParseNode) => void>;
5429
5429
  /**
5430
5430
  * The deserialization information for the current model
5431
5431
  * @param UsageCounterLine The instance to deserialize into.
@@ -5500,10 +5500,10 @@ export declare function deserializeIntoUserDataExportResponse(userDataExportResp
5500
5500
  export declare function deserializeIntoUserNotificationPreferences(userNotificationPreferences?: Partial<UserNotificationPreferences> | undefined): Record<string, (node: ParseNode) => void>;
5501
5501
  /**
5502
5502
  * The deserialization information for the current model
5503
- * @param UserNotificationPreferences_smsConsentTrustedFormCertificate The instance to deserialize into.
5503
+ * @param UserNotificationPreferences_smsConsentCertificate The instance to deserialize into.
5504
5504
  * @returns {Record<string, (node: ParseNode) => void>}
5505
5505
  */
5506
- export declare function deserializeIntoUserNotificationPreferences_smsConsentTrustedFormCertificate(userNotificationPreferences_smsConsentTrustedFormCertificate?: Partial<UserNotificationPreferences_smsConsentTrustedFormCertificate> | undefined): Record<string, (node: ParseNode) => void>;
5506
+ export declare function deserializeIntoUserNotificationPreferences_smsConsentCertificate(userNotificationPreferences_smsConsentCertificate?: Partial<UserNotificationPreferences_smsConsentCertificate> | undefined): Record<string, (node: ParseNode) => void>;
5507
5507
  /**
5508
5508
  * The deserialization information for the current model
5509
5509
  * @param UserRequest The instance to deserialize into.
@@ -6397,6 +6397,14 @@ export interface LeadMetadata extends AdditionalDataHolder, Parsable {
6397
6397
  * Landing page URL where the lead submitted their information.
6398
6398
  */
6399
6399
  landingPage?: string | null;
6400
+ /**
6401
+ * Standalone Leadping Consent certificate identifier, accepted as an alternative to TrustedForm.
6402
+ */
6403
+ leadpingConsentCertificateId?: string | null;
6404
+ /**
6405
+ * Server-issued timestamp for successful Leadping Consent evidence and recipient validation.
6406
+ */
6407
+ leadpingConsentCheckedAt?: Date | null;
6400
6408
  /**
6401
6409
  * Organization ID that owns this lead's attribution metadata.
6402
6410
  */
@@ -6503,6 +6511,23 @@ export interface LeadMetadata extends AdditionalDataHolder, Parsable {
6503
6511
  */
6504
6512
  export interface LeadMetadata_sourceMetadata extends AdditionalDataHolder, Parsable {
6505
6513
  }
6514
+ /**
6515
+ * Describes Leadping Consent certificate data used in Leadping API requests and responses.
6516
+ */
6517
+ export interface LeadpingConsentCertificate extends AdditionalDataHolder, Parsable {
6518
+ /**
6519
+ * UTC timestamp for created at on this Leadping Consent certificate.
6520
+ */
6521
+ createdAt?: Date | null;
6522
+ /**
6523
+ * Unique Leadping identifier for this Leadping Consent certificate.
6524
+ */
6525
+ id?: string | null;
6526
+ /**
6527
+ * Source for this Leadping Consent certificate.
6528
+ */
6529
+ source?: string | null;
6530
+ }
6506
6531
  /**
6507
6532
  * Public Leadping API schema for lead demographic profile data.
6508
6533
  */
@@ -7841,7 +7866,7 @@ export interface OrganizationCompliancePolicy extends AdditionalDataHolder, Pars
7841
7866
  */
7842
7867
  requireSourceComplianceApproval?: boolean | null;
7843
7868
  /**
7844
- * Whether this organization compliance policy requires TrustedForm for automations.
7869
+ * Whether this organization compliance policy requires TrustedForm or Leadping Consent evidence for automations.
7845
7870
  */
7846
7871
  requireTrustedFormForAutomations?: boolean | null;
7847
7872
  }
@@ -10958,6 +10983,13 @@ export declare function serializeLeadMetadata(writer: SerializationWriter, leadM
10958
10983
  * @param writer Serialization writer to use to serialize this model
10959
10984
  */
10960
10985
  export declare function serializeLeadMetadata_sourceMetadata(writer: SerializationWriter, leadMetadata_sourceMetadata?: Partial<LeadMetadata_sourceMetadata> | undefined | null, isSerializingDerivedType?: boolean): void;
10986
+ /**
10987
+ * Serializes information the current object
10988
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
10989
+ * @param LeadpingConsentCertificate The instance to serialize from.
10990
+ * @param writer Serialization writer to use to serialize this model
10991
+ */
10992
+ export declare function serializeLeadpingConsentCertificate(writer: SerializationWriter, leadpingConsentCertificate?: Partial<LeadpingConsentCertificate> | undefined | null, isSerializingDerivedType?: boolean): void;
10961
10993
  /**
10962
10994
  * Serializes information the current object
10963
10995
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -12092,13 +12124,6 @@ export declare function serializeTransactionTableRow_lead(writer: SerializationW
12092
12124
  * @param writer Serialization writer to use to serialize this model
12093
12125
  */
12094
12126
  export declare function serializeTransactionTableRow_organization(writer: SerializationWriter, transactionTableRow_organization?: Partial<TransactionTableRow_organization> | undefined | null, isSerializingDerivedType?: boolean): void;
12095
- /**
12096
- * Serializes information the current object
12097
- * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
12098
- * @param TrustedFormCertificate The instance to serialize from.
12099
- * @param writer Serialization writer to use to serialize this model
12100
- */
12101
- export declare function serializeTrustedFormCertificate(writer: SerializationWriter, trustedFormCertificate?: Partial<TrustedFormCertificate> | undefined | null, isSerializingDerivedType?: boolean): void;
12102
12127
  /**
12103
12128
  * Serializes information the current object
12104
12129
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -12186,10 +12211,10 @@ export declare function serializeUserNotificationPreferences(writer: Serializati
12186
12211
  /**
12187
12212
  * Serializes information the current object
12188
12213
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
12189
- * @param UserNotificationPreferences_smsConsentTrustedFormCertificate The instance to serialize from.
12214
+ * @param UserNotificationPreferences_smsConsentCertificate The instance to serialize from.
12190
12215
  * @param writer Serialization writer to use to serialize this model
12191
12216
  */
12192
- export declare function serializeUserNotificationPreferences_smsConsentTrustedFormCertificate(writer: SerializationWriter, userNotificationPreferences_smsConsentTrustedFormCertificate?: Partial<UserNotificationPreferences_smsConsentTrustedFormCertificate> | undefined | null, isSerializingDerivedType?: boolean): void;
12217
+ export declare function serializeUserNotificationPreferences_smsConsentCertificate(writer: SerializationWriter, userNotificationPreferences_smsConsentCertificate?: Partial<UserNotificationPreferences_smsConsentCertificate> | undefined | null, isSerializingDerivedType?: boolean): void;
12193
12218
  /**
12194
12219
  * Serializes information the current object
12195
12220
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -12709,7 +12734,7 @@ export interface SourceRequest extends AdditionalDataHolder, Parsable {
12709
12734
  */
12710
12735
  name?: string | null;
12711
12736
  /**
12712
- * Indicates whether leads from this source must include a TrustedForm certificate for consent proof.
12737
+ * Indicates whether leads from this source must include a TrustedForm or Leadping Consent certificate for consent proof.
12713
12738
  */
12714
12739
  requiresTrustedForm?: boolean | null;
12715
12740
  }
@@ -12802,7 +12827,7 @@ export interface SourceResponse extends AdditionalDataHolder, Parsable {
12802
12827
  */
12803
12828
  organization?: SourceResponse_organization | null;
12804
12829
  /**
12805
- * Indicates whether leads from this source must include a TrustedForm certificate for consent proof.
12830
+ * Indicates whether leads from this source must include a TrustedForm or Leadping Consent certificate for consent proof.
12806
12831
  */
12807
12832
  requiresTrustedForm?: boolean | null;
12808
12833
  /**
@@ -12927,7 +12952,7 @@ export interface SourceTableRow extends AdditionalDataHolder, Parsable {
12927
12952
  */
12928
12953
  organizationId?: string | null;
12929
12954
  /**
12930
- * Indicates whether leads from this source must include a TrustedForm certificate for consent proof.
12955
+ * Indicates whether leads from this source must include a TrustedForm or Leadping Consent certificate for consent proof.
12931
12956
  */
12932
12957
  requiresTrustedForm?: boolean | null;
12933
12958
  /**
@@ -13661,27 +13686,6 @@ export interface TransactionTableRow_lead extends IdNamePair, Parsable {
13661
13686
  export interface TransactionTableRow_organization extends IdNamePair, Parsable {
13662
13687
  }
13663
13688
  export type TransactionType = (typeof TransactionTypeObject)[keyof typeof TransactionTypeObject];
13664
- /**
13665
- * Describes trusted form certificate data used in Leadping API requests and responses.
13666
- */
13667
- export interface TrustedFormCertificate extends AdditionalDataHolder, Parsable {
13668
- /**
13669
- * UTC timestamp for created at on this TrustedForm certificate.
13670
- */
13671
- createdAt?: Date | null;
13672
- /**
13673
- * Unique Leadping identifier for this TrustedForm certificate.
13674
- */
13675
- id?: string | null;
13676
- /**
13677
- * Source for this TrustedForm certificate.
13678
- */
13679
- source?: string | null;
13680
- /**
13681
- * The URL associated with this TrustedForm certificate.
13682
- */
13683
- url?: string | null;
13684
- }
13685
13689
  export type UsageChannel = (typeof UsageChannelObject)[keyof typeof UsageChannelObject];
13686
13690
  /**
13687
13691
  * Describes one named usage total displayed in organization billing and activity summaries.
@@ -13896,9 +13900,9 @@ export interface UserCompliance extends AdditionalDataHolder, Parsable {
13896
13900
  */
13897
13901
  acceptedToSubscription?: boolean | null;
13898
13902
  /**
13899
- * The TrustedForm certificates included with this user compliance.
13903
+ * The Leadping Consent certificates included with this user compliance.
13900
13904
  */
13901
- trustedFormCertificates?: TrustedFormCertificate[] | null;
13905
+ consentCertificates?: LeadpingConsentCertificate[] | null;
13902
13906
  }
13903
13907
  /**
13904
13908
  * Provides the temporary download location and expiration details for a completed Leadping user-data export.
@@ -14065,13 +14069,13 @@ export interface UserNotificationPreferences extends AdditionalDataHolder, Parsa
14065
14069
  */
14066
14070
  paymentFailedSmsEnabled?: boolean | null;
14067
14071
  /**
14068
- * Whether the user has consented to receive Leadping account notification SMS messages.
14072
+ * Describes Leadping Consent certificate data used in Leadping API requests and responses.
14069
14073
  */
14070
- smsConsentOptedIn?: boolean | null;
14074
+ smsConsentCertificate?: UserNotificationPreferences_smsConsentCertificate | null;
14071
14075
  /**
14072
- * Describes trusted form certificate data used in Leadping API requests and responses.
14076
+ * Whether the user has consented to receive Leadping account notification SMS messages.
14073
14077
  */
14074
- smsConsentTrustedFormCertificate?: UserNotificationPreferences_smsConsentTrustedFormCertificate | null;
14078
+ smsConsentOptedIn?: boolean | null;
14075
14079
  /**
14076
14080
  * When the user's Leadping notification SMS consent was last changed.
14077
14081
  */
@@ -14110,9 +14114,9 @@ export interface UserNotificationPreferences extends AdditionalDataHolder, Parsa
14110
14114
  usageLimitHitEnabled?: boolean | null;
14111
14115
  }
14112
14116
  /**
14113
- * Describes trusted form certificate data used in Leadping API requests and responses.
14117
+ * Describes Leadping Consent certificate data used in Leadping API requests and responses.
14114
14118
  */
14115
- export interface UserNotificationPreferences_smsConsentTrustedFormCertificate extends Parsable, TrustedFormCertificate {
14119
+ export interface UserNotificationPreferences_smsConsentCertificate extends LeadpingConsentCertificate, Parsable {
14116
14120
  }
14117
14121
  /**
14118
14122
  * Defines the fields clients can send when working with user profile.