@wix/auto_sdk_bookings_availability-time-slots 1.0.272 → 1.0.273

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.
@@ -578,6 +578,14 @@ interface V2CustomerChoices {
578
578
  * @format GUID
579
579
  */
580
580
  durationChoiceId?: string | null;
581
+ /**
582
+ * Gender the customer narrowed an "any staff member" selection to.
583
+ * Only time slots served by staff members of that gender are returned.
584
+ * Omit to keep "any staff member" unnarrowed.
585
+ *
586
+ * 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.
587
+ */
588
+ requestedGender?: V2RequestedGenderValue;
581
589
  }
582
590
  /** Gender narrowing for an "any staff member" selection. */
583
591
  interface V2RequestedGenderValue {
@@ -589,9 +597,19 @@ interface V2RequestedGenderValue {
589
597
  * through plain "any staff member" or by name.
590
598
  */
591
599
  declare enum RequestedGenderValueRequestedGender {
600
+ /**
601
+ * Any male staff member.
602
+ * @documentationMaturity preview
603
+ */
604
+ ANY_MALE = "ANY_MALE",
605
+ /**
606
+ * Any female staff member.
607
+ * @documentationMaturity preview
608
+ */
609
+ ANY_FEMALE = "ANY_FEMALE"
592
610
  }
593
611
  /** @enumType */
594
- type RequestedGenderValueRequestedGenderWithLiterals = RequestedGenderValueRequestedGender;
612
+ type RequestedGenderValueRequestedGenderWithLiterals = RequestedGenderValueRequestedGender | 'ANY_MALE' | 'ANY_FEMALE';
595
613
  interface ResourceType {
596
614
  /**
597
615
  * [Resource type ID](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resource-types-v2/introduction).
@@ -785,6 +803,14 @@ interface CustomerChoices {
785
803
  * @format GUID
786
804
  */
787
805
  durationChoiceId?: string | null;
806
+ /**
807
+ * Gender the customer narrowed an "any staff member" selection to.
808
+ * Only time slots served by staff members of that gender are returned.
809
+ * Omit to keep "any staff member" unnarrowed.
810
+ *
811
+ * 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.
812
+ */
813
+ requestedGender?: RequestedGenderValue;
788
814
  }
789
815
  /** Gender narrowing for an "any staff member" selection. */
790
816
  interface RequestedGenderValue {
@@ -796,9 +822,19 @@ interface RequestedGenderValue {
796
822
  * through plain "any staff member" or by name.
797
823
  */
798
824
  declare enum RequestedGender {
825
+ /**
826
+ * Any male staff member.
827
+ * @documentationMaturity preview
828
+ */
829
+ ANY_MALE = "ANY_MALE",
830
+ /**
831
+ * Any female staff member.
832
+ * @documentationMaturity preview
833
+ */
834
+ ANY_FEMALE = "ANY_FEMALE"
799
835
  }
800
836
  /** @enumType */
801
- type RequestedGenderWithLiterals = RequestedGender;
837
+ type RequestedGenderWithLiterals = RequestedGender | 'ANY_MALE' | 'ANY_FEMALE';
802
838
  interface ListAvailabilityTimeSlotsResponse {
803
839
  /**
804
840
  * Retrieved time slots.
@@ -933,6 +969,14 @@ interface GetAvailabilityTimeSlotRequestCustomerChoices {
933
969
  * @format GUID
934
970
  */
935
971
  durationChoiceId?: string | null;
972
+ /**
973
+ * Gender the customer narrowed an "any staff member" selection to.
974
+ * Only time slots served by staff members of that gender are returned.
975
+ * Omit to keep "any staff member" unnarrowed.
976
+ *
977
+ * 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.
978
+ */
979
+ requestedGender?: V2RequestedGenderValue;
936
980
  }
937
981
  interface GetAvailabilityTimeSlotResponse {
938
982
  /** Retrieved time slot. */