@leadping/sdk 1.0.35 → 1.0.36
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/automations/index.d.ts.map +1 -1
- package/dist/automations/index.js +2 -1
- package/dist/automations/index.js.map +1 -1
- package/dist/automations/item/index.d.ts +15 -1
- package/dist/automations/item/index.d.ts.map +1 -1
- package/dist/automations/item/index.js +16 -0
- package/dist/automations/item/index.js.map +1 -1
- package/dist/automations/item/run/index.d.ts +30 -0
- package/dist/automations/item/run/index.d.ts.map +1 -0
- package/dist/automations/item/run/index.js +27 -0
- package/dist/automations/item/run/index.js.map +1 -0
- package/dist/automations/item/runs/index.d.ts +40 -0
- package/dist/automations/item/runs/index.d.ts.map +1 -0
- package/dist/automations/item/runs/index.js +37 -0
- package/dist/automations/item/runs/index.js.map +1 -0
- package/dist/automations/item/runs/item/index.d.ts +30 -0
- package/dist/automations/item/runs/item/index.d.ts.map +1 -0
- package/dist/automations/item/runs/item/index.js +27 -0
- package/dist/automations/item/runs/item/index.js.map +1 -0
- package/dist/leads/item/index.d.ts +2 -2
- package/dist/models/index.d.ts +121 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +95 -0
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../automations/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAuJ,KAAK,iBAAiB,EAAE,KAAK,kBAAkB,EAAuB,MAAM,oBAAoB,CAAC;AAE/P,OAAO,EAAuC,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAE7F,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../automations/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAuJ,KAAK,iBAAiB,EAAE,KAAK,kBAAkB,EAAuB,MAAM,oBAAoB,CAAC;AAE/P,OAAO,EAAuC,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAE7F,OAAO,EAAkG,KAAK,6BAA6B,EAAE,MAAM,iBAAiB,CAAC;AAErK,OAAO,EAAyC,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAEvG,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,yBAA0B,SAAQ,kBAAkB,CAAC,yBAAyB,CAAC;IAC5F;;OAEG;IACH,IAAI,GAAG,IAAI,iBAAiB,CAAC;IAC7B;;OAEG;IACH,IAAI,OAAO,IAAI,qBAAqB,CAAC;IACrC;;;;OAIG;IACF,IAAI,CAAC,EAAE,EAAE,MAAM,GAAI,6BAA6B,CAAC;IAClD;;;;;;;OAOG;IACF,IAAI,CAAC,IAAI,EAAE,iBAAiB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC;IAC1I;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,iBAAiB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC5I;AACD;;GAEG;AACH,eAAO,MAAM,oCAAoC,2BAA2B,CAAC;AAC7E;;GAEG;AACH,eAAO,MAAM,2CAA2C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,yBAAyB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAYhK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,gBAcvD,CAAC"}
|
|
@@ -6,7 +6,7 @@ import { createAutomationResponseFromDiscriminatorValue, createProblemDetailsFro
|
|
|
6
6
|
// @ts-ignore
|
|
7
7
|
import { AllRequestBuilderNavigationMetadata } from './all/index.js';
|
|
8
8
|
// @ts-ignore
|
|
9
|
-
import { AutomationsItemRequestBuilderRequestsMetadata } from './item/index.js';
|
|
9
|
+
import { AutomationsItemRequestBuilderNavigationMetadata, AutomationsItemRequestBuilderRequestsMetadata } from './item/index.js';
|
|
10
10
|
// @ts-ignore
|
|
11
11
|
import { PreviewRequestBuilderRequestsMetadata } from './preview/index.js';
|
|
12
12
|
/**
|
|
@@ -19,6 +19,7 @@ export const AutomationsRequestBuilderUriTemplate = "{+baseurl}/automations";
|
|
|
19
19
|
export const AutomationsRequestBuilderNavigationMetadata = {
|
|
20
20
|
byId: {
|
|
21
21
|
requestsMetadata: AutomationsItemRequestBuilderRequestsMetadata,
|
|
22
|
+
navigationMetadata: AutomationsItemRequestBuilderNavigationMetadata,
|
|
22
23
|
pathParametersMappings: ["id"],
|
|
23
24
|
},
|
|
24
25
|
all: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../automations/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,8CAA8C,EAAE,0CAA0C,EAAE,0BAA0B,EAAqG,MAAM,oBAAoB,CAAC;AAC/P,aAAa;AACb,OAAO,EAAE,mCAAmC,EAA0B,MAAM,gBAAgB,CAAC;AAC7F,aAAa;AACb,OAAO,EAAE,6CAA6C,EAAsC,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../automations/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,8CAA8C,EAAE,0CAA0C,EAAE,0BAA0B,EAAqG,MAAM,oBAAoB,CAAC;AAC/P,aAAa;AACb,OAAO,EAAE,mCAAmC,EAA0B,MAAM,gBAAgB,CAAC;AAC7F,aAAa;AACb,OAAO,EAAE,+CAA+C,EAAE,6CAA6C,EAAsC,MAAM,iBAAiB,CAAC;AACrK,aAAa;AACb,OAAO,EAAE,qCAAqC,EAA8B,MAAM,oBAAoB,CAAC;AAuCvG;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAG,wBAAwB,CAAC;AAC7E;;GAEG;AACH,MAAM,CAAC,MAAM,2CAA2C,GAA6G;IACjK,IAAI,EAAE;QACF,gBAAgB,EAAE,6CAA6C;QAC/D,kBAAkB,EAAE,+CAA+C;QACnE,sBAAsB,EAAE,CAAC,IAAI,CAAC;KACjC;IACD,GAAG,EAAE;QACD,kBAAkB,EAAE,mCAAmC;KAC1D;IACD,OAAO,EAAE;QACL,gBAAgB,EAAE,qCAAqC;KAC1D;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAqB;IACvE,IAAI,EAAE;QACF,WAAW,EAAE,oCAAoC;QACjD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,8CAA8C;QACpE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,0BAA0B;QACjD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
import { type AutomationRequest, type AutomationResponse } from '../../models/index.js';
|
|
2
|
-
import { type
|
|
2
|
+
import { type RunRequestBuilder } from './run/index.js';
|
|
3
|
+
import { type RunsRequestBuilder } from './runs/index.js';
|
|
4
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
5
|
/**
|
|
4
6
|
* Builds and executes requests for operations under /automations/{id}
|
|
5
7
|
*/
|
|
6
8
|
export interface AutomationsItemRequestBuilder extends BaseRequestBuilder<AutomationsItemRequestBuilder> {
|
|
9
|
+
/**
|
|
10
|
+
* The run property
|
|
11
|
+
*/
|
|
12
|
+
get run(): RunRequestBuilder;
|
|
13
|
+
/**
|
|
14
|
+
* The runs property
|
|
15
|
+
*/
|
|
16
|
+
get runs(): RunsRequestBuilder;
|
|
7
17
|
/**
|
|
8
18
|
* Deletes an automation for the current organization so it no longer schedules follow-up or routing work for captured leads.
|
|
9
19
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
@@ -54,6 +64,10 @@ export interface AutomationsItemRequestBuilder extends BaseRequestBuilder<Automa
|
|
|
54
64
|
* Uri template for the request builder.
|
|
55
65
|
*/
|
|
56
66
|
export declare const AutomationsItemRequestBuilderUriTemplate = "{+baseurl}/automations/{id}";
|
|
67
|
+
/**
|
|
68
|
+
* Metadata for all the navigation properties in the request builder.
|
|
69
|
+
*/
|
|
70
|
+
export declare const AutomationsItemRequestBuilderNavigationMetadata: Record<Exclude<keyof AutomationsItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
57
71
|
/**
|
|
58
72
|
* Metadata for all the requests in the request builder.
|
|
59
73
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../automations/item/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAuJ,KAAK,iBAAiB,EAAE,KAAK,kBAAkB,EAAuB,MAAM,uBAAuB,CAAC;AAElQ,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":["../../../automations/item/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAuJ,KAAK,iBAAiB,EAAE,KAAK,kBAAkB,EAAuB,MAAM,uBAAuB,CAAC;AAElQ,OAAO,EAAqC,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAE3F,OAAO,EAA4E,KAAK,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAEpI,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,6BAA8B,SAAQ,kBAAkB,CAAC,6BAA6B,CAAC;IACpG;;OAEG;IACH,IAAI,GAAG,IAAI,iBAAiB,CAAC;IAC7B;;OAEG;IACH,IAAI,IAAI,IAAI,kBAAkB,CAAC;IAC/B;;;;;;OAMG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACxG;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC;IAChH;;;;;;;;OAQG;IACF,GAAG,CAAC,IAAI,EAAE,iBAAiB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC;IACzI;;;;OAIG;IACF,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC/G;;;;;OAKG;IACF,uBAAuB,CAAC,IAAI,EAAE,iBAAiB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC3I;AACD;;GAEG;AACH,eAAO,MAAM,wCAAwC,gCAAgC,CAAC;AACtF;;GAEG;AACH,eAAO,MAAM,+CAA+C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,6BAA6B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAQxK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,6CAA6C,EAAE,gBAmC3D,CAAC"}
|
|
@@ -3,10 +3,26 @@
|
|
|
3
3
|
// Generated by Microsoft Kiota
|
|
4
4
|
// @ts-ignore
|
|
5
5
|
import { createAutomationResponseFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue, serializeAutomationRequest } from '../../models/index.js';
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
import { RunRequestBuilderRequestsMetadata } from './run/index.js';
|
|
8
|
+
// @ts-ignore
|
|
9
|
+
import { RunsRequestBuilderNavigationMetadata, RunsRequestBuilderRequestsMetadata } from './runs/index.js';
|
|
6
10
|
/**
|
|
7
11
|
* Uri template for the request builder.
|
|
8
12
|
*/
|
|
9
13
|
export const AutomationsItemRequestBuilderUriTemplate = "{+baseurl}/automations/{id}";
|
|
14
|
+
/**
|
|
15
|
+
* Metadata for all the navigation properties in the request builder.
|
|
16
|
+
*/
|
|
17
|
+
export const AutomationsItemRequestBuilderNavigationMetadata = {
|
|
18
|
+
run: {
|
|
19
|
+
requestsMetadata: RunRequestBuilderRequestsMetadata,
|
|
20
|
+
},
|
|
21
|
+
runs: {
|
|
22
|
+
requestsMetadata: RunsRequestBuilderRequestsMetadata,
|
|
23
|
+
navigationMetadata: RunsRequestBuilderNavigationMetadata,
|
|
24
|
+
},
|
|
25
|
+
};
|
|
10
26
|
/**
|
|
11
27
|
* Metadata for all the requests in the request builder.
|
|
12
28
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../automations/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,8CAA8C,EAAE,0CAA0C,EAAE,0BAA0B,EAAqG,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../automations/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,8CAA8C,EAAE,0CAA0C,EAAE,0BAA0B,EAAqG,MAAM,uBAAuB,CAAC;AAClQ,aAAa;AACb,OAAO,EAAE,iCAAiC,EAA0B,MAAM,gBAAgB,CAAC;AAC3F,aAAa;AACb,OAAO,EAAE,oCAAoC,EAAE,kCAAkC,EAA2B,MAAM,iBAAiB,CAAC;AA8DpI;;GAEG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAG,6BAA6B,CAAC;AACtF;;GAEG;AACH,MAAM,CAAC,MAAM,+CAA+C,GAAiH;IACzK,GAAG,EAAE;QACD,gBAAgB,EAAE,iCAAiC;KACtD;IACD,IAAI,EAAE;QACF,gBAAgB,EAAE,kCAAkC;QACpD,kBAAkB,EAAE,oCAAoC;KAC3D;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,6CAA6C,GAAqB;IAC3E,MAAM,EAAE;QACJ,WAAW,EAAE,wCAAwC;QACrD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,eAAe;QAClC,mBAAmB,EAAG,SAAS;KAClC;IACD,GAAG,EAAE;QACD,WAAW,EAAE,wCAAwC;QACrD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,8CAA8C;KACvE;IACD,GAAG,EAAE;QACD,WAAW,EAAE,wCAAwC;QACrD,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,8CAA8C;QACpE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,0BAA0B;QACjD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { type AutomationRunRecord } 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/{id}/run
|
|
5
|
+
*/
|
|
6
|
+
export interface RunRequestBuilder extends BaseRequestBuilder<RunRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Runs an automation through its Manual trigger.
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
* @returns {Promise<AutomationRunRecord>}
|
|
11
|
+
* @throws {ProblemDetails} error when the service returns a 400 status code
|
|
12
|
+
* @throws {ProblemDetails} error when the service returns a 403 status code
|
|
13
|
+
*/
|
|
14
|
+
post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AutomationRunRecord | undefined>;
|
|
15
|
+
/**
|
|
16
|
+
* Runs an automation through its Manual trigger.
|
|
17
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
18
|
+
* @returns {RequestInformation}
|
|
19
|
+
*/
|
|
20
|
+
toPostRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Uri template for the request builder.
|
|
24
|
+
*/
|
|
25
|
+
export declare const RunRequestBuilderUriTemplate = "{+baseurl}/automations/{id}/run";
|
|
26
|
+
/**
|
|
27
|
+
* Metadata for all the requests in the request builder.
|
|
28
|
+
*/
|
|
29
|
+
export declare const RunRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
30
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../automations/item/run/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA+F,KAAK,mBAAmB,EAAuB,MAAM,0BAA0B,CAAC;AAEtL,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,iBAAkB,SAAQ,kBAAkB,CAAC,iBAAiB,CAAC;IAC5E;;;;;;OAMG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,mBAAmB,GAAG,SAAS,CAAC,CAAC;IAClH;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,4BAA4B,oCAAoC,CAAC;AAC9E;;GAEG;AACH,eAAO,MAAM,iCAAiC,EAAE,gBAW/C,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createAutomationRunRecordFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue } from '../../../models/index.js';
|
|
6
|
+
/**
|
|
7
|
+
* Uri template for the request builder.
|
|
8
|
+
*/
|
|
9
|
+
export const RunRequestBuilderUriTemplate = "{+baseurl}/automations/{id}/run";
|
|
10
|
+
/**
|
|
11
|
+
* Metadata for all the requests in the request builder.
|
|
12
|
+
*/
|
|
13
|
+
export const RunRequestBuilderRequestsMetadata = {
|
|
14
|
+
post: {
|
|
15
|
+
uriTemplate: RunRequestBuilderUriTemplate,
|
|
16
|
+
responseBodyContentType: "application/json",
|
|
17
|
+
errorMappings: {
|
|
18
|
+
400: createProblemDetailsFromDiscriminatorValue,
|
|
19
|
+
403: createProblemDetailsFromDiscriminatorValue,
|
|
20
|
+
},
|
|
21
|
+
adapterMethodName: "send",
|
|
22
|
+
responseBodyFactory: createAutomationRunRecordFromDiscriminatorValue,
|
|
23
|
+
},
|
|
24
|
+
};
|
|
25
|
+
/* tslint:enable */
|
|
26
|
+
/* eslint-enable */
|
|
27
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../automations/item/run/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,+CAA+C,EAAE,0CAA0C,EAAiD,MAAM,0BAA0B,CAAC;AAuBtL;;GAEG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG,iCAAiC,CAAC;AAC9E;;GAEG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAqB;IAC/D,IAAI,EAAE;QACF,WAAW,EAAE,4BAA4B;QACzC,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,+CAA+C;KACxE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { type AutomationConsoleResponse } from '../../../models/index.js';
|
|
2
|
+
import { type WithRunItemRequestBuilder } from './item/index.js';
|
|
3
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
4
|
+
/**
|
|
5
|
+
* Builds and executes requests for operations under /automations/{id}/runs
|
|
6
|
+
*/
|
|
7
|
+
export interface RunsRequestBuilder extends BaseRequestBuilder<RunsRequestBuilder> {
|
|
8
|
+
/**
|
|
9
|
+
* Gets an item from the leadping.automations.item.runs.item collection
|
|
10
|
+
* @param runId Unique identifier of the item
|
|
11
|
+
* @returns {WithRunItemRequestBuilder}
|
|
12
|
+
*/
|
|
13
|
+
byRunId(runId: string): WithRunItemRequestBuilder;
|
|
14
|
+
/**
|
|
15
|
+
* Gets recent persisted execution runs for an automation console.
|
|
16
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
17
|
+
* @returns {Promise<AutomationConsoleResponse>}
|
|
18
|
+
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
19
|
+
*/
|
|
20
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AutomationConsoleResponse | undefined>;
|
|
21
|
+
/**
|
|
22
|
+
* Gets recent persisted execution runs for an automation console.
|
|
23
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
24
|
+
* @returns {RequestInformation}
|
|
25
|
+
*/
|
|
26
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Uri template for the request builder.
|
|
30
|
+
*/
|
|
31
|
+
export declare const RunsRequestBuilderUriTemplate = "{+baseurl}/automations/{id}/runs";
|
|
32
|
+
/**
|
|
33
|
+
* Metadata for all the navigation properties in the request builder.
|
|
34
|
+
*/
|
|
35
|
+
export declare const RunsRequestBuilderNavigationMetadata: Record<Exclude<keyof RunsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
36
|
+
/**
|
|
37
|
+
* Metadata for all the requests in the request builder.
|
|
38
|
+
*/
|
|
39
|
+
export declare const RunsRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
40
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../automations/item/runs/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAqG,KAAK,yBAAyB,EAAuB,MAAM,0BAA0B,CAAC;AAElM,OAAO,EAAE,KAAK,yBAAyB,EAA6C,MAAM,iBAAiB,CAAC;AAE5G,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,kBAAmB,SAAQ,kBAAkB,CAAC,kBAAkB,CAAC;IAC9E;;;;OAIG;IACF,OAAO,CAAC,KAAK,EAAE,MAAM,GAAI,yBAAyB,CAAC;IACpD;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,yBAAyB,GAAG,SAAS,CAAC,CAAC;IACvH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClH;AACD;;GAEG;AACH,eAAO,MAAM,6BAA6B,qCAAqC,CAAC;AAChF;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,kBAAkB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAKlJ,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,kCAAkC,EAAE,gBAUhD,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createAutomationConsoleResponseFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue } from '../../../models/index.js';
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
import { WithRunItemRequestBuilderRequestsMetadata } from './item/index.js';
|
|
8
|
+
/**
|
|
9
|
+
* Uri template for the request builder.
|
|
10
|
+
*/
|
|
11
|
+
export const RunsRequestBuilderUriTemplate = "{+baseurl}/automations/{id}/runs";
|
|
12
|
+
/**
|
|
13
|
+
* Metadata for all the navigation properties in the request builder.
|
|
14
|
+
*/
|
|
15
|
+
export const RunsRequestBuilderNavigationMetadata = {
|
|
16
|
+
byRunId: {
|
|
17
|
+
requestsMetadata: WithRunItemRequestBuilderRequestsMetadata,
|
|
18
|
+
pathParametersMappings: ["runId"],
|
|
19
|
+
},
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Metadata for all the requests in the request builder.
|
|
23
|
+
*/
|
|
24
|
+
export const RunsRequestBuilderRequestsMetadata = {
|
|
25
|
+
get: {
|
|
26
|
+
uriTemplate: RunsRequestBuilderUriTemplate,
|
|
27
|
+
responseBodyContentType: "application/json",
|
|
28
|
+
errorMappings: {
|
|
29
|
+
401: createProblemDetailsFromDiscriminatorValue,
|
|
30
|
+
},
|
|
31
|
+
adapterMethodName: "send",
|
|
32
|
+
responseBodyFactory: createAutomationConsoleResponseFromDiscriminatorValue,
|
|
33
|
+
},
|
|
34
|
+
};
|
|
35
|
+
/* tslint:enable */
|
|
36
|
+
/* eslint-enable */
|
|
37
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../automations/item/runs/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,qDAAqD,EAAE,0CAA0C,EAAuD,MAAM,0BAA0B,CAAC;AAClM,aAAa;AACb,OAAO,EAAkC,yCAAyC,EAAE,MAAM,iBAAiB,CAAC;AA4B5G;;GAEG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAG,kCAAkC,CAAC;AAChF;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAsG;IACnJ,OAAO,EAAE;QACL,gBAAgB,EAAE,yCAAyC;QAC3D,sBAAsB,EAAE,CAAC,OAAO,CAAC;KACpC;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAAqB;IAChE,GAAG,EAAE;QACD,WAAW,EAAE,6BAA6B;QAC1C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,qDAAqD;KAC9E;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { type AutomationConsoleResponse } 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/{id}/runs/{runId}
|
|
5
|
+
*/
|
|
6
|
+
export interface WithRunItemRequestBuilder extends BaseRequestBuilder<WithRunItemRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Gets one persisted automation execution run for its console.
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
* @returns {Promise<AutomationConsoleResponse>}
|
|
11
|
+
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
12
|
+
* @throws {ProblemDetails} error when the service returns a 404 status code
|
|
13
|
+
*/
|
|
14
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AutomationConsoleResponse | undefined>;
|
|
15
|
+
/**
|
|
16
|
+
* Gets one persisted automation execution run for its console.
|
|
17
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
18
|
+
* @returns {RequestInformation}
|
|
19
|
+
*/
|
|
20
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Uri template for the request builder.
|
|
24
|
+
*/
|
|
25
|
+
export declare const WithRunItemRequestBuilderUriTemplate = "{+baseurl}/automations/{id}/runs/{runId}";
|
|
26
|
+
/**
|
|
27
|
+
* Metadata for all the requests in the request builder.
|
|
28
|
+
*/
|
|
29
|
+
export declare const WithRunItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
30
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../automations/item/runs/item/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAqG,KAAK,yBAAyB,EAAuB,MAAM,6BAA6B,CAAC;AAErM,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,yBAA0B,SAAQ,kBAAkB,CAAC,yBAAyB,CAAC;IAC5F;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,yBAAyB,GAAG,SAAS,CAAC,CAAC;IACvH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClH;AACD;;GAEG;AACH,eAAO,MAAM,oCAAoC,6CAA6C,CAAC;AAC/F;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,gBAWvD,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createAutomationConsoleResponseFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue } from '../../../../models/index.js';
|
|
6
|
+
/**
|
|
7
|
+
* Uri template for the request builder.
|
|
8
|
+
*/
|
|
9
|
+
export const WithRunItemRequestBuilderUriTemplate = "{+baseurl}/automations/{id}/runs/{runId}";
|
|
10
|
+
/**
|
|
11
|
+
* Metadata for all the requests in the request builder.
|
|
12
|
+
*/
|
|
13
|
+
export const WithRunItemRequestBuilderRequestsMetadata = {
|
|
14
|
+
get: {
|
|
15
|
+
uriTemplate: WithRunItemRequestBuilderUriTemplate,
|
|
16
|
+
responseBodyContentType: "application/json",
|
|
17
|
+
errorMappings: {
|
|
18
|
+
401: createProblemDetailsFromDiscriminatorValue,
|
|
19
|
+
404: createProblemDetailsFromDiscriminatorValue,
|
|
20
|
+
},
|
|
21
|
+
adapterMethodName: "send",
|
|
22
|
+
responseBodyFactory: createAutomationConsoleResponseFromDiscriminatorValue,
|
|
23
|
+
},
|
|
24
|
+
};
|
|
25
|
+
/* tslint:enable */
|
|
26
|
+
/* eslint-enable */
|
|
27
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../automations/item/runs/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,qDAAqD,EAAE,0CAA0C,EAAuD,MAAM,6BAA6B,CAAC;AAuBrM;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAG,0CAA0C,CAAC;AAC/F;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAqB;IACvE,GAAG,EAAE;QACD,WAAW,EAAE,oCAAoC;QACjD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,qDAAqD;KAC9E;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -35,7 +35,7 @@ export interface ItemRequestBuilder extends BaseRequestBuilder<ItemRequestBuilde
|
|
|
35
35
|
*/
|
|
36
36
|
get workflowStatus(): WorkflowStatusRequestBuilder;
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* Marks a lead as deleted so it no longer appears in user-facing lead, conversation, routing, or event workflows. The stored lead,conversation, and event records are retained.
|
|
39
39
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
40
40
|
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
41
41
|
* @throws {ProblemDetails} error when the service returns a 404 status code
|
|
@@ -60,7 +60,7 @@ export interface ItemRequestBuilder extends BaseRequestBuilder<ItemRequestBuilde
|
|
|
60
60
|
*/
|
|
61
61
|
put(body: LeadRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<LeadResponse | undefined>;
|
|
62
62
|
/**
|
|
63
|
-
*
|
|
63
|
+
* Marks a lead as deleted so it no longer appears in user-facing lead, conversation, routing, or event workflows. The stored lead,conversation, and event records are retained.
|
|
64
64
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
65
65
|
* @returns {RequestInformation}
|
|
66
66
|
*/
|
package/dist/models/index.d.ts
CHANGED
|
@@ -331,6 +331,19 @@ export interface AutomationConnection extends AdditionalDataHolder, Parsable {
|
|
|
331
331
|
*/
|
|
332
332
|
targetNodeId?: string | null;
|
|
333
333
|
}
|
|
334
|
+
/**
|
|
335
|
+
* Recent persisted execution runs for an automation console.
|
|
336
|
+
*/
|
|
337
|
+
export interface AutomationConsoleResponse extends AdditionalDataHolder, Parsable {
|
|
338
|
+
/**
|
|
339
|
+
* The automationId property
|
|
340
|
+
*/
|
|
341
|
+
automationId?: string | null;
|
|
342
|
+
/**
|
|
343
|
+
* The runs property
|
|
344
|
+
*/
|
|
345
|
+
runs?: AutomationWorkflowRunResponse[] | null;
|
|
346
|
+
}
|
|
334
347
|
/**
|
|
335
348
|
* Result schema for the Leadping API automation preview action result returned by lookup and validation endpoints.
|
|
336
349
|
*/
|
|
@@ -1188,10 +1201,18 @@ export interface CallEventTableRow extends AdditionalDataHolder, Parsable {
|
|
|
1188
1201
|
* User summary connected to this call event table row.
|
|
1189
1202
|
*/
|
|
1190
1203
|
user?: string | null;
|
|
1204
|
+
/**
|
|
1205
|
+
* Email address for the person or agent who initiated this call event.
|
|
1206
|
+
*/
|
|
1207
|
+
userEmail?: string | null;
|
|
1191
1208
|
/**
|
|
1192
1209
|
* User ID associated with the person or agent who initiated this call event.
|
|
1193
1210
|
*/
|
|
1194
1211
|
userId?: string | null;
|
|
1212
|
+
/**
|
|
1213
|
+
* Display name for the person or agent who initiated this call event.
|
|
1214
|
+
*/
|
|
1215
|
+
userName?: string | null;
|
|
1195
1216
|
}
|
|
1196
1217
|
export type CallEventTableRow_status = (typeof CallEventTableRow_statusObject)[keyof typeof CallEventTableRow_statusObject];
|
|
1197
1218
|
/**
|
|
@@ -1458,6 +1479,12 @@ export declare function createAutomationConditionGroupFromDiscriminatorValue(par
|
|
|
1458
1479
|
* @returns {AutomationConnection}
|
|
1459
1480
|
*/
|
|
1460
1481
|
export declare function createAutomationConnectionFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
1482
|
+
/**
|
|
1483
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
1484
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
1485
|
+
* @returns {AutomationConsoleResponse}
|
|
1486
|
+
*/
|
|
1487
|
+
export declare function createAutomationConsoleResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
1461
1488
|
/**
|
|
1462
1489
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
1463
1490
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -3478,6 +3505,12 @@ export declare function deserializeIntoAutomationConditionGroup(automationCondit
|
|
|
3478
3505
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
3479
3506
|
*/
|
|
3480
3507
|
export declare function deserializeIntoAutomationConnection(automationConnection?: Partial<AutomationConnection> | undefined): Record<string, (node: ParseNode) => void>;
|
|
3508
|
+
/**
|
|
3509
|
+
* The deserialization information for the current model
|
|
3510
|
+
* @param AutomationConsoleResponse The instance to deserialize into.
|
|
3511
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
3512
|
+
*/
|
|
3513
|
+
export declare function deserializeIntoAutomationConsoleResponse(automationConsoleResponse?: Partial<AutomationConsoleResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
3481
3514
|
/**
|
|
3482
3515
|
* The deserialization information for the current model
|
|
3483
3516
|
* @param AutomationPreviewActionResult The instance to deserialize into.
|
|
@@ -5152,6 +5185,10 @@ export interface EventDetailResponse extends AdditionalDataHolder, Parsable {
|
|
|
5152
5185
|
* User summary connected to this event detail response.
|
|
5153
5186
|
*/
|
|
5154
5187
|
user?: EventDetailResponse_user | null;
|
|
5188
|
+
/**
|
|
5189
|
+
* Email address for the user connected to this event detail response.
|
|
5190
|
+
*/
|
|
5191
|
+
userEmail?: string | null;
|
|
5155
5192
|
/**
|
|
5156
5193
|
* User ID associated with the activity that created this event.
|
|
5157
5194
|
*/
|
|
@@ -6017,6 +6054,14 @@ export interface LeadResponse extends AdditionalDataHolder, Parsable {
|
|
|
6017
6054
|
* Demographic profile details for the lead represented by this lead response.
|
|
6018
6055
|
*/
|
|
6019
6056
|
customer?: LeadProfile | null;
|
|
6057
|
+
/**
|
|
6058
|
+
* UTC timestamp when this lead was soft deleted.
|
|
6059
|
+
*/
|
|
6060
|
+
deletedAt?: Date | null;
|
|
6061
|
+
/**
|
|
6062
|
+
* User ID of the person who soft deleted this lead.
|
|
6063
|
+
*/
|
|
6064
|
+
deletedByUserId?: string | null;
|
|
6020
6065
|
/**
|
|
6021
6066
|
* Indicates whether this lead response is active and available in the Leadping API.
|
|
6022
6067
|
*/
|
|
@@ -6041,6 +6086,18 @@ export interface LeadResponse extends AdditionalDataHolder, Parsable {
|
|
|
6041
6086
|
* Canonical phone identity and provider lookup details for this lead.
|
|
6042
6087
|
*/
|
|
6043
6088
|
phoneIdentity?: LeadResponse_phoneIdentity | null;
|
|
6089
|
+
/**
|
|
6090
|
+
* Defines the asynchronous verification and enrichment lifecycle for a lead.
|
|
6091
|
+
*/
|
|
6092
|
+
processingStatus?: LeadResponse_processingStatus | null;
|
|
6093
|
+
/**
|
|
6094
|
+
* UTC timestamp when the processing stage last changed.
|
|
6095
|
+
*/
|
|
6096
|
+
processingStatusChangedAt?: Date | null;
|
|
6097
|
+
/**
|
|
6098
|
+
* Explanation when asynchronous lead processing is blocked or fails.
|
|
6099
|
+
*/
|
|
6100
|
+
processingStatusReason?: string | null;
|
|
6044
6101
|
/**
|
|
6045
6102
|
* Tags currently attached to this lead, source, or record.
|
|
6046
6103
|
*/
|
|
@@ -6056,6 +6113,7 @@ export interface LeadResponse_currentLeadStatus extends CurrentLeadStatusSummary
|
|
|
6056
6113
|
*/
|
|
6057
6114
|
export interface LeadResponse_phoneIdentity extends Parsable, PhoneIdentityResponse {
|
|
6058
6115
|
}
|
|
6116
|
+
export type LeadResponse_processingStatus = (typeof LeadResponse_processingStatusObject)[keyof typeof LeadResponse_processingStatusObject];
|
|
6059
6117
|
export type LeadStatusCategory = (typeof LeadStatusCategoryObject)[keyof typeof LeadStatusCategoryObject];
|
|
6060
6118
|
/**
|
|
6061
6119
|
* Describes lead status change export data returned by Leadping.
|
|
@@ -6510,6 +6568,18 @@ export interface LeadTableRow extends AdditionalDataHolder, Parsable {
|
|
|
6510
6568
|
* Lead price or transaction price supplied to the Leadping API.
|
|
6511
6569
|
*/
|
|
6512
6570
|
price?: UntypedNode | null;
|
|
6571
|
+
/**
|
|
6572
|
+
* Defines the asynchronous verification and enrichment lifecycle for a lead.
|
|
6573
|
+
*/
|
|
6574
|
+
processingStatus?: LeadTableRow_processingStatus | null;
|
|
6575
|
+
/**
|
|
6576
|
+
* UTC timestamp when the processing stage last changed.
|
|
6577
|
+
*/
|
|
6578
|
+
processingStatusChangedAt?: Date | null;
|
|
6579
|
+
/**
|
|
6580
|
+
* Explanation when asynchronous lead processing is blocked or fails.
|
|
6581
|
+
*/
|
|
6582
|
+
processingStatusReason?: string | null;
|
|
6513
6583
|
/**
|
|
6514
6584
|
* Identifier and display name of the related source.
|
|
6515
6585
|
*/
|
|
@@ -6541,6 +6611,7 @@ export interface LeadTableRow_currentLeadStatus extends CurrentLeadStatusSummary
|
|
|
6541
6611
|
*/
|
|
6542
6612
|
export interface LeadTableRow_organization extends IdNamePair, Parsable {
|
|
6543
6613
|
}
|
|
6614
|
+
export type LeadTableRow_processingStatus = (typeof LeadTableRow_processingStatusObject)[keyof typeof LeadTableRow_processingStatusObject];
|
|
6544
6615
|
/**
|
|
6545
6616
|
* Identifier and display name of the related source.
|
|
6546
6617
|
*/
|
|
@@ -8605,6 +8676,14 @@ export interface PhoneIdentityLookupAction extends AdditionalDataHolder, Parsabl
|
|
|
8605
8676
|
* The provider that performed the phone identity lookup.
|
|
8606
8677
|
*/
|
|
8607
8678
|
provider?: string | null;
|
|
8679
|
+
/**
|
|
8680
|
+
* The provider cost incurred by this lookup action, in USD.
|
|
8681
|
+
*/
|
|
8682
|
+
providerCostAmount?: UntypedNode | null;
|
|
8683
|
+
/**
|
|
8684
|
+
* The provider pricing version used to calculate the lookup cost.
|
|
8685
|
+
*/
|
|
8686
|
+
providerPricingVersion?: string | null;
|
|
8608
8687
|
/**
|
|
8609
8688
|
* Identifies the outcome of a phone identity lookup action.
|
|
8610
8689
|
*/
|
|
@@ -9719,6 +9798,13 @@ export declare function serializeAutomationConditionGroup(writer: SerializationW
|
|
|
9719
9798
|
* @param writer Serialization writer to use to serialize this model
|
|
9720
9799
|
*/
|
|
9721
9800
|
export declare function serializeAutomationConnection(writer: SerializationWriter, automationConnection?: Partial<AutomationConnection> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
9801
|
+
/**
|
|
9802
|
+
* Serializes information the current object
|
|
9803
|
+
* @param AutomationConsoleResponse The instance to serialize from.
|
|
9804
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
9805
|
+
* @param writer Serialization writer to use to serialize this model
|
|
9806
|
+
*/
|
|
9807
|
+
export declare function serializeAutomationConsoleResponse(writer: SerializationWriter, automationConsoleResponse?: Partial<AutomationConsoleResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
9722
9808
|
/**
|
|
9723
9809
|
* Serializes information the current object
|
|
9724
9810
|
* @param AutomationPreviewActionResult The instance to serialize from.
|
|
@@ -11941,6 +12027,10 @@ export interface SourceResponse extends AdditionalDataHolder, Parsable {
|
|
|
11941
12027
|
* User summary for the person who created this lead source response.
|
|
11942
12028
|
*/
|
|
11943
12029
|
createdByUser?: SourceResponse_createdByUser | null;
|
|
12030
|
+
/**
|
|
12031
|
+
* Email used to resolve the creator's avatar.
|
|
12032
|
+
*/
|
|
12033
|
+
createdByUserEmail?: string | null;
|
|
11944
12034
|
/**
|
|
11945
12035
|
* Tag IDs automatically assigned to leads created by this source.
|
|
11946
12036
|
*/
|
|
@@ -13609,6 +13699,8 @@ export declare const BillableUnitObject: {
|
|
|
13609
13699
|
readonly Openai_operation: "openai_operation";
|
|
13610
13700
|
readonly Domain_registration: "domain_registration";
|
|
13611
13701
|
readonly OneZerodlc_application: "10dlc_application";
|
|
13702
|
+
readonly OneZerodlc_campaign_month: "10dlc_campaign_month";
|
|
13703
|
+
readonly Payment_processing_fee: "payment_processing_fee";
|
|
13612
13704
|
readonly Connection_action: "connection_action";
|
|
13613
13705
|
readonly Automation_run: "automation_run";
|
|
13614
13706
|
};
|
|
@@ -13870,6 +13962,17 @@ export declare const LeadProfile_maritalStatusObject: {
|
|
|
13870
13962
|
readonly Separated: "Separated";
|
|
13871
13963
|
readonly Divorced: "Divorced";
|
|
13872
13964
|
};
|
|
13965
|
+
/**
|
|
13966
|
+
* Defines the asynchronous verification and enrichment lifecycle for a lead.
|
|
13967
|
+
*/
|
|
13968
|
+
export declare const LeadResponse_processingStatusObject: {
|
|
13969
|
+
readonly Verifying: "Verifying";
|
|
13970
|
+
readonly Validating: "Validating";
|
|
13971
|
+
readonly Enriching: "Enriching";
|
|
13972
|
+
readonly Ready: "Ready";
|
|
13973
|
+
readonly Invalid: "Invalid";
|
|
13974
|
+
readonly Failed: "Failed";
|
|
13975
|
+
};
|
|
13873
13976
|
/**
|
|
13874
13977
|
* Controlled lead status change categories used for reporting, automation, and analytics.
|
|
13875
13978
|
*/
|
|
@@ -13955,6 +14058,17 @@ export declare const LeadStatusRequest_categoryObject: {
|
|
|
13955
14058
|
readonly Invalid: "Invalid";
|
|
13956
14059
|
readonly Duplicate: "Duplicate";
|
|
13957
14060
|
};
|
|
14061
|
+
/**
|
|
14062
|
+
* Defines the asynchronous verification and enrichment lifecycle for a lead.
|
|
14063
|
+
*/
|
|
14064
|
+
export declare const LeadTableRow_processingStatusObject: {
|
|
14065
|
+
readonly Verifying: "Verifying";
|
|
14066
|
+
readonly Validating: "Validating";
|
|
14067
|
+
readonly Enriching: "Enriching";
|
|
14068
|
+
readonly Ready: "Ready";
|
|
14069
|
+
readonly Invalid: "Invalid";
|
|
14070
|
+
readonly Failed: "Failed";
|
|
14071
|
+
};
|
|
13958
14072
|
/**
|
|
13959
14073
|
* Defines the supported Notification Priority values.
|
|
13960
14074
|
*/
|
|
@@ -14610,6 +14724,8 @@ export declare const TransactionResponse_billableUnitObject: {
|
|
|
14610
14724
|
readonly Openai_operation: "openai_operation";
|
|
14611
14725
|
readonly Domain_registration: "domain_registration";
|
|
14612
14726
|
readonly OneZerodlc_application: "10dlc_application";
|
|
14727
|
+
readonly OneZerodlc_campaign_month: "10dlc_campaign_month";
|
|
14728
|
+
readonly Payment_processing_fee: "payment_processing_fee";
|
|
14613
14729
|
readonly Connection_action: "connection_action";
|
|
14614
14730
|
readonly Automation_run: "automation_run";
|
|
14615
14731
|
};
|
|
@@ -14628,6 +14744,7 @@ export declare const TransactionResponse_billingChannelObject: {
|
|
|
14628
14744
|
readonly Openai: "openai";
|
|
14629
14745
|
readonly Domain: "domain";
|
|
14630
14746
|
readonly OneZerodlc: "10dlc";
|
|
14747
|
+
readonly Payment: "payment";
|
|
14631
14748
|
readonly Connection: "connection";
|
|
14632
14749
|
readonly Automation: "automation";
|
|
14633
14750
|
};
|
|
@@ -14656,6 +14773,8 @@ export declare const TransactionTableRow_billableUnitObject: {
|
|
|
14656
14773
|
readonly Openai_operation: "openai_operation";
|
|
14657
14774
|
readonly Domain_registration: "domain_registration";
|
|
14658
14775
|
readonly OneZerodlc_application: "10dlc_application";
|
|
14776
|
+
readonly OneZerodlc_campaign_month: "10dlc_campaign_month";
|
|
14777
|
+
readonly Payment_processing_fee: "payment_processing_fee";
|
|
14659
14778
|
readonly Connection_action: "connection_action";
|
|
14660
14779
|
readonly Automation_run: "automation_run";
|
|
14661
14780
|
};
|
|
@@ -14674,6 +14793,7 @@ export declare const TransactionTableRow_billingChannelObject: {
|
|
|
14674
14793
|
readonly Openai: "openai";
|
|
14675
14794
|
readonly Domain: "domain";
|
|
14676
14795
|
readonly OneZerodlc: "10dlc";
|
|
14796
|
+
readonly Payment: "payment";
|
|
14677
14797
|
readonly Connection: "connection";
|
|
14678
14798
|
readonly Automation: "automation";
|
|
14679
14799
|
};
|
|
@@ -14700,6 +14820,7 @@ export declare const UsageChannelObject: {
|
|
|
14700
14820
|
readonly Openai: "openai";
|
|
14701
14821
|
readonly Domain: "domain";
|
|
14702
14822
|
readonly OneZerodlc: "10dlc";
|
|
14823
|
+
readonly Payment: "payment";
|
|
14703
14824
|
readonly Connection: "connection";
|
|
14704
14825
|
readonly Automation: "automation";
|
|
14705
14826
|
};
|