@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.
Files changed (53) hide show
  1. package/build/cjs/src/bookings-resources-v2-resource-resources.context.d.ts +2 -6
  2. package/build/cjs/src/bookings-resources-v2-resource-resources.context.js +2 -6
  3. package/build/cjs/src/bookings-resources-v2-resource-resources.context.js.map +1 -1
  4. package/build/cjs/src/bookings-resources-v2-resource-resources.http.d.ts +47 -17
  5. package/build/cjs/src/bookings-resources-v2-resource-resources.http.js +46 -16
  6. package/build/cjs/src/bookings-resources-v2-resource-resources.http.js.map +1 -1
  7. package/build/cjs/src/bookings-resources-v2-resource-resources.public.d.ts +47 -23
  8. package/build/cjs/src/bookings-resources-v2-resource-resources.public.js.map +1 -1
  9. package/build/cjs/src/bookings-resources-v2-resource-resources.types.d.ts +110 -64
  10. package/build/cjs/src/bookings-resources-v2-resource-resources.types.js.map +1 -1
  11. package/build/cjs/src/bookings-resources-v2-resource-resources.universal.d.ts +197 -105
  12. package/build/cjs/src/bookings-resources-v2-resource-resources.universal.js +46 -22
  13. package/build/cjs/src/bookings-resources-v2-resource-resources.universal.js.map +1 -1
  14. package/build/es/src/bookings-resources-v2-resource-resources.context.d.ts +2 -6
  15. package/build/es/src/bookings-resources-v2-resource-resources.context.js +2 -6
  16. package/build/es/src/bookings-resources-v2-resource-resources.context.js.map +1 -1
  17. package/build/es/src/bookings-resources-v2-resource-resources.http.d.ts +47 -17
  18. package/build/es/src/bookings-resources-v2-resource-resources.http.js +46 -16
  19. package/build/es/src/bookings-resources-v2-resource-resources.http.js.map +1 -1
  20. package/build/es/src/bookings-resources-v2-resource-resources.public.d.ts +47 -23
  21. package/build/es/src/bookings-resources-v2-resource-resources.public.js.map +1 -1
  22. package/build/es/src/bookings-resources-v2-resource-resources.types.d.ts +110 -64
  23. package/build/es/src/bookings-resources-v2-resource-resources.types.js.map +1 -1
  24. package/build/es/src/bookings-resources-v2-resource-resources.universal.d.ts +197 -105
  25. package/build/es/src/bookings-resources-v2-resource-resources.universal.js +46 -22
  26. package/build/es/src/bookings-resources-v2-resource-resources.universal.js.map +1 -1
  27. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.context.d.ts +2 -6
  28. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.context.js +2 -6
  29. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.context.js.map +1 -1
  30. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.http.d.ts +47 -17
  31. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.http.js +46 -16
  32. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.http.js.map +1 -1
  33. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.public.d.ts +47 -23
  34. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.public.js.map +1 -1
  35. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.types.d.ts +110 -64
  36. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.types.js.map +1 -1
  37. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.universal.d.ts +197 -105
  38. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.universal.js +46 -22
  39. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.universal.js.map +1 -1
  40. package/build/internal/es/src/bookings-resources-v2-resource-resources.context.d.ts +2 -6
  41. package/build/internal/es/src/bookings-resources-v2-resource-resources.context.js +2 -6
  42. package/build/internal/es/src/bookings-resources-v2-resource-resources.context.js.map +1 -1
  43. package/build/internal/es/src/bookings-resources-v2-resource-resources.http.d.ts +47 -17
  44. package/build/internal/es/src/bookings-resources-v2-resource-resources.http.js +46 -16
  45. package/build/internal/es/src/bookings-resources-v2-resource-resources.http.js.map +1 -1
  46. package/build/internal/es/src/bookings-resources-v2-resource-resources.public.d.ts +47 -23
  47. package/build/internal/es/src/bookings-resources-v2-resource-resources.public.js.map +1 -1
  48. package/build/internal/es/src/bookings-resources-v2-resource-resources.types.d.ts +110 -64
  49. package/build/internal/es/src/bookings-resources-v2-resource-resources.types.js.map +1 -1
  50. package/build/internal/es/src/bookings-resources-v2-resource-resources.universal.d.ts +197 -105
  51. package/build/internal/es/src/bookings-resources-v2-resource-resources.universal.js +46 -22
  52. package/build/internal/es/src/bookings-resources-v2-resource-resources.universal.js.map +1 -1
  53. package/package.json +2 -2
