@leadping/sdk 1.0.15 → 1.0.16
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/businesses/apiKeys/my/index.d.ts +2 -2
- package/dist/phoneCall/initiate/index.d.ts +2 -2
- package/dist/phoneCall/item/hangup/index.d.ts +2 -2
- package/dist/phoneCall/item/status/index.d.ts +2 -2
- package/dist/phoneCall/item/transfer/index.d.ts +3 -3
- package/dist/suppressions/check/index.d.ts +2 -2
- package/dist/suppressions/index.d.ts +2 -2
- package/dist/suppressions/release/index.d.ts +2 -2
- package/dist/telephony/login/index.d.ts +2 -2
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
5
5
|
*/
|
|
6
6
|
export interface MyRequestBuilder extends BaseRequestBuilder<MyRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Retrieves a paged list of API keys owned by the caller's current Leadping business, with support for filtering, sorting, and pagination.
|
|
9
9
|
* @param body Options for flexible, efficient, and explicit querying in Cosmos DB or similar repositories.
|
|
10
10
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
11
11
|
* @returns {Promise<PagedResultOfBusinessTableRow>}
|
|
@@ -14,7 +14,7 @@ export interface MyRequestBuilder extends BaseRequestBuilder<MyRequestBuilder> {
|
|
|
14
14
|
*/
|
|
15
15
|
post(body: RequestDataOptions, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PagedResultOfBusinessTableRow | undefined>;
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Retrieves a paged list of API keys owned by the caller's current Leadping business, with support for filtering, sorting, and pagination.
|
|
18
18
|
* @param body Options for flexible, efficient, and explicit querying in Cosmos DB or similar repositories.
|
|
19
19
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
20
20
|
* @returns {RequestInformation}
|
|
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
5
5
|
*/
|
|
6
6
|
export interface InitiateRequestBuilder extends BaseRequestBuilder<InitiateRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Starts an outbound Leadping phone call for an authenticated user and returns the provider call identifiers, status, and routing details.
|
|
9
9
|
* @param body Request schema for the Leadping API phone call initiation request, including the fields clients can send.
|
|
10
10
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
11
11
|
* @returns {Promise<PhoneCallResponse>}
|
|
@@ -14,7 +14,7 @@ export interface InitiateRequestBuilder extends BaseRequestBuilder<InitiateReque
|
|
|
14
14
|
*/
|
|
15
15
|
post(body: InitiateCallRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PhoneCallResponse | undefined>;
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Starts an outbound Leadping phone call for an authenticated user and returns the provider call identifiers, status, and routing details.
|
|
18
18
|
* @param body Request schema for the Leadping API phone call initiation request, including the fields clients can send.
|
|
19
19
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
20
20
|
* @returns {RequestInformation}
|
|
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
5
5
|
*/
|
|
6
6
|
export interface HangupRequestBuilder extends BaseRequestBuilder<HangupRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Ends an active Leadping phone call by call ID and returns the updated call record, including status and provider routing details.
|
|
9
9
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
10
|
* @returns {Promise<PhoneCallResponse>}
|
|
11
11
|
* @throws {ProblemDetails} error when the service returns a 400 status code
|
|
@@ -14,7 +14,7 @@ export interface HangupRequestBuilder extends BaseRequestBuilder<HangupRequestBu
|
|
|
14
14
|
*/
|
|
15
15
|
post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PhoneCallResponse | undefined>;
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Ends an active Leadping phone call by call ID and returns the updated call record, including status and provider routing details.
|
|
18
18
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
19
19
|
* @returns {RequestInformation}
|
|
20
20
|
*/
|
|
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
5
5
|
*/
|
|
6
6
|
export interface StatusRequestBuilder extends BaseRequestBuilder<StatusRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Retrieves the latest status for a Leadping phone call by call ID, including provider state and call details for tracking progress.
|
|
9
9
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
10
|
* @returns {Promise<PhoneCallResponse>}
|
|
11
11
|
* @throws {ProblemDetails} error when the service returns a 400 status code
|
|
@@ -13,7 +13,7 @@ export interface StatusRequestBuilder extends BaseRequestBuilder<StatusRequestBu
|
|
|
13
13
|
*/
|
|
14
14
|
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PhoneCallResponse | undefined>;
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* Retrieves the latest status for a Leadping phone call by call ID, including provider state and call details for tracking progress.
|
|
17
17
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
18
18
|
* @returns {RequestInformation}
|
|
19
19
|
*/
|
|
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
5
5
|
*/
|
|
6
6
|
export interface TransferRequestBuilder extends BaseRequestBuilder<TransferRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Transfers an active Leadping phone call to a new phone number and returns the updated call record with status and routing details.
|
|
9
9
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
10
|
* @returns {Promise<PhoneCallResponse>}
|
|
11
11
|
* @throws {ProblemDetails} error when the service returns a 400 status code
|
|
@@ -14,14 +14,14 @@ export interface TransferRequestBuilder extends BaseRequestBuilder<TransferReque
|
|
|
14
14
|
*/
|
|
15
15
|
post(requestConfiguration?: RequestConfiguration<TransferRequestBuilderPostQueryParameters> | undefined): Promise<PhoneCallResponse | undefined>;
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Transfers an active Leadping phone call to a new phone number and returns the updated call record with status and routing details.
|
|
18
18
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
19
19
|
* @returns {RequestInformation}
|
|
20
20
|
*/
|
|
21
21
|
toPostRequestInformation(requestConfiguration?: RequestConfiguration<TransferRequestBuilderPostQueryParameters> | undefined): RequestInformation;
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
* Transfers an active Leadping phone call to a new phone number and returns the updated call record with status and routing details.
|
|
25
25
|
*/
|
|
26
26
|
export interface TransferRequestBuilderPostQueryParameters {
|
|
27
27
|
/**
|
|
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
5
5
|
*/
|
|
6
6
|
export interface CheckRequestBuilder extends BaseRequestBuilder<CheckRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Checks whether a recipient is blocked by an active Leadping suppression entry before sending messages or placing calls through the selected channel.
|
|
9
9
|
* @param body Request payload for suppression entry.
|
|
10
10
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
11
11
|
* @returns {Promise<SuppressionCheckResult>}
|
|
@@ -14,7 +14,7 @@ export interface CheckRequestBuilder extends BaseRequestBuilder<CheckRequestBuil
|
|
|
14
14
|
*/
|
|
15
15
|
post(body: SuppressionEntryRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SuppressionCheckResult | undefined>;
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Checks whether a recipient is blocked by an active Leadping suppression entry before sending messages or placing calls through the selected channel.
|
|
18
18
|
* @param body Request payload for suppression entry.
|
|
19
19
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
20
20
|
* @returns {RequestInformation}
|
|
@@ -15,7 +15,7 @@ export interface SuppressionsRequestBuilder extends BaseRequestBuilder<Suppressi
|
|
|
15
15
|
*/
|
|
16
16
|
get release(): ReleaseRequestBuilder;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Creates or reactivates a Leadping suppression entry that blocks future outreach to a recipient across the selected communication channel.
|
|
19
19
|
* @param body Request payload for suppression entry.
|
|
20
20
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
21
21
|
* @returns {Promise<SuppressionEntryResponse>}
|
|
@@ -24,7 +24,7 @@ export interface SuppressionsRequestBuilder extends BaseRequestBuilder<Suppressi
|
|
|
24
24
|
*/
|
|
25
25
|
post(body: SuppressionEntryRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SuppressionEntryResponse | undefined>;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* Creates or reactivates a Leadping suppression entry that blocks future outreach to a recipient across the selected communication channel.
|
|
28
28
|
* @param body Request payload for suppression entry.
|
|
29
29
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
30
30
|
* @returns {RequestInformation}
|
|
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
5
5
|
*/
|
|
6
6
|
export interface ReleaseRequestBuilder extends BaseRequestBuilder<ReleaseRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Releases an active Leadping suppression entry so a recipient can be contacted again, returning the updated suppression record when available.
|
|
9
9
|
* @param body Request payload for suppression entry.
|
|
10
10
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
11
11
|
* @returns {Promise<SuppressionEntryResponse>}
|
|
@@ -14,7 +14,7 @@ export interface ReleaseRequestBuilder extends BaseRequestBuilder<ReleaseRequest
|
|
|
14
14
|
*/
|
|
15
15
|
post(body: SuppressionEntryRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SuppressionEntryResponse | undefined>;
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Releases an active Leadping suppression entry so a recipient can be contacted again, returning the updated suppression record when available.
|
|
18
18
|
* @param body Request payload for suppression entry.
|
|
19
19
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
20
20
|
* @returns {RequestInformation}
|
|
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
5
5
|
*/
|
|
6
6
|
export interface LoginRequestBuilder extends BaseRequestBuilder<LoginRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Generates a Leadping WebRTC login token so authenticated agents can connect to telephony services and place or receive browser-based calls.
|
|
9
9
|
* @param body Request model for telephony login token generation.
|
|
10
10
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
11
11
|
* @returns {Promise<TelephonyLoginResponse>}
|
|
@@ -14,7 +14,7 @@ export interface LoginRequestBuilder extends BaseRequestBuilder<LoginRequestBuil
|
|
|
14
14
|
*/
|
|
15
15
|
post(body: TelephonyLoginRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<TelephonyLoginResponse | undefined>;
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Generates a Leadping WebRTC login token so authenticated agents can connect to telephony services and place or receive browser-based calls.
|
|
18
18
|
* @param body Request model for telephony login token generation.
|
|
19
19
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
20
20
|
* @returns {RequestInformation}
|
package/package.json
CHANGED