@wix/auto_sdk_bookings_services 1.0.192 → 1.0.193

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.
Files changed (41) hide show
  1. package/build/cjs/{bookings-services-v2-service-services.universal-BxKI57Md.d.ts → bookings-services-v2-service-services.universal-BqOIUdqg.d.ts} +1113 -230
  2. package/build/cjs/index.d.ts +2 -2
  3. package/build/cjs/index.js +115 -15
  4. package/build/cjs/index.js.map +1 -1
  5. package/build/cjs/index.typings.d.ts +2 -2
  6. package/build/cjs/index.typings.js +115 -15
  7. package/build/cjs/index.typings.js.map +1 -1
  8. package/build/cjs/meta.d.ts +1106 -227
  9. package/build/cjs/meta.js +107 -15
  10. package/build/cjs/meta.js.map +1 -1
  11. package/build/es/{bookings-services-v2-service-services.universal-BxKI57Md.d.mts → bookings-services-v2-service-services.universal-BqOIUdqg.d.mts} +1113 -230
  12. package/build/es/index.d.mts +2 -2
  13. package/build/es/index.mjs +102 -15
  14. package/build/es/index.mjs.map +1 -1
  15. package/build/es/index.typings.d.mts +2 -2
  16. package/build/es/index.typings.mjs +102 -15
  17. package/build/es/index.typings.mjs.map +1 -1
  18. package/build/es/meta.d.mts +1106 -227
  19. package/build/es/meta.mjs +97 -15
  20. package/build/es/meta.mjs.map +1 -1
  21. package/build/internal/cjs/{bookings-services-v2-service-services.universal-BxKI57Md.d.ts → bookings-services-v2-service-services.universal-BqOIUdqg.d.ts} +1113 -230
  22. package/build/internal/cjs/index.d.ts +2 -2
  23. package/build/internal/cjs/index.js +115 -15
  24. package/build/internal/cjs/index.js.map +1 -1
  25. package/build/internal/cjs/index.typings.d.ts +2 -2
  26. package/build/internal/cjs/index.typings.js +115 -15
  27. package/build/internal/cjs/index.typings.js.map +1 -1
  28. package/build/internal/cjs/meta.d.ts +1106 -227
  29. package/build/internal/cjs/meta.js +107 -15
  30. package/build/internal/cjs/meta.js.map +1 -1
  31. package/build/internal/es/{bookings-services-v2-service-services.universal-BxKI57Md.d.mts → bookings-services-v2-service-services.universal-BqOIUdqg.d.mts} +1113 -230
  32. package/build/internal/es/index.d.mts +2 -2
  33. package/build/internal/es/index.mjs +102 -15
  34. package/build/internal/es/index.mjs.map +1 -1
  35. package/build/internal/es/index.typings.d.mts +2 -2
  36. package/build/internal/es/index.typings.mjs +102 -15
  37. package/build/internal/es/index.typings.mjs.map +1 -1
  38. package/build/internal/es/meta.d.mts +1106 -227
  39. package/build/internal/es/meta.mjs +97 -15
  40. package/build/internal/es/meta.mjs.map +1 -1
  41. 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. */
@@ -62,7 +63,7 @@ interface Service {
62
63
  * @immutable
63
64
  * @maxSize 500
64
65
  */
65
- locations?: Location[];
66
+ locations?: V2Location[];
66
67
  /**
67
68
  * [Policy](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/introduction)
68
69
  * determining under what conditions this service can be booked. For example, whether the service can only be booked up to 30 minutes before it begins.
@@ -407,7 +408,7 @@ interface Conferencing {
407
408
  /** Whether a conference link is generated for the service's sessions. */
408
409
  enabled?: boolean | null;
409
410
  }
