@wix/auto_sdk_bookings_staff-members 1.0.67 → 1.0.69

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.
Files changed (37) hide show
  1. package/build/cjs/{bookings-staff-v1-staff-member-staff-members.universal-q-tWyQ3e.d.ts → bookings-staff-v1-staff-member-staff-members.universal-BXgWwq9J.d.ts} +58 -84
  2. package/build/cjs/index.d.ts +28 -47
  3. package/build/cjs/index.js +54 -1
  4. package/build/cjs/index.js.map +1 -1
  5. package/build/cjs/index.typings.d.ts +5 -5
  6. package/build/cjs/index.typings.js +35 -0
  7. package/build/cjs/index.typings.js.map +1 -1
  8. package/build/cjs/meta.d.ts +29 -52
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/{bookings-staff-v1-staff-member-staff-members.universal-q-tWyQ3e.d.mts → bookings-staff-v1-staff-member-staff-members.universal-BXgWwq9J.d.mts} +58 -84
  11. package/build/es/index.d.mts +28 -47
  12. package/build/es/index.mjs +54 -1
  13. package/build/es/index.mjs.map +1 -1
  14. package/build/es/index.typings.d.mts +5 -5
  15. package/build/es/index.typings.mjs +34 -0
  16. package/build/es/index.typings.mjs.map +1 -1
  17. package/build/es/meta.d.mts +29 -52
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/{bookings-staff-v1-staff-member-staff-members.universal-q-tWyQ3e.d.ts → bookings-staff-v1-staff-member-staff-members.universal-BXgWwq9J.d.ts} +58 -84
  20. package/build/internal/cjs/index.d.ts +28 -47
  21. package/build/internal/cjs/index.js +54 -1
  22. package/build/internal/cjs/index.js.map +1 -1
  23. package/build/internal/cjs/index.typings.d.ts +5 -5
  24. package/build/internal/cjs/index.typings.js +35 -0
  25. package/build/internal/cjs/index.typings.js.map +1 -1
  26. package/build/internal/cjs/meta.d.ts +29 -52
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/{bookings-staff-v1-staff-member-staff-members.universal-q-tWyQ3e.d.mts → bookings-staff-v1-staff-member-staff-members.universal-BXgWwq9J.d.mts} +58 -84
  29. package/build/internal/es/index.d.mts +28 -47
  30. package/build/internal/es/index.mjs +54 -1
  31. package/build/internal/es/index.mjs.map +1 -1
  32. package/build/internal/es/index.typings.d.mts +5 -5
  33. package/build/internal/es/index.typings.mjs +34 -0
  34. package/build/internal/es/index.typings.mjs.map +1 -1
  35. package/build/internal/es/meta.d.mts +29 -52
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +3 -3
@@ -1,6 +1,6 @@
1
1
  import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
