@wix/automations 1.0.23 → 1.0.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/automations",
3
- "version": "1.0.23",
3
+ "version": "1.0.25",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -18,9 +18,9 @@
18
18
  "type-bundles"
19
19
  ],
20
20
  "dependencies": {
21
- "@wix/automations_activations": "1.0.19",
21
+ "@wix/automations_activations": "1.0.20",
22
22
  "@wix/automations_automations-service": "1.0.11",
23
- "@wix/automations_automations-service-v-2": "1.0.11"
23
+ "@wix/automations_automations-service-v-2": "1.0.12"
24
24
  },
25
25
  "devDependencies": {
26
26
  "glob": "^10.4.1",
@@ -45,5 +45,5 @@
45
45
  "fqdn": ""
46
46
  }
47
47
  },
48
- "falconPackageHash": "5097cab16001e20997adbcc7f6353b39d558d359c461afa3f558e7e3"
48
+ "falconPackageHash": "1a78f78c064baa2110bad64500284d50f7d42d5a57d82b33978c649b"
49
49
  }
@@ -4560,6 +4560,14 @@ interface DeleteDraftAutomationRequest {
4560
4560
  }
4561
4561
  interface DeleteDraftAutomationResponse {
4562
4562
  }
4563
+ interface PublishDraftAutomationRequest {
4564
+ /** Id of the draft automation to publish. */
4565
+ automationId?: string;
4566
+ }
4567
+ interface PublishDraftAutomationResponse {
4568
+ /** Updated automation after publishing the draft */
4569
+ automation?: Automation;
4570
+ }
4563
4571
  interface ValidateAutomationRequest {
4564
4572
  /** Automation to validate. */
4565
4573
  automation: Automation;
@@ -5310,6 +5318,8 @@ type context_OutputAction = OutputAction;
5310
5318
  type context_Plan = Plan;
5311
5319
  type context_PreinstalledOrigin = PreinstalledOrigin;
5312
5320
  type context_ProviderConfigurationError = ProviderConfigurationError;
5321
+ type context_PublishDraftAutomationRequest = PublishDraftAutomationRequest;
5322
+ type context_PublishDraftAutomationResponse = PublishDraftAutomationResponse;
5313
5323
  type context_QueryAutomationsRequest = QueryAutomationsRequest;
5314
5324
  type context_QueryAutomationsResponse = QueryAutomationsResponse;
5315
5325
  type context_QueryAutomationsResponseNonNullableFields = QueryAutomationsResponseNonNullableFields;
@@ -5390,7 +5400,7 @@ declare const context_queryAutomations: typeof queryAutomations;
5390
5400
  declare const context_updateAutomation: typeof updateAutomation;
5391
5401
  declare const context_validateAutomation: typeof validateAutomation;
5392
5402
  declare namespace context {
5393
- 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_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 };
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 };
5394
5404
  }
5395
5405
 
5396
5406
  export { context$1 as activations, context$2 as automationsService, context as automationsServiceV2 };
@@ -4560,6 +4560,14 @@ interface DeleteDraftAutomationRequest {
4560
4560
  }
4561
4561
  interface DeleteDraftAutomationResponse {
4562
4562
  }
