@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.
package/build/cjs/meta.js CHANGED
@@ -117,6 +117,7 @@ var import_rest_modules = require("@wix/sdk-runtime/rest-modules");
117
117
  var import_field_mask = require("@wix/sdk-runtime/transformations/field-mask");
118
118
  var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
119
119
  var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
120
+ var TRANSFORM_PATHS_0 = [{ path: "fields" }];
120
121
  function resolveWixEventsFormFormBuilderUrl(opts) {
121
122
  const domainToMappings = {
122
123
  "events._base_domain_": [
@@ -382,10 +383,6 @@ function resolveWixEventsFormFormBuilderUrl(opts) {
382
383
  srcPath: "/_api/wix-events-web/v1/bulk/categories",
383
384
  destPath: "/v1/bulk/categories"
384
385
  },
385
- {
386
- srcPath: "/_api/wix-events-web/v1/categories",
387
- destPath: "/v1/categories"
388
- },
389
386
  {
390
387
  srcPath: "/_api/wix-events-web/v1/events",
391
388
  destPath: "/v1/events"
@@ -397,6 +394,10 @@ function resolveWixEventsFormFormBuilderUrl(opts) {
397
394
  {
398
395
  srcPath: "/events/v1/bulk/events",
399
396
  destPath: "/v1/bulk/events"
397
+ },
398
+ {
399
+ srcPath: "/_api/wix-events-web/v1/categories",
400
+ destPath: "/v1/categories"
400
401
  }
401
402
  ],
402
403
  "editor.wixapps.net": [
@@ -658,7 +659,7 @@ function updateMessages(payload) {
658
659
  const serializedData = (0, import_transform_paths.transformPaths)(payload, [
659
660
  {
660
661
  transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
661
- paths: [{ path: "fields" }]
662
+ paths: TRANSFORM_PATHS_0
662
663
  }
663
664
  ]);
664
665
  const metadata = {