@wix/automations 1.0.17 → 1.0.19

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.
@@ -1639,26 +1639,64 @@ declare global {
1639
1639
  }
1640
1640
  }
1641
1641
 
1642
+ declare function createAutomation$3(httpClient: HttpClient): (automation: Automation$2) => Promise<Automation$2 & AutomationNonNullableFields$1>;
1643
+ declare function getAutomation$3(httpClient: HttpClient): (automationId: string, options?: GetAutomationOptions$1) => Promise<Automation$2 & AutomationNonNullableFields$1>;
1644
+ declare function updateAutomation$3(httpClient: HttpClient): (_id: string | null, automation: UpdateAutomation$1) => Promise<Automation$2 & AutomationNonNullableFields$1>;
1645
+ declare function deleteAutomation$3(httpClient: HttpClient): (automationId: string, options?: DeleteAutomationOptions) => Promise<void>;
1646
+ declare function queryAutomations$3(httpClient: HttpClient): (options?: QueryAutomationsOptions) => AutomationsQueryBuilder$1;
1647
+ declare function overrideApplicationAutomation$1(httpClient: HttpClient): (automation: Automation$2) => Promise<OverrideApplicationAutomationResponse & OverrideApplicationAutomationResponseNonNullableFields>;
1648
+ declare function validateAutomationById$1(httpClient: HttpClient): (automationId: string, options?: ValidateAutomationByIdOptions) => Promise<ValidateAutomationByIdResponse & ValidateAutomationByIdResponseNonNullableFields>;
1649
+ declare function validateAutomation$3(httpClient: HttpClient): (automation: Automation$2) => Promise<ValidateAutomationResponse$1 & ValidateAutomationResponseNonNullableFields$1>;
1650
+ declare function getAutomationActivationStats$1(httpClient: HttpClient): (automationId: string, options?: GetAutomationActivationStatsOptions) => Promise<GetAutomationActivationReportsResponse & GetAutomationActivationReportsResponseNonNullableFields>;
1651
+ declare function getActionsQuotaInfo$1(httpClient: HttpClient): () => Promise<GetActionsQuotaInfoResponse$1 & GetActionsQuotaInfoResponseNonNullableFields>;
1652
+ declare function generateActionInputMappingFromTemplate$1(httpClient: HttpClient): (appId: string, options: GenerateActionInputMappingFromTemplateOptions) => Promise<GenerateActionInputMappingFromTemplateResponse>;
1653
+ declare const onAutomationCreated$3: EventDefinition<AutomationCreatedEnvelope$1, "wix.automations.v1.automation_created">;
1654
+ declare const onAutomationUpdated$3: EventDefinition<AutomationUpdatedEnvelope$1, "wix.automations.v1.automation_updated">;
1655
+ declare const onAutomationDeleted$3: EventDefinition<AutomationDeletedEnvelope$1, "wix.automations.v1.automation_deleted">;
1656
+ declare const onAutomationUpdatedWithPreviousEntity$3: EventDefinition<AutomationUpdatedWithPreviousEntityEnvelope$1, "wix.automations.v1.automation_updated_with_previous_entity">;
1657
+ declare const onAutomationDeletedWithEntity$3: EventDefinition<AutomationDeletedWithEntityEnvelope$1, "wix.automations.v1.automation_deleted_with_entity">;
1658
+
1642
1659
  declare function createRESTModule$2<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
1643
1660
 
1644
1661
  declare function createEventModule$2<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
1645
1662
 
1646
- declare const createAutomation$1: ReturnType<typeof createRESTModule$2<typeof publicCreateAutomation>>;
1647
- declare const getAutomation$1: ReturnType<typeof createRESTModule$2<typeof publicGetAutomation>>;
1648
- declare const updateAutomation$1: ReturnType<typeof createRESTModule$2<typeof publicUpdateAutomation>>;
1649
- declare const deleteAutomation$1: ReturnType<typeof createRESTModule$2<typeof publicDeleteAutomation>>;
1650
- declare const queryAutomations$1: ReturnType<typeof createRESTModule$2<typeof publicQueryAutomations>>;
1651
- declare const overrideApplicationAutomation: ReturnType<typeof createRESTModule$2<typeof publicOverrideApplicationAutomation>>;
1652
- declare const validateAutomationById: ReturnType<typeof createRESTModule$2<typeof publicValidateAutomationById>>;
1653
- declare const validateAutomation$1: ReturnType<typeof createRESTModule$2<typeof publicValidateAutomation>>;
1654
- declare const getAutomationActivationStats: ReturnType<typeof createRESTModule$2<typeof publicGetAutomationActivationStats>>;
1655
- declare const getActionsQuotaInfo: ReturnType<typeof createRESTModule$2<typeof publicGetActionsQuotaInfo>>;
1656
- declare const generateActionInputMappingFromTemplate: ReturnType<typeof createRESTModule$2<typeof publicGenerateActionInputMappingFromTemplate>>;
1657
- declare const onAutomationCreated$1: ReturnType<typeof createEventModule$2<typeof publicOnAutomationCreated>>;
1658
- declare const onAutomationUpdated$1: ReturnType<typeof createEventModule$2<typeof publicOnAutomationUpdated>>;
1659
- declare const onAutomationDeleted$1: ReturnType<typeof createEventModule$2<typeof publicOnAutomationDeleted>>;
1660
- declare const onAutomationUpdatedWithPreviousEntity$1: ReturnType<typeof createEventModule$2<typeof publicOnAutomationUpdatedWithPreviousEntity>>;
1661
- declare const onAutomationDeletedWithEntity$1: ReturnType<typeof createEventModule$2<typeof publicOnAutomationDeletedWithEntity>>;
1663
+ type _publicCreateAutomationType$1 = typeof createAutomation$3;
1664
+ declare const createAutomation$2: ReturnType<typeof createRESTModule$2<_publicCreateAutomationType>>;
1665
+ type _publicGetAutomationType$1 = typeof getAutomation$3;
1666
+ declare const getAutomation$2: ReturnType<typeof createRESTModule$2<_publicGetAutomationType>>;
1667
+ type _publicUpdateAutomationType$1 = typeof updateAutomation$3;
1668
+ declare const updateAutomation$2: ReturnType<typeof createRESTModule$2<_publicUpdateAutomationType>>;
1669
+ type _publicDeleteAutomationType$1 = typeof deleteAutomation$3;
1670
+ declare const deleteAutomation$2: ReturnType<typeof createRESTModule$2<_publicDeleteAutomationType>>;
1671
+ type _publicQueryAutomationsType$1 = typeof queryAutomations$3;
1672
+ declare const queryAutomations$2: ReturnType<typeof createRESTModule$2<_publicQueryAutomationsType>>;
1673
+ type _publicOverrideApplicationAutomationType = typeof overrideApplicationAutomation$1;
1674
+ declare const overrideApplicationAutomation: ReturnType<typeof createRESTModule$2<_publicOverrideApplicationAutomationType>>;
1675
+ type _publicValidateAutomationByIdType = typeof validateAutomationById$1;
1676
+ declare const validateAutomationById: ReturnType<typeof createRESTModule$2<_publicValidateAutomationByIdType>>;
1677
+ type _publicValidateAutomationType$1 = typeof validateAutomation$3;
1678
+ declare const validateAutomation$2: ReturnType<typeof createRESTModule$2<_publicValidateAutomationType>>;
1679
+ type _publicGetAutomationActivationStatsType = typeof getAutomationActivationStats$1;
1680
+ declare const getAutomationActivationStats: ReturnType<typeof createRESTModule$2<_publicGetAutomationActivationStatsType>>;
1681
+ type _publicGetActionsQuotaInfoType = typeof getActionsQuotaInfo$1;
1682
+ declare const getActionsQuotaInfo: ReturnType<typeof createRESTModule$2<_publicGetActionsQuotaInfoType>>;
1683
+ type _publicGenerateActionInputMappingFromTemplateType = typeof generateActionInputMappingFromTemplate$1;
1684
+ declare const generateActionInputMappingFromTemplate: ReturnType<typeof createRESTModule$2<_publicGenerateActionInputMappingFromTemplateType>>;
1685
+
1686
+ type _publicOnAutomationCreatedType$1 = typeof onAutomationCreated$3;
1687
+ declare const onAutomationCreated$2: ReturnType<typeof createEventModule$2<_publicOnAutomationCreatedType>>;
1688
+
1689
+ type _publicOnAutomationUpdatedType$1 = typeof onAutomationUpdated$3;
1690
+ declare const onAutomationUpdated$2: ReturnType<typeof createEventModule$2<_publicOnAutomationUpdatedType>>;
1691
+
1692
+ type _publicOnAutomationDeletedType$1 = typeof onAutomationDeleted$3;
1693
+ declare const onAutomationDeleted$2: ReturnType<typeof createEventModule$2<_publicOnAutomationDeletedType>>;
1694
+
1695
+ type _publicOnAutomationUpdatedWithPreviousEntityType$1 = typeof onAutomationUpdatedWithPreviousEntity$3;
1696
+ declare const onAutomationUpdatedWithPreviousEntity$2: ReturnType<typeof createEventModule$2<_publicOnAutomationUpdatedWithPreviousEntityType>>;
1697
+
1698
+ type _publicOnAutomationDeletedWithEntityType$1 = typeof onAutomationDeletedWithEntity$3;
1699
+ declare const onAutomationDeletedWithEntity$2: ReturnType<typeof createEventModule$2<_publicOnAutomationDeletedWithEntityType>>;
1662
1700
 
1663
1701
  type context$2_ActivationReport = ActivationReport;
1664
1702
  type context$2_AutomationMetadata = AutomationMetadata;
@@ -1714,13 +1752,18 @@ type context$2_ValidateAutomationByIdOptions = ValidateAutomationByIdOptions;
1714
1752
  type context$2_ValidateAutomationByIdRequest = ValidateAutomationByIdRequest;
1715
1753
  type context$2_ValidateAutomationByIdResponse = ValidateAutomationByIdResponse;
1716
1754
  type context$2_ValidateAutomationByIdResponseNonNullableFields = ValidateAutomationByIdResponseNonNullableFields;
1755
+ type context$2__publicGenerateActionInputMappingFromTemplateType = _publicGenerateActionInputMappingFromTemplateType;
1756
+ type context$2__publicGetActionsQuotaInfoType = _publicGetActionsQuotaInfoType;
1757
+ type context$2__publicGetAutomationActivationStatsType = _publicGetAutomationActivationStatsType;
1758
+ type context$2__publicOverrideApplicationAutomationType = _publicOverrideApplicationAutomationType;
1759
+ type context$2__publicValidateAutomationByIdType = _publicValidateAutomationByIdType;
1717
1760
  declare const context$2_generateActionInputMappingFromTemplate: typeof generateActionInputMappingFromTemplate;
1718
1761
  declare const context$2_getActionsQuotaInfo: typeof getActionsQuotaInfo;
1719
1762
  declare const context$2_getAutomationActivationStats: typeof getAutomationActivationStats;
1720
1763
  declare const context$2_overrideApplicationAutomation: typeof overrideApplicationAutomation;
1721
1764
  declare const context$2_validateAutomationById: typeof validateAutomationById;
