@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.
@@ -278,6 +278,11 @@ interface AppDefinedAction {
278
278
  *
279
279
  * > **Note**: Actions that follow a skipped action still run.
280
280
  * @maxSize 10
281
+ * @deprecated Action skip conditions. An action is skipped if any of the specified conditions evaluates to `true`.
282
+ *
283
+ * > **Note**: Actions that follow a skipped action still run.
284
+ * @replacedBy skip_expression
285
+ * @targetRemovalDate 2026-02-01
281
286
  */
282
287
  skipConditionOrExpressionGroups?: ConditionExpressionGroup[];
283
288
  /**
@@ -444,6 +449,13 @@ interface Action extends ActionInfoOneOf {
444
449
  * @maxLength 100
445
450
  */
446
451
  namespace?: string | null;
452
+ /**
453
+ * skip_expression: evaluates to a boolean to decide if the action should be skipped
454
+ * For ConditionAction: if skipped, true_post_action_ids execute; false_post_action_ids are skipped
455
+ * SplitAction and OutputAction do not support skip_expression
456
+ * @maxLength 1000
457
+ */
458
+ skipExpression?: string | null;
447
459
  }
448
460
  /** @oneof */
449
461
  interface ActionInfoOneOf {
@@ -1014,11 +1026,6 @@ type TriggerValidationErrorValidationErrorTypeWithLiterals = TriggerValidationEr
1014
1026
  interface TriggerConfigurationError {
1015
1027
  /** Trigger error type. */
1016
1028
  errorType?: TriggerErrorTypeWithLiterals;
1017
- /**
1018
- * Related filter field key.
1019
- * @maxLength 110
1020
- */
1021
- filterFieldKey?: string | null;
1022
1029
  }
1023
1030
  declare enum TriggerErrorType {
1024
1031
  UNKNOWN_TRIGGER_ERROR_TYPE = "UNKNOWN_TRIGGER_ERROR_TYPE",
@@ -1035,10 +1042,12 @@ declare enum TriggerErrorType {
1035
1042
  /** Invalid filter field key. */
1036
1043
  INVALID_FILTER_FIELD_KEY = "INVALID_FILTER_FIELD_KEY",
1037
1044
  /** Invalid filter expression. */
1038
- INVALID_FILTER_EXPRESSION = "INVALID_FILTER_EXPRESSION"
1045
+ INVALID_FILTER_EXPRESSION = "INVALID_FILTER_EXPRESSION",
1046
+ /** Missing configuration for a required trigger filter */
1047
+ MISSING_REQUIRED_FILTER = "MISSING_REQUIRED_FILTER"
1039
1048
  }
1040
1049
  /** @enumType */
1041
- 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';
1050
+ 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';
1042
1051
  interface ProviderConfigurationError {
1043
1052
  /** Key corresponding to the field in the schema. */
1044
1053
  fieldKey?: string | null;
@@ -798,6 +798,7 @@ var TriggerErrorType = /* @__PURE__ */ ((TriggerErrorType2) => {
798
798
  TriggerErrorType2["INVALID_TRIGGER_KEY"] = "INVALID_TRIGGER_KEY";
799
799
  TriggerErrorType2["INVALID_FILTER_FIELD_KEY"] = "INVALID_FILTER_FIELD_KEY";
800
800
  TriggerErrorType2["INVALID_FILTER_EXPRESSION"] = "INVALID_FILTER_EXPRESSION";
801
+ TriggerErrorType2["MISSING_REQUIRED_FILTER"] = "MISSING_REQUIRED_FILTER";
801
802
  return TriggerErrorType2;
802
803
  })(TriggerErrorType || {});
803
804
  var ValidationErrorSeverity = /* @__PURE__ */ ((ValidationErrorSeverity2) => {