@epilot/sdk 2.18.29 → 2.18.31
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/automation.json +33 -0
- package/definitions/pricing-runtime.json +1 -1
- package/definitions/pricing.json +1733 -59
- 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 +6 -6
- 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 +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 +6 -6
- package/dist/apis/integration-toolkit.js +1 -1
- 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 +8 -8
- package/dist/apis/pricing.d.cts +2 -2
- package/dist/apis/pricing.d.ts +2 -2
- package/dist/apis/pricing.js +2 -2
- 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 +6 -6
- package/dist/apis/workflow.js +1 -1
- package/dist/automation-3HMHBP6P.cjs +7 -0
- package/dist/automation-GIJB3MOI.js +7 -0
- package/dist/{automation.d-DiWfPkLs.d.cts → automation.d-BnQFR6k8.d.cts} +49 -3
- package/dist/{automation.d-DiWfPkLs.d.ts → automation.d-BnQFR6k8.d.ts} +49 -3
- package/dist/{chunk-DZ6B3JHX.cjs → chunk-JZBUH4RD.cjs} +3 -3
- package/dist/{chunk-63BFJKWV.js → chunk-OHYTCUUB.js} +1 -1
- package/dist/{chunk-AUPMKSFK.js → chunk-RKEGU6OW.js} +3 -3
- package/dist/{chunk-KP7H52BF.cjs → chunk-UKHR33EL.cjs} +1 -1
- package/dist/index.cjs +10 -10
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/pricing-HQ75T2TF.js +7 -0
- package/dist/pricing-HTU5XPZE.cjs +7 -0
- package/dist/{pricing-runtime-2YKEJJMZ.js → pricing-runtime-AT27C3BP.js} +1 -1
- package/dist/{pricing-runtime-XDCOKL47.cjs → pricing-runtime-PFVTRERK.cjs} +2 -2
- package/dist/{pricing.d-C95oaAtN.d.cts → pricing.d-D6HCZpbI.d.cts} +2218 -83
- package/dist/{pricing.d-C95oaAtN.d.ts → pricing.d-D6HCZpbI.d.ts} +2218 -83
- package/docs/automation.md +47 -2
- package/docs/pricing.md +1050 -22
- package/package.json +1 -1
- package/dist/automation-UP6J7QIK.js +0 -7
- package/dist/automation-ZF5ACFVW.cjs +0 -7
- package/dist/pricing-5GBNQOLX.cjs +0 -7
- package/dist/pricing-YJHJTRJS.js +0 -7
package/docs/automation.md
CHANGED
|
@@ -133,6 +133,7 @@ const { data } = await automationClient.searchFlows(...)
|
|
|
133
133
|
- [`AutomationExecution`](#automationexecution)
|
|
134
134
|
- [`AutomationLoopState`](#automationloopstate)
|
|
135
135
|
- [`WorkflowExecutionContext`](#workflowexecutioncontext)
|
|
136
|
+
- [`WorkflowWaitContext`](#workflowwaitcontext)
|
|
136
137
|
- [`ExecutionChain`](#executionchain)
|
|
137
138
|
- [`TriggerEventManual`](#triggereventmanual)
|
|
138
139
|
- [`TriggerEventFlowAutomationTask`](#triggereventflowautomationtask)
|
|
@@ -322,6 +323,7 @@ const { data } = await client.getExecutions({
|
|
|
322
323
|
"version": 2,
|
|
323
324
|
"trigger_event": {},
|
|
324
325
|
"workflow_context": {},
|
|
326
|
+
"workflow_wait_context": {},
|
|
325
327
|
"loops": [],
|
|
326
328
|
"loop_state": {},
|
|
327
329
|
"chain": ["string"]
|
|
@@ -486,6 +488,11 @@ const { data } = await client.startExecution(
|
|
|
486
488
|
{}
|
|
487
489
|
]
|
|
488
490
|
},
|
|
491
|
+
"workflow_wait_context": {
|
|
492
|
+
"workflow_execution_id": "string",
|
|
493
|
+
"workflow_task_id": "string",
|
|
494
|
+
"source": "journey_submission"
|
|
495
|
+
},
|
|
489
496
|
"loops": [
|
|
490
497
|
{
|
|
491
498
|
"id": "loop_contracts",
|
|
@@ -551,6 +558,7 @@ const { data } = await client.searchExecutions(
|
|
|
551
558
|
"version": 2,
|
|
552
559
|
"trigger_event": {},
|
|
553
560
|
"workflow_context": {},
|
|
561
|
+
"workflow_wait_context": {},
|
|
554
562
|
"loops": [],
|
|
555
563
|
"loop_state": {},
|
|
556
564
|
"chain": ["string"]
|
|
@@ -852,6 +860,11 @@ const { data } = await client.getExecution({
|
|
|
852
860
|
{}
|
|
853
861
|
]
|
|
854
862
|
},
|
|
863
|
+
"workflow_wait_context": {
|
|
864
|
+
"workflow_execution_id": "string",
|
|
865
|
+
"workflow_task_id": "string",
|
|
866
|
+
"source": "journey_submission"
|
|
867
|
+
},
|
|
855
868
|
"loops": [
|
|
856
869
|
{
|
|
857
870
|
"id": "loop_contracts",
|
|
@@ -997,6 +1010,11 @@ const { data } = await client.cancelExecution({
|
|
|
997
1010
|
{}
|
|
998
1011
|
]
|
|
999
1012
|
},
|
|
1013
|
+
"workflow_wait_context": {
|
|
1014
|
+
"workflow_execution_id": "string",
|
|
1015
|
+
"workflow_task_id": "string",
|
|
1016
|
+
"source": "journey_submission"
|
|
1017
|
+
},
|
|
1000
1018
|
"loops": [
|
|
1001
1019
|
{
|
|
1002
1020
|
"id": "loop_contracts",
|
|
@@ -1104,6 +1122,11 @@ const { data } = await client.resumeExecutionWithToken(
|
|
|
1104
1122
|
"_automation_chain": ["string"],
|
|
1105
1123
|
"entity_contexts": []
|
|
1106
1124
|
},
|
|
1125
|
+
"workflow_wait_context": {
|
|
1126
|
+
"workflow_execution_id": "string",
|
|
1127
|
+
"workflow_task_id": "string",
|
|
1128
|
+
"source": "journey_submission"
|
|
1129
|
+
},
|
|
1107
1130
|
"loops": [
|
|
1108
1131
|
{}
|
|
1109
1132
|
],
|
|
@@ -1605,8 +1628,8 @@ type AnyAction = {
|
|
|
1605
1628
|
notify_portal_user_only?: boolean
|
|
1606
1629
|
skip_creating_entities?: boolean
|
|
1607
1630
|
wait_for_confirmation?: boolean
|
|
1608
|
-
|
|
1609
|
-
|
|
1631
|
+
wait_for_journey_submission?: boolean
|
|
1632
|
+
journey_id?: string
|
|
1610
1633
|
// ...
|
|
1611
1634
|
}
|
|
1612
1635
|
```
|
|
@@ -2523,6 +2546,8 @@ type SendEmailActionConfig = {
|
|
|
2523
2546
|
notify_portal_user_only?: boolean
|
|
2524
2547
|
skip_creating_entities?: boolean
|
|
2525
2548
|
wait_for_confirmation?: boolean
|
|
2549
|
+
wait_for_journey_submission?: boolean
|
|
2550
|
+
journey_id?: string
|
|
2526
2551
|
reply_to_sender?: boolean
|
|
2527
2552
|
reply_mode?: "reply_in_thread" | "new_email"
|
|
2528
2553
|
mark_as_done?: boolean
|
|
@@ -2558,6 +2583,8 @@ type SendEmailAction = {
|
|
|
2558
2583
|
notify_portal_user_only?: boolean
|
|
2559
2584
|
skip_creating_entities?: boolean
|
|
2560
2585
|
wait_for_confirmation?: boolean
|
|
2586
|
+
wait_for_journey_submission?: boolean
|
|
2587
|
+
journey_id?: string
|
|
2561
2588
|
reply_to_sender?: boolean
|
|
2562
2589
|
reply_mode?: "reply_in_thread" | "new_email"
|
|
2563
2590
|
mark_as_done?: boolean
|
|
@@ -2700,6 +2727,8 @@ type SendEmailConfig = {
|
|
|
2700
2727
|
notify_portal_user_only?: boolean
|
|
2701
2728
|
skip_creating_entities?: boolean
|
|
2702
2729
|
wait_for_confirmation?: boolean
|
|
2730
|
+
wait_for_journey_submission?: boolean
|
|
2731
|
+
journey_id?: string
|
|
2703
2732
|
reply_to_sender?: boolean
|
|
2704
2733
|
reply_mode?: "reply_in_thread" | "new_email"
|
|
2705
2734
|
mark_as_done?: boolean
|
|
@@ -3370,6 +3399,9 @@ type AutomationLoopState = {
|
|
|
3370
3399
|
|
|
3371
3400
|
### `WorkflowExecutionContext`
|
|
3372
3401
|
|
|
3402
|
+
Automation Executions triggered by workflow task automations will always carry information about the triggering workflow. This information is helpful in correlating workflow executions with all the triggered automation executions
|
|
3403
|
+
|
|
3404
|
+
|
|
3373
3405
|
```ts
|
|
3374
3406
|
type WorkflowExecutionContext = {
|
|
3375
3407
|
workflow_exec_id: string
|
|
@@ -3389,6 +3421,19 @@ type WorkflowExecutionContext = {
|
|
|
3389
3421
|
}
|
|
3390
3422
|
```
|
|
3391
3423
|
|
|
3424
|
+
### `WorkflowWaitContext`
|
|
3425
|
+
|
|
3426
|
+
Workflow automation tasks can be paused & waiting for journey automation executions to succeed. If such is the case, this context tracks the task_id of the workflow waiting for journey submission success This context is consumed by svc-workflows to resume a task waiting on this journey submission.
|
|
3427
|
+
|
|
3428
|
+
|
|
3429
|
+
```ts
|
|
3430
|
+
type WorkflowWaitContext = {
|
|
3431
|
+
workflow_execution_id: string
|
|
3432
|
+
workflow_task_id: string
|
|
3433
|
+
source?: string
|
|
3434
|
+
}
|
|
3435
|
+
```
|
|
3436
|
+
|
|
3392
3437
|
### `ExecutionChain`
|
|
3393
3438
|
|
|
3394
3439
|
[Internal] Tracks execution chain for infinite loop prevention. This is an internal property and should not be used by external consumers.
|