@leadping/sdk 1.0.56 → 1.0.58
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/a2a/index.d.ts +2 -2
- package/dist/analytics/index.d.ts.map +1 -1
- package/dist/analytics/index.js +2 -1
- package/dist/analytics/index.js.map +1 -1
- package/dist/analytics/my/exportEscaped/index.d.ts +47 -0
- package/dist/analytics/my/exportEscaped/index.d.ts.map +1 -0
- package/dist/analytics/my/exportEscaped/index.js +28 -0
- package/dist/analytics/my/exportEscaped/index.js.map +1 -0
- package/dist/analytics/my/index.d.ts +10 -1
- package/dist/analytics/my/index.d.ts.map +1 -1
- package/dist/analytics/my/index.js +10 -0
- package/dist/analytics/my/index.js.map +1 -1
- package/dist/automations/preview/index.d.ts +3 -3
- package/dist/blog/index.d.ts +2 -2
- package/dist/leadStatusChanges/item/index.d.ts +2 -2
- package/dist/leads/item/archive/index.d.ts +2 -2
- package/dist/leads/item/index.d.ts +2 -2
- package/dist/models/index.d.ts +335 -9
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +262 -2
- package/dist/models/index.js.map +1 -1
- package/dist/sms/index.d.ts +5 -5
- package/dist/sms/index.d.ts.map +1 -1
- package/dist/sms/index.js +5 -5
- package/dist/sms/index.js.map +1 -1
- package/dist/sms/item/cancel/index.d.ts +2 -2
- package/dist/sms/{media → uploads}/index.d.ts +4 -4
- package/dist/sms/uploads/index.d.ts.map +1 -0
- package/dist/sms/{media → uploads}/index.js +3 -3
- package/dist/sms/uploads/index.js.map +1 -0
- package/dist/users/me/notificationPreferences/index.d.ts +2 -2
- package/package.json +1 -1
- package/dist/sms/media/index.d.ts.map +0 -1
- package/dist/sms/media/index.js.map +0 -1
package/dist/a2a/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
4
4
|
*/
|
|
5
5
|
export interface A2aRequestBuilder extends BaseRequestBuilder<A2aRequestBuilder> {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Send authenticated A2A JSON-RPC requests to Leadping through the API to access supported agent operations and integrate them into your agent workflows.
|
|
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 A2aRequestBuilder extends BaseRequestBuilder<A2aRequestBuilder>
|
|
|
13
13
|
*/
|
|
14
14
|
post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* Send authenticated A2A JSON-RPC requests to Leadping through the API to access supported agent operations and integrate them into your agent workflows.
|
|
17
17
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
18
18
|
* @returns {RequestInformation}
|
|
19
19
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../analytics/index.ts"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../analytics/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAwE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAE5H,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAE1I;;GAEG;AACH,MAAM,WAAW,uBAAwB,SAAQ,kBAAkB,CAAC,uBAAuB,CAAC;IACxF;;OAEG;IACH,IAAI,EAAE,IAAI,gBAAgB,CAAC;CAC9B;AACD;;GAEG;AACH,eAAO,MAAM,kCAAkC,yBAAyB,CAAC;AACzE;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,uBAAuB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAK5J,CAAC"}
|
package/dist/analytics/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
// Generated by Microsoft Kiota
|
|
4
4
|
// @ts-ignore
|
|
5
|
-
import { MyRequestBuilderRequestsMetadata } from './my/index.js';
|
|
5
|
+
import { MyRequestBuilderNavigationMetadata, MyRequestBuilderRequestsMetadata } from './my/index.js';
|
|
6
6
|
/**
|
|
7
7
|
* Uri template for the request builder.
|
|
8
8
|
*/
|
|
@@ -13,6 +13,7 @@ export const AnalyticsRequestBuilderUriTemplate = "{+baseurl}/analytics";
|
|
|
13
13
|
export const AnalyticsRequestBuilderNavigationMetadata = {
|
|
14
14
|
my: {
|
|
15
15
|
requestsMetadata: MyRequestBuilderRequestsMetadata,
|
|
16
|
+
navigationMetadata: MyRequestBuilderNavigationMetadata,
|
|
16
17
|
},
|
|
17
18
|
};
|
|
18
19
|
/* tslint:enable */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../analytics/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,gCAAgC,EAAyB,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../analytics/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,kCAAkC,EAAE,gCAAgC,EAAyB,MAAM,eAAe,CAAC;AAa5H;;GAEG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAAG,sBAAsB,CAAC;AACzE;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAA2G;IAC7J,EAAE,EAAE;QACA,gBAAgB,EAAE,gCAAgC;QAClD,kBAAkB,EAAE,kCAAkC;KACzD;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
2
|
+
/**
|
|
3
|
+
* Builds and executes requests for operations under /analytics/my/export
|
|
4
|
+
*/
|
|
5
|
+
export interface ExportRequestBuilder extends BaseRequestBuilder<ExportRequestBuilder> {
|
|
6
|
+
/**
|
|
7
|
+
* Downloads the current organization's analytics as a CSV file, using the same cohort, timestamps, and metric definitions as the analytics charts.
|
|
8
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
+
* @returns {Promise<ArrayBuffer>}
|
|
10
|
+
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
11
|
+
* @throws {ProblemDetails} error when the service returns a 403 status code
|
|
12
|
+
* @throws {ProblemDetails} error when the service returns a 429 status code
|
|
13
|
+
*/
|
|
14
|
+
get(requestConfiguration?: RequestConfiguration<ExportRequestBuilderGetQueryParameters> | undefined): Promise<ArrayBuffer | undefined>;
|
|
15
|
+
/**
|
|
16
|
+
* Downloads the current organization's analytics as a CSV file, using the same cohort, timestamps, and metric definitions as the analytics charts.
|
|
17
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
18
|
+
* @returns {RequestInformation}
|
|
19
|
+
*/
|
|
20
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ExportRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Downloads the current organization's analytics as a CSV file, using the same cohort, timestamps, and metric definitions as the analytics charts.
|
|
24
|
+
*/
|
|
25
|
+
export interface ExportRequestBuilderGetQueryParameters {
|
|
26
|
+
/**
|
|
27
|
+
* Optional number of days before endAt to include when startAt is not supplied. Defaults to 30 and is limited to 1 through 365.
|
|
28
|
+
*/
|
|
29
|
+
days?: number;
|
|
30
|
+
/**
|
|
31
|
+
* Optional exclusive end timestamp for the analytics period. Defaults to the current UTC time.
|
|
32
|
+
*/
|
|
33
|
+
endAt?: Date;
|
|
34
|
+
/**
|
|
35
|
+
* Optional inclusive start timestamp for the analytics period.
|
|
36
|
+
*/
|
|
37
|
+
startAt?: Date;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Uri template for the request builder.
|
|
41
|
+
*/
|
|
42
|
+
export declare const ExportRequestBuilderUriTemplate = "{+baseurl}/analytics/my/export{?days*,endAt*,startAt*}";
|
|
43
|
+
/**
|
|
44
|
+
* Metadata for all the requests in the request builder.
|
|
45
|
+
*/
|
|
46
|
+
export declare const ExportRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
47
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../analytics/my/exportEscaped/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,kBAAkB,CAAC,oBAAoB,CAAC;IAClF;;;;;;;OAOG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,sCAAsC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IACzI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,sCAAsC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClJ;AACD;;GAEG;AACH,MAAM,WAAW,sCAAsC;IACnD;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,CAAC,EAAE,IAAI,CAAC;IACb;;OAEG;IACH,OAAO,CAAC,EAAE,IAAI,CAAC;CAClB;AACD;;GAEG;AACH,eAAO,MAAM,+BAA+B,2DAA2D,CAAC;AACxG;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,gBAYlD,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createProblemDetailsFromDiscriminatorValue } from '../../../models/index.js';
|
|
6
|
+
/**
|
|
7
|
+
* Uri template for the request builder.
|
|
8
|
+
*/
|
|
9
|
+
export const ExportRequestBuilderUriTemplate = "{+baseurl}/analytics/my/export{?days*,endAt*,startAt*}";
|
|
10
|
+
/**
|
|
11
|
+
* Metadata for all the requests in the request builder.
|
|
12
|
+
*/
|
|
13
|
+
export const ExportRequestBuilderRequestsMetadata = {
|
|
14
|
+
get: {
|
|
15
|
+
uriTemplate: ExportRequestBuilderUriTemplate,
|
|
16
|
+
responseBodyContentType: "text/csv, application/problem+json",
|
|
17
|
+
errorMappings: {
|
|
18
|
+
401: createProblemDetailsFromDiscriminatorValue,
|
|
19
|
+
403: createProblemDetailsFromDiscriminatorValue,
|
|
20
|
+
429: createProblemDetailsFromDiscriminatorValue,
|
|
21
|
+
},
|
|
22
|
+
adapterMethodName: "sendPrimitive",
|
|
23
|
+
responseBodyFactory: "ArrayBuffer",
|
|
24
|
+
},
|
|
25
|
+
};
|
|
26
|
+
/* tslint:enable */
|
|
27
|
+
/* eslint-enable */
|
|
28
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../analytics/my/exportEscaped/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAuB,MAAM,0BAA0B,CAAC;AAyC3G;;GAEG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG,wDAAwD,CAAC;AACxG;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAqB;IAClE,GAAG,EAAE;QACD,WAAW,EAAE,+BAA+B;QAC5C,uBAAuB,EAAE,oCAAoC;QAC7D,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,eAAe;QAClC,mBAAmB,EAAG,aAAa;KACtC;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import { type CustomerAnalyticsResponse } from '../../models/index.js';
|
|
2
|
-
import { type
|
|
2
|
+
import { type ExportRequestBuilder } from './exportEscaped/index.js';
|
|
3
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
4
|
/**
|
|
4
5
|
* Builds and executes requests for operations under /analytics/my
|
|
5
6
|
*/
|
|
6
7
|
export interface MyRequestBuilder extends BaseRequestBuilder<MyRequestBuilder> {
|
|
8
|
+
/**
|
|
9
|
+
* The export property
|
|
10
|
+
*/
|
|
11
|
+
get exportEscaped(): ExportRequestBuilder;
|
|
7
12
|
/**
|
|
8
13
|
* Returns current-organization analytics for lead communication, including event volume, response metrics, and date-range filtering.
|
|
9
14
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
@@ -42,6 +47,10 @@ export interface MyRequestBuilderGetQueryParameters {
|
|
|
42
47
|
* Uri template for the request builder.
|
|
43
48
|
*/
|
|
44
49
|
export declare const MyRequestBuilderUriTemplate = "{+baseurl}/analytics/my{?days*,endAt*,startAt*}";
|
|
50
|
+
/**
|
|
51
|
+
* Metadata for all the navigation properties in the request builder.
|
|
52
|
+
*/
|
|
53
|
+
export declare const MyRequestBuilderNavigationMetadata: Record<Exclude<keyof MyRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
45
54
|
/**
|
|
46
55
|
* Metadata for all the requests in the request builder.
|
|
47
56
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../analytics/my/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAqG,KAAK,yBAAyB,EAAuB,MAAM,uBAAuB,CAAC;AAE/L,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../analytics/my/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAqG,KAAK,yBAAyB,EAAuB,MAAM,uBAAuB,CAAC;AAE/L,OAAO,EAAwC,KAAK,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAE3G,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,gBAAiB,SAAQ,kBAAkB,CAAC,gBAAgB,CAAC;IAC1E;;OAEG;IACH,IAAI,aAAa,IAAI,oBAAoB,CAAC;IAC1C;;;;;;;;OAQG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,kCAAkC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,yBAAyB,GAAG,SAAS,CAAC,CAAC;IACnJ;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,kCAAkC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC9I;AACD;;GAEG;AACH,MAAM,WAAW,kCAAkC;IAC/C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,CAAC,EAAE,IAAI,CAAC;IACb;;OAEG;IACH,OAAO,CAAC,EAAE,IAAI,CAAC;CAClB;AACD;;GAEG;AACH,eAAO,MAAM,2BAA2B,oDAAoD,CAAC;AAC7F;;GAEG;AACH,eAAO,MAAM,kCAAkC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,gBAAgB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAI9I,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,gCAAgC,EAAE,gBAa9C,CAAC"}
|
|
@@ -3,10 +3,20 @@
|
|
|
3
3
|
// Generated by Microsoft Kiota
|
|
4
4
|
// @ts-ignore
|
|
5
5
|
import { createCustomerAnalyticsResponseFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue } from '../../models/index.js';
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
import { ExportRequestBuilderRequestsMetadata } from './exportEscaped/index.js';
|
|
6
8
|
/**
|
|
7
9
|
* Uri template for the request builder.
|
|
8
10
|
*/
|
|
9
11
|
export const MyRequestBuilderUriTemplate = "{+baseurl}/analytics/my{?days*,endAt*,startAt*}";
|
|
12
|
+
/**
|
|
13
|
+
* Metadata for all the navigation properties in the request builder.
|
|
14
|
+
*/
|
|
15
|
+
export const MyRequestBuilderNavigationMetadata = {
|
|
16
|
+
exportEscaped: {
|
|
17
|
+
requestsMetadata: ExportRequestBuilderRequestsMetadata,
|
|
18
|
+
},
|
|
19
|
+
};
|
|
10
20
|
/**
|
|
11
21
|
* Metadata for all the requests in the request builder.
|
|
12
22
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../analytics/my/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,qDAAqD,EAAE,0CAA0C,EAAuD,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../analytics/my/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,qDAAqD,EAAE,0CAA0C,EAAuD,MAAM,uBAAuB,CAAC;AAC/L,aAAa;AACb,OAAO,EAAE,oCAAoC,EAA6B,MAAM,0BAA0B,CAAC;AA8C3G;;GAEG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,iDAAiD,CAAC;AAC7F;;GAEG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAAoG;IAC/I,aAAa,EAAE;QACX,gBAAgB,EAAE,oCAAoC;KACzD;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAqB;IAC9D,GAAG,EAAE;QACD,WAAW,EAAE,2BAA2B;QACxC,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,qDAAqD;KAC9E;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
5
5
|
*/
|
|
6
6
|
export interface PreviewRequestBuilder extends BaseRequestBuilder<PreviewRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Preview matched automation steps and messages for a sample lead without creating follow-up events, or use validate_only to check the automation configuration.
|
|
9
9
|
* @param body Defines the fields clients can send when working with automation preview.
|
|
10
10
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
11
11
|
* @returns {Promise<AutomationPreviewResponse>}
|
|
@@ -16,7 +16,7 @@ export interface PreviewRequestBuilder extends BaseRequestBuilder<PreviewRequest
|
|
|
16
16
|
*/
|
|
17
17
|
post(body: AutomationPreviewRequest, requestConfiguration?: RequestConfiguration<PreviewRequestBuilderPostQueryParameters> | undefined): Promise<AutomationPreviewResponse | undefined>;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Preview matched automation steps and messages for a sample lead without creating follow-up events, or use validate_only to check the automation configuration.
|
|
20
20
|
* @param body Defines the fields clients can send when working with automation preview.
|
|
21
21
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
22
|
* @returns {RequestInformation}
|
|
@@ -24,7 +24,7 @@ export interface PreviewRequestBuilder extends BaseRequestBuilder<PreviewRequest
|
|
|
24
24
|
toPostRequestInformation(body: AutomationPreviewRequest, requestConfiguration?: RequestConfiguration<PreviewRequestBuilderPostQueryParameters> | undefined): RequestInformation;
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* Preview matched automation steps and messages for a sample lead without creating follow-up events, or use validate_only to check the automation configuration.
|
|
28
28
|
*/
|
|
29
29
|
export interface PreviewRequestBuilderPostQueryParameters {
|
|
30
30
|
/**
|
package/dist/blog/index.d.ts
CHANGED
|
@@ -12,14 +12,14 @@ export interface BlogRequestBuilder extends BaseRequestBuilder<BlogRequestBuilde
|
|
|
12
12
|
*/
|
|
13
13
|
bySlug(slug: string): WithSlugItemRequestBuilder;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Retrieve the list of published Leadping blog articles through the public API. This endpoint returns articles available to readers without authentication.
|
|
16
16
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
17
17
|
* @returns {Promise<BlogArticleResponse[]>}
|
|
18
18
|
* @throws {ProblemDetails} error when the service returns a 429 status code
|
|
19
19
|
*/
|
|
20
20
|
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<BlogArticleResponse[] | undefined>;
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Retrieve the list of published Leadping blog articles through the public API. This endpoint returns articles available to readers without authentication.
|
|
23
23
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
24
24
|
* @returns {RequestInformation}
|
|
25
25
|
*/
|
|
@@ -24,7 +24,7 @@ export interface LeadStatusChangesItemRequestBuilder extends BaseRequestBuilder<
|
|
|
24
24
|
*/
|
|
25
25
|
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<LeadStatusChangeResponse | undefined>;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* Update a Leadping lead status history entry through the API. When the entry is current, the operation also updates the lead's current status to match.
|
|
28
28
|
* @param body Defines a lead status transition or correction, including its target status, effective time, source, and explanatory context.
|
|
29
29
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
30
30
|
* @returns {Promise<LeadStatusChangeResponse>}
|
|
@@ -48,7 +48,7 @@ export interface LeadStatusChangesItemRequestBuilder extends BaseRequestBuilder<
|
|
|
48
48
|
*/
|
|
49
49
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
50
50
|
/**
|
|
51
|
-
*
|
|
51
|
+
* Update a Leadping lead status history entry through the API. When the entry is current, the operation also updates the lead's current status to match.
|
|
52
52
|
* @param body Defines a lead status transition or correction, including its target status, effective time, source, and explanatory context.
|
|
53
53
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
54
54
|
* @returns {RequestInformation}
|
|
@@ -10,7 +10,7 @@ export interface ArchivePostRequestBody extends LeadArchiveRequest, Parsable {
|
|
|
10
10
|
*/
|
|
11
11
|
export interface ArchiveRequestBuilder extends BaseRequestBuilder<ArchiveRequestBuilder> {
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Archive a lead to remove it from active pipeline views while preserving communication and event history. An optional request body supplies the archive reason.
|
|
14
14
|
* @param body Defines the fields clients can send when working with lead archive.
|
|
15
15
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
16
|
* @returns {Promise<LeadResponse>}
|
|
@@ -22,7 +22,7 @@ export interface ArchiveRequestBuilder extends BaseRequestBuilder<ArchiveRequest
|
|
|
22
22
|
*/
|
|
23
23
|
post(body: ArchivePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<LeadResponse | undefined>;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Archive a lead to remove it from active pipeline views while preserving communication and event history. An optional request body supplies the archive reason.
|
|
26
26
|
* @param body Defines the fields clients can send when working with lead archive.
|
|
27
27
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
28
28
|
* @returns {RequestInformation}
|
|
@@ -40,7 +40,7 @@ export interface ItemRequestBuilder extends BaseRequestBuilder<ItemRequestBuilde
|
|
|
40
40
|
*/
|
|
41
41
|
get workflowStatus(): WorkflowStatusRequestBuilder;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* Mark a lead as deleted to hide it from lead, conversation, routing, and event workflows while retaining the stored lead, conversation, and event records.
|
|
44
44
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
45
45
|
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
46
46
|
* @throws {ProblemDetails} error when the service returns a 403 status code
|
|
@@ -71,7 +71,7 @@ export interface ItemRequestBuilder extends BaseRequestBuilder<ItemRequestBuilde
|
|
|
71
71
|
*/
|
|
72
72
|
put(body: LeadRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<LeadResponse | undefined>;
|
|
73
73
|
/**
|
|
74
|
-
*
|
|
74
|
+
* Mark a lead as deleted to hide it from lead, conversation, routing, and event workflows while retaining the stored lead, conversation, and event records.
|
|
75
75
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
76
76
|
* @returns {RequestInformation}
|
|
77
77
|
*/
|