@wix/auto_sdk_automations_automations-v-2 1.0.30 → 1.0.32
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.
- package/build/cjs/index.js +9 -8
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +138 -136
- package/build/cjs/index.typings.js +9 -8
- package/build/cjs/index.typings.js.map +1 -1
- package/build/es/index.mjs +9 -8
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +138 -136
- package/build/es/index.typings.mjs +9 -8
- package/build/es/index.typings.mjs.map +1 -1
- package/build/internal/cjs/index.js +9 -8
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +138 -136
- package/build/internal/cjs/index.typings.js +9 -8
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/es/index.mjs +9 -8
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +138 -136
- package/build/internal/es/index.typings.mjs +9 -8
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -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";
|
|
@@ -766,6 +774,7 @@ var Namespace = /* @__PURE__ */ ((Namespace2) => {
|
|
|
766
774
|
Namespace2["STANDALONE_EVENTS"] = "STANDALONE_EVENTS";
|
|
767
775
|
Namespace2["MIMIR"] = "MIMIR";
|
|
768
776
|
Namespace2["TWINS"] = "TWINS";
|
|
777
|
+
Namespace2["NANO"] = "NANO";
|
|
769
778
|
return Namespace2;
|
|
770
779
|
})(Namespace || {});
|
|
771
780
|
var DeleteStatus = /* @__PURE__ */ ((DeleteStatus2) => {
|
|
@@ -831,14 +840,6 @@ var AutomationErrorType = /* @__PURE__ */ ((AutomationErrorType2) => {
|
|
|
831
840
|
AutomationErrorType2["UNKNOWN_AUTOMATION_ERROR_TYPE"] = "UNKNOWN_AUTOMATION_ERROR_TYPE";
|
|
832
841
|
return AutomationErrorType2;
|
|
833
842
|
})(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
843
|
async function createAutomation2(automation) {
|
|
843
844
|
const { httpClient, sideEffects } = arguments[1];
|
|
844
845
|
const payload = renameKeysFromSDKRequestToRESTRequest({
|