@epilot/sdk 2.8.9 → 2.9.0
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/README.md +0 -1
- package/definitions/access-token-runtime.json +1 -1
- package/definitions/access-token.json +1 -155
- package/definitions/automation.json +0 -120
- package/definitions/blueprint-manifest-runtime.json +1 -1
- package/definitions/blueprint-manifest.json +1 -571
- package/definitions/focus-pocus-runtime.json +1 -0
- package/definitions/focus-pocus.json +757 -0
- package/definitions/integration-toolkit.json +30 -5
- package/definitions/journey.json +2 -19
- package/definitions/targeting.json +4 -5
- package/definitions/user-runtime.json +1 -1
- package/definitions/user.json +0 -441
- package/dist/README-46VYEGGW.js +7 -0
- package/dist/README-IVBISSWB.cjs +7 -0
- package/dist/{_index-UY46ZN47.js → _index-5FB6F5YY.js} +0 -3
- package/dist/{_index-D5TTZP5F.cjs → _index-DB2VV4PQ.cjs} +1 -4
- package/dist/access-token-6BJDZSFE.cjs +7 -0
- package/dist/access-token-GSQZLDXR.js +7 -0
- package/dist/{access-token-runtime-2PSLN2U3.js → access-token-runtime-KCKGT4O7.js} +1 -1
- package/dist/{access-token-runtime-B6Z7JLUS.cjs → access-token-runtime-NZWZJPWV.cjs} +2 -2
- package/dist/{access-token.d-CegaQmrK.d.cts → access-token.d-CnmUTOlq.d.cts} +5 -165
- package/dist/{access-token.d-CegaQmrK.d.ts → access-token.d-CnmUTOlq.d.ts} +5 -165
- package/dist/{ai-agents.d-CC5IjXrs.d.ts → ai-agents.d-OkXfr2bz.d.cts} +2 -0
- package/dist/{ai-agents.d-CC5IjXrs.d.cts → ai-agents.d-OkXfr2bz.d.ts} +2 -0
- 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.d.cts +2 -2
- package/dist/apis/integration-toolkit.d.ts +2 -2
- 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/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-BMO7ZFTN.cjs +7 -0
- package/dist/automation-MEZTSUR3.js +7 -0
- package/dist/{automation.d-DS_YXDE8.d.cts → automation.d-Du6-uiz5.d.cts} +1 -300
- package/dist/{automation.d-DS_YXDE8.d.ts → automation.d-Du6-uiz5.d.ts} +1 -300
- package/dist/blueprint-manifest-6DEYW5MW.js +7 -0
- package/dist/blueprint-manifest-GCV7H74X.cjs +7 -0
- package/dist/{blueprint-manifest-runtime-WU5MWPVT.cjs → blueprint-manifest-runtime-EIDOROIQ.cjs} +2 -2
- package/dist/{blueprint-manifest-runtime-2344IUIE.js → blueprint-manifest-runtime-FRLU3ZSF.js} +1 -1
- package/dist/{blueprint-manifest.d-2-TORV8o.d.ts → blueprint-manifest.d-B8yDxagC.d.cts} +4 -926
- package/dist/{blueprint-manifest.d-2-TORV8o.d.cts → blueprint-manifest.d-B8yDxagC.d.ts} +4 -926
- package/dist/chunk-3XKBB5AE.js +14 -0
- package/dist/{chunk-UWGWRGGB.js → chunk-4YBWMDFP.js} +1 -1
- package/dist/{chunk-4GI6KGKZ.cjs → chunk-CULH5PIN.cjs} +12 -14
- package/dist/{chunk-T57MT6J5.cjs → chunk-NGHCQ2FA.cjs} +1 -1
- package/dist/{chunk-S5HBBTKM.cjs → chunk-OXJOO2YF.cjs} +1 -1
- package/dist/{chunk-VMKT7UQS.js → chunk-RZ4ABDOF.js} +12 -14
- package/dist/{chunk-OHHHS4HH.js → chunk-XSE4CFSM.js} +1 -1
- package/dist/chunk-Z5TVWG3I.cjs +14 -0
- package/dist/index.cjs +16 -24
- package/dist/index.d.cts +22 -24
- package/dist/index.d.ts +22 -24
- package/dist/index.js +6 -14
- package/dist/integration-toolkit-334NGEOE.cjs +7 -0
- package/dist/integration-toolkit-5VCY6CUN.js +7 -0
- package/dist/{integration-toolkit.d-BW9RK5G-.d.cts → integration-toolkit.d-BSA9RRdq.d.cts} +22 -4
- package/dist/{integration-toolkit.d-BW9RK5G-.d.ts → integration-toolkit.d-BSA9RRdq.d.ts} +22 -4
- package/dist/journey-4DIIPRU4.js +7 -0
- package/dist/journey-ATC3Y5AW.cjs +7 -0
- package/dist/{journey.d-B1sOeMHw.d.cts → journey.d-BenIUWaO.d.cts} +3 -16
- package/dist/{journey.d-B1sOeMHw.d.ts → journey.d-BenIUWaO.d.ts} +3 -16
- package/dist/js-yaml-DLCVPJ7G.js +0 -0
- package/dist/{targeting-WC62BBZN.cjs → targeting-DAFJBPIZ.cjs} +1 -1
- package/dist/{targeting-X4Y2ODBT.js → targeting-TGPCRRI6.js} +1 -1
- package/dist/{targeting.d-0rNF7ErD.d.cts → targeting.d-DxHQbn7-.d.cts} +4 -11
- package/dist/{targeting.d-0rNF7ErD.d.ts → targeting.d-DxHQbn7-.d.ts} +4 -11
- package/dist/user-7ZN2XO7G.cjs +7 -0
- package/dist/user-ZK7BK6VY.js +7 -0
- package/dist/user-runtime-7O2HLFVQ.cjs +5 -0
- package/dist/{user-runtime-6ICV2Y73.js → user-runtime-U4HYUWJU.js} +1 -1
- package/dist/{user.d-L-C7_K84.d.cts → user.d-D18fe97W.d.cts} +1 -421
- package/dist/{user.d-L-C7_K84.d.ts → user.d-D18fe97W.d.ts} +1 -421
- package/docs/access-token.md +3 -111
- package/docs/automation.md +37 -180
- package/docs/blueprint-manifest.md +95 -421
- package/docs/integration-toolkit.md +13 -0
- package/docs/journey.md +8 -28
- package/docs/targeting.md +3 -6
- package/docs/user.md +8 -321
- package/package.json +12 -20
- package/LICENSE +0 -21
- package/definitions/snapshot-runtime.json +0 -1
- package/definitions/snapshot.json +0 -973
- package/dist/README-NBWAQWQS.js +0 -7
- package/dist/README-XCIDDEAE.cjs +0 -7
- package/dist/access-token-GD6REL4U.js +0 -7
- package/dist/access-token-NQ5BLMOW.cjs +0 -7
- package/dist/apis/snapshot.cjs +0 -38
- package/dist/apis/snapshot.d.cts +0 -18
- package/dist/apis/snapshot.d.ts +0 -18
- package/dist/apis/snapshot.js +0 -38
- package/dist/automation-S6NFS5KU.cjs +0 -7
- package/dist/automation-W75XZG7B.js +0 -7
- package/dist/blueprint-manifest-WHYSBU66.cjs +0 -7
- package/dist/blueprint-manifest-WZVBTKUL.js +0 -7
- package/dist/chunk-54QNWEPZ.js +0 -14
- package/dist/chunk-NFIYEMMM.js +0 -14
- package/dist/chunk-OWXEZ56F.cjs +0 -14
- package/dist/chunk-YXJ4PBFQ.cjs +0 -14
- package/dist/integration-toolkit-27Z3VZBZ.cjs +0 -7
- package/dist/integration-toolkit-NRLZZFVS.js +0 -7
- package/dist/journey-LHVSSVTG.cjs +0 -7
- package/dist/journey-NXL264XW.js +0 -7
- package/dist/snapshot-6CCO4NYL.js +0 -7
- package/dist/snapshot-GWB56VPP.cjs +0 -7
- package/dist/snapshot-runtime-6DV42FVY.cjs +0 -5
- package/dist/snapshot-runtime-IW57MINC.js +0 -5
- package/dist/snapshot.d-D5z6-hzE.d.cts +0 -761
- package/dist/snapshot.d-D5z6-hzE.d.ts +0 -761
- package/dist/user-3SLAEEVD.cjs +0 -7
- package/dist/user-PRUYBXQV.js +0 -7
- package/dist/user-runtime-Y3227ETX.cjs +0 -5
- package/docs/snapshot.md +0 -656
package/docs/automation.md
CHANGED
|
@@ -56,9 +56,7 @@ const { data } = await automationClient.searchFlows(...)
|
|
|
56
56
|
- [`AnyAction`](#anyaction)
|
|
57
57
|
- [`AnyActionConfig`](#anyactionconfig)
|
|
58
58
|
- [`AutomationActionConfig`](#automationactionconfig)
|
|
59
|
-
- [`AutomationLoop`](#automationloop)
|
|
60
59
|
- [`AutomationActionExecutionState`](#automationactionexecutionstate)
|
|
61
|
-
- [`AutomationActionIteration`](#automationactioniteration)
|
|
62
60
|
- [`RetryStrategy`](#retrystrategy)
|
|
63
61
|
- [`AutomationAction`](#automationaction)
|
|
64
62
|
- [`ErrorOutput`](#erroroutput)
|
|
@@ -126,7 +124,6 @@ const { data } = await automationClient.searchFlows(...)
|
|
|
126
124
|
- [`ActionSchedule`](#actionschedule)
|
|
127
125
|
- [`AutomationExecutionId`](#automationexecutionid)
|
|
128
126
|
- [`AutomationExecution`](#automationexecution)
|
|
129
|
-
- [`AutomationLoopState`](#automationloopstate)
|
|
130
127
|
- [`WorkflowExecutionContext`](#workflowexecutioncontext)
|
|
131
128
|
- [`ExecutionChain`](#executionchain)
|
|
132
129
|
- [`TriggerEventManual`](#triggereventmanual)
|
|
@@ -314,9 +311,7 @@ const { data } = await client.getExecutions({
|
|
|
314
311
|
"trigger_context": {},
|
|
315
312
|
"version": 2,
|
|
316
313
|
"trigger_event": {},
|
|
317
|
-
"workflow_context": {}
|
|
318
|
-
"loops": [],
|
|
319
|
-
"loop_state": {}
|
|
314
|
+
"workflow_context": {}
|
|
320
315
|
}
|
|
321
316
|
]
|
|
322
317
|
}
|
|
@@ -390,7 +385,6 @@ const { data } = await client.startExecution(
|
|
|
390
385
|
"id": "string",
|
|
391
386
|
"schedule_id": "string",
|
|
392
387
|
"evaluationResult": true,
|
|
393
|
-
"error_output": {},
|
|
394
388
|
"statements": []
|
|
395
389
|
}
|
|
396
390
|
],
|
|
@@ -417,14 +411,12 @@ const { data } = await client.startExecution(
|
|
|
417
411
|
"reason": {},
|
|
418
412
|
"condition_id": "string",
|
|
419
413
|
"schedule_id": "string",
|
|
420
|
-
"loop_id": "string",
|
|
421
414
|
"execution_status": "pending",
|
|
422
415
|
"started_at": "string",
|
|
423
416
|
"updated_at": "string",
|
|
424
417
|
"outputs": {},
|
|
425
418
|
"error_output": {},
|
|
426
|
-
"retry_strategy": "RETRY_AND_RESUME"
|
|
427
|
-
"iterations": []
|
|
419
|
+
"retry_strategy": "RETRY_AND_RESUME"
|
|
428
420
|
},
|
|
429
421
|
{
|
|
430
422
|
"id": "9ec3711b-db63-449c-b894-54d5bb622a8f",
|
|
@@ -438,14 +430,12 @@ const { data } = await client.startExecution(
|
|
|
438
430
|
"reason": {},
|
|
439
431
|
"condition_id": "string",
|
|
440
432
|
"schedule_id": "string",
|
|
441
|
-
"loop_id": "string",
|
|
442
433
|
"execution_status": "pending",
|
|
443
434
|
"started_at": "string",
|
|
444
435
|
"updated_at": "string",
|
|
445
436
|
"outputs": {},
|
|
446
437
|
"error_output": {},
|
|
447
|
-
"retry_strategy": "RETRY_AND_RESUME"
|
|
448
|
-
"iterations": []
|
|
438
|
+
"retry_strategy": "RETRY_AND_RESUME"
|
|
449
439
|
}
|
|
450
440
|
],
|
|
451
441
|
"resume_token": "eyJraWQiOiJrZXkifQ==",
|
|
@@ -473,16 +463,7 @@ const { data } = await client.startExecution(
|
|
|
473
463
|
"entity_contexts": [
|
|
474
464
|
{}
|
|
475
465
|
]
|
|
476
|
-
}
|
|
477
|
-
"loops": [
|
|
478
|
-
{
|
|
479
|
-
"id": "loop_contracts",
|
|
480
|
-
"source_path": "submission.steps[0]['Contracts']",
|
|
481
|
-
"source_type": "journey-multi-select",
|
|
482
|
-
"length": 0
|
|
483
|
-
}
|
|
484
|
-
],
|
|
485
|
-
"loop_state": {}
|
|
466
|
+
}
|
|
486
467
|
}
|
|
487
468
|
```
|
|
488
469
|
|
|
@@ -691,7 +672,6 @@ const { data } = await client.getExecution({
|
|
|
691
672
|
"id": "string",
|
|
692
673
|
"schedule_id": "string",
|
|
693
674
|
"evaluationResult": true,
|
|
694
|
-
"error_output": {},
|
|
695
675
|
"statements": []
|
|
696
676
|
}
|
|
697
677
|
],
|
|
@@ -718,14 +698,12 @@ const { data } = await client.getExecution({
|
|
|
718
698
|
"reason": {},
|
|
719
699
|
"condition_id": "string",
|
|
720
700
|
"schedule_id": "string",
|
|
721
|
-
"loop_id": "string",
|
|
722
701
|
"execution_status": "pending",
|
|
723
702
|
"started_at": "string",
|
|
724
703
|
"updated_at": "string",
|
|
725
704
|
"outputs": {},
|
|
726
705
|
"error_output": {},
|
|
727
|
-
"retry_strategy": "RETRY_AND_RESUME"
|
|
728
|
-
"iterations": []
|
|
706
|
+
"retry_strategy": "RETRY_AND_RESUME"
|
|
729
707
|
},
|
|
730
708
|
{
|
|
731
709
|
"id": "9ec3711b-db63-449c-b894-54d5bb622a8f",
|
|
@@ -739,14 +717,12 @@ const { data } = await client.getExecution({
|
|
|
739
717
|
"reason": {},
|
|
740
718
|
"condition_id": "string",
|
|
741
719
|
"schedule_id": "string",
|
|
742
|
-
"loop_id": "string",
|
|
743
720
|
"execution_status": "pending",
|
|
744
721
|
"started_at": "string",
|
|
745
722
|
"updated_at": "string",
|
|
746
723
|
"outputs": {},
|
|
747
724
|
"error_output": {},
|
|
748
|
-
"retry_strategy": "RETRY_AND_RESUME"
|
|
749
|
-
"iterations": []
|
|
725
|
+
"retry_strategy": "RETRY_AND_RESUME"
|
|
750
726
|
}
|
|
751
727
|
],
|
|
752
728
|
"resume_token": "eyJraWQiOiJrZXkifQ==",
|
|
@@ -774,16 +750,7 @@ const { data } = await client.getExecution({
|
|
|
774
750
|
"entity_contexts": [
|
|
775
751
|
{}
|
|
776
752
|
]
|
|
777
|
-
}
|
|
778
|
-
"loops": [
|
|
779
|
-
{
|
|
780
|
-
"id": "loop_contracts",
|
|
781
|
-
"source_path": "submission.steps[0]['Contracts']",
|
|
782
|
-
"source_type": "journey-multi-select",
|
|
783
|
-
"length": 0
|
|
784
|
-
}
|
|
785
|
-
],
|
|
786
|
-
"loop_state": {}
|
|
753
|
+
}
|
|
787
754
|
}
|
|
788
755
|
```
|
|
789
756
|
|
|
@@ -832,7 +799,6 @@ const { data } = await client.cancelExecution({
|
|
|
832
799
|
"id": "string",
|
|
833
800
|
"schedule_id": "string",
|
|
834
801
|
"evaluationResult": true,
|
|
835
|
-
"error_output": {},
|
|
836
802
|
"statements": []
|
|
837
803
|
}
|
|
838
804
|
],
|
|
@@ -859,14 +825,12 @@ const { data } = await client.cancelExecution({
|
|
|
859
825
|
"reason": {},
|
|
860
826
|
"condition_id": "string",
|
|
861
827
|
"schedule_id": "string",
|
|
862
|
-
"loop_id": "string",
|
|
863
828
|
"execution_status": "pending",
|
|
864
829
|
"started_at": "string",
|
|
865
830
|
"updated_at": "string",
|
|
866
831
|
"outputs": {},
|
|
867
832
|
"error_output": {},
|
|
868
|
-
"retry_strategy": "RETRY_AND_RESUME"
|
|
869
|
-
"iterations": []
|
|
833
|
+
"retry_strategy": "RETRY_AND_RESUME"
|
|
870
834
|
},
|
|
871
835
|
{
|
|
872
836
|
"id": "9ec3711b-db63-449c-b894-54d5bb622a8f",
|
|
@@ -880,14 +844,12 @@ const { data } = await client.cancelExecution({
|
|
|
880
844
|
"reason": {},
|
|
881
845
|
"condition_id": "string",
|
|
882
846
|
"schedule_id": "string",
|
|
883
|
-
"loop_id": "string",
|
|
884
847
|
"execution_status": "pending",
|
|
885
848
|
"started_at": "string",
|
|
886
849
|
"updated_at": "string",
|
|
887
850
|
"outputs": {},
|
|
888
851
|
"error_output": {},
|
|
889
|
-
"retry_strategy": "RETRY_AND_RESUME"
|
|
890
|
-
"iterations": []
|
|
852
|
+
"retry_strategy": "RETRY_AND_RESUME"
|
|
891
853
|
}
|
|
892
854
|
],
|
|
893
855
|
"resume_token": "eyJraWQiOiJrZXkifQ==",
|
|
@@ -915,16 +877,7 @@ const { data } = await client.cancelExecution({
|
|
|
915
877
|
"entity_contexts": [
|
|
916
878
|
{}
|
|
917
879
|
]
|
|
918
|
-
}
|
|
919
|
-
"loops": [
|
|
920
|
-
{
|
|
921
|
-
"id": "loop_contracts",
|
|
922
|
-
"source_path": "submission.steps[0]['Contracts']",
|
|
923
|
-
"source_type": "journey-multi-select",
|
|
924
|
-
"length": 0
|
|
925
|
-
}
|
|
926
|
-
],
|
|
927
|
-
"loop_state": {}
|
|
880
|
+
}
|
|
928
881
|
}
|
|
929
882
|
```
|
|
930
883
|
|
|
@@ -1020,11 +973,7 @@ const { data } = await client.resumeExecutionWithToken(
|
|
|
1020
973
|
"workflow_role": "trigger_workflow",
|
|
1021
974
|
"_execution_chain": {},
|
|
1022
975
|
"entity_contexts": []
|
|
1023
|
-
}
|
|
1024
|
-
"loops": [
|
|
1025
|
-
{}
|
|
1026
|
-
],
|
|
1027
|
-
"loop_state": {}
|
|
976
|
+
}
|
|
1028
977
|
},
|
|
1029
978
|
"resumedAction": {
|
|
1030
979
|
"id": "9ec3711b-db63-449c-b894-54d5bb622a8f",
|
|
@@ -1049,7 +998,6 @@ const { data } = await client.resumeExecutionWithToken(
|
|
|
1049
998
|
},
|
|
1050
999
|
"condition_id": "string",
|
|
1051
1000
|
"schedule_id": "string",
|
|
1052
|
-
"loop_id": "string",
|
|
1053
1001
|
"execution_status": "pending",
|
|
1054
1002
|
"started_at": "string",
|
|
1055
1003
|
"updated_at": "string",
|
|
@@ -1059,10 +1007,7 @@ const { data } = await client.resumeExecutionWithToken(
|
|
|
1059
1007
|
"error_reason": "string",
|
|
1060
1008
|
"error_info": {}
|
|
1061
1009
|
},
|
|
1062
|
-
"retry_strategy": "RETRY_AND_RESUME"
|
|
1063
|
-
"iterations": [
|
|
1064
|
-
{}
|
|
1065
|
-
]
|
|
1010
|
+
"retry_strategy": "RETRY_AND_RESUME"
|
|
1066
1011
|
}
|
|
1067
1012
|
}
|
|
1068
1013
|
```
|
|
@@ -1207,11 +1152,6 @@ type AutomationFlow = {
|
|
|
1207
1152
|
id?: string
|
|
1208
1153
|
schedule_id?: string
|
|
1209
1154
|
evaluationResult?: boolean
|
|
1210
|
-
error_output?: {
|
|
1211
|
-
error_code: { ... }
|
|
1212
|
-
error_reason: { ... }
|
|
1213
|
-
error_info?: { ... }
|
|
1214
|
-
}
|
|
1215
1155
|
statements?: Array<{
|
|
1216
1156
|
id?: { ... }
|
|
1217
1157
|
source?: { ... }
|
|
@@ -1226,6 +1166,11 @@ type AutomationFlow = {
|
|
|
1226
1166
|
timePeriod?: "minutes" | "hours" | "days" | "weeks" | "months"
|
|
1227
1167
|
timeRelation?: "after" | "before"
|
|
1228
1168
|
source: {
|
|
1169
|
+
id: { ... }
|
|
1170
|
+
origin: { ... }
|
|
1171
|
+
schema?: { ... }
|
|
1172
|
+
attribute?: { ... }
|
|
1173
|
+
}
|
|
1229
1174
|
// ...
|
|
1230
1175
|
}
|
|
1231
1176
|
```
|
|
@@ -1299,7 +1244,6 @@ type SearchAutomationsResp = {
|
|
|
1299
1244
|
id?: { ... }
|
|
1300
1245
|
schedule_id?: { ... }
|
|
1301
1246
|
evaluationResult?: { ... }
|
|
1302
|
-
error_output?: { ... }
|
|
1303
1247
|
statements?: { ... }
|
|
1304
1248
|
}>
|
|
1305
1249
|
schedules?: Array<{
|
|
@@ -1310,12 +1254,6 @@ type SearchAutomationsResp = {
|
|
|
1310
1254
|
timeRelation?: { ... }
|
|
1311
1255
|
source: { ... }
|
|
1312
1256
|
}>
|
|
1313
|
-
loops?: Array<{
|
|
1314
|
-
id: { ... }
|
|
1315
|
-
source_path: { ... }
|
|
1316
|
-
source_type?: { ... }
|
|
1317
|
-
length?: { ... }
|
|
1318
|
-
}>
|
|
1319
1257
|
actions: Array<{
|
|
1320
1258
|
type?: { ... }
|
|
1321
1259
|
config?: { ... }
|
|
@@ -1341,6 +1279,13 @@ type SearchAutomationsResp = {
|
|
|
1341
1279
|
type?: { ... }
|
|
1342
1280
|
config?: { ... }
|
|
1343
1281
|
} | {
|
|
1282
|
+
type?: { ... }
|
|
1283
|
+
config?: { ... }
|
|
1284
|
+
} | {
|
|
1285
|
+
type?: { ... }
|
|
1286
|
+
config?: { ... }
|
|
1287
|
+
} | {
|
|
1288
|
+
id?: { ... }
|
|
1344
1289
|
// ...
|
|
1345
1290
|
}
|
|
1346
1291
|
```
|
|
@@ -1580,7 +1525,6 @@ type AnyActionConfig = {
|
|
|
1580
1525
|
}
|
|
1581
1526
|
condition_id?: string
|
|
1582
1527
|
schedule_id?: string
|
|
1583
|
-
loop_id?: string
|
|
1584
1528
|
} | {
|
|
1585
1529
|
id?: string
|
|
1586
1530
|
flow_action_id?: string
|
|
@@ -1611,7 +1555,6 @@ type AnyActionConfig = {
|
|
|
1611
1555
|
}
|
|
1612
1556
|
condition_id?: string
|
|
1613
1557
|
schedule_id?: string
|
|
1614
|
-
loop_id?: string
|
|
1615
1558
|
} | {
|
|
1616
1559
|
id?: string
|
|
1617
1560
|
flow_action_id?: string
|
|
@@ -1629,6 +1572,8 @@ type AnyActionConfig = {
|
|
|
1629
1572
|
}
|
|
1630
1573
|
condition_id?: string
|
|
1631
1574
|
schedule_id?: string
|
|
1575
|
+
} | {
|
|
1576
|
+
id?: string
|
|
1632
1577
|
// ...
|
|
1633
1578
|
}
|
|
1634
1579
|
```
|
|
@@ -1651,20 +1596,6 @@ type AutomationActionConfig = {
|
|
|
1651
1596
|
}
|
|
1652
1597
|
condition_id?: string
|
|
1653
1598
|
schedule_id?: string
|
|
1654
|
-
loop_id?: string
|
|
1655
|
-
}
|
|
1656
|
-
```
|
|
1657
|
-
|
|
1658
|
-
### `AutomationLoop`
|
|
1659
|
-
|
|
1660
|
-
A loop scope on an automation flow.
|
|
1661
|
-
|
|
1662
|
-
```ts
|
|
1663
|
-
type AutomationLoop = {
|
|
1664
|
-
id: string
|
|
1665
|
-
source_path: string
|
|
1666
|
-
source_type?: "journey-multi-select" | "previous-action-outputs" | "entity-relation"
|
|
1667
|
-
length?: number
|
|
1668
1599
|
}
|
|
1669
1600
|
```
|
|
1670
1601
|
|
|
@@ -1684,39 +1615,6 @@ type AutomationActionExecutionState = {
|
|
|
1684
1615
|
}
|
|
1685
1616
|
}
|
|
1686
1617
|
retry_strategy?: "RETRY_AND_RESUME" | "RETRY_AND_STOP" | "RETRY_ALL_PARENT_CONDITION_ACTIONS"
|
|
1687
|
-
iterations?: Array<{
|
|
1688
|
-
index: number
|
|
1689
|
-
execution_status: "pending" | "starting" | "in_progress" | "paused" | "success" | "failed" | "cancelled" | "skipped" | "scheduled" | "hot"
|
|
1690
|
-
started_at?: string // date-time
|
|
1691
|
-
ended_at?: string // date-time
|
|
1692
|
-
outputs?: Record<string, unknown>
|
|
1693
|
-
error_output?: {
|
|
1694
|
-
error_code: { ... }
|
|
1695
|
-
error_reason: { ... }
|
|
1696
|
-
error_info?: { ... }
|
|
1697
|
-
}
|
|
1698
|
-
}>
|
|
1699
|
-
}
|
|
1700
|
-
```
|
|
1701
|
-
|
|
1702
|
-
### `AutomationActionIteration`
|
|
1703
|
-
|
|
1704
|
-
A snapshot of a single completed pass through a looped action.
|
|
1705
|
-
|
|
1706
|
-
```ts
|
|
1707
|
-
type AutomationActionIteration = {
|
|
1708
|
-
index: number
|
|
1709
|
-
execution_status: "pending" | "starting" | "in_progress" | "paused" | "success" | "failed" | "cancelled" | "skipped" | "scheduled" | "hot"
|
|
1710
|
-
started_at?: string // date-time
|
|
1711
|
-
ended_at?: string // date-time
|
|
1712
|
-
outputs?: Record<string, unknown>
|
|
1713
|
-
error_output?: {
|
|
1714
|
-
error_code: "MAPPING_ERROR" | "REFRESH_RELATIONS_ERROR" | "DUPLICATE_ENTITY_ERROR" | "TRIGGER_WORKFLOW_ERROR" | "TIMEOUT_ERROR" | "BAD_CONFIG" | "INTERNAL_ERROR" | "TRIGGER_WEBHOOK_ERROR" | "TEMPLATE_ERROR" | "INVALID_PAYLOAD" | "INVALID_SCHEDULE_CONFIG" | "CUSTOM_ACTION_ERROR" | "ORDER_CREATION_ERROR" | "DOCUMENT_GENERATION_ERROR" | "BULK_EMAIL_ERROR" | "SHARING_ERROR" | "CANCEL_FLOW_EXECUTION_ERROR" | "METER_READING_NOT_FOUND" | "ENTITY_NOT_FOUND"
|
|
1715
|
-
error_reason: string
|
|
1716
|
-
error_info?: {
|
|
1717
|
-
details?: { ... }
|
|
1718
|
-
}
|
|
1719
|
-
}
|
|
1720
1618
|
}
|
|
1721
1619
|
```
|
|
1722
1620
|
|
|
@@ -1746,7 +1644,6 @@ type AutomationAction = {
|
|
|
1746
1644
|
}
|
|
1747
1645
|
condition_id?: string
|
|
1748
1646
|
schedule_id?: string
|
|
1749
|
-
loop_id?: string
|
|
1750
1647
|
execution_status?: "pending" | "starting" | "in_progress" | "paused" | "success" | "failed" | "cancelled" | "skipped" | "scheduled" | "hot"
|
|
1751
1648
|
started_at?: string
|
|
1752
1649
|
updated_at?: string
|
|
@@ -1759,18 +1656,6 @@ type AutomationAction = {
|
|
|
1759
1656
|
}
|
|
1760
1657
|
}
|
|
1761
1658
|
retry_strategy?: "RETRY_AND_RESUME" | "RETRY_AND_STOP" | "RETRY_ALL_PARENT_CONDITION_ACTIONS"
|
|
1762
|
-
iterations?: Array<{
|
|
1763
|
-
index: number
|
|
1764
|
-
execution_status: "pending" | "starting" | "in_progress" | "paused" | "success" | "failed" | "cancelled" | "skipped" | "scheduled" | "hot"
|
|
1765
|
-
started_at?: string // date-time
|
|
1766
|
-
ended_at?: string // date-time
|
|
1767
|
-
outputs?: Record<string, unknown>
|
|
1768
|
-
error_output?: {
|
|
1769
|
-
error_code: { ... }
|
|
1770
|
-
error_reason: { ... }
|
|
1771
|
-
error_info?: { ... }
|
|
1772
|
-
}
|
|
1773
|
-
}>
|
|
1774
1659
|
}
|
|
1775
1660
|
```
|
|
1776
1661
|
|
|
@@ -1860,7 +1745,6 @@ type CartCheckoutActionConfig = {
|
|
|
1860
1745
|
}
|
|
1861
1746
|
condition_id?: string
|
|
1862
1747
|
schedule_id?: string
|
|
1863
|
-
loop_id?: string
|
|
1864
1748
|
}
|
|
1865
1749
|
```
|
|
1866
1750
|
|
|
@@ -2017,7 +1901,6 @@ type MapEntityActionConfig = {
|
|
|
2017
1901
|
}
|
|
2018
1902
|
condition_id?: string
|
|
2019
1903
|
schedule_id?: string
|
|
2020
|
-
loop_id?: string
|
|
2021
1904
|
}
|
|
2022
1905
|
```
|
|
2023
1906
|
|
|
@@ -2328,7 +2211,6 @@ type SendEmailActionConfig = {
|
|
|
2328
2211
|
}
|
|
2329
2212
|
condition_id?: string
|
|
2330
2213
|
schedule_id?: string
|
|
2331
|
-
loop_id?: string
|
|
2332
2214
|
}
|
|
2333
2215
|
```
|
|
2334
2216
|
|
|
@@ -2384,7 +2266,6 @@ type ForwardEmailActionConfig = {
|
|
|
2384
2266
|
}
|
|
2385
2267
|
condition_id?: string
|
|
2386
2268
|
schedule_id?: string
|
|
2387
|
-
loop_id?: string
|
|
2388
2269
|
}
|
|
2389
2270
|
```
|
|
2390
2271
|
|
|
@@ -2445,7 +2326,6 @@ type ReplyEmailActionConfig = {
|
|
|
2445
2326
|
}
|
|
2446
2327
|
condition_id?: string
|
|
2447
2328
|
schedule_id?: string
|
|
2448
|
-
loop_id?: string
|
|
2449
2329
|
}
|
|
2450
2330
|
```
|
|
2451
2331
|
|
|
@@ -2541,7 +2421,6 @@ type CreateDocumentActionConfig = {
|
|
|
2541
2421
|
}
|
|
2542
2422
|
condition_id?: string
|
|
2543
2423
|
schedule_id?: string
|
|
2544
|
-
loop_id?: string
|
|
2545
2424
|
}
|
|
2546
2425
|
```
|
|
2547
2426
|
|
|
@@ -2599,7 +2478,6 @@ type TriggerWorkflowActionConfig = {
|
|
|
2599
2478
|
}
|
|
2600
2479
|
condition_id?: string
|
|
2601
2480
|
schedule_id?: string
|
|
2602
|
-
loop_id?: string
|
|
2603
2481
|
}
|
|
2604
2482
|
```
|
|
2605
2483
|
|
|
@@ -2679,7 +2557,6 @@ type TriggerShareEntityActionConfig = {
|
|
|
2679
2557
|
}
|
|
2680
2558
|
condition_id?: string
|
|
2681
2559
|
schedule_id?: string
|
|
2682
|
-
loop_id?: string
|
|
2683
2560
|
}
|
|
2684
2561
|
```
|
|
2685
2562
|
|
|
@@ -2750,7 +2627,6 @@ type TriggerWebhookActionConfig = {
|
|
|
2750
2627
|
}
|
|
2751
2628
|
condition_id?: string
|
|
2752
2629
|
schedule_id?: string
|
|
2753
|
-
loop_id?: string
|
|
2754
2630
|
}
|
|
2755
2631
|
```
|
|
2756
2632
|
|
|
@@ -2801,7 +2677,6 @@ type InformERPActionConfig = {
|
|
|
2801
2677
|
}
|
|
2802
2678
|
condition_id?: string
|
|
2803
2679
|
schedule_id?: string
|
|
2804
|
-
loop_id?: string
|
|
2805
2680
|
}
|
|
2806
2681
|
```
|
|
2807
2682
|
|
|
@@ -2849,7 +2724,6 @@ type TriggerEventActionConfig = {
|
|
|
2849
2724
|
}
|
|
2850
2725
|
condition_id?: string
|
|
2851
2726
|
schedule_id?: string
|
|
2852
|
-
loop_id?: string
|
|
2853
2727
|
}
|
|
2854
2728
|
```
|
|
2855
2729
|
|
|
@@ -2900,7 +2774,6 @@ type FlowExecutionCancelActionConfig = {
|
|
|
2900
2774
|
}
|
|
2901
2775
|
condition_id?: string
|
|
2902
2776
|
schedule_id?: string
|
|
2903
|
-
loop_id?: string
|
|
2904
2777
|
}
|
|
2905
2778
|
```
|
|
2906
2779
|
|
|
@@ -2972,13 +2845,6 @@ type ActionCondition = {
|
|
|
2972
2845
|
id?: string
|
|
2973
2846
|
schedule_id?: string
|
|
2974
2847
|
evaluationResult?: boolean
|
|
2975
|
-
error_output?: {
|
|
2976
|
-
error_code: "MAPPING_ERROR" | "REFRESH_RELATIONS_ERROR" | "DUPLICATE_ENTITY_ERROR" | "TRIGGER_WORKFLOW_ERROR" | "TIMEOUT_ERROR" | "BAD_CONFIG" | "INTERNAL_ERROR" | "TRIGGER_WEBHOOK_ERROR" | "TEMPLATE_ERROR" | "INVALID_PAYLOAD" | "INVALID_SCHEDULE_CONFIG" | "CUSTOM_ACTION_ERROR" | "ORDER_CREATION_ERROR" | "DOCUMENT_GENERATION_ERROR" | "BULK_EMAIL_ERROR" | "SHARING_ERROR" | "CANCEL_FLOW_EXECUTION_ERROR" | "METER_READING_NOT_FOUND" | "ENTITY_NOT_FOUND"
|
|
2977
|
-
error_reason: string
|
|
2978
|
-
error_info?: {
|
|
2979
|
-
details?: { ... }
|
|
2980
|
-
}
|
|
2981
|
-
}
|
|
2982
2848
|
statements?: Array<{
|
|
2983
2849
|
id?: string // uuid
|
|
2984
2850
|
source?: {
|
|
@@ -3062,11 +2928,6 @@ type AutomationExecution = {
|
|
|
3062
2928
|
id?: string
|
|
3063
2929
|
schedule_id?: string
|
|
3064
2930
|
evaluationResult?: boolean
|
|
3065
|
-
error_output?: {
|
|
3066
|
-
error_code: { ... }
|
|
3067
|
-
error_reason: { ... }
|
|
3068
|
-
error_info?: { ... }
|
|
3069
|
-
}
|
|
3070
2931
|
statements?: Array<{
|
|
3071
2932
|
id?: { ... }
|
|
3072
2933
|
source?: { ... }
|
|
@@ -3138,19 +2999,15 @@ type AutomationExecution = {
|
|
|
3138
2999
|
config?: {
|
|
3139
3000
|
template_id?: { ... }
|
|
3140
3001
|
filename?: { ... }
|
|
3002
|
+
}
|
|
3003
|
+
} | {
|
|
3004
|
+
type?: "send-email"
|
|
3005
|
+
config?: {
|
|
3006
|
+
email_template_id?: { ... }
|
|
3141
3007
|
// ...
|
|
3142
3008
|
}
|
|
3143
3009
|
```
|
|
3144
3010
|
|
|
3145
|
-
### `AutomationLoopState`
|
|
3146
|
-
|
|
3147
|
-
```ts
|
|
3148
|
-
type AutomationLoopState = {
|
|
3149
|
-
current_index: number
|
|
3150
|
-
total: number
|
|
3151
|
-
}
|
|
3152
|
-
```
|
|
3153
|
-
|
|
3154
3011
|
### `WorkflowExecutionContext`
|
|
3155
3012
|
|
|
3156
3013
|
```ts
|
|
@@ -3311,7 +3168,6 @@ type GetExecutionsResp = {
|
|
|
3311
3168
|
id?: { ... }
|
|
3312
3169
|
schedule_id?: { ... }
|
|
3313
3170
|
evaluationResult?: { ... }
|
|
3314
|
-
error_output?: { ... }
|
|
3315
3171
|
statements?: { ... }
|
|
3316
3172
|
}>
|
|
3317
3173
|
schedules?: Array<{
|
|
@@ -3364,14 +3220,12 @@ type GetExecutionsResp = {
|
|
|
3364
3220
|
reason?: { ... }
|
|
3365
3221
|
condition_id?: { ... }
|
|
3366
3222
|
schedule_id?: { ... }
|
|
3367
|
-
loop_id?: { ... }
|
|
3368
3223
|
execution_status?: { ... }
|
|
3369
3224
|
started_at?: { ... }
|
|
3370
3225
|
updated_at?: { ... }
|
|
3371
3226
|
outputs?: { ... }
|
|
3372
3227
|
error_output?: { ... }
|
|
3373
3228
|
retry_strategy?: { ... }
|
|
3374
|
-
iterations?: { ... }
|
|
3375
3229
|
} | {
|
|
3376
3230
|
type?: { ... }
|
|
3377
3231
|
config?: { ... }
|
|
@@ -3385,6 +3239,9 @@ type GetExecutionsResp = {
|
|
|
3385
3239
|
resume_token?: string
|
|
3386
3240
|
trigger_context?: Record<string, string>
|
|
3387
3241
|
version?: number
|
|
3242
|
+
trigger_event?: {
|
|
3243
|
+
type?: { ... }
|
|
3244
|
+
org_id: { ... }
|
|
3388
3245
|
// ...
|
|
3389
3246
|
}
|
|
3390
3247
|
```
|
|
@@ -4261,7 +4118,6 @@ type ResumeResp = {
|
|
|
4261
4118
|
id?: { ... }
|
|
4262
4119
|
schedule_id?: { ... }
|
|
4263
4120
|
evaluationResult?: { ... }
|
|
4264
|
-
error_output?: { ... }
|
|
4265
4121
|
statements?: { ... }
|
|
4266
4122
|
}>
|
|
4267
4123
|
schedules?: Array<{
|
|
@@ -4314,14 +4170,12 @@ type ResumeResp = {
|
|
|
4314
4170
|
reason?: { ... }
|
|
4315
4171
|
condition_id?: { ... }
|
|
4316
4172
|
schedule_id?: { ... }
|
|
4317
|
-
loop_id?: { ... }
|
|
4318
4173
|
execution_status?: { ... }
|
|
4319
4174
|
started_at?: { ... }
|
|
4320
4175
|
updated_at?: { ... }
|
|
4321
4176
|
outputs?: { ... }
|
|
4322
4177
|
error_output?: { ... }
|
|
4323
4178
|
retry_strategy?: { ... }
|
|
4324
|
-
iterations?: { ... }
|
|
4325
4179
|
} | {
|
|
4326
4180
|
type?: { ... }
|
|
4327
4181
|
config?: { ... }
|
|
@@ -4336,6 +4190,9 @@ type ResumeResp = {
|
|
|
4336
4190
|
trigger_context?: Record<string, string>
|
|
4337
4191
|
version?: number
|
|
4338
4192
|
trigger_event?: {
|
|
4193
|
+
type?: { ... }
|
|
4194
|
+
org_id: { ... }
|
|
4195
|
+
entity_id: { ... }
|
|
4339
4196
|
// ...
|
|
4340
4197
|
}
|
|
4341
4198
|
```
|