import { ae as ValidateConfigurationEnvelope, a as ValidateConfigurationResponse, af as GetDynamicSchemaEnvelope, b as GetDynamicSchemaResponse, ag as RefreshPayloadEnvelope, c as RefreshPayloadResponse } from './service-plugins-error-classes-Du2AdxzC.js'; export { e as AIMetadata, I as Action, J as ActionInfoOneOf, f as ActionSettings, s as AppDefinedAction, Q as ApplicationOrigin, g as AuditInfo, h as AuditInfoIdOneOf, $ as AutoArchivePolicy, A as Automation, i as AutomationConfiguration, d as AutomationOriginInfoOneOf, X as AutomationSettings, u as CodeConditionAction, o as CodeSnippet, t as ConditionAction, C as ConditionExpressionGroup, a9 as Context, v as DelayAction, a4 as Dimensions, D as Domain, Y as DraftInfo, E as Enrichment, Z as Enrichments, _ as ExtendedFields, F as Filter, m as FilterValueSelection, K as FilterableAppDefinedActions, k as FutureDateActivationOffset, G as GetDynamicSchemaRequest, ab as IdentificationData, ac as IdentificationDataIdOneOf, aa as IdentityType, L as Language, M as MergeAction, a1 as Note, a0 as Notes, a3 as Offset, a6 as OnAutomationDeletedRequest, a7 as OnAutomationDeletedResponse, O as OnAutomationSavedRequest, a5 as OnAutomationSavedResponse, n as Operator, N as Origin, y as OutputAction, q as Path, a2 as Position, U as PreinstalledOrigin, P as ProviderConfigurationError, ad as ProviderNotFoundWixError, l as RateLimit, w as RateLimitAction, R as RefreshPayloadRequest, S as SelectedFilterOptions, x as SetVariablesAction, z as SplitAction, B as Status, W as TemplateOrigin, j as TimeUnit, H as Trigger, a8 as TriggerProviderSPIConfig, T as TriggerSettings, r as Type, V as ValidateConfigurationRequest } from './service-plugins-error-classes-Du2AdxzC.js'; import '@wix/sdk-types'; /** * This endpoint allows you to run your own logic to validate trigger fields. Implement this endpoint if you need to perform extra validation on top of * the Wix validation process. * * Wix calls Validate Configuration in the following cases: * * - When a Wix user activates the automation. * - When a Wix user selects the automation from the **Your automations** list in the [**Automations**](https://www.wix.com/my-account/site-selector/?buttonText=Select%20Site&title=Select%20a%20Site&autoSelectOnSingleSite=true&actionUrl=https:%2F%2Fwww.wix.com%2Fdashboard%2F%7B%7BmetaSiteId%7D%7D%2Ftriggers/site-automations) * dashboard. * - When a Wix user opens the automation to edit it. * * If the user configured filters when setting up their automation, these are included in the request. * Wix uses the returned response to display an error message to a user if the requested trigger is invalid. * @throws ProviderNotFoundWixError */ declare function validateConfiguration(payload: ValidateConfigurationEnvelope): ValidateConfigurationResponse | Promise; /** * This endpoint returns a [JSON schema](https://json-schema.org/) object * that's used to dynamically update the fields available to a Wix user * when they configure an [automation](https://www.wix.com/my-account/site-selector/?buttonText=Select%20Site&title=Select%20a%20Site&autoSelectOnSingleSite=true&actionUrl=https:%2F%2Fwww.wix.com%2Fdashboard%2F%7B%7BmetaSiteId%7D%7D%2Ftriggers/site-automations). * * Wix calls this endpoint when a user selects an option from an * [item selection filter](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/automations/triggers/filter-fields#item-selection) * configured for a trigger. * Wix appends the returned schema to the * [payload schema](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/automations/triggers/payload-schema) * you defined for the trigger and makes the fields available to the Wix user's automation. * @throws ProviderNotFoundWixError */ declare function getDynamicSchema(payload: GetDynamicSchemaEnvelope): GetDynamicSchemaResponse | Promise; /** * If an automation's action is delayed, implement this method to retrieve the latest data in the trigger payload before the action fires. * * For example, if an automation is triggered but its action is set to fire only 24 hours later, Wix calls Refresh Payload before starting * the action. This fetches the latest data in the trigger payload. The returned data can be used to update the trigger payload that is passed * to the action. */ declare function refreshPayload(payload: RefreshPayloadEnvelope): RefreshPayloadResponse | Promise; export { GetDynamicSchemaEnvelope, GetDynamicSchemaResponse, RefreshPayloadEnvelope, RefreshPayloadResponse, ValidateConfigurationEnvelope, ValidateConfigurationResponse, getDynamicSchema, refreshPayload, validateConfiguration };