@wix/bookings 1.0.156 → 1.0.158
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/src/bookings-catalog-v1-resource.http.d.ts +48 -156
- package/build/cjs/src/bookings-catalog-v1-resource.http.js +48 -156
- package/build/cjs/src/bookings-catalog-v1-resource.http.js.map +1 -1
- package/build/cjs/src/bookings-catalog-v1-resource.public.d.ts +6 -6
- package/build/cjs/src/bookings-catalog-v1-resource.public.js +13 -13
- package/build/cjs/src/bookings-catalog-v1-resource.public.js.map +1 -1
- package/build/cjs/src/bookings-catalog-v1-resource.universal.d.ts +78 -176
- package/build/cjs/src/bookings-catalog-v1-resource.universal.js +57 -168
- package/build/cjs/src/bookings-catalog-v1-resource.universal.js.map +1 -1
- package/build/cjs/src/bookings-v2-attendance.http.d.ts +13 -10
- package/build/cjs/src/bookings-v2-attendance.http.js +20 -9
- package/build/cjs/src/bookings-v2-attendance.http.js.map +1 -1
- package/build/cjs/src/bookings-v2-attendance.types.d.ts +13 -7
- package/build/cjs/src/bookings-v2-attendance.types.js.map +1 -1
- package/build/cjs/src/bookings-v2-attendance.universal.d.ts +25 -16
- package/build/cjs/src/bookings-v2-attendance.universal.js +12 -9
- package/build/cjs/src/bookings-v2-attendance.universal.js.map +1 -1
- package/build/es/src/bookings-catalog-v1-resource.http.d.ts +48 -156
- package/build/es/src/bookings-catalog-v1-resource.http.js +48 -156
- package/build/es/src/bookings-catalog-v1-resource.http.js.map +1 -1
- package/build/es/src/bookings-catalog-v1-resource.public.d.ts +6 -6
- package/build/es/src/bookings-catalog-v1-resource.public.js +9 -9
- package/build/es/src/bookings-catalog-v1-resource.public.js.map +1 -1
- package/build/es/src/bookings-catalog-v1-resource.universal.d.ts +78 -176
- package/build/es/src/bookings-catalog-v1-resource.universal.js +52 -163
- package/build/es/src/bookings-catalog-v1-resource.universal.js.map +1 -1
- package/build/es/src/bookings-v2-attendance.http.d.ts +13 -10
- package/build/es/src/bookings-v2-attendance.http.js +20 -9
- package/build/es/src/bookings-v2-attendance.http.js.map +1 -1
- package/build/es/src/bookings-v2-attendance.types.d.ts +13 -7
- package/build/es/src/bookings-v2-attendance.types.js.map +1 -1
- package/build/es/src/bookings-v2-attendance.universal.d.ts +25 -16
- package/build/es/src/bookings-v2-attendance.universal.js +12 -9
- package/build/es/src/bookings-v2-attendance.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,195 +1,87 @@
|
|
|
1
1
|
import { RequestOptionsFactory } from '@wix/sdk-types';
|
|
2
2
|
import { CreateResourceRequest, CreateResourceResponse, DeleteResourceRequest, DeleteResourceResponse, ListResourcesRequest, ListResourcesResponse, QueryResourcesRequest, QueryResourcesResponse, UpdateResourceRequest, UpdateResourceResponse, ResourceUpdateScheduleRequest, UpdateScheduleResponse } from './bookings-catalog-v1-resource.types';
|
|
3
|
-
/**
|
|
4
|
-
* > **Deprecation Notice**
|
|
5
|
-
* >
|
|
6
|
-
* > **This endpoint has been replaced with [Query Resource](https://dev.wix.com/api/rest/wix-bookings/resources/list-resources/query-resource) and will be removed on March 31, 2022.**
|
|
7
|
-
* > **If your app uses this endpoint, we recommend updating your code as soon as possible.**
|
|
8
|
-
*
|
|
9
|
-
* Retrieves a list of the resources according to the provided filters and paging.
|
|
10
|
-
* <!--ONLY:REST-->
|
|
11
|
-
* This query is optional. If no query is provided than all non-deleted resources are returned.
|
|
12
|
-
*
|
|
13
|
-
* |Property|Is supported|
|
|
14
|
-
* |--|--|
|
|
15
|
-
* |filter | supports `resource.id`, `resource.tag`, `resource.status`|
|
|
16
|
-
* |paging | supported |
|
|
17
|
-
* |fields | supported |
|
|
18
|
-
* |fieldsets | **not supported** |
|
|
19
|
-
* |sort| **not supported** |
|
|
20
|
-
*
|
|
21
|
-
* > **Permissions**
|
|
22
|
-
* > This endpoint requires the Read Bookings Calendar, Read Bookings - Public Data, Read Bookings - Including Participants or Manage Bookings permission scope.
|
|
23
|
-
* <!--END:ONLY:REST-->
|
|
24
|
-
*/
|
|
3
|
+
/** @internal */
|
|
25
4
|
export declare function list(payload: ListResourcesRequest): RequestOptionsFactory<ListResourcesResponse>;
|
|
26
5
|
/**
|
|
27
6
|
* Retrieves a list of the resources according to the specified filters and paging.
|
|
28
7
|
*
|
|
29
|
-
* The query parameter is optional. If no query is provided than all non-deleted resources are returned.
|
|
30
8
|
*
|
|
31
|
-
*
|
|
32
|
-
* |--|--|
|
|
33
|
-
* |filter | supported fields: `resource.id`, `resource.tags`, `resource.status`|
|
|
34
|
-
* |paging | supported |
|
|
35
|
-
* |fields | supported |
|
|
36
|
-
* |fieldsets | **not supported** |
|
|
37
|
-
* |sort | **not supported** |
|
|
9
|
+
* The query parameter is optional. If no query is provided, all non-deleted resources are returned.
|
|
38
10
|
*
|
|
11
|
+
* |Property|Is supported| |--|--| |filter | supported fields: resource.id, resource.tags, resource.status| |paging | supported | |fields | supported | |fieldsets | not supported | |sort | not supported |
|
|
39
12
|
*
|
|
40
|
-
*
|
|
41
|
-
* >
|
|
42
|
-
* >
|
|
43
|
-
* > - `fieldsets`
|
|
13
|
+
* > **Notes:** The following objects in the query parameter are not supported for this query:
|
|
14
|
+
* > - sort
|
|
15
|
+
* > - fieldsets
|
|
44
16
|
*
|
|
45
|
-
* > **Permissions**
|
|
46
|
-
* > This endpoint requires the Read Bookings Calendar, Read Bookings - Public Data, Read Bookings - Including Participants or Manage Bookings permission scope.
|
|
47
17
|
*/
|
|
48
18
|
export declare function query(payload: QueryResourcesRequest): RequestOptionsFactory<QueryResourcesResponse>;
|
|
49
19
|
/**
|
|
50
20
|
* Creates a resource.
|
|
51
|
-
*
|
|
21
|
+
*
|
|
22
|
+
*
|
|
52
23
|
* The `createResource()` function returns a Promise that resolves to the created resource.
|
|
53
|
-
*
|
|
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.
|
|
54
25
|
*
|
|
55
|
-
* 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.
|
|
56
|
-
* 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.
|
|
57
|
-
* You can use both individual and recurring sessions to define resource availability. You cannot use availability constraints for resource schedules.
|
|
58
26
|
*
|
|
59
|
-
* <!--ONLY:VELO
|
|
60
27
|
* When creating a resource using `createResource()`, include the resource's schedule information. Set the schedule information as follows:
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
* >
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
* <!--ONLY:REST-->
|
|
75
|
-
* Use the following steps to create resources:
|
|
76
|
-
* - Create the resource using including schedule information.
|
|
77
|
-
* - 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.
|
|
78
|
-
* - 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.
|
|
79
|
-
*
|
|
80
|
-
* >**Notes:**
|
|
81
|
-
* > + A resource can have one schedule only.
|
|
82
|
-
* > + You can have up to 135 active resources and an additional 135 deleted resources.
|
|
83
|
-
* > + The `businessLocation.businessSchedule` object in the `schedule.location` object is not supported.
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
* >**Permissions:**
|
|
88
|
-
* > This endpoint requires the Manage Bookings [permission scope](https://devforum.wix.com/kb/en/article/available-permissions).
|
|
89
|
-
* <!--END:ONLY:REST-->
|
|
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.
|
|
29
|
+
* - If the resource has its own custom working hours, create the resource, then create sessions of type `WORKING_HOURS` using the [`createSession()`](Sessions/createsession) function. Use the `scheduleId` returned from `createResource()` when creating the sessions. These session can be single sessions or recurring sessions.
|
|
30
|
+
*
|
|
31
|
+
* You can have both default business hours and custom hours for the same resource schedule by combining the steps above.
|
|
32
|
+
*
|
|
33
|
+
*
|
|
34
|
+
* > **Notes:** 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
|
+
*
|
|
36
|
+
*
|
|
37
|
+
* The Wix Bookings app does not show non-recurring `WORKING_HOURS` sessions in the resource calendar. You can only add the business resource's schedule as a linked schedule for a resource. A resource can have one schedule only.
|
|
38
|
+
*
|
|
39
|
+
*
|
|
40
|
+
* You can have up to 135 active resources and an additional 135 deleted resources. Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can create a resource.
|
|
90
41
|
*/
|
|
91
42
|
export declare function create(payload: CreateResourceRequest): RequestOptionsFactory<CreateResourceResponse>;
|
|
92
43
|
/**
|
|
93
44
|
* Updates a resource.
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
* Use this function to update all bookings resource information except for the resource's schedule. To update a resource's schedule use [`updateResourceSchedule()`](
|
|
97
|
-
*
|
|
98
|
-
*
|
|
99
|
-
*
|
|
100
|
-
* > + 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`.
|
|
101
|
-
* <!--END:ONLY:VELO-->
|
|
102
|
-
* <!--ONLY:REST-->
|
|
103
|
-
* Use this endpoint to update all resource information except for the resource's schedule. To update a resource's schedule use
|
|
104
|
-
* the [Update Schedule](https://dev.wix.com/api/rest/wix-bookings/resources/update-schedule) endpoint.
|
|
105
|
-
*
|
|
106
|
-
* >**Notes:**
|
|
107
|
-
* > + 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"`.
|
|
108
|
-
* > + 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”`.
|
|
109
|
-
* > + The `businessLocation.businessSchedule` object in the `schedule.location` object is not supported.
|
|
110
|
-
*
|
|
111
|
-
* >**Permissions:**
|
|
112
|
-
* > This endpoint requires the Manage Bookings [permission scope](https://devforum.wix.com/kb/en/article/available-permissions).
|
|
113
|
-
* <!--END:ONLY:REST-->
|
|
45
|
+
*
|
|
46
|
+
*
|
|
47
|
+
* 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()`](resources/updateresourceschedule).
|
|
48
|
+
*
|
|
49
|
+
*
|
|
50
|
+
* >**Notes:** 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"`. Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can update a resource.
|
|
114
51
|
*/
|
|
115
52
|
export declare function update(payload: UpdateResourceRequest): RequestOptionsFactory<UpdateResourceResponse>;
|
|
116
53
|
/**
|
|
117
|
-
* Updates a resource's schedule
|
|
118
|
-
*
|
|
119
|
-
*
|
|
120
|
-
* Use this function to update the bookings resource's schedule. To update other resource details
|
|
121
|
-
*
|
|
122
|
-
* + `availability.start`
|
|
123
|
-
* + `availability.linkedSchedules`
|
|
124
|
-
* <!--END:ONLY:VELO-->
|
|
54
|
+
* Updates a resource's schedule.
|
|
55
|
+
*
|
|
56
|
+
*
|
|
57
|
+
* The `updateResourceSchedule()` 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()`] (resources/updateresource). The following schedule properties can be updated: + `availability.start` + `availability.linkedSchedules`
|
|
58
|
+
*
|
|
125
59
|
*
|
|
126
60
|
* To update a resource's schedule to remove business hours and add custom hours:
|
|
127
|
-
*
|
|
128
|
-
*
|
|
129
|
-
*
|
|
130
|
-
* <!--END:ONLY:REST-->
|
|
131
|
-
* <!--ONLY:VELO
|
|
132
|
-
* + Use [`updateResourceSchedule()`](wix-bookings-backend.Resources/updateresourcesession) to remove the business's scheduleId from the `availability.linkedSchedules` array.
|
|
133
|
-
* + 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.
|
|
134
|
-
* <!--END:ONLY:VELO-->
|
|
61
|
+
* - Use [`updateResourceSchedule()`](wix-bookings-backend.Resources/updateresourcesession) to remove the business's scheduleId from the `availability.linkedSchedules` array.
|
|
62
|
+
* - Use [`createSession()`](Sessions/createsession) to create a set of recurring sessions of type `WORKING_HOURS` to define the resource's new hours.
|
|
63
|
+
*
|
|
135
64
|
*
|
|
136
65
|
* To update a resource's schedule to add default business hours, and keep or remove custom hours:
|
|
137
|
-
*
|
|
138
|
-
*
|
|
139
|
-
*
|
|
140
|
-
*
|
|
141
|
-
*
|
|
142
|
-
*
|
|
143
|
-
* + Use [`updateResourceSchedule()`](wix-bookings-backend.Resources/updateresourcesession) to add the business resource's `scheduleId` to the `availability.linkedSchedules` array.
|
|
144
|
-
* + 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.
|
|
145
|
-
*
|
|
146
|
-
* > **Notes:**
|
|
147
|
-
* > + 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.
|
|
148
|
-
* > + A resource can have one schedule only.
|
|
149
|
-
* > + A resource can have both default business hours and custom hours in its schedule.
|
|
150
|
-
* > + 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”`.
|
|
151
|
-
* > + 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`.
|
|
152
|
-
* @snippet [updateResourceScheduleDefaultToCustom.es6=Update a resource's schedule from business to custom hours]
|
|
153
|
-
* Update a resource's schedule from the business's default working hours to 2 custom days per week.
|
|
154
|
-
* @snippet [updateResourceScheduleCustomToDefault.es6=Update a resource's schedule from custom to business hours]
|
|
155
|
-
* <!--END:ONLY:VELO-->
|
|
156
|
-
* <!--ONLY:REST-->
|
|
157
|
-
* >**Notes:**
|
|
158
|
-
* > + A resource can have one schedule only.
|
|
159
|
-
* > + A resource can have both default business hours and custom hours in its schedule.
|
|
160
|
-
* > + 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”`.
|
|
161
|
-
* > + The `businessLocation.businessSchedule` object in the `schedule.location` object is not supported.
|
|
162
|
-
*
|
|
163
|
-
*
|
|
164
|
-
*
|
|
165
|
-
* >**Permissions:**
|
|
166
|
-
* > This endpoint requires the Manage Bookings [permission scope](https://devforum.wix.com/kb/en/article/available-permissions).
|
|
167
|
-
* <!--END:ONLY:REST-->
|
|
66
|
+
*
|
|
67
|
+
* - Use [`updateResourceSchedule()`](wix-bookings-backend.Resources/updateresourcesession) to add the business resource's `scheduleId` to the `availability.linkedSchedules` array.
|
|
68
|
+
* - 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.
|
|
69
|
+
*
|
|
70
|
+
*
|
|
71
|
+
* > **Notes:** 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. A resource can have one schedule only. A resource can have both default business hours and custom hours in its schedule. 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`. Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can update a resource schedule.
|
|
168
72
|
*/
|
|
169
73
|
export declare function updateSchedule(payload: ResourceUpdateScheduleRequest): RequestOptionsFactory<UpdateScheduleResponse>;
|
|
170
74
|
/**
|
|
171
75
|
* Deletes a resource.
|
|
172
|
-
*
|
|
76
|
+
*
|
|
173
77
|
* The `deleteResource()` function returns a Promise that is resolved when a resource is deleted.
|
|
174
|
-
*
|
|
175
|
-
*
|
|
78
|
+
*
|
|
79
|
+
*
|
|
80
|
+
* Deleting a resource updates its status to `DELETED`.
|
|
176
81
|
*
|
|
177
82
|
* You cannot delete a resource if it has booked sessions.
|
|
178
83
|
*
|
|
179
|
-
*
|
|
180
|
-
* >**Notes:**
|
|
181
|
-
* > + 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.
|
|
182
|
-
* > + You can have up to 135 active resources and an additional 135 deleted resources.
|
|
183
|
-
* > + 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`.
|
|
184
|
-
* <!--END:ONLY:VELO-->
|
|
185
|
-
*
|
|
186
|
-
* <!--ONLY:REST-->
|
|
187
|
-
* >**Notes:**
|
|
188
|
-
* > + 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.
|
|
189
|
-
* > + You can have up to 135 active resources and an additional 135 deleted resources.
|
|
190
|
-
*
|
|
191
|
-
* >**Permissions:**
|
|
192
|
-
* > This endpoint requires the Manage Bookings [permission scope](https://devforum.wix.com/kb/en/article/available-permissions).
|
|
193
|
-
* <!--END:ONLY:REST-->
|
|
84
|
+
*
|
|
85
|
+
* >**Notes:** 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. You can have up to 135 active resources and an additional 135 deleted resources. Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can delete a resource.
|
|
194
86
|
*/
|
|
195
87
|
export declare function _delete(payload: DeleteResourceRequest): RequestOptionsFactory<DeleteResourceResponse>;
|
|
@@ -171,28 +171,7 @@ function resolveComWixpressBookingsResourcesCoreApiV1ResourceResourcesServiceUrl
|
|
|
171
171
|
};
|
|
172
172
|
return (0, metro_runtime_2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
173
173
|
}
|
|
174
|
-
/**
|
|
175
|
-
* > **Deprecation Notice**
|
|
176
|
-
* >
|
|
177
|
-
* > **This endpoint has been replaced with [Query Resource](https://dev.wix.com/api/rest/wix-bookings/resources/list-resources/query-resource) and will be removed on March 31, 2022.**
|
|
178
|
-
* > **If your app uses this endpoint, we recommend updating your code as soon as possible.**
|
|
179
|
-
*
|
|
180
|
-
* Retrieves a list of the resources according to the provided filters and paging.
|
|
181
|
-
* <!--ONLY:REST-->
|
|
182
|
-
* This query is optional. If no query is provided than all non-deleted resources are returned.
|
|
183
|
-
*
|
|
184
|
-
* |Property|Is supported|
|
|
185
|
-
* |--|--|
|
|
186
|
-
* |filter | supports `resource.id`, `resource.tag`, `resource.status`|
|
|
187
|
-
* |paging | supported |
|
|
188
|
-
* |fields | supported |
|
|
189
|
-
* |fieldsets | **not supported** |
|
|
190
|
-
* |sort| **not supported** |
|
|
191
|
-
*
|
|
192
|
-
* > **Permissions**
|
|
193
|
-
* > This endpoint requires the Read Bookings Calendar, Read Bookings - Public Data, Read Bookings - Including Participants or Manage Bookings permission scope.
|
|
194
|
-
* <!--END:ONLY:REST-->
|
|
195
|
-
*/
|
|
174
|
+
/** @internal */
|
|
196
175
|
function list(payload) {
|
|
197
176
|
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_listResourcesRequest, {});
|
|
198
177
|
const { fromJSON: fromRes } = (0, ambassador_1.serializer)(_listResourcesResponse, {
|
|
@@ -227,24 +206,15 @@ exports.list = list;
|
|
|
227
206
|
/**
|
|
228
207
|
* Retrieves a list of the resources according to the specified filters and paging.
|
|
229
208
|
*
|
|
230
|
-
* The query parameter is optional. If no query is provided than all non-deleted resources are returned.
|
|
231
209
|
*
|
|
232
|
-
*
|
|
233
|
-
* |--|--|
|
|
234
|
-
* |filter | supported fields: `resource.id`, `resource.tags`, `resource.status`|
|
|
235
|
-
* |paging | supported |
|
|
236
|
-
* |fields | supported |
|
|
237
|
-
* |fieldsets | **not supported** |
|
|
238
|
-
* |sort | **not supported** |
|
|
210
|
+
* The query parameter is optional. If no query is provided, all non-deleted resources are returned.
|
|
239
211
|
*
|
|
212
|
+
* |Property|Is supported| |--|--| |filter | supported fields: resource.id, resource.tags, resource.status| |paging | supported | |fields | supported | |fieldsets | not supported | |sort | not supported |
|
|
240
213
|
*
|
|
241
|
-
*
|
|
242
|
-
* >
|
|
243
|
-
* >
|
|
244
|
-
* > - `fieldsets`
|
|
214
|
+
* > **Notes:** The following objects in the query parameter are not supported for this query:
|
|
215
|
+
* > - sort
|
|
216
|
+
* > - fieldsets
|
|
245
217
|
*
|
|
246
|
-
* > **Permissions**
|
|
247
|
-
* > This endpoint requires the Read Bookings Calendar, Read Bookings - Public Data, Read Bookings - Including Participants or Manage Bookings permission scope.
|
|
248
218
|
*/
|
|
249
219
|
function query(payload) {
|
|
250
220
|
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_queryResourcesRequest, {});
|
|
@@ -279,45 +249,26 @@ function query(payload) {
|
|
|
279
249
|
exports.query = query;
|
|
280
250
|
/**
|
|
281
251
|
* Creates a resource.
|
|
282
|
-
*
|
|
252
|
+
*
|
|
253
|
+
*
|
|
283
254
|
* The `createResource()` function returns a Promise that resolves to the created resource.
|
|
284
|
-
*
|
|
255
|
+
* 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.
|
|
285
256
|
*
|
|
286
|
-
* 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.
|
|
287
|
-
* 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.
|
|
288
|
-
* You can use both individual and recurring sessions to define resource availability. You cannot use availability constraints for resource schedules.
|
|
289
257
|
*
|
|
290
|
-
* <!--ONLY:VELO
|
|
291
258
|
* When creating a resource using `createResource()`, include the resource's schedule information. Set the schedule information as follows:
|
|
292
|
-
*
|
|
293
|
-
*
|
|
294
|
-
*
|
|
295
|
-
*
|
|
296
|
-
*
|
|
297
|
-
*
|
|
298
|
-
* >
|
|
299
|
-
*
|
|
300
|
-
*
|
|
301
|
-
*
|
|
302
|
-
*
|
|
303
|
-
*
|
|
304
|
-
*
|
|
305
|
-
* <!--ONLY:REST-->
|
|
306
|
-
* Use the following steps to create resources:
|
|
307
|
-
* - Create the resource using including schedule information.
|
|
308
|
-
* - 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.
|
|
309
|
-
* - 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.
|
|
310
|
-
*
|
|
311
|
-
* >**Notes:**
|
|
312
|
-
* > + A resource can have one schedule only.
|
|
313
|
-
* > + You can have up to 135 active resources and an additional 135 deleted resources.
|
|
314
|
-
* > + The `businessLocation.businessSchedule` object in the `schedule.location` object is not supported.
|
|
315
|
-
*
|
|
316
|
-
*
|
|
317
|
-
*
|
|
318
|
-
* >**Permissions:**
|
|
319
|
-
* > This endpoint requires the Manage Bookings [permission scope](https://devforum.wix.com/kb/en/article/available-permissions).
|
|
320
|
-
* <!--END:ONLY:REST-->
|
|
259
|
+
* - 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.
|
|
260
|
+
* - If the resource has its own custom working hours, create the resource, then create sessions of type `WORKING_HOURS` using the [`createSession()`](Sessions/createsession) function. Use the `scheduleId` returned from `createResource()` when creating the sessions. These session can be single sessions or recurring sessions.
|
|
261
|
+
*
|
|
262
|
+
* You can have both default business hours and custom hours for the same resource schedule by combining the steps above.
|
|
263
|
+
*
|
|
264
|
+
*
|
|
265
|
+
* > **Notes:** 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.
|
|
266
|
+
*
|
|
267
|
+
*
|
|
268
|
+
* The Wix Bookings app does not show non-recurring `WORKING_HOURS` sessions in the resource calendar. You can only add the business resource's schedule as a linked schedule for a resource. A resource can have one schedule only.
|
|
269
|
+
*
|
|
270
|
+
*
|
|
271
|
+
* You can have up to 135 active resources and an additional 135 deleted resources. Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can create a resource.
|
|
321
272
|
*/
|
|
322
273
|
function create(payload) {
|
|
323
274
|
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_createResourceRequest, {
|
|
@@ -364,26 +315,12 @@ function create(payload) {
|
|
|
364
315
|
exports.create = create;
|
|
365
316
|
/**
|
|
366
317
|
* Updates a resource.
|
|
367
|
-
*
|
|
368
|
-
*
|
|
369
|
-
* Use this function to update all bookings resource information except for the resource's schedule. To update a resource's schedule use [`updateResourceSchedule()`](
|
|
370
|
-
*
|
|
371
|
-
*
|
|
372
|
-
*
|
|
373
|
-
* > + 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`.
|
|
374
|
-
* <!--END:ONLY:VELO-->
|
|
375
|
-
* <!--ONLY:REST-->
|
|
376
|
-
* Use this endpoint to update all resource information except for the resource's schedule. To update a resource's schedule use
|
|
377
|
-
* the [Update Schedule](https://dev.wix.com/api/rest/wix-bookings/resources/update-schedule) endpoint.
|
|
378
|
-
*
|
|
379
|
-
* >**Notes:**
|
|
380
|
-
* > + 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"`.
|
|
381
|
-
* > + 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”`.
|
|
382
|
-
* > + The `businessLocation.businessSchedule` object in the `schedule.location` object is not supported.
|
|
383
|
-
*
|
|
384
|
-
* >**Permissions:**
|
|
385
|
-
* > This endpoint requires the Manage Bookings [permission scope](https://devforum.wix.com/kb/en/article/available-permissions).
|
|
386
|
-
* <!--END:ONLY:REST-->
|
|
318
|
+
*
|
|
319
|
+
*
|
|
320
|
+
* 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()`](resources/updateresourceschedule).
|
|
321
|
+
*
|
|
322
|
+
*
|
|
323
|
+
* >**Notes:** 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"`. Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can update a resource.
|
|
387
324
|
*/
|
|
388
325
|
function update(payload) {
|
|
389
326
|
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_updateResourceRequest, {
|
|
@@ -434,57 +371,24 @@ function update(payload) {
|
|
|
434
371
|
}
|
|
435
372
|
exports.update = update;
|
|
436
373
|
/**
|
|
437
|
-
* Updates a resource's schedule
|
|
438
|
-
*
|
|
439
|
-
*
|
|
440
|
-
* Use this function to update the bookings resource's schedule. To update other resource details
|
|
441
|
-
*
|
|
442
|
-
* + `availability.start`
|
|
443
|
-
* + `availability.linkedSchedules`
|
|
444
|
-
* <!--END:ONLY:VELO-->
|
|
374
|
+
* Updates a resource's schedule.
|
|
375
|
+
*
|
|
376
|
+
*
|
|
377
|
+
* The `updateResourceSchedule()` 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()`] (resources/updateresource). The following schedule properties can be updated: + `availability.start` + `availability.linkedSchedules`
|
|
378
|
+
*
|
|
445
379
|
*
|
|
446
380
|
* To update a resource's schedule to remove business hours and add custom hours:
|
|
447
|
-
*
|
|
448
|
-
*
|
|
449
|
-
*
|
|
450
|
-
* <!--END:ONLY:REST-->
|
|
451
|
-
* <!--ONLY:VELO
|
|
452
|
-
* + Use [`updateResourceSchedule()`](wix-bookings-backend.Resources/updateresourcesession) to remove the business's scheduleId from the `availability.linkedSchedules` array.
|
|
453
|
-
* + 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.
|
|
454
|
-
* <!--END:ONLY:VELO-->
|
|
381
|
+
* - Use [`updateResourceSchedule()`](wix-bookings-backend.Resources/updateresourcesession) to remove the business's scheduleId from the `availability.linkedSchedules` array.
|
|
382
|
+
* - Use [`createSession()`](Sessions/createsession) to create a set of recurring sessions of type `WORKING_HOURS` to define the resource's new hours.
|
|
383
|
+
*
|
|
455
384
|
*
|
|
456
385
|
* To update a resource's schedule to add default business hours, and keep or remove custom hours:
|
|
457
|
-
*
|
|
458
|
-
*
|
|
459
|
-
*
|
|
460
|
-
*
|
|
461
|
-
*
|
|
462
|
-
*
|
|
463
|
-
* + Use [`updateResourceSchedule()`](wix-bookings-backend.Resources/updateresourcesession) to add the business resource's `scheduleId` to the `availability.linkedSchedules` array.
|
|
464
|
-
* + 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.
|
|
465
|
-
*
|
|
466
|
-
* > **Notes:**
|
|
467
|
-
* > + 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.
|
|
468
|
-
* > + A resource can have one schedule only.
|
|
469
|
-
* > + A resource can have both default business hours and custom hours in its schedule.
|
|
470
|
-
* > + 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”`.
|
|
471
|
-
* > + 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`.
|
|
472
|
-
* @snippet [updateResourceScheduleDefaultToCustom.es6=Update a resource's schedule from business to custom hours]
|
|
473
|
-
* Update a resource's schedule from the business's default working hours to 2 custom days per week.
|
|
474
|
-
* @snippet [updateResourceScheduleCustomToDefault.es6=Update a resource's schedule from custom to business hours]
|
|
475
|
-
* <!--END:ONLY:VELO-->
|
|
476
|
-
* <!--ONLY:REST-->
|
|
477
|
-
* >**Notes:**
|
|
478
|
-
* > + A resource can have one schedule only.
|
|
479
|
-
* > + A resource can have both default business hours and custom hours in its schedule.
|
|
480
|
-
* > + 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”`.
|
|
481
|
-
* > + The `businessLocation.businessSchedule` object in the `schedule.location` object is not supported.
|
|
482
|
-
*
|
|
483
|
-
*
|
|
484
|
-
*
|
|
485
|
-
* >**Permissions:**
|
|
486
|
-
* > This endpoint requires the Manage Bookings [permission scope](https://devforum.wix.com/kb/en/article/available-permissions).
|
|
487
|
-
* <!--END:ONLY:REST-->
|
|
386
|
+
*
|
|
387
|
+
* - Use [`updateResourceSchedule()`](wix-bookings-backend.Resources/updateresourcesession) to add the business resource's `scheduleId` to the `availability.linkedSchedules` array.
|
|
388
|
+
* - 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.
|
|
389
|
+
*
|
|
390
|
+
*
|
|
391
|
+
* > **Notes:** 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. A resource can have one schedule only. A resource can have both default business hours and custom hours in its schedule. 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`. Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can update a resource schedule.
|
|
488
392
|
*/
|
|
489
393
|
function updateSchedule(payload) {
|
|
490
394
|
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_resourceUpdateScheduleRequest, {
|
|
@@ -531,28 +435,16 @@ function updateSchedule(payload) {
|
|
|
531
435
|
exports.updateSchedule = updateSchedule;
|
|
532
436
|
/**
|
|
533
437
|
* Deletes a resource.
|
|
534
|
-
*
|
|
438
|
+
*
|
|
535
439
|
* The `deleteResource()` function returns a Promise that is resolved when a resource is deleted.
|
|
536
|
-
*
|
|
537
|
-
*
|
|
440
|
+
*
|
|
441
|
+
*
|
|
442
|
+
* Deleting a resource updates its status to `DELETED`.
|
|
538
443
|
*
|
|
539
444
|
* You cannot delete a resource if it has booked sessions.
|
|
540
445
|
*
|
|
541
|
-
*
|
|
542
|
-
* >**Notes:**
|
|
543
|
-
* > + 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.
|
|
544
|
-
* > + You can have up to 135 active resources and an additional 135 deleted resources.
|
|
545
|
-
* > + 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`.
|
|
546
|
-
* <!--END:ONLY:VELO-->
|
|
547
|
-
*
|
|
548
|
-
* <!--ONLY:REST-->
|
|
549
|
-
* >**Notes:**
|
|
550
|
-
* > + 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.
|
|
551
|
-
* > + You can have up to 135 active resources and an additional 135 deleted resources.
|
|
552
|
-
*
|
|
553
|
-
* >**Permissions:**
|
|
554
|
-
* > This endpoint requires the Manage Bookings [permission scope](https://devforum.wix.com/kb/en/article/available-permissions).
|
|
555
|
-
* <!--END:ONLY:REST-->
|
|
446
|
+
*
|
|
447
|
+
* >**Notes:** 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. You can have up to 135 active resources and an additional 135 deleted resources. Only users with the **Bookings Admin** [role](https://support.wix.com/en/article/roles-permissions-overview#bookings-admin) can delete a resource.
|
|
556
448
|
*/
|
|
557
449
|
function _delete(payload) {
|
|
558
450
|
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;AAkBhD,MAAM,QAAQ,GAAG,EAAE,OAAO,EAAE,kBA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C,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;AAkBhD,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,qBAAqB,GAAG,EAAE,CAAC;AACjC,MAAM,sBAAsB,GAAG,EAAE,SAAS,EAAE,WAAW,EAAE,CAAC;AAC1D,MAAM,SAAS,GAAG;IAChB,aAAa,E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@@
|
|
|
1
1
|
import { HttpClient } from '@wix/sdk-types';
|
|
2
|
-
import { Resource,
|
|
2
|
+
import { Resource, CreateResourceOptions, ListOptions, QueryResourceCatalogOptions, UpdateResourceOptions, UpdateResourceScheduleOptions } from './bookings-catalog-v1-resource.universal';
|
|
3
3
|
export declare const __metadata: {
|
|
4
4
|
PACKAGE_NAME: string;
|
|
5
5
|
};
|
|
6
6
|
export declare function list(httpClient: HttpClient): (options?: ListOptions | undefined) => Promise<import("./bookings-catalog-v1-resource.universal").ListResourcesResponse>;
|
|
7
|
-
export declare function
|
|
8
|
-
export declare function
|
|
9
|
-
export declare function
|
|
10
|
-
export declare function
|
|
7
|
+
export declare function queryResourceCatalog(httpClient: HttpClient): (options?: QueryResourceCatalogOptions | undefined) => Promise<import("./bookings-catalog-v1-resource.universal").QueryResourcesResponse>;
|
|
8
|
+
export declare function createResource(httpClient: HttpClient): (resource: Resource, options?: CreateResourceOptions | undefined) => Promise<import("./bookings-catalog-v1-resource.universal").CreateResourceResponse>;
|
|
9
|
+
export declare function updateResource(httpClient: HttpClient): (_id: string | null, options?: UpdateResourceOptions | undefined) => Promise<import("./bookings-catalog-v1-resource.universal").UpdateResourceResponse>;
|
|
10
|
+
export declare function updateResourceSchedule(httpClient: HttpClient): (resourceId: string | null, options?: UpdateResourceScheduleOptions | undefined) => Promise<import("./bookings-catalog-v1-resource.universal").UpdateScheduleResponse>;
|
|
11
11
|
export declare function _delete(httpClient: HttpClient): (_id: string) => Promise<import("./bookings-catalog-v1-resource.universal").DeleteResourceResponse>;
|
|
12
12
|
export { Day, Transparency, RecurringIntervalType, LocationType, LocationStatus, LocationsLocationType, DayOfWeek, ApprovalStatus, ScheduleStatus, ConferenceType, ResourceStatus, SortOrder, Event, } from './bookings-catalog-v1-resource.universal';
|
|
13
|
-
export { Resource, Schedule, RecurringInterval, Interval, Frequency, LinkedSchedule, Location, Address, AddressStreetOneOf, StreetAddress, AddressLocation, Subdivision, LocationsLocation, LocationsAddress, LocationsStreetAddress, LocationsAddressLocation, BusinessSchedule, TimePeriod, SpecialHourPeriod, Rate, Price, Availability, AvailabilityConstraints, SplitInterval, Participant, ExternalCalendarOverrides, Version, ConferenceProvider, CalendarConference, ListResourcesRequest, Query, Sorting, Paging, ListResourcesResponse, QueryMetaData, PagingMetadataV2, Cursors, QueryResourcesRequest, QueryV2, QueryV2PagingMethodOneOf, CursorPaging, QueryResourcesResponse, CreateResourceRequest, CreateResourceResponse, ResourceNotification, BatchCreateResourceRequest, BatchCreateResourceResponse, UpdateResourceRequest, BatchRequest, CreateScheduleRequest, UpdateScheduleRequest, ParticipantNotification, CancelScheduleRequest, UpdateResourceResponse, BatchResponse, ResourceUpdateScheduleRequest, UpdateScheduleResponse, DeleteResourceRequest, DeleteResourceResponse, BatchDeleteResourceRequest, BatchDeleteResourceResponse, LinkResourceToUserRequest, LinkResourceToUserResponse, UnLinkResourceFromOwnerRequest, UnLinkResourceFromOwnerResponse, ListOptions,
|
|
13
|
+
export { Resource, Schedule, RecurringInterval, Interval, Frequency, LinkedSchedule, Location, Address, AddressStreetOneOf, StreetAddress, AddressLocation, Subdivision, LocationsLocation, LocationsAddress, LocationsStreetAddress, LocationsAddressLocation, BusinessSchedule, TimePeriod, SpecialHourPeriod, Rate, Price, Availability, AvailabilityConstraints, SplitInterval, Participant, ExternalCalendarOverrides, Version, ConferenceProvider, CalendarConference, ListResourcesRequest, Query, Sorting, Paging, ListResourcesResponse, QueryMetaData, PagingMetadataV2, Cursors, QueryResourcesRequest, QueryV2, QueryV2PagingMethodOneOf, CursorPaging, QueryResourcesResponse, CreateResourceRequest, CreateResourceResponse, ResourceNotification, BatchCreateResourceRequest, BatchCreateResourceResponse, UpdateResourceRequest, BatchRequest, CreateScheduleRequest, UpdateScheduleRequest, ParticipantNotification, CancelScheduleRequest, UpdateResourceResponse, BatchResponse, ResourceUpdateScheduleRequest, UpdateScheduleResponse, DeleteResourceRequest, DeleteResourceResponse, BatchDeleteResourceRequest, BatchDeleteResourceResponse, LinkResourceToUserRequest, LinkResourceToUserResponse, UnLinkResourceFromOwnerRequest, UnLinkResourceFromOwnerResponse, ListOptions, QueryResourceCatalogOptions, CreateResourceOptions, UpdateResourceOptions, UpdateResourceScheduleOptions, } from './bookings-catalog-v1-resource.universal';
|