@wix/bookings 1.0.310 → 1.0.312
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/index.d.ts +5 -3
- package/build/cjs/index.js +6 -4
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +5 -3
- package/build/cjs/index.typings.js +6 -4
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +5 -3
- package/build/cjs/meta.js +6 -4
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/src/bookings-availability-v1-slot-availability.http.js +12 -10
- package/build/cjs/src/bookings-availability-v1-slot-availability.http.js.map +1 -1
- package/build/cjs/src/bookings-availability-v1-slot-availability.types.d.ts +9 -9
- package/build/cjs/src/bookings-availability-v1-slot-availability.universal.d.ts +14 -9
- package/build/cjs/src/bookings-availability-v1-slot-availability.universal.js +15 -4
- package/build/cjs/src/bookings-availability-v1-slot-availability.universal.js.map +1 -1
- package/build/cjs/src/bookings-availability-v2-time-slot-availability-time-slots.http.d.ts +223 -0
- package/build/cjs/src/bookings-availability-v2-time-slot-availability-time-slots.http.js +504 -0
- package/build/cjs/src/bookings-availability-v2-time-slot-availability-time-slots.http.js.map +1 -0
- package/build/cjs/src/bookings-availability-v2-time-slot-availability-time-slots.meta.d.ts +14 -0
- package/build/cjs/src/bookings-availability-v2-time-slot-availability-time-slots.meta.js +66 -0
- package/build/cjs/src/bookings-availability-v2-time-slot-availability-time-slots.meta.js.map +1 -0
- package/build/cjs/src/bookings-availability-v2-time-slot-availability-time-slots.public.d.ts +9 -0
- package/build/cjs/src/bookings-availability-v2-time-slot-availability-time-slots.public.js +20 -0
- package/build/cjs/src/bookings-availability-v2-time-slot-availability-time-slots.public.js.map +1 -0
- package/build/cjs/src/bookings-availability-v2-time-slot-availability-time-slots.types.d.ts +805 -0
- package/build/cjs/src/bookings-availability-v2-time-slot-availability-time-slots.types.js +14 -0
- package/build/cjs/src/bookings-availability-v2-time-slot-availability-time-slots.types.js.map +1 -0
- package/build/cjs/src/bookings-availability-v2-time-slot-availability-time-slots.universal.d.ts +1106 -0
- package/build/cjs/src/bookings-availability-v2-time-slot-availability-time-slots.universal.js +366 -0
- package/build/cjs/src/bookings-availability-v2-time-slot-availability-time-slots.universal.js.map +1 -0
- package/build/cjs/src/bookings-availability-v2-time-slot-event-time-slots.http.d.ts +223 -0
- package/build/cjs/src/bookings-availability-v2-time-slot-event-time-slots.http.js +436 -0
- package/build/cjs/src/bookings-availability-v2-time-slot-event-time-slots.http.js.map +1 -0
- package/build/cjs/src/bookings-availability-v2-time-slot-event-time-slots.types.d.ts +805 -0
- package/build/cjs/src/bookings-availability-v2-time-slot-event-time-slots.types.js +14 -0
- package/build/cjs/src/bookings-availability-v2-time-slot-event-time-slots.types.js.map +1 -0
- package/build/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.http.d.ts +223 -0
- package/build/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.http.js +504 -0
- package/build/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.http.js.map +1 -0
- package/build/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.meta.d.ts +14 -0
- package/build/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.meta.js +66 -0
- package/build/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.meta.js.map +1 -0
- package/build/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.public.d.ts +9 -0
- package/build/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.public.js +20 -0
- package/build/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.public.js.map +1 -0
- package/build/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.types.d.ts +805 -0
- package/build/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.types.js +14 -0
- package/build/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.types.js.map +1 -0
- package/build/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.universal.d.ts +1083 -0
- package/build/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.universal.js +354 -0
- package/build/cjs/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.universal.js.map +1 -0
- package/build/cjs/src/bookings-calendar-v1-session.http.js +85 -80
- package/build/cjs/src/bookings-calendar-v1-session.http.js.map +1 -1
- package/build/cjs/src/bookings-calendar-v1-session.types.d.ts +2 -4
- package/build/cjs/src/bookings-calendar-v1-session.types.js.map +1 -1
- package/build/cjs/src/bookings-calendar-v1-session.universal.d.ts +2 -4
- package/build/cjs/src/bookings-calendar-v1-session.universal.js +11 -8
- package/build/cjs/src/bookings-calendar-v1-session.universal.js.map +1 -1
- package/build/cjs/src/bookings-calendar-v2-external-calendar.http.js +30 -98
- package/build/cjs/src/bookings-calendar-v2-external-calendar.http.js.map +1 -1
- package/build/cjs/src/bookings-calendar-v2-external-calendar.universal.js +67 -31
- package/build/cjs/src/bookings-calendar-v2-external-calendar.universal.js.map +1 -1
- package/build/cjs/src/bookings-calendar-v2-session-view.http.js +10 -13
- package/build/cjs/src/bookings-calendar-v2-session-view.http.js.map +1 -1
- package/build/cjs/src/bookings-calendar-v2-session-view.types.d.ts +2 -0
- package/build/cjs/src/bookings-calendar-v2-session-view.universal.d.ts +2 -0
- package/build/cjs/src/bookings-calendar-v2-session-view.universal.js +6 -1
- package/build/cjs/src/bookings-calendar-v2-session-view.universal.js.map +1 -1
- package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.http.js +20 -64
- package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.http.js.map +1 -1
- package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.public.d.ts +33 -1
- package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.types.d.ts +6 -7
- package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.types.js.map +1 -1
- package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.universal.d.ts +8 -8
- package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.universal.js +40 -24
- package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.universal.js.map +1 -1
- package/build/cjs/src/bookings-reader-v2-extended-booking.http.js +27 -30
- package/build/cjs/src/bookings-reader-v2-extended-booking.http.js.map +1 -1
- package/build/cjs/src/bookings-reader-v2-extended-booking.types.d.ts +11 -6
- package/build/cjs/src/bookings-reader-v2-extended-booking.types.js.map +1 -1
- package/build/cjs/src/bookings-reader-v2-extended-booking.universal.d.ts +11 -6
- package/build/cjs/src/bookings-reader-v2-extended-booking.universal.js +10 -4
- package/build/cjs/src/bookings-reader-v2-extended-booking.universal.js.map +1 -1
- package/build/cjs/src/bookings-services-v2-service.http.js +192 -161
- package/build/cjs/src/bookings-services-v2-service.http.js.map +1 -1
- package/build/cjs/src/bookings-services-v2-service.public.d.ts +2 -2
- package/build/cjs/src/bookings-services-v2-service.public.js +10 -1
- package/build/cjs/src/bookings-services-v2-service.public.js.map +1 -1
- package/build/cjs/src/bookings-services-v2-service.types.d.ts +624 -40
- package/build/cjs/src/bookings-services-v2-service.types.js +66 -4
- package/build/cjs/src/bookings-services-v2-service.types.js.map +1 -1
- package/build/cjs/src/bookings-services-v2-service.universal.d.ts +658 -57
- package/build/cjs/src/bookings-services-v2-service.universal.js +92 -19
- package/build/cjs/src/bookings-services-v2-service.universal.js.map +1 -1
- package/build/cjs/src/bookings-v2-attendance.http.js +8 -37
- package/build/cjs/src/bookings-v2-attendance.http.js.map +1 -1
- package/build/cjs/src/bookings-v2-attendance.types.d.ts +1 -1
- package/build/cjs/src/bookings-v2-attendance.universal.d.ts +1 -3
- package/build/cjs/src/bookings-v2-attendance.universal.js +19 -12
- package/build/cjs/src/bookings-v2-attendance.universal.js.map +1 -1
- package/build/cjs/src/bookings-v2-booking.http.d.ts +3 -5
- package/build/cjs/src/bookings-v2-booking.http.js +234 -155
- package/build/cjs/src/bookings-v2-booking.http.js.map +1 -1
- package/build/cjs/src/bookings-v2-booking.public.d.ts +1 -1
- package/build/cjs/src/bookings-v2-booking.types.d.ts +28 -8
- package/build/cjs/src/bookings-v2-booking.types.js.map +1 -1
- package/build/cjs/src/bookings-v2-booking.universal.d.ts +31 -13
- package/build/cjs/src/bookings-v2-booking.universal.js +104 -49
- package/build/cjs/src/bookings-v2-booking.universal.js.map +1 -1
- package/build/cjs/src/bookings-v2-price-info.http.js +48 -40
- package/build/cjs/src/bookings-v2-price-info.http.js.map +1 -1
- package/build/cjs/src/bookings-v2-price-info.types.d.ts +7 -1
- package/build/cjs/src/bookings-v2-price-info.types.js.map +1 -1
- package/build/cjs/src/bookings-v2-price-info.universal.d.ts +5 -1
- package/build/cjs/src/bookings-v2-price-info.universal.js +11 -6
- package/build/cjs/src/bookings-v2-price-info.universal.js.map +1 -1
- package/build/es/index.d.ts +5 -3
- package/build/es/index.js +5 -3
- package/build/es/index.js.map +1 -1
- package/build/es/index.typings.d.ts +5 -3
- package/build/es/index.typings.js +5 -3
- package/build/es/index.typings.js.map +1 -1
- package/build/es/meta.d.ts +5 -3
- package/build/es/meta.js +5 -3
- package/build/es/meta.js.map +1 -1
- package/build/es/src/bookings-availability-v1-slot-availability.http.js +12 -10
- package/build/es/src/bookings-availability-v1-slot-availability.http.js.map +1 -1
- package/build/es/src/bookings-availability-v1-slot-availability.types.d.ts +9 -9
- package/build/es/src/bookings-availability-v1-slot-availability.universal.d.ts +14 -9
- package/build/es/src/bookings-availability-v1-slot-availability.universal.js +16 -5
- package/build/es/src/bookings-availability-v1-slot-availability.universal.js.map +1 -1
- package/build/es/src/bookings-availability-v2-time-slot-availability-time-slots.http.d.ts +223 -0
- package/build/es/src/bookings-availability-v2-time-slot-availability-time-slots.http.js +497 -0
- package/build/es/src/bookings-availability-v2-time-slot-availability-time-slots.http.js.map +1 -0
- package/build/es/src/bookings-availability-v2-time-slot-availability-time-slots.meta.d.ts +14 -0
- package/build/es/src/bookings-availability-v2-time-slot-availability-time-slots.meta.js +38 -0
- package/build/es/src/bookings-availability-v2-time-slot-availability-time-slots.meta.js.map +1 -0
- package/build/es/src/bookings-availability-v2-time-slot-availability-time-slots.public.d.ts +9 -0
- package/build/es/src/bookings-availability-v2-time-slot-availability-time-slots.public.js +14 -0
- package/build/es/src/bookings-availability-v2-time-slot-availability-time-slots.public.js.map +1 -0
- package/build/es/src/bookings-availability-v2-time-slot-availability-time-slots.types.d.ts +805 -0
- package/build/es/src/bookings-availability-v2-time-slot-availability-time-slots.types.js +11 -0
- package/build/es/src/bookings-availability-v2-time-slot-availability-time-slots.types.js.map +1 -0
- package/build/es/src/bookings-availability-v2-time-slot-availability-time-slots.universal.d.ts +1106 -0
- package/build/es/src/bookings-availability-v2-time-slot-availability-time-slots.universal.js +338 -0
- package/build/es/src/bookings-availability-v2-time-slot-availability-time-slots.universal.js.map +1 -0
- package/build/es/src/bookings-availability-v2-time-slot-event-time-slots.http.d.ts +223 -0
- package/build/es/src/bookings-availability-v2-time-slot-event-time-slots.http.js +429 -0
- package/build/es/src/bookings-availability-v2-time-slot-event-time-slots.http.js.map +1 -0
- package/build/es/src/bookings-availability-v2-time-slot-event-time-slots.types.d.ts +805 -0
- package/build/es/src/bookings-availability-v2-time-slot-event-time-slots.types.js +11 -0
- package/build/es/src/bookings-availability-v2-time-slot-event-time-slots.types.js.map +1 -0
- package/build/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.http.d.ts +223 -0
- package/build/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.http.js +497 -0
- package/build/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.http.js.map +1 -0
- package/build/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.meta.d.ts +14 -0
- package/build/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.meta.js +38 -0
- package/build/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.meta.js.map +1 -0
- package/build/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.public.d.ts +9 -0
- package/build/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.public.js +14 -0
- package/build/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.public.js.map +1 -0
- package/build/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.types.d.ts +805 -0
- package/build/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.types.js +11 -0
- package/build/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.types.js.map +1 -0
- package/build/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.universal.d.ts +1083 -0
- package/build/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.universal.js +326 -0
- package/build/es/src/bookings-availability-v2-time-slot-multi-service-availability-time-slots.universal.js.map +1 -0
- package/build/es/src/bookings-calendar-v1-session.http.js +85 -80
- package/build/es/src/bookings-calendar-v1-session.http.js.map +1 -1
- package/build/es/src/bookings-calendar-v1-session.types.d.ts +2 -4
- package/build/es/src/bookings-calendar-v1-session.types.js.map +1 -1
- package/build/es/src/bookings-calendar-v1-session.universal.d.ts +2 -4
- package/build/es/src/bookings-calendar-v1-session.universal.js +11 -8
- package/build/es/src/bookings-calendar-v1-session.universal.js.map +1 -1
- package/build/es/src/bookings-calendar-v2-external-calendar.http.js +30 -98
- package/build/es/src/bookings-calendar-v2-external-calendar.http.js.map +1 -1
- package/build/es/src/bookings-calendar-v2-external-calendar.universal.js +68 -32
- package/build/es/src/bookings-calendar-v2-external-calendar.universal.js.map +1 -1
- package/build/es/src/bookings-calendar-v2-session-view.http.js +10 -13
- package/build/es/src/bookings-calendar-v2-session-view.http.js.map +1 -1
- package/build/es/src/bookings-calendar-v2-session-view.types.d.ts +2 -0
- package/build/es/src/bookings-calendar-v2-session-view.universal.d.ts +2 -0
- package/build/es/src/bookings-calendar-v2-session-view.universal.js +7 -2
- package/build/es/src/bookings-calendar-v2-session-view.universal.js.map +1 -1
- package/build/es/src/bookings-catalog-v1-service-options-and-variants.http.js +20 -64
- package/build/es/src/bookings-catalog-v1-service-options-and-variants.http.js.map +1 -1
- package/build/es/src/bookings-catalog-v1-service-options-and-variants.public.d.ts +33 -1
- package/build/es/src/bookings-catalog-v1-service-options-and-variants.types.d.ts +6 -7
- package/build/es/src/bookings-catalog-v1-service-options-and-variants.types.js.map +1 -1
- package/build/es/src/bookings-catalog-v1-service-options-and-variants.universal.d.ts +8 -8
- package/build/es/src/bookings-catalog-v1-service-options-and-variants.universal.js +40 -24
- package/build/es/src/bookings-catalog-v1-service-options-and-variants.universal.js.map +1 -1
- package/build/es/src/bookings-reader-v2-extended-booking.http.js +27 -30
- package/build/es/src/bookings-reader-v2-extended-booking.http.js.map +1 -1
- package/build/es/src/bookings-reader-v2-extended-booking.types.d.ts +11 -6
- package/build/es/src/bookings-reader-v2-extended-booking.types.js.map +1 -1
- package/build/es/src/bookings-reader-v2-extended-booking.universal.d.ts +11 -6
- package/build/es/src/bookings-reader-v2-extended-booking.universal.js +11 -5
- package/build/es/src/bookings-reader-v2-extended-booking.universal.js.map +1 -1
- package/build/es/src/bookings-services-v2-service.http.js +192 -161
- package/build/es/src/bookings-services-v2-service.http.js.map +1 -1
- package/build/es/src/bookings-services-v2-service.public.d.ts +2 -2
- package/build/es/src/bookings-services-v2-service.public.js +1 -1
- package/build/es/src/bookings-services-v2-service.public.js.map +1 -1
- package/build/es/src/bookings-services-v2-service.types.d.ts +624 -40
- package/build/es/src/bookings-services-v2-service.types.js +65 -3
- package/build/es/src/bookings-services-v2-service.types.js.map +1 -1
- package/build/es/src/bookings-services-v2-service.universal.d.ts +658 -57
- package/build/es/src/bookings-services-v2-service.universal.js +91 -18
- package/build/es/src/bookings-services-v2-service.universal.js.map +1 -1
- package/build/es/src/bookings-v2-attendance.http.js +8 -37
- package/build/es/src/bookings-v2-attendance.http.js.map +1 -1
- package/build/es/src/bookings-v2-attendance.types.d.ts +1 -1
- package/build/es/src/bookings-v2-attendance.universal.d.ts +1 -3
- package/build/es/src/bookings-v2-attendance.universal.js +19 -12
- package/build/es/src/bookings-v2-attendance.universal.js.map +1 -1
- package/build/es/src/bookings-v2-booking.http.d.ts +3 -5
- package/build/es/src/bookings-v2-booking.http.js +234 -155
- package/build/es/src/bookings-v2-booking.http.js.map +1 -1
- package/build/es/src/bookings-v2-booking.public.d.ts +1 -1
- package/build/es/src/bookings-v2-booking.types.d.ts +28 -8
- package/build/es/src/bookings-v2-booking.types.js.map +1 -1
- package/build/es/src/bookings-v2-booking.universal.d.ts +31 -13
- package/build/es/src/bookings-v2-booking.universal.js +105 -50
- package/build/es/src/bookings-v2-booking.universal.js.map +1 -1
- package/build/es/src/bookings-v2-price-info.http.js +48 -40
- package/build/es/src/bookings-v2-price-info.http.js.map +1 -1
- package/build/es/src/bookings-v2-price-info.types.d.ts +7 -1
- package/build/es/src/bookings-v2-price-info.types.js.map +1 -1
- package/build/es/src/bookings-v2-price-info.universal.d.ts +5 -1
- package/build/es/src/bookings-v2-price-info.universal.js +12 -7
- package/build/es/src/bookings-v2-price-info.universal.js.map +1 -1
- package/package.json +3 -3
|
@@ -11,15 +11,20 @@ export interface Service {
|
|
|
11
11
|
* @readonly
|
|
12
12
|
*/
|
|
13
13
|
_id?: string | null;
|
|
14
|
-
/**
|
|
14
|
+
/**
|
|
15
|
+
* Service type.
|
|
16
|
+
*
|
|
17
|
+
* Supported Values:
|
|
18
|
+
* - "APPOINTMENT"
|
|
19
|
+
* - "CLASS"
|
|
20
|
+
* - "COURSE"
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
15
23
|
type?: ServiceType;
|
|
16
24
|
/** Order of a service within a category. */
|
|
17
25
|
sortOrder?: number | null;
|
|
18
|
-
/** Service name. */
|
|
19
26
|
name?: string | null;
|
|
20
|
-
/** Service description, such as `High-class hair styling, cuts, straightening and color.` */
|
|
21
27
|
description?: string | null;
|
|
22
|
-
/** Short service description, such as `Hair styling.` */
|
|
23
28
|
tagLine?: string | null;
|
|
24
29
|
/** Default maximum number of customers that can book the service. The service cannot be booked beyond this capacity. */
|
|
25
30
|
defaultCapacity?: number | null;
|
|
@@ -39,9 +44,8 @@ export interface Service {
|
|
|
39
44
|
conferencing?: Conferencing;
|
|
40
45
|
/**
|
|
41
46
|
* The locations this service is offered at.
|
|
42
|
-
*
|
|
47
|
+
* In case of multiple (more than 1) location, All locations must be of type `BUSINESS`.
|
|
43
48
|
* For courses only: Currently, only 1 location is supported, for all location types.
|
|
44
|
-
* Use `setServiceLocations` method to update the locations this service is offered at.
|
|
45
49
|
*/
|
|
46
50
|
locations?: Location[];
|
|
47
51
|
/** Policy 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. */
|
|
@@ -92,11 +96,11 @@ export interface Service {
|
|
|
92
96
|
}
|
|
93
97
|
export declare enum ServiceType {
|
|
94
98
|
UNKNOWN_SERVICE_TYPE = "UNKNOWN_SERVICE_TYPE",
|
|
95
|
-
/**
|
|
99
|
+
/** Service is an appointment. */
|
|
96
100
|
APPOINTMENT = "APPOINTMENT",
|
|
97
|
-
/**
|
|
101
|
+
/** Service is a class. */
|
|
98
102
|
CLASS = "CLASS",
|
|
99
|
-
/**
|
|
103
|
+
/** Service is a course. */
|
|
100
104
|
COURSE = "COURSE"
|
|
101
105
|
}
|
|
102
106
|
export interface Media {
|
|
@@ -796,6 +800,8 @@ export interface ExtendedFields {
|
|
|
796
800
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
797
801
|
*
|
|
798
802
|
* You can only access fields for which you have the appropriate permissions.
|
|
803
|
+
*
|
|
804
|
+
* Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
|
|
799
805
|
*/
|
|
800
806
|
namespaces?: Record<string, Record<string, any>>;
|
|
801
807
|
}
|
|
@@ -1005,8 +1011,6 @@ export interface BulkUpdateServicesRequest {
|
|
|
1005
1011
|
export interface MaskedService {
|
|
1006
1012
|
/** Service to update. [Partial updates](https://dev.wix.com/api/rest/wix-bookings/bookings/patch-endpoints-and-field-masks-in-update-requests) are supported. */
|
|
1007
1013
|
service?: Service;
|
|
1008
|
-
/** Explicit list of fields to update. */
|
|
1009
|
-
mask?: string[];
|
|
1010
1014
|
}
|
|
1011
1015
|
export interface BulkUpdateServicesResponse {
|
|
1012
1016
|
/** The result of each service update. */
|
|
@@ -1017,13 +1021,21 @@ export interface BulkUpdateServicesResponse {
|
|
|
1017
1021
|
export interface DeleteServiceRequest {
|
|
1018
1022
|
/** ID of the service to delete. */
|
|
1019
1023
|
serviceId: string;
|
|
1020
|
-
/**
|
|
1024
|
+
/**
|
|
1025
|
+
* Whether to preserve future sessions with participants.
|
|
1026
|
+
*
|
|
1027
|
+
* Default: `false`
|
|
1028
|
+
*/
|
|
1021
1029
|
preserveFutureSessionsWithParticipants?: boolean;
|
|
1022
1030
|
/** Whether to notify participants about the change and an optional custom message. */
|
|
1023
1031
|
participantNotification?: ParticipantNotification;
|
|
1024
1032
|
}
|
|
1025
1033
|
export interface ParticipantNotification {
|
|
1026
|
-
/**
|
|
1034
|
+
/**
|
|
1035
|
+
* Whether to send the message about the changes to the customer.
|
|
1036
|
+
*
|
|
1037
|
+
* Default: `false`
|
|
1038
|
+
*/
|
|
1027
1039
|
notifyParticipants?: boolean | null;
|
|
1028
1040
|
/** Custom message to send to the participants about the changes to the booking. */
|
|
1029
1041
|
message?: string | null;
|
|
@@ -1032,9 +1044,12 @@ export interface DeleteServiceResponse {
|
|
|
1032
1044
|
}
|
|
1033
1045
|
export interface BulkDeleteServicesRequest {
|
|
1034
1046
|
ids?: string[];
|
|
1035
|
-
/** Whether to preserve future sessions with participants. Optional, default is false. */
|
|
1036
1047
|
preserveFutureSessionsWithParticipants?: boolean;
|
|
1037
|
-
/**
|
|
1048
|
+
/**
|
|
1049
|
+
* Whether to preserve future sessions with participants.
|
|
1050
|
+
*
|
|
1051
|
+
* Default: `false`.
|
|
1052
|
+
*/
|
|
1038
1053
|
participantNotification?: ParticipantNotification;
|
|
1039
1054
|
}
|
|
1040
1055
|
export interface BulkDeleteServicesResponse {
|
|
@@ -1130,16 +1145,234 @@ export interface Cursors {
|
|
|
1130
1145
|
prev?: string | null;
|
|
1131
1146
|
}
|
|
1132
1147
|
export interface SearchServicesRequest {
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
paging
|
|
1148
|
+
search?: CursorSearch;
|
|
1149
|
+
}
|
|
1150
|
+
export interface CursorSearch extends CursorSearchPagingMethodOneOf {
|
|
1151
|
+
/** Cursor pointing to page of results. Can't be used together with 'paging'. 'cursor_paging.cursor' can not be used together with 'filter' or 'sort' */
|
|
1152
|
+
cursorPaging?: CursorPaging;
|
|
1153
|
+
/** A filter object. See documentation [here](https:// bo.wix.com/wix-docs/rnd/platformization-guidelines/api-query-language#platformization-guidelines_api-query-language_defining-in-protobuf) */
|
|
1154
|
+
filter?: Record<string, any> | null;
|
|
1155
|
+
/** Sort object in the form [{"fieldName":"sortField1"},{"fieldName":"sortField2","direction":"DESC"}] */
|
|
1156
|
+
sort?: Sorting[];
|
|
1157
|
+
/** Aggregations | Faceted search: refers to a way to explore large amounts of data by displaying summaries about various partitions of the data and later allowing to narrow the navigation to a specific partition. */
|
|
1158
|
+
aggregations?: Aggregation[];
|
|
1159
|
+
/** Free text to match in searchable fields */
|
|
1160
|
+
search?: SearchDetails;
|
|
1161
|
+
}
|
|
1162
|
+
/** @oneof */
|
|
1163
|
+
export interface CursorSearchPagingMethodOneOf {
|
|
1164
|
+
/** Cursor pointing to page of results. Can't be used together with 'paging'. 'cursor_paging.cursor' can not be used together with 'filter' or 'sort' */
|
|
1165
|
+
cursorPaging?: CursorPaging;
|
|
1166
|
+
}
|
|
1167
|
+
export interface Aggregation extends AggregationKindOneOf {
|
|
1168
|
+
/** Value aggregation */
|
|
1169
|
+
value?: ValueAggregation;
|
|
1170
|
+
/** Range aggregation */
|
|
1171
|
+
range?: RangeAggregation;
|
|
1172
|
+
/** Scalar aggregation */
|
|
1173
|
+
scalar?: ScalarAggregation;
|
|
1174
|
+
/** Name of the aggregation. Optional and can be used as an identifier of the requested aggregation in response. */
|
|
1175
|
+
name?: string | null;
|
|
1176
|
+
/** Aggregation type. Supported values: VALUE, RANGE, SCALAR. */
|
|
1177
|
+
type?: AggregationType;
|
|
1178
|
+
/** Path of the field. For example, "singleResource.locationOptions.availableInAllLocations" */
|
|
1179
|
+
fieldPath?: string;
|
|
1180
|
+
/** Group by aggregation */
|
|
1181
|
+
groupBy?: GroupByAggregation;
|
|
1182
|
+
}
|
|
1183
|
+
/** @oneof */
|
|
1184
|
+
export interface AggregationKindOneOf {
|
|
1185
|
+
/** Value aggregation */
|
|
1186
|
+
value?: ValueAggregation;
|
|
1187
|
+
/** Range aggregation */
|
|
1188
|
+
range?: RangeAggregation;
|
|
1189
|
+
/** Scalar aggregation */
|
|
1190
|
+
scalar?: ScalarAggregation;
|
|
1191
|
+
}
|
|
1192
|
+
export interface RangeBucket {
|
|
1193
|
+
/** Inclusive lower bound of the range. Required if to is not given. */
|
|
1194
|
+
from?: number | null;
|
|
1195
|
+
/** Exclusive upper bound of the range. Required if from is not given. */
|
|
1196
|
+
to?: number | null;
|
|
1197
|
+
}
|
|
1198
|
+
export declare enum SortType {
|
|
1199
|
+
COUNT = "COUNT",
|
|
1200
|
+
VALUE = "VALUE"
|
|
1201
|
+
}
|
|
1202
|
+
export declare enum SortDirection {
|
|
1203
|
+
DESC = "DESC",
|
|
1204
|
+
ASC = "ASC"
|
|
1205
|
+
}
|
|
1206
|
+
export declare enum ScalarType {
|
|
1207
|
+
UNKNOWN_SCALAR_TYPE = "UNKNOWN_SCALAR_TYPE",
|
|
1208
|
+
COUNT_DISTINCT = "COUNT_DISTINCT",
|
|
1209
|
+
MIN = "MIN",
|
|
1210
|
+
MAX = "MAX",
|
|
1211
|
+
SUM = "SUM",
|
|
1212
|
+
AVG = "AVG"
|
|
1213
|
+
}
|
|
1214
|
+
export interface ValueAggregation {
|
|
1215
|
+
/** Sort type. Can be COUNT or VALUE. COUNT is the default. */
|
|
1216
|
+
sortType?: SortType;
|
|
1217
|
+
/** Sort direction. Can be DESC or ASC. DESC is the default. */
|
|
1218
|
+
sortDirection?: SortDirection;
|
|
1219
|
+
/** How many aggregations would you like to return? Can be between 1 and 250. 10 is the default. */
|
|
1220
|
+
limit?: number | null;
|
|
1221
|
+
}
|
|
1222
|
+
export declare enum AggregationType {
|
|
1223
|
+
UNKNOWN_AGGREGATION_TYPE = "UNKNOWN_AGGREGATION_TYPE",
|
|
1224
|
+
VALUE = "VALUE",
|
|
1225
|
+
RANGE = "RANGE",
|
|
1226
|
+
SCALAR = "SCALAR"
|
|
1227
|
+
}
|
|
1228
|
+
export interface RangeAggregation {
|
|
1229
|
+
/** Range buckets */
|
|
1230
|
+
buckets?: RangeBucket[];
|
|
1231
|
+
}
|
|
1232
|
+
export interface ScalarAggregation {
|
|
1233
|
+
/** Scalar type */
|
|
1234
|
+
type?: ScalarType;
|
|
1235
|
+
}
|
|
1236
|
+
export interface GroupByAggregation extends GroupByAggregationKindOneOf {
|
|
1237
|
+
/** Value aggregation */
|
|
1238
|
+
value?: ValueAggregation;
|
|
1239
|
+
/** Name of the GroupByAggregation. Optional and can be used as an identifier of the requested aggregation in response. */
|
|
1240
|
+
name?: string | null;
|
|
1241
|
+
/** Path of the field to group by. For example, "type" */
|
|
1242
|
+
fieldPath?: string;
|
|
1243
|
+
}
|
|
1244
|
+
/** @oneof */
|
|
1245
|
+
export interface GroupByAggregationKindOneOf {
|
|
1246
|
+
/** Value aggregation */
|
|
1247
|
+
value?: ValueAggregation;
|
|
1248
|
+
}
|
|
1249
|
+
export interface SearchDetails {
|
|
1250
|
+
/** Boolean search mode */
|
|
1251
|
+
mode?: Mode;
|
|
1252
|
+
/** Search term or expression */
|
|
1253
|
+
expression?: string | null;
|
|
1254
|
+
/** Fields to search in. If empty - server will search in own default fields */
|
|
1255
|
+
fields?: string[];
|
|
1256
|
+
/** Flag if should use auto fuzzy search (allowing typos by a managed proximity algorithm) */
|
|
1257
|
+
fuzzy?: boolean;
|
|
1258
|
+
}
|
|
1259
|
+
export declare enum Mode {
|
|
1260
|
+
/** Any */
|
|
1261
|
+
OR = "OR",
|
|
1262
|
+
/** All */
|
|
1263
|
+
AND = "AND"
|
|
1137
1264
|
}
|
|
1138
1265
|
export interface SearchServicesResponse {
|
|
1139
1266
|
/** The retrieved services. */
|
|
1140
1267
|
services?: Service[];
|
|
1141
|
-
/**
|
|
1142
|
-
pagingMetadata?:
|
|
1268
|
+
/** Cursor paging metadata */
|
|
1269
|
+
pagingMetadata?: CursorPagingMetadata;
|
|
1270
|
+
/** Response aggregation data */
|
|
1271
|
+
aggregationData?: AggregationData;
|
|
1272
|
+
}
|
|
1273
|
+
export interface CursorPagingMetadata {
|
|
1274
|
+
/** Number of items returned in the response. */
|
|
1275
|
+
count?: number | null;
|
|
1276
|
+
/** Use these cursor to paginate between results. [Read more](https://dev.wix.com/api/rest/getting-started/api-query-language#getting-started_api-query-language_cursor-paging). */
|
|
1277
|
+
cursors?: Cursors;
|
|
1278
|
+
/**
|
|
1279
|
+
* Indicates if there are more results after the current page.
|
|
1280
|
+
* If `true`, another page of results can be retrieved.
|
|
1281
|
+
* If `false`, this is the last page.
|
|
1282
|
+
*/
|
|
1283
|
+
hasNext?: boolean | null;
|
|
1284
|
+
}
|
|
1285
|
+
export interface AggregationData {
|
|
1286
|
+
/** Key = aggregation name (as derived from search request) */
|
|
1287
|
+
results?: AggregationResults[];
|
|
1288
|
+
}
|
|
1289
|
+
export interface ValueAggregationResult {
|
|
1290
|
+
/** Value */
|
|
1291
|
+
value?: string;
|
|
1292
|
+
/** Count */
|
|
1293
|
+
count?: number;
|
|
1294
|
+
}
|
|
1295
|
+
export interface RangeAggregationResult {
|
|
1296
|
+
/** Inclusive lower bound of the range. */
|
|
1297
|
+
from?: number | null;
|
|
1298
|
+
/** Exclusive upper bound of the range. */
|
|
1299
|
+
to?: number | null;
|
|
1300
|
+
/** Count */
|
|
1301
|
+
count?: number;
|
|
1302
|
+
}
|
|
1303
|
+
export interface NestedAggregationResults extends NestedAggregationResultsResultOneOf {
|
|
1304
|
+
/** Value results */
|
|
1305
|
+
values?: ValueResults;
|
|
1306
|
+
/** Range results */
|
|
1307
|
+
ranges?: RangeResults;
|
|
1308
|
+
/** Scalar result */
|
|
1309
|
+
scalar?: ScalarResult;
|
|
1310
|
+
/** Name of the requested nested aggregation. */
|
|
1311
|
+
name?: string;
|
|
1312
|
+
/** Aggregation type. Supported values: VALUE, RANGE, SCALAR. */
|
|
1313
|
+
type?: AggregationType;
|
|
1314
|
+
/** Path of the field. For example, "singleResource.locationOptions.availableInAllLocations" */
|
|
1315
|
+
fieldPath?: string;
|
|
1316
|
+
}
|
|
1317
|
+
/** @oneof */
|
|
1318
|
+
export interface NestedAggregationResultsResultOneOf {
|
|
1319
|
+
/** Value results */
|
|
1320
|
+
values?: ValueResults;
|
|
1321
|
+
/** Range results */
|
|
1322
|
+
ranges?: RangeResults;
|
|
1323
|
+
/** Scalar result */
|
|
1324
|
+
scalar?: ScalarResult;
|
|
1325
|
+
}
|
|
1326
|
+
export interface ValueResults {
|
|
1327
|
+
/** Value aggregation results */
|
|
1328
|
+
results?: ValueAggregationResult[];
|
|
1329
|
+
}
|
|
1330
|
+
export interface RangeResults {
|
|
1331
|
+
/** Aggregation results */
|
|
1332
|
+
results?: RangeAggregationResult[];
|
|
1333
|
+
}
|
|
1334
|
+
export interface ScalarResult {
|
|
1335
|
+
/** Scalar type */
|
|
1336
|
+
type?: ScalarType;
|
|
1337
|
+
/** Value */
|
|
1338
|
+
value?: number;
|
|
1339
|
+
}
|
|
1340
|
+
export interface NestedValueAggregationResult {
|
|
1341
|
+
/** Value */
|
|
1342
|
+
value?: string;
|
|
1343
|
+
/** Nested results */
|
|
1344
|
+
nestedResults?: NestedAggregationResults;
|
|
1345
|
+
}
|
|
1346
|
+
export interface GroupByValueResults {
|
|
1347
|
+
/** Nested value aggregation results */
|
|
1348
|
+
results?: NestedValueAggregationResult[];
|
|
1349
|
+
}
|
|
1350
|
+
export interface AggregationResults extends AggregationResultsResultOneOf {
|
|
1351
|
+
/** Value results */
|
|
1352
|
+
values?: ValueResults;
|
|
1353
|
+
/** Range results */
|
|
1354
|
+
ranges?: RangeResults;
|
|
1355
|
+
/** Scalar result */
|
|
1356
|
+
scalar?: ScalarResult;
|
|
1357
|
+
/** Group by value results */
|
|
1358
|
+
groupedByValue?: GroupByValueResults;
|
|
1359
|
+
/** Name of the requested aggregation. */
|
|
1360
|
+
name?: string;
|
|
1361
|
+
/** Aggregation type. Supported values: VALUE, RANGE, SCALAR. */
|
|
1362
|
+
type?: AggregationType;
|
|
1363
|
+
/** Path of the field. For example, "singleResource.locationOptions.availableInAllLocations" */
|
|
1364
|
+
fieldPath?: string;
|
|
1365
|
+
}
|
|
1366
|
+
/** @oneof */
|
|
1367
|
+
export interface AggregationResultsResultOneOf {
|
|
1368
|
+
/** Value results */
|
|
1369
|
+
values?: ValueResults;
|
|
1370
|
+
/** Range results */
|
|
1371
|
+
ranges?: RangeResults;
|
|
1372
|
+
/** Scalar result */
|
|
1373
|
+
scalar?: ScalarResult;
|
|
1374
|
+
/** Group by value results */
|
|
1375
|
+
groupedByValue?: GroupByValueResults;
|
|
1143
1376
|
}
|
|
1144
1377
|
export interface QueryPoliciesRequest {
|
|
1145
1378
|
/** WQL expression. */
|
|
@@ -1184,18 +1417,6 @@ export interface BookingPolicyWithServices {
|
|
|
1184
1417
|
/** The number of services associated with the booking policy. */
|
|
1185
1418
|
countOfServices?: number;
|
|
1186
1419
|
}
|
|
1187
|
-
export interface CursorPagingMetadata {
|
|
1188
|
-
/** Number of items returned in the response. */
|
|
1189
|
-
count?: number | null;
|
|
1190
|
-
/** Use these cursor to paginate between results. [Read more](https://dev.wix.com/api/rest/getting-started/api-query-language#getting-started_api-query-language_cursor-paging). */
|
|
1191
|
-
cursors?: Cursors;
|
|
1192
|
-
/**
|
|
1193
|
-
* Indicates if there are more results after the current page.
|
|
1194
|
-
* If `true`, another page of results can be retrieved.
|
|
1195
|
-
* If `false`, this is the last page.
|
|
1196
|
-
*/
|
|
1197
|
-
hasNext?: boolean | null;
|
|
1198
|
-
}
|
|
1199
1420
|
export interface CountServicesRequest {
|
|
1200
1421
|
/** The filters for performing the count. */
|
|
1201
1422
|
filter?: Record<string, any> | null;
|
|
@@ -1212,20 +1433,22 @@ export interface CategoryNotification {
|
|
|
1212
1433
|
/** Categories are used to group multiple services together. A service must be associated with a category in order to be exposed in the Wix Bookings UI. */
|
|
1213
1434
|
export interface Category {
|
|
1214
1435
|
/**
|
|
1215
|
-
* Category ID.
|
|
1436
|
+
* Category ID.
|
|
1216
1437
|
* @readonly
|
|
1217
1438
|
*/
|
|
1218
1439
|
_id?: string | null;
|
|
1219
1440
|
/** Category name. */
|
|
1220
1441
|
name?: string | null;
|
|
1221
|
-
/** Custom properties that can be associated with the category. */
|
|
1222
|
-
customProperties?: Record<string, string>;
|
|
1223
1442
|
/**
|
|
1224
|
-
* Category status
|
|
1443
|
+
* Category status.
|
|
1444
|
+
* Supported values:
|
|
1445
|
+
* - "CREATED". The category is created.
|
|
1446
|
+
* - "DELETED". The category is deleted.
|
|
1447
|
+
* Default: "CREATED"
|
|
1225
1448
|
* @readonly
|
|
1226
1449
|
*/
|
|
1227
1450
|
status?: Status;
|
|
1228
|
-
/**
|
|
1451
|
+
/** Sort order of the category in the Dashboard. */
|
|
1229
1452
|
sortOrder?: number | null;
|
|
1230
1453
|
}
|
|
1231
1454
|
export declare enum Status {
|
|
@@ -1302,6 +1525,8 @@ export interface EntityUpdatedEvent {
|
|
|
1302
1525
|
currentEntityAsJson?: string;
|
|
1303
1526
|
}
|
|
1304
1527
|
export interface EntityDeletedEvent {
|
|
1528
|
+
/** Entity that was deleted */
|
|
1529
|
+
deletedEntityAsJson?: string | null;
|
|
1305
1530
|
}
|
|
1306
1531
|
export interface ActionEvent {
|
|
1307
1532
|
bodyAsJson?: string;
|
|
@@ -2425,6 +2650,250 @@ export declare enum BenefitNotificationEvent {
|
|
|
2425
2650
|
Deleted = "Deleted",
|
|
2426
2651
|
Created = "Created"
|
|
2427
2652
|
}
|
|
2653
|
+
export interface UserDomainInfoChangedEvent {
|
|
2654
|
+
domainName?: string;
|
|
2655
|
+
crudType?: CrudType;
|
|
2656
|
+
metaSiteId?: string | null;
|
|
2657
|
+
changeTime?: Date;
|
|
2658
|
+
}
|
|
2659
|
+
export declare enum CrudType {
|
|
2660
|
+
INVALID_CRUD_TYPE = "INVALID_CRUD_TYPE",
|
|
2661
|
+
CREATE = "CREATE",
|
|
2662
|
+
UPDATE = "UPDATE",
|
|
2663
|
+
DELETE = "DELETE",
|
|
2664
|
+
/** Unfortunately this action is used by hibernate save in wix-war */
|
|
2665
|
+
CREATE_OR_UPDATE = "CREATE_OR_UPDATE"
|
|
2666
|
+
}
|
|
2667
|
+
export interface HtmlSitePublished {
|
|
2668
|
+
/** Application instance ID */
|
|
2669
|
+
appInstanceId?: string;
|
|
2670
|
+
/** Application type */
|
|
2671
|
+
appType?: string;
|
|
2672
|
+
/** Revision */
|
|
2673
|
+
revision?: string;
|
|
2674
|
+
/** MSID */
|
|
2675
|
+
metaSiteId?: string | null;
|
|
2676
|
+
/** optional branch id if publish is done from branch */
|
|
2677
|
+
branchId?: string | null;
|
|
2678
|
+
/** The site's last transactionId */
|
|
2679
|
+
lastTransactionId?: string | null;
|
|
2680
|
+
/** A list of the site's pages */
|
|
2681
|
+
pages?: Page[];
|
|
2682
|
+
/** Site's publish date */
|
|
2683
|
+
publishDate?: string;
|
|
2684
|
+
}
|
|
2685
|
+
export interface Page {
|
|
2686
|
+
/** Page's Id */
|
|
2687
|
+
_id?: string;
|
|
2688
|
+
}
|
|
2689
|
+
/** Encapsulates all details written to the Greyhound topic when a site's properties are updated. */
|
|
2690
|
+
export interface SitePropertiesNotification {
|
|
2691
|
+
/** The site ID for which this update notification applies. */
|
|
2692
|
+
metasiteId?: string;
|
|
2693
|
+
/** The actual update event. */
|
|
2694
|
+
event?: SitePropertiesEvent;
|
|
2695
|
+
/** A convenience set of mappings from the MetaSite ID to its constituent services. */
|
|
2696
|
+
translations?: Translation[];
|
|
2697
|
+
/** Context of the notification */
|
|
2698
|
+
changeContext?: ChangeContext;
|
|
2699
|
+
}
|
|
2700
|
+
/** The actual update event for a particular notification. */
|
|
2701
|
+
export interface SitePropertiesEvent {
|
|
2702
|
+
/** Version of the site's properties represented by this update. */
|
|
2703
|
+
version?: number;
|
|
2704
|
+
/** Updated properties. */
|
|
2705
|
+
properties?: Properties;
|
|
2706
|
+
}
|
|
2707
|
+
export interface Properties {
|
|
2708
|
+
/** Site categories. */
|
|
2709
|
+
categories?: Categories;
|
|
2710
|
+
/** Site locale. */
|
|
2711
|
+
locale?: Locale;
|
|
2712
|
+
/**
|
|
2713
|
+
* Site language.
|
|
2714
|
+
*
|
|
2715
|
+
* Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.
|
|
2716
|
+
*/
|
|
2717
|
+
language?: string | null;
|
|
2718
|
+
/**
|
|
2719
|
+
* Site currency format used to bill customers.
|
|
2720
|
+
*
|
|
2721
|
+
* Three-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
|
|
2722
|
+
*/
|
|
2723
|
+
paymentCurrency?: string | null;
|
|
2724
|
+
/** Timezone in `America/New_York` format. */
|
|
2725
|
+
timeZone?: string | null;
|
|
2726
|
+
/** Email address. */
|
|
2727
|
+
email?: string | null;
|
|
2728
|
+
/** Phone number. */
|
|
2729
|
+
phone?: string | null;
|
|
2730
|
+
/** Fax number. */
|
|
2731
|
+
fax?: string | null;
|
|
2732
|
+
/** Address. */
|
|
2733
|
+
address?: V4Address;
|
|
2734
|
+
/** Site display name. */
|
|
2735
|
+
siteDisplayName?: string | null;
|
|
2736
|
+
/** Business name. */
|
|
2737
|
+
businessName?: string | null;
|
|
2738
|
+
/** Path to the site's logo in Wix Media (without Wix Media base URL). */
|
|
2739
|
+
logo?: string | null;
|
|
2740
|
+
/** Site description. */
|
|
2741
|
+
description?: string | null;
|
|
2742
|
+
/**
|
|
2743
|
+
* Business schedule. Regular and exceptional time periods when the business is open or the service is available.
|
|
2744
|
+
*
|
|
2745
|
+
* __Note:__ Not supported by Wix Bookings.
|
|
2746
|
+
*/
|
|
2747
|
+
businessSchedule?: BusinessSchedule;
|
|
2748
|
+
/** Supported languages of a site and the primary language. */
|
|
2749
|
+
multilingual?: Multilingual;
|
|
2750
|
+
/** Cookie policy the site owner defined for their site (before the users interacts with/limits it). */
|
|
2751
|
+
consentPolicy?: ConsentPolicy;
|
|
2752
|
+
/**
|
|
2753
|
+
* Supported values: `FITNESS SERVICE`, `RESTAURANT`, `BLOG`, `STORE`, `EVENT`, `UNKNOWN`.
|
|
2754
|
+
*
|
|
2755
|
+
* Site business type.
|
|
2756
|
+
*/
|
|
2757
|
+
businessConfig?: string | null;
|
|
2758
|
+
/** External site url that uses Wix as its headless business solution */
|
|
2759
|
+
externalSiteUrl?: string | null;
|
|
2760
|
+
/** Track clicks analytics */
|
|
2761
|
+
trackClicksAnalytics?: boolean;
|
|
2762
|
+
}
|
|
2763
|
+
export interface Categories {
|
|
2764
|
+
/** Primary site category. */
|
|
2765
|
+
primary?: string;
|
|
2766
|
+
/** Secondary site category. */
|
|
2767
|
+
secondary?: string[];
|
|
2768
|
+
/** Business Term Id */
|
|
2769
|
+
businessTermId?: string | null;
|
|
2770
|
+
}
|
|
2771
|
+
export interface Locale {
|
|
2772
|
+
/** Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. */
|
|
2773
|
+
languageCode?: string;
|
|
2774
|
+
/** Two-letter country code in [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) format. */
|
|
2775
|
+
country?: string;
|
|
2776
|
+
}
|
|
2777
|
+
export interface V4Address {
|
|
2778
|
+
/** Street name. */
|
|
2779
|
+
street?: string;
|
|
2780
|
+
/** City name. */
|
|
2781
|
+
city?: string;
|
|
2782
|
+
/** Two-letter country code in an [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. */
|
|
2783
|
+
country?: string;
|
|
2784
|
+
/** State. */
|
|
2785
|
+
state?: string;
|
|
2786
|
+
/** Zip or postal code. */
|
|
2787
|
+
zip?: string;
|
|
2788
|
+
/** Extra information to be displayed in the address. */
|
|
2789
|
+
hint?: AddressHint;
|
|
2790
|
+
/** Whether this address represents a physical location. */
|
|
2791
|
+
isPhysical?: boolean;
|
|
2792
|
+
/** Google-formatted version of this address. */
|
|
2793
|
+
googleFormattedAddress?: string;
|
|
2794
|
+
/** Street number. */
|
|
2795
|
+
streetNumber?: string;
|
|
2796
|
+
/** Apartment number. */
|
|
2797
|
+
apartmentNumber?: string;
|
|
2798
|
+
/** Geographic coordinates of location. */
|
|
2799
|
+
coordinates?: GeoCoordinates;
|
|
2800
|
+
}
|
|
2801
|
+
/**
|
|
2802
|
+
* Extra information on displayed addresses.
|
|
2803
|
+
* This is used for display purposes. Used to add additional data about the address, such as "In the passage".
|
|
2804
|
+
* Free text. In addition the user can state where he wants that additional description - before, after, or instead
|
|
2805
|
+
* the address string.
|
|
2806
|
+
*/
|
|
2807
|
+
export interface AddressHint {
|
|
2808
|
+
/** Extra text displayed next to, or instead of, the actual address. */
|
|
2809
|
+
text?: string;
|
|
2810
|
+
/** Where the extra text should be displayed. */
|
|
2811
|
+
placement?: PlacementType;
|
|
2812
|
+
}
|
|
2813
|
+
/** Where the extra text should be displayed: before, after or instead of the actual address. */
|
|
2814
|
+
export declare enum PlacementType {
|
|
2815
|
+
BEFORE = "BEFORE",
|
|
2816
|
+
AFTER = "AFTER",
|
|
2817
|
+
REPLACE = "REPLACE"
|
|
2818
|
+
}
|
|
2819
|
+
/** Geocoordinates for a particular address. */
|
|
2820
|
+
export interface GeoCoordinates {
|
|
2821
|
+
/** Latitude of the location. Must be between -90 and 90. */
|
|
2822
|
+
latitude?: number;
|
|
2823
|
+
/** Longitude of the location. Must be between -180 and 180. */
|
|
2824
|
+
longitude?: number;
|
|
2825
|
+
}
|
|
2826
|
+
export interface Multilingual {
|
|
2827
|
+
/** Supported languages list. */
|
|
2828
|
+
supportedLanguages?: SupportedLanguage[];
|
|
2829
|
+
/** Whether to redirect to user language. */
|
|
2830
|
+
autoRedirect?: boolean;
|
|
2831
|
+
}
|
|
2832
|
+
export interface SupportedLanguage {
|
|
2833
|
+
/** Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. */
|
|
2834
|
+
languageCode?: string;
|
|
2835
|
+
/** Locale. */
|
|
2836
|
+
locale?: Locale;
|
|
2837
|
+
/** Whether the supported language is the primary language for the site. */
|
|
2838
|
+
isPrimary?: boolean;
|
|
2839
|
+
/** Language icon. */
|
|
2840
|
+
countryCode?: string;
|
|
2841
|
+
/** How the language will be resolved. For internal use. */
|
|
2842
|
+
resolutionMethod?: ResolutionMethod;
|
|
2843
|
+
}
|
|
2844
|
+
export declare enum ResolutionMethod {
|
|
2845
|
+
QUERY_PARAM = "QUERY_PARAM",
|
|
2846
|
+
SUBDOMAIN = "SUBDOMAIN",
|
|
2847
|
+
SUBDIRECTORY = "SUBDIRECTORY"
|
|
2848
|
+
}
|
|
2849
|
+
export interface ConsentPolicy {
|
|
2850
|
+
/** Whether the site uses cookies that are essential to site operation. */
|
|
2851
|
+
essential?: boolean | null;
|
|
2852
|
+
/** Whether the site uses cookies that affect site performance and other functional measurements. */
|
|
2853
|
+
functional?: boolean | null;
|
|
2854
|
+
/** Whether the site uses cookies that collect analytics about how the site is used (in order to improve it). */
|
|
2855
|
+
analytics?: boolean | null;
|
|
2856
|
+
/** Whether the site uses cookies that collect information allowing better customization of the experience for a current visitor. */
|
|
2857
|
+
advertising?: boolean | null;
|
|
2858
|
+
/** CCPA compliance flag. */
|
|
2859
|
+
dataToThirdParty?: boolean | null;
|
|
2860
|
+
}
|
|
2861
|
+
/** A single mapping from the MetaSite ID to a particular service. */
|
|
2862
|
+
export interface Translation {
|
|
2863
|
+
/** The service type. */
|
|
2864
|
+
serviceType?: string;
|
|
2865
|
+
/** The application definition ID; this only applies to services of type ThirdPartyApps. */
|
|
2866
|
+
appDefId?: string;
|
|
2867
|
+
/** The instance ID of the service. */
|
|
2868
|
+
instanceId?: string;
|
|
2869
|
+
}
|
|
2870
|
+
export interface ChangeContext extends ChangeContextPayloadOneOf {
|
|
2871
|
+
/** Properties were updated. */
|
|
2872
|
+
propertiesChange?: PropertiesChange;
|
|
2873
|
+
/** Default properties were created on site creation. */
|
|
2874
|
+
siteCreated?: SiteCreated;
|
|
2875
|
+
/** Properties were cloned on site cloning. */
|
|
2876
|
+
siteCloned?: SiteCloned;
|
|
2877
|
+
}
|
|
2878
|
+
/** @oneof */
|
|
2879
|
+
export interface ChangeContextPayloadOneOf {
|
|
2880
|
+
/** Properties were updated. */
|
|
2881
|
+
propertiesChange?: PropertiesChange;
|
|
2882
|
+
/** Default properties were created on site creation. */
|
|
2883
|
+
siteCreated?: SiteCreated;
|
|
2884
|
+
/** Properties were cloned on site cloning. */
|
|
2885
|
+
siteCloned?: SiteCloned;
|
|
2886
|
+
}
|
|
2887
|
+
export interface PropertiesChange {
|
|
2888
|
+
}
|
|
2889
|
+
export interface SiteCreated {
|
|
2890
|
+
/** Origin template site id. */
|
|
2891
|
+
originTemplateId?: string | null;
|
|
2892
|
+
}
|
|
2893
|
+
export interface SiteCloned {
|
|
2894
|
+
/** Origin site id. */
|
|
2895
|
+
originMetaSiteId?: string;
|
|
2896
|
+
}
|
|
2428
2897
|
export interface SetServiceLocationsRequest {
|
|
2429
2898
|
/** ID of the service. */
|
|
2430
2899
|
serviceId?: string;
|
|
@@ -2479,9 +2948,9 @@ export interface EnablePricingPlansForServiceRequest {
|
|
|
2479
2948
|
pricingPlanIds?: string[];
|
|
2480
2949
|
}
|
|
2481
2950
|
export interface EnablePricingPlansForServiceResponse {
|
|
2482
|
-
/** IDs of the pricing plans
|
|
2951
|
+
/** IDs of the pricing plans connected to the service. */
|
|
2483
2952
|
pricingPlanIds?: string[];
|
|
2484
|
-
/** The service after the pricing plans update */
|
|
2953
|
+
/** The service after the pricing plans update. */
|
|
2485
2954
|
service?: Service;
|
|
2486
2955
|
}
|
|
2487
2956
|
export interface InvalidPricingPlan {
|
|
@@ -2497,7 +2966,7 @@ export interface DisablePricingPlansForServiceRequest {
|
|
|
2497
2966
|
pricingPlanIds?: string[];
|
|
2498
2967
|
}
|
|
2499
2968
|
export interface DisablePricingPlansForServiceResponse {
|
|
2500
|
-
/** The service after the pricing plans update */
|
|
2969
|
+
/** The service after the pricing plans update. */
|
|
2501
2970
|
service?: Service;
|
|
2502
2971
|
}
|
|
2503
2972
|
export interface SetCustomSlugRequest {
|
|
@@ -2560,6 +3029,129 @@ export declare enum CloneErrors {
|
|
|
2560
3029
|
/** Failed to clone pricing plans connected to the source service */
|
|
2561
3030
|
PRICING_PLANS = "PRICING_PLANS"
|
|
2562
3031
|
}
|
|
3032
|
+
export interface MultiServiceEnabledNotification {
|
|
3033
|
+
}
|
|
3034
|
+
export interface PlanEvent extends PlanEventEventOneOf {
|
|
3035
|
+
created?: PlanCreated;
|
|
3036
|
+
updated?: PlanUpdated;
|
|
3037
|
+
archived?: PlanArchived;
|
|
3038
|
+
}
|
|
3039
|
+
/** @oneof */
|
|
3040
|
+
export interface PlanEventEventOneOf {
|
|
3041
|
+
created?: PlanCreated;
|
|
3042
|
+
updated?: PlanUpdated;
|
|
3043
|
+
archived?: PlanArchived;
|
|
3044
|
+
}
|
|
3045
|
+
export interface PlanCreated {
|
|
3046
|
+
plan?: Plan;
|
|
3047
|
+
}
|
|
3048
|
+
export interface Plan {
|
|
3049
|
+
/**
|
|
3050
|
+
* Plan id.
|
|
3051
|
+
* @readonly
|
|
3052
|
+
*/
|
|
3053
|
+
_id?: string;
|
|
3054
|
+
/**
|
|
3055
|
+
* Id of role/group in groups and permissions for service that is provided for the plan subscriber.
|
|
3056
|
+
* @readonly
|
|
3057
|
+
*/
|
|
3058
|
+
roleId?: string;
|
|
3059
|
+
details?: PlanDetails;
|
|
3060
|
+
paymentOptions?: PlansPaymentOptions;
|
|
3061
|
+
/** If true, the plan is visible. */
|
|
3062
|
+
visible?: boolean;
|
|
3063
|
+
/**
|
|
3064
|
+
* Indicates whether plan is archived.
|
|
3065
|
+
* @readonly
|
|
3066
|
+
*/
|
|
3067
|
+
archived?: boolean;
|
|
3068
|
+
/**
|
|
3069
|
+
* If true, the plan is marked as primary.
|
|
3070
|
+
* @readonly
|
|
3071
|
+
*/
|
|
3072
|
+
primary?: boolean;
|
|
3073
|
+
/**
|
|
3074
|
+
* Indicates whether plan has orders.
|
|
3075
|
+
* @readonly
|
|
3076
|
+
*/
|
|
3077
|
+
hasOrders?: boolean;
|
|
3078
|
+
/**
|
|
3079
|
+
* Date when plan was created.
|
|
3080
|
+
* @readonly
|
|
3081
|
+
*/
|
|
3082
|
+
dateCreated?: Date;
|
|
3083
|
+
/**
|
|
3084
|
+
* Date when plan was last updated.
|
|
3085
|
+
* @readonly
|
|
3086
|
+
*/
|
|
3087
|
+
dateUpdated?: Date;
|
|
3088
|
+
slug?: string;
|
|
3089
|
+
/**
|
|
3090
|
+
* The plan is created from the templates (meaning it was created automatically with the site’s creation, not by the site owner).
|
|
3091
|
+
* @readonly
|
|
3092
|
+
*/
|
|
3093
|
+
template?: boolean;
|
|
3094
|
+
/** Limits on the possible purchase */
|
|
3095
|
+
purchaseLimitations?: PurchaseLimitations;
|
|
3096
|
+
/** Member is allowed to cancel his/her plan. If no value is given it's set to true. */
|
|
3097
|
+
memberCanCancel?: boolean | null;
|
|
3098
|
+
/** Buyer can pick a later start date than the time of purchase. */
|
|
3099
|
+
buyerCanPickFutureStartDate?: boolean | null;
|
|
3100
|
+
}
|
|
3101
|
+
export interface PlanDetails {
|
|
3102
|
+
/** Plan name. */
|
|
3103
|
+
name?: string;
|
|
3104
|
+
/** Plan description. */
|
|
3105
|
+
description?: string;
|
|
3106
|
+
/** Plan ribbon allows to show additional information for the plan i.e. ‘Best deal’. */
|
|
3107
|
+
ribbon?: string;
|
|
3108
|
+
/** Plan benefits. */
|
|
3109
|
+
benefits?: string[];
|
|
3110
|
+
/** Any terms & conditions that apply to the plan. This information will be displayed on the plan’s checkout screen. */
|
|
3111
|
+
disclaimer?: string | null;
|
|
3112
|
+
clientData?: Record<string, string>;
|
|
3113
|
+
}
|
|
3114
|
+
export interface PlansPaymentOptions {
|
|
3115
|
+
price?: V1Money;
|
|
3116
|
+
/** Recurring payments are payments billed Weekly, Monthly or Yearly. False - payment is one time; true - price is deducted from UoU every week, month or year. */
|
|
3117
|
+
recurring?: boolean;
|
|
3118
|
+
validFor?: Validity;
|
|
3119
|
+
/** Free trial period for the plan is in days only. It’s available only for recurring plans. */
|
|
3120
|
+
freeTrialDays?: number | null;
|
|
3121
|
+
}
|
|
3122
|
+
export interface V1Money {
|
|
3123
|
+
/** Monetary amount i.e. 3.99. */
|
|
3124
|
+
amount?: string;
|
|
3125
|
+
/** Currency in ISO 4217 format i.e. USD. */
|
|
3126
|
+
currency?: string;
|
|
3127
|
+
}
|
|
3128
|
+
export interface Validity {
|
|
3129
|
+
/** If true, plan is valid until canceled. */
|
|
3130
|
+
forever?: boolean;
|
|
3131
|
+
period?: Period;
|
|
3132
|
+
}
|
|
3133
|
+
export interface Period {
|
|
3134
|
+
/** The amount of Days, Months, Weeks or Years. */
|
|
3135
|
+
amount?: number;
|
|
3136
|
+
unit?: PeriodUnit;
|
|
3137
|
+
}
|
|
3138
|
+
export declare enum PeriodUnit {
|
|
3139
|
+
MONTH = "MONTH",
|
|
3140
|
+
DAY = "DAY",
|
|
3141
|
+
WEEK = "WEEK",
|
|
3142
|
+
YEAR = "YEAR"
|
|
3143
|
+
}
|
|
3144
|
+
export interface PurchaseLimitations {
|
|
3145
|
+
/** Number of times plan can be purchased. If plan has no limits value should be NULL */
|
|
3146
|
+
amount?: number | null;
|
|
3147
|
+
}
|
|
3148
|
+
export interface PlanUpdated {
|
|
3149
|
+
plan?: Plan;
|
|
3150
|
+
previousPlan?: Plan;
|
|
3151
|
+
}
|
|
3152
|
+
export interface PlanArchived {
|
|
3153
|
+
plan?: Plan;
|
|
3154
|
+
}
|
|
2563
3155
|
export interface CreateServiceResponseNonNullableFields {
|
|
2564
3156
|
service?: {
|
|
2565
3157
|
type: ServiceType;
|
|
@@ -3153,15 +3745,20 @@ export interface UpdateService {
|
|
|
3153
3745
|
* @readonly
|
|
3154
3746
|
*/
|
|
3155
3747
|
_id?: string | null;
|
|
3156
|
-
/**
|
|
3748
|
+
/**
|
|
3749
|
+
* Service type.
|
|
3750
|
+
*
|
|
3751
|
+
* Supported Values:
|
|
3752
|
+
* - "APPOINTMENT"
|
|
3753
|
+
* - "CLASS"
|
|
3754
|
+
* - "COURSE"
|
|
3755
|
+
*
|
|
3756
|
+
*/
|
|
3157
3757
|
type?: ServiceType;
|
|
3158
3758
|
/** Order of a service within a category. */
|
|
3159
3759
|
sortOrder?: number | null;
|
|
3160
|
-
/** Service name. */
|
|
3161
3760
|
name?: string | null;
|
|
3162
|
-
/** Service description, such as `High-class hair styling, cuts, straightening and color.` */
|
|
3163
3761
|
description?: string | null;
|
|
3164
|
-
/** Short service description, such as `Hair styling.` */
|
|
3165
3762
|
tagLine?: string | null;
|
|
3166
3763
|
/** Default maximum number of customers that can book the service. The service cannot be booked beyond this capacity. */
|
|
3167
3764
|
defaultCapacity?: number | null;
|
|
@@ -3181,9 +3778,8 @@ export interface UpdateService {
|
|
|
3181
3778
|
conferencing?: Conferencing;
|
|
3182
3779
|
/**
|
|
3183
3780
|
* The locations this service is offered at.
|
|
3184
|
-
*
|
|
3781
|
+
* In case of multiple (more than 1) location, All locations must be of type `BUSINESS`.
|
|
3185
3782
|
* For courses only: Currently, only 1 location is supported, for all location types.
|
|
3186
|
-
* Use `setServiceLocations` method to update the locations this service is offered at.
|
|
3187
3783
|
*/
|
|
3188
3784
|
locations?: Location[];
|
|
3189
3785
|
/** Policy 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. */
|
|
@@ -3238,13 +3834,18 @@ export interface UpdateService {
|
|
|
3238
3834
|
* @public
|
|
3239
3835
|
* @documentationMaturity preview
|
|
3240
3836
|
* @requiredField serviceId
|
|
3837
|
+
* @param options - Allows you to configure how to handle the deleted service's future sessions and how to notify the sessions participants.
|
|
3241
3838
|
* @permissionScope Manage Bookings
|
|
3242
3839
|
* @permissionScope Manage Bookings - all permissions
|
|
3243
3840
|
* @applicableIdentity APP
|
|
3244
3841
|
*/
|
|
3245
3842
|
export declare function deleteService(serviceId: string, options?: DeleteServiceOptions): Promise<void>;
|
|
3246
3843
|
export interface DeleteServiceOptions {
|
|
3247
|
-
/**
|
|
3844
|
+
/**
|
|
3845
|
+
* Whether to preserve future sessions with participants.
|
|
3846
|
+
*
|
|
3847
|
+
* Default: `false`
|
|
3848
|
+
*/
|
|
3248
3849
|
preserveFutureSessionsWithParticipants?: boolean;
|
|
3249
3850
|
/** Whether to notify participants about the change and an optional custom message. */
|
|
3250
3851
|
participantNotification?: ParticipantNotification;
|
|
@@ -3275,9 +3876,9 @@ export declare function queryServices(options?: QueryServicesOptions): ServicesQ
|
|
|
3275
3876
|
export interface QueryServicesOptions {
|
|
3276
3877
|
}
|
|
3277
3878
|
interface QueryOffsetResult {
|
|
3278
|
-
currentPage: number;
|
|
3279
|
-
totalPages: number;
|
|
3280
|
-
totalCount: number;
|
|
3879
|
+
currentPage: number | undefined;
|
|
3880
|
+
totalPages: number | undefined;
|
|
3881
|
+
totalCount: number | undefined;
|
|
3281
3882
|
hasNext: () => boolean;
|
|
3282
3883
|
hasPrev: () => boolean;
|
|
3283
3884
|
length: number;
|
|
@@ -3294,31 +3895,31 @@ export interface ServicesQueryBuilder {
|
|
|
3294
3895
|
* @param value - Value to compare against.
|
|
3295
3896
|
* @documentationMaturity preview
|
|
3296
3897
|
*/
|
|
3297
|
-
eq: (propertyName: 'type' | 'name' | 'description' | 'tagLine' | 'hidden' | 'category.id' | 'form.id' | 'payment.options.online' | 'payment.options.inPerson' | 'payment.options.pricingPlan' | 'onlineBooking.enabled' | 'locations.business.id' | 'staffMemberIds' | 'supportedSlugs.name' | 'mainSlug.name', value: any) => ServicesQueryBuilder;
|
|
3898
|
+
eq: (propertyName: 'type' | 'name' | 'description' | 'tagLine' | 'hidden' | 'category.id' | 'category.name' | 'form.id' | 'payment.options.online' | 'payment.options.inPerson' | 'payment.options.pricingPlan' | 'onlineBooking.enabled' | 'locations.business.id' | 'staffMemberIds' | 'supportedSlugs.name' | 'mainSlug.name', value: any) => ServicesQueryBuilder;
|
|
3298
3899
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
3299
3900
|
* @param value - Value to compare against.
|
|
3300
3901
|
* @documentationMaturity preview
|
|
3301
3902
|
*/
|
|
3302
|
-
ne: (propertyName: 'type' | 'name' | 'description' | 'tagLine' | 'hidden' | 'category.id' | 'form.id' | 'payment.options.online' | 'payment.options.inPerson' | 'payment.options.pricingPlan' | 'onlineBooking.enabled' | 'locations.business.id' | 'staffMemberIds' | 'supportedSlugs.name' | 'mainSlug.name', value: any) => ServicesQueryBuilder;
|
|
3903
|
+
ne: (propertyName: 'type' | 'name' | 'description' | 'tagLine' | 'hidden' | 'category.id' | 'category.name' | 'form.id' | 'payment.options.online' | 'payment.options.inPerson' | 'payment.options.pricingPlan' | 'onlineBooking.enabled' | 'locations.business.id' | 'staffMemberIds' | 'supportedSlugs.name' | 'mainSlug.name', value: any) => ServicesQueryBuilder;
|
|
3303
3904
|
/** @param propertyName - Property whose value is compared with `string`.
|
|
3304
3905
|
* @param string - String to compare against. Case-insensitive.
|
|
3305
3906
|
* @documentationMaturity preview
|
|
3306
3907
|
*/
|
|
3307
|
-
startsWith: (propertyName: 'name' | 'description' | 'tagLine' | 'category.id' | 'form.id' | 'locations.business.id' | 'supportedSlugs.name' | 'mainSlug.name', value: string) => ServicesQueryBuilder;
|
|
3908
|
+
startsWith: (propertyName: 'name' | 'description' | 'tagLine' | 'category.id' | 'category.name' | 'form.id' | 'locations.business.id' | 'supportedSlugs.name' | 'mainSlug.name', value: string) => ServicesQueryBuilder;
|
|
3308
3909
|
/** @param propertyName - Property whose value is compared with `values`.
|
|
3309
3910
|
* @param values - List of values to compare against.
|
|
3310
3911
|
* @documentationMaturity preview
|
|
3311
3912
|
*/
|
|
3312
|
-
hasSome: (propertyName: 'type' | 'name' | 'description' | 'tagLine' | 'hidden' | 'category.id' | 'form.id' | 'payment.options.online' | 'payment.options.inPerson' | 'payment.options.pricingPlan' | 'onlineBooking.enabled' | 'locations.business.id' | 'staffMemberIds' | 'supportedSlugs.name' | 'mainSlug.name', value: any[]) => ServicesQueryBuilder;
|
|
3913
|
+
hasSome: (propertyName: 'type' | 'name' | 'description' | 'tagLine' | 'hidden' | 'category.id' | 'category.name' | 'form.id' | 'payment.options.online' | 'payment.options.inPerson' | 'payment.options.pricingPlan' | 'onlineBooking.enabled' | 'locations.business.id' | 'staffMemberIds' | 'supportedSlugs.name' | 'mainSlug.name', value: any[]) => ServicesQueryBuilder;
|
|
3313
3914
|
/** @param propertyName - Property whose value is compared with `values`.
|
|
3314
3915
|
* @param values - List of values to compare against.
|
|
3315
3916
|
* @documentationMaturity preview
|
|
3316
3917
|
*/
|
|
3317
3918
|
hasAll: (propertyName: 'staffMemberIds', value: any[]) => ServicesQueryBuilder;
|
|
3318
3919
|
/** @documentationMaturity preview */
|
|
3319
|
-
in: (propertyName: 'type' | 'name' | 'description' | 'tagLine' | 'hidden' | 'category.id' | 'form.id' | 'payment.options.online' | 'payment.options.inPerson' | 'payment.options.pricingPlan' | 'onlineBooking.enabled' | 'locations.business.id' | 'staffMemberIds' | 'supportedSlugs.name' | 'mainSlug.name', value: any) => ServicesQueryBuilder;
|
|
3920
|
+
in: (propertyName: 'type' | 'name' | 'description' | 'tagLine' | 'hidden' | 'category.id' | 'category.name' | 'form.id' | 'payment.options.online' | 'payment.options.inPerson' | 'payment.options.pricingPlan' | 'onlineBooking.enabled' | 'locations.business.id' | 'staffMemberIds' | 'supportedSlugs.name' | 'mainSlug.name', value: any) => ServicesQueryBuilder;
|
|
3320
3921
|
/** @documentationMaturity preview */
|
|
3321
|
-
exists: (propertyName: 'type' | 'name' | 'description' | 'tagLine' | 'hidden' | 'category.id' | 'form.id' | 'payment.options.online' | 'payment.options.inPerson' | 'payment.options.pricingPlan' | 'onlineBooking.enabled' | 'locations.business.id' | 'staffMemberIds' | 'supportedSlugs.name' | 'mainSlug.name', value: boolean) => ServicesQueryBuilder;
|
|
3922
|
+
exists: (propertyName: 'type' | 'name' | 'description' | 'tagLine' | 'hidden' | 'category.id' | 'category.name' | 'form.id' | 'payment.options.online' | 'payment.options.inPerson' | 'payment.options.pricingPlan' | 'onlineBooking.enabled' | 'locations.business.id' | 'staffMemberIds' | 'supportedSlugs.name' | 'mainSlug.name', value: boolean) => ServicesQueryBuilder;
|
|
3322
3923
|
/** @param limit - Number of items to return, which is also the `pageSize` of the results object.
|
|
3323
3924
|
* @documentationMaturity preview
|
|
3324
3925
|
*/
|