@wix/auto_sdk_bookings_services 1.0.149 → 1.0.151
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/{bookings-services-v2-service-services.universal-Bmp_SJXU.d.ts → bookings-services-v2-service-services.universal-BB-68oF3.d.ts} +77 -169
- package/build/cjs/index.d.ts +43 -91
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +5 -9
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +27 -60
- package/build/cjs/meta.js.map +1 -1
- package/build/es/{bookings-services-v2-service-services.universal-Bmp_SJXU.d.mts → bookings-services-v2-service-services.universal-BB-68oF3.d.mts} +77 -169
- package/build/es/index.d.mts +43 -91
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +5 -9
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +27 -60
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/{bookings-services-v2-service-services.universal-Bmp_SJXU.d.ts → bookings-services-v2-service-services.universal-BB-68oF3.d.ts} +77 -169
- package/build/internal/cjs/index.d.ts +43 -91
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +5 -9
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +27 -60
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/{bookings-services-v2-service-services.universal-Bmp_SJXU.d.mts → bookings-services-v2-service-services.universal-BB-68oF3.d.mts} +77 -169
- package/build/internal/es/index.d.mts +43 -91
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +5 -9
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +27 -60
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/meta.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bS as CreateAddOnGroupRequest$1, a as CreateAddOnGroupResponse$1, bT as DeleteAddOnGroupRequest$1, bU as DeleteAddOnGroupResponse$1, bV as UpdateAddOnGroupRequest$1, c as UpdateAddOnGroupResponse$1, bW as ListAddOnGroupsByServiceIdRequest$1, e as ListAddOnGroupsByServiceIdResponse$1, b_ as SetAddOnsForGroupRequest$1, f as SetAddOnsForGroupResponse$1, b$ as CreateServiceRequest$1, c0 as CreateServiceResponse$1, c4 as BulkCreateServicesRequest$1, j as BulkCreateServicesResponse$1, c9 as GetServiceRequest$1, ca as GetServiceResponse$1, cf as UpdateServiceRequest$1, cg as UpdateServiceResponse$1, ch as BulkUpdateServicesRequest$1, n as BulkUpdateServicesResponse$1, cj as BulkUpdateServicesByFilterRequest$1, p as BulkUpdateServicesByFilterResponse$1, ck as DeleteServiceRequest$1, cm as DeleteServiceResponse$1, cn as BulkDeleteServicesRequest$1, s as BulkDeleteServicesResponse$1, co as BulkDeleteServicesByFilterRequest$1, u as BulkDeleteServicesByFilterResponse$1, cp as QueryServicesRequest$1, cv as QueryServicesResponse$1, cy as SearchServicesRequest$1, x as SearchServicesResponse$1, da as QueryPoliciesRequest$1, Q as QueryPoliciesResponse$1, dd as QueryBookingFormsRequest$1, E as QueryBookingFormsResponse$1, dh as CountServicesRequest$1, H as CountServicesResponse$1, di as QueryLocationsRequest$1, J as QueryLocationsResponse$1, dn as QueryCategoriesRequest$1, M as QueryCategoriesResponse$1, ds as SetServiceLocationsRequest$1, P as SetServiceLocationsResponse$1, dw as EnablePricingPlansForServiceRequest$1, R as EnablePricingPlansForServiceResponse$1, dy as DisablePricingPlansForServiceRequest$1, W as DisablePricingPlansForServiceResponse$1, dz as SetCustomSlugRequest$1, Z as SetCustomSlugResponse$1, dA as ValidateSlugRequest$1, a1 as ValidateSlugResponse$1, dB as CloneServiceRequest$1, a2 as CloneServiceResponse$1 } from './bookings-services-v2-service-services.universal-
|
|
1
|
+
import { bS as CreateAddOnGroupRequest$1, a as CreateAddOnGroupResponse$1, bT as DeleteAddOnGroupRequest$1, bU as DeleteAddOnGroupResponse$1, bV as UpdateAddOnGroupRequest$1, c as UpdateAddOnGroupResponse$1, bW as ListAddOnGroupsByServiceIdRequest$1, e as ListAddOnGroupsByServiceIdResponse$1, b_ as SetAddOnsForGroupRequest$1, f as SetAddOnsForGroupResponse$1, b$ as CreateServiceRequest$1, c0 as CreateServiceResponse$1, c4 as BulkCreateServicesRequest$1, j as BulkCreateServicesResponse$1, c9 as GetServiceRequest$1, ca as GetServiceResponse$1, cf as UpdateServiceRequest$1, cg as UpdateServiceResponse$1, ch as BulkUpdateServicesRequest$1, n as BulkUpdateServicesResponse$1, cj as BulkUpdateServicesByFilterRequest$1, p as BulkUpdateServicesByFilterResponse$1, ck as DeleteServiceRequest$1, cm as DeleteServiceResponse$1, cn as BulkDeleteServicesRequest$1, s as BulkDeleteServicesResponse$1, co as BulkDeleteServicesByFilterRequest$1, u as BulkDeleteServicesByFilterResponse$1, cp as QueryServicesRequest$1, cv as QueryServicesResponse$1, cy as SearchServicesRequest$1, x as SearchServicesResponse$1, da as QueryPoliciesRequest$1, Q as QueryPoliciesResponse$1, dd as QueryBookingFormsRequest$1, E as QueryBookingFormsResponse$1, dh as CountServicesRequest$1, H as CountServicesResponse$1, di as QueryLocationsRequest$1, J as QueryLocationsResponse$1, dn as QueryCategoriesRequest$1, M as QueryCategoriesResponse$1, ds as SetServiceLocationsRequest$1, P as SetServiceLocationsResponse$1, dw as EnablePricingPlansForServiceRequest$1, R as EnablePricingPlansForServiceResponse$1, dy as DisablePricingPlansForServiceRequest$1, W as DisablePricingPlansForServiceResponse$1, dz as SetCustomSlugRequest$1, Z as SetCustomSlugResponse$1, dA as ValidateSlugRequest$1, a1 as ValidateSlugResponse$1, dB as CloneServiceRequest$1, a2 as CloneServiceResponse$1 } from './bookings-services-v2-service-services.universal-BB-68oF3.js';
|
|
2
2
|
import '@wix/sdk-types';
|
|
3
3
|
|
|
4
4
|
/** The `service` object represents an offering that a business provides to its customers. */
|
|
@@ -11,14 +11,10 @@ interface Service {
|
|
|
11
11
|
id?: string | null;
|
|
12
12
|
/**
|
|
13
13
|
* Service type.
|
|
14
|
-
* Learn more about
|
|
15
|
-
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/about-service-types) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/about-service-types)).
|
|
14
|
+
* Learn more about [service types](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/about-service-types).
|
|
16
15
|
*/
|
|
17
16
|
type?: ServiceTypeWithLiterals;
|
|
18
|
-
/**
|
|
19
|
-
* Order of the service within a *category*
|
|
20
|
-
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/categories-v2/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/categories-v1/category-object)).
|
|
21
|
-
*/
|
|
17
|
+
/** Order of the service within a [category](https://dev.wix.com/docs/rest/business-solutions/bookings/services/categories-v1/category-object). */
|
|
22
18
|
sortOrder?: number | null;
|
|
23
19
|
/**
|
|
24
20
|
* Service name.
|
|
@@ -47,8 +43,7 @@ interface Service {
|
|
|
47
43
|
/** Whether the service is hidden from Wix Bookings pages and widgets. */
|
|
48
44
|
hidden?: boolean | null;
|
|
49
45
|
/**
|
|
50
|
-
*
|
|
51
|
-
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/categories-v2/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/categories-v1/category-object))
|
|
46
|
+
* [Category](https://dev.wix.com/docs/rest/business-solutions/bookings/services/categories-v1/category-object)
|
|
52
47
|
* the service is associated with.
|
|
53
48
|
*/
|
|
54
49
|
category?: V2Category;
|
|
@@ -56,8 +51,7 @@ interface Service {
|
|
|
56
51
|
form?: Form;
|
|
57
52
|
/**
|
|
58
53
|
* Payment options for booking the service.
|
|
59
|
-
* Learn more about
|
|
60
|
-
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/about-service-payments) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/about-service-payments)).
|
|
54
|
+
* Learn more about [service payments](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/about-service-payments).
|
|
61
55
|
*/
|
|
62
56
|
payment?: Payment;
|
|
63
57
|
/** Online booking settings. */
|
|
@@ -65,28 +59,23 @@ interface Service {
|
|
|
65
59
|
/** Conferencing options for the service. */
|
|
66
60
|
conferencing?: Conferencing;
|
|
67
61
|
/**
|
|
68
|
-
* The locations this service is offered at. Read more about
|
|
69
|
-
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/about-service-locations) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/about-service-locations)).
|
|
62
|
+
* The locations this service is offered at. Read more about [service locations](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/about-service-locations).
|
|
70
63
|
* @immutable
|
|
71
64
|
* @maxSize 500
|
|
72
65
|
*/
|
|
73
66
|
locations?: Location[];
|
|
74
67
|
/**
|
|
75
|
-
*
|
|
76
|
-
* ([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))
|
|
68
|
+
* [Policy](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/introduction)
|
|
77
69
|
* 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.
|
|
78
70
|
*/
|
|
79
71
|
bookingPolicy?: BookingPolicy;
|
|
80
72
|
/**
|
|
81
|
-
* The service's
|
|
82
|
-
*
|
|
83
|
-
* which can be used to manage the service's *events*
|
|
84
|
-
* ([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)).
|
|
73
|
+
* The service's [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction),
|
|
74
|
+
* which can be used to manage the service's [events](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction).
|
|
85
75
|
*/
|
|
86
76
|
schedule?: Schedule;
|
|
87
77
|
/**
|
|
88
|
-
* IDs of the
|
|
89
|
-
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/staff-members/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/introduction))
|
|
78
|
+
* IDs of the [staff members](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/introduction)
|
|
90
79
|
* providing the service. Available only for appointment-based services.
|
|
91
80
|
* @maxSize 220
|
|
92
81
|
* @format GUID
|
|
@@ -107,8 +96,7 @@ interface Service {
|
|
|
107
96
|
supportedSlugs?: Slug[];
|
|
108
97
|
/**
|
|
109
98
|
* Active slug for the service.
|
|
110
|
-
* Learn more about
|
|
111
|
-
* ([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)).
|
|
99
|
+
* Learn more about [service slugs](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/about-service-slugs).
|
|
112
100
|
* @readonly
|
|
113
101
|
*/
|
|
114
102
|
mainSlug?: Slug;
|
|
@@ -140,8 +128,6 @@ interface Service {
|
|
|
140
128
|
revision?: string | null;
|
|
141
129
|
/** Taxable address used to calculate tax */
|
|
142
130
|
taxableAddress?: TaxableAddress;
|
|
143
|
-
/** Phone call options for the service. */
|
|
144
|
-
phoneCall?: PhoneCall;
|
|
145
131
|
}
|
|
146
132
|
declare enum ServiceType {
|
|
147
133
|
/** Appointment-based service. */
|
|
@@ -263,7 +249,7 @@ interface Payment extends PaymentRateOneOf {
|
|
|
263
249
|
*/
|
|
264
250
|
pricingPlanIds?: string[];
|
|
265
251
|
/**
|
|
266
|
-
* How customers can pay for add-ons when paying for the related booking with a pricing plan
|
|
252
|
+
* How customers can pay for add-ons when paying for the related booking with a [pricing plan](https://dev.wix.com/docs/api-reference/business-solutions/pricing-plans/pricing-plans/introduction).
|
|
267
253
|
* If customers pay for the booking using any method other than a pricing plan, the value of this field is ignored.
|
|
268
254
|
*/
|
|
269
255
|
addOnOption?: AddOnPaymentOptionsWithLiterals;
|
|
@@ -446,15 +432,9 @@ interface LocationOptionsOneOf {
|
|
|
446
432
|
}
|
|
447
433
|
declare enum LocationType {
|
|
448
434
|
UNKNOWN_LOCATION_TYPE = "UNKNOWN_LOCATION_TYPE",
|
|
449
|
-
/**
|
|
450
|
-
* Location set by the business that is not a standard business *location*
|
|
451
|
-
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction)).
|
|
452
|
-
*/
|
|
435
|
+
/** Location set by the business that is not a standard business [location](https://dev.wix.com/docs/api-reference/business-management/locations/introduction). */
|
|
453
436
|
CUSTOM = "CUSTOM",
|
|
454
|
-
/**
|
|
455
|
-
* Business *location*
|
|
456
|
-
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction)).
|
|
457
|
-
*/
|
|
437
|
+
/** Business [location](https://dev.wix.com/docs/api-reference/business-management/locations/introduction). */
|
|
458
438
|
BUSINESS = "BUSINESS",
|
|
459
439
|
/**
|
|
460
440
|
* The customer specifies any address when booking. Available only for
|
|
@@ -528,8 +508,7 @@ interface AddressLocation {
|
|
|
528
508
|
}
|
|
529
509
|
interface BusinessLocationOptions {
|
|
530
510
|
/**
|
|
531
|
-
* ID of the business
|
|
532
|
-
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction)).
|
|
511
|
+
* ID of the business [location](https://dev.wix.com/docs/api-reference/business-management/locations/introduction).
|
|
533
512
|
* When setting a business location, specify only the location ID. Other location details are overwritten.
|
|
534
513
|
* @format GUID
|
|
535
514
|
*/
|
|
@@ -1020,8 +999,7 @@ declare enum CompletionRequirement {
|
|
|
1020
999
|
type CompletionRequirementWithLiterals = CompletionRequirement | 'UNKNOWN_COMPLETION_REQUIREMENT' | 'OPTIONAL' | 'REQUIRED_BEFORE_BOOKING';
|
|
1021
1000
|
interface Schedule {
|
|
1022
1001
|
/**
|
|
1023
|
-
* ID of the
|
|
1024
|
-
* ([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))
|
|
1002
|
+
* ID of the [schedule](https://dev.wix.com/docs/api-reference/business-management/calendar/schedules-v3/introduction)
|
|
1025
1003
|
* to which the service's events belong.
|
|
1026
1004
|
* @format GUID
|
|
1027
1005
|
* @readonly
|
|
@@ -1046,8 +1024,7 @@ interface AvailabilityConstraints {
|
|
|
1046
1024
|
* appointment-based services without varied pricing based on session length, it
|
|
1047
1025
|
* matches the single value in the `sessionDurations` array. For appointment-based
|
|
1048
1026
|
* services with varied pricing based on session length, it includes session
|
|
1049
|
-
* durations for all
|
|
1050
|
-
* ([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)),
|
|
1027
|
+
* durations for all [variants](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/service-options-and-variants/introduction),
|
|
1051
1028
|
* while ignoring `sessionDurations`.
|
|
1052
1029
|
* For courses and classes, it includes durations for all future
|
|
1053
1030
|
* recurring sessions but excludes durations for one-off or past recurring sessions.
|
|
@@ -1059,7 +1036,7 @@ interface AvailabilityConstraints {
|
|
|
1059
1036
|
* List of supported session durations in minutes.
|
|
1060
1037
|
*
|
|
1061
1038
|
* - For appointment-based services, specify `sessionDurations` when creating a service.
|
|
1062
|
-
* - For appointment-based services with varied pricing by session length, you must still specify `sessionDurations`, but the values are ignored. Actual durations are taken from the service variants
|
|
1039
|
+
* - For appointment-based services with varied pricing by session length, you must still specify `sessionDurations`, but the values are ignored. Actual durations are taken from the [service variants](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/service-options-and-variants/introduction).
|
|
1063
1040
|
* - For classes or courses, don't specify `sessionDurations` when creating a service.
|
|
1064
1041
|
*
|
|
1065
1042
|
* Min: `1` minute
|
|
@@ -1160,10 +1137,7 @@ interface ResourceIds {
|
|
|
1160
1137
|
values?: string[];
|
|
1161
1138
|
}
|
|
1162
1139
|
interface ServiceResource extends ServiceResourceSelectionOneOf {
|
|
1163
|
-
/**
|
|
1164
|
-
* Details about the required *resource type*
|
|
1165
|
-
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/resource-types/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resource-types-v2/introduction)).
|
|
1166
|
-
*/
|
|
1140
|
+
/** Details about the required [resource type](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resource-types-v2/introduction). */
|
|
1167
1141
|
resourceType?: ResourceType;
|
|
1168
1142
|
}
|
|
1169
1143
|
/** @oneof */
|
|
@@ -2080,7 +2054,7 @@ interface SearchServicesRequest {
|
|
|
2080
2054
|
/**
|
|
2081
2055
|
* Search criteria including filter, sort, aggregations, and paging options.
|
|
2082
2056
|
*
|
|
2083
|
-
* Refer to the supported filters article
|
|
2057
|
+
* Refer to the [supported filters article](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/filtering-and-sorting) for complete filter and sorting options.
|
|
2084
2058
|
*/
|
|
2085
2059
|
search: CursorSearch;
|
|
2086
2060
|
}
|
|
@@ -2093,13 +2067,13 @@ interface CursorSearch extends CursorSearchPagingMethodOneOf {
|
|
|
2093
2067
|
/**
|
|
2094
2068
|
* Filter object for narrowing search results. For example, to return only services with specific payment options: `"filter": {"payment.options.online": true, "payment.options.in_person": false}`.
|
|
2095
2069
|
*
|
|
2096
|
-
* Learn more about the filter format in the supported filters article
|
|
2070
|
+
* Learn more about the filter format in the [supported filters article](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/filtering-and-sorting).
|
|
2097
2071
|
*/
|
|
2098
2072
|
filter?: Record<string, any> | null;
|
|
2099
2073
|
/**
|
|
2100
2074
|
* Array of sort objects specifying result order. For example, to sort by creation date in descending order: `"sort": [{"fieldName": "createdDate", "order": "DESC"}]`.
|
|
2101
2075
|
*
|
|
2102
|
-
* Learn more about the sort format in the supported filters article
|
|
2076
|
+
* Learn more about the sort format in the [supported filters article](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/filtering-and-sorting).
|
|
2103
2077
|
* @maxSize 10
|
|
2104
2078
|
*/
|
|
2105
2079
|
sort?: Sorting[];
|
|
@@ -2690,8 +2664,7 @@ interface BookingPolicyWithServices {
|
|
|
2690
2664
|
/**
|
|
2691
2665
|
* Up to 5 services connected to the booking policy. If `totalServiceCount` is
|
|
2692
2666
|
* greater than 5, there are additional services connected to the policy.
|
|
2693
|
-
* You can call Search Services
|
|
2694
|
-
* ([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))
|
|
2667
|
+
* You can call [Search Services](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/search-services)
|
|
2695
2668
|
* specifying the relevant policy ID in the filter, to retrieve all services that are
|
|
2696
2669
|
* connected to a booking policy.
|
|
2697
2670
|
* @maxSize 5
|
|
@@ -2735,8 +2708,7 @@ interface BookingForm {
|
|
|
2735
2708
|
/**
|
|
2736
2709
|
* Up to 5 services connected to the booking form. If `totalServiceCount` is
|
|
2737
2710
|
* greater than 5, there are additional services connected to the policy.
|
|
2738
|
-
* You can call Search Services
|
|
2739
|
-
* ([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))
|
|
2711
|
+
* You can call [Search Services](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/search-services)
|
|
2740
2712
|
* specifying the relevant policy ID in the filter, to retrieve all services that are
|
|
2741
2713
|
* connected to a booking policy.
|
|
2742
2714
|
* @maxSize 5
|
|
@@ -2956,8 +2928,7 @@ interface EnablePricingPlansForServiceRequest {
|
|
|
2956
2928
|
*/
|
|
2957
2929
|
serviceId: string;
|
|
2958
2930
|
/**
|
|
2959
|
-
* IDs of the pricing plans
|
|
2960
|
-
* ([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))
|
|
2931
|
+
* IDs of the [pricing plans](https://dev.wix.com/docs/api-reference/business-solutions/pricing-plans/pricing-plans/plans/introduction)
|
|
2961
2932
|
* to add to the service's `payment.pricingPlanIds` array.
|
|
2962
2933
|
* @format GUID
|
|
2963
2934
|
* @maxSize 100
|
|
@@ -2987,8 +2958,7 @@ interface DisablePricingPlansForServiceRequest {
|
|
|
2987
2958
|
*/
|
|
2988
2959
|
serviceId: string;
|
|
2989
2960
|
/**
|
|
2990
|
-
* IDs of the pricing plans
|
|
2991
|
-
* ([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))
|
|
2961
|
+
* IDs of the [pricing plans](https://dev.wix.com/docs/api-reference/business-solutions/pricing-plans/pricing-plans/plans/introduction)
|
|
2992
2962
|
* to remove from the service's `payment.pricingPlanIds` array.
|
|
2993
2963
|
* @format GUID
|
|
2994
2964
|
* @maxSize 75
|
|
@@ -3071,10 +3041,7 @@ interface CloneServiceResponse {
|
|
|
3071
3041
|
errors?: CloneErrorsWithLiterals[];
|
|
3072
3042
|
}
|
|
3073
3043
|
declare enum CloneErrors {
|
|
3074
|
-
/**
|
|
3075
|
-
* Failed to clone the original service's *options and variants*
|
|
3076
|
-
* ([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)).
|
|
3077
|
-
*/
|
|
3044
|
+
/** Failed to clone the original service's [options and variants](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/service-options-and-variants/introduction). */
|
|
3078
3045
|
OPTIONS_AND_VARIANTS = "OPTIONS_AND_VARIANTS",
|
|
3079
3046
|
/** Failed to clone the original service's *booking form*. */
|
|
3080
3047
|
FORM = "FORM"
|