@wix/automations 1.0.50 → 1.0.51

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.50",
3
+ "version": "1.0.51",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -20,7 +20,7 @@
20
20
  "dependencies": {
21
21
  "@wix/automations_activations": "1.0.30",
22
22
  "@wix/automations_automations-service": "1.0.24",
23
- "@wix/automations_automations-service-v-2": "1.0.32"
23
+ "@wix/automations_automations-service-v-2": "1.0.33"
24
24
  },
25
25
  "devDependencies": {
26
26
  "glob": "^10.4.1",
@@ -45,5 +45,5 @@
45
45
  "fqdn": ""
46
46
  }
47
47
  },
48
- "falconPackageHash": "b5ece69c8f73a04eccd7d3244e748c4f3412053f22bc505335a0eb6e"
48
+ "falconPackageHash": "0ee97f528222f9393ddbaeddaf357f29368a5503c7a4d971165a1d23"
49
49
  }
@@ -4568,7 +4568,7 @@ interface BulkActionMetadata {
4568
4568
  }
4569
4569
  interface CreatePreinstalledAutomationRequest {
4570
4570
  /** Preinstalled automation to be created. */
4571
- automation?: Automation;
4571
+ automation: Automation;
4572
4572
  /** Optional - hide the created automation behind a spec */
4573
4573
  specInfo?: PreinstalledAutomationSpecInfo;
4574
4574
  /**
@@ -4603,7 +4603,7 @@ interface CreatePreinstalledAutomationResponse {
4603
4603
  }
4604
4604
  interface UpdatePreinstalledAutomationRequest {
4605
4605
  /** Preinstalled automation to update. */
4606
- automation?: Automation;
4606
+ automation: Automation;
4607
4607
  /** Optional - hide the updated automation behind a spec */
4608
4608
  specInfo?: PreinstalledAutomationSpecInfo;
4609
4609
  }
@@ -4613,7 +4613,7 @@ interface UpdatePreinstalledAutomationResponse {
4613
4613
  }
4614
4614
  interface DeletePreinstalledAutomationRequest {
4615
4615
  /** Preinstalled Component Id */
4616
- componentId?: string;
4616
+ componentId: string;
4617
4617
  /**
4618
4618
  * Optional - makes the deletion operation gradual
4619
4619
  * The automation will not return if the variant returns for the site
@@ -5477,6 +5477,15 @@ interface BulkDeleteAutomationsResponseNonNullableFields {
5477
5477
  results: BulkDeleteResultNonNullableFields[];
5478
5478
  bulkActionMetadata?: BulkActionMetadataNonNullableFields;
5479
5479
  }
5480
+ interface CreatePreinstalledAutomationResponseNonNullableFields {
5481
+ automation?: AutomationNonNullableFields;
5482
+ }
5483
+ interface UpdatePreinstalledAutomationResponseNonNullableFields {
5484
+ automation?: AutomationNonNullableFields;
5485
+ }
5486
+ interface QueryPreinstalledAutomationsForAppResponseNonNullableFields {
5487
+ automations: AutomationNonNullableFields[];
5488
+ }
5480
5489
  interface QueryAutomationsResponseNonNullableFields {
5481
5490
  automations: AutomationNonNullableFields[];
5482
5491
  }
@@ -5704,6 +5713,30 @@ interface UpdateAutomation {
5704
5713
  /** Namespace */
5705
5714
  namespace?: string | null;
5706
5715
  }