1722
1765
  declare namespace context$2 {
1723
- export { type Action$2 as Action, type ActionConfigurationError$1 as ActionConfigurationError, ActionErrorType$1 as ActionErrorType, type ActionEvent$2 as ActionEvent, type ActionProviderQuotaInfo$1 as ActionProviderQuotaInfo, type ActionQuotaInfo$1 as ActionQuotaInfo, type ActionValidationError$1 as ActionValidationError, type ActionValidationErrorErrorOneOf$1 as ActionValidationErrorErrorOneOf, type ActionValidationInfo$1 as ActionValidationInfo, type context$2_ActivationReport as ActivationReport, ActivationStatus$1 as ActivationStatus, type AdditionalInfo$1 as AdditionalInfo, type ApplicationError$2 as ApplicationError, type Asset$1 as Asset, type Automation$2 as Automation, type AutomationCreatedEnvelope$1 as AutomationCreatedEnvelope, type AutomationDeletedEnvelope$1 as AutomationDeletedEnvelope, type AutomationDeletedWithEntityEnvelope$1 as AutomationDeletedWithEntityEnvelope, type context$2_AutomationMetadata as AutomationMetadata, type AutomationNonNullableFields$1 as AutomationNonNullableFields, type AutomationUpdatedEnvelope$1 as AutomationUpdatedEnvelope, type AutomationUpdatedWithPreviousEntityEnvelope$1 as AutomationUpdatedWithPreviousEntityEnvelope, type AutomationsQueryBuilder$1 as AutomationsQueryBuilder, type AutomationsQueryResult$1 as AutomationsQueryResult, type BaseEventMetadata$2 as BaseEventMetadata, BlockType$1 as BlockType, type BulkActionMetadata$2 as BulkActionMetadata, type context$2_BulkCreateApplicationAutomationRequest as BulkCreateApplicationAutomationRequest, type context$2_BulkCreateApplicationAutomationResponse as BulkCreateApplicationAutomationResponse, type BulkDeleteAutomationsRequest$1 as BulkDeleteAutomationsRequest, type BulkDeleteAutomationsResponse$1 as BulkDeleteAutomationsResponse, type CTA$1 as CTA, type context$2_Condition as Condition, type ConditionBlock$1 as ConditionBlock, type context$2_Conditions as Conditions, type CreateAutomationRequest$1 as CreateAutomationRequest, type CreateAutomationResponse$1 as CreateAutomationResponse, type CreateAutomationResponseNonNullableFields$1 as CreateAutomationResponseNonNullableFields, type CursorPaging$1 as CursorPaging, type Cursors$1 as Cursors, type context$2_Debounce as Debounce, type Delay$1 as Delay, type context$2_DelayTypeOneOf as DelayTypeOneOf, type context$2_DeleteAutomationOptions as DeleteAutomationOptions, type DeleteAutomationRequest$1 as DeleteAutomationRequest, type DeleteAutomationResponse$1 as DeleteAutomationResponse, type DeleteContext$1 as DeleteContext, DeleteStatus$1 as DeleteStatus, type DeletedWithEntity$1 as DeletedWithEntity, type DomainEvent$2 as DomainEvent, type DomainEventBodyOneOf$2 as DomainEventBodyOneOf, type Empty$2 as Empty, type EntityCreatedEvent$2 as EntityCreatedEvent, type EntityDeletedEvent$2 as EntityDeletedEvent, type EntityUpdatedEvent$2 as EntityUpdatedEvent, type EventMetadata$2 as EventMetadata, type context$2_ExtendedFields as ExtendedFields, type File$1 as File, type Filter$2 as Filter, type context$2_GenerateActionInputMappingFromTemplateOptions as GenerateActionInputMappingFromTemplateOptions, type context$2_GenerateActionInputMappingFromTemplateRequest as GenerateActionInputMappingFromTemplateRequest, type context$2_GenerateActionInputMappingFromTemplateResponse as GenerateActionInputMappingFromTemplateResponse, type context$2_GenerateApplicationAutomationFromCustomRequest as GenerateApplicationAutomationFromCustomRequest, type context$2_GenerateApplicationAutomationFromCustomResponse as GenerateApplicationAutomationFromCustomResponse, type GetActionsQuotaInfoRequest$1 as GetActionsQuotaInfoRequest, type GetActionsQuotaInfoResponse$1 as GetActionsQuotaInfoResponse, type context$2_GetActionsQuotaInfoResponseNonNullableFields as GetActionsQuotaInfoResponseNonNullableFields, type context$2_GetApplicationAutomationRequest as GetApplicationAutomationRequest, type context$2_GetApplicationAutomationResponse as GetApplicationAutomationResponse, type GetAutomationActionSchemaRequest$1 as GetAutomationActionSchemaRequest, type GetAutomationActionSchemaResponse$1 as GetAutomationActionSchemaResponse, type context$2_GetAutomationActivationReportsRequest as GetAutomationActivationReportsRequest, type context$2_GetAutomationActivationReportsResponse as GetAutomationActivationReportsResponse, type context$2_GetAutomationActivationReportsResponseNonNullableFields as GetAutomationActivationReportsResponseNonNullableFields, type context$2_GetAutomationActivationStatsOptions as GetAutomationActivationStatsOptions, type GetAutomationOptions$1 as GetAutomationOptions, type GetAutomationRequest$1 as GetAutomationRequest, type GetAutomationResponse$1 as GetAutomationResponse, type GetAutomationResponseNonNullableFields$1 as GetAutomationResponseNonNullableFields, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, type ItemMetadata$2 as ItemMetadata, type MessageEnvelope$2 as MessageEnvelope, type MetaSiteSpecialEvent$1 as MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf$1 as MetaSiteSpecialEventPayloadOneOf, type context$2_MigrationBulkCreateAutomations as MigrationBulkCreateAutomations, type context$2_MigrationBulkCreateAutomationsRequest as MigrationBulkCreateAutomationsRequest, type context$2_MigrationBulkCreateAutomationsResponse as MigrationBulkCreateAutomationsResponse, type context$2_MigrationUpdateMigratedToV3AutomationRequest as MigrationUpdateMigratedToV3AutomationRequest, type context$2_MigrationUpdateMigratedToV3AutomationResponse as MigrationUpdateMigratedToV3AutomationResponse, Namespace$1 as Namespace, type NamespaceChanged$1 as NamespaceChanged, type context$2_Offset as Offset, type context$2_OffsetValueOneOf as OffsetValueOneOf, type context$2_OverrideApplicationAutomationRequest as OverrideApplicationAutomationRequest, type context$2_OverrideApplicationAutomationResponse as OverrideApplicationAutomationResponse, type context$2_OverrideApplicationAutomationResponseNonNullableFields as OverrideApplicationAutomationResponseNonNullableFields, type context$2_Paging as Paging, type context$2_PagingMetadata as PagingMetadata, type context$2_PagingMetadataV2 as PagingMetadataV2, type Plan$1 as Plan, type ProviderConfigurationError$1 as ProviderConfigurationError, type context$2_QueryApplicationAutomationsRequest as QueryApplicationAutomationsRequest, type context$2_QueryApplicationAutomationsResponse as QueryApplicationAutomationsResponse, type context$2_QueryAutomationsOptions as QueryAutomationsOptions, type QueryAutomationsRequest$1 as QueryAutomationsRequest, type QueryAutomationsResponse$1 as QueryAutomationsResponse, type QueryAutomationsResponseNonNullableFields$1 as QueryAutomationsResponseNonNullableFields, type context$2_QueryV2 as QueryV2, type context$2_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type Quota$1 as Quota, type QuotaInfo$1 as QuotaInfo, type RateLimit$2 as RateLimit, type RestoreInfo$2 as RestoreInfo, type context$2_Rule as Rule, type ServiceProvisioned$1 as ServiceProvisioned, type ServiceRemoved$1 as ServiceRemoved, type SiteCreated$1 as SiteCreated, SiteCreatedContext$1 as SiteCreatedContext, type SiteDeleted$1 as SiteDeleted, type SiteHardDeleted$1 as SiteHardDeleted, type SiteMarkedAsTemplate$1 as SiteMarkedAsTemplate, type SiteMarkedAsWixSite$1 as SiteMarkedAsWixSite, type SitePublished$1 as SitePublished, type SiteRenamed$1 as SiteRenamed, type SiteTransferred$1 as SiteTransferred, type SiteUndeleted$1 as SiteUndeleted, type SiteUnpublished$1 as SiteUnpublished, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, type context$2_Source as Source, State$1 as State, Status$2 as Status, type StudioAssigned$1 as StudioAssigned, type StudioUnassigned$1 as StudioUnassigned, type context$2_SyncApplicationAutomationsRequest as SyncApplicationAutomationsRequest, type context$2_SyncApplicationAutomationsResponse as SyncApplicationAutomationsResponse, type Target$1 as Target, TargetType$1 as TargetType, type Trigger$2 as Trigger, type TriggerConfigurationError$1 as TriggerConfigurationError, TriggerErrorType$1 as TriggerErrorType, type TriggerValidationError$1 as TriggerValidationError, type TriggerValidationErrorErrorOneOf$1 as TriggerValidationErrorErrorOneOf, TriggerValidationErrorValidationErrorType$1 as TriggerValidationErrorValidationErrorType, Type$2 as Type, type UnprocessedTargetEvent$1 as UnprocessedTargetEvent, type context$2_Until as Until, type context$2_UpdateApplicationAutomationConfigurationIdRequest as UpdateApplicationAutomationConfigurationIdRequest, type context$2_UpdateApplicationAutomationConfigurationIdResponse as UpdateApplicationAutomationConfigurationIdResponse, type context$2_UpdateApplicationAutomationToMigratedFromV1Request as UpdateApplicationAutomationToMigratedFromV1Request, type context$2_UpdateApplicationAutomationToMigratedFromV1Response as UpdateApplicationAutomationToMigratedFromV1Response, type UpdateAutomation$1 as UpdateAutomation, type UpdateAutomationRequest$1 as UpdateAutomationRequest, type UpdateAutomationResponse$1 as UpdateAutomationResponse, type UpdateAutomationResponseNonNullableFields$1 as UpdateAutomationResponseNonNullableFields, type context$2_UpdatedAutomationsWithEsb as UpdatedAutomationsWithEsb, type UpdatedWithPreviousEntity$1 as UpdatedWithPreviousEntity, type UpgradeCTA$1 as UpgradeCTA, type context$2_ValidateAutomationByIdOptions as ValidateAutomationByIdOptions, type context$2_ValidateAutomationByIdRequest as ValidateAutomationByIdRequest, type context$2_ValidateAutomationByIdResponse as ValidateAutomationByIdResponse, type context$2_ValidateAutomationByIdResponseNonNullableFields as ValidateAutomationByIdResponseNonNullableFields, type ValidateAutomationRequest$1 as ValidateAutomationRequest, type ValidateAutomationResponse$1 as ValidateAutomationResponse, type ValidateAutomationResponseNonNullableFields$1 as ValidateAutomationResponseNonNullableFields, ValidationErrorType$1 as ValidationErrorType, WebhookIdentityType$2 as WebhookIdentityType, createAutomation$1 as createAutomation, deleteAutomation$1 as deleteAutomation, context$2_generateActionInputMappingFromTemplate as generateActionInputMappingFromTemplate, context$2_getActionsQuotaInfo as getActionsQuotaInfo, getAutomation$1 as getAutomation, context$2_getAutomationActivationStats as getAutomationActivationStats, onAutomationCreated$1 as onAutomationCreated, onAutomationDeleted$1 as onAutomationDeleted, onAutomationDeletedWithEntity$1 as onAutomationDeletedWithEntity, onAutomationUpdated$1 as onAutomationUpdated, onAutomationUpdatedWithPreviousEntity$1 as onAutomationUpdatedWithPreviousEntity, context$2_overrideApplicationAutomation as overrideApplicationAutomation, queryAutomations$1 as queryAutomations, updateAutomation$1 as updateAutomation, validateAutomation$1 as validateAutomation, context$2_validateAutomationById as validateAutomationById };
1766
+ export { type Action$2 as Action, type ActionConfigurationError$1 as ActionConfigurationError, ActionErrorType$1 as ActionErrorType, type ActionEvent$2 as ActionEvent, type ActionProviderQuotaInfo$1 as ActionProviderQuotaInfo, type ActionQuotaInfo$1 as ActionQuotaInfo, type ActionValidationError$1 as ActionValidationError, type ActionValidationErrorErrorOneOf$1 as ActionValidationErrorErrorOneOf, type ActionValidationInfo$1 as ActionValidationInfo, type context$2_ActivationReport as ActivationReport, ActivationStatus$1 as ActivationStatus, type AdditionalInfo$1 as AdditionalInfo, type ApplicationError$2 as ApplicationError, type Asset$1 as Asset, type Automation$2 as Automation, type AutomationCreatedEnvelope$1 as AutomationCreatedEnvelope, type AutomationDeletedEnvelope$1 as AutomationDeletedEnvelope, type AutomationDeletedWithEntityEnvelope$1 as AutomationDeletedWithEntityEnvelope, type context$2_AutomationMetadata as AutomationMetadata, type AutomationNonNullableFields$1 as AutomationNonNullableFields, type AutomationUpdatedEnvelope$1 as AutomationUpdatedEnvelope, type AutomationUpdatedWithPreviousEntityEnvelope$1 as AutomationUpdatedWithPreviousEntityEnvelope, type AutomationsQueryBuilder$1 as AutomationsQueryBuilder, type AutomationsQueryResult$1 as AutomationsQueryResult, type BaseEventMetadata$2 as BaseEventMetadata, BlockType$1 as BlockType, type BulkActionMetadata$2 as BulkActionMetadata, type context$2_BulkCreateApplicationAutomationRequest as BulkCreateApplicationAutomationRequest, type context$2_BulkCreateApplicationAutomationResponse as BulkCreateApplicationAutomationResponse, type BulkDeleteAutomationsRequest$1 as BulkDeleteAutomationsRequest, type BulkDeleteAutomationsResponse$1 as BulkDeleteAutomationsResponse, type CTA$1 as CTA, type context$2_Condition as Condition, type ConditionBlock$1 as ConditionBlock, type context$2_Conditions as Conditions, type CreateAutomationRequest$1 as CreateAutomationRequest, type CreateAutomationResponse$1 as CreateAutomationResponse, type CreateAutomationResponseNonNullableFields$1 as CreateAutomationResponseNonNullableFields, type CursorPaging$1 as CursorPaging, type Cursors$1 as Cursors, type context$2_Debounce as Debounce, type Delay$1 as Delay, type context$2_DelayTypeOneOf as DelayTypeOneOf, type context$2_DeleteAutomationOptions as DeleteAutomationOptions, type DeleteAutomationRequest$1 as DeleteAutomationRequest, type DeleteAutomationResponse$1 as DeleteAutomationResponse, type DeleteContext$1 as DeleteContext, DeleteStatus$1 as DeleteStatus, type DeletedWithEntity$1 as DeletedWithEntity, type DomainEvent$2 as DomainEvent, type DomainEventBodyOneOf$2 as DomainEventBodyOneOf, type Empty$2 as Empty, type EntityCreatedEvent$2 as EntityCreatedEvent, type EntityDeletedEvent$2 as EntityDeletedEvent, type EntityUpdatedEvent$2 as EntityUpdatedEvent, type EventMetadata$2 as EventMetadata, type context$2_ExtendedFields as ExtendedFields, type File$1 as File, type Filter$2 as Filter, type context$2_GenerateActionInputMappingFromTemplateOptions as GenerateActionInputMappingFromTemplateOptions, type context$2_GenerateActionInputMappingFromTemplateRequest as GenerateActionInputMappingFromTemplateRequest, type context$2_GenerateActionInputMappingFromTemplateResponse as GenerateActionInputMappingFromTemplateResponse, type context$2_GenerateApplicationAutomationFromCustomRequest as GenerateApplicationAutomationFromCustomRequest, type context$2_GenerateApplicationAutomationFromCustomResponse as GenerateApplicationAutomationFromCustomResponse, type GetActionsQuotaInfoRequest$1 as GetActionsQuotaInfoRequest, type GetActionsQuotaInfoResponse$1 as GetActionsQuotaInfoResponse, type context$2_GetActionsQuotaInfoResponseNonNullableFields as GetActionsQuotaInfoResponseNonNullableFields, type context$2_GetApplicationAutomationRequest as GetApplicationAutomationRequest, type context$2_GetApplicationAutomationResponse as GetApplicationAutomationResponse, type GetAutomationActionSchemaRequest$1 as GetAutomationActionSchemaRequest, type GetAutomationActionSchemaResponse$1 as GetAutomationActionSchemaResponse, type context$2_GetAutomationActivationReportsRequest as GetAutomationActivationReportsRequest, type context$2_GetAutomationActivationReportsResponse as GetAutomationActivationReportsResponse, type context$2_GetAutomationActivationReportsResponseNonNullableFields as GetAutomationActivationReportsResponseNonNullableFields, type context$2_GetAutomationActivationStatsOptions as GetAutomationActivationStatsOptions, type GetAutomationOptions$1 as GetAutomationOptions, type GetAutomationRequest$1 as GetAutomationRequest, type GetAutomationResponse$1 as GetAutomationResponse, type GetAutomationResponseNonNullableFields$1 as GetAutomationResponseNonNullableFields, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, type ItemMetadata$2 as ItemMetadata, type MessageEnvelope$2 as MessageEnvelope, type MetaSiteSpecialEvent$1 as MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf$1 as MetaSiteSpecialEventPayloadOneOf, type context$2_MigrationBulkCreateAutomations as MigrationBulkCreateAutomations, type context$2_MigrationBulkCreateAutomationsRequest as MigrationBulkCreateAutomationsRequest, type context$2_MigrationBulkCreateAutomationsResponse as MigrationBulkCreateAutomationsResponse, type context$2_MigrationUpdateMigratedToV3AutomationRequest as MigrationUpdateMigratedToV3AutomationRequest, type context$2_MigrationUpdateMigratedToV3AutomationResponse as MigrationUpdateMigratedToV3AutomationResponse, Namespace$1 as Namespace, type NamespaceChanged$1 as NamespaceChanged, type context$2_Offset as Offset, type context$2_OffsetValueOneOf as OffsetValueOneOf, type context$2_OverrideApplicationAutomationRequest as OverrideApplicationAutomationRequest, type context$2_OverrideApplicationAutomationResponse as OverrideApplicationAutomationResponse, type context$2_OverrideApplicationAutomationResponseNonNullableFields as OverrideApplicationAutomationResponseNonNullableFields, type context$2_Paging as Paging, type context$2_PagingMetadata as PagingMetadata, type context$2_PagingMetadataV2 as PagingMetadataV2, type Plan$1 as Plan, type ProviderConfigurationError$1 as ProviderConfigurationError, type context$2_QueryApplicationAutomationsRequest as QueryApplicationAutomationsRequest, type context$2_QueryApplicationAutomationsResponse as QueryApplicationAutomationsResponse, type context$2_QueryAutomationsOptions as QueryAutomationsOptions, type QueryAutomationsRequest$1 as QueryAutomationsRequest, type QueryAutomationsResponse$1 as QueryAutomationsResponse, type QueryAutomationsResponseNonNullableFields$1 as QueryAutomationsResponseNonNullableFields, type context$2_QueryV2 as QueryV2, type context$2_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type Quota$1 as Quota, type QuotaInfo$1 as QuotaInfo, type RateLimit$2 as RateLimit, type RestoreInfo$2 as RestoreInfo, type context$2_Rule as Rule, type ServiceProvisioned$1 as ServiceProvisioned, type ServiceRemoved$1 as ServiceRemoved, type SiteCreated$1 as SiteCreated, SiteCreatedContext$1 as SiteCreatedContext, type SiteDeleted$1 as SiteDeleted, type SiteHardDeleted$1 as SiteHardDeleted, type SiteMarkedAsTemplate$1 as SiteMarkedAsTemplate, type SiteMarkedAsWixSite$1 as SiteMarkedAsWixSite, type SitePublished$1 as SitePublished, type SiteRenamed$1 as SiteRenamed, type SiteTransferred$1 as SiteTransferred, type SiteUndeleted$1 as SiteUndeleted, type SiteUnpublished$1 as SiteUnpublished, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, type context$2_Source as Source, State$1 as State, Status$2 as Status, type StudioAssigned$1 as StudioAssigned, type StudioUnassigned$1 as StudioUnassigned, type context$2_SyncApplicationAutomationsRequest as SyncApplicationAutomationsRequest, type context$2_SyncApplicationAutomationsResponse as SyncApplicationAutomationsResponse, type Target$1 as Target, TargetType$1 as TargetType, type Trigger$2 as Trigger, type TriggerConfigurationError$1 as TriggerConfigurationError, TriggerErrorType$1 as TriggerErrorType, type TriggerValidationError$1 as TriggerValidationError, type TriggerValidationErrorErrorOneOf$1 as TriggerValidationErrorErrorOneOf, TriggerValidationErrorValidationErrorType$1 as TriggerValidationErrorValidationErrorType, Type$2 as Type, type UnprocessedTargetEvent$1 as UnprocessedTargetEvent, type context$2_Until as Until, type context$2_UpdateApplicationAutomationConfigurationIdRequest as UpdateApplicationAutomationConfigurationIdRequest, type context$2_UpdateApplicationAutomationConfigurationIdResponse as UpdateApplicationAutomationConfigurationIdResponse, type context$2_UpdateApplicationAutomationToMigratedFromV1Request as UpdateApplicationAutomationToMigratedFromV1Request, type context$2_UpdateApplicationAutomationToMigratedFromV1Response as UpdateApplicationAutomationToMigratedFromV1Response, type UpdateAutomation$1 as UpdateAutomation, type UpdateAutomationRequest$1 as UpdateAutomationRequest, type UpdateAutomationResponse$1 as UpdateAutomationResponse, type UpdateAutomationResponseNonNullableFields$1 as UpdateAutomationResponseNonNullableFields, type context$2_UpdatedAutomationsWithEsb as UpdatedAutomationsWithEsb, type UpdatedWithPreviousEntity$1 as UpdatedWithPreviousEntity, type UpgradeCTA$1 as UpgradeCTA, type context$2_ValidateAutomationByIdOptions as ValidateAutomationByIdOptions, type context$2_ValidateAutomationByIdRequest as ValidateAutomationByIdRequest, type context$2_ValidateAutomationByIdResponse as ValidateAutomationByIdResponse, type context$2_ValidateAutomationByIdResponseNonNullableFields as ValidateAutomationByIdResponseNonNullableFields, type ValidateAutomationRequest$1 as ValidateAutomationRequest, type ValidateAutomationResponse$1 as ValidateAutomationResponse, type ValidateAutomationResponseNonNullableFields$1 as ValidateAutomationResponseNonNullableFields, ValidationErrorType$1 as ValidationErrorType, WebhookIdentityType$2 as WebhookIdentityType, type _publicCreateAutomationType$1 as _publicCreateAutomationType, type _publicDeleteAutomationType$1 as _publicDeleteAutomationType, type context$2__publicGenerateActionInputMappingFromTemplateType as _publicGenerateActionInputMappingFromTemplateType, type context$2__publicGetActionsQuotaInfoType as _publicGetActionsQuotaInfoType, type context$2__publicGetAutomationActivationStatsType as _publicGetAutomationActivationStatsType, type _publicGetAutomationType$1 as _publicGetAutomationType, type _publicOnAutomationCreatedType$1 as _publicOnAutomationCreatedType, type _publicOnAutomationDeletedType$1 as _publicOnAutomationDeletedType, type _publicOnAutomationDeletedWithEntityType$1 as _publicOnAutomationDeletedWithEntityType, type _publicOnAutomationUpdatedType$1 as _publicOnAutomationUpdatedType, type _publicOnAutomationUpdatedWithPreviousEntityType$1 as _publicOnAutomationUpdatedWithPreviousEntityType, type context$2__publicOverrideApplicationAutomationType as _publicOverrideApplicationAutomationType, type _publicQueryAutomationsType$1 as _publicQueryAutomationsType, type _publicUpdateAutomationType$1 as _publicUpdateAutomationType, type context$2__publicValidateAutomationByIdType as _publicValidateAutomationByIdType, type _publicValidateAutomationType$1 as _publicValidateAutomationType, createAutomation$2 as createAutomation, deleteAutomation$2 as deleteAutomation, context$2_generateActionInputMappingFromTemplate as generateActionInputMappingFromTemplate, context$2_getActionsQuotaInfo as getActionsQuotaInfo, getAutomation$2 as getAutomation, context$2_getAutomationActivationStats as getAutomationActivationStats, onAutomationCreated$2 as onAutomationCreated, onAutomationDeleted$2 as onAutomationDeleted, onAutomationDeletedWithEntity$2 as onAutomationDeletedWithEntity, onAutomationUpdated$2 as onAutomationUpdated, onAutomationUpdatedWithPreviousEntity$2 as onAutomationUpdatedWithPreviousEntity, context$2_overrideApplicationAutomation as overrideApplicationAutomation, onAutomationCreated$3 as publicOnAutomationCreated, onAutomationDeleted$3 as publicOnAutomationDeleted, onAutomationDeletedWithEntity$3 as publicOnAutomationDeletedWithEntity, onAutomationUpdated$3 as publicOnAutomationUpdated, onAutomationUpdatedWithPreviousEntity$3 as publicOnAutomationUpdatedWithPreviousEntity, queryAutomations$2 as queryAutomations, updateAutomation$2 as updateAutomation, validateAutomation$2 as validateAutomation, context$2_validateAutomationById as validateAutomationById };
1724
1767
  }
