@wix/automations 1.0.25 → 1.0.27

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.
@@ -341,17 +341,15 @@ interface QueryV2 extends QueryV2PagingMethodOneOf {
341
341
  /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
342
342
  cursorPaging?: CursorPaging$1;
343
343
  /**
344
- * Filter object in the following format:
345
- * `"filter" : {
346
- * "fieldName1": "value1",
347
- * "fieldName2":{"$operator":"value2"}
348
- * }`
349
- * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
344
+ * Filter object.
345
+ *
346
+ * Learn more about the [filter section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).
350
347
  */
351
348
  filter?: Record<string, any> | null;
352
349
  /**
353
- * Sort object in the following format:
354
- * `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
350
+ * Sort object.
351
+ *
352
+ * Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
355
353
  */
356
354
  sort?: Sorting$1[];
357
355
  /** Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned. */
@@ -1377,43 +1375,43 @@ interface ActivationReportNonNullableFields {
1377
1375
  interface GetAutomationActivationReportsResponseNonNullableFields {
1378
1376
  activationReports: ActivationReportNonNullableFields[];
1379
1377
  }
1380
- interface PlanNonNullableFields {
1378
+ interface PlanNonNullableFields$1 {
1381
1379
  _id: string;
1382
1380
  name: string;
1383
1381
  }
1384
- interface CTANonNullableFields {
1382
+ interface CTANonNullableFields$1 {
1385
1383
  url: string;
1386
1384
  label: string;
1387
1385
  }
1388
- interface AdditionalInfoNonNullableFields {
1386
+ interface AdditionalInfoNonNullableFields$1 {
1389
1387
  description: string;
1390
- cta?: CTANonNullableFields;
1388
+ cta?: CTANonNullableFields$1;
1391
1389
  }
1392
- interface QuotaNonNullableFields {
1390
+ interface QuotaNonNullableFields$1 {
1393
1391
  featureName: string;
1394
1392
  currentUsage: string;
1395
- additionalInfo?: AdditionalInfoNonNullableFields;
1393
+ additionalInfo?: AdditionalInfoNonNullableFields$1;
1396
1394
  }
1397
- interface UpgradeCTANonNullableFields {
1395
+ interface UpgradeCTANonNullableFields$1 {
1398
1396
  url: string;
1399
1397
  label: string;
1400
1398
  }
1401
- interface QuotaInfoNonNullableFields {
1402
- plans: PlanNonNullableFields[];
1403
- quotas: QuotaNonNullableFields[];
1404
- upgradeCta?: UpgradeCTANonNullableFields;
1399
+ interface QuotaInfoNonNullableFields$1 {
1400
+ plans: PlanNonNullableFields$1[];
1401
+ quotas: QuotaNonNullableFields$1[];
1402
+ upgradeCta?: UpgradeCTANonNullableFields$1;
1405
1403
  }
1406
- interface ActionQuotaInfoNonNullableFields {
1404
+ interface ActionQuotaInfoNonNullableFields$1 {
1407
1405
  enforced: boolean;
1408
- quotaInfo: QuotaInfoNonNullableFields[];
1406
+ quotaInfo: QuotaInfoNonNullableFields$1[];
1409
1407
  }
1410
- interface ActionProviderQuotaInfoNonNullableFields {
1408
+ interface ActionProviderQuotaInfoNonNullableFields$1 {
1411
1409
  appId: string;
1412
1410
  actionKey: string;
1413
- actionQuotaInfo?: ActionQuotaInfoNonNullableFields;
1411
+ actionQuotaInfo?: ActionQuotaInfoNonNullableFields$1;
1414
1412
  }
1415
- interface GetActionsQuotaInfoResponseNonNullableFields {
1416
- actionProviderQuotaInfo: ActionProviderQuotaInfoNonNullableFields[];
1413
+ interface GetActionsQuotaInfoResponseNonNullableFields$1 {
1414
+ actionProviderQuotaInfo: ActionProviderQuotaInfoNonNullableFields$1[];
1417
1415
  }
1418
1416
  interface BaseEventMetadata$2 {
1419
1417
  /** App instance ID. */
@@ -1711,12 +1709,12 @@ interface GetAutomationActivationStatsSignature {
1711
1709
  /** @param - Automation ID */
1712
1710
  (automationId: string, options?: GetAutomationActivationStatsOptions | undefined): Promise<GetAutomationActivationReportsResponse & GetAutomationActivationReportsResponseNonNullableFields>;
1713
1711
  }
1714
- declare function getActionsQuotaInfo$1(httpClient: HttpClient): GetActionsQuotaInfoSignature;
1715
- interface GetActionsQuotaInfoSignature {
1712
+ declare function getActionsQuotaInfo$3(httpClient: HttpClient): GetActionsQuotaInfoSignature$1;
1713
+ interface GetActionsQuotaInfoSignature$1 {
1716
1714
  /**
1717
1715
  * Get actions quota information
1718
1716
  */
1719
- (): Promise<GetActionsQuotaInfoResponse$1 & GetActionsQuotaInfoResponseNonNullableFields>;
1717
+ (): Promise<GetActionsQuotaInfoResponse$1 & GetActionsQuotaInfoResponseNonNullableFields$1>;
1720
1718
  }
1721
1719
  declare function generateActionInputMappingFromTemplate$1(httpClient: HttpClient): GenerateActionInputMappingFromTemplateSignature;
1722
1720
  interface GenerateActionInputMappingFromTemplateSignature {
@@ -1743,7 +1741,7 @@ declare const overrideApplicationAutomation: BuildRESTFunction<typeof overrideAp
1743
1741
  declare const validateAutomationById: BuildRESTFunction<typeof validateAutomationById$1> & typeof validateAutomationById$1;
1744
1742
  declare const validateAutomation$2: BuildRESTFunction<typeof validateAutomation$3> & typeof validateAutomation$3;
1745
1743
  declare const getAutomationActivationStats: BuildRESTFunction<typeof getAutomationActivationStats$1> & typeof getAutomationActivationStats$1;
1746
- declare const getActionsQuotaInfo: BuildRESTFunction<typeof getActionsQuotaInfo$1> & typeof getActionsQuotaInfo$1;
1744
+ declare const getActionsQuotaInfo$2: BuildRESTFunction<typeof getActionsQuotaInfo$3> & typeof getActionsQuotaInfo$3;
1747
1745
  declare const generateActionInputMappingFromTemplate: BuildRESTFunction<typeof generateActionInputMappingFromTemplate$1> & typeof generateActionInputMappingFromTemplate$1;
1748
1746
 
1749
1747
  type _publicOnAutomationCreatedType$1 = typeof onAutomationCreated$3;
@@ -1781,7 +1779,6 @@ type context$2_GenerateActionInputMappingFromTemplateRequest = GenerateActionInp
1781
1779
  type context$2_GenerateActionInputMappingFromTemplateResponse = GenerateActionInputMappingFromTemplateResponse;
1782
1780
  type context$2_GenerateApplicationAutomationFromCustomRequest = GenerateApplicationAutomationFromCustomRequest;
1783
1781
  type context$2_GenerateApplicationAutomationFromCustomResponse = GenerateApplicationAutomationFromCustomResponse;
1784
- type context$2_GetActionsQuotaInfoResponseNonNullableFields = GetActionsQuotaInfoResponseNonNullableFields;
1785
1782
  type context$2_GetApplicationAutomationRequest = GetApplicationAutomationRequest;
1786
1783
  type context$2_GetApplicationAutomationResponse = GetApplicationAutomationResponse;
1787
1784
  type context$2_GetAutomationActivationReportsRequest = GetAutomationActivationReportsRequest;
@@ -1821,12 +1818,11 @@ type context$2_ValidateAutomationByIdRequest = ValidateAutomationByIdRequest;
1821
1818
  type context$2_ValidateAutomationByIdResponse = ValidateAutomationByIdResponse;
1822
1819
  type context$2_ValidateAutomationByIdResponseNonNullableFields = ValidateAutomationByIdResponseNonNullableFields;
1823
1820
  declare const context$2_generateActionInputMappingFromTemplate: typeof generateActionInputMappingFromTemplate;
1824
- declare const context$2_getActionsQuotaInfo: typeof getActionsQuotaInfo;
1825
1821
  declare const context$2_getAutomationActivationStats: typeof getAutomationActivationStats;
1826
1822
  declare const context$2_overrideApplicationAutomation: typeof overrideApplicationAutomation;
1827
1823
  declare const context$2_validateAutomationById: typeof validateAutomationById;
1828
1824
  declare namespace context$2 {
1829
- 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$2 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$2 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 _publicOnAutomationCreatedType$1 as _publicOnAutomationCreatedType, type _publicOnAutomationDeletedType$1 as _publicOnAutomationDeletedType, type _publicOnAutomationDeletedWithEntityType$1 as _publicOnAutomationDeletedWithEntityType, type _publicOnAutomationUpdatedType$1 as _publicOnAutomationUpdatedType, type _publicOnAutomationUpdatedWithPreviousEntityType$1 as _publicOnAutomationUpdatedWithPreviousEntityType, 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 };
1825
+ 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$2 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 GetActionsQuotaInfoResponseNonNullableFields$1 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$2 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 _publicOnAutomationCreatedType$1 as _publicOnAutomationCreatedType, type _publicOnAutomationDeletedType$1 as _publicOnAutomationDeletedType, type _publicOnAutomationDeletedWithEntityType$1 as _publicOnAutomationDeletedWithEntityType, type _publicOnAutomationUpdatedType$1 as _publicOnAutomationUpdatedType, type _publicOnAutomationUpdatedWithPreviousEntityType$1 as _publicOnAutomationUpdatedWithPreviousEntityType, createAutomation$2 as createAutomation, deleteAutomation$2 as deleteAutomation, context$2_generateActionInputMappingFromTemplate as generateActionInputMappingFromTemplate, getActionsQuotaInfo$2 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 };
1830
1826
  }
1831
1827
 
1832
1828
  interface Activation {
@@ -4137,7 +4133,7 @@ interface BulkActionMetadata {
4137
4133
  }
4138
4134
  interface CreatePreinstalledAutomationRequest {
4139
4135
  /** Preinstalled automation to be created. */
4140
- automation?: Automation;
4136
+ automation: Automation;
4141
4137
  }
4142
4138
  interface CreatePreinstalledAutomationResponse {
4143
4139
  /** The created preinstalled automation. */
@@ -4145,7 +4141,7 @@ interface CreatePreinstalledAutomationResponse {
4145
4141
  }
4146
4142
  interface DeletePreinstalledAutomationRequest {
4147
4143
  /** Automation ID. */
4148
- automationId?: string;
4144
+ automationId: string;
4149
4145
  /**
4150
4146
  * Whether to ignore the override check.
4151
4147
  * Default: `false`
@@ -4231,7 +4227,7 @@ interface Empty {
4231
4227
  }
4232
4228
  interface CopyAutomationRequest {
4233
4229
  /** Automation ID. */
4234
- automationId?: string;
4230
+ automationId: string;
4235
4231
  /** Automation origin. */
4236
4232
  origin?: Origin;
4237
4233
  }
@@ -4520,7 +4516,7 @@ interface CreateDraftAutomationResponse {
4520
4516
  }
4521
4517
  interface GetOrCreateDraftAutomationRequest {
4522
4518
  /** Original automation id */
4523
- originalAutomationId?: string;
4519
+ originalAutomationId: string;
4524
4520
  }
4525
4521
  interface GetOrCreateDraftAutomationResponse {
4526
4522
  /** Draft automation. */
@@ -4528,7 +4524,7 @@ interface GetOrCreateDraftAutomationResponse {
4528
4524
  }
4529
4525
  interface UpdateDraftAutomationRequest {
4530
4526
  /** Automation to be updated, may be partial. */
4531
- automation?: Automation;
4527
+ automation: Automation;
4532
4528
  }
4533
4529
  interface UpdateDraftAutomationResponse {
4534
4530
  /** Updated draft automation. */
@@ -4556,7 +4552,7 @@ interface DraftsInfo {
4556
4552
  }
4557
4553
  interface DeleteDraftAutomationRequest {
4558
4554
  /** Id of the draft automation to delete. */
4559
- automationId?: string;
4555
+ automationId: string;
4560
4556
  }
4561
4557
  interface DeleteDraftAutomationResponse {
4562
4558
  }
@@ -4696,9 +4692,9 @@ declare enum ActionErrorType {
4696
4692
  }
4697
4693
  interface GetAutomationActionSchemaRequest {
4698
4694
  /** Automation ID */
4699
- automationId?: string;
4695
+ automationId: string;
4700
4696
  /** Action ID */
4701
- actionId?: string;
4697
+ actionId: string;
4702
4698
  }
4703
4699
  interface GetAutomationActionSchemaResponse {
4704
4700
  /** The accumulated payload schema for an action. */
@@ -4878,9 +4874,27 @@ interface BulkDeleteAutomationsResponseNonNullableFields {
4878
4874
  results: BulkDeleteResultNonNullableFields[];
4879
4875
  bulkActionMetadata?: BulkActionMetadataNonNullableFields;
4880
4876
  }
4877
+ interface CreatePreinstalledAutomationResponseNonNullableFields {
4878
+ automation?: AutomationNonNullableFields;
4879
+ }
4881
4880
  interface QueryAutomationsResponseNonNullableFields {
4882
4881
  automations: AutomationNonNullableFields[];
4883
4882
  }
4883
+ interface CopyAutomationResponseNonNullableFields {
4884
+ automation?: AutomationNonNullableFields;
4885
+ }
4886
+ interface CreateDraftAutomationResponseNonNullableFields {
4887
+ automation?: AutomationNonNullableFields;
4888
+ }
4889
+ interface GetOrCreateDraftAutomationResponseNonNullableFields {
4890
+ automation?: AutomationNonNullableFields;
4891
+ }
4892
+ interface UpdateDraftAutomationResponseNonNullableFields {
4893
+ automation?: AutomationNonNullableFields;
4894
+ }
4895
+ interface QueryAutomationsWithDraftsResponseNonNullableFields {
4896
+ automations: AutomationNonNullableFields[];
4897
+ }
4884
4898
  interface TriggerConfigurationErrorNonNullableFields {
4885
4899
  errorType: TriggerErrorType;
4886
4900
  }
@@ -4911,6 +4925,44 @@ interface ValidateAutomationResponseNonNullableFields {
4911
4925
  triggerValidationErrors: TriggerValidationErrorNonNullableFields[];
4912
4926
  actionValidationInfo: ActionValidationInfoNonNullableFields[];
4913
4927
  }
4928
+ interface PlanNonNullableFields {
4929
+ _id: string;
4930
+ name: string;
4931
+ }
4932
+ interface CTANonNullableFields {
4933
+ url: string;
4934
+ label: string;
4935
+ }
4936
+ interface AdditionalInfoNonNullableFields {
4937
+ description: string;
4938
+ cta?: CTANonNullableFields;
4939
+ }
4940
+ interface QuotaNonNullableFields {
4941
+ featureName: string;
4942
+ currentUsage: string;
4943
+ additionalInfo?: AdditionalInfoNonNullableFields;
4944
+ }
4945
+ interface UpgradeCTANonNullableFields {
4946
+ url: string;
4947
+ label: string;
4948
+ }
4949
+ interface QuotaInfoNonNullableFields {
4950
+ plans: PlanNonNullableFields[];
4951
+ quotas: QuotaNonNullableFields[];
4952
+ upgradeCta?: UpgradeCTANonNullableFields;
4953
+ }
4954
+ interface ActionQuotaInfoNonNullableFields {
4955
+ enforced: boolean;
4956
+ quotaInfo: QuotaInfoNonNullableFields[];
4957
+ }
4958
+ interface ActionProviderQuotaInfoNonNullableFields {
4959
+ appId: string;
4960
+ actionKey: string;
4961
+ actionQuotaInfo?: ActionQuotaInfoNonNullableFields;
4962
+ }
4963
+ interface GetActionsQuotaInfoResponseNonNullableFields {
4964
+ actionProviderQuotaInfo: ActionProviderQuotaInfoNonNullableFields[];
4965
+ }
4914
4966
  interface BaseEventMetadata {
4915
4967
  /** App instance ID. */
4916
4968
  instanceId?: string | null;
@@ -5037,6 +5089,13 @@ interface UpdateAutomation {
5037
5089
  /** Namespace */
5038
5090
  namespace?: string | null;
5039
5091
  }
5092
+ interface DeletePreinstalledAutomationOptions {
5093
+ /**
5094
+ * Whether to ignore the override check.
5095
+ * Default: `false`
5096
+ */
5097
+ ignoreOverrideCheck?: boolean;
5098
+ }
5040
5099
  interface QueryCursorResult {
5041
5100
  cursors: Cursors;
5042
5101
  hasNext: () => boolean;
@@ -5099,10 +5158,85 @@ interface AutomationsQueryBuilder {
5099
5158
  /** @documentationMaturity preview */
5100
5159
  find: () => Promise<AutomationsQueryResult>;
5101
5160
  }
5161
+ interface CopyAutomationOptions {
5162
+ /** Automation origin. */
5163
+ origin?: Origin;
5164
+ }
5165
+ interface CreateDraftAutomationOptions {
5166
+ /** Draft automation to be created. */
5167
+ automation?: Automation;
5168
+ }
5169
+ interface UpdateDraftAutomation {
5170
+ /** Application info */
5171
+ applicationInfo?: ApplicationOrigin;
5172
+ /** Preinstalled info */
5173
+ preinstalledInfo?: PreinstalledOrigin;
5174
+ /**
5175
+ * Automation ID.
5176
+ * @readonly
5177
+ */
5178
+ _id?: string | null;
5179
+ /**
5180
+ * Revision number, which increments by 1 each time the automation is updated.
5181
+ * To prevent conflicting changes,
5182
+ * the current revision must be passed when updating the automation.
5183
+ *
5184
+ * Ignored when creating an automation.
5185
+ * @readonly
5186
+ */
5187
+ revision?: string | null;
5188
+ /**
5189
+ * Information about the creator of the automation.
5190
+ * @readonly
5191
+ */
5192
+ createdBy?: AuditInfo;
5193
+ /**
5194
+ * Date and time the automation was created.
5195
+ * @readonly
5196
+ */
5197
+ _createdDate?: Date;
5198
+ /**
5199
+ * The entity that last updated the automation.
5200
+ * @readonly
5201
+ */
5202
+ updatedBy?: AuditInfo;
5203
+ /**
5204
+ * Date and time the automation was last updated.
5205
+ * @readonly
5206
+ */
5207
+ _updatedDate?: Date;
5208
+ /** Automation name that is displayed on the user's site. */
5209
+ name?: string;
5210
+ /** Automation description. */
5211
+ description?: string | null;
5212
+ /** Object that defines the automation's trigger, actions, and activation status. */
5213
+ configuration?: AutomationConfiguration;
5214
+ /** Defines how the automation was added to the site. */
5215
+ origin?: Origin;
5216
+ /** Automation settings. */
5217
+ settings?: AutomationSettings;
5218
+ /**
5219
+ * Draft info (optional - only if the automation is a draft)
5220
+ * @readonly
5221
+ */
5222
+ draftInfo?: DraftInfo;
5223
+ /** Namespace */
5224
+ namespace?: string | null;
5225
+ }
5226
+ interface QueryAutomationsWithDraftsOptions {
5227
+ /** WQL expression. */
5228
+ query?: CursorQuery;
5229
+ }
5102
5230
  interface ValidateAutomationOptions {
5103
5231
  /** Settings to customize the validation. */
5104
5232
  validationSettings?: ValidationSettings;
5105
5233
  }
5234
+ interface GetAutomationActionSchemaIdentifiers {
5235
+ /** Automation ID */
5236
+ automationId: string;
5237
+ /** Action ID */
5238
+ actionId: string;
5239
+ }
5106
5240
 
5107
5241
  declare function createAutomation$1(httpClient: HttpClient): CreateAutomationSignature;
5108
5242
  interface CreateAutomationSignature {
@@ -5153,6 +5287,22 @@ interface BulkDeleteAutomationsSignature {
5153
5287
  */
5154
5288
  (automationIds: string[]): Promise<BulkDeleteAutomationsResponse & BulkDeleteAutomationsResponseNonNullableFields>;
5155
5289
  }
5290
+ declare function createPreinstalledAutomation$1(httpClient: HttpClient): CreatePreinstalledAutomationSignature;
5291
+ interface CreatePreinstalledAutomationSignature {
5292
+ /**
5293
+ * Temporary - Creates a Preinstalled Automation.
5294
+ * @param - Preinstalled automation to be created.
5295
+ */
5296
+ (automation: Automation): Promise<CreatePreinstalledAutomationResponse & CreatePreinstalledAutomationResponseNonNullableFields>;
5297
+ }
5298
+ declare function deletePreinstalledAutomation$1(httpClient: HttpClient): DeletePreinstalledAutomationSignature;
5299
+ interface DeletePreinstalledAutomationSignature {
5300
+ /**
5301
+ * Temporary - Deletes a Preinstalled Automation.
5302
+ * @param - Automation ID.
5303
+ */
5304
+ (automationId: string, options?: DeletePreinstalledAutomationOptions | undefined): Promise<void>;
5305
+ }
5156
5306
  declare function queryAutomations$1(httpClient: HttpClient): QueryAutomationsSignature;
5157
5307
  interface QueryAutomationsSignature {
5158
5308
  /**
@@ -5169,6 +5319,69 @@ interface QueryAutomationsSignature {
5169
5319
  */
5170
5320
  (): AutomationsQueryBuilder;
5171
5321
  }
5322
+ declare function copyAutomation$1(httpClient: HttpClient): CopyAutomationSignature;
5323
+ interface CopyAutomationSignature {
5324
+ /**
5325
+ * Creates a copy of an action with a new ID, and changes the action's input mapping if necessary.
5326
+ *
5327
+ * The action copy isn't saved automatically. To save it, the user must perform an action
5328
+ * such as clicking the **Save** button.
5329
+ * @param - Automation ID.
5330
+ */
5331
+ (automationId: string, options?: CopyAutomationOptions | undefined): Promise<CopyAutomationResponse & CopyAutomationResponseNonNullableFields>;
5332
+ }
5333
+ declare function createDraftAutomation$1(httpClient: HttpClient): CreateDraftAutomationSignature;
5334
+ interface CreateDraftAutomationSignature {
5335
+ /**
5336
+ * Creates a draft automation.
5337
+ */
5338
+ (options?: CreateDraftAutomationOptions | undefined): Promise<CreateDraftAutomationResponse & CreateDraftAutomationResponseNonNullableFields>;
5339
+ }
5340
+ declare function getOrCreateDraftAutomation$1(httpClient: HttpClient): GetOrCreateDraftAutomationSignature;
5341
+ interface GetOrCreateDraftAutomationSignature {
5342
+ /**
5343
+ * Gets the draft of the given original automation if exists, or creates one and returns it
5344
+ *
5345
+ * - if the original automation is a draft, returns the original automation
5346
+ * @param - Original automation id
5347
+ */
5348
+ (originalAutomationId: string): Promise<GetOrCreateDraftAutomationResponse & GetOrCreateDraftAutomationResponseNonNullableFields>;
5349
+ }
5350
+ declare function updateDraftAutomation$1(httpClient: HttpClient): UpdateDraftAutomationSignature;
5351
+ interface UpdateDraftAutomationSignature {
5352
+ /**
5353
+ * Updates a draft automation
5354
+ * @param - Automation ID.
5355
+ */
5356
+ (_id: string | null, automation: UpdateDraftAutomation): Promise<UpdateDraftAutomationResponse & UpdateDraftAutomationResponseNonNullableFields>;
5357
+ }
5358
+ declare function queryAutomationsWithDrafts$1(httpClient: HttpClient): QueryAutomationsWithDraftsSignature;
5359
+ interface QueryAutomationsWithDraftsSignature {
5360
+ /**
5361
+ * Retrieves a list of automations including drafts. Max query filter depth is 3.
5362
+ *
5363
+ * Relevant automations for the query are returned. This includes automations created on the site and pre-installed automations.
5364
+ * If there's an existing override for a pre-installed automation, the override is returned in the query result.
5365
+ * The query only returns automations from apps that are installed on the site.
5366
+ *
5367
+ * - new drafts that are not related to existing automations will be returned in the list
5368
+ * - the response will contain a map of originalAutomationId => relatedDrafts
5369
+ *
5370
+ * To learn about working with _Query_ endpoints, see
5371
+ * [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language),
5372
+ * [Sorting and Paging](https://dev.wix.com/api/rest/getting-started/pagination),
5373
+ * and [Field Projection](https://dev.wix.com/api/rest/getting-started/field-projection).
5374
+ */
5375
+ (options?: QueryAutomationsWithDraftsOptions | undefined): Promise<QueryAutomationsWithDraftsResponse & QueryAutomationsWithDraftsResponseNonNullableFields>;
5376
+ }
5377
+ declare function deleteDraftAutomation$1(httpClient: HttpClient): DeleteDraftAutomationSignature;
5378
+ interface DeleteDraftAutomationSignature {
5379
+ /**
5380
+ * Deletes a draft automation.
5381
+ * @param - Id of the draft automation to delete.
5382
+ */
5383
+ (automationId: string): Promise<void>;
5384
+ }
5172
5385
  declare function validateAutomation$1(httpClient: HttpClient): ValidateAutomationSignature;
5173
5386
  interface ValidateAutomationSignature {
5174
5387
  /**
@@ -5177,6 +5390,20 @@ interface ValidateAutomationSignature {
5177
5390
  */
5178
5391
  (automation: Automation, options?: ValidateAutomationOptions | undefined): Promise<ValidateAutomationResponse & ValidateAutomationResponseNonNullableFields>;
5179
5392
  }
5393
+ declare function getAutomationActionSchema$1(httpClient: HttpClient): GetAutomationActionSchemaSignature;
5394
+ interface GetAutomationActionSchemaSignature {
5395
+ /**
5396
+ * Gets the payload schema received by the action whose ID is passed in.
5397
+ */
5398
+ (identifiers: GetAutomationActionSchemaIdentifiers): Promise<GetAutomationActionSchemaResponse>;
5399
+ }
5400
+ declare function getActionsQuotaInfo$1(httpClient: HttpClient): GetActionsQuotaInfoSignature;
5401
+ interface GetActionsQuotaInfoSignature {
5402
+ /**
5403
+ * Gets action quota information.
5404
+ */
5405
+ (): Promise<GetActionsQuotaInfoResponse & GetActionsQuotaInfoResponseNonNullableFields>;
5406
+ }
5180
5407
  declare const onAutomationCreated$1: EventDefinition<AutomationCreatedEnvelope, "wix.automations.v2.automation_created">;
5181
5408
  declare const onAutomationUpdated$1: EventDefinition<AutomationUpdatedEnvelope, "wix.automations.v2.automation_updated">;
5182
5409
  declare const onAutomationDeleted$1: EventDefinition<AutomationDeletedEnvelope, "wix.automations.v2.automation_deleted">;
@@ -5190,8 +5417,18 @@ declare const getAutomation: BuildRESTFunction<typeof getAutomation$1> & typeof
5190
5417
  declare const updateAutomation: BuildRESTFunction<typeof updateAutomation$1> & typeof updateAutomation$1;
5191
5418
  declare const deleteAutomation: BuildRESTFunction<typeof deleteAutomation$1> & typeof deleteAutomation$1;
5192
5419
  declare const bulkDeleteAutomations: BuildRESTFunction<typeof bulkDeleteAutomations$1> & typeof bulkDeleteAutomations$1;
5420
+ declare const createPreinstalledAutomation: BuildRESTFunction<typeof createPreinstalledAutomation$1> & typeof createPreinstalledAutomation$1;
5421
+ declare const deletePreinstalledAutomation: BuildRESTFunction<typeof deletePreinstalledAutomation$1> & typeof deletePreinstalledAutomation$1;
5193
5422
  declare const queryAutomations: BuildRESTFunction<typeof queryAutomations$1> & typeof queryAutomations$1;
5423
+ declare const copyAutomation: BuildRESTFunction<typeof copyAutomation$1> & typeof copyAutomation$1;
5424
+ declare const createDraftAutomation: BuildRESTFunction<typeof createDraftAutomation$1> & typeof createDraftAutomation$1;
5425
+ declare const getOrCreateDraftAutomation: BuildRESTFunction<typeof getOrCreateDraftAutomation$1> & typeof getOrCreateDraftAutomation$1;
5426
+ declare const updateDraftAutomation: BuildRESTFunction<typeof updateDraftAutomation$1> & typeof updateDraftAutomation$1;
5427
+ declare const queryAutomationsWithDrafts: BuildRESTFunction<typeof queryAutomationsWithDrafts$1> & typeof queryAutomationsWithDrafts$1;
5428
+ declare const deleteDraftAutomation: BuildRESTFunction<typeof deleteDraftAutomation$1> & typeof deleteDraftAutomation$1;
5194
5429
  declare const validateAutomation: BuildRESTFunction<typeof validateAutomation$1> & typeof validateAutomation$1;
5430
+ declare const getAutomationActionSchema: BuildRESTFunction<typeof getAutomationActionSchema$1> & typeof getAutomationActionSchema$1;
5431
+ declare const getActionsQuotaInfo: BuildRESTFunction<typeof getActionsQuotaInfo$1> & typeof getActionsQuotaInfo$1;
5195
5432
 
5196
5433
  type _publicOnAutomationCreatedType = typeof onAutomationCreated$1;
5197
5434
  /** */
@@ -5253,15 +5490,20 @@ type context_BulkDeleteResult = BulkDeleteResult;
5253
5490
  type context_CTA = CTA;
5254
5491
  type context_ConditionAction = ConditionAction;
5255
5492
  type context_ConditionExpressionGroup = ConditionExpressionGroup;
5493
+ type context_CopyAutomationOptions = CopyAutomationOptions;
5256
5494
  type context_CopyAutomationRequest = CopyAutomationRequest;
5257
5495
  type context_CopyAutomationResponse = CopyAutomationResponse;
5496
+ type context_CopyAutomationResponseNonNullableFields = CopyAutomationResponseNonNullableFields;
5258
5497
  type context_CreateAutomationRequest = CreateAutomationRequest;
5259
5498
  type context_CreateAutomationResponse = CreateAutomationResponse;
5260
5499
  type context_CreateAutomationResponseNonNullableFields = CreateAutomationResponseNonNullableFields;
5500
+ type context_CreateDraftAutomationOptions = CreateDraftAutomationOptions;
5261
5501
  type context_CreateDraftAutomationRequest = CreateDraftAutomationRequest;
5262
5502
  type context_CreateDraftAutomationResponse = CreateDraftAutomationResponse;
5503
+ type context_CreateDraftAutomationResponseNonNullableFields = CreateDraftAutomationResponseNonNullableFields;
5263
5504
  type context_CreatePreinstalledAutomationRequest = CreatePreinstalledAutomationRequest;
5264
5505
  type context_CreatePreinstalledAutomationResponse = CreatePreinstalledAutomationResponse;
5506
+ type context_CreatePreinstalledAutomationResponseNonNullableFields = CreatePreinstalledAutomationResponseNonNullableFields;
5265
5507
  type context_CursorPaging = CursorPaging;
5266
5508
  type context_CursorPagingMetadata = CursorPagingMetadata;
5267
5509
  type context_CursorQuery = CursorQuery;
@@ -5273,6 +5515,7 @@ type context_DeleteAutomationResponse = DeleteAutomationResponse;
5273
5515
  type context_DeleteContext = DeleteContext;
5274
5516
  type context_DeleteDraftAutomationRequest = DeleteDraftAutomationRequest;
5275
5517
  type context_DeleteDraftAutomationResponse = DeleteDraftAutomationResponse;
5518
+ type context_DeletePreinstalledAutomationOptions = DeletePreinstalledAutomationOptions;
5276
5519
  type context_DeletePreinstalledAutomationRequest = DeletePreinstalledAutomationRequest;
5277
5520
  type context_DeletePreinstalledAutomationResponse = DeletePreinstalledAutomationResponse;
5278
5521
  type context_DeleteStatus = DeleteStatus;
@@ -5291,6 +5534,8 @@ type context_Filter = Filter;
5291
5534
  type context_FutureDateActivationOffset = FutureDateActivationOffset;
5292
5535
  type context_GetActionsQuotaInfoRequest = GetActionsQuotaInfoRequest;
5293
5536
  type context_GetActionsQuotaInfoResponse = GetActionsQuotaInfoResponse;
5537
+ type context_GetActionsQuotaInfoResponseNonNullableFields = GetActionsQuotaInfoResponseNonNullableFields;
5538
+ type context_GetAutomationActionSchemaIdentifiers = GetAutomationActionSchemaIdentifiers;
5294
5539
  type context_GetAutomationActionSchemaRequest = GetAutomationActionSchemaRequest;
5295
5540
  type context_GetAutomationActionSchemaResponse = GetAutomationActionSchemaResponse;
5296
5541
  type context_GetAutomationOptions = GetAutomationOptions;
@@ -5301,6 +5546,7 @@ type context_GetAutomationRevisionRequest = GetAutomationRevisionRequest;
5301
5546
  type context_GetAutomationRevisionResponse = GetAutomationRevisionResponse;
5302
5547
  type context_GetOrCreateDraftAutomationRequest = GetOrCreateDraftAutomationRequest;
5303
5548
  type context_GetOrCreateDraftAutomationResponse = GetOrCreateDraftAutomationResponse;
5549
+ type context_GetOrCreateDraftAutomationResponseNonNullableFields = GetOrCreateDraftAutomationResponseNonNullableFields;
5304
5550
  type context_IdentificationData = IdentificationData;
5305
5551
  type context_IdentificationDataIdOneOf = IdentificationDataIdOneOf;
5306
5552
  type context_ItemMetadata = ItemMetadata;
@@ -5323,8 +5569,10 @@ type context_PublishDraftAutomationResponse = PublishDraftAutomationResponse;
5323
5569
  type context_QueryAutomationsRequest = QueryAutomationsRequest;
5324
5570
  type context_QueryAutomationsResponse = QueryAutomationsResponse;
5325
5571
  type context_QueryAutomationsResponseNonNullableFields = QueryAutomationsResponseNonNullableFields;
5572
+ type context_QueryAutomationsWithDraftsOptions = QueryAutomationsWithDraftsOptions;
5326
5573
  type context_QueryAutomationsWithDraftsRequest = QueryAutomationsWithDraftsRequest;
5327
5574
  type context_QueryAutomationsWithDraftsResponse = QueryAutomationsWithDraftsResponse;
5575
+ type context_QueryAutomationsWithDraftsResponseNonNullableFields = QueryAutomationsWithDraftsResponseNonNullableFields;
5328
5576
  type context_Quota = Quota;
5329
5577
  type context_QuotaInfo = QuotaInfo;
5330
5578
  type context_RateLimit = RateLimit;
@@ -5369,8 +5617,10 @@ type context_UpdateAutomation = UpdateAutomation;
5369
5617
  type context_UpdateAutomationRequest = UpdateAutomationRequest;
5370
5618
  type context_UpdateAutomationResponse = UpdateAutomationResponse;
5371
5619
  type context_UpdateAutomationResponseNonNullableFields = UpdateAutomationResponseNonNullableFields;
5620
+ type context_UpdateDraftAutomation = UpdateDraftAutomation;
5372
5621
  type context_UpdateDraftAutomationRequest = UpdateDraftAutomationRequest;
5373
5622
  type context_UpdateDraftAutomationResponse = UpdateDraftAutomationResponse;
5623
+ type context_UpdateDraftAutomationResponseNonNullableFields = UpdateDraftAutomationResponseNonNullableFields;
5374
5624
  type context_UpdatedWithPreviousEntity = UpdatedWithPreviousEntity;
5375
5625
  type context_UpgradeCTA = UpgradeCTA;
5376
5626
  type context_ValidateAutomationOptions = ValidateAutomationOptions;
@@ -5388,19 +5638,29 @@ type context__publicOnAutomationDeletedWithEntityType = _publicOnAutomationDelet
5388
5638
  type context__publicOnAutomationUpdatedType = _publicOnAutomationUpdatedType;
5389
5639
  type context__publicOnAutomationUpdatedWithPreviousEntityType = _publicOnAutomationUpdatedWithPreviousEntityType;
5390
5640
  declare const context_bulkDeleteAutomations: typeof bulkDeleteAutomations;
5641
+ declare const context_copyAutomation: typeof copyAutomation;
5391
5642
  declare const context_createAutomation: typeof createAutomation;
5643
+ declare const context_createDraftAutomation: typeof createDraftAutomation;
5644
+ declare const context_createPreinstalledAutomation: typeof createPreinstalledAutomation;
5392
5645
  declare const context_deleteAutomation: typeof deleteAutomation;
5646
+ declare const context_deleteDraftAutomation: typeof deleteDraftAutomation;
5647
+ declare const context_deletePreinstalledAutomation: typeof deletePreinstalledAutomation;
5648
+ declare const context_getActionsQuotaInfo: typeof getActionsQuotaInfo;
5393
5649
  declare const context_getAutomation: typeof getAutomation;
5650
+ declare const context_getAutomationActionSchema: typeof getAutomationActionSchema;
5651
+ declare const context_getOrCreateDraftAutomation: typeof getOrCreateDraftAutomation;
5394
5652
  declare const context_onAutomationCreated: typeof onAutomationCreated;
5395
5653
  declare const context_onAutomationDeleted: typeof onAutomationDeleted;
5396
5654
  declare const context_onAutomationDeletedWithEntity: typeof onAutomationDeletedWithEntity;
5397
5655
  declare const context_onAutomationUpdated: typeof onAutomationUpdated;
5398
5656
  declare const context_onAutomationUpdatedWithPreviousEntity: typeof onAutomationUpdatedWithPreviousEntity;
5399
5657
  declare const context_queryAutomations: typeof queryAutomations;
5658
+ declare const context_queryAutomationsWithDrafts: typeof queryAutomationsWithDrafts;
5400
5659
  declare const context_updateAutomation: typeof updateAutomation;
5660
+ declare const context_updateDraftAutomation: typeof updateDraftAutomation;
5401
5661
  declare const context_validateAutomation: typeof validateAutomation;
5402
5662
  declare namespace context {
5403
- 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_CreateDraftAutomationRequest as CreateDraftAutomationRequest, type context_CreateDraftAutomationResponse as CreateDraftAutomationResponse, 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_DeleteDraftAutomationRequest as DeleteDraftAutomationRequest, type context_DeleteDraftAutomationResponse as DeleteDraftAutomationResponse, 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_DraftInfo as DraftInfo, type context_DraftsInfo as DraftsInfo, 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_GetOrCreateDraftAutomationRequest as GetOrCreateDraftAutomationRequest, type context_GetOrCreateDraftAutomationResponse as GetOrCreateDraftAutomationResponse, 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_PublishDraftAutomationRequest as PublishDraftAutomationRequest, type context_PublishDraftAutomationResponse as PublishDraftAutomationResponse, type context_QueryAutomationsRequest as QueryAutomationsRequest, type context_QueryAutomationsResponse as QueryAutomationsResponse, type context_QueryAutomationsResponseNonNullableFields as QueryAutomationsResponseNonNullableFields, type context_QueryAutomationsWithDraftsRequest as QueryAutomationsWithDraftsRequest, type context_QueryAutomationsWithDraftsResponse as QueryAutomationsWithDraftsResponse, 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_UpdateDraftAutomationRequest as UpdateDraftAutomationRequest, type context_UpdateDraftAutomationResponse as UpdateDraftAutomationResponse, 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__publicOnAutomationCreatedType as _publicOnAutomationCreatedType, type context__publicOnAutomationDeletedType as _publicOnAutomationDeletedType, type context__publicOnAutomationDeletedWithEntityType as _publicOnAutomationDeletedWithEntityType, type context__publicOnAutomationUpdatedType as _publicOnAutomationUpdatedType, type context__publicOnAutomationUpdatedWithPreviousEntityType as _publicOnAutomationUpdatedWithPreviousEntityType, 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 };
5663
+ 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_CopyAutomationOptions as CopyAutomationOptions, type context_CopyAutomationRequest as CopyAutomationRequest, type context_CopyAutomationResponse as CopyAutomationResponse, type context_CopyAutomationResponseNonNullableFields as CopyAutomationResponseNonNullableFields, type context_CreateAutomationRequest as CreateAutomationRequest, type context_CreateAutomationResponse as CreateAutomationResponse, type context_CreateAutomationResponseNonNullableFields as CreateAutomationResponseNonNullableFields, type context_CreateDraftAutomationOptions as CreateDraftAutomationOptions, type context_CreateDraftAutomationRequest as CreateDraftAutomationRequest, type context_CreateDraftAutomationResponse as CreateDraftAutomationResponse, type context_CreateDraftAutomationResponseNonNullableFields as CreateDraftAutomationResponseNonNullableFields, type context_CreatePreinstalledAutomationRequest as CreatePreinstalledAutomationRequest, type context_CreatePreinstalledAutomationResponse as CreatePreinstalledAutomationResponse, type context_CreatePreinstalledAutomationResponseNonNullableFields as CreatePreinstalledAutomationResponseNonNullableFields, 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_DeleteDraftAutomationRequest as DeleteDraftAutomationRequest, type context_DeleteDraftAutomationResponse as DeleteDraftAutomationResponse, type context_DeletePreinstalledAutomationOptions as DeletePreinstalledAutomationOptions, 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_DraftInfo as DraftInfo, type context_DraftsInfo as DraftsInfo, 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_GetActionsQuotaInfoResponseNonNullableFields as GetActionsQuotaInfoResponseNonNullableFields, type context_GetAutomationActionSchemaIdentifiers as GetAutomationActionSchemaIdentifiers, 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_GetOrCreateDraftAutomationRequest as GetOrCreateDraftAutomationRequest, type context_GetOrCreateDraftAutomationResponse as GetOrCreateDraftAutomationResponse, type context_GetOrCreateDraftAutomationResponseNonNullableFields as GetOrCreateDraftAutomationResponseNonNullableFields, 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_PublishDraftAutomationRequest as PublishDraftAutomationRequest, type context_PublishDraftAutomationResponse as PublishDraftAutomationResponse, type context_QueryAutomationsRequest as QueryAutomationsRequest, type context_QueryAutomationsResponse as QueryAutomationsResponse, type context_QueryAutomationsResponseNonNullableFields as QueryAutomationsResponseNonNullableFields, type context_QueryAutomationsWithDraftsOptions as QueryAutomationsWithDraftsOptions, type context_QueryAutomationsWithDraftsRequest as QueryAutomationsWithDraftsRequest, type context_QueryAutomationsWithDraftsResponse as QueryAutomationsWithDraftsResponse, type context_QueryAutomationsWithDraftsResponseNonNullableFields as QueryAutomationsWithDraftsResponseNonNullableFields, 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_UpdateDraftAutomation as UpdateDraftAutomation, type context_UpdateDraftAutomationRequest as UpdateDraftAutomationRequest, type context_UpdateDraftAutomationResponse as UpdateDraftAutomationResponse, type context_UpdateDraftAutomationResponseNonNullableFields as UpdateDraftAutomationResponseNonNullableFields, 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__publicOnAutomationCreatedType as _publicOnAutomationCreatedType, type context__publicOnAutomationDeletedType as _publicOnAutomationDeletedType, type context__publicOnAutomationDeletedWithEntityType as _publicOnAutomationDeletedWithEntityType, type context__publicOnAutomationUpdatedType as _publicOnAutomationUpdatedType, type context__publicOnAutomationUpdatedWithPreviousEntityType as _publicOnAutomationUpdatedWithPreviousEntityType, context_bulkDeleteAutomations as bulkDeleteAutomations, context_copyAutomation as copyAutomation, context_createAutomation as createAutomation, context_createDraftAutomation as createDraftAutomation, context_createPreinstalledAutomation as createPreinstalledAutomation, context_deleteAutomation as deleteAutomation, context_deleteDraftAutomation as deleteDraftAutomation, context_deletePreinstalledAutomation as deletePreinstalledAutomation, context_getActionsQuotaInfo as getActionsQuotaInfo, context_getAutomation as getAutomation, context_getAutomationActionSchema as getAutomationActionSchema, context_getOrCreateDraftAutomation as getOrCreateDraftAutomation, 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_queryAutomationsWithDrafts as queryAutomationsWithDrafts, context_updateAutomation as updateAutomation, context_updateDraftAutomation as updateDraftAutomation, context_validateAutomation as validateAutomation };
5404
5664
  }
5405
5665
 
5406
5666
  export { context$1 as activations, context$2 as automationsService, context as automationsServiceV2 };