@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.
@@ -1898,7 +1898,7 @@ interface ValidateAutomationRequest {
1898
1898
  /**
1899
1899
  * Validation settings.
1900
1900
  *
1901
- * When not specified, validates the full automation including trigger, actions, and provider validations.
1901
+ * When not specified, the method validates the full automation. This includes the trigger, actions, and provider validation logic.
1902
1902
  *
1903
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
1904
  */
@@ -1908,7 +1908,9 @@ interface ValidationSettings {
1908
1908
  /**
1909
1909
  * IDs of actions to validate.
1910
1910
  *
1911
- * 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.
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).
1912
1914
  * @maxSize 30
1913
1915
  * @format GUID
1914
1916
  */
@@ -1924,12 +1926,12 @@ interface ValidateAutomationResponse {
1924
1926
  /** Validation status. */
1925
1927
  status?: ValidationResultStatusWithLiterals;
1926
1928
  /**
1927
- * Errors found in the automation's trigger.
1929
+ * Errors found in the automation's [trigger](https://dev.wix.com/docs/api-reference/business-management/automations/triggers/about-triggers).
1928
1930
  * @maxSize 100
1929
1931
  */
1930
1932
  triggerValidationErrors?: TriggerValidationError[];
1931
1933
  /**
1932
- * Errors found in the automation's actions.
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).
1933
1935
  * @maxSize 100
1934
1936
  */
1935
1937
  actionValidationErrors?: ActionValidationError[];
@@ -1958,7 +1960,7 @@ declare enum ValidationResultStatus {
1958
1960
  /** @enumType */
1959
1961
  type ValidationResultStatusWithLiterals = ValidationResultStatus | 'UNKNOWN_STATUS' | 'VALID' | 'VALID_WITH_WARNINGS' | 'INVALID';
1960
1962
  interface TriggerValidationError extends TriggerValidationErrorErrorOneOf {
1961
- /** Error found in the automation's [trigger configuration](https://dev.wix.com/docs/api-reference/business-management/automations/triggers/about-triggers#trigger-configuration). */
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). */
1962
1964
  configurationError?: TriggerConfigurationError;
1963
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. */
1964
1966
  providerConfigurationError?: ProviderConfigurationError;
@@ -1969,14 +1971,14 @@ interface TriggerValidationError extends TriggerValidationErrorErrorOneOf {
1969
1971
  }
1970
1972
  /** @oneof */
1971
1973
  interface TriggerValidationErrorErrorOneOf {
1972
- /** Error found in the automation's [trigger configuration](https://dev.wix.com/docs/api-reference/business-management/automations/triggers/about-triggers#trigger-configuration). */
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). */
1973
1975
  configurationError?: TriggerConfigurationError;
1974
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. */
1975
1977
  providerConfigurationError?: ProviderConfigurationError;
1976
1978
  }
1977
1979
  declare enum TriggerValidationErrorValidationErrorType {
1978
1980
  UNKNOWN_VALIDATION_ERROR_TYPE = "UNKNOWN_VALIDATION_ERROR_TYPE",
1979
- /** Error found in the automation's [trigger configuration](https://dev.wix.com/docs/api-reference/business-management/automations/triggers/about-triggers#trigger-configuration). */
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). */
1980
1982
  CONFIGURATION_ERROR = "CONFIGURATION_ERROR",
1981
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. */
1982
1984
  PROVIDER_ERROR = "PROVIDER_ERROR"
@@ -2017,15 +2019,15 @@ declare enum TriggerErrorType {
2017
2019
  /** @enumType */
2018
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';
2019
2021
  interface ProviderConfigurationError {
2020
- /** Key corresponding to the field in the schema. */
2022
+ /** Scheme field key. */
2021
2023
  fieldKey?: string | null;
2022
2024
  /** Error message. */
2023
2025
  message?: string;
2024
- /** Label for a call-to-action button that's displayed with the error. Translated according to the SPI language context. */
2026
+ /** Label for the call-to-action button displayed with the error. */
2025
2027
  ctaLabel?: string | null;
2026
- /** URL to redirect to when the call-to-action button is clicked. */
2028
+ /** When the call-to-action button is clicked, the redirect URL. */
2027
2029
  ctaUrl?: string | null;
2028
- /** Title for the error. */
2030
+ /** Error title. */
2029
2031
  title?: string;
2030
2032
  }
2031
2033
  declare enum ValidationErrorSeverity {
@@ -2116,9 +2118,9 @@ interface ActionValidationErrorErrorOneOf {
2116
2118
  }
2117
2119
  declare enum ValidationErrorType {
2118
2120
  UNKNOWN_VALIDATION_ERROR_TYPE = "UNKNOWN_VALIDATION_ERROR_TYPE",
2119
- /** 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). */
2121
+ /** Error in the [action configuration](https://dev.wix.com/docs/api-reference/business-management/automations/automations/automations-v2/configure-your-automation#configuring-actions). */
2120
2122
  CONFIGURATION_ERROR = "CONFIGURATION_ERROR",
2121
- /** 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. */
2123
+ /** Error in the [action provider configuration](https://dev.wix.com/docs/api-reference/business-management/automations/actions/action-provider-service-plugin/introduction). */
2122
2124
  PROVIDER_ERROR = "PROVIDER_ERROR"
2123
2125
  }
2124
2126
  /** @enumType */
@@ -3026,7 +3028,7 @@ interface ValidateAutomationOptions {
3026
3028
  /**
3027
3029
  * Validation settings.
3028
3030
  *
3029
- * When not specified, validates the full automation including trigger, actions, and provider validations.
3031
+ * When not specified, the method validates the full automation. This includes the trigger, actions, and provider validation logic.
3030
3032
  *
3031
3033
  * > **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).
3032
3034
  */