@wix/auto_sdk_bookings_services 1.0.84 → 1.0.85

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-CPGgPJAr.d.ts → bookings-services-v2-service-services.universal-CSUuUWE1.d.ts} +282 -301
  2. package/build/cjs/index.d.ts +74 -95
  3. package/build/cjs/index.js +335 -335
  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 +245 -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-CPGgPJAr.d.mts → bookings-services-v2-service-services.universal-CSUuUWE1.d.mts} +282 -301
  12. package/build/es/index.d.mts +74 -95
  13. package/build/es/index.mjs +335 -335
  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 +245 -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-CPGgPJAr.d.ts → bookings-services-v2-service-services.universal-CSUuUWE1.d.ts} +282 -301
  22. package/build/internal/cjs/index.d.ts +74 -95
  23. package/build/internal/cjs/index.js +335 -335
  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 +245 -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-CPGgPJAr.d.mts → bookings-services-v2-service-services.universal-CSUuUWE1.d.mts} +282 -301
  32. package/build/internal/es/index.d.mts +74 -95
  33. package/build/internal/es/index.mjs +335 -335
  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 +245 -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 +3 -3
@@ -1338,6 +1338,138 @@ declare enum WebhookIdentityType {
1338
1338
  }
1339
1339
  /** @enumType */
1340
1340
  type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
