@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.
@@ -707,6 +707,14 @@ var Origin = /* @__PURE__ */ ((Origin2) => {
707
707
  Origin2["PREINSTALLED"] = "PREINSTALLED";
708
708
  return Origin2;
709
709
  })(Origin || {});
710
+ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
711
+ WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
712
+ WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
713
+ WebhookIdentityType2["MEMBER"] = "MEMBER";
714
+ WebhookIdentityType2["WIX_USER"] = "WIX_USER";
715
+ WebhookIdentityType2["APP"] = "APP";
716
+ return WebhookIdentityType2;
717
+ })(WebhookIdentityType || {});
710
718
  var RequestedFields = /* @__PURE__ */ ((RequestedFields2) => {
711
719
  RequestedFields2["UNKNOWN_REQUESTED_FIELD"] = "UNKNOWN_REQUESTED_FIELD";
712
720
  RequestedFields2["OVERRIDE_SCHEMA"] = "OVERRIDE_SCHEMA";
@@ -831,14 +839,6 @@ var AutomationErrorType = /* @__PURE__ */ ((AutomationErrorType2) => {
831
839
  AutomationErrorType2["UNKNOWN_AUTOMATION_ERROR_TYPE"] = "UNKNOWN_AUTOMATION_ERROR_TYPE";
832
840
  return AutomationErrorType2;
833
841
  })(AutomationErrorType || {});
834
- var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
835
- WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
836
- WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
837
- WebhookIdentityType2["MEMBER"] = "MEMBER";
838
- WebhookIdentityType2["WIX_USER"] = "WIX_USER";
839
- WebhookIdentityType2["APP"] = "APP";
840
- return WebhookIdentityType2;
841
- })(WebhookIdentityType || {});
842
842
  async function createAutomation2(automation) {
843
843
  const { httpClient, sideEffects } = arguments[1];
844
844
  const payload = renameKeysFromSDKRequestToRESTRequest({