{"version":3,"sources":["../../src/automations-v1-automation-automations-service.http.ts","../../src/automations-v1-automation-automations-service.types.ts","../../src/automations-v1-automation-automations-service.meta.ts"],"sourcesContent":["import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKFloatToRESTFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nconst TRANSFORM_PATHS_0 = [\n  { path: 'automation.createdDate' },\n  { path: 'automation.updatedDate' },\n];\nconst TRANSFORM_PATHS_1 = [{ path: 'mask' }];\nconst TRANSFORM_PATHS_2 = [\n  { path: 'query.sort.origin.latitude' },\n  { path: 'query.sort.origin.longitude' },\n];\nconst TRANSFORM_PATHS_3 = [\n  { path: 'automations.createdDate' },\n  { path: 'automations.updatedDate' },\n];\nconst TRANSFORM_PATHS_4 = [\n  { path: 'activationReports.creationDate' },\n  { path: 'activationReports.updateDate' },\n];\nconst TRANSFORM_PATHS_5 = [\n  {\n    path: 'actionProviderQuotaInfo.actionQuotaInfo.quotaInfo.quotas.renewalDate',\n  },\n];\n\nfunction resolveComWixpressAutomationsServiceAutomationsServiceUrl(\n  opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n  const domainToMappings = {\n    'manage._base_domain_': [\n      {\n        srcPath: '/_api/automations-app',\n        destPath: '/api',\n      },\n      {\n        srcPath: '/automations-app',\n        destPath: '',\n      },\n    ],\n    'api._api_base_domain_': [\n      {\n        srcPath: '/automations-app',\n        destPath: '',\n      },\n    ],\n  };\n\n  return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_automations_automations-service';\n\n/**\n * Creates a new Automation\n * @deprecated Will be removed on 2025-05-01.\n */\nexport function createAutomation(payload: object): RequestOptionsFactory<any> {\n  function __createAutomation({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: TRANSFORM_PATHS_0,\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.automations.v1.automation',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wixpress.automations.service.AutomationsService.CreateAutomation',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressAutomationsServiceAutomationsServiceUrl({\n        protoPath: '/v1/automations',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: TRANSFORM_PATHS_0,\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __createAutomation;\n}\n\n/**\n * Get a Automation by id\n * @deprecated Will be removed on 2025-05-01.\n */\nexport function getAutomation(payload: object): RequestOptionsFactory<any> {\n  function __getAutomation({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.automations.v1.automation',\n      method: 'GET' as any,\n      methodFqn:\n        'com.wixpress.automations.service.AutomationsService.GetAutomation',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressAutomationsServiceAutomationsServiceUrl({\n        protoPath: '/v1/automations/{automationId}',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: TRANSFORM_PATHS_0,\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __getAutomation;\n}\n\n/**\n * Update a Automation, supports partial update\n * Pass the latest `revision` for a successful update\n * @deprecated Will be removed on 2025-05-01.\n */\nexport function updateAutomation(payload: object): RequestOptionsFactory<any> {\n  function __updateAutomation({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKFieldMaskToRESTFieldMask,\n        paths: TRANSFORM_PATHS_1,\n      },\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: TRANSFORM_PATHS_0,\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.automations.v1.automation',\n      method: 'PATCH' as any,\n      methodFqn:\n        'com.wixpress.automations.service.AutomationsService.UpdateAutomation',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressAutomationsServiceAutomationsServiceUrl({\n        protoPath: '/v1/automations/{automation.id}',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: TRANSFORM_PATHS_0,\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __updateAutomation;\n}\n\n/** @deprecated Will be removed on 2025-05-01. */\nexport function migrationUpdateAutomation(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __migrationUpdateAutomation({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: TRANSFORM_PATHS_0,\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.automations.v1.automation',\n      method: 'PATCH' as any,\n      methodFqn:\n        'com.wixpress.automations.service.AutomationsService.MigrationUpdateAutomation',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressAutomationsServiceAutomationsServiceUrl({\n        protoPath: '/v1/automations/migrations/{automation.id}',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: TRANSFORM_PATHS_0,\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __migrationUpdateAutomation;\n}\n\n/**\n * Delete an Automation\n * @deprecated Will be removed on 2025-05-01.\n */\nexport function deleteAutomation(payload: object): RequestOptionsFactory<any> {\n  function __deleteAutomation({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.automations.v1.automation',\n      method: 'DELETE' as any,\n      methodFqn:\n        'com.wixpress.automations.service.AutomationsService.DeleteAutomation',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressAutomationsServiceAutomationsServiceUrl({\n        protoPath: '/v1/automations/{automationId}',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n    };\n\n    return metadata;\n  }\n\n  return __deleteAutomation;\n}\n\n/**\n * Query Automations using [WQL - Wix Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language)\n * @deprecated Will be removed on 2025-05-01.\n */\nexport function queryAutomations(payload: object): RequestOptionsFactory<any> {\n  function __queryAutomations({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKFloatToRESTFloat,\n        paths: TRANSFORM_PATHS_2,\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.automations.v1.automation',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wixpress.automations.service.AutomationsService.QueryAutomations',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressAutomationsServiceAutomationsServiceUrl({\n        protoPath: '/v1/automations/query',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: TRANSFORM_PATHS_3,\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __queryAutomations;\n}\n\n/**\n * Creates a new Automation\n * @deprecated Will be removed on 2025-05-01.\n */\nexport function overrideApplicationAutomation(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __overrideApplicationAutomation({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: TRANSFORM_PATHS_0,\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.automations.v1.automation',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wixpress.automations.service.AutomationsService.OverrideApplicationAutomation',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressAutomationsServiceAutomationsServiceUrl({\n        protoPath: '/v1/automations/override',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: TRANSFORM_PATHS_0,\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __overrideApplicationAutomation;\n}\n\n/**\n * Validate Automation by Id\n * @deprecated Will be removed on 2025-05-01.\n */\nexport function validateAutomationById(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __validateAutomationById({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.automations.v1.automation',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wixpress.automations.service.AutomationsService.ValidateAutomationById',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressAutomationsServiceAutomationsServiceUrl({\n        protoPath: '/v1/automations/{automationId}/validate',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __validateAutomationById;\n}\n\n/**\n * Validate Automation\n * @deprecated Will be removed on 2025-05-01.\n */\nexport function validateAutomation(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __validateAutomation({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: TRANSFORM_PATHS_0,\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.automations.v1.automation',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wixpress.automations.service.AutomationsService.ValidateAutomation',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressAutomationsServiceAutomationsServiceUrl({\n        protoPath: '/v1/automations/validate',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n    };\n\n    return metadata;\n  }\n\n  return __validateAutomation;\n}\n\n/** @deprecated Will be removed on 2025-05-01. */\nexport function getAutomationActivationStats(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __getAutomationActivationStats({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.automations.v1.automation',\n      method: 'GET' as any,\n      methodFqn:\n        'com.wixpress.automations.service.AutomationsService.GetAutomationActivationStats',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressAutomationsServiceAutomationsServiceUrl({\n        protoPath: '/v1/automations/{automationId}/activation-stats',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: TRANSFORM_PATHS_4,\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __getAutomationActivationStats;\n}\n\n/**\n * Get actions quota information\n * @deprecated Will be removed on 2025-05-01.\n */\nexport function getActionsQuotaInfo(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __getActionsQuotaInfo({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.automations.v1.automation',\n      method: 'GET' as any,\n      methodFqn:\n        'com.wixpress.automations.service.AutomationsService.GetActionsQuotaInfo',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressAutomationsServiceAutomationsServiceUrl({\n        protoPath: '/v1/automations/actions/quota',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: TRANSFORM_PATHS_5,\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __getActionsQuotaInfo;\n}\n\n/**\n * Generate action input mapping from a template\n * @deprecated Will be removed on 2025-05-01.\n */\nexport function generateActionInputMappingFromTemplate(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __generateActionInputMappingFromTemplate({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.automations.v1.automation',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wixpress.automations.service.AutomationsService.GenerateActionInputMappingFromTemplate',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressAutomationsServiceAutomationsServiceUrl({\n        protoPath:\n          '/v1/automations/actions/generate-action-input-mapping-from-template',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __generateActionInputMappingFromTemplate;\n}\n","/** Automation */\nexport interface Automation {\n  /**\n   * Automation ID\n   * @format GUID\n   * @readonly\n   */\n  id?: string | null;\n  /** Revision */\n  revision?: string | null;\n  /**\n   * Automation name\n   * @maxLength 500\n   */\n  name?: string;\n  /**\n   * Automation description\n   * @maxLength 2000\n   */\n  description?: string;\n  /**\n   * Automation Type\n   * @readonly\n   */\n  type?: TypeWithLiterals;\n  /** Automation Status */\n  status?: StatusWithLiterals;\n  /** Rule that contains a trigger & some actions */\n  rule?: Rule;\n  /**\n   * Source Application Automation\n   * @readonly\n   */\n  source?: Source;\n  /**\n   * Metadata\n   * @readonly\n   */\n  metadata?: AutomationMetadata;\n  /**\n   * Created date\n   * @readonly\n   */\n  createdDate?: Date | null;\n  /**\n   * Updated date\n   * @readonly\n   */\n  updatedDate?: Date | null;\n  /**\n   * ESB Configuration ID\n   * @format GUID\n   * @readonly\n   */\n  esbConfigurationId?: string | null;\n  /**\n   * Was this automation migrated from v1\n   * @readonly\n   */\n  migratedFromV1?: boolean | null;\n  /** @readonly */\n  migratedToV3?: boolean | null;\n  /** @internal */\n  extendedFields?: ExtendedFields;\n}\n\nexport enum Type {\n  CUSTOM = 'CUSTOM',\n  APPLICATION = 'APPLICATION',\n}\n\n/** @enumType */\nexport type TypeWithLiterals = Type | 'CUSTOM' | 'APPLICATION';\n\nexport enum Status {\n  ACTIVE = 'ACTIVE',\n  INACTIVE = 'INACTIVE',\n}\n\n/** @enumType */\nexport type StatusWithLiterals = Status | 'ACTIVE' | 'INACTIVE';\n\nexport interface Rule {\n  /** an event triggered by visitors on a site, or by a site manager (owner & team). */\n  trigger?: Trigger;\n  /**\n   * the actions responding to the trigger happening.\n   * ** IMPORTANT NOTE: the order of the actions is important, and will be executed in the order they appear in the list **\n   * @minSize 1\n   * @maxSize 30\n   */\n  actions?: Action[];\n}\n\nexport interface Trigger {\n  /**\n   * the id of the app defining the trigger\n   * @format GUID\n   */\n  appId?: string;\n  /**\n   * Identifier for this trigger - human readable action key\n   * @minLength 1\n   * @maxLength 100\n   */\n  triggerKey?: string;\n  /**\n   * optional list of filters on schema fields\n   * @maxSize 5\n   */\n  filters?: Filter[];\n  /**\n   * optional - allows to define a trigger whose following actions will be executed only if the same event for the same resource has not in the last X seconds.\n   * for example, if the trigger is \"session booked\", the resource is a contact and the timeframe is 3600 seconds (contact hasn't booked another session in the last hour),\n   * then the actions will be executed only if the same event (session booked for that contact) has not happened in the last hour.\n   */\n  debounce?: Debounce;\n}\n\nexport interface Filter {\n  /**\n   * the filter identifier\n   * @format GUID\n   */\n  id?: string | null;\n  /**\n   * the field key from the schema, for example \"formId\"\n   * @minLength 1\n   * @maxLength 110\n   */\n  fieldKey?: string;\n  /**\n   * filter expression that evaluates to a boolean, for example - {{ contains([\"guid1\",\"guid2\"];formId) }}\n   * @minLength 5\n   */\n  filterExpression?: string;\n}\n\nexport interface Debounce {\n  /**\n   * Amount of time in seconds to wait for any additional events to occur before triggering the actions.\n   * If no additional events occur within the specified time, the actions will be triggered.\n   * If additional events occur within the specified time, the timer will be reset.\n   * @min 1\n   */\n  timeFrameInSeconds?: number;\n  /**\n   * The field key in the trigger's payload of the entity/event to debounce on\n   * For example: if the trigger is \"user logged in\", the resource is a contact and the resource key is \"contactId\",\n   * Another example: if the trigger is \"visitor logged in\", the resource is a visitor and the resource key is \"visitorId\".\n   * @minLength 1\n   * @maxLength 110\n   */\n  fieldKey?: string;\n}\n\nexport interface Action {\n  /**\n   * the id of the action for delayed events\n   * @format GUID\n   * @readonly\n   */\n  id?: string | null;\n  /**\n   * the id of the app defining the action\n   * @format GUID\n   */\n  appId?: string;\n  /**\n   * Identifier for this action - human readable action key - unique per app def id\n   * @maxLength 80\n   */\n  actionKey?: string;\n  /**\n   * input mapping expression for the action inputs\n   * for example:\n   * `{  \"subject\": \"Thanks for reaching out!\"\n   * \"message\": \"Hi {{contact.name.first}}, thanks for contacting our business\"\n   * }`\n   * where the value for \"contact.name.first\" comes from the trigger's payload\n   * @maxLength 20000\n   */\n  actionConfig?: string;\n  /**\n   * output mapping expression for the action output\n   * for example in get-contact action:\n   * `{ \"author\": \"{{$}}\" }`\n   * This will map the entire entity of contact under `author` namespace\n   * @maxLength 3000\n   */\n  outputActionConfig?: string | null;\n  /** Optional delay configuration for the action */\n  delay?: Delay;\n  /** allows you define an activation policy - like number of activations in a time frame, or limit by some identifier, like contact (e.g. send email to user only at first login) */\n  rateLimit?: RateLimit;\n  /**\n   * allows the user to define a condition for the action to be executed, if the condition fails the action (and following actions) will not be executed\n   * @deprecated allows the user to define a condition for the action to be executed, if the condition fails the action (and following actions) will not be executed\n   * @replacedBy conditions\n   * @targetRemovalDate 2023-08-01\n   */\n  condition?: Condition;\n  conditions?: Conditions;\n  /**\n   * allows the user to define a namespace for the action output\n   * @minLength 1\n   * @maxLength 100\n   */\n  namespace?: string | null;\n}\n\nexport enum BlockType {\n  UNKNOWN = 'UNKNOWN',\n  OR = 'OR',\n  AND = 'AND',\n}\n\n/** @enumType */\nexport type BlockTypeWithLiterals = BlockType | 'UNKNOWN' | 'OR' | 'AND';\n\nexport interface ConditionBlock {\n  type?: BlockTypeWithLiterals;\n  /**\n   * @minSize 1\n   * @maxSize 20\n   */\n  lineExpressions?: string[];\n}\n\nexport interface Offset extends OffsetValueOneOf {\n  /** A delay in seconds */\n  seconds?: number;\n  /** The key of the field in the trigger payload which contains a delay, in seconds. */\n  delayFieldKey?: string;\n}\n\n/** @oneof */\nexport interface OffsetValueOneOf {\n  /** A delay in seconds */\n  seconds?: number;\n  /** The key of the field in the trigger payload which contains a delay, in seconds. */\n  delayFieldKey?: string;\n}\n\n/** calculated as date + delay */\nexport interface Until {\n  /** The key of the field in the trigger payload which contains the date to delay until */\n  dateFieldKey?: string;\n  /** Optional: a delay to add together with the date described in the payload */\n  offset?: Offset;\n}\n\nexport interface Delay extends DelayTypeOneOf {\n  /** A delay which is calculated based on the immediate time when the action is triggered. */\n  for?: Offset;\n  /** A delay which is calculated based on a date field in the trigger payload. May also be used together with an Offset delay. */\n  until?: Until;\n}\n\n/** @oneof */\nexport interface DelayTypeOneOf {\n  /** A delay which is calculated based on the immediate time when the action is triggered. */\n  for?: Offset;\n  /** A delay which is calculated based on a date field in the trigger payload. May also be used together with an Offset delay. */\n  until?: Until;\n}\n\nexport interface RateLimit {\n  /**\n   * time frame in minutes\n   * @min 1\n   */\n  timeFrame?: number | null;\n  /**\n   * number of activations allowed in the given time frame\n   * @min 1\n   */\n  activations?: number;\n  /**\n   * limit the activation by an entity, for example activate once per contact. example: {{contact.id}}\n   * @minLength 1\n   * @maxLength 300\n   */\n  uniqueIdentifierExpression?: string | null;\n}\n\nexport interface Condition {\n  /**\n   * entity object is deprecated due to the new approach to conditions\n   * the condition expression, for example - {{and(gt(price;10);lt(price;100))}}\n   * @minLength 1\n   * @maxLength 2000\n   */\n  conditionExpression?: string;\n}\n\nexport interface Conditions {\n  /**\n   * condition evaluates to `true` if either of the blocks evaluate to `true` (aka OR between all)\n   * @minSize 1\n   * @maxSize 10\n   */\n  conditionBlocks?: ConditionBlock[];\n}\n\nexport interface Source {\n  /** Automation ID */\n  automationId?: string | null;\n  /** Application ID */\n  appId?: string | null;\n  /** Component ID */\n  componentId?: string | null;\n  /** Version */\n  version?: number | null;\n}\n\nexport interface AutomationMetadata {\n  /** Is this Automation hidden on a site? */\n  hidden?: boolean;\n  /** Can this Automation be dismissed (inactivated) on a site? */\n  alwaysActive?: boolean;\n  /** Is this Automation's scheduling modification is disabled on a site? */\n  schedulingModificationDisabled?: boolean;\n  /** Is the removal of this Automation's actions disabled? */\n  actionRemovalDisabled?: boolean;\n  /** Is conditions editing for this Automation allowed on a site? */\n  actionConditionsEditingDisabled?: boolean;\n  /**\n   * Domain\n   * @internal\n   * @immutable\n   */\n  domain?: DomainWithLiterals;\n}\n\nexport enum Domain {\n  /** User domain (default) */\n  USER = 'USER',\n  /** Wix domain */\n  WIX = 'WIX',\n}\n\n/** @enumType */\nexport type DomainWithLiterals = Domain | 'USER' | 'WIX';\n\nexport interface ExtendedFields {\n  /**\n   * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\n   * The value of each key is structured according to the schema defined when the extended fields were configured.\n   *\n   * You can only access fields for which you have the appropriate permissions.\n   *\n   * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).\n   */\n  namespaces?: Record<string, Record<string, any>>;\n}\n\nexport interface GetApplicationAutomationRequest {\n  /**\n   * Application Automation ID\n   * @format GUID\n   */\n  automationId?: string;\n}\n\nexport interface GetApplicationAutomationResponse {\n  /** Automation */\n  automation?: Automation;\n}\n\nexport interface QueryApplicationAutomationsRequest {\n  /** Query */\n  query?: QueryV2;\n}\n\nexport interface QueryV2 extends QueryV2PagingMethodOneOf {\n  /** Paging options to limit and offset the number of items. */\n  paging?: Paging;\n  /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n  cursorPaging?: CursorPaging;\n  /**\n   * Filter object.\n   *\n   * Learn more about [filtering](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters).\n   */\n  filter?: Record<string, any> | null;\n  /**\n   * Sort object.\n   *\n   * Learn more about [sorting](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#sorting).\n   */\n  sort?: Sorting[];\n  /** Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned. */\n  fields?: string[];\n  /** Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned. */\n  fieldsets?: string[];\n}\n\n/** @oneof */\nexport interface QueryV2PagingMethodOneOf {\n  /** Paging options to limit and offset the number of items. */\n  paging?: Paging;\n  /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n  cursorPaging?: CursorPaging;\n}\n\nexport interface Sorting {\n  /**\n   * Name of the field to sort by.\n   * @maxLength 512\n   */\n  fieldName?: string;\n  /** Sort order. */\n  order?: SortOrderWithLiterals;\n  /**\n   * When `field_name` is a property of repeated field that is marked as `MATCH_ITEMS` and sort should be done by\n   * a specific element from a collection, filter can/should be provided to ensure correct sort value is picked.\n   *\n   * If multiple filters are provided, they are combined with AND operator.\n   *\n   * Example:\n   * Given we have document like {\"id\": \"1\", \"nestedField\": [{\"price\": 10, \"region\": \"EU\"}, {\"price\": 20, \"region\": \"US\"}]}\n   * and `nestedField` is marked as `MATCH_ITEMS`, to ensure that sorting is done by correct region, filter should be\n   * { fieldName: \"nestedField.price\", \"select_items_by\": [{\"nestedField.region\": \"US\"}] }\n   * @internal\n   * @maxSize 10\n   */\n  selectItemsBy?: Record<string, any>[] | null;\n  /**\n   * Origin point for geo-distance sorting on a GEO field\n   * results are ordered by distance from this point (ASC = nearest first, DESC = farthest first).\n   */\n  origin?: AddressLocation;\n}\n\nexport enum SortOrder {\n  ASC = 'ASC',\n  DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface AddressLocation {\n  /** Address latitude. */\n  latitude?: number | null;\n  /** Address longitude. */\n  longitude?: number | null;\n}\n\nexport interface Paging {\n  /** Number of items to load. */\n  limit?: number | null;\n  /** Number of items to skip in the current sort order. */\n  offset?: number | null;\n}\n\nexport interface CursorPaging {\n  /**\n   * Maximum number of items to return in the results.\n   * @max 100\n   */\n  limit?: number | null;\n  /**\n   * Pointer to the next or previous page in the list of results.\n   *\n   * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\n   * Not relevant for the first request.\n   * @maxLength 16000\n   */\n  cursor?: string | null;\n}\n\nexport interface QueryApplicationAutomationsResponse {\n  /** List of automations */\n  automations?: Automation[];\n  /** Paging metadata */\n  paging?: PagingMetadataV2;\n}\n\nexport interface PagingMetadataV2 {\n  /** Number of items returned in the response. */\n  count?: number | null;\n  /** Offset that was requested. */\n  offset?: number | null;\n  /** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */\n  total?: number | null;\n  /** Flag that indicates the server failed to calculate the `total` field. */\n  tooManyToCount?: boolean | null;\n  /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */\n  cursors?: Cursors;\n  /**\n   * Indicates if there are more results after the current page.\n   * If `true`, another page of results can be retrieved.\n   * If `false`, this is the last page.\n   * @internal\n   */\n  hasNext?: boolean | null;\n}\n\nexport interface Cursors {\n  /**\n   * Cursor string pointing to the next page in the list of results.\n   * @maxLength 16000\n   */\n  next?: string | null;\n  /**\n   * Cursor pointing to the previous page in the list of results.\n   * @maxLength 16000\n   */\n  prev?: string | null;\n}\n\nexport interface UpdateApplicationAutomationConfigurationIdRequest {\n  /**\n   * Application Automation ID\n   * @format GUID\n   */\n  automationId?: string;\n  /**\n   * Configuration ID\n   * @format GUID\n   */\n  esbConfigurationId?: string;\n}\n\nexport interface UpdateApplicationAutomationConfigurationIdResponse {}\n\nexport interface UpdateApplicationAutomationToMigratedFromV1Request {\n  /**\n   * Application Automation ID\n   * @format GUID\n   */\n  automationId?: string;\n  /**\n   * Revision\n   * @readonly\n   */\n  revision?: string | null;\n  /** value to be set */\n  value?: boolean | null;\n}\n\nexport interface UpdateApplicationAutomationToMigratedFromV1Response {}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n  createdEvent?: EntityCreatedEvent;\n  updatedEvent?: EntityUpdatedEvent;\n  deletedEvent?: EntityDeletedEvent;\n  actionEvent?: ActionEvent;\n  /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n  id?: string;\n  /**\n   * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n   * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n   */\n  entityFqdn?: string;\n  /**\n   * Event action name, placed at the top level to make it easier for users to dispatch messages.\n   * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n   */\n  slug?: string;\n  /** ID of the entity associated with the event. */\n  entityId?: string;\n  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n  eventTime?: Date | null;\n  /**\n   * Whether the event was triggered as a result of a privacy regulation application\n   * (for example, GDPR).\n   */\n  triggeredByAnonymizeRequest?: boolean | null;\n  /** If present, indicates the action that triggered the event. */\n  originatedFrom?: string | null;\n  /**\n   * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number.\n   * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n   */\n  entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n  createdEvent?: EntityCreatedEvent;\n  updatedEvent?: EntityUpdatedEvent;\n  deletedEvent?: EntityDeletedEvent;\n  actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n  entityAsJson?: string;\n  /**\n   * Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity\n   * @internal\n   */\n  triggeredByUndelete?: boolean | null;\n  /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n  restoreInfo?: RestoreInfo;\n  /**\n   * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n   * @internal\n   */\n  additionalMetadataAsJson?: string | null;\n}\n\nexport interface RestoreInfo {\n  deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n  /**\n   * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n   * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n   * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n   */\n  currentEntityAsJson?: string;\n  /**\n   * This field is currently part of the of the EntityUpdatedEvent msg, but scala/node libraries which implements the domain events standard\n   * wont populate it / have any reference to it in the API.\n   * The main reason for it is that fetching the old entity from the DB will have a performance hit on an update operation so unless truly needed,\n   * the developer should send only the new (current) entity.\n   * An additional reason is not wanting to send this additional entity over the wire (kafka) since in some cases it can be really big\n   * Developers that must reflect the old entity will have to implement their own domain event sender mechanism which will follow the DomainEvent proto message.\n   * @internal\n   * @deprecated\n   */\n  previousEntityAsJson?: string | null;\n  /**\n   * Map of fully qualified field paths to their previous values for fields that changed.\n   * For more details please see [AIP](https://dev.wix.com/docs/rnd-general/articles/p13n-guidelines-aips/guidance-aips/design-patterns/7016-events#modified-fields-format)\n   * @internal\n   */\n  modifiedFields?: Record<string, any>;\n  /**\n   * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n   * @internal\n   */\n  additionalMetadataAsJson?: string | null;\n}\n\nexport interface EntityDeletedEvent {\n  /**\n   * Indicates if the entity is sent to trash-bin. only available when trash-bin is enabled\n   * @internal\n   */\n  movedToTrash?: boolean | null;\n  /** Entity that was deleted. */\n  deletedEntityAsJson?: string | null;\n  /**\n   * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n   * @internal\n   */\n  additionalMetadataAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n  bodyAsJson?: string;\n}\n\nexport interface Empty {}\n\nexport interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {\n  /** Emitted on a meta site creation. */\n  siteCreated?: SiteCreated;\n  /** Emitted on a meta site transfer completion. */\n  siteTransferred?: SiteTransferred;\n  /** Emitted on a meta site deletion. */\n  siteDeleted?: SiteDeleted;\n  /** Emitted on a meta site restoration. */\n  siteUndeleted?: SiteUndeleted;\n  /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */\n  sitePublished?: SitePublished;\n  /** Emitted on a meta site unpublish. */\n  siteUnpublished?: SiteUnpublished;\n  /** Emitted when meta site is marked as template. */\n  siteMarkedAsTemplate?: SiteMarkedAsTemplate;\n  /** Emitted when meta site is marked as a WixSite. */\n  siteMarkedAsWixSite?: SiteMarkedAsWixSite;\n  /** Emitted when an application is provisioned (installed). */\n  serviceProvisioned?: ServiceProvisioned;\n  /** Emitted when an application is removed (uninstalled). */\n  serviceRemoved?: ServiceRemoved;\n  /** Emitted when meta site name (URL slug) is changed. */\n  siteRenamedPayload?: SiteRenamed;\n  /** Emitted when meta site was permanently deleted. */\n  hardDeleted?: SiteHardDeleted;\n  /** Emitted on a namespace change. */\n  namespaceChanged?: NamespaceChanged;\n  /** Emitted when Studio is attached. */\n  studioAssigned?: StudioAssigned;\n  /** Emitted when Studio is detached. */\n  studioUnassigned?: StudioUnassigned;\n  /**\n   * Emitted when one of the URLs is changed. After this event you may call `urls-server` to fetch\n   * the actual URL.\n   *\n   * See: https://wix.slack.com/archives/C0UHEBPFT/p1732520791210559?thread_ts=1732027914.294059&cid=C0UHEBPFT\n   * See: https://wix.slack.com/archives/C0UHEBPFT/p1744115197619459\n   */\n  urlChanged?: SiteUrlChanged;\n  /** Site is marked as PurgedExternally */\n  sitePurgedExternally?: SitePurgedExternally;\n  /** Emitted when Odeditor is attached. */\n  odeditorAssigned?: OdeditorAssigned;\n  /** Emitted when Odeditor is detached. */\n  odeditorUnassigned?: OdeditorUnassigned;\n  /** Emitted when Picasso is attached. */\n  picassoAssigned?: PicassoAssigned;\n  /** Emitted when Picasso is detached. */\n  picassoUnassigned?: PicassoUnassigned;\n  /** Emitted when Wixel is attached. */\n  wixelAssigned?: WixelAssigned;\n  /** Emitted when Wixel is detached. */\n  wixelUnassigned?: WixelUnassigned;\n  /** Emitted when StudioTwo is attached. */\n  studioTwoAssigned?: StudioTwoAssigned;\n  /** Emitted when StudioTwo is detached. */\n  studioTwoUnassigned?: StudioTwoUnassigned;\n  /** Emitted when media from user domain is enabled. */\n  userDomainMediaEnabled?: UserDomainMediaEnabled;\n  /** Emitted when media from user domain is disabled. */\n  userDomainMediaDisabled?: UserDomainMediaDisabled;\n  /** Emitted when Editorless is attached. */\n  editorlessAssigned?: EditorlessAssigned;\n  /** Emitted when Editorless is detached. */\n  editorlessUnassigned?: EditorlessUnassigned;\n  /**\n   * A meta site id.\n   * @format GUID\n   */\n  metaSiteId?: string;\n  /** A meta site version. Monotonically increasing. */\n  version?: string;\n  /** A timestamp of the event. */\n  timestamp?: string;\n  /**\n   * TODO(meta-site): Change validation once validations are disabled for consumers\n   * More context: https://wix.slack.com/archives/C0UHEBPFT/p1720957844413149 and https://wix.slack.com/archives/CFWKX325T/p1728892152855659\n   * @maxSize 4000\n   */\n  assets?: Asset[];\n}\n\n/** @oneof */\nexport interface MetaSiteSpecialEventPayloadOneOf {\n  /** Emitted on a meta site creation. */\n  siteCreated?: SiteCreated;\n  /** Emitted on a meta site transfer completion. */\n  siteTransferred?: SiteTransferred;\n  /** Emitted on a meta site deletion. */\n  siteDeleted?: SiteDeleted;\n  /** Emitted on a meta site restoration. */\n  siteUndeleted?: SiteUndeleted;\n  /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */\n  sitePublished?: SitePublished;\n  /** Emitted on a meta site unpublish. */\n  siteUnpublished?: SiteUnpublished;\n  /** Emitted when meta site is marked as template. */\n  siteMarkedAsTemplate?: SiteMarkedAsTemplate;\n  /** Emitted when meta site is marked as a WixSite. */\n  siteMarkedAsWixSite?: SiteMarkedAsWixSite;\n  /** Emitted when an application is provisioned (installed). */\n  serviceProvisioned?: ServiceProvisioned;\n  /** Emitted when an application is removed (uninstalled). */\n  serviceRemoved?: ServiceRemoved;\n  /** Emitted when meta site name (URL slug) is changed. */\n  siteRenamedPayload?: SiteRenamed;\n  /** Emitted when meta site was permanently deleted. */\n  hardDeleted?: SiteHardDeleted;\n  /** Emitted on a namespace change. */\n  namespaceChanged?: NamespaceChanged;\n  /** Emitted when Studio is attached. */\n  studioAssigned?: StudioAssigned;\n  /** Emitted when Studio is detached. */\n  studioUnassigned?: StudioUnassigned;\n  /**\n   * Emitted when one of the URLs is changed. After this event you may call `urls-server` to fetch\n   * the actual URL.\n   *\n   * See: https://wix.slack.com/archives/C0UHEBPFT/p1732520791210559?thread_ts=1732027914.294059&cid=C0UHEBPFT\n   * See: https://wix.slack.com/archives/C0UHEBPFT/p1744115197619459\n   */\n  urlChanged?: SiteUrlChanged;\n  /** Site is marked as PurgedExternally */\n  sitePurgedExternally?: SitePurgedExternally;\n  /** Emitted when Odeditor is attached. */\n  odeditorAssigned?: OdeditorAssigned;\n  /** Emitted when Odeditor is detached. */\n  odeditorUnassigned?: OdeditorUnassigned;\n  /** Emitted when Picasso is attached. */\n  picassoAssigned?: PicassoAssigned;\n  /** Emitted when Picasso is detached. */\n  picassoUnassigned?: PicassoUnassigned;\n  /** Emitted when Wixel is attached. */\n  wixelAssigned?: WixelAssigned;\n  /** Emitted when Wixel is detached. */\n  wixelUnassigned?: WixelUnassigned;\n  /** Emitted when StudioTwo is attached. */\n  studioTwoAssigned?: StudioTwoAssigned;\n  /** Emitted when StudioTwo is detached. */\n  studioTwoUnassigned?: StudioTwoUnassigned;\n  /** Emitted when media from user domain is enabled. */\n  userDomainMediaEnabled?: UserDomainMediaEnabled;\n  /** Emitted when media from user domain is disabled. */\n  userDomainMediaDisabled?: UserDomainMediaDisabled;\n  /** Emitted when Editorless is attached. */\n  editorlessAssigned?: EditorlessAssigned;\n  /** Emitted when Editorless is detached. */\n  editorlessUnassigned?: EditorlessUnassigned;\n}\n\nexport interface Asset {\n  /**\n   * An application definition id (app_id in dev-center). For legacy reasons may be UUID or a string (from Java Enum).\n   * @maxLength 36\n   */\n  appDefId?: string;\n  /**\n   * An instance id. For legacy reasons may be UUID or a string.\n   * @maxLength 200\n   */\n  instanceId?: string;\n  /** An application state. */\n  state?: StateWithLiterals;\n}\n\nexport enum State {\n  UNKNOWN = 'UNKNOWN',\n  ENABLED = 'ENABLED',\n  DISABLED = 'DISABLED',\n  PENDING = 'PENDING',\n  DEMO = 'DEMO',\n}\n\n/** @enumType */\nexport type StateWithLiterals =\n  | State\n  | 'UNKNOWN'\n  | 'ENABLED'\n  | 'DISABLED'\n  | 'PENDING'\n  | 'DEMO';\n\nexport interface SiteCreated {\n  /**\n   * A template identifier (empty if not created from a template).\n   * @maxLength 36\n   */\n  originTemplateId?: string;\n  /**\n   * An account id of the owner.\n   * @format GUID\n   */\n  ownerId?: string;\n  /** A context in which meta site was created. */\n  context?: SiteCreatedContextWithLiterals;\n  /**\n   * A meta site id from which this site was created.\n   *\n   * In case of a creation from a template it's a template id.\n   * In case of a site duplication (\"Save As\" in dashboard or duplicate in UM) it's an id of a source site.\n   * @format GUID\n   */\n  originMetaSiteId?: string | null;\n  /**\n   * A meta site name (URL slug).\n   * @maxLength 20\n   */\n  siteName?: string;\n  /** A namespace. */\n  namespace?: NamespaceWithLiterals;\n}\n\nexport enum SiteCreatedContext {\n  /** A valid option, we don't expose all reasons why site might be created. */\n  OTHER = 'OTHER',\n  /** A meta site was created from template. */\n  FROM_TEMPLATE = 'FROM_TEMPLATE',\n  /** A meta site was created by copying of the transfferred meta site. */\n  DUPLICATE_BY_SITE_TRANSFER = 'DUPLICATE_BY_SITE_TRANSFER',\n  /** A copy of existing meta site. */\n  DUPLICATE = 'DUPLICATE',\n  /** A meta site was created as a transfferred site (copy of the original), old flow, should die soon. */\n  OLD_SITE_TRANSFER = 'OLD_SITE_TRANSFER',\n  /** deprecated A meta site was created for Flash editor. */\n  FLASH = 'FLASH',\n}\n\n/** @enumType */\nexport type SiteCreatedContextWithLiterals =\n  | SiteCreatedContext\n  | 'OTHER'\n  | 'FROM_TEMPLATE'\n  | 'DUPLICATE_BY_SITE_TRANSFER'\n  | 'DUPLICATE'\n  | 'OLD_SITE_TRANSFER'\n  | 'FLASH';\n\nexport enum Namespace {\n  UNKNOWN_NAMESPACE = 'UNKNOWN_NAMESPACE',\n  /** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */\n  WIX = 'WIX',\n  /** ShoutOut stand alone product. These are siteless (no actual Wix site, no HtmlWeb). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n  SHOUT_OUT = 'SHOUT_OUT',\n  /** MetaSites created by the Albums product, they appear as part of the Albums app. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n  ALBUMS = 'ALBUMS',\n  /** Part of the WixStores migration flow, a user tries to migrate and gets this site to view and if the user likes it then stores removes this namespace and deletes the old site with the old stores. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n  WIX_STORES_TEST_DRIVE = 'WIX_STORES_TEST_DRIVE',\n  /** Hotels standalone (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n  HOTELS = 'HOTELS',\n  /** Clubs siteless MetaSites, a club without a wix website. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n  CLUBS = 'CLUBS',\n  /** A partially created ADI website. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n  ONBOARDING_DRAFT = 'ONBOARDING_DRAFT',\n  /**\n   * AppBuilder for AppStudio / shmite (c). MetaSites with this namespace will *not* be shown in a user's site list by default.\n   * Not the dev-center dev site (see Flag.DEV_CENTER_DEV_SITE_FLAG).\n   */\n  DEV_SITE = 'DEV_SITE',\n  /** LogoMaker websites offered to the user after logo purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n  LOGOS = 'LOGOS',\n  /** VideoMaker websites offered to the user after video purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */\n  VIDEO_MAKER = 'VIDEO_MAKER',\n  /** MetaSites with this namespace will *not* be shown in a user's site list by default. */\n  PARTNER_DASHBOARD = 'PARTNER_DASHBOARD',\n  /** MetaSites with this namespace will *not* be shown in a user's site list by default. */\n  DEV_CENTER_COMPANY = 'DEV_CENTER_COMPANY',\n  /**\n   * A draft created by HTML editor on open. Upon \"first save\" it will be moved to be of WIX domain.\n   *\n   * Meta site with this namespace will *not* be shown in a user's site list by default.\n   */\n  HTML_DRAFT = 'HTML_DRAFT',\n  /**\n   * the user-journey for Fitness users who want to start from managing their business instead of designing their website.\n   * Will be accessible from Site List and will not have a website app.\n   * Once the user attaches a site, the site will become a regular wixsite.\n   */\n  SITELESS_BUSINESS = 'SITELESS_BUSINESS',\n  /** Belongs to \"strategic products\" company. Supports new product in the creator's economy space. */\n  CREATOR_ECONOMY = 'CREATOR_ECONOMY',\n  /** It is to be used in the Business First efforts. */\n  DASHBOARD_FIRST = 'DASHBOARD_FIRST',\n  /** Bookings business flow with no site. */\n  ANYWHERE = 'ANYWHERE',\n  /** Namespace for Headless Backoffice with no editor */\n  HEADLESS = 'HEADLESS',\n  /**\n   * Namespace for master site that will exist in parent account that will be referenced by subaccounts\n   * The site will be used for account level CSM feature for enterprise\n   */\n  ACCOUNT_MASTER_CMS = 'ACCOUNT_MASTER_CMS',\n  /** Rise.ai Siteless account management for Gift Cards and Store Credit. */\n  RISE = 'RISE',\n  /**\n   * As part of the branded app new funnel, users now can create a meta site that will be branded app first.\n   * There's a blank site behind the scene but it's blank).\n   * The Mobile company will be the owner of this namespace.\n   */\n  BRANDED_FIRST = 'BRANDED_FIRST',\n  /** Nownia.com Siteless account management for Ai Scheduling Assistant. */\n  NOWNIA = 'NOWNIA',\n  /**\n   * UGC Templates are templates that are created by users for personal use and to sale to other users.\n   * The Partners company owns this namespace.\n   */\n  UGC_TEMPLATE = 'UGC_TEMPLATE',\n  /** Codux Headless Sites */\n  CODUX = 'CODUX',\n  /** Bobb - AI Design Creator. */\n  MEDIA_DESIGN_CREATOR = 'MEDIA_DESIGN_CREATOR',\n  /**\n   * Shared Blog Site is a unique single site across Enterprise account,\n   * This site will hold all Blog posts related to the Marketing product.\n   */\n  SHARED_BLOG_ENTERPRISE = 'SHARED_BLOG_ENTERPRISE',\n  /** Standalone forms (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n  STANDALONE_FORMS = 'STANDALONE_FORMS',\n  /** Standalone events (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */\n  STANDALONE_EVENTS = 'STANDALONE_EVENTS',\n  /** MIMIR - Siteless account for MIMIR Ai Job runner. */\n  MIMIR = 'MIMIR',\n  /** Wix Twins platform. */\n  TWINS = 'TWINS',\n  /** Wix Nano. */\n  NANO = 'NANO',\n  /** Base44 headless sites. */\n  BASE44 = 'BASE44',\n  /** Wix Channels Sites */\n  CHANNELS = 'CHANNELS',\n  /** Nautilus platform. */\n  NAUTILUS = 'NAUTILUS',\n  /**\n   * Symphony — a siteless site representing a project within Symphony (the evolution of Orion).\n   * Holds project data, conversations, assets, and manages collaborators / shared team members for the project.\n   */\n  SYMPHONY = 'SYMPHONY',\n  /** Nautilus platform app. */\n  NAUTILUS_APPS = 'NAUTILUS_APPS',\n  /**\n   * Vibu — a siteless site representing a project built with Vibu (the AI app builder).\n   * Holds the project's generated code, conversations, assets, and manages collaborators for the project.\n   */\n  VIBU = 'VIBU',\n  /**\n   * Ghost site for the BrandKit multi-site platform. Each ghost backs a single BrandKit\n   * (an Enterprise account may have several), holding that BrandKit's brand definition\n   * (theme, typography, assets) which is rolled out to the BrandKit's connected sites.\n   * MetaSites with this namespace will *not* be shown in a user's site list by default.\n   */\n  ENTERPRISE_BRAND_KIT = 'ENTERPRISE_BRAND_KIT',\n  /**\n   * Dev-center development sites (com.wixpress.devcenter.dsm).\n   * DEPRECATED: replaced by Flag.DEV_CENTER_DEV_SITE_FLAG (a dev site is orthogonal to the namespace). Do not use for new sites.\n   */\n  DEV_CENTER_DEV_SITE = 'DEV_CENTER_DEV_SITE',\n}\n\n/** @enumType */\nexport type NamespaceWithLiterals =\n  | Namespace\n  | 'UNKNOWN_NAMESPACE'\n  | 'WIX'\n  | 'SHOUT_OUT'\n  | 'ALBUMS'\n  | 'WIX_STORES_TEST_DRIVE'\n  | 'HOTELS'\n  | 'CLUBS'\n  | 'ONBOARDING_DRAFT'\n  | 'DEV_SITE'\n  | 'LOGOS'\n  | 'VIDEO_MAKER'\n  | 'PARTNER_DASHBOARD'\n  | 'DEV_CENTER_COMPANY'\n  | 'HTML_DRAFT'\n  | 'SITELESS_BUSINESS'\n  | 'CREATOR_ECONOMY'\n  | 'DASHBOARD_FIRST'\n  | 'ANYWHERE'\n  | 'HEADLESS'\n  | 'ACCOUNT_MASTER_CMS'\n  | 'RISE'\n  | 'BRANDED_FIRST'\n  | 'NOWNIA'\n  | 'UGC_TEMPLATE'\n  | 'CODUX'\n  | 'MEDIA_DESIGN_CREATOR'\n  | 'SHARED_BLOG_ENTERPRISE'\n  | 'STANDALONE_FORMS'\n  | 'STANDALONE_EVENTS'\n  | 'MIMIR'\n  | 'TWINS'\n  | 'NANO'\n  | 'BASE44'\n  | 'CHANNELS'\n  | 'NAUTILUS'\n  | 'SYMPHONY'\n  | 'NAUTILUS_APPS'\n  | 'VIBU'\n  | 'ENTERPRISE_BRAND_KIT'\n  | 'DEV_CENTER_DEV_SITE';\n\n/** Site transferred to another user. */\nexport interface SiteTransferred {\n  /**\n   * A previous owner id (user that transfers meta site).\n   * @format GUID\n   */\n  oldOwnerId?: string;\n  /**\n   * A new owner id (user that accepts meta site).\n   * @format GUID\n   */\n  newOwnerId?: string;\n}\n\n/** Soft deletion of the meta site. Could be restored. */\nexport interface SiteDeleted {\n  /** A deletion context. */\n  deleteContext?: DeleteContext;\n}\n\nexport interface DeleteContext {\n  /** When the meta site was deleted. */\n  dateDeleted?: Date | null;\n  /** A status. */\n  deleteStatus?: DeleteStatusWithLiterals;\n  /**\n   * A reason (flow).\n   * @maxLength 255\n   */\n  deleteOrigin?: string;\n  /**\n   * A service that deleted it.\n   * @maxLength 255\n   */\n  initiatorId?: string | null;\n}\n\nexport enum DeleteStatus {\n  UNKNOWN = 'UNKNOWN',\n  TRASH = 'TRASH',\n  DELETED = 'DELETED',\n  PENDING_PURGE = 'PENDING_PURGE',\n  PURGED_EXTERNALLY = 'PURGED_EXTERNALLY',\n}\n\n/** @enumType */\nexport type DeleteStatusWithLiterals =\n  | DeleteStatus\n  | 'UNKNOWN'\n  | 'TRASH'\n  | 'DELETED'\n  | 'PENDING_PURGE'\n  | 'PURGED_EXTERNALLY';\n\n/** Restoration of the meta site. */\nexport interface SiteUndeleted {}\n\n/** First publish of a meta site. Or subsequent publish after unpublish. */\nexport interface SitePublished {}\n\nexport interface SiteUnpublished {\n  /**\n   * A list of URLs previously associated with the meta site.\n   * @maxLength 4000\n   * @maxSize 10000\n   */\n  urls?: string[];\n}\n\nexport interface SiteMarkedAsTemplate {}\n\nexport interface SiteMarkedAsWixSite {}\n\n/**\n * Represents a service provisioned a site.\n *\n * Note on `origin_instance_id`:\n * There is no guarantee that you will be able to find a meta site using `origin_instance_id`.\n * This is because of the following scenario:\n *\n * Imagine you have a template where a third-party application (TPA) includes some stub data,\n * such as a product catalog. When you create a site from this template, you inherit this\n * default product catalog. However, if the template's product catalog is modified,\n * your site will retain the catalog as it was at the time of site creation. This ensures that\n * your site remains consistent with what you initially received and does not include any\n * changes made to the original template afterward.\n * To ensure this, the TPA on the template gets a new instance_id.\n */\nexport interface ServiceProvisioned {\n  /**\n   * Either UUID or EmbeddedServiceType.\n   * @maxLength 36\n   */\n  appDefId?: string;\n  /**\n   * Not only UUID. Something here could be something weird.\n   * @maxLength 36\n   */\n  instanceId?: string;\n  /**\n   * An instance id from which this instance is originated.\n   * @maxLength 36\n   */\n  originInstanceId?: string;\n  /**\n   * A version.\n   * @maxLength 500\n   */\n  version?: string | null;\n  /**\n   * The origin meta site id\n   * @format GUID\n   */\n  originMetaSiteId?: string | null;\n}\n\nexport interface ServiceRemoved {\n  /**\n   * Either UUID or EmbeddedServiceType.\n   * @maxLength 36\n   */\n  appDefId?: string;\n  /**\n   * Not only UUID. Something here could be something weird.\n   * @maxLength 36\n   */\n  instanceId?: string;\n  /**\n   * A version.\n   * @maxLength 500\n   */\n  version?: string | null;\n}\n\n/** Rename of the site. Meaning, free public url has been changed as well. */\nexport interface SiteRenamed {\n  /**\n   * A new meta site name (URL slug).\n   * @maxLength 20\n   */\n  newSiteName?: string;\n  /**\n   * A previous meta site name (URL slug).\n   * @maxLength 255\n   */\n  oldSiteName?: string;\n}\n\n/**\n * Hard deletion of the meta site.\n *\n * Could not be restored. Therefore it's desirable to cleanup data.\n */\nexport interface SiteHardDeleted {\n  /** A deletion context. */\n  deleteContext?: DeleteContext;\n}\n\nexport interface NamespaceChanged {\n  /** A previous namespace. */\n  oldNamespace?: NamespaceWithLiterals;\n  /** A new namespace. */\n  newNamespace?: NamespaceWithLiterals;\n}\n\n/** Assigned Studio editor */\nexport interface StudioAssigned {}\n\n/** Unassigned Studio editor */\nexport interface StudioUnassigned {}\n\n/**\n * Fired in case site URLs were changed in any way: new secondary domain, published, account slug rename, site rename etc.\n *\n * This is an internal event, it's not propagated in special events, because it's non-actionable. If you need to keep up\n * with sites and its urls, you need to listen to another topic/event. Read about it:\n *\n * https://bo.wix.com/wix-docs/rest/meta-site/meta-site---urls-service\n */\nexport interface SiteUrlChanged {}\n\n/**\n * Used at the end of the deletion flow for both draft sites and when a user deletes a site.\n * Consumed by other teams to remove relevant data.\n */\nexport interface SitePurgedExternally {\n  /**\n   * @maxLength 2048\n   * @maxSize 100\n   * @deprecated\n   * @targetRemovalDate 2025-04-15\n   */\n  appDefId?: string[];\n}\n\n/** Assigned Odeditor */\nexport interface OdeditorAssigned {}\n\n/** Unassigned Odeditor */\nexport interface OdeditorUnassigned {}\n\n/** Assigned Picasso editor */\nexport interface PicassoAssigned {}\n\n/** Unassigned Picasso */\nexport interface PicassoUnassigned {}\n\n/** Assigned Wixel */\nexport interface WixelAssigned {}\n\n/** Unassigned Wixel */\nexport interface WixelUnassigned {}\n\n/** Assigned StudioTwo */\nexport interface StudioTwoAssigned {}\n\n/** Unassigned StudioTwo */\nexport interface StudioTwoUnassigned {}\n\n/** Media from user domain is enabled. */\nexport interface UserDomainMediaEnabled {}\n\n/** Media from user domain is disabled. */\nexport interface UserDomainMediaDisabled {}\n\n/** Assigned Editorless */\nexport interface EditorlessAssigned {}\n\n/** Unassigned Editorless */\nexport interface EditorlessUnassigned {}\n\nexport interface SyncApplicationAutomationsRequest {\n  /**\n   * List of app IDs\n   * @format GUID\n   * @maxSize 20\n   */\n  appIds?: string[];\n}\n\nexport interface SyncApplicationAutomationsResponse {}\n\nexport interface BulkCreateApplicationAutomationRequest {\n  /**\n   * Automations to be created\n   * @minSize 1\n   */\n  automations?: Automation[];\n}\n\nexport interface BulkCreateApplicationAutomationResponse {\n  /** The created Automations */\n  results?: Automation[];\n  /** Bulk create metadata. */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkActionMetadata {\n  /** Number of items that were successfully processed. */\n  totalSuccesses?: number;\n  /** Number of items that couldn't be processed. */\n  totalFailures?: number;\n  /** Number of failures without details because detailed failure threshold was exceeded. */\n  undetailedFailures?: number;\n}\n\nexport interface MessageEnvelope {\n  /**\n   * App instance ID.\n   * @format GUID\n   */\n  instanceId?: string | null;\n  /**\n   * Event type.\n   * @maxLength 150\n   */\n  eventType?: string;\n  /** The identification type and identity data. */\n  identity?: IdentificationData;\n  /** Stringify payload. */\n  data?: string;\n  /** Details related to the account */\n  accountInfo?: AccountInfo;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n  /**\n   * ID of a site visitor that has not logged in to the site.\n   * @format GUID\n   */\n  anonymousVisitorId?: string;\n  /**\n   * ID of a site visitor that has logged in to the site.\n   * @format GUID\n   */\n  memberId?: string;\n  /**\n   * ID of a Wix user (site owner, contributor, etc.).\n   * @format GUID\n   */\n  wixUserId?: string;\n  /**\n   * ID of an app.\n   * @format GUID\n   */\n  appId?: string;\n  /** @readonly */\n  identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n  /**\n   * ID of a site visitor that has not logged in to the site.\n   * @format GUID\n   */\n  anonymousVisitorId?: string;\n  /**\n   * ID of a site visitor that has logged in to the site.\n   * @format GUID\n   */\n  memberId?: string;\n  /**\n   * ID of a Wix user (site owner, contributor, etc.).\n   * @format GUID\n   */\n  wixUserId?: string;\n  /**\n   * ID of an app.\n   * @format GUID\n   */\n  appId?: string;\n}\n\nexport enum WebhookIdentityType {\n  UNKNOWN = 'UNKNOWN',\n  ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n  MEMBER = 'MEMBER',\n  WIX_USER = 'WIX_USER',\n  APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n  | WebhookIdentityType\n  | 'UNKNOWN'\n  | 'ANONYMOUS_VISITOR'\n  | 'MEMBER'\n  | 'WIX_USER'\n  | 'APP';\n\nexport interface AccountInfo {\n  /**\n   * ID of the Wix account associated with the event.\n   * @format GUID\n   */\n  accountId?: string | null;\n  /**\n   * ID of the parent Wix account. Only included when accountId belongs to a child account.\n   * @format GUID\n   */\n  parentAccountId?: string | null;\n  /**\n   * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.\n   * @format GUID\n   */\n  siteId?: string | null;\n}\n\nexport interface CreateAutomationRequest {\n  /** Automation to be created */\n  automation: Automation;\n}\n\nexport interface CreateAutomationResponse {\n  /** The created Automation */\n  automation?: Automation;\n}\n\nexport interface MigrationBulkCreateAutomationsRequest {\n  /** Automations to be created */\n  automations?: Automation[];\n  /** V1 Activity type (trigger name) */\n  activityType?: string;\n  /** automation id to counter map */\n  automationIdToCounter?: Record<string, string>;\n  /** automation id to last triggered map */\n  automationIdToLastTriggered?: Record<string, string>;\n  /** ignore validations */\n  ignoreValidations?: boolean | null;\n}\n\nexport interface MigrationBulkCreateAutomationsResponse {\n  /** bulk action metadata */\n  bulkActionMetadata?: BulkActionMetadata;\n  /** item metadata */\n  itemMetadata?: ItemMetadata[];\n}\n\nexport interface ItemMetadata {\n  /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */\n  id?: string | null;\n  /** Index of the item within the request array. Allows for correlation between request and response items. */\n  originalIndex?: number;\n  /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */\n  success?: boolean;\n  /** Details about the error in case of failure. */\n  error?: ApplicationError;\n}\n\nexport interface ApplicationError {\n  /** Error code. */\n  code?: string;\n  /** Description of the error. */\n  description?: string;\n  /** Data related to the error. */\n  data?: Record<string, any> | null;\n}\n\nexport interface MigrationBulkCreateAutomations {\n  /**\n   * Automations to be created\n   * @maxSize 100\n   */\n  automations?: Automation[];\n  /** V1 Activity type (trigger name) */\n  activityType?: string;\n  /** automation id to counter map */\n  automationIdToCounter?: Record<string, string>;\n  /** automation id to last triggered map */\n  automationIdToLastTriggered?: Record<string, string>;\n}\n\nexport interface GetAutomationRequest {\n  /**\n   * Automation ID\n   * @format GUID\n   */\n  automationId: string;\n  /** Automation type */\n  automationType?: TypeWithLiterals;\n}\n\nexport interface GetAutomationResponse {\n  /** Automation */\n  automation?: Automation;\n}\n\nexport interface UpdateAutomationRequest {\n  /** Automation to be updated, may be partial */\n  automation: Automation;\n  /**\n   * Explicit list of fields to update\n   * @internal\n   */\n  mask?: string[];\n}\n\nexport interface UpdateAutomationResponse {\n  /** The updated Automation */\n  automation?: Automation;\n}\n\nexport interface UpdatedWithPreviousEntity {\n  /** previous automation */\n  previousAutomation?: Automation;\n  /** updated automation */\n  currentAutomation?: Automation;\n}\n\nexport interface MigrationUpdateAutomationRequest {\n  /** Automation to be updated, may be partial */\n  automation: Automation;\n}\n\nexport interface MigrationUpdateAutomationResponse {\n  /** The updated Automation */\n  automation?: Automation;\n}\n\nexport interface DeleteAutomationRequest {\n  /**\n   * Id of the Automation to delete\n   * @format GUID\n   */\n  automationId: string;\n  /** The revision of the Automation */\n  revision?: string;\n}\n\nexport interface DeleteAutomationResponse {}\n\nexport interface DeletedWithEntity {\n  /** Deleted automation */\n  automation?: Automation;\n}\n\nexport interface QueryAutomationsRequest {\n  /** WQL expression */\n  query: QueryV2;\n  /** Automation type */\n  automationType?: TypeWithLiterals;\n}\n\nexport interface QueryAutomationsResponse {\n  /** List of automations */\n  automations?: Automation[];\n  /** Paging metadata */\n  paging?: PagingMetadataV2;\n}\n\nexport interface OverrideApplicationAutomationRequest {\n  /** Application Automation */\n  automation: Automation;\n}\n\nexport interface OverrideApplicationAutomationResponse {\n  /** Custom Automation */\n  automation?: Automation;\n}\n\nexport interface GenerateApplicationAutomationFromCustomRequest {\n  /** Custom Automation */\n  automation?: Automation;\n}\n\nexport interface GenerateApplicationAutomationFromCustomResponse {\n  /** Application Automation */\n  automation?: Automation;\n}\n\nexport interface ValidateAutomationByIdRequest {\n  /**\n   * Automation ID\n   * @format GUID\n   */\n  automationId: string;\n  /** Automation type */\n  automationType?: TypeWithLiterals;\n}\n\nexport interface ValidateAutomationByIdResponse {\n  /** is the Automation valid */\n  valid?: boolean;\n  /**\n   * list of validation errors for the automation Trigger\n   * @maxSize 100\n   */\n  triggerValidationErrors?: TriggerValidationError[];\n  /**\n   * list of validation information for the automation Actions\n   * @maxSize 100\n   */\n  actionValidationInfo?: ActionValidationInfo[];\n}\n\nexport interface TriggerValidationError\n  extends TriggerValidationErrorErrorOneOf {\n  /** trigger configuration error */\n  configurationError?: TriggerConfigurationError;\n  /** provider configuration error */\n  providerConfigurationError?: ProviderConfigurationError;\n  /** validation error type */\n  errorType?: TriggerValidationErrorValidationErrorTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface TriggerValidationErrorErrorOneOf {\n  /** trigger configuration error */\n  configurationError?: TriggerConfigurationError;\n  /** provider configuration error */\n  providerConfigurationError?: ProviderConfigurationError;\n}\n\nexport enum TriggerValidationErrorValidationErrorType {\n  UNKNOWN_VALIDATION_ERROR_TYPE = 'UNKNOWN_VALIDATION_ERROR_TYPE',\n  CONFIGURATION_ERROR = 'CONFIGURATION_ERROR',\n  PROVIDER_ERROR = 'PROVIDER_ERROR',\n}\n\n/** @enumType */\nexport type TriggerValidationErrorValidationErrorTypeWithLiterals =\n  | TriggerValidationErrorValidationErrorType\n  | 'UNKNOWN_VALIDATION_ERROR_TYPE'\n  | 'CONFIGURATION_ERROR'\n  | 'PROVIDER_ERROR';\n\nexport interface TriggerConfigurationError {\n  /** trigger error type */\n  errorType?: TriggerErrorTypeWithLiterals;\n  /** optional - related filter field key */\n  filterFieldKey?: string | null;\n}\n\nexport enum TriggerErrorType {\n  UNKNOWN_TRIGGER_ERROR_TYPE = 'UNKNOWN_TRIGGER_ERROR_TYPE',\n  NOT_FOUND = 'NOT_FOUND',\n  APP_NOT_INSTALLED = 'APP_NOT_INSTALLED',\n  MODERATION_MISMATCH = 'MODERATION_MISMATCH',\n  DEPRECATED = 'DEPRECATED',\n  INVALID_TRIGGER_KEY = 'INVALID_TRIGGER_KEY',\n  INVALID_FILTER_FIELD_KEY = 'INVALID_FILTER_FIELD_KEY',\n  INVALID_FILTER_EXPRESSION = 'INVALID_FILTER_EXPRESSION',\n}\n\n/** @enumType */\nexport type TriggerErrorTypeWithLiterals =\n  | TriggerErrorType\n  | 'UNKNOWN_TRIGGER_ERROR_TYPE'\n  | 'NOT_FOUND'\n  | 'APP_NOT_INSTALLED'\n  | 'MODERATION_MISMATCH'\n  | 'DEPRECATED'\n  | 'INVALID_TRIGGER_KEY'\n  | 'INVALID_FILTER_FIELD_KEY'\n  | 'INVALID_FILTER_EXPRESSION';\n\nexport interface ProviderConfigurationError {\n  /** Scheme field key. */\n  fieldKey?: string | null;\n  /** Error message. */\n  message?: string;\n  /** Label for the call-to-action button displayed with the error. */\n  ctaLabel?: string | null;\n  /** When the call-to-action button is clicked, the redirect URL. */\n  ctaUrl?: string | null;\n  /** Error title. */\n  title?: string;\n}\n\nexport interface ActionValidationInfo {\n  /**\n   * the id of the action in the automation\n   * @format GUID\n   */\n  actionId?: string | null;\n  /**\n   * the id of the app defining the action\n   * @format GUID\n   */\n  appId?: string;\n  /** human readable identifier of the action per app */\n  actionKey?: string;\n  /**\n   * list of action validation errors\n   * @maxSize 100\n   */\n  validationErrors?: ActionValidationError[];\n}\n\nexport interface ActionValidationError extends ActionValidationErrorErrorOneOf {\n  /** action configuration error */\n  configurationError?: ActionConfigurationError;\n  /** provider configuration error */\n  providerConfigurationError?: ProviderConfigurationError;\n  /** validation error type */\n  errorType?: ValidationErrorTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface ActionValidationErrorErrorOneOf {\n  /** action configuration error */\n  configurationError?: ActionConfigurationError;\n  /** provider configuration error */\n  providerConfigurationError?: ProviderConfigurationError;\n}\n\nexport enum ValidationErrorType {\n  UNKNOWN_VALIDATION_ERROR_TYPE = 'UNKNOWN_VALIDATION_ERROR_TYPE',\n  CONFIGURATION_ERROR = 'CONFIGURATION_ERROR',\n  PROVIDER_ERROR = 'PROVIDER_ERROR',\n}\n\n/** @enumType */\nexport type ValidationErrorTypeWithLiterals =\n  | ValidationErrorType\n  | 'UNKNOWN_VALIDATION_ERROR_TYPE'\n  | 'CONFIGURATION_ERROR'\n  | 'PROVIDER_ERROR';\n\nexport interface ActionConfigurationError {\n  /** action error type */\n  errorType?: ActionErrorTypeWithLiterals;\n  /** optional - related field key */\n  fieldKey?: string | null;\n}\n\nexport enum ActionErrorType {\n  UNKNOWN_ACTION_ERROR_TYPE = 'UNKNOWN_ACTION_ERROR_TYPE',\n  NOT_FOUND = 'NOT_FOUND',\n  APP_NOT_INSTALLED = 'APP_NOT_INSTALLED',\n  MODERATION_MISMATCH = 'MODERATION_MISMATCH',\n  DEPRECATED = 'DEPRECATED',\n  INVALID_ACTION_KEY = 'INVALID_ACTION_KEY',\n  INVALID_INPUT_MAPPING = 'INVALID_INPUT_MAPPING',\n  INVALID_OUTPUT_MAPPING = 'INVALID_OUTPUT_MAPPING',\n  INVALID_DELAY = 'INVALID_DELAY',\n  INVALID_RATE_LIMIT = 'INVALID_RATE_LIMIT',\n  INPUT_MAPPING_TYPE_MISMATCH = 'INPUT_MAPPING_TYPE_MISMATCH',\n  INPUT_MAPPING_MISSING_REQUIRED_FIELD = 'INPUT_MAPPING_MISSING_REQUIRED_FIELD',\n  INPUT_MAPPING_SCHEMA_MISMATCH = 'INPUT_MAPPING_SCHEMA_MISMATCH',\n  INPUT_MAPPING_VARIABLE_MISSING_FROM_SCHEMA = 'INPUT_MAPPING_VARIABLE_MISSING_FROM_SCHEMA',\n}\n\n/** @enumType */\nexport type ActionErrorTypeWithLiterals =\n  | ActionErrorType\n  | 'UNKNOWN_ACTION_ERROR_TYPE'\n  | 'NOT_FOUND'\n  | 'APP_NOT_INSTALLED'\n  | 'MODERATION_MISMATCH'\n  | 'DEPRECATED'\n  | 'INVALID_ACTION_KEY'\n  | 'INVALID_INPUT_MAPPING'\n  | 'INVALID_OUTPUT_MAPPING'\n  | 'INVALID_DELAY'\n  | 'INVALID_RATE_LIMIT'\n  | 'INPUT_MAPPING_TYPE_MISMATCH'\n  | 'INPUT_MAPPING_MISSING_REQUIRED_FIELD'\n  | 'INPUT_MAPPING_SCHEMA_MISMATCH'\n  | 'INPUT_MAPPING_VARIABLE_MISSING_FROM_SCHEMA';\n\nexport interface ValidateAutomationRequest {\n  /** Automation to validate */\n  automation: Automation;\n}\n\nexport interface ValidateAutomationResponse {\n  /** is the Automation valid */\n  valid?: boolean;\n  /**\n   * list of validation errors for the automation Trigger\n   * @maxSize 100\n   */\n  triggerValidationErrors?: TriggerValidationError[];\n  /**\n   * list of validation information for the automation Actions\n   * @maxSize 100\n   */\n  actionValidationInfo?: ActionValidationInfo[];\n}\n\nexport interface UpdatedAutomationsWithEsb {\n  /**\n   * updated automations\n   * @maxSize 100\n   */\n  automations?: Automation[];\n}\n\nexport interface GetAutomationActivationReportsRequest {\n  /**\n   * Automation ID\n   * @format GUID\n   */\n  automationId: string;\n  paging?: Paging;\n  /** Fields projection - pass in the field key you want to get back */\n  fields?: string[];\n}\n\nexport interface GetAutomationActivationReportsResponse {\n  /** Automation activation reports */\n  activationReports?: ActivationReport[];\n  metadata?: PagingMetadata;\n  /** activationStatus -> count */\n  stats?: Record<string, number>;\n}\n\nexport interface ActivationReport {\n  /** @format GUID */\n  activationId?: string;\n  requestId?: string;\n  status?: ActivationStatusWithLiterals;\n  creationDate?: Date | null;\n  updateDate?: Date | null;\n  /** will be populated when status = FAILED */\n  error?: string | null;\n}\n\nexport enum ActivationStatus {\n  UNKNOWN_ACTIVATION_REQUEST = 'UNKNOWN_ACTIVATION_REQUEST',\n  IN_PROGRESS = 'IN_PROGRESS',\n  SUCCESS = 'SUCCESS',\n  FAILED = 'FAILED',\n  SCHEDULED = 'SCHEDULED',\n  RETRY = 'RETRY',\n  RESUMED = 'RESUMED',\n  PAUSED = 'PAUSED',\n}\n\n/** @enumType */\nexport type ActivationStatusWithLiterals =\n  | ActivationStatus\n  | 'UNKNOWN_ACTIVATION_REQUEST'\n  | 'IN_PROGRESS'\n  | 'SUCCESS'\n  | 'FAILED'\n  | 'SCHEDULED'\n  | 'RETRY'\n  | 'RESUMED'\n  | 'PAUSED';\n\nexport interface PagingMetadata {\n  /** Number of items returned in the response. */\n  count?: number | null;\n  /** Offset that was requested. */\n  offset?: number | null;\n  /** Total number of items that match the query. */\n  total?: number | null;\n  /** Flag that indicates the server failed to calculate the `total` field. */\n  tooManyToCount?: boolean | null;\n  /**\n   * Indicates if there are more results after the current page.\n   * If `true`, another page of results can be retrieved.\n   * If `false`, this is the last page.\n   * @internal\n   */\n  hasNext?: boolean | null;\n}\n\nexport interface GetAutomationActionSchemaRequest {\n  /**\n   * Automation's Configuration ID\n   * @format GUID\n   */\n  esbConfigurationId?: string;\n  /**\n   * Specific action ID\n   * @format GUID\n   */\n  actionId?: string;\n}\n\nexport interface GetAutomationActionSchemaResponse {\n  /** The payload schema of the automation for the specific action */\n  schema?: Record<string, any> | null;\n}\n\nexport interface GetActionsQuotaInfoRequest {}\n\nexport interface GetActionsQuotaInfoResponse {\n  /** list of action quota information */\n  actionProviderQuotaInfo?: ActionProviderQuotaInfo[];\n}\n\nexport interface ActionProviderQuotaInfo {\n  /**\n   * action app id\n   * @format GUID\n   */\n  appId?: string;\n  /**\n   * the action key\n   * @minLength 1\n   * @maxLength 80\n   */\n  actionKey?: string;\n  /** the action quota information */\n  actionQuotaInfo?: ActionQuotaInfo;\n}\n\nexport interface ActionQuotaInfo {\n  /**\n   * Whether the quotas for your action are enforced. If you mark this as `true` in the response body,\n   * Wix displays the information in the quota object on the site dashboard. If you mark this as `false` for\n   * a user, Wix does not display any quota info on the site dashboard for your service.\n   */\n  enforced?: boolean;\n  /**\n   * The plans your service provides, together with the quotas enforced by each plan. A site may be enrolled\n   * in multiple plans. Plans and quotas can be related as follows:\n   *\n   * + A single plan has a single quota.\n   * + A single plan has multiple quotas.\n   * + Multiple plans are associated with multiple quotas.\n   *\n   * Plans and quotas that are related should be grouped together in a single `quotaInfo`\n   * object.\n   */\n  quotaInfo?: QuotaInfo[];\n}\n\nexport interface QuotaInfo {\n  /** List of plans associated with the site making the request. */\n  plans?: Plan[];\n  /**\n   * List of quotas associated with the plans the site is enrolled in.\n   * @minSize 1\n   */\n  quotas?: Quota[];\n  /**\n   * Details for an upgrade call-to-action button.\n   * Displayed in the Wix user’s site dashboard together with the quota details.\n   */\n  upgradeCta?: UpgradeCTA;\n}\n\nexport interface Plan {\n  /** Plan ID defined by the action provider. */\n  id?: string;\n  /** Plan name to display in the Wix user’s site dashboard. */\n  name?: string;\n  /**\n   * Plan group ID.\n   * @internal\n   */\n  groupId?: string | null;\n}\n\nexport interface Quota {\n  /**\n   * Name of the feature the quota is related to. For example, \"Messages sent\".\n   * @minLength 1\n   */\n  featureName?: string;\n  /**\n   * Quota renewal date in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.\n   * For example, 10 July 2020 at 15:00 is written as `2020-07-10 15:00:00.000`.\n   */\n  renewalDate?: Date | null;\n  /** The user's current quota usage. */\n  currentUsage?: string;\n  /** Quota limit data. */\n  limit?: string | null;\n  /** Additional information about the quota. Displayed as a tooltip in the Wix user’s dashboard. */\n  additionalInfo?: AdditionalInfo;\n}\n\nexport interface CTA {\n  /**\n   * Call-to-action redirect URL.\n   * @minLength 1\n   */\n  url?: string;\n  /**\n   * Call-to-action label.\n   * @minLength 1\n   */\n  label?: string;\n}\n\nexport interface AdditionalInfo {\n  /**\n   * Tooltip content.\n   * @minLength 1\n   */\n  description?: string;\n  /** Details for an options call-to-action link that appears in the tooltip. */\n  cta?: CTA;\n}\n\nexport interface UpgradeCTA {\n  /**\n   * CTA button redirect URL.\n   * @minLength 1\n   */\n  url?: string;\n  /**\n   * CTA button label.\n   * @minLength 1\n   */\n  label?: string;\n  /**\n   * ID of the related plan.\n   * @internal\n   */\n  planId?: string | null;\n}\n\nexport interface BulkDeleteAutomationsRequest {\n  /**\n   * Automation IDs to delete\n   * @format GUID\n   * @maxSize 200\n   */\n  automationIds?: string[];\n}\n\nexport interface BulkDeleteAutomationsResponse {}\n\nexport interface GenerateActionInputMappingFromTemplateRequest {\n  /** action app id */\n  appId: string;\n  /** the action key */\n  actionKey: string;\n  /** action input mapping template the action spi provider will generate input mapping from */\n  actionInputMappingTemplate: Record<string, any> | null;\n}\n\nexport interface GenerateActionInputMappingFromTemplateResponse {\n  /** generated action input mapping */\n  generatedActionInputMapping?: Record<string, any> | null;\n}\n\nexport interface MigrationUpdateMigratedToV3AutomationRequest {\n  /**\n   * Automation id\n   * @format GUID\n   */\n  automationId?: string;\n}\n\nexport interface MigrationUpdateMigratedToV3AutomationResponse {}\n","import * as ambassadorWixAutomationsV1Automation from './automations-v1-automation-automations-service.http.js';\nimport * as ambassadorWixAutomationsV1AutomationTypes from './automations-v1-automation-automations-service.types.js';\nimport * as ambassadorWixAutomationsV1AutomationUniversalTypes from './automations-v1-automation-automations-service.universal.js';\n\nexport type __PublicMethodMetaInfo<\n  K = string,\n  M = unknown,\n  T = unknown,\n  S = unknown,\n  Q = unknown,\n  R = unknown\n> = {\n  getUrl: (context: any) => string;\n  httpMethod: K;\n  path: string;\n  pathParams: M;\n  __requestType: T;\n  __originalRequestType: S;\n  __responseType: Q;\n  __originalResponseType: R;\n};\n\nexport function createAutomation(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixAutomationsV1AutomationUniversalTypes.CreateAutomationRequest,\n  ambassadorWixAutomationsV1AutomationTypes.CreateAutomationRequest,\n  ambassadorWixAutomationsV1AutomationUniversalTypes.CreateAutomationResponse,\n  ambassadorWixAutomationsV1AutomationTypes.CreateAutomationResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixAutomationsV1Automation.createAutomation(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v1/automations',\n    pathParams: {},\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function getAutomation(): __PublicMethodMetaInfo<\n  'GET',\n  { automationId: string },\n  ambassadorWixAutomationsV1AutomationUniversalTypes.GetAutomationRequest,\n  ambassadorWixAutomationsV1AutomationTypes.GetAutomationRequest,\n  ambassadorWixAutomationsV1AutomationUniversalTypes.GetAutomationResponse,\n  ambassadorWixAutomationsV1AutomationTypes.GetAutomationResponse\n> {\n  const payload = { automationId: ':automationId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixAutomationsV1Automation.getAutomation(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'GET',\n    path: '/v1/automations/{automationId}',\n    pathParams: { automationId: 'automationId' },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function updateAutomation(): __PublicMethodMetaInfo<\n  'PATCH',\n  { automationId: string },\n  ambassadorWixAutomationsV1AutomationUniversalTypes.UpdateAutomationRequest,\n  ambassadorWixAutomationsV1AutomationTypes.UpdateAutomationRequest,\n  ambassadorWixAutomationsV1AutomationUniversalTypes.UpdateAutomationResponse,\n  ambassadorWixAutomationsV1AutomationTypes.UpdateAutomationResponse\n> {\n  const payload = { automation: { id: ':automationId' } } as any;\n\n  const getRequestOptions =\n    ambassadorWixAutomationsV1Automation.updateAutomation(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'PATCH',\n    path: '/v1/automations/{automation.id}',\n    pathParams: { automationId: 'automationId' },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function migrationUpdateAutomation(): __PublicMethodMetaInfo<\n  'PATCH',\n  { automationId: string },\n  ambassadorWixAutomationsV1AutomationUniversalTypes.MigrationUpdateAutomationRequest,\n  ambassadorWixAutomationsV1AutomationTypes.MigrationUpdateAutomationRequest,\n  ambassadorWixAutomationsV1AutomationUniversalTypes.MigrationUpdateAutomationResponse,\n  ambassadorWixAutomationsV1AutomationTypes.MigrationUpdateAutomationResponse\n> {\n  const payload = { automation: { id: ':automationId' } } as any;\n\n  const getRequestOptions =\n    ambassadorWixAutomationsV1Automation.migrationUpdateAutomation(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'PATCH',\n    path: '/v1/automations/migrations/{automation.id}',\n    pathParams: { automationId: 'automationId' },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function deleteAutomation(): __PublicMethodMetaInfo<\n  'DELETE',\n  { automationId: string },\n  ambassadorWixAutomationsV1AutomationUniversalTypes.DeleteAutomationRequest,\n  ambassadorWixAutomationsV1AutomationTypes.DeleteAutomationRequest,\n  ambassadorWixAutomationsV1AutomationUniversalTypes.DeleteAutomationResponse,\n  ambassadorWixAutomationsV1AutomationTypes.DeleteAutomationResponse\n> {\n  const payload = { automationId: ':automationId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixAutomationsV1Automation.deleteAutomation(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'DELETE',\n    path: '/v1/automations/{automationId}',\n    pathParams: { automationId: 'automationId' },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function queryAutomations(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixAutomationsV1AutomationUniversalTypes.QueryAutomationsRequest,\n  ambassadorWixAutomationsV1AutomationTypes.QueryAutomationsRequest,\n  ambassadorWixAutomationsV1AutomationUniversalTypes.QueryAutomationsResponse,\n  ambassadorWixAutomationsV1AutomationTypes.QueryAutomationsResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixAutomationsV1Automation.queryAutomations(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v1/automations/query',\n    pathParams: {},\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function overrideApplicationAutomation(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixAutomationsV1AutomationUniversalTypes.OverrideApplicationAutomationRequest,\n  ambassadorWixAutomationsV1AutomationTypes.OverrideApplicationAutomationRequest,\n  ambassadorWixAutomationsV1AutomationUniversalTypes.OverrideApplicationAutomationResponse,\n  ambassadorWixAutomationsV1AutomationTypes.OverrideApplicationAutomationResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixAutomationsV1Automation.overrideApplicationAutomation(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v1/automations/override',\n    pathParams: {},\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function validateAutomationById(): __PublicMethodMetaInfo<\n  'POST',\n  { automationId: string },\n  ambassadorWixAutomationsV1AutomationUniversalTypes.ValidateAutomationByIdRequest,\n  ambassadorWixAutomationsV1AutomationTypes.ValidateAutomationByIdRequest,\n  ambassadorWixAutomationsV1AutomationUniversalTypes.ValidateAutomationByIdResponse,\n  ambassadorWixAutomationsV1AutomationTypes.ValidateAutomationByIdResponse\n> {\n  const payload = { automationId: ':automationId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixAutomationsV1Automation.validateAutomationById(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v1/automations/{automationId}/validate',\n    pathParams: { automationId: 'automationId' },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function validateAutomation(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixAutomationsV1AutomationUniversalTypes.ValidateAutomationRequest,\n  ambassadorWixAutomationsV1AutomationTypes.ValidateAutomationRequest,\n  ambassadorWixAutomationsV1AutomationUniversalTypes.ValidateAutomationResponse,\n  ambassadorWixAutomationsV1AutomationTypes.ValidateAutomationResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixAutomationsV1Automation.validateAutomation(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v1/automations/validate',\n    pathParams: {},\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function getAutomationActivationStats(): __PublicMethodMetaInfo<\n  'GET',\n  { automationId: string },\n  ambassadorWixAutomationsV1AutomationUniversalTypes.GetAutomationActivationReportsRequest,\n  ambassadorWixAutomationsV1AutomationTypes.GetAutomationActivationReportsRequest,\n  ambassadorWixAutomationsV1AutomationUniversalTypes.GetAutomationActivationReportsResponse,\n  ambassadorWixAutomationsV1AutomationTypes.GetAutomationActivationReportsResponse\n> {\n  const payload = { automationId: ':automationId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixAutomationsV1Automation.getAutomationActivationStats(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'GET',\n    path: '/v1/automations/{automationId}/activation-stats',\n    pathParams: { automationId: 'automationId' },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function getActionsQuotaInfo(): __PublicMethodMetaInfo<\n  'GET',\n  {},\n  ambassadorWixAutomationsV1AutomationUniversalTypes.GetActionsQuotaInfoRequest,\n  ambassadorWixAutomationsV1AutomationTypes.GetActionsQuotaInfoRequest,\n  ambassadorWixAutomationsV1AutomationUniversalTypes.GetActionsQuotaInfoResponse,\n  ambassadorWixAutomationsV1AutomationTypes.GetActionsQuotaInfoResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixAutomationsV1Automation.getActionsQuotaInfo(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'GET',\n    path: '/v1/automations/actions/quota',\n    pathParams: {},\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function generateActionInputMappingFromTemplate(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixAutomationsV1AutomationUniversalTypes.GenerateActionInputMappingFromTemplateRequest,\n  ambassadorWixAutomationsV1AutomationTypes.GenerateActionInputMappingFromTemplateRequest,\n  ambassadorWixAutomationsV1AutomationUniversalTypes.GenerateActionInputMappingFromTemplateResponse,\n  ambassadorWixAutomationsV1AutomationTypes.GenerateActionInputMappingFromTemplateResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixAutomationsV1Automation.generateActionInputMappingFromTemplate(\n      payload\n    );\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v1/automations/actions/generate-action-input-mapping-from-template',\n    pathParams: {},\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport {\n  Automation as AutomationOriginal,\n  Type as TypeOriginal,\n  TypeWithLiterals as TypeWithLiteralsOriginal,\n  Status as StatusOriginal,\n  StatusWithLiterals as StatusWithLiteralsOriginal,\n  Rule as RuleOriginal,\n  Trigger as TriggerOriginal,\n  Filter as FilterOriginal,\n  Debounce as DebounceOriginal,\n  Action as ActionOriginal,\n  BlockType as BlockTypeOriginal,\n  BlockTypeWithLiterals as BlockTypeWithLiteralsOriginal,\n  ConditionBlock as ConditionBlockOriginal,\n  Offset as OffsetOriginal,\n  OffsetValueOneOf as OffsetValueOneOfOriginal,\n  Until as UntilOriginal,\n  Delay as DelayOriginal,\n  DelayTypeOneOf as DelayTypeOneOfOriginal,\n  RateLimit as RateLimitOriginal,\n  Condition as ConditionOriginal,\n  Conditions as ConditionsOriginal,\n  Source as SourceOriginal,\n  AutomationMetadata as AutomationMetadataOriginal,\n  Domain as DomainOriginal,\n  DomainWithLiterals as DomainWithLiteralsOriginal,\n  ExtendedFields as ExtendedFieldsOriginal,\n  GetApplicationAutomationRequest as GetApplicationAutomationRequestOriginal,\n  GetApplicationAutomationResponse as GetApplicationAutomationResponseOriginal,\n  QueryApplicationAutomationsRequest as QueryApplicationAutomationsRequestOriginal,\n  QueryV2 as QueryV2Original,\n  QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOfOriginal,\n  Sorting as SortingOriginal,\n  SortOrder as SortOrderOriginal,\n  SortOrderWithLiterals as SortOrderWithLiteralsOriginal,\n  AddressLocation as AddressLocationOriginal,\n  Paging as PagingOriginal,\n  CursorPaging as CursorPagingOriginal,\n  QueryApplicationAutomationsResponse as QueryApplicationAutomationsResponseOriginal,\n  PagingMetadataV2 as PagingMetadataV2Original,\n  Cursors as CursorsOriginal,\n  UpdateApplicationAutomationConfigurationIdRequest as UpdateApplicationAutomationConfigurationIdRequestOriginal,\n  UpdateApplicationAutomationConfigurationIdResponse as UpdateApplicationAutomationConfigurationIdResponseOriginal,\n  UpdateApplicationAutomationToMigratedFromV1Request as UpdateApplicationAutomationToMigratedFromV1RequestOriginal,\n  UpdateApplicationAutomationToMigratedFromV1Response as UpdateApplicationAutomationToMigratedFromV1ResponseOriginal,\n  DomainEvent as DomainEventOriginal,\n  DomainEventBodyOneOf as DomainEventBodyOneOfOriginal,\n  EntityCreatedEvent as EntityCreatedEventOriginal,\n  RestoreInfo as RestoreInfoOriginal,\n  EntityUpdatedEvent as EntityUpdatedEventOriginal,\n  EntityDeletedEvent as EntityDeletedEventOriginal,\n  ActionEvent as ActionEventOriginal,\n  Empty as EmptyOriginal,\n  MetaSiteSpecialEvent as MetaSiteSpecialEventOriginal,\n  MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOfOriginal,\n  Asset as AssetOriginal,\n  State as StateOriginal,\n  StateWithLiterals as StateWithLiteralsOriginal,\n  SiteCreated as SiteCreatedOriginal,\n  SiteCreatedContext as SiteCreatedContextOriginal,\n  SiteCreatedContextWithLiterals as SiteCreatedContextWithLiteralsOriginal,\n  Namespace as NamespaceOriginal,\n  NamespaceWithLiterals as NamespaceWithLiteralsOriginal,\n  SiteTransferred as SiteTransferredOriginal,\n  SiteDeleted as SiteDeletedOriginal,\n  DeleteContext as DeleteContextOriginal,\n  DeleteStatus as DeleteStatusOriginal,\n  DeleteStatusWithLiterals as DeleteStatusWithLiteralsOriginal,\n  SiteUndeleted as SiteUndeletedOriginal,\n  SitePublished as SitePublishedOriginal,\n  SiteUnpublished as SiteUnpublishedOriginal,\n  SiteMarkedAsTemplate as SiteMarkedAsTemplateOriginal,\n  SiteMarkedAsWixSite as SiteMarkedAsWixSiteOriginal,\n  ServiceProvisioned as ServiceProvisionedOriginal,\n  ServiceRemoved as ServiceRemovedOriginal,\n  SiteRenamed as SiteRenamedOriginal,\n  SiteHardDeleted as SiteHardDeletedOriginal,\n  NamespaceChanged as NamespaceChangedOriginal,\n  StudioAssigned as StudioAssignedOriginal,\n  StudioUnassigned as StudioUnassignedOriginal,\n  SiteUrlChanged as SiteUrlChangedOriginal,\n  SitePurgedExternally as SitePurgedExternallyOriginal,\n  OdeditorAssigned as OdeditorAssignedOriginal,\n  OdeditorUnassigned as OdeditorUnassignedOriginal,\n  PicassoAssigned as PicassoAssignedOriginal,\n  PicassoUnassigned as PicassoUnassignedOriginal,\n  WixelAssigned as WixelAssignedOriginal,\n  WixelUnassigned as WixelUnassignedOriginal,\n  StudioTwoAssigned as StudioTwoAssignedOriginal,\n  StudioTwoUnassigned as StudioTwoUnassignedOriginal,\n  UserDomainMediaEnabled as UserDomainMediaEnabledOriginal,\n  UserDomainMediaDisabled as UserDomainMediaDisabledOriginal,\n  EditorlessAssigned as EditorlessAssignedOriginal,\n  EditorlessUnassigned as EditorlessUnassignedOriginal,\n  SyncApplicationAutomationsRequest as SyncApplicationAutomationsRequestOriginal,\n  SyncApplicationAutomationsResponse as SyncApplicationAutomationsResponseOriginal,\n  BulkCreateApplicationAutomationRequest as BulkCreateApplicationAutomationRequestOriginal,\n  BulkCreateApplicationAutomationResponse as BulkCreateApplicationAutomationResponseOriginal,\n  BulkActionMetadata as BulkActionMetadataOriginal,\n  MessageEnvelope as MessageEnvelopeOriginal,\n  IdentificationData as IdentificationDataOriginal,\n  IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n  WebhookIdentityType as WebhookIdentityTypeOriginal,\n  WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n  AccountInfo as AccountInfoOriginal,\n  CreateAutomationRequest as CreateAutomationRequestOriginal,\n  CreateAutomationResponse as CreateAutomationResponseOriginal,\n  MigrationBulkCreateAutomationsRequest as MigrationBulkCreateAutomationsRequestOriginal,\n  MigrationBulkCreateAutomationsResponse as MigrationBulkCreateAutomationsResponseOriginal,\n  ItemMetadata as ItemMetadataOriginal,\n  ApplicationError as ApplicationErrorOriginal,\n  MigrationBulkCreateAutomations as MigrationBulkCreateAutomationsOriginal,\n  GetAutomationRequest as GetAutomationRequestOriginal,\n  GetAutomationResponse as GetAutomationResponseOriginal,\n  UpdateAutomationRequest as UpdateAutomationRequestOriginal,\n  UpdateAutomationResponse as UpdateAutomationResponseOriginal,\n  UpdatedWithPreviousEntity as UpdatedWithPreviousEntityOriginal,\n  MigrationUpdateAutomationRequest as MigrationUpdateAutomationRequestOriginal,\n  MigrationUpdateAutomationResponse as MigrationUpdateAutomationResponseOriginal,\n  DeleteAutomationRequest as DeleteAutomationRequestOriginal,\n  DeleteAutomationResponse as DeleteAutomationResponseOriginal,\n  DeletedWithEntity as DeletedWithEntityOriginal,\n  QueryAutomationsRequest as QueryAutomationsRequestOriginal,\n  QueryAutomationsResponse as QueryAutomationsResponseOriginal,\n  OverrideApplicationAutomationRequest as OverrideApplicationAutomationRequestOriginal,\n  OverrideApplicationAutomationResponse as OverrideApplicationAutomationResponseOriginal,\n  GenerateApplicationAutomationFromCustomRequest as GenerateApplicationAutomationFromCustomRequestOriginal,\n  GenerateApplicationAutomationFromCustomResponse as GenerateApplicationAutomationFromCustomResponseOriginal,\n  ValidateAutomationByIdRequest as ValidateAutomationByIdRequestOriginal,\n  ValidateAutomationByIdResponse as ValidateAutomationByIdResponseOriginal,\n  TriggerValidationError as TriggerValidationErrorOriginal,\n  TriggerValidationErrorErrorOneOf as TriggerValidationErrorErrorOneOfOriginal,\n  TriggerValidationErrorValidationErrorType as TriggerValidationErrorValidationErrorTypeOriginal,\n  TriggerValidationErrorValidationErrorTypeWithLiterals as TriggerValidationErrorValidationErrorTypeWithLiteralsOriginal,\n  TriggerConfigurationError as TriggerConfigurationErrorOriginal,\n  TriggerErrorType as TriggerErrorTypeOriginal,\n  TriggerErrorTypeWithLiterals as TriggerErrorTypeWithLiteralsOriginal,\n  ProviderConfigurationError as ProviderConfigurationErrorOriginal,\n  ActionValidationInfo as ActionValidationInfoOriginal,\n  ActionValidationError as ActionValidationErrorOriginal,\n  ActionValidationErrorErrorOneOf as ActionValidationErrorErrorOneOfOriginal,\n  ValidationErrorType as ValidationErrorTypeOriginal,\n  ValidationErrorTypeWithLiterals as ValidationErrorTypeWithLiteralsOriginal,\n  ActionConfigurationError as ActionConfigurationErrorOriginal,\n  ActionErrorType as ActionErrorTypeOriginal,\n  ActionErrorTypeWithLiterals as ActionErrorTypeWithLiteralsOriginal,\n  ValidateAutomationRequest as ValidateAutomationRequestOriginal,\n  ValidateAutomationResponse as ValidateAutomationResponseOriginal,\n  UpdatedAutomationsWithEsb as UpdatedAutomationsWithEsbOriginal,\n  GetAutomationActivationReportsRequest as GetAutomationActivationReportsRequestOriginal,\n  GetAutomationActivationReportsResponse as GetAutomationActivationReportsResponseOriginal,\n  ActivationReport as ActivationReportOriginal,\n  ActivationStatus as ActivationStatusOriginal,\n  ActivationStatusWithLiterals as ActivationStatusWithLiteralsOriginal,\n  PagingMetadata as PagingMetadataOriginal,\n  GetAutomationActionSchemaRequest as GetAutomationActionSchemaRequestOriginal,\n  GetAutomationActionSchemaResponse as GetAutomationActionSchemaResponseOriginal,\n  GetActionsQuotaInfoRequest as GetActionsQuotaInfoRequestOriginal,\n  GetActionsQuotaInfoResponse as GetActionsQuotaInfoResponseOriginal,\n  ActionProviderQuotaInfo as ActionProviderQuotaInfoOriginal,\n  ActionQuotaInfo as ActionQuotaInfoOriginal,\n  QuotaInfo as QuotaInfoOriginal,\n  Plan as PlanOriginal,\n  Quota as QuotaOriginal,\n  CTA as CTAOriginal,\n  AdditionalInfo as AdditionalInfoOriginal,\n  UpgradeCTA as UpgradeCTAOriginal,\n  BulkDeleteAutomationsRequest as BulkDeleteAutomationsRequestOriginal,\n  BulkDeleteAutomationsResponse as BulkDeleteAutomationsResponseOriginal,\n  GenerateActionInputMappingFromTemplateRequest as GenerateActionInputMappingFromTemplateRequestOriginal,\n  GenerateActionInputMappingFromTemplateResponse as GenerateActionInputMappingFromTemplateResponseOriginal,\n  MigrationUpdateMigratedToV3AutomationRequest as MigrationUpdateMigratedToV3AutomationRequestOriginal,\n  MigrationUpdateMigratedToV3AutomationResponse as MigrationUpdateMigratedToV3AutomationResponseOriginal,\n} from './automations-v1-automation-automations-service.types.js';\n"],"mappings":";AAAA,SAAS,yBAAyB;AAClC,SAAS,oCAAoC;AAC7C,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,IAAM,oBAAoB;AAAA,EACxB,EAAE,MAAM,yBAAyB;AAAA,EACjC,EAAE,MAAM,yBAAyB;AACnC;AACA,IAAM,oBAAoB,CAAC,EAAE,MAAM,OAAO,CAAC;AAC3C,IAAM,oBAAoB;AAAA,EACxB,EAAE,MAAM,6BAA6B;AAAA,EACrC,EAAE,MAAM,8BAA8B;AACxC;AACA,IAAM,oBAAoB;AAAA,EACxB,EAAE,MAAM,0BAA0B;AAAA,EAClC,EAAE,MAAM,0BAA0B;AACpC;AACA,IAAM,oBAAoB;AAAA,EACxB,EAAE,MAAM,iCAAiC;AAAA,EACzC,EAAE,MAAM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","State","SiteCreatedContext","Namespace","DeleteStatus","WebhookIdentityType","TriggerValidationErrorValidationErrorType","TriggerErrorType","ValidationErrorType","ActionErrorType","ActivationStatus","createAutomation","getAutomation","updateAutomation","migrationUpdateAutomation","deleteAutomation","queryAutomations","overrideApplicationAutomation","validateAutomationById","validateAutomation","getAutomationActivationStats","getActionsQuotaInfo","generateActionInputMappingFromTemplate"]}