@@ -105,15 +105,21 @@ export var WebhookIdentityType;
105
105
  /**
106
106
  * Creates a new resource.
107
107
  *
108
- * A new events schedule is automatically created specific to this resource. This schedule will contain information
109
- * on when the resource is booked in order to prevent double bookings.
110
- * See [Schedules API](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object) for more information.
111
108
  *
112
- * - If the request does not include the field `locationOptions`, then the service will create this field and set
113
- * `availableInAllLocations` in this structure to `true`.
114
- * - If the request includes one or more business location IDs in the `locationOptions.specificLocationOptions.businessLocations`
115
- * field, then the field `locationOptions.specificLocationOptions.availableInBusinessLocations` must be set
116
- * to `true`.
109
+ * ## Connected schedules
110
+ *
111
+ * A new event *schedule*
112
+ * ([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))
113
+ * is automatically created for the resource.
114
+ *
115
+ * ## Locations
116
+ *
117
+ * If you don't specify `locationOptions`, Wix Bookings automatically sets
118
+ * `locationOptions.availableInAllLocations` to `true`.
119
+ *
120
+ * If you specify 1 business location ID in `locationOptions.specificLocationOptions.businessLocations`,
121
+ * you must specify `locationOptions.specificLocationOptions.availableInBusinessLocations`
122
+ * as `true`. Currently, you can specify only a single business location.
117
123
  * @param resource - Resource to create.
118
124
  * @public
119
125
  * @documentationMaturity preview
@@ -125,7 +131,7 @@ export var WebhookIdentityType;
125
131
  * @permissionScope Manage Bookings - all permissions
126
132
  * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
127
133
  * @applicableIdentity APP
128
- * @returns The created resource.
134
+ * @returns Created resource.
129
135
  * @fqn wix.bookings.resources.v2.ResourcesService.CreateResource
130
136
  */
131
137
  export async function createResource(resource) {
@@ -150,7 +156,12 @@ export async function createResource(resource) {
150
156
  }
151
157
  }
152
158
  /**
153
- * Creates multiple resources.
159
+ * Creates up to 50 resources.
160
+ *
161
+ *
162
+ * Refer to *Create Resource*
163
+ * ([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))
164
+ * for more details.
154
165
  * @param resources - Resources to create.
155
166
  * @public
156
167
  * @documentationMaturity preview
@@ -192,7 +203,7 @@ export async function bulkCreateResources(resources, options) {
192
203
  }
193
204
  }
194
205
  /**
195
- * Retrieves a resource by ID.
206
+ * Retrieves a resource.
196
207
  * @param resourceId - ID of the resource to retrieve.
197
208
  * @public
198
209
  * @documentationMaturity preview
@@ -210,7 +221,7 @@ export async function bulkCreateResources(resources, options) {
210
221
  * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
211
222
  * @applicableIdentity APP
212
223
  * @applicableIdentity VISITOR
213
- * @returns The retrieved resource.
224
+ * @returns Retrieved resource.
214
225
  * @fqn wix.bookings.resources.v2.ResourcesService.GetResource
215
226
  */
