@wix/auto_sdk_events_forms 1.0.118 → 1.0.120

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.
@@ -121,6 +121,7 @@ var import_rest_modules = require("@wix/sdk-runtime/rest-modules");
121
121
  var import_field_mask = require("@wix/sdk-runtime/transformations/field-mask");
122
122
  var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
123
123
  var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
124
+ var TRANSFORM_PATHS_0 = [{ path: "fields" }];
124
125
  function resolveWixEventsFormFormBuilderUrl(opts) {
125
126
  const domainToMappings = {
126
127
  "events._base_domain_": [
@@ -386,10 +387,6 @@ function resolveWixEventsFormFormBuilderUrl(opts) {
386
387
  srcPath: "/_api/wix-events-web/v1/bulk/categories",
387
388
  destPath: "/v1/bulk/categories"
388
389
  },
389
- {
390
- srcPath: "/_api/wix-events-web/v1/categories",
391
- destPath: "/v1/categories"
392
- },
393
390
  {
394
391
  srcPath: "/_api/wix-events-web/v1/events",
395
392
  destPath: "/v1/events"
@@ -401,6 +398,10 @@ function resolveWixEventsFormFormBuilderUrl(opts) {
401
398
  {
402
399
  srcPath: "/events/v1/bulk/events",
403
400
  destPath: "/v1/bulk/events"
401
+ },
402
+ {
403
+ srcPath: "/_api/wix-events-web/v1/categories",
404
+ destPath: "/v1/categories"
404
405
  }
405
406
  ],
406
407
  "editor.wixapps.net": [
@@ -662,7 +663,7 @@ function updateMessages(payload) {
662
663
  const serializedData = (0, import_transform_paths.transformPaths)(payload, [
663
664
  {
664
665
  transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
665
- paths: [{ path: "fields" }]
666
+ paths: TRANSFORM_PATHS_0
666
667
  }
667
668
  ]);
668
669
  const metadata = {