@wix/auto_sdk_bookings_services 1.0.58 → 1.0.60

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 (36) hide show
  1. package/build/{bookings-services-v2-service-services.universal-CblVMEM-.d.mts → cjs/bookings-services-v2-service-services.universal-D4FwlNie.d.ts} +1 -3
  2. package/build/{internal → cjs}/index.d.ts +4 -4
  3. package/build/{internal → cjs}/index.js +5 -9
  4. package/build/cjs/index.js.map +1 -0
  5. package/build/{internal → cjs}/meta.d.ts +1 -1
  6. package/build/{bookings-services-v2-service-services.universal-CblVMEM-.d.ts → es/bookings-services-v2-service-services.universal-D4FwlNie.d.mts} +1 -3
  7. package/build/{internal → es}/index.d.mts +4 -4
  8. package/build/{internal → es}/index.mjs +5 -9
  9. package/build/es/index.mjs.map +1 -0
  10. package/build/{internal → es}/meta.d.mts +1 -1
  11. package/build/es/package.json +3 -0
  12. package/build/internal/{bookings-services-v2-service-services.universal-CblVMEM-.d.mts → cjs/bookings-services-v2-service-services.universal-D4FwlNie.d.ts} +1 -3
  13. package/build/{index.d.ts → internal/cjs/index.d.ts} +4 -4
  14. package/build/{index.js → internal/cjs/index.js} +5 -9
  15. package/build/internal/cjs/index.js.map +1 -0
  16. package/build/{meta.d.ts → internal/cjs/meta.d.ts} +1 -1
  17. package/build/internal/cjs/meta.js.map +1 -0
  18. package/build/internal/{bookings-services-v2-service-services.universal-CblVMEM-.d.ts → es/bookings-services-v2-service-services.universal-D4FwlNie.d.mts} +1 -3
  19. package/build/{index.d.mts → internal/es/index.d.mts} +4 -4
  20. package/build/{index.mjs → internal/es/index.mjs} +5 -9
  21. package/build/internal/es/index.mjs.map +1 -0
  22. package/build/{meta.d.mts → internal/es/meta.d.mts} +1 -1
  23. package/build/internal/es/meta.mjs.map +1 -0
  24. package/package.json +10 -10
  25. package/build/index.js.map +0 -1
  26. package/build/index.mjs.map +0 -1
  27. package/build/internal/index.js.map +0 -1
  28. package/build/internal/index.mjs.map +0 -1
  29. package/build/meta.js.map +0 -1
  30. package/build/meta.mjs.map +0 -1
  31. /package/build/{internal → cjs}/meta.js +0 -0
  32. /package/build/{internal → cjs}/meta.js.map +0 -0
  33. /package/build/{internal → es}/meta.mjs +0 -0
  34. /package/build/{internal → es}/meta.mjs.map +0 -0
  35. /package/build/{meta.js → internal/cjs/meta.js} +0 -0
  36. /package/build/{meta.mjs → internal/es/meta.mjs} +0 -0
@@ -1,4 +1,4 @@
1
- import { bD as CreateServiceRequest$1, bE as CreateServiceResponse$1, bI as BulkCreateServicesRequest$1, a as BulkCreateServicesResponse$1, bN as GetServiceRequest$1, bO as GetServiceResponse$1, bT as UpdateServiceRequest$1, bU as UpdateServiceResponse$1, bV as BulkUpdateServicesRequest$1, c as BulkUpdateServicesResponse$1, bX as BulkUpdateServicesByFilterRequest$1, e as BulkUpdateServicesByFilterResponse$1, bY as DeleteServiceRequest$1, b_ as DeleteServiceResponse$1, b$ as BulkDeleteServicesRequest$1, g as BulkDeleteServicesResponse$1, c0 as BulkDeleteServicesByFilterRequest$1, i as BulkDeleteServicesByFilterResponse$1, c1 as QueryServicesRequest$1, c7 as QueryServicesResponse$1, ca as SearchServicesRequest$1, l as SearchServicesResponse$1, cO as QueryPoliciesRequest$1, m as QueryPoliciesResponse$1, cR as QueryBookingFormsRequest$1, o as QueryBookingFormsResponse$1, cV as CountServicesRequest$1, q as CountServicesResponse$1, cW as QueryLocationsRequest$1, s as QueryLocationsResponse$1, c$ as QueryCategoriesRequest$1, u as QueryCategoriesResponse$1, d3 as SetServiceLocationsRequest$1, w as SetServiceLocationsResponse$1, d7 as EnablePricingPlansForServiceRequest$1, E as EnablePricingPlansForServiceResponse$1, d9 as DisablePricingPlansForServiceRequest$1, y as DisablePricingPlansForServiceResponse$1, da as SetCustomSlugRequest$1, A as SetCustomSlugResponse$1, db as ValidateSlugRequest$1, F as ValidateSlugResponse$1, dc as CloneServiceRequest$1, G as CloneServiceResponse$1 } from './bookings-services-v2-service-services.universal-CblVMEM-.js';
1
+ import { bC as CreateServiceRequest$1, bD as CreateServiceResponse$1, bH as BulkCreateServicesRequest$1, a as BulkCreateServicesResponse$1, bM as GetServiceRequest$1, bN as GetServiceResponse$1, bS as UpdateServiceRequest$1, bT as UpdateServiceResponse$1, bU as BulkUpdateServicesRequest$1, c as BulkUpdateServicesResponse$1, bW as BulkUpdateServicesByFilterRequest$1, e as BulkUpdateServicesByFilterResponse$1, bX as DeleteServiceRequest$1, bZ as DeleteServiceResponse$1, b_ as BulkDeleteServicesRequest$1, g as BulkDeleteServicesResponse$1, b$ as BulkDeleteServicesByFilterRequest$1, i as BulkDeleteServicesByFilterResponse$1, c0 as QueryServicesRequest$1, c6 as QueryServicesResponse$1, c9 as SearchServicesRequest$1, l as SearchServicesResponse$1, cN as QueryPoliciesRequest$1, Q as QueryPoliciesResponse$1, cQ as QueryBookingFormsRequest$1, n as QueryBookingFormsResponse$1, cU as CountServicesRequest$1, p as CountServicesResponse$1, cV as QueryLocationsRequest$1, r as QueryLocationsResponse$1, c_ as QueryCategoriesRequest$1, t as QueryCategoriesResponse$1, d2 as SetServiceLocationsRequest$1, v as SetServiceLocationsResponse$1, d6 as EnablePricingPlansForServiceRequest$1, E as EnablePricingPlansForServiceResponse$1, d8 as DisablePricingPlansForServiceRequest$1, x as DisablePricingPlansForServiceResponse$1, d9 as SetCustomSlugRequest$1, z as SetCustomSlugResponse$1, da as ValidateSlugRequest$1, A as ValidateSlugResponse$1, db as CloneServiceRequest$1, F as CloneServiceResponse$1 } from './bookings-services-v2-service-services.universal-D4FwlNie.js';
2
2
  import '@wix/sdk-types';
3
3
 
