@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
|
@@ -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";
|
|
@@ -831,6 +839,7 @@ var Namespace = /* @__PURE__ */ ((Namespace2) => {
|
|
|
831
839
|
Namespace2["STANDALONE_EVENTS"] = "STANDALONE_EVENTS";
|
|
832
840
|
Namespace2["MIMIR"] = "MIMIR";
|
|
833
841
|
Namespace2["TWINS"] = "TWINS";
|
|
842
|
+
Namespace2["NANO"] = "NANO";
|
|
834
843
|
return Namespace2;
|
|
835
844
|
})(Namespace || {});
|
|
836
845
|
var DeleteStatus = /* @__PURE__ */ ((DeleteStatus2) => {
|
|
@@ -896,14 +905,6 @@ var AutomationErrorType = /* @__PURE__ */ ((AutomationErrorType2) => {
|
|
|
896
905
|
AutomationErrorType2["UNKNOWN_AUTOMATION_ERROR_TYPE"] = "UNKNOWN_AUTOMATION_ERROR_TYPE";
|
|
897
906
|
return AutomationErrorType2;
|
|
898
907
|
})(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
908
|
async function createAutomation2(automation) {
|
|
908
909
|
const { httpClient, sideEffects } = arguments[1];
|
|
909
910
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|