2
- import { S as StaffMember, C as CreateStaffMemberOptions, G as GetStaffMemberOptions, a as GetDeletedStaffMemberOptions, b as GetDeletedStaffMemberResponse, L as ListDeletedStaffMembersOptions, c as ListDeletedStaffMembersResponse, U as UpdateStaffMember, d as UpdateStaffMemberOptions, Q as QueryStaffMembersOptions, e as StaffMembersQueryBuilder, f as CountStaffMembersOptions, g as CountStaffMembersResponse, h as ConnectStaffMemberToUserOptions, i as ConnectStaffMemberToUserResponse, j as StaffMemberSearch, k as SearchStaffMembersOptions, l as SearchStaffMembersResponse, D as DisconnectStaffMemberFromUserOptions, m as DisconnectStaffMemberFromUserResponse, A as AssignWorkingHoursScheduleOptions, n as AssignWorkingHoursScheduleResponse, o as AssignCustomScheduleOptions, p as AssignCustomScheduleResponse, B as BulkUpdateStaffMemberTagsOptions, q as BulkUpdateStaffMemberTagsResponse, r as BulkUpdateStaffMemberTagsByFilterOptions, s as BulkUpdateStaffMemberTagsByFilterResponse, t as StaffMemberConnectedToUserEnvelope, u as StaffMemberCreatedEnvelope, v as StaffMemberDeletedEnvelope, w as StaffMemberDisconnectedFromUserEnvelope, x as StaffMemberFullyCreatedEnvelope, y as StaffMemberUpdatedEnvelope } from './bookings-staff-v1-staff-member-staff-members.universal-q-tWyQ3e.mjs';
3
- export { bx as ActionEvent, bH as Address, bK as AddressLocation, bI as AddressStreetOneOf, aU as AggregationData, bb as AggregationResults, bc as AggregationResultsResultOneOf, a$ as AggregationResultsScalarResult, J as AggregationType, cC as AggregationTypeWithLiterals, bi as ApplicationError, X as ApprovalStatus, cK as ApprovalStatusWithLiterals, bf as AssignCustomScheduleRequest, be as AssignWorkingHoursScheduleRequest, ah as AssociatedConferencingAccount, ai as AssociatedConferencingAccountAccountOneOf, ag as AssociatedConferencingAccounts, af as AssociatedConferencingProvider, ae as AssociatedConferencingProviders, aa as AssociatedWixIdentity, z as AssociatedWixIdentityConnectionStatusEnumConnectionStatus, cw as AssociatedWixIdentityConnectionStatusEnumConnectionStatusWithLiterals, bV as Availability, bW as AvailabilityConstraints, ce as AvailabilityPolicy, cd as AvailabilityPolicyUpdated, cr as BaseEventMetadata, bk as BulkActionMetadata, bl as BulkUpdateStaffMemberTagsByFilterRequest, bg as BulkUpdateStaffMemberTagsRequest, bj as BulkUpdateStaffMemberTagsResult, a9 as BusinessLocation, bQ as BusinessSchedule, c0 as CalendarConference, c4 as CalendarDateTime, _ as CalendarType, cN as CalendarTypeWithLiterals, ab as CommonIdentificationData, ac as CommonIdentificationDataIdOneOf, cR as CommonSearchWithEntityContext, b$ as ConferenceProvider, Z as ConferenceType, cM as ConferenceTypeWithLiterals, aP as ConnectStaffMemberToUserRequest, ad as Connection, E as ConnectionStatus, cx as ConnectionStatusWithLiterals, aO as CountStaffMembersRequest, aq as CreateStaffMemberRequest, ar as CreateStaffMemberResponse, aw as CursorPaging, ax as CursorPagingMetadata, aI as CursorQuery, aJ as CursorQueryPagingMethodOneOf, aR as CursorSearch, aS as CursorSearchPagingMethodOneOf, ay as Cursors, aj as CustomConferenceAccount, b7 as DateHistogramResult, b9 as DateHistogramResults, K as Day, W as DayOfWeek, cJ as DayOfWeekWithLiterals, cD as DayWithLiterals, aF as DeleteStaffMemberRequest, aG as DeleteStaffMemberResponse, bd as DisconnectStaffMemberFromUserRequest, br as DomainEvent, bs as DomainEventBodyOneOf, bo as Empty, bt as EntityCreatedEvent, bw as EntityDeletedEvent, bv as EntityUpdatedEvent, cs as EventMetadata, a6 as EventSchedule, ak as ExtendedFields, c6 as ExternalCalendarInfo, bZ as ExternalCalendarOverrides, bE as Frequency, au as GetDeletedStaffMemberRequest, as as GetStaffMemberRequest, at as GetStaffMemberResponse, b8 as GroupByValueResults, cp as IdentificationData, cq as IdentificationDataIdOneOf, I as IdentityType, cv as IdentityTypeWithLiterals, bD as Interval, cf as IntervalSplit, bh as ItemMetadata, bF as LinkedSchedule, av as ListDeletedStaffMembersRequest, c5 as LocalDateTime, bG as Location, a7 as LocationOptions, P as LocationStatus, cH as LocationStatusWithLiterals, O as LocationType, cG as LocationTypeWithLiterals, bN as LocationsAddress, bP as LocationsAddressLocation, bM as LocationsLocation, V as LocationsLocationType, cI as LocationsLocationTypeWithLiterals, bO as LocationsStreetAddress, a2 as MediaItem, a3 as MediaItemMediaOneOf, co as MessageEnvelope, cm as MigrationData, cl as MigrationEvent, M as Mode, cA as ModeWithLiterals, ci as MultipleSessionsCreated, aX as NestedAggregationResults, aY as NestedAggregationResultsResultOneOf, b4 as NestedResultValue, b5 as NestedResultValueResultOneOf, ba as NestedResults, b0 as NestedValueAggregationResult, bY as Participant, c8 as ParticipantNotification, bp as PolicyRemovedFromContributor, bq as PolicyUpdatedForContributor, bU as Price, aM as QueryStaffMembersMultiLanguageRequest, aN as QueryStaffMembersMultiLanguageResponse, aH as QueryStaffMembersRequest, aL as QueryStaffMembersResponse, aW as RangeAggregationResult, b2 as RangeResult, a_ as RangeResults, bT as Rate, bC as RecurringInterval, N as RecurringIntervalType, cF as RecurringIntervalTypeWithLiterals, cg as RecurringSessionSplit, c2 as RecurringSessionsUpdated, az as RemoveStaffMemberFromTrashBinRequest, aA as RemoveStaffMemberFromTrashBinResponse, R as RequestedFields, cy as RequestedFieldsWithLiterals, a4 as Resource, bu as RestoreInfo, aB as RestoreStaffMemberFromTrashBinRequest, aC as RestoreStaffMemberFromTrashBinResponse, bm as RestoreStaffRequest, bn as RestoreStaffResponse, b6 as Results, b3 as ScalarResult, H as ScalarType, cB as ScalarTypeWithLiterals, bB as Schedule, c9 as ScheduleCancelled, bA as ScheduleCreated, by as ScheduleNotification, bz as ScheduleNotificationEventOneOf, Y as ScheduleStatus, cL as ScheduleStatusWithLiterals, ch as ScheduleUnassignedFromUser, c1 as ScheduleUpdated, cj as ScheduleWithSessions, aT as SearchDetails, aQ as SearchStaffMembersRequest, c3 as Session, cc as SessionCancelled, ca as SessionCreated, a0 as SessionType, cP as SessionTypeWithLiterals, cb as SessionUpdated, c7 as SessionVersion, ck as SitePropertiesOnScheduleCreation, F as SortOrder, cz as SortOrderWithLiterals, aK as Sorting, bS as SpecialHourPeriod, a8 as SpecificLocation, bX as SplitInterval, cn as StaffData, ao as StaffMemberConnectedToUser, an as StaffMemberDisconnectedFromUser, ap as StaffMemberFullyCreated, cu as StaffMemberSearchSpec, ct as StaffMembersQueryResult, $ as Status, cO as StatusWithLiterals, bJ as StreetAddress, bL as Subdivision, am as TagList, al as Tags, bR as TimePeriod, T as Transparency, cE as TransparencyWithLiterals, aD as UpdateStaffMemberRequest, aE as UpdateStaffMemberResponse, aV as ValueAggregationResult, b1 as ValueResult, aZ as ValueResults, b_ as Version, a1 as WebhookIdentityType, cQ as WebhookIdentityTypeWithLiterals, a5 as WorkingHoursSchedule } from './bookings-staff-v1-staff-member-staff-members.universal-q-tWyQ3e.mjs';
2
+ import { S as StaffMember, C as CreateStaffMemberOptions, G as GetStaffMemberOptions, a as GetDeletedStaffMemberOptions, b as GetDeletedStaffMemberResponse, L as ListDeletedStaffMembersOptions, c as ListDeletedStaffMembersResponse, U as UpdateStaffMember, d as UpdateStaffMemberOptions, e as CountStaffMembersOptions, f as CountStaffMembersResponse, g as ConnectStaffMemberToUserOptions, h as ConnectStaffMemberToUserResponse, i as StaffMemberSearch, j as SearchStaffMembersOptions, k as SearchStaffMembersResponse, D as DisconnectStaffMemberFromUserOptions, l as DisconnectStaffMemberFromUserResponse, A as AssignWorkingHoursScheduleOptions, m as AssignWorkingHoursScheduleResponse, n as AssignCustomScheduleOptions, o as AssignCustomScheduleResponse, B as BulkUpdateStaffMemberTagsOptions, p as BulkUpdateStaffMemberTagsResponse, q as BulkUpdateStaffMemberTagsByFilterOptions, r as BulkUpdateStaffMemberTagsByFilterResponse, s as StaffMemberConnectedToUserEnvelope, t as StaffMemberCreatedEnvelope, u as StaffMemberDeletedEnvelope, v as StaffMemberDisconnectedFromUserEnvelope, w as StaffMemberFullyCreatedEnvelope, x as StaffMemberUpdatedEnvelope, y as CursorQuery, z as typedQueryStaffMembers, Q as QueryStaffMembersOptions, E as StaffMembersQueryBuilder } from './bookings-staff-v1-staff-member-staff-members.universal-BXgWwq9J.mjs';
3
+ export { by as ActionEvent, bI as Address, bL as AddressLocation, bJ as AddressStreetOneOf, aV as AggregationData, bc as AggregationResults, bd as AggregationResultsResultOneOf, b0 as AggregationResultsScalarResult, N as AggregationType, cD as AggregationTypeWithLiterals, bj as ApplicationError, Z as ApprovalStatus, cL as ApprovalStatusWithLiterals, bg as AssignCustomScheduleRequest, bf as AssignWorkingHoursScheduleRequest, aj as AssociatedConferencingAccount, ak as AssociatedConferencingAccountAccountOneOf, ai as AssociatedConferencingAccounts, ah as AssociatedConferencingProvider, ag as AssociatedConferencingProviders, ac as AssociatedWixIdentity, F as AssociatedWixIdentityConnectionStatusEnumConnectionStatus, cx as AssociatedWixIdentityConnectionStatusEnumConnectionStatusWithLiterals, bW as Availability, bX as AvailabilityConstraints, cf as AvailabilityPolicy, ce as AvailabilityPolicyUpdated, cs as BaseEventMetadata, bl as BulkActionMetadata, bm as BulkUpdateStaffMemberTagsByFilterRequest, bh as BulkUpdateStaffMemberTagsRequest, bk as BulkUpdateStaffMemberTagsResult, ab as BusinessLocation, bR as BusinessSchedule, c1 as CalendarConference, c5 as CalendarDateTime, a0 as CalendarType, cO as CalendarTypeWithLiterals, ad as CommonIdentificationData, ae as CommonIdentificationDataIdOneOf, cS as CommonSearchWithEntityContext, c0 as ConferenceProvider, $ as ConferenceType, cN as ConferenceTypeWithLiterals, aQ as ConnectStaffMemberToUserRequest, af as Connection, H as ConnectionStatus, cy as ConnectionStatusWithLiterals, aP as CountStaffMembersRequest, as as CreateStaffMemberRequest, at as CreateStaffMemberResponse, ay as CursorPaging, az as CursorPagingMetadata, aK as CursorQueryPagingMethodOneOf, aS as CursorSearch, aT as CursorSearchPagingMethodOneOf, aA as Cursors, al as CustomConferenceAccount, b8 as DateHistogramResult, ba as DateHistogramResults, O as Day, Y as DayOfWeek, cK as DayOfWeekWithLiterals, cE as DayWithLiterals, aH as DeleteStaffMemberRequest, aI as DeleteStaffMemberResponse, be as DisconnectStaffMemberFromUserRequest, bs as DomainEvent, bt as DomainEventBodyOneOf, bp as Empty, bu as EntityCreatedEvent, bx as EntityDeletedEvent, bw as EntityUpdatedEvent, ct as EventMetadata, a8 as EventSchedule, am as ExtendedFields, c7 as ExternalCalendarInfo, b_ as ExternalCalendarOverrides, bF as Frequency, aw as GetDeletedStaffMemberRequest, au as GetStaffMemberRequest, av as GetStaffMemberResponse, b9 as GroupByValueResults, cq as IdentificationData, cr as IdentificationDataIdOneOf, I as IdentityType, cw as IdentityTypeWithLiterals, bE as Interval, cg as IntervalSplit, bi as ItemMetadata, bG as LinkedSchedule, ax as ListDeletedStaffMembersRequest, c6 as LocalDateTime, bH as Location, a9 as LocationOptions, W as LocationStatus, cI as LocationStatusWithLiterals, V as LocationType, cH as LocationTypeWithLiterals, bO as LocationsAddress, bQ as LocationsAddressLocation, bN as LocationsLocation, X as LocationsLocationType, cJ as LocationsLocationTypeWithLiterals, bP as LocationsStreetAddress, a4 as MediaItem, a5 as MediaItemMediaOneOf, cp as MessageEnvelope, cn as MigrationData, cm as MigrationEvent, M as Mode, cB as ModeWithLiterals, cj as MultipleSessionsCreated, aY as NestedAggregationResults, aZ as NestedAggregationResultsResultOneOf, b5 as NestedResultValue, b6 as NestedResultValueResultOneOf, bb as NestedResults, b1 as NestedValueAggregationResult, bZ as Participant, c9 as ParticipantNotification, bq as PolicyRemovedFromContributor, br as PolicyUpdatedForContributor, bV as Price, aN as QueryStaffMembersMultiLanguageRequest, aO as QueryStaffMembersMultiLanguageResponse, aJ as QueryStaffMembersRequest, aM as QueryStaffMembersResponse, aX as RangeAggregationResult, b3 as RangeResult, a$ as RangeResults, bU as Rate, bD as RecurringInterval, P as RecurringIntervalType, cG as RecurringIntervalTypeWithLiterals, ch as RecurringSessionSplit, c3 as RecurringSessionsUpdated, aB as RemoveStaffMemberFromTrashBinRequest, aC as RemoveStaffMemberFromTrashBinResponse, R as RequestedFields, cz as RequestedFieldsWithLiterals, a6 as Resource, bv as RestoreInfo, aD as RestoreStaffMemberFromTrashBinRequest, aE as RestoreStaffMemberFromTrashBinResponse, bn as RestoreStaffRequest, bo as RestoreStaffResponse, b7 as Results, b4 as ScalarResult, K as ScalarType, cC as ScalarTypeWithLiterals, bC as Schedule, ca as ScheduleCancelled, bB as ScheduleCreated, bz as ScheduleNotification, bA as ScheduleNotificationEventOneOf, _ as ScheduleStatus, cM as ScheduleStatusWithLiterals, ci as ScheduleUnassignedFromUser, c2 as ScheduleUpdated, ck as ScheduleWithSessions, aU as SearchDetails, aR as SearchStaffMembersRequest, c4 as Session, cd as SessionCancelled, cb as SessionCreated, a2 as SessionType, cQ as SessionTypeWithLiterals, cc as SessionUpdated, c8 as SessionVersion, cl as SitePropertiesOnScheduleCreation, J as SortOrder, cA as SortOrderWithLiterals, aL as Sorting, bT as SpecialHourPeriod, aa as SpecificLocation, bY as SplitInterval, co as StaffData, aq as StaffMemberConnectedToUser, ap as StaffMemberDisconnectedFromUser, ar as StaffMemberFullyCreated, cv as StaffMemberSearchSpec, cu as StaffMembersQueryResult, a1 as Status, cP as StatusWithLiterals, bK as StreetAddress, bM as Subdivision, ao as TagList, an as Tags, bS as TimePeriod, T as Transparency, cF as TransparencyWithLiterals, aF as UpdateStaffMemberRequest, aG as UpdateStaffMemberResponse, aW as ValueAggregationResult, b2 as ValueResult, a_ as ValueResults, b$ as Version, a3 as WebhookIdentityType, cR as WebhookIdentityTypeWithLiterals, a7 as WorkingHoursSchedule } from './bookings-staff-v1-staff-member-staff-members.universal-BXgWwq9J.mjs';
4
4
 
