@wix/auto_sdk_bookings_services 1.0.72 → 1.0.74

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-DYRSxPXw.d.ts → bookings-services-v2-service-services.universal-D6jEh8MN.d.ts} +332 -169
  2. package/build/cjs/index.d.ts +70 -3
  3. package/build/cjs/index.js +469 -0
  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 +415 -0
  7. package/build/cjs/index.typings.js.map +1 -1
  8. package/build/cjs/meta.d.ts +204 -3
  9. package/build/cjs/meta.js +345 -0
  10. package/build/cjs/meta.js.map +1 -1
  11. package/build/es/{bookings-services-v2-service-services.universal-DYRSxPXw.d.mts → bookings-services-v2-service-services.universal-D6jEh8MN.d.mts} +332 -169
  12. package/build/es/index.d.mts +70 -3
  13. package/build/es/index.mjs +463 -0
  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 +409 -0
  17. package/build/es/index.typings.mjs.map +1 -1
  18. package/build/es/meta.d.mts +204 -3
  19. package/build/es/meta.mjs +339 -0
  20. package/build/es/meta.mjs.map +1 -1
  21. package/build/internal/cjs/{bookings-services-v2-service-services.universal-DYRSxPXw.d.ts → bookings-services-v2-service-services.universal-D6jEh8MN.d.ts} +332 -169
  22. package/build/internal/cjs/index.d.ts +70 -3
  23. package/build/internal/cjs/index.js +469 -0
  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 +415 -0
  27. package/build/internal/cjs/index.typings.js.map +1 -1
  28. package/build/internal/cjs/meta.d.ts +204 -3
  29. package/build/internal/cjs/meta.js +345 -0
  30. package/build/internal/cjs/meta.js.map +1 -1
  31. package/build/internal/es/{bookings-services-v2-service-services.universal-DYRSxPXw.d.mts → bookings-services-v2-service-services.universal-D6jEh8MN.d.mts} +332 -169
  32. package/build/internal/es/index.d.mts +70 -3
  33. package/build/internal/es/index.mjs +463 -0
  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 +409 -0
  37. package/build/internal/es/index.typings.mjs.map +1 -1
  38. package/build/internal/es/meta.d.mts +204 -3
  39. package/build/internal/es/meta.mjs +339 -0
  40. package/build/internal/es/meta.mjs.map +1 -1
  41. package/package.json +3 -2
