@wix/bookings 1.0.231 → 1.0.233

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.
@@ -28,7 +28,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
28
28
  });
29
29
  };
30
30
  Object.defineProperty(exports, "__esModule", { value: true });
31
- exports._delete = exports.updateSchedule = exports.update = exports.create = exports.query = exports.list = exports.Event = exports.SortOrder = exports.ResourceStatus = exports.ConferenceType = exports.ScheduleStatus = exports.ApprovalStatus = exports.DayOfWeek = exports.LocationsLocationType = exports.LocationStatus = exports.LocationType = exports.RecurringIntervalType = exports.Transparency = exports.Day = exports.__debug = void 0;
31
+ exports.deleteResource = exports.updateSchedule = exports.updateResource = exports.createResource = exports.queryResources = exports.Event = exports.SortOrder = exports.ResourceStatus = exports.ConferenceType = exports.ScheduleStatus = exports.ApprovalStatus = exports.DayOfWeek = exports.LocationsLocationType = exports.LocationStatus = exports.LocationType = exports.RecurringIntervalType = exports.Transparency = exports.Day = exports.__debug = void 0;
32
32
  const velo_1 = require("@wix/metro-runtime/velo");
33
33
  const ambassadorWixBookingsCatalogV1Resource = __importStar(require("./bookings-catalog-v1-resource.http"));
34
34
  let __verbose = false;
@@ -185,8 +185,6 @@ const _createResourceResponse = { resource: '_resource' };
185
185
  const _createScheduleRequest = { schedule: '_schedule' };
186
186
  const _deleteResourceRequest = {};
187
187
  const _deleteResourceResponse = {};
188
- const _listResourcesRequest = {};
189
- const _listResourcesResponse = { resources: '_resource' };
190
188
  const _location = { businessLocation: '_locationsLocation' };
191
189
  const _locationsLocation = { address: 'wix.common.Address' };
192
190
  const _queryResourcesRequest = {};
@@ -208,67 +206,6 @@ const _updateResourceResponse = {
208
206
  };
209
207
  const _updateScheduleRequest = { schedule: '_schedule' };
210
208
  const _updateScheduleResponse = { schedule: '_schedule' };
211
- /**
212
- * @internal
213
- * @public
214
- * @permissionScope Manage Bookings Services and Settings
215
- * @permissionScope Read Bookings - Public Data
216
- * @permissionScope Read bookings calendar - including participants
217
- * @permissionScope Read Bookings Calendar
218
- * @applicableIdentity APP
219
- * @applicableIdentity MEMBER
220
- * @applicableIdentity VISITOR
221
- */
222
- function list(options) {
223
- var _a, _b, _c;
224
- return __awaiter(this, arguments, void 0, function* () {
225
- const requestTransformation = { query: '$[0].query' };
226
- const responseTransformation = '$';
227
- // @ts-ignore
228
- const { httpClient, sideEffects } = arguments[1];
229
- const { toAmbassadorRequest } = (0, velo_1.serializer)({
230
- rootSchema: _listResourcesRequest,
231
- depSchemas: {},
232
- fqdnTransformation: {
233
- paths: [],
234
- transformation: _fromVeloEntity,
235
- },
236
- customTransformation: requestTransformation,
237
- });
238
- const { fromJSON } = (0, velo_1.serializer)({
239
- rootSchema: _listResourcesResponse,
240
- depSchemas: {
241
- _availability,
242
- _location,
243
- _locationsLocation,
244
- _resource,
245
- _schedule,
246
- },
247
- fqdnTransformation: {
248
- paths: [...['Array#resources']],
249
- transformation: _toVeloEntity,
250
- },
251
- customTransformation: responseTransformation,
252
- });
253
- const payload = toAmbassadorRequest([options]);
254
- const reqOpts = ambassadorWixBookingsCatalogV1Resource.list(payload);
255
- __log(`"List" sending request with: ${__inspect(reqOpts)}`);
256
- (_a = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSiteCall) === null || _a === void 0 ? void 0 : _a.call(sideEffects);
257
- try {
258
- const result = yield httpClient.request(reqOpts);
259
- (_b = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSuccess) === null || _b === void 0 ? void 0 : _b.call(sideEffects, result);
260
- return fromJSON(result.data);
261
- }
262
- catch (err) {
263
- const transformedError = (0, velo_1.transformError)(err, requestTransformation, [
264
- 'options',
265
- ]);
266
- (_c = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onError) === null || _c === void 0 ? void 0 : _c.call(sideEffects, err);
267
- throw transformedError;
268
- }
269
- });
270
- }
271
- exports.list = list;
272
209
  /**
273
210
  * Retrieves a list of the resources according to the specified filters and paging.
274
211
  *
@@ -301,7 +238,7 @@ exports.list = list;
301
238
  * @applicableIdentity MEMBER
302
239
  * @applicableIdentity VISITOR
303
240
  */
