@wix/auto_sdk_bookings_staff-members 1.0.13 → 1.0.14

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 (130) hide show
  1. package/build/{cjs/src/bookings-staff-v1-staff-member-staff-members.types.d.ts → bookings-staff-v1-staff-member-staff-members.universal-tgJ2l2hi.d.mts} +538 -251
  2. package/build/{internal/cjs/src/bookings-staff-v1-staff-member-staff-members.types.d.ts → bookings-staff-v1-staff-member-staff-members.universal-tgJ2l2hi.d.ts} +538 -251
  3. package/build/{cjs/src/bookings-staff-v1-staff-member-staff-members.public.d.ts → index.d.mts} +63 -25
  4. package/build/{es/src/bookings-staff-v1-staff-member-staff-members.public.d.ts → index.d.ts} +63 -25
  5. package/build/index.js +1447 -0
  6. package/build/index.js.map +1 -0
  7. package/build/index.mjs +1383 -0
  8. package/build/index.mjs.map +1 -0
  9. package/build/{es/src/bookings-staff-v1-staff-member-staff-members.types.d.ts → internal/bookings-staff-v1-staff-member-staff-members.universal-tgJ2l2hi.d.mts} +538 -251
  10. package/build/internal/{es/src/bookings-staff-v1-staff-member-staff-members.types.d.ts → bookings-staff-v1-staff-member-staff-members.universal-tgJ2l2hi.d.ts} +538 -251
  11. package/build/internal/{es/src/bookings-staff-v1-staff-member-staff-members.public.d.ts → index.d.mts} +63 -25
  12. package/build/internal/{cjs/src/bookings-staff-v1-staff-member-staff-members.public.d.ts → index.d.ts} +63 -25
  13. package/build/internal/index.js +1447 -0
  14. package/build/internal/index.js.map +1 -0
  15. package/build/internal/index.mjs +1383 -0
  16. package/build/internal/index.mjs.map +1 -0
  17. package/build/internal/meta.d.mts +978 -0
  18. package/build/internal/meta.d.ts +978 -0
  19. package/build/internal/meta.js +735 -0
  20. package/build/internal/meta.js.map +1 -0
  21. package/build/internal/meta.mjs +696 -0
  22. package/build/internal/meta.mjs.map +1 -0
  23. package/build/meta.d.mts +978 -0
  24. package/build/meta.d.ts +978 -0
  25. package/build/meta.js +735 -0
  26. package/build/meta.js.map +1 -0
  27. package/build/meta.mjs +696 -0
  28. package/build/meta.mjs.map +1 -0
  29. package/package.json +13 -12
  30. package/build/cjs/index.d.ts +0 -1
  31. package/build/cjs/index.js +0 -18
  32. package/build/cjs/index.js.map +0 -1
  33. package/build/cjs/index.typings.d.ts +0 -1
  34. package/build/cjs/index.typings.js +0 -18
  35. package/build/cjs/index.typings.js.map +0 -1
  36. package/build/cjs/meta.d.ts +0 -1
  37. package/build/cjs/meta.js +0 -18
  38. package/build/cjs/meta.js.map +0 -1
  39. package/build/cjs/src/bookings-staff-v1-staff-member-staff-members.context.d.ts +0 -53
  40. package/build/cjs/src/bookings-staff-v1-staff-member-staff-members.context.js +0 -78
  41. package/build/cjs/src/bookings-staff-v1-staff-member-staff-members.context.js.map +0 -1
  42. package/build/cjs/src/bookings-staff-v1-staff-member-staff-members.http.d.ts +0 -193
  43. package/build/cjs/src/bookings-staff-v1-staff-member-staff-members.http.js +0 -635
  44. package/build/cjs/src/bookings-staff-v1-staff-member-staff-members.http.js.map +0 -1
  45. package/build/cjs/src/bookings-staff-v1-staff-member-staff-members.meta.d.ts +0 -39
  46. package/build/cjs/src/bookings-staff-v1-staff-member-staff-members.meta.js +0 -275
  47. package/build/cjs/src/bookings-staff-v1-staff-member-staff-members.meta.js.map +0 -1
  48. package/build/cjs/src/bookings-staff-v1-staff-member-staff-members.public.js +0 -196
  49. package/build/cjs/src/bookings-staff-v1-staff-member-staff-members.public.js.map +0 -1
  50. package/build/cjs/src/bookings-staff-v1-staff-member-staff-members.types.js +0 -219
  51. package/build/cjs/src/bookings-staff-v1-staff-member-staff-members.types.js.map +0 -1
  52. package/build/cjs/src/bookings-staff-v1-staff-member-staff-members.universal.d.ts +0 -3210
  53. package/build/cjs/src/bookings-staff-v1-staff-member-staff-members.universal.js +0 -1061
  54. package/build/cjs/src/bookings-staff-v1-staff-member-staff-members.universal.js.map +0 -1
  55. package/build/es/index.d.ts +0 -1
  56. package/build/es/index.js +0 -2
  57. package/build/es/index.js.map +0 -1
  58. package/build/es/index.typings.d.ts +0 -1
  59. package/build/es/index.typings.js +0 -2
  60. package/build/es/index.typings.js.map +0 -1
  61. package/build/es/meta.d.ts +0 -1
  62. package/build/es/meta.js +0 -2
  63. package/build/es/meta.js.map +0 -1
  64. package/build/es/package.json +0 -3
  65. package/build/es/src/bookings-staff-v1-staff-member-staff-members.context.d.ts +0 -53
  66. package/build/es/src/bookings-staff-v1-staff-member-staff-members.context.js +0 -53
  67. package/build/es/src/bookings-staff-v1-staff-member-staff-members.context.js.map +0 -1
  68. package/build/es/src/bookings-staff-v1-staff-member-staff-members.http.d.ts +0 -193
  69. package/build/es/src/bookings-staff-v1-staff-member-staff-members.http.js +0 -619
  70. package/build/es/src/bookings-staff-v1-staff-member-staff-members.http.js.map +0 -1
  71. package/build/es/src/bookings-staff-v1-staff-member-staff-members.meta.d.ts +0 -39
  72. package/build/es/src/bookings-staff-v1-staff-member-staff-members.meta.js +0 -236
  73. package/build/es/src/bookings-staff-v1-staff-member-staff-members.meta.js.map +0 -1
  74. package/build/es/src/bookings-staff-v1-staff-member-staff-members.public.js +0 -158
  75. package/build/es/src/bookings-staff-v1-staff-member-staff-members.public.js.map +0 -1
  76. package/build/es/src/bookings-staff-v1-staff-member-staff-members.types.js +0 -216
  77. package/build/es/src/bookings-staff-v1-staff-member-staff-members.types.js.map +0 -1
  78. package/build/es/src/bookings-staff-v1-staff-member-staff-members.universal.d.ts +0 -3210
  79. package/build/es/src/bookings-staff-v1-staff-member-staff-members.universal.js +0 -1022
  80. package/build/es/src/bookings-staff-v1-staff-member-staff-members.universal.js.map +0 -1
  81. package/build/internal/cjs/index.d.ts +0 -1
  82. package/build/internal/cjs/index.js +0 -18
  83. package/build/internal/cjs/index.js.map +0 -1
  84. package/build/internal/cjs/index.typings.d.ts +0 -1
  85. package/build/internal/cjs/index.typings.js +0 -18
  86. package/build/internal/cjs/index.typings.js.map +0 -1
  87. package/build/internal/cjs/meta.d.ts +0 -1
  88. package/build/internal/cjs/meta.js +0 -18
  89. package/build/internal/cjs/meta.js.map +0 -1
  90. package/build/internal/cjs/src/bookings-staff-v1-staff-member-staff-members.context.d.ts +0 -53
  91. package/build/internal/cjs/src/bookings-staff-v1-staff-member-staff-members.context.js +0 -78
  92. package/build/internal/cjs/src/bookings-staff-v1-staff-member-staff-members.context.js.map +0 -1
  93. package/build/internal/cjs/src/bookings-staff-v1-staff-member-staff-members.http.d.ts +0 -193
  94. package/build/internal/cjs/src/bookings-staff-v1-staff-member-staff-members.http.js +0 -635
  95. package/build/internal/cjs/src/bookings-staff-v1-staff-member-staff-members.http.js.map +0 -1
  96. package/build/internal/cjs/src/bookings-staff-v1-staff-member-staff-members.meta.d.ts +0 -39
  97. package/build/internal/cjs/src/bookings-staff-v1-staff-member-staff-members.meta.js +0 -275
  98. package/build/internal/cjs/src/bookings-staff-v1-staff-member-staff-members.meta.js.map +0 -1
  99. package/build/internal/cjs/src/bookings-staff-v1-staff-member-staff-members.public.js +0 -196
  100. package/build/internal/cjs/src/bookings-staff-v1-staff-member-staff-members.public.js.map +0 -1
  101. package/build/internal/cjs/src/bookings-staff-v1-staff-member-staff-members.types.js +0 -219
  102. package/build/internal/cjs/src/bookings-staff-v1-staff-member-staff-members.types.js.map +0 -1
  103. package/build/internal/cjs/src/bookings-staff-v1-staff-member-staff-members.universal.d.ts +0 -3210
  104. package/build/internal/cjs/src/bookings-staff-v1-staff-member-staff-members.universal.js +0 -1061
  105. package/build/internal/cjs/src/bookings-staff-v1-staff-member-staff-members.universal.js.map +0 -1
  106. package/build/internal/es/index.d.ts +0 -1
  107. package/build/internal/es/index.js +0 -2
  108. package/build/internal/es/index.js.map +0 -1
  109. package/build/internal/es/index.typings.d.ts +0 -1
  110. package/build/internal/es/index.typings.js +0 -2
  111. package/build/internal/es/index.typings.js.map +0 -1
  112. package/build/internal/es/meta.d.ts +0 -1
  113. package/build/internal/es/meta.js +0 -2
  114. package/build/internal/es/meta.js.map +0 -1
  115. package/build/internal/es/src/bookings-staff-v1-staff-member-staff-members.context.d.ts +0 -53
  116. package/build/internal/es/src/bookings-staff-v1-staff-member-staff-members.context.js +0 -53
  117. package/build/internal/es/src/bookings-staff-v1-staff-member-staff-members.context.js.map +0 -1
  118. package/build/internal/es/src/bookings-staff-v1-staff-member-staff-members.http.d.ts +0 -193
  119. package/build/internal/es/src/bookings-staff-v1-staff-member-staff-members.http.js +0 -619
  120. package/build/internal/es/src/bookings-staff-v1-staff-member-staff-members.http.js.map +0 -1
  121. package/build/internal/es/src/bookings-staff-v1-staff-member-staff-members.meta.d.ts +0 -39
  122. package/build/internal/es/src/bookings-staff-v1-staff-member-staff-members.meta.js +0 -236
  123. package/build/internal/es/src/bookings-staff-v1-staff-member-staff-members.meta.js.map +0 -1
  124. package/build/internal/es/src/bookings-staff-v1-staff-member-staff-members.public.js +0 -158
  125. package/build/internal/es/src/bookings-staff-v1-staff-member-staff-members.public.js.map +0 -1
  126. package/build/internal/es/src/bookings-staff-v1-staff-member-staff-members.types.js +0 -216
  127. package/build/internal/es/src/bookings-staff-v1-staff-member-staff-members.types.js.map +0 -1
  128. package/build/internal/es/src/bookings-staff-v1-staff-member-staff-members.universal.d.ts +0 -3210
  129. package/build/internal/es/src/bookings-staff-v1-staff-member-staff-members.universal.js +0 -1022
  130. package/build/internal/es/src/bookings-staff-v1-staff-member-staff-members.universal.js.map +0 -1
@@ -2,13 +2,13 @@
2
2
  * An individual providing services within Wix Bookings. Only staff members who
3
3
  * are also Wix users can manage their working hours in the dashboard.
4
4
  */
