@epilot/sdk 2.20.22 → 2.20.23
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 +207 -2
- package/dist/README-7F36AG5O.js +7 -0
- package/dist/README-I7JMAFA4.cjs +7 -0
- 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/chat.cjs +6 -6
- package/dist/apis/chat.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-CDMOEYVP.cjs +7 -0
- package/dist/automation-XFMSH7Y3.js +7 -0
- package/dist/{automation-runtime-RM5EOZH2.cjs → automation-runtime-KLCXZKEC.cjs} +2 -2
- package/dist/{automation-runtime-ORW5BVCD.js → automation-runtime-Y52HM57N.js} +1 -1
- package/dist/{automation.d-Bp45eKlU.d.cts → automation.d-2biAmiMc.d.cts} +214 -6
- package/dist/{automation.d-Bp45eKlU.d.ts → automation.d-2biAmiMc.d.ts} +214 -6
- package/dist/{chunk-R6RAUX3Z.js → chunk-KZXOYL5D.js} +3 -3
- package/dist/chunk-QW3ROE6H.js +14 -0
- package/dist/chunk-WOUASZJW.cjs +14 -0
- package/dist/{chunk-4GR5MDWN.cjs → chunk-YCTBOY3T.cjs} +3 -3
- 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 +99 -17
- package/package.json +1 -1
- package/dist/README-NBWAQWQS.js +0 -7
- package/dist/README-XCIDDEAE.cjs +0 -7
- package/dist/automation-FTFGFHT7.cjs +0 -7
- package/dist/automation-HJGT6QK5.js +0 -7
- package/dist/chunk-ADSWGLIV.cjs +0 -14
- package/dist/chunk-LCE7N4ZL.js +0 -14
|
@@ -557,7 +557,23 @@ declare namespace Components {
|
|
|
557
557
|
* ```
|
|
558
558
|
*
|
|
559
559
|
*/
|
|
560
|
-
EntityOperationTrigger | ActivityTrigger | EntityManualTrigger | ReceivedEmailTrigger | NewEmailThreadTrigger | FlowsTrigger
|
|
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;
|
|
561
577
|
export interface AnythingButCondition {
|
|
562
578
|
"anything-but"?: string[];
|
|
563
579
|
}
|
|
@@ -912,6 +928,38 @@ declare namespace Components {
|
|
|
912
928
|
*/
|
|
913
929
|
values?: string[];
|
|
914
930
|
};
|
|
931
|
+
/**
|
|
932
|
+
* Candidate condition for `sequential` and `even_distribution`: when true,
|
|
933
|
+
* only assign to users whose skills (tags) match a label on the entity
|
|
934
|
+
* being assigned. Opt-in; defaults to false. An entity carrying no
|
|
935
|
+
* namespaced label matches nobody, so the fallback applies.
|
|
936
|
+
*
|
|
937
|
+
*/
|
|
938
|
+
match_user_skills?: boolean;
|
|
939
|
+
/**
|
|
940
|
+
* Candidate condition (with match_user_skills): label families
|
|
941
|
+
* (taxonomy slugs) that must match. Only categories the entity actually
|
|
942
|
+
* carries a label in are scored: a user qualifies if it shares a label with
|
|
943
|
+
* the entity within each of those. A required category the entity has no
|
|
944
|
+
* label in is a free pass and gates nobody — so when the entity has no label
|
|
945
|
+
* in any required category, every candidate passes this filter. Note this
|
|
946
|
+
* is the opposite of an entity carrying no namespaced label at all, which
|
|
947
|
+
* matches nobody — see `match_user_skills`. Leave empty to match on any
|
|
948
|
+
* label (flat OR across all categories).
|
|
949
|
+
*
|
|
950
|
+
*/
|
|
951
|
+
required_skill_categories?: string[];
|
|
952
|
+
/**
|
|
953
|
+
* How strictly required skill categories are matched (applies with
|
|
954
|
+
* match_user_skills and required skill categories set).
|
|
955
|
+
* - require_all: hard match (default) — a user must match every required
|
|
956
|
+
* category the entity has a label in.
|
|
957
|
+
* - prefer: soft match — prefer the best-matching users, relaxing to
|
|
958
|
+
* fewer categories only when no better match exists; a user matching
|
|
959
|
+
* no category is never eligible (the fallback then applies).
|
|
960
|
+
*
|
|
961
|
+
*/
|
|
962
|
+
skill_match_mode?: "require_all" | "prefer";
|
|
915
963
|
/**
|
|
916
964
|
* What to do when no assignable principal resolves, e.g. an empty or
|
|
917
965
|
* fully ineligible `candidate_group`.
|
|
@@ -1365,7 +1413,11 @@ declare namespace Components {
|
|
|
1365
1413
|
* 2
|
|
1366
1414
|
*/
|
|
1367
1415
|
version?: number;
|
|
1368
|
-
trigger_event?: TriggerEventManual | TriggerEventEntityActivity | TriggerEventEntityOperation | TriggerEventFlowAutomationTask | TriggerEventMessaging
|
|
1416
|
+
trigger_event?: TriggerEventManual | TriggerEventEntityActivity | TriggerEventEntityOperation | TriggerEventFlowAutomationTask | TriggerEventMessaging | /**
|
|
1417
|
+
* 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.
|
|
1418
|
+
*
|
|
1419
|
+
*/
|
|
1420
|
+
TriggerEventEventCatalog;
|
|
1369
1421
|
workflow_context?: WorkflowExecutionContext;
|
|
1370
1422
|
workflow_wait_context?: /**
|
|
1371
1423
|
* 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.
|
|
@@ -1537,10 +1589,19 @@ declare namespace Components {
|
|
|
1537
1589
|
*/
|
|
1538
1590
|
source_path: string;
|
|
1539
1591
|
/**
|
|
1540
|
-
* How source_path is interpreted. 'journey-multi-select' is the v1 source type (journey card block with multi-select). Future source types (e.g. 'previous-action-outputs', 'entity-relation') will be added here.
|
|
1592
|
+
* How source_path is interpreted. 'journey-multi-select' is the v1 source type (journey card block with multi-select). 'journey-file-upload' iterates the files uploaded in a journey file upload block: source_path points at the submission's `_files.$relation` array, `filter_tags` narrows it down to the block's files and every item is treated as a `file` entity reference. Future source types (e.g. 'previous-action-outputs', 'entity-relation') will be added here.
|
|
1541
1593
|
*
|
|
1542
1594
|
*/
|
|
1543
|
-
source_type?: "journey-multi-select" | "previous-action-outputs" | "entity-relation";
|
|
1595
|
+
source_type?: "journey-multi-select" | "journey-file-upload" | "previous-action-outputs" | "entity-relation";
|
|
1596
|
+
/**
|
|
1597
|
+
* Only iterate items of the resolved array whose `_tags` contain every listed tag. Meant for relation arrays such as `submission._files.$relation`, where the journey tags each file relation with the upload block it came from.
|
|
1598
|
+
*
|
|
1599
|
+
* example:
|
|
1600
|
+
* [
|
|
1601
|
+
* "_hidden_ 2a4b1c3d-0000-4000-8000-000000000000 - Dokumente"
|
|
1602
|
+
* ]
|
|
1603
|
+
*/
|
|
1604
|
+
filter_tags?: string[];
|
|
1544
1605
|
/**
|
|
1545
1606
|
* Maximum number of iterations. 0 / omitted = iterate the full resolved array.
|
|
1546
1607
|
*
|
|
@@ -1959,7 +2020,11 @@ declare namespace Components {
|
|
|
1959
2020
|
*/
|
|
1960
2021
|
id?: string;
|
|
1961
2022
|
origin?: "trigger" | "action";
|
|
1962
|
-
|
|
2023
|
+
/**
|
|
2024
|
+
* `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.
|
|
2025
|
+
*
|
|
2026
|
+
*/
|
|
2027
|
+
originType?: "entity" | "workflow" | "journey_block" | "event";
|
|
1963
2028
|
schema?: string;
|
|
1964
2029
|
attribute?: string;
|
|
1965
2030
|
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";
|
|
@@ -2722,6 +2787,63 @@ declare namespace Components {
|
|
|
2722
2787
|
details?: ErrorDetail[];
|
|
2723
2788
|
};
|
|
2724
2789
|
}
|
|
2790
|
+
/**
|
|
2791
|
+
* 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.
|
|
2792
|
+
*
|
|
2793
|
+
* example:
|
|
2794
|
+
* {
|
|
2795
|
+
* "id": "12d4f45a-1883-4841-a94c-5928cb338a94",
|
|
2796
|
+
* "type": "event_catalog",
|
|
2797
|
+
* "configuration": {
|
|
2798
|
+
* "event_name": "CustomerRequestSubmitted",
|
|
2799
|
+
* "event_version": "1.1",
|
|
2800
|
+
* "entity_node_id": "ticket",
|
|
2801
|
+
* "entity_schema": "ticket",
|
|
2802
|
+
* "ignore_automation_triggered": true
|
|
2803
|
+
* }
|
|
2804
|
+
* }
|
|
2805
|
+
*/
|
|
2806
|
+
export interface EventCatalogTrigger {
|
|
2807
|
+
/**
|
|
2808
|
+
* example:
|
|
2809
|
+
* 12d4f45a-1883-4841-a94c-5928cb338a94
|
|
2810
|
+
*/
|
|
2811
|
+
id?: string; // uuid
|
|
2812
|
+
type: "event_catalog";
|
|
2813
|
+
configuration: {
|
|
2814
|
+
/**
|
|
2815
|
+
* Name of the Event Catalog event that starts this flow
|
|
2816
|
+
* example:
|
|
2817
|
+
* CustomerRequestSubmitted
|
|
2818
|
+
*/
|
|
2819
|
+
event_name: string;
|
|
2820
|
+
/**
|
|
2821
|
+
* 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.
|
|
2822
|
+
*
|
|
2823
|
+
* example:
|
|
2824
|
+
* 1.1
|
|
2825
|
+
*/
|
|
2826
|
+
event_version: string;
|
|
2827
|
+
/**
|
|
2828
|
+
* 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).
|
|
2829
|
+
*
|
|
2830
|
+
* example:
|
|
2831
|
+
* ticket
|
|
2832
|
+
*/
|
|
2833
|
+
entity_node_id: string;
|
|
2834
|
+
/**
|
|
2835
|
+
* Schema of the entity behind `entity_node_id`, denormalized from the event definition at configuration time
|
|
2836
|
+
* example:
|
|
2837
|
+
* ticket
|
|
2838
|
+
*/
|
|
2839
|
+
entity_schema: string;
|
|
2840
|
+
/**
|
|
2841
|
+
* 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.
|
|
2842
|
+
*
|
|
2843
|
+
*/
|
|
2844
|
+
ignore_automation_triggered?: boolean;
|
|
2845
|
+
};
|
|
2846
|
+
}
|
|
2725
2847
|
/**
|
|
2726
2848
|
* Execution item for bulk trigger automation. It maps each entity to its automation execution id & status
|
|
2727
2849
|
*/
|
|
@@ -4704,6 +4826,64 @@ declare namespace Components {
|
|
|
4704
4826
|
ActivityId;
|
|
4705
4827
|
operation_type: EntityOperation;
|
|
4706
4828
|
}
|
|
4829
|
+
/**
|
|
4830
|
+
* 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.
|
|
4831
|
+
*
|
|
4832
|
+
*/
|
|
4833
|
+
export interface TriggerEventEventCatalog {
|
|
4834
|
+
type: "event_catalog";
|
|
4835
|
+
/**
|
|
4836
|
+
* example:
|
|
4837
|
+
* 123
|
|
4838
|
+
*/
|
|
4839
|
+
org_id: string;
|
|
4840
|
+
entity_id: /**
|
|
4841
|
+
* example:
|
|
4842
|
+
* e3d3ebac-baab-4395-abf4-50b5bf1f8b74
|
|
4843
|
+
*/
|
|
4844
|
+
EntityId;
|
|
4845
|
+
/**
|
|
4846
|
+
* Node id of the event's entity graph that was resolved to `entity_id`
|
|
4847
|
+
* example:
|
|
4848
|
+
* ticket
|
|
4849
|
+
*/
|
|
4850
|
+
entity_node_id: string;
|
|
4851
|
+
/**
|
|
4852
|
+
* Event Catalog event id (ULID) of the published event
|
|
4853
|
+
* example:
|
|
4854
|
+
* 01K3ZK8QZ7Y7Q2M8W1V3N4X5P6
|
|
4855
|
+
*/
|
|
4856
|
+
event_id: string;
|
|
4857
|
+
/**
|
|
4858
|
+
* example:
|
|
4859
|
+
* CustomerRequestSubmitted
|
|
4860
|
+
*/
|
|
4861
|
+
event_name: string;
|
|
4862
|
+
/**
|
|
4863
|
+
* Version the payload was delivered in (the version pinned on the trigger)
|
|
4864
|
+
* example:
|
|
4865
|
+
* 1.1
|
|
4866
|
+
*/
|
|
4867
|
+
event_version: string;
|
|
4868
|
+
/**
|
|
4869
|
+
* Version the event was originally published with, before downgrading to `event_version`
|
|
4870
|
+
* example:
|
|
4871
|
+
* 1.2
|
|
4872
|
+
*/
|
|
4873
|
+
published_version?: string;
|
|
4874
|
+
event_time?: string; // date-time
|
|
4875
|
+
/**
|
|
4876
|
+
* How the event was triggered in the catalog (api | automation | operation | portal_user)
|
|
4877
|
+
* example:
|
|
4878
|
+
* operation
|
|
4879
|
+
*/
|
|
4880
|
+
trigger_source_type?: string;
|
|
4881
|
+
/**
|
|
4882
|
+
* Opaque source reference from the catalog (e.g. activity id, automation execution id)
|
|
4883
|
+
*/
|
|
4884
|
+
trigger_source?: string;
|
|
4885
|
+
payload_ref?: /* S3 reference to the stored trigger event payload (`_downgrades` stripped, downgraded to the pinned version) */ TriggerEventPayloadRef;
|
|
4886
|
+
}
|
|
4707
4887
|
export interface TriggerEventFlowAutomationTask {
|
|
4708
4888
|
type?: "flow_automation_task";
|
|
4709
4889
|
/**
|
|
@@ -4757,6 +4937,21 @@ declare namespace Components {
|
|
|
4757
4937
|
*/
|
|
4758
4938
|
EntityId;
|
|
4759
4939
|
}
|
|
4940
|
+
/**
|
|
4941
|
+
* S3 reference to the stored trigger event payload (`_downgrades` stripped, downgraded to the pinned version)
|
|
4942
|
+
*/
|
|
4943
|
+
export interface TriggerEventPayloadRef {
|
|
4944
|
+
/**
|
|
4945
|
+
* example:
|
|
4946
|
+
* automation-trigger-payloads-prod
|
|
4947
|
+
*/
|
|
4948
|
+
bucket: string;
|
|
4949
|
+
/**
|
|
4950
|
+
* example:
|
|
4951
|
+
* trigger-payloads/123/6c8e5d9a-7f1b-4c2e-9d3a-0b1c2d3e4f5a.json
|
|
4952
|
+
*/
|
|
4953
|
+
key: string;
|
|
4954
|
+
}
|
|
4760
4955
|
export interface TriggerShareEntityAction {
|
|
4761
4956
|
id?: /**
|
|
4762
4957
|
* example:
|
|
@@ -5717,6 +5912,11 @@ declare namespace Paths {
|
|
|
5717
5912
|
* wfABCDEFGH
|
|
5718
5913
|
*/
|
|
5719
5914
|
export type TargetWorkflow = string;
|
|
5915
|
+
/**
|
|
5916
|
+
* example:
|
|
5917
|
+
* CustomerRequestSubmitted
|
|
5918
|
+
*/
|
|
5919
|
+
export type TriggerEventName = string;
|
|
5720
5920
|
/**
|
|
5721
5921
|
* example:
|
|
5722
5922
|
* 600945fe-212e-4b97-acf7-391d64648384
|
|
@@ -5741,6 +5941,11 @@ declare namespace Paths {
|
|
|
5741
5941
|
* wfABCDEFGH
|
|
5742
5942
|
*/
|
|
5743
5943
|
Parameters.TargetWorkflow;
|
|
5944
|
+
trigger_event_name?: /**
|
|
5945
|
+
* example:
|
|
5946
|
+
* CustomerRequestSubmitted
|
|
5947
|
+
*/
|
|
5948
|
+
Parameters.TriggerEventName;
|
|
5744
5949
|
include_flows?: Parameters.IncludeFlows;
|
|
5745
5950
|
}
|
|
5746
5951
|
namespace Responses {
|
|
@@ -6213,6 +6418,7 @@ type ErrorCode = Components.Schemas.ErrorCode;
|
|
|
6213
6418
|
type ErrorDetail = Components.Schemas.ErrorDetail;
|
|
6214
6419
|
type ErrorObject = Components.Schemas.ErrorObject;
|
|
6215
6420
|
type ErrorOutput = Components.Schemas.ErrorOutput;
|
|
6421
|
+
type EventCatalogTrigger = Components.Schemas.EventCatalogTrigger;
|
|
6216
6422
|
type ExecItem = Components.Schemas.ExecItem;
|
|
6217
6423
|
type ExecutionChain = Components.Schemas.ExecutionChain;
|
|
6218
6424
|
type ExecutionStatus = Components.Schemas.ExecutionStatus;
|
|
@@ -6284,9 +6490,11 @@ type TriggerEventActionConfig = Components.Schemas.TriggerEventActionConfig;
|
|
|
6284
6490
|
type TriggerEventConfig = Components.Schemas.TriggerEventConfig;
|
|
6285
6491
|
type TriggerEventEntityActivity = Components.Schemas.TriggerEventEntityActivity;
|
|
6286
6492
|
type TriggerEventEntityOperation = Components.Schemas.TriggerEventEntityOperation;
|
|
6493
|
+
type TriggerEventEventCatalog = Components.Schemas.TriggerEventEventCatalog;
|
|
6287
6494
|
type TriggerEventFlowAutomationTask = Components.Schemas.TriggerEventFlowAutomationTask;
|
|
6288
6495
|
type TriggerEventManual = Components.Schemas.TriggerEventManual;
|
|
6289
6496
|
type TriggerEventMessaging = Components.Schemas.TriggerEventMessaging;
|
|
6497
|
+
type TriggerEventPayloadRef = Components.Schemas.TriggerEventPayloadRef;
|
|
6290
6498
|
type TriggerShareEntityAction = Components.Schemas.TriggerShareEntityAction;
|
|
6291
6499
|
type TriggerShareEntityActionConfig = Components.Schemas.TriggerShareEntityActionConfig;
|
|
6292
6500
|
type TriggerShareEntityConfig = Components.Schemas.TriggerShareEntityConfig;
|
|
@@ -6302,4 +6510,4 @@ type WorkflowContextRole = Components.Schemas.WorkflowContextRole;
|
|
|
6302
6510
|
type WorkflowExecutionContext = Components.Schemas.WorkflowExecutionContext;
|
|
6303
6511
|
type WorkflowWaitContext = Components.Schemas.WorkflowWaitContext;
|
|
6304
6512
|
|
|
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
|
|
6513
|
+
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 ResumeToken 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 JourneySubmitTrigger as aA, type MapEntityAction as aB, type MapEntityActionConfig as aC, type MapEntityConfig as aD, type MappingAttribute as aE, type MappingAttributeMode as aF, type MappingAttributeV2 as aG, type MappingConfigRef as aH, type MoveThreadAction as aI, type MoveThreadConfig as aJ, type NewEmailThreadTrigger as aK, type NumericCondition as aL, type OperationNode as aM, type OperationObjectNode as aN, type OrCondition as aO, type OrConditionForDiff as aP, type OrganizationId as aQ, type PatchBulkJobRequest as aR, type PrefixCondition as aS, type PrimitiveJSONValue as aT, type ReceivedEmailTrigger as aU, type RelationAttribute as aV, type ReplyEmailAction as aW, type ReplyEmailActionConfig as aX, type ReplyEmailConfig as aY, type ResumeReq as aZ, type ResumeResp as a_, type ErrorOutput as aa, type EventCatalogTrigger as ab, type ExecItem as ac, type ExecutionChain as ad, type ExecutionStatus as ae, type ExistsCondition as af, type FilterConditionOnEvent as ag, type FlowExecutionCancelAction as ah, type FlowExecutionCancelActionConfig as ai, type FlowExecutionCancelConfig as aj, type FlowsTrigger as ak, type ForwardEmailAction as al, type ForwardEmailActionConfig as am, type ForwardEmailConfig as an, type FrontendSubmitTrigger as ao, type GetExecutionsResp as ap, type GraphContextEntry as aq, type GraphDefinition as ar, type GraphEdge as as, type GraphNode as at, type GraphNodeFilter as au, type GraphSeed as av, type InformERPAction as aw, type InformERPActionConfig as ax, type InformERPConfig as ay, type JobId as az, type PathsDictionary as b, type RetryReq as b0, type RetryStrategy as b1, type SearchAutomationsResp as b2, type SearchExecutionsReq as b3, type SearchExecutionsResp as b4, type SendEmailAction as b5, type SendEmailActionConfig as b6, type SendEmailCondition as b7, type SendEmailConfig as b8, type SetValueMapper as b9, type WorkflowExecutionContext as bA, type WorkflowWaitContext as bB, type StartExecutionRequest as ba, type SuffixCondition as bb, type TriggerCondition as bc, type TriggerContext as bd, type TriggerEventAction as be, type TriggerEventActionConfig as bf, type TriggerEventConfig as bg, type TriggerEventEntityActivity as bh, type TriggerEventEntityOperation as bi, type TriggerEventEventCatalog as bj, type TriggerEventFlowAutomationTask as bk, type TriggerEventManual as bl, type TriggerEventMessaging as bm, type TriggerEventPayloadRef as bn, type TriggerShareEntityAction as bo, type TriggerShareEntityActionConfig as bp, type TriggerShareEntityConfig as bq, type TriggerWebhookAction as br, type TriggerWebhookActionConfig as bs, type TriggerWebhookConfig as bt, type TriggerWorkflowAction as bu, type TriggerWorkflowActionConfig as bv, type TriggerWorkflowCondition as bw, type TriggerWorkflowConfig as bx, type WildcardCondition as by, type WorkflowContextRole as bz, 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 };
|
|
@@ -557,7 +557,23 @@ declare namespace Components {
|
|
|
557
557
|
* ```
|
|
558
558
|
*
|
|
559
559
|
*/
|
|
560
|
-
EntityOperationTrigger | ActivityTrigger | EntityManualTrigger | ReceivedEmailTrigger | NewEmailThreadTrigger | FlowsTrigger
|
|
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;
|
|
561
577
|
export interface AnythingButCondition {
|
|
562
578
|
"anything-but"?: string[];
|
|
563
579
|
}
|
|
@@ -912,6 +928,38 @@ declare namespace Components {
|
|
|
912
928
|
*/
|
|
913
929
|
values?: string[];
|
|
914
930
|
};
|
|
931
|
+
/**
|
|
932
|
+
* Candidate condition for `sequential` and `even_distribution`: when true,
|
|
933
|
+
* only assign to users whose skills (tags) match a label on the entity
|
|
934
|
+
* being assigned. Opt-in; defaults to false. An entity carrying no
|
|
935
|
+
* namespaced label matches nobody, so the fallback applies.
|
|
936
|
+
*
|
|
937
|
+
*/
|
|
938
|
+
match_user_skills?: boolean;
|
|
939
|
+
/**
|
|
940
|
+
* Candidate condition (with match_user_skills): label families
|
|
941
|
+
* (taxonomy slugs) that must match. Only categories the entity actually
|
|
942
|
+
* carries a label in are scored: a user qualifies if it shares a label with
|
|
943
|
+
* the entity within each of those. A required category the entity has no
|
|
944
|
+
* label in is a free pass and gates nobody — so when the entity has no label
|
|
945
|
+
* in any required category, every candidate passes this filter. Note this
|
|
946
|
+
* is the opposite of an entity carrying no namespaced label at all, which
|
|
947
|
+
* matches nobody — see `match_user_skills`. Leave empty to match on any
|
|
948
|
+
* label (flat OR across all categories).
|
|
949
|
+
*
|
|
950
|
+
*/
|
|
951
|
+
required_skill_categories?: string[];
|
|
952
|
+
/**
|
|
953
|
+
* How strictly required skill categories are matched (applies with
|
|
954
|
+
* match_user_skills and required skill categories set).
|
|
955
|
+
* - require_all: hard match (default) — a user must match every required
|
|
956
|
+
* category the entity has a label in.
|
|
957
|
+
* - prefer: soft match — prefer the best-matching users, relaxing to
|
|
958
|
+
* fewer categories only when no better match exists; a user matching
|
|
959
|
+
* no category is never eligible (the fallback then applies).
|
|
960
|
+
*
|
|
961
|
+
*/
|
|
962
|
+
skill_match_mode?: "require_all" | "prefer";
|
|
915
963
|
/**
|
|
916
964
|
* What to do when no assignable principal resolves, e.g. an empty or
|
|
917
965
|
* fully ineligible `candidate_group`.
|
|
@@ -1365,7 +1413,11 @@ declare namespace Components {
|
|
|
1365
1413
|
* 2
|
|
1366
1414
|
*/
|
|
1367
1415
|
version?: number;
|
|
1368
|
-
trigger_event?: TriggerEventManual | TriggerEventEntityActivity | TriggerEventEntityOperation | TriggerEventFlowAutomationTask | TriggerEventMessaging
|
|
1416
|
+
trigger_event?: TriggerEventManual | TriggerEventEntityActivity | TriggerEventEntityOperation | TriggerEventFlowAutomationTask | TriggerEventMessaging | /**
|
|
1417
|
+
* 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.
|
|
1418
|
+
*
|
|
1419
|
+
*/
|
|
1420
|
+
TriggerEventEventCatalog;
|
|
1369
1421
|
workflow_context?: WorkflowExecutionContext;
|
|
1370
1422
|
workflow_wait_context?: /**
|
|
1371
1423
|
* 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.
|
|
@@ -1537,10 +1589,19 @@ declare namespace Components {
|
|
|
1537
1589
|
*/
|
|
1538
1590
|
source_path: string;
|
|
1539
1591
|
/**
|
|
1540
|
-
* How source_path is interpreted. 'journey-multi-select' is the v1 source type (journey card block with multi-select). Future source types (e.g. 'previous-action-outputs', 'entity-relation') will be added here.
|
|
1592
|
+
* How source_path is interpreted. 'journey-multi-select' is the v1 source type (journey card block with multi-select). 'journey-file-upload' iterates the files uploaded in a journey file upload block: source_path points at the submission's `_files.$relation` array, `filter_tags` narrows it down to the block's files and every item is treated as a `file` entity reference. Future source types (e.g. 'previous-action-outputs', 'entity-relation') will be added here.
|
|
1541
1593
|
*
|
|
1542
1594
|
*/
|
|
1543
|
-
source_type?: "journey-multi-select" | "previous-action-outputs" | "entity-relation";
|
|
1595
|
+
source_type?: "journey-multi-select" | "journey-file-upload" | "previous-action-outputs" | "entity-relation";
|
|
1596
|
+
/**
|
|
1597
|
+
* Only iterate items of the resolved array whose `_tags` contain every listed tag. Meant for relation arrays such as `submission._files.$relation`, where the journey tags each file relation with the upload block it came from.
|
|
1598
|
+
*
|
|
1599
|
+
* example:
|
|
1600
|
+
* [
|
|
1601
|
+
* "_hidden_ 2a4b1c3d-0000-4000-8000-000000000000 - Dokumente"
|
|
1602
|
+
* ]
|
|
1603
|
+
*/
|
|
1604
|
+
filter_tags?: string[];
|
|
1544
1605
|
/**
|
|
1545
1606
|
* Maximum number of iterations. 0 / omitted = iterate the full resolved array.
|
|
1546
1607
|
*
|
|
@@ -1959,7 +2020,11 @@ declare namespace Components {
|
|
|
1959
2020
|
*/
|
|
1960
2021
|
id?: string;
|
|
1961
2022
|
origin?: "trigger" | "action";
|
|
1962
|
-
|
|
2023
|
+
/**
|
|
2024
|
+
* `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.
|
|
2025
|
+
*
|
|
2026
|
+
*/
|
|
2027
|
+
originType?: "entity" | "workflow" | "journey_block" | "event";
|
|
1963
2028
|
schema?: string;
|
|
1964
2029
|
attribute?: string;
|
|
1965
2030
|
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";
|
|
@@ -2722,6 +2787,63 @@ declare namespace Components {
|
|
|
2722
2787
|
details?: ErrorDetail[];
|
|
2723
2788
|
};
|
|
2724
2789
|
}
|
|
2790
|
+
/**
|
|
2791
|
+
* 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.
|
|
2792
|
+
*
|
|
2793
|
+
* example:
|
|
2794
|
+
* {
|
|
2795
|
+
* "id": "12d4f45a-1883-4841-a94c-5928cb338a94",
|
|
2796
|
+
* "type": "event_catalog",
|
|
2797
|
+
* "configuration": {
|
|
2798
|
+
* "event_name": "CustomerRequestSubmitted",
|
|
2799
|
+
* "event_version": "1.1",
|
|
2800
|
+
* "entity_node_id": "ticket",
|
|
2801
|
+
* "entity_schema": "ticket",
|
|
2802
|
+
* "ignore_automation_triggered": true
|
|
2803
|
+
* }
|
|
2804
|
+
* }
|
|
2805
|
+
*/
|
|
2806
|
+
export interface EventCatalogTrigger {
|
|
2807
|
+
/**
|
|
2808
|
+
* example:
|
|
2809
|
+
* 12d4f45a-1883-4841-a94c-5928cb338a94
|
|
2810
|
+
*/
|
|
2811
|
+
id?: string; // uuid
|
|
2812
|
+
type: "event_catalog";
|
|
2813
|
+
configuration: {
|
|
2814
|
+
/**
|
|
2815
|
+
* Name of the Event Catalog event that starts this flow
|
|
2816
|
+
* example:
|
|
2817
|
+
* CustomerRequestSubmitted
|
|
2818
|
+
*/
|
|
2819
|
+
event_name: string;
|
|
2820
|
+
/**
|
|
2821
|
+
* 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.
|
|
2822
|
+
*
|
|
2823
|
+
* example:
|
|
2824
|
+
* 1.1
|
|
2825
|
+
*/
|
|
2826
|
+
event_version: string;
|
|
2827
|
+
/**
|
|
2828
|
+
* 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).
|
|
2829
|
+
*
|
|
2830
|
+
* example:
|
|
2831
|
+
* ticket
|
|
2832
|
+
*/
|
|
2833
|
+
entity_node_id: string;
|
|
2834
|
+
/**
|
|
2835
|
+
* Schema of the entity behind `entity_node_id`, denormalized from the event definition at configuration time
|
|
2836
|
+
* example:
|
|
2837
|
+
* ticket
|
|
2838
|
+
*/
|
|
2839
|
+
entity_schema: string;
|
|
2840
|
+
/**
|
|
2841
|
+
* 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.
|
|
2842
|
+
*
|
|
2843
|
+
*/
|
|
2844
|
+
ignore_automation_triggered?: boolean;
|
|
2845
|
+
};
|
|
2846
|
+
}
|
|
2725
2847
|
/**
|
|
2726
2848
|
* Execution item for bulk trigger automation. It maps each entity to its automation execution id & status
|
|
2727
2849
|
*/
|
|
@@ -4704,6 +4826,64 @@ declare namespace Components {
|
|
|
4704
4826
|
ActivityId;
|
|
4705
4827
|
operation_type: EntityOperation;
|
|
4706
4828
|
}
|
|
4829
|
+
/**
|
|
4830
|
+
* 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.
|
|
4831
|
+
*
|
|
4832
|
+
*/
|
|
4833
|
+
export interface TriggerEventEventCatalog {
|
|
4834
|
+
type: "event_catalog";
|
|
4835
|
+
/**
|
|
4836
|
+
* example:
|
|
4837
|
+
* 123
|
|
4838
|
+
*/
|
|
4839
|
+
org_id: string;
|
|
4840
|
+
entity_id: /**
|
|
4841
|
+
* example:
|
|
4842
|
+
* e3d3ebac-baab-4395-abf4-50b5bf1f8b74
|
|
4843
|
+
*/
|
|
4844
|
+
EntityId;
|
|
4845
|
+
/**
|
|
4846
|
+
* Node id of the event's entity graph that was resolved to `entity_id`
|
|
4847
|
+
* example:
|
|
4848
|
+
* ticket
|
|
4849
|
+
*/
|
|
4850
|
+
entity_node_id: string;
|
|
4851
|
+
/**
|
|
4852
|
+
* Event Catalog event id (ULID) of the published event
|
|
4853
|
+
* example:
|
|
4854
|
+
* 01K3ZK8QZ7Y7Q2M8W1V3N4X5P6
|
|
4855
|
+
*/
|
|
4856
|
+
event_id: string;
|
|
4857
|
+
/**
|
|
4858
|
+
* example:
|
|
4859
|
+
* CustomerRequestSubmitted
|
|
4860
|
+
*/
|
|
4861
|
+
event_name: string;
|
|
4862
|
+
/**
|
|
4863
|
+
* Version the payload was delivered in (the version pinned on the trigger)
|
|
4864
|
+
* example:
|
|
4865
|
+
* 1.1
|
|
4866
|
+
*/
|
|
4867
|
+
event_version: string;
|
|
4868
|
+
/**
|
|
4869
|
+
* Version the event was originally published with, before downgrading to `event_version`
|
|
4870
|
+
* example:
|
|
4871
|
+
* 1.2
|
|
4872
|
+
*/
|
|
4873
|
+
published_version?: string;
|
|
4874
|
+
event_time?: string; // date-time
|
|
4875
|
+
/**
|
|
4876
|
+
* How the event was triggered in the catalog (api | automation | operation | portal_user)
|
|
4877
|
+
* example:
|
|
4878
|
+
* operation
|
|
4879
|
+
*/
|
|
4880
|
+
trigger_source_type?: string;
|
|
4881
|
+
/**
|
|
4882
|
+
* Opaque source reference from the catalog (e.g. activity id, automation execution id)
|
|
4883
|
+
*/
|
|
4884
|
+
trigger_source?: string;
|
|
4885
|
+
payload_ref?: /* S3 reference to the stored trigger event payload (`_downgrades` stripped, downgraded to the pinned version) */ TriggerEventPayloadRef;
|
|
4886
|
+
}
|
|
4707
4887
|
export interface TriggerEventFlowAutomationTask {
|
|
4708
4888
|
type?: "flow_automation_task";
|
|
4709
4889
|
/**
|
|
@@ -4757,6 +4937,21 @@ declare namespace Components {
|
|
|
4757
4937
|
*/
|
|
4758
4938
|
EntityId;
|
|
4759
4939
|
}
|
|
4940
|
+
/**
|
|
4941
|
+
* S3 reference to the stored trigger event payload (`_downgrades` stripped, downgraded to the pinned version)
|
|
4942
|
+
*/
|
|
4943
|
+
export interface TriggerEventPayloadRef {
|
|
4944
|
+
/**
|
|
4945
|
+
* example:
|
|
4946
|
+
* automation-trigger-payloads-prod
|
|
4947
|
+
*/
|
|
4948
|
+
bucket: string;
|
|
4949
|
+
/**
|
|
4950
|
+
* example:
|
|
4951
|
+
* trigger-payloads/123/6c8e5d9a-7f1b-4c2e-9d3a-0b1c2d3e4f5a.json
|
|
4952
|
+
*/
|
|
4953
|
+
key: string;
|
|
4954
|
+
}
|
|
4760
4955
|
export interface TriggerShareEntityAction {
|
|
4761
4956
|
id?: /**
|
|
4762
4957
|
* example:
|
|
@@ -5717,6 +5912,11 @@ declare namespace Paths {
|
|
|
5717
5912
|
* wfABCDEFGH
|
|
5718
5913
|
*/
|
|
5719
5914
|
export type TargetWorkflow = string;
|
|
5915
|
+
/**
|
|
5916
|
+
* example:
|
|
5917
|
+
* CustomerRequestSubmitted
|
|
5918
|
+
*/
|
|
5919
|
+
export type TriggerEventName = string;
|
|
5720
5920
|
/**
|
|
5721
5921
|
* example:
|
|
5722
5922
|
* 600945fe-212e-4b97-acf7-391d64648384
|
|
@@ -5741,6 +5941,11 @@ declare namespace Paths {
|
|
|
5741
5941
|
* wfABCDEFGH
|
|
5742
5942
|
*/
|
|
5743
5943
|
Parameters.TargetWorkflow;
|
|
5944
|
+
trigger_event_name?: /**
|
|
5945
|
+
* example:
|
|
5946
|
+
* CustomerRequestSubmitted
|
|
5947
|
+
*/
|
|
5948
|
+
Parameters.TriggerEventName;
|
|
5744
5949
|
include_flows?: Parameters.IncludeFlows;
|
|
5745
5950
|
}
|
|
5746
5951
|
namespace Responses {
|
|
@@ -6213,6 +6418,7 @@ type ErrorCode = Components.Schemas.ErrorCode;
|
|
|
6213
6418
|
type ErrorDetail = Components.Schemas.ErrorDetail;
|
|
6214
6419
|
type ErrorObject = Components.Schemas.ErrorObject;
|
|
6215
6420
|
type ErrorOutput = Components.Schemas.ErrorOutput;
|
|
6421
|
+
type EventCatalogTrigger = Components.Schemas.EventCatalogTrigger;
|
|
6216
6422
|
type ExecItem = Components.Schemas.ExecItem;
|
|
6217
6423
|
type ExecutionChain = Components.Schemas.ExecutionChain;
|
|
6218
6424
|
type ExecutionStatus = Components.Schemas.ExecutionStatus;
|
|
@@ -6284,9 +6490,11 @@ type TriggerEventActionConfig = Components.Schemas.TriggerEventActionConfig;
|
|
|
6284
6490
|
type TriggerEventConfig = Components.Schemas.TriggerEventConfig;
|
|
6285
6491
|
type TriggerEventEntityActivity = Components.Schemas.TriggerEventEntityActivity;
|
|
6286
6492
|
type TriggerEventEntityOperation = Components.Schemas.TriggerEventEntityOperation;
|
|
6493
|
+
type TriggerEventEventCatalog = Components.Schemas.TriggerEventEventCatalog;
|
|
6287
6494
|
type TriggerEventFlowAutomationTask = Components.Schemas.TriggerEventFlowAutomationTask;
|
|
6288
6495
|
type TriggerEventManual = Components.Schemas.TriggerEventManual;
|
|
6289
6496
|
type TriggerEventMessaging = Components.Schemas.TriggerEventMessaging;
|
|
6497
|
+
type TriggerEventPayloadRef = Components.Schemas.TriggerEventPayloadRef;
|
|
6290
6498
|
type TriggerShareEntityAction = Components.Schemas.TriggerShareEntityAction;
|
|
6291
6499
|
type TriggerShareEntityActionConfig = Components.Schemas.TriggerShareEntityActionConfig;
|
|
6292
6500
|
type TriggerShareEntityConfig = Components.Schemas.TriggerShareEntityConfig;
|
|
@@ -6302,4 +6510,4 @@ type WorkflowContextRole = Components.Schemas.WorkflowContextRole;
|
|
|
6302
6510
|
type WorkflowExecutionContext = Components.Schemas.WorkflowExecutionContext;
|
|
6303
6511
|
type WorkflowWaitContext = Components.Schemas.WorkflowWaitContext;
|
|
6304
6512
|
|
|
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
|
|
6513
|
+
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 ResumeToken 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 JourneySubmitTrigger as aA, type MapEntityAction as aB, type MapEntityActionConfig as aC, type MapEntityConfig as aD, type MappingAttribute as aE, type MappingAttributeMode as aF, type MappingAttributeV2 as aG, type MappingConfigRef as aH, type MoveThreadAction as aI, type MoveThreadConfig as aJ, type NewEmailThreadTrigger as aK, type NumericCondition as aL, type OperationNode as aM, type OperationObjectNode as aN, type OrCondition as aO, type OrConditionForDiff as aP, type OrganizationId as aQ, type PatchBulkJobRequest as aR, type PrefixCondition as aS, type PrimitiveJSONValue as aT, type ReceivedEmailTrigger as aU, type RelationAttribute as aV, type ReplyEmailAction as aW, type ReplyEmailActionConfig as aX, type ReplyEmailConfig as aY, type ResumeReq as aZ, type ResumeResp as a_, type ErrorOutput as aa, type EventCatalogTrigger as ab, type ExecItem as ac, type ExecutionChain as ad, type ExecutionStatus as ae, type ExistsCondition as af, type FilterConditionOnEvent as ag, type FlowExecutionCancelAction as ah, type FlowExecutionCancelActionConfig as ai, type FlowExecutionCancelConfig as aj, type FlowsTrigger as ak, type ForwardEmailAction as al, type ForwardEmailActionConfig as am, type ForwardEmailConfig as an, type FrontendSubmitTrigger as ao, type GetExecutionsResp as ap, type GraphContextEntry as aq, type GraphDefinition as ar, type GraphEdge as as, type GraphNode as at, type GraphNodeFilter as au, type GraphSeed as av, type InformERPAction as aw, type InformERPActionConfig as ax, type InformERPConfig as ay, type JobId as az, type PathsDictionary as b, type RetryReq as b0, type RetryStrategy as b1, type SearchAutomationsResp as b2, type SearchExecutionsReq as b3, type SearchExecutionsResp as b4, type SendEmailAction as b5, type SendEmailActionConfig as b6, type SendEmailCondition as b7, type SendEmailConfig as b8, type SetValueMapper as b9, type WorkflowExecutionContext as bA, type WorkflowWaitContext as bB, type StartExecutionRequest as ba, type SuffixCondition as bb, type TriggerCondition as bc, type TriggerContext as bd, type TriggerEventAction as be, type TriggerEventActionConfig as bf, type TriggerEventConfig as bg, type TriggerEventEntityActivity as bh, type TriggerEventEntityOperation as bi, type TriggerEventEventCatalog as bj, type TriggerEventFlowAutomationTask as bk, type TriggerEventManual as bl, type TriggerEventMessaging as bm, type TriggerEventPayloadRef as bn, type TriggerShareEntityAction as bo, type TriggerShareEntityActionConfig as bp, type TriggerShareEntityConfig as bq, type TriggerWebhookAction as br, type TriggerWebhookActionConfig as bs, type TriggerWebhookConfig as bt, type TriggerWorkflowAction as bu, type TriggerWorkflowActionConfig as bv, type TriggerWorkflowCondition as bw, type TriggerWorkflowConfig as bx, type WildcardCondition as by, type WorkflowContextRole as bz, 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 };
|