@epilot/sdk 2.20.19 → 2.20.20
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-runtime.json +1 -1
- package/definitions/automation.json +64 -179
- 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 +8 -8
- package/dist/apis/automation.d.cts +2 -2
- package/dist/apis/automation.d.ts +2 -2
- package/dist/apis/automation.js +2 -2
- 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 +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 +6 -6
- package/dist/apis/workflow.js +1 -1
- package/dist/automation-FTFGFHT7.cjs +7 -0
- package/dist/automation-HJGT6QK5.js +7 -0
- package/dist/{automation-runtime-Y52HM57N.js → automation-runtime-ORW5BVCD.js} +1 -1
- package/dist/{automation-runtime-KLCXZKEC.cjs → automation-runtime-RM5EOZH2.cjs} +2 -2
- package/dist/{automation.d-D8JxyoFa.d.cts → automation.d-Bp45eKlU.d.cts} +111 -178
- package/dist/{automation.d-D8JxyoFa.d.ts → automation.d-Bp45eKlU.d.ts} +111 -178
- package/dist/{chunk-5EIG7AKU.cjs → chunk-23SGQN24.cjs} +2 -2
- package/dist/chunk-ADSWGLIV.cjs +14 -0
- package/dist/chunk-LCE7N4ZL.js +14 -0
- package/dist/{chunk-ACIBIJN5.js → chunk-N4SIVR5Y.js} +2 -2
- package/dist/index.cjs +10 -10
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/docs/automation.md +93 -87
- package/package.json +1 -1
- package/dist/automation-23XNDPBF.cjs +0 -7
- package/dist/automation-OMESM3H3.js +0 -7
- package/dist/chunk-QW3ROE6H.js +0 -14
- package/dist/chunk-WOUASZJW.cjs +0 -14
|
@@ -557,23 +557,7 @@ declare namespace Components {
|
|
|
557
557
|
* ```
|
|
558
558
|
*
|
|
559
559
|
*/
|
|
560
|
-
EntityOperationTrigger | ActivityTrigger | EntityManualTrigger | ReceivedEmailTrigger | NewEmailThreadTrigger | FlowsTrigger
|
|
561
|
-
* Starts the flow when an Event Catalog event is published for the organization. The execution runs in the context of one entity from the event's entity graph (`entity_node_id`), and the event payload is available to conditions and actions as the `event` variable context.
|
|
562
|
-
*
|
|
563
|
-
* example:
|
|
564
|
-
* {
|
|
565
|
-
* "id": "12d4f45a-1883-4841-a94c-5928cb338a94",
|
|
566
|
-
* "type": "event_catalog",
|
|
567
|
-
* "configuration": {
|
|
568
|
-
* "event_name": "CustomerRequestSubmitted",
|
|
569
|
-
* "event_version": "1.1",
|
|
570
|
-
* "entity_node_id": "ticket",
|
|
571
|
-
* "entity_schema": "ticket",
|
|
572
|
-
* "ignore_automation_triggered": true
|
|
573
|
-
* }
|
|
574
|
-
* }
|
|
575
|
-
*/
|
|
576
|
-
EventCatalogTrigger;
|
|
560
|
+
EntityOperationTrigger | ActivityTrigger | EntityManualTrigger | ReceivedEmailTrigger | NewEmailThreadTrigger | FlowsTrigger;
|
|
577
561
|
export interface AnythingButCondition {
|
|
578
562
|
"anything-but"?: string[];
|
|
579
563
|
}
|
|
@@ -851,18 +835,107 @@ declare namespace Components {
|
|
|
851
835
|
* `partner_id` for partner_organization. Scoping by `org_id` keeps
|
|
852
836
|
* assignees from different organizations distinct even when their
|
|
853
837
|
* identifiers coincide.
|
|
838
|
+
* Honoured in `direct` only; `sequential` always forces `replace`.
|
|
854
839
|
*
|
|
855
840
|
*/
|
|
856
841
|
write_mode?: "replace" | "append";
|
|
857
842
|
/**
|
|
858
|
-
* How assignees are resolved.
|
|
859
|
-
* - direct: assign exactly the assignees listed
|
|
860
|
-
*
|
|
861
|
-
*
|
|
862
|
-
*
|
|
843
|
+
* How assignees are resolved. Omitted means `direct`.
|
|
844
|
+
* - direct: assign exactly the assignees listed in `assignees`.
|
|
845
|
+
* - sequential: round-robin over the members of `candidate_group`,
|
|
846
|
+
* selecting one user per execution. `assignees` is ignored and
|
|
847
|
+
* `write_mode` is forced to `replace`.
|
|
848
|
+
* - even_distribution: like sequential, but the member with the fewest
|
|
849
|
+
* matching entities wins; ties are resolved by the rotation.
|
|
850
|
+
* `workload_filter` narrows what counts as load.
|
|
851
|
+
*
|
|
852
|
+
*/
|
|
853
|
+
assignment_type?: "direct" | "sequential" | "even_distribution";
|
|
854
|
+
/**
|
|
855
|
+
* The group whose members form the rotation. Must be `type: group`;
|
|
856
|
+
* ignored in `direct`.
|
|
857
|
+
*
|
|
858
|
+
*/
|
|
859
|
+
candidate_group?: {
|
|
860
|
+
/**
|
|
861
|
+
* Which kind of principal this assignee is. Required: it selects which
|
|
862
|
+
* of the identifier properties below applies, and forms part of the
|
|
863
|
+
* append-mode de-duplication key.
|
|
864
|
+
* Partner types cannot participate in a rotation; they stay valid in
|
|
865
|
+
* `assignees` and `fallback_assignees`.
|
|
866
|
+
*
|
|
867
|
+
*/
|
|
868
|
+
type: "user" | "partner_user" | "partner_organization" | "group";
|
|
869
|
+
/**
|
|
870
|
+
* Set for user and partner_user assignees.
|
|
871
|
+
*/
|
|
872
|
+
user_id?: string;
|
|
873
|
+
/**
|
|
874
|
+
* Set for group assignees.
|
|
875
|
+
*/
|
|
876
|
+
group_id?: string;
|
|
877
|
+
/**
|
|
878
|
+
* Organization the assignee belongs to.
|
|
879
|
+
*/
|
|
880
|
+
org_id?: string;
|
|
881
|
+
/**
|
|
882
|
+
* Set for partner_user and partner_organization assignees.
|
|
883
|
+
*/
|
|
884
|
+
partner_id?: string;
|
|
885
|
+
/**
|
|
886
|
+
* Label snapshotted at configuration time; may go stale after a rename.
|
|
887
|
+
*/
|
|
888
|
+
display_name?: string;
|
|
889
|
+
email?: string;
|
|
890
|
+
};
|
|
891
|
+
/**
|
|
892
|
+
* When the rotation restarts at the first member instead of continuing
|
|
893
|
+
* where the last execution left off. `never` wraps around continuously.
|
|
894
|
+
* Boundaries are evaluated in UTC. Applies to `sequential` only.
|
|
895
|
+
*
|
|
896
|
+
*/
|
|
897
|
+
reset_interval?: "daily" | "weekly" | "monthly" | "never";
|
|
898
|
+
/**
|
|
899
|
+
* Narrows what counts as workload for `even_distribution`: only entities
|
|
900
|
+
* whose `attribute` (a status-type attribute on the target schema) holds
|
|
901
|
+
* one of `values` are counted. Absent means every non-deleted entity
|
|
902
|
+
* holding the assignee counts. Ignored by the other assignment types.
|
|
903
|
+
*
|
|
904
|
+
*/
|
|
905
|
+
workload_filter?: {
|
|
906
|
+
/**
|
|
907
|
+
* Name of a `status`-type attribute on the target schema.
|
|
908
|
+
*/
|
|
909
|
+
attribute?: string;
|
|
910
|
+
/**
|
|
911
|
+
* Attribute values that count as load.
|
|
912
|
+
*/
|
|
913
|
+
values?: string[];
|
|
914
|
+
};
|
|
915
|
+
/**
|
|
916
|
+
* What to do when no assignable principal resolves, e.g. an empty or
|
|
917
|
+
* fully ineligible `candidate_group`.
|
|
918
|
+
* - leave_unassigned: write nothing at all, leaving the attribute as it
|
|
919
|
+
* was. Not the same as writing an empty array, which would clear an
|
|
920
|
+
* existing assignment.
|
|
921
|
+
* - assign_to_fallback: write `fallback_assignees` instead.
|
|
922
|
+
*
|
|
923
|
+
*/
|
|
924
|
+
fallback?: "leave_unassigned" | "assign_to_fallback";
|
|
925
|
+
/**
|
|
926
|
+
* Assignees to write when `fallback` is `assign_to_fallback`; required
|
|
927
|
+
* in that case and ignored otherwise. Any `EntityAssignee` type is
|
|
928
|
+
* allowed, partner principals included.
|
|
929
|
+
*
|
|
930
|
+
*/
|
|
931
|
+
fallback_assignees?: /**
|
|
932
|
+
* A single assignee as stored in a user-relation attribute. Written through
|
|
933
|
+
* verbatim by the assign-entity worker. Note this object encoding differs
|
|
934
|
+
* deliberately from AssignThreadConfig, which stores bare id strings —
|
|
935
|
+
* each matches what its own target accepts.
|
|
863
936
|
*
|
|
864
937
|
*/
|
|
865
|
-
|
|
938
|
+
EntityAssignee[];
|
|
866
939
|
/**
|
|
867
940
|
* Which entity to assign to. Omit for the triggering entity (the
|
|
868
941
|
* default, and the behaviour of every flow saved before this field
|
|
@@ -971,7 +1044,8 @@ declare namespace Components {
|
|
|
971
1044
|
* - direct: assign exactly the users in `add` (default).
|
|
972
1045
|
* - even_distribution: treat `add` as a candidate pool (users and/or groups)
|
|
973
1046
|
* and assign the least-loaded available agent.
|
|
974
|
-
* - sequential:
|
|
1047
|
+
* - sequential: treat `add` as a candidate pool and assign the next
|
|
1048
|
+
* user in a stable round-robin rotation.
|
|
975
1049
|
*
|
|
976
1050
|
*/
|
|
977
1051
|
assignment_type?: "direct" | "even_distribution" | "sequential";
|
|
@@ -1291,11 +1365,7 @@ declare namespace Components {
|
|
|
1291
1365
|
* 2
|
|
1292
1366
|
*/
|
|
1293
1367
|
version?: number;
|
|
1294
|
-
trigger_event?: TriggerEventManual | TriggerEventEntityActivity | TriggerEventEntityOperation | TriggerEventFlowAutomationTask | TriggerEventMessaging
|
|
1295
|
-
* Set on executions started by an Event Catalog event (see EventCatalogTrigger). The full event payload is not stored inline (it may be up to 256 KB) but by reference in `payload_ref`; automation workers hydrate it before every action.
|
|
1296
|
-
*
|
|
1297
|
-
*/
|
|
1298
|
-
TriggerEventEventCatalog;
|
|
1368
|
+
trigger_event?: TriggerEventManual | TriggerEventEntityActivity | TriggerEventEntityOperation | TriggerEventFlowAutomationTask | TriggerEventMessaging;
|
|
1299
1369
|
workflow_context?: WorkflowExecutionContext;
|
|
1300
1370
|
workflow_wait_context?: /**
|
|
1301
1371
|
* Correlation stamped when the triggering submission entity carried workflow wait claims from a journey link (AL-2521). Consumed by svc-workflows to resume a task waiting on this journey submission.
|
|
@@ -1889,11 +1959,7 @@ declare namespace Components {
|
|
|
1889
1959
|
*/
|
|
1890
1960
|
id?: string;
|
|
1891
1961
|
origin?: "trigger" | "action";
|
|
1892
|
-
|
|
1893
|
-
* `event` reads the operand from the trigger's Event Catalog payload instead of an entity: `attribute` is then a dot path into the payload (e.g. `ticket.subject`). Only valid with `origin: trigger` on flows started by an EventCatalogTrigger.
|
|
1894
|
-
*
|
|
1895
|
-
*/
|
|
1896
|
-
originType?: "entity" | "workflow" | "journey_block" | "event";
|
|
1962
|
+
originType?: "entity" | "workflow" | "journey_block";
|
|
1897
1963
|
schema?: string;
|
|
1898
1964
|
attribute?: string;
|
|
1899
1965
|
attributeType?: "string" | "text" | "number" | "boolean" | "date" | "datetime" | "tags" | "country" | "email" | "phone" | "product" | "price" | "status" | "relation" | "multiselect" | "select" | "radio" | "relation_user" | "purpose" | "label" | "payment" | "relation_payment_method";
|
|
@@ -2186,6 +2252,8 @@ declare namespace Components {
|
|
|
2186
2252
|
* Which kind of principal this assignee is. Required: it selects which
|
|
2187
2253
|
* of the identifier properties below applies, and forms part of the
|
|
2188
2254
|
* append-mode de-duplication key.
|
|
2255
|
+
* Partner types cannot participate in a rotation; they stay valid in
|
|
2256
|
+
* `assignees` and `fallback_assignees`.
|
|
2189
2257
|
*
|
|
2190
2258
|
*/
|
|
2191
2259
|
type: "user" | "partner_user" | "partner_organization" | "group";
|
|
@@ -2654,63 +2722,6 @@ declare namespace Components {
|
|
|
2654
2722
|
details?: ErrorDetail[];
|
|
2655
2723
|
};
|
|
2656
2724
|
}
|
|
2657
|
-
/**
|
|
2658
|
-
* Starts the flow when an Event Catalog event is published for the organization. The execution runs in the context of one entity from the event's entity graph (`entity_node_id`), and the event payload is available to conditions and actions as the `event` variable context.
|
|
2659
|
-
*
|
|
2660
|
-
* example:
|
|
2661
|
-
* {
|
|
2662
|
-
* "id": "12d4f45a-1883-4841-a94c-5928cb338a94",
|
|
2663
|
-
* "type": "event_catalog",
|
|
2664
|
-
* "configuration": {
|
|
2665
|
-
* "event_name": "CustomerRequestSubmitted",
|
|
2666
|
-
* "event_version": "1.1",
|
|
2667
|
-
* "entity_node_id": "ticket",
|
|
2668
|
-
* "entity_schema": "ticket",
|
|
2669
|
-
* "ignore_automation_triggered": true
|
|
2670
|
-
* }
|
|
2671
|
-
* }
|
|
2672
|
-
*/
|
|
2673
|
-
export interface EventCatalogTrigger {
|
|
2674
|
-
/**
|
|
2675
|
-
* example:
|
|
2676
|
-
* 12d4f45a-1883-4841-a94c-5928cb338a94
|
|
2677
|
-
*/
|
|
2678
|
-
id?: string; // uuid
|
|
2679
|
-
type: "event_catalog";
|
|
2680
|
-
configuration: {
|
|
2681
|
-
/**
|
|
2682
|
-
* Name of the Event Catalog event that starts this flow
|
|
2683
|
-
* example:
|
|
2684
|
-
* CustomerRequestSubmitted
|
|
2685
|
-
*/
|
|
2686
|
-
event_name: string;
|
|
2687
|
-
/**
|
|
2688
|
-
* Event version (MAJOR.MINOR) this trigger is pinned to. Payloads published in a newer version are downgraded to this version before the flow runs, so field references in conditions and actions stay stable.
|
|
2689
|
-
*
|
|
2690
|
-
* example:
|
|
2691
|
-
* 1.1
|
|
2692
|
-
*/
|
|
2693
|
-
event_version: string;
|
|
2694
|
-
/**
|
|
2695
|
-
* Id of the cardinality-one node in the event's entity graph whose entity becomes the execution's main entity (the entity actions operate on).
|
|
2696
|
-
*
|
|
2697
|
-
* example:
|
|
2698
|
-
* ticket
|
|
2699
|
-
*/
|
|
2700
|
-
entity_node_id: string;
|
|
2701
|
-
/**
|
|
2702
|
-
* Schema of the entity behind `entity_node_id`, denormalized from the event definition at configuration time
|
|
2703
|
-
* example:
|
|
2704
|
-
* ticket
|
|
2705
|
-
*/
|
|
2706
|
-
entity_schema: string;
|
|
2707
|
-
/**
|
|
2708
|
-
* When true (default), events that were emitted by an automation (`_trigger_source_type: automation`) do not start this flow. This prevents automation → event → automation chains unless explicitly enabled.
|
|
2709
|
-
*
|
|
2710
|
-
*/
|
|
2711
|
-
ignore_automation_triggered?: boolean;
|
|
2712
|
-
};
|
|
2713
|
-
}
|
|
2714
2725
|
/**
|
|
2715
2726
|
* Execution item for bulk trigger automation. It maps each entity to its automation execution id & status
|
|
2716
2727
|
*/
|
|
@@ -3197,6 +3208,14 @@ declare namespace Components {
|
|
|
3197
3208
|
*
|
|
3198
3209
|
*/
|
|
3199
3210
|
filter?: /* Entities are included in this node's result only if `attribute` exactly equals the literal `value`. */ GraphNodeFilter[];
|
|
3211
|
+
/**
|
|
3212
|
+
* Only meaningful for a node expected to resolve to a single entity (the seed node, or
|
|
3213
|
+
* "cardinality: one"). When true, finding zero matching entities is not an error - the
|
|
3214
|
+
* mapping proceeds without this node's data instead of failing. Finding more than one
|
|
3215
|
+
* match still fails regardless of this flag; ambiguity is never silently accepted.
|
|
3216
|
+
*
|
|
3217
|
+
*/
|
|
3218
|
+
optional?: boolean;
|
|
3200
3219
|
}
|
|
3201
3220
|
/**
|
|
3202
3221
|
* Entities are included in this node's result only if `attribute` exactly equals the literal `value`.
|
|
@@ -4685,64 +4704,6 @@ declare namespace Components {
|
|
|
4685
4704
|
ActivityId;
|
|
4686
4705
|
operation_type: EntityOperation;
|
|
4687
4706
|
}
|
|
4688
|
-
/**
|
|
4689
|
-
* Set on executions started by an Event Catalog event (see EventCatalogTrigger). The full event payload is not stored inline (it may be up to 256 KB) but by reference in `payload_ref`; automation workers hydrate it before every action.
|
|
4690
|
-
*
|
|
4691
|
-
*/
|
|
4692
|
-
export interface TriggerEventEventCatalog {
|
|
4693
|
-
type: "event_catalog";
|
|
4694
|
-
/**
|
|
4695
|
-
* example:
|
|
4696
|
-
* 123
|
|
4697
|
-
*/
|
|
4698
|
-
org_id: string;
|
|
4699
|
-
entity_id: /**
|
|
4700
|
-
* example:
|
|
4701
|
-
* e3d3ebac-baab-4395-abf4-50b5bf1f8b74
|
|
4702
|
-
*/
|
|
4703
|
-
EntityId;
|
|
4704
|
-
/**
|
|
4705
|
-
* Node id of the event's entity graph that was resolved to `entity_id`
|
|
4706
|
-
* example:
|
|
4707
|
-
* ticket
|
|
4708
|
-
*/
|
|
4709
|
-
entity_node_id: string;
|
|
4710
|
-
/**
|
|
4711
|
-
* Event Catalog event id (ULID) of the published event
|
|
4712
|
-
* example:
|
|
4713
|
-
* 01K3ZK8QZ7Y7Q2M8W1V3N4X5P6
|
|
4714
|
-
*/
|
|
4715
|
-
event_id: string;
|
|
4716
|
-
/**
|
|
4717
|
-
* example:
|
|
4718
|
-
* CustomerRequestSubmitted
|
|
4719
|
-
*/
|
|
4720
|
-
event_name: string;
|
|
4721
|
-
/**
|
|
4722
|
-
* Version the payload was delivered in (the version pinned on the trigger)
|
|
4723
|
-
* example:
|
|
4724
|
-
* 1.1
|
|
4725
|
-
*/
|
|
4726
|
-
event_version: string;
|
|
4727
|
-
/**
|
|
4728
|
-
* Version the event was originally published with, before downgrading to `event_version`
|
|
4729
|
-
* example:
|
|
4730
|
-
* 1.2
|
|
4731
|
-
*/
|
|
4732
|
-
published_version?: string;
|
|
4733
|
-
event_time?: string; // date-time
|
|
4734
|
-
/**
|
|
4735
|
-
* How the event was triggered in the catalog (api | automation | operation | portal_user)
|
|
4736
|
-
* example:
|
|
4737
|
-
* operation
|
|
4738
|
-
*/
|
|
4739
|
-
trigger_source_type?: string;
|
|
4740
|
-
/**
|
|
4741
|
-
* Opaque source reference from the catalog (e.g. activity id, automation execution id)
|
|
4742
|
-
*/
|
|
4743
|
-
trigger_source?: string;
|
|
4744
|
-
payload_ref?: /* S3 reference to the stored trigger event payload (`_downgrades` stripped, downgraded to the pinned version) */ TriggerEventPayloadRef;
|
|
4745
|
-
}
|
|
4746
4707
|
export interface TriggerEventFlowAutomationTask {
|
|
4747
4708
|
type?: "flow_automation_task";
|
|
4748
4709
|
/**
|
|
@@ -4796,21 +4757,6 @@ declare namespace Components {
|
|
|
4796
4757
|
*/
|
|
4797
4758
|
EntityId;
|
|
4798
4759
|
}
|
|
4799
|
-
/**
|
|
4800
|
-
* S3 reference to the stored trigger event payload (`_downgrades` stripped, downgraded to the pinned version)
|
|
4801
|
-
*/
|
|
4802
|
-
export interface TriggerEventPayloadRef {
|
|
4803
|
-
/**
|
|
4804
|
-
* example:
|
|
4805
|
-
* automation-trigger-payloads-prod
|
|
4806
|
-
*/
|
|
4807
|
-
bucket: string;
|
|
4808
|
-
/**
|
|
4809
|
-
* example:
|
|
4810
|
-
* trigger-payloads/123/6c8e5d9a-7f1b-4c2e-9d3a-0b1c2d3e4f5a.json
|
|
4811
|
-
*/
|
|
4812
|
-
key: string;
|
|
4813
|
-
}
|
|
4814
4760
|
export interface TriggerShareEntityAction {
|
|
4815
4761
|
id?: /**
|
|
4816
4762
|
* example:
|
|
@@ -5771,11 +5717,6 @@ declare namespace Paths {
|
|
|
5771
5717
|
* wfABCDEFGH
|
|
5772
5718
|
*/
|
|
5773
5719
|
export type TargetWorkflow = string;
|
|
5774
|
-
/**
|
|
5775
|
-
* example:
|
|
5776
|
-
* CustomerRequestSubmitted
|
|
5777
|
-
*/
|
|
5778
|
-
export type TriggerEventName = string;
|
|
5779
5720
|
/**
|
|
5780
5721
|
* example:
|
|
5781
5722
|
* 600945fe-212e-4b97-acf7-391d64648384
|
|
@@ -5800,11 +5741,6 @@ declare namespace Paths {
|
|
|
5800
5741
|
* wfABCDEFGH
|
|
5801
5742
|
*/
|
|
5802
5743
|
Parameters.TargetWorkflow;
|
|
5803
|
-
trigger_event_name?: /**
|
|
5804
|
-
* example:
|
|
5805
|
-
* CustomerRequestSubmitted
|
|
5806
|
-
*/
|
|
5807
|
-
Parameters.TriggerEventName;
|
|
5808
5744
|
include_flows?: Parameters.IncludeFlows;
|
|
5809
5745
|
}
|
|
5810
5746
|
namespace Responses {
|
|
@@ -6277,7 +6213,6 @@ type ErrorCode = Components.Schemas.ErrorCode;
|
|
|
6277
6213
|
type ErrorDetail = Components.Schemas.ErrorDetail;
|
|
6278
6214
|
type ErrorObject = Components.Schemas.ErrorObject;
|
|
6279
6215
|
type ErrorOutput = Components.Schemas.ErrorOutput;
|
|
6280
|
-
type EventCatalogTrigger = Components.Schemas.EventCatalogTrigger;
|
|
6281
6216
|
type ExecItem = Components.Schemas.ExecItem;
|
|
6282
6217
|
type ExecutionChain = Components.Schemas.ExecutionChain;
|
|
6283
6218
|
type ExecutionStatus = Components.Schemas.ExecutionStatus;
|
|
@@ -6349,11 +6284,9 @@ type TriggerEventActionConfig = Components.Schemas.TriggerEventActionConfig;
|
|
|
6349
6284
|
type TriggerEventConfig = Components.Schemas.TriggerEventConfig;
|
|
6350
6285
|
type TriggerEventEntityActivity = Components.Schemas.TriggerEventEntityActivity;
|
|
6351
6286
|
type TriggerEventEntityOperation = Components.Schemas.TriggerEventEntityOperation;
|
|
6352
|
-
type TriggerEventEventCatalog = Components.Schemas.TriggerEventEventCatalog;
|
|
6353
6287
|
type TriggerEventFlowAutomationTask = Components.Schemas.TriggerEventFlowAutomationTask;
|
|
6354
6288
|
type TriggerEventManual = Components.Schemas.TriggerEventManual;
|
|
6355
6289
|
type TriggerEventMessaging = Components.Schemas.TriggerEventMessaging;
|
|
6356
|
-
type TriggerEventPayloadRef = Components.Schemas.TriggerEventPayloadRef;
|
|
6357
6290
|
type TriggerShareEntityAction = Components.Schemas.TriggerShareEntityAction;
|
|
6358
6291
|
type TriggerShareEntityActionConfig = Components.Schemas.TriggerShareEntityActionConfig;
|
|
6359
6292
|
type TriggerShareEntityConfig = Components.Schemas.TriggerShareEntityConfig;
|
|
@@ -6369,4 +6302,4 @@ type WorkflowContextRole = Components.Schemas.WorkflowContextRole;
|
|
|
6369
6302
|
type WorkflowExecutionContext = Components.Schemas.WorkflowExecutionContext;
|
|
6370
6303
|
type WorkflowWaitContext = Components.Schemas.WorkflowWaitContext;
|
|
6371
6304
|
|
|
6372
|
-
export { type EntityItemSnapshot as $, type ActionCondition as A, type AutomationFlow as B, type Client as C, type AutomationFlowId as D, type AutomationLoop as E, type AutomationLoopState as F, type AutomationTrigger as G, type BulkTriggerJob as H, type BulkTriggerRequest as I, type CancellationReason as J, type CartCheckoutAction as K, type CartCheckoutActionConfig as L, type CartCheckoutConfig as M, type Comparison as N, type OperationMethods as O, Paths as P, type ConditionStatement as Q, type CopyValueMapper as R, type CreateDocumentAction as S, type CreateDocumentActionConfig as T, type CreateDocumentConfig as U, type CustomAction as V, type DiffAdded as W, type DiffDeleted as X, type DiffUpdated as Y, type EntityAssignee as Z, type EntityId as _, Components as a, type
|
|
6305
|
+
export { type EntityItemSnapshot as $, type ActionCondition as A, type AutomationFlow as B, type Client as C, type AutomationFlowId as D, type AutomationLoop as E, type AutomationLoopState as F, type AutomationTrigger as G, type BulkTriggerJob as H, type BulkTriggerRequest as I, type CancellationReason as J, type CartCheckoutAction as K, type CartCheckoutActionConfig as L, type CartCheckoutConfig as M, type Comparison as N, type OperationMethods as O, Paths as P, type ConditionStatement as Q, type CopyValueMapper as R, type CreateDocumentAction as S, type CreateDocumentActionConfig as T, type CreateDocumentConfig as U, type CustomAction as V, type DiffAdded as W, type DiffDeleted as X, type DiffUpdated as Y, type EntityAssignee as Z, type EntityId as _, Components as a, type RetryReq as a$, type EntityManualTrigger as a0, type EntityOperation as a1, type EntityOperationTrigger as a2, type EntityRef as a3, type EntitySearchFilter as a4, type EntitySearchFilterValue as a5, type EqualsIgnoreCaseCondition as a6, type ErrorCode as a7, type ErrorDetail as a8, type ErrorObject as a9, type MapEntityAction as aA, type MapEntityActionConfig as aB, type MapEntityConfig as aC, type MappingAttribute as aD, type MappingAttributeMode as aE, type MappingAttributeV2 as aF, type MappingConfigRef as aG, type MoveThreadAction as aH, type MoveThreadConfig as aI, type NewEmailThreadTrigger as aJ, type NumericCondition as aK, type OperationNode as aL, type OperationObjectNode as aM, type OrCondition as aN, type OrConditionForDiff as aO, type OrganizationId as aP, type PatchBulkJobRequest as aQ, type PrefixCondition as aR, type PrimitiveJSONValue as aS, type ReceivedEmailTrigger as aT, type RelationAttribute as aU, type ReplyEmailAction as aV, type ReplyEmailActionConfig as aW, type ReplyEmailConfig as aX, type ResumeReq as aY, type ResumeResp as aZ, type ResumeToken as a_, type ErrorOutput as aa, type ExecItem as ab, type ExecutionChain as ac, type ExecutionStatus as ad, type ExistsCondition as ae, type FilterConditionOnEvent as af, type FlowExecutionCancelAction as ag, type FlowExecutionCancelActionConfig as ah, type FlowExecutionCancelConfig as ai, type FlowsTrigger as aj, type ForwardEmailAction as ak, type ForwardEmailActionConfig as al, type ForwardEmailConfig as am, type FrontendSubmitTrigger as an, type GetExecutionsResp as ao, type GraphContextEntry as ap, type GraphDefinition as aq, type GraphEdge as ar, type GraphNode as as, type GraphNodeFilter as at, type GraphSeed as au, type InformERPAction as av, type InformERPActionConfig as aw, type InformERPConfig as ax, type JobId as ay, type JourneySubmitTrigger as az, type PathsDictionary as b, type RetryStrategy as b0, type SearchAutomationsResp as b1, type SearchExecutionsReq as b2, type SearchExecutionsResp as b3, type SendEmailAction as b4, type SendEmailActionConfig as b5, type SendEmailCondition as b6, type SendEmailConfig as b7, type SetValueMapper as b8, type StartExecutionRequest as b9, type SuffixCondition as ba, type TriggerCondition as bb, type TriggerContext as bc, type TriggerEventAction as bd, type TriggerEventActionConfig as be, type TriggerEventConfig as bf, type TriggerEventEntityActivity as bg, type TriggerEventEntityOperation as bh, type TriggerEventFlowAutomationTask as bi, type TriggerEventManual as bj, type TriggerEventMessaging as bk, type TriggerShareEntityAction as bl, type TriggerShareEntityActionConfig as bm, type TriggerShareEntityConfig as bn, type TriggerWebhookAction as bo, type TriggerWebhookActionConfig as bp, type TriggerWebhookConfig as bq, type TriggerWorkflowAction as br, type TriggerWorkflowActionConfig as bs, type TriggerWorkflowCondition as bt, type TriggerWorkflowConfig as bu, type WildcardCondition as bv, type WorkflowContextRole as bw, type WorkflowExecutionContext as bx, type WorkflowWaitContext as by, 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 AssignEntityAction as n, type AssignEntityActionConfig as o, type AssignEntityConfig as p, type AssignThreadAction as q, type AssignThreadConfig as r, type AssignUsersToStep as s, type AutomationAction as t, type AutomationActionConfig as u, type AutomationActionExecutionState as v, type AutomationActionId as w, type AutomationActionIteration as x, type AutomationExecution as y, type AutomationExecutionId as z };
|