@wix/auto_sdk_bookings_services 1.0.122 → 1.0.124

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-KorTqIDU.d.ts → bookings-services-v2-service-services.universal-ITYqFvzY.d.ts} +421 -348
  2. package/build/cjs/index.d.ts +60 -60
  3. package/build/cjs/index.js +333 -316
  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 +262 -245
  7. package/build/cjs/index.typings.js.map +1 -1
  8. package/build/cjs/meta.d.ts +138 -138
  9. package/build/cjs/meta.js +185 -185
  10. package/build/cjs/meta.js.map +1 -1
  11. package/build/es/{bookings-services-v2-service-services.universal-KorTqIDU.d.mts → bookings-services-v2-service-services.universal-ITYqFvzY.d.mts} +421 -348
  12. package/build/es/index.d.mts +60 -60
  13. package/build/es/index.mjs +331 -316
  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 +260 -245
  17. package/build/es/index.typings.mjs.map +1 -1
  18. package/build/es/meta.d.mts +138 -138
  19. package/build/es/meta.mjs +185 -185
  20. package/build/es/meta.mjs.map +1 -1
  21. package/build/internal/cjs/{bookings-services-v2-service-services.universal-KorTqIDU.d.ts → bookings-services-v2-service-services.universal-ITYqFvzY.d.ts} +421 -348
  22. package/build/internal/cjs/index.d.ts +60 -60
  23. package/build/internal/cjs/index.js +333 -316
  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 +262 -245
  27. package/build/internal/cjs/index.typings.js.map +1 -1
  28. package/build/internal/cjs/meta.d.ts +138 -138
  29. package/build/internal/cjs/meta.js +185 -185
  30. package/build/internal/cjs/meta.js.map +1 -1
  31. package/build/internal/es/{bookings-services-v2-service-services.universal-KorTqIDU.d.mts → bookings-services-v2-service-services.universal-ITYqFvzY.d.mts} +421 -348
  32. package/build/internal/es/index.d.mts +60 -60
  33. package/build/internal/es/index.mjs +331 -316
  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 +260 -245
  37. package/build/internal/es/index.typings.mjs.map +1 -1
  38. package/build/internal/es/meta.d.mts +138 -138
  39. package/build/internal/es/meta.mjs +185 -185
  40. package/build/internal/es/meta.mjs.map +1 -1
  41. package/package.json +2 -2
@@ -875,6 +875,79 @@ interface SaveCreditCardPolicy {
875
875
  /** Default: `false` */
876
876
  enabled?: boolean;
877
877
  }
