@epilot/sdk 2.9.0 → 2.9.1
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/LICENSE +21 -0
- package/README.md +1 -0
- package/definitions/access-token-runtime.json +1 -1
- package/definitions/access-token.json +155 -1
- package/definitions/automation.json +120 -0
- package/definitions/blueprint-manifest-runtime.json +1 -1
- package/definitions/blueprint-manifest.json +571 -1
- package/definitions/journey.json +19 -2
- package/definitions/snapshot-runtime.json +1 -0
- package/definitions/snapshot.json +935 -0
- package/definitions/targeting.json +5 -4
- package/definitions/user-runtime.json +1 -1
- package/definitions/user.json +441 -0
- package/dist/README-NBWAQWQS.js +7 -0
- package/dist/README-XCIDDEAE.cjs +7 -0
- package/dist/{_index-DB2VV4PQ.cjs → _index-D5TTZP5F.cjs} +4 -1
- package/dist/{_index-5FB6F5YY.js → _index-UY46ZN47.js} +3 -0
- package/dist/access-token-GD6REL4U.js +7 -0
- package/dist/access-token-NQ5BLMOW.cjs +7 -0
- package/dist/{access-token-runtime-KCKGT4O7.js → access-token-runtime-2PSLN2U3.js} +1 -1
- package/dist/{access-token-runtime-NZWZJPWV.cjs → access-token-runtime-B6Z7JLUS.cjs} +2 -2
- package/dist/{access-token.d-CnmUTOlq.d.cts → access-token.d-CegaQmrK.d.cts} +165 -5
- package/dist/{access-token.d-CnmUTOlq.d.ts → access-token.d-CegaQmrK.d.ts} +165 -5
- package/dist/{ai-agents.d-OkXfr2bz.d.cts → ai-agents.d-CC5IjXrs.d.cts} +0 -2
- package/dist/{ai-agents.d-OkXfr2bz.d.ts → ai-agents.d-CC5IjXrs.d.ts} +0 -2
- package/dist/apis/access-token.cjs +8 -8
- package/dist/apis/access-token.d.cts +2 -2
- package/dist/apis/access-token.d.ts +2 -2
- package/dist/apis/access-token.js +2 -2
- package/dist/apis/address-suggestions.cjs +6 -6
- package/dist/apis/address-suggestions.js +1 -1
- package/dist/apis/address.cjs +6 -6
- package/dist/apis/address.js +1 -1
- package/dist/apis/ai-agents.cjs +6 -6
- package/dist/apis/ai-agents.d.cts +2 -2
- package/dist/apis/ai-agents.d.ts +2 -2
- package/dist/apis/ai-agents.js +1 -1
- package/dist/apis/app.cjs +6 -6
- package/dist/apis/app.js +1 -1
- package/dist/apis/audit-logs.cjs +6 -6
- package/dist/apis/audit-logs.js +1 -1
- package/dist/apis/automation.cjs +6 -6
- package/dist/apis/automation.d.cts +2 -2
- package/dist/apis/automation.d.ts +2 -2
- package/dist/apis/automation.js +1 -1
- package/dist/apis/billing.cjs +6 -6
- package/dist/apis/billing.js +1 -1
- package/dist/apis/blueprint-manifest.cjs +8 -8
- package/dist/apis/blueprint-manifest.d.cts +2 -2
- package/dist/apis/blueprint-manifest.d.ts +2 -2
- package/dist/apis/blueprint-manifest.js +2 -2
- package/dist/apis/calendar.cjs +6 -6
- package/dist/apis/calendar.js +1 -1
- package/dist/apis/configuration-hub.cjs +6 -6
- package/dist/apis/configuration-hub.js +1 -1
- package/dist/apis/consent.cjs +6 -6
- package/dist/apis/consent.js +1 -1
- package/dist/apis/customer-portal.cjs +6 -6
- package/dist/apis/customer-portal.js +1 -1
- package/dist/apis/dashboard.cjs +6 -6
- package/dist/apis/dashboard.js +1 -1
- package/dist/apis/data-governance.cjs +6 -6
- package/dist/apis/data-governance.js +1 -1
- package/dist/apis/deduplication.cjs +6 -6
- package/dist/apis/deduplication.js +1 -1
- package/dist/apis/design.cjs +6 -6
- package/dist/apis/design.js +1 -1
- package/dist/apis/document.cjs +6 -6
- package/dist/apis/document.js +1 -1
- package/dist/apis/email-settings.cjs +6 -6
- package/dist/apis/email-settings.js +1 -1
- package/dist/apis/email-template.cjs +6 -6
- package/dist/apis/email-template.js +1 -1
- package/dist/apis/entity-mapping.cjs +6 -6
- package/dist/apis/entity-mapping.js +1 -1
- package/dist/apis/entity.cjs +6 -6
- package/dist/apis/entity.js +1 -1
- package/dist/apis/environments.cjs +6 -6
- package/dist/apis/environments.js +1 -1
- package/dist/apis/event-catalog.cjs +6 -6
- package/dist/apis/event-catalog.js +1 -1
- package/dist/apis/file.cjs +6 -6
- package/dist/apis/file.js +1 -1
- package/dist/apis/iban.cjs +6 -6
- package/dist/apis/iban.js +1 -1
- package/dist/apis/integration-toolkit.cjs +6 -6
- package/dist/apis/integration-toolkit.js +1 -1
- package/dist/apis/journey.cjs +6 -6
- package/dist/apis/journey.d.cts +2 -2
- package/dist/apis/journey.d.ts +2 -2
- package/dist/apis/journey.js +1 -1
- package/dist/apis/kanban.cjs +6 -6
- package/dist/apis/kanban.js +1 -1
- package/dist/apis/message.cjs +6 -6
- package/dist/apis/message.js +1 -1
- package/dist/apis/metering.cjs +6 -6
- package/dist/apis/metering.js +1 -1
- package/dist/apis/notes.cjs +6 -6
- package/dist/apis/notes.js +1 -1
- package/dist/apis/notification.cjs +6 -6
- package/dist/apis/notification.js +1 -1
- package/dist/apis/organization.cjs +6 -6
- package/dist/apis/organization.js +1 -1
- package/dist/apis/partner-directory.cjs +6 -6
- package/dist/apis/partner-directory.js +1 -1
- package/dist/apis/permissions.cjs +6 -6
- package/dist/apis/permissions.js +1 -1
- package/dist/apis/pricing-tier.cjs +6 -6
- package/dist/apis/pricing-tier.js +1 -1
- package/dist/apis/pricing.cjs +6 -6
- package/dist/apis/pricing.js +1 -1
- package/dist/apis/purpose.cjs +6 -6
- package/dist/apis/purpose.js +1 -1
- package/dist/apis/query.cjs +6 -6
- package/dist/apis/query.js +1 -1
- package/dist/apis/sandbox.cjs +6 -6
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/sharing.cjs +6 -6
- package/dist/apis/sharing.js +1 -1
- package/dist/apis/snapshot.cjs +38 -0
- package/dist/apis/snapshot.d.cts +18 -0
- package/dist/apis/snapshot.d.ts +18 -0
- package/dist/apis/snapshot.js +38 -0
- package/dist/apis/submission.cjs +6 -6
- package/dist/apis/submission.js +1 -1
- package/dist/apis/target.cjs +6 -6
- package/dist/apis/target.js +1 -1
- package/dist/apis/targeting.cjs +6 -6
- package/dist/apis/targeting.d.cts +2 -2
- package/dist/apis/targeting.d.ts +2 -2
- package/dist/apis/targeting.js +1 -1
- package/dist/apis/template-variables.cjs +6 -6
- package/dist/apis/template-variables.js +1 -1
- package/dist/apis/user.cjs +8 -8
- package/dist/apis/user.d.cts +2 -2
- package/dist/apis/user.d.ts +2 -2
- package/dist/apis/user.js +2 -2
- package/dist/apis/validation-rules.cjs +6 -6
- package/dist/apis/validation-rules.js +1 -1
- package/dist/apis/webhooks.cjs +6 -6
- package/dist/apis/webhooks.js +1 -1
- package/dist/apis/workflow-definition.cjs +6 -6
- package/dist/apis/workflow-definition.js +1 -1
- package/dist/apis/workflow.cjs +6 -6
- package/dist/apis/workflow.js +1 -1
- package/dist/automation-S6NFS5KU.cjs +7 -0
- package/dist/automation-W75XZG7B.js +7 -0
- package/dist/{automation.d-Du6-uiz5.d.cts → automation.d-DS_YXDE8.d.cts} +300 -1
- package/dist/{automation.d-Du6-uiz5.d.ts → automation.d-DS_YXDE8.d.ts} +300 -1
- package/dist/blueprint-manifest-WHYSBU66.cjs +7 -0
- package/dist/blueprint-manifest-WZVBTKUL.js +7 -0
- package/dist/{blueprint-manifest-runtime-FRLU3ZSF.js → blueprint-manifest-runtime-2344IUIE.js} +1 -1
- package/dist/{blueprint-manifest-runtime-EIDOROIQ.cjs → blueprint-manifest-runtime-WU5MWPVT.cjs} +2 -2
- package/dist/{blueprint-manifest.d-B8yDxagC.d.cts → blueprint-manifest.d-2-TORV8o.d.cts} +926 -4
- package/dist/{blueprint-manifest.d-B8yDxagC.d.ts → blueprint-manifest.d-2-TORV8o.d.ts} +926 -4
- package/dist/chunk-54QNWEPZ.js +14 -0
- package/dist/{chunk-CULH5PIN.cjs → chunk-6V3NYADA.cjs} +13 -11
- package/dist/chunk-NFIYEMMM.js +14 -0
- package/dist/{chunk-XSE4CFSM.js → chunk-OHHHS4HH.js} +1 -1
- package/dist/chunk-OWXEZ56F.cjs +14 -0
- package/dist/{chunk-RZ4ABDOF.js → chunk-QGP5WMHK.js} +13 -11
- package/dist/{chunk-OXJOO2YF.cjs → chunk-S5HBBTKM.cjs} +1 -1
- package/dist/{chunk-NGHCQ2FA.cjs → chunk-T57MT6J5.cjs} +1 -1
- package/dist/{chunk-4YBWMDFP.js → chunk-UWGWRGGB.js} +1 -1
- package/dist/chunk-YXJ4PBFQ.cjs +14 -0
- package/dist/index.cjs +24 -16
- package/dist/index.d.cts +23 -21
- package/dist/index.d.ts +23 -21
- package/dist/index.js +14 -6
- package/dist/journey-LHVSSVTG.cjs +7 -0
- package/dist/journey-NXL264XW.js +7 -0
- package/dist/{journey.d-BenIUWaO.d.ts → journey.d-B1sOeMHw.d.cts} +16 -3
- package/dist/{journey.d-BenIUWaO.d.cts → journey.d-B1sOeMHw.d.ts} +16 -3
- package/dist/js-yaml-DLCVPJ7G.js +0 -0
- package/dist/snapshot-2HFERXRQ.js +7 -0
- package/dist/snapshot-UHCQAT4R.cjs +7 -0
- package/dist/snapshot-runtime-6DV42FVY.cjs +5 -0
- package/dist/snapshot-runtime-IW57MINC.js +5 -0
- package/dist/snapshot.d-CqefmvuB.d.cts +724 -0
- package/dist/snapshot.d-CqefmvuB.d.ts +724 -0
- package/dist/{targeting-DAFJBPIZ.cjs → targeting-WC62BBZN.cjs} +1 -1
- package/dist/{targeting-TGPCRRI6.js → targeting-X4Y2ODBT.js} +1 -1
- package/dist/{targeting.d-DxHQbn7-.d.cts → targeting.d-0rNF7ErD.d.cts} +11 -4
- package/dist/{targeting.d-DxHQbn7-.d.ts → targeting.d-0rNF7ErD.d.ts} +11 -4
- package/dist/user-3SLAEEVD.cjs +7 -0
- package/dist/user-PRUYBXQV.js +7 -0
- package/dist/{user-runtime-U4HYUWJU.js → user-runtime-6ICV2Y73.js} +1 -1
- package/dist/user-runtime-Y3227ETX.cjs +5 -0
- package/dist/{user.d-D18fe97W.d.cts → user.d-L-C7_K84.d.cts} +421 -1
- package/dist/{user.d-D18fe97W.d.ts → user.d-L-C7_K84.d.ts} +421 -1
- package/docs/access-token.md +111 -3
- package/docs/automation.md +180 -37
- package/docs/blueprint-manifest.md +421 -95
- package/docs/journey.md +28 -8
- package/docs/snapshot.md +607 -0
- package/docs/targeting.md +6 -3
- package/docs/user.md +321 -8
- package/package.json +20 -12
- package/definitions/focus-pocus-runtime.json +0 -1
- package/definitions/focus-pocus.json +0 -757
- package/dist/README-46VYEGGW.js +0 -7
- package/dist/README-IVBISSWB.cjs +0 -7
- package/dist/access-token-6BJDZSFE.cjs +0 -7
- package/dist/access-token-GSQZLDXR.js +0 -7
- package/dist/automation-BMO7ZFTN.cjs +0 -7
- package/dist/automation-MEZTSUR3.js +0 -7
- package/dist/blueprint-manifest-6DEYW5MW.js +0 -7
- package/dist/blueprint-manifest-GCV7H74X.cjs +0 -7
- package/dist/chunk-3XKBB5AE.js +0 -14
- package/dist/chunk-Z5TVWG3I.cjs +0 -14
- package/dist/journey-4DIIPRU4.js +0 -7
- package/dist/journey-ATC3Y5AW.cjs +0 -7
- package/dist/user-7ZN2XO7G.cjs +0 -7
- package/dist/user-ZK7BK6VY.js +0 -7
- package/dist/user-runtime-7O2HLFVQ.cjs +0 -5
|
@@ -55,6 +55,7 @@ declare namespace Components {
|
|
|
55
55
|
* Result of the condition evaluation
|
|
56
56
|
*/
|
|
57
57
|
evaluationResult?: boolean;
|
|
58
|
+
error_output?: ErrorOutput;
|
|
58
59
|
statements?: /**
|
|
59
60
|
* example:
|
|
60
61
|
* {
|
|
@@ -670,6 +671,11 @@ declare namespace Components {
|
|
|
670
671
|
* Schedule Id which indicates the schedule of the action
|
|
671
672
|
*/
|
|
672
673
|
schedule_id?: string;
|
|
674
|
+
/**
|
|
675
|
+
* Id of a loop scope defined on the parent flow. When set, the action runs once per item resolved from the loop's source_path. All actions sharing the same loop_id must be contiguous in the actions array.
|
|
676
|
+
*
|
|
677
|
+
*/
|
|
678
|
+
loop_id?: string;
|
|
673
679
|
execution_status?: ExecutionStatus;
|
|
674
680
|
started_at?: string;
|
|
675
681
|
updated_at?: string;
|
|
@@ -682,6 +688,11 @@ declare namespace Components {
|
|
|
682
688
|
};
|
|
683
689
|
error_output?: ErrorOutput;
|
|
684
690
|
retry_strategy?: /* different behaviors for retrying failed execution actions. */ RetryStrategy;
|
|
691
|
+
/**
|
|
692
|
+
* For looped actions, an archive of completed iterations. The action's own execution_status / outputs / error_output always reflect the current (latest) iteration. The previous iteration's state is pushed here before the action is reset for the next pass.
|
|
693
|
+
*
|
|
694
|
+
*/
|
|
695
|
+
iterations?: /* A snapshot of a single completed pass through a looped action. */ AutomationActionIteration[];
|
|
685
696
|
}
|
|
686
697
|
export interface AssignThreadConfig {
|
|
687
698
|
/**
|
|
@@ -768,6 +779,11 @@ declare namespace Components {
|
|
|
768
779
|
* Schedule Id which indicates the schedule of the action
|
|
769
780
|
*/
|
|
770
781
|
schedule_id?: string;
|
|
782
|
+
/**
|
|
783
|
+
* Id of a loop scope defined on the parent flow. When set, the action runs once per item resolved from the loop's source_path. All actions sharing the same loop_id must be contiguous in the actions array.
|
|
784
|
+
*
|
|
785
|
+
*/
|
|
786
|
+
loop_id?: string;
|
|
771
787
|
execution_status?: ExecutionStatus;
|
|
772
788
|
started_at?: string;
|
|
773
789
|
updated_at?: string;
|
|
@@ -780,6 +796,11 @@ declare namespace Components {
|
|
|
780
796
|
};
|
|
781
797
|
error_output?: ErrorOutput;
|
|
782
798
|
retry_strategy?: /* different behaviors for retrying failed execution actions. */ RetryStrategy;
|
|
799
|
+
/**
|
|
800
|
+
* For looped actions, an archive of completed iterations. The action's own execution_status / outputs / error_output always reflect the current (latest) iteration. The previous iteration's state is pushed here before the action is reset for the next pass.
|
|
801
|
+
*
|
|
802
|
+
*/
|
|
803
|
+
iterations?: /* A snapshot of a single completed pass through a looped action. */ AutomationActionIteration[];
|
|
783
804
|
}
|
|
784
805
|
export interface AutomationActionConfig {
|
|
785
806
|
id?: /**
|
|
@@ -831,6 +852,11 @@ declare namespace Components {
|
|
|
831
852
|
* Schedule Id which indicates the schedule of the action
|
|
832
853
|
*/
|
|
833
854
|
schedule_id?: string;
|
|
855
|
+
/**
|
|
856
|
+
* Id of a loop scope defined on the parent flow. When set, the action runs once per item resolved from the loop's source_path. All actions sharing the same loop_id must be contiguous in the actions array.
|
|
857
|
+
*
|
|
858
|
+
*/
|
|
859
|
+
loop_id?: string;
|
|
834
860
|
}
|
|
835
861
|
export interface AutomationActionExecutionState {
|
|
836
862
|
execution_status?: ExecutionStatus;
|
|
@@ -845,12 +871,33 @@ declare namespace Components {
|
|
|
845
871
|
};
|
|
846
872
|
error_output?: ErrorOutput;
|
|
847
873
|
retry_strategy?: /* different behaviors for retrying failed execution actions. */ RetryStrategy;
|
|
874
|
+
/**
|
|
875
|
+
* For looped actions, an archive of completed iterations. The action's own execution_status / outputs / error_output always reflect the current (latest) iteration. The previous iteration's state is pushed here before the action is reset for the next pass.
|
|
876
|
+
*
|
|
877
|
+
*/
|
|
878
|
+
iterations?: /* A snapshot of a single completed pass through a looped action. */ AutomationActionIteration[];
|
|
848
879
|
}
|
|
849
880
|
/**
|
|
850
881
|
* example:
|
|
851
882
|
* 9ec3711b-db63-449c-b894-54d5bb622a8f
|
|
852
883
|
*/
|
|
853
884
|
export type AutomationActionId = string;
|
|
885
|
+
/**
|
|
886
|
+
* A snapshot of a single completed pass through a looped action.
|
|
887
|
+
*/
|
|
888
|
+
export interface AutomationActionIteration {
|
|
889
|
+
/**
|
|
890
|
+
* Zero-based iteration index within the loop scope.
|
|
891
|
+
*/
|
|
892
|
+
index: number;
|
|
893
|
+
execution_status: ExecutionStatus;
|
|
894
|
+
started_at?: string; // date-time
|
|
895
|
+
ended_at?: string; // date-time
|
|
896
|
+
outputs?: {
|
|
897
|
+
[name: string]: any;
|
|
898
|
+
};
|
|
899
|
+
error_output?: ErrorOutput;
|
|
900
|
+
}
|
|
854
901
|
export interface AutomationExecution {
|
|
855
902
|
id: /**
|
|
856
903
|
* example:
|
|
@@ -917,6 +964,18 @@ declare namespace Components {
|
|
|
917
964
|
version?: number;
|
|
918
965
|
trigger_event?: TriggerEventManual | TriggerEventEntityActivity | TriggerEventEntityOperation | TriggerEventFlowAutomationTask | TriggerEventMessaging;
|
|
919
966
|
workflow_context?: WorkflowExecutionContext;
|
|
967
|
+
/**
|
|
968
|
+
* Loop scope definitions propagated from the flow onto the execution record. Each loop has an id and a source_path resolved against the trigger entity at execution time. Actions referencing a loop's id via their loop_id property run once per item in the resolved array.
|
|
969
|
+
*
|
|
970
|
+
*/
|
|
971
|
+
loops?: /* A loop scope on an automation flow. */ AutomationLoop[];
|
|
972
|
+
/**
|
|
973
|
+
* Runtime iteration state, keyed by loop_id. Tracks the current_index and total for each active loop scope. Entries are removed once a loop exits.
|
|
974
|
+
*
|
|
975
|
+
*/
|
|
976
|
+
loop_state?: {
|
|
977
|
+
[name: string]: AutomationLoopState;
|
|
978
|
+
};
|
|
920
979
|
}
|
|
921
980
|
/**
|
|
922
981
|
* example:
|
|
@@ -971,6 +1030,11 @@ declare namespace Components {
|
|
|
971
1030
|
entity_schema?: string;
|
|
972
1031
|
conditions?: ActionCondition[];
|
|
973
1032
|
schedules?: ActionSchedule[];
|
|
1033
|
+
/**
|
|
1034
|
+
* Loop scope definitions. Each loop has an id and a source_path resolved against the trigger entity at execution time. Actions referencing a loop's id via their loop_id property run once per item in the resolved array. Loop members must be contiguous in the actions array.
|
|
1035
|
+
*
|
|
1036
|
+
*/
|
|
1037
|
+
loops?: /* A loop scope on an automation flow. */ AutomationLoop[];
|
|
974
1038
|
/**
|
|
975
1039
|
* The actions (nodes) of the automation flow
|
|
976
1040
|
*/
|
|
@@ -1043,6 +1107,38 @@ declare namespace Components {
|
|
|
1043
1107
|
* 7791b04a-16d2-44a2-9af9-2d59c25c512f
|
|
1044
1108
|
*/
|
|
1045
1109
|
export type AutomationFlowId = string;
|
|
1110
|
+
/**
|
|
1111
|
+
* A loop scope on an automation flow.
|
|
1112
|
+
*/
|
|
1113
|
+
export interface AutomationLoop {
|
|
1114
|
+
/**
|
|
1115
|
+
* Stable identifier referenced by AutomationActionConfig.loop_id
|
|
1116
|
+
* example:
|
|
1117
|
+
* loop_contracts
|
|
1118
|
+
*/
|
|
1119
|
+
id: string;
|
|
1120
|
+
/**
|
|
1121
|
+
* Path resolved against the trigger entity to produce the array of iteration items. e.g. submission.steps[0]['Contracts'].
|
|
1122
|
+
*
|
|
1123
|
+
* example:
|
|
1124
|
+
* submission.steps[0]['Contracts']
|
|
1125
|
+
*/
|
|
1126
|
+
source_path: string;
|
|
1127
|
+
/**
|
|
1128
|
+
* How source_path is interpreted. 'journey-multi-select' is the v1 source type (journey card block with multi-select). Future source types (e.g. 'previous-action-outputs', 'entity-relation') will be added here.
|
|
1129
|
+
*
|
|
1130
|
+
*/
|
|
1131
|
+
source_type?: "journey-multi-select" | "previous-action-outputs" | "entity-relation";
|
|
1132
|
+
/**
|
|
1133
|
+
* Maximum number of iterations. 0 / omitted = iterate the full resolved array.
|
|
1134
|
+
*
|
|
1135
|
+
*/
|
|
1136
|
+
length?: number;
|
|
1137
|
+
}
|
|
1138
|
+
export interface AutomationLoopState {
|
|
1139
|
+
current_index: number;
|
|
1140
|
+
total: number;
|
|
1141
|
+
}
|
|
1046
1142
|
export interface AutomationTrigger {
|
|
1047
1143
|
/**
|
|
1048
1144
|
* example:
|
|
@@ -1306,6 +1402,11 @@ declare namespace Components {
|
|
|
1306
1402
|
* Schedule Id which indicates the schedule of the action
|
|
1307
1403
|
*/
|
|
1308
1404
|
schedule_id?: string;
|
|
1405
|
+
/**
|
|
1406
|
+
* Id of a loop scope defined on the parent flow. When set, the action runs once per item resolved from the loop's source_path. All actions sharing the same loop_id must be contiguous in the actions array.
|
|
1407
|
+
*
|
|
1408
|
+
*/
|
|
1409
|
+
loop_id?: string;
|
|
1309
1410
|
execution_status?: ExecutionStatus;
|
|
1310
1411
|
started_at?: string;
|
|
1311
1412
|
updated_at?: string;
|
|
@@ -1318,6 +1419,11 @@ declare namespace Components {
|
|
|
1318
1419
|
};
|
|
1319
1420
|
error_output?: ErrorOutput;
|
|
1320
1421
|
retry_strategy?: /* different behaviors for retrying failed execution actions. */ RetryStrategy;
|
|
1422
|
+
/**
|
|
1423
|
+
* For looped actions, an archive of completed iterations. The action's own execution_status / outputs / error_output always reflect the current (latest) iteration. The previous iteration's state is pushed here before the action is reset for the next pass.
|
|
1424
|
+
*
|
|
1425
|
+
*/
|
|
1426
|
+
iterations?: /* A snapshot of a single completed pass through a looped action. */ AutomationActionIteration[];
|
|
1321
1427
|
}
|
|
1322
1428
|
/**
|
|
1323
1429
|
* Creates an order entity with prices from journey
|
|
@@ -1370,6 +1476,11 @@ declare namespace Components {
|
|
|
1370
1476
|
* Schedule Id which indicates the schedule of the action
|
|
1371
1477
|
*/
|
|
1372
1478
|
schedule_id?: string;
|
|
1479
|
+
/**
|
|
1480
|
+
* Id of a loop scope defined on the parent flow. When set, the action runs once per item resolved from the loop's source_path. All actions sharing the same loop_id must be contiguous in the actions array.
|
|
1481
|
+
*
|
|
1482
|
+
*/
|
|
1483
|
+
loop_id?: string;
|
|
1373
1484
|
}
|
|
1374
1485
|
export interface CartCheckoutConfig {
|
|
1375
1486
|
/**
|
|
@@ -1514,6 +1625,11 @@ declare namespace Components {
|
|
|
1514
1625
|
* Schedule Id which indicates the schedule of the action
|
|
1515
1626
|
*/
|
|
1516
1627
|
schedule_id?: string;
|
|
1628
|
+
/**
|
|
1629
|
+
* Id of a loop scope defined on the parent flow. When set, the action runs once per item resolved from the loop's source_path. All actions sharing the same loop_id must be contiguous in the actions array.
|
|
1630
|
+
*
|
|
1631
|
+
*/
|
|
1632
|
+
loop_id?: string;
|
|
1517
1633
|
execution_status?: ExecutionStatus;
|
|
1518
1634
|
started_at?: string;
|
|
1519
1635
|
updated_at?: string;
|
|
@@ -1526,6 +1642,11 @@ declare namespace Components {
|
|
|
1526
1642
|
};
|
|
1527
1643
|
error_output?: ErrorOutput;
|
|
1528
1644
|
retry_strategy?: /* different behaviors for retrying failed execution actions. */ RetryStrategy;
|
|
1645
|
+
/**
|
|
1646
|
+
* For looped actions, an archive of completed iterations. The action's own execution_status / outputs / error_output always reflect the current (latest) iteration. The previous iteration's state is pushed here before the action is reset for the next pass.
|
|
1647
|
+
*
|
|
1648
|
+
*/
|
|
1649
|
+
iterations?: /* A snapshot of a single completed pass through a looped action. */ AutomationActionIteration[];
|
|
1529
1650
|
}
|
|
1530
1651
|
/**
|
|
1531
1652
|
* example:
|
|
@@ -1593,6 +1714,11 @@ declare namespace Components {
|
|
|
1593
1714
|
* Schedule Id which indicates the schedule of the action
|
|
1594
1715
|
*/
|
|
1595
1716
|
schedule_id?: string;
|
|
1717
|
+
/**
|
|
1718
|
+
* Id of a loop scope defined on the parent flow. When set, the action runs once per item resolved from the loop's source_path. All actions sharing the same loop_id must be contiguous in the actions array.
|
|
1719
|
+
*
|
|
1720
|
+
*/
|
|
1721
|
+
loop_id?: string;
|
|
1596
1722
|
}
|
|
1597
1723
|
export interface CreateDocumentConfig {
|
|
1598
1724
|
template_id?: string;
|
|
@@ -1676,6 +1802,11 @@ declare namespace Components {
|
|
|
1676
1802
|
* Schedule Id which indicates the schedule of the action
|
|
1677
1803
|
*/
|
|
1678
1804
|
schedule_id?: string;
|
|
1805
|
+
/**
|
|
1806
|
+
* Id of a loop scope defined on the parent flow. When set, the action runs once per item resolved from the loop's source_path. All actions sharing the same loop_id must be contiguous in the actions array.
|
|
1807
|
+
*
|
|
1808
|
+
*/
|
|
1809
|
+
loop_id?: string;
|
|
1679
1810
|
execution_status?: ExecutionStatus;
|
|
1680
1811
|
started_at?: string;
|
|
1681
1812
|
updated_at?: string;
|
|
@@ -1688,6 +1819,11 @@ declare namespace Components {
|
|
|
1688
1819
|
};
|
|
1689
1820
|
error_output?: ErrorOutput;
|
|
1690
1821
|
retry_strategy?: /* different behaviors for retrying failed execution actions. */ RetryStrategy;
|
|
1822
|
+
/**
|
|
1823
|
+
* For looped actions, an archive of completed iterations. The action's own execution_status / outputs / error_output always reflect the current (latest) iteration. The previous iteration's state is pushed here before the action is reset for the next pass.
|
|
1824
|
+
*
|
|
1825
|
+
*/
|
|
1826
|
+
iterations?: /* A snapshot of a single completed pass through a looped action. */ AutomationActionIteration[];
|
|
1691
1827
|
}
|
|
1692
1828
|
export type DiffAdded = FilterConditionOnEvent;
|
|
1693
1829
|
export type DiffDeleted = FilterConditionOnEvent;
|
|
@@ -2234,6 +2370,11 @@ declare namespace Components {
|
|
|
2234
2370
|
* Schedule Id which indicates the schedule of the action
|
|
2235
2371
|
*/
|
|
2236
2372
|
schedule_id?: string;
|
|
2373
|
+
/**
|
|
2374
|
+
* Id of a loop scope defined on the parent flow. When set, the action runs once per item resolved from the loop's source_path. All actions sharing the same loop_id must be contiguous in the actions array.
|
|
2375
|
+
*
|
|
2376
|
+
*/
|
|
2377
|
+
loop_id?: string;
|
|
2237
2378
|
execution_status?: ExecutionStatus;
|
|
2238
2379
|
started_at?: string;
|
|
2239
2380
|
updated_at?: string;
|
|
@@ -2246,6 +2387,11 @@ declare namespace Components {
|
|
|
2246
2387
|
};
|
|
2247
2388
|
error_output?: ErrorOutput;
|
|
2248
2389
|
retry_strategy?: /* different behaviors for retrying failed execution actions. */ RetryStrategy;
|
|
2390
|
+
/**
|
|
2391
|
+
* For looped actions, an archive of completed iterations. The action's own execution_status / outputs / error_output always reflect the current (latest) iteration. The previous iteration's state is pushed here before the action is reset for the next pass.
|
|
2392
|
+
*
|
|
2393
|
+
*/
|
|
2394
|
+
iterations?: /* A snapshot of a single completed pass through a looped action. */ AutomationActionIteration[];
|
|
2249
2395
|
}
|
|
2250
2396
|
/**
|
|
2251
2397
|
* example:
|
|
@@ -2316,6 +2462,11 @@ declare namespace Components {
|
|
|
2316
2462
|
* Schedule Id which indicates the schedule of the action
|
|
2317
2463
|
*/
|
|
2318
2464
|
schedule_id?: string;
|
|
2465
|
+
/**
|
|
2466
|
+
* Id of a loop scope defined on the parent flow. When set, the action runs once per item resolved from the loop's source_path. All actions sharing the same loop_id must be contiguous in the actions array.
|
|
2467
|
+
*
|
|
2468
|
+
*/
|
|
2469
|
+
loop_id?: string;
|
|
2319
2470
|
}
|
|
2320
2471
|
/**
|
|
2321
2472
|
* Configuration for cancelling a flow execution with selected reasons
|
|
@@ -2394,6 +2545,11 @@ declare namespace Components {
|
|
|
2394
2545
|
* Schedule Id which indicates the schedule of the action
|
|
2395
2546
|
*/
|
|
2396
2547
|
schedule_id?: string;
|
|
2548
|
+
/**
|
|
2549
|
+
* Id of a loop scope defined on the parent flow. When set, the action runs once per item resolved from the loop's source_path. All actions sharing the same loop_id must be contiguous in the actions array.
|
|
2550
|
+
*
|
|
2551
|
+
*/
|
|
2552
|
+
loop_id?: string;
|
|
2397
2553
|
execution_status?: ExecutionStatus;
|
|
2398
2554
|
started_at?: string;
|
|
2399
2555
|
updated_at?: string;
|
|
@@ -2406,6 +2562,11 @@ declare namespace Components {
|
|
|
2406
2562
|
};
|
|
2407
2563
|
error_output?: ErrorOutput;
|
|
2408
2564
|
retry_strategy?: /* different behaviors for retrying failed execution actions. */ RetryStrategy;
|
|
2565
|
+
/**
|
|
2566
|
+
* For looped actions, an archive of completed iterations. The action's own execution_status / outputs / error_output always reflect the current (latest) iteration. The previous iteration's state is pushed here before the action is reset for the next pass.
|
|
2567
|
+
*
|
|
2568
|
+
*/
|
|
2569
|
+
iterations?: /* A snapshot of a single completed pass through a looped action. */ AutomationActionIteration[];
|
|
2409
2570
|
}
|
|
2410
2571
|
/**
|
|
2411
2572
|
* example:
|
|
@@ -2471,6 +2632,11 @@ declare namespace Components {
|
|
|
2471
2632
|
* Schedule Id which indicates the schedule of the action
|
|
2472
2633
|
*/
|
|
2473
2634
|
schedule_id?: string;
|
|
2635
|
+
/**
|
|
2636
|
+
* Id of a loop scope defined on the parent flow. When set, the action runs once per item resolved from the loop's source_path. All actions sharing the same loop_id must be contiguous in the actions array.
|
|
2637
|
+
*
|
|
2638
|
+
*/
|
|
2639
|
+
loop_id?: string;
|
|
2474
2640
|
}
|
|
2475
2641
|
export interface ForwardEmailConfig {
|
|
2476
2642
|
/**
|
|
@@ -2570,6 +2736,11 @@ declare namespace Components {
|
|
|
2570
2736
|
* Schedule Id which indicates the schedule of the action
|
|
2571
2737
|
*/
|
|
2572
2738
|
schedule_id?: string;
|
|
2739
|
+
/**
|
|
2740
|
+
* Id of a loop scope defined on the parent flow. When set, the action runs once per item resolved from the loop's source_path. All actions sharing the same loop_id must be contiguous in the actions array.
|
|
2741
|
+
*
|
|
2742
|
+
*/
|
|
2743
|
+
loop_id?: string;
|
|
2573
2744
|
execution_status?: ExecutionStatus;
|
|
2574
2745
|
started_at?: string;
|
|
2575
2746
|
updated_at?: string;
|
|
@@ -2582,6 +2753,11 @@ declare namespace Components {
|
|
|
2582
2753
|
};
|
|
2583
2754
|
error_output?: ErrorOutput;
|
|
2584
2755
|
retry_strategy?: /* different behaviors for retrying failed execution actions. */ RetryStrategy;
|
|
2756
|
+
/**
|
|
2757
|
+
* For looped actions, an archive of completed iterations. The action's own execution_status / outputs / error_output always reflect the current (latest) iteration. The previous iteration's state is pushed here before the action is reset for the next pass.
|
|
2758
|
+
*
|
|
2759
|
+
*/
|
|
2760
|
+
iterations?: /* A snapshot of a single completed pass through a looped action. */ AutomationActionIteration[];
|
|
2585
2761
|
}
|
|
2586
2762
|
/**
|
|
2587
2763
|
* example:
|
|
@@ -2646,6 +2822,11 @@ declare namespace Components {
|
|
|
2646
2822
|
* Schedule Id which indicates the schedule of the action
|
|
2647
2823
|
*/
|
|
2648
2824
|
schedule_id?: string;
|
|
2825
|
+
/**
|
|
2826
|
+
* Id of a loop scope defined on the parent flow. When set, the action runs once per item resolved from the loop's source_path. All actions sharing the same loop_id must be contiguous in the actions array.
|
|
2827
|
+
*
|
|
2828
|
+
*/
|
|
2829
|
+
loop_id?: string;
|
|
2649
2830
|
}
|
|
2650
2831
|
export interface InformERPConfig {
|
|
2651
2832
|
entity_sources?: string[];
|
|
@@ -2720,6 +2901,11 @@ declare namespace Components {
|
|
|
2720
2901
|
* Schedule Id which indicates the schedule of the action
|
|
2721
2902
|
*/
|
|
2722
2903
|
schedule_id?: string;
|
|
2904
|
+
/**
|
|
2905
|
+
* Id of a loop scope defined on the parent flow. When set, the action runs once per item resolved from the loop's source_path. All actions sharing the same loop_id must be contiguous in the actions array.
|
|
2906
|
+
*
|
|
2907
|
+
*/
|
|
2908
|
+
loop_id?: string;
|
|
2723
2909
|
execution_status?: ExecutionStatus;
|
|
2724
2910
|
started_at?: string;
|
|
2725
2911
|
updated_at?: string;
|
|
@@ -2732,6 +2918,11 @@ declare namespace Components {
|
|
|
2732
2918
|
};
|
|
2733
2919
|
error_output?: ErrorOutput;
|
|
2734
2920
|
retry_strategy?: /* different behaviors for retrying failed execution actions. */ RetryStrategy;
|
|
2921
|
+
/**
|
|
2922
|
+
* For looped actions, an archive of completed iterations. The action's own execution_status / outputs / error_output always reflect the current (latest) iteration. The previous iteration's state is pushed here before the action is reset for the next pass.
|
|
2923
|
+
*
|
|
2924
|
+
*/
|
|
2925
|
+
iterations?: /* A snapshot of a single completed pass through a looped action. */ AutomationActionIteration[];
|
|
2735
2926
|
}
|
|
2736
2927
|
/**
|
|
2737
2928
|
* example:
|
|
@@ -2901,6 +3092,11 @@ declare namespace Components {
|
|
|
2901
3092
|
* Schedule Id which indicates the schedule of the action
|
|
2902
3093
|
*/
|
|
2903
3094
|
schedule_id?: string;
|
|
3095
|
+
/**
|
|
3096
|
+
* Id of a loop scope defined on the parent flow. When set, the action runs once per item resolved from the loop's source_path. All actions sharing the same loop_id must be contiguous in the actions array.
|
|
3097
|
+
*
|
|
3098
|
+
*/
|
|
3099
|
+
loop_id?: string;
|
|
2904
3100
|
}
|
|
2905
3101
|
export interface MapEntityConfig {
|
|
2906
3102
|
mapping_config?: MappingConfigRef;
|
|
@@ -3031,6 +3227,11 @@ declare namespace Components {
|
|
|
3031
3227
|
* Schedule Id which indicates the schedule of the action
|
|
3032
3228
|
*/
|
|
3033
3229
|
schedule_id?: string;
|
|
3230
|
+
/**
|
|
3231
|
+
* Id of a loop scope defined on the parent flow. When set, the action runs once per item resolved from the loop's source_path. All actions sharing the same loop_id must be contiguous in the actions array.
|
|
3232
|
+
*
|
|
3233
|
+
*/
|
|
3234
|
+
loop_id?: string;
|
|
3034
3235
|
execution_status?: ExecutionStatus;
|
|
3035
3236
|
started_at?: string;
|
|
3036
3237
|
updated_at?: string;
|
|
@@ -3043,6 +3244,11 @@ declare namespace Components {
|
|
|
3043
3244
|
};
|
|
3044
3245
|
error_output?: ErrorOutput;
|
|
3045
3246
|
retry_strategy?: /* different behaviors for retrying failed execution actions. */ RetryStrategy;
|
|
3247
|
+
/**
|
|
3248
|
+
* For looped actions, an archive of completed iterations. The action's own execution_status / outputs / error_output always reflect the current (latest) iteration. The previous iteration's state is pushed here before the action is reset for the next pass.
|
|
3249
|
+
*
|
|
3250
|
+
*/
|
|
3251
|
+
iterations?: /* A snapshot of a single completed pass through a looped action. */ AutomationActionIteration[];
|
|
3046
3252
|
}
|
|
3047
3253
|
export interface MoveThreadConfig {
|
|
3048
3254
|
/**
|
|
@@ -3218,6 +3424,11 @@ declare namespace Components {
|
|
|
3218
3424
|
* Schedule Id which indicates the schedule of the action
|
|
3219
3425
|
*/
|
|
3220
3426
|
schedule_id?: string;
|
|
3427
|
+
/**
|
|
3428
|
+
* Id of a loop scope defined on the parent flow. When set, the action runs once per item resolved from the loop's source_path. All actions sharing the same loop_id must be contiguous in the actions array.
|
|
3429
|
+
*
|
|
3430
|
+
*/
|
|
3431
|
+
loop_id?: string;
|
|
3221
3432
|
execution_status?: ExecutionStatus;
|
|
3222
3433
|
started_at?: string;
|
|
3223
3434
|
updated_at?: string;
|
|
@@ -3230,6 +3441,11 @@ declare namespace Components {
|
|
|
3230
3441
|
};
|
|
3231
3442
|
error_output?: ErrorOutput;
|
|
3232
3443
|
retry_strategy?: /* different behaviors for retrying failed execution actions. */ RetryStrategy;
|
|
3444
|
+
/**
|
|
3445
|
+
* For looped actions, an archive of completed iterations. The action's own execution_status / outputs / error_output always reflect the current (latest) iteration. The previous iteration's state is pushed here before the action is reset for the next pass.
|
|
3446
|
+
*
|
|
3447
|
+
*/
|
|
3448
|
+
iterations?: /* A snapshot of a single completed pass through a looped action. */ AutomationActionIteration[];
|
|
3233
3449
|
}
|
|
3234
3450
|
/**
|
|
3235
3451
|
* example:
|
|
@@ -3292,6 +3508,11 @@ declare namespace Components {
|
|
|
3292
3508
|
* Schedule Id which indicates the schedule of the action
|
|
3293
3509
|
*/
|
|
3294
3510
|
schedule_id?: string;
|
|
3511
|
+
/**
|
|
3512
|
+
* Id of a loop scope defined on the parent flow. When set, the action runs once per item resolved from the loop's source_path. All actions sharing the same loop_id must be contiguous in the actions array.
|
|
3513
|
+
*
|
|
3514
|
+
*/
|
|
3515
|
+
loop_id?: string;
|
|
3295
3516
|
}
|
|
3296
3517
|
export interface ReplyEmailConfig {
|
|
3297
3518
|
/**
|
|
@@ -3399,6 +3620,11 @@ declare namespace Components {
|
|
|
3399
3620
|
* Schedule Id which indicates the schedule of the action
|
|
3400
3621
|
*/
|
|
3401
3622
|
schedule_id?: string;
|
|
3623
|
+
/**
|
|
3624
|
+
* Id of a loop scope defined on the parent flow. When set, the action runs once per item resolved from the loop's source_path. All actions sharing the same loop_id must be contiguous in the actions array.
|
|
3625
|
+
*
|
|
3626
|
+
*/
|
|
3627
|
+
loop_id?: string;
|
|
3402
3628
|
execution_status?: ExecutionStatus;
|
|
3403
3629
|
started_at?: string;
|
|
3404
3630
|
updated_at?: string;
|
|
@@ -3411,6 +3637,11 @@ declare namespace Components {
|
|
|
3411
3637
|
};
|
|
3412
3638
|
error_output?: ErrorOutput;
|
|
3413
3639
|
retry_strategy?: /* different behaviors for retrying failed execution actions. */ RetryStrategy;
|
|
3640
|
+
/**
|
|
3641
|
+
* For looped actions, an archive of completed iterations. The action's own execution_status / outputs / error_output always reflect the current (latest) iteration. The previous iteration's state is pushed here before the action is reset for the next pass.
|
|
3642
|
+
*
|
|
3643
|
+
*/
|
|
3644
|
+
iterations?: /* A snapshot of a single completed pass through a looped action. */ AutomationActionIteration[];
|
|
3414
3645
|
}
|
|
3415
3646
|
/**
|
|
3416
3647
|
* example:
|
|
@@ -3472,6 +3703,11 @@ declare namespace Components {
|
|
|
3472
3703
|
* Schedule Id which indicates the schedule of the action
|
|
3473
3704
|
*/
|
|
3474
3705
|
schedule_id?: string;
|
|
3706
|
+
/**
|
|
3707
|
+
* Id of a loop scope defined on the parent flow. When set, the action runs once per item resolved from the loop's source_path. All actions sharing the same loop_id must be contiguous in the actions array.
|
|
3708
|
+
*
|
|
3709
|
+
*/
|
|
3710
|
+
loop_id?: string;
|
|
3475
3711
|
}
|
|
3476
3712
|
export interface SendEmailCondition {
|
|
3477
3713
|
_equals?: {
|
|
@@ -3683,6 +3919,11 @@ declare namespace Components {
|
|
|
3683
3919
|
* Schedule Id which indicates the schedule of the action
|
|
3684
3920
|
*/
|
|
3685
3921
|
schedule_id?: string;
|
|
3922
|
+
/**
|
|
3923
|
+
* Id of a loop scope defined on the parent flow. When set, the action runs once per item resolved from the loop's source_path. All actions sharing the same loop_id must be contiguous in the actions array.
|
|
3924
|
+
*
|
|
3925
|
+
*/
|
|
3926
|
+
loop_id?: string;
|
|
3686
3927
|
execution_status?: ExecutionStatus;
|
|
3687
3928
|
started_at?: string;
|
|
3688
3929
|
updated_at?: string;
|
|
@@ -3695,6 +3936,11 @@ declare namespace Components {
|
|
|
3695
3936
|
};
|
|
3696
3937
|
error_output?: ErrorOutput;
|
|
3697
3938
|
retry_strategy?: /* different behaviors for retrying failed execution actions. */ RetryStrategy;
|
|
3939
|
+
/**
|
|
3940
|
+
* For looped actions, an archive of completed iterations. The action's own execution_status / outputs / error_output always reflect the current (latest) iteration. The previous iteration's state is pushed here before the action is reset for the next pass.
|
|
3941
|
+
*
|
|
3942
|
+
*/
|
|
3943
|
+
iterations?: /* A snapshot of a single completed pass through a looped action. */ AutomationActionIteration[];
|
|
3698
3944
|
}
|
|
3699
3945
|
/**
|
|
3700
3946
|
* example:
|
|
@@ -3758,6 +4004,11 @@ declare namespace Components {
|
|
|
3758
4004
|
* Schedule Id which indicates the schedule of the action
|
|
3759
4005
|
*/
|
|
3760
4006
|
schedule_id?: string;
|
|
4007
|
+
/**
|
|
4008
|
+
* Id of a loop scope defined on the parent flow. When set, the action runs once per item resolved from the loop's source_path. All actions sharing the same loop_id must be contiguous in the actions array.
|
|
4009
|
+
*
|
|
4010
|
+
*/
|
|
4011
|
+
loop_id?: string;
|
|
3761
4012
|
}
|
|
3762
4013
|
/**
|
|
3763
4014
|
* Configuration for triggering an event catalog event
|
|
@@ -3913,6 +4164,11 @@ declare namespace Components {
|
|
|
3913
4164
|
* Schedule Id which indicates the schedule of the action
|
|
3914
4165
|
*/
|
|
3915
4166
|
schedule_id?: string;
|
|
4167
|
+
/**
|
|
4168
|
+
* Id of a loop scope defined on the parent flow. When set, the action runs once per item resolved from the loop's source_path. All actions sharing the same loop_id must be contiguous in the actions array.
|
|
4169
|
+
*
|
|
4170
|
+
*/
|
|
4171
|
+
loop_id?: string;
|
|
3916
4172
|
execution_status?: ExecutionStatus;
|
|
3917
4173
|
started_at?: string;
|
|
3918
4174
|
updated_at?: string;
|
|
@@ -3925,6 +4181,11 @@ declare namespace Components {
|
|
|
3925
4181
|
};
|
|
3926
4182
|
error_output?: ErrorOutput;
|
|
3927
4183
|
retry_strategy?: /* different behaviors for retrying failed execution actions. */ RetryStrategy;
|
|
4184
|
+
/**
|
|
4185
|
+
* For looped actions, an archive of completed iterations. The action's own execution_status / outputs / error_output always reflect the current (latest) iteration. The previous iteration's state is pushed here before the action is reset for the next pass.
|
|
4186
|
+
*
|
|
4187
|
+
*/
|
|
4188
|
+
iterations?: /* A snapshot of a single completed pass through a looped action. */ AutomationActionIteration[];
|
|
3928
4189
|
}
|
|
3929
4190
|
export interface TriggerShareEntityActionConfig {
|
|
3930
4191
|
id?: /**
|
|
@@ -3974,6 +4235,11 @@ declare namespace Components {
|
|
|
3974
4235
|
* Schedule Id which indicates the schedule of the action
|
|
3975
4236
|
*/
|
|
3976
4237
|
schedule_id?: string;
|
|
4238
|
+
/**
|
|
4239
|
+
* Id of a loop scope defined on the parent flow. When set, the action runs once per item resolved from the loop's source_path. All actions sharing the same loop_id must be contiguous in the actions array.
|
|
4240
|
+
*
|
|
4241
|
+
*/
|
|
4242
|
+
loop_id?: string;
|
|
3977
4243
|
}
|
|
3978
4244
|
export interface TriggerShareEntityConfig {
|
|
3979
4245
|
partner_org_ids?: string[];
|
|
@@ -4026,6 +4292,11 @@ declare namespace Components {
|
|
|
4026
4292
|
* Schedule Id which indicates the schedule of the action
|
|
4027
4293
|
*/
|
|
4028
4294
|
schedule_id?: string;
|
|
4295
|
+
/**
|
|
4296
|
+
* Id of a loop scope defined on the parent flow. When set, the action runs once per item resolved from the loop's source_path. All actions sharing the same loop_id must be contiguous in the actions array.
|
|
4297
|
+
*
|
|
4298
|
+
*/
|
|
4299
|
+
loop_id?: string;
|
|
4029
4300
|
execution_status?: ExecutionStatus;
|
|
4030
4301
|
started_at?: string;
|
|
4031
4302
|
updated_at?: string;
|
|
@@ -4038,6 +4309,11 @@ declare namespace Components {
|
|
|
4038
4309
|
};
|
|
4039
4310
|
error_output?: ErrorOutput;
|
|
4040
4311
|
retry_strategy?: /* different behaviors for retrying failed execution actions. */ RetryStrategy;
|
|
4312
|
+
/**
|
|
4313
|
+
* For looped actions, an archive of completed iterations. The action's own execution_status / outputs / error_output always reflect the current (latest) iteration. The previous iteration's state is pushed here before the action is reset for the next pass.
|
|
4314
|
+
*
|
|
4315
|
+
*/
|
|
4316
|
+
iterations?: /* A snapshot of a single completed pass through a looped action. */ AutomationActionIteration[];
|
|
4041
4317
|
}
|
|
4042
4318
|
/**
|
|
4043
4319
|
* example:
|
|
@@ -4102,6 +4378,11 @@ declare namespace Components {
|
|
|
4102
4378
|
* Schedule Id which indicates the schedule of the action
|
|
4103
4379
|
*/
|
|
4104
4380
|
schedule_id?: string;
|
|
4381
|
+
/**
|
|
4382
|
+
* Id of a loop scope defined on the parent flow. When set, the action runs once per item resolved from the loop's source_path. All actions sharing the same loop_id must be contiguous in the actions array.
|
|
4383
|
+
*
|
|
4384
|
+
*/
|
|
4385
|
+
loop_id?: string;
|
|
4105
4386
|
}
|
|
4106
4387
|
export interface TriggerWebhookConfig {
|
|
4107
4388
|
/**
|
|
@@ -4163,6 +4444,11 @@ declare namespace Components {
|
|
|
4163
4444
|
* Schedule Id which indicates the schedule of the action
|
|
4164
4445
|
*/
|
|
4165
4446
|
schedule_id?: string;
|
|
4447
|
+
/**
|
|
4448
|
+
* Id of a loop scope defined on the parent flow. When set, the action runs once per item resolved from the loop's source_path. All actions sharing the same loop_id must be contiguous in the actions array.
|
|
4449
|
+
*
|
|
4450
|
+
*/
|
|
4451
|
+
loop_id?: string;
|
|
4166
4452
|
execution_status?: ExecutionStatus;
|
|
4167
4453
|
started_at?: string;
|
|
4168
4454
|
updated_at?: string;
|
|
@@ -4175,6 +4461,11 @@ declare namespace Components {
|
|
|
4175
4461
|
};
|
|
4176
4462
|
error_output?: ErrorOutput;
|
|
4177
4463
|
retry_strategy?: /* different behaviors for retrying failed execution actions. */ RetryStrategy;
|
|
4464
|
+
/**
|
|
4465
|
+
* For looped actions, an archive of completed iterations. The action's own execution_status / outputs / error_output always reflect the current (latest) iteration. The previous iteration's state is pushed here before the action is reset for the next pass.
|
|
4466
|
+
*
|
|
4467
|
+
*/
|
|
4468
|
+
iterations?: /* A snapshot of a single completed pass through a looped action. */ AutomationActionIteration[];
|
|
4178
4469
|
}
|
|
4179
4470
|
/**
|
|
4180
4471
|
* example:
|
|
@@ -4258,6 +4549,11 @@ declare namespace Components {
|
|
|
4258
4549
|
* Schedule Id which indicates the schedule of the action
|
|
4259
4550
|
*/
|
|
4260
4551
|
schedule_id?: string;
|
|
4552
|
+
/**
|
|
4553
|
+
* Id of a loop scope defined on the parent flow. When set, the action runs once per item resolved from the loop's source_path. All actions sharing the same loop_id must be contiguous in the actions array.
|
|
4554
|
+
*
|
|
4555
|
+
*/
|
|
4556
|
+
loop_id?: string;
|
|
4261
4557
|
}
|
|
4262
4558
|
/**
|
|
4263
4559
|
* example:
|
|
@@ -5166,10 +5462,13 @@ type AutomationAction = Components.Schemas.AutomationAction;
|
|
|
5166
5462
|
type AutomationActionConfig = Components.Schemas.AutomationActionConfig;
|
|
5167
5463
|
type AutomationActionExecutionState = Components.Schemas.AutomationActionExecutionState;
|
|
5168
5464
|
type AutomationActionId = Components.Schemas.AutomationActionId;
|
|
5465
|
+
type AutomationActionIteration = Components.Schemas.AutomationActionIteration;
|
|
5169
5466
|
type AutomationExecution = Components.Schemas.AutomationExecution;
|
|
5170
5467
|
type AutomationExecutionId = Components.Schemas.AutomationExecutionId;
|
|
5171
5468
|
type AutomationFlow = Components.Schemas.AutomationFlow;
|
|
5172
5469
|
type AutomationFlowId = Components.Schemas.AutomationFlowId;
|
|
5470
|
+
type AutomationLoop = Components.Schemas.AutomationLoop;
|
|
5471
|
+
type AutomationLoopState = Components.Schemas.AutomationLoopState;
|
|
5173
5472
|
type AutomationTrigger = Components.Schemas.AutomationTrigger;
|
|
5174
5473
|
type BulkTriggerJob = Components.Schemas.BulkTriggerJob;
|
|
5175
5474
|
type BulkTriggerRequest = Components.Schemas.BulkTriggerRequest;
|
|
@@ -5280,4 +5579,4 @@ type WildcardCondition = Components.Schemas.WildcardCondition;
|
|
|
5280
5579
|
type WorkflowContextRole = Components.Schemas.WorkflowContextRole;
|
|
5281
5580
|
type WorkflowExecutionContext = Components.Schemas.WorkflowExecutionContext;
|
|
5282
5581
|
|
|
5283
|
-
export { type
|
|
5582
|
+
export { type EntityRef as $, type ActionCondition as A, type AutomationLoopState as B, type Client as C, type AutomationTrigger as D, type BulkTriggerJob as E, type BulkTriggerRequest as F, type CancellationReason as G, type CartCheckoutAction as H, type CartCheckoutActionConfig as I, type CartCheckoutConfig as J, type Comparison as K, type ConditionStatement as L, type CopyValueMapper as M, type CreateDocumentAction as N, type OperationMethods as O, Paths as P, type CreateDocumentActionConfig as Q, type CreateDocumentConfig as R, type CustomAction as S, type DiffAdded as T, type DiffDeleted as U, type DiffUpdated as V, type EntityId as W, type EntityItemSnapshot as X, type EntityManualTrigger as Y, type EntityOperation as Z, type EntityOperationTrigger as _, Components as a, type TriggerCondition as a$, type EntitySearchFilter as a0, type EntitySearchFilterValue as a1, type EqualsIgnoreCaseCondition as a2, type ErrorCode as a3, type ErrorDetail as a4, type ErrorObject as a5, type ErrorOutput as a6, type ExecItem as a7, type ExecutionChain as a8, type ExecutionStatus as a9, type NumericCondition as aA, type OperationNode as aB, type OperationObjectNode as aC, type OrCondition as aD, type OrConditionForDiff as aE, type OrganizationId as aF, type PatchBulkJobRequest as aG, type PrefixCondition as aH, type PrimitiveJSONValue as aI, type ReceivedEmailTrigger as aJ, type RelationAttribute as aK, type ReplyEmailAction as aL, type ReplyEmailActionConfig as aM, type ReplyEmailConfig as aN, type ResumeReq as aO, type ResumeResp as aP, type ResumeToken as aQ, type RetryReq as aR, type RetryStrategy as aS, type SearchAutomationsResp as aT, type SendEmailAction as aU, type SendEmailActionConfig as aV, type SendEmailCondition as aW, type SendEmailConfig as aX, type SetValueMapper as aY, type StartExecutionRequest as aZ, type SuffixCondition as a_, type ExistsCondition as aa, type FilterConditionOnEvent as ab, type FlowExecutionCancelAction as ac, type FlowExecutionCancelActionConfig as ad, type FlowExecutionCancelConfig as ae, type FlowsTrigger as af, type ForwardEmailAction as ag, type ForwardEmailActionConfig as ah, type ForwardEmailConfig as ai, type FrontendSubmitTrigger as aj, type GetExecutionsResp as ak, type InformERPAction as al, type InformERPActionConfig as am, type InformERPConfig as an, type JobId as ao, type JourneySubmitTrigger as ap, type MapEntityAction as aq, type MapEntityActionConfig as ar, type MapEntityConfig as as, type MappingAttribute as at, type MappingAttributeMode as au, type MappingAttributeV2 as av, type MappingConfigRef as aw, type MoveThreadAction as ax, type MoveThreadConfig as ay, type NewEmailThreadTrigger as az, type PathsDictionary as b, type TriggerContext as b0, type TriggerEventAction as b1, type TriggerEventActionConfig as b2, type TriggerEventConfig as b3, type TriggerEventEntityActivity as b4, type TriggerEventEntityOperation as b5, type TriggerEventFlowAutomationTask as b6, type TriggerEventManual as b7, type TriggerEventMessaging as b8, type TriggerShareEntityAction as b9, type TriggerShareEntityActionConfig as ba, type TriggerShareEntityConfig as bb, type TriggerWebhookAction as bc, type TriggerWebhookActionConfig as bd, type TriggerWebhookConfig as be, type TriggerWorkflowAction as bf, type TriggerWorkflowActionConfig as bg, type TriggerWorkflowCondition as bh, type TriggerWorkflowConfig as bi, type WildcardCondition as bj, type WorkflowContextRole as bk, type WorkflowExecutionContext as bl, type ActionSchedule as c, type ActionScheduleSource as d, type ActivityId as e, type ActivityTrigger as f, type AnyAction as g, type AnyActionConfig as h, type AnyTrigger as i, type AnythingButCondition as j, type ApiCallerContext as k, type ApiSubmissionTrigger as l, type AppendValueMapper as m, type AssignThreadAction as n, type AssignThreadConfig as o, type AssignUsersToStep as p, type AutomationAction as q, type AutomationActionConfig as r, type AutomationActionExecutionState as s, type AutomationActionId as t, type AutomationActionIteration as u, type AutomationExecution as v, type AutomationExecutionId as w, type AutomationFlow as x, type AutomationFlowId as y, type AutomationLoop as z };
|