216
227
  export async function getResource(resourceId) {
@@ -239,6 +250,7 @@ export async function getResource(resourceId) {
239
250
  /**
240
251
  * Updates a resource.
241
252
  *
253
+ *
242
254
  * Each time the resource is updated, `revision` increments by 1. You must include the current revision of the resource when updating it.
243
255
  * This ensures you're working with the latest service information and prevents unintended overwrites.
244
256
  * @param _id - Resource ID.
@@ -253,7 +265,7 @@ export async function getResource(resourceId) {
253
265
  * @permissionScope Manage Bookings - all permissions
254
266
  * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
255
267
  * @applicableIdentity APP
256
- * @returns The updated resource.
268
+ * @returns Updated resource.
257
269
  * @fqn wix.bookings.resources.v2.ResourcesService.UpdateResource
258
270
  */
259
271
  export async function updateResource(_id, resource) {
@@ -282,7 +294,11 @@ export async function updateResource(_id, resource) {
282
294
  /**
283
295
  * Deletes a resource.
284
296
  *
285
- * Also cancels the associated events schedule and any working hours schedule that isn’t shared among multiple resources.
297
+ *
298
+ * Deleting a resource cancels its event schedule and all its working hour
299
+ * schedules that aren't shared with another resource. Learn more about
300
+ * how Bookings uses the Calendar APIs*
301
+ * ([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)).
286
302
  * @param resourceId - ID of the resource to delete.
287
303
  * @public
288
304
  * @documentationMaturity preview
@@ -319,7 +335,12 @@ export async function deleteResource(resourceId) {
319
335
  }
320
336
  /**
321
337
  * Deletes multiple resources.
322
- * @param ids - The IDs of the resources to delete.
338
+ *
339
+ *
340
+ * Refer to *Delete Resource*
341
+ * ([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))
342
+ * for more details.
343
+ * @param ids - IDs of the resources to delete.
323
344
  * @public
324
345
  * @documentationMaturity preview
325
346
  * @requiredField ids
@@ -355,8 +376,10 @@ export async function bulkDeleteResources(ids) {
355
376
  /**
356
377
  * Retrieves a list of resources matching the provided search criteria.
357
378
  *
358
- * The search endpoints allow to perform advanced search including partial text search, exact match, and more.
359
- * The endpoint also allows to aggregate resources by type, name, app id, management type, management type and location options.
379
+ *
380
+ * Refer to the *supported filters article*
381
+ * ([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))
382
+ * for a complete list of supported filters and sorting options.
360
383
  * @public
361
384
  * @documentationMaturity preview
362
385
  * @permissionId BOOKINGS.RESOURCE_READ
@@ -411,7 +434,7 @@ export async function searchResources(options) {
411
434
  * + `limit` is `50`.
412
435
  * + Sorted by `id` in ascending order.
413
436
  *
414
- * 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("id")`, the results are sorted first by the `"typeId"`, and then, if there are multiple results with the same `"typeId"`, the items are sorted by `"id"`.
437
+ * 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"`.
415
438
  *
416
439
  * 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`.
417
440
  * @public
@@ -477,12 +500,13 @@ export function queryResources() {
477
500
  /**
478
501
  * Counts resources according to given criteria.
479
502
  *
480
- * Use [WQL filter](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section) to define the criteria.
503
+ *
504
+ * Refer to the *supported filters article*
505
+ * ([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))
506
+ * for a complete list of supported filters and sorting options.
481
507
  * @public
482
508
  * @documentationMaturity preview
483
- * @param options - Filter to base the count on. See
484
- * [queryResources()](https://dev.wix.com/docs/sdk/backend-modules/bookings/resources/query-resources)
485
- * for supported filters.
509
+ * @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.
486
510
  * @permissionId BOOKINGS.RESOURCE_READ
487
511
  * @permissionScope Read Bookings - Public Data
488
512
  * @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,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,wCAAwC,MAAM,oDAAoD,CAAC;AA4J/G,MAAM,CAAN,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,6CAA6C;IAC7C,uCAAqB,CAAA;AACvB,CAAC,EAHW,cAAc,KAAd,cAAc,QAGzB;AA0OD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAiDD,MAAM,CAAN,IAAY,QAKX;AALD,WAAY,QAAQ;IAClB,uCAAuC;IACvC,2BAAe,CAAA;IACf,uDAAuD;IACvD,2BAAe,CAAA;AACjB,CAAC,EALW,QAAQ,KAAR,QAAQ,QAKnB;AAED,MAAM,CAAN,IAAY,aAKX;AALD,WAAY,aAAa;IACvB,sCAAsC;IACtC,8BAAa,CAAA;IACb,qCAAqC;IACrC,4BAAW,CAAA;AACb,CAAC,EALW,aAAa,KAAb,aAAa,QAKxB;AAED,MAAM,CAAN,IAAY,aAKX;AALD,WAAY,aAAa;IACvB,qEAAqE;IACrE,oCAAmB,CAAA;IACnB,mEAAmE;IACnE,oCAAmB,CAAA;AACrB,CAAC,EALW,aAAa,KAAb,aAAa,QAKxB;AAOD,MAAM,CAAN,IAAY,UAQX;AARD,WAAY,UAAU;IACpB,yDAA2C,CAAA;IAC3C,+BAA+B;IAC/B,+CAAiC,CAAA;IACjC,oBAAoB;IACpB,yBAAW,CAAA;IACX,oBAAoB;IACpB,yBAAW,CAAA;AACb,CAAC,EARW,UAAU,KAAV,UAAU,QAQr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C,CAAC;QAEjC,OAAO,uCAAuC,CAAC,MAAM,CAAC,IAAI,CAAE,CAAC;IAC/D,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,iBAAiB,CACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE;gBACxB,MAAM,EAAE,aAAa;gBACrB,MAAM,EAAE,aAAa;aACtB;YACD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,SAAS,CAAC,CACZ,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"bookings-resources-v2-resource-resources.universal.js","sourceRoot":"","sources":["../../../src/bookings-resources-v2-resource-resources.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,wCAAwC,MAAM,oDAAoD,CAAC;AAyL/G,MAAM,CAAN,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,6CAA6C;IAC7C,uCAAqB,CAAA;AACvB,CAAC,EAHW,cAAc,KAAd,cAAc,QAGzB;AAkPD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAiDD,MAAM,CAAN,IAAY,QAKX;AALD,WAAY,QAAQ;IAClB,uCAAuC;IACvC,2BAAe,CAAA;IACf,uDAAuD;IACvD,2BAAe,CAAA;AACjB,CAAC,EALW,QAAQ,KAAR,QAAQ,QAKnB;AAED,MAAM,CAAN,IAAY,aAKX;AALD,WAAY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ACH,MAAM,CAAC,KAAK,UAAU,cAAc,CAClC,OAA+B;IAE/B,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,qCAAqC,CAAC;QACpD,MAAM,EAAE,OAAO,EAAE,MAAM;QACvB,MAAM,EAAE,OAAO,EAAE,MAAM;KACxB,CAAC,CAAC;IAEH,MAAM,OAAO,GACX,wCAAwC,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;IAEnE,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;QAEjC,OAAO,uCAAuC,CAAC,MAAM,CAAC,IAAI,CAAE,CAAC;IAC/D,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,iBAAiB,CACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE;gBACxB,MAAM,EAAE,aAAa;gBACrB,MAAM,EAAE,aAAa;aACtB;YACD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,SAAS,CAAC,CACZ,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
@@ -14,15 +14,11 @@ export declare const searchResources: MaybeContext<BuildRESTFunction<typeof publ
14
14
  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 for each resource that is created.
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 for each resource that is deleted.
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
  /**
@@ -17,15 +17,11 @@ exports.searchResources = (0, rest_modules_1.createRESTModule)(bookings_resource
17
17
  exports.queryResources = (0, rest_modules_1.createRESTModule)(bookings_resources_v2_resource_resources_public_js_1.queryResources);
18
18
  exports.countResources = (0, rest_modules_1.createRESTModule)(bookings_resources_v2_resource_resources_public_js_1.countResources);
19
19
  /**
20
- * Triggered for each resource that is created.
21
- *
22
- * 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).
20
+ * Triggered when a resource is created.
23
21
  */
24
22
  exports.onResourceCreated = (0, event_definition_modules_1.createEventModule)(bookings_resources_v2_resource_resources_public_js_2.onResourceCreated);
25
23
  /**
26
- * Triggered for each resource that is deleted.
27
- *
28
- * 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).
24
+ * Triggered when a resource is deleted.
29
25
  */
30
26
  exports.onResourceDeleted = (0, event_definition_modules_1.createEventModule)(bookings_resources_v2_resource_resources_public_js_3.onResourceDeleted);
31
27
  /**
@@ -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,6HAU8D;AAC9D,gEAAiE;AACjE,wFAA8E;AAE9E,6HAAoH;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4JAAA,mBAAmB,OAAA"}
@@ -2,24 +2,38 @@ import { RequestOptionsFactory } from '@wix/sdk-types';
2
2
  /**
3
3
  * Creates a new resource.
4
4
  *
5
- * A new events schedule is automatically created specific to this resource. This schedule will contain information
6
- * on when the resource is booked in order to prevent double bookings.
7
- * See [Schedules API](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object) for more information.
8
- *
9
- * - If the request does not include the field `locationOptions`, then the service will create this field and set
10
- * `availableInAllLocations` in this structure to `true`.
11
- * - If the request includes one or more business location IDs in the `locationOptions.specificLocationOptions.businessLocations`
12
- * field, then the field `locationOptions.specificLocationOptions.availableInBusinessLocations` must be set
13
- * to `true`.
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
- /** Creates multiple resources. */
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 by ID. */
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
- * Also cancels the associated events schedule and any working hours schedule that isn’t shared among multiple resources.
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
- /** Deletes multiple resources. */
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
- * The search endpoints allow to perform advanced search including partial text search, exact match, and more.
39
- * The endpoint also allows to aggregate resources by type, name, app id, management type, management type and location options.
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("id")`, the results are sorted first by the `"typeId"`, and then, if there are multiple results with the same `"typeId"`, the items are sorted by `"id"`.
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
- * Use [WQL filter](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section) to define the criteria.
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>;
@@ -54,15 +54,21 @@ const PACKAGE_NAME = '@wix/auto_sdk_bookings_resources';
54
54
  /**
55
55
  * Creates a new resource.
56
56
  *
57
- * A new events schedule is automatically created specific to this resource. This schedule will contain information
58
- * on when the resource is booked in order to prevent double bookings.
59
- * See [Schedules API](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object) for more information.
60
57
  *
61
- * - If the request does not include the field `locationOptions`, then the service will create this field and set
62
- * `availableInAllLocations` in this structure to `true`.
63
- * - If the request includes one or more business location IDs in the `locationOptions.specificLocationOptions.businessLocations`
64
- * field, then the field `locationOptions.specificLocationOptions.availableInBusinessLocations` must be set
65
- * to `true`.
58
+ * ## Connected schedules
59
+ *
60
+ * A new event *schedule*
61
+ * ([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))
62
+ * is automatically created for the resource.
63
+ *
64
+ * ## Locations
65
+ *
66
+ * If you don't specify `locationOptions`, Wix Bookings automatically sets
67
+ * `locationOptions.availableInAllLocations` to `true`.
68
+ *
69
+ * If you specify 1 business location ID in `locationOptions.specificLocationOptions.businessLocations`,
70
+ * you must specify `locationOptions.specificLocationOptions.availableInBusinessLocations`
71
+ * as `true`. Currently, you can specify only a single business location.
66
72
  */
67
73
  function createResource(payload) {
68
74
  function __createResource({ host }) {
@@ -101,7 +107,14 @@ function createResource(payload) {
101
107
  return __createResource;
102
108
  }
103
109
  exports.createResource = createResource;
104
- /** Creates multiple resources. */
110
+ /**
111
+ * Creates up to 50 resources.
112
+ *
113
+ *
114
+ * Refer to *Create Resource*
115
+ * ([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))
116
+ * for more details.
117
+ */
105
118
  function bulkCreateResources(payload) {
106
119
  function __bulkCreateResources({ host }) {
107
120
  const serializedData = (0, transform_paths_1.transformPaths)(payload, [
@@ -139,7 +152,7 @@ function bulkCreateResources(payload) {
139
152
  return __bulkCreateResources;
140
153
  }
141
154
  exports.bulkCreateResources = bulkCreateResources;
142
- /** Retrieves a resource by ID. */
155
+ /** Retrieves a resource. */
143
156
  function getResource(payload) {
144
157
  function __getResource({ host }) {
145
158
  const metadata = {
@@ -171,6 +184,7 @@ exports.getResource = getResource;
171
184
  /**
172
185
  * Updates a resource.
173
186
  *
187
+ *
174
188
  * Each time the resource is updated, `revision` increments by 1. You must include the current revision of the resource when updating it.
175
189
  * This ensures you're working with the latest service information and prevents unintended overwrites.
176
190
  */
@@ -218,7 +232,11 @@ exports.updateResource = updateResource;
218
232
  /**
219
233
  * Deletes a resource.
220
234
  *
221
- * Also cancels the associated events schedule and any working hours schedule that isn’t shared among multiple resources.
235
+ *
236
+ * Deleting a resource cancels its event schedule and all its working hour
237
+ * schedules that aren't shared with another resource. Learn more about
238
+ * how Bookings uses the Calendar APIs*
239
+ * ([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)).
222
240
  */
223
241
  function deleteResource(payload) {
224
242
  function __deleteResource({ host }) {
@@ -239,7 +257,14 @@ function deleteResource(payload) {
239
257
  return __deleteResource;
240
258
  }
241
259
  exports.deleteResource = deleteResource;
242
- /** Deletes multiple resources. */
260
+ /**
261
+ * Deletes multiple resources.
262
+ *
263
+ *
264
+ * Refer to *Delete Resource*
265
+ * ([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))
266
+ * for more details.
267
+ */
243
268
  function bulkDeleteResources(payload) {
244
269
  function __bulkDeleteResources({ host }) {
245
270
  const metadata = {
@@ -271,8 +296,10 @@ exports.bulkDeleteResources = bulkDeleteResources;
271
296
  /**
272
297
  * Retrieves a list of resources matching the provided search criteria.
273
298
  *
274
- * The search endpoints allow to perform advanced search including partial text search, exact match, and more.
275
- * The endpoint also allows to aggregate resources by type, name, app id, management type, management type and location options.
299
+ *
300
+ * Refer to the *supported filters article*
301
+ * ([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))
302
+ * for a complete list of supported filters and sorting options.
276
303
  */
277
304
  function searchResources(payload) {
278
305
  function __searchResources({ host }) {
@@ -357,7 +384,7 @@ exports.searchResources = searchResources;
357
384
  * + `limit` is `50`.
358
385
  * + Sorted by `id` in ascending order.
359
386
  *
360
- * 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("id")`, the results are sorted first by the `"typeId"`, and then, if there are multiple results with the same `"typeId"`, the items are sorted by `"id"`.
387
+ * 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"`.
361
388
  *
362
389
  * 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`.
363
390
  */
@@ -392,7 +419,10 @@ exports.queryResources = queryResources;
392
419
  /**
393
420
  * Counts resources according to given criteria.
394
421
  *
395
- * Use [WQL filter](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section) to define the criteria.
422
+ *
423
+ * Refer to the *supported filters article*
424
+ * ([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))
425
+ * for a complete list of supported filters and sorting options.
396
426
  */
397
427
  function countResources(payload) {
398
428
  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":[],"mappings":";;;AAAA,gEAAkE;AAClE,kEAAsF;AACtF,kEAAsF;AACtF,0EAAkG;AAClG,0EAAkG;AAClG,4EAAmG;AACnG,sFAAkF;AAClF,gEAA2D;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;gB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AAC,EAAE,IAAI,EAAO;QACrC,MAAM,QAAQ,GAAG;YACf,UAAU,EAAE,oCAAoC;YAChD,MAAM,EAAE,MAAa;YACrB,SAAS,EAAE,2DAA2D;YACtE,WAAW,EAAE,YAAY;YACzB,GAAG,EAAE,gDAAgD,CAAC;gBACpD,SAAS,EAAE,qBAAqB;gBAChC,IAAI,EAAE,OAAO;gBACb,IAAI;aACL,CAAC;YACF,IAAI,EAAE,OAAO;SACd,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,OAAO,gBAAgB,CAAC;AAC1B,CAAC;AAnBD,wCAmBC"}
1
+ {"version":3,"file":"bookings-resources-v2-resource-resources.http.js","sourceRoot":"","sources":["../../../../src/bookings-resources-v2-resource-resources.http.ts"],"names":[],"mappings":";;;AAAA,gEAAkE;AAClE,kEAAsF;AACtF,kEAAsF;AACtF,0EAAkG;AAClG,0EAAkG;AAClG,4EAAmG;AACnG,sFAAkF;AAClF,gEAA2D;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,CA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