@leadping/sdk 1.0.13 → 1.0.15

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.
Files changed (57) hide show
  1. package/dist/leadpingOpenApiClient.d.ts +15 -0
  2. package/dist/leadpingOpenApiClient.d.ts.map +1 -1
  3. package/dist/leadpingOpenApiClient.js +16 -0
  4. package/dist/leadpingOpenApiClient.js.map +1 -1
  5. package/dist/models/index.d.ts +725 -2
  6. package/dist/models/index.d.ts.map +1 -1
  7. package/dist/models/index.js +615 -0
  8. package/dist/models/index.js.map +1 -1
  9. package/dist/phoneCall/index.d.ts +27 -0
  10. package/dist/phoneCall/index.d.ts.map +1 -0
  11. package/dist/phoneCall/index.js +26 -0
  12. package/dist/phoneCall/index.js.map +1 -0
  13. package/dist/phoneCall/initiate/index.d.ts +32 -0
  14. package/dist/phoneCall/initiate/index.d.ts.map +1 -0
  15. package/dist/phoneCall/initiate/index.js +30 -0
  16. package/dist/phoneCall/initiate/index.js.map +1 -0
  17. package/dist/phoneCall/item/hangup/index.d.ts +31 -0
  18. package/dist/phoneCall/item/hangup/index.d.ts.map +1 -0
  19. package/dist/phoneCall/item/hangup/index.js +28 -0
  20. package/dist/phoneCall/item/hangup/index.js.map +1 -0
  21. package/dist/phoneCall/item/index.d.ts +30 -0
  22. package/dist/phoneCall/item/index.d.ts.map +1 -0
  23. package/dist/phoneCall/item/index.js +30 -0
  24. package/dist/phoneCall/item/index.js.map +1 -0
  25. package/dist/phoneCall/item/status/index.d.ts +30 -0
  26. package/dist/phoneCall/item/status/index.d.ts.map +1 -0
  27. package/dist/phoneCall/item/status/index.js +27 -0
  28. package/dist/phoneCall/item/status/index.js.map +1 -0
  29. package/dist/phoneCall/item/transfer/index.d.ts +40 -0
  30. package/dist/phoneCall/item/transfer/index.d.ts.map +1 -0
  31. package/dist/phoneCall/item/transfer/index.js +28 -0
  32. package/dist/phoneCall/item/transfer/index.js.map +1 -0
  33. package/dist/suppressions/check/index.d.ts +32 -0
  34. package/dist/suppressions/check/index.d.ts.map +1 -0
  35. package/dist/suppressions/check/index.js +30 -0
  36. package/dist/suppressions/check/index.js.map +1 -0
  37. package/dist/suppressions/index.d.ts +46 -0
  38. package/dist/suppressions/index.d.ts.map +1 -0
  39. package/dist/suppressions/index.js +45 -0
  40. package/dist/suppressions/index.js.map +1 -0
  41. package/dist/suppressions/release/index.d.ts +32 -0
  42. package/dist/suppressions/release/index.d.ts.map +1 -0
  43. package/dist/suppressions/release/index.js +30 -0
  44. package/dist/suppressions/release/index.js.map +1 -0
  45. package/dist/telephony/index.d.ts +20 -0
  46. package/dist/telephony/index.d.ts.map +1 -0
  47. package/dist/telephony/index.js +20 -0
  48. package/dist/telephony/index.js.map +1 -0
  49. package/dist/telephony/login/index.d.ts +32 -0
  50. package/dist/telephony/login/index.d.ts.map +1 -0
  51. package/dist/telephony/login/index.js +30 -0
  52. package/dist/telephony/login/index.js.map +1 -0
  53. package/dist/transactions/all/my/index.d.ts +10 -3
  54. package/dist/transactions/all/my/index.d.ts.map +1 -1
  55. package/dist/transactions/all/my/index.js +1 -1
  56. package/dist/transactions/all/my/index.js.map +1 -1
  57. package/package.json +1 -1