1341
+ interface CreateAddOnGroupRequest {
1342
+ /** AddOnGroup to create. */
1343
+ addOnGroup: AddOnGroup;
1344
+ /**
1345
+ * ID of the service to create the AddOnGroup for.
1346
+ * @format GUID
1347
+ */
1348
+ serviceId?: string | null;
1349
+ }
1350
+ interface CreateAddOnGroupResponse {
1351
+ /** Created AddOnGroup. */
1352
+ addOnGroup?: AddOnGroup;
1353
+ }
1354
+ interface DeleteAddOnGroupRequest {
1355
+ /**
1356
+ * ID of the AddOnGroup to delete.
1357
+ * @format GUID
1358
+ */
1359
+ addOnGroupId: string | null;
1360
+ /**
1361
+ * ID of the service from which to delete the AddOnGroup.
1362
+ * @format GUID
1363
+ */
1364
+ serviceId: string | null;
1365
+ }
1366
+ interface DeleteAddOnGroupResponse {
1367
+ }
1368
+ interface UpdateAddOnGroupRequest {
1369
+ /** AddOnGroup to update. */
1370
+ addOnGroup: AddOnGroup;
1371
+ /**
1372
+ * ID of the service that contains the AddOnGroup.
1373
+ * @format GUID
1374
+ */
1375
+ serviceId: string | null;
1376
+ }
1377
+ interface UpdateAddOnGroupResponse {
1378
+ /** Updated AddOnGroup */
1379
+ addOnGroup?: AddOnGroup;
1380
+ }
1381
+ interface ListAddOnGroupsByServiceIdRequest {
1382
+ /**
1383
+ * ID of the service to retrieve AddOnGroups for.
1384
+ * @format GUID
1385
+ */
1386
+ serviceId: string | null;
1387
+ /**
1388
+ * List of group ids to return. If not provided, all groups are returned.
1389
+ * @format GUID
1390
+ * @maxSize 3
1391
+ */
1392
+ groupIds?: string[] | null;
1393
+ }
1394
+ interface ListAddOnGroupsByServiceIdResponse {
1395
+ /**
1396
+ * List of group IDs and their linked AddOns.
1397
+ * @maxSize 3
1398
+ */
1399
+ addOnGroupsDetails?: AddOnGroupDetail[];
1400
+ }
1401
+ interface AddOn extends AddOnAddOnInfoOneOf {
1402
+ /** The AddOn description. */
1403
+ durationInMinutes?: number;
1404
+ /** The AddOn max quantity. */
1405
+ maxQuantity?: number;
1406
+ /**
1407
+ * The AddOn ID.
1408
+ * @format GUID
1409
+ */
1410
+ addOnId?: string | null;
1411
+ /**
1412
+ * The AddOn name.
1413
+ * @maxLength 100
1414
+ */
1415
+ name?: string | null;
1416
+ /** The AddOn price. */
1417
+ price?: Money;
1418
+ }
1419
+ /** @oneof */
1420
+ interface AddOnAddOnInfoOneOf {
1421
+ /** The AddOn description. */
1422
+ durationInMinutes?: number;
1423
+ /** The AddOn max quantity. */
1424
+ maxQuantity?: number;
1425
+ }
1426
+ interface AddOnGroupDetail {
1427
+ /**
1428
+ * The group ID.
1429
+ * @format GUID
1430
+ */
1431
+ groupId?: string | null;
1432
+ /** The group max number of AddOns. */
1433
+ maxNumberOfAddOns?: number | null;
1434
+ /**
1435
+ * The group name.
1436
+ * @maxLength 100
1437
+ */
1438
+ groupName?: string | null;
1439
+ /**
1440
+ * The AddOns information linked to the group.
1441
+ * @maxSize 7
1442
+ */
1443
+ addOns?: AddOn[];
1444
+ /**
1445
+ * The group prompt.
1446
+ * @maxLength 200
1447
+ */
1448
+ prompt?: string | null;
1449
+ }
1450
+ interface SetAddOnsForGroupRequest {
1451
+ /**
1452
+ * The service ID to set AddOns for.
1453
+ * @format GUID
1454
+ */
1455
+ serviceId: string | null;
1456
+ /**
1457
+ * The group ID to set AddOns for.
1458
+ * @format GUID
1459
+ */
1460
+ groupId: string | null;
1461
+ /**
1462
+ * The IDs of AddOns to set.
1463
+ * @format GUID
1464
+ * @minSize 1
1465
+ * @maxSize 7
1466
+ */
1467
+ addOnIds: string[] | null;
1468
+ }
1469
+ interface SetAddOnsForGroupResponse {
1470
+ /** The updated AddOnGroup. */
1471
+ addOnGroup?: AddOnGroup;
1472
+ }
1341
1473
  interface CreateServiceRequest {
1342
1474
  /** Service to create. */
1343
1475
  service: Service;
@@ -3246,138 +3378,21 @@ interface SiteCloned {
3246
3378
  /** Origin site id. */
3247
3379
  originMetaSiteId?: string;
3248
3380
  }
3249
- interface CreateAddOnGroupRequest {
3250
- /** AddOnGroup to create. */
3251
- addOnGroup: AddOnGroup;
3252
- /**
3253
- * ID of the service to create the AddOnGroup for.
3254
- * @format GUID
3255
- */
3256
- serviceId?: string | null;
3257
- }
3258
- interface CreateAddOnGroupResponse {
3259
- /** Created AddOnGroup. */
3260
- addOnGroup?: AddOnGroup;
3261
- }
3262
- interface DeleteAddOnGroupRequest {
3263
- /**
3264
- * ID of the AddOnGroup to delete.
3265
- * @format GUID
3266
- */
3267
- addOnGroupId: string | null;
3268
- /**
3269
- * ID of the service from which to delete the AddOnGroup.
3270
- * @format GUID
3271
- */
3272
- serviceId: string | null;
3273
- }
3274
- interface DeleteAddOnGroupResponse {
3275
- }
3276
- interface UpdateAddOnGroupRequest {
3277
- /** AddOnGroup to update. */
3278
- addOnGroup: AddOnGroup;
3279
- /**
3280
- * ID of the service that contains the AddOnGroup.
3281
- * @format GUID
3282
- */
3283
- serviceId: string | null;
3284
- }
3285
- interface UpdateAddOnGroupResponse {
3286
- /** Updated AddOnGroup */
3287
- addOnGroup?: AddOnGroup;
3288
- }
3289
- interface ListAddOnGroupsByServiceIdRequest {
3290
- /**
3291
- * ID of the service to retrieve AddOnGroups for.
3292
- * @format GUID
3293
- */
3294
- serviceId: string | null;
3295
- /**
3296
- * List of group ids to return. If not provided, all groups are returned.
3297
- * @format GUID
3298
- * @maxSize 3
3299
- */
3300
- groupIds?: string[] | null;
3301
- }
3302
- interface ListAddOnGroupsByServiceIdResponse {
3303
- /**
3304
- * List of group IDs and their linked AddOns.
3305
- * @maxSize 3
3306
- */
3307
- addOnGroupsDetails?: AddOnGroupDetail[];
3308
- }
3309
- interface AddOn extends AddOnAddOnInfoOneOf {
3310
- /** The AddOn description. */
3311
- durationInMinutes?: number;
3312
- /** The AddOn max quantity. */
3313
- maxQuantity?: number;
3314
- /**
3315
- * The AddOn ID.
3316
- * @format GUID
3317
- */
3318
- addOnId?: string | null;
3319
- /**
3320
- * The AddOn name.
3321
- * @maxLength 100
3322
- */
3323
- name?: string | null;
3324
- /** The AddOn price. */
3325
- price?: Money;
3326
- }
3327
- /** @oneof */
3328
- interface AddOnAddOnInfoOneOf {
3329
- /** The AddOn description. */
3330
- durationInMinutes?: number;
3331
- /** The AddOn max quantity. */
3332
- maxQuantity?: number;
3333
- }
3334
- interface AddOnGroupDetail {
3335
- /**
3336
- * The group ID.
3337
- * @format GUID
3338
- */
3339
- groupId?: string | null;
3340
- /** The group max number of AddOns. */
3341
- maxNumberOfAddOns?: number | null;
3342
- /**
3343
- * The group name.
3344
- * @maxLength 100
3345
- */
3346
- groupName?: string | null;
3347
- /**
3348
- * The AddOns information linked to the group.
3349
- * @maxSize 7
3350
- */
3351
- addOns?: AddOn[];
3352
- /**
3353
- * The group prompt.
3354
- * @maxLength 200
3355
- */
3356
- prompt?: string | null;
3357
- }
3358
- interface SetAddOnsForGroupRequest {
3359
- /**
3360
- * The service ID to set AddOns for.
3361
- * @format GUID
3362
- */
3363
- serviceId: string | null;
3364
- /**
3365
- * The group ID to set AddOns for.
3366
- * @format GUID
3367
- */
3368
- groupId: string | null;
3369
- /**
3370
- * The IDs of AddOns to set.
3371
- * @format GUID
3372
- * @minSize 1
3373
- * @maxSize 7
3374
- */
3375
- addOnIds: string[] | null;
3376
- }
3377
- interface SetAddOnsForGroupResponse {
3378
- /** The updated AddOnGroup. */
3379
- addOnGroup?: AddOnGroup;
3380
- }
3381
+ type DeleteAddOnGroupApplicationErrors = {
3382
+ code?: 'GROUP_NOT_ON_SERVICE';
3383
+ description?: string;
3384
+ data?: Record<string, any>;
3385
+ };
3386
+ type UpdateAddOnGroupApplicationErrors = {
3387
+ code?: 'GROUP_NOT_ON_SERVICE';
3388
+ description?: string;
3389
+ data?: Record<string, any>;
3390
+ };
3391
+ type SetAddOnsForGroupApplicationErrors = {
3392
+ code?: 'ADD_ON_GROUP_NOT_FOUND';
3393
+ description?: string;
3394
+ data?: Record<string, any>;
3395
+ };
3381
3396
  type CreateServiceValidationErrors = {
3382
3397
  ruleName?: 'INVALID_FORM';
3383
3398
  } | {
@@ -3491,21 +3506,6 @@ type SetCustomSlugApplicationErrors = {
3491
3506
  type SetCustomSlugValidationErrors = {
3492
3507
  ruleName?: 'SLUG_CONTAINS_ILLEGAL_CHARACTERS';
3493
3508
  };
3494
- type DeleteAddOnGroupApplicationErrors = {
3495
- code?: 'GROUP_NOT_ON_SERVICE';
3496
- description?: string;
3497
- data?: Record<string, any>;
3498
- };
3499
- type UpdateAddOnGroupApplicationErrors = {
3500
- code?: 'GROUP_NOT_ON_SERVICE';
3501
- description?: string;
3502
- data?: Record<string, any>;
3503
- };
3504
- type SetAddOnsForGroupApplicationErrors = {
3505
- code?: 'ADD_ON_GROUP_NOT_FOUND';
3506
- description?: string;
3507
- data?: Record<string, any>;
3508
- };
3509
3509
  interface BaseEventMetadata {
3510
3510
  /**
3511
3511
  * App instance ID.
@@ -3628,7 +3628,127 @@ interface ServiceUpdatedEnvelope {
3628
3628
  * @slug updated
3629
3629
  */
3630
3630
  declare function onServiceUpdated(handler: (event: ServiceUpdatedEnvelope) => void | Promise<void>): void;
3631
- type ServiceNonNullablePaths = `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.rateType` | `payment.pricingPlanIds` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `locations.${number}.business.address.streetAddress.number` | `locations.${number}.business.address.streetAddress.name` | `locations.${number}.business.address.streetAddress.apt` | `locations.${number}.custom._id` | `locations.${number}._id` | `locations.${number}.type` | `bookingPolicy._id` | `bookingPolicy.customPolicyDescription.enabled` | `bookingPolicy.customPolicyDescription.description` | `bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicy.cancellationPolicy.enabled` | `bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicy.reschedulePolicy.enabled` | `bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicy.waitlistPolicy.enabled` | `bookingPolicy.waitlistPolicy.capacity` | `bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicy.resourcesPolicy.enabled` | `bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicy.cancellationFeePolicy.cancellationWindows` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.amount.value` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.amount.currency` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `staffMemberIds` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.name` | `mainSlug.name` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain`;
3631
+ /**
3632
+ * Create a new AddOns group.
3633
+ * An AddOns group defines a collection of AddOns that can be linked to a Service,
3634
+ * with constraints such as minimum and maximum selections.
3635
+ * @param addOnGroup - AddOnGroup to create.
3636
+ * @public
3637
+ * @documentationMaturity preview
3638
+ * @requiredField addOnGroup
3639
+ * @requiredField addOnGroup.name
3640
+ * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_CREATE
3641
+ * @applicableIdentity APP
3642
+ * @fqn wix.bookings.services.v2.AddOnGroupsService.CreateAddOnGroup
3643
+ */
3644
+ declare function createAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `name`>, options?: CreateAddOnGroupOptions): Promise<NonNullablePaths<CreateAddOnGroupResponse, `addOnGroup.addOnIds`>>;
3645
+ interface CreateAddOnGroupOptions {
3646
+ /**
3647
+ * ID of the service to create the AddOnGroup for.
3648
+ * @format GUID
3649
+ */
3650
+ serviceId?: string | null;
3651
+ }
3652
+ /**
3653
+ * Delete an existing AddOns group.
3654
+ * This will remove the group and unlink all associated AddOns.
3655
+ * @param addOnGroupId - ID of the AddOnGroup to delete.
3656
+ * @public
3657
+ * @documentationMaturity preview
3658
+ * @requiredField addOnGroupId
3659
+ * @requiredField options
3660
+ * @requiredField options.serviceId
3661
+ * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_CREATE
3662
+ * @applicableIdentity APP
3663
+ * @fqn wix.bookings.services.v2.AddOnGroupsService.DeleteAddOnGroup
3664
+ */
3665
+ declare function deleteAddOnGroup(addOnGroupId: string, options: NonNullablePaths<DeleteAddOnGroupOptions, `serviceId`>): Promise<void & {
3666
+ __applicationErrorsType?: DeleteAddOnGroupApplicationErrors;
3667
+ }>;
3668
+ interface DeleteAddOnGroupOptions {
3669
+ /**
3670
+ * ID of the service from which to delete the AddOnGroup.
3671
+ * @format GUID
3672
+ */
3673
+ serviceId: string | null;
3674
+ }
3675
+ /**
3676
+ * Update an existing AddOns group.
3677
+ * This allows modifying group settings such as its name, prompt, constraints, or associated AddOns.
3678
+ * @param addOnGroup - AddOnGroup to update.
3679
+ * @public
3680
+ * @documentationMaturity preview
3681
+ * @requiredField addOnGroup
3682
+ * @requiredField addOnGroup._id
3683
+ * @requiredField options
3684
+ * @requiredField options.serviceId
3685
+ * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_UPDATE
3686
+ * @applicableIdentity APP
3687
+ * @fqn wix.bookings.services.v2.AddOnGroupsService.UpdateAddOnGroup
3688
+ */
3689
+ declare function updateAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `_id`>, options: NonNullablePaths<UpdateAddOnGroupOptions, `serviceId`>): Promise<NonNullablePaths<UpdateAddOnGroupResponse, `addOnGroup.addOnIds`> & {
3690
+ __applicationErrorsType?: UpdateAddOnGroupApplicationErrors;
3691
+ }>;
3692
+ interface UpdateAddOnGroupOptions {
3693
+ /**
3694
+ * ID of the service that contains the AddOnGroup.
3695
+ * @format GUID
3696
+ */
3697
+ serviceId: string | null;
3698
+ }
3699
+ /**
3700
+ * Retrieves a list of AddOnGroups including enriched AddOn details in the correct order.
3701
+ * If the group_id is specified, only the AddOns for the specified group will be returned,
3702
+ * otherwise all groups will be returned.
3703
+ * @param serviceId - ID of the service to retrieve AddOnGroups for.
3704
+ * @public
3705
+ * @documentationMaturity preview
3706
+ * @requiredField serviceId
3707
+ * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_LIST
3708
+ * @applicableIdentity APP
3709
+ * @applicableIdentity VISITOR
3710
+ * @fqn wix.bookings.services.v2.AddOnGroupsService.ListAddOnGroupsByServiceId
3711
+ */
3712
+ declare function listAddOnGroupsByServiceId(serviceId: string, options?: ListAddOnGroupsByServiceIdOptions): Promise<NonNullablePaths<ListAddOnGroupsByServiceIdResponse, `addOnGroupsDetails`>>;
3713
+ interface ListAddOnGroupsByServiceIdOptions {
3714
+ /**
3715
+ * List of group ids to return. If not provided, all groups are returned.
3716
+ * @format GUID
3717
+ * @maxSize 3
3718
+ */
3719
+ groupIds?: string[] | null;
3720
+ }
3721
+ /**
3722
+ * Sets the AddOns for a specific group.
3723
+ * The order of the AddOns in the list will be used to determine their display order.
3724
+ * @param serviceId - The service ID to set AddOns for.
3725
+ * @public
3726
+ * @documentationMaturity preview
3727
+ * @requiredField options
3728
+ * @requiredField options.addOnIds
3729
+ * @requiredField options.groupId
3730
+ * @requiredField serviceId
3731
+ * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_SET_ADD_ONS
3732
+ * @applicableIdentity APP
3733
+ * @fqn wix.bookings.services.v2.AddOnGroupsService.SetAddOnsForGroup
3734
+ */
3735
+ declare function setAddOnsForGroup(serviceId: string, options: NonNullablePaths<SetAddOnsForGroupOptions, `addOnIds` | `groupId`>): Promise<NonNullablePaths<SetAddOnsForGroupResponse, `addOnGroup.addOnIds`> & {
3736
+ __applicationErrorsType?: SetAddOnsForGroupApplicationErrors;
3737
+ }>;
3738
+ interface SetAddOnsForGroupOptions {
3739
+ /**
3740
+ * The group ID to set AddOns for.
3741
+ * @format GUID
3742
+ */
3743
+ groupId: string | null;
3744
+ /**
3745
+ * The IDs of AddOns to set.
3746
+ * @format GUID
3747
+ * @minSize 1
3748
+ * @maxSize 7
3749
+ */
3750
+ addOnIds: string[] | null;
3751
+ }
3632
3752
  /**
3633
3753
  * Creates a service.
3634
3754
  *
@@ -3680,7 +3800,7 @@ type ServiceNonNullablePaths = `type` | `media.items` | `category._id` | `form._
3680
3800
  * @returns Created service.
3681
3801
  * @fqn wix.bookings.services.v2.ServicesService.CreateService
3682
3802
  */
3683
- declare function createService(service: Service): Promise<NonNullablePaths<Service, ServiceNonNullablePaths> & {
3803
+ declare function createService(service: Service): Promise<NonNullablePaths<Service, `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.rateType` | `payment.pricingPlanIds` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `locations.${number}.custom._id` | `locations.${number}._id` | `locations.${number}.type` | `bookingPolicy._id` | `bookingPolicy.customPolicyDescription.enabled` | `bookingPolicy.customPolicyDescription.description` | `bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicy.cancellationPolicy.enabled` | `bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicy.reschedulePolicy.enabled` | `bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicy.waitlistPolicy.enabled` | `bookingPolicy.waitlistPolicy.capacity` | `bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicy.resourcesPolicy.enabled` | `bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicy.cancellationFeePolicy.cancellationWindows` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `staffMemberIds` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.name` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain`> & {
3684
3804
  __validationErrorsType?: CreateServiceValidationErrors;
3685
3805
  }>;
3686
3806
  /**
@@ -3697,9 +3817,7 @@ declare function createService(service: Service): Promise<NonNullablePaths<Servi
3697
3817
  * @applicableIdentity APP
3698
3818
  * @fqn wix.bookings.services.v2.ServicesService.BulkCreateServices
3699
3819
  */
3700
- declare function bulkCreateServices(services: Service[], options?: BulkCreateServicesOptions): Promise<NonNullablePaths<BulkCreateServicesResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | {
3701
- [P in ServiceNonNullablePaths]: `results.${number}.item.${P}`;
3702
- }[ServiceNonNullablePaths] | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`>>;
3820
+ declare function bulkCreateServices(services: Service[], options?: BulkCreateServicesOptions): Promise<NonNullablePaths<BulkCreateServicesResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.type` | `results.${number}.item.category._id` | `results.${number}.item.form._id` | `results.${number}.item.payment.rateType` | `results.${number}.item.bookingPolicy._id` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`>>;
3703
3821
  interface BulkCreateServicesOptions {
3704
3822
  /** Whether to return the created service objects. */
3705
3823
  returnEntity?: boolean;
@@ -3715,7 +3833,7 @@ interface BulkCreateServicesOptions {
3715
3833
  * @returns Retrieved service.
3716
3834
  * @fqn wix.bookings.services.v2.ServicesService.GetService
3717
3835
  */
3718
- declare function getService(serviceId: string): Promise<NonNullablePaths<Service, ServiceNonNullablePaths>>;
3836
+ declare function getService(serviceId: string): Promise<NonNullablePaths<Service, `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.rateType` | `payment.pricingPlanIds` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `locations.${number}.custom._id` | `locations.${number}._id` | `locations.${number}.type` | `bookingPolicy._id` | `bookingPolicy.customPolicyDescription.enabled` | `bookingPolicy.customPolicyDescription.description` | `bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicy.cancellationPolicy.enabled` | `bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicy.reschedulePolicy.enabled` | `bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicy.waitlistPolicy.enabled` | `bookingPolicy.waitlistPolicy.capacity` | `bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicy.resourcesPolicy.enabled` | `bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicy.cancellationFeePolicy.cancellationWindows` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `staffMemberIds` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.name` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain`>>;
3719
3837
  /**
3720
3838
  * Updates a service.
3721
3839
  *
@@ -3743,7 +3861,7 @@ declare function getService(serviceId: string): Promise<NonNullablePaths<Service
3743
3861
  * @returns Updated service.
3744
3862
  * @fqn wix.bookings.services.v2.ServicesService.UpdateService
3745
3863
  */
3746
- declare function updateService(_id: string, service: NonNullablePaths<UpdateService, `revision`>): Promise<NonNullablePaths<Service, ServiceNonNullablePaths> & {
3864
+ declare function updateService(_id: string, service: NonNullablePaths<UpdateService, `revision`>): Promise<NonNullablePaths<Service, `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.rateType` | `payment.pricingPlanIds` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `locations.${number}.custom._id` | `locations.${number}._id` | `locations.${number}.type` | `bookingPolicy._id` | `bookingPolicy.customPolicyDescription.enabled` | `bookingPolicy.customPolicyDescription.description` | `bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicy.cancellationPolicy.enabled` | `bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicy.reschedulePolicy.enabled` | `bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicy.waitlistPolicy.enabled` | `bookingPolicy.waitlistPolicy.capacity` | `bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicy.resourcesPolicy.enabled` | `bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicy.cancellationFeePolicy.cancellationWindows` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `staffMemberIds` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.name` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain`> & {
3747
3865
  __validationErrorsType?: UpdateServiceValidationErrors;
3748
3866
  }>;
3749
3867
  interface UpdateService {
@@ -3901,9 +4019,7 @@ interface UpdateService {
3901
4019
  * @applicableIdentity APP
3902
4020
  * @fqn wix.bookings.services.v2.ServicesService.BulkUpdateServices
3903
4021
  */
3904
- declare function bulkUpdateServices(options?: NonNullablePaths<BulkUpdateServicesOptions, `services.${number}.service` | `services.${number}.service._id` | `services.${number}.service.revision`>): Promise<NonNullablePaths<BulkUpdateServicesResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | {
3905
- [P in ServiceNonNullablePaths]: `results.${number}.item.${P}`;
3906
- }[ServiceNonNullablePaths] | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`>>;
4022
+ declare function bulkUpdateServices(options?: NonNullablePaths<BulkUpdateServicesOptions, `services.${number}.service` | `services.${number}.service._id` | `services.${number}.service.revision`>): Promise<NonNullablePaths<BulkUpdateServicesResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.type` | `results.${number}.item.category._id` | `results.${number}.item.form._id` | `results.${number}.item.payment.rateType` | `results.${number}.item.bookingPolicy._id` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`>>;
3907
4023
  interface BulkUpdateServicesOptions {
3908
4024
  /**
3909
4025
  * Services to update.
@@ -3986,9 +4102,7 @@ interface DeleteServiceOptions {
3986
4102
  * @applicableIdentity APP
3987
4103
  * @fqn wix.bookings.services.v2.ServicesService.BulkDeleteServices
3988
4104
  */
3989
- declare function bulkDeleteServices(ids: string[], options?: BulkDeleteServicesOptions): Promise<NonNullablePaths<BulkDeleteServicesResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | {
3990
- [P in ServiceNonNullablePaths]: `results.${number}.item.${P}`;
3991
- }[ServiceNonNullablePaths] | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`>>;
4105
+ declare function bulkDeleteServices(ids: string[], options?: BulkDeleteServicesOptions): Promise<NonNullablePaths<BulkDeleteServicesResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.type` | `results.${number}.item.category._id` | `results.${number}.item.form._id` | `results.${number}.item.payment.rateType` | `results.${number}.item.bookingPolicy._id` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`>>;
3992
4106
  interface BulkDeleteServicesOptions {
3993
4107
  /**
3994
4108
  * Whether to preserve future sessions with participants.
@@ -4365,9 +4479,7 @@ type ServiceSearch = {
4365
4479
  * @applicableIdentity VISITOR
4366
4480
  * @fqn wix.bookings.services.v2.ServicesService.QueryPolicies
4367
4481
  */
4368
- declare function queryPolicies(query: CursorQuery): Promise<NonNullablePaths<QueryPoliciesResponse, `bookingPolicies` | `bookingPolicies.${number}.bookingPolicy._id` | `bookingPolicies.${number}.bookingPolicy.customPolicyDescription.enabled` | `bookingPolicies.${number}.bookingPolicy.customPolicyDescription.description` | `bookingPolicies.${number}.bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicies.${number}.bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicies.${number}.bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.cancellationPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicies.${number}.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicies.${number}.bookingPolicy.reschedulePolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicies.${number}.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicies.${number}.bookingPolicy.waitlistPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.waitlistPolicy.capacity` | `bookingPolicies.${number}.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicies.${number}.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicies.${number}.bookingPolicy.resourcesPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicies.${number}.bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.saveCreditCardPolicy.enabled` | {
4369
- [P in ServiceNonNullablePaths]: `bookingPolicies.${number}.connectedServices.${number}.${P}`;
4370
- }[ServiceNonNullablePaths] | `bookingPolicies.${number}.totalServiceCount`>>;
4482
+ declare function queryPolicies(query: CursorQuery): Promise<NonNullablePaths<QueryPoliciesResponse, `bookingPolicies` | `bookingPolicies.${number}.bookingPolicy._id` | `bookingPolicies.${number}.bookingPolicy.customPolicyDescription.enabled` | `bookingPolicies.${number}.bookingPolicy.customPolicyDescription.description` | `bookingPolicies.${number}.bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicies.${number}.bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicies.${number}.bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.cancellationPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicies.${number}.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicies.${number}.bookingPolicy.reschedulePolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicies.${number}.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicies.${number}.bookingPolicy.waitlistPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.waitlistPolicy.capacity` | `bookingPolicies.${number}.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicies.${number}.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicies.${number}.bookingPolicy.resourcesPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicies.${number}.bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.saveCreditCardPolicy.enabled` | `bookingPolicies.${number}.totalServiceCount`>>;
4371
4483
  /**
4372
4484
  * Retrieves a list of up to 100 *booking forms*
4373
4485
  * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/forms/introduction) | [REST](https://dev.wix.com/docs/rest/crm/forms/form-schemas/form-object)),
@@ -4488,7 +4600,7 @@ interface CountServicesOptions {
4488
4600
  * @applicableIdentity VISITOR
4489
4601
  * @fqn wix.bookings.services.v2.ServicesService.QueryLocations
4490
4602
  */
4491
- declare function queryLocations(options?: QueryLocationsOptions): Promise<NonNullablePaths<QueryLocationsResponse, `businessLocations.exists` | `businessLocations.locations` | `businessLocations.locations.${number}.business._id` | `businessLocations.locations.${number}.business.name` | `businessLocations.locations.${number}.business.address.streetAddress.number` | `businessLocations.locations.${number}.business.address.streetAddress.name` | `businessLocations.locations.${number}.business.address.streetAddress.apt` | `businessLocations.locations.${number}.custom._id` | `businessLocations.locations.${number}._id` | `businessLocations.locations.${number}.type` | `customLocations.exists` | `customerLocations.exists`>>;
4603
+ declare function queryLocations(options?: QueryLocationsOptions): Promise<NonNullablePaths<QueryLocationsResponse, `businessLocations.exists` | `businessLocations.locations` | `businessLocations.locations.${number}.business._id` | `businessLocations.locations.${number}.business.name` | `businessLocations.locations.${number}.custom._id` | `businessLocations.locations.${number}._id` | `businessLocations.locations.${number}.type` | `customLocations.exists` | `customerLocations.exists`>>;
4492
4604
  interface QueryLocationsOptions {
4493
4605
  /** Filter. */
4494
4606
  filter?: QueryLocationsFilter;
@@ -4588,9 +4700,7 @@ interface QueryCategoriesOptions {
4588
4700
  * @applicableIdentity APP
4589
4701
  * @fqn wix.bookings.services.v2.ServicesService.SetServiceLocations
4590
4702
  */
4591
- declare function setServiceLocations(serviceId: string, locations: Location[], options?: SetServiceLocationsOptions): Promise<NonNullablePaths<SetServiceLocationsResponse, {
4592
- [P in ServiceNonNullablePaths]: `service.${P}`;
4593
- }[ServiceNonNullablePaths]>>;
4703
+ declare function setServiceLocations(serviceId: string, locations: Location[], options?: SetServiceLocationsOptions): Promise<NonNullablePaths<SetServiceLocationsResponse, `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.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`>>;
4594
4704
  interface SetServiceLocationsOptions {
4595
4705
  /**
4596
4706
  * The action to perform on sessions currently set to a removed location. For
@@ -4626,9 +4736,7 @@ interface SetServiceLocationsOptions {
4626
4736
  * @applicableIdentity APP
4627
4737
  * @fqn wix.bookings.services.v2.ServicesService.EnablePricingPlansForService
4628
4738
  */
4629
- declare function enablePricingPlansForService(serviceId: string, pricingPlanIds: string[]): Promise<NonNullablePaths<EnablePricingPlansForServiceResponse, {
4630
- [P in ServiceNonNullablePaths]: `service.${P}`;
4631
- }[ServiceNonNullablePaths]> & {
4739
+ declare function enablePricingPlansForService(serviceId: string, pricingPlanIds: string[]): Promise<NonNullablePaths<EnablePricingPlansForServiceResponse, `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.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`> & {
4632
4740
  __applicationErrorsType?: EnablePricingPlansForServiceApplicationErrors;
4633
4741
  }>;
4634
4742
  /**
@@ -4647,9 +4755,7 @@ declare function enablePricingPlansForService(serviceId: string, pricingPlanIds:
4647
4755
  * @applicableIdentity APP
4648
4756
  * @fqn wix.bookings.services.v2.ServicesService.DisablePricingPlansForService
4649
4757
  */
4650
- declare function disablePricingPlansForService(serviceId: string, options?: DisablePricingPlansForServiceOptions): Promise<NonNullablePaths<DisablePricingPlansForServiceResponse, {
4651
- [P in ServiceNonNullablePaths]: `service.${P}`;
4652
- }[ServiceNonNullablePaths]> & {
4758
+ declare function disablePricingPlansForService(serviceId: string, options?: DisablePricingPlansForServiceOptions): Promise<NonNullablePaths<DisablePricingPlansForServiceResponse, `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.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`> & {
4653
4759
  __applicationErrorsType?: DisablePricingPlansForServiceApplicationErrors;
4654
4760
  }>;
4655
4761
  interface DisablePricingPlansForServiceOptions {
@@ -4677,9 +4783,7 @@ interface DisablePricingPlansForServiceOptions {
4677
4783
  * @applicableIdentity APP
4678
4784
  * @fqn wix.bookings.services.v2.ServicesService.SetCustomSlug
4679
4785
  */
4680
- declare function setCustomSlug(serviceId: string, options?: SetCustomSlugOptions): Promise<NonNullablePaths<SetCustomSlugResponse, `slug.name` | {
4681
- [P in ServiceNonNullablePaths]: `service.${P}`;
4682
- }[ServiceNonNullablePaths]> & {
4786
+ declare function setCustomSlug(serviceId: string, options?: SetCustomSlugOptions): Promise<NonNullablePaths<SetCustomSlugResponse, `slug.name` | `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.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`> & {
4683
4787
  __applicationErrorsType?: SetCustomSlugApplicationErrors;
4684
4788
  __validationErrorsType?: SetCustomSlugValidationErrors;
4685
4789
  }>;
@@ -4783,129 +4887,6 @@ interface ValidateSlugOptions {
4783
4887
  * @applicableIdentity APP
4784
4888
  * @fqn wix.bookings.services.v2.ServicesService.CloneService
4785
4889
  */
4786
- declare function cloneService(sourceServiceId: string): Promise<NonNullablePaths<CloneServiceResponse, {
4787
- [P in ServiceNonNullablePaths]: `service.${P}`;
4788
- }[ServiceNonNullablePaths] | `errors`>>;
4789
- /**
4790
- * Create a new AddOns group.
4791
- * An AddOns group defines a collection of AddOns that can be linked to a Service,
4792
- * with constraints such as minimum and maximum selections.
4793
- * @param addOnGroup - AddOnGroup to create.
4794
- * @public
4795
- * @documentationMaturity preview
4796
- * @requiredField addOnGroup
4797
- * @requiredField addOnGroup.name
4798
- * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_CREATE
4799
- * @applicableIdentity APP
4800
- * @fqn wix.bookings.services.v2.AddOnGroupsService.CreateAddOnGroup
4801
- */
4802
- declare function createAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `name`>, options?: CreateAddOnGroupOptions): Promise<NonNullablePaths<CreateAddOnGroupResponse, `addOnGroup.addOnIds`>>;
4803
- interface CreateAddOnGroupOptions {
4804
- /**
4805
- * ID of the service to create the AddOnGroup for.
4806
- * @format GUID
4807
- */
4808
- serviceId?: string | null;
4809
- }
4810
- /**
4811
- * Delete an existing AddOns group.
4812
- * This will remove the group and unlink all associated AddOns.
4813
- * @param addOnGroupId - ID of the AddOnGroup to delete.
4814
- * @public
4815
- * @documentationMaturity preview
4816
- * @requiredField addOnGroupId
4817
- * @requiredField options
4818
- * @requiredField options.serviceId
4819
- * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_CREATE
4820
- * @applicableIdentity APP
4821
- * @fqn wix.bookings.services.v2.AddOnGroupsService.DeleteAddOnGroup
4822
- */
4823
- declare function deleteAddOnGroup(addOnGroupId: string, options: NonNullablePaths<DeleteAddOnGroupOptions, `serviceId`>): Promise<void & {
4824
- __applicationErrorsType?: DeleteAddOnGroupApplicationErrors;
4825
- }>;
4826
- interface DeleteAddOnGroupOptions {
4827
- /**
4828
- * ID of the service from which to delete the AddOnGroup.
4829
- * @format GUID
4830
- */
4831
- serviceId: string | null;
4832
- }
4833
- /**
4834
- * Update an existing AddOns group.
4835
- * This allows modifying group settings such as its name, prompt, constraints, or associated AddOns.
4836
- * @param addOnGroup - AddOnGroup to update.
4837
- * @public
4838
- * @documentationMaturity preview
4839
- * @requiredField addOnGroup
4840
- * @requiredField addOnGroup._id
4841
- * @requiredField options
4842
- * @requiredField options.serviceId
4843
- * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_UPDATE
4844
- * @applicableIdentity APP
4845
- * @fqn wix.bookings.services.v2.AddOnGroupsService.UpdateAddOnGroup
4846
- */
4847
- declare function updateAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `_id`>, options: NonNullablePaths<UpdateAddOnGroupOptions, `serviceId`>): Promise<NonNullablePaths<UpdateAddOnGroupResponse, `addOnGroup.addOnIds`> & {
4848
- __applicationErrorsType?: UpdateAddOnGroupApplicationErrors;
4849
- }>;
4850
- interface UpdateAddOnGroupOptions {
4851
- /**
4852
- * ID of the service that contains the AddOnGroup.
4853
- * @format GUID
4854
- */
4855
- serviceId: string | null;
4856
- }
4857
- /**
4858
- * Retrieves a list of AddOnGroups including enriched AddOn details in the correct order.
4859
- * If the group_id is specified, only the AddOns for the specified group will be returned,
4860
- * otherwise all groups will be returned.
4861
- * @param serviceId - ID of the service to retrieve AddOnGroups for.
4862
- * @public
4863
- * @documentationMaturity preview
4864
- * @requiredField serviceId
4865
- * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_LIST
4866
- * @applicableIdentity APP
4867
- * @applicableIdentity VISITOR
4868
- * @fqn wix.bookings.services.v2.AddOnGroupsService.ListAddOnGroupsByServiceId
4869
- */
4870
- declare function listAddOnGroupsByServiceId(serviceId: string, options?: ListAddOnGroupsByServiceIdOptions): Promise<NonNullablePaths<ListAddOnGroupsByServiceIdResponse, `addOnGroupsDetails`>>;
4871
- interface ListAddOnGroupsByServiceIdOptions {
4872
- /**
4873
- * List of group ids to return. If not provided, all groups are returned.
4874
- * @format GUID
4875
- * @maxSize 3
4876
- */
4877
- groupIds?: string[] | null;
4878
- }
4879
- /**
4880
- * Sets the AddOns for a specific group.
4881
- * The order of the AddOns in the list will be used to determine their display order.
4882
- * @param serviceId - The service ID to set AddOns for.
4883
- * @public
4884
- * @documentationMaturity preview
4885
- * @requiredField options
4886
- * @requiredField options.addOnIds
4887
- * @requiredField options.groupId
4888
- * @requiredField serviceId
4889
- * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_SET_ADD_ONS
4890
- * @applicableIdentity APP
4891
- * @fqn wix.bookings.services.v2.AddOnGroupsService.SetAddOnsForGroup
4892
- */
4893
- declare function setAddOnsForGroup(serviceId: string, options: NonNullablePaths<SetAddOnsForGroupOptions, `addOnIds` | `groupId`>): Promise<NonNullablePaths<SetAddOnsForGroupResponse, `addOnGroup.addOnIds`> & {
4894
- __applicationErrorsType?: SetAddOnsForGroupApplicationErrors;
4895
- }>;
4896
- interface SetAddOnsForGroupOptions {
4897
- /**
4898
- * The group ID to set AddOns for.
4899
- * @format GUID
4900
- */
4901
- groupId: string | null;
4902
- /**
4903
- * The IDs of AddOns to set.
4904
- * @format GUID
4905
- * @minSize 1
4906
- * @maxSize 7
4907
- */
4908
- addOnIds: string[] | null;
4909
- }
4890
+ 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.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`>>;
4910
4891
 
4911
- 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 ResourcesPolicy 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, LocationType as a8, WebhookIdentityType as a9, type Form as aA, type FormSettings as aB, type Payment as aC, type PaymentRateOneOf as aD, type FixedPayment as aE, type Money as aF, type CustomPayment as aG, type VariedPayment as aH, type PaymentOptions as aI, type OnlineBooking as aJ, type Conferencing as aK, type LocationOptionsOneOf as aL, type CommonAddress as aM, type CommonAddressStreetOneOf as aN, type StreetAddress as aO, type AddressLocation as aP, type BusinessLocationOptions as aQ, type CustomLocationOptions as aR, type BookingPolicy as aS, type PolicyDescription as aT, type LimitEarlyBookingPolicy as aU, type LimitLateBookingPolicy as aV, type BookAfterStartPolicy as aW, type CancellationPolicy as aX, type ReschedulePolicy as aY, type WaitlistPolicy as aZ, type ParticipantsPolicy as a_, V2RequestedFields as aa, SortOrder as ab, SortType as ac, SortDirection as ad, MissingValues as ae, ScalarType as af, NestedAggregationType as ag, Interval as ah, AggregationType as ai, Mode as aj, RequestedFields as ak, Action as al, InvalidSlugError as am, CloneErrors as an, Status as ao, CategoryNotificationEvent as ap, BenefitType as aq, Event as ar, CrudType as as, PlacementType as at, DayOfWeek as au, ResolutionMethod as av, type Media as aw, type MediaItem as ax, type MediaItemItemOneOf as ay, type V2Category as az, type UpdateServiceValidationErrors as b, type ParticipantNotification as b$, type CancellationFeePolicy as b0, type CancellationWindow as b1, type CancellationWindowFeeOneOf as b2, type SaveCreditCardPolicy as b3, type Schedule as b4, type AvailabilityConstraints as b5, type Duration as b6, type StaffMember as b7, type StaffMediaItem as b8, type StaffMediaItemItemOneOf as b9, type EntityDeletedEvent as bA, type ActionEvent as bB, type MessageEnvelope as bC, type IdentificationData as bD, type IdentificationDataIdOneOf as bE, type CreateServiceRequest as bF, type CreateServiceResponse as bG, type ValidateServiceRequest as bH, type ValidateServiceResponse as bI, type FieldViolation as bJ, type BulkCreateServicesRequest as bK, type BulkServiceResult as bL, type ItemMetadata as bM, type ApplicationError as bN, type BulkActionMetadata as bO, type GetServiceRequest as bP, type GetServiceResponse as bQ, type GetServiceAvailabilityConstraintsRequest as bR, type GetServiceAvailabilityConstraintsResponse as bS, type ServiceAvailabilityConstraints as bT, type SplitInterval as bU, type UpdateServiceRequest as bV, type UpdateServiceResponse as bW, type BulkUpdateServicesRequest as bX, type MaskedService as bY, type BulkUpdateServicesByFilterRequest as bZ, type DeleteServiceRequest as b_, type StaffMemberDetails as ba, type ResourceGroup as bb, type ResourceIds as bc, type ServiceResource as bd, type ServiceResourceSelectionOneOf as be, type ResourceType as bf, type Slug as bg, type URLs as bh, type ExtendedFields as bi, type SeoSchema as bj, type Keyword as bk, type Tag as bl, type Settings as bm, type AddOnDetails as bn, type ReindexMessage as bo, type ReindexMessageActionOneOf as bp, type Upsert as bq, type Delete as br, type Schema as bs, type SetCustomSlugEvent as bt, type ServicesUrlsChanged as bu, type DomainEvent as bv, type DomainEventBodyOneOf as bw, type EntityCreatedEvent as bx, type RestoreInfo as by, type EntityUpdatedEvent as bz, type BulkUpdateServicesOptions as c, type CustomLocations as c$, type DeleteServiceResponse as c0, type BulkDeleteServicesRequest as c1, type BulkDeleteServicesByFilterRequest as c2, type QueryServicesRequest as c3, type QueryV2 as c4, type QueryV2PagingMethodOneOf as c5, type Sorting as c6, type Paging as c7, type CursorPaging as c8, type QueryServicesResponse as c9, type ValueResults as cA, type RangeResults as cB, type AggregationResultsScalarResult as cC, type NestedValueAggregationResult as cD, type ValueResult as cE, type RangeResult as cF, type ScalarResult as cG, type NestedResultValue as cH, type NestedResultValueResultOneOf as cI, type Results as cJ, type DateHistogramResult as cK, type GroupByValueResults as cL, type DateHistogramResults as cM, type NestedResults as cN, type AggregationResults as cO, type AggregationResultsResultOneOf as cP, type QueryPoliciesRequest as cQ, type CursorQueryPagingMethodOneOf as cR, type BookingPolicyWithServices as cS, type QueryBookingFormsRequest as cT, type BookingForm as cU, type FormDetails as cV, type ConnectedService as cW, type CountServicesRequest as cX, type QueryLocationsRequest as cY, type QueryLocationsFilter as cZ, type BusinessLocations as c_, type PagingMetadataV2 as ca, type Cursors as cb, type SearchServicesRequest as cc, type CursorSearch as cd, type CursorSearchPagingMethodOneOf as ce, type Aggregation as cf, type AggregationKindOneOf as cg, type RangeBucket as ch, type IncludeMissingValuesOptions as ci, type ValueAggregation as cj, type ValueAggregationOptionsOneOf as ck, type RangeAggregation as cl, type ScalarAggregation as cm, type DateHistogramAggregation as cn, type NestedAggregationItem as co, type NestedAggregationItemKindOneOf as cp, type NestedAggregation as cq, type GroupByAggregation as cr, type GroupByAggregationKindOneOf as cs, type SearchDetails as ct, type CursorPagingMetadata as cu, type AggregationData as cv, type ValueAggregationResult as cw, type RangeAggregationResult as cx, type NestedAggregationResults as cy, type NestedAggregationResultsResultOneOf as cz, type BulkUpdateServicesResponse as d, type RateTypeWithLiterals as d$, type CustomerLocations as d0, type QueryCategoriesRequest as d1, type QueryCategoriesFilter as d2, type QueryServicesMultiLanguageRequest as d3, type QueryServicesMultiLanguageResponse as d4, type SetServiceLocationsRequest as d5, type RemovedLocationSessionsAction as d6, type RemovedLocationSessionsActionActionOptionsOneOf as d7, type MoveToNewLocationsOptions as d8, type EnablePricingPlansForServiceRequest as d9, type GeoCoordinates as dA, type BusinessSchedule as dB, type TimePeriod as dC, type SpecialHourPeriod as dD, type Multilingual as dE, type SupportedLanguage as dF, type ConsentPolicy as dG, type Translation as dH, type ChangeContext as dI, type ChangeContextPayloadOneOf as dJ, type PropertiesChange as dK, type SiteCreated as dL, type SiteCloned as dM, type CreateAddOnGroupRequest as dN, type DeleteAddOnGroupRequest as dO, type DeleteAddOnGroupResponse as dP, type UpdateAddOnGroupRequest as dQ, type ListAddOnGroupsByServiceIdRequest as dR, type AddOn as dS, type AddOnAddOnInfoOneOf as dT, type AddOnGroupDetail as dU, type SetAddOnsForGroupRequest as dV, type BaseEventMetadata as dW, type EventMetadata as dX, type ServicesQueryResult as dY, type ServiceSearchSpec as dZ, type ServiceTypeWithLiterals as d_, type InvalidPricingPlan as da, type DisablePricingPlansForServiceRequest as db, type SetCustomSlugRequest as dc, type ValidateSlugRequest as dd, type CloneServiceRequest as de, type CategoryNotification as df, type Category as dg, type Empty as dh, type BenefitNotification as di, type Benefit as dj, type EntryPass as dk, type Discount as dl, type DiscountDiscountOneOf as dm, type Behavior as dn, type BehaviorBehaviorOneOf as dp, type UserDomainInfoChangedEvent as dq, type HtmlSitePublished as dr, type Page as ds, type SitePropertiesNotification as dt, type SitePropertiesEvent as du, type Properties as dv, type Categories as dw, type Locale as dx, type Address as dy, type AddressHint as dz, type BulkUpdateServicesByFilterOptions as e, type LocationTypeWithLiterals as e0, type WebhookIdentityTypeWithLiterals as e1, type V2RequestedFieldsWithLiterals as e2, type SortOrderWithLiterals as e3, type SortTypeWithLiterals as e4, type SortDirectionWithLiterals as e5, type MissingValuesWithLiterals as e6, type ScalarTypeWithLiterals as e7, type NestedAggregationTypeWithLiterals as e8, type IntervalWithLiterals as e9, queryServices as eA, type CommonSearchWithEntityContext as eB, queryPolicies as eC, queryBookingForms as eD, countServices as eE, queryLocations as eF, queryCategories as eG, setServiceLocations as eH, enablePricingPlansForService as eI, disablePricingPlansForService as eJ, setCustomSlug as eK, validateSlug as eL, cloneService as eM, createAddOnGroup as eN, deleteAddOnGroup as eO, updateAddOnGroup as eP, listAddOnGroupsByServiceId as eQ, setAddOnsForGroup as eR, type AggregationTypeWithLiterals as ea, type ModeWithLiterals as eb, type RequestedFieldsWithLiterals as ec, type ActionWithLiterals as ed, type InvalidSlugErrorWithLiterals as ee, type CloneErrorsWithLiterals as ef, type StatusWithLiterals as eg, type CategoryNotificationEventWithLiterals as eh, type BenefitTypeWithLiterals as ei, type EventWithLiterals as ej, type CrudTypeWithLiterals as ek, type PlacementTypeWithLiterals as el, type DayOfWeekWithLiterals as em, type ResolutionMethodWithLiterals as en, onServiceCreated as eo, onServiceDeleted as ep, onServiceUpdated as eq, createService as er, bulkCreateServices as es, getService as et, updateService as eu, bulkUpdateServices as ev, bulkUpdateServicesByFilter as ew, deleteService as ex, bulkDeleteServices as ey, bulkDeleteServicesByFilter 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 };
4892
+ 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 ResourcesPolicy 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, LocationType as a8, WebhookIdentityType as a9, type Form as aA, type FormSettings as aB, type Payment as aC, type PaymentRateOneOf as aD, type FixedPayment as aE, type Money as aF, type CustomPayment as aG, type VariedPayment as aH, type PaymentOptions as aI, type OnlineBooking as aJ, type Conferencing as aK, type LocationOptionsOneOf as aL, type CommonAddress as aM, type CommonAddressStreetOneOf as aN, type StreetAddress as aO, type AddressLocation as aP, type BusinessLocationOptions as aQ, type CustomLocationOptions as aR, type BookingPolicy as aS, type PolicyDescription as aT, type LimitEarlyBookingPolicy as aU, type LimitLateBookingPolicy as aV, type BookAfterStartPolicy as aW, type CancellationPolicy as aX, type ReschedulePolicy as aY, type WaitlistPolicy as aZ, type ParticipantsPolicy as a_, V2RequestedFields as aa, SortOrder as ab, SortType as ac, SortDirection as ad, MissingValues as ae, ScalarType as af, NestedAggregationType as ag, Interval as ah, AggregationType as ai, Mode as aj, RequestedFields as ak, Action as al, InvalidSlugError as am, CloneErrors as an, Status as ao, CategoryNotificationEvent as ap, BenefitType as aq, Event as ar, CrudType as as, PlacementType as at, DayOfWeek as au, ResolutionMethod as av, type Media as aw, type MediaItem as ax, type MediaItemItemOneOf as ay, type V2Category as az, type DeleteAddOnGroupApplicationErrors as b, type GetServiceAvailabilityConstraintsResponse as b$, type CancellationFeePolicy as b0, type CancellationWindow as b1, type CancellationWindowFeeOneOf as b2, type SaveCreditCardPolicy as b3, type Schedule as b4, type AvailabilityConstraints as b5, type Duration as b6, type StaffMember as b7, type StaffMediaItem as b8, type StaffMediaItemItemOneOf as b9, type EntityDeletedEvent as bA, type ActionEvent as bB, type MessageEnvelope as bC, type IdentificationData as bD, type IdentificationDataIdOneOf as bE, type CreateAddOnGroupRequest as bF, type DeleteAddOnGroupRequest as bG, type DeleteAddOnGroupResponse as bH, type UpdateAddOnGroupRequest as bI, type ListAddOnGroupsByServiceIdRequest as bJ, type AddOn as bK, type AddOnAddOnInfoOneOf as bL, type AddOnGroupDetail as bM, type SetAddOnsForGroupRequest as bN, type CreateServiceRequest as bO, type CreateServiceResponse as bP, type ValidateServiceRequest as bQ, type ValidateServiceResponse as bR, type FieldViolation as bS, type BulkCreateServicesRequest as bT, type BulkServiceResult as bU, type ItemMetadata as bV, type ApplicationError as bW, type BulkActionMetadata as bX, type GetServiceRequest as bY, type GetServiceResponse as bZ, type GetServiceAvailabilityConstraintsRequest as b_, type StaffMemberDetails as ba, type ResourceGroup as bb, type ResourceIds as bc, type ServiceResource as bd, type ServiceResourceSelectionOneOf as be, type ResourceType as bf, type Slug as bg, type URLs as bh, type ExtendedFields as bi, type SeoSchema as bj, type Keyword as bk, type Tag as bl, type Settings as bm, type AddOnDetails as bn, type ReindexMessage as bo, type ReindexMessageActionOneOf as bp, type Upsert as bq, type Delete as br, type Schema as bs, type SetCustomSlugEvent as bt, type ServicesUrlsChanged as bu, type DomainEvent as bv, type DomainEventBodyOneOf as bw, type EntityCreatedEvent as bx, type RestoreInfo as by, type EntityUpdatedEvent as bz, type UpdateAddOnGroupResponse as c, type BookingPolicyWithServices as c$, type ServiceAvailabilityConstraints as c0, type SplitInterval as c1, type UpdateServiceRequest as c2, type UpdateServiceResponse as c3, type BulkUpdateServicesRequest as c4, type MaskedService as c5, type BulkUpdateServicesByFilterRequest as c6, type DeleteServiceRequest as c7, type ParticipantNotification as c8, type DeleteServiceResponse as c9, type GroupByAggregation as cA, type GroupByAggregationKindOneOf as cB, type SearchDetails as cC, type CursorPagingMetadata as cD, type AggregationData as cE, type ValueAggregationResult as cF, type RangeAggregationResult as cG, type NestedAggregationResults as cH, type NestedAggregationResultsResultOneOf as cI, type ValueResults as cJ, type RangeResults as cK, type AggregationResultsScalarResult as cL, type NestedValueAggregationResult as cM, type ValueResult as cN, type RangeResult as cO, type ScalarResult as cP, type NestedResultValue as cQ, type NestedResultValueResultOneOf as cR, type Results as cS, type DateHistogramResult as cT, type GroupByValueResults as cU, type DateHistogramResults as cV, type NestedResults as cW, type AggregationResults as cX, type AggregationResultsResultOneOf as cY, type QueryPoliciesRequest as cZ, type CursorQueryPagingMethodOneOf as c_, type BulkDeleteServicesRequest as ca, type BulkDeleteServicesByFilterRequest as cb, type QueryServicesRequest as cc, type QueryV2 as cd, type QueryV2PagingMethodOneOf as ce, type Sorting as cf, type Paging as cg, type CursorPaging as ch, type QueryServicesResponse as ci, type PagingMetadataV2 as cj, type Cursors as ck, type SearchServicesRequest as cl, type CursorSearch as cm, type CursorSearchPagingMethodOneOf as cn, type Aggregation as co, type AggregationKindOneOf as cp, type RangeBucket as cq, type IncludeMissingValuesOptions as cr, type ValueAggregation as cs, type ValueAggregationOptionsOneOf as ct, type RangeAggregation as cu, type ScalarAggregation as cv, type DateHistogramAggregation as cw, type NestedAggregationItem as cx, type NestedAggregationItemKindOneOf as cy, type NestedAggregation as cz, type UpdateAddOnGroupApplicationErrors as d, type RateTypeWithLiterals as d$, type QueryBookingFormsRequest as d0, type BookingForm as d1, type FormDetails as d2, type ConnectedService as d3, type CountServicesRequest as d4, type QueryLocationsRequest as d5, type QueryLocationsFilter as d6, type BusinessLocations as d7, type CustomLocations as d8, type CustomerLocations as d9, type HtmlSitePublished as dA, type Page as dB, type SitePropertiesNotification as dC, type SitePropertiesEvent as dD, type Properties as dE, type Categories as dF, type Locale as dG, type Address as dH, type AddressHint as dI, type GeoCoordinates as dJ, type BusinessSchedule as dK, type TimePeriod as dL, type SpecialHourPeriod as dM, type Multilingual as dN, type SupportedLanguage as dO, type ConsentPolicy as dP, type Translation as dQ, type ChangeContext as dR, type ChangeContextPayloadOneOf as dS, type PropertiesChange as dT, type SiteCreated as dU, type SiteCloned as dV, type BaseEventMetadata as dW, type EventMetadata as dX, type ServicesQueryResult as dY, type ServiceSearchSpec as dZ, type ServiceTypeWithLiterals as d_, type QueryCategoriesRequest as da, type QueryCategoriesFilter as db, type QueryServicesMultiLanguageRequest as dc, type QueryServicesMultiLanguageResponse as dd, type SetServiceLocationsRequest as de, type RemovedLocationSessionsAction as df, type RemovedLocationSessionsActionActionOptionsOneOf as dg, type MoveToNewLocationsOptions as dh, type EnablePricingPlansForServiceRequest as di, type InvalidPricingPlan as dj, type DisablePricingPlansForServiceRequest as dk, type SetCustomSlugRequest as dl, type ValidateSlugRequest as dm, type CloneServiceRequest as dn, type CategoryNotification as dp, type Category as dq, type Empty as dr, type BenefitNotification as ds, type Benefit as dt, type EntryPass as du, type Discount as dv, type DiscountDiscountOneOf as dw, type Behavior as dx, type BehaviorBehaviorOneOf as dy, type UserDomainInfoChangedEvent as dz, type ListAddOnGroupsByServiceIdResponse as e, type LocationTypeWithLiterals as e0, type WebhookIdentityTypeWithLiterals as e1, type V2RequestedFieldsWithLiterals as e2, type SortOrderWithLiterals as e3, type SortTypeWithLiterals as e4, type SortDirectionWithLiterals as e5, type MissingValuesWithLiterals as e6, type ScalarTypeWithLiterals as e7, type NestedAggregationTypeWithLiterals as e8, type IntervalWithLiterals as e9, bulkUpdateServices as eA, bulkUpdateServicesByFilter as eB, deleteService as eC, bulkDeleteServices as eD, bulkDeleteServicesByFilter as eE, queryServices as eF, type CommonSearchWithEntityContext as eG, queryPolicies as eH, queryBookingForms as eI, countServices as eJ, queryLocations as eK, queryCategories as eL, setServiceLocations as eM, enablePricingPlansForService as eN, disablePricingPlansForService as eO, setCustomSlug as eP, validateSlug as eQ, cloneService as eR, type AggregationTypeWithLiterals as ea, type ModeWithLiterals as eb, type RequestedFieldsWithLiterals as ec, type ActionWithLiterals as ed, type InvalidSlugErrorWithLiterals as ee, type CloneErrorsWithLiterals as ef, type StatusWithLiterals as eg, type CategoryNotificationEventWithLiterals as eh, type BenefitTypeWithLiterals as ei, type EventWithLiterals as ej, type CrudTypeWithLiterals as ek, type PlacementTypeWithLiterals as el, type DayOfWeekWithLiterals as em, type ResolutionMethodWithLiterals as en, onServiceCreated as eo, onServiceDeleted as ep, onServiceUpdated as eq, createAddOnGroup as er, deleteAddOnGroup as es, updateAddOnGroup as et, listAddOnGroupsByServiceId as eu, setAddOnsForGroup as ev, createService as ew, bulkCreateServices as ex, getService as ey, updateService 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 };