@wix/auto_sdk_bookings_availability-calendar 1.0.78 → 1.0.79

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 (130) hide show
  1. package/build/{cjs/src/bookings-availability-v1-slot-availability-availability-calendar.types.d.ts → bookings-availability-v1-slot-availability-availability-calendar.universal-Drm9S8li.d.mts} +108 -45
  2. package/build/{internal/cjs/src/bookings-availability-v1-slot-availability-availability-calendar.types.d.ts → bookings-availability-v1-slot-availability-availability-calendar.universal-Drm9S8li.d.ts} +108 -45
  3. package/build/{cjs/src/bookings-availability-v1-slot-availability-availability-calendar.public.d.ts → index.d.mts} +13 -9
  4. package/build/{es/src/bookings-availability-v1-slot-availability-availability-calendar.public.d.ts → index.d.ts} +13 -9
  5. package/build/index.js +410 -0
  6. package/build/index.js.map +1 -0
  7. package/build/index.mjs +381 -0
  8. package/build/index.mjs.map +1 -0
  9. package/build/{es/src/bookings-availability-v1-slot-availability-availability-calendar.types.d.ts → internal/bookings-availability-v1-slot-availability-availability-calendar.universal-Drm9S8li.d.mts} +108 -45
  10. package/build/internal/{es/src/bookings-availability-v1-slot-availability-availability-calendar.types.d.ts → bookings-availability-v1-slot-availability-availability-calendar.universal-Drm9S8li.d.ts} +108 -45
  11. package/build/internal/{es/src/bookings-availability-v1-slot-availability-availability-calendar.public.d.ts → index.d.mts} +13 -9
  12. package/build/internal/{cjs/src/bookings-availability-v1-slot-availability-availability-calendar.public.d.ts → index.d.ts} +13 -9
  13. package/build/internal/index.js +410 -0
  14. package/build/internal/index.js.map +1 -0
  15. package/build/internal/index.mjs +381 -0
  16. package/build/internal/index.mjs.map +1 -0
  17. package/build/internal/meta.d.mts +377 -0
  18. package/build/internal/meta.d.ts +377 -0
  19. package/build/internal/meta.js +306 -0
  20. package/build/internal/meta.js.map +1 -0
  21. package/build/internal/meta.mjs +277 -0
  22. package/build/internal/meta.mjs.map +1 -0
  23. package/build/meta.d.mts +377 -0
  24. package/build/meta.d.ts +377 -0
  25. package/build/meta.js +306 -0
  26. package/build/meta.js.map +1 -0
  27. package/build/meta.mjs +277 -0
  28. package/build/meta.mjs.map +1 -0
  29. package/package.json +13 -12
  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-v1-slot-availability-availability-calendar.context.d.ts +0 -7
  40. package/build/cjs/src/bookings-availability-v1-slot-availability-availability-calendar.context.js +0 -13
  41. package/build/cjs/src/bookings-availability-v1-slot-availability-availability-calendar.context.js.map +0 -1
  42. package/build/cjs/src/bookings-availability-v1-slot-availability-availability-calendar.http.d.ts +0 -93
  43. package/build/cjs/src/bookings-availability-v1-slot-availability-availability-calendar.http.js +0 -304
  44. package/build/cjs/src/bookings-availability-v1-slot-availability-availability-calendar.http.js.map +0 -1
  45. package/build/cjs/src/bookings-availability-v1-slot-availability-availability-calendar.meta.d.ts +0 -17
  46. package/build/cjs/src/bookings-availability-v1-slot-availability-availability-calendar.meta.js +0 -85
  47. package/build/cjs/src/bookings-availability-v1-slot-availability-availability-calendar.meta.js.map +0 -1
  48. package/build/cjs/src/bookings-availability-v1-slot-availability-availability-calendar.public.js +0 -28
  49. package/build/cjs/src/bookings-availability-v1-slot-availability-availability-calendar.public.js.map +0 -1
  50. package/build/cjs/src/bookings-availability-v1-slot-availability-availability-calendar.types.js +0 -26
  51. package/build/cjs/src/bookings-availability-v1-slot-availability-availability-calendar.types.js.map +0 -1
  52. package/build/cjs/src/bookings-availability-v1-slot-availability-availability-calendar.universal.d.ts +0 -909
  53. package/build/cjs/src/bookings-availability-v1-slot-availability-availability-calendar.universal.js +0 -290
  54. package/build/cjs/src/bookings-availability-v1-slot-availability-availability-calendar.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/package.json +0 -3
  65. package/build/es/src/bookings-availability-v1-slot-availability-availability-calendar.context.d.ts +0 -7
  66. package/build/es/src/bookings-availability-v1-slot-availability-availability-calendar.context.js +0 -7
  67. package/build/es/src/bookings-availability-v1-slot-availability-availability-calendar.context.js.map +0 -1
  68. package/build/es/src/bookings-availability-v1-slot-availability-availability-calendar.http.d.ts +0 -93
  69. package/build/es/src/bookings-availability-v1-slot-availability-availability-calendar.http.js +0 -298
  70. package/build/es/src/bookings-availability-v1-slot-availability-availability-calendar.http.js.map +0 -1
  71. package/build/es/src/bookings-availability-v1-slot-availability-availability-calendar.meta.d.ts +0 -17
  72. package/build/es/src/bookings-availability-v1-slot-availability-availability-calendar.meta.js +0 -56
  73. package/build/es/src/bookings-availability-v1-slot-availability-availability-calendar.meta.js.map +0 -1
  74. package/build/es/src/bookings-availability-v1-slot-availability-availability-calendar.public.js +0 -19
  75. package/build/es/src/bookings-availability-v1-slot-availability-availability-calendar.public.js.map +0 -1
  76. package/build/es/src/bookings-availability-v1-slot-availability-availability-calendar.types.js +0 -23
  77. package/build/es/src/bookings-availability-v1-slot-availability-availability-calendar.types.js.map +0 -1
  78. package/build/es/src/bookings-availability-v1-slot-availability-availability-calendar.universal.d.ts +0 -909
  79. package/build/es/src/bookings-availability-v1-slot-availability-availability-calendar.universal.js +0 -261
  80. package/build/es/src/bookings-availability-v1-slot-availability-availability-calendar.universal.js.map +0 -1
  81. package/build/internal/cjs/index.d.ts +0 -1
  82. package/build/internal/cjs/index.js +0 -18
  83. package/build/internal/cjs/index.js.map +0 -1
  84. package/build/internal/cjs/index.typings.d.ts +0 -1
  85. package/build/internal/cjs/index.typings.js +0 -18
  86. package/build/internal/cjs/index.typings.js.map +0 -1
  87. package/build/internal/cjs/meta.d.ts +0 -1
  88. package/build/internal/cjs/meta.js +0 -18
  89. package/build/internal/cjs/meta.js.map +0 -1
  90. package/build/internal/cjs/src/bookings-availability-v1-slot-availability-availability-calendar.context.d.ts +0 -7
  91. package/build/internal/cjs/src/bookings-availability-v1-slot-availability-availability-calendar.context.js +0 -13
  92. package/build/internal/cjs/src/bookings-availability-v1-slot-availability-availability-calendar.context.js.map +0 -1
  93. package/build/internal/cjs/src/bookings-availability-v1-slot-availability-availability-calendar.http.d.ts +0 -93
  94. package/build/internal/cjs/src/bookings-availability-v1-slot-availability-availability-calendar.http.js +0 -304
  95. package/build/internal/cjs/src/bookings-availability-v1-slot-availability-availability-calendar.http.js.map +0 -1
  96. package/build/internal/cjs/src/bookings-availability-v1-slot-availability-availability-calendar.meta.d.ts +0 -17
  97. package/build/internal/cjs/src/bookings-availability-v1-slot-availability-availability-calendar.meta.js +0 -85
  98. package/build/internal/cjs/src/bookings-availability-v1-slot-availability-availability-calendar.meta.js.map +0 -1
  99. package/build/internal/cjs/src/bookings-availability-v1-slot-availability-availability-calendar.public.js +0 -28
  100. package/build/internal/cjs/src/bookings-availability-v1-slot-availability-availability-calendar.public.js.map +0 -1
  101. package/build/internal/cjs/src/bookings-availability-v1-slot-availability-availability-calendar.types.js +0 -26
  102. package/build/internal/cjs/src/bookings-availability-v1-slot-availability-availability-calendar.types.js.map +0 -1
  103. package/build/internal/cjs/src/bookings-availability-v1-slot-availability-availability-calendar.universal.d.ts +0 -909
  104. package/build/internal/cjs/src/bookings-availability-v1-slot-availability-availability-calendar.universal.js +0 -290
  105. package/build/internal/cjs/src/bookings-availability-v1-slot-availability-availability-calendar.universal.js.map +0 -1
  106. package/build/internal/es/index.d.ts +0 -1
  107. package/build/internal/es/index.js +0 -2
  108. package/build/internal/es/index.js.map +0 -1
  109. package/build/internal/es/index.typings.d.ts +0 -1
  110. package/build/internal/es/index.typings.js +0 -2
  111. package/build/internal/es/index.typings.js.map +0 -1
  112. package/build/internal/es/meta.d.ts +0 -1
  113. package/build/internal/es/meta.js +0 -2
  114. package/build/internal/es/meta.js.map +0 -1
  115. package/build/internal/es/src/bookings-availability-v1-slot-availability-availability-calendar.context.d.ts +0 -7
  116. package/build/internal/es/src/bookings-availability-v1-slot-availability-availability-calendar.context.js +0 -7
  117. package/build/internal/es/src/bookings-availability-v1-slot-availability-availability-calendar.context.js.map +0 -1
  118. package/build/internal/es/src/bookings-availability-v1-slot-availability-availability-calendar.http.d.ts +0 -93
  119. package/build/internal/es/src/bookings-availability-v1-slot-availability-availability-calendar.http.js +0 -298
  120. package/build/internal/es/src/bookings-availability-v1-slot-availability-availability-calendar.http.js.map +0 -1
  121. package/build/internal/es/src/bookings-availability-v1-slot-availability-availability-calendar.meta.d.ts +0 -17
  122. package/build/internal/es/src/bookings-availability-v1-slot-availability-availability-calendar.meta.js +0 -56
  123. package/build/internal/es/src/bookings-availability-v1-slot-availability-availability-calendar.meta.js.map +0 -1
  124. package/build/internal/es/src/bookings-availability-v1-slot-availability-availability-calendar.public.js +0 -19
  125. package/build/internal/es/src/bookings-availability-v1-slot-availability-availability-calendar.public.js.map +0 -1
  126. package/build/internal/es/src/bookings-availability-v1-slot-availability-availability-calendar.types.js +0 -23
  127. package/build/internal/es/src/bookings-availability-v1-slot-availability-availability-calendar.types.js.map +0 -1
  128. package/build/internal/es/src/bookings-availability-v1-slot-availability-availability-calendar.universal.d.ts +0 -909
  129. package/build/internal/es/src/bookings-availability-v1-slot-availability-availability-calendar.universal.js +0 -261
  130. package/build/internal/es/src/bookings-availability-v1-slot-availability-availability-calendar.universal.js.map +0 -1
