@wix/auto_sdk_bookings_multi-service-availability-time-slots 1.0.134 → 1.0.135

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.
Files changed (129) hide show
  1. package/build/{cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.types.d.ts → bookings-availability-v2-time-slot-multi-service-availability-time-slots.universal-B2t3dqyF.d.mts} +154 -33
  2. package/build/{internal/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.types.d.ts → bookings-availability-v2-time-slot-multi-service-availability-time-slots.universal-B2t3dqyF.d.ts} +154 -33
  3. package/build/{es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.public.d.ts → index.d.mts} +11 -8
  4. package/build/{internal/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.public.d.ts → index.d.ts} +11 -8
  5. package/build/index.js +350 -0
  6. package/build/index.js.map +1 -0
  7. package/build/index.mjs +324 -0
  8. package/build/index.mjs.map +1 -0
  9. package/build/{es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.types.d.ts → internal/bookings-availability-v2-time-slot-multi-service-availability-time-slots.universal-B2t3dqyF.d.mts} +154 -33
  10. package/build/internal/{es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.types.d.ts → bookings-availability-v2-time-slot-multi-service-availability-time-slots.universal-B2t3dqyF.d.ts} +154 -33
  11. package/build/{cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.public.d.ts → internal/index.d.mts} +11 -8
  12. package/build/internal/{cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.public.d.ts → index.d.ts} +11 -8
  13. package/build/internal/index.js +350 -0
  14. package/build/internal/index.js.map +1 -0
  15. package/build/internal/index.mjs +324 -0
  16. package/build/internal/index.mjs.map +1 -0
  17. package/build/internal/meta.d.mts +539 -0
  18. package/build/internal/meta.d.ts +539 -0
  19. package/build/internal/meta.js +270 -0
  20. package/build/internal/meta.js.map +1 -0
  21. package/build/internal/meta.mjs +242 -0
  22. package/build/internal/meta.mjs.map +1 -0
  23. package/build/meta.d.mts +539 -0
  24. package/build/meta.d.ts +539 -0
  25. package/build/meta.js +270 -0
  26. package/build/meta.js.map +1 -0
  27. package/build/meta.mjs +242 -0
  28. package/build/meta.mjs.map +1 -0
  29. package/package.json +12 -11
  30. package/build/cjs/index.d.ts +0 -1
  31. package/build/cjs/index.js +0 -18
  32. package/build/cjs/index.js.map +0 -1
  33. package/build/cjs/index.typings.d.ts +0 -1
  34. package/build/cjs/index.typings.js +0 -18
  35. package/build/cjs/index.typings.js.map +0 -1
  36. package/build/cjs/meta.d.ts +0 -1
  37. package/build/cjs/meta.js +0 -18
  38. package/build/cjs/meta.js.map +0 -1
  39. package/build/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.context.d.ts +0 -6
  40. package/build/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.context.js +0 -10
  41. package/build/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.context.js.map +0 -1
  42. package/build/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.http.d.ts +0 -111
  43. package/build/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.http.js +0 -304
  44. package/build/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.http.js.map +0 -1
  45. package/build/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.meta.d.ts +0 -14
  46. package/build/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.meta.js +0 -66
  47. package/build/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.meta.js.map +0 -1
  48. package/build/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.public.js +0 -20
  49. package/build/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.public.js.map +0 -1
  50. package/build/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.types.js +0 -14
  51. package/build/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.types.js.map +0 -1
  52. package/build/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.universal.d.ts +0 -1217
  53. package/build/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.universal.js +0 -294
  54. package/build/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.universal.js.map +0 -1
  55. package/build/es/index.d.ts +0 -1
  56. package/build/es/index.js +0 -2
  57. package/build/es/index.js.map +0 -1
  58. package/build/es/index.typings.d.ts +0 -1
  59. package/build/es/index.typings.js +0 -2
  60. package/build/es/index.typings.js.map +0 -1
  61. package/build/es/meta.d.ts +0 -1
  62. package/build/es/meta.js +0 -2
  63. package/build/es/meta.js.map +0 -1
  64. package/build/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.context.d.ts +0 -6
  65. package/build/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.context.js +0 -6
  66. package/build/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.context.js.map +0 -1
  67. package/build/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.http.d.ts +0 -111
  68. package/build/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.http.js +0 -299
  69. package/build/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.http.js.map +0 -1
  70. package/build/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.meta.d.ts +0 -14
  71. package/build/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.meta.js +0 -38
  72. package/build/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.meta.js.map +0 -1
  73. package/build/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.public.js +0 -14
  74. package/build/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.public.js.map +0 -1
  75. package/build/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.types.js +0 -11
  76. package/build/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.types.js.map +0 -1
  77. package/build/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.universal.d.ts +0 -1217
  78. package/build/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.universal.js +0 -266
  79. package/build/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.universal.js.map +0 -1
  80. package/build/internal/cjs/index.d.ts +0 -1
  81. package/build/internal/cjs/index.js +0 -18
  82. package/build/internal/cjs/index.js.map +0 -1
  83. package/build/internal/cjs/index.typings.d.ts +0 -1
  84. package/build/internal/cjs/index.typings.js +0 -18
  85. package/build/internal/cjs/index.typings.js.map +0 -1
  86. package/build/internal/cjs/meta.d.ts +0 -1
  87. package/build/internal/cjs/meta.js +0 -18
  88. package/build/internal/cjs/meta.js.map +0 -1
  89. package/build/internal/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.context.d.ts +0 -6
  90. package/build/internal/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.context.js +0 -10
  91. package/build/internal/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.context.js.map +0 -1
  92. package/build/internal/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.http.d.ts +0 -111
  93. package/build/internal/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.http.js +0 -304
  94. package/build/internal/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.http.js.map +0 -1
  95. package/build/internal/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.meta.d.ts +0 -14
  96. package/build/internal/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.meta.js +0 -66
  97. package/build/internal/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.meta.js.map +0 -1
  98. package/build/internal/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.public.js +0 -20
  99. package/build/internal/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.public.js.map +0 -1
  100. package/build/internal/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.types.js +0 -14
  101. package/build/internal/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.types.js.map +0 -1
  102. package/build/internal/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.universal.d.ts +0 -1217
  103. package/build/internal/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.universal.js +0 -294
  104. package/build/internal/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.universal.js.map +0 -1
  105. package/build/internal/es/index.d.ts +0 -1
  106. package/build/internal/es/index.js +0 -2
  107. package/build/internal/es/index.js.map +0 -1
  108. package/build/internal/es/index.typings.d.ts +0 -1
  109. package/build/internal/es/index.typings.js +0 -2
  110. package/build/internal/es/index.typings.js.map +0 -1
  111. package/build/internal/es/meta.d.ts +0 -1
  112. package/build/internal/es/meta.js +0 -2
  113. package/build/internal/es/meta.js.map +0 -1
  114. package/build/internal/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.context.d.ts +0 -6
  115. package/build/internal/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.context.js +0 -6
  116. package/build/internal/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.context.js.map +0 -1
  117. package/build/internal/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.http.d.ts +0 -111
  118. package/build/internal/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.http.js +0 -299
  119. package/build/internal/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.http.js.map +0 -1
  120. package/build/internal/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.meta.d.ts +0 -14
  121. package/build/internal/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.meta.js +0 -38
  122. package/build/internal/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.meta.js.map +0 -1
  123. package/build/internal/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.public.js +0 -14
  124. package/build/internal/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.public.js.map +0 -1
  125. package/build/internal/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.types.js +0 -11
  126. package/build/internal/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.types.js.map +0 -1
  127. package/build/internal/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.universal.d.ts +0 -1217
  128. package/build/internal/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.universal.js +0 -266
  129. package/build/internal/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.universal.js.map +0 -1
