{"version":3,"sources":["../../src/bookings-timeslots-configuration-v1-time-slots-configuration-time-slots-configuration.http.ts","../../src/bookings-timeslots-configuration-v1-time-slots-configuration-time-slots-configuration.types.ts","../../src/bookings-timeslots-configuration-v1-time-slots-configuration-time-slots-configuration.meta.ts"],"sourcesContent":["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","/** 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  entityAsJson?: string;\n  /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n  restoreInfo?: RestoreInfo;\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  currentEntityAsJson?: string;\n}\n\nexport interface EntityDeletedEvent {\n  /** Entity that was deleted. */\n  deletedEntityAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n  bodyAsJson?: 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","import * as ambassadorWixBookingsTimeslotsConfigurationV1TimeSlotsConfiguration from './bookings-timeslots-configuration-v1-time-slots-configuration-time-slots-configuration.http.js';\nimport * as ambassadorWixBookingsTimeslotsConfigurationV1TimeSlotsConfigurationTypes from './bookings-timeslots-configuration-v1-time-slots-configuration-time-slots-configuration.types.js';\nimport * as ambassadorWixBookingsTimeslotsConfigurationV1TimeSlotsConfigurationUniversalTypes from './bookings-timeslots-configuration-v1-time-slots-configuration-time-slots-configuration.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 getTimeSlotsConfiguration(): __PublicMethodMetaInfo<\n  'GET',\n  { timeSlotsConfigurationId: string },\n  ambassadorWixBookingsTimeslotsConfigurationV1TimeSlotsConfigurationUniversalTypes.GetTimeSlotsConfigurationRequest,\n  ambassadorWixBookingsTimeslotsConfigurationV1TimeSlotsConfigurationTypes.GetTimeSlotsConfigurationRequest,\n  ambassadorWixBookingsTimeslotsConfigurationV1TimeSlotsConfigurationUniversalTypes.GetTimeSlotsConfigurationResponse,\n  ambassadorWixBookingsTimeslotsConfigurationV1TimeSlotsConfigurationTypes.GetTimeSlotsConfigurationResponse\n> {\n  const payload = {\n    timeSlotsConfigurationId: ':timeSlotsConfigurationId',\n  } as any;\n\n  const getRequestOptions =\n    ambassadorWixBookingsTimeslotsConfigurationV1TimeSlotsConfiguration.getTimeSlotsConfiguration(\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: 'GET',\n    path: '/v1/time-slots-configurations/{timeSlotsConfigurationId}',\n    pathParams: { timeSlotsConfigurationId: 'timeSlotsConfigurationId' },\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 getTimeSlotsConfigurationByAppId(): __PublicMethodMetaInfo<\n  'GET',\n  { appId: string },\n  ambassadorWixBookingsTimeslotsConfigurationV1TimeSlotsConfigurationUniversalTypes.GetTimeSlotsConfigurationByAppIdRequest,\n  ambassadorWixBookingsTimeslotsConfigurationV1TimeSlotsConfigurationTypes.GetTimeSlotsConfigurationByAppIdRequest,\n  ambassadorWixBookingsTimeslotsConfigurationV1TimeSlotsConfigurationUniversalTypes.GetTimeSlotsConfigurationByAppIdResponse,\n  ambassadorWixBookingsTimeslotsConfigurationV1TimeSlotsConfigurationTypes.GetTimeSlotsConfigurationByAppIdResponse\n> {\n  const payload = { appId: ':appId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixBookingsTimeslotsConfigurationV1TimeSlotsConfiguration.getTimeSlotsConfigurationByAppId(\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: 'GET',\n    path: '/v1/time-slots-configurations/app/{appId}',\n    pathParams: { appId: 'appId' },\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 updateTimeSlotsConfiguration(): __PublicMethodMetaInfo<\n  'PATCH',\n  { timeSlotsConfigurationId: string },\n  ambassadorWixBookingsTimeslotsConfigurationV1TimeSlotsConfigurationUniversalTypes.UpdateTimeSlotsConfigurationRequest,\n  ambassadorWixBookingsTimeslotsConfigurationV1TimeSlotsConfigurationTypes.UpdateTimeSlotsConfigurationRequest,\n  ambassadorWixBookingsTimeslotsConfigurationV1TimeSlotsConfigurationUniversalTypes.UpdateTimeSlotsConfigurationResponse,\n  ambassadorWixBookingsTimeslotsConfigurationV1TimeSlotsConfigurationTypes.UpdateTimeSlotsConfigurationResponse\n> {\n  const payload = {\n    timeSlotsConfiguration: { id: ':timeSlotsConfigurationId' },\n  } as any;\n\n  const getRequestOptions =\n    ambassadorWixBookingsTimeslotsConfigurationV1TimeSlotsConfiguration.updateTimeSlotsConfiguration(\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: 'PATCH',\n    path: '/v1/time-slots-configurations/{timeSlotsConfiguration.id}',\n    pathParams: { timeSlotsConfigurationId: 'timeSlotsConfigurationId' },\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 queryTimeSlotsConfigurations(): __PublicMethodMetaInfo<\n  'GET',\n  {},\n  ambassadorWixBookingsTimeslotsConfigurationV1TimeSlotsConfigurationUniversalTypes.QueryTimeSlotsConfigurationsRequest,\n  ambassadorWixBookingsTimeslotsConfigurationV1TimeSlotsConfigurationTypes.QueryTimeSlotsConfigurationsRequest,\n  ambassadorWixBookingsTimeslotsConfigurationV1TimeSlotsConfigurationUniversalTypes.QueryTimeSlotsConfigurationsResponse,\n  ambassadorWixBookingsTimeslotsConfigurationV1TimeSlotsConfigurationTypes.QueryTimeSlotsConfigurationsResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixBookingsTimeslotsConfigurationV1TimeSlotsConfiguration.queryTimeSlotsConfigurations(\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: 'GET',\n    path: '/v1/time-slots-configurations/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 {\n  TimeSlotsConfiguration as TimeSlotsConfigurationOriginal,\n  DisplayTimeZone as DisplayTimeZoneOriginal,\n  BasedOn as BasedOnOriginal,\n  BasedOnWithLiterals as BasedOnWithLiteralsOriginal,\n  StaffSelection as StaffSelectionOriginal,\n  Strategy as StrategyOriginal,\n  StrategyWithLiterals as StrategyWithLiteralsOriginal,\n  SplitInterval as SplitIntervalOriginal,\n  ExtendedFields as ExtendedFieldsOriginal,\n  CreateTimeSlotsConfigurationRequest as CreateTimeSlotsConfigurationRequestOriginal,\n  CreateTimeSlotsConfigurationResponse as CreateTimeSlotsConfigurationResponseOriginal,\n  GetTimeSlotsConfigurationRequest as GetTimeSlotsConfigurationRequestOriginal,\n  GetTimeSlotsConfigurationResponse as GetTimeSlotsConfigurationResponseOriginal,\n  GetTimeSlotsConfigurationByAppIdRequest as GetTimeSlotsConfigurationByAppIdRequestOriginal,\n  GetTimeSlotsConfigurationByAppIdResponse as GetTimeSlotsConfigurationByAppIdResponseOriginal,\n  UpdateTimeSlotsConfigurationRequest as UpdateTimeSlotsConfigurationRequestOriginal,\n  UpdateTimeSlotsConfigurationResponse as UpdateTimeSlotsConfigurationResponseOriginal,\n  QueryTimeSlotsConfigurationsRequest as QueryTimeSlotsConfigurationsRequestOriginal,\n  CursorQuery as CursorQueryOriginal,\n  CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal,\n  Sorting as SortingOriginal,\n  SortOrder as SortOrderOriginal,\n  SortOrderWithLiterals as SortOrderWithLiteralsOriginal,\n  CursorPaging as CursorPagingOriginal,\n  QueryTimeSlotsConfigurationsResponse as QueryTimeSlotsConfigurationsResponseOriginal,\n  CursorPagingMetadata as CursorPagingMetadataOriginal,\n  Cursors as CursorsOriginal,\n  DomainEvent as DomainEventOriginal,\n  DomainEventBodyOneOf as DomainEventBodyOneOfOriginal,\n  EntityCreatedEvent as EntityCreatedEventOriginal,\n  RestoreInfo as RestoreInfoOriginal,\n  EntityUpdatedEvent as EntityUpdatedEventOriginal,\n  EntityDeletedEvent as EntityDeletedEventOriginal,\n  ActionEvent as ActionEventOriginal,\n  MessageEnvelope as MessageEnvelopeOriginal,\n  IdentificationData as IdentificationDataOriginal,\n  IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n  WebhookIdentityType as WebhookIdentityTypeOriginal,\n  WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n  AccountInfo as AccountInfoOriginal,\n} from './bookings-timeslots-configuration-v1-time-slots-configuration-time-slots-configuration.types.js';\n"],"mappings":";AAAA,SAAS,yBAAyB;AAClC,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,SAAS,2EACP,MACA;AACA,QAAM,mB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E;AAAA,EACF;AAEF,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,EAAE,0BAA0B,2BAA2B;AAAA,IACnE,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,gCAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBACgE;AAAA,IAClE;AAAA,EACF;AAEF,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["payload","BasedOn","Strategy","SortOrder","WebhookIdentityType","getTimeSlotsConfiguration","getTimeSlotsConfigurationByAppId","updateTimeSlotsConfiguration","queryTimeSlotsConfigurations"]}