@wix/auto_sdk_bookings_resources 1.0.0 → 1.0.2
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-resources-v2-resource-resources.context.d.ts +2 -6
- package/build/cjs/src/bookings-resources-v2-resource-resources.context.js +2 -6
- package/build/cjs/src/bookings-resources-v2-resource-resources.context.js.map +1 -1
- package/build/cjs/src/bookings-resources-v2-resource-resources.http.d.ts +47 -17
- package/build/cjs/src/bookings-resources-v2-resource-resources.http.js +46 -16
- package/build/cjs/src/bookings-resources-v2-resource-resources.http.js.map +1 -1
- package/build/cjs/src/bookings-resources-v2-resource-resources.public.d.ts +47 -23
- package/build/cjs/src/bookings-resources-v2-resource-resources.public.js.map +1 -1
- package/build/cjs/src/bookings-resources-v2-resource-resources.types.d.ts +110 -64
- package/build/cjs/src/bookings-resources-v2-resource-resources.types.js.map +1 -1
- package/build/cjs/src/bookings-resources-v2-resource-resources.universal.d.ts +197 -105
- package/build/cjs/src/bookings-resources-v2-resource-resources.universal.js +46 -22
- package/build/cjs/src/bookings-resources-v2-resource-resources.universal.js.map +1 -1
- package/build/es/src/bookings-resources-v2-resource-resources.context.d.ts +2 -6
- package/build/es/src/bookings-resources-v2-resource-resources.context.js +2 -6
- package/build/es/src/bookings-resources-v2-resource-resources.context.js.map +1 -1
- package/build/es/src/bookings-resources-v2-resource-resources.http.d.ts +47 -17
- package/build/es/src/bookings-resources-v2-resource-resources.http.js +46 -16
- package/build/es/src/bookings-resources-v2-resource-resources.http.js.map +1 -1
- package/build/es/src/bookings-resources-v2-resource-resources.public.d.ts +47 -23
- package/build/es/src/bookings-resources-v2-resource-resources.public.js.map +1 -1
- package/build/es/src/bookings-resources-v2-resource-resources.types.d.ts +110 -64
- package/build/es/src/bookings-resources-v2-resource-resources.types.js.map +1 -1
- package/build/es/src/bookings-resources-v2-resource-resources.universal.d.ts +197 -105
- package/build/es/src/bookings-resources-v2-resource-resources.universal.js +46 -22
- package/build/es/src/bookings-resources-v2-resource-resources.universal.js.map +1 -1
- package/build/internal/cjs/src/bookings-resources-v2-resource-resources.context.d.ts +2 -6
- package/build/internal/cjs/src/bookings-resources-v2-resource-resources.context.js +2 -6
- package/build/internal/cjs/src/bookings-resources-v2-resource-resources.context.js.map +1 -1
- package/build/internal/cjs/src/bookings-resources-v2-resource-resources.http.d.ts +47 -17
- package/build/internal/cjs/src/bookings-resources-v2-resource-resources.http.js +46 -16
- package/build/internal/cjs/src/bookings-resources-v2-resource-resources.http.js.map +1 -1
- package/build/internal/cjs/src/bookings-resources-v2-resource-resources.public.d.ts +47 -23
- package/build/internal/cjs/src/bookings-resources-v2-resource-resources.public.js.map +1 -1
- package/build/internal/cjs/src/bookings-resources-v2-resource-resources.types.d.ts +110 -64
- package/build/internal/cjs/src/bookings-resources-v2-resource-resources.types.js.map +1 -1
- package/build/internal/cjs/src/bookings-resources-v2-resource-resources.universal.d.ts +197 -105
- package/build/internal/cjs/src/bookings-resources-v2-resource-resources.universal.js +46 -22
- package/build/internal/cjs/src/bookings-resources-v2-resource-resources.universal.js.map +1 -1
- package/build/internal/es/src/bookings-resources-v2-resource-resources.context.d.ts +2 -6
- package/build/internal/es/src/bookings-resources-v2-resource-resources.context.js +2 -6
- package/build/internal/es/src/bookings-resources-v2-resource-resources.context.js.map +1 -1
- package/build/internal/es/src/bookings-resources-v2-resource-resources.http.d.ts +47 -17
- package/build/internal/es/src/bookings-resources-v2-resource-resources.http.js +46 -16
- package/build/internal/es/src/bookings-resources-v2-resource-resources.http.js.map +1 -1
- package/build/internal/es/src/bookings-resources-v2-resource-resources.public.d.ts +47 -23
- package/build/internal/es/src/bookings-resources-v2-resource-resources.public.js.map +1 -1
- package/build/internal/es/src/bookings-resources-v2-resource-resources.types.d.ts +110 -64
- package/build/internal/es/src/bookings-resources-v2-resource-resources.types.js.map +1 -1
- package/build/internal/es/src/bookings-resources-v2-resource-resources.universal.d.ts +197 -105
- package/build/internal/es/src/bookings-resources-v2-resource-resources.universal.js +46 -22
- package/build/internal/es/src/bookings-resources-v2-resource-resources.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -131,15 +131,21 @@ var WebhookIdentityType;
|
|
|
131
131
|
/**
|
|
132
132
|
* Creates a new resource.
|
|
133
133
|
*
|
|
134
|
-
* A new events schedule is automatically created specific to this resource. This schedule will contain information
|
|
135
|
-
* on when the resource is booked in order to prevent double bookings.
|
|
136
|
-
* See [Schedules API](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object) for more information.
|
|
137
134
|
*
|
|
138
|
-
*
|
|
139
|
-
*
|
|
140
|
-
*
|
|
141
|
-
*
|
|
142
|
-
*
|
|
135
|
+
* ## Connected schedules
|
|
136
|
+
*
|
|
137
|
+
* A new event *schedule*
|
|
138
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/calendar/wix-bookings-integration) | [REST](https://dev.wix.com/docs/rest/business-management/calendar/wix-bookings-integration))
|
|
139
|
+
* is automatically created for the resource.
|
|
140
|
+
*
|
|
141
|
+
* ## Locations
|
|
142
|
+
*
|
|
143
|
+
* If you don't specify `locationOptions`, Wix Bookings automatically sets
|
|
144
|
+
* `locationOptions.availableInAllLocations` to `true`.
|
|
145
|
+
*
|
|
146
|
+
* If you specify 1 business location ID in `locationOptions.specificLocationOptions.businessLocations`,
|
|
147
|
+
* you must specify `locationOptions.specificLocationOptions.availableInBusinessLocations`
|
|
148
|
+
* as `true`. Currently, you can specify only a single business location.
|
|
143
149
|
* @param resource - Resource to create.
|
|
144
150
|
* @public
|
|
145
151
|
* @documentationMaturity preview
|
|
@@ -151,7 +157,7 @@ var WebhookIdentityType;
|
|
|
151
157
|
* @permissionScope Manage Bookings - all permissions
|
|
152
158
|
* @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
|
|
153
159
|
* @applicableIdentity APP
|
|
154
|
-
* @returns
|
|
160
|
+
* @returns Created resource.
|
|
155
161
|
* @fqn wix.bookings.resources.v2.ResourcesService.CreateResource
|
|
156
162
|
*/
|
|
157
163
|
async function createResource(resource) {
|
|
@@ -177,7 +183,12 @@ async function createResource(resource) {
|
|
|
177
183
|
}
|
|
178
184
|
exports.createResource = createResource;
|
|
179
185
|
/**
|
|
180
|
-
* Creates
|
|
186
|
+
* Creates up to 50 resources.
|
|
187
|
+
*
|
|
188
|
+
*
|
|
189
|
+
* Refer to *Create Resource*
|
|
190
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/resources/create-resource) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resources-v2/create-resource))
|
|
191
|
+
* for more details.
|
|
181
192
|
* @param resources - Resources to create.
|
|
182
193
|
* @public
|
|
183
194
|
* @documentationMaturity preview
|
|
@@ -220,7 +231,7 @@ async function bulkCreateResources(resources, options) {
|
|
|
220
231
|
}
|
|
221
232
|
exports.bulkCreateResources = bulkCreateResources;
|
|
222
233
|
/**
|
|
223
|
-
* Retrieves a resource
|
|
234
|
+
* Retrieves a resource.
|
|
224
235
|
* @param resourceId - ID of the resource to retrieve.
|
|
225
236
|
* @public
|
|
226
237
|
* @documentationMaturity preview
|
|
@@ -238,7 +249,7 @@ exports.bulkCreateResources = bulkCreateResources;
|
|
|
238
249
|
* @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
|
|
239
250
|
* @applicableIdentity APP
|
|
240
251
|
* @applicableIdentity VISITOR
|
|
241
|
-
* @returns
|
|
252
|
+
* @returns Retrieved resource.
|
|
242
253
|
* @fqn wix.bookings.resources.v2.ResourcesService.GetResource
|
|
243
254
|
*/
|
|
244
255
|
async function getResource(resourceId) {
|
|
@@ -268,6 +279,7 @@ exports.getResource = getResource;
|
|
|
268
279
|
/**
|
|
269
280
|
* Updates a resource.
|
|
270
281
|
*
|
|
282
|
+
*
|
|
271
283
|
* Each time the resource is updated, `revision` increments by 1. You must include the current revision of the resource when updating it.
|
|
272
284
|
* This ensures you're working with the latest service information and prevents unintended overwrites.
|
|
273
285
|
* @param _id - Resource ID.
|
|
@@ -282,7 +294,7 @@ exports.getResource = getResource;
|
|
|
282
294
|
* @permissionScope Manage Bookings - all permissions
|
|
283
295
|
* @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
|
|
284
296
|
* @applicableIdentity APP
|
|
285
|
-
* @returns
|
|
297
|
+
* @returns Updated resource.
|
|
286
298
|
* @fqn wix.bookings.resources.v2.ResourcesService.UpdateResource
|
|
287
299
|
*/
|
|
288
300
|
async function updateResource(_id, resource) {
|
|
@@ -312,7 +324,11 @@ exports.updateResource = updateResource;
|
|
|
312
324
|
/**
|
|
313
325
|
* Deletes a resource.
|
|
314
326
|
*
|
|
315
|
-
*
|
|
327
|
+
*
|
|
328
|
+
* Deleting a resource cancels its event schedule and all its working hour
|
|
329
|
+
* schedules that aren't shared with another resource. Learn more about
|
|
330
|
+
* how Bookings uses the Calendar APIs*
|
|
331
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/calendar/wix-bookings-integration) | [REST](https://dev.wix.com/docs/rest/business-management/calendar/wix-bookings-integration)).
|
|
316
332
|
* @param resourceId - ID of the resource to delete.
|
|
317
333
|
* @public
|
|
318
334
|
* @documentationMaturity preview
|
|
@@ -350,7 +366,12 @@ async function deleteResource(resourceId) {
|
|
|
350
366
|
exports.deleteResource = deleteResource;
|
|
351
367
|
/**
|
|
352
368
|
* Deletes multiple resources.
|
|
353
|
-
*
|
|
369
|
+
*
|
|
370
|
+
*
|
|
371
|
+
* Refer to *Delete Resource*
|
|
372
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/resources/delete-resource) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resources-v2/delete-resource))
|
|
373
|
+
* for more details.
|
|
374
|
+
* @param ids - IDs of the resources to delete.
|
|
354
375
|
* @public
|
|
355
376
|
* @documentationMaturity preview
|
|
356
377
|
* @requiredField ids
|
|
@@ -387,8 +408,10 @@ exports.bulkDeleteResources = bulkDeleteResources;
|
|
|
387
408
|
/**
|
|
388
409
|
* Retrieves a list of resources matching the provided search criteria.
|
|
389
410
|
*
|
|
390
|
-
*
|
|
391
|
-
*
|
|
411
|
+
*
|
|
412
|
+
* Refer to the *supported filters article*
|
|
413
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/resources/supported-filters) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resources-v2/filtering-and-sorting))
|
|
414
|
+
* for a complete list of supported filters and sorting options.
|
|
392
415
|
* @public
|
|
393
416
|
* @documentationMaturity preview
|
|
394
417
|
* @permissionId BOOKINGS.RESOURCE_READ
|
|
@@ -444,7 +467,7 @@ exports.searchResources = searchResources;
|
|
|
444
467
|
* + `limit` is `50`.
|
|
445
468
|
* + Sorted by `id` in ascending order.
|
|
446
469
|
*
|
|
447
|
-
* The functions that are chained to `queryResources()` are applied in the order they are called. For example, if you apply `ascending("typeId")` and then `ascending("
|
|
470
|
+
* The functions that are chained to `queryResources()` are applied in the order they are called. For example, if you apply `ascending("typeId")` and then `ascending("name")`, the results are sorted first by the `"typeId"`, and then, if there are multiple results with the same `"typeId"`, the items are sorted by `"name"`.
|
|
448
471
|
*
|
|
449
472
|
* The following `ResourcesQueryBuilder` functions are supported for the `queryResources()` function. For a full description of the resource object, see the object returned for the [items](https://dev.wix.com/docs/sdk/backend-modules/bookings/resources/resources-query-result/items) property in `ResourcesQueryResult`.
|
|
450
473
|
* @public
|
|
@@ -511,12 +534,13 @@ exports.queryResources = queryResources;
|
|
|
511
534
|
/**
|
|
512
535
|
* Counts resources according to given criteria.
|
|
513
536
|
*
|
|
514
|
-
*
|
|
537
|
+
*
|
|
538
|
+
* Refer to the *supported filters article*
|
|
539
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/resources/supported-filters) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resources-v2/filtering-and-sorting))
|
|
540
|
+
* for a complete list of supported filters and sorting options.
|
|
515
541
|
* @public
|
|
516
542
|
* @documentationMaturity preview
|
|
517
|
-
* @param options - Filter to base the count on. See
|
|
518
|
-
* [queryResources()](https://dev.wix.com/docs/sdk/backend-modules/bookings/resources/query-resources)
|
|
519
|
-
* for supported filters.
|
|
543
|
+
* @param options - Filter to base the count on. See *the supported filters article* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/resources/supported-filters) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resources-v2/filtering-and-sorting)) for a complete list of filtering options.
|
|
520
544
|
* @permissionId BOOKINGS.RESOURCE_READ
|
|
521
545
|
* @permissionScope Read Bookings - Public Data
|
|
522
546
|
* @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-resources-v2-resource-resources.universal.js","sourceRoot":"","sources":["../../../src/bookings-resources-v2-resource-resources.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,6HAA+G;
|
|
1
|
+
{"version":3,"file":"bookings-resources-v2-resource-resources.universal.js","sourceRoot":"","sources":["../../../src/bookings-resources-v2-resource-resources.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,kEAA8D;AAC9D,oFAGiD;AAEjD,6HAA+G;AAyL/G,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,6CAA6C;IAC7C,uCAAqB,CAAA;AACvB,CAAC,EAHW,cAAc,8BAAd,cAAc,QAGzB;AAkPD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AAiDD,IAAY,QAKX;AALD,WAAY,QAAQ;IAClB,uCAAuC;IACvC,2BAAe,CAAA;IACf,uDAAuD;IACvD,2BAAe,C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export declare const queryResources: MaybeContext<BuildRESTFunction<typeof publicQueryResources> & typeof publicQueryResources>;
|
|
15
15
|
export declare const countResources: MaybeContext<BuildRESTFunction<typeof publicCountResources> & typeof publicCountResources>;
|
|
16
16
|
/**
|
|
17
|
-
* Triggered
|
|
18
|
-
*
|
|
19
|
-
* This event has the same structure as [Resource Created](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members-and-resources/resource-v2/create-resource#resource-created).
|
|
17
|
+
* Triggered when a resource is created.
|
|
20
18
|
*/
|
|
21
19
|
export declare const onResourceCreated: ReturnType<typeof createEventModule<typeof publicOnResourceCreated>>;
|
|
22
20
|
/**
|
|
23
|
-
* Triggered
|
|
24
|
-
*
|
|
25
|
-
* This event has the same structure as [Resource Deleted](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members-and-resources/resource-v2/bulk-delete-resources#resource-deleted).
|
|
21
|
+
* Triggered when a resource is deleted.
|
|
26
22
|
*/
|
|
27
23
|
export declare const onResourceDeleted: ReturnType<typeof createEventModule<typeof publicOnResourceDeleted>>;
|
|
28
24
|
/**
|
|
@@ -14,15 +14,11 @@ export const searchResources = /*#__PURE__*/ createRESTModule(publicSearchResour
|
|
|
14
14
|
export const queryResources = /*#__PURE__*/ createRESTModule(publicQueryResources);
|
|
15
15
|
export const countResources = /*#__PURE__*/ createRESTModule(publicCountResources);
|
|
16
16
|
/**
|
|
17
|
-
* Triggered
|
|
18
|
-
*
|
|
19
|
-
* This event has the same structure as [Resource Created](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members-and-resources/resource-v2/create-resource#resource-created).
|
|
17
|
+
* Triggered when a resource is created.
|
|
20
18
|
*/
|
|
21
19
|
export const onResourceCreated = createEventModule(publicOnResourceCreated);
|
|
22
20
|
/**
|
|
23
|
-
* Triggered
|
|
24
|
-
*
|
|
25
|
-
* This event has the same structure as [Resource Deleted](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members-and-resources/resource-v2/bulk-delete-resources#resource-deleted).
|
|
21
|
+
* Triggered when a resource is deleted.
|
|
26
22
|
*/
|
|
27
23
|
export const onResourceDeleted = createEventModule(publicOnResourceDeleted);
|
|
28
24
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-resources-v2-resource-resources.context.js","sourceRoot":"","sources":["../../../src/bookings-resources-v2-resource-resources.context.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,IAAI,oBAAoB,EACtC,mBAAmB,IAAI,yBAAyB,EAChD,WAAW,IAAI,iBAAiB,EAChC,cAAc,IAAI,oBAAoB,EACtC,cAAc,IAAI,oBAAoB,EACtC,mBAAmB,IAAI,yBAAyB,EAChD,eAAe,IAAI,qBAAqB,EACxC,cAAc,IAAI,oBAAoB,EACtC,cAAc,IAAI,oBAAoB,GACvC,MAAM,sDAAsD,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAE9E,OAAO,EAAE,iBAAiB,IAAI,uBAAuB,EAAE,MAAM,sDAAsD,CAAC;AACpH,OAAO,EAAE,iBAAiB,IAAI,uBAAuB,EAAE,MAAM,sDAAsD,CAAC;AACpH,OAAO,EAAE,iBAAiB,IAAI,uBAAuB,EAAE,MAAM,sDAAsD,CAAC;AAEpH,MAAM,CAAC,MAAM,cAAc,GAEvB,aAAa,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,CAAC;AACzD,MAAM,CAAC,MAAM,mBAAmB,GAG5B,aAAa,CAAC,gBAAgB,CAAC,yBAAyB,CAAC,CAAC;AAC9D,MAAM,CAAC,MAAM,WAAW,GAEpB,aAAa,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,CAAC;AACtD,MAAM,CAAC,MAAM,cAAc,GAEvB,aAAa,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,CAAC;AACzD,MAAM,CAAC,MAAM,cAAc,GAEvB,aAAa,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,CAAC;AACzD,MAAM,CAAC,MAAM,mBAAmB,GAG5B,aAAa,CAAC,gBAAgB,CAAC,yBAAyB,CAAC,CAAC;AAC9D,MAAM,CAAC,MAAM,eAAe,GAExB,aAAa,CAAC,gBAAgB,CAAC,qBAAqB,CAAC,CAAC;AAC1D,MAAM,CAAC,MAAM,cAAc,GAEvB,aAAa,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,CAAC;AACzD,MAAM,CAAC,MAAM,cAAc,GAEvB,aAAa,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,CAAC;AACzD
|
|
1
|
+
{"version":3,"file":"bookings-resources-v2-resource-resources.context.js","sourceRoot":"","sources":["../../../src/bookings-resources-v2-resource-resources.context.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,IAAI,oBAAoB,EACtC,mBAAmB,IAAI,yBAAyB,EAChD,WAAW,IAAI,iBAAiB,EAChC,cAAc,IAAI,oBAAoB,EACtC,cAAc,IAAI,oBAAoB,EACtC,mBAAmB,IAAI,yBAAyB,EAChD,eAAe,IAAI,qBAAqB,EACxC,cAAc,IAAI,oBAAoB,EACtC,cAAc,IAAI,oBAAoB,GACvC,MAAM,sDAAsD,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAE9E,OAAO,EAAE,iBAAiB,IAAI,uBAAuB,EAAE,MAAM,sDAAsD,CAAC;AACpH,OAAO,EAAE,iBAAiB,IAAI,uBAAuB,EAAE,MAAM,sDAAsD,CAAC;AACpH,OAAO,EAAE,iBAAiB,IAAI,uBAAuB,EAAE,MAAM,sDAAsD,CAAC;AAEpH,MAAM,CAAC,MAAM,cAAc,GAEvB,aAAa,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,CAAC;AACzD,MAAM,CAAC,MAAM,mBAAmB,GAG5B,aAAa,CAAC,gBAAgB,CAAC,yBAAyB,CAAC,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
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
5
|
+
*
|
|
6
|
+
* ## Connected schedules
|
|
7
|
+
*
|
|
8
|
+
* A new event *schedule*
|
|
9
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/calendar/wix-bookings-integration) | [REST](https://dev.wix.com/docs/rest/business-management/calendar/wix-bookings-integration))
|
|
10
|
+
* is automatically created for the resource.
|
|
11
|
+
*
|
|
12
|
+
* ## Locations
|
|
13
|
+
*
|
|
14
|
+
* If you don't specify `locationOptions`, Wix Bookings automatically sets
|
|
15
|
+
* `locationOptions.availableInAllLocations` to `true`.
|
|
16
|
+
*
|
|
17
|
+
* If you specify 1 business location ID in `locationOptions.specificLocationOptions.businessLocations`,
|
|
18
|
+
* you must specify `locationOptions.specificLocationOptions.availableInBusinessLocations`
|
|
19
|
+
* as `true`. Currently, you can specify only a single business location.
|
|
14
20
|
*/
|
|
15
21
|
export declare function createResource(payload: object): RequestOptionsFactory<any>;
|
|
16
|
-
/**
|
|
22
|
+
/**
|
|
23
|
+
* Creates up to 50 resources.
|
|
24
|
+
*
|
|
25
|
+
*
|
|
26
|
+
* Refer to *Create Resource*
|
|
27
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/resources/create-resource) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resources-v2/create-resource))
|
|
28
|
+
* for more details.
|
|
29
|
+
*/
|
|
17
30
|
export declare function bulkCreateResources(payload: object): RequestOptionsFactory<any>;
|
|
18
|
-
/** Retrieves a resource
|
|
31
|
+
/** Retrieves a resource. */
|
|
19
32
|
export declare function getResource(payload: object): RequestOptionsFactory<any>;
|
|
20
33
|
/**
|
|
21
34
|
* Updates a resource.
|
|
22
35
|
*
|
|
36
|
+
*
|
|
23
37
|
* Each time the resource is updated, `revision` increments by 1. You must include the current revision of the resource when updating it.
|
|
24
38
|
* This ensures you're working with the latest service information and prevents unintended overwrites.
|
|
25
39
|
*/
|
|
@@ -27,16 +41,29 @@ export declare function updateResource(payload: object): RequestOptionsFactory<a
|
|
|
27
41
|
/**
|
|
28
42
|
* Deletes a resource.
|
|
29
43
|
*
|
|
30
|
-
*
|
|
44
|
+
*
|
|
45
|
+
* Deleting a resource cancels its event schedule and all its working hour
|
|
46
|
+
* schedules that aren't shared with another resource. Learn more about
|
|
47
|
+
* how Bookings uses the Calendar APIs*
|
|
48
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/calendar/wix-bookings-integration) | [REST](https://dev.wix.com/docs/rest/business-management/calendar/wix-bookings-integration)).
|
|
31
49
|
*/
|
|
32
50
|
export declare function deleteResource(payload: object): RequestOptionsFactory<any>;
|
|
33
|
-
/**
|
|
51
|
+
/**
|
|
52
|
+
* Deletes multiple resources.
|
|
53
|
+
*
|
|
54
|
+
*
|
|
55
|
+
* Refer to *Delete Resource*
|
|
56
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/resources/delete-resource) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resources-v2/delete-resource))
|
|
57
|
+
* for more details.
|
|
58
|
+
*/
|
|
34
59
|
export declare function bulkDeleteResources(payload: object): RequestOptionsFactory<any>;
|
|
35
60
|
/**
|
|
36
61
|
* Retrieves a list of resources matching the provided search criteria.
|
|
37
62
|
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
63
|
+
*
|
|
64
|
+
* Refer to the *supported filters article*
|
|
65
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/resources/supported-filters) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resources-v2/filtering-and-sorting))
|
|
66
|
+
* for a complete list of supported filters and sorting options.
|
|
40
67
|
*/
|
|
41
68
|
export declare function searchResources(payload: object): RequestOptionsFactory<any>;
|
|
42
69
|
/**
|
|
@@ -53,7 +80,7 @@ export declare function searchResources(payload: object): RequestOptionsFactory<
|
|
|
53
80
|
* + `limit` is `50`.
|
|
54
81
|
* + Sorted by `id` in ascending order.
|
|
55
82
|
*
|
|
56
|
-
* The functions that are chained to `queryResources()` are applied in the order they are called. For example, if you apply `ascending("typeId")` and then `ascending("
|
|
83
|
+
* The functions that are chained to `queryResources()` are applied in the order they are called. For example, if you apply `ascending("typeId")` and then `ascending("name")`, the results are sorted first by the `"typeId"`, and then, if there are multiple results with the same `"typeId"`, the items are sorted by `"name"`.
|
|
57
84
|
*
|
|
58
85
|
* The following `ResourcesQueryBuilder` functions are supported for the `queryResources()` function. For a full description of the resource object, see the object returned for the [items](https://dev.wix.com/docs/sdk/backend-modules/bookings/resources/resources-query-result/items) property in `ResourcesQueryResult`.
|
|
59
86
|
*/
|
|
@@ -61,6 +88,9 @@ export declare function queryResources(payload: object): RequestOptionsFactory<a
|
|
|
61
88
|
/**
|
|
62
89
|
* Counts resources according to given criteria.
|
|
63
90
|
*
|
|
64
|
-
*
|
|
91
|
+
*
|
|
92
|
+
* Refer to the *supported filters article*
|
|
93
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/resources/supported-filters) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resources-v2/filtering-and-sorting))
|
|
94
|
+
* for a complete list of supported filters and sorting options.
|
|
65
95
|
*/
|
|
66
96
|
export declare function countResources(payload: object): RequestOptionsFactory<any>;
|
|
@@ -51,15 +51,21 @@ const PACKAGE_NAME = '@wix/auto_sdk_bookings_resources';
|
|
|
51
51
|
/**
|
|
52
52
|
* Creates a new resource.
|
|
53
53
|
*
|
|
54
|
-
* A new events schedule is automatically created specific to this resource. This schedule will contain information
|
|
55
|
-
* on when the resource is booked in order to prevent double bookings.
|
|
56
|
-
* See [Schedules API](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object) for more information.
|
|
57
54
|
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
*
|
|
55
|
+
* ## Connected schedules
|
|
56
|
+
*
|
|
57
|
+
* A new event *schedule*
|
|
58
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/calendar/wix-bookings-integration) | [REST](https://dev.wix.com/docs/rest/business-management/calendar/wix-bookings-integration))
|
|
59
|
+
* is automatically created for the resource.
|
|
60
|
+
*
|
|
61
|
+
* ## Locations
|
|
62
|
+
*
|
|
63
|
+
* If you don't specify `locationOptions`, Wix Bookings automatically sets
|
|
64
|
+
* `locationOptions.availableInAllLocations` to `true`.
|
|
65
|
+
*
|
|
66
|
+
* If you specify 1 business location ID in `locationOptions.specificLocationOptions.businessLocations`,
|
|
67
|
+
* you must specify `locationOptions.specificLocationOptions.availableInBusinessLocations`
|
|
68
|
+
* as `true`. Currently, you can specify only a single business location.
|
|
63
69
|
*/
|
|
64
70
|
export function createResource(payload) {
|
|
65
71
|
function __createResource({ host }) {
|
|
@@ -97,7 +103,14 @@ export function createResource(payload) {
|
|
|
97
103
|
}
|
|
98
104
|
return __createResource;
|
|
99
105
|
}
|
|
100
|
-
/**
|
|
106
|
+
/**
|
|
107
|
+
* Creates up to 50 resources.
|
|
108
|
+
*
|
|
109
|
+
*
|
|
110
|
+
* Refer to *Create Resource*
|
|
111
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/resources/create-resource) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resources-v2/create-resource))
|
|
112
|
+
* for more details.
|
|
113
|
+
*/
|
|
101
114
|
export function bulkCreateResources(payload) {
|
|
102
115
|
function __bulkCreateResources({ host }) {
|
|
103
116
|
const serializedData = transformPaths(payload, [
|
|
@@ -134,7 +147,7 @@ export function bulkCreateResources(payload) {
|
|
|
134
147
|
}
|
|
135
148
|
return __bulkCreateResources;
|
|
136
149
|
}
|
|
137
|
-
/** Retrieves a resource
|
|
150
|
+
/** Retrieves a resource. */
|
|
138
151
|
export function getResource(payload) {
|
|
139
152
|
function __getResource({ host }) {
|
|
140
153
|
const metadata = {
|
|
@@ -165,6 +178,7 @@ export function getResource(payload) {
|
|
|
165
178
|
/**
|
|
166
179
|
* Updates a resource.
|
|
167
180
|
*
|
|
181
|
+
*
|
|
168
182
|
* Each time the resource is updated, `revision` increments by 1. You must include the current revision of the resource when updating it.
|
|
169
183
|
* This ensures you're working with the latest service information and prevents unintended overwrites.
|
|
170
184
|
*/
|
|
@@ -211,7 +225,11 @@ export function updateResource(payload) {
|
|
|
211
225
|
/**
|
|
212
226
|
* Deletes a resource.
|
|
213
227
|
*
|
|
214
|
-
*
|
|
228
|
+
*
|
|
229
|
+
* Deleting a resource cancels its event schedule and all its working hour
|
|
230
|
+
* schedules that aren't shared with another resource. Learn more about
|
|
231
|
+
* how Bookings uses the Calendar APIs*
|
|
232
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/calendar/wix-bookings-integration) | [REST](https://dev.wix.com/docs/rest/business-management/calendar/wix-bookings-integration)).
|
|
215
233
|
*/
|
|
216
234
|
export function deleteResource(payload) {
|
|
217
235
|
function __deleteResource({ host }) {
|
|
@@ -231,7 +249,14 @@ export function deleteResource(payload) {
|
|
|
231
249
|
}
|
|
232
250
|
return __deleteResource;
|
|
233
251
|
}
|
|
234
|
-
/**
|
|
252
|
+
/**
|
|
253
|
+
* Deletes multiple resources.
|
|
254
|
+
*
|
|
255
|
+
*
|
|
256
|
+
* Refer to *Delete Resource*
|
|
257
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/resources/delete-resource) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resources-v2/delete-resource))
|
|
258
|
+
* for more details.
|
|
259
|
+
*/
|
|
235
260
|
export function bulkDeleteResources(payload) {
|
|
236
261
|
function __bulkDeleteResources({ host }) {
|
|
237
262
|
const metadata = {
|
|
@@ -262,8 +287,10 @@ export function bulkDeleteResources(payload) {
|
|
|
262
287
|
/**
|
|
263
288
|
* Retrieves a list of resources matching the provided search criteria.
|
|
264
289
|
*
|
|
265
|
-
*
|
|
266
|
-
*
|
|
290
|
+
*
|
|
291
|
+
* Refer to the *supported filters article*
|
|
292
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/resources/supported-filters) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resources-v2/filtering-and-sorting))
|
|
293
|
+
* for a complete list of supported filters and sorting options.
|
|
267
294
|
*/
|
|
268
295
|
export function searchResources(payload) {
|
|
269
296
|
function __searchResources({ host }) {
|
|
@@ -347,7 +374,7 @@ export function searchResources(payload) {
|
|
|
347
374
|
* + `limit` is `50`.
|
|
348
375
|
* + Sorted by `id` in ascending order.
|
|
349
376
|
*
|
|
350
|
-
* The functions that are chained to `queryResources()` are applied in the order they are called. For example, if you apply `ascending("typeId")` and then `ascending("
|
|
377
|
+
* The functions that are chained to `queryResources()` are applied in the order they are called. For example, if you apply `ascending("typeId")` and then `ascending("name")`, the results are sorted first by the `"typeId"`, and then, if there are multiple results with the same `"typeId"`, the items are sorted by `"name"`.
|
|
351
378
|
*
|
|
352
379
|
* The following `ResourcesQueryBuilder` functions are supported for the `queryResources()` function. For a full description of the resource object, see the object returned for the [items](https://dev.wix.com/docs/sdk/backend-modules/bookings/resources/resources-query-result/items) property in `ResourcesQueryResult`.
|
|
353
380
|
*/
|
|
@@ -381,7 +408,10 @@ export function queryResources(payload) {
|
|
|
381
408
|
/**
|
|
382
409
|
* Counts resources according to given criteria.
|
|
383
410
|
*
|
|
384
|
-
*
|
|
411
|
+
*
|
|
412
|
+
* Refer to the *supported filters article*
|
|
413
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/resources/supported-filters) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resources-v2/filtering-and-sorting))
|
|
414
|
+
* for a complete list of supported filters and sorting options.
|
|
385
415
|
*/
|
|
386
416
|
export function countResources(payload) {
|
|
387
417
|
function __countResources({ host }) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-resources-v2-resource-resources.http.js","sourceRoot":"","sources":["../../../src/bookings-resources-v2-resource-resources.http.ts"],"names":[],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file":"bookings-resources-v2-resource-resources.http.js","sourceRoot":"","sources":["../../../src/bookings-resources-v2-resource-resources.http.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,EAAE,oCAAoC,EAAE,MAAM,4CAA4C,CAAC;AAClG,OAAO,EAAE,oCAAoC,EAAE,MAAM,4CAA4C,CAAC;AAClG,OAAO,EAAE,oCAAoC,EAAE,MAAM,6CAA6C,CAAC;AACnG,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAClF,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAI3D,SAAS,gDAAgD,CACvD,IAA8C;IAE9C,MAAM,gBAAgB,GAAG;QACvB,sBAAsB,EAAE;YACtB;gBACE,OAAO,EAAE,wBAAwB;gBACjC,QAAQ,EAAE,eAAe;aAC1B;YACD;gBACE,OAAO,EAAE,6BAA6B;gBACtC,QAAQ,EAAE,eAAe;aAC1B;YACD;gBACE,OAAO,EAAE,oBAAoB;gBAC7B,QAAQ,EAAE,oBAAoB;aAC/B;SACF;QACD,uBAAuB,EAAE;YACvB;gBACE,OAAO,EAAE,cAAc;gBACvB,QAAQ,EAAE,EAAE;aACb;SACF;QACD,iBAAiB,EAAE;YACjB;gBACE,OAAO,EAAE,wBAAwB;gBACjC,QAAQ,EAAE,eAAe;aAC1B;YACD;gBACE,OAAO,EAAE,6BAA6B;gBACtC,QAAQ,EAAE,oBAAoB;aAC/B;SACF;QACD,oBAAoB,EAAE;YACpB;gBACE,OAAO,EAAE,mBAAmB;gBAC5B,QAAQ,EAAE,EAAE;aACb;SACF;KACF,CAAC;IAEF,OAAO,UAAU,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,EAAE,gBAAgB,EAAE,CAAC,CAAC,C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