@@ -1,294 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.getMultiServiceAvailabilityTimeSlot = exports.listMultiServiceAvailabilityTimeSlots = exports.LocationType = void 0;
27
- const transform_error_1 = require("@wix/sdk-runtime/transform-error");
28
- const rename_all_nested_keys_1 = require("@wix/sdk-runtime/rename-all-nested-keys");
29
- const ambassadorWixBookingsAvailabilityV2TimeSlot = __importStar(require("./bookings-availability-v2-time-slot-multi-service-availability-time-slots.http.js"));
30
- var LocationType;
31
- (function (LocationType) {
32
- LocationType["UNKNOWN_LOCATION_TYPE"] = "UNKNOWN_LOCATION_TYPE";
33
- /** A business location, either the default business address, or locations defined for the business by the Business Info. */
34
- LocationType["BUSINESS"] = "BUSINESS";
35
- /** The location is unique to this service and isn't defined as one of the business locations. */
36
- LocationType["CUSTOM"] = "CUSTOM";
37
- /** The location can be determined by the customer and is not set up beforehand. */
38
- LocationType["CUSTOMER"] = "CUSTOMER";
39
- })(LocationType || (exports.LocationType = LocationType = {}));
40
- /**
41
- * Retrieves a list of multiService `TimeSlot`s that match the provided filters.
42
- *
43
- * <blockquote class="important">
44
- * <p><strong>Important:</strong><br/>
45
- * Currently supported only for services of type <code class="grey-background">APPOINTMENT</code>.</p>
46
- * </blockquote>
47
- *
48
- * The request body __must__ include either:
49
- * + All of the following filters: `service`.`serviceId`, `fromLocalDate`, `toLocalDate`, `location`, and `timeZone`. You may add additional filters as you wish.
50
- * + A `cursorPaging` with a valid `cursor` from previous response.
51
- *
52
- *
53
- * Each [TimeSlot](https://bo.wix.com/wix-docs/rest/all-apis/wix-service-availability/availability-time-slots/time-slot-object) in response
54
- * represents the availability of the given sequence of services in a specific order, location, and within a given range of time.
55
- *
56
- * Each `TimeSlot`.`NestedTimeSlot` represents a single service from the given list. The order of the `NestedTimeSlots` is the same as the order
57
- * of the given services in request.
58
- * The first `NestedTimeSlot` has `localStartDate` within the given `fromLocalDate` and `toLocalDate` exclusive,
59
- * and each following `NestedTimeSlot` has a `localStartDate` that equals to the previous `NestedTimeSlot`'s `localEndDate`.
60
- *
61
- * By default,
62
- * the response contains at most 1000 results.
63
- * If there are more than 1000 results, we return a `cursorPagingMetadata` with
64
- * a cursor for the next page of results, regardless of whether a `cursorPaging`
65
- * was provided in request.
66
- *
67
- * > __Notes:__
68
- * > + All nested time slots share the same location.
69
- * > + You can pass up to 8 services in request.
70
- *
71
- * ### AvailableResources in response:
72
- * The `TimeSlot`.`NestedTimeSlot`'s `AvailableResources` contains information about the resources that are available to provide the service
73
- * within the `NestedTimeSlot` range of time. Each `AvailableResources` contains information about available resources of the same type.
74
- *
75
- * <blockquote class="important">
76
- * <p><strong>Important:</strong><br/>
77
- * By default,
78
- * if you don't specify <code class="grey-background">service</code>.<code class="grey-background">includeResourceTypeIds</code>
79
- * or <code class="grey-background">service</code>.<code class="grey-background">resourceIds</code> filters in request,
80
- * we return TimeSlots with <code class="grey-background">NestedTimeSlot</code>s with an empty <code class="grey-background">AvailableResources</code>.
81
- * <br/><strong>Note:</strong><br/> Not specifying resources filters can be handy in case you want to avoid large response in flows that only
82
- * interested of whether the time slots are available. [Finding the next available slot within the next 3 months](https://bo.wix.com/wix-docs/rest/all-apis/service-availability/multi-service-availability-time-slots/sample-flows?localViewerId=inbari#all-apis_service-availability_multi-service-availability-time-slots_sample-flows_find-the-first-date-within-the-next-3-months-that-all-selected-services-are-available-for)
83
- * is an example for such flow.
84
- * </p>
85
- * </blockquote>
86
- *
87
- *
88
- * If you wish to get a list of available resources for a `TimeSlot`.`NestedTimeSlot` you should either:
89
- * + provide `service`.`resourceIds` in request.
90
- * + provide `service`.`includeResourceTypeIds` in request.
91
- *
92
- * __Notes:__
93
- * + In both cases the returned `TimeSlot`.`NestedTimeSlot` contains __up__ to 10 `AvailableResources` that match the provided filters. Each `AvailableResources` contains __up__ to 10 available `resources` of the same type that match the provided filters.
94
- * + If an `AvailableResources` has more available resources which are not listed within it, we return `AvailableResources`.`hasMoreAvailableResources` as true.
95
- * + If you wish to get the full available resources list for all `NestedTimeSlot` of a specific `TimeSlot`, you should call [GetMultiServiceAvailabilityTimeSlot](https://bo.wix.com/wix-docs/rest/all-apis/wix-service-availability/multi-service-availability-time-slots/get-multi-service-availability-time-slot).
96
- *
97
- *
98
- * ### Availability VS Bookability
99
- * An `available` time slot is not necessarily `bookable`.
100
- * The `bookable` field of a `TimeSlot` indicates whether the customer can book all of the of the services within the given time slot,
101
- * at a specific period of time.
102
- * Read more about [Availability VS Bookability](https://bo.wix.com/wix-docs/rest/all-apis/wix-service-availability/multi-service-availability-time-slots/introduction#all-apis_wix-service-availability_multi-service-availability-time-slots_introduction_availability-vs-bookability).
103
- *
104
- * By default,
105
- * + The response does not contains `unavailable` TimeSlots.For example, if there are no available resources to provide one of the services from `2024-01-30T14:30:00` to `2024-01-30T15:30:00`, we don't return TimeSlots with `NestedTimeSlot`.`localStartDate` within this range for this service.
106
- * + The response contains both `bookable` and `un-bookable` TimeSlots.For example, if one of the services has a booking policy which enforces booking the service up to 10 minutes before the session starts, we return TimeSlots with the violating `NestedTimeSlot`.`localStartDate`, with `bookable` as `false`. If you want to list only __bookable__ TimeSlots you should pass `bookable` as `true`.
107
- * + If booking one of the `NestedTimeSlot`s violates one of the corresponding service's booking policies, the `TimeSlot` returns with `bookable` as false. There is no indication which service's policy was violated.
108
- *
109
- * <blockquote class="important">
110
- * <p><strong>Important:</strong>
111
- * Because of DST, there are edge cases where certain times either do not exist or exist twice for a local time zone.
112
- * Read more about <a href="https://bo.wix.com/wix-docs/rest/all-apis/wix-service-availability/multi-service-availability-time-slots/introduction#all-apis_wix-service-availability_multi-service-availability-time-slots_introduction_daylight-saving-time-dst-handling">DST Handling</a></p>
113
- * </blockquote>
114
- *
115
- * ### ListAvailabilityTimeSlots runs with the following defaults:
116
- * + `localStartDate` is sorted in `ASC` order.
117
- * + `cursorPaging`.`limit` is `1000`.
118
- * @public
119
- * @documentationMaturity preview
120
- * @permissionId BOOKINGS.AVAILABILITY_READ_MULTI_SERVICE_TIME_SLOTS
121
- * @permissionScope Manage Stores
122
- * @permissionScopeId SCOPE.STORES.MANAGE-STORES
123
- * @permissionScope Read Bookings - Public Data
124
- * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
125
- * @permissionScope Manage Bookings Services and Settings
126
- * @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
127
- * @permissionScope Manage Bookings
128
- * @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-BOOKINGS
129
- * @permissionScope Read Bookings - Including Participants
130
- * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-SENSITIVE
131
- * @permissionScope Read Bookings - all read permissions
132
- * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.READ-BOOKINGS
133
- * @permissionScope Read Bookings Calendar Availability
134
- * @permissionScopeId SCOPE.DC-BOOKINGS.READ-CALENDAR
135
- * @permissionScope Manage Bookings - all permissions
136
- * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
137
- * @applicableIdentity APP
138
- * @applicableIdentity VISITOR
139
- * @fqn com.wixpress.bookings.availability.v2.MultiServiceAvailabilityTimeSlots.ListMultiServiceAvailabilityTimeSlots
140
- */
141
- async function listMultiServiceAvailabilityTimeSlots(options) {
142
- // @ts-ignore
143
- const { httpClient, sideEffects } = arguments[1];
144
- const payload = (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({
145
- services: options?.services,
146
- fromLocalDate: options?.fromLocalDate,
147
- toLocalDate: options?.toLocalDate,
148
- timeZone: options?.timeZone,
149
- location: options?.location,
150
- bookable: options?.bookable,
151
- bookingPolicyViolations: options?.bookingPolicyViolations,
152
- timeSlotsPerDay: options?.timeSlotsPerDay,
153
- cursorPaging: options?.cursorPaging,
154
- });
155
- const reqOpts = ambassadorWixBookingsAvailabilityV2TimeSlot.listMultiServiceAvailabilityTimeSlots(payload);
156
- sideEffects?.onSiteCall?.();
157
- try {
158
- const result = await httpClient.request(reqOpts);
159
- sideEffects?.onSuccess?.(result);
160
- return (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)(result.data);
161
- }
162
- catch (err) {
163
- const transformedError = (0, transform_error_1.transformError)(err, {
164
- spreadPathsToArguments: {},
165
- explicitPathsToArguments: {
166
- services: '$[0].services',
167
- fromLocalDate: '$[0].fromLocalDate',
168
- toLocalDate: '$[0].toLocalDate',
169
- timeZone: '$[0].timeZone',
170
- location: '$[0].location',
171
- bookable: '$[0].bookable',
172
- bookingPolicyViolations: '$[0].bookingPolicyViolations',
173
- timeSlotsPerDay: '$[0].timeSlotsPerDay',
174
- cursorPaging: '$[0].cursorPaging',
175
- },
176
- singleArgumentUnchanged: false,
177
- }, ['options']);
178
- sideEffects?.onError?.(err);
179
- throw transformedError;
180
- }
181
- }
182
- exports.listMultiServiceAvailabilityTimeSlots = listMultiServiceAvailabilityTimeSlots;
183
- /**
184
- * Retrieves an available multiService `TimeSlot` that match the provided filters.
185
- *
186
- * Throws `SlotNotFound` if there is no such available time slot.
187
- *
188
- * <blockquote class="important">
189
- * <p><strong>Important:</strong><br/>
190
- * Currently supported only for services of type <code class="grey-background">APPOINTMENT</code>.</p>
191
- * </blockquote>
192
- *
193
- * By default,
194
- * if you don't provide a `service`.`includeResourceTypeIds` or `service`.`resourceIds` in request,
195
- * we return for each `TimeSlot`.`NestedTimeSlot` all `AvailableResources` with all `AvailableResources`.`resources` which are available to provide
196
- * the corresponding service within the time slot.
197
- *
198
- * If you specify `service`.`includeResourceTypeIds` or `service`.`resourceIds` in request,
199
- * the returned `TimeSlot`.`NestedTimeSlot` for this service will contain only `AvailableResources` with at least one available resource
200
- * which match the given resources filters,
201
- * each contains all available resources out of those requested.
202
- *
203
- * + Notes:
204
- * + All nested time slots share the same location.
205
- * + You can pass up to 8 services.
206
- *
207
- * <blockquote class="tip">
208
- * <p><strong>Tip:</strong><br/>
209
- * Use this API in order to get the availability of a specific <code class="grey-background">TimeSlot</code> out of those returned from <code class="grey-background">ListMultiServiceAvailabilityTimeSlots</code> API.</p>
210
- * </blockquote>
211
- * @param services - Services for which the multiService TimeSlots are being returned for.
212
- * Each service contains its own resources filters within.
213
- *
214
- * MinSize: 2.
215
- * MaxSize: 8.
216
- * @param localStartDate - Local start date of the time slot, in ISO-8601 format.
217
- * For example, "2024-01-30T13:30:00".
218
- * @param localEndDate - Local end date of the time slot, in ISO-8601 format.
219
- * For example, "2024-01-30T14:30:00".
220
- * @param timeZone - Time zone, in IANA time zone format.
221
- * @param location - The location of the time slot.
222
- *
223
- * You must provide a specific `locationType`.
224
- * If locationType is `BUSINESS`, you __must__ also provide a `locationId`.
225
- *
226
- * <blockquote class="warning">
227
- * <p>Supports filtering by location type, or by location ID.
228
- * Other fields like <code class="grey-background">name</code> are ignored.</p>
229
- * </blockquote>
230
- * @public
231
- * @documentationMaturity preview
232
- * @requiredField localEndDate
233
- * @requiredField localStartDate
234
- * @requiredField location
235
- * @requiredField location.locationType
236
- * @requiredField services
237
- * @requiredField services.serviceId
238
- * @requiredField timeZone
239
- * @permissionId BOOKINGS.AVAILABILITY_READ_MULTI_SERVICE_TIME_SLOTS
240
- * @permissionScope Manage Stores
241
- * @permissionScopeId SCOPE.STORES.MANAGE-STORES
242
- * @permissionScope Read Bookings - Public Data
243
- * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
244
- * @permissionScope Manage Bookings Services and Settings
245
- * @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
246
- * @permissionScope Manage Bookings
247
- * @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-BOOKINGS
248
- * @permissionScope Read Bookings - Including Participants
249
- * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-SENSITIVE
250
- * @permissionScope Read Bookings - all read permissions
251
- * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.READ-BOOKINGS
252
- * @permissionScope Read Bookings Calendar Availability
253
- * @permissionScopeId SCOPE.DC-BOOKINGS.READ-CALENDAR
254
- * @permissionScope Manage Bookings - all permissions
255
- * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
256
- * @applicableIdentity APP
257
- * @applicableIdentity VISITOR
258
- * @fqn com.wixpress.bookings.availability.v2.MultiServiceAvailabilityTimeSlots.GetMultiServiceAvailabilityTimeSlot
259
- */
260
- async function getMultiServiceAvailabilityTimeSlot(services, localStartDate, localEndDate, timeZone, location) {
261
- // @ts-ignore
262
- const { httpClient, sideEffects } = arguments[5];
263
- const payload = (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({
264
- services: services,
265
- localStartDate: localStartDate,
266
- localEndDate: localEndDate,
267
- timeZone: timeZone,
268
- location: location,
269
- });
270
- const reqOpts = ambassadorWixBookingsAvailabilityV2TimeSlot.getMultiServiceAvailabilityTimeSlot(payload);
271
- sideEffects?.onSiteCall?.();
272
- try {
273
- const result = await httpClient.request(reqOpts);
274
- sideEffects?.onSuccess?.(result);
275
- return (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)(result.data);
276
- }
277
- catch (err) {
278
- const transformedError = (0, transform_error_1.transformError)(err, {
279
- spreadPathsToArguments: {},
280
- explicitPathsToArguments: {
281
- services: '$[0]',
282
- localStartDate: '$[1]',
283
- localEndDate: '$[2]',
284
- timeZone: '$[3]',
285
- location: '$[4]',
286
- },
287
- singleArgumentUnchanged: false,
288
- }, ['services', 'localStartDate', 'localEndDate', 'timeZone', 'location']);
289
- sideEffects?.onError?.(err);
290
- throw transformedError;
291
- }
292
- }
293
- exports.getMultiServiceAvailabilityTimeSlot = getMultiServiceAvailabilityTimeSlot;
294
- //# sourceMappingURL=bookings-availability-v2-time-slot-multi-service-availability-time-slots.universal.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"bookings-availability-v2-time-slot-multi-service-availability-time-slots.universal.js","sourceRoot":"","sources":["../../../src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.universal.ts"],"names":[],"mappings":"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"}
@@ -1 +0,0 @@
1
- export * from './src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.context.js';
package/build/es/index.js DELETED
@@ -1,2 +0,0 @@
1
- export * from './src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.context.js';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,cAAc,2FAA2F,CAAC"}
@@ -1 +0,0 @@
1
- export * from './src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.universal.js';
@@ -1,2 +0,0 @@
1
- export * from './src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.universal.js';
2
- //# sourceMappingURL=index.typings.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.typings.js","sourceRoot":"","sources":["../../index.typings.ts"],"names":[],"mappings":"AAAA,cAAc,6FAA6F,CAAC"}
@@ -1 +0,0 @@
1
- export * from './src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.meta.js';
package/build/es/meta.js DELETED
@@ -1,2 +0,0 @@
1
- export * from './src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.meta.js';
2
- //# sourceMappingURL=meta.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":"AAAA,cAAc,wFAAwF,CAAC"}
@@ -1,6 +0,0 @@
1
- import { listMultiServiceAvailabilityTimeSlots as publicListMultiServiceAvailabilityTimeSlots, getMultiServiceAvailabilityTimeSlot as publicGetMultiServiceAvailabilityTimeSlot } from './bookings-availability-v2-time-slot-multi-service-availability-time-slots.public.js';
2
- import { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';
3
- export declare const listMultiServiceAvailabilityTimeSlots: MaybeContext<BuildRESTFunction<typeof publicListMultiServiceAvailabilityTimeSlots> & typeof publicListMultiServiceAvailabilityTimeSlots>;
4
- export declare const getMultiServiceAvailabilityTimeSlot: MaybeContext<BuildRESTFunction<typeof publicGetMultiServiceAvailabilityTimeSlot> & typeof publicGetMultiServiceAvailabilityTimeSlot>;
5
- export { LocationType } from './bookings-availability-v2-time-slot-multi-service-availability-time-slots.universal.js';
6
- export { TimeSlot, Location, EventInfo, WaitingList, BookingPolicyViolations, AvailableResources, Resource, NestedTimeSlot, NonBookableReasons, ListMultiServiceAvailabilityTimeSlotsRequest, Service, V2CustomerChoices, CursorPaging, ListMultiServiceAvailabilityTimeSlotsResponse, CursorPagingMetadata, Cursors, GetMultiServiceAvailabilityTimeSlotRequest, GetMultiServiceAvailabilityTimeSlotResponse, ListAvailabilityTimeSlotsRequest, CustomerChoices, ResourceType, ListAvailabilityTimeSlotsResponse, GetAvailabilityTimeSlotRequest, GetAvailabilityTimeSlotRequestCustomerChoices, GetAvailabilityTimeSlotResponse, ListEventTimeSlotsRequest, ListEventTimeSlotsResponse, GetEventTimeSlotRequest, GetEventTimeSlotResponse, ListMultiServiceAvailabilityTimeSlotsOptions, } from './bookings-availability-v2-time-slot-multi-service-availability-time-slots.universal.js';
@@ -1,6 +0,0 @@
1
- import { listMultiServiceAvailabilityTimeSlots as publicListMultiServiceAvailabilityTimeSlots, getMultiServiceAvailabilityTimeSlot as publicGetMultiServiceAvailabilityTimeSlot, } from './bookings-availability-v2-time-slot-multi-service-availability-time-slots.public.js';
2
- import { createRESTModule } from '@wix/sdk-runtime/rest-modules';
3
- export const listMultiServiceAvailabilityTimeSlots = /*#__PURE__*/ createRESTModule(publicListMultiServiceAvailabilityTimeSlots);
4
- export const getMultiServiceAvailabilityTimeSlot = /*#__PURE__*/ createRESTModule(publicGetMultiServiceAvailabilityTimeSlot);
5
- export { LocationType } from './bookings-availability-v2-time-slot-multi-service-availability-time-slots.universal.js';
6
- //# sourceMappingURL=bookings-availability-v2-time-slot-multi-service-availability-time-slots.context.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"bookings-availability-v2-time-slot-multi-service-availability-time-slots.context.js","sourceRoot":"","sources":["../../../src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.context.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qCAAqC,IAAI,2CAA2C,EACpF,mCAAmC,IAAI,yCAAyC,GACjF,MAAM,sFAAsF,CAAC;AAC9F,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAGjE,MAAM,CAAC,MAAM,qCAAqC,GAG9C,aAAa,CAAC,gBAAgB,CAAC,2CAA2C,CAAC,CAAC;AAChF,MAAM,CAAC,MAAM,mCAAmC,GAG5C,aAAa,CAAC,gBAAgB,CAAC,yCAAyC,CAAC,CAAC;AAE9E,OAAO,EAAE,YAAY,EAAE,MAAM,yFAAyF,CAAC"}
@@ -1,111 +0,0 @@
1
- import { RequestOptionsFactory } from '@wix/sdk-types';
2
- /**
3
- * Retrieves a list of multiService `TimeSlot`s that match the provided filters.
4
- *
5
- * <blockquote class="important">
6
- * <p><strong>Important:</strong><br/>
7
- * Currently supported only for services of type <code class="grey-background">APPOINTMENT</code>.</p>
8
- * </blockquote>
9
- *
10
- * The request body __must__ include either:
11
- * + All of the following filters: `service`.`serviceId`, `fromLocalDate`, `toLocalDate`, `location`, and `timeZone`. You may add additional filters as you wish.
12
- * + A `cursorPaging` with a valid `cursor` from previous response.
13
- *
14
- *
15
- * Each [TimeSlot](https://bo.wix.com/wix-docs/rest/all-apis/wix-service-availability/availability-time-slots/time-slot-object) in response
16
- * represents the availability of the given sequence of services in a specific order, location, and within a given range of time.
17
- *
18
- * Each `TimeSlot`.`NestedTimeSlot` represents a single service from the given list. The order of the `NestedTimeSlots` is the same as the order
19
- * of the given services in request.
20
- * The first `NestedTimeSlot` has `localStartDate` within the given `fromLocalDate` and `toLocalDate` exclusive,
21
- * and each following `NestedTimeSlot` has a `localStartDate` that equals to the previous `NestedTimeSlot`'s `localEndDate`.
22
- *
23
- * By default,
24
- * the response contains at most 1000 results.
25
- * If there are more than 1000 results, we return a `cursorPagingMetadata` with
26
- * a cursor for the next page of results, regardless of whether a `cursorPaging`
27
- * was provided in request.
28
- *
29
- * > __Notes:__
30
- * > + All nested time slots share the same location.
31
- * > + You can pass up to 8 services in request.
32
- *
33
- * ### AvailableResources in response:
34
- * The `TimeSlot`.`NestedTimeSlot`'s `AvailableResources` contains information about the resources that are available to provide the service
35
- * within the `NestedTimeSlot` range of time. Each `AvailableResources` contains information about available resources of the same type.
36
- *
37
- * <blockquote class="important">
38
- * <p><strong>Important:</strong><br/>
39
- * By default,
40
- * if you don't specify <code class="grey-background">service</code>.<code class="grey-background">includeResourceTypeIds</code>
41
- * or <code class="grey-background">service</code>.<code class="grey-background">resourceIds</code> filters in request,
42
- * we return TimeSlots with <code class="grey-background">NestedTimeSlot</code>s with an empty <code class="grey-background">AvailableResources</code>.
43
- * <br/><strong>Note:</strong><br/> Not specifying resources filters can be handy in case you want to avoid large response in flows that only
44
- * interested of whether the time slots are available. [Finding the next available slot within the next 3 months](https://bo.wix.com/wix-docs/rest/all-apis/service-availability/multi-service-availability-time-slots/sample-flows?localViewerId=inbari#all-apis_service-availability_multi-service-availability-time-slots_sample-flows_find-the-first-date-within-the-next-3-months-that-all-selected-services-are-available-for)
45
- * is an example for such flow.
46
- * </p>
47
- * </blockquote>
48
- *
49
- *
50
- * If you wish to get a list of available resources for a `TimeSlot`.`NestedTimeSlot` you should either:
51
- * + provide `service`.`resourceIds` in request.
52
- * + provide `service`.`includeResourceTypeIds` in request.
53
- *
54
- * __Notes:__
55
- * + In both cases the returned `TimeSlot`.`NestedTimeSlot` contains __up__ to 10 `AvailableResources` that match the provided filters. Each `AvailableResources` contains __up__ to 10 available `resources` of the same type that match the provided filters.
56
- * + If an `AvailableResources` has more available resources which are not listed within it, we return `AvailableResources`.`hasMoreAvailableResources` as true.
57
- * + If you wish to get the full available resources list for all `NestedTimeSlot` of a specific `TimeSlot`, you should call [GetMultiServiceAvailabilityTimeSlot](https://bo.wix.com/wix-docs/rest/all-apis/wix-service-availability/multi-service-availability-time-slots/get-multi-service-availability-time-slot).
58
- *
59
- *
60
- * ### Availability VS Bookability
61
- * An `available` time slot is not necessarily `bookable`.
62
- * The `bookable` field of a `TimeSlot` indicates whether the customer can book all of the of the services within the given time slot,
63
- * at a specific period of time.
64
- * Read more about [Availability VS Bookability](https://bo.wix.com/wix-docs/rest/all-apis/wix-service-availability/multi-service-availability-time-slots/introduction#all-apis_wix-service-availability_multi-service-availability-time-slots_introduction_availability-vs-bookability).
65
- *
66
- * By default,
67
- * + The response does not contains `unavailable` TimeSlots.For example, if there are no available resources to provide one of the services from `2024-01-30T14:30:00` to `2024-01-30T15:30:00`, we don't return TimeSlots with `NestedTimeSlot`.`localStartDate` within this range for this service.
68
- * + The response contains both `bookable` and `un-bookable` TimeSlots.For example, if one of the services has a booking policy which enforces booking the service up to 10 minutes before the session starts, we return TimeSlots with the violating `NestedTimeSlot`.`localStartDate`, with `bookable` as `false`. If you want to list only __bookable__ TimeSlots you should pass `bookable` as `true`.
69
- * + If booking one of the `NestedTimeSlot`s violates one of the corresponding service's booking policies, the `TimeSlot` returns with `bookable` as false. There is no indication which service's policy was violated.
70
- *
71
- * <blockquote class="important">
72
- * <p><strong>Important:</strong>
73
- * Because of DST, there are edge cases where certain times either do not exist or exist twice for a local time zone.
74
- * Read more about <a href="https://bo.wix.com/wix-docs/rest/all-apis/wix-service-availability/multi-service-availability-time-slots/introduction#all-apis_wix-service-availability_multi-service-availability-time-slots_introduction_daylight-saving-time-dst-handling">DST Handling</a></p>
75
- * </blockquote>
76
- *
77
- * ### ListAvailabilityTimeSlots runs with the following defaults:
78
- * + `localStartDate` is sorted in `ASC` order.
79
- * + `cursorPaging`.`limit` is `1000`.
80
- */
81
- export declare function listMultiServiceAvailabilityTimeSlots(payload: object): RequestOptionsFactory<any>;
82
- /**
83
- * Retrieves an available multiService `TimeSlot` that match the provided filters.
84
- *
85
- * Throws `SlotNotFound` if there is no such available time slot.
86
- *
87
- * <blockquote class="important">
88
- * <p><strong>Important:</strong><br/>
89
- * Currently supported only for services of type <code class="grey-background">APPOINTMENT</code>.</p>
90
- * </blockquote>
91
- *
92
- * By default,
93
- * if you don't provide a `service`.`includeResourceTypeIds` or `service`.`resourceIds` in request,
94
- * we return for each `TimeSlot`.`NestedTimeSlot` all `AvailableResources` with all `AvailableResources`.`resources` which are available to provide
95
- * the corresponding service within the time slot.
96
- *
97
- * If you specify `service`.`includeResourceTypeIds` or `service`.`resourceIds` in request,
98
- * the returned `TimeSlot`.`NestedTimeSlot` for this service will contain only `AvailableResources` with at least one available resource
99
- * which match the given resources filters,
100
- * each contains all available resources out of those requested.
101
- *
102
- * + Notes:
103
- * + All nested time slots share the same location.
104
- * + You can pass up to 8 services.
105
- *
106
- * <blockquote class="tip">
107
- * <p><strong>Tip:</strong><br/>
108
- * Use this API in order to get the availability of a specific <code class="grey-background">TimeSlot</code> out of those returned from <code class="grey-background">ListMultiServiceAvailabilityTimeSlots</code> API.</p>
109
- * </blockquote>
110
- */
111
- export declare function getMultiServiceAvailabilityTimeSlot(payload: object): RequestOptionsFactory<any>;