{"version":3,"sources":["../../../src/bookings-timeslots-configuration-v1-time-slots-configuration-time-slots-configuration.universal.ts","../../../src/bookings-timeslots-configuration-v1-time-slots-configuration-time-slots-configuration.http.ts","../../../src/bookings-timeslots-configuration-v1-time-slots-configuration-time-slots-configuration.public.ts","../../../src/bookings-timeslots-configuration-v1-time-slots-configuration-time-slots-configuration.context.ts"],"sourcesContent":["import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error';\nimport { queryBuilder } from '@wix/sdk-runtime/query-builder';\nimport {\n  renameKeysFromSDKRequestToRESTRequest,\n  renameKeysFromRESTResponseToSDKResponse,\n} from '@wix/sdk-runtime/rename-all-nested-keys';\nimport {\n  HttpClient,\n  HttpResponse,\n  NonNullablePaths,\n  QuerySpec,\n  Query as QuerySdkType,\n} from '@wix/sdk-types';\nimport * as ambassadorWixBookingsTimeslotsConfigurationV1TimeSlotsConfiguration from './bookings-timeslots-configuration-v1-time-slots-configuration-time-slots-configuration.http.js';\n// @ts-ignore\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { createQueryUtils } from '@wix/sdk-runtime/query-builder-utils';\n\n/** Settings that control how available booking times are displayed to customers. */\nexport interface TimeSlotsConfiguration {\n  /**\n   * Time slots configuration ID.\n   * @format GUID\n   * @readonly\n   */\n  _id?: string | null;\n  /**\n   * Revision number, which increments by 1 each time the time slots configuration is updated.\n   * To prevent conflicting changes, the current revision must be passed when updating the time slots configuration.\n   *\n   * Ignored when creating a time slots configuration.\n   * @readonly\n   */\n  revision?: string | null;\n  /**\n   * Date and time the time slots configuration was created.\n   * @readonly\n   */\n  _createdDate?: Date | null;\n  /**\n   * Date and time the time slots configuration was last updated.\n   * @readonly\n   */\n  _updatedDate?: Date | null;\n  /** Time zone display settings. */\n  displayTimeZone?: DisplayTimeZone;\n  /** Staff selection settings that control how staff members are assigned to bookings. */\n  staffSelection?: StaffSelection;\n  /** Time interval settings that control how available time slots are divided. */\n  splitInterval?: SplitInterval;\n  /**\n   * App that owns this configuration. Set by the Bookings platform when the time slots configuration is created via [Provision Bookings Platform](https://dev.wix.com/docs/api-reference/business-solutions/bookings/bookings-platform/bookings-platform-provisioner/provision-bookings-platform).\n   * @format GUID\n   */\n  appId?: string;\n  /**\n   * Custom field data for the time slots configuration object.\n   *\n   * [Extended fields](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/about-schema-plugin-extensions) must be configured in the app dashboard before they can be accessed with API calls.\n   */\n  extendedFields?: ExtendedFields;\n}\n\nexport interface DisplayTimeZone {\n  /**\n   * Whether the customer can change the time zone when booking or viewing an existing booking.\n   *\n   * Default: `true`\n   */\n  customerCanChange?: boolean | null;\n  /**\n   * Time zone used to display available times, either based on the business's or customer's location.\n   *\n   * Default: `BUSINESS_TIME_ZONE`\n   */\n  basedOn?: BasedOnWithLiterals;\n  /**\n   * The business's time zone, in IANA time zone format (for example, `America/New_York`).\n   * Derived from the site's business properties.\n   * @maxLength 255\n   * @readonly\n   */\n  timeZone?: string | null;\n}\n\nexport enum BasedOn {\n  /** Display time zone is based on the business's location. */\n  BUSINESS_TIME_ZONE = 'BUSINESS_TIME_ZONE',\n  /** Display time zone is based on the customer's location. */\n  CUSTOMER_TIME_ZONE = 'CUSTOMER_TIME_ZONE',\n}\n\n/** @enumType */\nexport type BasedOnWithLiterals =\n  | BasedOn\n  | 'BUSINESS_TIME_ZONE'\n  | 'CUSTOMER_TIME_ZONE';\n\nexport interface StaffSelection {\n  /** Staff selection strategy. */\n  strategy?: StrategyWithLiterals;\n}\n\nexport enum Strategy {\n  /** Customer must explicitly select a staff member. Booking fails if no staff is selected. */\n  CUSTOMER_MUST_CHOOSE = 'CUSTOMER_MUST_CHOOSE',\n  /** Customer can select a specific staff member or choose \"any available\". */\n  CUSTOMER_MAY_CHOOSE = 'CUSTOMER_MAY_CHOOSE',\n  /** Staff selection is hidden from the customer. The system auto-assigns a staff member. */\n  CUSTOMER_CANNOT_CHOOSE = 'CUSTOMER_CANNOT_CHOOSE',\n}\n\n/** @enumType */\nexport type StrategyWithLiterals =\n  | Strategy\n  | 'CUSTOMER_MUST_CHOOSE'\n  | 'CUSTOMER_MAY_CHOOSE'\n  | 'CUSTOMER_CANNOT_CHOOSE';\n\n/** Interval between available slot start times. For example, 15 minutes to display available slots at 3:00, 3:15, and 3:30 PM. */\nexport interface SplitInterval {\n  /**\n   * Whether the slot duration is used as the interval value.\n   * - `true`: The interval is identical to the service's slot duration.\n   * - `false`: The interval is a fixed number of minutes specified in `valueInMinutes`.\n   *\n   * Default: `false`\n   */\n  sameAsDuration?: boolean | null;\n  /**\n   * Number of minutes between available slot start times.\n   * Ignored when `sameAsDuration: true`.\n   *\n   * Default: `30`\n   */\n  valueInMinutes?: number | null;\n}\n\nexport interface ExtendedFields {\n  /**\n   * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\n   * The value of each key is structured according to the schema defined when the extended fields were configured.\n   *\n   * You can only access fields for which you have the appropriate permissions.\n   *\n   * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).\n   */\n  namespaces?: Record<string, Record<string, any>>;\n}\n\nexport interface CreateTimeSlotsConfigurationRequest {\n  /** Time slots configuration to create. */\n  timeSlotsConfiguration?: TimeSlotsConfiguration;\n}\n\nexport interface CreateTimeSlotsConfigurationResponse {\n  /** Created time slots configuration. */\n  timeSlotsConfiguration?: TimeSlotsConfiguration;\n}\n\nexport interface GetTimeSlotsConfigurationRequest {\n  /**\n   * Time slots configuration ID.\n   * @format GUID\n   */\n  timeSlotsConfigurationId: string;\n}\n\nexport interface GetTimeSlotsConfigurationResponse {\n  /** Retrieved time slots configuration. */\n  timeSlotsConfiguration?: TimeSlotsConfiguration;\n}\n\nexport interface GetTimeSlotsConfigurationByAppIdRequest {\n  /**\n   * App ID.\n   * @format GUID\n   */\n  appId: string;\n}\n\nexport interface GetTimeSlotsConfigurationByAppIdResponse {\n  /** Retrieved time slots configuration. */\n  timeSlotsConfiguration?: TimeSlotsConfiguration;\n}\n\nexport interface UpdateTimeSlotsConfigurationRequest {\n  /** Time slots configuration to update. */\n  timeSlotsConfiguration: TimeSlotsConfiguration;\n}\n\nexport interface UpdateTimeSlotsConfigurationResponse {\n  /** Updated time slots configuration. */\n  timeSlotsConfiguration?: TimeSlotsConfiguration;\n}\n\nexport interface QueryTimeSlotsConfigurationsRequest {\n  /** Query options. */\n  query?: CursorQuery;\n}\n\nexport interface CursorQuery extends CursorQueryPagingMethodOneOf {\n  /**\n   * Cursor paging options.\n   *\n   * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).\n   */\n  cursorPaging?: CursorPaging;\n  /**\n   * Filter object.\n   *\n   * Learn more about the [filter section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).\n   */\n  filter?: Record<string, any> | null;\n  /**\n   * Sort object.\n   *\n   * Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).\n   * @maxSize 5\n   */\n  sort?: Sorting[];\n}\n\n/** @oneof */\nexport interface CursorQueryPagingMethodOneOf {\n  /**\n   * Cursor paging options.\n   *\n   * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).\n   */\n  cursorPaging?: CursorPaging;\n}\n\nexport interface Sorting {\n  /**\n   * Name of the field to sort by.\n   * @maxLength 512\n   */\n  fieldName?: string;\n  /** Sort order. */\n  order?: SortOrderWithLiterals;\n}\n\nexport enum SortOrder {\n  ASC = 'ASC',\n  DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface CursorPaging {\n  /**\n   * Maximum number of items to return in the results.\n   * @max 100\n   */\n  limit?: number | null;\n  /**\n   * Pointer to the next or previous page in the list of results.\n   *\n   * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\n   * Not relevant for the first request.\n   * @maxLength 16000\n   */\n  cursor?: string | null;\n}\n\nexport interface QueryTimeSlotsConfigurationsResponse {\n  /** List of time slots configurations. */\n  timeSlotsConfigurations?: TimeSlotsConfiguration[];\n  /** Paging metadata. */\n  pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface CursorPagingMetadata {\n  /** Number of items returned in current page. */\n  count?: number | null;\n  /** Cursor strings that point to the next page, previous page, or both. */\n  cursors?: Cursors;\n  /**\n   * Whether there are more pages to retrieve following the current page.\n   *\n   * + `true`: Another page of results can be retrieved.\n   * + `false`: This is the last page.\n   */\n  hasNext?: boolean | null;\n}\n\nexport interface Cursors {\n  /**\n   * Cursor string pointing to the next page in the list of results.\n   * @maxLength 16000\n   */\n  next?: string | null;\n  /**\n   * Cursor pointing to the previous page in the list of results.\n   * @maxLength 16000\n   */\n  prev?: string | null;\n}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n  createdEvent?: EntityCreatedEvent;\n  updatedEvent?: EntityUpdatedEvent;\n  deletedEvent?: EntityDeletedEvent;\n  actionEvent?: ActionEvent;\n  /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n  _id?: string;\n  /**\n   * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n   * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n   */\n  entityFqdn?: string;\n  /**\n   * Event action name, placed at the top level to make it easier for users to dispatch messages.\n   * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n   */\n  slug?: string;\n  /** ID of the entity associated with the event. */\n  entityId?: string;\n  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n  eventTime?: Date | null;\n  /**\n   * Whether the event was triggered as a result of a privacy regulation application\n   * (for example, GDPR).\n   */\n  triggeredByAnonymizeRequest?: boolean | null;\n  /** If present, indicates the action that triggered the event. */\n  originatedFrom?: string | null;\n  /**\n   * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number.\n   * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n   */\n  entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n  createdEvent?: EntityCreatedEvent;\n  updatedEvent?: EntityUpdatedEvent;\n  deletedEvent?: EntityDeletedEvent;\n  actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n  entity?: string;\n}\n\nexport interface RestoreInfo {\n  deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n  /**\n   * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n   * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n   * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n   */\n  currentEntity?: string;\n}\n\nexport interface EntityDeletedEvent {\n  /** Entity that was deleted. */\n  deletedEntity?: string | null;\n}\n\nexport interface ActionEvent {\n  body?: string;\n}\n\nexport interface MessageEnvelope {\n  /**\n   * App instance ID.\n   * @format GUID\n   */\n  instanceId?: string | null;\n  /**\n   * Event type.\n   * @maxLength 150\n   */\n  eventType?: string;\n  /** The identification type and identity data. */\n  identity?: IdentificationData;\n  /** Stringify payload. */\n  data?: string;\n  /** Details related to the account */\n  accountInfo?: AccountInfo;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n  /**\n   * ID of a site visitor that has not logged in to the site.\n   * @format GUID\n   */\n  anonymousVisitorId?: string;\n  /**\n   * ID of a site visitor that has logged in to the site.\n   * @format GUID\n   */\n  memberId?: string;\n  /**\n   * ID of a Wix user (site owner, contributor, etc.).\n   * @format GUID\n   */\n  wixUserId?: string;\n  /**\n   * ID of an app.\n   * @format GUID\n   */\n  appId?: string;\n  /** @readonly */\n  identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n  /**\n   * ID of a site visitor that has not logged in to the site.\n   * @format GUID\n   */\n  anonymousVisitorId?: string;\n  /**\n   * ID of a site visitor that has logged in to the site.\n   * @format GUID\n   */\n  memberId?: string;\n  /**\n   * ID of a Wix user (site owner, contributor, etc.).\n   * @format GUID\n   */\n  wixUserId?: string;\n  /**\n   * ID of an app.\n   * @format GUID\n   */\n  appId?: string;\n}\n\nexport enum WebhookIdentityType {\n  UNKNOWN = 'UNKNOWN',\n  ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n  MEMBER = 'MEMBER',\n  WIX_USER = 'WIX_USER',\n  APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n  | WebhookIdentityType\n  | 'UNKNOWN'\n  | 'ANONYMOUS_VISITOR'\n  | 'MEMBER'\n  | 'WIX_USER'\n  | 'APP';\n\nexport interface AccountInfo {\n  /**\n   * ID of the Wix account associated with the event.\n   * @format GUID\n   */\n  accountId?: string | null;\n  /**\n   * ID of the parent Wix account. Only included when accountId belongs to a child account.\n   * @format GUID\n   */\n  parentAccountId?: string | null;\n  /**\n   * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.\n   * @format GUID\n   */\n  siteId?: string | null;\n}\n\n/**\n * Retrieves a time slots configuration by ID.\n * @param timeSlotsConfigurationId - Time slots configuration ID.\n * @internal\n * @documentationMaturity preview\n * @requiredField timeSlotsConfigurationId\n * @permissionId TIMESLOTS_CONFIGURATION.READ\n * @applicableIdentity APP\n * @returns Retrieved time slots configuration.\n * @fqn wix.bookings.timeslots.configuration.v1.TimeSlotsConfigurationService.GetTimeSlotsConfiguration\n */\nexport async function getTimeSlotsConfiguration(\n  timeSlotsConfigurationId: string\n): Promise<\n  NonNullablePaths<\n    TimeSlotsConfiguration,\n    `displayTimeZone.basedOn` | `staffSelection.strategy` | `appId`,\n    3\n  >\n> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[1] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = renameKeysFromSDKRequestToRESTRequest({\n    timeSlotsConfigurationId: timeSlotsConfigurationId,\n  });\n\n  const reqOpts =\n    ambassadorWixBookingsTimeslotsConfigurationV1TimeSlotsConfiguration.getTimeSlotsConfiguration(\n      payload\n    );\n\n  sideEffects?.onSiteCall?.();\n  try {\n    const result = await httpClient.request(reqOpts);\n    sideEffects?.onSuccess?.(result);\n\n    return renameKeysFromRESTResponseToSDKResponse(result.data)\n      ?.timeSlotsConfiguration!;\n  } catch (err: any) {\n    const transformedError = sdkTransformError(\n      err,\n      {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: { timeSlotsConfigurationId: '$[0]' },\n        singleArgumentUnchanged: false,\n      },\n      ['timeSlotsConfigurationId']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\n/**\n * Retrieves a time slots configuration by app ID.\n * @param appId - App ID.\n * @internal\n * @documentationMaturity preview\n * @requiredField appId\n * @permissionId TIMESLOTS_CONFIGURATION.READ\n * @applicableIdentity APP\n * @fqn wix.bookings.timeslots.configuration.v1.TimeSlotsConfigurationService.GetTimeSlotsConfigurationByAppId\n */\nexport async function getTimeSlotsConfigurationByAppId(\n  appId: string\n): Promise<\n  NonNullablePaths<\n    GetTimeSlotsConfigurationByAppIdResponse,\n    | `timeSlotsConfiguration.displayTimeZone.basedOn`\n    | `timeSlotsConfiguration.staffSelection.strategy`\n    | `timeSlotsConfiguration.appId`,\n    4\n  >\n> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[1] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = renameKeysFromSDKRequestToRESTRequest({ appId: appId });\n\n  const reqOpts =\n    ambassadorWixBookingsTimeslotsConfigurationV1TimeSlotsConfiguration.getTimeSlotsConfigurationByAppId(\n      payload\n    );\n\n  sideEffects?.onSiteCall?.();\n  try {\n    const result = await httpClient.request(reqOpts);\n    sideEffects?.onSuccess?.(result);\n\n    return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n  } catch (err: any) {\n    const transformedError = sdkTransformError(\n      err,\n      {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: { appId: '$[0]' },\n        singleArgumentUnchanged: false,\n      },\n      ['appId']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\n/**\n * Updates a time slots configuration.\n *\n * Each time the time slots configuration is updated, `revision` increments by 1.\n * The current `revision` must be passed when updating the time slots configuration.\n * This ensures you're working with the latest time slots configuration and prevents unintended overwrites.\n * @param _id - Time slots configuration ID.\n * @internal\n * @documentationMaturity preview\n * @requiredField _id\n * @requiredField timeSlotsConfiguration\n * @requiredField timeSlotsConfiguration.revision\n * @permissionId TIMESLOTS_CONFIGURATION.UPDATE\n * @returns Updated time slots configuration.\n * @fqn wix.bookings.timeslots.configuration.v1.TimeSlotsConfigurationService.UpdateTimeSlotsConfiguration\n */\nexport async function updateTimeSlotsConfiguration(\n  _id: string,\n  timeSlotsConfiguration: NonNullablePaths<\n    UpdateTimeSlotsConfiguration,\n    `revision`,\n    2\n  >\n): Promise<\n  NonNullablePaths<\n    TimeSlotsConfiguration,\n    `displayTimeZone.basedOn` | `staffSelection.strategy` | `appId`,\n    3\n  >\n> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[2] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = renameKeysFromSDKRequestToRESTRequest({\n    timeSlotsConfiguration: { ...timeSlotsConfiguration, id: _id },\n  });\n\n  const reqOpts =\n    ambassadorWixBookingsTimeslotsConfigurationV1TimeSlotsConfiguration.updateTimeSlotsConfiguration(\n      payload\n    );\n\n  sideEffects?.onSiteCall?.();\n  try {\n    const result = await httpClient.request(reqOpts);\n    sideEffects?.onSuccess?.(result);\n\n    return renameKeysFromRESTResponseToSDKResponse(result.data)\n      ?.timeSlotsConfiguration!;\n  } catch (err: any) {\n    const transformedError = sdkTransformError(\n      err,\n      {\n        spreadPathsToArguments: { timeSlotsConfiguration: '$[1]' },\n        explicitPathsToArguments: { 'timeSlotsConfiguration.id': '$[0]' },\n        singleArgumentUnchanged: false,\n      },\n      ['_id', 'timeSlotsConfiguration']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\nexport interface UpdateTimeSlotsConfiguration {\n  /**\n   * Time slots configuration ID.\n   * @format GUID\n   * @readonly\n   */\n  _id?: string | null;\n  /**\n   * Revision number, which increments by 1 each time the time slots configuration is updated.\n   * To prevent conflicting changes, the current revision must be passed when updating the time slots configuration.\n   *\n   * Ignored when creating a time slots configuration.\n   * @readonly\n   */\n  revision?: string | null;\n  /**\n   * Date and time the time slots configuration was created.\n   * @readonly\n   */\n  _createdDate?: Date | null;\n  /**\n   * Date and time the time slots configuration was last updated.\n   * @readonly\n   */\n  _updatedDate?: Date | null;\n  /** Time zone display settings. */\n  displayTimeZone?: DisplayTimeZone;\n  /** Staff selection settings that control how staff members are assigned to bookings. */\n  staffSelection?: StaffSelection;\n  /** Time interval settings that control how available time slots are divided. */\n  splitInterval?: SplitInterval;\n  /**\n   * App that owns this configuration. Set by the Bookings platform when the time slots configuration is created via [Provision Bookings Platform](https://dev.wix.com/docs/api-reference/business-solutions/bookings/bookings-platform/bookings-platform-provisioner/provision-bookings-platform).\n   * @format GUID\n   */\n  appId?: string;\n  /**\n   * Custom field data for the time slots configuration object.\n   *\n   * [Extended fields](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/about-schema-plugin-extensions) must be configured in the app dashboard before they can be accessed with API calls.\n   */\n  extendedFields?: ExtendedFields;\n}\n\n/**\n * Retrieves a list of time slots configurations, given the provided paging, filtering, and sorting.\n * @internal\n * @documentationMaturity preview\n * @permissionId bookings:timeslots_configuration:v1:time_slots_configuration:query_time_slots_configurations\n * @applicableIdentity APP\n * @fqn wix.bookings.timeslots.configuration.v1.TimeSlotsConfigurationService.QueryTimeSlotsConfigurations\n */\nexport function queryTimeSlotsConfigurations(): TimeSlotsConfigurationsQueryBuilder {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[0] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  return queryBuilder<\n    TimeSlotsConfiguration,\n    'CURSOR',\n    QueryTimeSlotsConfigurationsRequest,\n    QueryTimeSlotsConfigurationsResponse\n  >({\n    func: async (payload: QueryTimeSlotsConfigurationsRequest) => {\n      const reqOpts =\n        ambassadorWixBookingsTimeslotsConfigurationV1TimeSlotsConfiguration.queryTimeSlotsConfigurations(\n          payload\n        );\n\n      sideEffects?.onSiteCall?.();\n      try {\n        const result = await httpClient.request(reqOpts);\n        sideEffects?.onSuccess?.(result);\n        return result;\n      } catch (err) {\n        sideEffects?.onError?.(err);\n        throw err;\n      }\n    },\n    requestTransformer: (\n      query: QueryTimeSlotsConfigurationsRequest['query']\n    ) => {\n      const args = [query, {}] as [\n        QueryTimeSlotsConfigurationsRequest['query'],\n        {}\n      ];\n      return renameKeysFromSDKRequestToRESTRequest({\n        ...args?.[1],\n        query: args?.[0],\n      });\n    },\n    responseTransformer: ({\n      data,\n    }: HttpResponse<QueryTimeSlotsConfigurationsResponse>) => {\n      const transformedData = renameKeysFromRESTResponseToSDKResponse(\n        transformPaths(data, [])\n      );\n\n      return {\n        items: transformedData?.timeSlotsConfigurations,\n        pagingMetadata: transformedData?.pagingMetadata,\n      };\n    },\n    errorTransformer: (err: unknown) => {\n      const transformedError = sdkTransformError(err, {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: { query: '$[0]' },\n        singleArgumentUnchanged: false,\n      });\n\n      throw transformedError;\n    },\n    pagingMethod: 'CURSOR',\n    transformationPaths: {},\n  });\n}\n\ninterface QueryCursorResult {\n  cursors: Cursors;\n  hasNext: () => boolean;\n  hasPrev: () => boolean;\n  length: number;\n  pageSize: number;\n}\n\nexport interface TimeSlotsConfigurationsQueryResult extends QueryCursorResult {\n  items: TimeSlotsConfiguration[];\n  query: TimeSlotsConfigurationsQueryBuilder;\n  next: () => Promise<TimeSlotsConfigurationsQueryResult>;\n  prev: () => Promise<TimeSlotsConfigurationsQueryResult>;\n}\n\nexport interface TimeSlotsConfigurationsQueryBuilder {\n  /** @param propertyName - Property whose value is compared with `value`.\n   * @param value - Value to compare against.\n   * @documentationMaturity preview\n   */\n  eq: (\n    propertyName:\n      | '_id'\n      | '_createdDate'\n      | '_updatedDate'\n      | 'displayTimeZone.basedOn'\n      | 'staffSelection.strategy'\n      | 'splitInterval.sameAsDuration'\n      | 'splitInterval.valueInMinutes'\n      | 'appId',\n    value: any\n  ) => TimeSlotsConfigurationsQueryBuilder;\n  /** @param propertyName - Property whose value is compared with `value`.\n   * @param value - Value to compare against.\n   * @documentationMaturity preview\n   */\n  ne: (\n    propertyName:\n      | '_id'\n      | '_createdDate'\n      | '_updatedDate'\n      | 'displayTimeZone.basedOn'\n      | 'staffSelection.strategy'\n      | 'splitInterval.sameAsDuration'\n      | 'splitInterval.valueInMinutes'\n      | 'appId',\n    value: any\n  ) => TimeSlotsConfigurationsQueryBuilder;\n  /** @param propertyName - Property whose value is compared with `value`.\n   * @param value - Value to compare against.\n   * @documentationMaturity preview\n   */\n  ge: (\n    propertyName:\n      | '_id'\n      | '_createdDate'\n      | '_updatedDate'\n      | 'splitInterval.valueInMinutes'\n      | 'appId',\n    value: any\n  ) => TimeSlotsConfigurationsQueryBuilder;\n  /** @param propertyName - Property whose value is compared with `value`.\n   * @param value - Value to compare against.\n   * @documentationMaturity preview\n   */\n  gt: (\n    propertyName:\n      | '_id'\n      | '_createdDate'\n      | '_updatedDate'\n      | 'splitInterval.valueInMinutes'\n      | 'appId',\n    value: any\n  ) => TimeSlotsConfigurationsQueryBuilder;\n  /** @param propertyName - Property whose value is compared with `value`.\n   * @param value - Value to compare against.\n   * @documentationMaturity preview\n   */\n  le: (\n    propertyName:\n      | '_id'\n      | '_createdDate'\n      | '_updatedDate'\n      | 'splitInterval.valueInMinutes'\n      | 'appId',\n    value: any\n  ) => TimeSlotsConfigurationsQueryBuilder;\n  /** @param propertyName - Property whose value is compared with `value`.\n   * @param value - Value to compare against.\n   * @documentationMaturity preview\n   */\n  lt: (\n    propertyName:\n      | '_id'\n      | '_createdDate'\n      | '_updatedDate'\n      | 'splitInterval.valueInMinutes'\n      | 'appId',\n    value: any\n  ) => TimeSlotsConfigurationsQueryBuilder;\n  /** @param propertyName - Property whose value is compared with `string`.\n   * @param string - String to compare against. Case-insensitive.\n   * @documentationMaturity preview\n   */\n  startsWith: (\n    propertyName: '_id' | 'appId',\n    value: string\n  ) => TimeSlotsConfigurationsQueryBuilder;\n  /** @param propertyName - Property whose value is compared with `values`.\n   * @param values - List of values to compare against.\n   * @documentationMaturity preview\n   */\n  hasSome: (\n    propertyName:\n      | '_id'\n      | '_createdDate'\n      | '_updatedDate'\n      | 'displayTimeZone.basedOn'\n      | 'staffSelection.strategy'\n      | 'splitInterval.sameAsDuration'\n      | 'splitInterval.valueInMinutes'\n      | 'appId',\n    value: any[]\n  ) => TimeSlotsConfigurationsQueryBuilder;\n  /** @documentationMaturity preview */\n  in: (\n    propertyName:\n      | '_id'\n      | '_createdDate'\n      | '_updatedDate'\n      | 'displayTimeZone.basedOn'\n      | 'staffSelection.strategy'\n      | 'splitInterval.sameAsDuration'\n      | 'splitInterval.valueInMinutes'\n      | 'appId',\n    value: any\n  ) => TimeSlotsConfigurationsQueryBuilder;\n  /** @documentationMaturity preview */\n  exists: (\n    propertyName:\n      | '_id'\n      | '_createdDate'\n      | '_updatedDate'\n      | 'displayTimeZone.basedOn'\n      | 'staffSelection.strategy'\n      | 'splitInterval.sameAsDuration'\n      | 'splitInterval.valueInMinutes'\n      | 'appId',\n    value: boolean\n  ) => TimeSlotsConfigurationsQueryBuilder;\n  /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.\n   * @documentationMaturity preview\n   */\n  ascending: (\n    ...propertyNames: Array<'_id' | '_createdDate' | '_updatedDate'>\n  ) => TimeSlotsConfigurationsQueryBuilder;\n  /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.\n   * @documentationMaturity preview\n   */\n  descending: (\n    ...propertyNames: Array<'_id' | '_createdDate' | '_updatedDate'>\n  ) => TimeSlotsConfigurationsQueryBuilder;\n  /** @param limit - Number of items to return, which is also the `pageSize` of the results object.\n   * @documentationMaturity preview\n   */\n  limit: (limit: number) => TimeSlotsConfigurationsQueryBuilder;\n  /** @param cursor - A pointer to specific record\n   * @documentationMaturity preview\n   */\n  skipTo: (cursor: string) => TimeSlotsConfigurationsQueryBuilder;\n  /** @documentationMaturity preview */\n  find: () => Promise<TimeSlotsConfigurationsQueryResult>;\n}\n\n/**\n * @hidden\n * @fqn wix.bookings.timeslots.configuration.v1.TimeSlotsConfigurationService.QueryTimeSlotsConfigurations\n * @requiredField query\n */\nexport async function typedQueryTimeSlotsConfigurations(\n  query: TimeSlotsConfigurationQuery\n): Promise<\n  NonNullablePaths<\n    QueryTimeSlotsConfigurationsResponse,\n    | `timeSlotsConfigurations`\n    | `timeSlotsConfigurations.${number}.displayTimeZone.basedOn`\n    | `timeSlotsConfigurations.${number}.staffSelection.strategy`\n    | `timeSlotsConfigurations.${number}.appId`,\n    5\n  >\n> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[1] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = renameKeysFromSDKRequestToRESTRequest({ query: query });\n\n  const reqOpts =\n    ambassadorWixBookingsTimeslotsConfigurationV1TimeSlotsConfiguration.queryTimeSlotsConfigurations(\n      payload\n    );\n\n  sideEffects?.onSiteCall?.();\n  try {\n    const result = await httpClient.request(reqOpts);\n    sideEffects?.onSuccess?.(result);\n\n    return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n  } catch (err: any) {\n    const transformedError = sdkTransformError(\n      err,\n      {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: { query: '$[0]' },\n        singleArgumentUnchanged: false,\n      },\n      ['query']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\nexport interface TimeSlotsConfigurationQuerySpec extends QuerySpec {\n  paging: 'cursor';\n  wql: [\n    {\n      fields: ['_createdDate', '_id', '_updatedDate'];\n      operators: '*';\n      sort: 'BOTH';\n    },\n    {\n      fields: ['appId'];\n      operators: '*';\n      sort: 'NONE';\n    },\n    {\n      fields: [\n        'displayTimeZone.basedOn',\n        'splitInterval.sameAsDuration',\n        'splitInterval.valueInMinutes',\n        'staffSelection.strategy'\n      ];\n      operators: '*';\n      sort: 'NONE';\n    }\n  ];\n}\n\nexport type CommonQueryWithEntityContext = QuerySdkType<\n  TimeSlotsConfiguration,\n  TimeSlotsConfigurationQuerySpec\n>;\nexport type TimeSlotsConfigurationQuery = {\n  /** \n  Cursor paging options.\n\n  Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).  \n  */\n  cursorPaging?: {\n    /** \n  Maximum number of items to return in the results. \n  @max: 100 \n  */\n    limit?:\n      | NonNullable<CommonQueryWithEntityContext['cursorPaging']>['limit']\n      | null;\n    /** \n  Pointer to the next or previous page in the list of results.\n\n  Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\n  Not relevant for the first request. \n  @maxLength: 16000 \n  */\n    cursor?:\n      | NonNullable<CommonQueryWithEntityContext['cursorPaging']>['cursor']\n      | null;\n  };\n  /** \n  Filter object.\n\n  Learn more about the [filter section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).  \n  */\n  filter?: CommonQueryWithEntityContext['filter'] | null;\n  /** \n  Sort object.\n\n  Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section). \n  @maxSize: 5 \n  */\n  sort?: {\n    /** \n  Name of the field to sort by. \n  @maxLength: 512 \n  */\n    fieldName?: NonNullable<\n      CommonQueryWithEntityContext['sort']\n    >[number]['fieldName'];\n    /** \n  Sort order.  \n  */\n    order?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['order'];\n  }[];\n};\n\nexport const utils = {\n  query: {\n    ...createQueryUtils<\n      TimeSlotsConfiguration,\n      TimeSlotsConfigurationQuerySpec,\n      TimeSlotsConfigurationQuery\n    >(),\n  },\n};\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\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 resolveWixBookingsTimeslotsConfigurationV1TimeSlotsConfigurationServiceUrl(\n  opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n  const domainToMappings = {\n    _: [\n      {\n        srcPath: '/_api/time-slots-config',\n        destPath: '',\n      },\n    ],\n    'manage._base_domain_': [\n      {\n        srcPath: '/_api/time-slots-config',\n        destPath: '',\n      },\n    ],\n    'editor._base_domain_': [\n      {\n        srcPath: '/_api/time-slots-config',\n        destPath: '',\n      },\n    ],\n    'blocks._base_domain_': [\n      {\n        srcPath: '/_api/time-slots-config',\n        destPath: '',\n      },\n    ],\n    'create.editorx': [\n      {\n        srcPath: '/_api/time-slots-config',\n        destPath: '',\n      },\n    ],\n    'apps._base_domain_': [\n      {\n        srcPath: '/_api/time-slots-config',\n        destPath: '',\n      },\n    ],\n    '*.dev.wix-code.com': [\n      {\n        srcPath: '/_api/time-slots-config',\n        destPath: '',\n      },\n    ],\n  };\n\n  return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_bookings_time-slots-configuration';\n\n/** Retrieves a time slots configuration by ID. */\nexport function getTimeSlotsConfiguration(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __getTimeSlotsConfiguration({ host }: any) {\n    const metadata = {\n      entityFqdn:\n        'wix.bookings.timeslots_configuration.v1.time_slots_configuration',\n      method: 'GET' as any,\n      methodFqn:\n        'wix.bookings.timeslots.configuration.v1.TimeSlotsConfigurationService.GetTimeSlotsConfiguration',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixBookingsTimeslotsConfigurationV1TimeSlotsConfigurationServiceUrl(\n        {\n          protoPath: '/v1/time-slots-configurations/{timeSlotsConfigurationId}',\n          data: payload,\n          host,\n        }\n      ),\n      params: toURLSearchParams(payload),\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'timeSlotsConfiguration.createdDate' },\n              { path: 'timeSlotsConfiguration.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __getTimeSlotsConfiguration;\n}\n\n/** Retrieves a time slots configuration by app ID. */\nexport function getTimeSlotsConfigurationByAppId(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __getTimeSlotsConfigurationByAppId({ host }: any) {\n    const metadata = {\n      entityFqdn:\n        'wix.bookings.timeslots_configuration.v1.time_slots_configuration',\n      method: 'GET' as any,\n      methodFqn:\n        'wix.bookings.timeslots.configuration.v1.TimeSlotsConfigurationService.GetTimeSlotsConfigurationByAppId',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixBookingsTimeslotsConfigurationV1TimeSlotsConfigurationServiceUrl(\n        {\n          protoPath: '/v1/time-slots-configurations/app/{appId}',\n          data: payload,\n          host,\n        }\n      ),\n      params: toURLSearchParams(payload),\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'timeSlotsConfiguration.createdDate' },\n              { path: 'timeSlotsConfiguration.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __getTimeSlotsConfigurationByAppId;\n}\n\n/**\n * Updates a time slots configuration.\n *\n * Each time the time slots configuration is updated, `revision` increments by 1.\n * The current `revision` must be passed when updating the time slots configuration.\n * This ensures you're working with the latest time slots configuration and prevents unintended overwrites.\n */\nexport function updateTimeSlotsConfiguration(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __updateTimeSlotsConfiguration({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKFieldMaskToRESTFieldMask,\n        paths: [{ path: 'fieldMask' }],\n      },\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [\n          { path: 'timeSlotsConfiguration.createdDate' },\n          { path: 'timeSlotsConfiguration.updatedDate' },\n        ],\n      },\n    ]);\n    const metadata = {\n      entityFqdn:\n        'wix.bookings.timeslots_configuration.v1.time_slots_configuration',\n      method: 'PATCH' as any,\n      methodFqn:\n        'wix.bookings.timeslots.configuration.v1.TimeSlotsConfigurationService.UpdateTimeSlotsConfiguration',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixBookingsTimeslotsConfigurationV1TimeSlotsConfigurationServiceUrl(\n        {\n          protoPath:\n            '/v1/time-slots-configurations/{timeSlotsConfiguration.id}',\n          data: serializedData,\n          host,\n        }\n      ),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'timeSlotsConfiguration.createdDate' },\n              { path: 'timeSlotsConfiguration.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __updateTimeSlotsConfiguration;\n}\n\n/** Retrieves a list of time slots configurations, given the provided paging, filtering, and sorting. */\nexport function queryTimeSlotsConfigurations(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __queryTimeSlotsConfigurations({ host }: any) {\n    const metadata = {\n      entityFqdn:\n        'wix.bookings.timeslots_configuration.v1.time_slots_configuration',\n      method: 'GET' as any,\n      methodFqn:\n        'wix.bookings.timeslots.configuration.v1.TimeSlotsConfigurationService.QueryTimeSlotsConfigurations',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixBookingsTimeslotsConfigurationV1TimeSlotsConfigurationServiceUrl(\n        {\n          protoPath: '/v1/time-slots-configurations/query',\n          data: payload,\n          host,\n        }\n      ),\n      params: toURLSearchParams(payload, true),\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'timeSlotsConfigurations.createdDate' },\n              { path: 'timeSlotsConfigurations.updatedDate' },\n            ],\n          },\n        ]),\n      fallback: [\n        {\n          method: 'POST' as any,\n          url: resolveWixBookingsTimeslotsConfigurationV1TimeSlotsConfigurationServiceUrl(\n            {\n              protoPath: '/v1/time-slots-configurations/query',\n              data: payload,\n              host,\n            }\n          ),\n          data: payload,\n        },\n      ],\n    };\n\n    return metadata;\n  }\n\n  return __queryTimeSlotsConfigurations;\n}\n","import { HttpClient, NonNullablePaths } from '@wix/sdk-types';\nimport {\n  GetTimeSlotsConfigurationByAppIdResponse,\n  QueryTimeSlotsConfigurationsResponse,\n  TimeSlotsConfiguration,\n  TimeSlotsConfigurationQuery,\n  TimeSlotsConfigurationsQueryBuilder,\n  UpdateTimeSlotsConfiguration,\n  getTimeSlotsConfiguration as universalGetTimeSlotsConfiguration,\n  getTimeSlotsConfigurationByAppId as universalGetTimeSlotsConfigurationByAppId,\n  queryTimeSlotsConfigurations as universalQueryTimeSlotsConfigurations,\n  typedQueryTimeSlotsConfigurations as universalTypedQueryTimeSlotsConfigurations,\n  updateTimeSlotsConfiguration as universalUpdateTimeSlotsConfiguration,\n} from './bookings-timeslots-configuration-v1-time-slots-configuration-time-slots-configuration.universal.js';\n\nexport const __metadata = { PACKAGE_NAME: '@wix/bookings' };\n\n/** @internal */\nexport function getTimeSlotsConfiguration(\n  httpClient: HttpClient\n): GetTimeSlotsConfigurationSignature {\n  return (timeSlotsConfigurationId: string) =>\n    universalGetTimeSlotsConfiguration(\n      timeSlotsConfigurationId,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface GetTimeSlotsConfigurationSignature {\n  /**\n   * Retrieves a time slots configuration by ID.\n   * @param - Time slots configuration ID.\n   * @returns Retrieved time slots configuration.\n   */\n  (timeSlotsConfigurationId: string): Promise<\n    NonNullablePaths<\n      TimeSlotsConfiguration,\n      `displayTimeZone.basedOn` | `staffSelection.strategy` | `appId`,\n      3\n    >\n  >;\n}\n\n/** @internal */\nexport function getTimeSlotsConfigurationByAppId(\n  httpClient: HttpClient\n): GetTimeSlotsConfigurationByAppIdSignature {\n  return (appId: string) =>\n    universalGetTimeSlotsConfigurationByAppId(\n      appId,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface GetTimeSlotsConfigurationByAppIdSignature {\n  /**\n   * Retrieves a time slots configuration by app ID.\n   * @param - App ID.\n   */\n  (appId: string): Promise<\n    NonNullablePaths<\n      GetTimeSlotsConfigurationByAppIdResponse,\n      | `timeSlotsConfiguration.displayTimeZone.basedOn`\n      | `timeSlotsConfiguration.staffSelection.strategy`\n      | `timeSlotsConfiguration.appId`,\n      4\n    >\n  >;\n}\n\n/** @internal */\nexport function updateTimeSlotsConfiguration(\n  httpClient: HttpClient\n): UpdateTimeSlotsConfigurationSignature {\n  return (\n    _id: string,\n    timeSlotsConfiguration: NonNullablePaths<\n      UpdateTimeSlotsConfiguration,\n      `revision`,\n      2\n    >\n  ) =>\n    universalUpdateTimeSlotsConfiguration(\n      _id,\n      timeSlotsConfiguration,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface UpdateTimeSlotsConfigurationSignature {\n  /**\n   * Updates a time slots configuration.\n   *\n   * Each time the time slots configuration is updated, `revision` increments by 1.\n   * The current `revision` must be passed when updating the time slots configuration.\n   * This ensures you're working with the latest time slots configuration and prevents unintended overwrites.\n   * @param - Time slots configuration ID.\n   * @returns Updated time slots configuration.\n   */\n  (\n    _id: string,\n    timeSlotsConfiguration: NonNullablePaths<\n      UpdateTimeSlotsConfiguration,\n      `revision`,\n      2\n    >\n  ): Promise<\n    NonNullablePaths<\n      TimeSlotsConfiguration,\n      `displayTimeZone.basedOn` | `staffSelection.strategy` | `appId`,\n      3\n    >\n  >;\n}\n\n/** @internal */\nexport function queryTimeSlotsConfigurations(\n  httpClient: HttpClient\n): QueryTimeSlotsConfigurationsSignature {\n  return () =>\n    universalQueryTimeSlotsConfigurations(\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface QueryTimeSlotsConfigurationsSignature {\n  /**\n   * Retrieves a list of time slots configurations, given the provided paging, filtering, and sorting.\n   */\n  (): TimeSlotsConfigurationsQueryBuilder;\n}\n\nexport function typedQueryTimeSlotsConfigurations(\n  httpClient: HttpClient\n): TypedQueryTimeSlotsConfigurationsSignature {\n  return (query: TimeSlotsConfigurationQuery) =>\n    universalTypedQueryTimeSlotsConfigurations(\n      query,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface TypedQueryTimeSlotsConfigurationsSignature {\n  /** */\n  (query: TimeSlotsConfigurationQuery): Promise<\n    NonNullablePaths<\n      QueryTimeSlotsConfigurationsResponse,\n      | `timeSlotsConfigurations`\n      | `timeSlotsConfigurations.${number}.displayTimeZone.basedOn`\n      | `timeSlotsConfigurations.${number}.staffSelection.strategy`\n      | `timeSlotsConfigurations.${number}.appId`,\n      5\n    >\n  >;\n}\n\nexport {\n  AccountInfo,\n  ActionEvent,\n  BasedOn,\n  CreateTimeSlotsConfigurationRequest,\n  CreateTimeSlotsConfigurationResponse,\n  CursorPaging,\n  CursorPagingMetadata,\n  CursorQuery,\n  CursorQueryPagingMethodOneOf,\n  Cursors,\n  DisplayTimeZone,\n  DomainEvent,\n  DomainEventBodyOneOf,\n  EntityCreatedEvent,\n  EntityDeletedEvent,\n  EntityUpdatedEvent,\n  ExtendedFields,\n  GetTimeSlotsConfigurationByAppIdRequest,\n  GetTimeSlotsConfigurationByAppIdResponse,\n  GetTimeSlotsConfigurationRequest,\n  GetTimeSlotsConfigurationResponse,\n  IdentificationData,\n  IdentificationDataIdOneOf,\n  MessageEnvelope,\n  QueryTimeSlotsConfigurationsRequest,\n  QueryTimeSlotsConfigurationsResponse,\n  RestoreInfo,\n  SortOrder,\n  Sorting,\n  SplitInterval,\n  StaffSelection,\n  Strategy,\n  TimeSlotsConfiguration,\n  TimeSlotsConfigurationQuerySpec,\n  TimeSlotsConfigurationsQueryBuilder,\n  TimeSlotsConfigurationsQueryResult,\n  UpdateTimeSlotsConfiguration,\n  UpdateTimeSlotsConfigurationRequest,\n  UpdateTimeSlotsConfigurationResponse,\n  WebhookIdentityType,\n  utils,\n} from './bookings-timeslots-configuration-v1-time-slots-configuration-time-slots-configuration.universal.js';\n","import {\n  getTimeSlotsConfiguration as publicGetTimeSlotsConfiguration,\n  getTimeSlotsConfigurationByAppId as publicGetTimeSlotsConfigurationByAppId,\n  updateTimeSlotsConfiguration as publicUpdateTimeSlotsConfiguration,\n  queryTimeSlotsConfigurations as publicQueryTimeSlotsConfigurations,\n  typedQueryTimeSlotsConfigurations as publicTypedQueryTimeSlotsConfigurations,\n} from './bookings-timeslots-configuration-v1-time-slots-configuration-time-slots-configuration.public.js';\nimport { createRESTModule } from '@wix/sdk-runtime/rest-modules';\nimport { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';\nimport { HttpClient } from '@wix/sdk-types';\nimport { createQueryOverloadRouter } from '@wix/sdk-runtime/query-method-router';\nimport {\n  TimeSlotsConfigurationQuery,\n  TimeSlotsConfigurationsQueryBuilder,\n  typedQueryTimeSlotsConfigurations as universalTypedQueryTimeSlotsConfigurations,\n} from './bookings-timeslots-configuration-v1-time-slots-configuration-time-slots-configuration.universal.js';\n\nfunction customQueryTimeSlotsConfigurations(httpClient: HttpClient) {\n  const router = createQueryOverloadRouter({\n    builderQueryFunction: () =>\n      publicQueryTimeSlotsConfigurations(httpClient)(),\n    typedQueryFunction: (query: TimeSlotsConfigurationQuery) =>\n      publicTypedQueryTimeSlotsConfigurations(httpClient)(query),\n    hasOptionsParameter: false,\n  });\n\n  function overloadedQuery(): TimeSlotsConfigurationsQueryBuilder;\n  function overloadedQuery(\n    query: TimeSlotsConfigurationQuery\n  ): ReturnType<typeof universalTypedQueryTimeSlotsConfigurations>;\n  function overloadedQuery(query?: TimeSlotsConfigurationQuery): any {\n    return router(...arguments);\n  }\n\n  return overloadedQuery;\n}\n\n/** @internal */\nexport const getTimeSlotsConfiguration: MaybeContext<\n  BuildRESTFunction<typeof publicGetTimeSlotsConfiguration> &\n    typeof publicGetTimeSlotsConfiguration\n> = /*#__PURE__*/ createRESTModule(publicGetTimeSlotsConfiguration);\n/** @internal */\nexport const getTimeSlotsConfigurationByAppId: MaybeContext<\n  BuildRESTFunction<typeof publicGetTimeSlotsConfigurationByAppId> &\n    typeof publicGetTimeSlotsConfigurationByAppId\n> = /*#__PURE__*/ createRESTModule(publicGetTimeSlotsConfigurationByAppId);\n/** @internal */\nexport const updateTimeSlotsConfiguration: MaybeContext<\n  BuildRESTFunction<typeof publicUpdateTimeSlotsConfiguration> &\n    typeof publicUpdateTimeSlotsConfiguration\n> = /*#__PURE__*/ createRESTModule(publicUpdateTimeSlotsConfiguration);\nexport const queryTimeSlotsConfigurations: MaybeContext<\n  BuildRESTFunction<typeof customQueryTimeSlotsConfigurations> &\n    typeof customQueryTimeSlotsConfigurations\n> = /*#__PURE__*/ createRESTModule(customQueryTimeSlotsConfigurations);\n\nexport {\n  BasedOn,\n  Strategy,\n  SortOrder,\n  WebhookIdentityType,\n} from './bookings-timeslots-configuration-v1-time-slots-configuration-time-slots-configuration.universal.js';\nexport {\n  TimeSlotsConfiguration,\n  DisplayTimeZone,\n  StaffSelection,\n  SplitInterval,\n  ExtendedFields,\n  CreateTimeSlotsConfigurationRequest,\n  CreateTimeSlotsConfigurationResponse,\n  GetTimeSlotsConfigurationRequest,\n  GetTimeSlotsConfigurationResponse,\n  GetTimeSlotsConfigurationByAppIdRequest,\n  GetTimeSlotsConfigurationByAppIdResponse,\n  UpdateTimeSlotsConfigurationRequest,\n  UpdateTimeSlotsConfigurationResponse,\n  QueryTimeSlotsConfigurationsRequest,\n  CursorQuery,\n  CursorQueryPagingMethodOneOf,\n  Sorting,\n  CursorPaging,\n  QueryTimeSlotsConfigurationsResponse,\n  CursorPagingMetadata,\n  Cursors,\n  DomainEvent,\n  DomainEventBodyOneOf,\n  EntityCreatedEvent,\n  RestoreInfo,\n  EntityUpdatedEvent,\n  EntityDeletedEvent,\n  ActionEvent,\n  MessageEnvelope,\n  IdentificationData,\n  IdentificationDataIdOneOf,\n  AccountInfo,\n  UpdateTimeSlotsConfiguration,\n  TimeSlotsConfigurationsQueryResult,\n  TimeSlotsConfigurationsQueryBuilder,\n  TimeSlotsConfigurationQuerySpec,\n} from './bookings-timeslots-configuration-v1-time-slots-configuration-time-slots-configuration.universal.js';\nexport { utils } from './bookings-timeslots-configuration-v1-time-slots-configuration-time-slots-configuration.universal.js';\nexport {\n  BasedOnWithLiterals,\n  StrategyWithLiterals,\n  SortOrderWithLiterals,\n  WebhookIdentityTypeWithLiterals,\n  CommonQueryWithEntityContext,\n  TimeSlotsConfigurationQuery,\n} from './bookings-timeslots-configuration-v1-time-slots-configuration-time-slots-configuration.universal.js';\n"],"mappings":";AAAA,SAAS,kBAAkB,yBAAyB;AACpD,SAAS,oBAAoB;AAC7B;AAAA,EACE;AAAA,EACA;AAAA,OACK;;;ACLP,SAAS,yBAAyB;AAClC,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,SAAS,2EACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,GAAG;AAAA,MACD;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,wBAAwB;AAAA,MACtB;AAAA,Q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AAC,6BACNA;AAAA,IACE;AAAA;AAAA,IAEA,EAAE,WAAW;AAAA,EACf;AACJ;AAkBO,SAASC,kCACd,YAC2C;AAC3C,SAAO,CAAC,UACNA;AAAA,IACE;AAAA;AAAA,IAEA,EAAE,WAAW;AAAA,EACf;AACJ;AAmBO,SAASC,8BACd,YACuC;AACvC,SAAO,CACL,KACA,2BAMAA;AAAA,IACE;AAAA,IACA;AAAA;AAAA,IAEA,EAAE,WAAW;AAAA,EACf;AACJ;AA6BO,SAASC,8BACd,YACuC;AACvC,SAAO,MACLA;AAAA;AAAA,IAEE,EAAE,WAAW;AAAA,EACf;AACJ;AASO,SAASC,mCACd,YAC4C;AAC5C,SAAO,CAAC,UACN;AAAA,IACE;AAAA;AAAA,IAEA,EAAE,WAAW;AAAA,EACf;AACJ;;;AC1IA,SAAS,wBAAwB;AAGjC,SAAS,iCAAiC;AAO1C,SAAS,mCAAmC,YAAwB;AAClE,QAAM,SAAS,0BAA0B;AAAA,IACvC,sBAAsB,MACpBC,8BAAmC,UAAU,EAAE;AAAA,IACjD,oBAAoB,CAAC,UACnBC,mCAAwC,UAAU,EAAE,KAAK;AAAA,IAC3D,qBAAqB;AAAA,EACvB,CAAC;AAMD,WAAS,gBAAgB,OAA0C;AACjE,WAAO,OAAO,GAAG,SAAS;AAAA,EAC5B;AAEA,SAAO;AACT;AAGO,IAAMC,6BAGK,iCAAiBA,0BAA+B;AAE3D,IAAMC,oCAGK,iCAAiBA,iCAAsC;AAElE,IAAMC,gCAGK,iCAAiBA,6BAAkC;AAC9D,IAAMJ,gCAGK,iCAAiB,kCAAkC;","names":["payload","transformPaths","BasedOn","Strategy","SortOrder","WebhookIdentityType","getTimeSlotsConfiguration","getTimeSlotsConfigurationByAppId","updateTimeSlotsConfiguration","queryTimeSlotsConfigurations","getTimeSlotsConfiguration","getTimeSlotsConfigurationByAppId","updateTimeSlotsConfiguration","queryTimeSlotsConfigurations","typedQueryTimeSlotsConfigurations","queryTimeSlotsConfigurations","typedQueryTimeSlotsConfigurations","getTimeSlotsConfiguration","getTimeSlotsConfigurationByAppId","updateTimeSlotsConfiguration"]}