5
- export interface StaffMember {
5
+ interface StaffMember {
6
6
  /**
7
7
  * Staff member ID.
8
8
  * @format GUID
9
9
  * @readonly
10
10
  */
11
- id?: string | null;
11
+ _id?: string | null;
12
12
  /**
13
13
  * Staff member name.
14
14
  * @minLength 1
@@ -69,12 +69,12 @@ export interface StaffMember {
69
69
  * Time the staff member was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.
70
70
  * @readonly
71
71
  */
72
- createdDate?: Date | null;
72
+ _createdDate?: Date | null;
73
73
  /**
74
74
  * Time the staff member was last updated in `YYYY-MM-DDThh:mm:ss.sssZ` format.
75
75
  * @readonly
76
76
  */
77
- updatedDate?: Date | null;
77
+ _updatedDate?: Date | null;
78
78
  /** Extensions enabling users to save custom data related to the staff member. */
79
79
  extendedFields?: ExtendedFields;
80
80
  /**
@@ -83,56 +83,23 @@ export interface StaffMember {
83
83
  */
84
84
  tags?: Tags;
85
85
  }
86
- export interface MediaItem extends MediaItemMediaOneOf {
86
+ interface MediaItem extends MediaItemMediaOneOf {
87
87
  /** Staff member's main image. */
88
- image?: Image;
88
+ image?: string;
89
89
  }
90
90
  /** @oneof */
91
- export interface MediaItemMediaOneOf {
91
+ interface MediaItemMediaOneOf {
92
92
  /** Staff member's main image. */
93
- image?: Image;
93
+ image?: string;
94
94
  }
95
- export interface Image {
96
- /**
97
- * WixMedia image ID. To manage media assets, use the [Media Manager API](https://dev.wix.com/docs/rest/assets/media/media-manager/introduction)
98
- * @maxLength 2048
99
- */
100
- id?: string;
101
- /**
102
- * Image URL.
103
- * @maxLength 2048
104
- */
105
- url?: string;
106
- /**
107
- * Original image height.
108
- * @readonly
109
- */
110
- height?: number;
111
- /**
112
- * Original image width.
113
- * @readonly
114
- */
115
- width?: number;
116
- /**
117
- * Image alt text.
118
- * @maxLength 2048
119
- */
120
- altText?: string | null;
121
- /**
122
- * Image filename.
123
- * @readonly
124
- * @maxLength 2048
125
- */
126
- filename?: string | null;
127
- }
128
- export interface Resource {
95
+ interface Resource {
129
96
  /**
130
97
  * ID of the *resource*
131
98
  * ([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))
132
99
  * associated with the staff member.
133
100
  * @format GUID
134
101
  */
135
- id?: string | null;
102
+ _id?: string | null;
136
103
  /**
137
104
  * Working hour *schedule*
138
105
  * ([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))
@@ -160,7 +127,7 @@ export interface Resource {
160
127
  */
161
128
  usesDefaultWorkingHours?: boolean;
162
129
  }
163
- export interface WorkingHoursSchedule {
130
+ interface WorkingHoursSchedule {
164
131
  /**
165
132
  * ID of the working hour *schedule*
166
133
  * ([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))
@@ -170,14 +137,14 @@ export interface WorkingHoursSchedule {
170
137
  * ([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)).
171
138
  * @format GUID
172
139
  */
173
- id?: string | null;
140
+ _id?: string | null;
174
141
  /**
175
142
  * Whether the working hour schedule is shared with the business. If this field
176
143
  * isn't available, the schedule isn't shared but specific for the staff member.
177
144
  */
178
145
  shared?: boolean;
179
146
  }
180
- export interface EventSchedule {
147
+ interface EventSchedule {
181
148
  /**
182
149
  * ID of the event *schedule*
183
150
  * ([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))
@@ -186,9 +153,9 @@ export interface EventSchedule {
186
153
  * ([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)).
187
154
  * @format GUID
188
155
  */
189
- id?: string | null;
156
+ _id?: string | null;
190
157
  }
191
- export interface LocationOptions {
158
+ interface LocationOptions {
192
159
  /**
193
160
  * Whether the resource is available in all *business locations*
194
161
  * ([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)).
@@ -202,7 +169,7 @@ export interface LocationOptions {
202
169
  /** Details of resource availability in specific locations. */
203
170
  specificLocationOptions?: SpecificLocation;
204
171
  }
205
- export interface SpecificLocation {
172
+ interface SpecificLocation {
206
173
  /**
207
174
  * Whether the resource is available in *business locations*
208
175
  * ([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)).
@@ -222,7 +189,7 @@ export interface SpecificLocation {
222
189
  */
223
190
  businessLocations?: BusinessLocation[];
224
191
  }
225
- export interface BusinessLocation {
192
+ interface BusinessLocation {
226
193
  /**
227
194
  * ID of the business *location*
228
195
  * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction)).
@@ -231,7 +198,7 @@ export interface BusinessLocation {
231
198
  locationId?: string | null;
232
199
  }
233
200
  /** A staff member resource can be associated with a Wix user via assignment of a permissions role in the business manager. */
234
- export interface AssociatedWixIdentity {
201
+ interface AssociatedWixIdentity {
235
202
  /**
236
203
  * Information about the identity connected to the staff member. Available only
237
204
  * if the staff member is connected to a Wix user. Learn more about *identities*
@@ -253,7 +220,7 @@ export interface AssociatedWixIdentity {
253
220
  */
254
221
  connection?: Connection;
255
222
  }
256
- export interface CommonIdentificationData extends CommonIdentificationDataIdOneOf {
223
+ interface CommonIdentificationData extends CommonIdentificationDataIdOneOf {
257
224
  /**
258
225
  * ID of a site visitor that has not logged in to the site.
259
226
  * @format GUID
@@ -281,7 +248,7 @@ export interface CommonIdentificationData extends CommonIdentificationDataIdOneO
281
248
  contactId?: string | null;
282
249
  }
283
250
  /** @oneof */
284
- export interface CommonIdentificationDataIdOneOf {
251
+ interface CommonIdentificationDataIdOneOf {
285
252
  /**
286
253
  * ID of a site visitor that has not logged in to the site.
287
254
  * @format GUID
@@ -303,14 +270,14 @@ export interface CommonIdentificationDataIdOneOf {
303
270
  */
304
271
  appId?: string;
305
272
  }
306
- export declare enum IdentityType {
273
+ declare enum IdentityType {
307
274
  UNKNOWN = "UNKNOWN",
308
275
  ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
309
276
  MEMBER = "MEMBER",
310
277
  WIX_USER = "WIX_USER",
311
278
  APP = "APP"
312
279
  }
313
- export declare enum AssociatedWixIdentityConnectionStatusEnumConnectionStatus {
280
+ declare enum AssociatedWixIdentityConnectionStatusEnumConnectionStatus {
314
281
  /** There is no information about the connection status. */
315
282
  UNKNOWN = "UNKNOWN",
316
283
  /** The Wix user is connected to the staff member. */
@@ -322,26 +289,26 @@ export declare enum AssociatedWixIdentityConnectionStatusEnumConnectionStatus {
322
289
  /** The Wix user was disconnected from the staff member. */
323
290
  DISCONNECTED = "DISCONNECTED"
324
291
  }
325
- export interface Connection {
292
+ interface Connection {
326
293
  /**
327
294
  * Connection status of the Wix user and the staff member.
328
295
  * @readonly
329
296
  */
330
297
  status?: AssociatedWixIdentityConnectionStatusEnumConnectionStatus;
331
298
  }
332
- export interface AssociatedConferencingProviders {
299
+ interface AssociatedConferencingProviders {
333
300
  /**
334
301
  * Conferencing accounts connected to the staff member.
335
302
  * @maxSize 10
336
303
  */
337
304
  items?: AssociatedConferencingProvider[];
338
305
  }
339
- export interface AssociatedConferencingProvider {
306
+ interface AssociatedConferencingProvider {
340
307
  /**
341
308
  * Conferencing provider ID. For example, Zoom integration identifier.
342
309
  * @format GUID
343
310
  */
344
- id?: string;
311
+ _id?: string;
345
312
  /**
346
313
  * Provider name. For example, Google Meet.
347
314
  * @maxLength 255
@@ -356,20 +323,20 @@ export interface AssociatedConferencingProvider {
356
323
  */
357
324
  accountEmail?: string | null;
358
325
  }
359
- export declare enum ConnectionStatus {
326
+ declare enum ConnectionStatus {
360
327
  /** Provider is connected to the site and the user is authenticated. */
361
328
  CONNECTED = "CONNECTED",
362
329
  /** Provider is not connected to the site or the user is not authenticated. */
363
330
  DISCONNECTED = "DISCONNECTED"
364
331
  }
365
- export interface AssociatedConferencingAccounts {
332
+ interface AssociatedConferencingAccounts {
366
333
  /**
367
334
  * Conferencing accounts connected to the staff member.
368
335
  * @maxSize 10
369
336
  */
370
337
  items?: AssociatedConferencingAccount[];
371
338
  }
372
- export interface AssociatedConferencingAccount extends AssociatedConferencingAccountAccountOneOf {
339
+ interface AssociatedConferencingAccount extends AssociatedConferencingAccountAccountOneOf {
373
340
  /**
374
341
  * Conferencing for the staff member, configured via an external provider.
375
342
  * For example, a Zoom integration generating a link for sessions with the staff member.
@@ -379,7 +346,7 @@ export interface AssociatedConferencingAccount extends AssociatedConferencingAcc
379
346
  customAccount?: CustomConferenceAccount;
380
347
  }
381
348
  /** @oneof */
382
- export interface AssociatedConferencingAccountAccountOneOf {
349
+ interface AssociatedConferencingAccountAccountOneOf {
383
350
  /**
384
351
  * Conferencing for the staff member, configured via an external provider.
385
352
  * For example, a Zoom integration generating a link for sessions with the staff member.
@@ -388,7 +355,7 @@ export interface AssociatedConferencingAccountAccountOneOf {
388
355
  /** Conferencing for the staff member, configured via a custom conference link. */
389
356
  customAccount?: CustomConferenceAccount;
390
357
  }
391
- export interface CustomConferenceAccount {
358
+ interface CustomConferenceAccount {
392
359
  /**
393
360
  * Conferencing URL. For example, a Google Meet link.
394
361
  * @maxLength 2083
@@ -405,7 +372,7 @@ export interface CustomConferenceAccount {
405
372
  */
406
373
  description?: string | null;
407
374
  }
408
- export interface ExtendedFields {
375
+ interface ExtendedFields {
409
376
  /**
410
377
  * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
411
378
  * The value of each key is structured according to the schema defined when the extended fields were configured.
@@ -438,13 +405,13 @@ export interface ExtendedFields {
438
405
  * }
439
406
  * }
440
407
  */
441
- export interface Tags {
408
+ interface Tags {
442
409
  /** Tags that require an additional permission in order to access them, normally not given to site members or visitors. */
443
410
  privateTags?: TagList;
444
411
  /** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */
445
412
  tags?: TagList;
446
413
  }
447
- export interface TagList {
414
+ interface TagList {
448
415
  /**
449
416
  * List of tag IDs
450
417
  * @maxSize 100
@@ -452,11 +419,11 @@ export interface TagList {
452
419
  */
453
420
  tagIds?: string[];
454
421
  }
455
- export interface StaffMemberDisconnectedFromUser {
422
+ interface StaffMemberDisconnectedFromUser {
456
423
  /** Updated staff member. */
457
424
  staffMember?: StaffMember;
458
425
  }
459
- export interface StaffMemberConnectedToUser {
426
+ interface StaffMemberConnectedToUser {
460
427
  /** Updated staff member. */
461
428
  staffMember?: StaffMember;
462
429
  }
@@ -464,11 +431,11 @@ export interface StaffMemberConnectedToUser {
464
431
  * This message is used to notify that a staff member has been fully created. For now it is only needed for
465
432
  * producing the correct Resources V1 events. A decision will be made later whether to keep it or not.
466
433
  */
467
- export interface StaffMemberFullyCreated {
434
+ interface StaffMemberFullyCreated {
468
435
  /** Created staff member. */
469
436
  staffMember?: StaffMember;
470
437
  }
471
- export interface CreateStaffMemberRequest {
438
+ interface CreateStaffMemberRequest {
472
439
  /** Staff member to create. */
473
440
  staffMember: StaffMember;
474
441
  /**
@@ -477,17 +444,17 @@ export interface CreateStaffMemberRequest {
477
444
  */
478
445
  fields?: RequestedFields[];
479
446
  }
480
- export declare enum RequestedFields {
447
+ declare enum RequestedFields {
481
448
  /** Includes `resource` in the response. */
482
449
  RESOURCE_DETAILS = "RESOURCE_DETAILS",
483
450
  /** Includes `associatedIdentityStatus` in the response. */
484
451
  ASSOCIATED_IDENTITY_STATUS = "ASSOCIATED_IDENTITY_STATUS"
485
452
  }
486
- export interface CreateStaffMemberResponse {
453
+ interface CreateStaffMemberResponse {
487
454
  /** Created staff member. */
488
455
  staffMember?: StaffMember;
489
456
  }
490
- export interface GetStaffMemberRequest {
457
+ interface GetStaffMemberRequest {
491
458
  /**
492
459
  * ID of the staff member to retrieve.
493
460
  * @format GUID
@@ -499,11 +466,11 @@ export interface GetStaffMemberRequest {
499
466
  */
500
467
  fields?: RequestedFields[];
501
468
  }
502
- export interface GetStaffMemberResponse {
469
+ interface GetStaffMemberResponse {
503
470
  /** Retrieved staff member. */
504
471
  staffMember?: StaffMember;
505
472
  }
506
- export interface GetDeletedStaffMemberRequest {
473
+ interface GetDeletedStaffMemberRequest {
507
474
  /**
508
475
  * ID of the deleted staff member to retrieve.
509
476
  * @format GUID
@@ -515,11 +482,11 @@ export interface GetDeletedStaffMemberRequest {
515
482
  */
516
483
  fields?: RequestedFields[];
517
484
  }
518
- export interface GetDeletedStaffMemberResponse {
485
+ interface GetDeletedStaffMemberResponse {
519
486
  /** Retrieved staff member. */
520
487
  staffMember?: StaffMember;
521
488
  }
522
- export interface ListDeletedStaffMembersRequest {
489
+ interface ListDeletedStaffMembersRequest {
523
490
  /**
524
491
  * IDs of the deleted staff members to retrieve.
525
492
  *
@@ -536,7 +503,7 @@ export interface ListDeletedStaffMembersRequest {
536
503
  */
537
504
  fields?: RequestedFields[];
538
505
  }
539
- export interface CursorPaging {
506
+ interface CursorPaging {
540
507
  /**
541
508
  * Number of items to load.
542
509
  * @max 100
@@ -552,13 +519,13 @@ export interface CursorPaging {
552
519
  */
553
520
  cursor?: string | null;
554
521
  }
555
- export interface ListDeletedStaffMembersResponse {
522
+ interface ListDeletedStaffMembersResponse {
556
523
  /** Retrieved staff members. */
557
524
  staffMembers?: StaffMember[];
558
525
  /** Paging metadata. */
559
526
  pagingMetadata?: CursorPagingMetadata;
560
527
  }
561
- export interface CursorPagingMetadata {
528
+ interface CursorPagingMetadata {
562
529
  /** Number of items returned in the response. */
563
530
  count?: number | null;
564
531
  /** Offset that was requested. */
@@ -570,7 +537,7 @@ export interface CursorPagingMetadata {
570
537
  */
571
538
  hasNext?: boolean | null;
572
539
  }
573
- export interface Cursors {
540
+ interface Cursors {
574
541
  /**
575
542
  * Cursor pointing to next page in the list of results.
576
543
  * @maxLength 16000
@@ -582,16 +549,16 @@ export interface Cursors {
582
549
  */
583
550
  prev?: string | null;
584
551
  }
585
- export interface RemoveStaffMemberFromTrashBinRequest {
552
+ interface RemoveStaffMemberFromTrashBinRequest {
586
553
  /**
587
554
  * ID of the staff member to delete permanently.
588
555
  * @format GUID
589
556
  */
590
557
  staffMemberId?: string;
591
558
  }
592
- export interface RemoveStaffMemberFromTrashBinResponse {
559
+ interface RemoveStaffMemberFromTrashBinResponse {
593
560
  }
594
- export interface RestoreStaffMemberFromTrashBinRequest {
561
+ interface RestoreStaffMemberFromTrashBinRequest {
595
562
  /**
596
563
  * ID of the staff member to restore from the trash bin.
597
564
  * @format GUID
@@ -603,11 +570,11 @@ export interface RestoreStaffMemberFromTrashBinRequest {
603
570
  */
604
571
  fields?: RequestedFields[];
605
572
  }
606
- export interface RestoreStaffMemberFromTrashBinResponse {
573
+ interface RestoreStaffMemberFromTrashBinResponse {
607
574
  /** Restored staff member. */
608
575
  staffMember?: StaffMember;
609
576
  }
610
- export interface UpdateStaffMemberRequest {
577
+ interface UpdateStaffMemberRequest {
611
578
  /** Staff member to update. */
612
579
  staffMember: StaffMember;
613
580
  /**
@@ -616,20 +583,20 @@ export interface UpdateStaffMemberRequest {
616
583
  */
617
584
  fields?: RequestedFields[];
618
585
  }
619
- export interface UpdateStaffMemberResponse {
586
+ interface UpdateStaffMemberResponse {
620
587
  /** Updated staff member. */
621
588
  staffMember?: StaffMember;
622
589
  }
623
- export interface DeleteStaffMemberRequest {
590
+ interface DeleteStaffMemberRequest {
624
591
  /**
625
592
  * ID of the staff member to delete.
626
593
  * @format GUID
627
594
  */
628
595
  staffMemberId: string;
629
596
  }
630
- export interface DeleteStaffMemberResponse {
597
+ interface DeleteStaffMemberResponse {
631
598
  }
632
- export interface QueryStaffMembersRequest {
599
+ interface QueryStaffMembersRequest {
633
600
  /**
634
601
  * Information about filters, paging, and sorting. See the article about
635
602
  * booking policy filters
@@ -643,7 +610,7 @@ export interface QueryStaffMembersRequest {
643
610
  */
644
611
  fields?: RequestedFields[];
645
612
  }
646
- export interface CursorQuery extends CursorQueryPagingMethodOneOf {
613
+ interface CursorQuery extends CursorQueryPagingMethodOneOf {
647
614
  /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
648
615
  cursorPaging?: CursorPaging;
649
616
  /**
@@ -663,11 +630,11 @@ export interface CursorQuery extends CursorQueryPagingMethodOneOf {
663
630
  sort?: Sorting[];
664
631
  }
665
632
  /** @oneof */
666
- export interface CursorQueryPagingMethodOneOf {
633
+ interface CursorQueryPagingMethodOneOf {
667
634
  /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
668
635
  cursorPaging?: CursorPaging;
669
636
  }
670
- export interface Sorting {
637
+ interface Sorting {
671
638
  /**
672
639
  * Name of the field to sort by.
673
640
  * @maxLength 512
@@ -676,17 +643,17 @@ export interface Sorting {
676
643
  /** Sort order. */
677
644
  order?: SortOrder;
678
645
  }
679
- export declare enum SortOrder {
646
+ declare enum SortOrder {
680
647
  ASC = "ASC",
681
648
  DESC = "DESC"
682
649
  }
683
- export interface QueryStaffMembersResponse {
650
+ interface QueryStaffMembersResponse {
684
651
  /** Retrieved staff members. */
685
652
  staffMembers?: StaffMember[];
686
653
  /** Paging metadata. */
687
654
  pagingMetadata?: CursorPagingMetadata;
688
655
  }
689
- export interface QueryStaffMembersMultiLanguageRequest {
656
+ interface QueryStaffMembersMultiLanguageRequest {
690
657
  /**
691
658
  * Information about filters, paging, and sorting. See the article about
692
659
  * booking policy filters
@@ -700,7 +667,7 @@ export interface QueryStaffMembersMultiLanguageRequest {
700
667
  */
701
668
  fields?: RequestedFields[];
702
669
  }
703
- export interface QueryStaffMembersMultiLanguageResponse {
670
+ interface QueryStaffMembersMultiLanguageResponse {
704
671
  /** Retrieved staff members. */
705
672
  staffMembers?: StaffMember[];
706
673
  /** The retrieved staff members in the requested language according to the provided linguist aspect. */
@@ -708,7 +675,7 @@ export interface QueryStaffMembersMultiLanguageResponse {
708
675
  /** Paging metadata, including offset and count. */
709
676
  pagingMetadata?: CursorPagingMetadata;
710
677
  }
711
- export interface CountStaffMembersRequest {
678
+ interface CountStaffMembersRequest {
712
679
  /**
713
680
  * Filter to base the count upon. See the *supported filters article*
714
681
  * ([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))
@@ -716,11 +683,11 @@ export interface CountStaffMembersRequest {
716
683
  */
717
684
  filter?: Record<string, any> | null;
718
685
  }
719
- export interface CountStaffMembersResponse {
686
+ interface CountStaffMembersResponse {
720
687
  /** Total number of staff members matching the given filter. */
721
688
  count?: number;
722
689
  }
723
- export interface ConnectStaffMemberToUserRequest {
690
+ interface ConnectStaffMemberToUserRequest {
724
691
  /**
725
692
  * ID of the staff member to connect to the Wix user.
726
693
  * @format GUID
@@ -740,11 +707,11 @@ export interface ConnectStaffMemberToUserRequest {
740
707
  */
741
708
  fields?: RequestedFields[];
742
709
  }
743
- export interface ConnectStaffMemberToUserResponse {
710
+ interface ConnectStaffMemberToUserResponse {
744
711
  /** Updated staff member. */
745
712
  staffMember?: StaffMember;
746
713
  }
747
- export interface SearchStaffMembersRequest {
714
+ interface SearchStaffMembersRequest {
748
715
  /**
749
716
  * Search details. See the *supported filters article*
750
717
  * ([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))
@@ -757,7 +724,7 @@ export interface SearchStaffMembersRequest {
757
724
  */
758
725
  fields?: RequestedFields[];
759
726
  }
760
- export interface CursorSearch extends CursorSearchPagingMethodOneOf {
727
+ interface CursorSearch extends CursorSearchPagingMethodOneOf {
761
728
  /** Cursor pointing to page of results. Can't be used together with 'paging'. 'cursor_paging.cursor' can not be used together with 'filter' or 'sort' */
762
729
  cursorPaging?: CursorPaging;
763
730
  /** A filter object. See documentation [here](https://bo.wix.com/wix-docs/rnd/platformization-guidelines/api-query-language#platformization-guidelines_api-query-language_defining-in-protobuf) */
@@ -771,11 +738,11 @@ export interface CursorSearch extends CursorSearchPagingMethodOneOf {
771
738
  search?: SearchDetails;
772
739
  }
773
740
  /** @oneof */
774
- export interface CursorSearchPagingMethodOneOf {
741
+ interface CursorSearchPagingMethodOneOf {
775
742
  /** Cursor pointing to page of results. Can't be used together with 'paging'. 'cursor_paging.cursor' can not be used together with 'filter' or 'sort' */
776
743
  cursorPaging?: CursorPaging;
777
744
  }
778
- export interface SearchDetails {
745
+ interface SearchDetails {
779
746
  /** Defines how separate search terms in `expression` are combined */
780
747
  mode?: Mode;
781
748
  /**
@@ -792,13 +759,13 @@ export interface SearchDetails {
792
759
  /** Flag if should use auto fuzzy search (allowing typos by a managed proximity algorithm) */
793
760
  fuzzy?: boolean;
794
761
  }
795
- export declare enum Mode {
762
+ declare enum Mode {
796
763
  /** Any of the search terms must be present */
797
764
  OR = "OR",
798
765
  /** All search terms must be present */
799
766
  AND = "AND"
800
767
  }
801
- export interface SearchStaffMembersResponse {
768
+ interface SearchStaffMembersResponse {
802
769
  /** Retrieved staff members matching the search criteria. */
803
770
  staffMembers?: StaffMember[];
804
771
  /** Paging metadata. Including paging, offset, and cursor. */
@@ -806,14 +773,14 @@ export interface SearchStaffMembersResponse {
806
773
  /** Aggregation data results, resulting from the aggregations stated in the request. */
807
774
  aggregationData?: AggregationData;
808
775
  }
809
- export interface AggregationData {
776
+ interface AggregationData {
810
777
  /**
811
778
  * key = aggregation name (as derived from search request)
812
779
  * @maxSize 10000
813
780
  */
814
781
  results?: AggregationResults[];
815
782
  }
816
- export interface ValueAggregationResult {
783
+ interface ValueAggregationResult {
817
784
  /**
818
785
  * Value of the field
819
786
  * @maxLength 100
@@ -822,7 +789,7 @@ export interface ValueAggregationResult {
822
789
  /** Count of entities with this value */
823
790
  count?: number;
824
791
  }
825
- export interface RangeAggregationResult {
792
+ interface RangeAggregationResult {
826
793
  /** Inclusive lower bound of the range */
827
794
  from?: number | null;
828
795
  /** Exclusive upper bound of the range */
@@ -830,13 +797,13 @@ export interface RangeAggregationResult {
830
797
  /** Count of entities in this range */
831
798
  count?: number;
832
799
  }
833
- export declare enum ScalarType {
800
+ declare enum ScalarType {
834
801
  UNKNOWN_SCALAR_TYPE = "UNKNOWN_SCALAR_TYPE",
835
802
  COUNT_DISTINCT = "COUNT_DISTINCT",
836
803
  MIN = "MIN",
837
804
  MAX = "MAX"
838
805
  }
839
- export interface NestedAggregationResults extends NestedAggregationResultsResultOneOf {
806
+ interface NestedAggregationResults extends NestedAggregationResultsResultOneOf {
840
807
  /** Value aggregation results */
841
808
  values?: ValueResults;
842
809
  /** Range aggregation results */
@@ -857,7 +824,7 @@ export interface NestedAggregationResults extends NestedAggregationResultsResult
857
824
  fieldPath?: string;
858
825
  }
859
826
  /** @oneof */
860
- export interface NestedAggregationResultsResultOneOf {
827
+ interface NestedAggregationResultsResultOneOf {
861
828
  /** Value aggregation results */
862
829
  values?: ValueResults;
863
830
  /** Range aggregation results */
@@ -865,33 +832,33 @@ export interface NestedAggregationResultsResultOneOf {
865
832
  /** Scalar aggregation results */
866
833
  scalar?: AggregationResultsScalarResult;
867
834
  }
868
- export declare enum AggregationType {
835
+ declare enum AggregationType {
869
836
  UNKNOWN_AGGREGATION_TYPE = "UNKNOWN_AGGREGATION_TYPE",
870
837
  VALUE = "VALUE",
871
838
  RANGE = "RANGE",
872
839
  SCALAR = "SCALAR"
873
840
  }
874
- export interface ValueResults {
841
+ interface ValueResults {
875
842
  /**
876
843
  * List of value aggregations
877
844
  * @maxSize 250
878
845
  */
879
846
  results?: ValueAggregationResult[];
880
847
  }
881
- export interface RangeResults {
848
+ interface RangeResults {
882
849
  /**
883
850
  * List of ranges returned in same order as requested
884
851
  * @maxSize 50
885
852
  */
886
853
  results?: RangeAggregationResult[];
887
854
  }
888
- export interface AggregationResultsScalarResult {
855
+ interface AggregationResultsScalarResult {
889
856
  /** Type of scalar aggregation */
890
857
  type?: ScalarType;
891
858
  /** Value of the scalar aggregation */
892
859
  value?: number;
893
860
  }
894
- export interface NestedValueAggregationResult {
861
+ interface NestedValueAggregationResult {
895
862
  /**
896
863
  * Value of the field
897
864
  * @maxLength 1000
@@ -900,7 +867,7 @@ export interface NestedValueAggregationResult {
900
867
  /** Nested aggregations */
901
868
  nestedResults?: NestedAggregationResults;
902
869
  }
903
- export interface ValueResult {
870
+ interface ValueResult {
904
871
  /**
905
872
  * Value of the field
906
873
  * @maxLength 1000
@@ -909,7 +876,7 @@ export interface ValueResult {
909
876
  /** Count of entities with this value */
910
877
  count?: number | null;
911
878
  }
912
- export interface RangeResult {
879
+ interface RangeResult {
913
880
  /** Inclusive lower bound of the range */
914
881
  from?: number | null;
915
882
  /** Exclusive upper bound of the range */
@@ -917,11 +884,11 @@ export interface RangeResult {
917
884
  /** Count of entities in this range */
918
885
  count?: number | null;
919
886
  }
920
- export interface ScalarResult {
887
+ interface ScalarResult {
921
888
  /** Value of the scalar aggregation */
922
889
  value?: number;
923
890
  }
924
- export interface NestedResultValue extends NestedResultValueResultOneOf {
891
+ interface NestedResultValue extends NestedResultValueResultOneOf {
925
892
  /** Value aggregation result */
926
893
  value?: ValueResult;
927
894
  /** Range aggregation result */
@@ -932,7 +899,7 @@ export interface NestedResultValue extends NestedResultValueResultOneOf {
932
899
  dateHistogram?: ValueResult;
933
900
  }
934
901
  /** @oneof */
935
- export interface NestedResultValueResultOneOf {
902
+ interface NestedResultValueResultOneOf {
936
903
  /** Value aggregation result */
937
904
  value?: ValueResult;
938
905
  /** Range aggregation result */
@@ -942,11 +909,11 @@ export interface NestedResultValueResultOneOf {
942
909
  /** Date histogram aggregation result */
943
910
  dateHistogram?: ValueResult;
944
911
  }
945
- export interface Results {
912
+ interface Results {
946
913
  /** List of nested aggregations */
947
914
  results?: Record<string, NestedResultValue>;
948
915
  }
949
- export interface DateHistogramResult {
916
+ interface DateHistogramResult {
950
917
  /**
951
918
  * Date in ISO 8601 format
952
919
  * @maxLength 100
@@ -955,14 +922,14 @@ export interface DateHistogramResult {
955
922
  /** Count of documents in the bucket */
956
923
  count?: number;
957
924
  }
958
- export interface GroupByValueResults {
925
+ interface GroupByValueResults {
959
926
  /**
960
927
  * List of value aggregations
961
928
  * @maxSize 1000
962
929
  */
963
930
  results?: NestedValueAggregationResult[];
964
931
  }
965
- export interface DateHistogramResults {
932
+ interface DateHistogramResults {
966
933
  /**
967
934
  * List of date histogram aggregations
968
935
  * @maxSize 200
@@ -973,14 +940,14 @@ export interface DateHistogramResults {
973
940
  * Results of `NESTED` aggregation type in a flattened form
974
941
  * aggregations in resulting array are keyed by requested aggregation `name`.
975
942
  */
976
- export interface NestedResults {
943
+ interface NestedResults {
977
944
  /**
978
945
  * List of nested aggregations
979
946
  * @maxSize 1000
980
947
  */
981
948
  results?: Results[];
982
949
  }
983
- export interface AggregationResults extends AggregationResultsResultOneOf {
950
+ interface AggregationResults extends AggregationResultsResultOneOf {
984
951
  /** Value aggregation results */
985
952
  values?: ValueResults;
986
953
  /** Range aggregation results */
@@ -1007,7 +974,7 @@ export interface AggregationResults extends AggregationResultsResultOneOf {
1007
974
  fieldPath?: string;
1008
975
  }
1009
976
  /** @oneof */
1010
- export interface AggregationResultsResultOneOf {
977
+ interface AggregationResultsResultOneOf {
1011
978
  /** Value aggregation results */
1012
979
  values?: ValueResults;
1013
980
  /** Range aggregation results */
@@ -1021,7 +988,7 @@ export interface AggregationResultsResultOneOf {
1021
988
  /** Nested aggregation results */
1022
989
  nested?: NestedResults;
1023
990
  }
1024
- export interface DisconnectStaffMemberFromUserRequest {
991
+ interface DisconnectStaffMemberFromUserRequest {
1025
992
  /**
1026
993
  * ID of the staff member to disconnect from its Wix user.
1027
994
  * @format GUID
@@ -1033,11 +1000,11 @@ export interface DisconnectStaffMemberFromUserRequest {
1033
1000
  */
1034
1001
  fields?: RequestedFields[];
1035
1002
  }
1036
- export interface DisconnectStaffMemberFromUserResponse {
1003
+ interface DisconnectStaffMemberFromUserResponse {
1037
1004
  /** Updated staff member. */
1038
1005
  staffMember?: StaffMember;
1039
1006
  }
1040
- export interface AssignWorkingHoursScheduleRequest {
1007
+ interface AssignWorkingHoursScheduleRequest {
1041
1008
  /**
1042
1009
  * ID of the staff member to assign the schedule to.
1043
1010
  * @format GUID
@@ -1059,11 +1026,11 @@ export interface AssignWorkingHoursScheduleRequest {
1059
1026
  */
1060
1027
  fields?: RequestedFields[];
1061
1028
  }
1062
- export interface AssignWorkingHoursScheduleResponse {
1029
+ interface AssignWorkingHoursScheduleResponse {
1063
1030
  /** Updated staff member. */
1064
1031
  staffMember?: StaffMember;
1065
1032
  }
1066
- export interface AssignCustomScheduleRequest {
1033
+ interface AssignCustomScheduleRequest {
1067
1034
  /**
1068
1035
  * ID of the staff member for which to assign a working hour schedule.
1069
1036
  * @format GUID
@@ -1082,11 +1049,11 @@ export interface AssignCustomScheduleRequest {
1082
1049
  */
1083
1050
  fields?: RequestedFields[];
1084
1051
  }
1085
- export interface AssignCustomScheduleResponse {
1052
+ interface AssignCustomScheduleResponse {
1086
1053
  /** Updated staff member. */
1087
1054
  staffMember?: StaffMember;
1088
1055
  }
1089
- export interface BulkUpdateStaffMemberTagsRequest {
1056
+ interface BulkUpdateStaffMemberTagsRequest {
1090
1057
  /**
1091
1058
  * IDs of staff members to update tags for.
1092
1059
  * @minSize 1
@@ -1099,7 +1066,7 @@ export interface BulkUpdateStaffMemberTagsRequest {
1099
1066
  /** Tags to remove from the staff members. */
1100
1067
  unassignTags?: Tags;
1101
1068
  }
1102
- export interface BulkUpdateStaffMemberTagsResponse {
1069
+ interface BulkUpdateStaffMemberTagsResponse {
1103
1070
  /**
1104
1071
  * List of update results.
1105
1072
  * @minSize 1
@@ -1109,12 +1076,12 @@ export interface BulkUpdateStaffMemberTagsResponse {
1109
1076
  /** Bulk action metadata. */
1110
1077
  bulkActionMetadata?: BulkActionMetadata;
1111
1078
  }
1112
- export interface ItemMetadata {
1079
+ interface ItemMetadata {
1113
1080
  /**
1114
1081
  * Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).
1115
1082
  * @format GUID
1116
1083
  */
1117
- id?: string | null;
1084
+ _id?: string | null;
1118
1085
  /** Index of the item within the request array. Allows for correlation between request and response items. */
1119
1086
  originalIndex?: number;
1120
1087
  /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
@@ -1122,7 +1089,7 @@ export interface ItemMetadata {
1122
1089
  /** Details about the error in case of failure. */
1123
1090
  error?: ApplicationError;
1124
1091
  }
1125
- export interface ApplicationError {
1092
+ interface ApplicationError {
1126
1093
  /** Error code. */
1127
1094
  code?: string;
1128
1095
  /** Description of the error. */
@@ -1130,11 +1097,11 @@ export interface ApplicationError {
1130
1097
  /** Data related to the error. */
1131
1098
  data?: Record<string, any> | null;
1132
1099
  }
1133
- export interface BulkUpdateStaffMemberTagsResult {
1100
+ interface BulkUpdateStaffMemberTagsResult {
1134
1101
  /** Metadata about an individual update operation. */
1135
1102
  itemMetadata?: ItemMetadata;
1136
1103
  }
1137
- export interface BulkActionMetadata {
1104
+ interface BulkActionMetadata {
1138
1105
  /** Number of items that were successfully processed. */
1139
1106
  totalSuccesses?: number;
1140
1107
  /** Number of items that couldn't be processed. */
@@ -1142,7 +1109,7 @@ export interface BulkActionMetadata {
1142
1109
  /** Number of failures without details because detailed failure threshold was exceeded. */
1143
1110
  undetailedFailures?: number;
1144
1111
  }
1145
- export interface BulkUpdateStaffMemberTagsByFilterRequest {
1112
+ interface BulkUpdateStaffMemberTagsByFilterRequest {
1146
1113
  /**
1147
1114
  * Filter to base the update upon. See the *supported filters article*
1148
1115
  * ([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))
@@ -1154,14 +1121,14 @@ export interface BulkUpdateStaffMemberTagsByFilterRequest {
1154
1121
  /** Tags to remove from the staff members. */
1155
1122
  unassignTags?: Tags;
1156
1123
  }
1157
- export interface BulkUpdateStaffMemberTagsByFilterResponse {
1124
+ interface BulkUpdateStaffMemberTagsByFilterResponse {
1158
1125
  /**
1159
1126
  * Job ID for the bulk update operation.
1160
1127
  * @format GUID
1161
1128
  */
1162
1129
  jobId?: string;
1163
1130
  }
1164
- export interface RestoreStaffRequest {
1131
+ interface RestoreStaffRequest {
1165
1132
  /**
1166
1133
  * ID of the staff member to restore.
1167
1134
  * @format GUID
@@ -1173,11 +1140,11 @@ export interface RestoreStaffRequest {
1173
1140
  */
1174
1141
  fields?: RequestedFields[];
1175
1142
  }
1176
- export interface RestoreStaffResponse {
1143
+ interface RestoreStaffResponse {
1177
1144
  /** Restored staff member. */
1178
1145
  staffMember?: StaffMember;
1179
1146
  }
1180
- export interface ImportStaffMemberRequest {
1147
+ interface ImportStaffMemberRequest {
1181
1148
  /** Staff member to create. */
1182
1149
  staffMember?: StaffMember;
1183
1150
  /**
@@ -1186,20 +1153,20 @@ export interface ImportStaffMemberRequest {
1186
1153
  */
1187
1154
  fields?: RequestedFields[];
1188
1155
  }
1189
- export interface ImportStaffMemberResponse {
1156
+ interface ImportStaffMemberResponse {
1190
1157
  /** Imported staff member. */
1191
1158
  staffMember?: StaffMember;
1192
1159
  }
1193
- export interface Empty {
1160
+ interface Empty {
1194
1161
  }
1195
- export interface PolicyRemovedFromContributor {
1162
+ interface PolicyRemovedFromContributor {
1196
1163
  /** @format GUID */
1197
1164
  accountId?: string;
1198
1165
  /** @format GUID */
1199
1166
  metaSiteId?: string;
1200
1167
  policyIds?: string[];
1201
1168
  }
1202
- export interface PolicyUpdatedForContributor {
1169
+ interface PolicyUpdatedForContributor {
1203
1170
  /** @format GUID */
1204
1171
  accountId?: string;
1205
1172
  /** @format GUID */
@@ -1207,7 +1174,7 @@ export interface PolicyUpdatedForContributor {
1207
1174
  oldPolicyIds?: string[];
1208
1175
  newPolicyIds?: string[];
1209
1176
  }
1210
- export interface DomainEvent extends DomainEventBodyOneOf {
1177
+ interface DomainEvent extends DomainEventBodyOneOf {
1211
1178
  createdEvent?: EntityCreatedEvent;
1212
1179
  updatedEvent?: EntityUpdatedEvent;
1213
1180
  deletedEvent?: EntityDeletedEvent;
@@ -1216,7 +1183,7 @@ export interface DomainEvent extends DomainEventBodyOneOf {
1216
1183
  * Unique event ID.
1217
1184
  * Allows clients to ignore duplicate webhooks.
1218
1185
  */
1219
- id?: string;
1186
+ _id?: string;
1220
1187
  /**
1221
1188
  * Assumes actions are also always typed to an entity_type
1222
1189
  * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
@@ -1250,36 +1217,34 @@ export interface DomainEvent extends DomainEventBodyOneOf {
1250
1217
  entityEventSequence?: string | null;
1251
1218
  }
1252
1219
  /** @oneof */
1253
- export interface DomainEventBodyOneOf {
1220
+ interface DomainEventBodyOneOf {
1254
1221
  createdEvent?: EntityCreatedEvent;
1255
1222
  updatedEvent?: EntityUpdatedEvent;
1256
1223
  deletedEvent?: EntityDeletedEvent;
1257
1224
  actionEvent?: ActionEvent;
1258
1225
  }
1259
- export interface EntityCreatedEvent {
1260
- entityAsJson?: string;
1261
- /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
1262
- restoreInfo?: RestoreInfo;
1226
+ interface EntityCreatedEvent {
1227
+ entity?: string;
1263
1228
  }
1264
- export interface RestoreInfo {
1229
+ interface RestoreInfo {
1265
1230
  deletedDate?: Date | null;
1266
1231
  }
1267
- export interface EntityUpdatedEvent {
1232
+ interface EntityUpdatedEvent {
1268
1233
  /**
1269
1234
  * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
1270
1235
  * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
1271
1236
  * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
1272
1237
  */
1273
- currentEntityAsJson?: string;
1238
+ currentEntity?: string;
1274
1239
  }
1275
- export interface EntityDeletedEvent {
1240
+ interface EntityDeletedEvent {
1276
1241
  /** Entity that was deleted */
1277
- deletedEntityAsJson?: string | null;
1242
+ deletedEntity?: string | null;
1278
1243
  }
1279
- export interface ActionEvent {
1280
- bodyAsJson?: string;
1244
+ interface ActionEvent {
1245
+ body?: string;
1281
1246
  }
1282
- export interface ScheduleNotification extends ScheduleNotificationEventOneOf {
1247
+ interface ScheduleNotification extends ScheduleNotificationEventOneOf {
1283
1248
  scheduleCreated?: ScheduleCreated;
1284
1249
  scheduleUpdated?: ScheduleUpdated;
1285
1250
  scheduleCancelled?: ScheduleCancelled;
@@ -1306,7 +1271,7 @@ export interface ScheduleNotification extends ScheduleNotificationEventOneOf {
1306
1271
  instanceId?: string;
1307
1272
  }
1308
1273
  /** @oneof */
1309
- export interface ScheduleNotificationEventOneOf {
1274
+ interface ScheduleNotificationEventOneOf {
1310
1275
  scheduleCreated?: ScheduleCreated;
1311
1276
  scheduleUpdated?: ScheduleUpdated;
1312
1277
  scheduleCancelled?: ScheduleCancelled;
@@ -1323,12 +1288,12 @@ export interface ScheduleNotificationEventOneOf {
1323
1288
  */
1324
1289
  scheduleUnassignedFromUser?: ScheduleUnassignedFromUser;
1325
1290
  }
1326
- export interface ScheduleCreated {
1291
+ interface ScheduleCreated {
1327
1292
  schedule?: Schedule;
1328
1293
  }
1329
- export interface Schedule {
1294
+ interface Schedule {
1330
1295
  /** Schedule ID. */
1331
- id?: string;
1296
+ _id?: string;
1332
1297
  /** ID of the schedule's owner entity. This may be a resource ID or a service ID. */
1333
1298
  scheduleOwnerId?: string | null;
1334
1299
  /**
@@ -1427,12 +1392,12 @@ export interface Schedule {
1427
1392
  */
1428
1393
  calendarConference?: CalendarConference;
1429
1394
  }
1430
- export interface RecurringInterval {
1395
+ interface RecurringInterval {
1431
1396
  /**
1432
1397
  * The recurring interval identifier.
1433
1398
  * @readonly
1434
1399
  */
1435
- id?: string;
1400
+ _id?: string;
1436
1401
  /** The start time of the recurring interval. Required. */
1437
1402
  start?: Date | null;
1438
1403
  /** The end time of the recurring interval. Optional. Empty value indicates that there is no end time. */
@@ -1446,7 +1411,7 @@ export interface RecurringInterval {
1446
1411
  /** The type of recurring interval. */
1447
1412
  intervalType?: RecurringIntervalType;
1448
1413
  }
1449
- export interface Interval {
1414
+ interface Interval {
1450
1415
  /** The day the interval occurs. Optional. The default is the day of the recurring interval's start time. */
1451
1416
  daysOfWeek?: Day;
1452
1417
  /**
@@ -1462,7 +1427,7 @@ export interface Interval {
1462
1427
  /** The duration of the interval in minutes. Required. Part of the session end time calculation. */
1463
1428
  duration?: number;
1464
1429
  }
1465
- export declare enum Day {
1430
+ declare enum Day {
1466
1431
  /** Undefined. */
1467
1432
  UNDEFINED = "UNDEFINED",
1468
1433
  /** Monday. */
@@ -1480,7 +1445,7 @@ export declare enum Day {
1480
1445
  /** Sunday. */
1481
1446
  SUN = "SUN"
1482
1447
  }
1483
- export interface Frequency {
1448
+ interface Frequency {
1484
1449
  /**
1485
1450
  * The frequency of the recurrence in weeks. i.e. when this value is 4, the interval occurs every 4 weeks. Optional. The default is 1. minimum: 1, maximum: 52.
1486
1451
  * @min 1
@@ -1488,7 +1453,7 @@ export interface Frequency {
1488
1453
  */
1489
1454
  repetition?: number | null;
1490
1455
  }
1491
- export interface LinkedSchedule {
1456
+ interface LinkedSchedule {
1492
1457
  /**
1493
1458
  * Schedule ID.
1494
1459
  * @format GUID
@@ -1502,14 +1467,14 @@ export interface LinkedSchedule {
1502
1467
  */
1503
1468
  scheduleOwnerId?: string;
1504
1469
  }
1505
- export declare enum Transparency {
1470
+ declare enum Transparency {
1506
1471
  UNDEFINED = "UNDEFINED",
1507
1472
  /** The schedule can have available slots during the linked schedule's sessions. */
1508
1473
  FREE = "FREE",
1509
1474
  /** The schedule can't have available slots during the linked schedule's sessions. */
1510
1475
  BUSY = "BUSY"
1511
1476
  }
1512
- export declare enum RecurringIntervalType {
1477
+ declare enum RecurringIntervalType {
1513
1478
  /** The default value. Sessions for this interval will be of type EVENT. */
1514
1479
  UNDEFINED = "UNDEFINED",
1515
1480
  /** A recurring interval of events. */
@@ -1519,7 +1484,7 @@ export declare enum RecurringIntervalType {
1519
1484
  /** A recurring interval for availability. */
1520
1485
  AVAILABILITY = "AVAILABILITY"
1521
1486
  }
1522
- export interface Location {
1487
+ interface Location {
1523
1488
  /**
1524
1489
  * Location type.
1525
1490
  * One of:
@@ -1536,14 +1501,14 @@ export interface Location {
1536
1501
  /** Custom address, used when locationType is `"OWNER_CUSTOM"`. Might be used when locationType is `"CUSTOM"` in case the owner sets a custom address for the session which is different from the default. */
1537
1502
  customAddress?: Address;
1538
1503
  }
1539
- export declare enum LocationType {
1504
+ declare enum LocationType {
1540
1505
  UNDEFINED = "UNDEFINED",
1541
1506
  OWNER_BUSINESS = "OWNER_BUSINESS",
1542
1507
  OWNER_CUSTOM = "OWNER_CUSTOM",
1543
1508
  CUSTOM = "CUSTOM"
1544
1509
  }
1545
1510
  /** Physical address */
1546
- export interface Address extends AddressStreetOneOf {
1511
+ interface Address extends AddressStreetOneOf {
1547
1512
  /** Street name, number and apartment number. */
1548
1513
  streetAddress?: StreetAddress;
1549
1514
  /** Main address line, usually street and number, as free text. */
@@ -1573,13 +1538,13 @@ export interface Address extends AddressStreetOneOf {
1573
1538
  subdivisions?: Subdivision[];
1574
1539
  }
1575
1540
  /** @oneof */
1576
- export interface AddressStreetOneOf {
1541
+ interface AddressStreetOneOf {
1577
1542
  /** Street name, number and apartment number. */
1578
1543
  streetAddress?: StreetAddress;
1579
1544
  /** Main address line, usually street and number, as free text. */
1580
1545
  addressLine?: string | null;
1581
1546
  }
1582
- export interface StreetAddress {
1547
+ interface StreetAddress {
1583
1548
  /** Street number. */
1584
1549
  number?: string;
1585
1550
  /** Street name. */
@@ -1587,25 +1552,25 @@ export interface StreetAddress {
1587
1552
  /** Apartment number. */
1588
1553
  apt?: string;
1589
1554
  }
1590
- export interface AddressLocation {
1555
+ interface AddressLocation {
1591
1556
  /** Address latitude. */
1592
1557
  latitude?: number | null;
1593
1558
  /** Address longitude. */
1594
1559
  longitude?: number | null;
1595
1560
  }
1596
- export interface Subdivision {
1561
+ interface Subdivision {
1597
1562
  /** Subdivision code. Usually state, region, prefecture or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). */
1598
1563
  code?: string;
1599
1564
  /** Subdivision full name. */
1600
1565
  name?: string;
1601
1566
  }
1602
- export interface LocationsLocation {
1567
+ interface LocationsLocation {
1603
1568
  /**
1604
1569
  * Location ID.
1605
1570
  * @format GUID
1606
1571
  * @readonly
1607
1572
  */
1608
- id?: string | null;
1573
+ _id?: string | null;
1609
1574
  /**
1610
1575
  * Location name.
1611
1576
  * @maxLength 150
@@ -1671,12 +1636,12 @@ export interface LocationsLocation {
1671
1636
  locationTypes?: LocationsLocationType[];
1672
1637
  }
1673
1638
  /** For future use */
1674
- export declare enum LocationStatus {
1639
+ declare enum LocationStatus {
1675
1640
  ACTIVE = "ACTIVE",
1676
1641
  INACTIVE = "INACTIVE"
1677
1642
  }
1678
1643
  /** For future use */
1679
- export declare enum LocationsLocationType {
1644
+ declare enum LocationsLocationType {
1680
1645
  UNKNOWN = "UNKNOWN",
1681
1646
  BRANCH = "BRANCH",
1682
1647
  OFFICES = "OFFICES",
@@ -1684,7 +1649,7 @@ export declare enum LocationsLocationType {
1684
1649
  HEADQUARTERS = "HEADQUARTERS",
1685
1650
  INVENTORY = "INVENTORY"
1686
1651
  }
1687
- export interface LocationsAddress {
1652
+ interface LocationsAddress {
1688
1653
  /**
1689
1654
  * 2-letter country code in an [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.
1690
1655
  * @format COUNTRY
@@ -1702,17 +1667,12 @@ export interface LocationsAddress {
1702
1667
  /** Street address. Includes street name, number, and apartment number in separate fields. */
1703
1668
  streetAddress?: LocationsStreetAddress;
1704
1669
  /** Full address of the location. */
1705
- formattedAddress?: string | null;
1706
- /**
1707
- * Extra information that helps finding the location.
1708
- * @maxLength 500
1709
- */
1710
- hint?: string | null;
1670
+ formatted?: string | null;
1711
1671
  /** Geographic coordinates of location. */
1712
- geocode?: LocationsAddressLocation;
1672
+ location?: LocationsAddressLocation;
1713
1673
  }
1714
1674
  /** Street address. Includes street name, number, and apartment number in separate fields. */
1715
- export interface LocationsStreetAddress {
1675
+ interface LocationsStreetAddress {
1716
1676
  /** Street number. */
1717
1677
  number?: string;
1718
1678
  /** Street name. */
@@ -1721,14 +1681,14 @@ export interface LocationsStreetAddress {
1721
1681
  apt?: string;
1722
1682
  }
1723
1683
  /** Address Geolocation */
1724
- export interface LocationsAddressLocation {
1684
+ interface LocationsAddressLocation {
1725
1685
  /** Latitude of the location. Must be between -90 and 90. */
1726
1686
  latitude?: number | null;
1727
1687
  /** Longitude of the location. Must be between -180 and 180. */
1728
1688
  longitude?: number | null;
1729
1689
  }
1730
1690
  /** Business schedule. Regular and exceptional time periods when the business is open or the service is available. */
1731
- export interface BusinessSchedule {
1691
+ interface BusinessSchedule {
1732
1692
  /**
1733
1693
  * Weekly recurring time periods when the business is regularly open or the service is available. Limited to 100 time periods.
1734
1694
  * @maxSize 100
@@ -1741,7 +1701,7 @@ export interface BusinessSchedule {
1741
1701
  specialHourPeriod?: SpecialHourPeriod[];
1742
1702
  }
1743
1703
  /** Weekly recurring time periods when the business is regularly open or the service is available. */
1744
- export interface TimePeriod {
1704
+ interface TimePeriod {
1745
1705
  /** Day of the week the period starts on. */
1746
1706
  openDay?: DayOfWeek;
1747
1707
  /**
@@ -1760,7 +1720,7 @@ export interface TimePeriod {
1760
1720
  closeTime?: string;
1761
1721
  }
1762
1722
  /** Enumerates the days of the week. */
1763
- export declare enum DayOfWeek {
1723
+ declare enum DayOfWeek {
1764
1724
  MONDAY = "MONDAY",
1765
1725
  TUESDAY = "TUESDAY",
1766
1726
  WEDNESDAY = "WEDNESDAY",
@@ -1770,7 +1730,7 @@ export declare enum DayOfWeek {
1770
1730
  SUNDAY = "SUNDAY"
1771
1731
  }
1772
1732
  /** Exception to the business's regular hours. The business can be open or closed during the exception. */
1773
- export interface SpecialHourPeriod {
1733
+ interface SpecialHourPeriod {
1774
1734
  /** Start date and time of the exception in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format and [Coordinated Universal Time (UTC)](https://en.wikipedia.org/wiki/Coordinated_Universal_Time). */
1775
1735
  startDate?: string;
1776
1736
  /** End date and time of the exception in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format and [Coordinated Universal Time (UTC)](https://en.wikipedia.org/wiki/Coordinated_Universal_Time). */
@@ -1784,7 +1744,7 @@ export interface SpecialHourPeriod {
1784
1744
  /** Additional info about the exception. For example, "We close earlier on New Year's Eve." */
1785
1745
  comment?: string;
1786
1746
  }
1787
- export interface Rate {
1747
+ interface Rate {
1788
1748
  /**
1789
1749
  * Mapping between a named price option, for example, adult or child prices, and the price, currency, and down payment amount.
1790
1750
  * When present in an update request, the `default_varied_price` is ignored to support backward compatibility.
@@ -1796,7 +1756,7 @@ export interface Rate {
1796
1756
  */
1797
1757
  priceText?: string | null;
1798
1758
  }
1799
- export interface Price {
1759
+ interface Price {
1800
1760
  /**
1801
1761
  * Required payment amount.
1802
1762
  * @format DECIMAL_VALUE
@@ -1818,7 +1778,7 @@ export interface Price {
1818
1778
  * Schedule's availability calculation is executed by the schedule's available intervals and this additional information.
1819
1779
  * Schedule's available intervals are recurring intervals (defined in the schedule) minus sessions that has no more spots for bookings (including time between_slots), or schedule's sessions with open spots for bookings.-->
1820
1780
  */
1821
- export interface Availability {
1781
+ interface Availability {
1822
1782
  /** Date and time the schedule starts to be available for booking. */
1823
1783
  start?: Date | null;
1824
1784
  /** Date and time the schedule stops being available for booking. No value indicates no end time. */
@@ -1829,7 +1789,7 @@ export interface Availability {
1829
1789
  constraints?: AvailabilityConstraints;
1830
1790
  }
1831
1791
  /** Describes how to calculate the specific slots that are available for booking. */
1832
- export interface AvailabilityConstraints {
1792
+ interface AvailabilityConstraints {
1833
1793
  /**
1834
1794
  * A list of duration options for slots, in minutes. Minimum value for a duration is 1.
1835
1795
  * The availability calculation generates slots with these durations, where there is no conflict with existing sessions or other availability constraints.
@@ -1857,7 +1817,7 @@ export interface AvailabilityConstraints {
1857
1817
  slotsSplitInterval?: SplitInterval;
1858
1818
  }
1859
1819
  /** The time between available slots' start times. For example, For 5 minute slots, 3:00, 3:05, 3:15 etc. For 1 hour slots, 3:00, 4:00, 5:00 etc. */
1860
- export interface SplitInterval {
1820
+ interface SplitInterval {
1861
1821
  /**
1862
1822
  * Whether the slot duration is used as the split interval value.
1863
1823
  * If `same_as_duration` is `true`, the `value_in_minutes` is the sum of the first duration in
@@ -1867,12 +1827,12 @@ export interface SplitInterval {
1867
1827
  /** Number of minutes between available slots' start times when `same_as_duration` is `false`. */
1868
1828
  valueInMinutes?: number | null;
1869
1829
  }
1870
- export interface Participant {
1830
+ interface Participant {
1871
1831
  /**
1872
1832
  * Participant ID. Currently represents the booking.id.
1873
1833
  * @format GUID
1874
1834
  */
1875
- id?: string;
1835
+ _id?: string;
1876
1836
  /**
1877
1837
  * Contact ID.
1878
1838
  * @format GUID
@@ -1897,7 +1857,7 @@ export interface Participant {
1897
1857
  */
1898
1858
  inherited?: boolean;
1899
1859
  }
1900
- export declare enum ApprovalStatus {
1860
+ declare enum ApprovalStatus {
1901
1861
  /** Default. */
1902
1862
  UNDEFINED = "UNDEFINED",
1903
1863
  /** Pending business approval. */
@@ -1907,13 +1867,13 @@ export declare enum ApprovalStatus {
1907
1867
  /** Declined by the business. */
1908
1868
  DECLINED = "DECLINED"
1909
1869
  }
1910
- export interface ExternalCalendarOverrides {
1870
+ interface ExternalCalendarOverrides {
1911
1871
  /** Synced title of the external calendar event. */
1912
1872
  title?: string | null;
1913
1873
  /** Synced description of the external calendar event. */
1914
1874
  description?: string | null;
1915
1875
  }
1916
- export declare enum ScheduleStatus {
1876
+ declare enum ScheduleStatus {
1917
1877
  /** Undefined schedule status. */
1918
1878
  UNDEFINED = "UNDEFINED",
1919
1879
  /** The schedule was created. */
@@ -1921,19 +1881,19 @@ export declare enum ScheduleStatus {
1921
1881
  /** The schedule was cancelled. */
1922
1882
  CANCELLED = "CANCELLED"
1923
1883
  }
1924
- export interface Version {
1884
+ interface Version {
1925
1885
  /** Schedule version number, updated each time the schedule is updated. */
1926
1886
  scheduleVersion?: number | null;
1927
1887
  /** Participants version number, updated each time the schedule participants are updated. */
1928
1888
  participantsVersion?: number | null;
1929
1889
  }
1930
- export interface ConferenceProvider {
1890
+ interface ConferenceProvider {
1931
1891
  /** Conferencing provider ID */
1932
1892
  providerId?: string;
1933
1893
  }
1934
- export interface CalendarConference {
1894
+ interface CalendarConference {
1935
1895
  /** Wix Calendar conference ID. */
1936
- id?: string;
1896
+ _id?: string;
1937
1897
  /** Conference meeting ID in the provider's conferencing system. */
1938
1898
  externalId?: string;
1939
1899
  /** Conference provider ID. */
@@ -1951,7 +1911,7 @@ export interface CalendarConference {
1951
1911
  /** ID of the account owner in the video conferencing service. */
1952
1912
  accountOwnerId?: string | null;
1953
1913
  }
1954
- export declare enum ConferenceType {
1914
+ declare enum ConferenceType {
1955
1915
  /** Undefined conference type. */
1956
1916
  UNDEFINED = "UNDEFINED",
1957
1917
  /** API-generated online meeting. */
@@ -1959,7 +1919,7 @@ export declare enum ConferenceType {
1959
1919
  /** User-defined meeting. */
1960
1920
  CUSTOM = "CUSTOM"
1961
1921
  }
1962
- export interface ScheduleUpdated {
1922
+ interface ScheduleUpdated {
1963
1923
  /** The old schedule before the update. */
1964
1924
  oldSchedule?: Schedule;
1965
1925
  /** The new schedule after the update. */
@@ -1981,18 +1941,18 @@ export interface ScheduleUpdated {
1981
1941
  */
1982
1942
  triggeredByAnonymizeRequest?: boolean | null;
1983
1943
  }
1984
- export interface RecurringSessionsUpdated {
1944
+ interface RecurringSessionsUpdated {
1985
1945
  /** Old schedule's recurring session list. */
1986
1946
  oldRecurringSessions?: Session[];
1987
1947
  /** New schedule's recurring session list. */
1988
1948
  newRecurringSessions?: Session[];
1989
1949
  }
1990
- export interface Session {
1950
+ interface Session {
1991
1951
  /**
1992
1952
  * Session ID.
1993
1953
  * @readonly
1994
1954
  */
1995
- id?: string | null;
1955
+ _id?: string | null;
1996
1956
  /**
1997
1957
  * ID of the schedule that the session belongs to.
1998
1958
  * @immutable
@@ -2156,7 +2116,7 @@ export interface Session {
2156
2116
  */
2157
2117
  version?: SessionVersion;
2158
2118
  }
2159
- export interface CalendarDateTime {
2119
+ interface CalendarDateTime {
2160
2120
  /**
2161
2121
  * UTC date-time in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Coordinated_Universal_Time_(UTC)) format. If a time zone offset is specified, the time is converted to UTC. For example, if you specify `new Date('2021-01-06T16:00:00.000-07:00')`, the stored value will be `"2021-01-06T23:00:00.000Z"`.
2162
2122
  * Required if `localDateTime` is not specified.
@@ -2172,7 +2132,7 @@ export interface CalendarDateTime {
2172
2132
  */
2173
2133
  timeZone?: string | null;
2174
2134
  }
2175
- export interface LocalDateTime {
2135
+ interface LocalDateTime {
2176
2136
  /** Year. 4-digit format. */
2177
2137
  year?: number | null;
2178
2138
  /**
@@ -2194,11 +2154,11 @@ export interface LocalDateTime {
2194
2154
  */
2195
2155
  minutesOfHour?: number | null;
2196
2156
  }
2197
- export interface ExternalCalendarInfo {
2157
+ interface ExternalCalendarInfo {
2198
2158
  /** The external calendar type (e.g. Google Calendar, iCal, etc). */
2199
2159
  calendarType?: CalendarType;
2200
2160
  }
2201
- export declare enum CalendarType {
2161
+ declare enum CalendarType {
2202
2162
  /** There is no information about the external calendar type. */
2203
2163
  UNDEFINED = "UNDEFINED",
2204
2164
  /** [Google Calendar](https://developers.google.com/calendar/api/guides/overview). */
@@ -2214,7 +2174,7 @@ export declare enum CalendarType {
2214
2174
  /** A different type of external calendar, not listed here. */
2215
2175
  OTHER = "OTHER"
2216
2176
  }
2217
- export declare enum Status {
2177
+ declare enum Status {
2218
2178
  /** Undefined status. */
2219
2179
  UNDEFINED = "UNDEFINED",
2220
2180
  /** Session is confirmed. Default status. */
@@ -2226,7 +2186,7 @@ export declare enum Status {
2226
2186
  */
2227
2187
  CANCELLED = "CANCELLED"
2228
2188
  }
2229
- export declare enum SessionType {
2189
+ declare enum SessionType {
2230
2190
  UNDEFINED = "UNDEFINED",
2231
2191
  /**
2232
2192
  * Creates an event on the calendar for the owner of the schedule that the session belongs to.
@@ -2240,11 +2200,11 @@ export declare enum SessionType {
2240
2200
  /** Deprecated. Represents a resource's available hours. Please use WORKING_HOURS. */
2241
2201
  AVAILABILITY = "AVAILABILITY"
2242
2202
  }
2243
- export interface SessionVersion {
2203
+ interface SessionVersion {
2244
2204
  /** Incremental version number, which is updated on each change to the session or on changes affecting the session. */
2245
2205
  number?: string | null;
2246
2206
  }
2247
- export interface ParticipantNotification {
2207
+ interface ParticipantNotification {
2248
2208
  /**
2249
2209
  * Whether to send the message about the changes to the customer.
2250
2210
  *
@@ -2254,16 +2214,16 @@ export interface ParticipantNotification {
2254
2214
  /** Custom message to send to the participants about the changes to the booking. */
2255
2215
  message?: string | null;
2256
2216
  }
2257
- export interface ScheduleCancelled {
2217
+ interface ScheduleCancelled {
2258
2218
  schedule?: Schedule;
2259
2219
  /** Whether to notify participants about the change and an optional custom message */
2260
2220
  participantNotification?: ParticipantNotification;
2261
2221
  oldSchedule?: Schedule;
2262
2222
  }
2263
- export interface SessionCreated {
2223
+ interface SessionCreated {
2264
2224
  session?: Session;
2265
2225
  }
2266
- export interface SessionUpdated {
2226
+ interface SessionUpdated {
2267
2227
  oldSession?: Session;
2268
2228
  newSession?: Session;
2269
2229
  /** Whether to notify participants about the change and an optional custom message */
@@ -2277,33 +2237,33 @@ export interface SessionUpdated {
2277
2237
  */
2278
2238
  triggeredByAnonymizeRequest?: boolean | null;
2279
2239
  }
2280
- export interface SessionCancelled {
2240
+ interface SessionCancelled {
2281
2241
  session?: Session;
2282
2242
  /** Whether to notify participants about the change and an optional custom message */
2283
2243
  participantNotification?: ParticipantNotification;
2284
2244
  }
2285
- export interface AvailabilityPolicyUpdated {
2245
+ interface AvailabilityPolicyUpdated {
2286
2246
  availabilityPolicy?: AvailabilityPolicy;
2287
2247
  }
2288
2248
  /** Availability policy applied to all site schedules. */
2289
- export interface AvailabilityPolicy {
2249
+ interface AvailabilityPolicy {
2290
2250
  /** Specify how to split the schedule slots in intervals of minutes. */
2291
2251
  splitInterval?: SplitInterval;
2292
2252
  }
2293
- export interface IntervalSplit {
2253
+ interface IntervalSplit {
2294
2254
  scheduleId?: string;
2295
2255
  intervals?: RecurringInterval[];
2296
2256
  newScheduleVersion?: number | null;
2297
2257
  oldScheduleVersion?: number | null;
2298
2258
  }
2299
- export interface RecurringSessionSplit {
2259
+ interface RecurringSessionSplit {
2300
2260
  scheduleId?: string;
2301
2261
  recurringSessions?: Session[];
2302
2262
  newScheduleVersion?: number | null;
2303
2263
  oldScheduleVersion?: number | null;
2304
2264
  }
2305
2265
  /** Schedule unassigned from user. */
2306
- export interface ScheduleUnassignedFromUser {
2266
+ interface ScheduleUnassignedFromUser {
2307
2267
  /**
2308
2268
  * The Wix user id.
2309
2269
  * @format GUID
@@ -2312,31 +2272,31 @@ export interface ScheduleUnassignedFromUser {
2312
2272
  /** The schedule that was unassigned from the user. */
2313
2273
  schedule?: Schedule;
2314
2274
  }
2315
- export interface MultipleSessionsCreated {
2275
+ interface MultipleSessionsCreated {
2316
2276
  schedulesWithSessions?: ScheduleWithSessions[];
2317
2277
  }
2318
- export interface ScheduleWithSessions {
2278
+ interface ScheduleWithSessions {
2319
2279
  schedule?: Schedule;
2320
2280
  siteProperties?: SitePropertiesOnScheduleCreation;
2321
2281
  sessions?: Session[];
2322
2282
  }
2323
- export interface SitePropertiesOnScheduleCreation {
2283
+ interface SitePropertiesOnScheduleCreation {
2324
2284
  /** The global time zone value. */
2325
2285
  timeZone?: string | null;
2326
2286
  }
2327
- export interface MigrationEvent {
2287
+ interface MigrationEvent {
2328
2288
  migrationData?: MigrationData;
2329
2289
  }
2330
- export interface MigrationData {
2290
+ interface MigrationData {
2331
2291
  businessId?: string | null;
2332
2292
  staffs?: StaffData[];
2333
2293
  }
2334
- export interface StaffData {
2294
+ interface StaffData {
2335
2295
  resourceId?: string;
2336
2296
  syncRequestEmail?: string;
2337
2297
  refreshToken?: string;
2338
2298
  }
2339
- export interface MessageEnvelope {
2299
+ interface MessageEnvelope {
2340
2300
  /**
2341
2301
  * App instance ID.
2342
2302
  * @format GUID
@@ -2352,7 +2312,7 @@ export interface MessageEnvelope {
2352
2312
  /** Stringify payload. */
2353
2313
  data?: string;
2354
2314
  }
2355
- export interface IdentificationData extends IdentificationDataIdOneOf {
2315
+ interface IdentificationData extends IdentificationDataIdOneOf {
2356
2316
  /**
2357
2317
  * ID of a site visitor that has not logged in to the site.
2358
2318
  * @format GUID
@@ -2377,7 +2337,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
2377
2337
  identityType?: WebhookIdentityType;
2378
2338
  }
2379
2339
  /** @oneof */
2380
- export interface IdentificationDataIdOneOf {
2340
+ interface IdentificationDataIdOneOf {
2381
2341
  /**
2382
2342
  * ID of a site visitor that has not logged in to the site.
2383
2343
  * @format GUID
@@ -2399,10 +2359,337 @@ export interface IdentificationDataIdOneOf {
2399
2359
  */
2400
2360
  appId?: string;
2401
2361
  }
2402
- export declare enum WebhookIdentityType {
2362
+ declare enum WebhookIdentityType {
2403
2363
  UNKNOWN = "UNKNOWN",
2404
2364
  ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
2405
2365
  MEMBER = "MEMBER",
2406
2366
  WIX_USER = "WIX_USER",
2407
2367
  APP = "APP"
2408
2368
  }
2369
+ interface BaseEventMetadata {
2370
+ /**
2371
+ * App instance ID.
2372
+ * @format GUID
2373
+ */
2374
+ instanceId?: string | null;
2375
+ /**
2376
+ * Event type.
2377
+ * @maxLength 150
2378
+ */
2379
+ eventType?: string;
2380
+ /** The identification type and identity data. */
2381
+ identity?: IdentificationData;
2382
+ }
2383
+ interface EventMetadata extends BaseEventMetadata {
2384
+ /**
2385
+ * Unique event ID.
2386
+ * Allows clients to ignore duplicate webhooks.
2387
+ */
2388
+ _id?: string;
2389
+ /**
2390
+ * Assumes actions are also always typed to an entity_type
2391
+ * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
2392
+ */
2393
+ entityFqdn?: string;
2394
+ /**
2395
+ * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
2396
+ * This is although the created/updated/deleted notion is duplication of the oneof types
2397
+ * Example: created/updated/deleted/started/completed/email_opened
2398
+ */
2399
+ slug?: string;
2400
+ /** ID of the entity associated with the event. */
2401
+ entityId?: string;
2402
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
2403
+ eventTime?: Date | null;
2404
+ /**
2405
+ * Whether the event was triggered as a result of a privacy regulation application
2406
+ * (for example, GDPR).
2407
+ */
2408
+ triggeredByAnonymizeRequest?: boolean | null;
2409
+ /** If present, indicates the action that triggered the event. */
2410
+ originatedFrom?: string | null;
2411
+ /**
2412
+ * A sequence number defining the order of updates to the underlying entity.
2413
+ * For example, given that some entity was updated at 16:00 and than again at 16:01,
2414
+ * it is guaranteed that the sequence number of the second update is strictly higher than the first.
2415
+ * As the consumer, you can use this value to ensure that you handle messages in the correct order.
2416
+ * To do so, you will need to persist this number on your end, and compare the sequence number from the
2417
+ * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
2418
+ */
2419
+ entityEventSequence?: string | null;
2420
+ }
2421
+ interface StaffMemberConnectedToUserEnvelope {
2422
+ data: StaffMemberConnectedToUser;
2423
+ metadata: EventMetadata;
2424
+ }
2425
+ interface StaffMemberCreatedEnvelope {
2426
+ entity: StaffMember;
2427
+ metadata: EventMetadata;
2428
+ }
2429
+ interface StaffMemberDeletedEnvelope {
2430
+ entity: StaffMember;
2431
+ metadata: EventMetadata;
2432
+ }
2433
+ interface StaffMemberDisconnectedFromUserEnvelope {
2434
+ data: StaffMemberDisconnectedFromUser;
2435
+ metadata: EventMetadata;
2436
+ }
2437
+ interface StaffMemberFullyCreatedEnvelope {
2438
+ data: StaffMemberFullyCreated;
2439
+ metadata: EventMetadata;
2440
+ }
2441
+ interface StaffMemberUpdatedEnvelope {
2442
+ entity: StaffMember;
2443
+ metadata: EventMetadata;
2444
+ }
2445
+ interface CreateStaffMemberOptions {
2446
+ /**
2447
+ * Conditional fields to return.
2448
+ * @maxSize 3
2449
+ */
2450
+ fields?: RequestedFields[];
2451
+ }
2452
+ interface GetStaffMemberOptions {
2453
+ /**
2454
+ * Conditional fields to return.
2455
+ * @maxSize 3
2456
+ */
2457
+ fields?: RequestedFields[];
2458
+ }
2459
+ interface UpdateStaffMember {
2460
+ /**
2461
+ * Staff member ID.
2462
+ * @format GUID
2463
+ * @readonly
2464
+ */
2465
+ _id?: string | null;
2466
+ /**
2467
+ * Staff member name.
2468
+ * @minLength 1
2469
+ * @maxLength 40
2470
+ */
2471
+ name?: string | null;
2472
+ /**
2473
+ * Staff member's email address.
2474
+ * @maxLength 320
2475
+ * @format EMAIL
2476
+ */
2477
+ email?: string | null;
2478
+ /**
2479
+ * Staff member's phone number.
2480
+ * @maxLength 20
2481
+ * @format PHONE
2482
+ */
2483
+ phone?: string | null;
2484
+ /**
2485
+ * Description for the staff member. For example,
2486
+ * `Experienced nail technician specialized in gel and acrylic nails`.
2487
+ * @maxLength 500
2488
+ */
2489
+ description?: string | null;
2490
+ /** Staff media. */
2491
+ mainMedia?: MediaItem;
2492
+ /**
2493
+ * Staff member's *resource ID*
2494
+ * ([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)),
2495
+ * identical to `resource.id`.
2496
+ * @readonly
2497
+ * @format GUID
2498
+ */
2499
+ resourceId?: string | null;
2500
+ /**
2501
+ * Details about the *resource object*
2502
+ * ([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))
2503
+ * associated with the staff member. Available only if you specify `RESOURCE_DETAILS`
2504
+ * in the `fields` array.
2505
+ * @readonly
2506
+ */
2507
+ resource?: Resource;
2508
+ /**
2509
+ * Identity of the Wix user associated with the staff member. Learn more about
2510
+ * _identities_
2511
+ * ([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)).
2512
+ * @readonly
2513
+ */
2514
+ associatedWixIdentity?: AssociatedWixIdentity;
2515
+ /**
2516
+ * Revision number, which increments by 1 each time the staff member is updated.
2517
+ * To prevent conflicting changes,
2518
+ * the current revision must be passed when updating the staff member.
2519
+ * @readonly
2520
+ */
2521
+ revision?: string | null;
2522
+ /**
2523
+ * Time the staff member was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.
2524
+ * @readonly
2525
+ */
2526
+ _createdDate?: Date | null;
2527
+ /**
2528
+ * Time the staff member was last updated in `YYYY-MM-DDThh:mm:ss.sssZ` format.
2529
+ * @readonly
2530
+ */
2531
+ _updatedDate?: Date | null;
2532
+ /** Extensions enabling users to save custom data related to the staff member. */
2533
+ extendedFields?: ExtendedFields;
2534
+ /**
2535
+ * Tags allowing you to classify staff members. Learn more about *tags*
2536
+ * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/tags/tags/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/tags/introduction)).
2537
+ */
2538
+ tags?: Tags;
2539
+ }
2540
+ interface UpdateStaffMemberOptions {
2541
+ /**
2542
+ * Conditional fields to return.
2543
+ * @maxSize 3
2544
+ */
2545
+ fields?: RequestedFields[];
2546
+ }
2547
+ interface QueryStaffMembersOptions {
2548
+ /**
2549
+ * Conditional fields to return.
2550
+ * @maxSize 3
2551
+ */
2552
+ fields?: RequestedFields[] | undefined;
2553
+ }
2554
+ interface QueryCursorResult {
2555
+ cursors: Cursors;
2556
+ hasNext: () => boolean;
2557
+ hasPrev: () => boolean;
2558
+ length: number;
2559
+ pageSize: number;
2560
+ }
2561
+ interface StaffMembersQueryResult extends QueryCursorResult {
2562
+ items: StaffMember[];
2563
+ query: StaffMembersQueryBuilder;
2564
+ next: () => Promise<StaffMembersQueryResult>;
2565
+ prev: () => Promise<StaffMembersQueryResult>;
2566
+ }
2567
+ interface StaffMembersQueryBuilder {
2568
+ /** @param propertyName - Property whose value is compared with `value`.
2569
+ * @param value - Value to compare against.
2570
+ * @documentationMaturity preview
2571
+ */
2572
+ eq: (propertyName: '_id' | 'name' | 'email' | 'phone' | 'description' | 'resourceId' | 'resource.id' | 'associatedWixIdentity.identificationData.wixUserId' | 'associatedWixIdentity.identificationData.contactId' | '_createdDate' | '_updatedDate', value: any) => StaffMembersQueryBuilder;
2573
+ /** @param propertyName - Property whose value is compared with `value`.
2574
+ * @param value - Value to compare against.
2575
+ * @documentationMaturity preview
2576
+ */
2577
+ ne: (propertyName: '_id' | 'name' | 'email' | 'phone' | 'description' | 'resourceId' | 'resource.id' | 'associatedWixIdentity.identificationData.wixUserId' | 'associatedWixIdentity.identificationData.contactId' | '_createdDate' | '_updatedDate', value: any) => StaffMembersQueryBuilder;
2578
+ /** @param propertyName - Property whose value is compared with `value`.
2579
+ * @param value - Value to compare against.
2580
+ * @documentationMaturity preview
2581
+ */
2582
+ ge: (propertyName: '_createdDate' | '_updatedDate', value: any) => StaffMembersQueryBuilder;
2583
+ /** @param propertyName - Property whose value is compared with `value`.
2584
+ * @param value - Value to compare against.
2585
+ * @documentationMaturity preview
2586
+ */
2587
+ gt: (propertyName: '_createdDate' | '_updatedDate', value: any) => StaffMembersQueryBuilder;
2588
+ /** @param propertyName - Property whose value is compared with `value`.
2589
+ * @param value - Value to compare against.
2590
+ * @documentationMaturity preview
2591
+ */
2592
+ le: (propertyName: '_createdDate' | '_updatedDate', value: any) => StaffMembersQueryBuilder;
2593
+ /** @param propertyName - Property whose value is compared with `value`.
2594
+ * @param value - Value to compare against.
2595
+ * @documentationMaturity preview
2596
+ */
2597
+ lt: (propertyName: '_createdDate' | '_updatedDate', value: any) => StaffMembersQueryBuilder;
2598
+ /** @param propertyName - Property whose value is compared with `string`.
2599
+ * @param string - String to compare against. Case-insensitive.
2600
+ * @documentationMaturity preview
2601
+ */
2602
+ startsWith: (propertyName: '_id' | 'description' | 'resourceId' | 'resource.id' | 'associatedWixIdentity.identificationData.wixUserId' | 'associatedWixIdentity.identificationData.contactId', value: string) => StaffMembersQueryBuilder;
2603
+ /** @param propertyName - Property whose value is compared with `values`.
2604
+ * @param values - List of values to compare against.
2605
+ * @documentationMaturity preview
2606
+ */
2607
+ hasSome: (propertyName: '_id' | 'description' | 'resourceId' | 'resource.id' | 'resource.locationOptions.specificLocationOptions.businessLocations.locationId' | 'associatedWixIdentity.identificationData.wixUserId' | 'associatedWixIdentity.identificationData.contactId' | '_createdDate' | '_updatedDate', value: any[]) => StaffMembersQueryBuilder;
2608
+ /** @documentationMaturity preview */
2609
+ in: (propertyName: '_id' | 'name' | 'email' | 'phone' | 'description' | 'resourceId' | 'resource.id' | 'associatedWixIdentity.identificationData.wixUserId' | 'associatedWixIdentity.identificationData.contactId' | '_createdDate' | '_updatedDate', value: any) => StaffMembersQueryBuilder;
2610
+ /** @documentationMaturity preview */
2611
+ exists: (propertyName: '_id' | 'name' | 'email' | 'phone' | 'description' | 'resourceId' | 'resource.id' | 'associatedWixIdentity.identificationData.wixUserId' | 'associatedWixIdentity.identificationData.contactId' | '_createdDate' | '_updatedDate', value: boolean) => StaffMembersQueryBuilder;
2612
+ /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
2613
+ * @documentationMaturity preview
2614
+ */
2615
+ ascending: (...propertyNames: Array<'_id' | 'description' | 'resourceId' | 'resource.id' | 'associatedWixIdentity.identificationData.wixUserId' | 'associatedWixIdentity.identificationData.contactId' | 'associatedWixIdentity.identificationData.identityType' | 'default' | '_createdDate' | '_updatedDate'>) => StaffMembersQueryBuilder;
2616
+ /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
2617
+ * @documentationMaturity preview
2618
+ */
2619
+ descending: (...propertyNames: Array<'_id' | 'description' | 'resourceId' | 'resource.id' | 'associatedWixIdentity.identificationData.wixUserId' | 'associatedWixIdentity.identificationData.contactId' | 'associatedWixIdentity.identificationData.identityType' | 'default' | '_createdDate' | '_updatedDate'>) => StaffMembersQueryBuilder;
2620
+ /** @param limit - Number of items to return, which is also the `pageSize` of the results object.
2621
+ * @documentationMaturity preview
2622
+ */
2623
+ limit: (limit: number) => StaffMembersQueryBuilder;
2624
+ /** @param cursor - A pointer to specific record
2625
+ * @documentationMaturity preview
2626
+ */
2627
+ skipTo: (cursor: string) => StaffMembersQueryBuilder;
2628
+ /** @documentationMaturity preview */
2629
+ find: () => Promise<StaffMembersQueryResult>;
2630
+ }
2631
+ interface CountStaffMembersOptions {
2632
+ /**
2633
+ * Filter to base the count upon. See the *supported filters article*
2634
+ * ([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))
2635
+ * for a complete list of supported filters.
2636
+ */
2637
+ filter?: Record<string, any> | null;
2638
+ }
2639
+ interface ConnectStaffMemberToUserOptions {
2640
+ /**
2641
+ * Email of the Wix user to connect to the staff member.
2642
+ *
2643
+ * Default: Email of the staff member.
2644
+ * @maxLength 320
2645
+ * @format EMAIL
2646
+ */
2647
+ email?: string | null;
2648
+ /**
2649
+ * Conditional fields to return.
2650
+ * @maxSize 3
2651
+ */
2652
+ fields?: RequestedFields[];
2653
+ }
2654
+ interface SearchStaffMembersOptions {
2655
+ /**
2656
+ * Conditional fields to return.
2657
+ * @maxSize 3
2658
+ */
2659
+ fields?: RequestedFields[];
2660
+ }
2661
+ interface DisconnectStaffMemberFromUserOptions {
2662
+ /**
2663
+ * Conditional fields to return.
2664
+ * @maxSize 3
2665
+ */
2666
+ fields?: RequestedFields[];
2667
+ }
2668
+ interface AssignWorkingHoursScheduleOptions {
2669
+ /**
2670
+ * Conditional fields to return.
2671
+ * @maxSize 3
2672
+ */
2673
+ fields?: RequestedFields[];
2674
+ }
2675
+ interface AssignCustomScheduleOptions {
2676
+ /**
2677
+ * Conditional fields to return.
2678
+ * @maxSize 3
2679
+ */
2680
+ fields?: RequestedFields[];
2681
+ }
2682
+ interface BulkUpdateStaffMemberTagsOptions {
2683
+ /** Tags to add to the staff members. */
2684
+ assignTags?: Tags;
2685
+ /** Tags to remove from the staff members. */
2686
+ unassignTags?: Tags;
2687
+ }
2688
+ interface BulkUpdateStaffMemberTagsByFilterOptions {
2689
+ /** Tags to add to the staff members. */
2690
+ assignTags?: Tags;
2691
+ /** Tags to remove from the staff members. */
2692
+ unassignTags?: Tags;
2693
+ }
2694
+
2695
+ export { type BusinessLocation as $, type AssignWorkingHoursScheduleOptions as A, type BulkUpdateStaffMemberTagsOptions as B, type CreateStaffMemberOptions as C, type DisconnectStaffMemberFromUserOptions as D, ApprovalStatus as E, ScheduleStatus as F, type GetStaffMemberOptions as G, ConferenceType as H, IdentityType as I, CalendarType as J, Status as K, LocationType as L, Mode as M, SessionType as N, type MediaItem as O, type MediaItemMediaOneOf as P, type QueryStaffMembersOptions as Q, RequestedFields as R, type StaffMember as S, Transparency as T, type UpdateStaffMember as U, type Resource as V, WebhookIdentityType as W, type WorkingHoursSchedule as X, type EventSchedule as Y, type LocationOptions as Z, type SpecificLocation as _, type UpdateStaffMemberOptions as a, type GroupByValueResults as a$, type AssociatedWixIdentity as a0, type CommonIdentificationData as a1, type CommonIdentificationDataIdOneOf as a2, type Connection as a3, type AssociatedConferencingProviders as a4, type AssociatedConferencingProvider as a5, type AssociatedConferencingAccounts as a6, type AssociatedConferencingAccount as a7, type AssociatedConferencingAccountAccountOneOf as a8, type CustomConferenceAccount as a9, type CursorQuery as aA, type CursorQueryPagingMethodOneOf as aB, type Sorting as aC, type QueryStaffMembersResponse as aD, type QueryStaffMembersMultiLanguageRequest as aE, type QueryStaffMembersMultiLanguageResponse as aF, type CountStaffMembersRequest as aG, type ConnectStaffMemberToUserRequest as aH, type SearchStaffMembersRequest as aI, type CursorSearchPagingMethodOneOf as aJ, type SearchDetails as aK, type AggregationData as aL, type ValueAggregationResult as aM, type RangeAggregationResult as aN, type NestedAggregationResults as aO, type NestedAggregationResultsResultOneOf as aP, type ValueResults as aQ, type RangeResults as aR, type AggregationResultsScalarResult as aS, type NestedValueAggregationResult as aT, type ValueResult as aU, type RangeResult as aV, type ScalarResult as aW, type NestedResultValue as aX, type NestedResultValueResultOneOf as aY, type Results as aZ, type DateHistogramResult as a_, type ExtendedFields as aa, type Tags as ab, type TagList as ac, type StaffMemberDisconnectedFromUser as ad, type StaffMemberConnectedToUser as ae, type StaffMemberFullyCreated as af, type CreateStaffMemberRequest as ag, type CreateStaffMemberResponse as ah, type GetStaffMemberRequest as ai, type GetStaffMemberResponse as aj, type GetDeletedStaffMemberRequest as ak, type GetDeletedStaffMemberResponse as al, type ListDeletedStaffMembersRequest as am, type CursorPaging as an, type ListDeletedStaffMembersResponse as ao, type CursorPagingMetadata as ap, type Cursors as aq, type RemoveStaffMemberFromTrashBinRequest as ar, type RemoveStaffMemberFromTrashBinResponse as as, type RestoreStaffMemberFromTrashBinRequest as at, type RestoreStaffMemberFromTrashBinResponse as au, type UpdateStaffMemberRequest as av, type UpdateStaffMemberResponse as aw, type DeleteStaffMemberRequest as ax, type DeleteStaffMemberResponse as ay, type QueryStaffMembersRequest as az, type StaffMembersQueryBuilder as b, type ExternalCalendarInfo as b$, type DateHistogramResults as b0, type NestedResults as b1, type AggregationResults as b2, type AggregationResultsResultOneOf as b3, type DisconnectStaffMemberFromUserRequest as b4, type AssignWorkingHoursScheduleRequest as b5, type AssignCustomScheduleRequest as b6, type BulkUpdateStaffMemberTagsRequest as b7, type ItemMetadata as b8, type ApplicationError as b9, type Address as bA, type AddressStreetOneOf as bB, type StreetAddress as bC, type AddressLocation as bD, type Subdivision as bE, type LocationsLocation as bF, type LocationsAddress as bG, type LocationsStreetAddress as bH, type LocationsAddressLocation as bI, type BusinessSchedule as bJ, type TimePeriod as bK, type SpecialHourPeriod as bL, type Rate as bM, type Price as bN, type Availability as bO, type AvailabilityConstraints as bP, type SplitInterval as bQ, type Participant as bR, type ExternalCalendarOverrides as bS, type Version as bT, type ConferenceProvider as bU, type CalendarConference as bV, type ScheduleUpdated as bW, type RecurringSessionsUpdated as bX, type Session as bY, type CalendarDateTime as bZ, type LocalDateTime as b_, type BulkUpdateStaffMemberTagsResult as ba, type BulkActionMetadata as bb, type BulkUpdateStaffMemberTagsByFilterRequest as bc, type RestoreStaffRequest as bd, type RestoreStaffResponse as be, type ImportStaffMemberRequest as bf, type ImportStaffMemberResponse as bg, type Empty as bh, type PolicyRemovedFromContributor as bi, type PolicyUpdatedForContributor as bj, type DomainEvent as bk, type DomainEventBodyOneOf as bl, type EntityCreatedEvent as bm, type RestoreInfo as bn, type EntityUpdatedEvent as bo, type EntityDeletedEvent as bp, type ActionEvent as bq, type ScheduleNotification as br, type ScheduleNotificationEventOneOf as bs, type ScheduleCreated as bt, type Schedule as bu, type RecurringInterval as bv, type Interval as bw, type Frequency as bx, type LinkedSchedule as by, type Location as bz, type CountStaffMembersOptions as c, type SessionVersion as c0, type ParticipantNotification as c1, type ScheduleCancelled as c2, type SessionCreated as c3, type SessionUpdated as c4, type SessionCancelled as c5, type AvailabilityPolicyUpdated as c6, type AvailabilityPolicy as c7, type IntervalSplit as c8, type RecurringSessionSplit as c9, type ScheduleUnassignedFromUser as ca, type MultipleSessionsCreated as cb, type ScheduleWithSessions as cc, type SitePropertiesOnScheduleCreation as cd, type MigrationEvent as ce, type MigrationData as cf, type StaffData as cg, type MessageEnvelope as ch, type IdentificationData as ci, type IdentificationDataIdOneOf as cj, type BaseEventMetadata as ck, type EventMetadata as cl, type StaffMemberConnectedToUserEnvelope as cm, type StaffMemberCreatedEnvelope as cn, type StaffMemberDeletedEnvelope as co, type StaffMemberDisconnectedFromUserEnvelope as cp, type StaffMemberFullyCreatedEnvelope as cq, type StaffMemberUpdatedEnvelope as cr, type StaffMembersQueryResult as cs, type CountStaffMembersResponse as d, type ConnectStaffMemberToUserOptions as e, type ConnectStaffMemberToUserResponse as f, type CursorSearch as g, type SearchStaffMembersOptions as h, type SearchStaffMembersResponse as i, type DisconnectStaffMemberFromUserResponse as j, type AssignWorkingHoursScheduleResponse as k, type AssignCustomScheduleOptions as l, type AssignCustomScheduleResponse as m, type BulkUpdateStaffMemberTagsResponse as n, type BulkUpdateStaffMemberTagsByFilterOptions as o, type BulkUpdateStaffMemberTagsByFilterResponse as p, AssociatedWixIdentityConnectionStatusEnumConnectionStatus as q, ConnectionStatus as r, SortOrder as s, ScalarType as t, AggregationType as u, Day as v, RecurringIntervalType as w, LocationStatus as x, LocationsLocationType as y, DayOfWeek as z };