@leadping/sdk 1.0.88 → 1.0.90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/models/index.d.ts +106 -2
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +93 -0
- package/dist/models/index.js.map +1 -1
- package/dist/telephony/availability/index.d.ts +41 -0
- package/dist/telephony/availability/index.d.ts.map +1 -0
- package/dist/telephony/availability/index.js +39 -0
- package/dist/telephony/availability/index.js.map +1 -0
- package/dist/telephony/availability/item/index.d.ts +39 -0
- package/dist/telephony/availability/item/index.d.ts.map +1 -0
- package/dist/telephony/availability/item/index.js +28 -0
- package/dist/telephony/availability/item/index.js.map +1 -0
- package/dist/telephony/incomingCaller/index.d.ts +39 -0
- package/dist/telephony/incomingCaller/index.d.ts.map +1 -0
- package/dist/telephony/incomingCaller/index.js +28 -0
- package/dist/telephony/incomingCaller/index.js.map +1 -0
- package/dist/telephony/index.d.ts +10 -0
- package/dist/telephony/index.d.ts.map +1 -1
- package/dist/telephony/index.js +11 -0
- package/dist/telephony/index.js.map +1 -1
- package/package.json +1 -1
package/dist/models/index.d.ts
CHANGED
|
@@ -1372,6 +1372,31 @@ export interface BlogSocialPost extends AdditionalDataHolder, Parsable {
|
|
|
1372
1372
|
*/
|
|
1373
1373
|
postId?: string | null;
|
|
1374
1374
|
}
|
|
1375
|
+
/**
|
|
1376
|
+
* Server-approved parameters for one outbound browser call.
|
|
1377
|
+
*/
|
|
1378
|
+
export interface BrowserCallApproval extends AdditionalDataHolder, Parsable {
|
|
1379
|
+
/**
|
|
1380
|
+
* The callerNumber property
|
|
1381
|
+
*/
|
|
1382
|
+
callerNumber?: string | null;
|
|
1383
|
+
/**
|
|
1384
|
+
* The clientState property
|
|
1385
|
+
*/
|
|
1386
|
+
clientState?: string | null;
|
|
1387
|
+
/**
|
|
1388
|
+
* The destinationNumber property
|
|
1389
|
+
*/
|
|
1390
|
+
destinationNumber?: string | null;
|
|
1391
|
+
/**
|
|
1392
|
+
* The expiresAt property
|
|
1393
|
+
*/
|
|
1394
|
+
expiresAt?: Date | null;
|
|
1395
|
+
/**
|
|
1396
|
+
* The maximumDurationSeconds property
|
|
1397
|
+
*/
|
|
1398
|
+
maximumDurationSeconds?: number | null;
|
|
1399
|
+
}
|
|
1375
1400
|
/**
|
|
1376
1401
|
* Summarizes call event data in paginated and searchable results.
|
|
1377
1402
|
*/
|
|
@@ -1971,6 +1996,12 @@ export declare function createBlogArticleResponseFromDiscriminatorValue(parseNod
|
|
|
1971
1996
|
* @returns {BlogSocialPost}
|
|
1972
1997
|
*/
|
|
1973
1998
|
export declare function createBlogSocialPostFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
1999
|
+
/**
|
|
2000
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
2001
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
2002
|
+
* @returns {BrowserCallApproval}
|
|
2003
|
+
*/
|
|
2004
|
+
export declare function createBrowserCallApprovalFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
1974
2005
|
/**
|
|
1975
2006
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
1976
2007
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -2868,6 +2899,12 @@ export declare function createPagedResultOfTransactionTableRowFromDiscriminatorV
|
|
|
2868
2899
|
* @returns {PagedResultOfUsageLedgerTableRow}
|
|
2869
2900
|
*/
|
|
2870
2901
|
export declare function createPagedResultOfUsageLedgerTableRowFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
2902
|
+
/**
|
|
2903
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
2904
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
2905
|
+
* @returns {PhoneCallResponse_browserCallApproval}
|
|
2906
|
+
*/
|
|
2907
|
+
export declare function createPhoneCallResponse_browserCallApprovalFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
2871
2908
|
/**
|
|
2872
2909
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
2873
2910
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -4492,6 +4529,12 @@ export declare function deserializeIntoBlogArticleResponse(blogArticleResponse?:
|
|
|
4492
4529
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
4493
4530
|
*/
|
|
4494
4531
|
export declare function deserializeIntoBlogSocialPost(blogSocialPost?: Partial<BlogSocialPost> | undefined): Record<string, (node: ParseNode) => void>;
|
|
4532
|
+
/**
|
|
4533
|
+
* The deserialization information for the current model
|
|
4534
|
+
* @param BrowserCallApproval The instance to deserialize into.
|
|
4535
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
4536
|
+
*/
|
|
4537
|
+
export declare function deserializeIntoBrowserCallApproval(browserCallApproval?: Partial<BrowserCallApproval> | undefined): Record<string, (node: ParseNode) => void>;
|
|
4495
4538
|
/**
|
|
4496
4539
|
* The deserialization information for the current model
|
|
4497
4540
|
* @param CallEventTableRow The instance to deserialize into.
|
|
@@ -5392,6 +5435,12 @@ export declare function deserializeIntoPhone(phone?: Partial<Phone> | undefined)
|
|
|
5392
5435
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
5393
5436
|
*/
|
|
5394
5437
|
export declare function deserializeIntoPhoneCallResponse(phoneCallResponse?: Partial<PhoneCallResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
5438
|
+
/**
|
|
5439
|
+
* The deserialization information for the current model
|
|
5440
|
+
* @param PhoneCallResponse_browserCallApproval The instance to deserialize into.
|
|
5441
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
5442
|
+
*/
|
|
5443
|
+
export declare function deserializeIntoPhoneCallResponse_browserCallApproval(phoneCallResponse_browserCallApproval?: Partial<PhoneCallResponse_browserCallApproval> | undefined): Record<string, (node: ParseNode) => void>;
|
|
5395
5444
|
/**
|
|
5396
5445
|
* The deserialization information for the current model
|
|
5397
5446
|
* @param PhoneIdentityLookupAction The instance to deserialize into.
|
|
@@ -6316,6 +6365,10 @@ export interface EventTableRow extends AdditionalDataHolder, Parsable {
|
|
|
6316
6365
|
* Communication direction for this event timeline table row, such as inbound or outbound.
|
|
6317
6366
|
*/
|
|
6318
6367
|
direction?: string | null;
|
|
6368
|
+
/**
|
|
6369
|
+
* Confirmed call talk time in seconds, when available.
|
|
6370
|
+
*/
|
|
6371
|
+
durationSeconds?: number | null;
|
|
6319
6372
|
/**
|
|
6320
6373
|
* Machine-readable error code returned while processing this event timeline table row.
|
|
6321
6374
|
*/
|
|
@@ -6597,6 +6650,10 @@ export interface InitiateCallRequest extends AdditionalDataHolder, Parsable {
|
|
|
6597
6650
|
* Lead ID associated with the outbound call request.
|
|
6598
6651
|
*/
|
|
6599
6652
|
leadId?: string | null;
|
|
6653
|
+
/**
|
|
6654
|
+
* Approve a call for the Portal to originate through WebRTC instead of dialing from the server.
|
|
6655
|
+
*/
|
|
6656
|
+
originateFromBrowser?: boolean | null;
|
|
6600
6657
|
/**
|
|
6601
6658
|
* Idempotency key used to prevent duplicate outbound delivery.
|
|
6602
6659
|
*/
|
|
@@ -6606,7 +6663,7 @@ export interface InitiateCallRequest extends AdditionalDataHolder, Parsable {
|
|
|
6606
6663
|
*/
|
|
6607
6664
|
sourceId?: string | null;
|
|
6608
6665
|
/**
|
|
6609
|
-
* Connect the authenticated user's
|
|
6666
|
+
* Connect the authenticated user's phone to a server-controlled destination call.
|
|
6610
6667
|
*/
|
|
6611
6668
|
useBrowserPhone?: boolean | null;
|
|
6612
6669
|
/**
|
|
@@ -6849,7 +6906,7 @@ export interface LeadIntakeRequest extends AdditionalDataHolder, Parsable {
|
|
|
6849
6906
|
*/
|
|
6850
6907
|
company?: LeadIntakeRequest_company | null;
|
|
6851
6908
|
/**
|
|
6852
|
-
* Explicitly attests to SMS consent when consentCertificateType is Other. Allows manual texts only.
|
|
6909
|
+
* Explicitly attests to SMS consent when consentCertificateType is Other. Allows manual calls and texts only.
|
|
6853
6910
|
*/
|
|
6854
6911
|
consentAttested?: boolean | null;
|
|
6855
6912
|
/**
|
|
@@ -9384,6 +9441,10 @@ export interface OrganizationSwitchOption extends AdditionalDataHolder, Parsable
|
|
|
9384
9441
|
* UTC timestamp for last used at on this organization switch option.
|
|
9385
9442
|
*/
|
|
9386
9443
|
lastUsedAt?: Date | null;
|
|
9444
|
+
/**
|
|
9445
|
+
* Number of active members in this organization, excluding pending invitations.
|
|
9446
|
+
*/
|
|
9447
|
+
memberCount?: number | null;
|
|
9387
9448
|
/**
|
|
9388
9449
|
* The human-readable name shown for this organization switch option.
|
|
9389
9450
|
*/
|
|
@@ -10071,10 +10132,18 @@ export interface PhoneCallResponse extends AdditionalDataHolder, Parsable {
|
|
|
10071
10132
|
* Billing state for this communication, charge, or transaction.
|
|
10072
10133
|
*/
|
|
10073
10134
|
billingStatus?: string | null;
|
|
10135
|
+
/**
|
|
10136
|
+
* Server-approved parameters for one outbound browser call.
|
|
10137
|
+
*/
|
|
10138
|
+
browserCallApproval?: PhoneCallResponse_browserCallApproval | null;
|
|
10074
10139
|
/**
|
|
10075
10140
|
* Caller ID phone number presented during the outbound call.
|
|
10076
10141
|
*/
|
|
10077
10142
|
callerId?: string | null;
|
|
10143
|
+
/**
|
|
10144
|
+
* Provider session identity used to correlate device invitations and server lifecycle events.
|
|
10145
|
+
*/
|
|
10146
|
+
callSessionId?: string | null;
|
|
10078
10147
|
/**
|
|
10079
10148
|
* Messaging campaign identifier associated with this phone call.
|
|
10080
10149
|
*/
|
|
@@ -10123,6 +10192,10 @@ export interface PhoneCallResponse extends AdditionalDataHolder, Parsable {
|
|
|
10123
10192
|
* Lead ID associated with the call conversation or outreach attempt.
|
|
10124
10193
|
*/
|
|
10125
10194
|
leadId?: string | null;
|
|
10195
|
+
/**
|
|
10196
|
+
* The matched lead's display name, when the caller belongs to a known lead.
|
|
10197
|
+
*/
|
|
10198
|
+
leadName?: string | null;
|
|
10126
10199
|
/**
|
|
10127
10200
|
* UTC timestamp when the resource was last modified, or null when it has not been updated.
|
|
10128
10201
|
*/
|
|
@@ -10172,6 +10245,11 @@ export interface PhoneCallResponse extends AdditionalDataHolder, Parsable {
|
|
|
10172
10245
|
*/
|
|
10173
10246
|
wasManuallyOverridden?: boolean | null;
|
|
10174
10247
|
}
|
|
10248
|
+
/**
|
|
10249
|
+
* Server-approved parameters for one outbound browser call.
|
|
10250
|
+
*/
|
|
10251
|
+
export interface PhoneCallResponse_browserCallApproval extends BrowserCallApproval, Parsable {
|
|
10252
|
+
}
|
|
10175
10253
|
export type PhoneCallResponse_selectionReason = (typeof PhoneCallResponse_selectionReasonObject)[keyof typeof PhoneCallResponse_selectionReasonObject];
|
|
10176
10254
|
export type PhoneCallStatus = (typeof PhoneCallStatusObject)[keyof typeof PhoneCallStatusObject];
|
|
10177
10255
|
/**
|
|
@@ -11539,6 +11617,13 @@ export declare function serializeBlogArticleResponse(writer: SerializationWriter
|
|
|
11539
11617
|
* @param writer Serialization writer to use to serialize this model
|
|
11540
11618
|
*/
|
|
11541
11619
|
export declare function serializeBlogSocialPost(writer: SerializationWriter, blogSocialPost?: Partial<BlogSocialPost> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
11620
|
+
/**
|
|
11621
|
+
* Serializes information the current object
|
|
11622
|
+
* @param BrowserCallApproval The instance to serialize from.
|
|
11623
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
11624
|
+
* @param writer Serialization writer to use to serialize this model
|
|
11625
|
+
*/
|
|
11626
|
+
export declare function serializeBrowserCallApproval(writer: SerializationWriter, browserCallApproval?: Partial<BrowserCallApproval> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
11542
11627
|
/**
|
|
11543
11628
|
* Serializes information the current object
|
|
11544
11629
|
* @param CallEventTableRow The instance to serialize from.
|
|
@@ -12589,6 +12674,13 @@ export declare function serializePhone(writer: SerializationWriter, phone?: Part
|
|
|
12589
12674
|
* @param writer Serialization writer to use to serialize this model
|
|
12590
12675
|
*/
|
|
12591
12676
|
export declare function serializePhoneCallResponse(writer: SerializationWriter, phoneCallResponse?: Partial<PhoneCallResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
12677
|
+
/**
|
|
12678
|
+
* Serializes information the current object
|
|
12679
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
12680
|
+
* @param PhoneCallResponse_browserCallApproval The instance to serialize from.
|
|
12681
|
+
* @param writer Serialization writer to use to serialize this model
|
|
12682
|
+
*/
|
|
12683
|
+
export declare function serializePhoneCallResponse_browserCallApproval(writer: SerializationWriter, phoneCallResponse_browserCallApproval?: Partial<PhoneCallResponse_browserCallApproval> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
12592
12684
|
/**
|
|
12593
12685
|
* Serializes information the current object
|
|
12594
12686
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -14500,6 +14592,10 @@ export interface TelephonyLoginRequest extends AdditionalDataHolder, Parsable {
|
|
|
14500
14592
|
* Provides a compact API reference to another resource using its stable identifier and human-readable display name.
|
|
14501
14593
|
*/
|
|
14502
14594
|
device?: TelephonyLoginRequest_device | null;
|
|
14595
|
+
/**
|
|
14596
|
+
* Includes credentials for receiving calls to the authenticated organization.
|
|
14597
|
+
*/
|
|
14598
|
+
includeIncoming?: boolean | null;
|
|
14503
14599
|
}
|
|
14504
14600
|
/**
|
|
14505
14601
|
* Provides a compact API reference to another resource using its stable identifier and human-readable display name.
|
|
@@ -14518,6 +14614,14 @@ export interface TelephonyLoginResponse extends AdditionalDataHolder, Parsable {
|
|
|
14518
14614
|
* UTC timestamp for expires at on this telephony login.
|
|
14519
14615
|
*/
|
|
14520
14616
|
expiresAt?: Date | null;
|
|
14617
|
+
/**
|
|
14618
|
+
* Password for the organization's incoming SIP connection, when requested and configured.
|
|
14619
|
+
*/
|
|
14620
|
+
incomingPassword?: string | null;
|
|
14621
|
+
/**
|
|
14622
|
+
* Username for the organization's incoming SIP connection, when requested and configured.
|
|
14623
|
+
*/
|
|
14624
|
+
incomingUsername?: string | null;
|
|
14521
14625
|
/**
|
|
14522
14626
|
* Password for this telephony login.
|
|
14523
14627
|
*/
|