1725
1768
 
1726
1769
  interface Activation {
@@ -1729,7 +1772,6 @@ interface Activation {
1729
1772
  /** Activation automation */
1730
1773
  automation?: Automation$1;
1731
1774
  }
1732
- /** Automation */
1733
1775
  interface Automation$1 extends AutomationOriginInfoOneOf$1 {
1734
1776
  /** Application info */
1735
1777
  applicationInfo?: ApplicationOrigin$1;
@@ -1743,43 +1785,43 @@ interface Automation$1 extends AutomationOriginInfoOneOf$1 {
1743
1785
  */
1744
1786
  _id?: string | null;
1745
1787
  /**
1746
- * Revision number, which increments by 1 each time the Automation is updated.
1788
+ * Revision number, which increments by 1 each time the automation is updated.
1747
1789
  * To prevent conflicting changes,
1748
- * the current revision must be passed when updating the Automation.
1790
+ * the current revision must be passed when updating the automation.
1749
1791
  *
1750
- * Ignored when creating an Automation.
1792
+ * Ignored when creating an automation.
1751
1793
  * @readonly
1752
1794
  */
1753
1795
  revision?: string | null;
1754
1796
  /**
1755
- * information about the creator of the automation
1797
+ * Information about the creator of the automation.
1756
1798
  * @readonly
1757
1799
  */
1758
1800
  createdBy?: AuditInfo$1;
1759
1801
  /**
1760
- * Date and time the Automation was created.
1802
+ * Date and time the automation was created.
1761
1803
  * @readonly
1762
1804
  */
1763
1805
  _createdDate?: Date;
1764
1806
  /**
1765
- * information about who updated of the automation
1807
+ * The entity that last updated the automation.
1766
1808
  * @readonly
1767
1809
  */
1768
1810
  updatedBy?: AuditInfo$1;
1769
1811
  /**
1770
- * Date and time the Automation was last updated.
1812
+ * Date and time the automation was last updated.
1771
1813
  * @readonly
1772
1814
  */
1773
1815
  _updatedDate?: Date;
1774
- /** Automation name */
1816
+ /** Automation name that is displayed on the user's site. */
1775
1817
  name?: string;
1776
- /** Automation description */
1818
+ /** Automation description. */
1777
1819
  description?: string | null;
1778
- /** Automation runtime configuration */
1820
+ /** Object that defines the automation's trigger, actions, and activation status. */
1779
1821
  configuration?: AutomationConfiguration$1;
1780
- /** Origin type */
1822
+ /** Defines how the automation was added to the site. */
1781
1823
  origin?: Origin$1;
1782
- /** Automation settings */
1824
+ /** Automation settings. */
1783
1825
  settings?: AutomationSettings$1;
1784
1826
  }
1785
1827
  /** @oneof */
@@ -1792,39 +1834,45 @@ interface AutomationOriginInfoOneOf$1 {
1792
1834
  draftInfo?: DraftOrigin$1;
1793
1835
  }
1794
1836
  interface ActionSettings$1 {
1795
- /** list of permanent action ids of actions that cannot be deleted (default - empty, all actions are deletable by default) */
1837
+ /**
1838
+ * List of actions that cannot be deleted.
1839
+ * Default: Empty. All actions are deletable by default.
1840
+ */
1796
1841
  permanentActionIds?: string[];
1797
- /** list of readonly action ids, (default - empty, all actions are editable by default) */
1842
+ /**
1843
+ * List of actions that cannot be edited.
1844
+ * Default: Empty. All actions are editable by default.
1845
+ */
1798
1846
  readonlyActionIds?: string[];
1799
- /** sets if adding a delay action is disabled for this automation */
1847
+ /** Whether the option to add a delay is disabled for the automation. */
1800
1848
  disableDelayAddition?: boolean;
1801
- /** sets if adding a condition action is disabled for this automation */
1849
+ /** Whether the option to add a condition is disabled for the automation. */
1802
1850
  disableConditionAddition?: boolean;
1803
1851
  }
1804
1852
  interface AuditInfo$1 extends AuditInfoIdOneOf$1 {
1805
- /** user identifier */
1853
+ /** User ID. */
1806
1854
  userId?: string;
1807
- /** application identifier */
1855
+ /** Application ID. */
1808
1856
  appId?: string;
1809
1857
  }
1810
1858
  /** @oneof */
1811
1859
  interface AuditInfoIdOneOf$1 {
1812
- /** user identifier */
1860
+ /** User ID. */
1813
1861
  userId?: string;
1814
- /** application identifier */
1862
+ /** Application ID. */
1815
1863
  appId?: string;
1816
1864
  }
1817
1865
  /** Automation runtime configuration */
1818
1866
  interface AutomationConfiguration$1 {
1819
- /** Automation's Status */
1867
+ /** Status of the automation on the site. */
1820
1868
  status?: AutomationConfigurationStatus;
1821
- /** Trigger configuration */
1869
+ /** Automation trigger configuration. */
1822
1870
  trigger?: Trigger$1;
1823
- /** actions that run in parallel after the trigger */
1871
+ /** List of IDs of root actions. Root actions are the first actions to run after the trigger. The actions in the list run in parallel. */
1824
1872
  rootActionIds?: string[];
1825
1873
  /**
1826
- * map of all actions by actionId
1827
- * The key is the actionId of the action, and the value is the action configuration
1874
+ * Map of all actions that the automation may execute.
1875
+ * The key is the action ID, and the value is the action configuration.
1828
1876
  */
1829
1877
  actions?: Record<string, AutomationConfigurationAction>;
1830
1878
  }
@@ -1837,51 +1885,36 @@ declare enum TimeUnit$1 {
1837
1885
  MONTHS = "MONTHS"
1838
1886
  }
1839
1887
  interface Filter$1 {
1840
- /** the filter identifier */
1888
+ /** Filter ID. */
1841
1889
  _id?: string;
1842
- /** the field key from the schema, for example "formId" */
1890
+ /** Field key from the payload schema, for example "formId". */
1843
1891
  fieldKey?: string;
1844
- /** filter expression that evaluates to a boolean, for example - {{ contains(["guid1","guid2"];formId) }} */
1892
+ /** Filter expression that evaluates to a boolean. */
1845
1893
  filterExpression?: string;
1846
1894
  }
1847
1895
  interface FutureDateActivationOffset$1 {
1848
1896
  /**
1849
- * expression of offset before the trigger's time (in selected time unit), when the Automation should run
1850
- * only allows negative offset from the trigger's date (before the trigger), positive offset should be achieved via offset delay action
1851
- * preScheduledEventOffsetExpression: "{{5}}" + timeUnit: Days - to run the Automation 5 days before the trigger's date
1852
- * or, preScheduledEventOffsetExpression: "{{ someNumberField }}" + timeUnit: Minutes, to run the Automation someNumberField's value in minutes before the trigger's date
1897
+ * The offset value. The value is always taken as negative, so that the automation runs before the trigger date.
1898
+ * To create an offset that causes the automation to run after the trigger date, use a delay action.
1853
1899
  */
1854
1900
  preScheduledEventOffsetExpression?: string;
1855
- /** Time unit for the scheduled event offset */
1901
+ /** Time unit for the scheduled event offset. */
1856
1902
  scheduledEventOffsetTimeUnit?: TimeUnit$1;
1857
1903
  }
1858
1904
  interface RateLimit$1 {
1859
- /**
1860
- * Maximum number of activations expression. the expression will need to be parsed to Int on runtime
1861
- * for example - "{{ 1 }}" to set max activations to 1, or "{{ var(someNumberField) }}" to set max activations as the value of "someNumberField" from the payload
1862
- */
1905
+ /** Value expressing the maximum number of times the trigger can be activated. */
1863
1906
  maxActivationsExpression?: string;
1864
- /**
1865
- * Duration of the rate limiting window (in selected time unit) expression for rate limiter, if empty then no time limit. the expression will need to be parsed to Int on runtime
1866
- * for example - "{{ 10 }}" to set timeframe to be 10 minutes, or {{ var(someNumberField) }} to set timeframe in minutes as the value of "someNumberField" from the payload
1867
- */
1907
+ /** Duration of the rate limiting window in the selected time unit. If no value is set, the rate limit is permanent. */
1868
1908
  durationExpression?: string | null;
1869
- /** Time unit for the rate limit duration */
1909
+ /** Time unit for the rate limit duration. */
1870
1910
  durationTimeUnit?: TimeUnit$1;
1871
- /**
1872
- * Unique identifier of each activation by which rate limiter will count activations, expected return type is string
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
1875
- */
1911
+ /** Unique identifier of each activation, by which rate limiter will count activations. */
1876
1912
  uniqueIdentifierExpression?: string | null;
1877
1913
  }
1878
1914
  interface ConditionExpressionGroup$1 {
1879
- /** expression group operator */
1915
+ /** Expression group operator. */
1880
1916
  operator?: Operator$1;
1881
- /**
1882
- * list of boolean expressions to be evaluated with the given operator
1883
- * examples - {{ true }}, {{ someBooleanField }}, {{ contains(["guid1...","guid2..."];formId) }}
1884
- */
1917
+ /** List of boolean expressions to be evaluated with the given operator. */
1885
1918
  booleanExpressions?: string[];
1886
1919
  }
1887
1920
  declare enum Operator$1 {
@@ -1904,86 +1937,60 @@ declare enum Type$1 {
1904
1937
  OUTPUT = "OUTPUT"
1905
1938
  }
1906
1939
  interface AppDefinedAction$1 {
1907
- /** Action app id */
1940
+ /** ID of the app that defines the action. */
1908
1941
  appId?: string;
1909
- /** Action key */
1942
+ /** Action key. */
1910
1943
  actionKey?: string;
1911
- /**
1912
- * Action input mapping, example:
1913
- * {
1914
- * "to": "{{ var(contact.email) }}",
1915
- * "subject": "Your registration to {{ var(eventName) }} is Confirmed",
1916
- * "body": "Hi {{ var(contact.name) }}, you are confirmed for the event"
1917
- * }
1918
- */
1944
+ /** Action input mapping. */
1919
1945
  inputMapping?: Record<string, any> | null;
1920
1946
  /**
1921
- * optional skip condition configuration - if this action should be skipped when the automation runs (following actions of a skipped action will still run)
1922
- * the action will be skipped if either of the expression groups evaluate to `true`
1923
- * the relation between the expression groups is an OR relation.
1947
+ * Array of conditions determining whether to skip the action in the automation flow.
1948
+ * The action will be skipped if any of the expression groups evaluate to `true`.
1949
+ * Actions following a skipped action will still run.
1924
1950
  */
1925
1951
  skipConditionOrExpressionGroups?: ConditionExpressionGroup$1[];
1926
- /** actions to run in parallel after this action finishes */
1952
+ /** List of IDs of actions to run in parallel once the action completes. */
1927
1953
  postActionIds?: string[];
1928
1954
  }
1929
1955
  interface ConditionAction$1 {
1930
- /**
1931
- * the condition evaluates to `true` if either of the expression groups evaluate to `true`
1932
- * the relation between the expression groups is an OR relation.
1933
- */
1956
+ /** The condition evaluates to `true` if either of the expression groups evaluate to `true`. */
1934
1957
  orExpressionGroups?: ConditionExpressionGroup$1[];
1935
- /** actions to run when the entire condition is evaluated to `true` */
1958
+ /** List of IDs of actions to run when the entire condition is evaluated to `true`. */
1936
1959
  truePostActionIds?: string[];
1937
- /** actions to run when the entire condition is evaluated to `false` */
1960
+ /** List of IDs of actions to run when the entire condition is evaluated to `false`. */
1938
1961
  falsePostActionIds?: string[];
1939
1962
  }
1940
1963
  interface DelayAction$1 {
1941
- /**
1942
- * optional - expression for amount of time to wait (in selected time unit) - from a specific date or from the time the action is executed
1943
- * offsetExpression: "{{5}}" + timeUnit: Days - to wait for 5 days from the time the delay was invoked
1944
- * or, offsetExpression: "{{5}}" + timeUnit: Days + dueDateEpochExpression: "{{someDateField}}" - to wait for 5 days from the time date in "someDateField" field in the payload
1945
- * or, offsetExpression: "{{ someNumberField }}" + timeUnit: Minutes, to wait for someNumberField's value in minutes
1946
- */
1964
+ /** Value expressing the amount of time to wait from a specific date or from the time the action is executed. */
1947
1965
  offsetExpression?: string | null;
1948
- /** Time unit for delay offset */
1966
+ /** Time unit for delay offset. */
1949
1967
  offsetTimeUnit?: TimeUnit$1;
1950
1968
  /**
1951
- * optional - expression of the due date to wait until, if an offset was defined, it will be calculated from this date
1952
- * number of milliseconds since the Unix Epoch (1 January, 1970 UTC)
1953
- * for example - "{{ 18238348023423 }}", or "{{ someEpochFromPayloadField }}" / "{{ contact.birthdate }}"
1969
+ * The action due date. If defined without an offset, the automation will wait until this date to execute the next step.
1970
+ * If an offset is defined, it's calculated from this date.
1971
+ * The date is expressed in the number of milliseconds since the Unix Epoch (1 January, 1970 UTC).
1954
1972
  */
1955
1973
  dueDateEpochExpression?: string | null;
1956
- /** actions to run in parallel after this action finishes */
1974
+ /** List of IDs of actions to run in parallel after the delay. */
1957
1975
  postActionIds?: string[];
1958
1976
  }
1959
1977
  interface RateLimitAction$1 {
1960
- /**
1961
- * Maximum number of activations expression. the expression will need to be parsed to Int on runtime
1962
- * for example - "{{ 1 }}" to set max activations to 1, or "{{ var(someNumberField) }}" to set max activations as the value of "someNumberField" from the payload
1963
- */
1978
+ /** The maximum number of activations allowed for the action. */
1964
1979
  maxActivationsExpression?: string;
1965
1980
  /**
1966
- * Duration of the rate limiting window (in selected time unit) expression for rate limiter, if empty then no time limit. the expression will need to be parsed to Int on runtime
1967
- * for example - "{{ 10 }}" to set timeframe to be 10 minutes, or {{ var(someNumberField) }} to set timeframe in minutes as the value of "someNumberField" from the payload
1981
+ * Duration of the rate limiting window, expressed in selected time unit.
1982
+ * If no value is set, then there is no time limit on the rate limiter.
1968
1983
  */
1969
1984
  rateLimitDurationExpression?: string | null;
1970
- /** Time unit for the rate limit duration */
1985
+ /** Time unit for the rate limit duration. */
1971
1986
  rateLimitDurationTimeUnit?: TimeUnit$1;
1972
- /**
1973
- * Unique identifier of each activation by which rate limiter will count activations, expected return type is string
1974
- * for example - {{ var(contact.id) }} to set the unique identifier as the value of "contact.id" from the payload
1975
- */
1987
+ /** Unique identifier of each activation by which rate limiter counts activations. */
1976
1988
  uniqueIdentifierExpression?: string | null;
1977
- /** actions to run in parallel after this action finishes */
1989
+ /** List of IDs of actions to run in parallel once the action completes. */
1978
1990
  postActionIds?: string[];
1979
1991
  }
1980
1992
  interface OutputAction$1 {
1981
- /**
1982
- * Output action output mapping
1983
- * {
1984
- * "to": "{{ var(contact.email) }}"
1985
- * }
1986
- */
1993
+ /** Output action output mapping. */
1987
1994
  outputMapping?: Record<string, any> | null;
1988
1995
  }
1989
1996
  declare enum AutomationConfigurationStatus {
@@ -1995,89 +2002,52 @@ declare enum AutomationConfigurationStatus {
1995
2002
  INACTIVE = "INACTIVE"
1996
2003
  }
1997
2004
  interface Trigger$1 {
1998
- /** Trigger Application id */
2005
+ /** ID of the app that defines the trigger. */
1999
2006
  appId?: string;
2000
- /** Trigger key */
2007
+ /** Trigger key. */
2001
2008
  triggerKey?: string;
2002
2009
  /**
2003
- * optional - list of filters on schema fields
2004
- * the relation between the filter expressions is an AND relation.
2005
- * all filter expressions must be evaluated to `true` for a given payload in order for the automation to be executed
2010
+ * List of filters on schema fields.
2011
+ * In order for the automation to run, all filter expressions must evaluate to `true` for a given payload.
2006
2012
  */
2007
2013
  filters?: Filter$1[];
2008
- /** optional - future date trigger activation offset */
2014
+ /** Defines the time offset between the trigger date and when the automation runs. */
2009
2015
  scheduledEventOffset?: FutureDateActivationOffset$1;
2010
- /** optional - rate limiting configuration */
2016
+ /** Limits the number of times an automation can be triggered. */
2011
2017
  rateLimit?: RateLimit$1;
2012
2018
  automationConfigMapping?: Record<string, any> | null;
2013
2019
  }
2014
2020
  interface AutomationConfigurationAction extends AutomationConfigurationActionInfoOneOf {
2015
- /** App defined Action (via RPC, HTTP or Velo) */
2021
+ /** Action defined by an app (via RPC, HTTP or Velo). */
2016
2022
  appDefinedInfo?: AppDefinedAction$1;
2017
- /** Condition action */
2023
+ /** Condition action. */
2018
2024
  conditionInfo?: ConditionAction$1;
2019
- /** Delay action */
2025
+ /** Delay action. */
2020
2026
  delayInfo?: DelayAction$1;
2021
- /** Rate limiting action */
2027
+ /** Rate-limiting action. */
2022
2028
  rateLimitInfo?: RateLimitAction$1;
2023
- /** Action id, if not specified, will be generated */
2029
+ /** Action ID. If not specified, a new ID is generated. */
2024
2030
  _id?: string | null;
2025
- /** Type of the action */
2031
+ /** Action type. */
2026
2032
  type?: Type$1;
2027
2033
  /**
2028
- * Human readable name for the action (may only contain alphanumeric characters and underscores) to differentiate from other actions of the same kind.
2029
- * if the action has output, the output will be available in the payload under this name, otherwise it will be concatenated to the payload as is
2030
- * without namespaces (or in case of exact same namespaces), if the user has multiple actions of the same kind (appId+actionKey), the output will be overwritten.
2031
- *
2032
- * for example, given:
2033
- * - if the action output looks like this - { "message": "hello" }
2034
- * - the namespace is "action_1"
2035
- * - the trigger payload looks like this - { "someField": "50", "someBoolean": true }
2036
- *
2037
- * the payload will look like this:
2038
- * {
2039
- * "someField": "50",
2040
- * "someBoolean": true,
2041
- * "action_1": {
2042
- * "message": "hello"
2043
- * }
2044
- * }
2045
- *
2046
- * given the following Automation configuration:
2047
- *
2048
- * (Trigger A)
2049
- * |
2050
- * (Action B) // namespace = "action_b_1"
2051
- * |
2052
- * (Action B) // namespace = "action_b_2"
2053
- * |
2054
- * (Action C)
2055
- *
2056
- *
2057
- * the available fields that Action C will be able to use to map to it's input fields will be:
2058
- * {
2059
- * "someField": "50",
2060
- * "someBoolean": true,
2061
- * "action_b_1": {
2062
- * "message": "hello"
2063
- * },
2064
- * "action_b_2": {
2065
- * "message": "hello"
2066
- * }
2067
- * }
2068
- * so the user can select which specific action output to use (action_b_1.message or action_b_2.message, in the case above)
2034
+ * Human-readable name to differentiate the action from other actions of the same type.
2035
+ * The name can contain only alphanumeric characters and underscores. If not provided, a namespace in the form `actionkey-indexOfAction` is
2036
+ * generated automatically.
2037
+ * If the action has output, the output will be available in the payload under this name.
2038
+ * If the user has multiple actions with the same appId and actionKey, previous action output will be overwritten.
2069
2039
  */
2070
2040
  namespace?: string | null;
2071
2041
  }
2072
2042
  /** @oneof */
2073
2043
  interface AutomationConfigurationActionInfoOneOf {
2074
- /** App defined Action (via RPC, HTTP or Velo) */
2044
+ /** Action defined by an app (via RPC, HTTP or Velo). */
2075
2045
  appDefinedInfo?: AppDefinedAction$1;
2076
- /** Condition action */
2046
+ /** Condition action. */
2077
2047
  conditionInfo?: ConditionAction$1;
2078
- /** Delay action */
2048
+ /** Delay action. */
2079
2049
  delayInfo?: DelayAction$1;
2080
- /** Rate limiting action */
2050
+ /** Rate-limiting action. */
2081
2051
  rateLimitInfo?: RateLimitAction$1;
2082
2052
  }
2083
2053
  declare enum Origin$1 {
@@ -2093,18 +2063,22 @@ declare enum Origin$1 {
2093
2063
  DRAFT = "DRAFT"
2094
2064
  }
2095
2065
  interface ApplicationOrigin$1 {
2096
- /** identifier for the application */
2066
+ /** Application ID. */
2097
2067
  appId?: string;
2098
2068
  }
2099
2069
  interface PreinstalledOrigin$1 {
2100
- /** identifier for the application */
2070
+ /** ID of the app that defines the preinstalled automation. */
2101
2071
  appId?: string;
2102
- /** application component ID */
2072
+ /** Application component ID. */
2103
2073
  componentId?: string;
2104
- /** application component Version */
2074
+ /** Application component version. */
2105
2075
  componentVersion?: number;
2106
2076
  /**
2107
- * is this a user modified preinstalled automation (on a specific site) or the original one
2077
+ * Whether the automation is an override automation. If the user modifies the preinstalled automation installed on their site, a site-specific
2078
+ * automation is created that overrides the original one. If the user makes no modifications this boolean is set to `false` and the original
2079
+ * preinstalled automation is used.
2080
+ *
2081
+ * Default: `false`
2108
2082
  * @readonly
2109
2083
  */
2110
2084
  override?: boolean | null;
@@ -2114,15 +2088,27 @@ interface DraftOrigin$1 {
2114
2088
  parentId?: string | null;
2115
2089
  }
2116
2090
  interface AutomationSettings$1 {
2117
- /** sets if the automation is hidden from users */
2091
+ /**
2092
+ * Whether the automation is hidden from users.
2093
+ * Default: `false`
2094
+ */
2118
2095
  hidden?: boolean;
2119
- /** sets if the automation is readonly */
2096
+ /**
2097
+ * Whether the automation is read-only.
2098
+ * Default: `false`
2099
+ */
2120
2100
  readonly?: boolean;
2121
- /** sets if deleting the automation is disabled */
2101
+ /**
2102
+ * Whether the option to delete the automation from the site is disabled.
2103
+ * Default: `false`
2104
+ */
2122
2105
  disableDelete?: boolean;
2123
- /** sets if changing the automation status is disabled (from active to inactive and vice versa) */
2106
+ /**
2107
+ * Whether the option to change the automation status (from active to inactive and vice versa) is disabled.
2108
+ * Default: `false`
2109
+ */
2124
2110
  disableStatusChange?: boolean;
2125
- /** Automation's action settings */
2111
+ /** Automation action settings. */
2126
2112
  actionSettings?: ActionSettings$1;
2127
2113
  }
2128
2114
  interface ActivationStatus {
@@ -3314,15 +3300,27 @@ interface ReportEventOptions {
3314
3300
  idempotency?: Idempotency;
3315
3301
  }
3316
3302
 
3303
+ declare function reportEvent$1(httpClient: HttpClient): (triggerKey: string, options?: ReportEventOptions) => Promise<ReportEventResponse & ReportEventResponseNonNullableFields>;
3304
+ declare function bulkReportEvent$1(httpClient: HttpClient): (triggerKey: string, eventsInfo: EventInfo[]) => Promise<BulkReportEventResponse & BulkReportEventResponseNonNullableFields>;
3305
+ declare function bulkCancelEvent$1(httpClient: HttpClient): (triggerKey: string, externalEntityIds: string[]) => Promise<BulkCancelEventResponse & BulkCancelEventResponseNonNullableFields>;
3306
+ declare function cancelEvent$1(httpClient: HttpClient): (triggerKey: string, externalEntityId: string) => Promise<void>;
3307
+ declare const onActivationStatusChanged$1: EventDefinition<ActivationStatusChangedEnvelope, "wix.automations.v2.activation_activation_status_changed">;
3308
+
3317
3309
  declare function createRESTModule$1<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
3318
3310
 
3319
3311
  declare function createEventModule$1<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
3320
3312
 
3321
- declare const reportEvent: ReturnType<typeof createRESTModule$1<typeof publicReportEvent>>;
3322
- declare const bulkReportEvent: ReturnType<typeof createRESTModule$1<typeof publicBulkReportEvent>>;
3323
- declare const bulkCancelEvent: ReturnType<typeof createRESTModule$1<typeof publicBulkCancelEvent>>;
3324
- declare const cancelEvent: ReturnType<typeof createRESTModule$1<typeof publicCancelEvent>>;
3325
- declare const onActivationStatusChanged: ReturnType<typeof createEventModule$1<typeof publicOnActivationStatusChanged>>;
3313
+ type _publicReportEventType = typeof reportEvent$1;
3314
+ declare const reportEvent: ReturnType<typeof createRESTModule$1<_publicReportEventType>>;
3315
+ type _publicBulkReportEventType = typeof bulkReportEvent$1;
3316
+ declare const bulkReportEvent: ReturnType<typeof createRESTModule$1<_publicBulkReportEventType>>;
3317
+ type _publicBulkCancelEventType = typeof bulkCancelEvent$1;
3318
+ declare const bulkCancelEvent: ReturnType<typeof createRESTModule$1<_publicBulkCancelEventType>>;
3319
+ type _publicCancelEventType = typeof cancelEvent$1;
3320
+ declare const cancelEvent: ReturnType<typeof createRESTModule$1<_publicCancelEventType>>;
3321
+
3322
+ type _publicOnActivationStatusChangedType = typeof onActivationStatusChanged$1;
3323
+ declare const onActivationStatusChanged: ReturnType<typeof createEventModule$1<_publicOnActivationStatusChangedType>>;
3326
3324
 
3327
3325
  type context$1_ActionActionOneOf = ActionActionOneOf;
3328
3326
  type context$1_ActionCompletedRequest = ActionCompletedRequest;
@@ -3445,16 +3443,20 @@ type context$1_UpdatePendingSchedulesPayloadResponse = UpdatePendingSchedulesPay
3445
3443
  type context$1_V1RunAutomationRequest = V1RunAutomationRequest;
3446
3444
  type context$1_V1RunAutomationRequestIdentifierOneOf = V1RunAutomationRequestIdentifierOneOf;
3447
3445
  type context$1_V1RunAutomationResponse = V1RunAutomationResponse;
3446
+ type context$1__publicBulkCancelEventType = _publicBulkCancelEventType;
3447
+ type context$1__publicBulkReportEventType = _publicBulkReportEventType;
3448
+ type context$1__publicCancelEventType = _publicCancelEventType;
3449
+ type context$1__publicOnActivationStatusChangedType = _publicOnActivationStatusChangedType;
3450
+ type context$1__publicReportEventType = _publicReportEventType;
3448
3451
  declare const context$1_bulkCancelEvent: typeof bulkCancelEvent;
3449
3452
  declare const context$1_bulkReportEvent: typeof bulkReportEvent;
3450
3453
  declare const context$1_cancelEvent: typeof cancelEvent;
3451
3454
  declare const context$1_onActivationStatusChanged: typeof onActivationStatusChanged;
3452
3455
  declare const context$1_reportEvent: typeof reportEvent;
3453
3456
  declare namespace context$1 {
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 };
3457
+ 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, type context$1__publicBulkCancelEventType as _publicBulkCancelEventType, type context$1__publicBulkReportEventType as _publicBulkReportEventType, type context$1__publicCancelEventType as _publicCancelEventType, type context$1__publicOnActivationStatusChangedType as _publicOnActivationStatusChangedType, type context$1__publicReportEventType as _publicReportEventType, context$1_bulkCancelEvent as bulkCancelEvent, context$1_bulkReportEvent as bulkReportEvent, context$1_cancelEvent as cancelEvent, context$1_onActivationStatusChanged as onActivationStatusChanged, onActivationStatusChanged$1 as publicOnActivationStatusChanged, context$1_reportEvent as reportEvent };
3455
3458
  }
3456
3459
 
3457
- /** Automation */
3458
3460
  interface Automation extends AutomationOriginInfoOneOf {
3459
3461
  /** Application info */
3460
3462
  applicationInfo?: ApplicationOrigin;
@@ -3468,43 +3470,43 @@ interface Automation extends AutomationOriginInfoOneOf {
3468
3470
  */
3469
3471
  _id?: string | null;
3470
3472
  /**
3471
- * Revision number, which increments by 1 each time the Automation is updated.
3473
+ * Revision number, which increments by 1 each time the automation is updated.
3472
3474
  * To prevent conflicting changes,
3473
- * the current revision must be passed when updating the Automation.
3475
+ * the current revision must be passed when updating the automation.
3474
3476
  *
3475
- * Ignored when creating an Automation.
3477
+ * Ignored when creating an automation.
3476
3478
  * @readonly
3477
3479
  */
3478
3480
  revision?: string | null;
3479
3481
  /**
3480
- * information about the creator of the automation
3482
+ * Information about the creator of the automation.
3481
3483
  * @readonly
3482
3484
  */
3483
3485
  createdBy?: AuditInfo;
3484
3486
  /**
3485
- * Date and time the Automation was created.
3487
+ * Date and time the automation was created.
3486
3488
  * @readonly
3487
3489
  */
3488
3490
  _createdDate?: Date;
3489
3491
  /**
3490
- * information about who updated of the automation
3492
+ * The entity that last updated the automation.
3491
3493
  * @readonly
3492
3494
  */
3493
3495
  updatedBy?: AuditInfo;
3494
3496
  /**
3495
- * Date and time the Automation was last updated.
3497
+ * Date and time the automation was last updated.
3496
3498
  * @readonly
3497
3499
  */
3498
3500
  _updatedDate?: Date;
3499
- /** Automation name */
3501
+ /** Automation name that is displayed on the user's site. */
3500
3502
  name?: string;
3501
- /** Automation description */
3503
+ /** Automation description. */
3502
3504
  description?: string | null;
3503
- /** Automation runtime configuration */
3505
+ /** Object that defines the automation's trigger, actions, and activation status. */
3504
3506
  configuration?: AutomationConfiguration;
3505
- /** Origin type */
3507
+ /** Defines how the automation was added to the site. */
3506
3508
  origin?: Origin;
3507
- /** Automation settings */
3509
+ /** Automation settings. */
3508
3510
  settings?: AutomationSettings;
3509
3511
  }
3510
3512
  /** @oneof */
@@ -3517,39 +3519,45 @@ interface AutomationOriginInfoOneOf {
3517
3519
  draftInfo?: DraftOrigin;
3518
3520
  }
3519
3521
  interface ActionSettings {
3520
- /** list of permanent action ids of actions that cannot be deleted (default - empty, all actions are deletable by default) */
3522
+ /**
3523
+ * List of actions that cannot be deleted.
3524
+ * Default: Empty. All actions are deletable by default.
3525
+ */
3521
3526
  permanentActionIds?: string[];
3522
- /** list of readonly action ids, (default - empty, all actions are editable by default) */
3527
+ /**
3528
+ * List of actions that cannot be edited.
3529
+ * Default: Empty. All actions are editable by default.
3530
+ */
3523
3531
  readonlyActionIds?: string[];
3524
- /** sets if adding a delay action is disabled for this automation */
3532
+ /** Whether the option to add a delay is disabled for the automation. */
3525
3533
  disableDelayAddition?: boolean;
3526
- /** sets if adding a condition action is disabled for this automation */
3534
+ /** Whether the option to add a condition is disabled for the automation. */
3527
3535
  disableConditionAddition?: boolean;
3528
3536
  }
3529
3537
  interface AuditInfo extends AuditInfoIdOneOf {
3530
- /** user identifier */
3538
+ /** User ID. */
3531
3539
  userId?: string;
3532
- /** application identifier */
3540
+ /** Application ID. */
3533
3541
  appId?: string;
3534
3542
  }
3535
3543
  /** @oneof */
3536
3544
  interface AuditInfoIdOneOf {
3537
- /** user identifier */
3545
+ /** User ID. */
3538
3546
  userId?: string;
3539
- /** application identifier */
3547
+ /** Application ID. */
3540
3548
  appId?: string;
3541
3549
  }
3542
3550
  /** Automation runtime configuration */
3543
3551
  interface AutomationConfiguration {
3544
- /** Automation's Status */
3552
+ /** Status of the automation on the site. */
3545
3553
  status?: Status;
3546
- /** Trigger configuration */
3554
+ /** Automation trigger configuration. */
3547
3555
  trigger?: Trigger;
3548
- /** actions that run in parallel after the trigger */
3556
+ /** List of IDs of root actions. Root actions are the first actions to run after the trigger. The actions in the list run in parallel. */
3549
3557
  rootActionIds?: string[];
3550
3558
  /**
3551
- * map of all actions by actionId
3552
- * The key is the actionId of the action, and the value is the action configuration
3559
+ * Map of all actions that the automation may execute.
3560
+ * The key is the action ID, and the value is the action configuration.
3553
3561
  */
3554
3562
  actions?: Record<string, Action>;
3555
3563
  }
@@ -3562,51 +3570,36 @@ declare enum TimeUnit {
3562
3570
  MONTHS = "MONTHS"
3563
3571
  }
3564
3572
  interface Filter {
3565
- /** the filter identifier */
3573
+ /** Filter ID. */
3566
3574
  _id?: string;
3567
- /** the field key from the schema, for example "formId" */
3575
+ /** Field key from the payload schema, for example "formId". */
3568
3576
  fieldKey?: string;
3569
- /** filter expression that evaluates to a boolean, for example - {{ contains(["guid1","guid2"];formId) }} */
3577
+ /** Filter expression that evaluates to a boolean. */
3570
3578
  filterExpression?: string;
3571
3579
  }
3572
3580
  interface FutureDateActivationOffset {
3573
3581
  /**
3574
- * expression of offset before the trigger's time (in selected time unit), when the Automation should run
3575
- * only allows negative offset from the trigger's date (before the trigger), positive offset should be achieved via offset delay action
3576
- * preScheduledEventOffsetExpression: "{{5}}" + timeUnit: Days - to run the Automation 5 days before the trigger's date
3577
- * or, preScheduledEventOffsetExpression: "{{ someNumberField }}" + timeUnit: Minutes, to run the Automation someNumberField's value in minutes before the trigger's date
3582
+ * The offset value. The value is always taken as negative, so that the automation runs before the trigger date.
3583
+ * To create an offset that causes the automation to run after the trigger date, use a delay action.
3578
3584
  */
3579
3585
  preScheduledEventOffsetExpression?: string;
3580
- /** Time unit for the scheduled event offset */
3586
+ /** Time unit for the scheduled event offset. */
3581
3587
  scheduledEventOffsetTimeUnit?: TimeUnit;
3582
3588
  }
3583
3589
  interface RateLimit {
3584
- /**
3585
- * Maximum number of activations expression. the expression will need to be parsed to Int on runtime
3586
- * for example - "{{ 1 }}" to set max activations to 1, or "{{ var(someNumberField) }}" to set max activations as the value of "someNumberField" from the payload
3587
- */
3590
+ /** Value expressing the maximum number of times the trigger can be activated. */
3588
3591
  maxActivationsExpression?: string;
3589
- /**
3590
- * Duration of the rate limiting window (in selected time unit) expression for rate limiter, if empty then no time limit. the expression will need to be parsed to Int on runtime
3591
- * for example - "{{ 10 }}" to set timeframe to be 10 minutes, or {{ var(someNumberField) }} to set timeframe in minutes as the value of "someNumberField" from the payload
3592
- */
3592
+ /** Duration of the rate limiting window in the selected time unit. If no value is set, the rate limit is permanent. */
3593
3593
  durationExpression?: string | null;
3594
- /** Time unit for the rate limit duration */
3594
+ /** Time unit for the rate limit duration. */
3595
3595
  durationTimeUnit?: TimeUnit;
3596
- /**
3597
- * Unique identifier of each activation by which rate limiter will count activations, expected return type is string
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
3600
- */
3596
+ /** Unique identifier of each activation, by which rate limiter will count activations. */
3601
3597
  uniqueIdentifierExpression?: string | null;
3602
3598
  }
3603
3599
  interface ConditionExpressionGroup {
3604
- /** expression group operator */
3600
+ /** Expression group operator. */
3605
3601
  operator?: Operator;
3606
- /**
3607
- * list of boolean expressions to be evaluated with the given operator
3608
- * examples - {{ true }}, {{ someBooleanField }}, {{ contains(["guid1...","guid2..."];formId) }}
3609
- */
3602
+ /** List of boolean expressions to be evaluated with the given operator. */
3610
3603
  booleanExpressions?: string[];
3611
3604
  }
3612
3605
  declare enum Operator {
@@ -3629,86 +3622,60 @@ declare enum Type {
3629
3622
  OUTPUT = "OUTPUT"
3630
3623
  }
3631
3624
  interface AppDefinedAction {
3632
- /** Action app id */
3625
+ /** ID of the app that defines the action. */
3633
3626
  appId?: string;
3634
- /** Action key */
3627
+ /** Action key. */
3635
3628
  actionKey?: string;
3636
- /**
3637
- * Action input mapping, example:
3638
- * {
3639
- * "to": "{{ var(contact.email) }}",
3640
- * "subject": "Your registration to {{ var(eventName) }} is Confirmed",
3641
- * "body": "Hi {{ var(contact.name) }}, you are confirmed for the event"
3642
- * }
3643
- */
3629
+ /** Action input mapping. */
3644
3630
  inputMapping?: Record<string, any> | null;
3645
3631
  /**
3646
- * optional skip condition configuration - if this action should be skipped when the automation runs (following actions of a skipped action will still run)
3647
- * the action will be skipped if either of the expression groups evaluate to `true`
3648
- * the relation between the expression groups is an OR relation.
3632
+ * Array of conditions determining whether to skip the action in the automation flow.
3633
+ * The action will be skipped if any of the expression groups evaluate to `true`.
3634
+ * Actions following a skipped action will still run.
3649
3635
  */
3650
3636
  skipConditionOrExpressionGroups?: ConditionExpressionGroup[];
3651
- /** actions to run in parallel after this action finishes */
3637
+ /** List of IDs of actions to run in parallel once the action completes. */
3652
3638
  postActionIds?: string[];
3653
3639
  }
3654
3640
  interface ConditionAction {
3655
- /**
3656
- * the condition evaluates to `true` if either of the expression groups evaluate to `true`
3657
- * the relation between the expression groups is an OR relation.
3658
- */
3641
+ /** The condition evaluates to `true` if either of the expression groups evaluate to `true`. */
3659
3642
  orExpressionGroups?: ConditionExpressionGroup[];
3660
- /** actions to run when the entire condition is evaluated to `true` */
3643
+ /** List of IDs of actions to run when the entire condition is evaluated to `true`. */
3661
3644
  truePostActionIds?: string[];
3662
- /** actions to run when the entire condition is evaluated to `false` */
3645
+ /** List of IDs of actions to run when the entire condition is evaluated to `false`. */
3663
3646
  falsePostActionIds?: string[];
3664
3647
  }
3665
3648
  interface DelayAction {
3666
- /**
3667
- * optional - expression for amount of time to wait (in selected time unit) - from a specific date or from the time the action is executed
3668
- * offsetExpression: "{{5}}" + timeUnit: Days - to wait for 5 days from the time the delay was invoked
3669
- * or, offsetExpression: "{{5}}" + timeUnit: Days + dueDateEpochExpression: "{{someDateField}}" - to wait for 5 days from the time date in "someDateField" field in the payload
3670
- * or, offsetExpression: "{{ someNumberField }}" + timeUnit: Minutes, to wait for someNumberField's value in minutes
3671
- */
3649
+ /** Value expressing the amount of time to wait from a specific date or from the time the action is executed. */
3672
3650
  offsetExpression?: string | null;
3673
- /** Time unit for delay offset */
3651
+ /** Time unit for delay offset. */
3674
3652
  offsetTimeUnit?: TimeUnit;
3675
3653
  /**
3676
- * optional - expression of the due date to wait until, if an offset was defined, it will be calculated from this date
3677
- * number of milliseconds since the Unix Epoch (1 January, 1970 UTC)
3678
- * for example - "{{ 18238348023423 }}", or "{{ someEpochFromPayloadField }}" / "{{ contact.birthdate }}"
3654
+ * The action due date. If defined without an offset, the automation will wait until this date to execute the next step.
3655
+ * If an offset is defined, it's calculated from this date.
3656
+ * The date is expressed in the number of milliseconds since the Unix Epoch (1 January, 1970 UTC).
3679
3657
  */
3680
3658
  dueDateEpochExpression?: string | null;
3681
- /** actions to run in parallel after this action finishes */
3659
+ /** List of IDs of actions to run in parallel after the delay. */
3682
3660
  postActionIds?: string[];
3683
3661
  }
3684
3662
  interface RateLimitAction {
3685
- /**
3686
- * Maximum number of activations expression. the expression will need to be parsed to Int on runtime
3687
- * for example - "{{ 1 }}" to set max activations to 1, or "{{ var(someNumberField) }}" to set max activations as the value of "someNumberField" from the payload
3688
- */
3663
+ /** The maximum number of activations allowed for the action. */
3689
3664
  maxActivationsExpression?: string;
3690
3665
  /**
3691
- * Duration of the rate limiting window (in selected time unit) expression for rate limiter, if empty then no time limit. the expression will need to be parsed to Int on runtime
3692
- * for example - "{{ 10 }}" to set timeframe to be 10 minutes, or {{ var(someNumberField) }} to set timeframe in minutes as the value of "someNumberField" from the payload
3666
+ * Duration of the rate limiting window, expressed in selected time unit.
3667
+ * If no value is set, then there is no time limit on the rate limiter.
3693
3668
  */
3694
3669
  rateLimitDurationExpression?: string | null;
3695
- /** Time unit for the rate limit duration */
3670
+ /** Time unit for the rate limit duration. */
3696
3671
  rateLimitDurationTimeUnit?: TimeUnit;
3697
- /**
3698
- * Unique identifier of each activation by which rate limiter will count activations, expected return type is string
3699
- * for example - {{ var(contact.id) }} to set the unique identifier as the value of "contact.id" from the payload
3700
- */
3672
+ /** Unique identifier of each activation by which rate limiter counts activations. */
3701
3673
  uniqueIdentifierExpression?: string | null;
3702
- /** actions to run in parallel after this action finishes */
3674
+ /** List of IDs of actions to run in parallel once the action completes. */
3703
3675
  postActionIds?: string[];
3704
3676
  }
3705
3677
  interface OutputAction {
3706
- /**
3707
- * Output action output mapping
3708
- * {
3709
- * "to": "{{ var(contact.email) }}"
3710
- * }
3711
- */
3678
+ /** Output action output mapping. */
3712
3679
  outputMapping?: Record<string, any> | null;
3713
3680
  }
3714
3681
  declare enum Status {
@@ -3720,89 +3687,52 @@ declare enum Status {
3720
3687
  INACTIVE = "INACTIVE"
3721
3688
  }
3722
3689
  interface Trigger {
3723
- /** Trigger Application id */
3690
+ /** ID of the app that defines the trigger. */
3724
3691
  appId?: string;
3725
- /** Trigger key */
3692
+ /** Trigger key. */
3726
3693
  triggerKey?: string;
3727
3694
  /**
3728
- * optional - list of filters on schema fields
3729
- * the relation between the filter expressions is an AND relation.
3730
- * all filter expressions must be evaluated to `true` for a given payload in order for the automation to be executed
3695
+ * List of filters on schema fields.
3696
+ * In order for the automation to run, all filter expressions must evaluate to `true` for a given payload.
3731
3697
  */
3732
3698
  filters?: Filter[];
3733
- /** optional - future date trigger activation offset */
3699
+ /** Defines the time offset between the trigger date and when the automation runs. */
3734
3700
  scheduledEventOffset?: FutureDateActivationOffset;
3735
- /** optional - rate limiting configuration */
3701
+ /** Limits the number of times an automation can be triggered. */
3736
3702
  rateLimit?: RateLimit;
3737
3703
  automationConfigMapping?: Record<string, any> | null;
3738
3704
  }
3739
3705
  interface Action extends ActionInfoOneOf {
3740
- /** App defined Action (via RPC, HTTP or Velo) */
3706
+ /** Action defined by an app (via RPC, HTTP or Velo). */
3741
3707
  appDefinedInfo?: AppDefinedAction;
3742
- /** Condition action */
3708
+ /** Condition action. */
3743
3709
  conditionInfo?: ConditionAction;
3744
- /** Delay action */
3710
+ /** Delay action. */
3745
3711
  delayInfo?: DelayAction;
3746
- /** Rate limiting action */
3712
+ /** Rate-limiting action. */
3747
3713
  rateLimitInfo?: RateLimitAction;
3748
- /** Action id, if not specified, will be generated */
3714
+ /** Action ID. If not specified, a new ID is generated. */
3749
3715
  _id?: string | null;
3750
- /** Type of the action */
3716
+ /** Action type. */
3751
3717
  type?: Type;
3752
3718
  /**
3753
- * Human readable name for the action (may only contain alphanumeric characters and underscores) to differentiate from other actions of the same kind.
3754
- * if the action has output, the output will be available in the payload under this name, otherwise it will be concatenated to the payload as is
3755
- * without namespaces (or in case of exact same namespaces), if the user has multiple actions of the same kind (appId+actionKey), the output will be overwritten.
3756
- *
3757
- * for example, given:
3758
- * - if the action output looks like this - { "message": "hello" }
3759
- * - the namespace is "action_1"
3760
- * - the trigger payload looks like this - { "someField": "50", "someBoolean": true }
3761
- *
3762
- * the payload will look like this:
3763
- * {
3764
- * "someField": "50",
3765
- * "someBoolean": true,
3766
- * "action_1": {
3767
- * "message": "hello"
3768
- * }
3769
- * }
3770
- *
3771
- * given the following Automation configuration:
3772
- *
3773
- * (Trigger A)
3774
- * |
3775
- * (Action B) // namespace = "action_b_1"
3776
- * |
3777
- * (Action B) // namespace = "action_b_2"
3778
- * |
3779
- * (Action C)
3780
- *
3781
- *
3782
- * the available fields that Action C will be able to use to map to it's input fields will be:
3783
- * {
3784
- * "someField": "50",
3785
- * "someBoolean": true,
3786
- * "action_b_1": {
3787
- * "message": "hello"
3788
- * },
3789
- * "action_b_2": {
3790
- * "message": "hello"
3791
- * }
3792
- * }
3793
- * so the user can select which specific action output to use (action_b_1.message or action_b_2.message, in the case above)
3719
+ * Human-readable name to differentiate the action from other actions of the same type.
3720
+ * The name can contain only alphanumeric characters and underscores. If not provided, a namespace in the form `actionkey-indexOfAction` is
3721
+ * generated automatically.
3722
+ * If the action has output, the output will be available in the payload under this name.
3723
+ * If the user has multiple actions with the same appId and actionKey, previous action output will be overwritten.
3794
3724
  */
3795
3725
  namespace?: string | null;
3796
3726
  }
3797
3727
  /** @oneof */
3798
3728
  interface ActionInfoOneOf {
3799
- /** App defined Action (via RPC, HTTP or Velo) */
3729
+ /** Action defined by an app (via RPC, HTTP or Velo). */
3800
3730
  appDefinedInfo?: AppDefinedAction;
3801
- /** Condition action */
3731
+ /** Condition action. */
3802
3732
  conditionInfo?: ConditionAction;
3803
- /** Delay action */
3733
+ /** Delay action. */
3804
3734
  delayInfo?: DelayAction;
3805
- /** Rate limiting action */
3735
+ /** Rate-limiting action. */
3806
3736
  rateLimitInfo?: RateLimitAction;
3807
3737
  }
3808
3738
  declare enum Origin {
@@ -3818,18 +3748,22 @@ declare enum Origin {
3818
3748
  DRAFT = "DRAFT"
3819
3749
  }
3820
3750
  interface ApplicationOrigin {
3821
- /** identifier for the application */
3751
+ /** Application ID. */
3822
3752
  appId?: string;
3823
3753
  }
3824
3754
  interface PreinstalledOrigin {
3825
- /** identifier for the application */
3755
+ /** ID of the app that defines the preinstalled automation. */
3826
3756
  appId?: string;
3827
- /** application component ID */
3757
+ /** Application component ID. */
3828
3758
  componentId?: string;
3829
- /** application component Version */
3759
+ /** Application component version. */
3830
3760
  componentVersion?: number;
3831
3761
  /**
3832
- * is this a user modified preinstalled automation (on a specific site) or the original one
3762
+ * Whether the automation is an override automation. If the user modifies the preinstalled automation installed on their site, a site-specific
3763
+ * automation is created that overrides the original one. If the user makes no modifications this boolean is set to `false` and the original
3764
+ * preinstalled automation is used.
3765
+ *
3766
+ * Default: `false`
3833
3767
  * @readonly
3834
3768
  */
3835
3769
  override?: boolean | null;
@@ -3839,25 +3773,37 @@ interface DraftOrigin {
3839
3773
  parentId?: string | null;
3840
3774
  }
3841
3775
  interface AutomationSettings {
3842
- /** sets if the automation is hidden from users */
3776
+ /**
3777
+ * Whether the automation is hidden from users.
3778
+ * Default: `false`
3779
+ */
3843
3780
  hidden?: boolean;
3844
- /** sets if the automation is readonly */
3781
+ /**
3782
+ * Whether the automation is read-only.
3783
+ * Default: `false`
3784
+ */
3845
3785
  readonly?: boolean;
3846
- /** sets if deleting the automation is disabled */
3786
+ /**
3787
+ * Whether the option to delete the automation from the site is disabled.
3788
+ * Default: `false`
3789
+ */
3847
3790
  disableDelete?: boolean;
3848
- /** sets if changing the automation status is disabled (from active to inactive and vice versa) */
3791
+ /**
3792
+ * Whether the option to change the automation status (from active to inactive and vice versa) is disabled.
3793
+ * Default: `false`
3794
+ */
3849
3795
  disableStatusChange?: boolean;
3850
- /** Automation's action settings */
3796
+ /** Automation action settings. */
3851
3797
  actionSettings?: ActionSettings;
3852
3798
  }
3853
3799
  interface GetAutomationRevisionRequest {
3854
- /** Automation ID */
3800
+ /** Automation ID. */
3855
3801
  automationId?: string;
3856
- /** Automation revision */
3802
+ /** Automation revision. */
3857
3803
  revision?: string | null;
3858
3804
  }
3859
3805
  interface GetAutomationRevisionResponse {
3860
- /** Automation with the relevant revision */
3806
+ /** Automation with the relevant revision. */
3861
3807
  automation?: Automation;
3862
3808
  }
3863
3809
  interface CreateAutomationRequest {
@@ -3865,25 +3811,25 @@ interface CreateAutomationRequest {
3865
3811
  automation: Automation;
3866
3812
  }
3867
3813
  interface CreateAutomationResponse {
3868
- /** The created Automation. */
3814
+ /** The created automation. */
3869
3815
  automation?: Automation;
3870
3816
  }
3871
3817
  interface GetAutomationRequest {
3872
- /** ID of the Automation to retrieve. */
3818
+ /** Automation ID. */
3873
3819
  automationId: string;
3874
- /** Automation Origin */
3820
+ /** Automation origin. */
3875
3821
  origin?: Origin;
3876
3822
  }
3877
3823
  interface GetAutomationResponse {
3878
- /** The requested Automation. */
3824
+ /** The requested automation. */
3879
3825
  automation?: Automation;
3880
3826
  }
3881
3827
  interface UpdateAutomationRequest {
3882
- /** Automation to be updated, may be partial. */
3828
+ /** Automation to update. */
3883
3829
  automation: Automation;
3884
3830
  }
3885
3831
  interface UpdateAutomationResponse {
3886
- /** Updated Automation. */
3832
+ /** Updated automation. */
3887
3833
  automation?: Automation;
3888
3834
  }
3889
3835
  interface UpdatedWithPreviousEntity {
@@ -3893,7 +3839,7 @@ interface UpdatedWithPreviousEntity {
3893
3839
  currentAutomation?: Automation;
3894
3840
  }
3895
3841
  interface DeleteAutomationRequest {
3896
- /** Id of the Automation to delete. */
3842
+ /** Automation ID. */
3897
3843
  automationId: string;
3898
3844
  }
3899
3845
  interface DeleteAutomationResponse {
@@ -3903,17 +3849,17 @@ interface DeletedWithEntity {
3903
3849
  automation?: Automation;
3904
3850
  }
3905
3851
  interface BulkDeleteAutomationsRequest {
3906
- /** Automation IDs to delete */
3852
+ /** Automation IDs to delete. */
3907
3853
  automationIds: string[];
3908
3854
  }
3909
3855
  interface BulkDeleteAutomationsResponse {
3910
- /** bulk delete results */
3856
+ /** Deleted automations results. */
3911
3857
  results?: BulkDeleteResult[];
3912
- /** bulk delete metadata */
3858
+ /** Metadata for the API call. */
3913
3859
  bulkActionMetadata?: BulkActionMetadata;
3914
3860
  }
3915
3861
  interface BulkDeleteResult {
3916
- /** bulk delete item metadata */
3862
+ /** Metadata for the item deletion. */
3917
3863
  itemMetadata?: ItemMetadata;
3918
3864
  }
3919
3865
  interface ItemMetadata {
@@ -3943,17 +3889,20 @@ interface BulkActionMetadata {
3943
3889
  undetailedFailures?: number;
3944
3890
  }
3945
3891
  interface CreatePreinstalledAutomationRequest {
3946
- /** Automation to be created. */
3892
+ /** Preinstalled automation to be created. */
3947
3893
  automation?: Automation;
3948
3894
  }
3949
3895
  interface CreatePreinstalledAutomationResponse {
3950
- /** The created Automation. */
3896
+ /** The created preinstalled automation. */
3951
3897
  automation?: Automation;
3952
3898
  }
3953
3899
  interface DeletePreinstalledAutomationRequest {
3954
- /** Id of the Automation to delete. */
3900
+ /** Automation ID. */
3955
3901
  automationId?: string;
3956
- /** Should ignore override check (default: false) */
3902
+ /**
3903
+ * Whether to ignore the override check.
3904
+ * Default: `false`
3905
+ */
3957
3906
  ignoreOverrideCheck?: boolean;
3958
3907
  }
3959
3908
  interface DeletePreinstalledAutomationResponse {
@@ -4007,9 +3956,9 @@ interface CursorPaging {
4007
3956
  cursor?: string | null;
4008
3957
  }
4009
3958
  interface QueryAutomationsResponse {
4010
- /** List of Automations. */
3959
+ /** List of automations. */
4011
3960
  automations?: Automation[];
4012
- /** Paging metadata */
3961
+ /** Paging metadata. */
4013
3962
  pagingMetadata?: CursorPagingMetadata;
4014
3963
  }
4015
3964
  interface CursorPagingMetadata {
@@ -4104,13 +4053,13 @@ interface ActionEvent {
4104
4053
  interface Empty {
4105
4054
  }
4106
4055
  interface CopyAutomationRequest {
4107
- /** ID of the Automation to copy */
4056
+ /** Automation ID. */
4108
4057
  automationId?: string;
4109
- /** Automation Origin */
4058
+ /** Automation origin. */
4110
4059
  origin?: Origin;
4111
4060
  }
4112
4061
  interface CopyAutomationResponse {
4113
- /** New automation */
4062
+ /** Automation copy. */
4114
4063
  automation?: Automation;
4115
4064
  }
4116
4065
  interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
@@ -4385,42 +4334,47 @@ interface StudioAssigned {
4385
4334
  interface StudioUnassigned {
4386
4335
  }
4387
4336
  interface ValidateAutomationRequest {
4388
- /** Automation to validate */
4337
+ /** Automation to validate. */
4389
4338
  automation: Automation;
4390
- /** optional validation settings */
4339
+ /** Settings to customize the validation. */
4391
4340
  validationSettings?: ValidationSettings;
4392
4341
  }
4393
4342
  interface ValidationSettings {
4394
4343
  /**
4395
- * specific actions to include in the validation
4396
- * if non empty - only the specific actions would be validated (trigger excluded)
4397
- * if empty, the entire automation will be validated (trigger included)
4344
+ * List of specific actions to validate. Only the actions in the list are validated. In this case, triggers are not validated.
4345
+ *
4346
+ * If the list is empty, the entire automation is validated, including triggers.
4347
+ *
4348
+ * Default: Empty.
4398
4349
  */
4399
4350
  actionIds?: string[];
4400
- /** whether or not to skip provider validations (default: false) */
4351
+ /**
4352
+ * Whether to skip provider validations.
4353
+ * Default: `false`
4354
+ */
4401
4355
  skipProviderValidations?: boolean;
4402
4356
  }
4403
4357
  interface ValidateAutomationResponse {
4404
- /** is the Automation valid */
4358
+ /** Whether the automation is valid. */
4405
4359
  valid?: boolean;
4406
- /** list of validation errors for the automation Trigger */
4360
+ /** List of validation errors for the automation trigger. */
4407
4361
  triggerValidationErrors?: TriggerValidationError[];
4408
- /** list of validation information for the automation Actions */
4362
+ /** List of validation information for the automation actions. */
4409
4363
  actionValidationInfo?: ActionValidationInfo[];
4410
4364
  }
4411
4365
  interface TriggerValidationError extends TriggerValidationErrorErrorOneOf {
4412
- /** trigger configuration error */
4366
+ /** Trigger configuration error. */
4413
4367
  configurationError?: TriggerConfigurationError;
4414
- /** provider configuration error */
4368
+ /** Provider configuration error. */
4415
4369
  providerConfigurationError?: ProviderConfigurationError;
4416
- /** validation error type */
4370
+ /** Validation error type. */
4417
4371
  errorType?: TriggerValidationErrorValidationErrorType;
4418
4372
  }
4419
4373
  /** @oneof */
4420
4374
  interface TriggerValidationErrorErrorOneOf {
4421
- /** trigger configuration error */
4375
+ /** Trigger configuration error. */
4422
4376
  configurationError?: TriggerConfigurationError;
4423
- /** provider configuration error */
4377
+ /** Provider configuration error. */
4424
4378
  providerConfigurationError?: ProviderConfigurationError;
4425
4379
  }
4426
4380
  declare enum TriggerValidationErrorValidationErrorType {
@@ -4429,9 +4383,9 @@ declare enum TriggerValidationErrorValidationErrorType {
4429
4383
  PROVIDER_ERROR = "PROVIDER_ERROR"
4430
4384
  }
4431
4385
  interface TriggerConfigurationError {
4432
- /** trigger error type */
4386
+ /** Trigger error type. */
4433
4387
  errorType?: TriggerErrorType;
4434
- /** optional - related filter field key */
4388
+ /** Related filter field key. */
4435
4389
  filterFieldKey?: string | null;
4436
4390
  }
4437
4391
  declare enum TriggerErrorType {
@@ -4457,28 +4411,28 @@ interface ProviderConfigurationError {
4457
4411
  title?: string;
4458
4412
  }
4459
4413
  interface ActionValidationInfo {
4460
- /** the id of the action in the automation */
4414
+ /** Action ID. */
4461
4415
  actionId?: string | null;
4462
- /** the id of the app defining the action */
4416
+ /** ID of the app that defines the action. */
4463
4417
  appId?: string;
4464
- /** human readable identifier of the action per app */
4418
+ /** Human-readable action identifier. */
4465
4419
  actionKey?: string;
4466
- /** list of action validation errors */
4420
+ /** List of action validation errors. */
4467
4421
  validationErrors?: ActionValidationError[];
4468
4422
  }
4469
4423
  interface ActionValidationError extends ActionValidationErrorErrorOneOf {
4470
- /** action configuration error */
4424
+ /** Action configuration error. */
4471
4425
  configurationError?: ActionConfigurationError;
4472
- /** provider configuration error */
4426
+ /** Provider configuration error. */
4473
4427
  providerConfigurationError?: ProviderConfigurationError;
4474
- /** validation error type */
4428
+ /** Validation error type. */
4475
4429
  errorType?: ValidationErrorType;
4476
4430
  }
4477
4431
  /** @oneof */
4478
4432
  interface ActionValidationErrorErrorOneOf {
4479
- /** action configuration error */
4433
+ /** Action configuration error. */
4480
4434
  configurationError?: ActionConfigurationError;
4481
- /** provider configuration error */
4435
+ /** Provider configuration error. */
4482
4436
  providerConfigurationError?: ProviderConfigurationError;
4483
4437
  }
4484
4438
  declare enum ValidationErrorType {
@@ -4487,9 +4441,9 @@ declare enum ValidationErrorType {
4487
4441
  PROVIDER_ERROR = "PROVIDER_ERROR"
4488
4442
  }
4489
4443
  interface ActionConfigurationError {
4490
- /** action error type */
4444
+ /** Action error type. */
4491
4445
  errorType?: ActionErrorType;
4492
- /** optional - related field key */
4446
+ /** Related field key. */
4493
4447
  fieldKey?: string | null;
4494
4448
  }
4495
4449
  declare enum ActionErrorType {
@@ -4512,21 +4466,21 @@ interface GetAutomationActionSchemaRequest {
4512
4466
  actionId?: string;
4513
4467
  }
4514
4468
  interface GetAutomationActionSchemaResponse {
4515
- /** The accumulated payload schema for action */
4469
+ /** The accumulated payload schema for an action. */
4516
4470
  schema?: Record<string, any> | null;
4517
4471
  }
4518
4472
  interface GetActionsQuotaInfoRequest {
4519
4473
  }
4520
4474
  interface GetActionsQuotaInfoResponse {
4521
- /** list of action quota information */
4475
+ /** List of action quotas. */
4522
4476
  actionProviderQuotaInfo?: ActionProviderQuotaInfo[];
4523
4477
  }
4524
4478
  interface ActionProviderQuotaInfo {
4525
- /** action app id */
4479
+ /** ID of the app that defines the action. */
4526
4480
  appId?: string;
4527
- /** the action key */
4481
+ /** Action key. */
4528
4482
  actionKey?: string;
4529
- /** the action quota information */
4483
+ /** Action quota information. */
4530
4484
  actionQuotaInfo?: ActionQuotaInfo;
4531
4485
  }
4532
4486
  interface ActionQuotaInfo {
@@ -4828,7 +4782,7 @@ interface AutomationDeletedWithEntityEnvelope {
4828
4782
  metadata: EventMetadata;
4829
4783
  }
4830
4784
  interface GetAutomationOptions {
4831
- /** Automation Origin */
4785
+ /** Automation origin. */
4832
4786
  origin?: Origin;
4833
4787
  }
4834
4788
  interface UpdateAutomation {
@@ -4844,43 +4798,43 @@ interface UpdateAutomation {
4844
4798
  */
4845
4799
  _id?: string | null;
4846
4800
  /**
4847
- * Revision number, which increments by 1 each time the Automation is updated.
4801
+ * Revision number, which increments by 1 each time the automation is updated.
4848
4802
  * To prevent conflicting changes,
4849
- * the current revision must be passed when updating the Automation.
4803
+ * the current revision must be passed when updating the automation.
4850
4804
  *
4851
- * Ignored when creating an Automation.
4805
+ * Ignored when creating an automation.
4852
4806
  * @readonly
4853
4807
  */
4854
4808
  revision?: string | null;
4855
4809
  /**
4856
- * information about the creator of the automation
4810
+ * Information about the creator of the automation.
4857
4811
  * @readonly
4858
4812
  */
4859
4813
  createdBy?: AuditInfo;
4860
4814
  /**
4861
- * Date and time the Automation was created.
4815
+ * Date and time the automation was created.
4862
4816
  * @readonly
4863
4817
  */
4864
4818
  _createdDate?: Date;
4865
4819
  /**
4866
- * information about who updated of the automation
4820
+ * The entity that last updated the automation.
4867
4821
  * @readonly
4868
4822
  */
4869
4823
  updatedBy?: AuditInfo;
4870
4824
  /**
4871
- * Date and time the Automation was last updated.
4825
+ * Date and time the automation was last updated.
4872
4826
  * @readonly
4873
4827
  */
4874
4828
  _updatedDate?: Date;
4875
- /** Automation name */
4829
+ /** Automation name that is displayed on the user's site. */
4876
4830
  name?: string;
4877
- /** Automation description */
4831
+ /** Automation description. */
4878
4832
  description?: string | null;
4879
- /** Automation runtime configuration */
4833
+ /** Object that defines the automation's trigger, actions, and activation status. */
4880
4834
  configuration?: AutomationConfiguration;
4881
- /** Origin type */
4835
+ /** Defines how the automation was added to the site. */
4882
4836
  origin?: Origin;
4883
- /** Automation settings */
4837
+ /** Automation settings. */
4884
4838
  settings?: AutomationSettings;
4885
4839
  }
4886
4840
  interface QueryCursorResult {
@@ -4946,26 +4900,56 @@ interface AutomationsQueryBuilder {
4946
4900
  find: () => Promise<AutomationsQueryResult>;
4947
4901
  }
4948
4902
  interface ValidateAutomationOptions {
4949
- /** optional validation settings */
4903
+ /** Settings to customize the validation. */
4950
4904
  validationSettings?: ValidationSettings;
4951
4905
  }
4952
4906
 
4907
+ declare function createAutomation$1(httpClient: HttpClient): (automation: Automation) => Promise<Automation & AutomationNonNullableFields>;
4908
+ declare function getAutomation$1(httpClient: HttpClient): (automationId: string, options?: GetAutomationOptions) => Promise<Automation & AutomationNonNullableFields>;
4909
+ declare function updateAutomation$1(httpClient: HttpClient): (_id: string | null, automation: UpdateAutomation) => Promise<Automation & AutomationNonNullableFields>;
4910
+ declare function deleteAutomation$1(httpClient: HttpClient): (automationId: string) => Promise<void>;
4911
+ declare function bulkDeleteAutomations$1(httpClient: HttpClient): (automationIds: string[]) => Promise<BulkDeleteAutomationsResponse & BulkDeleteAutomationsResponseNonNullableFields>;
4912
+ declare function queryAutomations$1(httpClient: HttpClient): () => AutomationsQueryBuilder;
4913
+ declare function validateAutomation$1(httpClient: HttpClient): (automation: Automation, options?: ValidateAutomationOptions) => Promise<ValidateAutomationResponse & ValidateAutomationResponseNonNullableFields>;
4914
+ declare const onAutomationCreated$1: EventDefinition<AutomationCreatedEnvelope, "wix.automations.v2.automation_created">;
4915
+ declare const onAutomationUpdated$1: EventDefinition<AutomationUpdatedEnvelope, "wix.automations.v2.automation_updated">;
4916
+ declare const onAutomationUpdatedWithPreviousEntity$1: EventDefinition<AutomationUpdatedWithPreviousEntityEnvelope, "wix.automations.v2.automation_updated_with_previous_entity">;
4917
+ declare const onAutomationDeleted$1: EventDefinition<AutomationDeletedEnvelope, "wix.automations.v2.automation_deleted">;
4918
+ declare const onAutomationDeletedWithEntity$1: EventDefinition<AutomationDeletedWithEntityEnvelope, "wix.automations.v2.automation_deleted_with_entity">;
4919
+
4953
4920
  declare function createRESTModule<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
4954
4921
 
4955
4922
  declare function createEventModule<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
4956
4923
 
4957
- declare const createAutomation: ReturnType<typeof createRESTModule<typeof publicCreateAutomation>>;
4958
- declare const getAutomation: ReturnType<typeof createRESTModule<typeof publicGetAutomation>>;
4959
- declare const updateAutomation: ReturnType<typeof createRESTModule<typeof publicUpdateAutomation>>;
4960
- declare const deleteAutomation: ReturnType<typeof createRESTModule<typeof publicDeleteAutomation>>;
4961
- declare const bulkDeleteAutomations: ReturnType<typeof createRESTModule<typeof publicBulkDeleteAutomations>>;
4962
- declare const queryAutomations: ReturnType<typeof createRESTModule<typeof publicQueryAutomations>>;
4963
- declare const validateAutomation: ReturnType<typeof createRESTModule<typeof publicValidateAutomation>>;
4964
- declare const onAutomationCreated: ReturnType<typeof createEventModule<typeof publicOnAutomationCreated>>;
4965
- declare const onAutomationUpdated: ReturnType<typeof createEventModule<typeof publicOnAutomationUpdated>>;
4966
- declare const onAutomationUpdatedWithPreviousEntity: ReturnType<typeof createEventModule<typeof publicOnAutomationUpdatedWithPreviousEntity>>;
4967
- declare const onAutomationDeleted: ReturnType<typeof createEventModule<typeof publicOnAutomationDeleted>>;
4968
- declare const onAutomationDeletedWithEntity: ReturnType<typeof createEventModule<typeof publicOnAutomationDeletedWithEntity>>;
4924
+ type _publicCreateAutomationType = typeof createAutomation$1;
4925
+ declare const createAutomation: ReturnType<typeof createRESTModule<_publicCreateAutomationType>>;
4926
+ type _publicGetAutomationType = typeof getAutomation$1;
4927
+ declare const getAutomation: ReturnType<typeof createRESTModule<_publicGetAutomationType>>;
4928
+ type _publicUpdateAutomationType = typeof updateAutomation$1;
4929
+ declare const updateAutomation: ReturnType<typeof createRESTModule<_publicUpdateAutomationType>>;
4930
+ type _publicDeleteAutomationType = typeof deleteAutomation$1;
4931
+ declare const deleteAutomation: ReturnType<typeof createRESTModule<_publicDeleteAutomationType>>;
4932
+ type _publicBulkDeleteAutomationsType = typeof bulkDeleteAutomations$1;
4933
+ declare const bulkDeleteAutomations: ReturnType<typeof createRESTModule<_publicBulkDeleteAutomationsType>>;
4934
+ type _publicQueryAutomationsType = typeof queryAutomations$1;
4935
+ declare const queryAutomations: ReturnType<typeof createRESTModule<_publicQueryAutomationsType>>;
4936
+ type _publicValidateAutomationType = typeof validateAutomation$1;
4937
+ declare const validateAutomation: ReturnType<typeof createRESTModule<_publicValidateAutomationType>>;
4938
+
4939
+ type _publicOnAutomationCreatedType = typeof onAutomationCreated$1;
4940
+ declare const onAutomationCreated: ReturnType<typeof createEventModule<_publicOnAutomationCreatedType>>;
4941
+
4942
+ type _publicOnAutomationUpdatedType = typeof onAutomationUpdated$1;
4943
+ declare const onAutomationUpdated: ReturnType<typeof createEventModule<_publicOnAutomationUpdatedType>>;
4944
+
4945
+ type _publicOnAutomationUpdatedWithPreviousEntityType = typeof onAutomationUpdatedWithPreviousEntity$1;
4946
+ declare const onAutomationUpdatedWithPreviousEntity: ReturnType<typeof createEventModule<_publicOnAutomationUpdatedWithPreviousEntityType>>;
4947
+
4948
+ type _publicOnAutomationDeletedType = typeof onAutomationDeleted$1;
4949
+ declare const onAutomationDeleted: ReturnType<typeof createEventModule<_publicOnAutomationDeletedType>>;
4950
+
4951
+ type _publicOnAutomationDeletedWithEntityType = typeof onAutomationDeletedWithEntity$1;
4952
+ declare const onAutomationDeletedWithEntity: ReturnType<typeof createEventModule<_publicOnAutomationDeletedWithEntityType>>;
4969
4953
 
4970
4954
  type context_Action = Action;
4971
4955
  type context_ActionConfigurationError = ActionConfigurationError;
@@ -5123,6 +5107,18 @@ declare const context_ValidationErrorType: typeof ValidationErrorType;
5123
5107
  type context_ValidationSettings = ValidationSettings;
5124
5108
  type context_WebhookIdentityType = WebhookIdentityType;
5125
5109
  declare const context_WebhookIdentityType: typeof WebhookIdentityType;
5110
+ type context__publicBulkDeleteAutomationsType = _publicBulkDeleteAutomationsType;
5111
+ type context__publicCreateAutomationType = _publicCreateAutomationType;
5112
+ type context__publicDeleteAutomationType = _publicDeleteAutomationType;
5113
+ type context__publicGetAutomationType = _publicGetAutomationType;
5114
+ type context__publicOnAutomationCreatedType = _publicOnAutomationCreatedType;
5115
+ type context__publicOnAutomationDeletedType = _publicOnAutomationDeletedType;
5116
+ type context__publicOnAutomationDeletedWithEntityType = _publicOnAutomationDeletedWithEntityType;
5117
+ type context__publicOnAutomationUpdatedType = _publicOnAutomationUpdatedType;
5118
+ type context__publicOnAutomationUpdatedWithPreviousEntityType = _publicOnAutomationUpdatedWithPreviousEntityType;
5119
+ type context__publicQueryAutomationsType = _publicQueryAutomationsType;
5120
+ type context__publicUpdateAutomationType = _publicUpdateAutomationType;
5121
+ type context__publicValidateAutomationType = _publicValidateAutomationType;
5126
5122
  declare const context_bulkDeleteAutomations: typeof bulkDeleteAutomations;
5127
5123
  declare const context_createAutomation: typeof createAutomation;
5128
5124
  declare const context_deleteAutomation: typeof deleteAutomation;
@@ -5136,7 +5132,7 @@ declare const context_queryAutomations: typeof queryAutomations;
5136
5132
  declare const context_updateAutomation: typeof updateAutomation;
5137
5133
  declare const context_validateAutomation: typeof validateAutomation;
5138
5134
  declare namespace context {
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 };
5135
+ 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, type context__publicBulkDeleteAutomationsType as _publicBulkDeleteAutomationsType, type context__publicCreateAutomationType as _publicCreateAutomationType, type context__publicDeleteAutomationType as _publicDeleteAutomationType, type context__publicGetAutomationType as _publicGetAutomationType, type context__publicOnAutomationCreatedType as _publicOnAutomationCreatedType, type context__publicOnAutomationDeletedType as _publicOnAutomationDeletedType, type context__publicOnAutomationDeletedWithEntityType as _publicOnAutomationDeletedWithEntityType, type context__publicOnAutomationUpdatedType as _publicOnAutomationUpdatedType, type context__publicOnAutomationUpdatedWithPreviousEntityType as _publicOnAutomationUpdatedWithPreviousEntityType, type context__publicQueryAutomationsType as _publicQueryAutomationsType, type context__publicUpdateAutomationType as _publicUpdateAutomationType, type context__publicValidateAutomationType as _publicValidateAutomationType, 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, onAutomationCreated$1 as publicOnAutomationCreated, onAutomationDeleted$1 as publicOnAutomationDeleted, onAutomationDeletedWithEntity$1 as publicOnAutomationDeletedWithEntity, onAutomationUpdated$1 as publicOnAutomationUpdated, onAutomationUpdatedWithPreviousEntity$1 as publicOnAutomationUpdatedWithPreviousEntity, context_queryAutomations as queryAutomations, context_updateAutomation as updateAutomation, context_validateAutomation as validateAutomation };
5140
5136
  }
5141
5137
 
5142
5138
  export { context$1 as activations, context$2 as automationsService, context as automationsServiceV2 };