@leadping/sdk 1.0.128 → 1.0.130
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/appointments/bookedTimes/index.d.ts +3 -3
- package/dist/appointments/index.d.ts +5 -5
- package/dist/appointments/item/cancel/index.d.ts +2 -2
- package/dist/appointments/item/complete/index.d.ts +2 -2
- package/dist/appointments/item/dismiss/index.d.ts +2 -2
- package/dist/appointments/item/index.d.ts +4 -4
- package/dist/appointments/item/snooze/index.d.ts +2 -2
- package/dist/automations/index.d.ts +5 -0
- package/dist/automations/index.d.ts.map +1 -1
- package/dist/automations/index.js +5 -0
- package/dist/automations/index.js.map +1 -1
- package/dist/automations/item/index.d.ts +10 -0
- package/dist/automations/item/index.d.ts.map +1 -1
- package/dist/automations/item/index.js +10 -0
- package/dist/automations/item/index.js.map +1 -1
- package/dist/automations/item/leads/index.d.ts +22 -0
- package/dist/automations/item/leads/index.d.ts.map +1 -0
- package/dist/automations/item/leads/index.js +21 -0
- package/dist/automations/item/leads/index.js.map +1 -0
- package/dist/automations/item/leads/item/index.d.ts +20 -0
- package/dist/automations/item/leads/item/index.d.ts.map +1 -0
- package/dist/automations/item/leads/item/index.js +20 -0
- package/dist/automations/item/leads/item/index.js.map +1 -0
- package/dist/automations/item/leads/item/run/index.d.ts +22 -0
- package/dist/automations/item/leads/item/run/index.d.ts.map +1 -0
- package/dist/automations/item/leads/item/run/index.js +21 -0
- package/dist/automations/item/leads/item/run/index.js.map +1 -0
- package/dist/automations/item/leads/item/run/item/index.d.ts +31 -0
- package/dist/automations/item/leads/item/run/item/index.d.ts.map +1 -0
- package/dist/automations/item/leads/item/run/item/index.js +28 -0
- package/dist/automations/item/leads/item/run/item/index.js.map +1 -0
- package/dist/automations/item/runForAudience/index.d.ts +33 -0
- package/dist/automations/item/runForAudience/index.d.ts.map +1 -0
- package/dist/automations/item/runForAudience/index.js +31 -0
- package/dist/automations/item/runForAudience/index.js.map +1 -0
- package/dist/automations/leadAudience/index.d.ts +31 -0
- package/dist/automations/leadAudience/index.d.ts.map +1 -0
- package/dist/automations/leadAudience/index.js +28 -0
- package/dist/automations/leadAudience/index.js.map +1 -0
- package/dist/conversations/item/retry/index.d.ts +2 -2
- package/dist/events/conversations/item/notes/item/index.d.ts +2 -2
- package/dist/invitations/decline/index.d.ts +2 -2
- package/dist/invitations/index.d.ts +3 -3
- package/dist/invitations/item/accept/index.d.ts +2 -2
- package/dist/invitations/item/decline/index.d.ts +2 -2
- package/dist/leads/item/phoneLookup/index.d.ts +2 -2
- package/dist/messageTemplates/index.d.ts +4 -4
- package/dist/messageTemplates/item/index.d.ts +4 -4
- package/dist/models/index.d.ts +109 -1
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +94 -0
- package/dist/models/index.js.map +1 -1
- package/dist/organizations/apiKeys/item/index.d.ts +2 -2
- package/dist/organizations/me/leadAssignees/index.d.ts +2 -2
- package/dist/outbound/item/capacity/index.d.ts +2 -2
- package/dist/phoneCall/dial/item/index.d.ts +2 -2
- package/dist/phoneCall/next/item/index.d.ts +3 -3
- package/dist/telephony/availability/index.d.ts +2 -2
- package/dist/wallets/me/spendLimits/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 ApiKeysItemRequestBuilder extends BaseRequestBuilder<ApiKeysItemRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Delete an organization-owned Leadping API key while keeping the organization intact. The request requires organization ownership or platform admin access.
|
|
9
9
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
10
|
* @returns {Promise<OrganizationApiKeyRevokeResponse>}
|
|
11
11
|
* @throws {ProblemDetails} error when the service returns a 400 status code
|
|
@@ -44,7 +44,7 @@ export interface ApiKeysItemRequestBuilder extends BaseRequestBuilder<ApiKeysIte
|
|
|
44
44
|
*/
|
|
45
45
|
post(body: OrganizationApiKeyRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<OrganizationApiKeyIssueResponse | undefined>;
|
|
46
46
|
/**
|
|
47
|
-
*
|
|
47
|
+
* Delete an organization-owned Leadping API key while keeping the organization intact. The request requires organization ownership or platform admin access.
|
|
48
48
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
49
49
|
* @returns {RequestInformation}
|
|
50
50
|
*/
|
|
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
5
5
|
*/
|
|
6
6
|
export interface LeadAssigneesRequestBuilder extends BaseRequestBuilder<LeadAssigneesRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Retrieve active users in the current Leadping organization for a lead assignee filter. Each user appears once, and results are ordered by name.
|
|
9
9
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
10
|
* @returns {Promise<IdNamePair[]>}
|
|
11
11
|
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
@@ -16,7 +16,7 @@ export interface LeadAssigneesRequestBuilder extends BaseRequestBuilder<LeadAssi
|
|
|
16
16
|
*/
|
|
17
17
|
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<IdNamePair[] | undefined>;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Retrieve active users in the current Leadping organization for a lead assignee filter. Each user appears once, and results are ordered by name.
|
|
20
20
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
21
21
|
* @returns {RequestInformation}
|
|
22
22
|
*/
|
|
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
5
5
|
*/
|
|
6
6
|
export interface CapacityRequestBuilder extends BaseRequestBuilder<CapacityRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Check outbound sending capacity for a phone number in your Leadping organization, including current throttling and eligibility for delivery.
|
|
9
9
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
10
|
* @returns {Promise<OutboundPhoneNumberCapacity>}
|
|
11
11
|
* @throws {ProblemDetails} error when the service returns a 400 status code
|
|
@@ -17,7 +17,7 @@ export interface CapacityRequestBuilder extends BaseRequestBuilder<CapacityReque
|
|
|
17
17
|
*/
|
|
18
18
|
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<OutboundPhoneNumberCapacity | undefined>;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Check outbound sending capacity for a phone number in your Leadping organization, including current throttling and eligibility for delivery.
|
|
21
21
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
22
|
* @returns {RequestInformation}
|
|
23
23
|
*/
|
|
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
5
5
|
*/
|
|
6
6
|
export interface WithRequestItemRequestBuilder extends BaseRequestBuilder<WithRequestItemRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Place a call with the Leadping browser phone. For a new number, confirm permission for manual voice contact so Leadping can create the lead.
|
|
9
9
|
* @param body Requests a manual browser call to a number entered by the agent.
|
|
10
10
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
11
11
|
* @returns {Promise<PhoneCallResponse>}
|
|
@@ -15,7 +15,7 @@ export interface WithRequestItemRequestBuilder extends BaseRequestBuilder<WithRe
|
|
|
15
15
|
*/
|
|
16
16
|
post(body: ManualDialRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PhoneCallResponse | undefined>;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Place a call with the Leadping browser phone. For a new number, confirm permission for manual voice contact so Leadping can create the lead.
|
|
19
19
|
* @param body Requests a manual browser call to a number entered by the agent.
|
|
20
20
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
21
21
|
* @returns {RequestInformation}
|
|
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
5
5
|
*/
|
|
6
6
|
export interface WithRequestItemRequestBuilder extends BaseRequestBuilder<WithRequestItemRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Start the next eligible call from a rep’s Leadping inbox. Supply the inbox filters so the next call comes from the leads in the rep’s current view.
|
|
9
9
|
* @param body Defines cursor pagination, sorting, search, exact-match filters, and range filters for a structured API query.
|
|
10
10
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
11
11
|
* @returns {Promise<ArrayBuffer>}
|
|
@@ -15,7 +15,7 @@ export interface WithRequestItemRequestBuilder extends BaseRequestBuilder<WithRe
|
|
|
15
15
|
*/
|
|
16
16
|
post(body: RequestDataOptions, requestConfiguration?: RequestConfiguration<WithRequestItemRequestBuilderPostQueryParameters> | undefined): Promise<ArrayBuffer | undefined>;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Start the next eligible call from a rep’s Leadping inbox. Supply the inbox filters so the next call comes from the leads in the rep’s current view.
|
|
19
19
|
* @param body Defines cursor pagination, sorting, search, exact-match filters, and range filters for a structured API query.
|
|
20
20
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
21
21
|
* @returns {RequestInformation}
|
|
@@ -23,7 +23,7 @@ export interface WithRequestItemRequestBuilder extends BaseRequestBuilder<WithRe
|
|
|
23
23
|
toPostRequestInformation(body: RequestDataOptions, requestConfiguration?: RequestConfiguration<WithRequestItemRequestBuilderPostQueryParameters> | undefined): RequestInformation;
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* Start the next eligible call from a rep’s Leadping inbox. Supply the inbox filters so the next call comes from the leads in the rep’s current view.
|
|
27
27
|
*/
|
|
28
28
|
export interface WithRequestItemRequestBuilderPostQueryParameters {
|
|
29
29
|
texting?: boolean;
|
|
@@ -11,7 +11,7 @@ export interface AvailabilityRequestBuilder extends BaseRequestBuilder<Availabil
|
|
|
11
11
|
*/
|
|
12
12
|
byDeviceId(deviceId: string): WithDeviceItemRequestBuilder;
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Check whether the signed-in Leadping user can receive an incoming call right now. Use the result to show their current availability in a calling workflow.
|
|
15
15
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
16
|
* @returns {Promise<boolean>}
|
|
17
17
|
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
@@ -22,7 +22,7 @@ export interface AvailabilityRequestBuilder extends BaseRequestBuilder<Availabil
|
|
|
22
22
|
*/
|
|
23
23
|
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<boolean | undefined>;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Check whether the signed-in Leadping user can receive an incoming call right now. Use the result to show their current availability in a calling workflow.
|
|
26
26
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
27
27
|
* @returns {RequestInformation}
|
|
28
28
|
*/
|
|
@@ -16,7 +16,7 @@ export interface SpendLimitsRequestBuilder extends BaseRequestBuilder<SpendLimit
|
|
|
16
16
|
*/
|
|
17
17
|
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SpendLimitsResponse | undefined>;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Set daily and monthly usage budgets in USD for your Leadping organization. Use null to remove a limit or zero to stop new paid usage.
|
|
20
20
|
* @param body Organization usage budgets in USD. Null removes a limit; zero stops new paid usage.
|
|
21
21
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
22
|
* @returns {Promise<SpendLimitsResponse>}
|
|
@@ -36,7 +36,7 @@ export interface SpendLimitsRequestBuilder extends BaseRequestBuilder<SpendLimit
|
|
|
36
36
|
*/
|
|
37
37
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
39
|
+
* Set daily and monthly usage budgets in USD for your Leadping organization. Use null to remove a limit or zero to stop new paid usage.
|
|
40
40
|
* @param body Organization usage budgets in USD. Null removes a limit; zero stops new paid usage.
|
|
41
41
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
42
42
|
* @returns {RequestInformation}
|
package/package.json
CHANGED