@wix/auto_sdk_bookings_staff-members 1.0.67 → 1.0.68

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 (29) 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-ClAII2Rf.d.ts} +51 -83
  2. package/build/cjs/index.d.ts +20 -23
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +5 -5
  5. package/build/cjs/index.typings.js.map +1 -1
  6. package/build/cjs/meta.d.ts +29 -52
  7. package/build/cjs/meta.js.map +1 -1
  8. package/build/es/{bookings-staff-v1-staff-member-staff-members.universal-q-tWyQ3e.d.mts → bookings-staff-v1-staff-member-staff-members.universal-ClAII2Rf.d.mts} +51 -83
  9. package/build/es/index.d.mts +20 -23
  10. package/build/es/index.mjs.map +1 -1
  11. package/build/es/index.typings.d.mts +5 -5
  12. package/build/es/index.typings.mjs.map +1 -1
  13. package/build/es/meta.d.mts +29 -52
  14. package/build/es/meta.mjs.map +1 -1
  15. package/build/internal/cjs/{bookings-staff-v1-staff-member-staff-members.universal-q-tWyQ3e.d.ts → bookings-staff-v1-staff-member-staff-members.universal-ClAII2Rf.d.ts} +51 -83
  16. package/build/internal/cjs/index.d.ts +20 -23
  17. package/build/internal/cjs/index.js.map +1 -1
  18. package/build/internal/cjs/index.typings.d.ts +5 -5
  19. package/build/internal/cjs/index.typings.js.map +1 -1
  20. package/build/internal/cjs/meta.d.ts +29 -52
  21. package/build/internal/cjs/meta.js.map +1 -1
  22. package/build/internal/es/{bookings-staff-v1-staff-member-staff-members.universal-q-tWyQ3e.d.mts → bookings-staff-v1-staff-member-staff-members.universal-ClAII2Rf.d.mts} +51 -83
  23. package/build/internal/es/index.d.mts +20 -23
  24. package/build/internal/es/index.mjs.map +1 -1
  25. package/build/internal/es/index.typings.d.mts +5 -5
  26. package/build/internal/es/index.typings.mjs.map +1 -1
  27. package/build/internal/es/meta.d.mts +29 -52
  28. package/build/internal/es/meta.mjs.map +1 -1
  29. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import { aq as CreateStaffMemberRequest$1, ar as CreateStaffMemberResponse$1, as as GetStaffMemberRequest$1, at as GetStaffMemberResponse$1, au as GetDeletedStaffMemberRequest$1, b as GetDeletedStaffMemberResponse$1, av as ListDeletedStaffMembersRequest$1, c as ListDeletedStaffMembersResponse$1, az as RemoveStaffMemberFromTrashBinRequest$1, aA as RemoveStaffMemberFromTrashBinResponse$1, aD as UpdateStaffMemberRequest$1, aE as UpdateStaffMemberResponse$1, aF as DeleteStaffMemberRequest$1, aG as DeleteStaffMemberResponse$1, aH as QueryStaffMembersRequest$1, aL as QueryStaffMembersResponse$1, aO as CountStaffMembersRequest$1, g as CountStaffMembersResponse$1, aP as ConnectStaffMemberToUserRequest$1, i as ConnectStaffMemberToUserResponse$1, aQ as SearchStaffMembersRequest$1, l as SearchStaffMembersResponse$1, bd as DisconnectStaffMemberFromUserRequest$1, m as DisconnectStaffMemberFromUserResponse$1, be as AssignWorkingHoursScheduleRequest$1, n as AssignWorkingHoursScheduleResponse$1, bf as AssignCustomScheduleRequest$1, p as AssignCustomScheduleResponse$1, bg as BulkUpdateStaffMemberTagsRequest$1, q as BulkUpdateStaffMemberTagsResponse$1, bl as BulkUpdateStaffMemberTagsByFilterRequest$1, s as BulkUpdateStaffMemberTagsByFilterResponse$1 } from './bookings-staff-v1-staff-member-staff-members.universal-q-tWyQ3e.mjs';
