@wix/auto_sdk_bookings_availability-calendar 1.0.128 → 1.0.130

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-bH6NupvF.d.mts} +112 -49
  2. package/build/{internal/cjs/src/bookings-availability-v1-slot-availability-availability-calendar.types.d.ts → bookings-availability-v1-slot-availability-availability-calendar.universal-bH6NupvF.d.ts} +112 -49
  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-bH6NupvF.d.mts} +112 -49
  10. package/build/internal/{es/src/bookings-availability-v1-slot-availability-availability-calendar.types.d.ts → bookings-availability-v1-slot-availability-availability-calendar.universal-bH6NupvF.d.ts} +112 -49
  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 +386 -0
  18. package/build/internal/meta.d.ts +386 -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 +386 -0
  24. package/build/meta.d.ts +386 -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 +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-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 -943
  53. package/build/cjs/src/bookings-availability-v1-slot-availability-availability-calendar.universal.js +0 -294
  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 -943
  79. package/build/es/src/bookings-availability-v1-slot-availability-availability-calendar.universal.js +0 -265
  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 -943
  104. package/build/internal/cjs/src/bookings-availability-v1-slot-availability-availability-calendar.universal.js +0 -294
  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 -943
  129. package/build/internal/es/src/bookings-availability-v1-slot-availability-availability-calendar.universal.js +0 -265
  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,15 +125,15 @@ export interface Location {
125
125
  */
126
126
  locationType?: LocationTypeWithLiterals;
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
134
  /** @enumType */
135
- export type LocationTypeWithLiterals = LocationType | 'UNDEFINED' | 'OWNER_BUSINESS' | 'OWNER_CUSTOM' | 'CUSTOM';
136
- export interface AvailabilityWaitingList {
135
+ type LocationTypeWithLiterals = LocationType | 'UNDEFINED' | 'OWNER_BUSINESS' | 'OWNER_CUSTOM' | 'CUSTOM';
136
+ interface AvailabilityWaitingList {
137
137
  /**
138
138
  * Total number of spots and open spots for this waitlist.
139
139
  * For example, a Yoga class with 10 waitlist spots and 3 registered
@@ -143,7 +143,7 @@ export interface AvailabilityWaitingList {
143
143
  /** Number of open spots for this waitlist. */
144
144
  openSpots?: number | null;
145
145
  }
146
- export interface BookingPolicyViolations {
146
+ interface BookingPolicyViolations {
147
147
  /** Bookings policy violation. Too early to book this slot. */
148
148
  tooEarlyToBook?: boolean | null;
149
149
  /** Bookings policy violation. Too late to book this slot. */
@@ -151,7 +151,7 @@ export interface BookingPolicyViolations {
151
151
  /** Bookings policy violation. Online booking is disabled for this slot. */
152
152
  bookOnlineDisabled?: boolean | null;
153
153
  }
154
- export interface NestedTimeSlot {
154
+ interface NestedTimeSlot {
155
155
  /** @format GUID */
156
156
  serviceId?: string;
157
157
  /** @maxLength 30 */
@@ -162,7 +162,7 @@ export interface NestedTimeSlot {
162
162
  /** Schedule ID. */
163
163
  scheduleId?: string;
164
164
  }
165
- export interface QueryAvailabilityRequest {
165
+ interface QueryAvailabilityRequest {
166
166
  /**
167
167
  * Query options. Refer to the
168
168
  * _supported filters article_
@@ -194,7 +194,7 @@ export interface QueryAvailabilityRequest {
194
194
  */
195
195
  slotsPerDay?: number | null;
196
196
  }
197
- export interface QueryV2 extends QueryV2PagingMethodOneOf {
197
+ interface QueryV2 extends QueryV2PagingMethodOneOf {
198
198
  /**
199
199
  * Filter object. For a list of
200
200
  * fields you can filter by, see Availability Calendar supported filters ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/availability-calendar/supported-filters-and-sorting) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/time-slots/availability-calendar/supported-fields-filters-and-sorting)).
@@ -209,9 +209,9 @@ export interface QueryV2 extends QueryV2PagingMethodOneOf {
209
209
  sort?: Sorting[];
210
210
  }
211
211
  /** @oneof */
212
- export interface QueryV2PagingMethodOneOf {
212
+ interface QueryV2PagingMethodOneOf {
213
213
  }
214
- export interface Sorting {
214
+ interface Sorting {
215
215
  /**
216
216
  * Name of the field to sort by.
217
217
  * @maxLength 512
@@ -220,13 +220,13 @@ export interface Sorting {
220
220
  /** Sort order. */
221
221
  order?: SortOrderWithLiterals;
222
222
  }
223
- export declare enum SortOrder {
223
+ declare enum SortOrder {
224
224
  ASC = "ASC",
225
225
  DESC = "DESC"
226
226
  }
227
227
  /** @enumType */
228
- export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
229
- export interface CursorPaging {
228
+ type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
229
+ interface CursorPaging {
230
230
  /**
231
231
  * Maximum number of items to return in the results.
232
232
  * @max 100
@@ -245,7 +245,7 @@ export interface CursorPaging {
245
245
  * Selected customer choices.
246
246
  * These choices are selected by the customer during the booking flow and can be utilized to calculate the corresponding service's configuration properties.
247
247
  */
248
- export interface V2CustomerChoices {
248
+ interface V2CustomerChoices {
249
249
  /**
250
250
  * The selected customer duration in minutes.
251
251
  * Min: `1 minute`
@@ -267,11 +267,11 @@ export interface V2CustomerChoices {
267
267
  */
268
268
  durationChoiceId?: string | null;
269
269
  }
270
- export interface QueryAvailabilityResponse {
270
+ interface QueryAvailabilityResponse {
271
271
  /** List of appointment slots or class events matching the filter. */
272
272
  availabilityEntries?: SlotAvailability[];
273
273
  }
274
- export interface PagingMetadataV2 {
274
+ interface PagingMetadataV2 {
275
275
  /** Number of items returned in the response. */
276
276
  count?: number | null;
277
277
  /** Offset that was requested. */
@@ -283,7 +283,7 @@ export interface PagingMetadataV2 {
283
283
  /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
284
284
  cursors?: Cursors;
285
285
  }
286
- export interface Cursors {
286
+ interface Cursors {
287
287
  /**
288
288
  * Cursor string pointing to the next page in the list of results.
289
289
  * @maxLength 16000
@@ -295,7 +295,7 @@ export interface Cursors {
295
295
  */
296
296
  prev?: string | null;
297
297
  }
298
- export interface GetSlotAvailabilityRequest {
298
+ interface GetSlotAvailabilityRequest {
299
299
  /** The slot for which the availability is checked. */
300
300
  slot?: Slot;
301
301
  /**
@@ -308,29 +308,29 @@ export interface GetSlotAvailabilityRequest {
308
308
  */
309
309
  timezone?: string | null;
310
310
  }
311
- export interface GetSlotAvailabilityResponse {
311
+ interface GetSlotAvailabilityResponse {
312
312
  availability?: SlotAvailability;
313
313
  bookingPolicySettings?: BookingPolicySettings;
314
314
  }
315
- export interface BookingPolicySettings {
315
+ interface BookingPolicySettings {
316
316
  /**
317
317
  * The policy defining the maximum number of participants that can
318
318
  * be booked for a slot or a schedule.
319
319
  */
320
320
  maxParticipantsPerBooking?: number | null;
321
321
  }
322
- export interface GetScheduleAvailabilityRequest {
322
+ interface GetScheduleAvailabilityRequest {
323
323
  /**
324
324
  * The schedule ID for which availability is being checked.
325
325
  * @format GUID
326
326
  */
327
327
  scheduleId: string;
328
328
  }
329
- export interface GetScheduleAvailabilityResponse {
329
+ interface GetScheduleAvailabilityResponse {
330
330
  availability?: ScheduleAvailability;
331
331
  bookingPolicySettings?: BookingPolicySettings;
332
332
  }
333
- export interface ScheduleAvailability {
333
+ interface ScheduleAvailability {
334
334
  /**
335
335
  * The total number of spots defined for the schedule, including
336
336
  * both open and non-available spots.
@@ -341,7 +341,7 @@ export interface ScheduleAvailability {
341
341
  /** Booking policy violations for the schedule. */
342
342
  bookingPolicyViolations?: BookingPolicyViolations;
343
343
  }
344
- export interface CalculateMultiSlotAvailabilityRequest {
344
+ interface CalculateMultiSlotAvailabilityRequest {
345
345
  /** @maxLength 30 */
346
346
  from?: string;
347
347
  /** @maxLength 30 */
@@ -377,21 +377,21 @@ export interface CalculateMultiSlotAvailabilityRequest {
377
377
  slotsPerDay?: number | null;
378
378
  cursorPaging?: CursorPaging;
379
379
  }
380
- export interface RuleBasedConstraints {
380
+ interface RuleBasedConstraints {
381
381
  /** @format GUID */
382
382
  serviceId?: string;
383
383
  resourcesFilter?: ResourcesFilter;
384
384
  /** will be passed to availability-2, and to the availability-constraints SPI */
385
385
  customerChoices?: AvailabilityV2CustomerChoices;
386
386
  }
387
- export interface ResourcesFilter {
387
+ interface ResourcesFilter {
388
388
  resourceIds?: string[];
389
389
  }
390
390
  /**
391
391
  * Selected customer choices.
392
392
  * These choices are selected by the customer during the booking flow and can be utilized to calculate the corresponding service's configuration properties.
393
393
  */
394
- export interface AvailabilityV2CustomerChoices {
394
+ interface AvailabilityV2CustomerChoices {
395
395
  /**
396
396
  * The selected customer duration in minutes.
397
397
  * Min: `1 minute`
@@ -413,11 +413,11 @@ export interface AvailabilityV2CustomerChoices {
413
413
  */
414
414
  durationChoiceId?: string | null;
415
415
  }
416
- export interface CalculateMultiSlotAvailabilityResponse {
416
+ interface CalculateMultiSlotAvailabilityResponse {
417
417
  slots?: SlotAvailability[];
418
418
  cursorPagingMetadata?: CursorPagingMetadata;
419
419
  }
420
- export interface CursorPagingMetadata {
420
+ interface CursorPagingMetadata {
421
421
  /** Number of items returned in current page. */
422
422
  count?: number | null;
423
423
  /** Cursor strings that point to the next page, previous page, or both. */
@@ -430,7 +430,7 @@ export interface CursorPagingMetadata {
430
430
  */
431
431
  hasNext?: boolean | null;
432
432
  }
433
- export interface GetAvailabilityTimeSlotRequest {
433
+ interface GetAvailabilityTimeSlotRequest {
434
434
  /**
435
435
  * Service ID of the time slot.
436
436
  * Currently supported only for services of type `APPOINTMENT`.
@@ -488,12 +488,12 @@ export interface GetAvailabilityTimeSlotRequest {
488
488
  includeResourceTypeIds?: string[];
489
489
  fromV2?: boolean | null;
490
490
  }
491
- export interface TimeSlotLocation {
491
+ interface TimeSlotLocation {
492
492
  /**
493
493
  * Business Location ID. Present only if the location is a business location.
494
494
  * @format GUID
495
495
  */
496
- id?: string | null;
496
+ _id?: string | null;
497
497
  /**
498
498
  * The location name.
499
499
  * @maxLength 250
@@ -512,7 +512,7 @@ export interface TimeSlotLocation {
512
512
  */
513
513
  locationType?: LocationLocationTypeWithLiterals;
514
514
  }
515
- export declare enum LocationLocationType {
515
+ declare enum LocationLocationType {
516
516
  UNKNOWN_LOCATION_TYPE = "UNKNOWN_LOCATION_TYPE",
517
517
  /** A business location, either the default business address, or locations defined for the business by the Business Info. */
518
518
  BUSINESS = "BUSINESS",
@@ -522,8 +522,8 @@ export declare enum LocationLocationType {
522
522
  CUSTOMER = "CUSTOMER"
523
523
  }
524
524
  /** @enumType */
525
- export type LocationLocationTypeWithLiterals = LocationLocationType | 'UNKNOWN_LOCATION_TYPE' | 'BUSINESS' | 'CUSTOM' | 'CUSTOMER';
526
- export interface CustomerChoices {
525
+ type LocationLocationTypeWithLiterals = LocationLocationType | 'UNKNOWN_LOCATION_TYPE' | 'BUSINESS' | 'CUSTOM' | 'CUSTOMER';
526
+ interface CustomerChoices {
527
527
  /**
528
528
  * The selected add-ons IDs.
529
529
  * Max: Derived from max amount of Add-On groups * max amount of Add-Ons per group.
@@ -537,7 +537,7 @@ export interface CustomerChoices {
537
537
  */
538
538
  durationChoiceId?: string | null;
539
539
  }
540
- export interface GetAvailabilityTimeSlotResponse {
540
+ interface GetAvailabilityTimeSlotResponse {
541
541
  /** Time slot. */
542
542
  timeSlot?: TimeSlot;
543
543
  /**
@@ -565,7 +565,7 @@ export interface GetAvailabilityTimeSlotResponse {
565
565
  * > When the `TimeSlot` has a non empty `NestedTimeSlots`, it represents the availability information
566
566
  * > for a given list of `Appointment` services within a specific time slot.
567
567
  */
568
- export interface TimeSlot {
568
+ interface TimeSlot {
569
569
  /**
570
570
  * Service ID.
571
571
  *
@@ -630,9 +630,9 @@ export interface TimeSlot {
630
630
  nestedTimeSlots?: Service_availabilityNestedTimeSlot[];
631
631
  }
632
632
  /** relevant for event based slots, and not for availability based slots */
633
- export interface EventInfo {
633
+ interface EventInfo {
634
634
  }
635
- export interface WaitingList {
635
+ interface WaitingList {
636
636
  /**
637
637
  * Total number of spots in this wait list.
638
638
  * @min 1
@@ -645,7 +645,7 @@ export interface WaitingList {
645
645
  */
646
646
  remainingCapacity?: number | null;
647
647
  }
648
- export interface Service_availabilityBookingPolicyViolations {
648
+ interface Service_availabilityBookingPolicyViolations {
649
649
  /** Bookings policy violation. Too early to book this slot. */
650
650
  tooEarlyToBook?: boolean | null;
651
651
  /** Bookings policy violation. Too late to book this slot. */
@@ -653,7 +653,7 @@ export interface Service_availabilityBookingPolicyViolations {
653
653
  /** Bookings policy violation. Online booking is disabled for the `TimeSlot` service. */
654
654
  bookOnlineDisabled?: boolean | null;
655
655
  }
656
- export interface AvailableResources {
656
+ interface AvailableResources {
657
657
  /**
658
658
  * Resource type ID.
659
659
  * @format GUID
@@ -686,12 +686,12 @@ export interface AvailableResources {
686
686
  */
687
687
  hasMoreAvailableResources?: boolean | null;
688
688
  }
689
- export interface Resource {
689
+ interface Resource {
690
690
  /**
691
691
  * Resource ID.
692
692
  * @format GUID
693
693
  */
694
- id?: string;
694
+ _id?: string;
695
695
  /**
696
696
  * Resource name.
697
697
  * @minLength 1
@@ -699,7 +699,7 @@ export interface Resource {
699
699
  */
700
700
  name?: string | null;
701
701
  }
702
- export interface Service_availabilityNestedTimeSlot {
702
+ interface Service_availabilityNestedTimeSlot {
703
703
  /**
704
704
  * Service ID of the nested time slot.
705
705
  * @format GUID
@@ -724,3 +724,66 @@ export interface Service_availabilityNestedTimeSlot {
724
724
  */
725
725
  availableResources?: AvailableResources[];
726
726
  }
727
+ interface QueryAvailabilityOptions {
728
+ /**
729
+ * Time zone override for the `endDate` and `startDate` filters, in
730
+ * [IANA tz database format](https://en.wikipedia.org/wiki/Tz_database), such as
731
+ * `America/New_York` or `UTC`.
732
+ *
733
+ * For example, if you specify `("startDate": "2025-11-25T17:00:00+01:00"}` (note
734
+ * the +01:00 offset) in combination with `{"timezone": "Europe/Bucharest"}`
735
+ * (+02:00 offset), *Query Availability* adjusts the effective start time to
736
+ * reflect the specified time zone. In this case, the start time in UTC would
737
+ * be `2025-11-25T15:00:00` (using the +02:00 offset).
738
+ *
739
+ * Learn more about *handling Daylight Savings Time*
740
+ * ([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)).
741
+ *
742
+ * Default: No modification applied to the `endDate` and `startDate` filters.
743
+ */
744
+ timezone?: string | null;
745
+ /**
746
+ * Maximum number of appointment slots to return for each date. For example, if
747
+ * you specify `{"slotsPerDay": 3}`, a maximum of 3 appointment slots/class events is
748
+ * returned for each day that's within the query filter's date range.
749
+ */
750
+ slotsPerDay?: number | null;
751
+ }
752
+ interface CalculateMultiSlotAvailabilityOptions {
753
+ /** @maxLength 30 */
754
+ from?: string;
755
+ /** @maxLength 30 */
756
+ to?: string;
757
+ /** @maxLength 30 */
758
+ timeZone?: string;
759
+ /** 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 */
760
+ bookable?: boolean | null;
761
+ /**
762
+ * 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
763
+ * we will return slots for which `too_early_to_book` is same as on the request, regardless of `too_late_to_book`.
764
+ */
765
+ bookingPolicyViolations?: BookingPolicyViolations;
766
+ /**
767
+ * support filtering by location type, or by locationId. Other fields like `name` are ignored
768
+ * must be set, and must have locationType. If locationType is `OWNER_BUSINESS`, must have location_id
769
+ */
770
+ location?: Location;
771
+ /**
772
+ * @minSize 1
773
+ * @maxSize 6
774
+ */
775
+ slots?: RuleBasedConstraints[];
776
+ /**
777
+ * Maximum number of slots to load for each date. For example, if `slots_per_day` is set to `3`,
778
+ * at most 3 available slots are returned for each day in the date range specified in the query's
779
+ * `filter`.
780
+ *
781
+ * When a day has both bookable and non-bookable slots, bookable slots are returned first.
782
+ * Non-bookable slots are returned according to the specified filters, after all
783
+ * bookable slots are already included.
784
+ */
785
+ slotsPerDay?: number | null;
786
+ cursorPaging?: CursorPaging;
787
+ }
788
+
789
+ export { type AvailabilityWaitingList as A, type BookingPolicyViolations as B, type CalculateMultiSlotAvailabilityOptions as C, type Service_availabilityBookingPolicyViolations as D, type EventInfo as E, type AvailableResources as F, type GetScheduleAvailabilityResponse as G, type Resource as H, type Service_availabilityNestedTimeSlot as I, 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 Cursors as m, type GetSlotAvailabilityRequest as n, type GetSlotAvailabilityResponse as o, type BookingPolicySettings as p, type GetScheduleAvailabilityRequest as q, type ScheduleAvailability as r, type CalculateMultiSlotAvailabilityRequest as s, type ResourcesFilter as t, type AvailabilityV2CustomerChoices as u, type CursorPagingMetadata as v, type GetAvailabilityTimeSlotRequest as w, type CustomerChoices as x, type GetAvailabilityTimeSlotResponse as y, type TimeSlot as z };