@wix/auto_sdk_bookings_availability-time-slots 1.0.280 → 1.0.281

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.
@@ -475,6 +475,256 @@ interface GetEventTimeSlotResponse {
475
475
  */
476
476
  timeZone?: string | null;
477
477
  }
478
+ interface ListMultiServiceAvailabilityTimeSlotsRequest {
479
+ /**
480
+ * Services for which the multi-service time slots are returned.
481
+ * Each service can include its own resource filters.
482
+ *
483
+ * Required unless you specify `cursorPaging.cursor`.
484
+ *
485
+ * Min: 2 services
486
+ * Max: 40 services
487
+ * @maxSize 40
488
+ */
489
+ services?: Service[];
490
+ /**
491
+ * Lower boundary for `localStartDate` in `YYYY-MM-DDThh:mm:ss` [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).
492
+ * For example, `2026-01-30T13:30:00`.
493
+ * Each returned time slot has a `localStartDate` between `fromLocalDate` and `toLocalDate`.
494
+ *
495
+ * Required unless you specify `cursorPaging.cursor`.
496
+ * @format LOCAL_DATE_TIME
497
+ */
498
+ fromLocalDate?: string | null;
499
+ /**
500
+ * Upper boundary for `localToDate` in `YYYY-MM-DDThh:mm:ss` [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).
501
+ * For example, `2026-01-30T13:30:00`.
502
+ * Each returned time slot has a `localEndDate` between `fromLocalDate` and `toLocalDate`.
503
+ *
504
+ * Required unless you specify `cursorPaging.cursor`.
505
+ * @format LOCAL_DATE_TIME
506
+ */
507
+ toLocalDate?: string | null;
508
+ /**
509
+ * Time zone in [IANA tz database format](https://en.wikipedia.org/wiki/Tz_database) for adjusting `fromLocalDate` and `toLocalDate` values. For example, `America/New_York` or `UTC`.
510
+ *
511
+ * Required unless you specify `cursorPaging.cursor`.
512
+ *
513
+ * Default: `timeZone` specified in the business [site properties](https://dev.wix.com/docs/api-reference/business-management/site-properties/properties/get-site-properties).
514
+ * @minLength 1
515
+ * @maxLength 150
516
+ */
517
+ timeZone?: string | null;
518
+ /**
519
+ * Location for which the multi-service time slots are returned. If you filter by `{"type": "BUSINESS"}`, you must also specify a location ID. Filters for `location.name` and `location.formattedAddress` are ignored.
520
+ *
521
+ * Required unless you specify `cursorPaging.cursor`.
522
+ */
523
+ location?: Location;
524
+ /**
525
+ * Whether the time slot is bookable according to all services' booking policies.
526
+ * If not specified, returns both bookable and non-bookable time slots.
527
+ */
528
+ bookable?: boolean | null;
529
+ /**
530
+ * Indicators for service's booking policy violations.
531
+ * Allows filtering for time slots with specific violation types based on [booking policies](https://dev.wix.com/docs/api-reference/business-solutions/bookings/policies/booking-policies/introduction). When you don't specify `bookingPolicyViolations` filters, all slots are returned regardless of their booking policy status.
532
+ */
533
+ bookingPolicyViolations?: BookingPolicyViolations;
534
+ /**
535
+ * Maximum number of slots to return for each day in the specified time range.
536
+ * If `bookable` filter isn't specified, bookable slots are returned first.
537
+ */
538
+ timeSlotsPerDay?: number | null;
539
+ /**
540
+ * Cursor-based paging configuration.
541
+ * Enables fetching results in smaller chunks by setting a limit on the number of results.
542
+ * For consistent pagination behavior, use the same `limit` value throughout a pagination sequence.
543
+ * When specifying a new `limit` in follow-up requests, the API respects the new value.
544
+ */
545
+ cursorPaging?: CursorPaging;
546
+ }
547
+ interface Service {
548
+ /**
549
+ * Service ID.
550
+ * @format GUID
551
+ */
552
+ serviceId?: string;
553
+ /**
554
+ * Resource [type IDs](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resource-types-v2/introduction) to include in returned time slots.
555
+ * This is in addition to the specifically requested resources.
556
+ *
557
+ * <blockquote>
558
+ * Currently supported only for Staff Member resource type.
559
+ * Staff members belong to resource type ID `1cd44cf8-756f-41c3-bd90-3e2ffcaf1155`.
560
+ * </blockquote>
561
+ * @format GUID
562
+ * @maxSize 100
563
+ */
564
+ includeResourceTypeIds?: string[];
565
+ /**
566
+ * Selected customer choices.
567
+ * If specified, the selected choices are used to calculate service configuration.
568
+ * If not specified, the service default configuration is used.
569
+ * Enforcing this field is the responsibility of the service plugin implementer, and not the Time Slots V2 API.
570
+ *
571
+ * When using [add-ons](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/add-ons/introduction), we recommend passing only `addOnIds` and omitting `durationInMinutes`. Wix Bookings then calculates the total duration automatically. If you specify both `addOnIds` and `durationInMinutes`, `durationInMinutes` must equal the service duration plus all selected add-on durations.
572
+ */
573
+ customerChoices?: V2CustomerChoices;
574
+ /**
575
+ * Resource types to filter time slots.
576
+ * Only returns time slots that have these specific resource types available.
577
+ * This filters the time slots themselves, unlike `includeResourceTypeIds` which only controls response details.
578
+ * @maxSize 8
579
+ */
580
+ resourceTypes?: ResourceType[];
581
+ }
582
+ /**
583
+ * Selected customer choices.
584
+ *
585
+ * These choices are selected by the customer during the book flow and used to calculate the service's availability configuration.
586
+ */
587
+ interface V2CustomerChoices {
588
+ /**
589
+ * Selected duration in minutes, based on a [service variant](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/service-options-and-variants/introduction) the customer chose.
590
+ * When using [add-ons](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/add-ons/introduction), we recommend passing only `addOnIds` instead of `durationInMinutes`. Wix Bookings then calculates the total duration automatically. If you specify both `addOnIds` and `durationInMinutes`, `durationInMinutes` must equal the service duration plus all selected add-on durations.
591
+ *
592
+ * Min: `1` minute
593
+ * Max: `57600` minutes (40 days)
594
+ * Default: `15` minutes
595
+ * @min 1
596
+ * @max 57600
597
+ */
598
+ durationInMinutes?: number | null;
599
+ /**
600
+ * Selected [add-on](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/add-ons/introduction) IDs.
601
+ * When specifying this field, we recommend omitting `durationInMinutes`. Wix Bookings then calculates the total duration based on the service duration plus all selected add-on durations.
602
+ *
603
+ * Max: 21 (3 add-on groups × 7 add-ons per group).
604
+ * @format GUID
605
+ * @maxSize 21
606
+ */
607
+ addOnIds?: string[] | null;
608
+ /**
609
+ * Selected duration choice ID.
610
+ * @format GUID
611
+ */
612
+ durationChoiceId?: string | null;
613
+ /**
614
+ * Gender the customer narrowed an "any staff member" selection to.
615
+ * Only time slots served by staff members of that gender are returned.
616
+ * Omit to keep "any staff member" unnarrowed.
617
+ *
618
+ * Requires `genderPubliclyAccessible` to be enabled in the business's [staff member settings](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/staff-member-settings/introduction). The call fails with `REQUESTED_GENDER_NOT_ALLOWED` when it's disabled.
619
+ */
620
+ requestedGender?: V2RequestedGenderValue;
621
+ }
622
+ /** Gender narrowing for an "any staff member" selection. */
623
+ interface V2RequestedGenderValue {
624
+ /** Gender the customer narrowed "any staff member" to. */
625
+ gender?: RequestedGenderValueRequestedGenderWithLiterals;
626
+ }
627
+ /**
628
+ * Selectable genders. Staff members of any other gender are reachable
629
+ * through plain "any staff member" or by name.
630
+ */
631
+ declare enum RequestedGenderValueRequestedGender {
632
+ /**
633
+ * Any male staff member.
634
+ * @documentationMaturity preview
635
+ */
636
+ ANY_MALE = "ANY_MALE",
637
+ /**
638
+ * Any female staff member.
639
+ * @documentationMaturity preview
640
+ */
641
+ ANY_FEMALE = "ANY_FEMALE"
642
+ }
643
+ /** @enumType */
644
+ type RequestedGenderValueRequestedGenderWithLiterals = RequestedGenderValueRequestedGender | 'ANY_MALE' | 'ANY_FEMALE';
645
+ interface ResourceType {
646
+ /**
647
+ * [Resource type ID](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resource-types-v2/introduction).
648
+ * @format GUID
649
+ */
650
+ resourceTypeId?: string | null;
651
+ /**
652
+ * Resource IDs.
653
+ * Available only if there is at least 1 resource available for the slot.
654
+ * @format GUID
655
+ * @maxSize 135
656
+ */
657
+ resourceIds?: string[] | null;
658
+ }
659
+ interface ListMultiServiceAvailabilityTimeSlotsResponse {
660
+ /**
661
+ * Retrieved time slots.
662
+ * Sorted by `localStartDate` in ascending order. When multiple slots have the same start time, no specific secondary sorting is guaranteed.
663
+ * @maxSize 1000
664
+ */
665
+ timeSlots?: TimeSlot[];
666
+ /**
667
+ * Time zone in [IANA tz database format](https://en.wikipedia.org/wiki/Tz_database) for adjusting `fromLocalDate` and `toLocalDate`.
668
+ * For example, `America/New_York` or `UTC`.
669
+ * Default: `timeZone` specified in the business [site properties](https://dev.wix.com/docs/api-reference/business-management/site-properties/properties/get-site-properties).
670
+ * @minLength 1
671
+ * @maxLength 150
672
+ */
673
+ timeZone?: string | null;
674
+ /**
675
+ * Paging metadata for the next page of results.
676
+ * Contains a cursor if there are more than 1000 results.
677
+ */
678
+ cursorPagingMetadata?: CursorPagingMetadata;
679
+ }
680
+ interface GetMultiServiceAvailabilityTimeSlotRequest {
681
+ /**
682
+ * Services for which the multi-service time slots are returned.
683
+ * You can specify resource filters for each service.
684
+ * @minSize 2
685
+ * @maxSize 40
686
+ */
687
+ services?: Service[];
688
+ /**
689
+ * Local start date of the time slot in `YYYY-MM-DDThh:mm:ss` [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).
690
+ * For example, `2026-01-30T13:30:00`.
691
+ * @format LOCAL_DATE_TIME
692
+ */
693
+ localStartDate?: string;
694
+ /**
695
+ * Local end date of the time slot in `YYYY-MM-DDThh:mm:ss` [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).
696
+ * For example, `2026-01-30T13:30:00`.
697
+ * @format LOCAL_DATE_TIME
698
+ */
699
+ localEndDate?: string;
700
+ /**
701
+ * Time zone in [IANA tz database format](https://en.wikipedia.org/wiki/Tz_database) for adjusting `fromLocalDate` and `toLocalDate` values.
702
+ * For example, `America/New_York` or `UTC`.
703
+ *
704
+ * Default: `timeZone` specified in the business [site properties](https://dev.wix.com/docs/api-reference/business-management/site-properties/properties/get-site-properties).
705
+ * @minLength 1
706
+ * @maxLength 150
707
+ */
708
+ timeZone?: string | null;
709
+ /**
710
+ * Location for which the multi-service time slots are returned. If you filter by `{"type": "BUSINESS"}`, you must also specify a location ID. A filter for `location.name` is ignored.
711
+ *
712
+ * Required unless you specify `cursorPaging.cursor`.
713
+ */
714
+ location?: Location;
715
+ }
716
+ interface GetMultiServiceAvailabilityTimeSlotResponse {
717
+ /** Retrieved time slot. */
718
+ timeSlot?: TimeSlot;
719
+ /**
720
+ * Time zone in [IANA tz database format](https://en.wikipedia.org/wiki/Tz_database) for adjusting `fromLocalDate` and `toLocalDate`.
721
+ * For example, `America/New_York` or `UTC`.
722
+ * Default: `timeZone` specified in the business [site properties](https://dev.wix.com/docs/api-reference/business-management/site-properties/properties/get-site-properties).
723
+ * @minLength 1
724
+ * @maxLength 150
725
+ */
726
+ timeZone?: string | null;
727
+ }
478
728
  interface ListAvailabilityTimeSlotsRequest {
479
729
  /**
480
730
  * Service ID for which to retrieve time slots. You must specify the ID of an appointment-based service.
@@ -617,20 +867,6 @@ declare enum RequestedGender {
617
867
  }
618
868
  /** @enumType */
619
869
  type RequestedGenderWithLiterals = RequestedGender | 'ANY_MALE' | 'ANY_FEMALE';
620
- interface ResourceType {
621
- /**
622
- * [Resource type ID](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resource-types-v2/introduction).
623
- * @format GUID
624
- */
625
- resourceTypeId?: string | null;
626
- /**
627
- * Resource IDs.
628
- * Available only if there is at least 1 resource available for the slot.
629
- * @format GUID
630
- * @maxSize 135
631
- */
632
- resourceIds?: string[] | null;
633
- }
634
870
  interface ListAvailabilityTimeSlotsResponse {
635
871
  /**
636
872
  * Retrieved time slots.
@@ -752,29 +988,6 @@ interface GetAvailabilityTimeSlotRequest {
752
988
  */
753
989
  resourceTypes?: ResourceType[];
754
990
  }
755
- /** Gender narrowing for an "any staff member" selection. */
756
- interface V2RequestedGenderValue {
757
- /** Gender the customer narrowed "any staff member" to. */
758
- gender?: RequestedGenderValueRequestedGenderWithLiterals;
759
- }
760
- /**
761
- * Selectable genders. Staff members of any other gender are reachable
762
- * through plain "any staff member" or by name.
763
- */
764
- declare enum RequestedGenderValueRequestedGender {
765
- /**
766
- * Any male staff member.
767
- * @documentationMaturity preview
768
- */
769
- ANY_MALE = "ANY_MALE",
770
- /**
771
- * Any female staff member.
772
- * @documentationMaturity preview
773
- */
774
- ANY_FEMALE = "ANY_FEMALE"
775
- }
776
- /** @enumType */
777
- type RequestedGenderValueRequestedGenderWithLiterals = RequestedGenderValueRequestedGender | 'ANY_MALE' | 'ANY_FEMALE';
778
991
  interface GetAvailabilityTimeSlotRequestCustomerChoices {
779
992
  /**
780
993
  * Selected add-on IDs.
@@ -1141,219 +1354,6 @@ interface BulkActionMetadata {
1141
1354
  /** Number of failures without details because detailed failure threshold was exceeded. */
1142
1355
  undetailedFailures?: number;
1143
1356
  }
1144
- interface ListMultiServiceAvailabilityTimeSlotsRequest {
1145
- /**
1146
- * Services for which the multi-service time slots are returned.
1147
- * Each service can include its own resource filters.
1148
- *
1149
- * Required unless you specify `cursorPaging.cursor`.
1150
- *
1151
- * Min: 2 services
1152
- * Max: 40 services
1153
- * @maxSize 40
1154
- */
1155
- services?: Service[];
1156
- /**
1157
- * Lower boundary for `localStartDate` in `YYYY-MM-DDThh:mm:ss` [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).
1158
- * For example, `2026-01-30T13:30:00`.
1159
- * Each returned time slot has a `localStartDate` between `fromLocalDate` and `toLocalDate`.
1160
- *
1161
- * Required unless you specify `cursorPaging.cursor`.
1162
- * @format LOCAL_DATE_TIME
1163
- */
1164
- fromLocalDate?: string | null;
1165
- /**
1166
- * Upper boundary for `localToDate` in `YYYY-MM-DDThh:mm:ss` [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).
1167
- * For example, `2026-01-30T13:30:00`.
1168
- * Each returned time slot has a `localEndDate` between `fromLocalDate` and `toLocalDate`.
1169
- *
1170
- * Required unless you specify `cursorPaging.cursor`.
1171
- * @format LOCAL_DATE_TIME
1172
- */
1173
- toLocalDate?: string | null;
1174
- /**
1175
- * Time zone in [IANA tz database format](https://en.wikipedia.org/wiki/Tz_database) for adjusting `fromLocalDate` and `toLocalDate` values. For example, `America/New_York` or `UTC`.
1176
- *
1177
- * Required unless you specify `cursorPaging.cursor`.
1178
- *
1179
- * Default: `timeZone` specified in the business [site properties](https://dev.wix.com/docs/api-reference/business-management/site-properties/properties/get-site-properties).
1180
- * @minLength 1
1181
- * @maxLength 150
1182
- */
1183
- timeZone?: string | null;
1184
- /**
1185
- * Location for which the multi-service time slots are returned. If you filter by `{"type": "BUSINESS"}`, you must also specify a location ID. Filters for `location.name` and `location.formattedAddress` are ignored.
1186
- *
1187
- * Required unless you specify `cursorPaging.cursor`.
1188
- */
1189
- location?: Location;
1190
- /**
1191
- * Whether the time slot is bookable according to all services' booking policies.
1192
- * If not specified, returns both bookable and non-bookable time slots.
1193
- */
1194
- bookable?: boolean | null;
1195
- /**
1196
- * Indicators for service's booking policy violations.
1197
- * Allows filtering for time slots with specific violation types based on [booking policies](https://dev.wix.com/docs/api-reference/business-solutions/bookings/policies/booking-policies/introduction). When you don't specify `bookingPolicyViolations` filters, all slots are returned regardless of their booking policy status.
1198
- */
1199
- bookingPolicyViolations?: BookingPolicyViolations;
1200
- /**
1201
- * Maximum number of slots to return for each day in the specified time range.
1202
- * If `bookable` filter isn't specified, bookable slots are returned first.
1203
- */
1204
- timeSlotsPerDay?: number | null;
1205
- /**
1206
- * Cursor-based paging configuration.
1207
- * Enables fetching results in smaller chunks by setting a limit on the number of results.
1208
- * For consistent pagination behavior, use the same `limit` value throughout a pagination sequence.
1209
- * When specifying a new `limit` in follow-up requests, the API respects the new value.
1210
- */
1211
- cursorPaging?: CursorPaging;
1212
- }
1213
- interface Service {
1214
- /**
1215
- * Service ID.
1216
- * @format GUID
1217
- */
1218
- serviceId?: string;
1219
- /**
1220
- * Resource [type IDs](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resource-types-v2/introduction) to include in returned time slots.
1221
- * This is in addition to the specifically requested resources.
1222
- *
1223
- * <blockquote>
1224
- * Currently supported only for Staff Member resource type.
1225
- * Staff members belong to resource type ID `1cd44cf8-756f-41c3-bd90-3e2ffcaf1155`.
1226
- * </blockquote>
1227
- * @format GUID
1228
- * @maxSize 100
1229
- */
1230
- includeResourceTypeIds?: string[];
1231
- /**
1232
- * Selected customer choices.
1233
- * If specified, the selected choices are used to calculate service configuration.
1234
- * If not specified, the service default configuration is used.
1235
- * Enforcing this field is the responsibility of the service plugin implementer, and not the Time Slots V2 API.
1236
- *
1237
- * When using [add-ons](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/add-ons/introduction), we recommend passing only `addOnIds` and omitting `durationInMinutes`. Wix Bookings then calculates the total duration automatically. If you specify both `addOnIds` and `durationInMinutes`, `durationInMinutes` must equal the service duration plus all selected add-on durations.
1238
- */
1239
- customerChoices?: V2CustomerChoices;
1240
- /**
1241
- * Resource types to filter time slots.
1242
- * Only returns time slots that have these specific resource types available.
1243
- * This filters the time slots themselves, unlike `includeResourceTypeIds` which only controls response details.
1244
- * @maxSize 8
1245
- */
1246
- resourceTypes?: ResourceType[];
1247
- }
1248
- /**
1249
- * Selected customer choices.
1250
- *
1251
- * These choices are selected by the customer during the book flow and used to calculate the service's availability configuration.
1252
- */
1253
- interface V2CustomerChoices {
1254
- /**
1255
- * Selected duration in minutes, based on a [service variant](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/service-options-and-variants/introduction) the customer chose.
1256
- * When using [add-ons](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/add-ons/introduction), we recommend passing only `addOnIds` instead of `durationInMinutes`. Wix Bookings then calculates the total duration automatically. If you specify both `addOnIds` and `durationInMinutes`, `durationInMinutes` must equal the service duration plus all selected add-on durations.
1257
- *
1258
- * Min: `1` minute
1259
- * Max: `57600` minutes (40 days)
1260
- * Default: `15` minutes
1261
- * @min 1
1262
- * @max 57600
1263
- */
1264
- durationInMinutes?: number | null;
1265
- /**
1266
- * Selected [add-on](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/add-ons/introduction) IDs.
1267
- * When specifying this field, we recommend omitting `durationInMinutes`. Wix Bookings then calculates the total duration based on the service duration plus all selected add-on durations.
1268
- *
1269
- * Max: 21 (3 add-on groups × 7 add-ons per group).
1270
- * @format GUID
1271
- * @maxSize 21
1272
- */
1273
- addOnIds?: string[] | null;
1274
- /**
1275
- * Selected duration choice ID.
1276
- * @format GUID
1277
- */
1278
- durationChoiceId?: string | null;
1279
- /**
1280
- * Gender the customer narrowed an "any staff member" selection to.
1281
- * Only time slots served by staff members of that gender are returned.
1282
- * Omit to keep "any staff member" unnarrowed.
1283
- *
1284
- * Requires `genderPubliclyAccessible` to be enabled in the business's [staff member settings](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/staff-member-settings/introduction). The call fails with `REQUESTED_GENDER_NOT_ALLOWED` when it's disabled.
1285
- */
1286
- requestedGender?: V2RequestedGenderValue;
1287
- }
1288
- interface ListMultiServiceAvailabilityTimeSlotsResponse {
1289
- /**
1290
- * Retrieved time slots.
1291
- * Sorted by `localStartDate` in ascending order. When multiple slots have the same start time, no specific secondary sorting is guaranteed.
1292
- * @maxSize 1000
1293
- */
1294
- timeSlots?: TimeSlot[];
1295
- /**
1296
- * Time zone in [IANA tz database format](https://en.wikipedia.org/wiki/Tz_database) for adjusting `fromLocalDate` and `toLocalDate`.
1297
- * For example, `America/New_York` or `UTC`.
1298
- * Default: `timeZone` specified in the business [site properties](https://dev.wix.com/docs/api-reference/business-management/site-properties/properties/get-site-properties).
1299
- * @minLength 1
1300
- * @maxLength 150
1301
- */
1302
- timeZone?: string | null;
1303
- /**
1304
- * Paging metadata for the next page of results.
1305
- * Contains a cursor if there are more than 1000 results.
1306
- */
1307
- cursorPagingMetadata?: CursorPagingMetadata;
1308
- }
1309
- interface GetMultiServiceAvailabilityTimeSlotRequest {
1310
- /**
1311
- * Services for which the multi-service time slots are returned.
1312
- * You can specify resource filters for each service.
1313
- * @minSize 2
1314
- * @maxSize 40
1315
- */
1316
- services?: Service[];
1317
- /**
1318
- * Local start date of the time slot in `YYYY-MM-DDThh:mm:ss` [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).
1319
- * For example, `2026-01-30T13:30:00`.
1320
- * @format LOCAL_DATE_TIME
1321
- */
1322
- localStartDate?: string;
1323
- /**
1324
- * Local end date of the time slot in `YYYY-MM-DDThh:mm:ss` [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).
1325
- * For example, `2026-01-30T13:30:00`.
1326
- * @format LOCAL_DATE_TIME
1327
- */
1328
- localEndDate?: string;
1329
- /**
1330
- * Time zone in [IANA tz database format](https://en.wikipedia.org/wiki/Tz_database) for adjusting `fromLocalDate` and `toLocalDate` values.
1331
- * For example, `America/New_York` or `UTC`.
1332
- *
1333
- * Default: `timeZone` specified in the business [site properties](https://dev.wix.com/docs/api-reference/business-management/site-properties/properties/get-site-properties).
1334
- * @minLength 1
1335
- * @maxLength 150
1336
- */
1337
- timeZone?: string | null;
1338
- /**
1339
- * Location for which the multi-service time slots are returned. If you filter by `{"type": "BUSINESS"}`, you must also specify a location ID. A filter for `location.name` is ignored.
1340
- *
1341
- * Required unless you specify `cursorPaging.cursor`.
1342
- */
1343
- location?: Location;
1344
- }
1345
- interface GetMultiServiceAvailabilityTimeSlotResponse {
1346
- /** Retrieved time slot. */
1347
- timeSlot?: TimeSlot;
1348
- /**
1349
- * Time zone in [IANA tz database format](https://en.wikipedia.org/wiki/Tz_database) for adjusting `fromLocalDate` and `toLocalDate`.
1350
- * For example, `America/New_York` or `UTC`.
1351
- * Default: `timeZone` specified in the business [site properties](https://dev.wix.com/docs/api-reference/business-management/site-properties/properties/get-site-properties).
1352
- * @minLength 1
1353
- * @maxLength 150
1354
- */
1355
- timeZone?: string | null;
1356
- }
1357
1357
  /** @docsIgnore */
1358
1358
  type ListAvailabilityTimeSlotsApplicationErrors = {
1359
1359
  code?: 'NO_IMPLEMENTERS_FOUND';
package/build/cjs/meta.js CHANGED
@@ -275,16 +275,16 @@ var LocationType = /* @__PURE__ */ ((LocationType2) => {
275
275
  LocationType2["CUSTOMER"] = "CUSTOMER";
276
276
  return LocationType2;
277
277
  })(LocationType || {});
278
- var RequestedGender = /* @__PURE__ */ ((RequestedGender2) => {
279
- RequestedGender2["ANY_MALE"] = "ANY_MALE";
280
- RequestedGender2["ANY_FEMALE"] = "ANY_FEMALE";
281
- return RequestedGender2;
282
- })(RequestedGender || {});
283
278
  var RequestedGenderValueRequestedGender = /* @__PURE__ */ ((RequestedGenderValueRequestedGender2) => {
284
279
  RequestedGenderValueRequestedGender2["ANY_MALE"] = "ANY_MALE";
285
280
  RequestedGenderValueRequestedGender2["ANY_FEMALE"] = "ANY_FEMALE";
286
281
  return RequestedGenderValueRequestedGender2;
287
282
  })(RequestedGenderValueRequestedGender || {});
283
+ var RequestedGender = /* @__PURE__ */ ((RequestedGender2) => {
284
+ RequestedGender2["ANY_MALE"] = "ANY_MALE";
285
+ RequestedGender2["ANY_FEMALE"] = "ANY_FEMALE";
286
+ return RequestedGender2;
287
+ })(RequestedGender || {});
288
288
  var ReasonCode = /* @__PURE__ */ ((ReasonCode2) => {
289
289
  ReasonCode2["NO_ASSIGNED_STAFF_OR_RESOURCES"] = "NO_ASSIGNED_STAFF_OR_RESOURCES";
290
290
  ReasonCode2["SERVICE_AVAILABILITY_CONFIGURATION_MISSING"] = "SERVICE_AVAILABILITY_CONFIGURATION_MISSING";