878
+ /**
879
+ * Policy for determining how staff members are sorted and selected during the booking process.
880
+ * This affects which staff member is chosen when multiple staff members are available for a service.
881
+ */
882
+ interface StaffSortingPolicy extends StaffSortingPolicyOptionsOneOf {
883
+ rankingOptions?: RankingOptions;
884
+ customOptions?: CustomOptions;
885
+ /**
886
+ * Method used for sorting and selecting staff members.
887
+ *
888
+ * Default: `RANDOM`
889
+ */
890
+ sortingMethodType?: SortingMethodTypeWithLiterals;
891
+ }
892
+ /** @oneof */
893
+ interface StaffSortingPolicyOptionsOneOf {
894
+ rankingOptions?: RankingOptions;
895
+ customOptions?: CustomOptions;
896
+ }
897
+ /** Order for ranking-based staff selection. */
898
+ declare enum RankingOrder {
899
+ UNKNOWN_RANKING_ORDER = "UNKNOWN_RANKING_ORDER",
900
+ /** Staff members with lower priority values are selected first. */
901
+ LOWEST_TO_HIGHEST = "LOWEST_TO_HIGHEST",
902
+ /** Staff members with higher priority values are selected first. */
903
+ HIGHEST_TO_LOWEST = "HIGHEST_TO_LOWEST"
904
+ }
905
+ /** @enumType */
906
+ type RankingOrderWithLiterals = RankingOrder | 'UNKNOWN_RANKING_ORDER' | 'LOWEST_TO_HIGHEST' | 'HIGHEST_TO_LOWEST';
907
+ /** Method used to sort and select staff members. */
908
+ declare enum SortingMethodType {
909
+ UNKNOWN_SORTING_METHOD_TYPE = "UNKNOWN_SORTING_METHOD_TYPE",
910
+ /** Staff members are selected randomly from available options. */
911
+ RANDOM = "RANDOM",
912
+ /** Staff members are selected based on their priority ranking. */
913
+ RANKING = "RANKING",
914
+ /**
915
+ * Staff members are selected using a custom method provided by StaffSelectionSPI.
916
+ * This allows third-party apps to implement custom staff selection logic.
917
+ */
918
+ CUSTOM = "CUSTOM"
919
+ }
920
+ /** @enumType */
921
+ type SortingMethodTypeWithLiterals = SortingMethodType | 'UNKNOWN_SORTING_METHOD_TYPE' | 'RANDOM' | 'RANKING' | 'CUSTOM';
922
+ /**
923
+ * Configuration options for ranking-based staff selection.
924
+ * Used when `sorting_method_type` is set to `RANKING`.
925
+ */
926
+ interface RankingOptions {
927
+ /**
928
+ * Order in which staff members are sorted by their priority ranking.
929
+ *
930
+ * Default: `LOWEST_TO_HIGHEST`
931
+ */
932
+ order?: RankingOrderWithLiterals;
933
+ }
934
+ /**
935
+ * Configuration options for custom staff selection methods.
936
+ * Used when `sorting_method_type` is set to `CUSTOM`.
937
+ */
938
+ interface CustomOptions {
939
+ /**
940
+ * ID of the custom selection method implemented in StaffSelectionSPI.
941
+ * This identifies which custom sorting algorithm to use.
942
+ * @format GUID
943
+ */
944
+ methodId?: string;
945
+ /**
946
+ * ID of the app that provides the custom selection method.
947
+ * @format GUID
948
+ */
949
+ appId?: string;
950
+ }
878
951
  interface Schedule {
879
952
  /**
880
953
  * ID of the *schedule*
@@ -1353,138 +1426,6 @@ declare enum WebhookIdentityType {
1353
1426
  }
1354
1427
  /** @enumType */
1355
1428
  type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
1356
- interface CreateAddOnGroupRequest {
1357
- /** AddOnGroup to create. */
1358
- addOnGroup: AddOnGroup;
1359
- /**
1360
- * ID of the service to create the AddOnGroup for.
1361
- * @format GUID
1362
- */
1363
- serviceId?: string | null;
1364
- }
1365
- interface CreateAddOnGroupResponse {
1366
- /** Created AddOnGroup. */
1367
- addOnGroup?: AddOnGroup;
1368
- }
1369
- interface DeleteAddOnGroupRequest {
1370
- /**
1371
- * ID of the AddOnGroup to delete.
1372
- * @format GUID
1373
- */
1374
- addOnGroupId: string | null;
1375
- /**
1376
- * ID of the service from which to delete the AddOnGroup.
1377
- * @format GUID
1378
- */
1379
- serviceId: string | null;
1380
- }
1381
- interface DeleteAddOnGroupResponse {
1382
- }
1383
- interface UpdateAddOnGroupRequest {
1384
- /** AddOnGroup to update. */
1385
- addOnGroup: AddOnGroup;
1386
- /**
1387
- * ID of the service that contains the AddOnGroup.
1388
- * @format GUID
1389
- */
1390
- serviceId: string | null;
1391
- }
1392
- interface UpdateAddOnGroupResponse {
1393
- /** Updated AddOnGroup */
1394
- addOnGroup?: AddOnGroup;
1395
- }
1396
- interface ListAddOnGroupsByServiceIdRequest {
1397
- /**
1398
- * ID of the service to retrieve AddOnGroups for.
1399
- * @format GUID
1400
- */
1401
- serviceId: string | null;
1402
- /**
1403
- * List of group ids to return. If not provided, all groups are returned.
1404
- * @format GUID
1405
- * @maxSize 3
1406
- */
1407
- groupIds?: string[] | null;
1408
- }
1409
- interface ListAddOnGroupsByServiceIdResponse {
1410
- /**
1411
- * List of group IDs and their linked AddOns.
1412
- * @maxSize 3
1413
- */
1414
- addOnGroupsDetails?: AddOnGroupDetail[];
1415
- }
1416
- interface AddOn extends AddOnAddOnInfoOneOf {
1417
- /** The AddOn description. */
1418
- durationInMinutes?: number;
1419
- /** The AddOn max quantity. */
1420
- maxQuantity?: number;
1421
- /**
1422
- * The AddOn ID.
1423
- * @format GUID
1424
- */
1425
- addOnId?: string | null;
1426
- /**
1427
- * The AddOn name.
1428
- * @maxLength 100
1429
- */
1430
- name?: string | null;
1431
- /** The AddOn price. */
1432
- price?: Money;
1433
- }
1434
- /** @oneof */
1435
- interface AddOnAddOnInfoOneOf {
1436
- /** The AddOn description. */
1437
- durationInMinutes?: number;
1438
- /** The AddOn max quantity. */
1439
- maxQuantity?: number;
1440
- }
1441
- interface AddOnGroupDetail {
1442
- /**
1443
- * The group ID.
1444
- * @format GUID
1445
- */
1446
- groupId?: string | null;
1447
- /** The group max number of AddOns. */
1448
- maxNumberOfAddOns?: number | null;
1449
- /**
1450
- * The group name.
1451
- * @maxLength 100
1452
- */
1453
- groupName?: string | null;
1454
- /**
1455
- * The AddOns information linked to the group.
1456
- * @maxSize 7
1457
- */
1458
- addOns?: AddOn[];
1459
- /**
1460
- * The group prompt.
1461
- * @maxLength 200
1462
- */
1463
- prompt?: string | null;
1464
- }
1465
- interface SetAddOnsForGroupRequest {
1466
- /**
1467
- * The service ID to set AddOns for.
1468
- * @format GUID
1469
- */
1470
- serviceId: string | null;
1471
- /**
1472
- * The group ID to set AddOns for.
1473
- * @format GUID
1474
- */
1475
- groupId: string | null;
1476
- /**
1477
- * The IDs of AddOns to set.
1478
- * @format GUID
1479
- * @minSize 1
1480
- * @maxSize 7
1481
- */
1482
- addOnIds: string[] | null;
1483
- }
1484
- interface SetAddOnsForGroupResponse {
1485
- /** The updated AddOnGroup. */
1486
- addOnGroup?: AddOnGroup;
1487
- }
1488
1429
  interface CreateServiceRequest {
1489
1430
  /** Service to create. */
1490
1431
  service: Service;
@@ -3393,101 +3334,215 @@ interface SiteCloned {
3393
3334
  /** Origin site id. */
3394
3335
  originMetaSiteId?: string;
3395
3336
  }
3396
- /** @docsIgnore */
3397
- type DeleteAddOnGroupApplicationErrors = {
3398
- code?: 'GROUP_NOT_ON_SERVICE';
3399
- description?: string;
3400
- data?: Record<string, any>;
3401
- };
3402
- /** @docsIgnore */
3403
- type UpdateAddOnGroupApplicationErrors = {
3404
- code?: 'GROUP_NOT_ON_SERVICE';
3405
- description?: string;
3406
- data?: Record<string, any>;
3407
- };
3408
- /** @docsIgnore */
3409
- type SetAddOnsForGroupApplicationErrors = {
3410
- code?: 'ADD_ON_GROUP_NOT_FOUND';
3411
- description?: string;
3412
- data?: Record<string, any>;
3413
- };
3414
- /** @docsIgnore */
3415
- type CreateServiceValidationErrors = {
3416
- ruleName?: 'INVALID_FORM';
3417
- } | {
3418
- ruleName?: 'INVALID_CATEGORY';
3419
- } | {
3420
- ruleName?: 'INVALID_BOOKING_POLICY';
3421
- } | {
3422
- ruleName?: 'INVALID_SERVICE_TYPE';
3423
- } | {
3424
- ruleName?: 'INVALID_SERVICE_NAME';
3425
- } | {
3426
- ruleName?: 'INVALID_ONLINE_BOOKING';
3427
- } | {
3428
- ruleName?: 'INVALID_STAFF_MEMBER_IDS';
3429
- } | {
3430
- ruleName?: 'PAYMENT_REQUIRED';
3431
- } | {
3432
- ruleName?: 'INVALID_PAYMENT_TYPE';
3433
- } | {
3434
- ruleName?: 'INVALID_RATE';
3435
- } | {
3436
- ruleName?: 'INVALID_PAYMENT_OPTIONS';
3437
- } | {
3438
- ruleName?: 'INVALID_BUSINESS_LOCATIONS';
3439
- } | {
3440
- ruleName?: 'INVALID_LOCATIONS';
3441
- } | {
3442
- ruleName?: 'INVALID_BUSINESS_LOCATION';
3443
- } | {
3444
- ruleName?: 'INVALID_CUSTOM_LOCATION';
3445
- } | {
3446
- ruleName?: 'INVALID_CUSTOMER_LOCATION';
3447
- } | {
3448
- ruleName?: 'INVALID_UNKNOWN_LOCATION';
3449
- } | {
3450
- ruleName?: 'INVALID_MANUAL_APPROVAL_WITH_PRICING_PLANS';
3451
- } | {
3452
- ruleName?: 'INVALID_DEFAULT_CAPACITY';
3453
- } | {
3454
- ruleName?: 'INVALID_APPOINTMENT_CAPACITY';
3455
- } | {
3456
- ruleName?: 'INVALID_SESSION_DURATION';
3457
- };
3458
- /** @docsIgnore */
3459
- type UpdateServiceValidationErrors = {
3460
- ruleName?: 'INVALID_FORM';
3461
- } | {
3462
- ruleName?: 'INVALID_CATEGORY';
3463
- } | {
3464
- ruleName?: 'INVALID_BOOKING_POLICY';
3465
- } | {
3466
- ruleName?: 'INVALID_SERVICE_TYPE';
3467
- } | {
3468
- ruleName?: 'INVALID_SERVICE_NAME';
3469
- } | {
3470
- ruleName?: 'INVALID_ONLINE_BOOKING';
3471
- } | {
3472
- ruleName?: 'INVALID_STAFF_MEMBER_IDS';
3473
- } | {
3474
- ruleName?: 'PAYMENT_REQUIRED';
3475
- } | {
3476
- ruleName?: 'INVALID_PAYMENT_TYPE';
3477
- } | {
3478
- ruleName?: 'INVALID_RATE';
3479
- } | {
3480
- ruleName?: 'INVALID_PAYMENT_OPTIONS';
3481
- } | {
3482
- ruleName?: 'INVALID_BUSINESS_LOCATIONS';
3483
- } | {
3484
- ruleName?: 'INVALID_LOCATIONS';
3485
- } | {
3486
- ruleName?: 'INVALID_BUSINESS_LOCATION';
3487
- } | {
3488
- ruleName?: 'INVALID_CUSTOM_LOCATION';
3489
- } | {
3490
- ruleName?: 'INVALID_CUSTOMER_LOCATION';
3337
+ interface CreateAddOnGroupRequest {
3338
+ /** AddOnGroup to create. */
3339
+ addOnGroup: AddOnGroup;
3340
+ /**
3341
+ * ID of the service to create the AddOnGroup for.
3342
+ * @format GUID
3343
+ */
3344
+ serviceId?: string | null;
3345
+ }
3346
+ interface CreateAddOnGroupResponse {
3347
+ /** Created AddOnGroup. */
3348
+ addOnGroup?: AddOnGroup;
3349
+ }
3350
+ interface DeleteAddOnGroupRequest {
3351
+ /**
3352
+ * ID of the AddOnGroup to delete.
3353
+ * @format GUID
3354
+ */
3355
+ addOnGroupId: string | null;
3356
+ /**
3357
+ * ID of the service from which to delete the AddOnGroup.
3358
+ * @format GUID
3359
+ */
3360
+ serviceId: string | null;
3361
+ }
3362
+ interface DeleteAddOnGroupResponse {
3363
+ }
3364
+ interface UpdateAddOnGroupRequest {
3365
+ /** AddOnGroup to update. */
3366
+ addOnGroup: AddOnGroup;
3367
+ /**
3368
+ * ID of the service that contains the AddOnGroup.
3369
+ * @format GUID
3370
+ */
3371
+ serviceId: string | null;
3372
+ }
3373
+ interface UpdateAddOnGroupResponse {
3374
+ /** Updated AddOnGroup */
3375
+ addOnGroup?: AddOnGroup;
3376
+ }
3377
+ interface ListAddOnGroupsByServiceIdRequest {
3378
+ /**
3379
+ * ID of the service to retrieve AddOnGroups for.
3380
+ * @format GUID
3381
+ */
3382
+ serviceId: string | null;
3383
+ /**
3384
+ * List of group ids to return. If not provided, all groups are returned.
3385
+ * @format GUID
3386
+ * @maxSize 3
3387
+ */
3388
+ groupIds?: string[] | null;
3389
+ }
3390
+ interface ListAddOnGroupsByServiceIdResponse {
3391
+ /**
3392
+ * List of group IDs and their linked AddOns.
3393
+ * @maxSize 3
3394
+ */
3395
+ addOnGroupsDetails?: AddOnGroupDetail[];
3396
+ }
3397
+ interface AddOn extends AddOnAddOnInfoOneOf {
3398
+ /** The AddOn description. */
3399
+ durationInMinutes?: number;
3400
+ /** The AddOn max quantity. */
3401
+ maxQuantity?: number;
3402
+ /**
3403
+ * The AddOn ID.
3404
+ * @format GUID
3405
+ */
3406
+ addOnId?: string | null;
3407
+ /**
3408
+ * The AddOn name.
3409
+ * @maxLength 100
3410
+ */
3411
+ name?: string | null;
3412
+ /** The AddOn price. */
3413
+ price?: Money;
3414
+ }
3415
+ /** @oneof */
3416
+ interface AddOnAddOnInfoOneOf {
3417
+ /** The AddOn description. */
3418
+ durationInMinutes?: number;
3419
+ /** The AddOn max quantity. */
3420
+ maxQuantity?: number;
3421
+ }
3422
+ interface AddOnGroupDetail {
3423
+ /**
3424
+ * The group ID.
3425
+ * @format GUID
3426
+ */
3427
+ groupId?: string | null;
3428
+ /** The group max number of AddOns. */
3429
+ maxNumberOfAddOns?: number | null;
3430
+ /**
3431
+ * The group name.
3432
+ * @maxLength 100
3433
+ */
3434
+ groupName?: string | null;
3435
+ /**
3436
+ * The AddOns information linked to the group.
3437
+ * @maxSize 7
3438
+ */
3439
+ addOns?: AddOn[];
3440
+ /**
3441
+ * The group prompt.
3442
+ * @maxLength 200
3443
+ */
3444
+ prompt?: string | null;
3445
+ }
3446
+ interface SetAddOnsForGroupRequest {
3447
+ /**
3448
+ * The service ID to set AddOns for.
3449
+ * @format GUID
3450
+ */
3451
+ serviceId: string | null;
3452
+ /**
3453
+ * The group ID to set AddOns for.
3454
+ * @format GUID
3455
+ */
3456
+ groupId: string | null;
3457
+ /**
3458
+ * The IDs of AddOns to set.
3459
+ * @format GUID
3460
+ * @minSize 1
3461
+ * @maxSize 7
3462
+ */
3463
+ addOnIds: string[] | null;
3464
+ }
3465
+ interface SetAddOnsForGroupResponse {
3466
+ /** The updated AddOnGroup. */
3467
+ addOnGroup?: AddOnGroup;
3468
+ }
3469
+ /** @docsIgnore */
3470
+ type CreateServiceValidationErrors = {
3471
+ ruleName?: 'INVALID_FORM';
3472
+ } | {
3473
+ ruleName?: 'INVALID_CATEGORY';
3474
+ } | {
3475
+ ruleName?: 'INVALID_BOOKING_POLICY';
3476
+ } | {
3477
+ ruleName?: 'INVALID_SERVICE_TYPE';
3478
+ } | {
3479
+ ruleName?: 'INVALID_SERVICE_NAME';
3480
+ } | {
3481
+ ruleName?: 'INVALID_ONLINE_BOOKING';
3482
+ } | {
3483
+ ruleName?: 'INVALID_STAFF_MEMBER_IDS';
3484
+ } | {
3485
+ ruleName?: 'PAYMENT_REQUIRED';
3486
+ } | {
3487
+ ruleName?: 'INVALID_PAYMENT_TYPE';
3488
+ } | {
3489
+ ruleName?: 'INVALID_RATE';
3490
+ } | {
3491
+ ruleName?: 'INVALID_PAYMENT_OPTIONS';
3492
+ } | {
3493
+ ruleName?: 'INVALID_BUSINESS_LOCATIONS';
3494
+ } | {
3495
+ ruleName?: 'INVALID_LOCATIONS';
3496
+ } | {
3497
+ ruleName?: 'INVALID_BUSINESS_LOCATION';
3498
+ } | {
3499
+ ruleName?: 'INVALID_CUSTOM_LOCATION';
3500
+ } | {
3501
+ ruleName?: 'INVALID_CUSTOMER_LOCATION';
3502
+ } | {
3503
+ ruleName?: 'INVALID_UNKNOWN_LOCATION';
3504
+ } | {
3505
+ ruleName?: 'INVALID_MANUAL_APPROVAL_WITH_PRICING_PLANS';
3506
+ } | {
3507
+ ruleName?: 'INVALID_DEFAULT_CAPACITY';
3508
+ } | {
3509
+ ruleName?: 'INVALID_APPOINTMENT_CAPACITY';
3510
+ } | {
3511
+ ruleName?: 'INVALID_SESSION_DURATION';
3512
+ };
3513
+ /** @docsIgnore */
3514
+ type UpdateServiceValidationErrors = {
3515
+ ruleName?: 'INVALID_FORM';
3516
+ } | {
3517
+ ruleName?: 'INVALID_CATEGORY';
3518
+ } | {
3519
+ ruleName?: 'INVALID_BOOKING_POLICY';
3520
+ } | {
3521
+ ruleName?: 'INVALID_SERVICE_TYPE';
3522
+ } | {
3523
+ ruleName?: 'INVALID_SERVICE_NAME';
3524
+ } | {
3525
+ ruleName?: 'INVALID_ONLINE_BOOKING';
3526
+ } | {
3527
+ ruleName?: 'INVALID_STAFF_MEMBER_IDS';
3528
+ } | {
3529
+ ruleName?: 'PAYMENT_REQUIRED';
3530
+ } | {
3531
+ ruleName?: 'INVALID_PAYMENT_TYPE';
3532
+ } | {
3533
+ ruleName?: 'INVALID_RATE';
3534
+ } | {
3535
+ ruleName?: 'INVALID_PAYMENT_OPTIONS';
3536
+ } | {
3537
+ ruleName?: 'INVALID_BUSINESS_LOCATIONS';
3538
+ } | {
3539
+ ruleName?: 'INVALID_LOCATIONS';
3540
+ } | {
3541
+ ruleName?: 'INVALID_BUSINESS_LOCATION';
3542
+ } | {
3543
+ ruleName?: 'INVALID_CUSTOM_LOCATION';
3544
+ } | {
3545
+ ruleName?: 'INVALID_CUSTOMER_LOCATION';
3491
3546
  } | {
3492
3547
  ruleName?: 'INVALID_UNKNOWN_LOCATION';
3493
3548
  } | {
@@ -3531,6 +3586,24 @@ type SetCustomSlugApplicationErrors = {
3531
3586
  type SetCustomSlugValidationErrors = {
3532
3587
  ruleName?: 'SLUG_CONTAINS_ILLEGAL_CHARACTERS';
3533
3588
  };
3589
+ /** @docsIgnore */
3590
+ type DeleteAddOnGroupApplicationErrors = {
3591
+ code?: 'GROUP_NOT_ON_SERVICE';
3592
+ description?: string;
3593
+ data?: Record<string, any>;
3594
+ };
3595
+ /** @docsIgnore */
3596
+ type UpdateAddOnGroupApplicationErrors = {
3597
+ code?: 'GROUP_NOT_ON_SERVICE';
3598
+ description?: string;
3599
+ data?: Record<string, any>;
3600
+ };
3601
+ /** @docsIgnore */
3602
+ type SetAddOnsForGroupApplicationErrors = {
3603
+ code?: 'ADD_ON_GROUP_NOT_FOUND';
3604
+ description?: string;
3605
+ data?: Record<string, any>;
3606
+ };
3534
3607
  interface BaseEventMetadata {
3535
3608
  /**
3536
3609
  * App instance ID.
@@ -3653,126 +3726,6 @@ interface ServiceUpdatedEnvelope {
3653
3726
  * @slug updated
3654
3727
  */
3655
3728
  declare function onServiceUpdated(handler: (event: ServiceUpdatedEnvelope) => void | Promise<void>): void;
3656
- /**
3657
- * Create a new AddOns group.
3658
- * An AddOns group defines a collection of AddOns that can be linked to a Service,
3659
- * with constraints such as minimum and maximum selections.
3660
- * @param addOnGroup - AddOnGroup to create.
3661
- * @public
3662
- * @documentationMaturity preview
3663
- * @requiredField addOnGroup
3664
- * @requiredField addOnGroup.name
3665
- * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_CREATE
3666
- * @applicableIdentity APP
3667
- * @fqn wix.bookings.services.v2.AddOnGroupsService.CreateAddOnGroup
3668
- */
3669
- declare function createAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `name`, 2>, options?: CreateAddOnGroupOptions): Promise<NonNullablePaths<CreateAddOnGroupResponse, `addOnGroup.addOnIds`, 3>>;
3670
- interface CreateAddOnGroupOptions {
3671
- /**
3672
- * ID of the service to create the AddOnGroup for.
3673
- * @format GUID
3674
- */
3675
- serviceId?: string | null;
3676
- }
3677
- /**
3678
- * Delete an existing AddOns group.
3679
- * This will remove the group and unlink all associated AddOns.
3680
- * @param addOnGroupId - ID of the AddOnGroup to delete.
3681
- * @public
3682
- * @documentationMaturity preview
3683
- * @requiredField addOnGroupId
3684
- * @requiredField options
3685
- * @requiredField options.serviceId
3686
- * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_CREATE
3687
- * @applicableIdentity APP
3688
- * @fqn wix.bookings.services.v2.AddOnGroupsService.DeleteAddOnGroup
3689
- */
3690
- declare function deleteAddOnGroup(addOnGroupId: string, options: NonNullablePaths<DeleteAddOnGroupOptions, `serviceId`, 2>): Promise<void & {
3691
- __applicationErrorsType?: DeleteAddOnGroupApplicationErrors;
3692
- }>;
3693
- interface DeleteAddOnGroupOptions {
3694
- /**
3695
- * ID of the service from which to delete the AddOnGroup.
3696
- * @format GUID
3697
- */
3698
- serviceId: string | null;
3699
- }
3700
- /**
3701
- * Update an existing AddOns group.
3702
- * This allows modifying group settings such as its name, prompt, constraints, or associated AddOns.
3703
- * @param addOnGroup - AddOnGroup to update.
3704
- * @public
3705
- * @documentationMaturity preview
3706
- * @requiredField addOnGroup
3707
- * @requiredField addOnGroup._id
3708
- * @requiredField options
3709
- * @requiredField options.serviceId
3710
- * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_UPDATE
3711
- * @applicableIdentity APP
3712
- * @fqn wix.bookings.services.v2.AddOnGroupsService.UpdateAddOnGroup
3713
- */
3714
- declare function updateAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `_id`, 2>, options: NonNullablePaths<UpdateAddOnGroupOptions, `serviceId`, 2>): Promise<NonNullablePaths<UpdateAddOnGroupResponse, `addOnGroup.addOnIds`, 3> & {
3715
- __applicationErrorsType?: UpdateAddOnGroupApplicationErrors;
3716
- }>;
3717
- interface UpdateAddOnGroupOptions {
3718
- /**
3719
- * ID of the service that contains the AddOnGroup.
3720
- * @format GUID
3721
- */
3722
- serviceId: string | null;
3723
- }
3724
- /**
3725
- * Retrieves a list of AddOnGroups including enriched AddOn details in the correct order.
3726
- * If the group_id is specified, only the AddOns for the specified group will be returned,
3727
- * otherwise all groups will be returned.
3728
- * @param serviceId - ID of the service to retrieve AddOnGroups for.
3729
- * @public
3730
- * @documentationMaturity preview
3731
- * @requiredField serviceId
3732
- * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_LIST
3733
- * @applicableIdentity APP
3734
- * @fqn wix.bookings.services.v2.AddOnGroupsService.ListAddOnGroupsByServiceId
3735
- */
3736
- declare function listAddOnGroupsByServiceId(serviceId: string, options?: ListAddOnGroupsByServiceIdOptions): Promise<NonNullablePaths<ListAddOnGroupsByServiceIdResponse, `addOnGroupsDetails`, 2>>;
3737
- interface ListAddOnGroupsByServiceIdOptions {
3738
- /**
3739
- * List of group ids to return. If not provided, all groups are returned.
3740
- * @format GUID
3741
- * @maxSize 3
3742
- */
3743
- groupIds?: string[] | null;
3744
- }
3745
- /**
3746
- * Sets the AddOns for a specific group.
3747
- * The order of the AddOns in the list will be used to determine their display order.
3748
- * @param serviceId - The service ID to set AddOns for.
3749
- * @public
3750
- * @documentationMaturity preview
3751
- * @requiredField options
3752
- * @requiredField options.addOnIds
3753
- * @requiredField options.groupId
3754
- * @requiredField serviceId
3755
- * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_SET_ADD_ONS
3756
- * @applicableIdentity APP
3757
- * @fqn wix.bookings.services.v2.AddOnGroupsService.SetAddOnsForGroup
3758
- */
3759
- declare function setAddOnsForGroup(serviceId: string, options: NonNullablePaths<SetAddOnsForGroupOptions, `addOnIds` | `groupId`, 2>): Promise<NonNullablePaths<SetAddOnsForGroupResponse, `addOnGroup.addOnIds`, 3> & {
3760
- __applicationErrorsType?: SetAddOnsForGroupApplicationErrors;
3761
- }>;
3762
- interface SetAddOnsForGroupOptions {
3763
- /**
3764
- * The group ID to set AddOns for.
3765
- * @format GUID
3766
- */
3767
- groupId: string | null;
3768
- /**
3769
- * The IDs of AddOns to set.
3770
- * @format GUID
3771
- * @minSize 1
3772
- * @maxSize 7
3773
- */
3774
- addOnIds: string[] | null;
3775
- }
3776
3729
  /**
3777
3730
  * Creates a service.
3778
3731
  *
@@ -4908,5 +4861,125 @@ interface ValidateSlugOptions {
4908
4861
  * @fqn wix.bookings.services.v2.ServicesService.CloneService
4909
4862
  */
4910
4863
  declare function cloneService(sourceServiceId: string): Promise<NonNullablePaths<CloneServiceResponse, `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.payment.addOnOption` | `service.locations` | `service.locations.${number}.business._id` | `service.locations.${number}.business.name` | `service.locations.${number}.custom._id` | `service.locations.${number}._id` | `service.locations.${number}.type` | `service.bookingPolicy._id` | `service.bookingPolicy.customPolicyDescription.enabled` | `service.bookingPolicy.customPolicyDescription.description` | `service.bookingPolicy.limitEarlyBookingPolicy.enabled` | `service.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `service.bookingPolicy.limitLateBookingPolicy.enabled` | `service.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `service.bookingPolicy.bookAfterStartPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `service.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `service.bookingPolicy.reschedulePolicy.enabled` | `service.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `service.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `service.bookingPolicy.waitlistPolicy.enabled` | `service.bookingPolicy.waitlistPolicy.capacity` | `service.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `service.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `service.bookingPolicy.resourcesPolicy.enabled` | `service.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `service.bookingPolicy.cancellationFeePolicy.enabled` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `service.bookingPolicy.saveCreditCardPolicy.enabled` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.staffMemberIds` | `service.serviceResources` | `service.supportedSlugs` | `service.supportedSlugs.${number}.name` | `service.seoData.tags` | `service.seoData.tags.${number}.type` | `service.seoData.tags.${number}.children` | `service.seoData.tags.${number}.custom` | `service.seoData.tags.${number}.disabled` | `service.seoData.settings.preventAutoRedirect` | `service.seoData.settings.keywords` | `service.seoData.settings.keywords.${number}.term` | `service.seoData.settings.keywords.${number}.isMain` | `errors`, 7>>;
4864
+ /**
4865
+ * Create a new AddOns group.
4866
+ * An AddOns group defines a collection of AddOns that can be linked to a Service,
4867
+ * with constraints such as minimum and maximum selections.
4868
+ * @param addOnGroup - AddOnGroup to create.
4869
+ * @public
4870
+ * @documentationMaturity preview
4871
+ * @requiredField addOnGroup
4872
+ * @requiredField addOnGroup.name
4873
+ * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_CREATE
4874
+ * @applicableIdentity APP
4875
+ * @fqn wix.bookings.services.v2.AddOnGroupsService.CreateAddOnGroup
4876
+ */
4877
+ declare function createAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `name`, 2>, options?: CreateAddOnGroupOptions): Promise<NonNullablePaths<CreateAddOnGroupResponse, `addOnGroup.addOnIds`, 3>>;
4878
+ interface CreateAddOnGroupOptions {
4879
+ /**
4880
+ * ID of the service to create the AddOnGroup for.
4881
+ * @format GUID
4882
+ */
4883
+ serviceId?: string | null;
4884
+ }
4885
+ /**
4886
+ * Delete an existing AddOns group.
4887
+ * This will remove the group and unlink all associated AddOns.
4888
+ * @param addOnGroupId - ID of the AddOnGroup to delete.
4889
+ * @public
4890
+ * @documentationMaturity preview
4891
+ * @requiredField addOnGroupId
4892
+ * @requiredField options
4893
+ * @requiredField options.serviceId
4894
+ * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_CREATE
4895
+ * @applicableIdentity APP
4896
+ * @fqn wix.bookings.services.v2.AddOnGroupsService.DeleteAddOnGroup
4897
+ */
4898
+ declare function deleteAddOnGroup(addOnGroupId: string, options: NonNullablePaths<DeleteAddOnGroupOptions, `serviceId`, 2>): Promise<void & {
4899
+ __applicationErrorsType?: DeleteAddOnGroupApplicationErrors;
4900
+ }>;
4901
+ interface DeleteAddOnGroupOptions {
4902
+ /**
4903
+ * ID of the service from which to delete the AddOnGroup.
4904
+ * @format GUID
4905
+ */
4906
+ serviceId: string | null;
4907
+ }
4908
+ /**
4909
+ * Update an existing AddOns group.
4910
+ * This allows modifying group settings such as its name, prompt, constraints, or associated AddOns.
4911
+ * @param addOnGroup - AddOnGroup to update.
4912
+ * @public
4913
+ * @documentationMaturity preview
4914
+ * @requiredField addOnGroup
4915
+ * @requiredField addOnGroup._id
4916
+ * @requiredField options
4917
+ * @requiredField options.serviceId
4918
+ * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_UPDATE
4919
+ * @applicableIdentity APP
4920
+ * @fqn wix.bookings.services.v2.AddOnGroupsService.UpdateAddOnGroup
4921
+ */
4922
+ declare function updateAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `_id`, 2>, options: NonNullablePaths<UpdateAddOnGroupOptions, `serviceId`, 2>): Promise<NonNullablePaths<UpdateAddOnGroupResponse, `addOnGroup.addOnIds`, 3> & {
4923
+ __applicationErrorsType?: UpdateAddOnGroupApplicationErrors;
4924
+ }>;
4925
+ interface UpdateAddOnGroupOptions {
4926
+ /**
4927
+ * ID of the service that contains the AddOnGroup.
4928
+ * @format GUID
4929
+ */
4930
+ serviceId: string | null;
4931
+ }
4932
+ /**
4933
+ * Retrieves a list of AddOnGroups including enriched AddOn details in the correct order.
4934
+ * If the group_id is specified, only the AddOns for the specified group will be returned,
4935
+ * otherwise all groups will be returned.
4936
+ * @param serviceId - ID of the service to retrieve AddOnGroups for.
4937
+ * @public
4938
+ * @documentationMaturity preview
4939
+ * @requiredField serviceId
4940
+ * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_LIST
4941
+ * @applicableIdentity APP
4942
+ * @fqn wix.bookings.services.v2.AddOnGroupsService.ListAddOnGroupsByServiceId
4943
+ */
4944
+ declare function listAddOnGroupsByServiceId(serviceId: string, options?: ListAddOnGroupsByServiceIdOptions): Promise<NonNullablePaths<ListAddOnGroupsByServiceIdResponse, `addOnGroupsDetails`, 2>>;
4945
+ interface ListAddOnGroupsByServiceIdOptions {
4946
+ /**
4947
+ * List of group ids to return. If not provided, all groups are returned.
4948
+ * @format GUID
4949
+ * @maxSize 3
4950
+ */
4951
+ groupIds?: string[] | null;
4952
+ }
4953
+ /**
4954
+ * Sets the AddOns for a specific group.
4955
+ * The order of the AddOns in the list will be used to determine their display order.
4956
+ * @param serviceId - The service ID to set AddOns for.
4957
+ * @public
4958
+ * @documentationMaturity preview
4959
+ * @requiredField options
4960
+ * @requiredField options.addOnIds
4961
+ * @requiredField options.groupId
4962
+ * @requiredField serviceId
4963
+ * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_SET_ADD_ONS
4964
+ * @applicableIdentity APP
4965
+ * @fqn wix.bookings.services.v2.AddOnGroupsService.SetAddOnsForGroup
4966
+ */
4967
+ declare function setAddOnsForGroup(serviceId: string, options: NonNullablePaths<SetAddOnsForGroupOptions, `addOnIds` | `groupId`, 2>): Promise<NonNullablePaths<SetAddOnsForGroupResponse, `addOnGroup.addOnIds`, 3> & {
4968
+ __applicationErrorsType?: SetAddOnsForGroupApplicationErrors;
4969
+ }>;
4970
+ interface SetAddOnsForGroupOptions {
4971
+ /**
4972
+ * The group ID to set AddOns for.
4973
+ * @format GUID
4974
+ */
4975
+ groupId: string | null;
4976
+ /**
4977
+ * The IDs of AddOns to set.
4978
+ * @format GUID
4979
+ * @minSize 1
4980
+ * @maxSize 7
4981
+ */
4982
+ addOnIds: string[] | null;
4983
+ }
4911
4984
 
4912
- export { type SetCustomSlugValidationErrors as $, type AddOnGroup as A, type BulkCreateServicesOptions as B, type CreateAddOnGroupOptions as C, type DeleteAddOnGroupOptions as D, type QueryBookingFormsResponse as E, type QueryBookingFormsApplicationErrors as F, type CountServicesOptions as G, type CountServicesResponse as H, type QueryLocationsOptions as I, type QueryLocationsResponse as J, type QueryCategoriesOptions as K, type ListAddOnGroupsByServiceIdOptions as L, type QueryCategoriesResponse as M, type Location as N, type SetServiceLocationsOptions as O, type SetServiceLocationsResponse as P, type QueryPoliciesResponse as Q, type EnablePricingPlansForServiceResponse as R, type SetAddOnsForGroupOptions as S, type EnablePricingPlansForServiceApplicationErrors as T, type UpdateAddOnGroupOptions as U, type DisablePricingPlansForServiceOptions as V, type DisablePricingPlansForServiceResponse as W, type DisablePricingPlansForServiceApplicationErrors as X, type SetCustomSlugOptions as Y, type SetCustomSlugResponse as Z, type SetCustomSlugApplicationErrors as _, type CreateAddOnGroupResponse as a, type ParticipantsPolicy as a$, type ValidateSlugOptions as a0, type ValidateSlugResponse as a1, type CloneServiceResponse as a2, type ServiceCreatedEnvelope as a3, type ServiceDeletedEnvelope as a4, type ServiceUpdatedEnvelope as a5, ServiceType as a6, RateType as a7, AddOnPaymentOptions as a8, LocationType as a9, type V2Category as aA, type Form as aB, type FormSettings as aC, type Payment as aD, type PaymentRateOneOf as aE, type FixedPayment as aF, type Money as aG, type CustomPayment as aH, type VariedPayment as aI, type PaymentOptions as aJ, type OnlineBooking as aK, type Conferencing as aL, type LocationOptionsOneOf as aM, type CommonAddress as aN, type CommonAddressStreetOneOf as aO, type StreetAddress as aP, type AddressLocation as aQ, type BusinessLocationOptions as aR, type CustomLocationOptions as aS, type BookingPolicy as aT, type PolicyDescription as aU, type LimitEarlyBookingPolicy as aV, type LimitLateBookingPolicy as aW, type BookAfterStartPolicy as aX, type CancellationPolicy as aY, type ReschedulePolicy as aZ, type WaitlistPolicy as a_, WebhookIdentityType as aa, V2RequestedFields as ab, SortOrder as ac, SortType as ad, SortDirection as ae, MissingValues as af, ScalarType as ag, NestedAggregationType as ah, Interval as ai, AggregationType as aj, Mode as ak, RequestedFields as al, Action as am, InvalidSlugError as an, CloneErrors as ao, Status as ap, CategoryNotificationEvent as aq, BenefitType as ar, Event as as, CrudType as at, PlacementType as au, DayOfWeek as av, ResolutionMethod as aw, type Media as ax, type MediaItem as ay, type MediaItemItemOneOf as az, type DeleteAddOnGroupApplicationErrors as b, type GetServiceAvailabilityConstraintsRequest as b$, type ResourcesPolicy as b0, type CancellationFeePolicy as b1, type CancellationWindow as b2, type CancellationWindowFeeOneOf as b3, type SaveCreditCardPolicy as b4, type Schedule as b5, type AvailabilityConstraints as b6, type Duration as b7, type StaffMember as b8, type StaffMediaItem as b9, type EntityUpdatedEvent as bA, type EntityDeletedEvent as bB, type ActionEvent as bC, type MessageEnvelope as bD, type IdentificationData as bE, type IdentificationDataIdOneOf as bF, type CreateAddOnGroupRequest as bG, type DeleteAddOnGroupRequest as bH, type DeleteAddOnGroupResponse as bI, type UpdateAddOnGroupRequest as bJ, type ListAddOnGroupsByServiceIdRequest as bK, type AddOn as bL, type AddOnAddOnInfoOneOf as bM, type AddOnGroupDetail as bN, type SetAddOnsForGroupRequest as bO, type CreateServiceRequest as bP, type CreateServiceResponse as bQ, type ValidateServiceRequest as bR, type ValidateServiceResponse as bS, type FieldViolation as bT, type BulkCreateServicesRequest as bU, type BulkServiceResult as bV, type ItemMetadata as bW, type ApplicationError as bX, type BulkActionMetadata as bY, type GetServiceRequest as bZ, type GetServiceResponse as b_, type StaffMediaItemItemOneOf as ba, type StaffMemberDetails as bb, type ResourceGroup as bc, type ResourceIds as bd, type ServiceResource as be, type ServiceResourceSelectionOneOf as bf, type ResourceType as bg, type Slug as bh, type URLs as bi, type ExtendedFields as bj, type SeoSchema as bk, type Keyword as bl, type Tag as bm, type Settings as bn, type AddOnDetails as bo, type ReindexMessage as bp, type ReindexMessageActionOneOf as bq, type Upsert as br, type Delete as bs, type Schema as bt, type SetCustomSlugEvent as bu, type ServicesUrlsChanged as bv, type DomainEvent as bw, type DomainEventBodyOneOf as bx, type EntityCreatedEvent as by, type RestoreInfo as bz, type UpdateAddOnGroupResponse as c, type CursorQueryPagingMethodOneOf as c$, type GetServiceAvailabilityConstraintsResponse as c0, type ServiceAvailabilityConstraints as c1, type SplitInterval as c2, type UpdateServiceRequest as c3, type UpdateServiceResponse as c4, type BulkUpdateServicesRequest as c5, type MaskedService as c6, type BulkUpdateServicesByFilterRequest as c7, type DeleteServiceRequest as c8, type ParticipantNotification as c9, type NestedAggregation as cA, type GroupByAggregation as cB, type GroupByAggregationKindOneOf as cC, type SearchDetails as cD, type CursorPagingMetadata as cE, type AggregationData as cF, type ValueAggregationResult as cG, type RangeAggregationResult as cH, type NestedAggregationResults as cI, type NestedAggregationResultsResultOneOf as cJ, type ValueResults as cK, type RangeResults as cL, type AggregationResultsScalarResult as cM, type NestedValueAggregationResult as cN, type ValueResult as cO, type RangeResult as cP, type ScalarResult as cQ, type NestedResultValue as cR, type NestedResultValueResultOneOf as cS, type Results as cT, type DateHistogramResult as cU, type GroupByValueResults as cV, type DateHistogramResults as cW, type NestedResults as cX, type AggregationResults as cY, type AggregationResultsResultOneOf as cZ, type QueryPoliciesRequest as c_, type DeleteServiceResponse as ca, type BulkDeleteServicesRequest as cb, type BulkDeleteServicesByFilterRequest as cc, type QueryServicesRequest as cd, type QueryV2 as ce, type QueryV2PagingMethodOneOf as cf, type Sorting as cg, type Paging as ch, type CursorPaging as ci, type QueryServicesResponse as cj, type PagingMetadataV2 as ck, type Cursors as cl, type SearchServicesRequest as cm, type CursorSearch as cn, type CursorSearchPagingMethodOneOf as co, type Aggregation as cp, type AggregationKindOneOf as cq, type RangeBucket as cr, type IncludeMissingValuesOptions as cs, type ValueAggregation as ct, type ValueAggregationOptionsOneOf as cu, type RangeAggregation as cv, type ScalarAggregation as cw, type DateHistogramAggregation as cx, type NestedAggregationItem as cy, type NestedAggregationItemKindOneOf as cz, type UpdateAddOnGroupApplicationErrors as d, type ServiceTypeWithLiterals as d$, type BookingPolicyWithServices as d0, type QueryBookingFormsRequest as d1, type BookingForm as d2, type FormDetails as d3, type ConnectedService as d4, type CountServicesRequest as d5, type QueryLocationsRequest as d6, type QueryLocationsFilter as d7, type BusinessLocations as d8, type CustomLocations 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 BaseEventMetadata as dX, type EventMetadata as dY, type ServicesQueryResult as dZ, type ServiceSearchSpec as d_, type CustomerLocations as da, type QueryCategoriesRequest as db, type QueryCategoriesFilter as dc, type QueryServicesMultiLanguageRequest as dd, type QueryServicesMultiLanguageResponse as de, type SetServiceLocationsRequest as df, type RemovedLocationSessionsAction as dg, type RemovedLocationSessionsActionActionOptionsOneOf as dh, type MoveToNewLocationsOptions as di, type EnablePricingPlansForServiceRequest as dj, type InvalidPricingPlan as dk, type DisablePricingPlansForServiceRequest as dl, type SetCustomSlugRequest as dm, type ValidateSlugRequest as dn, type CloneServiceRequest as dp, type CategoryNotification as dq, type Category as dr, type Empty 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 ListAddOnGroupsByServiceIdResponse as e, type RateTypeWithLiterals as e0, type AddOnPaymentOptionsWithLiterals as e1, type LocationTypeWithLiterals as e2, type WebhookIdentityTypeWithLiterals as e3, type V2RequestedFieldsWithLiterals as e4, type SortOrderWithLiterals as e5, type SortTypeWithLiterals as e6, type SortDirectionWithLiterals as e7, type MissingValuesWithLiterals as e8, type ScalarTypeWithLiterals as e9, bulkCreateServices as eA, getService as eB, updateService as eC, bulkUpdateServices as eD, bulkUpdateServicesByFilter as eE, deleteService as eF, bulkDeleteServices as eG, bulkDeleteServicesByFilter as eH, queryServices as eI, queryPolicies as eJ, queryBookingForms as eK, countServices as eL, queryLocations as eM, queryCategories as eN, setServiceLocations as eO, enablePricingPlansForService as eP, disablePricingPlansForService as eQ, setCustomSlug as eR, validateSlug as eS, cloneService as eT, type NestedAggregationTypeWithLiterals as ea, type IntervalWithLiterals as eb, type AggregationTypeWithLiterals as ec, type ModeWithLiterals as ed, type RequestedFieldsWithLiterals as ee, type ActionWithLiterals as ef, type InvalidSlugErrorWithLiterals as eg, type CloneErrorsWithLiterals as eh, type StatusWithLiterals as ei, type CategoryNotificationEventWithLiterals as ej, type BenefitTypeWithLiterals as ek, type EventWithLiterals as el, type CrudTypeWithLiterals as em, type PlacementTypeWithLiterals as en, type DayOfWeekWithLiterals as eo, type ResolutionMethodWithLiterals as ep, type CommonSearchWithEntityContext as eq, onServiceCreated as er, onServiceDeleted as es, onServiceUpdated as et, createAddOnGroup as eu, deleteAddOnGroup as ev, updateAddOnGroup as ew, listAddOnGroupsByServiceId as ex, setAddOnsForGroup as ey, createService as ez, type SetAddOnsForGroupResponse as f, type SetAddOnsForGroupApplicationErrors as g, type Service as h, type CreateServiceValidationErrors as i, type BulkCreateServicesResponse as j, type UpdateService as k, type UpdateServiceValidationErrors as l, type BulkUpdateServicesOptions as m, type BulkUpdateServicesResponse as n, type BulkUpdateServicesByFilterOptions as o, type BulkUpdateServicesByFilterResponse as p, type DeleteServiceOptions as q, type BulkDeleteServicesOptions as r, type BulkDeleteServicesResponse as s, type BulkDeleteServicesByFilterOptions as t, type BulkDeleteServicesByFilterResponse as u, type ServicesQueryBuilder as v, type ServiceSearch as w, type SearchServicesResponse as x, type CursorQuery as y, type QueryBookingFormsOptions as z };
4985
+ export { type ListAddOnGroupsByServiceIdResponse as $, type DisablePricingPlansForServiceOptions as A, type BulkCreateServicesOptions as B, type CreateServiceValidationErrors as C, type DeleteServiceOptions as D, type EnablePricingPlansForServiceResponse as E, type DisablePricingPlansForServiceResponse as F, type DisablePricingPlansForServiceApplicationErrors as G, type SetCustomSlugOptions as H, type SetCustomSlugResponse as I, type SetCustomSlugApplicationErrors as J, type SetCustomSlugValidationErrors as K, type Location as L, type ValidateSlugResponse as M, type CloneServiceResponse as N, type AddOnGroup as O, type CreateAddOnGroupOptions as P, type QueryPoliciesResponse as Q, type CreateAddOnGroupResponse as R, type Service as S, type DeleteAddOnGroupOptions as T, type UpdateService as U, type ValidateSlugOptions as V, type DeleteAddOnGroupApplicationErrors as W, type UpdateAddOnGroupOptions as X, type UpdateAddOnGroupResponse as Y, type UpdateAddOnGroupApplicationErrors as Z, type ListAddOnGroupsByServiceIdOptions as _, type BulkCreateServicesResponse as a, type ReschedulePolicy as a$, type SetAddOnsForGroupOptions as a0, type SetAddOnsForGroupResponse as a1, type SetAddOnsForGroupApplicationErrors as a2, type ServiceCreatedEnvelope as a3, type ServiceDeletedEnvelope as a4, type ServiceUpdatedEnvelope as a5, ServiceType as a6, RateType as a7, AddOnPaymentOptions as a8, LocationType as a9, type MediaItem as aA, type MediaItemItemOneOf as aB, type V2Category as aC, type Form as aD, type FormSettings as aE, type Payment as aF, type PaymentRateOneOf as aG, type FixedPayment as aH, type Money as aI, type CustomPayment as aJ, type VariedPayment as aK, type PaymentOptions as aL, type OnlineBooking as aM, type Conferencing as aN, type LocationOptionsOneOf as aO, type CommonAddress as aP, type CommonAddressStreetOneOf as aQ, type StreetAddress as aR, type AddressLocation as aS, type BusinessLocationOptions as aT, type CustomLocationOptions as aU, type BookingPolicy as aV, type PolicyDescription as aW, type LimitEarlyBookingPolicy as aX, type LimitLateBookingPolicy as aY, type BookAfterStartPolicy as aZ, type CancellationPolicy as a_, RankingOrder as aa, SortingMethodType as ab, WebhookIdentityType as ac, V2RequestedFields as ad, SortOrder as ae, SortType as af, SortDirection as ag, MissingValues as ah, ScalarType as ai, NestedAggregationType as aj, Interval as ak, AggregationType as al, Mode as am, RequestedFields as an, Action as ao, InvalidSlugError as ap, CloneErrors as aq, Status as ar, CategoryNotificationEvent as as, BenefitType as at, Event as au, CrudType as av, PlacementType as aw, DayOfWeek as ax, ResolutionMethod as ay, type Media as az, type UpdateServiceValidationErrors as b, type SplitInterval as b$, type WaitlistPolicy as b0, type ParticipantsPolicy as b1, type ResourcesPolicy as b2, type CancellationFeePolicy as b3, type CancellationWindow as b4, type CancellationWindowFeeOneOf as b5, type SaveCreditCardPolicy as b6, type StaffSortingPolicy as b7, type StaffSortingPolicyOptionsOneOf as b8, type RankingOptions as b9, type SetCustomSlugEvent as bA, type ServicesUrlsChanged as bB, type DomainEvent as bC, type DomainEventBodyOneOf as bD, type EntityCreatedEvent as bE, type RestoreInfo as bF, type EntityUpdatedEvent as bG, type EntityDeletedEvent as bH, type ActionEvent as bI, type MessageEnvelope as bJ, type IdentificationData as bK, type IdentificationDataIdOneOf as bL, type CreateServiceRequest as bM, type CreateServiceResponse as bN, type ValidateServiceRequest as bO, type ValidateServiceResponse as bP, type FieldViolation as bQ, type BulkCreateServicesRequest as bR, type BulkServiceResult as bS, type ItemMetadata as bT, type ApplicationError as bU, type BulkActionMetadata as bV, type GetServiceRequest as bW, type GetServiceResponse as bX, type GetServiceAvailabilityConstraintsRequest as bY, type GetServiceAvailabilityConstraintsResponse as bZ, type ServiceAvailabilityConstraints as b_, type CustomOptions as ba, type Schedule as bb, type AvailabilityConstraints as bc, type Duration as bd, type StaffMember as be, type StaffMediaItem as bf, type StaffMediaItemItemOneOf as bg, type StaffMemberDetails as bh, type ResourceGroup as bi, type ResourceIds as bj, type ServiceResource as bk, type ServiceResourceSelectionOneOf as bl, type ResourceType as bm, type Slug as bn, type URLs as bo, type ExtendedFields as bp, type SeoSchema as bq, type Keyword as br, type Tag as bs, type Settings as bt, type AddOnDetails as bu, type ReindexMessage as bv, type ReindexMessageActionOneOf as bw, type Upsert as bx, type Delete as by, type Schema as bz, type BulkUpdateServicesOptions as c, type BookingForm as c$, type UpdateServiceRequest as c0, type UpdateServiceResponse as c1, type BulkUpdateServicesRequest as c2, type MaskedService as c3, type BulkUpdateServicesByFilterRequest as c4, type DeleteServiceRequest as c5, type ParticipantNotification as c6, type DeleteServiceResponse as c7, type BulkDeleteServicesRequest as c8, type BulkDeleteServicesByFilterRequest as c9, type SearchDetails as cA, type CursorPagingMetadata as cB, type AggregationData as cC, type ValueAggregationResult as cD, type RangeAggregationResult as cE, type NestedAggregationResults as cF, type NestedAggregationResultsResultOneOf as cG, type ValueResults as cH, type RangeResults as cI, type AggregationResultsScalarResult as cJ, type NestedValueAggregationResult as cK, type ValueResult as cL, type RangeResult as cM, type ScalarResult as cN, type NestedResultValue as cO, type NestedResultValueResultOneOf as cP, type Results as cQ, type DateHistogramResult as cR, type GroupByValueResults as cS, type DateHistogramResults as cT, type NestedResults as cU, type AggregationResults as cV, type AggregationResultsResultOneOf as cW, type QueryPoliciesRequest as cX, type CursorQueryPagingMethodOneOf as cY, type BookingPolicyWithServices as cZ, type QueryBookingFormsRequest as c_, type QueryServicesRequest as ca, type QueryV2 as cb, type QueryV2PagingMethodOneOf as cc, type Sorting as cd, type Paging as ce, type CursorPaging as cf, type QueryServicesResponse as cg, type PagingMetadataV2 as ch, type Cursors as ci, type SearchServicesRequest as cj, type CursorSearch as ck, type CursorSearchPagingMethodOneOf as cl, type Aggregation as cm, type AggregationKindOneOf as cn, type RangeBucket as co, type IncludeMissingValuesOptions as cp, type ValueAggregation as cq, type ValueAggregationOptionsOneOf as cr, type RangeAggregation as cs, type ScalarAggregation as ct, type DateHistogramAggregation as cu, type NestedAggregationItem as cv, type NestedAggregationItemKindOneOf as cw, type NestedAggregation as cx, type GroupByAggregation as cy, type GroupByAggregationKindOneOf as cz, type BulkUpdateServicesResponse as d, type AddOnGroupDetail as d$, type FormDetails as d0, type ConnectedService as d1, type CountServicesRequest as d2, type QueryLocationsRequest as d3, type QueryLocationsFilter as d4, type BusinessLocations as d5, type CustomLocations as d6, type CustomerLocations as d7, type QueryCategoriesRequest as d8, type QueryCategoriesFilter as d9, type SitePropertiesNotification as dA, type SitePropertiesEvent as dB, type Properties as dC, type Categories as dD, type Locale as dE, type Address as dF, type AddressHint as dG, type GeoCoordinates as dH, type BusinessSchedule as dI, type TimePeriod as dJ, type SpecialHourPeriod as dK, type Multilingual as dL, type SupportedLanguage as dM, type ConsentPolicy as dN, type Translation as dO, type ChangeContext as dP, type ChangeContextPayloadOneOf as dQ, type PropertiesChange as dR, type SiteCreated as dS, type SiteCloned as dT, type CreateAddOnGroupRequest as dU, type DeleteAddOnGroupRequest as dV, type DeleteAddOnGroupResponse as dW, type UpdateAddOnGroupRequest as dX, type ListAddOnGroupsByServiceIdRequest as dY, type AddOn as dZ, type AddOnAddOnInfoOneOf as d_, type QueryServicesMultiLanguageRequest as da, type QueryServicesMultiLanguageResponse as db, type SetServiceLocationsRequest as dc, type RemovedLocationSessionsAction as dd, type RemovedLocationSessionsActionActionOptionsOneOf as de, type MoveToNewLocationsOptions as df, type EnablePricingPlansForServiceRequest as dg, type InvalidPricingPlan as dh, type DisablePricingPlansForServiceRequest as di, type SetCustomSlugRequest as dj, type ValidateSlugRequest as dk, type CloneServiceRequest as dl, type CategoryNotification as dm, type Category as dn, type Empty as dp, type BenefitNotification as dq, type Benefit as dr, type EntryPass as ds, type Discount as dt, type DiscountDiscountOneOf as du, type Behavior as dv, type BehaviorBehaviorOneOf as dw, type UserDomainInfoChangedEvent as dx, type HtmlSitePublished as dy, type Page as dz, type BulkUpdateServicesByFilterOptions as e, setAddOnsForGroup as e$, type SetAddOnsForGroupRequest as e0, type BaseEventMetadata as e1, type EventMetadata as e2, type ServicesQueryResult as e3, type ServiceSearchSpec as e4, type ServiceTypeWithLiterals as e5, type RateTypeWithLiterals as e6, type AddOnPaymentOptionsWithLiterals as e7, type LocationTypeWithLiterals as e8, type RankingOrderWithLiterals as e9, onServiceDeleted as eA, onServiceUpdated as eB, createService as eC, bulkCreateServices as eD, getService as eE, updateService as eF, bulkUpdateServices as eG, bulkUpdateServicesByFilter as eH, deleteService as eI, bulkDeleteServices as eJ, bulkDeleteServicesByFilter as eK, queryServices as eL, queryPolicies as eM, queryBookingForms as eN, countServices as eO, queryLocations as eP, queryCategories as eQ, setServiceLocations as eR, enablePricingPlansForService as eS, disablePricingPlansForService as eT, setCustomSlug as eU, validateSlug as eV, cloneService as eW, createAddOnGroup as eX, deleteAddOnGroup as eY, updateAddOnGroup as eZ, listAddOnGroupsByServiceId as e_, type SortingMethodTypeWithLiterals as ea, type WebhookIdentityTypeWithLiterals as eb, type V2RequestedFieldsWithLiterals as ec, type SortOrderWithLiterals as ed, type SortTypeWithLiterals as ee, type SortDirectionWithLiterals as ef, type MissingValuesWithLiterals as eg, type ScalarTypeWithLiterals as eh, type NestedAggregationTypeWithLiterals as ei, type IntervalWithLiterals as ej, type AggregationTypeWithLiterals as ek, type ModeWithLiterals as el, type RequestedFieldsWithLiterals as em, type ActionWithLiterals as en, type InvalidSlugErrorWithLiterals as eo, type CloneErrorsWithLiterals as ep, type StatusWithLiterals as eq, type CategoryNotificationEventWithLiterals as er, type BenefitTypeWithLiterals as es, type EventWithLiterals as et, type CrudTypeWithLiterals as eu, type PlacementTypeWithLiterals as ev, type DayOfWeekWithLiterals as ew, type ResolutionMethodWithLiterals as ex, type CommonSearchWithEntityContext as ey, onServiceCreated as ez, type BulkUpdateServicesByFilterResponse as f, type BulkDeleteServicesOptions as g, type BulkDeleteServicesResponse as h, type BulkDeleteServicesByFilterOptions as i, type BulkDeleteServicesByFilterResponse as j, type ServicesQueryBuilder as k, type ServiceSearch as l, type SearchServicesResponse as m, type CursorQuery as n, type QueryBookingFormsOptions as o, type QueryBookingFormsResponse as p, type QueryBookingFormsApplicationErrors as q, type CountServicesOptions as r, type CountServicesResponse as s, type QueryLocationsOptions as t, type QueryLocationsResponse as u, type QueryCategoriesOptions as v, type QueryCategoriesResponse as w, type SetServiceLocationsOptions as x, type SetServiceLocationsResponse as y, type EnablePricingPlansForServiceApplicationErrors as z };