@wix/automations 1.0.14 → 1.0.16

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/automations",
3
- "version": "1.0.14",
3
+ "version": "1.0.16",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -18,9 +18,9 @@
18
18
  "type-bundles"
19
19
  ],
20
20
  "dependencies": {
21
- "@wix/automations_activations": "1.0.10",
22
- "@wix/automations_automations-service": "1.0.5",
23
- "@wix/automations_automations-service-v-2": "1.0.2"
21
+ "@wix/automations_activations": "1.0.12",
22
+ "@wix/automations_automations-service": "1.0.6",
23
+ "@wix/automations_automations-service-v-2": "1.0.4"
24
24
  },
25
25
  "devDependencies": {
26
26
  "glob": "^10.4.1",
@@ -30,7 +30,7 @@
30
30
  },
31
31
  "scripts": {
32
32
  "build": "tsc -b tsconfig.json tsconfig.esm.json && npm run build:dts-bundles",
33
- "build:dts-bundles": "test -f config/rollup-config.js && rollup --config config/rollup-config.js || echo 'Warning: config/rollup-config.js not found!'",
33
+ "build:dts-bundles": "test -f config/rollup-config.js && NODE_OPTIONS=--max-old-space-size=8192 rollup --config config/rollup-config.js || echo 'Warning: config/rollup-config.js not found!'",
34
34
  "test": ":"
35
35
  },
36
36
  "wix": {
@@ -44,5 +44,5 @@
44
44
  "fqdn": ""
45
45
  }
46
46
  },
47
- "falconPackageHash": "e58a7379bece3bc6884f64557b7ec0daae5e12e2c9f30fa2af5ad96a"
47
+ "falconPackageHash": "2a7ad65fd5215e887270edcea46d583ecc06a1841305284044570913"
48
48
  }
@@ -1735,6 +1735,8 @@ interface Automation$1 extends AutomationOriginInfoOneOf$1 {
1735
1735
  applicationInfo?: ApplicationOrigin$1;
1736
1736
  /** Preinstalled info */
1737
1737
  preinstalledInfo?: PreinstalledOrigin$1;
1738
+ /** Draft info */
1739
+ draftInfo?: DraftOrigin$1;
1738
1740
  /**
1739
1741
  * Automation ID.
1740
1742
  * @readonly
@@ -1786,6 +1788,8 @@ interface AutomationOriginInfoOneOf$1 {
1786
1788
  applicationInfo?: ApplicationOrigin$1;
1787
1789
  /** Preinstalled info */
1788
1790
  preinstalledInfo?: PreinstalledOrigin$1;
1791
+ /** Draft info */
1792
+ draftInfo?: DraftOrigin$1;
1789
1793
  }
