@leadping/sdk 1.0.124 → 1.0.126
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/conversations/index.d.ts +4 -4
- package/dist/conversations/index.d.ts.map +1 -1
- package/dist/conversations/index.js +5 -5
- package/dist/conversations/index.js.map +1 -1
- package/dist/conversations/item/index.d.ts +10 -5
- package/dist/conversations/item/index.d.ts.map +1 -1
- package/dist/conversations/item/index.js +9 -4
- package/dist/conversations/item/index.js.map +1 -1
- package/dist/conversations/item/markHandled/index.d.ts +2 -2
- package/dist/conversations/item/markHandled/index.d.ts.map +1 -1
- package/dist/conversations/item/markHandled/index.js +1 -1
- package/dist/conversations/item/markHandled/index.js.map +1 -1
- package/dist/conversations/item/markRead/index.d.ts +2 -2
- package/dist/conversations/item/markRead/index.d.ts.map +1 -1
- package/dist/conversations/item/markRead/index.js +1 -1
- package/dist/conversations/item/markRead/index.js.map +1 -1
- package/dist/conversations/item/markReplyNeeded/index.d.ts +2 -2
- package/dist/conversations/item/markReplyNeeded/index.d.ts.map +1 -1
- package/dist/conversations/item/markReplyNeeded/index.js +1 -1
- package/dist/conversations/item/markReplyNeeded/index.js.map +1 -1
- package/dist/conversations/item/outboundReadiness/index.d.ts +2 -2
- package/dist/conversations/item/outboundReadiness/index.d.ts.map +1 -1
- package/dist/conversations/item/outboundReadiness/index.js +1 -1
- package/dist/conversations/item/outboundReadiness/index.js.map +1 -1
- package/dist/conversations/item/retry/index.d.ts +33 -0
- package/dist/conversations/item/retry/index.d.ts.map +1 -0
- package/dist/conversations/item/retry/index.js +31 -0
- package/dist/conversations/item/retry/index.js.map +1 -0
- package/dist/conversations/my/index.d.ts +8 -4
- package/dist/conversations/my/index.d.ts.map +1 -1
- package/dist/conversations/my/index.js +3 -3
- package/dist/conversations/my/index.js.map +1 -1
- package/dist/models/index.d.ts +118 -1
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +100 -0
- package/dist/models/index.js.map +1 -1
- package/dist/phoneCall/index.d.ts +5 -0
- package/dist/phoneCall/index.d.ts.map +1 -1
- package/dist/phoneCall/index.js +5 -0
- package/dist/phoneCall/index.js.map +1 -1
- package/dist/phoneCall/next/index.d.ts +22 -0
- package/dist/phoneCall/next/index.d.ts.map +1 -0
- package/dist/phoneCall/next/index.js +21 -0
- package/dist/phoneCall/next/index.js.map +1 -0
- package/dist/phoneCall/next/item/index.d.ts +39 -0
- package/dist/phoneCall/next/item/index.d.ts.map +1 -0
- package/dist/phoneCall/next/item/index.js +31 -0
- package/dist/phoneCall/next/item/index.js.map +1 -0
- package/package.json +1 -1
package/dist/models/index.d.ts
CHANGED
|
@@ -717,7 +717,7 @@ export interface AutomationRequest extends AdditionalDataHolder, Parsable {
|
|
|
717
717
|
*/
|
|
718
718
|
scope?: string | null;
|
|
719
719
|
/**
|
|
720
|
-
* Time zone used by workflow time and day conditions in preview and runtime. New workflows default to the organization
|
|
720
|
+
* Time zone used by workflow time and day conditions in preview and runtime. New workflows default to the organization's time zone.
|
|
721
721
|
*/
|
|
722
722
|
timeZoneId?: string | null;
|
|
723
723
|
/**
|
|
@@ -1745,6 +1745,16 @@ export interface CallEventTableRow extends AdditionalDataHolder, Parsable {
|
|
|
1745
1745
|
}
|
|
1746
1746
|
export type CallEventTableRow_outboundSource = (typeof CallEventTableRow_outboundSourceObject)[keyof typeof CallEventTableRow_outboundSourceObject];
|
|
1747
1747
|
export type CallEventTableRow_status = (typeof CallEventTableRow_statusObject)[keyof typeof CallEventTableRow_statusObject];
|
|
1748
|
+
export interface CallRetryRequest extends AdditionalDataHolder, Parsable {
|
|
1749
|
+
/**
|
|
1750
|
+
* The prior retry time observed by the rep.
|
|
1751
|
+
*/
|
|
1752
|
+
expectedRetryAt?: Date | null;
|
|
1753
|
+
/**
|
|
1754
|
+
* When to offer this call again. Clear to remove the retry.
|
|
1755
|
+
*/
|
|
1756
|
+
retryAt?: Date | null;
|
|
1757
|
+
}
|
|
1748
1758
|
/**
|
|
1749
1759
|
* Defines the input used for change billing plan.
|
|
1750
1760
|
*/
|
|
@@ -1802,6 +1812,35 @@ export interface ComplianceUpdateRequest extends AdditionalDataHolder, Parsable
|
|
|
1802
1812
|
export interface ComplianceUpdateRequest_compliance extends Parsable, UserCompliance {
|
|
1803
1813
|
}
|
|
1804
1814
|
export type ConsentVerificationStatus = (typeof ConsentVerificationStatusObject)[keyof typeof ConsentVerificationStatusObject];
|
|
1815
|
+
/**
|
|
1816
|
+
* A page of inbox conversations with optional action counts and refresh timing.
|
|
1817
|
+
*/
|
|
1818
|
+
export interface ConversationPage extends AdditionalDataHolder, Parsable {
|
|
1819
|
+
/**
|
|
1820
|
+
* The continuationToken property
|
|
1821
|
+
*/
|
|
1822
|
+
continuationToken?: string | null;
|
|
1823
|
+
/**
|
|
1824
|
+
* The items property
|
|
1825
|
+
*/
|
|
1826
|
+
items?: ConversationResponse[] | null;
|
|
1827
|
+
/**
|
|
1828
|
+
* Visible unanswered conversations, capped at ReplyCountDisplayLimit + 1. Included on request.
|
|
1829
|
+
*/
|
|
1830
|
+
needsReplyCount?: number | null;
|
|
1831
|
+
/**
|
|
1832
|
+
* The pageSize property
|
|
1833
|
+
*/
|
|
1834
|
+
pageSize?: number | null;
|
|
1835
|
+
/**
|
|
1836
|
+
* Time remaining until a scheduled action or contact window could change this page, measured on the server.
|
|
1837
|
+
*/
|
|
1838
|
+
refreshAfter?: string | null;
|
|
1839
|
+
/**
|
|
1840
|
+
* The totalCount property
|
|
1841
|
+
*/
|
|
1842
|
+
totalCount?: number | null;
|
|
1843
|
+
}
|
|
1805
1844
|
/**
|
|
1806
1845
|
* Describes conversation data returned by Leadping.
|
|
1807
1846
|
*/
|
|
@@ -1822,6 +1861,10 @@ export interface ConversationResponse extends AdditionalDataHolder, Parsable {
|
|
|
1822
1861
|
* Optional profile image URL explicitly associated with the lead.
|
|
1823
1862
|
*/
|
|
1824
1863
|
avatarUrl?: string | null;
|
|
1864
|
+
/**
|
|
1865
|
+
* Rep-selected time for the next call attempt.
|
|
1866
|
+
*/
|
|
1867
|
+
callRetryAt?: Date | null;
|
|
1825
1868
|
/**
|
|
1826
1869
|
* Current manual voice eligibility, including contact hours. Populated on individual conversation reads. Sender readiness and billing are checked when calling; null means eligibility has not been evaluated.
|
|
1827
1870
|
*/
|
|
@@ -1854,6 +1897,14 @@ export interface ConversationResponse extends AdditionalDataHolder, Parsable {
|
|
|
1854
1897
|
* Unique Leadping identifier for this conversation response.
|
|
1855
1898
|
*/
|
|
1856
1899
|
id?: string | null;
|
|
1900
|
+
/**
|
|
1901
|
+
* The next action for a conversation, in inbox priority order.
|
|
1902
|
+
*/
|
|
1903
|
+
inboxAction?: number | null;
|
|
1904
|
+
/**
|
|
1905
|
+
* Customer reply time, due time, or request time explaining the action.
|
|
1906
|
+
*/
|
|
1907
|
+
inboxActionAt?: Date | null;
|
|
1857
1908
|
/**
|
|
1858
1909
|
* Indicates whether the Leadping conversation has been archived.
|
|
1859
1910
|
*/
|
|
@@ -2279,6 +2330,12 @@ export declare function createBrowserCallApprovalFromDiscriminatorValue(parseNod
|
|
|
2279
2330
|
* @returns {CallEventTableRow}
|
|
2280
2331
|
*/
|
|
2281
2332
|
export declare function createCallEventTableRowFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
2333
|
+
/**
|
|
2334
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
2335
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
2336
|
+
* @returns {CallRetryRequest}
|
|
2337
|
+
*/
|
|
2338
|
+
export declare function createCallRetryRequestFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
2282
2339
|
/**
|
|
2283
2340
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
2284
2341
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -2303,6 +2360,12 @@ export declare function createComplianceUpdateRequest_complianceFromDiscriminato
|
|
|
2303
2360
|
* @returns {ComplianceUpdateRequest}
|
|
2304
2361
|
*/
|
|
2305
2362
|
export declare function createComplianceUpdateRequestFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
2363
|
+
/**
|
|
2364
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
2365
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
2366
|
+
* @returns {ConversationPage}
|
|
2367
|
+
*/
|
|
2368
|
+
export declare function createConversationPageFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
2306
2369
|
/**
|
|
2307
2370
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
2308
2371
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -3900,6 +3963,10 @@ export declare function createWalletResponseFromDiscriminatorValue(parseNode: Pa
|
|
|
3900
3963
|
* Summary schema for Leadping API current lead status change summary data used in dashboards and reports.
|
|
3901
3964
|
*/
|
|
3902
3965
|
export interface CurrentLeadStatusSummary extends AdditionalDataHolder, Parsable {
|
|
3966
|
+
/**
|
|
3967
|
+
* The promised callback time, independent of a general follow-up task.
|
|
3968
|
+
*/
|
|
3969
|
+
callbackAt?: Date | null;
|
|
3903
3970
|
/**
|
|
3904
3971
|
* Controlled lead status change categories used for reporting, automation, and analytics.
|
|
3905
3972
|
*/
|
|
@@ -4916,6 +4983,12 @@ export declare function deserializeIntoBrowserCallApproval(browserCallApproval?:
|
|
|
4916
4983
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
4917
4984
|
*/
|
|
4918
4985
|
export declare function deserializeIntoCallEventTableRow(callEventTableRow?: Partial<CallEventTableRow> | undefined): Record<string, (node: ParseNode) => void>;
|
|
4986
|
+
/**
|
|
4987
|
+
* The deserialization information for the current model
|
|
4988
|
+
* @param CallRetryRequest The instance to deserialize into.
|
|
4989
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
4990
|
+
*/
|
|
4991
|
+
export declare function deserializeIntoCallRetryRequest(callRetryRequest?: Partial<CallRetryRequest> | undefined): Record<string, (node: ParseNode) => void>;
|
|
4919
4992
|
/**
|
|
4920
4993
|
* The deserialization information for the current model
|
|
4921
4994
|
* @param ChangeBillingPlanRequest The instance to deserialize into.
|
|
@@ -4940,6 +5013,12 @@ export declare function deserializeIntoComplianceUpdateRequest(complianceUpdateR
|
|
|
4940
5013
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
4941
5014
|
*/
|
|
4942
5015
|
export declare function deserializeIntoComplianceUpdateRequest_compliance(complianceUpdateRequest_compliance?: Partial<ComplianceUpdateRequest_compliance> | undefined): Record<string, (node: ParseNode) => void>;
|
|
5016
|
+
/**
|
|
5017
|
+
* The deserialization information for the current model
|
|
5018
|
+
* @param ConversationPage The instance to deserialize into.
|
|
5019
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
5020
|
+
*/
|
|
5021
|
+
export declare function deserializeIntoConversationPage(conversationPage?: Partial<ConversationPage> | undefined): Record<string, (node: ParseNode) => void>;
|
|
4943
5022
|
/**
|
|
4944
5023
|
* The deserialization information for the current model
|
|
4945
5024
|
* @param ConversationResponse The instance to deserialize into.
|
|
@@ -9806,6 +9885,10 @@ export interface OrganizationRequest extends AdditionalDataHolder, Parsable {
|
|
|
9806
9885
|
* Automatically advances new leads after a confirmed outbound call attempt. Enabled by default.
|
|
9807
9886
|
*/
|
|
9808
9887
|
automaticallyMarkLeadsCalled?: boolean | null;
|
|
9888
|
+
/**
|
|
9889
|
+
* Automatically advances new leads when an outbound message is delivered.
|
|
9890
|
+
*/
|
|
9891
|
+
automaticallyMarkLeadsMessaged?: boolean | null;
|
|
9809
9892
|
/**
|
|
9810
9893
|
* Destination status for outbound call attempts. Null uses the built-in Called status.
|
|
9811
9894
|
*/
|
|
@@ -9822,6 +9905,10 @@ export interface OrganizationRequest extends AdditionalDataHolder, Parsable {
|
|
|
9822
9905
|
* Whether the organization was formed less than 90 days ago.
|
|
9823
9906
|
*/
|
|
9824
9907
|
isYoungerThan90?: boolean | null;
|
|
9908
|
+
/**
|
|
9909
|
+
* Destination status for delivered outbound messages.
|
|
9910
|
+
*/
|
|
9911
|
+
messagedLeadStatusId?: string | null;
|
|
9825
9912
|
/**
|
|
9826
9913
|
* Primary organization name.
|
|
9827
9914
|
*/
|
|
@@ -9888,6 +9975,10 @@ export interface OrganizationResponse extends AdditionalDataHolder, Parsable {
|
|
|
9888
9975
|
* Automatically advances new leads after a confirmed outbound call attempt. Enabled by default.
|
|
9889
9976
|
*/
|
|
9890
9977
|
automaticallyMarkLeadsCalled?: boolean | null;
|
|
9978
|
+
/**
|
|
9979
|
+
* Automatically advances new leads when an outbound message is delivered.
|
|
9980
|
+
*/
|
|
9981
|
+
automaticallyMarkLeadsMessaged?: boolean | null;
|
|
9891
9982
|
/**
|
|
9892
9983
|
* Wallet refill amount charged when automatic refill is triggered.
|
|
9893
9984
|
*/
|
|
@@ -9964,6 +10055,10 @@ export interface OrganizationResponse extends AdditionalDataHolder, Parsable {
|
|
|
9964
10055
|
* Whether this record belongs to demo data.
|
|
9965
10056
|
*/
|
|
9966
10057
|
isDemo?: boolean | null;
|
|
10058
|
+
/**
|
|
10059
|
+
* Destination status for delivered outbound messages.
|
|
10060
|
+
*/
|
|
10061
|
+
messagedLeadStatusId?: string | null;
|
|
9967
10062
|
/**
|
|
9968
10063
|
* UTC timestamp when the resource was last modified, or null when it has not been updated.
|
|
9969
10064
|
*/
|
|
@@ -11013,6 +11108,10 @@ export interface PhoneIdentityResponse extends AdditionalDataHolder, Parsable {
|
|
|
11013
11108
|
* Lossless provider snapshot retained with a phone identity for replay, audits, and fields added by providers later.
|
|
11014
11109
|
*/
|
|
11015
11110
|
providerEnrichment?: PhoneIdentityResponse_providerEnrichment | null;
|
|
11111
|
+
/**
|
|
11112
|
+
* Whether Telnyx rejected SMS routing to this destination with error 40001.
|
|
11113
|
+
*/
|
|
11114
|
+
smsNotRoutable?: boolean | null;
|
|
11016
11115
|
}
|
|
11017
11116
|
/**
|
|
11018
11117
|
* Public Leadping API schema for phone lookup result data.
|
|
@@ -11965,6 +12064,10 @@ export interface SendSmsRequest extends AdditionalDataHolder, Parsable {
|
|
|
11965
12064
|
* Idempotency key used to prevent duplicate outbound delivery.
|
|
11966
12065
|
*/
|
|
11967
12066
|
outboundIdempotencyKey?: string | null;
|
|
12067
|
+
/**
|
|
12068
|
+
* Version of the incoming conversation reply displayed to the agent when composing this response.
|
|
12069
|
+
*/
|
|
12070
|
+
replyVersion?: number | null;
|
|
11968
12071
|
/**
|
|
11969
12072
|
* UTC timestamp when Leadping should send the SMS message.
|
|
11970
12073
|
*/
|
|
@@ -12364,6 +12467,13 @@ export declare function serializeBrowserCallApproval(writer: SerializationWriter
|
|
|
12364
12467
|
* @param writer Serialization writer to use to serialize this model
|
|
12365
12468
|
*/
|
|
12366
12469
|
export declare function serializeCallEventTableRow(writer: SerializationWriter, callEventTableRow?: Partial<CallEventTableRow> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
12470
|
+
/**
|
|
12471
|
+
* Serializes information the current object
|
|
12472
|
+
* @param CallRetryRequest The instance to serialize from.
|
|
12473
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
12474
|
+
* @param writer Serialization writer to use to serialize this model
|
|
12475
|
+
*/
|
|
12476
|
+
export declare function serializeCallRetryRequest(writer: SerializationWriter, callRetryRequest?: Partial<CallRetryRequest> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
12367
12477
|
/**
|
|
12368
12478
|
* Serializes information the current object
|
|
12369
12479
|
* @param ChangeBillingPlanRequest The instance to serialize from.
|
|
@@ -12392,6 +12502,13 @@ export declare function serializeComplianceUpdateRequest(writer: SerializationWr
|
|
|
12392
12502
|
* @param writer Serialization writer to use to serialize this model
|
|
12393
12503
|
*/
|
|
12394
12504
|
export declare function serializeComplianceUpdateRequest_compliance(writer: SerializationWriter, complianceUpdateRequest_compliance?: Partial<ComplianceUpdateRequest_compliance> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
12505
|
+
/**
|
|
12506
|
+
* Serializes information the current object
|
|
12507
|
+
* @param ConversationPage The instance to serialize from.
|
|
12508
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
12509
|
+
* @param writer Serialization writer to use to serialize this model
|
|
12510
|
+
*/
|
|
12511
|
+
export declare function serializeConversationPage(writer: SerializationWriter, conversationPage?: Partial<ConversationPage> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
12395
12512
|
/**
|
|
12396
12513
|
* Serializes information the current object
|
|
12397
12514
|
* @param ConversationResponse The instance to serialize from.
|