@epilot/sdk 2.18.8 → 2.18.9
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 +177 -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 +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 +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-UP6J7QIK.js +7 -0
- package/dist/automation-ZF5ACFVW.cjs +7 -0
- package/dist/{automation.d-DocUQr4m.d.cts → automation.d-DiWfPkLs.d.cts} +295 -3
- package/dist/{automation.d-DocUQr4m.d.ts → automation.d-DiWfPkLs.d.ts} +295 -3
- package/dist/{chunk-M44TEEFZ.js → chunk-P32T4ZYN.js} +1 -1
- package/dist/{chunk-JMRPVDMK.cjs → chunk-X7DUVWSL.cjs} +1 -1
- package/dist/index.cjs +8 -8
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/automation.md +138 -10
- package/package.json +1 -1
- package/dist/automation-UES4YTBX.js +0 -7
- package/dist/automation-ZPPNTUOZ.cjs +0 -7
|
@@ -139,7 +139,7 @@ declare namespace Components {
|
|
|
139
139
|
types?: (("CreateMeterReading" | "UpdateMeterReading" | "DocDownloadedFromPortal" | "PortalUserResetPassword" | "PortalUserResetForgotPassword" | "SelfAssignmentFromPortal") | string)[];
|
|
140
140
|
};
|
|
141
141
|
}
|
|
142
|
-
export type AnyAction = MapEntityAction | TriggerWorkflowAction | TriggerShareEntityAction | TriggerWebhookAction | InformERPAction | TriggerEventAction | CreateDocumentAction | SendEmailAction | /* Creates an order entity with prices from journey */ CartCheckoutAction | CustomAction | AutomationAction | FlowExecutionCancelAction | ForwardEmailAction | ReplyEmailAction;
|
|
142
|
+
export type AnyAction = MapEntityAction | TriggerWorkflowAction | TriggerShareEntityAction | TriggerWebhookAction | InformERPAction | TriggerEventAction | CreateDocumentAction | SendEmailAction | /* Creates an order entity with prices from journey */ CartCheckoutAction | CustomAction | AutomationAction | FlowExecutionCancelAction | ForwardEmailAction | ReplyEmailAction | AssignEntityAction;
|
|
143
143
|
export type AnyActionConfig = /**
|
|
144
144
|
* example:
|
|
145
145
|
* {
|
|
@@ -418,7 +418,29 @@ declare namespace Components {
|
|
|
418
418
|
* }
|
|
419
419
|
* }
|
|
420
420
|
*/
|
|
421
|
-
ReplyEmailActionConfig
|
|
421
|
+
ReplyEmailActionConfig | /**
|
|
422
|
+
* example:
|
|
423
|
+
* {
|
|
424
|
+
* "id": "25jga0-gkasl26-0asg-908sgaj2",
|
|
425
|
+
* "name": "Assign Entity",
|
|
426
|
+
* "type": "assign-entity",
|
|
427
|
+
* "config": {
|
|
428
|
+
* "attribute": "assigned_to",
|
|
429
|
+
* "write_mode": "replace",
|
|
430
|
+
* "assignment_type": "direct",
|
|
431
|
+
* "assignees": [
|
|
432
|
+
* {
|
|
433
|
+
* "type": "user",
|
|
434
|
+
* "user_id": "90503",
|
|
435
|
+
* "org_id": "66",
|
|
436
|
+
* "display_name": "Jane Doe",
|
|
437
|
+
* "email": "jane.doe@example.com"
|
|
438
|
+
* }
|
|
439
|
+
* ]
|
|
440
|
+
* }
|
|
441
|
+
* }
|
|
442
|
+
*/
|
|
443
|
+
AssignEntityActionConfig;
|
|
422
444
|
export type AnyTrigger = FrontendSubmitTrigger | JourneySubmitTrigger | ApiSubmissionTrigger | /**
|
|
423
445
|
* - If provides filter_config, executes an automation based on the filtered configuration when an entity event occurs.
|
|
424
446
|
* - The conditions on a filter follows the event bridge patterns - `https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-event-patterns.html`
|
|
@@ -640,6 +662,214 @@ declare namespace Components {
|
|
|
640
662
|
*/
|
|
641
663
|
target_unique?: string[];
|
|
642
664
|
}
|
|
665
|
+
export interface AssignEntityAction {
|
|
666
|
+
id?: /**
|
|
667
|
+
* example:
|
|
668
|
+
* 9ec3711b-db63-449c-b894-54d5bb622a8f
|
|
669
|
+
*/
|
|
670
|
+
AutomationActionId;
|
|
671
|
+
flow_action_id?: /**
|
|
672
|
+
* example:
|
|
673
|
+
* 9ec3711b-db63-449c-b894-54d5bb622a8f
|
|
674
|
+
*/
|
|
675
|
+
AutomationActionId;
|
|
676
|
+
name?: string;
|
|
677
|
+
type?: "assign-entity";
|
|
678
|
+
config?: AssignEntityConfig;
|
|
679
|
+
/**
|
|
680
|
+
* Whether to stop execution in a failed state if this action fails
|
|
681
|
+
*/
|
|
682
|
+
allow_failure?: boolean;
|
|
683
|
+
/**
|
|
684
|
+
* Flag indicating whether the action was created automatically or manually
|
|
685
|
+
*/
|
|
686
|
+
created_automatically?: boolean;
|
|
687
|
+
/**
|
|
688
|
+
* Flag indicating whether the same action can be in bulk in a single execution. e.g; send-email / map-entity
|
|
689
|
+
*/
|
|
690
|
+
is_bulk_action?: boolean;
|
|
691
|
+
reason?: {
|
|
692
|
+
/**
|
|
693
|
+
* Why the action has to be skipped/failed
|
|
694
|
+
* example:
|
|
695
|
+
* There are no registered portal users for the given emails, hence skipping the action
|
|
696
|
+
*/
|
|
697
|
+
message?: string;
|
|
698
|
+
/**
|
|
699
|
+
* Extra metadata about the skipping reason - such as a certain condition not met, etc.
|
|
700
|
+
*/
|
|
701
|
+
payload?: {
|
|
702
|
+
[name: string]: any;
|
|
703
|
+
};
|
|
704
|
+
};
|
|
705
|
+
/**
|
|
706
|
+
* Condition Id to be checked before executing the action
|
|
707
|
+
*/
|
|
708
|
+
condition_id?: string;
|
|
709
|
+
/**
|
|
710
|
+
* Schedule Id which indicates the schedule of the action
|
|
711
|
+
*/
|
|
712
|
+
schedule_id?: string;
|
|
713
|
+
/**
|
|
714
|
+
* Id of a loop scope defined on the parent flow. When set, the action runs once per item resolved from the loop's source_path. All actions sharing the same loop_id must be contiguous in the actions array.
|
|
715
|
+
*
|
|
716
|
+
*/
|
|
717
|
+
loop_id?: string;
|
|
718
|
+
execution_status?: ExecutionStatus;
|
|
719
|
+
started_at?: string;
|
|
720
|
+
updated_at?: string;
|
|
721
|
+
/**
|
|
722
|
+
* example:
|
|
723
|
+
* {}
|
|
724
|
+
*/
|
|
725
|
+
outputs?: {
|
|
726
|
+
[name: string]: any;
|
|
727
|
+
};
|
|
728
|
+
error_output?: ErrorOutput;
|
|
729
|
+
retry_strategy?: /* different behaviors for retrying failed execution actions. */ RetryStrategy;
|
|
730
|
+
/**
|
|
731
|
+
* For looped actions, an archive of completed iterations. The action's own execution_status / outputs / error_output always reflect the current (latest) iteration. The previous iteration's state is pushed here before the action is reset for the next pass.
|
|
732
|
+
*
|
|
733
|
+
*/
|
|
734
|
+
iterations?: /* A snapshot of a single completed pass through a looped action. */ AutomationActionIteration[];
|
|
735
|
+
}
|
|
736
|
+
/**
|
|
737
|
+
* example:
|
|
738
|
+
* {
|
|
739
|
+
* "id": "25jga0-gkasl26-0asg-908sgaj2",
|
|
740
|
+
* "name": "Assign Entity",
|
|
741
|
+
* "type": "assign-entity",
|
|
742
|
+
* "config": {
|
|
743
|
+
* "attribute": "assigned_to",
|
|
744
|
+
* "write_mode": "replace",
|
|
745
|
+
* "assignment_type": "direct",
|
|
746
|
+
* "assignees": [
|
|
747
|
+
* {
|
|
748
|
+
* "type": "user",
|
|
749
|
+
* "user_id": "90503",
|
|
750
|
+
* "org_id": "66",
|
|
751
|
+
* "display_name": "Jane Doe",
|
|
752
|
+
* "email": "jane.doe@example.com"
|
|
753
|
+
* }
|
|
754
|
+
* ]
|
|
755
|
+
* }
|
|
756
|
+
* }
|
|
757
|
+
*/
|
|
758
|
+
export interface AssignEntityActionConfig {
|
|
759
|
+
id?: /**
|
|
760
|
+
* example:
|
|
761
|
+
* 9ec3711b-db63-449c-b894-54d5bb622a8f
|
|
762
|
+
*/
|
|
763
|
+
AutomationActionId;
|
|
764
|
+
flow_action_id?: /**
|
|
765
|
+
* example:
|
|
766
|
+
* 9ec3711b-db63-449c-b894-54d5bb622a8f
|
|
767
|
+
*/
|
|
768
|
+
AutomationActionId;
|
|
769
|
+
name?: string;
|
|
770
|
+
type?: "assign-entity";
|
|
771
|
+
config?: AssignEntityConfig;
|
|
772
|
+
/**
|
|
773
|
+
* Whether to stop execution in a failed state if this action fails
|
|
774
|
+
*/
|
|
775
|
+
allow_failure?: boolean;
|
|
776
|
+
/**
|
|
777
|
+
* Flag indicating whether the action was created automatically or manually
|
|
778
|
+
*/
|
|
779
|
+
created_automatically?: boolean;
|
|
780
|
+
/**
|
|
781
|
+
* Flag indicating whether the same action can be in bulk in a single execution. e.g; send-email / map-entity
|
|
782
|
+
*/
|
|
783
|
+
is_bulk_action?: boolean;
|
|
784
|
+
reason?: {
|
|
785
|
+
/**
|
|
786
|
+
* Why the action has to be skipped/failed
|
|
787
|
+
* example:
|
|
788
|
+
* There are no registered portal users for the given emails, hence skipping the action
|
|
789
|
+
*/
|
|
790
|
+
message?: string;
|
|
791
|
+
/**
|
|
792
|
+
* Extra metadata about the skipping reason - such as a certain condition not met, etc.
|
|
793
|
+
*/
|
|
794
|
+
payload?: {
|
|
795
|
+
[name: string]: any;
|
|
796
|
+
};
|
|
797
|
+
};
|
|
798
|
+
/**
|
|
799
|
+
* Condition Id to be checked before executing the action
|
|
800
|
+
*/
|
|
801
|
+
condition_id?: string;
|
|
802
|
+
/**
|
|
803
|
+
* Schedule Id which indicates the schedule of the action
|
|
804
|
+
*/
|
|
805
|
+
schedule_id?: string;
|
|
806
|
+
/**
|
|
807
|
+
* Id of a loop scope defined on the parent flow. When set, the action runs once per item resolved from the loop's source_path. All actions sharing the same loop_id must be contiguous in the actions array.
|
|
808
|
+
*
|
|
809
|
+
*/
|
|
810
|
+
loop_id?: string;
|
|
811
|
+
}
|
|
812
|
+
export interface AssignEntityConfig {
|
|
813
|
+
/**
|
|
814
|
+
* Slug of the user-relation attribute on the triggering entity to write to.
|
|
815
|
+
*/
|
|
816
|
+
attribute?: string;
|
|
817
|
+
/**
|
|
818
|
+
* Assignees to write into `attribute`, in the order given.
|
|
819
|
+
*/
|
|
820
|
+
assignees?: /**
|
|
821
|
+
* A single assignee as stored in a user-relation attribute. Written through
|
|
822
|
+
* verbatim by the assign-entity worker. Note this object encoding differs
|
|
823
|
+
* deliberately from AssignThreadConfig, which stores bare id strings —
|
|
824
|
+
* each matches what its own target accepts.
|
|
825
|
+
*
|
|
826
|
+
*/
|
|
827
|
+
EntityAssignee[];
|
|
828
|
+
/**
|
|
829
|
+
* How `assignees` combine with the attribute's current value.
|
|
830
|
+
* - replace: overwrite the attribute with `assignees` (default).
|
|
831
|
+
* - append: union with the existing assignees, de-duplicated, existing
|
|
832
|
+
* entries first. Two assignees are duplicates when their `type` and
|
|
833
|
+
* `org_id` both match and the identifier for that type matches:
|
|
834
|
+
* `user_id` for user and partner_user, `group_id` for group,
|
|
835
|
+
* `partner_id` for partner_organization. Scoping by `org_id` keeps
|
|
836
|
+
* assignees from different organizations distinct even when their
|
|
837
|
+
* identifiers coincide.
|
|
838
|
+
*
|
|
839
|
+
*/
|
|
840
|
+
write_mode?: "replace" | "append";
|
|
841
|
+
/**
|
|
842
|
+
* How assignees are resolved.
|
|
843
|
+
* - direct: assign exactly the assignees listed (default, and the only
|
|
844
|
+
* accepted value).
|
|
845
|
+
* Reserved for a future routing strategy; widening this enum later is
|
|
846
|
+
* backwards compatible and needs no migration of existing flows.
|
|
847
|
+
*
|
|
848
|
+
*/
|
|
849
|
+
assignment_type?: "direct";
|
|
850
|
+
/**
|
|
851
|
+
* Which entity to assign to. Omit for the triggering entity (the
|
|
852
|
+
* default, and the behaviour of every flow saved before this field
|
|
853
|
+
* existed).
|
|
854
|
+
* - trigger: the entity that started the flow.
|
|
855
|
+
* - action: the entity produced by an earlier action, identified by
|
|
856
|
+
* that action's `flow_action_id`.
|
|
857
|
+
*
|
|
858
|
+
*/
|
|
859
|
+
source?: {
|
|
860
|
+
/**
|
|
861
|
+
* The producing action's `flow_action_id` when origin is `action`, or the trigger id when origin is `trigger`. Note this is `flow_action_id` (stable across executions), not `id`.
|
|
862
|
+
*
|
|
863
|
+
*/
|
|
864
|
+
id?: string;
|
|
865
|
+
origin?: "trigger" | "action";
|
|
866
|
+
/**
|
|
867
|
+
* Entity schema recorded when the source was chosen, for display. The worker uses the schema on the resolved entity itself, since this value goes stale if the producing action's target changes.
|
|
868
|
+
*
|
|
869
|
+
*/
|
|
870
|
+
schema?: string;
|
|
871
|
+
};
|
|
872
|
+
}
|
|
643
873
|
export interface AssignThreadAction {
|
|
644
874
|
id?: /**
|
|
645
875
|
* example:
|
|
@@ -735,6 +965,17 @@ declare namespace Components {
|
|
|
735
965
|
*
|
|
736
966
|
*/
|
|
737
967
|
only_available_users?: boolean;
|
|
968
|
+
/**
|
|
969
|
+
* Sub-option of only_available_users: when a day off (weekend / whole
|
|
970
|
+
* day off with a known return) is what empties the candidate pool, hold
|
|
971
|
+
* the thread and retry when the soonest candidate is back — bounded to
|
|
972
|
+
* 7 retries over 7 days — before applying the fallback. Defaults to
|
|
973
|
+
* true; set false to skip the hold and fall straight through to the
|
|
974
|
+
* fallback. Out-of-office / vacation and non-availability reasons never
|
|
975
|
+
* hold regardless.
|
|
976
|
+
*
|
|
977
|
+
*/
|
|
978
|
+
hold_until_available?: boolean;
|
|
738
979
|
/**
|
|
739
980
|
* Candidate condition for even_distribution: when true, only assign to
|
|
740
981
|
* users whose skills (tags) match a label on the message. Opt-in;
|
|
@@ -1904,6 +2145,43 @@ declare namespace Components {
|
|
|
1904
2145
|
export type DiffAdded = FilterConditionOnEvent;
|
|
1905
2146
|
export type DiffDeleted = FilterConditionOnEvent;
|
|
1906
2147
|
export type DiffUpdated = FilterConditionOnEvent;
|
|
2148
|
+
/**
|
|
2149
|
+
* A single assignee as stored in a user-relation attribute. Written through
|
|
2150
|
+
* verbatim by the assign-entity worker. Note this object encoding differs
|
|
2151
|
+
* deliberately from AssignThreadConfig, which stores bare id strings —
|
|
2152
|
+
* each matches what its own target accepts.
|
|
2153
|
+
*
|
|
2154
|
+
*/
|
|
2155
|
+
export interface EntityAssignee {
|
|
2156
|
+
/**
|
|
2157
|
+
* Which kind of principal this assignee is. Required: it selects which
|
|
2158
|
+
* of the identifier properties below applies, and forms part of the
|
|
2159
|
+
* append-mode de-duplication key.
|
|
2160
|
+
*
|
|
2161
|
+
*/
|
|
2162
|
+
type: "user" | "partner_user" | "partner_organization" | "group";
|
|
2163
|
+
/**
|
|
2164
|
+
* Set for user and partner_user assignees.
|
|
2165
|
+
*/
|
|
2166
|
+
user_id?: string;
|
|
2167
|
+
/**
|
|
2168
|
+
* Set for group assignees.
|
|
2169
|
+
*/
|
|
2170
|
+
group_id?: string;
|
|
2171
|
+
/**
|
|
2172
|
+
* Organization the assignee belongs to.
|
|
2173
|
+
*/
|
|
2174
|
+
org_id?: string;
|
|
2175
|
+
/**
|
|
2176
|
+
* Set for partner_user and partner_organization assignees.
|
|
2177
|
+
*/
|
|
2178
|
+
partner_id?: string;
|
|
2179
|
+
/**
|
|
2180
|
+
* Label snapshotted at configuration time; may go stale after a rename.
|
|
2181
|
+
*/
|
|
2182
|
+
display_name?: string;
|
|
2183
|
+
email?: string;
|
|
2184
|
+
}
|
|
1907
2185
|
/**
|
|
1908
2186
|
* example:
|
|
1909
2187
|
* e3d3ebac-baab-4395-abf4-50b5bf1f8b74
|
|
@@ -3180,6 +3458,11 @@ declare namespace Components {
|
|
|
3180
3458
|
* Schema of target entity
|
|
3181
3459
|
*/
|
|
3182
3460
|
target_schema: string;
|
|
3461
|
+
/**
|
|
3462
|
+
* Resolve this action's target (contact/account) via the organization's global uniqueness criteria instead of per-action identifiers (target_unique / Unique switches). Forwarded to entity mapping by automation-workers.
|
|
3463
|
+
*
|
|
3464
|
+
*/
|
|
3465
|
+
use_uniqueness_criteria?: boolean;
|
|
3183
3466
|
/**
|
|
3184
3467
|
* Unique key for target entity (see upsertEntity of Entity API)
|
|
3185
3468
|
*/
|
|
@@ -4728,6 +5011,11 @@ declare namespace Components {
|
|
|
4728
5011
|
workflow_exec_task_id?: string;
|
|
4729
5012
|
workflow_role: /* The role this automation plays in the workflow. */ WorkflowContextRole;
|
|
4730
5013
|
_execution_chain?: /* [Internal] Tracks execution chain for infinite loop prevention. This is an internal property and should not be used by external consumers. */ ExecutionChain;
|
|
5014
|
+
/**
|
|
5015
|
+
* [Internal] Ordered automation flow ids that led to the parent flow being started. The started execution appends its own flow id, so entity writes it performs carry the full chain and a loop running through a workflow can be detected. This is an internal property and should not be used by external consumers.
|
|
5016
|
+
*
|
|
5017
|
+
*/
|
|
5018
|
+
_automation_chain?: string[];
|
|
4731
5019
|
/**
|
|
4732
5020
|
* Additional entity contexts from the parent flow execution. Used when an automation is triggered from a workflow task to carry all flow contexts into the automation, not just the primary entity.
|
|
4733
5021
|
*
|
|
@@ -5609,6 +5897,9 @@ type AnythingButCondition = Components.Schemas.AnythingButCondition;
|
|
|
5609
5897
|
type ApiCallerContext = Components.Schemas.ApiCallerContext;
|
|
5610
5898
|
type ApiSubmissionTrigger = Components.Schemas.ApiSubmissionTrigger;
|
|
5611
5899
|
type AppendValueMapper = Components.Schemas.AppendValueMapper;
|
|
5900
|
+
type AssignEntityAction = Components.Schemas.AssignEntityAction;
|
|
5901
|
+
type AssignEntityActionConfig = Components.Schemas.AssignEntityActionConfig;
|
|
5902
|
+
type AssignEntityConfig = Components.Schemas.AssignEntityConfig;
|
|
5612
5903
|
type AssignThreadAction = Components.Schemas.AssignThreadAction;
|
|
5613
5904
|
type AssignThreadConfig = Components.Schemas.AssignThreadConfig;
|
|
5614
5905
|
type AssignUsersToStep = Components.Schemas.AssignUsersToStep;
|
|
@@ -5640,6 +5931,7 @@ type CustomAction = Components.Schemas.CustomAction;
|
|
|
5640
5931
|
type DiffAdded = Components.Schemas.DiffAdded;
|
|
5641
5932
|
type DiffDeleted = Components.Schemas.DiffDeleted;
|
|
5642
5933
|
type DiffUpdated = Components.Schemas.DiffUpdated;
|
|
5934
|
+
type EntityAssignee = Components.Schemas.EntityAssignee;
|
|
5643
5935
|
type EntityId = Components.Schemas.EntityId;
|
|
5644
5936
|
type EntityItemSnapshot = Components.Schemas.EntityItemSnapshot;
|
|
5645
5937
|
type EntityManualTrigger = Components.Schemas.EntityManualTrigger;
|
|
@@ -5735,4 +6027,4 @@ type WildcardCondition = Components.Schemas.WildcardCondition;
|
|
|
5735
6027
|
type WorkflowContextRole = Components.Schemas.WorkflowContextRole;
|
|
5736
6028
|
type WorkflowExecutionContext = Components.Schemas.WorkflowExecutionContext;
|
|
5737
6029
|
|
|
5738
|
-
export { type
|
|
6030
|
+
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 SendEmailActionConfig 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 MappingConfigRef as aA, type MoveThreadAction as aB, type MoveThreadConfig as aC, type NewEmailThreadTrigger as aD, type NumericCondition as aE, type OperationNode as aF, type OperationObjectNode as aG, type OrCondition as aH, type OrConditionForDiff as aI, type OrganizationId as aJ, type PatchBulkJobRequest as aK, type PrefixCondition as aL, type PrimitiveJSONValue as aM, type ReceivedEmailTrigger as aN, type RelationAttribute as aO, type ReplyEmailAction as aP, type ReplyEmailActionConfig as aQ, type ReplyEmailConfig as aR, type ResumeReq as aS, type ResumeResp as aT, type ResumeToken as aU, type RetryReq as aV, type RetryStrategy as aW, type SearchAutomationsResp as aX, type SearchExecutionsReq as aY, type SearchExecutionsResp as aZ, type SendEmailAction 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 InformERPAction as ap, type InformERPActionConfig as aq, type InformERPConfig as ar, type JobId as as, type JourneySubmitTrigger as at, type MapEntityAction as au, type MapEntityActionConfig as av, type MapEntityConfig as aw, type MappingAttribute as ax, type MappingAttributeMode as ay, type MappingAttributeV2 as az, type PathsDictionary as b, type SendEmailCondition as b0, type SendEmailConfig as b1, type SetValueMapper as b2, type StartExecutionRequest as b3, type SuffixCondition as b4, type TriggerCondition as b5, type TriggerContext as b6, type TriggerEventAction as b7, type TriggerEventActionConfig as b8, type TriggerEventConfig as b9, type TriggerEventEntityActivity as ba, type TriggerEventEntityOperation as bb, type TriggerEventFlowAutomationTask as bc, type TriggerEventManual as bd, type TriggerEventMessaging as be, type TriggerShareEntityAction as bf, type TriggerShareEntityActionConfig as bg, type TriggerShareEntityConfig as bh, type TriggerWebhookAction as bi, type TriggerWebhookActionConfig as bj, type TriggerWebhookConfig as bk, type TriggerWorkflowAction as bl, type TriggerWorkflowActionConfig as bm, type TriggerWorkflowCondition as bn, type TriggerWorkflowConfig as bo, type WildcardCondition as bp, type WorkflowContextRole as bq, type WorkflowExecutionContext as br, 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 };
|