{"version":3,"sources":["../../src/automations-v2-activation-activations.http.ts","../../src/automations-v2-activation-activations.types.ts","../../src/automations-v2-activation-activations.meta.ts"],"sourcesContent":["import { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveComWixpressEsbRuntimeEsbRuntimeServiceUrl(\n  opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n  const domainToMappings = {\n    'www.wixapis.com': [\n      {\n        srcPath: '/automations_runtime',\n        destPath: '',\n      },\n    ],\n    _: [\n      {\n        srcPath: '/_api/automations_runtime',\n        destPath: '',\n      },\n    ],\n    '*.dev.wix-code.com': [\n      {\n        srcPath: '/_api/automations_runtime',\n        destPath: '',\n      },\n    ],\n  };\n\n  return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nfunction resolveWixAutomationsEsbResolverV1EsbConfigResolverUrl(\n  opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n  const domainToMappings = {\n    'manage._base_domain_': [\n      {\n        srcPath: '/_api/esb-config-resolver',\n        destPath: '',\n      },\n    ],\n    'www.wixapis.com': [\n      {\n        srcPath: '/automations/v1/events/report',\n        destPath: '/v1/events/report',\n      },\n      {\n        srcPath: '/automations/v1/events/bulk-report',\n        destPath: '/v1/events/bulk-report',\n      },\n      {\n        srcPath: '/automations/v1/events/cancel',\n        destPath: '/v1/events/cancel',\n      },\n      {\n        srcPath: '/automations/v1/events/bulk-cancel',\n        destPath: '/v1/events/bulk-cancel',\n      },\n    ],\n    'platform.rise.ai': [\n      {\n        srcPath: '/workflows/v1/events/report',\n        destPath: '/v1/events/report',\n      },\n    ],\n    '*.dev.wix-code.com': [\n      {\n        srcPath: '/automations/v1/events/bulk-cancel',\n        destPath: '/v1/events/bulk-cancel',\n      },\n      {\n        srcPath: '/automations/v1/events/bulk-report',\n        destPath: '/v1/events/bulk-report',\n      },\n      {\n        srcPath: '/automations/v1/events/report',\n        destPath: '/v1/events/report',\n      },\n      {\n        srcPath: '/automations/v1/events/cancel',\n        destPath: '/v1/events/cancel',\n      },\n    ],\n    _: [\n      {\n        srcPath: '/automations/v1/events/bulk-cancel',\n        destPath: '/v1/events/bulk-cancel',\n      },\n      {\n        srcPath: '/automations/v1/events/cancel',\n        destPath: '/v1/events/cancel',\n      },\n      {\n        srcPath: '/automations/v1/events/report',\n        destPath: '/v1/events/report',\n      },\n      {\n        srcPath: '/automations/v1/events/bulk-report',\n        destPath: '/v1/events/bulk-report',\n      },\n    ],\n  };\n\n  return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_automations_activations';\n\n/**\n * Reports an event and activates site automations with the specified trigger key.\n *\n *\n * Only the app that created a trigger can report events for it.\n * This means other apps can't report events for your triggers,\n * and you can't report events for another app's triggers.\n *\n * If your app supports canceling events,\n * `externalEntityId` must be provided.\n * `externalEntityId` is required when calling [cancelEvent()](#cancel-event).\n */\nexport function reportEvent(payload: object): RequestOptionsFactory<any> {\n  function __reportEvent({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.automations.v2.activation',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.automations.esb.resolver.v1.EsbConfigResolver.ReportEvent',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixAutomationsEsbResolverV1EsbConfigResolverUrl({\n        protoPath: '/v1/events/report',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __reportEvent;\n}\n\n/** Bulk reports events and activates site automations with the specified trigger key. */\nexport function bulkReportEvent(payload: object): RequestOptionsFactory<any> {\n  function __bulkReportEvent({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.automations.v2.activation',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.automations.esb.resolver.v1.EsbConfigResolver.BulkReportEvent',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixAutomationsEsbResolverV1EsbConfigResolverUrl({\n        protoPath: '/v1/events/bulk-report',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __bulkReportEvent;\n}\n\n/** Bulk cancels any remaining actions for a trigger and external entities. */\nexport function bulkCancelEvent(payload: object): RequestOptionsFactory<any> {\n  function __bulkCancelEvent({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.automations.v2.activation',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.automations.esb.resolver.v1.EsbConfigResolver.BulkCancelEvent',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixAutomationsEsbResolverV1EsbConfigResolverUrl({\n        protoPath: '/v1/events/bulk-cancel',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __bulkCancelEvent;\n}\n\n/**\n * Cancels any remaining actions for a trigger and external entity.\n *\n *\n * Events are not cancelable by default.\n * To make an event cancelable,\n * you must first pass an `externalEntityId`\n * and the applicable `triggerKey` to [reportEvent()](#report-event).\n * When you call cancelEvent() with the same `externalEntityId` and `triggerKey`,\n * the event is canceled,\n * as are all other events that share the `externalEntityId` and `triggerKey`.\n */\nexport function cancelEvent(payload: object): RequestOptionsFactory<any> {\n  function __cancelEvent({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.automations.v2.activation',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.automations.esb.resolver.v1.EsbConfigResolver.CancelEvent',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixAutomationsEsbResolverV1EsbConfigResolverUrl({\n        protoPath: '/v1/events/cancel',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __cancelEvent;\n}\n\n/** Rerun an automation using a previous activation's payload. */\nexport function rerunActivation(payload: object): RequestOptionsFactory<any> {\n  function __rerunActivation({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.automations.v2.activation',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.automations.esb.resolver.v1.EsbConfigResolver.RerunActivation',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixAutomationsEsbResolverV1EsbConfigResolverUrl({\n        protoPath: '/v1/events/rerun-activation',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __rerunActivation;\n}\n\n/**\n * > **Note**: Call this method when using the [Action Provider service plugin](https://dev.wix.com/docs/api-reference/business-management/automations/actions/action-provider-service-plugin/introduction) to run an action with a timeout.\n *\n * Reports to Wix that your action has completed.\n *\n * When Wix calls [Invoke](https://dev.wix.com/docs/api-reference/business-management/automations/actions/action-provider-service-plugin/invoke) to run your [action that has a timeout](https://dev.wix.com/docs/api-reference/business-management/automations/actions/action-provider-service-plugin/introduction#action-timeouts), it pauses the automation until you call this method or until the timeout period ends. If your action has an [output schema](https://dev.wix.com/docs/api-reference/business-management/automations/actions/about-actions#the-output-schema), include your action's results.\n *\n * If you don't call this method in the timeout period, Wix [marks the action as failed](https://support.wix.com/en/article/wix-automations-understanding-run-logs#understanding-statuses) and continues to the next step in the automation. Subsequent actions may fail if they rely on your action's output.\n */\nexport function reportActionInvocationCompleted(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __reportActionInvocationCompleted({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.automations.v2.activation',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wixpress.esb.runtime.EsbRuntimeService.ReportActionInvocationCompleted',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressEsbRuntimeEsbRuntimeServiceUrl({\n        protoPath: '/v1/report-action-invocation-completed',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __reportActionInvocationCompleted;\n}\n","export interface Activation {\n  /**\n   * Activation ID\n   * @format GUID\n   */\n  id?: string;\n  /** Activation automation */\n  automation?: Automation;\n  /** Activation Initiation Source information */\n  activationInitiationSourceInfo?: ActivationInitiationSourceInfo;\n}\n\nexport interface Automation extends AutomationOriginInfoOneOf {\n  /** When the origin of the automation is `APPLICATION`, the details of the app that created it. */\n  applicationInfo?: ApplicationOrigin;\n  /** When the origin of the automation is `PREINSTALLED`, the details of the preinstalled automation. */\n  preinstalledInfo?: PreinstalledOrigin;\n  /**\n   * Automation ID.\n   * @format GUID\n   * @readonly\n   */\n  id?: string | null;\n  /**\n   * Revision number. This increments by 1 whenever the automation is updated. Specify the current revision number whenever updating an existing automation.\n   * @readonly\n   */\n  revision?: string | null;\n  /**\n   * Who created the automation.\n   * @immutable\n   * @readonly\n   */\n  createdBy?: AuditInfo;\n  /**\n   * When the automation was created.\n   * @readonly\n   */\n  createdDate?: Date | null;\n  /**\n   * Who last updated the automation.\n   * @readonly\n   */\n  updatedBy?: AuditInfo;\n  /**\n   * When the automation was last updated.\n   * @readonly\n   */\n  updatedDate?: Date | null;\n  /**\n   * Automation name as displayed on the user's site.\n   * @minLength 1\n   * @maxLength 500\n   */\n  name?: string;\n  /**\n   * Automation description.\n   * @maxLength 2000\n   */\n  description?: string | null;\n  /** Automation configuration. */\n  configuration?: AutomationConfiguration;\n  /**\n   * How the automation was added to the user's site.\n   * @immutable\n   */\n  origin?: OriginWithLiterals;\n  /** Automation settings. Applied only for pre-installed and application automations. Not applied to User origin automations */\n  settings?: AutomationSettings;\n  /**\n   * When the automation is a draft, the draft details.\n   * @readonly\n   */\n  draftInfo?: DraftInfo;\n  /**\n   * Whether the automation is archived.\n   *\n   * To archive an automation, set this to `true`. To restore an archived automation, set this to `false`.\n   */\n  archived?: boolean;\n  /** Auto archive policy */\n  autoArchivePolicy?: AutoArchivePolicy;\n}\n\n/** @oneof */\nexport interface AutomationOriginInfoOneOf {\n  /** When the origin of the automation is `APPLICATION`, the details of the app that created it. */\n  applicationInfo?: ApplicationOrigin;\n  /** When the origin of the automation is `PREINSTALLED`, the details of the preinstalled automation. */\n  preinstalledInfo?: PreinstalledOrigin;\n}\n\nexport interface AIMetadata {\n  /**\n   * Origin agent identifier.\n   * @minLength 1\n   * @maxLength 64\n   */\n  originAgentIdentifier?: string | null;\n}\n\nexport interface ActionSettings {\n  /**\n   * IDs of actions whose `skipActionExpression` can't be modified.\n   *\n   * An action's `skipActionExpression` determines whether the action is skipped. Including an action's ID in this array makes its `skipActionExpression` permanent, so it can't be changed.\n   *\n   * When empty, the `skipActionExpression` of all actions can be edited.\n   * @maxSize 30\n   * @format GUID\n   */\n  permanentActionIds?: string[];\n  /**\n   * IDs of read-only actions. Read-only actions cannot be modified.\n   *\n   * When empty and the automation's `settings.readonly` is `false`, all actions are modifiable.\n   * @maxSize 30\n   * @format GUID\n   */\n  readonlyActionIds?: string[];\n}\n\nexport enum Domain {\n  /** User domain (default). */\n  USER = 'USER',\n  /** Wix domain. */\n  WIX = 'WIX',\n  /** Wix account-level domain. */\n  WIX_ACCOUNT = 'WIX_ACCOUNT',\n}\n\n/** @enumType */\nexport type DomainWithLiterals = Domain | 'USER' | 'WIX' | 'WIX_ACCOUNT';\n\nexport interface TriggerSettings {}\n\nexport interface Enrichment {\n  /**\n   * Enrichment input mappings.\n   * @maxSize 2\n   */\n  inputMappings?: Record<string, any>[] | null;\n}\n\nexport interface AuditInfo extends AuditInfoIdOneOf {\n  /**\n   * [User ID](https://dev.wix.com/docs/build-apps/get-started/overview/glossary#user-id).\n   * @format GUID\n   */\n  userId?: string;\n  /**\n   * [App ID](https://dev.wix.com/docs/build-apps/get-started/overview/glossary#app-id).\n   *\n   * You can find the app ID on the [Home page](https://manage.wix.com/app-selector?title=Select+an+App&primaryButtonText=Select+Site&actionUrl=https%3A%2F%2Fdev.wix.com%2Fapps%2F%7BappId%7D%home) in the app's dashboard.\n   * @format GUID\n   */\n  appId?: string;\n}\n\n/** @oneof */\nexport interface AuditInfoIdOneOf {\n  /**\n   * [User ID](https://dev.wix.com/docs/build-apps/get-started/overview/glossary#user-id).\n   * @format GUID\n   */\n  userId?: string;\n  /**\n   * [App ID](https://dev.wix.com/docs/build-apps/get-started/overview/glossary#app-id).\n   *\n   * You can find the app ID on the [Home page](https://manage.wix.com/app-selector?title=Select+an+App&primaryButtonText=Select+Site&actionUrl=https%3A%2F%2Fdev.wix.com%2Fapps%2F%7BappId%7D%home) in the app's dashboard.\n   * @format GUID\n   */\n  appId?: string;\n}\n\nexport interface AutomationConfiguration {\n  /** Status of the automation on the site. */\n  status?: AutomationConfigurationStatusWithLiterals;\n  /** Trigger configuration. */\n  trigger?: Trigger;\n  /**\n   * Root action IDs. A root action is the first action that runs after the trigger occurs. Root actions run in parallel.\n   *\n   * > **Note**: You can currently only specify 1 root action.\n   * @maxSize 20\n   * @format GUID\n   */\n  rootActionIds?: string[];\n  /** Actions the automation can execute, as `key:value` pairs. For the key, specify the action ID. The value must be an object structured as described below. */\n  actions?: Record<string, AutomationConfigurationAction>;\n}\n\nexport enum TimeUnit {\n  /** Minutes. */\n  MINUTES = 'MINUTES',\n  /** Hours. */\n  HOURS = 'HOURS',\n  /** Days. */\n  DAYS = 'DAYS',\n  /** Weeks. */\n  WEEKS = 'WEEKS',\n  /** Months. */\n  MONTHS = 'MONTHS',\n}\n\n/** @enumType */\nexport type TimeUnitWithLiterals =\n  | TimeUnit\n  | 'MINUTES'\n  | 'HOURS'\n  | 'DAYS'\n  | 'WEEKS'\n  | 'MONTHS';\n\nexport interface Filter {\n  /**\n   * Filter ID.\n   * @format GUID\n   */\n  id?: string;\n  /**\n   * Field key.\n   *\n   * You can find the field key in [the trigger payload schema](https://dev.wix.com/docs/rest/business-management/automations/triggers/the-trigger-payload-schema).\n   * @minLength 1\n   * @maxLength 110\n   */\n  fieldKey?: string;\n  /**\n   * Filter expression in bracket notation.\n   *\n   * For the automation to run, the expression must evaluate to `true`.\n   * @maxLength 5000\n   */\n  filterExpression?: string;\n}\n\nexport interface FutureDateActivationOffset {\n  /**\n   * Amount of time before the trigger to run the automation.\n   *\n   * > **Note**: To delay an automation after the trigger event occurs, use a [delay action](https://dev.wix.com/docs/rest/business-management/automations/automations/automations-v2/configure-your-automation#delay-action).\n   * @maxLength 1000\n   */\n  preScheduledEventOffsetExpression?: string;\n  /** Unit in which to set the action offset. */\n  scheduledEventOffsetTimeUnit?: TimeUnitWithLiterals;\n}\n\nexport interface RateLimit {\n  /**\n   * Maximum number of times the trigger can be activated.\n   * @maxLength 1000\n   */\n  maxActivationsExpression?: string;\n  /**\n   * Duration of the rate limit. The rate limit applies for the specified duration and then expires.\n   *\n   * When empty, the rate limit does not expire.\n   * @maxLength 1000\n   */\n  durationExpression?: string | null;\n  /** Unit in which to set the duration of the rate limit. */\n  durationTimeUnit?: TimeUnitWithLiterals;\n  /**\n   * Activation identifier used to count the number of activations.\n   * @minLength 1\n   * @maxLength 400\n   */\n  uniqueIdentifierExpression?: string | null;\n}\n\nexport interface FilterValueSelection {\n  /**\n   * Values that can help the user filter certain automations. Specify values in the following format: `<filter_id>__<selected_value>`.\n   * @maxLength 80\n   * @maxSize 50\n   */\n  selectedFilterValues?: string[];\n}\n\nexport interface ConditionExpressionGroup {\n  /** Logical operator used to evaluate the condition expressions. */\n  operator?: OperatorWithLiterals;\n  /**\n   * Expressions evaluated using the selected operator.\n   * @minSize 1\n   * @maxSize 20\n   * @maxLength 5000\n   */\n  booleanExpressions?: string[];\n}\n\nexport enum Operator {\n  /** `OR` operator. */\n  OR = 'OR',\n  /** `AND` operator. */\n  AND = 'AND',\n}\n\n/** @enumType */\nexport type OperatorWithLiterals = Operator | 'OR' | 'AND';\n\nexport interface ActionCodeSnippet {\n  /** Logical operator used to evaluate the condition expressions. */\n  language?: CodeSnippetLanguageWithLiterals;\n  /**\n   * Expressions evaluated using the selected operator. this code should comply the language syntax. and format\n   * @maxLength 1500\n   */\n  code?: string;\n}\n\nexport enum CodeSnippetLanguage {\n  /** JavaScript. */\n  JAVASCRIPT = 'JAVASCRIPT',\n}\n\n/** @enumType */\nexport type CodeSnippetLanguageWithLiterals =\n  | CodeSnippetLanguage\n  | 'JAVASCRIPT';\n\n/** Path definition */\nexport interface SplitActionPath {\n  /**\n   * Unique path ID.\n   * @format GUID\n   */\n  id?: string;\n  /**\n   * Path name.\n   * @minLength 1\n   * @maxLength 100\n   */\n  name?: string;\n  /**\n   * ID of the action to run when this path is taken.\n   * @format GUID\n   */\n  postActionId?: string | null;\n  /**\n   * Editable display name for the path.\n   * @minLength 1\n   * @maxLength 60\n   */\n  displayName?: string | null;\n}\n\nexport enum Type {\n  /** Defined by a [Wix app](https://dev.wix.com/docs/rest/business-management/automations/automations/automations-v2/configure-your-automation#app-defined-action). This action type is available in the site dashboard. */\n  APP_DEFINED = 'APP_DEFINED',\n  /**\n   * Condition action. Evaluates a condition to determine which action runs next.\n   *\n   * Learn more about [adding and setting up conditions](https://support.wix.com/en/article/the-new-automation-builder-understanding-conditions-operators) in Wix Automations.\n   *\n   * > **Note**: When `skipActionExpression` evaluates to `true`, the actions in `conditionInfo.truePostActionIds` run and those in `conditionInfo.falsePostActionIds` are skipped.\n   */\n  CONDITION = 'CONDITION',\n  /**\n   * Code condition action. Evaluates custom code to determine which action runs next.\n   *\n   * Learn more about [adding and setting up conditions](https://support.wix.com/en/article/the-new-automation-builder-understanding-conditions-operators) in Wix Automations.\n   *\n   * > **Note**: When `skipActionExpression` evaluates to `true`, the actions in `codeConditionInfo.truePostActionIds` run and those in `codeConditionInfo.falsePostActionIds` are skipped.\n   */\n  CODE_CONDITION = 'CODE_CONDITION',\n  /** Delay. The automation must wait before executing the next step. */\n  DELAY = 'DELAY',\n  /** Rate-limiter. This stops the automation flow if the subsequent action has reached its maximum allowed executions. */\n  RATE_LIMIT = 'RATE_LIMIT',\n}\n\n/** @enumType */\nexport type TypeWithLiterals =\n  | Type\n  | 'APP_DEFINED'\n  | 'CONDITION'\n  | 'CODE_CONDITION'\n  | 'DELAY'\n  | 'RATE_LIMIT';\n\nexport interface AppDefinedAction {\n  /**\n   * ID of the app that defines the action.\n   * @format GUID\n   */\n  appId?: string;\n  /**\n   * Action key.\n   * @minLength 1\n   * @maxLength 100\n   */\n  actionKey?: string;\n  /**\n   * Action input mapping as defined in the action's [input schema](https://dev.wix.com/docs/rest/business-management/automations/actions/the-action-input-schema).\n   *\n   * The input mapping must include all parameters specified in the action's input schema's `required` array, and can include any other parameters from the schema.\n   */\n  inputMapping?: Record<string, any> | null;\n  /**\n   * Action skip conditions. An action is skipped if any of the specified conditions evaluates to `true`.\n   *\n   * > **Note**: Actions that follow a skipped action still run.\n   * @maxSize 10\n   * @deprecated Action skip conditions. An action is skipped if any of the specified conditions evaluates to `true`.\n   *\n   * > **Note**: Actions that follow a skipped action still run.\n   * @replacedBy skip_action_expression\n   * @targetRemovalDate 2026-02-01\n   */\n  skipConditionOrExpressionGroups?: ConditionExpressionGroup[];\n  /**\n   * IDs of actions that run in parallel after the action completes.\n   * @maxSize 1\n   * @format GUID\n   */\n  postActionIds?: string[];\n  /** Action output schema. When specified, this replaces the action schema. */\n  overrideOutputSchema?: Record<string, any> | null;\n}\n\nexport interface ConditionAction {\n  /**\n   * Condition is `true` if one or more of the expression groups evaluates to `true`.\n   * @minSize 1\n   * @maxSize 10\n   */\n  orExpressionGroups?: ConditionExpressionGroup[];\n  /**\n   * IDs of actions to run when the condition evaluates to `true`.\n   * @maxSize 1\n   * @format GUID\n   */\n  truePostActionIds?: string[];\n  /**\n   * IDs of actions to run when the condition evaluates to `false`.\n   * @maxSize 1\n   * @format GUID\n   */\n  falsePostActionIds?: string[];\n  /**\n   * ID of the MERGE action for this condition. When absent, branches run independently (current behavior).\n   * @format GUID\n   */\n  mergeActionId?: string | null;\n}\n\nexport interface CodeConditionAction {\n  /** condition code. This is a code that can be used to identify the condition in the automation. code should return a boolean value. otherwise the value will be tried to be casted to boolean. */\n  snippet?: ActionCodeSnippet;\n  /**\n   * dynamic variables used in the code snippet. these variables can be used inside the code using var('variableName') function.\n   * this list is mainly for validation purpose.\n   * @maxSize 50\n   * @maxLength 100\n   */\n  dynamicVariableExpressions?: string[];\n  /**\n   * IDs of actions to run when the condition evaluates to `true`.\n   * @maxSize 1\n   * @format GUID\n   */\n  truePostActionIds?: string[];\n  /**\n   * IDs of actions to run when the condition evaluates to `false`.\n   * @maxSize 1\n   * @format GUID\n   */\n  falsePostActionIds?: string[];\n  /**\n   * ID of the MERGE action for this condition. When absent, branches run independently (current behavior).\n   * @format GUID\n   */\n  mergeActionId?: string | null;\n}\n\nexport interface DelayAction {\n  /**\n   * Time to wait before running the action. The wait time starts from when the current action completes.\n   *\n   * > **Note**: To define the wait time from a specific moment in time, use `dueDateExpression`.\n   * @maxLength 1000\n   */\n  offsetExpression?: string | null;\n  /** Unit in which to set the wait time to wait before the action runs. */\n  offsetTimeUnit?: TimeUnitWithLiterals;\n  /**\n   * Action run date in milliseconds elapsed since January 1, 1970 UTC.\n   *\n   * > **Note**: If an `offsetExpression` is defined, the delay is calculated from the time of the offset.\n   * @maxLength 1000\n   * @deprecated Action run date in milliseconds elapsed since January 1, 1970 UTC.\n   *\n   * > **Note**: If an `offsetExpression` is defined, the delay is calculated from the time of the offset.\n   * @replacedBy due_date_expression\n   * @targetRemovalDate 2026-02-01\n   */\n  dueDateEpochExpression?: string | null;\n  /**\n   * Action run date as a timestamp or DateTime expression using bracket notation.\n   *\n   * > **Note**: If an `offsetExpression` is defined, the delay is calculated from the time of the offset.\n   * @maxLength 1000\n   */\n  dueDateExpression?: string | null;\n  /**\n   * IDs of actions to run in parallel after the time delay.\n   * @maxSize 1\n   * @format GUID\n   */\n  postActionIds?: string[];\n}\n\nexport interface RateLimitAction {\n  /**\n   * Maximum number of times the action can run.\n   * @maxLength 1000\n   */\n  maxActivationsExpression?: string;\n  /**\n   * Rate limit duration.\n   *\n   * When empty, the rate limit does not expire.\n   * @maxLength 1000\n   */\n  rateLimitDurationExpression?: string | null;\n  /** Unit in which to set the duration of the rate limit. */\n  rateLimitDurationTimeUnit?: TimeUnitWithLiterals;\n  /**\n   * Unique identifier of each activation by which rate limiter counts activations.\n   * @minLength 1\n   * @maxLength 400\n   */\n  uniqueIdentifierExpression?: string | null;\n  /**\n   * IDs of actions to run in parallel after the action completes.\n   * @maxSize 1\n   * @format GUID\n   */\n  postActionIds?: string[];\n}\n\nexport interface SetVariablesAction {\n  /** Output mapping. For example: `{\"someField\": \"{{10}}\", \"someOtherField\": \"{{multiply( var('account.points.balance') ;2 )}}\" }`. */\n  outputMapping?: Record<string, any> | null;\n  /**\n   * Output JSON schema representation.\n   *\n   * > **Note**: To minimize request size, you can also specify a string.\n   */\n  outputSchema?: Record<string, any> | null;\n  /**\n   * IDs of actions to run in parallel after variable initialization.\n   * @maxSize 1\n   * @format GUID\n   */\n  postActionIds?: string[];\n}\n\nexport interface OutputAction {\n  /** Output action output mapping. */\n  outputMapping?: Record<string, any> | null;\n}\n\nexport interface ActionSplitAction {\n  /**\n   * List of paths to split execution into.\n   * @minSize 2\n   * @maxSize 10\n   */\n  paths?: SplitActionPath[];\n}\n\nexport interface MergeAction {\n  /**\n   * ID of the action to execute after the arriving branch completes.\n   * @format GUID\n   */\n  postActionId?: string | null;\n}\n\nexport enum AutomationConfigurationStatus {\n  /** Active. Active automations can be triggered. */\n  ACTIVE = 'ACTIVE',\n  /** Inactive. Inactive automations cannot be triggered. */\n  INACTIVE = 'INACTIVE',\n}\n\n/** @enumType */\nexport type AutomationConfigurationStatusWithLiterals =\n  | AutomationConfigurationStatus\n  | 'ACTIVE'\n  | 'INACTIVE';\n\nexport interface Trigger {\n  /**\n   * ID of the app that defines the trigger.\n   * @format GUID\n   */\n  appId?: string;\n  /**\n   * Trigger key.\n   *\n   * Learn about [setting up a trigger](https://dev.wix.com/docs/rest/business-management/automations/triggers/add-a-trigger-to-your-app#step-1--set-up-the-trigger).\n   * @minLength 1\n   * @maxLength 100\n   */\n  triggerKey?: string;\n  /**\n   * Schema field filters. All filter conditions must be met for the automation to run.\n   *\n   * Learn more about setting up [automation filters](https://dev.wix.com/docs/rest/business-management/automations/automations/automations-v2/configure-your-automation#filters).\n   * @maxSize 5\n   */\n  filters?: Filter[];\n  /**\n   * Automation offset. You can schedule automations to run before the trigger occurs.\n   *\n   * Learn more about [scheduled events](https://dev.wix.com/docs/rest/business-management/automations/automations/automations-v2/configure-your-automation#scheduled-events).\n   */\n  scheduledEventOffset?: FutureDateActivationOffset;\n  /** Limit on the number of times an automation can be triggered. */\n  rateLimit?: RateLimit;\n  /** Trigger schema override. When specified, this replaces the trigger schema. */\n  overrideSchema?: Record<string, any> | null;\n}\n\nexport interface AutomationConfigurationAction\n  extends AutomationConfigurationActionInfoOneOf {\n  /** Details of the action whose `type` is `APP_DEFINED`. */\n  appDefinedInfo?: AppDefinedAction;\n  /** Details of the action whose `type` is `CONDITION`. */\n  conditionInfo?: ConditionAction;\n  /** Details of the action whose `type` is `CODE_CONDITION`. */\n  codeConditionInfo?: CodeConditionAction;\n  /** Details of the action whose `type` is `DELAY`. */\n  delayInfo?: DelayAction;\n  /** Details of the action whose `type` is `RATE_LIMIT`. */\n  rateLimitInfo?: RateLimitAction;\n  /**\n   * Action ID.\n   *\n   * Unique identifier for the action instance in the current automation. Use this to refer to this action in the automation flow.\n   *\n   * If not specified, automatically generated by Wix.\n   * @format GUID\n   */\n  id?: string | null;\n  /** [Action type](https://dev.wix.com/docs/rest/business-management/automations/automations/automations-v2/configure-your-automation#action-type). */\n  type?: TypeWithLiterals;\n  /**\n   * Editable display name for the action.\n   * @minLength 1\n   * @maxLength 60\n   */\n  displayName?: string | null;\n  /**\n   * [Action namespace](https://dev.wix.com/docs/rest/business-management/automations/automations/automations-v2/configure-your-automation#namespace). This differentiates it from other actions of the same type.\n   *\n   * If the action outputs any data, the data appears under the namespace in the payload sent to the subsequent steps in the automation. If the user has multiple actions with the same `appId` and `actionKey`, the output of the previous action is overwritten.\n   * @minLength 1\n   * @maxLength 100\n   */\n  namespace?: string | null;\n  /**\n   * Evaluated to determine whether the action is skipped. When evaluated to `true`, the action is skipped. Otherwise, the action runs.\n   *\n   * When empty, the action runs.\n   * @maxLength 1000\n   */\n  skipActionExpression?: string | null;\n}\n\n/** @oneof */\nexport interface AutomationConfigurationActionInfoOneOf {\n  /** Details of the action whose `type` is `APP_DEFINED`. */\n  appDefinedInfo?: AppDefinedAction;\n  /** Details of the action whose `type` is `CONDITION`. */\n  conditionInfo?: ConditionAction;\n  /** Details of the action whose `type` is `CODE_CONDITION`. */\n  codeConditionInfo?: CodeConditionAction;\n  /** Details of the action whose `type` is `DELAY`. */\n  delayInfo?: DelayAction;\n  /** Details of the action whose `type` is `RATE_LIMIT`. */\n  rateLimitInfo?: RateLimitAction;\n}\n\nexport interface FilterableAppDefinedActions {\n  /**\n   * App-defined action identifiers. Identifiers have the following format: `${appId}_${actionKey}`.\n   * @minSize 1\n   * @maxSize 100\n   * @minLength 1\n   * @maxLength 150\n   */\n  actionIdentifiers?: string[];\n}\n\nexport enum Origin {\n  /** Created by a [Wix user](https://dev.wix.com/docs/build-apps/get-started/overview/glossary#wix-user). */\n  USER = 'USER',\n  /** Created by a [Wix app](https://dev.wix.com/docs/build-apps/get-started/overview/glossary#wix-app) for a particular site. */\n  APPLICATION = 'APPLICATION',\n  /** [Preinstalled automation](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/automations/pre-installed-automations/about-pre-installed-automations). */\n  PREINSTALLED = 'PREINSTALLED',\n}\n\n/** @enumType */\nexport type OriginWithLiterals =\n  | Origin\n  | 'USER'\n  | 'APPLICATION'\n  | 'PREINSTALLED';\n\nexport interface ApplicationOrigin {\n  /**\n   * [App ID](https://dev.wix.com/docs/build-apps/get-started/overview/glossary#app-id).\n   *\n   * You can find the app ID on the [Home page](https://manage.wix.com/app-selector?title=Select+an+App&primaryButtonText=Select+Site&actionUrl=https%3A%2F%2Fdev.wix.com%2Fapps%2F%7BappId%7D%home) in the app's dashboard.\n   * @format GUID\n   */\n  appId?: string;\n}\n\nexport interface PreinstalledOrigin {\n  /**\n   * ID of the app that added the [preinstalled automation](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/automations/pre-installed-automations/about-pre-installed-automations).\n   * @format GUID\n   */\n  appId?: string;\n  /**\n   * Whether the automation is an override.\n   *\n   * When a user modifies the preinstalled automation installed on their site, a site-specific version of the automation is created that overrides the automation that was originally installed. This override automation has the same automation ID as the original preinstalled automation.\n   *\n   * > **Note**: An override automation can no longer be updated by the app that originally installed it.\n   * >\n   * > To revert to the original preinstalled version, the user must delete the override by calling the Delete Automation method. Calling Delete Automation on an override automation removes the override method and restores the preinstalled automation that was previously installed.\n   *\n   * Default: `false`.\n   * @immutable\n   * @readonly\n   */\n  override?: boolean | null;\n}\n\nexport interface AutomationSettings {\n  /**\n   * Whether the automation is hidden from users.\n   *\n   * Default: `false`\n   */\n  hidden?: boolean;\n  /**\n   * Whether the automation is read-only.\n   *\n   * When `true`, site owners can't modify the automation or any of its actions. When `false`, users can configure specific actions as skippable or read-only using `settings.actionSettings`.\n   *\n   * Default: `false`.\n   *\n   * > **Note**: Setting `readOnly` to `true` overrides `settings.actionSettings`.\n   */\n  readonly?: boolean;\n  /**\n   * Whether to disable the option to delete the automation from the site.\n   *\n   * Default: `false`.\n   */\n  disableDelete?: boolean;\n  /**\n   * Whether to disable the option to change the automation's `configuration.status`.\n   *\n   * Default: `false`.\n   */\n  disableStatusChange?: boolean;\n  /** Automation action settings. */\n  actionSettings?: ActionSettings;\n}\n\nexport interface DraftInfo {\n  /**\n   * ID of the original automation.\n   * @format GUID\n   * @readonly\n   */\n  originalAutomationId?: string | null;\n}\n\nexport interface Enrichments {\n  /** Whether the studio site enrichment is wanted. */\n  studioSite?: Enrichment;\n}\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 AutoArchivePolicy {\n  /**\n   * Date when to archive the automation\n   * If this date in the past, nothing will happen (automation will not go into archived state)\n   * If this date in the future, on this date the automation will be updated with archived = true and configuration.status = INACTIVE\n   * After this date the automation may be unarchived and archived again, this date will have no influence\n   */\n  archiveDate?: Date | null;\n}\n\nexport interface Notes {}\n\nexport interface Note {}\n\nexport interface Position {}\n\nexport interface Offset {}\n\nexport interface Dimensions {}\n\n/** Activation initiation source with additional details based on origin. */\nexport interface ActivationInitiationSourceInfo\n  extends ActivationInitiationSourceInfoInitiationSourceInfoOneOf {\n  /** Details for MANUAL_ACTIVATION source. */\n  manualActivationInfo?: ManualActivationInfo;\n  /** Details for RERUN_ACTIVATION source. */\n  rerunActivationInfo?: RerunActivationInfo;\n  /** The source type of this activation. */\n  activationInitiationSource?: ActivationInitiationSourceWithLiterals;\n  /** Information about the user who initiated the activation. */\n  initiatorInfo?: InitiatorInfo;\n}\n\n/** @oneof */\nexport interface ActivationInitiationSourceInfoInitiationSourceInfoOneOf {\n  /** Details for MANUAL_ACTIVATION source. */\n  manualActivationInfo?: ManualActivationInfo;\n  /** Details for RERUN_ACTIVATION source. */\n  rerunActivationInfo?: RerunActivationInfo;\n}\n\n/**\n * Source types for automation activation.\n * This enum may be extended in the future to support additional activation origins.\n */\nexport enum ActivationInitiationSource {\n  /**\n   * Activation triggered by a provider event (e.g., reportEvent, bulkReportEvent).\n   * The automation runs in response to a business event. Uses published automations only.\n   */\n  TRIGGER_PROVIDER_EVENT = 'TRIGGER_PROVIDER_EVENT',\n  /**\n   * Activation triggered by manual execution (e.g., testAutomation, ReRunAutomation).\n   * Explicitly initiated by user or API caller with explicit payload.\n   */\n  MANUAL_ACTIVATION = 'MANUAL_ACTIVATION',\n  /** Activation triggered by re-running a previous activation. */\n  RERUN_ACTIVATION = 'RERUN_ACTIVATION',\n}\n\n/** @enumType */\nexport type ActivationInitiationSourceWithLiterals =\n  | ActivationInitiationSource\n  | 'TRIGGER_PROVIDER_EVENT'\n  | 'MANUAL_ACTIVATION'\n  | 'RERUN_ACTIVATION';\n\n/** Additional information for manual automation activations. */\nexport interface ManualActivationInfo {\n  /**\n   * Whether this activation is running in test mode.\n   *\n   * In test mode:\n   * - Draft automations can be executed\n   * - Certain actions may be skipped (e.g., delays, rate limits)\n   * - Used primarily for testing automations before publication\n   *\n   * Default: false (standard production mode)\n   */\n  testMode?: boolean;\n}\n\n/** Additional information for rerun activation operations. */\nexport interface RerunActivationInfo {\n  /**\n   * The activation ID of the original activation being rerun.\n   * @format GUID\n   */\n  originalActivationId?: string;\n  /** When true, delay actions will be skipped during the rerun. */\n  skipDelays?: boolean;\n}\n\n/** Information about the user who initiated an activation. */\nexport interface InitiatorInfo {\n  /**\n   * The user ID of the initiator.\n   * @format GUID\n   */\n  initiatorUserId?: string | null;\n  /** Whether the initiating user is a Wix employee. */\n  wixEmployee?: boolean | null;\n}\n\nexport interface ActivationStatusChanged\n  extends ActivationStatusChangedStatusInfoOneOf {\n  /** Initiated status information */\n  initiatedInfo?: InitiatedStatusInfo;\n  /** Started status information */\n  startedInfo?: ActivationStatusChangedStartedStatusInfo;\n  /** Scheduled status information */\n  scheduledInfo?: ScheduledStatusInfo;\n  /** Cancelled status information */\n  cancelledInfo?: CancelledStatusInfo;\n  /** Failed status information */\n  failedInfo?: ActivationStatusChangedFailedStatusInfo;\n  /** Skipped status information */\n  skippedInfo?: SkippedStatusInfo;\n  /** Activation */\n  activation?: Activation;\n  /** Activation status */\n  status?: ActivationStatusChangedStatusWithLiterals;\n  /** Change event created date */\n  statusChangedDate?: Date | null;\n}\n\n/** @oneof */\nexport interface ActivationStatusChangedStatusInfoOneOf {\n  /** Initiated status information */\n  initiatedInfo?: InitiatedStatusInfo;\n  /** Started status information */\n  startedInfo?: ActivationStatusChangedStartedStatusInfo;\n  /** Scheduled status information */\n  scheduledInfo?: ScheduledStatusInfo;\n  /** Cancelled status information */\n  cancelledInfo?: CancelledStatusInfo;\n  /** Failed status information */\n  failedInfo?: ActivationStatusChangedFailedStatusInfo;\n  /** Skipped status information */\n  skippedInfo?: SkippedStatusInfo;\n}\n\nexport enum Target {\n  SCHEDULE = 'SCHEDULE',\n  IMMEDIATE = 'IMMEDIATE',\n}\n\n/** @enumType */\nexport type TargetWithLiterals = Target | 'SCHEDULE' | 'IMMEDIATE';\n\nexport enum CancellationReason {\n  /** Indicates that the activation was cancelled directly. */\n  EVENT_CANCELLED = 'EVENT_CANCELLED',\n  /** Indicates that the activation was cancelled because the automation was deactivated. */\n  AUTOMATION_DEACTIVATED = 'AUTOMATION_DEACTIVATED',\n  /** Indicates that the activation was cancelled because the automation was deleted. */\n  AUTOMATION_DELETED = 'AUTOMATION_DELETED',\n  /** Indicates that the activation was cancelled after the automation schedule time was reached. */\n  CANCELLED_BY_REFRESH_PAYLOAD = 'CANCELLED_BY_REFRESH_PAYLOAD',\n  /** Indicates that the activation was cancelled due to a UoU GDPR \"Right to be Forgotten\" request. */\n  CANCELLED_BY_GDPR_REQUEST = 'CANCELLED_BY_GDPR_REQUEST',\n}\n\n/** @enumType */\nexport type CancellationReasonWithLiterals =\n  | CancellationReason\n  | 'EVENT_CANCELLED'\n  | 'AUTOMATION_DEACTIVATED'\n  | 'AUTOMATION_DELETED'\n  | 'CANCELLED_BY_REFRESH_PAYLOAD'\n  | 'CANCELLED_BY_GDPR_REQUEST';\n\nexport interface Identity {\n  /**\n   * User ID\n   * @format GUID\n   */\n  userId?: string | null;\n  /**\n   * App ID\n   * @format GUID\n   */\n  appId?: string | null;\n}\n\nexport enum ErrorReason {\n  /** Unexpected error reason */\n  UNEXPECTED_ERROR_REASON = 'UNEXPECTED_ERROR_REASON',\n  /** Failed to evaluate the schedule date expression */\n  SCHEDULE_DATE_EVALUATION_FAILED = 'SCHEDULE_DATE_EVALUATION_FAILED',\n}\n\n/** @enumType */\nexport type ErrorReasonWithLiterals =\n  | ErrorReason\n  | 'UNEXPECTED_ERROR_REASON'\n  | 'SCHEDULE_DATE_EVALUATION_FAILED';\n\nexport enum SkipReason {\n  /** Activation was skipped because the scheduled execution time had already passed at the time of execution. */\n  SCHEDULE_DATE_EXPIRED = 'SCHEDULE_DATE_EXPIRED',\n  /** Activation was skipped because the trigger filters defined in the automation did not match the payload. */\n  TRIGGER_FILTERS_NOT_PASSED = 'TRIGGER_FILTERS_NOT_PASSED',\n  /** Activation was skipped because it exceeded the configured rate limit (maximum number of executions allowed in a time period). */\n  RATE_LIMIT_EXCEEDED = 'RATE_LIMIT_EXCEEDED',\n  /** Activation was skipped because an event with the same idempotency key was already processed. */\n  EVENT_ALREADY_PROCESSED = 'EVENT_ALREADY_PROCESSED',\n}\n\n/** @enumType */\nexport type SkipReasonWithLiterals =\n  | SkipReason\n  | 'SCHEDULE_DATE_EXPIRED'\n  | 'TRIGGER_FILTERS_NOT_PASSED'\n  | 'RATE_LIMIT_EXCEEDED'\n  | 'EVENT_ALREADY_PROCESSED';\n\nexport enum ActivationStatusChangedStatus {\n  /** Indicates that activation has not started yet and no actions have been executed. */\n  INITIATED = 'INITIATED',\n  /** Activation is in scheduled status when the automation has a future date or debounce defined and we're in the waiting stage and no actions have been executed. */\n  SCHEDULED = 'SCHEDULED',\n  /** Indicates the automation activation has started and is currently in progress. */\n  STARTED = 'STARTED',\n  /** Indicates all the automation actions were handled either by invoking them, skipping them, etc. */\n  ENDED = 'ENDED',\n  /** Indicates the activation was cancelled. */\n  CANCELLED = 'CANCELLED',\n  /**\n   * Indicates the activation failed to start.\n   * Note that failure in the activation of a single action will not result in a failure in activation of the entire automation.\n   */\n  FAILED = 'FAILED',\n  /**\n   * Indicates that the automation activation was skipped without executing any actions.\n   * Note that an activation will either be skipped immediately or move to INITIATED state.\n   */\n  SKIPPED = 'SKIPPED',\n}\n\n/** @enumType */\nexport type ActivationStatusChangedStatusWithLiterals =\n  | ActivationStatusChangedStatus\n  | 'INITIATED'\n  | 'SCHEDULED'\n  | 'STARTED'\n  | 'ENDED'\n  | 'CANCELLED'\n  | 'FAILED'\n  | 'SKIPPED';\n\nexport interface Metadata {\n  /**\n   * Identity field keys that are collected from the trigger payload schema, including contact and member ids\n   * @maxSize 100\n   * @maxLength 100\n   */\n  identityFieldKeys?: string[];\n}\n\nexport interface InitiatedStatusInfo {\n  /** Activation target */\n  target?: TargetWithLiterals;\n  /** Event payload */\n  payload?: Record<string, any> | null;\n  /**\n   * External entity ID\n   * @maxLength 40\n   */\n  externalEntityId?: string | null;\n  /**\n   * Unique identifier for the request that initiated the automation\n   * @maxLength 100\n   */\n  requestId?: string;\n}\n\nexport interface ActivationStatusChangedStartedStatusInfo {\n  /** Enriched and refreshed payload */\n  payload?: Record<string, any> | null;\n}\n\nexport interface ScheduledStatusInfo {\n  /**\n   * Schedule identifier\n   * @format GUID\n   */\n  scheduleId?: string;\n  /** Indicates when the activation should start */\n  date?: Date | null;\n}\n\nexport interface CancelledStatusInfo {\n  /** Cancellation reason */\n  reason?: CancellationReasonWithLiterals;\n  /** Identity (such as user, app, etc.) that caused the cancellation. */\n  initiator?: Identity;\n}\n\nexport interface ActivationStatusChangedFailedStatusInfo {\n  /**\n   * Error description\n   * @maxLength 1000\n   * @readonly\n   */\n  errorDescription?: string;\n  /**\n   * Error code\n   * @maxLength 20\n   * @readonly\n   */\n  errorCode?: string | null;\n  /** Error reason */\n  errorReason?: ErrorReasonWithLiterals;\n  /** Event payload */\n  payload?: Record<string, any> | null;\n  /**\n   * External entity ID\n   * @maxLength 40\n   */\n  externalEntityId?: string | null;\n  /**\n   * Unique identifier for the request that initiated the automation\n   * @maxLength 100\n   */\n  requestId?: string | null;\n}\n\nexport interface SkippedStatusInfo {\n  /** The reason why the automation activation was skipped */\n  reason?: SkipReasonWithLiterals;\n  /** Event payload */\n  payload?: Record<string, any> | null;\n  /**\n   * External entity ID\n   * @maxLength 40\n   */\n  externalEntityId?: string | null;\n  /**\n   * Unique identifier for the request that initiated the automation\n   * @maxLength 100\n   */\n  requestId?: string;\n}\n\nexport interface ScheduleRequest {\n  schedule?: Schedule;\n}\n\nexport interface Schedule {\n  /**\n   * @format GUID\n   * @readonly\n   */\n  id?: string | null;\n  /**\n   * doesn't have to be unique. example: triggerName+entityId\n   * @maxLength 300\n   */\n  identifier?: string;\n  /** @format GUID */\n  configurationCorrelationId?: string;\n  /** @format GUID */\n  activationId?: string;\n  scheduledAction?: ScheduledAction;\n  /** Raw domain event, not enriched */\n  eventPayload?: string;\n  scheduleStatus?: ScheduleStatusWithLiterals;\n  /** @readonly */\n  scheduleDate?: Date | null;\n  /** @readonly */\n  createdDate?: Date | null;\n  /** @readonly */\n  updatedDate?: Date | null;\n  overrideable?: boolean | null;\n  triggerInfo?: TriggerInfo;\n  automation?: Automation;\n}\n\nexport interface ScheduledAction {\n  /**\n   * Action's id.\n   * @format GUID\n   */\n  id?: string;\n  /** decide how long we should wait */\n  delay?: Delay;\n}\n\nexport interface Delay extends DelayOfOneOf {\n  simple?: SimpleDelay;\n  /**\n   * jsonata expression - sleep until the given date\n   * for example: $toMillis(MyObject.Date) + 2*1000*60*60*24) -> will schedule 2 days after MyObject.Date\n   * @maxLength 400\n   */\n  dateExpression?: string;\n}\n\n/** @oneof */\nexport interface DelayOfOneOf {\n  simple?: SimpleDelay;\n  /**\n   * jsonata expression - sleep until the given date\n   * for example: $toMillis(MyObject.Date) + 2*1000*60*60*24) -> will schedule 2 days after MyObject.Date\n   * @maxLength 400\n   */\n  dateExpression?: string;\n}\n\nexport interface SimpleDelay {\n  value?: number;\n  units?: UnitsWithLiterals;\n  /**\n   * Optional, used if provided: Jsonata expression that evaluates to a number of milliseconds to wait\n   * @maxLength 300\n   */\n  delayExpression?: string | null;\n}\n\nexport enum Units {\n  UNKNOWN = 'UNKNOWN',\n  MINUTES = 'MINUTES',\n  HOURS = 'HOURS',\n  DAYS = 'DAYS',\n}\n\n/** @enumType */\nexport type UnitsWithLiterals =\n  | Units\n  | 'UNKNOWN'\n  | 'MINUTES'\n  | 'HOURS'\n  | 'DAYS';\n\nexport enum ScheduleStatus {\n  UNKNOWN_SCHEDULE_STATUS = 'UNKNOWN_SCHEDULE_STATUS',\n  PENDING = 'PENDING',\n  CANCELLED = 'CANCELLED',\n  DONE = 'DONE',\n  MIGRATED = 'MIGRATED',\n  /** esb configuration was deleted after the schedule was created */\n  ESB_CONFIGURATION_NOT_FOUND = 'ESB_CONFIGURATION_NOT_FOUND',\n  /** automation v3 was deleted after the schedule was created */\n  AUTOMATION_NOT_FOUND = 'AUTOMATION_NOT_FOUND',\n  METASITE_DELETED = 'METASITE_DELETED',\n  /** during the migration process we found duplicate schedules, and we want to give this status to those we discover that are duplicated and had already been migrated */\n  DUPLICATE = 'DUPLICATE',\n}\n\n/** @enumType */\nexport type ScheduleStatusWithLiterals =\n  | ScheduleStatus\n  | 'UNKNOWN_SCHEDULE_STATUS'\n  | 'PENDING'\n  | 'CANCELLED'\n  | 'DONE'\n  | 'MIGRATED'\n  | 'ESB_CONFIGURATION_NOT_FOUND'\n  | 'AUTOMATION_NOT_FOUND'\n  | 'METASITE_DELETED'\n  | 'DUPLICATE';\n\nexport interface TriggerInfo {\n  /**\n   * App id of the initial trigger.\n   * @format GUID\n   */\n  appId?: string;\n  /** Trigger key of the initial trigger. */\n  triggerKey?: string;\n}\n\nexport interface ScheduleResponse {\n  /** @format GUID */\n  id?: string;\n}\n\nexport interface CancelPendingScheduleRequest\n  extends CancelPendingScheduleRequestByOneOf {\n  /** @format GUID */\n  id?: string;\n  identifier?: string;\n  /** @format GUID */\n  configurationCorrelationId?: string;\n  /** @format GUID */\n  activationId?: string;\n  /**\n   * @minLength 1\n   * @maxLength 500\n   */\n  identifierPattern?: string;\n}\n\n/** @oneof */\nexport interface CancelPendingScheduleRequestByOneOf {\n  /** @format GUID */\n  id?: string;\n  identifier?: string;\n  /** @format GUID */\n  configurationCorrelationId?: string;\n  /** @format GUID */\n  activationId?: string;\n  /**\n   * @minLength 1\n   * @maxLength 500\n   */\n  identifierPattern?: string;\n}\n\nexport interface CancelPendingScheduleResponse {}\n\nexport interface UpdatePendingSchedulesPayloadRequest {\n  identifier?: string;\n  eventPayload?: string;\n}\n\nexport interface UpdatePendingSchedulesPayloadResponse {}\n\nexport interface GetScheduleRequest {\n  /** @format GUID */\n  id?: string;\n}\n\nexport interface GetScheduleResponse {\n  schedule?: Schedule;\n}\n\nexport interface UpdateScheduleStatusRequest {\n  /** @format GUID */\n  id?: string;\n  status?: ScheduleStatusWithLiterals;\n}\n\nexport interface UpdateScheduleStatusResponse {}\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  /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n  restoreInfo?: RestoreInfo;\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\nexport interface EntityDeletedEvent {\n  /** Entity that was deleted. */\n  deletedEntityAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n  bodyAsJson?: string;\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 ConsumeReportEventRequest {\n  /**\n   * Repeated list of event details for bulk reporting.\n   * @minSize 1\n   * @maxSize 100\n   */\n  eventsInfo?: EventInfo[];\n  /**\n   * trigger app id\n   * @format GUID\n   */\n  triggerAppId?: string;\n  /**\n   * trigger key\n   * @minLength 1\n   * @maxLength 100\n   */\n  triggerKey?: string;\n  /**\n   * Unique identifier for message-level idempotency in the consumer.\n   * @format GUID\n   */\n  executionId?: string | null;\n}\n\nexport interface EventInfo {\n  /**\n   * Event payload, formatted as key:value pairs.\n   * Must comply with the payload schema\n   * if you provided one when configuring your trigger.\n   */\n  payload?: Record<string, any> | null;\n  /**\n   * ID of the related resource in GUID format.\n   * @format GUID\n   */\n  externalEntityId?: string | null;\n  /** Idempotency information for the event. */\n  idempotency?: Idempotency;\n}\n\nexport interface Idempotency {\n  /**\n   * A unique identifier for the event.\n   * If you send the same idempotency key in multiple report event requests, for the same trigger key and app id,\n   * consecutive requests will be ignored after the first one. Note that the idempotency key is kept for a week before it expires.\n   * @minLength 1\n   * @maxLength 80\n   */\n  key?: string;\n  /**\n   * Optional. The time to live (TTL) in milliseconds before the key will expire. Default is a week.\n   * @min 1\n   */\n  ttlInMilliseconds?: string | null;\n}\n\nexport interface BatchActivationRequest {\n  /** List of Activation-Request. */\n  activationRequests?: ActivationRequest[];\n}\n\nexport interface ActivationRequest {\n  /**\n   * Activation's ID.\n   * @format GUID\n   */\n  activationId?: string;\n  /**\n   * Configuration's ID.\n   * @format GUID\n   */\n  configurationId?: string;\n  /** @format GUID */\n  configurationCorrelationId?: string;\n  /**\n   * Received event name.\n   * @maxLength 80\n   */\n  eventName?: string;\n  /**\n   * Received event slug.\n   * @maxLength 50\n   */\n  eventSlug?: string | null;\n  /** Received event payload. */\n  eventPayload?: string | null;\n  /** List of action data. */\n  actions?: ActionData[];\n  /**\n   * External ID.\n   * @format GUID\n   */\n  externalId?: string;\n  /** The source of this activation */\n  source?: ActivationSource;\n  /** Actions tree */\n  actionsMap?: ActionsData;\n  /** Automation V2. Used for reporting domain event until activation request will be deprecated. */\n  automation?: Automation;\n  /** Trigger entity for the activation, available for v2 and v3 automations only */\n  triggerSchema?: Record<string, any> | null;\n  /** Information about the source that initiated this activation (event-driven vs manual/test mode). */\n  activationInitiationSourceInfo?: ActivationInitiationSourceInfo;\n}\n\nexport interface Runtime {}\n\nexport interface Scheduler {\n  scheduleId?: string | null;\n}\n\nexport interface AsyncAction {}\n\nexport interface ActionData {\n  /**\n   * Action's id.\n   * @format GUID\n   * @readonly\n   */\n  id?: string | null;\n  /** Action's data. */\n  action?: Action;\n}\n\nexport interface Action extends ActionActionOneOf {\n  service?: Service;\n  systemHelper?: SystemHelper;\n  spiAction?: SpiAction;\n}\n\n/** @oneof */\nexport interface ActionActionOneOf {\n  service?: Service;\n  systemHelper?: SystemHelper;\n  spiAction?: SpiAction;\n}\n\nexport interface ServiceMapping {\n  /** Sevice name. */\n  name?: string;\n  /** Method name. */\n  method?: string;\n}\n\nexport interface IfFilter {\n  /** If filter's condition. */\n  condition?: string;\n  /** If's true post actions. */\n  truePostActions?: ActionData[];\n  /** If's false post actions. */\n  falsePostActions?: ActionData[];\n  /**\n   * If's true post actions ids.\n   * @maxSize 20\n   */\n  truePostActionsIds?: string[];\n  /**\n   * If's false post actions ids.\n   * @maxSize 20\n   */\n  falsePostActionsIds?: string[];\n}\n\nexport interface SwitchFilter {\n  /** Switch's filter cases. */\n  cases?: Case[];\n}\n\nexport interface Case {\n  /** Case's condition. */\n  condition?: any;\n  /** Case's post actions. */\n  postActions?: ActionData[];\n  /**\n   * Case's post actions ids.\n   * @maxSize 20\n   */\n  postActionsIds?: string[];\n}\n\nexport interface DelayHelper {\n  /** jsonata expression, for example: triggerName + eventId */\n  scheduleIdentifier?: string;\n  /** decide how long we should wait */\n  delay?: Delay;\n  /** Delay's post actions. */\n  postActions?: ActionData[];\n  /**\n   * Optional: if true, any new schedule with the same schedule identifier will override the existing one.\n   * If false, the new schedule will be ignored.\n   */\n  overrideable?: boolean | null;\n  /**\n   * Delay's post actions ids.\n   * @maxSize 20\n   */\n  postActionsIds?: string[];\n  /**\n   * Optional expression to determine whether the action should be skipped\n   * @maxLength 1000\n   */\n  skipConditionExpression?: string | null;\n}\n\nexport interface RateLimiting {\n  /** The maximum number of activations allowed in the given time frame */\n  maxNumOfActivations?: number;\n  /**\n   * Optional, used if provided: A jsonata expression that evaluates to the maximum number of activations allowed in the given time frame\n   * @maxLength 300\n   */\n  maxNumOfActivationsExpression?: string | null;\n  /** If given - the time frame in minutes, otherwise, for life */\n  timeFrameInMinutes?: number | null;\n  /**\n   * Optional, used if provided - A jsonata expression that evaluates to the time frame in minutes, otherwise, for life\n   * @maxLength 300\n   */\n  timeFrameInMinutesExpression?: string | null;\n  /**\n   * The jsonata to use to extract the entity/resource key from the enriched event payload\n   * @maxLength 1000\n   */\n  keyJsonata?: string;\n  /**\n   * The actions to perform if this rate limiting action succeeded - meaning we are still in the allowed number of activations in the given time frame\n   * @maxSize 9999\n   */\n  postActions?: ActionData[];\n  /**\n   * The ids of actions to perform if this rate limiting action succeeded - meaning we are still in the allowed number of activations in the given time frame\n   * @maxSize 20\n   */\n  postActionsIds?: string[];\n  /**\n   * Optional expression to determine whether the action should be skipped\n   * @maxLength 1000\n   */\n  skipConditionExpression?: string | null;\n}\n\nexport interface ConditionFilter {\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  /** Actions to perform when condition_blocks evaluates to `true`. */\n  postActions?: ActionData[];\n  /**\n   * Action's post actions ids.\n   * @maxSize 20\n   */\n  postActionsIds?: string[];\n  /**\n   * Actions to perform when condition_blocks evaluates to `false`.\n   * @maxSize 2000\n   */\n  elsePostActions?: ActionData[];\n  /**\n   * Optional expression to determine whether the action should be skipped\n   * @maxLength 1000\n   */\n  skipConditionExpression?: 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 CodeConditionFilter {\n  /** Code Snippet */\n  snippet?: CodeSnippet;\n  /**\n   * Actions to perform when condition_blocks evaluates to `true`.\n   * @maxSize 2000\n   */\n  postActions?: ActionData[];\n  /**\n   * Action's post actions ids.\n   * @format GUID\n   * @maxSize 20\n   */\n  postActionsIds?: string[];\n  /**\n   * Actions to perform when condition_blocks evaluates to `false`.\n   * @maxSize 2000\n   */\n  elsePostActions?: ActionData[];\n  /**\n   * Optional expression to determine whether the action should be skipped\n   * @maxLength 1000\n   */\n  skipConditionExpression?: string | null;\n}\n\nexport interface CodeSnippet {\n  /** Logical operator used to evaluate the condition expressions. */\n  language?: LanguageWithLiterals;\n  /**\n   * Expressions evaluated using the selected operator.\n   * @maxLength 1500\n   */\n  code?: string;\n}\n\nexport enum Language {\n  /** `JAVASCRIPT` language. */\n  JAVASCRIPT = 'JAVASCRIPT',\n}\n\n/** @enumType */\nexport type LanguageWithLiterals = Language | 'JAVASCRIPT';\n\nexport interface Output {\n  /**\n   * The jsonata to use to produce the output\n   * @minLength 1\n   * @maxLength 5000\n   */\n  outputMapping?: string;\n}\n\nexport interface SetVariables {\n  /**\n   * Action's output mapping.\n   * Jsonata expressions to set variables\n   * for example: { \"var1\": \"$average([10,20])\", \"var2\": \"$number($lookup($, $decodeUrlComponent(\\\"var1\\\"))) >= $number(8)\"\" }\n   * @minLength 1\n   * @maxLength 5000\n   */\n  outputMapping?: string;\n  /**\n   * Action's post actions.\n   * @maxSize 20\n   */\n  postActions?: ActionData[];\n  /**\n   * Action's post actions ids.\n   * @format GUID\n   * @maxSize 20\n   */\n  postActionsIds?: string[];\n  /**\n   * The namespace of the action\n   * @minLength 1\n   * @maxLength 100\n   */\n  namespace?: string | null;\n  /** Json Schema for the output mapping */\n  outputSchema?: Record<string, any> | null;\n  /**\n   * Optional expression to determine whether the action should be skipped\n   * @maxLength 1000\n   */\n  skipConditionExpression?: string | null;\n}\n\nexport interface SplitAction {\n  /**\n   * Sequence of paths for parallel execution\n   * @minSize 2\n   * @maxSize 10\n   */\n  paths?: Path[];\n}\n\nexport interface Path {\n  /**\n   * Path ID\n   * @format GUID\n   */\n  id?: string;\n  /**\n   * Path name\n   * @minLength 1\n   * @maxLength 100\n   */\n  name?: string | null;\n  /**\n   * Post action to execute in this path (optional)\n   * @format GUID\n   */\n  postActionId?: string | null;\n  /** post action to execute in this path */\n  postAction?: ActionData;\n}\n\nexport interface Service {\n  /** Action's service mapping. */\n  serviceMapping?: ServiceMapping;\n  /**\n   * Action's input mapping.\n   * Jsonata description of the input this service gets.\n   */\n  inputMapping?: string | null;\n  /**\n   * Action's output mapping.\n   * Jsonata description of the output this service returns.\n   */\n  outputMapping?: string | null;\n  /** Action's post actions. */\n  postActions?: ActionData[];\n  /**\n   * Action's post actions ids.\n   * @maxSize 20\n   */\n  postActionsIds?: string[];\n  /**\n   * The namespace of the action\n   * @minLength 1\n   * @maxLength 100\n   */\n  namespace?: string | null;\n}\n\nexport interface SystemHelper extends SystemHelperHelperOneOf {\n  ifFilter?: IfFilter;\n  switchFilter?: SwitchFilter;\n  delay?: DelayHelper;\n  rateLimiting?: RateLimiting;\n  conditionFilter?: ConditionFilter;\n  codeConditionFilter?: CodeConditionFilter;\n  output?: Output;\n  setVariables?: SetVariables;\n  split?: SplitAction;\n}\n\n/** @oneof */\nexport interface SystemHelperHelperOneOf {\n  ifFilter?: IfFilter;\n  switchFilter?: SwitchFilter;\n  delay?: DelayHelper;\n  rateLimiting?: RateLimiting;\n  conditionFilter?: ConditionFilter;\n  codeConditionFilter?: CodeConditionFilter;\n  output?: Output;\n  setVariables?: SetVariables;\n  split?: SplitAction;\n}\n\nexport interface SpiAction {\n  /** The App Def Id of the action provider */\n  appDefId?: string;\n  /** Identifier for this action - human readable action key - unique per app def id */\n  actionKey?: string;\n  /** The configuration of the user for this action, can include params that are taken from the trigger event payload */\n  userActionConfig?: string | null;\n  /** The post action to execute after this action */\n  postActions?: ActionData[];\n  /** The output configuration of the user for this action, can include params that are taken from the trigger event payload */\n  userOutputActionConfig?: string | null;\n  /**\n   * optional skip condition expression for current action\n   * decides whether to skip the action before executing it's post actions\n   * @maxLength 1000\n   */\n  skipConditionExpression?: string | null;\n  /**\n   * Action's post actions ids.\n   * @maxSize 20\n   */\n  postActionsIds?: string[];\n  /**\n   * The namespace of the action\n   * @minLength 1\n   * @maxLength 100\n   */\n  namespace?: string | null;\n}\n\nexport interface ActivationSource extends ActivationSourceOfOneOf {\n  runtime?: Runtime;\n  scheduler?: Scheduler;\n  asyncAction?: AsyncAction;\n}\n\n/** @oneof */\nexport interface ActivationSourceOfOneOf {\n  runtime?: Runtime;\n  scheduler?: Scheduler;\n  asyncAction?: AsyncAction;\n}\n\nexport interface ActionsData {\n  /**\n   * Ids of the first level actions.\n   * @maxSize 20\n   */\n  rootActionIds?: string[];\n  /** Map of action id to action data. */\n  actions?: Record<string, Action>;\n}\n\nexport interface ScheduleActivationRequested {\n  /**\n   * Activation identifier\n   * @format GUID\n   * @immutable\n   */\n  id?: string;\n  /**\n   * Optional - external entity id that this activation is related to\n   * @format GUID\n   * @immutable\n   */\n  externalEntityId?: string | null;\n  /**\n   * Activation payload\n   * @immutable\n   */\n  payload?: Record<string, any> | null;\n  /**\n   * Activation Automation\n   * @immutable\n   */\n  automation?: Automation;\n  /**\n   * Activation schedule date\n   * @immutable\n   */\n  scheduleDate?: Date | null;\n  /**\n   * Information about the source that initiated this activation (event-driven vs manual/test mode)\n   * @immutable\n   */\n  activationInitiationSourceInfo?: ActivationInitiationSourceInfo;\n}\n\nexport interface ActivationContinuedAfterSchedule {\n  /**\n   * Activation identifier\n   * @format GUID\n   */\n  id?: string;\n  /** Activation Automation */\n  automation?: Automation;\n}\n\nexport interface ReportEventRequest {\n  /**\n   * Trigger key as defined in your app's trigger configuration\n   * in the app dashboard.\n   * For example, `form_submitted` or `invoice_due`.\n   * @minLength 1\n   * @maxLength 100\n   */\n  triggerKey: string;\n  /**\n   * Event payload, formatted as key:value pairs.\n   * Must comply with the payload schema\n   * if you provided one when configuring your trigger.\n   *\n   * Key names can include only alphanumeric characters or underscores\n   * (`A-Z`, `a-z`, `0-9`, `_`).\n   * They cannot start with an underscore.\n   *\n   * Values can be strings, numbers, integers, booleans, or arrays.\n   * If a value is an array, the array items must be objects,\n   * and nested object properties must be\n   * strings, numbers, integers, or booleans only.\n   */\n  payload?: Record<string, any> | null;\n  /**\n   * ID of the related resource in GUID format.\n   * For example, `fc81a355-3429-50fc-a4c7-def486e828f3`.\n   *\n   * Required if your app needs to\n   * [cancel the event](https://dev.wix.com/docs/rest/business-management/automations/triggered-events/cancel-event)\n   * if the automation becomes no longer relevant.\n   *\n   * Typically, this ID is defined in your system,\n   * but you can also use any Wix resource GUID,\n   * such as contact ID, member ID, or invoice ID.\n   * See\n   * [Choose the right `externalEntityId`](https://dev.wix.com/docs/rest/business-management/automations/triggered-events/reporting-and-canceling-events#about-canceling-events)\n   * for more information.\n   * @format GUID\n   */\n  externalEntityId?: string | null;\n  /** Idempotency information for the event. */\n  idempotency?: Idempotency;\n}\n\nexport interface ReportEventResponse {\n  /**\n   * The activation IDs of triggered ReportEvents.\n   * Deprecated: This field is being removed. Activation IDs are no longer returned in responses.\n   * Will be removed on 2026-06-30.\n   * @maxSize 100\n   * @format GUID\n   * @deprecated\n   * @targetRemovalDate 2026-06-30\n   */\n  activationIds?: string[];\n}\n\nexport interface BulkReportEventRequest {\n  /**\n   * Trigger key as defined in your app's trigger configuration\n   * in the app dashboard.\n   * For example, `form_submitted` or `invoice_due`.\n   * @minLength 1\n   * @maxLength 100\n   */\n  triggerKey: string;\n  /**\n   * Repeated list of event details for bulk reporting.\n   * @minSize 1\n   * @maxSize 100\n   */\n  eventsInfo: EventInfo[];\n}\n\nexport interface BulkReportEventResponse {\n  /**\n   * Trigger key associated with the event.\n   * @minLength 1\n   * @maxLength 100\n   */\n  triggerKey?: string;\n  /** List of results for each item in the bulk report event request. */\n  results?: BulkReportEventResult[];\n  /** Metadata for the overall bulk action, including success and failure counts. */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkReportEventResult {\n  /** Metadata for the individual item in the request. */\n  itemMetadata?: ItemMetadata;\n  /** Event details for the item in the request. */\n  eventInfo?: EventInfo;\n  /**\n   * The activation IDs of triggered ReportEvents.\n   * Deprecated: This field is being removed. Activation IDs are no longer returned in bulk operations.\n   * Will be removed on 2026-06-30.\n   * @maxSize 100\n   * @format GUID\n   * @deprecated\n   * @targetRemovalDate 2026-06-30\n   */\n  activationIds?: string[];\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 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 BulkCancelEventRequest {\n  /**\n   * Trigger key whose events you want to cancel.\n   * For example, `form_submitted` or `invoice_due`.\n   * @minLength 1\n   * @maxLength 100\n   */\n  triggerKey: string;\n  /**\n   * Repeated list of external_entity_id, representing the related resources' IDs.\n   * @format GUID\n   * @minSize 1\n   * @maxSize 100\n   */\n  externalEntityIds: string[];\n}\n\nexport interface BulkCancelEventResponse {\n  /**\n   * Trigger key related to the canceled event.\n   * @minLength 1\n   * @maxLength 100\n   */\n  triggerKey?: string;\n  /** List of results for each item in the bulk cancel event request. */\n  results?: BulkCancelEventResult[];\n  /** Metadata for the overall bulk action, including success and failure counts. */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkCancelEventResult {\n  /** Metadata of the item, including its ID and success or failure status. */\n  itemMetadata?: ItemMetadata;\n  /**\n   * ID of the related resource in GUID format.\n   * @format GUID\n   */\n  externalEntityId?: string;\n}\n\nexport interface CancelEventRequest {\n  /**\n   * ID of the related resource in GUID format.\n   * For example, `fc81a355-3429-50fc-a4c7-def486e828f3`.\n   *\n   * Typically, this ID is defined in your system,\n   * but you can also use any Wix resource GUID,\n   * such as contact ID, member ID, or invoice ID.\n   * See\n   * [Choose the right `externalEntityId`](https://dev.wix.com/docs/rest/business-management/automations/triggered-events/reporting-and-canceling-events#choose-the-right-externalentityid)\n   * for more information.\n   * @format GUID\n   */\n  externalEntityId: string;\n  /**\n   * Trigger key whose event you want to cancel.\n   * For example, `form_submitted` or `invoice_due`.\n   * @minLength 1\n   * @maxLength 100\n   */\n  triggerKey: string;\n}\n\nexport interface CancelEventResponse {}\n\nexport interface V1RunAutomationRequest\n  extends V1RunAutomationRequestIdentifierOneOf {\n  /** a preinstalled automation identifier */\n  preinstalledIdentifier?: PreinstalledIdentifier;\n  /** a automation of any type identifier that will be available in future */\n  automationIdentifier?: AutomationIdentifier;\n  /**\n   * identifier MUST be either AUTOMATION or PREINSTALLED\n   * @immutable\n   */\n  identifierType?: IdentifierTypeWithLiterals;\n  /**\n   * Event payload, formatted as key:value pairs.\n   * Must comply with the payload schema\n   * if you provided one when configuring your trigger.\n   *\n   * Key names can include only alphanumeric characters or underscores\n   * (`A-Z`, `a-z`, `0-9`, `_`).\n   * They cannot start with an underscore.\n   *\n   * Values can be strings, numbers, integers, booleans, or arrays.\n   * If a value is an array, the array items must be objects,\n   * and nested object properties must be\n   * strings, numbers, integers, or booleans only.\n   */\n  payload?: Record<string, any> | null;\n  /**\n   * When true, indicates this is a migration flow and should bypass\n   * the check for future dates that have already passed.\n   */\n  migrationFlow?: boolean;\n}\n\n/** @oneof */\nexport interface V1RunAutomationRequestIdentifierOneOf {\n  /** a preinstalled automation identifier */\n  preinstalledIdentifier?: PreinstalledIdentifier;\n  /** a automation of any type identifier that will be available in future */\n  automationIdentifier?: AutomationIdentifier;\n}\n\n/** Specifies how an automation is identified when invoking RunAutomation or TestAutomation endpoints. */\nexport enum IdentifierType {\n  /** Identifies a pre-installed automation by component ID and app ID. */\n  PREINSTALLED = 'PREINSTALLED',\n  /** Identifies a specific automation by its unique automation ID. */\n  AUTOMATION = 'AUTOMATION',\n}\n\n/** @enumType */\nexport type IdentifierTypeWithLiterals =\n  | IdentifierType\n  | 'PREINSTALLED'\n  | 'AUTOMATION';\n\nexport interface PreinstalledIdentifier {\n  /**\n   * identifier for the application of the preinstalled\n   * @format GUID\n   */\n  appId?: string;\n  /**\n   * application component id\n   * @format GUID\n   */\n  componentId?: string;\n}\n\nexport interface AutomationIdentifier {\n  /**\n   * automation id\n   * @format GUID\n   */\n  automationId?: string;\n}\n\nexport interface V1RunAutomationResponse {\n  /**\n   * Activation ID generated (for tracking)\n   * @format GUID\n   */\n  activationId?: string | null;\n}\n\n/** Test mode variant of RunAutomationRequest. */\nexport interface TestAutomationRequest\n  extends TestAutomationRequestIdentifierOneOf {\n  /** a preinstalled automation identifier */\n  preinstalledIdentifier?: PreinstalledIdentifier;\n  /** a automation of any type identifier that will be available in future */\n  automationIdentifier?: AutomationIdentifier;\n  /**\n   * identifier MUST be either AUTOMATION or PREINSTALLED\n   * @immutable\n   */\n  identifierType?: IdentifierTypeWithLiterals;\n  /**\n   * Event payload, formatted as key:value pairs.\n   * Must comply with the payload schema\n   * if you provided one when configuring your trigger.\n   *\n   * Key names can include only alphanumeric characters or underscores\n   * (`A-Z`, `a-z`, `0-9`, `_`).\n   * They cannot start with an underscore.\n   *\n   * Values can be strings, numbers, integers, booleans, or arrays.\n   * If a value is an array, the array items must be objects,\n   * and nested object properties must be\n   * strings, numbers, integers, or booleans only.\n   */\n  payload?: Record<string, any> | null;\n}\n\n/** @oneof */\nexport interface TestAutomationRequestIdentifierOneOf {\n  /** a preinstalled automation identifier */\n  preinstalledIdentifier?: PreinstalledIdentifier;\n  /** a automation of any type identifier that will be available in future */\n  automationIdentifier?: AutomationIdentifier;\n}\n\nexport interface TestAutomationResponse {\n  /**\n   * Activation ID generated (for tracking)\n   * @format GUID\n   */\n  activationId?: string | null;\n}\n\n/** Request to rerun an automation using a previous activation's payload. */\nexport interface RerunActivationRequest {\n  /**\n   * The activation ID whose payload will be used for the rerun.\n   * @format GUID\n   */\n  activationId: string;\n  /** Options controlling execution behavior. */\n  options?: RunOptions;\n}\n\n/** Options that control how an automation activation is executed. */\nexport interface RunOptions {\n  /** When true, delay actions will be skipped (similar to test mode behavior). */\n  skipDelays?: boolean;\n}\n\nexport interface RerunActivationResponse {\n  /**\n   * Activation ID generated (for tracking)\n   * @format GUID\n   */\n  activationId?: string | null;\n}\n\nexport interface ReportDomainEventRequest {\n  /**\n   * trigger app id\n   * @format GUID\n   */\n  triggerAppId?: string;\n  /** report event request */\n  reportEventRequest?: ReportEventRequest;\n}\n\nexport interface ReportDomainEventResponse {}\n\nexport interface ReportAccountLevelEventRequest {\n  /** report event request */\n  reportEventRequest?: ReportEventRequest;\n}\n\nexport interface ReportAccountLevelEventResponse {}\n\nexport interface ExecuteFromActionRequest {\n  /**\n   * Requested action id\n   * @format GUID\n   */\n  actionId?: string;\n  /**\n   * Optional: an activation id to link this action to\n   * @format GUID\n   */\n  activationId?: string | null;\n  /** Activation payload */\n  payload?: Record<string, any> | null;\n  /**\n   * Configuration correlation id to run this action from\n   * @format GUID\n   */\n  configurationCorrelationId?: string;\n  /**\n   * Optional - schedule id that this action was scheduled from\n   * @format GUID\n   */\n  scheduleId?: string | null;\n  /**\n   * Optional - an external entity id that this execution is related to\n   * @format GUID\n   */\n  externalEntityId?: string | null;\n  /** Optional - Activation automation */\n  automation?: Automation;\n  /** Information about the source that initiated this activation (event-driven vs manual/test mode) */\n  activationInitiationSourceInfo?: ActivationInitiationSourceInfo;\n}\n\nexport interface ExecuteFromActionResponse {}\n\nexport interface ActivationScheduleCompleted {\n  /**\n   * Activation identifier\n   * @format GUID\n   */\n  id?: string;\n  /**\n   * Activation schedule identifier\n   * @format GUID\n   */\n  scheduleId?: string;\n  /** Activation schedule due date */\n  scheduleDate?: Date | null;\n  /** Activation payload */\n  payload?: Record<string, any> | null;\n  /** Activation Automation */\n  automation?: Automation;\n  /**\n   * Optional - external entity id that this activation is related to\n   * @format GUID\n   */\n  externalEntityId?: string | null;\n  /** Information about the source that initiated this activation (event-driven vs manual/test mode) */\n  activationInitiationSourceInfo?: ActivationInitiationSourceInfo;\n}\n\nexport interface Empty {}\n\nexport interface ActionRetryRequest {\n  /** The activation context */\n  activationContext?: ActivationContext;\n  /** The action to retry */\n  actionToRetryData?: ActionData;\n}\n\nexport interface ActivationContext {\n  /**\n   * Activation ID\n   * @format GUID\n   */\n  activationId?: string;\n  /**\n   * Action ID\n   * @format GUID\n   */\n  actionId?: string;\n  /**\n   * Configuration ID\n   * @format GUID\n   */\n  configurationId?: string;\n  /**\n   * Configuration Correlation ID\n   * @format GUID\n   */\n  configurationCorrelationId?: string;\n  /** name of the event. intended to keep backwards compatibility, probably not in use. */\n  eventName?: string;\n  /** Event slug, also probably not in use */\n  eventSlug?: string | null;\n  /** Enriched event payload */\n  enrichedEventPayload?: string;\n  /** Raw event payload */\n  rawEventPayload?: string;\n  /** Actions */\n  actions?: ActionData[];\n  /** Activation status */\n  activationStatus?: RuntimeStatusWithLiterals;\n  /** External ID */\n  externalId?: string;\n  /** Automation */\n  automationV2?: Automation;\n  /** Output */\n  output?: string | null;\n  /** trigger schema */\n  triggerSchema?: Record<string, any> | null;\n  /** Information about the source that initiated this activation (event-driven vs manual/test mode) */\n  activationInitiationSourceInfo?: ActivationInitiationSourceInfo;\n}\n\nexport enum RuntimeStatus {\n  UNKNOWN_STATUS = 'UNKNOWN_STATUS',\n  STARTED = 'STARTED',\n  ENDED = 'ENDED',\n  ERROR = 'ERROR',\n  SCHEDULED = 'SCHEDULED',\n  FROM_SCHEDULER = 'FROM_SCHEDULER',\n  RETRY = 'RETRY',\n  RESUMED = 'RESUMED',\n  PAUSED = 'PAUSED',\n  ACTION_SKIPPED = 'ACTION_SKIPPED',\n}\n\n/** @enumType */\nexport type RuntimeStatusWithLiterals =\n  | RuntimeStatus\n  | 'UNKNOWN_STATUS'\n  | 'STARTED'\n  | 'ENDED'\n  | 'ERROR'\n  | 'SCHEDULED'\n  | 'FROM_SCHEDULER'\n  | 'RETRY'\n  | 'RESUMED'\n  | 'PAUSED'\n  | 'ACTION_SKIPPED';\n\nexport interface ResumeAfterAsyncActionCompleted\n  extends ResumeAfterAsyncActionCompletedStatusInfoOneOf {\n  /** Success info */\n  successInfo?: SuccessInfo;\n  /** Fail info */\n  failureInfo?: FailureInfo;\n  /**\n   * External ID\n   * @format GUID\n   */\n  externalId?: string | null;\n  /** Payload */\n  payload?: Record<string, any> | null;\n  /** Automation */\n  automation?: Automation;\n  /**\n   * Activation ID\n   * @format GUID\n   */\n  activationId?: string;\n  /**\n   * Action ID\n   * @format GUID\n   */\n  actionId?: string;\n  /** Result status */\n  status?: StatusWithLiterals;\n  /** Information about the source that initiated this activation (event-driven vs manual/test mode) */\n  activationInitiationSourceInfo?: ActivationInitiationSourceInfo;\n}\n\n/** @oneof */\nexport interface ResumeAfterAsyncActionCompletedStatusInfoOneOf {\n  /** Success info */\n  successInfo?: SuccessInfo;\n  /** Fail info */\n  failureInfo?: FailureInfo;\n}\n\nexport enum Status {\n  /** Unknown action completion status. */\n  UNKNOWN_STATUS = 'UNKNOWN_STATUS',\n  /** Action completed successfully. */\n  SUCCESS = 'SUCCESS',\n  /** Action failed to complete. */\n  FAILURE = 'FAILURE',\n}\n\n/** @enumType */\nexport type StatusWithLiterals =\n  | Status\n  | 'UNKNOWN_STATUS'\n  | 'SUCCESS'\n  | 'FAILURE';\n\nexport interface SuccessInfo {\n  /** Your action's results as specified in its [output schema](https://dev.wix.com/docs/api-reference/business-management/automations/actions/about-actions#the-output-schema). */\n  result?: Record<string, any> | null;\n}\n\nexport interface FailureInfo {\n  /**\n   * Why the action failed.\n   * @maxLength 1000\n   */\n  errorDescription?: string;\n}\n\nexport interface ActivationActionStatusChanged\n  extends ActivationActionStatusChangedInfoOneOf,\n    ActivationActionStatusChangedStatusInfoOneOf {\n  /** App defined action info */\n  appDefinedInfo?: AppDefinedActionInfo;\n  /** Started status information */\n  startedInfo?: StartedStatusInfo;\n  /** Invoked status information */\n  invokedAsyncInfo?: InvokedAsyncStatusInfo;\n  /** Ended status information */\n  endedInfo?: EndedStatusInfo;\n  /** Failed status information */\n  failedInfo?: FailedStatusInfo;\n  /**\n   * Action ID\n   * @format GUID\n   */\n  id?: string;\n  /**\n   * Activation ID\n   * @format GUID\n   */\n  activationId?: string;\n  /**\n   * Automation info\n   * @deprecated Automation info\n   * @replacedBy automation\n   * @targetRemovalDate 2025-12-01\n   */\n  automationInfo?: AutomationInfo;\n  /** Action type */\n  type?: TypeWithLiterals;\n  /** Action attributes */\n  attributes?: ActionAttributes;\n  /** Activation automation */\n  automation?: Automation;\n  /**\n   * External entity ID\n   * @maxLength 40\n   */\n  externalEntityId?: string | null;\n  /** Event date */\n  statusChangedDate?: Date | null;\n  /** Action activation status */\n  status?: ActivationActionStatusChangedStatusWithLiterals;\n}\n\n/** @oneof */\nexport interface ActivationActionStatusChangedInfoOneOf {\n  /** App defined action info */\n  appDefinedInfo?: AppDefinedActionInfo;\n}\n\n/** @oneof */\nexport interface ActivationActionStatusChangedStatusInfoOneOf {\n  /** Started status information */\n  startedInfo?: StartedStatusInfo;\n  /** Invoked status information */\n  invokedAsyncInfo?: InvokedAsyncStatusInfo;\n  /** Ended status information */\n  endedInfo?: EndedStatusInfo;\n  /** Failed status information */\n  failedInfo?: FailedStatusInfo;\n}\n\nexport interface RetryInfo {}\n\nexport interface StartedStatusInfoAppDefinedActionInfo {\n  /** Action input */\n  input?: Record<string, any> | null;\n}\n\nexport interface StartedStatusInfoDelayActionInfo {\n  /** Indicates when this action becomes completed and the activation will move to the post actions */\n  date?: Date | null;\n}\n\nexport interface InvokedAsyncStatusInfoAppDefinedActionInfo {\n  /** Default action output, in case we reach the timeout before provider called complete action activation method */\n  output?: Record<string, any> | null;\n  /** Timeout date */\n  timeoutDate?: Date | null;\n}\n\nexport interface ExpressionEvaluationResult {\n  /** Indicates if the expression was evaluated to true or false */\n  passed?: boolean;\n  /** Indicates if there was an error in the evaluation process */\n  error?: boolean;\n}\n\nexport interface EndedStatusInfoAppDefinedActionInfo {\n  /** Output returned by the action implementer. */\n  output?: Record<string, any> | null;\n}\n\nexport interface ConditionActionInfo {\n  /** Indicates that the condition `if` clause evaluated to `true`. */\n  passed?: boolean;\n  /** Collects results per each expression evaluation that took place */\n  expressionResults?: Record<string, ExpressionEvaluationResult>;\n}\n\nexport interface CodeConditionActionInfo {\n  /** Indicates that the code condition `if` clause evaluated to `true`. */\n  passed?: boolean;\n}\n\nexport interface RateLimitActionInfo {\n  /** Indicates if the rate limiter passed (not reached the quota) */\n  passed?: boolean;\n}\n\nexport interface DelayActionInfo {\n  /** Enriched and refreshed payload */\n  payload?: Record<string, any> | null;\n}\n\nexport interface SetVariablesActionInfo {\n  /** Output returned after jsonata expression evaluation */\n  output?: Record<string, any> | null;\n}\n\nexport interface AutomationInfo extends AutomationInfoOriginInfoOneOf {\n  /** Application info */\n  applicationInfo?: ApplicationOrigin;\n  /** Preinstalled info */\n  preinstalledInfo?: PreinstalledOrigin;\n  /**\n   * Automation ID\n   * @format GUID\n   */\n  id?: string;\n  /** Origin type */\n  origin?: OriginWithLiterals;\n  /** Trigger info */\n  triggerInfo?: AutomationInfoTriggerInfo;\n}\n\n/** @oneof */\nexport interface AutomationInfoOriginInfoOneOf {\n  /** Application info */\n  applicationInfo?: ApplicationOrigin;\n  /** Preinstalled info */\n  preinstalledInfo?: PreinstalledOrigin;\n}\n\nexport interface AutomationInfoTriggerInfo {\n  /**\n   * Trigger app ID\n   * @format GUID\n   */\n  appId?: string;\n  /**\n   * Trigger key\n   * @minLength 1\n   * @maxLength 100\n   */\n  triggerKey?: string;\n}\n\nexport interface ActionAttributes {\n  /**\n   * Indicates if this action run is part of a retry attempt\n   * If it's not null, it's a retry action run\n   */\n  retry?: RetryInfo;\n}\n\nexport interface AppDefinedActionInfo {\n  /**\n   * Action app ID\n   * @format GUID\n   */\n  appId?: string;\n  /**\n   * Action key\n   * @minLength 1\n   * @maxLength 100\n   */\n  actionKey?: string;\n}\n\nexport enum ActivationActionStatusChangedStatus {\n  /**\n   * Indicates that action activation has started and is in progress.\n   * Relevant to action types: APP_DEFINED, DELAY.\n   */\n  STARTED = 'STARTED',\n  /** Indicates that async action was invoked and now waiting to be completed */\n  INVOKED_ASYNC = 'INVOKED_ASYNC',\n  /**\n   * Indicates that the action activation was completed without errors.\n   * Relevant to action types: APP_DEFINED, DELAY, CONDITION, RATE_LIMIT.\n   */\n  ENDED = 'ENDED',\n  /**\n   * Indicates that the action was skipped and post actions won't start.\n   * Relevant to action types: APP_DEFINED.\n   */\n  SKIPPED = 'SKIPPED',\n  /**\n   * Indicates that the action failed.\n   * Relevant to action types: APP_DEFINED, DELAY, RATE_LIMIT.\n   */\n  FAILED = 'FAILED',\n}\n\n/** @enumType */\nexport type ActivationActionStatusChangedStatusWithLiterals =\n  | ActivationActionStatusChangedStatus\n  | 'STARTED'\n  | 'INVOKED_ASYNC'\n  | 'ENDED'\n  | 'SKIPPED'\n  | 'FAILED';\n\nexport interface StartedStatusInfo extends StartedStatusInfoTypeInfoOneOf {\n  /** APP DEFINED action additional info */\n  appDefinedActionInfo?: StartedStatusInfoAppDefinedActionInfo;\n  /** Delay action additional info */\n  delayActionInfo?: StartedStatusInfoDelayActionInfo;\n}\n\n/** @oneof */\nexport interface StartedStatusInfoTypeInfoOneOf {\n  /** APP DEFINED action additional info */\n  appDefinedActionInfo?: StartedStatusInfoAppDefinedActionInfo;\n  /** Delay action additional info */\n  delayActionInfo?: StartedStatusInfoDelayActionInfo;\n}\n\nexport interface InvokedAsyncStatusInfo\n  extends InvokedAsyncStatusInfoTypeInfoOneOf {\n  /** APP DEFINED action additional info */\n  appDefinedActionInfo?: InvokedAsyncStatusInfoAppDefinedActionInfo;\n}\n\n/** @oneof */\nexport interface InvokedAsyncStatusInfoTypeInfoOneOf {\n  /** APP DEFINED action additional info */\n  appDefinedActionInfo?: InvokedAsyncStatusInfoAppDefinedActionInfo;\n}\n\nexport interface EndedStatusInfo extends EndedStatusInfoTypeInfoOneOf {\n  /** APP DEFINED action additional info */\n  appDefinedActionInfo?: EndedStatusInfoAppDefinedActionInfo;\n  /** Condition action additional info */\n  conditionActionInfo?: ConditionActionInfo;\n  /** Code Condition action additional info */\n  codeConditionActionInfo?: CodeConditionActionInfo;\n  /** Rate limit action additional info */\n  rateLimitActionInfo?: RateLimitActionInfo;\n  /** Delay action additional info */\n  delayActionInfo?: DelayActionInfo;\n  /** Set Variables action additional info */\n  setVariablesActionInfo?: SetVariablesActionInfo;\n}\n\n/** @oneof */\nexport interface EndedStatusInfoTypeInfoOneOf {\n  /** APP DEFINED action additional info */\n  appDefinedActionInfo?: EndedStatusInfoAppDefinedActionInfo;\n  /** Condition action additional info */\n  conditionActionInfo?: ConditionActionInfo;\n  /** Code Condition action additional info */\n  codeConditionActionInfo?: CodeConditionActionInfo;\n  /** Rate limit action additional info */\n  rateLimitActionInfo?: RateLimitActionInfo;\n  /** Delay action additional info */\n  delayActionInfo?: DelayActionInfo;\n  /** Set Variables action additional info */\n  setVariablesActionInfo?: SetVariablesActionInfo;\n}\n\nexport interface FailedStatusInfo {\n  /**\n   * Error description\n   * @maxLength 1000\n   */\n  errorDescription?: string;\n  /**\n   * Error code\n   * @maxLength 20\n   */\n  errorCode?: string | null;\n}\n\nexport interface ActivationResumeAfterDelay {\n  /**\n   * Activation identifier\n   * @format GUID\n   */\n  id?: string;\n  /**\n   * Activation schedule identifier\n   * @format GUID\n   */\n  scheduleId?: string;\n  /** Activation schedule due date */\n  scheduleDate?: Date | null;\n  /** Activation payload */\n  payload?: Record<string, any> | null;\n  /** Activation Automation */\n  automation?: Automation;\n  /**\n   * Scheduled action identifier - with the intent to execute that action's post actions\n   * @format GUID\n   */\n  scheduledActionId?: string;\n  /**\n   * Optional - external entity id that this activation is related to\n   * @format GUID\n   */\n  externalEntityId?: string | null;\n  /** Information about the source that initiated this activation (event-driven vs manual/test mode) */\n  activationInitiationSourceInfo?: ActivationInitiationSourceInfo;\n}\n\nexport interface ActionCompletedRequest {\n  /** The execution identifier that was given to the spi provider when we invoked the action */\n  executionIdentifier?: string;\n  /** The result of invoking the action. Must conform to the output schema configured by the action provider. */\n  result?: Record<string, any> | null;\n}\n\nexport interface RefreshPayloadRequest {\n  /**\n   * Application definition ID.\n   * @format GUID\n   */\n  appDefId?: string;\n  /** Trigger key. */\n  triggerKey?: string;\n  /** Payload to refresh. */\n  payload?: Record<string, any> | null;\n  /**\n   * External entity ID.\n   * @format GUID\n   */\n  externalEntityId?: string | null;\n}\n\nexport interface RefreshPayloadResponse {\n  /** Updated payload. */\n  payload?: Record<string, any> | null;\n  /** If the automation activation should be canceled (default is false) */\n  cancelActivation?: boolean | null;\n}\n\nexport interface RunAutomationRequest {\n  /**\n   * App of the automation trigger\n   * @format GUID\n   */\n  appId?: string;\n  /**\n   * Trigger key of the action\n   * @minLength 1\n   * @maxLength 100\n   */\n  triggerKey?: string;\n  /** Payload of the triggered event */\n  triggerPayload?: Record<string, any> | null;\n  /**\n   * Specific automation id to run\n   * @format GUID\n   */\n  automationId?: string;\n  /** Schema of the trigger */\n  triggerSchema?: Record<string, any> | null;\n  /** Skip retry mechanism. If set to true, we will not retry the automations actions in case of a retryable error. */\n  skipRetry?: boolean | null;\n}\n\nexport interface RunAutomationResponse {\n  /** Automation activation output payload */\n  output?: Record<string, any> | null;\n}\n\nexport interface RunPreinstalledAutomationRequest {\n  /**\n   * Component ID of the preinstalled automation\n   * @format GUID\n   */\n  componentId?: string;\n  /** Payload of the triggered event */\n  triggerPayload?: Record<string, any> | null;\n}\n\nexport interface RunPreinstalledAutomationResponse {}\n\nexport interface ReportActionInvocationCompletedRequest\n  extends ReportActionInvocationCompletedRequestStatusInfoOneOf {\n  /** When the `status` is `SUCCESS`, your action's results. */\n  successInfo?: SuccessInfo;\n  /** When the `status` is `FAILURE`, why the action failed. */\n  failureInfo?: FailureInfo;\n  /** Action completion status. */\n  status?: StatusWithLiterals;\n  /**\n   * Invocation token from Wix's original call to [Invoke](https://dev.wix.com/docs/api-reference/business-management/automations/actions/action-provider-service-plugin/invoke). Wix uses this token to match your results with the correct automation run.\n   *\n   * Learn more about [running an invoked action with a timeout](https://dev.wix.com/docs/api-reference/business-management/automations/actions/action-provider-service-plugin/sample-flow#run-an-invoked-action-with-a-timeout).\n   * @maxLength 2048\n   */\n  invocationToken: string;\n}\n\n/** @oneof */\nexport interface ReportActionInvocationCompletedRequestStatusInfoOneOf {\n  /** When the `status` is `SUCCESS`, your action's results. */\n  successInfo?: SuccessInfo;\n  /** When the `status` is `FAILURE`, why the action failed. */\n  failureInfo?: FailureInfo;\n}\n\nexport interface ReportActionInvocationCompletedResponse {}\n\n/** @docsIgnore */\nexport type ReportEventApplicationErrors =\n  | {\n      code?: 'REQUIRED_PROPERTY';\n      description?: string;\n      data?: Record<string, any>;\n    }\n  | {\n      code?: 'SCHEMA_VALIDATION_FAILED';\n      description?: string;\n      data?: Record<string, any>;\n    };\n","import * as ambassadorWixAutomationsV2Activation from './automations-v2-activation-activations.http.js';\nimport * as ambassadorWixAutomationsV2ActivationTypes from './automations-v2-activation-activations.types.js';\nimport * as ambassadorWixAutomationsV2ActivationUniversalTypes from './automations-v2-activation-activations.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 reportEvent(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixAutomationsV2ActivationUniversalTypes.ReportEventRequest,\n  ambassadorWixAutomationsV2ActivationTypes.ReportEventRequest,\n  ambassadorWixAutomationsV2ActivationUniversalTypes.ReportEventResponse,\n  ambassadorWixAutomationsV2ActivationTypes.ReportEventResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixAutomationsV2Activation.reportEvent(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/events/report',\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 bulkReportEvent(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixAutomationsV2ActivationUniversalTypes.BulkReportEventRequest,\n  ambassadorWixAutomationsV2ActivationTypes.BulkReportEventRequest,\n  ambassadorWixAutomationsV2ActivationUniversalTypes.BulkReportEventResponse,\n  ambassadorWixAutomationsV2ActivationTypes.BulkReportEventResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixAutomationsV2Activation.bulkReportEvent(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/events/bulk-report',\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 bulkCancelEvent(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixAutomationsV2ActivationUniversalTypes.BulkCancelEventRequest,\n  ambassadorWixAutomationsV2ActivationTypes.BulkCancelEventRequest,\n  ambassadorWixAutomationsV2ActivationUniversalTypes.BulkCancelEventResponse,\n  ambassadorWixAutomationsV2ActivationTypes.BulkCancelEventResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixAutomationsV2Activation.bulkCancelEvent(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/events/bulk-cancel',\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 cancelEvent(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixAutomationsV2ActivationUniversalTypes.CancelEventRequest,\n  ambassadorWixAutomationsV2ActivationTypes.CancelEventRequest,\n  ambassadorWixAutomationsV2ActivationUniversalTypes.CancelEventResponse,\n  ambassadorWixAutomationsV2ActivationTypes.CancelEventResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixAutomationsV2Activation.cancelEvent(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/events/cancel',\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 rerunActivation(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixAutomationsV2ActivationUniversalTypes.RerunActivationRequest,\n  ambassadorWixAutomationsV2ActivationTypes.RerunActivationRequest,\n  ambassadorWixAutomationsV2ActivationUniversalTypes.RerunActivationResponse,\n  ambassadorWixAutomationsV2ActivationTypes.RerunActivationResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixAutomationsV2Activation.rerunActivation(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/events/rerun-activation',\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 reportActionInvocationCompleted(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixAutomationsV2ActivationUniversalTypes.ReportActionInvocationCompletedRequest,\n  ambassadorWixAutomationsV2ActivationTypes.ReportActionInvocationCompletedRequest,\n  ambassadorWixAutomationsV2ActivationUniversalTypes.ReportActionInvocationCompletedResponse,\n  ambassadorWixAutomationsV2ActivationTypes.ReportActionInvocationCompletedResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixAutomationsV2Activation.reportActionInvocationCompleted(\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/report-action-invocation-completed',\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  Activation as ActivationOriginal,\n  Automation as AutomationOriginal,\n  AutomationOriginInfoOneOf as AutomationOriginInfoOneOfOriginal,\n  AIMetadata as AIMetadataOriginal,\n  ActionSettings as ActionSettingsOriginal,\n  Domain as DomainOriginal,\n  DomainWithLiterals as DomainWithLiteralsOriginal,\n  TriggerSettings as TriggerSettingsOriginal,\n  Enrichment as EnrichmentOriginal,\n  AuditInfo as AuditInfoOriginal,\n  AuditInfoIdOneOf as AuditInfoIdOneOfOriginal,\n  AutomationConfiguration as AutomationConfigurationOriginal,\n  TimeUnit as TimeUnitOriginal,\n  TimeUnitWithLiterals as TimeUnitWithLiteralsOriginal,\n  Filter as FilterOriginal,\n  FutureDateActivationOffset as FutureDateActivationOffsetOriginal,\n  RateLimit as RateLimitOriginal,\n  FilterValueSelection as FilterValueSelectionOriginal,\n  ConditionExpressionGroup as ConditionExpressionGroupOriginal,\n  Operator as OperatorOriginal,\n  OperatorWithLiterals as OperatorWithLiteralsOriginal,\n  ActionCodeSnippet as ActionCodeSnippetOriginal,\n  CodeSnippetLanguage as CodeSnippetLanguageOriginal,\n  CodeSnippetLanguageWithLiterals as CodeSnippetLanguageWithLiteralsOriginal,\n  SplitActionPath as SplitActionPathOriginal,\n  Type as TypeOriginal,\n  TypeWithLiterals as TypeWithLiteralsOriginal,\n  AppDefinedAction as AppDefinedActionOriginal,\n  ConditionAction as ConditionActionOriginal,\n  CodeConditionAction as CodeConditionActionOriginal,\n  DelayAction as DelayActionOriginal,\n  RateLimitAction as RateLimitActionOriginal,\n  SetVariablesAction as SetVariablesActionOriginal,\n  OutputAction as OutputActionOriginal,\n  ActionSplitAction as ActionSplitActionOriginal,\n  MergeAction as MergeActionOriginal,\n  AutomationConfigurationStatus as AutomationConfigurationStatusOriginal,\n  AutomationConfigurationStatusWithLiterals as AutomationConfigurationStatusWithLiteralsOriginal,\n  Trigger as TriggerOriginal,\n  AutomationConfigurationAction as AutomationConfigurationActionOriginal,\n  AutomationConfigurationActionInfoOneOf as AutomationConfigurationActionInfoOneOfOriginal,\n  FilterableAppDefinedActions as FilterableAppDefinedActionsOriginal,\n  Origin as OriginOriginal,\n  OriginWithLiterals as OriginWithLiteralsOriginal,\n  ApplicationOrigin as ApplicationOriginOriginal,\n  PreinstalledOrigin as PreinstalledOriginOriginal,\n  AutomationSettings as AutomationSettingsOriginal,\n  DraftInfo as DraftInfoOriginal,\n  Enrichments as EnrichmentsOriginal,\n  ExtendedFields as ExtendedFieldsOriginal,\n  AutoArchivePolicy as AutoArchivePolicyOriginal,\n  Notes as NotesOriginal,\n  Note as NoteOriginal,\n  Position as PositionOriginal,\n  Offset as OffsetOriginal,\n  Dimensions as DimensionsOriginal,\n  ActivationInitiationSourceInfo as ActivationInitiationSourceInfoOriginal,\n  ActivationInitiationSourceInfoInitiationSourceInfoOneOf as ActivationInitiationSourceInfoInitiationSourceInfoOneOfOriginal,\n  ActivationInitiationSource as ActivationInitiationSourceOriginal,\n  ActivationInitiationSourceWithLiterals as ActivationInitiationSourceWithLiteralsOriginal,\n  ManualActivationInfo as ManualActivationInfoOriginal,\n  RerunActivationInfo as RerunActivationInfoOriginal,\n  InitiatorInfo as InitiatorInfoOriginal,\n  ActivationStatusChanged as ActivationStatusChangedOriginal,\n  ActivationStatusChangedStatusInfoOneOf as ActivationStatusChangedStatusInfoOneOfOriginal,\n  Target as TargetOriginal,\n  TargetWithLiterals as TargetWithLiteralsOriginal,\n  CancellationReason as CancellationReasonOriginal,\n  CancellationReasonWithLiterals as CancellationReasonWithLiteralsOriginal,\n  Identity as IdentityOriginal,\n  ErrorReason as ErrorReasonOriginal,\n  ErrorReasonWithLiterals as ErrorReasonWithLiteralsOriginal,\n  SkipReason as SkipReasonOriginal,\n  SkipReasonWithLiterals as SkipReasonWithLiteralsOriginal,\n  ActivationStatusChangedStatus as ActivationStatusChangedStatusOriginal,\n  ActivationStatusChangedStatusWithLiterals as ActivationStatusChangedStatusWithLiteralsOriginal,\n  Metadata as MetadataOriginal,\n  InitiatedStatusInfo as InitiatedStatusInfoOriginal,\n  ActivationStatusChangedStartedStatusInfo as ActivationStatusChangedStartedStatusInfoOriginal,\n  ScheduledStatusInfo as ScheduledStatusInfoOriginal,\n  CancelledStatusInfo as CancelledStatusInfoOriginal,\n  ActivationStatusChangedFailedStatusInfo as ActivationStatusChangedFailedStatusInfoOriginal,\n  SkippedStatusInfo as SkippedStatusInfoOriginal,\n  ScheduleRequest as ScheduleRequestOriginal,\n  Schedule as ScheduleOriginal,\n  ScheduledAction as ScheduledActionOriginal,\n  Delay as DelayOriginal,\n  DelayOfOneOf as DelayOfOneOfOriginal,\n  SimpleDelay as SimpleDelayOriginal,\n  Units as UnitsOriginal,\n  UnitsWithLiterals as UnitsWithLiteralsOriginal,\n  ScheduleStatus as ScheduleStatusOriginal,\n  ScheduleStatusWithLiterals as ScheduleStatusWithLiteralsOriginal,\n  TriggerInfo as TriggerInfoOriginal,\n  ScheduleResponse as ScheduleResponseOriginal,\n  CancelPendingScheduleRequest as CancelPendingScheduleRequestOriginal,\n  CancelPendingScheduleRequestByOneOf as CancelPendingScheduleRequestByOneOfOriginal,\n  CancelPendingScheduleResponse as CancelPendingScheduleResponseOriginal,\n  UpdatePendingSchedulesPayloadRequest as UpdatePendingSchedulesPayloadRequestOriginal,\n  UpdatePendingSchedulesPayloadResponse as UpdatePendingSchedulesPayloadResponseOriginal,\n  GetScheduleRequest as GetScheduleRequestOriginal,\n  GetScheduleResponse as GetScheduleResponseOriginal,\n  UpdateScheduleStatusRequest as UpdateScheduleStatusRequestOriginal,\n  UpdateScheduleStatusResponse as UpdateScheduleStatusResponseOriginal,\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  MessageEnvelope as MessageEnvelopeOriginal,\n  IdentificationData as IdentificationDataOriginal,\n  IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n  WebhookIdentityType as WebhookIdentityTypeOriginal,\n  WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n  AccountInfo as AccountInfoOriginal,\n  ConsumeReportEventRequest as ConsumeReportEventRequestOriginal,\n  EventInfo as EventInfoOriginal,\n  Idempotency as IdempotencyOriginal,\n  BatchActivationRequest as BatchActivationRequestOriginal,\n  ActivationRequest as ActivationRequestOriginal,\n  Runtime as RuntimeOriginal,\n  Scheduler as SchedulerOriginal,\n  AsyncAction as AsyncActionOriginal,\n  ActionData as ActionDataOriginal,\n  Action as ActionOriginal,\n  ActionActionOneOf as ActionActionOneOfOriginal,\n  ServiceMapping as ServiceMappingOriginal,\n  IfFilter as IfFilterOriginal,\n  SwitchFilter as SwitchFilterOriginal,\n  Case as CaseOriginal,\n  DelayHelper as DelayHelperOriginal,\n  RateLimiting as RateLimitingOriginal,\n  ConditionFilter as ConditionFilterOriginal,\n  BlockType as BlockTypeOriginal,\n  BlockTypeWithLiterals as BlockTypeWithLiteralsOriginal,\n  ConditionBlock as ConditionBlockOriginal,\n  CodeConditionFilter as CodeConditionFilterOriginal,\n  CodeSnippet as CodeSnippetOriginal,\n  Language as LanguageOriginal,\n  LanguageWithLiterals as LanguageWithLiteralsOriginal,\n  Output as OutputOriginal,\n  SetVariables as SetVariablesOriginal,\n  SplitAction as SplitActionOriginal,\n  Path as PathOriginal,\n  Service as ServiceOriginal,\n  SystemHelper as SystemHelperOriginal,\n  SystemHelperHelperOneOf as SystemHelperHelperOneOfOriginal,\n  SpiAction as SpiActionOriginal,\n  ActivationSource as ActivationSourceOriginal,\n  ActivationSourceOfOneOf as ActivationSourceOfOneOfOriginal,\n  ActionsData as ActionsDataOriginal,\n  ScheduleActivationRequested as ScheduleActivationRequestedOriginal,\n  ActivationContinuedAfterSchedule as ActivationContinuedAfterScheduleOriginal,\n  ReportEventRequest as ReportEventRequestOriginal,\n  ReportEventResponse as ReportEventResponseOriginal,\n  BulkReportEventRequest as BulkReportEventRequestOriginal,\n  BulkReportEventResponse as BulkReportEventResponseOriginal,\n  BulkReportEventResult as BulkReportEventResultOriginal,\n  ItemMetadata as ItemMetadataOriginal,\n  ApplicationError as ApplicationErrorOriginal,\n  BulkActionMetadata as BulkActionMetadataOriginal,\n  BulkCancelEventRequest as BulkCancelEventRequestOriginal,\n  BulkCancelEventResponse as BulkCancelEventResponseOriginal,\n  BulkCancelEventResult as BulkCancelEventResultOriginal,\n  CancelEventRequest as CancelEventRequestOriginal,\n  CancelEventResponse as CancelEventResponseOriginal,\n  V1RunAutomationRequest as V1RunAutomationRequestOriginal,\n  V1RunAutomationRequestIdentifierOneOf as V1RunAutomationRequestIdentifierOneOfOriginal,\n  IdentifierType as IdentifierTypeOriginal,\n  IdentifierTypeWithLiterals as IdentifierTypeWithLiteralsOriginal,\n  PreinstalledIdentifier as PreinstalledIdentifierOriginal,\n  AutomationIdentifier as AutomationIdentifierOriginal,\n  V1RunAutomationResponse as V1RunAutomationResponseOriginal,\n  TestAutomationRequest as TestAutomationRequestOriginal,\n  TestAutomationRequestIdentifierOneOf as TestAutomationRequestIdentifierOneOfOriginal,\n  TestAutomationResponse as TestAutomationResponseOriginal,\n  RerunActivationRequest as RerunActivationRequestOriginal,\n  RunOptions as RunOptionsOriginal,\n  RerunActivationResponse as RerunActivationResponseOriginal,\n  ReportDomainEventRequest as ReportDomainEventRequestOriginal,\n  ReportDomainEventResponse as ReportDomainEventResponseOriginal,\n  ReportAccountLevelEventRequest as ReportAccountLevelEventRequestOriginal,\n  ReportAccountLevelEventResponse as ReportAccountLevelEventResponseOriginal,\n  ExecuteFromActionRequest as ExecuteFromActionRequestOriginal,\n  ExecuteFromActionResponse as ExecuteFromActionResponseOriginal,\n  ActivationScheduleCompleted as ActivationScheduleCompletedOriginal,\n  Empty as EmptyOriginal,\n  ActionRetryRequest as ActionRetryRequestOriginal,\n  ActivationContext as ActivationContextOriginal,\n  RuntimeStatus as RuntimeStatusOriginal,\n  RuntimeStatusWithLiterals as RuntimeStatusWithLiteralsOriginal,\n  ResumeAfterAsyncActionCompleted as ResumeAfterAsyncActionCompletedOriginal,\n  ResumeAfterAsyncActionCompletedStatusInfoOneOf as ResumeAfterAsyncActionCompletedStatusInfoOneOfOriginal,\n  Status as StatusOriginal,\n  StatusWithLiterals as StatusWithLiteralsOriginal,\n  SuccessInfo as SuccessInfoOriginal,\n  FailureInfo as FailureInfoOriginal,\n  ActivationActionStatusChanged as ActivationActionStatusChangedOriginal,\n  ActivationActionStatusChangedInfoOneOf as ActivationActionStatusChangedInfoOneOfOriginal,\n  ActivationActionStatusChangedStatusInfoOneOf as ActivationActionStatusChangedStatusInfoOneOfOriginal,\n  RetryInfo as RetryInfoOriginal,\n  StartedStatusInfoAppDefinedActionInfo as StartedStatusInfoAppDefinedActionInfoOriginal,\n  StartedStatusInfoDelayActionInfo as StartedStatusInfoDelayActionInfoOriginal,\n  InvokedAsyncStatusInfoAppDefinedActionInfo as InvokedAsyncStatusInfoAppDefinedActionInfoOriginal,\n  ExpressionEvaluationResult as ExpressionEvaluationResultOriginal,\n  EndedStatusInfoAppDefinedActionInfo as EndedStatusInfoAppDefinedActionInfoOriginal,\n  ConditionActionInfo as ConditionActionInfoOriginal,\n  CodeConditionActionInfo as CodeConditionActionInfoOriginal,\n  RateLimitActionInfo as RateLimitActionInfoOriginal,\n  DelayActionInfo as DelayActionInfoOriginal,\n  SetVariablesActionInfo as SetVariablesActionInfoOriginal,\n  AutomationInfo as AutomationInfoOriginal,\n  AutomationInfoOriginInfoOneOf as AutomationInfoOriginInfoOneOfOriginal,\n  AutomationInfoTriggerInfo as AutomationInfoTriggerInfoOriginal,\n  ActionAttributes as ActionAttributesOriginal,\n  AppDefinedActionInfo as AppDefinedActionInfoOriginal,\n  ActivationActionStatusChangedStatus as ActivationActionStatusChangedStatusOriginal,\n  ActivationActionStatusChangedStatusWithLiterals as ActivationActionStatusChangedStatusWithLiteralsOriginal,\n  StartedStatusInfo as StartedStatusInfoOriginal,\n  StartedStatusInfoTypeInfoOneOf as StartedStatusInfoTypeInfoOneOfOriginal,\n  InvokedAsyncStatusInfo as InvokedAsyncStatusInfoOriginal,\n  InvokedAsyncStatusInfoTypeInfoOneOf as InvokedAsyncStatusInfoTypeInfoOneOfOriginal,\n  EndedStatusInfo as EndedStatusInfoOriginal,\n  EndedStatusInfoTypeInfoOneOf as EndedStatusInfoTypeInfoOneOfOriginal,\n  FailedStatusInfo as FailedStatusInfoOriginal,\n  ActivationResumeAfterDelay as ActivationResumeAfterDelayOriginal,\n  ActionCompletedRequest as ActionCompletedRequestOriginal,\n  RefreshPayloadRequest as RefreshPayloadRequestOriginal,\n  RefreshPayloadResponse as RefreshPayloadResponseOriginal,\n  RunAutomationRequest as RunAutomationRequestOriginal,\n  RunAutomationResponse as RunAutomationResponseOriginal,\n  RunPreinstalledAutomationRequest as RunPreinstalledAutomationRequestOriginal,\n  RunPreinstalledAutomationResponse as RunPreinstalledAutomationResponseOriginal,\n  ReportActionInvocationCompletedRequest as ReportActionInvocationCompletedRequestOriginal,\n  ReportActionInvocationCompletedRequestStatusInfoOneOf as ReportActionInvocationCompletedRequestStatusInfoOneOfOriginal,\n  ReportActionInvocationCompletedResponse as ReportActionInvocationCompletedResponseOriginal,\n  ReportEventApplicationErrors as ReportEventApplicationErrorsOriginal,\n} from './automations-v2-activation-activations.types.js';\n"],"mappings":";AAAA,SAAS,kBAAkB;AAI3B,SAAS,iDACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,mBAAmB;AAAA,MACjB;AAAA,QACE,SAAS;AAAA,QACT,UA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B,OAAO;AAE9D,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,mCAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBACiC;AAAA,IACnC;AAAA,EACF;AAEF,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["Domain","TimeUnit","Operator","CodeSnippetLanguage","Type","AutomationConfigurationStatus","Origin","ActivationInitiationSource","Target","CancellationReason","ErrorReason","SkipReason","ActivationStatusChangedStatus","Units","ScheduleStatus","WebhookIdentityType","BlockType","Language","IdentifierType","RuntimeStatus","Status","ActivationActionStatusChangedStatus","reportEvent","bulkReportEvent","bulkCancelEvent","cancelEvent","rerunActivation","reportActionInvocationCompleted"]}