410
- interface Location extends LocationOptionsOneOf {
411
+ interface V2Location extends V2LocationOptionsOneOf {
411
412
  /** Information about business locations. */
412
413
  business?: BusinessLocationOptions;
413
414
  /** Information about custom locations. */
@@ -423,7 +424,7 @@ interface Location extends LocationOptionsOneOf {
423
424
  *
424
425
  * Default: `CUSTOM`
425
426
  */
426
- type?: LocationTypeWithLiterals;
427
+ type?: LocationTypeEnumLocationTypeWithLiterals;
427
428
  /**
428
429
  * Location address. Empty for `{"type": "CUSTOMER"}`.
429
430
  * @readonly
@@ -431,13 +432,13 @@ interface Location extends LocationOptionsOneOf {
431
432
  calculatedAddress?: CommonAddress;
432
433
  }
433
434
  /** @oneof */
434
- interface LocationOptionsOneOf {
435
+ interface V2LocationOptionsOneOf {
435
436
  /** Information about business locations. */
436
437
  business?: BusinessLocationOptions;
437
438
  /** Information about custom locations. */
438
439
  custom?: CustomLocationOptions;
439
440
  }
440
- declare enum LocationType {
441
+ declare enum LocationTypeEnumLocationType {
441
442
  UNKNOWN_LOCATION_TYPE = "UNKNOWN_LOCATION_TYPE",
442
443
  /** Location set by the business that is not a standard business [location](https://dev.wix.com/docs/api-reference/business-management/locations/introduction). */
443
444
  CUSTOM = "CUSTOM",
@@ -450,10 +451,10 @@ declare enum LocationType {
450
451
  CUSTOMER = "CUSTOMER"
451
452
  }
452
453
  /** @enumType */
453
- type LocationTypeWithLiterals = LocationType | 'UNKNOWN_LOCATION_TYPE' | 'CUSTOM' | 'BUSINESS' | 'CUSTOMER';
454
+ type LocationTypeEnumLocationTypeWithLiterals = LocationTypeEnumLocationType | 'UNKNOWN_LOCATION_TYPE' | 'CUSTOM' | 'BUSINESS' | 'CUSTOMER';
454
455
  interface CommonAddress extends CommonAddressStreetOneOf {
455
456
  /** Street name and number. */
456
- streetAddress?: StreetAddress;
457
+ streetAddress?: CommonStreetAddress;
457
458
  /** @maxLength 255 */
458
459
  addressLine1?: string | null;
459
460
  /**
@@ -485,12 +486,12 @@ interface CommonAddress extends CommonAddressStreetOneOf {
485
486
  /** @oneof */
486
487
  interface CommonAddressStreetOneOf {
487
488
  /** Street name and number. */
488
- streetAddress?: StreetAddress;
489
+ streetAddress?: CommonStreetAddress;
489
490
  /** @maxLength 255 */
490
491
  addressLine?: string | null;
491
492
  }
492
493
  /** Street address. Includes street name, number, and apartment number in separate fields. */
493
- interface StreetAddress {
494
+ interface CommonStreetAddress {
494
495
  /**
495
496
  * Street number.
496
497
  * @maxLength 255
@@ -507,7 +508,7 @@ interface StreetAddress {
507
508
  */
508
509
  apt?: string;
509
510
  }
510
- interface AddressLocation {
511
+ interface CommonAddressLocation {
511
512
  /** Address latitude. */
512
513
  latitude?: number | null;
513
514
  /** Address longitude. */
@@ -1038,7 +1039,7 @@ interface AvailabilityConstraints {
1038
1039
  * @readonly
1039
1040
  * @maxSize 50
1040
1041
  */
1041
- durations?: Duration[];
1042
+ durations?: V2Duration[];
1042
1043
  /**
1043
1044
  * List of supported session durations in minutes.
1044
1045
  *
@@ -1063,7 +1064,7 @@ interface AvailabilityConstraints {
1063
1064
  */
1064
1065
  timeBetweenSessions?: number;
1065
1066
  }
1066
- interface Duration {
1067
+ interface V2Duration {
1067
1068
  /**
1068
1069
  * The duration of the service in minutes.
1069
1070
  *
@@ -1262,74 +1263,1106 @@ interface Settings {
1262
1263
  */
1263
1264
  preventAutoRedirect?: boolean;
1264
1265
  /**
1265
- * User-selected keyword terms for a specific page.
1266
- * @maxSize 5
1266
+ * User-selected keyword terms for a specific page.
1267
+ * @maxSize 5
1268
+ */
1269
+ keywords?: Keyword[];
1270
+ }
1271
+ interface AddOnGroup {
1272
+ /**
1273
+ * ID of the add-on group.
1274
+ * Wix Bookings automatically populates this field when creating or updating an add-on group.
1275
+ * @readonly
1276
+ * @format GUID
1277
+ */
1278
+ _id?: string | null;
1279
+ /**
1280
+ * Name of the add-on group.
1281
+ * @maxLength 100
1282
+ */
1283
+ name?: string | null;
1284
+ /**
1285
+ * 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.
1286
+ * When empty, there's no upper limit.
1287
+ */
1288
+ maxNumberOfAddOns?: number | null;
1289
+ /**
1290
+ * 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.
1291
+ * @format GUID
1292
+ * @maxSize 7
1293
+ */
1294
+ addOnIds?: string[] | null;
1295
+ /**
1296
+ * Description or instructional prompt of the add-on group that's displayed to customers when booking the service.
1297
+ * @maxLength 200
1298
+ */
1299
+ prompt?: string | null;
1300
+ }
1301
+ interface AddOnDetails {
1302
+ /**
1303
+ * ID of the add-on.
1304
+ * @format GUID
1305
+ */
1306
+ addOnId?: string | null;
1307
+ /**
1308
+ * Duration in minutes for add-ons that extend service time.
1309
+ * Empty for [quantity-based add-ons](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/add-ons/introduction#terminology).
1310
+ */
1311
+ durationInMinutes?: number | null;
1312
+ }
1313
+ /** `TaxableAddress` defines the taxable address used for the service. */
1314
+ interface TaxableAddress {
1315
+ /** Taxable address type. */
1316
+ taxableAddressType?: TaxableAddressTypeWithLiterals;
1317
+ }
1318
+ declare enum TaxableAddressType {
1319
+ UNKNOWN_TAXABLE_ADDRESS_TYPE = "UNKNOWN_TAXABLE_ADDRESS_TYPE",
1320
+ BUSINESS = "BUSINESS",
1321
+ BILLING = "BILLING"
1322
+ }
1323
+ /** @enumType */
1324
+ type TaxableAddressTypeWithLiterals = TaxableAddressType | 'UNKNOWN_TAXABLE_ADDRESS_TYPE' | 'BUSINESS' | 'BILLING';
1325
+ interface V2PhoneCall {
1326
+ /** Whether the service is delivered via phone call. */
1327
+ enabled?: boolean | null;
1328
+ }
1329
+ interface SetCustomSlugEvent {
1330
+ /** The main slug for the service after the update */
1331
+ mainSlug?: Slug;
1332
+ }
1333
+ interface ServicesUrlsChanged {
1334
+ }
1335
+ interface DummyRequest {
1336
+ }
1337
+ interface DummyResponse {
1338
+ /** Service. */
1339
+ service?: Service;
1340
+ /** Booking. */
1341
+ booking?: Booking;
1342
+ }
1343
+ /** An entity representing a scheduled appointment, class session, or course. */
1344
+ interface Booking extends BookingParticipantsInfoOneOf {
1345
+ /**
1346
+ * Total number of participants.
1347
+ * 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).
1348
+ * @min 1
1349
+ */
1350
+ totalParticipants?: number;
1351
+ /**
1352
+ * Information about the booked service choices and participant count for each choice.
1353
+ * 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).
1354
+ *
1355
+ * For example, use this for a spa package booking that includes different service levels:
1356
+ * - 2 participants chose "Standard Package".
1357
+ * - 1 participant chose "VIP Package".
1358
+ */
1359
+ participantsChoices?: ParticipantChoices;
1360
+ /**
1361
+ * Booking ID.
1362
+ * @format GUID
1363
+ * @readonly
1364
+ */
1365
+ _id?: string | null;
1366
+ /**
1367
+ * An object describing the bookable entity - either a specific time slot or a recurring schedule.
1368
+ *
1369
+ * The structure depends on the type of service being booked:
1370
+ *
1371
+ * __For appointment services__: Use `slot` to book a specific time slot with a
1372
+ * service provider. Appointments are typically one-time sessions at a specific date and time.
1373
+ *
1374
+ * __For class services__: Use `slot` to book a specific class session. Classes
1375
+ * are individual sessions that can have multiple participants.
1376
+ *
1377
+ * __For course services__: Use `schedule` to book an entire course consisting of
1378
+ * multiple sessions over time. Courses are recurring, multi-session offerings.
1379
+ *
1380
+ * Choose the appropriate field based on your service type and booking requirements.
1381
+ */
1382
+ bookedEntity?: BookedEntity;
1383
+ /**
1384
+ * Contact details of the site visitor or [member](https://dev.wix.com/docs/api-reference/crm/members-contacts/members/members/introduction)
1385
+ * making the booking.
1386
+ */
1387
+ contactDetails?: ContactDetails;
1388
+ /**
1389
+ * Additional custom fields submitted with the booking form.
1390
+ * Deprecated due to Bookings integrating with Wix Forms.
1391
+ * 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.
1392
+ * Read more about the [Bookings Forms integration](https://dev.wix.com/docs/api-reference/business-solutions/bookings/wix-forms-integration).
1393
+ * @deprecated Additional custom fields submitted with the booking form.
1394
+ * Deprecated due to Bookings integrating with Wix Forms.
1395
+ * 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.
1396
+ * Read more about the [Bookings Forms integration](https://dev.wix.com/docs/api-reference/business-solutions/bookings/wix-forms-integration).
1397
+ * @replacedBy form_submission_id
1398
+ * @targetRemovalDate 2026-03-31
1399
+ */
1400
+ additionalFields?: CustomFormField[];
1401
+ /**
1402
+ * Booking status. A booking is automatically confirmed if the service allows it
1403
+ * and an eCommerce order is created. It is automatically declined if there is a
1404
+ * double booking and the customer hasn't paid or is eligible for an automatic
1405
+ * refund. Currently, only payments with pricing plans are automatically refundable.
1406
+ */
1407
+ status?: BookingStatusWithLiterals;
1408
+ /**
1409
+ * The payment status of the booking. This field automatically syncs with the
1410
+ * `paymentStatus` of the corresponding [eCommerce order](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/orders/introduction)
1411
+ * when customers use Wix eCommerce checkout.
1412
+ *
1413
+ * ### Integration patterns
1414
+ *
1415
+ * __When using Wix eCommerce checkout__: Wix Bookings automatically syncs the payment status based on the eCommerce order's payment status.
1416
+ * Do not manually update this field.
1417
+ *
1418
+ * __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.
1419
+ *
1420
+ * __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.
1421
+ *
1422
+ * All payment statuses are supported for every booking `status`.
1423
+ */
1424
+ paymentStatus?: PaymentStatusWithLiterals;
1425
+ /**
1426
+ * 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`.
1427
+ *
1428
+ * 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.
1429
+ * Otherwise, the Create Booking call fails.
1430
+ * For custom checkouts, you don't have to specify this field.
1431
+ */
1432
+ selectedPaymentOption?: SelectedPaymentOptionWithLiterals;
1433
+ /**
1434
+ * Date and time the booking was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.
1435
+ * @readonly
1436
+ */
1437
+ _createdDate?: Date | null;
1438
+ /** External user ID that you can provide. */
1439
+ externalUserId?: string | null;
1440
+ /**
1441
+ * Revision number to be used when updating, rescheduling, or cancelling the booking.
1442
+ * 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.
1443
+ */
1444
+ revision?: string | null;
1445
+ /**
1446
+ * ID of the creator of the booking.
1447
+ * If `appId` and another ID are present, the other ID takes precedence.
1448
+ * @readonly
1449
+ */
1450
+ createdBy?: CommonIdentificationData;
1451
+ /**
1452
+ * The start date of the booking in `YYYY-MM-DDThh:mm:ss.sssZ` format.
1453
+ * For a slot, this is the start date of the slot. For a schedule, this is the start date of the first session.
1454
+ * @readonly
1455
+ */
1456
+ startDate?: Date | null;
1457
+ /**
1458
+ * The end date of the booking in `YYYY-MM-DDThh:mm:ss.sssZ` format.
1459
+ * For a slot, this is the end date of the slot. For a schedule, this is the end date of the last session.
1460
+ * @readonly
1461
+ */
1462
+ endDate?: Date | null;
1463
+ /**
1464
+ * Date and time the booking was updated in `YYYY-MM-DDThh:mm:ss.sssZ` format.
1465
+ * @readonly
1466
+ */
1467
+ _updatedDate?: Date | null;
1468
+ /**
1469
+ * Custom field data for this object.
1470
+ * Extended fields must be configured in the app dashboard before they can be accessed with API calls.
1471
+ */
1472
+ extendedFields?: ExtendedFields;
1473
+ /**
1474
+ * Whether this booking overlaps with another confirmed booking. Returned
1475
+ * only if set to `true`.
1476
+ * @readonly
1477
+ */
1478
+ doubleBooked?: boolean | null;
1479
+ /**
1480
+ * ID of the [form submission](https://dev.wix.com/docs/rest/crm/forms/form-submissions/introduction)
1481
+ * associated with this booking.
1482
+ * @format GUID
1483
+ */
1484
+ formSubmissionId?: string | null;
1485
+ /**
1486
+ * ID of the [form](https://dev.wix.com/docs/rest/crm/forms/form-schemas/form-object)
1487
+ * associated with this booking. The value depends on how the
1488
+ * booking was created:
1489
+ * - For bookings created with Create Booking or Bulk Create Booking, `formId`
1490
+ * is identical to ID of the booking form that's associated with the relevant
1491
+ * service.
1492
+ * - For bookings created via Create Multi Service Booking, `formId` is set to
1493
+ * `00000000-0000-0000-0000-000000000000` (the default booking form ID).
1494
+ * @format GUID
1495
+ * @readonly
1496
+ */
1497
+ formId?: string | null;
1498
+ /**
1499
+ * List of [add-ons](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/add-ons/introduction) associated with the booking.
1500
+ * @maxSize 21
1501
+ */
1502
+ bookedAddOns?: BookedAddOn[];
1503
+ }
1504
+ /** @oneof */
1505
+ interface BookingParticipantsInfoOneOf {
1506
+ /**
1507
+ * Total number of participants.
1508
+ * 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).
1509
+ * @min 1
1510
+ */
1511
+ totalParticipants?: number;
1512
+ /**
1513
+ * Information about the booked service choices and participant count for each choice.
1514
+ * 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).
1515
+ *
1516
+ * For example, use this for a spa package booking that includes different service levels:
1517
+ * - 2 participants chose "Standard Package".
1518
+ * - 1 participant chose "VIP Package".
1519
+ */
1520
+ participantsChoices?: ParticipantChoices;
1521
+ }
1522
+ /**
1523
+ * Type of multi-service booking.
1524
+ * Defines how individual bookings within a multi-service package are scheduled relative to each other.
1525
+ */
1526
+ declare enum MultiServiceBookingType {
1527
+ /**
1528
+ * Bookings must be scheduled back-to-back.
1529
+ * Each booking starts when the previous one ends, with no gaps between them.
1530
+ */
1531
+ SEQUENTIAL_BOOKINGS = "SEQUENTIAL_BOOKINGS",
1532
+ /**
1533
+ * Bookings can be scheduled separately.
1534
+ * Each booking can be at different times, not necessarily consecutive.
1535
+ * Not currently supported.
1536
+ */
1537
+ SEPARATE_BOOKINGS = "SEPARATE_BOOKINGS",
1538
+ /**
1539
+ * Bookings occur at the same time.
1540
+ * All bookings in the package are scheduled for the same time slot.
1541
+ * Not currently supported.
1542
+ */
1543
+ PARALLEL_BOOKINGS = "PARALLEL_BOOKINGS"
1544
+ }
1545
+ /** @enumType */
1546
+ type MultiServiceBookingTypeWithLiterals = MultiServiceBookingType | 'SEQUENTIAL_BOOKINGS' | 'SEPARATE_BOOKINGS' | 'PARALLEL_BOOKINGS';
1547
+ interface BookedEntity extends BookedEntityItemOneOf {
1548
+ /**
1549
+ * [Booked slot](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings-and-time-slots/time-slots/availability-calendar/query-availability).
1550
+ *
1551
+ * Specify `slot` when creating bookings for:
1552
+ * - __Appointment-based services__: Individual sessions with service providers (consultations, treatments).
1553
+ * Wix Bookings creates a new session when the booking is confirmed.
1554
+ * - __Class services__: Group sessions at specific times (fitness classes, workshops).
1555
+ * Wix Bookings links the booking to an existing scheduled session.
1556
+ *
1557
+ * For course services, specify `schedule` instead of `slot`.
1558
+ */
1559
+ slot?: BookedSlot;
1560
+ /**
1561
+ * [Booked schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction).
1562
+ *
1563
+ * Specify `schedule` when creating bookings for:
1564
+ * - __Course services__: Multi-session offerings spanning weeks or months (educational courses, training programs).
1565
+ * Wix Bookings enrolls participants in all sessions defined by the course schedule.
1566
+ */
1567
+ schedule?: BookedSchedule;
1568
+ /**
1569
+ * Session title at the time of booking. If there is no pre-existing session,
1570
+ * for example for appointment-based services, Wix Bookings sets `title` to the service name.
1571
+ * @readonly
1572
+ * @maxLength 6000
1573
+ */
1574
+ title?: string | null;
1575
+ /**
1576
+ * List of tags for the booking.
1577
+ *
1578
+ * - "INDIVIDUAL": For bookings of appointment-based services. Including when the appointment is for a group of participants.
1579
+ * - "GROUP": For bookings of individual class sessions.
1580
+ * - "COURSE": For course bookings.
1581
+ */
1582
+ tags?: string[] | null;
1583
+ }
1584
+ /** @oneof */
1585
+ interface BookedEntityItemOneOf {
1586
+ /**
1587
+ * [Booked slot](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings-and-time-slots/time-slots/availability-calendar/query-availability).
1588
+ *
1589
+ * Specify `slot` when creating bookings for:
1590
+ * - __Appointment-based services__: Individual sessions with service providers (consultations, treatments).
1591
+ * Wix Bookings creates a new session when the booking is confirmed.
1592
+ * - __Class services__: Group sessions at specific times (fitness classes, workshops).
1593
+ * Wix Bookings links the booking to an existing scheduled session.
1594
+ *
1595
+ * For course services, specify `schedule` instead of `slot`.
1596
+ */
1597
+ slot?: BookedSlot;
1598
+ /**
1599
+ * [Booked schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction).
1600
+ *
1601
+ * Specify `schedule` when creating bookings for:
1602
+ * - __Course services__: Multi-session offerings spanning weeks or months (educational courses, training programs).
1603
+ * Wix Bookings enrolls participants in all sessions defined by the course schedule.
1604
+ */
1605
+ schedule?: BookedSchedule;
1606
+ }
1607
+ interface BookedSlot {
1608
+ /**
1609
+ * Session ID. For class bookings, this is the ID of the existing session.
1610
+ * For appointment bookings, this field is typically empty during booking creation and gets populated when the booking is confirmed.
1611
+ *
1612
+ * __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).
1613
+ * 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.
1614
+ * @deprecated Session ID. For class bookings, this is the ID of the existing session.
1615
+ * For appointment bookings, this field is typically empty during booking creation and gets populated when the booking is confirmed.
1616
+ *
1617
+ * __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).
1618
+ * 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.
1619
+ * @replacedBy event_id
1620
+ * @targetRemovalDate 2026-03-31
1621
+ */
1622
+ sessionId?: string | null;
1623
+ /** Service ID. */
1624
+ serviceId?: string;
1625
+ /** Schedule ID. */
1626
+ scheduleId?: string;
1627
+ /**
1628
+ * ID of the corresponding [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction).
1629
+ * Available for both appointment and class bookings, not available for course bookings.
1630
+ * For appointment-based services, Wix Bookings automatically populates `eventId` when the booking `status` changes to `CONFIRMED`.
1631
+ * For class bookings, Wix Bookings automatically populates `eventId` upon booking creation.
1632
+ * @minLength 36
1633
+ * @maxLength 250
1634
+ */
1635
+ eventId?: string | null;
1636
+ /** 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`. */
1637
+ startDate?: string | null;
1638
+ /** 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`. */
1639
+ endDate?: string | null;
1640
+ /**
1641
+ * Time zone in [IANA tz database format](https://en.wikipedia.org/wiki/Tz_database).
1642
+ * 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.
1643
+ */
1644
+ timezone?: string | null;
1645
+ /**
1646
+ * [Primary resource](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resources-v2/introduction) for the booking.
1647
+ * For example, the [staff member](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/introduction) providing the service.
1648
+ */
1649
+ resource?: BookedResource;
1650
+ /** Location where the session takes place. */
1651
+ location?: Location;
1652
+ /**
1653
+ * Information about how the customer has selected resources for the booking.
1654
+ * Each resource type may have a different selection method.
1655
+ * Check `resource` for resource details.
1656
+ * @maxSize 3
1657
+ */
1658
+ resourceSelections?: ResourceSelection[];
1659
+ }
1660
+ interface BookedResource {
1661
+ /**
1662
+ * ID of the booking's primary resource.
1663
+ * @format GUID
1664
+ */
1665
+ _id?: string;
1666
+ /**
1667
+ * Resource's name at the time of booking.
1668
+ * @maxLength 40
1669
+ */
1670
+ name?: string | null;
1671
+ /**
1672
+ * Resource's email at the time of booking.
1673
+ * @maxLength 500
1674
+ */
1675
+ email?: string | null;
1676
+ /**
1677
+ * ID of the schedule belonging to the booking's primary resource.
1678
+ * @format GUID
1679
+ */
1680
+ scheduleId?: string | null;
1681
+ }
1682
+ interface Location {
1683
+ /**
1684
+ * Business location ID. Available only for locations that are business locations,
1685
+ * meaning the `location_type` is `"OWNER_BUSINESS"`.
1686
+ * @format GUID
1687
+ */
1688
+ _id?: string | null;
1689
+ /** Location name. */
1690
+ name?: string | null;
1691
+ /** The full address of this location. */
1692
+ formattedAddress?: string | null;
1693
+ /**
1694
+ * The full translated address of this location.
1695
+ * @maxLength 512
1696
+ */
1697
+ formattedAddressTranslated?: string | null;
1698
+ /** Location type. */
1699
+ locationType?: LocationTypeWithLiterals;
1700
+ }
1701
+ declare enum LocationType {
1702
+ /** Undefined location type. */
1703
+ UNDEFINED = "UNDEFINED",
1704
+ /** The business address, as set in the site’s general settings. */
1705
+ OWNER_BUSINESS = "OWNER_BUSINESS",
1706
+ /** The address as set when creating the service. */
1707
+ OWNER_CUSTOM = "OWNER_CUSTOM",
1708
+ /** The address as set for the individual session. */
1709
+ CUSTOM = "CUSTOM"
1710
+ }
1711
+ /** @enumType */
1712
+ type LocationTypeWithLiterals = LocationType | 'UNDEFINED' | 'OWNER_BUSINESS' | 'OWNER_CUSTOM' | 'CUSTOM';
1713
+ /** TODO: should we import it from services-2? */
1714
+ interface PhoneCall {
1715
+ /** Whether the service is delivered via phone call. */
1716
+ enabled?: boolean | null;
1717
+ }
1718
+ interface ResourceSelection {
1719
+ /**
1720
+ * ID of the [resource type](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resource-types-v2/introduction).
1721
+ * @format GUID
1722
+ */
1723
+ resourceTypeId?: string | null;
1724
+ /** Information about how the customer has selected the resource for this resource type. */
1725
+ selectionMethod?: SelectionMethodWithLiterals;
1726
+ }
1727
+ declare enum SelectionMethod {
1728
+ /** There is no information about the resource selection method for this resource type. */
1729
+ UNKNOWN_SELECTION_METHOD = "UNKNOWN_SELECTION_METHOD",
1730
+ /** The customer explicitly chose a particular resource. */
1731
+ SPECIFIC_RESOURCE = "SPECIFIC_RESOURCE",
1732
+ /** The customer explicitly chose "any available resource" for this resource type. */
1733
+ ANY_RESOURCE = "ANY_RESOURCE",
1734
+ /** The customer wasn't offered a resource selection or agreement option for this resource type. */
1735
+ NO_SELECTION = "NO_SELECTION"
1736
+ }
1737
+ /** @enumType */
1738
+ type SelectionMethodWithLiterals = SelectionMethod | 'UNKNOWN_SELECTION_METHOD' | 'SPECIFIC_RESOURCE' | 'ANY_RESOURCE' | 'NO_SELECTION';
1739
+ interface BookedSchedule {
1740
+ /** [Schedule ID](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction). */
1741
+ scheduleId?: string;
1742
+ /**
1743
+ * Booked service ID.
1744
+ * @format GUID
1745
+ */
1746
+ serviceId?: string | null;
1747
+ /**
1748
+ * [Location](https://dev.wix.com/docs/rest/business-management/locations/introduction) where the schedule's sessions take place.
1749
+ * @readonly
1750
+ */
1751
+ location?: Location;
1752
+ /**
1753
+ * Time zone in [IANA tz database format](https://en.wikipedia.org/wiki/Tz_database).
1754
+ * 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.
1755
+ */
1756
+ timezone?: string | null;
1757
+ /**
1758
+ * 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`.
1759
+ * @readonly
1760
+ */
1761
+ firstSessionStart?: string | null;
1762
+ /**
1763
+ * 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`.
1764
+ * @readonly
1765
+ */
1766
+ lastSessionEnd?: string | null;
1767
+ }
1768
+ interface ContactDetails {
1769
+ /**
1770
+ * Contact ID.
1771
+ * @format GUID
1772
+ */
1773
+ contactId?: string | null;
1774
+ /**
1775
+ * Contact's first name. When populated from a standard booking form, this
1776
+ * property corresponds to the `name` field.
1777
+ */
1778
+ firstName?: string | null;
1779
+ /** Contact's last name. */
1780
+ lastName?: string | null;
1781
+ /**
1782
+ * Contact's email. If no [contact](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/contacts/contact-v4/contact-object)
1783
+ * with this email exist, a new contact is created.
1784
+ * Used to validate coupon usage limitations per contact. If not specified,
1785
+ * the coupon usage limitation will not be enforced. (Coupon usage limitation
1786
+ * validation is not supported yet).
1787
+ * @format EMAIL
1788
+ */
1789
+ email?: string | null;
1790
+ /** Contact's phone number. */
1791
+ phone?: string | null;
1792
+ /** Contact's full address. */
1793
+ fullAddress?: Address;
1794
+ /**
1795
+ * Contact's time zone.
1796
+ * @deprecated Contact's time zone.
1797
+ * @targetRemovalDate 2026-03-31
1798
+ */
1799
+ timeZone?: string | null;
1800
+ /**
1801
+ * Contact's country in [ISO 3166-1 alpha-2 code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
1802
+ * format.
1803
+ * @format COUNTRY
1804
+ */
1805
+ countryCode?: string | null;
1806
+ }
1807
+ /** Physical address */
1808
+ interface Address extends AddressStreetOneOf {
1809
+ /** Street name, number and apartment number. */
1810
+ streetAddress?: StreetAddress;
1811
+ /** Main address line, usually street and number, as free text. */
1812
+ addressLine?: string | null;
1813
+ /**
1814
+ * Country code.
1815
+ * @format COUNTRY
1816
+ */
1817
+ country?: string | null;
1818
+ /** Subdivision. Usually state, region, prefecture or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). */
1819
+ subdivision?: string | null;
1820
+ /** City name. */
1821
+ city?: string | null;
1822
+ /** Zip/postal code. */
1823
+ postalCode?: string | null;
1824
+ /** Free text providing more detailed address info. Usually contains Apt, Suite, and Floor. */
1825
+ addressLine2?: string | null;
1826
+ /** A string containing the full address of this location. */
1827
+ formattedAddress?: string | null;
1828
+ /** Free text to help find the address. */
1829
+ hint?: string | null;
1830
+ /** Coordinates of the physical address. */
1831
+ geocode?: AddressLocation;
1832
+ /** Country full name. */
1833
+ countryFullname?: string | null;
1834
+ /** Multi-level subdivisions from top to bottom. */
1835
+ subdivisions?: Subdivision[];
1836
+ }
1837
+ /** @oneof */
1838
+ interface AddressStreetOneOf {
1839
+ /** Street name, number and apartment number. */
1840
+ streetAddress?: StreetAddress;
1841
+ /** Main address line, usually street and number, as free text. */
1842
+ addressLine?: string | null;
1843
+ }
1844
+ interface StreetAddress {
1845
+ /** Street number. */
1846
+ number?: string;
1847
+ /** Street name. */
1848
+ name?: string;
1849
+ /** Apartment number. */
1850
+ apt?: string;
1851
+ }
1852
+ interface AddressLocation {
1853
+ /** Address latitude. */
1854
+ latitude?: number | null;
1855
+ /** Address longitude. */
1856
+ longitude?: number | null;
1857
+ }
1858
+ interface Subdivision {
1859
+ /** Subdivision code. Usually state, region, prefecture or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). */
1860
+ code?: string;
1861
+ /** Subdivision full name. */
1862
+ name?: string;
1863
+ }
1864
+ interface CustomFormField {
1865
+ /**
1866
+ * ID of the form field as defined in the form.
1867
+ * @format GUID
1868
+ */
1869
+ _id?: string;
1870
+ /** Value that was submitted for this field. */
1871
+ value?: string | null;
1872
+ /**
1873
+ * Form field's label at the time of submission.
1874
+ * @readonly
1875
+ */
1876
+ label?: string | null;
1877
+ valueType?: ValueTypeWithLiterals;
1878
+ }
1879
+ declare enum ValueType {
1880
+ /** Short text. This is the default value type. */
1881
+ SHORT_TEXT = "SHORT_TEXT",
1882
+ /** Long text. */
1883
+ LONG_TEXT = "LONG_TEXT",
1884
+ /** A text that represents the check box value. If selected the value is `true`, otherwise `false`. */
1885
+ CHECK_BOX = "CHECK_BOX"
1886
+ }
1887
+ /** @enumType */
1888
+ type ValueTypeWithLiterals = ValueType | 'SHORT_TEXT' | 'LONG_TEXT' | 'CHECK_BOX';
1889
+ /** Booking status. */
1890
+ declare enum BookingStatus {
1891
+ /** The booking was created, but the customer hasn't completed the related eCommerce order yet. */
1892
+ CREATED = "CREATED",
1893
+ /** 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. */
1894
+ CONFIRMED = "CONFIRMED",
1895
+ /**
1896
+ * 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)
1897
+ * they may have to pay a [cancellation fee](https://dev.wix.com/docs/rest/business-solutions/bookings/pricing/booking-fees/introduction).
1898
+ */
1899
+ CANCELED = "CANCELED",
1900
+ /** The merchant must manually confirm the booking before it appears in the business calendar. */
1901
+ PENDING = "PENDING",
1902
+ /** The merchant has declined the booking before the customer was charged. */
1903
+ DECLINED = "DECLINED",
1904
+ /** 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. */
1905
+ WAITING_LIST = "WAITING_LIST"
1906
+ }
1907
+ /** @enumType */
1908
+ type BookingStatusWithLiterals = BookingStatus | 'CREATED' | 'CONFIRMED' | 'CANCELED' | 'PENDING' | 'DECLINED' | 'WAITING_LIST';
1909
+ /**
1910
+ * Payment status.
1911
+ * Automatically updated when using eCommerce checkout APIs.
1912
+ */
1913
+ declare enum PaymentStatus {
1914
+ /** Undefined payment status. */
1915
+ UNDEFINED = "UNDEFINED",
1916
+ /** The booking isn't paid. */
1917
+ NOT_PAID = "NOT_PAID",
1918
+ /** The booking is fully paid. */
1919
+ PAID = "PAID",
1920
+ /** The booking is partially paid. */
1921
+ PARTIALLY_PAID = "PARTIALLY_PAID",
1922
+ /** The booking is refunded. */
1923
+ REFUNDED = "REFUNDED",
1924
+ /** The booking is free of charge. */
1925
+ EXEMPT = "EXEMPT"
1926
+ }
1927
+ /** @enumType */
1928
+ type PaymentStatusWithLiterals = PaymentStatus | 'UNDEFINED' | 'NOT_PAID' | 'PAID' | 'PARTIALLY_PAID' | 'REFUNDED' | 'EXEMPT';
1929
+ /**
1930
+ * Selected payment option.
1931
+ *
1932
+ * One of the payment options offered by the service.
1933
+ * This field is set when the user selects an option during booking.
1934
+ * If left undefined, the payment option is resolved by the service configuration on checkout.
1935
+ */
1936
+ declare enum SelectedPaymentOption {
1937
+ /** Undefined payment option. */
1938
+ UNDEFINED = "UNDEFINED",
1939
+ /** Offline payment. */
1940
+ OFFLINE = "OFFLINE",
1941
+ /** Online payment. */
1942
+ ONLINE = "ONLINE",
1943
+ /** Payment using a Wix Pricing Plan. */
1944
+ MEMBERSHIP = "MEMBERSHIP",
1945
+ /**
1946
+ * Customers can pay only in person with a Wix Pricing Plan, while the Wix user
1947
+ * must manually redeem the pricing plan in the dashboard.
1948
+ */
1949
+ MEMBERSHIP_OFFLINE = "MEMBERSHIP_OFFLINE"
1950
+ }
1951
+ /** @enumType */
1952
+ type SelectedPaymentOptionWithLiterals = SelectedPaymentOption | 'UNDEFINED' | 'OFFLINE' | 'ONLINE' | 'MEMBERSHIP' | 'MEMBERSHIP_OFFLINE';
1953
+ interface BookingSource {
1954
+ /** Platform from which a booking was created. */
1955
+ platform?: PlatformWithLiterals;
1956
+ /** Actor that created this booking. */
1957
+ actor?: ActorWithLiterals;
1958
+ /**
1959
+ * Wix site ID of the application that created the booking.
1960
+ * @format GUID
1961
+ * @readonly
1962
+ */
1963
+ appDefId?: string | null;
1964
+ /**
1965
+ * Name of the application that created the booking, as saved in Wix Developers Center at the time of booking.
1966
+ * @readonly
1967
+ */
1968
+ appName?: string | null;
1969
+ }
1970
+ declare enum Platform {
1971
+ UNDEFINED_PLATFORM = "UNDEFINED_PLATFORM",
1972
+ WEB = "WEB",
1973
+ MOBILE_APP = "MOBILE_APP"
1974
+ }
1975
+ /** @enumType */
1976
+ type PlatformWithLiterals = Platform | 'UNDEFINED_PLATFORM' | 'WEB' | 'MOBILE_APP';
1977
+ declare enum Actor {
1978
+ UNDEFINED_ACTOR = "UNDEFINED_ACTOR",
1979
+ BUSINESS = "BUSINESS",
1980
+ CUSTOMER = "CUSTOMER"
1981
+ }
1982
+ /** @enumType */
1983
+ type ActorWithLiterals = Actor | 'UNDEFINED_ACTOR' | 'BUSINESS' | 'CUSTOMER';
1984
+ interface ParticipantNotification {
1985
+ /**
1986
+ * Whether to send a message about the changes to the customer.
1987
+ *
1988
+ * Default: `false`
1989
+ */
1990
+ notifyParticipants?: boolean;
1991
+ /** Custom message to send to the participants about the changes to the booking. */
1992
+ message?: string | null;
1993
+ /**
1994
+ * Information about the delivery channels used to send the notification.
1995
+ * For example, `{"channels": "SMS" }`, `{"channels": "EMAIL" }`, or `{"channels": "EMAIL, SMS" }`.
1996
+ */
1997
+ metadata?: Record<string, string>;
1998
+ }
1999
+ interface CommonIdentificationData extends CommonIdentificationDataIdOneOf {
2000
+ /**
2001
+ * ID of a site visitor that has not logged in to the site.
2002
+ * @format GUID
2003
+ */
2004
+ anonymousVisitorId?: string;
2005
+ /**
2006
+ * ID of a site visitor that has logged in to the site.
2007
+ * @format GUID
2008
+ */
2009
+ memberId?: string;
2010
+ /**
2011
+ * ID of a Wix user (site owner, contributor, etc.).
2012
+ * @format GUID
2013
+ */
2014
+ wixUserId?: string;
2015
+ /**
2016
+ * ID of an app.
2017
+ * @format GUID
2018
+ */
2019
+ appId?: string;
2020
+ /**
2021
+ * ID of of a contact in the site's [CRM by Ascend](https://www.wix.com/ascend/crm) system.
2022
+ * @format GUID
2023
+ */
2024
+ contactId?: string | null;
2025
+ }
2026
+ /** @oneof */
2027
+ interface CommonIdentificationDataIdOneOf {
2028
+ /**
2029
+ * ID of a site visitor that has not logged in to the site.
2030
+ * @format GUID
2031
+ */
2032
+ anonymousVisitorId?: string;
2033
+ /**
2034
+ * ID of a site visitor that has logged in to the site.
2035
+ * @format GUID
2036
+ */
2037
+ memberId?: string;
2038
+ /**
2039
+ * ID of a Wix user (site owner, contributor, etc.).
2040
+ * @format GUID
2041
+ */
2042
+ wixUserId?: string;
2043
+ /**
2044
+ * ID of an app.
2045
+ * @format GUID
2046
+ */
2047
+ appId?: string;
2048
+ }
2049
+ declare enum IdentityType {
2050
+ UNKNOWN = "UNKNOWN",
2051
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
2052
+ MEMBER = "MEMBER",
2053
+ WIX_USER = "WIX_USER",
2054
+ APP = "APP"
2055
+ }
2056
+ /** @enumType */
2057
+ type IdentityTypeWithLiterals = IdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
2058
+ /**
2059
+ * Settings that control booking flow behavior and override default business rules.
2060
+ *
2061
+ * These settings allow administrators to bypass standard validation checks
2062
+ * and policies when creating, confirming, rescheduling, or canceling bookings.
2063
+ * Most settings require elevated permissions to use.
2064
+ *
2065
+ * Use flow control settings to handle special scenarios like:
2066
+ * - Emergency bookings outside normal business hours
2067
+ * - Admin-initiated bookings that bypass availability checks
2068
+ * - Custom payment flows that don't use standard eCommerce checkout
2069
+ * - Overriding cancellation or rescheduling policies in exceptional cases
2070
+ */
2071
+ interface FlowControlSettings {
2072
+ /** Whether availability is checked when creating or confirming the booking. */
2073
+ skipAvailabilityValidation?: boolean;
2074
+ /**
2075
+ * Whether the booking's `status` is automatically updated to `CONFIRMED` when
2076
+ * the customer completes the [eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction),
2077
+ * regardless of whether the relevant service requires manual business confirmation.
2078
+ */
2079
+ skipBusinessConfirmation?: boolean;
2080
+ /**
2081
+ * Whether the customer is allowed to pay with a payment method that isn't
2082
+ * supported for the relevant service.
2083
+ */
2084
+ skipSelectedPaymentOptionValidation?: boolean;
2085
+ /**
2086
+ * Whether the customer receives an automatic refund if there's a double booking
2087
+ * conflict. Only available if the customer has paid with a
2088
+ * pricing plan.
2089
+ */
2090
+ withRefund?: boolean | null;
2091
+ /**
2092
+ * Whether [add-on](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/add-ons/introduction) validations are skipped when creating a booking.
2093
+ * 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.
2094
+ * 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`.
2095
+ *
2096
+ * Default: `false`.
2097
+ */
2098
+ skipAddOnValidation?: boolean | null;
2099
+ }
2100
+ interface ParticipantChoices {
2101
+ /**
2102
+ * Information about the booked service choices. Includes the number of participants.
2103
+ * @minSize 1
2104
+ * @maxSize 20
2105
+ */
2106
+ serviceChoices?: ServiceChoices[];
2107
+ }
2108
+ interface ServiceChoices {
2109
+ /**
2110
+ * Number of participants for this [variant](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction).
2111
+ * @min 1
2112
+ */
2113
+ numberOfParticipants?: number | null;
2114
+ /**
2115
+ * Service choices for these participants.
2116
+ * @maxSize 5
2117
+ */
2118
+ choices?: ServiceChoice[];
2119
+ }
2120
+ interface ServiceChoice extends ServiceChoiceChoiceOneOf {
2121
+ /**
2122
+ * Value for one of the choices in the [`CustomServiceOption.choices`](https://example.com) list.
2123
+ * Choices are specific values for an option the customer can choose to book. For example,
2124
+ * the option `ageGroup` may have these choices: `child`, `student`, `adult`, and `senior`.
2125
+ * Each choice may have a different price.
2126
+ */
2127
+ custom?: string;
2128
+ duration?: Duration;
2129
+ /**
2130
+ * ID of the corresponding option for the choice. For example, the choice `child`
2131
+ * could correspond to the option `ageGroup`. In this case, `optionId` is the ID
2132
+ * for the `ageGroup` option.
2133
+ * @format GUID
2134
+ */
2135
+ optionId?: string;
2136
+ }
2137
+ /** @oneof */
2138
+ interface ServiceChoiceChoiceOneOf {
2139
+ /**
2140
+ * Value for one of the choices in the [`CustomServiceOption.choices`](https://example.com) list.
2141
+ * Choices are specific values for an option the customer can choose to book. For example,
2142
+ * the option `ageGroup` may have these choices: `child`, `student`, `adult`, and `senior`.
2143
+ * Each choice may have a different price.
2144
+ */
2145
+ custom?: string;
2146
+ duration?: Duration;
2147
+ }
2148
+ interface Duration {
2149
+ /**
2150
+ * Duration of the service in minutes.
2151
+ * Min: 1 minute, Max: 30 days, 23 hours, and 59 minutes
2152
+ * @min 1
2153
+ * @max 44639
2154
+ */
2155
+ minutes?: number;
2156
+ /**
2157
+ * Name of the duration option.
2158
+ * Defaults to the formatted duration e.g. "1 hour, 30 minutes".
2159
+ * @maxLength 255
2160
+ */
2161
+ name?: string | null;
2162
+ }
2163
+ interface MultiServiceBookingInfo {
2164
+ /**
2165
+ * Multi-service booking ID.
2166
+ * @format GUID
2167
+ * @readonly
2168
+ */
2169
+ _id?: string | null;
2170
+ /** Type of the multi-service booking. */
2171
+ type?: MultiServiceBookingTypeWithLiterals;
2172
+ }
2173
+ interface BookedAddOn {
2174
+ /**
2175
+ * The ID of the add-on.
2176
+ * @format GUID
2177
+ */
2178
+ _id?: string;
2179
+ /**
2180
+ * The ID of the add-on group.
2181
+ * @format GUID
2182
+ */
2183
+ groupId?: string;
2184
+ /**
2185
+ * The add-on duration in minutes at the time of booking.
2186
+ * Populated for duration-based add-ons.
2187
+ * @min 1
2188
+ * @max 1440
2189
+ * @readonly
2190
+ */
2191
+ durationInMinutes?: number | null;
2192
+ /**
2193
+ * The quantity of booked add-ons.
2194
+ * For duration-based add-ons, `quantity` is not applicable.
2195
+ * If `quantity` is provided as `1` for a duration-based add-on, it will be accepted but the value will be cleared.
2196
+ * 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".
2197
+ * @min 1
2198
+ * @max 1000
2199
+ */
2200
+ quantity?: number | null;
2201
+ /**
2202
+ * Add-on `name` at the time of booking.
2203
+ * @maxLength 100
2204
+ * @readonly
2205
+ */
2206
+ name?: string | null;
2207
+ /**
2208
+ * Add-on name translated to the language the customer used during booking.
2209
+ * @maxLength 100
2210
+ * @readonly
2211
+ */
2212
+ nameTranslated?: string | null;
2213
+ }
2214
+ interface DomainEvent extends DomainEventBodyOneOf {
2215
+ createdEvent?: EntityCreatedEvent;
2216
+ updatedEvent?: EntityUpdatedEvent;
2217
+ deletedEvent?: EntityDeletedEvent;
2218
+ actionEvent?: ActionEvent;
2219
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
2220
+ _id?: string;
2221
+ /**
2222
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
2223
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
2224
+ */
2225
+ entityFqdn?: string;
2226
+ /**
2227
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
2228
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
2229
+ */
2230
+ slug?: string;
2231
+ /** ID of the entity associated with the event. */
2232
+ entityId?: string;
2233
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
2234
+ eventTime?: Date | null;
2235
+ /**
2236
+ * Whether the event was triggered as a result of a privacy regulation application
2237
+ * (for example, GDPR).
2238
+ */
2239
+ triggeredByAnonymizeRequest?: boolean | null;
2240
+ /** If present, indicates the action that triggered the event. */
2241
+ originatedFrom?: string | null;
2242
+ /**
2243
+ * 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.
2244
+ * 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.
2245
+ */
2246
+ entityEventSequence?: string | null;
2247
+ }
2248
+ /** @oneof */
2249
+ interface DomainEventBodyOneOf {
2250
+ createdEvent?: EntityCreatedEvent;
2251
+ updatedEvent?: EntityUpdatedEvent;
2252
+ deletedEvent?: EntityDeletedEvent;
2253
+ actionEvent?: ActionEvent;
2254
+ }
2255
+ interface EntityCreatedEvent {
2256
+ entity?: string;
2257
+ }
2258
+ interface RestoreInfo {
2259
+ deletedDate?: Date | null;
2260
+ }
2261
+ interface EntityUpdatedEvent {
2262
+ /**
2263
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
2264
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
2265
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
2266
+ */
2267
+ currentEntity?: string;
2268
+ }
2269
+ interface EntityDeletedEvent {
2270
+ /** Entity that was deleted. */
2271
+ deletedEntity?: string | null;
2272
+ }
2273
+ interface ActionEvent {
2274
+ body?: string;
2275
+ }
2276
+ interface MessageEnvelope {
2277
+ /**
2278
+ * App instance ID.
2279
+ * @format GUID
2280
+ */
2281
+ instanceId?: string | null;
2282
+ /**
2283
+ * Event type.
2284
+ * @maxLength 150
2285
+ */
2286
+ eventType?: string;
2287
+ /** The identification type and identity data. */
2288
+ identity?: IdentificationData;
2289
+ /** Stringify payload. */
2290
+ data?: string;
2291
+ /** Details related to the account */
2292
+ accountInfo?: AccountInfo;
2293
+ }
2294
+ interface IdentificationData extends IdentificationDataIdOneOf {
2295
+ /**
2296
+ * ID of a site visitor that has not logged in to the site.
2297
+ * @format GUID
1267
2298
  */
1268
- keywords?: Keyword[];
1269
- }
1270
- interface AddOnGroup {
2299
+ anonymousVisitorId?: string;
1271
2300
  /**
1272
- * ID of the add-on group.
1273
- * Wix Bookings automatically populates this field when creating or updating an add-on group.
1274
- * @readonly
2301
+ * ID of a site visitor that has logged in to the site.
1275
2302
  * @format GUID
1276
2303
  */
1277
- _id?: string | null;
2304
+ memberId?: string;
1278
2305
  /**
1279
- * Name of the add-on group.
1280
- * @maxLength 100
2306
+ * ID of a Wix user (site owner, contributor, etc.).
2307
+ * @format GUID
1281
2308
  */
1282
- name?: string | null;
2309
+ wixUserId?: string;
1283
2310
  /**
1284
- * 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.
1285
- * When empty, there's no upper limit.
2311
+ * ID of an app.
2312
+ * @format GUID
1286
2313
  */
1287
- maxNumberOfAddOns?: number | null;
2314
+ appId?: string;
2315
+ /** @readonly */
2316
+ identityType?: WebhookIdentityTypeWithLiterals;
2317
+ }
2318
+ /** @oneof */
2319
+ interface IdentificationDataIdOneOf {
1288
2320
  /**
1289
- * 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.
2321
+ * ID of a site visitor that has not logged in to the site.
1290
2322
  * @format GUID
1291
- * @maxSize 7
1292
2323
  */
1293
- addOnIds?: string[] | null;
2324
+ anonymousVisitorId?: string;
1294
2325
  /**
1295
- * Description or instructional prompt of the add-on group that's displayed to customers when booking the service.
1296
- * @maxLength 200
2326
+ * ID of a site visitor that has logged in to the site.
2327
+ * @format GUID
1297
2328
  */
1298
- prompt?: string | null;
1299
- }
1300
- interface AddOnDetails {
2329
+ memberId?: string;
1301
2330
  /**
1302
- * ID of the add-on.
2331
+ * ID of a Wix user (site owner, contributor, etc.).
1303
2332
  * @format GUID
1304
2333
  */
1305
- addOnId?: string | null;
2334
+ wixUserId?: string;
1306
2335
  /**
1307
- * Duration in minutes for add-ons that extend service time.
1308
- * Empty for [quantity-based add-ons](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/add-ons/introduction#terminology).
2336
+ * ID of an app.
2337
+ * @format GUID
1309
2338
  */
1310
- durationInMinutes?: number | null;
1311
- }
1312
- /** `TaxableAddress` defines the taxable address used for the service. */
1313
- interface TaxableAddress {
1314
- /** Taxable address type. */
1315
- taxableAddressType?: TaxableAddressTypeWithLiterals;
2339
+ appId?: string;
1316
2340
  }
1317
- declare enum TaxableAddressType {
1318
- UNKNOWN_TAXABLE_ADDRESS_TYPE = "UNKNOWN_TAXABLE_ADDRESS_TYPE",
1319
- BUSINESS = "BUSINESS",
1320
- BILLING = "BILLING"
2341
+ declare enum WebhookIdentityType {
2342
+ UNKNOWN = "UNKNOWN",
2343
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
2344
+ MEMBER = "MEMBER",
2345
+ WIX_USER = "WIX_USER",
2346
+ APP = "APP"
1321
2347
  }
1322
2348
  /** @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 {
2349
+ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
2350
+ interface AccountInfo {
2351
+ /**
2352
+ * ID of the Wix account associated with the event.
2353
+ * @format GUID
2354
+ */
2355
+ accountId?: string | null;
2356
+ /**
2357
+ * ID of the parent Wix account. Only included when accountId belongs to a child account.
2358
+ * @format GUID
2359
+ */
2360
+ parentAccountId?: string | null;
2361
+ /**
2362
+ * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.
2363
+ * @format GUID
2364
+ */
2365
+ siteId?: string | null;
1333
2366
  }
1334
2367
  interface CreateServiceRequest {
1335
2368
  /** Service to create. */
@@ -1469,7 +2502,7 @@ interface ServiceAvailabilityConstraints {
1469
2502
  * @readonly
1470
2503
  * @maxSize 100
1471
2504
  */
1472
- locations?: Location[];
2505
+ locations?: V2Location[];
1473
2506
  /**
1474
2507
  * Resource groups required to book the service. For backward compatibility only. Use `Service Resources` instead.
1475
2508
  * @maxSize 3
@@ -1570,9 +2603,9 @@ interface DeleteServiceRequest {
1570
2603
  * Whether to notify participants about the change and an optional
1571
2604
  * custom message.
1572
2605
  */
1573
- participantNotification?: ParticipantNotification;
2606
+ participantNotification?: V2ParticipantNotification;
1574
2607
  }
1575
- interface ParticipantNotification {
2608
+ interface V2ParticipantNotification {
1576
2609
  /**
1577
2610
  * Whether to send a message about the changes to the customer.
1578
2611
  *
@@ -1604,7 +2637,7 @@ interface BulkDeleteServicesRequest {
1604
2637
  * Whether to notify participants about the change and an optional
1605
2638
  * custom message.
1606
2639
  */
1607
- participantNotification?: ParticipantNotification;
2640
+ participantNotification?: V2ParticipantNotification;
1608
2641
  }
1609
2642
  interface BulkDeleteServicesResponse {
1610
2643
  /** The result of each service removal. */
@@ -1622,7 +2655,7 @@ interface BulkDeleteServicesByFilterRequest {
1622
2655
  */
1623
2656
  preserveFutureSessionsWithParticipants?: boolean;
1624
2657
  /** Whether to notify participants about the change and an optional custom message. */
1625
- participantNotification?: ParticipantNotification;
2658
+ participantNotification?: V2ParticipantNotification;
1626
2659
  }
1627
2660
  interface BulkDeleteServicesByFilterResponse {
1628
2661
  /**
@@ -2480,7 +3513,7 @@ interface BusinessLocations {
2480
3513
  * Retrieved business locations.
2481
3514
  * @maxSize 100
2482
3515
  */
2483
- locations?: Location[];
3516
+ locations?: V2Location[];
2484
3517
  }
2485
3518
  interface CustomLocations {
2486
3519
  /**
@@ -2539,7 +3572,7 @@ interface SetServiceLocationsRequest {
2539
3572
  * 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
3573
  * @maxSize 100
2541
3574
  */
2542
- locations?: Location[];
3575
+ locations?: V2Location[];
2543
3576
  /**
2544
3577
  * The action to perform on sessions currently set to a removed location. For
2545
3578
  * example, move existing sessions to a new specified location.
@@ -2550,7 +3583,7 @@ interface SetServiceLocationsRequest {
2550
3583
  * Whether to notify participants about the change of location, and an
2551
3584
  * Optional custom message. The notification is sent only to participants of sessions that are affected by the change.
2552
3585
  */
2553
- participantNotification?: ParticipantNotification;
3586
+ participantNotification?: V2ParticipantNotification;
2554
3587
  }
2555
3588
  interface RemovedLocationSessionsAction extends RemovedLocationSessionsActionActionOptionsOneOf {
2556
3589
  /**
@@ -2585,7 +3618,7 @@ declare enum Action {
2585
3618
  type ActionWithLiterals = Action | 'UNKNOWN_ACTION_TYPE' | 'KEEP_AT_CURRENT_LOCATION' | 'MOVE_TO_LOCATION' | 'DELETE';
2586
3619
  interface MoveToNewLocationsOptions {
2587
3620
  /** The new location to move existing sessions currently set to a removed location, used when `action` is `MOVE_TO_LOCATION`. */
2588
- newLocation?: Location;
3621
+ newLocation?: V2Location;
2589
3622
  }
2590
3623
  interface SetServiceLocationsResponse {
2591
3624
  /** The updated service with the newly set locations. */
@@ -2787,68 +3820,6 @@ declare enum CategoryNotificationEvent {
2787
3820
  type CategoryNotificationEventWithLiterals = CategoryNotificationEvent | 'Updated' | 'Deleted' | 'Created';
2788
3821
  interface Empty {
2789
3822
  }
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
3823
  interface BenefitNotification {
2853
3824
  /**
2854
3825
  * Plan unique ID
@@ -3061,7 +4032,7 @@ interface Properties {
3061
4032
  /** Fax number. */
3062
4033
  fax?: string | null;
3063
4034
  /** Address. */
3064
- address?: Address;
4035
+ address?: V4Address;
3065
4036
  /** Site display name. */
3066
4037
  siteDisplayName?: string | null;
3067
4038
  /** Business name. */
@@ -3108,7 +4079,7 @@ interface Locale {
3108
4079
  /** 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
4080
  country?: string;
3110
4081
  }
3111
- interface Address {
4082
+ interface V4Address {
3112
4083
  /** Street name. */
3113
4084
  street?: string;
3114
4085
  /** City name. */
@@ -3298,97 +4269,6 @@ interface SiteCloned {
3298
4269
  /** Origin site id. */
3299
4270
  originMetaSiteId?: string;
3300
4271
  }
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
4272
  interface CreateAddOnGroupRequest {
3393
4273
  /** Add-on group to create. */
3394
4274
  addOnGroup: AddOnGroup;
@@ -4000,7 +4880,7 @@ interface UpdateService {
4000
4880
  * @immutable
4001
4881
  * @maxSize 500
4002
4882
  */
4003
- locations?: Location[];
4883
+ locations?: V2Location[];
4004
4884
  /**
4005
4885
  * [Policy](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/introduction)
4006
4886
  * 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 +5035,7 @@ interface DeleteServiceOptions {
4155
5035
  * Whether to notify participants about the change and an optional
4156
5036
  * custom message.
4157
5037
  */
4158
- participantNotification?: ParticipantNotification;
5038
+ participantNotification?: V2ParticipantNotification;
4159
5039
  }
4160
5040
  /**
4161
5041
  * Deletes multiple services.
@@ -4185,7 +5065,7 @@ interface BulkDeleteServicesOptions {
4185
5065
  * Whether to notify participants about the change and an optional
4186
5066
  * custom message.
4187
5067
  */
4188
- participantNotification?: ParticipantNotification;
5068
+ participantNotification?: V2ParticipantNotification;
4189
5069
  }
4190
5070
  /**
4191
5071
  * Deletes multiple services by filter.
@@ -4218,7 +5098,7 @@ interface BulkDeleteServicesByFilterOptions {
4218
5098
  */
4219
5099
  preserveFutureSessionsWithParticipants?: boolean;
4220
5100
  /** Whether to notify participants about the change and an optional custom message. */
4221
- participantNotification?: ParticipantNotification;
5101
+ participantNotification?: V2ParticipantNotification;
4222
5102
  }
4223
5103
  /**
4224
5104
  * Creates a query to retrieve a list of `service` objects.
@@ -4399,6 +5279,9 @@ type ServiceQuery = {
4399
5279
  order?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['order'];
4400
5280
  }[];
4401
5281
  };
5282
+ declare const QueryBuilder: () => _wix_sdk_types.QueryBuilder<Service, ServiceQuerySpec, ServiceQuery>;
5283
+ declare const Filter: _wix_sdk_types.FilterFactory<Service, ServiceQuerySpec>;
5284
+ declare const Sort: _wix_sdk_types.SortFactory<ServiceQuerySpec>;
4402
5285
  interface ServiceSearchSpec extends SearchSpec {
4403
5286
  searchable: ['name'];
4404
5287
  aggregatable: [
@@ -4824,7 +5707,7 @@ interface SetServiceLocationsOptions {
4824
5707
  * 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
5708
  * @maxSize 100
4826
5709
  */
4827
- locations?: Location[];
5710
+ locations?: V2Location[];
4828
5711
  /**
4829
5712
  * The action to perform on sessions currently set to a removed location. For
4830
5713
  * example, move existing sessions to a new specified location.
@@ -4835,7 +5718,7 @@ interface SetServiceLocationsOptions {
4835
5718
  * Whether to notify participants about the change of location, and an
4836
5719
  * Optional custom message. The notification is sent only to participants of sessions that are affected by the change.
4837
5720
  */
4838
- participantNotification?: ParticipantNotification;
5721
+ participantNotification?: V2ParticipantNotification;
4839
5722
  }
4840
5723
  /**
4841
5724
  * 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 +6022,4 @@ interface SetAddOnsForGroupOptions {
5139
6022
  addOnIds: string[] | null;
5140
6023
  }
5141
6024
 
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 };
6025
+ 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 };