@wix/auto_sdk_bookings_resources 1.0.0 → 1.0.1

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 +191 -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 +191 -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 +191 -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 +191 -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
@@ -8,24 +8,35 @@ interface CreateResourceSignature {
8
8
  /**
9
9
  * Creates a new resource.
10
10
  *
11
- * A new events schedule is automatically created specific to this resource. This schedule will contain information
12
- * on when the resource is booked in order to prevent double bookings.
13
- * See [Schedules API](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object) for more information.
14
- *
15
- * - If the request does not include the field `locationOptions`, then the service will create this field and set
16
- * `availableInAllLocations` in this structure to `true`.
17
- * - If the request includes one or more business location IDs in the `locationOptions.specificLocationOptions.businessLocations`
18
- * field, then the field `locationOptions.specificLocationOptions.availableInBusinessLocations` must be set
19
- * to `true`.
11
+ *
12
+ * ## Connected schedules
13
+ *
14
+ * A new event *schedule*
15
+ * ([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))
16
+ * is automatically created for the resource.
17
+ *
18
+ * ## Locations
19
+ *
20
+ * If you don't specify `locationOptions`, Wix Bookings automatically sets
21
+ * `locationOptions.availableInAllLocations` to `true`.
22
+ *
23
+ * If you specify 1 business location ID in `locationOptions.specificLocationOptions.businessLocations`,
24
+ * you must specify `locationOptions.specificLocationOptions.availableInBusinessLocations`
25
+ * as `true`. Currently, you can specify only a single business location.
20
26
  * @param - Resource to create.
21
- * @returns The created resource.
27
+ * @returns Created resource.
22
28
  */
23
29
  (resource: Resource): Promise<Resource & ResourceNonNullableFields>;
24
30
  }
25
31
  export declare function bulkCreateResources(httpClient: HttpClient): BulkCreateResourcesSignature;
