@wix/auto_sdk_automations_automations-v-2 1.0.30 → 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.
@@ -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)({