@wix/bookings 1.0.236 → 1.0.238
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.
- package/build/cjs/index.d.ts +2 -2
- package/build/cjs/index.js +3 -3
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +3 -3
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/src/bookings-catalog-v1-resource.http.d.ts +39 -74
- package/build/cjs/src/bookings-catalog-v1-resource.http.js +39 -74
- package/build/cjs/src/bookings-catalog-v1-resource.http.js.map +1 -1
- package/build/cjs/src/bookings-catalog-v1-resource.universal.d.ts +62 -112
- package/build/cjs/src/bookings-catalog-v1-resource.universal.js +39 -76
- package/build/cjs/src/bookings-catalog-v1-resource.universal.js.map +1 -1
- package/build/cjs/src/bookings-reader-v2-extended-booking.types.d.ts +0 -5
- package/build/cjs/src/bookings-reader-v2-extended-booking.types.js.map +1 -1
- package/build/cjs/src/bookings-reader-v2-extended-booking.universal.d.ts +0 -9
- package/build/cjs/src/bookings-reader-v2-extended-booking.universal.js.map +1 -1
- package/build/cjs/src/bookings-v2-booking.types.d.ts +0 -11
- package/build/cjs/src/bookings-v2-booking.types.js.map +1 -1
- package/build/cjs/src/bookings-v2-booking.universal.d.ts +0 -47
- package/build/cjs/src/bookings-v2-booking.universal.js.map +1 -1
- package/build/cjs/src/bookings-v2-price-info.types.d.ts +0 -5
- package/build/cjs/src/bookings-v2-price-info.types.js.map +1 -1
- package/build/cjs/src/bookings-v2-price-info.universal.d.ts +0 -5
- package/build/cjs/src/bookings-v2-price-info.universal.js.map +1 -1
- package/build/es/index.d.ts +2 -2
- package/build/es/index.js +2 -2
- package/build/es/index.js.map +1 -1
- package/build/es/index.typings.d.ts +2 -2
- package/build/es/index.typings.js +2 -2
- package/build/es/index.typings.js.map +1 -1
- package/build/es/src/bookings-catalog-v1-resource.http.d.ts +39 -74
- package/build/es/src/bookings-catalog-v1-resource.http.js +39 -74
- package/build/es/src/bookings-catalog-v1-resource.http.js.map +1 -1
- package/build/es/src/bookings-catalog-v1-resource.universal.d.ts +62 -112
- package/build/es/src/bookings-catalog-v1-resource.universal.js +39 -76
- package/build/es/src/bookings-catalog-v1-resource.universal.js.map +1 -1
- package/build/es/src/bookings-reader-v2-extended-booking.types.d.ts +0 -5
- package/build/es/src/bookings-reader-v2-extended-booking.types.js.map +1 -1
- package/build/es/src/bookings-reader-v2-extended-booking.universal.d.ts +0 -9
- package/build/es/src/bookings-reader-v2-extended-booking.universal.js.map +1 -1
- package/build/es/src/bookings-v2-booking.types.d.ts +0 -11
- package/build/es/src/bookings-v2-booking.types.js.map +1 -1
- package/build/es/src/bookings-v2-booking.universal.d.ts +0 -47
- package/build/es/src/bookings-v2-booking.universal.js.map +1 -1
- package/build/es/src/bookings-v2-price-info.types.d.ts +0 -5
- package/build/es/src/bookings-v2-price-info.types.js.map +1 -1
- package/build/es/src/bookings-v2-price-info.universal.d.ts +0 -5
- package/build/es/src/bookings-v2-price-info.universal.js.map +1 -1
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export * as sessionsFeed from './src/bookings-calendar-v2-session-feed-event.public';
|
|
2
|
+
export * as resources from './src/bookings-catalog-v1-resource.public';
|
|
3
|
+
export * as categories from './src/bookings-v1-category.public';
|
|
2
4
|
export * as availabilityCalendar from './src/bookings-availability-v1-slot-availability.public';
|
|
3
5
|
export * as sessions from './src/bookings-calendar-v1-session.public';
|
|
4
6
|
export * as externalCalendars from './src/bookings-calendar-v2-external-calendar.public';
|
|
@@ -9,5 +11,3 @@ export * as services from './src/bookings-services-v2-service.public';
|
|
|
9
11
|
export * as attendance from './src/bookings-v2-attendance.public';
|
|
10
12
|
export * as bookings from './src/bookings-v2-booking.public';
|
|
11
13
|
export * as pricing from './src/bookings-v2-price-info.public';
|
|
12
|
-
export * as resources from './src/bookings-catalog-v1-resource.public';
|
|
13
|
-
export * as categories from './src/bookings-v1-category.public';
|
package/build/cjs/index.js
CHANGED
|
@@ -19,8 +19,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
19
19
|
return result;
|
|
20
20
|
};
|
|
21
21
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
-
exports.
|
|
22
|
+
exports.pricing = exports.bookings = exports.attendance = exports.services = exports.extendedBookings = exports.serviceOptionsAndVariants = exports.sessionsView = exports.externalCalendars = exports.sessions = exports.availabilityCalendar = exports.categories = exports.resources = exports.sessionsFeed = void 0;
|
|
23
23
|
exports.sessionsFeed = __importStar(require("./src/bookings-calendar-v2-session-feed-event.public"));
|
|
24
|
+
exports.resources = __importStar(require("./src/bookings-catalog-v1-resource.public"));
|
|
25
|
+
exports.categories = __importStar(require("./src/bookings-v1-category.public"));
|
|
24
26
|
exports.availabilityCalendar = __importStar(require("./src/bookings-availability-v1-slot-availability.public"));
|
|
25
27
|
exports.sessions = __importStar(require("./src/bookings-calendar-v1-session.public"));
|
|
26
28
|
exports.externalCalendars = __importStar(require("./src/bookings-calendar-v2-external-calendar.public"));
|
|
@@ -31,6 +33,4 @@ exports.services = __importStar(require("./src/bookings-services-v2-service.publ
|
|
|
31
33
|
exports.attendance = __importStar(require("./src/bookings-v2-attendance.public"));
|
|
32
34
|
exports.bookings = __importStar(require("./src/bookings-v2-booking.public"));
|
|
33
35
|
exports.pricing = __importStar(require("./src/bookings-v2-price-info.public"));
|
|
34
|
-
exports.resources = __importStar(require("./src/bookings-catalog-v1-resource.public"));
|
|
35
|
-
exports.categories = __importStar(require("./src/bookings-v1-category.public"));
|
|
36
36
|
//# sourceMappingURL=index.js.map
|
package/build/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,qGAAqF;AACrF,gHAAgG;AAChG,sFAAsE;AACtE,yGAAyF;AACzF,+FAA+E;AAC/E,2HAA2G;AAC3G,qGAAqF;AACrF,sFAAsE;AACtE,kFAAkE;AAClE,6EAA6D;AAC7D,+EAA+D
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,qGAAqF;AACrF,uFAAuE;AACvE,gFAAgE;AAChE,gHAAgG;AAChG,sFAAsE;AACtE,yGAAyF;AACzF,+FAA+E;AAC/E,2HAA2G;AAC3G,qGAAqF;AACrF,sFAAsE;AACtE,kFAAkE;AAClE,6EAA6D;AAC7D,+EAA+D"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export * as resources from './src/bookings-catalog-v1-resource.universal';
|
|
2
|
+
export * as categories from './src/bookings-v1-category.universal';
|
|
1
3
|
export * as availabilityCalendar from './src/bookings-availability-v1-slot-availability.universal';
|
|
2
4
|
export * as sessions from './src/bookings-calendar-v1-session.universal';
|
|
3
5
|
export * as externalCalendars from './src/bookings-calendar-v2-external-calendar.universal';
|
|
@@ -8,5 +10,3 @@ export * as services from './src/bookings-services-v2-service.universal';
|
|
|
8
10
|
export * as attendance from './src/bookings-v2-attendance.universal';
|
|
9
11
|
export * as bookings from './src/bookings-v2-booking.universal';
|
|
10
12
|
export * as pricing from './src/bookings-v2-price-info.universal';
|
|
11
|
-
export * as resources from './src/bookings-catalog-v1-resource.universal';
|
|
12
|
-
export * as categories from './src/bookings-v1-category.universal';
|
|
@@ -19,7 +19,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
19
19
|
return result;
|
|
20
20
|
};
|
|
21
21
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
-
exports.
|
|
22
|
+
exports.pricing = exports.bookings = exports.attendance = exports.services = exports.extendedBookings = exports.serviceOptionsAndVariants = exports.sessionsView = exports.externalCalendars = exports.sessions = exports.availabilityCalendar = exports.categories = exports.resources = void 0;
|
|
23
|
+
exports.resources = __importStar(require("./src/bookings-catalog-v1-resource.universal"));
|
|
24
|
+
exports.categories = __importStar(require("./src/bookings-v1-category.universal"));
|
|
23
25
|
exports.availabilityCalendar = __importStar(require("./src/bookings-availability-v1-slot-availability.universal"));
|
|
24
26
|
exports.sessions = __importStar(require("./src/bookings-calendar-v1-session.universal"));
|
|
25
27
|
exports.externalCalendars = __importStar(require("./src/bookings-calendar-v2-external-calendar.universal"));
|
|
@@ -30,6 +32,4 @@ exports.services = __importStar(require("./src/bookings-services-v2-service.univ
|
|
|
30
32
|
exports.attendance = __importStar(require("./src/bookings-v2-attendance.universal"));
|
|
31
33
|
exports.bookings = __importStar(require("./src/bookings-v2-booking.universal"));
|
|
32
34
|
exports.pricing = __importStar(require("./src/bookings-v2-price-info.universal"));
|
|
33
|
-
exports.resources = __importStar(require("./src/bookings-catalog-v1-resource.universal"));
|
|
34
|
-
exports.categories = __importStar(require("./src/bookings-v1-category.universal"));
|
|
35
35
|
//# sourceMappingURL=index.typings.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.typings.js","sourceRoot":"","sources":["../../index.typings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,mHAAmG;AACnG,yFAAyE;AACzE,4GAA4F;AAC5F,kGAAkF;AAClF,8HAA8G;AAC9G,wGAAwF;AACxF,yFAAyE;AACzE,qFAAqE;AACrE,gFAAgE;AAChE,kFAAkE
|
|
1
|
+
{"version":3,"file":"index.typings.js","sourceRoot":"","sources":["../../index.typings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,0FAA0E;AAC1E,mFAAmE;AACnE,mHAAmG;AACnG,yFAAyE;AACzE,4GAA4F;AAC5F,kGAAkF;AAClF,8HAA8G;AAC9G,wGAAwF;AACxF,yFAAyE;AACzE,qFAAqE;AACrE,gFAAgE;AAChE,kFAAkE"}
|
|
@@ -1,27 +1,19 @@
|
|
|
1
1
|
import { RequestOptionsFactory } from '@wix/sdk-types';
|
|
2
2
|
import { CreateResourceRequest, CreateResourceResponse, DeleteResourceRequest, DeleteResourceResponse, QueryResourcesRequest, QueryResourcesResponse, UpdateResourceRequest, UpdateResourceResponse, ResourceUpdateScheduleRequest, UpdateScheduleResponse, QueryResourcesResponseNonNullableFields, CreateResourceResponseNonNullableFields, UpdateResourceResponseNonNullableFields, UpdateScheduleResponseNonNullableFields, DeleteResourceResponseNonNullableFields } from './bookings-catalog-v1-resource.types';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Creates a query to retrieve extended resource information.
|
|
5
5
|
*
|
|
6
|
-
* The query
|
|
7
|
-
* Resources that are in a resource group (i.e. the group_id property contains an ID) are excluded from the result for backwards compatibility unless the `include_resources_with_groups` request field is set to true.
|
|
6
|
+
* The `queryResources()` function builds a query to retrieve a catalog of resources, including resources' related schedules and slugs, and returns a [`ResourceQueryBuilder`](#) object. The returned object contains the query definition, which is typically used to run the query using the [`find()`](#) function.
|
|
8
7
|
*
|
|
9
|
-
*
|
|
10
|
-
* |--|--|
|
|
11
|
-
* |filter | supported fields: `resource.id`, `resource.tags`, `resource.status`|
|
|
12
|
-
* |paging | supported |
|
|
13
|
-
* |fields | supported |
|
|
14
|
-
* |fieldsets | **not supported** |
|
|
15
|
-
* |sort | **not supported** |
|
|
8
|
+
* The `ResourceQueryBuilder` functions enable you to run, filter, and control which results a query returns.
|
|
16
9
|
*
|
|
10
|
+
* Typically, you build a query using the `queryResources()` function, refine the query by chaining `ResourceQueryBuilder` functions, and then execute the query by chaining the `find()` function.
|
|
17
11
|
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
* > - `fieldsets`
|
|
12
|
+
* The query runs with the following defaults that you can override:
|
|
13
|
+
* - [`skip`](#): `0`
|
|
14
|
+
* - [`limit`](#): `50`
|
|
22
15
|
*
|
|
23
|
-
*
|
|
24
|
-
* > This endpoint requires the Read Bookings Calendar, Read Bookings - Public Data, Read Bookings - Including Participants or Manage Bookings permission scope.
|
|
16
|
+
* The following query builder functions are supported for `queryResources()`. For a full description of the `Resources` object, see the object returned for the [`items`](#) array in [`ResourceQueryResult`](#).
|
|
25
17
|
*/
|
|
26
18
|
export declare function query(payload: QueryResourcesRequest): RequestOptionsFactory<QueryResourcesResponse & QueryResourcesResponseNonNullableFields>;
|
|
27
19
|
/**
|
|
@@ -29,88 +21,62 @@ export declare function query(payload: QueryResourcesRequest): RequestOptionsFac
|
|
|
29
21
|
*
|
|
30
22
|
*
|
|
31
23
|
* 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.
|
|
24
|
+
* 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.
|
|
33
25
|
*
|
|
34
26
|
*
|
|
35
27
|
* When creating a resource using `createResource()`, include the resource's schedule information. Set the schedule information as follows:
|
|
36
28
|
* - 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()`](
|
|
29
|
+
* - If the resource has its own custom working hours, create the resource, then create sessions of type `WORKING_HOURS` using the [`createSession()`](#createsession) function. Use the `scheduleId` returned from `createResource()` when creating the sessions. These session can be single sessions or recurring sessions.
|
|
38
30
|
* - You can have both default business hours and custom hours for the same resource schedule by combining the steps above.
|
|
39
31
|
*
|
|
40
32
|
*
|
|
41
33
|
* > **Notes:**
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
* - Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can create a resource.
|
|
34
|
+
* >- 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.
|
|
35
|
+
* >- The Wix Bookings app does not show non-recurring `WORKING_HOURS` sessions in the resource calendar.
|
|
36
|
+
* >- You can only add the business resource's schedule as a linked schedule for a resource.
|
|
37
|
+
* >- A resource can have one schedule only.
|
|
38
|
+
* >- You can have up to 135 active resources and an additional 135 deleted resources.
|
|
48
39
|
*/
|
|
49
40
|
export declare function create(payload: CreateResourceRequest): RequestOptionsFactory<CreateResourceResponse & CreateResourceResponseNonNullableFields>;
|
|
50
41
|
/**
|
|
51
42
|
* Updates a resource.
|
|
52
43
|
*
|
|
53
44
|
*
|
|
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 [`
|
|
45
|
+
* 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 [`updateSchedule()`](#updateschedule).
|
|
55
46
|
*
|
|
56
47
|
*
|
|
57
|
-
* >**
|
|
58
|
-
*
|
|
59
|
-
* - Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can update a resource.
|
|
48
|
+
* >**Note:**
|
|
49
|
+
* > 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"`.
|
|
60
50
|
*/
|
|
61
51
|
export declare function update(payload: UpdateResourceRequest): RequestOptionsFactory<UpdateResourceResponse & UpdateResourceResponseNonNullableFields>;
|
|
62
52
|
/**
|
|
63
|
-
* Updates a resource's schedule
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
* Use this function to update the bookings resource's schedule. To update other resource details
|
|
53
|
+
* Updates a resource's schedule.
|
|
54
|
+
*
|
|
55
|
+
*
|
|
56
|
+
* The `updateSchedule()` function returns a Promise that resolves when a resource's schedule has been updated. Use this function to update the bookings resource's schedule. To update other resource details use [`updateResource()`](#updateresource).
|
|
57
|
+
*
|
|
67
58
|
* The following schedule properties can be updated:
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
*
|
|
59
|
+
*
|
|
60
|
+
* - `availability.start`
|
|
61
|
+
*
|
|
62
|
+
* - `availability.linkedSchedules`
|
|
63
|
+
*
|
|
71
64
|
*
|
|
72
65
|
* To update a resource's schedule to remove business hours and add custom hours:
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
* + Create a set of recurring sessions of type `"WORKING_HOURS"` to define the resource's new hours.
|
|
76
|
-
* <!--END:ONLY:REST-->
|
|
77
|
-
* <!--ONLY:VELO
|
|
78
|
-
* + Use [`updateResourceSchedule()`](wix-bookings-backend.Resources/updateresourcesession) to remove the business's scheduleId from the `availability.linkedSchedules` array.
|
|
79
|
-
* + Use [`createSession()`](wix-bookings-backend.Sessions/createsession) to create a set of recurring sessions of type `"WORKING_HOURS"` to define the resource's new hours.
|
|
80
|
-
* <!--END:ONLY:VELO-->
|
|
66
|
+
* - Use [`updateSchedule()`](#updateschedule) to remove the business's scheduleId from the `availability.linkedSchedules` array.
|
|
67
|
+
* - Use [`createSession()`](#createsession) to create a set of recurring sessions of type `"WORKING_HOURS"` to define the resource's new hours.
|
|
81
68
|
*
|
|
82
|
-
* To update a resource's schedule to add default business hours, and keep or remove custom hours:
|
|
83
|
-
* <!--ONLY:REST-->
|
|
84
|
-
* + Update the resource's schedule to add the business resource's `scheduleId` to the `availability.linkedSchedules` array.
|
|
85
|
-
* + If you want to remove the custom sessions, delete the resource's sessions of type `"WORKING_HOURS"`.
|
|
86
|
-
* You do not have to delete exiting custom sessions. Custom session that are not deleted will continue to be included in availability calculations and can still be booked.
|
|
87
|
-
* <!--END:ONLY:REST-->
|
|
88
|
-
* <!--ONLY:VELO
|
|
89
|
-
* + Use [`updateResourceSchedule()`](wix-bookings-backend.Resources/updateresourcesession) to add the business resource's `scheduleId` to the `availability.linkedSchedules` array.
|
|
90
|
-
* + If you want to remove the custom sessions, use [`deleteSession()`](wix-bookings-backend.Sessions/deletesession) to delete the resource's sessions of type `"WORKING_HOURS"`. You do not have to delete exiting custom sessions. You can have both default working hours and custom hours for the same schedule. Custom sessions that are not deleted will continue to be included in availability calculations and can still be booked.
|
|
91
69
|
*
|
|
92
|
-
*
|
|
93
|
-
* > + 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.
|
|
94
|
-
* > + A resource can have one schedule only.
|
|
95
|
-
* > + A resource can have both default business hours and custom hours in its schedule.
|
|
96
|
-
* > + When updating a resource's schedule you cannot change the system tags used by the Wix Bookings app. Tags used by the app have the values `"INDIVIDUAL"`, `"GROUP"`, and `"COURSE”`.
|
|
97
|
-
* > + Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can update a resource schedule. You can override the role permissions by setting the `options.suppressAuth` parameter to `true`.
|
|
98
|
-
* @snippet [updateResourceScheduleDefaultToCustom.es6=Update a resource's schedule from business to custom hours]
|
|
99
|
-
* Update a resource's schedule from the business's default working hours to 2 custom days per week.
|
|
100
|
-
* @snippet [updateResourceScheduleCustomToDefault.es6=Update a resource's schedule from custom to business hours]
|
|
101
|
-
* <!--END:ONLY:VELO-->
|
|
102
|
-
* <!--ONLY:REST-->
|
|
103
|
-
* >**Notes:**
|
|
104
|
-
* > + A resource can have one schedule only.
|
|
105
|
-
* > + A resource can have both default business hours and custom hours in its schedule.
|
|
106
|
-
* > + When updating a resource's schedule you cannot change the system tags used by the Wix Bookings app. Tags used by the app have the values `"INDIVIDUAL"`, `"GROUP"`, and `"COURSE”`.
|
|
107
|
-
* > + The `businessLocation.businessSchedule` object in the `schedule.location` object is not supported.
|
|
70
|
+
* To update a resource's schedule to add default business hours, and keep or remove custom hours:
|
|
108
71
|
*
|
|
72
|
+
* - Use [`updateSchedule()`](#updateschedule) to add the business resource's `scheduleId` to the `availability.linkedSchedules` array.
|
|
109
73
|
*
|
|
110
74
|
*
|
|
111
|
-
*
|
|
112
|
-
*
|
|
113
|
-
*
|
|
75
|
+
* > **Notes:**
|
|
76
|
+
* >- 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.
|
|
77
|
+
* >- A resource can have one schedule only.
|
|
78
|
+
* >- A resource can have both default business hours and custom hours in its schedule.
|
|
79
|
+
* >- When updating a resource's schedule you cannot change the system tags used by the Wix Bookings app. Tags used by the app have the values `"INDIVIDUAL"`, `"GROUP"`, and `"COURSE"`.
|
|
114
80
|
*/
|
|
115
81
|
export declare function updateSchedule(payload: ResourceUpdateScheduleRequest): RequestOptionsFactory<UpdateScheduleResponse & UpdateScheduleResponseNonNullableFields>;
|
|
116
82
|
/**
|
|
@@ -125,8 +91,7 @@ export declare function updateSchedule(payload: ResourceUpdateScheduleRequest):
|
|
|
125
91
|
*
|
|
126
92
|
*
|
|
127
93
|
* >**Notes:**
|
|
128
|
-
*
|
|
129
|
-
*
|
|
130
|
-
* - Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can delete a resource.
|
|
94
|
+
* >- 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.
|
|
95
|
+
* >- You can have up to 135 active resources and an additional 135 deleted resources.
|
|
131
96
|
*/
|
|
132
97
|
export declare function _delete(payload: DeleteResourceRequest): RequestOptionsFactory<DeleteResourceResponse & DeleteResourceResponseNonNullableFields>;
|
|
@@ -178,27 +178,19 @@ function resolveComWixpressBookingsResourcesCoreApiV1ResourceResourcesServiceUrl
|
|
|
178
178
|
return (0, metro_runtime_2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
179
179
|
}
|
|
180
180
|
/**
|
|
181
|
-
*
|
|
181
|
+
* Creates a query to retrieve extended resource information.
|
|
182
182
|
*
|
|
183
|
-
* The query
|
|
184
|
-
* Resources that are in a resource group (i.e. the group_id property contains an ID) are excluded from the result for backwards compatibility unless the `include_resources_with_groups` request field is set to true.
|
|
183
|
+
* The `queryResources()` function builds a query to retrieve a catalog of resources, including resources' related schedules and slugs, and returns a [`ResourceQueryBuilder`](#) object. The returned object contains the query definition, which is typically used to run the query using the [`find()`](#) function.
|
|
185
184
|
*
|
|
186
|
-
*
|
|
187
|
-
* |--|--|
|
|
188
|
-
* |filter | supported fields: `resource.id`, `resource.tags`, `resource.status`|
|
|
189
|
-
* |paging | supported |
|
|
190
|
-
* |fields | supported |
|
|
191
|
-
* |fieldsets | **not supported** |
|
|
192
|
-
* |sort | **not supported** |
|
|
185
|
+
* The `ResourceQueryBuilder` functions enable you to run, filter, and control which results a query returns.
|
|
193
186
|
*
|
|
187
|
+
* Typically, you build a query using the `queryResources()` function, refine the query by chaining `ResourceQueryBuilder` functions, and then execute the query by chaining the `find()` function.
|
|
194
188
|
*
|
|
195
|
-
*
|
|
196
|
-
*
|
|
197
|
-
*
|
|
198
|
-
* > - `fieldsets`
|
|
189
|
+
* The query runs with the following defaults that you can override:
|
|
190
|
+
* - [`skip`](#): `0`
|
|
191
|
+
* - [`limit`](#): `50`
|
|
199
192
|
*
|
|
200
|
-
*
|
|
201
|
-
* > This endpoint requires the Read Bookings Calendar, Read Bookings - Public Data, Read Bookings - Including Participants or Manage Bookings permission scope.
|
|
193
|
+
* The following query builder functions are supported for `queryResources()`. For a full description of the `Resources` object, see the object returned for the [`items`](#) array in [`ResourceQueryResult`](#).
|
|
202
194
|
*/
|
|
203
195
|
function query(payload) {
|
|
204
196
|
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_queryResourcesRequest, {});
|
|
@@ -236,22 +228,21 @@ exports.query = query;
|
|
|
236
228
|
*
|
|
237
229
|
*
|
|
238
230
|
* The `createResource()` function returns a Promise that resolves to the created resource.
|
|
239
|
-
* 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.
|
|
231
|
+
* 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.
|
|
240
232
|
*
|
|
241
233
|
*
|
|
242
234
|
* When creating a resource using `createResource()`, include the resource's schedule information. Set the schedule information as follows:
|
|
243
235
|
* - 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.
|
|
244
|
-
* - If the resource has its own custom working hours, create the resource, then create sessions of type `WORKING_HOURS` using the [`createSession()`](
|
|
236
|
+
* - If the resource has its own custom working hours, create the resource, then create sessions of type `WORKING_HOURS` using the [`createSession()`](#createsession) function. Use the `scheduleId` returned from `createResource()` when creating the sessions. These session can be single sessions or recurring sessions.
|
|
245
237
|
* - You can have both default business hours and custom hours for the same resource schedule by combining the steps above.
|
|
246
238
|
*
|
|
247
239
|
*
|
|
248
240
|
* > **Notes:**
|
|
249
|
-
*
|
|
250
|
-
*
|
|
251
|
-
*
|
|
252
|
-
*
|
|
253
|
-
*
|
|
254
|
-
* - Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can create a resource.
|
|
241
|
+
* >- 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.
|
|
242
|
+
* >- The Wix Bookings app does not show non-recurring `WORKING_HOURS` sessions in the resource calendar.
|
|
243
|
+
* >- You can only add the business resource's schedule as a linked schedule for a resource.
|
|
244
|
+
* >- A resource can have one schedule only.
|
|
245
|
+
* >- You can have up to 135 active resources and an additional 135 deleted resources.
|
|
255
246
|
*/
|
|
256
247
|
function create(payload) {
|
|
257
248
|
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_createResourceRequest, {
|
|
@@ -300,12 +291,11 @@ exports.create = create;
|
|
|
300
291
|
* Updates a resource.
|
|
301
292
|
*
|
|
302
293
|
*
|
|
303
|
-
* 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 [`
|
|
294
|
+
* 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 [`updateSchedule()`](#updateschedule).
|
|
304
295
|
*
|
|
305
296
|
*
|
|
306
|
-
* >**
|
|
307
|
-
*
|
|
308
|
-
* - Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can update a resource.
|
|
297
|
+
* >**Note:**
|
|
298
|
+
* > 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"`.
|
|
309
299
|
*/
|
|
310
300
|
function update(payload) {
|
|
311
301
|
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_updateResourceRequest, {
|
|
@@ -356,57 +346,33 @@ function update(payload) {
|
|
|
356
346
|
}
|
|
357
347
|
exports.update = update;
|
|
358
348
|
/**
|
|
359
|
-
* Updates a resource's schedule
|
|
360
|
-
*
|
|
361
|
-
*
|
|
362
|
-
* Use this function to update the bookings resource's schedule. To update other resource details
|
|
349
|
+
* Updates a resource's schedule.
|
|
350
|
+
*
|
|
351
|
+
*
|
|
352
|
+
* The `updateSchedule()` function returns a Promise that resolves when a resource's schedule has been updated. Use this function to update the bookings resource's schedule. To update other resource details use [`updateResource()`](#updateresource).
|
|
353
|
+
*
|
|
363
354
|
* The following schedule properties can be updated:
|
|
364
|
-
*
|
|
365
|
-
*
|
|
366
|
-
*
|
|
355
|
+
*
|
|
356
|
+
* - `availability.start`
|
|
357
|
+
*
|
|
358
|
+
* - `availability.linkedSchedules`
|
|
359
|
+
*
|
|
367
360
|
*
|
|
368
361
|
* To update a resource's schedule to remove business hours and add custom hours:
|
|
369
|
-
*
|
|
370
|
-
*
|
|
371
|
-
* + Create a set of recurring sessions of type `"WORKING_HOURS"` to define the resource's new hours.
|
|
372
|
-
* <!--END:ONLY:REST-->
|
|
373
|
-
* <!--ONLY:VELO
|
|
374
|
-
* + Use [`updateResourceSchedule()`](wix-bookings-backend.Resources/updateresourcesession) to remove the business's scheduleId from the `availability.linkedSchedules` array.
|
|
375
|
-
* + Use [`createSession()`](wix-bookings-backend.Sessions/createsession) to create a set of recurring sessions of type `"WORKING_HOURS"` to define the resource's new hours.
|
|
376
|
-
* <!--END:ONLY:VELO-->
|
|
362
|
+
* - Use [`updateSchedule()`](#updateschedule) to remove the business's scheduleId from the `availability.linkedSchedules` array.
|
|
363
|
+
* - Use [`createSession()`](#createsession) to create a set of recurring sessions of type `"WORKING_HOURS"` to define the resource's new hours.
|
|
377
364
|
*
|
|
378
|
-
* To update a resource's schedule to add default business hours, and keep or remove custom hours:
|
|
379
|
-
* <!--ONLY:REST-->
|
|
380
|
-
* + Update the resource's schedule to add the business resource's `scheduleId` to the `availability.linkedSchedules` array.
|
|
381
|
-
* + If you want to remove the custom sessions, delete the resource's sessions of type `"WORKING_HOURS"`.
|
|
382
|
-
* You do not have to delete exiting custom sessions. Custom session that are not deleted will continue to be included in availability calculations and can still be booked.
|
|
383
|
-
* <!--END:ONLY:REST-->
|
|
384
|
-
* <!--ONLY:VELO
|
|
385
|
-
* + Use [`updateResourceSchedule()`](wix-bookings-backend.Resources/updateresourcesession) to add the business resource's `scheduleId` to the `availability.linkedSchedules` array.
|
|
386
|
-
* + If you want to remove the custom sessions, use [`deleteSession()`](wix-bookings-backend.Sessions/deletesession) to delete the resource's sessions of type `"WORKING_HOURS"`. You do not have to delete exiting custom sessions. You can have both default working hours and custom hours for the same schedule. Custom sessions that are not deleted will continue to be included in availability calculations and can still be booked.
|
|
387
365
|
*
|
|
388
|
-
*
|
|
389
|
-
* > + 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.
|
|
390
|
-
* > + A resource can have one schedule only.
|
|
391
|
-
* > + A resource can have both default business hours and custom hours in its schedule.
|
|
392
|
-
* > + When updating a resource's schedule you cannot change the system tags used by the Wix Bookings app. Tags used by the app have the values `"INDIVIDUAL"`, `"GROUP"`, and `"COURSE”`.
|
|
393
|
-
* > + Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can update a resource schedule. You can override the role permissions by setting the `options.suppressAuth` parameter to `true`.
|
|
394
|
-
* @snippet [updateResourceScheduleDefaultToCustom.es6=Update a resource's schedule from business to custom hours]
|
|
395
|
-
* Update a resource's schedule from the business's default working hours to 2 custom days per week.
|
|
396
|
-
* @snippet [updateResourceScheduleCustomToDefault.es6=Update a resource's schedule from custom to business hours]
|
|
397
|
-
* <!--END:ONLY:VELO-->
|
|
398
|
-
* <!--ONLY:REST-->
|
|
399
|
-
* >**Notes:**
|
|
400
|
-
* > + A resource can have one schedule only.
|
|
401
|
-
* > + A resource can have both default business hours and custom hours in its schedule.
|
|
402
|
-
* > + When updating a resource's schedule you cannot change the system tags used by the Wix Bookings app. Tags used by the app have the values `"INDIVIDUAL"`, `"GROUP"`, and `"COURSE”`.
|
|
403
|
-
* > + The `businessLocation.businessSchedule` object in the `schedule.location` object is not supported.
|
|
366
|
+
* To update a resource's schedule to add default business hours, and keep or remove custom hours:
|
|
404
367
|
*
|
|
368
|
+
* - Use [`updateSchedule()`](#updateschedule) to add the business resource's `scheduleId` to the `availability.linkedSchedules` array.
|
|
405
369
|
*
|
|
406
370
|
*
|
|
407
|
-
*
|
|
408
|
-
*
|
|
409
|
-
*
|
|
371
|
+
* > **Notes:**
|
|
372
|
+
* >- 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.
|
|
373
|
+
* >- A resource can have one schedule only.
|
|
374
|
+
* >- A resource can have both default business hours and custom hours in its schedule.
|
|
375
|
+
* >- When updating a resource's schedule you cannot change the system tags used by the Wix Bookings app. Tags used by the app have the values `"INDIVIDUAL"`, `"GROUP"`, and `"COURSE"`.
|
|
410
376
|
*/
|
|
411
377
|
function updateSchedule(payload) {
|
|
412
378
|
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_resourceUpdateScheduleRequest, {
|
|
@@ -463,9 +429,8 @@ exports.updateSchedule = updateSchedule;
|
|
|
463
429
|
*
|
|
464
430
|
*
|
|
465
431
|
* >**Notes:**
|
|
466
|
-
*
|
|
467
|
-
*
|
|
468
|
-
* - Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can delete a resource.
|
|
432
|
+
* >- 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.
|
|
433
|
+
* >- You can have up to 135 active resources and an additional 135 deleted resources.
|
|
469
434
|
*/
|
|
470
435
|
function _delete(payload) {
|
|
471
436
|
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_deleteResourceRequest, {});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-catalog-v1-resource.http.js","sourceRoot":"","sources":["../../../src/bookings-catalog-v1-resource.http.ts"],"names":[],"mappings":";;;AAAA,sDAAuD;AACvD,8DAA2D;AAC3D,sDAAgD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EAAE,EAAE,gBAAgB,EAAE,CAAC,CAAC,CAAC;AAC/D,CAAC;AAED
|
|
1
|
+
{"version":3,"file":"bookings-catalog-v1-resource.http.js","sourceRoot":"","sources":["../../../src/bookings-catalog-v1-resource.http.ts"],"names":[],"mappings":";;;AAAA,sDAAuD;AACvD,8DAA2D;AAC3D,sDAAgD;AAqBhD,MAAM,QAAQ,GAAG,EAAE,OAAO,EAAE,kBAAkB,EAAE,CAAC;AACjD,MAAM,gBAAgB,GAAG;IACvB,QAAQ,EAAE,6BAA6B;IACvC,SAAS,EAAE,6BAA6B;CACzC,CAAC;AACF,MAAM,aAAa,GAAG;IACpB,KAAK,EAAE,2BAA2B;IAClC,GAAG,EAAE,2BAA2B;IAChC,SAAS,EAAE,WAAW;CACvB,CAAC;AACF,MAAM,aAAa,GAAG;IACpB,cAAc,EAAE,wBAAwB;IACxC,cAAc,EAAE,wBAAwB;IACxC,cAAc,EAAE,wBAAwB;CACzC,CAAC;AACF,MAAM,cAAc,GAAG;IACrB,OAAO,EAAE,WAAW;IACpB,OAAO,EAAE,WAAW;IACpB,SAAS,EAAE,WAAW;CACvB,CAAC;AACF,MAAM,sBAAsB,GAAG,EAAE,IAAI,EAAE,2BAA2B,EAAE,CAAC;AACrE,MAAM,sBAAsB,GAAG;IAC7B,QAAQ,EAAE,WAAW;IACrB,SAAS,EAAE,WAAW;CACvB,CAAC;AACF,MAAM,uBAAuB,GAAG,EAAE,QAAQ,EAAE,WAAW,EAAE,CAAC;AAC1D,MAAM,sBAAsB,GAAG,EAAE,QAAQ,EAAE,WAAW,EAAE,CAAC;AACzD,MAAM,sBAAsB,GAAG,EAAE,CAAC;AAClC,MAAM,uBAAuB,GAAG,EAAE,CAAC;AACnC,MAAM,MAAM,GAAG,EAAE,iBAAiB,EAAE,2BAA2B,EAAE,CAAC;AAClE,MAAM,SAAS,GAAG;IAChB,aAAa,EAAE,UAAU;IACzB,gBAAgB,EAAE,oBAAoB;CACvC,CAAC;AACF,MAAM,iBA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