@leadping/sdk 1.0.88 → 1.0.89

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.
@@ -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 browser phone to the server-controlled destination call.
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,6 +10132,10 @@ 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
  */
@@ -10172,6 +10237,11 @@ export interface PhoneCallResponse extends AdditionalDataHolder, Parsable {
10172
10237
  */
10173
10238
  wasManuallyOverridden?: boolean | null;
10174
10239
  }
10240
+ /**
10241
+ * Server-approved parameters for one outbound browser call.
10242
+ */
10243
+ export interface PhoneCallResponse_browserCallApproval extends BrowserCallApproval, Parsable {
10244
+ }
10175
10245
  export type PhoneCallResponse_selectionReason = (typeof PhoneCallResponse_selectionReasonObject)[keyof typeof PhoneCallResponse_selectionReasonObject];
10176
10246
  export type PhoneCallStatus = (typeof PhoneCallStatusObject)[keyof typeof PhoneCallStatusObject];
10177
10247
  /**
@@ -11539,6 +11609,13 @@ export declare function serializeBlogArticleResponse(writer: SerializationWriter
11539
11609
  * @param writer Serialization writer to use to serialize this model
11540
11610
  */
11541
11611
  export declare function serializeBlogSocialPost(writer: SerializationWriter, blogSocialPost?: Partial<BlogSocialPost> | undefined | null, isSerializingDerivedType?: boolean): void;
11612
+ /**
11613
+ * Serializes information the current object
11614
+ * @param BrowserCallApproval The instance to serialize from.
11615
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
11616
+ * @param writer Serialization writer to use to serialize this model
11617
+ */
11618
+ export declare function serializeBrowserCallApproval(writer: SerializationWriter, browserCallApproval?: Partial<BrowserCallApproval> | undefined | null, isSerializingDerivedType?: boolean): void;
11542
11619
  /**
11543
11620
  * Serializes information the current object
11544
11621
  * @param CallEventTableRow The instance to serialize from.
@@ -12589,6 +12666,13 @@ export declare function serializePhone(writer: SerializationWriter, phone?: Part
12589
12666
  * @param writer Serialization writer to use to serialize this model
12590
12667
  */
12591
12668
  export declare function serializePhoneCallResponse(writer: SerializationWriter, phoneCallResponse?: Partial<PhoneCallResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
12669
+ /**
12670
+ * Serializes information the current object
12671
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
12672
+ * @param PhoneCallResponse_browserCallApproval The instance to serialize from.
12673
+ * @param writer Serialization writer to use to serialize this model
12674
+ */
12675
+ export declare function serializePhoneCallResponse_browserCallApproval(writer: SerializationWriter, phoneCallResponse_browserCallApproval?: Partial<PhoneCallResponse_browserCallApproval> | undefined | null, isSerializingDerivedType?: boolean): void;
12592
12676
  /**
12593
12677
  * Serializes information the current object
12594
12678
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.