@wix/auto_sdk_bookings_availability-calendar 1.0.1 → 1.0.3
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.
- package/build/cjs/src/bookings-availability-v1-slot-availability-availability-calendar.public.d.ts +2 -1
- package/build/cjs/src/bookings-availability-v1-slot-availability-availability-calendar.public.js.map +1 -1
- package/build/cjs/src/bookings-availability-v1-slot-availability-availability-calendar.types.d.ts +113 -19
- package/build/cjs/src/bookings-availability-v1-slot-availability-availability-calendar.types.js.map +1 -1
- package/build/cjs/src/bookings-availability-v1-slot-availability-availability-calendar.universal.d.ts +122 -20
- package/build/cjs/src/bookings-availability-v1-slot-availability-availability-calendar.universal.js +2 -1
- package/build/cjs/src/bookings-availability-v1-slot-availability-availability-calendar.universal.js.map +1 -1
- package/build/es/src/bookings-availability-v1-slot-availability-availability-calendar.public.d.ts +2 -1
- package/build/es/src/bookings-availability-v1-slot-availability-availability-calendar.public.js.map +1 -1
- package/build/es/src/bookings-availability-v1-slot-availability-availability-calendar.types.d.ts +113 -19
- package/build/es/src/bookings-availability-v1-slot-availability-availability-calendar.types.js.map +1 -1
- package/build/es/src/bookings-availability-v1-slot-availability-availability-calendar.universal.d.ts +122 -20
- package/build/es/src/bookings-availability-v1-slot-availability-availability-calendar.universal.js +2 -1
- package/build/es/src/bookings-availability-v1-slot-availability-availability-calendar.universal.js.map +1 -1
- package/build/internal/cjs/src/bookings-availability-v1-slot-availability-availability-calendar.public.d.ts +2 -1
- package/build/internal/cjs/src/bookings-availability-v1-slot-availability-availability-calendar.public.js.map +1 -1
- package/build/internal/cjs/src/bookings-availability-v1-slot-availability-availability-calendar.types.d.ts +113 -19
- package/build/internal/cjs/src/bookings-availability-v1-slot-availability-availability-calendar.types.js.map +1 -1
- package/build/internal/cjs/src/bookings-availability-v1-slot-availability-availability-calendar.universal.d.ts +122 -20
- package/build/internal/cjs/src/bookings-availability-v1-slot-availability-availability-calendar.universal.js +2 -1
- package/build/internal/cjs/src/bookings-availability-v1-slot-availability-availability-calendar.universal.js.map +1 -1
- package/build/internal/es/src/bookings-availability-v1-slot-availability-availability-calendar.public.d.ts +2 -1
- package/build/internal/es/src/bookings-availability-v1-slot-availability-availability-calendar.public.js.map +1 -1
- package/build/internal/es/src/bookings-availability-v1-slot-availability-availability-calendar.types.d.ts +113 -19
- package/build/internal/es/src/bookings-availability-v1-slot-availability-availability-calendar.types.js.map +1 -1
- package/build/internal/es/src/bookings-availability-v1-slot-availability-availability-calendar.universal.d.ts +122 -20
- package/build/internal/es/src/bookings-availability-v1-slot-availability-availability-calendar.universal.js +2 -1
- package/build/internal/es/src/bookings-availability-v1-slot-availability-availability-calendar.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -82,29 +82,39 @@ export interface Slot {
|
|
|
82
82
|
/**
|
|
83
83
|
* ID for the slot's corresponding event, when the event is either a single event
|
|
84
84
|
* or a specific event generated from a recurring event.
|
|
85
|
+
* @minLength 36
|
|
86
|
+
* @maxLength 250
|
|
85
87
|
*/
|
|
86
88
|
eventId?: string | null;
|
|
87
89
|
}
|
|
88
90
|
export interface SlotResource {
|
|
89
91
|
/**
|
|
90
92
|
* Resource ID.
|
|
93
|
+
* @format GUID
|
|
91
94
|
* @readonly
|
|
92
95
|
*/
|
|
93
96
|
_id?: string | null;
|
|
94
|
-
/**
|
|
97
|
+
/**
|
|
98
|
+
* Resource name. Read only.
|
|
99
|
+
* @maxLength 1200
|
|
100
|
+
*/
|
|
95
101
|
name?: string | null;
|
|
96
102
|
}
|
|
97
103
|
export interface Location {
|
|
98
104
|
/**
|
|
99
105
|
* Business location ID. Available only for locations that are business locations,
|
|
100
106
|
* meaning the `location_type` is `"OWNER_BUSINESS"`.
|
|
107
|
+
* @format GUID
|
|
101
108
|
*/
|
|
102
109
|
_id?: string | null;
|
|
103
110
|
/** Location name. */
|
|
104
111
|
name?: string | null;
|
|
105
112
|
/** The full address of this location. */
|
|
106
113
|
formattedAddress?: string | null;
|
|
107
|
-
/**
|
|
114
|
+
/**
|
|
115
|
+
* The full translated address of this location.
|
|
116
|
+
* @maxLength 512
|
|
117
|
+
*/
|
|
108
118
|
formattedAddressTranslated?: string | null;
|
|
109
119
|
/**
|
|
110
120
|
* Location type.
|
|
@@ -140,8 +150,11 @@ export interface BookingPolicyViolations {
|
|
|
140
150
|
bookOnlineDisabled?: boolean | null;
|
|
141
151
|
}
|
|
142
152
|
export interface NestedTimeSlot {
|
|
153
|
+
/** @format GUID */
|
|
143
154
|
serviceId?: string;
|
|
155
|
+
/** @maxLength 30 */
|
|
144
156
|
start?: string;
|
|
157
|
+
/** @maxLength 30 */
|
|
145
158
|
end?: string;
|
|
146
159
|
resource?: SlotResource;
|
|
147
160
|
/** Schedule ID. */
|
|
@@ -150,7 +163,8 @@ export interface NestedTimeSlot {
|
|
|
150
163
|
export interface QueryAvailabilityRequest {
|
|
151
164
|
/**
|
|
152
165
|
* Query options. Refer to the
|
|
153
|
-
*
|
|
166
|
+
* _supported filters article_
|
|
167
|
+
* ([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))
|
|
154
168
|
* for a complete list of supported filters.
|
|
155
169
|
*/
|
|
156
170
|
query: QueryV2;
|
|
@@ -196,7 +210,10 @@ export interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
|
196
210
|
export interface QueryV2PagingMethodOneOf {
|
|
197
211
|
}
|
|
198
212
|
export interface Sorting {
|
|
199
|
-
/**
|
|
213
|
+
/**
|
|
214
|
+
* Name of the field to sort by.
|
|
215
|
+
* @maxLength 512
|
|
216
|
+
*/
|
|
200
217
|
fieldName?: string;
|
|
201
218
|
/** Sort order. */
|
|
202
219
|
order?: SortOrder;
|
|
@@ -206,13 +223,17 @@ export declare enum SortOrder {
|
|
|
206
223
|
DESC = "DESC"
|
|
207
224
|
}
|
|
208
225
|
export interface CursorPaging {
|
|
209
|
-
/**
|
|
226
|
+
/**
|
|
227
|
+
* Maximum number of items to return in the results.
|
|
228
|
+
* @max 100
|
|
229
|
+
*/
|
|
210
230
|
limit?: number | null;
|
|
211
231
|
/**
|
|
212
232
|
* Pointer to the next or previous page in the list of results.
|
|
213
233
|
*
|
|
214
234
|
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
215
235
|
* Not relevant for the first request.
|
|
236
|
+
* @maxLength 16000
|
|
216
237
|
*/
|
|
217
238
|
cursor?: string | null;
|
|
218
239
|
}
|
|
@@ -225,6 +246,8 @@ export interface CustomerChoices {
|
|
|
225
246
|
* The selected customer duration in minutes.
|
|
226
247
|
* Min: `1 minute`
|
|
227
248
|
* Max: `44639 minutes` (30 days, 23 hours, and 59 minutes)
|
|
249
|
+
* @min 1
|
|
250
|
+
* @max 44639
|
|
228
251
|
*/
|
|
229
252
|
durationInMinutes?: number | null;
|
|
230
253
|
}
|
|
@@ -245,9 +268,15 @@ export interface PagingMetadataV2 {
|
|
|
245
268
|
cursors?: Cursors;
|
|
246
269
|
}
|
|
247
270
|
export interface Cursors {
|
|
248
|
-
/**
|
|
271
|
+
/**
|
|
272
|
+
* Cursor string pointing to the next page in the list of results.
|
|
273
|
+
* @maxLength 16000
|
|
274
|
+
*/
|
|
249
275
|
next?: string | null;
|
|
250
|
-
/**
|
|
276
|
+
/**
|
|
277
|
+
* Cursor pointing to the previous page in the list of results.
|
|
278
|
+
* @maxLength 16000
|
|
279
|
+
*/
|
|
251
280
|
prev?: string | null;
|
|
252
281
|
}
|
|
253
282
|
export interface GetSlotAvailabilityRequest {
|
|
@@ -275,7 +304,10 @@ export interface BookingPolicySettings {
|
|
|
275
304
|
maxParticipantsPerBooking?: number | null;
|
|
276
305
|
}
|
|
277
306
|
export interface GetScheduleAvailabilityRequest {
|
|
278
|
-
/**
|
|
307
|
+
/**
|
|
308
|
+
* The schedule ID for which availability is being checked.
|
|
309
|
+
* @format GUID
|
|
310
|
+
*/
|
|
279
311
|
scheduleId: string;
|
|
280
312
|
}
|
|
281
313
|
export interface GetScheduleAvailabilityResponse {
|
|
@@ -294,8 +326,11 @@ export interface ScheduleAvailability {
|
|
|
294
326
|
bookingPolicyViolations?: BookingPolicyViolations;
|
|
295
327
|
}
|
|
296
328
|
export interface CalculateMultiSlotAvailabilityRequest {
|
|
329
|
+
/** @maxLength 30 */
|
|
297
330
|
from?: string;
|
|
331
|
+
/** @maxLength 30 */
|
|
298
332
|
to?: string;
|
|
333
|
+
/** @maxLength 30 */
|
|
299
334
|
timeZone?: string;
|
|
300
335
|
/** 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 */
|
|
301
336
|
bookable?: boolean | null;
|
|
@@ -309,6 +344,10 @@ export interface CalculateMultiSlotAvailabilityRequest {
|
|
|
309
344
|
* must be set, and must have locationType. If locationType is `OWNER_BUSINESS`, must have location_id
|
|
310
345
|
*/
|
|
311
346
|
location?: Location;
|
|
347
|
+
/**
|
|
348
|
+
* @minSize 1
|
|
349
|
+
* @maxSize 6
|
|
350
|
+
*/
|
|
312
351
|
slots?: RuleBasedConstraints[];
|
|
313
352
|
/**
|
|
314
353
|
* Maximum number of slots to load for each date. For example, if `slots_per_day` is set to `3`,
|
|
@@ -323,6 +362,7 @@ export interface CalculateMultiSlotAvailabilityRequest {
|
|
|
323
362
|
cursorPaging?: CursorPaging;
|
|
324
363
|
}
|
|
325
364
|
export interface RuleBasedConstraints {
|
|
365
|
+
/** @format GUID */
|
|
326
366
|
serviceId?: string;
|
|
327
367
|
resourcesFilter?: ResourcesFilter;
|
|
328
368
|
/** will be passed to availability-2, and to the availability-constraints SPI */
|
|
@@ -340,6 +380,8 @@ export interface V2CustomerChoices {
|
|
|
340
380
|
* The selected customer duration in minutes.
|
|
341
381
|
* Min: `1 minute`
|
|
342
382
|
* Max: `44639 minutes` (30 days, 23 hours, and 59 minutes)
|
|
383
|
+
* @min 1
|
|
384
|
+
* @max 44639
|
|
343
385
|
*/
|
|
344
386
|
durationInMinutes?: number | null;
|
|
345
387
|
}
|
|
@@ -364,19 +406,26 @@ export interface GetAvailabilityTimeSlotRequest {
|
|
|
364
406
|
/**
|
|
365
407
|
* Service ID of the time slot.
|
|
366
408
|
* Currently supported only for services of type `APPOINTMENT`.
|
|
409
|
+
* @format GUID
|
|
367
410
|
*/
|
|
368
411
|
serviceId?: string;
|
|
369
412
|
/**
|
|
370
413
|
* Local start date of the time slot, in ISO-8601 format.
|
|
371
414
|
* For example, "2024-01-30T13:30:00".
|
|
415
|
+
* @format LOCAL_DATE_TIME
|
|
372
416
|
*/
|
|
373
417
|
localStartDate?: string;
|
|
374
418
|
/**
|
|
375
419
|
* Local end date of the time slot, in ISO-8601 format.
|
|
376
420
|
* For example, "2024-01-30T14:30:00".
|
|
421
|
+
* @format LOCAL_DATE_TIME
|
|
377
422
|
*/
|
|
378
423
|
localEndDate?: string;
|
|
379
|
-
/**
|
|
424
|
+
/**
|
|
425
|
+
* Time zone, in IANA time zone format.
|
|
426
|
+
* @minLength 1
|
|
427
|
+
* @maxLength 150
|
|
428
|
+
*/
|
|
380
429
|
timeZone?: string | null;
|
|
381
430
|
/**
|
|
382
431
|
* The location of the time slot.
|
|
@@ -396,6 +445,8 @@ export interface GetAvailabilityTimeSlotRequest {
|
|
|
396
445
|
* If specified,
|
|
397
446
|
* the returned `TimeSlot` contains only the available resources out of provided list.
|
|
398
447
|
* Otherwise, the returned `TimeSlot` returned with all possible `AvailableResources`.
|
|
448
|
+
* @format GUID
|
|
449
|
+
* @maxSize 135
|
|
399
450
|
*/
|
|
400
451
|
resourceIds?: string[];
|
|
401
452
|
/**
|
|
@@ -403,16 +454,27 @@ export interface GetAvailabilityTimeSlotRequest {
|
|
|
403
454
|
*
|
|
404
455
|
* If specified in request, the returned `TimeSlot` contains only the `AvailableResources` with `ResourceTypeId`
|
|
405
456
|
* out of those specified, each contains all the available resources of this type.
|
|
457
|
+
* @format GUID
|
|
458
|
+
* @maxSize 100
|
|
406
459
|
*/
|
|
407
460
|
includeResourceTypeIds?: string[];
|
|
408
461
|
fromV2?: boolean | null;
|
|
409
462
|
}
|
|
410
463
|
export interface TimeSlotLocation {
|
|
411
|
-
/**
|
|
464
|
+
/**
|
|
465
|
+
* Business Location ID. Present only if the location is a business location.
|
|
466
|
+
* @format GUID
|
|
467
|
+
*/
|
|
412
468
|
_id?: string | null;
|
|
413
|
-
/**
|
|
469
|
+
/**
|
|
470
|
+
* The location name.
|
|
471
|
+
* @maxLength 250
|
|
472
|
+
*/
|
|
414
473
|
name?: string | null;
|
|
415
|
-
/**
|
|
474
|
+
/**
|
|
475
|
+
* A string representation for the full address of the location.
|
|
476
|
+
* @maxLength 300
|
|
477
|
+
*/
|
|
416
478
|
formattedAddress?: string | null;
|
|
417
479
|
/**
|
|
418
480
|
* The type of location:
|
|
@@ -434,7 +496,11 @@ export declare enum LocationLocationType {
|
|
|
434
496
|
export interface GetAvailabilityTimeSlotResponse {
|
|
435
497
|
/** Time slot. */
|
|
436
498
|
timeSlot?: TimeSlot;
|
|
437
|
-
/**
|
|
499
|
+
/**
|
|
500
|
+
* Time zone, in IANA time zone format.
|
|
501
|
+
* @minLength 1
|
|
502
|
+
* @maxLength 150
|
|
503
|
+
*/
|
|
438
504
|
timeZone?: string | null;
|
|
439
505
|
}
|
|
440
506
|
/**
|
|
@@ -461,16 +527,19 @@ export interface TimeSlot {
|
|
|
461
527
|
*
|
|
462
528
|
* > Not returned from `MultiServiceAvailabilityTimeSlots` API calls.
|
|
463
529
|
* > Instead, each nested time slot has its own serviceId.
|
|
530
|
+
* @format GUID
|
|
464
531
|
*/
|
|
465
532
|
serviceId?: string | null;
|
|
466
533
|
/**
|
|
467
534
|
* Local start date of the time slot in ISO-8601 format.
|
|
468
535
|
* For example, "2024-01-30T13:30:00".
|
|
536
|
+
* @format LOCAL_DATE_TIME
|
|
469
537
|
*/
|
|
470
538
|
localStartDate?: string | null;
|
|
471
539
|
/**
|
|
472
540
|
* Local end date of the time slot in ISO-8601 format.
|
|
473
541
|
* For example, "2024-01-30T14:30:00".
|
|
542
|
+
* @format LOCAL_DATE_TIME
|
|
474
543
|
*/
|
|
475
544
|
localEndDate?: string | null;
|
|
476
545
|
/**
|
|
@@ -482,11 +551,16 @@ export interface TimeSlot {
|
|
|
482
551
|
bookable?: boolean | null;
|
|
483
552
|
/** The geographic location of the slot. */
|
|
484
553
|
location?: TimeSlotLocation;
|
|
485
|
-
/**
|
|
554
|
+
/**
|
|
555
|
+
* Total number of spots for the slot.
|
|
556
|
+
* @min 1
|
|
557
|
+
* @max 1000
|
|
558
|
+
*/
|
|
486
559
|
totalCapacity?: number | null;
|
|
487
560
|
/**
|
|
488
561
|
* Remaining number of spots for the slot.
|
|
489
562
|
* For example, for an appointment service with total capacity of 1 spot and one booked spot, the remaining capacity will be 0.
|
|
563
|
+
* @max 1000
|
|
490
564
|
*/
|
|
491
565
|
remainingCapacity?: number | null;
|
|
492
566
|
/**
|
|
@@ -507,6 +581,7 @@ export interface TimeSlot {
|
|
|
507
581
|
/**
|
|
508
582
|
* > Nested time slots.
|
|
509
583
|
* > Returned only from `MultiServiceAvailabilityTimeSlots` API calls.
|
|
584
|
+
* @maxSize 8
|
|
510
585
|
*/
|
|
511
586
|
nestedTimeSlots?: Service_availabilityNestedTimeSlot[];
|
|
512
587
|
}
|
|
@@ -514,7 +589,10 @@ export interface TimeSlot {
|
|
|
514
589
|
export interface EventInfo {
|
|
515
590
|
}
|
|
516
591
|
export interface WaitingList {
|
|
517
|
-
/**
|
|
592
|
+
/**
|
|
593
|
+
* Total number of spots in this wait list.
|
|
594
|
+
* @min 1
|
|
595
|
+
*/
|
|
518
596
|
totalCapacity?: number | null;
|
|
519
597
|
/**
|
|
520
598
|
* Number of remaining spots for this wait list.
|
|
@@ -532,7 +610,10 @@ export interface Service_availabilityBookingPolicyViolations {
|
|
|
532
610
|
bookOnlineDisabled?: boolean | null;
|
|
533
611
|
}
|
|
534
612
|
export interface AvailableResources {
|
|
535
|
-
/**
|
|
613
|
+
/**
|
|
614
|
+
* Resource type ID.
|
|
615
|
+
* @format GUID
|
|
616
|
+
*/
|
|
536
617
|
resourceTypeId?: string | null;
|
|
537
618
|
/**
|
|
538
619
|
* Available resources for the time slot.
|
|
@@ -562,27 +643,40 @@ export interface AvailableResources {
|
|
|
562
643
|
hasMoreAvailableResources?: boolean | null;
|
|
563
644
|
}
|
|
564
645
|
export interface Resource {
|
|
565
|
-
/**
|
|
646
|
+
/**
|
|
647
|
+
* Resource ID.
|
|
648
|
+
* @format GUID
|
|
649
|
+
*/
|
|
566
650
|
_id?: string;
|
|
567
|
-
/**
|
|
651
|
+
/**
|
|
652
|
+
* Resource name.
|
|
653
|
+
* @minLength 1
|
|
654
|
+
* @maxLength 40
|
|
655
|
+
*/
|
|
568
656
|
name?: string | null;
|
|
569
657
|
}
|
|
570
658
|
export interface Service_availabilityNestedTimeSlot {
|
|
571
|
-
/**
|
|
659
|
+
/**
|
|
660
|
+
* Service ID of the nested time slot.
|
|
661
|
+
* @format GUID
|
|
662
|
+
*/
|
|
572
663
|
serviceId?: string;
|
|
573
664
|
/**
|
|
574
665
|
* Local start date of the nested time slot in ISO-8601 format.
|
|
575
666
|
* For example, "2024-01-30T13:30:00".
|
|
667
|
+
* @format LOCAL_DATE_TIME
|
|
576
668
|
*/
|
|
577
669
|
localStartDate?: string;
|
|
578
670
|
/**
|
|
579
671
|
* Local end date of the nested time slot in ISO-8601 format.
|
|
580
672
|
* For example, "2024-01-30T14:30:00".
|
|
673
|
+
* @format LOCAL_DATE_TIME
|
|
581
674
|
*/
|
|
582
675
|
localEndDate?: string;
|
|
583
676
|
/**
|
|
584
677
|
* List of `AvailableResources` for the nested time slot.
|
|
585
678
|
* Each `AvailableResources` contains information about available resources of the same type.
|
|
679
|
+
* @maxSize 10
|
|
586
680
|
*/
|
|
587
681
|
availableResources?: AvailableResources[];
|
|
588
682
|
}
|
|
@@ -693,7 +787,8 @@ export interface CalculateMultiSlotAvailabilityResponseNonNullableFields {
|
|
|
693
787
|
* `2025-09-07T00:00:01.000` and an `endDate` of `2025-09-08T00:00:02.000`, the
|
|
694
788
|
* adjusted query will use `2025-09-07T01:00:01.000` as the new start time.
|
|
695
789
|
* @param query - Query options. Refer to the
|
|
696
|
-
*
|
|
790
|
+
* _supported filters article_
|
|
791
|
+
* ([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))
|
|
697
792
|
* for a complete list of supported filters.
|
|
698
793
|
* @public
|
|
699
794
|
* @documentationMaturity preview
|
|
@@ -778,8 +873,11 @@ export declare function getScheduleAvailability(scheduleId: string): Promise<Get
|
|
|
778
873
|
*/
|
|
779
874
|
export declare function calculateMultiSlotAvailability(options?: CalculateMultiSlotAvailabilityOptions): Promise<CalculateMultiSlotAvailabilityResponse & CalculateMultiSlotAvailabilityResponseNonNullableFields>;
|
|
780
875
|
export interface CalculateMultiSlotAvailabilityOptions {
|
|
876
|
+
/** @maxLength 30 */
|
|
781
877
|
from?: string;
|
|
878
|
+
/** @maxLength 30 */
|
|
782
879
|
to?: string;
|
|
880
|
+
/** @maxLength 30 */
|
|
783
881
|
timeZone?: string;
|
|
784
882
|
/** 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 */
|
|
785
883
|
bookable?: boolean | null;
|
|
@@ -793,6 +891,10 @@ export interface CalculateMultiSlotAvailabilityOptions {
|
|
|
793
891
|
* must be set, and must have locationType. If locationType is `OWNER_BUSINESS`, must have location_id
|
|
794
892
|
*/
|
|
795
893
|
location?: Location;
|
|
894
|
+
/**
|
|
895
|
+
* @minSize 1
|
|
896
|
+
* @maxSize 6
|
|
897
|
+
*/
|
|
796
898
|
slots?: RuleBasedConstraints[];
|
|
797
899
|
/**
|
|
798
900
|
* Maximum number of slots to load for each date. For example, if `slots_per_day` is set to `3`,
|
|
@@ -130,7 +130,8 @@ var LocationLocationType;
|
|
|
130
130
|
* `2025-09-07T00:00:01.000` and an `endDate` of `2025-09-08T00:00:02.000`, the
|
|
131
131
|
* adjusted query will use `2025-09-07T01:00:01.000` as the new start time.
|
|
132
132
|
* @param query - Query options. Refer to the
|
|
133
|
-
*
|
|
133
|
+
* _supported filters article_
|
|
134
|
+
* ([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))
|
|
134
135
|
* for a complete list of supported filters.
|
|
135
136
|
* @public
|
|
136
137
|
* @documentationMaturity preview
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-availability-v1-slot-availability-availability-calendar.universal.js","sourceRoot":"","sources":["../../../../src/bookings-availability-v1-slot-availability-availability-calendar.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,gKAAkJ;
|
|
1
|
+
{"version":3,"file":"bookings-availability-v1-slot-availability-availability-calendar.universal.js","sourceRoot":"","sources":["../../../../src/bookings-availability-v1-slot-availability-availability-calendar.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,gKAAkJ;AAqIlJ,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,uCAAuB,CAAA;IACvB,iDAAiC,CAAA;IACjC,6CAA6B,CAAA;IAC7B,iCAAiB,CAAA;AACnB,CAAC,EALW,YAAY,4BAAZ,YAAY,QAKvB;AA+FD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AA2RD,IAAY,oBAQX;AARD,WAAY,oBAAo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C,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AA3DD,wEA2DC"}
|
|
@@ -86,7 +86,8 @@ interface QueryAvailabilitySignature {
|
|
|
86
86
|
* `2025-09-07T00:00:01.000` and an `endDate` of `2025-09-08T00:00:02.000`, the
|
|
87
87
|
* adjusted query will use `2025-09-07T01:00:01.000` as the new start time.
|
|
88
88
|
* @param - Query options. Refer to the
|
|
89
|
-
*
|
|
89
|
+
* _supported filters article_
|
|
90
|
+
* ([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))
|
|
90
91
|
* for a complete list of supported filters.
|
|
91
92
|
* @param - Options to use for querying availability.
|
|
92
93
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-availability-v1-slot-availability-availability-calendar.public.js","sourceRoot":"","sources":["../../../../src/bookings-availability-v1-slot-availability-availability-calendar.public.ts"],"names":[],"mappings":"AACA,OAAO,EASL,8BAA8B,IAAI,uCAAuC,EACzE,uBAAuB,IAAI,gCAAgC,EAC3D,iBAAiB,IAAI,0BAA0B,GAChD,MAAM,iFAAiF,CAAC;AAEzF,MAAM,CAAC,MAAM,UAAU,GAAG,EAAE,YAAY,EAAE,eAAe,EAAE,CAAC;AAE5D,MAAM,UAAU,iBAAiB,CAC/B,UAAsB;IAEtB,OAAO,CAAC,KAAc,EAAE,OAAkC,EAAE,EAAE,CAC5D,0BAA0B,CACxB,KAAK,EACL,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;
|
|
1
|
+
{"version":3,"file":"bookings-availability-v1-slot-availability-availability-calendar.public.js","sourceRoot":"","sources":["../../../../src/bookings-availability-v1-slot-availability-availability-calendar.public.ts"],"names":[],"mappings":"AACA,OAAO,EASL,8BAA8B,IAAI,uCAAuC,EACzE,uBAAuB,IAAI,gCAAgC,EAC3D,iBAAiB,IAAI,0BAA0B,GAChD,MAAM,iFAAiF,CAAC;AAEzF,MAAM,CAAC,MAAM,UAAU,GAAG,EAAE,YAAY,EAAE,eAAe,EAAE,CAAC;AAE5D,MAAM,UAAU,iBAAiB,CAC/B,UAAsB;IAEtB,OAAO,CAAC,KAAc,EAAE,OAAkC,EAAE,EAAE,CAC5D,0BAA0B,CACxB,KAAK,EACL,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AA8FD,MAAM,UAAU,uBAAuB,CACrC,UAAsB;IAEtB,OAAO,CAAC,UAAkB,EAAE,EAAE,CAC5B,gCAAgC,CAC9B,UAAU;IACV,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAeD,MAAM,UAAU,8BAA8B,CAC5C,UAAsB;IAEtB,OAAO,CAAC,OAA+C,EAAE,EAAE,CACzD,uCAAuC,CACrC,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAUD,OAAO,EAqBL,oBAAoB,EACpB,YAAY,EAkBZ,SAAS,GAMV,MAAM,iFAAiF,CAAC"}
|