@@ -1,4 +1,4 @@
1
- export interface SlotAvailability {
1
+ interface SlotAvailability {
2
2
  /**
3
3
  * The slot for the corresponding session, when the session is either a single session
4
4
  * or a specific session generated from a recurring session.
@@ -29,7 +29,7 @@ export interface SlotAvailability {
29
29
  locked?: boolean | null;
30
30
  isFromV2?: boolean;
31
31
  }
32
- export interface Slot {
32
+ interface Slot {
33
33
  /**
34
34
  * ID for the slot's corresponding session, when the session is either a single session
35
35
  * or a specific session generated from a recurring session.
@@ -87,26 +87,26 @@ export interface Slot {
87
87
  */
88
88
  eventId?: string | null;
89
89
  }
90
- export interface SlotResource {
90
+ interface SlotResource {
91
91
  /**
92
92
  * Resource ID.
93
93
  * @format GUID
94
94
  * @readonly
95
95
  */
96
- id?: string | null;
96
+ _id?: string | null;
97
97
  /**
98
98
  * Resource name. Read only.
99
99
  * @maxLength 1200
100
100
  */
101
101
  name?: string | null;
102
102
  }
103
- export interface Location {
103
+ interface Location {
104
104
  /**
105
105
  * Business location ID. Available only for locations that are business locations,
106
106
  * meaning the `location_type` is `"OWNER_BUSINESS"`.
107
107
  * @format GUID
108
108
  */
109
- id?: string | null;
109
+ _id?: string | null;
110
110
  /** Location name. */
111
111
  name?: string | null;
112
112
  /** The full address of this location. */
@@ -125,13 +125,13 @@ export interface Location {
125
125
  */
126
126
  locationType?: LocationType;
127
127
  }
128
- export declare enum LocationType {
128
+ declare enum LocationType {
129
129
  UNDEFINED = "UNDEFINED",
130
130
  OWNER_BUSINESS = "OWNER_BUSINESS",
131
131
  OWNER_CUSTOM = "OWNER_CUSTOM",
132
132
  CUSTOM = "CUSTOM"
133
133
  }
134
- export interface AvailabilityWaitingList {
134
+ interface AvailabilityWaitingList {
135
135
  /**
136
136
  * Total number of spots and open spots for this waitlist.
137
137
  * For example, a Yoga class with 10 waitlist spots and 3 registered
@@ -141,7 +141,7 @@ export interface AvailabilityWaitingList {
141
141
  /** Number of open spots for this waitlist. */
142
142
  openSpots?: number | null;
143
143
  }
144
- export interface BookingPolicyViolations {
144
+ interface BookingPolicyViolations {
145
145
  /** Bookings policy violation. Too early to book this slot. */
146
146
  tooEarlyToBook?: boolean | null;
147
147
  /** Bookings policy violation. Too late to book this slot. */
@@ -149,7 +149,7 @@ export interface BookingPolicyViolations {
149
149
  /** Bookings policy violation. Online booking is disabled for this slot. */
150
150
  bookOnlineDisabled?: boolean | null;
151
151
  }
152
- export interface NestedTimeSlot {
152
+ interface NestedTimeSlot {
153
153
  /** @format GUID */
154
154
  serviceId?: string;
155
155
  /** @maxLength 30 */
@@ -160,7 +160,7 @@ export interface NestedTimeSlot {
160
160
  /** Schedule ID. */
161
161
  scheduleId?: string;
162
162
  }
163
- export interface QueryAvailabilityRequest {
163
+ interface QueryAvailabilityRequest {
164
164
  /**
165
165
  * Query options. Refer to the
166
166
  * _supported filters article_
@@ -192,7 +192,7 @@ export interface QueryAvailabilityRequest {
192
192
  */
193
193
  slotsPerDay?: number | null;
194
194
  }
195
- export interface QueryV2 extends QueryV2PagingMethodOneOf {
195
+ interface QueryV2 extends QueryV2PagingMethodOneOf {
196
196
  /**
197
197
  * Filter object. For a list of
198
198
  * fields you can filter by, see [Calendar Availability: Supported Fields, Filters, and Sorting](https://dev.wix.com/api/rest/wix-bookings/availability-calendar/supported-fields,-filters,-and-sorting).
@@ -207,9 +207,9 @@ export interface QueryV2 extends QueryV2PagingMethodOneOf {
207
207
  sort?: Sorting[];
208
208
  }
209
209
  /** @oneof */
210
- export interface QueryV2PagingMethodOneOf {
210
+ interface QueryV2PagingMethodOneOf {
211
211
  }
212
- export interface Sorting {
212
+ interface Sorting {
213
213
  /**
214
214
  * Name of the field to sort by.
215
215
  * @maxLength 512
@@ -218,11 +218,11 @@ export interface Sorting {
218
218
  /** Sort order. */
219
219
  order?: SortOrder;
220
220
  }
221
- export declare enum SortOrder {
221
+ declare enum SortOrder {
222
222
  ASC = "ASC",
223
223
  DESC = "DESC"
224
224
  }
225
- export interface CursorPaging {
225
+ interface CursorPaging {
226
226
  /**
227
227
  * Maximum number of items to return in the results.
228
228
  * @max 100
@@ -241,7 +241,7 @@ export interface CursorPaging {
241
241
  * Selected customer choices.
242
242
  * These choices are selected by the customer during the booking flow and can be utilized to calculate the corresponding service's configuration properties.
243
243
  */
244
- export interface CustomerChoices {
244
+ interface CustomerChoices {
245
245
  /**
246
246
  * The selected customer duration in minutes.
247
247
  * Min: `1 minute`
@@ -258,11 +258,11 @@ export interface CustomerChoices {
258
258
  */
259
259
  addOnIds?: string[] | null;
260
260
  }
261
- export interface QueryAvailabilityResponse {
261
+ interface QueryAvailabilityResponse {
262
262
  /** List of appointment slots or class events matching the filter. */
263
263
  availabilityEntries?: SlotAvailability[];
264
264
  }
265
- export interface PagingMetadataV2 {
265
+ interface PagingMetadataV2 {
266
266
  /** Number of items returned in the response. */
267
267
  count?: number | null;
268
268
  /** Offset that was requested. */
@@ -274,7 +274,7 @@ export interface PagingMetadataV2 {
274
274
  /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
275
275
  cursors?: Cursors;
276
276
  }
277
- export interface Cursors {
277
+ interface Cursors {
278
278
  /**
279
279
  * Cursor string pointing to the next page in the list of results.
280
280
  * @maxLength 16000
@@ -286,7 +286,7 @@ export interface Cursors {
286
286
  */
287
287
  prev?: string | null;
288
288
  }
289
- export interface GetSlotAvailabilityRequest {
289
+ interface GetSlotAvailabilityRequest {
290
290
  /** The slot for which the availability is checked. */
291
291
  slot?: Slot;
292
292
  /**
@@ -299,29 +299,29 @@ export interface GetSlotAvailabilityRequest {
299
299
  */
300
300
  timezone?: string | null;
301
301
  }
302
- export interface GetSlotAvailabilityResponse {
302
+ interface GetSlotAvailabilityResponse {
303
303
  availability?: SlotAvailability;
304
304
  bookingPolicySettings?: BookingPolicySettings;
305
305
  }
306
- export interface BookingPolicySettings {
306
+ interface BookingPolicySettings {
307
307
  /**
308
308
  * The policy defining the maximum number of participants that can
309
309
  * be booked for a slot or a schedule.
310
310
  */
311
311
  maxParticipantsPerBooking?: number | null;
312
312
  }
313
- export interface GetScheduleAvailabilityRequest {
313
+ interface GetScheduleAvailabilityRequest {
314
314
  /**
315
315
  * The schedule ID for which availability is being checked.
316
316
  * @format GUID
317
317
  */
318
318
  scheduleId: string;
319
319
  }
320
- export interface GetScheduleAvailabilityResponse {
320
+ interface GetScheduleAvailabilityResponse {
321
321
  availability?: ScheduleAvailability;
322
322
  bookingPolicySettings?: BookingPolicySettings;
323
323
  }
324
- export interface ScheduleAvailability {
324
+ interface ScheduleAvailability {
325
325
  /**
326
326
  * The total number of spots defined for the schedule, including
327
327
  * both open and non-available spots.
@@ -332,7 +332,7 @@ export interface ScheduleAvailability {
332
332
  /** Booking policy violations for the schedule. */
333
333
  bookingPolicyViolations?: BookingPolicyViolations;
334
334
  }
335
- export interface CalculateMultiSlotAvailabilityRequest {
335
+ interface CalculateMultiSlotAvailabilityRequest {
336
336
  /** @maxLength 30 */
337
337
  from?: string;
338
338
  /** @maxLength 30 */
@@ -368,21 +368,21 @@ export interface CalculateMultiSlotAvailabilityRequest {
368
368
  slotsPerDay?: number | null;
369
369
  cursorPaging?: CursorPaging;
370
370
  }
371
- export interface RuleBasedConstraints {
371
+ interface RuleBasedConstraints {
372
372
  /** @format GUID */
373
373
  serviceId?: string;
374
374
  resourcesFilter?: ResourcesFilter;
375
375
  /** will be passed to availability-2, and to the availability-constraints SPI */
376
376
  customerChoices?: V2CustomerChoices;
377
377
  }
378
- export interface ResourcesFilter {
378
+ interface ResourcesFilter {
379
379
  resourceIds?: string[];
380
380
  }
381
381
  /**
382
382
  * Selected customer choices.
383
383
  * These choices are selected by the customer during the booking flow and can be utilized to calculate the corresponding service's configuration properties.
384
384
  */
385
- export interface V2CustomerChoices {
385
+ interface V2CustomerChoices {
386
386
  /**
387
387
  * The selected customer duration in minutes.
388
388
  * Min: `1 minute`
@@ -399,11 +399,11 @@ export interface V2CustomerChoices {
399
399
  */
400
400
  addOnIds?: string[] | null;
401
401
  }
402
- export interface CalculateMultiSlotAvailabilityResponse {
402
+ interface CalculateMultiSlotAvailabilityResponse {
403
403
  slots?: SlotAvailability[];
404
404
  cursorPagingMetadata?: CursorPagingMetadata;
405
405
  }
406
- export interface CursorPagingMetadata {
406
+ interface CursorPagingMetadata {
407
407
  /** Number of items returned in current page. */
408
408
  count?: number | null;
409
409
  /** Cursor strings that point to the next page, previous page, or both. */
@@ -416,7 +416,7 @@ export interface CursorPagingMetadata {
416
416
  */
417
417
  hasNext?: boolean | null;
418
418
  }
419
- export interface GetAvailabilityTimeSlotRequest {
419
+ interface GetAvailabilityTimeSlotRequest {
420
420
  /**
421
421
  * Service ID of the time slot.
422
422
  * Currently supported only for services of type `APPOINTMENT`.
@@ -474,12 +474,12 @@ export interface GetAvailabilityTimeSlotRequest {
474
474
  includeResourceTypeIds?: string[];
475
475
  fromV2?: boolean | null;
476
476
  }
477
- export interface TimeSlotLocation {
477
+ interface TimeSlotLocation {
478
478
  /**
479
479
  * Business Location ID. Present only if the location is a business location.
480
480
  * @format GUID
481
481
  */
482
- id?: string | null;
482
+ _id?: string | null;
483
483
  /**
484
484
  * The location name.
485
485
  * @maxLength 250
@@ -498,7 +498,7 @@ export interface TimeSlotLocation {
498
498
  */
499
499
  locationType?: LocationLocationType;
500
500
  }
501
- export declare enum LocationLocationType {
501
+ declare enum LocationLocationType {
502
502
  UNKNOWN_LOCATION_TYPE = "UNKNOWN_LOCATION_TYPE",
503
503
  /** A business location, either the default business address, or locations defined for the business by the Business Info. */
504
504
  BUSINESS = "BUSINESS",
@@ -507,7 +507,7 @@ export declare enum LocationLocationType {
507
507
  /** The location can be determined by the customer and is not set up beforehand. */
508
508
  CUSTOMER = "CUSTOMER"
509
509
  }
510
- export interface GetAvailabilityTimeSlotResponse {
510
+ interface GetAvailabilityTimeSlotResponse {
511
511
  /** Time slot. */
512
512
  timeSlot?: TimeSlot;
513
513
  /**
@@ -535,7 +535,7 @@ export interface GetAvailabilityTimeSlotResponse {
535
535
  * > When the `TimeSlot` has a non empty `NestedTimeSlots`, it represents the availability information
536
536
  * > for a given list of `Appointment` services within a specific time slot.
537
537
  */
538
- export interface TimeSlot {
538
+ interface TimeSlot {
539
539
  /**
540
540
  * Service ID.
541
541
  *
@@ -600,9 +600,9 @@ export interface TimeSlot {
600
600
  nestedTimeSlots?: Service_availabilityNestedTimeSlot[];
601
601
  }
602
602
  /** relevant for event based slots, and not for availability based slots */
603
- export interface EventInfo {
603
+ interface EventInfo {
604
604
  }
605
- export interface WaitingList {
605
+ interface WaitingList {
606
606
  /**
607
607
  * Total number of spots in this wait list.
608
608
  * @min 1
@@ -615,7 +615,7 @@ export interface WaitingList {
615
615
  */
616
616
  remainingCapacity?: number | null;
617
617
  }
618
- export interface Service_availabilityBookingPolicyViolations {
618
+ interface Service_availabilityBookingPolicyViolations {
619
619
  /** Bookings policy violation. Too early to book this slot. */
620
620
  tooEarlyToBook?: boolean | null;
621
621
  /** Bookings policy violation. Too late to book this slot. */
@@ -623,7 +623,7 @@ export interface Service_availabilityBookingPolicyViolations {
623
623
  /** Bookings policy violation. Online booking is disabled for the `TimeSlot` service. */
624
624
  bookOnlineDisabled?: boolean | null;
625
625
  }
626
- export interface AvailableResources {
626
+ interface AvailableResources {
627
627
  /**
628
628
  * Resource type ID.
629
629
  * @format GUID
@@ -656,12 +656,12 @@ export interface AvailableResources {
656
656
  */
657
657
  hasMoreAvailableResources?: boolean | null;
658
658
  }
659
- export interface Resource {
659
+ interface Resource {
660
660
  /**
661
661
  * Resource ID.
662
662
  * @format GUID
663
663
  */
664
- id?: string;
664
+ _id?: string;
665
665
  /**
666
666
  * Resource name.
667
667
  * @minLength 1
@@ -669,7 +669,7 @@ export interface Resource {
669
669
  */
670
670
  name?: string | null;
671
671
  }
672
- export interface Service_availabilityNestedTimeSlot {
672
+ interface Service_availabilityNestedTimeSlot {
673
673
  /**
674
674
  * Service ID of the nested time slot.
675
675
  * @format GUID
@@ -694,3 +694,66 @@ export interface Service_availabilityNestedTimeSlot {
694
694
  */
695
695
  availableResources?: AvailableResources[];
696
696
  }
697
+ interface QueryAvailabilityOptions {
698
+ /**
699
+ * Time zone override for the `endDate` and `startDate` filters, in
700
+ * [IANA tz database format](https://en.wikipedia.org/wiki/Tz_database), such as
701
+ * `America/New_York` or `UTC`.
702
+ *
703
+ * For example, if you specify `("startDate": "2025-11-25T17:00:00+01:00"}` (note
704
+ * the +01:00 offset) in combination with `{"timezone": "Europe/Bucharest"}`
705
+ * (+02:00 offset), *Query Availability* adjusts the effective start time to
706
+ * reflect the specified time zone. In this case, the start time in UTC would
707
+ * be `2025-11-25T15:00:00` (using the +02:00 offset).
708
+ *
709
+ * Learn more about *handling Daylight Savings Time*
710
+ * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/availability-calendar/query-availability#wix-bookings_availability-calendar_query-availability_daylight-savings-time-dst) | [REST](https://dev.wix.com/api/rest/wix-bookings/availability-calendar/query-availability#wix-bookings_availability-calendar_query-availability_daylight-savings-time-dst)).
711
+ *
712
+ * Default: No modification applied to the `endDate` and `startDate` filters.
713
+ */
714
+ timezone?: string | null;
715
+ /**
716
+ * Maximum number of appointment slots to return for each date. For example, if
717
+ * you specify `{"slotsPerDay": 3}`, a maximum of 3 appointment slots/class events is
718
+ * returned for each day that's within the query filter's date range.
719
+ */
720
+ slotsPerDay?: number | null;
721
+ }
722
+ interface CalculateMultiSlotAvailabilityOptions {
723
+ /** @maxLength 30 */
724
+ from?: string;
725
+ /** @maxLength 30 */
726
+ to?: string;
727
+ /** @maxLength 30 */
728
+ timeZone?: string;
729
+ /** TODO good definition of what bookable means https://github.com/wix-private/scheduler/pull/18267/files?file-filters%5B%5D=.proto&show-viewed-files=true#r1199809006 */
730
+ bookable?: boolean | null;
731
+ /**
732
+ * each nested field is checked on its own. i.e. if `too_early_to_book` is defined and `too_late_to_book` is not defined
733
+ * we will return slots for which `too_early_to_book` is same as on the request, regardless of `too_late_to_book`.
734
+ */
735
+ bookingPolicyViolations?: BookingPolicyViolations;
736
+ /**
737
+ * support filtering by location type, or by locationId. Other fields like `name` are ignored
738
+ * must be set, and must have locationType. If locationType is `OWNER_BUSINESS`, must have location_id
739
+ */
740
+ location?: Location;
741
+ /**
742
+ * @minSize 1
743
+ * @maxSize 6
744
+ */
745
+ slots?: RuleBasedConstraints[];
746
+ /**
747
+ * Maximum number of slots to load for each date. For example, if `slots_per_day` is set to `3`,
748
+ * at most 3 available slots are returned for each day in the date range specified in the query's
749
+ * `filter`.
750
+ *
751
+ * When a day has both bookable and non-bookable slots, bookable slots are returned first.
752
+ * Non-bookable slots are returned according to the specified filters, after all
753
+ * bookable slots are already included.
754
+ */
755
+ slotsPerDay?: number | null;
756
+ cursorPaging?: CursorPaging;
757
+ }
758
+
759
+ export { type AvailabilityWaitingList as A, type BookingPolicyViolations as B, type CalculateMultiSlotAvailabilityOptions as C, type AvailableResources as D, type EventInfo as E, type Resource as F, type GetScheduleAvailabilityResponse as G, type Service_availabilityNestedTimeSlot as H, LocationType as L, type NestedTimeSlot as N, type PagingMetadataV2 as P, type QueryV2 as Q, type RuleBasedConstraints as R, SortOrder as S, type TimeSlotLocation as T, type V2CustomerChoices as V, type WaitingList as W, type QueryAvailabilityOptions as a, type QueryAvailabilityResponse as b, type CalculateMultiSlotAvailabilityResponse as c, LocationLocationType as d, type SlotAvailability as e, type Slot as f, type SlotResource as g, type Location as h, type QueryAvailabilityRequest as i, type QueryV2PagingMethodOneOf as j, type Sorting as k, type CursorPaging as l, type CustomerChoices as m, type Cursors as n, type GetSlotAvailabilityRequest as o, type GetSlotAvailabilityResponse as p, type BookingPolicySettings as q, type GetScheduleAvailabilityRequest as r, type ScheduleAvailability as s, type CalculateMultiSlotAvailabilityRequest as t, type ResourcesFilter as u, type CursorPagingMetadata as v, type GetAvailabilityTimeSlotRequest as w, type GetAvailabilityTimeSlotResponse as x, type TimeSlot as y, type Service_availabilityBookingPolicyViolations as z };