@wix/auto_sdk_automations_automations-v-2 1.0.78 → 1.0.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +13 -5
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +228 -68
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +129 -63
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +13 -5
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +228 -68
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +129 -63
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +13 -5
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +228 -68
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +129 -63
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +13 -5
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +228 -68
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +129 -63
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NonNullablePaths } from '@wix/sdk-types';
|
|
1
|
+
import { QuerySpec, Query, NonNullablePaths } from '@wix/sdk-types';
|
|
2
2
|
|
|
3
3
|
interface Automation extends AutomationOriginInfoOneOf {
|
|
4
4
|
/** When the origin of the automation is `APPLICATION`, the details of the app that created it. */
|
|
@@ -1895,107 +1895,139 @@ interface PublishDraftAutomationResponse {
|
|
|
1895
1895
|
interface ValidateAutomationRequest {
|
|
1896
1896
|
/** Automation to validate. */
|
|
1897
1897
|
automation: Automation;
|
|
1898
|
-
/**
|
|
1898
|
+
/**
|
|
1899
|
+
* Validation settings.
|
|
1900
|
+
*
|
|
1901
|
+
* When not specified, the method validates the full automation. This includes the trigger, actions, and provider validation logic.
|
|
1902
|
+
*
|
|
1903
|
+
* > **Note**: Trigger and action providers can add custom validation logic by implementing the Validate Configuration method in the [trigger](https://dev.wix.com/docs/api-reference/business-management/automations/triggers/trigger-provider-service-plugin/validate-configuration) and [action service plugins](https://dev.wix.com/docs/api-reference/business-management/automations/actions/action-provider-service-plugin/validate-configuration).
|
|
1904
|
+
*/
|
|
1899
1905
|
validationSettings?: ValidationSettings;
|
|
1900
1906
|
}
|
|
1901
1907
|
interface ValidationSettings {
|
|
1902
1908
|
/**
|
|
1903
|
-
* IDs of actions to validate.
|
|
1909
|
+
* IDs of actions to validate.
|
|
1904
1910
|
*
|
|
1905
|
-
* When
|
|
1911
|
+
* When specified, only these actions are validated.
|
|
1912
|
+
*
|
|
1913
|
+
* When not specified, the full automation is validated. This includes the trigger, actions, and custom logic added by the [trigger](https://dev.wix.com/docs/api-reference/business-management/automations/triggers/trigger-provider-service-plugin/validate-configuration) and [action providers](https://dev.wix.com/docs/api-reference/business-management/automations/actions/action-provider-service-plugin/validate-configuration).
|
|
1906
1914
|
* @maxSize 30
|
|
1907
1915
|
* @format GUID
|
|
1908
1916
|
*/
|
|
1909
1917
|
actionIds?: string[];
|
|
1910
1918
|
/**
|
|
1911
|
-
* Whether to skip provider validations.
|
|
1919
|
+
* Whether to skip [trigger](https://dev.wix.com/docs/api-reference/business-management/automations/triggers/trigger-provider-service-plugin/introduction) and [action provider](https://dev.wix.com/docs/api-reference/business-management/automations/actions/action-provider-service-plugin/introduction) validations.
|
|
1912
1920
|
*
|
|
1913
1921
|
* Default: `false`.
|
|
1914
1922
|
*/
|
|
1915
1923
|
skipProviderValidations?: boolean;
|
|
1916
1924
|
}
|
|
1917
1925
|
interface ValidateAutomationResponse {
|
|
1918
|
-
/**
|
|
1926
|
+
/** Validation status. */
|
|
1919
1927
|
status?: ValidationResultStatusWithLiterals;
|
|
1920
1928
|
/**
|
|
1921
|
-
*
|
|
1929
|
+
* Errors found in the automation's [trigger](https://dev.wix.com/docs/api-reference/business-management/automations/triggers/about-triggers).
|
|
1922
1930
|
* @maxSize 100
|
|
1923
1931
|
*/
|
|
1924
1932
|
triggerValidationErrors?: TriggerValidationError[];
|
|
1925
1933
|
/**
|
|
1926
|
-
*
|
|
1934
|
+
* Errors in the automation's [action configurations](https://dev.wix.com/docs/api-reference/business-management/automations/automations/automations-v2/configure-your-automation#configuring-actions).
|
|
1927
1935
|
* @maxSize 100
|
|
1928
1936
|
*/
|
|
1929
1937
|
actionValidationErrors?: ActionValidationError[];
|
|
1930
1938
|
}
|
|
1931
1939
|
declare enum ValidationResultStatus {
|
|
1932
1940
|
UNKNOWN_STATUS = "UNKNOWN_STATUS",
|
|
1933
|
-
/**
|
|
1941
|
+
/**
|
|
1942
|
+
* Automation is valid. No errors found.
|
|
1943
|
+
*
|
|
1944
|
+
* You can save and run valid automations on user sites.
|
|
1945
|
+
*/
|
|
1934
1946
|
VALID = "VALID",
|
|
1935
|
-
/**
|
|
1947
|
+
/**
|
|
1948
|
+
* Automation is valid but contains at least one error with a `WARNING` severity.
|
|
1949
|
+
*
|
|
1950
|
+
* Errors with a `WARNING` allow you to save and run the automation on user sites, but this can result in unexpected behavior.
|
|
1951
|
+
*/
|
|
1936
1952
|
VALID_WITH_WARNINGS = "VALID_WITH_WARNINGS",
|
|
1937
|
-
/**
|
|
1953
|
+
/**
|
|
1954
|
+
* Automation is not valid. It contains at least one error with a `CRITICAL` severity.
|
|
1955
|
+
*
|
|
1956
|
+
* Errors with a `CRITICAL` severity do not allow you to save and run the automation on user sites.
|
|
1957
|
+
*/
|
|
1938
1958
|
INVALID = "INVALID"
|
|
1939
1959
|
}
|
|
1940
1960
|
/** @enumType */
|
|
1941
1961
|
type ValidationResultStatusWithLiterals = ValidationResultStatus | 'UNKNOWN_STATUS' | 'VALID' | 'VALID_WITH_WARNINGS' | 'INVALID';
|
|
1942
1962
|
interface TriggerValidationError extends TriggerValidationErrorErrorOneOf {
|
|
1943
|
-
/**
|
|
1963
|
+
/** Error in the automation's [trigger configuration](https://dev.wix.com/docs/api-reference/business-management/automations/automations/automations-v2/configure-your-automation#configuring-the-trigger). */
|
|
1944
1964
|
configurationError?: TriggerConfigurationError;
|
|
1945
|
-
/**
|
|
1965
|
+
/** Error found in how the [trigger provider](https://dev.wix.com/docs/api-reference/business-management/automations/triggers/trigger-provider-service-plugin/introduction) configured their trigger. */
|
|
1946
1966
|
providerConfigurationError?: ProviderConfigurationError;
|
|
1947
|
-
/**
|
|
1967
|
+
/** Error type. */
|
|
1948
1968
|
errorType?: TriggerValidationErrorValidationErrorTypeWithLiterals;
|
|
1949
|
-
/**
|
|
1969
|
+
/** Error severity. */
|
|
1950
1970
|
errorSeverity?: SeverityWithLiterals;
|
|
1951
1971
|
}
|
|
1952
1972
|
/** @oneof */
|
|
1953
1973
|
interface TriggerValidationErrorErrorOneOf {
|
|
1954
|
-
/**
|
|
1974
|
+
/** Error in the automation's [trigger configuration](https://dev.wix.com/docs/api-reference/business-management/automations/automations/automations-v2/configure-your-automation#configuring-the-trigger). */
|
|
1955
1975
|
configurationError?: TriggerConfigurationError;
|
|
1956
|
-
/**
|
|
1976
|
+
/** Error found in how the [trigger provider](https://dev.wix.com/docs/api-reference/business-management/automations/triggers/trigger-provider-service-plugin/introduction) configured their trigger. */
|
|
1957
1977
|
providerConfigurationError?: ProviderConfigurationError;
|
|
1958
1978
|
}
|
|
1959
1979
|
declare enum TriggerValidationErrorValidationErrorType {
|
|
1960
1980
|
UNKNOWN_VALIDATION_ERROR_TYPE = "UNKNOWN_VALIDATION_ERROR_TYPE",
|
|
1961
|
-
/**
|
|
1981
|
+
/** Error found in the automation's [trigger configuration](https://dev.wix.com/docs/api-reference/business-management/automations/automations/automations-v2/configure-your-automation#configuring-the-trigger). */
|
|
1962
1982
|
CONFIGURATION_ERROR = "CONFIGURATION_ERROR",
|
|
1963
|
-
/**
|
|
1983
|
+
/** Error found in how the [trigger provider](https://dev.wix.com/docs/api-reference/business-management/automations/triggers/trigger-provider-service-plugin/introduction) configured their trigger. */
|
|
1964
1984
|
PROVIDER_ERROR = "PROVIDER_ERROR"
|
|
1965
1985
|
}
|
|
1966
1986
|
/** @enumType */
|
|
1967
1987
|
type TriggerValidationErrorValidationErrorTypeWithLiterals = TriggerValidationErrorValidationErrorType | 'UNKNOWN_VALIDATION_ERROR_TYPE' | 'CONFIGURATION_ERROR' | 'PROVIDER_ERROR';
|
|
1968
1988
|
interface TriggerConfigurationError {
|
|
1969
|
-
/**
|
|
1989
|
+
/** Type of the trigger error. */
|
|
1970
1990
|
errorType?: TriggerErrorTypeWithLiterals;
|
|
1971
1991
|
}
|
|
1972
1992
|
declare enum TriggerErrorType {
|
|
1973
1993
|
UNKNOWN_TRIGGER_ERROR_TYPE = "UNKNOWN_TRIGGER_ERROR_TYPE",
|
|
1974
|
-
/**
|
|
1994
|
+
/** Trigger was not found. */
|
|
1975
1995
|
NOT_FOUND = "NOT_FOUND",
|
|
1976
|
-
/**
|
|
1996
|
+
/** Required app is not installed on the site. */
|
|
1977
1997
|
APP_NOT_INSTALLED = "APP_NOT_INSTALLED",
|
|
1978
|
-
/**
|
|
1998
|
+
/** Trigger key is invalid. */
|
|
1979
1999
|
INVALID_TRIGGER_KEY = "INVALID_TRIGGER_KEY",
|
|
1980
|
-
/**
|
|
2000
|
+
/**
|
|
2001
|
+
* Filter field key is invalid.
|
|
2002
|
+
*
|
|
2003
|
+
* Learn more about [trigger filter](https://dev.wix.com/docs/api-reference/business-management/automations/automations/automations-v2/configure-your-automation#filters).
|
|
2004
|
+
*/
|
|
1981
2005
|
INVALID_FILTER_FIELD_KEY = "INVALID_FILTER_FIELD_KEY",
|
|
1982
|
-
/**
|
|
2006
|
+
/**
|
|
2007
|
+
* Filter expression is invalid.
|
|
2008
|
+
*
|
|
2009
|
+
* Learn more about [trigger filter expressions](https://dev.wix.com/docs/api-reference/business-management/automations/automations/automations-v2/configure-your-automation#filters).
|
|
2010
|
+
*/
|
|
1983
2011
|
INVALID_FILTER_EXPRESSION = "INVALID_FILTER_EXPRESSION",
|
|
1984
|
-
/**
|
|
2012
|
+
/**
|
|
2013
|
+
* Required trigger filter was not found.
|
|
2014
|
+
*
|
|
2015
|
+
* Learn more about [required trigger filters](https://dev.wix.com/docs/api-reference/business-management/automations/automations/automations-v2/configure-your-automation#filters).
|
|
2016
|
+
*/
|
|
1985
2017
|
MISSING_REQUIRED_FILTER = "MISSING_REQUIRED_FILTER"
|
|
1986
2018
|
}
|
|
1987
2019
|
/** @enumType */
|
|
1988
2020
|
type TriggerErrorTypeWithLiterals = TriggerErrorType | 'UNKNOWN_TRIGGER_ERROR_TYPE' | 'NOT_FOUND' | 'APP_NOT_INSTALLED' | 'INVALID_TRIGGER_KEY' | 'INVALID_FILTER_FIELD_KEY' | 'INVALID_FILTER_EXPRESSION' | 'MISSING_REQUIRED_FILTER';
|
|
1989
2021
|
interface ProviderConfigurationError {
|
|
1990
|
-
/**
|
|
2022
|
+
/** Scheme field key. */
|
|
1991
2023
|
fieldKey?: string | null;
|
|
1992
2024
|
/** Error message. */
|
|
1993
2025
|
message?: string;
|
|
1994
|
-
/** Label for
|
|
2026
|
+
/** Label for the call-to-action button displayed with the error. */
|
|
1995
2027
|
ctaLabel?: string | null;
|
|
1996
|
-
/**
|
|
2028
|
+
/** When the call-to-action button is clicked, the redirect URL. */
|
|
1997
2029
|
ctaUrl?: string | null;
|
|
1998
|
-
/**
|
|
2030
|
+
/** Error title. */
|
|
1999
2031
|
title?: string;
|
|
2000
2032
|
}
|
|
2001
2033
|
declare enum ValidationErrorSeverity {
|
|
@@ -2009,125 +2041,159 @@ declare enum ValidationErrorSeverity {
|
|
|
2009
2041
|
type ValidationErrorSeverityWithLiterals = ValidationErrorSeverity | 'UNKNOWN_VALIDATION_ERROR_SEVERITY' | 'WARNING' | 'ERROR';
|
|
2010
2042
|
declare enum Severity {
|
|
2011
2043
|
UNKNOWN_SEVERITY = "UNKNOWN_SEVERITY",
|
|
2012
|
-
/**
|
|
2044
|
+
/**
|
|
2045
|
+
* Low-severity error.
|
|
2046
|
+
*
|
|
2047
|
+
* Errors with a `WARNING` severity allow you to save and run the automation, but the results might be unexpected.
|
|
2048
|
+
*/
|
|
2013
2049
|
WARNING = "WARNING",
|
|
2014
|
-
/**
|
|
2050
|
+
/**
|
|
2051
|
+
* High-severity error.
|
|
2052
|
+
*
|
|
2053
|
+
* Errors with a `CRITICAL` severity do not allow you to save and run the automation.
|
|
2054
|
+
*/
|
|
2015
2055
|
CRITICAL = "CRITICAL"
|
|
2016
2056
|
}
|
|
2017
2057
|
/** @enumType */
|
|
2018
2058
|
type SeverityWithLiterals = Severity | 'UNKNOWN_SEVERITY' | 'WARNING' | 'CRITICAL';
|
|
2019
2059
|
interface ActionValidationInfo {
|
|
2020
2060
|
/**
|
|
2021
|
-
*
|
|
2061
|
+
* ID of the [action as configured in the automation](https://dev.wix.com/docs/api-reference/business-management/automations/automations/automations-v2/configure-your-automation#configuring-actions).
|
|
2022
2062
|
* @format GUID
|
|
2023
2063
|
*/
|
|
2024
2064
|
actionId?: string | null;
|
|
2025
2065
|
/**
|
|
2026
|
-
* ID of the app that
|
|
2066
|
+
* ID of the [app that created the action](https://dev.wix.com/docs/api-reference/business-management/automations/automations/automations-v2/configure-your-automation#app-defined-action).
|
|
2027
2067
|
* @format GUID
|
|
2028
2068
|
*/
|
|
2029
2069
|
appId?: string;
|
|
2030
2070
|
/**
|
|
2031
|
-
*
|
|
2071
|
+
* Action key.
|
|
2072
|
+
*
|
|
2073
|
+
* This identifies the action in the [app that defined it in the Wix Dev Center](https://dev.wix.com/docs/api-reference/business-management/automations/actions/action-provider-service-plugin/introduction#how-to-set-up-an-action). This remains consistent across different automations.
|
|
2032
2074
|
* @minLength 1
|
|
2033
2075
|
* @maxLength 100
|
|
2034
2076
|
*/
|
|
2035
2077
|
actionKey?: string;
|
|
2036
2078
|
/**
|
|
2037
|
-
*
|
|
2079
|
+
* Errors found in the action's configuration.
|
|
2038
2080
|
* @maxSize 100
|
|
2039
2081
|
*/
|
|
2040
2082
|
validationErrors?: ActionValidationError[];
|
|
2041
2083
|
}
|
|
2042
2084
|
interface ActionValidationError extends ActionValidationErrorErrorOneOf {
|
|
2043
|
-
/**
|
|
2085
|
+
/** Error found in the [configuration of the action in the automation](https://dev.wix.com/docs/api-reference/business-management/automations/automations/automations-v2/configure-your-automation#configuring-actions). */
|
|
2044
2086
|
configurationError?: ActionConfigurationError;
|
|
2045
|
-
/**
|
|
2087
|
+
/** Error found in the configuration of the action as added by the [action provider](https://dev.wix.com/docs/api-reference/business-management/automations/actions/action-provider-service-plugin/introduction). */
|
|
2046
2088
|
providerConfigurationError?: ProviderConfigurationError;
|
|
2047
2089
|
/**
|
|
2048
|
-
*
|
|
2090
|
+
* ID of the action as [configured in the automation](https://dev.wix.com/docs/api-reference/business-management/automations/automations/automations-v2/configure-your-automation#configuring-actions).
|
|
2049
2091
|
* @format GUID
|
|
2050
2092
|
*/
|
|
2051
2093
|
actionId?: string;
|
|
2052
2094
|
/**
|
|
2053
|
-
* ID of the app that
|
|
2095
|
+
* ID of the [app that created the action](https://dev.wix.com/docs/api-reference/business-management/automations/automations/automations-v2/configure-your-automation#app-defined-action).
|
|
2054
2096
|
* @format GUID
|
|
2055
2097
|
*/
|
|
2056
2098
|
appId?: string;
|
|
2057
2099
|
/**
|
|
2058
|
-
*
|
|
2100
|
+
* Action key.
|
|
2101
|
+
*
|
|
2102
|
+
* This remains consistent across different automations.
|
|
2059
2103
|
* @minLength 1
|
|
2060
2104
|
* @maxLength 100
|
|
2061
2105
|
*/
|
|
2062
2106
|
actionKey?: string;
|
|
2063
|
-
/**
|
|
2107
|
+
/** Error type. */
|
|
2064
2108
|
errorType?: ValidationErrorTypeWithLiterals;
|
|
2065
|
-
/**
|
|
2109
|
+
/** Error severity. */
|
|
2066
2110
|
errorSeverity?: SeverityWithLiterals;
|
|
2067
2111
|
}
|
|
2068
2112
|
/** @oneof */
|
|
2069
2113
|
interface ActionValidationErrorErrorOneOf {
|
|
2070
|
-
/**
|
|
2114
|
+
/** Error found in the [configuration of the action in the automation](https://dev.wix.com/docs/api-reference/business-management/automations/automations/automations-v2/configure-your-automation#configuring-actions). */
|
|
2071
2115
|
configurationError?: ActionConfigurationError;
|
|
2072
|
-
/**
|
|
2116
|
+
/** Error found in the configuration of the action as added by the [action provider](https://dev.wix.com/docs/api-reference/business-management/automations/actions/action-provider-service-plugin/introduction). */
|
|
2073
2117
|
providerConfigurationError?: ProviderConfigurationError;
|
|
2074
2118
|
}
|
|
2075
2119
|
declare enum ValidationErrorType {
|
|
2076
2120
|
UNKNOWN_VALIDATION_ERROR_TYPE = "UNKNOWN_VALIDATION_ERROR_TYPE",
|
|
2077
|
-
/**
|
|
2121
|
+
/** Error in the [action configuration](https://dev.wix.com/docs/api-reference/business-management/automations/automations/automations-v2/configure-your-automation#configuring-actions). */
|
|
2078
2122
|
CONFIGURATION_ERROR = "CONFIGURATION_ERROR",
|
|
2079
|
-
/**
|
|
2123
|
+
/** Error in the [action provider configuration](https://dev.wix.com/docs/api-reference/business-management/automations/actions/action-provider-service-plugin/introduction). */
|
|
2080
2124
|
PROVIDER_ERROR = "PROVIDER_ERROR"
|
|
2081
2125
|
}
|
|
2082
2126
|
/** @enumType */
|
|
2083
2127
|
type ValidationErrorTypeWithLiterals = ValidationErrorType | 'UNKNOWN_VALIDATION_ERROR_TYPE' | 'CONFIGURATION_ERROR' | 'PROVIDER_ERROR';
|
|
2084
2128
|
interface ActionConfigurationError {
|
|
2085
|
-
/**
|
|
2129
|
+
/** Error type. */
|
|
2086
2130
|
errorType?: ActionErrorTypeWithLiterals;
|
|
2087
2131
|
}
|
|
2088
2132
|
declare enum ActionErrorType {
|
|
2089
2133
|
UNKNOWN_ACTION_ERROR_TYPE = "UNKNOWN_ACTION_ERROR_TYPE",
|
|
2090
|
-
/**
|
|
2134
|
+
/** Action was not found. */
|
|
2091
2135
|
NOT_FOUND = "NOT_FOUND",
|
|
2092
|
-
/**
|
|
2136
|
+
/** Required app is not installed on the site. */
|
|
2093
2137
|
APP_NOT_INSTALLED = "APP_NOT_INSTALLED",
|
|
2094
2138
|
/** Invalid action key. */
|
|
2095
2139
|
INVALID_ACTION_KEY = "INVALID_ACTION_KEY",
|
|
2096
|
-
/**
|
|
2140
|
+
/**
|
|
2141
|
+
* Invalid action mapping.
|
|
2142
|
+
*
|
|
2143
|
+
* At least one action parameter doesn't match the action's [input](https://dev.wix.com/docs/api-reference/business-management/automations/actions/about-actions#understanding-input-mapping) or other schema.
|
|
2144
|
+
*/
|
|
2097
2145
|
INVALID_MAPPING = "INVALID_MAPPING",
|
|
2098
|
-
/**
|
|
2146
|
+
/**
|
|
2147
|
+
* Action mapping type mismatch.
|
|
2148
|
+
*
|
|
2149
|
+
* The type of at least one action parameter does not match the type configured in the action's [input](https://dev.wix.com/docs/api-reference/business-management/automations/actions/the-action-input-schema) or other schema.
|
|
2150
|
+
*/
|
|
2099
2151
|
MAPPING_TYPE_MISMATCH = "MAPPING_TYPE_MISMATCH",
|
|
2100
|
-
/**
|
|
2152
|
+
/**
|
|
2153
|
+
* Action mapping missing a required schema field.
|
|
2154
|
+
*
|
|
2155
|
+
* At least one field included in the action schema's [`required` array](https://dev.wix.com/docs/api-reference/business-management/automations/actions/the-action-input-schema#top-level-properties) is missing a matching action parameter.
|
|
2156
|
+
*/
|
|
2101
2157
|
MAPPING_MISSING_REQUIRED_FIELD = "MAPPING_MISSING_REQUIRED_FIELD",
|
|
2102
|
-
/**
|
|
2158
|
+
/**
|
|
2159
|
+
* Action schema mapping mismatch.
|
|
2160
|
+
*
|
|
2161
|
+
* The format or value of at least one action parameter does not match the action's [input](https://dev.wix.com/docs/api-reference/business-management/automations/actions/the-action-input-schema) or other schema.
|
|
2162
|
+
*/
|
|
2103
2163
|
MAPPING_SCHEMA_MISMATCH = "MAPPING_SCHEMA_MISMATCH",
|
|
2104
|
-
/**
|
|
2164
|
+
/** Action uses a variable not available to it in the current automation. */
|
|
2105
2165
|
MAPPING_VARIABLE_MISSING_FROM_SCHEMA = "MAPPING_VARIABLE_MISSING_FROM_SCHEMA",
|
|
2106
|
-
/**
|
|
2166
|
+
/**
|
|
2167
|
+
* Configured post action not found.
|
|
2168
|
+
*
|
|
2169
|
+
* Learn more about [configuring actions](https://dev.wix.com/docs/api-reference/business-management/automations/automations/automations-v2/configure-your-automation#configuring-actions) in an automation.
|
|
2170
|
+
*/
|
|
2107
2171
|
POST_ACTION_NOT_FOUND = "POST_ACTION_NOT_FOUND"
|
|
2108
2172
|
}
|
|
2109
2173
|
/** @enumType */
|
|
2110
2174
|
type ActionErrorTypeWithLiterals = ActionErrorType | 'UNKNOWN_ACTION_ERROR_TYPE' | 'NOT_FOUND' | 'APP_NOT_INSTALLED' | 'INVALID_ACTION_KEY' | 'INVALID_MAPPING' | 'MAPPING_TYPE_MISMATCH' | 'MAPPING_MISSING_REQUIRED_FIELD' | 'MAPPING_SCHEMA_MISMATCH' | 'MAPPING_VARIABLE_MISSING_FROM_SCHEMA' | 'POST_ACTION_NOT_FOUND';
|
|
2111
2175
|
interface AutomationValidationError extends AutomationValidationErrorErrorOneOf {
|
|
2112
|
-
/**
|
|
2176
|
+
/** Error caused by an error in the automation's [configuration](https://dev.wix.com/docs/api-reference/business-management/automations/automations/automations-v2/configure-your-automation). */
|
|
2113
2177
|
configurationError?: AutomationConfigurationError;
|
|
2114
|
-
/**
|
|
2178
|
+
/** Error caused by an error in how the [trigger](https://dev.wix.com/docs/api-reference/business-management/automations/triggers/trigger-provider-service-plugin/introduction) or [action provider](https://dev.wix.com/docs/api-reference/business-management/automations/actions/action-provider-service-plugin/introduction) configured their trigger or action. */
|
|
2115
2179
|
providerConfigurationError?: ProviderConfigurationError;
|
|
2116
|
-
/**
|
|
2180
|
+
/** Error type. */
|
|
2117
2181
|
errorType?: AutomationValidationErrorValidationErrorTypeWithLiterals;
|
|
2118
|
-
/**
|
|
2182
|
+
/** Error severity. */
|
|
2119
2183
|
errorSeverity?: SeverityWithLiterals;
|
|
2120
2184
|
}
|
|
2121
2185
|
/** @oneof */
|
|
2122
2186
|
interface AutomationValidationErrorErrorOneOf {
|
|
2123
|
-
/**
|
|
2187
|
+
/** Error caused by an error in the automation's [configuration](https://dev.wix.com/docs/api-reference/business-management/automations/automations/automations-v2/configure-your-automation). */
|
|
2124
2188
|
configurationError?: AutomationConfigurationError;
|
|
2125
|
-
/**
|
|
2189
|
+
/** Error caused by an error in how the [trigger](https://dev.wix.com/docs/api-reference/business-management/automations/triggers/trigger-provider-service-plugin/introduction) or [action provider](https://dev.wix.com/docs/api-reference/business-management/automations/actions/action-provider-service-plugin/introduction) configured their trigger or action. */
|
|
2126
2190
|
providerConfigurationError?: ProviderConfigurationError;
|
|
2127
2191
|
}
|
|
2128
2192
|
declare enum AutomationValidationErrorValidationErrorType {
|
|
2129
2193
|
UNKNOWN_VALIDATION_ERROR_TYPE = "UNKNOWN_VALIDATION_ERROR_TYPE",
|
|
2194
|
+
/** Automation-level error caused by an error in the automation's configuration. */
|
|
2130
2195
|
CONFIGURATION_ERROR = "CONFIGURATION_ERROR",
|
|
2196
|
+
/** Error caused by an error in how the [trigger](https://dev.wix.com/docs/api-reference/business-management/automations/triggers/trigger-provider-service-plugin/introduction) or [action provider](https://dev.wix.com/docs/api-reference/business-management/automations/actions/action-provider-service-plugin/introduction) configured the automation. */
|
|
2131
2197
|
PROVIDER_ERROR = "PROVIDER_ERROR"
|
|
2132
2198
|
}
|
|
2133
2199
|
/** @enumType */
|
|
@@ -2154,12 +2220,12 @@ interface ValidateAutomationByIdResponse {
|
|
|
2154
2220
|
/** Automation validation status. */
|
|
2155
2221
|
status?: ValidationResultStatusWithLiterals;
|
|
2156
2222
|
/**
|
|
2157
|
-
*
|
|
2223
|
+
* Errors found in the trigger configuration.
|
|
2158
2224
|
* @maxSize 100
|
|
2159
2225
|
*/
|
|
2160
2226
|
triggerValidationErrors?: TriggerValidationError[];
|
|
2161
2227
|
/**
|
|
2162
|
-
*
|
|
2228
|
+
* Errors found in the configuration of one or more of the automation's actions.
|
|
2163
2229
|
* @maxSize 100
|
|
2164
2230
|
*/
|
|
2165
2231
|
actionValidationErrors?: ActionValidationError[];
|
|
@@ -2696,7 +2762,87 @@ interface AutomationsQueryBuilder {
|
|
|
2696
2762
|
* @fqn wix.automations.v2.AutomationsService.QueryAutomations
|
|
2697
2763
|
* @requiredField query
|
|
2698
2764
|
*/
|
|
2699
|
-
declare function typedQueryAutomations(query:
|
|
2765
|
+
declare function typedQueryAutomations(query: AutomationQuery, options?: QueryAutomationsOptions): Promise<NonNullablePaths<QueryAutomationsResponse, `automations` | `automations.${number}.applicationInfo.appId` | `automations.${number}.preinstalledInfo.appId` | `automations.${number}.createdBy.userId` | `automations.${number}.createdBy.appId` | `automations.${number}.name` | `automations.${number}.configuration.status` | `automations.${number}.configuration.trigger.appId` | `automations.${number}.configuration.trigger.triggerKey` | `automations.${number}.origin` | `automations.${number}.settings.hidden` | `automations.${number}.settings.readonly` | `automations.${number}.settings.disableDelete` | `automations.${number}.settings.disableStatusChange` | `automations.${number}.archived`, 6>>;
|
|
2766
|
+
interface AutomationQuerySpec extends QuerySpec {
|
|
2767
|
+
paging: 'cursor';
|
|
2768
|
+
wql: [
|
|
2769
|
+
{
|
|
2770
|
+
fields: [
|
|
2771
|
+
'configuration.trigger.filterValueSelection.selectedFilterValues',
|
|
2772
|
+
'configuration.trigger.filters',
|
|
2773
|
+
'settings.actionSettings.permanentActionIds',
|
|
2774
|
+
'settings.actionSettings.readonlyActionIds'
|
|
2775
|
+
];
|
|
2776
|
+
operators: ['$hasAll', '$hasSome'];
|
|
2777
|
+
sort: 'BOTH';
|
|
2778
|
+
},
|
|
2779
|
+
{
|
|
2780
|
+
fields: [
|
|
2781
|
+
'archived',
|
|
2782
|
+
'configuration.status',
|
|
2783
|
+
'configuration.trigger.appId',
|
|
2784
|
+
'configuration.trigger.triggerKey',
|
|
2785
|
+
'createdBy.appId',
|
|
2786
|
+
'name',
|
|
2787
|
+
'origin',
|
|
2788
|
+
'settings',
|
|
2789
|
+
'settings.actionSettings',
|
|
2790
|
+
'settings.disableDelete',
|
|
2791
|
+
'settings.disableStatusChange',
|
|
2792
|
+
'settings.readonly'
|
|
2793
|
+
];
|
|
2794
|
+
operators: '*';
|
|
2795
|
+
sort: 'BOTH';
|
|
2796
|
+
}
|
|
2797
|
+
];
|
|
2798
|
+
}
|
|
2799
|
+
type CommonQueryWithEntityContext = Query<Automation, AutomationQuerySpec>;
|
|
2800
|
+
type AutomationQuery = {
|
|
2801
|
+
/**
|
|
2802
|
+
Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`.
|
|
2803
|
+
*/
|
|
2804
|
+
cursorPaging?: {
|
|
2805
|
+
/**
|
|
2806
|
+
Maximum number of items to return in the results.
|
|
2807
|
+
@max: 500
|
|
2808
|
+
*/
|
|
2809
|
+
limit?: NonNullable<CommonQueryWithEntityContext['cursorPaging']>['limit'] | null;
|
|
2810
|
+
/**
|
|
2811
|
+
Pointer to the next or previous page in the list of results.
|
|
2812
|
+
|
|
2813
|
+
Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
2814
|
+
Not relevant for the first request.
|
|
2815
|
+
@maxLength: 64000
|
|
2816
|
+
*/
|
|
2817
|
+
cursor?: NonNullable<CommonQueryWithEntityContext['cursorPaging']>['cursor'] | null;
|
|
2818
|
+
};
|
|
2819
|
+
/**
|
|
2820
|
+
Filter object in the following format:
|
|
2821
|
+
`"filter" : {
|
|
2822
|
+
"fieldName1": "value1",
|
|
2823
|
+
"fieldName2": { "$operator": "value2" }
|
|
2824
|
+
}`
|
|
2825
|
+
|
|
2826
|
+
Learn more about [API Query Language](https://dev.wix.com/docs/rest/articles/get-started/api-query-language).
|
|
2827
|
+
*/
|
|
2828
|
+
filter?: CommonQueryWithEntityContext['filter'] | null;
|
|
2829
|
+
/**
|
|
2830
|
+
Sort configuration in the following format:
|
|
2831
|
+
`[{ "fieldName": "sortField1", "order": "ASC" }, { "fieldName":" sortField2", "order": "DESC" }]`
|
|
2832
|
+
@maxSize: 5
|
|
2833
|
+
*/
|
|
2834
|
+
sort?: {
|
|
2835
|
+
/**
|
|
2836
|
+
Name of the field to sort by.
|
|
2837
|
+
@maxLength: 512
|
|
2838
|
+
*/
|
|
2839
|
+
fieldName?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['fieldName'];
|
|
2840
|
+
/**
|
|
2841
|
+
Sort order.
|
|
2842
|
+
*/
|
|
2843
|
+
order?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['order'];
|
|
2844
|
+
}[];
|
|
2845
|
+
};
|
|
2700
2846
|
/**
|
|
2701
2847
|
* Get aggregated info
|
|
2702
2848
|
* @public
|
|
@@ -2940,7 +3086,15 @@ declare function deleteDraftAutomation(automationId: string): Promise<void>;
|
|
|
2940
3086
|
*/
|
|
2941
3087
|
declare function publishDraftAutomation(automationId: string): Promise<NonNullablePaths<PublishDraftAutomationResponse, `automation.applicationInfo.appId` | `automation.preinstalledInfo.appId` | `automation.createdBy.userId` | `automation.createdBy.appId` | `automation.name` | `automation.configuration.status` | `automation.configuration.trigger.appId` | `automation.configuration.trigger.triggerKey` | `automation.configuration.trigger.filters` | `automation.configuration.trigger.filters.${number}._id` | `automation.configuration.trigger.filters.${number}.fieldKey` | `automation.configuration.trigger.filters.${number}.filterExpression` | `automation.configuration.trigger.scheduledEventOffset.preScheduledEventOffsetExpression` | `automation.configuration.trigger.scheduledEventOffset.scheduledEventOffsetTimeUnit` | `automation.configuration.trigger.rateLimit.maxActivationsExpression` | `automation.configuration.trigger.rateLimit.durationTimeUnit` | `automation.configuration.rootActionIds` | `automation.origin` | `automation.settings.hidden` | `automation.settings.readonly` | `automation.settings.disableDelete` | `automation.settings.disableStatusChange` | `automation.settings.actionSettings.permanentActionIds` | `automation.settings.actionSettings.readonlyActionIds` | `automation.archived`, 7>>;
|
|
2942
3088
|
/**
|
|
2943
|
-
* Validates
|
|
3089
|
+
* Validates an automation. A valid automation has no validation errors.
|
|
3090
|
+
*
|
|
3091
|
+
* This method:
|
|
3092
|
+
*
|
|
3093
|
+
* - Validates that the [trigger is properly configured](https://dev.wix.com/docs/api-reference/business-management/automations/automations/automations-v2/configure-your-automation#configuring-the-trigger).
|
|
3094
|
+
* - Validates that all [actions are properly configured](https://dev.wix.com/docs/api-reference/business-management/automations/automations/automations-v2/configure-your-automation#configuring-actions) with correct [input](https://dev.wix.com/docs/api-reference/business-management/automations/actions/about-actions#understanding-input-mapping) and other mappings.
|
|
3095
|
+
* - Validates custom logic added by [trigger](https://dev.wix.com/docs/api-reference/business-management/automations/triggers/trigger-provider-service-plugin/validate-configuration) and [action providers](https://dev.wix.com/docs/api-reference/business-management/automations/actions/action-provider-service-plugin/validate-configuration).
|
|
3096
|
+
*
|
|
3097
|
+
* > **Note**: This method identifies configuration errors but doesn't fix them. It does not modify the automation.
|
|
2944
3098
|
* @param automation - Automation to validate.
|
|
2945
3099
|
* @public
|
|
2946
3100
|
* @documentationMaturity preview
|
|
@@ -2951,7 +3105,13 @@ declare function publishDraftAutomation(automationId: string): Promise<NonNullab
|
|
|
2951
3105
|
*/
|
|
2952
3106
|
declare function validateAutomation(automation: Automation, options?: ValidateAutomationOptions): Promise<NonNullablePaths<ValidateAutomationResponse, `status` | `triggerValidationErrors` | `triggerValidationErrors.${number}.configurationError.errorType` | `triggerValidationErrors.${number}.providerConfigurationError.message` | `triggerValidationErrors.${number}.providerConfigurationError.title` | `triggerValidationErrors.${number}.errorType` | `triggerValidationErrors.${number}.errorSeverity` | `actionValidationErrors` | `actionValidationErrors.${number}.configurationError.errorType` | `actionValidationErrors.${number}.providerConfigurationError.message` | `actionValidationErrors.${number}.providerConfigurationError.title` | `actionValidationErrors.${number}.actionId` | `actionValidationErrors.${number}.appId` | `actionValidationErrors.${number}.actionKey` | `actionValidationErrors.${number}.errorType` | `actionValidationErrors.${number}.errorSeverity`, 5>>;
|
|
2953
3107
|
interface ValidateAutomationOptions {
|
|
2954
|
-
/**
|
|
3108
|
+
/**
|
|
3109
|
+
* Validation settings.
|
|
3110
|
+
*
|
|
3111
|
+
* When not specified, the method validates the full automation. This includes the trigger, actions, and provider validation logic.
|
|
3112
|
+
*
|
|
3113
|
+
* > **Note**: Trigger and action providers can add custom validation logic by implementing the Validate Configuration method in the [trigger](https://dev.wix.com/docs/api-reference/business-management/automations/triggers/trigger-provider-service-plugin/validate-configuration) and [action service plugins](https://dev.wix.com/docs/api-reference/business-management/automations/actions/action-provider-service-plugin/validate-configuration).
|
|
3114
|
+
*/
|
|
2955
3115
|
validationSettings?: ValidationSettings;
|
|
2956
3116
|
}
|
|
2957
3117
|
/**
|
|
@@ -2990,4 +3150,4 @@ interface GetAutomationRevisionOptions {
|
|
|
2990
3150
|
fields?: RequestedFieldsWithLiterals[];
|
|
2991
3151
|
}
|
|
2992
3152
|
|
|
2993
|
-
export { type AIMetadata, type Action, type ActionConfigurationError, ActionErrorType, type ActionErrorTypeWithLiterals, type ActionEvent, type ActionInfoOneOf, type ActionProviderQuotaInfo, type ActionQuotaInfo, type ActionSettings, type ActionUsageSummary, type ActionValidationError, type ActionValidationErrorErrorOneOf, type ActionValidationInfo, type AdditionalInfo, type AppDefinedAction, type ApplicationError, type ApplicationOrigin, type Asset, type AuditInfo, type AuditInfoIdOneOf, type AutoArchivePolicy, type Automation, type AutomationConfiguration, type AutomationConfigurationError, type AutomationCreatedEnvelope, type AutomationDeletedEnvelope, AutomationErrorType, type AutomationErrorTypeWithLiterals, type AutomationOriginInfoOneOf, type AutomationSettings, type AutomationUpdatedEnvelope, type AutomationValidationError, type AutomationValidationErrorErrorOneOf, AutomationValidationErrorValidationErrorType, type AutomationValidationErrorValidationErrorTypeWithLiterals, type AutomationsQueryBuilder, type AutomationsQueryResult, type BaseEventMetadata, type BulkActionMetadata, type BulkCountAutomationsWithDraftsOptions, type BulkCountAutomationsWithDraftsRequest, type BulkCountAutomationsWithDraftsResponse, type BulkDeleteAutomationsRequest, type BulkDeleteAutomationsResponse, type BulkDeleteResult, type CTA, type CodeConditionAction, type CodeSnippet, type ConditionAction, type ConditionExpressionGroup, type CopyAutomationOptions, type CopyAutomationRequest, type CopyAutomationResponse, type CreateAutomationRequest, type CreateAutomationResponse, type CreateDraftAutomationOptions, type CreateDraftAutomationRequest, type CreateDraftAutomationResponse, type CreatePreinstalledAutomationRequest, type CreatePreinstalledAutomationResponse, type CreatedByAppIdUsageSummary, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type DelayAction, type DeleteAutomationRequest, type DeleteAutomationResponse, type DeleteContext, type DeleteDraftAutomationRequest, type DeleteDraftAutomationResponse, type DeletePreinstalledAutomationRequest, type DeletePreinstalledAutomationResponse, DeleteStatus, type DeleteStatusWithLiterals, type Dimensions, Domain, type DomainEvent, type DomainEventBodyOneOf, type DomainWithLiterals, type DraftInfo, type DraftPublished, type DraftsInfo, type Empty, type Enrichment, type Enrichments, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type Filter, type FilterValueSelection, type FilterableAppDefinedActions, type FutureDateActivationOffset, type GeneratePreinstalledAutomationOptions, type GeneratePreinstalledAutomationRequest, type GeneratePreinstalledAutomationResponse, type GetActionsQuotaInfoRequest, type GetActionsQuotaInfoResponse, type GetAggregatedUsageInfoOptions, type GetAggregatedUsageInfoRequest, type GetAggregatedUsageInfoResponse, type GetAutomationActionSchemaRequest, type GetAutomationActionSchemaResponse, type GetAutomationRequest, type GetAutomationResponse, type GetAutomationRevisionOptions, type GetAutomationRevisionRequest, type GetAutomationRevisionResponse, type GetOrCreateDraftAutomationRequest, type GetOrCreateDraftAutomationResponse, type IdentificationData, type IdentificationDataIdOneOf, type ItemMetadata, Language, type LanguageWithLiterals, type MergeOverridePreinstalledWithRuntimeVersionRequest, type MergeOverridePreinstalledWithRuntimeVersionResponse, type MessageEnvelope, type MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf, type MigrateVeloActionAutomationsRequest, type MigrateVeloActionAutomationsResponse, Namespace, type NamespaceChanged, type NamespaceWithLiterals, type Note, type Notes, type OdeditorAssigned, type OdeditorUnassigned, type Offset, Operator, type OperatorWithLiterals, Origin, type OriginAutomationInfo, type OriginWithLiterals, type OutputAction, type Path, type PicassoAssigned, type PicassoUnassigned, type Plan, type Position, type PreinstalledAutomationSpecInfo, type PreinstalledOrigin, type ProviderConfigurationError, type PublishDraftAutomationRequest, type PublishDraftAutomationResponse, type QueryAutomationsOptions, type QueryAutomationsRequest, type QueryAutomationsResponse, type QueryAutomationsWithDraftsOptions, type QueryAutomationsWithDraftsRequest, type QueryAutomationsWithDraftsResponse, type QueryDraftAutomationsRequest, type QueryDraftAutomationsResponse, type QueryPreinstalledAutomationsForAppRequest, type QueryPreinstalledAutomationsForAppResponse, type QueryPreinstalledAutomationsRequest, type QueryPreinstalledAutomationsResponse, type Quota, type QuotaInfo, type RateLimit, type RateLimitAction, RequestedFields, type RequestedFieldsWithLiterals, type RestoreInfo, type ServiceProvisioned, type ServiceRemoved, type SetVariablesAction, Severity, type SeverityWithLiterals, type SiteCreated, SiteCreatedContext, type SiteCreatedContextWithLiterals, type SiteDeleted, type SiteHardDeleted, type SiteMarkedAsTemplate, type SiteMarkedAsWixSite, type SitePublished, type SitePurgedExternally, type SiteRenamed, type SiteTransferred, type SiteUndeleted, type SiteUnpublished, type SiteUrlChanged, SortOrder, type SortOrderWithLiterals, type Sorting, type SplitAction, State, type StateWithLiterals, Status, type StatusWithLiterals, type StudioAssigned, type StudioTwoAssigned, type StudioTwoUnassigned, type StudioUnassigned, TimeUnit, type TimeUnitWithLiterals, type Trigger, type TriggerConfigurationError, TriggerErrorType, type TriggerErrorTypeWithLiterals, type TriggerSettings, type TriggerUsageSummary, type TriggerValidationError, type TriggerValidationErrorErrorOneOf, TriggerValidationErrorValidationErrorType, type TriggerValidationErrorValidationErrorTypeWithLiterals, Type, type TypeWithLiterals, type UpdateAutomation, type UpdateAutomationRequest, type UpdateAutomationResponse, type UpdateDraftAutomation, type UpdateDraftAutomationRequest, type UpdateDraftAutomationResponse, type UpdatePreinstalledAutomationRequest, type UpdatePreinstalledAutomationResponse, type UpgradeCTA, type ValidateAutomationByIdOptions, type ValidateAutomationByIdRequest, type ValidateAutomationByIdResponse, type ValidateAutomationOptions, type ValidateAutomationRequest, type ValidateAutomationResponse, ValidationErrorSeverity, type ValidationErrorSeverityWithLiterals, ValidationErrorType, type ValidationErrorTypeWithLiterals, ValidationResultStatus, type ValidationResultStatusWithLiterals, type ValidationSettings, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type WixelAssigned, type WixelUnassigned, bulkCountAutomationsWithDrafts, bulkDeleteAutomations, copyAutomation, createAutomation, createDraftAutomation, deleteAutomation, deleteDraftAutomation, generatePreinstalledAutomation, getAggregatedUsageInfo, getAutomation, getAutomationRevision, getOrCreateDraftAutomation, onAutomationCreated, onAutomationDeleted, onAutomationUpdated, publishDraftAutomation, queryAutomations, queryAutomationsWithDrafts, typedQueryAutomations, updateAutomation, updateDraftAutomation, validateAutomation, validateAutomationById };
|
|
3153
|
+
export { type AIMetadata, type Action, type ActionConfigurationError, ActionErrorType, type ActionErrorTypeWithLiterals, type ActionEvent, type ActionInfoOneOf, type ActionProviderQuotaInfo, type ActionQuotaInfo, type ActionSettings, type ActionUsageSummary, type ActionValidationError, type ActionValidationErrorErrorOneOf, type ActionValidationInfo, type AdditionalInfo, type AppDefinedAction, type ApplicationError, type ApplicationOrigin, type Asset, type AuditInfo, type AuditInfoIdOneOf, type AutoArchivePolicy, type Automation, type AutomationConfiguration, type AutomationConfigurationError, type AutomationCreatedEnvelope, type AutomationDeletedEnvelope, AutomationErrorType, type AutomationErrorTypeWithLiterals, type AutomationOriginInfoOneOf, type AutomationQuery, type AutomationQuerySpec, type AutomationSettings, type AutomationUpdatedEnvelope, type AutomationValidationError, type AutomationValidationErrorErrorOneOf, AutomationValidationErrorValidationErrorType, type AutomationValidationErrorValidationErrorTypeWithLiterals, type AutomationsQueryBuilder, type AutomationsQueryResult, type BaseEventMetadata, type BulkActionMetadata, type BulkCountAutomationsWithDraftsOptions, type BulkCountAutomationsWithDraftsRequest, type BulkCountAutomationsWithDraftsResponse, type BulkDeleteAutomationsRequest, type BulkDeleteAutomationsResponse, type BulkDeleteResult, type CTA, type CodeConditionAction, type CodeSnippet, type CommonQueryWithEntityContext, type ConditionAction, type ConditionExpressionGroup, type CopyAutomationOptions, type CopyAutomationRequest, type CopyAutomationResponse, type CreateAutomationRequest, type CreateAutomationResponse, type CreateDraftAutomationOptions, type CreateDraftAutomationRequest, type CreateDraftAutomationResponse, type CreatePreinstalledAutomationRequest, type CreatePreinstalledAutomationResponse, type CreatedByAppIdUsageSummary, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type DelayAction, type DeleteAutomationRequest, type DeleteAutomationResponse, type DeleteContext, type DeleteDraftAutomationRequest, type DeleteDraftAutomationResponse, type DeletePreinstalledAutomationRequest, type DeletePreinstalledAutomationResponse, DeleteStatus, type DeleteStatusWithLiterals, type Dimensions, Domain, type DomainEvent, type DomainEventBodyOneOf, type DomainWithLiterals, type DraftInfo, type DraftPublished, type DraftsInfo, type Empty, type Enrichment, type Enrichments, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type Filter, type FilterValueSelection, type FilterableAppDefinedActions, type FutureDateActivationOffset, type GeneratePreinstalledAutomationOptions, type GeneratePreinstalledAutomationRequest, type GeneratePreinstalledAutomationResponse, type GetActionsQuotaInfoRequest, type GetActionsQuotaInfoResponse, type GetAggregatedUsageInfoOptions, type GetAggregatedUsageInfoRequest, type GetAggregatedUsageInfoResponse, type GetAutomationActionSchemaRequest, type GetAutomationActionSchemaResponse, type GetAutomationRequest, type GetAutomationResponse, type GetAutomationRevisionOptions, type GetAutomationRevisionRequest, type GetAutomationRevisionResponse, type GetOrCreateDraftAutomationRequest, type GetOrCreateDraftAutomationResponse, type IdentificationData, type IdentificationDataIdOneOf, type ItemMetadata, Language, type LanguageWithLiterals, type MergeOverridePreinstalledWithRuntimeVersionRequest, type MergeOverridePreinstalledWithRuntimeVersionResponse, type MessageEnvelope, type MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf, type MigrateVeloActionAutomationsRequest, type MigrateVeloActionAutomationsResponse, Namespace, type NamespaceChanged, type NamespaceWithLiterals, type Note, type Notes, type OdeditorAssigned, type OdeditorUnassigned, type Offset, Operator, type OperatorWithLiterals, Origin, type OriginAutomationInfo, type OriginWithLiterals, type OutputAction, type Path, type PicassoAssigned, type PicassoUnassigned, type Plan, type Position, type PreinstalledAutomationSpecInfo, type PreinstalledOrigin, type ProviderConfigurationError, type PublishDraftAutomationRequest, type PublishDraftAutomationResponse, type QueryAutomationsOptions, type QueryAutomationsRequest, type QueryAutomationsResponse, type QueryAutomationsWithDraftsOptions, type QueryAutomationsWithDraftsRequest, type QueryAutomationsWithDraftsResponse, type QueryDraftAutomationsRequest, type QueryDraftAutomationsResponse, type QueryPreinstalledAutomationsForAppRequest, type QueryPreinstalledAutomationsForAppResponse, type QueryPreinstalledAutomationsRequest, type QueryPreinstalledAutomationsResponse, type Quota, type QuotaInfo, type RateLimit, type RateLimitAction, RequestedFields, type RequestedFieldsWithLiterals, type RestoreInfo, type ServiceProvisioned, type ServiceRemoved, type SetVariablesAction, Severity, type SeverityWithLiterals, type SiteCreated, SiteCreatedContext, type SiteCreatedContextWithLiterals, type SiteDeleted, type SiteHardDeleted, type SiteMarkedAsTemplate, type SiteMarkedAsWixSite, type SitePublished, type SitePurgedExternally, type SiteRenamed, type SiteTransferred, type SiteUndeleted, type SiteUnpublished, type SiteUrlChanged, SortOrder, type SortOrderWithLiterals, type Sorting, type SplitAction, State, type StateWithLiterals, Status, type StatusWithLiterals, type StudioAssigned, type StudioTwoAssigned, type StudioTwoUnassigned, type StudioUnassigned, TimeUnit, type TimeUnitWithLiterals, type Trigger, type TriggerConfigurationError, TriggerErrorType, type TriggerErrorTypeWithLiterals, type TriggerSettings, type TriggerUsageSummary, type TriggerValidationError, type TriggerValidationErrorErrorOneOf, TriggerValidationErrorValidationErrorType, type TriggerValidationErrorValidationErrorTypeWithLiterals, Type, type TypeWithLiterals, type UpdateAutomation, type UpdateAutomationRequest, type UpdateAutomationResponse, type UpdateDraftAutomation, type UpdateDraftAutomationRequest, type UpdateDraftAutomationResponse, type UpdatePreinstalledAutomationRequest, type UpdatePreinstalledAutomationResponse, type UpgradeCTA, type ValidateAutomationByIdOptions, type ValidateAutomationByIdRequest, type ValidateAutomationByIdResponse, type ValidateAutomationOptions, type ValidateAutomationRequest, type ValidateAutomationResponse, ValidationErrorSeverity, type ValidationErrorSeverityWithLiterals, ValidationErrorType, type ValidationErrorTypeWithLiterals, ValidationResultStatus, type ValidationResultStatusWithLiterals, type ValidationSettings, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type WixelAssigned, type WixelUnassigned, bulkCountAutomationsWithDrafts, bulkDeleteAutomations, copyAutomation, createAutomation, createDraftAutomation, deleteAutomation, deleteDraftAutomation, generatePreinstalledAutomation, getAggregatedUsageInfo, getAutomation, getAutomationRevision, getOrCreateDraftAutomation, onAutomationCreated, onAutomationDeleted, onAutomationUpdated, publishDraftAutomation, queryAutomations, queryAutomationsWithDrafts, typedQueryAutomations, updateAutomation, updateDraftAutomation, validateAutomation, validateAutomationById };
|