@wix/auto_sdk_bookings_services 1.0.192 → 1.0.194
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/{bookings-services-v2-service-services.universal-BxKI57Md.d.ts → bookings-services-v2-service-services.universal-BmpeBBT4.d.ts} +1210 -249
- package/build/cjs/index.d.ts +2 -2
- package/build/cjs/index.js +115 -15
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +115 -15
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +1156 -227
- package/build/cjs/meta.js +107 -15
- package/build/cjs/meta.js.map +1 -1
- package/build/es/{bookings-services-v2-service-services.universal-BxKI57Md.d.mts → bookings-services-v2-service-services.universal-BmpeBBT4.d.mts} +1210 -249
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs +102 -15
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +102 -15
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +1156 -227
- package/build/es/meta.mjs +97 -15
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/{bookings-services-v2-service-services.universal-BxKI57Md.d.ts → bookings-services-v2-service-services.universal-BmpeBBT4.d.ts} +1210 -249
- package/build/internal/cjs/index.d.ts +2 -2
- package/build/internal/cjs/index.js +115 -15
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +2 -2
- package/build/internal/cjs/index.typings.js +115 -15
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +1156 -227
- package/build/internal/cjs/meta.js +107 -15
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/{bookings-services-v2-service-services.universal-BxKI57Md.d.mts → bookings-services-v2-service-services.universal-BmpeBBT4.d.mts} +1210 -249
- package/build/internal/es/index.d.mts +2 -2
- package/build/internal/es/index.mjs +102 -15
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +2 -2
- package/build/internal/es/index.typings.mjs +102 -15
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +1156 -227
- package/build/internal/es/meta.mjs +97 -15
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +4 -4
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as _wix_sdk_types from '@wix/sdk-types';
|
|
1
2
|
import { QuerySpec, SearchSpec, Query, Search, NonNullablePaths } from '@wix/sdk-types';
|
|
2
3
|
|
|
3
4
|
/** The `service` object represents an offering that a business provides to its customers. */
|
|
@@ -8,6 +9,31 @@ interface Service {
|
|
|
8
9
|
* @readonly
|
|
9
10
|
*/
|
|
10
11
|
_id?: string | null;
|
|
12
|
+
/**
|
|
13
|
+
* ID of the app associated with the service. You can't update `appId`.
|
|
14
|
+
* Services are displayed in Wix Bookings only if they are associated with the Wix Bookings appId or have no associated app ID.
|
|
15
|
+
* Default: `13d21c63-b5ec-5912-8397-c3a5ddb27a97` (Wix Bookings app ID)
|
|
16
|
+
* For services from Wix apps, the following values apply:
|
|
17
|
+
* - Wix Bookings: `"13d21c63-b5ec-5912-8397-c3a5ddb27a97"`
|
|
18
|
+
* - Wix Services: `"cc552162-24a4-45e0-9695-230c4931ef40"`
|
|
19
|
+
* - Wix Meetings: `"6646a75c-2027-4f49-976c-58f3d713ed0f"`
|
|
20
|
+
* [Full list of apps created by Wix](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/platform/about-apps-created-by-wix).
|
|
21
|
+
* <!-- TODO: Uncomment when Platform docs are published - Learn more about [app identity in the Bookings Platform](https://dev.wix.com/docs/api-reference/business-solutions/bookings/bookings-platform/app-identity-in-the-bookings-platform). -->
|
|
22
|
+
* @format GUID
|
|
23
|
+
* @immutable
|
|
24
|
+
*/
|
|
25
|
+
appId?: string | null;
|
|
26
|
+
/**
|
|
27
|
+
* ID of the app that created the service. This field is used for analytics, auditing, and tracking creation sources.
|
|
28
|
+
* This read-only field is automatically populated during service creation by checking these sources in order:
|
|
29
|
+
* 1. The caller's App ID from the request identity context.
|
|
30
|
+
* 2. The service's `appId` field.
|
|
31
|
+
* 3. The Wix Bookings App ID (`13d21c63-b5ec-5912-8397-c3a5ddb27a97`) as the final fallback.
|
|
32
|
+
* <!-- TODO: Uncomment when Platform docs are published - Learn more about [app identity in the Bookings Platform](https://dev.wix.com/docs/api-reference/business-solutions/bookings/bookings-platform/app-identity-in-the-bookings-platform). -->
|
|
33
|
+
* @format GUID
|
|
34
|
+
* @readonly
|
|
35
|
+
*/
|
|
36
|
+
createdByAppId?: string | null;
|
|
11
37
|
/**
|
|
12
38
|
* Service type.
|
|
13
39
|
* Learn more about [service types](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/about-service-types).
|
|
@@ -62,7 +88,7 @@ interface Service {
|
|
|
62
88
|
* @immutable
|
|
63
89
|
* @maxSize 500
|
|
64
90
|
*/
|
|
65
|
-
locations?:
|
|
91
|
+
locations?: V2Location[];
|
|
66
92
|
/**
|
|
67
93
|
* [Policy](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/introduction)
|
|
68
94
|
* 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.
|
|
@@ -407,7 +433,7 @@ interface Conferencing {
|
|
|
407
433
|
/** Whether a conference link is generated for the service's sessions. */
|
|
408
434
|
enabled?: boolean | null;
|
|
409
435
|
}
|
|
410
|
-
interface
|
|
436
|
+
interface V2Location extends V2LocationOptionsOneOf {
|
|
411
437
|
/** Information about business locations. */
|
|
412
438
|
business?: BusinessLocationOptions;
|
|
413
439
|
/** Information about custom locations. */
|
|
@@ -423,7 +449,7 @@ interface Location extends LocationOptionsOneOf {
|
|
|
423
449
|
*
|
|
424
450
|
* Default: `CUSTOM`
|
|
425
451
|
*/
|
|
426
|
-
type?:
|
|
452
|
+
type?: LocationTypeEnumLocationTypeWithLiterals;
|
|
427
453
|
/**
|
|
428
454
|
* Location address. Empty for `{"type": "CUSTOMER"}`.
|
|
429
455
|
* @readonly
|
|
@@ -431,13 +457,13 @@ interface Location extends LocationOptionsOneOf {
|
|
|
431
457
|
calculatedAddress?: CommonAddress;
|
|
432
458
|
}
|
|
433
459
|
/** @oneof */
|
|
434
|
-
interface
|
|
460
|
+
interface V2LocationOptionsOneOf {
|
|
435
461
|
/** Information about business locations. */
|
|
436
462
|
business?: BusinessLocationOptions;
|
|
437
463
|
/** Information about custom locations. */
|
|
438
464
|
custom?: CustomLocationOptions;
|
|
439
465
|
}
|
|
440
|
-
declare enum
|
|
466
|
+
declare enum LocationTypeEnumLocationType {
|
|
441
467
|
UNKNOWN_LOCATION_TYPE = "UNKNOWN_LOCATION_TYPE",
|
|
442
468
|
/** Location set by the business that is not a standard business [location](https://dev.wix.com/docs/api-reference/business-management/locations/introduction). */
|
|
443
469
|
CUSTOM = "CUSTOM",
|
|
@@ -450,10 +476,10 @@ declare enum LocationType {
|
|
|
450
476
|
CUSTOMER = "CUSTOMER"
|
|
451
477
|
}
|
|
452
478
|
/** @enumType */
|
|
453
|
-
type
|
|
479
|
+
type LocationTypeEnumLocationTypeWithLiterals = LocationTypeEnumLocationType | 'UNKNOWN_LOCATION_TYPE' | 'CUSTOM' | 'BUSINESS' | 'CUSTOMER';
|
|
454
480
|
interface CommonAddress extends CommonAddressStreetOneOf {
|
|
455
481
|
/** Street name and number. */
|
|
456
|
-
streetAddress?:
|
|
482
|
+
streetAddress?: CommonStreetAddress;
|
|
457
483
|
/** @maxLength 255 */
|
|
458
484
|
addressLine1?: string | null;
|
|
459
485
|
/**
|
|
@@ -485,12 +511,12 @@ interface CommonAddress extends CommonAddressStreetOneOf {
|
|
|
485
511
|
/** @oneof */
|
|
486
512
|
interface CommonAddressStreetOneOf {
|
|
487
513
|
/** Street name and number. */
|
|
488
|
-
streetAddress?:
|
|
514
|
+
streetAddress?: CommonStreetAddress;
|
|
489
515
|
/** @maxLength 255 */
|
|
490
516
|
addressLine?: string | null;
|
|
491
517
|
}
|
|
492
518
|
/** Street address. Includes street name, number, and apartment number in separate fields. */
|
|
493
|
-
interface
|
|
519
|
+
interface CommonStreetAddress {
|
|
494
520
|
/**
|
|
495
521
|
* Street number.
|
|
496
522
|
* @maxLength 255
|
|
@@ -507,7 +533,7 @@ interface StreetAddress {
|
|
|
507
533
|
*/
|
|
508
534
|
apt?: string;
|
|
509
535
|
}
|
|
510
|
-
interface
|
|
536
|
+
interface CommonAddressLocation {
|
|
511
537
|
/** Address latitude. */
|
|
512
538
|
latitude?: number | null;
|
|
513
539
|
/** Address longitude. */
|
|
@@ -1038,7 +1064,7 @@ interface AvailabilityConstraints {
|
|
|
1038
1064
|
* @readonly
|
|
1039
1065
|
* @maxSize 50
|
|
1040
1066
|
*/
|
|
1041
|
-
durations?:
|
|
1067
|
+
durations?: V2Duration[];
|
|
1042
1068
|
/**
|
|
1043
1069
|
* List of supported session durations in minutes.
|
|
1044
1070
|
*
|
|
@@ -1063,7 +1089,7 @@ interface AvailabilityConstraints {
|
|
|
1063
1089
|
*/
|
|
1064
1090
|
timeBetweenSessions?: number;
|
|
1065
1091
|
}
|
|
1066
|
-
interface
|
|
1092
|
+
interface V2Duration {
|
|
1067
1093
|
/**
|
|
1068
1094
|
* The duration of the service in minutes.
|
|
1069
1095
|
*
|
|
@@ -1255,81 +1281,1138 @@ interface Tag {
|
|
|
1255
1281
|
}
|
|
1256
1282
|
interface Settings {
|
|
1257
1283
|
/**
|
|
1258
|
-
* Whether the [automatical redirect visits](https://support.wix.com/en/article/customizing-your-pages-seo-settings-in-the-seo-panel) from the old URL to the new one is enabled.
|
|
1259
|
-
*
|
|
1260
|
-
*
|
|
1261
|
-
* Default: `false` (automatical redirect is enabled).
|
|
1284
|
+
* Whether the [automatical redirect visits](https://support.wix.com/en/article/customizing-your-pages-seo-settings-in-the-seo-panel) from the old URL to the new one is enabled.
|
|
1285
|
+
*
|
|
1286
|
+
*
|
|
1287
|
+
* Default: `false` (automatical redirect is enabled).
|
|
1288
|
+
*/
|
|
1289
|
+
preventAutoRedirect?: boolean;
|
|
1290
|
+
/**
|
|
1291
|
+
* User-selected keyword terms for a specific page.
|
|
1292
|
+
* @maxSize 5
|
|
1293
|
+
*/
|
|
1294
|
+
keywords?: Keyword[];
|
|
1295
|
+
}
|
|
1296
|
+
interface AddOnGroup {
|
|
1297
|
+
/**
|
|
1298
|
+
* ID of the add-on group.
|
|
1299
|
+
* Wix Bookings automatically populates this field when creating or updating an add-on group.
|
|
1300
|
+
* @readonly
|
|
1301
|
+
* @format GUID
|
|
1302
|
+
*/
|
|
1303
|
+
_id?: string | null;
|
|
1304
|
+
/**
|
|
1305
|
+
* Name of the add-on group.
|
|
1306
|
+
* @maxLength 100
|
|
1307
|
+
*/
|
|
1308
|
+
name?: string | null;
|
|
1309
|
+
/**
|
|
1310
|
+
* Maximum number of different [add-ons](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/add-ons/introduction) from the group customers can add when booking the service.
|
|
1311
|
+
* When empty, there's no upper limit.
|
|
1312
|
+
*/
|
|
1313
|
+
maxNumberOfAddOns?: number | null;
|
|
1314
|
+
/**
|
|
1315
|
+
* List of IDs of all [add-ons](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/add-ons/introduction) included in the group.
|
|
1316
|
+
* @format GUID
|
|
1317
|
+
* @maxSize 7
|
|
1318
|
+
*/
|
|
1319
|
+
addOnIds?: string[] | null;
|
|
1320
|
+
/**
|
|
1321
|
+
* Description or instructional prompt of the add-on group that's displayed to customers when booking the service.
|
|
1322
|
+
* @maxLength 200
|
|
1323
|
+
*/
|
|
1324
|
+
prompt?: string | null;
|
|
1325
|
+
}
|
|
1326
|
+
interface AddOnDetails {
|
|
1327
|
+
/**
|
|
1328
|
+
* ID of the add-on.
|
|
1329
|
+
* @format GUID
|
|
1330
|
+
*/
|
|
1331
|
+
addOnId?: string | null;
|
|
1332
|
+
/**
|
|
1333
|
+
* Duration in minutes for add-ons that extend service time.
|
|
1334
|
+
* Empty for [quantity-based add-ons](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/add-ons/introduction#terminology).
|
|
1335
|
+
*/
|
|
1336
|
+
durationInMinutes?: number | null;
|
|
1337
|
+
}
|
|
1338
|
+
/** `TaxableAddress` defines the taxable address used for the service. */
|
|
1339
|
+
interface TaxableAddress {
|
|
1340
|
+
/** Taxable address type. */
|
|
1341
|
+
taxableAddressType?: TaxableAddressTypeWithLiterals;
|
|
1342
|
+
}
|
|
1343
|
+
declare enum TaxableAddressType {
|
|
1344
|
+
UNKNOWN_TAXABLE_ADDRESS_TYPE = "UNKNOWN_TAXABLE_ADDRESS_TYPE",
|
|
1345
|
+
BUSINESS = "BUSINESS",
|
|
1346
|
+
BILLING = "BILLING"
|
|
1347
|
+
}
|
|
1348
|
+
/** @enumType */
|
|
1349
|
+
type TaxableAddressTypeWithLiterals = TaxableAddressType | 'UNKNOWN_TAXABLE_ADDRESS_TYPE' | 'BUSINESS' | 'BILLING';
|
|
1350
|
+
interface V2PhoneCall {
|
|
1351
|
+
/** Whether the service is delivered via phone call. */
|
|
1352
|
+
enabled?: boolean | null;
|
|
1353
|
+
}
|
|
1354
|
+
interface SetCustomSlugEvent {
|
|
1355
|
+
/** The main slug for the service after the update */
|
|
1356
|
+
mainSlug?: Slug;
|
|
1357
|
+
}
|
|
1358
|
+
interface ServicesUrlsChanged {
|
|
1359
|
+
}
|
|
1360
|
+
interface DummyRequest {
|
|
1361
|
+
}
|
|
1362
|
+
interface DummyResponse {
|
|
1363
|
+
/** Service. */
|
|
1364
|
+
service?: Service;
|
|
1365
|
+
/** Booking. */
|
|
1366
|
+
booking?: Booking;
|
|
1367
|
+
}
|
|
1368
|
+
/** An entity representing a scheduled appointment, class session, or course. */
|
|
1369
|
+
interface Booking extends BookingParticipantsInfoOneOf {
|
|
1370
|
+
/**
|
|
1371
|
+
* Total number of participants.
|
|
1372
|
+
* When creating a booking, use this field only if the relevant service has fixed pricing and doesn't offer [variants and options](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction).
|
|
1373
|
+
* @min 1
|
|
1374
|
+
*/
|
|
1375
|
+
totalParticipants?: number;
|
|
1376
|
+
/**
|
|
1377
|
+
* Information about the booked service choices and participant count for each choice.
|
|
1378
|
+
* When creating a booking, use this field only if the booking includes multiple [service variants](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction).
|
|
1379
|
+
*
|
|
1380
|
+
* For example, use this for a spa package booking that includes different service levels:
|
|
1381
|
+
* - 2 participants chose "Standard Package".
|
|
1382
|
+
* - 1 participant chose "VIP Package".
|
|
1383
|
+
*/
|
|
1384
|
+
participantsChoices?: ParticipantChoices;
|
|
1385
|
+
/**
|
|
1386
|
+
* Booking ID.
|
|
1387
|
+
* @format GUID
|
|
1388
|
+
* @readonly
|
|
1389
|
+
*/
|
|
1390
|
+
_id?: string | null;
|
|
1391
|
+
/**
|
|
1392
|
+
* An object describing the bookable entity - either a specific time slot or a recurring schedule.
|
|
1393
|
+
*
|
|
1394
|
+
* The structure depends on the type of service being booked:
|
|
1395
|
+
*
|
|
1396
|
+
* __For appointment services__: Use `slot` to book a specific time slot with a
|
|
1397
|
+
* service provider. Appointments are typically one-time sessions at a specific date and time.
|
|
1398
|
+
*
|
|
1399
|
+
* __For class services__: Use `slot` to book a specific class session. Classes
|
|
1400
|
+
* are individual sessions that can have multiple participants.
|
|
1401
|
+
*
|
|
1402
|
+
* __For course services__: Use `schedule` to book an entire course consisting of
|
|
1403
|
+
* multiple sessions over time. Courses are recurring, multi-session offerings.
|
|
1404
|
+
*
|
|
1405
|
+
* Choose the appropriate field based on your service type and booking requirements.
|
|
1406
|
+
*/
|
|
1407
|
+
bookedEntity?: BookedEntity;
|
|
1408
|
+
/**
|
|
1409
|
+
* Contact details of the site visitor or [member](https://dev.wix.com/docs/api-reference/crm/members-contacts/members/members/introduction)
|
|
1410
|
+
* making the booking.
|
|
1411
|
+
*/
|
|
1412
|
+
contactDetails?: ContactDetails;
|
|
1413
|
+
/**
|
|
1414
|
+
* Additional custom fields submitted with the booking form.
|
|
1415
|
+
* Deprecated due to Bookings integrating with Wix Forms.
|
|
1416
|
+
* You can call Wix Forms' [Get Submission](https://dev.wix.com/docs/api-reference/crm/forms/form-submissions/get-submission) specifying `formSubmissionId` as the `id` to get the submitted booking form data.
|
|
1417
|
+
* Read more about the [Bookings Forms integration](https://dev.wix.com/docs/api-reference/business-solutions/bookings/wix-forms-integration).
|
|
1418
|
+
* @deprecated Additional custom fields submitted with the booking form.
|
|
1419
|
+
* Deprecated due to Bookings integrating with Wix Forms.
|
|
1420
|
+
* You can call Wix Forms' [Get Submission](https://dev.wix.com/docs/api-reference/crm/forms/form-submissions/get-submission) specifying `formSubmissionId` as the `id` to get the submitted booking form data.
|
|
1421
|
+
* Read more about the [Bookings Forms integration](https://dev.wix.com/docs/api-reference/business-solutions/bookings/wix-forms-integration).
|
|
1422
|
+
* @replacedBy form_submission_id
|
|
1423
|
+
* @targetRemovalDate 2026-03-31
|
|
1424
|
+
*/
|
|
1425
|
+
additionalFields?: CustomFormField[];
|
|
1426
|
+
/**
|
|
1427
|
+
* Booking status. A booking is automatically confirmed if the service allows it
|
|
1428
|
+
* and an eCommerce order is created. It is automatically declined if there is a
|
|
1429
|
+
* double booking and the customer hasn't paid or is eligible for an automatic
|
|
1430
|
+
* refund. Currently, only payments with pricing plans are automatically refundable.
|
|
1431
|
+
*/
|
|
1432
|
+
status?: BookingStatusWithLiterals;
|
|
1433
|
+
/**
|
|
1434
|
+
* The payment status of the booking. This field automatically syncs with the
|
|
1435
|
+
* `paymentStatus` of the corresponding [eCommerce order](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/orders/introduction)
|
|
1436
|
+
* when customers use Wix eCommerce checkout.
|
|
1437
|
+
*
|
|
1438
|
+
* ### Integration patterns
|
|
1439
|
+
*
|
|
1440
|
+
* __When using Wix eCommerce checkout__: Wix Bookings automatically syncs the payment status based on the eCommerce order's payment status.
|
|
1441
|
+
* Do not manually update this field.
|
|
1442
|
+
*
|
|
1443
|
+
* __When using custom payment flows__: You can manually update the payment status with [Confirm Booking or Decline Booking](https://dev.wix.com/docs/api-reference/business-solutions/bookings/bookings/bookings-writer-v2/confirm-or-decline-booking) to reflect the customer's payment state.
|
|
1444
|
+
*
|
|
1445
|
+
* __For membership/pricing plan payments__: Wix Bookings automatically manages the payment status when customers pay with an active [pricing plan](https://dev.wix.com/docs/api-reference/business-solutions/pricing-plans/pricing-plans/introduction) subscription.
|
|
1446
|
+
*
|
|
1447
|
+
* All payment statuses are supported for every booking `status`.
|
|
1448
|
+
*/
|
|
1449
|
+
paymentStatus?: PaymentStatusWithLiterals;
|
|
1450
|
+
/**
|
|
1451
|
+
* Payment option selected by the customer. If the customer hasn't completed their checkout, they may still change the payment method. Must be one of the payment options offered by the [service](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/introduction), unless `skipSelectedPaymentOptionValidation` is `true`.
|
|
1452
|
+
*
|
|
1453
|
+
* When the customer pays with a [Wix eCommerce checkout](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/checkout/introduction), this field is required.
|
|
1454
|
+
* Otherwise, the Create Booking call fails.
|
|
1455
|
+
* For custom checkouts, you don't have to specify this field.
|
|
1456
|
+
*/
|
|
1457
|
+
selectedPaymentOption?: SelectedPaymentOptionWithLiterals;
|
|
1458
|
+
/**
|
|
1459
|
+
* Date and time the booking was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.
|
|
1460
|
+
* @readonly
|
|
1461
|
+
*/
|
|
1462
|
+
_createdDate?: Date | null;
|
|
1463
|
+
/** External user ID that you can provide. */
|
|
1464
|
+
externalUserId?: string | null;
|
|
1465
|
+
/**
|
|
1466
|
+
* Revision number to be used when updating, rescheduling, or cancelling the booking.
|
|
1467
|
+
* Increments by 1 each time the booking is updated, rescheduled, or canceled. To prevent conflicting changes, the current revision must be specified when updating the booking.
|
|
1468
|
+
*/
|
|
1469
|
+
revision?: string | null;
|
|
1470
|
+
/**
|
|
1471
|
+
* ID of the creator of the booking.
|
|
1472
|
+
* If `appId` and another ID are present, the other ID takes precedence.
|
|
1473
|
+
* @readonly
|
|
1474
|
+
*/
|
|
1475
|
+
createdBy?: CommonIdentificationData;
|
|
1476
|
+
/**
|
|
1477
|
+
* The start date of the booking in `YYYY-MM-DDThh:mm:ss.sssZ` format.
|
|
1478
|
+
* For a slot, this is the start date of the slot. For a schedule, this is the start date of the first session.
|
|
1479
|
+
* @readonly
|
|
1480
|
+
*/
|
|
1481
|
+
startDate?: Date | null;
|
|
1482
|
+
/**
|
|
1483
|
+
* The end date of the booking in `YYYY-MM-DDThh:mm:ss.sssZ` format.
|
|
1484
|
+
* For a slot, this is the end date of the slot. For a schedule, this is the end date of the last session.
|
|
1485
|
+
* @readonly
|
|
1486
|
+
*/
|
|
1487
|
+
endDate?: Date | null;
|
|
1488
|
+
/**
|
|
1489
|
+
* Date and time the booking was updated in `YYYY-MM-DDThh:mm:ss.sssZ` format.
|
|
1490
|
+
* @readonly
|
|
1491
|
+
*/
|
|
1492
|
+
_updatedDate?: Date | null;
|
|
1493
|
+
/**
|
|
1494
|
+
* Custom field data for this object.
|
|
1495
|
+
* Extended fields must be configured in the app dashboard before they can be accessed with API calls.
|
|
1496
|
+
*/
|
|
1497
|
+
extendedFields?: ExtendedFields;
|
|
1498
|
+
/**
|
|
1499
|
+
* Whether this booking overlaps with another confirmed booking. Returned
|
|
1500
|
+
* only if set to `true`.
|
|
1501
|
+
* @readonly
|
|
1502
|
+
*/
|
|
1503
|
+
doubleBooked?: boolean | null;
|
|
1504
|
+
/**
|
|
1505
|
+
* ID of the [form submission](https://dev.wix.com/docs/rest/crm/forms/form-submissions/introduction)
|
|
1506
|
+
* associated with this booking.
|
|
1507
|
+
* @format GUID
|
|
1508
|
+
*/
|
|
1509
|
+
formSubmissionId?: string | null;
|
|
1510
|
+
/**
|
|
1511
|
+
* ID of the [form](https://dev.wix.com/docs/rest/crm/forms/form-schemas/form-object)
|
|
1512
|
+
* associated with this booking. The value depends on how the
|
|
1513
|
+
* booking was created:
|
|
1514
|
+
* - For bookings created with Create Booking or Bulk Create Booking, `formId`
|
|
1515
|
+
* is identical to ID of the booking form that's associated with the relevant
|
|
1516
|
+
* service.
|
|
1517
|
+
* - For bookings created via Create Multi Service Booking, `formId` is set to
|
|
1518
|
+
* `00000000-0000-0000-0000-000000000000` (the default booking form ID).
|
|
1519
|
+
* @format GUID
|
|
1520
|
+
* @readonly
|
|
1521
|
+
*/
|
|
1522
|
+
formId?: string | null;
|
|
1523
|
+
/**
|
|
1524
|
+
* List of [add-ons](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/add-ons/introduction) associated with the booking.
|
|
1525
|
+
* @maxSize 21
|
|
1526
|
+
*/
|
|
1527
|
+
bookedAddOns?: BookedAddOn[];
|
|
1528
|
+
/**
|
|
1529
|
+
* ID of the app that's associated with the booking.
|
|
1530
|
+
* Inherited from the `appId` of the service associated with the booking.
|
|
1531
|
+
* Bookings are displayed in Wix Bookings only if they are associated with the Wix Bookings app ID or have no associated app ID.
|
|
1532
|
+
* For bookings from Wix apps, the following values apply:
|
|
1533
|
+
* - Wix Bookings: `"13d21c63-b5ec-5912-8397-c3a5ddb27a97"`
|
|
1534
|
+
* - Wix Services: `"cc552162-24a4-45e0-9695-230c4931ef40"`
|
|
1535
|
+
* - Wix Meetings: `"6646a75c-2027-4f49-976c-58f3d713ed0f"`
|
|
1536
|
+
* [Full list of apps created by Wix](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/platform/about-apps-created-by-wix).
|
|
1537
|
+
* <!-- TODO: Uncomment when Platform docs are published - Learn more about [app identity in the Bookings Platform](https://dev.wix.com/docs/api-reference/business-solutions/bookings/bookings-platform/app-identity-in-the-bookings-platform). -->
|
|
1538
|
+
* @format GUID
|
|
1539
|
+
* @readonly
|
|
1540
|
+
*/
|
|
1541
|
+
appId?: string | null;
|
|
1542
|
+
/**
|
|
1543
|
+
* ID of the app that created the booking. This field is used for analytics, auditing, and tracking creation sources.
|
|
1544
|
+
* This read-only field is automatically populated during booking creation by checking these sources in order:
|
|
1545
|
+
* 1. The caller's App ID from the request identity context (external app or server identity).
|
|
1546
|
+
* 2. The booking's `appId` field (inherited from the service's `appId`).
|
|
1547
|
+
* 3. The Wix Bookings App ID (`13d21c63-b5ec-5912-8397-c3a5ddb27a97`) as the final fallback.
|
|
1548
|
+
* <!-- TODO: Uncomment when Platform docs are published - Learn more about [app identity in the Bookings Platform](https://dev.wix.com/docs/api-reference/business-solutions/bookings/bookings-platform/app-identity-in-the-bookings-platform). -->
|
|
1549
|
+
* @format GUID
|
|
1550
|
+
* @readonly
|
|
1551
|
+
*/
|
|
1552
|
+
createdByAppId?: string | null;
|
|
1553
|
+
}
|
|
1554
|
+
/** @oneof */
|
|
1555
|
+
interface BookingParticipantsInfoOneOf {
|
|
1556
|
+
/**
|
|
1557
|
+
* Total number of participants.
|
|
1558
|
+
* When creating a booking, use this field only if the relevant service has fixed pricing and doesn't offer [variants and options](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction).
|
|
1559
|
+
* @min 1
|
|
1560
|
+
*/
|
|
1561
|
+
totalParticipants?: number;
|
|
1562
|
+
/**
|
|
1563
|
+
* Information about the booked service choices and participant count for each choice.
|
|
1564
|
+
* When creating a booking, use this field only if the booking includes multiple [service variants](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction).
|
|
1565
|
+
*
|
|
1566
|
+
* For example, use this for a spa package booking that includes different service levels:
|
|
1567
|
+
* - 2 participants chose "Standard Package".
|
|
1568
|
+
* - 1 participant chose "VIP Package".
|
|
1569
|
+
*/
|
|
1570
|
+
participantsChoices?: ParticipantChoices;
|
|
1571
|
+
}
|
|
1572
|
+
/**
|
|
1573
|
+
* Type of multi-service booking.
|
|
1574
|
+
* Defines how individual bookings within a multi-service package are scheduled relative to each other.
|
|
1575
|
+
*/
|
|
1576
|
+
declare enum MultiServiceBookingType {
|
|
1577
|
+
/**
|
|
1578
|
+
* Bookings must be scheduled back-to-back.
|
|
1579
|
+
* Each booking starts when the previous one ends, with no gaps between them.
|
|
1580
|
+
*/
|
|
1581
|
+
SEQUENTIAL_BOOKINGS = "SEQUENTIAL_BOOKINGS",
|
|
1582
|
+
/**
|
|
1583
|
+
* Bookings can be scheduled separately.
|
|
1584
|
+
* Each booking can be at different times, not necessarily consecutive.
|
|
1585
|
+
* Not currently supported.
|
|
1586
|
+
*/
|
|
1587
|
+
SEPARATE_BOOKINGS = "SEPARATE_BOOKINGS",
|
|
1588
|
+
/**
|
|
1589
|
+
* Bookings occur at the same time.
|
|
1590
|
+
* All bookings in the package are scheduled for the same time slot.
|
|
1591
|
+
* Not currently supported.
|
|
1592
|
+
*/
|
|
1593
|
+
PARALLEL_BOOKINGS = "PARALLEL_BOOKINGS"
|
|
1594
|
+
}
|
|
1595
|
+
/** @enumType */
|
|
1596
|
+
type MultiServiceBookingTypeWithLiterals = MultiServiceBookingType | 'SEQUENTIAL_BOOKINGS' | 'SEPARATE_BOOKINGS' | 'PARALLEL_BOOKINGS';
|
|
1597
|
+
interface BookedEntity extends BookedEntityItemOneOf {
|
|
1598
|
+
/**
|
|
1599
|
+
* [Booked slot](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings-and-time-slots/time-slots/availability-calendar/query-availability).
|
|
1600
|
+
*
|
|
1601
|
+
* Specify `slot` when creating bookings for:
|
|
1602
|
+
* - __Appointment-based services__: Individual sessions with service providers (consultations, treatments).
|
|
1603
|
+
* Wix Bookings creates a new session when the booking is confirmed.
|
|
1604
|
+
* - __Class services__: Group sessions at specific times (fitness classes, workshops).
|
|
1605
|
+
* Wix Bookings links the booking to an existing scheduled session.
|
|
1606
|
+
*
|
|
1607
|
+
* For course services, specify `schedule` instead of `slot`.
|
|
1608
|
+
*/
|
|
1609
|
+
slot?: BookedSlot;
|
|
1610
|
+
/**
|
|
1611
|
+
* [Booked schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction).
|
|
1612
|
+
*
|
|
1613
|
+
* Specify `schedule` when creating bookings for:
|
|
1614
|
+
* - __Course services__: Multi-session offerings spanning weeks or months (educational courses, training programs).
|
|
1615
|
+
* Wix Bookings enrolls participants in all sessions defined by the course schedule.
|
|
1616
|
+
*/
|
|
1617
|
+
schedule?: BookedSchedule;
|
|
1618
|
+
/**
|
|
1619
|
+
* Session title at the time of booking. If there is no pre-existing session,
|
|
1620
|
+
* for example for appointment-based services, Wix Bookings sets `title` to the service name.
|
|
1621
|
+
* @readonly
|
|
1622
|
+
* @maxLength 6000
|
|
1623
|
+
*/
|
|
1624
|
+
title?: string | null;
|
|
1625
|
+
/**
|
|
1626
|
+
* List of tags for the booking.
|
|
1627
|
+
*
|
|
1628
|
+
* - "INDIVIDUAL": For bookings of appointment-based services. Including when the appointment is for a group of participants.
|
|
1629
|
+
* - "GROUP": For bookings of individual class sessions.
|
|
1630
|
+
* - "COURSE": For course bookings.
|
|
1631
|
+
*/
|
|
1632
|
+
tags?: string[] | null;
|
|
1633
|
+
}
|
|
1634
|
+
/** @oneof */
|
|
1635
|
+
interface BookedEntityItemOneOf {
|
|
1636
|
+
/**
|
|
1637
|
+
* [Booked slot](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings-and-time-slots/time-slots/availability-calendar/query-availability).
|
|
1638
|
+
*
|
|
1639
|
+
* Specify `slot` when creating bookings for:
|
|
1640
|
+
* - __Appointment-based services__: Individual sessions with service providers (consultations, treatments).
|
|
1641
|
+
* Wix Bookings creates a new session when the booking is confirmed.
|
|
1642
|
+
* - __Class services__: Group sessions at specific times (fitness classes, workshops).
|
|
1643
|
+
* Wix Bookings links the booking to an existing scheduled session.
|
|
1644
|
+
*
|
|
1645
|
+
* For course services, specify `schedule` instead of `slot`.
|
|
1646
|
+
*/
|
|
1647
|
+
slot?: BookedSlot;
|
|
1648
|
+
/**
|
|
1649
|
+
* [Booked schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction).
|
|
1650
|
+
*
|
|
1651
|
+
* Specify `schedule` when creating bookings for:
|
|
1652
|
+
* - __Course services__: Multi-session offerings spanning weeks or months (educational courses, training programs).
|
|
1653
|
+
* Wix Bookings enrolls participants in all sessions defined by the course schedule.
|
|
1654
|
+
*/
|
|
1655
|
+
schedule?: BookedSchedule;
|
|
1656
|
+
}
|
|
1657
|
+
interface BookedSlot {
|
|
1658
|
+
/**
|
|
1659
|
+
* Session ID. For class bookings, this is the ID of the existing session.
|
|
1660
|
+
* For appointment bookings, this field is typically empty during booking creation and gets populated when the booking is confirmed.
|
|
1661
|
+
*
|
|
1662
|
+
* __Migration Guidance__: Replace usage of this field with `eventId` from the [Time Slots V2 API](https://dev.wix.com/docs/api-reference/business-solutions/bookings/time-slots/time-slots-v2/introduction).
|
|
1663
|
+
* You can follow [these sample flows](https://dev.wix.com/docs/api-reference/business-solutions/bookings/end-to-end-booking-flows) for step-by-step guidance about determining availability and creating bookings.
|
|
1664
|
+
* @deprecated Session ID. For class bookings, this is the ID of the existing session.
|
|
1665
|
+
* For appointment bookings, this field is typically empty during booking creation and gets populated when the booking is confirmed.
|
|
1666
|
+
*
|
|
1667
|
+
* __Migration Guidance__: Replace usage of this field with `eventId` from the [Time Slots V2 API](https://dev.wix.com/docs/api-reference/business-solutions/bookings/time-slots/time-slots-v2/introduction).
|
|
1668
|
+
* You can follow [these sample flows](https://dev.wix.com/docs/api-reference/business-solutions/bookings/end-to-end-booking-flows) for step-by-step guidance about determining availability and creating bookings.
|
|
1669
|
+
* @replacedBy event_id
|
|
1670
|
+
* @targetRemovalDate 2026-03-31
|
|
1671
|
+
*/
|
|
1672
|
+
sessionId?: string | null;
|
|
1673
|
+
/** Service ID. */
|
|
1674
|
+
serviceId?: string;
|
|
1675
|
+
/** Schedule ID. */
|
|
1676
|
+
scheduleId?: string;
|
|
1677
|
+
/**
|
|
1678
|
+
* ID of the corresponding [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction).
|
|
1679
|
+
* Available for both appointment and class bookings, not available for course bookings.
|
|
1680
|
+
* For appointment-based services, Wix Bookings automatically populates `eventId` when the booking `status` changes to `CONFIRMED`.
|
|
1681
|
+
* For class bookings, Wix Bookings automatically populates `eventId` upon booking creation.
|
|
1682
|
+
* @minLength 36
|
|
1683
|
+
* @maxLength 250
|
|
1684
|
+
*/
|
|
1685
|
+
eventId?: string | null;
|
|
1686
|
+
/** The start time of this slot in `YYYY-MM-DDThh:mm:ss`, `YYYY-MM-DDThh:mm:ss:SSS`, or `YYYY-MM-DDThh:mm:ss:SSSZZ` [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601). For example, `2026-01-30T13:30:00`, `2026-01-30T13:30:00:000`, or `2026-01-30T13:30:00:000-05:00`. */
|
|
1687
|
+
startDate?: string | null;
|
|
1688
|
+
/** The end time of this slot in `YYYY-MM-DDThh:mm:ss`, `YYYY-MM-DDThh:mm:ss:SSS`, or `YYYY-MM-DDThh:mm:ss:SSSZZ` [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601). For example, `2026-01-30T13:30:00`, `2026-01-30T13:30:00:000`, or `2026-01-30T13:30:00:000-05:00`. */
|
|
1689
|
+
endDate?: string | null;
|
|
1690
|
+
/**
|
|
1691
|
+
* Time zone in [IANA tz database format](https://en.wikipedia.org/wiki/Tz_database).
|
|
1692
|
+
* For example, `America/New_York` or `UTC`. This is the time zone in which the slot was shown to the customer at the time of booking. Wix Bookings ensures that the slot is always displayed in this same time zone to the customer, including when they view or edit their booking in the future.
|
|
1693
|
+
*/
|
|
1694
|
+
timezone?: string | null;
|
|
1695
|
+
/**
|
|
1696
|
+
* [Primary resource](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resources-v2/introduction) for the booking.
|
|
1697
|
+
* For example, the [staff member](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/introduction) providing the service.
|
|
1698
|
+
*/
|
|
1699
|
+
resource?: BookedResource;
|
|
1700
|
+
/** Location where the session takes place. */
|
|
1701
|
+
location?: Location;
|
|
1702
|
+
/**
|
|
1703
|
+
* Information about how the customer has selected resources for the booking.
|
|
1704
|
+
* Each resource type may have a different selection method.
|
|
1705
|
+
* Check `resource` for resource details.
|
|
1706
|
+
* @maxSize 3
|
|
1707
|
+
*/
|
|
1708
|
+
resourceSelections?: ResourceSelection[];
|
|
1709
|
+
}
|
|
1710
|
+
interface BookedResource {
|
|
1711
|
+
/**
|
|
1712
|
+
* ID of the booking's primary resource.
|
|
1713
|
+
* @format GUID
|
|
1714
|
+
*/
|
|
1715
|
+
_id?: string;
|
|
1716
|
+
/**
|
|
1717
|
+
* Resource's name at the time of booking.
|
|
1718
|
+
* @maxLength 40
|
|
1719
|
+
*/
|
|
1720
|
+
name?: string | null;
|
|
1721
|
+
/**
|
|
1722
|
+
* Resource's email at the time of booking.
|
|
1723
|
+
* @maxLength 500
|
|
1724
|
+
*/
|
|
1725
|
+
email?: string | null;
|
|
1726
|
+
/**
|
|
1727
|
+
* ID of the schedule belonging to the booking's primary resource.
|
|
1728
|
+
* @format GUID
|
|
1729
|
+
*/
|
|
1730
|
+
scheduleId?: string | null;
|
|
1731
|
+
}
|
|
1732
|
+
interface Location {
|
|
1733
|
+
/**
|
|
1734
|
+
* Business location ID. Available only for locations that are business locations,
|
|
1735
|
+
* meaning the `location_type` is `"OWNER_BUSINESS"`.
|
|
1736
|
+
* @format GUID
|
|
1737
|
+
*/
|
|
1738
|
+
_id?: string | null;
|
|
1739
|
+
/** Location name. */
|
|
1740
|
+
name?: string | null;
|
|
1741
|
+
/** The full address of this location. */
|
|
1742
|
+
formattedAddress?: string | null;
|
|
1743
|
+
/**
|
|
1744
|
+
* The full translated address of this location.
|
|
1745
|
+
* @maxLength 512
|
|
1746
|
+
*/
|
|
1747
|
+
formattedAddressTranslated?: string | null;
|
|
1748
|
+
/** Location type. */
|
|
1749
|
+
locationType?: LocationTypeWithLiterals;
|
|
1750
|
+
}
|
|
1751
|
+
declare enum LocationType {
|
|
1752
|
+
/** Undefined location type. */
|
|
1753
|
+
UNDEFINED = "UNDEFINED",
|
|
1754
|
+
/** The business address, as set in the site’s general settings. */
|
|
1755
|
+
OWNER_BUSINESS = "OWNER_BUSINESS",
|
|
1756
|
+
/** The address as set when creating the service. */
|
|
1757
|
+
OWNER_CUSTOM = "OWNER_CUSTOM",
|
|
1758
|
+
/** The address as set for the individual session. */
|
|
1759
|
+
CUSTOM = "CUSTOM"
|
|
1760
|
+
}
|
|
1761
|
+
/** @enumType */
|
|
1762
|
+
type LocationTypeWithLiterals = LocationType | 'UNDEFINED' | 'OWNER_BUSINESS' | 'OWNER_CUSTOM' | 'CUSTOM';
|
|
1763
|
+
/** TODO: should we import it from services-2? */
|
|
1764
|
+
interface PhoneCall {
|
|
1765
|
+
/** Whether the service is delivered via phone call. */
|
|
1766
|
+
enabled?: boolean | null;
|
|
1767
|
+
}
|
|
1768
|
+
interface ResourceSelection {
|
|
1769
|
+
/**
|
|
1770
|
+
* ID of the [resource type](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resource-types-v2/introduction).
|
|
1771
|
+
* @format GUID
|
|
1772
|
+
*/
|
|
1773
|
+
resourceTypeId?: string | null;
|
|
1774
|
+
/** Information about how the customer has selected the resource for this resource type. */
|
|
1775
|
+
selectionMethod?: SelectionMethodWithLiterals;
|
|
1776
|
+
}
|
|
1777
|
+
declare enum SelectionMethod {
|
|
1778
|
+
/** There is no information about the resource selection method for this resource type. */
|
|
1779
|
+
UNKNOWN_SELECTION_METHOD = "UNKNOWN_SELECTION_METHOD",
|
|
1780
|
+
/** The customer explicitly chose a particular resource. */
|
|
1781
|
+
SPECIFIC_RESOURCE = "SPECIFIC_RESOURCE",
|
|
1782
|
+
/** The customer explicitly chose "any available resource" for this resource type. */
|
|
1783
|
+
ANY_RESOURCE = "ANY_RESOURCE",
|
|
1784
|
+
/** The customer wasn't offered a resource selection or agreement option for this resource type. */
|
|
1785
|
+
NO_SELECTION = "NO_SELECTION"
|
|
1786
|
+
}
|
|
1787
|
+
/** @enumType */
|
|
1788
|
+
type SelectionMethodWithLiterals = SelectionMethod | 'UNKNOWN_SELECTION_METHOD' | 'SPECIFIC_RESOURCE' | 'ANY_RESOURCE' | 'NO_SELECTION';
|
|
1789
|
+
interface BookedSchedule {
|
|
1790
|
+
/** [Schedule ID](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction). */
|
|
1791
|
+
scheduleId?: string;
|
|
1792
|
+
/**
|
|
1793
|
+
* Booked service ID.
|
|
1794
|
+
* @format GUID
|
|
1795
|
+
*/
|
|
1796
|
+
serviceId?: string | null;
|
|
1797
|
+
/**
|
|
1798
|
+
* [Location](https://dev.wix.com/docs/rest/business-management/locations/introduction) where the schedule's sessions take place.
|
|
1799
|
+
* @readonly
|
|
1800
|
+
*/
|
|
1801
|
+
location?: Location;
|
|
1802
|
+
/**
|
|
1803
|
+
* Time zone in [IANA tz database format](https://en.wikipedia.org/wiki/Tz_database).
|
|
1804
|
+
* For example, `America/New_York` or `UTC`. This is the time zone in which the schedule was shown to the customer at the time of booking. Wix Bookings ensures that the schedule is always displayed in this same time zone to the customer, including when they view or edit their booking in the future.
|
|
1805
|
+
*/
|
|
1806
|
+
timezone?: string | null;
|
|
1807
|
+
/**
|
|
1808
|
+
* Start time of the first session related to the booking in `YYYY-MM-DDThh:mm:ss`, `YYYY-MM-DDThh:mm:ss:SSS`, or `YYYY-MM-DDThh:mm:ss:SSSZZ` [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601). For example, `2026-01-30T13:30:00`, `2026-01-30T13:30:00:000`, or `2026-01-30T13:30:00:000-05:00`.
|
|
1809
|
+
* @readonly
|
|
1810
|
+
*/
|
|
1811
|
+
firstSessionStart?: string | null;
|
|
1812
|
+
/**
|
|
1813
|
+
* End time of the last session related to the booking in `YYYY-MM-DDThh:mm:ss`, `YYYY-MM-DDThh:mm:ss:SSS`, or `YYYY-MM-DDThh:mm:ss:SSSZZ` [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601). For example, `2026-01-30T13:30:00`, `2026-01-30T13:30:00:000`, or `2026-01-30T13:30:00:000-05:00`.
|
|
1814
|
+
* @readonly
|
|
1815
|
+
*/
|
|
1816
|
+
lastSessionEnd?: string | null;
|
|
1817
|
+
}
|
|
1818
|
+
interface ContactDetails {
|
|
1819
|
+
/**
|
|
1820
|
+
* Contact ID.
|
|
1821
|
+
* @format GUID
|
|
1822
|
+
*/
|
|
1823
|
+
contactId?: string | null;
|
|
1824
|
+
/**
|
|
1825
|
+
* Contact's first name. When populated from a standard booking form, this
|
|
1826
|
+
* property corresponds to the `name` field.
|
|
1827
|
+
*/
|
|
1828
|
+
firstName?: string | null;
|
|
1829
|
+
/** Contact's last name. */
|
|
1830
|
+
lastName?: string | null;
|
|
1831
|
+
/**
|
|
1832
|
+
* Contact's email. If no [contact](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/contacts/contact-v4/contact-object)
|
|
1833
|
+
* with this email exist, a new contact is created.
|
|
1834
|
+
* Used to validate coupon usage limitations per contact. If not specified,
|
|
1835
|
+
* the coupon usage limitation will not be enforced. (Coupon usage limitation
|
|
1836
|
+
* validation is not supported yet).
|
|
1837
|
+
* @format EMAIL
|
|
1838
|
+
*/
|
|
1839
|
+
email?: string | null;
|
|
1840
|
+
/** Contact's phone number. */
|
|
1841
|
+
phone?: string | null;
|
|
1842
|
+
/** Contact's full address. */
|
|
1843
|
+
fullAddress?: Address;
|
|
1844
|
+
/**
|
|
1845
|
+
* Contact's time zone.
|
|
1846
|
+
* @deprecated Contact's time zone.
|
|
1847
|
+
* @targetRemovalDate 2026-03-31
|
|
1848
|
+
*/
|
|
1849
|
+
timeZone?: string | null;
|
|
1850
|
+
/**
|
|
1851
|
+
* Contact's country in [ISO 3166-1 alpha-2 code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
|
|
1852
|
+
* format.
|
|
1853
|
+
* @format COUNTRY
|
|
1854
|
+
*/
|
|
1855
|
+
countryCode?: string | null;
|
|
1856
|
+
}
|
|
1857
|
+
/** Physical address */
|
|
1858
|
+
interface Address extends AddressStreetOneOf {
|
|
1859
|
+
/** Street name, number and apartment number. */
|
|
1860
|
+
streetAddress?: StreetAddress;
|
|
1861
|
+
/** Main address line, usually street and number, as free text. */
|
|
1862
|
+
addressLine?: string | null;
|
|
1863
|
+
/**
|
|
1864
|
+
* Country code.
|
|
1865
|
+
* @format COUNTRY
|
|
1866
|
+
*/
|
|
1867
|
+
country?: string | null;
|
|
1868
|
+
/** Subdivision. Usually state, region, prefecture or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). */
|
|
1869
|
+
subdivision?: string | null;
|
|
1870
|
+
/** City name. */
|
|
1871
|
+
city?: string | null;
|
|
1872
|
+
/** Zip/postal code. */
|
|
1873
|
+
postalCode?: string | null;
|
|
1874
|
+
/** Free text providing more detailed address info. Usually contains Apt, Suite, and Floor. */
|
|
1875
|
+
addressLine2?: string | null;
|
|
1876
|
+
/** A string containing the full address of this location. */
|
|
1877
|
+
formattedAddress?: string | null;
|
|
1878
|
+
/** Free text to help find the address. */
|
|
1879
|
+
hint?: string | null;
|
|
1880
|
+
/** Coordinates of the physical address. */
|
|
1881
|
+
geocode?: AddressLocation;
|
|
1882
|
+
/** Country full name. */
|
|
1883
|
+
countryFullname?: string | null;
|
|
1884
|
+
/** Multi-level subdivisions from top to bottom. */
|
|
1885
|
+
subdivisions?: Subdivision[];
|
|
1886
|
+
}
|
|
1887
|
+
/** @oneof */
|
|
1888
|
+
interface AddressStreetOneOf {
|
|
1889
|
+
/** Street name, number and apartment number. */
|
|
1890
|
+
streetAddress?: StreetAddress;
|
|
1891
|
+
/** Main address line, usually street and number, as free text. */
|
|
1892
|
+
addressLine?: string | null;
|
|
1893
|
+
}
|
|
1894
|
+
interface StreetAddress {
|
|
1895
|
+
/** Street number. */
|
|
1896
|
+
number?: string;
|
|
1897
|
+
/** Street name. */
|
|
1898
|
+
name?: string;
|
|
1899
|
+
/** Apartment number. */
|
|
1900
|
+
apt?: string;
|
|
1901
|
+
}
|
|
1902
|
+
interface AddressLocation {
|
|
1903
|
+
/** Address latitude. */
|
|
1904
|
+
latitude?: number | null;
|
|
1905
|
+
/** Address longitude. */
|
|
1906
|
+
longitude?: number | null;
|
|
1907
|
+
}
|
|
1908
|
+
interface Subdivision {
|
|
1909
|
+
/** Subdivision code. Usually state, region, prefecture or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). */
|
|
1910
|
+
code?: string;
|
|
1911
|
+
/** Subdivision full name. */
|
|
1912
|
+
name?: string;
|
|
1913
|
+
}
|
|
1914
|
+
interface CustomFormField {
|
|
1915
|
+
/**
|
|
1916
|
+
* ID of the form field as defined in the form.
|
|
1917
|
+
* @format GUID
|
|
1918
|
+
*/
|
|
1919
|
+
_id?: string;
|
|
1920
|
+
/** Value that was submitted for this field. */
|
|
1921
|
+
value?: string | null;
|
|
1922
|
+
/**
|
|
1923
|
+
* Form field's label at the time of submission.
|
|
1924
|
+
* @readonly
|
|
1925
|
+
*/
|
|
1926
|
+
label?: string | null;
|
|
1927
|
+
valueType?: ValueTypeWithLiterals;
|
|
1928
|
+
}
|
|
1929
|
+
declare enum ValueType {
|
|
1930
|
+
/** Short text. This is the default value type. */
|
|
1931
|
+
SHORT_TEXT = "SHORT_TEXT",
|
|
1932
|
+
/** Long text. */
|
|
1933
|
+
LONG_TEXT = "LONG_TEXT",
|
|
1934
|
+
/** A text that represents the check box value. If selected the value is `true`, otherwise `false`. */
|
|
1935
|
+
CHECK_BOX = "CHECK_BOX"
|
|
1936
|
+
}
|
|
1937
|
+
/** @enumType */
|
|
1938
|
+
type ValueTypeWithLiterals = ValueType | 'SHORT_TEXT' | 'LONG_TEXT' | 'CHECK_BOX';
|
|
1939
|
+
/** Booking status. */
|
|
1940
|
+
declare enum BookingStatus {
|
|
1941
|
+
/** The booking was created, but the customer hasn't completed the related eCommerce order yet. */
|
|
1942
|
+
CREATED = "CREATED",
|
|
1943
|
+
/** The merchant has confirmed the booking and it appears in the business calendar. Merchants can set up their [services](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/introduction) to automatically confirm all `PENDING` bookings. */
|
|
1944
|
+
CONFIRMED = "CONFIRMED",
|
|
1945
|
+
/**
|
|
1946
|
+
* The customer has canceled the booking. Depending on the relevant service's [policy snapshot](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policy-snapshots/introduction)
|
|
1947
|
+
* they may have to pay a [cancellation fee](https://dev.wix.com/docs/rest/business-solutions/bookings/pricing/booking-fees/introduction).
|
|
1948
|
+
*/
|
|
1949
|
+
CANCELED = "CANCELED",
|
|
1950
|
+
/** The merchant must manually confirm the booking before it appears in the business calendar. */
|
|
1951
|
+
PENDING = "PENDING",
|
|
1952
|
+
/** The merchant has declined the booking before the customer was charged. */
|
|
1953
|
+
DECLINED = "DECLINED",
|
|
1954
|
+
/** Currently, you can't call [Register to Waitlist](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/waitlist/register-to-waitlist) for course or appointment bookings, even though this is supported in live sites. */
|
|
1955
|
+
WAITING_LIST = "WAITING_LIST"
|
|
1956
|
+
}
|
|
1957
|
+
/** @enumType */
|
|
1958
|
+
type BookingStatusWithLiterals = BookingStatus | 'CREATED' | 'CONFIRMED' | 'CANCELED' | 'PENDING' | 'DECLINED' | 'WAITING_LIST';
|
|
1959
|
+
/**
|
|
1960
|
+
* Payment status.
|
|
1961
|
+
* Automatically updated when using eCommerce checkout APIs.
|
|
1962
|
+
*/
|
|
1963
|
+
declare enum PaymentStatus {
|
|
1964
|
+
/** Undefined payment status. */
|
|
1965
|
+
UNDEFINED = "UNDEFINED",
|
|
1966
|
+
/** The booking isn't paid. */
|
|
1967
|
+
NOT_PAID = "NOT_PAID",
|
|
1968
|
+
/** The booking is fully paid. */
|
|
1969
|
+
PAID = "PAID",
|
|
1970
|
+
/** The booking is partially paid. */
|
|
1971
|
+
PARTIALLY_PAID = "PARTIALLY_PAID",
|
|
1972
|
+
/** The booking is refunded. */
|
|
1973
|
+
REFUNDED = "REFUNDED",
|
|
1974
|
+
/** The booking is free of charge. */
|
|
1975
|
+
EXEMPT = "EXEMPT"
|
|
1976
|
+
}
|
|
1977
|
+
/** @enumType */
|
|
1978
|
+
type PaymentStatusWithLiterals = PaymentStatus | 'UNDEFINED' | 'NOT_PAID' | 'PAID' | 'PARTIALLY_PAID' | 'REFUNDED' | 'EXEMPT';
|
|
1979
|
+
/**
|
|
1980
|
+
* Selected payment option.
|
|
1981
|
+
*
|
|
1982
|
+
* One of the payment options offered by the service.
|
|
1983
|
+
* This field is set when the user selects an option during booking.
|
|
1984
|
+
* If left undefined, the payment option is resolved by the service configuration on checkout.
|
|
1985
|
+
*/
|
|
1986
|
+
declare enum SelectedPaymentOption {
|
|
1987
|
+
/** Undefined payment option. */
|
|
1988
|
+
UNDEFINED = "UNDEFINED",
|
|
1989
|
+
/** Offline payment. */
|
|
1990
|
+
OFFLINE = "OFFLINE",
|
|
1991
|
+
/** Online payment. */
|
|
1992
|
+
ONLINE = "ONLINE",
|
|
1993
|
+
/** Payment using a Wix Pricing Plan. */
|
|
1994
|
+
MEMBERSHIP = "MEMBERSHIP",
|
|
1995
|
+
/**
|
|
1996
|
+
* Customers can pay only in person with a Wix Pricing Plan, while the Wix user
|
|
1997
|
+
* must manually redeem the pricing plan in the dashboard.
|
|
1998
|
+
*/
|
|
1999
|
+
MEMBERSHIP_OFFLINE = "MEMBERSHIP_OFFLINE"
|
|
2000
|
+
}
|
|
2001
|
+
/** @enumType */
|
|
2002
|
+
type SelectedPaymentOptionWithLiterals = SelectedPaymentOption | 'UNDEFINED' | 'OFFLINE' | 'ONLINE' | 'MEMBERSHIP' | 'MEMBERSHIP_OFFLINE';
|
|
2003
|
+
interface BookingSource {
|
|
2004
|
+
/** Platform from which a booking was created. */
|
|
2005
|
+
platform?: PlatformWithLiterals;
|
|
2006
|
+
/** Actor that created this booking. */
|
|
2007
|
+
actor?: ActorWithLiterals;
|
|
2008
|
+
/**
|
|
2009
|
+
* Wix site ID of the application that created the booking.
|
|
2010
|
+
* @format GUID
|
|
2011
|
+
* @readonly
|
|
2012
|
+
*/
|
|
2013
|
+
appDefId?: string | null;
|
|
2014
|
+
/**
|
|
2015
|
+
* Name of the application that created the booking, as saved in Wix Developers Center at the time of booking.
|
|
2016
|
+
* @readonly
|
|
2017
|
+
*/
|
|
2018
|
+
appName?: string | null;
|
|
2019
|
+
}
|
|
2020
|
+
declare enum Platform {
|
|
2021
|
+
UNDEFINED_PLATFORM = "UNDEFINED_PLATFORM",
|
|
2022
|
+
WEB = "WEB",
|
|
2023
|
+
MOBILE_APP = "MOBILE_APP"
|
|
2024
|
+
}
|
|
2025
|
+
/** @enumType */
|
|
2026
|
+
type PlatformWithLiterals = Platform | 'UNDEFINED_PLATFORM' | 'WEB' | 'MOBILE_APP';
|
|
2027
|
+
declare enum Actor {
|
|
2028
|
+
UNDEFINED_ACTOR = "UNDEFINED_ACTOR",
|
|
2029
|
+
BUSINESS = "BUSINESS",
|
|
2030
|
+
CUSTOMER = "CUSTOMER"
|
|
2031
|
+
}
|
|
2032
|
+
/** @enumType */
|
|
2033
|
+
type ActorWithLiterals = Actor | 'UNDEFINED_ACTOR' | 'BUSINESS' | 'CUSTOMER';
|
|
2034
|
+
interface ParticipantNotification {
|
|
2035
|
+
/**
|
|
2036
|
+
* Whether to send a message about the changes to the customer.
|
|
2037
|
+
*
|
|
2038
|
+
* Default: `false`
|
|
2039
|
+
*/
|
|
2040
|
+
notifyParticipants?: boolean;
|
|
2041
|
+
/** Custom message to send to the participants about the changes to the booking. */
|
|
2042
|
+
message?: string | null;
|
|
2043
|
+
/**
|
|
2044
|
+
* Information about the delivery channels used to send the notification.
|
|
2045
|
+
* For example, `{"channels": "SMS" }`, `{"channels": "EMAIL" }`, or `{"channels": "EMAIL, SMS" }`.
|
|
2046
|
+
*/
|
|
2047
|
+
metadata?: Record<string, string>;
|
|
2048
|
+
}
|
|
2049
|
+
interface CommonIdentificationData extends CommonIdentificationDataIdOneOf {
|
|
2050
|
+
/**
|
|
2051
|
+
* ID of a site visitor that has not logged in to the site.
|
|
2052
|
+
* @format GUID
|
|
2053
|
+
*/
|
|
2054
|
+
anonymousVisitorId?: string;
|
|
2055
|
+
/**
|
|
2056
|
+
* ID of a site visitor that has logged in to the site.
|
|
2057
|
+
* @format GUID
|
|
2058
|
+
*/
|
|
2059
|
+
memberId?: string;
|
|
2060
|
+
/**
|
|
2061
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
2062
|
+
* @format GUID
|
|
2063
|
+
*/
|
|
2064
|
+
wixUserId?: string;
|
|
2065
|
+
/**
|
|
2066
|
+
* ID of an app.
|
|
2067
|
+
* @format GUID
|
|
2068
|
+
*/
|
|
2069
|
+
appId?: string;
|
|
2070
|
+
/**
|
|
2071
|
+
* ID of of a contact in the site's [CRM by Ascend](https://www.wix.com/ascend/crm) system.
|
|
2072
|
+
* @format GUID
|
|
2073
|
+
*/
|
|
2074
|
+
contactId?: string | null;
|
|
2075
|
+
}
|
|
2076
|
+
/** @oneof */
|
|
2077
|
+
interface CommonIdentificationDataIdOneOf {
|
|
2078
|
+
/**
|
|
2079
|
+
* ID of a site visitor that has not logged in to the site.
|
|
2080
|
+
* @format GUID
|
|
2081
|
+
*/
|
|
2082
|
+
anonymousVisitorId?: string;
|
|
2083
|
+
/**
|
|
2084
|
+
* ID of a site visitor that has logged in to the site.
|
|
2085
|
+
* @format GUID
|
|
2086
|
+
*/
|
|
2087
|
+
memberId?: string;
|
|
2088
|
+
/**
|
|
2089
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
2090
|
+
* @format GUID
|
|
2091
|
+
*/
|
|
2092
|
+
wixUserId?: string;
|
|
2093
|
+
/**
|
|
2094
|
+
* ID of an app.
|
|
2095
|
+
* @format GUID
|
|
2096
|
+
*/
|
|
2097
|
+
appId?: string;
|
|
2098
|
+
}
|
|
2099
|
+
declare enum IdentityType {
|
|
2100
|
+
UNKNOWN = "UNKNOWN",
|
|
2101
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
2102
|
+
MEMBER = "MEMBER",
|
|
2103
|
+
WIX_USER = "WIX_USER",
|
|
2104
|
+
APP = "APP"
|
|
2105
|
+
}
|
|
2106
|
+
/** @enumType */
|
|
2107
|
+
type IdentityTypeWithLiterals = IdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
2108
|
+
/**
|
|
2109
|
+
* Settings that control booking flow behavior and override default business rules.
|
|
2110
|
+
*
|
|
2111
|
+
* These settings allow administrators to bypass standard validation checks
|
|
2112
|
+
* and policies when creating, confirming, rescheduling, or canceling bookings.
|
|
2113
|
+
* Most settings require elevated permissions to use.
|
|
2114
|
+
*
|
|
2115
|
+
* Use flow control settings to handle special scenarios like:
|
|
2116
|
+
* - Emergency bookings outside normal business hours
|
|
2117
|
+
* - Admin-initiated bookings that bypass availability checks
|
|
2118
|
+
* - Custom payment flows that don't use standard eCommerce checkout
|
|
2119
|
+
* - Overriding cancellation or rescheduling policies in exceptional cases
|
|
2120
|
+
*/
|
|
2121
|
+
interface FlowControlSettings {
|
|
2122
|
+
/** Whether availability is checked when creating or confirming the booking. */
|
|
2123
|
+
skipAvailabilityValidation?: boolean;
|
|
2124
|
+
/**
|
|
2125
|
+
* Whether the booking's `status` is automatically updated to `CONFIRMED` when
|
|
2126
|
+
* the customer completes the [eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction),
|
|
2127
|
+
* regardless of whether the relevant service requires manual business confirmation.
|
|
2128
|
+
*/
|
|
2129
|
+
skipBusinessConfirmation?: boolean;
|
|
2130
|
+
/**
|
|
2131
|
+
* Whether the customer is allowed to pay with a payment method that isn't
|
|
2132
|
+
* supported for the relevant service.
|
|
2133
|
+
*/
|
|
2134
|
+
skipSelectedPaymentOptionValidation?: boolean;
|
|
2135
|
+
/**
|
|
2136
|
+
* Whether the customer receives an automatic refund if there's a double booking
|
|
2137
|
+
* conflict. Only available if the customer has paid with a
|
|
2138
|
+
* pricing plan.
|
|
2139
|
+
*/
|
|
2140
|
+
withRefund?: boolean | null;
|
|
2141
|
+
/**
|
|
2142
|
+
* Whether [add-on](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/add-ons/introduction) validations are skipped when creating a booking.
|
|
2143
|
+
* For example, customers can choose an add-on from an [add-on group](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/about-add-on-groups) that's not associated with the service or choose more than the maximum number of different add-ons from a group.
|
|
2144
|
+
* The calling [identity](https://dev.wix.com/docs/build-apps/develop-your-app/access/about-identities) must have `BOOKINGS.MANAGE_ADDONS` permissions when specifying `true`.
|
|
2145
|
+
*
|
|
2146
|
+
* Default: `false`.
|
|
2147
|
+
*/
|
|
2148
|
+
skipAddOnValidation?: boolean | null;
|
|
2149
|
+
}
|
|
2150
|
+
interface ParticipantChoices {
|
|
2151
|
+
/**
|
|
2152
|
+
* Information about the booked service choices. Includes the number of participants.
|
|
2153
|
+
* @minSize 1
|
|
2154
|
+
* @maxSize 20
|
|
2155
|
+
*/
|
|
2156
|
+
serviceChoices?: ServiceChoices[];
|
|
2157
|
+
}
|
|
2158
|
+
interface ServiceChoices {
|
|
2159
|
+
/**
|
|
2160
|
+
* Number of participants for this [variant](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction).
|
|
2161
|
+
* @min 1
|
|
2162
|
+
*/
|
|
2163
|
+
numberOfParticipants?: number | null;
|
|
2164
|
+
/**
|
|
2165
|
+
* Service choices for these participants.
|
|
2166
|
+
* @maxSize 5
|
|
2167
|
+
*/
|
|
2168
|
+
choices?: ServiceChoice[];
|
|
2169
|
+
}
|
|
2170
|
+
interface ServiceChoice extends ServiceChoiceChoiceOneOf {
|
|
2171
|
+
/**
|
|
2172
|
+
* Value for one of the choices in the [`CustomServiceOption.choices`](https://example.com) list.
|
|
2173
|
+
* Choices are specific values for an option the customer can choose to book. For example,
|
|
2174
|
+
* the option `ageGroup` may have these choices: `child`, `student`, `adult`, and `senior`.
|
|
2175
|
+
* Each choice may have a different price.
|
|
2176
|
+
*/
|
|
2177
|
+
custom?: string;
|
|
2178
|
+
duration?: Duration;
|
|
2179
|
+
/**
|
|
2180
|
+
* ID of the corresponding option for the choice. For example, the choice `child`
|
|
2181
|
+
* could correspond to the option `ageGroup`. In this case, `optionId` is the ID
|
|
2182
|
+
* for the `ageGroup` option.
|
|
2183
|
+
* @format GUID
|
|
2184
|
+
*/
|
|
2185
|
+
optionId?: string;
|
|
2186
|
+
}
|
|
2187
|
+
/** @oneof */
|
|
2188
|
+
interface ServiceChoiceChoiceOneOf {
|
|
2189
|
+
/**
|
|
2190
|
+
* Value for one of the choices in the [`CustomServiceOption.choices`](https://example.com) list.
|
|
2191
|
+
* Choices are specific values for an option the customer can choose to book. For example,
|
|
2192
|
+
* the option `ageGroup` may have these choices: `child`, `student`, `adult`, and `senior`.
|
|
2193
|
+
* Each choice may have a different price.
|
|
2194
|
+
*/
|
|
2195
|
+
custom?: string;
|
|
2196
|
+
duration?: Duration;
|
|
2197
|
+
}
|
|
2198
|
+
interface Duration {
|
|
2199
|
+
/**
|
|
2200
|
+
* Duration of the service in minutes.
|
|
2201
|
+
* Min: 1 minute, Max: 30 days, 23 hours, and 59 minutes
|
|
2202
|
+
* @min 1
|
|
2203
|
+
* @max 44639
|
|
2204
|
+
*/
|
|
2205
|
+
minutes?: number;
|
|
2206
|
+
/**
|
|
2207
|
+
* Name of the duration option.
|
|
2208
|
+
* Defaults to the formatted duration e.g. "1 hour, 30 minutes".
|
|
2209
|
+
* @maxLength 255
|
|
2210
|
+
*/
|
|
2211
|
+
name?: string | null;
|
|
2212
|
+
}
|
|
2213
|
+
interface MultiServiceBookingInfo {
|
|
2214
|
+
/**
|
|
2215
|
+
* Multi-service booking ID.
|
|
2216
|
+
* @format GUID
|
|
2217
|
+
* @readonly
|
|
2218
|
+
*/
|
|
2219
|
+
_id?: string | null;
|
|
2220
|
+
/** Type of the multi-service booking. */
|
|
2221
|
+
type?: MultiServiceBookingTypeWithLiterals;
|
|
2222
|
+
}
|
|
2223
|
+
interface BookedAddOn {
|
|
2224
|
+
/**
|
|
2225
|
+
* The ID of the add-on.
|
|
2226
|
+
* @format GUID
|
|
2227
|
+
*/
|
|
2228
|
+
_id?: string;
|
|
2229
|
+
/**
|
|
2230
|
+
* The ID of the add-on group.
|
|
2231
|
+
* @format GUID
|
|
2232
|
+
*/
|
|
2233
|
+
groupId?: string;
|
|
2234
|
+
/**
|
|
2235
|
+
* The add-on duration in minutes at the time of booking.
|
|
2236
|
+
* Populated for duration-based add-ons.
|
|
2237
|
+
* @min 1
|
|
2238
|
+
* @max 1440
|
|
2239
|
+
* @readonly
|
|
2240
|
+
*/
|
|
2241
|
+
durationInMinutes?: number | null;
|
|
2242
|
+
/**
|
|
2243
|
+
* The quantity of booked add-ons.
|
|
2244
|
+
* For duration-based add-ons, `quantity` is not applicable.
|
|
2245
|
+
* If `quantity` is provided as `1` for a duration-based add-on, it will be accepted but the value will be cleared.
|
|
2246
|
+
* If any other value is provided, an `INVALID_ARGUMENT` error will be returned with the message: "Invalid AddOn details: either duration or quantity must be set correctly".
|
|
2247
|
+
* @min 1
|
|
2248
|
+
* @max 1000
|
|
2249
|
+
*/
|
|
2250
|
+
quantity?: number | null;
|
|
2251
|
+
/**
|
|
2252
|
+
* Add-on `name` at the time of booking.
|
|
2253
|
+
* @maxLength 100
|
|
2254
|
+
* @readonly
|
|
2255
|
+
*/
|
|
2256
|
+
name?: string | null;
|
|
2257
|
+
/**
|
|
2258
|
+
* Add-on name translated to the language the customer used during booking.
|
|
2259
|
+
* @maxLength 100
|
|
2260
|
+
* @readonly
|
|
2261
|
+
*/
|
|
2262
|
+
nameTranslated?: string | null;
|
|
2263
|
+
}
|
|
2264
|
+
interface DomainEvent extends DomainEventBodyOneOf {
|
|
2265
|
+
createdEvent?: EntityCreatedEvent;
|
|
2266
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
2267
|
+
deletedEvent?: EntityDeletedEvent;
|
|
2268
|
+
actionEvent?: ActionEvent;
|
|
2269
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
2270
|
+
_id?: string;
|
|
2271
|
+
/**
|
|
2272
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
2273
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
2274
|
+
*/
|
|
2275
|
+
entityFqdn?: string;
|
|
2276
|
+
/**
|
|
2277
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
2278
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
2279
|
+
*/
|
|
2280
|
+
slug?: string;
|
|
2281
|
+
/** ID of the entity associated with the event. */
|
|
2282
|
+
entityId?: string;
|
|
2283
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
2284
|
+
eventTime?: Date | null;
|
|
2285
|
+
/**
|
|
2286
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
2287
|
+
* (for example, GDPR).
|
|
2288
|
+
*/
|
|
2289
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
2290
|
+
/** If present, indicates the action that triggered the event. */
|
|
2291
|
+
originatedFrom?: string | null;
|
|
2292
|
+
/**
|
|
2293
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
2294
|
+
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
2295
|
+
*/
|
|
2296
|
+
entityEventSequence?: string | null;
|
|
2297
|
+
}
|
|
2298
|
+
/** @oneof */
|
|
2299
|
+
interface DomainEventBodyOneOf {
|
|
2300
|
+
createdEvent?: EntityCreatedEvent;
|
|
2301
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
2302
|
+
deletedEvent?: EntityDeletedEvent;
|
|
2303
|
+
actionEvent?: ActionEvent;
|
|
2304
|
+
}
|
|
2305
|
+
interface EntityCreatedEvent {
|
|
2306
|
+
entity?: string;
|
|
2307
|
+
}
|
|
2308
|
+
interface RestoreInfo {
|
|
2309
|
+
deletedDate?: Date | null;
|
|
2310
|
+
}
|
|
2311
|
+
interface EntityUpdatedEvent {
|
|
2312
|
+
/**
|
|
2313
|
+
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
2314
|
+
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
2315
|
+
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
2316
|
+
*/
|
|
2317
|
+
currentEntity?: string;
|
|
2318
|
+
}
|
|
2319
|
+
interface EntityDeletedEvent {
|
|
2320
|
+
/** Entity that was deleted. */
|
|
2321
|
+
deletedEntity?: string | null;
|
|
2322
|
+
}
|
|
2323
|
+
interface ActionEvent {
|
|
2324
|
+
body?: string;
|
|
2325
|
+
}
|
|
2326
|
+
interface MessageEnvelope {
|
|
2327
|
+
/**
|
|
2328
|
+
* App instance ID.
|
|
2329
|
+
* @format GUID
|
|
2330
|
+
*/
|
|
2331
|
+
instanceId?: string | null;
|
|
2332
|
+
/**
|
|
2333
|
+
* Event type.
|
|
2334
|
+
* @maxLength 150
|
|
2335
|
+
*/
|
|
2336
|
+
eventType?: string;
|
|
2337
|
+
/** The identification type and identity data. */
|
|
2338
|
+
identity?: IdentificationData;
|
|
2339
|
+
/** Stringify payload. */
|
|
2340
|
+
data?: string;
|
|
2341
|
+
/** Details related to the account */
|
|
2342
|
+
accountInfo?: AccountInfo;
|
|
2343
|
+
}
|
|
2344
|
+
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
2345
|
+
/**
|
|
2346
|
+
* ID of a site visitor that has not logged in to the site.
|
|
2347
|
+
* @format GUID
|
|
2348
|
+
*/
|
|
2349
|
+
anonymousVisitorId?: string;
|
|
2350
|
+
/**
|
|
2351
|
+
* ID of a site visitor that has logged in to the site.
|
|
2352
|
+
* @format GUID
|
|
2353
|
+
*/
|
|
2354
|
+
memberId?: string;
|
|
2355
|
+
/**
|
|
2356
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
2357
|
+
* @format GUID
|
|
1262
2358
|
*/
|
|
1263
|
-
|
|
2359
|
+
wixUserId?: string;
|
|
1264
2360
|
/**
|
|
1265
|
-
*
|
|
1266
|
-
* @
|
|
2361
|
+
* ID of an app.
|
|
2362
|
+
* @format GUID
|
|
1267
2363
|
*/
|
|
1268
|
-
|
|
2364
|
+
appId?: string;
|
|
2365
|
+
/** @readonly */
|
|
2366
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
1269
2367
|
}
|
|
1270
|
-
|
|
2368
|
+
/** @oneof */
|
|
2369
|
+
interface IdentificationDataIdOneOf {
|
|
1271
2370
|
/**
|
|
1272
|
-
* ID of the
|
|
1273
|
-
* Wix Bookings automatically populates this field when creating or updating an add-on group.
|
|
1274
|
-
* @readonly
|
|
2371
|
+
* ID of a site visitor that has not logged in to the site.
|
|
1275
2372
|
* @format GUID
|
|
1276
2373
|
*/
|
|
1277
|
-
|
|
2374
|
+
anonymousVisitorId?: string;
|
|
1278
2375
|
/**
|
|
1279
|
-
*
|
|
1280
|
-
* @
|
|
2376
|
+
* ID of a site visitor that has logged in to the site.
|
|
2377
|
+
* @format GUID
|
|
1281
2378
|
*/
|
|
1282
|
-
|
|
2379
|
+
memberId?: string;
|
|
1283
2380
|
/**
|
|
1284
|
-
*
|
|
1285
|
-
*
|
|
2381
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
2382
|
+
* @format GUID
|
|
1286
2383
|
*/
|
|
1287
|
-
|
|
2384
|
+
wixUserId?: string;
|
|
1288
2385
|
/**
|
|
1289
|
-
*
|
|
2386
|
+
* ID of an app.
|
|
1290
2387
|
* @format GUID
|
|
1291
|
-
* @maxSize 7
|
|
1292
2388
|
*/
|
|
1293
|
-
|
|
2389
|
+
appId?: string;
|
|
2390
|
+
}
|
|
2391
|
+
declare enum WebhookIdentityType {
|
|
2392
|
+
UNKNOWN = "UNKNOWN",
|
|
2393
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
2394
|
+
MEMBER = "MEMBER",
|
|
2395
|
+
WIX_USER = "WIX_USER",
|
|
2396
|
+
APP = "APP"
|
|
2397
|
+
}
|
|
2398
|
+
/** @enumType */
|
|
2399
|
+
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
2400
|
+
interface AccountInfo {
|
|
1294
2401
|
/**
|
|
1295
|
-
*
|
|
1296
|
-
* @
|
|
2402
|
+
* ID of the Wix account associated with the event.
|
|
2403
|
+
* @format GUID
|
|
1297
2404
|
*/
|
|
1298
|
-
|
|
1299
|
-
}
|
|
1300
|
-
interface AddOnDetails {
|
|
2405
|
+
accountId?: string | null;
|
|
1301
2406
|
/**
|
|
1302
|
-
* ID of the
|
|
2407
|
+
* ID of the parent Wix account. Only included when accountId belongs to a child account.
|
|
1303
2408
|
* @format GUID
|
|
1304
2409
|
*/
|
|
1305
|
-
|
|
2410
|
+
parentAccountId?: string | null;
|
|
1306
2411
|
/**
|
|
1307
|
-
*
|
|
1308
|
-
*
|
|
2412
|
+
* ID of the Wix site associated with the event. Only included when the event is tied to a specific site.
|
|
2413
|
+
* @format GUID
|
|
1309
2414
|
*/
|
|
1310
|
-
|
|
1311
|
-
}
|
|
1312
|
-
/** `TaxableAddress` defines the taxable address used for the service. */
|
|
1313
|
-
interface TaxableAddress {
|
|
1314
|
-
/** Taxable address type. */
|
|
1315
|
-
taxableAddressType?: TaxableAddressTypeWithLiterals;
|
|
1316
|
-
}
|
|
1317
|
-
declare enum TaxableAddressType {
|
|
1318
|
-
UNKNOWN_TAXABLE_ADDRESS_TYPE = "UNKNOWN_TAXABLE_ADDRESS_TYPE",
|
|
1319
|
-
BUSINESS = "BUSINESS",
|
|
1320
|
-
BILLING = "BILLING"
|
|
1321
|
-
}
|
|
1322
|
-
/** @enumType */
|
|
1323
|
-
type TaxableAddressTypeWithLiterals = TaxableAddressType | 'UNKNOWN_TAXABLE_ADDRESS_TYPE' | 'BUSINESS' | 'BILLING';
|
|
1324
|
-
interface PhoneCall {
|
|
1325
|
-
/** Whether the service is delivered via phone call. */
|
|
1326
|
-
enabled?: boolean | null;
|
|
1327
|
-
}
|
|
1328
|
-
interface SetCustomSlugEvent {
|
|
1329
|
-
/** The main slug for the service after the update */
|
|
1330
|
-
mainSlug?: Slug;
|
|
1331
|
-
}
|
|
1332
|
-
interface ServicesUrlsChanged {
|
|
2415
|
+
siteId?: string | null;
|
|
1333
2416
|
}
|
|
1334
2417
|
interface CreateServiceRequest {
|
|
1335
2418
|
/** Service to create. */
|
|
@@ -1469,7 +2552,7 @@ interface ServiceAvailabilityConstraints {
|
|
|
1469
2552
|
* @readonly
|
|
1470
2553
|
* @maxSize 100
|
|
1471
2554
|
*/
|
|
1472
|
-
locations?:
|
|
2555
|
+
locations?: V2Location[];
|
|
1473
2556
|
/**
|
|
1474
2557
|
* Resource groups required to book the service. For backward compatibility only. Use `Service Resources` instead.
|
|
1475
2558
|
* @maxSize 3
|
|
@@ -1570,9 +2653,9 @@ interface DeleteServiceRequest {
|
|
|
1570
2653
|
* Whether to notify participants about the change and an optional
|
|
1571
2654
|
* custom message.
|
|
1572
2655
|
*/
|
|
1573
|
-
participantNotification?:
|
|
2656
|
+
participantNotification?: V2ParticipantNotification;
|
|
1574
2657
|
}
|
|
1575
|
-
interface
|
|
2658
|
+
interface V2ParticipantNotification {
|
|
1576
2659
|
/**
|
|
1577
2660
|
* Whether to send a message about the changes to the customer.
|
|
1578
2661
|
*
|
|
@@ -1604,7 +2687,7 @@ interface BulkDeleteServicesRequest {
|
|
|
1604
2687
|
* Whether to notify participants about the change and an optional
|
|
1605
2688
|
* custom message.
|
|
1606
2689
|
*/
|
|
1607
|
-
participantNotification?:
|
|
2690
|
+
participantNotification?: V2ParticipantNotification;
|
|
1608
2691
|
}
|
|
1609
2692
|
interface BulkDeleteServicesResponse {
|
|
1610
2693
|
/** The result of each service removal. */
|
|
@@ -1622,7 +2705,7 @@ interface BulkDeleteServicesByFilterRequest {
|
|
|
1622
2705
|
*/
|
|
1623
2706
|
preserveFutureSessionsWithParticipants?: boolean;
|
|
1624
2707
|
/** Whether to notify participants about the change and an optional custom message. */
|
|
1625
|
-
participantNotification?:
|
|
2708
|
+
participantNotification?: V2ParticipantNotification;
|
|
1626
2709
|
}
|
|
1627
2710
|
interface BulkDeleteServicesByFilterResponse {
|
|
1628
2711
|
/**
|
|
@@ -2480,7 +3563,7 @@ interface BusinessLocations {
|
|
|
2480
3563
|
* Retrieved business locations.
|
|
2481
3564
|
* @maxSize 100
|
|
2482
3565
|
*/
|
|
2483
|
-
locations?:
|
|
3566
|
+
locations?: V2Location[];
|
|
2484
3567
|
}
|
|
2485
3568
|
interface CustomLocations {
|
|
2486
3569
|
/**
|
|
@@ -2539,7 +3622,7 @@ interface SetServiceLocationsRequest {
|
|
|
2539
3622
|
* List of locations replacing existing service locations. Omitting an existing location removes it from the service. Specify `removedLocationSessionsAction` to determine the handling of future sessions scheduled at that location.
|
|
2540
3623
|
* @maxSize 100
|
|
2541
3624
|
*/
|
|
2542
|
-
locations?:
|
|
3625
|
+
locations?: V2Location[];
|
|
2543
3626
|
/**
|
|
2544
3627
|
* The action to perform on sessions currently set to a removed location. For
|
|
2545
3628
|
* example, move existing sessions to a new specified location.
|
|
@@ -2550,7 +3633,7 @@ interface SetServiceLocationsRequest {
|
|
|
2550
3633
|
* Whether to notify participants about the change of location, and an
|
|
2551
3634
|
* Optional custom message. The notification is sent only to participants of sessions that are affected by the change.
|
|
2552
3635
|
*/
|
|
2553
|
-
participantNotification?:
|
|
3636
|
+
participantNotification?: V2ParticipantNotification;
|
|
2554
3637
|
}
|
|
2555
3638
|
interface RemovedLocationSessionsAction extends RemovedLocationSessionsActionActionOptionsOneOf {
|
|
2556
3639
|
/**
|
|
@@ -2585,7 +3668,7 @@ declare enum Action {
|
|
|
2585
3668
|
type ActionWithLiterals = Action | 'UNKNOWN_ACTION_TYPE' | 'KEEP_AT_CURRENT_LOCATION' | 'MOVE_TO_LOCATION' | 'DELETE';
|
|
2586
3669
|
interface MoveToNewLocationsOptions {
|
|
2587
3670
|
/** The new location to move existing sessions currently set to a removed location, used when `action` is `MOVE_TO_LOCATION`. */
|
|
2588
|
-
newLocation?:
|
|
3671
|
+
newLocation?: V2Location;
|
|
2589
3672
|
}
|
|
2590
3673
|
interface SetServiceLocationsResponse {
|
|
2591
3674
|
/** The updated service with the newly set locations. */
|
|
@@ -2787,68 +3870,6 @@ declare enum CategoryNotificationEvent {
|
|
|
2787
3870
|
type CategoryNotificationEventWithLiterals = CategoryNotificationEvent | 'Updated' | 'Deleted' | 'Created';
|
|
2788
3871
|
interface Empty {
|
|
2789
3872
|
}
|
|
2790
|
-
interface DomainEvent extends DomainEventBodyOneOf {
|
|
2791
|
-
createdEvent?: EntityCreatedEvent;
|
|
2792
|
-
updatedEvent?: EntityUpdatedEvent;
|
|
2793
|
-
deletedEvent?: EntityDeletedEvent;
|
|
2794
|
-
actionEvent?: ActionEvent;
|
|
2795
|
-
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
2796
|
-
_id?: string;
|
|
2797
|
-
/**
|
|
2798
|
-
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
2799
|
-
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
2800
|
-
*/
|
|
2801
|
-
entityFqdn?: string;
|
|
2802
|
-
/**
|
|
2803
|
-
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
2804
|
-
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
2805
|
-
*/
|
|
2806
|
-
slug?: string;
|
|
2807
|
-
/** ID of the entity associated with the event. */
|
|
2808
|
-
entityId?: string;
|
|
2809
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
2810
|
-
eventTime?: Date | null;
|
|
2811
|
-
/**
|
|
2812
|
-
* Whether the event was triggered as a result of a privacy regulation application
|
|
2813
|
-
* (for example, GDPR).
|
|
2814
|
-
*/
|
|
2815
|
-
triggeredByAnonymizeRequest?: boolean | null;
|
|
2816
|
-
/** If present, indicates the action that triggered the event. */
|
|
2817
|
-
originatedFrom?: string | null;
|
|
2818
|
-
/**
|
|
2819
|
-
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
2820
|
-
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
2821
|
-
*/
|
|
2822
|
-
entityEventSequence?: string | null;
|
|
2823
|
-
}
|
|
2824
|
-
/** @oneof */
|
|
2825
|
-
interface DomainEventBodyOneOf {
|
|
2826
|
-
createdEvent?: EntityCreatedEvent;
|
|
2827
|
-
updatedEvent?: EntityUpdatedEvent;
|
|
2828
|
-
deletedEvent?: EntityDeletedEvent;
|
|
2829
|
-
actionEvent?: ActionEvent;
|
|
2830
|
-
}
|
|
2831
|
-
interface EntityCreatedEvent {
|
|
2832
|
-
entity?: string;
|
|
2833
|
-
}
|
|
2834
|
-
interface RestoreInfo {
|
|
2835
|
-
deletedDate?: Date | null;
|
|
2836
|
-
}
|
|
2837
|
-
interface EntityUpdatedEvent {
|
|
2838
|
-
/**
|
|
2839
|
-
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
2840
|
-
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
2841
|
-
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
2842
|
-
*/
|
|
2843
|
-
currentEntity?: string;
|
|
2844
|
-
}
|
|
2845
|
-
interface EntityDeletedEvent {
|
|
2846
|
-
/** Entity that was deleted. */
|
|
2847
|
-
deletedEntity?: string | null;
|
|
2848
|
-
}
|
|
2849
|
-
interface ActionEvent {
|
|
2850
|
-
body?: string;
|
|
2851
|
-
}
|
|
2852
3873
|
interface BenefitNotification {
|
|
2853
3874
|
/**
|
|
2854
3875
|
* Plan unique ID
|
|
@@ -3061,7 +4082,7 @@ interface Properties {
|
|
|
3061
4082
|
/** Fax number. */
|
|
3062
4083
|
fax?: string | null;
|
|
3063
4084
|
/** Address. */
|
|
3064
|
-
address?:
|
|
4085
|
+
address?: V4Address;
|
|
3065
4086
|
/** Site display name. */
|
|
3066
4087
|
siteDisplayName?: string | null;
|
|
3067
4088
|
/** Business name. */
|
|
@@ -3108,7 +4129,7 @@ interface Locale {
|
|
|
3108
4129
|
/** Two-letter country code in [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) format. */
|
|
3109
4130
|
country?: string;
|
|
3110
4131
|
}
|
|
3111
|
-
interface
|
|
4132
|
+
interface V4Address {
|
|
3112
4133
|
/** Street name. */
|
|
3113
4134
|
street?: string;
|
|
3114
4135
|
/** City name. */
|
|
@@ -3298,97 +4319,6 @@ interface SiteCloned {
|
|
|
3298
4319
|
/** Origin site id. */
|
|
3299
4320
|
originMetaSiteId?: string;
|
|
3300
4321
|
}
|
|
3301
|
-
interface MessageEnvelope {
|
|
3302
|
-
/**
|
|
3303
|
-
* App instance ID.
|
|
3304
|
-
* @format GUID
|
|
3305
|
-
*/
|
|
3306
|
-
instanceId?: string | null;
|
|
3307
|
-
/**
|
|
3308
|
-
* Event type.
|
|
3309
|
-
* @maxLength 150
|
|
3310
|
-
*/
|
|
3311
|
-
eventType?: string;
|
|
3312
|
-
/** The identification type and identity data. */
|
|
3313
|
-
identity?: IdentificationData;
|
|
3314
|
-
/** Stringify payload. */
|
|
3315
|
-
data?: string;
|
|
3316
|
-
/** Details related to the account */
|
|
3317
|
-
accountInfo?: AccountInfo;
|
|
3318
|
-
}
|
|
3319
|
-
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
3320
|
-
/**
|
|
3321
|
-
* ID of a site visitor that has not logged in to the site.
|
|
3322
|
-
* @format GUID
|
|
3323
|
-
*/
|
|
3324
|
-
anonymousVisitorId?: string;
|
|
3325
|
-
/**
|
|
3326
|
-
* ID of a site visitor that has logged in to the site.
|
|
3327
|
-
* @format GUID
|
|
3328
|
-
*/
|
|
3329
|
-
memberId?: string;
|
|
3330
|
-
/**
|
|
3331
|
-
* ID of a Wix user (site owner, contributor, etc.).
|
|
3332
|
-
* @format GUID
|
|
3333
|
-
*/
|
|
3334
|
-
wixUserId?: string;
|
|
3335
|
-
/**
|
|
3336
|
-
* ID of an app.
|
|
3337
|
-
* @format GUID
|
|
3338
|
-
*/
|
|
3339
|
-
appId?: string;
|
|
3340
|
-
/** @readonly */
|
|
3341
|
-
identityType?: WebhookIdentityTypeWithLiterals;
|
|
3342
|
-
}
|
|
3343
|
-
/** @oneof */
|
|
3344
|
-
interface IdentificationDataIdOneOf {
|
|
3345
|
-
/**
|
|
3346
|
-
* ID of a site visitor that has not logged in to the site.
|
|
3347
|
-
* @format GUID
|
|
3348
|
-
*/
|
|
3349
|
-
anonymousVisitorId?: string;
|
|
3350
|
-
/**
|
|
3351
|
-
* ID of a site visitor that has logged in to the site.
|
|
3352
|
-
* @format GUID
|
|
3353
|
-
*/
|
|
3354
|
-
memberId?: string;
|
|
3355
|
-
/**
|
|
3356
|
-
* ID of a Wix user (site owner, contributor, etc.).
|
|
3357
|
-
* @format GUID
|
|
3358
|
-
*/
|
|
3359
|
-
wixUserId?: string;
|
|
3360
|
-
/**
|
|
3361
|
-
* ID of an app.
|
|
3362
|
-
* @format GUID
|
|
3363
|
-
*/
|
|
3364
|
-
appId?: string;
|
|
3365
|
-
}
|
|
3366
|
-
declare enum WebhookIdentityType {
|
|
3367
|
-
UNKNOWN = "UNKNOWN",
|
|
3368
|
-
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
3369
|
-
MEMBER = "MEMBER",
|
|
3370
|
-
WIX_USER = "WIX_USER",
|
|
3371
|
-
APP = "APP"
|
|
3372
|
-
}
|
|
3373
|
-
/** @enumType */
|
|
3374
|
-
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
3375
|
-
interface AccountInfo {
|
|
3376
|
-
/**
|
|
3377
|
-
* ID of the Wix account associated with the event.
|
|
3378
|
-
* @format GUID
|
|
3379
|
-
*/
|
|
3380
|
-
accountId?: string | null;
|
|
3381
|
-
/**
|
|
3382
|
-
* ID of the parent Wix account. Only included when accountId belongs to a child account.
|
|
3383
|
-
* @format GUID
|
|
3384
|
-
*/
|
|
3385
|
-
parentAccountId?: string | null;
|
|
3386
|
-
/**
|
|
3387
|
-
* ID of the Wix site associated with the event. Only included when the event is tied to a specific site.
|
|
3388
|
-
* @format GUID
|
|
3389
|
-
*/
|
|
3390
|
-
siteId?: string | null;
|
|
3391
|
-
}
|
|
3392
4322
|
interface CreateAddOnGroupRequest {
|
|
3393
4323
|
/** Add-on group to create. */
|
|
3394
4324
|
addOnGroup: AddOnGroup;
|
|
@@ -3946,6 +4876,31 @@ interface UpdateService {
|
|
|
3946
4876
|
* @readonly
|
|
3947
4877
|
*/
|
|
3948
4878
|
_id?: string | null;
|
|
4879
|
+
/**
|
|
4880
|
+
* ID of the app associated with the service. You can't update `appId`.
|
|
4881
|
+
* Services are displayed in Wix Bookings only if they are associated with the Wix Bookings appId or have no associated app ID.
|
|
4882
|
+
* Default: `13d21c63-b5ec-5912-8397-c3a5ddb27a97` (Wix Bookings app ID)
|
|
4883
|
+
* For services from Wix apps, the following values apply:
|
|
4884
|
+
* - Wix Bookings: `"13d21c63-b5ec-5912-8397-c3a5ddb27a97"`
|
|
4885
|
+
* - Wix Services: `"cc552162-24a4-45e0-9695-230c4931ef40"`
|
|
4886
|
+
* - Wix Meetings: `"6646a75c-2027-4f49-976c-58f3d713ed0f"`
|
|
4887
|
+
* [Full list of apps created by Wix](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/platform/about-apps-created-by-wix).
|
|
4888
|
+
* <!-- TODO: Uncomment when Platform docs are published - Learn more about [app identity in the Bookings Platform](https://dev.wix.com/docs/api-reference/business-solutions/bookings/bookings-platform/app-identity-in-the-bookings-platform). -->
|
|
4889
|
+
* @format GUID
|
|
4890
|
+
* @immutable
|
|
4891
|
+
*/
|
|
4892
|
+
appId?: string | null;
|
|
4893
|
+
/**
|
|
4894
|
+
* ID of the app that created the service. This field is used for analytics, auditing, and tracking creation sources.
|
|
4895
|
+
* This read-only field is automatically populated during service creation by checking these sources in order:
|
|
4896
|
+
* 1. The caller's App ID from the request identity context.
|
|
4897
|
+
* 2. The service's `appId` field.
|
|
4898
|
+
* 3. The Wix Bookings App ID (`13d21c63-b5ec-5912-8397-c3a5ddb27a97`) as the final fallback.
|
|
4899
|
+
* <!-- TODO: Uncomment when Platform docs are published - Learn more about [app identity in the Bookings Platform](https://dev.wix.com/docs/api-reference/business-solutions/bookings/bookings-platform/app-identity-in-the-bookings-platform). -->
|
|
4900
|
+
* @format GUID
|
|
4901
|
+
* @readonly
|
|
4902
|
+
*/
|
|
4903
|
+
createdByAppId?: string | null;
|
|
3949
4904
|
/**
|
|
3950
4905
|
* Service type.
|
|
3951
4906
|
* Learn more about [service types](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/about-service-types).
|
|
@@ -4000,7 +4955,7 @@ interface UpdateService {
|
|
|
4000
4955
|
* @immutable
|
|
4001
4956
|
* @maxSize 500
|
|
4002
4957
|
*/
|
|
4003
|
-
locations?:
|
|
4958
|
+
locations?: V2Location[];
|
|
4004
4959
|
/**
|
|
4005
4960
|
* [Policy](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/introduction)
|
|
4006
4961
|
* 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.
|
|
@@ -4155,7 +5110,7 @@ interface DeleteServiceOptions {
|
|
|
4155
5110
|
* Whether to notify participants about the change and an optional
|
|
4156
5111
|
* custom message.
|
|
4157
5112
|
*/
|
|
4158
|
-
participantNotification?:
|
|
5113
|
+
participantNotification?: V2ParticipantNotification;
|
|
4159
5114
|
}
|
|
4160
5115
|
/**
|
|
4161
5116
|
* Deletes multiple services.
|
|
@@ -4185,7 +5140,7 @@ interface BulkDeleteServicesOptions {
|
|
|
4185
5140
|
* Whether to notify participants about the change and an optional
|
|
4186
5141
|
* custom message.
|
|
4187
5142
|
*/
|
|
4188
|
-
participantNotification?:
|
|
5143
|
+
participantNotification?: V2ParticipantNotification;
|
|
4189
5144
|
}
|
|
4190
5145
|
/**
|
|
4191
5146
|
* Deletes multiple services by filter.
|
|
@@ -4218,7 +5173,7 @@ interface BulkDeleteServicesByFilterOptions {
|
|
|
4218
5173
|
*/
|
|
4219
5174
|
preserveFutureSessionsWithParticipants?: boolean;
|
|
4220
5175
|
/** Whether to notify participants about the change and an optional custom message. */
|
|
4221
|
-
participantNotification?:
|
|
5176
|
+
participantNotification?: V2ParticipantNotification;
|
|
4222
5177
|
}
|
|
4223
5178
|
/**
|
|
4224
5179
|
* Creates a query to retrieve a list of `service` objects.
|
|
@@ -4264,45 +5219,45 @@ interface ServicesQueryBuilder {
|
|
|
4264
5219
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
4265
5220
|
* @param value - Value to compare against.
|
|
4266
5221
|
*/
|
|
4267
|
-
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;
|
|
5222
|
+
eq: (propertyName: '_id' | 'appId' | '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;
|
|
4268
5223
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
4269
5224
|
* @param value - Value to compare against.
|
|
4270
5225
|
*/
|
|
4271
|
-
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;
|
|
5226
|
+
ne: (propertyName: '_id' | 'appId' | '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;
|
|
4272
5227
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
4273
5228
|
* @param value - Value to compare against.
|
|
4274
5229
|
*/
|
|
4275
|
-
ge: (propertyName: '_id' | 'name' | 'description' | 'tagLine' | 'category.id' | 'category.name' | 'form.id' | 'locations.business.id' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'supportedSlugs.name' | 'mainSlug.name', value: any) => ServicesQueryBuilder;
|
|
5230
|
+
ge: (propertyName: '_id' | 'appId' | 'name' | 'description' | 'tagLine' | 'category.id' | 'category.name' | 'form.id' | 'locations.business.id' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'supportedSlugs.name' | 'mainSlug.name', value: any) => ServicesQueryBuilder;
|
|
4276
5231
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
4277
5232
|
* @param value - Value to compare against.
|
|
4278
5233
|
*/
|
|
4279
|
-
gt: (propertyName: '_id' | 'name' | 'description' | 'tagLine' | 'category.id' | 'category.name' | 'form.id' | 'locations.business.id' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'supportedSlugs.name' | 'mainSlug.name', value: any) => ServicesQueryBuilder;
|
|
5234
|
+
gt: (propertyName: '_id' | 'appId' | 'name' | 'description' | 'tagLine' | 'category.id' | 'category.name' | 'form.id' | 'locations.business.id' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'supportedSlugs.name' | 'mainSlug.name', value: any) => ServicesQueryBuilder;
|
|
4280
5235
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
4281
5236
|
* @param value - Value to compare against.
|
|
4282
5237
|
*/
|
|
4283
|
-
le: (propertyName: '_id' | 'name' | 'description' | 'tagLine' | 'category.id' | 'category.name' | 'form.id' | 'locations.business.id' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'supportedSlugs.name' | 'mainSlug.name', value: any) => ServicesQueryBuilder;
|
|
5238
|
+
le: (propertyName: '_id' | 'appId' | 'name' | 'description' | 'tagLine' | 'category.id' | 'category.name' | 'form.id' | 'locations.business.id' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'supportedSlugs.name' | 'mainSlug.name', value: any) => ServicesQueryBuilder;
|
|
4284
5239
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
4285
5240
|
* @param value - Value to compare against.
|
|
4286
5241
|
*/
|
|
4287
|
-
lt: (propertyName: '_id' | 'name' | 'description' | 'tagLine' | 'category.id' | 'category.name' | 'form.id' | 'locations.business.id' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'supportedSlugs.name' | 'mainSlug.name', value: any) => ServicesQueryBuilder;
|
|
5242
|
+
lt: (propertyName: '_id' | 'appId' | 'name' | 'description' | 'tagLine' | 'category.id' | 'category.name' | 'form.id' | 'locations.business.id' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'supportedSlugs.name' | 'mainSlug.name', value: any) => ServicesQueryBuilder;
|
|
4288
5243
|
/** @param propertyName - Property whose value is compared with `string`.
|
|
4289
5244
|
* @param string - String to compare against. Case-insensitive.
|
|
4290
5245
|
*/
|
|
4291
|
-
startsWith: (propertyName: '_id' | 'name' | 'description' | 'tagLine' | 'category.id' | 'category.name' | 'form.id' | 'locations.business.id' | 'supportedSlugs.name' | 'mainSlug.name', value: string) => ServicesQueryBuilder;
|
|
5246
|
+
startsWith: (propertyName: '_id' | 'appId' | 'name' | 'description' | 'tagLine' | 'category.id' | 'category.name' | 'form.id' | 'locations.business.id' | 'supportedSlugs.name' | 'mainSlug.name', value: string) => ServicesQueryBuilder;
|
|
4292
5247
|
/** @param propertyName - Property whose value is compared with `values`.
|
|
4293
5248
|
* @param values - List of values to compare against.
|
|
4294
5249
|
*/
|
|
4295
|
-
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;
|
|
5250
|
+
hasSome: (propertyName: '_id' | 'appId' | '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;
|
|
4296
5251
|
/** @param propertyName - Property whose value is compared with `values`.
|
|
4297
5252
|
* @param values - List of values to compare against.
|
|
4298
5253
|
*/
|
|
4299
5254
|
hasAll: (propertyName: 'staffMemberIds', value: any[]) => ServicesQueryBuilder;
|
|
4300
|
-
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;
|
|
4301
|
-
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;
|
|
5255
|
+
in: (propertyName: '_id' | 'appId' | '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;
|
|
5256
|
+
exists: (propertyName: '_id' | 'appId' | '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;
|
|
4302
5257
|
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */
|
|
4303
|
-
ascending: (...propertyNames: Array<'_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'>) => ServicesQueryBuilder;
|
|
5258
|
+
ascending: (...propertyNames: Array<'_id' | 'appId' | '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'>) => ServicesQueryBuilder;
|
|
4304
5259
|
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */
|
|
4305
|
-
descending: (...propertyNames: Array<'_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'>) => ServicesQueryBuilder;
|
|
5260
|
+
descending: (...propertyNames: Array<'_id' | 'appId' | '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'>) => ServicesQueryBuilder;
|
|
4306
5261
|
/** @param limit - Number of items to return, which is also the `pageSize` of the results object. */
|
|
4307
5262
|
limit: (limit: number) => ServicesQueryBuilder;
|
|
4308
5263
|
/** @param skip - Number of items to skip in the query results before returning the results. */
|
|
@@ -4330,6 +5285,7 @@ interface ServiceQuerySpec extends QuerySpec {
|
|
|
4330
5285
|
{
|
|
4331
5286
|
fields: [
|
|
4332
5287
|
'_id',
|
|
5288
|
+
'appId',
|
|
4333
5289
|
'category._id',
|
|
4334
5290
|
'category.name',
|
|
4335
5291
|
'description',
|
|
@@ -4399,12 +5355,16 @@ type ServiceQuery = {
|
|
|
4399
5355
|
order?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['order'];
|
|
4400
5356
|
}[];
|
|
4401
5357
|
};
|
|
5358
|
+
declare const QueryBuilder: () => _wix_sdk_types.QueryBuilder<Service, ServiceQuerySpec, ServiceQuery>;
|
|
5359
|
+
declare const Filter: _wix_sdk_types.FilterFactory<Service, ServiceQuerySpec>;
|
|
5360
|
+
declare const Sort: _wix_sdk_types.SortFactory<ServiceQuerySpec>;
|
|
4402
5361
|
interface ServiceSearchSpec extends SearchSpec {
|
|
4403
5362
|
searchable: ['name'];
|
|
4404
5363
|
aggregatable: [
|
|
4405
5364
|
'_id',
|
|
4406
5365
|
'addOnDetails.addOnId',
|
|
4407
5366
|
'addOnDetails.durationInMinutes',
|
|
5367
|
+
'appId',
|
|
4408
5368
|
'category._id',
|
|
4409
5369
|
'category.name',
|
|
4410
5370
|
'category.sortOrder',
|
|
@@ -4445,6 +5405,7 @@ interface ServiceSearchSpec extends SearchSpec {
|
|
|
4445
5405
|
operators: '*';
|
|
4446
5406
|
fields: [
|
|
4447
5407
|
'_id',
|
|
5408
|
+
'appId',
|
|
4448
5409
|
'category._id',
|
|
4449
5410
|
'category.name',
|
|
4450
5411
|
'category.sortOrder',
|
|
@@ -4824,7 +5785,7 @@ interface SetServiceLocationsOptions {
|
|
|
4824
5785
|
* List of locations replacing existing service locations. Omitting an existing location removes it from the service. Specify `removedLocationSessionsAction` to determine the handling of future sessions scheduled at that location.
|
|
4825
5786
|
* @maxSize 100
|
|
4826
5787
|
*/
|
|
4827
|
-
locations?:
|
|
5788
|
+
locations?: V2Location[];
|
|
4828
5789
|
/**
|
|
4829
5790
|
* The action to perform on sessions currently set to a removed location. For
|
|
4830
5791
|
* example, move existing sessions to a new specified location.
|
|
@@ -4835,7 +5796,7 @@ interface SetServiceLocationsOptions {
|
|
|
4835
5796
|
* Whether to notify participants about the change of location, and an
|
|
4836
5797
|
* Optional custom message. The notification is sent only to participants of sessions that are affected by the change.
|
|
4837
5798
|
*/
|
|
4838
|
-
participantNotification?:
|
|
5799
|
+
participantNotification?: V2ParticipantNotification;
|
|
4839
5800
|
}
|
|
4840
5801
|
/**
|
|
4841
5802
|
* Adds a list of [pricing plan IDs](https://dev.wix.com/docs/api-reference/business-solutions/pricing-plans/plans/plans-v3/introduction) to a service's `payment.pricingPlanIds` array.
|
|
@@ -5139,4 +6100,4 @@ interface SetAddOnsForGroupOptions {
|
|
|
5139
6100
|
addOnIds: string[] | null;
|
|
5140
6101
|
}
|
|
5141
6102
|
|
|
5142
|
-
export { type SetAddOnsForGroupResponse as $, type DisablePricingPlansForServiceResponse as A, type BulkCreateServicesOptions as B, type CreateServiceValidationErrors as C, type DeleteServiceOptions as D, type EnablePricingPlansForServiceResponse as E, type DisablePricingPlansForServiceApplicationErrors as F, type SetCustomSlugOptions as G, type SetCustomSlugResponse as H, type SetCustomSlugApplicationErrors as I, type SetCustomSlugValidationErrors as J, type ValidateSlugResponse as K, type CloneServiceResponse as L, type AddOnGroup as M, type CreateAddOnGroupOptions as N, type CreateAddOnGroupResponse as O, type DeleteAddOnGroupOptions as P, type QueryPoliciesResponse as Q, type DeleteAddOnGroupApplicationErrors as R, type Service as S, type UpdateAddOnGroupOptions as T, type UpdateService as U, type ValidateSlugOptions as V, type UpdateAddOnGroupResponse as W, type UpdateAddOnGroupApplicationErrors as X, type ListAddOnGroupsByServiceIdOptions as Y, type ListAddOnGroupsByServiceIdResponse as Z, type SetAddOnsForGroupOptions as _, type BulkCreateServicesResponse as a, type CustomLocationOptions as a$, type SetAddOnsForGroupApplicationErrors as a0, type ServiceCreatedEnvelope as a1, type ServiceDeletedEnvelope as a2, type ServiceUpdatedEnvelope as a3, type ServiceQuery as a4, type QueryServicesOptions as a5, typedQueryServices as a6, type ServicesQueryBuilder as a7, ServiceType as a8, RateType as a9, PlacementType as aA, DayOfWeek as aB, ResolutionMethod as aC, WebhookIdentityType as aD, type Media as aE, type MediaItem as aF, type MediaItemItemOneOf as aG, type V2Category as aH, type Form as aI, type FormSettings as aJ, type Payment as aK, type PaymentRateOneOf as aL, type FixedPayment as aM, type Money as aN, type CustomPayment as aO, type VariedPayment as aP, type PaymentOptions as aQ, type DiscountInfo as aR, type OnlineBooking as aS, type Conferencing as aT, type Location as aU, type LocationOptionsOneOf as aV, type CommonAddress as aW, type CommonAddressStreetOneOf as aX, type StreetAddress as aY, type AddressLocation as aZ, type BusinessLocationOptions as a_, AddOnPaymentOptions as aa, LocationType as ab, RankingOrder as ac, SortingMethodType as ad, Timing as ae, CompletionRequirement as af, TaxableAddressType as ag, V2RequestedFields as ah, SortOrder as ai, SortType as aj, SortDirection as ak, MissingValues as al, ScalarType as am, NestedAggregationType as an, Interval as ao, AggregationType as ap, Mode as aq, RequestedFields as ar, Action as as, InvalidSlugError as at, CloneErrors as au, Status as av, CategoryNotificationEvent as aw, BenefitType as ax, Event as ay, CrudType as az, type UpdateServiceValidationErrors as b, type BulkUpdateServicesByFilterRequest as b$, type BookingPolicy as b0, type PolicyDescription as b1, type LimitEarlyBookingPolicy as b2, type LimitLateBookingPolicy as b3, type BookAfterStartPolicy as b4, type CancellationPolicy as b5, type ReschedulePolicy as b6, type WaitlistPolicy as b7, type ParticipantsPolicy as b8, type ResourcesPolicy as b9, type Tag as bA, type Settings as bB, type AddOnDetails as bC, type TaxableAddress as bD, type PhoneCall as bE, type SetCustomSlugEvent as bF, type ServicesUrlsChanged as bG, type CreateServiceRequest as bH, type CreateServiceResponse as bI, type ValidateServiceRequest as bJ, type ValidateServiceResponse as bK, type FieldViolation as bL, type BulkCreateServicesRequest as bM, type BulkServiceResult as bN, type ItemMetadata as bO, type ApplicationError as bP, type BulkActionMetadata as bQ, type GetServiceRequest as bR, type GetServiceResponse as bS, type GetServiceAvailabilityConstraintsRequest as bT, type GetServiceAvailabilityConstraintsResponse as bU, type ServiceAvailabilityConstraints as bV, type SplitInterval as bW, type UpdateServiceRequest as bX, type UpdateServiceResponse as bY, type BulkUpdateServicesRequest as bZ, type MaskedService as b_, type CancellationFeePolicy as ba, type CancellationWindow as bb, type CancellationWindowFeeOneOf as bc, type SaveCreditCardPolicy as bd, type StaffSortingPolicy as be, type StaffSortingPolicyOptionsOneOf as bf, type RankingOptions as bg, type CustomOptions as bh, type IntakeFormPolicy as bi, type Schedule as bj, type AvailabilityConstraints as bk, type Duration as bl, type StaffMember as bm, type StaffMediaItem as bn, type StaffMediaItemItemOneOf as bo, type StaffMemberDetails as bp, type ResourceGroup as bq, type ResourceIds as br, type ServiceResource as bs, type ServiceResourceSelectionOneOf as bt, type ResourceType as bu, type Slug as bv, type URLs as bw, type ExtendedFields as bx, type SeoSchema as by, type Keyword as bz, type BulkUpdateServicesOptions as c, type QueryLocationsFilter as c$, type DeleteServiceRequest as c0, type ParticipantNotification as c1, type DeleteServiceResponse as c2, type BulkDeleteServicesRequest as c3, type BulkDeleteServicesByFilterRequest as c4, type QueryServicesRequest as c5, type QueryV2 as c6, type QueryV2PagingMethodOneOf as c7, type Sorting as c8, type Paging as c9, type NestedAggregationResults as cA, type NestedAggregationResultsResultOneOf as cB, type ValueResults as cC, type RangeResults as cD, type AggregationResultsScalarResult as cE, type NestedValueAggregationResult as cF, type ValueResult as cG, type RangeResult as cH, type ScalarResult as cI, type NestedResultValue as cJ, type NestedResultValueResultOneOf as cK, type Results as cL, type DateHistogramResult as cM, type GroupByValueResults as cN, type DateHistogramResults as cO, type NestedResults as cP, type AggregationResults as cQ, type AggregationResultsResultOneOf as cR, type QueryPoliciesRequest as cS, type CursorQueryPagingMethodOneOf as cT, type BookingPolicyWithServices as cU, type QueryBookingFormsRequest as cV, type BookingForm as cW, type FormDetails as cX, type ConnectedService as cY, type CountServicesRequest as cZ, type QueryLocationsRequest as c_, type CursorPaging as ca, type QueryServicesResponse as cb, type PagingMetadataV2 as cc, type Cursors as cd, type SearchServicesRequest as ce, type CursorSearch as cf, type CursorSearchPagingMethodOneOf as cg, type Aggregation as ch, type AggregationKindOneOf as ci, type RangeBucket as cj, type IncludeMissingValuesOptions as ck, type ValueAggregation as cl, type ValueAggregationOptionsOneOf as cm, type RangeAggregation as cn, type ScalarAggregation as co, type DateHistogramAggregation as cp, type NestedAggregationItem as cq, type NestedAggregationItemKindOneOf as cr, type NestedAggregation as cs, type GroupByAggregation as ct, type GroupByAggregationKindOneOf as cu, type SearchDetails as cv, type CursorPagingMetadata as cw, type AggregationData as cx, type ValueAggregationResult as cy, type RangeAggregationResult as cz, type BulkUpdateServicesResponse as d, type CreateAddOnGroupRequest as d$, type BusinessLocations as d0, type CustomLocations as d1, type CustomerLocations as d2, type QueryCategoriesRequest as d3, type QueryCategoriesFilter as d4, type QueryServicesMultiLanguageRequest as d5, type QueryServicesMultiLanguageResponse as d6, type SetServiceLocationsRequest as d7, type RemovedLocationSessionsAction as d8, type RemovedLocationSessionsActionActionOptionsOneOf as d9, type UserDomainInfoChangedEvent as dA, type HtmlSitePublished as dB, type Page as dC, type SitePropertiesNotification as dD, type SitePropertiesEvent as dE, type Properties as dF, type Categories as dG, type Locale as dH, type Address as dI, type AddressHint as dJ, type GeoCoordinates as dK, type BusinessSchedule as dL, type TimePeriod as dM, type SpecialHourPeriod as dN, type Multilingual as dO, type SupportedLanguage as dP, type ConsentPolicy as dQ, type Translation as dR, type ChangeContext as dS, type ChangeContextPayloadOneOf as dT, type PropertiesChange as dU, type SiteCreated as dV, type SiteCloned as dW, type MessageEnvelope as dX, type IdentificationData as dY, type IdentificationDataIdOneOf as dZ, type AccountInfo as d_, type MoveToNewLocationsOptions as da, type EnablePricingPlansForServiceRequest as db, type PricingPlanSelection as dc, type InvalidPricingPlan as dd, type DisablePricingPlansForServiceRequest as de, type SetCustomSlugRequest as df, type ValidateSlugRequest as dg, type CloneServiceRequest as dh, type CategoryNotification as di, type Category as dj, type Empty as dk, type DomainEvent as dl, type DomainEventBodyOneOf as dm, type EntityCreatedEvent as dn, type RestoreInfo as dp, type EntityUpdatedEvent as dq, type EntityDeletedEvent as dr, type ActionEvent 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 BulkUpdateServicesByFilterOptions as e, countServices as e$, type DeleteAddOnGroupRequest as e0, type DeleteAddOnGroupResponse as e1, type UpdateAddOnGroupRequest as e2, type ListAddOnGroupsByServiceIdRequest as e3, type AddOn as e4, type AddOnAddOnInfoOneOf as e5, type AddOnGroupDetail as e6, type SetAddOnsForGroupRequest as e7, type BaseEventMetadata as e8, type EventMetadata as e9, type CloneErrorsWithLiterals as eA, type StatusWithLiterals as eB, type CategoryNotificationEventWithLiterals as eC, type BenefitTypeWithLiterals as eD, type EventWithLiterals as eE, type CrudTypeWithLiterals as eF, type PlacementTypeWithLiterals as eG, type DayOfWeekWithLiterals as eH, type ResolutionMethodWithLiterals as eI, type WebhookIdentityTypeWithLiterals as eJ, type CommonQueryWithEntityContext as eK, type CommonSearchWithEntityContext as eL, onServiceCreated as eM, onServiceDeleted as eN, onServiceUpdated as eO, createService as eP, bulkCreateServices as eQ, getService as eR, updateService as eS, bulkUpdateServices as eT, bulkUpdateServicesByFilter as eU, deleteService as eV, bulkDeleteServices as eW, bulkDeleteServicesByFilter as eX, queryServices as eY, queryPolicies as eZ, queryBookingForms as e_, type AccountInfoMetadata as ea, type ServicesQueryResult as eb, type ServiceQuerySpec as ec, type ServiceSearchSpec as ed, type ServiceTypeWithLiterals as ee, type RateTypeWithLiterals as ef, type AddOnPaymentOptionsWithLiterals as eg, type LocationTypeWithLiterals as eh, type RankingOrderWithLiterals as ei, type SortingMethodTypeWithLiterals as ej, type TimingWithLiterals as ek, type CompletionRequirementWithLiterals as el, type TaxableAddressTypeWithLiterals as em, type V2RequestedFieldsWithLiterals as en, type SortOrderWithLiterals as eo, type SortTypeWithLiterals as ep, type SortDirectionWithLiterals as eq, type MissingValuesWithLiterals as er, type ScalarTypeWithLiterals as es, type NestedAggregationTypeWithLiterals as et, type IntervalWithLiterals as eu, type AggregationTypeWithLiterals as ev, type ModeWithLiterals as ew, type RequestedFieldsWithLiterals as ex, type ActionWithLiterals as ey, type InvalidSlugErrorWithLiterals as ez, type BulkUpdateServicesByFilterResponse as f, queryLocations as f0, queryCategories as f1, setServiceLocations as f2, enablePricingPlansForService as f3, disablePricingPlansForService as f4, setCustomSlug as f5, validateSlug as f6, cloneService as f7, createAddOnGroup as f8, deleteAddOnGroup as f9, updateAddOnGroup as fa, listAddOnGroupsByServiceId as fb, setAddOnsForGroup as fc, type BulkDeleteServicesOptions as g, type BulkDeleteServicesResponse as h, type BulkDeleteServicesByFilterOptions as i, type BulkDeleteServicesByFilterResponse as j, type ServiceSearch as k, type SearchServicesResponse as l, type CursorQuery as m, type QueryBookingFormsOptions as n, type QueryBookingFormsResponse as o, type QueryBookingFormsApplicationErrors as p, type CountServicesOptions as q, type CountServicesResponse as r, type QueryLocationsOptions as s, type QueryLocationsResponse as t, type QueryCategoriesOptions as u, type QueryCategoriesResponse as v, type SetServiceLocationsOptions as w, type SetServiceLocationsResponse as x, type EnablePricingPlansForServiceApplicationErrors as y, type DisablePricingPlansForServiceOptions as z };
|
|
6103
|
+
export { type SetAddOnsForGroupResponse as $, type DisablePricingPlansForServiceResponse as A, type BulkCreateServicesOptions as B, type CreateServiceValidationErrors as C, type DeleteServiceOptions as D, type EnablePricingPlansForServiceResponse as E, type DisablePricingPlansForServiceApplicationErrors as F, type SetCustomSlugOptions as G, type SetCustomSlugResponse as H, type SetCustomSlugApplicationErrors as I, type SetCustomSlugValidationErrors as J, type ValidateSlugResponse as K, type CloneServiceResponse as L, type AddOnGroup as M, type CreateAddOnGroupOptions as N, type CreateAddOnGroupResponse as O, type DeleteAddOnGroupOptions as P, type QueryPoliciesResponse as Q, type DeleteAddOnGroupApplicationErrors as R, type Service as S, type UpdateAddOnGroupOptions as T, type UpdateService as U, type ValidateSlugOptions as V, type UpdateAddOnGroupResponse as W, type UpdateAddOnGroupApplicationErrors as X, type ListAddOnGroupsByServiceIdOptions as Y, type ListAddOnGroupsByServiceIdResponse as Z, type SetAddOnsForGroupOptions as _, type BulkCreateServicesResponse as a, type DiscountInfo as a$, type SetAddOnsForGroupApplicationErrors as a0, type ServiceCreatedEnvelope as a1, type ServiceDeletedEnvelope as a2, type ServiceUpdatedEnvelope as a3, type ServiceQuery as a4, type QueryServicesOptions as a5, typedQueryServices as a6, type ServicesQueryBuilder as a7, ServiceType as a8, RateType as a9, AggregationType as aA, Mode as aB, RequestedFields as aC, Action as aD, InvalidSlugError as aE, CloneErrors as aF, Status as aG, CategoryNotificationEvent as aH, BenefitType as aI, Event as aJ, CrudType as aK, PlacementType as aL, DayOfWeek as aM, ResolutionMethod as aN, type Media as aO, type MediaItem as aP, type MediaItemItemOneOf as aQ, type V2Category as aR, type Form as aS, type FormSettings as aT, type Payment as aU, type PaymentRateOneOf as aV, type FixedPayment as aW, type Money as aX, type CustomPayment as aY, type VariedPayment as aZ, type PaymentOptions as a_, AddOnPaymentOptions as aa, LocationTypeEnumLocationType as ab, RankingOrder as ac, SortingMethodType as ad, Timing as ae, CompletionRequirement as af, TaxableAddressType as ag, MultiServiceBookingType as ah, LocationType as ai, SelectionMethod as aj, ValueType as ak, BookingStatus as al, PaymentStatus as am, SelectedPaymentOption as an, Platform as ao, Actor as ap, IdentityType as aq, WebhookIdentityType as ar, V2RequestedFields as as, SortOrder as at, SortType as au, SortDirection as av, MissingValues as aw, ScalarType as ax, NestedAggregationType as ay, Interval as az, type UpdateServiceValidationErrors as b, type ResourceSelection as b$, type OnlineBooking as b0, type Conferencing as b1, type V2Location as b2, type V2LocationOptionsOneOf as b3, type CommonAddress as b4, type CommonAddressStreetOneOf as b5, type CommonStreetAddress as b6, type CommonAddressLocation as b7, type BusinessLocationOptions as b8, type CustomLocationOptions as b9, type ResourceGroup as bA, type ResourceIds as bB, type ServiceResource as bC, type ServiceResourceSelectionOneOf as bD, type ResourceType as bE, type Slug as bF, type URLs as bG, type ExtendedFields as bH, type SeoSchema as bI, type Keyword as bJ, type Tag as bK, type Settings as bL, type AddOnDetails as bM, type TaxableAddress as bN, type V2PhoneCall as bO, type SetCustomSlugEvent as bP, type ServicesUrlsChanged as bQ, type DummyRequest as bR, type DummyResponse as bS, type Booking as bT, type BookingParticipantsInfoOneOf as bU, type BookedEntity as bV, type BookedEntityItemOneOf as bW, type BookedSlot as bX, type BookedResource as bY, type Location as bZ, type PhoneCall as b_, type BookingPolicy as ba, type PolicyDescription as bb, type LimitEarlyBookingPolicy as bc, type LimitLateBookingPolicy as bd, type BookAfterStartPolicy as be, type CancellationPolicy as bf, type ReschedulePolicy as bg, type WaitlistPolicy as bh, type ParticipantsPolicy as bi, type ResourcesPolicy as bj, type CancellationFeePolicy as bk, type CancellationWindow as bl, type CancellationWindowFeeOneOf as bm, type SaveCreditCardPolicy as bn, type StaffSortingPolicy as bo, type StaffSortingPolicyOptionsOneOf as bp, type RankingOptions as bq, type CustomOptions as br, type IntakeFormPolicy as bs, type Schedule as bt, type AvailabilityConstraints as bu, type V2Duration as bv, type StaffMember as bw, type StaffMediaItem as bx, type StaffMediaItemItemOneOf as by, type StaffMemberDetails as bz, type BulkUpdateServicesOptions as c, type QueryServicesResponse as c$, type BookedSchedule as c0, type ContactDetails as c1, type Address as c2, type AddressStreetOneOf as c3, type StreetAddress as c4, type AddressLocation as c5, type Subdivision as c6, type CustomFormField as c7, type BookingSource as c8, type ParticipantNotification as c9, type BulkCreateServicesRequest as cA, type BulkServiceResult as cB, type ItemMetadata as cC, type ApplicationError as cD, type BulkActionMetadata as cE, type GetServiceRequest as cF, type GetServiceResponse as cG, type GetServiceAvailabilityConstraintsRequest as cH, type GetServiceAvailabilityConstraintsResponse as cI, type ServiceAvailabilityConstraints as cJ, type SplitInterval as cK, type UpdateServiceRequest as cL, type UpdateServiceResponse as cM, type BulkUpdateServicesRequest as cN, type MaskedService as cO, type BulkUpdateServicesByFilterRequest as cP, type DeleteServiceRequest as cQ, type V2ParticipantNotification as cR, type DeleteServiceResponse as cS, type BulkDeleteServicesRequest as cT, type BulkDeleteServicesByFilterRequest as cU, type QueryServicesRequest as cV, type QueryV2 as cW, type QueryV2PagingMethodOneOf as cX, type Sorting as cY, type Paging as cZ, type CursorPaging as c_, type CommonIdentificationData as ca, type CommonIdentificationDataIdOneOf as cb, type FlowControlSettings as cc, type ParticipantChoices as cd, type ServiceChoices as ce, type ServiceChoice as cf, type ServiceChoiceChoiceOneOf as cg, type Duration as ch, type MultiServiceBookingInfo as ci, type BookedAddOn as cj, type DomainEvent as ck, type DomainEventBodyOneOf as cl, type EntityCreatedEvent as cm, type RestoreInfo as cn, type EntityUpdatedEvent as co, type EntityDeletedEvent as cp, type ActionEvent as cq, type MessageEnvelope as cr, type IdentificationData as cs, type IdentificationDataIdOneOf as ct, type AccountInfo as cu, type CreateServiceRequest as cv, type CreateServiceResponse as cw, type ValidateServiceRequest as cx, type ValidateServiceResponse as cy, type FieldViolation as cz, type BulkUpdateServicesResponse as d, type MoveToNewLocationsOptions as d$, type PagingMetadataV2 as d0, type Cursors as d1, type SearchServicesRequest as d2, type CursorSearch as d3, type CursorSearchPagingMethodOneOf as d4, type Aggregation as d5, type AggregationKindOneOf as d6, type RangeBucket as d7, type IncludeMissingValuesOptions as d8, type ValueAggregation as d9, type Results as dA, type DateHistogramResult as dB, type GroupByValueResults as dC, type DateHistogramResults as dD, type NestedResults as dE, type AggregationResults as dF, type AggregationResultsResultOneOf as dG, type QueryPoliciesRequest as dH, type CursorQueryPagingMethodOneOf as dI, type BookingPolicyWithServices as dJ, type QueryBookingFormsRequest as dK, type BookingForm as dL, type FormDetails as dM, type ConnectedService as dN, type CountServicesRequest as dO, type QueryLocationsRequest as dP, type QueryLocationsFilter as dQ, type BusinessLocations as dR, type CustomLocations as dS, type CustomerLocations as dT, type QueryCategoriesRequest as dU, type QueryCategoriesFilter as dV, type QueryServicesMultiLanguageRequest as dW, type QueryServicesMultiLanguageResponse as dX, type SetServiceLocationsRequest as dY, type RemovedLocationSessionsAction as dZ, type RemovedLocationSessionsActionActionOptionsOneOf as d_, type ValueAggregationOptionsOneOf as da, type RangeAggregation as db, type ScalarAggregation as dc, type DateHistogramAggregation as dd, type NestedAggregationItem as de, type NestedAggregationItemKindOneOf as df, type NestedAggregation as dg, type GroupByAggregation as dh, type GroupByAggregationKindOneOf as di, type SearchDetails as dj, type CursorPagingMetadata as dk, type AggregationData as dl, type ValueAggregationResult as dm, type RangeAggregationResult as dn, type NestedAggregationResults as dp, type NestedAggregationResultsResultOneOf as dq, type ValueResults as dr, type RangeResults as ds, type AggregationResultsScalarResult as dt, type NestedValueAggregationResult as du, type ValueResult as dv, type RangeResult as dw, type ScalarResult as dx, type NestedResultValue as dy, type NestedResultValueResultOneOf as dz, type BulkUpdateServicesByFilterOptions as e, type SortingMethodTypeWithLiterals as e$, type EnablePricingPlansForServiceRequest as e0, type PricingPlanSelection as e1, type InvalidPricingPlan as e2, type DisablePricingPlansForServiceRequest as e3, type SetCustomSlugRequest as e4, type ValidateSlugRequest as e5, type CloneServiceRequest as e6, type CategoryNotification as e7, type Category as e8, type Empty as e9, type ChangeContextPayloadOneOf as eA, type PropertiesChange as eB, type SiteCreated as eC, type SiteCloned as eD, type CreateAddOnGroupRequest as eE, type DeleteAddOnGroupRequest as eF, type DeleteAddOnGroupResponse as eG, type UpdateAddOnGroupRequest as eH, type ListAddOnGroupsByServiceIdRequest as eI, type AddOn as eJ, type AddOnAddOnInfoOneOf as eK, type AddOnGroupDetail as eL, type SetAddOnsForGroupRequest as eM, type BaseEventMetadata as eN, type EventMetadata as eO, type AccountInfoMetadata as eP, type ServicesQueryResult as eQ, type ServiceQuerySpec as eR, type ServiceSearchSpec as eS, QueryBuilder as eT, Filter as eU, Sort as eV, type ServiceTypeWithLiterals as eW, type RateTypeWithLiterals as eX, type AddOnPaymentOptionsWithLiterals as eY, type LocationTypeEnumLocationTypeWithLiterals as eZ, type RankingOrderWithLiterals as e_, type BenefitNotification as ea, type Benefit as eb, type EntryPass as ec, type Discount as ed, type DiscountDiscountOneOf as ee, type Behavior as ef, type BehaviorBehaviorOneOf as eg, type UserDomainInfoChangedEvent as eh, type HtmlSitePublished as ei, type Page as ej, type SitePropertiesNotification as ek, type SitePropertiesEvent as el, type Properties as em, type Categories as en, type Locale as eo, type V4Address as ep, type AddressHint as eq, type GeoCoordinates as er, type BusinessSchedule as es, type TimePeriod as et, type SpecialHourPeriod as eu, type Multilingual as ev, type SupportedLanguage as ew, type ConsentPolicy as ex, type Translation as ey, type ChangeContext as ez, type BulkUpdateServicesByFilterResponse as f, deleteAddOnGroup as f$, type TimingWithLiterals as f0, type CompletionRequirementWithLiterals as f1, type TaxableAddressTypeWithLiterals as f2, type MultiServiceBookingTypeWithLiterals as f3, type LocationTypeWithLiterals as f4, type SelectionMethodWithLiterals as f5, type ValueTypeWithLiterals as f6, type BookingStatusWithLiterals as f7, type PaymentStatusWithLiterals as f8, type SelectedPaymentOptionWithLiterals as f9, type CommonQueryWithEntityContext as fA, type CommonSearchWithEntityContext as fB, onServiceCreated as fC, onServiceDeleted as fD, onServiceUpdated as fE, createService as fF, bulkCreateServices as fG, getService as fH, updateService as fI, bulkUpdateServices as fJ, bulkUpdateServicesByFilter as fK, deleteService as fL, bulkDeleteServices as fM, bulkDeleteServicesByFilter as fN, queryServices as fO, queryPolicies as fP, queryBookingForms as fQ, countServices as fR, queryLocations as fS, queryCategories as fT, setServiceLocations as fU, enablePricingPlansForService as fV, disablePricingPlansForService as fW, setCustomSlug as fX, validateSlug as fY, cloneService as fZ, createAddOnGroup as f_, type PlatformWithLiterals as fa, type ActorWithLiterals as fb, type IdentityTypeWithLiterals as fc, type WebhookIdentityTypeWithLiterals as fd, type V2RequestedFieldsWithLiterals as fe, type SortOrderWithLiterals as ff, type SortTypeWithLiterals as fg, type SortDirectionWithLiterals as fh, type MissingValuesWithLiterals as fi, type ScalarTypeWithLiterals as fj, type NestedAggregationTypeWithLiterals as fk, type IntervalWithLiterals as fl, type AggregationTypeWithLiterals as fm, type ModeWithLiterals as fn, type RequestedFieldsWithLiterals as fo, type ActionWithLiterals as fp, type InvalidSlugErrorWithLiterals as fq, type CloneErrorsWithLiterals as fr, type StatusWithLiterals as fs, type CategoryNotificationEventWithLiterals as ft, type BenefitTypeWithLiterals as fu, type EventWithLiterals as fv, type CrudTypeWithLiterals as fw, type PlacementTypeWithLiterals as fx, type DayOfWeekWithLiterals as fy, type ResolutionMethodWithLiterals as fz, type BulkDeleteServicesOptions as g, updateAddOnGroup as g0, listAddOnGroupsByServiceId as g1, setAddOnsForGroup as g2, type BulkDeleteServicesResponse as h, type BulkDeleteServicesByFilterOptions as i, type BulkDeleteServicesByFilterResponse as j, type ServiceSearch as k, type SearchServicesResponse as l, type CursorQuery as m, type QueryBookingFormsOptions as n, type QueryBookingFormsResponse as o, type QueryBookingFormsApplicationErrors as p, type CountServicesOptions as q, type CountServicesResponse as r, type QueryLocationsOptions as s, type QueryLocationsResponse as t, type QueryCategoriesOptions as u, type QueryCategoriesResponse as v, type SetServiceLocationsOptions as w, type SetServiceLocationsResponse as x, type EnablePricingPlansForServiceApplicationErrors as y, type DisablePricingPlansForServiceOptions as z };
|