@wix/auto_sdk_automations_automations-v-2 1.0.24 → 1.0.26

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.
@@ -321,6 +321,11 @@ interface AppDefinedAction {
321
321
  *
322
322
  * > **Note**: Actions that follow a skipped action still run.
323
323
  * @maxSize 10
324
+ * @deprecated Action skip conditions. An action is skipped if any of the specified conditions evaluates to `true`.
325
+ *
326
+ * > **Note**: Actions that follow a skipped action still run.
327
+ * @replacedBy skip_expression
328
+ * @targetRemovalDate 2026-02-01
324
329
  */
325
330
  skipConditionOrExpressionGroups?: ConditionExpressionGroup[];
326
331
  /**
@@ -515,6 +520,13 @@ interface Action extends ActionInfoOneOf {
515
520
  * @maxLength 100
516
521
  */
517
522
  namespace?: string | null;
523
+ /**
524
+ * skip_expression: evaluates to a boolean to decide if the action should be skipped
525
+ * For ConditionAction: if skipped, true_post_action_ids execute; false_post_action_ids are skipped
526
+ * SplitAction and OutputAction do not support skip_expression
527
+ * @maxLength 1000
528
+ */
529
+ skipExpression?: string | null;
518
530
  }
519
531
  /** @oneof */
520
532
  interface ActionInfoOneOf {
@@ -1944,11 +1956,6 @@ type TriggerValidationErrorValidationErrorTypeWithLiterals = TriggerValidationEr
1944
1956
  interface TriggerConfigurationError {
1945
1957
  /** Trigger error type. */
1946
1958
  errorType?: TriggerErrorTypeWithLiterals;
1947
- /**
1948
- * Related filter field key.
1949
- * @maxLength 110
1950
- */
1951
- filterFieldKey?: string | null;
1952
1959
  }
1953
1960
  declare enum TriggerErrorType {
1954
1961
  UNKNOWN_TRIGGER_ERROR_TYPE = "UNKNOWN_TRIGGER_ERROR_TYPE",
@@ -1965,10 +1972,12 @@ declare enum TriggerErrorType {
1965
1972
  /** Invalid filter field key. */
1966
1973
  INVALID_FILTER_FIELD_KEY = "INVALID_FILTER_FIELD_KEY",
1967
1974
  /** Invalid filter expression. */
1968
- INVALID_FILTER_EXPRESSION = "INVALID_FILTER_EXPRESSION"
1975
+ INVALID_FILTER_EXPRESSION = "INVALID_FILTER_EXPRESSION",
1976
+ /** Missing configuration for a required trigger filter */
1977
+ MISSING_REQUIRED_FILTER = "MISSING_REQUIRED_FILTER"
1969
1978
  }
1970
1979
  /** @enumType */
1971
- type TriggerErrorTypeWithLiterals = TriggerErrorType | 'UNKNOWN_TRIGGER_ERROR_TYPE' | 'NOT_FOUND' | 'APP_NOT_INSTALLED' | 'MODERATION_MISMATCH' | 'DEPRECATED' | 'INVALID_TRIGGER_KEY' | 'INVALID_FILTER_FIELD_KEY' | 'INVALID_FILTER_EXPRESSION';
1980
+ type TriggerErrorTypeWithLiterals = TriggerErrorType | 'UNKNOWN_TRIGGER_ERROR_TYPE' | 'NOT_FOUND' | 'APP_NOT_INSTALLED' | 'MODERATION_MISMATCH' | 'DEPRECATED' | 'INVALID_TRIGGER_KEY' | 'INVALID_FILTER_FIELD_KEY' | 'INVALID_FILTER_EXPRESSION' | 'MISSING_REQUIRED_FILTER';
1972
1981
  interface ProviderConfigurationError {
1973
1982
  /** Key corresponding to the field in the schema. */
1974
1983
  fieldKey?: string | null;
@@ -854,6 +854,7 @@ var TriggerErrorType = /* @__PURE__ */ ((TriggerErrorType2) => {
854
854
  TriggerErrorType2["INVALID_TRIGGER_KEY"] = "INVALID_TRIGGER_KEY";
855
855
  TriggerErrorType2["INVALID_FILTER_FIELD_KEY"] = "INVALID_FILTER_FIELD_KEY";
856
856
  TriggerErrorType2["INVALID_FILTER_EXPRESSION"] = "INVALID_FILTER_EXPRESSION";
857
+ TriggerErrorType2["MISSING_REQUIRED_FILTER"] = "MISSING_REQUIRED_FILTER";
857
858
  return TriggerErrorType2;
858
859
  })(TriggerErrorType || {});
859
860
  var ValidationErrorSeverity = /* @__PURE__ */ ((ValidationErrorSeverity2) => {