5716
+ interface CreatePreinstalledAutomationOptions {
5717
+ /** Optional - hide the created automation behind a spec */
5718
+ specInfo?: PreinstalledAutomationSpecInfo;
5719
+ /**
5720
+ * Optional - the information about the original site automation that was used to create this preinstalled automation
5721
+ * Usually an existing automation in a site is used to create the preinstalled automation, this is the relevant information.
5722
+ */
5723
+ originAutomationInfo?: OriginAutomationInfo;
5724
+ }
5725
+ interface UpdatePreinstalledAutomationOptions {
5726
+ /** Optional - hide the updated automation behind a spec */
5727
+ specInfo?: PreinstalledAutomationSpecInfo;
5728
+ }
5729
+ interface DeletePreinstalledAutomationOptions {
5730
+ /**
5731
+ * Optional - makes the deletion operation gradual
5732
+ * The automation will not return if the variant returns for the site
5733
+ */
5734
+ specInfo?: PreinstalledAutomationSpecInfo;
5735
+ }
5736
+ interface QueryPreinstalledAutomationsForAppOptions {
5737
+ /** WQL expression. */
5738
+ query?: CommonCursorQuery;
5739
+ }
5707
5740
  interface QueryCursorResult {
5708
5741
  cursors: Cursors;
5709
5742
  hasNext: () => boolean;
@@ -5895,6 +5928,37 @@ interface BulkDeleteAutomationsSignature {
5895
5928
  */
5896
5929
  (automationIds: string[]): Promise<BulkDeleteAutomationsResponse & BulkDeleteAutomationsResponseNonNullableFields>;
5897
5930
  }
5931
+ declare function createPreinstalledAutomation$1(httpClient: HttpClient): CreatePreinstalledAutomationSignature;
5932
+ interface CreatePreinstalledAutomationSignature {
5933
+ /**
5934
+ * Creates a Preinstalled Automation.
5935
+ * @param - Preinstalled automation to be created.
5936
+ */
5937
+ (automation: Automation, options?: CreatePreinstalledAutomationOptions | undefined): Promise<CreatePreinstalledAutomationResponse & CreatePreinstalledAutomationResponseNonNullableFields>;
5938
+ }
5939
+ declare function updatePreinstalledAutomation$1(httpClient: HttpClient): UpdatePreinstalledAutomationSignature;
5940
+ interface UpdatePreinstalledAutomationSignature {
5941
+ /**
5942
+ * Updates a Preinstalled Automation.
5943
+ * @param - Preinstalled automation to update.
5944
+ */
5945
+ (automation: Automation, options?: UpdatePreinstalledAutomationOptions | undefined): Promise<UpdatePreinstalledAutomationResponse & UpdatePreinstalledAutomationResponseNonNullableFields>;
5946
+ }
5947
+ declare function deletePreinstalledAutomation$1(httpClient: HttpClient): DeletePreinstalledAutomationSignature;
5948
+ interface DeletePreinstalledAutomationSignature {
5949
+ /**
5950
+ * Deletes a Preinstalled Automation.
5951
+ * @param - Preinstalled Component Id
5952
+ */
5953
+ (componentId: string, options?: DeletePreinstalledAutomationOptions | undefined): Promise<void>;
5954
+ }
5955
+ declare function queryPreinstalledAutomationsForApp$1(httpClient: HttpClient): QueryPreinstalledAutomationsForAppSignature;
5956
+ interface QueryPreinstalledAutomationsForAppSignature {
5957
+ /**
5958
+ * Allows an app to query for his preinstalled automations
5959
+ */
5960
+ (options?: QueryPreinstalledAutomationsForAppOptions | undefined): Promise<QueryPreinstalledAutomationsForAppResponse & QueryPreinstalledAutomationsForAppResponseNonNullableFields>;
5961
+ }
5898
5962
  declare function queryAutomations$1(httpClient: HttpClient): QueryAutomationsSignature;
5899
5963
  interface QueryAutomationsSignature {
5900
5964
  /**
@@ -6017,6 +6081,10 @@ declare const getAutomation: MaybeContext<BuildRESTFunction<typeof getAutomation
6017
6081
  declare const updateAutomation: MaybeContext<BuildRESTFunction<typeof updateAutomation$1> & typeof updateAutomation$1>;
6018
6082
  declare const deleteAutomation: MaybeContext<BuildRESTFunction<typeof deleteAutomation$1> & typeof deleteAutomation$1>;
6019
6083
  declare const bulkDeleteAutomations: MaybeContext<BuildRESTFunction<typeof bulkDeleteAutomations$1> & typeof bulkDeleteAutomations$1>;
6084
+ declare const createPreinstalledAutomation: MaybeContext<BuildRESTFunction<typeof createPreinstalledAutomation$1> & typeof createPreinstalledAutomation$1>;
6085
+ declare const updatePreinstalledAutomation: MaybeContext<BuildRESTFunction<typeof updatePreinstalledAutomation$1> & typeof updatePreinstalledAutomation$1>;
6086
+ declare const deletePreinstalledAutomation: MaybeContext<BuildRESTFunction<typeof deletePreinstalledAutomation$1> & typeof deletePreinstalledAutomation$1>;
6087
+ declare const queryPreinstalledAutomationsForApp: MaybeContext<BuildRESTFunction<typeof queryPreinstalledAutomationsForApp$1> & typeof queryPreinstalledAutomationsForApp$1>;
6020
6088
  declare const queryAutomations: MaybeContext<BuildRESTFunction<typeof queryAutomations$1> & typeof queryAutomations$1>;
6021
6089
  declare const copyAutomation: MaybeContext<BuildRESTFunction<typeof copyAutomation$1> & typeof copyAutomation$1>;
6022
6090
  declare const createDraftAutomation: MaybeContext<BuildRESTFunction<typeof createDraftAutomation$1> & typeof createDraftAutomation$1>;
@@ -6115,8 +6183,10 @@ type context_CreateDraftAutomationOptions = CreateDraftAutomationOptions;
6115
6183
  type context_CreateDraftAutomationRequest = CreateDraftAutomationRequest;
6116
6184
  type context_CreateDraftAutomationResponse = CreateDraftAutomationResponse;
6117
6185
  type context_CreateDraftAutomationResponseNonNullableFields = CreateDraftAutomationResponseNonNullableFields;
6186
+ type context_CreatePreinstalledAutomationOptions = CreatePreinstalledAutomationOptions;
6118
6187
  type context_CreatePreinstalledAutomationRequest = CreatePreinstalledAutomationRequest;
6119
6188
  type context_CreatePreinstalledAutomationResponse = CreatePreinstalledAutomationResponse;
6189
+ type context_CreatePreinstalledAutomationResponseNonNullableFields = CreatePreinstalledAutomationResponseNonNullableFields;
6120
6190
  type context_CursorPaging = CursorPaging;
6121
6191
  type context_CursorPagingMetadata = CursorPagingMetadata;
6122
6192
  type context_CursorQuery = CursorQuery;
@@ -6128,6 +6198,7 @@ type context_DeleteAutomationResponse = DeleteAutomationResponse;
6128
6198
  type context_DeleteContext = DeleteContext;
6129
6199
  type context_DeleteDraftAutomationRequest = DeleteDraftAutomationRequest;
6130
6200
  type context_DeleteDraftAutomationResponse = DeleteDraftAutomationResponse;
6201
+ type context_DeletePreinstalledAutomationOptions = DeletePreinstalledAutomationOptions;
6131
6202
  type context_DeletePreinstalledAutomationRequest = DeletePreinstalledAutomationRequest;
6132
6203
  type context_DeletePreinstalledAutomationResponse = DeletePreinstalledAutomationResponse;
6133
6204
  type context_DeleteStatus = DeleteStatus;
@@ -6188,8 +6259,10 @@ type context_QueryAutomationsWithDraftsOptions = QueryAutomationsWithDraftsOptio
6188
6259
  type context_QueryAutomationsWithDraftsRequest = QueryAutomationsWithDraftsRequest;
6189
6260
  type context_QueryAutomationsWithDraftsResponse = QueryAutomationsWithDraftsResponse;
6190
6261
  type context_QueryAutomationsWithDraftsResponseNonNullableFields = QueryAutomationsWithDraftsResponseNonNullableFields;
6262
+ type context_QueryPreinstalledAutomationsForAppOptions = QueryPreinstalledAutomationsForAppOptions;
6191
6263
  type context_QueryPreinstalledAutomationsForAppRequest = QueryPreinstalledAutomationsForAppRequest;
6192
6264
  type context_QueryPreinstalledAutomationsForAppResponse = QueryPreinstalledAutomationsForAppResponse;
6265
+ type context_QueryPreinstalledAutomationsForAppResponseNonNullableFields = QueryPreinstalledAutomationsForAppResponseNonNullableFields;
6193
6266
  type context_Quota = Quota;
6194
6267
  type context_QuotaInfo = QuotaInfo;
6195
6268
  type context_RateLimit = RateLimit;
@@ -6238,8 +6311,10 @@ type context_UpdateDraftAutomation = UpdateDraftAutomation;
6238
6311
  type context_UpdateDraftAutomationRequest = UpdateDraftAutomationRequest;
6239
6312
  type context_UpdateDraftAutomationResponse = UpdateDraftAutomationResponse;
6240
6313
  type context_UpdateDraftAutomationResponseNonNullableFields = UpdateDraftAutomationResponseNonNullableFields;
6314
+ type context_UpdatePreinstalledAutomationOptions = UpdatePreinstalledAutomationOptions;
6241
6315
  type context_UpdatePreinstalledAutomationRequest = UpdatePreinstalledAutomationRequest;
6242
6316
  type context_UpdatePreinstalledAutomationResponse = UpdatePreinstalledAutomationResponse;
6317
+ type context_UpdatePreinstalledAutomationResponseNonNullableFields = UpdatePreinstalledAutomationResponseNonNullableFields;
6243
6318
  type context_UpdatedWithPreviousEntity = UpdatedWithPreviousEntity;
6244
6319
  type context_UpgradeCTA = UpgradeCTA;
6245
6320
  type context_ValidateAutomationOptions = ValidateAutomationOptions;
@@ -6262,8 +6337,10 @@ declare const context_bulkDeleteAutomations: typeof bulkDeleteAutomations;
6262
6337
  declare const context_copyAutomation: typeof copyAutomation;
6263
6338
  declare const context_createAutomation: typeof createAutomation;
6264
6339
  declare const context_createDraftAutomation: typeof createDraftAutomation;
6340
+ declare const context_createPreinstalledAutomation: typeof createPreinstalledAutomation;
6265
6341
  declare const context_deleteAutomation: typeof deleteAutomation;
6266
6342
  declare const context_deleteDraftAutomation: typeof deleteDraftAutomation;
6343
+ declare const context_deletePreinstalledAutomation: typeof deletePreinstalledAutomation;
6267
6344
  declare const context_getActionsQuotaInfo: typeof getActionsQuotaInfo;
6268
6345
  declare const context_getAutomation: typeof getAutomation;
6269
6346
  declare const context_getAutomationActionSchema: typeof getAutomationActionSchema;
@@ -6276,11 +6353,13 @@ declare const context_onAutomationUpdatedWithPreviousEntity: typeof onAutomation
6276
6353
  declare const context_publishDraftAutomation: typeof publishDraftAutomation;
6277
6354
  declare const context_queryAutomations: typeof queryAutomations;
6278
6355
  declare const context_queryAutomationsWithDrafts: typeof queryAutomationsWithDrafts;
6356
+ declare const context_queryPreinstalledAutomationsForApp: typeof queryPreinstalledAutomationsForApp;
6279
6357
  declare const context_updateAutomation: typeof updateAutomation;
6280
6358
  declare const context_updateDraftAutomation: typeof updateDraftAutomation;
6359
+ declare const context_updatePreinstalledAutomation: typeof updatePreinstalledAutomation;
6281
6360
  declare const context_validateAutomation: typeof validateAutomation;
6282
6361
  declare namespace context {
6283
- 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_AutomationConfigurationError as AutomationConfigurationError, type context_AutomationCreatedEnvelope as AutomationCreatedEnvelope, type context_AutomationDeletedEnvelope as AutomationDeletedEnvelope, type context_AutomationDeletedWithEntityEnvelope as AutomationDeletedWithEntityEnvelope, context_AutomationErrorType as AutomationErrorType, 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_AutomationValidationError as AutomationValidationError, type context_AutomationValidationErrorErrorOneOf as AutomationValidationErrorErrorOneOf, context_AutomationValidationErrorValidationErrorType as AutomationValidationErrorValidationErrorType, 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_CommonCursorPaging as CommonCursorPaging, type context_CommonCursorPagingMetadata as CommonCursorPagingMetadata, type context_CommonCursorQuery as CommonCursorQuery, type context_CommonCursorQueryPagingMethodOneOf as CommonCursorQueryPagingMethodOneOf, type context_CommonCursors as CommonCursors, context_CommonSortOrder as CommonSortOrder, type context_CommonSorting as CommonSorting, 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_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_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_OriginAutomationInfo as OriginAutomationInfo, type context_OutputAction as OutputAction, type context_Plan as Plan, type context_PreinstalledAutomationSpecInfo as PreinstalledAutomationSpecInfo, type context_PreinstalledOrigin as PreinstalledOrigin, type context_ProviderConfigurationError as ProviderConfigurationError, type context_PublishDraftAutomationRequest as PublishDraftAutomationRequest, type context_PublishDraftAutomationResponse as PublishDraftAutomationResponse, type context_PublishDraftAutomationResponseNonNullableFields as PublishDraftAutomationResponseNonNullableFields, 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_QueryPreinstalledAutomationsForAppRequest as QueryPreinstalledAutomationsForAppRequest, type context_QueryPreinstalledAutomationsForAppResponse as QueryPreinstalledAutomationsForAppResponse, 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_UpdatePreinstalledAutomationRequest as UpdatePreinstalledAutomationRequest, type context_UpdatePreinstalledAutomationResponse as UpdatePreinstalledAutomationResponse, 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_ValidationErrorSeverity as ValidationErrorSeverity, 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_deleteAutomation as deleteAutomation, context_deleteDraftAutomation as deleteDraftAutomation, 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_publishDraftAutomation as publishDraftAutomation, context_queryAutomations as queryAutomations, context_queryAutomationsWithDrafts as queryAutomationsWithDrafts, context_updateAutomation as updateAutomation, context_updateDraftAutomation as updateDraftAutomation, context_validateAutomation as validateAutomation };
6362
+ 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_AutomationConfigurationError as AutomationConfigurationError, type context_AutomationCreatedEnvelope as AutomationCreatedEnvelope, type context_AutomationDeletedEnvelope as AutomationDeletedEnvelope, type context_AutomationDeletedWithEntityEnvelope as AutomationDeletedWithEntityEnvelope, context_AutomationErrorType as AutomationErrorType, 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_AutomationValidationError as AutomationValidationError, type context_AutomationValidationErrorErrorOneOf as AutomationValidationErrorErrorOneOf, context_AutomationValidationErrorValidationErrorType as AutomationValidationErrorValidationErrorType, 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_CommonCursorPaging as CommonCursorPaging, type context_CommonCursorPagingMetadata as CommonCursorPagingMetadata, type context_CommonCursorQuery as CommonCursorQuery, type context_CommonCursorQueryPagingMethodOneOf as CommonCursorQueryPagingMethodOneOf, type context_CommonCursors as CommonCursors, context_CommonSortOrder as CommonSortOrder, type context_CommonSorting as CommonSorting, 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_CreatePreinstalledAutomationOptions as CreatePreinstalledAutomationOptions, 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_OriginAutomationInfo as OriginAutomationInfo, type context_OutputAction as OutputAction, type context_Plan as Plan, type context_PreinstalledAutomationSpecInfo as PreinstalledAutomationSpecInfo, type context_PreinstalledOrigin as PreinstalledOrigin, type context_ProviderConfigurationError as ProviderConfigurationError, type context_PublishDraftAutomationRequest as PublishDraftAutomationRequest, type context_PublishDraftAutomationResponse as PublishDraftAutomationResponse, type context_PublishDraftAutomationResponseNonNullableFields as PublishDraftAutomationResponseNonNullableFields, 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_QueryPreinstalledAutomationsForAppOptions as QueryPreinstalledAutomationsForAppOptions, type context_QueryPreinstalledAutomationsForAppRequest as QueryPreinstalledAutomationsForAppRequest, type context_QueryPreinstalledAutomationsForAppResponse as QueryPreinstalledAutomationsForAppResponse, type context_QueryPreinstalledAutomationsForAppResponseNonNullableFields as QueryPreinstalledAutomationsForAppResponseNonNullableFields, 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_UpdatePreinstalledAutomationOptions as UpdatePreinstalledAutomationOptions, type context_UpdatePreinstalledAutomationRequest as UpdatePreinstalledAutomationRequest, type context_UpdatePreinstalledAutomationResponse as UpdatePreinstalledAutomationResponse, type context_UpdatePreinstalledAutomationResponseNonNullableFields as UpdatePreinstalledAutomationResponseNonNullableFields, 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_ValidationErrorSeverity as ValidationErrorSeverity, 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_publishDraftAutomation as publishDraftAutomation, context_queryAutomations as queryAutomations, context_queryAutomationsWithDrafts as queryAutomationsWithDrafts, context_queryPreinstalledAutomationsForApp as queryPreinstalledAutomationsForApp, context_updateAutomation as updateAutomation, context_updateDraftAutomation as updateDraftAutomation, context_updatePreinstalledAutomation as updatePreinstalledAutomation, context_validateAutomation as validateAutomation };
6284
6363
  }
6285
6364
 
6286
6365
  export { context$1 as activations, context$2 as automationsService, context as automationsServiceV2 };
@@ -4568,7 +4568,7 @@ interface BulkActionMetadata {
4568
4568
  }
4569
4569
  interface CreatePreinstalledAutomationRequest {
4570
4570
  /** Preinstalled automation to be created. */
4571
- automation?: Automation;
4571
+ automation: Automation;
4572
4572
  /** Optional - hide the created automation behind a spec */
4573
4573
  specInfo?: PreinstalledAutomationSpecInfo;
4574
4574
  /**
@@ -4603,7 +4603,7 @@ interface CreatePreinstalledAutomationResponse {
4603
4603
  }
4604
4604
  interface UpdatePreinstalledAutomationRequest {
4605
4605
  /** Preinstalled automation to update. */
4606
- automation?: Automation;
4606
+ automation: Automation;
4607
4607
  /** Optional - hide the updated automation behind a spec */
4608
4608
  specInfo?: PreinstalledAutomationSpecInfo;
4609
4609
  }
@@ -4613,7 +4613,7 @@ interface UpdatePreinstalledAutomationResponse {
4613
4613
  }
4614
4614
  interface DeletePreinstalledAutomationRequest {
4615
4615
  /** Preinstalled Component Id */
4616
- componentId?: string;
4616
+ componentId: string;
4617
4617
  /**
4618
4618
  * Optional - makes the deletion operation gradual
4619
4619
  * The automation will not return if the variant returns for the site
@@ -5477,6 +5477,15 @@ interface BulkDeleteAutomationsResponseNonNullableFields {
5477
5477
  results: BulkDeleteResultNonNullableFields[];
5478
5478
  bulkActionMetadata?: BulkActionMetadataNonNullableFields;
5479
5479
  }
5480
+ interface CreatePreinstalledAutomationResponseNonNullableFields {
5481
+ automation?: AutomationNonNullableFields;
5482
+ }
5483
+ interface UpdatePreinstalledAutomationResponseNonNullableFields {
5484
+ automation?: AutomationNonNullableFields;
5485
+ }
5486
+ interface QueryPreinstalledAutomationsForAppResponseNonNullableFields {
5487
+ automations: AutomationNonNullableFields[];
5488
+ }
5480
5489
  interface QueryAutomationsResponseNonNullableFields {
5481
5490
  automations: AutomationNonNullableFields[];
5482
5491
  }
@@ -5704,6 +5713,30 @@ interface UpdateAutomation {
5704
5713
  /** Namespace */
5705
5714
  namespace?: string | null;
5706
5715
  }
5716
+ interface CreatePreinstalledAutomationOptions {
5717
+ /** Optional - hide the created automation behind a spec */
5718
+ specInfo?: PreinstalledAutomationSpecInfo;
5719
+ /**
5720
+ * Optional - the information about the original site automation that was used to create this preinstalled automation
5721
+ * Usually an existing automation in a site is used to create the preinstalled automation, this is the relevant information.
5722
+ */
5723
+ originAutomationInfo?: OriginAutomationInfo;
5724
+ }
5725
+ interface UpdatePreinstalledAutomationOptions {
5726
+ /** Optional - hide the updated automation behind a spec */
5727
+ specInfo?: PreinstalledAutomationSpecInfo;
5728
+ }
5729
+ interface DeletePreinstalledAutomationOptions {
5730
+ /**
5731
+ * Optional - makes the deletion operation gradual
5732
+ * The automation will not return if the variant returns for the site
5733
+ */
5734
+ specInfo?: PreinstalledAutomationSpecInfo;
5735
+ }
5736
+ interface QueryPreinstalledAutomationsForAppOptions {
5737
+ /** WQL expression. */
5738
+ query?: CommonCursorQuery;
5739
+ }
5707
5740
  interface QueryCursorResult {
5708
5741
  cursors: Cursors;
5709
5742
  hasNext: () => boolean;
@@ -5895,6 +5928,37 @@ interface BulkDeleteAutomationsSignature {
5895
5928
  */
5896
5929
  (automationIds: string[]): Promise<BulkDeleteAutomationsResponse & BulkDeleteAutomationsResponseNonNullableFields>;
5897
5930
  }
5931
+ declare function createPreinstalledAutomation$1(httpClient: HttpClient): CreatePreinstalledAutomationSignature;
5932
+ interface CreatePreinstalledAutomationSignature {
5933
+ /**
5934
+ * Creates a Preinstalled Automation.
5935
+ * @param - Preinstalled automation to be created.
5936
+ */
5937
+ (automation: Automation, options?: CreatePreinstalledAutomationOptions | undefined): Promise<CreatePreinstalledAutomationResponse & CreatePreinstalledAutomationResponseNonNullableFields>;
5938
+ }
5939
+ declare function updatePreinstalledAutomation$1(httpClient: HttpClient): UpdatePreinstalledAutomationSignature;
5940
+ interface UpdatePreinstalledAutomationSignature {
5941
+ /**
5942
+ * Updates a Preinstalled Automation.
5943
+ * @param - Preinstalled automation to update.
5944
+ */
5945
+ (automation: Automation, options?: UpdatePreinstalledAutomationOptions | undefined): Promise<UpdatePreinstalledAutomationResponse & UpdatePreinstalledAutomationResponseNonNullableFields>;
5946
+ }
5947
+ declare function deletePreinstalledAutomation$1(httpClient: HttpClient): DeletePreinstalledAutomationSignature;
5948
+ interface DeletePreinstalledAutomationSignature {
5949
+ /**
5950
+ * Deletes a Preinstalled Automation.
5951
+ * @param - Preinstalled Component Id
5952
+ */
5953
+ (componentId: string, options?: DeletePreinstalledAutomationOptions | undefined): Promise<void>;
5954
+ }
5955
+ declare function queryPreinstalledAutomationsForApp$1(httpClient: HttpClient): QueryPreinstalledAutomationsForAppSignature;
5956
+ interface QueryPreinstalledAutomationsForAppSignature {
5957
+ /**
5958
+ * Allows an app to query for his preinstalled automations
5959
+ */
5960
+ (options?: QueryPreinstalledAutomationsForAppOptions | undefined): Promise<QueryPreinstalledAutomationsForAppResponse & QueryPreinstalledAutomationsForAppResponseNonNullableFields>;
5961
+ }
5898
5962
  declare function queryAutomations$1(httpClient: HttpClient): QueryAutomationsSignature;
5899
5963
  interface QueryAutomationsSignature {
5900
5964
  /**
@@ -6017,6 +6081,10 @@ declare const getAutomation: MaybeContext<BuildRESTFunction<typeof getAutomation
6017
6081
  declare const updateAutomation: MaybeContext<BuildRESTFunction<typeof updateAutomation$1> & typeof updateAutomation$1>;
6018
6082
  declare const deleteAutomation: MaybeContext<BuildRESTFunction<typeof deleteAutomation$1> & typeof deleteAutomation$1>;
6019
6083
  declare const bulkDeleteAutomations: MaybeContext<BuildRESTFunction<typeof bulkDeleteAutomations$1> & typeof bulkDeleteAutomations$1>;
6084
+ declare const createPreinstalledAutomation: MaybeContext<BuildRESTFunction<typeof createPreinstalledAutomation$1> & typeof createPreinstalledAutomation$1>;
6085
+ declare const updatePreinstalledAutomation: MaybeContext<BuildRESTFunction<typeof updatePreinstalledAutomation$1> & typeof updatePreinstalledAutomation$1>;
6086
+ declare const deletePreinstalledAutomation: MaybeContext<BuildRESTFunction<typeof deletePreinstalledAutomation$1> & typeof deletePreinstalledAutomation$1>;
6087
+ declare const queryPreinstalledAutomationsForApp: MaybeContext<BuildRESTFunction<typeof queryPreinstalledAutomationsForApp$1> & typeof queryPreinstalledAutomationsForApp$1>;
6020
6088
  declare const queryAutomations: MaybeContext<BuildRESTFunction<typeof queryAutomations$1> & typeof queryAutomations$1>;
6021
6089
  declare const copyAutomation: MaybeContext<BuildRESTFunction<typeof copyAutomation$1> & typeof copyAutomation$1>;
6022
6090
  declare const createDraftAutomation: MaybeContext<BuildRESTFunction<typeof createDraftAutomation$1> & typeof createDraftAutomation$1>;
@@ -6115,8 +6183,10 @@ type index_d_CreateDraftAutomationOptions = CreateDraftAutomationOptions;
6115
6183
  type index_d_CreateDraftAutomationRequest = CreateDraftAutomationRequest;
6116
6184
  type index_d_CreateDraftAutomationResponse = CreateDraftAutomationResponse;
6117
6185
  type index_d_CreateDraftAutomationResponseNonNullableFields = CreateDraftAutomationResponseNonNullableFields;
6186
+ type index_d_CreatePreinstalledAutomationOptions = CreatePreinstalledAutomationOptions;
6118
6187
  type index_d_CreatePreinstalledAutomationRequest = CreatePreinstalledAutomationRequest;
6119
6188
  type index_d_CreatePreinstalledAutomationResponse = CreatePreinstalledAutomationResponse;
6189
+ type index_d_CreatePreinstalledAutomationResponseNonNullableFields = CreatePreinstalledAutomationResponseNonNullableFields;
6120
6190
  type index_d_CursorPaging = CursorPaging;
6121
6191
  type index_d_CursorPagingMetadata = CursorPagingMetadata;
6122
6192
  type index_d_CursorQuery = CursorQuery;
@@ -6128,6 +6198,7 @@ type index_d_DeleteAutomationResponse = DeleteAutomationResponse;
6128
6198
  type index_d_DeleteContext = DeleteContext;
6129
6199
  type index_d_DeleteDraftAutomationRequest = DeleteDraftAutomationRequest;
6130
6200
  type index_d_DeleteDraftAutomationResponse = DeleteDraftAutomationResponse;
6201
+ type index_d_DeletePreinstalledAutomationOptions = DeletePreinstalledAutomationOptions;
6131
6202
  type index_d_DeletePreinstalledAutomationRequest = DeletePreinstalledAutomationRequest;
6132
6203
  type index_d_DeletePreinstalledAutomationResponse = DeletePreinstalledAutomationResponse;
6133
6204
  type index_d_DeleteStatus = DeleteStatus;
@@ -6188,8 +6259,10 @@ type index_d_QueryAutomationsWithDraftsOptions = QueryAutomationsWithDraftsOptio
6188
6259
  type index_d_QueryAutomationsWithDraftsRequest = QueryAutomationsWithDraftsRequest;
6189
6260
  type index_d_QueryAutomationsWithDraftsResponse = QueryAutomationsWithDraftsResponse;
6190
6261
  type index_d_QueryAutomationsWithDraftsResponseNonNullableFields = QueryAutomationsWithDraftsResponseNonNullableFields;
6262
+ type index_d_QueryPreinstalledAutomationsForAppOptions = QueryPreinstalledAutomationsForAppOptions;
6191
6263
  type index_d_QueryPreinstalledAutomationsForAppRequest = QueryPreinstalledAutomationsForAppRequest;
6192
6264
  type index_d_QueryPreinstalledAutomationsForAppResponse = QueryPreinstalledAutomationsForAppResponse;
6265
+ type index_d_QueryPreinstalledAutomationsForAppResponseNonNullableFields = QueryPreinstalledAutomationsForAppResponseNonNullableFields;
6193
6266
  type index_d_Quota = Quota;
6194
6267
  type index_d_QuotaInfo = QuotaInfo;
6195
6268
  type index_d_RateLimit = RateLimit;
@@ -6238,8 +6311,10 @@ type index_d_UpdateDraftAutomation = UpdateDraftAutomation;
6238
6311
  type index_d_UpdateDraftAutomationRequest = UpdateDraftAutomationRequest;
6239
6312
  type index_d_UpdateDraftAutomationResponse = UpdateDraftAutomationResponse;
6240
6313
  type index_d_UpdateDraftAutomationResponseNonNullableFields = UpdateDraftAutomationResponseNonNullableFields;
6314
+ type index_d_UpdatePreinstalledAutomationOptions = UpdatePreinstalledAutomationOptions;
6241
6315
  type index_d_UpdatePreinstalledAutomationRequest = UpdatePreinstalledAutomationRequest;
6242
6316
  type index_d_UpdatePreinstalledAutomationResponse = UpdatePreinstalledAutomationResponse;
6317
+ type index_d_UpdatePreinstalledAutomationResponseNonNullableFields = UpdatePreinstalledAutomationResponseNonNullableFields;
6243
6318
  type index_d_UpdatedWithPreviousEntity = UpdatedWithPreviousEntity;
6244
6319
  type index_d_UpgradeCTA = UpgradeCTA;
6245
6320
  type index_d_ValidateAutomationOptions = ValidateAutomationOptions;
@@ -6262,8 +6337,10 @@ declare const index_d_bulkDeleteAutomations: typeof bulkDeleteAutomations;
6262
6337
  declare const index_d_copyAutomation: typeof copyAutomation;
6263
6338
  declare const index_d_createAutomation: typeof createAutomation;
6264
6339
  declare const index_d_createDraftAutomation: typeof createDraftAutomation;
6340
+ declare const index_d_createPreinstalledAutomation: typeof createPreinstalledAutomation;
6265
6341
  declare const index_d_deleteAutomation: typeof deleteAutomation;
6266
6342
  declare const index_d_deleteDraftAutomation: typeof deleteDraftAutomation;
6343
+ declare const index_d_deletePreinstalledAutomation: typeof deletePreinstalledAutomation;
6267
6344
  declare const index_d_getActionsQuotaInfo: typeof getActionsQuotaInfo;
6268
6345
  declare const index_d_getAutomation: typeof getAutomation;
6269
6346
  declare const index_d_getAutomationActionSchema: typeof getAutomationActionSchema;
@@ -6276,11 +6353,13 @@ declare const index_d_onAutomationUpdatedWithPreviousEntity: typeof onAutomation
6276
6353
  declare const index_d_publishDraftAutomation: typeof publishDraftAutomation;
6277
6354
  declare const index_d_queryAutomations: typeof queryAutomations;
6278
6355
  declare const index_d_queryAutomationsWithDrafts: typeof queryAutomationsWithDrafts;
6356
+ declare const index_d_queryPreinstalledAutomationsForApp: typeof queryPreinstalledAutomationsForApp;
6279
6357
  declare const index_d_updateAutomation: typeof updateAutomation;
6280
6358
  declare const index_d_updateDraftAutomation: typeof updateDraftAutomation;
6359
+ declare const index_d_updatePreinstalledAutomation: typeof updatePreinstalledAutomation;
6281
6360
  declare const index_d_validateAutomation: typeof validateAutomation;
6282
6361
  declare namespace index_d {
6283
- 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_AutomationConfigurationError as AutomationConfigurationError, type index_d_AutomationCreatedEnvelope as AutomationCreatedEnvelope, type index_d_AutomationDeletedEnvelope as AutomationDeletedEnvelope, type index_d_AutomationDeletedWithEntityEnvelope as AutomationDeletedWithEntityEnvelope, index_d_AutomationErrorType as AutomationErrorType, 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_AutomationValidationError as AutomationValidationError, type index_d_AutomationValidationErrorErrorOneOf as AutomationValidationErrorErrorOneOf, index_d_AutomationValidationErrorValidationErrorType as AutomationValidationErrorValidationErrorType, 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_CommonCursorPaging as CommonCursorPaging, type index_d_CommonCursorPagingMetadata as CommonCursorPagingMetadata, type index_d_CommonCursorQuery as CommonCursorQuery, type index_d_CommonCursorQueryPagingMethodOneOf as CommonCursorQueryPagingMethodOneOf, type index_d_CommonCursors as CommonCursors, index_d_CommonSortOrder as CommonSortOrder, type index_d_CommonSorting as CommonSorting, type index_d_ConditionAction as ConditionAction, type index_d_ConditionExpressionGroup as ConditionExpressionGroup, type index_d_CopyAutomationOptions as CopyAutomationOptions, type index_d_CopyAutomationRequest as CopyAutomationRequest, type index_d_CopyAutomationResponse as CopyAutomationResponse, type index_d_CopyAutomationResponseNonNullableFields as CopyAutomationResponseNonNullableFields, type index_d_CreateAutomationRequest as CreateAutomationRequest, type index_d_CreateAutomationResponse as CreateAutomationResponse, type index_d_CreateAutomationResponseNonNullableFields as CreateAutomationResponseNonNullableFields, type index_d_CreateDraftAutomationOptions as CreateDraftAutomationOptions, type index_d_CreateDraftAutomationRequest as CreateDraftAutomationRequest, type index_d_CreateDraftAutomationResponse as CreateDraftAutomationResponse, type index_d_CreateDraftAutomationResponseNonNullableFields as CreateDraftAutomationResponseNonNullableFields, 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_GetActionsQuotaInfoResponseNonNullableFields as GetActionsQuotaInfoResponseNonNullableFields, type index_d_GetAutomationActionSchemaIdentifiers as GetAutomationActionSchemaIdentifiers, 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_GetOrCreateDraftAutomationResponseNonNullableFields as GetOrCreateDraftAutomationResponseNonNullableFields, 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_OriginAutomationInfo as OriginAutomationInfo, type index_d_OutputAction as OutputAction, type index_d_Plan as Plan, type index_d_PreinstalledAutomationSpecInfo as PreinstalledAutomationSpecInfo, 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_PublishDraftAutomationResponseNonNullableFields as PublishDraftAutomationResponseNonNullableFields, type index_d_QueryAutomationsRequest as QueryAutomationsRequest, type index_d_QueryAutomationsResponse as QueryAutomationsResponse, type index_d_QueryAutomationsResponseNonNullableFields as QueryAutomationsResponseNonNullableFields, type index_d_QueryAutomationsWithDraftsOptions as QueryAutomationsWithDraftsOptions, type index_d_QueryAutomationsWithDraftsRequest as QueryAutomationsWithDraftsRequest, type index_d_QueryAutomationsWithDraftsResponse as QueryAutomationsWithDraftsResponse, type index_d_QueryAutomationsWithDraftsResponseNonNullableFields as QueryAutomationsWithDraftsResponseNonNullableFields, type index_d_QueryPreinstalledAutomationsForAppRequest as QueryPreinstalledAutomationsForAppRequest, type index_d_QueryPreinstalledAutomationsForAppResponse as QueryPreinstalledAutomationsForAppResponse, 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_UpdateDraftAutomation as UpdateDraftAutomation, type index_d_UpdateDraftAutomationRequest as UpdateDraftAutomationRequest, type index_d_UpdateDraftAutomationResponse as UpdateDraftAutomationResponse, type index_d_UpdateDraftAutomationResponseNonNullableFields as UpdateDraftAutomationResponseNonNullableFields, type index_d_UpdatePreinstalledAutomationRequest as UpdatePreinstalledAutomationRequest, type index_d_UpdatePreinstalledAutomationResponse as UpdatePreinstalledAutomationResponse, 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_ValidationErrorSeverity as ValidationErrorSeverity, 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_copyAutomation as copyAutomation, index_d_createAutomation as createAutomation, index_d_createDraftAutomation as createDraftAutomation, index_d_deleteAutomation as deleteAutomation, index_d_deleteDraftAutomation as deleteDraftAutomation, index_d_getActionsQuotaInfo as getActionsQuotaInfo, index_d_getAutomation as getAutomation, index_d_getAutomationActionSchema as getAutomationActionSchema, index_d_getOrCreateDraftAutomation as getOrCreateDraftAutomation, 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_publishDraftAutomation as publishDraftAutomation, index_d_queryAutomations as queryAutomations, index_d_queryAutomationsWithDrafts as queryAutomationsWithDrafts, index_d_updateAutomation as updateAutomation, index_d_updateDraftAutomation as updateDraftAutomation, index_d_validateAutomation as validateAutomation };
6362
+ 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_AutomationConfigurationError as AutomationConfigurationError, type index_d_AutomationCreatedEnvelope as AutomationCreatedEnvelope, type index_d_AutomationDeletedEnvelope as AutomationDeletedEnvelope, type index_d_AutomationDeletedWithEntityEnvelope as AutomationDeletedWithEntityEnvelope, index_d_AutomationErrorType as AutomationErrorType, 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_AutomationValidationError as AutomationValidationError, type index_d_AutomationValidationErrorErrorOneOf as AutomationValidationErrorErrorOneOf, index_d_AutomationValidationErrorValidationErrorType as AutomationValidationErrorValidationErrorType, 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_CommonCursorPaging as CommonCursorPaging, type index_d_CommonCursorPagingMetadata as CommonCursorPagingMetadata, type index_d_CommonCursorQuery as CommonCursorQuery, type index_d_CommonCursorQueryPagingMethodOneOf as CommonCursorQueryPagingMethodOneOf, type index_d_CommonCursors as CommonCursors, index_d_CommonSortOrder as CommonSortOrder, type index_d_CommonSorting as CommonSorting, type index_d_ConditionAction as ConditionAction, type index_d_ConditionExpressionGroup as ConditionExpressionGroup, type index_d_CopyAutomationOptions as CopyAutomationOptions, type index_d_CopyAutomationRequest as CopyAutomationRequest, type index_d_CopyAutomationResponse as CopyAutomationResponse, type index_d_CopyAutomationResponseNonNullableFields as CopyAutomationResponseNonNullableFields, type index_d_CreateAutomationRequest as CreateAutomationRequest, type index_d_CreateAutomationResponse as CreateAutomationResponse, type index_d_CreateAutomationResponseNonNullableFields as CreateAutomationResponseNonNullableFields, type index_d_CreateDraftAutomationOptions as CreateDraftAutomationOptions, type index_d_CreateDraftAutomationRequest as CreateDraftAutomationRequest, type index_d_CreateDraftAutomationResponse as CreateDraftAutomationResponse, type index_d_CreateDraftAutomationResponseNonNullableFields as CreateDraftAutomationResponseNonNullableFields, type index_d_CreatePreinstalledAutomationOptions as CreatePreinstalledAutomationOptions, type index_d_CreatePreinstalledAutomationRequest as CreatePreinstalledAutomationRequest, type index_d_CreatePreinstalledAutomationResponse as CreatePreinstalledAutomationResponse, type index_d_CreatePreinstalledAutomationResponseNonNullableFields as CreatePreinstalledAutomationResponseNonNullableFields, 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_DeletePreinstalledAutomationOptions as DeletePreinstalledAutomationOptions, 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_GetActionsQuotaInfoResponseNonNullableFields as GetActionsQuotaInfoResponseNonNullableFields, type index_d_GetAutomationActionSchemaIdentifiers as GetAutomationActionSchemaIdentifiers, 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_GetOrCreateDraftAutomationResponseNonNullableFields as GetOrCreateDraftAutomationResponseNonNullableFields, 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_OriginAutomationInfo as OriginAutomationInfo, type index_d_OutputAction as OutputAction, type index_d_Plan as Plan, type index_d_PreinstalledAutomationSpecInfo as PreinstalledAutomationSpecInfo, 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_PublishDraftAutomationResponseNonNullableFields as PublishDraftAutomationResponseNonNullableFields, type index_d_QueryAutomationsRequest as QueryAutomationsRequest, type index_d_QueryAutomationsResponse as QueryAutomationsResponse, type index_d_QueryAutomationsResponseNonNullableFields as QueryAutomationsResponseNonNullableFields, type index_d_QueryAutomationsWithDraftsOptions as QueryAutomationsWithDraftsOptions, type index_d_QueryAutomationsWithDraftsRequest as QueryAutomationsWithDraftsRequest, type index_d_QueryAutomationsWithDraftsResponse as QueryAutomationsWithDraftsResponse, type index_d_QueryAutomationsWithDraftsResponseNonNullableFields as QueryAutomationsWithDraftsResponseNonNullableFields, type index_d_QueryPreinstalledAutomationsForAppOptions as QueryPreinstalledAutomationsForAppOptions, type index_d_QueryPreinstalledAutomationsForAppRequest as QueryPreinstalledAutomationsForAppRequest, type index_d_QueryPreinstalledAutomationsForAppResponse as QueryPreinstalledAutomationsForAppResponse, type index_d_QueryPreinstalledAutomationsForAppResponseNonNullableFields as QueryPreinstalledAutomationsForAppResponseNonNullableFields, 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_UpdateDraftAutomation as UpdateDraftAutomation, type index_d_UpdateDraftAutomationRequest as UpdateDraftAutomationRequest, type index_d_UpdateDraftAutomationResponse as UpdateDraftAutomationResponse, type index_d_UpdateDraftAutomationResponseNonNullableFields as UpdateDraftAutomationResponseNonNullableFields, type index_d_UpdatePreinstalledAutomationOptions as UpdatePreinstalledAutomationOptions, type index_d_UpdatePreinstalledAutomationRequest as UpdatePreinstalledAutomationRequest, type index_d_UpdatePreinstalledAutomationResponse as UpdatePreinstalledAutomationResponse, type index_d_UpdatePreinstalledAutomationResponseNonNullableFields as UpdatePreinstalledAutomationResponseNonNullableFields, 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_ValidationErrorSeverity as ValidationErrorSeverity, 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_copyAutomation as copyAutomation, index_d_createAutomation as createAutomation, index_d_createDraftAutomation as createDraftAutomation, index_d_createPreinstalledAutomation as createPreinstalledAutomation, index_d_deleteAutomation as deleteAutomation, index_d_deleteDraftAutomation as deleteDraftAutomation, index_d_deletePreinstalledAutomation as deletePreinstalledAutomation, index_d_getActionsQuotaInfo as getActionsQuotaInfo, index_d_getAutomation as getAutomation, index_d_getAutomationActionSchema as getAutomationActionSchema, index_d_getOrCreateDraftAutomation as getOrCreateDraftAutomation, 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_publishDraftAutomation as publishDraftAutomation, index_d_queryAutomations as queryAutomations, index_d_queryAutomationsWithDrafts as queryAutomationsWithDrafts, index_d_queryPreinstalledAutomationsForApp as queryPreinstalledAutomationsForApp, index_d_updateAutomation as updateAutomation, index_d_updateDraftAutomation as updateDraftAutomation, index_d_updatePreinstalledAutomation as updatePreinstalledAutomation, index_d_validateAutomation as validateAutomation };
6284
6363
  }
6285
6364
 
6286
6365
  export { index_d$1 as activations, index_d$2 as automationsService, index_d as automationsServiceV2 };
@@ -2488,6 +2488,141 @@ interface BulkActionMetadata$1 {
2488
2488
  /** Number of failures without details because detailed failure threshold was exceeded. */
2489
2489
  undetailedFailures?: number;
2490
2490
  }
2491
+ interface CreatePreinstalledAutomationRequest$1 {
2492
+ /** Preinstalled automation to be created. */
2493
+ automation: Automation$1;
2494
+ /** Optional - hide the created automation behind a spec */
2495
+ specInfo?: PreinstalledAutomationSpecInfo$1;
2496
+ /**
2497
+ * Optional - the information about the original site automation that was used to create this preinstalled automation
2498
+ * Usually an existing automation in a site is used to create the preinstalled automation, this is the relevant information.
2499
+ */
2500
+ originAutomationInfo?: OriginAutomationInfo$1;
2501
+ }
2502
+ interface PreinstalledAutomationSpecInfo$1 {
2503
+ /** Spec to conduct on for the automation */
2504
+ spec?: string;
2505
+ /**
2506
+ * Value the spec should return in order to affect the user with the operation
2507
+ * e.g. creation - show the users the automation, update - show the users the updated automation, deletion - not show the users the automation
2508
+ */
2509
+ variantValue?: string | null;
2510
+ /**
2511
+ * Version from which the experiment should decide whether to expose it to users when !conduct(spec).contains(variant_value)
2512
+ * For example, if 50 is set, version 49 and below (including 49) will not expose the preinstalled automation to the user.
2513
+ */
2514
+ experimentVersion?: number;
2515
+ }
2516
+ interface OriginAutomationInfo$1 {
2517
+ /** The original automation id */
2518
+ siteAutomationId?: string;
2519
+ /** The original automation meta site id */
2520
+ metaSiteId?: string;
2521
+ }
2522
+ interface CreatePreinstalledAutomationResponse$1 {
2523
+ /** The created preinstalled automation. */
2524
+ automation?: Automation$1;
2525
+ }
2526
+ interface UpdatePreinstalledAutomationRequest$1 {
2527
+ /** Preinstalled automation to update. */
2528
+ automation: Automation$1;
2529
+ /** Optional - hide the updated automation behind a spec */
2530
+ specInfo?: PreinstalledAutomationSpecInfo$1;
2531
+ }
2532
+ interface UpdatePreinstalledAutomationResponse$1 {
2533
+ /** Updated preinstalled automation. */
2534
+ automation?: Automation$1;
2535
+ }
2536
+ interface DeletePreinstalledAutomationRequest$1 {
2537
+ /** Preinstalled Component Id */
2538
+ componentId: string;
2539
+ /**
2540
+ * Optional - makes the deletion operation gradual
2541
+ * The automation will not return if the variant returns for the site
2542
+ */
2543
+ specInfo?: PreinstalledAutomationSpecInfo$1;
2544
+ }
2545
+ interface DeletePreinstalledAutomationResponse$1 {
2546
+ }
2547
+ interface QueryPreinstalledAutomationsForAppRequest$1 {
2548
+ /** WQL expression. */
2549
+ query?: CommonCursorQuery$1;
2550
+ }
2551
+ interface CommonCursorQuery$1 extends CommonCursorQueryPagingMethodOneOf$1 {
2552
+ /**
2553
+ * Cursor paging options.
2554
+ *
2555
+ * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
2556
+ */
2557
+ cursorPaging?: CommonCursorPaging$1;
2558
+ /**
2559
+ * Filter object.
2560
+ *
2561
+ * Learn more about the [filter section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).
2562
+ */
2563
+ filter?: Record<string, any> | null;
2564
+ /**
2565
+ * Sort object.
2566
+ *
2567
+ * Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
2568
+ */
2569
+ sort?: CommonSorting$1[];
2570
+ }
2571
+ /** @oneof */
2572
+ interface CommonCursorQueryPagingMethodOneOf$1 {
2573
+ /**
2574
+ * Cursor paging options.
2575
+ *
2576
+ * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
2577
+ */
2578
+ cursorPaging?: CommonCursorPaging$1;
2579
+ }
2580
+ interface CommonSorting$1 {
2581
+ /** Name of the field to sort by. */
2582
+ fieldName?: string;
2583
+ /** Sort order. */
2584
+ order?: CommonSortOrder$1;
2585
+ }
2586
+ declare enum CommonSortOrder$1 {
2587
+ ASC = "ASC",
2588
+ DESC = "DESC"
2589
+ }
2590
+ interface CommonCursorPaging$1 {
2591
+ /** Maximum number of items to return in the results. */
2592
+ limit?: number | null;
2593
+ /**
2594
+ * Pointer to the next or previous page in the list of results.
2595
+ *
2596
+ * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
2597
+ * Not relevant for the first request.
2598
+ */
2599
+ cursor?: string | null;
2600
+ }
2601
+ interface QueryPreinstalledAutomationsForAppResponse$1 {
2602
+ /** List of automations. */
2603
+ automations?: Automation$1[];
2604
+ /** Paging metadata. */
2605
+ pagingMetadata?: CommonCursorPagingMetadata$1;
2606
+ }
2607
+ interface CommonCursorPagingMetadata$1 {
2608
+ /** Number of items returned in current page. */
2609
+ count?: number | null;
2610
+ /** Cursor strings that point to the next page, previous page, or both. */
2611
+ cursors?: CommonCursors$1;
2612
+ /**
2613
+ * Whether there are more pages to retrieve following the current page.
2614
+ *
2615
+ * + `true`: Another page of results can be retrieved.
2616
+ * + `false`: This is the last page.
2617
+ */
2618
+ hasNext?: boolean | null;
2619
+ }
2620
+ interface CommonCursors$1 {
2621
+ /** Cursor string pointing to the next page in the list of results. */
2622
+ next?: string | null;
2623
+ /** Cursor pointing to the previous page in the list of results. */
2624
+ prev?: string | null;
2625
+ }
2491
2626
  interface QueryAutomationsRequest$1 {
2492
2627
  /** WQL expression. */
2493
2628
  query?: CursorQuery$1;
@@ -2979,6 +3114,15 @@ interface BulkDeleteAutomationsResponseNonNullableFields$1 {
2979
3114
  results: BulkDeleteResultNonNullableFields$1[];
2980
3115
  bulkActionMetadata?: BulkActionMetadataNonNullableFields$1;
2981
3116
  }
3117
+ interface CreatePreinstalledAutomationResponseNonNullableFields$1 {
3118
+ automation?: AutomationNonNullableFields$1;
3119
+ }
3120
+ interface UpdatePreinstalledAutomationResponseNonNullableFields$1 {
3121
+ automation?: AutomationNonNullableFields$1;
3122
+ }
3123
+ interface QueryPreinstalledAutomationsForAppResponseNonNullableFields$1 {
3124
+ automations: AutomationNonNullableFields$1[];
3125
+ }
2982
3126
  interface QueryAutomationsResponseNonNullableFields$1 {
2983
3127
  automations: AutomationNonNullableFields$1[];
2984
3128
  }
@@ -3492,6 +3636,141 @@ interface BulkActionMetadata {
3492
3636
  /** Number of failures without details because detailed failure threshold was exceeded. */
3493
3637
  undetailedFailures?: number;
3494
3638
  }
3639
+ interface CreatePreinstalledAutomationRequest {
3640
+ /** Preinstalled automation to be created. */
3641
+ automation: Automation;
3642
+ /** Optional - hide the created automation behind a spec */
3643
+ specInfo?: PreinstalledAutomationSpecInfo;
3644
+ /**
3645
+ * Optional - the information about the original site automation that was used to create this preinstalled automation
3646
+ * Usually an existing automation in a site is used to create the preinstalled automation, this is the relevant information.
3647
+ */
3648
+ originAutomationInfo?: OriginAutomationInfo;
3649
+ }
3650
+ interface PreinstalledAutomationSpecInfo {
3651
+ /** Spec to conduct on for the automation */
3652
+ spec?: string;
3653
+ /**
3654
+ * Value the spec should return in order to affect the user with the operation
3655
+ * e.g. creation - show the users the automation, update - show the users the updated automation, deletion - not show the users the automation
3656
+ */
3657
+ variantValue?: string | null;
3658
+ /**
3659
+ * Version from which the experiment should decide whether to expose it to users when !conduct(spec).contains(variant_value)
3660
+ * For example, if 50 is set, version 49 and below (including 49) will not expose the preinstalled automation to the user.
3661
+ */
3662
+ experimentVersion?: number;
3663
+ }
3664
+ interface OriginAutomationInfo {
3665
+ /** The original automation id */
3666
+ siteAutomationId?: string;
3667
+ /** The original automation meta site id */
3668
+ metaSiteId?: string;
3669
+ }
3670
+ interface CreatePreinstalledAutomationResponse {
3671
+ /** The created preinstalled automation. */
3672
+ automation?: Automation;
3673
+ }
3674
+ interface UpdatePreinstalledAutomationRequest {
3675
+ /** Preinstalled automation to update. */
3676
+ automation: Automation;
3677
+ /** Optional - hide the updated automation behind a spec */
3678
+ specInfo?: PreinstalledAutomationSpecInfo;
3679
+ }
3680
+ interface UpdatePreinstalledAutomationResponse {
3681
+ /** Updated preinstalled automation. */
3682
+ automation?: Automation;
3683
+ }
3684
+ interface DeletePreinstalledAutomationRequest {
3685
+ /** Preinstalled Component Id */
3686
+ componentId: string;
3687
+ /**
3688
+ * Optional - makes the deletion operation gradual
3689
+ * The automation will not return if the variant returns for the site
3690
+ */
3691
+ specInfo?: PreinstalledAutomationSpecInfo;
3692
+ }
3693
+ interface DeletePreinstalledAutomationResponse {
3694
+ }
3695
+ interface QueryPreinstalledAutomationsForAppRequest {
3696
+ /** WQL expression. */
3697
+ query?: CommonCursorQuery;
3698
+ }
3699
+ interface CommonCursorQuery extends CommonCursorQueryPagingMethodOneOf {
3700
+ /**
3701
+ * Cursor paging options.
3702
+ *
3703
+ * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
3704
+ */
3705
+ cursorPaging?: CommonCursorPaging;
3706
+ /**
3707
+ * Filter object.
3708
+ *
3709
+ * Learn more about the [filter section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).
3710
+ */
3711
+ filter?: Record<string, any> | null;
3712
+ /**
3713
+ * Sort object.
3714
+ *
3715
+ * Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
3716
+ */
3717
+ sort?: CommonSorting[];
3718
+ }
3719
+ /** @oneof */
3720
+ interface CommonCursorQueryPagingMethodOneOf {
3721
+ /**
3722
+ * Cursor paging options.
3723
+ *
3724
+ * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).
3725
+ */
3726
+ cursorPaging?: CommonCursorPaging;
3727
+ }
3728
+ interface CommonSorting {
3729
+ /** Name of the field to sort by. */
3730
+ fieldName?: string;
3731
+ /** Sort order. */
3732
+ order?: CommonSortOrder;
3733
+ }
3734
+ declare enum CommonSortOrder {
3735
+ ASC = "ASC",
3736
+ DESC = "DESC"
3737
+ }
3738
+ interface CommonCursorPaging {
3739
+ /** Maximum number of items to return in the results. */
3740
+ limit?: number | null;
3741
+ /**
3742
+ * Pointer to the next or previous page in the list of results.
3743
+ *
3744
+ * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
3745
+ * Not relevant for the first request.
3746
+ */
3747
+ cursor?: string | null;
3748
+ }
3749
+ interface QueryPreinstalledAutomationsForAppResponse {
3750
+ /** List of automations. */
3751
+ automations?: Automation[];
3752
+ /** Paging metadata. */
3753
+ pagingMetadata?: CommonCursorPagingMetadata;
3754
+ }
3755
+ interface CommonCursorPagingMetadata {
3756
+ /** Number of items returned in current page. */
3757
+ count?: number | null;
3758
+ /** Cursor strings that point to the next page, previous page, or both. */
3759
+ cursors?: CommonCursors;
3760
+ /**
3761
+ * Whether there are more pages to retrieve following the current page.
3762
+ *
3763
+ * + `true`: Another page of results can be retrieved.
3764
+ * + `false`: This is the last page.
3765
+ */
3766
+ hasNext?: boolean | null;
3767
+ }
3768
+ interface CommonCursors {
3769
+ /** Cursor string pointing to the next page in the list of results. */
3770
+ next?: string | null;
3771
+ /** Cursor pointing to the previous page in the list of results. */
3772
+ prev?: string | null;
3773
+ }
3495
3774
  interface QueryAutomationsRequest {
3496
3775
  /** WQL expression. */
3497
3776
  query?: CursorQuery;
@@ -3983,6 +4262,15 @@ interface BulkDeleteAutomationsResponseNonNullableFields {
3983
4262
  results: BulkDeleteResultNonNullableFields[];
3984
4263
  bulkActionMetadata?: BulkActionMetadataNonNullableFields;
3985
4264
  }
4265
+ interface CreatePreinstalledAutomationResponseNonNullableFields {
4266
+ automation?: AutomationNonNullableFields;
4267
+ }
4268
+ interface UpdatePreinstalledAutomationResponseNonNullableFields {
4269
+ automation?: AutomationNonNullableFields;
4270
+ }
4271
+ interface QueryPreinstalledAutomationsForAppResponseNonNullableFields {
4272
+ automations: AutomationNonNullableFields[];
4273
+ }
3986
4274
  interface QueryAutomationsResponseNonNullableFields {
3987
4275
  automations: AutomationNonNullableFields[];
3988
4276
  }
@@ -4106,6 +4394,12 @@ declare function deleteAutomation(): __PublicMethodMetaInfo<'DELETE', {
4106
4394
  automationId: string;
4107
4395
  }, DeleteAutomationRequest, DeleteAutomationRequest$1, DeleteAutomationResponse, DeleteAutomationResponse$1>;
4108
4396
  declare function bulkDeleteAutomations(): __PublicMethodMetaInfo<'POST', {}, BulkDeleteAutomationsRequest, BulkDeleteAutomationsRequest$1, BulkDeleteAutomationsResponse & BulkDeleteAutomationsResponseNonNullableFields, BulkDeleteAutomationsResponse$1 & BulkDeleteAutomationsResponseNonNullableFields$1>;
4397
+ declare function createPreinstalledAutomation(): __PublicMethodMetaInfo<'POST', {}, CreatePreinstalledAutomationRequest, CreatePreinstalledAutomationRequest$1, CreatePreinstalledAutomationResponse & CreatePreinstalledAutomationResponseNonNullableFields, CreatePreinstalledAutomationResponse$1 & CreatePreinstalledAutomationResponseNonNullableFields$1>;
4398
+ declare function updatePreinstalledAutomation(): __PublicMethodMetaInfo<'PATCH', {}, UpdatePreinstalledAutomationRequest, UpdatePreinstalledAutomationRequest$1, UpdatePreinstalledAutomationResponse & UpdatePreinstalledAutomationResponseNonNullableFields, UpdatePreinstalledAutomationResponse$1 & UpdatePreinstalledAutomationResponseNonNullableFields$1>;
4399
+ declare function deletePreinstalledAutomation(): __PublicMethodMetaInfo<'DELETE', {
4400
+ componentId: string;
4401
+ }, DeletePreinstalledAutomationRequest, DeletePreinstalledAutomationRequest$1, DeletePreinstalledAutomationResponse, DeletePreinstalledAutomationResponse$1>;
4402
+ declare function queryPreinstalledAutomationsForApp(): __PublicMethodMetaInfo<'POST', {}, QueryPreinstalledAutomationsForAppRequest, QueryPreinstalledAutomationsForAppRequest$1, QueryPreinstalledAutomationsForAppResponse & QueryPreinstalledAutomationsForAppResponseNonNullableFields, QueryPreinstalledAutomationsForAppResponse$1 & QueryPreinstalledAutomationsForAppResponseNonNullableFields$1>;
4109
4403
  declare function queryAutomations(): __PublicMethodMetaInfo<'POST', {}, QueryAutomationsRequest, QueryAutomationsRequest$1, QueryAutomationsResponse & QueryAutomationsResponseNonNullableFields, QueryAutomationsResponse$1 & QueryAutomationsResponseNonNullableFields$1>;
4110
4404
  declare function copyAutomation(): __PublicMethodMetaInfo<'POST', {
4111
4405
  automationId: string;
@@ -4136,8 +4430,10 @@ declare const meta_bulkDeleteAutomations: typeof bulkDeleteAutomations;
4136
4430
  declare const meta_copyAutomation: typeof copyAutomation;
4137
4431
  declare const meta_createAutomation: typeof createAutomation;
4138
4432
  declare const meta_createDraftAutomation: typeof createDraftAutomation;
4433
+ declare const meta_createPreinstalledAutomation: typeof createPreinstalledAutomation;
4139
4434
  declare const meta_deleteAutomation: typeof deleteAutomation;
4140
4435
  declare const meta_deleteDraftAutomation: typeof deleteDraftAutomation;
4436
+ declare const meta_deletePreinstalledAutomation: typeof deletePreinstalledAutomation;
4141
4437
  declare const meta_getActionsQuotaInfo: typeof getActionsQuotaInfo;
4142
4438
  declare const meta_getAutomation: typeof getAutomation;
4143
4439
  declare const meta_getAutomationActionSchema: typeof getAutomationActionSchema;
@@ -4145,11 +4441,13 @@ declare const meta_getOrCreateDraftAutomation: typeof getOrCreateDraftAutomation
4145
4441
  declare const meta_publishDraftAutomation: typeof publishDraftAutomation;
4146
4442
  declare const meta_queryAutomations: typeof queryAutomations;
4147
4443
  declare const meta_queryAutomationsWithDrafts: typeof queryAutomationsWithDrafts;
4444
+ declare const meta_queryPreinstalledAutomationsForApp: typeof queryPreinstalledAutomationsForApp;
4148
4445
  declare const meta_updateAutomation: typeof updateAutomation;
4149
4446
  declare const meta_updateDraftAutomation: typeof updateDraftAutomation;
4447
+ declare const meta_updatePreinstalledAutomation: typeof updatePreinstalledAutomation;
4150
4448
  declare const meta_validateAutomation: typeof validateAutomation;
4151
4449
  declare namespace meta {
4152
- export { type meta___PublicMethodMetaInfo as __PublicMethodMetaInfo, meta_bulkDeleteAutomations as bulkDeleteAutomations, meta_copyAutomation as copyAutomation, meta_createAutomation as createAutomation, meta_createDraftAutomation as createDraftAutomation, meta_deleteAutomation as deleteAutomation, meta_deleteDraftAutomation as deleteDraftAutomation, meta_getActionsQuotaInfo as getActionsQuotaInfo, meta_getAutomation as getAutomation, meta_getAutomationActionSchema as getAutomationActionSchema, meta_getOrCreateDraftAutomation as getOrCreateDraftAutomation, meta_publishDraftAutomation as publishDraftAutomation, meta_queryAutomations as queryAutomations, meta_queryAutomationsWithDrafts as queryAutomationsWithDrafts, meta_updateAutomation as updateAutomation, meta_updateDraftAutomation as updateDraftAutomation, meta_validateAutomation as validateAutomation };
4450
+ export { type meta___PublicMethodMetaInfo as __PublicMethodMetaInfo, meta_bulkDeleteAutomations as bulkDeleteAutomations, meta_copyAutomation as copyAutomation, meta_createAutomation as createAutomation, meta_createDraftAutomation as createDraftAutomation, meta_createPreinstalledAutomation as createPreinstalledAutomation, meta_deleteAutomation as deleteAutomation, meta_deleteDraftAutomation as deleteDraftAutomation, meta_deletePreinstalledAutomation as deletePreinstalledAutomation, meta_getActionsQuotaInfo as getActionsQuotaInfo, meta_getAutomation as getAutomation, meta_getAutomationActionSchema as getAutomationActionSchema, meta_getOrCreateDraftAutomation as getOrCreateDraftAutomation, meta_publishDraftAutomation as publishDraftAutomation, meta_queryAutomations as queryAutomations, meta_queryAutomationsWithDrafts as queryAutomationsWithDrafts, meta_queryPreinstalledAutomationsForApp as queryPreinstalledAutomationsForApp, meta_updateAutomation as updateAutomation, meta_updateDraftAutomation as updateDraftAutomation, meta_updatePreinstalledAutomation as updatePreinstalledAutomation, meta_validateAutomation as validateAutomation };
4153
4451
  }
4154
4452
 
4155
4453
  export { meta$1 as activations, meta$2 as automationsService, meta as automationsServiceV2 };