@wix/auto_sdk_bookings_availability-time-slots 1.0.273 → 1.0.274

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.
@@ -444,256 +444,6 @@ interface GetEventTimeSlotResponse {
444
444
  */
445
445
  timeZone?: string | null;
446
446
  }
447
- interface ListMultiServiceAvailabilityTimeSlotsRequest {
448
- /**
449
- * Services for which the multi-service time slots are returned.
450
- * Each service can include its own resource filters.
451
- *
452
- * Required unless you specify `cursorPaging.cursor`.
453
- *
454
- * Min: 2 services
455
- * Max: 40 services
456
- * @maxSize 40
457
- */
458
- services?: Service[];
459
- /**
460
- * Lower boundary for `localStartDate` in `YYYY-MM-DDThh:mm:ss` [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).
461
- * For example, `2026-01-30T13:30:00`.
462
- * Each returned time slot has a `localStartDate` between `fromLocalDate` and `toLocalDate`.
463
- *
464
- * Required unless you specify `cursorPaging.cursor`.
465
- * @format LOCAL_DATE_TIME
466
- */
467
- fromLocalDate?: string | null;
468
- /**
469
- * Upper boundary for `localToDate` in `YYYY-MM-DDThh:mm:ss` [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).
470
- * For example, `2026-01-30T13:30:00`.
471
- * Each returned time slot has a `localEndDate` between `fromLocalDate` and `toLocalDate`.
472
- *
473
- * Required unless you specify `cursorPaging.cursor`.
474
- * @format LOCAL_DATE_TIME
475
- */
476
- toLocalDate?: string | null;
477
- /**
478
- * 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`.
479
- *
480
- * Required unless you specify `cursorPaging.cursor`.
481
- *
482
- * Default: `timeZone` specified in the business [site properties](https://dev.wix.com/docs/api-reference/business-management/site-properties/properties/get-site-properties).
483
- * @minLength 1
484
- * @maxLength 150
485
- */
486
- timeZone?: string | null;
487
- /**
488
- * 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.
489
- *
490
- * Required unless you specify `cursorPaging.cursor`.
491
- */
492
- location?: Location;
493
- /**
494
- * Whether the time slot is bookable according to all services' booking policies.
495
- * If not specified, returns both bookable and non-bookable time slots.
496
- */
497
- bookable?: boolean | null;
498
- /**
499
- * Indicators for service's booking policy violations.
500
- * 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.
501
- */
502
- bookingPolicyViolations?: BookingPolicyViolations;
503
- /**
504
- * Maximum number of slots to return for each day in the specified time range.
505
- * If `bookable` filter isn't specified, bookable slots are returned first.
506
- */
507
- timeSlotsPerDay?: number | null;
508
- /**
509
- * Cursor-based paging configuration.
510
- * Enables fetching results in smaller chunks by setting a limit on the number of results.
511
- * For consistent pagination behavior, use the same `limit` value throughout a pagination sequence.
512
- * When specifying a new `limit` in follow-up requests, the API respects the new value.
513
- */
514
- cursorPaging?: CursorPaging;
515
- }
516
- interface Service {
517
- /**
518
- * Service ID.
519
- * @format GUID
520
- */
521
- serviceId?: string;
522
- /**
523
- * Resource [type IDs](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resource-types-v2/introduction) to include in returned time slots.
524
- * This is in addition to the specifically requested resources.
525
- *
526
- * <blockquote>
527
- * Currently supported only for Staff Member resource type.
528
- * Staff members belong to resource type ID `1cd44cf8-756f-41c3-bd90-3e2ffcaf1155`.
529
- * </blockquote>
530
- * @format GUID
531
- * @maxSize 100
532
- */
533
- includeResourceTypeIds?: string[];
534
- /**
535
- * Selected customer choices.
536
- * If specified, the selected choices are used to calculate service configuration.
537
- * If not specified, the service default configuration is used.
538
- * Enforcing this field is the responsibility of the service plugin implementer, and not the Time Slots V2 API.
539
- *
540
- * 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.
541
- */
542
- customerChoices?: V2CustomerChoices;
543
- /**
544
- * Resource types to filter time slots.
545
- * Only returns time slots that have these specific resource types available.
546
- * This filters the time slots themselves, unlike `includeResourceTypeIds` which only controls response details.
547
- * @maxSize 8
548
- */
549
- resourceTypes?: ResourceType[];
550
- }
551
- /**
552
- * Selected customer choices.
553
- *
554
- * These choices are selected by the customer during the book flow and used to calculate the service's availability configuration.
555
- */
556
- interface V2CustomerChoices {
557
- /**
558
- * 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.
559
- * 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.
560
- *
561
- * Min: `1` minute
562
- * Max: `57600` minutes (40 days)
563
- * Default: `15` minutes
564
- * @min 1
565
- * @max 57600
566
- */
567
- durationInMinutes?: number | null;
568
- /**
569
- * Selected [add-on](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/add-ons/introduction) IDs.
570
- * 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.
571
- *
572
- * Max: 21 (3 add-on groups × 7 add-ons per group).
573
- * @format GUID
574
- * @maxSize 21
575
- */
576
- addOnIds?: string[] | null;
577
- /**
578
- * Selected duration choice ID.
579
- * @format GUID
580
- */
581
- durationChoiceId?: string | null;
582
- /**
583
- * Gender the customer narrowed an "any staff member" selection to.
584
- * Only time slots served by staff members of that gender are returned.
585
- * Omit to keep "any staff member" unnarrowed.
586
- *
587
- * 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.
588
- */
589
- requestedGender?: V2RequestedGenderValue;
590
- }
591
- /** Gender narrowing for an "any staff member" selection. */
592
- interface V2RequestedGenderValue {
593
- /** Gender the customer narrowed "any staff member" to. */
594
- gender?: RequestedGenderValueRequestedGenderWithLiterals;
595
- }
596
- /**
597
- * Selectable genders. Staff members of any other gender are reachable
598
- * through plain "any staff member" or by name.
599
- */
600
- declare enum RequestedGenderValueRequestedGender {
601
- /**
602
- * Any male staff member.
603
- * @documentationMaturity preview
604
- */
605
- ANY_MALE = "ANY_MALE",
606
- /**
607
- * Any female staff member.
608
- * @documentationMaturity preview
609
- */
610
- ANY_FEMALE = "ANY_FEMALE"
611
- }
612
- /** @enumType */
613
- type RequestedGenderValueRequestedGenderWithLiterals = RequestedGenderValueRequestedGender | 'ANY_MALE' | 'ANY_FEMALE';
614
- interface ResourceType {
615
- /**
616
- * [Resource type ID](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resource-types-v2/introduction).
617
- * @format GUID
618
- */
619
- resourceTypeId?: string | null;
620
- /**
621
- * Resource IDs.
622
- * Available only if there is at least 1 resource available for the slot.
623
- * @format GUID
624
- * @maxSize 135
625
- */
626
- resourceIds?: string[] | null;
627
- }
628
- interface ListMultiServiceAvailabilityTimeSlotsResponse {
629
- /**
630
- * Retrieved time slots.
631
- * Sorted by `localStartDate` in ascending order. When multiple slots have the same start time, no specific secondary sorting is guaranteed.
632
- * @maxSize 1000
633
- */
634
- timeSlots?: TimeSlot[];
635
- /**
636
- * Time zone in [IANA tz database format](https://en.wikipedia.org/wiki/Tz_database) for adjusting `fromLocalDate` and `toLocalDate`.
637
- * For example, `America/New_York` or `UTC`.
638
- * Default: `timeZone` specified in the business [site properties](https://dev.wix.com/docs/api-reference/business-management/site-properties/properties/get-site-properties).
639
- * @minLength 1
640
- * @maxLength 150
641
- */
642
- timeZone?: string | null;
643
- /**
644
- * Paging metadata for the next page of results.
645
- * Contains a cursor if there are more than 1000 results.
646
- */
647
- cursorPagingMetadata?: CursorPagingMetadata;
648
- }
649
- interface GetMultiServiceAvailabilityTimeSlotRequest {
650
- /**
651
- * Services for which the multi-service time slots are returned.
652
- * You can specify resource filters for each service.
653
- * @minSize 2
654
- * @maxSize 40
655
- */
656
- services?: Service[];
657
- /**
658
- * Local start date of the time slot in `YYYY-MM-DDThh:mm:ss` [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).
659
- * For example, `2026-01-30T13:30:00`.
660
- * @format LOCAL_DATE_TIME
661
- */
662
- localStartDate?: string;
663
- /**
664
- * Local end date of the time slot in `YYYY-MM-DDThh:mm:ss` [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).
665
- * For example, `2026-01-30T13:30:00`.
666
- * @format LOCAL_DATE_TIME
667
- */
668
- localEndDate?: string;
669
- /**
670
- * Time zone in [IANA tz database format](https://en.wikipedia.org/wiki/Tz_database) for adjusting `fromLocalDate` and `toLocalDate` values.
671
- * For example, `America/New_York` or `UTC`.
672
- *
673
- * Default: `timeZone` specified in the business [site properties](https://dev.wix.com/docs/api-reference/business-management/site-properties/properties/get-site-properties).
674
- * @minLength 1
675
- * @maxLength 150
676
- */
677
- timeZone?: string | null;
678
- /**
679
- * 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.
680
- *
681
- * Required unless you specify `cursorPaging.cursor`.
682
- */
683
- location?: Location;
684
- }
685
- interface GetMultiServiceAvailabilityTimeSlotResponse {
686
- /** Retrieved time slot. */
687
- timeSlot?: TimeSlot;
688
- /**
689
- * Time zone in [IANA tz database format](https://en.wikipedia.org/wiki/Tz_database) for adjusting `fromLocalDate` and `toLocalDate`.
690
- * For example, `America/New_York` or `UTC`.
691
- * Default: `timeZone` specified in the business [site properties](https://dev.wix.com/docs/api-reference/business-management/site-properties/properties/get-site-properties).
692
- * @minLength 1
693
- * @maxLength 150
694
- */
695
- timeZone?: string | null;
696
- }
697
447
  interface ListAvailabilityTimeSlotsRequest {
698
448
  /**
699
449
  * Service ID for which to retrieve time slots. You must specify the ID of an appointment-based service.
@@ -836,6 +586,20 @@ declare enum RequestedGender {
836
586
  }
837
587
  /** @enumType */
838
588
  type RequestedGenderWithLiterals = RequestedGender | 'ANY_MALE' | 'ANY_FEMALE';
589
+ interface ResourceType {
590
+ /**
591
+ * [Resource type ID](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resource-types-v2/introduction).
592
+ * @format GUID
593
+ */
594
+ resourceTypeId?: string | null;
595
+ /**
596
+ * Resource IDs.
597
+ * Available only if there is at least 1 resource available for the slot.
598
+ * @format GUID
599
+ * @maxSize 135
600
+ */
601
+ resourceIds?: string[] | null;
602
+ }
839
603
  interface ListAvailabilityTimeSlotsResponse {
840
604
  /**
841
605
  * Retrieved time slots.
@@ -957,6 +721,29 @@ interface GetAvailabilityTimeSlotRequest {
957
721
  */
958
722
  resourceTypes?: ResourceType[];
959
723
  }
724
+ /** Gender narrowing for an "any staff member" selection. */
725
+ interface V2RequestedGenderValue {
726
+ /** Gender the customer narrowed "any staff member" to. */
727
+ gender?: RequestedGenderValueRequestedGenderWithLiterals;
728
+ }
729
+ /**
730
+ * Selectable genders. Staff members of any other gender are reachable
731
+ * through plain "any staff member" or by name.
732
+ */
733
+ declare enum RequestedGenderValueRequestedGender {
734
+ /**
735
+ * Any male staff member.
736
+ * @documentationMaturity preview
737
+ */
738
+ ANY_MALE = "ANY_MALE",
739
+ /**
740
+ * Any female staff member.
741
+ * @documentationMaturity preview
742
+ */
743
+ ANY_FEMALE = "ANY_FEMALE"
744
+ }
745
+ /** @enumType */
746
+ type RequestedGenderValueRequestedGenderWithLiterals = RequestedGenderValueRequestedGender | 'ANY_MALE' | 'ANY_FEMALE';
960
747
  interface GetAvailabilityTimeSlotRequestCustomerChoices {
961
748
  /**
962
749
  * Selected add-on IDs.
@@ -1323,6 +1110,219 @@ interface BulkActionMetadata {
1323
1110
  /** Number of failures without details because detailed failure threshold was exceeded. */
1324
1111
  undetailedFailures?: number;
1325
1112
  }
1113
+ interface ListMultiServiceAvailabilityTimeSlotsRequest {
1114
+ /**
1115
+ * Services for which the multi-service time slots are returned.
1116
+ * Each service can include its own resource filters.
1117
+ *
1118
+ * Required unless you specify `cursorPaging.cursor`.
1119
+ *
1120
+ * Min: 2 services
1121
+ * Max: 40 services
1122
+ * @maxSize 40
1123
+ */
1124
+ services?: Service[];
1125
+ /**
1126
+ * Lower boundary for `localStartDate` in `YYYY-MM-DDThh:mm:ss` [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).
1127
+ * For example, `2026-01-30T13:30:00`.
1128
+ * Each returned time slot has a `localStartDate` between `fromLocalDate` and `toLocalDate`.
1129
+ *
1130
+ * Required unless you specify `cursorPaging.cursor`.
1131
+ * @format LOCAL_DATE_TIME
1132
+ */
1133
+ fromLocalDate?: string | null;
1134
+ /**
1135
+ * Upper boundary for `localToDate` in `YYYY-MM-DDThh:mm:ss` [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).
1136
+ * For example, `2026-01-30T13:30:00`.
1137
+ * Each returned time slot has a `localEndDate` between `fromLocalDate` and `toLocalDate`.
1138
+ *
1139
+ * Required unless you specify `cursorPaging.cursor`.
1140
+ * @format LOCAL_DATE_TIME
1141
+ */
1142
+ toLocalDate?: string | null;
1143
+ /**
1144
+ * 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`.
1145
+ *
1146
+ * Required unless you specify `cursorPaging.cursor`.
1147
+ *
1148
+ * Default: `timeZone` specified in the business [site properties](https://dev.wix.com/docs/api-reference/business-management/site-properties/properties/get-site-properties).
1149
+ * @minLength 1
1150
+ * @maxLength 150
1151
+ */
1152
+ timeZone?: string | null;
1153
+ /**
1154
+ * 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.
1155
+ *
1156
+ * Required unless you specify `cursorPaging.cursor`.
1157
+ */
1158
+ location?: Location;
1159
+ /**
1160
+ * Whether the time slot is bookable according to all services' booking policies.
1161
+ * If not specified, returns both bookable and non-bookable time slots.
1162
+ */
1163
+ bookable?: boolean | null;
1164
+ /**
1165
+ * Indicators for service's booking policy violations.
1166
+ * 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.
1167
+ */
1168
+ bookingPolicyViolations?: BookingPolicyViolations;
1169
+ /**
1170
+ * Maximum number of slots to return for each day in the specified time range.
1171
+ * If `bookable` filter isn't specified, bookable slots are returned first.
1172
+ */
1173
+ timeSlotsPerDay?: number | null;
1174
+ /**
1175
+ * Cursor-based paging configuration.
1176
+ * Enables fetching results in smaller chunks by setting a limit on the number of results.
1177
+ * For consistent pagination behavior, use the same `limit` value throughout a pagination sequence.
1178
+ * When specifying a new `limit` in follow-up requests, the API respects the new value.
1179
+ */
1180
+ cursorPaging?: CursorPaging;
1181
+ }
1182
+ interface Service {
1183
+ /**
1184
+ * Service ID.
1185
+ * @format GUID
1186
+ */
1187
+ serviceId?: string;
1188
+ /**
1189
+ * Resource [type IDs](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resource-types-v2/introduction) to include in returned time slots.
1190
+ * This is in addition to the specifically requested resources.
1191
+ *
1192
+ * <blockquote>
1193
+ * Currently supported only for Staff Member resource type.
1194
+ * Staff members belong to resource type ID `1cd44cf8-756f-41c3-bd90-3e2ffcaf1155`.
1195
+ * </blockquote>
1196
+ * @format GUID
1197
+ * @maxSize 100
1198
+ */
1199
+ includeResourceTypeIds?: string[];
1200
+ /**
1201
+ * Selected customer choices.
1202
+ * If specified, the selected choices are used to calculate service configuration.
1203
+ * If not specified, the service default configuration is used.
1204
+ * Enforcing this field is the responsibility of the service plugin implementer, and not the Time Slots V2 API.
1205
+ *
1206
+ * 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.
1207
+ */
1208
+ customerChoices?: V2CustomerChoices;
1209
+ /**
1210
+ * Resource types to filter time slots.
1211
+ * Only returns time slots that have these specific resource types available.
1212
+ * This filters the time slots themselves, unlike `includeResourceTypeIds` which only controls response details.
1213
+ * @maxSize 8
1214
+ */
1215
+ resourceTypes?: ResourceType[];
1216
+ }
1217
+ /**
1218
+ * Selected customer choices.
1219
+ *
1220
+ * These choices are selected by the customer during the book flow and used to calculate the service's availability configuration.
1221
+ */
1222
+ interface V2CustomerChoices {
1223
+ /**
1224
+ * 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.
1225
+ * 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.
1226
+ *
1227
+ * Min: `1` minute
1228
+ * Max: `57600` minutes (40 days)
1229
+ * Default: `15` minutes
1230
+ * @min 1
1231
+ * @max 57600
1232
+ */
1233
+ durationInMinutes?: number | null;
1234
+ /**
1235
+ * Selected [add-on](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/add-ons/introduction) IDs.
1236
+ * 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.
1237
+ *
1238
+ * Max: 21 (3 add-on groups × 7 add-ons per group).
1239
+ * @format GUID
1240
+ * @maxSize 21
1241
+ */
1242
+ addOnIds?: string[] | null;
1243
+ /**
1244
+ * Selected duration choice ID.
1245
+ * @format GUID
1246
+ */
1247
+ durationChoiceId?: string | null;
1248
+ /**
1249
+ * Gender the customer narrowed an "any staff member" selection to.
1250
+ * Only time slots served by staff members of that gender are returned.
1251
+ * Omit to keep "any staff member" unnarrowed.
1252
+ *
1253
+ * 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.
1254
+ */
1255
+ requestedGender?: V2RequestedGenderValue;
1256
+ }
1257
+ interface ListMultiServiceAvailabilityTimeSlotsResponse {
1258
+ /**
1259
+ * Retrieved time slots.
1260
+ * Sorted by `localStartDate` in ascending order. When multiple slots have the same start time, no specific secondary sorting is guaranteed.
1261
+ * @maxSize 1000
1262
+ */
1263
+ timeSlots?: TimeSlot[];
1264
+ /**
1265
+ * Time zone in [IANA tz database format](https://en.wikipedia.org/wiki/Tz_database) for adjusting `fromLocalDate` and `toLocalDate`.
1266
+ * For example, `America/New_York` or `UTC`.
1267
+ * Default: `timeZone` specified in the business [site properties](https://dev.wix.com/docs/api-reference/business-management/site-properties/properties/get-site-properties).
1268
+ * @minLength 1
1269
+ * @maxLength 150
1270
+ */
1271
+ timeZone?: string | null;
1272
+ /**
1273
+ * Paging metadata for the next page of results.
1274
+ * Contains a cursor if there are more than 1000 results.
1275
+ */
1276
+ cursorPagingMetadata?: CursorPagingMetadata;
1277
+ }
1278
+ interface GetMultiServiceAvailabilityTimeSlotRequest {
1279
+ /**
1280
+ * Services for which the multi-service time slots are returned.
1281
+ * You can specify resource filters for each service.
1282
+ * @minSize 2
1283
+ * @maxSize 40
1284
+ */
1285
+ services?: Service[];
1286
+ /**
1287
+ * Local start date of the time slot in `YYYY-MM-DDThh:mm:ss` [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).
1288
+ * For example, `2026-01-30T13:30:00`.
1289
+ * @format LOCAL_DATE_TIME
1290
+ */
1291
+ localStartDate?: string;
1292
+ /**
1293
+ * Local end date of the time slot in `YYYY-MM-DDThh:mm:ss` [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).
1294
+ * For example, `2026-01-30T13:30:00`.
1295
+ * @format LOCAL_DATE_TIME
1296
+ */
1297
+ localEndDate?: string;
1298
+ /**
1299
+ * Time zone in [IANA tz database format](https://en.wikipedia.org/wiki/Tz_database) for adjusting `fromLocalDate` and `toLocalDate` values.
1300
+ * For example, `America/New_York` or `UTC`.
1301
+ *
1302
+ * Default: `timeZone` specified in the business [site properties](https://dev.wix.com/docs/api-reference/business-management/site-properties/properties/get-site-properties).
1303
+ * @minLength 1
1304
+ * @maxLength 150
1305
+ */
1306
+ timeZone?: string | null;
1307
+ /**
1308
+ * 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.
1309
+ *
1310
+ * Required unless you specify `cursorPaging.cursor`.
1311
+ */
1312
+ location?: Location;
1313
+ }
1314
+ interface GetMultiServiceAvailabilityTimeSlotResponse {
1315
+ /** Retrieved time slot. */
1316
+ timeSlot?: TimeSlot;
1317
+ /**
1318
+ * Time zone in [IANA tz database format](https://en.wikipedia.org/wiki/Tz_database) for adjusting `fromLocalDate` and `toLocalDate`.
1319
+ * For example, `America/New_York` or `UTC`.
1320
+ * Default: `timeZone` specified in the business [site properties](https://dev.wix.com/docs/api-reference/business-management/site-properties/properties/get-site-properties).
1321
+ * @minLength 1
1322
+ * @maxLength 150
1323
+ */
1324
+ timeZone?: string | null;
1325
+ }
1326
1326
  /** @docsIgnore */
1327
1327
  type ListAvailabilityTimeSlotsApplicationErrors = {
1328
1328
  code?: 'NO_IMPLEMENTERS_FOUND';
package/build/cjs/meta.js CHANGED
@@ -271,16 +271,16 @@ var LocationType = /* @__PURE__ */ ((LocationType2) => {
271
271
  LocationType2["CUSTOMER"] = "CUSTOMER";
272
272
  return LocationType2;
273
273
  })(LocationType || {});
274
- var RequestedGenderValueRequestedGender = /* @__PURE__ */ ((RequestedGenderValueRequestedGender2) => {
275
- RequestedGenderValueRequestedGender2["ANY_MALE"] = "ANY_MALE";
276
- RequestedGenderValueRequestedGender2["ANY_FEMALE"] = "ANY_FEMALE";
277
- return RequestedGenderValueRequestedGender2;
278
- })(RequestedGenderValueRequestedGender || {});
279
274
  var RequestedGender = /* @__PURE__ */ ((RequestedGender2) => {
280
275
  RequestedGender2["ANY_MALE"] = "ANY_MALE";
281
276
  RequestedGender2["ANY_FEMALE"] = "ANY_FEMALE";
282
277
  return RequestedGender2;
283
278
  })(RequestedGender || {});
279
+ var RequestedGenderValueRequestedGender = /* @__PURE__ */ ((RequestedGenderValueRequestedGender2) => {
280
+ RequestedGenderValueRequestedGender2["ANY_MALE"] = "ANY_MALE";
281
+ RequestedGenderValueRequestedGender2["ANY_FEMALE"] = "ANY_FEMALE";
282
+ return RequestedGenderValueRequestedGender2;
283
+ })(RequestedGenderValueRequestedGender || {});
284
284
  var ReasonCode = /* @__PURE__ */ ((ReasonCode2) => {
285
285
  ReasonCode2["NO_ASSIGNED_STAFF_OR_RESOURCES"] = "NO_ASSIGNED_STAFF_OR_RESOURCES";
286
286
  ReasonCode2["SERVICE_AVAILABILITY_CONFIGURATION_MISSING"] = "SERVICE_AVAILABILITY_CONFIGURATION_MISSING";