@wix/auto_sdk_automations_automations-v-2 1.0.29 → 1.0.31

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.
@@ -304,7 +304,7 @@ interface AppDefinedAction {
304
304
  skipConditionOrExpressionGroups?: ConditionExpressionGroup[];
305
305
  /**
306
306
  * IDs of actions that run in parallel after the action completes.
307
- * @maxSize 20
307
+ * @maxSize 1
308
308
  * @format GUID
309
309
  */
310
310
  postActionIds?: string[];
@@ -320,13 +320,13 @@ interface ConditionAction {
320
320
  orExpressionGroups?: ConditionExpressionGroup[];
321
321
  /**
322
322
  * IDs of actions to run when the condition evaluates to `true`.
323
- * @maxSize 20
323
+ * @maxSize 1
324
324
  * @format GUID
325
325
  */
326
326
  truePostActionIds?: string[];
327
327
  /**
328
328
  * IDs of actions to run when the condition evaluates to `false`.
329
- * @maxSize 20
329
+ * @maxSize 1
330
330
  * @format GUID
331
331
  */
332
332
  falsePostActionIds?: string[];
@@ -336,13 +336,13 @@ interface CodeConditionAction {
336
336
  snippet?: CodeSnippet;
337
337
  /**
338
338
  * IDs of actions to run when the condition evaluates to `true`.
339
- * @maxSize 20
339
+ * @maxSize 1
340
340
  * @format GUID
341
341
  */
342
342
  truePostActionIds?: string[];
343
343
  /**
344
344
  * IDs of actions to run when the condition evaluates to `false`.
345
- * @maxSize 20
345
+ * @maxSize 1
346
346
  * @format GUID
347
347
  */
348
348
  falsePostActionIds?: string[];
@@ -379,7 +379,7 @@ interface DelayAction {
379
379
  dueDateExpression?: string | null;
380
380
  /**
381
381
  * IDs of actions to run in parallel after the time delay.
382
- * @maxSize 20
382
+ * @maxSize 1
383
383
  * @format GUID
384
384
  */
385
385
  postActionIds?: string[];
@@ -407,7 +407,7 @@ interface RateLimitAction {
407
407
  uniqueIdentifierExpression?: string | null;
408
408
  /**
409
409
  * IDs of actions to run in parallel after the action completes.
410
- * @maxSize 20
410
+ * @maxSize 1
411
411
  * @format GUID
412
412
  */
413
413
  postActionIds?: string[];
@@ -772,6 +772,14 @@ var Origin = /* @__PURE__ */ ((Origin2) => {
772
772
  Origin2["PREINSTALLED"] = "PREINSTALLED";
773
773
  return Origin2;
774
774
  })(Origin || {});
775
+ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
776
+ WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
777
+ WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
778
+ WebhookIdentityType2["MEMBER"] = "MEMBER";
779
+ WebhookIdentityType2["WIX_USER"] = "WIX_USER";
780
+ WebhookIdentityType2["APP"] = "APP";
781
+ return WebhookIdentityType2;
782
+ })(WebhookIdentityType || {});
775
783
  var RequestedFields = /* @__PURE__ */ ((RequestedFields2) => {
776
784
  RequestedFields2["UNKNOWN_REQUESTED_FIELD"] = "UNKNOWN_REQUESTED_FIELD";
777
785
  RequestedFields2["OVERRIDE_SCHEMA"] = "OVERRIDE_SCHEMA";
@@ -896,14 +904,6 @@ var AutomationErrorType = /* @__PURE__ */ ((AutomationErrorType2) => {
896
904
  AutomationErrorType2["UNKNOWN_AUTOMATION_ERROR_TYPE"] = "UNKNOWN_AUTOMATION_ERROR_TYPE";
897
905
  return AutomationErrorType2;
898
906
  })(AutomationErrorType || {});
899
- var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
900
- WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
901
- WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
902
- WebhookIdentityType2["MEMBER"] = "MEMBER";
903
- WebhookIdentityType2["WIX_USER"] = "WIX_USER";
904
- WebhookIdentityType2["APP"] = "APP";
905
- return WebhookIdentityType2;
906
- })(WebhookIdentityType || {});
907
907
  async function createAutomation2(automation) {
908
908
  const { httpClient, sideEffects } = arguments[1];
909
909
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({