@wix/auto_sdk_bookings_multi-service-availability-time-slots 1.0.269 → 1.0.271

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.
@@ -39,6 +39,15 @@ var import_timestamp = require("@wix/sdk-runtime/transformations/timestamp");
39
39
  var import_timestamp2 = require("@wix/sdk-runtime/transformations/timestamp");
40
40
  var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
41
41
  var import_rest_modules = require("@wix/sdk-runtime/rest-modules");
42
+ var TRANSFORM_PATHS_0 = [
43
+ { path: "bookingPolicyViolations.earliestBookingDate" }
44
+ ];
45
+ var TRANSFORM_PATHS_1 = [
46
+ { path: "timeSlots.bookingPolicyViolations.earliestBookingDate" }
47
+ ];
48
+ var TRANSFORM_PATHS_2 = [
49
+ { path: "timeSlot.bookingPolicyViolations.earliestBookingDate" }
50
+ ];
42
51
  function resolveComWixpressBookingsAvailabilityV2MultiServiceAvailabilityTimeSlotsUrl(opts) {
43
52
  const domainToMappings = {
44
53
  "www.wixapis.com": [
@@ -176,7 +185,7 @@ function listMultiServiceAvailabilityTimeSlots(payload) {
176
185
  const serializedData = (0, import_transform_paths.transformPaths)(payload, [
177
186
  {
178
187
  transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
179
- paths: [{ path: "bookingPolicyViolations.earliestBookingDate" }]
188
+ paths: TRANSFORM_PATHS_0
180
189
  }
181
190
  ]);
182
191
  const metadata = {
@@ -198,9 +207,7 @@ function listMultiServiceAvailabilityTimeSlots(payload) {
198
207
  transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
199
208
  {
200
209
  transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
201
- paths: [
202
- { path: "timeSlots.bookingPolicyViolations.earliestBookingDate" }
203
- ]
210
+ paths: TRANSFORM_PATHS_1
204
211
  }
205
212
  ])
206
213
  };
@@ -225,9 +232,7 @@ function getMultiServiceAvailabilityTimeSlot(payload) {
225
232
  transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
226
233
  {
227
234
  transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
228
- paths: [
229
- { path: "timeSlot.bookingPolicyViolations.earliestBookingDate" }
230
- ]
235
+ paths: TRANSFORM_PATHS_2
231
236
  }
232
237
  ])
233
238
  };
@@ -243,16 +248,16 @@ var LocationType = /* @__PURE__ */ ((LocationType2) => {
243
248
  LocationType2["CUSTOMER"] = "CUSTOMER";
244
249
  return LocationType2;
245
250
  })(LocationType || {});
246
- var RequestedGender = /* @__PURE__ */ ((RequestedGender2) => {
247
- RequestedGender2["ANY_MALE"] = "ANY_MALE";
248
- RequestedGender2["ANY_FEMALE"] = "ANY_FEMALE";
249
- return RequestedGender2;
250
- })(RequestedGender || {});
251
251
  var RequestedGenderValueRequestedGender = /* @__PURE__ */ ((RequestedGenderValueRequestedGender2) => {
252
252
  RequestedGenderValueRequestedGender2["ANY_MALE"] = "ANY_MALE";
253
253
  RequestedGenderValueRequestedGender2["ANY_FEMALE"] = "ANY_FEMALE";
254
254
  return RequestedGenderValueRequestedGender2;
255
255
  })(RequestedGenderValueRequestedGender || {});
256
+ var RequestedGender = /* @__PURE__ */ ((RequestedGender2) => {
257
+ RequestedGender2["ANY_MALE"] = "ANY_MALE";
258
+ RequestedGender2["ANY_FEMALE"] = "ANY_FEMALE";
259
+ return RequestedGender2;
260
+ })(RequestedGender || {});
256
261
  var ReasonCode = /* @__PURE__ */ ((ReasonCode2) => {
257
262
  ReasonCode2["NO_ASSIGNED_STAFF_OR_RESOURCES"] = "NO_ASSIGNED_STAFF_OR_RESOURCES";
258
263
  ReasonCode2["SERVICE_AVAILABILITY_CONFIGURATION_MISSING"] = "SERVICE_AVAILABILITY_CONFIGURATION_MISSING";