"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.SUBMIT_DELAY = exports.STEP = exports.PAYMENT_PROVIDER = exports.PAYMENT_METHOD = exports.PAYMENT_CARD = exports.OCCUPATION_TYPE = exports.MONTHS_IN_MOBILE = exports.LOCALES = exports.EVENT = exports.CALENDAR_FORMAT = exports.ACCOMMODATION_TYPE = void 0;
var _ui = require("@mirai/ui");
const ACCOMMODATION_TYPE = exports.ACCOMMODATION_TYPE = {
  ROOM: 1,
  APARTMENT: 2,
  PITCH: 3,
  ACCOMMODATION: 4,
  VILLA: 5
};
const CALENDAR_FORMAT = exports.CALENDAR_FORMAT = 'DD/MM/YYYY';
const EVENT = exports.EVENT = {
  // -- @mirai/core
  BOOKING_RESPONSE: 'bookingResponse',
  BOOKING_CANCEL: 'bookingCancel',
  CHAT_CLOSE: 'chatClose',
  CHAT_OPEN: 'chatOpen',
  CHAT_OPENED: 'chatOpened',
  CHECKOUT_RESPONSE: 'checkoutResponse',
  CHECKOUT_FORM: 'checkoutForm',
  COOKIE_BANNER_OPEN: 'cookieBannerOpen',
  CORE_READY: 'coreReady',
  EXTERNAL_TWIN: 'externalTwin',
  FINDER: 'finder',
  FINDER_FIELD_CHANGE: 'finderFieldChange',
  FINDER_READY: 'finderReady',
  FOOTER_HEIGHT_CHANGE: 'footerHeightChenge',
  INTENT_CURRENCY: 'intentCurrency',
  INTENT_LOCALE: 'intentLocale',
  LOGGED: 'logged',
  LOGGED_OUT: 'loggedOut',
  LOGIN: 'login',
  LOCALE_CHANGED: 'localeChanged',
  METRICS: 'metrics',
  NOTIFICATION: 'notification',
  OTA_PRICES_READY: 'otaPricesReady',
  PAY_LATER: 'payLater',
  RATES_ADD_TO_CART: 'ratesAddToCart',
  RATES_RESPONSE: 'ratesResponse',
  RATES_FILTER_CLUB: 'ratesFilterClub',
  RATES_FILTER_PROMOCODE: 'ratesFilterPromocode',
  SARAI_MESSAGE_SENT: 'saraiMessageSent',
  // -- @mirai/ui
  MODAL_VISIBLE: _ui.MODAL_EVENT_VISIBLE
};
const LOCALES = exports.LOCALES = ['en-GB', 'es-ES', 'fr-FR', 'de-DE', 'ja-JP', 'it-IT', 'pt-PT', 'da-DK', 'fi-FI', 'nb-NO', 'nl-NL', 'pl-PL', 'ro-RO', 'ru-RU', 'sv-SE', 'tr-TR', 'zh-CN', 'cs-CZ', 'el-GR', 'ar-DZ', 'hu-HU', 'ca-ES', 'eu-ES', 'vi-VN'];
const MONTHS_IN_MOBILE = exports.MONTHS_IN_MOBILE = 3;
const OCCUPATION_TYPE = exports.OCCUPATION_TYPE = {
  GUEST: 1,
  ADULT: 2,
  CHILD: 3,
  BABY: 4
};
const PAYMENT_CARD = exports.PAYMENT_CARD = {
  AMERICAN_EXPRESS: 'AMERICAN_EXPRESS',
  DINERS_CLUB: 'DINERS_CLUB',
  DISCOVER: 'DISCOVER',
  JCB: 'JCB',
  MAESTRO: 'MAESTRO',
  // low resolution logo
  MASTERCARD: 'MASTERCARD',
  UNIONPAY: 'UNIONPAY',
  VISA: 'VISA'
};
const PAYMENT_METHOD = exports.PAYMENT_METHOD = {
  ALIPAY: 'ALIPAY',
  AMAZON_PAY: 'AMAZON_PAY',
  APLAZAME: 'APLAZAME',
  BIZUM: 'BIZUM',
  CARD: 'CARD',
  CARD_PREPAY: 'CARD_PREPAY',
  CRIPTAN: 'CRIPTAN',
  IDEAL: 'IDEAL',
  OXXO: 'OXXO',
  PAYLATER: 'PAYLATER',
  PAYPAL: 'PAYPAL',
  PCIPROXY: 'PCIPROXY',
  SOFORT: 'SOFORT',
  TPV: 'TPV',
  TRANSFER: 'TRANSFER',
  WECHATPAY: 'WECHATPAY'
};
const PAYMENT_PROVIDER = exports.PAYMENT_PROVIDER = {
  ADDON: 'ADDON',
  ADYEN: 'ADYEN',
  CARDNET: 'CARDNET',
  CHECKOUT: 'CHECKOUT',
  HIPAY: 'HIPAY',
  HOTELPAY: 'HOTELPAY',
  LINKAGEPAY: 'LINKAGEPAY',
  MULTIPAGOS: 'MULTIPAGOS',
  OPENPAY: 'OPENPAY',
  PAYBOX: 'PAYBOX',
  PAYBYRD: 'PAYBYRD',
  PAYCOMET: 'PAYCOMET',
  PAYNOPAIN: 'PAYNOPAIN',
  REDSYS: 'REDSYS',
  REDUNIQ: 'REDUNIQ',
  SIPAY: 'SIPAY',
  STRIPE: 'STRIPE'
};
const STEP = exports.STEP = {
  BOOKING_CANCELLATION: 'CANCELLATION',
  BOOKING_CONFIRMATION: 'CONFIRMATION',
  CHECKOUT: 'CLIENTFORM',
  FINDER: 'BOOKINGENTRANCE',
  HOTELS: 'CHAINRESULT',
  RATES: 'BOOKINGSTEP1'
};
const SUBMIT_DELAY = exports.SUBMIT_DELAY = 800;
//# sourceMappingURL=constants.js.map