1
+ import { aq as CreateStaffMemberRequest$1, ar as CreateStaffMemberResponse$1, as as GetStaffMemberRequest$1, at as GetStaffMemberResponse$1, au as GetDeletedStaffMemberRequest$1, b as GetDeletedStaffMemberResponse$1, av as ListDeletedStaffMembersRequest$1, c as ListDeletedStaffMembersResponse$1, az as RemoveStaffMemberFromTrashBinRequest$1, aA as RemoveStaffMemberFromTrashBinResponse$1, aD as UpdateStaffMemberRequest$1, aE as UpdateStaffMemberResponse$1, aF as DeleteStaffMemberRequest$1, aG as DeleteStaffMemberResponse$1, aH as QueryStaffMembersRequest$1, aL as QueryStaffMembersResponse$1, aO as CountStaffMembersRequest$1, g as CountStaffMembersResponse$1, aP as ConnectStaffMemberToUserRequest$1, i as ConnectStaffMemberToUserResponse$1, aQ as SearchStaffMembersRequest$1, l as SearchStaffMembersResponse$1, bd as DisconnectStaffMemberFromUserRequest$1, m as DisconnectStaffMemberFromUserResponse$1, be as AssignWorkingHoursScheduleRequest$1, n as AssignWorkingHoursScheduleResponse$1, bf as AssignCustomScheduleRequest$1, p as AssignCustomScheduleResponse$1, bg as BulkUpdateStaffMemberTagsRequest$1, q as BulkUpdateStaffMemberTagsResponse$1, bl as BulkUpdateStaffMemberTagsByFilterRequest$1, s as BulkUpdateStaffMemberTagsByFilterResponse$1 } from './bookings-staff-v1-staff-member-staff-members.universal-ClAII2Rf.mjs';
2
2
  import '@wix/sdk-types';
3
3
 
4
4
  /**
@@ -39,16 +39,14 @@ interface StaffMember {
39
39
  /** Staff media. */
40
40
  mainMedia?: MediaItem;
41
41
  /**
42
- * Staff member's *resource ID*
43
- * ([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)),
42
+ * Staff member's [resource ID](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resources-v2/introduction),
44
43
  * identical to `resource.id`.
45
44
  * @readonly
46
45
  * @format GUID
47
46
  */
48
47
  resourceId?: string | null;
49
48
  /**
50
- * Details about the *resource object*
51
- * ([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))
49
+ * Details about the [resource object](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resources-v2/resource-object)
52
50
  * associated with the staff member. Available only if you specify `RESOURCE_DETAILS`
53
51
  * in the `fields` array.
54
52
  * @readonly
@@ -56,8 +54,7 @@ interface StaffMember {
56
54
  resource?: Resource;
57
55
  /**
58
56
  * Identity of the Wix user associated with the staff member. Learn more about
59
- * _identities_
60
- * ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/about-identities) | [REST](https://dev.wix.com/docs/rest/articles/getting-started/about-identities)).
57
+ * [identities](https://dev.wix.com/docs/api-reference/articles/authentication/about-identities).
61
58
  * @readonly
62
59
  */
63
60
  associatedWixIdentity?: AssociatedWixIdentity;
@@ -80,10 +77,7 @@ interface StaffMember {
80
77
  updatedDate?: Date | null;
81
78
  /** Extensions enabling users to save custom data related to the staff member. */
82
79
  extendedFields?: ExtendedFields;
83
- /**
84
- * Tags allowing you to classify staff members. Learn more about *tags*
85
- * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/tags/tags/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/tags/introduction)).
86
- */
80
+ /** Tags allowing you to classify staff members. Learn more about [tags](https://dev.wix.com/docs/api-reference/business-management/tags/introduction). */
87
81
  tags?: Tags;
88
82
  }