4563
+ interface PublishDraftAutomationRequest {
4564
+ /** Id of the draft automation to publish. */
4565
+ automationId?: string;
4566
+ }
4567
+ interface PublishDraftAutomationResponse {
4568
+ /** Updated automation after publishing the draft */
4569
+ automation?: Automation;
4570
+ }
4563
4571
  interface ValidateAutomationRequest {
4564
4572
  /** Automation to validate. */
4565
4573
  automation: Automation;
@@ -5310,6 +5318,8 @@ type index_d_OutputAction = OutputAction;
5310
5318
  type index_d_Plan = Plan;
5311
5319
  type index_d_PreinstalledOrigin = PreinstalledOrigin;
5312
5320
  type index_d_ProviderConfigurationError = ProviderConfigurationError;
5321
+ type index_d_PublishDraftAutomationRequest = PublishDraftAutomationRequest;
5322
+ type index_d_PublishDraftAutomationResponse = PublishDraftAutomationResponse;
5313
5323
  type index_d_QueryAutomationsRequest = QueryAutomationsRequest;
5314
5324
  type index_d_QueryAutomationsResponse = QueryAutomationsResponse;
5315
5325
  type index_d_QueryAutomationsResponseNonNullableFields = QueryAutomationsResponseNonNullableFields;
@@ -5390,7 +5400,7 @@ declare const index_d_queryAutomations: typeof queryAutomations;
5390
5400
  declare const index_d_updateAutomation: typeof updateAutomation;
5391
5401
  declare const index_d_validateAutomation: typeof validateAutomation;
5392
5402
  declare namespace index_d {
5393
- export { type index_d_Action as Action, type index_d_ActionConfigurationError as ActionConfigurationError, index_d_ActionErrorType as ActionErrorType, type index_d_ActionEvent as ActionEvent, type index_d_ActionInfoOneOf as ActionInfoOneOf, type index_d_ActionProviderQuotaInfo as ActionProviderQuotaInfo, type index_d_ActionQuotaInfo as ActionQuotaInfo, type index_d_ActionSettings as ActionSettings, type index_d_ActionValidationError as ActionValidationError, type index_d_ActionValidationErrorErrorOneOf as ActionValidationErrorErrorOneOf, type index_d_ActionValidationInfo as ActionValidationInfo, type index_d_AdditionalInfo as AdditionalInfo, type index_d_AppDefinedAction as AppDefinedAction, type index_d_ApplicationError as ApplicationError, type index_d_ApplicationOrigin as ApplicationOrigin, type index_d_Asset as Asset, type index_d_AuditInfo as AuditInfo, type index_d_AuditInfoIdOneOf as AuditInfoIdOneOf, type index_d_Automation as Automation, type index_d_AutomationConfiguration as AutomationConfiguration, type index_d_AutomationCreatedEnvelope as AutomationCreatedEnvelope, type index_d_AutomationDeletedEnvelope as AutomationDeletedEnvelope, type index_d_AutomationDeletedWithEntityEnvelope as AutomationDeletedWithEntityEnvelope, type index_d_AutomationNonNullableFields as AutomationNonNullableFields, type index_d_AutomationOriginInfoOneOf as AutomationOriginInfoOneOf, type index_d_AutomationSettings as AutomationSettings, type index_d_AutomationUpdatedEnvelope as AutomationUpdatedEnvelope, type index_d_AutomationUpdatedWithPreviousEntityEnvelope as AutomationUpdatedWithPreviousEntityEnvelope, type index_d_AutomationsQueryBuilder as AutomationsQueryBuilder, type index_d_AutomationsQueryResult as AutomationsQueryResult, type index_d_BaseEventMetadata as BaseEventMetadata, type index_d_BulkActionMetadata as BulkActionMetadata, type index_d_BulkDeleteAutomationsRequest as BulkDeleteAutomationsRequest, type index_d_BulkDeleteAutomationsResponse as BulkDeleteAutomationsResponse, type index_d_BulkDeleteAutomationsResponseNonNullableFields as BulkDeleteAutomationsResponseNonNullableFields, type index_d_BulkDeleteResult as BulkDeleteResult, type index_d_CTA as CTA, type index_d_ConditionAction as ConditionAction, type index_d_ConditionExpressionGroup as ConditionExpressionGroup, type index_d_CopyAutomationRequest as CopyAutomationRequest, type index_d_CopyAutomationResponse as CopyAutomationResponse, type index_d_CreateAutomationRequest as CreateAutomationRequest, type index_d_CreateAutomationResponse as CreateAutomationResponse, type index_d_CreateAutomationResponseNonNullableFields as CreateAutomationResponseNonNullableFields, type index_d_CreateDraftAutomationRequest as CreateDraftAutomationRequest, type index_d_CreateDraftAutomationResponse as CreateDraftAutomationResponse, type index_d_CreatePreinstalledAutomationRequest as CreatePreinstalledAutomationRequest, type index_d_CreatePreinstalledAutomationResponse as CreatePreinstalledAutomationResponse, type index_d_CursorPaging as CursorPaging, type index_d_CursorPagingMetadata as CursorPagingMetadata, type index_d_CursorQuery as CursorQuery, type index_d_CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOf, type index_d_Cursors as Cursors, type index_d_DelayAction as DelayAction, type index_d_DeleteAutomationRequest as DeleteAutomationRequest, type index_d_DeleteAutomationResponse as DeleteAutomationResponse, type index_d_DeleteContext as DeleteContext, type index_d_DeleteDraftAutomationRequest as DeleteDraftAutomationRequest, type index_d_DeleteDraftAutomationResponse as DeleteDraftAutomationResponse, type index_d_DeletePreinstalledAutomationRequest as DeletePreinstalledAutomationRequest, type index_d_DeletePreinstalledAutomationResponse as DeletePreinstalledAutomationResponse, index_d_DeleteStatus as DeleteStatus, type index_d_DeletedWithEntity as DeletedWithEntity, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_DraftInfo as DraftInfo, type index_d_DraftsInfo as DraftsInfo, type index_d_Empty as Empty, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, type index_d_EventMetadata as EventMetadata, type index_d_Filter as Filter, type index_d_FutureDateActivationOffset as FutureDateActivationOffset, type index_d_GetActionsQuotaInfoRequest as GetActionsQuotaInfoRequest, type index_d_GetActionsQuotaInfoResponse as GetActionsQuotaInfoResponse, type index_d_GetAutomationActionSchemaRequest as GetAutomationActionSchemaRequest, type index_d_GetAutomationActionSchemaResponse as GetAutomationActionSchemaResponse, type index_d_GetAutomationOptions as GetAutomationOptions, type index_d_GetAutomationRequest as GetAutomationRequest, type index_d_GetAutomationResponse as GetAutomationResponse, type index_d_GetAutomationResponseNonNullableFields as GetAutomationResponseNonNullableFields, type index_d_GetAutomationRevisionRequest as GetAutomationRevisionRequest, type index_d_GetAutomationRevisionResponse as GetAutomationRevisionResponse, type index_d_GetOrCreateDraftAutomationRequest as GetOrCreateDraftAutomationRequest, type index_d_GetOrCreateDraftAutomationResponse as GetOrCreateDraftAutomationResponse, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d_ItemMetadata as ItemMetadata, type index_d_MessageEnvelope as MessageEnvelope, type index_d_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type index_d_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, index_d_Namespace as Namespace, type index_d_NamespaceChanged as NamespaceChanged, index_d_Operator as Operator, index_d_Origin as Origin, type index_d_OutputAction as OutputAction, type index_d_Plan as Plan, type index_d_PreinstalledOrigin as PreinstalledOrigin, type index_d_ProviderConfigurationError as ProviderConfigurationError, type index_d_QueryAutomationsRequest as QueryAutomationsRequest, type index_d_QueryAutomationsResponse as QueryAutomationsResponse, type index_d_QueryAutomationsResponseNonNullableFields as QueryAutomationsResponseNonNullableFields, type index_d_QueryAutomationsWithDraftsRequest as QueryAutomationsWithDraftsRequest, type index_d_QueryAutomationsWithDraftsResponse as QueryAutomationsWithDraftsResponse, type index_d_Quota as Quota, type index_d_QuotaInfo as QuotaInfo, type index_d_RateLimit as RateLimit, type index_d_RateLimitAction as RateLimitAction, type index_d_RestoreInfo as RestoreInfo, type index_d_ServiceProvisioned as ServiceProvisioned, type index_d_ServiceRemoved as ServiceRemoved, type index_d_SiteCreated as SiteCreated, index_d_SiteCreatedContext as SiteCreatedContext, type index_d_SiteDeleted as SiteDeleted, type index_d_SiteHardDeleted as SiteHardDeleted, type index_d_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type index_d_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type index_d_SitePublished as SitePublished, type index_d_SiteRenamed as SiteRenamed, type index_d_SiteTransferred as SiteTransferred, type index_d_SiteUndeleted as SiteUndeleted, type index_d_SiteUnpublished as SiteUnpublished, index_d_SortOrder as SortOrder, type index_d_Sorting as Sorting, index_d_State as State, index_d_Status as Status, type index_d_StudioAssigned as StudioAssigned, type index_d_StudioUnassigned as StudioUnassigned, index_d_TimeUnit as TimeUnit, type index_d_Trigger as Trigger, type index_d_TriggerConfigurationError as TriggerConfigurationError, index_d_TriggerErrorType as TriggerErrorType, type index_d_TriggerValidationError as TriggerValidationError, type index_d_TriggerValidationErrorErrorOneOf as TriggerValidationErrorErrorOneOf, index_d_TriggerValidationErrorValidationErrorType as TriggerValidationErrorValidationErrorType, index_d_Type as Type, type index_d_UpdateAutomation as UpdateAutomation, type index_d_UpdateAutomationRequest as UpdateAutomationRequest, type index_d_UpdateAutomationResponse as UpdateAutomationResponse, type index_d_UpdateAutomationResponseNonNullableFields as UpdateAutomationResponseNonNullableFields, type index_d_UpdateDraftAutomationRequest as UpdateDraftAutomationRequest, type index_d_UpdateDraftAutomationResponse as UpdateDraftAutomationResponse, type index_d_UpdatedWithPreviousEntity as UpdatedWithPreviousEntity, type index_d_UpgradeCTA as UpgradeCTA, type index_d_ValidateAutomationOptions as ValidateAutomationOptions, type index_d_ValidateAutomationRequest as ValidateAutomationRequest, type index_d_ValidateAutomationResponse as ValidateAutomationResponse, type index_d_ValidateAutomationResponseNonNullableFields as ValidateAutomationResponseNonNullableFields, index_d_ValidationErrorType as ValidationErrorType, type index_d_ValidationSettings as ValidationSettings, index_d_WebhookIdentityType as WebhookIdentityType, type index_d__publicOnAutomationCreatedType as _publicOnAutomationCreatedType, type index_d__publicOnAutomationDeletedType as _publicOnAutomationDeletedType, type index_d__publicOnAutomationDeletedWithEntityType as _publicOnAutomationDeletedWithEntityType, type index_d__publicOnAutomationUpdatedType as _publicOnAutomationUpdatedType, type index_d__publicOnAutomationUpdatedWithPreviousEntityType as _publicOnAutomationUpdatedWithPreviousEntityType, index_d_bulkDeleteAutomations as bulkDeleteAutomations, index_d_createAutomation as createAutomation, index_d_deleteAutomation as deleteAutomation, index_d_getAutomation as getAutomation, index_d_onAutomationCreated as onAutomationCreated, index_d_onAutomationDeleted as onAutomationDeleted, index_d_onAutomationDeletedWithEntity as onAutomationDeletedWithEntity, index_d_onAutomationUpdated as onAutomationUpdated, index_d_onAutomationUpdatedWithPreviousEntity as onAutomationUpdatedWithPreviousEntity, onAutomationCreated$1 as publicOnAutomationCreated, onAutomationDeleted$1 as publicOnAutomationDeleted, onAutomationDeletedWithEntity$1 as publicOnAutomationDeletedWithEntity, onAutomationUpdated$1 as publicOnAutomationUpdated, onAutomationUpdatedWithPreviousEntity$1 as publicOnAutomationUpdatedWithPreviousEntity, index_d_queryAutomations as queryAutomations, index_d_updateAutomation as updateAutomation, index_d_validateAutomation as validateAutomation };
5403
+ export { type index_d_Action as Action, type index_d_ActionConfigurationError as ActionConfigurationError, index_d_ActionErrorType as ActionErrorType, type index_d_ActionEvent as ActionEvent, type index_d_ActionInfoOneOf as ActionInfoOneOf, type index_d_ActionProviderQuotaInfo as ActionProviderQuotaInfo, type index_d_ActionQuotaInfo as ActionQuotaInfo, type index_d_ActionSettings as ActionSettings, type index_d_ActionValidationError as ActionValidationError, type index_d_ActionValidationErrorErrorOneOf as ActionValidationErrorErrorOneOf, type index_d_ActionValidationInfo as ActionValidationInfo, type index_d_AdditionalInfo as AdditionalInfo, type index_d_AppDefinedAction as AppDefinedAction, type index_d_ApplicationError as ApplicationError, type index_d_ApplicationOrigin as ApplicationOrigin, type index_d_Asset as Asset, type index_d_AuditInfo as AuditInfo, type index_d_AuditInfoIdOneOf as AuditInfoIdOneOf, type index_d_Automation as Automation, type index_d_AutomationConfiguration as AutomationConfiguration, type index_d_AutomationCreatedEnvelope as AutomationCreatedEnvelope, type index_d_AutomationDeletedEnvelope as AutomationDeletedEnvelope, type index_d_AutomationDeletedWithEntityEnvelope as AutomationDeletedWithEntityEnvelope, type index_d_AutomationNonNullableFields as AutomationNonNullableFields, type index_d_AutomationOriginInfoOneOf as AutomationOriginInfoOneOf, type index_d_AutomationSettings as AutomationSettings, type index_d_AutomationUpdatedEnvelope as AutomationUpdatedEnvelope, type index_d_AutomationUpdatedWithPreviousEntityEnvelope as AutomationUpdatedWithPreviousEntityEnvelope, type index_d_AutomationsQueryBuilder as AutomationsQueryBuilder, type index_d_AutomationsQueryResult as AutomationsQueryResult, type index_d_BaseEventMetadata as BaseEventMetadata, type index_d_BulkActionMetadata as BulkActionMetadata, type index_d_BulkDeleteAutomationsRequest as BulkDeleteAutomationsRequest, type index_d_BulkDeleteAutomationsResponse as BulkDeleteAutomationsResponse, type index_d_BulkDeleteAutomationsResponseNonNullableFields as BulkDeleteAutomationsResponseNonNullableFields, type index_d_BulkDeleteResult as BulkDeleteResult, type index_d_CTA as CTA, type index_d_ConditionAction as ConditionAction, type index_d_ConditionExpressionGroup as ConditionExpressionGroup, type index_d_CopyAutomationRequest as CopyAutomationRequest, type index_d_CopyAutomationResponse as CopyAutomationResponse, type index_d_CreateAutomationRequest as CreateAutomationRequest, type index_d_CreateAutomationResponse as CreateAutomationResponse, type index_d_CreateAutomationResponseNonNullableFields as CreateAutomationResponseNonNullableFields, type index_d_CreateDraftAutomationRequest as CreateDraftAutomationRequest, type index_d_CreateDraftAutomationResponse as CreateDraftAutomationResponse, type index_d_CreatePreinstalledAutomationRequest as CreatePreinstalledAutomationRequest, type index_d_CreatePreinstalledAutomationResponse as CreatePreinstalledAutomationResponse, type index_d_CursorPaging as CursorPaging, type index_d_CursorPagingMetadata as CursorPagingMetadata, type index_d_CursorQuery as CursorQuery, type index_d_CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOf, type index_d_Cursors as Cursors, type index_d_DelayAction as DelayAction, type index_d_DeleteAutomationRequest as DeleteAutomationRequest, type index_d_DeleteAutomationResponse as DeleteAutomationResponse, type index_d_DeleteContext as DeleteContext, type index_d_DeleteDraftAutomationRequest as DeleteDraftAutomationRequest, type index_d_DeleteDraftAutomationResponse as DeleteDraftAutomationResponse, type index_d_DeletePreinstalledAutomationRequest as DeletePreinstalledAutomationRequest, type index_d_DeletePreinstalledAutomationResponse as DeletePreinstalledAutomationResponse, index_d_DeleteStatus as DeleteStatus, type index_d_DeletedWithEntity as DeletedWithEntity, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_DraftInfo as DraftInfo, type index_d_DraftsInfo as DraftsInfo, type index_d_Empty as Empty, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, type index_d_EventMetadata as EventMetadata, type index_d_Filter as Filter, type index_d_FutureDateActivationOffset as FutureDateActivationOffset, type index_d_GetActionsQuotaInfoRequest as GetActionsQuotaInfoRequest, type index_d_GetActionsQuotaInfoResponse as GetActionsQuotaInfoResponse, type index_d_GetAutomationActionSchemaRequest as GetAutomationActionSchemaRequest, type index_d_GetAutomationActionSchemaResponse as GetAutomationActionSchemaResponse, type index_d_GetAutomationOptions as GetAutomationOptions, type index_d_GetAutomationRequest as GetAutomationRequest, type index_d_GetAutomationResponse as GetAutomationResponse, type index_d_GetAutomationResponseNonNullableFields as GetAutomationResponseNonNullableFields, type index_d_GetAutomationRevisionRequest as GetAutomationRevisionRequest, type index_d_GetAutomationRevisionResponse as GetAutomationRevisionResponse, type index_d_GetOrCreateDraftAutomationRequest as GetOrCreateDraftAutomationRequest, type index_d_GetOrCreateDraftAutomationResponse as GetOrCreateDraftAutomationResponse, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d_ItemMetadata as ItemMetadata, type index_d_MessageEnvelope as MessageEnvelope, type index_d_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type index_d_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, index_d_Namespace as Namespace, type index_d_NamespaceChanged as NamespaceChanged, index_d_Operator as Operator, index_d_Origin as Origin, type index_d_OutputAction as OutputAction, type index_d_Plan as Plan, type index_d_PreinstalledOrigin as PreinstalledOrigin, type index_d_ProviderConfigurationError as ProviderConfigurationError, type index_d_PublishDraftAutomationRequest as PublishDraftAutomationRequest, type index_d_PublishDraftAutomationResponse as PublishDraftAutomationResponse, type index_d_QueryAutomationsRequest as QueryAutomationsRequest, type index_d_QueryAutomationsResponse as QueryAutomationsResponse, type index_d_QueryAutomationsResponseNonNullableFields as QueryAutomationsResponseNonNullableFields, type index_d_QueryAutomationsWithDraftsRequest as QueryAutomationsWithDraftsRequest, type index_d_QueryAutomationsWithDraftsResponse as QueryAutomationsWithDraftsResponse, type index_d_Quota as Quota, type index_d_QuotaInfo as QuotaInfo, type index_d_RateLimit as RateLimit, type index_d_RateLimitAction as RateLimitAction, type index_d_RestoreInfo as RestoreInfo, type index_d_ServiceProvisioned as ServiceProvisioned, type index_d_ServiceRemoved as ServiceRemoved, type index_d_SiteCreated as SiteCreated, index_d_SiteCreatedContext as SiteCreatedContext, type index_d_SiteDeleted as SiteDeleted, type index_d_SiteHardDeleted as SiteHardDeleted, type index_d_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type index_d_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type index_d_SitePublished as SitePublished, type index_d_SiteRenamed as SiteRenamed, type index_d_SiteTransferred as SiteTransferred, type index_d_SiteUndeleted as SiteUndeleted, type index_d_SiteUnpublished as SiteUnpublished, index_d_SortOrder as SortOrder, type index_d_Sorting as Sorting, index_d_State as State, index_d_Status as Status, type index_d_StudioAssigned as StudioAssigned, type index_d_StudioUnassigned as StudioUnassigned, index_d_TimeUnit as TimeUnit, type index_d_Trigger as Trigger, type index_d_TriggerConfigurationError as TriggerConfigurationError, index_d_TriggerErrorType as TriggerErrorType, type index_d_TriggerValidationError as TriggerValidationError, type index_d_TriggerValidationErrorErrorOneOf as TriggerValidationErrorErrorOneOf, index_d_TriggerValidationErrorValidationErrorType as TriggerValidationErrorValidationErrorType, index_d_Type as Type, type index_d_UpdateAutomation as UpdateAutomation, type index_d_UpdateAutomationRequest as UpdateAutomationRequest, type index_d_UpdateAutomationResponse as UpdateAutomationResponse, type index_d_UpdateAutomationResponseNonNullableFields as UpdateAutomationResponseNonNullableFields, type index_d_UpdateDraftAutomationRequest as UpdateDraftAutomationRequest, type index_d_UpdateDraftAutomationResponse as UpdateDraftAutomationResponse, type index_d_UpdatedWithPreviousEntity as UpdatedWithPreviousEntity, type index_d_UpgradeCTA as UpgradeCTA, type index_d_ValidateAutomationOptions as ValidateAutomationOptions, type index_d_ValidateAutomationRequest as ValidateAutomationRequest, type index_d_ValidateAutomationResponse as ValidateAutomationResponse, type index_d_ValidateAutomationResponseNonNullableFields as ValidateAutomationResponseNonNullableFields, index_d_ValidationErrorType as ValidationErrorType, type index_d_ValidationSettings as ValidationSettings, index_d_WebhookIdentityType as WebhookIdentityType, type index_d__publicOnAutomationCreatedType as _publicOnAutomationCreatedType, type index_d__publicOnAutomationDeletedType as _publicOnAutomationDeletedType, type index_d__publicOnAutomationDeletedWithEntityType as _publicOnAutomationDeletedWithEntityType, type index_d__publicOnAutomationUpdatedType as _publicOnAutomationUpdatedType, type index_d__publicOnAutomationUpdatedWithPreviousEntityType as _publicOnAutomationUpdatedWithPreviousEntityType, index_d_bulkDeleteAutomations as bulkDeleteAutomations, index_d_createAutomation as createAutomation, index_d_deleteAutomation as deleteAutomation, index_d_getAutomation as getAutomation, index_d_onAutomationCreated as onAutomationCreated, index_d_onAutomationDeleted as onAutomationDeleted, index_d_onAutomationDeletedWithEntity as onAutomationDeletedWithEntity, index_d_onAutomationUpdated as onAutomationUpdated, index_d_onAutomationUpdatedWithPreviousEntity as onAutomationUpdatedWithPreviousEntity, onAutomationCreated$1 as publicOnAutomationCreated, onAutomationDeleted$1 as publicOnAutomationDeleted, onAutomationDeletedWithEntity$1 as publicOnAutomationDeletedWithEntity, onAutomationUpdated$1 as publicOnAutomationUpdated, onAutomationUpdatedWithPreviousEntity$1 as publicOnAutomationUpdatedWithPreviousEntity, index_d_queryAutomations as queryAutomations, index_d_updateAutomation as updateAutomation, index_d_validateAutomation as validateAutomation };
5394
5404
  }
5395
5405
 
5396
5406
  export { index_d$1 as activations, index_d$2 as automationsService, index_d as automationsServiceV2 };