@wix/auto_sdk_bookings_services 1.0.34 → 1.0.35
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} +424 -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 +5234 -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} +424 -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 +5234 -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} +424 -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 +5234 -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} +424 -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 +5234 -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,30 @@ 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;
|
|
1359
1400
|
}
|
|
1360
|
-
interface DeleteAddOnGroupResponse {
|
|
1401
|
+
export interface DeleteAddOnGroupResponse {
|
|
1361
1402
|
}
|
|
1362
|
-
interface UpdateAddOnGroupRequest {
|
|
1403
|
+
export interface UpdateAddOnGroupRequest {
|
|
1363
1404
|
/** AddOnGroup to update. */
|
|
1364
1405
|
addOnGroup?: AddOnGroup;
|
|
1365
1406
|
/** Explicit list of fields to update. */
|
|
1366
1407
|
mask?: string[];
|
|
1367
1408
|
}
|
|
1368
|
-
interface UpdateAddOnGroupResponse {
|
|
1409
|
+
export interface UpdateAddOnGroupResponse {
|
|
1369
1410
|
/** Updated AddOnGroup */
|
|
1370
1411
|
addOnGroup?: AddOnGroup;
|
|
1371
1412
|
}
|
|
1372
|
-
interface ListAddOnGroupsByServiceIdRequest {
|
|
1413
|
+
export interface ListAddOnGroupsByServiceIdRequest {
|
|
1373
1414
|
/**
|
|
1374
1415
|
* ID of the service to retrieve AddOnGroups for.
|
|
1375
1416
|
* @format GUID
|
|
@@ -1382,14 +1423,14 @@ interface ListAddOnGroupsByServiceIdRequest {
|
|
|
1382
1423
|
*/
|
|
1383
1424
|
groupIds?: string[] | null;
|
|
1384
1425
|
}
|
|
1385
|
-
interface ListAddOnGroupsByServiceIdResponse {
|
|
1426
|
+
export interface ListAddOnGroupsByServiceIdResponse {
|
|
1386
1427
|
/**
|
|
1387
1428
|
* List of group IDs and their linked AddOns.
|
|
1388
1429
|
* @maxSize 3
|
|
1389
1430
|
*/
|
|
1390
1431
|
addOnGroupsDetails?: AddOnGroupDetail[];
|
|
1391
1432
|
}
|
|
1392
|
-
interface AddOn extends AddOnAddOnInfoOneOf {
|
|
1433
|
+
export interface AddOn extends AddOnAddOnInfoOneOf {
|
|
1393
1434
|
/** The AddOn description. */
|
|
1394
1435
|
durationInMinutes?: number;
|
|
1395
1436
|
/** The AddOn max quantity. */
|
|
@@ -1408,13 +1449,13 @@ interface AddOn extends AddOnAddOnInfoOneOf {
|
|
|
1408
1449
|
price?: Money;
|
|
1409
1450
|
}
|
|
1410
1451
|
/** @oneof */
|
|
1411
|
-
interface AddOnAddOnInfoOneOf {
|
|
1452
|
+
export interface AddOnAddOnInfoOneOf {
|
|
1412
1453
|
/** The AddOn description. */
|
|
1413
1454
|
durationInMinutes?: number;
|
|
1414
1455
|
/** The AddOn max quantity. */
|
|
1415
1456
|
maxQuantity?: number;
|
|
1416
1457
|
}
|
|
1417
|
-
interface AddOnGroupDetail {
|
|
1458
|
+
export interface AddOnGroupDetail {
|
|
1418
1459
|
/**
|
|
1419
1460
|
* The group ID.
|
|
1420
1461
|
* @format GUID
|
|
@@ -1438,7 +1479,7 @@ interface AddOnGroupDetail {
|
|
|
1438
1479
|
*/
|
|
1439
1480
|
prompt?: string | null;
|
|
1440
1481
|
}
|
|
1441
|
-
interface SetAddOnsForGroupRequest {
|
|
1482
|
+
export interface SetAddOnsForGroupRequest {
|
|
1442
1483
|
/**
|
|
1443
1484
|
* The service ID to set AddOns for.
|
|
1444
1485
|
* @format GUID
|
|
@@ -1457,11 +1498,11 @@ interface SetAddOnsForGroupRequest {
|
|
|
1457
1498
|
*/
|
|
1458
1499
|
addOnIds?: string[] | null;
|
|
1459
1500
|
}
|
|
1460
|
-
interface SetAddOnsForGroupResponse {
|
|
1501
|
+
export interface SetAddOnsForGroupResponse {
|
|
1461
1502
|
/** The updated AddOnGroup. */
|
|
1462
1503
|
addOnGroup?: AddOnGroup;
|
|
1463
1504
|
}
|
|
1464
|
-
interface ValidateAddOnsSelectionRequest {
|
|
1505
|
+
export interface ValidateAddOnsSelectionRequest {
|
|
1465
1506
|
/**
|
|
1466
1507
|
* The service ID to validate AddOns against.
|
|
1467
1508
|
* @format GUID
|
|
@@ -1480,11 +1521,11 @@ interface ValidateAddOnsSelectionRequest {
|
|
|
1480
1521
|
*/
|
|
1481
1522
|
addOnIds?: string[] | null;
|
|
1482
1523
|
}
|
|
1483
|
-
interface ValidateAddOnsSelectionResponse {
|
|
1524
|
+
export interface ValidateAddOnsSelectionResponse {
|
|
1484
1525
|
/** The validation result. */
|
|
1485
1526
|
result?: ValidationResult;
|
|
1486
1527
|
}
|
|
1487
|
-
interface ValidationResult {
|
|
1528
|
+
export interface ValidationResult {
|
|
1488
1529
|
/** Whether the AddOns selection is valid. */
|
|
1489
1530
|
valid?: boolean | null;
|
|
1490
1531
|
/**
|
|
@@ -1495,25 +1536,25 @@ interface ValidationResult {
|
|
|
1495
1536
|
*/
|
|
1496
1537
|
message?: string | null;
|
|
1497
1538
|
}
|
|
1498
|
-
interface CreateServiceRequest {
|
|
1539
|
+
export interface CreateServiceRequest {
|
|
1499
1540
|
/** Service to create. */
|
|
1500
1541
|
service: Service;
|
|
1501
1542
|
}
|
|
1502
|
-
interface CreateServiceResponse {
|
|
1543
|
+
export interface CreateServiceResponse {
|
|
1503
1544
|
/** Created service. */
|
|
1504
1545
|
service?: Service;
|
|
1505
1546
|
}
|
|
1506
|
-
interface ValidateServiceRequest {
|
|
1547
|
+
export interface ValidateServiceRequest {
|
|
1507
1548
|
/** Service to validate. */
|
|
1508
1549
|
service?: Service;
|
|
1509
1550
|
}
|
|
1510
|
-
interface ValidateServiceResponse {
|
|
1551
|
+
export interface ValidateServiceResponse {
|
|
1511
1552
|
/** Whether the service is valid. */
|
|
1512
1553
|
valid?: boolean;
|
|
1513
1554
|
/** Field violations. */
|
|
1514
1555
|
fieldViolations?: FieldViolation[];
|
|
1515
1556
|
}
|
|
1516
|
-
interface FieldViolation {
|
|
1557
|
+
export interface FieldViolation {
|
|
1517
1558
|
/**
|
|
1518
1559
|
* Path to the invalid field.
|
|
1519
1560
|
* @maxLength 2000
|
|
@@ -1530,7 +1571,7 @@ interface FieldViolation {
|
|
|
1530
1571
|
*/
|
|
1531
1572
|
ruleName?: string;
|
|
1532
1573
|
}
|
|
1533
|
-
interface BulkCreateServicesRequest {
|
|
1574
|
+
export interface BulkCreateServicesRequest {
|
|
1534
1575
|
/**
|
|
1535
1576
|
* Services to create.
|
|
1536
1577
|
* @maxSize 100
|
|
@@ -1539,24 +1580,24 @@ interface BulkCreateServicesRequest {
|
|
|
1539
1580
|
/** Whether to return the created service objects. */
|
|
1540
1581
|
returnEntity?: boolean;
|
|
1541
1582
|
}
|
|
1542
|
-
interface BulkCreateServicesResponse {
|
|
1583
|
+
export interface BulkCreateServicesResponse {
|
|
1543
1584
|
/** The result of each service creation. */
|
|
1544
1585
|
results?: BulkServiceResult[];
|
|
1545
1586
|
/** Create statistics. */
|
|
1546
1587
|
bulkActionMetadata?: BulkActionMetadata;
|
|
1547
1588
|
}
|
|
1548
|
-
interface BulkServiceResult {
|
|
1589
|
+
export interface BulkServiceResult {
|
|
1549
1590
|
/** Update metadata. */
|
|
1550
1591
|
itemMetadata?: ItemMetadata;
|
|
1551
1592
|
/** Updated service. */
|
|
1552
1593
|
item?: Service;
|
|
1553
1594
|
}
|
|
1554
|
-
interface ItemMetadata {
|
|
1595
|
+
export interface ItemMetadata {
|
|
1555
1596
|
/**
|
|
1556
1597
|
* Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).
|
|
1557
1598
|
* @format GUID
|
|
1558
1599
|
*/
|
|
1559
|
-
|
|
1600
|
+
id?: string | null;
|
|
1560
1601
|
/** Index of the item within the request array. Allows for correlation between request and response items. */
|
|
1561
1602
|
originalIndex?: number;
|
|
1562
1603
|
/** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
|
|
@@ -1564,7 +1605,7 @@ interface ItemMetadata {
|
|
|
1564
1605
|
/** Details about the error in case of failure. */
|
|
1565
1606
|
error?: ApplicationError;
|
|
1566
1607
|
}
|
|
1567
|
-
interface ApplicationError {
|
|
1608
|
+
export interface ApplicationError {
|
|
1568
1609
|
/** Error code. */
|
|
1569
1610
|
code?: string;
|
|
1570
1611
|
/** Description of the error. */
|
|
@@ -1572,7 +1613,7 @@ interface ApplicationError {
|
|
|
1572
1613
|
/** Data related to the error. */
|
|
1573
1614
|
data?: Record<string, any> | null;
|
|
1574
1615
|
}
|
|
1575
|
-
interface BulkActionMetadata {
|
|
1616
|
+
export interface BulkActionMetadata {
|
|
1576
1617
|
/** Number of items that were successfully processed. */
|
|
1577
1618
|
totalSuccesses?: number;
|
|
1578
1619
|
/** Number of items that couldn't be processed. */
|
|
@@ -1580,14 +1621,14 @@ interface BulkActionMetadata {
|
|
|
1580
1621
|
/** Number of failures without details because detailed failure threshold was exceeded. */
|
|
1581
1622
|
undetailedFailures?: number;
|
|
1582
1623
|
}
|
|
1583
|
-
interface GetServiceRequest {
|
|
1624
|
+
export interface GetServiceRequest {
|
|
1584
1625
|
/**
|
|
1585
1626
|
* ID of the service to retrieve.
|
|
1586
1627
|
* @format GUID
|
|
1587
1628
|
*/
|
|
1588
1629
|
serviceId: string;
|
|
1589
1630
|
}
|
|
1590
|
-
declare enum V2RequestedFields {
|
|
1631
|
+
export declare enum V2RequestedFields {
|
|
1591
1632
|
/** Unknown requested field. */
|
|
1592
1633
|
UNKNOWN_REQUESTED_FIELD = "UNKNOWN_REQUESTED_FIELD",
|
|
1593
1634
|
/** When passed, `service.staff_members` is returned. */
|
|
@@ -1595,22 +1636,22 @@ declare enum V2RequestedFields {
|
|
|
1595
1636
|
/** When passed, `service.service_resources.resource_type.name` is returned. */
|
|
1596
1637
|
RESOURCE_TYPE_DETAILS = "RESOURCE_TYPE_DETAILS"
|
|
1597
1638
|
}
|
|
1598
|
-
interface GetServiceResponse {
|
|
1639
|
+
export interface GetServiceResponse {
|
|
1599
1640
|
/** Retrieved service. */
|
|
1600
1641
|
service?: Service;
|
|
1601
1642
|
}
|
|
1602
|
-
interface GetServiceAvailabilityConstraintsRequest {
|
|
1643
|
+
export interface GetServiceAvailabilityConstraintsRequest {
|
|
1603
1644
|
/**
|
|
1604
1645
|
* ID of the service to retrieve.
|
|
1605
1646
|
* @format GUID
|
|
1606
1647
|
*/
|
|
1607
1648
|
serviceId?: string;
|
|
1608
1649
|
}
|
|
1609
|
-
interface GetServiceAvailabilityConstraintsResponse {
|
|
1650
|
+
export interface GetServiceAvailabilityConstraintsResponse {
|
|
1610
1651
|
/** The retrieved availability constraints of the service. */
|
|
1611
1652
|
constraints?: ServiceAvailabilityConstraints;
|
|
1612
1653
|
}
|
|
1613
|
-
interface ServiceAvailabilityConstraints {
|
|
1654
|
+
export interface ServiceAvailabilityConstraints {
|
|
1614
1655
|
/**
|
|
1615
1656
|
* The booking policy.
|
|
1616
1657
|
* @readonly
|
|
@@ -1660,7 +1701,7 @@ interface ServiceAvailabilityConstraints {
|
|
|
1660
1701
|
onlineBooking?: OnlineBooking;
|
|
1661
1702
|
}
|
|
1662
1703
|
/** 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 {
|
|
1704
|
+
export interface V1SplitInterval {
|
|
1664
1705
|
/**
|
|
1665
1706
|
* Whether the slot duration is used as the split interval value.
|
|
1666
1707
|
* If `same_as_duration` is `true`, the `value_in_minutes` is the sum of the first duration in
|
|
@@ -1670,15 +1711,15 @@ interface V1SplitInterval {
|
|
|
1670
1711
|
/** Number of minutes between available slots' start times when `same_as_duration` is `false`. */
|
|
1671
1712
|
valueInMinutes?: number | null;
|
|
1672
1713
|
}
|
|
1673
|
-
interface UpdateServiceRequest {
|
|
1714
|
+
export interface UpdateServiceRequest {
|
|
1674
1715
|
/** Service to update. */
|
|
1675
1716
|
service: Service;
|
|
1676
1717
|
}
|
|
1677
|
-
interface UpdateServiceResponse {
|
|
1718
|
+
export interface UpdateServiceResponse {
|
|
1678
1719
|
/** Updated service. */
|
|
1679
1720
|
service?: Service;
|
|
1680
1721
|
}
|
|
1681
|
-
interface BulkUpdateServicesRequest {
|
|
1722
|
+
export interface BulkUpdateServicesRequest {
|
|
1682
1723
|
/**
|
|
1683
1724
|
* Services to update.
|
|
1684
1725
|
* @maxSize 100
|
|
@@ -1687,25 +1728,25 @@ interface BulkUpdateServicesRequest {
|
|
|
1687
1728
|
/** Whether to include the updated services in the response. Default: `false` */
|
|
1688
1729
|
returnEntity?: boolean;
|
|
1689
1730
|
}
|
|
1690
|
-
interface MaskedService {
|
|
1731
|
+
export interface MaskedService {
|
|
1691
1732
|
/** Service to update. */
|
|
1692
1733
|
service?: Service;
|
|
1693
1734
|
/** Explicit list of fields to update. */
|
|
1694
1735
|
mask?: string[];
|
|
1695
1736
|
}
|
|
1696
|
-
interface BulkUpdateServicesResponse {
|
|
1737
|
+
export interface BulkUpdateServicesResponse {
|
|
1697
1738
|
/** The result of each service update. */
|
|
1698
1739
|
results?: BulkServiceResult[];
|
|
1699
1740
|
/** Update statistics. */
|
|
1700
1741
|
bulkActionMetadata?: BulkActionMetadata;
|
|
1701
1742
|
}
|
|
1702
|
-
interface BulkUpdateServicesByFilterRequest {
|
|
1743
|
+
export interface BulkUpdateServicesByFilterRequest {
|
|
1703
1744
|
/** Filter to identify the services to update. */
|
|
1704
1745
|
filter: Record<string, any> | null;
|
|
1705
1746
|
/** Service to update. */
|
|
1706
1747
|
service: Service;
|
|
1707
1748
|
}
|
|
1708
|
-
interface BulkUpdateServicesByFilterResponse {
|
|
1749
|
+
export interface BulkUpdateServicesByFilterResponse {
|
|
1709
1750
|
/**
|
|
1710
1751
|
* ID of the service update job.
|
|
1711
1752
|
*
|
|
@@ -1714,7 +1755,7 @@ interface BulkUpdateServicesByFilterResponse {
|
|
|
1714
1755
|
*/
|
|
1715
1756
|
jobId?: string;
|
|
1716
1757
|
}
|
|
1717
|
-
interface DeleteServiceRequest {
|
|
1758
|
+
export interface DeleteServiceRequest {
|
|
1718
1759
|
/**
|
|
1719
1760
|
* ID of the service to delete.
|
|
1720
1761
|
* @format GUID
|
|
@@ -1732,7 +1773,7 @@ interface DeleteServiceRequest {
|
|
|
1732
1773
|
*/
|
|
1733
1774
|
participantNotification?: ParticipantNotification;
|
|
1734
1775
|
}
|
|
1735
|
-
interface ParticipantNotification {
|
|
1776
|
+
export interface ParticipantNotification {
|
|
1736
1777
|
/**
|
|
1737
1778
|
* Whether to send the message about the changes to the customer.
|
|
1738
1779
|
*
|
|
@@ -1745,9 +1786,9 @@ interface ParticipantNotification {
|
|
|
1745
1786
|
*/
|
|
1746
1787
|
message?: string | null;
|
|
1747
1788
|
}
|
|
1748
|
-
interface DeleteServiceResponse {
|
|
1789
|
+
export interface DeleteServiceResponse {
|
|
1749
1790
|
}
|
|
1750
|
-
interface BulkDeleteServicesRequest {
|
|
1791
|
+
export interface BulkDeleteServicesRequest {
|
|
1751
1792
|
/**
|
|
1752
1793
|
* IDs of the services to delete.
|
|
1753
1794
|
* @format GUID
|
|
@@ -1766,13 +1807,13 @@ interface BulkDeleteServicesRequest {
|
|
|
1766
1807
|
*/
|
|
1767
1808
|
participantNotification?: ParticipantNotification;
|
|
1768
1809
|
}
|
|
1769
|
-
interface BulkDeleteServicesResponse {
|
|
1810
|
+
export interface BulkDeleteServicesResponse {
|
|
1770
1811
|
/** The result of each service removal. */
|
|
1771
1812
|
results?: BulkServiceResult[];
|
|
1772
1813
|
/** Delete statistics. */
|
|
1773
1814
|
bulkActionMetadata?: BulkActionMetadata;
|
|
1774
1815
|
}
|
|
1775
|
-
interface BulkDeleteServicesByFilterRequest {
|
|
1816
|
+
export interface BulkDeleteServicesByFilterRequest {
|
|
1776
1817
|
/** Filter to identify the services that need to be deleted. */
|
|
1777
1818
|
filter: Record<string, any> | null;
|
|
1778
1819
|
/**
|
|
@@ -1784,7 +1825,7 @@ interface BulkDeleteServicesByFilterRequest {
|
|
|
1784
1825
|
/** Whether to notify participants about the change and an optional custom message. */
|
|
1785
1826
|
participantNotification?: ParticipantNotification;
|
|
1786
1827
|
}
|
|
1787
|
-
interface BulkDeleteServicesByFilterResponse {
|
|
1828
|
+
export interface BulkDeleteServicesByFilterResponse {
|
|
1788
1829
|
/**
|
|
1789
1830
|
* ID of the service deletion job.
|
|
1790
1831
|
*
|
|
@@ -1793,11 +1834,11 @@ interface BulkDeleteServicesByFilterResponse {
|
|
|
1793
1834
|
*/
|
|
1794
1835
|
jobId?: string;
|
|
1795
1836
|
}
|
|
1796
|
-
interface QueryServicesRequest {
|
|
1837
|
+
export interface QueryServicesRequest {
|
|
1797
1838
|
/** WQL expression. */
|
|
1798
1839
|
query: QueryV2;
|
|
1799
1840
|
}
|
|
1800
|
-
interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
1841
|
+
export interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
1801
1842
|
/** Paging options to limit and skip the number of items. */
|
|
1802
1843
|
paging?: Paging;
|
|
1803
1844
|
/**
|
|
@@ -1824,11 +1865,11 @@ interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
|
1824
1865
|
sort?: Sorting[];
|
|
1825
1866
|
}
|
|
1826
1867
|
/** @oneof */
|
|
1827
|
-
interface QueryV2PagingMethodOneOf {
|
|
1868
|
+
export interface QueryV2PagingMethodOneOf {
|
|
1828
1869
|
/** Paging options to limit and skip the number of items. */
|
|
1829
1870
|
paging?: Paging;
|
|
1830
1871
|
}
|
|
1831
|
-
interface Sorting {
|
|
1872
|
+
export interface Sorting {
|
|
1832
1873
|
/**
|
|
1833
1874
|
* Name of the field to sort by.
|
|
1834
1875
|
* @maxLength 512
|
|
@@ -1837,17 +1878,17 @@ interface Sorting {
|
|
|
1837
1878
|
/** Sort order. */
|
|
1838
1879
|
order?: SortOrder;
|
|
1839
1880
|
}
|
|
1840
|
-
declare enum SortOrder {
|
|
1881
|
+
export declare enum SortOrder {
|
|
1841
1882
|
ASC = "ASC",
|
|
1842
1883
|
DESC = "DESC"
|
|
1843
1884
|
}
|
|
1844
|
-
interface Paging {
|
|
1885
|
+
export interface Paging {
|
|
1845
1886
|
/** Number of items to load. */
|
|
1846
1887
|
limit?: number | null;
|
|
1847
1888
|
/** Number of items to skip in the current sort order. */
|
|
1848
1889
|
offset?: number | null;
|
|
1849
1890
|
}
|
|
1850
|
-
interface CursorPaging {
|
|
1891
|
+
export interface CursorPaging {
|
|
1851
1892
|
/**
|
|
1852
1893
|
* Number of items to load.
|
|
1853
1894
|
* @max 100
|
|
@@ -1863,13 +1904,13 @@ interface CursorPaging {
|
|
|
1863
1904
|
*/
|
|
1864
1905
|
cursor?: string | null;
|
|
1865
1906
|
}
|
|
1866
|
-
interface QueryServicesResponse {
|
|
1907
|
+
export interface QueryServicesResponse {
|
|
1867
1908
|
/** The retrieved services. */
|
|
1868
1909
|
services?: Service[];
|
|
1869
1910
|
/** Paging metadata, including offset and count. */
|
|
1870
1911
|
pagingMetadata?: PagingMetadataV2;
|
|
1871
1912
|
}
|
|
1872
|
-
interface PagingMetadataV2 {
|
|
1913
|
+
export interface PagingMetadataV2 {
|
|
1873
1914
|
/** Number of items returned in the response. */
|
|
1874
1915
|
count?: number | null;
|
|
1875
1916
|
/** Offset that was requested. */
|
|
@@ -1881,7 +1922,7 @@ interface PagingMetadataV2 {
|
|
|
1881
1922
|
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
1882
1923
|
cursors?: Cursors;
|
|
1883
1924
|
}
|
|
1884
|
-
interface Cursors {
|
|
1925
|
+
export interface Cursors {
|
|
1885
1926
|
/**
|
|
1886
1927
|
* Cursor pointing to next page in the list of results.
|
|
1887
1928
|
* @maxLength 16000
|
|
@@ -1893,11 +1934,11 @@ interface Cursors {
|
|
|
1893
1934
|
*/
|
|
1894
1935
|
prev?: string | null;
|
|
1895
1936
|
}
|
|
1896
|
-
interface SearchServicesRequest {
|
|
1937
|
+
export interface SearchServicesRequest {
|
|
1897
1938
|
/** WQL, search or aggregation expression. */
|
|
1898
1939
|
search: CursorSearch;
|
|
1899
1940
|
}
|
|
1900
|
-
interface CursorSearch extends CursorSearchPagingMethodOneOf {
|
|
1941
|
+
export interface CursorSearch extends CursorSearchPagingMethodOneOf {
|
|
1901
1942
|
/**
|
|
1902
1943
|
* Cursor pointing to page of results.
|
|
1903
1944
|
* When requesting 'cursor_paging.cursor', no `filter`, `sort` or `search` can be provided.
|
|
@@ -1930,14 +1971,14 @@ interface CursorSearch extends CursorSearchPagingMethodOneOf {
|
|
|
1930
1971
|
timeZone?: string | null;
|
|
1931
1972
|
}
|
|
1932
1973
|
/** @oneof */
|
|
1933
|
-
interface CursorSearchPagingMethodOneOf {
|
|
1974
|
+
export interface CursorSearchPagingMethodOneOf {
|
|
1934
1975
|
/**
|
|
1935
1976
|
* Cursor pointing to page of results.
|
|
1936
1977
|
* When requesting 'cursor_paging.cursor', no `filter`, `sort` or `search` can be provided.
|
|
1937
1978
|
*/
|
|
1938
1979
|
cursorPaging?: CursorPaging;
|
|
1939
1980
|
}
|
|
1940
|
-
interface Aggregation extends AggregationKindOneOf {
|
|
1981
|
+
export interface Aggregation extends AggregationKindOneOf {
|
|
1941
1982
|
/** Value aggregation */
|
|
1942
1983
|
value?: ValueAggregation;
|
|
1943
1984
|
/** Range aggregation */
|
|
@@ -1969,7 +2010,7 @@ interface Aggregation extends AggregationKindOneOf {
|
|
|
1969
2010
|
groupBy?: GroupByAggregation;
|
|
1970
2011
|
}
|
|
1971
2012
|
/** @oneof */
|
|
1972
|
-
interface AggregationKindOneOf {
|
|
2013
|
+
export interface AggregationKindOneOf {
|
|
1973
2014
|
/** Value aggregation */
|
|
1974
2015
|
value?: ValueAggregation;
|
|
1975
2016
|
/** Range aggregation */
|
|
@@ -1981,38 +2022,38 @@ interface AggregationKindOneOf {
|
|
|
1981
2022
|
/** Nested aggregation */
|
|
1982
2023
|
nested?: NestedAggregation;
|
|
1983
2024
|
}
|
|
1984
|
-
interface RangeBucket {
|
|
2025
|
+
export interface RangeBucket {
|
|
1985
2026
|
/** Inclusive lower bound of the range. Required if to is not given. */
|
|
1986
2027
|
from?: number | null;
|
|
1987
2028
|
/** Exclusive upper bound of the range. Required if from is not given. */
|
|
1988
2029
|
to?: number | null;
|
|
1989
2030
|
}
|
|
1990
|
-
declare enum SortType {
|
|
2031
|
+
export declare enum SortType {
|
|
1991
2032
|
COUNT = "COUNT",
|
|
1992
2033
|
VALUE = "VALUE"
|
|
1993
2034
|
}
|
|
1994
|
-
declare enum SortDirection {
|
|
2035
|
+
export declare enum SortDirection {
|
|
1995
2036
|
DESC = "DESC",
|
|
1996
2037
|
ASC = "ASC"
|
|
1997
2038
|
}
|
|
1998
|
-
declare enum MissingValues {
|
|
2039
|
+
export declare enum MissingValues {
|
|
1999
2040
|
EXCLUDE = "EXCLUDE",
|
|
2000
2041
|
INCLUDE = "INCLUDE"
|
|
2001
2042
|
}
|
|
2002
|
-
interface IncludeMissingValuesOptions {
|
|
2043
|
+
export interface IncludeMissingValuesOptions {
|
|
2003
2044
|
/**
|
|
2004
2045
|
* can specify custom bucket name. Defaults are [string -> "N/A"], [int -> "0"], [bool -> "false"] ...
|
|
2005
2046
|
* @maxLength 20
|
|
2006
2047
|
*/
|
|
2007
2048
|
addToBucket?: string;
|
|
2008
2049
|
}
|
|
2009
|
-
declare enum ScalarType {
|
|
2050
|
+
export declare enum ScalarType {
|
|
2010
2051
|
UNKNOWN_SCALAR_TYPE = "UNKNOWN_SCALAR_TYPE",
|
|
2011
2052
|
COUNT_DISTINCT = "COUNT_DISTINCT",
|
|
2012
2053
|
MIN = "MIN",
|
|
2013
2054
|
MAX = "MAX"
|
|
2014
2055
|
}
|
|
2015
|
-
interface ValueAggregation extends ValueAggregationOptionsOneOf {
|
|
2056
|
+
export interface ValueAggregation extends ValueAggregationOptionsOneOf {
|
|
2016
2057
|
/** options for including missing values */
|
|
2017
2058
|
includeOptions?: IncludeMissingValuesOptions;
|
|
2018
2059
|
/** Should sort by number of matches or value of the field */
|
|
@@ -2025,33 +2066,33 @@ interface ValueAggregation extends ValueAggregationOptionsOneOf {
|
|
|
2025
2066
|
missingValues?: MissingValues;
|
|
2026
2067
|
}
|
|
2027
2068
|
/** @oneof */
|
|
2028
|
-
interface ValueAggregationOptionsOneOf {
|
|
2069
|
+
export interface ValueAggregationOptionsOneOf {
|
|
2029
2070
|
/** options for including missing values */
|
|
2030
2071
|
includeOptions?: IncludeMissingValuesOptions;
|
|
2031
2072
|
}
|
|
2032
|
-
declare enum NestedAggregationType {
|
|
2073
|
+
export declare enum NestedAggregationType {
|
|
2033
2074
|
UNKNOWN_AGGREGATION_TYPE = "UNKNOWN_AGGREGATION_TYPE",
|
|
2034
2075
|
VALUE = "VALUE",
|
|
2035
2076
|
RANGE = "RANGE",
|
|
2036
2077
|
SCALAR = "SCALAR",
|
|
2037
2078
|
DATE_HISTOGRAM = "DATE_HISTOGRAM"
|
|
2038
2079
|
}
|
|
2039
|
-
interface RangeAggregation {
|
|
2080
|
+
export interface RangeAggregation {
|
|
2040
2081
|
/**
|
|
2041
2082
|
* Range buckets
|
|
2042
2083
|
* @maxSize 50
|
|
2043
2084
|
*/
|
|
2044
2085
|
buckets?: RangeBucket[];
|
|
2045
2086
|
}
|
|
2046
|
-
interface ScalarAggregation {
|
|
2087
|
+
export interface ScalarAggregation {
|
|
2047
2088
|
/** Define the operator for the scalar aggregation */
|
|
2048
2089
|
type?: ScalarType;
|
|
2049
2090
|
}
|
|
2050
|
-
interface DateHistogramAggregation {
|
|
2091
|
+
export interface DateHistogramAggregation {
|
|
2051
2092
|
/** Interval for date histogram aggregation */
|
|
2052
2093
|
interval?: DateHistogramAggregationInterval;
|
|
2053
2094
|
}
|
|
2054
|
-
declare enum DateHistogramAggregationInterval {
|
|
2095
|
+
export declare enum DateHistogramAggregationInterval {
|
|
2055
2096
|
/** Unknown interval. */
|
|
2056
2097
|
UNKNOWN_INTERVAL = "UNKNOWN_INTERVAL",
|
|
2057
2098
|
/** Yearly interval. */
|
|
@@ -2069,7 +2110,7 @@ declare enum DateHistogramAggregationInterval {
|
|
|
2069
2110
|
/** Second interval. */
|
|
2070
2111
|
SECOND = "SECOND"
|
|
2071
2112
|
}
|
|
2072
|
-
interface NestedAggregationItem extends NestedAggregationItemKindOneOf {
|
|
2113
|
+
export interface NestedAggregationItem extends NestedAggregationItemKindOneOf {
|
|
2073
2114
|
/** Value aggregation */
|
|
2074
2115
|
value?: ValueAggregation;
|
|
2075
2116
|
/** Range aggregation */
|
|
@@ -2092,7 +2133,7 @@ interface NestedAggregationItem extends NestedAggregationItemKindOneOf {
|
|
|
2092
2133
|
fieldPath?: string;
|
|
2093
2134
|
}
|
|
2094
2135
|
/** @oneof */
|
|
2095
|
-
interface NestedAggregationItemKindOneOf {
|
|
2136
|
+
export interface NestedAggregationItemKindOneOf {
|
|
2096
2137
|
/** Value aggregation */
|
|
2097
2138
|
value?: ValueAggregation;
|
|
2098
2139
|
/** Range aggregation */
|
|
@@ -2102,7 +2143,7 @@ interface NestedAggregationItemKindOneOf {
|
|
|
2102
2143
|
/** Date histogram aggregation */
|
|
2103
2144
|
dateHistogram?: DateHistogramAggregation;
|
|
2104
2145
|
}
|
|
2105
|
-
declare enum AggregationType {
|
|
2146
|
+
export declare enum AggregationType {
|
|
2106
2147
|
UNKNOWN_AGGREGATION_TYPE = "UNKNOWN_AGGREGATION_TYPE",
|
|
2107
2148
|
VALUE = "VALUE",
|
|
2108
2149
|
RANGE = "RANGE",
|
|
@@ -2111,7 +2152,7 @@ declare enum AggregationType {
|
|
|
2111
2152
|
NESTED = "NESTED"
|
|
2112
2153
|
}
|
|
2113
2154
|
/** nested aggregation expressed through a list of aggregation where each next aggregation is nested within previous one */
|
|
2114
|
-
interface NestedAggregation {
|
|
2155
|
+
export interface NestedAggregation {
|
|
2115
2156
|
/**
|
|
2116
2157
|
* Flattened list of aggregations, where each next aggregation is nested within previous one
|
|
2117
2158
|
* @minSize 2
|
|
@@ -2119,7 +2160,7 @@ interface NestedAggregation {
|
|
|
2119
2160
|
*/
|
|
2120
2161
|
nestedAggregations?: NestedAggregationItem[];
|
|
2121
2162
|
}
|
|
2122
|
-
interface GroupByAggregation extends GroupByAggregationKindOneOf {
|
|
2163
|
+
export interface GroupByAggregation extends GroupByAggregationKindOneOf {
|
|
2123
2164
|
/** Value aggregation configuration */
|
|
2124
2165
|
value?: ValueAggregation;
|
|
2125
2166
|
/**
|
|
@@ -2134,11 +2175,11 @@ interface GroupByAggregation extends GroupByAggregationKindOneOf {
|
|
|
2134
2175
|
fieldPath?: string;
|
|
2135
2176
|
}
|
|
2136
2177
|
/** @oneof */
|
|
2137
|
-
interface GroupByAggregationKindOneOf {
|
|
2178
|
+
export interface GroupByAggregationKindOneOf {
|
|
2138
2179
|
/** Value aggregation configuration */
|
|
2139
2180
|
value?: ValueAggregation;
|
|
2140
2181
|
}
|
|
2141
|
-
interface SearchDetails {
|
|
2182
|
+
export interface SearchDetails {
|
|
2142
2183
|
/** Boolean search mode */
|
|
2143
2184
|
mode?: Mode;
|
|
2144
2185
|
/**
|
|
@@ -2155,13 +2196,13 @@ interface SearchDetails {
|
|
|
2155
2196
|
/** Flag if should use auto fuzzy search (allowing typos by a managed proximity algorithm) */
|
|
2156
2197
|
fuzzy?: boolean;
|
|
2157
2198
|
}
|
|
2158
|
-
declare enum Mode {
|
|
2199
|
+
export declare enum Mode {
|
|
2159
2200
|
/** Any */
|
|
2160
2201
|
OR = "OR",
|
|
2161
2202
|
/** All */
|
|
2162
2203
|
AND = "AND"
|
|
2163
2204
|
}
|
|
2164
|
-
interface SearchServicesResponse {
|
|
2205
|
+
export interface SearchServicesResponse {
|
|
2165
2206
|
/** The retrieved services. */
|
|
2166
2207
|
services?: Service[];
|
|
2167
2208
|
/** Cursor paging metadata */
|
|
@@ -2169,7 +2210,7 @@ interface SearchServicesResponse {
|
|
|
2169
2210
|
/** Response aggregation data */
|
|
2170
2211
|
aggregationData?: AggregationData;
|
|
2171
2212
|
}
|
|
2172
|
-
interface CursorPagingMetadata {
|
|
2213
|
+
export interface CursorPagingMetadata {
|
|
2173
2214
|
/** Number of items returned in the response. */
|
|
2174
2215
|
count?: number | null;
|
|
2175
2216
|
/** 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 +2222,14 @@ interface CursorPagingMetadata {
|
|
|
2181
2222
|
*/
|
|
2182
2223
|
hasNext?: boolean | null;
|
|
2183
2224
|
}
|
|
2184
|
-
interface AggregationData {
|
|
2225
|
+
export interface AggregationData {
|
|
2185
2226
|
/**
|
|
2186
2227
|
* key = aggregation name (as derived from search request)
|
|
2187
2228
|
* @maxSize 10000
|
|
2188
2229
|
*/
|
|
2189
2230
|
results?: AggregationResults[];
|
|
2190
2231
|
}
|
|
2191
|
-
interface ValueAggregationResult {
|
|
2232
|
+
export interface ValueAggregationResult {
|
|
2192
2233
|
/**
|
|
2193
2234
|
* Value of the field
|
|
2194
2235
|
* @maxLength 100
|
|
@@ -2197,7 +2238,7 @@ interface ValueAggregationResult {
|
|
|
2197
2238
|
/** Count of entities with this value */
|
|
2198
2239
|
count?: number;
|
|
2199
2240
|
}
|
|
2200
|
-
interface RangeAggregationResult {
|
|
2241
|
+
export interface RangeAggregationResult {
|
|
2201
2242
|
/** Inclusive lower bound of the range */
|
|
2202
2243
|
from?: number | null;
|
|
2203
2244
|
/** Exclusive upper bound of the range */
|
|
@@ -2205,7 +2246,7 @@ interface RangeAggregationResult {
|
|
|
2205
2246
|
/** Count of entities in this range */
|
|
2206
2247
|
count?: number;
|
|
2207
2248
|
}
|
|
2208
|
-
interface NestedAggregationResults extends NestedAggregationResultsResultOneOf {
|
|
2249
|
+
export interface NestedAggregationResults extends NestedAggregationResultsResultOneOf {
|
|
2209
2250
|
/** Value aggregation results */
|
|
2210
2251
|
values?: ValueResults;
|
|
2211
2252
|
/** Range aggregation results */
|
|
@@ -2226,7 +2267,7 @@ interface NestedAggregationResults extends NestedAggregationResultsResultOneOf {
|
|
|
2226
2267
|
fieldPath?: string;
|
|
2227
2268
|
}
|
|
2228
2269
|
/** @oneof */
|
|
2229
|
-
interface NestedAggregationResultsResultOneOf {
|
|
2270
|
+
export interface NestedAggregationResultsResultOneOf {
|
|
2230
2271
|
/** Value aggregation results */
|
|
2231
2272
|
values?: ValueResults;
|
|
2232
2273
|
/** Range aggregation results */
|
|
@@ -2234,27 +2275,27 @@ interface NestedAggregationResultsResultOneOf {
|
|
|
2234
2275
|
/** Scalar aggregation results */
|
|
2235
2276
|
scalar?: AggregationResultsScalarResult;
|
|
2236
2277
|
}
|
|
2237
|
-
interface ValueResults {
|
|
2278
|
+
export interface ValueResults {
|
|
2238
2279
|
/**
|
|
2239
2280
|
* List of value aggregations
|
|
2240
2281
|
* @maxSize 250
|
|
2241
2282
|
*/
|
|
2242
2283
|
results?: ValueAggregationResult[];
|
|
2243
2284
|
}
|
|
2244
|
-
interface RangeResults {
|
|
2285
|
+
export interface RangeResults {
|
|
2245
2286
|
/**
|
|
2246
2287
|
* List of ranges returned in same order as requested
|
|
2247
2288
|
* @maxSize 50
|
|
2248
2289
|
*/
|
|
2249
2290
|
results?: RangeAggregationResult[];
|
|
2250
2291
|
}
|
|
2251
|
-
interface AggregationResultsScalarResult {
|
|
2292
|
+
export interface AggregationResultsScalarResult {
|
|
2252
2293
|
/** Type of scalar aggregation */
|
|
2253
2294
|
type?: ScalarType;
|
|
2254
2295
|
/** Value of the scalar aggregation */
|
|
2255
2296
|
value?: number;
|
|
2256
2297
|
}
|
|
2257
|
-
interface NestedValueAggregationResult {
|
|
2298
|
+
export interface NestedValueAggregationResult {
|
|
2258
2299
|
/**
|
|
2259
2300
|
* Value of the field
|
|
2260
2301
|
* @maxLength 1000
|
|
@@ -2263,7 +2304,7 @@ interface NestedValueAggregationResult {
|
|
|
2263
2304
|
/** Nested aggregations */
|
|
2264
2305
|
nestedResults?: NestedAggregationResults;
|
|
2265
2306
|
}
|
|
2266
|
-
interface ValueResult {
|
|
2307
|
+
export interface ValueResult {
|
|
2267
2308
|
/**
|
|
2268
2309
|
* Value of the field
|
|
2269
2310
|
* @maxLength 1000
|
|
@@ -2272,7 +2313,7 @@ interface ValueResult {
|
|
|
2272
2313
|
/** Count of entities with this value */
|
|
2273
2314
|
count?: number | null;
|
|
2274
2315
|
}
|
|
2275
|
-
interface RangeResult {
|
|
2316
|
+
export interface RangeResult {
|
|
2276
2317
|
/** Inclusive lower bound of the range */
|
|
2277
2318
|
from?: number | null;
|
|
2278
2319
|
/** Exclusive upper bound of the range */
|
|
@@ -2280,11 +2321,11 @@ interface RangeResult {
|
|
|
2280
2321
|
/** Count of entities in this range */
|
|
2281
2322
|
count?: number | null;
|
|
2282
2323
|
}
|
|
2283
|
-
interface ScalarResult {
|
|
2324
|
+
export interface ScalarResult {
|
|
2284
2325
|
/** Value of the scalar aggregation */
|
|
2285
2326
|
value?: number;
|
|
2286
2327
|
}
|
|
2287
|
-
interface NestedResultValue extends NestedResultValueResultOneOf {
|
|
2328
|
+
export interface NestedResultValue extends NestedResultValueResultOneOf {
|
|
2288
2329
|
/** Value aggregation result */
|
|
2289
2330
|
value?: ValueResult;
|
|
2290
2331
|
/** Range aggregation result */
|
|
@@ -2295,7 +2336,7 @@ interface NestedResultValue extends NestedResultValueResultOneOf {
|
|
|
2295
2336
|
dateHistogram?: ValueResult;
|
|
2296
2337
|
}
|
|
2297
2338
|
/** @oneof */
|
|
2298
|
-
interface NestedResultValueResultOneOf {
|
|
2339
|
+
export interface NestedResultValueResultOneOf {
|
|
2299
2340
|
/** Value aggregation result */
|
|
2300
2341
|
value?: ValueResult;
|
|
2301
2342
|
/** Range aggregation result */
|
|
@@ -2305,11 +2346,11 @@ interface NestedResultValueResultOneOf {
|
|
|
2305
2346
|
/** Date histogram aggregation result */
|
|
2306
2347
|
dateHistogram?: ValueResult;
|
|
2307
2348
|
}
|
|
2308
|
-
interface Results {
|
|
2349
|
+
export interface Results {
|
|
2309
2350
|
/** List of nested aggregations */
|
|
2310
2351
|
results?: Record<string, NestedResultValue>;
|
|
2311
2352
|
}
|
|
2312
|
-
interface DateHistogramResult {
|
|
2353
|
+
export interface DateHistogramResult {
|
|
2313
2354
|
/**
|
|
2314
2355
|
* Date in ISO 8601 format
|
|
2315
2356
|
* @maxLength 100
|
|
@@ -2318,14 +2359,14 @@ interface DateHistogramResult {
|
|
|
2318
2359
|
/** Count of documents in the bucket */
|
|
2319
2360
|
count?: number;
|
|
2320
2361
|
}
|
|
2321
|
-
interface GroupByValueResults {
|
|
2362
|
+
export interface GroupByValueResults {
|
|
2322
2363
|
/**
|
|
2323
2364
|
* List of value aggregations
|
|
2324
2365
|
* @maxSize 1000
|
|
2325
2366
|
*/
|
|
2326
2367
|
results?: NestedValueAggregationResult[];
|
|
2327
2368
|
}
|
|
2328
|
-
interface DateHistogramResults {
|
|
2369
|
+
export interface DateHistogramResults {
|
|
2329
2370
|
/**
|
|
2330
2371
|
* List of date histogram aggregations
|
|
2331
2372
|
* @maxSize 200
|
|
@@ -2336,14 +2377,14 @@ interface DateHistogramResults {
|
|
|
2336
2377
|
* results of `NESTED` aggregation type in a flattened form
|
|
2337
2378
|
* aggregations in resulting array are keyed by requested aggregation `name`.
|
|
2338
2379
|
*/
|
|
2339
|
-
interface NestedResults {
|
|
2380
|
+
export interface NestedResults {
|
|
2340
2381
|
/**
|
|
2341
2382
|
* List of nested aggregations
|
|
2342
2383
|
* @maxSize 1000
|
|
2343
2384
|
*/
|
|
2344
2385
|
results?: Results[];
|
|
2345
2386
|
}
|
|
2346
|
-
interface AggregationResults extends AggregationResultsResultOneOf {
|
|
2387
|
+
export interface AggregationResults extends AggregationResultsResultOneOf {
|
|
2347
2388
|
/** Value aggregation results */
|
|
2348
2389
|
values?: ValueResults;
|
|
2349
2390
|
/** Range aggregation results */
|
|
@@ -2370,7 +2411,7 @@ interface AggregationResults extends AggregationResultsResultOneOf {
|
|
|
2370
2411
|
fieldPath?: string;
|
|
2371
2412
|
}
|
|
2372
2413
|
/** @oneof */
|
|
2373
|
-
interface AggregationResultsResultOneOf {
|
|
2414
|
+
export interface AggregationResultsResultOneOf {
|
|
2374
2415
|
/** Value aggregation results */
|
|
2375
2416
|
values?: ValueResults;
|
|
2376
2417
|
/** Range aggregation results */
|
|
@@ -2384,7 +2425,7 @@ interface AggregationResultsResultOneOf {
|
|
|
2384
2425
|
/** Nested aggregation results */
|
|
2385
2426
|
nested?: NestedResults;
|
|
2386
2427
|
}
|
|
2387
|
-
interface QueryPoliciesRequest {
|
|
2428
|
+
export interface QueryPoliciesRequest {
|
|
2388
2429
|
/**
|
|
2389
2430
|
* Information about filters, paging, and sorting. See the article about
|
|
2390
2431
|
* booking policy filters
|
|
@@ -2393,7 +2434,7 @@ interface QueryPoliciesRequest {
|
|
|
2393
2434
|
*/
|
|
2394
2435
|
query: CursorQuery;
|
|
2395
2436
|
}
|
|
2396
|
-
interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
2437
|
+
export interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
2397
2438
|
/** 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
2439
|
cursorPaging?: CursorPaging;
|
|
2399
2440
|
/**
|
|
@@ -2413,17 +2454,17 @@ interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
|
2413
2454
|
sort?: Sorting[];
|
|
2414
2455
|
}
|
|
2415
2456
|
/** @oneof */
|
|
2416
|
-
interface CursorQueryPagingMethodOneOf {
|
|
2457
|
+
export interface CursorQueryPagingMethodOneOf {
|
|
2417
2458
|
/** 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
2459
|
cursorPaging?: CursorPaging;
|
|
2419
2460
|
}
|
|
2420
|
-
interface QueryPoliciesResponse {
|
|
2461
|
+
export interface QueryPoliciesResponse {
|
|
2421
2462
|
/** Retrieved booking policies and information about the services using them. */
|
|
2422
2463
|
bookingPolicies?: BookingPolicyWithServices[];
|
|
2423
2464
|
/** Paging metadata. */
|
|
2424
2465
|
pagingMetadata?: CursorPagingMetadata;
|
|
2425
2466
|
}
|
|
2426
|
-
interface BookingPolicyWithServices {
|
|
2467
|
+
export interface BookingPolicyWithServices {
|
|
2427
2468
|
/** Retrieved booking policy. */
|
|
2428
2469
|
bookingPolicy?: BookingPolicy;
|
|
2429
2470
|
/**
|
|
@@ -2439,7 +2480,7 @@ interface BookingPolicyWithServices {
|
|
|
2439
2480
|
/** Total number of services connected to the booking policy. */
|
|
2440
2481
|
totalServiceCount?: number;
|
|
2441
2482
|
}
|
|
2442
|
-
interface QueryBookingFormsRequest {
|
|
2483
|
+
export interface QueryBookingFormsRequest {
|
|
2443
2484
|
/**
|
|
2444
2485
|
* Information about filters, paging, and sorting. See the article about
|
|
2445
2486
|
* form filters ([REST](https://dev.wix.com/docs/rest/crm/forms/forms/introduction/supported-filters))
|
|
@@ -2452,13 +2493,13 @@ interface QueryBookingFormsRequest {
|
|
|
2452
2493
|
*/
|
|
2453
2494
|
conditionalFields?: RequestedFields[];
|
|
2454
2495
|
}
|
|
2455
|
-
declare enum RequestedFields {
|
|
2496
|
+
export declare enum RequestedFields {
|
|
2456
2497
|
/** Unknown requested conditional field. */
|
|
2457
2498
|
UNKNOWN_REQUESTED_FIELD = "UNKNOWN_REQUESTED_FIELD",
|
|
2458
2499
|
/** Whether to return the site's default booking form. */
|
|
2459
2500
|
DEFAULT_BOOKING_FORM = "DEFAULT_BOOKING_FORM"
|
|
2460
2501
|
}
|
|
2461
|
-
interface QueryBookingFormsResponse {
|
|
2502
|
+
export interface QueryBookingFormsResponse {
|
|
2462
2503
|
/** Retrieved booking forms and information about connected services. */
|
|
2463
2504
|
bookingForms?: BookingForm[];
|
|
2464
2505
|
/** Paging metadata. */
|
|
@@ -2466,7 +2507,7 @@ interface QueryBookingFormsResponse {
|
|
|
2466
2507
|
/** The site's default booking form and information about connected services. */
|
|
2467
2508
|
defaultBookingForm?: BookingForm;
|
|
2468
2509
|
}
|
|
2469
|
-
interface BookingForm {
|
|
2510
|
+
export interface BookingForm {
|
|
2470
2511
|
/** Information about the retrieved booking form. */
|
|
2471
2512
|
formDetails?: FormDetails;
|
|
2472
2513
|
/**
|
|
@@ -2482,7 +2523,7 @@ interface BookingForm {
|
|
|
2482
2523
|
/** Total number of services connected to the booking form. */
|
|
2483
2524
|
totalServiceCount?: number;
|
|
2484
2525
|
}
|
|
2485
|
-
interface FormDetails {
|
|
2526
|
+
export interface FormDetails {
|
|
2486
2527
|
/**
|
|
2487
2528
|
* Form ID.
|
|
2488
2529
|
* @format GUID
|
|
@@ -2501,12 +2542,12 @@ interface FormDetails {
|
|
|
2501
2542
|
*/
|
|
2502
2543
|
revision?: string | null;
|
|
2503
2544
|
}
|
|
2504
|
-
interface ConnectedService {
|
|
2545
|
+
export interface ConnectedService {
|
|
2505
2546
|
/**
|
|
2506
2547
|
* ID of the service connected to the booking form.
|
|
2507
2548
|
* @format GUID
|
|
2508
2549
|
*/
|
|
2509
|
-
|
|
2550
|
+
id?: string | null;
|
|
2510
2551
|
/**
|
|
2511
2552
|
* Name of the service connected to the booking form.
|
|
2512
2553
|
* @maxLength 400
|
|
@@ -2514,7 +2555,7 @@ interface ConnectedService {
|
|
|
2514
2555
|
*/
|
|
2515
2556
|
name?: string | null;
|
|
2516
2557
|
}
|
|
2517
|
-
interface CountServicesRequest {
|
|
2558
|
+
export interface CountServicesRequest {
|
|
2518
2559
|
/**
|
|
2519
2560
|
* Query filter to base the count on. See supported filters
|
|
2520
2561
|
* ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/filtering-and-sorting#filtering))
|
|
@@ -2522,15 +2563,15 @@ interface CountServicesRequest {
|
|
|
2522
2563
|
*/
|
|
2523
2564
|
filter?: Record<string, any> | null;
|
|
2524
2565
|
}
|
|
2525
|
-
interface CountServicesResponse {
|
|
2566
|
+
export interface CountServicesResponse {
|
|
2526
2567
|
/** Number of services matching the specified filter. */
|
|
2527
2568
|
count?: number;
|
|
2528
2569
|
}
|
|
2529
|
-
interface QueryLocationsRequest {
|
|
2570
|
+
export interface QueryLocationsRequest {
|
|
2530
2571
|
/** Filter. */
|
|
2531
2572
|
filter?: QueryLocationsFilter;
|
|
2532
2573
|
}
|
|
2533
|
-
interface QueryLocationsFilter {
|
|
2574
|
+
export interface QueryLocationsFilter {
|
|
2534
2575
|
/**
|
|
2535
2576
|
* Service filter. See supported filters
|
|
2536
2577
|
* ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/filtering-and-sorting#filtering))
|
|
@@ -2544,7 +2585,7 @@ interface QueryLocationsFilter {
|
|
|
2544
2585
|
*/
|
|
2545
2586
|
businessLocationIds?: string[];
|
|
2546
2587
|
}
|
|
2547
|
-
interface QueryLocationsResponse {
|
|
2588
|
+
export interface QueryLocationsResponse {
|
|
2548
2589
|
/**
|
|
2549
2590
|
* Retrieved business locations and whether each location is connected to at
|
|
2550
2591
|
* least one service.
|
|
@@ -2561,7 +2602,7 @@ interface QueryLocationsResponse {
|
|
|
2561
2602
|
*/
|
|
2562
2603
|
customerLocations?: CustomerLocations;
|
|
2563
2604
|
}
|
|
2564
|
-
interface BusinessLocations {
|
|
2605
|
+
export interface BusinessLocations {
|
|
2565
2606
|
/**
|
|
2566
2607
|
* Whether at least one service matching the filter is connected to any of the
|
|
2567
2608
|
* retrieved business locations.
|
|
@@ -2573,25 +2614,25 @@ interface BusinessLocations {
|
|
|
2573
2614
|
*/
|
|
2574
2615
|
locations?: V2Location[];
|
|
2575
2616
|
}
|
|
2576
|
-
interface CustomLocations {
|
|
2617
|
+
export interface CustomLocations {
|
|
2577
2618
|
/**
|
|
2578
2619
|
* Whether at least one service matching the filter is connected to any of the
|
|
2579
2620
|
* retrieved custom locations.
|
|
2580
2621
|
*/
|
|
2581
2622
|
exists?: boolean;
|
|
2582
2623
|
}
|
|
2583
|
-
interface CustomerLocations {
|
|
2624
|
+
export interface CustomerLocations {
|
|
2584
2625
|
/**
|
|
2585
2626
|
* Whether at least one service matching the filter is connected to any of the
|
|
2586
2627
|
* retrieved customer locations.
|
|
2587
2628
|
*/
|
|
2588
2629
|
exists?: boolean;
|
|
2589
2630
|
}
|
|
2590
|
-
interface QueryCategoriesRequest {
|
|
2631
|
+
export interface QueryCategoriesRequest {
|
|
2591
2632
|
/** Filter. */
|
|
2592
2633
|
filter?: QueryCategoriesFilter;
|
|
2593
2634
|
}
|
|
2594
|
-
interface QueryCategoriesFilter {
|
|
2635
|
+
export interface QueryCategoriesFilter {
|
|
2595
2636
|
/**
|
|
2596
2637
|
* Service filter. See supported filters
|
|
2597
2638
|
* ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/filtering-and-sorting#filtering))
|
|
@@ -2605,15 +2646,15 @@ interface QueryCategoriesFilter {
|
|
|
2605
2646
|
*/
|
|
2606
2647
|
categoryIds?: string[];
|
|
2607
2648
|
}
|
|
2608
|
-
interface QueryCategoriesResponse {
|
|
2649
|
+
export interface QueryCategoriesResponse {
|
|
2609
2650
|
/** Retrieved categories. */
|
|
2610
2651
|
categories?: V2Category[];
|
|
2611
2652
|
}
|
|
2612
|
-
interface QueryServicesMultiLanguageRequest {
|
|
2653
|
+
export interface QueryServicesMultiLanguageRequest {
|
|
2613
2654
|
/** WQL expression. */
|
|
2614
2655
|
query?: QueryV2;
|
|
2615
2656
|
}
|
|
2616
|
-
interface QueryServicesMultiLanguageResponse {
|
|
2657
|
+
export interface QueryServicesMultiLanguageResponse {
|
|
2617
2658
|
/** The retrieved services in the main language */
|
|
2618
2659
|
services?: Service[];
|
|
2619
2660
|
/**
|
|
@@ -2624,7 +2665,7 @@ interface QueryServicesMultiLanguageResponse {
|
|
|
2624
2665
|
/** Paging metadata, including offset and count. */
|
|
2625
2666
|
pagingMetadata?: PagingMetadataV2;
|
|
2626
2667
|
}
|
|
2627
|
-
interface SetServiceLocationsRequest {
|
|
2668
|
+
export interface SetServiceLocationsRequest {
|
|
2628
2669
|
/**
|
|
2629
2670
|
* ID of the service.
|
|
2630
2671
|
* @format GUID
|
|
@@ -2647,7 +2688,7 @@ interface SetServiceLocationsRequest {
|
|
|
2647
2688
|
*/
|
|
2648
2689
|
participantNotification?: ParticipantNotification;
|
|
2649
2690
|
}
|
|
2650
|
-
interface RemovedLocationSessionsAction extends RemovedLocationSessionsActionActionOptionsOneOf {
|
|
2691
|
+
export interface RemovedLocationSessionsAction extends RemovedLocationSessionsActionActionOptionsOneOf {
|
|
2651
2692
|
/**
|
|
2652
2693
|
* Details about the new location of future events that were scheduled to take
|
|
2653
2694
|
* place at a removed location.
|
|
@@ -2657,14 +2698,14 @@ interface RemovedLocationSessionsAction extends RemovedLocationSessionsActionAct
|
|
|
2657
2698
|
action?: Action;
|
|
2658
2699
|
}
|
|
2659
2700
|
/** @oneof */
|
|
2660
|
-
interface RemovedLocationSessionsActionActionOptionsOneOf {
|
|
2701
|
+
export interface RemovedLocationSessionsActionActionOptionsOneOf {
|
|
2661
2702
|
/**
|
|
2662
2703
|
* Details about the new location of future events that were scheduled to take
|
|
2663
2704
|
* place at a removed location.
|
|
2664
2705
|
*/
|
|
2665
2706
|
moveToLocationOptions?: MoveToNewLocationsOptions;
|
|
2666
2707
|
}
|
|
2667
|
-
declare enum Action {
|
|
2708
|
+
export declare enum Action {
|
|
2668
2709
|
UNKNOWN_ACTION_TYPE = "UNKNOWN_ACTION_TYPE",
|
|
2669
2710
|
/** Retain all future sessions at their current location. This is the default. */
|
|
2670
2711
|
KEEP_AT_CURRENT_LOCATION = "KEEP_AT_CURRENT_LOCATION",
|
|
@@ -2676,15 +2717,15 @@ declare enum Action {
|
|
|
2676
2717
|
*/
|
|
2677
2718
|
DELETE = "DELETE"
|
|
2678
2719
|
}
|
|
2679
|
-
interface MoveToNewLocationsOptions {
|
|
2720
|
+
export interface MoveToNewLocationsOptions {
|
|
2680
2721
|
/** The new location to move existing sessions currently set to a removed location, used when `action` is `MOVE_TO_LOCATION`. */
|
|
2681
2722
|
newLocation?: V2Location;
|
|
2682
2723
|
}
|
|
2683
|
-
interface SetServiceLocationsResponse {
|
|
2724
|
+
export interface SetServiceLocationsResponse {
|
|
2684
2725
|
/** The updated service with the newly set locations. */
|
|
2685
2726
|
service?: Service;
|
|
2686
2727
|
}
|
|
2687
|
-
interface EnablePricingPlansForServiceRequest {
|
|
2728
|
+
export interface EnablePricingPlansForServiceRequest {
|
|
2688
2729
|
/**
|
|
2689
2730
|
* ID of the service to update.
|
|
2690
2731
|
* @format GUID
|
|
@@ -2699,23 +2740,23 @@ interface EnablePricingPlansForServiceRequest {
|
|
|
2699
2740
|
*/
|
|
2700
2741
|
pricingPlanIds: string[];
|
|
2701
2742
|
}
|
|
2702
|
-
interface EnablePricingPlansForServiceResponse {
|
|
2743
|
+
export interface EnablePricingPlansForServiceResponse {
|
|
2703
2744
|
/** Updated service. */
|
|
2704
2745
|
service?: Service;
|
|
2705
2746
|
}
|
|
2706
|
-
interface InvalidPricingPlan {
|
|
2747
|
+
export interface InvalidPricingPlan {
|
|
2707
2748
|
/**
|
|
2708
2749
|
* ID of the invalid pricing plan.
|
|
2709
2750
|
* @format GUID
|
|
2710
2751
|
*/
|
|
2711
|
-
|
|
2752
|
+
id?: string;
|
|
2712
2753
|
/**
|
|
2713
2754
|
* Explanation why the pricing plan is considered invalid.
|
|
2714
2755
|
* @maxLength 2000
|
|
2715
2756
|
*/
|
|
2716
2757
|
message?: string;
|
|
2717
2758
|
}
|
|
2718
|
-
interface DisablePricingPlansForServiceRequest {
|
|
2759
|
+
export interface DisablePricingPlansForServiceRequest {
|
|
2719
2760
|
/**
|
|
2720
2761
|
* ID of the service to update.
|
|
2721
2762
|
* @format GUID
|
|
@@ -2730,11 +2771,11 @@ interface DisablePricingPlansForServiceRequest {
|
|
|
2730
2771
|
*/
|
|
2731
2772
|
pricingPlanIds?: string[];
|
|
2732
2773
|
}
|
|
2733
|
-
interface DisablePricingPlansForServiceResponse {
|
|
2774
|
+
export interface DisablePricingPlansForServiceResponse {
|
|
2734
2775
|
/** Updated service. */
|
|
2735
2776
|
service?: Service;
|
|
2736
2777
|
}
|
|
2737
|
-
interface SetCustomSlugRequest {
|
|
2778
|
+
export interface SetCustomSlugRequest {
|
|
2738
2779
|
/**
|
|
2739
2780
|
* ID of the service for which to update the active slug.
|
|
2740
2781
|
* @format GUID
|
|
@@ -2746,13 +2787,13 @@ interface SetCustomSlugRequest {
|
|
|
2746
2787
|
*/
|
|
2747
2788
|
slug?: string;
|
|
2748
2789
|
}
|
|
2749
|
-
interface SetCustomSlugResponse {
|
|
2790
|
+
export interface SetCustomSlugResponse {
|
|
2750
2791
|
/** Updated active service slug. */
|
|
2751
2792
|
slug?: Slug;
|
|
2752
2793
|
/** Updated service. */
|
|
2753
2794
|
service?: Service;
|
|
2754
2795
|
}
|
|
2755
|
-
interface ValidateSlugRequest {
|
|
2796
|
+
export interface ValidateSlugRequest {
|
|
2756
2797
|
/**
|
|
2757
2798
|
* IO of the service to check custom slug validity for.
|
|
2758
2799
|
* @format GUID
|
|
@@ -2764,7 +2805,7 @@ interface ValidateSlugRequest {
|
|
|
2764
2805
|
*/
|
|
2765
2806
|
slug?: string;
|
|
2766
2807
|
}
|
|
2767
|
-
interface ValidateSlugResponse {
|
|
2808
|
+
export interface ValidateSlugResponse {
|
|
2768
2809
|
/** Whether the slug is valid. */
|
|
2769
2810
|
valid?: boolean;
|
|
2770
2811
|
/**
|
|
@@ -2778,7 +2819,7 @@ interface ValidateSlugResponse {
|
|
|
2778
2819
|
*/
|
|
2779
2820
|
errors?: InvalidSlugError[];
|
|
2780
2821
|
}
|
|
2781
|
-
declare enum InvalidSlugError {
|
|
2822
|
+
export declare enum InvalidSlugError {
|
|
2782
2823
|
/** Unknown slug error. */
|
|
2783
2824
|
UNKNOWN_SLUG_ERROR = "UNKNOWN_SLUG_ERROR",
|
|
2784
2825
|
/** Slug contains illegal characters. */
|
|
@@ -2786,14 +2827,14 @@ declare enum InvalidSlugError {
|
|
|
2786
2827
|
/** Slug is already associated with another service. */
|
|
2787
2828
|
SLUG_ALREADY_EXISTS = "SLUG_ALREADY_EXISTS"
|
|
2788
2829
|
}
|
|
2789
|
-
interface CloneServiceRequest {
|
|
2830
|
+
export interface CloneServiceRequest {
|
|
2790
2831
|
/**
|
|
2791
2832
|
* ID of the service to clone.
|
|
2792
2833
|
* @format GUID
|
|
2793
2834
|
*/
|
|
2794
2835
|
sourceServiceId: string;
|
|
2795
2836
|
}
|
|
2796
|
-
interface CloneServiceResponse {
|
|
2837
|
+
export interface CloneServiceResponse {
|
|
2797
2838
|
/** Cloned service. */
|
|
2798
2839
|
service?: Service;
|
|
2799
2840
|
/**
|
|
@@ -2803,7 +2844,7 @@ interface CloneServiceResponse {
|
|
|
2803
2844
|
*/
|
|
2804
2845
|
errors?: CloneErrors[];
|
|
2805
2846
|
}
|
|
2806
|
-
declare enum CloneErrors {
|
|
2847
|
+
export declare enum CloneErrors {
|
|
2807
2848
|
/**
|
|
2808
2849
|
* Failed to clone the original service's *options and variants*
|
|
2809
2850
|
* ([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 +2854,18 @@ declare enum CloneErrors {
|
|
|
2813
2854
|
FORM = "FORM"
|
|
2814
2855
|
}
|
|
2815
2856
|
/** An event sent every time a category entity is changed. */
|
|
2816
|
-
interface CategoryNotification {
|
|
2857
|
+
export interface CategoryNotification {
|
|
2817
2858
|
category?: Category;
|
|
2818
2859
|
event?: CategoryNotificationEvent;
|
|
2819
2860
|
}
|
|
2820
2861
|
/** 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 {
|
|
2862
|
+
export interface Category {
|
|
2822
2863
|
/**
|
|
2823
2864
|
* Category ID.
|
|
2824
2865
|
* @format GUID
|
|
2825
2866
|
* @readonly
|
|
2826
2867
|
*/
|
|
2827
|
-
|
|
2868
|
+
id?: string | null;
|
|
2828
2869
|
/**
|
|
2829
2870
|
* Category name.
|
|
2830
2871
|
* @maxLength 500
|
|
@@ -2840,13 +2881,13 @@ interface Category {
|
|
|
2840
2881
|
/** Sort order of the category in the live site and dashboard. */
|
|
2841
2882
|
sortOrder?: number | null;
|
|
2842
2883
|
}
|
|
2843
|
-
declare enum Status {
|
|
2884
|
+
export declare enum Status {
|
|
2844
2885
|
/** The category was created. */
|
|
2845
2886
|
CREATED = "CREATED",
|
|
2846
2887
|
/** The category was deleted. */
|
|
2847
2888
|
DELETED = "DELETED"
|
|
2848
2889
|
}
|
|
2849
|
-
declare enum CategoryNotificationEvent {
|
|
2890
|
+
export declare enum CategoryNotificationEvent {
|
|
2850
2891
|
/** Category was updated. */
|
|
2851
2892
|
Updated = "Updated",
|
|
2852
2893
|
/** Category was deleted. */
|
|
@@ -2854,9 +2895,9 @@ declare enum CategoryNotificationEvent {
|
|
|
2854
2895
|
/** Category was created. */
|
|
2855
2896
|
Created = "Created"
|
|
2856
2897
|
}
|
|
2857
|
-
interface Empty {
|
|
2898
|
+
export interface Empty {
|
|
2858
2899
|
}
|
|
2859
|
-
interface ResourceNotification {
|
|
2900
|
+
export interface ResourceNotification {
|
|
2860
2901
|
/**
|
|
2861
2902
|
* Updated resource entity.
|
|
2862
2903
|
* 'resource.schedules' is deprecated and will not be returned. Please use 'resource.scheduleIds' instead.
|
|
@@ -2865,13 +2906,13 @@ interface ResourceNotification {
|
|
|
2865
2906
|
/** Event type. */
|
|
2866
2907
|
event?: ResourceNotificationEvent;
|
|
2867
2908
|
}
|
|
2868
|
-
interface Resource {
|
|
2909
|
+
export interface Resource {
|
|
2869
2910
|
/**
|
|
2870
2911
|
* Resource ID.
|
|
2871
2912
|
* @format GUID
|
|
2872
2913
|
* @readonly
|
|
2873
2914
|
*/
|
|
2874
|
-
|
|
2915
|
+
id?: string | null;
|
|
2875
2916
|
/**
|
|
2876
2917
|
* Resource name.
|
|
2877
2918
|
* @maxLength 1200
|
|
@@ -2904,7 +2945,7 @@ interface Resource {
|
|
|
2904
2945
|
*/
|
|
2905
2946
|
tags?: string[] | null;
|
|
2906
2947
|
/** Resource images. */
|
|
2907
|
-
images?:
|
|
2948
|
+
images?: CommonImage[];
|
|
2908
2949
|
/**
|
|
2909
2950
|
* Deprecated. Please use scheduleIds. List of the schedules owned by this resource. Min size 1.
|
|
2910
2951
|
* @deprecated
|
|
@@ -2929,7 +2970,30 @@ interface Resource {
|
|
|
2929
2970
|
*/
|
|
2930
2971
|
wixUserId?: string | null;
|
|
2931
2972
|
}
|
|
2932
|
-
interface
|
|
2973
|
+
export interface CommonImage {
|
|
2974
|
+
/** WixMedia image ID. */
|
|
2975
|
+
id?: string;
|
|
2976
|
+
/** Image URL. */
|
|
2977
|
+
url?: string;
|
|
2978
|
+
/**
|
|
2979
|
+
* Original image height.
|
|
2980
|
+
* @readonly
|
|
2981
|
+
*/
|
|
2982
|
+
height?: number;
|
|
2983
|
+
/**
|
|
2984
|
+
* Original image width.
|
|
2985
|
+
* @readonly
|
|
2986
|
+
*/
|
|
2987
|
+
width?: number;
|
|
2988
|
+
/** Image alt text. */
|
|
2989
|
+
altText?: string | null;
|
|
2990
|
+
/**
|
|
2991
|
+
* Image filename.
|
|
2992
|
+
* @readonly
|
|
2993
|
+
*/
|
|
2994
|
+
filename?: string | null;
|
|
2995
|
+
}
|
|
2996
|
+
export interface FocalPoint {
|
|
2933
2997
|
/** X-coordinate of the focal point. */
|
|
2934
2998
|
x?: number;
|
|
2935
2999
|
/** Y-coordinate of the focal point. */
|
|
@@ -2939,9 +3003,9 @@ interface FocalPoint {
|
|
|
2939
3003
|
/** crop by width */
|
|
2940
3004
|
width?: number | null;
|
|
2941
3005
|
}
|
|
2942
|
-
interface Schedule {
|
|
3006
|
+
export interface Schedule {
|
|
2943
3007
|
/** Schedule ID. */
|
|
2944
|
-
|
|
3008
|
+
id?: string;
|
|
2945
3009
|
/** ID of the schedule's owner entity. This may be a resource ID or a service ID. */
|
|
2946
3010
|
scheduleOwnerId?: string | null;
|
|
2947
3011
|
/**
|
|
@@ -3040,12 +3104,12 @@ interface Schedule {
|
|
|
3040
3104
|
*/
|
|
3041
3105
|
calendarConference?: CalendarConference;
|
|
3042
3106
|
}
|
|
3043
|
-
interface RecurringInterval {
|
|
3107
|
+
export interface RecurringInterval {
|
|
3044
3108
|
/**
|
|
3045
3109
|
* The recurring interval identifier.
|
|
3046
3110
|
* @readonly
|
|
3047
3111
|
*/
|
|
3048
|
-
|
|
3112
|
+
id?: string;
|
|
3049
3113
|
/** The start time of the recurring interval. Required. */
|
|
3050
3114
|
start?: Date | null;
|
|
3051
3115
|
/** The end time of the recurring interval. Optional. Empty value indicates that there is no end time. */
|
|
@@ -3059,7 +3123,7 @@ interface RecurringInterval {
|
|
|
3059
3123
|
/** The type of recurring interval. */
|
|
3060
3124
|
intervalType?: RecurringIntervalType;
|
|
3061
3125
|
}
|
|
3062
|
-
interface Interval {
|
|
3126
|
+
export interface Interval {
|
|
3063
3127
|
/** The day the interval occurs. Optional. The default is the day of the recurring interval's start time. */
|
|
3064
3128
|
daysOfWeek?: Day;
|
|
3065
3129
|
/**
|
|
@@ -3075,7 +3139,7 @@ interface Interval {
|
|
|
3075
3139
|
/** The duration of the interval in minutes. Required. Part of the session end time calculation. */
|
|
3076
3140
|
duration?: number;
|
|
3077
3141
|
}
|
|
3078
|
-
declare enum Day {
|
|
3142
|
+
export declare enum Day {
|
|
3079
3143
|
/** Undefined. */
|
|
3080
3144
|
UNDEFINED = "UNDEFINED",
|
|
3081
3145
|
/** Monday. */
|
|
@@ -3093,7 +3157,7 @@ declare enum Day {
|
|
|
3093
3157
|
/** Sunday. */
|
|
3094
3158
|
SUN = "SUN"
|
|
3095
3159
|
}
|
|
3096
|
-
interface Frequency {
|
|
3160
|
+
export interface Frequency {
|
|
3097
3161
|
/**
|
|
3098
3162
|
* 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
3163
|
* @min 1
|
|
@@ -3101,7 +3165,7 @@ interface Frequency {
|
|
|
3101
3165
|
*/
|
|
3102
3166
|
repetition?: number | null;
|
|
3103
3167
|
}
|
|
3104
|
-
interface LinkedSchedule {
|
|
3168
|
+
export interface LinkedSchedule {
|
|
3105
3169
|
/**
|
|
3106
3170
|
* Schedule ID.
|
|
3107
3171
|
* @format GUID
|
|
@@ -3115,14 +3179,14 @@ interface LinkedSchedule {
|
|
|
3115
3179
|
*/
|
|
3116
3180
|
scheduleOwnerId?: string;
|
|
3117
3181
|
}
|
|
3118
|
-
declare enum Transparency {
|
|
3182
|
+
export declare enum Transparency {
|
|
3119
3183
|
UNDEFINED = "UNDEFINED",
|
|
3120
3184
|
/** The schedule can have available slots during the linked schedule's sessions. */
|
|
3121
3185
|
FREE = "FREE",
|
|
3122
3186
|
/** The schedule can't have available slots during the linked schedule's sessions. */
|
|
3123
3187
|
BUSY = "BUSY"
|
|
3124
3188
|
}
|
|
3125
|
-
declare enum RecurringIntervalType {
|
|
3189
|
+
export declare enum RecurringIntervalType {
|
|
3126
3190
|
/** The default value. Sessions for this interval will be of type EVENT. */
|
|
3127
3191
|
UNDEFINED = "UNDEFINED",
|
|
3128
3192
|
/** A recurring interval of events. */
|
|
@@ -3132,7 +3196,7 @@ declare enum RecurringIntervalType {
|
|
|
3132
3196
|
/** A recurring interval for availability. */
|
|
3133
3197
|
AVAILABILITY = "AVAILABILITY"
|
|
3134
3198
|
}
|
|
3135
|
-
interface Location {
|
|
3199
|
+
export interface Location {
|
|
3136
3200
|
/**
|
|
3137
3201
|
* Location type.
|
|
3138
3202
|
* One of:
|
|
@@ -3149,14 +3213,14 @@ interface Location {
|
|
|
3149
3213
|
/** 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
3214
|
customAddress?: Address;
|
|
3151
3215
|
}
|
|
3152
|
-
declare enum LocationType {
|
|
3216
|
+
export declare enum LocationType {
|
|
3153
3217
|
UNDEFINED = "UNDEFINED",
|
|
3154
3218
|
OWNER_BUSINESS = "OWNER_BUSINESS",
|
|
3155
3219
|
OWNER_CUSTOM = "OWNER_CUSTOM",
|
|
3156
3220
|
CUSTOM = "CUSTOM"
|
|
3157
3221
|
}
|
|
3158
3222
|
/** Physical address */
|
|
3159
|
-
interface Address extends AddressStreetOneOf {
|
|
3223
|
+
export interface Address extends AddressStreetOneOf {
|
|
3160
3224
|
/** Street name, number and apartment number. */
|
|
3161
3225
|
streetAddress?: StreetAddress;
|
|
3162
3226
|
/** Main address line, usually street and number, as free text. */
|
|
@@ -3186,13 +3250,13 @@ interface Address extends AddressStreetOneOf {
|
|
|
3186
3250
|
subdivisions?: Subdivision[];
|
|
3187
3251
|
}
|
|
3188
3252
|
/** @oneof */
|
|
3189
|
-
interface AddressStreetOneOf {
|
|
3253
|
+
export interface AddressStreetOneOf {
|
|
3190
3254
|
/** Street name, number and apartment number. */
|
|
3191
3255
|
streetAddress?: StreetAddress;
|
|
3192
3256
|
/** Main address line, usually street and number, as free text. */
|
|
3193
3257
|
addressLine?: string | null;
|
|
3194
3258
|
}
|
|
3195
|
-
interface StreetAddress {
|
|
3259
|
+
export interface StreetAddress {
|
|
3196
3260
|
/** Street number. */
|
|
3197
3261
|
number?: string;
|
|
3198
3262
|
/** Street name. */
|
|
@@ -3200,25 +3264,25 @@ interface StreetAddress {
|
|
|
3200
3264
|
/** Apartment number. */
|
|
3201
3265
|
apt?: string;
|
|
3202
3266
|
}
|
|
3203
|
-
interface AddressLocation {
|
|
3267
|
+
export interface AddressLocation {
|
|
3204
3268
|
/** Address latitude. */
|
|
3205
3269
|
latitude?: number | null;
|
|
3206
3270
|
/** Address longitude. */
|
|
3207
3271
|
longitude?: number | null;
|
|
3208
3272
|
}
|
|
3209
|
-
interface Subdivision {
|
|
3273
|
+
export interface Subdivision {
|
|
3210
3274
|
/** Subdivision code. Usually state, region, prefecture or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). */
|
|
3211
3275
|
code?: string;
|
|
3212
3276
|
/** Subdivision full name. */
|
|
3213
3277
|
name?: string;
|
|
3214
3278
|
}
|
|
3215
|
-
interface LocationsLocation {
|
|
3279
|
+
export interface LocationsLocation {
|
|
3216
3280
|
/**
|
|
3217
3281
|
* Location ID.
|
|
3218
3282
|
* @format GUID
|
|
3219
3283
|
* @readonly
|
|
3220
3284
|
*/
|
|
3221
|
-
|
|
3285
|
+
id?: string | null;
|
|
3222
3286
|
/**
|
|
3223
3287
|
* Location name.
|
|
3224
3288
|
* @maxLength 150
|
|
@@ -3284,12 +3348,12 @@ interface LocationsLocation {
|
|
|
3284
3348
|
locationTypes?: LocationsLocationType[];
|
|
3285
3349
|
}
|
|
3286
3350
|
/** For future use */
|
|
3287
|
-
declare enum LocationStatus {
|
|
3351
|
+
export declare enum LocationStatus {
|
|
3288
3352
|
ACTIVE = "ACTIVE",
|
|
3289
3353
|
INACTIVE = "INACTIVE"
|
|
3290
3354
|
}
|
|
3291
3355
|
/** For future use */
|
|
3292
|
-
declare enum LocationsLocationType {
|
|
3356
|
+
export declare enum LocationsLocationType {
|
|
3293
3357
|
UNKNOWN = "UNKNOWN",
|
|
3294
3358
|
BRANCH = "BRANCH",
|
|
3295
3359
|
OFFICES = "OFFICES",
|
|
@@ -3297,7 +3361,7 @@ declare enum LocationsLocationType {
|
|
|
3297
3361
|
HEADQUARTERS = "HEADQUARTERS",
|
|
3298
3362
|
INVENTORY = "INVENTORY"
|
|
3299
3363
|
}
|
|
3300
|
-
interface LocationsAddress {
|
|
3364
|
+
export interface LocationsAddress {
|
|
3301
3365
|
/**
|
|
3302
3366
|
* 2-letter country code in an [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.
|
|
3303
3367
|
* @format COUNTRY
|
|
@@ -3315,12 +3379,17 @@ interface LocationsAddress {
|
|
|
3315
3379
|
/** Street address. Includes street name, number, and apartment number in separate fields. */
|
|
3316
3380
|
streetAddress?: LocationsStreetAddress;
|
|
3317
3381
|
/** Full address of the location. */
|
|
3318
|
-
|
|
3382
|
+
formattedAddress?: string | null;
|
|
3383
|
+
/**
|
|
3384
|
+
* Extra information that helps finding the location.
|
|
3385
|
+
* @maxLength 500
|
|
3386
|
+
*/
|
|
3387
|
+
hint?: string | null;
|
|
3319
3388
|
/** Geographic coordinates of location. */
|
|
3320
|
-
|
|
3389
|
+
geocode?: LocationsAddressLocation;
|
|
3321
3390
|
}
|
|
3322
3391
|
/** Street address. Includes street name, number, and apartment number in separate fields. */
|
|
3323
|
-
interface LocationsStreetAddress {
|
|
3392
|
+
export interface LocationsStreetAddress {
|
|
3324
3393
|
/** Street number. */
|
|
3325
3394
|
number?: string;
|
|
3326
3395
|
/** Street name. */
|
|
@@ -3329,14 +3398,14 @@ interface LocationsStreetAddress {
|
|
|
3329
3398
|
apt?: string;
|
|
3330
3399
|
}
|
|
3331
3400
|
/** Address Geolocation */
|
|
3332
|
-
interface LocationsAddressLocation {
|
|
3401
|
+
export interface LocationsAddressLocation {
|
|
3333
3402
|
/** Latitude of the location. Must be between -90 and 90. */
|
|
3334
3403
|
latitude?: number | null;
|
|
3335
3404
|
/** Longitude of the location. Must be between -180 and 180. */
|
|
3336
3405
|
longitude?: number | null;
|
|
3337
3406
|
}
|
|
3338
3407
|
/** Business schedule. Regular and exceptional time periods when the business is open or the service is available. */
|
|
3339
|
-
interface BusinessSchedule {
|
|
3408
|
+
export interface BusinessSchedule {
|
|
3340
3409
|
/**
|
|
3341
3410
|
* Weekly recurring time periods when the business is regularly open or the service is available. Limited to 100 time periods.
|
|
3342
3411
|
* @maxSize 100
|
|
@@ -3349,7 +3418,7 @@ interface BusinessSchedule {
|
|
|
3349
3418
|
specialHourPeriod?: SpecialHourPeriod[];
|
|
3350
3419
|
}
|
|
3351
3420
|
/** Weekly recurring time periods when the business is regularly open or the service is available. */
|
|
3352
|
-
interface TimePeriod {
|
|
3421
|
+
export interface TimePeriod {
|
|
3353
3422
|
/** Day of the week the period starts on. */
|
|
3354
3423
|
openDay?: DayOfWeek;
|
|
3355
3424
|
/**
|
|
@@ -3368,7 +3437,7 @@ interface TimePeriod {
|
|
|
3368
3437
|
closeTime?: string;
|
|
3369
3438
|
}
|
|
3370
3439
|
/** Enumerates the days of the week. */
|
|
3371
|
-
declare enum DayOfWeek {
|
|
3440
|
+
export declare enum DayOfWeek {
|
|
3372
3441
|
MONDAY = "MONDAY",
|
|
3373
3442
|
TUESDAY = "TUESDAY",
|
|
3374
3443
|
WEDNESDAY = "WEDNESDAY",
|
|
@@ -3378,7 +3447,7 @@ declare enum DayOfWeek {
|
|
|
3378
3447
|
SUNDAY = "SUNDAY"
|
|
3379
3448
|
}
|
|
3380
3449
|
/** Exception to the business's regular hours. The business can be open or closed during the exception. */
|
|
3381
|
-
interface SpecialHourPeriod {
|
|
3450
|
+
export interface SpecialHourPeriod {
|
|
3382
3451
|
/** 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
3452
|
startDate?: string;
|
|
3384
3453
|
/** 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 +3461,7 @@ interface SpecialHourPeriod {
|
|
|
3392
3461
|
/** Additional info about the exception. For example, "We close earlier on New Year's Eve." */
|
|
3393
3462
|
comment?: string;
|
|
3394
3463
|
}
|
|
3395
|
-
interface Rate {
|
|
3464
|
+
export interface Rate {
|
|
3396
3465
|
/**
|
|
3397
3466
|
* Mapping between a named price option, for example, adult or child prices, and the price, currency, and down payment amount.
|
|
3398
3467
|
* When present in an update request, the `default_varied_price` is ignored to support backward compatibility.
|
|
@@ -3404,7 +3473,7 @@ interface Rate {
|
|
|
3404
3473
|
*/
|
|
3405
3474
|
priceText?: string | null;
|
|
3406
3475
|
}
|
|
3407
|
-
interface Price {
|
|
3476
|
+
export interface Price {
|
|
3408
3477
|
/**
|
|
3409
3478
|
* Required payment amount.
|
|
3410
3479
|
* @format DECIMAL_VALUE
|
|
@@ -3426,7 +3495,7 @@ interface Price {
|
|
|
3426
3495
|
* Schedule's availability calculation is executed by the schedule's available intervals and this additional information.
|
|
3427
3496
|
* 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
3497
|
*/
|
|
3429
|
-
interface Availability {
|
|
3498
|
+
export interface Availability {
|
|
3430
3499
|
/** Date and time the schedule starts to be available for booking. */
|
|
3431
3500
|
start?: Date | null;
|
|
3432
3501
|
/** Date and time the schedule stops being available for booking. No value indicates no end time. */
|
|
@@ -3437,7 +3506,7 @@ interface Availability {
|
|
|
3437
3506
|
constraints?: AvailabilityConstraints;
|
|
3438
3507
|
}
|
|
3439
3508
|
/** Describes how to calculate the specific slots that are available for booking. */
|
|
3440
|
-
interface AvailabilityConstraints {
|
|
3509
|
+
export interface AvailabilityConstraints {
|
|
3441
3510
|
/**
|
|
3442
3511
|
* A list of duration options for slots, in minutes. Minimum value for a duration is 1.
|
|
3443
3512
|
* The availability calculation generates slots with these durations, where there is no conflict with existing sessions or other availability constraints.
|
|
@@ -3465,7 +3534,7 @@ interface AvailabilityConstraints {
|
|
|
3465
3534
|
slotsSplitInterval?: SplitInterval;
|
|
3466
3535
|
}
|
|
3467
3536
|
/** 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 {
|
|
3537
|
+
export interface SplitInterval {
|
|
3469
3538
|
/**
|
|
3470
3539
|
* Whether the slot duration is used as the split interval value.
|
|
3471
3540
|
* If `same_as_duration` is `true`, the `value_in_minutes` is the sum of the first duration in
|
|
@@ -3475,12 +3544,12 @@ interface SplitInterval {
|
|
|
3475
3544
|
/** Number of minutes between available slots' start times when `same_as_duration` is `false`. */
|
|
3476
3545
|
valueInMinutes?: number | null;
|
|
3477
3546
|
}
|
|
3478
|
-
interface Participant {
|
|
3547
|
+
export interface Participant {
|
|
3479
3548
|
/**
|
|
3480
3549
|
* Participant ID. Currently represents the booking.id.
|
|
3481
3550
|
* @format GUID
|
|
3482
3551
|
*/
|
|
3483
|
-
|
|
3552
|
+
id?: string;
|
|
3484
3553
|
/**
|
|
3485
3554
|
* Contact ID.
|
|
3486
3555
|
* @format GUID
|
|
@@ -3505,7 +3574,7 @@ interface Participant {
|
|
|
3505
3574
|
*/
|
|
3506
3575
|
inherited?: boolean;
|
|
3507
3576
|
}
|
|
3508
|
-
declare enum ApprovalStatus {
|
|
3577
|
+
export declare enum ApprovalStatus {
|
|
3509
3578
|
/** Default. */
|
|
3510
3579
|
UNDEFINED = "UNDEFINED",
|
|
3511
3580
|
/** Pending business approval. */
|
|
@@ -3515,13 +3584,13 @@ declare enum ApprovalStatus {
|
|
|
3515
3584
|
/** Declined by the business. */
|
|
3516
3585
|
DECLINED = "DECLINED"
|
|
3517
3586
|
}
|
|
3518
|
-
interface ExternalCalendarOverrides {
|
|
3587
|
+
export interface ExternalCalendarOverrides {
|
|
3519
3588
|
/** Synced title of the external calendar event. */
|
|
3520
3589
|
title?: string | null;
|
|
3521
3590
|
/** Synced description of the external calendar event. */
|
|
3522
3591
|
description?: string | null;
|
|
3523
3592
|
}
|
|
3524
|
-
declare enum ScheduleStatus {
|
|
3593
|
+
export declare enum ScheduleStatus {
|
|
3525
3594
|
/** Undefined schedule status. */
|
|
3526
3595
|
UNDEFINED = "UNDEFINED",
|
|
3527
3596
|
/** The schedule was created. */
|
|
@@ -3529,19 +3598,19 @@ declare enum ScheduleStatus {
|
|
|
3529
3598
|
/** The schedule was cancelled. */
|
|
3530
3599
|
CANCELLED = "CANCELLED"
|
|
3531
3600
|
}
|
|
3532
|
-
interface Version {
|
|
3601
|
+
export interface Version {
|
|
3533
3602
|
/** Schedule version number, updated each time the schedule is updated. */
|
|
3534
3603
|
scheduleVersion?: number | null;
|
|
3535
3604
|
/** Participants version number, updated each time the schedule participants are updated. */
|
|
3536
3605
|
participantsVersion?: number | null;
|
|
3537
3606
|
}
|
|
3538
|
-
interface ConferenceProvider {
|
|
3607
|
+
export interface ConferenceProvider {
|
|
3539
3608
|
/** Conferencing provider ID */
|
|
3540
3609
|
providerId?: string;
|
|
3541
3610
|
}
|
|
3542
|
-
interface CalendarConference {
|
|
3611
|
+
export interface CalendarConference {
|
|
3543
3612
|
/** Wix Calendar conference ID. */
|
|
3544
|
-
|
|
3613
|
+
id?: string;
|
|
3545
3614
|
/** Conference meeting ID in the provider's conferencing system. */
|
|
3546
3615
|
externalId?: string;
|
|
3547
3616
|
/** Conference provider ID. */
|
|
@@ -3559,7 +3628,7 @@ interface CalendarConference {
|
|
|
3559
3628
|
/** ID of the account owner in the video conferencing service. */
|
|
3560
3629
|
accountOwnerId?: string | null;
|
|
3561
3630
|
}
|
|
3562
|
-
declare enum ConferenceType {
|
|
3631
|
+
export declare enum ConferenceType {
|
|
3563
3632
|
/** Undefined conference type. */
|
|
3564
3633
|
UNDEFINED = "UNDEFINED",
|
|
3565
3634
|
/** API-generated online meeting. */
|
|
@@ -3567,7 +3636,7 @@ declare enum ConferenceType {
|
|
|
3567
3636
|
/** User-defined meeting. */
|
|
3568
3637
|
CUSTOM = "CUSTOM"
|
|
3569
3638
|
}
|
|
3570
|
-
declare enum ResourceStatus {
|
|
3639
|
+
export declare enum ResourceStatus {
|
|
3571
3640
|
/** Undefined resource status. */
|
|
3572
3641
|
UNDEFINED = "UNDEFINED",
|
|
3573
3642
|
/** The resource was created. */
|
|
@@ -3577,14 +3646,14 @@ declare enum ResourceStatus {
|
|
|
3577
3646
|
/** The resource was updated. */
|
|
3578
3647
|
UPDATED = "UPDATED"
|
|
3579
3648
|
}
|
|
3580
|
-
interface BusinessLocation {
|
|
3649
|
+
export interface BusinessLocation {
|
|
3581
3650
|
/**
|
|
3582
3651
|
* The ID of the business location. Has to be non-empty
|
|
3583
3652
|
* @format GUID
|
|
3584
3653
|
*/
|
|
3585
3654
|
locationId?: string;
|
|
3586
3655
|
}
|
|
3587
|
-
declare enum ResourceNotificationEvent {
|
|
3656
|
+
export declare enum ResourceNotificationEvent {
|
|
3588
3657
|
/** Undefined resource event. */
|
|
3589
3658
|
UNDEFINED = "UNDEFINED",
|
|
3590
3659
|
/** The resource was updated. */
|
|
@@ -3596,7 +3665,7 @@ declare enum ResourceNotificationEvent {
|
|
|
3596
3665
|
/** The schedule was updated. */
|
|
3597
3666
|
Schedule_Updated = "Schedule_Updated"
|
|
3598
3667
|
}
|
|
3599
|
-
interface BenefitNotification {
|
|
3668
|
+
export interface BenefitNotification {
|
|
3600
3669
|
/**
|
|
3601
3670
|
* Plan unique ID
|
|
3602
3671
|
* @format GUID
|
|
@@ -3614,13 +3683,13 @@ interface BenefitNotification {
|
|
|
3614
3683
|
/** Notification event */
|
|
3615
3684
|
event?: Event;
|
|
3616
3685
|
}
|
|
3617
|
-
interface Benefit {
|
|
3686
|
+
export interface Benefit {
|
|
3618
3687
|
/**
|
|
3619
3688
|
* Benefit unique ID
|
|
3620
3689
|
* @format GUID
|
|
3621
3690
|
* @readonly
|
|
3622
3691
|
*/
|
|
3623
|
-
|
|
3692
|
+
id?: string | null;
|
|
3624
3693
|
/** Benefit Type */
|
|
3625
3694
|
benefitType?: BenefitType;
|
|
3626
3695
|
/**
|
|
@@ -3646,9 +3715,9 @@ interface Benefit {
|
|
|
3646
3715
|
*/
|
|
3647
3716
|
appDefId?: string | null;
|
|
3648
3717
|
}
|
|
3649
|
-
interface EntryPass {
|
|
3718
|
+
export interface EntryPass {
|
|
3650
3719
|
}
|
|
3651
|
-
interface Discount extends DiscountDiscountOneOf {
|
|
3720
|
+
export interface Discount extends DiscountDiscountOneOf {
|
|
3652
3721
|
/**
|
|
3653
3722
|
* Fixed-rate percent off discount
|
|
3654
3723
|
* @decimalValue options { gt:0, lte:100, maxScale:2 }
|
|
@@ -3661,7 +3730,7 @@ interface Discount extends DiscountDiscountOneOf {
|
|
|
3661
3730
|
moneyOffAmount?: string;
|
|
3662
3731
|
}
|
|
3663
3732
|
/** @oneof */
|
|
3664
|
-
interface DiscountDiscountOneOf {
|
|
3733
|
+
export interface DiscountDiscountOneOf {
|
|
3665
3734
|
/**
|
|
3666
3735
|
* Fixed-rate percent off discount
|
|
3667
3736
|
* @decimalValue options { gt:0, lte:100, maxScale:2 }
|
|
@@ -3673,7 +3742,7 @@ interface DiscountDiscountOneOf {
|
|
|
3673
3742
|
*/
|
|
3674
3743
|
moneyOffAmount?: string;
|
|
3675
3744
|
}
|
|
3676
|
-
declare enum BenefitType {
|
|
3745
|
+
export declare enum BenefitType {
|
|
3677
3746
|
/** Should never be used */
|
|
3678
3747
|
UNDEFINED = "UNDEFINED",
|
|
3679
3748
|
/** Limited benefit type */
|
|
@@ -3681,32 +3750,32 @@ declare enum BenefitType {
|
|
|
3681
3750
|
/** Unlimited benefit type */
|
|
3682
3751
|
UNLIMITED = "UNLIMITED"
|
|
3683
3752
|
}
|
|
3684
|
-
interface Behavior extends BehaviorBehaviorOneOf {
|
|
3753
|
+
export interface Behavior extends BehaviorBehaviorOneOf {
|
|
3685
3754
|
/** Entry pass for resources, e.g. a ticket for Bookings service or a ticket for Events. */
|
|
3686
3755
|
defaultBehavior?: EntryPass;
|
|
3687
3756
|
/** Discount applied to paid resources */
|
|
3688
3757
|
discount?: Discount;
|
|
3689
3758
|
}
|
|
3690
3759
|
/** @oneof */
|
|
3691
|
-
interface BehaviorBehaviorOneOf {
|
|
3760
|
+
export interface BehaviorBehaviorOneOf {
|
|
3692
3761
|
/** Entry pass for resources, e.g. a ticket for Bookings service or a ticket for Events. */
|
|
3693
3762
|
defaultBehavior?: EntryPass;
|
|
3694
3763
|
/** Discount applied to paid resources */
|
|
3695
3764
|
discount?: Discount;
|
|
3696
3765
|
}
|
|
3697
|
-
declare enum Event {
|
|
3766
|
+
export declare enum Event {
|
|
3698
3767
|
Updated = "Updated",
|
|
3699
3768
|
Deleted = "Deleted",
|
|
3700
3769
|
Created = "Created"
|
|
3701
3770
|
}
|
|
3702
|
-
interface UserDomainInfoChangedEvent {
|
|
3771
|
+
export interface UserDomainInfoChangedEvent {
|
|
3703
3772
|
domainName?: string;
|
|
3704
3773
|
crudType?: CrudType;
|
|
3705
3774
|
/** @format GUID */
|
|
3706
3775
|
metaSiteId?: string | null;
|
|
3707
3776
|
changeTime?: Date | null;
|
|
3708
3777
|
}
|
|
3709
|
-
declare enum CrudType {
|
|
3778
|
+
export declare enum CrudType {
|
|
3710
3779
|
INVALID_CRUD_TYPE = "INVALID_CRUD_TYPE",
|
|
3711
3780
|
CREATE = "CREATE",
|
|
3712
3781
|
UPDATE = "UPDATE",
|
|
@@ -3714,7 +3783,7 @@ declare enum CrudType {
|
|
|
3714
3783
|
/** Unfortunately this action is used by hibernate save in wix-war */
|
|
3715
3784
|
CREATE_OR_UPDATE = "CREATE_OR_UPDATE"
|
|
3716
3785
|
}
|
|
3717
|
-
interface HtmlSitePublished {
|
|
3786
|
+
export interface HtmlSitePublished {
|
|
3718
3787
|
/**
|
|
3719
3788
|
* Application instance ID
|
|
3720
3789
|
* @maxLength 50
|
|
@@ -3744,15 +3813,15 @@ interface HtmlSitePublished {
|
|
|
3744
3813
|
/** Site's publish date */
|
|
3745
3814
|
publishDate?: string;
|
|
3746
3815
|
}
|
|
3747
|
-
interface Page {
|
|
3816
|
+
export interface Page {
|
|
3748
3817
|
/**
|
|
3749
3818
|
* Page's Id
|
|
3750
3819
|
* @maxLength 100
|
|
3751
3820
|
*/
|
|
3752
|
-
|
|
3821
|
+
id?: string;
|
|
3753
3822
|
}
|
|
3754
3823
|
/** Encapsulates all details written to the Greyhound topic when a site's properties are updated. */
|
|
3755
|
-
interface SitePropertiesNotification {
|
|
3824
|
+
export interface SitePropertiesNotification {
|
|
3756
3825
|
/** The site ID for which this update notification applies. */
|
|
3757
3826
|
metasiteId?: string;
|
|
3758
3827
|
/** The actual update event. */
|
|
@@ -3766,7 +3835,7 @@ interface SitePropertiesNotification {
|
|
|
3766
3835
|
changeContext?: ChangeContext;
|
|
3767
3836
|
}
|
|
3768
3837
|
/** The actual update event for a particular notification. */
|
|
3769
|
-
interface SitePropertiesEvent {
|
|
3838
|
+
export interface SitePropertiesEvent {
|
|
3770
3839
|
/** Version of the site's properties represented by this update. */
|
|
3771
3840
|
version?: number;
|
|
3772
3841
|
/** Set of properties that were updated - corresponds to the fields in "properties". */
|
|
@@ -3774,7 +3843,7 @@ interface SitePropertiesEvent {
|
|
|
3774
3843
|
/** Updated properties. */
|
|
3775
3844
|
properties?: Properties;
|
|
3776
3845
|
}
|
|
3777
|
-
interface Properties {
|
|
3846
|
+
export interface Properties {
|
|
3778
3847
|
/** Site categories. */
|
|
3779
3848
|
categories?: Categories;
|
|
3780
3849
|
/** Site locale. */
|
|
@@ -3830,7 +3899,7 @@ interface Properties {
|
|
|
3830
3899
|
/** Track clicks analytics. */
|
|
3831
3900
|
trackClicksAnalytics?: boolean;
|
|
3832
3901
|
}
|
|
3833
|
-
interface Categories {
|
|
3902
|
+
export interface Categories {
|
|
3834
3903
|
/** Primary site category. */
|
|
3835
3904
|
primary?: string;
|
|
3836
3905
|
/**
|
|
@@ -3841,13 +3910,13 @@ interface Categories {
|
|
|
3841
3910
|
/** Business Term Id */
|
|
3842
3911
|
businessTermId?: string | null;
|
|
3843
3912
|
}
|
|
3844
|
-
interface Locale {
|
|
3913
|
+
export interface Locale {
|
|
3845
3914
|
/** Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. */
|
|
3846
3915
|
languageCode?: string;
|
|
3847
3916
|
/** 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
3917
|
country?: string;
|
|
3849
3918
|
}
|
|
3850
|
-
interface V4Address {
|
|
3919
|
+
export interface V4Address {
|
|
3851
3920
|
/** Street name. */
|
|
3852
3921
|
street?: string;
|
|
3853
3922
|
/** City name. */
|
|
@@ -3879,26 +3948,26 @@ interface V4Address {
|
|
|
3879
3948
|
* This is used for display purposes. Used to add additional data about the address, such as "In the passage".
|
|
3880
3949
|
* Free text. In addition, the user can state where to display the additional description - before, after, or instead of the address string.
|
|
3881
3950
|
*/
|
|
3882
|
-
interface AddressHint {
|
|
3951
|
+
export interface AddressHint {
|
|
3883
3952
|
/** Extra text displayed next to, or instead of, the actual address. */
|
|
3884
3953
|
text?: string;
|
|
3885
3954
|
/** Where the extra text should be displayed. */
|
|
3886
3955
|
placement?: PlacementType;
|
|
3887
3956
|
}
|
|
3888
3957
|
/** Where the extra text should be displayed: before, after or instead of the actual address. */
|
|
3889
|
-
declare enum PlacementType {
|
|
3958
|
+
export declare enum PlacementType {
|
|
3890
3959
|
BEFORE = "BEFORE",
|
|
3891
3960
|
AFTER = "AFTER",
|
|
3892
3961
|
REPLACE = "REPLACE"
|
|
3893
3962
|
}
|
|
3894
3963
|
/** Geocoordinates for a particular address. */
|
|
3895
|
-
interface GeoCoordinates {
|
|
3964
|
+
export interface GeoCoordinates {
|
|
3896
3965
|
/** Latitude of the location. Must be between -90 and 90. */
|
|
3897
3966
|
latitude?: number;
|
|
3898
3967
|
/** Longitude of the location. Must be between -180 and 180. */
|
|
3899
3968
|
longitude?: number;
|
|
3900
3969
|
}
|
|
3901
|
-
interface Multilingual {
|
|
3970
|
+
export interface Multilingual {
|
|
3902
3971
|
/**
|
|
3903
3972
|
* Supported languages list.
|
|
3904
3973
|
* @maxSize 200
|
|
@@ -3907,7 +3976,7 @@ interface Multilingual {
|
|
|
3907
3976
|
/** Whether to redirect to user language. */
|
|
3908
3977
|
autoRedirect?: boolean;
|
|
3909
3978
|
}
|
|
3910
|
-
interface SupportedLanguage {
|
|
3979
|
+
export interface SupportedLanguage {
|
|
3911
3980
|
/** Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. */
|
|
3912
3981
|
languageCode?: string;
|
|
3913
3982
|
/** Locale. */
|
|
@@ -3919,12 +3988,12 @@ interface SupportedLanguage {
|
|
|
3919
3988
|
/** How the language will be resolved. For internal use. */
|
|
3920
3989
|
resolutionMethod?: ResolutionMethod;
|
|
3921
3990
|
}
|
|
3922
|
-
declare enum ResolutionMethod {
|
|
3991
|
+
export declare enum ResolutionMethod {
|
|
3923
3992
|
QUERY_PARAM = "QUERY_PARAM",
|
|
3924
3993
|
SUBDOMAIN = "SUBDOMAIN",
|
|
3925
3994
|
SUBDIRECTORY = "SUBDIRECTORY"
|
|
3926
3995
|
}
|
|
3927
|
-
interface ConsentPolicy {
|
|
3996
|
+
export interface ConsentPolicy {
|
|
3928
3997
|
/** Whether the site uses cookies that are essential to site operation. Always `true`. */
|
|
3929
3998
|
essential?: boolean | null;
|
|
3930
3999
|
/** Whether the site uses cookies that affect site performance and other functional measurements. */
|
|
@@ -3937,7 +4006,7 @@ interface ConsentPolicy {
|
|
|
3937
4006
|
dataToThirdParty?: boolean | null;
|
|
3938
4007
|
}
|
|
3939
4008
|
/** A single mapping from the MetaSite ID to a particular service. */
|
|
3940
|
-
interface Translation {
|
|
4009
|
+
export interface Translation {
|
|
3941
4010
|
/** The service type. */
|
|
3942
4011
|
serviceType?: string;
|
|
3943
4012
|
/** The application definition ID; this only applies to services of type ThirdPartyApps. */
|
|
@@ -3945,7 +4014,7 @@ interface Translation {
|
|
|
3945
4014
|
/** The instance ID of the service. */
|
|
3946
4015
|
instanceId?: string;
|
|
3947
4016
|
}
|
|
3948
|
-
interface ChangeContext extends ChangeContextPayloadOneOf {
|
|
4017
|
+
export interface ChangeContext extends ChangeContextPayloadOneOf {
|
|
3949
4018
|
/** Properties were updated. */
|
|
3950
4019
|
propertiesChange?: PropertiesChange;
|
|
3951
4020
|
/** Default properties were created on site creation. */
|
|
@@ -3954,7 +4023,7 @@ interface ChangeContext extends ChangeContextPayloadOneOf {
|
|
|
3954
4023
|
siteCloned?: SiteCloned;
|
|
3955
4024
|
}
|
|
3956
4025
|
/** @oneof */
|
|
3957
|
-
interface ChangeContextPayloadOneOf {
|
|
4026
|
+
export interface ChangeContextPayloadOneOf {
|
|
3958
4027
|
/** Properties were updated. */
|
|
3959
4028
|
propertiesChange?: PropertiesChange;
|
|
3960
4029
|
/** Default properties were created on site creation. */
|
|
@@ -3962,387 +4031,13 @@ interface ChangeContextPayloadOneOf {
|
|
|
3962
4031
|
/** Properties were cloned on site cloning. */
|
|
3963
4032
|
siteCloned?: SiteCloned;
|
|
3964
4033
|
}
|
|
3965
|
-
interface PropertiesChange {
|
|
4034
|
+
export interface PropertiesChange {
|
|
3966
4035
|
}
|
|
3967
|
-
interface SiteCreated {
|
|
4036
|
+
export interface SiteCreated {
|
|
3968
4037
|
/** Origin template site id. */
|
|
3969
4038
|
originTemplateId?: string | null;
|
|
3970
4039
|
}
|
|
3971
|
-
interface SiteCloned {
|
|
4040
|
+
export interface SiteCloned {
|
|
3972
4041
|
/** Origin site id. */
|
|
3973
4042
|
originMetaSiteId?: string;
|
|
3974
4043
|
}
|
|
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 };
|