5
5
  declare function createStaffMember$1(httpClient: HttpClient): CreateStaffMemberSignature;
6
6
  interface CreateStaffMemberSignature {
@@ -9,7 +9,7 @@ interface CreateStaffMemberSignature {
9
9
  *
10
10
  *
11
11
  * By default, the staff member works during the business working hours.
12
- * You could follow this sample flow ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/staff-members/sample-flows#backend-modules_bookings_staff-members_assign-a-staff-working-hour-schedule) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/sample-flows#assign-a-staff-working-hour-schedule)) to set custom working hours.
12
+ * You could follow this [sample flow](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/sample-flows#assign-a-staff-working-hour-schedule) to set custom working hours.
13
13
  * @param - Staff member to create.
14
14
  * @param - Options for creating the staff member.
15
15
  * @returns Created staff member.
@@ -78,33 +78,11 @@ interface DeleteStaffMemberSignature {
78
78
  * Deletes a staff member.
79
79
  *
80
80
  *
81
- * Also deletes the resource ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/resources/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resources-v2/introduction)) associated with the staff member.
81
+ * Also deletes the [resource](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resources-v2/introduction) associated with the staff member.
82
82
  * @param - ID of the staff member to delete.
83
83
  */
84
84
  (staffMemberId: string): Promise<void>;
85
85
  }
86
- declare function queryStaffMembers$1(httpClient: HttpClient): QueryStaffMembersSignature;
87
- interface QueryStaffMembersSignature {
88
- /**
89
- * Creates a query to retrieve a list of staff members.
90
- *
91
- * The `queryStaffMembers()` function builds a query to retrieve a list of staff members and returns a `StaffMembersQueryBuilder` object.
92
- *
93
- * The returned object contains the query definition, which is typically used to run the query using the [find()](https://dev.wix.com/docs/sdk/backend-modules/bookings/staff-members/staff-members-query-builder/find) function.
94
- *
95
- * You can refine the query by chaining `StaffMembersQueryBuilder` functions onto the query. `StaffMembersQueryBuilder` functions enable you to sort, filter, and control the results that `queryStaffMembers()` returns.
96
- *
97
- * `queryStaffMembers()` runs with the following `StaffMembersQueryBuilder` default that you can override:
98
- *
99
- * + `limit` is `50`.
100
- * + Sorted by `id` in ascending order.
101
- *
102
- * The functions that are chained to `staffMembersTypes()` are applied in the order they are called.
103
- *
104
- * The following `StaffMembersQueryBuilder` functions are supported for the `queryStaffMembers()` function. For a full description of the resource object, see the object returned for the [items](https://dev.wix.com/docs/sdk/backend-modules/bookings/staff-members/staff-members-query-result/items) property in `StaffMembersQueryResult`.
105
- */
106
- (options?: QueryStaffMembersOptions): StaffMembersQueryBuilder;
107
- }
108
86
  declare function countStaffMembers$1(httpClient: HttpClient): CountStaffMembersSignature;
109
87
  interface CountStaffMembersSignature {
110
88
  /**
@@ -113,7 +91,7 @@ interface CountStaffMembersSignature {
113
91
  *
114
92
  * ### Filter
115
93
  *
116
- * Refer to the supported filters article ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/staff-members/supported-filters) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/filtering-and-sorting)) for a complete list of supported filters and sorting options.
94
+ * Refer to the [supported filters article](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/filtering-and-sorting) for a complete list of supported filters and sorting options.
117
95
  *
118
96
  * ### See also
119
97
  *
@@ -131,9 +109,9 @@ interface ConnectStaffMemberToUserSignature {
131
109
  * However, you can specify an alternative email address. If no existing Wix user is associated with that email, Wix sends them an invitation to become a Wix user.
132
110
  * If an existing user is found but not linked to the site, Wix Bookings sends an invitation to join the site.
133
111
  *
134
- * To check the connection status, call Get Staff Member ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/staff-members/get-staff-member) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/get-staff-member)), and specify `ASSOCIATED_IDENTITY_STATUS` in the `fields` parameter.
112
+ * To check the connection status, call [Get Staff Member](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/get-staff-member), and specify `ASSOCIATED_IDENTITY_STATUS` in the `fields` parameter.
135
113
  *
136
- * You must call Disconnect Staff Member From User ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/staff-members/disconnect-staff-member-from-user) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/disconnect-staff-member-from-user)) before connecting a different Wix user to the staff member.
114
+ * You must call [Disconnect Staff Member From User](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/disconnect-staff-member-from-user) before connecting a different Wix user to the staff member.
137
115
  * @param - ID of the staff member to connect to the Wix user.
138
116
  * @param - Options for connecting the staff member to a Wix user.
139
117
  */
@@ -153,14 +131,14 @@ interface SearchStaffMembersSignature {
153
131
  *
154
132
  * ### Filter
155
133
  *
156
- * Refer to the supported filters article ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/staff-members/supported-filters) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/filtering-and-sorting)) for a complete list of supported filters and sorting options.
134
+ * Refer to the [supported filters article](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/filtering-and-sorting) for a complete list of supported filters and sorting options.
157
135
  *