4
4
  /** The `service` object represents an offering that a business provides to its customers. */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../meta.ts","../../../src/bookings-services-v2-service-services.http.ts","../../../src/bookings-services-v2-service-services.meta.ts"],"sourcesContent":["export * from './src/bookings-services-v2-service-services.meta.js';\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKFloatToRESTFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixBookingsServicesV2ServicesServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/services-2',\n destPath: '',\n },\n {\n srcPath: '/_api/bookings/v2/services',\n destPath: '/v2/services',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/_api/bookings/v2/services',\n destPath: '/v2/services',\n },\n {\n srcPath: '/bookings/v2/services',\n destPath: '/v2/services',\n },\n {\n srcPath: '/bookings/v2/bulk/services',\n destPath: '/v2/bulk/services',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/_api/bookings/v2/services',\n destPath: '/v2/services',\n },\n {\n srcPath: '/_api/bookings/v2/bulk/services',\n destPath: '/v2/bulk/services',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/_api/bookings/v2/services',\n destPath: '/v2/services',\n },\n {\n srcPath: '/_api/bookings/v2/bulk/services',\n destPath: '/v2/bulk/services',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/_api/bookings/v2/services',\n destPath: '/v2/services',\n },\n {\n srcPath: '/_api/bookings/v2/bulk/services',\n destPath: '/v2/bulk/services',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/_api/bookings/v2/services',\n destPath: '/v2/services',\n },\n {\n srcPath: '/_api/bookings/v2/bulk/services',\n destPath: '/v2/bulk/services',\n },\n ],\n _: [\n {\n srcPath: '/_api/bookings/v2/services',\n destPath: '/v2/services',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/bookings/v2/services',\n destPath: '/v2/services',\n },\n ],\n 'bo._base_domain_': [\n {\n srcPath: '/_api/bookings/v2/services',\n destPath: '/v2/services',\n },\n ],\n 'wixbo.ai': [\n {\n srcPath: '/_api/bookings/v2/services',\n destPath: '/v2/services',\n },\n ],\n 'wix-bo.com': [\n {\n srcPath: '/_api/bookings/v2/services',\n destPath: '/v2/services',\n },\n ],\n 'editor.wixapps.net': [\n {\n srcPath: '/_api/bookings/v2/services',\n destPath: '/v2/services',\n },\n ],\n 'api._api_base_domain_': [\n {\n srcPath: '/services-2',\n destPath: '',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_bookings_services';\n\n/**\n * Creates a service.\n *\n *\n * ## Required fields\n *\n * When creating a service you must specify the following fields:\n * - `type`\n * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/about-service-types) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/about-service-types)):\n * Whether it's an appointment-based service, class, or course.\n * - `name`: Service name that's displayed to customers.\n * - `onlineBooking`:\n * Settings determining whether customers can book online, whether the business\n * must manually confirm bookings, and whether customers can request to book an\n * appointment time slot that already has a booking request awaiting business\n * confirmation.\n * - `payment`\n * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/about-service-payments) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/about-service-payments)):\n * How customers can pay when signing up for the service.\n *\n * ### Session durations\n *\n * Depending on which type of service you're creating, you may also need to specify\n * supported session durations.\n *\n * __Classes and courses__\n *\n * Don't specify `schedule.availabilityConstraints.sessionDurations`.\n *\n * __Appointment-based services without varied pricing based on session length__\n *\n * Specify the single supported session duration in the\n * `schedule.availabilityConstraints.sessionDurations` array.\n *\n * __Appointment-based services with varied pricing based on session length__\n *\n * - Specify all supported session durations in `schedule.availabilityConstraints.sessionDurations`.\n * - Note that Wix Bookings doesn't display these values to customers and\n * ignores them in pricing and availability calculations. Instead session\n * durations are retrieved from the relevant service *variants*\n * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-options-and-variants/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction)).\n * - It is mandatory to specify `schedule.availabilityConstraints.sessionDurations`,\n * even though these values are ignored.\n */\nexport function createService(payload: object): RequestOptionsFactory<any> {\n function __createService({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'service.createdDate' },\n { path: 'service.updatedDate' },\n { path: 'service.media.items.image.urlExpirationDate' },\n { path: 'service.media.mainMedia.image.urlExpirationDate' },\n { path: 'service.media.coverMedia.image.urlExpirationDate' },\n { path: 'service.bookingPolicy.createdDate' },\n { path: 'service.bookingPolicy.updatedDate' },\n { path: 'service.schedule.firstSessionStart' },\n { path: 'service.schedule.lastSessionEnd' },\n { path: 'service.staffMembers.mainMedia.image.urlExpirationDate' },\n {\n path: 'service.staffMemberDetails.staffMembers.mainMedia.image.urlExpirationDate',\n },\n { path: 'service.supportedSlugs.createdDate' },\n { path: 'service.mainSlug.createdDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'service.locations.business.address.geocode.latitude' },\n { path: 'service.locations.business.address.geocode.longitude' },\n { path: 'service.locations.custom.address.geocode.latitude' },\n { path: 'service.locations.custom.address.geocode.longitude' },\n { path: 'service.locations.calculatedAddress.geocode.latitude' },\n { path: 'service.locations.calculatedAddress.geocode.longitude' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.bookings.services.v2.service',\n method: 'POST' as any,\n methodFqn: 'wix.bookings.services.v2.ServicesService.CreateService',\n packageName: PACKAGE_NAME,\n url: resolveWixBookingsServicesV2ServicesServiceUrl({\n protoPath: '/v2/services',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'service.createdDate' },\n { path: 'service.updatedDate' },\n { path: 'service.media.items.image.urlExpirationDate' },\n { path: 'service.media.mainMedia.image.urlExpirationDate' },\n { path: 'service.media.coverMedia.image.urlExpirationDate' },\n { path: 'service.bookingPolicy.createdDate' },\n { path: 'service.bookingPolicy.updatedDate' },\n { path: 'service.schedule.firstSessionStart' },\n { path: 'service.schedule.lastSessionEnd' },\n {\n path: 'service.staffMembers.mainMedia.image.urlExpirationDate',\n },\n {\n path: 'service.staffMemberDetails.staffMembers.mainMedia.image.urlExpirationDate',\n },\n { path: 'service.supportedSlugs.createdDate' },\n { path: 'service.mainSlug.createdDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'service.locations.business.address.geocode.latitude' },\n { path: 'service.locations.business.address.geocode.longitude' },\n { path: 'service.locations.custom.address.geocode.latitude' },\n { path: 'service.locations.custom.address.geocode.longitude' },\n { path: 'service.locations.calculatedAddress.geocode.latitude' },\n { path: 'service.locations.calculatedAddress.geocode.longitude' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createService;\n}\n\n/**\n * Creates multiple services.\n *\n *\n * See *Create Service*\n * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/create-service) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/create-service))\n * for more details.\n */\nexport function bulkCreateServices(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkCreateServices({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'services.createdDate' },\n { path: 'services.updatedDate' },\n { path: 'services.media.items.image.urlExpirationDate' },\n { path: 'services.media.mainMedia.image.urlExpirationDate' },\n { path: 'services.media.coverMedia.image.urlExpirationDate' },\n { path: 'services.bookingPolicy.createdDate' },\n { path: 'services.bookingPolicy.updatedDate' },\n { path: 'services.schedule.firstSessionStart' },\n { path: 'services.schedule.lastSessionEnd' },\n { path: 'services.staffMembers.mainMedia.image.urlExpirationDate' },\n {\n path: 'services.staffMemberDetails.staffMembers.mainMedia.image.urlExpirationDate',\n },\n { path: 'services.supportedSlugs.createdDate' },\n { path: 'services.mainSlug.createdDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'services.locations.business.address.geocode.latitude' },\n { path: 'services.locations.business.address.geocode.longitude' },\n { path: 'services.locations.custom.address.geocode.latitude' },\n { path: 'services.locations.custom.address.geocode.longitude' },\n { path: 'services.locations.calculatedAddress.geocode.latitude' },\n { path: 'services.locations.calculatedAddress.geocode.longitude' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.bookings.services.v2.service',\n method: 'POST' as any,\n methodFqn: 'wix.bookings.services.v2.ServicesService.BulkCreateServices',\n packageName: PACKAGE_NAME,\n url: resolveWixBookingsServicesV2ServicesServiceUrl({\n protoPath: '/v2/bulk/services/create',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'results.item.createdDate' },\n { path: 'results.item.updatedDate' },\n { path: 'results.item.media.items.image.urlExpirationDate' },\n { path: 'results.item.media.mainMedia.image.urlExpirationDate' },\n { path: 'results.item.media.coverMedia.image.urlExpirationDate' },\n { path: 'results.item.bookingPolicy.createdDate' },\n { path: 'results.item.bookingPolicy.updatedDate' },\n { path: 'results.item.schedule.firstSessionStart' },\n { path: 'results.item.schedule.lastSessionEnd' },\n {\n path: 'results.item.staffMembers.mainMedia.image.urlExpirationDate',\n },\n {\n path: 'results.item.staffMemberDetails.staffMembers.mainMedia.image.urlExpirationDate',\n },\n { path: 'results.item.supportedSlugs.createdDate' },\n { path: 'results.item.mainSlug.createdDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'results.item.locations.business.address.geocode.latitude',\n },\n {\n path: 'results.item.locations.business.address.geocode.longitude',\n },\n {\n path: 'results.item.locations.custom.address.geocode.latitude',\n },\n {\n path: 'results.item.locations.custom.address.geocode.longitude',\n },\n {\n path: 'results.item.locations.calculatedAddress.geocode.latitude',\n },\n {\n path: 'results.item.locations.calculatedAddress.geocode.longitude',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkCreateServices;\n}\n\n/** Retrieves a service. */\nexport function getService(payload: object): RequestOptionsFactory<any> {\n function __getService({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.bookings.services.v2.service',\n method: 'GET' as any,\n methodFqn: 'wix.bookings.services.v2.ServicesService.GetService',\n packageName: PACKAGE_NAME,\n url: resolveWixBookingsServicesV2ServicesServiceUrl({\n protoPath: '/v2/services/{serviceId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'service.createdDate' },\n { path: 'service.updatedDate' },\n { path: 'service.media.items.image.urlExpirationDate' },\n { path: 'service.media.mainMedia.image.urlExpirationDate' },\n { path: 'service.media.coverMedia.image.urlExpirationDate' },\n { path: 'service.bookingPolicy.createdDate' },\n { path: 'service.bookingPolicy.updatedDate' },\n { path: 'service.schedule.firstSessionStart' },\n { path: 'service.schedule.lastSessionEnd' },\n {\n path: 'service.staffMembers.mainMedia.image.urlExpirationDate',\n },\n {\n path: 'service.staffMemberDetails.staffMembers.mainMedia.image.urlExpirationDate',\n },\n { path: 'service.supportedSlugs.createdDate' },\n { path: 'service.mainSlug.createdDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'service.locations.business.address.geocode.latitude' },\n { path: 'service.locations.business.address.geocode.longitude' },\n { path: 'service.locations.custom.address.geocode.latitude' },\n { path: 'service.locations.custom.address.geocode.longitude' },\n { path: 'service.locations.calculatedAddress.geocode.latitude' },\n { path: 'service.locations.calculatedAddress.geocode.longitude' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getService;\n}\n\n/**\n * Updates a service.\n *\n *\n * Each time the service is updated, `revision` increments by 1. You must\n * include the number of the existing revision when updating the service.\n * This ensures you're working with the latest service information and\n * prevents unintended overwrites.\n *\n * ## Session durations\n *\n * Specify `schedule.availabilityConstraints.sessionDurations`\n * only if you want to update it for appointment-based services without varied\n * pricing based on session length. Don't specify `schedule.availabilityConstraints.sessionDurations`\n * for all other appointment-based services, classes, or courses. See *Create Service*\n * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/create-service#session-durations) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/create-service#session-durations))\n * for more details.\n */\nexport function updateService(payload: object): RequestOptionsFactory<any> {\n function __updateService({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'mask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'service.createdDate' },\n { path: 'service.updatedDate' },\n { path: 'service.media.items.image.urlExpirationDate' },\n { path: 'service.media.mainMedia.image.urlExpirationDate' },\n { path: 'service.media.coverMedia.image.urlExpirationDate' },\n { path: 'service.bookingPolicy.createdDate' },\n { path: 'service.bookingPolicy.updatedDate' },\n { path: 'service.schedule.firstSessionStart' },\n { path: 'service.schedule.lastSessionEnd' },\n { path: 'service.staffMembers.mainMedia.image.urlExpirationDate' },\n {\n path: 'service.staffMemberDetails.staffMembers.mainMedia.image.urlExpirationDate',\n },\n { path: 'service.supportedSlugs.createdDate' },\n { path: 'service.mainSlug.createdDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'service.locations.business.address.geocode.latitude' },\n { path: 'service.locations.business.address.geocode.longitude' },\n { path: 'service.locations.custom.address.geocode.latitude' },\n { path: 'service.locations.custom.address.geocode.longitude' },\n { path: 'service.locations.calculatedAddress.geocode.latitude' },\n { path: 'service.locations.calculatedAddress.geocode.longitude' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.bookings.services.v2.service',\n method: 'PATCH' as any,\n methodFqn: 'wix.bookings.services.v2.ServicesService.UpdateService',\n packageName: PACKAGE_NAME,\n url: resolveWixBookingsServicesV2ServicesServiceUrl({\n protoPath: '/v2/services/{service.id}',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'service.createdDate' },\n { path: 'service.updatedDate' },\n { path: 'service.media.items.image.urlExpirationDate' },\n { path: 'service.media.mainMedia.image.urlExpirationDate' },\n { path: 'service.media.coverMedia.image.urlExpirationDate' },\n { path: 'service.bookingPolicy.createdDate' },\n { path: 'service.bookingPolicy.updatedDate' },\n { path: 'service.schedule.firstSessionStart' },\n { path: 'service.schedule.lastSessionEnd' },\n {\n path: 'service.staffMembers.mainMedia.image.urlExpirationDate',\n },\n {\n path: 'service.staffMemberDetails.staffMembers.mainMedia.image.urlExpirationDate',\n },\n { path: 'service.supportedSlugs.createdDate' },\n { path: 'service.mainSlug.createdDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'service.locations.business.address.geocode.latitude' },\n { path: 'service.locations.business.address.geocode.longitude' },\n { path: 'service.locations.custom.address.geocode.latitude' },\n { path: 'service.locations.custom.address.geocode.longitude' },\n { path: 'service.locations.calculatedAddress.geocode.latitude' },\n { path: 'service.locations.calculatedAddress.geocode.longitude' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateService;\n}\n\n/**\n * Updates up to 100 services.\n *\n *\n * See *Update Service*\n * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/update-service) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/update-service))\n * for more details.\n *\n * The call succeeds even if one or more individual services can't be updated.\n * Information about failures is returned in `bulkActionMetadata`.\n */\nexport function bulkUpdateServices(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdateServices({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'services.mask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'services.service.createdDate' },\n { path: 'services.service.updatedDate' },\n { path: 'services.service.media.items.image.urlExpirationDate' },\n { path: 'services.service.media.mainMedia.image.urlExpirationDate' },\n { path: 'services.service.media.coverMedia.image.urlExpirationDate' },\n { path: 'services.service.bookingPolicy.createdDate' },\n { path: 'services.service.bookingPolicy.updatedDate' },\n { path: 'services.service.schedule.firstSessionStart' },\n { path: 'services.service.schedule.lastSessionEnd' },\n {\n path: 'services.service.staffMembers.mainMedia.image.urlExpirationDate',\n },\n {\n path: 'services.service.staffMemberDetails.staffMembers.mainMedia.image.urlExpirationDate',\n },\n { path: 'services.service.supportedSlugs.createdDate' },\n { path: 'services.service.mainSlug.createdDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n {\n path: 'services.service.locations.business.address.geocode.latitude',\n },\n {\n path: 'services.service.locations.business.address.geocode.longitude',\n },\n {\n path: 'services.service.locations.custom.address.geocode.latitude',\n },\n {\n path: 'services.service.locations.custom.address.geocode.longitude',\n },\n {\n path: 'services.service.locations.calculatedAddress.geocode.latitude',\n },\n {\n path: 'services.service.locations.calculatedAddress.geocode.longitude',\n },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.bookings.services.v2.service',\n method: 'POST' as any,\n methodFqn: 'wix.bookings.services.v2.ServicesService.BulkUpdateServices',\n packageName: PACKAGE_NAME,\n url: resolveWixBookingsServicesV2ServicesServiceUrl({\n protoPath: '/v2/bulk/services/update',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'results.item.createdDate' },\n { path: 'results.item.updatedDate' },\n { path: 'results.item.media.items.image.urlExpirationDate' },\n { path: 'results.item.media.mainMedia.image.urlExpirationDate' },\n { path: 'results.item.media.coverMedia.image.urlExpirationDate' },\n { path: 'results.item.bookingPolicy.createdDate' },\n { path: 'results.item.bookingPolicy.updatedDate' },\n { path: 'results.item.schedule.firstSessionStart' },\n { path: 'results.item.schedule.lastSessionEnd' },\n {\n path: 'results.item.staffMembers.mainMedia.image.urlExpirationDate',\n },\n {\n path: 'results.item.staffMemberDetails.staffMembers.mainMedia.image.urlExpirationDate',\n },\n { path: 'results.item.supportedSlugs.createdDate' },\n { path: 'results.item.mainSlug.createdDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'results.item.locations.business.address.geocode.latitude',\n },\n {\n path: 'results.item.locations.business.address.geocode.longitude',\n },\n {\n path: 'results.item.locations.custom.address.geocode.latitude',\n },\n {\n path: 'results.item.locations.custom.address.geocode.longitude',\n },\n {\n path: 'results.item.locations.calculatedAddress.geocode.latitude',\n },\n {\n path: 'results.item.locations.calculatedAddress.geocode.longitude',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkUpdateServices;\n}\n\n/**\n * Updates multiple services by filter.\n *\n *\n * Refer to the supported filters article\n * ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/filtering-and-sorting#filtering))\n * for more details.\n *\n * See *Update Service*\n * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/update-service) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/update-service))\n * for more details about updating a service.\n *\n * The call succeeds even if one or more individual services can't be updated.\n * Information about failures is returned in `bulkActionMetadata`.\n */\nexport function bulkUpdateServicesByFilter(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdateServicesByFilter({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'mask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'service.createdDate' },\n { path: 'service.updatedDate' },\n { path: 'service.media.items.image.urlExpirationDate' },\n { path: 'service.media.mainMedia.image.urlExpirationDate' },\n { path: 'service.media.coverMedia.image.urlExpirationDate' },\n { path: 'service.bookingPolicy.createdDate' },\n { path: 'service.bookingPolicy.updatedDate' },\n { path: 'service.schedule.firstSessionStart' },\n { path: 'service.schedule.lastSessionEnd' },\n { path: 'service.staffMembers.mainMedia.image.urlExpirationDate' },\n {\n path: 'service.staffMemberDetails.staffMembers.mainMedia.image.urlExpirationDate',\n },\n { path: 'service.supportedSlugs.createdDate' },\n { path: 'service.mainSlug.createdDate' },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'service.locations.business.address.geocode.latitude' },\n { path: 'service.locations.business.address.geocode.longitude' },\n { path: 'service.locations.custom.address.geocode.latitude' },\n { path: 'service.locations.custom.address.geocode.longitude' },\n { path: 'service.locations.calculatedAddress.geocode.latitude' },\n { path: 'service.locations.calculatedAddress.geocode.longitude' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.bookings.services.v2.service',\n method: 'POST' as any,\n methodFqn:\n 'wix.bookings.services.v2.ServicesService.BulkUpdateServicesByFilter',\n packageName: PACKAGE_NAME,\n url: resolveWixBookingsServicesV2ServicesServiceUrl({\n protoPath: '/v2/bulk/services/update-by-filter',\n data: serializedData,\n host,\n }),\n data: serializedData,\n };\n\n return metadata;\n }\n\n return __bulkUpdateServicesByFilter;\n}\n\n/**\n * Deletes a service.\n *\n *\n * Specify `{\"preserveFutureSessionsWithParticipants\": true}` to retain all\n * future sessions for the service. By default, all future sessions are canceled.\n */\nexport function deleteService(payload: object): RequestOptionsFactory<any> {\n function __deleteService({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.bookings.services.v2.service',\n method: 'DELETE' as any,\n methodFqn: 'wix.bookings.services.v2.ServicesService.DeleteService',\n packageName: PACKAGE_NAME,\n url: resolveWixBookingsServicesV2ServicesServiceUrl({\n protoPath: '/v2/services/{serviceId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteService;\n}\n\n/**\n * Deletes multiple services.\n *\n *\n * See *Delete Service*\n * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/delete-service) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/delete-service))\n * for more details about deleting a service.\n *\n * The call succeeds even if one or more individual services can't be deleted.\n * Information about failures is returned in `bulkActionMetadata`.\n */\nexport function bulkDeleteServices(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkDeleteServices({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.bookings.services.v2.service',\n method: 'POST' as any,\n methodFqn: 'wix.bookings.services.v2.ServicesService.BulkDeleteServices',\n packageName: PACKAGE_NAME,\n url: resolveWixBookingsServicesV2ServicesServiceUrl({\n protoPath: '/v2/bulk/services/delete',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'results.item.createdDate' },\n { path: 'results.item.updatedDate' },\n { path: 'results.item.media.items.image.urlExpirationDate' },\n { path: 'results.item.media.mainMedia.image.urlExpirationDate' },\n { path: 'results.item.media.coverMedia.image.urlExpirationDate' },\n { path: 'results.item.bookingPolicy.createdDate' },\n { path: 'results.item.bookingPolicy.updatedDate' },\n { path: 'results.item.schedule.firstSessionStart' },\n { path: 'results.item.schedule.lastSessionEnd' },\n {\n path: 'results.item.staffMembers.mainMedia.image.urlExpirationDate',\n },\n {\n path: 'results.item.staffMemberDetails.staffMembers.mainMedia.image.urlExpirationDate',\n },\n { path: 'results.item.supportedSlugs.createdDate' },\n { path: 'results.item.mainSlug.createdDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'results.item.locations.business.address.geocode.latitude',\n },\n {\n path: 'results.item.locations.business.address.geocode.longitude',\n },\n {\n path: 'results.item.locations.custom.address.geocode.latitude',\n },\n {\n path: 'results.item.locations.custom.address.geocode.longitude',\n },\n {\n path: 'results.item.locations.calculatedAddress.geocode.latitude',\n },\n {\n path: 'results.item.locations.calculatedAddress.geocode.longitude',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkDeleteServices;\n}\n\n/**\n * Deletes multiple services by filter.\n *\n *\n * See *Delete Service*\n * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/delete-service) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/delete-service))\n * for more details about deleting a service.\n *\n * The call succeeds even if one or more individual services can't be deleted.\n * Information about failures is returned in `bulkActionMetadata`.\n *\n * Refer to the supported filters article\n * ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/filtering-and-sorting#filtering))\n * for more details.\n *\n * To learn about working with filters in general, see\n * [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters).\n */\nexport function bulkDeleteServicesByFilter(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkDeleteServicesByFilter({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.bookings.services.v2.service',\n method: 'POST' as any,\n methodFqn:\n 'wix.bookings.services.v2.ServicesService.BulkDeleteServicesByFilter',\n packageName: PACKAGE_NAME,\n url: resolveWixBookingsServicesV2ServicesServiceUrl({\n protoPath: '/v2/bulk/services/delete-by-filter',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkDeleteServicesByFilter;\n}\n\n/**\n * Creates a query to retrieve a list of `service` objects.\n *\n * The `queryServices()` function builds a query to retrieve a list of `service` objects and returns a `ServicesQueryBuilder` object.\n *\n * The returned object contains the query definition, which is typically used to run the query using the [find()](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/services-query-builder/find) function.\n *\n * You can refine the query by chaining `ServicesQueryBuilder` functions onto the query. `ServicesQueryBuilder` functions enable you to sort, filter, and control the results that `queryServices()` returns.\n *\n * `queryServices()` runs with the following `ServicesQueryBuilder` defaults that you can override:\n *\n * + `limit` is `100`.\n * + Sorted by `createdDate` in ascending order.\n *\n * The functions that are chained to `queryServices()` are applied in the order they are called. For example, if you apply `ascending(\"category.name\")` and then `ascending(\"name\")`, the results are sorted first by `category.name`, and then, if there are multiple results with the same `category.name`, the items are sorted by `name`.\n *\n * The following `ServicesQueryBuilder` functions are supported for the `queryServices()` function. For a full description of the `service` object, see the object returned for the [items](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/services-query-result/items) property in `ServicesQueryResult`.\n */\nexport function queryServices(payload: object): RequestOptionsFactory<any> {\n function __queryServices({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.bookings.services.v2.service',\n method: 'POST' as any,\n methodFqn: 'wix.bookings.services.v2.ServicesService.QueryServices',\n packageName: PACKAGE_NAME,\n url: resolveWixBookingsServicesV2ServicesServiceUrl({\n protoPath: '/v2/services/query',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'services.createdDate' },\n { path: 'services.updatedDate' },\n { path: 'services.media.items.image.urlExpirationDate' },\n { path: 'services.media.mainMedia.image.urlExpirationDate' },\n { path: 'services.media.coverMedia.image.urlExpirationDate' },\n { path: 'services.bookingPolicy.createdDate' },\n { path: 'services.bookingPolicy.updatedDate' },\n { path: 'services.schedule.firstSessionStart' },\n { path: 'services.schedule.lastSessionEnd' },\n {\n path: 'services.staffMembers.mainMedia.image.urlExpirationDate',\n },\n {\n path: 'services.staffMemberDetails.staffMembers.mainMedia.image.urlExpirationDate',\n },\n { path: 'services.supportedSlugs.createdDate' },\n { path: 'services.mainSlug.createdDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'services.locations.business.address.geocode.latitude' },\n { path: 'services.locations.business.address.geocode.longitude' },\n { path: 'services.locations.custom.address.geocode.latitude' },\n { path: 'services.locations.custom.address.geocode.longitude' },\n { path: 'services.locations.calculatedAddress.geocode.latitude' },\n {\n path: 'services.locations.calculatedAddress.geocode.longitude',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __queryServices;\n}\n\n/**\n * Retrieves a list of up to 100 services, given the provided filtering, paging,\n * and sorting.\n *\n *\n * ## Defaults\n *\n * Search Services has the following default settings, which you can override:\n * + Sorted by `createdDate` in ascending order.\n * + `paging.limit` set to `100`.\n * + `paging.offset` set to `0`.\n *\n * ## Filters\n *\n * When using filters for dates, you must use\n * [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).\n *\n * Refer to the supported filters article\n * ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/filtering-and-sorting))\n * for a complete list of supported filters and sorting options.\n *\n * ## See also\n *\n * To learn about working with *Search* methods, see\n * _API Query Language_\n * ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language) | [REST](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language))\n * and *Sorting and Paging*\n * ([SDK](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/api-query-language#the-sort-array) | [REST](https://dev.wix.com/docs/rest/articles/getting-started/sorting-and-paging)).\n */\nexport function searchServices(payload: object): RequestOptionsFactory<any> {\n function __searchServices({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'search.aggregations.range.buckets.from' },\n { path: 'search.aggregations.range.buckets.to' },\n {\n path: 'search.aggregations.nested.nestedAggregations.range.buckets.from',\n },\n {\n path: 'search.aggregations.nested.nestedAggregations.range.buckets.to',\n },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.bookings.services.v2.service',\n method: 'POST' as any,\n methodFqn: 'wix.bookings.services.v2.ServicesService.SearchServices',\n packageName: PACKAGE_NAME,\n url: resolveWixBookingsServicesV2ServicesServiceUrl({\n protoPath: '/v2/services/search',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'services.createdDate' },\n { path: 'services.updatedDate' },\n { path: 'services.media.items.image.urlExpirationDate' },\n { path: 'services.media.mainMedia.image.urlExpirationDate' },\n { path: 'services.media.coverMedia.image.urlExpirationDate' },\n { path: 'services.bookingPolicy.createdDate' },\n { path: 'services.bookingPolicy.updatedDate' },\n { path: 'services.schedule.firstSessionStart' },\n { path: 'services.schedule.lastSessionEnd' },\n {\n path: 'services.staffMembers.mainMedia.image.urlExpirationDate',\n },\n {\n path: 'services.staffMemberDetails.staffMembers.mainMedia.image.urlExpirationDate',\n },\n { path: 'services.supportedSlugs.createdDate' },\n { path: 'services.mainSlug.createdDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'services.locations.business.address.geocode.latitude' },\n { path: 'services.locations.business.address.geocode.longitude' },\n { path: 'services.locations.custom.address.geocode.latitude' },\n { path: 'services.locations.custom.address.geocode.longitude' },\n { path: 'services.locations.calculatedAddress.geocode.latitude' },\n {\n path: 'services.locations.calculatedAddress.geocode.longitude',\n },\n { path: 'aggregationData.results.ranges.results.from' },\n { path: 'aggregationData.results.ranges.results.to' },\n {\n path: 'aggregationData.results.groupedByValue.results.nestedResults.ranges.results.from',\n },\n {\n path: 'aggregationData.results.groupedByValue.results.nestedResults.ranges.results.to',\n },\n {\n path: 'aggregationData.results.nested.results.results.*.range.from',\n },\n {\n path: 'aggregationData.results.nested.results.results.*.range.to',\n },\n { path: 'aggregationData.results.scalar.value' },\n {\n path: 'aggregationData.results.groupedByValue.results.nestedResults.scalar.value',\n },\n {\n path: 'aggregationData.results.nested.results.results.*.scalar.value',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __searchServices;\n}\n\n/**\n * Retrieves a list of up to 100 *booking policies*\n * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/booking-policies/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/introduction)),\n * and information about the services that are connected to them,\n * given the provided filtering, paging, and sorting.\n *\n * ## Defaults\n *\n * Query Policies has the following default settings, which you can override:\n *\n * + Sorted by `id` in ascending order.\n * + `cursorPaging.limit` set to `100`.\n *\n * ## Filters\n *\n * For a complete list of supported filters, refer to **Booking Policies API: Supported Filters**\n * ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/supported-filters)).\n *\n * When using date filters, you must use\n * [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).\n *\n * ## Returned services\n *\n * If a booking policy is connected to more than 5 services, only a subset of\n * those services is returned. The `bookingPolicies.totalServiceCount` values\n * indicate the total number of services linked to each policy. You can call *Search Services*\n * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/search-services) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/search-services))\n * and specify the relevant policy ID in the filter to retrieve all services\n * connected to the booking policy.\n *\n * ## See also\n *\n * To learn about working with *Query* endpoints, see\n * [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language)\n * and [Sorting and Paging](https://dev.wix.com/docs/rest/articles/getting-started/sorting-and-paging).\n */\nexport function queryPolicies(payload: object): RequestOptionsFactory<any> {\n function __queryPolicies({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.bookings.services.v2.service',\n method: 'POST' as any,\n methodFqn: 'wix.bookings.services.v2.ServicesService.QueryPolicies',\n packageName: PACKAGE_NAME,\n url: resolveWixBookingsServicesV2ServicesServiceUrl({\n protoPath: '/v2/services/policies/query',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'bookingPolicies.bookingPolicy.createdDate' },\n { path: 'bookingPolicies.bookingPolicy.updatedDate' },\n { path: 'bookingPolicies.services.createdDate' },\n { path: 'bookingPolicies.services.updatedDate' },\n {\n path: 'bookingPolicies.services.media.items.image.urlExpirationDate',\n },\n {\n path: 'bookingPolicies.services.media.mainMedia.image.urlExpirationDate',\n },\n {\n path: 'bookingPolicies.services.media.coverMedia.image.urlExpirationDate',\n },\n { path: 'bookingPolicies.services.bookingPolicy.createdDate' },\n { path: 'bookingPolicies.services.bookingPolicy.updatedDate' },\n { path: 'bookingPolicies.services.schedule.firstSessionStart' },\n { path: 'bookingPolicies.services.schedule.lastSessionEnd' },\n {\n path: 'bookingPolicies.services.staffMembers.mainMedia.image.urlExpirationDate',\n },\n {\n path: 'bookingPolicies.services.staffMemberDetails.staffMembers.mainMedia.image.urlExpirationDate',\n },\n { path: 'bookingPolicies.services.supportedSlugs.createdDate' },\n { path: 'bookingPolicies.services.mainSlug.createdDate' },\n { path: 'bookingPolicies.connectedServices.createdDate' },\n { path: 'bookingPolicies.connectedServices.updatedDate' },\n {\n path: 'bookingPolicies.connectedServices.media.items.image.urlExpirationDate',\n },\n {\n path: 'bookingPolicies.connectedServices.media.mainMedia.image.urlExpirationDate',\n },\n {\n path: 'bookingPolicies.connectedServices.media.coverMedia.image.urlExpirationDate',\n },\n {\n path: 'bookingPolicies.connectedServices.bookingPolicy.createdDate',\n },\n {\n path: 'bookingPolicies.connectedServices.bookingPolicy.updatedDate',\n },\n {\n path: 'bookingPolicies.connectedServices.schedule.firstSessionStart',\n },\n {\n path: 'bookingPolicies.connectedServices.schedule.lastSessionEnd',\n },\n {\n path: 'bookingPolicies.connectedServices.staffMembers.mainMedia.image.urlExpirationDate',\n },\n {\n path: 'bookingPolicies.connectedServices.staffMemberDetails.staffMembers.mainMedia.image.urlExpirationDate',\n },\n {\n path: 'bookingPolicies.connectedServices.supportedSlugs.createdDate',\n },\n {\n path: 'bookingPolicies.connectedServices.mainSlug.createdDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'bookingPolicies.services.locations.business.address.geocode.latitude',\n },\n {\n path: 'bookingPolicies.services.locations.business.address.geocode.longitude',\n },\n {\n path: 'bookingPolicies.services.locations.custom.address.geocode.latitude',\n },\n {\n path: 'bookingPolicies.services.locations.custom.address.geocode.longitude',\n },\n {\n path: 'bookingPolicies.services.locations.calculatedAddress.geocode.latitude',\n },\n {\n path: 'bookingPolicies.services.locations.calculatedAddress.geocode.longitude',\n },\n {\n path: 'bookingPolicies.connectedServices.locations.business.address.geocode.latitude',\n },\n {\n path: 'bookingPolicies.connectedServices.locations.business.address.geocode.longitude',\n },\n {\n path: 'bookingPolicies.connectedServices.locations.custom.address.geocode.latitude',\n },\n {\n path: 'bookingPolicies.connectedServices.locations.custom.address.geocode.longitude',\n },\n {\n path: 'bookingPolicies.connectedServices.locations.calculatedAddress.geocode.latitude',\n },\n {\n path: 'bookingPolicies.connectedServices.locations.calculatedAddress.geocode.longitude',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __queryPolicies;\n}\n\n/**\n * Retrieves a list of up to 100 *booking forms*\n * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/forms/introduction) | [REST](https://dev.wix.com/docs/rest/crm/forms/form-schemas/form-object)),\n * and information about the services that are connected to them,\n * given the provided filtering, paging, and sorting.\n *\n *\n * ## Defaults\n *\n * Query Booking Forms has the following default settings, which you can override:\n *\n * + Sorted by `id` in ascending order.\n * + `cursorPaging.limit` set to `100`.\n *\n * ## Filters\n *\n * For a complete list of supported filters, refer to **Forms API: Supported Filters**\n * ([REST](https://dev.wix.com/docs/rest/crm/forms/form-schemas/form-object)).\n *\n * When using date filters, you must use\n * [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).\n *\n * ## Returned services\n *\n * If a booking policy is connected to more than 5 services, only a subset of\n * these service IDs and names is returned. The `bookingForms.totalServiceCount`\n * values indicate the total number of services linked to each form. You can call *Query Services*\n * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/query-services) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/query-services))\n * and specify the relevant form ID in the filter to retrieve all services\n * connected to the booking form.\n *\n * ## Default booking forms\n *\n * By default, all Wix Bookings services use a standard booking form. To retrieve\n * a site's default booking form with Query Booking Forms, specify\n * `{\"conditionalFields\": [\"DEFAULT_BOOKING_FORM\"]}`.\n *\n * ## See also\n *\n * To learn about working with *Query* endpoints, see\n * [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language)\n * and [Sorting and Paging](https://dev.wix.com/docs/rest/articles/getting-started/sorting-and-paging).\n */\nexport function queryBookingForms(payload: object): RequestOptionsFactory<any> {\n function __queryBookingForms({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.bookings.services.v2.service',\n method: 'POST' as any,\n methodFqn: 'wix.bookings.services.v2.ServicesService.QueryBookingForms',\n packageName: PACKAGE_NAME,\n url: resolveWixBookingsServicesV2ServicesServiceUrl({\n protoPath: '/v2/services/booking-forms/query',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __queryBookingForms;\n}\n\n/**\n * Counts how many services match the given filter.\n *\n *\n * Refer to the supported filters article\n * ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/filtering-and-sorting#filtering))\n * for more details.\n *\n * To learn about working with filters in general, see\n * [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters)\n */\nexport function countServices(payload: object): RequestOptionsFactory<any> {\n function __countServices({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.bookings.services.v2.service',\n method: 'POST' as any,\n methodFqn: 'wix.bookings.services.v2.ServicesService.CountServices',\n packageName: PACKAGE_NAME,\n url: resolveWixBookingsServicesV2ServicesServiceUrl({\n protoPath: '/v2/services/count',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __countServices;\n}\n\n/**\n * Retrieves 3 separate lists of business, custom, and customer *locations*\n * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction)),\n * given the provided filtering, and whether each location is connected to at\n * least one of the site's services.\n *\n *\n * ## Defaults\n *\n * Query Locations has the following default setting, which you can't override:\n * Sorted by `id` in ascending order.\n *\n * ## Filters\n *\n * For a complete list of supported filters, refer to the `location` object\n * ([REST](https://dev.wix.com/docs/rest/business-management/locations/location-object)).\n *\n * When using date filters, you must use\n * [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).\n *\n * ## See also\n *\n * To learn about working with *Query* endpoints, see\n * [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language)\n * and [Sorting and Paging](https://dev.wix.com/docs/rest/articles/getting-started/sorting-and-paging).\n */\nexport function queryLocations(payload: object): RequestOptionsFactory<any> {\n function __queryLocations({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.bookings.services.v2.service',\n method: 'POST' as any,\n methodFqn: 'wix.bookings.services.v2.ServicesService.QueryLocations',\n packageName: PACKAGE_NAME,\n url: resolveWixBookingsServicesV2ServicesServiceUrl({\n protoPath: '/v2/services/locations/query',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n {\n path: 'businessLocations.locations.business.address.geocode.latitude',\n },\n {\n path: 'businessLocations.locations.business.address.geocode.longitude',\n },\n {\n path: 'businessLocations.locations.custom.address.geocode.latitude',\n },\n {\n path: 'businessLocations.locations.custom.address.geocode.longitude',\n },\n {\n path: 'businessLocations.locations.calculatedAddress.geocode.latitude',\n },\n {\n path: 'businessLocations.locations.calculatedAddress.geocode.longitude',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __queryLocations;\n}\n\n/**\n * Retrieves a list of service *categories*\n * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/categories/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/categories-v2/introduction)),\n * given the provided filtering.\n *\n *\n * ## Defaults\n *\n * Query Categories has the following default setting, which you can't override:\n * Sorted by `id` in ascending order.\n *\n * ## Filters\n *\n * For a complete list of supported filters, refer to the supported filters article\n * ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/filtering-and-sorting#filtering)).\n *\n * When using date filters, you must use\n * [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).\n *\n * ## See also\n *\n * To learn about working with *Query* endpoints, see\n * [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language)\n * and [Sorting and Paging](https://dev.wix.com/docs/rest/articles/getting-started/sorting-and-paging).\n */\nexport function queryCategories(payload: object): RequestOptionsFactory<any> {\n function __queryCategories({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.bookings.services.v2.service',\n method: 'POST' as any,\n methodFqn: 'wix.bookings.services.v2.ServicesService.QueryCategories',\n packageName: PACKAGE_NAME,\n url: resolveWixBookingsServicesV2ServicesServiceUrl({\n protoPath: '/v2/services/categories/query',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __queryCategories;\n}\n\n/**\n * Replaces the list of the *locations*\n * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction))\n * where the business offers the service.\n *\n *\n * ## Consequences for customers\n *\n * Removing a service location may impact existing sessions and their\n * participants. If you remove at least one service location, you must\n * specify `removedLocationSessionsAction` to indicate what happens to all\n * future sessions scheduled at this location.\n *\n * - **Keep existing location**: If you want to retain future sessions at their\n * originally scheduled location, specify\n * `{\"removedLocationSessionsAction.action\": \"KEEP_AT_CURRENT_LOCATION\"}`.\n * This ensures nothing changes for the customer, but the business must be\n * able to provide access to the removed location in the future.\n * - **Update location**: If you want to update the location for future sessions\n * scheduled at the removed location, specify\n * `{\"removedLocationSessionsAction.action\": \"MOVE_TO_LOCATION\"}` and\n * `moveToLocationOptions.newLocation`.\n *\n * You can't mix and match to keep some sessions at the previous location while\n * moving other sessions to an updated location.\n *\n * Past session details aren't changed, no matter which option you choose for\n * future sessions.\n *\n * Future sessions scheduled for a location defined by the customer are also not\n * updated.\n *\n * ## Specify location details\n *\n * Depending on whether the new or updated location is a business or custom location,\n * you need to specify different fields.\n *\n * - **Business location**: Specify the relevant *location ID*\n * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction))\n * in `locations.business.id`.\n * - **Custom location**: Specify the complete address object as\n * `locations.custom.address`.\n *\n * ## Participant notifications\n *\n * You can specify a `participantNotification.message` that's immediately send\n * to all customers who had booked at a changed location. Ensure\n * `participantNotification.notifyParticipants` is set to `true` to send the\n * message.\n */\nexport function setServiceLocations(\n payload: object\n): RequestOptionsFactory<any> {\n function __setServiceLocations({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'locations.business.address.geocode.latitude' },\n { path: 'locations.business.address.geocode.longitude' },\n { path: 'locations.custom.address.geocode.latitude' },\n { path: 'locations.custom.address.geocode.longitude' },\n { path: 'locations.calculatedAddress.geocode.latitude' },\n { path: 'locations.calculatedAddress.geocode.longitude' },\n {\n path: 'removedLocationSessionsAction.moveToLocationOptions.newLocation.business.address.geocode.latitude',\n },\n {\n path: 'removedLocationSessionsAction.moveToLocationOptions.newLocation.business.address.geocode.longitude',\n },\n {\n path: 'removedLocationSessionsAction.moveToLocationOptions.newLocation.custom.address.geocode.latitude',\n },\n {\n path: 'removedLocationSessionsAction.moveToLocationOptions.newLocation.custom.address.geocode.longitude',\n },\n {\n path: 'removedLocationSessionsAction.moveToLocationOptions.newLocation.calculatedAddress.geocode.latitude',\n },\n {\n path: 'removedLocationSessionsAction.moveToLocationOptions.newLocation.calculatedAddress.geocode.longitude',\n },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.bookings.services.v2.service',\n method: 'POST' as any,\n methodFqn: 'wix.bookings.services.v2.ServicesService.SetServiceLocations',\n packageName: PACKAGE_NAME,\n url: resolveWixBookingsServicesV2ServicesServiceUrl({\n protoPath: '/v2/services/{serviceId}/locations',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'service.createdDate' },\n { path: 'service.updatedDate' },\n { path: 'service.media.items.image.urlExpirationDate' },\n { path: 'service.media.mainMedia.image.urlExpirationDate' },\n { path: 'service.media.coverMedia.image.urlExpirationDate' },\n { path: 'service.bookingPolicy.createdDate' },\n { path: 'service.bookingPolicy.updatedDate' },\n { path: 'service.schedule.firstSessionStart' },\n { path: 'service.schedule.lastSessionEnd' },\n {\n path: 'service.staffMembers.mainMedia.image.urlExpirationDate',\n },\n {\n path: 'service.staffMemberDetails.staffMembers.mainMedia.image.urlExpirationDate',\n },\n { path: 'service.supportedSlugs.createdDate' },\n { path: 'service.mainSlug.createdDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'service.locations.business.address.geocode.latitude' },\n { path: 'service.locations.business.address.geocode.longitude' },\n { path: 'service.locations.custom.address.geocode.latitude' },\n { path: 'service.locations.custom.address.geocode.longitude' },\n { path: 'service.locations.calculatedAddress.geocode.latitude' },\n { path: 'service.locations.calculatedAddress.geocode.longitude' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __setServiceLocations;\n}\n\n/**\n * Adds a list of *pricing plan IDs*\n * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/pricing-plans/plans/introduction) | [REST](https://dev.wix.com/api/rest/wix-pricing-plans/pricing-plans/plans/plan-object))\n * to a service's `payment.pricingPlanIds` array.\n *\n *\n * The call doesn't validate whether the service's `payment.options.pricingPlan`\n * is set to `true`. If it's set to `false`, customers aren't able to pay\n * for their bookings using pricing plans. You can call *Update Service*\n * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/update-service) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/update-service))\n * to change a service's supported payment methods.\n */\nexport function enablePricingPlansForService(\n payload: object\n): RequestOptionsFactory<any> {\n function __enablePricingPlansForService({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.bookings.services.v2.service',\n method: 'POST' as any,\n methodFqn:\n 'wix.bookings.services.v2.ServicesService.EnablePricingPlansForService',\n packageName: PACKAGE_NAME,\n url: resolveWixBookingsServicesV2ServicesServiceUrl({\n protoPath: '/v2/services/{serviceId}/pricing-plans/add',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'service.createdDate' },\n { path: 'service.updatedDate' },\n { path: 'service.media.items.image.urlExpirationDate' },\n { path: 'service.media.mainMedia.image.urlExpirationDate' },\n { path: 'service.media.coverMedia.image.urlExpirationDate' },\n { path: 'service.bookingPolicy.createdDate' },\n { path: 'service.bookingPolicy.updatedDate' },\n { path: 'service.schedule.firstSessionStart' },\n { path: 'service.schedule.lastSessionEnd' },\n {\n path: 'service.staffMembers.mainMedia.image.urlExpirationDate',\n },\n {\n path: 'service.staffMemberDetails.staffMembers.mainMedia.image.urlExpirationDate',\n },\n { path: 'service.supportedSlugs.createdDate' },\n { path: 'service.mainSlug.createdDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'service.locations.business.address.geocode.latitude' },\n { path: 'service.locations.business.address.geocode.longitude' },\n { path: 'service.locations.custom.address.geocode.latitude' },\n { path: 'service.locations.custom.address.geocode.longitude' },\n { path: 'service.locations.calculatedAddress.geocode.latitude' },\n { path: 'service.locations.calculatedAddress.geocode.longitude' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __enablePricingPlansForService;\n}\n\n/**\n * Removes a list of *pricing plan IDs*\n * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/pricing-plans/plans/introduction) | [REST](https://dev.wix.com/api/rest/wix-pricing-plans/pricing-plans/plans/plan-object))\n * from a service's `payment.pricingPlanIds` array.\n *\n *\n * If you remove all pricing plan IDs from `payment.pricingPlanIds` and the\n * service supports only payments by pricing plan, customers will no longer be\n * able to book the service, as they will have no payment options available.\n */\nexport function disablePricingPlansForService(\n payload: object\n): RequestOptionsFactory<any> {\n function __disablePricingPlansForService({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.bookings.services.v2.service',\n method: 'POST' as any,\n methodFqn:\n 'wix.bookings.services.v2.ServicesService.DisablePricingPlansForService',\n packageName: PACKAGE_NAME,\n url: resolveWixBookingsServicesV2ServicesServiceUrl({\n protoPath: '/v2/services/{serviceId}/pricing-plans/remove',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'service.createdDate' },\n { path: 'service.updatedDate' },\n { path: 'service.media.items.image.urlExpirationDate' },\n { path: 'service.media.mainMedia.image.urlExpirationDate' },\n { path: 'service.media.coverMedia.image.urlExpirationDate' },\n { path: 'service.bookingPolicy.createdDate' },\n { path: 'service.bookingPolicy.updatedDate' },\n { path: 'service.schedule.firstSessionStart' },\n { path: 'service.schedule.lastSessionEnd' },\n {\n path: 'service.staffMembers.mainMedia.image.urlExpirationDate',\n },\n {\n path: 'service.staffMemberDetails.staffMembers.mainMedia.image.urlExpirationDate',\n },\n { path: 'service.supportedSlugs.createdDate' },\n { path: 'service.mainSlug.createdDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'service.locations.business.address.geocode.latitude' },\n { path: 'service.locations.business.address.geocode.longitude' },\n { path: 'service.locations.custom.address.geocode.latitude' },\n { path: 'service.locations.custom.address.geocode.longitude' },\n { path: 'service.locations.calculatedAddress.geocode.latitude' },\n { path: 'service.locations.calculatedAddress.geocode.longitude' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __disablePricingPlansForService;\n}\n\n/**\n * Sets a new active slug for the service.\n *\n *\n * The call fails if at least one of these conditions is met:\n * - The slug doesn't adheres to the supported format.\n * - Another service is currently using the slug.\n * - Another service has used the slug in the past.\n */\nexport function setCustomSlug(payload: object): RequestOptionsFactory<any> {\n function __setCustomSlug({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.bookings.services.v2.service',\n method: 'POST' as any,\n methodFqn: 'wix.bookings.services.v2.ServicesService.SetCustomSlug',\n packageName: PACKAGE_NAME,\n url: resolveWixBookingsServicesV2ServicesServiceUrl({\n protoPath: '/v2/services/{serviceId}/slugs/custom',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'slug.createdDate' },\n { path: 'service.createdDate' },\n { path: 'service.updatedDate' },\n { path: 'service.media.items.image.urlExpirationDate' },\n { path: 'service.media.mainMedia.image.urlExpirationDate' },\n { path: 'service.media.coverMedia.image.urlExpirationDate' },\n { path: 'service.bookingPolicy.createdDate' },\n { path: 'service.bookingPolicy.updatedDate' },\n { path: 'service.schedule.firstSessionStart' },\n { path: 'service.schedule.lastSessionEnd' },\n {\n path: 'service.staffMembers.mainMedia.image.urlExpirationDate',\n },\n {\n path: 'service.staffMemberDetails.staffMembers.mainMedia.image.urlExpirationDate',\n },\n { path: 'service.supportedSlugs.createdDate' },\n { path: 'service.mainSlug.createdDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'service.locations.business.address.geocode.latitude' },\n { path: 'service.locations.business.address.geocode.longitude' },\n { path: 'service.locations.custom.address.geocode.latitude' },\n { path: 'service.locations.custom.address.geocode.longitude' },\n { path: 'service.locations.calculatedAddress.geocode.latitude' },\n { path: 'service.locations.calculatedAddress.geocode.longitude' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __setCustomSlug;\n}\n\n/**\n * Checks whether a custom slug is validate for the service.\n *\n *\n * The checks include:\n * - The slug adheres to the supported format.\n * - No other service is currently using the slug.\n * - No other service has used the slug in the past.\n *\n * The call fails if at least one of the checks fails.\n */\nexport function validateSlug(payload: object): RequestOptionsFactory<any> {\n function __validateSlug({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.bookings.services.v2.service',\n method: 'POST' as any,\n methodFqn: 'wix.bookings.services.v2.ServicesService.ValidateSlug',\n packageName: PACKAGE_NAME,\n url: resolveWixBookingsServicesV2ServicesServiceUrl({\n protoPath: '/v2/services/slugs/validate',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __validateSlug;\n}\n\n/**\n * Clones a service.\n *\n *\n * ## Connected entities\n *\n * By default, not all entities connected to the service are cloned.\n *\n * ### Schedule\n *\n * Wix Bookings automatically creates a new active *schedule*\n * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/calendar/schedules/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction))\n * for the cloned service. If Wix Bookings can't create this schedule, the\n * Clone Service* call fails.\n *\n * - __For appointment-based services__: Future appointments aren't added to the\n * cloned service's schedule. Use the *Events API*\n * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/calendar/events/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction))\n * to add them as needed.\n * - __For classes and courses__: Future one-time events aren't added to the\n * cloned service's schedule, while future recurring events are added\n * asynchronously. The *Clone Service* call always succeeds, whether or not\n * recurring events are added.\n * If the response includes `RECURRING_EVENTS` in the `errors` array, it means the\n * cloned service doesn't have future recurring events, even though the original\n * service does. You can either delete the cloned service and try again or use\n * the *Events API*\n * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/calendar/events/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction))\n * to add missing events to the schedule.\n *\n * Wix Bookings never adds past events to the cloned service's schedule.\n *\n * ### Service options and variants\n *\n * If the original service has *variants*\n * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-options-and-variants/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction)),\n * they're cloned asynchronously. The *Clone Service* call always succeeds,\n * regardless of whether variants were cloned.\n *\n * If the response includes `OPTIONS_AND_VARIANTS` in the `errors` array, the cloned\n * service doesn't have variants, even though the original service does. You can\n * delete the cloned service and call *Clone Service* again, or use the\n * _Service Options And Variants API_\n * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-options-and-variants/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction))\n * to add variants.\n *\n * ### Booking form\n *\n * The original service's booking form isn't cloned, whether it's\n * the default or a custom booking form.\n *\n * ### Pricing plans\n *\n * If the original service's accepts payments via *pricing plans*\n * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/pricing-plans/plans/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/pricing-plans/pricing-plans/plans/introduction)),\n * the cloned service's `payment.options.pricingPlan` is also set to `true`. To\n * accept specific pricing plans, call *Enable Pricing Plans For Service*\n * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/enable-pricing-plans-for-service) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/enable-pricing-plans-for-service)),\n * after cloning the service. If the original service accepts only\n * pricing plan payments and you don't call *Enable Pricing Plans For Service*\n * after cloning the service, customers will be unable to book the service.\n */\nexport function cloneService(payload: object): RequestOptionsFactory<any> {\n function __cloneService({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.bookings.services.v2.service',\n method: 'POST' as any,\n methodFqn: 'wix.bookings.services.v2.ServicesService.CloneService',\n packageName: PACKAGE_NAME,\n url: resolveWixBookingsServicesV2ServicesServiceUrl({\n protoPath: '/v2/services/clone',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'service.createdDate' },\n { path: 'service.updatedDate' },\n { path: 'service.media.items.image.urlExpirationDate' },\n { path: 'service.media.mainMedia.image.urlExpirationDate' },\n { path: 'service.media.coverMedia.image.urlExpirationDate' },\n { path: 'service.bookingPolicy.createdDate' },\n { path: 'service.bookingPolicy.updatedDate' },\n { path: 'service.schedule.firstSessionStart' },\n { path: 'service.schedule.lastSessionEnd' },\n {\n path: 'service.staffMembers.mainMedia.image.urlExpirationDate',\n },\n {\n path: 'service.staffMemberDetails.staffMembers.mainMedia.image.urlExpirationDate',\n },\n { path: 'service.supportedSlugs.createdDate' },\n { path: 'service.mainSlug.createdDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'service.locations.business.address.geocode.latitude' },\n { path: 'service.locations.business.address.geocode.longitude' },\n { path: 'service.locations.custom.address.geocode.latitude' },\n { path: 'service.locations.custom.address.geocode.longitude' },\n { path: 'service.locations.calculatedAddress.geocode.latitude' },\n { path: 'service.locations.calculatedAddress.geocode.longitude' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __cloneService;\n}\n","import * as ambassadorWixBookingsServicesV2Service from './bookings-services-v2-service-services.http.js';\nimport * as ambassadorWixBookingsServicesV2ServiceTypes from './bookings-services-v2-service-services.types.js';\nimport * as ambassadorWixBookingsServicesV2ServiceUniversalTypes from './bookings-services-v2-service-services.universal.js';\n\nexport type __PublicMethodMetaInfo<\n K = string,\n M = unknown,\n T = unknown,\n S = unknown,\n Q = unknown,\n R = unknown\n> = {\n getUrl: (context: any) => string;\n httpMethod: K;\n path: string;\n pathParams: M;\n __requestType: T;\n __originalRequestType: S;\n __responseType: Q;\n __originalResponseType: R;\n};\n\nexport function createService(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixBookingsServicesV2ServiceUniversalTypes.CreateServiceRequest,\n ambassadorWixBookingsServicesV2ServiceTypes.CreateServiceRequest,\n ambassadorWixBookingsServicesV2ServiceUniversalTypes.CreateServiceResponse,\n ambassadorWixBookingsServicesV2ServiceTypes.CreateServiceResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixBookingsServicesV2Service.createService(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/services',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkCreateServices(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixBookingsServicesV2ServiceUniversalTypes.BulkCreateServicesRequest,\n ambassadorWixBookingsServicesV2ServiceTypes.BulkCreateServicesRequest,\n ambassadorWixBookingsServicesV2ServiceUniversalTypes.BulkCreateServicesResponse,\n ambassadorWixBookingsServicesV2ServiceTypes.BulkCreateServicesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixBookingsServicesV2Service.bulkCreateServices(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/bulk/services/create',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getService(): __PublicMethodMetaInfo<\n 'GET',\n { serviceId: string },\n ambassadorWixBookingsServicesV2ServiceUniversalTypes.GetServiceRequest,\n ambassadorWixBookingsServicesV2ServiceTypes.GetServiceRequest,\n ambassadorWixBookingsServicesV2ServiceUniversalTypes.GetServiceResponse,\n ambassadorWixBookingsServicesV2ServiceTypes.GetServiceResponse\n> {\n const payload = { serviceId: ':serviceId' } as any;\n\n const getRequestOptions =\n ambassadorWixBookingsServicesV2Service.getService(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v2/services/{serviceId}',\n pathParams: { serviceId: 'serviceId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function updateService(): __PublicMethodMetaInfo<\n 'PATCH',\n { serviceId: string },\n ambassadorWixBookingsServicesV2ServiceUniversalTypes.UpdateServiceRequest,\n ambassadorWixBookingsServicesV2ServiceTypes.UpdateServiceRequest,\n ambassadorWixBookingsServicesV2ServiceUniversalTypes.UpdateServiceResponse,\n ambassadorWixBookingsServicesV2ServiceTypes.UpdateServiceResponse\n> {\n const payload = { service: { id: ':serviceId' } } as any;\n\n const getRequestOptions =\n ambassadorWixBookingsServicesV2Service.updateService(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PATCH',\n path: '/v2/services/{service.id}',\n pathParams: { serviceId: 'serviceId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkUpdateServices(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixBookingsServicesV2ServiceUniversalTypes.BulkUpdateServicesRequest,\n ambassadorWixBookingsServicesV2ServiceTypes.BulkUpdateServicesRequest,\n ambassadorWixBookingsServicesV2ServiceUniversalTypes.BulkUpdateServicesResponse,\n ambassadorWixBookingsServicesV2ServiceTypes.BulkUpdateServicesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixBookingsServicesV2Service.bulkUpdateServices(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/bulk/services/update',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkUpdateServicesByFilter(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixBookingsServicesV2ServiceUniversalTypes.BulkUpdateServicesByFilterRequest,\n ambassadorWixBookingsServicesV2ServiceTypes.BulkUpdateServicesByFilterRequest,\n ambassadorWixBookingsServicesV2ServiceUniversalTypes.BulkUpdateServicesByFilterResponse,\n ambassadorWixBookingsServicesV2ServiceTypes.BulkUpdateServicesByFilterResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixBookingsServicesV2Service.bulkUpdateServicesByFilter(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/bulk/services/update-by-filter',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function deleteService(): __PublicMethodMetaInfo<\n 'DELETE',\n { serviceId: string },\n ambassadorWixBookingsServicesV2ServiceUniversalTypes.DeleteServiceRequest,\n ambassadorWixBookingsServicesV2ServiceTypes.DeleteServiceRequest,\n ambassadorWixBookingsServicesV2ServiceUniversalTypes.DeleteServiceResponse,\n ambassadorWixBookingsServicesV2ServiceTypes.DeleteServiceResponse\n> {\n const payload = { serviceId: ':serviceId' } as any;\n\n const getRequestOptions =\n ambassadorWixBookingsServicesV2Service.deleteService(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'DELETE',\n path: '/v2/services/{serviceId}',\n pathParams: { serviceId: 'serviceId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkDeleteServices(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixBookingsServicesV2ServiceUniversalTypes.BulkDeleteServicesRequest,\n ambassadorWixBookingsServicesV2ServiceTypes.BulkDeleteServicesRequest,\n ambassadorWixBookingsServicesV2ServiceUniversalTypes.BulkDeleteServicesResponse,\n ambassadorWixBookingsServicesV2ServiceTypes.BulkDeleteServicesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixBookingsServicesV2Service.bulkDeleteServices(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/bulk/services/delete',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkDeleteServicesByFilter(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixBookingsServicesV2ServiceUniversalTypes.BulkDeleteServicesByFilterRequest,\n ambassadorWixBookingsServicesV2ServiceTypes.BulkDeleteServicesByFilterRequest,\n ambassadorWixBookingsServicesV2ServiceUniversalTypes.BulkDeleteServicesByFilterResponse,\n ambassadorWixBookingsServicesV2ServiceTypes.BulkDeleteServicesByFilterResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixBookingsServicesV2Service.bulkDeleteServicesByFilter(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/bulk/services/delete-by-filter',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function queryServices(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixBookingsServicesV2ServiceUniversalTypes.QueryServicesRequest,\n ambassadorWixBookingsServicesV2ServiceTypes.QueryServicesRequest,\n ambassadorWixBookingsServicesV2ServiceUniversalTypes.QueryServicesResponse,\n ambassadorWixBookingsServicesV2ServiceTypes.QueryServicesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixBookingsServicesV2Service.queryServices(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/services/query',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function searchServices(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixBookingsServicesV2ServiceUniversalTypes.SearchServicesRequest,\n ambassadorWixBookingsServicesV2ServiceTypes.SearchServicesRequest,\n ambassadorWixBookingsServicesV2ServiceUniversalTypes.SearchServicesResponse,\n ambassadorWixBookingsServicesV2ServiceTypes.SearchServicesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixBookingsServicesV2Service.searchServices(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/services/search',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function queryPolicies(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixBookingsServicesV2ServiceUniversalTypes.QueryPoliciesRequest,\n ambassadorWixBookingsServicesV2ServiceTypes.QueryPoliciesRequest,\n ambassadorWixBookingsServicesV2ServiceUniversalTypes.QueryPoliciesResponse,\n ambassadorWixBookingsServicesV2ServiceTypes.QueryPoliciesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixBookingsServicesV2Service.queryPolicies(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/services/policies/query',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function queryBookingForms(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixBookingsServicesV2ServiceUniversalTypes.QueryBookingFormsRequest,\n ambassadorWixBookingsServicesV2ServiceTypes.QueryBookingFormsRequest,\n ambassadorWixBookingsServicesV2ServiceUniversalTypes.QueryBookingFormsResponse,\n ambassadorWixBookingsServicesV2ServiceTypes.QueryBookingFormsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixBookingsServicesV2Service.queryBookingForms(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/services/booking-forms/query',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function countServices(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixBookingsServicesV2ServiceUniversalTypes.CountServicesRequest,\n ambassadorWixBookingsServicesV2ServiceTypes.CountServicesRequest,\n ambassadorWixBookingsServicesV2ServiceUniversalTypes.CountServicesResponse,\n ambassadorWixBookingsServicesV2ServiceTypes.CountServicesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixBookingsServicesV2Service.countServices(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/services/count',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function queryLocations(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixBookingsServicesV2ServiceUniversalTypes.QueryLocationsRequest,\n ambassadorWixBookingsServicesV2ServiceTypes.QueryLocationsRequest,\n ambassadorWixBookingsServicesV2ServiceUniversalTypes.QueryLocationsResponse,\n ambassadorWixBookingsServicesV2ServiceTypes.QueryLocationsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixBookingsServicesV2Service.queryLocations(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/services/locations/query',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function queryCategories(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixBookingsServicesV2ServiceUniversalTypes.QueryCategoriesRequest,\n ambassadorWixBookingsServicesV2ServiceTypes.QueryCategoriesRequest,\n ambassadorWixBookingsServicesV2ServiceUniversalTypes.QueryCategoriesResponse,\n ambassadorWixBookingsServicesV2ServiceTypes.QueryCategoriesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixBookingsServicesV2Service.queryCategories(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/services/categories/query',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function setServiceLocations(): __PublicMethodMetaInfo<\n 'POST',\n { serviceId: string },\n ambassadorWixBookingsServicesV2ServiceUniversalTypes.SetServiceLocationsRequest,\n ambassadorWixBookingsServicesV2ServiceTypes.SetServiceLocationsRequest,\n ambassadorWixBookingsServicesV2ServiceUniversalTypes.SetServiceLocationsResponse,\n ambassadorWixBookingsServicesV2ServiceTypes.SetServiceLocationsResponse\n> {\n const payload = { serviceId: ':serviceId' } as any;\n\n const getRequestOptions =\n ambassadorWixBookingsServicesV2Service.setServiceLocations(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/services/{serviceId}/locations',\n pathParams: { serviceId: 'serviceId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function enablePricingPlansForService(): __PublicMethodMetaInfo<\n 'POST',\n { serviceId: string },\n ambassadorWixBookingsServicesV2ServiceUniversalTypes.EnablePricingPlansForServiceRequest,\n ambassadorWixBookingsServicesV2ServiceTypes.EnablePricingPlansForServiceRequest,\n ambassadorWixBookingsServicesV2ServiceUniversalTypes.EnablePricingPlansForServiceResponse,\n ambassadorWixBookingsServicesV2ServiceTypes.EnablePricingPlansForServiceResponse\n> {\n const payload = { serviceId: ':serviceId' } as any;\n\n const getRequestOptions =\n ambassadorWixBookingsServicesV2Service.enablePricingPlansForService(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/services/{serviceId}/pricing-plans/add',\n pathParams: { serviceId: 'serviceId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function disablePricingPlansForService(): __PublicMethodMetaInfo<\n 'POST',\n { serviceId: string },\n ambassadorWixBookingsServicesV2ServiceUniversalTypes.DisablePricingPlansForServiceRequest,\n ambassadorWixBookingsServicesV2ServiceTypes.DisablePricingPlansForServiceRequest,\n ambassadorWixBookingsServicesV2ServiceUniversalTypes.DisablePricingPlansForServiceResponse,\n ambassadorWixBookingsServicesV2ServiceTypes.DisablePricingPlansForServiceResponse\n> {\n const payload = { serviceId: ':serviceId' } as any;\n\n const getRequestOptions =\n ambassadorWixBookingsServicesV2Service.disablePricingPlansForService(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/services/{serviceId}/pricing-plans/remove',\n pathParams: { serviceId: 'serviceId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function setCustomSlug(): __PublicMethodMetaInfo<\n 'POST',\n { serviceId: string },\n ambassadorWixBookingsServicesV2ServiceUniversalTypes.SetCustomSlugRequest,\n ambassadorWixBookingsServicesV2ServiceTypes.SetCustomSlugRequest,\n ambassadorWixBookingsServicesV2ServiceUniversalTypes.SetCustomSlugResponse,\n ambassadorWixBookingsServicesV2ServiceTypes.SetCustomSlugResponse\n> {\n const payload = { serviceId: ':serviceId' } as any;\n\n const getRequestOptions =\n ambassadorWixBookingsServicesV2Service.setCustomSlug(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/services/{serviceId}/slugs/custom',\n pathParams: { serviceId: 'serviceId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function validateSlug(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixBookingsServicesV2ServiceUniversalTypes.ValidateSlugRequest,\n ambassadorWixBookingsServicesV2ServiceTypes.ValidateSlugRequest,\n ambassadorWixBookingsServicesV2ServiceUniversalTypes.ValidateSlugResponse,\n ambassadorWixBookingsServicesV2ServiceTypes.ValidateSlugResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixBookingsServicesV2Service.validateSlug(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/services/slugs/validate',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function cloneService(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixBookingsServicesV2ServiceUniversalTypes.CloneServiceRequest,\n ambassadorWixBookingsServicesV2ServiceTypes.CloneServiceRequest,\n ambassadorWixBookingsServicesV2ServiceUniversalTypes.CloneServiceResponse,\n ambassadorWixBookingsServicesV2ServiceTypes.CloneServiceResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixBookingsServicesV2Service.cloneService(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/services/clone',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,4BAAAA;AAAA,EAAA,0BAAAC;AAAA,EAAA,kCAAAC;AAAA,EAAA,0BAAAC;AAAA,EAAA,kCAAAC;AAAA,EAAA,oBAAAC;AAAA,EAAA,qBAAAC;AAAA,EAAA,qBAAAC;AAAA,EAAA,qBAAAC;AAAA,EAAA,qCAAAC;AAAA,EAAA,oCAAAC;AAAA,EAAA,kBAAAC;AAAA,EAAA,yBAAAC;AAAA,EAAA,uBAAAC;AAAA,EAAA,sBAAAC;AAAA,EAAA,qBAAAC;AAAA,EAAA,qBAAAC;AAAA,EAAA,sBAAAC;AAAA,EAAA,qBAAAC;AAAA,EAAA,2BAAAC;AAAA,EAAA,qBAAAC;AAAA,EAAA,oBAAAC;AAAA;AAAA;;;ACAA,0BAAkC;AAClC,mBAA6C;AAC7C,IAAAC,gBAA6C;AAC7C,uBAAqD;AACrD,IAAAC,oBAAqD;AACrD,wBAAqD;AACrD,6BAA+B;AAC/B,IAAAC,uBAA2B;AAI3B,SAAS,+CACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,sBAAsB;AAAA,MACpB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,mBAAmB;AAAA,MACjB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QAC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,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["bulkCreateServices","bulkDeleteServices","bulkDeleteServicesByFilter","bulkUpdateServices","bulkUpdateServicesByFilter","cloneService","countServices","createService","deleteService","disablePricingPlansForService","enablePricingPlansForService","getService","queryBookingForms","queryCategories","queryLocations","queryPolicies","queryServices","searchServices","setCustomSlug","setServiceLocations","updateService","validateSlug","import_float","import_timestamp","import_rest_modules","payload","createService","bulkCreateServices","getService","updateService","bulkUpdateServices","bulkUpdateServicesByFilter","deleteService","bulkDeleteServices","bulkDeleteServicesByFilter","queryServices","searchServices","queryPolicies","queryBookingForms","countServices","queryLocations","queryCategories","setServiceLocations","enablePricingPlansForService","disablePricingPlansForService","setCustomSlug","validateSlug","cloneService"]}
@@ -3588,8 +3588,6 @@ interface BulkDeleteServicesByFilterOptions {
3588
3588
  /** Whether to notify participants about the change and an optional custom message. */
3589
3589
  participantNotification?: ParticipantNotification;
3590
3590
  }
3591
- interface QueryServicesOptions {
3592
- }
3593
3591
  interface QueryOffsetResult {
3594
3592
  currentPage: number | undefined;
3595
3593
  totalPages: number | undefined;
@@ -3905,4 +3903,4 @@ interface ValidateSlugOptions {
3905
3903
  slug?: string;
3906
3904
  }
3907
3905
 
3908
- export { AggregationType as $, type SetCustomSlugResponse as A, type BulkCreateServicesOptions as B, type CursorQuery as C, type DeleteServiceOptions as D, type EnablePricingPlansForServiceResponse as E, type ValidateSlugResponse as F, type CloneServiceResponse as G, type ServiceCreatedEnvelope as H, type ServiceDeletedEnvelope as I, type ServiceUpdatedEnvelope as J, ServiceType as K, type Location as L, LocationType as M, V2RequestedFields as N, SortOrder as O, SortType as P, type QueryServicesOptions as Q, RateType as R, type Service as S, SortDirection as T, type UpdateService as U, type ValidateSlugOptions as V, WebhookIdentityType as W, MissingValues as X, ScalarType as Y, NestedAggregationType as Z, Interval as _, type BulkCreateServicesResponse as a, type ExtendedFields as a$, Mode as a0, RequestedFields as a1, Action as a2, InvalidSlugError as a3, CloneErrors as a4, Status as a5, CategoryNotificationEvent as a6, BenefitType as a7, Event as a8, CrudType as a9, type PolicyDescription as aA, type LimitEarlyBookingPolicy as aB, type LimitLateBookingPolicy as aC, type BookAfterStartPolicy as aD, type CancellationPolicy as aE, type ReschedulePolicy as aF, type WaitlistPolicy as aG, type ParticipantsPolicy as aH, type ResourcesPolicy as aI, type CancellationFeePolicy as aJ, type CancellationWindow as aK, type CancellationWindowFeeOneOf as aL, type SaveCreditCardPolicy as aM, type Schedule as aN, type AvailabilityConstraints as aO, type Duration as aP, type StaffMember as aQ, type StaffMediaItem as aR, type StaffMediaItemItemOneOf as aS, type StaffMemberDetails as aT, type ResourceGroup as aU, type ResourceIds as aV, type ServiceResource as aW, type ServiceResourceSelectionOneOf as aX, type ResourceType as aY, type Slug as aZ, type URLs as a_, PlacementType as aa, DayOfWeek as ab, ResolutionMethod as ac, type Media as ad, type MediaItem as ae, type MediaItemItemOneOf as af, type V2Category as ag, type Form as ah, type FormSettings as ai, type Payment as aj, type PaymentRateOneOf as ak, type FixedPayment as al, type Money as am, type CustomPayment as an, type VariedPayment as ao, type PaymentOptions as ap, type OnlineBooking as aq, type Conferencing as ar, type LocationOptionsOneOf as as, type CommonAddress as at, type CommonAddressStreetOneOf as au, type StreetAddress as av, type AddressLocation as aw, type BusinessLocationOptions as ax, type CustomLocationOptions as ay, type BookingPolicy as az, type BulkUpdateServicesOptions as b, type BulkDeleteServicesRequest as b$, type SeoSchema as b0, type Keyword as b1, type Tag as b2, type Settings as b3, type AddOnGroup as b4, type AddOnDetails as b5, type ReindexMessage as b6, type ReindexMessageActionOneOf as b7, type Upsert as b8, type Delete as b9, type ValidateAddOnsSelectionRequest as bA, type ValidateAddOnsSelectionResponse as bB, type ValidationResult as bC, type CreateServiceRequest as bD, type CreateServiceResponse as bE, type ValidateServiceRequest as bF, type ValidateServiceResponse as bG, type FieldViolation as bH, type BulkCreateServicesRequest as bI, type BulkServiceResult as bJ, type ItemMetadata as bK, type ApplicationError as bL, type BulkActionMetadata as bM, type GetServiceRequest as bN, type GetServiceResponse as bO, type GetServiceAvailabilityConstraintsRequest as bP, type GetServiceAvailabilityConstraintsResponse as bQ, type ServiceAvailabilityConstraints as bR, type SplitInterval as bS, type UpdateServiceRequest as bT, type UpdateServiceResponse as bU, type BulkUpdateServicesRequest as bV, type MaskedService as bW, type BulkUpdateServicesByFilterRequest as bX, type DeleteServiceRequest as bY, type ParticipantNotification as bZ, type DeleteServiceResponse as b_, type Schema as ba, type SetCustomSlugEvent as bb, type ServicesUrlsChanged as bc, type DomainEvent as bd, type DomainEventBodyOneOf as be, type EntityCreatedEvent as bf, type RestoreInfo as bg, type EntityUpdatedEvent as bh, type EntityDeletedEvent as bi, type ActionEvent as bj, type MessageEnvelope as bk, type IdentificationData as bl, type IdentificationDataIdOneOf as bm, type CreateAddOnGroupRequest as bn, type CreateAddOnGroupResponse as bo, type DeleteAddOnGroupRequest as bp, type DeleteAddOnGroupResponse as bq, type UpdateAddOnGroupRequest as br, type UpdateAddOnGroupResponse as bs, type ListAddOnGroupsByServiceIdRequest as bt, type ListAddOnGroupsByServiceIdResponse as bu, type AddOn as bv, type AddOnAddOnInfoOneOf as bw, type AddOnGroupDetail as bx, type SetAddOnsForGroupRequest as by, type SetAddOnsForGroupResponse as bz, type BulkUpdateServicesResponse as c, type QueryCategoriesRequest as c$, type BulkDeleteServicesByFilterRequest as c0, type QueryServicesRequest as c1, type QueryV2 as c2, type QueryV2PagingMethodOneOf as c3, type Sorting as c4, type Paging as c5, type CursorPaging as c6, type QueryServicesResponse as c7, type PagingMetadataV2 as c8, type Cursors as c9, type AggregationResultsScalarResult as cA, type NestedValueAggregationResult as cB, type ValueResult as cC, type RangeResult as cD, type ScalarResult as cE, type NestedResultValue as cF, type NestedResultValueResultOneOf as cG, type Results as cH, type DateHistogramResult as cI, type GroupByValueResults as cJ, type DateHistogramResults as cK, type NestedResults as cL, type AggregationResults as cM, type AggregationResultsResultOneOf as cN, type QueryPoliciesRequest as cO, type CursorQueryPagingMethodOneOf as cP, type BookingPolicyWithServices as cQ, type QueryBookingFormsRequest as cR, type BookingForm as cS, type FormDetails as cT, type ConnectedService as cU, type CountServicesRequest as cV, type QueryLocationsRequest as cW, type QueryLocationsFilter as cX, type BusinessLocations as cY, type CustomLocations as cZ, type CustomerLocations as c_, type SearchServicesRequest as ca, type CursorSearch as cb, type CursorSearchPagingMethodOneOf as cc, type Aggregation as cd, type AggregationKindOneOf as ce, type RangeBucket as cf, type IncludeMissingValuesOptions as cg, type ValueAggregation as ch, type ValueAggregationOptionsOneOf as ci, type RangeAggregation as cj, type ScalarAggregation as ck, type DateHistogramAggregation as cl, type NestedAggregationItem as cm, type NestedAggregationItemKindOneOf as cn, type NestedAggregation as co, type GroupByAggregation as cp, type GroupByAggregationKindOneOf as cq, type SearchDetails as cr, type CursorPagingMetadata as cs, type AggregationData as ct, type ValueAggregationResult as cu, type RangeAggregationResult as cv, type NestedAggregationResults as cw, type NestedAggregationResultsResultOneOf as cx, type ValueResults as cy, type RangeResults as cz, type BulkUpdateServicesByFilterOptions as d, type QueryCategoriesFilter as d0, type QueryServicesMultiLanguageRequest as d1, type QueryServicesMultiLanguageResponse as d2, type SetServiceLocationsRequest as d3, type RemovedLocationSessionsAction as d4, type RemovedLocationSessionsActionActionOptionsOneOf as d5, type MoveToNewLocationsOptions as d6, type EnablePricingPlansForServiceRequest as d7, type InvalidPricingPlan as d8, type DisablePricingPlansForServiceRequest as d9, type TimePeriod as dA, type SpecialHourPeriod as dB, type Multilingual as dC, type SupportedLanguage as dD, type ConsentPolicy as dE, type Translation as dF, type ChangeContext as dG, type ChangeContextPayloadOneOf as dH, type PropertiesChange as dI, type SiteCreated as dJ, type SiteCloned as dK, type BaseEventMetadata as dL, type EventMetadata as dM, type ServicesQueryResult as dN, type ServiceSearchSpec as dO, type SetCustomSlugRequest as da, type ValidateSlugRequest as db, type CloneServiceRequest as dc, type CategoryNotification as dd, type Category as de, type Empty as df, type BenefitNotification as dg, type Benefit as dh, type EntryPass as di, type Discount as dj, type DiscountDiscountOneOf as dk, type Behavior as dl, type BehaviorBehaviorOneOf as dm, type UserDomainInfoChangedEvent as dn, type HtmlSitePublished as dp, type Page as dq, type SitePropertiesNotification as dr, type SitePropertiesEvent as ds, type Properties as dt, type Categories as du, type Locale as dv, type Address as dw, type AddressHint as dx, type GeoCoordinates as dy, type BusinessSchedule as dz, type BulkUpdateServicesByFilterResponse as e, type BulkDeleteServicesOptions as f, type BulkDeleteServicesResponse as g, type BulkDeleteServicesByFilterOptions as h, type BulkDeleteServicesByFilterResponse as i, type ServicesQueryBuilder as j, type ServiceSearch as k, type SearchServicesResponse as l, type QueryPoliciesResponse as m, type QueryBookingFormsOptions as n, type QueryBookingFormsResponse as o, type CountServicesOptions as p, type CountServicesResponse as q, type QueryLocationsOptions as r, type QueryLocationsResponse as s, type QueryCategoriesOptions as t, type QueryCategoriesResponse as u, type SetServiceLocationsOptions as v, type SetServiceLocationsResponse as w, type DisablePricingPlansForServiceOptions as x, type DisablePricingPlansForServiceResponse as y, type SetCustomSlugOptions as z };
3906
+ export { Mode as $, type ValidateSlugResponse as A, type BulkCreateServicesOptions as B, type CursorQuery as C, type DeleteServiceOptions as D, type EnablePricingPlansForServiceResponse as E, type CloneServiceResponse as F, type ServiceCreatedEnvelope as G, type ServiceDeletedEnvelope as H, type ServiceUpdatedEnvelope as I, ServiceType as J, LocationType as K, type Location as L, V2RequestedFields as M, SortOrder as N, SortType as O, SortDirection as P, type QueryPoliciesResponse as Q, RateType as R, type Service as S, MissingValues as T, type UpdateService as U, type ValidateSlugOptions as V, WebhookIdentityType as W, ScalarType as X, NestedAggregationType as Y, Interval as Z, AggregationType as _, type BulkCreateServicesResponse as a, type SeoSchema as a$, RequestedFields as a0, Action as a1, InvalidSlugError as a2, CloneErrors as a3, Status as a4, CategoryNotificationEvent as a5, BenefitType as a6, Event as a7, CrudType as a8, PlacementType as a9, type LimitEarlyBookingPolicy as aA, type LimitLateBookingPolicy as aB, type BookAfterStartPolicy as aC, type CancellationPolicy as aD, type ReschedulePolicy as aE, type WaitlistPolicy as aF, type ParticipantsPolicy as aG, type ResourcesPolicy as aH, type CancellationFeePolicy as aI, type CancellationWindow as aJ, type CancellationWindowFeeOneOf as aK, type SaveCreditCardPolicy as aL, type Schedule as aM, type AvailabilityConstraints as aN, type Duration as aO, type StaffMember as aP, type StaffMediaItem as aQ, type StaffMediaItemItemOneOf as aR, type StaffMemberDetails as aS, type ResourceGroup as aT, type ResourceIds as aU, type ServiceResource as aV, type ServiceResourceSelectionOneOf as aW, type ResourceType as aX, type Slug as aY, type URLs as aZ, type ExtendedFields as a_, DayOfWeek as aa, ResolutionMethod as ab, type Media as ac, type MediaItem as ad, type MediaItemItemOneOf as ae, type V2Category as af, type Form as ag, type FormSettings as ah, type Payment as ai, type PaymentRateOneOf as aj, type FixedPayment as ak, type Money as al, type CustomPayment as am, type VariedPayment as an, type PaymentOptions as ao, type OnlineBooking as ap, type Conferencing as aq, type LocationOptionsOneOf as ar, type CommonAddress as as, type CommonAddressStreetOneOf as at, type StreetAddress as au, type AddressLocation as av, type BusinessLocationOptions as aw, type CustomLocationOptions as ax, type BookingPolicy as ay, type PolicyDescription as az, type BulkUpdateServicesOptions as b, type BulkDeleteServicesByFilterRequest as b$, type Keyword as b0, type Tag as b1, type Settings as b2, type AddOnGroup as b3, type AddOnDetails as b4, type ReindexMessage as b5, type ReindexMessageActionOneOf as b6, type Upsert as b7, type Delete as b8, type Schema as b9, type ValidateAddOnsSelectionResponse as bA, type ValidationResult as bB, type CreateServiceRequest as bC, type CreateServiceResponse as bD, type ValidateServiceRequest as bE, type ValidateServiceResponse as bF, type FieldViolation as bG, type BulkCreateServicesRequest as bH, type BulkServiceResult as bI, type ItemMetadata as bJ, type ApplicationError as bK, type BulkActionMetadata as bL, type GetServiceRequest as bM, type GetServiceResponse as bN, type GetServiceAvailabilityConstraintsRequest as bO, type GetServiceAvailabilityConstraintsResponse as bP, type ServiceAvailabilityConstraints as bQ, type SplitInterval as bR, type UpdateServiceRequest as bS, type UpdateServiceResponse as bT, type BulkUpdateServicesRequest as bU, type MaskedService as bV, type BulkUpdateServicesByFilterRequest as bW, type DeleteServiceRequest as bX, type ParticipantNotification as bY, type DeleteServiceResponse as bZ, type BulkDeleteServicesRequest as b_, type SetCustomSlugEvent as ba, type ServicesUrlsChanged as bb, type DomainEvent as bc, type DomainEventBodyOneOf as bd, type EntityCreatedEvent as be, type RestoreInfo as bf, type EntityUpdatedEvent as bg, type EntityDeletedEvent as bh, type ActionEvent as bi, type MessageEnvelope as bj, type IdentificationData as bk, type IdentificationDataIdOneOf as bl, type CreateAddOnGroupRequest as bm, type CreateAddOnGroupResponse as bn, type DeleteAddOnGroupRequest as bo, type DeleteAddOnGroupResponse as bp, type UpdateAddOnGroupRequest as bq, type UpdateAddOnGroupResponse as br, type ListAddOnGroupsByServiceIdRequest as bs, type ListAddOnGroupsByServiceIdResponse as bt, type AddOn as bu, type AddOnAddOnInfoOneOf as bv, type AddOnGroupDetail as bw, type SetAddOnsForGroupRequest as bx, type SetAddOnsForGroupResponse as by, type ValidateAddOnsSelectionRequest as bz, type BulkUpdateServicesResponse as c, type QueryCategoriesFilter as c$, type QueryServicesRequest as c0, type QueryV2 as c1, type QueryV2PagingMethodOneOf as c2, type Sorting as c3, type Paging as c4, type CursorPaging as c5, type QueryServicesResponse as c6, type PagingMetadataV2 as c7, type Cursors as c8, type SearchServicesRequest as c9, type NestedValueAggregationResult as cA, type ValueResult as cB, type RangeResult as cC, type ScalarResult as cD, type NestedResultValue as cE, type NestedResultValueResultOneOf as cF, type Results as cG, type DateHistogramResult as cH, type GroupByValueResults as cI, type DateHistogramResults as cJ, type NestedResults as cK, type AggregationResults as cL, type AggregationResultsResultOneOf as cM, type QueryPoliciesRequest as cN, type CursorQueryPagingMethodOneOf as cO, type BookingPolicyWithServices as cP, type QueryBookingFormsRequest as cQ, type BookingForm as cR, type FormDetails as cS, type ConnectedService as cT, type CountServicesRequest as cU, type QueryLocationsRequest as cV, type QueryLocationsFilter as cW, type BusinessLocations as cX, type CustomLocations as cY, type CustomerLocations as cZ, type QueryCategoriesRequest as c_, type CursorSearch as ca, type CursorSearchPagingMethodOneOf as cb, type Aggregation as cc, type AggregationKindOneOf as cd, type RangeBucket as ce, type IncludeMissingValuesOptions as cf, type ValueAggregation as cg, type ValueAggregationOptionsOneOf as ch, type RangeAggregation as ci, type ScalarAggregation as cj, type DateHistogramAggregation as ck, type NestedAggregationItem as cl, type NestedAggregationItemKindOneOf as cm, type NestedAggregation as cn, type GroupByAggregation as co, type GroupByAggregationKindOneOf as cp, type SearchDetails as cq, type CursorPagingMetadata as cr, type AggregationData as cs, type ValueAggregationResult as ct, type RangeAggregationResult as cu, type NestedAggregationResults as cv, type NestedAggregationResultsResultOneOf as cw, type ValueResults as cx, type RangeResults as cy, type AggregationResultsScalarResult as cz, type BulkUpdateServicesByFilterOptions as d, type QueryServicesMultiLanguageRequest as d0, type QueryServicesMultiLanguageResponse as d1, type SetServiceLocationsRequest as d2, type RemovedLocationSessionsAction as d3, type RemovedLocationSessionsActionActionOptionsOneOf as d4, type MoveToNewLocationsOptions as d5, type EnablePricingPlansForServiceRequest as d6, type InvalidPricingPlan as d7, type DisablePricingPlansForServiceRequest as d8, type SetCustomSlugRequest as d9, type SpecialHourPeriod as dA, type Multilingual as dB, type SupportedLanguage as dC, type ConsentPolicy as dD, type Translation as dE, type ChangeContext as dF, type ChangeContextPayloadOneOf as dG, type PropertiesChange as dH, type SiteCreated as dI, type SiteCloned as dJ, type BaseEventMetadata as dK, type EventMetadata as dL, type ServicesQueryResult as dM, type ServiceSearchSpec as dN, type ValidateSlugRequest as da, type CloneServiceRequest as db, type CategoryNotification as dc, type Category as dd, type Empty as de, type BenefitNotification as df, type Benefit as dg, type EntryPass as dh, type Discount as di, type DiscountDiscountOneOf as dj, type Behavior as dk, type BehaviorBehaviorOneOf as dl, type UserDomainInfoChangedEvent as dm, type HtmlSitePublished as dn, type Page as dp, type SitePropertiesNotification as dq, type SitePropertiesEvent as dr, type Properties as ds, type Categories as dt, type Locale as du, type Address as dv, type AddressHint as dw, type GeoCoordinates as dx, type BusinessSchedule as dy, type TimePeriod as dz, type BulkUpdateServicesByFilterResponse as e, type BulkDeleteServicesOptions as f, type BulkDeleteServicesResponse as g, type BulkDeleteServicesByFilterOptions as h, type BulkDeleteServicesByFilterResponse as i, type ServicesQueryBuilder as j, type ServiceSearch as k, type SearchServicesResponse as l, type QueryBookingFormsOptions as m, type QueryBookingFormsResponse as n, type CountServicesOptions as o, type CountServicesResponse as p, type QueryLocationsOptions as q, type QueryLocationsResponse as r, type QueryCategoriesOptions as s, type QueryCategoriesResponse as t, type SetServiceLocationsOptions as u, type SetServiceLocationsResponse as v, type DisablePricingPlansForServiceOptions as w, type DisablePricingPlansForServiceResponse as x, type SetCustomSlugOptions as y, type SetCustomSlugResponse as z };
@@ -1,6 +1,6 @@
1
1
  import { HttpClient, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
2
- import { S as Service, B as BulkCreateServicesOptions, a as BulkCreateServicesResponse, U as UpdateService, b as BulkUpdateServicesOptions, c as BulkUpdateServicesResponse, d as BulkUpdateServicesByFilterOptions, e as BulkUpdateServicesByFilterResponse, D as DeleteServiceOptions, f as BulkDeleteServicesOptions, g as BulkDeleteServicesResponse, h as BulkDeleteServicesByFilterOptions, i as BulkDeleteServicesByFilterResponse, Q as QueryServicesOptions, j as ServicesQueryBuilder, k as ServiceSearch, l as SearchServicesResponse, C as CursorQuery, m as QueryPoliciesResponse, n as QueryBookingFormsOptions, o as QueryBookingFormsResponse, p as CountServicesOptions, q as CountServicesResponse, r as QueryLocationsOptions, s as QueryLocationsResponse, t as QueryCategoriesOptions, u as QueryCategoriesResponse, L as Location, v as SetServiceLocationsOptions, w as SetServiceLocationsResponse, E as EnablePricingPlansForServiceResponse, x as DisablePricingPlansForServiceOptions, y as DisablePricingPlansForServiceResponse, z as SetCustomSlugOptions, A as SetCustomSlugResponse, V as ValidateSlugOptions, F as ValidateSlugResponse, G as CloneServiceResponse, H as ServiceCreatedEnvelope, I as ServiceDeletedEnvelope, J as ServiceUpdatedEnvelope } from './bookings-services-v2-service-services.universal-CblVMEM-.mjs';
3
- export { a2 as Action, bj as ActionEvent, bv as AddOn, bw as AddOnAddOnInfoOneOf, b5 as AddOnDetails, b4 as AddOnGroup, bx as AddOnGroupDetail, dw as Address, dx as AddressHint, aw as AddressLocation, cd as Aggregation, ct as AggregationData, ce as AggregationKindOneOf, cM as AggregationResults, cN as AggregationResultsResultOneOf, cA as AggregationResultsScalarResult, $ as AggregationType, bL as ApplicationError, aO as AvailabilityConstraints, dL as BaseEventMetadata, dl as Behavior, dm as BehaviorBehaviorOneOf, dh as Benefit, dg as BenefitNotification, a7 as BenefitType, aD as BookAfterStartPolicy, cS as BookingForm, az as BookingPolicy, cQ as BookingPolicyWithServices, bM as BulkActionMetadata, bI as BulkCreateServicesRequest, c0 as BulkDeleteServicesByFilterRequest, b$ as BulkDeleteServicesRequest, bJ as BulkServiceResult, bX as BulkUpdateServicesByFilterRequest, bV as BulkUpdateServicesRequest, ax as BusinessLocationOptions, cY as BusinessLocations, dz as BusinessSchedule, aJ as CancellationFeePolicy, aE as CancellationPolicy, aK as CancellationWindow, aL as CancellationWindowFeeOneOf, du as Categories, de as Category, dd as CategoryNotification, a6 as CategoryNotificationEvent, dG as ChangeContext, dH as ChangeContextPayloadOneOf, a4 as CloneErrors, dc as CloneServiceRequest, at as CommonAddress, au as CommonAddressStreetOneOf, ar as Conferencing, cU as ConnectedService, dE as ConsentPolicy, cV as CountServicesRequest, bn as CreateAddOnGroupRequest, bo as CreateAddOnGroupResponse, bD as CreateServiceRequest, bE as CreateServiceResponse, a9 as CrudType, c6 as CursorPaging, cs as CursorPagingMetadata, cP as CursorQueryPagingMethodOneOf, cb as CursorSearch, cc as CursorSearchPagingMethodOneOf, c9 as Cursors, ay as CustomLocationOptions, cZ as CustomLocations, an as CustomPayment, c_ as CustomerLocations, cl as DateHistogramAggregation, cI as DateHistogramResult, cK as DateHistogramResults, ab as DayOfWeek, b9 as Delete, bp as DeleteAddOnGroupRequest, bq as DeleteAddOnGroupResponse, bY as DeleteServiceRequest, b_ as DeleteServiceResponse, d9 as DisablePricingPlansForServiceRequest, dj as Discount, dk as DiscountDiscountOneOf, bd as DomainEvent, be as DomainEventBodyOneOf, aP as Duration, df as Empty, d7 as EnablePricingPlansForServiceRequest, bf as EntityCreatedEvent, bi as EntityDeletedEvent, bh as EntityUpdatedEvent, di as EntryPass, a8 as Event, dM as EventMetadata, a$ as ExtendedFields, bH as FieldViolation, al as FixedPayment, ah as Form, cT as FormDetails, ai as FormSettings, dy as GeoCoordinates, bP as GetServiceAvailabilityConstraintsRequest, bQ as GetServiceAvailabilityConstraintsResponse, bN as GetServiceRequest, bO as GetServiceResponse, cp as GroupByAggregation, cq as GroupByAggregationKindOneOf, cJ as GroupByValueResults, dp as HtmlSitePublished, bl as IdentificationData, bm as IdentificationDataIdOneOf, cg as IncludeMissingValuesOptions, _ as Interval, d8 as InvalidPricingPlan, a3 as InvalidSlugError, bK as ItemMetadata, b1 as Keyword, aB as LimitEarlyBookingPolicy, aC as LimitLateBookingPolicy, bt as ListAddOnGroupsByServiceIdRequest, bu as ListAddOnGroupsByServiceIdResponse, dv as Locale, as as LocationOptionsOneOf, M as LocationType, bW as MaskedService, ad as Media, ae as MediaItem, af as MediaItemItemOneOf, bk as MessageEnvelope, X as MissingValues, a0 as Mode, am as Money, d6 as MoveToNewLocationsOptions, dC as Multilingual, co as NestedAggregation, cm as NestedAggregationItem, cn as NestedAggregationItemKindOneOf, cw as NestedAggregationResults, cx as NestedAggregationResultsResultOneOf, Z as NestedAggregationType, cF as NestedResultValue, cG as NestedResultValueResultOneOf, cL as NestedResults, cB as NestedValueAggregationResult, aq as OnlineBooking, dq as Page, c5 as Paging, c8 as PagingMetadataV2, bZ as ParticipantNotification, aH as ParticipantsPolicy, aj as Payment, ap as PaymentOptions, ak as PaymentRateOneOf, aa as PlacementType, aA as PolicyDescription, dt as Properties, dI as PropertiesChange, cR as QueryBookingFormsRequest, d0 as QueryCategoriesFilter, c$ as QueryCategoriesRequest, cX as QueryLocationsFilter, cW as QueryLocationsRequest, cO as QueryPoliciesRequest, d1 as QueryServicesMultiLanguageRequest, d2 as QueryServicesMultiLanguageResponse, c1 as QueryServicesRequest, c7 as QueryServicesResponse, c2 as QueryV2, c3 as QueryV2PagingMethodOneOf, cj as RangeAggregation, cv as RangeAggregationResult, cf as RangeBucket, cD as RangeResult, cz as RangeResults, R as RateType, b6 as ReindexMessage, b7 as ReindexMessageActionOneOf, d4 as RemovedLocationSessionsAction, d5 as RemovedLocationSessionsActionActionOptionsOneOf, a1 as RequestedFields, aF as ReschedulePolicy, ac as ResolutionMethod, aU as ResourceGroup, aV as ResourceIds, aY as ResourceType, aI as ResourcesPolicy, bg as RestoreInfo, cH as Results, aM as SaveCreditCardPolicy, ck as ScalarAggregation, cE as ScalarResult, Y as ScalarType, aN as Schedule, ba as Schema, cr as SearchDetails, ca as SearchServicesRequest, b0 as SeoSchema, bR as ServiceAvailabilityConstraints, aW as ServiceResource, aX as ServiceResourceSelectionOneOf, dO as ServiceSearchSpec, K as ServiceType, dN as ServicesQueryResult, bc as ServicesUrlsChanged, by as SetAddOnsForGroupRequest, bz as SetAddOnsForGroupResponse, bb as SetCustomSlugEvent, da as SetCustomSlugRequest, d3 as SetServiceLocationsRequest, b3 as Settings, dK as SiteCloned, dJ as SiteCreated, ds as SitePropertiesEvent, dr as SitePropertiesNotification, aZ as Slug, T as SortDirection, O as SortOrder, P as SortType, c4 as Sorting, dB as SpecialHourPeriod, bS as SplitInterval, aR as StaffMediaItem, aS as StaffMediaItemItemOneOf, aQ as StaffMember, aT as StaffMemberDetails, a5 as Status, av as StreetAddress, dD as SupportedLanguage, b2 as Tag, dA as TimePeriod, dF as Translation, a_ as URLs, br as UpdateAddOnGroupRequest, bs as UpdateAddOnGroupResponse, bT as UpdateServiceRequest, bU as UpdateServiceResponse, b8 as Upsert, dn as UserDomainInfoChangedEvent, ag as V2Category, N as V2RequestedFields, bA as ValidateAddOnsSelectionRequest, bB as ValidateAddOnsSelectionResponse, bF as ValidateServiceRequest, bG as ValidateServiceResponse, db as ValidateSlugRequest, bC as ValidationResult, ch as ValueAggregation, ci as ValueAggregationOptionsOneOf, cu as ValueAggregationResult, cC as ValueResult, cy as ValueResults, ao as VariedPayment, aG as WaitlistPolicy, W as WebhookIdentityType } from './bookings-services-v2-service-services.universal-CblVMEM-.mjs';
2
+ import { S as Service, B as BulkCreateServicesOptions, a as BulkCreateServicesResponse, U as UpdateService, b as BulkUpdateServicesOptions, c as BulkUpdateServicesResponse, d as BulkUpdateServicesByFilterOptions, e as BulkUpdateServicesByFilterResponse, D as DeleteServiceOptions, f as BulkDeleteServicesOptions, g as BulkDeleteServicesResponse, h as BulkDeleteServicesByFilterOptions, i as BulkDeleteServicesByFilterResponse, j as ServicesQueryBuilder, k as ServiceSearch, l as SearchServicesResponse, C as CursorQuery, Q as QueryPoliciesResponse, m as QueryBookingFormsOptions, n as QueryBookingFormsResponse, o as CountServicesOptions, p as CountServicesResponse, q as QueryLocationsOptions, r as QueryLocationsResponse, s as QueryCategoriesOptions, t as QueryCategoriesResponse, L as Location, u as SetServiceLocationsOptions, v as SetServiceLocationsResponse, E as EnablePricingPlansForServiceResponse, w as DisablePricingPlansForServiceOptions, x as DisablePricingPlansForServiceResponse, y as SetCustomSlugOptions, z as SetCustomSlugResponse, V as ValidateSlugOptions, A as ValidateSlugResponse, F as CloneServiceResponse, G as ServiceCreatedEnvelope, H as ServiceDeletedEnvelope, I as ServiceUpdatedEnvelope } from './bookings-services-v2-service-services.universal-D4FwlNie.mjs';
3
+ export { a1 as Action, bi as ActionEvent, bu as AddOn, bv as AddOnAddOnInfoOneOf, b4 as AddOnDetails, b3 as AddOnGroup, bw as AddOnGroupDetail, dv as Address, dw as AddressHint, av as AddressLocation, cc as Aggregation, cs as AggregationData, cd as AggregationKindOneOf, cL as AggregationResults, cM as AggregationResultsResultOneOf, cz as AggregationResultsScalarResult, _ as AggregationType, bK as ApplicationError, aN as AvailabilityConstraints, dK as BaseEventMetadata, dk as Behavior, dl as BehaviorBehaviorOneOf, dg as Benefit, df as BenefitNotification, a6 as BenefitType, aC as BookAfterStartPolicy, cR as BookingForm, ay as BookingPolicy, cP as BookingPolicyWithServices, bL as BulkActionMetadata, bH as BulkCreateServicesRequest, b$ as BulkDeleteServicesByFilterRequest, b_ as BulkDeleteServicesRequest, bI as BulkServiceResult, bW as BulkUpdateServicesByFilterRequest, bU as BulkUpdateServicesRequest, aw as BusinessLocationOptions, cX as BusinessLocations, dy as BusinessSchedule, aI as CancellationFeePolicy, aD as CancellationPolicy, aJ as CancellationWindow, aK as CancellationWindowFeeOneOf, dt as Categories, dd as Category, dc as CategoryNotification, a5 as CategoryNotificationEvent, dF as ChangeContext, dG as ChangeContextPayloadOneOf, a3 as CloneErrors, db as CloneServiceRequest, as as CommonAddress, at as CommonAddressStreetOneOf, aq as Conferencing, cT as ConnectedService, dD as ConsentPolicy, cU as CountServicesRequest, bm as CreateAddOnGroupRequest, bn as CreateAddOnGroupResponse, bC as CreateServiceRequest, bD as CreateServiceResponse, a8 as CrudType, c5 as CursorPaging, cr as CursorPagingMetadata, cO as CursorQueryPagingMethodOneOf, ca as CursorSearch, cb as CursorSearchPagingMethodOneOf, c8 as Cursors, ax as CustomLocationOptions, cY as CustomLocations, am as CustomPayment, cZ as CustomerLocations, ck as DateHistogramAggregation, cH as DateHistogramResult, cJ as DateHistogramResults, aa as DayOfWeek, b8 as Delete, bo as DeleteAddOnGroupRequest, bp as DeleteAddOnGroupResponse, bX as DeleteServiceRequest, bZ as DeleteServiceResponse, d8 as DisablePricingPlansForServiceRequest, di as Discount, dj as DiscountDiscountOneOf, bc as DomainEvent, bd as DomainEventBodyOneOf, aO as Duration, de as Empty, d6 as EnablePricingPlansForServiceRequest, be as EntityCreatedEvent, bh as EntityDeletedEvent, bg as EntityUpdatedEvent, dh as EntryPass, a7 as Event, dL as EventMetadata, a_ as ExtendedFields, bG as FieldViolation, ak as FixedPayment, ag as Form, cS as FormDetails, ah as FormSettings, dx as GeoCoordinates, bO as GetServiceAvailabilityConstraintsRequest, bP as GetServiceAvailabilityConstraintsResponse, bM as GetServiceRequest, bN as GetServiceResponse, co as GroupByAggregation, cp as GroupByAggregationKindOneOf, cI as GroupByValueResults, dn as HtmlSitePublished, bk as IdentificationData, bl as IdentificationDataIdOneOf, cf as IncludeMissingValuesOptions, Z as Interval, d7 as InvalidPricingPlan, a2 as InvalidSlugError, bJ as ItemMetadata, b0 as Keyword, aA as LimitEarlyBookingPolicy, aB as LimitLateBookingPolicy, bs as ListAddOnGroupsByServiceIdRequest, bt as ListAddOnGroupsByServiceIdResponse, du as Locale, ar as LocationOptionsOneOf, K as LocationType, bV as MaskedService, ac as Media, ad as MediaItem, ae as MediaItemItemOneOf, bj as MessageEnvelope, T as MissingValues, $ as Mode, al as Money, d5 as MoveToNewLocationsOptions, dB as Multilingual, cn as NestedAggregation, cl as NestedAggregationItem, cm as NestedAggregationItemKindOneOf, cv as NestedAggregationResults, cw as NestedAggregationResultsResultOneOf, Y as NestedAggregationType, cE as NestedResultValue, cF as NestedResultValueResultOneOf, cK as NestedResults, cA as NestedValueAggregationResult, ap as OnlineBooking, dp as Page, c4 as Paging, c7 as PagingMetadataV2, bY as ParticipantNotification, aG as ParticipantsPolicy, ai as Payment, ao as PaymentOptions, aj as PaymentRateOneOf, a9 as PlacementType, az as PolicyDescription, ds as Properties, dH as PropertiesChange, cQ as QueryBookingFormsRequest, c$ as QueryCategoriesFilter, c_ as QueryCategoriesRequest, cW as QueryLocationsFilter, cV as QueryLocationsRequest, cN as QueryPoliciesRequest, d0 as QueryServicesMultiLanguageRequest, d1 as QueryServicesMultiLanguageResponse, c0 as QueryServicesRequest, c6 as QueryServicesResponse, c1 as QueryV2, c2 as QueryV2PagingMethodOneOf, ci as RangeAggregation, cu as RangeAggregationResult, ce as RangeBucket, cC as RangeResult, cy as RangeResults, R as RateType, b5 as ReindexMessage, b6 as ReindexMessageActionOneOf, d3 as RemovedLocationSessionsAction, d4 as RemovedLocationSessionsActionActionOptionsOneOf, a0 as RequestedFields, aE as ReschedulePolicy, ab as ResolutionMethod, aT as ResourceGroup, aU as ResourceIds, aX as ResourceType, aH as ResourcesPolicy, bf as RestoreInfo, cG as Results, aL as SaveCreditCardPolicy, cj as ScalarAggregation, cD as ScalarResult, X as ScalarType, aM as Schedule, b9 as Schema, cq as SearchDetails, c9 as SearchServicesRequest, a$ as SeoSchema, bQ as ServiceAvailabilityConstraints, aV as ServiceResource, aW as ServiceResourceSelectionOneOf, dN as ServiceSearchSpec, J as ServiceType, dM as ServicesQueryResult, bb as ServicesUrlsChanged, bx as SetAddOnsForGroupRequest, by as SetAddOnsForGroupResponse, ba as SetCustomSlugEvent, d9 as SetCustomSlugRequest, d2 as SetServiceLocationsRequest, b2 as Settings, dJ as SiteCloned, dI as SiteCreated, dr as SitePropertiesEvent, dq as SitePropertiesNotification, aY as Slug, P as SortDirection, N as SortOrder, O as SortType, c3 as Sorting, dA as SpecialHourPeriod, bR as SplitInterval, aQ as StaffMediaItem, aR as StaffMediaItemItemOneOf, aP as StaffMember, aS as StaffMemberDetails, a4 as Status, au as StreetAddress, dC as SupportedLanguage, b1 as Tag, dz as TimePeriod, dE as Translation, aZ as URLs, bq as UpdateAddOnGroupRequest, br as UpdateAddOnGroupResponse, bS as UpdateServiceRequest, bT as UpdateServiceResponse, b7 as Upsert, dm as UserDomainInfoChangedEvent, af as V2Category, M as V2RequestedFields, bz as ValidateAddOnsSelectionRequest, bA as ValidateAddOnsSelectionResponse, bE as ValidateServiceRequest, bF as ValidateServiceResponse, da as ValidateSlugRequest, bB as ValidationResult, cg as ValueAggregation, ch as ValueAggregationOptionsOneOf, ct as ValueAggregationResult, cB as ValueResult, cx as ValueResults, an as VariedPayment, aF as WaitlistPolicy, W as WebhookIdentityType } from './bookings-services-v2-service-services.universal-D4FwlNie.mjs';
4
4
 
5
5
  declare function createService$1(httpClient: HttpClient): CreateServiceSignature;
6
6
  interface CreateServiceSignature {
@@ -205,7 +205,7 @@ interface QueryServicesSignature {
205
205
  *
206
206
  * The following `ServicesQueryBuilder` functions are supported for the `queryServices()` function. For a full description of the `service` object, see the object returned for the [items](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/services-query-result/items) property in `ServicesQueryResult`.
207
207
  */
208
- (options?: QueryServicesOptions | undefined): ServicesQueryBuilder;
208
+ (): ServicesQueryBuilder;
209
209
  }
210
210
  declare function searchServices$1(httpClient: HttpClient): SearchServicesSignature;
211
211
  interface SearchServicesSignature {
@@ -636,4 +636,4 @@ declare const onServiceDeleted: BuildEventDefinition<typeof onServiceDeleted$1>;
636
636
  */
637
637
  declare const onServiceUpdated: BuildEventDefinition<typeof onServiceUpdated$1>;
638
638
 
639
- export { BulkCreateServicesOptions, BulkCreateServicesResponse, BulkDeleteServicesByFilterOptions, BulkDeleteServicesByFilterResponse, BulkDeleteServicesOptions, BulkDeleteServicesResponse, BulkUpdateServicesByFilterOptions, BulkUpdateServicesByFilterResponse, BulkUpdateServicesOptions, BulkUpdateServicesResponse, CloneServiceResponse, CountServicesOptions, CountServicesResponse, CursorQuery, DeleteServiceOptions, DisablePricingPlansForServiceOptions, DisablePricingPlansForServiceResponse, EnablePricingPlansForServiceResponse, Location, QueryBookingFormsOptions, QueryBookingFormsResponse, QueryCategoriesOptions, QueryCategoriesResponse, QueryLocationsOptions, QueryLocationsResponse, QueryPoliciesResponse, QueryServicesOptions, SearchServicesResponse, Service, ServiceCreatedEnvelope, ServiceDeletedEnvelope, ServiceUpdatedEnvelope, ServicesQueryBuilder, SetCustomSlugOptions, SetCustomSlugResponse, SetServiceLocationsOptions, SetServiceLocationsResponse, UpdateService, ValidateSlugOptions, ValidateSlugResponse, bulkCreateServices, bulkDeleteServices, bulkDeleteServicesByFilter, bulkUpdateServices, bulkUpdateServicesByFilter, cloneService, countServices, createService, deleteService, disablePricingPlansForService, enablePricingPlansForService, getService, onServiceCreated, onServiceDeleted, onServiceUpdated, queryBookingForms, queryCategories, queryLocations, queryPolicies, queryServices, searchServices, setCustomSlug, setServiceLocations, updateService, validateSlug };
639
+ export { BulkCreateServicesOptions, BulkCreateServicesResponse, BulkDeleteServicesByFilterOptions, BulkDeleteServicesByFilterResponse, BulkDeleteServicesOptions, BulkDeleteServicesResponse, BulkUpdateServicesByFilterOptions, BulkUpdateServicesByFilterResponse, BulkUpdateServicesOptions, BulkUpdateServicesResponse, CloneServiceResponse, CountServicesOptions, CountServicesResponse, CursorQuery, DeleteServiceOptions, DisablePricingPlansForServiceOptions, DisablePricingPlansForServiceResponse, EnablePricingPlansForServiceResponse, Location, QueryBookingFormsOptions, QueryBookingFormsResponse, QueryCategoriesOptions, QueryCategoriesResponse, QueryLocationsOptions, QueryLocationsResponse, QueryPoliciesResponse, SearchServicesResponse, Service, ServiceCreatedEnvelope, ServiceDeletedEnvelope, ServiceUpdatedEnvelope, ServicesQueryBuilder, SetCustomSlugOptions, SetCustomSlugResponse, SetServiceLocationsOptions, SetServiceLocationsResponse, UpdateService, ValidateSlugOptions, ValidateSlugResponse, bulkCreateServices, bulkDeleteServices, bulkDeleteServicesByFilter, bulkUpdateServices, bulkUpdateServicesByFilter, cloneService, countServices, createService, deleteService, disablePricingPlansForService, enablePricingPlansForService, getService, onServiceCreated, onServiceDeleted, onServiceUpdated, queryBookingForms, queryCategories, queryLocations, queryPolicies, queryServices, searchServices, setCustomSlug, setServiceLocations, updateService, validateSlug };
@@ -2178,14 +2178,11 @@ async function bulkDeleteServicesByFilter2(filter, options) {
2178
2178
  throw transformedError;
2179
2179
  }
2180
2180
  }
2181
- function queryServices2(options) {
2182
- const { httpClient, sideEffects } = arguments[1];
2181
+ function queryServices2() {
2182
+ const { httpClient, sideEffects } = arguments[0];
2183
2183
  return queryBuilder({
2184
2184
  func: async (payload) => {
2185
- const reqOpts = queryServices({
2186
- ...payload,
2187
- ...options ?? {}
2188
- });
2185
+ const reqOpts = queryServices(payload);
2189
2186
  sideEffects?.onSiteCall?.();
2190
2187
  try {
2191
2188
  const result = await httpClient.request(reqOpts);
@@ -2197,7 +2194,7 @@ function queryServices2(options) {
2197
2194
  }
2198
2195
  },
2199
2196
  requestTransformer: (query) => {
2200
- const args = [query, options];
2197
+ const args = [query, {}];
2201
2198
  return renameKeysFromSDKRequestToRESTRequest({
2202
2199
  ...args?.[1],
2203
2200
  query: args?.[0]
@@ -2906,8 +2903,7 @@ function bulkDeleteServicesByFilter3(httpClient) {
2906
2903
  );
2907
2904
  }
2908
2905
  function queryServices3(httpClient) {
2909
- return (options) => queryServices2(
2910
- options,
2906
+ return () => queryServices2(
2911
2907
  // @ts-ignore
2912
2908
  { httpClient }
2913
2909
  );