89
83
  interface MediaItem extends MediaItemMediaOneOf {
@@ -130,31 +124,26 @@ interface Image {
130
124
  }
131
125
  interface Resource {
132
126
  /**
133
- * ID of the *resource*
134
- * ([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))
127
+ * ID of the [resource](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resources-v2/introduction)
135
128
  * associated with the staff member.
136
129
  * @format GUID
137
130
  */
138
131
  id?: string | null;
139
132
  /**
140
- * Working hour *schedule*
141
- * ([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))
133
+ * Working hour [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction)
142
134
  * of the staff member. By default, identical the opening hours of the
143
- * business's *default location*
144
- * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction)).
135
+ * business's [default location](https://dev.wix.com/docs/rest/business-management/locations/introduction).
145
136
  * If the staff has custom working hours, identical to `eventsSchedule`.
146
137
  * @maxSize 1
147
138
  */
148
139
  workingHoursSchedules?: WorkingHoursSchedule[];
149
140
  /**
150
- * Event *schedule*
151
- * ([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))
141
+ * Event [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction)
152
142
  * of the staff member.
153
143
  */
154
144
  eventsSchedule?: EventSchedule;
155
145
  /**
156
- * Whether the staff member works according to business's *default location*
157
- * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction))
146
+ * Whether the staff member works according to business's [default location](https://dev.wix.com/docs/rest/business-management/locations/introduction)
158
147
  * opening hours.
159
148
  *
160
149
  * `false`: The staff has custom working hours.
@@ -167,12 +156,10 @@ interface Resource {
167
156
  }
168
157
  interface WorkingHoursSchedule {
169
158
  /**
170
- * ID of the working hour *schedule*
171
- * ([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))
159
+ * ID of the working hour [schedule](https://dev.wix.com/docs/api-reference/business-management/calendar/schedules-v3/introduction)
172
160
  * associated with the staff member. Currently, each staff member can't have more than a
173
161
  * single working hour schedule. Learn more about
174
- * _how Wix Bookings uses the Calendar APIs_
175
- * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/calendar/wix-bookings-integration) | [REST](https://dev.wix.com/docs/rest/business-management/calendar/wix-bookings-integration)).
162
+ * [how Wix Bookings uses the Calendar APIs](https://dev.wix.com/docs/api-reference/business-management/calendar/wix-bookings-integration).
176
163
  * @format GUID
177
164
  */
178
165
  id?: string | null;
@@ -184,19 +171,17 @@ interface WorkingHoursSchedule {
184
171
  }
185
172
  interface EventSchedule {
186
173
  /**
187
- * ID of the event *schedule*
188
- * ([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))
174
+ * ID of the event [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction)
189
175
  * associated with the staff member. Learn more about
190
176
  * _how Wix Bookings uses the Calendar APIs_
191
- * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/calendar/wix-bookings-integration) | [REST](https://dev.wix.com/docs/rest/business-management/calendar/wix-bookings-integration)).
177
+ * [Wix Bookings](https://dev.wix.com/docs/rest/business-management/calendar/wix-bookings-integration).
192
178
  * @format GUID
193
179
  */
194
180
  id?: string | null;
195
181
  }
196
182
  interface LocationOptions {
197
183
  /**
198
- * Whether the resource is available in all *business locations*
199
- * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/about-service-locations#backend-modules_bookings_services_location-types) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/about-service-locations#location-types)).
184
+ * Whether the resource is available in all [business locations](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/about-service-locations#location-types).
200
185
  *
201
186
  * - `true`: The resource is available in all business locations.
202
187
  * - `false`: The resource is available only in specific locations.
@@ -209,8 +194,7 @@ interface LocationOptions {
209
194
  }
210
195
  interface SpecificLocation {
211
196
  /**
212
- * Whether the resource is available in *business locations*
213
- * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/about-service-locations#backend-modules_bookings_services_location-types) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/about-service-locations#location-types)).
197
+ * Whether the resource is available in [business locations](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/about-service-locations#location-types).
214
198
  *
215
199
  * - `true`: The resource is available in business locations.
216
200
  * - `false`: The resource isn't available in business locations.
@@ -229,8 +213,7 @@ interface SpecificLocation {
229
213
  }
230
214
  interface BusinessLocation {
231
215
  /**
232
- * ID of the business *location*
233
- * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction)).
216
+ * ID of the business [location](https://dev.wix.com/docs/rest/business-management/locations/introduction).
234
217
  * @format GUID
235
218
  */
236
219
  locationId?: string | null;
@@ -239,8 +222,7 @@ interface BusinessLocation {
239
222
  interface AssociatedWixIdentity {
240
223
  /**
241
224
  * Information about the identity connected to the staff member. Available only
242
- * if the staff member is connected to a Wix user. Learn more about *identities*
243
- * ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/about-identities) | [REST](https://dev.wix.com/docs/rest/articles/getting-started/about-identities)).
225
+ * if the staff member is connected to a Wix user. Learn more about [identities](https://dev.wix.com/docs/rest/articles/getting-started/about-identities).
244
226
  */
245
227
  identificationData?: CommonIdentificationData;
246
228
  /**
@@ -662,9 +644,8 @@ interface DeleteStaffMemberResponse {
662
644
  }
663
645
  interface QueryStaffMembersRequest {
664
646
  /**
665
- * Information about filters, paging, and sorting. See the article about
666
- * booking policy filters
667
- * ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/filtering-and-sorting))
647
+ * Information about filters, paging, and sorting. See the
648
+ * [supported filters article](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/filtering-and-sorting)
668
649
  * for all supported filters and sorting options.
669
650
  */
670
651
  query?: CursorQuery;
@@ -722,8 +703,7 @@ interface QueryStaffMembersResponse {
722
703
  interface QueryStaffMembersMultiLanguageRequest {
723
704
  /**
724
705
  * Information about filters, paging, and sorting. See the article about
725
- * booking policy filters
726
- * ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/filtering-and-sorting))
706
+ * [booking policy filters](https://dev.wix.com/docs/api-reference/business-solutions/bookings/policies/booking-policies/supported-filters)
727
707
  * for all supported filters and sorting options.
728
708
  */
729
709
  query?: CursorQuery;
@@ -743,8 +723,8 @@ interface QueryStaffMembersMultiLanguageResponse {
743
723
  }
744
724
  interface CountStaffMembersRequest {
745
725
  /**
746
- * Filter to base the count upon. See the *supported filters article*
747
- * ([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))
726
+ * Filter to base the count upon. See the
727
+ * [supported filters article](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/filtering-and-sorting)
748
728
  * for a complete list of supported filters.
749
729
  */
750
730
  filter?: Record<string, any> | null;
@@ -781,7 +761,7 @@ interface SearchStaffMembersRequest {
781
761
  /**
782
762
  * Search criteria including filter, sort, and paging options.
783
763
  *
784
- * 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.
764
+ * 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.
785
765
  */
786
766
  search: CursorSearch;
787
767
  /**
@@ -799,13 +779,13 @@ interface CursorSearch extends CursorSearchPagingMethodOneOf {
799
779
  /**
800
780
  * Filter object for narrowing search results. For example, to return only staff members with specific email domains: `"filter": {"email": {"$contains": "@company.com"}}`.
801
781
  *
802
- * Learn more about the filter format in 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)).
782
+ * Learn more about the filter format in the [supported filters article](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/filtering-and-sorting).
803
783
  */
804
784
  filter?: Record<string, any> | null;
805
785
  /**
806
786
  * Array of sort objects specifying result order. For example, to sort by creation date in descending order: `"sort": [{"fieldName": "createdDate", "order": "DESC"}]`.
807
787
  *
808
- * Learn more about the sort format in 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)).
788
+ * Learn more about the sort format in the [supported filters article](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/filtering-and-sorting).
809
789
  * @maxSize 10
810
790
  */
811
791
  sort?: Sorting[];
@@ -1119,8 +1099,7 @@ interface AssignWorkingHoursScheduleRequest {
1119
1099
  */
1120
1100
  staffMemberId: string;
1121
1101
  /**
1122
- * ID of the *schedule*
1123
- * ([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))
1102
+ * ID of the [schedule](https://dev.wix.com/docs/api-reference/business-management/calendar/schedules-v3/introduction)
1124
1103
  * to assign to the staff member.
1125
1104
  *
1126
1105
  * Must be either the staff member's event schedule ID or the working hour
@@ -1145,8 +1124,7 @@ interface AssignCustomScheduleRequest {
1145
1124
  */
1146
1125
  staffMemberId: string;
1147
1126
  /**
1148
- * ID of the *schedule*
1149
- * ([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))
1127
+ * ID of the [schedule](https://dev.wix.com/docs/api-reference/business-management/calendar/schedules-v3/introduction)
1150
1128
  * to assign to the staff member.
1151
1129
  * @format GUID
1152
1130
  */
@@ -1219,8 +1197,7 @@ interface BulkActionMetadata {
1219
1197
  }
1220
1198
  interface BulkUpdateStaffMemberTagsByFilterRequest {
1221
1199
  /**
1222
- * Filter to base the update upon. See the *supported filters article*
1223
- * ([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))
1200
+ * 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)
1224
1201
  * for a complete list of supported filters.
1225
1202
  */
1226
1203
  filter: Record<string, any> | null;