{"version":3,"sources":["../../src/bookings-v2-price-info-pricing.http.ts","../../src/bookings-v2-price-info-pricing.types.ts","../../src/bookings-v2-price-info-pricing.meta.ts"],"sourcesContent":["import { transformSDKFloatToRESTFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\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 resolveComWixpressBookingsPricingBookingsPricingServiceUrl(\n  opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n  const domainToMappings = {\n    'manage._base_domain_': [\n      {\n        srcPath: '/_api/bookings-pricing',\n        destPath: '',\n      },\n      {\n        srcPath: '/_api/bookings-pricing/v2/price',\n        destPath: '/v2/pricing',\n      },\n    ],\n    _: [\n      {\n        srcPath: '/_api/bookings-pricing',\n        destPath: '',\n      },\n      {\n        srcPath: '/_api/bookings-pricing/v2/price',\n        destPath: '/v2/pricing',\n      },\n    ],\n    'www.wixapis.com': [\n      {\n        srcPath: '/bookings/v2/pricing/v2/pricing',\n        destPath: '/v2/pricing',\n      },\n      {\n        srcPath: '/bookings/v2/pricing',\n        destPath: '/v2/pricing',\n      },\n    ],\n  };\n\n  return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_bookings_pricing';\n\n/**\n * Previews the base price for a set of line items belonging to the same service, before a booking is created.\n *\n * The response includes each line item's individual preview price and the total of all line item preview prices.\n * In most situations, the preview price matches the final booking price when using the same parameters.\n * The final amount may differ due to discounts, booking fees, payment processing charges, or service price changes made by the business between preview and booking creation.\n *\n * Preview Price fails if:\n *\n * - You specify line items that belong to different [services](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/introduction).\n * - The site is using a [Bookings Pricing Integration Service Plugin](https://dev.wix.com/docs/rest/business-solutions/bookings/pricing/pricing-integration-service-plugin/introduction). Note that external apps can't currently check whether a plugin is installed on the site before calling Preview Price.\n *\n * To retrieve the price of an existing booking, call [Calculate Price](https://dev.wix.com/docs/rest/business-solutions/bookings/pricing/pricing-api/calculate-price) instead.\n */\nexport function previewPrice(payload: object): RequestOptionsFactory<any> {\n  function __previewPrice({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKFloatToRESTFloat,\n        paths: [\n          { path: 'bookingLineItems.pricePerParticipant' },\n          { path: 'bookingLineItems.serviceChoices.pricePerParticipant' },\n        ],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.bookings.v2.price_info',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wixpress.bookings.pricing.BookingsPricingService.PreviewPrice',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressBookingsPricingBookingsPricingServiceUrl({\n        protoPath: '/v2/pricing/preview',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: [\n              { path: 'priceInfo.calculatedPrice' },\n              { path: 'priceInfo.deposit' },\n              { path: 'priceInfo.bookingLineItems.pricePerParticipant' },\n              {\n                path: 'priceInfo.bookingLineItems.serviceChoices.pricePerParticipant',\n              },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __previewPrice;\n}\n\n/**\n * Calculates the current base price for an existing booking.\n *\n *\n * Use this method to display booking costs in external apps or dashboards, or to retrieve accurate pricing for bookings created through other channels.\n *\n * The returned price represents the fundamental booking cost before additional charges during [eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/introduction). For recently created unpaid bookings, this typically matches the original booking price. However, this method calculates prices based on the service's current pricing configuration, so the returned price may differ from the original booking price if service pricing has changed since the booking was created.\n *\n * ### Price calculation methods\n *\n * __Standard pricing__: Wix Bookings calculates prices based on the number of participants for each [service variant](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction).\n * Specify `booking.bookedEntity.slot.serviceId` for appointment-based services and classes, or `booking.bookedEntity.schedule.serviceId` for courses.\n *\n * __Custom pricing__: When a [Pricing Service Provider Plugin](https://dev.wix.com/docs/rest/business-solutions/bookings/pricing/pricing-integration-service-plugin/introduction) is installed, Calculate Price gets responses directly from the external provider instead of using standard Wix pricing logic.\n * In this case, specify `booking.bookedEntity`. Note that external apps can't currently check whether a plugin is installed on the site before calling Calculate Price.\n *\n * To estimate the price for multiple booking line items before the booking exists, call [Preview Price](https://dev.wix.com/docs/rest/business-solutions/bookings/pricing/pricing-api/preview-price) instead.\n */\nexport function calculatePrice(payload: object): RequestOptionsFactory<any> {\n  function __calculatePrice({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [\n          { path: 'booking.createdDate' },\n          { path: 'booking.startDate' },\n          { path: 'booking.endDate' },\n          { path: 'booking.updatedDate' },\n          { path: 'booking.canceledDate' },\n        ],\n      },\n      {\n        transformFn: transformSDKFloatToRESTFloat,\n        paths: [\n          { path: 'booking.contactDetails.fullAddress.geocode.latitude' },\n          { path: 'booking.contactDetails.fullAddress.geocode.longitude' },\n        ],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.bookings.v2.price_info',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wixpress.bookings.pricing.BookingsPricingService.CalculatePrice',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressBookingsPricingBookingsPricingServiceUrl({\n        protoPath: '/v2/pricing/calculate',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: [\n              { path: 'priceInfo.calculatedPrice' },\n              { path: 'priceInfo.deposit' },\n              { path: 'priceInfo.bookingLineItems.pricePerParticipant' },\n              {\n                path: 'priceInfo.bookingLineItems.serviceChoices.pricePerParticipant',\n              },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __calculatePrice;\n}\n","export interface PriceInfo extends PriceInfoTotalPriceOneOf {\n  /** Calculated total price. Available if the [service's](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/introduction) `payment.rateType` is `FIXED`, `VARIED`, or `NO_FEE`. */\n  calculatedPrice?: number;\n  /**\n   * Description of the total price.\n   * Available if the [service's](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/introduction) `payment.rateType` is `CUSTOM`.\n   * @deprecated Description of the total price.\n   * Available if the [service's](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/introduction) `payment.rateType` is `CUSTOM`.\n   * @replacedBy price_description_info.original\n   * @targetRemovalDate 2025-01-10\n   */\n  priceDescription?: string;\n  /**\n   * Description of the total price.\n   * Available if the [service's](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/introduction) `payment.rateType` is `CUSTOM`.\n   */\n  priceDescriptionInfo?: PriceDescriptionInfo;\n  /**\n   * List of line items, including the number of participants and the price per participant.\n   * @maxSize 20\n   */\n  bookingLineItems?: BookingLineItem[];\n  /**\n   * Total deposit the customer must pay when booking the service.\n   * Available if the [service's](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/introduction) `payment.options.deposit` is set to `true`.\n   */\n  deposit?: number | null;\n}\n\n/** @oneof */\nexport interface PriceInfoTotalPriceOneOf {\n  /** Calculated total price. Available if the [service's](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/introduction) `payment.rateType` is `FIXED`, `VARIED`, or `NO_FEE`. */\n  calculatedPrice?: number;\n  /**\n   * Description of the total price.\n   * Available if the [service's](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/introduction) `payment.rateType` is `CUSTOM`.\n   * @deprecated Description of the total price.\n   * Available if the [service's](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/introduction) `payment.rateType` is `CUSTOM`.\n   * @replacedBy price_description_info.original\n   * @targetRemovalDate 2025-01-10\n   */\n  priceDescription?: string;\n  /**\n   * Description of the total price.\n   * Available if the [service's](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/introduction) `payment.rateType` is `CUSTOM`.\n   */\n  priceDescriptionInfo?: PriceDescriptionInfo;\n}\n\nexport interface BookingLineItem {\n  /**\n   * [Service ID](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/introduction).\n   *\n   * Required parameter in:\n   * - [Preview Price](https://dev.wix.com/docs/api-reference/business-solutions/bookings/pricing/pricing-api/preview-price) for all service types. All line items must have the same service ID.\n   * - [Calculate Price](https://dev.wix.com/docs/api-reference/business-solutions/bookings/pricing/pricing-api/calculate-price) when using Wix Bookings' default pricing logic. Optional in Calculate Price when using a Pricing Service Provider Plugin.\n   * @format GUID\n   */\n  serviceId?: string | null;\n  /**\n   * [Resource ID](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resources-v2/introduction).\n   *\n   * Required parameter in:\n   * - [Calculate Price](https://dev.wix.com/docs/api-reference/business-solutions/bookings/pricing/pricing-api/calculate-price) for all service types ([service types](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/about-service-types)).\n   * - [Preview Price](https://dev.wix.com/docs/api-reference/business-solutions/bookings/pricing/pricing-api/preview-price) for appointment-based services and classes. Optional in Preview Price for courses.\n   * @format GUID\n   */\n  resourceId?: string | null;\n  /**\n   * __Deprecated.__ Use `serviceChoices.choices` instead.\n   *\n   * Service choices selected by the customer when booking.\n   * @deprecated __Deprecated.__ Use `serviceChoices.choices` instead.\n   *\n   * Service choices selected by the customer when booking.\n   * @replacedBy service_choices.choices\n   * @targetRemovalDate 2026-08-31\n   */\n  choices?: ServiceChoice[];\n  /**\n   * __Deprecated.__ Use `serviceChoices.numberOfParticipants` instead.\n   *\n   * Number of participants for the line item.\n   * @min 1\n   * @deprecated __Deprecated.__ Use `serviceChoices.numberOfParticipants` instead.\n   *\n   * Number of participants for the line item.\n   * @replacedBy service_choices.number_of_participants\n   * @targetRemovalDate 2026-08-31\n   */\n  numberOfParticipants?: number | null;\n  /**\n   * __Deprecated.__ Use `serviceChoices.pricePerParticipant` instead.\n   *\n   * Price per participant for the line item.\n   * @readonly\n   * @deprecated __Deprecated.__ Use `serviceChoices.pricePerParticipant` instead.\n   *\n   * Price per participant for the line item.\n   * @replacedBy service_choices.price_per_participant\n   * @targetRemovalDate 2026-08-31\n   */\n  pricePerParticipant?: number | null;\n  /**\n   * Service choices selected by the customer when booking.\n   * Choices are specific values for service options that may affect pricing. For example, the option `ageGroup` may have choices like `child`, `student`, `adult`, and `senior`, each with different pricing.\n   * Refer to the [Service Options and Variants API](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/service-options-and-variants/introduction) for more details.\n   * @maxSize 20\n   */\n  serviceChoices?: PricingServiceChoices[];\n}\n\nexport interface ServiceChoice extends ServiceChoiceChoiceOneOf {\n  /**\n   * Value for one of the choices in the [`CustomServiceOption.choices`](https://example.com) list.\n   * Choices are specific values for an option the customer can choose to book. For example,\n   * the option `ageGroup` may have these choices: `child`, `student`, `adult`, and `senior`.\n   * Each choice may have a different price.\n   */\n  custom?: string;\n  duration?: Duration;\n  /**\n   * ID of the corresponding option for the choice. For example, the choice `child`\n   * could correspond to the option `ageGroup`. In this case, `optionId` is the ID\n   * for the `ageGroup` option.\n   * @format GUID\n   */\n  optionId?: string;\n}\n\n/** @oneof */\nexport interface ServiceChoiceChoiceOneOf {\n  /**\n   * Value for one of the choices in the [`CustomServiceOption.choices`](https://example.com) list.\n   * Choices are specific values for an option the customer can choose to book. For example,\n   * the option `ageGroup` may have these choices: `child`, `student`, `adult`, and `senior`.\n   * Each choice may have a different price.\n   */\n  custom?: string;\n  duration?: Duration;\n}\n\nexport interface Duration {\n  /**\n   * Duration of the service in minutes.\n   * Min: 1 minute, Max: 30 days, 23 hours, and 59 minutes\n   * @min 1\n   * @max 44639\n   */\n  minutes?: number;\n  /**\n   * Name of the duration option.\n   * Defaults to the formatted duration e.g. \"1 hour, 30 minutes\".\n   * @maxLength 255\n   */\n  name?: string | null;\n}\n\nexport interface PricingServiceChoices {\n  /**\n   * Number of participants for this service variant.\n   * @min 1\n   */\n  numberOfParticipants?: number | null;\n  /**\n   * Service choices selected by these participants.\n   * Each choice represents a specific value for a service option.\n   * For example, age group, duration, or equipment type.\n   * @maxSize 5\n   */\n  choices?: ServiceChoice[];\n  /**\n   * Price per participant for this service variant.\n   * @readonly\n   */\n  pricePerParticipant?: number | null;\n}\n\nexport interface PriceDescriptionInfo {\n  /**\n   * Price description in the site's main language.\n   * Refer to the [Site Properties API](https://dev.wix.com/docs/api-reference/business-management/site-properties/properties/introduction) for more details.\n   * @maxLength 50\n   */\n  original?: string;\n  /**\n   * Translated price description.\n   * Available if the booking was made in a secondary language.\n   * @maxLength 50\n   */\n  translated?: string | null;\n}\n\nexport interface PreviewPriceRequest {\n  /**\n   * Booking line items to preview pricing for.\n   * All line items must belong to the same [service](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/introduction).\n   * @minSize 1\n   * @maxSize 20\n   */\n  bookingLineItems: BookingLineItem[];\n}\n\nexport interface PreviewPriceResponse {\n  /** Pricing information including individual line item costs and total estimated price. */\n  priceInfo?: PriceInfo;\n}\n\nexport interface CalculatePriceRequest {\n  /**\n   * Existing [booking](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/introduction) to calculate the base price for.\n   * Must include `bookedEntity` details and participant information.\n   */\n  booking: Booking;\n}\n\n/** An entity representing a scheduled appointment, class session, or course. */\nexport interface Booking extends BookingParticipantsInfoOneOf {\n  /**\n   * Total number of participants.\n   * When creating a booking, use this field only if the relevant service has fixed pricing and doesn't offer [variants and options](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction).\n   * @min 1\n   */\n  totalParticipants?: number;\n  /**\n   * Information about the booked service choices and participant count for each choice.\n   * When creating a booking, use this field only if the booking includes multiple [service variants](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction).\n   *\n   * For example, use this for a spa package booking that includes different service levels:\n   * - 2 participants chose \"Standard Package\".\n   * - 1 participant chose \"VIP Package\".\n   */\n  participantsChoices?: ParticipantChoices;\n  /**\n   * Booking ID.\n   * @format GUID\n   * @readonly\n   */\n  id?: string | null;\n  /**\n   * An object describing the bookable entity - either a specific time slot or a recurring schedule.\n   *\n   * The structure depends on the type of service being booked:\n   *\n   * __For appointment services__: Use `slot` to book a specific time slot with a\n   * service provider. Appointments are typically one-time sessions at a specific date and time.\n   *\n   * __For class services__: Use `slot` to book a specific class session. Classes\n   * are individual sessions that can have multiple participants.\n   *\n   * __For course services__: Use `schedule` to book an entire course consisting of\n   * multiple sessions over time. Courses are recurring, multi-session offerings.\n   *\n   * Choose the appropriate field based on your service type and booking requirements.\n   */\n  bookedEntity?: BookedEntity;\n  /**\n   * Contact details of the site visitor or [member](https://dev.wix.com/docs/api-reference/crm/members-contacts/members/members/introduction)\n   * making the booking.\n   */\n  contactDetails?: ContactDetails;\n  /**\n   * Additional custom fields submitted with the booking form.\n   * Deprecated due to Bookings integrating with Wix Forms.\n   * You can call Wix Forms' [Get Submission](https://dev.wix.com/docs/api-reference/crm/forms/form-submissions/get-submission) specifying `formSubmissionId` as the `id` to get the submitted booking form data.\n   * Read more about the [Bookings Forms integration](https://dev.wix.com/docs/api-reference/business-solutions/bookings/wix-forms-integration).\n   * @deprecated Additional custom fields submitted with the booking form.\n   * Deprecated due to Bookings integrating with Wix Forms.\n   * You can call Wix Forms' [Get Submission](https://dev.wix.com/docs/api-reference/crm/forms/form-submissions/get-submission) specifying `formSubmissionId` as the `id` to get the submitted booking form data.\n   * Read more about the [Bookings Forms integration](https://dev.wix.com/docs/api-reference/business-solutions/bookings/wix-forms-integration).\n   * @replacedBy form_submission_id\n   * @targetRemovalDate 2026-03-31\n   */\n  additionalFields?: CustomFormField[];\n  /**\n   * Booking status. A booking is automatically confirmed if the service allows it\n   * and an eCommerce order is created. It is automatically declined if there is a\n   * double booking and the customer hasn't paid or is eligible for an automatic\n   * refund. Currently, only payments with pricing plans are automatically refundable.\n   */\n  status?: BookingStatusWithLiterals;\n  /**\n   * The payment status of the booking. This field automatically syncs with the\n   * `paymentStatus` of the corresponding [eCommerce order](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/orders/introduction)\n   * when customers use Wix eCommerce checkout.\n   *\n   * ### Integration patterns\n   *\n   * __When using Wix eCommerce checkout__: Wix Bookings automatically syncs the payment status based on the eCommerce order's payment status.\n   * Do not manually update this field.\n   *\n   * __When using custom payment flows__: You can manually update the payment status with [Confirm Booking or Decline Booking](https://dev.wix.com/docs/api-reference/business-solutions/bookings/bookings/bookings-writer-v2/confirm-or-decline-booking) to reflect the customer's payment state.\n   *\n   * __For membership/pricing plan payments__: Wix Bookings automatically manages the payment status when customers pay with an active [pricing plan](https://dev.wix.com/docs/api-reference/business-solutions/pricing-plans/pricing-plans/introduction) subscription.\n   *\n   * All payment statuses are supported for every booking `status`.\n   */\n  paymentStatus?: PaymentStatusWithLiterals;\n  /**\n   * Payment option selected by the customer. If the customer hasn't completed their checkout, they may still change the payment method. Must be one of the payment options offered by the [service](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/introduction), unless `skipSelectedPaymentOptionValidation` is `true`.\n   *\n   * When the customer pays with a [Wix eCommerce checkout](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/checkout/introduction), this field is required.\n   * Otherwise, the Create Booking call fails.\n   * For custom checkouts, you don't have to specify this field.\n   */\n  selectedPaymentOption?: SelectedPaymentOptionWithLiterals;\n  /**\n   * Date and time the booking was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.\n   * @readonly\n   */\n  createdDate?: Date | null;\n  /** External user ID that you can provide. */\n  externalUserId?: string | null;\n  /**\n   * Revision number to be used when updating, rescheduling, or cancelling the booking.\n   * Increments by 1 each time the booking is updated, rescheduled, or canceled. To prevent conflicting changes, the current revision must be specified when updating the booking.\n   */\n  revision?: string | null;\n  /**\n   * ID of the creator of the booking.\n   * If `appId` and another ID are present, the other ID takes precedence.\n   * @readonly\n   */\n  createdBy?: IdentificationData;\n  /**\n   * The start date of the booking in `YYYY-MM-DDThh:mm:ss.sssZ` format.\n   * For a slot, this is the start date of the slot. For a schedule, this is the start date of the first session.\n   * @readonly\n   */\n  startDate?: Date | null;\n  /**\n   * The end date of the booking in `YYYY-MM-DDThh:mm:ss.sssZ` format.\n   * For a slot, this is the end date of the slot. For a schedule, this is the end date of the last session.\n   * @readonly\n   */\n  endDate?: Date | null;\n  /**\n   * Date and time the booking was updated in `YYYY-MM-DDThh:mm:ss.sssZ` format.\n   * @readonly\n   */\n  updatedDate?: Date | null;\n  /**\n   * Custom field data for this object.\n   * Extended fields must be configured in the app dashboard before they can be accessed with API calls.\n   */\n  extendedFields?: ExtendedFields;\n  /**\n   * Whether this booking overlaps with another confirmed booking. Returned\n   * only if set to `true`.\n   * @readonly\n   */\n  doubleBooked?: boolean | null;\n  /**\n   * ID of the [form submission](https://dev.wix.com/docs/rest/crm/forms/form-submissions/introduction)\n   * associated with this booking.\n   * @format GUID\n   */\n  formSubmissionId?: string | null;\n  /**\n   * ID of the [form](https://dev.wix.com/docs/rest/crm/forms/form-schemas/form-object)\n   * associated with this booking. The value depends on how the\n   * booking was created:\n   * - For bookings created with Create Booking or Bulk Create Booking, `formId`\n   * is identical to ID of the booking form that's associated with the relevant\n   * service.\n   * - For bookings created via Create Multi Service Booking, `formId` is set to\n   * `00000000-0000-0000-0000-000000000000` (the default booking form ID).\n   * @format GUID\n   * @readonly\n   */\n  formId?: string | null;\n  /**\n   * List of [add-ons](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/add-ons/introduction) associated with the booking.\n   * @maxSize 21\n   */\n  bookedAddOns?: BookedAddOn[];\n  /**\n   * ID of the app that's associated with the booking.\n   * Inherited from the `appId` of the service associated with the booking.\n   * Bookings are displayed in Wix Bookings only if they are associated with the Wix Bookings app ID or have no associated app ID.\n   * For bookings from Wix apps, the following values apply:\n   * - Wix Bookings: `\"13d21c63-b5ec-5912-8397-c3a5ddb27a97\"`\n   * - Wix Services: `\"cc552162-24a4-45e0-9695-230c4931ef40\"`\n   * - Wix Meetings: `\"6646a75c-2027-4f49-976c-58f3d713ed0f\"`\n   * [Full list of apps created by Wix](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/platform/about-apps-created-by-wix).\n   * <!-- TODO: Uncomment when Platform docs are published - Learn more about [app identity in the Bookings Platform](https://dev.wix.com/docs/api-reference/business-solutions/bookings/bookings-platform/app-identity-in-the-bookings-platform). -->\n   * @format GUID\n   * @readonly\n   */\n  appId?: string | null;\n  /**\n   * ID of the app that created the booking. This field is used for analytics, auditing, and tracking creation sources.\n   * This read-only field is automatically populated during booking creation by checking these sources in order:\n   * 1. The caller's App ID from the request identity context (external app or server identity).\n   * 2. The booking's `appId` field (inherited from the service's `appId`).\n   * 3. The Wix Bookings App ID (`13d21c63-b5ec-5912-8397-c3a5ddb27a97`) as the final fallback.\n   * <!-- TODO: Uncomment when Platform docs are published - Learn more about [app identity in the Bookings Platform](https://dev.wix.com/docs/api-reference/business-solutions/bookings/bookings-platform/app-identity-in-the-bookings-platform). -->\n   * @format GUID\n   * @readonly\n   */\n  createdByAppId?: string | null;\n  /**\n   * Whether the customer chooses to pay only the deposit amount upfront.\n   *\n   * - `true`: The customer pays only the deposit amount upfront.\n   * - `false`: The customer pays the full price upfront.\n   *\n   * Used only when `selectedPaymentOption` is `ONLINE` and the [service](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/introduction) has a deposit amount set.\n   *\n   * When the service supports deposit payments and `fullUpfrontPaymentAllowed` is `false`, this field must be `true`.\n   * When the service supports deposit payments and `fullUpfrontPaymentAllowed` is `true`, this field can be `true` or `false`.\n   */\n  depositSelected?: boolean | null;\n}\n\n/** @oneof */\nexport interface BookingParticipantsInfoOneOf {\n  /**\n   * Total number of participants.\n   * When creating a booking, use this field only if the relevant service has fixed pricing and doesn't offer [variants and options](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction).\n   * @min 1\n   */\n  totalParticipants?: number;\n  /**\n   * Information about the booked service choices and participant count for each choice.\n   * When creating a booking, use this field only if the booking includes multiple [service variants](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction).\n   *\n   * For example, use this for a spa package booking that includes different service levels:\n   * - 2 participants chose \"Standard Package\".\n   * - 1 participant chose \"VIP Package\".\n   */\n  participantsChoices?: ParticipantChoices;\n}\n\n/**\n * Type of multi-service booking.\n * Defines how individual bookings within a multi-service package are scheduled relative to each other.\n */\nexport enum MultiServiceBookingType {\n  /**\n   * Bookings must be scheduled back-to-back.\n   * Each booking starts when the previous one ends, with no gaps between them.\n   */\n  SEQUENTIAL_BOOKINGS = 'SEQUENTIAL_BOOKINGS',\n  /**\n   * Bookings can be scheduled separately.\n   * Each booking can be at different times, not necessarily consecutive.\n   * Not currently supported.\n   */\n  SEPARATE_BOOKINGS = 'SEPARATE_BOOKINGS',\n  /**\n   * Bookings occur at the same time.\n   * All bookings in the package are scheduled for the same time slot.\n   * Not currently supported.\n   */\n  PARALLEL_BOOKINGS = 'PARALLEL_BOOKINGS',\n}\n\n/** @enumType */\nexport type MultiServiceBookingTypeWithLiterals =\n  | MultiServiceBookingType\n  | 'SEQUENTIAL_BOOKINGS'\n  | 'SEPARATE_BOOKINGS'\n  | 'PARALLEL_BOOKINGS';\n\nexport interface BookedEntity extends BookedEntityItemOneOf {\n  /**\n   * [Booked slot](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings-and-time-slots/time-slots/availability-calendar/query-availability).\n   *\n   * Specify `slot` when creating bookings for:\n   * - __Appointment-based services__: Individual sessions with service providers (consultations, treatments).\n   * Wix Bookings creates a new session when the booking is confirmed.\n   * - __Class services__: Group sessions at specific times (fitness classes, workshops).\n   * Wix Bookings links the booking to an existing scheduled session.\n   *\n   * For course services, specify `schedule` instead of `slot`.\n   */\n  slot?: BookedSlot;\n  /**\n   * [Booked schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction).\n   *\n   * Specify `schedule` when creating bookings for:\n   * - __Course services__: Multi-session offerings spanning weeks or months (educational courses, training programs).\n   * Wix Bookings enrolls participants in all sessions defined by the course schedule.\n   */\n  schedule?: BookedSchedule;\n  /**\n   * Session title at the time of booking. If there is no pre-existing session,\n   * for example for appointment-based services, Wix Bookings sets `title` to the service name.\n   * @readonly\n   * @maxLength 6000\n   */\n  title?: string | null;\n  /**\n   * List of tags for the booking.\n   *\n   * - \"INDIVIDUAL\": For bookings of appointment-based services. Including when the appointment is for a group of participants.\n   * - \"GROUP\": For bookings of individual class sessions.\n   * - \"COURSE\": For course bookings.\n   */\n  tags?: string[] | null;\n}\n\n/** @oneof */\nexport interface BookedEntityItemOneOf {\n  /**\n   * [Booked slot](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings-and-time-slots/time-slots/availability-calendar/query-availability).\n   *\n   * Specify `slot` when creating bookings for:\n   * - __Appointment-based services__: Individual sessions with service providers (consultations, treatments).\n   * Wix Bookings creates a new session when the booking is confirmed.\n   * - __Class services__: Group sessions at specific times (fitness classes, workshops).\n   * Wix Bookings links the booking to an existing scheduled session.\n   *\n   * For course services, specify `schedule` instead of `slot`.\n   */\n  slot?: BookedSlot;\n  /**\n   * [Booked schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction).\n   *\n   * Specify `schedule` when creating bookings for:\n   * - __Course services__: Multi-session offerings spanning weeks or months (educational courses, training programs).\n   * Wix Bookings enrolls participants in all sessions defined by the course schedule.\n   */\n  schedule?: BookedSchedule;\n}\n\nexport interface BookedSlot {\n  /**\n   * Session ID. For class bookings, this is the ID of the existing session.\n   * For appointment bookings, this field is typically empty during booking creation and gets populated when the booking is confirmed.\n   *\n   * __Migration Guidance__: Replace usage of this field with `eventId` from the [Time Slots V2 API](https://dev.wix.com/docs/api-reference/business-solutions/bookings/time-slots/time-slots-v2/introduction).\n   * You can follow [these sample flows](https://dev.wix.com/docs/api-reference/business-solutions/bookings/end-to-end-booking-flows) for step-by-step guidance about determining availability and creating bookings.\n   * @deprecated Session ID. For class bookings, this is the ID of the existing session.\n   * For appointment bookings, this field is typically empty during booking creation and gets populated when the booking is confirmed.\n   *\n   * __Migration Guidance__: Replace usage of this field with `eventId` from the [Time Slots V2 API](https://dev.wix.com/docs/api-reference/business-solutions/bookings/time-slots/time-slots-v2/introduction).\n   * You can follow [these sample flows](https://dev.wix.com/docs/api-reference/business-solutions/bookings/end-to-end-booking-flows) for step-by-step guidance about determining availability and creating bookings.\n   * @replacedBy event_id\n   * @targetRemovalDate 2026-03-31\n   */\n  sessionId?: string | null;\n  /** Service ID. */\n  serviceId?: string;\n  /** Schedule ID. */\n  scheduleId?: string;\n  /**\n   * ID of the corresponding [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction).\n   * Available for both appointment and class bookings, not available for course bookings.\n   * For appointment-based services, Wix Bookings automatically populates `eventId` when the booking `status` changes to `CONFIRMED`.\n   * For class bookings, Wix Bookings automatically populates `eventId` upon booking creation.\n   * @minLength 36\n   * @maxLength 250\n   */\n  eventId?: string | null;\n  /** The start time of this slot in `YYYY-MM-DDThh:mm:ss`, `YYYY-MM-DDThh:mm:ss:SSS`, or `YYYY-MM-DDThh:mm:ss:SSSZZ` [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601). For example, `2026-01-30T13:30:00`, `2026-01-30T13:30:00:000`, or `2026-01-30T13:30:00:000-05:00`. */\n  startDate?: string | null;\n  /** The end time of this slot in `YYYY-MM-DDThh:mm:ss`, `YYYY-MM-DDThh:mm:ss:SSS`, or `YYYY-MM-DDThh:mm:ss:SSSZZ` [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601). For example, `2026-01-30T13:30:00`, `2026-01-30T13:30:00:000`, or `2026-01-30T13:30:00:000-05:00`. */\n  endDate?: string | null;\n  /**\n   * Time zone in [IANA tz database format](https://en.wikipedia.org/wiki/Tz_database).\n   * For example, `America/New_York` or `UTC`. This is the time zone in which the slot was shown to the customer at the time of booking. Wix Bookings ensures that the slot is always displayed in this same time zone to the customer, including when they view or edit their booking in the future.\n   */\n  timezone?: string | null;\n  /**\n   * [Primary resource](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resources-v2/introduction) for the booking.\n   * For example, the [staff member](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/introduction) providing the service.\n   */\n  resource?: BookedResource;\n  /** Location where the session takes place. */\n  location?: Location;\n  /**\n   * Information about how the customer has selected resources for the booking.\n   * Each resource type may have a different selection method.\n   * Check `resource` for resource details.\n   * @maxSize 3\n   */\n  resourceSelections?: ResourceSelection[];\n}\n\nexport interface BookedResource {\n  /**\n   * ID of the booking's primary resource.\n   * @format GUID\n   */\n  id?: string;\n  /**\n   * Resource's name at the time of booking.\n   * @maxLength 40\n   */\n  name?: string | null;\n  /**\n   * Resource's email at the time of booking.\n   * @maxLength 500\n   */\n  email?: string | null;\n  /**\n   * ID of the schedule belonging to the booking's primary resource.\n   * @format GUID\n   */\n  scheduleId?: string | null;\n}\n\nexport enum ResourceTransparency {\n  OPAQUE = 'OPAQUE',\n  TRANSPARENT = 'TRANSPARENT',\n}\n\n/** @enumType */\nexport type ResourceTransparencyWithLiterals =\n  | ResourceTransparency\n  | 'OPAQUE'\n  | 'TRANSPARENT';\n\nexport interface Location {\n  /**\n   * Business location ID. Available only for locations that are business locations,\n   * meaning the `location_type` is `\"OWNER_BUSINESS\"`.\n   * @format GUID\n   */\n  id?: string | null;\n  /** Location name. */\n  name?: string | null;\n  /** The full address of this location. */\n  formattedAddress?: string | null;\n  /**\n   * The full translated address of this location.\n   * @maxLength 512\n   */\n  formattedAddressTranslated?: string | null;\n  /** Location type. */\n  locationType?: LocationTypeWithLiterals;\n}\n\nexport enum LocationType {\n  /** Undefined location type. */\n  UNDEFINED = 'UNDEFINED',\n  /** The business address, as set in the site’s general settings. */\n  OWNER_BUSINESS = 'OWNER_BUSINESS',\n  /** The address as set when creating the service. */\n  OWNER_CUSTOM = 'OWNER_CUSTOM',\n  /** The address as set for the individual session. */\n  CUSTOM = 'CUSTOM',\n}\n\n/** @enumType */\nexport type LocationTypeWithLiterals =\n  | LocationType\n  | 'UNDEFINED'\n  | 'OWNER_BUSINESS'\n  | 'OWNER_CUSTOM'\n  | 'CUSTOM';\n\n/** TODO: should we import it from services-2? */\nexport interface PhoneCall {\n  /** Whether the service is delivered via phone call. */\n  enabled?: boolean | null;\n}\n\nexport interface ResourceSelection {\n  /**\n   * ID of the [resource type](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resource-types-v2/introduction).\n   * @format GUID\n   */\n  resourceTypeId?: string | null;\n  /** Information about how the customer has selected the resource for this resource type. */\n  selectionMethod?: SelectionMethodWithLiterals;\n}\n\nexport enum SelectionMethod {\n  /** The customer explicitly chose a particular resource. */\n  SPECIFIC_RESOURCE = 'SPECIFIC_RESOURCE',\n  /** The customer explicitly chose \"any available resource\" for this resource type. */\n  ANY_RESOURCE = 'ANY_RESOURCE',\n  /** The customer wasn't offered a resource selection or agreement option for this resource type. */\n  NO_SELECTION = 'NO_SELECTION',\n}\n\n/** @enumType */\nexport type SelectionMethodWithLiterals =\n  | SelectionMethod\n  | 'SPECIFIC_RESOURCE'\n  | 'ANY_RESOURCE'\n  | 'NO_SELECTION';\n\nexport interface BookedSchedule {\n  /** [Schedule ID](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction). */\n  scheduleId?: string;\n  /**\n   * Booked service ID.\n   * @format GUID\n   */\n  serviceId?: string | null;\n  /**\n   * [Location](https://dev.wix.com/docs/rest/business-management/locations/introduction) where the schedule's sessions take place.\n   * @readonly\n   */\n  location?: Location;\n  /**\n   * Time zone in [IANA tz database format](https://en.wikipedia.org/wiki/Tz_database).\n   * For example, `America/New_York` or `UTC`. This is the time zone in which the schedule was shown to the customer at the time of booking. Wix Bookings ensures that the schedule is always displayed in this same time zone to the customer, including when they view or edit their booking in the future.\n   */\n  timezone?: string | null;\n  /**\n   * Start time of the first session related to the booking in `YYYY-MM-DDThh:mm:ss`, `YYYY-MM-DDThh:mm:ss:SSS`, or `YYYY-MM-DDThh:mm:ss:SSSZZ` [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601). For example, `2026-01-30T13:30:00`, `2026-01-30T13:30:00:000`, or `2026-01-30T13:30:00:000-05:00`.\n   * @readonly\n   */\n  firstSessionStart?: string | null;\n  /**\n   * End time of the last session related to the booking in `YYYY-MM-DDThh:mm:ss`, `YYYY-MM-DDThh:mm:ss:SSS`, or `YYYY-MM-DDThh:mm:ss:SSSZZ` [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601). For example, `2026-01-30T13:30:00`, `2026-01-30T13:30:00:000`, or `2026-01-30T13:30:00:000-05:00`.\n   * @readonly\n   */\n  lastSessionEnd?: string | null;\n}\n\nexport interface ContactDetails {\n  /**\n   * Contact ID.\n   * @format GUID\n   */\n  contactId?: string | null;\n  /**\n   * Contact's first name. When populated from a standard booking form, this\n   * property corresponds to the `name` field.\n   */\n  firstName?: string | null;\n  /** Contact's last name. */\n  lastName?: string | null;\n  /**\n   * Contact's email. If no [contact](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/contacts/contact-v4/contact-object)\n   * with this email exist, a new contact is created.\n   * Used to validate coupon usage limitations per contact. If not specified,\n   * the coupon usage limitation will not be enforced. (Coupon usage limitation\n   * validation is not supported yet).\n   * @format EMAIL\n   */\n  email?: string | null;\n  /** Contact's phone number. */\n  phone?: string | null;\n  /** Contact's full address. */\n  fullAddress?: Address;\n  /**\n   * Contact's time zone.\n   * @deprecated Contact's time zone.\n   * @targetRemovalDate 2026-03-31\n   */\n  timeZone?: string | null;\n  /**\n   * Contact's country in [ISO 3166-1 alpha-2 code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)\n   * format.\n   * @format COUNTRY\n   */\n  countryCode?: string | null;\n}\n\n/** Physical address */\nexport interface Address extends AddressStreetOneOf {\n  /** Street name, number and apartment number. */\n  streetAddress?: StreetAddress;\n  /** Main address line, usually street and number, as free text. */\n  addressLine?: string | null;\n  /**\n   * Country code.\n   * @format COUNTRY\n   */\n  country?: string | null;\n  /** Subdivision. Usually state, region, prefecture or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). */\n  subdivision?: string | null;\n  /** City name. */\n  city?: string | null;\n  /** Zip/postal code. */\n  postalCode?: string | null;\n  /** Free text providing more detailed address info. Usually contains Apt, Suite, and Floor. */\n  addressLine2?: string | null;\n  /** A string containing the full address of this location. */\n  formattedAddress?: string | null;\n  /** Free text to help find the address. */\n  hint?: string | null;\n  /** Coordinates of the physical address. */\n  geocode?: AddressLocation;\n  /** Country full name. */\n  countryFullname?: string | null;\n  /** Multi-level subdivisions from top to bottom. */\n  subdivisions?: Subdivision[];\n}\n\n/** @oneof */\nexport interface AddressStreetOneOf {\n  /** Street name, number and apartment number. */\n  streetAddress?: StreetAddress;\n  /** Main address line, usually street and number, as free text. */\n  addressLine?: string | null;\n}\n\nexport interface StreetAddress {\n  /** Street number. */\n  number?: string;\n  /** Street name. */\n  name?: string;\n  /** Apartment number. */\n  apt?: string;\n}\n\nexport interface AddressLocation {\n  /** Address latitude. */\n  latitude?: number | null;\n  /** Address longitude. */\n  longitude?: number | null;\n}\n\nexport interface Subdivision {\n  /** Subdivision code. Usually state, region, prefecture or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). */\n  code?: string;\n  /** Subdivision full name. */\n  name?: string;\n}\n\nexport interface CustomFormField {\n  /**\n   * ID of the form field as defined in the form.\n   * @format GUID\n   */\n  id?: string;\n  /** Value that was submitted for this field. */\n  value?: string | null;\n  /**\n   * Form field's label at the time of submission.\n   * @readonly\n   */\n  label?: string | null;\n  valueType?: ValueTypeWithLiterals;\n}\n\nexport enum ValueType {\n  /** Short text. This is the default value type. */\n  SHORT_TEXT = 'SHORT_TEXT',\n  /** Long text. */\n  LONG_TEXT = 'LONG_TEXT',\n  /** A text that represents the check box value. If selected the value is `true`, otherwise `false`. */\n  CHECK_BOX = 'CHECK_BOX',\n}\n\n/** @enumType */\nexport type ValueTypeWithLiterals =\n  | ValueType\n  | 'SHORT_TEXT'\n  | 'LONG_TEXT'\n  | 'CHECK_BOX';\n\n/** Booking status. */\nexport enum BookingStatus {\n  /** The booking was created, but the customer hasn't completed the related eCommerce order yet. */\n  CREATED = 'CREATED',\n  /** The merchant has confirmed the booking and it appears in the business calendar. Merchants can set up their [services](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/introduction) to automatically confirm all `PENDING` bookings. */\n  CONFIRMED = 'CONFIRMED',\n  /**\n   * The customer has canceled the booking. Depending on the relevant service's [policy snapshot](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policy-snapshots/introduction)\n   * they may have to pay a [cancellation fee](https://dev.wix.com/docs/rest/business-solutions/bookings/pricing/booking-fees/introduction).\n   */\n  CANCELED = 'CANCELED',\n  /** The merchant must manually confirm the booking before it appears in the business calendar. */\n  PENDING = 'PENDING',\n  /** The merchant has declined the booking before the customer was charged. */\n  DECLINED = 'DECLINED',\n  /** Currently, you can't call [Register to Waitlist](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/waitlist/register-to-waitlist) for course or appointment bookings, even though this is supported in live sites. */\n  WAITING_LIST = 'WAITING_LIST',\n}\n\n/** @enumType */\nexport type BookingStatusWithLiterals =\n  | BookingStatus\n  | 'CREATED'\n  | 'CONFIRMED'\n  | 'CANCELED'\n  | 'PENDING'\n  | 'DECLINED'\n  | 'WAITING_LIST';\n\n/**\n * Payment status.\n * Automatically updated when using eCommerce checkout APIs.\n */\nexport enum PaymentStatus {\n  /** Undefined payment status. */\n  UNDEFINED = 'UNDEFINED',\n  /** The booking isn't paid. */\n  NOT_PAID = 'NOT_PAID',\n  /** The booking is fully paid. */\n  PAID = 'PAID',\n  /** The booking is partially paid. */\n  PARTIALLY_PAID = 'PARTIALLY_PAID',\n  /** The booking is refunded. */\n  REFUNDED = 'REFUNDED',\n  /** The booking is free of charge. */\n  EXEMPT = 'EXEMPT',\n}\n\n/** @enumType */\nexport type PaymentStatusWithLiterals =\n  | PaymentStatus\n  | 'UNDEFINED'\n  | 'NOT_PAID'\n  | 'PAID'\n  | 'PARTIALLY_PAID'\n  | 'REFUNDED'\n  | 'EXEMPT';\n\n/**\n * Selected payment option.\n *\n * One of the payment options offered by the service.\n * This field is set when the user selects an option during booking.\n * If left undefined, the payment option is resolved by the service configuration on checkout.\n */\nexport enum SelectedPaymentOption {\n  /** Undefined payment option. */\n  UNDEFINED = 'UNDEFINED',\n  /** Offline payment. */\n  OFFLINE = 'OFFLINE',\n  /** Online payment. */\n  ONLINE = 'ONLINE',\n  /** Payment using a Wix Pricing Plan. */\n  MEMBERSHIP = 'MEMBERSHIP',\n  /**\n   * Customers can pay only in person with a Wix Pricing Plan, while the Wix user\n   * must manually redeem the pricing plan in the dashboard.\n   */\n  MEMBERSHIP_OFFLINE = 'MEMBERSHIP_OFFLINE',\n}\n\n/** @enumType */\nexport type SelectedPaymentOptionWithLiterals =\n  | SelectedPaymentOption\n  | 'UNDEFINED'\n  | 'OFFLINE'\n  | 'ONLINE'\n  | 'MEMBERSHIP'\n  | 'MEMBERSHIP_OFFLINE';\n\nexport interface BookingSource {\n  /** Platform from which a booking was created. */\n  platform?: PlatformWithLiterals;\n  /** Actor that created this booking. */\n  actor?: ActorWithLiterals;\n  /**\n   * Wix site ID of the application that created the booking.\n   * @format GUID\n   * @readonly\n   */\n  appDefId?: string | null;\n  /**\n   * Name of the application that created the booking, as saved in Wix Developers Center at the time of booking.\n   * @readonly\n   */\n  appName?: string | null;\n}\n\nexport enum Platform {\n  UNDEFINED_PLATFORM = 'UNDEFINED_PLATFORM',\n  WEB = 'WEB',\n  MOBILE_APP = 'MOBILE_APP',\n}\n\n/** @enumType */\nexport type PlatformWithLiterals =\n  | Platform\n  | 'UNDEFINED_PLATFORM'\n  | 'WEB'\n  | 'MOBILE_APP';\n\nexport enum Actor {\n  UNDEFINED_ACTOR = 'UNDEFINED_ACTOR',\n  BUSINESS = 'BUSINESS',\n  CUSTOMER = 'CUSTOMER',\n}\n\n/** @enumType */\nexport type ActorWithLiterals =\n  | Actor\n  | 'UNDEFINED_ACTOR'\n  | 'BUSINESS'\n  | 'CUSTOMER';\n\nexport interface ParticipantNotification {\n  /**\n   * Whether to send a message about the changes to the customer.\n   *\n   * Default: `false`\n   */\n  notifyParticipants?: boolean;\n  /** Custom message to send to the participants about the changes to the booking. */\n  message?: string | null;\n  /**\n   * Information about the delivery channels used to send the notification.\n   * For example, `{\"channels\": \"SMS\" }`, `{\"channels\": \"EMAIL\" }`, or `{\"channels\": \"EMAIL, SMS\" }`.\n   */\n  metadata?: Record<string, string>;\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  /**\n   * ID of of a contact in the site's [CRM by Ascend](https://www.wix.com/ascend/crm) system.\n   * @format GUID\n   */\n  contactId?: string | null;\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 IdentityType {\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 IdentityTypeWithLiterals =\n  | IdentityType\n  | 'UNKNOWN'\n  | 'ANONYMOUS_VISITOR'\n  | 'MEMBER'\n  | 'WIX_USER'\n  | 'APP';\n\n/**\n * Settings that control booking flow behavior and override default business rules.\n *\n * These settings allow administrators to bypass standard validation checks\n * and policies when creating, confirming, rescheduling, or canceling bookings.\n * Most settings require elevated permissions to use.\n *\n * Use flow control settings to handle special scenarios like:\n * - Emergency bookings outside normal business hours\n * - Admin-initiated bookings that bypass availability checks\n * - Custom payment flows that don't use standard eCommerce checkout\n * - Overriding cancellation or rescheduling policies in exceptional cases\n */\nexport interface FlowControlSettings {\n  /** Whether availability is checked when creating or confirming the booking. */\n  skipAvailabilityValidation?: boolean;\n  /**\n   * Whether the booking's `status` is automatically updated to `CONFIRMED` when\n   * the customer completes the [eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction),\n   * regardless of whether the relevant service requires manual business confirmation.\n   */\n  skipBusinessConfirmation?: boolean;\n  /**\n   * Whether the customer is allowed to pay with a payment method that isn't\n   * supported for the relevant service.\n   */\n  skipSelectedPaymentOptionValidation?: boolean;\n  /**\n   * Whether the customer receives an automatic refund if there's a double booking\n   * conflict. Only available if the customer has paid with a\n   * pricing plan.\n   */\n  withRefund?: boolean | null;\n  /**\n   * Whether [add-on](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/add-ons/introduction) validations are skipped when creating a booking.\n   * For example, customers can choose an add-on from an [add-on group](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/about-add-on-groups) that's not associated with the service or choose more than the maximum number of different add-ons from a group.\n   * The calling [identity](https://dev.wix.com/docs/build-apps/develop-your-app/access/about-identities) must have `BOOKINGS.MANAGE_ADDONS` permissions when specifying `true`.\n   *\n   * Default: `false`.\n   */\n  skipAddOnValidation?: boolean | 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 ParticipantChoices {\n  /**\n   * Information about the booked service choices. Includes the number of participants.\n   * @minSize 1\n   * @maxSize 20\n   */\n  serviceChoices?: ServiceChoices[];\n}\n\nexport interface ServiceChoices {\n  /**\n   * Number of participants for this [variant](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction).\n   * @min 1\n   */\n  numberOfParticipants?: number | null;\n  /**\n   * Service choices for these participants.\n   * @maxSize 5\n   */\n  choices?: ServiceChoice[];\n}\n\nexport interface MultiServiceBookingInfo {\n  /**\n   * Multi-service booking ID.\n   * @format GUID\n   * @readonly\n   */\n  id?: string | null;\n  /** Type of the multi-service booking. */\n  type?: MultiServiceBookingTypeWithLiterals;\n}\n\nexport interface BookedAddOn {\n  /**\n   * The ID of the add-on.\n   * @format GUID\n   */\n  id?: string;\n  /**\n   * The ID of the add-on group.\n   * @format GUID\n   */\n  groupId?: string;\n  /**\n   * The add-on duration in minutes at the time of booking.\n   * Populated for duration-based add-ons.\n   * @min 1\n   * @max 1440\n   * @readonly\n   */\n  durationInMinutes?: number | null;\n  /**\n   * The quantity of booked add-ons.\n   * For duration-based add-ons, `quantity` is not applicable.\n   * If `quantity` is provided as `1` for a duration-based add-on, it will be accepted but the value will be cleared.\n   * If any other value is provided, an `INVALID_ARGUMENT` error will be returned with the message: \"Invalid AddOn details: either duration or quantity must be set correctly\".\n   * @min 1\n   * @max 1000\n   */\n  quantity?: number | null;\n  /**\n   * Add-on `name` at the time of booking.\n   * @maxLength 100\n   * @readonly\n   */\n  name?: string | null;\n  /**\n   * Add-on name translated to the language the customer used during booking.\n   * @maxLength 100\n   * @readonly\n   */\n  nameTranslated?: string | null;\n}\n\nexport interface CalculatePriceResponse {\n  /** Information about each line item's base price and the total base price. */\n  priceInfo?: PriceInfo;\n}\n\n/** @docsIgnore */\nexport type PreviewPriceApplicationErrors =\n  | {\n      code?: 'INVALID_SERVICE_ID';\n      description?: string;\n      data?: Record<string, any>;\n    }\n  | {\n      code?: 'NUMBER_OF_PARTICIPANTS_NOT_FOUND';\n      description?: string;\n      data?: Record<string, any>;\n    }\n  | {\n      code?: 'FAILED_RESOLVING_SERVICE';\n      description?: string;\n      data?: Record<string, any>;\n    };\n/** @docsIgnore */\nexport type CalculatePriceApplicationErrors =\n  | {\n      code?: 'INVALID_BOOKING';\n      description?: string;\n      data?: Record<string, any>;\n    }\n  | {\n      code?: 'NUMBER_OF_PARTICIPANTS_NOT_FOUND';\n      description?: string;\n      data?: Record<string, any>;\n    }\n  | {\n      code?: 'FAILED_RESOLVING_SERVICE';\n      description?: string;\n      data?: Record<string, any>;\n    }\n  | {\n      code?: 'ERROR_CONTACTING_PRICING_PROVIDER';\n      description?: string;\n      data?: Record<string, any>;\n    }\n  | {\n      code?: 'MULTIPLE_PRICING_PROVIDERS_FOUND';\n      description?: string;\n      data?: Record<string, any>;\n    };\n","import * as ambassadorWixBookingsV2PriceInfo from './bookings-v2-price-info-pricing.http.js';\nimport * as ambassadorWixBookingsV2PriceInfoTypes from './bookings-v2-price-info-pricing.types.js';\nimport * as ambassadorWixBookingsV2PriceInfoUniversalTypes from './bookings-v2-price-info-pricing.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 previewPrice(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixBookingsV2PriceInfoUniversalTypes.PreviewPriceRequest,\n  ambassadorWixBookingsV2PriceInfoTypes.PreviewPriceRequest,\n  ambassadorWixBookingsV2PriceInfoUniversalTypes.PreviewPriceResponse,\n  ambassadorWixBookingsV2PriceInfoTypes.PreviewPriceResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixBookingsV2PriceInfo.previewPrice(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/pricing/preview',\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 calculatePrice(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixBookingsV2PriceInfoUniversalTypes.CalculatePriceRequest,\n  ambassadorWixBookingsV2PriceInfoTypes.CalculatePriceRequest,\n  ambassadorWixBookingsV2PriceInfoUniversalTypes.CalculatePriceResponse,\n  ambassadorWixBookingsV2PriceInfoTypes.CalculatePriceResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixBookingsV2PriceInfo.calculatePrice(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/pricing/calculate',\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  PriceInfo as PriceInfoOriginal,\n  PriceInfoTotalPriceOneOf as PriceInfoTotalPriceOneOfOriginal,\n  BookingLineItem as BookingLineItemOriginal,\n  ServiceChoice as ServiceChoiceOriginal,\n  ServiceChoiceChoiceOneOf as ServiceChoiceChoiceOneOfOriginal,\n  Duration as DurationOriginal,\n  PricingServiceChoices as PricingServiceChoicesOriginal,\n  PriceDescriptionInfo as PriceDescriptionInfoOriginal,\n  PreviewPriceRequest as PreviewPriceRequestOriginal,\n  PreviewPriceResponse as PreviewPriceResponseOriginal,\n  CalculatePriceRequest as CalculatePriceRequestOriginal,\n  Booking as BookingOriginal,\n  BookingParticipantsInfoOneOf as BookingParticipantsInfoOneOfOriginal,\n  MultiServiceBookingType as MultiServiceBookingTypeOriginal,\n  MultiServiceBookingTypeWithLiterals as MultiServiceBookingTypeWithLiteralsOriginal,\n  BookedEntity as BookedEntityOriginal,\n  BookedEntityItemOneOf as BookedEntityItemOneOfOriginal,\n  BookedSlot as BookedSlotOriginal,\n  BookedResource as BookedResourceOriginal,\n  ResourceTransparency as ResourceTransparencyOriginal,\n  ResourceTransparencyWithLiterals as ResourceTransparencyWithLiteralsOriginal,\n  Location as LocationOriginal,\n  LocationType as LocationTypeOriginal,\n  LocationTypeWithLiterals as LocationTypeWithLiteralsOriginal,\n  PhoneCall as PhoneCallOriginal,\n  ResourceSelection as ResourceSelectionOriginal,\n  SelectionMethod as SelectionMethodOriginal,\n  SelectionMethodWithLiterals as SelectionMethodWithLiteralsOriginal,\n  BookedSchedule as BookedScheduleOriginal,\n  ContactDetails as ContactDetailsOriginal,\n  Address as AddressOriginal,\n  AddressStreetOneOf as AddressStreetOneOfOriginal,\n  StreetAddress as StreetAddressOriginal,\n  AddressLocation as AddressLocationOriginal,\n  Subdivision as SubdivisionOriginal,\n  CustomFormField as CustomFormFieldOriginal,\n  ValueType as ValueTypeOriginal,\n  ValueTypeWithLiterals as ValueTypeWithLiteralsOriginal,\n  BookingStatus as BookingStatusOriginal,\n  BookingStatusWithLiterals as BookingStatusWithLiteralsOriginal,\n  PaymentStatus as PaymentStatusOriginal,\n  PaymentStatusWithLiterals as PaymentStatusWithLiteralsOriginal,\n  SelectedPaymentOption as SelectedPaymentOptionOriginal,\n  SelectedPaymentOptionWithLiterals as SelectedPaymentOptionWithLiteralsOriginal,\n  BookingSource as BookingSourceOriginal,\n  Platform as PlatformOriginal,\n  PlatformWithLiterals as PlatformWithLiteralsOriginal,\n  Actor as ActorOriginal,\n  ActorWithLiterals as ActorWithLiteralsOriginal,\n  ParticipantNotification as ParticipantNotificationOriginal,\n  IdentificationData as IdentificationDataOriginal,\n  IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n  IdentityType as IdentityTypeOriginal,\n  IdentityTypeWithLiterals as IdentityTypeWithLiteralsOriginal,\n  FlowControlSettings as FlowControlSettingsOriginal,\n  ExtendedFields as ExtendedFieldsOriginal,\n  ParticipantChoices as ParticipantChoicesOriginal,\n  ServiceChoices as ServiceChoicesOriginal,\n  MultiServiceBookingInfo as MultiServiceBookingInfoOriginal,\n  BookedAddOn as BookedAddOnOriginal,\n  CalculatePriceResponse as CalculatePriceResponseOriginal,\n  PreviewPriceApplicationErrors as PreviewPriceApplicationErrorsOriginal,\n  CalculatePriceApplicationErrors as CalculatePriceApplicationErrorsOriginal,\n} from './bookings-v2-price-info-pricing.types.js';\n"],"mappings":"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","names":["payload","MultiServiceBookingType","ResourceTransparency","LocationType","SelectionMethod","ValueType","BookingStatus","PaymentStatus","SelectedPaymentOption","Platform","Actor","IdentityType","previewPrice","calculatePrice"]}