@epilot/sdk 2.9.4 → 2.10.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/definitions/ai-agents-runtime.json +1 -1
- package/definitions/ai-agents.json +63 -936
- package/definitions/focus-pocus-runtime.json +1 -0
- package/definitions/focus-pocus.json +757 -0
- package/definitions/integration-toolkit-runtime.json +1 -1
- package/definitions/integration-toolkit.json +213 -2
- package/definitions/workflow-runtime.json +1 -1
- package/definitions/workflow.json +60 -445
- package/dist/ai-agents-IZWFEUSH.js +7 -0
- package/dist/ai-agents-PWHKNRCX.cjs +7 -0
- package/dist/{ai-agents-runtime-EA23HCCP.js → ai-agents-runtime-25YRUJHI.js} +1 -1
- package/dist/{ai-agents-runtime-WZ3EI3NH.cjs → ai-agents-runtime-TILIO3UM.cjs} +2 -2
- package/dist/{ai-agents.d-D-7bTH-9.d.cts → ai-agents.d-CC5IjXrs.d.cts} +5 -506
- package/dist/{ai-agents.d-D-7bTH-9.d.ts → ai-agents.d-CC5IjXrs.d.ts} +5 -506
- package/dist/apis/access-token.cjs +6 -6
- package/dist/apis/access-token.js +1 -1
- 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 +8 -8
- package/dist/apis/ai-agents.d.cts +2 -2
- package/dist/apis/ai-agents.d.ts +2 -2
- package/dist/apis/ai-agents.js +2 -2
- 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.js +1 -1
- package/dist/apis/billing.cjs +6 -6
- package/dist/apis/billing.js +1 -1
- package/dist/apis/blueprint-manifest.cjs +6 -6
- package/dist/apis/blueprint-manifest.js +1 -1
- 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 +8 -8
- package/dist/apis/integration-toolkit.d.cts +2 -2
- package/dist/apis/integration-toolkit.d.ts +2 -2
- package/dist/apis/integration-toolkit.js +2 -2
- package/dist/apis/journey.cjs +6 -6
- 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 +6 -6
- package/dist/apis/snapshot.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.js +1 -1
- package/dist/apis/template-variables.cjs +6 -6
- package/dist/apis/template-variables.js +1 -1
- package/dist/apis/user.cjs +6 -6
- package/dist/apis/user.js +1 -1
- 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 +8 -8
- package/dist/apis/workflow.d.cts +2 -2
- package/dist/apis/workflow.d.ts +2 -2
- package/dist/apis/workflow.js +2 -2
- package/dist/chunk-7WGJSGWE.js +14 -0
- package/dist/chunk-FARDEGPH.cjs +14 -0
- package/dist/chunk-JENQHXFI.js +14 -0
- package/dist/{chunk-522LYPPW.js → chunk-KQKBSWGI.js} +1 -1
- package/dist/{chunk-LNVAFYGS.cjs → chunk-OJGUX5TG.cjs} +6 -6
- package/dist/{chunk-PM25LLET.cjs → chunk-QNZPOA54.cjs} +1 -1
- package/dist/{chunk-J4ZE3ANW.js → chunk-XH5F3S6Y.js} +6 -6
- package/dist/chunk-YISO22FS.cjs +14 -0
- package/dist/index.cjs +14 -14
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +4 -4
- package/dist/integration-toolkit-DUMRNE6A.cjs +7 -0
- package/dist/integration-toolkit-IK7KA76K.js +7 -0
- package/dist/{integration-toolkit-runtime-FR6RZS5O.cjs → integration-toolkit-runtime-4LHEPGGC.cjs} +2 -2
- package/dist/{integration-toolkit-runtime-I2O6QP5G.js → integration-toolkit-runtime-5K3AAC63.js} +1 -1
- package/dist/{integration-toolkit.d-DUZ_fiuf.d.cts → integration-toolkit.d-BVe_MBBi.d.cts} +162 -3
- package/dist/{integration-toolkit.d-DUZ_fiuf.d.ts → integration-toolkit.d-BVe_MBBi.d.ts} +162 -3
- package/dist/js-yaml-DLCVPJ7G.js +0 -0
- package/dist/workflow-3WBD74WR.js +7 -0
- package/dist/workflow-WIUZ5TOX.cjs +7 -0
- package/dist/{workflow-runtime-L5HMFISV.js → workflow-runtime-DNTQDYPQ.js} +1 -1
- package/dist/{workflow-runtime-LMGACZP4.cjs → workflow-runtime-VKFESVFX.cjs} +2 -2
- package/dist/{workflow.d-eFv0ecBi.d.ts → workflow.d-CMSKt8oN.d.cts} +81 -745
- package/dist/{workflow.d-eFv0ecBi.d.cts → workflow.d-CMSKt8oN.d.ts} +81 -745
- package/docs/ai-agents.md +23 -641
- package/docs/integration-toolkit.md +133 -0
- package/docs/workflow.md +47 -247
- package/package.json +12 -11
- package/dist/ai-agents-D6C5TXLD.cjs +0 -7
- package/dist/ai-agents-Y6PH53PH.js +0 -7
- package/dist/chunk-3CNCQJOJ.js +0 -14
- package/dist/chunk-BRWY3QHG.js +0 -14
- package/dist/chunk-ILIHCSNO.cjs +0 -14
- package/dist/chunk-YEBEA6XU.cjs +0 -14
- package/dist/integration-toolkit-TL3BQ6FJ.cjs +0 -7
- package/dist/integration-toolkit-X3Y4OFVW.js +0 -7
- package/dist/workflow-7OU2YEEI.cjs +0 -7
- package/dist/workflow-IVKCWS44.js +0 -7
package/docs/workflow.md
CHANGED
|
@@ -51,7 +51,6 @@ const { data } = await workflowClient.getExecutions(...)
|
|
|
51
51
|
- [`patchPhase`](#patchphase)
|
|
52
52
|
- [`addTask`](#addtask)
|
|
53
53
|
- [`cancelTaskSchedule`](#canceltaskschedule)
|
|
54
|
-
- [`reconcileAutomationTask`](#reconcileautomationtask)
|
|
55
54
|
- [`runTaskScheduleNow`](#runtaskschedulenow)
|
|
56
55
|
|
|
57
56
|
**Schemas**
|
|
@@ -211,7 +210,7 @@ const { data } = await client.getExecutions({
|
|
|
211
210
|
|
|
212
211
|
### `createExecution`
|
|
213
212
|
|
|
214
|
-
|
|
213
|
+
Create a Workflow Execution. Start a new workflow execution, based on a workflow definition (template).
|
|
215
214
|
|
|
216
215
|
`POST /v1/workflows/executions`
|
|
217
216
|
|
|
@@ -285,7 +284,7 @@ const { data } = await client.createExecution(
|
|
|
285
284
|
|
|
286
285
|
### `getExecution`
|
|
287
286
|
|
|
288
|
-
|
|
287
|
+
Get a full workflow execution, included steps information, by execution id.
|
|
289
288
|
|
|
290
289
|
`GET /v1/workflows/executions/{executionId}`
|
|
291
290
|
|
|
@@ -523,7 +522,7 @@ const { data } = await client.createStep(
|
|
|
523
522
|
|
|
524
523
|
### `updateStep`
|
|
525
524
|
|
|
526
|
-
|
|
525
|
+
Patches various changes to a workflow execution step.
|
|
527
526
|
|
|
528
527
|
`PATCH /v1/workflows/executions/{executionId}/steps/{stepId}`
|
|
529
528
|
|
|
@@ -708,7 +707,7 @@ const { data } = await client.getClosingReasonExecution({
|
|
|
708
707
|
|
|
709
708
|
### `startFlowExecution`
|
|
710
709
|
|
|
711
|
-
Starts a new Flow Execution based on a flow template
|
|
710
|
+
Starts a new Flow Execution based on a flow template.
|
|
712
711
|
|
|
713
712
|
`POST /v2/flows/executions`
|
|
714
713
|
|
|
@@ -716,7 +715,7 @@ Starts a new Flow Execution based on a flow template (definition).
|
|
|
716
715
|
const { data } = await client.startFlowExecution(
|
|
717
716
|
null,
|
|
718
717
|
{
|
|
719
|
-
flow_template_id: '
|
|
718
|
+
flow_template_id: 'string',
|
|
720
719
|
trigger: {
|
|
721
720
|
type: 'MANUAL',
|
|
722
721
|
automation_config: {
|
|
@@ -727,9 +726,7 @@ const { data } = await client.startFlowExecution(
|
|
|
727
726
|
input_context: {
|
|
728
727
|
source: 'trigger',
|
|
729
728
|
task_id: 'string'
|
|
730
|
-
}
|
|
731
|
-
heal_attempts: 0,
|
|
732
|
-
last_heal_attempted_at: '1970-01-01T00:00:00.000Z'
|
|
729
|
+
}
|
|
733
730
|
}
|
|
734
731
|
},
|
|
735
732
|
contexts: [
|
|
@@ -781,8 +778,7 @@ const { data } = await client.startFlowExecution(
|
|
|
781
778
|
],
|
|
782
779
|
"crt_tasks": [
|
|
783
780
|
{
|
|
784
|
-
"id": "string"
|
|
785
|
-
"crt_since": "1970-01-01T00:00:00.000Z"
|
|
781
|
+
"id": "string"
|
|
786
782
|
}
|
|
787
783
|
],
|
|
788
784
|
"phases": [
|
|
@@ -865,9 +861,7 @@ const { data } = await client.startFlowExecution(
|
|
|
865
861
|
"execution_id": "string",
|
|
866
862
|
"execution_status": "string",
|
|
867
863
|
"error_reason": "string",
|
|
868
|
-
"input_context": {}
|
|
869
|
-
"heal_attempts": 0,
|
|
870
|
-
"last_heal_attempted_at": "1970-01-01T00:00:00.000Z"
|
|
864
|
+
"input_context": {}
|
|
871
865
|
}
|
|
872
866
|
},
|
|
873
867
|
"singleClosingReasonSelection": true
|
|
@@ -880,7 +874,7 @@ const { data } = await client.startFlowExecution(
|
|
|
880
874
|
|
|
881
875
|
### `getFlowExecution`
|
|
882
876
|
|
|
883
|
-
|
|
877
|
+
Get a full flow execution, included tasks, phases, edges & analytics.
|
|
884
878
|
|
|
885
879
|
`GET /v2/flows/executions/{execution_id}`
|
|
886
880
|
|
|
@@ -927,8 +921,7 @@ const { data } = await client.getFlowExecution({
|
|
|
927
921
|
],
|
|
928
922
|
"crt_tasks": [
|
|
929
923
|
{
|
|
930
|
-
"id": "string"
|
|
931
|
-
"crt_since": "1970-01-01T00:00:00.000Z"
|
|
924
|
+
"id": "string"
|
|
932
925
|
}
|
|
933
926
|
],
|
|
934
927
|
"phases": [
|
|
@@ -1011,9 +1004,7 @@ const { data } = await client.getFlowExecution({
|
|
|
1011
1004
|
"execution_id": "string",
|
|
1012
1005
|
"execution_status": "string",
|
|
1013
1006
|
"error_reason": "string",
|
|
1014
|
-
"input_context": {}
|
|
1015
|
-
"heal_attempts": 0,
|
|
1016
|
-
"last_heal_attempted_at": "1970-01-01T00:00:00.000Z"
|
|
1007
|
+
"input_context": {}
|
|
1017
1008
|
}
|
|
1018
1009
|
},
|
|
1019
1010
|
"singleClosingReasonSelection": true
|
|
@@ -1109,8 +1100,7 @@ const { data } = await client.patchFlowExecution(
|
|
|
1109
1100
|
],
|
|
1110
1101
|
"crt_tasks": [
|
|
1111
1102
|
{
|
|
1112
|
-
"id": "string"
|
|
1113
|
-
"crt_since": "1970-01-01T00:00:00.000Z"
|
|
1103
|
+
"id": "string"
|
|
1114
1104
|
}
|
|
1115
1105
|
],
|
|
1116
1106
|
"phases": [
|
|
@@ -1193,9 +1183,7 @@ const { data } = await client.patchFlowExecution(
|
|
|
1193
1183
|
"execution_id": "string",
|
|
1194
1184
|
"execution_status": "string",
|
|
1195
1185
|
"error_reason": "string",
|
|
1196
|
-
"input_context": {}
|
|
1197
|
-
"heal_attempts": 0,
|
|
1198
|
-
"last_heal_attempted_at": "1970-01-01T00:00:00.000Z"
|
|
1186
|
+
"input_context": {}
|
|
1199
1187
|
}
|
|
1200
1188
|
},
|
|
1201
1189
|
"singleClosingReasonSelection": true
|
|
@@ -1278,7 +1266,7 @@ const { data } = await client.searchFlowExecutions(
|
|
|
1278
1266
|
|
|
1279
1267
|
### `patchTask`
|
|
1280
1268
|
|
|
1281
|
-
|
|
1269
|
+
Changes various attributes of a flow task, like assignees, status, due date, etc.
|
|
1282
1270
|
|
|
1283
1271
|
`PATCH /v2/flows/executions/{execution_id}/tasks/{task_id}`
|
|
1284
1272
|
|
|
@@ -1289,9 +1277,9 @@ const { data } = await client.patchTask(
|
|
|
1289
1277
|
task_id: 'example',
|
|
1290
1278
|
},
|
|
1291
1279
|
{
|
|
1292
|
-
name: '
|
|
1280
|
+
name: 'string',
|
|
1293
1281
|
status: 'UNASSIGNED',
|
|
1294
|
-
due_date: '
|
|
1282
|
+
due_date: '2021-04-27T12:00:00.000Z',
|
|
1295
1283
|
due_date_config: {
|
|
1296
1284
|
duration: 0,
|
|
1297
1285
|
unit: 'minutes',
|
|
@@ -1309,9 +1297,7 @@ const { data } = await client.patchTask(
|
|
|
1309
1297
|
input_context: {
|
|
1310
1298
|
source: 'trigger',
|
|
1311
1299
|
task_id: 'string'
|
|
1312
|
-
}
|
|
1313
|
-
heal_attempts: 0,
|
|
1314
|
-
last_heal_attempted_at: '1970-01-01T00:00:00.000Z'
|
|
1300
|
+
}
|
|
1315
1301
|
},
|
|
1316
1302
|
description: {
|
|
1317
1303
|
enabled: true,
|
|
@@ -1344,9 +1330,8 @@ const { data } = await client.patchTask(
|
|
|
1344
1330
|
label: 'string',
|
|
1345
1331
|
description: 'string'
|
|
1346
1332
|
},
|
|
1347
|
-
next_condition_id: '
|
|
1348
|
-
revert_execution: false
|
|
1349
|
-
completed_via_journey: false
|
|
1333
|
+
next_condition_id: 'string',
|
|
1334
|
+
revert_execution: false
|
|
1350
1335
|
},
|
|
1351
1336
|
)
|
|
1352
1337
|
```
|
|
@@ -1541,9 +1526,7 @@ const { data } = await client.runTaskAutomation({
|
|
|
1541
1526
|
"input_context": {
|
|
1542
1527
|
"source": "trigger",
|
|
1543
1528
|
"task_id": "string"
|
|
1544
|
-
}
|
|
1545
|
-
"heal_attempts": 0,
|
|
1546
|
-
"last_heal_attempted_at": "1970-01-01T00:00:00.000Z"
|
|
1529
|
+
}
|
|
1547
1530
|
},
|
|
1548
1531
|
"automation_execution_id": "string",
|
|
1549
1532
|
"trigger_mode": "manual",
|
|
@@ -1768,9 +1751,7 @@ const { data } = await client.addTask(
|
|
|
1768
1751
|
input_context: {
|
|
1769
1752
|
source: 'trigger',
|
|
1770
1753
|
task_id: 'string'
|
|
1771
|
-
}
|
|
1772
|
-
heal_attempts: 0,
|
|
1773
|
-
last_heal_attempted_at: '1970-01-01T00:00:00.000Z'
|
|
1754
|
+
}
|
|
1774
1755
|
},
|
|
1775
1756
|
phase_id: 'string',
|
|
1776
1757
|
task_type: 'MANUAL'
|
|
@@ -1884,153 +1865,6 @@ const { data } = await client.cancelTaskSchedule({
|
|
|
1884
1865
|
|
|
1885
1866
|
---
|
|
1886
1867
|
|
|
1887
|
-
### `reconcileAutomationTask`
|
|
1888
|
-
|
|
1889
|
-
Reconciles an automation task's status against its linked automation execution.
|
|
1890
|
-
|
|
1891
|
-
`POST /v2/flows/executions/{execution_id}/tasks/{task_id}/reconcile-automation`
|
|
1892
|
-
|
|
1893
|
-
```ts
|
|
1894
|
-
const { data } = await client.reconcileAutomationTask({
|
|
1895
|
-
execution_id: 'example',
|
|
1896
|
-
task_id: 'example',
|
|
1897
|
-
})
|
|
1898
|
-
```
|
|
1899
|
-
|
|
1900
|
-
<details>
|
|
1901
|
-
<summary>Response</summary>
|
|
1902
|
-
|
|
1903
|
-
```json
|
|
1904
|
-
{
|
|
1905
|
-
"id": "string",
|
|
1906
|
-
"flow_template_id": "string",
|
|
1907
|
-
"org_id": "string",
|
|
1908
|
-
"name": "string",
|
|
1909
|
-
"created_at": "string",
|
|
1910
|
-
"updated_at": "string",
|
|
1911
|
-
"due_date": "string",
|
|
1912
|
-
"due_date_config": {
|
|
1913
|
-
"duration": 0,
|
|
1914
|
-
"unit": "minutes",
|
|
1915
|
-
"type": "WORKFLOW_STARTED",
|
|
1916
|
-
"task_id": "string",
|
|
1917
|
-
"phase_id": "string"
|
|
1918
|
-
},
|
|
1919
|
-
"status": "STARTED",
|
|
1920
|
-
"assigned_to": ["string"],
|
|
1921
|
-
"analytics": {
|
|
1922
|
-
"started_at": "string",
|
|
1923
|
-
"completed_at": "string",
|
|
1924
|
-
"closed_at": "string",
|
|
1925
|
-
"started_by": "string",
|
|
1926
|
-
"closed_by": "string"
|
|
1927
|
-
},
|
|
1928
|
-
"contexts": [
|
|
1929
|
-
{
|
|
1930
|
-
"entity_id": "string",
|
|
1931
|
-
"entity_schema": "string",
|
|
1932
|
-
"is_primary": false
|
|
1933
|
-
}
|
|
1934
|
-
],
|
|
1935
|
-
"crt_tasks": [
|
|
1936
|
-
{
|
|
1937
|
-
"id": "string",
|
|
1938
|
-
"crt_since": "1970-01-01T00:00:00.000Z"
|
|
1939
|
-
}
|
|
1940
|
-
],
|
|
1941
|
-
"phases": [
|
|
1942
|
-
{
|
|
1943
|
-
"id": "string",
|
|
1944
|
-
"template_id": "string",
|
|
1945
|
-
"name": "string",
|
|
1946
|
-
"status": "OPEN",
|
|
1947
|
-
"updated_at": "string",
|
|
1948
|
-
"due_date": "2021-04-27T12:00:00.000Z",
|
|
1949
|
-
"due_date_config": {},
|
|
1950
|
-
"assigned_to": ["string"],
|
|
1951
|
-
"analytics": {},
|
|
1952
|
-
"taxonomies": ["string"],
|
|
1953
|
-
"loop_config": {}
|
|
1954
|
-
}
|
|
1955
|
-
],
|
|
1956
|
-
"tasks": [
|
|
1957
|
-
{
|
|
1958
|
-
"id": "string",
|
|
1959
|
-
"template_id": "string",
|
|
1960
|
-
"name": "string",
|
|
1961
|
-
"description": {},
|
|
1962
|
-
"status": "UNASSIGNED",
|
|
1963
|
-
"journey": {},
|
|
1964
|
-
"due_date": "2021-04-27T12:00:00.000Z",
|
|
1965
|
-
"due_date_config": {},
|
|
1966
|
-
"requirements": [],
|
|
1967
|
-
"assigned_to": ["string"],
|
|
1968
|
-
"analytics": {},
|
|
1969
|
-
"created_at": "1970-01-01T00:00:00.000Z",
|
|
1970
|
-
"updated_at": "1970-01-01T00:00:00.000Z",
|
|
1971
|
-
"manually_created": true,
|
|
1972
|
-
"enabled": true,
|
|
1973
|
-
"ecp": {},
|
|
1974
|
-
"installer": {},
|
|
1975
|
-
"partner": {},
|
|
1976
|
-
"taxonomies": ["string"],
|
|
1977
|
-
"phase_id": "string",
|
|
1978
|
-
"task_type": "MANUAL",
|
|
1979
|
-
"loop_config": {}
|
|
1980
|
-
}
|
|
1981
|
-
],
|
|
1982
|
-
"edges": [
|
|
1983
|
-
{
|
|
1984
|
-
"id": "string",
|
|
1985
|
-
"from_id": "string",
|
|
1986
|
-
"to_id": "string",
|
|
1987
|
-
"condition_id": "abc123",
|
|
1988
|
-
"none_met": true
|
|
1989
|
-
}
|
|
1990
|
-
],
|
|
1991
|
-
"_execution_chain": {
|
|
1992
|
-
"parent_execution_id": "string",
|
|
1993
|
-
"parent_task_id": "string",
|
|
1994
|
-
"depth": 0
|
|
1995
|
-
},
|
|
1996
|
-
"closing_reason": {
|
|
1997
|
-
"selected_reasons": [
|
|
1998
|
-
{}
|
|
1999
|
-
],
|
|
2000
|
-
"configured_reasons": [
|
|
2001
|
-
{}
|
|
2002
|
-
],
|
|
2003
|
-
"extra_description": "string"
|
|
2004
|
-
},
|
|
2005
|
-
"available_in_ecp": true,
|
|
2006
|
-
"entity_sync": [
|
|
2007
|
-
{
|
|
2008
|
-
"trigger": {},
|
|
2009
|
-
"target": {},
|
|
2010
|
-
"value": {}
|
|
2011
|
-
}
|
|
2012
|
-
],
|
|
2013
|
-
"taxonomies": ["string"],
|
|
2014
|
-
"trigger": {
|
|
2015
|
-
"type": "MANUAL",
|
|
2016
|
-
"automation_config": {
|
|
2017
|
-
"flow_id": "string",
|
|
2018
|
-
"execution_id": "string",
|
|
2019
|
-
"execution_status": "string",
|
|
2020
|
-
"error_reason": "string",
|
|
2021
|
-
"input_context": {},
|
|
2022
|
-
"heal_attempts": 0,
|
|
2023
|
-
"last_heal_attempted_at": "1970-01-01T00:00:00.000Z"
|
|
2024
|
-
}
|
|
2025
|
-
},
|
|
2026
|
-
"singleClosingReasonSelection": true
|
|
2027
|
-
}
|
|
2028
|
-
```
|
|
2029
|
-
|
|
2030
|
-
</details>
|
|
2031
|
-
|
|
2032
|
-
---
|
|
2033
|
-
|
|
2034
1868
|
### `runTaskScheduleNow`
|
|
2035
1869
|
|
|
2036
1870
|
Cancels the pending schedule for a task and immediately triggers its automation execution.
|
|
@@ -3430,13 +3264,9 @@ type ExecutionPaginationDynamo = {
|
|
|
3430
3264
|
|
|
3431
3265
|
### `ErrorResp`
|
|
3432
3266
|
|
|
3433
|
-
Standard error response returned when an API request fails.
|
|
3434
|
-
Contains a human-readable message describing the error.
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
3267
|
```ts
|
|
3438
3268
|
type ErrorResp = {
|
|
3439
|
-
message
|
|
3269
|
+
message?: string
|
|
3440
3270
|
}
|
|
3441
3271
|
```
|
|
3442
3272
|
|
|
@@ -3561,9 +3391,6 @@ type StepRequirement = {
|
|
|
3561
3391
|
|
|
3562
3392
|
### `StartFlowReq`
|
|
3563
3393
|
|
|
3564
|
-
Request payload for starting a new flow execution from a template.
|
|
3565
|
-
|
|
3566
|
-
|
|
3567
3394
|
```ts
|
|
3568
3395
|
type StartFlowReq = {
|
|
3569
3396
|
flow_template_id: string
|
|
@@ -3575,8 +3402,6 @@ type StartFlowReq = {
|
|
|
3575
3402
|
execution_status?: { ... }
|
|
3576
3403
|
error_reason?: { ... }
|
|
3577
3404
|
input_context?: { ... }
|
|
3578
|
-
heal_attempts?: { ... }
|
|
3579
|
-
last_heal_attempted_at?: { ... }
|
|
3580
3405
|
}
|
|
3581
3406
|
}
|
|
3582
3407
|
contexts: Array<{
|
|
@@ -3620,7 +3445,7 @@ type PatchFlowReq = {
|
|
|
3620
3445
|
due_date?: string
|
|
3621
3446
|
due_date_config?: {
|
|
3622
3447
|
duration: number
|
|
3623
|
-
unit: "minutes" | "hours" | "days" | "weeks" | "months"
|
|
3448
|
+
unit: "minutes" | "hours" | "days" | "weeks" | "months"
|
|
3624
3449
|
type: "WORKFLOW_STARTED" | "TASK_FINISHED" | "PHASE_FINISHED" | "A_PRECEDING_TASK_COMPLETED" | "ALL_PRECEDING_TASKS_COMPLETED"
|
|
3625
3450
|
task_id?: string
|
|
3626
3451
|
phase_id?: string
|
|
@@ -3646,7 +3471,7 @@ type FlowExecution = {
|
|
|
3646
3471
|
due_date?: string
|
|
3647
3472
|
due_date_config?: {
|
|
3648
3473
|
duration: number
|
|
3649
|
-
unit: "minutes" | "hours" | "days" | "weeks" | "months"
|
|
3474
|
+
unit: "minutes" | "hours" | "days" | "weeks" | "months"
|
|
3650
3475
|
type: "WORKFLOW_STARTED" | "TASK_FINISHED" | "PHASE_FINISHED" | "A_PRECEDING_TASK_COMPLETED" | "ALL_PRECEDING_TASKS_COMPLETED"
|
|
3651
3476
|
task_id?: string
|
|
3652
3477
|
phase_id?: string
|
|
@@ -3670,7 +3495,6 @@ type FlowExecution = {
|
|
|
3670
3495
|
}>
|
|
3671
3496
|
crt_tasks: Array<{
|
|
3672
3497
|
id?: string
|
|
3673
|
-
crt_since?: string // date-time
|
|
3674
3498
|
}>
|
|
3675
3499
|
phases?: Array<{
|
|
3676
3500
|
id: string
|
|
@@ -3736,6 +3560,7 @@ type FlowExecution = {
|
|
|
3736
3560
|
}>
|
|
3737
3561
|
assigned_to?: Array<string | {
|
|
3738
3562
|
variable: { ... }
|
|
3563
|
+
value?: { ... }
|
|
3739
3564
|
// ...
|
|
3740
3565
|
}
|
|
3741
3566
|
```
|
|
@@ -3770,8 +3595,6 @@ type FlowTrigger = {
|
|
|
3770
3595
|
source: { ... }
|
|
3771
3596
|
task_id?: { ... }
|
|
3772
3597
|
}
|
|
3773
|
-
heal_attempts?: number
|
|
3774
|
-
last_heal_attempted_at?: string // date-time
|
|
3775
3598
|
}
|
|
3776
3599
|
}
|
|
3777
3600
|
```
|
|
@@ -3829,7 +3652,7 @@ type Task = {
|
|
|
3829
3652
|
due_date?: string
|
|
3830
3653
|
due_date_config?: {
|
|
3831
3654
|
duration: number
|
|
3832
|
-
unit: "minutes" | "hours" | "days" | "weeks" | "months"
|
|
3655
|
+
unit: "minutes" | "hours" | "days" | "weeks" | "months"
|
|
3833
3656
|
type: "WORKFLOW_STARTED" | "TASK_FINISHED" | "PHASE_FINISHED" | "A_PRECEDING_TASK_COMPLETED" | "ALL_PRECEDING_TASKS_COMPLETED"
|
|
3834
3657
|
task_id?: string
|
|
3835
3658
|
phase_id?: string
|
|
@@ -3909,7 +3732,7 @@ type Task = {
|
|
|
3909
3732
|
due_date?: string
|
|
3910
3733
|
due_date_config?: {
|
|
3911
3734
|
duration: number
|
|
3912
|
-
unit: "minutes" | "hours" | "days" | "weeks" | "months"
|
|
3735
|
+
unit: "minutes" | "hours" | "days" | "weeks" | "months"
|
|
3913
3736
|
type: "WORKFLOW_STARTED" | "TASK_FINISHED" | "PHASE_FINISHED" | "A_PRECEDING_TASK_COMPLETED" | "ALL_PRECEDING_TASKS_COMPLETED"
|
|
3914
3737
|
// ...
|
|
3915
3738
|
}
|
|
@@ -3942,7 +3765,7 @@ type ManualTask = {
|
|
|
3942
3765
|
due_date?: string
|
|
3943
3766
|
due_date_config?: {
|
|
3944
3767
|
duration: number
|
|
3945
|
-
unit: "minutes" | "hours" | "days" | "weeks" | "months"
|
|
3768
|
+
unit: "minutes" | "hours" | "days" | "weeks" | "months"
|
|
3946
3769
|
type: "WORKFLOW_STARTED" | "TASK_FINISHED" | "PHASE_FINISHED" | "A_PRECEDING_TASK_COMPLETED" | "ALL_PRECEDING_TASKS_COMPLETED"
|
|
3947
3770
|
task_id?: string
|
|
3948
3771
|
phase_id?: string
|
|
@@ -4028,7 +3851,7 @@ type AutomationTask = {
|
|
|
4028
3851
|
due_date?: string
|
|
4029
3852
|
due_date_config?: {
|
|
4030
3853
|
duration: number
|
|
4031
|
-
unit: "minutes" | "hours" | "days" | "weeks" | "months"
|
|
3854
|
+
unit: "minutes" | "hours" | "days" | "weeks" | "months"
|
|
4032
3855
|
type: "WORKFLOW_STARTED" | "TASK_FINISHED" | "PHASE_FINISHED" | "A_PRECEDING_TASK_COMPLETED" | "ALL_PRECEDING_TASKS_COMPLETED"
|
|
4033
3856
|
task_id?: string
|
|
4034
3857
|
phase_id?: string
|
|
@@ -4095,8 +3918,6 @@ type AutomationTask = {
|
|
|
4095
3918
|
source: { ... }
|
|
4096
3919
|
task_id?: { ... }
|
|
4097
3920
|
}
|
|
4098
|
-
heal_attempts?: number
|
|
4099
|
-
last_heal_attempted_at?: string // date-time
|
|
4100
3921
|
}
|
|
4101
3922
|
automation_execution_id?: string
|
|
4102
3923
|
trigger_mode?: "manual" | "automatic"
|
|
@@ -4105,11 +3926,13 @@ type AutomationTask = {
|
|
|
4105
3926
|
} | {
|
|
4106
3927
|
mode: "delayed"
|
|
4107
3928
|
duration: number
|
|
4108
|
-
unit: "minutes" | "hours" | "days" | "weeks" | "months"
|
|
3929
|
+
unit: "minutes" | "hours" | "days" | "weeks" | "months"
|
|
4109
3930
|
schedule_id?: string
|
|
4110
|
-
scheduled_at?: string
|
|
4111
3931
|
} | {
|
|
4112
3932
|
mode: "relative"
|
|
3933
|
+
direction: "before" | "after"
|
|
3934
|
+
duration: number
|
|
3935
|
+
unit: "minutes" | "hours" | "days" | "weeks" | "months"
|
|
4113
3936
|
// ...
|
|
4114
3937
|
}
|
|
4115
3938
|
```
|
|
@@ -4150,14 +3973,13 @@ type ActionSchedule = {
|
|
|
4150
3973
|
} | {
|
|
4151
3974
|
mode: "delayed"
|
|
4152
3975
|
duration: number
|
|
4153
|
-
unit: "minutes" | "hours" | "days" | "weeks" | "months"
|
|
3976
|
+
unit: "minutes" | "hours" | "days" | "weeks" | "months"
|
|
4154
3977
|
schedule_id?: string
|
|
4155
|
-
scheduled_at?: string
|
|
4156
3978
|
} | {
|
|
4157
3979
|
mode: "relative"
|
|
4158
3980
|
direction: "before" | "after"
|
|
4159
3981
|
duration: number
|
|
4160
|
-
unit: "minutes" | "hours" | "days" | "weeks" | "months"
|
|
3982
|
+
unit: "minutes" | "hours" | "days" | "weeks" | "months"
|
|
4161
3983
|
reference: {
|
|
4162
3984
|
id: string
|
|
4163
3985
|
origin: "flow_started" | "task_completed" | "trigger_entity_attribute" | "all_preceding_tasks_completed"
|
|
@@ -4165,7 +3987,6 @@ type ActionSchedule = {
|
|
|
4165
3987
|
attribute?: string
|
|
4166
3988
|
}
|
|
4167
3989
|
schedule_id?: string
|
|
4168
|
-
scheduled_at?: string
|
|
4169
3990
|
}
|
|
4170
3991
|
```
|
|
4171
3992
|
|
|
@@ -4183,9 +4004,8 @@ type ImmediateSchedule = {
|
|
|
4183
4004
|
type DelayedSchedule = {
|
|
4184
4005
|
mode: "delayed"
|
|
4185
4006
|
duration: number
|
|
4186
|
-
unit: "minutes" | "hours" | "days" | "weeks" | "months"
|
|
4007
|
+
unit: "minutes" | "hours" | "days" | "weeks" | "months"
|
|
4187
4008
|
schedule_id?: string
|
|
4188
|
-
scheduled_at?: string
|
|
4189
4009
|
}
|
|
4190
4010
|
```
|
|
4191
4011
|
|
|
@@ -4196,7 +4016,7 @@ type RelativeSchedule = {
|
|
|
4196
4016
|
mode: "relative"
|
|
4197
4017
|
direction: "before" | "after"
|
|
4198
4018
|
duration: number
|
|
4199
|
-
unit: "minutes" | "hours" | "days" | "weeks" | "months"
|
|
4019
|
+
unit: "minutes" | "hours" | "days" | "weeks" | "months"
|
|
4200
4020
|
reference: {
|
|
4201
4021
|
id: string
|
|
4202
4022
|
origin: "flow_started" | "task_completed" | "trigger_entity_attribute" | "all_preceding_tasks_completed"
|
|
@@ -4204,7 +4024,6 @@ type RelativeSchedule = {
|
|
|
4204
4024
|
attribute?: string
|
|
4205
4025
|
}
|
|
4206
4026
|
schedule_id?: string
|
|
4207
|
-
scheduled_at?: string
|
|
4208
4027
|
}
|
|
4209
4028
|
```
|
|
4210
4029
|
|
|
@@ -4229,7 +4048,7 @@ type DecisionTask = {
|
|
|
4229
4048
|
due_date?: string
|
|
4230
4049
|
due_date_config?: {
|
|
4231
4050
|
duration: number
|
|
4232
|
-
unit: "minutes" | "hours" | "days" | "weeks" | "months"
|
|
4051
|
+
unit: "minutes" | "hours" | "days" | "weeks" | "months"
|
|
4233
4052
|
type: "WORKFLOW_STARTED" | "TASK_FINISHED" | "PHASE_FINISHED" | "A_PRECEDING_TASK_COMPLETED" | "ALL_PRECEDING_TASKS_COMPLETED"
|
|
4234
4053
|
task_id?: string
|
|
4235
4054
|
phase_id?: string
|
|
@@ -4306,11 +4125,11 @@ type DecisionTask = {
|
|
|
4306
4125
|
schedule?: {
|
|
4307
4126
|
mode: "delayed"
|
|
4308
4127
|
duration: number
|
|
4309
|
-
unit: "minutes" | "hours" | "days" | "weeks" | "months"
|
|
4128
|
+
unit: "minutes" | "hours" | "days" | "weeks" | "months"
|
|
4310
4129
|
schedule_id?: string
|
|
4311
|
-
scheduled_at?: string
|
|
4312
4130
|
} | {
|
|
4313
4131
|
mode: "relative"
|
|
4132
|
+
direction: "before" | "after"
|
|
4314
4133
|
// ...
|
|
4315
4134
|
}
|
|
4316
4135
|
```
|
|
@@ -4336,7 +4155,7 @@ type AiAgentTask = {
|
|
|
4336
4155
|
due_date?: string
|
|
4337
4156
|
due_date_config?: {
|
|
4338
4157
|
duration: number
|
|
4339
|
-
unit: "minutes" | "hours" | "days" | "weeks" | "months"
|
|
4158
|
+
unit: "minutes" | "hours" | "days" | "weeks" | "months"
|
|
4340
4159
|
type: "WORKFLOW_STARTED" | "TASK_FINISHED" | "PHASE_FINISHED" | "A_PRECEDING_TASK_COMPLETED" | "ALL_PRECEDING_TASKS_COMPLETED"
|
|
4341
4160
|
task_id?: string
|
|
4342
4161
|
phase_id?: string
|
|
@@ -4406,7 +4225,6 @@ type AiAgentTask = {
|
|
|
4406
4225
|
execution_id?: string
|
|
4407
4226
|
execution_status?: string
|
|
4408
4227
|
error_reason?: string
|
|
4409
|
-
outcome?: string
|
|
4410
4228
|
}
|
|
4411
4229
|
agent_execution_id?: string
|
|
4412
4230
|
}
|
|
@@ -4430,7 +4248,6 @@ type AgentExecutionInfo = {
|
|
|
4430
4248
|
execution_id?: string
|
|
4431
4249
|
execution_status?: string
|
|
4432
4250
|
error_reason?: string
|
|
4433
|
-
outcome?: string
|
|
4434
4251
|
}
|
|
4435
4252
|
```
|
|
4436
4253
|
|
|
@@ -4455,7 +4272,7 @@ type TaskBase = {
|
|
|
4455
4272
|
due_date?: string
|
|
4456
4273
|
due_date_config?: {
|
|
4457
4274
|
duration: number
|
|
4458
|
-
unit: "minutes" | "hours" | "days" | "weeks" | "months"
|
|
4275
|
+
unit: "minutes" | "hours" | "days" | "weeks" | "months"
|
|
4459
4276
|
type: "WORKFLOW_STARTED" | "TASK_FINISHED" | "PHASE_FINISHED" | "A_PRECEDING_TASK_COMPLETED" | "ALL_PRECEDING_TASKS_COMPLETED"
|
|
4460
4277
|
task_id?: string
|
|
4461
4278
|
phase_id?: string
|
|
@@ -4528,7 +4345,7 @@ type Phase = {
|
|
|
4528
4345
|
due_date?: string
|
|
4529
4346
|
due_date_config?: {
|
|
4530
4347
|
duration: number
|
|
4531
|
-
unit: "minutes" | "hours" | "days" | "weeks" | "months"
|
|
4348
|
+
unit: "minutes" | "hours" | "days" | "weeks" | "months"
|
|
4532
4349
|
type: "WORKFLOW_STARTED" | "TASK_FINISHED" | "PHASE_FINISHED" | "A_PRECEDING_TASK_COMPLETED" | "ALL_PRECEDING_TASKS_COMPLETED"
|
|
4533
4350
|
task_id?: string
|
|
4534
4351
|
phase_id?: string
|
|
@@ -4579,8 +4396,6 @@ type AutomationInfo = {
|
|
|
4579
4396
|
source: "trigger" | "task"
|
|
4580
4397
|
task_id?: string
|
|
4581
4398
|
}
|
|
4582
|
-
heal_attempts?: number
|
|
4583
|
-
last_heal_attempted_at?: string // date-time
|
|
4584
4399
|
}
|
|
4585
4400
|
```
|
|
4586
4401
|
|
|
@@ -4637,8 +4452,6 @@ type Condition = {
|
|
|
4637
4452
|
attribute_type?: { ... }
|
|
4638
4453
|
attribute_repeatable?: { ... }
|
|
4639
4454
|
attribute_operation?: { ... }
|
|
4640
|
-
attributes?: { ... }
|
|
4641
|
-
attributes_match?: { ... }
|
|
4642
4455
|
attribute_sub_field?: { ... }
|
|
4643
4456
|
date_offset?: { ... }
|
|
4644
4457
|
}
|
|
@@ -4665,8 +4478,6 @@ type Statement = {
|
|
|
4665
4478
|
attribute_type?: "string" | "text" | "number" | "boolean" | "date" | "datetime" | "tags" | "country" | "email" | "phone" | "product" | "price" | "status" | "relation" | "multiselect" | "select" | "radio" | "relation_user" | "purpose" | "label" | "message_email_address"
|
|
4666
4479
|
attribute_repeatable?: boolean
|
|
4667
4480
|
attribute_operation?: "all" | "updated" | "added" | "deleted"
|
|
4668
|
-
attributes?: string[]
|
|
4669
|
-
attributes_match?: "any" | "all"
|
|
4670
4481
|
attribute_sub_field?: string
|
|
4671
4482
|
date_offset?: {
|
|
4672
4483
|
amount?: { ... }
|
|
@@ -4691,8 +4502,6 @@ type EvaluationSource = {
|
|
|
4691
4502
|
attribute_type?: "string" | "text" | "number" | "boolean" | "date" | "datetime" | "tags" | "country" | "email" | "phone" | "product" | "price" | "status" | "relation" | "multiselect" | "select" | "radio" | "relation_user" | "purpose" | "label" | "message_email_address"
|
|
4692
4503
|
attribute_repeatable?: boolean
|
|
4693
4504
|
attribute_operation?: "all" | "updated" | "added" | "deleted"
|
|
4694
|
-
attributes?: string[]
|
|
4695
|
-
attributes_match?: "any" | "all"
|
|
4696
4505
|
attribute_sub_field?: string
|
|
4697
4506
|
date_offset?: {
|
|
4698
4507
|
amount?: number
|
|
@@ -4714,7 +4523,7 @@ Set due date for the task based on a dynamic condition
|
|
|
4714
4523
|
```ts
|
|
4715
4524
|
type DueDateConfig = {
|
|
4716
4525
|
duration: number
|
|
4717
|
-
unit: "minutes" | "hours" | "days" | "weeks" | "months"
|
|
4526
|
+
unit: "minutes" | "hours" | "days" | "weeks" | "months"
|
|
4718
4527
|
type: "WORKFLOW_STARTED" | "TASK_FINISHED" | "PHASE_FINISHED" | "A_PRECEDING_TASK_COMPLETED" | "ALL_PRECEDING_TASKS_COMPLETED"
|
|
4719
4528
|
task_id?: string
|
|
4720
4529
|
phase_id?: string
|
|
@@ -4724,7 +4533,7 @@ type DueDateConfig = {
|
|
|
4724
4533
|
### `TimeUnit`
|
|
4725
4534
|
|
|
4726
4535
|
```ts
|
|
4727
|
-
type TimeUnit = "minutes" | "hours" | "days" | "weeks" | "months"
|
|
4536
|
+
type TimeUnit = "minutes" | "hours" | "days" | "weeks" | "months"
|
|
4728
4537
|
```
|
|
4729
4538
|
|
|
4730
4539
|
### `EnableRequirement`
|
|
@@ -4783,10 +4592,6 @@ type Assignees = Array<string | {
|
|
|
4783
4592
|
|
|
4784
4593
|
### `PatchTaskReq`
|
|
4785
4594
|
|
|
4786
|
-
Request payload for updating a task within a flow execution.
|
|
4787
|
-
All fields are optional; only provided fields will be updated.
|
|
4788
|
-
|
|
4789
|
-
|
|
4790
4595
|
```ts
|
|
4791
4596
|
type PatchTaskReq = {
|
|
4792
4597
|
name?: string
|
|
@@ -4794,7 +4599,7 @@ type PatchTaskReq = {
|
|
|
4794
4599
|
due_date?: string
|
|
4795
4600
|
due_date_config?: {
|
|
4796
4601
|
duration: number
|
|
4797
|
-
unit: "minutes" | "hours" | "days" | "weeks" | "months"
|
|
4602
|
+
unit: "minutes" | "hours" | "days" | "weeks" | "months"
|
|
4798
4603
|
type: "WORKFLOW_STARTED" | "TASK_FINISHED" | "PHASE_FINISHED" | "A_PRECEDING_TASK_COMPLETED" | "ALL_PRECEDING_TASKS_COMPLETED"
|
|
4799
4604
|
task_id?: string
|
|
4800
4605
|
phase_id?: string
|
|
@@ -4813,8 +4618,6 @@ type PatchTaskReq = {
|
|
|
4813
4618
|
source: { ... }
|
|
4814
4619
|
task_id?: { ... }
|
|
4815
4620
|
}
|
|
4816
|
-
heal_attempts?: number
|
|
4817
|
-
last_heal_attempted_at?: string // date-time
|
|
4818
4621
|
}
|
|
4819
4622
|
description?: {
|
|
4820
4623
|
enabled?: boolean
|
|
@@ -4849,7 +4652,6 @@ type PatchTaskReq = {
|
|
|
4849
4652
|
}
|
|
4850
4653
|
next_condition_id?: string
|
|
4851
4654
|
revert_execution?: boolean
|
|
4852
|
-
completed_via_journey?: boolean
|
|
4853
4655
|
}
|
|
4854
4656
|
```
|
|
4855
4657
|
|
|
@@ -4861,7 +4663,7 @@ type PatchPhaseReq = {
|
|
|
4861
4663
|
due_date?: string
|
|
4862
4664
|
due_date_config?: {
|
|
4863
4665
|
duration: number
|
|
4864
|
-
unit: "minutes" | "hours" | "days" | "weeks" | "months"
|
|
4666
|
+
unit: "minutes" | "hours" | "days" | "weeks" | "months"
|
|
4865
4667
|
type: "WORKFLOW_STARTED" | "TASK_FINISHED" | "PHASE_FINISHED" | "A_PRECEDING_TASK_COMPLETED" | "ALL_PRECEDING_TASKS_COMPLETED"
|
|
4866
4668
|
task_id?: string
|
|
4867
4669
|
phase_id?: string
|
|
@@ -4902,8 +4704,6 @@ type AddTaskReq = {
|
|
|
4902
4704
|
execution_status?: { ... }
|
|
4903
4705
|
error_reason?: { ... }
|
|
4904
4706
|
input_context?: { ... }
|
|
4905
|
-
heal_attempts?: { ... }
|
|
4906
|
-
last_heal_attempted_at?: { ... }
|
|
4907
4707
|
}
|
|
4908
4708
|
phase_id?: string
|
|
4909
4709
|
task_type?: "MANUAL" | "AUTOMATION" | "DECISION" | "AI_AGENT"
|