@@ -3195,6 +3195,12 @@ export declare function createIdNamePairFromDiscriminatorValue(parseNode: ParseN
3195
3195
  * @returns {IdNameValue}
3196
3196
  */
3197
3197
  export declare function createIdNameValueFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
3198
+ /**
3199
+ * Creates a new instance of the appropriate class based on discriminator value
3200
+ * @param parseNode The parse node to use to read the discriminator value and create the object
3201
+ * @returns {InitiateCallRequest}
3202
+ */
3203
+ export declare function createInitiateCallRequestFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
3198
3204
  /**
3199
3205
  * Creates a new instance of the appropriate class based on discriminator value
3200
3206
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -3456,6 +3462,18 @@ export declare function createPagedResultOfUsageLedgerTableRowFromDiscriminatorV
3456
3462
  * @returns {Phone_lookup}
3457
3463
  */
3458
3464
  export declare function createPhone_lookupFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
3465
+ /**
3466
+ * Creates a new instance of the appropriate class based on discriminator value
3467
+ * @param parseNode The parse node to use to read the discriminator value and create the object
3468
+ * @returns {PhoneCallResponse_metadata}
3469
+ */
3470
+ export declare function createPhoneCallResponse_metadataFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
3471
+ /**
3472
+ * Creates a new instance of the appropriate class based on discriminator value
3473
+ * @param parseNode The parse node to use to read the discriminator value and create the object
3474
+ * @returns {PhoneCallResponse}
3475
+ */
3476
+ export declare function createPhoneCallResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
3459
3477
  /**
3460
3478
  * Creates a new instance of the appropriate class based on discriminator value
3461
3479
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -3834,6 +3852,42 @@ export declare function createStreetAddressFromDiscriminatorValue(parseNode: Par
3834
3852
  * @returns {StripePaymentMethodResponse}
3835
3853
  */
3836
3854
  export declare function createStripePaymentMethodResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
3855
+ /**
3856
+ * Creates a new instance of the appropriate class based on discriminator value
3857
+ * @param parseNode The parse node to use to read the discriminator value and create the object
3858
+ * @returns {SuppressionCheckResult}
3859
+ */
3860
+ export declare function createSuppressionCheckResultFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
3861
+ /**
3862
+ * Creates a new instance of the appropriate class based on discriminator value
3863
+ * @param parseNode The parse node to use to read the discriminator value and create the object
3864
+ * @returns {SuppressionEntryAudit_safeMetadata}
3865
+ */
3866
+ export declare function createSuppressionEntryAudit_safeMetadataFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
3867
+ /**
3868
+ * Creates a new instance of the appropriate class based on discriminator value
3869
+ * @param parseNode The parse node to use to read the discriminator value and create the object
3870
+ * @returns {SuppressionEntryAudit}
3871
+ */
3872
+ export declare function createSuppressionEntryAuditFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
3873
+ /**
3874
+ * Creates a new instance of the appropriate class based on discriminator value
3875
+ * @param parseNode The parse node to use to read the discriminator value and create the object
3876
+ * @returns {SuppressionEntryRequest_safeMetadata}
3877
+ */
3878
+ export declare function createSuppressionEntryRequest_safeMetadataFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
3879
+ /**
3880
+ * Creates a new instance of the appropriate class based on discriminator value
3881
+ * @param parseNode The parse node to use to read the discriminator value and create the object
3882
+ * @returns {SuppressionEntryRequest}
3883
+ */
3884
+ export declare function createSuppressionEntryRequestFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
3885
+ /**
3886
+ * Creates a new instance of the appropriate class based on discriminator value
3887
+ * @param parseNode The parse node to use to read the discriminator value and create the object
3888
+ * @returns {SuppressionEntryResponse}
3889
+ */
3890
+ export declare function createSuppressionEntryResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
3837
3891
  /**
3838
3892
  * Creates a new instance of the appropriate class based on discriminator value
3839
3893
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -3852,6 +3906,18 @@ export declare function createTagResponseFromDiscriminatorValue(parseNode: Parse
3852
3906
  * @returns {TagSummary}
3853
3907
  */
3854
3908
  export declare function createTagSummaryFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
3909
+ /**
3910
+ * Creates a new instance of the appropriate class based on discriminator value
3911
+ * @param parseNode The parse node to use to read the discriminator value and create the object
3912
+ * @returns {TelephonyLoginRequest}
3913
+ */
3914
+ export declare function createTelephonyLoginRequestFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
3915
+ /**
3916
+ * Creates a new instance of the appropriate class based on discriminator value
3917
+ * @param parseNode The parse node to use to read the discriminator value and create the object
3918
+ * @returns {TelephonyLoginResponse}
3919
+ */
3920
+ export declare function createTelephonyLoginResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
3855
3921
  /**
3856
3922
  * Creates a new instance of the appropriate class based on discriminator value
3857
3923
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -5110,6 +5176,12 @@ export declare function deserializeIntoIdNamePair(idNamePair?: Partial<IdNamePai
5110
5176
  * @returns {Record<string, (node: ParseNode) => void>}
5111
5177
  */
5112
5178
  export declare function deserializeIntoIdNameValue(idNameValue?: Partial<IdNameValue> | undefined): Record<string, (node: ParseNode) => void>;
5179
+ /**
5180
+ * The deserialization information for the current model
5181
+ * @param InitiateCallRequest The instance to deserialize into.
5182
+ * @returns {Record<string, (node: ParseNode) => void>}
5183
+ */
5184
+ export declare function deserializeIntoInitiateCallRequest(initiateCallRequest?: Partial<InitiateCallRequest> | undefined): Record<string, (node: ParseNode) => void>;
5113
5185
  /**
5114
5186
  * The deserialization information for the current model
5115
5187
  * @param LeadArchiveRequest The instance to deserialize into.
@@ -5368,6 +5440,18 @@ export declare function deserializeIntoPhone(phone?: Partial<Phone> | undefined)
5368
5440
  * @returns {Record<string, (node: ParseNode) => void>}
5369
5441
  */
5370
5442
  export declare function deserializeIntoPhone_lookup(phone_lookup?: Partial<Phone_lookup> | undefined): Record<string, (node: ParseNode) => void>;
5443
+ /**
5444
+ * The deserialization information for the current model
5445
+ * @param PhoneCallResponse The instance to deserialize into.
5446
+ * @returns {Record<string, (node: ParseNode) => void>}
5447
+ */
5448
+ export declare function deserializeIntoPhoneCallResponse(phoneCallResponse?: Partial<PhoneCallResponse> | undefined): Record<string, (node: ParseNode) => void>;
5449
+ /**
5450
+ * The deserialization information for the current model
5451
+ * @param PhoneCallResponse_metadata The instance to deserialize into.
5452
+ * @returns {Record<string, (node: ParseNode) => void>}
5453
+ */
5454
+ export declare function deserializeIntoPhoneCallResponse_metadata(phoneCallResponse_metadata?: Partial<PhoneCallResponse_metadata> | undefined): Record<string, (node: ParseNode) => void>;
5371
5455
  /**
5372
5456
  * The deserialization information for the current model
5373
5457
  * @param PhoneLookup The instance to deserialize into.
@@ -5740,6 +5824,42 @@ export declare function deserializeIntoStreetAddress(streetAddress?: Partial<Str
5740
5824
  * @returns {Record<string, (node: ParseNode) => void>}
5741
5825
  */
5742
5826
  export declare function deserializeIntoStripePaymentMethodResponse(stripePaymentMethodResponse?: Partial<StripePaymentMethodResponse> | undefined): Record<string, (node: ParseNode) => void>;
5827
+ /**
5828
+ * The deserialization information for the current model
5829
+ * @param SuppressionCheckResult The instance to deserialize into.
5830
+ * @returns {Record<string, (node: ParseNode) => void>}
5831
+ */
5832
+ export declare function deserializeIntoSuppressionCheckResult(suppressionCheckResult?: Partial<SuppressionCheckResult> | undefined): Record<string, (node: ParseNode) => void>;
5833
+ /**
5834
+ * The deserialization information for the current model
5835
+ * @param SuppressionEntryAudit The instance to deserialize into.
5836
+ * @returns {Record<string, (node: ParseNode) => void>}
5837
+ */
5838
+ export declare function deserializeIntoSuppressionEntryAudit(suppressionEntryAudit?: Partial<SuppressionEntryAudit> | undefined): Record<string, (node: ParseNode) => void>;
5839
+ /**
5840
+ * The deserialization information for the current model
5841
+ * @param SuppressionEntryAudit_safeMetadata The instance to deserialize into.
5842
+ * @returns {Record<string, (node: ParseNode) => void>}
5843
+ */
5844
+ export declare function deserializeIntoSuppressionEntryAudit_safeMetadata(suppressionEntryAudit_safeMetadata?: Partial<SuppressionEntryAudit_safeMetadata> | undefined): Record<string, (node: ParseNode) => void>;
5845
+ /**
5846
+ * The deserialization information for the current model
5847
+ * @param SuppressionEntryRequest The instance to deserialize into.
5848
+ * @returns {Record<string, (node: ParseNode) => void>}
5849
+ */
5850
+ export declare function deserializeIntoSuppressionEntryRequest(suppressionEntryRequest?: Partial<SuppressionEntryRequest> | undefined): Record<string, (node: ParseNode) => void>;
5851
+ /**
5852
+ * The deserialization information for the current model
5853
+ * @param SuppressionEntryRequest_safeMetadata The instance to deserialize into.
5854
+ * @returns {Record<string, (node: ParseNode) => void>}
5855
+ */
5856
+ export declare function deserializeIntoSuppressionEntryRequest_safeMetadata(suppressionEntryRequest_safeMetadata?: Partial<SuppressionEntryRequest_safeMetadata> | undefined): Record<string, (node: ParseNode) => void>;
5857
+ /**
5858
+ * The deserialization information for the current model
5859
+ * @param SuppressionEntryResponse The instance to deserialize into.
5860
+ * @returns {Record<string, (node: ParseNode) => void>}
5861
+ */
5862
+ export declare function deserializeIntoSuppressionEntryResponse(suppressionEntryResponse?: Partial<SuppressionEntryResponse> | undefined): Record<string, (node: ParseNode) => void>;
5743
5863
  /**
5744
5864
  * The deserialization information for the current model
5745
5865
  * @param TagRequest The instance to deserialize into.
@@ -5758,6 +5878,18 @@ export declare function deserializeIntoTagResponse(tagResponse?: Partial<TagResp
5758
5878
  * @returns {Record<string, (node: ParseNode) => void>}
5759
5879
  */
5760
5880
  export declare function deserializeIntoTagSummary(tagSummary?: Partial<TagSummary> | undefined): Record<string, (node: ParseNode) => void>;
5881
+ /**
5882
+ * The deserialization information for the current model
5883
+ * @param TelephonyLoginRequest The instance to deserialize into.
5884
+ * @returns {Record<string, (node: ParseNode) => void>}
5885
+ */
5886
+ export declare function deserializeIntoTelephonyLoginRequest(telephonyLoginRequest?: Partial<TelephonyLoginRequest> | undefined): Record<string, (node: ParseNode) => void>;
5887
+ /**
5888
+ * The deserialization information for the current model
5889
+ * @param TelephonyLoginResponse The instance to deserialize into.
5890
+ * @returns {Record<string, (node: ParseNode) => void>}
5891
+ */
5892
+ export declare function deserializeIntoTelephonyLoginResponse(telephonyLoginResponse?: Partial<TelephonyLoginResponse> | undefined): Record<string, (node: ParseNode) => void>;
5761
5893
  /**
5762
5894
  * The deserialization information for the current model
5763
5895
  * @param TenDlcApplicationDraft The instance to deserialize into.
@@ -6896,6 +7028,78 @@ export interface IdNameValue extends AdditionalDataHolder, Parsable {
6896
7028
  */
6897
7029
  value?: string | null;
6898
7030
  }
