@wix/auto_sdk_bookings_services 1.0.4 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/src/bookings-services-v2-service-services.context.d.ts +2 -2
- package/build/cjs/src/bookings-services-v2-service-services.context.js +3 -3
- package/build/cjs/src/bookings-services-v2-service-services.context.js.map +1 -1
- package/build/cjs/src/bookings-services-v2-service-services.http.d.ts +22 -22
- package/build/cjs/src/bookings-services-v2-service-services.http.js +22 -22
- package/build/cjs/src/bookings-services-v2-service-services.public.d.ts +24 -24
- package/build/cjs/src/bookings-services-v2-service-services.public.js.map +1 -1
- package/build/cjs/src/bookings-services-v2-service-services.types.d.ts +856 -284
- package/build/cjs/src/bookings-services-v2-service-services.types.js +11 -11
- package/build/cjs/src/bookings-services-v2-service-services.types.js.map +1 -1
- package/build/cjs/src/bookings-services-v2-service-services.universal.d.ts +912 -313
- package/build/cjs/src/bookings-services-v2-service-services.universal.js +34 -34
- package/build/cjs/src/bookings-services-v2-service-services.universal.js.map +1 -1
- package/build/es/src/bookings-services-v2-service-services.context.d.ts +2 -2
- package/build/es/src/bookings-services-v2-service-services.context.js +1 -1
- package/build/es/src/bookings-services-v2-service-services.context.js.map +1 -1
- package/build/es/src/bookings-services-v2-service-services.http.d.ts +22 -22
- package/build/es/src/bookings-services-v2-service-services.http.js +22 -22
- package/build/es/src/bookings-services-v2-service-services.public.d.ts +24 -24
- package/build/es/src/bookings-services-v2-service-services.public.js.map +1 -1
- package/build/es/src/bookings-services-v2-service-services.types.d.ts +856 -284
- package/build/es/src/bookings-services-v2-service-services.types.js +10 -10
- package/build/es/src/bookings-services-v2-service-services.types.js.map +1 -1
- package/build/es/src/bookings-services-v2-service-services.universal.d.ts +912 -313
- package/build/es/src/bookings-services-v2-service-services.universal.js +33 -33
- package/build/es/src/bookings-services-v2-service-services.universal.js.map +1 -1
- package/build/internal/cjs/src/bookings-services-v2-service-services.context.d.ts +2 -2
- package/build/internal/cjs/src/bookings-services-v2-service-services.context.js +3 -3
- package/build/internal/cjs/src/bookings-services-v2-service-services.context.js.map +1 -1
- package/build/internal/cjs/src/bookings-services-v2-service-services.http.d.ts +22 -22
- package/build/internal/cjs/src/bookings-services-v2-service-services.http.js +22 -22
- package/build/internal/cjs/src/bookings-services-v2-service-services.public.d.ts +24 -24
- package/build/internal/cjs/src/bookings-services-v2-service-services.public.js.map +1 -1
- package/build/internal/cjs/src/bookings-services-v2-service-services.types.d.ts +857 -283
- package/build/internal/cjs/src/bookings-services-v2-service-services.types.js +11 -11
- package/build/internal/cjs/src/bookings-services-v2-service-services.types.js.map +1 -1
- package/build/internal/cjs/src/bookings-services-v2-service-services.universal.d.ts +913 -312
- package/build/internal/cjs/src/bookings-services-v2-service-services.universal.js +34 -34
- package/build/internal/cjs/src/bookings-services-v2-service-services.universal.js.map +1 -1
- package/build/internal/es/src/bookings-services-v2-service-services.context.d.ts +2 -2
- package/build/internal/es/src/bookings-services-v2-service-services.context.js +1 -1
- package/build/internal/es/src/bookings-services-v2-service-services.context.js.map +1 -1
- package/build/internal/es/src/bookings-services-v2-service-services.http.d.ts +22 -22
- package/build/internal/es/src/bookings-services-v2-service-services.http.js +22 -22
- package/build/internal/es/src/bookings-services-v2-service-services.public.d.ts +24 -24
- package/build/internal/es/src/bookings-services-v2-service-services.public.js.map +1 -1
- package/build/internal/es/src/bookings-services-v2-service-services.types.d.ts +857 -283
- package/build/internal/es/src/bookings-services-v2-service-services.types.js +10 -10
- package/build/internal/es/src/bookings-services-v2-service-services.types.js.map +1 -1
- package/build/internal/es/src/bookings-services-v2-service-services.universal.d.ts +913 -312
- package/build/internal/es/src/bookings-services-v2-service-services.universal.js +33 -33
- package/build/internal/es/src/bookings-services-v2-service-services.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -38,7 +38,7 @@ import { RequestOptionsFactory } from '@wix/sdk-types';
|
|
|
38
38
|
* - Specify all supported session durations in `schedule.availabilityConstraints.sessionDurations`.
|
|
39
39
|
* - Note that Wix Bookings doesn't display these values to customers and
|
|
40
40
|
* ignores them in pricing and availability calculations. Instead session
|
|
41
|
-
* durations are retrieved from the relevant service variants
|
|
41
|
+
* durations are retrieved from the relevant service *variants*
|
|
42
42
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-options-and-variants/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction)).
|
|
43
43
|
* - It is mandatory to specify `schedule.availabilityConstraints.sessionDurations`,
|
|
44
44
|
* even though these values are ignored.
|
|
@@ -60,7 +60,7 @@ export declare function getService(payload: object): RequestOptionsFactory<any>;
|
|
|
60
60
|
* Specify `schedule.availabilityConstraints.sessionDurations`
|
|
61
61
|
* only if you want to update it for appointment-based services without varied
|
|
62
62
|
* pricing based on session length. Don't specify `schedule.availabilityConstraints.sessionDurations`
|
|
63
|
-
* for all other appointment-based services, classes, or courses. See Create Service
|
|
63
|
+
* for all other appointment-based services, classes, or courses. See *Create Service*
|
|
64
64
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/create-service#session-durations) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/create-service#session-durations))
|
|
65
65
|
* for more details.
|
|
66
66
|
*/
|
|
@@ -69,7 +69,7 @@ export declare function updateService(payload: object): RequestOptionsFactory<an
|
|
|
69
69
|
* Updates up to 100 services.
|
|
70
70
|
*
|
|
71
71
|
*
|
|
72
|
-
* See Update Service
|
|
72
|
+
* See *Update Service*
|
|
73
73
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/update-service) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/update-service))
|
|
74
74
|
* for more details.
|
|
75
75
|
*
|
|
@@ -85,7 +85,7 @@ export declare function bulkUpdateServices(payload: object): RequestOptionsFacto
|
|
|
85
85
|
* ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/filtering-and-sorting#filtering))
|
|
86
86
|
* for more details.
|
|
87
87
|
*
|
|
88
|
-
* See Update Service
|
|
88
|
+
* See *Update Service*
|
|
89
89
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/update-service) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/update-service))
|
|
90
90
|
* for more details about updating a service.
|
|
91
91
|
*
|
|
@@ -105,7 +105,7 @@ export declare function deleteService(payload: object): RequestOptionsFactory<an
|
|
|
105
105
|
* Deletes multiple services.
|
|
106
106
|
*
|
|
107
107
|
*
|
|
108
|
-
* See Delete Service
|
|
108
|
+
* See *Delete Service*
|
|
109
109
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/delete-service) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/delete-service))
|
|
110
110
|
* for more details about deleting a service.
|
|
111
111
|
*
|
|
@@ -117,7 +117,7 @@ export declare function bulkDeleteServices(payload: object): RequestOptionsFacto
|
|
|
117
117
|
* Deletes multiple services by filter.
|
|
118
118
|
*
|
|
119
119
|
*
|
|
120
|
-
* See Delete Service
|
|
120
|
+
* See *Delete Service*
|
|
121
121
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/delete-service) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/delete-service))
|
|
122
122
|
* for more details about deleting a service.
|
|
123
123
|
*
|
|
@@ -168,14 +168,14 @@ export declare function queryServices(payload: object): RequestOptionsFactory<an
|
|
|
168
168
|
* ## See also
|
|
169
169
|
*
|
|
170
170
|
* To learn about working with *Search* methods, see
|
|
171
|
-
*
|
|
171
|
+
* _API Query Language_
|
|
172
172
|
* ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language) | [REST](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language))
|
|
173
|
-
* and Sorting and Paging
|
|
173
|
+
* and *Sorting and Paging*
|
|
174
174
|
* ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language#the-sort-array) | [REST](https://dev.wix.com/docs/rest/articles/getting-started/sorting-and-paging)).
|
|
175
175
|
*/
|
|
176
176
|
export declare function searchServices(payload: object): RequestOptionsFactory<any>;
|
|
177
177
|
/**
|
|
178
|
-
* Retrieves a list of up to 100 booking policies
|
|
178
|
+
* Retrieves a list of up to 100 *booking policies*
|
|
179
179
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/booking-policies/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/introduction)),
|
|
180
180
|
* and information about the services that are connected to them,
|
|
181
181
|
* given the provided filtering, paging, and sorting.
|
|
@@ -199,7 +199,7 @@ export declare function searchServices(payload: object): RequestOptionsFactory<a
|
|
|
199
199
|
*
|
|
200
200
|
* If a booking policy is connected to more than 5 services, only a subset of
|
|
201
201
|
* those services is returned. The `bookingPolicies.totalServiceCount` values
|
|
202
|
-
* indicate the total number of services linked to each policy. You can call Search Services
|
|
202
|
+
* indicate the total number of services linked to each policy. You can call *Search Services*
|
|
203
203
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/search-services) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/search-services))
|
|
204
204
|
* and specify the relevant policy ID in the filter to retrieve all services
|
|
205
205
|
* connected to the booking policy.
|
|
@@ -212,7 +212,7 @@ export declare function searchServices(payload: object): RequestOptionsFactory<a
|
|
|
212
212
|
*/
|
|
213
213
|
export declare function queryPolicies(payload: object): RequestOptionsFactory<any>;
|
|
214
214
|
/**
|
|
215
|
-
* Retrieves a list of up to 100 booking forms
|
|
215
|
+
* Retrieves a list of up to 100 *booking forms*
|
|
216
216
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/forms/forms/introduction) | [REST](https://dev.wix.com/docs/rest/crm/forms/forms/introduction)),
|
|
217
217
|
* and information about the services that are connected to them,
|
|
218
218
|
* given the provided filtering, paging, and sorting.
|
|
@@ -237,7 +237,7 @@ export declare function queryPolicies(payload: object): RequestOptionsFactory<an
|
|
|
237
237
|
*
|
|
238
238
|
* If a booking policy is connected to more than 5 services, only a subset of
|
|
239
239
|
* these service IDs and names is returned. The `bookingForms.totalServiceCount`
|
|
240
|
-
* values indicate the total number of services linked to each form. You can call Query Services
|
|
240
|
+
* values indicate the total number of services linked to each form. You can call *Query Services*
|
|
241
241
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/query-services) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/query-services))
|
|
242
242
|
* and specify the relevant form ID in the filter to retrieve all services
|
|
243
243
|
* connected to the booking form.
|
|
@@ -268,7 +268,7 @@ export declare function queryBookingForms(payload: object): RequestOptionsFactor
|
|
|
268
268
|
*/
|
|
269
269
|
export declare function countServices(payload: object): RequestOptionsFactory<any>;
|
|
270
270
|
/**
|
|
271
|
-
* Retrieves 3 separate lists of business, custom, and customer locations
|
|
271
|
+
* Retrieves 3 separate lists of business, custom, and customer *locations*
|
|
272
272
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction)),
|
|
273
273
|
* given the provided filtering, and whether each location is connected to at
|
|
274
274
|
* least one of the site's services.
|
|
@@ -295,7 +295,7 @@ export declare function countServices(payload: object): RequestOptionsFactory<an
|
|
|
295
295
|
*/
|
|
296
296
|
export declare function queryLocations(payload: object): RequestOptionsFactory<any>;
|
|
297
297
|
/**
|
|
298
|
-
* Retrieves a list of service categories
|
|
298
|
+
* Retrieves a list of service *categories*
|
|
299
299
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/categories/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/categories-v2/introduction)),
|
|
300
300
|
* given the provided filtering.
|
|
301
301
|
*
|
|
@@ -321,7 +321,7 @@ export declare function queryLocations(payload: object): RequestOptionsFactory<a
|
|
|
321
321
|
*/
|
|
322
322
|
export declare function queryCategories(payload: object): RequestOptionsFactory<any>;
|
|
323
323
|
/**
|
|
324
|
-
* Replaces the list of the locations
|
|
324
|
+
* Replaces the list of the *locations*
|
|
325
325
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction))
|
|
326
326
|
* where the business offers the service.
|
|
327
327
|
*
|
|
@@ -357,7 +357,7 @@ export declare function queryCategories(payload: object): RequestOptionsFactory<
|
|
|
357
357
|
* Depending on whether the new or updated location is a business or custom location,
|
|
358
358
|
* you need to specify different fields.
|
|
359
359
|
*
|
|
360
|
-
* - **Business location**: Specify the relevant location ID
|
|
360
|
+
* - **Business location**: Specify the relevant *location ID*
|
|
361
361
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction))
|
|
362
362
|
* in `locations.business.id`.
|
|
363
363
|
* - **Custom location**: Specify the complete address object as
|
|
@@ -372,20 +372,20 @@ export declare function queryCategories(payload: object): RequestOptionsFactory<
|
|
|
372
372
|
*/
|
|
373
373
|
export declare function setServiceLocations(payload: object): RequestOptionsFactory<any>;
|
|
374
374
|
/**
|
|
375
|
-
* Adds a list of pricing
|
|
375
|
+
* Adds a list of *pricing plan IDs*
|
|
376
376
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/pricing-plans/plans/introduction) | [REST](https://dev.wix.com/api/rest/wix-pricing-plans/pricing-plans/plans/plan-object))
|
|
377
377
|
* to a service's `payment.pricingPlanIds` array.
|
|
378
378
|
*
|
|
379
379
|
*
|
|
380
380
|
* The call doesn't validate whether the service's `payment.options.pricingPlan`
|
|
381
381
|
* is set to `true`. If it's set to `false`, customers aren't able to pay
|
|
382
|
-
* for their bookings using pricing plans. You can call Update Service
|
|
382
|
+
* for their bookings using pricing plans. You can call *Update Service*
|
|
383
383
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/update-service) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/update-service))
|
|
384
384
|
* to change a service's supported payment methods.
|
|
385
385
|
*/
|
|
386
386
|
export declare function enablePricingPlansForService(payload: object): RequestOptionsFactory<any>;
|
|
387
387
|
/**
|
|
388
|
-
* Removes a list of pricing
|
|
388
|
+
* Removes a list of *pricing plan IDs*
|
|
389
389
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/pricing-plans/plans/introduction) | [REST](https://dev.wix.com/api/rest/wix-pricing-plans/pricing-plans/plans/plan-object))
|
|
390
390
|
* from a service's `payment.pricingPlanIds` array.
|
|
391
391
|
*
|
|
@@ -451,7 +451,7 @@ export declare function validateSlug(payload: object): RequestOptionsFactory<any
|
|
|
451
451
|
*
|
|
452
452
|
* ### Service options and variants
|
|
453
453
|
*
|
|
454
|
-
* If the original service has variants
|
|
454
|
+
* If the original service has *variants*
|
|
455
455
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-options-and-variants/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction)),
|
|
456
456
|
* they're cloned asynchronously. The *Clone Service* call always succeeds,
|
|
457
457
|
* regardless of whether variants were cloned.
|
|
@@ -459,7 +459,7 @@ export declare function validateSlug(payload: object): RequestOptionsFactory<any
|
|
|
459
459
|
* If the response includes `OPTIONS_AND_VARIANTS` in the `errors` array, the cloned
|
|
460
460
|
* service doesn't have variants, even though the original service does. You can
|
|
461
461
|
* delete the cloned service and call *Clone Service* again, or use the
|
|
462
|
-
*
|
|
462
|
+
* _Service Options And Variants API_
|
|
463
463
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-options-and-variants/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction))
|
|
464
464
|
* to add variants.
|
|
465
465
|
*
|
|
@@ -470,7 +470,7 @@ export declare function validateSlug(payload: object): RequestOptionsFactory<any
|
|
|
470
470
|
*
|
|
471
471
|
* ### Pricing plans
|
|
472
472
|
*
|
|
473
|
-
* If the original service's accepts payments via pricing plans
|
|
473
|
+
* If the original service's accepts payments via *pricing plans*
|
|
474
474
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/pricing-plans/plans/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/pricing-plans/pricing-plans/plans/introduction)),
|
|
475
475
|
* the cloned service's `payment.options.pricingPlan` is also set to `true`. To
|
|
476
476
|
* accept specific pricing plans, call *Enable Pricing Plans For Service*
|
|
@@ -157,7 +157,7 @@ const PACKAGE_NAME = '@wix/auto_sdk_bookings_services';
|
|
|
157
157
|
* - Specify all supported session durations in `schedule.availabilityConstraints.sessionDurations`.
|
|
158
158
|
* - Note that Wix Bookings doesn't display these values to customers and
|
|
159
159
|
* ignores them in pricing and availability calculations. Instead session
|
|
160
|
-
* durations are retrieved from the relevant service variants
|
|
160
|
+
* durations are retrieved from the relevant service *variants*
|
|
161
161
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-options-and-variants/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction)).
|
|
162
162
|
* - It is mandatory to specify `schedule.availabilityConstraints.sessionDurations`,
|
|
163
163
|
* even though these values are ignored.
|
|
@@ -316,7 +316,7 @@ export function getService(payload) {
|
|
|
316
316
|
* Specify `schedule.availabilityConstraints.sessionDurations`
|
|
317
317
|
* only if you want to update it for appointment-based services without varied
|
|
318
318
|
* pricing based on session length. Don't specify `schedule.availabilityConstraints.sessionDurations`
|
|
319
|
-
* for all other appointment-based services, classes, or courses. See Create Service
|
|
319
|
+
* for all other appointment-based services, classes, or courses. See *Create Service*
|
|
320
320
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/create-service#session-durations) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/create-service#session-durations))
|
|
321
321
|
* for more details.
|
|
322
322
|
*/
|
|
@@ -414,7 +414,7 @@ export function updateService(payload) {
|
|
|
414
414
|
* Updates up to 100 services.
|
|
415
415
|
*
|
|
416
416
|
*
|
|
417
|
-
* See Update Service
|
|
417
|
+
* See *Update Service*
|
|
418
418
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/update-service) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/update-service))
|
|
419
419
|
* for more details.
|
|
420
420
|
*
|
|
@@ -545,7 +545,7 @@ export function bulkUpdateServices(payload) {
|
|
|
545
545
|
* ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/filtering-and-sorting#filtering))
|
|
546
546
|
* for more details.
|
|
547
547
|
*
|
|
548
|
-
* See Update Service
|
|
548
|
+
* See *Update Service*
|
|
549
549
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/update-service) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/update-service))
|
|
550
550
|
* for more details about updating a service.
|
|
551
551
|
*
|
|
@@ -636,7 +636,7 @@ export function deleteService(payload) {
|
|
|
636
636
|
* Deletes multiple services.
|
|
637
637
|
*
|
|
638
638
|
*
|
|
639
|
-
* See Delete Service
|
|
639
|
+
* See *Delete Service*
|
|
640
640
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/delete-service) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/delete-service))
|
|
641
641
|
* for more details about deleting a service.
|
|
642
642
|
*
|
|
@@ -712,7 +712,7 @@ export function bulkDeleteServices(payload) {
|
|
|
712
712
|
* Deletes multiple services by filter.
|
|
713
713
|
*
|
|
714
714
|
*
|
|
715
|
-
* See Delete Service
|
|
715
|
+
* See *Delete Service*
|
|
716
716
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/delete-service) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/delete-service))
|
|
717
717
|
* for more details about deleting a service.
|
|
718
718
|
*
|
|
@@ -834,9 +834,9 @@ export function queryServices(payload) {
|
|
|
834
834
|
* ## See also
|
|
835
835
|
*
|
|
836
836
|
* To learn about working with *Search* methods, see
|
|
837
|
-
*
|
|
837
|
+
* _API Query Language_
|
|
838
838
|
* ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language) | [REST](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language))
|
|
839
|
-
* and Sorting and Paging
|
|
839
|
+
* and *Sorting and Paging*
|
|
840
840
|
* ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language#the-sort-array) | [REST](https://dev.wix.com/docs/rest/articles/getting-started/sorting-and-paging)).
|
|
841
841
|
*/
|
|
842
842
|
export function searchServices(payload) {
|
|
@@ -931,7 +931,7 @@ export function searchServices(payload) {
|
|
|
931
931
|
return __searchServices;
|
|
932
932
|
}
|
|
933
933
|
/**
|
|
934
|
-
* Retrieves a list of up to 100 booking policies
|
|
934
|
+
* Retrieves a list of up to 100 *booking policies*
|
|
935
935
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/booking-policies/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/introduction)),
|
|
936
936
|
* and information about the services that are connected to them,
|
|
937
937
|
* given the provided filtering, paging, and sorting.
|
|
@@ -955,7 +955,7 @@ export function searchServices(payload) {
|
|
|
955
955
|
*
|
|
956
956
|
* If a booking policy is connected to more than 5 services, only a subset of
|
|
957
957
|
* those services is returned. The `bookingPolicies.totalServiceCount` values
|
|
958
|
-
* indicate the total number of services linked to each policy. You can call Search Services
|
|
958
|
+
* indicate the total number of services linked to each policy. You can call *Search Services*
|
|
959
959
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/search-services) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/search-services))
|
|
960
960
|
* and specify the relevant policy ID in the filter to retrieve all services
|
|
961
961
|
* connected to the booking policy.
|
|
@@ -1093,7 +1093,7 @@ export function queryPolicies(payload) {
|
|
|
1093
1093
|
return __queryPolicies;
|
|
1094
1094
|
}
|
|
1095
1095
|
/**
|
|
1096
|
-
* Retrieves a list of up to 100 booking forms
|
|
1096
|
+
* Retrieves a list of up to 100 *booking forms*
|
|
1097
1097
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/forms/forms/introduction) | [REST](https://dev.wix.com/docs/rest/crm/forms/forms/introduction)),
|
|
1098
1098
|
* and information about the services that are connected to them,
|
|
1099
1099
|
* given the provided filtering, paging, and sorting.
|
|
@@ -1118,7 +1118,7 @@ export function queryPolicies(payload) {
|
|
|
1118
1118
|
*
|
|
1119
1119
|
* If a booking policy is connected to more than 5 services, only a subset of
|
|
1120
1120
|
* these service IDs and names is returned. The `bookingForms.totalServiceCount`
|
|
1121
|
-
* values indicate the total number of services linked to each form. You can call Query Services
|
|
1121
|
+
* values indicate the total number of services linked to each form. You can call *Query Services*
|
|
1122
1122
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/query-services) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/query-services))
|
|
1123
1123
|
* and specify the relevant form ID in the filter to retrieve all services
|
|
1124
1124
|
* connected to the booking form.
|
|
@@ -1183,7 +1183,7 @@ export function countServices(payload) {
|
|
|
1183
1183
|
return __countServices;
|
|
1184
1184
|
}
|
|
1185
1185
|
/**
|
|
1186
|
-
* Retrieves 3 separate lists of business, custom, and customer locations
|
|
1186
|
+
* Retrieves 3 separate lists of business, custom, and customer *locations*
|
|
1187
1187
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction)),
|
|
1188
1188
|
* given the provided filtering, and whether each location is connected to at
|
|
1189
1189
|
* least one of the site's services.
|
|
@@ -1252,7 +1252,7 @@ export function queryLocations(payload) {
|
|
|
1252
1252
|
return __queryLocations;
|
|
1253
1253
|
}
|
|
1254
1254
|
/**
|
|
1255
|
-
* Retrieves a list of service categories
|
|
1255
|
+
* Retrieves a list of service *categories*
|
|
1256
1256
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/categories/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/categories-v2/introduction)),
|
|
1257
1257
|
* given the provided filtering.
|
|
1258
1258
|
*
|
|
@@ -1295,7 +1295,7 @@ export function queryCategories(payload) {
|
|
|
1295
1295
|
return __queryCategories;
|
|
1296
1296
|
}
|
|
1297
1297
|
/**
|
|
1298
|
-
* Replaces the list of the locations
|
|
1298
|
+
* Replaces the list of the *locations*
|
|
1299
1299
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction))
|
|
1300
1300
|
* where the business offers the service.
|
|
1301
1301
|
*
|
|
@@ -1331,7 +1331,7 @@ export function queryCategories(payload) {
|
|
|
1331
1331
|
* Depending on whether the new or updated location is a business or custom location,
|
|
1332
1332
|
* you need to specify different fields.
|
|
1333
1333
|
*
|
|
1334
|
-
* - **Business location**: Specify the relevant location ID
|
|
1334
|
+
* - **Business location**: Specify the relevant *location ID*
|
|
1335
1335
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction))
|
|
1336
1336
|
* in `locations.business.id`.
|
|
1337
1337
|
* - **Custom location**: Specify the complete address object as
|
|
@@ -1429,14 +1429,14 @@ export function setServiceLocations(payload) {
|
|
|
1429
1429
|
return __setServiceLocations;
|
|
1430
1430
|
}
|
|
1431
1431
|
/**
|
|
1432
|
-
* Adds a list of pricing
|
|
1432
|
+
* Adds a list of *pricing plan IDs*
|
|
1433
1433
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/pricing-plans/plans/introduction) | [REST](https://dev.wix.com/api/rest/wix-pricing-plans/pricing-plans/plans/plan-object))
|
|
1434
1434
|
* to a service's `payment.pricingPlanIds` array.
|
|
1435
1435
|
*
|
|
1436
1436
|
*
|
|
1437
1437
|
* The call doesn't validate whether the service's `payment.options.pricingPlan`
|
|
1438
1438
|
* is set to `true`. If it's set to `false`, customers aren't able to pay
|
|
1439
|
-
* for their bookings using pricing plans. You can call Update Service
|
|
1439
|
+
* for their bookings using pricing plans. You can call *Update Service*
|
|
1440
1440
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/update-service) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/update-service))
|
|
1441
1441
|
* to change a service's supported payment methods.
|
|
1442
1442
|
*/
|
|
@@ -1494,7 +1494,7 @@ export function enablePricingPlansForService(payload) {
|
|
|
1494
1494
|
return __enablePricingPlansForService;
|
|
1495
1495
|
}
|
|
1496
1496
|
/**
|
|
1497
|
-
* Removes a list of pricing
|
|
1497
|
+
* Removes a list of *pricing plan IDs*
|
|
1498
1498
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/pricing-plans/plans/introduction) | [REST](https://dev.wix.com/api/rest/wix-pricing-plans/pricing-plans/plans/plan-object))
|
|
1499
1499
|
* from a service's `payment.pricingPlanIds` array.
|
|
1500
1500
|
*
|
|
@@ -1682,7 +1682,7 @@ export function validateSlug(payload) {
|
|
|
1682
1682
|
*
|
|
1683
1683
|
* ### Service options and variants
|
|
1684
1684
|
*
|
|
1685
|
-
* If the original service has variants
|
|
1685
|
+
* If the original service has *variants*
|
|
1686
1686
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-options-and-variants/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction)),
|
|
1687
1687
|
* they're cloned asynchronously. The *Clone Service* call always succeeds,
|
|
1688
1688
|
* regardless of whether variants were cloned.
|
|
@@ -1690,7 +1690,7 @@ export function validateSlug(payload) {
|
|
|
1690
1690
|
* If the response includes `OPTIONS_AND_VARIANTS` in the `errors` array, the cloned
|
|
1691
1691
|
* service doesn't have variants, even though the original service does. You can
|
|
1692
1692
|
* delete the cloned service and call *Clone Service* again, or use the
|
|
1693
|
-
*
|
|
1693
|
+
* _Service Options And Variants API_
|
|
1694
1694
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-options-and-variants/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction))
|
|
1695
1695
|
* to add variants.
|
|
1696
1696
|
*
|
|
@@ -1701,7 +1701,7 @@ export function validateSlug(payload) {
|
|
|
1701
1701
|
*
|
|
1702
1702
|
* ### Pricing plans
|
|
1703
1703
|
*
|
|
1704
|
-
* If the original service's accepts payments via pricing plans
|
|
1704
|
+
* If the original service's accepts payments via *pricing plans*
|
|
1705
1705
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/pricing-plans/plans/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/pricing-plans/pricing-plans/plans/introduction)),
|
|
1706
1706
|
* the cloned service's `payment.options.pricingPlan` is also set to `true`. To
|
|
1707
1707
|
* accept specific pricing plans, call *Enable Pricing Plans For Service*
|
|
@@ -44,7 +44,7 @@ interface CreateServiceSignature {
|
|
|
44
44
|
* - Specify all supported session durations in `schedule.availabilityConstraints.sessionDurations`.
|
|
45
45
|
* - Note that Wix Bookings doesn't display these values to customers and
|
|
46
46
|
* ignores them in pricing and availability calculations. Instead session
|
|
47
|
-
* durations are retrieved from the relevant service variants
|
|
47
|
+
* durations are retrieved from the relevant service *variants*
|
|
48
48
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-options-and-variants/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction)).
|
|
49
49
|
* - It is mandatory to specify `schedule.availabilityConstraints.sessionDurations`,
|
|
50
50
|
* even though these values are ignored.
|
|
@@ -78,7 +78,7 @@ interface UpdateServiceSignature {
|
|
|
78
78
|
* Specify `schedule.availabilityConstraints.sessionDurations`
|
|
79
79
|
* only if you want to update it for appointment-based services without varied
|
|
80
80
|
* pricing based on session length. Don't specify `schedule.availabilityConstraints.sessionDurations`
|
|
81
|
-
* for all other appointment-based services, classes, or courses. See Create Service
|
|
81
|
+
* for all other appointment-based services, classes, or courses. See *Create Service*
|
|
82
82
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/create-service#session-durations) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/create-service#session-durations))
|
|
83
83
|
* for more details.
|
|
84
84
|
* @param - Service ID.
|
|
@@ -92,7 +92,7 @@ interface BulkUpdateServicesSignature {
|
|
|
92
92
|
* Updates up to 100 services.
|
|
93
93
|
*
|
|
94
94
|
*
|
|
95
|
-
* See Update Service
|
|
95
|
+
* See *Update Service*
|
|
96
96
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/update-service) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/update-service))
|
|
97
97
|
* for more details.
|
|
98
98
|
*
|
|
@@ -111,7 +111,7 @@ interface BulkUpdateServicesByFilterSignature {
|
|
|
111
111
|
* ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/filtering-and-sorting#filtering))
|
|
112
112
|
* for more details.
|
|
113
113
|
*
|
|
114
|
-
* See Update Service
|
|
114
|
+
* See *Update Service*
|
|
115
115
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/update-service) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/update-service))
|
|
116
116
|
* for more details about updating a service.
|
|
117
117
|
*
|
|
@@ -140,7 +140,7 @@ interface BulkDeleteServicesSignature {
|
|
|
140
140
|
* Deletes multiple services.
|
|
141
141
|
*
|
|
142
142
|
*
|
|
143
|
-
* See Delete Service
|
|
143
|
+
* See *Delete Service*
|
|
144
144
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/delete-service) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/delete-service))
|
|
145
145
|
* for more details about deleting a service.
|
|
146
146
|
*
|
|
@@ -156,7 +156,7 @@ interface BulkDeleteServicesByFilterSignature {
|
|
|
156
156
|
* Deletes multiple services by filter.
|
|
157
157
|
*
|
|
158
158
|
*
|
|
159
|
-
* See Delete Service
|
|
159
|
+
* See *Delete Service*
|
|
160
160
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/delete-service) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/delete-service))
|
|
161
161
|
* for more details about deleting a service.
|
|
162
162
|
*
|
|
@@ -214,9 +214,9 @@ interface SearchServicesSignature {
|
|
|
214
214
|
* ## See also
|
|
215
215
|
*
|
|
216
216
|
* To learn about working with *Search* methods, see
|
|
217
|
-
*
|
|
217
|
+
* _API Query Language_
|
|
218
218
|
* ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language) | [REST](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language))
|
|
219
|
-
* and Sorting and Paging
|
|
219
|
+
* and *Sorting and Paging*
|
|
220
220
|
* ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language#the-sort-array) | [REST](https://dev.wix.com/docs/rest/articles/getting-started/sorting-and-paging)).
|
|
221
221
|
* @param - WQL, search or aggregation expression.
|
|
222
222
|
*/
|
|
@@ -225,7 +225,7 @@ interface SearchServicesSignature {
|
|
|
225
225
|
export declare function queryPolicies(httpClient: HttpClient): QueryPoliciesSignature;
|
|
226
226
|
interface QueryPoliciesSignature {
|
|
227
227
|
/**
|
|
228
|
-
* Retrieves a list of up to 100 booking policies
|
|
228
|
+
* Retrieves a list of up to 100 *booking policies*
|
|
229
229
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/booking-policies/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/introduction)),
|
|
230
230
|
* and information about the services that are connected to them,
|
|
231
231
|
* given the provided filtering, paging, and sorting.
|
|
@@ -249,7 +249,7 @@ interface QueryPoliciesSignature {
|
|
|
249
249
|
*
|
|
250
250
|
* If a booking policy is connected to more than 5 services, only a subset of
|
|
251
251
|
* those services is returned. The `bookingPolicies.totalServiceCount` values
|
|
252
|
-
* indicate the total number of services linked to each policy. You can call Search Services
|
|
252
|
+
* indicate the total number of services linked to each policy. You can call *Search Services*
|
|
253
253
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/search-services) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/search-services))
|
|
254
254
|
* and specify the relevant policy ID in the filter to retrieve all services
|
|
255
255
|
* connected to the booking policy.
|
|
@@ -269,7 +269,7 @@ interface QueryPoliciesSignature {
|
|
|
269
269
|
export declare function queryBookingForms(httpClient: HttpClient): QueryBookingFormsSignature;
|
|
270
270
|
interface QueryBookingFormsSignature {
|
|
271
271
|
/**
|
|
272
|
-
* Retrieves a list of up to 100 booking forms
|
|
272
|
+
* Retrieves a list of up to 100 *booking forms*
|
|
273
273
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/forms/forms/introduction) | [REST](https://dev.wix.com/docs/rest/crm/forms/forms/introduction)),
|
|
274
274
|
* and information about the services that are connected to them,
|
|
275
275
|
* given the provided filtering, paging, and sorting.
|
|
@@ -294,7 +294,7 @@ interface QueryBookingFormsSignature {
|
|
|
294
294
|
*
|
|
295
295
|
* If a booking policy is connected to more than 5 services, only a subset of
|
|
296
296
|
* these service IDs and names is returned. The `bookingForms.totalServiceCount`
|
|
297
|
-
* values indicate the total number of services linked to each form. You can call Query Services
|
|
297
|
+
* values indicate the total number of services linked to each form. You can call *Query Services*
|
|
298
298
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/query-services) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/query-services))
|
|
299
299
|
* and specify the relevant form ID in the filter to retrieve all services
|
|
300
300
|
* connected to the booking form.
|
|
@@ -334,7 +334,7 @@ interface CountServicesSignature {
|
|
|
334
334
|
export declare function queryLocations(httpClient: HttpClient): QueryLocationsSignature;
|
|
335
335
|
interface QueryLocationsSignature {
|
|
336
336
|
/**
|
|
337
|
-
* Retrieves 3 separate lists of business, custom, and customer locations
|
|
337
|
+
* Retrieves 3 separate lists of business, custom, and customer *locations*
|
|
338
338
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction)),
|
|
339
339
|
* given the provided filtering, and whether each location is connected to at
|
|
340
340
|
* least one of the site's services.
|
|
@@ -364,7 +364,7 @@ interface QueryLocationsSignature {
|
|
|
364
364
|
export declare function queryCategories(httpClient: HttpClient): QueryCategoriesSignature;
|
|
365
365
|
interface QueryCategoriesSignature {
|
|
366
366
|
/**
|
|
367
|
-
* Retrieves a list of service categories
|
|
367
|
+
* Retrieves a list of service *categories*
|
|
368
368
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/categories/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/categories-v2/introduction)),
|
|
369
369
|
* given the provided filtering.
|
|
370
370
|
*
|
|
@@ -393,7 +393,7 @@ interface QueryCategoriesSignature {
|
|
|
393
393
|
export declare function setServiceLocations(httpClient: HttpClient): SetServiceLocationsSignature;
|
|
394
394
|
interface SetServiceLocationsSignature {
|
|
395
395
|
/**
|
|
396
|
-
* Replaces the list of the locations
|
|
396
|
+
* Replaces the list of the *locations*
|
|
397
397
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction))
|
|
398
398
|
* where the business offers the service.
|
|
399
399
|
*
|
|
@@ -429,7 +429,7 @@ interface SetServiceLocationsSignature {
|
|
|
429
429
|
* Depending on whether the new or updated location is a business or custom location,
|
|
430
430
|
* you need to specify different fields.
|
|
431
431
|
*
|
|
432
|
-
* - **Business location**: Specify the relevant location ID
|
|
432
|
+
* - **Business location**: Specify the relevant *location ID*
|
|
433
433
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction))
|
|
434
434
|
* in `locations.business.id`.
|
|
435
435
|
* - **Custom location**: Specify the complete address object as
|
|
@@ -449,18 +449,18 @@ interface SetServiceLocationsSignature {
|
|
|
449
449
|
export declare function enablePricingPlansForService(httpClient: HttpClient): EnablePricingPlansForServiceSignature;
|
|
450
450
|
interface EnablePricingPlansForServiceSignature {
|
|
451
451
|
/**
|
|
452
|
-
* Adds a list of pricing
|
|
452
|
+
* Adds a list of *pricing plan IDs*
|
|
453
453
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/pricing-plans/plans/introduction) | [REST](https://dev.wix.com/api/rest/wix-pricing-plans/pricing-plans/plans/plan-object))
|
|
454
454
|
* to a service's `payment.pricingPlanIds` array.
|
|
455
455
|
*
|
|
456
456
|
*
|
|
457
457
|
* The call doesn't validate whether the service's `payment.options.pricingPlan`
|
|
458
458
|
* is set to `true`. If it's set to `false`, customers aren't able to pay
|
|
459
|
-
* for their bookings using pricing plans. You can call Update Service
|
|
459
|
+
* for their bookings using pricing plans. You can call *Update Service*
|
|
460
460
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/update-service) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/update-service))
|
|
461
461
|
* to change a service's supported payment methods.
|
|
462
462
|
* @param - ID of the service to update.
|
|
463
|
-
* @param - IDs of the pricing plans
|
|
463
|
+
* @param - IDs of the *pricing plans*
|
|
464
464
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/pricing-plans/plans/introduction) | [REST](https://dev.wix.com/api/rest/wix-pricing-plans/pricing-plans/plans/plan-object))
|
|
465
465
|
* to add to the service's `payment.pricingPlanIds` array.
|
|
466
466
|
*/
|
|
@@ -469,7 +469,7 @@ interface EnablePricingPlansForServiceSignature {
|
|
|
469
469
|
export declare function disablePricingPlansForService(httpClient: HttpClient): DisablePricingPlansForServiceSignature;
|
|
470
470
|
interface DisablePricingPlansForServiceSignature {
|
|
471
471
|
/**
|
|
472
|
-
* Removes a list of pricing
|
|
472
|
+
* Removes a list of *pricing plan IDs*
|
|
473
473
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/pricing-plans/plans/introduction) | [REST](https://dev.wix.com/api/rest/wix-pricing-plans/pricing-plans/plans/plan-object))
|
|
474
474
|
* from a service's `payment.pricingPlanIds` array.
|
|
475
475
|
*
|
|
@@ -547,7 +547,7 @@ interface CloneServiceSignature {
|
|
|
547
547
|
*
|
|
548
548
|
* ### Service options and variants
|
|
549
549
|
*
|
|
550
|
-
* If the original service has variants
|
|
550
|
+
* If the original service has *variants*
|
|
551
551
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-options-and-variants/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction)),
|
|
552
552
|
* they're cloned asynchronously. The *Clone Service* call always succeeds,
|
|
553
553
|
* regardless of whether variants were cloned.
|
|
@@ -555,7 +555,7 @@ interface CloneServiceSignature {
|
|
|
555
555
|
* If the response includes `OPTIONS_AND_VARIANTS` in the `errors` array, the cloned
|
|
556
556
|
* service doesn't have variants, even though the original service does. You can
|
|
557
557
|
* delete the cloned service and call *Clone Service* again, or use the
|
|
558
|
-
*
|
|
558
|
+
* _Service Options And Variants API_
|
|
559
559
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-options-and-variants/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction))
|
|
560
560
|
* to add variants.
|
|
561
561
|
*
|
|
@@ -566,7 +566,7 @@ interface CloneServiceSignature {
|
|
|
566
566
|
*
|
|
567
567
|
* ### Pricing plans
|
|
568
568
|
*
|
|
569
|
-
* If the original service's accepts payments via pricing plans
|
|
569
|
+
* If the original service's accepts payments via *pricing plans*
|
|
570
570
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/pricing-plans/plans/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/pricing-plans/pricing-plans/plans/introduction)),
|
|
571
571
|
* the cloned service's `payment.options.pricingPlan` is also set to `true`. To
|
|
572
572
|
* accept specific pricing plans, call *Enable Pricing Plans For Service*
|
|
@@ -581,4 +581,4 @@ interface CloneServiceSignature {
|
|
|
581
581
|
export declare const onServiceCreated: EventDefinition<ServiceCreatedEnvelope, "wix.bookings.services.v2.service_created">;
|
|
582
582
|
export declare const onServiceDeleted: EventDefinition<ServiceDeletedEnvelope, "wix.bookings.services.v2.service_deleted">;
|
|
583
583
|
export declare const onServiceUpdated: EventDefinition<ServiceUpdatedEnvelope, "wix.bookings.services.v2.service_updated">;
|
|
584
|
-
export { Action, ActionEvent, Address, AddressHint, AddressLocation, AddressStreetOneOf, Aggregation, AggregationData, AggregationKindOneOf, AggregationResults, AggregationResultsResultOneOf, AggregationResultsScalarResult, AggregationType, ApplicationError, ApprovalStatus, Availability, AvailabilityConstraints, AvailabilityPolicy, AvailabilityPolicyUpdated, BaseEventMetadata, Behavior, BehaviorBehaviorOneOf, Benefit, BenefitNotification, BenefitType, BookAfterStartPolicy, BookingForm, BookingPolicy, BookingPolicyWithServices, BulkActionMetadata, BulkCreateServicesRequest, BulkCreateServicesResponse, BulkDeleteServicesByFilterOptions, BulkDeleteServicesByFilterRequest, BulkDeleteServicesByFilterResponse, BulkDeleteServicesByFilterResponseNonNullableFields, BulkDeleteServicesOptions, BulkDeleteServicesRequest, BulkDeleteServicesResponse, BulkDeleteServicesResponseNonNullableFields, BulkServiceResult, BulkUpdateServicesByFilterOptions, BulkUpdateServicesByFilterRequest, BulkUpdateServicesByFilterResponse, BulkUpdateServicesByFilterResponseNonNullableFields, BulkUpdateServicesOptions, BulkUpdateServicesRequest, BulkUpdateServicesResponse, BulkUpdateServicesResponseNonNullableFields, BusinessLocation, BusinessLocationOptions, BusinessLocations, BusinessSchedule, CalendarConference, CalendarDateTime, CalendarType, CancellationFeePolicy, CancellationPolicy, CancellationWindow, CancellationWindowFeeOneOf, Categories, Category, CategoryNotification, CategoryNotificationEvent, CategoryStatus, ChangeContext, ChangeContextPayloadOneOf, CloneErrors, CloneServiceRequest, CloneServiceResponse, CloneServiceResponseNonNullableFields, CommonAddress, CommonAddressLocation, CommonAddressStreetOneOf, CommonStreetAddress, ConferenceProvider, ConferenceType, Conferencing, ConnectedService, ConsentPolicy, CountServicesOptions, CountServicesRequest, CountServicesResponse, CountServicesResponseNonNullableFields, CreateServiceRequest, CreateServiceResponse, CreateServiceResponseNonNullableFields, CrudType, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, CursorSearch, CursorSearchPagingMethodOneOf, Cursors, CustomLocationOptions, CustomLocations, CustomPayment, CustomerLocations, DateHistogramAggregation, DateHistogramAggregationInterval, DateHistogramResult, DateHistogramResults, Day, DayOfWeek, DeleteServiceOptions, DeleteServiceRequest, DeleteServiceResponse, DisablePricingPlansForServiceOptions, DisablePricingPlansForServiceRequest, DisablePricingPlansForServiceResponse, DisablePricingPlansForServiceResponseNonNullableFields, Discount, DiscountDiscountOneOf, DomainEvent, DomainEventBodyOneOf, Duration, Empty, EnablePricingPlansForServiceRequest, EnablePricingPlansForServiceResponse, EnablePricingPlansForServiceResponseNonNullableFields, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EntryPass, Event, EventMetadata, ExtendedFields, ExternalCalendarInfo, ExternalCalendarOverrides, FieldViolation, FixedPayment, FocalPoint, Form, FormDetails, FormSettings, Frequency, GeoCoordinates, GetServiceAvailabilityConstraintsRequest, GetServiceAvailabilityConstraintsResponse, GetServiceRequest, GetServiceResponse, GetServiceResponseNonNullableFields, GroupByAggregation, GroupByAggregationKindOneOf, GroupByValueResults, HtmlSitePublished, IdentificationData, IdentificationDataIdOneOf, IncludeMissingValuesOptions, Interval, IntervalSplit, InvalidPricingPlan, InvalidSlugError, ItemMetadata, Keyword, LimitEarlyBookingPolicy, LimitLateBookingPolicy, LinkedSchedule, LocalDateTime, Locale, Location, LocationStatus, LocationType, LocationTypeEnumLocationType, LocationsAddress, LocationsAddressLocation, LocationsLocation, LocationsLocationType, LocationsStreetAddress, MaskedService, Media, MediaItem, MediaItemItemOneOf, MessageEnvelope, MigrationData, MigrationEvent, MissingValues, Mode, Money, MoveToNewLocationsOptions, Multilingual, MultipleSessionsCreated, NestedAggregation, NestedAggregationItem, NestedAggregationItemKindOneOf, NestedAggregationResults, NestedAggregationResultsResultOneOf, NestedAggregationType, NestedResultValue, NestedResultValueResultOneOf, NestedResults, NestedValueAggregationResult, OnlineBooking, Page, Paging, PagingMetadataV2, Participant, ParticipantNotification, ParticipantsPolicy, Payment, PaymentOptions, PaymentRateOneOf, PlacementType, PolicyDescription, Price, Properties, PropertiesChange, QueryBookingFormsOptions, QueryBookingFormsRequest, QueryBookingFormsResponse, QueryBookingFormsResponseNonNullableFields, QueryCategoriesFilter, QueryCategoriesOptions, QueryCategoriesRequest, QueryCategoriesResponse, QueryCategoriesResponseNonNullableFields, QueryLocationsFilter, QueryLocationsOptions, QueryLocationsRequest, QueryLocationsResponse, QueryLocationsResponseNonNullableFields, QueryPoliciesRequest, QueryPoliciesResponse, QueryPoliciesResponseNonNullableFields, QueryServicesMultiLanguageRequest, QueryServicesMultiLanguageResponse, QueryServicesOptions, QueryServicesRequest, QueryServicesResponse, QueryServicesResponseNonNullableFields, QueryV2, QueryV2PagingMethodOneOf, RangeAggregation, RangeAggregationResult, RangeBucket, RangeResult, RangeResults, Rate, RateType, RecurringInterval, RecurringIntervalType, RecurringSessionSplit, RecurringSessionsUpdated, RemovedLocationSessionsAction, RemovedLocationSessionsActionActionOptionsOneOf, RequestedFields, ReschedulePolicy, ResolutionMethod, Resource, ResourceGroup, ResourceIds, ResourceNotification, ResourceNotificationEvent, ResourceStatus, ResourceType, ResourcesPolicy, RestoreInfo, Results, SaveCreditCardPolicy, ScalarAggregation, ScalarResult, ScalarType, Schedule, ScheduleCancelled, ScheduleCreated, ScheduleNotification, ScheduleNotificationEventOneOf, ScheduleStatus, ScheduleUnassignedFromUser, ScheduleUpdated, ScheduleWithSessions, SearchDetails, SearchServicesRequest, SearchServicesResponse, SearchServicesResponseNonNullableFields, SeoSchema, Service, ServiceAvailabilityConstraints, ServiceCreatedEnvelope, ServiceDeletedEnvelope, ServiceNonNullableFields, ServiceResource, ServiceResourceSelectionOneOf, ServiceType, ServiceUpdatedEnvelope, ServicesQueryBuilder, ServicesQueryResult, ServicesUrlsChanged, Session, SessionCancelled, SessionCreated, SessionType, SessionUpdated, SessionVersion, SetCustomSlugEvent, SetCustomSlugOptions, SetCustomSlugRequest, SetCustomSlugResponse, SetCustomSlugResponseNonNullableFields, SetServiceLocationsOptions, SetServiceLocationsRequest, SetServiceLocationsResponse, SetServiceLocationsResponseNonNullableFields, Settings, SiteCloned, SiteCreated, SitePropertiesEvent, SitePropertiesNotification, SitePropertiesOnScheduleCreation, Slug, SortDirection, SortOrder, SortType, Sorting, SpecialHourPeriod, SplitInterval, StaffData, StaffMediaItem, StaffMediaItemItemOneOf, StaffMember, StaffMemberDetails, Status, StreetAddress, Subdivision, SupportedLanguage, Tag, TimePeriod, Translation, Transparency, URLs, UpdateService, UpdateServiceRequest, UpdateServiceResponse, UpdateServiceResponseNonNullableFields, UserDomainInfoChangedEvent, V1SplitInterval, V2AvailabilityConstraints, V2Category, V2Location, V2LocationOptionsOneOf, V2ParticipantNotification, V2RequestedFields, V2Schedule, V4Address, ValidateServiceRequest, ValidateServiceResponse, ValidateSlugOptions, ValidateSlugRequest, ValidateSlugResponse, ValidateSlugResponseNonNullableFields, ValueAggregation, ValueAggregationOptionsOneOf, ValueAggregationResult, ValueResult, ValueResults, VariedPayment, Version, WaitlistPolicy, WebhookIdentityType, } from './bookings-services-v2-service-services.universal.js';
|
|
584
|
+
export { Action, ActionEvent, Address, AddressHint, AddressLocation, AddressStreetOneOf, Aggregation, AggregationData, AggregationKindOneOf, AggregationResults, AggregationResultsResultOneOf, AggregationResultsScalarResult, AggregationType, ApplicationError, ApprovalStatus, Availability, AvailabilityConstraints, AvailabilityPolicy, AvailabilityPolicyUpdated, BaseEventMetadata, Behavior, BehaviorBehaviorOneOf, Benefit, BenefitNotification, BenefitType, BookAfterStartPolicy, BookingForm, BookingPolicy, BookingPolicyWithServices, BulkActionMetadata, BulkCreateServicesRequest, BulkCreateServicesResponse, BulkDeleteServicesByFilterOptions, BulkDeleteServicesByFilterRequest, BulkDeleteServicesByFilterResponse, BulkDeleteServicesByFilterResponseNonNullableFields, BulkDeleteServicesOptions, BulkDeleteServicesRequest, BulkDeleteServicesResponse, BulkDeleteServicesResponseNonNullableFields, BulkServiceResult, BulkUpdateServicesByFilterOptions, BulkUpdateServicesByFilterRequest, BulkUpdateServicesByFilterResponse, BulkUpdateServicesByFilterResponseNonNullableFields, BulkUpdateServicesOptions, BulkUpdateServicesRequest, BulkUpdateServicesResponse, BulkUpdateServicesResponseNonNullableFields, BusinessLocation, BusinessLocationOptions, BusinessLocations, BusinessSchedule, CalendarConference, CalendarDateTime, CalendarType, CancellationFeePolicy, CancellationPolicy, CancellationWindow, CancellationWindowFeeOneOf, Categories, Category, CategoryNotification, CategoryNotificationEvent, CategoryStatus, ChangeContext, ChangeContextPayloadOneOf, CloneErrors, CloneServiceRequest, CloneServiceResponse, CloneServiceResponseNonNullableFields, CommonAddress, CommonAddressLocation, CommonAddressStreetOneOf, CommonStreetAddress, ConferenceProvider, ConferenceType, Conferencing, ConnectedService, ConsentPolicy, CountServicesOptions, CountServicesRequest, CountServicesResponse, CountServicesResponseNonNullableFields, CreateServiceRequest, CreateServiceResponse, CreateServiceResponseNonNullableFields, CrudType, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, CursorSearch, CursorSearchPagingMethodOneOf, Cursors, CustomLocationOptions, CustomLocations, CustomPayment, CustomerLocations, DateHistogramAggregation, DateHistogramAggregationInterval, DateHistogramResult, DateHistogramResults, Day, DayOfWeek, Delete, DeleteServiceOptions, DeleteServiceRequest, DeleteServiceResponse, DisablePricingPlansForServiceOptions, DisablePricingPlansForServiceRequest, DisablePricingPlansForServiceResponse, DisablePricingPlansForServiceResponseNonNullableFields, Discount, DiscountDiscountOneOf, DomainEvent, DomainEventBodyOneOf, Duration, Empty, EnablePricingPlansForServiceRequest, EnablePricingPlansForServiceResponse, EnablePricingPlansForServiceResponseNonNullableFields, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EntryPass, Event, EventMetadata, ExtendedFields, ExternalCalendarInfo, ExternalCalendarOverrides, FieldViolation, FixedPayment, FocalPoint, Form, FormDetails, FormSettings, Frequency, GeoCoordinates, GetServiceAvailabilityConstraintsRequest, GetServiceAvailabilityConstraintsResponse, GetServiceRequest, GetServiceResponse, GetServiceResponseNonNullableFields, GroupByAggregation, GroupByAggregationKindOneOf, GroupByValueResults, HtmlSitePublished, IdentificationData, IdentificationDataIdOneOf, IncludeMissingValuesOptions, Interval, IntervalSplit, InvalidPricingPlan, InvalidSlugError, ItemMetadata, Keyword, LimitEarlyBookingPolicy, LimitLateBookingPolicy, LinkedSchedule, LocalDateTime, Locale, Location, LocationStatus, LocationType, LocationTypeEnumLocationType, LocationsAddress, LocationsAddressLocation, LocationsLocation, LocationsLocationType, LocationsStreetAddress, MaskedService, Media, MediaItem, MediaItemItemOneOf, MessageEnvelope, MigrationData, MigrationEvent, MissingValues, Mode, Money, MoveToNewLocationsOptions, Multilingual, MultipleSessionsCreated, NestedAggregation, NestedAggregationItem, NestedAggregationItemKindOneOf, NestedAggregationResults, NestedAggregationResultsResultOneOf, NestedAggregationType, NestedResultValue, NestedResultValueResultOneOf, NestedResults, NestedValueAggregationResult, OnlineBooking, Page, Paging, PagingMetadataV2, Participant, ParticipantNotification, ParticipantsPolicy, Payment, PaymentOptions, PaymentRateOneOf, PlacementType, PolicyDescription, Price, Properties, PropertiesChange, QueryBookingFormsOptions, QueryBookingFormsRequest, QueryBookingFormsResponse, QueryBookingFormsResponseNonNullableFields, QueryCategoriesFilter, QueryCategoriesOptions, QueryCategoriesRequest, QueryCategoriesResponse, QueryCategoriesResponseNonNullableFields, QueryLocationsFilter, QueryLocationsOptions, QueryLocationsRequest, QueryLocationsResponse, QueryLocationsResponseNonNullableFields, QueryPoliciesRequest, QueryPoliciesResponse, QueryPoliciesResponseNonNullableFields, QueryServicesMultiLanguageRequest, QueryServicesMultiLanguageResponse, QueryServicesOptions, QueryServicesRequest, QueryServicesResponse, QueryServicesResponseNonNullableFields, QueryV2, QueryV2PagingMethodOneOf, RangeAggregation, RangeAggregationResult, RangeBucket, RangeResult, RangeResults, Rate, RateType, RecurringInterval, RecurringIntervalType, RecurringSessionSplit, RecurringSessionsUpdated, ReindexMessage, ReindexMessageActionOneOf, RemovedLocationSessionsAction, RemovedLocationSessionsActionActionOptionsOneOf, RequestedFields, ReschedulePolicy, ResolutionMethod, Resource, ResourceGroup, ResourceIds, ResourceNotification, ResourceNotificationEvent, ResourceStatus, ResourceType, ResourcesPolicy, RestoreInfo, Results, SaveCreditCardPolicy, ScalarAggregation, ScalarResult, ScalarType, Schedule, ScheduleCancelled, ScheduleCreated, ScheduleNotification, ScheduleNotificationEventOneOf, ScheduleStatus, ScheduleUnassignedFromUser, ScheduleUpdated, ScheduleWithSessions, Schema, SearchDetails, SearchServicesRequest, SearchServicesResponse, SearchServicesResponseNonNullableFields, SeoSchema, Service, ServiceAvailabilityConstraints, ServiceCreatedEnvelope, ServiceDeletedEnvelope, ServiceNonNullableFields, ServiceResource, ServiceResourceSelectionOneOf, ServiceType, ServiceUpdatedEnvelope, ServicesQueryBuilder, ServicesQueryResult, ServicesUrlsChanged, Session, SessionCancelled, SessionCreated, SessionType, SessionUpdated, SessionVersion, SetCustomSlugEvent, SetCustomSlugOptions, SetCustomSlugRequest, SetCustomSlugResponse, SetCustomSlugResponseNonNullableFields, SetServiceLocationsOptions, SetServiceLocationsRequest, SetServiceLocationsResponse, SetServiceLocationsResponseNonNullableFields, Settings, SiteCloned, SiteCreated, SitePropertiesEvent, SitePropertiesNotification, SitePropertiesOnScheduleCreation, Slug, SortDirection, SortOrder, SortType, Sorting, SpecialHourPeriod, SplitInterval, StaffData, StaffMediaItem, StaffMediaItemItemOneOf, StaffMember, StaffMemberDetails, Status, StreetAddress, Subdivision, SupportedLanguage, Tag, TimePeriod, Translation, Transparency, URLs, UpdateService, UpdateServiceRequest, UpdateServiceResponse, UpdateServiceResponseNonNullableFields, Upsert, UserDomainInfoChangedEvent, V1SplitInterval, V2AvailabilityConstraints, V2Category, V2Location, V2LocationOptionsOneOf, V2ParticipantNotification, V2RequestedFields, V2Schedule, V4Address, ValidateServiceRequest, ValidateServiceResponse, ValidateSlugOptions, ValidateSlugRequest, ValidateSlugResponse, ValidateSlugResponseNonNullableFields, ValueAggregation, ValueAggregationOptionsOneOf, ValueAggregationResult, ValueResult, ValueResults, VariedPayment, Version, WaitlistPolicy, WebhookIdentityType, } from './bookings-services-v2-service-services.universal.js';
|