@wix/auto_sdk_automations_automations-v-2 1.0.77 → 1.0.79

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.
@@ -1901,7 +1901,7 @@ interface ValidateAutomationRequest {
1901
1901
  /**
1902
1902
  * Validation settings.
1903
1903
  *
1904
- * When not specified, validates the full automation including trigger, actions, and provider validations.
1904
+ * When not specified, the method validates the full automation. This includes the trigger, actions, and provider validation logic.
1905
1905
  *
1906
1906
  * > **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).
1907
1907
  */
@@ -1911,7 +1911,9 @@ interface ValidationSettings {
1911
1911
  /**
1912
1912
  * IDs of actions to validate.
1913
1913
  *
1914
- * When specified, only these actions are validated. When empty, the full automation is validated including the trigger. Any validations added by the [trigger](https://dev.wix.com/docs/api-reference/business-management/automations/triggers/trigger-provider-service-plugin/introduction) and [action providers](https://dev.wix.com/docs/api-reference/business-management/automations/actions/action-provider-service-plugin/introduction) are also performed.
1914
+ * When specified, only these actions are validated.
1915
+ *
1916
+ * 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).
1915
1917
  * @maxSize 30
1916
1918
  * @format GUID
1917
1919
  */
@@ -1927,12 +1929,12 @@ interface ValidateAutomationResponse {
1927
1929
  /** Validation status. */
1928
1930
  status?: ValidationResultStatusWithLiterals;
1929
1931
  /**
1930
- * Errors found in the automation's trigger.
1932
+ * Errors found in the automation's [trigger](https://dev.wix.com/docs/api-reference/business-management/automations/triggers/about-triggers).
1931
1933
  * @maxSize 100
1932
1934
  */
1933
1935
  triggerValidationErrors?: TriggerValidationError[];
1934
1936
  /**
1935
- * Errors found in the automation's actions.
1937
+ * 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).
1936
1938
  * @maxSize 100
1937
1939
  */
1938
1940
  actionValidationErrors?: ActionValidationError[];
@@ -1961,7 +1963,7 @@ declare enum ValidationResultStatus {
1961
1963
  /** @enumType */
1962
1964
  type ValidationResultStatusWithLiterals = ValidationResultStatus | 'UNKNOWN_STATUS' | 'VALID' | 'VALID_WITH_WARNINGS' | 'INVALID';
1963
1965
  interface TriggerValidationError extends TriggerValidationErrorErrorOneOf {
1964
- /** Error found in the automation's [trigger configuration](https://dev.wix.com/docs/api-reference/business-management/automations/triggers/about-triggers#trigger-configuration). */
1966
+ /** 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). */
1965
1967
  configurationError?: TriggerConfigurationError;
1966
1968
  /** 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. */
1967
1969
  providerConfigurationError?: ProviderConfigurationError;
@@ -1972,14 +1974,14 @@ interface TriggerValidationError extends TriggerValidationErrorErrorOneOf {
1972
1974
  }
1973
1975
  /** @oneof */
1974
1976
  interface TriggerValidationErrorErrorOneOf {
1975
- /** Error found in the automation's [trigger configuration](https://dev.wix.com/docs/api-reference/business-management/automations/triggers/about-triggers#trigger-configuration). */
1977
+ /** 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). */
1976
1978
  configurationError?: TriggerConfigurationError;
1977
1979
  /** 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. */
1978
1980
  providerConfigurationError?: ProviderConfigurationError;
1979
1981
  }
1980
1982
  declare enum TriggerValidationErrorValidationErrorType {
1981
1983
  UNKNOWN_VALIDATION_ERROR_TYPE = "UNKNOWN_VALIDATION_ERROR_TYPE",
1982
- /** Error found in the automation's [trigger configuration](https://dev.wix.com/docs/api-reference/business-management/automations/triggers/about-triggers#trigger-configuration). */
1984
+ /** 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). */
1983
1985
  CONFIGURATION_ERROR = "CONFIGURATION_ERROR",
1984
1986
  /** 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. */
1985
1987
  PROVIDER_ERROR = "PROVIDER_ERROR"
@@ -2020,15 +2022,15 @@ declare enum TriggerErrorType {
2020
2022
  /** @enumType */
2021
2023
  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';
2022
2024
  interface ProviderConfigurationError {
2023
- /** Key corresponding to the field in the schema. */
2025
+ /** Scheme field key. */
2024
2026
  fieldKey?: string | null;
2025
2027
  /** Error message. */
2026
2028
  message?: string;
2027
- /** Label for a call-to-action button that's displayed with the error. Translated according to the SPI language context. */
2029
+ /** Label for the call-to-action button displayed with the error. */
2028
2030
  ctaLabel?: string | null;
2029
- /** URL to redirect to when the call-to-action button is clicked. */
2031
+ /** When the call-to-action button is clicked, the redirect URL. */
2030
2032
  ctaUrl?: string | null;
2031
- /** Title for the error. */
2033
+ /** Error title. */
2032
2034
  title?: string;
2033
2035
  }
2034
2036
  declare enum ValidationErrorSeverity {
@@ -2119,9 +2121,9 @@ interface ActionValidationErrorErrorOneOf {
2119
2121
  }
2120
2122
  declare enum ValidationErrorType {
2121
2123
  UNKNOWN_VALIDATION_ERROR_TYPE = "UNKNOWN_VALIDATION_ERROR_TYPE",
2122
- /** Error found in how the [action is configured in the automation](https://dev.wix.com/docs/api-reference/business-management/automations/automations/automations-v2/configure-your-automation#configuring-actions). */
2124
+ /** Error in the [action configuration](https://dev.wix.com/docs/api-reference/business-management/automations/automations/automations-v2/configure-your-automation#configuring-actions). */
2123
2125
  CONFIGURATION_ERROR = "CONFIGURATION_ERROR",
2124
- /** Error found in how the [action provider](https://dev.wix.com/docs/api-reference/business-management/automations/actions/action-provider-service-plugin/introduction) configured their action. */
2126
+ /** Error in the [action provider configuration](https://dev.wix.com/docs/api-reference/business-management/automations/actions/action-provider-service-plugin/introduction). */
2125
2127
  PROVIDER_ERROR = "PROVIDER_ERROR"
2126
2128
  }
2127
2129
  /** @enumType */