7031
+ /**
7032
+ * Request schema for the Leadping API phone call initiation request, including the fields clients can send.
7033
+ */
7034
+ export interface InitiateCallRequest extends AdditionalDataHolder, Parsable {
7035
+ /**
7036
+ * Automation ID connected to this workflow, run, or event.
7037
+ */
7038
+ automationId?: string | null;
7039
+ /**
7040
+ * Messaging campaign identifier associated with this phone call initiation request.
7041
+ */
7042
+ campaignId?: string | null;
7043
+ /**
7044
+ * Conversation ID that links this phone call initiation request to the Leadping inbox thread.
7045
+ */
7046
+ conversationId?: string | null;
7047
+ /**
7048
+ * Sender phone number ID used for this outbound SMS or call.
7049
+ */
7050
+ fromPhoneNumberId?: string | null;
7051
+ /**
7052
+ * Bulk import batch ID that created or updated this lead.
7053
+ */
7054
+ importBatchId?: string | null;
7055
+ /**
7056
+ * Indicates whether automation created or triggered this phone call initiation request.
7057
+ */
7058
+ isAutomated?: boolean | null;
7059
+ /**
7060
+ * Indicates whether this record originated from a bulk import rather than a real-time lead source.
7061
+ */
7062
+ isImportedLead?: boolean | null;
7063
+ /**
7064
+ * Lead ID associated with the outbound call request.
7065
+ */
7066
+ leadId?: string | null;
7067
+ /**
7068
+ * Outbound delivery request ID connected to this decision or attempt.
7069
+ */
7070
+ outboundDeliveryRequestId?: string | null;
7071
+ /**
7072
+ * Idempotency key used to prevent duplicate outbound delivery.
7073
+ */
7074
+ outboundIdempotencyKey?: string | null;
7075
+ /**
7076
+ * Defines priority classes used when pacing outbound delivery.
7077
+ */
7078
+ outboundPriority?: InitiateCallRequest_outboundPriority | null;
7079
+ /**
7080
+ * Outbound reservation ID used to throttle and track delivery capacity.
7081
+ */
7082
+ outboundReservationId?: string | null;
7083
+ /**
7084
+ * Defines the source that requested outbound delivery.
7085
+ */
7086
+ outboundSource?: InitiateCallRequest_outboundSource | null;
7087
+ /**
7088
+ * Defines the supported Outgoing Number Selection Reason values.
7089
+ */
7090
+ selectionReason?: InitiateCallRequest_selectionReason | null;
7091
+ /**
7092
+ * Lead source ID used for call attribution and sender selection.
7093
+ */
7094
+ sourceId?: string | null;
7095
+ /**
7096
+ * Indicates whether a user manually overrode Leadping's automatic number selection for this phone call initiation request.
7097
+ */
7098
+ wasManuallyOverridden?: boolean | null;
7099
+ }
7100
+ export type InitiateCallRequest_outboundPriority = (typeof InitiateCallRequest_outboundPriorityObject)[keyof typeof InitiateCallRequest_outboundPriorityObject];
7101
+ export type InitiateCallRequest_outboundSource = (typeof InitiateCallRequest_outboundSourceObject)[keyof typeof InitiateCallRequest_outboundSourceObject];
7102
+ export type InitiateCallRequest_selectionReason = (typeof InitiateCallRequest_selectionReasonObject)[keyof typeof InitiateCallRequest_selectionReasonObject];
6899
7103
  export type InternalPhoneNumberStatus = (typeof InternalPhoneNumberStatusObject)[keyof typeof InternalPhoneNumberStatusObject];
