@wix/bookings 1.0.505 → 1.0.507
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/bookings",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.507",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@wix/bookings_multi-service-availability-time-slots": "1.0.36",
|
|
35
35
|
"@wix/bookings_pricing": "1.0.48",
|
|
36
36
|
"@wix/bookings_resource-types": "1.0.18",
|
|
37
|
-
"@wix/bookings_resources": "1.0.
|
|
37
|
+
"@wix/bookings_resources": "1.0.59",
|
|
38
38
|
"@wix/bookings_service-categories": "1.0.0",
|
|
39
39
|
"@wix/bookings_service-options-and-variants": "1.0.58",
|
|
40
40
|
"@wix/bookings_services": "1.0.81",
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"fqdn": ""
|
|
64
64
|
}
|
|
65
65
|
},
|
|
66
|
-
"falconPackageHash": "
|
|
66
|
+
"falconPackageHash": "a646e84b9a9d2f993f4ec896deda5fb5a22f91e6c9f495e830996835"
|
|
67
67
|
}
|
|
@@ -11177,12 +11177,12 @@ interface ResourcesQueryBuilder {
|
|
|
11177
11177
|
* @param value - Value to compare against.
|
|
11178
11178
|
* @documentationMaturity preview
|
|
11179
11179
|
*/
|
|
11180
|
-
eq: (propertyName: 'singleResource.locationOptions.availableInAllLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInBusinessLocations' | 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | '_createdDate' | '_updatedDate' | 'name', value: any) => ResourcesQueryBuilder;
|
|
11180
|
+
eq: (propertyName: 'singleResource.locationOptions.availableInAllLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInBusinessLocations' | 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | '_createdDate' | '_updatedDate' | 'name' | 'typeId' | 'locationOptions.availableInAllLocations' | 'eventsSchedule.scheduleId', value: any) => ResourcesQueryBuilder;
|
|
11181
11181
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
11182
11182
|
* @param value - Value to compare against.
|
|
11183
11183
|
* @documentationMaturity preview
|
|
11184
11184
|
*/
|
|
11185
|
-
ne: (propertyName: 'singleResource.locationOptions.availableInAllLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInBusinessLocations' | 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | '_createdDate' | '_updatedDate' | 'name', value: any) => ResourcesQueryBuilder;
|
|
11185
|
+
ne: (propertyName: 'singleResource.locationOptions.availableInAllLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInBusinessLocations' | 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | '_createdDate' | '_updatedDate' | 'name' | 'typeId' | 'locationOptions.availableInAllLocations' | 'eventsSchedule.scheduleId', value: any) => ResourcesQueryBuilder;
|
|
11186
11186
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
11187
11187
|
* @param value - Value to compare against.
|
|
11188
11188
|
* @documentationMaturity preview
|
|
@@ -11207,24 +11207,24 @@ interface ResourcesQueryBuilder {
|
|
|
11207
11207
|
* @param string - String to compare against. Case-insensitive.
|
|
11208
11208
|
* @documentationMaturity preview
|
|
11209
11209
|
*/
|
|
11210
|
-
startsWith: (propertyName: 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | 'name', value: string) => ResourcesQueryBuilder;
|
|
11210
|
+
startsWith: (propertyName: 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | 'name' | 'typeId' | 'eventsSchedule.scheduleId', value: string) => ResourcesQueryBuilder;
|
|
11211
11211
|
/** @param propertyName - Property whose value is compared with `values`.
|
|
11212
11212
|
* @param values - List of values to compare against.
|
|
11213
11213
|
* @documentationMaturity preview
|
|
11214
11214
|
*/
|
|
11215
|
-
hasSome: (propertyName: 'singleResource.locationOptions.availableInAllLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInBusinessLocations' | 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | '_createdDate' | '_updatedDate' | 'name', value: any[]) => ResourcesQueryBuilder;
|
|
11215
|
+
hasSome: (propertyName: 'singleResource.locationOptions.availableInAllLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInBusinessLocations' | 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | '_createdDate' | '_updatedDate' | 'name' | 'typeId' | 'locationOptions.availableInAllLocations' | 'eventsSchedule.scheduleId', value: any[]) => ResourcesQueryBuilder;
|
|
11216
11216
|
/** @documentationMaturity preview */
|
|
11217
|
-
in: (propertyName: 'singleResource.locationOptions.availableInAllLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInBusinessLocations' | 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | '_createdDate' | '_updatedDate' | 'name', value: any) => ResourcesQueryBuilder;
|
|
11217
|
+
in: (propertyName: 'singleResource.locationOptions.availableInAllLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInBusinessLocations' | 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | '_createdDate' | '_updatedDate' | 'name' | 'typeId' | 'locationOptions.availableInAllLocations' | 'eventsSchedule.scheduleId', value: any) => ResourcesQueryBuilder;
|
|
11218
11218
|
/** @documentationMaturity preview */
|
|
11219
|
-
exists: (propertyName: 'singleResource.locationOptions.availableInAllLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInBusinessLocations' | 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | '_createdDate' | '_updatedDate' | 'name', value: boolean) => ResourcesQueryBuilder;
|
|
11219
|
+
exists: (propertyName: 'singleResource.locationOptions.availableInAllLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInBusinessLocations' | 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | '_createdDate' | '_updatedDate' | 'name' | 'typeId' | 'locationOptions.availableInAllLocations' | 'eventsSchedule.scheduleId', value: boolean) => ResourcesQueryBuilder;
|
|
11220
11220
|
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
11221
11221
|
* @documentationMaturity preview
|
|
11222
11222
|
*/
|
|
11223
|
-
ascending: (...propertyNames: Array<'singleResource.locationOptions.availableInAllLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInCustomerLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInCustomLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInBusinessLocations' | 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | '_createdDate' | '_updatedDate' | '
|
|
11223
|
+
ascending: (...propertyNames: Array<'singleResource.locationOptions.availableInAllLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInCustomerLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInCustomLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInBusinessLocations' | 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | '_createdDate' | '_updatedDate' | 'type' | 'typeId' | 'locationOptions.availableInAllLocations' | 'eventsSchedule.scheduleId' | 'appId' | 'managementType'>) => ResourcesQueryBuilder;
|
|
11224
11224
|
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
11225
11225
|
* @documentationMaturity preview
|
|
11226
11226
|
*/
|
|
11227
|
-
descending: (...propertyNames: Array<'singleResource.locationOptions.availableInAllLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInCustomerLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInCustomLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInBusinessLocations' | 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | '_createdDate' | '_updatedDate' | '
|
|
11227
|
+
descending: (...propertyNames: Array<'singleResource.locationOptions.availableInAllLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInCustomerLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInCustomLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInBusinessLocations' | 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | '_createdDate' | '_updatedDate' | 'type' | 'typeId' | 'locationOptions.availableInAllLocations' | 'eventsSchedule.scheduleId' | 'appId' | 'managementType'>) => ResourcesQueryBuilder;
|
|
11228
11228
|
/** @param limit - Number of items to return, which is also the `pageSize` of the results object.
|
|
11229
11229
|
* @documentationMaturity preview
|
|
11230
11230
|
*/
|
|
@@ -11340,6 +11340,9 @@ interface CountResourcesSignature {
|
|
|
11340
11340
|
* Counts resources according to given criteria.
|
|
11341
11341
|
*
|
|
11342
11342
|
* Use [WQL filter](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section) to define the criteria.
|
|
11343
|
+
* @param - Filter to base the count on. See
|
|
11344
|
+
* [queryResources()](https://dev.wix.com/docs/sdk/backend-modules/bookings/resources/query-resources)
|
|
11345
|
+
* for supported filters.
|
|
11343
11346
|
*/
|
|
11344
11347
|
(options?: CountResourcesOptions | undefined): Promise<CountResourcesResponse & CountResourcesResponseNonNullableFields>;
|
|
11345
11348
|
}
|
|
@@ -11177,12 +11177,12 @@ interface ResourcesQueryBuilder {
|
|
|
11177
11177
|
* @param value - Value to compare against.
|
|
11178
11178
|
* @documentationMaturity preview
|
|
11179
11179
|
*/
|
|
11180
|
-
eq: (propertyName: 'singleResource.locationOptions.availableInAllLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInBusinessLocations' | 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | '_createdDate' | '_updatedDate' | 'name', value: any) => ResourcesQueryBuilder;
|
|
11180
|
+
eq: (propertyName: 'singleResource.locationOptions.availableInAllLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInBusinessLocations' | 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | '_createdDate' | '_updatedDate' | 'name' | 'typeId' | 'locationOptions.availableInAllLocations' | 'eventsSchedule.scheduleId', value: any) => ResourcesQueryBuilder;
|
|
11181
11181
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
11182
11182
|
* @param value - Value to compare against.
|
|
11183
11183
|
* @documentationMaturity preview
|
|
11184
11184
|
*/
|
|
11185
|
-
ne: (propertyName: 'singleResource.locationOptions.availableInAllLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInBusinessLocations' | 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | '_createdDate' | '_updatedDate' | 'name', value: any) => ResourcesQueryBuilder;
|
|
11185
|
+
ne: (propertyName: 'singleResource.locationOptions.availableInAllLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInBusinessLocations' | 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | '_createdDate' | '_updatedDate' | 'name' | 'typeId' | 'locationOptions.availableInAllLocations' | 'eventsSchedule.scheduleId', value: any) => ResourcesQueryBuilder;
|
|
11186
11186
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
11187
11187
|
* @param value - Value to compare against.
|
|
11188
11188
|
* @documentationMaturity preview
|
|
@@ -11207,24 +11207,24 @@ interface ResourcesQueryBuilder {
|
|
|
11207
11207
|
* @param string - String to compare against. Case-insensitive.
|
|
11208
11208
|
* @documentationMaturity preview
|
|
11209
11209
|
*/
|
|
11210
|
-
startsWith: (propertyName: 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | 'name', value: string) => ResourcesQueryBuilder;
|
|
11210
|
+
startsWith: (propertyName: 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | 'name' | 'typeId' | 'eventsSchedule.scheduleId', value: string) => ResourcesQueryBuilder;
|
|
11211
11211
|
/** @param propertyName - Property whose value is compared with `values`.
|
|
11212
11212
|
* @param values - List of values to compare against.
|
|
11213
11213
|
* @documentationMaturity preview
|
|
11214
11214
|
*/
|
|
11215
|
-
hasSome: (propertyName: 'singleResource.locationOptions.availableInAllLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInBusinessLocations' | 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | '_createdDate' | '_updatedDate' | 'name', value: any[]) => ResourcesQueryBuilder;
|
|
11215
|
+
hasSome: (propertyName: 'singleResource.locationOptions.availableInAllLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInBusinessLocations' | 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | '_createdDate' | '_updatedDate' | 'name' | 'typeId' | 'locationOptions.availableInAllLocations' | 'eventsSchedule.scheduleId', value: any[]) => ResourcesQueryBuilder;
|
|
11216
11216
|
/** @documentationMaturity preview */
|
|
11217
|
-
in: (propertyName: 'singleResource.locationOptions.availableInAllLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInBusinessLocations' | 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | '_createdDate' | '_updatedDate' | 'name', value: any) => ResourcesQueryBuilder;
|
|
11217
|
+
in: (propertyName: 'singleResource.locationOptions.availableInAllLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInBusinessLocations' | 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | '_createdDate' | '_updatedDate' | 'name' | 'typeId' | 'locationOptions.availableInAllLocations' | 'eventsSchedule.scheduleId', value: any) => ResourcesQueryBuilder;
|
|
11218
11218
|
/** @documentationMaturity preview */
|
|
11219
|
-
exists: (propertyName: 'singleResource.locationOptions.availableInAllLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInBusinessLocations' | 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | '_createdDate' | '_updatedDate' | 'name', value: boolean) => ResourcesQueryBuilder;
|
|
11219
|
+
exists: (propertyName: 'singleResource.locationOptions.availableInAllLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInBusinessLocations' | 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | '_createdDate' | '_updatedDate' | 'name' | 'typeId' | 'locationOptions.availableInAllLocations' | 'eventsSchedule.scheduleId', value: boolean) => ResourcesQueryBuilder;
|
|
11220
11220
|
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
11221
11221
|
* @documentationMaturity preview
|
|
11222
11222
|
*/
|
|
11223
|
-
ascending: (...propertyNames: Array<'singleResource.locationOptions.availableInAllLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInCustomerLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInCustomLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInBusinessLocations' | 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | '_createdDate' | '_updatedDate' | '
|
|
11223
|
+
ascending: (...propertyNames: Array<'singleResource.locationOptions.availableInAllLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInCustomerLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInCustomLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInBusinessLocations' | 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | '_createdDate' | '_updatedDate' | 'type' | 'typeId' | 'locationOptions.availableInAllLocations' | 'eventsSchedule.scheduleId' | 'appId' | 'managementType'>) => ResourcesQueryBuilder;
|
|
11224
11224
|
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
11225
11225
|
* @documentationMaturity preview
|
|
11226
11226
|
*/
|
|
11227
|
-
descending: (...propertyNames: Array<'singleResource.locationOptions.availableInAllLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInCustomerLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInCustomLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInBusinessLocations' | 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | '_createdDate' | '_updatedDate' | '
|
|
11227
|
+
descending: (...propertyNames: Array<'singleResource.locationOptions.availableInAllLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInCustomerLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInCustomLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInBusinessLocations' | 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | '_createdDate' | '_updatedDate' | 'type' | 'typeId' | 'locationOptions.availableInAllLocations' | 'eventsSchedule.scheduleId' | 'appId' | 'managementType'>) => ResourcesQueryBuilder;
|
|
11228
11228
|
/** @param limit - Number of items to return, which is also the `pageSize` of the results object.
|
|
11229
11229
|
* @documentationMaturity preview
|
|
11230
11230
|
*/
|
|
@@ -11340,6 +11340,9 @@ interface CountResourcesSignature {
|
|
|
11340
11340
|
* Counts resources according to given criteria.
|
|
11341
11341
|
*
|
|
11342
11342
|
* Use [WQL filter](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section) to define the criteria.
|
|
11343
|
+
* @param - Filter to base the count on. See
|
|
11344
|
+
* [queryResources()](https://dev.wix.com/docs/sdk/backend-modules/bookings/resources/query-resources)
|
|
11345
|
+
* for supported filters.
|
|
11343
11346
|
*/
|
|
11344
11347
|
(options?: CountResourcesOptions | undefined): Promise<CountResourcesResponse & CountResourcesResponseNonNullableFields>;
|
|
11345
11348
|
}
|