@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.
- package/build/cjs/index.js +8 -8
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +142 -142
- package/build/cjs/index.typings.js +8 -8
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +7 -7
- package/build/es/index.mjs +8 -8
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +142 -142
- package/build/es/index.typings.mjs +8 -8
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +7 -7
- package/build/internal/cjs/index.js +8 -8
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +142 -142
- package/build/internal/cjs/index.typings.js +8 -8
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +7 -7
- package/build/internal/es/index.mjs +8 -8
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +142 -142
- package/build/internal/es/index.typings.mjs +8 -8
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +7 -7
- package/package.json +2 -2
package/build/cjs/index.js
CHANGED
|
@@ -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)({
|