6900
7104
  /**
6901
7105
  * Request schema for the Leadping API lead archive request, including the fields clients can send.
@@ -8185,6 +8389,122 @@ export interface Phone extends AdditionalDataHolder, Parsable {
8185
8389
  */
8186
8390
  export interface Phone_lookup extends Parsable, PhoneLookup {
8187
8391
  }
8392
+ /**
8393
+ * Response schema for the Leadping API phone call returned to authenticated clients.
8394
+ */
8395
+ export interface PhoneCallResponse extends AdditionalDataHolder, Parsable {
8396
+ /**
8397
+ * UTC timestamp when the call was answered.
8398
+ */
8399
+ answeredAt?: Date | null;
8400
+ /**
8401
+ * Monetary amount billed for this Leadping communication or transaction.
8402
+ */
8403
+ billableAmount?: UntypedNode | null;
8404
+ /**
8405
+ * Billing state for this communication, charge, or transaction.
8406
+ */
8407
+ billingStatus?: string | null;
8408
+ /**
8409
+ * Caller ID phone number presented during the outbound call.
8410
+ */
8411
+ callerId?: string | null;
8412
+ /**
8413
+ * Messaging campaign identifier associated with this phone call.
8414
+ */
8415
+ campaignId?: string | null;
8416
+ /**
8417
+ * Conversation ID that links this phone call to the Leadping inbox thread.
8418
+ */
8419
+ conversationId?: string | null;
8420
+ /**
8421
+ * The date and time when the entity was created.
8422
+ */
8423
+ createdAt?: Date | null;
8424
+ /**
8425
+ * Communication direction for this phone call, such as inbound or outbound.
8426
+ */
8427
+ direction?: string | null;
8428
+ /**
8429
+ * Call duration in seconds.
8430
+ */
8431
+ durationSeconds?: UntypedNode | null;
8432
+ /**
8433
+ * UTC timestamp when the call ended.
8434
+ */
8435
+ endedAt?: Date | null;
8436
+ /**
8437
+ * Sender phone number used for this communication.
8438
+ */
8439
+ fromPhoneNumber?: string | null;
8440
+ /**
8441
+ * Sender phone number ID used for this outbound SMS or call.
8442
+ */
8443
+ fromPhoneNumberId?: string | null;
8444
+ /**
8445
+ * The unique identifier for the entity.
8446
+ */
8447
+ id?: string | null;
8448
+ /**
8449
+ * Lead ID associated with the call conversation or outreach attempt.
8450
+ */
8451
+ leadId?: string | null;
8452
+ /**
8453
+ * Structured metadata used for attribution, integrations, and reporting on this phone call.
8454
+ */
8455
+ metadata?: PhoneCallResponse_metadata | null;
8456
+ /**
8457
+ * The date and time when the entity was last modified, if applicable.
8458
+ */
8459
+ modifiedAt?: Date | null;
8460
+ /**
8461
+ * Phone number used by this phone call for calls, SMS, lookup, or routing.
8462
+ */
8463
+ phoneNumber?: string | null;
8464
+ /**
8465
+ * UTC timestamp when Leadping queued this phone call for processing.
8466
+ */
8467
+ queuedAt?: Date | null;
8468
+ /**
8469
+ * URL for the call recording, when the provider makes one available.
8470
+ */
8471
+ recordingUrl?: string | null;
8472
+ /**
8473
+ * UTC timestamp when the call started ringing.
8474
+ */
8475
+ ringingAt?: Date | null;
8476
+ /**
8477
+ * Defines the supported Outgoing Number Selection Reason values.
8478
+ */
8479
+ selectionReason?: PhoneCallResponse_selectionReason | null;
8480
+ /**
8481
+ * Lead source ID used for attribution and routing on this call.
8482
+ */
8483
+ sourceId?: string | null;
8484
+ /**
8485
+ * Current lifecycle status for this phone call in the Leadping API.
8486
+ */
8487
+ status?: PhoneCallStatus | null;
8488
+ /**
8489
+ * Human-readable reason explaining the current status of this phone call.
8490
+ */
8491
+ statusReason?: string | null;
8492
+ /**
8493
+ * Recipient phone number used for this communication.
8494
+ */
8495
+ toPhoneNumber?: string | null;
8496
+ /**
8497
+ * Indicates whether a user manually overrode Leadping's automatic number selection for this phone call.
8498
+ */
8499
+ wasManuallyOverridden?: boolean | null;
8500
+ }
8501
+ /**
8502
+ * Structured metadata used for attribution, integrations, and reporting on this phone call.
8503
+ */
8504
+ export interface PhoneCallResponse_metadata extends AdditionalDataHolder, Parsable {
8505
+ }
8506
+ export type PhoneCallResponse_selectionReason = (typeof PhoneCallResponse_selectionReasonObject)[keyof typeof PhoneCallResponse_selectionReasonObject];
8507
+ export type PhoneCallStatus = (typeof PhoneCallStatusObject)[keyof typeof PhoneCallStatusObject];
8188
8508
  /**
8189
8509
  * Public Leadping API schema for phone lookup result data.
8190
8510
  */