26
32
  interface BulkCreateResourcesSignature {
27
33
  /**
28
- * Creates multiple resources.
34
+ * Creates up to 50 resources.
35
+ *
36
+ *
37
+ * Refer to *Create Resource*
38
+ * ([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))
39
+ * for more details.
29
40
  * @param - Resources to create.
30
41
  */
31
42
  (resources: Resource[], options?: BulkCreateResourcesOptions | undefined): Promise<BulkCreateResourcesResponse & BulkCreateResourcesResponseNonNullableFields>;
@@ -33,9 +44,9 @@ interface BulkCreateResourcesSignature {
33
44
  export declare function getResource(httpClient: HttpClient): GetResourceSignature;
34
45
  interface GetResourceSignature {
35
46
  /**
36
- * Retrieves a resource by ID.
47
+ * Retrieves a resource.
37
48
  * @param - ID of the resource to retrieve.
38
- * @returns The retrieved resource.
49
+ * @returns Retrieved resource.
39
50
  */
40
51
  (resourceId: string): Promise<Resource & ResourceNonNullableFields>;
41
52
  }
@@ -44,10 +55,11 @@ interface UpdateResourceSignature {
44
55
  /**
45
56
  * Updates a resource.
46
57
  *
58
+ *
47
59
  * Each time the resource is updated, `revision` increments by 1. You must include the current revision of the resource when updating it.
48
60
  * This ensures you're working with the latest service information and prevents unintended overwrites.
49
61
  * @param - Resource ID.
50
- * @returns The updated resource.
62
+ * @returns Updated resource.
51
63
  */
52
64
  (_id: string | null, resource: UpdateResource): Promise<Resource & ResourceNonNullableFields>;
53
65
  }
@@ -56,7 +68,11 @@ interface DeleteResourceSignature {
56
68
  /**
57
69
  * Deletes a resource.
58
70
  *
59
- * Also cancels the associated events schedule and any working hours schedule that isn’t shared among multiple resources.
71
+ *
72
+ * Deleting a resource cancels its event schedule and all its working hour
73
+ * schedules that aren't shared with another resource. Learn more about
74
+ * how Bookings uses the Calendar APIs*
75
+ * ([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)).
60
76
  * @param - ID of the resource to delete.
61
77
  */
62
78
  (resourceId: string): Promise<void>;
@@ -65,7 +81,12 @@ export declare function bulkDeleteResources(httpClient: HttpClient): BulkDeleteR
65
81
  interface BulkDeleteResourcesSignature {
66
82
  /**
67
83
  * Deletes multiple resources.
68
- * @param - The IDs of the resources to delete.
84
+ *
85
+ *
86
+ * Refer to *Delete Resource*
87
+ * ([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))
88
+ * for more details.
89
+ * @param - IDs of the resources to delete.
69
90
  */
70
91
  (ids: string[]): Promise<BulkDeleteResourcesResponse & BulkDeleteResourcesResponseNonNullableFields>;
71
92
  }
@@ -74,8 +95,10 @@ interface SearchResourcesSignature {
74
95
  /**
75
96
  * Retrieves a list of resources matching the provided search criteria.
76
97
  *
77
- * The search endpoints allow to perform advanced search including partial text search, exact match, and more.
78
- * The endpoint also allows to aggregate resources by type, name, app id, management type, management type and location options.
98
+ *
99
+ * Refer to the *supported filters article*
100
+ * ([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))
101
+ * for a complete list of supported filters and sorting options.
79
102
  */
80
103
  (options?: SearchResourcesOptions | undefined): Promise<SearchResourcesResponse & SearchResourcesResponseNonNullableFields>;
81
104
  }
@@ -95,7 +118,7 @@ interface QueryResourcesSignature {
95
118
  * + `limit` is `50`.
96
119
  * + Sorted by `id` in ascending order.
97
120
  *
98
- * 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"`.
121
+ * 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"`.
99
122
  *
100
123
  * 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`.
101
124
  */
@@ -106,10 +129,11 @@ interface CountResourcesSignature {
106
129
  /**
107
130
  * Counts resources according to given criteria.
108
131
  *
109
- * Use [WQL filter](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section) to define the criteria.
110
- * @param - Filter to base the count on. See
111
- * [queryResources()](https://dev.wix.com/docs/sdk/backend-modules/bookings/resources/query-resources)
112
- * for supported filters.
132
+ *
133
+ * Refer to the *supported filters article*
134
+ * ([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))
135
+ * for a complete list of supported filters and sorting options.
136
+ * @param - 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.
113
137
  */
114
138
  (options?: CountResourcesOptions | undefined): Promise<CountResourcesResponse & CountResourcesResponseNonNullableFields>;
115
139
  }
@@ -1 +1 @@
1
- {"version":3,"file":"bookings-resources-v2-resource-resources.public.js","sourceRoot":"","sources":["../../../../src/bookings-resources-v2-resource-resources.public.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uCAAuC,EAAE,MAAM,yCAAyC,CAAC;AAClG,OAAO,EAAE,oCAAoC,EAAE,MAAM,4CAA4C,CAAC;AAClG,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAClF,OAAO,EAAE,eAAe,EAAc,MAAM,gBAAgB,CAAC;AAC7D,OAAO,EAmBL,mBAAmB,IAAI,4BAA4B,EACnD,mBAAmB,IAAI,4BAA4B,EACnD,cAAc,IAAI,uBAAuB,EACzC,cAAc,IAAI,uB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GAAG,eAAe,CAC9C,4CAA4C,EAC5C,IAAI,EACJ,CAAC,KAA8B,EAAE,EAAE,CACjC,uCAAuC,CACrC,cAAc,CAAC,KAAK,EAAE;IACpB;QACE,WAAW,EAAE,oCAAoC;QACjD,KAAK,EAAE;YACL,EAAE,IAAI,EAAE,oBAAoB,EAAE;YAC9B,EAAE,IAAI,EAAE,oBAAoB,EAAE;YAC9B,EAAE,IAAI,EAAE,oBAAoB,EAAE;SAC/B;KACF;CACF,CAAC,CACH,CACJ,EAA2B,CAAC;AAE7B,OAAO,EAQL,eAAe,EAwDf,QAAQ,EAKR,cAAc,EAEd,aAAa,EACb,IAAI,EAMJ,qBAAqB,EA+BrB,UAAU,EAQV,aAAa,EACb,SAAS,EACT,QAAQ,EAaR,mBAAmB,GAGpB,MAAM,yDAAyD,CAAC"}
1
+ {"version":3,"file":"bookings-resources-v2-resource-resources.public.js","sourceRoot":"","sources":["../../../../src/bookings-resources-v2-resource-resources.public.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uCAAuC,EAAE,MAAM,yCAAyC,CAAC;AAClG,OAAO,EAAE,oCAAoC,EAAE,MAAM,4CAA4C,CAAC;AAClG,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAClF,OAAO,EAAE,eAAe,EAAc,MAAM,gBAAgB,CAAC;AAC7D,OAAO,EAmBL,mBAAmB,IAAI,4BAA4B,EACnD,mBAAmB,IAAI,4BAA4B,EACnD,cAAc,IAAI,uBAAuB,EACzC,cAAc,IAAI,uBAAuB,EACzC,cAAc,IAAI,uBAAuB,EACzC,WAAW,IAAI,oBAAoB,EACnC,cAAc,IAAI,uBAAuB,EACzC,eAAe,IAAI,wBAAwB,EAC3C,cAAc,IAAI,uBAAuB,GAC1C,MAAM,yDAAyD,CAAC;AAEjE,MAAM,CAAC,MAAM,UAAU,GAAG,EAAE,YAAY,EAAE,eAAe,EAAE,CAAC;AAE5D,MAAM,UAAU,cAAc,CAC5B,UAAsB;IAEtB,O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AC/B;KACF;CACF,CAAC,CACH,CACJ,EAA2B,CAAC;AAE7B,OAAO,EAQL,eAAe,EAwDf,QAAQ,EAKR,cAAc,EAEd,aAAa,EACb,IAAI,EAMJ,qBAAqB,EA+BrB,UAAU,EAQV,aAAa,EACb,SAAS,EACT,QAAQ,EAaR,mBAAmB,GAGpB,MAAM,yDAAyD,CAAC"}
@@ -1,7 +1,9 @@
1
1
  /**
2
- * A resource represents an entity that can be scheduled for use, such as a room or a staff member.
3
- * The availability of a resource is tracked to ensure that it can be allocated at a requested time slot and to prevent double bookings.
4
- * Read more about resources in this [article](https://support.wix.com/en/article/wix-bookings-managing-your-resources).
2
+ * A resource represents an entity, such as a room or a staff member, that can be
3
+ * scheduled for use in a *booking*
4
+ * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/bookings/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/about-the-bookings-apis)).
5
+ * The availability of a resource is tracked to ensure that it
6
+ * can be allocated at a requested time slot and to prevent double bookings.
5
7
  */
6
8
  export interface Resource extends ResourceCompositionDetailsOneOf {
7
9
  /**
@@ -17,35 +19,42 @@ export interface Resource extends ResourceCompositionDetailsOneOf {
17
19
  */
18
20
  revision?: string | null;
19
21
  /**
20
- * Represents the time in `YYYY-MM-DDThh:mm:ss.sssZ` format this resource was created.
22
+ * Time in `YYYY-MM-DDThh:mm:ss.sssZ` format the resource was created.
21
23
  * @readonly
22
24
  */
23
25
  createdDate?: Date | null;
24
26
  /**
25
- * Represents the time in `YYYY-MM-DDThh:mm:ss.sssZ` format this resource was last updated.
27
+ * Time in `YYYY-MM-DDThh:mm:ss.sssZ` format the resource was last updated.
26
28
  * @readonly
27
29
  */
28
30
  updatedDate?: Date | null;
29
31
  /** Name of the resource. */
30
32
  name?: string | null;
31
33
  /**
32
- * ID of the [resource type](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members-and-resources/resource-type-v2/introduction).
34
+ * ID of the *resource type*
35
+ * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/resource-types/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resource-types-v2/introduction)).
33
36
  *
34
37
  * Once a type has been set it can't be modified. You can create a resource
35
- * without specifying a type. However, such resources cannot be booked.
38
+ * without specifying a type. However, customers can't book such resources.
36
39
  */
37
40
  typeId?: string | null;
38
41
  /**
39
- * Schedule details that specify the working hours and locations of this resource.
42
+ * Information about the *schedule*
43
+ * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/calendar/schedules/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction))
44
+ * specifying the working hours and locations of the resource.
40
45
  *
41
- * Resources without this field are available 24/7 at the locations specified in the field `locationOptions`.
42
- * When both `workingHoursSchedules` and `locationOptions` are set then `workingHoursSchedules` takes precedence.
46
+ * Resources without a working hour schedule are available 24/7 at the locations
47
+ * specified in the field `locationOptions`.
48
+ * When both `workingHoursSchedules` and `locationOptions` are set,
49
+ * `workingHoursSchedules` takes precedence.
43
50
  */
44
51
  workingHoursSchedules?: WorkingHoursSchedules;
45
- /** Location details that specify where this resource is available. */
52
+ /** Information about the location where the resource is available. */
46
53
  locationOptions?: LocationOptions;
47
54
  /**
48
- * This schedule contains the sessions in which this resource has been booked.
55
+ * Schedule containing the *events*
56
+ * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/calendar/events/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction))
57
+ * for which the resource has been booked.
49
58
  * @readonly
50
59
  */
51
60
  eventsSchedule?: EventsSchedule;
@@ -56,13 +65,15 @@ export interface Resource extends ResourceCompositionDetailsOneOf {
56
65
  export interface ResourceCompositionDetailsOneOf {
57
66
  }
58
67
  export interface WorkingHoursSchedule {
59
- /** Schedule ID. See [Schedules API](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object) for more information. */
68
+ /**
69
+ * ID of the working hour *schedule*
70
+ * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/calendar/schedules/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction)).
71
+ */
60
72
  scheduleId?: string | null;
61
73
  /**
62
- * Whether this schedule is used by multiple resources or unique for this resource.
74
+ * Whether the schedule is shared by multiple resources or unique for this resource.
63
75
  *
64
- * `true` if it is a shared schedule (for example from a business or location), `false` this is a custom schedule specific to the resource.
65
- * Default: `false`.
76
+ * Default: `false`
66
77
  * @readonly
67
78
  */
68
79
  shared?: boolean | null;
@@ -71,25 +82,29 @@ export interface SingleResource {
71
82
  /**
72
83
  * Schedule details that specify the working hours and locations of this resource.
73
84
  *
74
- * When this field is not set the resource is assumed to be available full time (7 x 24) at the locations specified
75
- * in the field `location_options`. When both `working_hours_schedules` and `location_options` are set then
76
- * `working_hours_schedules` takes precedence.
85
+ * When this field is missing or empty, the resource is assumed to be available
86
+ * around the clock (24/7) at the locations specified in `locationOptions`. When
87
+ * both `workingHoursSchedules` and `locationOptions` are set,
88
+ * `workingHoursSchedules` takes precedence.
77
89
  */
78
90
  workingHoursSchedules?: V2WorkingHoursSchedules;
79
91
  /**
80
- * Location details that specify where this resource is available.
92
+ * Information about the location where the resource is available.
81
93
  *
82
- * If this field is not supplied then `location_options.available_in_all_locations` is set to `true`.
94
+ * If you don't specify `locationOptions`, Wix Bookings automatically sets
95
+ * `{"availableInAllLocations": true}`.
83
96
  */
84
97
  locationOptions?: LocationOptions;
85
98
  /**
86
- * This schedule contains the sessions in which this resource has been booked.
99
+ * Schedule containing the *events*
100
+ * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/calendar/events/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction))
101
+ * for which the resource has been booked.
87
102
  * @readonly
88
103
  */
89
104
  eventsSchedule?: Schedule;
90
105
  }
91
106
  export interface V2WorkingHoursSchedules {
92
- /** schedules specifying all the working hours of the resource. Currently a single schedule is supported. */
107
+ /** Schedules specifying the working hours of the resource. Currently, only a single schedule is supported. */
93
108
  values?: Schedule[];
94
109
  }
95
110
  /** Deprecated and subject to removal */
@@ -106,39 +121,53 @@ export interface Schedule {
106
121
  }
107
122
  export interface LocationOptions {
108
123
  /**
109
- * `true` if the resource is available in all locations, `false` if the resource is available only in specific locations.
124
+ * Whether the resource is available in all *business locations*
125
+ * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/about-service-locations#backend-modules_bookings_services_location-types) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/about-service-locations#location-types)).
126
+ *
127
+ * - `true`: The resource is available in all business locations.
128
+ * - `false`: The resource is available only in specific locations.
129
+ *
110
130
  * Default: `false`
111
131
  */
112
132
  availableInAllLocations?: boolean | null;
113
- /**
114
- * Details of specific locations. It must be left empty if `availableInAllLocations` is `true`.
115
- * If supplied then the field `specificLocationOptions.availableInBusinessLocations` must be set to `true`.
116
- */
133
+ /** Details of resource availability in specific locations. */
117
134
  specificLocationOptions?: SpecificLocation;
118
135
  }
119
136
  export interface SpecificLocation {
120
137
  /**
121
- * `true` if the resource is available in some business locations, `false` otherwise.
138
+ * Whether the resource is available in *business locations*
139
+ * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/about-service-locations#backend-modules_bookings_services_location-types) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/about-service-locations#location-types)).
140
+ *
141
+ * - `true`: The resource is available in business locations.
142
+ * - `false`: The resource isn't available in business locations.
122
143
  *
123
144
  * Default: `false`
124
145
  */
125
146
  availableInBusinessLocations?: boolean | null;
126
147
  /**
127
- * Information about business locations. Should be empty if `availableInBusinessLocations` is `false` or if no business location exists in Locations.
128
- * Read more about business locations in this [article](https://dev.wix.com/docs/rest/business-management/locations/introduction).
148
+ * Information about the business locations where the resource is available.
149
+ * Not returned, if the resource is available in either all business locations
150
+ * or in no business location.
151
+ * You can specify up to 5 business locations.
129
152
  */
130
153
  businessLocations?: BusinessLocation[];
131
154
  }
132
155
  export interface BusinessLocation {
133
- /** The ID of the business location. Must not be empty. */
156
+ /**
157
+ * ID of the business *location*
158
+ * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction)).
159
+ */
134
160
  locationId?: string | null;
135
161
  }
136
162
  export interface WorkingHoursSchedules {
137
- /** Schedules specifying all the working hours of the resource. Currently a single schedule is supported. */
163
+ /** Schedules specifying the working hours of the resource. Currently, only a single schedule is supported. */
138
164
  values?: WorkingHoursSchedule[];
139
165
  }
140
166
  export interface EventsSchedule {
141
- /** Schedule ID. See [Schedules API](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object) for more information. */
167
+ /**
168
+ * ID of the event *schedule*
169
+ * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/calendar/schedules/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction)).
170
+ */
142
171
  scheduleId?: string | null;
143
172
  }
144
173
  export declare enum ManagementType {
@@ -161,13 +190,17 @@ export interface CreateResourceRequest {
161
190
  resource: Resource;
162
191
  }
163
192
  export interface CreateResourceResponse {
164
- /** The created resource. */
193
+ /** Created resource. */
165
194
  resource?: Resource;
166
195
  }
167
196
  export interface BulkCreateResourcesRequest {
168
197
  /** Resources to create. */
169
198
  resources: Resource[];
170
- /** Whether to include the created resources in the response. Default: `false` */
199
+ /**
200
+ * Whether to include the created resources in the response.
201
+ *
202
+ * Default: `false`
203
+ */
171
204
  returnEntity?: boolean;
172
205
  }
173
206
  export interface BulkCreateResourcesResponse {
@@ -177,7 +210,7 @@ export interface BulkCreateResourcesResponse {
177
210
  bulkActionMetadata?: BulkActionMetadata;
178
211
  }
179
212
  export interface BulkResourceResult {
180
- /** Item metadata */
213
+ /** Item metadata. */
181
214
  itemMetadata?: ItemMetadata;
182
215
  /** The resulting resource after the bulk operation. */
183
216
  item?: Resource;
@@ -213,21 +246,21 @@ export interface GetResourceRequest {
213
246
  resourceId: string;
214
247
  }
215
248
  export interface GetResourceResponse {
216
- /** The retrieved resource. */
249
+ /** Retrieved resource. */
217
250
  resource?: Resource;
218
251
  }
219
252
  export interface GetDeletedResourceRequest {
220
- /** ID of the resource to retrieve. */
253
+ /** ID of the deleted resource to retrieve from the trash bin. */
221
254
  resourceId?: string;
222
255
  }
223
256
  export interface GetDeletedResourceResponse {
224
- /** The retrieved resource. */
257
+ /** Retrieved resource. */
225
258
  resource?: Resource;
226
259
  }
227
260
  export interface ListDeletedResourcesRequest {
228
- /** The ids of the resources to retrieve. */
261
+ /** IDs of the resources to retrieve. */
229
262
  resourceIds?: string[];
230
- /** Paging parameter, enabling to pass a limit and a cursor. */
263
+ /** Paging details, allowing you specify a limit and a cursor. */
231
264
  paging?: CursorPaging;
232
265
  }
233
266
  export interface CursorPaging {
@@ -242,9 +275,9 @@ export interface CursorPaging {
242
275
  cursor?: string | null;
243
276
  }
244
277
  export interface ListDeletedResourcesResponse {
245
- /** The retrieved Resources */
278
+ /** Retrieved resources. */
246
279
  resources?: Resource[];
247
- /** Paging metadata */
280
+ /** Paging metadata. */
248
281
  pagingMetadata?: CursorPagingMetadata;
249
282
  }
250
283
  export interface CursorPagingMetadata {
@@ -267,7 +300,7 @@ export interface Cursors {
267
300
  prev?: string | null;
268
301
  }
269
302
  export interface RemoveResourceFromTrashBinRequest {
270
- /** ID of the resource to remove from the trash bin. */
303
+ /** ID of the resource to permanently delete from the trash bin. */
271
304
  resourceId?: string;
272
305
  }
273
306
  export interface RemoveResourceFromTrashBinResponse {
@@ -277,15 +310,15 @@ export interface RestoreResourceFromTrashBinRequest {
277
310
  resourceId?: string;
278
311
  }
279
312
  export interface RestoreResourceFromTrashBinResponse {
280
- /** The restored resource. */
313
+ /** Restored resource. */
281
314
  resource?: Resource;
282
315
  }
283
316
  export interface UpdateResourceRequest {
284
- /** Resource to be updated, may be partial. */
317
+ /** Resource to update. */
285
318
  resource: Resource;
286
319
  }
287
320
  export interface UpdateResourceResponse {
288
- /** The updated resource. */
321
+ /** Updated resource. */
289
322
  resource?: Resource;
290
323
  }
291
324
  export interface DeleteResourceRequest {
@@ -295,7 +328,7 @@ export interface DeleteResourceRequest {
295
328
  export interface DeleteResourceResponse {
296
329
  }
297
330
  export interface BulkDeleteResourcesRequest {
298
- /** The IDs of the resources to delete. */
331
+ /** IDs of the resources to delete. */
299
332
  ids: string[];
300
333
  }
301
334
  export interface BulkDeleteResourcesResponse {
@@ -305,7 +338,11 @@ export interface BulkDeleteResourcesResponse {
305
338
  bulkActionMetadata?: BulkActionMetadata;
306
339
  }
307
340
  export interface SearchResourcesRequest {
308
- /** Search condition */
341
+ /**
342
+ * Search condition. Refer to the *supported filters article*
343
+ * ([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))
344
+ * for a complete list of supported filters and sorting options.
345
+ */
309
346
  search?: CursorSearch;
310
347
  }
311
348
  export interface CursorSearch extends CursorSearchPagingMethodOneOf {
@@ -558,11 +595,11 @@ export declare enum Mode {
558
595
  AND = "AND"
559
596
  }
560
597
  export interface SearchResourcesResponse {
561
- /** The retrieved resources */
598
+ /** Retrieved resources. */
562
599
  resources?: Resource[];
563
- /** Paging metadata */
600
+ /** Paging metadata. */
564
601
  pagingMetadata?: CursorPagingMetadata;
565
- /** Aggregation results */
602
+ /** Aggregation results. */
566
603
  aggregationData?: AggregationData;
567
604
  }
568
605
  export interface AggregationData {
@@ -727,7 +764,11 @@ export interface AggregationResultsResultOneOf {
727
764
  nested?: NestedResults;
728
765
  }
729
766
  export interface QueryResourcesRequest {
730
- /** WQL expression. */
767
+ /**
768
+ * Query for retrieving resources. Refer to the *supported filters article*
769
+ * ([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))
770
+ * for a complete list of supported filters.
771
+ */
731
772
  query?: CursorQuery;
732
773
  }
733
774
  export interface CursorQuery extends CursorQueryPagingMethodOneOf {
@@ -754,40 +795,45 @@ export interface CursorQueryPagingMethodOneOf {
754
795
  cursorPaging?: CursorPaging;
755
796
  }
756
797
  export interface QueryResourcesResponse {
757
- /** The retrieved Resources. */
798
+ /** Retrieved resources. */
758
799
  resources?: Resource[];
759
- /** Paging metadata */
800
+ /** Paging metadata. */
760
801
  pagingMetadata?: CursorPagingMetadata;
761
802
  }
762
803
  export interface CountResourcesRequest {
763
- /** Filter to apply on resources to count. */
804
+ /**
805
+ * Filter to base the count on. Refer to the *supported filters article*
806
+ * ([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))
807
+ * for a complete list of supported filters.
808
+ */
764
809
  filter?: Record<string, any> | null;
765
810
  /**
766
- * @deprecated
811
+ * Free text to match in searchable fields. Field is deprecated due to decision to use query instead of search for performing the count.
812
+ * @deprecated Free text to match in searchable fields. Field is deprecated due to decision to use query instead of search for performing the count.
767
813
  * @targetRemovalDate 2024-05-01
768
814
  */
769
815
  search?: SearchDetails;
770
816
  }
771
817
  export interface CountResourcesResponse {
772
- /** The number of resources matching the given filter. */
818
+ /** Total number of resources matching the filter. */
773
819
  count?: number;
774
820
  }
775
821
  export interface ImportResourceRequest {
776
- /** Resource to be imported. */
822
+ /** Resource to import. */
777
823
  resource?: Resource;
778
824
  }
779
825
  export interface ImportResourceResponse {
780
- /** The imported resource. */
826
+ /** Imported resource. */
781
827
  resource?: Resource;
782
828
  }
783
829
  export interface FixResourceSchedulesRequest {
784
- /** Id of the resource of which the schedules must be fixed */
830
+ /** ID of the resource to fix schedules for. */
785
831
  resourceId?: string;
786
- /** the working hours schedule that must be set for this resource. */
832
+ /** Working hour schedule that must be set for this resource. */
787
833
  workingHoursSchedule?: Schedule;
788
834
  }
789
835
  export interface FixResourceSchedulesResponse {
790
- /** The resource with the fixed schedule IDs. */
836
+ /** Updated resource. */
791
837
  resource?: Resource;
792
838
  }
793
839
  export interface ReindexTenantRequest {
@@ -1 +1 @@
1
- {"version":3,"file":"bookings-resources-v2-resource-resources.types.js","sourceRoot":"","sources":["../../../../src/bookings-resources-v2-resource-resources.types.ts"],"names":[],"mappings":"AAyJA,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,QAQrB;AAqBD,MAAM,CAAN,IAAY,qBAUX;AAVD,WAAY,qBAAqB;IAC/B,8EAAqD,CAAA;IACrD,uFAAuF;IACvF,wCAAe,CAAA;IACf,uFAAuF;IACvF,wCAAe,CAAA;IACf,kEAAkE;IAClE,0CAAiB,CAAA;IACjB,iHAAiH;IACjH,0DAAiC,CAAA;AACnC,CAAC,EAVW,qBAAqB,KAArB,qBAAqB,QAUhC;AAiBD,MAAM,CAAN,IAAY,QAgBX;AAhBD,WAAY,QAAQ;IAClB,iDAAqC,CAAA;IACrC,sBAAsB;IACtB,yBAAa,CAAA;IACb,uBAAuB;IACvB,2BAAe,CAAA;IACf,sBAAsB;IACtB,yBAAa,CAAA;IACb,qBAAqB;IACrB,uBAAW,CAAA;IACX,sBAAsB;IACtB,yBAAa,CAAA;IACb,sBAAsB;IACtB,6BAAiB,CAAA;IACjB,sBAAsB;IACtB,6BAAiB,CAAA;AACnB,CAAC,EAhBW,QAAQ,KAAR,QAAQ,QAgBnB;AA+BD,MAAM,CAAN,IAAY,eAYX;AAZD,WAAY,eAAe;IACzB,wEAAqD,CAAA;IACrD,uFAAuF;IACvF,kCAAe,CAAA;IACf,uFAAuF;IACvF,kCAAe,CAAA;IACf,kEAAkE;IAClE,oCAAiB,CAAA;IACjB,iHAAiH;IACjH,oDAAiC,CAAA;IACjC,yFAAyF;IACzF,oCAAiB,CAAA;AACnB,CAAC,EAZW,eAAe,KAAf,eAAe,QAY1B;AAkCD,MAAM,CAAN,IAAY,IAKX;AALD,WAAY,IAAI;IACd,8CAA8C;IAC9C,iBAAS,CAAA;IACT,uCAAuC;IACvC,mBAAW,CAAA;AACb,CAAC,EALW,IAAI,KAAJ,IAAI,QAKf;AAqYD,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,KAAnB,mBAAmB,QAM9B"}
1
+ {"version":3,"file":"bookings-resources-v2-resource-resources.types.js","sourceRoot":"","sources":["../../../../src/bookings-resources-v2-resource-resources.types.ts"],"names":[],"m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