@wix/auto_sdk_bookings_services 1.0.72 → 1.0.73

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-B_To7DFS.d.ts} +176 -13
  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 +203 -2
  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-B_To7DFS.d.mts} +176 -13
  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 +203 -2
  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-B_To7DFS.d.ts} +176 -13
  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 +203 -2
  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-B_To7DFS.d.mts} +176 -13
  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 +203 -2
  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
@@ -53,11 +53,14 @@ __export(index_exports, {
53
53
  bulkUpdateServicesByFilter: () => bulkUpdateServicesByFilter4,
54
54
  cloneService: () => cloneService4,
55
55
  countServices: () => countServices4,
56
+ createAddOnGroup: () => createAddOnGroup4,
56
57
  createService: () => createService4,
58
+ deleteAddOnGroup: () => deleteAddOnGroup4,
57
59
  deleteService: () => deleteService4,
58
60
  disablePricingPlansForService: () => disablePricingPlansForService4,
59
61
  enablePricingPlansForService: () => enablePricingPlansForService4,
60
62
  getService: () => getService4,
63
+ listAddOnGroupsByServiceId: () => listAddOnGroupsByServiceId4,
61
64
  onServiceCreated: () => onServiceCreated2,
62
65
  onServiceDeleted: () => onServiceDeleted2,
63
66
  onServiceUpdated: () => onServiceUpdated2,
@@ -67,9 +70,12 @@ __export(index_exports, {
67
70
  queryPolicies: () => queryPolicies4,
68
71
  queryServices: () => queryServices4,
69
72
  searchServices: () => searchServices4,
73
+ setAddOnsForGroup: () => setAddOnsForGroup4,
70
74
  setCustomSlug: () => setCustomSlug4,
71
75
  setServiceLocations: () => setServiceLocations4,
76
+ updateAddOnGroup: () => updateAddOnGroup4,
72
77
  updateService: () => updateService4,
78
+ validateAddOnsSelection: () => validateAddOnsSelection4,
73
79
  validateSlug: () => validateSlug4
74
80
  });
75
81
  module.exports = __toCommonJS(index_exports);
@@ -208,7 +214,232 @@ function resolveWixBookingsServicesV2ServicesServiceUrl(opts) {
208
214
  };
209
215
  return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
210
216
  }
217
+ function resolveWixBookingsServicesV2AddOnGroupsServiceUrl(opts) {
218
+ const domainToMappings = {
219
+ "*.dev.wix-code.com": [
220
+ {
221
+ srcPath: "/_api/services-2",
222
+ destPath: ""
223
+ },
224
+ {
225
+ srcPath: "/_api/bookings/v2/services",
226
+ destPath: "/v2/services"
227
+ }
228
+ ],
229
+ "www.wixapis.com": [
230
+ {
231
+ srcPath: "/_api/bookings/v2/services",
232
+ destPath: "/v2/services"
233
+ },
234
+ {
235
+ srcPath: "/bookings/v2/services",
236
+ destPath: "/v2/services"
237
+ },
238
+ {
239
+ srcPath: "/bookings/v2/bulk/services",
240
+ destPath: "/v2/bulk/services"
241
+ }
242
+ ],
243
+ "manage._base_domain_": [
244
+ {
245
+ srcPath: "/_api/bookings/v2/services",
246
+ destPath: "/v2/services"
247
+ },
248
+ {
249
+ srcPath: "/_api/bookings/v2/bulk/services",
250
+ destPath: "/v2/bulk/services"
251
+ }
252
+ ],
253
+ "editor._base_domain_": [
254
+ {
255
+ srcPath: "/_api/bookings/v2/services",
256
+ destPath: "/v2/services"
257
+ },
258
+ {
259
+ srcPath: "/_api/bookings/v2/bulk/services",
260
+ destPath: "/v2/bulk/services"
261
+ }
262
+ ],
263
+ "blocks._base_domain_": [
264
+ {
265
+ srcPath: "/_api/bookings/v2/services",
266
+ destPath: "/v2/services"
267
+ },
268
+ {
269
+ srcPath: "/_api/bookings/v2/bulk/services",
270
+ destPath: "/v2/bulk/services"
271
+ }
272
+ ],
273
+ "create.editorx": [
274
+ {
275
+ srcPath: "/_api/bookings/v2/services",
276
+ destPath: "/v2/services"
277
+ },
278
+ {
279
+ srcPath: "/_api/bookings/v2/bulk/services",
280
+ destPath: "/v2/bulk/services"
281
+ }
282
+ ],
283
+ _: [
284
+ {
285
+ srcPath: "/_api/bookings/v2/services",
286
+ destPath: "/v2/services"
287
+ }
288
+ ],
289
+ "www._base_domain_": [
290
+ {
291
+ srcPath: "/_api/bookings/v2/services",
292
+ destPath: "/v2/services"
293
+ }
294
+ ],
295
+ "bo._base_domain_": [
296
+ {
297
+ srcPath: "/_api/bookings/v2/services",
298
+ destPath: "/v2/services"
299
+ }
300
+ ],
301
+ "wixbo.ai": [
302
+ {
303
+ srcPath: "/_api/bookings/v2/services",
304
+ destPath: "/v2/services"
305
+ }
306
+ ],
307
+ "wix-bo.com": [
308
+ {
309
+ srcPath: "/_api/bookings/v2/services",
310
+ destPath: "/v2/services"
311
+ }
312
+ ],
313
+ "editor.wixapps.net": [
314
+ {
315
+ srcPath: "/_api/bookings/v2/services",
316
+ destPath: "/v2/services"
317
+ }
318
+ ],
319
+ "api._api_base_domain_": [
320
+ {
321
+ srcPath: "/services-2",
322
+ destPath: ""
323
+ }
324
+ ]
325
+ };
326
+ return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
327
+ }
211
328
  var PACKAGE_NAME = "@wix/auto_sdk_bookings_services";
329
+ function createAddOnGroup(payload) {
330
+ function __createAddOnGroup({ host }) {
331
+ const metadata = {
332
+ entityFqdn: "wix.bookings.services.v2.service",
333
+ method: "POST",
334
+ methodFqn: "wix.bookings.services.v2.AddOnGroupsService.CreateAddOnGroup",
335
+ packageName: PACKAGE_NAME,
336
+ url: resolveWixBookingsServicesV2AddOnGroupsServiceUrl({
337
+ protoPath: "/v2/services/add-on-groups/create",
338
+ data: payload,
339
+ host
340
+ }),
341
+ data: payload
342
+ };
343
+ return metadata;
344
+ }
345
+ return __createAddOnGroup;
346
+ }
347
+ function deleteAddOnGroup(payload) {
348
+ function __deleteAddOnGroup({ host }) {
349
+ const metadata = {
350
+ entityFqdn: "wix.bookings.services.v2.service",
351
+ method: "POST",
352
+ methodFqn: "wix.bookings.services.v2.AddOnGroupsService.DeleteAddOnGroup",
353
+ packageName: PACKAGE_NAME,
354
+ url: resolveWixBookingsServicesV2AddOnGroupsServiceUrl({
355
+ protoPath: "/v2/services/add-on-groups/delete",
356
+ data: payload,
357
+ host
358
+ }),
359
+ data: payload
360
+ };
361
+ return metadata;
362
+ }
363
+ return __deleteAddOnGroup;
364
+ }
365
+ function updateAddOnGroup(payload) {
366
+ function __updateAddOnGroup({ host }) {
367
+ const serializedData = (0, import_transform_paths.transformPaths)(payload, [
368
+ {
369
+ transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
370
+ paths: [{ path: "mask" }]
371
+ }
372
+ ]);
373
+ const metadata = {
374
+ entityFqdn: "wix.bookings.services.v2.service",
375
+ method: "POST",
376
+ methodFqn: "wix.bookings.services.v2.AddOnGroupsService.UpdateAddOnGroup",
377
+ packageName: PACKAGE_NAME,
378
+ url: resolveWixBookingsServicesV2AddOnGroupsServiceUrl({
379
+ protoPath: "/v2/services/add-on-groups/update",
380
+ data: serializedData,
381
+ host
382
+ }),
383
+ data: serializedData
384
+ };
385
+ return metadata;
386
+ }
387
+ return __updateAddOnGroup;
388
+ }
389
+ function listAddOnGroupsByServiceId(payload) {
390
+ function __listAddOnGroupsByServiceId({ host }) {
391
+ const metadata = {
392
+ entityFqdn: "wix.bookings.services.v2.service",
393
+ method: "POST",
394
+ methodFqn: "wix.bookings.services.v2.AddOnGroupsService.ListAddOnGroupsByServiceId",
395
+ packageName: PACKAGE_NAME,
396
+ url: resolveWixBookingsServicesV2AddOnGroupsServiceUrl({
397
+ protoPath: "/v2/services/add-on-groups/list-add-on-groups-by-service-id",
398
+ data: payload,
399
+ host
400
+ }),
401
+ data: payload
402
+ };
403
+ return metadata;
404
+ }
405
+ return __listAddOnGroupsByServiceId;
406
+ }
407
+ function setAddOnsForGroup(payload) {
408
+ function __setAddOnsForGroup({ host }) {
409
+ const metadata = {
410
+ entityFqdn: "wix.bookings.services.v2.service",
411
+ method: "POST",
412
+ methodFqn: "wix.bookings.services.v2.AddOnGroupsService.SetAddOnsForGroup",
413
+ packageName: PACKAGE_NAME,
414
+ url: resolveWixBookingsServicesV2AddOnGroupsServiceUrl({
415
+ protoPath: "/v2/services/add-on-groups/set-add-ons-for-group",
416
+ data: payload,
417
+ host
418
+ }),
419
+ data: payload
420
+ };
421
+ return metadata;
422
+ }
423
+ return __setAddOnsForGroup;
424
+ }
425
+ function validateAddOnsSelection(payload) {
426
+ function __validateAddOnsSelection({ host }) {
427
+ const metadata = {
428
+ entityFqdn: "wix.bookings.services.v2.service",
429
+ method: "POST",
430
+ methodFqn: "wix.bookings.services.v2.AddOnGroupsService.ValidateAddOnsSelection",
431
+ packageName: PACKAGE_NAME,
432
+ url: resolveWixBookingsServicesV2AddOnGroupsServiceUrl({
433
+ protoPath: "/v2/services/add-on-groups/validate-add-ons-selection",
434
+ data: payload,
435
+ host
436
+ }),
437
+ data: payload
438
+ };
439
+ return metadata;
440
+ }
441
+ return __validateAddOnsSelection;
442
+ }
212
443
  function createService(payload) {
213
444
  function __createService({ host }) {
214
445
  const serializedData = (0, import_transform_paths.transformPaths)(payload, [
@@ -1672,6 +1903,184 @@ var ResolutionMethod = /* @__PURE__ */ ((ResolutionMethod2) => {
1672
1903
  ResolutionMethod2["SUBDIRECTORY"] = "SUBDIRECTORY";
1673
1904
  return ResolutionMethod2;
1674
1905
  })(ResolutionMethod || {});
1906
+ async function createAddOnGroup2(addOnGroup, options) {
1907
+ const { httpClient, sideEffects } = arguments[2];
1908
+ const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
1909
+ addOnGroup,
1910
+ serviceId: options?.serviceId
1911
+ });
1912
+ const reqOpts = createAddOnGroup(payload);
1913
+ sideEffects?.onSiteCall?.();
1914
+ try {
1915
+ const result = await httpClient.request(reqOpts);
1916
+ sideEffects?.onSuccess?.(result);
1917
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
1918
+ } catch (err) {
1919
+ const transformedError = (0, import_transform_error.transformError)(
1920
+ err,
1921
+ {
1922
+ spreadPathsToArguments: {},
1923
+ explicitPathsToArguments: {
1924
+ addOnGroup: "$[0]",
1925
+ serviceId: "$[1].serviceId"
1926
+ },
1927
+ singleArgumentUnchanged: false
1928
+ },
1929
+ ["addOnGroup", "options"]
1930
+ );
1931
+ sideEffects?.onError?.(err);
1932
+ throw transformedError;
1933
+ }
1934
+ }
1935
+ async function deleteAddOnGroup2(addOnGroupId, options) {
1936
+ const { httpClient, sideEffects } = arguments[2];
1937
+ const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
1938
+ addOnGroupId,
1939
+ serviceId: options?.serviceId
1940
+ });
1941
+ const reqOpts = deleteAddOnGroup(payload);
1942
+ sideEffects?.onSiteCall?.();
1943
+ try {
1944
+ const result = await httpClient.request(reqOpts);
1945
+ sideEffects?.onSuccess?.(result);
1946
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
1947
+ } catch (err) {
1948
+ const transformedError = (0, import_transform_error.transformError)(
1949
+ err,
1950
+ {
1951
+ spreadPathsToArguments: {},
1952
+ explicitPathsToArguments: {
1953
+ addOnGroupId: "$[0]",
1954
+ serviceId: "$[1].serviceId"
1955
+ },
1956
+ singleArgumentUnchanged: false
1957
+ },
1958
+ ["addOnGroupId", "options"]
1959
+ );
1960
+ sideEffects?.onError?.(err);
1961
+ throw transformedError;
1962
+ }
1963
+ }
1964
+ async function updateAddOnGroup2(addOnGroup, options) {
1965
+ const { httpClient, sideEffects } = arguments[2];
1966
+ const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
1967
+ addOnGroup,
1968
+ serviceId: options?.serviceId
1969
+ });
1970
+ const reqOpts = updateAddOnGroup(payload);
1971
+ sideEffects?.onSiteCall?.();
1972
+ try {
1973
+ const result = await httpClient.request(reqOpts);
1974
+ sideEffects?.onSuccess?.(result);
1975
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
1976
+ } catch (err) {
1977
+ const transformedError = (0, import_transform_error.transformError)(
1978
+ err,
1979
+ {
1980
+ spreadPathsToArguments: {},
1981
+ explicitPathsToArguments: {
1982
+ addOnGroup: "$[0]",
1983
+ serviceId: "$[1].serviceId"
1984
+ },
1985
+ singleArgumentUnchanged: false
1986
+ },
1987
+ ["addOnGroup", "options"]
1988
+ );
1989
+ sideEffects?.onError?.(err);
1990
+ throw transformedError;
1991
+ }
1992
+ }
1993
+ async function listAddOnGroupsByServiceId2(serviceId, options) {
1994
+ const { httpClient, sideEffects } = arguments[2];
1995
+ const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
1996
+ serviceId,
1997
+ groupIds: options?.groupIds
1998
+ });
1999
+ const reqOpts = listAddOnGroupsByServiceId(payload);
2000
+ sideEffects?.onSiteCall?.();
2001
+ try {
2002
+ const result = await httpClient.request(reqOpts);
2003
+ sideEffects?.onSuccess?.(result);
2004
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
2005
+ } catch (err) {
2006
+ const transformedError = (0, import_transform_error.transformError)(
2007
+ err,
2008
+ {
2009
+ spreadPathsToArguments: {},
2010
+ explicitPathsToArguments: {
2011
+ serviceId: "$[0]",
2012
+ groupIds: "$[1].groupIds"
2013
+ },
2014
+ singleArgumentUnchanged: false
2015
+ },
2016
+ ["serviceId", "options"]
2017
+ );
2018
+ sideEffects?.onError?.(err);
2019
+ throw transformedError;
2020
+ }
2021
+ }
2022
+ async function setAddOnsForGroup2(serviceId, options) {
2023
+ const { httpClient, sideEffects } = arguments[2];
2024
+ const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
2025
+ serviceId,
2026
+ groupId: options?.groupId,
2027
+ addOnIds: options?.addOnIds
2028
+ });
2029
+ const reqOpts = setAddOnsForGroup(payload);
2030
+ sideEffects?.onSiteCall?.();
2031
+ try {
2032
+ const result = await httpClient.request(reqOpts);
2033
+ sideEffects?.onSuccess?.(result);
2034
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
2035
+ } catch (err) {
2036
+ const transformedError = (0, import_transform_error.transformError)(
2037
+ err,
2038
+ {
2039
+ spreadPathsToArguments: {},
2040
+ explicitPathsToArguments: {
2041
+ serviceId: "$[0]",
2042
+ groupId: "$[1].groupId",
2043
+ addOnIds: "$[1].addOnIds"
2044
+ },
2045
+ singleArgumentUnchanged: false
2046
+ },
2047
+ ["serviceId", "options"]
2048
+ );
2049
+ sideEffects?.onError?.(err);
2050
+ throw transformedError;
2051
+ }
2052
+ }
2053
+ async function validateAddOnsSelection2(serviceId, options) {
2054
+ const { httpClient, sideEffects } = arguments[2];
2055
+ const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
2056
+ serviceId,
2057
+ groupId: options?.groupId,
2058
+ addOnIds: options?.addOnIds
2059
+ });
2060
+ const reqOpts = validateAddOnsSelection(payload);
2061
+ sideEffects?.onSiteCall?.();
2062
+ try {
2063
+ const result = await httpClient.request(reqOpts);
2064
+ sideEffects?.onSuccess?.(result);
2065
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
2066
+ } catch (err) {
2067
+ const transformedError = (0, import_transform_error.transformError)(
2068
+ err,
2069
+ {
2070
+ spreadPathsToArguments: {},
2071
+ explicitPathsToArguments: {
2072
+ serviceId: "$[0]",
2073
+ groupId: "$[1].groupId",
2074
+ addOnIds: "$[1].addOnIds"
2075
+ },
2076
+ singleArgumentUnchanged: false
2077
+ },
2078
+ ["serviceId", "options"]
2079
+ );
2080
+ sideEffects?.onError?.(err);
2081
+ throw transformedError;
2082
+ }
2083
+ }
1675
2084
  async function createService2(service) {
1676
2085
  const { httpClient, sideEffects } = arguments[1];
1677
2086
  const payload = (0, import_transform_paths2.transformPaths)(
@@ -2906,6 +3315,54 @@ async function cloneService2(sourceServiceId) {
2906
3315
  }
2907
3316
 
2908
3317
  // src/bookings-services-v2-service-services.public.ts
3318
+ function createAddOnGroup3(httpClient) {
3319
+ return (addOnGroup, options) => createAddOnGroup2(
3320
+ addOnGroup,
3321
+ options,
3322
+ // @ts-ignore
3323
+ { httpClient }
3324
+ );
3325
+ }
3326
+ function deleteAddOnGroup3(httpClient) {
3327
+ return (addOnGroupId, options) => deleteAddOnGroup2(
3328
+ addOnGroupId,
3329
+ options,
3330
+ // @ts-ignore
3331
+ { httpClient }
3332
+ );
3333
+ }
3334
+ function updateAddOnGroup3(httpClient) {
3335
+ return (addOnGroup, options) => updateAddOnGroup2(
3336
+ addOnGroup,
3337
+ options,
3338
+ // @ts-ignore
3339
+ { httpClient }
3340
+ );
3341
+ }
3342
+ function listAddOnGroupsByServiceId3(httpClient) {
3343
+ return (serviceId, options) => listAddOnGroupsByServiceId2(
3344
+ serviceId,
3345
+ options,
3346
+ // @ts-ignore
3347
+ { httpClient }
3348
+ );
3349
+ }
3350
+ function setAddOnsForGroup3(httpClient) {
3351
+ return (serviceId, options) => setAddOnsForGroup2(
3352
+ serviceId,
3353
+ options,
3354
+ // @ts-ignore
3355
+ { httpClient }
3356
+ );
3357
+ }
3358
+ function validateAddOnsSelection3(httpClient) {
3359
+ return (serviceId, options) => validateAddOnsSelection2(
3360
+ serviceId,
3361
+ options,
3362
+ // @ts-ignore
3363
+ { httpClient }
3364
+ );
3365
+ }
2909
3366
  function createService3(httpClient) {
2910
3367
  return (service) => createService2(
2911
3368
  service,
@@ -3220,6 +3677,12 @@ var onServiceUpdated = (0, import_sdk_types.EventDefinition)(
3220
3677
  // src/bookings-services-v2-service-services.context.ts
3221
3678
  var import_rest_modules3 = require("@wix/sdk-runtime/rest-modules");
3222
3679
  var import_event_definition_modules = require("@wix/sdk-runtime/event-definition-modules");
3680
+ var createAddOnGroup4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(createAddOnGroup3);
3681
+ var deleteAddOnGroup4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(deleteAddOnGroup3);
3682
+ var updateAddOnGroup4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(updateAddOnGroup3);
3683
+ var listAddOnGroupsByServiceId4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(listAddOnGroupsByServiceId3);
3684
+ var setAddOnsForGroup4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(setAddOnsForGroup3);
3685
+ var validateAddOnsSelection4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(validateAddOnsSelection3);
3223
3686
  var createService4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(createService3);
3224
3687
  var bulkCreateServices4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(bulkCreateServices3);
3225
3688
  var getService4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(getService3);
@@ -3280,11 +3743,14 @@ var onServiceUpdated2 = (0, import_event_definition_modules.createEventModule)(o
3280
3743
  bulkUpdateServicesByFilter,
3281
3744
  cloneService,
3282
3745
  countServices,
3746
+ createAddOnGroup,
3283
3747
  createService,
3748
+ deleteAddOnGroup,
3284
3749
  deleteService,
3285
3750
  disablePricingPlansForService,
3286
3751
  enablePricingPlansForService,
3287
3752
  getService,
3753
+ listAddOnGroupsByServiceId,
3288
3754
  onServiceCreated,
3289
3755
  onServiceDeleted,
3290
3756
  onServiceUpdated,
@@ -3294,9 +3760,12 @@ var onServiceUpdated2 = (0, import_event_definition_modules.createEventModule)(o
3294
3760
  queryPolicies,
3295
3761
  queryServices,
3296
3762
  searchServices,
3763
+ setAddOnsForGroup,
3297
3764
  setCustomSlug,
3298
3765
  setServiceLocations,
3766
+ updateAddOnGroup,
3299
3767
  updateService,
3768
+ validateAddOnsSelection,
3300
3769
  validateSlug
3301
3770
  });
3302
3771
  //# sourceMappingURL=index.js.map