@@ -10265,6 +10585,13 @@ export declare function serializeIdNamePair(writer: SerializationWriter, idNameP
10265
10585
  * @param writer Serialization writer to use to serialize this model
10266
10586
  */
10267
10587
  export declare function serializeIdNameValue(writer: SerializationWriter, idNameValue?: Partial<IdNameValue> | undefined | null, isSerializingDerivedType?: boolean): void;
10588
+ /**
10589
+ * Serializes information the current object
10590
+ * @param InitiateCallRequest The instance to serialize from.
10591
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
10592
+ * @param writer Serialization writer to use to serialize this model
10593
+ */
10594
+ export declare function serializeInitiateCallRequest(writer: SerializationWriter, initiateCallRequest?: Partial<InitiateCallRequest> | undefined | null, isSerializingDerivedType?: boolean): void;
10268
10595
  /**
10269
10596
  * Serializes information the current object
10270
10597
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -10566,6 +10893,20 @@ export declare function serializePhone(writer: SerializationWriter, phone?: Part
10566
10893
  * @param writer Serialization writer to use to serialize this model
10567
10894
  */
10568
10895
  export declare function serializePhone_lookup(writer: SerializationWriter, phone_lookup?: Partial<Phone_lookup> | undefined | null, isSerializingDerivedType?: boolean): void;
10896
+ /**
10897
+ * Serializes information the current object
10898
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
10899
+ * @param PhoneCallResponse The instance to serialize from.
10900
+ * @param writer Serialization writer to use to serialize this model
10901
+ */
10902
+ export declare function serializePhoneCallResponse(writer: SerializationWriter, phoneCallResponse?: Partial<PhoneCallResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
10903
+ /**
10904
+ * Serializes information the current object
10905
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
10906
+ * @param PhoneCallResponse_metadata The instance to serialize from.
10907
+ * @param writer Serialization writer to use to serialize this model
10908
+ */
10909
+ export declare function serializePhoneCallResponse_metadata(writer: SerializationWriter, phoneCallResponse_metadata?: Partial<PhoneCallResponse_metadata> | undefined | null, isSerializingDerivedType?: boolean): void;
10569
10910
  /**
10570
10911
  * Serializes information the current object
10571
10912
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -11003,10 +11344,52 @@ export declare function serializeStripePaymentMethodResponse(writer: Serializati
11003
11344
  /**
11004
11345
  * Serializes information the current object
11005
11346
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
11006
- * @param TagRequest The instance to serialize from.
11347
+ * @param SuppressionCheckResult The instance to serialize from.
11007
11348
  * @param writer Serialization writer to use to serialize this model
11008
11349
  */
11009
- export declare function serializeTagRequest(writer: SerializationWriter, tagRequest?: Partial<TagRequest> | undefined | null, isSerializingDerivedType?: boolean): void;
11350
+ export declare function serializeSuppressionCheckResult(writer: SerializationWriter, suppressionCheckResult?: Partial<SuppressionCheckResult> | undefined | null, isSerializingDerivedType?: boolean): void;
11351
+ /**
11352
+ * Serializes information the current object
11353
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
11354
+ * @param SuppressionEntryAudit The instance to serialize from.
11355
+ * @param writer Serialization writer to use to serialize this model
11356
+ */
11357
+ export declare function serializeSuppressionEntryAudit(writer: SerializationWriter, suppressionEntryAudit?: Partial<SuppressionEntryAudit> | undefined | null, isSerializingDerivedType?: boolean): void;
11358
+ /**
11359
+ * Serializes information the current object
11360
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
11361
+ * @param SuppressionEntryAudit_safeMetadata The instance to serialize from.
11362
+ * @param writer Serialization writer to use to serialize this model
11363
+ */
11364
+ export declare function serializeSuppressionEntryAudit_safeMetadata(writer: SerializationWriter, suppressionEntryAudit_safeMetadata?: Partial<SuppressionEntryAudit_safeMetadata> | undefined | null, isSerializingDerivedType?: boolean): void;
11365
+ /**
11366
+ * Serializes information the current object
11367
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
11368
+ * @param SuppressionEntryRequest The instance to serialize from.
11369
+ * @param writer Serialization writer to use to serialize this model
11370
+ */
11371
+ export declare function serializeSuppressionEntryRequest(writer: SerializationWriter, suppressionEntryRequest?: Partial<SuppressionEntryRequest> | undefined | null, isSerializingDerivedType?: boolean): void;
11372
+ /**
11373
+ * Serializes information the current object
11374
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
11375
+ * @param SuppressionEntryRequest_safeMetadata The instance to serialize from.
11376
+ * @param writer Serialization writer to use to serialize this model
11377
+ */
11378
+ export declare function serializeSuppressionEntryRequest_safeMetadata(writer: SerializationWriter, suppressionEntryRequest_safeMetadata?: Partial<SuppressionEntryRequest_safeMetadata> | undefined | null, isSerializingDerivedType?: boolean): void;
11379
+ /**
11380
+ * Serializes information the current object
11381
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
11382
+ * @param SuppressionEntryResponse The instance to serialize from.
11383
+ * @param writer Serialization writer to use to serialize this model
11384
+ */
11385
+ export declare function serializeSuppressionEntryResponse(writer: SerializationWriter, suppressionEntryResponse?: Partial<SuppressionEntryResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
11386
+ /**
11387
+ * Serializes information the current object
11388
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
11389
+ * @param TagRequest The instance to serialize from.
11390
+ * @param writer Serialization writer to use to serialize this model
11391
+ */
11392
+ export declare function serializeTagRequest(writer: SerializationWriter, tagRequest?: Partial<TagRequest> | undefined | null, isSerializingDerivedType?: boolean): void;
11010
11393
  /**
11011
11394
  * Serializes information the current object
11012
11395
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -11021,6 +11404,20 @@ export declare function serializeTagResponse(writer: SerializationWriter, tagRes
11021
11404
  * @param writer Serialization writer to use to serialize this model
11022
11405
  */
11023
11406
  export declare function serializeTagSummary(writer: SerializationWriter, tagSummary?: Partial<TagSummary> | undefined | null, isSerializingDerivedType?: boolean): void;
11407
+ /**
11408
+ * Serializes information the current object
11409
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
11410
+ * @param TelephonyLoginRequest The instance to serialize from.
11411
+ * @param writer Serialization writer to use to serialize this model
11412
+ */
11413
+ export declare function serializeTelephonyLoginRequest(writer: SerializationWriter, telephonyLoginRequest?: Partial<TelephonyLoginRequest> | undefined | null, isSerializingDerivedType?: boolean): void;
11414
+ /**
11415
+ * Serializes information the current object
11416
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
11417
+ * @param TelephonyLoginResponse The instance to serialize from.
11418
+ * @param writer Serialization writer to use to serialize this model
11419
+ */
11420
+ export declare function serializeTelephonyLoginResponse(writer: SerializationWriter, telephonyLoginResponse?: Partial<TelephonyLoginResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
11024
11421
  /**
11025
11422
  * Serializes information the current object
11026
11423
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -12178,6 +12575,220 @@ export interface StripePaymentMethodResponse extends AdditionalDataHolder, Parsa
12178
12575
  */
12179
12576
  last4?: string | null;
12180
12577
  }
12578
+ /**
12579
+ * API response containing suppression check result data returned to callers.
12580
+ */
12581
+ export interface SuppressionCheckResult extends AdditionalDataHolder, Parsable {
12582
+ /**
12583
+ * The human-readable admin reason explaining this ion check result.
12584
+ */
12585
+ adminReason?: string | null;
12586
+ /**
12587
+ * Whether this ion check result allows ed.
12588
+ */
12589
+ allowed?: boolean | null;
12590
+ /**
12591
+ * The business ID associated with this ion check result.
12592
+ */
12593
+ businessId?: string | null;
12594
+ /**
12595
+ * The channel value for this ion check result.
12596
+ */
12597
+ channel?: string | null;
12598
+ /**
12599
+ * The human-readable customer reason explaining this ion check result.
12600
+ */
12601
+ customerReason?: string | null;
12602
+ /**
12603
+ * The normalized email value for this ion check result.
12604
+ */
12605
+ normalizedEmail?: string | null;
12606
+ /**
12607
+ * The phone number associated with this ion check result.
12608
+ */
12609
+ normalizedPhoneNumber?: string | null;
12610
+ /**
12611
+ * The recipient identifier value for this ion check result.
12612
+ */
12613
+ recipientIdentifier?: string | null;
12614
+ /**
12615
+ * The source value on the active suppression entry that blocked this check.
12616
+ */
12617
+ source?: string | null;
12618
+ /**
12619
+ * The date and time the blocking suppression became active.
12620
+ */
12621
+ suppressedAt?: Date | null;
12622
+ /**
12623
+ * The suppression entry ID associated with this ion check result.
12624
+ */
12625
+ suppressionEntryId?: string | null;
12626
+ }
12627
+ /**
12628
+ * API DTO containing ion entry audit data used by Leadping API contracts.
12629
+ */
12630
+ export interface SuppressionEntryAudit extends AdditionalDataHolder, Parsable {
12631
+ /**
12632
+ * The actor ID associated with this ion entry audit.
12633
+ */
12634
+ actorId?: string | null;
12635
+ /**
12636
+ * The unique ID for this ion entry audit.
12637
+ */
12638
+ id?: string | null;
12639
+ /**
12640
+ * The provider event ID associated with this ion entry audit.
12641
+ */
12642
+ providerEventId?: string | null;
12643
+ /**
12644
+ * The human-readable reason explaining this ion entry audit.
12645
+ */
12646
+ reason?: string | null;
12647
+ /**
12648
+ * The safe metadata key-value data carried with this ion entry audit; values must be safe to expose in API responses.
12649
+ */
12650
+ safeMetadata?: SuppressionEntryAudit_safeMetadata | null;
12651
+ /**
12652
+ * The source value for this ion entry audit.
12653
+ */
12654
+ source?: string | null;
12655
+ /**
12656
+ * The source event ID associated with this ion entry audit.
12657
+ */
12658
+ sourceEventId?: string | null;
12659
+ /**
12660
+ * The current status for this ion entry audit.
12661
+ */
12662
+ status?: string | null;
12663
+ /**
12664
+ * The date and time for the timestamp value on this ion entry audit.
12665
+ */
12666
+ timestamp?: Date | null;
12667
+ }
12668
+ /**
12669
+ * The safe metadata key-value data carried with this ion entry audit; values must be safe to expose in API responses.
12670
+ */
12671
+ export interface SuppressionEntryAudit_safeMetadata extends AdditionalDataHolder, Parsable {
12672
+ }
12673
+ /**
12674
+ * Request payload for suppression entry.
12675
+ */
12676
+ export interface SuppressionEntryRequest extends AdditionalDataHolder, Parsable {
12677
+ /**
12678
+ * The actor ID associated with this ion entry.
12679
+ */
12680
+ actorId?: string | null;
12681
+ /**
12682
+ * The business ID associated with this ion entry.
12683
+ */
12684
+ businessId?: string | null;
12685
+ /**
12686
+ * The channel value for this ion entry.
12687
+ */
12688
+ channel?: string | null;
12689
+ /**
12690
+ * The email address associated with this ion entry.
12691
+ */
12692
+ email?: string | null;
12693
+ /**
12694
+ * The phone number associated with this ion entry.
12695
+ */
12696
+ phoneNumber?: string | null;
12697
+ /**
12698
+ * The provider event ID associated with this ion entry.
12699
+ */
12700
+ providerEventId?: string | null;
12701
+ /**
12702
+ * The human-readable reason explaining this ion entry.
12703
+ */
12704
+ reason?: string | null;
12705
+ /**
12706
+ * The recipient identifier value for this ion entry.
12707
+ */
12708
+ recipientIdentifier?: string | null;
12709
+ /**
12710
+ * The safe metadata key-value data carried with this ion entry; values must be safe to expose in API responses.
12711
+ */
12712
+ safeMetadata?: SuppressionEntryRequest_safeMetadata | null;
12713
+ /**
12714
+ * The source value for this ion entry.
12715
+ */
12716
+ source?: string | null;
12717
+ /**
12718
+ * The source event ID associated with this ion entry.
12719
+ */
12720
+ sourceEventId?: string | null;
12721
+ /**
12722
+ * The date and time for the timestamp value on this ion entry.
12723
+ */
12724
+ timestamp?: Date | null;
12725
+ }
12726
+ /**
12727
+ * The safe metadata key-value data carried with this ion entry; values must be safe to expose in API responses.
12728
+ */
12729
+ export interface SuppressionEntryRequest_safeMetadata extends AdditionalDataHolder, Parsable {
12730
+ }
12731
+ /**
12732
+ * API response containing suppression entry data returned to callers.
12733
+ */
12734
+ export interface SuppressionEntryResponse extends AdditionalDataHolder, Parsable {
12735
+ /**
12736
+ * The audit included with this ion entry.
12737
+ */
12738
+ audit?: SuppressionEntryAudit[] | null;
12739
+ /**
12740
+ * The business ID associated with this ion entry.
12741
+ */
12742
+ businessId?: string | null;
12743
+ /**
12744
+ * The channel value for this ion entry.
12745
+ */
12746
+ channel?: string | null;
12747
+ /**
12748
+ * The unique ID for this ion entry.
12749
+ */
12750
+ id?: string | null;
12751
+ /**
12752
+ * The normalized email value for this ion entry.
12753
+ */
12754
+ normalizedEmail?: string | null;
12755
+ /**
12756
+ * The phone number associated with this ion entry.
12757
+ */
12758
+ normalizedPhoneNumber?: string | null;
12759
+ /**
12760
+ * The provider event ID associated with this ion entry.
12761
+ */
12762
+ providerEventId?: string | null;
12763
+ /**
12764
+ * The human-readable reason explaining this ion entry.
12765
+ */
12766
+ reason?: string | null;
12767
+ /**
12768
+ * The recipient identifier value for this ion entry.
12769
+ */
12770
+ recipientIdentifier?: string | null;
12771
+ /**
12772
+ * The date and time for the released at value on this ion entry.
12773
+ */
12774
+ releasedAt?: Date | null;
12775
+ /**
12776
+ * The source value for this ion entry.
12777
+ */
12778
+ source?: string | null;
12779
+ /**
12780
+ * The source event ID associated with this ion entry.
12781
+ */
12782
+ sourceEventId?: string | null;
12783
+ /**
12784
+ * The current status for this ion entry.
12785
+ */
12786
+ status?: string | null;
12787
+ /**
12788
+ * The date and time for the suppressed at value on this ion entry.
12789
+ */
12790
+ suppressedAt?: Date | null;
12791
+ }
12181
12792
  /**
12182
12793
  * Request schema for the Leadping API tag request, including the fields clients can send.
12183
12794
  */
@@ -12269,6 +12880,40 @@ export interface TagSummary extends AdditionalDataHolder, Parsable {
12269
12880
  */
12270
12881
  normalizedName?: string | null;
12271
12882
  }
12883
+ /**
12884
+ * Request model for telephony login token generation.
12885
+ */
12886
+ export interface TelephonyLoginRequest extends AdditionalDataHolder, Parsable {
12887
+ /**
12888
+ * Stable device identifier generated by the Leadping mobile app.
12889
+ */
12890
+ deviceId?: string | null;
12891
+ /**
12892
+ * Human-readable device name captured by the Leadping mobile app.
12893
+ */
12894
+ deviceName?: string | null;
12895
+ }
12896
+ /**
12897
+ * Response model for telephony login token generation.
12898
+ */
12899
+ export interface TelephonyLoginResponse extends AdditionalDataHolder, Parsable {
12900
+ /**
12901
+ * The callback token value for this telephony login.
12902
+ */
12903
+ callbackToken?: string | null;
12904
+ /**
12905
+ * The date and time for the expires at value on this telephony login.
12906
+ */
12907
+ expiresAt?: Date | null;
12908
+ /**
12909
+ * The password value for this telephony login.
12910
+ */
12911
+ password?: string | null;
12912
+ /**
12913
+ * The username value for this telephony login.
12914
+ */
12915
+ username?: string | null;
12916
+ }
12272
12917
  /**
12273
12918
  * API DTO containing ten dlc application draft data used by Leadping API contracts.
12274
12919
  */
@@ -14033,6 +14678,46 @@ export declare const FeedbackTypeObject: {
14033
14678
  readonly Missing_capability: "missing_capability";
14034
14679
  readonly Other: "other";
14035
14680
  };
14681
+ /**
14682
+ * Defines priority classes used when pacing outbound delivery.
14683
+ */
14684
+ export declare const InitiateCallRequest_outboundPriorityObject: {
14685
+ readonly Critical_internal_notification: "critical_internal_notification";
14686
+ readonly Fresh_inbound_lead_response: "fresh_inbound_lead_response";
14687
+ readonly Manual_user_initiated: "manual_user_initiated";
14688
+ readonly Active_conversation_reply: "active_conversation_reply";
14689
+ readonly Automation_follow_up: "automation_follow_up";
14690
+ readonly Campaign_message: "campaign_message";
14691
+ readonly Imported_lead_campaign: "imported_lead_campaign";
14692
+ readonly Warmup: "warmup";
14693
+ readonly Retry: "retry";
14694
+ };
14695
+ /**
14696
+ * Defines the source that requested outbound delivery.
14697
+ */
14698
+ export declare const InitiateCallRequest_outboundSourceObject: {
14699
+ readonly Manual: "manual";
14700
+ readonly Automation: "automation";
14701
+ readonly Campaign: "campaign";
14702
+ readonly ImportEscaped: "import";
14703
+ readonly Api: "api";
14704
+ readonly System_notification: "system_notification";
14705
+ readonly Warmup: "warmup";
14706
+ readonly Retry: "retry";
14707
+ };
14708
+ /**
14709
+ * Defines the supported Outgoing Number Selection Reason values.
14710
+ */
14711
+ export declare const InitiateCallRequest_selectionReasonObject: {
14712
+ readonly StickyConversation: "StickyConversation";
14713
+ readonly LeadAssigned: "LeadAssigned";
14714
+ readonly CampaignOrSource: "CampaignOrSource";
14715
+ readonly Preferred: "Preferred";
14716
+ readonly LocalArea: "LocalArea";
14717
+ readonly HealthyPool: "HealthyPool";
14718
+ readonly FallbackDefault: "FallbackDefault";
14719
+ readonly ManualOverride: "ManualOverride";
14720
+ };
14036
14721
  /**
14037
14722
  * Represents the status of an internal phone number in the system.
14038
14723
  */
@@ -14224,6 +14909,44 @@ export declare const OutgoingNumberSelectionResponse_selectionReasonObject: {
14224
14909
  readonly FallbackDefault: "FallbackDefault";
14225
14910
  readonly ManualOverride: "ManualOverride";
14226
14911
  };
14912
+ /**
14913
+ * Defines the supported Outgoing Number Selection Reason values.
14914
+ */
14915
+ export declare const PhoneCallResponse_selectionReasonObject: {
14916
+ readonly StickyConversation: "StickyConversation";
14917
+ readonly LeadAssigned: "LeadAssigned";
14918
+ readonly CampaignOrSource: "CampaignOrSource";
14919
+ readonly Preferred: "Preferred";
14920
+ readonly LocalArea: "LocalArea";
14921
+ readonly HealthyPool: "HealthyPool";
14922
+ readonly FallbackDefault: "FallbackDefault";
14923
+ readonly ManualOverride: "ManualOverride";
14924
+ };
14925
+ /**
14926
+ * Defines the supported Phone Call Status values.
14927
+ */
14928
+ export declare const PhoneCallStatusObject: {
14929
+ readonly Scheduled: "scheduled";
14930
+ readonly Queued: "queued";
14931
+ readonly Initiated: "initiated";
14932
+ readonly Ringing: "ringing";
14933
+ readonly In_progress: "in_progress";
14934
+ readonly Active: "active";
14935
+ readonly Completed: "completed";
14936
+ readonly Ended: "ended";
14937
+ readonly Busy: "busy";
14938
+ readonly No_answer: "no_answer";
14939
+ readonly Failed: "failed";
14940
+ readonly Canceled: "canceled";
14941
+ readonly Missed: "missed";
14942
+ readonly Transferred: "transferred";
14943
+ readonly Voicemail: "voicemail";
14944
+ readonly Blocked_billing: "blocked_billing";
14945
+ readonly Blocked_phone_number_status: "blocked_phone_number_status";
14946
+ readonly Blocked_configuration: "blocked_configuration";
14947
+ readonly Blocked_permission: "blocked_permission";
14948
+ readonly Configuration_required: "configuration_required";
14949
+ };
14227
14950
  /**
14228
14951
  * An enumerator describing carrier types
14229
14952
  */