@leadping/sdk 1.0.129 → 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/item/leads/item/run/item/index.d.ts +2 -2
- package/dist/automations/item/runForAudience/index.d.ts +2 -2
- package/dist/automations/leadAudience/index.d.ts +2 -2
- 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/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
|
@@ -4,7 +4,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
4
4
|
*/
|
|
5
5
|
export interface BookedTimesRequestBuilder extends BaseRequestBuilder<BookedTimesRequestBuilder> {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Look up appointment times already booked for a lead’s selected assignee in Leadping before choosing a time for a new or rescheduled callback.
|
|
8
8
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
9
|
* @returns {Promise<ArrayBuffer>}
|
|
10
10
|
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
@@ -13,14 +13,14 @@ export interface BookedTimesRequestBuilder extends BaseRequestBuilder<BookedTime
|
|
|
13
13
|
*/
|
|
14
14
|
get(requestConfiguration?: RequestConfiguration<BookedTimesRequestBuilderGetQueryParameters> | undefined): Promise<ArrayBuffer | undefined>;
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* Look up appointment times already booked for a lead’s selected assignee in Leadping before choosing a time for a new or rescheduled callback.
|
|
17
17
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
18
18
|
* @returns {RequestInformation}
|
|
19
19
|
*/
|
|
20
20
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<BookedTimesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* Look up appointment times already booked for a lead’s selected assignee in Leadping before choosing a time for a new or rescheduled callback.
|
|
24
24
|
*/
|
|
25
25
|
export interface BookedTimesRequestBuilderGetQueryParameters {
|
|
26
26
|
appointmentId?: string;
|
|
@@ -17,7 +17,7 @@ export interface AppointmentsRequestBuilder extends BaseRequestBuilder<Appointme
|
|
|
17
17
|
*/
|
|
18
18
|
byId(id: string): AppointmentsItemRequestBuilder;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* List callback appointments the signed-in user can access in Leadping. Filter by lead, reminder, or appointment status to narrow the results.
|
|
21
21
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
22
|
* @returns {Promise<AppointmentResponse[]>}
|
|
23
23
|
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
@@ -26,7 +26,7 @@ export interface AppointmentsRequestBuilder extends BaseRequestBuilder<Appointme
|
|
|
26
26
|
*/
|
|
27
27
|
get(requestConfiguration?: RequestConfiguration<AppointmentsRequestBuilderGetQueryParameters> | undefined): Promise<AppointmentResponse[] | undefined>;
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* Schedule a callback for a lead through the Leadping API. Set the appointment time, assign the agent responsible for the call, and configure its reminder.
|
|
30
30
|
* @param body Creates or reschedules an agent's callback appointment.
|
|
31
31
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
32
32
|
* @returns {Promise<AppointmentResponse>}
|
|
@@ -36,13 +36,13 @@ export interface AppointmentsRequestBuilder extends BaseRequestBuilder<Appointme
|
|
|
36
36
|
*/
|
|
37
37
|
post(body: AppointmentRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AppointmentResponse | undefined>;
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
39
|
+
* List callback appointments the signed-in user can access in Leadping. Filter by lead, reminder, or appointment status to narrow the results.
|
|
40
40
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
41
41
|
* @returns {RequestInformation}
|
|
42
42
|
*/
|
|
43
43
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<AppointmentsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
44
44
|
/**
|
|
45
|
-
*
|
|
45
|
+
* Schedule a callback for a lead through the Leadping API. Set the appointment time, assign the agent responsible for the call, and configure its reminder.
|
|
46
46
|
* @param body Creates or reschedules an agent's callback appointment.
|
|
47
47
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
48
48
|
* @returns {RequestInformation}
|
|
@@ -50,7 +50,7 @@ export interface AppointmentsRequestBuilder extends BaseRequestBuilder<Appointme
|
|
|
50
50
|
toPostRequestInformation(body: AppointmentRequest, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
51
51
|
}
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
53
|
+
* List callback appointments the signed-in user can access in Leadping. Filter by lead, reminder, or appointment status to narrow the results.
|
|
54
54
|
*/
|
|
55
55
|
export interface AppointmentsRequestBuilderGetQueryParameters {
|
|
56
56
|
/**
|
|
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
5
5
|
*/
|
|
6
6
|
export interface CancelRequestBuilder extends BaseRequestBuilder<CancelRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Cancel a Leadping callback appointment and invalidate reminders that have yet to be sent. Include the expected revision to detect concurrent changes.
|
|
9
9
|
* @param body Protects appointment actions against concurrent edits.
|
|
10
10
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
11
11
|
* @returns {Promise<AppointmentResponse>}
|
|
@@ -16,7 +16,7 @@ export interface CancelRequestBuilder extends BaseRequestBuilder<CancelRequestBu
|
|
|
16
16
|
*/
|
|
17
17
|
post(body: AppointmentActionRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AppointmentResponse | undefined>;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Cancel a Leadping callback appointment and invalidate reminders that have yet to be sent. Include the expected revision to detect concurrent changes.
|
|
20
20
|
* @param body Protects appointment actions against concurrent edits.
|
|
21
21
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
22
|
* @returns {RequestInformation}
|
|
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
5
5
|
*/
|
|
6
6
|
export interface CompleteRequestBuilder extends BaseRequestBuilder<CompleteRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Mark a callback appointment as completed in Leadping. Supply the expected revision so the API can detect another user’s changes before recording completion.
|
|
9
9
|
* @param body Protects appointment actions against concurrent edits.
|
|
10
10
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
11
11
|
* @returns {Promise<AppointmentResponse>}
|
|
@@ -16,7 +16,7 @@ export interface CompleteRequestBuilder extends BaseRequestBuilder<CompleteReque
|
|
|
16
16
|
*/
|
|
17
17
|
post(body: AppointmentActionRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AppointmentResponse | undefined>;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Mark a callback appointment as completed in Leadping. Supply the expected revision so the API can detect another user’s changes before recording completion.
|
|
20
20
|
* @param body Protects appointment actions against concurrent edits.
|
|
21
21
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
22
|
* @returns {RequestInformation}
|
|
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
5
5
|
*/
|
|
6
6
|
export interface DismissRequestBuilder extends BaseRequestBuilder<DismissRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Dismiss a callback reminder in Leadping while leaving the appointment open. Include the expected revision to apply the change to the reminder you reviewed.
|
|
9
9
|
* @param body Protects appointment actions against concurrent edits.
|
|
10
10
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
11
11
|
* @returns {Promise<AppointmentResponse>}
|
|
@@ -16,7 +16,7 @@ export interface DismissRequestBuilder extends BaseRequestBuilder<DismissRequest
|
|
|
16
16
|
*/
|
|
17
17
|
post(body: AppointmentActionRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AppointmentResponse | undefined>;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Dismiss a callback reminder in Leadping while leaving the appointment open. Include the expected revision to apply the change to the reminder you reviewed.
|
|
20
20
|
* @param body Protects appointment actions against concurrent edits.
|
|
21
21
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
22
|
* @returns {RequestInformation}
|
|
@@ -25,7 +25,7 @@ export interface AppointmentsItemRequestBuilder extends BaseRequestBuilder<Appoi
|
|
|
25
25
|
*/
|
|
26
26
|
get snooze(): SnoozeRequestBuilder;
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* Retrieve a callback appointment and its history by ID in Leadping. The signed-in user must have access to the associated lead and organization.
|
|
29
29
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
30
30
|
* @returns {Promise<AppointmentResponse>}
|
|
31
31
|
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
@@ -34,7 +34,7 @@ export interface AppointmentsItemRequestBuilder extends BaseRequestBuilder<Appoi
|
|
|
34
34
|
*/
|
|
35
35
|
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AppointmentResponse | undefined>;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* Edit an existing callback appointment in Leadping. Include the revision you last retrieved so the API can detect changes made since you viewed it.
|
|
38
38
|
* @param body Creates or reschedules an agent's callback appointment.
|
|
39
39
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
40
40
|
* @returns {Promise<AppointmentResponse>}
|
|
@@ -44,13 +44,13 @@ export interface AppointmentsItemRequestBuilder extends BaseRequestBuilder<Appoi
|
|
|
44
44
|
*/
|
|
45
45
|
put(body: AppointmentRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AppointmentResponse | undefined>;
|
|
46
46
|
/**
|
|
47
|
-
*
|
|
47
|
+
* Retrieve a callback appointment and its history by ID in Leadping. The signed-in user must have access to the associated lead and organization.
|
|
48
48
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
49
49
|
* @returns {RequestInformation}
|
|
50
50
|
*/
|
|
51
51
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
53
|
+
* Edit an existing callback appointment in Leadping. Include the revision you last retrieved so the API can detect changes made since you viewed it.
|
|
54
54
|
* @param body Creates or reschedules an agent's callback appointment.
|
|
55
55
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
56
56
|
* @returns {RequestInformation}
|
|
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
5
5
|
*/
|
|
6
6
|
export interface SnoozeRequestBuilder extends BaseRequestBuilder<SnoozeRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Delay a Leadping appointment reminder by ten minutes while keeping the callback time unchanged. Send the expected revision to detect conflicting updates.
|
|
9
9
|
* @param body Protects appointment actions against concurrent edits.
|
|
10
10
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
11
11
|
* @returns {Promise<AppointmentResponse>}
|
|
@@ -16,7 +16,7 @@ export interface SnoozeRequestBuilder extends BaseRequestBuilder<SnoozeRequestBu
|
|
|
16
16
|
*/
|
|
17
17
|
post(body: AppointmentActionRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AppointmentResponse | undefined>;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Delay a Leadping appointment reminder by ten minutes while keeping the callback time unchanged. Send the expected revision to detect conflicting updates.
|
|
20
20
|
* @param body Protects appointment actions against concurrent edits.
|
|
21
21
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
22
|
* @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
|
+
* Queue a manual automation for a specific lead in Leadping. Reuse the same request ID if you retry so the retry refers to the original run.
|
|
9
9
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
10
|
* @returns {Promise<AutomationRunRecord>}
|
|
11
11
|
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
@@ -14,7 +14,7 @@ export interface WithRequestItemRequestBuilder extends BaseRequestBuilder<WithRe
|
|
|
14
14
|
*/
|
|
15
15
|
post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AutomationRunRecord | undefined>;
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Queue a manual automation for a specific lead in Leadping. Reuse the same request ID if you retry so the retry refers to the original run.
|
|
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 RunForAudienceRequestBuilder extends BaseRequestBuilder<RunForAudienceRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Queue a Leadping automation for a group of leads in one request. The bulk run uses the lead audience the current user is authorized to select.
|
|
9
9
|
* @param body Runs an automation for a server-resolved audience, omitting leads the user unchecked.
|
|
10
10
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
11
11
|
* @returns {Promise<boolean>}
|
|
@@ -15,7 +15,7 @@ export interface RunForAudienceRequestBuilder extends BaseRequestBuilder<RunForA
|
|
|
15
15
|
*/
|
|
16
16
|
post(body: AutomationAudienceRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<boolean | undefined>;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Queue a Leadping automation for a group of leads in one request. The bulk run uses the lead audience the current user is authorized to select.
|
|
19
19
|
* @param body Runs an automation for a server-resolved audience, omitting leads the user unchecked.
|
|
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 LeadAudienceRequestBuilder extends BaseRequestBuilder<LeadAudienceRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Check how many active leads the signed-in user can select across the organization before queuing a bulk automation run in Leadping.
|
|
9
9
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
10
|
* @returns {Promise<AutomationLeadAudience>}
|
|
11
11
|
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
@@ -14,7 +14,7 @@ export interface LeadAudienceRequestBuilder extends BaseRequestBuilder<LeadAudie
|
|
|
14
14
|
*/
|
|
15
15
|
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AutomationLeadAudience | undefined>;
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Check how many active leads the signed-in user can select across the organization before queuing a bulk automation run in Leadping.
|
|
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 RetryRequestBuilder extends BaseRequestBuilder<RetryRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Set the next manual call time for a Leadping conversation. The update applies only if the retry time still matches the one you last saw.
|
|
9
9
|
* @param body The request body
|
|
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 RetryRequestBuilder extends BaseRequestBuilder<RetryRequestBuil
|
|
|
15
15
|
*/
|
|
16
16
|
post(body: CallRetryRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Set the next manual call time for a Leadping conversation. The update applies only if the retry time still matches the one you last saw.
|
|
19
19
|
* @param body The request body
|
|
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 WithEventItemRequestBuilder extends BaseRequestBuilder<WithEventItemRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Edit an internal note you authored in Leadping. Submit the revised note text and use the returned event row to display the updated entry in the timeline.
|
|
9
9
|
* @param body Defines the input used for create note.
|
|
10
10
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
11
11
|
* @returns {Promise<EventTableRow>}
|
|
@@ -17,7 +17,7 @@ export interface WithEventItemRequestBuilder extends BaseRequestBuilder<WithEven
|
|
|
17
17
|
*/
|
|
18
18
|
put(body: CreateNoteRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<EventTableRow | undefined>;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Edit an internal note you authored in Leadping. Submit the revised note text and use the returned event row to display the updated entry in the timeline.
|
|
21
21
|
* @param body Defines the input used for create note.
|
|
22
22
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
23
23
|
* @returns {RequestInformation}
|
|
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
5
5
|
*/
|
|
6
6
|
export interface DeclineRequestBuilder extends BaseRequestBuilder<DeclineRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
* Decline
|
|
8
|
+
* Decline a Leadping organization invitation without signing in. Submit the token from the invitation link to identify the invite you want to decline.
|
|
9
9
|
* @param body Supplies the secret invitation token from the recipient’s email link.
|
|
10
10
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
11
11
|
* @returns {Promise<ArrayBuffer>}
|
|
@@ -13,7 +13,7 @@ export interface DeclineRequestBuilder extends BaseRequestBuilder<DeclineRequest
|
|
|
13
13
|
*/
|
|
14
14
|
post(body: OrganizationInvitationTokenRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
|
|
15
15
|
/**
|
|
16
|
-
* Decline
|
|
16
|
+
* Decline a Leadping organization invitation without signing in. Submit the token from the invitation link to identify the invite you want to decline.
|
|
17
17
|
* @param body Supplies the secret invitation token from the recipient’s email link.
|
|
18
18
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
19
19
|
* @returns {RequestInformation}
|
|
@@ -17,7 +17,7 @@ export interface InvitationsRequestBuilder extends BaseRequestBuilder<Invitation
|
|
|
17
17
|
*/
|
|
18
18
|
byId(id: string): InvitationsItemRequestBuilder;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* List open, unexpired organization invitations for the signed-in recipient’s verified email address, or use an invitation token to look up one invite.
|
|
21
21
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
22
|
* @returns {Promise<OrganizationInvitationTableRow[]>}
|
|
23
23
|
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
@@ -26,14 +26,14 @@ export interface InvitationsRequestBuilder extends BaseRequestBuilder<Invitation
|
|
|
26
26
|
*/
|
|
27
27
|
get(requestConfiguration?: RequestConfiguration<InvitationsRequestBuilderGetQueryParameters> | undefined): Promise<OrganizationInvitationTableRow[] | undefined>;
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* List open, unexpired organization invitations for the signed-in recipient’s verified email address, or use an invitation token to look up one invite.
|
|
30
30
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
31
31
|
* @returns {RequestInformation}
|
|
32
32
|
*/
|
|
33
33
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<InvitationsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
34
34
|
}
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* List open, unexpired organization invitations for the signed-in recipient’s verified email address, or use an invitation token to look up one invite.
|
|
37
37
|
*/
|
|
38
38
|
export interface InvitationsRequestBuilderGetQueryParameters {
|
|
39
39
|
token?: string;
|
|
@@ -4,7 +4,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
4
4
|
*/
|
|
5
5
|
export interface AcceptRequestBuilder extends BaseRequestBuilder<AcceptRequestBuilder> {
|
|
6
6
|
/**
|
|
7
|
-
* Accept
|
|
7
|
+
* Accept a pending organization invitation in Leadping. Sign in as the invited recipient and submit the invitation ID to join the organization.
|
|
8
8
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
9
|
* @returns {Promise<ArrayBuffer>}
|
|
10
10
|
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
@@ -13,7 +13,7 @@ export interface AcceptRequestBuilder extends BaseRequestBuilder<AcceptRequestBu
|
|
|
13
13
|
*/
|
|
14
14
|
post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
|
|
15
15
|
/**
|
|
16
|
-
* Accept
|
|
16
|
+
* Accept a pending organization invitation in Leadping. Sign in as the invited recipient and submit the invitation ID to join the organization.
|
|
17
17
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
18
18
|
* @returns {RequestInformation}
|
|
19
19
|
*/
|
|
@@ -4,7 +4,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
4
4
|
*/
|
|
5
5
|
export interface DeclineRequestBuilder extends BaseRequestBuilder<DeclineRequestBuilder> {
|
|
6
6
|
/**
|
|
7
|
-
* Decline
|
|
7
|
+
* Decline a pending Leadping organization invitation by ID while signed in as the recipient. Use this endpoint to turn down the invitation to join.
|
|
8
8
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
9
|
* @returns {Promise<ArrayBuffer>}
|
|
10
10
|
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
@@ -13,7 +13,7 @@ export interface DeclineRequestBuilder extends BaseRequestBuilder<DeclineRequest
|
|
|
13
13
|
*/
|
|
14
14
|
post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
|
|
15
15
|
/**
|
|
16
|
-
* Decline
|
|
16
|
+
* Decline a pending Leadping organization invitation by ID while signed in as the recipient. Use this endpoint to turn down the invitation to join.
|
|
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 PhoneLookupRequestBuilder extends BaseRequestBuilder<PhoneLookupRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Queue a new, billable phone identity lookup for a lead you can access. The API returns the lead once the request is accepted and runs the lookup asynchronously.
|
|
9
9
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
10
|
* @returns {Promise<LeadResponse>}
|
|
11
11
|
* @throws {ProblemDetails} error when the service returns a 400 status code
|
|
@@ -17,7 +17,7 @@ export interface PhoneLookupRequestBuilder extends BaseRequestBuilder<PhoneLooku
|
|
|
17
17
|
*/
|
|
18
18
|
post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<LeadResponse | undefined>;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Queue a new, billable phone identity lookup for a lead you can access. The API returns the lead once the request is accepted and runs the lookup asynchronously.
|
|
21
21
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
22
|
* @returns {RequestInformation}
|
|
23
23
|
*/
|
|
@@ -12,7 +12,7 @@ export interface MessageTemplatesRequestBuilder extends BaseRequestBuilder<Messa
|
|
|
12
12
|
*/
|
|
13
13
|
byId(id: string): MessageTemplatesItemRequestBuilder;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Retrieve your organization’s Leadping message templates in one request. The list includes enabled templates as well as templates that are currently disabled.
|
|
16
16
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
17
17
|
* @returns {Promise<MessageTemplate[]>}
|
|
18
18
|
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
@@ -21,7 +21,7 @@ export interface MessageTemplatesRequestBuilder extends BaseRequestBuilder<Messa
|
|
|
21
21
|
*/
|
|
22
22
|
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<MessageTemplate[] | undefined>;
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
* Create a reusable message template for your Leadping organization. New templates start disabled, so you can review the message before enabling it.
|
|
25
25
|
* @param body The editable fields of an organization message template.
|
|
26
26
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
27
27
|
* @returns {Promise<MessageTemplate>}
|
|
@@ -31,13 +31,13 @@ export interface MessageTemplatesRequestBuilder extends BaseRequestBuilder<Messa
|
|
|
31
31
|
*/
|
|
32
32
|
post(body: MessageTemplateRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<MessageTemplate | undefined>;
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
34
|
+
* Retrieve your organization’s Leadping message templates in one request. The list includes enabled templates as well as templates that are currently disabled.
|
|
35
35
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
36
36
|
* @returns {RequestInformation}
|
|
37
37
|
*/
|
|
38
38
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
40
|
+
* Create a reusable message template for your Leadping organization. New templates start disabled, so you can review the message before enabling it.
|
|
41
41
|
* @param body The editable fields of an organization message template.
|
|
42
42
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
43
43
|
* @returns {RequestInformation}
|
|
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
5
5
|
*/
|
|
6
6
|
export interface MessageTemplatesItemRequestBuilder extends BaseRequestBuilder<MessageTemplatesItemRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
* Permanently
|
|
8
|
+
* Permanently remove a message template from your Leadping organization by ID. To keep the template for later use, disable it with the update endpoint.
|
|
9
9
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
10
|
* @returns {Promise<boolean>}
|
|
11
11
|
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
@@ -14,7 +14,7 @@ export interface MessageTemplatesItemRequestBuilder extends BaseRequestBuilder<M
|
|
|
14
14
|
*/
|
|
15
15
|
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<boolean | undefined>;
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Update a Leadping message template by ID. Change its name or message text, or enable or disable the template for use in your organization.
|
|
18
18
|
* @param body The editable fields of an organization message template.
|
|
19
19
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
20
20
|
* @returns {Promise<MessageTemplate>}
|
|
@@ -24,13 +24,13 @@ export interface MessageTemplatesItemRequestBuilder extends BaseRequestBuilder<M
|
|
|
24
24
|
*/
|
|
25
25
|
put(body: MessageTemplateRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<MessageTemplate | undefined>;
|
|
26
26
|
/**
|
|
27
|
-
* Permanently
|
|
27
|
+
* Permanently remove a message template from your Leadping organization by ID. To keep the template for later use, disable it with the update endpoint.
|
|
28
28
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
29
29
|
* @returns {RequestInformation}
|
|
30
30
|
*/
|
|
31
31
|
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* Update a Leadping message template by ID. Change its name or message text, or enable or disable the template for use in your organization.
|
|
34
34
|
* @param body The editable fields of an organization message template.
|
|
35
35
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
36
36
|
* @returns {RequestInformation}
|
|
@@ -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