1790
1794
  interface ActionSettings$1 {
1791
1795
  /** list of permanent action ids of actions that cannot be deleted (default - empty, all actions are deletable by default) */
@@ -1867,6 +1871,7 @@ interface RateLimit$1 {
1867
1871
  /**
1868
1872
  * Unique identifier of each activation by which rate limiter will count activations, expected return type is string
1869
1873
  * for example - {{ var(contact.id) }} to set the unique identifier as the value of "contact.id" from the payload
1874
+ * evaluated expression must be under 46 characters
1870
1875
  */
1871
1876
  uniqueIdentifierExpression?: string | null;
1872
1877
  }
@@ -2004,6 +2009,7 @@ interface Trigger$1 {
2004
2009
  scheduledEventOffset?: FutureDateActivationOffset$1;
2005
2010
  /** optional - rate limiting configuration */
2006
2011
  rateLimit?: RateLimit$1;
2012
+ automationConfigMapping?: Record<string, any> | null;
2007
2013
  }
2008
2014
  interface AutomationConfigurationAction extends AutomationConfigurationActionInfoOneOf {
2009
2015
  /** App defined Action (via RPC, HTTP or Velo) */
@@ -2082,7 +2088,9 @@ declare enum Origin$1 {
2082
2088
  /** automation created by application (site specific) */
2083
2089
  APPLICATION = "APPLICATION",
2084
2090
  /** preinstalled application automation */
2085
- PREINSTALLED = "PREINSTALLED"
2091
+ PREINSTALLED = "PREINSTALLED",
2092
+ /** draft automation */
2093
+ DRAFT = "DRAFT"
2086
2094
  }
2087
2095
  interface ApplicationOrigin$1 {
2088
2096
  /** identifier for the application */
@@ -2101,6 +2109,10 @@ interface PreinstalledOrigin$1 {
2101
2109
  */
2102
2110
  override?: boolean | null;
2103
2111
  }
2112
+ interface DraftOrigin$1 {
2113
+ /** id of the automation that this draft belongs to, if it exists */
2114
+ parentId?: string | null;
2115
+ }
2104
2116
  interface AutomationSettings$1 {
2105
2117
  /** sets if the automation is hidden from users */
2106
2118
  hidden?: boolean;
@@ -3439,7 +3451,7 @@ declare const context$1_cancelEvent: typeof cancelEvent;
3439
3451
  declare const context$1_onActivationStatusChanged: typeof onActivationStatusChanged;
3440
3452
  declare const context$1_reportEvent: typeof reportEvent;
3441
3453
  declare namespace context$1 {
3442
- export { type Action$1 as Action, type context$1_ActionActionOneOf as ActionActionOneOf, type context$1_ActionCompletedRequest as ActionCompletedRequest, type context$1_ActionData as ActionData, type ActionEvent$1 as ActionEvent, type ActionSettings$1 as ActionSettings, type context$1_ActionStatus as ActionStatus, type context$1_ActionsData as ActionsData, type context$1_Activation as Activation, type context$1_ActivationActionStatusChanged as ActivationActionStatusChanged, context$1_ActivationActionStatusChangedStatus as ActivationActionStatusChangedStatus, type context$1_ActivationActionStatusChangedStatusInfoOneOf as ActivationActionStatusChangedStatusInfoOneOf, type context$1_ActivationContinuedAfterSchedule as ActivationContinuedAfterSchedule, type context$1_ActivationRequest as ActivationRequest, type context$1_ActivationResumeAfterDelay as ActivationResumeAfterDelay, type context$1_ActivationScheduleCompleted as ActivationScheduleCompleted, type context$1_ActivationScheduleRequested as ActivationScheduleRequested, type context$1_ActivationSource as ActivationSource, type context$1_ActivationSourceOfOneOf as ActivationSourceOfOneOf, type context$1_ActivationStatus as ActivationStatus, type context$1_ActivationStatusChanged as ActivationStatusChanged, type context$1_ActivationStatusChangedEnvelope as ActivationStatusChangedEnvelope, type context$1_ActivationStatusChangedFailedStatusInfo as ActivationStatusChangedFailedStatusInfo, context$1_ActivationStatusChangedStatus as ActivationStatusChangedStatus, type context$1_ActivationStatusChangedStatusInfoOneOf as ActivationStatusChangedStatusInfoOneOf, type AppDefinedAction$1 as AppDefinedAction, type context$1_AppDefinedActionInfo as AppDefinedActionInfo, type ApplicationError$1 as ApplicationError, type ApplicationOrigin$1 as ApplicationOrigin, type context$1_AsyncAction as AsyncAction, type AuditInfo$1 as AuditInfo, type AuditInfoIdOneOf$1 as AuditInfoIdOneOf, type Automation$1 as Automation, type AutomationConfiguration$1 as AutomationConfiguration, type context$1_AutomationConfigurationAction as AutomationConfigurationAction, type context$1_AutomationConfigurationActionInfoOneOf as AutomationConfigurationActionInfoOneOf, context$1_AutomationConfigurationStatus as AutomationConfigurationStatus, type context$1_AutomationIdentifier as AutomationIdentifier, type context$1_AutomationInfo as AutomationInfo, type context$1_AutomationInfoOriginInfoOneOf as AutomationInfoOriginInfoOneOf, type AutomationOriginInfoOneOf$1 as AutomationOriginInfoOneOf, type AutomationSettings$1 as AutomationSettings, type BaseEventMetadata$1 as BaseEventMetadata, type context$1_BatchActivationRequest as BatchActivationRequest, context$1_BlockType as BlockType, type BulkActionMetadata$1 as BulkActionMetadata, type context$1_BulkCancelEventRequest as BulkCancelEventRequest, type context$1_BulkCancelEventResponse as BulkCancelEventResponse, type context$1_BulkCancelEventResponseNonNullableFields as BulkCancelEventResponseNonNullableFields, type context$1_BulkCancelEventResult as BulkCancelEventResult, type context$1_BulkReportEventRequest as BulkReportEventRequest, type context$1_BulkReportEventResponse as BulkReportEventResponse, type context$1_BulkReportEventResponseNonNullableFields as BulkReportEventResponseNonNullableFields, type context$1_BulkReportEventResult as BulkReportEventResult, type context$1_CancelEventRequest as CancelEventRequest, type context$1_CancelEventResponse as CancelEventResponse, type context$1_CancelPendingScheduleRequest as CancelPendingScheduleRequest, type context$1_CancelPendingScheduleRequestByOneOf as CancelPendingScheduleRequestByOneOf, type context$1_CancelPendingScheduleResponse as CancelPendingScheduleResponse, context$1_CancellationReason as CancellationReason, type context$1_CancelledStatusInfo as CancelledStatusInfo, type context$1_Case as Case, type ConditionAction$1 as ConditionAction, type context$1_ConditionActionInfo as ConditionActionInfo, type context$1_ConditionBlock as ConditionBlock, type ConditionExpressionGroup$1 as ConditionExpressionGroup, type context$1_ConditionFilter as ConditionFilter, type context$1_Delay as Delay, type DelayAction$1 as DelayAction, type context$1_DelayActionInfo as DelayActionInfo, type context$1_DelayHelper as DelayHelper, type context$1_DelayOfOneOf as DelayOfOneOf, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type Empty$1 as Empty, type context$1_EndedStatusInfo as EndedStatusInfo, type context$1_EndedStatusInfoTypeInfoOneOf as EndedStatusInfoTypeInfoOneOf, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type context$1_EventInfo as EventInfo, type EventMetadata$1 as EventMetadata, type context$1_ExecuteFromActionRequest as ExecuteFromActionRequest, type context$1_ExecuteFromActionResponse as ExecuteFromActionResponse, type context$1_ExpressionEvaluationResult as ExpressionEvaluationResult, type context$1_FailedStatusInfo as FailedStatusInfo, type context$1_File as File, type Filter$1 as Filter, type FutureDateActivationOffset$1 as FutureDateActivationOffset, type context$1_Idempotency as Idempotency, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, context$1_IdentifierType as IdentifierType, type context$1_Identity as Identity, type context$1_IfFilter as IfFilter, type context$1_InitiatedStatusInfo as InitiatedStatusInfo, type context$1_InternalTarget as InternalTarget, type ItemMetadata$1 as ItemMetadata, type MessageEnvelope$1 as MessageEnvelope, Operator$1 as Operator, Origin$1 as Origin, type context$1_Output as Output, type OutputAction$1 as OutputAction, type context$1_PreinstalledIdentifier as PreinstalledIdentifier, type PreinstalledOrigin$1 as PreinstalledOrigin, type RateLimit$1 as RateLimit, type RateLimitAction$1 as RateLimitAction, type context$1_RateLimitActionInfo as RateLimitActionInfo, type context$1_RateLimiting as RateLimiting, type context$1_RefreshPayloadRequest as RefreshPayloadRequest, type context$1_RefreshPayloadResponse as RefreshPayloadResponse, type context$1_ReportDomainEventRequest as ReportDomainEventRequest, type context$1_ReportDomainEventResponse as ReportDomainEventResponse, type context$1_ReportEventOptions as ReportEventOptions, type context$1_ReportEventRequest as ReportEventRequest, type context$1_ReportEventResponse as ReportEventResponse, type context$1_ReportEventResponseNonNullableFields as ReportEventResponseNonNullableFields, type RestoreInfo$1 as RestoreInfo, type context$1_RunAutomationRequest as RunAutomationRequest, type context$1_RunAutomationResponse as RunAutomationResponse, type context$1_Runtime as Runtime, type context$1_Schedule as Schedule, type context$1_ScheduleRequest as ScheduleRequest, type context$1_ScheduleResponse as ScheduleResponse, context$1_ScheduleStatus as ScheduleStatus, type context$1_ScheduledAction as ScheduledAction, type context$1_ScheduledStatusInfo as ScheduledStatusInfo, type context$1_Scheduler as Scheduler, type context$1_Service as Service, type context$1_ServiceMapping as ServiceMapping, type context$1_SimpleDelay as SimpleDelay, type context$1_SpiAction as SpiAction, type context$1_StartedStatusInfo as StartedStatusInfo, type context$1_StartedStatusInfoAppDefinedActionInfo as StartedStatusInfoAppDefinedActionInfo, type context$1_StartedStatusInfoTypeInfoOneOf as StartedStatusInfoTypeInfoOneOf, Status$1 as Status, type context$1_SwitchFilter as SwitchFilter, type context$1_SystemHelper as SystemHelper, type context$1_SystemHelperHelperOneOf as SystemHelperHelperOneOf, context$1_Target as Target, context$1_TargetType as TargetType, TimeUnit$1 as TimeUnit, type Trigger$1 as Trigger, type context$1_TriggerInfo as TriggerInfo, Type$1 as Type, context$1_Units as Units, type context$1_UnprocessedTargetEvent as UnprocessedTargetEvent, type context$1_UpdatePendingSchedulesPayloadRequest as UpdatePendingSchedulesPayloadRequest, type context$1_UpdatePendingSchedulesPayloadResponse as UpdatePendingSchedulesPayloadResponse, type context$1_V1RunAutomationRequest as V1RunAutomationRequest, type context$1_V1RunAutomationRequestIdentifierOneOf as V1RunAutomationRequestIdentifierOneOf, type context$1_V1RunAutomationResponse as V1RunAutomationResponse, WebhookIdentityType$1 as WebhookIdentityType, context$1_bulkCancelEvent as bulkCancelEvent, context$1_bulkReportEvent as bulkReportEvent, context$1_cancelEvent as cancelEvent, context$1_onActivationStatusChanged as onActivationStatusChanged, context$1_reportEvent as reportEvent };
3454
+ export { type Action$1 as Action, type context$1_ActionActionOneOf as ActionActionOneOf, type context$1_ActionCompletedRequest as ActionCompletedRequest, type context$1_ActionData as ActionData, type ActionEvent$1 as ActionEvent, type ActionSettings$1 as ActionSettings, type context$1_ActionStatus as ActionStatus, type context$1_ActionsData as ActionsData, type context$1_Activation as Activation, type context$1_ActivationActionStatusChanged as ActivationActionStatusChanged, context$1_ActivationActionStatusChangedStatus as ActivationActionStatusChangedStatus, type context$1_ActivationActionStatusChangedStatusInfoOneOf as ActivationActionStatusChangedStatusInfoOneOf, type context$1_ActivationContinuedAfterSchedule as ActivationContinuedAfterSchedule, type context$1_ActivationRequest as ActivationRequest, type context$1_ActivationResumeAfterDelay as ActivationResumeAfterDelay, type context$1_ActivationScheduleCompleted as ActivationScheduleCompleted, type context$1_ActivationScheduleRequested as ActivationScheduleRequested, type context$1_ActivationSource as ActivationSource, type context$1_ActivationSourceOfOneOf as ActivationSourceOfOneOf, type context$1_ActivationStatus as ActivationStatus, type context$1_ActivationStatusChanged as ActivationStatusChanged, type context$1_ActivationStatusChangedEnvelope as ActivationStatusChangedEnvelope, type context$1_ActivationStatusChangedFailedStatusInfo as ActivationStatusChangedFailedStatusInfo, context$1_ActivationStatusChangedStatus as ActivationStatusChangedStatus, type context$1_ActivationStatusChangedStatusInfoOneOf as ActivationStatusChangedStatusInfoOneOf, type AppDefinedAction$1 as AppDefinedAction, type context$1_AppDefinedActionInfo as AppDefinedActionInfo, type ApplicationError$1 as ApplicationError, type ApplicationOrigin$1 as ApplicationOrigin, type context$1_AsyncAction as AsyncAction, type AuditInfo$1 as AuditInfo, type AuditInfoIdOneOf$1 as AuditInfoIdOneOf, type Automation$1 as Automation, type AutomationConfiguration$1 as AutomationConfiguration, type context$1_AutomationConfigurationAction as AutomationConfigurationAction, type context$1_AutomationConfigurationActionInfoOneOf as AutomationConfigurationActionInfoOneOf, context$1_AutomationConfigurationStatus as AutomationConfigurationStatus, type context$1_AutomationIdentifier as AutomationIdentifier, type context$1_AutomationInfo as AutomationInfo, type context$1_AutomationInfoOriginInfoOneOf as AutomationInfoOriginInfoOneOf, type AutomationOriginInfoOneOf$1 as AutomationOriginInfoOneOf, type AutomationSettings$1 as AutomationSettings, type BaseEventMetadata$1 as BaseEventMetadata, type context$1_BatchActivationRequest as BatchActivationRequest, context$1_BlockType as BlockType, type BulkActionMetadata$1 as BulkActionMetadata, type context$1_BulkCancelEventRequest as BulkCancelEventRequest, type context$1_BulkCancelEventResponse as BulkCancelEventResponse, type context$1_BulkCancelEventResponseNonNullableFields as BulkCancelEventResponseNonNullableFields, type context$1_BulkCancelEventResult as BulkCancelEventResult, type context$1_BulkReportEventRequest as BulkReportEventRequest, type context$1_BulkReportEventResponse as BulkReportEventResponse, type context$1_BulkReportEventResponseNonNullableFields as BulkReportEventResponseNonNullableFields, type context$1_BulkReportEventResult as BulkReportEventResult, type context$1_CancelEventRequest as CancelEventRequest, type context$1_CancelEventResponse as CancelEventResponse, type context$1_CancelPendingScheduleRequest as CancelPendingScheduleRequest, type context$1_CancelPendingScheduleRequestByOneOf as CancelPendingScheduleRequestByOneOf, type context$1_CancelPendingScheduleResponse as CancelPendingScheduleResponse, context$1_CancellationReason as CancellationReason, type context$1_CancelledStatusInfo as CancelledStatusInfo, type context$1_Case as Case, type ConditionAction$1 as ConditionAction, type context$1_ConditionActionInfo as ConditionActionInfo, type context$1_ConditionBlock as ConditionBlock, type ConditionExpressionGroup$1 as ConditionExpressionGroup, type context$1_ConditionFilter as ConditionFilter, type context$1_Delay as Delay, type DelayAction$1 as DelayAction, type context$1_DelayActionInfo as DelayActionInfo, type context$1_DelayHelper as DelayHelper, type context$1_DelayOfOneOf as DelayOfOneOf, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type DraftOrigin$1 as DraftOrigin, type Empty$1 as Empty, type context$1_EndedStatusInfo as EndedStatusInfo, type context$1_EndedStatusInfoTypeInfoOneOf as EndedStatusInfoTypeInfoOneOf, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type context$1_EventInfo as EventInfo, type EventMetadata$1 as EventMetadata, type context$1_ExecuteFromActionRequest as ExecuteFromActionRequest, type context$1_ExecuteFromActionResponse as ExecuteFromActionResponse, type context$1_ExpressionEvaluationResult as ExpressionEvaluationResult, type context$1_FailedStatusInfo as FailedStatusInfo, type context$1_File as File, type Filter$1 as Filter, type FutureDateActivationOffset$1 as FutureDateActivationOffset, type context$1_Idempotency as Idempotency, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, context$1_IdentifierType as IdentifierType, type context$1_Identity as Identity, type context$1_IfFilter as IfFilter, type context$1_InitiatedStatusInfo as InitiatedStatusInfo, type context$1_InternalTarget as InternalTarget, type ItemMetadata$1 as ItemMetadata, type MessageEnvelope$1 as MessageEnvelope, Operator$1 as Operator, Origin$1 as Origin, type context$1_Output as Output, type OutputAction$1 as OutputAction, type context$1_PreinstalledIdentifier as PreinstalledIdentifier, type PreinstalledOrigin$1 as PreinstalledOrigin, type RateLimit$1 as RateLimit, type RateLimitAction$1 as RateLimitAction, type context$1_RateLimitActionInfo as RateLimitActionInfo, type context$1_RateLimiting as RateLimiting, type context$1_RefreshPayloadRequest as RefreshPayloadRequest, type context$1_RefreshPayloadResponse as RefreshPayloadResponse, type context$1_ReportDomainEventRequest as ReportDomainEventRequest, type context$1_ReportDomainEventResponse as ReportDomainEventResponse, type context$1_ReportEventOptions as ReportEventOptions, type context$1_ReportEventRequest as ReportEventRequest, type context$1_ReportEventResponse as ReportEventResponse, type context$1_ReportEventResponseNonNullableFields as ReportEventResponseNonNullableFields, type RestoreInfo$1 as RestoreInfo, type context$1_RunAutomationRequest as RunAutomationRequest, type context$1_RunAutomationResponse as RunAutomationResponse, type context$1_Runtime as Runtime, type context$1_Schedule as Schedule, type context$1_ScheduleRequest as ScheduleRequest, type context$1_ScheduleResponse as ScheduleResponse, context$1_ScheduleStatus as ScheduleStatus, type context$1_ScheduledAction as ScheduledAction, type context$1_ScheduledStatusInfo as ScheduledStatusInfo, type context$1_Scheduler as Scheduler, type context$1_Service as Service, type context$1_ServiceMapping as ServiceMapping, type context$1_SimpleDelay as SimpleDelay, type context$1_SpiAction as SpiAction, type context$1_StartedStatusInfo as StartedStatusInfo, type context$1_StartedStatusInfoAppDefinedActionInfo as StartedStatusInfoAppDefinedActionInfo, type context$1_StartedStatusInfoTypeInfoOneOf as StartedStatusInfoTypeInfoOneOf, Status$1 as Status, type context$1_SwitchFilter as SwitchFilter, type context$1_SystemHelper as SystemHelper, type context$1_SystemHelperHelperOneOf as SystemHelperHelperOneOf, context$1_Target as Target, context$1_TargetType as TargetType, TimeUnit$1 as TimeUnit, type Trigger$1 as Trigger, type context$1_TriggerInfo as TriggerInfo, Type$1 as Type, context$1_Units as Units, type context$1_UnprocessedTargetEvent as UnprocessedTargetEvent, type context$1_UpdatePendingSchedulesPayloadRequest as UpdatePendingSchedulesPayloadRequest, type context$1_UpdatePendingSchedulesPayloadResponse as UpdatePendingSchedulesPayloadResponse, type context$1_V1RunAutomationRequest as V1RunAutomationRequest, type context$1_V1RunAutomationRequestIdentifierOneOf as V1RunAutomationRequestIdentifierOneOf, type context$1_V1RunAutomationResponse as V1RunAutomationResponse, WebhookIdentityType$1 as WebhookIdentityType, context$1_bulkCancelEvent as bulkCancelEvent, context$1_bulkReportEvent as bulkReportEvent, context$1_cancelEvent as cancelEvent, context$1_onActivationStatusChanged as onActivationStatusChanged, context$1_reportEvent as reportEvent };
3443
3455
  }
3444
3456
 
3445
3457
  /** Automation */
@@ -3448,6 +3460,8 @@ interface Automation extends AutomationOriginInfoOneOf {
3448
3460
  applicationInfo?: ApplicationOrigin;
3449
3461
  /** Preinstalled info */
3450
3462
  preinstalledInfo?: PreinstalledOrigin;
3463
+ /** Draft info */
3464
+ draftInfo?: DraftOrigin;
3451
3465
  /**
3452
3466
  * Automation ID.
3453
3467
  * @readonly
@@ -3499,6 +3513,8 @@ interface AutomationOriginInfoOneOf {
3499
3513
  applicationInfo?: ApplicationOrigin;
3500
3514
  /** Preinstalled info */
3501
3515
  preinstalledInfo?: PreinstalledOrigin;
3516
+ /** Draft info */
3517
+ draftInfo?: DraftOrigin;
3502
3518
  }
3503
3519
  interface ActionSettings {
3504
3520
  /** list of permanent action ids of actions that cannot be deleted (default - empty, all actions are deletable by default) */
@@ -3580,6 +3596,7 @@ interface RateLimit {
3580
3596
  /**
3581
3597
  * Unique identifier of each activation by which rate limiter will count activations, expected return type is string
3582
3598
  * for example - {{ var(contact.id) }} to set the unique identifier as the value of "contact.id" from the payload
3599
+ * evaluated expression must be under 46 characters
3583
3600
  */
3584
3601
  uniqueIdentifierExpression?: string | null;
3585
3602
  }
@@ -3717,6 +3734,7 @@ interface Trigger {
3717
3734
  scheduledEventOffset?: FutureDateActivationOffset;
3718
3735
  /** optional - rate limiting configuration */
3719
3736
  rateLimit?: RateLimit;
3737
+ automationConfigMapping?: Record<string, any> | null;
3720
3738
  }
3721
3739
  interface Action extends ActionInfoOneOf {
3722
3740
  /** App defined Action (via RPC, HTTP or Velo) */
@@ -3795,7 +3813,9 @@ declare enum Origin {
3795
3813
  /** automation created by application (site specific) */
3796
3814
  APPLICATION = "APPLICATION",
3797
3815
  /** preinstalled application automation */
3798
- PREINSTALLED = "PREINSTALLED"
3816
+ PREINSTALLED = "PREINSTALLED",
3817
+ /** draft automation */
3818
+ DRAFT = "DRAFT"
3799
3819
  }
3800
3820
  interface ApplicationOrigin {
3801
3821
  /** identifier for the application */
@@ -3814,6 +3834,10 @@ interface PreinstalledOrigin {
3814
3834
  */
3815
3835
  override?: boolean | null;
3816
3836
  }
3837
+ interface DraftOrigin {
3838
+ /** id of the automation that this draft belongs to, if it exists */
3839
+ parentId?: string | null;
3840
+ }
3817
3841
  interface AutomationSettings {
3818
3842
  /** sets if the automation is hidden from users */
3819
3843
  hidden?: boolean;
@@ -4812,6 +4836,8 @@ interface UpdateAutomation {
4812
4836
  applicationInfo?: ApplicationOrigin;
4813
4837
  /** Preinstalled info */
4814
4838
  preinstalledInfo?: PreinstalledOrigin;
4839
+ /** Draft info */
4840
+ draftInfo?: DraftOrigin;
4815
4841
  /**
4816
4842
  * Automation ID.
4817
4843
  * @readonly
@@ -5004,6 +5030,7 @@ declare const context_DeleteStatus: typeof DeleteStatus;
5004
5030
  type context_DeletedWithEntity = DeletedWithEntity;
5005
5031
  type context_DomainEvent = DomainEvent;
5006
5032
  type context_DomainEventBodyOneOf = DomainEventBodyOneOf;
5033
+ type context_DraftOrigin = DraftOrigin;
5007
5034
  type context_Empty = Empty;
5008
5035
  type context_EntityCreatedEvent = EntityCreatedEvent;
5009
5036
  type context_EntityDeletedEvent = EntityDeletedEvent;
@@ -5109,7 +5136,7 @@ declare const context_queryAutomations: typeof queryAutomations;
5109
5136
  declare const context_updateAutomation: typeof updateAutomation;
5110
5137
  declare const context_validateAutomation: typeof validateAutomation;
5111
5138
  declare namespace context {
5112
- export { type context_Action as Action, type context_ActionConfigurationError as ActionConfigurationError, context_ActionErrorType as ActionErrorType, type context_ActionEvent as ActionEvent, type context_ActionInfoOneOf as ActionInfoOneOf, type context_ActionProviderQuotaInfo as ActionProviderQuotaInfo, type context_ActionQuotaInfo as ActionQuotaInfo, type context_ActionSettings as ActionSettings, type context_ActionValidationError as ActionValidationError, type context_ActionValidationErrorErrorOneOf as ActionValidationErrorErrorOneOf, type context_ActionValidationInfo as ActionValidationInfo, type context_AdditionalInfo as AdditionalInfo, type context_AppDefinedAction as AppDefinedAction, type context_ApplicationError as ApplicationError, type context_ApplicationOrigin as ApplicationOrigin, type context_Asset as Asset, type context_AuditInfo as AuditInfo, type context_AuditInfoIdOneOf as AuditInfoIdOneOf, type context_Automation as Automation, type context_AutomationConfiguration as AutomationConfiguration, type context_AutomationCreatedEnvelope as AutomationCreatedEnvelope, type context_AutomationDeletedEnvelope as AutomationDeletedEnvelope, type context_AutomationDeletedWithEntityEnvelope as AutomationDeletedWithEntityEnvelope, type context_AutomationNonNullableFields as AutomationNonNullableFields, type context_AutomationOriginInfoOneOf as AutomationOriginInfoOneOf, type context_AutomationSettings as AutomationSettings, type context_AutomationUpdatedEnvelope as AutomationUpdatedEnvelope, type context_AutomationUpdatedWithPreviousEntityEnvelope as AutomationUpdatedWithPreviousEntityEnvelope, type context_AutomationsQueryBuilder as AutomationsQueryBuilder, type context_AutomationsQueryResult as AutomationsQueryResult, type context_BaseEventMetadata as BaseEventMetadata, type context_BulkActionMetadata as BulkActionMetadata, type context_BulkDeleteAutomationsRequest as BulkDeleteAutomationsRequest, type context_BulkDeleteAutomationsResponse as BulkDeleteAutomationsResponse, type context_BulkDeleteAutomationsResponseNonNullableFields as BulkDeleteAutomationsResponseNonNullableFields, type context_BulkDeleteResult as BulkDeleteResult, type context_CTA as CTA, type context_ConditionAction as ConditionAction, type context_ConditionExpressionGroup as ConditionExpressionGroup, type context_CopyAutomationRequest as CopyAutomationRequest, type context_CopyAutomationResponse as CopyAutomationResponse, type context_CreateAutomationRequest as CreateAutomationRequest, type context_CreateAutomationResponse as CreateAutomationResponse, type context_CreateAutomationResponseNonNullableFields as CreateAutomationResponseNonNullableFields, type context_CreatePreinstalledAutomationRequest as CreatePreinstalledAutomationRequest, type context_CreatePreinstalledAutomationResponse as CreatePreinstalledAutomationResponse, type context_CursorPaging as CursorPaging, type context_CursorPagingMetadata as CursorPagingMetadata, type context_CursorQuery as CursorQuery, type context_CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOf, type context_Cursors as Cursors, type context_DelayAction as DelayAction, type context_DeleteAutomationRequest as DeleteAutomationRequest, type context_DeleteAutomationResponse as DeleteAutomationResponse, type context_DeleteContext as DeleteContext, type context_DeletePreinstalledAutomationRequest as DeletePreinstalledAutomationRequest, type context_DeletePreinstalledAutomationResponse as DeletePreinstalledAutomationResponse, context_DeleteStatus as DeleteStatus, type context_DeletedWithEntity as DeletedWithEntity, type context_DomainEvent as DomainEvent, type context_DomainEventBodyOneOf as DomainEventBodyOneOf, type context_Empty as Empty, type context_EntityCreatedEvent as EntityCreatedEvent, type context_EntityDeletedEvent as EntityDeletedEvent, type context_EntityUpdatedEvent as EntityUpdatedEvent, type context_EventMetadata as EventMetadata, type context_Filter as Filter, type context_FutureDateActivationOffset as FutureDateActivationOffset, type context_GetActionsQuotaInfoRequest as GetActionsQuotaInfoRequest, type context_GetActionsQuotaInfoResponse as GetActionsQuotaInfoResponse, type context_GetAutomationActionSchemaRequest as GetAutomationActionSchemaRequest, type context_GetAutomationActionSchemaResponse as GetAutomationActionSchemaResponse, type context_GetAutomationOptions as GetAutomationOptions, type context_GetAutomationRequest as GetAutomationRequest, type context_GetAutomationResponse as GetAutomationResponse, type context_GetAutomationResponseNonNullableFields as GetAutomationResponseNonNullableFields, type context_GetAutomationRevisionRequest as GetAutomationRevisionRequest, type context_GetAutomationRevisionResponse as GetAutomationRevisionResponse, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type context_ItemMetadata as ItemMetadata, type context_MessageEnvelope as MessageEnvelope, type context_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type context_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, context_Namespace as Namespace, type context_NamespaceChanged as NamespaceChanged, context_Operator as Operator, context_Origin as Origin, type context_OutputAction as OutputAction, type context_Plan as Plan, type context_PreinstalledOrigin as PreinstalledOrigin, type context_ProviderConfigurationError as ProviderConfigurationError, type context_QueryAutomationsRequest as QueryAutomationsRequest, type context_QueryAutomationsResponse as QueryAutomationsResponse, type context_QueryAutomationsResponseNonNullableFields as QueryAutomationsResponseNonNullableFields, type context_Quota as Quota, type context_QuotaInfo as QuotaInfo, type context_RateLimit as RateLimit, type context_RateLimitAction as RateLimitAction, type context_RestoreInfo as RestoreInfo, type context_ServiceProvisioned as ServiceProvisioned, type context_ServiceRemoved as ServiceRemoved, type context_SiteCreated as SiteCreated, context_SiteCreatedContext as SiteCreatedContext, type context_SiteDeleted as SiteDeleted, type context_SiteHardDeleted as SiteHardDeleted, type context_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type context_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type context_SitePublished as SitePublished, type context_SiteRenamed as SiteRenamed, type context_SiteTransferred as SiteTransferred, type context_SiteUndeleted as SiteUndeleted, type context_SiteUnpublished as SiteUnpublished, context_SortOrder as SortOrder, type context_Sorting as Sorting, context_State as State, context_Status as Status, type context_StudioAssigned as StudioAssigned, type context_StudioUnassigned as StudioUnassigned, context_TimeUnit as TimeUnit, type context_Trigger as Trigger, type context_TriggerConfigurationError as TriggerConfigurationError, context_TriggerErrorType as TriggerErrorType, type context_TriggerValidationError as TriggerValidationError, type context_TriggerValidationErrorErrorOneOf as TriggerValidationErrorErrorOneOf, context_TriggerValidationErrorValidationErrorType as TriggerValidationErrorValidationErrorType, context_Type as Type, type context_UpdateAutomation as UpdateAutomation, type context_UpdateAutomationRequest as UpdateAutomationRequest, type context_UpdateAutomationResponse as UpdateAutomationResponse, type context_UpdateAutomationResponseNonNullableFields as UpdateAutomationResponseNonNullableFields, type context_UpdatedWithPreviousEntity as UpdatedWithPreviousEntity, type context_UpgradeCTA as UpgradeCTA, type context_ValidateAutomationOptions as ValidateAutomationOptions, type context_ValidateAutomationRequest as ValidateAutomationRequest, type context_ValidateAutomationResponse as ValidateAutomationResponse, type context_ValidateAutomationResponseNonNullableFields as ValidateAutomationResponseNonNullableFields, context_ValidationErrorType as ValidationErrorType, type context_ValidationSettings as ValidationSettings, context_WebhookIdentityType as WebhookIdentityType, context_bulkDeleteAutomations as bulkDeleteAutomations, context_createAutomation as createAutomation, context_deleteAutomation as deleteAutomation, context_getAutomation as getAutomation, context_onAutomationCreated as onAutomationCreated, context_onAutomationDeleted as onAutomationDeleted, context_onAutomationDeletedWithEntity as onAutomationDeletedWithEntity, context_onAutomationUpdated as onAutomationUpdated, context_onAutomationUpdatedWithPreviousEntity as onAutomationUpdatedWithPreviousEntity, context_queryAutomations as queryAutomations, context_updateAutomation as updateAutomation, context_validateAutomation as validateAutomation };
5139
+ export { type context_Action as Action, type context_ActionConfigurationError as ActionConfigurationError, context_ActionErrorType as ActionErrorType, type context_ActionEvent as ActionEvent, type context_ActionInfoOneOf as ActionInfoOneOf, type context_ActionProviderQuotaInfo as ActionProviderQuotaInfo, type context_ActionQuotaInfo as ActionQuotaInfo, type context_ActionSettings as ActionSettings, type context_ActionValidationError as ActionValidationError, type context_ActionValidationErrorErrorOneOf as ActionValidationErrorErrorOneOf, type context_ActionValidationInfo as ActionValidationInfo, type context_AdditionalInfo as AdditionalInfo, type context_AppDefinedAction as AppDefinedAction, type context_ApplicationError as ApplicationError, type context_ApplicationOrigin as ApplicationOrigin, type context_Asset as Asset, type context_AuditInfo as AuditInfo, type context_AuditInfoIdOneOf as AuditInfoIdOneOf, type context_Automation as Automation, type context_AutomationConfiguration as AutomationConfiguration, type context_AutomationCreatedEnvelope as AutomationCreatedEnvelope, type context_AutomationDeletedEnvelope as AutomationDeletedEnvelope, type context_AutomationDeletedWithEntityEnvelope as AutomationDeletedWithEntityEnvelope, type context_AutomationNonNullableFields as AutomationNonNullableFields, type context_AutomationOriginInfoOneOf as AutomationOriginInfoOneOf, type context_AutomationSettings as AutomationSettings, type context_AutomationUpdatedEnvelope as AutomationUpdatedEnvelope, type context_AutomationUpdatedWithPreviousEntityEnvelope as AutomationUpdatedWithPreviousEntityEnvelope, type context_AutomationsQueryBuilder as AutomationsQueryBuilder, type context_AutomationsQueryResult as AutomationsQueryResult, type context_BaseEventMetadata as BaseEventMetadata, type context_BulkActionMetadata as BulkActionMetadata, type context_BulkDeleteAutomationsRequest as BulkDeleteAutomationsRequest, type context_BulkDeleteAutomationsResponse as BulkDeleteAutomationsResponse, type context_BulkDeleteAutomationsResponseNonNullableFields as BulkDeleteAutomationsResponseNonNullableFields, type context_BulkDeleteResult as BulkDeleteResult, type context_CTA as CTA, type context_ConditionAction as ConditionAction, type context_ConditionExpressionGroup as ConditionExpressionGroup, type context_CopyAutomationRequest as CopyAutomationRequest, type context_CopyAutomationResponse as CopyAutomationResponse, type context_CreateAutomationRequest as CreateAutomationRequest, type context_CreateAutomationResponse as CreateAutomationResponse, type context_CreateAutomationResponseNonNullableFields as CreateAutomationResponseNonNullableFields, type context_CreatePreinstalledAutomationRequest as CreatePreinstalledAutomationRequest, type context_CreatePreinstalledAutomationResponse as CreatePreinstalledAutomationResponse, type context_CursorPaging as CursorPaging, type context_CursorPagingMetadata as CursorPagingMetadata, type context_CursorQuery as CursorQuery, type context_CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOf, type context_Cursors as Cursors, type context_DelayAction as DelayAction, type context_DeleteAutomationRequest as DeleteAutomationRequest, type context_DeleteAutomationResponse as DeleteAutomationResponse, type context_DeleteContext as DeleteContext, type context_DeletePreinstalledAutomationRequest as DeletePreinstalledAutomationRequest, type context_DeletePreinstalledAutomationResponse as DeletePreinstalledAutomationResponse, context_DeleteStatus as DeleteStatus, type context_DeletedWithEntity as DeletedWithEntity, type context_DomainEvent as DomainEvent, type context_DomainEventBodyOneOf as DomainEventBodyOneOf, type context_DraftOrigin as DraftOrigin, type context_Empty as Empty, type context_EntityCreatedEvent as EntityCreatedEvent, type context_EntityDeletedEvent as EntityDeletedEvent, type context_EntityUpdatedEvent as EntityUpdatedEvent, type context_EventMetadata as EventMetadata, type context_Filter as Filter, type context_FutureDateActivationOffset as FutureDateActivationOffset, type context_GetActionsQuotaInfoRequest as GetActionsQuotaInfoRequest, type context_GetActionsQuotaInfoResponse as GetActionsQuotaInfoResponse, type context_GetAutomationActionSchemaRequest as GetAutomationActionSchemaRequest, type context_GetAutomationActionSchemaResponse as GetAutomationActionSchemaResponse, type context_GetAutomationOptions as GetAutomationOptions, type context_GetAutomationRequest as GetAutomationRequest, type context_GetAutomationResponse as GetAutomationResponse, type context_GetAutomationResponseNonNullableFields as GetAutomationResponseNonNullableFields, type context_GetAutomationRevisionRequest as GetAutomationRevisionRequest, type context_GetAutomationRevisionResponse as GetAutomationRevisionResponse, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type context_ItemMetadata as ItemMetadata, type context_MessageEnvelope as MessageEnvelope, type context_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type context_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, context_Namespace as Namespace, type context_NamespaceChanged as NamespaceChanged, context_Operator as Operator, context_Origin as Origin, type context_OutputAction as OutputAction, type context_Plan as Plan, type context_PreinstalledOrigin as PreinstalledOrigin, type context_ProviderConfigurationError as ProviderConfigurationError, type context_QueryAutomationsRequest as QueryAutomationsRequest, type context_QueryAutomationsResponse as QueryAutomationsResponse, type context_QueryAutomationsResponseNonNullableFields as QueryAutomationsResponseNonNullableFields, type context_Quota as Quota, type context_QuotaInfo as QuotaInfo, type context_RateLimit as RateLimit, type context_RateLimitAction as RateLimitAction, type context_RestoreInfo as RestoreInfo, type context_ServiceProvisioned as ServiceProvisioned, type context_ServiceRemoved as ServiceRemoved, type context_SiteCreated as SiteCreated, context_SiteCreatedContext as SiteCreatedContext, type context_SiteDeleted as SiteDeleted, type context_SiteHardDeleted as SiteHardDeleted, type context_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type context_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type context_SitePublished as SitePublished, type context_SiteRenamed as SiteRenamed, type context_SiteTransferred as SiteTransferred, type context_SiteUndeleted as SiteUndeleted, type context_SiteUnpublished as SiteUnpublished, context_SortOrder as SortOrder, type context_Sorting as Sorting, context_State as State, context_Status as Status, type context_StudioAssigned as StudioAssigned, type context_StudioUnassigned as StudioUnassigned, context_TimeUnit as TimeUnit, type context_Trigger as Trigger, type context_TriggerConfigurationError as TriggerConfigurationError, context_TriggerErrorType as TriggerErrorType, type context_TriggerValidationError as TriggerValidationError, type context_TriggerValidationErrorErrorOneOf as TriggerValidationErrorErrorOneOf, context_TriggerValidationErrorValidationErrorType as TriggerValidationErrorValidationErrorType, context_Type as Type, type context_UpdateAutomation as UpdateAutomation, type context_UpdateAutomationRequest as UpdateAutomationRequest, type context_UpdateAutomationResponse as UpdateAutomationResponse, type context_UpdateAutomationResponseNonNullableFields as UpdateAutomationResponseNonNullableFields, type context_UpdatedWithPreviousEntity as UpdatedWithPreviousEntity, type context_UpgradeCTA as UpgradeCTA, type context_ValidateAutomationOptions as ValidateAutomationOptions, type context_ValidateAutomationRequest as ValidateAutomationRequest, type context_ValidateAutomationResponse as ValidateAutomationResponse, type context_ValidateAutomationResponseNonNullableFields as ValidateAutomationResponseNonNullableFields, context_ValidationErrorType as ValidationErrorType, type context_ValidationSettings as ValidationSettings, context_WebhookIdentityType as WebhookIdentityType, context_bulkDeleteAutomations as bulkDeleteAutomations, context_createAutomation as createAutomation, context_deleteAutomation as deleteAutomation, context_getAutomation as getAutomation, context_onAutomationCreated as onAutomationCreated, context_onAutomationDeleted as onAutomationDeleted, context_onAutomationDeletedWithEntity as onAutomationDeletedWithEntity, context_onAutomationUpdated as onAutomationUpdated, context_onAutomationUpdatedWithPreviousEntity as onAutomationUpdatedWithPreviousEntity, context_queryAutomations as queryAutomations, context_updateAutomation as updateAutomation, context_validateAutomation as validateAutomation };
5113
5140
  }
5114
5141
 
5115
5142
  export { context$1 as activations, context$2 as automationsService, context as automationsServiceV2 };
@@ -1735,6 +1735,8 @@ interface Automation$1 extends AutomationOriginInfoOneOf$1 {
1735
1735
  applicationInfo?: ApplicationOrigin$1;
1736
1736
  /** Preinstalled info */
1737
1737
  preinstalledInfo?: PreinstalledOrigin$1;
1738
+ /** Draft info */
1739
+ draftInfo?: DraftOrigin$1;
1738
1740
  /**
1739
1741
  * Automation ID.
1740
1742
  * @readonly
@@ -1786,6 +1788,8 @@ interface AutomationOriginInfoOneOf$1 {
1786
1788
  applicationInfo?: ApplicationOrigin$1;
1787
1789
  /** Preinstalled info */
1788
1790
  preinstalledInfo?: PreinstalledOrigin$1;
1791
+ /** Draft info */
1792
+ draftInfo?: DraftOrigin$1;
1789
1793
  }
1790
1794
  interface ActionSettings$1 {
1791
1795
  /** list of permanent action ids of actions that cannot be deleted (default - empty, all actions are deletable by default) */
@@ -1867,6 +1871,7 @@ interface RateLimit$1 {
1867
1871
  /**
1868
1872
  * Unique identifier of each activation by which rate limiter will count activations, expected return type is string
1869
1873
  * for example - {{ var(contact.id) }} to set the unique identifier as the value of "contact.id" from the payload
1874
+ * evaluated expression must be under 46 characters
1870
1875
  */
1871
1876
  uniqueIdentifierExpression?: string | null;
1872
1877
  }
@@ -2004,6 +2009,7 @@ interface Trigger$1 {
2004
2009
  scheduledEventOffset?: FutureDateActivationOffset$1;
2005
2010
  /** optional - rate limiting configuration */
2006
2011
  rateLimit?: RateLimit$1;
2012
+ automationConfigMapping?: Record<string, any> | null;
2007
2013
  }
2008
2014
  interface AutomationConfigurationAction extends AutomationConfigurationActionInfoOneOf {
2009
2015
  /** App defined Action (via RPC, HTTP or Velo) */
@@ -2082,7 +2088,9 @@ declare enum Origin$1 {
2082
2088
  /** automation created by application (site specific) */
2083
2089
  APPLICATION = "APPLICATION",
2084
2090
  /** preinstalled application automation */
2085
- PREINSTALLED = "PREINSTALLED"
2091
+ PREINSTALLED = "PREINSTALLED",
2092
+ /** draft automation */
2093
+ DRAFT = "DRAFT"
2086
2094
  }
2087
2095
  interface ApplicationOrigin$1 {
2088
2096
  /** identifier for the application */
@@ -2101,6 +2109,10 @@ interface PreinstalledOrigin$1 {
2101
2109
  */
2102
2110
  override?: boolean | null;
2103
2111
  }
2112
+ interface DraftOrigin$1 {
2113
+ /** id of the automation that this draft belongs to, if it exists */
2114
+ parentId?: string | null;
2115
+ }
2104
2116
  interface AutomationSettings$1 {
2105
2117
  /** sets if the automation is hidden from users */
2106
2118
  hidden?: boolean;
@@ -3439,7 +3451,7 @@ declare const index_d$1_cancelEvent: typeof cancelEvent;
3439
3451
  declare const index_d$1_onActivationStatusChanged: typeof onActivationStatusChanged;
3440
3452
  declare const index_d$1_reportEvent: typeof reportEvent;
3441
3453
  declare namespace index_d$1 {
3442
- export { type Action$1 as Action, type index_d$1_ActionActionOneOf as ActionActionOneOf, type index_d$1_ActionCompletedRequest as ActionCompletedRequest, type index_d$1_ActionData as ActionData, type ActionEvent$1 as ActionEvent, type ActionSettings$1 as ActionSettings, type index_d$1_ActionStatus as ActionStatus, type index_d$1_ActionsData as ActionsData, type index_d$1_Activation as Activation, type index_d$1_ActivationActionStatusChanged as ActivationActionStatusChanged, index_d$1_ActivationActionStatusChangedStatus as ActivationActionStatusChangedStatus, type index_d$1_ActivationActionStatusChangedStatusInfoOneOf as ActivationActionStatusChangedStatusInfoOneOf, type index_d$1_ActivationContinuedAfterSchedule as ActivationContinuedAfterSchedule, type index_d$1_ActivationRequest as ActivationRequest, type index_d$1_ActivationResumeAfterDelay as ActivationResumeAfterDelay, type index_d$1_ActivationScheduleCompleted as ActivationScheduleCompleted, type index_d$1_ActivationScheduleRequested as ActivationScheduleRequested, type index_d$1_ActivationSource as ActivationSource, type index_d$1_ActivationSourceOfOneOf as ActivationSourceOfOneOf, type index_d$1_ActivationStatus as ActivationStatus, type index_d$1_ActivationStatusChanged as ActivationStatusChanged, type index_d$1_ActivationStatusChangedEnvelope as ActivationStatusChangedEnvelope, type index_d$1_ActivationStatusChangedFailedStatusInfo as ActivationStatusChangedFailedStatusInfo, index_d$1_ActivationStatusChangedStatus as ActivationStatusChangedStatus, type index_d$1_ActivationStatusChangedStatusInfoOneOf as ActivationStatusChangedStatusInfoOneOf, type AppDefinedAction$1 as AppDefinedAction, type index_d$1_AppDefinedActionInfo as AppDefinedActionInfo, type ApplicationError$1 as ApplicationError, type ApplicationOrigin$1 as ApplicationOrigin, type index_d$1_AsyncAction as AsyncAction, type AuditInfo$1 as AuditInfo, type AuditInfoIdOneOf$1 as AuditInfoIdOneOf, type Automation$1 as Automation, type AutomationConfiguration$1 as AutomationConfiguration, type index_d$1_AutomationConfigurationAction as AutomationConfigurationAction, type index_d$1_AutomationConfigurationActionInfoOneOf as AutomationConfigurationActionInfoOneOf, index_d$1_AutomationConfigurationStatus as AutomationConfigurationStatus, type index_d$1_AutomationIdentifier as AutomationIdentifier, type index_d$1_AutomationInfo as AutomationInfo, type index_d$1_AutomationInfoOriginInfoOneOf as AutomationInfoOriginInfoOneOf, type AutomationOriginInfoOneOf$1 as AutomationOriginInfoOneOf, type AutomationSettings$1 as AutomationSettings, type BaseEventMetadata$1 as BaseEventMetadata, type index_d$1_BatchActivationRequest as BatchActivationRequest, index_d$1_BlockType as BlockType, type BulkActionMetadata$1 as BulkActionMetadata, type index_d$1_BulkCancelEventRequest as BulkCancelEventRequest, type index_d$1_BulkCancelEventResponse as BulkCancelEventResponse, type index_d$1_BulkCancelEventResponseNonNullableFields as BulkCancelEventResponseNonNullableFields, type index_d$1_BulkCancelEventResult as BulkCancelEventResult, type index_d$1_BulkReportEventRequest as BulkReportEventRequest, type index_d$1_BulkReportEventResponse as BulkReportEventResponse, type index_d$1_BulkReportEventResponseNonNullableFields as BulkReportEventResponseNonNullableFields, type index_d$1_BulkReportEventResult as BulkReportEventResult, type index_d$1_CancelEventRequest as CancelEventRequest, type index_d$1_CancelEventResponse as CancelEventResponse, type index_d$1_CancelPendingScheduleRequest as CancelPendingScheduleRequest, type index_d$1_CancelPendingScheduleRequestByOneOf as CancelPendingScheduleRequestByOneOf, type index_d$1_CancelPendingScheduleResponse as CancelPendingScheduleResponse, index_d$1_CancellationReason as CancellationReason, type index_d$1_CancelledStatusInfo as CancelledStatusInfo, type index_d$1_Case as Case, type ConditionAction$1 as ConditionAction, type index_d$1_ConditionActionInfo as ConditionActionInfo, type index_d$1_ConditionBlock as ConditionBlock, type ConditionExpressionGroup$1 as ConditionExpressionGroup, type index_d$1_ConditionFilter as ConditionFilter, type index_d$1_Delay as Delay, type DelayAction$1 as DelayAction, type index_d$1_DelayActionInfo as DelayActionInfo, type index_d$1_DelayHelper as DelayHelper, type index_d$1_DelayOfOneOf as DelayOfOneOf, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type Empty$1 as Empty, type index_d$1_EndedStatusInfo as EndedStatusInfo, type index_d$1_EndedStatusInfoTypeInfoOneOf as EndedStatusInfoTypeInfoOneOf, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type index_d$1_EventInfo as EventInfo, type EventMetadata$1 as EventMetadata, type index_d$1_ExecuteFromActionRequest as ExecuteFromActionRequest, type index_d$1_ExecuteFromActionResponse as ExecuteFromActionResponse, type index_d$1_ExpressionEvaluationResult as ExpressionEvaluationResult, type index_d$1_FailedStatusInfo as FailedStatusInfo, type index_d$1_File as File, type Filter$1 as Filter, type FutureDateActivationOffset$1 as FutureDateActivationOffset, type index_d$1_Idempotency as Idempotency, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, index_d$1_IdentifierType as IdentifierType, type index_d$1_Identity as Identity, type index_d$1_IfFilter as IfFilter, type index_d$1_InitiatedStatusInfo as InitiatedStatusInfo, type index_d$1_InternalTarget as InternalTarget, type ItemMetadata$1 as ItemMetadata, type MessageEnvelope$1 as MessageEnvelope, Operator$1 as Operator, Origin$1 as Origin, type index_d$1_Output as Output, type OutputAction$1 as OutputAction, type index_d$1_PreinstalledIdentifier as PreinstalledIdentifier, type PreinstalledOrigin$1 as PreinstalledOrigin, type RateLimit$1 as RateLimit, type RateLimitAction$1 as RateLimitAction, type index_d$1_RateLimitActionInfo as RateLimitActionInfo, type index_d$1_RateLimiting as RateLimiting, type index_d$1_RefreshPayloadRequest as RefreshPayloadRequest, type index_d$1_RefreshPayloadResponse as RefreshPayloadResponse, type index_d$1_ReportDomainEventRequest as ReportDomainEventRequest, type index_d$1_ReportDomainEventResponse as ReportDomainEventResponse, type index_d$1_ReportEventOptions as ReportEventOptions, type index_d$1_ReportEventRequest as ReportEventRequest, type index_d$1_ReportEventResponse as ReportEventResponse, type index_d$1_ReportEventResponseNonNullableFields as ReportEventResponseNonNullableFields, type RestoreInfo$1 as RestoreInfo, type index_d$1_RunAutomationRequest as RunAutomationRequest, type index_d$1_RunAutomationResponse as RunAutomationResponse, type index_d$1_Runtime as Runtime, type index_d$1_Schedule as Schedule, type index_d$1_ScheduleRequest as ScheduleRequest, type index_d$1_ScheduleResponse as ScheduleResponse, index_d$1_ScheduleStatus as ScheduleStatus, type index_d$1_ScheduledAction as ScheduledAction, type index_d$1_ScheduledStatusInfo as ScheduledStatusInfo, type index_d$1_Scheduler as Scheduler, type index_d$1_Service as Service, type index_d$1_ServiceMapping as ServiceMapping, type index_d$1_SimpleDelay as SimpleDelay, type index_d$1_SpiAction as SpiAction, type index_d$1_StartedStatusInfo as StartedStatusInfo, type index_d$1_StartedStatusInfoAppDefinedActionInfo as StartedStatusInfoAppDefinedActionInfo, type index_d$1_StartedStatusInfoTypeInfoOneOf as StartedStatusInfoTypeInfoOneOf, Status$1 as Status, type index_d$1_SwitchFilter as SwitchFilter, type index_d$1_SystemHelper as SystemHelper, type index_d$1_SystemHelperHelperOneOf as SystemHelperHelperOneOf, index_d$1_Target as Target, index_d$1_TargetType as TargetType, TimeUnit$1 as TimeUnit, type Trigger$1 as Trigger, type index_d$1_TriggerInfo as TriggerInfo, Type$1 as Type, index_d$1_Units as Units, type index_d$1_UnprocessedTargetEvent as UnprocessedTargetEvent, type index_d$1_UpdatePendingSchedulesPayloadRequest as UpdatePendingSchedulesPayloadRequest, type index_d$1_UpdatePendingSchedulesPayloadResponse as UpdatePendingSchedulesPayloadResponse, type index_d$1_V1RunAutomationRequest as V1RunAutomationRequest, type index_d$1_V1RunAutomationRequestIdentifierOneOf as V1RunAutomationRequestIdentifierOneOf, type index_d$1_V1RunAutomationResponse as V1RunAutomationResponse, WebhookIdentityType$1 as WebhookIdentityType, index_d$1_bulkCancelEvent as bulkCancelEvent, index_d$1_bulkReportEvent as bulkReportEvent, index_d$1_cancelEvent as cancelEvent, index_d$1_onActivationStatusChanged as onActivationStatusChanged, index_d$1_reportEvent as reportEvent };
3454
+ export { type Action$1 as Action, type index_d$1_ActionActionOneOf as ActionActionOneOf, type index_d$1_ActionCompletedRequest as ActionCompletedRequest, type index_d$1_ActionData as ActionData, type ActionEvent$1 as ActionEvent, type ActionSettings$1 as ActionSettings, type index_d$1_ActionStatus as ActionStatus, type index_d$1_ActionsData as ActionsData, type index_d$1_Activation as Activation, type index_d$1_ActivationActionStatusChanged as ActivationActionStatusChanged, index_d$1_ActivationActionStatusChangedStatus as ActivationActionStatusChangedStatus, type index_d$1_ActivationActionStatusChangedStatusInfoOneOf as ActivationActionStatusChangedStatusInfoOneOf, type index_d$1_ActivationContinuedAfterSchedule as ActivationContinuedAfterSchedule, type index_d$1_ActivationRequest as ActivationRequest, type index_d$1_ActivationResumeAfterDelay as ActivationResumeAfterDelay, type index_d$1_ActivationScheduleCompleted as ActivationScheduleCompleted, type index_d$1_ActivationScheduleRequested as ActivationScheduleRequested, type index_d$1_ActivationSource as ActivationSource, type index_d$1_ActivationSourceOfOneOf as ActivationSourceOfOneOf, type index_d$1_ActivationStatus as ActivationStatus, type index_d$1_ActivationStatusChanged as ActivationStatusChanged, type index_d$1_ActivationStatusChangedEnvelope as ActivationStatusChangedEnvelope, type index_d$1_ActivationStatusChangedFailedStatusInfo as ActivationStatusChangedFailedStatusInfo, index_d$1_ActivationStatusChangedStatus as ActivationStatusChangedStatus, type index_d$1_ActivationStatusChangedStatusInfoOneOf as ActivationStatusChangedStatusInfoOneOf, type AppDefinedAction$1 as AppDefinedAction, type index_d$1_AppDefinedActionInfo as AppDefinedActionInfo, type ApplicationError$1 as ApplicationError, type ApplicationOrigin$1 as ApplicationOrigin, type index_d$1_AsyncAction as AsyncAction, type AuditInfo$1 as AuditInfo, type AuditInfoIdOneOf$1 as AuditInfoIdOneOf, type Automation$1 as Automation, type AutomationConfiguration$1 as AutomationConfiguration, type index_d$1_AutomationConfigurationAction as AutomationConfigurationAction, type index_d$1_AutomationConfigurationActionInfoOneOf as AutomationConfigurationActionInfoOneOf, index_d$1_AutomationConfigurationStatus as AutomationConfigurationStatus, type index_d$1_AutomationIdentifier as AutomationIdentifier, type index_d$1_AutomationInfo as AutomationInfo, type index_d$1_AutomationInfoOriginInfoOneOf as AutomationInfoOriginInfoOneOf, type AutomationOriginInfoOneOf$1 as AutomationOriginInfoOneOf, type AutomationSettings$1 as AutomationSettings, type BaseEventMetadata$1 as BaseEventMetadata, type index_d$1_BatchActivationRequest as BatchActivationRequest, index_d$1_BlockType as BlockType, type BulkActionMetadata$1 as BulkActionMetadata, type index_d$1_BulkCancelEventRequest as BulkCancelEventRequest, type index_d$1_BulkCancelEventResponse as BulkCancelEventResponse, type index_d$1_BulkCancelEventResponseNonNullableFields as BulkCancelEventResponseNonNullableFields, type index_d$1_BulkCancelEventResult as BulkCancelEventResult, type index_d$1_BulkReportEventRequest as BulkReportEventRequest, type index_d$1_BulkReportEventResponse as BulkReportEventResponse, type index_d$1_BulkReportEventResponseNonNullableFields as BulkReportEventResponseNonNullableFields, type index_d$1_BulkReportEventResult as BulkReportEventResult, type index_d$1_CancelEventRequest as CancelEventRequest, type index_d$1_CancelEventResponse as CancelEventResponse, type index_d$1_CancelPendingScheduleRequest as CancelPendingScheduleRequest, type index_d$1_CancelPendingScheduleRequestByOneOf as CancelPendingScheduleRequestByOneOf, type index_d$1_CancelPendingScheduleResponse as CancelPendingScheduleResponse, index_d$1_CancellationReason as CancellationReason, type index_d$1_CancelledStatusInfo as CancelledStatusInfo, type index_d$1_Case as Case, type ConditionAction$1 as ConditionAction, type index_d$1_ConditionActionInfo as ConditionActionInfo, type index_d$1_ConditionBlock as ConditionBlock, type ConditionExpressionGroup$1 as ConditionExpressionGroup, type index_d$1_ConditionFilter as ConditionFilter, type index_d$1_Delay as Delay, type DelayAction$1 as DelayAction, type index_d$1_DelayActionInfo as DelayActionInfo, type index_d$1_DelayHelper as DelayHelper, type index_d$1_DelayOfOneOf as DelayOfOneOf, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type DraftOrigin$1 as DraftOrigin, type Empty$1 as Empty, type index_d$1_EndedStatusInfo as EndedStatusInfo, type index_d$1_EndedStatusInfoTypeInfoOneOf as EndedStatusInfoTypeInfoOneOf, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type index_d$1_EventInfo as EventInfo, type EventMetadata$1 as EventMetadata, type index_d$1_ExecuteFromActionRequest as ExecuteFromActionRequest, type index_d$1_ExecuteFromActionResponse as ExecuteFromActionResponse, type index_d$1_ExpressionEvaluationResult as ExpressionEvaluationResult, type index_d$1_FailedStatusInfo as FailedStatusInfo, type index_d$1_File as File, type Filter$1 as Filter, type FutureDateActivationOffset$1 as FutureDateActivationOffset, type index_d$1_Idempotency as Idempotency, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, index_d$1_IdentifierType as IdentifierType, type index_d$1_Identity as Identity, type index_d$1_IfFilter as IfFilter, type index_d$1_InitiatedStatusInfo as InitiatedStatusInfo, type index_d$1_InternalTarget as InternalTarget, type ItemMetadata$1 as ItemMetadata, type MessageEnvelope$1 as MessageEnvelope, Operator$1 as Operator, Origin$1 as Origin, type index_d$1_Output as Output, type OutputAction$1 as OutputAction, type index_d$1_PreinstalledIdentifier as PreinstalledIdentifier, type PreinstalledOrigin$1 as PreinstalledOrigin, type RateLimit$1 as RateLimit, type RateLimitAction$1 as RateLimitAction, type index_d$1_RateLimitActionInfo as RateLimitActionInfo, type index_d$1_RateLimiting as RateLimiting, type index_d$1_RefreshPayloadRequest as RefreshPayloadRequest, type index_d$1_RefreshPayloadResponse as RefreshPayloadResponse, type index_d$1_ReportDomainEventRequest as ReportDomainEventRequest, type index_d$1_ReportDomainEventResponse as ReportDomainEventResponse, type index_d$1_ReportEventOptions as ReportEventOptions, type index_d$1_ReportEventRequest as ReportEventRequest, type index_d$1_ReportEventResponse as ReportEventResponse, type index_d$1_ReportEventResponseNonNullableFields as ReportEventResponseNonNullableFields, type RestoreInfo$1 as RestoreInfo, type index_d$1_RunAutomationRequest as RunAutomationRequest, type index_d$1_RunAutomationResponse as RunAutomationResponse, type index_d$1_Runtime as Runtime, type index_d$1_Schedule as Schedule, type index_d$1_ScheduleRequest as ScheduleRequest, type index_d$1_ScheduleResponse as ScheduleResponse, index_d$1_ScheduleStatus as ScheduleStatus, type index_d$1_ScheduledAction as ScheduledAction, type index_d$1_ScheduledStatusInfo as ScheduledStatusInfo, type index_d$1_Scheduler as Scheduler, type index_d$1_Service as Service, type index_d$1_ServiceMapping as ServiceMapping, type index_d$1_SimpleDelay as SimpleDelay, type index_d$1_SpiAction as SpiAction, type index_d$1_StartedStatusInfo as StartedStatusInfo, type index_d$1_StartedStatusInfoAppDefinedActionInfo as StartedStatusInfoAppDefinedActionInfo, type index_d$1_StartedStatusInfoTypeInfoOneOf as StartedStatusInfoTypeInfoOneOf, Status$1 as Status, type index_d$1_SwitchFilter as SwitchFilter, type index_d$1_SystemHelper as SystemHelper, type index_d$1_SystemHelperHelperOneOf as SystemHelperHelperOneOf, index_d$1_Target as Target, index_d$1_TargetType as TargetType, TimeUnit$1 as TimeUnit, type Trigger$1 as Trigger, type index_d$1_TriggerInfo as TriggerInfo, Type$1 as Type, index_d$1_Units as Units, type index_d$1_UnprocessedTargetEvent as UnprocessedTargetEvent, type index_d$1_UpdatePendingSchedulesPayloadRequest as UpdatePendingSchedulesPayloadRequest, type index_d$1_UpdatePendingSchedulesPayloadResponse as UpdatePendingSchedulesPayloadResponse, type index_d$1_V1RunAutomationRequest as V1RunAutomationRequest, type index_d$1_V1RunAutomationRequestIdentifierOneOf as V1RunAutomationRequestIdentifierOneOf, type index_d$1_V1RunAutomationResponse as V1RunAutomationResponse, WebhookIdentityType$1 as WebhookIdentityType, index_d$1_bulkCancelEvent as bulkCancelEvent, index_d$1_bulkReportEvent as bulkReportEvent, index_d$1_cancelEvent as cancelEvent, index_d$1_onActivationStatusChanged as onActivationStatusChanged, index_d$1_reportEvent as reportEvent };
3443
3455
  }
3444
3456
 
3445
3457
  /** Automation */
@@ -3448,6 +3460,8 @@ interface Automation extends AutomationOriginInfoOneOf {
3448
3460
  applicationInfo?: ApplicationOrigin;
3449
3461
  /** Preinstalled info */
3450
3462
  preinstalledInfo?: PreinstalledOrigin;
3463
+ /** Draft info */
3464
+ draftInfo?: DraftOrigin;
3451
3465
  /**
3452
3466
  * Automation ID.
3453
3467
  * @readonly
@@ -3499,6 +3513,8 @@ interface AutomationOriginInfoOneOf {
3499
3513
  applicationInfo?: ApplicationOrigin;
3500
3514
  /** Preinstalled info */
3501
3515
  preinstalledInfo?: PreinstalledOrigin;
3516
+ /** Draft info */
3517
+ draftInfo?: DraftOrigin;
3502
3518
  }
3503
3519
  interface ActionSettings {
3504
3520
  /** list of permanent action ids of actions that cannot be deleted (default - empty, all actions are deletable by default) */
@@ -3580,6 +3596,7 @@ interface RateLimit {
3580
3596
  /**
3581
3597
  * Unique identifier of each activation by which rate limiter will count activations, expected return type is string
3582
3598
  * for example - {{ var(contact.id) }} to set the unique identifier as the value of "contact.id" from the payload
3599
+ * evaluated expression must be under 46 characters
3583
3600
  */
3584
3601
  uniqueIdentifierExpression?: string | null;
3585
3602
  }
@@ -3717,6 +3734,7 @@ interface Trigger {
3717
3734
  scheduledEventOffset?: FutureDateActivationOffset;
3718
3735
  /** optional - rate limiting configuration */
3719
3736
  rateLimit?: RateLimit;
3737
+ automationConfigMapping?: Record<string, any> | null;
3720
3738
  }
3721
3739
  interface Action extends ActionInfoOneOf {
3722
3740
  /** App defined Action (via RPC, HTTP or Velo) */
@@ -3795,7 +3813,9 @@ declare enum Origin {
3795
3813
  /** automation created by application (site specific) */
3796
3814
  APPLICATION = "APPLICATION",
3797
3815
  /** preinstalled application automation */
3798
- PREINSTALLED = "PREINSTALLED"
3816
+ PREINSTALLED = "PREINSTALLED",
3817
+ /** draft automation */
3818
+ DRAFT = "DRAFT"
3799
3819
  }
3800
3820
  interface ApplicationOrigin {
3801
3821
  /** identifier for the application */
@@ -3814,6 +3834,10 @@ interface PreinstalledOrigin {
3814
3834
  */
3815
3835
  override?: boolean | null;
3816
3836
  }
3837
+ interface DraftOrigin {
3838
+ /** id of the automation that this draft belongs to, if it exists */
3839
+ parentId?: string | null;
3840
+ }
3817
3841
  interface AutomationSettings {
3818
3842
  /** sets if the automation is hidden from users */
3819
3843
  hidden?: boolean;
@@ -4812,6 +4836,8 @@ interface UpdateAutomation {
4812
4836
  applicationInfo?: ApplicationOrigin;
4813
4837
  /** Preinstalled info */
4814
4838
  preinstalledInfo?: PreinstalledOrigin;
4839
+ /** Draft info */
4840
+ draftInfo?: DraftOrigin;
4815
4841
  /**
4816
4842
  * Automation ID.
4817
4843
  * @readonly
@@ -5004,6 +5030,7 @@ declare const index_d_DeleteStatus: typeof DeleteStatus;
5004
5030
  type index_d_DeletedWithEntity = DeletedWithEntity;
5005
5031
  type index_d_DomainEvent = DomainEvent;
5006
5032
  type index_d_DomainEventBodyOneOf = DomainEventBodyOneOf;
5033
+ type index_d_DraftOrigin = DraftOrigin;
5007
5034
  type index_d_Empty = Empty;
5008
5035
  type index_d_EntityCreatedEvent = EntityCreatedEvent;
5009
5036
  type index_d_EntityDeletedEvent = EntityDeletedEvent;
@@ -5109,7 +5136,7 @@ declare const index_d_queryAutomations: typeof queryAutomations;
5109
5136
  declare const index_d_updateAutomation: typeof updateAutomation;
5110
5137
  declare const index_d_validateAutomation: typeof validateAutomation;
5111
5138
  declare namespace index_d {
5112
- export { type index_d_Action as Action, type index_d_ActionConfigurationError as ActionConfigurationError, index_d_ActionErrorType as ActionErrorType, type index_d_ActionEvent as ActionEvent, type index_d_ActionInfoOneOf as ActionInfoOneOf, type index_d_ActionProviderQuotaInfo as ActionProviderQuotaInfo, type index_d_ActionQuotaInfo as ActionQuotaInfo, type index_d_ActionSettings as ActionSettings, type index_d_ActionValidationError as ActionValidationError, type index_d_ActionValidationErrorErrorOneOf as ActionValidationErrorErrorOneOf, type index_d_ActionValidationInfo as ActionValidationInfo, type index_d_AdditionalInfo as AdditionalInfo, type index_d_AppDefinedAction as AppDefinedAction, type index_d_ApplicationError as ApplicationError, type index_d_ApplicationOrigin as ApplicationOrigin, type index_d_Asset as Asset, type index_d_AuditInfo as AuditInfo, type index_d_AuditInfoIdOneOf as AuditInfoIdOneOf, type index_d_Automation as Automation, type index_d_AutomationConfiguration as AutomationConfiguration, type index_d_AutomationCreatedEnvelope as AutomationCreatedEnvelope, type index_d_AutomationDeletedEnvelope as AutomationDeletedEnvelope, type index_d_AutomationDeletedWithEntityEnvelope as AutomationDeletedWithEntityEnvelope, type index_d_AutomationNonNullableFields as AutomationNonNullableFields, type index_d_AutomationOriginInfoOneOf as AutomationOriginInfoOneOf, type index_d_AutomationSettings as AutomationSettings, type index_d_AutomationUpdatedEnvelope as AutomationUpdatedEnvelope, type index_d_AutomationUpdatedWithPreviousEntityEnvelope as AutomationUpdatedWithPreviousEntityEnvelope, type index_d_AutomationsQueryBuilder as AutomationsQueryBuilder, type index_d_AutomationsQueryResult as AutomationsQueryResult, type index_d_BaseEventMetadata as BaseEventMetadata, type index_d_BulkActionMetadata as BulkActionMetadata, type index_d_BulkDeleteAutomationsRequest as BulkDeleteAutomationsRequest, type index_d_BulkDeleteAutomationsResponse as BulkDeleteAutomationsResponse, type index_d_BulkDeleteAutomationsResponseNonNullableFields as BulkDeleteAutomationsResponseNonNullableFields, type index_d_BulkDeleteResult as BulkDeleteResult, type index_d_CTA as CTA, type index_d_ConditionAction as ConditionAction, type index_d_ConditionExpressionGroup as ConditionExpressionGroup, type index_d_CopyAutomationRequest as CopyAutomationRequest, type index_d_CopyAutomationResponse as CopyAutomationResponse, type index_d_CreateAutomationRequest as CreateAutomationRequest, type index_d_CreateAutomationResponse as CreateAutomationResponse, type index_d_CreateAutomationResponseNonNullableFields as CreateAutomationResponseNonNullableFields, type index_d_CreatePreinstalledAutomationRequest as CreatePreinstalledAutomationRequest, type index_d_CreatePreinstalledAutomationResponse as CreatePreinstalledAutomationResponse, type index_d_CursorPaging as CursorPaging, type index_d_CursorPagingMetadata as CursorPagingMetadata, type index_d_CursorQuery as CursorQuery, type index_d_CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOf, type index_d_Cursors as Cursors, type index_d_DelayAction as DelayAction, type index_d_DeleteAutomationRequest as DeleteAutomationRequest, type index_d_DeleteAutomationResponse as DeleteAutomationResponse, type index_d_DeleteContext as DeleteContext, type index_d_DeletePreinstalledAutomationRequest as DeletePreinstalledAutomationRequest, type index_d_DeletePreinstalledAutomationResponse as DeletePreinstalledAutomationResponse, index_d_DeleteStatus as DeleteStatus, type index_d_DeletedWithEntity as DeletedWithEntity, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_Empty as Empty, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, type index_d_EventMetadata as EventMetadata, type index_d_Filter as Filter, type index_d_FutureDateActivationOffset as FutureDateActivationOffset, type index_d_GetActionsQuotaInfoRequest as GetActionsQuotaInfoRequest, type index_d_GetActionsQuotaInfoResponse as GetActionsQuotaInfoResponse, type index_d_GetAutomationActionSchemaRequest as GetAutomationActionSchemaRequest, type index_d_GetAutomationActionSchemaResponse as GetAutomationActionSchemaResponse, type index_d_GetAutomationOptions as GetAutomationOptions, type index_d_GetAutomationRequest as GetAutomationRequest, type index_d_GetAutomationResponse as GetAutomationResponse, type index_d_GetAutomationResponseNonNullableFields as GetAutomationResponseNonNullableFields, type index_d_GetAutomationRevisionRequest as GetAutomationRevisionRequest, type index_d_GetAutomationRevisionResponse as GetAutomationRevisionResponse, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d_ItemMetadata as ItemMetadata, type index_d_MessageEnvelope as MessageEnvelope, type index_d_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type index_d_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, index_d_Namespace as Namespace, type index_d_NamespaceChanged as NamespaceChanged, index_d_Operator as Operator, index_d_Origin as Origin, type index_d_OutputAction as OutputAction, type index_d_Plan as Plan, type index_d_PreinstalledOrigin as PreinstalledOrigin, type index_d_ProviderConfigurationError as ProviderConfigurationError, type index_d_QueryAutomationsRequest as QueryAutomationsRequest, type index_d_QueryAutomationsResponse as QueryAutomationsResponse, type index_d_QueryAutomationsResponseNonNullableFields as QueryAutomationsResponseNonNullableFields, type index_d_Quota as Quota, type index_d_QuotaInfo as QuotaInfo, type index_d_RateLimit as RateLimit, type index_d_RateLimitAction as RateLimitAction, type index_d_RestoreInfo as RestoreInfo, type index_d_ServiceProvisioned as ServiceProvisioned, type index_d_ServiceRemoved as ServiceRemoved, type index_d_SiteCreated as SiteCreated, index_d_SiteCreatedContext as SiteCreatedContext, type index_d_SiteDeleted as SiteDeleted, type index_d_SiteHardDeleted as SiteHardDeleted, type index_d_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type index_d_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type index_d_SitePublished as SitePublished, type index_d_SiteRenamed as SiteRenamed, type index_d_SiteTransferred as SiteTransferred, type index_d_SiteUndeleted as SiteUndeleted, type index_d_SiteUnpublished as SiteUnpublished, index_d_SortOrder as SortOrder, type index_d_Sorting as Sorting, index_d_State as State, index_d_Status as Status, type index_d_StudioAssigned as StudioAssigned, type index_d_StudioUnassigned as StudioUnassigned, index_d_TimeUnit as TimeUnit, type index_d_Trigger as Trigger, type index_d_TriggerConfigurationError as TriggerConfigurationError, index_d_TriggerErrorType as TriggerErrorType, type index_d_TriggerValidationError as TriggerValidationError, type index_d_TriggerValidationErrorErrorOneOf as TriggerValidationErrorErrorOneOf, index_d_TriggerValidationErrorValidationErrorType as TriggerValidationErrorValidationErrorType, index_d_Type as Type, type index_d_UpdateAutomation as UpdateAutomation, type index_d_UpdateAutomationRequest as UpdateAutomationRequest, type index_d_UpdateAutomationResponse as UpdateAutomationResponse, type index_d_UpdateAutomationResponseNonNullableFields as UpdateAutomationResponseNonNullableFields, type index_d_UpdatedWithPreviousEntity as UpdatedWithPreviousEntity, type index_d_UpgradeCTA as UpgradeCTA, type index_d_ValidateAutomationOptions as ValidateAutomationOptions, type index_d_ValidateAutomationRequest as ValidateAutomationRequest, type index_d_ValidateAutomationResponse as ValidateAutomationResponse, type index_d_ValidateAutomationResponseNonNullableFields as ValidateAutomationResponseNonNullableFields, index_d_ValidationErrorType as ValidationErrorType, type index_d_ValidationSettings as ValidationSettings, index_d_WebhookIdentityType as WebhookIdentityType, index_d_bulkDeleteAutomations as bulkDeleteAutomations, index_d_createAutomation as createAutomation, index_d_deleteAutomation as deleteAutomation, index_d_getAutomation as getAutomation, index_d_onAutomationCreated as onAutomationCreated, index_d_onAutomationDeleted as onAutomationDeleted, index_d_onAutomationDeletedWithEntity as onAutomationDeletedWithEntity, index_d_onAutomationUpdated as onAutomationUpdated, index_d_onAutomationUpdatedWithPreviousEntity as onAutomationUpdatedWithPreviousEntity, index_d_queryAutomations as queryAutomations, index_d_updateAutomation as updateAutomation, index_d_validateAutomation as validateAutomation };
5139
+ export { type index_d_Action as Action, type index_d_ActionConfigurationError as ActionConfigurationError, index_d_ActionErrorType as ActionErrorType, type index_d_ActionEvent as ActionEvent, type index_d_ActionInfoOneOf as ActionInfoOneOf, type index_d_ActionProviderQuotaInfo as ActionProviderQuotaInfo, type index_d_ActionQuotaInfo as ActionQuotaInfo, type index_d_ActionSettings as ActionSettings, type index_d_ActionValidationError as ActionValidationError, type index_d_ActionValidationErrorErrorOneOf as ActionValidationErrorErrorOneOf, type index_d_ActionValidationInfo as ActionValidationInfo, type index_d_AdditionalInfo as AdditionalInfo, type index_d_AppDefinedAction as AppDefinedAction, type index_d_ApplicationError as ApplicationError, type index_d_ApplicationOrigin as ApplicationOrigin, type index_d_Asset as Asset, type index_d_AuditInfo as AuditInfo, type index_d_AuditInfoIdOneOf as AuditInfoIdOneOf, type index_d_Automation as Automation, type index_d_AutomationConfiguration as AutomationConfiguration, type index_d_AutomationCreatedEnvelope as AutomationCreatedEnvelope, type index_d_AutomationDeletedEnvelope as AutomationDeletedEnvelope, type index_d_AutomationDeletedWithEntityEnvelope as AutomationDeletedWithEntityEnvelope, type index_d_AutomationNonNullableFields as AutomationNonNullableFields, type index_d_AutomationOriginInfoOneOf as AutomationOriginInfoOneOf, type index_d_AutomationSettings as AutomationSettings, type index_d_AutomationUpdatedEnvelope as AutomationUpdatedEnvelope, type index_d_AutomationUpdatedWithPreviousEntityEnvelope as AutomationUpdatedWithPreviousEntityEnvelope, type index_d_AutomationsQueryBuilder as AutomationsQueryBuilder, type index_d_AutomationsQueryResult as AutomationsQueryResult, type index_d_BaseEventMetadata as BaseEventMetadata, type index_d_BulkActionMetadata as BulkActionMetadata, type index_d_BulkDeleteAutomationsRequest as BulkDeleteAutomationsRequest, type index_d_BulkDeleteAutomationsResponse as BulkDeleteAutomationsResponse, type index_d_BulkDeleteAutomationsResponseNonNullableFields as BulkDeleteAutomationsResponseNonNullableFields, type index_d_BulkDeleteResult as BulkDeleteResult, type index_d_CTA as CTA, type index_d_ConditionAction as ConditionAction, type index_d_ConditionExpressionGroup as ConditionExpressionGroup, type index_d_CopyAutomationRequest as CopyAutomationRequest, type index_d_CopyAutomationResponse as CopyAutomationResponse, type index_d_CreateAutomationRequest as CreateAutomationRequest, type index_d_CreateAutomationResponse as CreateAutomationResponse, type index_d_CreateAutomationResponseNonNullableFields as CreateAutomationResponseNonNullableFields, type index_d_CreatePreinstalledAutomationRequest as CreatePreinstalledAutomationRequest, type index_d_CreatePreinstalledAutomationResponse as CreatePreinstalledAutomationResponse, type index_d_CursorPaging as CursorPaging, type index_d_CursorPagingMetadata as CursorPagingMetadata, type index_d_CursorQuery as CursorQuery, type index_d_CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOf, type index_d_Cursors as Cursors, type index_d_DelayAction as DelayAction, type index_d_DeleteAutomationRequest as DeleteAutomationRequest, type index_d_DeleteAutomationResponse as DeleteAutomationResponse, type index_d_DeleteContext as DeleteContext, type index_d_DeletePreinstalledAutomationRequest as DeletePreinstalledAutomationRequest, type index_d_DeletePreinstalledAutomationResponse as DeletePreinstalledAutomationResponse, index_d_DeleteStatus as DeleteStatus, type index_d_DeletedWithEntity as DeletedWithEntity, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_DraftOrigin as DraftOrigin, type index_d_Empty as Empty, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, type index_d_EventMetadata as EventMetadata, type index_d_Filter as Filter, type index_d_FutureDateActivationOffset as FutureDateActivationOffset, type index_d_GetActionsQuotaInfoRequest as GetActionsQuotaInfoRequest, type index_d_GetActionsQuotaInfoResponse as GetActionsQuotaInfoResponse, type index_d_GetAutomationActionSchemaRequest as GetAutomationActionSchemaRequest, type index_d_GetAutomationActionSchemaResponse as GetAutomationActionSchemaResponse, type index_d_GetAutomationOptions as GetAutomationOptions, type index_d_GetAutomationRequest as GetAutomationRequest, type index_d_GetAutomationResponse as GetAutomationResponse, type index_d_GetAutomationResponseNonNullableFields as GetAutomationResponseNonNullableFields, type index_d_GetAutomationRevisionRequest as GetAutomationRevisionRequest, type index_d_GetAutomationRevisionResponse as GetAutomationRevisionResponse, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d_ItemMetadata as ItemMetadata, type index_d_MessageEnvelope as MessageEnvelope, type index_d_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type index_d_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, index_d_Namespace as Namespace, type index_d_NamespaceChanged as NamespaceChanged, index_d_Operator as Operator, index_d_Origin as Origin, type index_d_OutputAction as OutputAction, type index_d_Plan as Plan, type index_d_PreinstalledOrigin as PreinstalledOrigin, type index_d_ProviderConfigurationError as ProviderConfigurationError, type index_d_QueryAutomationsRequest as QueryAutomationsRequest, type index_d_QueryAutomationsResponse as QueryAutomationsResponse, type index_d_QueryAutomationsResponseNonNullableFields as QueryAutomationsResponseNonNullableFields, type index_d_Quota as Quota, type index_d_QuotaInfo as QuotaInfo, type index_d_RateLimit as RateLimit, type index_d_RateLimitAction as RateLimitAction, type index_d_RestoreInfo as RestoreInfo, type index_d_ServiceProvisioned as ServiceProvisioned, type index_d_ServiceRemoved as ServiceRemoved, type index_d_SiteCreated as SiteCreated, index_d_SiteCreatedContext as SiteCreatedContext, type index_d_SiteDeleted as SiteDeleted, type index_d_SiteHardDeleted as SiteHardDeleted, type index_d_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type index_d_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type index_d_SitePublished as SitePublished, type index_d_SiteRenamed as SiteRenamed, type index_d_SiteTransferred as SiteTransferred, type index_d_SiteUndeleted as SiteUndeleted, type index_d_SiteUnpublished as SiteUnpublished, index_d_SortOrder as SortOrder, type index_d_Sorting as Sorting, index_d_State as State, index_d_Status as Status, type index_d_StudioAssigned as StudioAssigned, type index_d_StudioUnassigned as StudioUnassigned, index_d_TimeUnit as TimeUnit, type index_d_Trigger as Trigger, type index_d_TriggerConfigurationError as TriggerConfigurationError, index_d_TriggerErrorType as TriggerErrorType, type index_d_TriggerValidationError as TriggerValidationError, type index_d_TriggerValidationErrorErrorOneOf as TriggerValidationErrorErrorOneOf, index_d_TriggerValidationErrorValidationErrorType as TriggerValidationErrorValidationErrorType, index_d_Type as Type, type index_d_UpdateAutomation as UpdateAutomation, type index_d_UpdateAutomationRequest as UpdateAutomationRequest, type index_d_UpdateAutomationResponse as UpdateAutomationResponse, type index_d_UpdateAutomationResponseNonNullableFields as UpdateAutomationResponseNonNullableFields, type index_d_UpdatedWithPreviousEntity as UpdatedWithPreviousEntity, type index_d_UpgradeCTA as UpgradeCTA, type index_d_ValidateAutomationOptions as ValidateAutomationOptions, type index_d_ValidateAutomationRequest as ValidateAutomationRequest, type index_d_ValidateAutomationResponse as ValidateAutomationResponse, type index_d_ValidateAutomationResponseNonNullableFields as ValidateAutomationResponseNonNullableFields, index_d_ValidationErrorType as ValidationErrorType, type index_d_ValidationSettings as ValidationSettings, index_d_WebhookIdentityType as WebhookIdentityType, index_d_bulkDeleteAutomations as bulkDeleteAutomations, index_d_createAutomation as createAutomation, index_d_deleteAutomation as deleteAutomation, index_d_getAutomation as getAutomation, index_d_onAutomationCreated as onAutomationCreated, index_d_onAutomationDeleted as onAutomationDeleted, index_d_onAutomationDeletedWithEntity as onAutomationDeletedWithEntity, index_d_onAutomationUpdated as onAutomationUpdated, index_d_onAutomationUpdatedWithPreviousEntity as onAutomationUpdatedWithPreviousEntity, index_d_queryAutomations as queryAutomations, index_d_updateAutomation as updateAutomation, index_d_validateAutomation as validateAutomation };
5113
5140
  }
5114
5141
 
5115
5142
  export { index_d$1 as activations, index_d$2 as automationsService, index_d as automationsServiceV2 };
@@ -2062,6 +2062,8 @@ interface Automation$1 extends AutomationOriginInfoOneOf$1 {
2062
2062
  applicationInfo?: ApplicationOrigin$1;
2063
2063
  /** Preinstalled info */
2064
2064
  preinstalledInfo?: PreinstalledOrigin$1;
2065
+ /** Draft info */
2066
+ draftInfo?: DraftOrigin$1;
2065
2067
  /**
2066
2068
  * Automation ID.
2067
2069
  * @readonly
@@ -2113,6 +2115,8 @@ interface AutomationOriginInfoOneOf$1 {
2113
2115
  applicationInfo?: ApplicationOrigin$1;
2114
2116
  /** Preinstalled info */
2115
2117
  preinstalledInfo?: PreinstalledOrigin$1;
2118
+ /** Draft info */
2119
+ draftInfo?: DraftOrigin$1;
2116
2120
  }
2117
2121
  interface ActionSettings$1 {
2118
2122
  /** list of permanent action ids of actions that cannot be deleted (default - empty, all actions are deletable by default) */
@@ -2194,6 +2198,7 @@ interface RateLimit$1 {
2194
2198
  /**
2195
2199
  * Unique identifier of each activation by which rate limiter will count activations, expected return type is string
2196
2200
  * for example - {{ var(contact.id) }} to set the unique identifier as the value of "contact.id" from the payload
2201
+ * evaluated expression must be under 46 characters
2197
2202
  */
2198
2203
  uniqueIdentifierExpression?: string | null;
2199
2204
  }
@@ -2322,6 +2327,7 @@ interface Trigger$1 {
2322
2327
  scheduledEventOffset?: FutureDateActivationOffset$1;
2323
2328
  /** optional - rate limiting configuration */
2324
2329
  rateLimit?: RateLimit$1;
2330
+ automationConfigMapping?: Record<string, any> | null;
2325
2331
  }
2326
2332
  interface Action$1 extends ActionInfoOneOf$1 {
2327
2333
  /** App defined Action (via RPC, HTTP or Velo) */
@@ -2400,7 +2406,9 @@ declare enum Origin$1 {
2400
2406
  /** automation created by application (site specific) */
2401
2407
  APPLICATION = "APPLICATION",
2402
2408
  /** preinstalled application automation */
2403
- PREINSTALLED = "PREINSTALLED"
2409
+ PREINSTALLED = "PREINSTALLED",
2410
+ /** draft automation */
2411
+ DRAFT = "DRAFT"
2404
2412
  }
2405
2413
  interface ApplicationOrigin$1 {
2406
2414
  /** identifier for the application */
@@ -2419,6 +2427,10 @@ interface PreinstalledOrigin$1 {
2419
2427
  */
2420
2428
  override?: boolean | null;
2421
2429
  }
2430
+ interface DraftOrigin$1 {
2431
+ /** id of the automation that this draft belongs to, if it exists */
2432
+ parentId?: string | null;
2433
+ }
2422
2434
  interface AutomationSettings$1 {
2423
2435
  /** sets if the automation is hidden from users */
2424
2436
  hidden?: boolean;
@@ -2827,6 +2839,8 @@ interface Automation extends AutomationOriginInfoOneOf {
2827
2839
  applicationInfo?: ApplicationOrigin;
2828
2840
  /** Preinstalled info */
2829
2841
  preinstalledInfo?: PreinstalledOrigin;
2842
+ /** Draft info */
2843
+ draftInfo?: DraftOrigin;
2830
2844
  /**
2831
2845
  * Automation ID.
2832
2846
  * @readonly
@@ -2878,6 +2892,8 @@ interface AutomationOriginInfoOneOf {
2878
2892
  applicationInfo?: ApplicationOrigin;
2879
2893
  /** Preinstalled info */
2880
2894
  preinstalledInfo?: PreinstalledOrigin;
2895
+ /** Draft info */
2896
+ draftInfo?: DraftOrigin;
2881
2897
  }
2882
2898
  interface ActionSettings {
2883
2899
  /** list of permanent action ids of actions that cannot be deleted (default - empty, all actions are deletable by default) */
@@ -2959,6 +2975,7 @@ interface RateLimit {
2959
2975
  /**
2960
2976
  * Unique identifier of each activation by which rate limiter will count activations, expected return type is string
2961
2977
  * for example - {{ var(contact.id) }} to set the unique identifier as the value of "contact.id" from the payload
2978
+ * evaluated expression must be under 46 characters
2962
2979
  */
2963
2980
  uniqueIdentifierExpression?: string | null;
2964
2981
  }
@@ -3087,6 +3104,7 @@ interface Trigger {
3087
3104
  scheduledEventOffset?: FutureDateActivationOffset;
3088
3105
  /** optional - rate limiting configuration */
3089
3106
  rateLimit?: RateLimit;
3107
+ automationConfigMapping?: Record<string, any> | null;
3090
3108
  }
3091
3109
  interface Action extends ActionInfoOneOf {
3092
3110
  /** App defined Action (via RPC, HTTP or Velo) */
@@ -3165,7 +3183,9 @@ declare enum Origin {
3165
3183
  /** automation created by application (site specific) */
3166
3184
  APPLICATION = "APPLICATION",
3167
3185
  /** preinstalled application automation */
3168
- PREINSTALLED = "PREINSTALLED"
3186
+ PREINSTALLED = "PREINSTALLED",
3187
+ /** draft automation */
3188
+ DRAFT = "DRAFT"
3169
3189
  }
3170
3190
  interface ApplicationOrigin {
3171
3191
  /** identifier for the application */
@@ -3184,6 +3204,10 @@ interface PreinstalledOrigin {
3184
3204
  */
3185
3205
  override?: boolean | null;
3186
3206
  }
3207
+ interface DraftOrigin {
3208
+ /** id of the automation that this draft belongs to, if it exists */
3209
+ parentId?: string | null;
3210
+ }
3187
3211
  interface AutomationSettings {
3188
3212
  /** sets if the automation is hidden from users */
3189
3213
  hidden?: boolean;