@wix/auto_sdk_bookings_availability-time-slots 1.0.275 → 1.0.277

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.
@@ -40,6 +40,18 @@ var import_timestamp = require("@wix/sdk-runtime/transformations/timestamp");
40
40
  var import_timestamp2 = require("@wix/sdk-runtime/transformations/timestamp");
41
41
  var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
42
42
  var import_rest_modules = require("@wix/sdk-runtime/rest-modules");
43
+ var TRANSFORM_PATHS_0 = [
44
+ { path: "bookingPolicyViolations.earliestBookingDate" }
45
+ ];
46
+ var TRANSFORM_PATHS_1 = [
47
+ { path: "timeSlots.bookingPolicyViolations.earliestBookingDate" }
48
+ ];
49
+ var TRANSFORM_PATHS_2 = [
50
+ { path: "endOptions.bookingPolicyViolations.earliestBookingDate" }
51
+ ];
52
+ var TRANSFORM_PATHS_3 = [
53
+ { path: "timeSlot.bookingPolicyViolations.earliestBookingDate" }
54
+ ];
43
55
  function resolveComWixpressBookingsAvailabilityV2AvailabilityTimeSlotsUrl(opts) {
44
56
  const domainToMappings = {
45
57
  "www.wixapis.com": [
@@ -177,7 +189,7 @@ function listAvailabilityTimeSlots(payload) {
177
189
  const serializedData = (0, import_transform_paths.transformPaths)(payload, [
178
190
  {
179
191
  transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
180
- paths: [{ path: "bookingPolicyViolations.earliestBookingDate" }]
192
+ paths: TRANSFORM_PATHS_0
181
193
  }
182
194
  ]);
183
195
  const metadata = {
@@ -197,9 +209,7 @@ function listAvailabilityTimeSlots(payload) {
197
209
  transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
198
210
  {
199
211
  transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
200
- paths: [
201
- { path: "timeSlots.bookingPolicyViolations.earliestBookingDate" }
202
- ]
212
+ paths: TRANSFORM_PATHS_1
203
213
  }
204
214
  ])
205
215
  };
@@ -226,11 +236,7 @@ function listAvailabilityTimeSlotEndOptions(payload) {
226
236
  transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
227
237
  {
228
238
  transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
229
- paths: [
230
- {
231
- path: "endOptions.bookingPolicyViolations.earliestBookingDate"
232
- }
233
- ]
239
+ paths: TRANSFORM_PATHS_2
234
240
  }
235
241
  ])
236
242
  };
@@ -257,9 +263,7 @@ function getAvailabilityTimeSlot(payload) {
257
263
  transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
258
264
  {
259
265
  transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
260
- paths: [
261
- { path: "timeSlot.bookingPolicyViolations.earliestBookingDate" }
262
- ]
266
+ paths: TRANSFORM_PATHS_3
263
267
  }
264
268
  ])
265
269
  };
@@ -275,16 +279,16 @@ var LocationType = /* @__PURE__ */ ((LocationType2) => {
275
279
  LocationType2["CUSTOMER"] = "CUSTOMER";
276
280
  return LocationType2;
277
281
  })(LocationType || {});
278
- var RequestedGender = /* @__PURE__ */ ((RequestedGender2) => {
279
- RequestedGender2["ANY_MALE"] = "ANY_MALE";
280
- RequestedGender2["ANY_FEMALE"] = "ANY_FEMALE";
281
- return RequestedGender2;
282
- })(RequestedGender || {});
283
282
  var RequestedGenderValueRequestedGender = /* @__PURE__ */ ((RequestedGenderValueRequestedGender2) => {
284
283
  RequestedGenderValueRequestedGender2["ANY_MALE"] = "ANY_MALE";
285
284
  RequestedGenderValueRequestedGender2["ANY_FEMALE"] = "ANY_FEMALE";
286
285
  return RequestedGenderValueRequestedGender2;
287
286
  })(RequestedGenderValueRequestedGender || {});
287
+ var RequestedGender = /* @__PURE__ */ ((RequestedGender2) => {
288
+ RequestedGender2["ANY_MALE"] = "ANY_MALE";
289
+ RequestedGender2["ANY_FEMALE"] = "ANY_FEMALE";
290
+ return RequestedGender2;
291
+ })(RequestedGender || {});
288
292
  var ReasonCode = /* @__PURE__ */ ((ReasonCode2) => {
289
293
  ReasonCode2["NO_ASSIGNED_STAFF_OR_RESOURCES"] = "NO_ASSIGNED_STAFF_OR_RESOURCES";
290
294
  ReasonCode2["SERVICE_AVAILABILITY_CONFIGURATION_MISSING"] = "SERVICE_AVAILABILITY_CONFIGURATION_MISSING";