@wix/auto_sdk_bookings_services 1.0.34 → 1.0.36
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 +1 -0
- package/build/cjs/index.js +18 -0
- package/build/cjs/index.js.map +1 -0
- package/build/cjs/index.typings.d.ts +1 -0
- package/build/cjs/index.typings.js +18 -0
- package/build/cjs/index.typings.js.map +1 -0
- package/build/cjs/meta.d.ts +1 -0
- package/build/cjs/meta.js +18 -0
- package/build/cjs/meta.js.map +1 -0
- package/build/cjs/src/bookings-services-v2-service-services.context.d.ts +41 -0
- package/build/cjs/src/bookings-services-v2-service-services.context.js +82 -0
- package/build/cjs/src/bookings-services-v2-service-services.context.js.map +1 -0
- package/build/cjs/src/bookings-services-v2-service-services.http.d.ts +489 -0
- package/build/cjs/src/bookings-services-v2-service-services.http.js +1797 -0
- package/build/cjs/src/bookings-services-v2-service-services.http.js.map +1 -0
- package/build/cjs/src/bookings-services-v2-service-services.meta.d.ts +47 -0
- package/build/cjs/src/bookings-services-v2-service-services.meta.js +427 -0
- package/build/cjs/src/bookings-services-v2-service-services.meta.js.map +1 -0
- package/build/{internal/index.d.ts → cjs/src/bookings-services-v2-service-services.public.d.ts} +30 -62
- package/build/cjs/src/bookings-services-v2-service-services.public.js +304 -0
- package/build/cjs/src/bookings-services-v2-service-services.public.js.map +1 -0
- package/build/{bookings-services-v2-service-services.universal-Dn8Flkdi.d.mts → cjs/src/bookings-services-v2-service-services.types.d.ts} +429 -729
- package/build/cjs/src/bookings-services-v2-service-services.types.js +349 -0
- package/build/cjs/src/bookings-services-v2-service-services.types.js.map +1 -0
- package/build/cjs/src/bookings-services-v2-service-services.universal.d.ts +5239 -0
- package/build/cjs/src/bookings-services-v2-service-services.universal.js +2252 -0
- package/build/cjs/src/bookings-services-v2-service-services.universal.js.map +1 -0
- package/build/es/index.d.ts +1 -0
- package/build/es/index.js +2 -0
- package/build/es/index.js.map +1 -0
- package/build/es/index.typings.d.ts +1 -0
- package/build/es/index.typings.js +2 -0
- package/build/es/index.typings.js.map +1 -0
- package/build/es/meta.d.ts +1 -0
- package/build/es/meta.js +2 -0
- package/build/es/meta.js.map +1 -0
- package/build/es/package.json +3 -0
- package/build/es/src/bookings-services-v2-service-services.context.d.ts +41 -0
- package/build/es/src/bookings-services-v2-service-services.context.js +41 -0
- package/build/es/src/bookings-services-v2-service-services.context.js.map +1 -0
- package/build/es/src/bookings-services-v2-service-services.http.d.ts +489 -0
- package/build/es/src/bookings-services-v2-service-services.http.js +1773 -0
- package/build/es/src/bookings-services-v2-service-services.http.js.map +1 -0
- package/build/es/src/bookings-services-v2-service-services.meta.d.ts +47 -0
- package/build/es/src/bookings-services-v2-service-services.meta.js +380 -0
- package/build/es/src/bookings-services-v2-service-services.meta.js.map +1 -0
- package/build/{index.d.ts → es/src/bookings-services-v2-service-services.public.d.ts} +30 -62
- package/build/es/src/bookings-services-v2-service-services.public.js +242 -0
- package/build/es/src/bookings-services-v2-service-services.public.js.map +1 -0
- package/build/{bookings-services-v2-service-services.universal-Dn8Flkdi.d.ts → es/src/bookings-services-v2-service-services.types.d.ts} +429 -729
- package/build/es/src/bookings-services-v2-service-services.types.js +346 -0
- package/build/es/src/bookings-services-v2-service-services.types.js.map +1 -0
- package/build/es/src/bookings-services-v2-service-services.universal.d.ts +5239 -0
- package/build/es/src/bookings-services-v2-service-services.universal.js +2204 -0
- package/build/es/src/bookings-services-v2-service-services.universal.js.map +1 -0
- package/build/internal/cjs/index.d.ts +1 -0
- package/build/internal/cjs/index.js +18 -0
- package/build/internal/cjs/index.js.map +1 -0
- package/build/internal/cjs/index.typings.d.ts +1 -0
- package/build/internal/cjs/index.typings.js +18 -0
- package/build/internal/cjs/index.typings.js.map +1 -0
- package/build/internal/cjs/meta.d.ts +1 -0
- package/build/internal/cjs/meta.js +18 -0
- package/build/internal/cjs/meta.js.map +1 -0
- package/build/internal/cjs/src/bookings-services-v2-service-services.context.d.ts +41 -0
- package/build/internal/cjs/src/bookings-services-v2-service-services.context.js +82 -0
- package/build/internal/cjs/src/bookings-services-v2-service-services.context.js.map +1 -0
- package/build/internal/cjs/src/bookings-services-v2-service-services.http.d.ts +489 -0
- package/build/internal/cjs/src/bookings-services-v2-service-services.http.js +1797 -0
- package/build/internal/cjs/src/bookings-services-v2-service-services.http.js.map +1 -0
- package/build/internal/cjs/src/bookings-services-v2-service-services.meta.d.ts +47 -0
- package/build/internal/cjs/src/bookings-services-v2-service-services.meta.js +427 -0
- package/build/internal/cjs/src/bookings-services-v2-service-services.meta.js.map +1 -0
- package/build/internal/{index.d.mts → cjs/src/bookings-services-v2-service-services.public.d.ts} +30 -62
- package/build/internal/cjs/src/bookings-services-v2-service-services.public.js +304 -0
- package/build/internal/cjs/src/bookings-services-v2-service-services.public.js.map +1 -0
- package/build/internal/{bookings-services-v2-service-services.universal-Dn8Flkdi.d.ts → cjs/src/bookings-services-v2-service-services.types.d.ts} +429 -729
- package/build/internal/cjs/src/bookings-services-v2-service-services.types.js +349 -0
- package/build/internal/cjs/src/bookings-services-v2-service-services.types.js.map +1 -0
- package/build/internal/cjs/src/bookings-services-v2-service-services.universal.d.ts +5239 -0
- package/build/internal/cjs/src/bookings-services-v2-service-services.universal.js +2252 -0
- package/build/internal/cjs/src/bookings-services-v2-service-services.universal.js.map +1 -0
- package/build/internal/es/index.d.ts +1 -0
- package/build/internal/es/index.js +2 -0
- package/build/internal/es/index.js.map +1 -0
- package/build/internal/es/index.typings.d.ts +1 -0
- package/build/internal/es/index.typings.js +2 -0
- package/build/internal/es/index.typings.js.map +1 -0
- package/build/internal/es/meta.d.ts +1 -0
- package/build/internal/es/meta.js +2 -0
- package/build/internal/es/meta.js.map +1 -0
- package/build/internal/es/src/bookings-services-v2-service-services.context.d.ts +41 -0
- package/build/internal/es/src/bookings-services-v2-service-services.context.js +41 -0
- package/build/internal/es/src/bookings-services-v2-service-services.context.js.map +1 -0
- package/build/internal/es/src/bookings-services-v2-service-services.http.d.ts +489 -0
- package/build/internal/es/src/bookings-services-v2-service-services.http.js +1773 -0
- package/build/internal/es/src/bookings-services-v2-service-services.http.js.map +1 -0
- package/build/internal/es/src/bookings-services-v2-service-services.meta.d.ts +47 -0
- package/build/internal/es/src/bookings-services-v2-service-services.meta.js +380 -0
- package/build/internal/es/src/bookings-services-v2-service-services.meta.js.map +1 -0
- package/build/{index.d.mts → internal/es/src/bookings-services-v2-service-services.public.d.ts} +30 -62
- package/build/internal/es/src/bookings-services-v2-service-services.public.js +242 -0
- package/build/internal/es/src/bookings-services-v2-service-services.public.js.map +1 -0
- package/build/internal/{bookings-services-v2-service-services.universal-Dn8Flkdi.d.mts → es/src/bookings-services-v2-service-services.types.d.ts} +429 -729
- package/build/internal/es/src/bookings-services-v2-service-services.types.js +346 -0
- package/build/internal/es/src/bookings-services-v2-service-services.types.js.map +1 -0
- package/build/internal/es/src/bookings-services-v2-service-services.universal.d.ts +5239 -0
- package/build/internal/es/src/bookings-services-v2-service-services.universal.js +2204 -0
- package/build/internal/es/src/bookings-services-v2-service-services.universal.js.map +1 -0
- package/package.json +11 -12
- package/build/index.js +0 -3208
- package/build/index.js.map +0 -1
- package/build/index.mjs +0 -3124
- package/build/index.mjs.map +0 -1
- package/build/internal/index.js +0 -3208
- package/build/internal/index.js.map +0 -1
- package/build/internal/index.mjs +0 -3124
- package/build/internal/index.mjs.map +0 -1
- package/build/internal/meta.d.mts +0 -2302
- package/build/internal/meta.d.ts +0 -2302
- package/build/internal/meta.js +0 -1761
- package/build/internal/meta.js.map +0 -1
- package/build/internal/meta.mjs +0 -1714
- package/build/internal/meta.mjs.map +0 -1
- package/build/meta.d.mts +0 -2302
- package/build/meta.d.ts +0 -2302
- package/build/meta.js +0 -1761
- package/build/meta.js.map +0 -1
- package/build/meta.mjs +0 -1714
- package/build/meta.mjs.map +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/** The `service` object represents an offering that a business provides to its customers. */
|
|
2
|
-
interface Service {
|
|
2
|
+
export interface Service {
|
|
3
3
|
/**
|
|
4
4
|
* Service ID.
|
|
5
5
|
* @format GUID
|
|
6
6
|
* @readonly
|
|
7
7
|
*/
|
|
8
|
-
|
|
8
|
+
id?: string | null;
|
|
9
9
|
/**
|
|
10
10
|
* Service type.
|
|
11
11
|
* Learn more about *service types*
|
|
@@ -122,12 +122,12 @@ interface Service {
|
|
|
122
122
|
* Date and time the service was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.
|
|
123
123
|
* @readonly
|
|
124
124
|
*/
|
|
125
|
-
|
|
125
|
+
createdDate?: Date | null;
|
|
126
126
|
/**
|
|
127
127
|
* Date and time the service was updated in `YYYY-MM-DDThh:mm:ss.sssZ` format.
|
|
128
128
|
* @readonly
|
|
129
129
|
*/
|
|
130
|
-
|
|
130
|
+
updatedDate?: Date | null;
|
|
131
131
|
/**
|
|
132
132
|
* Revision number, which increments by 1 each time the service is updated. To
|
|
133
133
|
* prevent conflicting changes, the existing revision must be used when updating
|
|
@@ -136,7 +136,7 @@ interface Service {
|
|
|
136
136
|
*/
|
|
137
137
|
revision?: string | null;
|
|
138
138
|
}
|
|
139
|
-
declare enum ServiceType {
|
|
139
|
+
export declare enum ServiceType {
|
|
140
140
|
/** Appointment-based service. */
|
|
141
141
|
APPOINTMENT = "APPOINTMENT",
|
|
142
142
|
/** Class service. */
|
|
@@ -144,7 +144,7 @@ declare enum ServiceType {
|
|
|
144
144
|
/** Course service. */
|
|
145
145
|
COURSE = "COURSE"
|
|
146
146
|
}
|
|
147
|
-
interface Media {
|
|
147
|
+
export interface Media {
|
|
148
148
|
/**
|
|
149
149
|
* Media items associated with the service.
|
|
150
150
|
* @maxSize 100
|
|
@@ -155,21 +155,48 @@ interface Media {
|
|
|
155
155
|
/** Cover media associated with the service. */
|
|
156
156
|
coverMedia?: MediaItem;
|
|
157
157
|
}
|
|
158
|
-
interface MediaItem extends MediaItemItemOneOf {
|
|
158
|
+
export interface MediaItem extends MediaItemItemOneOf {
|
|
159
159
|
/** Details of the image associated with the service, such as URL and size. */
|
|
160
|
-
image?:
|
|
160
|
+
image?: Image;
|
|
161
161
|
}
|
|
162
162
|
/** @oneof */
|
|
163
|
-
interface MediaItemItemOneOf {
|
|
163
|
+
export interface MediaItemItemOneOf {
|
|
164
164
|
/** Details of the image associated with the service, such as URL and size. */
|
|
165
|
-
image?:
|
|
165
|
+
image?: Image;
|
|
166
166
|
}
|
|
167
|
-
interface
|
|
167
|
+
export interface Image {
|
|
168
|
+
/**
|
|
169
|
+
* WixMedia image ID. (e.g. "4b3901ffcb8d7ad81a613779d92c9702.jpg")
|
|
170
|
+
* @maxLength 2048
|
|
171
|
+
*/
|
|
172
|
+
id?: string;
|
|
173
|
+
/**
|
|
174
|
+
* Image URL. (similar to image.id e.g. "4b3901ffcb8d7ad81a613779d92c9702.jpg")
|
|
175
|
+
* @maxLength 2048
|
|
176
|
+
*/
|
|
177
|
+
url?: string;
|
|
178
|
+
/** Original image height. */
|
|
179
|
+
height?: number;
|
|
180
|
+
/** Original image width. */
|
|
181
|
+
width?: number;
|
|
182
|
+
/**
|
|
183
|
+
* Image alt text.
|
|
184
|
+
* @maxLength 134061
|
|
185
|
+
*/
|
|
186
|
+
altText?: string | null;
|
|
187
|
+
/**
|
|
188
|
+
* Image file name.
|
|
189
|
+
* @readonly
|
|
190
|
+
* @maxLength 2048
|
|
191
|
+
*/
|
|
192
|
+
filename?: string | null;
|
|
193
|
+
}
|
|
194
|
+
export interface V2Category {
|
|
168
195
|
/**
|
|
169
196
|
* Category ID.
|
|
170
197
|
* @format GUID
|
|
171
198
|
*/
|
|
172
|
-
|
|
199
|
+
id?: string;
|
|
173
200
|
/**
|
|
174
201
|
* Category name.
|
|
175
202
|
* @maxLength 500
|
|
@@ -182,20 +209,20 @@ interface V2Category {
|
|
|
182
209
|
*/
|
|
183
210
|
sortOrder?: number | null;
|
|
184
211
|
}
|
|
185
|
-
interface Form {
|
|
212
|
+
export interface Form {
|
|
186
213
|
/**
|
|
187
214
|
* ID of the form associated with the service.
|
|
188
215
|
* The form information that you submit when booking includes contact details, participants, and other form fields set up for the service.
|
|
189
216
|
* You can manage the service booking form fields using the Bookings Forms API.
|
|
190
217
|
* @format GUID
|
|
191
218
|
*/
|
|
192
|
-
|
|
219
|
+
id?: string;
|
|
193
220
|
}
|
|
194
|
-
interface FormSettings {
|
|
221
|
+
export interface FormSettings {
|
|
195
222
|
/** Whether the service booking form should be hidden from the site. */
|
|
196
223
|
hidden?: boolean | null;
|
|
197
224
|
}
|
|
198
|
-
interface Payment extends PaymentRateOneOf {
|
|
225
|
+
export interface Payment extends PaymentRateOneOf {
|
|
199
226
|
/**
|
|
200
227
|
* The details for the fixed price of the service.
|
|
201
228
|
*
|
|
@@ -228,7 +255,7 @@ interface Payment extends PaymentRateOneOf {
|
|
|
228
255
|
pricingPlanIds?: string[];
|
|
229
256
|
}
|
|
230
257
|
/** @oneof */
|
|
231
|
-
interface PaymentRateOneOf {
|
|
258
|
+
export interface PaymentRateOneOf {
|
|
232
259
|
/**
|
|
233
260
|
* The details for the fixed price of the service.
|
|
234
261
|
*
|
|
@@ -249,7 +276,7 @@ interface PaymentRateOneOf {
|
|
|
249
276
|
*/
|
|
250
277
|
varied?: VariedPayment;
|
|
251
278
|
}
|
|
252
|
-
declare enum RateType {
|
|
279
|
+
export declare enum RateType {
|
|
253
280
|
/** Unknown rate type. */
|
|
254
281
|
UNKNOWN_RATE_TYPE = "UNKNOWN_RATE_TYPE",
|
|
255
282
|
/** The service has a fixed price. */
|
|
@@ -261,7 +288,7 @@ declare enum RateType {
|
|
|
261
288
|
/** This service is offered free of charge. */
|
|
262
289
|
NO_FEE = "NO_FEE"
|
|
263
290
|
}
|
|
264
|
-
interface FixedPayment {
|
|
291
|
+
export interface FixedPayment {
|
|
265
292
|
/**
|
|
266
293
|
* The fixed price required to book the service.
|
|
267
294
|
*
|
|
@@ -279,7 +306,7 @@ interface FixedPayment {
|
|
|
279
306
|
* Money.
|
|
280
307
|
* Default format to use. Sufficiently compliant with majority of standards: w3c, ISO 4217, ISO 20022, ISO 8583:2003.
|
|
281
308
|
*/
|
|
282
|
-
interface Money {
|
|
309
|
+
export interface Money {
|
|
283
310
|
/**
|
|
284
311
|
* Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99). Optionally, a single (-), to indicate that the amount is negative.
|
|
285
312
|
* @format DECIMAL_VALUE
|
|
@@ -298,14 +325,14 @@ interface Money {
|
|
|
298
325
|
*/
|
|
299
326
|
formattedValue?: string | null;
|
|
300
327
|
}
|
|
301
|
-
interface CustomPayment {
|
|
328
|
+
export interface CustomPayment {
|
|
302
329
|
/**
|
|
303
330
|
* A custom description explaining to the customer how to pay for the service.
|
|
304
331
|
* @maxLength 50
|
|
305
332
|
*/
|
|
306
333
|
description?: string | null;
|
|
307
334
|
}
|
|
308
|
-
interface VariedPayment {
|
|
335
|
+
export interface VariedPayment {
|
|
309
336
|
/** The default price for the service without any variants. It will also be used as the default price for any new variant. */
|
|
310
337
|
defaultPrice?: Money;
|
|
311
338
|
/**
|
|
@@ -325,7 +352,7 @@ interface VariedPayment {
|
|
|
325
352
|
*/
|
|
326
353
|
maxPrice?: Money;
|
|
327
354
|
}
|
|
328
|
-
interface PaymentOptions {
|
|
355
|
+
export interface PaymentOptions {
|
|
329
356
|
/**
|
|
330
357
|
* Customers can pay for the service online.
|
|
331
358
|
* When `true`:
|
|
@@ -345,7 +372,7 @@ interface PaymentOptions {
|
|
|
345
372
|
/** Customers can pay for the service using a pricing plan. */
|
|
346
373
|
pricingPlan?: boolean | null;
|
|
347
374
|
}
|
|
348
|
-
interface OnlineBooking {
|
|
375
|
+
export interface OnlineBooking {
|
|
349
376
|
/**
|
|
350
377
|
* Whether the service can be booked online.
|
|
351
378
|
* When set to `true`, customers can book the service online. Configure the payment options via the `service.payment` property.
|
|
@@ -357,11 +384,11 @@ interface OnlineBooking {
|
|
|
357
384
|
/** Multiple customers can request to book the same time slot. This is relevant when `requireManualApproval` is `true`. */
|
|
358
385
|
allowMultipleRequests?: boolean | null;
|
|
359
386
|
}
|
|
360
|
-
interface Conferencing {
|
|
387
|
+
export interface Conferencing {
|
|
361
388
|
/** Whether a conference link is generated for the service's sessions. */
|
|
362
389
|
enabled?: boolean | null;
|
|
363
390
|
}
|
|
364
|
-
interface V2Location extends V2LocationOptionsOneOf {
|
|
391
|
+
export interface V2Location extends V2LocationOptionsOneOf {
|
|
365
392
|
/** Information about business locations. */
|
|
366
393
|
business?: BusinessLocationOptions;
|
|
367
394
|
/** Information about custom locations. */
|
|
@@ -371,7 +398,7 @@ interface V2Location extends V2LocationOptionsOneOf {
|
|
|
371
398
|
* @format GUID
|
|
372
399
|
* @readonly
|
|
373
400
|
*/
|
|
374
|
-
|
|
401
|
+
id?: string;
|
|
375
402
|
/**
|
|
376
403
|
* Location type.
|
|
377
404
|
*
|
|
@@ -385,13 +412,13 @@ interface V2Location extends V2LocationOptionsOneOf {
|
|
|
385
412
|
calculatedAddress?: CommonAddress;
|
|
386
413
|
}
|
|
387
414
|
/** @oneof */
|
|
388
|
-
interface V2LocationOptionsOneOf {
|
|
415
|
+
export interface V2LocationOptionsOneOf {
|
|
389
416
|
/** Information about business locations. */
|
|
390
417
|
business?: BusinessLocationOptions;
|
|
391
418
|
/** Information about custom locations. */
|
|
392
419
|
custom?: CustomLocationOptions;
|
|
393
420
|
}
|
|
394
|
-
declare enum LocationTypeEnumLocationType {
|
|
421
|
+
export declare enum LocationTypeEnumLocationType {
|
|
395
422
|
UNKNOWN_LOCATION_TYPE = "UNKNOWN_LOCATION_TYPE",
|
|
396
423
|
/**
|
|
397
424
|
* Location set by the business that is not a standard business *location*
|
|
@@ -409,11 +436,11 @@ declare enum LocationTypeEnumLocationType {
|
|
|
409
436
|
*/
|
|
410
437
|
CUSTOMER = "CUSTOMER"
|
|
411
438
|
}
|
|
412
|
-
interface CommonAddress extends CommonAddressStreetOneOf {
|
|
439
|
+
export interface CommonAddress extends CommonAddressStreetOneOf {
|
|
413
440
|
/** Street name and number. */
|
|
414
441
|
streetAddress?: CommonStreetAddress;
|
|
415
442
|
/** @maxLength 255 */
|
|
416
|
-
|
|
443
|
+
addressLine?: string | null;
|
|
417
444
|
/**
|
|
418
445
|
* 2-letter country code in an [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.
|
|
419
446
|
* @format COUNTRY
|
|
@@ -438,17 +465,17 @@ interface CommonAddress extends CommonAddressStreetOneOf {
|
|
|
438
465
|
* Full address of the location.
|
|
439
466
|
* @maxLength 512
|
|
440
467
|
*/
|
|
441
|
-
|
|
468
|
+
formattedAddress?: string | null;
|
|
442
469
|
}
|
|
443
470
|
/** @oneof */
|
|
444
|
-
interface CommonAddressStreetOneOf {
|
|
471
|
+
export interface CommonAddressStreetOneOf {
|
|
445
472
|
/** Street name and number. */
|
|
446
473
|
streetAddress?: CommonStreetAddress;
|
|
447
474
|
/** @maxLength 255 */
|
|
448
475
|
addressLine?: string | null;
|
|
449
476
|
}
|
|
450
477
|
/** Street address. Includes street name, number, and apartment number in separate fields. */
|
|
451
|
-
interface CommonStreetAddress {
|
|
478
|
+
export interface CommonStreetAddress {
|
|
452
479
|
/**
|
|
453
480
|
* Street number.
|
|
454
481
|
* @maxLength 255
|
|
@@ -465,20 +492,20 @@ interface CommonStreetAddress {
|
|
|
465
492
|
*/
|
|
466
493
|
apt?: string;
|
|
467
494
|
}
|
|
468
|
-
interface CommonAddressLocation {
|
|
495
|
+
export interface CommonAddressLocation {
|
|
469
496
|
/** Address latitude. */
|
|
470
497
|
latitude?: number | null;
|
|
471
498
|
/** Address longitude. */
|
|
472
499
|
longitude?: number | null;
|
|
473
500
|
}
|
|
474
|
-
interface BusinessLocationOptions {
|
|
501
|
+
export interface BusinessLocationOptions {
|
|
475
502
|
/**
|
|
476
503
|
* ID of the business *location*
|
|
477
504
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction)).
|
|
478
505
|
* When setting a business location, specify only the location ID. Other location details are overwritten.
|
|
479
506
|
* @format GUID
|
|
480
507
|
*/
|
|
481
|
-
|
|
508
|
+
id?: string;
|
|
482
509
|
/**
|
|
483
510
|
* Business location name.
|
|
484
511
|
* @readonly
|
|
@@ -508,13 +535,13 @@ interface BusinessLocationOptions {
|
|
|
508
535
|
*/
|
|
509
536
|
phone?: string | null;
|
|
510
537
|
}
|
|
511
|
-
interface CustomLocationOptions {
|
|
538
|
+
export interface CustomLocationOptions {
|
|
512
539
|
/**
|
|
513
540
|
* ID of the custom location.
|
|
514
541
|
* @format GUID
|
|
515
542
|
* @readonly
|
|
516
543
|
*/
|
|
517
|
-
|
|
544
|
+
id?: string;
|
|
518
545
|
/** Address of the custom location. */
|
|
519
546
|
address?: CommonAddress;
|
|
520
547
|
}
|
|
@@ -544,22 +571,22 @@ interface CustomLocationOptions {
|
|
|
544
571
|
*
|
|
545
572
|
* Partial updates are supported on the main entity level, however in order to update a sub-policy the client needs to provide the whole sub-policy object.
|
|
546
573
|
*/
|
|
547
|
-
interface BookingPolicy {
|
|
574
|
+
export interface BookingPolicy {
|
|
548
575
|
/**
|
|
549
576
|
* The ID to the policy for the booking.
|
|
550
577
|
* @format GUID
|
|
551
578
|
*/
|
|
552
|
-
|
|
579
|
+
id?: string;
|
|
553
580
|
/**
|
|
554
581
|
* Date and time the policy was created.
|
|
555
582
|
* @readonly
|
|
556
583
|
*/
|
|
557
|
-
|
|
584
|
+
createdDate?: Date | null;
|
|
558
585
|
/**
|
|
559
586
|
* Date and time the policy was updated.
|
|
560
587
|
* @readonly
|
|
561
588
|
*/
|
|
562
|
-
|
|
589
|
+
updatedDate?: Date | null;
|
|
563
590
|
/**
|
|
564
591
|
* Name of the policy.
|
|
565
592
|
* @maxLength 400
|
|
@@ -628,7 +655,7 @@ interface BookingPolicy {
|
|
|
628
655
|
saveCreditCardPolicy?: SaveCreditCardPolicy;
|
|
629
656
|
}
|
|
630
657
|
/** A description of the policy to display to participants. */
|
|
631
|
-
interface PolicyDescription {
|
|
658
|
+
export interface PolicyDescription {
|
|
632
659
|
/**
|
|
633
660
|
* Whether the description should be displayed. If `true`, the description is displayed.
|
|
634
661
|
*
|
|
@@ -645,7 +672,7 @@ interface PolicyDescription {
|
|
|
645
672
|
description?: string;
|
|
646
673
|
}
|
|
647
674
|
/** The policy for limiting early bookings. */
|
|
648
|
-
interface LimitEarlyBookingPolicy {
|
|
675
|
+
export interface LimitEarlyBookingPolicy {
|
|
649
676
|
/**
|
|
650
677
|
* Whether there is a limit on how early a customer
|
|
651
678
|
* can book. When `false`, there is no limit on the earliest
|
|
@@ -670,7 +697,7 @@ interface LimitEarlyBookingPolicy {
|
|
|
670
697
|
* This policy and the `BookAfterStartPolicy` policy cannot be enabled at the same time. So if this policy
|
|
671
698
|
* is enabled, `BookAfterStartPolicy` must be disabled.
|
|
672
699
|
*/
|
|
673
|
-
interface LimitLateBookingPolicy {
|
|
700
|
+
export interface LimitLateBookingPolicy {
|
|
674
701
|
/**
|
|
675
702
|
* Whether there is a limit on how late a customer
|
|
676
703
|
* can book. When `false`, there is no limit on the latest
|
|
@@ -695,7 +722,7 @@ interface LimitLateBookingPolicy {
|
|
|
695
722
|
* This policy and `LimitLateBookingPolicy` cannot be enabled at the same time. So if this policy
|
|
696
723
|
* is enabled, the `LimitLateBookingPolicy` policy must be disabled.
|
|
697
724
|
*/
|
|
698
|
-
interface BookAfterStartPolicy {
|
|
725
|
+
export interface BookAfterStartPolicy {
|
|
699
726
|
/**
|
|
700
727
|
* Whether booking is allowed after the start of the schedule. When `true`,
|
|
701
728
|
* customers can book after the start of the schedule.
|
|
@@ -705,7 +732,7 @@ interface BookAfterStartPolicy {
|
|
|
705
732
|
enabled?: boolean;
|
|
706
733
|
}
|
|
707
734
|
/** The policy for canceling a booked session. */
|
|
708
|
-
interface CancellationPolicy {
|
|
735
|
+
export interface CancellationPolicy {
|
|
709
736
|
/**
|
|
710
737
|
* Whether canceling a booking is allowed. When `true`, customers
|
|
711
738
|
* can cancel the booking.
|
|
@@ -730,7 +757,7 @@ interface CancellationPolicy {
|
|
|
730
757
|
latestCancellationInMinutes?: number;
|
|
731
758
|
}
|
|
732
759
|
/** The policy for rescheduling a booked session. */
|
|
733
|
-
interface ReschedulePolicy {
|
|
760
|
+
export interface ReschedulePolicy {
|
|
734
761
|
/**
|
|
735
762
|
* Whether rescheduling a booking is allowed. When `true`, customers
|
|
736
763
|
* can reschedule the booking.
|
|
@@ -755,7 +782,7 @@ interface ReschedulePolicy {
|
|
|
755
782
|
latestRescheduleInMinutes?: number;
|
|
756
783
|
}
|
|
757
784
|
/** The policy for the waitlist. */
|
|
758
|
-
interface WaitlistPolicy {
|
|
785
|
+
export interface WaitlistPolicy {
|
|
759
786
|
/**
|
|
760
787
|
* Whether the session has a waitlist. If `true`, there is a waitlist.
|
|
761
788
|
*
|
|
@@ -780,7 +807,7 @@ interface WaitlistPolicy {
|
|
|
780
807
|
reservationTimeInMinutes?: number;
|
|
781
808
|
}
|
|
782
809
|
/** The policy for the maximum number of participants per booking. */
|
|
783
|
-
interface ParticipantsPolicy {
|
|
810
|
+
export interface ParticipantsPolicy {
|
|
784
811
|
/**
|
|
785
812
|
* Maximum number of participants allowed.
|
|
786
813
|
*
|
|
@@ -791,7 +818,7 @@ interface ParticipantsPolicy {
|
|
|
791
818
|
maxParticipantsPerBooking?: number;
|
|
792
819
|
}
|
|
793
820
|
/** The policy regarding the allocation of resources (e.g. staff members). */
|
|
794
|
-
interface ResourcesPolicy {
|
|
821
|
+
export interface ResourcesPolicy {
|
|
795
822
|
/**
|
|
796
823
|
* `true` if this policy is enabled, `false` otherwise.
|
|
797
824
|
* When `false` then the client must always select a resource when booking an appointment.
|
|
@@ -805,7 +832,7 @@ interface ResourcesPolicy {
|
|
|
805
832
|
*/
|
|
806
833
|
autoAssignAllowed?: boolean;
|
|
807
834
|
}
|
|
808
|
-
interface CancellationFeePolicy {
|
|
835
|
+
export interface CancellationFeePolicy {
|
|
809
836
|
/**
|
|
810
837
|
* Whether canceling a booking will result in a cancellation fee
|
|
811
838
|
*
|
|
@@ -824,7 +851,7 @@ interface CancellationFeePolicy {
|
|
|
824
851
|
*/
|
|
825
852
|
autoCollectFeeEnabled?: boolean | null;
|
|
826
853
|
}
|
|
827
|
-
interface CancellationWindow extends CancellationWindowFeeOneOf {
|
|
854
|
+
export interface CancellationWindow extends CancellationWindowFeeOneOf {
|
|
828
855
|
/** Amount to be charged as a cancellation fee. */
|
|
829
856
|
amount?: Money;
|
|
830
857
|
/**
|
|
@@ -839,7 +866,7 @@ interface CancellationWindow extends CancellationWindowFeeOneOf {
|
|
|
839
866
|
startInMinutes?: number | null;
|
|
840
867
|
}
|
|
841
868
|
/** @oneof */
|
|
842
|
-
interface CancellationWindowFeeOneOf {
|
|
869
|
+
export interface CancellationWindowFeeOneOf {
|
|
843
870
|
/** Amount to be charged as a cancellation fee. */
|
|
844
871
|
amount?: Money;
|
|
845
872
|
/**
|
|
@@ -848,11 +875,11 @@ interface CancellationWindowFeeOneOf {
|
|
|
848
875
|
*/
|
|
849
876
|
percentage?: string;
|
|
850
877
|
}
|
|
851
|
-
interface SaveCreditCardPolicy {
|
|
878
|
+
export interface SaveCreditCardPolicy {
|
|
852
879
|
/** Default: `false` */
|
|
853
880
|
enabled?: boolean;
|
|
854
881
|
}
|
|
855
|
-
interface V2Schedule {
|
|
882
|
+
export interface V2Schedule {
|
|
856
883
|
/**
|
|
857
884
|
* ID of the *schedule*
|
|
858
885
|
* ([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))
|
|
@@ -860,7 +887,7 @@ interface V2Schedule {
|
|
|
860
887
|
* @format GUID
|
|
861
888
|
* @readonly
|
|
862
889
|
*/
|
|
863
|
-
|
|
890
|
+
id?: string | null;
|
|
864
891
|
/**
|
|
865
892
|
* Start time of the first session in the schedule. For courses only.
|
|
866
893
|
* @readonly
|
|
@@ -874,7 +901,7 @@ interface V2Schedule {
|
|
|
874
901
|
/** Limitations affecting the service availability. */
|
|
875
902
|
availabilityConstraints?: V2AvailabilityConstraints;
|
|
876
903
|
}
|
|
877
|
-
interface V2AvailabilityConstraints {
|
|
904
|
+
export interface V2AvailabilityConstraints {
|
|
878
905
|
/**
|
|
879
906
|
* Calculated list of all supported session durations for the service. For
|
|
880
907
|
* appointment-based services without varied pricing based on session length, it
|
|
@@ -914,7 +941,7 @@ interface V2AvailabilityConstraints {
|
|
|
914
941
|
*/
|
|
915
942
|
timeBetweenSessions?: number;
|
|
916
943
|
}
|
|
917
|
-
interface Duration {
|
|
944
|
+
export interface Duration {
|
|
918
945
|
/**
|
|
919
946
|
* The duration of the service in minutes.
|
|
920
947
|
*
|
|
@@ -925,7 +952,7 @@ interface Duration {
|
|
|
925
952
|
*/
|
|
926
953
|
minutes?: number;
|
|
927
954
|
}
|
|
928
|
-
interface StaffMember {
|
|
955
|
+
export interface StaffMember {
|
|
929
956
|
/**
|
|
930
957
|
* ID of the staff member providing the service, can be used to retrieve resource information using wix-bookings-backend resources API.
|
|
931
958
|
* @format GUID
|
|
@@ -944,23 +971,23 @@ interface StaffMember {
|
|
|
944
971
|
*/
|
|
945
972
|
mainMedia?: StaffMediaItem;
|
|
946
973
|
}
|
|
947
|
-
interface StaffMediaItem extends StaffMediaItemItemOneOf {
|
|
974
|
+
export interface StaffMediaItem extends StaffMediaItemItemOneOf {
|
|
948
975
|
/** Details of the image associated with the staff, such as URL and size. */
|
|
949
|
-
image?:
|
|
976
|
+
image?: Image;
|
|
950
977
|
}
|
|
951
978
|
/** @oneof */
|
|
952
|
-
interface StaffMediaItemItemOneOf {
|
|
979
|
+
export interface StaffMediaItemItemOneOf {
|
|
953
980
|
/** Details of the image associated with the staff, such as URL and size. */
|
|
954
|
-
image?:
|
|
981
|
+
image?: Image;
|
|
955
982
|
}
|
|
956
|
-
interface StaffMemberDetails {
|
|
983
|
+
export interface StaffMemberDetails {
|
|
957
984
|
/**
|
|
958
985
|
* Staff members providing the service. For appointments only.
|
|
959
986
|
* @maxSize 220
|
|
960
987
|
*/
|
|
961
988
|
staffMembers?: StaffMember[];
|
|
962
989
|
}
|
|
963
|
-
interface ResourceGroup {
|
|
990
|
+
export interface ResourceGroup {
|
|
964
991
|
/**
|
|
965
992
|
* An optional resource group ID. If specified, it references a resource group in the resource groups API.
|
|
966
993
|
* TODO - referenced_entity annotation
|
|
@@ -986,7 +1013,7 @@ interface ResourceGroup {
|
|
|
986
1013
|
*/
|
|
987
1014
|
selectableResource?: boolean | null;
|
|
988
1015
|
}
|
|
989
|
-
interface ResourceIds {
|
|
1016
|
+
export interface ResourceIds {
|
|
990
1017
|
/**
|
|
991
1018
|
* Values of the resource IDs.
|
|
992
1019
|
* @maxSize 100
|
|
@@ -994,7 +1021,7 @@ interface ResourceIds {
|
|
|
994
1021
|
*/
|
|
995
1022
|
values?: string[];
|
|
996
1023
|
}
|
|
997
|
-
interface ServiceResource extends ServiceResourceSelectionOneOf {
|
|
1024
|
+
export interface ServiceResource extends ServiceResourceSelectionOneOf {
|
|
998
1025
|
/**
|
|
999
1026
|
* Details about the required *resource type*
|
|
1000
1027
|
* ([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)).
|
|
@@ -1002,14 +1029,14 @@ interface ServiceResource extends ServiceResourceSelectionOneOf {
|
|
|
1002
1029
|
resourceType?: ResourceType;
|
|
1003
1030
|
}
|
|
1004
1031
|
/** @oneof */
|
|
1005
|
-
interface ServiceResourceSelectionOneOf {
|
|
1032
|
+
export interface ServiceResourceSelectionOneOf {
|
|
1006
1033
|
}
|
|
1007
|
-
interface ResourceType {
|
|
1034
|
+
export interface ResourceType {
|
|
1008
1035
|
/**
|
|
1009
1036
|
* The type of the resource.
|
|
1010
1037
|
* @format GUID
|
|
1011
1038
|
*/
|
|
1012
|
-
|
|
1039
|
+
id?: string | null;
|
|
1013
1040
|
/**
|
|
1014
1041
|
* The name of the resource type.
|
|
1015
1042
|
* @readonly
|
|
@@ -1018,7 +1045,7 @@ interface ResourceType {
|
|
|
1018
1045
|
*/
|
|
1019
1046
|
name?: string | null;
|
|
1020
1047
|
}
|
|
1021
|
-
interface Slug {
|
|
1048
|
+
export interface Slug {
|
|
1022
1049
|
/**
|
|
1023
1050
|
* The unique part of service's URL that identifies the service's information page. For example, `service-1` in `https:/example.com/services/service-1`.
|
|
1024
1051
|
* @maxLength 500
|
|
@@ -1033,26 +1060,38 @@ interface Slug {
|
|
|
1033
1060
|
* Date and time the slug was created. This is a system field.
|
|
1034
1061
|
* @readonly
|
|
1035
1062
|
*/
|
|
1036
|
-
|
|
1063
|
+
createdDate?: Date | null;
|
|
1037
1064
|
}
|
|
1038
|
-
interface URLs {
|
|
1065
|
+
export interface URLs {
|
|
1039
1066
|
/**
|
|
1040
1067
|
* The URL for the service page.
|
|
1041
1068
|
* @readonly
|
|
1042
1069
|
*/
|
|
1043
|
-
servicePage?:
|
|
1070
|
+
servicePage?: PageUrlV2;
|
|
1044
1071
|
/**
|
|
1045
1072
|
* The URL for the booking entry point. It can be either to the calendar or to the service page.
|
|
1046
1073
|
* @readonly
|
|
1047
1074
|
*/
|
|
1048
|
-
bookingPage?:
|
|
1075
|
+
bookingPage?: PageUrlV2;
|
|
1049
1076
|
/**
|
|
1050
1077
|
* The URL for the calendar. Can be empty if no calendar exists.
|
|
1051
1078
|
* @readonly
|
|
1052
1079
|
*/
|
|
1053
|
-
calendarPage?:
|
|
1080
|
+
calendarPage?: PageUrlV2;
|
|
1081
|
+
}
|
|
1082
|
+
export interface PageUrlV2 {
|
|
1083
|
+
/**
|
|
1084
|
+
* The relative path for the page within the site. For example, `/product-page/a-product`.
|
|
1085
|
+
* @maxLength 2048
|
|
1086
|
+
*/
|
|
1087
|
+
relativePath?: string;
|
|
1088
|
+
/**
|
|
1089
|
+
* The page's full URL. For example, `https://mysite.com/product-page/a-product`.
|
|
1090
|
+
* @maxLength 2048
|
|
1091
|
+
*/
|
|
1092
|
+
url?: string | null;
|
|
1054
1093
|
}
|
|
1055
|
-
interface ExtendedFields {
|
|
1094
|
+
export interface ExtendedFields {
|
|
1056
1095
|
/**
|
|
1057
1096
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
1058
1097
|
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
@@ -1068,13 +1107,13 @@ interface ExtendedFields {
|
|
|
1068
1107
|
* The search engines use this information for ranking purposes, or to display snippets in the search results.
|
|
1069
1108
|
* This data will override other sources of tags (for example patterns) and will be included in the <head> section of the HTML document, while not being displayed on the page itself.
|
|
1070
1109
|
*/
|
|
1071
|
-
interface SeoSchema {
|
|
1110
|
+
export interface SeoSchema {
|
|
1072
1111
|
/** SEO tag information. */
|
|
1073
1112
|
tags?: Tag[];
|
|
1074
1113
|
/** SEO general settings. */
|
|
1075
1114
|
settings?: Settings;
|
|
1076
1115
|
}
|
|
1077
|
-
interface Keyword {
|
|
1116
|
+
export interface Keyword {
|
|
1078
1117
|
/** Keyword value. */
|
|
1079
1118
|
term?: string;
|
|
1080
1119
|
/** Whether the keyword is the main focus keyword. */
|
|
@@ -1085,7 +1124,7 @@ interface Keyword {
|
|
|
1085
1124
|
*/
|
|
1086
1125
|
origin?: string | null;
|
|
1087
1126
|
}
|
|
1088
|
-
interface Tag {
|
|
1127
|
+
export interface Tag {
|
|
1089
1128
|
/**
|
|
1090
1129
|
* SEO tag type.
|
|
1091
1130
|
*
|
|
@@ -1107,7 +1146,7 @@ interface Tag {
|
|
|
1107
1146
|
/** Whether the tag is disabled. */
|
|
1108
1147
|
disabled?: boolean;
|
|
1109
1148
|
}
|
|
1110
|
-
interface Settings {
|
|
1149
|
+
export interface Settings {
|
|
1111
1150
|
/**
|
|
1112
1151
|
* Whether the Auto Redirect feature, which creates `301 redirects` on a slug change, is enabled.
|
|
1113
1152
|
*
|
|
@@ -1121,13 +1160,13 @@ interface Settings {
|
|
|
1121
1160
|
*/
|
|
1122
1161
|
keywords?: Keyword[];
|
|
1123
1162
|
}
|
|
1124
|
-
interface AddOnGroup {
|
|
1163
|
+
export interface AddOnGroup {
|
|
1125
1164
|
/**
|
|
1126
1165
|
* ID of the group.
|
|
1127
1166
|
* @readonly
|
|
1128
1167
|
* @format GUID
|
|
1129
1168
|
*/
|
|
1130
|
-
|
|
1169
|
+
id?: string | null;
|
|
1131
1170
|
/**
|
|
1132
1171
|
* The name of the group.
|
|
1133
1172
|
* @maxLength 100
|
|
@@ -1150,7 +1189,7 @@ interface AddOnGroup {
|
|
|
1150
1189
|
*/
|
|
1151
1190
|
prompt?: string | null;
|
|
1152
1191
|
}
|
|
1153
|
-
interface AddOnDetails {
|
|
1192
|
+
export interface AddOnDetails {
|
|
1154
1193
|
/**
|
|
1155
1194
|
* ID of the AddOn.
|
|
1156
1195
|
* @format GUID
|
|
@@ -1166,7 +1205,7 @@ interface AddOnDetails {
|
|
|
1166
1205
|
* Message for reindexing search data to a given search schema. Support both upsert and delete flows as well as
|
|
1167
1206
|
* performs context manipulation with adding tenant, provided in message to callscope.
|
|
1168
1207
|
*/
|
|
1169
|
-
interface ReindexMessage extends ReindexMessageActionOneOf {
|
|
1208
|
+
export interface ReindexMessage extends ReindexMessageActionOneOf {
|
|
1170
1209
|
upsert?: Upsert;
|
|
1171
1210
|
delete?: Delete;
|
|
1172
1211
|
entityFqdn?: string;
|
|
@@ -1176,28 +1215,28 @@ interface ReindexMessage extends ReindexMessageActionOneOf {
|
|
|
1176
1215
|
schema?: Schema;
|
|
1177
1216
|
}
|
|
1178
1217
|
/** @oneof */
|
|
1179
|
-
interface ReindexMessageActionOneOf {
|
|
1218
|
+
export interface ReindexMessageActionOneOf {
|
|
1180
1219
|
upsert?: Upsert;
|
|
1181
1220
|
delete?: Delete;
|
|
1182
1221
|
}
|
|
1183
|
-
interface Upsert {
|
|
1222
|
+
export interface Upsert {
|
|
1184
1223
|
entityId?: string;
|
|
1185
1224
|
entityAsJson?: string;
|
|
1186
1225
|
}
|
|
1187
|
-
interface Delete {
|
|
1226
|
+
export interface Delete {
|
|
1188
1227
|
entityId?: string;
|
|
1189
1228
|
}
|
|
1190
|
-
interface Schema {
|
|
1229
|
+
export interface Schema {
|
|
1191
1230
|
label?: string;
|
|
1192
1231
|
clusterName?: string;
|
|
1193
1232
|
}
|
|
1194
|
-
interface SetCustomSlugEvent {
|
|
1233
|
+
export interface SetCustomSlugEvent {
|
|
1195
1234
|
/** The main slug for the service after the update */
|
|
1196
1235
|
mainSlug?: Slug;
|
|
1197
1236
|
}
|
|
1198
|
-
interface ServicesUrlsChanged {
|
|
1237
|
+
export interface ServicesUrlsChanged {
|
|
1199
1238
|
}
|
|
1200
|
-
interface DomainEvent extends DomainEventBodyOneOf {
|
|
1239
|
+
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
1201
1240
|
createdEvent?: EntityCreatedEvent;
|
|
1202
1241
|
updatedEvent?: EntityUpdatedEvent;
|
|
1203
1242
|
deletedEvent?: EntityDeletedEvent;
|
|
@@ -1206,7 +1245,7 @@ interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
1206
1245
|
* Unique event ID.
|
|
1207
1246
|
* Allows clients to ignore duplicate webhooks.
|
|
1208
1247
|
*/
|
|
1209
|
-
|
|
1248
|
+
id?: string;
|
|
1210
1249
|
/**
|
|
1211
1250
|
* Assumes actions are also always typed to an entity_type
|
|
1212
1251
|
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
@@ -1240,34 +1279,36 @@ interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
1240
1279
|
entityEventSequence?: string | null;
|
|
1241
1280
|
}
|
|
1242
1281
|
/** @oneof */
|
|
1243
|
-
interface DomainEventBodyOneOf {
|
|
1282
|
+
export interface DomainEventBodyOneOf {
|
|
1244
1283
|
createdEvent?: EntityCreatedEvent;
|
|
1245
1284
|
updatedEvent?: EntityUpdatedEvent;
|
|
1246
1285
|
deletedEvent?: EntityDeletedEvent;
|
|
1247
1286
|
actionEvent?: ActionEvent;
|
|
1248
1287
|
}
|
|
1249
|
-
interface EntityCreatedEvent {
|
|
1250
|
-
|
|
1288
|
+
export interface EntityCreatedEvent {
|
|
1289
|
+
entityAsJson?: string;
|
|
1290
|
+
/** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
|
|
1291
|
+
restoreInfo?: RestoreInfo;
|
|
1251
1292
|
}
|
|
1252
|
-
interface RestoreInfo {
|
|
1293
|
+
export interface RestoreInfo {
|
|
1253
1294
|
deletedDate?: Date | null;
|
|
1254
1295
|
}
|
|
1255
|
-
interface EntityUpdatedEvent {
|
|
1296
|
+
export interface EntityUpdatedEvent {
|
|
1256
1297
|
/**
|
|
1257
1298
|
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
1258
1299
|
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
1259
1300
|
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
1260
1301
|
*/
|
|
1261
|
-
|
|
1302
|
+
currentEntityAsJson?: string;
|
|
1262
1303
|
}
|
|
1263
|
-
interface EntityDeletedEvent {
|
|
1304
|
+
export interface EntityDeletedEvent {
|
|
1264
1305
|
/** Entity that was deleted */
|
|
1265
|
-
|
|
1306
|
+
deletedEntityAsJson?: string | null;
|
|
1266
1307
|
}
|
|
1267
|
-
interface ActionEvent {
|
|
1268
|
-
|
|
1308
|
+
export interface ActionEvent {
|
|
1309
|
+
bodyAsJson?: string;
|
|
1269
1310
|
}
|
|
1270
|
-
interface MessageEnvelope {
|
|
1311
|
+
export interface MessageEnvelope {
|
|
1271
1312
|
/**
|
|
1272
1313
|
* App instance ID.
|
|
1273
1314
|
* @format GUID
|
|
@@ -1283,7 +1324,7 @@ interface MessageEnvelope {
|
|
|
1283
1324
|
/** Stringify payload. */
|
|
1284
1325
|
data?: string;
|
|
1285
1326
|
}
|
|
1286
|
-
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
1327
|
+
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
1287
1328
|
/**
|
|
1288
1329
|
* ID of a site visitor that has not logged in to the site.
|
|
1289
1330
|
* @format GUID
|
|
@@ -1308,7 +1349,7 @@ interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
1308
1349
|
identityType?: WebhookIdentityType;
|
|
1309
1350
|
}
|
|
1310
1351
|
/** @oneof */
|
|
1311
|
-
interface IdentificationDataIdOneOf {
|
|
1352
|
+
export interface IdentificationDataIdOneOf {
|
|
1312
1353
|
/**
|
|
1313
1354
|
* ID of a site visitor that has not logged in to the site.
|
|
1314
1355
|
* @format GUID
|
|
@@ -1330,14 +1371,14 @@ interface IdentificationDataIdOneOf {
|
|
|
1330
1371
|
*/
|
|
1331
1372
|
appId?: string;
|
|
1332
1373
|
}
|
|
1333
|
-
declare enum WebhookIdentityType {
|
|
1374
|
+
export declare enum WebhookIdentityType {
|
|
1334
1375
|
UNKNOWN = "UNKNOWN",
|
|
1335
1376
|
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
1336
1377
|
MEMBER = "MEMBER",
|
|
1337
1378
|
WIX_USER = "WIX_USER",
|
|
1338
1379
|
APP = "APP"
|
|
1339
1380
|
}
|
|
1340
|
-
interface CreateAddOnGroupRequest {
|
|
1381
|
+
export interface CreateAddOnGroupRequest {
|
|
1341
1382
|
/** AddOnGroup to create. */
|
|
1342
1383
|
addOnGroup?: AddOnGroup;
|
|
1343
1384
|
/**
|
|
@@ -1346,30 +1387,35 @@ interface CreateAddOnGroupRequest {
|
|
|
1346
1387
|
*/
|
|
1347
1388
|
serviceId?: string | null;
|
|
1348
1389
|
}
|
|
1349
|
-
interface CreateAddOnGroupResponse {
|
|
1390
|
+
export interface CreateAddOnGroupResponse {
|
|
1350
1391
|
/** Created AddOnGroup. */
|
|
1351
1392
|
addOnGroup?: AddOnGroup;
|
|
1352
1393
|
}
|
|
1353
|
-
interface DeleteAddOnGroupRequest {
|
|
1394
|
+
export interface DeleteAddOnGroupRequest {
|
|
1354
1395
|
/**
|
|
1355
1396
|
* ID of the AddOnGroup to delete.
|
|
1356
1397
|
* @format GUID
|
|
1357
1398
|
*/
|
|
1358
1399
|
addOnGroupId?: string | null;
|
|
1400
|
+
/**
|
|
1401
|
+
* ID of the service from which to delete the AddOnGroup.
|
|
1402
|
+
* @format GUID
|
|
1403
|
+
*/
|
|
1404
|
+
serviceId?: string | null;
|
|
1359
1405
|
}
|
|
1360
|
-
interface DeleteAddOnGroupResponse {
|
|
1406
|
+
export interface DeleteAddOnGroupResponse {
|
|
1361
1407
|
}
|
|
1362
|
-
interface UpdateAddOnGroupRequest {
|
|
1408
|
+
export interface UpdateAddOnGroupRequest {
|
|
1363
1409
|
/** AddOnGroup to update. */
|
|
1364
1410
|
addOnGroup?: AddOnGroup;
|
|
1365
1411
|
/** Explicit list of fields to update. */
|
|
1366
1412
|
mask?: string[];
|
|
1367
1413
|
}
|
|
1368
|
-
interface UpdateAddOnGroupResponse {
|
|
1414
|
+
export interface UpdateAddOnGroupResponse {
|
|
1369
1415
|
/** Updated AddOnGroup */
|
|
1370
1416
|
addOnGroup?: AddOnGroup;
|
|
1371
1417
|
}
|
|
1372
|
-
interface ListAddOnGroupsByServiceIdRequest {
|
|
1418
|
+
export interface ListAddOnGroupsByServiceIdRequest {
|
|
1373
1419
|
/**
|
|
1374
1420
|
* ID of the service to retrieve AddOnGroups for.
|
|
1375
1421
|
* @format GUID
|
|
@@ -1382,14 +1428,14 @@ interface ListAddOnGroupsByServiceIdRequest {
|
|
|
1382
1428
|
*/
|
|
1383
1429
|
groupIds?: string[] | null;
|
|
1384
1430
|
}
|
|
1385
|
-
interface ListAddOnGroupsByServiceIdResponse {
|
|
1431
|
+
export interface ListAddOnGroupsByServiceIdResponse {
|
|
1386
1432
|
/**
|
|
1387
1433
|
* List of group IDs and their linked AddOns.
|
|
1388
1434
|
* @maxSize 3
|
|
1389
1435
|
*/
|
|
1390
1436
|
addOnGroupsDetails?: AddOnGroupDetail[];
|
|
1391
1437
|
}
|
|
1392
|
-
interface AddOn extends AddOnAddOnInfoOneOf {
|
|
1438
|
+
export interface AddOn extends AddOnAddOnInfoOneOf {
|
|
1393
1439
|
/** The AddOn description. */
|
|
1394
1440
|
durationInMinutes?: number;
|
|
1395
1441
|
/** The AddOn max quantity. */
|
|
@@ -1408,13 +1454,13 @@ interface AddOn extends AddOnAddOnInfoOneOf {
|
|
|
1408
1454
|
price?: Money;
|
|
1409
1455
|
}
|
|
1410
1456
|
/** @oneof */
|
|
1411
|
-
interface AddOnAddOnInfoOneOf {
|
|
1457
|
+
export interface AddOnAddOnInfoOneOf {
|
|
1412
1458
|
/** The AddOn description. */
|
|
1413
1459
|
durationInMinutes?: number;
|
|
1414
1460
|
/** The AddOn max quantity. */
|
|
1415
1461
|
maxQuantity?: number;
|
|
1416
1462
|
}
|
|
1417
|
-
interface AddOnGroupDetail {
|
|
1463
|
+
export interface AddOnGroupDetail {
|
|
1418
1464
|
/**
|
|
1419
1465
|
* The group ID.
|
|
1420
1466
|
* @format GUID
|
|
@@ -1438,7 +1484,7 @@ interface AddOnGroupDetail {
|
|
|
1438
1484
|
*/
|
|
1439
1485
|
prompt?: string | null;
|
|
1440
1486
|
}
|
|
1441
|
-
interface SetAddOnsForGroupRequest {
|
|
1487
|
+
export interface SetAddOnsForGroupRequest {
|
|
1442
1488
|
/**
|
|
1443
1489
|
* The service ID to set AddOns for.
|
|
1444
1490
|
* @format GUID
|
|
@@ -1457,11 +1503,11 @@ interface SetAddOnsForGroupRequest {
|
|
|
1457
1503
|
*/
|
|
1458
1504
|
addOnIds?: string[] | null;
|
|
1459
1505
|
}
|
|
1460
|
-
interface SetAddOnsForGroupResponse {
|
|
1506
|
+
export interface SetAddOnsForGroupResponse {
|
|
1461
1507
|
/** The updated AddOnGroup. */
|
|
1462
1508
|
addOnGroup?: AddOnGroup;
|
|
1463
1509
|
}
|
|
1464
|
-
interface ValidateAddOnsSelectionRequest {
|
|
1510
|
+
export interface ValidateAddOnsSelectionRequest {
|
|
1465
1511
|
/**
|
|
1466
1512
|
* The service ID to validate AddOns against.
|
|
1467
1513
|
* @format GUID
|
|
@@ -1480,11 +1526,11 @@ interface ValidateAddOnsSelectionRequest {
|
|
|
1480
1526
|
*/
|
|
1481
1527
|
addOnIds?: string[] | null;
|
|
1482
1528
|
}
|
|
1483
|
-
interface ValidateAddOnsSelectionResponse {
|
|
1529
|
+
export interface ValidateAddOnsSelectionResponse {
|
|
1484
1530
|
/** The validation result. */
|
|
1485
1531
|
result?: ValidationResult;
|
|
1486
1532
|
}
|
|
1487
|
-
interface ValidationResult {
|
|
1533
|
+
export interface ValidationResult {
|
|
1488
1534
|
/** Whether the AddOns selection is valid. */
|
|
1489
1535
|
valid?: boolean | null;
|
|
1490
1536
|
/**
|
|
@@ -1495,25 +1541,25 @@ interface ValidationResult {
|
|
|
1495
1541
|
*/
|
|
1496
1542
|
message?: string | null;
|
|
1497
1543
|
}
|
|
1498
|
-
interface CreateServiceRequest {
|
|
1544
|
+
export interface CreateServiceRequest {
|
|
1499
1545
|
/** Service to create. */
|
|
1500
1546
|
service: Service;
|
|
1501
1547
|
}
|
|
1502
|
-
interface CreateServiceResponse {
|
|
1548
|
+
export interface CreateServiceResponse {
|
|
1503
1549
|
/** Created service. */
|
|
1504
1550
|
service?: Service;
|
|
1505
1551
|
}
|
|
1506
|
-
interface ValidateServiceRequest {
|
|
1552
|
+
export interface ValidateServiceRequest {
|
|
1507
1553
|
/** Service to validate. */
|
|
1508
1554
|
service?: Service;
|
|
1509
1555
|
}
|
|
1510
|
-
interface ValidateServiceResponse {
|
|
1556
|
+
export interface ValidateServiceResponse {
|
|
1511
1557
|
/** Whether the service is valid. */
|
|
1512
1558
|
valid?: boolean;
|
|
1513
1559
|
/** Field violations. */
|
|
1514
1560
|
fieldViolations?: FieldViolation[];
|
|
1515
1561
|
}
|
|
1516
|
-
interface FieldViolation {
|
|
1562
|
+
export interface FieldViolation {
|
|
1517
1563
|
/**
|
|
1518
1564
|
* Path to the invalid field.
|
|
1519
1565
|
* @maxLength 2000
|
|
@@ -1530,7 +1576,7 @@ interface FieldViolation {
|
|
|
1530
1576
|
*/
|
|
1531
1577
|
ruleName?: string;
|
|
1532
1578
|
}
|
|
1533
|
-
interface BulkCreateServicesRequest {
|
|
1579
|
+
export interface BulkCreateServicesRequest {
|
|
1534
1580
|
/**
|
|
1535
1581
|
* Services to create.
|
|
1536
1582
|
* @maxSize 100
|
|
@@ -1539,24 +1585,24 @@ interface BulkCreateServicesRequest {
|
|
|
1539
1585
|
/** Whether to return the created service objects. */
|
|
1540
1586
|
returnEntity?: boolean;
|
|
1541
1587
|
}
|
|
1542
|
-
interface BulkCreateServicesResponse {
|
|
1588
|
+
export interface BulkCreateServicesResponse {
|
|
1543
1589
|
/** The result of each service creation. */
|
|
1544
1590
|
results?: BulkServiceResult[];
|
|
1545
1591
|
/** Create statistics. */
|
|
1546
1592
|
bulkActionMetadata?: BulkActionMetadata;
|
|
1547
1593
|
}
|
|
1548
|
-
interface BulkServiceResult {
|
|
1594
|
+
export interface BulkServiceResult {
|
|
1549
1595
|
/** Update metadata. */
|
|
1550
1596
|
itemMetadata?: ItemMetadata;
|
|
1551
1597
|
/** Updated service. */
|
|
1552
1598
|
item?: Service;
|
|
1553
1599
|
}
|
|
1554
|
-
interface ItemMetadata {
|
|
1600
|
+
export interface ItemMetadata {
|
|
1555
1601
|
/**
|
|
1556
1602
|
* Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).
|
|
1557
1603
|
* @format GUID
|
|
1558
1604
|
*/
|
|
1559
|
-
|
|
1605
|
+
id?: string | null;
|
|
1560
1606
|
/** Index of the item within the request array. Allows for correlation between request and response items. */
|
|
1561
1607
|
originalIndex?: number;
|
|
1562
1608
|
/** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
|
|
@@ -1564,7 +1610,7 @@ interface ItemMetadata {
|
|
|
1564
1610
|
/** Details about the error in case of failure. */
|
|
1565
1611
|
error?: ApplicationError;
|
|
1566
1612
|
}
|
|
1567
|
-
interface ApplicationError {
|
|
1613
|
+
export interface ApplicationError {
|
|
1568
1614
|
/** Error code. */
|
|
1569
1615
|
code?: string;
|
|
1570
1616
|
/** Description of the error. */
|
|
@@ -1572,7 +1618,7 @@ interface ApplicationError {
|
|
|
1572
1618
|
/** Data related to the error. */
|
|
1573
1619
|
data?: Record<string, any> | null;
|
|
1574
1620
|
}
|
|
1575
|
-
interface BulkActionMetadata {
|
|
1621
|
+
export interface BulkActionMetadata {
|
|
1576
1622
|
/** Number of items that were successfully processed. */
|
|
1577
1623
|
totalSuccesses?: number;
|
|
1578
1624
|
/** Number of items that couldn't be processed. */
|
|
@@ -1580,14 +1626,14 @@ interface BulkActionMetadata {
|
|
|
1580
1626
|
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
1581
1627
|
undetailedFailures?: number;
|
|
1582
1628
|
}
|
|
1583
|
-
interface GetServiceRequest {
|
|
1629
|
+
export interface GetServiceRequest {
|
|
1584
1630
|
/**
|
|
1585
1631
|
* ID of the service to retrieve.
|
|
1586
1632
|
* @format GUID
|
|
1587
1633
|
*/
|
|
1588
1634
|
serviceId: string;
|
|
1589
1635
|
}
|
|
1590
|
-
declare enum V2RequestedFields {
|
|
1636
|
+
export declare enum V2RequestedFields {
|
|
1591
1637
|
/** Unknown requested field. */
|
|
1592
1638
|
UNKNOWN_REQUESTED_FIELD = "UNKNOWN_REQUESTED_FIELD",
|
|
1593
1639
|
/** When passed, `service.staff_members` is returned. */
|
|
@@ -1595,22 +1641,22 @@ declare enum V2RequestedFields {
|
|
|
1595
1641
|
/** When passed, `service.service_resources.resource_type.name` is returned. */
|
|
1596
1642
|
RESOURCE_TYPE_DETAILS = "RESOURCE_TYPE_DETAILS"
|
|
1597
1643
|
}
|
|
1598
|
-
interface GetServiceResponse {
|
|
1644
|
+
export interface GetServiceResponse {
|
|
1599
1645
|
/** Retrieved service. */
|
|
1600
1646
|
service?: Service;
|
|
1601
1647
|
}
|
|
1602
|
-
interface GetServiceAvailabilityConstraintsRequest {
|
|
1648
|
+
export interface GetServiceAvailabilityConstraintsRequest {
|
|
1603
1649
|
/**
|
|
1604
1650
|
* ID of the service to retrieve.
|
|
1605
1651
|
* @format GUID
|
|
1606
1652
|
*/
|
|
1607
1653
|
serviceId?: string;
|
|
1608
1654
|
}
|
|
1609
|
-
interface GetServiceAvailabilityConstraintsResponse {
|
|
1655
|
+
export interface GetServiceAvailabilityConstraintsResponse {
|
|
1610
1656
|
/** The retrieved availability constraints of the service. */
|
|
1611
1657
|
constraints?: ServiceAvailabilityConstraints;
|
|
1612
1658
|
}
|
|
1613
|
-
interface ServiceAvailabilityConstraints {
|
|
1659
|
+
export interface ServiceAvailabilityConstraints {
|
|
1614
1660
|
/**
|
|
1615
1661
|
* The booking policy.
|
|
1616
1662
|
* @readonly
|
|
@@ -1660,7 +1706,7 @@ interface ServiceAvailabilityConstraints {
|
|
|
1660
1706
|
onlineBooking?: OnlineBooking;
|
|
1661
1707
|
}
|
|
1662
1708
|
/** The time between available slots' start times. For example, For 5 minute slots, 3:00, 3:05, 3:15 etc. For 1 hour slots, 3:00, 4:00, 5:00 etc. */
|
|
1663
|
-
interface V1SplitInterval {
|
|
1709
|
+
export interface V1SplitInterval {
|
|
1664
1710
|
/**
|
|
1665
1711
|
* Whether the slot duration is used as the split interval value.
|
|
1666
1712
|
* If `same_as_duration` is `true`, the `value_in_minutes` is the sum of the first duration in
|
|
@@ -1670,15 +1716,15 @@ interface V1SplitInterval {
|
|
|
1670
1716
|
/** Number of minutes between available slots' start times when `same_as_duration` is `false`. */
|
|
1671
1717
|
valueInMinutes?: number | null;
|
|
1672
1718
|
}
|
|
1673
|
-
interface UpdateServiceRequest {
|
|
1719
|
+
export interface UpdateServiceRequest {
|
|
1674
1720
|
/** Service to update. */
|
|
1675
1721
|
service: Service;
|
|
1676
1722
|
}
|
|
1677
|
-
interface UpdateServiceResponse {
|
|
1723
|
+
export interface UpdateServiceResponse {
|
|
1678
1724
|
/** Updated service. */
|
|
1679
1725
|
service?: Service;
|
|
1680
1726
|
}
|
|
1681
|
-
interface BulkUpdateServicesRequest {
|
|
1727
|
+
export interface BulkUpdateServicesRequest {
|
|
1682
1728
|
/**
|
|
1683
1729
|
* Services to update.
|
|
1684
1730
|
* @maxSize 100
|
|
@@ -1687,25 +1733,25 @@ interface BulkUpdateServicesRequest {
|
|
|
1687
1733
|
/** Whether to include the updated services in the response. Default: `false` */
|
|
1688
1734
|
returnEntity?: boolean;
|
|
1689
1735
|
}
|
|
1690
|
-
interface MaskedService {
|
|
1736
|
+
export interface MaskedService {
|
|
1691
1737
|
/** Service to update. */
|
|
1692
1738
|
service?: Service;
|
|
1693
1739
|
/** Explicit list of fields to update. */
|
|
1694
1740
|
mask?: string[];
|
|
1695
1741
|
}
|
|
1696
|
-
interface BulkUpdateServicesResponse {
|
|
1742
|
+
export interface BulkUpdateServicesResponse {
|
|
1697
1743
|
/** The result of each service update. */
|
|
1698
1744
|
results?: BulkServiceResult[];
|
|
1699
1745
|
/** Update statistics. */
|
|
1700
1746
|
bulkActionMetadata?: BulkActionMetadata;
|
|
1701
1747
|
}
|
|
1702
|
-
interface BulkUpdateServicesByFilterRequest {
|
|
1748
|
+
export interface BulkUpdateServicesByFilterRequest {
|
|
1703
1749
|
/** Filter to identify the services to update. */
|
|
1704
1750
|
filter: Record<string, any> | null;
|
|
1705
1751
|
/** Service to update. */
|
|
1706
1752
|
service: Service;
|
|
1707
1753
|
}
|
|
1708
|
-
interface BulkUpdateServicesByFilterResponse {
|
|
1754
|
+
export interface BulkUpdateServicesByFilterResponse {
|
|
1709
1755
|
/**
|
|
1710
1756
|
* ID of the service update job.
|
|
1711
1757
|
*
|
|
@@ -1714,7 +1760,7 @@ interface BulkUpdateServicesByFilterResponse {
|
|
|
1714
1760
|
*/
|
|
1715
1761
|
jobId?: string;
|
|
1716
1762
|
}
|
|
1717
|
-
interface DeleteServiceRequest {
|
|
1763
|
+
export interface DeleteServiceRequest {
|
|
1718
1764
|
/**
|
|
1719
1765
|
* ID of the service to delete.
|
|
1720
1766
|
* @format GUID
|
|
@@ -1732,7 +1778,7 @@ interface DeleteServiceRequest {
|
|
|
1732
1778
|
*/
|
|
1733
1779
|
participantNotification?: ParticipantNotification;
|
|
1734
1780
|
}
|
|
1735
|
-
interface ParticipantNotification {
|
|
1781
|
+
export interface ParticipantNotification {
|
|
1736
1782
|
/**
|
|
1737
1783
|
* Whether to send the message about the changes to the customer.
|
|
1738
1784
|
*
|
|
@@ -1745,9 +1791,9 @@ interface ParticipantNotification {
|
|
|
1745
1791
|
*/
|
|
1746
1792
|
message?: string | null;
|
|
1747
1793
|
}
|
|
1748
|
-
interface DeleteServiceResponse {
|
|
1794
|
+
export interface DeleteServiceResponse {
|
|
1749
1795
|
}
|
|
1750
|
-
interface BulkDeleteServicesRequest {
|
|
1796
|
+
export interface BulkDeleteServicesRequest {
|
|
1751
1797
|
/**
|
|
1752
1798
|
* IDs of the services to delete.
|
|
1753
1799
|
* @format GUID
|
|
@@ -1766,13 +1812,13 @@ interface BulkDeleteServicesRequest {
|
|
|
1766
1812
|
*/
|
|
1767
1813
|
participantNotification?: ParticipantNotification;
|
|
1768
1814
|
}
|
|
1769
|
-
interface BulkDeleteServicesResponse {
|
|
1815
|
+
export interface BulkDeleteServicesResponse {
|
|
1770
1816
|
/** The result of each service removal. */
|
|
1771
1817
|
results?: BulkServiceResult[];
|
|
1772
1818
|
/** Delete statistics. */
|
|
1773
1819
|
bulkActionMetadata?: BulkActionMetadata;
|
|
1774
1820
|
}
|
|
1775
|
-
interface BulkDeleteServicesByFilterRequest {
|
|
1821
|
+
export interface BulkDeleteServicesByFilterRequest {
|
|
1776
1822
|
/** Filter to identify the services that need to be deleted. */
|
|
1777
1823
|
filter: Record<string, any> | null;
|
|
1778
1824
|
/**
|
|
@@ -1784,7 +1830,7 @@ interface BulkDeleteServicesByFilterRequest {
|
|
|
1784
1830
|
/** Whether to notify participants about the change and an optional custom message. */
|
|
1785
1831
|
participantNotification?: ParticipantNotification;
|
|
1786
1832
|
}
|
|
1787
|
-
interface BulkDeleteServicesByFilterResponse {
|
|
1833
|
+
export interface BulkDeleteServicesByFilterResponse {
|
|
1788
1834
|
/**
|
|
1789
1835
|
* ID of the service deletion job.
|
|
1790
1836
|
*
|
|
@@ -1793,11 +1839,11 @@ interface BulkDeleteServicesByFilterResponse {
|
|
|
1793
1839
|
*/
|
|
1794
1840
|
jobId?: string;
|
|
1795
1841
|
}
|
|
1796
|
-
interface QueryServicesRequest {
|
|
1842
|
+
export interface QueryServicesRequest {
|
|
1797
1843
|
/** WQL expression. */
|
|
1798
1844
|
query: QueryV2;
|
|
1799
1845
|
}
|
|
1800
|
-
interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
1846
|
+
export interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
1801
1847
|
/** Paging options to limit and skip the number of items. */
|
|
1802
1848
|
paging?: Paging;
|
|
1803
1849
|
/**
|
|
@@ -1824,11 +1870,11 @@ interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
|
1824
1870
|
sort?: Sorting[];
|
|
1825
1871
|
}
|
|
1826
1872
|
/** @oneof */
|
|
1827
|
-
interface QueryV2PagingMethodOneOf {
|
|
1873
|
+
export interface QueryV2PagingMethodOneOf {
|
|
1828
1874
|
/** Paging options to limit and skip the number of items. */
|
|
1829
1875
|
paging?: Paging;
|
|
1830
1876
|
}
|
|
1831
|
-
interface Sorting {
|
|
1877
|
+
export interface Sorting {
|
|
1832
1878
|
/**
|
|
1833
1879
|
* Name of the field to sort by.
|
|
1834
1880
|
* @maxLength 512
|
|
@@ -1837,17 +1883,17 @@ interface Sorting {
|
|
|
1837
1883
|
/** Sort order. */
|
|
1838
1884
|
order?: SortOrder;
|
|
1839
1885
|
}
|
|
1840
|
-
declare enum SortOrder {
|
|
1886
|
+
export declare enum SortOrder {
|
|
1841
1887
|
ASC = "ASC",
|
|
1842
1888
|
DESC = "DESC"
|
|
1843
1889
|
}
|
|
1844
|
-
interface Paging {
|
|
1890
|
+
export interface Paging {
|
|
1845
1891
|
/** Number of items to load. */
|
|
1846
1892
|
limit?: number | null;
|
|
1847
1893
|
/** Number of items to skip in the current sort order. */
|
|
1848
1894
|
offset?: number | null;
|
|
1849
1895
|
}
|
|
1850
|
-
interface CursorPaging {
|
|
1896
|
+
export interface CursorPaging {
|
|
1851
1897
|
/**
|
|
1852
1898
|
* Number of items to load.
|
|
1853
1899
|
* @max 100
|
|
@@ -1863,13 +1909,13 @@ interface CursorPaging {
|
|
|
1863
1909
|
*/
|
|
1864
1910
|
cursor?: string | null;
|
|
1865
1911
|
}
|
|
1866
|
-
interface QueryServicesResponse {
|
|
1912
|
+
export interface QueryServicesResponse {
|
|
1867
1913
|
/** The retrieved services. */
|
|
1868
1914
|
services?: Service[];
|
|
1869
1915
|
/** Paging metadata, including offset and count. */
|
|
1870
1916
|
pagingMetadata?: PagingMetadataV2;
|
|
1871
1917
|
}
|
|
1872
|
-
interface PagingMetadataV2 {
|
|
1918
|
+
export interface PagingMetadataV2 {
|
|
1873
1919
|
/** Number of items returned in the response. */
|
|
1874
1920
|
count?: number | null;
|
|
1875
1921
|
/** Offset that was requested. */
|
|
@@ -1881,7 +1927,7 @@ interface PagingMetadataV2 {
|
|
|
1881
1927
|
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
1882
1928
|
cursors?: Cursors;
|
|
1883
1929
|
}
|
|
1884
|
-
interface Cursors {
|
|
1930
|
+
export interface Cursors {
|
|
1885
1931
|
/**
|
|
1886
1932
|
* Cursor pointing to next page in the list of results.
|
|
1887
1933
|
* @maxLength 16000
|
|
@@ -1893,11 +1939,11 @@ interface Cursors {
|
|
|
1893
1939
|
*/
|
|
1894
1940
|
prev?: string | null;
|
|
1895
1941
|
}
|
|
1896
|
-
interface SearchServicesRequest {
|
|
1942
|
+
export interface SearchServicesRequest {
|
|
1897
1943
|
/** WQL, search or aggregation expression. */
|
|
1898
1944
|
search: CursorSearch;
|
|
1899
1945
|
}
|
|
1900
|
-
interface CursorSearch extends CursorSearchPagingMethodOneOf {
|
|
1946
|
+
export interface CursorSearch extends CursorSearchPagingMethodOneOf {
|
|
1901
1947
|
/**
|
|
1902
1948
|
* Cursor pointing to page of results.
|
|
1903
1949
|
* When requesting 'cursor_paging.cursor', no `filter`, `sort` or `search` can be provided.
|
|
@@ -1930,14 +1976,14 @@ interface CursorSearch extends CursorSearchPagingMethodOneOf {
|
|
|
1930
1976
|
timeZone?: string | null;
|
|
1931
1977
|
}
|
|
1932
1978
|
/** @oneof */
|
|
1933
|
-
interface CursorSearchPagingMethodOneOf {
|
|
1979
|
+
export interface CursorSearchPagingMethodOneOf {
|
|
1934
1980
|
/**
|
|
1935
1981
|
* Cursor pointing to page of results.
|
|
1936
1982
|
* When requesting 'cursor_paging.cursor', no `filter`, `sort` or `search` can be provided.
|
|
1937
1983
|
*/
|
|
1938
1984
|
cursorPaging?: CursorPaging;
|
|
1939
1985
|
}
|
|
1940
|
-
interface Aggregation extends AggregationKindOneOf {
|
|
1986
|
+
export interface Aggregation extends AggregationKindOneOf {
|
|
1941
1987
|
/** Value aggregation */
|
|
1942
1988
|
value?: ValueAggregation;
|
|
1943
1989
|
/** Range aggregation */
|
|
@@ -1969,7 +2015,7 @@ interface Aggregation extends AggregationKindOneOf {
|
|
|
1969
2015
|
groupBy?: GroupByAggregation;
|
|
1970
2016
|
}
|
|
1971
2017
|
/** @oneof */
|
|
1972
|
-
interface AggregationKindOneOf {
|
|
2018
|
+
export interface AggregationKindOneOf {
|
|
1973
2019
|
/** Value aggregation */
|
|
1974
2020
|
value?: ValueAggregation;
|
|
1975
2021
|
/** Range aggregation */
|
|
@@ -1981,38 +2027,38 @@ interface AggregationKindOneOf {
|
|
|
1981
2027
|
/** Nested aggregation */
|
|
1982
2028
|
nested?: NestedAggregation;
|
|
1983
2029
|
}
|
|
1984
|
-
interface RangeBucket {
|
|
2030
|
+
export interface RangeBucket {
|
|
1985
2031
|
/** Inclusive lower bound of the range. Required if to is not given. */
|
|
1986
2032
|
from?: number | null;
|
|
1987
2033
|
/** Exclusive upper bound of the range. Required if from is not given. */
|
|
1988
2034
|
to?: number | null;
|
|
1989
2035
|
}
|
|
1990
|
-
declare enum SortType {
|
|
2036
|
+
export declare enum SortType {
|
|
1991
2037
|
COUNT = "COUNT",
|
|
1992
2038
|
VALUE = "VALUE"
|
|
1993
2039
|
}
|
|
1994
|
-
declare enum SortDirection {
|
|
2040
|
+
export declare enum SortDirection {
|
|
1995
2041
|
DESC = "DESC",
|
|
1996
2042
|
ASC = "ASC"
|
|
1997
2043
|
}
|
|
1998
|
-
declare enum MissingValues {
|
|
2044
|
+
export declare enum MissingValues {
|
|
1999
2045
|
EXCLUDE = "EXCLUDE",
|
|
2000
2046
|
INCLUDE = "INCLUDE"
|
|
2001
2047
|
}
|
|
2002
|
-
interface IncludeMissingValuesOptions {
|
|
2048
|
+
export interface IncludeMissingValuesOptions {
|
|
2003
2049
|
/**
|
|
2004
2050
|
* can specify custom bucket name. Defaults are [string -> "N/A"], [int -> "0"], [bool -> "false"] ...
|
|
2005
2051
|
* @maxLength 20
|
|
2006
2052
|
*/
|
|
2007
2053
|
addToBucket?: string;
|
|
2008
2054
|
}
|
|
2009
|
-
declare enum ScalarType {
|
|
2055
|
+
export declare enum ScalarType {
|
|
2010
2056
|
UNKNOWN_SCALAR_TYPE = "UNKNOWN_SCALAR_TYPE",
|
|
2011
2057
|
COUNT_DISTINCT = "COUNT_DISTINCT",
|
|
2012
2058
|
MIN = "MIN",
|
|
2013
2059
|
MAX = "MAX"
|
|
2014
2060
|
}
|
|
2015
|
-
interface ValueAggregation extends ValueAggregationOptionsOneOf {
|
|
2061
|
+
export interface ValueAggregation extends ValueAggregationOptionsOneOf {
|
|
2016
2062
|
/** options for including missing values */
|
|
2017
2063
|
includeOptions?: IncludeMissingValuesOptions;
|
|
2018
2064
|
/** Should sort by number of matches or value of the field */
|
|
@@ -2025,33 +2071,33 @@ interface ValueAggregation extends ValueAggregationOptionsOneOf {
|
|
|
2025
2071
|
missingValues?: MissingValues;
|
|
2026
2072
|
}
|
|
2027
2073
|
/** @oneof */
|
|
2028
|
-
interface ValueAggregationOptionsOneOf {
|
|
2074
|
+
export interface ValueAggregationOptionsOneOf {
|
|
2029
2075
|
/** options for including missing values */
|
|
2030
2076
|
includeOptions?: IncludeMissingValuesOptions;
|
|
2031
2077
|
}
|
|
2032
|
-
declare enum NestedAggregationType {
|
|
2078
|
+
export declare enum NestedAggregationType {
|
|
2033
2079
|
UNKNOWN_AGGREGATION_TYPE = "UNKNOWN_AGGREGATION_TYPE",
|
|
2034
2080
|
VALUE = "VALUE",
|
|
2035
2081
|
RANGE = "RANGE",
|
|
2036
2082
|
SCALAR = "SCALAR",
|
|
2037
2083
|
DATE_HISTOGRAM = "DATE_HISTOGRAM"
|
|
2038
2084
|
}
|
|
2039
|
-
interface RangeAggregation {
|
|
2085
|
+
export interface RangeAggregation {
|
|
2040
2086
|
/**
|
|
2041
2087
|
* Range buckets
|
|
2042
2088
|
* @maxSize 50
|
|
2043
2089
|
*/
|
|
2044
2090
|
buckets?: RangeBucket[];
|
|
2045
2091
|
}
|
|
2046
|
-
interface ScalarAggregation {
|
|
2092
|
+
export interface ScalarAggregation {
|
|
2047
2093
|
/** Define the operator for the scalar aggregation */
|
|
2048
2094
|
type?: ScalarType;
|
|
2049
2095
|
}
|
|
2050
|
-
interface DateHistogramAggregation {
|
|
2096
|
+
export interface DateHistogramAggregation {
|
|
2051
2097
|
/** Interval for date histogram aggregation */
|
|
2052
2098
|
interval?: DateHistogramAggregationInterval;
|
|
2053
2099
|
}
|
|
2054
|
-
declare enum DateHistogramAggregationInterval {
|
|
2100
|
+
export declare enum DateHistogramAggregationInterval {
|
|
2055
2101
|
/** Unknown interval. */
|
|
2056
2102
|
UNKNOWN_INTERVAL = "UNKNOWN_INTERVAL",
|
|
2057
2103
|
/** Yearly interval. */
|
|
@@ -2069,7 +2115,7 @@ declare enum DateHistogramAggregationInterval {
|
|
|
2069
2115
|
/** Second interval. */
|
|
2070
2116
|
SECOND = "SECOND"
|
|
2071
2117
|
}
|
|
2072
|
-
interface NestedAggregationItem extends NestedAggregationItemKindOneOf {
|
|
2118
|
+
export interface NestedAggregationItem extends NestedAggregationItemKindOneOf {
|
|
2073
2119
|
/** Value aggregation */
|
|
2074
2120
|
value?: ValueAggregation;
|
|
2075
2121
|
/** Range aggregation */
|
|
@@ -2092,7 +2138,7 @@ interface NestedAggregationItem extends NestedAggregationItemKindOneOf {
|
|
|
2092
2138
|
fieldPath?: string;
|
|
2093
2139
|
}
|
|
2094
2140
|
/** @oneof */
|
|
2095
|
-
interface NestedAggregationItemKindOneOf {
|
|
2141
|
+
export interface NestedAggregationItemKindOneOf {
|
|
2096
2142
|
/** Value aggregation */
|
|
2097
2143
|
value?: ValueAggregation;
|
|
2098
2144
|
/** Range aggregation */
|
|
@@ -2102,7 +2148,7 @@ interface NestedAggregationItemKindOneOf {
|
|
|
2102
2148
|
/** Date histogram aggregation */
|
|
2103
2149
|
dateHistogram?: DateHistogramAggregation;
|
|
2104
2150
|
}
|
|
2105
|
-
declare enum AggregationType {
|
|
2151
|
+
export declare enum AggregationType {
|
|
2106
2152
|
UNKNOWN_AGGREGATION_TYPE = "UNKNOWN_AGGREGATION_TYPE",
|
|
2107
2153
|
VALUE = "VALUE",
|
|
2108
2154
|
RANGE = "RANGE",
|
|
@@ -2111,7 +2157,7 @@ declare enum AggregationType {
|
|
|
2111
2157
|
NESTED = "NESTED"
|
|
2112
2158
|
}
|
|
2113
2159
|
/** nested aggregation expressed through a list of aggregation where each next aggregation is nested within previous one */
|
|
2114
|
-
interface NestedAggregation {
|
|
2160
|
+
export interface NestedAggregation {
|
|
2115
2161
|
/**
|
|
2116
2162
|
* Flattened list of aggregations, where each next aggregation is nested within previous one
|
|
2117
2163
|
* @minSize 2
|
|
@@ -2119,7 +2165,7 @@ interface NestedAggregation {
|
|
|
2119
2165
|
*/
|
|
2120
2166
|
nestedAggregations?: NestedAggregationItem[];
|
|
2121
2167
|
}
|
|
2122
|
-
interface GroupByAggregation extends GroupByAggregationKindOneOf {
|
|
2168
|
+
export interface GroupByAggregation extends GroupByAggregationKindOneOf {
|
|
2123
2169
|
/** Value aggregation configuration */
|
|
2124
2170
|
value?: ValueAggregation;
|
|
2125
2171
|
/**
|
|
@@ -2134,11 +2180,11 @@ interface GroupByAggregation extends GroupByAggregationKindOneOf {
|
|
|
2134
2180
|
fieldPath?: string;
|
|
2135
2181
|
}
|
|
2136
2182
|
/** @oneof */
|
|
2137
|
-
interface GroupByAggregationKindOneOf {
|
|
2183
|
+
export interface GroupByAggregationKindOneOf {
|
|
2138
2184
|
/** Value aggregation configuration */
|
|
2139
2185
|
value?: ValueAggregation;
|
|
2140
2186
|
}
|
|
2141
|
-
interface SearchDetails {
|
|
2187
|
+
export interface SearchDetails {
|
|
2142
2188
|
/** Boolean search mode */
|
|
2143
2189
|
mode?: Mode;
|
|
2144
2190
|
/**
|
|
@@ -2155,13 +2201,13 @@ interface SearchDetails {
|
|
|
2155
2201
|
/** Flag if should use auto fuzzy search (allowing typos by a managed proximity algorithm) */
|
|
2156
2202
|
fuzzy?: boolean;
|
|
2157
2203
|
}
|
|
2158
|
-
declare enum Mode {
|
|
2204
|
+
export declare enum Mode {
|
|
2159
2205
|
/** Any */
|
|
2160
2206
|
OR = "OR",
|
|
2161
2207
|
/** All */
|
|
2162
2208
|
AND = "AND"
|
|
2163
2209
|
}
|
|
2164
|
-
interface SearchServicesResponse {
|
|
2210
|
+
export interface SearchServicesResponse {
|
|
2165
2211
|
/** The retrieved services. */
|
|
2166
2212
|
services?: Service[];
|
|
2167
2213
|
/** Cursor paging metadata */
|
|
@@ -2169,7 +2215,7 @@ interface SearchServicesResponse {
|
|
|
2169
2215
|
/** Response aggregation data */
|
|
2170
2216
|
aggregationData?: AggregationData;
|
|
2171
2217
|
}
|
|
2172
|
-
interface CursorPagingMetadata {
|
|
2218
|
+
export interface CursorPagingMetadata {
|
|
2173
2219
|
/** Number of items returned in the response. */
|
|
2174
2220
|
count?: number | null;
|
|
2175
2221
|
/** 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). */
|
|
@@ -2181,14 +2227,14 @@ interface CursorPagingMetadata {
|
|
|
2181
2227
|
*/
|
|
2182
2228
|
hasNext?: boolean | null;
|
|
2183
2229
|
}
|
|
2184
|
-
interface AggregationData {
|
|
2230
|
+
export interface AggregationData {
|
|
2185
2231
|
/**
|
|
2186
2232
|
* key = aggregation name (as derived from search request)
|
|
2187
2233
|
* @maxSize 10000
|
|
2188
2234
|
*/
|
|
2189
2235
|
results?: AggregationResults[];
|
|
2190
2236
|
}
|
|
2191
|
-
interface ValueAggregationResult {
|
|
2237
|
+
export interface ValueAggregationResult {
|
|
2192
2238
|
/**
|
|
2193
2239
|
* Value of the field
|
|
2194
2240
|
* @maxLength 100
|
|
@@ -2197,7 +2243,7 @@ interface ValueAggregationResult {
|
|
|
2197
2243
|
/** Count of entities with this value */
|
|
2198
2244
|
count?: number;
|
|
2199
2245
|
}
|
|
2200
|
-
interface RangeAggregationResult {
|
|
2246
|
+
export interface RangeAggregationResult {
|
|
2201
2247
|
/** Inclusive lower bound of the range */
|
|
2202
2248
|
from?: number | null;
|
|
2203
2249
|
/** Exclusive upper bound of the range */
|
|
@@ -2205,7 +2251,7 @@ interface RangeAggregationResult {
|
|
|
2205
2251
|
/** Count of entities in this range */
|
|
2206
2252
|
count?: number;
|
|
2207
2253
|
}
|
|
2208
|
-
interface NestedAggregationResults extends NestedAggregationResultsResultOneOf {
|
|
2254
|
+
export interface NestedAggregationResults extends NestedAggregationResultsResultOneOf {
|
|
2209
2255
|
/** Value aggregation results */
|
|
2210
2256
|
values?: ValueResults;
|
|
2211
2257
|
/** Range aggregation results */
|
|
@@ -2226,7 +2272,7 @@ interface NestedAggregationResults extends NestedAggregationResultsResultOneOf {
|
|
|
2226
2272
|
fieldPath?: string;
|
|
2227
2273
|
}
|
|
2228
2274
|
/** @oneof */
|
|
2229
|
-
interface NestedAggregationResultsResultOneOf {
|
|
2275
|
+
export interface NestedAggregationResultsResultOneOf {
|
|
2230
2276
|
/** Value aggregation results */
|
|
2231
2277
|
values?: ValueResults;
|
|
2232
2278
|
/** Range aggregation results */
|
|
@@ -2234,27 +2280,27 @@ interface NestedAggregationResultsResultOneOf {
|
|
|
2234
2280
|
/** Scalar aggregation results */
|
|
2235
2281
|
scalar?: AggregationResultsScalarResult;
|
|
2236
2282
|
}
|
|
2237
|
-
interface ValueResults {
|
|
2283
|
+
export interface ValueResults {
|
|
2238
2284
|
/**
|
|
2239
2285
|
* List of value aggregations
|
|
2240
2286
|
* @maxSize 250
|
|
2241
2287
|
*/
|
|
2242
2288
|
results?: ValueAggregationResult[];
|
|
2243
2289
|
}
|
|
2244
|
-
interface RangeResults {
|
|
2290
|
+
export interface RangeResults {
|
|
2245
2291
|
/**
|
|
2246
2292
|
* List of ranges returned in same order as requested
|
|
2247
2293
|
* @maxSize 50
|
|
2248
2294
|
*/
|
|
2249
2295
|
results?: RangeAggregationResult[];
|
|
2250
2296
|
}
|
|
2251
|
-
interface AggregationResultsScalarResult {
|
|
2297
|
+
export interface AggregationResultsScalarResult {
|
|
2252
2298
|
/** Type of scalar aggregation */
|
|
2253
2299
|
type?: ScalarType;
|
|
2254
2300
|
/** Value of the scalar aggregation */
|
|
2255
2301
|
value?: number;
|
|
2256
2302
|
}
|
|
2257
|
-
interface NestedValueAggregationResult {
|
|
2303
|
+
export interface NestedValueAggregationResult {
|
|
2258
2304
|
/**
|
|
2259
2305
|
* Value of the field
|
|
2260
2306
|
* @maxLength 1000
|
|
@@ -2263,7 +2309,7 @@ interface NestedValueAggregationResult {
|
|
|
2263
2309
|
/** Nested aggregations */
|
|
2264
2310
|
nestedResults?: NestedAggregationResults;
|
|
2265
2311
|
}
|
|
2266
|
-
interface ValueResult {
|
|
2312
|
+
export interface ValueResult {
|
|
2267
2313
|
/**
|
|
2268
2314
|
* Value of the field
|
|
2269
2315
|
* @maxLength 1000
|
|
@@ -2272,7 +2318,7 @@ interface ValueResult {
|
|
|
2272
2318
|
/** Count of entities with this value */
|
|
2273
2319
|
count?: number | null;
|
|
2274
2320
|
}
|
|
2275
|
-
interface RangeResult {
|
|
2321
|
+
export interface RangeResult {
|
|
2276
2322
|
/** Inclusive lower bound of the range */
|
|
2277
2323
|
from?: number | null;
|
|
2278
2324
|
/** Exclusive upper bound of the range */
|
|
@@ -2280,11 +2326,11 @@ interface RangeResult {
|
|
|
2280
2326
|
/** Count of entities in this range */
|
|
2281
2327
|
count?: number | null;
|
|
2282
2328
|
}
|
|
2283
|
-
interface ScalarResult {
|
|
2329
|
+
export interface ScalarResult {
|
|
2284
2330
|
/** Value of the scalar aggregation */
|
|
2285
2331
|
value?: number;
|
|
2286
2332
|
}
|
|
2287
|
-
interface NestedResultValue extends NestedResultValueResultOneOf {
|
|
2333
|
+
export interface NestedResultValue extends NestedResultValueResultOneOf {
|
|
2288
2334
|
/** Value aggregation result */
|
|
2289
2335
|
value?: ValueResult;
|
|
2290
2336
|
/** Range aggregation result */
|
|
@@ -2295,7 +2341,7 @@ interface NestedResultValue extends NestedResultValueResultOneOf {
|
|
|
2295
2341
|
dateHistogram?: ValueResult;
|
|
2296
2342
|
}
|
|
2297
2343
|
/** @oneof */
|
|
2298
|
-
interface NestedResultValueResultOneOf {
|
|
2344
|
+
export interface NestedResultValueResultOneOf {
|
|
2299
2345
|
/** Value aggregation result */
|
|
2300
2346
|
value?: ValueResult;
|
|
2301
2347
|
/** Range aggregation result */
|
|
@@ -2305,11 +2351,11 @@ interface NestedResultValueResultOneOf {
|
|
|
2305
2351
|
/** Date histogram aggregation result */
|
|
2306
2352
|
dateHistogram?: ValueResult;
|
|
2307
2353
|
}
|
|
2308
|
-
interface Results {
|
|
2354
|
+
export interface Results {
|
|
2309
2355
|
/** List of nested aggregations */
|
|
2310
2356
|
results?: Record<string, NestedResultValue>;
|
|
2311
2357
|
}
|
|
2312
|
-
interface DateHistogramResult {
|
|
2358
|
+
export interface DateHistogramResult {
|
|
2313
2359
|
/**
|
|
2314
2360
|
* Date in ISO 8601 format
|
|
2315
2361
|
* @maxLength 100
|
|
@@ -2318,14 +2364,14 @@ interface DateHistogramResult {
|
|
|
2318
2364
|
/** Count of documents in the bucket */
|
|
2319
2365
|
count?: number;
|
|
2320
2366
|
}
|
|
2321
|
-
interface GroupByValueResults {
|
|
2367
|
+
export interface GroupByValueResults {
|
|
2322
2368
|
/**
|
|
2323
2369
|
* List of value aggregations
|
|
2324
2370
|
* @maxSize 1000
|
|
2325
2371
|
*/
|
|
2326
2372
|
results?: NestedValueAggregationResult[];
|
|
2327
2373
|
}
|
|
2328
|
-
interface DateHistogramResults {
|
|
2374
|
+
export interface DateHistogramResults {
|
|
2329
2375
|
/**
|
|
2330
2376
|
* List of date histogram aggregations
|
|
2331
2377
|
* @maxSize 200
|
|
@@ -2336,14 +2382,14 @@ interface DateHistogramResults {
|
|
|
2336
2382
|
* results of `NESTED` aggregation type in a flattened form
|
|
2337
2383
|
* aggregations in resulting array are keyed by requested aggregation `name`.
|
|
2338
2384
|
*/
|
|
2339
|
-
interface NestedResults {
|
|
2385
|
+
export interface NestedResults {
|
|
2340
2386
|
/**
|
|
2341
2387
|
* List of nested aggregations
|
|
2342
2388
|
* @maxSize 1000
|
|
2343
2389
|
*/
|
|
2344
2390
|
results?: Results[];
|
|
2345
2391
|
}
|
|
2346
|
-
interface AggregationResults extends AggregationResultsResultOneOf {
|
|
2392
|
+
export interface AggregationResults extends AggregationResultsResultOneOf {
|
|
2347
2393
|
/** Value aggregation results */
|
|
2348
2394
|
values?: ValueResults;
|
|
2349
2395
|
/** Range aggregation results */
|
|
@@ -2370,7 +2416,7 @@ interface AggregationResults extends AggregationResultsResultOneOf {
|
|
|
2370
2416
|
fieldPath?: string;
|
|
2371
2417
|
}
|
|
2372
2418
|
/** @oneof */
|
|
2373
|
-
interface AggregationResultsResultOneOf {
|
|
2419
|
+
export interface AggregationResultsResultOneOf {
|
|
2374
2420
|
/** Value aggregation results */
|
|
2375
2421
|
values?: ValueResults;
|
|
2376
2422
|
/** Range aggregation results */
|
|
@@ -2384,7 +2430,7 @@ interface AggregationResultsResultOneOf {
|
|
|
2384
2430
|
/** Nested aggregation results */
|
|
2385
2431
|
nested?: NestedResults;
|
|
2386
2432
|
}
|
|
2387
|
-
interface QueryPoliciesRequest {
|
|
2433
|
+
export interface QueryPoliciesRequest {
|
|
2388
2434
|
/**
|
|
2389
2435
|
* Information about filters, paging, and sorting. See the article about
|
|
2390
2436
|
* booking policy filters
|
|
@@ -2393,7 +2439,7 @@ interface QueryPoliciesRequest {
|
|
|
2393
2439
|
*/
|
|
2394
2440
|
query: CursorQuery;
|
|
2395
2441
|
}
|
|
2396
|
-
interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
2442
|
+
export interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
2397
2443
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
2398
2444
|
cursorPaging?: CursorPaging;
|
|
2399
2445
|
/**
|
|
@@ -2413,17 +2459,17 @@ interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
|
2413
2459
|
sort?: Sorting[];
|
|
2414
2460
|
}
|
|
2415
2461
|
/** @oneof */
|
|
2416
|
-
interface CursorQueryPagingMethodOneOf {
|
|
2462
|
+
export interface CursorQueryPagingMethodOneOf {
|
|
2417
2463
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
2418
2464
|
cursorPaging?: CursorPaging;
|
|
2419
2465
|
}
|
|
2420
|
-
interface QueryPoliciesResponse {
|
|
2466
|
+
export interface QueryPoliciesResponse {
|
|
2421
2467
|
/** Retrieved booking policies and information about the services using them. */
|
|
2422
2468
|
bookingPolicies?: BookingPolicyWithServices[];
|
|
2423
2469
|
/** Paging metadata. */
|
|
2424
2470
|
pagingMetadata?: CursorPagingMetadata;
|
|
2425
2471
|
}
|
|
2426
|
-
interface BookingPolicyWithServices {
|
|
2472
|
+
export interface BookingPolicyWithServices {
|
|
2427
2473
|
/** Retrieved booking policy. */
|
|
2428
2474
|
bookingPolicy?: BookingPolicy;
|
|
2429
2475
|
/**
|
|
@@ -2439,7 +2485,7 @@ interface BookingPolicyWithServices {
|
|
|
2439
2485
|
/** Total number of services connected to the booking policy. */
|
|
2440
2486
|
totalServiceCount?: number;
|
|
2441
2487
|
}
|
|
2442
|
-
interface QueryBookingFormsRequest {
|
|
2488
|
+
export interface QueryBookingFormsRequest {
|
|
2443
2489
|
/**
|
|
2444
2490
|
* Information about filters, paging, and sorting. See the article about
|
|
2445
2491
|
* form filters ([REST](https://dev.wix.com/docs/rest/crm/forms/forms/introduction/supported-filters))
|
|
@@ -2452,13 +2498,13 @@ interface QueryBookingFormsRequest {
|
|
|
2452
2498
|
*/
|
|
2453
2499
|
conditionalFields?: RequestedFields[];
|
|
2454
2500
|
}
|
|
2455
|
-
declare enum RequestedFields {
|
|
2501
|
+
export declare enum RequestedFields {
|
|
2456
2502
|
/** Unknown requested conditional field. */
|
|
2457
2503
|
UNKNOWN_REQUESTED_FIELD = "UNKNOWN_REQUESTED_FIELD",
|
|
2458
2504
|
/** Whether to return the site's default booking form. */
|
|
2459
2505
|
DEFAULT_BOOKING_FORM = "DEFAULT_BOOKING_FORM"
|
|
2460
2506
|
}
|
|
2461
|
-
interface QueryBookingFormsResponse {
|
|
2507
|
+
export interface QueryBookingFormsResponse {
|
|
2462
2508
|
/** Retrieved booking forms and information about connected services. */
|
|
2463
2509
|
bookingForms?: BookingForm[];
|
|
2464
2510
|
/** Paging metadata. */
|
|
@@ -2466,7 +2512,7 @@ interface QueryBookingFormsResponse {
|
|
|
2466
2512
|
/** The site's default booking form and information about connected services. */
|
|
2467
2513
|
defaultBookingForm?: BookingForm;
|
|
2468
2514
|
}
|
|
2469
|
-
interface BookingForm {
|
|
2515
|
+
export interface BookingForm {
|
|
2470
2516
|
/** Information about the retrieved booking form. */
|
|
2471
2517
|
formDetails?: FormDetails;
|
|
2472
2518
|
/**
|
|
@@ -2482,7 +2528,7 @@ interface BookingForm {
|
|
|
2482
2528
|
/** Total number of services connected to the booking form. */
|
|
2483
2529
|
totalServiceCount?: number;
|
|
2484
2530
|
}
|
|
2485
|
-
interface FormDetails {
|
|
2531
|
+
export interface FormDetails {
|
|
2486
2532
|
/**
|
|
2487
2533
|
* Form ID.
|
|
2488
2534
|
* @format GUID
|
|
@@ -2501,12 +2547,12 @@ interface FormDetails {
|
|
|
2501
2547
|
*/
|
|
2502
2548
|
revision?: string | null;
|
|
2503
2549
|
}
|
|
2504
|
-
interface ConnectedService {
|
|
2550
|
+
export interface ConnectedService {
|
|
2505
2551
|
/**
|
|
2506
2552
|
* ID of the service connected to the booking form.
|
|
2507
2553
|
* @format GUID
|
|
2508
2554
|
*/
|
|
2509
|
-
|
|
2555
|
+
id?: string | null;
|
|
2510
2556
|
/**
|
|
2511
2557
|
* Name of the service connected to the booking form.
|
|
2512
2558
|
* @maxLength 400
|
|
@@ -2514,7 +2560,7 @@ interface ConnectedService {
|
|
|
2514
2560
|
*/
|
|
2515
2561
|
name?: string | null;
|
|
2516
2562
|
}
|
|
2517
|
-
interface CountServicesRequest {
|
|
2563
|
+
export interface CountServicesRequest {
|
|
2518
2564
|
/**
|
|
2519
2565
|
* Query filter to base the count on. See supported filters
|
|
2520
2566
|
* ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/filtering-and-sorting#filtering))
|
|
@@ -2522,15 +2568,15 @@ interface CountServicesRequest {
|
|
|
2522
2568
|
*/
|
|
2523
2569
|
filter?: Record<string, any> | null;
|
|
2524
2570
|
}
|
|
2525
|
-
interface CountServicesResponse {
|
|
2571
|
+
export interface CountServicesResponse {
|
|
2526
2572
|
/** Number of services matching the specified filter. */
|
|
2527
2573
|
count?: number;
|
|
2528
2574
|
}
|
|
2529
|
-
interface QueryLocationsRequest {
|
|
2575
|
+
export interface QueryLocationsRequest {
|
|
2530
2576
|
/** Filter. */
|
|
2531
2577
|
filter?: QueryLocationsFilter;
|
|
2532
2578
|
}
|
|
2533
|
-
interface QueryLocationsFilter {
|
|
2579
|
+
export interface QueryLocationsFilter {
|
|
2534
2580
|
/**
|
|
2535
2581
|
* Service filter. See supported filters
|
|
2536
2582
|
* ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/filtering-and-sorting#filtering))
|
|
@@ -2544,7 +2590,7 @@ interface QueryLocationsFilter {
|
|
|
2544
2590
|
*/
|
|
2545
2591
|
businessLocationIds?: string[];
|
|
2546
2592
|
}
|
|
2547
|
-
interface QueryLocationsResponse {
|
|
2593
|
+
export interface QueryLocationsResponse {
|
|
2548
2594
|
/**
|
|
2549
2595
|
* Retrieved business locations and whether each location is connected to at
|
|
2550
2596
|
* least one service.
|
|
@@ -2561,7 +2607,7 @@ interface QueryLocationsResponse {
|
|
|
2561
2607
|
*/
|
|
2562
2608
|
customerLocations?: CustomerLocations;
|
|
2563
2609
|
}
|
|
2564
|
-
interface BusinessLocations {
|
|
2610
|
+
export interface BusinessLocations {
|
|
2565
2611
|
/**
|
|
2566
2612
|
* Whether at least one service matching the filter is connected to any of the
|
|
2567
2613
|
* retrieved business locations.
|
|
@@ -2573,25 +2619,25 @@ interface BusinessLocations {
|
|
|
2573
2619
|
*/
|
|
2574
2620
|
locations?: V2Location[];
|
|
2575
2621
|
}
|
|
2576
|
-
interface CustomLocations {
|
|
2622
|
+
export interface CustomLocations {
|
|
2577
2623
|
/**
|
|
2578
2624
|
* Whether at least one service matching the filter is connected to any of the
|
|
2579
2625
|
* retrieved custom locations.
|
|
2580
2626
|
*/
|
|
2581
2627
|
exists?: boolean;
|
|
2582
2628
|
}
|
|
2583
|
-
interface CustomerLocations {
|
|
2629
|
+
export interface CustomerLocations {
|
|
2584
2630
|
/**
|
|
2585
2631
|
* Whether at least one service matching the filter is connected to any of the
|
|
2586
2632
|
* retrieved customer locations.
|
|
2587
2633
|
*/
|
|
2588
2634
|
exists?: boolean;
|
|
2589
2635
|
}
|
|
2590
|
-
interface QueryCategoriesRequest {
|
|
2636
|
+
export interface QueryCategoriesRequest {
|
|
2591
2637
|
/** Filter. */
|
|
2592
2638
|
filter?: QueryCategoriesFilter;
|
|
2593
2639
|
}
|
|
2594
|
-
interface QueryCategoriesFilter {
|
|
2640
|
+
export interface QueryCategoriesFilter {
|
|
2595
2641
|
/**
|
|
2596
2642
|
* Service filter. See supported filters
|
|
2597
2643
|
* ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/filtering-and-sorting#filtering))
|
|
@@ -2605,15 +2651,15 @@ interface QueryCategoriesFilter {
|
|
|
2605
2651
|
*/
|
|
2606
2652
|
categoryIds?: string[];
|
|
2607
2653
|
}
|
|
2608
|
-
interface QueryCategoriesResponse {
|
|
2654
|
+
export interface QueryCategoriesResponse {
|
|
2609
2655
|
/** Retrieved categories. */
|
|
2610
2656
|
categories?: V2Category[];
|
|
2611
2657
|
}
|
|
2612
|
-
interface QueryServicesMultiLanguageRequest {
|
|
2658
|
+
export interface QueryServicesMultiLanguageRequest {
|
|
2613
2659
|
/** WQL expression. */
|
|
2614
2660
|
query?: QueryV2;
|
|
2615
2661
|
}
|
|
2616
|
-
interface QueryServicesMultiLanguageResponse {
|
|
2662
|
+
export interface QueryServicesMultiLanguageResponse {
|
|
2617
2663
|
/** The retrieved services in the main language */
|
|
2618
2664
|
services?: Service[];
|
|
2619
2665
|
/**
|
|
@@ -2624,7 +2670,7 @@ interface QueryServicesMultiLanguageResponse {
|
|
|
2624
2670
|
/** Paging metadata, including offset and count. */
|
|
2625
2671
|
pagingMetadata?: PagingMetadataV2;
|
|
2626
2672
|
}
|
|
2627
|
-
interface SetServiceLocationsRequest {
|
|
2673
|
+
export interface SetServiceLocationsRequest {
|
|
2628
2674
|
/**
|
|
2629
2675
|
* ID of the service.
|
|
2630
2676
|
* @format GUID
|
|
@@ -2647,7 +2693,7 @@ interface SetServiceLocationsRequest {
|
|
|
2647
2693
|
*/
|
|
2648
2694
|
participantNotification?: ParticipantNotification;
|
|
2649
2695
|
}
|
|
2650
|
-
interface RemovedLocationSessionsAction extends RemovedLocationSessionsActionActionOptionsOneOf {
|
|
2696
|
+
export interface RemovedLocationSessionsAction extends RemovedLocationSessionsActionActionOptionsOneOf {
|
|
2651
2697
|
/**
|
|
2652
2698
|
* Details about the new location of future events that were scheduled to take
|
|
2653
2699
|
* place at a removed location.
|
|
@@ -2657,14 +2703,14 @@ interface RemovedLocationSessionsAction extends RemovedLocationSessionsActionAct
|
|
|
2657
2703
|
action?: Action;
|
|
2658
2704
|
}
|
|
2659
2705
|
/** @oneof */
|
|
2660
|
-
interface RemovedLocationSessionsActionActionOptionsOneOf {
|
|
2706
|
+
export interface RemovedLocationSessionsActionActionOptionsOneOf {
|
|
2661
2707
|
/**
|
|
2662
2708
|
* Details about the new location of future events that were scheduled to take
|
|
2663
2709
|
* place at a removed location.
|
|
2664
2710
|
*/
|
|
2665
2711
|
moveToLocationOptions?: MoveToNewLocationsOptions;
|
|
2666
2712
|
}
|
|
2667
|
-
declare enum Action {
|
|
2713
|
+
export declare enum Action {
|
|
2668
2714
|
UNKNOWN_ACTION_TYPE = "UNKNOWN_ACTION_TYPE",
|
|
2669
2715
|
/** Retain all future sessions at their current location. This is the default. */
|
|
2670
2716
|
KEEP_AT_CURRENT_LOCATION = "KEEP_AT_CURRENT_LOCATION",
|
|
@@ -2676,15 +2722,15 @@ declare enum Action {
|
|
|
2676
2722
|
*/
|
|
2677
2723
|
DELETE = "DELETE"
|
|
2678
2724
|
}
|
|
2679
|
-
interface MoveToNewLocationsOptions {
|
|
2725
|
+
export interface MoveToNewLocationsOptions {
|
|
2680
2726
|
/** The new location to move existing sessions currently set to a removed location, used when `action` is `MOVE_TO_LOCATION`. */
|
|
2681
2727
|
newLocation?: V2Location;
|
|
2682
2728
|
}
|
|
2683
|
-
interface SetServiceLocationsResponse {
|
|
2729
|
+
export interface SetServiceLocationsResponse {
|
|
2684
2730
|
/** The updated service with the newly set locations. */
|
|
2685
2731
|
service?: Service;
|
|
2686
2732
|
}
|
|
2687
|
-
interface EnablePricingPlansForServiceRequest {
|
|
2733
|
+
export interface EnablePricingPlansForServiceRequest {
|
|
2688
2734
|
/**
|
|
2689
2735
|
* ID of the service to update.
|
|
2690
2736
|
* @format GUID
|
|
@@ -2699,23 +2745,23 @@ interface EnablePricingPlansForServiceRequest {
|
|
|
2699
2745
|
*/
|
|
2700
2746
|
pricingPlanIds: string[];
|
|
2701
2747
|
}
|
|
2702
|
-
interface EnablePricingPlansForServiceResponse {
|
|
2748
|
+
export interface EnablePricingPlansForServiceResponse {
|
|
2703
2749
|
/** Updated service. */
|
|
2704
2750
|
service?: Service;
|
|
2705
2751
|
}
|
|
2706
|
-
interface InvalidPricingPlan {
|
|
2752
|
+
export interface InvalidPricingPlan {
|
|
2707
2753
|
/**
|
|
2708
2754
|
* ID of the invalid pricing plan.
|
|
2709
2755
|
* @format GUID
|
|
2710
2756
|
*/
|
|
2711
|
-
|
|
2757
|
+
id?: string;
|
|
2712
2758
|
/**
|
|
2713
2759
|
* Explanation why the pricing plan is considered invalid.
|
|
2714
2760
|
* @maxLength 2000
|
|
2715
2761
|
*/
|
|
2716
2762
|
message?: string;
|
|
2717
2763
|
}
|
|
2718
|
-
interface DisablePricingPlansForServiceRequest {
|
|
2764
|
+
export interface DisablePricingPlansForServiceRequest {
|
|
2719
2765
|
/**
|
|
2720
2766
|
* ID of the service to update.
|
|
2721
2767
|
* @format GUID
|
|
@@ -2730,11 +2776,11 @@ interface DisablePricingPlansForServiceRequest {
|
|
|
2730
2776
|
*/
|
|
2731
2777
|
pricingPlanIds?: string[];
|
|
2732
2778
|
}
|
|
2733
|
-
interface DisablePricingPlansForServiceResponse {
|
|
2779
|
+
export interface DisablePricingPlansForServiceResponse {
|
|
2734
2780
|
/** Updated service. */
|
|
2735
2781
|
service?: Service;
|
|
2736
2782
|
}
|
|
2737
|
-
interface SetCustomSlugRequest {
|
|
2783
|
+
export interface SetCustomSlugRequest {
|
|
2738
2784
|
/**
|
|
2739
2785
|
* ID of the service for which to update the active slug.
|
|
2740
2786
|
* @format GUID
|
|
@@ -2746,13 +2792,13 @@ interface SetCustomSlugRequest {
|
|
|
2746
2792
|
*/
|
|
2747
2793
|
slug?: string;
|
|
2748
2794
|
}
|
|
2749
|
-
interface SetCustomSlugResponse {
|
|
2795
|
+
export interface SetCustomSlugResponse {
|
|
2750
2796
|
/** Updated active service slug. */
|
|
2751
2797
|
slug?: Slug;
|
|
2752
2798
|
/** Updated service. */
|
|
2753
2799
|
service?: Service;
|
|
2754
2800
|
}
|
|
2755
|
-
interface ValidateSlugRequest {
|
|
2801
|
+
export interface ValidateSlugRequest {
|
|
2756
2802
|
/**
|
|
2757
2803
|
* IO of the service to check custom slug validity for.
|
|
2758
2804
|
* @format GUID
|
|
@@ -2764,7 +2810,7 @@ interface ValidateSlugRequest {
|
|
|
2764
2810
|
*/
|
|
2765
2811
|
slug?: string;
|
|
2766
2812
|
}
|
|
2767
|
-
interface ValidateSlugResponse {
|
|
2813
|
+
export interface ValidateSlugResponse {
|
|
2768
2814
|
/** Whether the slug is valid. */
|
|
2769
2815
|
valid?: boolean;
|
|
2770
2816
|
/**
|
|
@@ -2778,7 +2824,7 @@ interface ValidateSlugResponse {
|
|
|
2778
2824
|
*/
|
|
2779
2825
|
errors?: InvalidSlugError[];
|
|
2780
2826
|
}
|
|
2781
|
-
declare enum InvalidSlugError {
|
|
2827
|
+
export declare enum InvalidSlugError {
|
|
2782
2828
|
/** Unknown slug error. */
|
|
2783
2829
|
UNKNOWN_SLUG_ERROR = "UNKNOWN_SLUG_ERROR",
|
|
2784
2830
|
/** Slug contains illegal characters. */
|
|
@@ -2786,14 +2832,14 @@ declare enum InvalidSlugError {
|
|
|
2786
2832
|
/** Slug is already associated with another service. */
|
|
2787
2833
|
SLUG_ALREADY_EXISTS = "SLUG_ALREADY_EXISTS"
|
|
2788
2834
|
}
|
|
2789
|
-
interface CloneServiceRequest {
|
|
2835
|
+
export interface CloneServiceRequest {
|
|
2790
2836
|
/**
|
|
2791
2837
|
* ID of the service to clone.
|
|
2792
2838
|
* @format GUID
|
|
2793
2839
|
*/
|
|
2794
2840
|
sourceServiceId: string;
|
|
2795
2841
|
}
|
|
2796
|
-
interface CloneServiceResponse {
|
|
2842
|
+
export interface CloneServiceResponse {
|
|
2797
2843
|
/** Cloned service. */
|
|
2798
2844
|
service?: Service;
|
|
2799
2845
|
/**
|
|
@@ -2803,7 +2849,7 @@ interface CloneServiceResponse {
|
|
|
2803
2849
|
*/
|
|
2804
2850
|
errors?: CloneErrors[];
|
|
2805
2851
|
}
|
|
2806
|
-
declare enum CloneErrors {
|
|
2852
|
+
export declare enum CloneErrors {
|
|
2807
2853
|
/**
|
|
2808
2854
|
* Failed to clone the original service's *options and variants*
|
|
2809
2855
|
* ([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)).
|
|
@@ -2813,18 +2859,18 @@ declare enum CloneErrors {
|
|
|
2813
2859
|
FORM = "FORM"
|
|
2814
2860
|
}
|
|
2815
2861
|
/** An event sent every time a category entity is changed. */
|
|
2816
|
-
interface CategoryNotification {
|
|
2862
|
+
export interface CategoryNotification {
|
|
2817
2863
|
category?: Category;
|
|
2818
2864
|
event?: CategoryNotificationEvent;
|
|
2819
2865
|
}
|
|
2820
2866
|
/** 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. */
|
|
2821
|
-
interface Category {
|
|
2867
|
+
export interface Category {
|
|
2822
2868
|
/**
|
|
2823
2869
|
* Category ID.
|
|
2824
2870
|
* @format GUID
|
|
2825
2871
|
* @readonly
|
|
2826
2872
|
*/
|
|
2827
|
-
|
|
2873
|
+
id?: string | null;
|
|
2828
2874
|
/**
|
|
2829
2875
|
* Category name.
|
|
2830
2876
|
* @maxLength 500
|
|
@@ -2840,13 +2886,13 @@ interface Category {
|
|
|
2840
2886
|
/** Sort order of the category in the live site and dashboard. */
|
|
2841
2887
|
sortOrder?: number | null;
|
|
2842
2888
|
}
|
|
2843
|
-
declare enum Status {
|
|
2889
|
+
export declare enum Status {
|
|
2844
2890
|
/** The category was created. */
|
|
2845
2891
|
CREATED = "CREATED",
|
|
2846
2892
|
/** The category was deleted. */
|
|
2847
2893
|
DELETED = "DELETED"
|
|
2848
2894
|
}
|
|
2849
|
-
declare enum CategoryNotificationEvent {
|
|
2895
|
+
export declare enum CategoryNotificationEvent {
|
|
2850
2896
|
/** Category was updated. */
|
|
2851
2897
|
Updated = "Updated",
|
|
2852
2898
|
/** Category was deleted. */
|
|
@@ -2854,9 +2900,9 @@ declare enum CategoryNotificationEvent {
|
|
|
2854
2900
|
/** Category was created. */
|
|
2855
2901
|
Created = "Created"
|
|
2856
2902
|
}
|
|
2857
|
-
interface Empty {
|
|
2903
|
+
export interface Empty {
|
|
2858
2904
|
}
|
|
2859
|
-
interface ResourceNotification {
|
|
2905
|
+
export interface ResourceNotification {
|
|
2860
2906
|
/**
|
|
2861
2907
|
* Updated resource entity.
|
|
2862
2908
|
* 'resource.schedules' is deprecated and will not be returned. Please use 'resource.scheduleIds' instead.
|
|
@@ -2865,13 +2911,13 @@ interface ResourceNotification {
|
|
|
2865
2911
|
/** Event type. */
|
|
2866
2912
|
event?: ResourceNotificationEvent;
|
|
2867
2913
|
}
|
|
2868
|
-
interface Resource {
|
|
2914
|
+
export interface Resource {
|
|
2869
2915
|
/**
|
|
2870
2916
|
* Resource ID.
|
|
2871
2917
|
* @format GUID
|
|
2872
2918
|
* @readonly
|
|
2873
2919
|
*/
|
|
2874
|
-
|
|
2920
|
+
id?: string | null;
|
|
2875
2921
|
/**
|
|
2876
2922
|
* Resource name.
|
|
2877
2923
|
* @maxLength 1200
|
|
@@ -2904,7 +2950,7 @@ interface Resource {
|
|
|
2904
2950
|
*/
|
|
2905
2951
|
tags?: string[] | null;
|
|
2906
2952
|
/** Resource images. */
|
|
2907
|
-
images?:
|
|
2953
|
+
images?: CommonImage[];
|
|
2908
2954
|
/**
|
|
2909
2955
|
* Deprecated. Please use scheduleIds. List of the schedules owned by this resource. Min size 1.
|
|
2910
2956
|
* @deprecated
|
|
@@ -2929,7 +2975,30 @@ interface Resource {
|
|
|
2929
2975
|
*/
|
|
2930
2976
|
wixUserId?: string | null;
|
|
2931
2977
|
}
|
|
2932
|
-
interface
|
|
2978
|
+
export interface CommonImage {
|
|
2979
|
+
/** WixMedia image ID. */
|
|
2980
|
+
id?: string;
|
|
2981
|
+
/** Image URL. */
|
|
2982
|
+
url?: string;
|
|
2983
|
+
/**
|
|
2984
|
+
* Original image height.
|
|
2985
|
+
* @readonly
|
|
2986
|
+
*/
|
|
2987
|
+
height?: number;
|
|
2988
|
+
/**
|
|
2989
|
+
* Original image width.
|
|
2990
|
+
* @readonly
|
|
2991
|
+
*/
|
|
2992
|
+
width?: number;
|
|
2993
|
+
/** Image alt text. */
|
|
2994
|
+
altText?: string | null;
|
|
2995
|
+
/**
|
|
2996
|
+
* Image filename.
|
|
2997
|
+
* @readonly
|
|
2998
|
+
*/
|
|
2999
|
+
filename?: string | null;
|
|
3000
|
+
}
|
|
3001
|
+
export interface FocalPoint {
|
|
2933
3002
|
/** X-coordinate of the focal point. */
|
|
2934
3003
|
x?: number;
|
|
2935
3004
|
/** Y-coordinate of the focal point. */
|
|
@@ -2939,9 +3008,9 @@ interface FocalPoint {
|
|
|
2939
3008
|
/** crop by width */
|
|
2940
3009
|
width?: number | null;
|
|
2941
3010
|
}
|
|
2942
|
-
interface Schedule {
|
|
3011
|
+
export interface Schedule {
|
|
2943
3012
|
/** Schedule ID. */
|
|
2944
|
-
|
|
3013
|
+
id?: string;
|
|
2945
3014
|
/** ID of the schedule's owner entity. This may be a resource ID or a service ID. */
|
|
2946
3015
|
scheduleOwnerId?: string | null;
|
|
2947
3016
|
/**
|
|
@@ -3040,12 +3109,12 @@ interface Schedule {
|
|
|
3040
3109
|
*/
|
|
3041
3110
|
calendarConference?: CalendarConference;
|
|
3042
3111
|
}
|
|
3043
|
-
interface RecurringInterval {
|
|
3112
|
+
export interface RecurringInterval {
|
|
3044
3113
|
/**
|
|
3045
3114
|
* The recurring interval identifier.
|
|
3046
3115
|
* @readonly
|
|
3047
3116
|
*/
|
|
3048
|
-
|
|
3117
|
+
id?: string;
|
|
3049
3118
|
/** The start time of the recurring interval. Required. */
|
|
3050
3119
|
start?: Date | null;
|
|
3051
3120
|
/** The end time of the recurring interval. Optional. Empty value indicates that there is no end time. */
|
|
@@ -3059,7 +3128,7 @@ interface RecurringInterval {
|
|
|
3059
3128
|
/** The type of recurring interval. */
|
|
3060
3129
|
intervalType?: RecurringIntervalType;
|
|
3061
3130
|
}
|
|
3062
|
-
interface Interval {
|
|
3131
|
+
export interface Interval {
|
|
3063
3132
|
/** The day the interval occurs. Optional. The default is the day of the recurring interval's start time. */
|
|
3064
3133
|
daysOfWeek?: Day;
|
|
3065
3134
|
/**
|
|
@@ -3075,7 +3144,7 @@ interface Interval {
|
|
|
3075
3144
|
/** The duration of the interval in minutes. Required. Part of the session end time calculation. */
|
|
3076
3145
|
duration?: number;
|
|
3077
3146
|
}
|
|
3078
|
-
declare enum Day {
|
|
3147
|
+
export declare enum Day {
|
|
3079
3148
|
/** Undefined. */
|
|
3080
3149
|
UNDEFINED = "UNDEFINED",
|
|
3081
3150
|
/** Monday. */
|
|
@@ -3093,7 +3162,7 @@ declare enum Day {
|
|
|
3093
3162
|
/** Sunday. */
|
|
3094
3163
|
SUN = "SUN"
|
|
3095
3164
|
}
|
|
3096
|
-
interface Frequency {
|
|
3165
|
+
export interface Frequency {
|
|
3097
3166
|
/**
|
|
3098
3167
|
* The frequency of the recurrence in weeks. i.e. when this value is 4, the interval occurs every 4 weeks. Optional. The default is 1. minimum: 1, maximum: 52.
|
|
3099
3168
|
* @min 1
|
|
@@ -3101,7 +3170,7 @@ interface Frequency {
|
|
|
3101
3170
|
*/
|
|
3102
3171
|
repetition?: number | null;
|
|
3103
3172
|
}
|
|
3104
|
-
interface LinkedSchedule {
|
|
3173
|
+
export interface LinkedSchedule {
|
|
3105
3174
|
/**
|
|
3106
3175
|
* Schedule ID.
|
|
3107
3176
|
* @format GUID
|
|
@@ -3115,14 +3184,14 @@ interface LinkedSchedule {
|
|
|
3115
3184
|
*/
|
|
3116
3185
|
scheduleOwnerId?: string;
|
|
3117
3186
|
}
|
|
3118
|
-
declare enum Transparency {
|
|
3187
|
+
export declare enum Transparency {
|
|
3119
3188
|
UNDEFINED = "UNDEFINED",
|
|
3120
3189
|
/** The schedule can have available slots during the linked schedule's sessions. */
|
|
3121
3190
|
FREE = "FREE",
|
|
3122
3191
|
/** The schedule can't have available slots during the linked schedule's sessions. */
|
|
3123
3192
|
BUSY = "BUSY"
|
|
3124
3193
|
}
|
|
3125
|
-
declare enum RecurringIntervalType {
|
|
3194
|
+
export declare enum RecurringIntervalType {
|
|
3126
3195
|
/** The default value. Sessions for this interval will be of type EVENT. */
|
|
3127
3196
|
UNDEFINED = "UNDEFINED",
|
|
3128
3197
|
/** A recurring interval of events. */
|
|
@@ -3132,7 +3201,7 @@ declare enum RecurringIntervalType {
|
|
|
3132
3201
|
/** A recurring interval for availability. */
|
|
3133
3202
|
AVAILABILITY = "AVAILABILITY"
|
|
3134
3203
|
}
|
|
3135
|
-
interface Location {
|
|
3204
|
+
export interface Location {
|
|
3136
3205
|
/**
|
|
3137
3206
|
* Location type.
|
|
3138
3207
|
* One of:
|
|
@@ -3149,14 +3218,14 @@ interface Location {
|
|
|
3149
3218
|
/** Custom address, used when locationType is `"OWNER_CUSTOM"`. Might be used when locationType is `"CUSTOM"` in case the owner sets a custom address for the session which is different from the default. */
|
|
3150
3219
|
customAddress?: Address;
|
|
3151
3220
|
}
|
|
3152
|
-
declare enum LocationType {
|
|
3221
|
+
export declare enum LocationType {
|
|
3153
3222
|
UNDEFINED = "UNDEFINED",
|
|
3154
3223
|
OWNER_BUSINESS = "OWNER_BUSINESS",
|
|
3155
3224
|
OWNER_CUSTOM = "OWNER_CUSTOM",
|
|
3156
3225
|
CUSTOM = "CUSTOM"
|
|
3157
3226
|
}
|
|
3158
3227
|
/** Physical address */
|
|
3159
|
-
interface Address extends AddressStreetOneOf {
|
|
3228
|
+
export interface Address extends AddressStreetOneOf {
|
|
3160
3229
|
/** Street name, number and apartment number. */
|
|
3161
3230
|
streetAddress?: StreetAddress;
|
|
3162
3231
|
/** Main address line, usually street and number, as free text. */
|
|
@@ -3186,13 +3255,13 @@ interface Address extends AddressStreetOneOf {
|
|
|
3186
3255
|
subdivisions?: Subdivision[];
|
|
3187
3256
|
}
|
|
3188
3257
|
/** @oneof */
|
|
3189
|
-
interface AddressStreetOneOf {
|
|
3258
|
+
export interface AddressStreetOneOf {
|
|
3190
3259
|
/** Street name, number and apartment number. */
|
|
3191
3260
|
streetAddress?: StreetAddress;
|
|
3192
3261
|
/** Main address line, usually street and number, as free text. */
|
|
3193
3262
|
addressLine?: string | null;
|
|
3194
3263
|
}
|
|
3195
|
-
interface StreetAddress {
|
|
3264
|
+
export interface StreetAddress {
|
|
3196
3265
|
/** Street number. */
|
|
3197
3266
|
number?: string;
|
|
3198
3267
|
/** Street name. */
|
|
@@ -3200,25 +3269,25 @@ interface StreetAddress {
|
|
|
3200
3269
|
/** Apartment number. */
|
|
3201
3270
|
apt?: string;
|
|
3202
3271
|
}
|
|
3203
|
-
interface AddressLocation {
|
|
3272
|
+
export interface AddressLocation {
|
|
3204
3273
|
/** Address latitude. */
|
|
3205
3274
|
latitude?: number | null;
|
|
3206
3275
|
/** Address longitude. */
|
|
3207
3276
|
longitude?: number | null;
|
|
3208
3277
|
}
|
|
3209
|
-
interface Subdivision {
|
|
3278
|
+
export interface Subdivision {
|
|
3210
3279
|
/** Subdivision code. Usually state, region, prefecture or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). */
|
|
3211
3280
|
code?: string;
|
|
3212
3281
|
/** Subdivision full name. */
|
|
3213
3282
|
name?: string;
|
|
3214
3283
|
}
|
|
3215
|
-
interface LocationsLocation {
|
|
3284
|
+
export interface LocationsLocation {
|
|
3216
3285
|
/**
|
|
3217
3286
|
* Location ID.
|
|
3218
3287
|
* @format GUID
|
|
3219
3288
|
* @readonly
|
|
3220
3289
|
*/
|
|
3221
|
-
|
|
3290
|
+
id?: string | null;
|
|
3222
3291
|
/**
|
|
3223
3292
|
* Location name.
|
|
3224
3293
|
* @maxLength 150
|
|
@@ -3284,12 +3353,12 @@ interface LocationsLocation {
|
|
|
3284
3353
|
locationTypes?: LocationsLocationType[];
|
|
3285
3354
|
}
|
|
3286
3355
|
/** For future use */
|
|
3287
|
-
declare enum LocationStatus {
|
|
3356
|
+
export declare enum LocationStatus {
|
|
3288
3357
|
ACTIVE = "ACTIVE",
|
|
3289
3358
|
INACTIVE = "INACTIVE"
|
|
3290
3359
|
}
|
|
3291
3360
|
/** For future use */
|
|
3292
|
-
declare enum LocationsLocationType {
|
|
3361
|
+
export declare enum LocationsLocationType {
|
|
3293
3362
|
UNKNOWN = "UNKNOWN",
|
|
3294
3363
|
BRANCH = "BRANCH",
|
|
3295
3364
|
OFFICES = "OFFICES",
|
|
@@ -3297,7 +3366,7 @@ declare enum LocationsLocationType {
|
|
|
3297
3366
|
HEADQUARTERS = "HEADQUARTERS",
|
|
3298
3367
|
INVENTORY = "INVENTORY"
|
|
3299
3368
|
}
|
|
3300
|
-
interface LocationsAddress {
|
|
3369
|
+
export interface LocationsAddress {
|
|
3301
3370
|
/**
|
|
3302
3371
|
* 2-letter country code in an [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.
|
|
3303
3372
|
* @format COUNTRY
|
|
@@ -3315,12 +3384,17 @@ interface LocationsAddress {
|
|
|
3315
3384
|
/** Street address. Includes street name, number, and apartment number in separate fields. */
|
|
3316
3385
|
streetAddress?: LocationsStreetAddress;
|
|
3317
3386
|
/** Full address of the location. */
|
|
3318
|
-
|
|
3387
|
+
formattedAddress?: string | null;
|
|
3388
|
+
/**
|
|
3389
|
+
* Extra information that helps finding the location.
|
|
3390
|
+
* @maxLength 500
|
|
3391
|
+
*/
|
|
3392
|
+
hint?: string | null;
|
|
3319
3393
|
/** Geographic coordinates of location. */
|
|
3320
|
-
|
|
3394
|
+
geocode?: LocationsAddressLocation;
|
|
3321
3395
|
}
|
|
3322
3396
|
/** Street address. Includes street name, number, and apartment number in separate fields. */
|
|
3323
|
-
interface LocationsStreetAddress {
|
|
3397
|
+
export interface LocationsStreetAddress {
|
|
3324
3398
|
/** Street number. */
|
|
3325
3399
|
number?: string;
|
|
3326
3400
|
/** Street name. */
|
|
@@ -3329,14 +3403,14 @@ interface LocationsStreetAddress {
|
|
|
3329
3403
|
apt?: string;
|
|
3330
3404
|
}
|
|
3331
3405
|
/** Address Geolocation */
|
|
3332
|
-
interface LocationsAddressLocation {
|
|
3406
|
+
export interface LocationsAddressLocation {
|
|
3333
3407
|
/** Latitude of the location. Must be between -90 and 90. */
|
|
3334
3408
|
latitude?: number | null;
|
|
3335
3409
|
/** Longitude of the location. Must be between -180 and 180. */
|
|
3336
3410
|
longitude?: number | null;
|
|
3337
3411
|
}
|
|
3338
3412
|
/** Business schedule. Regular and exceptional time periods when the business is open or the service is available. */
|
|
3339
|
-
interface BusinessSchedule {
|
|
3413
|
+
export interface BusinessSchedule {
|
|
3340
3414
|
/**
|
|
3341
3415
|
* Weekly recurring time periods when the business is regularly open or the service is available. Limited to 100 time periods.
|
|
3342
3416
|
* @maxSize 100
|
|
@@ -3349,7 +3423,7 @@ interface BusinessSchedule {
|
|
|
3349
3423
|
specialHourPeriod?: SpecialHourPeriod[];
|
|
3350
3424
|
}
|
|
3351
3425
|
/** Weekly recurring time periods when the business is regularly open or the service is available. */
|
|
3352
|
-
interface TimePeriod {
|
|
3426
|
+
export interface TimePeriod {
|
|
3353
3427
|
/** Day of the week the period starts on. */
|
|
3354
3428
|
openDay?: DayOfWeek;
|
|
3355
3429
|
/**
|
|
@@ -3368,7 +3442,7 @@ interface TimePeriod {
|
|
|
3368
3442
|
closeTime?: string;
|
|
3369
3443
|
}
|
|
3370
3444
|
/** Enumerates the days of the week. */
|
|
3371
|
-
declare enum DayOfWeek {
|
|
3445
|
+
export declare enum DayOfWeek {
|
|
3372
3446
|
MONDAY = "MONDAY",
|
|
3373
3447
|
TUESDAY = "TUESDAY",
|
|
3374
3448
|
WEDNESDAY = "WEDNESDAY",
|
|
@@ -3378,7 +3452,7 @@ declare enum DayOfWeek {
|
|
|
3378
3452
|
SUNDAY = "SUNDAY"
|
|
3379
3453
|
}
|
|
3380
3454
|
/** Exception to the business's regular hours. The business can be open or closed during the exception. */
|
|
3381
|
-
interface SpecialHourPeriod {
|
|
3455
|
+
export interface SpecialHourPeriod {
|
|
3382
3456
|
/** Start date and time of the exception in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format and [Coordinated Universal Time (UTC)](https://en.wikipedia.org/wiki/Coordinated_Universal_Time). */
|
|
3383
3457
|
startDate?: string;
|
|
3384
3458
|
/** End date and time of the exception in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format and [Coordinated Universal Time (UTC)](https://en.wikipedia.org/wiki/Coordinated_Universal_Time). */
|
|
@@ -3392,7 +3466,7 @@ interface SpecialHourPeriod {
|
|
|
3392
3466
|
/** Additional info about the exception. For example, "We close earlier on New Year's Eve." */
|
|
3393
3467
|
comment?: string;
|
|
3394
3468
|
}
|
|
3395
|
-
interface Rate {
|
|
3469
|
+
export interface Rate {
|
|
3396
3470
|
/**
|
|
3397
3471
|
* Mapping between a named price option, for example, adult or child prices, and the price, currency, and down payment amount.
|
|
3398
3472
|
* When present in an update request, the `default_varied_price` is ignored to support backward compatibility.
|
|
@@ -3404,7 +3478,7 @@ interface Rate {
|
|
|
3404
3478
|
*/
|
|
3405
3479
|
priceText?: string | null;
|
|
3406
3480
|
}
|
|
3407
|
-
interface Price {
|
|
3481
|
+
export interface Price {
|
|
3408
3482
|
/**
|
|
3409
3483
|
* Required payment amount.
|
|
3410
3484
|
* @format DECIMAL_VALUE
|
|
@@ -3426,7 +3500,7 @@ interface Price {
|
|
|
3426
3500
|
* Schedule's availability calculation is executed by the schedule's available intervals and this additional information.
|
|
3427
3501
|
* Schedule's available intervals are recurring intervals (defined in the schedule) minus sessions that has no more spots for bookings (including time between_slots), or schedule's sessions with open spots for bookings.-->
|
|
3428
3502
|
*/
|
|
3429
|
-
interface Availability {
|
|
3503
|
+
export interface Availability {
|
|
3430
3504
|
/** Date and time the schedule starts to be available for booking. */
|
|
3431
3505
|
start?: Date | null;
|
|
3432
3506
|
/** Date and time the schedule stops being available for booking. No value indicates no end time. */
|
|
@@ -3437,7 +3511,7 @@ interface Availability {
|
|
|
3437
3511
|
constraints?: AvailabilityConstraints;
|
|
3438
3512
|
}
|
|
3439
3513
|
/** Describes how to calculate the specific slots that are available for booking. */
|
|
3440
|
-
interface AvailabilityConstraints {
|
|
3514
|
+
export interface AvailabilityConstraints {
|
|
3441
3515
|
/**
|
|
3442
3516
|
* A list of duration options for slots, in minutes. Minimum value for a duration is 1.
|
|
3443
3517
|
* The availability calculation generates slots with these durations, where there is no conflict with existing sessions or other availability constraints.
|
|
@@ -3465,7 +3539,7 @@ interface AvailabilityConstraints {
|
|
|
3465
3539
|
slotsSplitInterval?: SplitInterval;
|
|
3466
3540
|
}
|
|
3467
3541
|
/** The time between available slots' start times. For example, For 5 minute slots, 3:00, 3:05, 3:15 etc. For 1 hour slots, 3:00, 4:00, 5:00 etc. */
|
|
3468
|
-
interface SplitInterval {
|
|
3542
|
+
export interface SplitInterval {
|
|
3469
3543
|
/**
|
|
3470
3544
|
* Whether the slot duration is used as the split interval value.
|
|
3471
3545
|
* If `same_as_duration` is `true`, the `value_in_minutes` is the sum of the first duration in
|
|
@@ -3475,12 +3549,12 @@ interface SplitInterval {
|
|
|
3475
3549
|
/** Number of minutes between available slots' start times when `same_as_duration` is `false`. */
|
|
3476
3550
|
valueInMinutes?: number | null;
|
|
3477
3551
|
}
|
|
3478
|
-
interface Participant {
|
|
3552
|
+
export interface Participant {
|
|
3479
3553
|
/**
|
|
3480
3554
|
* Participant ID. Currently represents the booking.id.
|
|
3481
3555
|
* @format GUID
|
|
3482
3556
|
*/
|
|
3483
|
-
|
|
3557
|
+
id?: string;
|
|
3484
3558
|
/**
|
|
3485
3559
|
* Contact ID.
|
|
3486
3560
|
* @format GUID
|
|
@@ -3505,7 +3579,7 @@ interface Participant {
|
|
|
3505
3579
|
*/
|
|
3506
3580
|
inherited?: boolean;
|
|
3507
3581
|
}
|
|
3508
|
-
declare enum ApprovalStatus {
|
|
3582
|
+
export declare enum ApprovalStatus {
|
|
3509
3583
|
/** Default. */
|
|
3510
3584
|
UNDEFINED = "UNDEFINED",
|
|
3511
3585
|
/** Pending business approval. */
|
|
@@ -3515,13 +3589,13 @@ declare enum ApprovalStatus {
|
|
|
3515
3589
|
/** Declined by the business. */
|
|
3516
3590
|
DECLINED = "DECLINED"
|
|
3517
3591
|
}
|
|
3518
|
-
interface ExternalCalendarOverrides {
|
|
3592
|
+
export interface ExternalCalendarOverrides {
|
|
3519
3593
|
/** Synced title of the external calendar event. */
|
|
3520
3594
|
title?: string | null;
|
|
3521
3595
|
/** Synced description of the external calendar event. */
|
|
3522
3596
|
description?: string | null;
|
|
3523
3597
|
}
|
|
3524
|
-
declare enum ScheduleStatus {
|
|
3598
|
+
export declare enum ScheduleStatus {
|
|
3525
3599
|
/** Undefined schedule status. */
|
|
3526
3600
|
UNDEFINED = "UNDEFINED",
|
|
3527
3601
|
/** The schedule was created. */
|
|
@@ -3529,19 +3603,19 @@ declare enum ScheduleStatus {
|
|
|
3529
3603
|
/** The schedule was cancelled. */
|
|
3530
3604
|
CANCELLED = "CANCELLED"
|
|
3531
3605
|
}
|
|
3532
|
-
interface Version {
|
|
3606
|
+
export interface Version {
|
|
3533
3607
|
/** Schedule version number, updated each time the schedule is updated. */
|
|
3534
3608
|
scheduleVersion?: number | null;
|
|
3535
3609
|
/** Participants version number, updated each time the schedule participants are updated. */
|
|
3536
3610
|
participantsVersion?: number | null;
|
|
3537
3611
|
}
|
|
3538
|
-
interface ConferenceProvider {
|
|
3612
|
+
export interface ConferenceProvider {
|
|
3539
3613
|
/** Conferencing provider ID */
|
|
3540
3614
|
providerId?: string;
|
|
3541
3615
|
}
|
|
3542
|
-
interface CalendarConference {
|
|
3616
|
+
export interface CalendarConference {
|
|
3543
3617
|
/** Wix Calendar conference ID. */
|
|
3544
|
-
|
|
3618
|
+
id?: string;
|
|
3545
3619
|
/** Conference meeting ID in the provider's conferencing system. */
|
|
3546
3620
|
externalId?: string;
|
|
3547
3621
|
/** Conference provider ID. */
|
|
@@ -3559,7 +3633,7 @@ interface CalendarConference {
|
|
|
3559
3633
|
/** ID of the account owner in the video conferencing service. */
|
|
3560
3634
|
accountOwnerId?: string | null;
|
|
3561
3635
|
}
|
|
3562
|
-
declare enum ConferenceType {
|
|
3636
|
+
export declare enum ConferenceType {
|
|
3563
3637
|
/** Undefined conference type. */
|
|
3564
3638
|
UNDEFINED = "UNDEFINED",
|
|
3565
3639
|
/** API-generated online meeting. */
|
|
@@ -3567,7 +3641,7 @@ declare enum ConferenceType {
|
|
|
3567
3641
|
/** User-defined meeting. */
|
|
3568
3642
|
CUSTOM = "CUSTOM"
|
|
3569
3643
|
}
|
|
3570
|
-
declare enum ResourceStatus {
|
|
3644
|
+
export declare enum ResourceStatus {
|
|
3571
3645
|
/** Undefined resource status. */
|
|
3572
3646
|
UNDEFINED = "UNDEFINED",
|
|
3573
3647
|
/** The resource was created. */
|
|
@@ -3577,14 +3651,14 @@ declare enum ResourceStatus {
|
|
|
3577
3651
|
/** The resource was updated. */
|
|
3578
3652
|
UPDATED = "UPDATED"
|
|
3579
3653
|
}
|
|
3580
|
-
interface BusinessLocation {
|
|
3654
|
+
export interface BusinessLocation {
|
|
3581
3655
|
/**
|
|
3582
3656
|
* The ID of the business location. Has to be non-empty
|
|
3583
3657
|
* @format GUID
|
|
3584
3658
|
*/
|
|
3585
3659
|
locationId?: string;
|
|
3586
3660
|
}
|
|
3587
|
-
declare enum ResourceNotificationEvent {
|
|
3661
|
+
export declare enum ResourceNotificationEvent {
|
|
3588
3662
|
/** Undefined resource event. */
|
|
3589
3663
|
UNDEFINED = "UNDEFINED",
|
|
3590
3664
|
/** The resource was updated. */
|
|
@@ -3596,7 +3670,7 @@ declare enum ResourceNotificationEvent {
|
|
|
3596
3670
|
/** The schedule was updated. */
|
|
3597
3671
|
Schedule_Updated = "Schedule_Updated"
|
|
3598
3672
|
}
|
|
3599
|
-
interface BenefitNotification {
|
|
3673
|
+
export interface BenefitNotification {
|
|
3600
3674
|
/**
|
|
3601
3675
|
* Plan unique ID
|
|
3602
3676
|
* @format GUID
|
|
@@ -3614,13 +3688,13 @@ interface BenefitNotification {
|
|
|
3614
3688
|
/** Notification event */
|
|
3615
3689
|
event?: Event;
|
|
3616
3690
|
}
|
|
3617
|
-
interface Benefit {
|
|
3691
|
+
export interface Benefit {
|
|
3618
3692
|
/**
|
|
3619
3693
|
* Benefit unique ID
|
|
3620
3694
|
* @format GUID
|
|
3621
3695
|
* @readonly
|
|
3622
3696
|
*/
|
|
3623
|
-
|
|
3697
|
+
id?: string | null;
|
|
3624
3698
|
/** Benefit Type */
|
|
3625
3699
|
benefitType?: BenefitType;
|
|
3626
3700
|
/**
|
|
@@ -3646,9 +3720,9 @@ interface Benefit {
|
|
|
3646
3720
|
*/
|
|
3647
3721
|
appDefId?: string | null;
|
|
3648
3722
|
}
|
|
3649
|
-
interface EntryPass {
|
|
3723
|
+
export interface EntryPass {
|
|
3650
3724
|
}
|
|
3651
|
-
interface Discount extends DiscountDiscountOneOf {
|
|
3725
|
+
export interface Discount extends DiscountDiscountOneOf {
|
|
3652
3726
|
/**
|
|
3653
3727
|
* Fixed-rate percent off discount
|
|
3654
3728
|
* @decimalValue options { gt:0, lte:100, maxScale:2 }
|
|
@@ -3661,7 +3735,7 @@ interface Discount extends DiscountDiscountOneOf {
|
|
|
3661
3735
|
moneyOffAmount?: string;
|
|
3662
3736
|
}
|
|
3663
3737
|
/** @oneof */
|
|
3664
|
-
interface DiscountDiscountOneOf {
|
|
3738
|
+
export interface DiscountDiscountOneOf {
|
|
3665
3739
|
/**
|
|
3666
3740
|
* Fixed-rate percent off discount
|
|
3667
3741
|
* @decimalValue options { gt:0, lte:100, maxScale:2 }
|
|
@@ -3673,7 +3747,7 @@ interface DiscountDiscountOneOf {
|
|
|
3673
3747
|
*/
|
|
3674
3748
|
moneyOffAmount?: string;
|
|
3675
3749
|
}
|
|
3676
|
-
declare enum BenefitType {
|
|
3750
|
+
export declare enum BenefitType {
|
|
3677
3751
|
/** Should never be used */
|
|
3678
3752
|
UNDEFINED = "UNDEFINED",
|
|
3679
3753
|
/** Limited benefit type */
|
|
@@ -3681,32 +3755,32 @@ declare enum BenefitType {
|
|
|
3681
3755
|
/** Unlimited benefit type */
|
|
3682
3756
|
UNLIMITED = "UNLIMITED"
|
|
3683
3757
|
}
|
|
3684
|
-
interface Behavior extends BehaviorBehaviorOneOf {
|
|
3758
|
+
export interface Behavior extends BehaviorBehaviorOneOf {
|
|
3685
3759
|
/** Entry pass for resources, e.g. a ticket for Bookings service or a ticket for Events. */
|
|
3686
3760
|
defaultBehavior?: EntryPass;
|
|
3687
3761
|
/** Discount applied to paid resources */
|
|
3688
3762
|
discount?: Discount;
|
|
3689
3763
|
}
|
|
3690
3764
|
/** @oneof */
|
|
3691
|
-
interface BehaviorBehaviorOneOf {
|
|
3765
|
+
export interface BehaviorBehaviorOneOf {
|
|
3692
3766
|
/** Entry pass for resources, e.g. a ticket for Bookings service or a ticket for Events. */
|
|
3693
3767
|
defaultBehavior?: EntryPass;
|
|
3694
3768
|
/** Discount applied to paid resources */
|
|
3695
3769
|
discount?: Discount;
|
|
3696
3770
|
}
|
|
3697
|
-
declare enum Event {
|
|
3771
|
+
export declare enum Event {
|
|
3698
3772
|
Updated = "Updated",
|
|
3699
3773
|
Deleted = "Deleted",
|
|
3700
3774
|
Created = "Created"
|
|
3701
3775
|
}
|
|
3702
|
-
interface UserDomainInfoChangedEvent {
|
|
3776
|
+
export interface UserDomainInfoChangedEvent {
|
|
3703
3777
|
domainName?: string;
|
|
3704
3778
|
crudType?: CrudType;
|
|
3705
3779
|
/** @format GUID */
|
|
3706
3780
|
metaSiteId?: string | null;
|
|
3707
3781
|
changeTime?: Date | null;
|
|
3708
3782
|
}
|
|
3709
|
-
declare enum CrudType {
|
|
3783
|
+
export declare enum CrudType {
|
|
3710
3784
|
INVALID_CRUD_TYPE = "INVALID_CRUD_TYPE",
|
|
3711
3785
|
CREATE = "CREATE",
|
|
3712
3786
|
UPDATE = "UPDATE",
|
|
@@ -3714,7 +3788,7 @@ declare enum CrudType {
|
|
|
3714
3788
|
/** Unfortunately this action is used by hibernate save in wix-war */
|
|
3715
3789
|
CREATE_OR_UPDATE = "CREATE_OR_UPDATE"
|
|
3716
3790
|
}
|
|
3717
|
-
interface HtmlSitePublished {
|
|
3791
|
+
export interface HtmlSitePublished {
|
|
3718
3792
|
/**
|
|
3719
3793
|
* Application instance ID
|
|
3720
3794
|
* @maxLength 50
|
|
@@ -3744,15 +3818,15 @@ interface HtmlSitePublished {
|
|
|
3744
3818
|
/** Site's publish date */
|
|
3745
3819
|
publishDate?: string;
|
|
3746
3820
|
}
|
|
3747
|
-
interface Page {
|
|
3821
|
+
export interface Page {
|
|
3748
3822
|
/**
|
|
3749
3823
|
* Page's Id
|
|
3750
3824
|
* @maxLength 100
|
|
3751
3825
|
*/
|
|
3752
|
-
|
|
3826
|
+
id?: string;
|
|
3753
3827
|
}
|
|
3754
3828
|
/** Encapsulates all details written to the Greyhound topic when a site's properties are updated. */
|
|
3755
|
-
interface SitePropertiesNotification {
|
|
3829
|
+
export interface SitePropertiesNotification {
|
|
3756
3830
|
/** The site ID for which this update notification applies. */
|
|
3757
3831
|
metasiteId?: string;
|
|
3758
3832
|
/** The actual update event. */
|
|
@@ -3766,7 +3840,7 @@ interface SitePropertiesNotification {
|
|
|
3766
3840
|
changeContext?: ChangeContext;
|
|
3767
3841
|
}
|
|
3768
3842
|
/** The actual update event for a particular notification. */
|
|
3769
|
-
interface SitePropertiesEvent {
|
|
3843
|
+
export interface SitePropertiesEvent {
|
|
3770
3844
|
/** Version of the site's properties represented by this update. */
|
|
3771
3845
|
version?: number;
|
|
3772
3846
|
/** Set of properties that were updated - corresponds to the fields in "properties". */
|
|
@@ -3774,7 +3848,7 @@ interface SitePropertiesEvent {
|
|
|
3774
3848
|
/** Updated properties. */
|
|
3775
3849
|
properties?: Properties;
|
|
3776
3850
|
}
|
|
3777
|
-
interface Properties {
|
|
3851
|
+
export interface Properties {
|
|
3778
3852
|
/** Site categories. */
|
|
3779
3853
|
categories?: Categories;
|
|
3780
3854
|
/** Site locale. */
|
|
@@ -3830,7 +3904,7 @@ interface Properties {
|
|
|
3830
3904
|
/** Track clicks analytics. */
|
|
3831
3905
|
trackClicksAnalytics?: boolean;
|
|
3832
3906
|
}
|
|
3833
|
-
interface Categories {
|
|
3907
|
+
export interface Categories {
|
|
3834
3908
|
/** Primary site category. */
|
|
3835
3909
|
primary?: string;
|
|
3836
3910
|
/**
|
|
@@ -3841,13 +3915,13 @@ interface Categories {
|
|
|
3841
3915
|
/** Business Term Id */
|
|
3842
3916
|
businessTermId?: string | null;
|
|
3843
3917
|
}
|
|
3844
|
-
interface Locale {
|
|
3918
|
+
export interface Locale {
|
|
3845
3919
|
/** Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. */
|
|
3846
3920
|
languageCode?: string;
|
|
3847
3921
|
/** Two-letter country code in [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) format. */
|
|
3848
3922
|
country?: string;
|
|
3849
3923
|
}
|
|
3850
|
-
interface V4Address {
|
|
3924
|
+
export interface V4Address {
|
|
3851
3925
|
/** Street name. */
|
|
3852
3926
|
street?: string;
|
|
3853
3927
|
/** City name. */
|
|
@@ -3879,26 +3953,26 @@ interface V4Address {
|
|
|
3879
3953
|
* This is used for display purposes. Used to add additional data about the address, such as "In the passage".
|
|
3880
3954
|
* Free text. In addition, the user can state where to display the additional description - before, after, or instead of the address string.
|
|
3881
3955
|
*/
|
|
3882
|
-
interface AddressHint {
|
|
3956
|
+
export interface AddressHint {
|
|
3883
3957
|
/** Extra text displayed next to, or instead of, the actual address. */
|
|
3884
3958
|
text?: string;
|
|
3885
3959
|
/** Where the extra text should be displayed. */
|
|
3886
3960
|
placement?: PlacementType;
|
|
3887
3961
|
}
|
|
3888
3962
|
/** Where the extra text should be displayed: before, after or instead of the actual address. */
|
|
3889
|
-
declare enum PlacementType {
|
|
3963
|
+
export declare enum PlacementType {
|
|
3890
3964
|
BEFORE = "BEFORE",
|
|
3891
3965
|
AFTER = "AFTER",
|
|
3892
3966
|
REPLACE = "REPLACE"
|
|
3893
3967
|
}
|
|
3894
3968
|
/** Geocoordinates for a particular address. */
|
|
3895
|
-
interface GeoCoordinates {
|
|
3969
|
+
export interface GeoCoordinates {
|
|
3896
3970
|
/** Latitude of the location. Must be between -90 and 90. */
|
|
3897
3971
|
latitude?: number;
|
|
3898
3972
|
/** Longitude of the location. Must be between -180 and 180. */
|
|
3899
3973
|
longitude?: number;
|
|
3900
3974
|
}
|
|
3901
|
-
interface Multilingual {
|
|
3975
|
+
export interface Multilingual {
|
|
3902
3976
|
/**
|
|
3903
3977
|
* Supported languages list.
|
|
3904
3978
|
* @maxSize 200
|
|
@@ -3907,7 +3981,7 @@ interface Multilingual {
|
|
|
3907
3981
|
/** Whether to redirect to user language. */
|
|
3908
3982
|
autoRedirect?: boolean;
|
|
3909
3983
|
}
|
|
3910
|
-
interface SupportedLanguage {
|
|
3984
|
+
export interface SupportedLanguage {
|
|
3911
3985
|
/** Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. */
|
|
3912
3986
|
languageCode?: string;
|
|
3913
3987
|
/** Locale. */
|
|
@@ -3919,12 +3993,12 @@ interface SupportedLanguage {
|
|
|
3919
3993
|
/** How the language will be resolved. For internal use. */
|
|
3920
3994
|
resolutionMethod?: ResolutionMethod;
|
|
3921
3995
|
}
|
|
3922
|
-
declare enum ResolutionMethod {
|
|
3996
|
+
export declare enum ResolutionMethod {
|
|
3923
3997
|
QUERY_PARAM = "QUERY_PARAM",
|
|
3924
3998
|
SUBDOMAIN = "SUBDOMAIN",
|
|
3925
3999
|
SUBDIRECTORY = "SUBDIRECTORY"
|
|
3926
4000
|
}
|
|
3927
|
-
interface ConsentPolicy {
|
|
4001
|
+
export interface ConsentPolicy {
|
|
3928
4002
|
/** Whether the site uses cookies that are essential to site operation. Always `true`. */
|
|
3929
4003
|
essential?: boolean | null;
|
|
3930
4004
|
/** Whether the site uses cookies that affect site performance and other functional measurements. */
|
|
@@ -3937,7 +4011,7 @@ interface ConsentPolicy {
|
|
|
3937
4011
|
dataToThirdParty?: boolean | null;
|
|
3938
4012
|
}
|
|
3939
4013
|
/** A single mapping from the MetaSite ID to a particular service. */
|
|
3940
|
-
interface Translation {
|
|
4014
|
+
export interface Translation {
|
|
3941
4015
|
/** The service type. */
|
|
3942
4016
|
serviceType?: string;
|
|
3943
4017
|
/** The application definition ID; this only applies to services of type ThirdPartyApps. */
|
|
@@ -3945,7 +4019,7 @@ interface Translation {
|
|
|
3945
4019
|
/** The instance ID of the service. */
|
|
3946
4020
|
instanceId?: string;
|
|
3947
4021
|
}
|
|
3948
|
-
interface ChangeContext extends ChangeContextPayloadOneOf {
|
|
4022
|
+
export interface ChangeContext extends ChangeContextPayloadOneOf {
|
|
3949
4023
|
/** Properties were updated. */
|
|
3950
4024
|
propertiesChange?: PropertiesChange;
|
|
3951
4025
|
/** Default properties were created on site creation. */
|
|
@@ -3954,7 +4028,7 @@ interface ChangeContext extends ChangeContextPayloadOneOf {
|
|
|
3954
4028
|
siteCloned?: SiteCloned;
|
|
3955
4029
|
}
|
|
3956
4030
|
/** @oneof */
|
|
3957
|
-
interface ChangeContextPayloadOneOf {
|
|
4031
|
+
export interface ChangeContextPayloadOneOf {
|
|
3958
4032
|
/** Properties were updated. */
|
|
3959
4033
|
propertiesChange?: PropertiesChange;
|
|
3960
4034
|
/** Default properties were created on site creation. */
|
|
@@ -3962,387 +4036,13 @@ interface ChangeContextPayloadOneOf {
|
|
|
3962
4036
|
/** Properties were cloned on site cloning. */
|
|
3963
4037
|
siteCloned?: SiteCloned;
|
|
3964
4038
|
}
|
|
3965
|
-
interface PropertiesChange {
|
|
4039
|
+
export interface PropertiesChange {
|
|
3966
4040
|
}
|
|
3967
|
-
interface SiteCreated {
|
|
4041
|
+
export interface SiteCreated {
|
|
3968
4042
|
/** Origin template site id. */
|
|
3969
4043
|
originTemplateId?: string | null;
|
|
3970
4044
|
}
|
|
3971
|
-
interface SiteCloned {
|
|
4045
|
+
export interface SiteCloned {
|
|
3972
4046
|
/** Origin site id. */
|
|
3973
4047
|
originMetaSiteId?: string;
|
|
3974
4048
|
}
|
|
3975
|
-
interface BaseEventMetadata {
|
|
3976
|
-
/**
|
|
3977
|
-
* App instance ID.
|
|
3978
|
-
* @format GUID
|
|
3979
|
-
*/
|
|
3980
|
-
instanceId?: string | null;
|
|
3981
|
-
/**
|
|
3982
|
-
* Event type.
|
|
3983
|
-
* @maxLength 150
|
|
3984
|
-
*/
|
|
3985
|
-
eventType?: string;
|
|
3986
|
-
/** The identification type and identity data. */
|
|
3987
|
-
identity?: IdentificationData;
|
|
3988
|
-
}
|
|
3989
|
-
interface EventMetadata extends BaseEventMetadata {
|
|
3990
|
-
/**
|
|
3991
|
-
* Unique event ID.
|
|
3992
|
-
* Allows clients to ignore duplicate webhooks.
|
|
3993
|
-
*/
|
|
3994
|
-
_id?: string;
|
|
3995
|
-
/**
|
|
3996
|
-
* Assumes actions are also always typed to an entity_type
|
|
3997
|
-
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
3998
|
-
*/
|
|
3999
|
-
entityFqdn?: string;
|
|
4000
|
-
/**
|
|
4001
|
-
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
|
4002
|
-
* This is although the created/updated/deleted notion is duplication of the oneof types
|
|
4003
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
4004
|
-
*/
|
|
4005
|
-
slug?: string;
|
|
4006
|
-
/** ID of the entity associated with the event. */
|
|
4007
|
-
entityId?: string;
|
|
4008
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
4009
|
-
eventTime?: Date | null;
|
|
4010
|
-
/**
|
|
4011
|
-
* Whether the event was triggered as a result of a privacy regulation application
|
|
4012
|
-
* (for example, GDPR).
|
|
4013
|
-
*/
|
|
4014
|
-
triggeredByAnonymizeRequest?: boolean | null;
|
|
4015
|
-
/** If present, indicates the action that triggered the event. */
|
|
4016
|
-
originatedFrom?: string | null;
|
|
4017
|
-
/**
|
|
4018
|
-
* A sequence number defining the order of updates to the underlying entity.
|
|
4019
|
-
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
4020
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
4021
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
4022
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
4023
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
4024
|
-
*/
|
|
4025
|
-
entityEventSequence?: string | null;
|
|
4026
|
-
}
|
|
4027
|
-
interface ServiceCreatedEnvelope {
|
|
4028
|
-
entity: Service;
|
|
4029
|
-
metadata: EventMetadata;
|
|
4030
|
-
}
|
|
4031
|
-
interface ServiceDeletedEnvelope {
|
|
4032
|
-
entity: Service;
|
|
4033
|
-
metadata: EventMetadata;
|
|
4034
|
-
}
|
|
4035
|
-
interface ServiceUpdatedEnvelope {
|
|
4036
|
-
entity: Service;
|
|
4037
|
-
metadata: EventMetadata;
|
|
4038
|
-
}
|
|
4039
|
-
interface UpdateService {
|
|
4040
|
-
/**
|
|
4041
|
-
* Service ID.
|
|
4042
|
-
* @format GUID
|
|
4043
|
-
* @readonly
|
|
4044
|
-
*/
|
|
4045
|
-
_id?: string | null;
|
|
4046
|
-
/**
|
|
4047
|
-
* Service type.
|
|
4048
|
-
* Learn more about *service types*
|
|
4049
|
-
* ([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)).
|
|
4050
|
-
*/
|
|
4051
|
-
type?: ServiceType;
|
|
4052
|
-
/**
|
|
4053
|
-
* Order of the service within a *category*
|
|
4054
|
-
* ([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)).
|
|
4055
|
-
*/
|
|
4056
|
-
sortOrder?: number | null;
|
|
4057
|
-
/**
|
|
4058
|
-
* Service name.
|
|
4059
|
-
* @maxLength 400
|
|
4060
|
-
* @minLength 1
|
|
4061
|
-
*/
|
|
4062
|
-
name?: string | null;
|
|
4063
|
-
/**
|
|
4064
|
-
* Service description. For example, `High-class hair styling, cuts, straightening and color`.
|
|
4065
|
-
* @maxLength 7000
|
|
4066
|
-
*/
|
|
4067
|
-
description?: string | null;
|
|
4068
|
-
/**
|
|
4069
|
-
* Short service description, such as `Hair styling`.
|
|
4070
|
-
* @maxLength 6000
|
|
4071
|
-
*/
|
|
4072
|
-
tagLine?: string | null;
|
|
4073
|
-
/**
|
|
4074
|
-
* Default maximum number of customers that can book the service. The service cannot be booked beyond this capacity.
|
|
4075
|
-
* @min 1
|
|
4076
|
-
* @max 1000
|
|
4077
|
-
*/
|
|
4078
|
-
defaultCapacity?: number | null;
|
|
4079
|
-
/** Media associated with the service. */
|
|
4080
|
-
media?: Media;
|
|
4081
|
-
/** Whether the service is hidden from the site. */
|
|
4082
|
-
hidden?: boolean | null;
|
|
4083
|
-
/**
|
|
4084
|
-
* _Category_
|
|
4085
|
-
* ([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))
|
|
4086
|
-
* the service is associated with.
|
|
4087
|
-
*/
|
|
4088
|
-
category?: V2Category;
|
|
4089
|
-
/** Form the customer filled out when booking the service. */
|
|
4090
|
-
form?: Form;
|
|
4091
|
-
/**
|
|
4092
|
-
* Payment options for booking the service.
|
|
4093
|
-
* Learn more about *service payments*
|
|
4094
|
-
* ([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)).
|
|
4095
|
-
*/
|
|
4096
|
-
payment?: Payment;
|
|
4097
|
-
/** Online booking settings. */
|
|
4098
|
-
onlineBooking?: OnlineBooking;
|
|
4099
|
-
/** Conferencing options for the service. */
|
|
4100
|
-
conferencing?: Conferencing;
|
|
4101
|
-
/**
|
|
4102
|
-
* The locations this service is offered at. Read more about *service locations*
|
|
4103
|
-
* ([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)).
|
|
4104
|
-
* @immutable
|
|
4105
|
-
* @maxSize 500
|
|
4106
|
-
*/
|
|
4107
|
-
locations?: V2Location[];
|
|
4108
|
-
/**
|
|
4109
|
-
* _Policy_
|
|
4110
|
-
* ([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))
|
|
4111
|
-
* 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.
|
|
4112
|
-
*/
|
|
4113
|
-
bookingPolicy?: BookingPolicy;
|
|
4114
|
-
/**
|
|
4115
|
-
* The service's *schedule*
|
|
4116
|
-
* ([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)),
|
|
4117
|
-
* which can be used to manage the service's *events*
|
|
4118
|
-
* ([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)).
|
|
4119
|
-
*/
|
|
4120
|
-
schedule?: V2Schedule;
|
|
4121
|
-
/**
|
|
4122
|
-
* IDs of the *staff members*
|
|
4123
|
-
* ([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))
|
|
4124
|
-
* providing the service. Available only for appointment-based services.
|
|
4125
|
-
* @maxSize 220
|
|
4126
|
-
* @format GUID
|
|
4127
|
-
*/
|
|
4128
|
-
staffMemberIds?: string[];
|
|
4129
|
-
/**
|
|
4130
|
-
* Information about which resources must be available so customers can book the service.
|
|
4131
|
-
* For example, a meeting room or equipment.
|
|
4132
|
-
* @maxSize 3
|
|
4133
|
-
*/
|
|
4134
|
-
serviceResources?: ServiceResource[];
|
|
4135
|
-
/**
|
|
4136
|
-
* A slug is the last part of the URL address that serves as a unique identifier of the service.
|
|
4137
|
-
* The list of supported slugs includes past service names for backwards compatibility, and a custom slug if one was set by the business owner.
|
|
4138
|
-
* @readonly
|
|
4139
|
-
* @maxSize 100
|
|
4140
|
-
*/
|
|
4141
|
-
supportedSlugs?: Slug[];
|
|
4142
|
-
/**
|
|
4143
|
-
* Active slug for the service.
|
|
4144
|
-
* Learn more about *service slugs*
|
|
4145
|
-
* ([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)).
|
|
4146
|
-
* @readonly
|
|
4147
|
-
*/
|
|
4148
|
-
mainSlug?: Slug;
|
|
4149
|
-
/**
|
|
4150
|
-
* URLs to various service-related pages, such as the calendar page and the booking page.
|
|
4151
|
-
* @readonly
|
|
4152
|
-
*/
|
|
4153
|
-
urls?: URLs;
|
|
4154
|
-
/** Extensions enabling users to save custom data related to the service. */
|
|
4155
|
-
extendedFields?: ExtendedFields;
|
|
4156
|
-
/** Custom SEO data for the service. */
|
|
4157
|
-
seoData?: SeoSchema;
|
|
4158
|
-
/**
|
|
4159
|
-
* Date and time the service was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.
|
|
4160
|
-
* @readonly
|
|
4161
|
-
*/
|
|
4162
|
-
_createdDate?: Date | null;
|
|
4163
|
-
/**
|
|
4164
|
-
* Date and time the service was updated in `YYYY-MM-DDThh:mm:ss.sssZ` format.
|
|
4165
|
-
* @readonly
|
|
4166
|
-
*/
|
|
4167
|
-
_updatedDate?: Date | null;
|
|
4168
|
-
/**
|
|
4169
|
-
* Revision number, which increments by 1 each time the service is updated. To
|
|
4170
|
-
* prevent conflicting changes, the existing revision must be used when updating
|
|
4171
|
-
* a service.
|
|
4172
|
-
* @readonly
|
|
4173
|
-
*/
|
|
4174
|
-
revision?: string | null;
|
|
4175
|
-
}
|
|
4176
|
-
interface BulkUpdateServicesOptions {
|
|
4177
|
-
/**
|
|
4178
|
-
* Services to update.
|
|
4179
|
-
* @maxSize 100
|
|
4180
|
-
*/
|
|
4181
|
-
services?: MaskedService[];
|
|
4182
|
-
/** Whether to include the updated services in the response. Default: `false` */
|
|
4183
|
-
returnEntity?: boolean;
|
|
4184
|
-
}
|
|
4185
|
-
interface BulkUpdateServicesByFilterOptions {
|
|
4186
|
-
/** Service to update. */
|
|
4187
|
-
service: Service;
|
|
4188
|
-
}
|
|
4189
|
-
interface DeleteServiceOptions {
|
|
4190
|
-
/**
|
|
4191
|
-
* Whether to preserve future sessions with participants.
|
|
4192
|
-
*
|
|
4193
|
-
* Default: `false`
|
|
4194
|
-
*/
|
|
4195
|
-
preserveFutureSessionsWithParticipants?: boolean;
|
|
4196
|
-
/**
|
|
4197
|
-
* Whether to notify participants about the change and an optional
|
|
4198
|
-
* custom message.
|
|
4199
|
-
*/
|
|
4200
|
-
participantNotification?: ParticipantNotification;
|
|
4201
|
-
}
|
|
4202
|
-
interface BulkDeleteServicesOptions {
|
|
4203
|
-
/**
|
|
4204
|
-
* Whether to preserve future sessions with participants.
|
|
4205
|
-
*
|
|
4206
|
-
* Default: `false`.
|
|
4207
|
-
*/
|
|
4208
|
-
preserveFutureSessionsWithParticipants?: boolean;
|
|
4209
|
-
/**
|
|
4210
|
-
* Whether to notify participants about the change and an optional
|
|
4211
|
-
* custom message.
|
|
4212
|
-
*/
|
|
4213
|
-
participantNotification?: ParticipantNotification;
|
|
4214
|
-
}
|
|
4215
|
-
interface BulkDeleteServicesByFilterOptions {
|
|
4216
|
-
/**
|
|
4217
|
-
* Whether to preserve future sessions with participants.
|
|
4218
|
-
*
|
|
4219
|
-
* Default: `false`.
|
|
4220
|
-
*/
|
|
4221
|
-
preserveFutureSessionsWithParticipants?: boolean;
|
|
4222
|
-
/** Whether to notify participants about the change and an optional custom message. */
|
|
4223
|
-
participantNotification?: ParticipantNotification;
|
|
4224
|
-
}
|
|
4225
|
-
interface QueryServicesOptions {
|
|
4226
|
-
}
|
|
4227
|
-
interface QueryOffsetResult {
|
|
4228
|
-
currentPage: number | undefined;
|
|
4229
|
-
totalPages: number | undefined;
|
|
4230
|
-
totalCount: number | undefined;
|
|
4231
|
-
hasNext: () => boolean;
|
|
4232
|
-
hasPrev: () => boolean;
|
|
4233
|
-
length: number;
|
|
4234
|
-
pageSize: number;
|
|
4235
|
-
}
|
|
4236
|
-
interface ServicesQueryResult extends QueryOffsetResult {
|
|
4237
|
-
items: Service[];
|
|
4238
|
-
query: ServicesQueryBuilder;
|
|
4239
|
-
next: () => Promise<ServicesQueryResult>;
|
|
4240
|
-
prev: () => Promise<ServicesQueryResult>;
|
|
4241
|
-
}
|
|
4242
|
-
interface ServicesQueryBuilder {
|
|
4243
|
-
/** @param propertyName - Property whose value is compared with `value`.
|
|
4244
|
-
* @param value - Value to compare against.
|
|
4245
|
-
*/
|
|
4246
|
-
eq: (propertyName: '_id' | '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' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'staffMemberIds' | 'supportedSlugs.name' | 'mainSlug.name', value: any) => ServicesQueryBuilder;
|
|
4247
|
-
/** @param propertyName - Property whose value is compared with `value`.
|
|
4248
|
-
* @param value - Value to compare against.
|
|
4249
|
-
*/
|
|
4250
|
-
ne: (propertyName: '_id' | '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' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'staffMemberIds' | 'supportedSlugs.name' | 'mainSlug.name', value: any) => ServicesQueryBuilder;
|
|
4251
|
-
/** @param propertyName - Property whose value is compared with `value`.
|
|
4252
|
-
* @param value - Value to compare against.
|
|
4253
|
-
*/
|
|
4254
|
-
ge: (propertyName: 'schedule.firstSessionStart' | 'schedule.lastSessionEnd', value: any) => ServicesQueryBuilder;
|
|
4255
|
-
/** @param propertyName - Property whose value is compared with `value`.
|
|
4256
|
-
* @param value - Value to compare against.
|
|
4257
|
-
*/
|
|
4258
|
-
gt: (propertyName: 'schedule.firstSessionStart' | 'schedule.lastSessionEnd', value: any) => ServicesQueryBuilder;
|
|
4259
|
-
/** @param propertyName - Property whose value is compared with `value`.
|
|
4260
|
-
* @param value - Value to compare against.
|
|
4261
|
-
*/
|
|
4262
|
-
le: (propertyName: 'schedule.firstSessionStart' | 'schedule.lastSessionEnd', value: any) => ServicesQueryBuilder;
|
|
4263
|
-
/** @param propertyName - Property whose value is compared with `value`.
|
|
4264
|
-
* @param value - Value to compare against.
|
|
4265
|
-
*/
|
|
4266
|
-
lt: (propertyName: 'schedule.firstSessionStart' | 'schedule.lastSessionEnd', value: any) => ServicesQueryBuilder;
|
|
4267
|
-
/** @param propertyName - Property whose value is compared with `string`.
|
|
4268
|
-
* @param string - String to compare against. Case-insensitive.
|
|
4269
|
-
*/
|
|
4270
|
-
startsWith: (propertyName: '_id' | 'name' | 'description' | 'tagLine' | 'category.id' | 'category.name' | 'form.id' | 'locations.business.id' | 'supportedSlugs.name' | 'mainSlug.name', value: string) => ServicesQueryBuilder;
|
|
4271
|
-
/** @param propertyName - Property whose value is compared with `values`.
|
|
4272
|
-
* @param values - List of values to compare against.
|
|
4273
|
-
*/
|
|
4274
|
-
hasSome: (propertyName: '_id' | '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' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'staffMemberIds' | 'supportedSlugs.name' | 'mainSlug.name', value: any[]) => ServicesQueryBuilder;
|
|
4275
|
-
/** @param propertyName - Property whose value is compared with `values`.
|
|
4276
|
-
* @param values - List of values to compare against.
|
|
4277
|
-
*/
|
|
4278
|
-
hasAll: (propertyName: 'staffMemberIds', value: any[]) => ServicesQueryBuilder;
|
|
4279
|
-
in: (propertyName: '_id' | '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' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'staffMemberIds' | 'supportedSlugs.name' | 'mainSlug.name', value: any) => ServicesQueryBuilder;
|
|
4280
|
-
exists: (propertyName: '_id' | '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' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'staffMemberIds' | 'supportedSlugs.name' | 'mainSlug.name', value: boolean) => ServicesQueryBuilder;
|
|
4281
|
-
/** @param limit - Number of items to return, which is also the `pageSize` of the results object. */
|
|
4282
|
-
limit: (limit: number) => ServicesQueryBuilder;
|
|
4283
|
-
/** @param skip - Number of items to skip in the query results before returning the results. */
|
|
4284
|
-
skip: (skip: number) => ServicesQueryBuilder;
|
|
4285
|
-
find: () => Promise<ServicesQueryResult>;
|
|
4286
|
-
}
|
|
4287
|
-
interface QueryBookingFormsOptions {
|
|
4288
|
-
/**
|
|
4289
|
-
* Conditional fields to return.
|
|
4290
|
-
* @maxSize 1
|
|
4291
|
-
*/
|
|
4292
|
-
conditionalFields?: RequestedFields[];
|
|
4293
|
-
}
|
|
4294
|
-
interface CountServicesOptions {
|
|
4295
|
-
/**
|
|
4296
|
-
* Query filter to base the count on. See supported filters
|
|
4297
|
-
* ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/filtering-and-sorting#filtering))
|
|
4298
|
-
* for more details.
|
|
4299
|
-
*/
|
|
4300
|
-
filter?: Record<string, any> | null;
|
|
4301
|
-
}
|
|
4302
|
-
interface QueryLocationsOptions {
|
|
4303
|
-
/** Filter. */
|
|
4304
|
-
filter?: QueryLocationsFilter;
|
|
4305
|
-
}
|
|
4306
|
-
interface QueryCategoriesOptions {
|
|
4307
|
-
/** Filter. */
|
|
4308
|
-
filter?: QueryCategoriesFilter;
|
|
4309
|
-
}
|
|
4310
|
-
interface SetServiceLocationsOptions {
|
|
4311
|
-
/**
|
|
4312
|
-
* The action to perform on sessions currently set to a removed location. For
|
|
4313
|
-
* example, move existing sessions to a new specified location.
|
|
4314
|
-
* If not specified, sessions will not be moved to a new location.
|
|
4315
|
-
*/
|
|
4316
|
-
removedLocationSessionsAction?: RemovedLocationSessionsAction;
|
|
4317
|
-
/**
|
|
4318
|
-
* Whether to notify participants about the change of location, and an
|
|
4319
|
-
* Optional custom message. The notification is sent only to participants of sessions that are affected by the change.
|
|
4320
|
-
*/
|
|
4321
|
-
participantNotification?: ParticipantNotification;
|
|
4322
|
-
}
|
|
4323
|
-
interface DisablePricingPlansForServiceOptions {
|
|
4324
|
-
/**
|
|
4325
|
-
* IDs of the *pricing plans*
|
|
4326
|
-
* ([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))
|
|
4327
|
-
* to remove from the service's `payment.pricingPlanIds` array.
|
|
4328
|
-
* @format GUID
|
|
4329
|
-
* @maxSize 75
|
|
4330
|
-
*/
|
|
4331
|
-
pricingPlanIds?: string[];
|
|
4332
|
-
}
|
|
4333
|
-
interface SetCustomSlugOptions {
|
|
4334
|
-
/**
|
|
4335
|
-
* Slug to set as the active service slug.
|
|
4336
|
-
* @maxLength 500
|
|
4337
|
-
*/
|
|
4338
|
-
slug?: string;
|
|
4339
|
-
}
|
|
4340
|
-
interface ValidateSlugOptions {
|
|
4341
|
-
/**
|
|
4342
|
-
* Custom slug to validate.
|
|
4343
|
-
* @maxLength 500
|
|
4344
|
-
*/
|
|
4345
|
-
slug?: string;
|
|
4346
|
-
}
|
|
4347
|
-
|
|
4348
|
-
export { CloneErrors as $, type ValidateSlugResponse as A, type BulkUpdateServicesOptions as B, type CursorSearch as C, type DeleteServiceOptions as D, type EnablePricingPlansForServiceResponse as E, type CloneServiceResponse as F, ServiceType as G, V2RequestedFields as H, SortOrder as I, SortType as J, SortDirection as K, LocationTypeEnumLocationType as L, MissingValues as M, ScalarType as N, NestedAggregationType as O, DateHistogramAggregationInterval as P, type QueryServicesOptions as Q, RateType as R, type Service as S, AggregationType as T, type UpdateService as U, type V2Location as V, WebhookIdentityType as W, Mode as X, RequestedFields as Y, Action as Z, InvalidSlugError as _, type BulkUpdateServicesResponse as a, type ResourceIds as a$, Status as a0, CategoryNotificationEvent as a1, Day as a2, Transparency as a3, RecurringIntervalType as a4, LocationType as a5, LocationStatus as a6, LocationsLocationType as a7, DayOfWeek as a8, ApprovalStatus as a9, type CommonAddressStreetOneOf as aA, type CommonStreetAddress as aB, type CommonAddressLocation as aC, type BusinessLocationOptions as aD, type CustomLocationOptions as aE, type BookingPolicy as aF, type PolicyDescription as aG, type LimitEarlyBookingPolicy as aH, type LimitLateBookingPolicy as aI, type BookAfterStartPolicy as aJ, type CancellationPolicy as aK, type ReschedulePolicy as aL, type WaitlistPolicy as aM, type ParticipantsPolicy as aN, type ResourcesPolicy as aO, type CancellationFeePolicy as aP, type CancellationWindow as aQ, type CancellationWindowFeeOneOf as aR, type SaveCreditCardPolicy as aS, type V2Schedule as aT, type V2AvailabilityConstraints as aU, type Duration as aV, type StaffMember as aW, type StaffMediaItem as aX, type StaffMediaItemItemOneOf as aY, type StaffMemberDetails as aZ, type ResourceGroup as a_, ScheduleStatus as aa, ConferenceType as ab, ResourceStatus as ac, ResourceNotificationEvent as ad, BenefitType as ae, Event as af, CrudType as ag, PlacementType as ah, ResolutionMethod as ai, type Media as aj, type MediaItem as ak, type MediaItemItemOneOf as al, type V2Category as am, type Form as an, type FormSettings as ao, type Payment as ap, type PaymentRateOneOf as aq, type FixedPayment as ar, type Money as as, type CustomPayment as at, type VariedPayment as au, type PaymentOptions as av, type OnlineBooking as aw, type Conferencing as ax, type V2LocationOptionsOneOf as ay, type CommonAddress as az, type BulkUpdateServicesByFilterOptions as b, type UpdateServiceResponse as b$, type ServiceResource as b0, type ServiceResourceSelectionOneOf as b1, type ResourceType as b2, type Slug as b3, type URLs as b4, type ExtendedFields as b5, type SeoSchema as b6, type Keyword as b7, type Tag as b8, type Settings as b9, type ListAddOnGroupsByServiceIdResponse as bA, type AddOn as bB, type AddOnAddOnInfoOneOf as bC, type AddOnGroupDetail as bD, type SetAddOnsForGroupRequest as bE, type SetAddOnsForGroupResponse as bF, type ValidateAddOnsSelectionRequest as bG, type ValidateAddOnsSelectionResponse as bH, type ValidationResult as bI, type CreateServiceRequest as bJ, type CreateServiceResponse as bK, type ValidateServiceRequest as bL, type ValidateServiceResponse as bM, type FieldViolation as bN, type BulkCreateServicesRequest as bO, type BulkCreateServicesResponse as bP, type BulkServiceResult as bQ, type ItemMetadata as bR, type ApplicationError as bS, type BulkActionMetadata as bT, type GetServiceRequest as bU, type GetServiceResponse as bV, type GetServiceAvailabilityConstraintsRequest as bW, type GetServiceAvailabilityConstraintsResponse as bX, type ServiceAvailabilityConstraints as bY, type V1SplitInterval as bZ, type UpdateServiceRequest as b_, type AddOnGroup as ba, type AddOnDetails as bb, type ReindexMessage as bc, type ReindexMessageActionOneOf as bd, type Upsert as be, type Delete as bf, type Schema as bg, type SetCustomSlugEvent as bh, type ServicesUrlsChanged as bi, type DomainEvent as bj, type DomainEventBodyOneOf as bk, type EntityCreatedEvent as bl, type RestoreInfo as bm, type EntityUpdatedEvent as bn, type EntityDeletedEvent as bo, type ActionEvent as bp, type MessageEnvelope as bq, type IdentificationData as br, type IdentificationDataIdOneOf as bs, type CreateAddOnGroupRequest as bt, type CreateAddOnGroupResponse as bu, type DeleteAddOnGroupRequest as bv, type DeleteAddOnGroupResponse as bw, type UpdateAddOnGroupRequest as bx, type UpdateAddOnGroupResponse as by, type ListAddOnGroupsByServiceIdRequest as bz, type BulkUpdateServicesByFilterResponse as c, type CountServicesRequest as c$, type BulkUpdateServicesRequest as c0, type MaskedService as c1, type BulkUpdateServicesByFilterRequest as c2, type DeleteServiceRequest as c3, type ParticipantNotification as c4, type DeleteServiceResponse as c5, type BulkDeleteServicesRequest as c6, type BulkDeleteServicesByFilterRequest as c7, type QueryServicesRequest as c8, type QueryV2 as c9, type ValueAggregationResult as cA, type RangeAggregationResult as cB, type NestedAggregationResults as cC, type NestedAggregationResultsResultOneOf as cD, type ValueResults as cE, type RangeResults as cF, type AggregationResultsScalarResult as cG, type NestedValueAggregationResult as cH, type ValueResult as cI, type RangeResult as cJ, type ScalarResult as cK, type NestedResultValue as cL, type NestedResultValueResultOneOf as cM, type Results as cN, type DateHistogramResult as cO, type GroupByValueResults as cP, type DateHistogramResults as cQ, type NestedResults as cR, type AggregationResults as cS, type AggregationResultsResultOneOf as cT, type QueryPoliciesRequest as cU, type CursorQueryPagingMethodOneOf as cV, type BookingPolicyWithServices as cW, type QueryBookingFormsRequest as cX, type BookingForm as cY, type FormDetails as cZ, type ConnectedService as c_, type QueryV2PagingMethodOneOf as ca, type Sorting as cb, type Paging as cc, type CursorPaging as cd, type QueryServicesResponse as ce, type PagingMetadataV2 as cf, type Cursors as cg, type SearchServicesRequest as ch, type CursorSearchPagingMethodOneOf as ci, type Aggregation as cj, type AggregationKindOneOf as ck, type RangeBucket as cl, type IncludeMissingValuesOptions as cm, type ValueAggregation as cn, type ValueAggregationOptionsOneOf as co, type RangeAggregation as cp, type ScalarAggregation as cq, type DateHistogramAggregation as cr, type NestedAggregationItem as cs, type NestedAggregationItemKindOneOf as ct, type NestedAggregation as cu, type GroupByAggregation as cv, type GroupByAggregationKindOneOf as cw, type SearchDetails as cx, type CursorPagingMetadata as cy, type AggregationData as cz, type BulkDeleteServicesOptions as d, type HtmlSitePublished as d$, type QueryLocationsRequest as d0, type QueryLocationsFilter as d1, type BusinessLocations as d2, type CustomLocations as d3, type CustomerLocations as d4, type QueryCategoriesRequest as d5, type QueryCategoriesFilter as d6, type QueryServicesMultiLanguageRequest as d7, type QueryServicesMultiLanguageResponse as d8, type SetServiceLocationsRequest as d9, type Subdivision as dA, type LocationsLocation as dB, type LocationsAddress as dC, type LocationsStreetAddress as dD, type LocationsAddressLocation as dE, type BusinessSchedule as dF, type TimePeriod as dG, type SpecialHourPeriod as dH, type Rate as dI, type Price as dJ, type Availability as dK, type AvailabilityConstraints as dL, type SplitInterval as dM, type Participant as dN, type ExternalCalendarOverrides as dO, type Version as dP, type ConferenceProvider as dQ, type CalendarConference as dR, type BusinessLocation as dS, type BenefitNotification as dT, type Benefit as dU, type EntryPass as dV, type Discount as dW, type DiscountDiscountOneOf as dX, type Behavior as dY, type BehaviorBehaviorOneOf as dZ, type UserDomainInfoChangedEvent as d_, type RemovedLocationSessionsAction as da, type RemovedLocationSessionsActionActionOptionsOneOf as db, type MoveToNewLocationsOptions as dc, type EnablePricingPlansForServiceRequest as dd, type InvalidPricingPlan as de, type DisablePricingPlansForServiceRequest as df, type SetCustomSlugRequest as dg, type ValidateSlugRequest as dh, type CloneServiceRequest as di, type CategoryNotification as dj, type Category as dk, type Empty as dl, type ResourceNotification as dm, type Resource as dn, type FocalPoint as dp, type Schedule as dq, type RecurringInterval as dr, type Interval as ds, type Frequency as dt, type LinkedSchedule as du, type Location as dv, type Address as dw, type AddressStreetOneOf as dx, type StreetAddress as dy, type AddressLocation as dz, type BulkDeleteServicesResponse as e, type Page as e0, type SitePropertiesNotification as e1, type SitePropertiesEvent as e2, type Properties as e3, type Categories as e4, type Locale as e5, type V4Address as e6, type AddressHint as e7, type GeoCoordinates as e8, type Multilingual as e9, type SupportedLanguage as ea, type ConsentPolicy as eb, type Translation as ec, type ChangeContext as ed, type ChangeContextPayloadOneOf as ee, type PropertiesChange as ef, type SiteCreated as eg, type SiteCloned as eh, type BaseEventMetadata as ei, type EventMetadata as ej, type ServiceCreatedEnvelope as ek, type ServiceDeletedEnvelope as el, type ServiceUpdatedEnvelope as em, type ServicesQueryResult as en, type BulkDeleteServicesByFilterOptions as f, type BulkDeleteServicesByFilterResponse as g, type ServicesQueryBuilder as h, type SearchServicesResponse as i, type CursorQuery as j, type QueryPoliciesResponse as k, type QueryBookingFormsOptions as l, type QueryBookingFormsResponse as m, type CountServicesOptions as n, type CountServicesResponse as o, type QueryLocationsOptions as p, type QueryLocationsResponse as q, type QueryCategoriesOptions as r, type QueryCategoriesResponse as s, type SetServiceLocationsOptions as t, type SetServiceLocationsResponse as u, type DisablePricingPlansForServiceOptions as v, type DisablePricingPlansForServiceResponse as w, type SetCustomSlugOptions as x, type SetCustomSlugResponse as y, type ValidateSlugOptions as z };
|