@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
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createProblemDetailsFromDiscriminatorValue, serializeAutomationAudienceRequest } from '../../../models/index.js';
|
|
6
|
+
/**
|
|
7
|
+
* Uri template for the request builder.
|
|
8
|
+
*/
|
|
9
|
+
export const RunForAudienceRequestBuilderUriTemplate = "{+baseurl}/automations/{id}/run-for-audience";
|
|
10
|
+
/**
|
|
11
|
+
* Metadata for all the requests in the request builder.
|
|
12
|
+
*/
|
|
13
|
+
export const RunForAudienceRequestBuilderRequestsMetadata = {
|
|
14
|
+
post: {
|
|
15
|
+
uriTemplate: RunForAudienceRequestBuilderUriTemplate,
|
|
16
|
+
responseBodyContentType: "text/plain;q=0.9",
|
|
17
|
+
errorMappings: {
|
|
18
|
+
401: createProblemDetailsFromDiscriminatorValue,
|
|
19
|
+
403: createProblemDetailsFromDiscriminatorValue,
|
|
20
|
+
429: createProblemDetailsFromDiscriminatorValue,
|
|
21
|
+
},
|
|
22
|
+
adapterMethodName: "sendPrimitive",
|
|
23
|
+
responseBodyFactory: "boolean",
|
|
24
|
+
requestBodyContentType: "application/json",
|
|
25
|
+
requestBodySerializer: serializeAutomationAudienceRequest,
|
|
26
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
27
|
+
},
|
|
28
|
+
};
|
|
29
|
+
/* tslint:enable */
|
|
30
|
+
/* eslint-enable */
|
|
31
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../automations/item/runForAudience/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAE,kCAAkC,EAAuD,MAAM,0BAA0B,CAAC;AA0B/K;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAG,8CAA8C,CAAC;AACtG;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAAqB;IAC1E,IAAI,EAAE;QACF,WAAW,EAAE,uCAAuC;QACpD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,eAAe;QAClC,mBAAmB,EAAG,SAAS;QAC/B,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,kCAAkC;QACzD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { type AutomationLeadAudience } from '../../models/index.js';
|
|
2
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Builds and executes requests for operations under /automations/lead-audience
|
|
5
|
+
*/
|
|
6
|
+
export interface LeadAudienceRequestBuilder extends BaseRequestBuilder<LeadAudienceRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Check how many active leads the signed-in user can select across the organization before queuing a bulk automation run in Leadping.
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
* @returns {Promise<AutomationLeadAudience>}
|
|
11
|
+
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
12
|
+
* @throws {ProblemDetails} error when the service returns a 403 status code
|
|
13
|
+
* @throws {ProblemDetails} error when the service returns a 429 status code
|
|
14
|
+
*/
|
|
15
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AutomationLeadAudience | undefined>;
|
|
16
|
+
/**
|
|
17
|
+
* Check how many active leads the signed-in user can select across the organization before queuing a bulk automation run in Leadping.
|
|
18
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
19
|
+
* @returns {RequestInformation}
|
|
20
|
+
*/
|
|
21
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Uri template for the request builder.
|
|
25
|
+
*/
|
|
26
|
+
export declare const LeadAudienceRequestBuilderUriTemplate = "{+baseurl}/automations/lead-audience";
|
|
27
|
+
/**
|
|
28
|
+
* Metadata for all the requests in the request builder.
|
|
29
|
+
*/
|
|
30
|
+
export declare const LeadAudienceRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
31
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../automations/leadAudience/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAkG,KAAK,sBAAsB,EAAuB,MAAM,uBAAuB,CAAC;AAEzL,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,0BAA2B,SAAQ,kBAAkB,CAAC,0BAA0B,CAAC;IAC9F;;;;;;;OAOG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,sBAAsB,GAAG,SAAS,CAAC,CAAC;IACpH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClH;AACD;;GAEG;AACH,eAAO,MAAM,qCAAqC,yCAAyC,CAAC;AAC5F;;GAEG;AACH,eAAO,MAAM,0CAA0C,EAAE,gBAYxD,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createAutomationLeadAudienceFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue } from '../../models/index.js';
|
|
6
|
+
/**
|
|
7
|
+
* Uri template for the request builder.
|
|
8
|
+
*/
|
|
9
|
+
export const LeadAudienceRequestBuilderUriTemplate = "{+baseurl}/automations/lead-audience";
|
|
10
|
+
/**
|
|
11
|
+
* Metadata for all the requests in the request builder.
|
|
12
|
+
*/
|
|
13
|
+
export const LeadAudienceRequestBuilderRequestsMetadata = {
|
|
14
|
+
get: {
|
|
15
|
+
uriTemplate: LeadAudienceRequestBuilderUriTemplate,
|
|
16
|
+
responseBodyContentType: "text/plain;q=0.9",
|
|
17
|
+
errorMappings: {
|
|
18
|
+
401: createProblemDetailsFromDiscriminatorValue,
|
|
19
|
+
403: createProblemDetailsFromDiscriminatorValue,
|
|
20
|
+
429: createProblemDetailsFromDiscriminatorValue,
|
|
21
|
+
},
|
|
22
|
+
adapterMethodName: "send",
|
|
23
|
+
responseBodyFactory: createAutomationLeadAudienceFromDiscriminatorValue,
|
|
24
|
+
},
|
|
25
|
+
};
|
|
26
|
+
/* tslint:enable */
|
|
27
|
+
/* eslint-enable */
|
|
28
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../automations/leadAudience/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,kDAAkD,EAAE,0CAA0C,EAAoD,MAAM,uBAAuB,CAAC;AAwBzL;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAG,sCAAsC,CAAC;AAC5F;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAqB;IACxE,GAAG,EAAE;QACD,WAAW,EAAE,qCAAqC;QAClD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,kDAAkD;KAC3E;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -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}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type AdditionalDataHolder, type ApiError, type DateOnly, type Parsable, type ParseNode, type SerializationWriter, type TimeOnly, type UntypedNode } from '@microsoft/kiota-abstractions';
|
|
1
|
+
import { type AdditionalDataHolder, type ApiError, type DateOnly, type Guid, type Parsable, type ParseNode, type SerializationWriter, type TimeOnly, type UntypedNode } from '@microsoft/kiota-abstractions';
|
|
2
2
|
/**
|
|
3
3
|
* Describes activation domain option data used in Leadping API requests and responses.
|
|
4
4
|
*/
|
|
@@ -485,6 +485,23 @@ export interface AutomationActionRunRecord extends AdditionalDataHolder, Parsabl
|
|
|
485
485
|
*/
|
|
486
486
|
export interface AutomationActionRunRecord_smsDelivery extends AutomationSmsDeliveryRecord, Parsable {
|
|
487
487
|
}
|
|
488
|
+
/**
|
|
489
|
+
* Runs an automation for a server-resolved audience, omitting leads the user unchecked.
|
|
490
|
+
*/
|
|
491
|
+
export interface AutomationAudienceRequest extends AdditionalDataHolder, Parsable {
|
|
492
|
+
/**
|
|
493
|
+
* Active leads in the current organization, optionally limited to one assignee, as of the selection time.
|
|
494
|
+
*/
|
|
495
|
+
audience?: AutomationLeadAudience | null;
|
|
496
|
+
/**
|
|
497
|
+
* The excludedLeadIds property
|
|
498
|
+
*/
|
|
499
|
+
excludedLeadIds?: string[] | null;
|
|
500
|
+
/**
|
|
501
|
+
* The requestId property
|
|
502
|
+
*/
|
|
503
|
+
requestId?: Guid | null;
|
|
504
|
+
}
|
|
488
505
|
/**
|
|
489
506
|
* Public Leadping API schema for automation condition data.
|
|
490
507
|
*/
|
|
@@ -566,6 +583,31 @@ export interface AutomationConsoleResponse extends AdditionalDataHolder, Parsabl
|
|
|
566
583
|
*/
|
|
567
584
|
runs?: AutomationWorkflowRunResponse[] | null;
|
|
568
585
|
}
|
|
586
|
+
/**
|
|
587
|
+
* Active leads in the current organization, optionally limited to one assignee, as of the selection time.
|
|
588
|
+
*/
|
|
589
|
+
export interface AutomationLeadAudience extends AdditionalDataHolder, Parsable {
|
|
590
|
+
/**
|
|
591
|
+
* The assignedToUserId property
|
|
592
|
+
*/
|
|
593
|
+
assignedToUserId?: string | null;
|
|
594
|
+
/**
|
|
595
|
+
* The count property
|
|
596
|
+
*/
|
|
597
|
+
count?: number | null;
|
|
598
|
+
/**
|
|
599
|
+
* The includeDemo property
|
|
600
|
+
*/
|
|
601
|
+
includeDemo?: boolean | null;
|
|
602
|
+
/**
|
|
603
|
+
* The organizationId property
|
|
604
|
+
*/
|
|
605
|
+
organizationId?: string | null;
|
|
606
|
+
/**
|
|
607
|
+
* The selectedAt property
|
|
608
|
+
*/
|
|
609
|
+
selectedAt?: Date | null;
|
|
610
|
+
}
|
|
569
611
|
/**
|
|
570
612
|
* Persisted origin of an automation run and the events produced by its actions.
|
|
571
613
|
*/
|
|
@@ -1030,6 +1072,10 @@ export interface AutomationTableRow extends AdditionalDataHolder, Parsable {
|
|
|
1030
1072
|
* Human-readable summary of the automation action outcome.
|
|
1031
1073
|
*/
|
|
1032
1074
|
actionSummary?: string | null;
|
|
1075
|
+
/**
|
|
1076
|
+
* Whether the current user can start this automation for a selected inbox lead.
|
|
1077
|
+
*/
|
|
1078
|
+
canRunForLead?: boolean | null;
|
|
1033
1079
|
/**
|
|
1034
1080
|
* Human-readable summary of the automation condition evaluation.
|
|
1035
1081
|
*/
|
|
@@ -1857,6 +1903,10 @@ export interface ConversationResponse extends AdditionalDataHolder, Parsable {
|
|
|
1857
1903
|
* Defines why a lead was removed from the active working pipeline.
|
|
1858
1904
|
*/
|
|
1859
1905
|
archiveReason?: number | null;
|
|
1906
|
+
/**
|
|
1907
|
+
* The lead assignee used for inbox audience selection.
|
|
1908
|
+
*/
|
|
1909
|
+
assignedToUserId?: string | null;
|
|
1860
1910
|
/**
|
|
1861
1911
|
* Optional profile image URL explicitly associated with the lead.
|
|
1862
1912
|
*/
|
|
@@ -1945,6 +1995,14 @@ export interface ConversationResponse extends AdditionalDataHolder, Parsable {
|
|
|
1945
1995
|
* Timestamp of the conversation activity shown in LastSnippet.
|
|
1946
1996
|
*/
|
|
1947
1997
|
lastSnippetAt?: Date | null;
|
|
1998
|
+
/**
|
|
1999
|
+
* When the associated lead was created.
|
|
2000
|
+
*/
|
|
2001
|
+
leadCreatedAt?: Date | null;
|
|
2002
|
+
/**
|
|
2003
|
+
* Whether the associated lead is enabled for selection.
|
|
2004
|
+
*/
|
|
2005
|
+
leadEnabled?: boolean | null;
|
|
1948
2006
|
/**
|
|
1949
2007
|
* Lead ID associated with this inbox conversation.
|
|
1950
2008
|
*/
|
|
@@ -2108,6 +2166,12 @@ export declare function createAutomationActionRunRecord_smsDeliveryFromDiscrimin
|
|
|
2108
2166
|
* @returns {AutomationActionRunRecord}
|
|
2109
2167
|
*/
|
|
2110
2168
|
export declare function createAutomationActionRunRecordFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
2169
|
+
/**
|
|
2170
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
2171
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
2172
|
+
* @returns {AutomationAudienceRequest}
|
|
2173
|
+
*/
|
|
2174
|
+
export declare function createAutomationAudienceRequestFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
2111
2175
|
/**
|
|
2112
2176
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
2113
2177
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -2138,6 +2202,12 @@ export declare function createAutomationConnectionFromDiscriminatorValue(parseNo
|
|
|
2138
2202
|
* @returns {AutomationConsoleResponse}
|
|
2139
2203
|
*/
|
|
2140
2204
|
export declare function createAutomationConsoleResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
2205
|
+
/**
|
|
2206
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
2207
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
2208
|
+
* @returns {AutomationLeadAudience}
|
|
2209
|
+
*/
|
|
2210
|
+
export declare function createAutomationLeadAudienceFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
2141
2211
|
/**
|
|
2142
2212
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
2143
2213
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -4767,6 +4837,12 @@ export declare function deserializeIntoAutomationActionRunRecord(automationActio
|
|
|
4767
4837
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
4768
4838
|
*/
|
|
4769
4839
|
export declare function deserializeIntoAutomationActionRunRecord_smsDelivery(automationActionRunRecord_smsDelivery?: Partial<AutomationActionRunRecord_smsDelivery> | undefined): Record<string, (node: ParseNode) => void>;
|
|
4840
|
+
/**
|
|
4841
|
+
* The deserialization information for the current model
|
|
4842
|
+
* @param AutomationAudienceRequest The instance to deserialize into.
|
|
4843
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
4844
|
+
*/
|
|
4845
|
+
export declare function deserializeIntoAutomationAudienceRequest(automationAudienceRequest?: Partial<AutomationAudienceRequest> | undefined): Record<string, (node: ParseNode) => void>;
|
|
4770
4846
|
/**
|
|
4771
4847
|
* The deserialization information for the current model
|
|
4772
4848
|
* @param AutomationCondition The instance to deserialize into.
|
|
@@ -4797,6 +4873,12 @@ export declare function deserializeIntoAutomationConnection(automationConnection
|
|
|
4797
4873
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
4798
4874
|
*/
|
|
4799
4875
|
export declare function deserializeIntoAutomationConsoleResponse(automationConsoleResponse?: Partial<AutomationConsoleResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
4876
|
+
/**
|
|
4877
|
+
* The deserialization information for the current model
|
|
4878
|
+
* @param AutomationLeadAudience The instance to deserialize into.
|
|
4879
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
4880
|
+
*/
|
|
4881
|
+
export declare function deserializeIntoAutomationLeadAudience(automationLeadAudience?: Partial<AutomationLeadAudience> | undefined): Record<string, (node: ParseNode) => void>;
|
|
4800
4882
|
/**
|
|
4801
4883
|
* The deserialization information for the current model
|
|
4802
4884
|
* @param AutomationLineage The instance to deserialize into.
|
|
@@ -12237,6 +12319,13 @@ export declare function serializeAutomationActionRunRecord(writer: Serialization
|
|
|
12237
12319
|
* @param writer Serialization writer to use to serialize this model
|
|
12238
12320
|
*/
|
|
12239
12321
|
export declare function serializeAutomationActionRunRecord_smsDelivery(writer: SerializationWriter, automationActionRunRecord_smsDelivery?: Partial<AutomationActionRunRecord_smsDelivery> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
12322
|
+
/**
|
|
12323
|
+
* Serializes information the current object
|
|
12324
|
+
* @param AutomationAudienceRequest The instance to serialize from.
|
|
12325
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
12326
|
+
* @param writer Serialization writer to use to serialize this model
|
|
12327
|
+
*/
|
|
12328
|
+
export declare function serializeAutomationAudienceRequest(writer: SerializationWriter, automationAudienceRequest?: Partial<AutomationAudienceRequest> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
12240
12329
|
/**
|
|
12241
12330
|
* Serializes information the current object
|
|
12242
12331
|
* @param AutomationCondition The instance to serialize from.
|
|
@@ -12272,6 +12361,13 @@ export declare function serializeAutomationConnection(writer: SerializationWrite
|
|
|
12272
12361
|
* @param writer Serialization writer to use to serialize this model
|
|
12273
12362
|
*/
|
|
12274
12363
|
export declare function serializeAutomationConsoleResponse(writer: SerializationWriter, automationConsoleResponse?: Partial<AutomationConsoleResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
12364
|
+
/**
|
|
12365
|
+
* Serializes information the current object
|
|
12366
|
+
* @param AutomationLeadAudience The instance to serialize from.
|
|
12367
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
12368
|
+
* @param writer Serialization writer to use to serialize this model
|
|
12369
|
+
*/
|
|
12370
|
+
export declare function serializeAutomationLeadAudience(writer: SerializationWriter, automationLeadAudience?: Partial<AutomationLeadAudience> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
12275
12371
|
/**
|
|
12276
12372
|
* Serializes information the current object
|
|
12277
12373
|
* @param AutomationLineage The instance to serialize from.
|
|
@@ -14880,6 +14976,10 @@ export interface SourceRequest extends AdditionalDataHolder, Parsable {
|
|
|
14880
14976
|
* Human-readable source name.
|
|
14881
14977
|
*/
|
|
14882
14978
|
name?: string | null;
|
|
14979
|
+
/**
|
|
14980
|
+
* Whether to normalize capitalization in incoming lead names and cities.
|
|
14981
|
+
*/
|
|
14982
|
+
normalizeIncomingData?: boolean | null;
|
|
14883
14983
|
/**
|
|
14884
14984
|
* Indicates whether leads from this source must include a TrustedForm or Leadping Consent certificate for consent proof.
|
|
14885
14985
|
*/
|
|
@@ -14973,6 +15073,10 @@ export interface SourceResponse extends AdditionalDataHolder, Parsable {
|
|
|
14973
15073
|
* Human-readable display name of the resource.
|
|
14974
15074
|
*/
|
|
14975
15075
|
name?: string | null;
|
|
15076
|
+
/**
|
|
15077
|
+
* Whether to normalize capitalization in incoming lead names and cities.
|
|
15078
|
+
*/
|
|
15079
|
+
normalizeIncomingData?: boolean | null;
|
|
14976
15080
|
/**
|
|
14977
15081
|
* Provides a compact API reference to another resource using its stable identifier and human-readable display name.
|
|
14978
15082
|
*/
|
|
@@ -15094,6 +15198,10 @@ export interface SourceTableRow extends AdditionalDataHolder, Parsable {
|
|
|
15094
15198
|
* Display name for this lead source table row in the Leadping API.
|
|
15095
15199
|
*/
|
|
15096
15200
|
name?: string | null;
|
|
15201
|
+
/**
|
|
15202
|
+
* Whether to normalize capitalization in incoming lead names and cities.
|
|
15203
|
+
*/
|
|
15204
|
+
normalizeIncomingData?: boolean | null;
|
|
15097
15205
|
/**
|
|
15098
15206
|
* Provides a compact API reference to another resource using its stable identifier and human-readable display name.
|
|
15099
15207
|
*/
|