304
- function query(options) {
241
+ function queryResources(options) {
305
242
  var _a, _b, _c;
306
243
  return __awaiter(this, arguments, void 0, function* () {
307
244
  const requestTransformation = { query: '$[0].query' };
@@ -350,51 +287,30 @@ function query(options) {
350
287
  }
351
288
  });
352
289
  }
353
- exports.query = query;
290
+ exports.queryResources = queryResources;
354
291
  /**
355
292
  * Creates a resource.
356
- * <!--ONLY:VELO
357
- * The `createResource()` function returns a Promise that resolves to the created resource.
358
- * <!--END:ONLY:VELO-->
359
293
  *
360
- * Bookings resources are created with a schedule. The schedule and its sessions determine the resource's availability. Note that the schedule must contain a start date in the `availability.start` property.
361
- * For resources that are available during the business's default hours, add the business's schedule as a linked schedule in the resource's schedule. For resources that have their own hours, create sessions with type `"WORKING_HOURS"` using the resource's schedule.
362
- * You can use both individual and recurring sessions to define resource availability. You cannot use availability constraints for resource schedules.
363
294
  *
364
- * <!--ONLY:VELO
365
- * When creating a resource using `createResource()`, include the resource's schedule information. Set the schedule information as follows:
366
- * + If the resource uses the default business hours, get the business resource's schedule ID and include it in the `scheduleInfo.availability.linkedSchedules` array in the `scheduleInfo` parameter. The default hours can bee found in the Dashboard under **Settings** in the **Bookings** section, on the **Appointment hours** page.
367
- * + If the resource has its own custom working hours, create the resource, then create sessions of type `"WORKING_HOURS"` using the [`createSession()`](wix-bookings-backend.Sessions/createsession) function. Use the `scheduleId` returned from `createResource()` when creating the sessions. These session can be single sessions or recurring sessions.
368
- * + You can have both default business hours and custom hours for the same resource schedule by combining the steps above.
369
- *
370
- * > **Notes:**
371
- * > + The Wix Bookings app does not show both default business hours and custom hours on the **Staff** page in the dashboard. If you've set up both custom and default business hours, only the default business hours will appear in the app, although both are working.
372
- * > + The Wix Bookings app does not show non-recurring `WORKING_HOURS` sessions in the resource calendar.
373
- * > + You can only add the business resource's schedule as a linked schedule for a resource.
374
- * > + A resource can have one schedule only.
375
- * > + You can have up to 135 active resources and an additional 135 deleted resources.
376
- * > + Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can create a resource. You can override the role permissions by setting the `options.suppressAuth` parameter to `true`.
377
- * <!--END:ONLY:VELO-->
378
- *
379
- * <!--ONLY:REST-->
380
- * Use the following steps to create resources:
381
- * - Create the resource using including schedule information.
382
- * - If the resource uses the default business hours, get the business resource's schedule ID and include it in the `scheduleInfo.availability.linkedSchedules` array in the in the schedule parameters.
383
- * - If the resource has its own custom working hours, create sessions of type `"WORKING_HOURS"`. Use the `scheduleId` of the new resource when creating the sessions. These session can be single sessions or recurring sessions. You can have both business hours and custom hours for the same resource schedule.
295
+ * The `createResource()` function returns a Promise that resolves to the created resource.
296
+ * Bookings resources are created with a schedule. The schedule and its sessions determine the resource's availability. Note that the schedule must contain a start date in the availability.start property. For resources that are available during the business's default hours, add the business's schedule as a linked schedule in the resource's schedule. For resources that have their own hours, create sessions with type `WORKING_HOURS` using the resource's schedule. You can use both individual and recurring sessions to define resource availability. You cannot use availability constraints for resource schedules.
384
297
  *
385
- * >**Notes:**
386
- * > + A resource can have one schedule only.
387
- * > + You can have up to 135 active resources and an additional 135 deleted resources.
388
- * > + The `businessLocation.businessSchedule` object in the `schedule.location` object is not supported.
389
298
  *
299
+ * When creating a resource using `createResource()`, include the resource's schedule information. Set the schedule information as follows:
300
+ * - If the resource uses the default business hours, get the business resource's schedule ID and include it in the `scheduleInfo.availability.linkedSchedules` array in the `scheduleInfo` parameter. The default hours can bee found in the Dashboard under **Settings** in the **Bookings** section, on the **Appointment hours** page.
301
+ * - If the resource has its own custom working hours, create the resource, then create sessions of type `WORKING_HOURS` using the [`createSession()`](wix-bookings-v2/sessions/createsession) function. Use the `scheduleId` returned from `createResource()` when creating the sessions. These session can be single sessions or recurring sessions.
302
+ * - You can have both default business hours and custom hours for the same resource schedule by combining the steps above.
390
303
  *
391
304
  *
392
- * >**Permissions:**
393
- * > This endpoint requires the Manage Bookings [permission scope](https://devforum.wix.com/kb/en/article/available-permissions).
394
- * <!--END:ONLY:REST-->
305
+ * > **Notes:**
306
+ * - The Wix Bookings app does not show both default business hours and custom hours on the **Staff** page in the dashboard. If you've set up both custom and default business hours, only the default business hours will appear in the app, although both are working.
307
+ * - The Wix Bookings app does not show non-recurring `WORKING_HOURS` sessions in the resource calendar.
308
+ * - You can only add the business resource's schedule as a linked schedule for a resource.
309
+ * - A resource can have one schedule only.
310
+ * - You can have up to 135 active resources and an additional 135 deleted resources.
311
+ * - Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can create a resource.
395
312
  * @param resource - Resource details.
396
313
  * @public
397
- * @documentationMaturity preview
398
314
  * @requiredField options.schedules.availability.start
399
315
  * @requiredField options.schedules.intervals.start
400
316
  * @requiredField resource
@@ -402,7 +318,7 @@ exports.query = query;
402
318
  * @permissionScope Manage Bookings
403
319
  * @applicableIdentity APP
404
320
  */
405
- function create(resource, options) {
321
+ function createResource(resource, options) {
406
322
  var _a, _b, _c;
407
323
  return __awaiter(this, arguments, void 0, function* () {
408
324
  const requestTransformation = {
@@ -461,37 +377,24 @@ function create(resource, options) {
461
377
  }
462
378
  });
463
379
  }
464
- exports.create = create;
380
+ exports.createResource = createResource;
465
381
  /**
466
382
  * Updates a resource.
467
- * <!--ONLY:VELO
468
- * The `updateResource()` function returns a Promise that resolves when a resource is updated.
469
- * Use this function to update all bookings resource information except for the resource's schedule. To update a resource's schedule use [`updateResourceSchedule()`](wix-bookings-backend/resource/updateresourceschedule).
470
383
  *
471
- * >**Notes:**
472
- * > + When updating a resource you cannot change the system tags used by the Wix Bookings app. Tags used by the app have the values `"business"` and `"staff"`.
473
- * > + Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can update a resource. You can override the role permissions by setting the `options.suppressAuth` parameter to `true`.
474
- * <!--END:ONLY:VELO-->
475
- * <!--ONLY:REST-->
476
- * Use this endpoint to update all resource information except for the resource's schedule. To update a resource's schedule use
477
- * the [Update Schedule](https://dev.wix.com/api/rest/wix-bookings/resources/update-schedule) endpoint.
478
384
  *
479
- * >**Notes:**
480
- * > + When updating a resource you cannot change the system tags used by the Wix Bookings app. Tags used by the app have the values `"business"` and `"staff"`.
481
- * > + When updating a resource's schedule you cannot change the resource tag used by the Wix Bookings app. Tags used by the app have the values `"INDIVIDUAL"`, `"GROUP"`, and `"COURSE”`.
482
- * > + The `businessLocation.businessSchedule` object in the `schedule.location` object is not supported.
385
+ * The `updateResource()` function returns a Promise that resolves when a resource is updated. Use this function to update all bookings resource information except for the resource's schedule. To update a resource's schedule use [`updateResourceSchedule()`](#updateresourceschedule).
483
386
  *
484
- * >**Permissions:**
485
- * > This endpoint requires the Manage Bookings [permission scope](https://devforum.wix.com/kb/en/article/available-permissions).
486
- * <!--END:ONLY:REST-->
387
+ *
388
+ * >**Notes:**
389
+ * - When updating a resource you cannot change the system tags used by the Wix Bookings app. Tags used by the app have the values `"business"` and `"staff"`.
390
+ * - Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can update a resource.
487
391
  * @param _id - Resource ID.
488
392
  * @public
489
- * @documentationMaturity preview
490
393
  * @requiredField _id
491
394
  * @permissionScope Manage Bookings
492
395
  * @applicableIdentity APP
493
396
  */
494
- function update(_id, options) {
397
+ function updateResource(_id, options) {
495
398
  var _a, _b, _c;
496
399
  return __awaiter(this, arguments, void 0, function* () {
497
400
  const requestTransformation = {
@@ -554,7 +457,7 @@ function update(_id, options) {
554
457
  }
555
458
  });
556
459
  }
557
- exports.update = update;
460
+ exports.updateResource = updateResource;
558
461
  /**
559
462
  * Updates a resource's schedule
560
463
  * <!--ONLY:VELO
@@ -666,28 +569,19 @@ function updateSchedule(resourceId, options) {
666
569
  exports.updateSchedule = updateSchedule;
667
570
  /**
668
571
  * Deletes a resource.
669
- * <!--ONLY:VELO
572
+ *
670
573
  * The `deleteResource()` function returns a Promise that is resolved when a resource is deleted.
671
- * <!--END:ONLY:VELO-->
672
- * Deleting a resource updates its `status` to `"DELETED"`.
574
+ *
575
+ *
576
+ * Deleting a resource updates its status to `DELETED`.
673
577
  *
674
578
  * You cannot delete a resource if it has booked sessions.
675
579
  *
676
- * <!--ONLY:VELO
677
- * >**Notes:**
678
- * > + The Bookings app automatically creates a resource with a name and tag of value `"business"``. This resource is used for the business's schedule and working hours and cannot be deleted.
679
- * > + You can have up to 135 active resources and an additional 135 deleted resources.
680
- * > + Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can delete a resource. You can override the role permissions by setting the `options.suppressAuth` parameter to `true`.
681
- * <!--END:ONLY:VELO-->
682
580
  *
683
- * <!--ONLY:REST-->
684
581
  * >**Notes:**
685
- * > + The Bookings app creates a resource with `"business"` in name and tag values. This resource is used for the business's schedule and working hours and cannot be deleted.
686
- * > + You can have up to 135 active resources and an additional 135 deleted resources.
687
- *
688
- * >**Permissions:**
689
- * > This endpoint requires the Manage Bookings [permission scope](https://devforum.wix.com/kb/en/article/available-permissions).
690
- * <!--END:ONLY:REST-->
582
+ * - The Bookings app automatically creates a resource with a name and tag of value `business`. This resource is used for the business's schedule and working hours and cannot be deleted.
583
+ * - You can have up to 135 active resources and an additional 135 deleted resources.
584
+ * - Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can delete a resource.
691
585
  * @param _id - ID of the resource to delete.
692
586
  * @public
693
587
  * @documentationMaturity preview
@@ -695,7 +589,7 @@ exports.updateSchedule = updateSchedule;
695
589
  * @permissionScope Manage Bookings
696
590
  * @applicableIdentity APP
697
591
  */
698
- function _delete(_id) {
592
+ function deleteResource(_id) {
699
593
  var _a, _b, _c;
700
594
  return __awaiter(this, arguments, void 0, function* () {
701
595
  const requestTransformation = { id: '$[0]' };
@@ -738,5 +632,5 @@ function _delete(_id) {
738
632
  }
739
633
  });
740
634
  }
741
- exports._delete = _delete;
635
+ exports.deleteResource = deleteResource;
742
636
  //# sourceMappingURL=bookings-catalog-v1-resource.universal.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"bookings-catalog-v1-resource.universal.js","sourceRoot":"","sources":["../../../src/bookings-catalog-v1-resource.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAAqE;AAErE,4GAA8F;AAE9F,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAAC,GAAG,IAAW;IAC3B,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;AACpC,CAAC;AAED,SAAS,SAAS,CAAC,GAAQ;IACzB,OAAO,GAAG,CAAC;AACb,CAAC;AAEY,QAAA,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;QAC5B,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,KAAK,CAAC;KAC/B;CACF,CAAC;AACF,MAAM,aAAa,GAAG,GAAG,CAAC;AAC1B,MAAM,eAAe,GAAG,GAAG,CAAC;AAsL5B,IAAY,GAiBX;AAjBD,WAAY,GAAG;IACb,iBAAiB;IACjB,8BAAuB,CAAA;IACvB,cAAc;IACd,kBAAW,CAAA;IACX,eAAe;IACf,kBAAW,CAAA;IACX,iBAAiB;IACjB,kBAAW,CAAA;IACX,gBAAgB;IAChB,kBAAW,CAAA;IACX,cAAc;IACd,kBAAW,CAAA;IACX,gBAAgB;IAChB,kBAAW,CAAA;IACX,cAAc;IACd,kBAAW,CAAA;AACb,CAAC,EAjBW,GAAG,GAAH,WAAG,KAAH,WAAG,QAiBd;AA+BD,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,uCAAuB,CAAA;IACvB,gEAAgE;IAChE,6BAAa,CAAA;IACb,kFAAkF;IAClF,6BAAa,CAAA;AACf,CAAC,EANW,YAAY,GAAZ,oB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,WAAW,CAAE,SAAS,+CAAtB,WAAW,EAAc,MAAM,CAAC,CAAC;YAEjC,OAAO,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAQ,CAAC;SACrC;QAAC,OAAO,GAAQ,EAAE;YACjB,MAAM,gBAAgB,GAAG,IAAA,qBAAc,EAAC,GAAG,EAAE,qBAAqB,EAAE;gBAClE,KAAK;aACN,CAAC,CAAC;YACH,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,OAAO,+CAApB,WAAW,EAAY,GAAG,CAAC,CAAC;YAE5B,MAAM,gBAAgB,CAAC;SACxB;;CACF;AApDD,0BAoDC"}
1
+ {"version":3,"file":"bookings-catalog-v1-resource.universal.js","sourceRoot":"","sources":["../../../src/bookings-catalog-v1-resource.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAAqE;AAErE,4GAA8F;AAE9F,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAAC,GAAG,IAAW;IAC3B,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;AACpC,CAAC;AAED,SAAS,SAAS,CAAC,GAAQ;IACzB,OAAO,GAAG,CAAC;AACb,CAAC;AAEY,QAAA,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;QAC5B,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,KAAK,CAAC;KAC/B;CACF,CAAC;AACF,MAAM,aAAa,GAAG,GAAG,CAAC;AAC1B,MAAM,eAAe,GAAG,GAAG,CAAC;AAsL5B,IAAY,GAiBX;AAjBD,WAAY,GAAG;IACb,iBAAiB;IACjB,8BAAuB,CAAA;IACvB,cAAc;IACd,kBAAW,CAAA;IACX,eAAe;IACf,kBAAW,CAAA;IACX,iBAAiB;IACjB,kBAAW,CAAA;IACX,gBAAgB;IAChB,k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K;aACN,CAAC,CAAC;YACH,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,OAAO,+CAApB,WAAW,EAAY,GAAG,CAAC,CAAC;YAE5B,MAAM,gBAAgB,CAAC;SACxB;;CACF;AApDD,wCAoDC"}
@@ -1,7 +1,5 @@
1
1
  import { RequestOptionsFactory } from '@wix/sdk-types';
2
- import { CreateResourceRequest, CreateResourceResponse, DeleteResourceRequest, DeleteResourceResponse, ListResourcesRequest, ListResourcesResponse, QueryResourcesRequest, QueryResourcesResponse, UpdateResourceRequest, UpdateResourceResponse, ResourceUpdateScheduleRequest, UpdateScheduleResponse, ListResourcesResponseNonNullableFields, QueryResourcesResponseNonNullableFields, CreateResourceResponseNonNullableFields, UpdateResourceResponseNonNullableFields, UpdateScheduleResponseNonNullableFields, DeleteResourceResponseNonNullableFields } from './bookings-catalog-v1-resource.types';
3
- /** @internal */
4
- export declare function list(payload: ListResourcesRequest): RequestOptionsFactory<ListResourcesResponse & ListResourcesResponseNonNullableFields>;
2
+ import { CreateResourceRequest, CreateResourceResponse, DeleteResourceRequest, DeleteResourceResponse, QueryResourcesRequest, QueryResourcesResponse, UpdateResourceRequest, UpdateResourceResponse, ResourceUpdateScheduleRequest, UpdateScheduleResponse, QueryResourcesResponseNonNullableFields, CreateResourceResponseNonNullableFields, UpdateResourceResponseNonNullableFields, UpdateScheduleResponseNonNullableFields, DeleteResourceResponseNonNullableFields } from './bookings-catalog-v1-resource.types';
5
3
  /**
6
4
  * Retrieves a list of the resources according to the specified filters and paging.
7
5
  *
@@ -28,69 +26,37 @@ export declare function list(payload: ListResourcesRequest): RequestOptionsFacto
28
26
  export declare function query(payload: QueryResourcesRequest): RequestOptionsFactory<QueryResourcesResponse & QueryResourcesResponseNonNullableFields>;
29
27
  /**
30
28
  * Creates a resource.
31
- * <!--ONLY:VELO
32
- * The `createResource()` function returns a Promise that resolves to the created resource.
33
- * <!--END:ONLY:VELO-->
34
29
  *
35
- * Bookings resources are created with a schedule. The schedule and its sessions determine the resource's availability. Note that the schedule must contain a start date in the `availability.start` property.
36
- * For resources that are available during the business's default hours, add the business's schedule as a linked schedule in the resource's schedule. For resources that have their own hours, create sessions with type `"WORKING_HOURS"` using the resource's schedule.
37
- * You can use both individual and recurring sessions to define resource availability. You cannot use availability constraints for resource schedules.
38
- *
39
- * <!--ONLY:VELO
40
- * When creating a resource using `createResource()`, include the resource's schedule information. Set the schedule information as follows:
41
- * + If the resource uses the default business hours, get the business resource's schedule ID and include it in the `scheduleInfo.availability.linkedSchedules` array in the `scheduleInfo` parameter. The default hours can bee found in the Dashboard under **Settings** in the **Bookings** section, on the **Appointment hours** page.
42
- * + If the resource has its own custom working hours, create the resource, then create sessions of type `"WORKING_HOURS"` using the [`createSession()`](wix-bookings-backend.Sessions/createsession) function. Use the `scheduleId` returned from `createResource()` when creating the sessions. These session can be single sessions or recurring sessions.
43
- * + You can have both default business hours and custom hours for the same resource schedule by combining the steps above.
44
30
  *
45
- * > **Notes:**
46
- * > + The Wix Bookings app does not show both default business hours and custom hours on the **Staff** page in the dashboard. If you've set up both custom and default business hours, only the default business hours will appear in the app, although both are working.
47
- * > + The Wix Bookings app does not show non-recurring `WORKING_HOURS` sessions in the resource calendar.
48
- * > + You can only add the business resource's schedule as a linked schedule for a resource.
49
- * > + A resource can have one schedule only.
50
- * > + You can have up to 135 active resources and an additional 135 deleted resources.
51
- * > + Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can create a resource. You can override the role permissions by setting the `options.suppressAuth` parameter to `true`.
52
- * <!--END:ONLY:VELO-->
53
- *
54
- * <!--ONLY:REST-->
55
- * Use the following steps to create resources:
56
- * - Create the resource using including schedule information.
57
- * - If the resource uses the default business hours, get the business resource's schedule ID and include it in the `scheduleInfo.availability.linkedSchedules` array in the in the schedule parameters.
58
- * - If the resource has its own custom working hours, create sessions of type `"WORKING_HOURS"`. Use the `scheduleId` of the new resource when creating the sessions. These session can be single sessions or recurring sessions. You can have both business hours and custom hours for the same resource schedule.
31
+ * The `createResource()` function returns a Promise that resolves to the created resource.
32
+ * Bookings resources are created with a schedule. The schedule and its sessions determine the resource's availability. Note that the schedule must contain a start date in the availability.start property. For resources that are available during the business's default hours, add the business's schedule as a linked schedule in the resource's schedule. For resources that have their own hours, create sessions with type `WORKING_HOURS` using the resource's schedule. You can use both individual and recurring sessions to define resource availability. You cannot use availability constraints for resource schedules.
59
33
  *
60
- * >**Notes:**
61
- * > + A resource can have one schedule only.
62
- * > + You can have up to 135 active resources and an additional 135 deleted resources.
63
- * > + The `businessLocation.businessSchedule` object in the `schedule.location` object is not supported.
64
34
  *
35
+ * When creating a resource using `createResource()`, include the resource's schedule information. Set the schedule information as follows:
36
+ * - If the resource uses the default business hours, get the business resource's schedule ID and include it in the `scheduleInfo.availability.linkedSchedules` array in the `scheduleInfo` parameter. The default hours can bee found in the Dashboard under **Settings** in the **Bookings** section, on the **Appointment hours** page.
37
+ * - If the resource has its own custom working hours, create the resource, then create sessions of type `WORKING_HOURS` using the [`createSession()`](wix-bookings-v2/sessions/createsession) function. Use the `scheduleId` returned from `createResource()` when creating the sessions. These session can be single sessions or recurring sessions.
38
+ * - You can have both default business hours and custom hours for the same resource schedule by combining the steps above.
65
39
  *
66
40
  *
67
- * >**Permissions:**
68
- * > This endpoint requires the Manage Bookings [permission scope](https://devforum.wix.com/kb/en/article/available-permissions).
69
- * <!--END:ONLY:REST-->
41
+ * > **Notes:**
42
+ * - The Wix Bookings app does not show both default business hours and custom hours on the **Staff** page in the dashboard. If you've set up both custom and default business hours, only the default business hours will appear in the app, although both are working.
43
+ * - The Wix Bookings app does not show non-recurring `WORKING_HOURS` sessions in the resource calendar.
44
+ * - You can only add the business resource's schedule as a linked schedule for a resource.
45
+ * - A resource can have one schedule only.
46
+ * - You can have up to 135 active resources and an additional 135 deleted resources.
47
+ * - Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can create a resource.
70
48
  */
71
49
  export declare function create(payload: CreateResourceRequest): RequestOptionsFactory<CreateResourceResponse & CreateResourceResponseNonNullableFields>;
72
50
  /**
73
51
  * Updates a resource.
74
- * <!--ONLY:VELO
75
- * The `updateResource()` function returns a Promise that resolves when a resource is updated.
76
- * Use this function to update all bookings resource information except for the resource's schedule. To update a resource's schedule use [`updateResourceSchedule()`](wix-bookings-backend/resource/updateresourceschedule).
77
52
  *
78
- * >**Notes:**
79
- * > + When updating a resource you cannot change the system tags used by the Wix Bookings app. Tags used by the app have the values `"business"` and `"staff"`.
80
- * > + Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can update a resource. You can override the role permissions by setting the `options.suppressAuth` parameter to `true`.
81
- * <!--END:ONLY:VELO-->
82
- * <!--ONLY:REST-->
83
- * Use this endpoint to update all resource information except for the resource's schedule. To update a resource's schedule use
84
- * the [Update Schedule](https://dev.wix.com/api/rest/wix-bookings/resources/update-schedule) endpoint.
85
53
  *
86
- * >**Notes:**
87
- * > + When updating a resource you cannot change the system tags used by the Wix Bookings app. Tags used by the app have the values `"business"` and `"staff"`.
88
- * > + When updating a resource's schedule you cannot change the resource tag used by the Wix Bookings app. Tags used by the app have the values `"INDIVIDUAL"`, `"GROUP"`, and `"COURSE”`.
89
- * > + The `businessLocation.businessSchedule` object in the `schedule.location` object is not supported.
54
+ * The `updateResource()` function returns a Promise that resolves when a resource is updated. Use this function to update all bookings resource information except for the resource's schedule. To update a resource's schedule use [`updateResourceSchedule()`](#updateresourceschedule).
90
55
  *
91
- * >**Permissions:**
92
- * > This endpoint requires the Manage Bookings [permission scope](https://devforum.wix.com/kb/en/article/available-permissions).
93
- * <!--END:ONLY:REST-->
56
+ *
57
+ * >**Notes:**
58
+ * - When updating a resource you cannot change the system tags used by the Wix Bookings app. Tags used by the app have the values `"business"` and `"staff"`.
59
+ * - Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can update a resource.
94
60
  */
95
61
  export declare function update(payload: UpdateResourceRequest): RequestOptionsFactory<UpdateResourceResponse & UpdateResourceResponseNonNullableFields>;
96
62
  /**
@@ -149,27 +115,18 @@ export declare function update(payload: UpdateResourceRequest): RequestOptionsFa
149
115
  export declare function updateSchedule(payload: ResourceUpdateScheduleRequest): RequestOptionsFactory<UpdateScheduleResponse & UpdateScheduleResponseNonNullableFields>;
150
116
  /**
151
117
  * Deletes a resource.
152
- * <!--ONLY:VELO
118
+ *
153
119
  * The `deleteResource()` function returns a Promise that is resolved when a resource is deleted.
154
- * <!--END:ONLY:VELO-->
155
- * Deleting a resource updates its `status` to `"DELETED"`.
120
+ *
121
+ *
122
+ * Deleting a resource updates its status to `DELETED`.
156
123
  *
157
124
  * You cannot delete a resource if it has booked sessions.
158
125
  *
159
- * <!--ONLY:VELO
160
- * >**Notes:**
161
- * > + The Bookings app automatically creates a resource with a name and tag of value `"business"``. This resource is used for the business's schedule and working hours and cannot be deleted.
162
- * > + You can have up to 135 active resources and an additional 135 deleted resources.
163
- * > + Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can delete a resource. You can override the role permissions by setting the `options.suppressAuth` parameter to `true`.
164
- * <!--END:ONLY:VELO-->
165
126
  *
166
- * <!--ONLY:REST-->
167
127
  * >**Notes:**
168
- * > + The Bookings app creates a resource with `"business"` in name and tag values. This resource is used for the business's schedule and working hours and cannot be deleted.
169
- * > + You can have up to 135 active resources and an additional 135 deleted resources.
170
- *
171
- * >**Permissions:**
172
- * > This endpoint requires the Manage Bookings [permission scope](https://devforum.wix.com/kb/en/article/available-permissions).
173
- * <!--END:ONLY:REST-->
128
+ * - The Bookings app automatically creates a resource with a name and tag of value `business`. This resource is used for the business's schedule and working hours and cannot be deleted.
129
+ * - You can have up to 135 active resources and an additional 135 deleted resources.
130
+ * - Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can delete a resource.
174
131
  */
175
132
  export declare function _delete(payload: DeleteResourceRequest): RequestOptionsFactory<DeleteResourceResponse & DeleteResourceResponseNonNullableFields>;