158
136
  * ### See also
159
137
  *
160
- * To learn about working with Search methods, see API Query Language ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language) | [REST](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language)) and Sorting and Paging ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language#the-sort-array) | [REST](https://dev.wix.com/docs/rest/articles/getting-started/sorting-and-paging)).
138
+ * To learn about working with Search methods, see [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language) and [Sorting and Paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-sorting-and-paging).
161
139
  * @param - Search criteria including filter, sort, and paging options.
162
140
  *
163
- * See the supported filters article ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/staff-members/supported-filters) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/filtering-and-sorting)) for complete filter and sorting options.
141
+ * See the [supported filters article](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/filtering-and-sorting) for complete filter and sorting options.
164
142
  */
165
143
  (search: StaffMemberSearch, options?: SearchStaffMembersOptions): Promise<NonNullablePaths<SearchStaffMembersResponse, `staffMembers` | `staffMembers.${number}.resource.usesDefaultWorkingHours` | `staffMembers.${number}.associatedWixIdentity.identificationData.anonymousVisitorId` | `staffMembers.${number}.associatedWixIdentity.identificationData.memberId` | `staffMembers.${number}.associatedWixIdentity.identificationData.wixUserId` | `staffMembers.${number}.associatedWixIdentity.identificationData.appId` | `staffMembers.${number}.associatedWixIdentity.connectionStatus` | `staffMembers.${number}.associatedWixIdentity.connection.status` | `aggregationData.results` | `aggregationData.results.${number}.scalar.type` | `aggregationData.results.${number}.scalar.value` | `aggregationData.results.${number}.name` | `aggregationData.results.${number}.type` | `aggregationData.results.${number}.fieldPath`, 6>>;
