@wix/auto_sdk_bookings_availability-time-slots 1.0.263 → 1.0.265

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.
@@ -838,6 +838,8 @@ interface GetAvailabilityTimeSlotRequestCustomerChoices {
838
838
  * Gender the customer narrowed an "any staff member" selection to.
839
839
  * Only time slots served by staff members of that gender are returned.
840
840
  * Omit to keep "any staff member" unnarrowed.
841
+ *
842
+ * 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.
841
843
  * @internal
842
844
  */
843
845
  requestedGender?: V2RequestedGenderValue;
@@ -1493,6 +1495,10 @@ type GetAvailabilityTimeSlotApplicationErrors = {
1493
1495
  code?: 'UNAUTHORIZED_OPERATION';
1494
1496
  description?: string;
1495
1497
  data?: Record<string, any>;
1498
+ } | {
1499
+ code?: 'REQUESTED_GENDER_NOT_ALLOWED';
1500
+ description?: string;
1501
+ data?: Record<string, any>;
1496
1502
  };
1497
1503
  /**
1498
1504
  * Retrieves a list of appointment time slots that match the provided filters.