@leadping/sdk 1.0.144 → 1.0.146
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/item/clone/index.d.ts +33 -0
- package/dist/automations/item/clone/index.d.ts.map +1 -0
- package/dist/automations/item/clone/index.js +31 -0
- package/dist/automations/item/clone/index.js.map +1 -0
- package/dist/automations/item/index.d.ts +5 -0
- package/dist/automations/item/index.d.ts.map +1 -1
- package/dist/automations/item/index.js +5 -0
- package/dist/automations/item/index.js.map +1 -1
- package/dist/conversations/my/index.d.ts +9 -1
- package/dist/conversations/my/index.d.ts.map +1 -1
- package/dist/conversations/my/index.js +1 -1
- package/dist/conversations/my/index.js.map +1 -1
- package/dist/models/index.d.ts +74 -1
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +58 -0
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { type AutomationResponse, type CloneAutomationRequest } 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}/clone
|
|
5
|
+
*/
|
|
6
|
+
export interface CloneRequestBuilder extends BaseRequestBuilder<CloneRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Clones an automation as a disabled workflow in the same organization.
|
|
9
|
+
* @param body The request body
|
|
10
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
11
|
+
* @returns {Promise<AutomationResponse>}
|
|
12
|
+
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
13
|
+
* @throws {ProblemDetails} error when the service returns a 403 status code
|
|
14
|
+
* @throws {ProblemDetails} error when the service returns a 429 status code
|
|
15
|
+
*/
|
|
16
|
+
post(body: CloneAutomationRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AutomationResponse | undefined>;
|
|
17
|
+
/**
|
|
18
|
+
* Clones an automation as a disabled workflow in the same organization.
|
|
19
|
+
* @param body The request body
|
|
20
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
21
|
+
* @returns {RequestInformation}
|
|
22
|
+
*/
|
|
23
|
+
toPostRequestInformation(body: CloneAutomationRequest, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Uri template for the request builder.
|
|
27
|
+
*/
|
|
28
|
+
export declare const CloneRequestBuilderUriTemplate = "{+baseurl}/automations/{id}/clone";
|
|
29
|
+
/**
|
|
30
|
+
* Metadata for all the requests in the request builder.
|
|
31
|
+
*/
|
|
32
|
+
export declare const CloneRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
33
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../automations/item/clone/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA4J,KAAK,kBAAkB,EAAE,KAAK,sBAAsB,EAAuB,MAAM,0BAA0B,CAAC;AAE/Q,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;;;;;OAQG;IACF,IAAI,CAAC,IAAI,EAAE,sBAAsB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC;IAC/I;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,sBAAsB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,sCAAsC,CAAC;AAClF;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAejD,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createAutomationResponseFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue, serializeCloneAutomationRequest } from '../../../models/index.js';
|
|
6
|
+
/**
|
|
7
|
+
* Uri template for the request builder.
|
|
8
|
+
*/
|
|
9
|
+
export const CloneRequestBuilderUriTemplate = "{+baseurl}/automations/{id}/clone";
|
|
10
|
+
/**
|
|
11
|
+
* Metadata for all the requests in the request builder.
|
|
12
|
+
*/
|
|
13
|
+
export const CloneRequestBuilderRequestsMetadata = {
|
|
14
|
+
post: {
|
|
15
|
+
uriTemplate: CloneRequestBuilderUriTemplate,
|
|
16
|
+
responseBodyContentType: "text/plain;q=0.9",
|
|
17
|
+
errorMappings: {
|
|
18
|
+
401: createProblemDetailsFromDiscriminatorValue,
|
|
19
|
+
403: createProblemDetailsFromDiscriminatorValue,
|
|
20
|
+
429: createProblemDetailsFromDiscriminatorValue,
|
|
21
|
+
},
|
|
22
|
+
adapterMethodName: "send",
|
|
23
|
+
responseBodyFactory: createAutomationResponseFromDiscriminatorValue,
|
|
24
|
+
requestBodyContentType: "application/json",
|
|
25
|
+
requestBodySerializer: serializeCloneAutomationRequest,
|
|
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/clone/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,8CAA8C,EAAE,0CAA0C,EAA+B,+BAA+B,EAA6E,MAAM,0BAA0B,CAAC;AA0B/Q;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,mCAAmC,CAAC;AAClF;;GAEG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAqB;IACjE,IAAI,EAAE;QACF,WAAW,EAAE,8BAA8B;QAC3C,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,+BAA+B;QACtD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type AutomationRequest, type AutomationResponse } from '../../models/index.js';
|
|
2
|
+
import { type CloneRequestBuilder } from './clone/index.js';
|
|
2
3
|
import { type LeadsRequestBuilder } from './leads/index.js';
|
|
3
4
|
import { type RunRequestBuilder } from './run/index.js';
|
|
4
5
|
import { type RunForAudienceRequestBuilder } from './runForAudience/index.js';
|
|
@@ -8,6 +9,10 @@ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type
|
|
|
8
9
|
* Builds and executes requests for operations under /automations/{id}
|
|
9
10
|
*/
|
|
10
11
|
export interface AutomationsItemRequestBuilder extends BaseRequestBuilder<AutomationsItemRequestBuilder> {
|
|
12
|
+
/**
|
|
13
|
+
* The clone property
|
|
14
|
+
*/
|
|
15
|
+
get clone(): CloneRequestBuilder;
|
|
11
16
|
/**
|
|
12
17
|
* The leads property
|
|
13
18
|
*/
|
|
@@ -1 +1 @@
|
|
|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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,CAkBxK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,6CAA6C,EAAE,gBA+C3D,CAAC"}
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
// @ts-ignore
|
|
5
5
|
import { createAutomationResponseFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue, serializeAutomationRequest } from '../../models/index.js';
|
|
6
6
|
// @ts-ignore
|
|
7
|
+
import { CloneRequestBuilderRequestsMetadata } from './clone/index.js';
|
|
8
|
+
// @ts-ignore
|
|
7
9
|
import { LeadsRequestBuilderNavigationMetadata, LeadsRequestBuilderRequestsMetadata } from './leads/index.js';
|
|
8
10
|
// @ts-ignore
|
|
9
11
|
import { RunRequestBuilderRequestsMetadata } from './run/index.js';
|
|
@@ -19,6 +21,9 @@ export const AutomationsItemRequestBuilderUriTemplate = "{+baseurl}/automations/
|
|
|
19
21
|
* Metadata for all the navigation properties in the request builder.
|
|
20
22
|
*/
|
|
21
23
|
export const AutomationsItemRequestBuilderNavigationMetadata = {
|
|
24
|
+
clone: {
|
|
25
|
+
requestsMetadata: CloneRequestBuilderRequestsMetadata,
|
|
26
|
+
},
|
|
22
27
|
leads: {
|
|
23
28
|
requestsMetadata: LeadsRequestBuilderRequestsMetadata,
|
|
24
29
|
navigationMetadata: LeadsRequestBuilderNavigationMetadata,
|
|
@@ -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;AAClQ,aAAa;AACb,OAAO,EAAE,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30,6 +30,10 @@ export interface MyRequestBuilder extends BaseRequestBuilder<MyRequestBuilder> {
|
|
|
30
30
|
* Lists the current user's lead conversations with paging and sorting for inbox views, recent follow-up, and communication history.
|
|
31
31
|
*/
|
|
32
32
|
export interface MyRequestBuilderPostQueryParameters {
|
|
33
|
+
/**
|
|
34
|
+
* Restricts conversations to this evaluated inbox action.
|
|
35
|
+
*/
|
|
36
|
+
action?: string;
|
|
33
37
|
/**
|
|
34
38
|
* Optional filter selecting active, archived, or all lead conversations.
|
|
35
39
|
*/
|
|
@@ -38,6 +42,10 @@ export interface MyRequestBuilderPostQueryParameters {
|
|
|
38
42
|
* Whether to include only conversations where calling is available.
|
|
39
43
|
*/
|
|
40
44
|
contactable?: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Groups the queue by inbox action before paging.
|
|
47
|
+
*/
|
|
48
|
+
groupByAction?: boolean;
|
|
41
49
|
/**
|
|
42
50
|
* Orders the full filtered inbox by the next action before paging.
|
|
43
51
|
*/
|
|
@@ -54,7 +62,7 @@ export interface MyRequestBuilderPostQueryParameters {
|
|
|
54
62
|
/**
|
|
55
63
|
* Uri template for the request builder.
|
|
56
64
|
*/
|
|
57
|
-
export declare const MyRequestBuilderUriTemplate = "{+baseurl}/conversations/my{?archiveFilter*,contactable*,priority*,selectedConversationId*,textingAvailable*}";
|
|
65
|
+
export declare const MyRequestBuilderUriTemplate = "{+baseurl}/conversations/my{?action*,archiveFilter*,contactable*,groupByAction*,priority*,selectedConversationId*,textingAvailable*}";
|
|
58
66
|
/**
|
|
59
67
|
* Metadata for all the requests in the request builder.
|
|
60
68
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../conversations/my/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAoJ,KAAK,gBAAgB,EAAuB,KAAK,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAE9P,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,o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kB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,mCAAmC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,gBAAgB,GAAG,SAAS,CAAC,CAAC;IACtK;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,mCAAmC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC1K;AACD;;GAEG;AACH,MAAM,WAAW,mCAAmC;IAChD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC9B;AACD;;GAEG;AACH,eAAO,MAAM,2BAA2B,yIAAyI,CAAC;AAClL;;GAEG;AACH,eAAO,MAAM,gCAAgC,EAAE,gBAmB9C,CAAC"}
|
|
@@ -6,7 +6,7 @@ import { createConversationPageFromDiscriminatorValue, createProblemDetailsFromD
|
|
|
6
6
|
/**
|
|
7
7
|
* Uri template for the request builder.
|
|
8
8
|
*/
|
|
9
|
-
export const MyRequestBuilderUriTemplate = "{+baseurl}/conversations/my{?archiveFilter*,contactable*,priority*,selectedConversationId*,textingAvailable*}";
|
|
9
|
+
export const MyRequestBuilderUriTemplate = "{+baseurl}/conversations/my{?action*,archiveFilter*,contactable*,groupByAction*,priority*,selectedConversationId*,textingAvailable*}";
|
|
10
10
|
/**
|
|
11
11
|
* Metadata for all the requests in the request builder.
|
|
12
12
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../conversations/my/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,4CAA4C,EAAE,0CAA0C,EAA6B,2BAA2B,EAAuE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../conversations/my/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,4CAA4C,EAAE,0CAA0C,EAA6B,2BAA2B,EAAuE,MAAM,uBAAuB,CAAC;AA+D9P;;GAEG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,sIAAsI,CAAC;AAClL;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAqB;IAC9D,IAAI,EAAE;QACF,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;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,4CAA4C;QAClE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,2BAA2B;QAClD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -402,6 +402,10 @@ export interface AppointmentResponse extends AdditionalDataHolder, Parsable {
|
|
|
402
402
|
* Public Leadping API schema for automation action data.
|
|
403
403
|
*/
|
|
404
404
|
export interface AutomationAction extends AdditionalDataHolder, Parsable {
|
|
405
|
+
/**
|
|
406
|
+
* Optional name shown in the automation editor in place of the generated action title.
|
|
407
|
+
*/
|
|
408
|
+
displayName?: string | null;
|
|
405
409
|
/**
|
|
406
410
|
* Unique Leadping identifier for this automation action.
|
|
407
411
|
*/
|
|
@@ -531,6 +535,10 @@ export interface AutomationCondition extends AdditionalDataHolder, Parsable {
|
|
|
531
535
|
* Automation comparison operator used by this condition.
|
|
532
536
|
*/
|
|
533
537
|
operator?: string | null;
|
|
538
|
+
/**
|
|
539
|
+
* The priority property
|
|
540
|
+
*/
|
|
541
|
+
priority?: number | null;
|
|
534
542
|
/**
|
|
535
543
|
* Key-value settings that configure how this automation condition behaves.
|
|
536
544
|
*/
|
|
@@ -696,6 +704,18 @@ export interface AutomationPreviewRequest extends AdditionalDataHolder, Parsable
|
|
|
696
704
|
* Public Leadping API schema for automation request snapshot data.
|
|
697
705
|
*/
|
|
698
706
|
automation?: AutomationRequestSnapshot | null;
|
|
707
|
+
/**
|
|
708
|
+
* The decisionActionId property
|
|
709
|
+
*/
|
|
710
|
+
decisionActionId?: string | null;
|
|
711
|
+
/**
|
|
712
|
+
* The exampleReply property
|
|
713
|
+
*/
|
|
714
|
+
exampleReply?: string | null;
|
|
715
|
+
/**
|
|
716
|
+
* The previousMessage property
|
|
717
|
+
*/
|
|
718
|
+
previousMessage?: string | null;
|
|
699
719
|
/**
|
|
700
720
|
* Automation trigger type that starts the workflow.
|
|
701
721
|
*/
|
|
@@ -717,6 +737,10 @@ export interface AutomationPreviewResponse extends AdditionalDataHolder, Parsabl
|
|
|
717
737
|
* Example payload clients can use to understand this automation preview response format.
|
|
718
738
|
*/
|
|
719
739
|
samplePayload?: AutomationPreviewResponse_samplePayload | null;
|
|
740
|
+
/**
|
|
741
|
+
* The selectedConnectionId property
|
|
742
|
+
*/
|
|
743
|
+
selectedConnectionId?: string | null;
|
|
720
744
|
/**
|
|
721
745
|
* Automation trigger type that starts the workflow.
|
|
722
746
|
*/
|
|
@@ -756,7 +780,7 @@ export interface AutomationRequest extends AdditionalDataHolder, Parsable {
|
|
|
756
780
|
*/
|
|
757
781
|
description?: string | null;
|
|
758
782
|
/**
|
|
759
|
-
*
|
|
783
|
+
* Set to true to enable a valid workflow or false to save it disabled. When omitted on update, an active workflow stays enabled only if the edited definition is runnable.
|
|
760
784
|
*/
|
|
761
785
|
enabled?: boolean | null;
|
|
762
786
|
/**
|
|
@@ -771,6 +795,10 @@ export interface AutomationRequest extends AdditionalDataHolder, Parsable {
|
|
|
771
795
|
* Scope that limits where this automation configuration request applies in Leadping.
|
|
772
796
|
*/
|
|
773
797
|
scope?: string | null;
|
|
798
|
+
/**
|
|
799
|
+
* Ends an enrolled lead’s run when an inbound SMS or MMS arrives.
|
|
800
|
+
*/
|
|
801
|
+
stopOnReply?: boolean | null;
|
|
774
802
|
/**
|
|
775
803
|
* Time zone used by workflow time and day conditions in preview and runtime. New workflows default to the organization's time zone.
|
|
776
804
|
*/
|
|
@@ -840,6 +868,10 @@ export interface AutomationRequestSnapshot extends AdditionalDataHolder, Parsabl
|
|
|
840
868
|
* Scope that limits where this automation request snapshot applies in Leadping.
|
|
841
869
|
*/
|
|
842
870
|
scope?: string | null;
|
|
871
|
+
/**
|
|
872
|
+
* Ends an enrolled lead’s run when an inbound SMS or MMS arrives.
|
|
873
|
+
*/
|
|
874
|
+
stopOnReply?: boolean | null;
|
|
843
875
|
/**
|
|
844
876
|
* Time zone used by workflow time and day conditions in preview and runtime. Defaults to UTC.
|
|
845
877
|
*/
|
|
@@ -933,6 +965,10 @@ export interface AutomationResponse extends AdditionalDataHolder, Parsable {
|
|
|
933
965
|
* Scope that limits where this automation configuration response applies in Leadping.
|
|
934
966
|
*/
|
|
935
967
|
scope?: string | null;
|
|
968
|
+
/**
|
|
969
|
+
* Ends an enrolled lead’s run when an inbound SMS or MMS arrives.
|
|
970
|
+
*/
|
|
971
|
+
stopOnReply?: boolean | null;
|
|
936
972
|
/**
|
|
937
973
|
* Time zone used by workflow time and day conditions in preview and runtime. Defaults to UTC.
|
|
938
974
|
*/
|
|
@@ -1016,6 +1052,10 @@ export interface AutomationRunRecord extends AdditionalDataHolder, Parsable {
|
|
|
1016
1052
|
* Number of processing attempts made for this workflow or delivery request.
|
|
1017
1053
|
*/
|
|
1018
1054
|
processingAttempts?: number | null;
|
|
1055
|
+
/**
|
|
1056
|
+
* The replyEventId property
|
|
1057
|
+
*/
|
|
1058
|
+
replyEventId?: string | null;
|
|
1019
1059
|
/**
|
|
1020
1060
|
* Human-readable reason explaining why Leadping skipped this automation run.
|
|
1021
1061
|
*/
|
|
@@ -1028,6 +1068,10 @@ export interface AutomationRunRecord extends AdditionalDataHolder, Parsable {
|
|
|
1028
1068
|
* Current lifecycle status for this automation run record in the Leadping API.
|
|
1029
1069
|
*/
|
|
1030
1070
|
status?: string | null;
|
|
1071
|
+
/**
|
|
1072
|
+
* The stopOnReply property
|
|
1073
|
+
*/
|
|
1074
|
+
stopOnReply?: boolean | null;
|
|
1031
1075
|
/**
|
|
1032
1076
|
* Identifier of the trigger node selected when this run was queued.
|
|
1033
1077
|
*/
|
|
@@ -1446,6 +1490,10 @@ export interface AutomationWorkflowRunResponse extends AdditionalDataHolder, Par
|
|
|
1446
1490
|
* Unique identifier of the organization associated with this Leadping automation workflow run.
|
|
1447
1491
|
*/
|
|
1448
1492
|
organizationId?: string | null;
|
|
1493
|
+
/**
|
|
1494
|
+
* Inbound message that stopped the run.
|
|
1495
|
+
*/
|
|
1496
|
+
replyEventId?: string | null;
|
|
1449
1497
|
/**
|
|
1450
1498
|
* Total number of retry records represented by this Leadping automation workflow run.
|
|
1451
1499
|
*/
|
|
@@ -1848,6 +1896,12 @@ export interface ChangeBillingPlanRequest extends AdditionalDataHolder, Parsable
|
|
|
1848
1896
|
*/
|
|
1849
1897
|
billingPlan?: BillingPlan | null;
|
|
1850
1898
|
}
|
|
1899
|
+
export interface CloneAutomationRequest extends AdditionalDataHolder, Parsable {
|
|
1900
|
+
/**
|
|
1901
|
+
* The name of the new automation.
|
|
1902
|
+
*/
|
|
1903
|
+
name?: string | null;
|
|
1904
|
+
}
|
|
1851
1905
|
/**
|
|
1852
1906
|
* Describes one durable diagnostic entry from the processing of a communication.
|
|
1853
1907
|
*/
|
|
@@ -2483,6 +2537,12 @@ export declare function createCallRetryRequestFromDiscriminatorValue(parseNode:
|
|
|
2483
2537
|
* @returns {ChangeBillingPlanRequest}
|
|
2484
2538
|
*/
|
|
2485
2539
|
export declare function createChangeBillingPlanRequestFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
2540
|
+
/**
|
|
2541
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
2542
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
2543
|
+
* @returns {CloneAutomationRequest}
|
|
2544
|
+
*/
|
|
2545
|
+
export declare function createCloneAutomationRequestFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
2486
2546
|
/**
|
|
2487
2547
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
2488
2548
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -5172,6 +5232,12 @@ export declare function deserializeIntoCallRetryRequest(callRetryRequest?: Parti
|
|
|
5172
5232
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
5173
5233
|
*/
|
|
5174
5234
|
export declare function deserializeIntoChangeBillingPlanRequest(changeBillingPlanRequest?: Partial<ChangeBillingPlanRequest> | undefined): Record<string, (node: ParseNode) => void>;
|
|
5235
|
+
/**
|
|
5236
|
+
* The deserialization information for the current model
|
|
5237
|
+
* @param CloneAutomationRequest The instance to deserialize into.
|
|
5238
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
5239
|
+
*/
|
|
5240
|
+
export declare function deserializeIntoCloneAutomationRequest(cloneAutomationRequest?: Partial<CloneAutomationRequest> | undefined): Record<string, (node: ParseNode) => void>;
|
|
5175
5241
|
/**
|
|
5176
5242
|
* The deserialization information for the current model
|
|
5177
5243
|
* @param CommunicationConsoleEntry The instance to deserialize into.
|
|
@@ -12767,6 +12833,13 @@ export declare function serializeCallRetryRequest(writer: SerializationWriter, c
|
|
|
12767
12833
|
* @param writer Serialization writer to use to serialize this model
|
|
12768
12834
|
*/
|
|
12769
12835
|
export declare function serializeChangeBillingPlanRequest(writer: SerializationWriter, changeBillingPlanRequest?: Partial<ChangeBillingPlanRequest> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
12836
|
+
/**
|
|
12837
|
+
* Serializes information the current object
|
|
12838
|
+
* @param CloneAutomationRequest The instance to serialize from.
|
|
12839
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
12840
|
+
* @param writer Serialization writer to use to serialize this model
|
|
12841
|
+
*/
|
|
12842
|
+
export declare function serializeCloneAutomationRequest(writer: SerializationWriter, cloneAutomationRequest?: Partial<CloneAutomationRequest> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
12770
12843
|
/**
|
|
12771
12844
|
* Serializes information the current object
|
|
12772
12845
|
* @param CommunicationConsoleEntry The instance to serialize from.
|