166
144
  }
@@ -181,12 +159,12 @@ interface DisconnectStaffMemberFromUserSignature {
181
159
  declare function assignWorkingHoursSchedule$1(httpClient: HttpClient): AssignWorkingHoursScheduleSignature;
182
160
  interface AssignWorkingHoursScheduleSignature {
183
161
  /**
184
- * Updates a staff member's working hours based on the specified schedule ID ([SDK](https://dev.wix.com/docs/sdk/backend-modules/calendar/schedules/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction)).
162
+ * Updates a staff member's working hours based on the specified [schedule ID](https://dev.wix.com/docs/api-reference/business-management/calendar/schedules-v3/introduction).
185
163
  *
186
164
  *
187
165
  * ### Default working hours
188
166
  *
189
- * By default, staff members work during the opening hours of the business's default location ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction)).
167
+ * By default, staff members work during the opening hours of the business's default [location](https://dev.wix.com/docs/api-reference/business-management/locations/introduction).
190
168
  *
191
169
  * ### Schedule ID
192
170
  *
@@ -196,14 +174,13 @@ interface AssignWorkingHoursScheduleSignature {
196
174
  * #### Staff event schedule
197
175
  *
198
176
  * To customize a staff member's working hours, specify their event schedule ID as `scheduleId`.
199
- * Refer to this sample flow ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/staff-members/sample-flows#backend-modules_bookings_staff-members_assign-a-staff-working-hour-schedule) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/sample-flows#assign-a-staff-working-hour-schedule)) for more details.
177
+ * Refer to this [sample flow](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/sample-flows#assign-a-staff-working-hour-schedule) for more details.
200
178
  *
201
179
  * #### Business working hour schedule
202
180
  *
203
181
  * To reset a staff member's working hours to the default business hours, specify the ID of the business working hour schedule as `scheduleId`.
204
182
  * @param - ID of the staff member to assign the schedule to.
205
- * @param - ID of the *schedule*
206
- * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/calendar/schedules/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction))
183
+ * @param - ID of the [schedule](https://dev.wix.com/docs/api-reference/business-management/calendar/schedules-v3/introduction)
207
184
  * to assign to the staff member.
208
185
  *
209
186
  * Must be either the staff member's event schedule ID or the working hour
@@ -223,10 +200,9 @@ interface AssignCustomScheduleSignature {
223
200
  * By default staff members use the shared business working hours schedule.
224
201
  * By assigning a custom working hours schedule to a staff member, you can define specific working hours for that staff member.
225
202
  *
226
- * To create and manage schedules and working hours sessions, use the Events API ([SDK](https://dev.wix.com/docs/sdk/backend-modules/calendar/events/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction)).
203
+ * To create and manage schedules and working hours sessions, use the [Events API](https://dev.wix.com/docs/api-reference/business-management/calendar/events-v3/introduction).
227
204
  * @param - ID of the staff member for which to assign a working hour schedule.
228
- * @param - ID of the *schedule*
229
- * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/calendar/schedules/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction))
205
+ * @param - ID of the [schedule](https://dev.wix.com/docs/api-reference/business-management/calendar/schedules-v3/introduction)
230
206
  * to assign to the staff member.
231
207
  * @deprecated
232
208
  */
@@ -235,7 +211,7 @@ interface AssignCustomScheduleSignature {
235
211
  declare function bulkUpdateStaffMemberTags$1(httpClient: HttpClient): BulkUpdateStaffMemberTagsSignature;
236
212
  interface BulkUpdateStaffMemberTagsSignature {
237
213
  /**
238
- * Synchronously updates tags ([SDK](https://dev.wix.com/docs/sdk/backend-modules/tags/tags/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/tags/introduction)) for up to 100 staff members.
214
+ * Synchronously updates [tags](https://dev.wix.com/docs/api-reference/business-management/tags/introduction) for up to 100 staff members.
239
215
  *
240
216
  *
241
217
  * If you specify a tag both in `assignTags` and `unassignTags`, the call succeeds and the tag is assigned.
@@ -246,16 +222,15 @@ interface BulkUpdateStaffMemberTagsSignature {
246
222
  declare function bulkUpdateStaffMemberTagsByFilter$1(httpClient: HttpClient): BulkUpdateStaffMemberTagsByFilterSignature;
247
223
  interface BulkUpdateStaffMemberTagsByFilterSignature {
248
224
  /**
249
- * Asynchronously updates tags ([SDK](https://dev.wix.com/docs/sdk/backend-modules/tags/tags/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/tags/introduction)) for staff members, given the provided filtering.
225
+ * Asynchronously updates [tags](https://dev.wix.com/docs/api-reference/business-management/tags/introduction) for staff members, given the provided filtering.
250
226
  *
251
227
  *
252
228
  * If you specify a tag both in `assignTags` and `unassignTags`, the call succeeds and the tag is assigned.
253
229
  *
254
230
  * ### Filter
255
231
  *
256
- * Refer to the supported filters article ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/filtering-and-sorting)) for a complete list of supported filters and sorting options.
257
- * @param - Filter to base the update upon. See the *supported filters article*
258
- * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/staff-members/supported-filters) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/filtering-and-sorting))
232
+ * Refer to the [supported filters article](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/filtering-and-sorting) for a complete list of supported filters and sorting options.
233
+ * @param - Filter to base the update upon. See the [supported filters article](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/filtering-and-sorting)
259
234
  * for a complete list of supported filters.
260
235
  */
261
236
  (filter: Record<string, any>, options?: BulkUpdateStaffMemberTagsByFilterOptions): Promise<NonNullablePaths<BulkUpdateStaffMemberTagsByFilterResponse, `jobId`, 2>>;
@@ -267,6 +242,12 @@ declare const onStaffMemberDisconnectedFromUser$1: EventDefinition<StaffMemberDi
267
242
  declare const onStaffMemberFullyCreated$1: EventDefinition<StaffMemberFullyCreatedEnvelope, "wix.bookings.staff.v1.staff_member_fully_created">;
268
243
  declare const onStaffMemberUpdated$1: EventDefinition<StaffMemberUpdatedEnvelope, "wix.bookings.staff.v1.staff_member_updated">;
269
244
 
245
+ declare function customQueryStaffMembers(httpClient: HttpClient): {
246
+ (query: CursorQuery): ReturnType<typeof typedQueryStaffMembers>;
247
+ (query: CursorQuery, options: QueryStaffMembersOptions): ReturnType<typeof typedQueryStaffMembers>;
248
+ (): StaffMembersQueryBuilder;
249
+ (options: QueryStaffMembersOptions): StaffMembersQueryBuilder;
250
+ };
270
251
  declare const createStaffMember: MaybeContext<BuildRESTFunction<typeof createStaffMember$1> & typeof createStaffMember$1>;
271
252
  declare const getStaffMember: MaybeContext<BuildRESTFunction<typeof getStaffMember$1> & typeof getStaffMember$1>;
272
253
  declare const getDeletedStaffMember: MaybeContext<BuildRESTFunction<typeof getDeletedStaffMember$1> & typeof getDeletedStaffMember$1>;
@@ -274,7 +255,6 @@ declare const listDeletedStaffMembers: MaybeContext<BuildRESTFunction<typeof lis
274
255
  declare const removeStaffMemberFromTrashBin: MaybeContext<BuildRESTFunction<typeof removeStaffMemberFromTrashBin$1> & typeof removeStaffMemberFromTrashBin$1>;
275
256
  declare const updateStaffMember: MaybeContext<BuildRESTFunction<typeof updateStaffMember$1> & typeof updateStaffMember$1>;
276
257
  declare const deleteStaffMember: MaybeContext<BuildRESTFunction<typeof deleteStaffMember$1> & typeof deleteStaffMember$1>;
277
- declare const queryStaffMembers: MaybeContext<BuildRESTFunction<typeof queryStaffMembers$1> & typeof queryStaffMembers$1>;
278
258
  declare const countStaffMembers: MaybeContext<BuildRESTFunction<typeof countStaffMembers$1> & typeof countStaffMembers$1>;
279
259
  declare const connectStaffMemberToUser: MaybeContext<BuildRESTFunction<typeof connectStaffMemberToUser$1> & typeof connectStaffMemberToUser$1>;
280
260
  declare const searchStaffMembers: MaybeContext<BuildRESTFunction<typeof searchStaffMembers$1> & typeof searchStaffMembers$1>;
@@ -283,6 +263,7 @@ declare const assignWorkingHoursSchedule: MaybeContext<BuildRESTFunction<typeof
283
263
  declare const assignCustomSchedule: MaybeContext<BuildRESTFunction<typeof assignCustomSchedule$1> & typeof assignCustomSchedule$1>;
284
264
  declare const bulkUpdateStaffMemberTags: MaybeContext<BuildRESTFunction<typeof bulkUpdateStaffMemberTags$1> & typeof bulkUpdateStaffMemberTags$1>;
285
265
  declare const bulkUpdateStaffMemberTagsByFilter: MaybeContext<BuildRESTFunction<typeof bulkUpdateStaffMemberTagsByFilter$1> & typeof bulkUpdateStaffMemberTagsByFilter$1>;
266
+ declare const queryStaffMembers: MaybeContext<BuildRESTFunction<typeof customQueryStaffMembers> & typeof customQueryStaffMembers>;
286
267
  /**
287
268
  * Triggered when a Wix user is connected to a staff member.
288
269
  *
@@ -313,4 +294,4 @@ declare const onStaffMemberFullyCreated: BuildEventDefinition<typeof onStaffMemb
313
294
  */
314
295
  declare const onStaffMemberUpdated: BuildEventDefinition<typeof onStaffMemberUpdated$1> & typeof onStaffMemberUpdated$1;
315
296
 
316
- export { AssignCustomScheduleOptions, AssignCustomScheduleResponse, AssignWorkingHoursScheduleOptions, AssignWorkingHoursScheduleResponse, BulkUpdateStaffMemberTagsByFilterOptions, BulkUpdateStaffMemberTagsByFilterResponse, BulkUpdateStaffMemberTagsOptions, BulkUpdateStaffMemberTagsResponse, ConnectStaffMemberToUserOptions, ConnectStaffMemberToUserResponse, CountStaffMembersOptions, CountStaffMembersResponse, CreateStaffMemberOptions, DisconnectStaffMemberFromUserOptions, DisconnectStaffMemberFromUserResponse, GetDeletedStaffMemberOptions, GetDeletedStaffMemberResponse, GetStaffMemberOptions, ListDeletedStaffMembersOptions, ListDeletedStaffMembersResponse, QueryStaffMembersOptions, SearchStaffMembersOptions, SearchStaffMembersResponse, StaffMember, StaffMemberConnectedToUserEnvelope, StaffMemberCreatedEnvelope, StaffMemberDeletedEnvelope, StaffMemberDisconnectedFromUserEnvelope, StaffMemberFullyCreatedEnvelope, StaffMemberSearch, StaffMemberUpdatedEnvelope, StaffMembersQueryBuilder, UpdateStaffMember, UpdateStaffMemberOptions, assignCustomSchedule, assignWorkingHoursSchedule, bulkUpdateStaffMemberTags, bulkUpdateStaffMemberTagsByFilter, connectStaffMemberToUser, countStaffMembers, createStaffMember, deleteStaffMember, disconnectStaffMemberFromUser, getDeletedStaffMember, getStaffMember, listDeletedStaffMembers, onStaffMemberConnectedToUser, onStaffMemberCreated, onStaffMemberDeleted, onStaffMemberDisconnectedFromUser, onStaffMemberFullyCreated, onStaffMemberUpdated, queryStaffMembers, removeStaffMemberFromTrashBin, searchStaffMembers, updateStaffMember };
297
+ export { AssignCustomScheduleOptions, AssignCustomScheduleResponse, AssignWorkingHoursScheduleOptions, AssignWorkingHoursScheduleResponse, BulkUpdateStaffMemberTagsByFilterOptions, BulkUpdateStaffMemberTagsByFilterResponse, BulkUpdateStaffMemberTagsOptions, BulkUpdateStaffMemberTagsResponse, ConnectStaffMemberToUserOptions, ConnectStaffMemberToUserResponse, CountStaffMembersOptions, CountStaffMembersResponse, CreateStaffMemberOptions, CursorQuery, DisconnectStaffMemberFromUserOptions, DisconnectStaffMemberFromUserResponse, GetDeletedStaffMemberOptions, GetDeletedStaffMemberResponse, GetStaffMemberOptions, ListDeletedStaffMembersOptions, ListDeletedStaffMembersResponse, QueryStaffMembersOptions, SearchStaffMembersOptions, SearchStaffMembersResponse, StaffMember, StaffMemberConnectedToUserEnvelope, StaffMemberCreatedEnvelope, StaffMemberDeletedEnvelope, StaffMemberDisconnectedFromUserEnvelope, StaffMemberFullyCreatedEnvelope, StaffMemberSearch, StaffMemberUpdatedEnvelope, StaffMembersQueryBuilder, UpdateStaffMember, UpdateStaffMemberOptions, assignCustomSchedule, assignWorkingHoursSchedule, bulkUpdateStaffMemberTags, bulkUpdateStaffMemberTagsByFilter, connectStaffMemberToUser, countStaffMembers, createStaffMember, deleteStaffMember, disconnectStaffMemberFromUser, getDeletedStaffMember, getStaffMember, listDeletedStaffMembers, onStaffMemberConnectedToUser, onStaffMemberCreated, onStaffMemberDeleted, onStaffMemberDisconnectedFromUser, onStaffMemberFullyCreated, onStaffMemberUpdated, queryStaffMembers, removeStaffMemberFromTrashBin, searchStaffMembers, updateStaffMember };
@@ -1042,6 +1042,39 @@ function queryStaffMembers2(options) {
1042
1042
  transformationPaths: {}
1043
1043
  });
1044
1044
  }
1045
+ async function typedQueryStaffMembers(query, options) {
1046
+ const { httpClient, sideEffects } = arguments[2];
1047
+ const payload = renameKeysFromSDKRequestToRESTRequest({
1048
+ query,
1049
+ ...options
1050
+ });
1051
+ const reqOpts = queryStaffMembers(payload);
1052
+ sideEffects?.onSiteCall?.();
1053
+ try {
1054
+ const result = await httpClient.request(reqOpts);
1055
+ sideEffects?.onSuccess?.(result);
1056
+ return renameKeysFromRESTResponseToSDKResponse(
1057
+ transformPaths2(result.data, [
1058
+ {
1059
+ transformFn: transformRESTImageToSDKImage,
1060
+ paths: [{ path: "staffMembers.mainMedia.image" }]
1061
+ }
1062
+ ])
1063
+ );
1064
+ } catch (err) {
1065
+ const transformedError = sdkTransformError(
1066
+ err,
1067
+ {
1068
+ spreadPathsToArguments: {},
1069
+ explicitPathsToArguments: { query: "$[0]" },
1070
+ singleArgumentUnchanged: false
1071
+ },
1072
+ ["query", "options"]
1073
+ );
1074
+ sideEffects?.onError?.(err);
1075
+ throw transformedError;
1076
+ }
1077
+ }
1045
1078
  async function countStaffMembers2(options) {
1046
1079
  const { httpClient, sideEffects } = arguments[1];
1047
1080
  const payload = renameKeysFromSDKRequestToRESTRequest({
@@ -1379,6 +1412,14 @@ function queryStaffMembers3(httpClient) {
1379
1412
  { httpClient }
1380
1413
  );
1381
1414
  }
1415
+ function typedQueryStaffMembers2(httpClient) {
1416
+ return (query, options) => typedQueryStaffMembers(
1417
+ query,
1418
+ options,
1419
+ // @ts-ignore
1420
+ { httpClient }
1421
+ );
1422
+ }
1382
1423
  function countStaffMembers3(httpClient) {
1383
1424
  return (options) => countStaffMembers2(
1384
1425
  options,
@@ -1568,6 +1609,18 @@ var onStaffMemberUpdated = EventDefinition(
1568
1609
  // src/bookings-staff-v1-staff-member-staff-members.context.ts
1569
1610
  import { createRESTModule } from "@wix/sdk-runtime/rest-modules";
1570
1611
  import { createEventModule } from "@wix/sdk-runtime/event-definition-modules";
1612
+ import { createQueryOverloadRouter } from "@wix/sdk-runtime/query-method-router";
1613
+ function customQueryStaffMembers(httpClient) {
1614
+ const router = createQueryOverloadRouter({
1615
+ builderQueryFunction: (options) => queryStaffMembers3(httpClient)(options),
1616
+ typedQueryFunction: (query, options) => typedQueryStaffMembers2(httpClient)(query, options),
1617
+ hasOptionsParameter: true
1618
+ });
1619
+ function overloadedQuery(queryOrOptions, options) {
1620
+ return router(...arguments);
1621
+ }
1622
+ return overloadedQuery;
1623
+ }
1571
1624
  var createStaffMember4 = /* @__PURE__ */ createRESTModule(createStaffMember3);
1572
1625
  var getStaffMember4 = /* @__PURE__ */ createRESTModule(getStaffMember3);
1573
1626
  var getDeletedStaffMember4 = /* @__PURE__ */ createRESTModule(getDeletedStaffMember3);
@@ -1575,7 +1628,6 @@ var listDeletedStaffMembers4 = /* @__PURE__ */ createRESTModule(listDeletedStaff
1575
1628
  var removeStaffMemberFromTrashBin4 = /* @__PURE__ */ createRESTModule(removeStaffMemberFromTrashBin3);
1576
1629
  var updateStaffMember4 = /* @__PURE__ */ createRESTModule(updateStaffMember3);
1577
1630
  var deleteStaffMember4 = /* @__PURE__ */ createRESTModule(deleteStaffMember3);
1578
- var queryStaffMembers4 = /* @__PURE__ */ createRESTModule(queryStaffMembers3);
1579
1631
  var countStaffMembers4 = /* @__PURE__ */ createRESTModule(countStaffMembers3);
1580
1632
  var connectStaffMemberToUser4 = /* @__PURE__ */ createRESTModule(connectStaffMemberToUser3);
1581
1633
  var searchStaffMembers4 = /* @__PURE__ */ createRESTModule(searchStaffMembers3);
@@ -1584,6 +1636,7 @@ var assignWorkingHoursSchedule4 = /* @__PURE__ */ createRESTModule(assignWorking
1584
1636
  var assignCustomSchedule4 = /* @__PURE__ */ createRESTModule(assignCustomSchedule3);
1585
1637
  var bulkUpdateStaffMemberTags4 = /* @__PURE__ */ createRESTModule(bulkUpdateStaffMemberTags3);
1586
1638
  var bulkUpdateStaffMemberTagsByFilter4 = /* @__PURE__ */ createRESTModule(bulkUpdateStaffMemberTagsByFilter3);
1639
+ var queryStaffMembers4 = /* @__PURE__ */ createRESTModule(customQueryStaffMembers);
1587
1640
  var onStaffMemberConnectedToUser2 = createEventModule(
1588
1641
  onStaffMemberConnectedToUser
1589
1642
  );