@wix/auto_sdk_bookings_services 1.0.3 → 1.0.5
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.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 +23 -23
- package/build/cjs/src/bookings-services-v2-service-services.types.d.ts +15 -15
- package/build/cjs/src/bookings-services-v2-service-services.types.js +2 -2
- package/build/cjs/src/bookings-services-v2-service-services.universal.d.ts +44 -44
- package/build/cjs/src/bookings-services-v2-service-services.universal.js +25 -25
- 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 +23 -23
- package/build/es/src/bookings-services-v2-service-services.types.d.ts +15 -15
- package/build/es/src/bookings-services-v2-service-services.types.js +2 -2
- package/build/es/src/bookings-services-v2-service-services.universal.d.ts +44 -44
- package/build/es/src/bookings-services-v2-service-services.universal.js +25 -25
- 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 +23 -23
- package/build/internal/cjs/src/bookings-services-v2-service-services.types.d.ts +15 -15
- package/build/internal/cjs/src/bookings-services-v2-service-services.types.js +2 -2
- package/build/internal/cjs/src/bookings-services-v2-service-services.universal.d.ts +44 -44
- package/build/internal/cjs/src/bookings-services-v2-service-services.universal.js +25 -25
- 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 +23 -23
- package/build/internal/es/src/bookings-services-v2-service-services.types.d.ts +15 -15
- package/build/internal/es/src/bookings-services-v2-service-services.types.js +2 -2
- package/build/internal/es/src/bookings-services-v2-service-services.universal.d.ts +44 -44
- package/build/internal/es/src/bookings-services-v2-service-services.universal.js +25 -25
- package/package.json +2 -2
|
@@ -13,7 +13,7 @@ export interface Service {
|
|
|
13
13
|
type?: ServiceType;
|
|
14
14
|
/**
|
|
15
15
|
* Order of the service within a *category*
|
|
16
|
-
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/categories/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/categories-
|
|
16
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/categories/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/categories-v1/category-object)).
|
|
17
17
|
*/
|
|
18
18
|
sortOrder?: number | null;
|
|
19
19
|
/** Service name. */
|
|
@@ -30,7 +30,7 @@ export interface Service {
|
|
|
30
30
|
hidden?: boolean | null;
|
|
31
31
|
/**
|
|
32
32
|
* _Category_
|
|
33
|
-
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/categories/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/categories-
|
|
33
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/categories/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/categories-v1/category-object))
|
|
34
34
|
* the service is associated with.
|
|
35
35
|
*/
|
|
36
36
|
category?: V2Category;
|
|
@@ -52,7 +52,7 @@ export interface Service {
|
|
|
52
52
|
*/
|
|
53
53
|
locations?: V2Location[];
|
|
54
54
|
/**
|
|
55
|
-
*
|
|
55
|
+
* _Policy_
|
|
56
56
|
* ([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))
|
|
57
57
|
* determining under what conditions this service can be booked. For example, whether the service can only be booked up to 30 minutes before it begins.
|
|
58
58
|
*/
|
|
@@ -60,7 +60,7 @@ export interface Service {
|
|
|
60
60
|
/**
|
|
61
61
|
* The service's *schedule*
|
|
62
62
|
* ([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)),
|
|
63
|
-
* which can be used to manage the service's events
|
|
63
|
+
* which can be used to manage the service's *events*
|
|
64
64
|
* ([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)).
|
|
65
65
|
*/
|
|
66
66
|
schedule?: V2Schedule;
|
|
@@ -78,7 +78,7 @@ export interface Service {
|
|
|
78
78
|
supportedSlugs?: Slug[];
|
|
79
79
|
/**
|
|
80
80
|
* Active slug for the service.
|
|
81
|
-
* Learn more about *slugs*
|
|
81
|
+
* Learn more about *service slugs*
|
|
82
82
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/about-service-slugs) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/about-service-slugs)).
|
|
83
83
|
* @readonly
|
|
84
84
|
*/
|
|
@@ -363,12 +363,12 @@ export interface V2LocationOptionsOneOf {
|
|
|
363
363
|
export declare enum LocationTypeEnumLocationType {
|
|
364
364
|
UNKNOWN_LOCATION_TYPE = "UNKNOWN_LOCATION_TYPE",
|
|
365
365
|
/**
|
|
366
|
-
* Location set by the business that is not a standard business location
|
|
366
|
+
* Location set by the business that is not a standard business *location*
|
|
367
367
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction)).
|
|
368
368
|
*/
|
|
369
369
|
CUSTOM = "CUSTOM",
|
|
370
370
|
/**
|
|
371
|
-
* Business location
|
|
371
|
+
* Business *location*
|
|
372
372
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction)).
|
|
373
373
|
*/
|
|
374
374
|
BUSINESS = "BUSINESS",
|
|
@@ -416,7 +416,7 @@ export interface CommonAddressLocation {
|
|
|
416
416
|
}
|
|
417
417
|
export interface BusinessLocationOptions {
|
|
418
418
|
/**
|
|
419
|
-
* ID of the business location
|
|
419
|
+
* ID of the business *location*
|
|
420
420
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction)).
|
|
421
421
|
* When setting a business location, specify only the location ID. Other location details are overwritten.
|
|
422
422
|
*/
|
|
@@ -768,7 +768,7 @@ export interface SaveCreditCardPolicy {
|
|
|
768
768
|
}
|
|
769
769
|
export interface V2Schedule {
|
|
770
770
|
/**
|
|
771
|
-
* ID of the schedule
|
|
771
|
+
* ID of the *schedule*
|
|
772
772
|
* ([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))
|
|
773
773
|
* to which the service's events belong.
|
|
774
774
|
* @readonly
|
|
@@ -793,7 +793,7 @@ export interface V2AvailabilityConstraints {
|
|
|
793
793
|
* appointment-based services without varied pricing based on session length, it
|
|
794
794
|
* matches the single value in the `sessionDurations` array. For appointment-based
|
|
795
795
|
* services with varied pricing based on session length, it includes session
|
|
796
|
-
* durations for all variants
|
|
796
|
+
* durations for all *variants*
|
|
797
797
|
* ([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)),
|
|
798
798
|
* while ignoring `sessionDurations`.
|
|
799
799
|
* For courses and classes, it includes durations for all future
|
|
@@ -805,7 +805,7 @@ export interface V2AvailabilityConstraints {
|
|
|
805
805
|
* List of supported session durations in minutes. Specify `sessionDurations` only
|
|
806
806
|
* for appointment-based services. Do not specify it for classes or courses. Note that
|
|
807
807
|
* session durations for appointment-based services with varied pricing based on
|
|
808
|
-
* session length are retrieved from service variants
|
|
808
|
+
* session length are retrieved from service *variants*
|
|
809
809
|
* ([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)),
|
|
810
810
|
* while this array is ignored.
|
|
811
811
|
*
|
|
@@ -1821,7 +1821,7 @@ export interface BookingPolicyWithServices {
|
|
|
1821
1821
|
/**
|
|
1822
1822
|
* Up to 5 services connected to the booking policy. If `totalServiceCount` is
|
|
1823
1823
|
* greater than 5, there are additional services connected to the policy.
|
|
1824
|
-
* You can call Search Services
|
|
1824
|
+
* You can call *Search Services*
|
|
1825
1825
|
* ([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))
|
|
1826
1826
|
* specifying the relevant policy ID in the filter, to retrieve all services that are
|
|
1827
1827
|
* connected to a booking policy.
|
|
@@ -1860,7 +1860,7 @@ export interface BookingForm {
|
|
|
1860
1860
|
/**
|
|
1861
1861
|
* Up to 5 services connected to the booking form. If `totalServiceCount` is
|
|
1862
1862
|
* greater than 5, there are additional services connected to the policy.
|
|
1863
|
-
* You can call Search Services
|
|
1863
|
+
* You can call *Search Services*
|
|
1864
1864
|
* ([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))
|
|
1865
1865
|
* specifying the relevant policy ID in the filter, to retrieve all services that are
|
|
1866
1866
|
* connected to a booking policy.
|
|
@@ -2045,7 +2045,7 @@ export interface EnablePricingPlansForServiceRequest {
|
|
|
2045
2045
|
/** ID of the service to update. */
|
|
2046
2046
|
serviceId: string;
|
|
2047
2047
|
/**
|
|
2048
|
-
* IDs of the pricing plans
|
|
2048
|
+
* IDs of the *pricing plans*
|
|
2049
2049
|
* ([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))
|
|
2050
2050
|
* to add to the service's `payment.pricingPlanIds` array.
|
|
2051
2051
|
*/
|
|
@@ -2065,7 +2065,7 @@ export interface DisablePricingPlansForServiceRequest {
|
|
|
2065
2065
|
/** ID of the service to update. */
|
|
2066
2066
|
serviceId: string;
|
|
2067
2067
|
/**
|
|
2068
|
-
* IDs of the pricing plans
|
|
2068
|
+
* IDs of the *pricing plans*
|
|
2069
2069
|
* ([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))
|
|
2070
2070
|
* to remove from the service's `payment.pricingPlanIds` array.
|
|
2071
2071
|
*/
|
|
@@ -27,12 +27,12 @@ var LocationTypeEnumLocationType;
|
|
|
27
27
|
(function (LocationTypeEnumLocationType) {
|
|
28
28
|
LocationTypeEnumLocationType["UNKNOWN_LOCATION_TYPE"] = "UNKNOWN_LOCATION_TYPE";
|
|
29
29
|
/**
|
|
30
|
-
* Location set by the business that is not a standard business location
|
|
30
|
+
* Location set by the business that is not a standard business *location*
|
|
31
31
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction)).
|
|
32
32
|
*/
|
|
33
33
|
LocationTypeEnumLocationType["CUSTOM"] = "CUSTOM";
|
|
34
34
|
/**
|
|
35
|
-
* Business location
|
|
35
|
+
* Business *location*
|
|
36
36
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction)).
|
|
37
37
|
*/
|
|
38
38
|
LocationTypeEnumLocationType["BUSINESS"] = "BUSINESS";
|
|
@@ -13,7 +13,7 @@ export interface Service {
|
|
|
13
13
|
type?: ServiceType;
|
|
14
14
|
/**
|
|
15
15
|
* Order of the service within a *category*
|
|
16
|
-
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/categories/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/categories-
|
|
16
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/categories/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/categories-v1/category-object)).
|
|
17
17
|
*/
|
|
18
18
|
sortOrder?: number | null;
|
|
19
19
|
/** Service name. */
|
|
@@ -30,7 +30,7 @@ export interface Service {
|
|
|
30
30
|
hidden?: boolean | null;
|
|
31
31
|
/**
|
|
32
32
|
* _Category_
|
|
33
|
-
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/categories/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/categories-
|
|
33
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/categories/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/categories-v1/category-object))
|
|
34
34
|
* the service is associated with.
|
|
35
35
|
*/
|
|
36
36
|
category?: V2Category;
|
|
@@ -52,7 +52,7 @@ export interface Service {
|
|
|
52
52
|
*/
|
|
53
53
|
locations?: V2Location[];
|
|
54
54
|
/**
|
|
55
|
-
*
|
|
55
|
+
* _Policy_
|
|
56
56
|
* ([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))
|
|
57
57
|
* determining under what conditions this service can be booked. For example, whether the service can only be booked up to 30 minutes before it begins.
|
|
58
58
|
*/
|
|
@@ -60,7 +60,7 @@ export interface Service {
|
|
|
60
60
|
/**
|
|
61
61
|
* The service's *schedule*
|
|
62
62
|
* ([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)),
|
|
63
|
-
* which can be used to manage the service's events
|
|
63
|
+
* which can be used to manage the service's *events*
|
|
64
64
|
* ([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)).
|
|
65
65
|
*/
|
|
66
66
|
schedule?: V2Schedule;
|
|
@@ -78,7 +78,7 @@ export interface Service {
|
|
|
78
78
|
supportedSlugs?: Slug[];
|
|
79
79
|
/**
|
|
80
80
|
* Active slug for the service.
|
|
81
|
-
* Learn more about *slugs*
|
|
81
|
+
* Learn more about *service slugs*
|
|
82
82
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/about-service-slugs) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/about-service-slugs)).
|
|
83
83
|
* @readonly
|
|
84
84
|
*/
|
|
@@ -346,12 +346,12 @@ export interface V2LocationOptionsOneOf {
|
|
|
346
346
|
export declare enum LocationTypeEnumLocationType {
|
|
347
347
|
UNKNOWN_LOCATION_TYPE = "UNKNOWN_LOCATION_TYPE",
|
|
348
348
|
/**
|
|
349
|
-
* Location set by the business that is not a standard business location
|
|
349
|
+
* Location set by the business that is not a standard business *location*
|
|
350
350
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction)).
|
|
351
351
|
*/
|
|
352
352
|
CUSTOM = "CUSTOM",
|
|
353
353
|
/**
|
|
354
|
-
* Business location
|
|
354
|
+
* Business *location*
|
|
355
355
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction)).
|
|
356
356
|
*/
|
|
357
357
|
BUSINESS = "BUSINESS",
|
|
@@ -399,7 +399,7 @@ export interface CommonAddressLocation {
|
|
|
399
399
|
}
|
|
400
400
|
export interface BusinessLocationOptions {
|
|
401
401
|
/**
|
|
402
|
-
* ID of the business location
|
|
402
|
+
* ID of the business *location*
|
|
403
403
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction)).
|
|
404
404
|
* When setting a business location, specify only the location ID. Other location details are overwritten.
|
|
405
405
|
*/
|
|
@@ -751,7 +751,7 @@ export interface SaveCreditCardPolicy {
|
|
|
751
751
|
}
|
|
752
752
|
export interface V2Schedule {
|
|
753
753
|
/**
|
|
754
|
-
* ID of the schedule
|
|
754
|
+
* ID of the *schedule*
|
|
755
755
|
* ([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))
|
|
756
756
|
* to which the service's events belong.
|
|
757
757
|
* @readonly
|
|
@@ -776,7 +776,7 @@ export interface V2AvailabilityConstraints {
|
|
|
776
776
|
* appointment-based services without varied pricing based on session length, it
|
|
777
777
|
* matches the single value in the `sessionDurations` array. For appointment-based
|
|
778
778
|
* services with varied pricing based on session length, it includes session
|
|
779
|
-
* durations for all variants
|
|
779
|
+
* durations for all *variants*
|
|
780
780
|
* ([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)),
|
|
781
781
|
* while ignoring `sessionDurations`.
|
|
782
782
|
* For courses and classes, it includes durations for all future
|
|
@@ -788,7 +788,7 @@ export interface V2AvailabilityConstraints {
|
|
|
788
788
|
* List of supported session durations in minutes. Specify `sessionDurations` only
|
|
789
789
|
* for appointment-based services. Do not specify it for classes or courses. Note that
|
|
790
790
|
* session durations for appointment-based services with varied pricing based on
|
|
791
|
-
* session length are retrieved from service variants
|
|
791
|
+
* session length are retrieved from service *variants*
|
|
792
792
|
* ([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)),
|
|
793
793
|
* while this array is ignored.
|
|
794
794
|
*
|
|
@@ -1798,7 +1798,7 @@ export interface BookingPolicyWithServices {
|
|
|
1798
1798
|
/**
|
|
1799
1799
|
* Up to 5 services connected to the booking policy. If `totalServiceCount` is
|
|
1800
1800
|
* greater than 5, there are additional services connected to the policy.
|
|
1801
|
-
* You can call Search Services
|
|
1801
|
+
* You can call *Search Services*
|
|
1802
1802
|
* ([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))
|
|
1803
1803
|
* specifying the relevant policy ID in the filter, to retrieve all services that are
|
|
1804
1804
|
* connected to a booking policy.
|
|
@@ -1837,7 +1837,7 @@ export interface BookingForm {
|
|
|
1837
1837
|
/**
|
|
1838
1838
|
* Up to 5 services connected to the booking form. If `totalServiceCount` is
|
|
1839
1839
|
* greater than 5, there are additional services connected to the policy.
|
|
1840
|
-
* You can call Search Services
|
|
1840
|
+
* You can call *Search Services*
|
|
1841
1841
|
* ([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))
|
|
1842
1842
|
* specifying the relevant policy ID in the filter, to retrieve all services that are
|
|
1843
1843
|
* connected to a booking policy.
|
|
@@ -2022,7 +2022,7 @@ export interface EnablePricingPlansForServiceRequest {
|
|
|
2022
2022
|
/** ID of the service to update. */
|
|
2023
2023
|
serviceId: string;
|
|
2024
2024
|
/**
|
|
2025
|
-
* IDs of the pricing plans
|
|
2025
|
+
* IDs of the *pricing plans*
|
|
2026
2026
|
* ([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))
|
|
2027
2027
|
* to add to the service's `payment.pricingPlanIds` array.
|
|
2028
2028
|
*/
|
|
@@ -2042,7 +2042,7 @@ export interface DisablePricingPlansForServiceRequest {
|
|
|
2042
2042
|
/** ID of the service to update. */
|
|
2043
2043
|
serviceId: string;
|
|
2044
2044
|
/**
|
|
2045
|
-
* IDs of the pricing plans
|
|
2045
|
+
* IDs of the *pricing plans*
|
|
2046
2046
|
* ([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))
|
|
2047
2047
|
* to remove from the service's `payment.pricingPlanIds` array.
|
|
2048
2048
|
*/
|
|
@@ -4154,7 +4154,7 @@ export declare function onServiceUpdated(handler: (event: ServiceUpdatedEnvelope
|
|
|
4154
4154
|
* - Specify all supported session durations in `schedule.availabilityConstraints.sessionDurations`.
|
|
4155
4155
|
* - Note that Wix Bookings doesn't display these values to customers and
|
|
4156
4156
|
* ignores them in pricing and availability calculations. Instead session
|
|
4157
|
-
* durations are retrieved from the relevant service variants
|
|
4157
|
+
* durations are retrieved from the relevant service *variants*
|
|
4158
4158
|
* ([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)).
|
|
4159
4159
|
* - It is mandatory to specify `schedule.availabilityConstraints.sessionDurations`,
|
|
4160
4160
|
* even though these values are ignored.
|
|
@@ -4209,7 +4209,7 @@ export declare function getService(serviceId: string): Promise<Service & Service
|
|
|
4209
4209
|
* Specify `schedule.availabilityConstraints.sessionDurations`
|
|
4210
4210
|
* only if you want to update it for appointment-based services without varied
|
|
4211
4211
|
* pricing based on session length. Don't specify `schedule.availabilityConstraints.sessionDurations`
|
|
4212
|
-
* for all other appointment-based services, classes, or courses. See Create Service
|
|
4212
|
+
* for all other appointment-based services, classes, or courses. See *Create Service*
|
|
4213
4213
|
* ([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))
|
|
4214
4214
|
* for more details.
|
|
4215
4215
|
* @param _id - Service ID.
|
|
@@ -4241,7 +4241,7 @@ export interface UpdateService {
|
|
|
4241
4241
|
type?: ServiceType;
|
|
4242
4242
|
/**
|
|
4243
4243
|
* Order of the service within a *category*
|
|
4244
|
-
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/categories/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/categories-
|
|
4244
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/categories/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/categories-v1/category-object)).
|
|
4245
4245
|
*/
|
|
4246
4246
|
sortOrder?: number | null;
|
|
4247
4247
|
/** Service name. */
|
|
@@ -4258,7 +4258,7 @@ export interface UpdateService {
|
|
|
4258
4258
|
hidden?: boolean | null;
|
|
4259
4259
|
/**
|
|
4260
4260
|
* _Category_
|
|
4261
|
-
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/categories/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/categories-
|
|
4261
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/categories/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/categories-v1/category-object))
|
|
4262
4262
|
* the service is associated with.
|
|
4263
4263
|
*/
|
|
4264
4264
|
category?: V2Category;
|
|
@@ -4280,7 +4280,7 @@ export interface UpdateService {
|
|
|
4280
4280
|
*/
|
|
4281
4281
|
locations?: V2Location[];
|
|
4282
4282
|
/**
|
|
4283
|
-
*
|
|
4283
|
+
* _Policy_
|
|
4284
4284
|
* ([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))
|
|
4285
4285
|
* determining under what conditions this service can be booked. For example, whether the service can only be booked up to 30 minutes before it begins.
|
|
4286
4286
|
*/
|
|
@@ -4288,7 +4288,7 @@ export interface UpdateService {
|
|
|
4288
4288
|
/**
|
|
4289
4289
|
* The service's *schedule*
|
|
4290
4290
|
* ([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)),
|
|
4291
|
-
* which can be used to manage the service's events
|
|
4291
|
+
* which can be used to manage the service's *events*
|
|
4292
4292
|
* ([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)).
|
|
4293
4293
|
*/
|
|
4294
4294
|
schedule?: V2Schedule;
|
|
@@ -4306,7 +4306,7 @@ export interface UpdateService {
|
|
|
4306
4306
|
supportedSlugs?: Slug[];
|
|
4307
4307
|
/**
|
|
4308
4308
|
* Active slug for the service.
|
|
4309
|
-
* Learn more about *slugs*
|
|
4309
|
+
* Learn more about *service slugs*
|
|
4310
4310
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/about-service-slugs) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/about-service-slugs)).
|
|
4311
4311
|
* @readonly
|
|
4312
4312
|
*/
|
|
@@ -4342,7 +4342,7 @@ export interface UpdateService {
|
|
|
4342
4342
|
* Updates up to 100 services.
|
|
4343
4343
|
*
|
|
4344
4344
|
*
|
|
4345
|
-
* See Update Service
|
|
4345
|
+
* See *Update Service*
|
|
4346
4346
|
* ([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))
|
|
4347
4347
|
* for more details.
|
|
4348
4348
|
*
|
|
@@ -4375,7 +4375,7 @@ export interface BulkUpdateServicesOptions {
|
|
|
4375
4375
|
* ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/filtering-and-sorting#filtering))
|
|
4376
4376
|
* for more details.
|
|
4377
4377
|
*
|
|
4378
|
-
* See Update Service
|
|
4378
|
+
* See *Update Service*
|
|
4379
4379
|
* ([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))
|
|
4380
4380
|
* for more details about updating a service.
|
|
4381
4381
|
*
|
|
@@ -4435,7 +4435,7 @@ export interface DeleteServiceOptions {
|
|
|
4435
4435
|
* Deletes multiple services.
|
|
4436
4436
|
*
|
|
4437
4437
|
*
|
|
4438
|
-
* See Delete Service
|
|
4438
|
+
* See *Delete Service*
|
|
4439
4439
|
* ([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))
|
|
4440
4440
|
* for more details about deleting a service.
|
|
4441
4441
|
*
|
|
@@ -4470,7 +4470,7 @@ export interface BulkDeleteServicesOptions {
|
|
|
4470
4470
|
* Deletes multiple services by filter.
|
|
4471
4471
|
*
|
|
4472
4472
|
*
|
|
4473
|
-
* See Delete Service
|
|
4473
|
+
* See *Delete Service*
|
|
4474
4474
|
* ([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))
|
|
4475
4475
|
* for more details about deleting a service.
|
|
4476
4476
|
*
|
|
@@ -4620,9 +4620,9 @@ export interface ServicesQueryBuilder {
|
|
|
4620
4620
|
* ## See also
|
|
4621
4621
|
*
|
|
4622
4622
|
* To learn about working with *Search* methods, see
|
|
4623
|
-
*
|
|
4623
|
+
* _API Query Language_
|
|
4624
4624
|
* ([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))
|
|
4625
|
-
* and Sorting and Paging
|
|
4625
|
+
* and *Sorting and Paging*
|
|
4626
4626
|
* ([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)).
|
|
4627
4627
|
* @param search - WQL, search or aggregation expression.
|
|
4628
4628
|
* @public
|
|
@@ -4647,7 +4647,7 @@ export interface ServicesQueryBuilder {
|
|
|
4647
4647
|
*/
|
|
4648
4648
|
export declare function searchServices(search: CursorSearch): Promise<SearchServicesResponse & SearchServicesResponseNonNullableFields>;
|
|
4649
4649
|
/**
|
|
4650
|
-
* Retrieves a list of up to 100 booking policies
|
|
4650
|
+
* Retrieves a list of up to 100 *booking policies*
|
|
4651
4651
|
* ([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)),
|
|
4652
4652
|
* and information about the services that are connected to them,
|
|
4653
4653
|
* given the provided filtering, paging, and sorting.
|
|
@@ -4671,7 +4671,7 @@ export declare function searchServices(search: CursorSearch): Promise<SearchServ
|
|
|
4671
4671
|
*
|
|
4672
4672
|
* If a booking policy is connected to more than 5 services, only a subset of
|
|
4673
4673
|
* those services is returned. The `bookingPolicies.totalServiceCount` values
|
|
4674
|
-
* indicate the total number of services linked to each policy. You can call Search Services
|
|
4674
|
+
* indicate the total number of services linked to each policy. You can call *Search Services*
|
|
4675
4675
|
* ([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))
|
|
4676
4676
|
* and specify the relevant policy ID in the filter to retrieve all services
|
|
4677
4677
|
* connected to the booking policy.
|
|
@@ -4720,7 +4720,7 @@ export declare function searchServices(search: CursorSearch): Promise<SearchServ
|
|
|
4720
4720
|
*/
|
|
4721
4721
|
export declare function queryPolicies(query: CursorQuery): Promise<QueryPoliciesResponse & QueryPoliciesResponseNonNullableFields>;
|
|
4722
4722
|
/**
|
|
4723
|
-
* Retrieves a list of up to 100 booking forms
|
|
4723
|
+
* Retrieves a list of up to 100 *booking forms*
|
|
4724
4724
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/forms/forms/introduction) | [REST](https://dev.wix.com/docs/rest/crm/forms/forms/introduction)),
|
|
4725
4725
|
* and information about the services that are connected to them,
|
|
4726
4726
|
* given the provided filtering, paging, and sorting.
|
|
@@ -4745,7 +4745,7 @@ export declare function queryPolicies(query: CursorQuery): Promise<QueryPolicies
|
|
|
4745
4745
|
*
|
|
4746
4746
|
* If a booking policy is connected to more than 5 services, only a subset of
|
|
4747
4747
|
* these service IDs and names is returned. The `bookingForms.totalServiceCount`
|
|
4748
|
-
* values indicate the total number of services linked to each form. You can call Query Services
|
|
4748
|
+
* values indicate the total number of services linked to each form. You can call *Query Services*
|
|
4749
4749
|
* ([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))
|
|
4750
4750
|
* and specify the relevant form ID in the filter to retrieve all services
|
|
4751
4751
|
* connected to the booking form.
|
|
@@ -4831,7 +4831,7 @@ export interface CountServicesOptions {
|
|
|
4831
4831
|
filter?: Record<string, any> | null;
|
|
4832
4832
|
}
|
|
4833
4833
|
/**
|
|
4834
|
-
* Retrieves 3 separate lists of business, custom, and customer locations
|
|
4834
|
+
* Retrieves 3 separate lists of business, custom, and customer *locations*
|
|
4835
4835
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction)),
|
|
4836
4836
|
* given the provided filtering, and whether each location is connected to at
|
|
4837
4837
|
* least one of the site's services.
|
|
@@ -4880,7 +4880,7 @@ export interface QueryLocationsOptions {
|
|
|
4880
4880
|
filter?: QueryLocationsFilter;
|
|
4881
4881
|
}
|
|
4882
4882
|
/**
|
|
4883
|
-
* Retrieves a list of service categories
|
|
4883
|
+
* Retrieves a list of service *categories*
|
|
4884
4884
|
* ([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)),
|
|
4885
4885
|
* given the provided filtering.
|
|
4886
4886
|
*
|
|
@@ -4928,7 +4928,7 @@ export interface QueryCategoriesOptions {
|
|
|
4928
4928
|
filter?: QueryCategoriesFilter;
|
|
4929
4929
|
}
|
|
4930
4930
|
/**
|
|
4931
|
-
* Replaces the list of the locations
|
|
4931
|
+
* Replaces the list of the *locations*
|
|
4932
4932
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction))
|
|
4933
4933
|
* where the business offers the service.
|
|
4934
4934
|
*
|
|
@@ -4964,7 +4964,7 @@ export interface QueryCategoriesOptions {
|
|
|
4964
4964
|
* Depending on whether the new or updated location is a business or custom location,
|
|
4965
4965
|
* you need to specify different fields.
|
|
4966
4966
|
*
|
|
4967
|
-
* - **Business location**: Specify the relevant location ID
|
|
4967
|
+
* - **Business location**: Specify the relevant *location ID*
|
|
4968
4968
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction))
|
|
4969
4969
|
* in `locations.business.id`.
|
|
4970
4970
|
* - **Custom location**: Specify the complete address object as
|
|
@@ -5005,18 +5005,18 @@ export interface SetServiceLocationsOptions {
|
|
|
5005
5005
|
participantNotification?: V2ParticipantNotification;
|
|
5006
5006
|
}
|
|
5007
5007
|
/**
|
|
5008
|
-
* Adds a list of pricing
|
|
5008
|
+
* Adds a list of *pricing plan IDs*
|
|
5009
5009
|
* ([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))
|
|
5010
5010
|
* to a service's `payment.pricingPlanIds` array.
|
|
5011
5011
|
*
|
|
5012
5012
|
*
|
|
5013
5013
|
* The call doesn't validate whether the service's `payment.options.pricingPlan`
|
|
5014
5014
|
* is set to `true`. If it's set to `false`, customers aren't able to pay
|
|
5015
|
-
* for their bookings using pricing plans. You can call Update Service
|
|
5015
|
+
* for their bookings using pricing plans. You can call *Update Service*
|
|
5016
5016
|
* ([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))
|
|
5017
5017
|
* to change a service's supported payment methods.
|
|
5018
5018
|
* @param serviceId - ID of the service to update.
|
|
5019
|
-
* @param pricingPlanIds - IDs of the pricing plans
|
|
5019
|
+
* @param pricingPlanIds - IDs of the *pricing plans*
|
|
5020
5020
|
* ([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))
|
|
5021
5021
|
* to add to the service's `payment.pricingPlanIds` array.
|
|
5022
5022
|
* @public
|
|
@@ -5032,7 +5032,7 @@ export interface SetServiceLocationsOptions {
|
|
|
5032
5032
|
*/
|
|
5033
5033
|
export declare function enablePricingPlansForService(serviceId: string, pricingPlanIds: string[]): Promise<EnablePricingPlansForServiceResponse & EnablePricingPlansForServiceResponseNonNullableFields>;
|
|
5034
5034
|
/**
|
|
5035
|
-
* Removes a list of pricing
|
|
5035
|
+
* Removes a list of *pricing plan IDs*
|
|
5036
5036
|
* ([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))
|
|
5037
5037
|
* from a service's `payment.pricingPlanIds` array.
|
|
5038
5038
|
*
|
|
@@ -5054,7 +5054,7 @@ export declare function enablePricingPlansForService(serviceId: string, pricingP
|
|
|
5054
5054
|
export declare function disablePricingPlansForService(serviceId: string, options?: DisablePricingPlansForServiceOptions): Promise<DisablePricingPlansForServiceResponse & DisablePricingPlansForServiceResponseNonNullableFields>;
|
|
5055
5055
|
export interface DisablePricingPlansForServiceOptions {
|
|
5056
5056
|
/**
|
|
5057
|
-
* IDs of the pricing plans
|
|
5057
|
+
* IDs of the *pricing plans*
|
|
5058
5058
|
* ([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))
|
|
5059
5059
|
* to remove from the service's `payment.pricingPlanIds` array.
|
|
5060
5060
|
*/
|
|
@@ -5144,7 +5144,7 @@ export interface ValidateSlugOptions {
|
|
|
5144
5144
|
*
|
|
5145
5145
|
* ### Service options and variants
|
|
5146
5146
|
*
|
|
5147
|
-
* If the original service has variants
|
|
5147
|
+
* If the original service has *variants*
|
|
5148
5148
|
* ([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)),
|
|
5149
5149
|
* they're cloned asynchronously. The *Clone Service* call always succeeds,
|
|
5150
5150
|
* regardless of whether variants were cloned.
|
|
@@ -5152,7 +5152,7 @@ export interface ValidateSlugOptions {
|
|
|
5152
5152
|
* If the response includes `OPTIONS_AND_VARIANTS` in the `errors` array, the cloned
|
|
5153
5153
|
* service doesn't have variants, even though the original service does. You can
|
|
5154
5154
|
* delete the cloned service and call *Clone Service* again, or use the
|
|
5155
|
-
*
|
|
5155
|
+
* _Service Options And Variants API_
|
|
5156
5156
|
* ([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))
|
|
5157
5157
|
* to add variants.
|
|
5158
5158
|
*
|
|
@@ -5163,7 +5163,7 @@ export interface ValidateSlugOptions {
|
|
|
5163
5163
|
*
|
|
5164
5164
|
* ### Pricing plans
|
|
5165
5165
|
*
|
|
5166
|
-
* If the original service's accepts payments via pricing plans
|
|
5166
|
+
* If the original service's accepts payments via *pricing plans*
|
|
5167
5167
|
* ([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)),
|
|
5168
5168
|
* the cloned service's `payment.options.pricingPlan` is also set to `true`. To
|
|
5169
5169
|
* accept specific pricing plans, call *Enable Pricing Plans For Service*
|