@@ -43,7 +43,7 @@ interface Service {
43
43
  defaultCapacity?: number | null;
44
44
  /** Media associated with the service. */
45
45
  media?: Media;
46
- /** Whether the service is hidden from the site. */
46
+ /** Whether the service is hidden from Wix Bookings pages and widgets. */
47
47
  hidden?: boolean | null;
48
48
  /**
49
49
  * _Category_
@@ -1338,172 +1338,6 @@ 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
- }
1473
- interface ValidateAddOnsSelectionRequest {
1474
- /**
1475
- * The service ID to validate AddOns against.
1476
- * @format GUID
1477
- */
1478
- serviceId?: string | null;
1479
- /**
1480
- * The group ID to validate AddOns against.
1481
- * @format GUID
1482
- */
1483
- groupId?: string | null;
1484
- /**
1485
- * The IDs of AddOns to validate.
1486
- * @format GUID
1487
- * @minSize 1
1488
- * @maxSize 7
1489
- */
1490
- addOnIds?: string[] | null;
1491
- }
1492
- interface ValidateAddOnsSelectionResponse {
1493
- /** The validation result. */
1494
- result?: ValidationResult;
1495
- }
1496
- interface ValidationResult {
1497
- /** Whether the AddOns selection is valid. */
1498
- valid?: boolean | null;
1499
- /**
1500
- * A validation error message.
1501
- * This field should populated when `valid` is `false`.
1502
- * @minLength 1
1503
- * @maxLength 300
1504
- */
1505
- message?: string | null;
1506
- }
1507
1341
  interface CreateServiceRequest {
1508
1342
  /** Service to create. */
1509
1343
  service: Service;
@@ -3412,6 +3246,172 @@ interface SiteCloned {
3412
3246
  /** Origin site id. */
3413
3247
  originMetaSiteId?: string;
3414
3248
  }
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
+ interface ValidateAddOnsSelectionRequest {
3382
+ /**
3383
+ * The service ID to validate AddOns against.
3384
+ * @format GUID
3385
+ */
3386
+ serviceId: string | null;
3387
+ /**
3388
+ * The group ID to validate AddOns against.
3389
+ * @format GUID
3390
+ */
3391
+ groupId: string | null;
3392
+ /**
3393
+ * The IDs of AddOns to validate.
3394
+ * @format GUID
3395
+ * @minSize 1
3396
+ * @maxSize 7
3397
+ */
3398
+ addOnIds: string[] | null;
3399
+ }
3400
+ interface ValidateAddOnsSelectionResponse {
3401
+ /** The validation result. */
3402
+ result?: ValidationResult;
3403
+ }
3404
+ interface ValidationResult {
3405
+ /** Whether the AddOns selection is valid. */
3406
+ valid?: boolean | null;
3407
+ /**
3408
+ * A validation error message.
3409
+ * This field should populated when `valid` is `false`.
3410
+ * @minLength 1
3411
+ * @maxLength 300
3412
+ */
3413
+ message?: string | null;
3414
+ }
3415
3415
  type CreateServiceValidationErrors = {
3416
3416
  ruleName?: 'INVALID_FORM';
3417
3417
  } | {
@@ -3525,6 +3525,21 @@ type SetCustomSlugApplicationErrors = {
3525
3525
  type SetCustomSlugValidationErrors = {
3526
3526
  ruleName?: 'SLUG_CONTAINS_ILLEGAL_CHARACTERS';
3527
3527
  };
3528
+ type DeleteAddOnGroupApplicationErrors = {
3529
+ code?: 'GROUP_NOT_ON_SERVICE';
3530
+ description?: string;
3531
+ data?: Record<string, any>;
3532
+ };
3533
+ type UpdateAddOnGroupApplicationErrors = {
3534
+ code?: 'GROUP_NOT_ON_SERVICE';
3535
+ description?: string;
3536
+ data?: Record<string, any>;
3537
+ };
3538
+ type SetAddOnsForGroupApplicationErrors = {
3539
+ code?: 'ADD_ON_GROUP_NOT_FOUND';
3540
+ description?: string;
3541
+ data?: Record<string, any>;
3542
+ };
3528
3543
  interface BaseEventMetadata {
3529
3544
  /**
3530
3545
  * App instance ID.
@@ -3807,7 +3822,7 @@ interface UpdateService {
3807
3822
  defaultCapacity?: number | null;
3808
3823
  /** Media associated with the service. */
3809
3824
  media?: Media;
3810
- /** Whether the service is hidden from the site. */
3825
+ /** Whether the service is hidden from Wix Bookings pages and widgets. */
3811
3826
  hidden?: boolean | null;
3812
3827
  /**
3813
3828
  * _Category_
@@ -4804,5 +4819,153 @@ interface ValidateSlugOptions {
4804
4819
  declare function cloneService(sourceServiceId: string): Promise<NonNullablePaths<CloneServiceResponse, {
4805
4820
  [P in ServiceNonNullablePaths]: `service.${P}`;
4806
4821
  }[ServiceNonNullablePaths] | `errors`>>;
4822
+ /**
4823
+ * Create a new AddOns group.
4824
+ * An AddOns group defines a collection of AddOns that can be linked to a Service,
4825
+ * with constraints such as minimum and maximum selections.
4826
+ * @param addOnGroup - AddOnGroup to create.
4827
+ * @public
4828
+ * @documentationMaturity preview
4829
+ * @requiredField addOnGroup
4830
+ * @requiredField addOnGroup.name
4831
+ * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_CREATE
4832
+ * @applicableIdentity APP
4833
+ * @fqn wix.bookings.services.v2.AddOnGroupsService.CreateAddOnGroup
4834
+ */
4835
+ declare function createAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `name`>, options?: CreateAddOnGroupOptions): Promise<NonNullablePaths<CreateAddOnGroupResponse, `addOnGroup.addOnIds`>>;
4836
+ interface CreateAddOnGroupOptions {
4837
+ /**
4838
+ * ID of the service to create the AddOnGroup for.
4839
+ * @format GUID
4840
+ */
4841
+ serviceId?: string | null;
4842
+ }
4843
+ /**
4844
+ * Delete an existing AddOns group.
4845
+ * This will remove the group and unlink all associated AddOns.
4846
+ * @param addOnGroupId - ID of the AddOnGroup to delete.
4847
+ * @public
4848
+ * @documentationMaturity preview
4849
+ * @requiredField addOnGroupId
4850
+ * @requiredField options
4851
+ * @requiredField options.serviceId
4852
+ * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_CREATE
4853
+ * @applicableIdentity APP
4854
+ * @fqn wix.bookings.services.v2.AddOnGroupsService.DeleteAddOnGroup
4855
+ */
4856
+ declare function deleteAddOnGroup(addOnGroupId: string, options: NonNullablePaths<DeleteAddOnGroupOptions, `serviceId`>): Promise<void & {
4857
+ __applicationErrorsType?: DeleteAddOnGroupApplicationErrors;
4858
+ }>;
4859
+ interface DeleteAddOnGroupOptions {
4860
+ /**
4861
+ * ID of the service from which to delete the AddOnGroup.
4862
+ * @format GUID
4863
+ */
4864
+ serviceId: string | null;
4865
+ }
4866
+ /**
4867
+ * Update an existing AddOns group.
4868
+ * This allows modifying group settings such as its name, prompt, constraints, or associated AddOns.
4869
+ * @param addOnGroup - AddOnGroup to update.
4870
+ * @public
4871
+ * @documentationMaturity preview
4872
+ * @requiredField addOnGroup
4873
+ * @requiredField addOnGroup._id
4874
+ * @requiredField options
4875
+ * @requiredField options.serviceId
4876
+ * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_UPDATE
4877
+ * @applicableIdentity APP
4878
+ * @fqn wix.bookings.services.v2.AddOnGroupsService.UpdateAddOnGroup
4879
+ */
4880
+ declare function updateAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `_id`>, options: NonNullablePaths<UpdateAddOnGroupOptions, `serviceId`>): Promise<NonNullablePaths<UpdateAddOnGroupResponse, `addOnGroup.addOnIds`> & {
4881
+ __applicationErrorsType?: UpdateAddOnGroupApplicationErrors;
4882
+ }>;
4883
+ interface UpdateAddOnGroupOptions {
4884
+ /**
4885
+ * ID of the service that contains the AddOnGroup.
4886
+ * @format GUID
4887
+ */
4888
+ serviceId: string | null;
4889
+ }
4890
+ /**
4891
+ * Retrieves a list of AddOnGroups including enriched AddOn details in the correct order.
4892
+ * If the group_id is specified, only the AddOns for the specified group will be returned,
4893
+ * otherwise all groups will be returned.
4894
+ * @param serviceId - ID of the service to retrieve AddOnGroups for.
4895
+ * @public
4896
+ * @documentationMaturity preview
4897
+ * @requiredField serviceId
4898
+ * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_LIST
4899
+ * @applicableIdentity APP
4900
+ * @applicableIdentity VISITOR
4901
+ * @fqn wix.bookings.services.v2.AddOnGroupsService.ListAddOnGroupsByServiceId
4902
+ */
4903
+ declare function listAddOnGroupsByServiceId(serviceId: string, options?: ListAddOnGroupsByServiceIdOptions): Promise<NonNullablePaths<ListAddOnGroupsByServiceIdResponse, `addOnGroupsDetails`>>;
4904
+ interface ListAddOnGroupsByServiceIdOptions {
4905
+ /**
4906
+ * List of group ids to return. If not provided, all groups are returned.
4907
+ * @format GUID
4908
+ * @maxSize 3
4909
+ */
4910
+ groupIds?: string[] | null;
4911
+ }
4912
+ /**
4913
+ * Sets the AddOns for a specific group.
4914
+ * The order of the AddOns in the list will be used to determine their display order.
4915
+ * @param serviceId - The service ID to set AddOns for.
4916
+ * @public
4917
+ * @documentationMaturity preview
4918
+ * @requiredField options
4919
+ * @requiredField options.addOnIds
4920
+ * @requiredField options.groupId
4921
+ * @requiredField serviceId
4922
+ * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_SET_ADD_ONS
4923
+ * @applicableIdentity APP
4924
+ * @fqn wix.bookings.services.v2.AddOnGroupsService.SetAddOnsForGroup
4925
+ */
4926
+ declare function setAddOnsForGroup(serviceId: string, options: NonNullablePaths<SetAddOnsForGroupOptions, `addOnIds` | `groupId`>): Promise<NonNullablePaths<SetAddOnsForGroupResponse, `addOnGroup.addOnIds`> & {
4927
+ __applicationErrorsType?: SetAddOnsForGroupApplicationErrors;
4928
+ }>;
4929
+ interface SetAddOnsForGroupOptions {
4930
+ /**
4931
+ * The group ID to set AddOns for.
4932
+ * @format GUID
4933
+ */
4934
+ groupId: string | null;
4935
+ /**
4936
+ * The IDs of AddOns to set.
4937
+ * @format GUID
4938
+ * @minSize 1
4939
+ * @maxSize 7
4940
+ */
4941
+ addOnIds: string[] | null;
4942
+ }
4943
+ /**
4944
+ * Validates the selection of AddOns for a given group based on the group's settings.
4945
+ * @param serviceId - The service ID to validate AddOns against.
4946
+ * @public
4947
+ * @documentationMaturity preview
4948
+ * @requiredField options
4949
+ * @requiredField options.addOnIds
4950
+ * @requiredField options.groupId
4951
+ * @requiredField serviceId
4952
+ * @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_VALIDATE
4953
+ * @fqn wix.bookings.services.v2.AddOnGroupsService.ValidateAddOnsSelection
4954
+ */
4955
+ declare function validateAddOnsSelection(serviceId: string, options: NonNullablePaths<ValidateAddOnsSelectionOptions, `addOnIds` | `groupId`>): Promise<ValidateAddOnsSelectionResponse>;
4956
+ interface ValidateAddOnsSelectionOptions {
4957
+ /**
4958
+ * The group ID to validate AddOns against.
4959
+ * @format GUID
4960
+ */
4961
+ groupId: string | null;
4962
+ /**
4963
+ * The IDs of AddOns to validate.
4964
+ * @format GUID
4965
+ * @minSize 1
4966
+ * @maxSize 7
4967
+ */
4968
+ addOnIds: string[] | null;
4969
+ }
4807
4970
 
4808
- export { SortType 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 ServiceCreatedEnvelope as O, type ServiceDeletedEnvelope as P, type QueryPoliciesResponse as Q, type ServiceUpdatedEnvelope as R, type Service as S, ServiceType as T, type UpdateService as U, type ValidateSlugOptions as V, RateType as W, LocationType as X, WebhookIdentityType as Y, V2RequestedFields as Z, SortOrder as _, type BulkCreateServicesResponse as a, type ResourceIds as a$, SortDirection as a0, MissingValues as a1, ScalarType as a2, NestedAggregationType as a3, Interval as a4, AggregationType as a5, Mode as a6, RequestedFields as a7, Action as a8, InvalidSlugError as a9, type CommonAddressStreetOneOf as aA, type StreetAddress as aB, type AddressLocation as aC, type BusinessLocationOptions as aD, type CustomLocationOptions as aE, type BookingPolicy as aF, type PolicyDescription as aG, type LimitEarlyBookingPolicy as aH, type LimitLateBookingPolicy as aI, type BookAfterStartPolicy as aJ, type CancellationPolicy as aK, type ReschedulePolicy as aL, type WaitlistPolicy as aM, type ParticipantsPolicy as aN, type ResourcesPolicy as aO, type CancellationFeePolicy as aP, type CancellationWindow as aQ, type CancellationWindowFeeOneOf as aR, type SaveCreditCardPolicy as aS, type Schedule as aT, type AvailabilityConstraints as aU, type Duration as aV, type StaffMember as aW, type StaffMediaItem as aX, type StaffMediaItemItemOneOf as aY, type StaffMemberDetails as aZ, type ResourceGroup as a_, CloneErrors as aa, Status as ab, CategoryNotificationEvent as ac, BenefitType as ad, Event as ae, CrudType as af, PlacementType as ag, DayOfWeek as ah, ResolutionMethod as ai, type Media as aj, type MediaItem as ak, type MediaItemItemOneOf as al, type V2Category as am, type Form as an, type FormSettings as ao, type Payment as ap, type PaymentRateOneOf as aq, type FixedPayment as ar, type Money as as, type CustomPayment as at, type VariedPayment as au, type PaymentOptions as av, type OnlineBooking as aw, type Conferencing as ax, type LocationOptionsOneOf as ay, type CommonAddress as az, type UpdateServiceValidationErrors as b, type BulkUpdateServicesRequest as b$, type ServiceResource as b0, type ServiceResourceSelectionOneOf as b1, type ResourceType as b2, type Slug as b3, type URLs as b4, type ExtendedFields as b5, type SeoSchema as b6, type Keyword as b7, type Tag as b8, type Settings as b9, type ListAddOnGroupsByServiceIdResponse as bA, type AddOn as bB, type AddOnAddOnInfoOneOf as bC, type AddOnGroupDetail as bD, type SetAddOnsForGroupRequest as bE, type SetAddOnsForGroupResponse as bF, type ValidateAddOnsSelectionRequest as bG, type ValidateAddOnsSelectionResponse as bH, type ValidationResult as bI, type CreateServiceRequest as bJ, type CreateServiceResponse as bK, type ValidateServiceRequest as bL, type ValidateServiceResponse as bM, type FieldViolation as bN, type BulkCreateServicesRequest as bO, type BulkServiceResult as bP, type ItemMetadata as bQ, type ApplicationError as bR, type BulkActionMetadata as bS, type GetServiceRequest as bT, type GetServiceResponse as bU, type GetServiceAvailabilityConstraintsRequest as bV, type GetServiceAvailabilityConstraintsResponse as bW, type ServiceAvailabilityConstraints as bX, type SplitInterval as bY, type UpdateServiceRequest as bZ, type UpdateServiceResponse as b_, type AddOnGroup as ba, type AddOnDetails as bb, type ReindexMessage as bc, type ReindexMessageActionOneOf as bd, type Upsert as be, type Delete as bf, type Schema as bg, type SetCustomSlugEvent as bh, type ServicesUrlsChanged as bi, type DomainEvent as bj, type DomainEventBodyOneOf as bk, type EntityCreatedEvent as bl, type RestoreInfo as bm, type EntityUpdatedEvent as bn, type EntityDeletedEvent as bo, type ActionEvent as bp, type MessageEnvelope as bq, type IdentificationData as br, type IdentificationDataIdOneOf as bs, type CreateAddOnGroupRequest as bt, type CreateAddOnGroupResponse as bu, type DeleteAddOnGroupRequest as bv, type DeleteAddOnGroupResponse as bw, type UpdateAddOnGroupRequest as bx, type UpdateAddOnGroupResponse as by, type ListAddOnGroupsByServiceIdRequest as bz, type BulkUpdateServicesOptions as c, type CountServicesRequest as c$, type MaskedService as c0, type BulkUpdateServicesByFilterRequest as c1, type DeleteServiceRequest as c2, type ParticipantNotification as c3, type DeleteServiceResponse as c4, type BulkDeleteServicesRequest as c5, type BulkDeleteServicesByFilterRequest as c6, type QueryServicesRequest as c7, type QueryV2 as c8, type QueryV2PagingMethodOneOf as c9, type ValueAggregationResult as cA, type RangeAggregationResult as cB, type NestedAggregationResults as cC, type NestedAggregationResultsResultOneOf as cD, type ValueResults as cE, type RangeResults as cF, type AggregationResultsScalarResult as cG, type NestedValueAggregationResult as cH, type ValueResult as cI, type RangeResult as cJ, type ScalarResult as cK, type NestedResultValue as cL, type NestedResultValueResultOneOf as cM, type Results as cN, type DateHistogramResult as cO, type GroupByValueResults as cP, type DateHistogramResults as cQ, type NestedResults as cR, type AggregationResults as cS, type AggregationResultsResultOneOf as cT, type QueryPoliciesRequest as cU, type CursorQueryPagingMethodOneOf as cV, type BookingPolicyWithServices as cW, type QueryBookingFormsRequest as cX, type BookingForm as cY, type FormDetails as cZ, type ConnectedService as c_, type Sorting as ca, type Paging as cb, type CursorPaging as cc, type QueryServicesResponse as cd, type PagingMetadataV2 as ce, type Cursors as cf, type SearchServicesRequest as cg, type CursorSearch as ch, type CursorSearchPagingMethodOneOf as ci, type Aggregation as cj, type AggregationKindOneOf as ck, type RangeBucket as cl, type IncludeMissingValuesOptions as cm, type ValueAggregation as cn, type ValueAggregationOptionsOneOf as co, type RangeAggregation as cp, type ScalarAggregation as cq, type DateHistogramAggregation as cr, type NestedAggregationItem as cs, type NestedAggregationItemKindOneOf as ct, type NestedAggregation as cu, type GroupByAggregation as cv, type GroupByAggregationKindOneOf as cw, type SearchDetails as cx, type CursorPagingMetadata as cy, type AggregationData as cz, type BulkUpdateServicesResponse as d, type SortTypeWithLiterals as d$, type QueryLocationsRequest as d0, type QueryLocationsFilter as d1, type BusinessLocations as d2, type CustomLocations as d3, type CustomerLocations as d4, type QueryCategoriesRequest as d5, type QueryCategoriesFilter as d6, type QueryServicesMultiLanguageRequest as d7, type QueryServicesMultiLanguageResponse as d8, type SetServiceLocationsRequest as d9, type Categories as dA, type Locale as dB, type Address as dC, type AddressHint as dD, type GeoCoordinates as dE, type BusinessSchedule as dF, type TimePeriod as dG, type SpecialHourPeriod as dH, type Multilingual as dI, type SupportedLanguage as dJ, type ConsentPolicy as dK, type Translation as dL, type ChangeContext as dM, type ChangeContextPayloadOneOf as dN, type PropertiesChange as dO, type SiteCreated as dP, type SiteCloned as dQ, type BaseEventMetadata as dR, type EventMetadata as dS, type ServicesQueryResult as dT, type ServiceSearchSpec as dU, type ServiceTypeWithLiterals as dV, type RateTypeWithLiterals as dW, type LocationTypeWithLiterals as dX, type WebhookIdentityTypeWithLiterals as dY, type V2RequestedFieldsWithLiterals as dZ, type SortOrderWithLiterals as d_, type RemovedLocationSessionsAction as da, type RemovedLocationSessionsActionActionOptionsOneOf as db, type MoveToNewLocationsOptions as dc, type EnablePricingPlansForServiceRequest as dd, type InvalidPricingPlan as de, type DisablePricingPlansForServiceRequest as df, type SetCustomSlugRequest as dg, type ValidateSlugRequest as dh, type CloneServiceRequest as di, type CategoryNotification as dj, type Category as dk, type Empty as dl, type BenefitNotification as dm, type Benefit as dn, type EntryPass as dp, type Discount as dq, type DiscountDiscountOneOf as dr, type Behavior as ds, type BehaviorBehaviorOneOf as dt, type UserDomainInfoChangedEvent as du, type HtmlSitePublished as dv, type Page as dw, type SitePropertiesNotification as dx, type SitePropertiesEvent as dy, type Properties as dz, type BulkUpdateServicesByFilterOptions as e, type SortDirectionWithLiterals as e0, type MissingValuesWithLiterals as e1, type ScalarTypeWithLiterals as e2, type NestedAggregationTypeWithLiterals as e3, type IntervalWithLiterals as e4, type AggregationTypeWithLiterals as e5, type ModeWithLiterals as e6, type RequestedFieldsWithLiterals as e7, type ActionWithLiterals as e8, type InvalidSlugErrorWithLiterals as e9, queryLocations as eA, queryCategories as eB, setServiceLocations as eC, enablePricingPlansForService as eD, disablePricingPlansForService as eE, setCustomSlug as eF, validateSlug as eG, cloneService as eH, type CloneErrorsWithLiterals as ea, type StatusWithLiterals as eb, type CategoryNotificationEventWithLiterals as ec, type BenefitTypeWithLiterals as ed, type EventWithLiterals as ee, type CrudTypeWithLiterals as ef, type PlacementTypeWithLiterals as eg, type DayOfWeekWithLiterals as eh, type ResolutionMethodWithLiterals as ei, onServiceCreated as ej, onServiceDeleted as ek, onServiceUpdated as el, createService as em, bulkCreateServices as en, getService as eo, updateService as ep, bulkUpdateServices as eq, bulkUpdateServicesByFilter as er, deleteService as es, bulkDeleteServices as et, bulkDeleteServicesByFilter as eu, queryServices as ev, type CommonSearchWithEntityContext as ew, queryPolicies as ex, queryBookingForms as ey, countServices 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 };
4971
+ 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 WaitlistPolicy as a$, type SetAddOnsForGroupOptions as a0, type SetAddOnsForGroupResponse as a1, type SetAddOnsForGroupApplicationErrors as a2, type ValidateAddOnsSelectionOptions as a3, type ValidateAddOnsSelectionResponse as a4, type ServiceCreatedEnvelope as a5, type ServiceDeletedEnvelope as a6, type ServiceUpdatedEnvelope as a7, ServiceType as a8, RateType as a9, type MediaItemItemOneOf as aA, type V2Category as aB, type Form as aC, type FormSettings as aD, type Payment as aE, type PaymentRateOneOf as aF, type FixedPayment as aG, type Money as aH, type CustomPayment as aI, type VariedPayment as aJ, type PaymentOptions as aK, type OnlineBooking as aL, type Conferencing as aM, type LocationOptionsOneOf as aN, type CommonAddress as aO, type CommonAddressStreetOneOf as aP, type StreetAddress as aQ, type AddressLocation as aR, type BusinessLocationOptions as aS, type CustomLocationOptions as aT, type BookingPolicy as aU, type PolicyDescription as aV, type LimitEarlyBookingPolicy as aW, type LimitLateBookingPolicy as aX, type BookAfterStartPolicy as aY, type CancellationPolicy as aZ, type ReschedulePolicy as a_, LocationType as aa, WebhookIdentityType as ab, V2RequestedFields as ac, SortOrder as ad, SortType as ae, SortDirection as af, MissingValues as ag, ScalarType as ah, NestedAggregationType as ai, Interval as aj, AggregationType as ak, Mode as al, RequestedFields as am, Action as an, InvalidSlugError as ao, CloneErrors as ap, Status as aq, CategoryNotificationEvent as ar, BenefitType as as, Event as at, CrudType as au, PlacementType as av, DayOfWeek as aw, ResolutionMethod as ax, type Media as ay, type MediaItem as az, type UpdateServiceValidationErrors as b, type BulkUpdateServicesByFilterRequest as b$, type ParticipantsPolicy as b0, type ResourcesPolicy as b1, type CancellationFeePolicy as b2, type CancellationWindow as b3, type CancellationWindowFeeOneOf as b4, type SaveCreditCardPolicy as b5, type Schedule as b6, type AvailabilityConstraints as b7, type Duration as b8, type StaffMember as b9, type RestoreInfo as bA, type EntityUpdatedEvent as bB, type EntityDeletedEvent as bC, type ActionEvent as bD, type MessageEnvelope as bE, type IdentificationData as bF, type IdentificationDataIdOneOf as bG, type CreateServiceRequest as bH, type CreateServiceResponse as bI, type ValidateServiceRequest as bJ, type ValidateServiceResponse as bK, type FieldViolation as bL, type BulkCreateServicesRequest as bM, type BulkServiceResult as bN, type ItemMetadata as bO, type ApplicationError as bP, type BulkActionMetadata as bQ, type GetServiceRequest as bR, type GetServiceResponse as bS, type GetServiceAvailabilityConstraintsRequest as bT, type GetServiceAvailabilityConstraintsResponse as bU, type ServiceAvailabilityConstraints as bV, type SplitInterval as bW, type UpdateServiceRequest as bX, type UpdateServiceResponse as bY, type BulkUpdateServicesRequest as bZ, type MaskedService as b_, type StaffMediaItem as ba, type StaffMediaItemItemOneOf as bb, type StaffMemberDetails as bc, type ResourceGroup as bd, type ResourceIds as be, type ServiceResource as bf, type ServiceResourceSelectionOneOf as bg, type ResourceType as bh, type Slug as bi, type URLs as bj, type ExtendedFields as bk, type SeoSchema as bl, type Keyword as bm, type Tag as bn, type Settings as bo, type AddOnDetails as bp, type ReindexMessage as bq, type ReindexMessageActionOneOf as br, type Upsert as bs, type Delete as bt, type Schema as bu, type SetCustomSlugEvent as bv, type ServicesUrlsChanged as bw, type DomainEvent as bx, type DomainEventBodyOneOf as by, type EntityCreatedEvent as bz, type BulkUpdateServicesOptions as c, type QueryLocationsFilter as c$, type DeleteServiceRequest as c0, type ParticipantNotification as c1, type DeleteServiceResponse as c2, type BulkDeleteServicesRequest as c3, type BulkDeleteServicesByFilterRequest as c4, type QueryServicesRequest as c5, type QueryV2 as c6, type QueryV2PagingMethodOneOf as c7, type Sorting as c8, type Paging as c9, type NestedAggregationResults as cA, type NestedAggregationResultsResultOneOf as cB, type ValueResults as cC, type RangeResults as cD, type AggregationResultsScalarResult as cE, type NestedValueAggregationResult as cF, type ValueResult as cG, type RangeResult as cH, type ScalarResult as cI, type NestedResultValue as cJ, type NestedResultValueResultOneOf as cK, type Results as cL, type DateHistogramResult as cM, type GroupByValueResults as cN, type DateHistogramResults as cO, type NestedResults as cP, type AggregationResults as cQ, type AggregationResultsResultOneOf as cR, type QueryPoliciesRequest as cS, type CursorQueryPagingMethodOneOf as cT, type BookingPolicyWithServices as cU, type QueryBookingFormsRequest as cV, type BookingForm as cW, type FormDetails as cX, type ConnectedService as cY, type CountServicesRequest as cZ, type QueryLocationsRequest as c_, type CursorPaging as ca, type QueryServicesResponse as cb, type PagingMetadataV2 as cc, type Cursors as cd, type SearchServicesRequest as ce, type CursorSearch as cf, type CursorSearchPagingMethodOneOf as cg, type Aggregation as ch, type AggregationKindOneOf as ci, type RangeBucket as cj, type IncludeMissingValuesOptions as ck, type ValueAggregation as cl, type ValueAggregationOptionsOneOf as cm, type RangeAggregation as cn, type ScalarAggregation as co, type DateHistogramAggregation as cp, type NestedAggregationItem as cq, type NestedAggregationItemKindOneOf as cr, type NestedAggregation as cs, type GroupByAggregation as ct, type GroupByAggregationKindOneOf as cu, type SearchDetails as cv, type CursorPagingMetadata as cw, type AggregationData as cx, type ValueAggregationResult as cy, type RangeAggregationResult as cz, type BulkUpdateServicesResponse as d, type EventMetadata as d$, type BusinessLocations as d0, type CustomLocations as d1, type CustomerLocations as d2, type QueryCategoriesRequest as d3, type QueryCategoriesFilter as d4, type QueryServicesMultiLanguageRequest as d5, type QueryServicesMultiLanguageResponse as d6, type SetServiceLocationsRequest as d7, type RemovedLocationSessionsAction as d8, type RemovedLocationSessionsActionActionOptionsOneOf as d9, type Address as dA, type AddressHint as dB, type GeoCoordinates as dC, type BusinessSchedule as dD, type TimePeriod as dE, type SpecialHourPeriod as dF, type Multilingual as dG, type SupportedLanguage as dH, type ConsentPolicy as dI, type Translation as dJ, type ChangeContext as dK, type ChangeContextPayloadOneOf as dL, type PropertiesChange as dM, type SiteCreated as dN, type SiteCloned as dO, type CreateAddOnGroupRequest as dP, type DeleteAddOnGroupRequest as dQ, type DeleteAddOnGroupResponse as dR, type UpdateAddOnGroupRequest as dS, type ListAddOnGroupsByServiceIdRequest as dT, type AddOn as dU, type AddOnAddOnInfoOneOf as dV, type AddOnGroupDetail as dW, type SetAddOnsForGroupRequest as dX, type ValidateAddOnsSelectionRequest as dY, type ValidationResult as dZ, type BaseEventMetadata as d_, type MoveToNewLocationsOptions as da, type EnablePricingPlansForServiceRequest as db, type InvalidPricingPlan as dc, type DisablePricingPlansForServiceRequest as dd, type SetCustomSlugRequest as de, type ValidateSlugRequest as df, type CloneServiceRequest as dg, type CategoryNotification as dh, type Category as di, type Empty as dj, type BenefitNotification as dk, type Benefit as dl, type EntryPass as dm, type Discount as dn, type DiscountDiscountOneOf as dp, type Behavior as dq, type BehaviorBehaviorOneOf as dr, type UserDomainInfoChangedEvent as ds, type HtmlSitePublished as dt, type Page as du, type SitePropertiesNotification as dv, type SitePropertiesEvent as dw, type Properties as dx, type Categories as dy, type Locale as dz, type BulkUpdateServicesByFilterOptions as e, type ServicesQueryResult as e0, type ServiceSearchSpec as e1, type ServiceTypeWithLiterals as e2, type RateTypeWithLiterals as e3, type LocationTypeWithLiterals as e4, type WebhookIdentityTypeWithLiterals as e5, type V2RequestedFieldsWithLiterals as e6, type SortOrderWithLiterals as e7, type SortTypeWithLiterals as e8, type SortDirectionWithLiterals as e9, bulkUpdateServicesByFilter as eA, deleteService as eB, bulkDeleteServices as eC, bulkDeleteServicesByFilter as eD, queryServices as eE, type CommonSearchWithEntityContext as eF, queryPolicies as eG, queryBookingForms as eH, countServices as eI, queryLocations as eJ, queryCategories as eK, setServiceLocations as eL, enablePricingPlansForService as eM, disablePricingPlansForService as eN, setCustomSlug as eO, validateSlug as eP, cloneService as eQ, createAddOnGroup as eR, deleteAddOnGroup as eS, updateAddOnGroup as eT, listAddOnGroupsByServiceId as eU, setAddOnsForGroup as eV, validateAddOnsSelection as eW, type MissingValuesWithLiterals as ea, type ScalarTypeWithLiterals as eb, type NestedAggregationTypeWithLiterals as ec, type IntervalWithLiterals as ed, type AggregationTypeWithLiterals as ee, type ModeWithLiterals as ef, type RequestedFieldsWithLiterals as eg, type ActionWithLiterals as eh, type InvalidSlugErrorWithLiterals as ei, type CloneErrorsWithLiterals as ej, type StatusWithLiterals as ek, type CategoryNotificationEventWithLiterals as el, type BenefitTypeWithLiterals as em, type EventWithLiterals as en, type CrudTypeWithLiterals as eo, type PlacementTypeWithLiterals as ep, type DayOfWeekWithLiterals as eq, type ResolutionMethodWithLiterals as er, onServiceCreated as es, onServiceDeleted as et, onServiceUpdated as eu, createService as ev, bulkCreateServices as ew, getService as ex, updateService as ey, bulkUpdateServices 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 };