@mirai/core 0.3.379 → 0.3.380

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/__tests__/Checkout/__mocks__/checkout-get.json +935 -0
  2. package/__tests__/Checkout/__mocks__/checkout-post-PAYLATER.json +10 -0
  3. package/__tests__/Checkout/__mocks__/checkout-post-TPV.json +7 -0
  4. package/__tests__/Checkout/__mocks__/checkout-post-TRANSFER.json +10 -0
  5. package/__tests__/Checkout/checkout.constants.js +8 -0
  6. package/__tests__/Checkout/checkout.spec.jsx +40 -0
  7. package/__tests__/Checkout/workflows/form.workflow.js +17 -0
  8. package/__tests__/Checkout/workflows/index.js +4 -0
  9. package/__tests__/Checkout/workflows/payment.workflow.js +10 -0
  10. package/__tests__/Checkout/workflows/review.workflow.js +19 -0
  11. package/__tests__/Checkout/workflows/submit.workflow.js +9 -0
  12. package/__tests__/Finder/finder.spec.js +64 -0
  13. package/__tests__/Finder/workflows/calendar.workflow.js +9 -0
  14. package/__tests__/Finder/workflows/index.js +3 -0
  15. package/__tests__/Finder/workflows/occupation.workflow.js +13 -0
  16. package/__tests__/Finder/workflows/promocode.workflow.js +8 -0
  17. package/__tests__/Rates/__mocks__/rates-success.json +731 -0
  18. package/__tests__/Rates/rates.spec.jsx +20 -0
  19. package/__tests__/Session/workflows/forgotPassword.workflow.js +4 -2
  20. package/__tests__/Session/workflows/login.workflow.js +5 -3
  21. package/__tests__/Session/workflows/profile.workflow.js +11 -9
  22. package/__tests__/Signup/workflows/signup.workflow.js +9 -7
  23. package/__tests__/constants.js +18 -0
  24. package/__tests__/helpers/getWeekNumber.js +8 -0
  25. package/__tests__/helpers/index.js +1 -0
  26. package/build/components/Checkout/Checkout.js +1 -0
  27. package/build/components/Checkout/Checkout.js.map +1 -1
  28. package/build/components/Checkout/__tests__/__snapshots__/Checkout.test.js.snap +16 -16
  29. package/build/components/Checkout/partials/Checkout.Confirmation.js +2 -1
  30. package/build/components/Checkout/partials/Checkout.Confirmation.js.map +1 -1
  31. package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Confirmation.test.js.snap +6 -0
  32. package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Form.test.js.snap +28 -8
  33. package/build/components/Deals/__tests__/__snapshots__/Deals.Calendar.test.js.snap +114 -114
  34. package/build/components/Deals/__tests__/__snapshots__/Deals.test.js.snap +211 -209
  35. package/build/components/Environment/Environment.js +4 -2
  36. package/build/components/Environment/Environment.js.map +1 -1
  37. package/build/components/Finder/Finder.compact.js +10 -5
  38. package/build/components/Finder/Finder.compact.js.map +1 -1
  39. package/build/components/Finder/Finder.constants.js +1 -2
  40. package/build/components/Finder/Finder.constants.js.map +1 -1
  41. package/build/components/Finder/Finder.js +4 -20
  42. package/build/components/Finder/Finder.js.map +1 -1
  43. package/build/components/Finder/__tests__/__snapshots__/Finder.test.js.snap +734 -730
  44. package/build/components/Finder/components/Calendar/__tests__/__snapshots__/Calendar.test.js.snap +419 -419
  45. package/build/components/__shared__/BookingDetails/BookingDetails.js +2 -1
  46. package/build/components/__shared__/BookingDetails/BookingDetails.js.map +1 -1
  47. package/build/components/__shared__/BookingDetails/__tests__/__snapshots__/BookingDetails.test.js.snap +5 -0
  48. package/build/components/__shared__/BookingSummary/BookingSummary.js +2 -1
  49. package/build/components/__shared__/BookingSummary/BookingSummary.js.map +1 -1
  50. package/build/components/__shared__/ButtonMore/ButtonMore.js +1 -1
  51. package/build/components/__shared__/ButtonMore/ButtonMore.js.map +1 -1
  52. package/build/components/__shared__/ButtonMore/__tests__/__snapshots__/ButtonMore.test.js.snap +2 -0
  53. package/build/components/__shared__/FieldOccupation/__tests__/__snapshots__/FieldOccupation.test.js.snap +1 -0
  54. package/build/components/__shared__/FieldPromocode/FieldPromocode.js +4 -2
  55. package/build/components/__shared__/FieldPromocode/FieldPromocode.js.map +1 -1
  56. package/build/components/__shared__/FieldPromocode/__tests__/__snapshots__/FieldPromocode.test.jsx.snap +2 -1
  57. package/build/components/__shared__/Occupation/Occupation.Group.js +2 -1
  58. package/build/components/__shared__/Occupation/Occupation.Group.js.map +1 -1
  59. package/build/components/__shared__/Occupation/__tests__/__snapshots__/Occupation.test.js.snap +6 -0
  60. package/build/components/__shared__/Payment/Payment.js +2 -1
  61. package/build/components/__shared__/Payment/Payment.js.map +1 -1
  62. package/build/components/__shared__/Payment/__tests__/__snapshots__/Payment.test.js.snap +25 -10
  63. package/build/helpers/consolidateStore.js +1 -1
  64. package/build/helpers/consolidateStore.js.map +1 -1
  65. package/package.json +2 -1
  66. package/playwright.config.js +10 -7
  67. package/public/routes/Home.jsx +3 -2
  68. package/__tests__/Finder/finder._spec.js +0 -18
@@ -0,0 +1,935 @@
1
+ {
2
+ "status": "OK",
3
+ "message": "",
4
+ "data": {
5
+ "siiCompliant": false,
6
+ "paymentConditions": "Prepago de 100%: Por transferencia bancaria o Reserva ahora, facilita los datos de tarjeta después\r\n\r\n\r\n\r\n o Pago seguro online",
7
+ "hotel": {
8
+ "address": "Mariano Pola, 13",
9
+ "city": "33212, Gijón, Asturias",
10
+ "country": "España",
11
+ "currency": "EUR",
12
+ "image": null,
13
+ "name": "Monalisa Test",
14
+ "privacyPolicy": "https://reservation.mirai.com/MRE/MAgreement.do?idtokenprovider=100379008&language=es"
15
+ },
16
+ "cancelationPolicy": {
17
+ "summary": "El hotel, cuando reciba la reserva, cobrará en tu tarjeta la totalidad del importe. No se admite devolución en caso de anulación, salida anticipada o no presentarte (la reserva sólo se mantendría la primera noche). Si el pago fuera denegado, el hotel anularía tu reserva."
18
+ },
19
+ "payment": {
20
+ "config": {
21
+ "cards": ["VISA", "MASTERCARD", "AMERICAN_EXPRESS"],
22
+ "currencyDecimals": 2,
23
+ "provider": "REDUNIQ",
24
+ "publicKey": {},
25
+ "showCVV": true
26
+ },
27
+ "info": {
28
+ "amount": 475.2,
29
+ "amountRaw": 47520,
30
+ "cardValidation": false,
31
+ "time": {
32
+ "value": 5,
33
+ "type": 1
34
+ }
35
+ },
36
+ "methods": ["TPV", "TRANSFER", "PAYLATER"]
37
+ },
38
+ "price": {
39
+ "base": 365.0,
40
+ "description": "(Impuestos incluidos, No incluido \r\n6,00 EUR por persona y noche de tasa local desde los 16 años. \r\n)",
41
+ "discounts": [
42
+ {
43
+ "amount": 73.0,
44
+ "type": 2
45
+ }
46
+ ],
47
+ "extras": 140.0,
48
+ "total": 565.2,
49
+ "prepayment": {
50
+ "PAYLATER": {
51
+ "value": 475.2,
52
+ "currency": "EUR"
53
+ },
54
+ "TRANSFER": {
55
+ "value": 475.2,
56
+ "currency": "EUR"
57
+ },
58
+ "TPV": {
59
+ "value": 475.2,
60
+ "currency": "EUR"
61
+ }
62
+ },
63
+ "taxes": [
64
+ {
65
+ "age": 0,
66
+ "amount": 43.2,
67
+ "percentage": 10.0,
68
+ "applyTo": 0,
69
+ "type": 0,
70
+ "fee": false
71
+ },
72
+ {
73
+ "age": 16,
74
+ "amount": 90.0,
75
+ "percentage": 0,
76
+ "applyTo": 0,
77
+ "type": 1,
78
+ "fee": true
79
+ }
80
+ ]
81
+ },
82
+ "details": [
83
+ {
84
+ "amount": 1,
85
+ "image": "https://images.mirai.com/INFOROOMS/100379008/c26IDLXClcR4v3KTbRmK/c26IDLXClcR4v3KTbRmK_medium.jpg",
86
+ "observations": [],
87
+ "occupation": {
88
+ "adults": 3,
89
+ "children": 0,
90
+ "babies": 1
91
+ },
92
+ "rate": "Paga ahora",
93
+ "type": "Suite",
94
+ "items": [
95
+ {
96
+ "date": "10/04/2025",
97
+ "description": "",
98
+ "price": 58.4,
99
+ "summary": "Desayuno Incluido"
100
+ },
101
+ {
102
+ "date": "11/04/2025",
103
+ "description": "",
104
+ "price": 58.4,
105
+ "summary": "Desayuno Incluido"
106
+ },
107
+ {
108
+ "date": "12/04/2025",
109
+ "description": "",
110
+ "price": 58.4,
111
+ "summary": "Desayuno Incluido"
112
+ },
113
+ {
114
+ "date": "13/04/2025",
115
+ "description": "",
116
+ "price": 58.4,
117
+ "summary": "Desayuno Incluido"
118
+ },
119
+ {
120
+ "date": "14/04/2025",
121
+ "description": "",
122
+ "price": 58.4,
123
+ "summary": "Desayuno Incluido"
124
+ }
125
+ ],
126
+ "extras": []
127
+ }
128
+ ],
129
+ "extras": [
130
+ {
131
+ "amount": 2,
132
+ "description": "Sólo si falta alguna condición o restricción que quieres que quede por escrito (este texto irá en las confirmaciones de reservas).",
133
+ "id": 69632,
134
+ "price": 40.0,
135
+ "summary": "Para 2 adultos",
136
+ "title": "only adults, choose adults",
137
+ "type": "PERSON_ONCE"
138
+ },
139
+ {
140
+ "amount": 1,
141
+ "id": 65573,
142
+ "summary": "Para 1 apartamento",
143
+ "title": "free- Por habitación / una vez:",
144
+ "type": "ROOM_ONCE"
145
+ },
146
+ {
147
+ "amount": 1,
148
+ "description": "Proin ullamcorper fringilla dui, sit amet sagittis ante porttitor ac. Phasellus at porta tellus, at ultricies neque.",
149
+ "id": 65349,
150
+ "price": 100.0,
151
+ "summary": "",
152
+ "title": "Una unidad por reserva:",
153
+ "type": "RESERVE_ONCE"
154
+ }
155
+ ],
156
+ "tracking": {
157
+ "hotelId": 100379008,
158
+ "step": "CLIENTFORM",
159
+ "bookingValues": {
160
+ "checkin": "10/04/2025",
161
+ "checkout": "15/04/2025",
162
+ "country": null,
163
+ "coupon": "monalisa",
164
+ "device": "DESKTOP_TABLET",
165
+ "language": "es",
166
+ "nights": 5,
167
+ "userCurrency": {
168
+ "code": "EUR",
169
+ "symbol": "€",
170
+ "value": 10000,
171
+ "description": "Euro",
172
+ "formatWithSymbol": "$1.$2 €",
173
+ "formatWithCode": "$1.$2 EUR",
174
+ "htmlFormat": "<span class=\"integerPart\">$1</span><span class=\"decimalSeparator\">.</span><span class=\"decimalPart\">$2</span><span class=\"currencySymbol\">€</span>",
175
+ "numDecimals": 2
176
+ },
177
+ "occupation": 4
178
+ },
179
+ "reservedRooms": [
180
+ {
181
+ "roomTypeId": 63973,
182
+ "numRoomsToReserve": 1,
183
+ "roomTypeName": "Suite",
184
+ "occupation": {
185
+ "numAdults": 3,
186
+ "numFirstRangeChildren": 0,
187
+ "numSecondRangeChildren": 0,
188
+ "numBabies": 1,
189
+ "totalChildren": 0,
190
+ "totalAdultsAndChildren": 3
191
+ },
192
+ "rateName": "Suite: Paga ahora",
193
+ "includedList": {},
194
+ "extrasIdIncluded": {},
195
+ "restrictionsList": [],
196
+ "daysPriceBoard": [
197
+ {
198
+ "availability": 1,
199
+ "day": 1744236000000,
200
+ "boardCode": 35771,
201
+ "boardTranslation": "Desayuno Incluido",
202
+ "boardTranslationEn": "Breakfast Included",
203
+ "included": "",
204
+ "price": 5840,
205
+ "priceWithTaxes": 6424,
206
+ "priceWithoutTaxes": 5840,
207
+ "locale": "es",
208
+ "offerId": "0",
209
+ "priceWithTaxesFormatted": "64,24",
210
+ "priceWithoutTaxesFormatted": "58,40",
211
+ "dayStandardFormat": "10/04/2025",
212
+ "integerPartOfPrice": 58,
213
+ "priceFormatted": "58,40",
214
+ "dayFormatted": "jue, 10 abr 2025",
215
+ "freeDay": false,
216
+ "offerDay": false
217
+ },
218
+ {
219
+ "availability": 1,
220
+ "day": 1744322400000,
221
+ "boardCode": 35771,
222
+ "boardTranslation": "Desayuno Incluido",
223
+ "boardTranslationEn": "Breakfast Included",
224
+ "included": "",
225
+ "price": 5840,
226
+ "priceWithTaxes": 6424,
227
+ "priceWithoutTaxes": 5840,
228
+ "locale": "es",
229
+ "offerId": "0",
230
+ "priceWithTaxesFormatted": "64,24",
231
+ "priceWithoutTaxesFormatted": "58,40",
232
+ "dayStandardFormat": "11/04/2025",
233
+ "integerPartOfPrice": 58,
234
+ "priceFormatted": "58,40",
235
+ "dayFormatted": "vie, 11 abr 2025",
236
+ "freeDay": false,
237
+ "offerDay": false
238
+ },
239
+ {
240
+ "availability": 1,
241
+ "day": 1744408800000,
242
+ "boardCode": 35771,
243
+ "boardTranslation": "Desayuno Incluido",
244
+ "boardTranslationEn": "Breakfast Included",
245
+ "included": "",
246
+ "price": 5840,
247
+ "priceWithTaxes": 6424,
248
+ "priceWithoutTaxes": 5840,
249
+ "locale": "es",
250
+ "offerId": "0",
251
+ "priceWithTaxesFormatted": "64,24",
252
+ "priceWithoutTaxesFormatted": "58,40",
253
+ "dayStandardFormat": "12/04/2025",
254
+ "integerPartOfPrice": 58,
255
+ "priceFormatted": "58,40",
256
+ "dayFormatted": "sáb, 12 abr 2025",
257
+ "freeDay": false,
258
+ "offerDay": false
259
+ },
260
+ {
261
+ "availability": 1,
262
+ "day": 1744495200000,
263
+ "boardCode": 35771,
264
+ "boardTranslation": "Desayuno Incluido",
265
+ "boardTranslationEn": "Breakfast Included",
266
+ "included": "",
267
+ "price": 5840,
268
+ "priceWithTaxes": 6424,
269
+ "priceWithoutTaxes": 5840,
270
+ "locale": "es",
271
+ "offerId": "0",
272
+ "priceWithTaxesFormatted": "64,24",
273
+ "priceWithoutTaxesFormatted": "58,40",
274
+ "dayStandardFormat": "13/04/2025",
275
+ "integerPartOfPrice": 58,
276
+ "priceFormatted": "58,40",
277
+ "dayFormatted": "dom, 13 abr 2025",
278
+ "freeDay": false,
279
+ "offerDay": false
280
+ },
281
+ {
282
+ "availability": 1,
283
+ "day": 1744581600000,
284
+ "boardCode": 35771,
285
+ "boardTranslation": "Desayuno Incluido",
286
+ "boardTranslationEn": "Breakfast Included",
287
+ "included": "",
288
+ "price": 5840,
289
+ "priceWithTaxes": 6424,
290
+ "priceWithoutTaxes": 5840,
291
+ "locale": "es",
292
+ "offerId": "0",
293
+ "priceWithTaxesFormatted": "64,24",
294
+ "priceWithoutTaxesFormatted": "58,40",
295
+ "dayStandardFormat": "14/04/2025",
296
+ "integerPartOfPrice": 58,
297
+ "priceFormatted": "58,40",
298
+ "dayFormatted": "lun, 14 abr 2025",
299
+ "freeDay": false,
300
+ "offerDay": false
301
+ }
302
+ ],
303
+ "roomTypeMainPhoto": "https://images.mirai.com/INFOROOMS/100379008/c26IDLXClcR4v3KTbRmK/c26IDLXClcR4v3KTbRmK_medium.jpg",
304
+ "offerApplicableOnlySomeDays": false,
305
+ "defaultMediumName": "Suite (3 adultos + 1 bebé (0 - 23 meses) : Desayuno Incluido)",
306
+ "defaultBoardDescription": "Desayuno Incluido",
307
+ "averagePriceWithoutTaxes": 5840,
308
+ "averagePriceWithoutTaxesWithDotDecimal": "58.40",
309
+ "totalPriceWithTaxes": 32120,
310
+ "totalPriceWithTaxesUnformatted": 32120,
311
+ "withClubPublicDiscount": false,
312
+ "babiesPolicy": "",
313
+ "rateId": "44948|63973|349225b1|35771",
314
+ "discountsPercent": {
315
+ "offer": null,
316
+ "clientCode": 20,
317
+ "club": null
318
+ },
319
+ "totalLocalTaxes": 0,
320
+ "combinedOffer": false,
321
+ "isClub": false
322
+ }
323
+ ],
324
+ "reservedExtras": {
325
+ "69632": {
326
+ "name": "only adults, choose adults",
327
+ "subtitle": null,
328
+ "description": "Lo que pongas aquí no aparecerá en la confirmación escrita así que no pongas detalles o condiciones importantes.",
329
+ "conditionDetails": "Sólo si falta alguna condición o restricción que quieres que quede por escrito (este texto irá en las confirmaciones de reservas).",
330
+ "locale": "es",
331
+ "explanationAmountTranslated": "Para 2 adultos",
332
+ "explanationAmountTranslatedWithoutNights": "Para 2 adultos",
333
+ "explanationNightsToApplyTranslated": "",
334
+ "explanationPriceTranslated": "20,00 EUR por adulto",
335
+ "amount": 2,
336
+ "priceOriginal": 2000,
337
+ "priceWithoutTaxes": 2000,
338
+ "priceWithTaxes": 2200,
339
+ "totalPrice": 4000,
340
+ "extraCommissionValue": 0,
341
+ "includedInOffer": false,
342
+ "totalOriginalPrice": 4000,
343
+ "totalPriceWithTaxes": 4400,
344
+ "totalPriceWithoutTaxes": 4000,
345
+ "unitaryPriceWithoutTaxes": 2000,
346
+ "unitaryPriceWithTaxes": 2200,
347
+ "discountsPercent": [],
348
+ "discounts": null,
349
+ "appliedToPersons": false,
350
+ "totalPriceWithDotDecimal": "40.00",
351
+ "nightsToApply": 1,
352
+ "multiplierPrice": 2,
353
+ "free": false,
354
+ "id": 69632,
355
+ "type": "PERSON_ONCE"
356
+ },
357
+ "65573": {
358
+ "name": "free- Por habitación / una vez:",
359
+ "subtitle": "free",
360
+ "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. In ac massa vitae dui sollicitudin lacinia et sit amet neque. Nullam viverra, leo eu sodales tempus, felis purus tincidunt orci, et molestie nisl neque sed orci.",
361
+ "conditionDetails": null,
362
+ "locale": "es",
363
+ "explanationAmountTranslated": "Para 1 apartamento",
364
+ "explanationAmountTranslatedWithoutNights": "Para 1 apartamento",
365
+ "explanationNightsToApplyTranslated": "",
366
+ "explanationPriceTranslated": "GRATIS",
367
+ "amount": 1,
368
+ "priceOriginal": 0,
369
+ "priceWithoutTaxes": 0,
370
+ "priceWithTaxes": 0,
371
+ "totalPrice": 0,
372
+ "extraCommissionValue": 0,
373
+ "includedInOffer": false,
374
+ "totalOriginalPrice": 0,
375
+ "totalPriceWithTaxes": 0,
376
+ "totalPriceWithoutTaxes": 0,
377
+ "unitaryPriceWithoutTaxes": 0,
378
+ "unitaryPriceWithTaxes": 0,
379
+ "discountsPercent": [],
380
+ "discounts": null,
381
+ "appliedToPersons": true,
382
+ "totalPriceWithDotDecimal": "0.00",
383
+ "nightsToApply": 1,
384
+ "multiplierPrice": 1,
385
+ "free": true,
386
+ "id": 65573,
387
+ "type": "ROOM_ONCE"
388
+ },
389
+ "65349": {
390
+ "name": "Una unidad por reserva:",
391
+ "subtitle": "Subtítulo",
392
+ "description": "Donec in maximus risus, sit amet luctus sapien. Nulla ut quam eu nunc viverra interdum faucibus et nibh. Praesent neque elit, luctus vitae commodo in, tincidunt nec arcu. Suspendisse nec ipsum eu quam dapibus pellentesque at eget nunc. Suspendisse non arcu nec turpis malesuada lobortis sit amet sit ",
393
+ "conditionDetails": "Proin ullamcorper fringilla dui, sit amet sagittis ante porttitor ac. Phasellus at porta tellus, at ultricies neque.",
394
+ "locale": "es",
395
+ "explanationAmountTranslated": "",
396
+ "explanationAmountTranslatedWithoutNights": "",
397
+ "explanationNightsToApplyTranslated": "",
398
+ "explanationPriceTranslated": "100,00 EUR",
399
+ "amount": 1,
400
+ "priceOriginal": 10000,
401
+ "priceWithoutTaxes": 10000,
402
+ "priceWithTaxes": 11000,
403
+ "totalPrice": 10000,
404
+ "extraCommissionValue": 0,
405
+ "includedInOffer": false,
406
+ "totalOriginalPrice": 10000,
407
+ "totalPriceWithTaxes": 11000,
408
+ "totalPriceWithoutTaxes": 10000,
409
+ "unitaryPriceWithoutTaxes": 10000,
410
+ "unitaryPriceWithTaxes": 11000,
411
+ "discountsPercent": [],
412
+ "discounts": null,
413
+ "appliedToPersons": true,
414
+ "totalPriceWithDotDecimal": "100.00",
415
+ "nightsToApply": 1,
416
+ "multiplierPrice": 1,
417
+ "free": false,
418
+ "id": 65349,
419
+ "type": "RESERVE_ONCE"
420
+ }
421
+ },
422
+ "totalNumRooms": 1,
423
+ "totalNumAdults": 3,
424
+ "totalNumChildren": 0,
425
+ "totalNumBabies": 1,
426
+ "hotelInfo": {
427
+ "currency": {
428
+ "code": "EUR",
429
+ "symbol": "€",
430
+ "value": 10000,
431
+ "description": "Euro",
432
+ "formatWithSymbol": "$1.$2 €",
433
+ "formatWithCode": "$1.$2 EUR",
434
+ "htmlFormat": "<span class=\"integerPart\">$1</span><span class=\"decimalSeparator\">.</span><span class=\"decimalPart\">$2</span><span class=\"currencySymbol\">€</span>",
435
+ "numDecimals": 2
436
+ },
437
+ "hotelCity": "Gijón",
438
+ "hotelProvince": "Asturias",
439
+ "propertyName": "Monalisa Test",
440
+ "propertyType": "Hotel"
441
+ },
442
+ "totalExtrasTaxes": 1400,
443
+ "totalExtrasWithoutTaxes": 14000,
444
+ "totalExtrasWithTaxes": 15400,
445
+ "totalPriceWithoutTaxes": 43200,
446
+ "totalPriceWithoutTaxesWithoutExtras": 29200,
447
+ "totalPriceWithTaxes": 47520,
448
+ "totalPriceWithTaxesWithoutExtras": 32120,
449
+ "totalRoomsTaxes": 2920,
450
+ "totalTaxes": 1520
451
+ },
452
+ "checkIn": "10/04/2025",
453
+ "checkOut": "15/04/2025",
454
+ "checkInTime": "12:00",
455
+ "checkOutTime": "17:00",
456
+ "nights": 5,
457
+ "currency": "EUR",
458
+ "notification": {
459
+ "PAYLATER": {
460
+ "value": 475.2,
461
+ "total": 565.2,
462
+ "remaining": 90.0,
463
+ "type": 7,
464
+ "warning": true,
465
+ "currency": "EUR",
466
+ "paymentCurrency": "EUR",
467
+ "typeFee": 0
468
+ },
469
+ "TRANSFER": {
470
+ "value": 475.2,
471
+ "total": 565.2,
472
+ "remaining": 90.0,
473
+ "type": 7,
474
+ "warning": true,
475
+ "currency": "EUR",
476
+ "paymentCurrency": "EUR",
477
+ "typeFee": 0
478
+ },
479
+ "TPV": {
480
+ "value": 475.2,
481
+ "total": 565.2,
482
+ "remaining": 90.0,
483
+ "type": 5,
484
+ "warning": true,
485
+ "currency": "EUR",
486
+ "paymentCurrency": "EUR",
487
+ "typeFee": 0
488
+ }
489
+ },
490
+ "repositories": {
491
+ "countries": {
492
+ "AC": "Isla Ascensión",
493
+ "AD": "Andorra",
494
+ "AE": "Emiratos Árabes Unidos",
495
+ "AF": "Afganistán",
496
+ "AG": "Antigua y Barbuda",
497
+ "AI": "Anguila",
498
+ "AL": "Albania",
499
+ "AM": "Armenia",
500
+ "AO": "Angola",
501
+ "AR": "Argentina",
502
+ "AS": "Samoa Americana",
503
+ "AT": "Austria",
504
+ "AU": "Australia",
505
+ "AW": "Aruba",
506
+ "AX": "Islas Åland",
507
+ "AZ": "Azerbaiyán",
508
+ "BA": "Bosnia y Herzegovina",
509
+ "BB": "Barbados",
510
+ "BD": "Bangladés",
511
+ "BE": "Bélgica",
512
+ "BF": "Burkina Faso",
513
+ "BG": "Bulgaria",
514
+ "BH": "Baréin",
515
+ "BI": "Burundi",
516
+ "BJ": "Benín",
517
+ "BL": "San Bartolomé",
518
+ "BM": "Bermudas",
519
+ "BN": "Brunéi",
520
+ "BO": "Bolivia",
521
+ "BQ": "Caribe Neerlandés",
522
+ "BR": "Brasil",
523
+ "BS": "Bahamas",
524
+ "BT": "Bután",
525
+ "BW": "Botsuana",
526
+ "BY": "Bielorrusia",
527
+ "BZ": "Belice",
528
+ "CA": "Canadá",
529
+ "CC": "Islas Cocos",
530
+ "CD": "Congo (República Democrática)",
531
+ "CF": "República Centroafricana",
532
+ "CG": "Congo",
533
+ "CH": "Suiza",
534
+ "CI": "Costa de Marfil",
535
+ "CK": "Islas Cook",
536
+ "CL": "Chile",
537
+ "CM": "Camerún",
538
+ "CN": "China",
539
+ "CO": "Colombia",
540
+ "CR": "Costa Rica",
541
+ "CU": "Cuba",
542
+ "CV": "Cabo Verde",
543
+ "CW": "Curaçao",
544
+ "CX": "Isla de Navidad",
545
+ "CY": "Chipre",
546
+ "CZ": "República Checa",
547
+ "DE": "Alemania",
548
+ "DJ": "Yibuti",
549
+ "DK": "Dinamarca",
550
+ "DM": "Dominica",
551
+ "DO": "República Dominicana",
552
+ "DZ": "Argelia",
553
+ "EC": "Ecuador",
554
+ "EE": "Estonia",
555
+ "EG": "Egipto",
556
+ "EH": "Sáhara Occidental",
557
+ "ER": "Eritrea",
558
+ "ES": "España",
559
+ "ET": "Etiopía",
560
+ "FI": "Finlandia",
561
+ "FJ": "Fiji",
562
+ "FK": "Islas Malvinas",
563
+ "FM": "Micronesia",
564
+ "FO": "Islas Feroe",
565
+ "FR": "Francia",
566
+ "GA": "Gabón",
567
+ "GB": "Reino Unido",
568
+ "GD": "Granada",
569
+ "GE": "Georgia",
570
+ "GF": "Guayana Francesa",
571
+ "GG": "Guernsey",
572
+ "GH": "Ghana",
573
+ "GI": "Gibraltar",
574
+ "GL": "Groenlandia",
575
+ "GM": "Gambia",
576
+ "GN": "Guinea",
577
+ "GP": "Guadalupe",
578
+ "GQ": "Guinea Ecuatorial",
579
+ "GR": "Grecia",
580
+ "GT": "Guatemala",
581
+ "GU": "Guam",
582
+ "GW": "Guinea-Bisáu",
583
+ "GY": "Guyana",
584
+ "HK": "Hong Kong",
585
+ "HN": "Honduras",
586
+ "HR": "Croacia",
587
+ "HT": "Haití",
588
+ "HU": "Hungría",
589
+ "ID": "Indonesia",
590
+ "IE": "Irlanda",
591
+ "IL": "Israel",
592
+ "IM": "Isla de Man",
593
+ "IN": "India",
594
+ "IO": "Territorio Británico del Océano Índico",
595
+ "IQ": "Irak",
596
+ "IR": "Irán",
597
+ "IS": "Islandia",
598
+ "IT": "Italia",
599
+ "JE": "Jersey",
600
+ "JM": "Jamaica",
601
+ "JO": "Jordan",
602
+ "JP": "Japón",
603
+ "KE": "Kenya",
604
+ "KG": "Kirguistán",
605
+ "KH": "Camboya",
606
+ "KI": "Kiribati",
607
+ "KM": "Comoras",
608
+ "KN": "San Cristóbal y Nieves",
609
+ "KP": "Corea del Norte",
610
+ "KR": "Corea del Sur",
611
+ "KW": "Kuwait",
612
+ "KY": "Islas Caimán",
613
+ "KZ": "Kazajstán",
614
+ "LA": "República Democrática Popular Lao",
615
+ "LB": "Líbano",
616
+ "LC": "Santa Lucía",
617
+ "LI": "Liechtenstein",
618
+ "LK": "Sri Lanka",
619
+ "LR": "Liberia",
620
+ "LS": "Lesotho",
621
+ "LT": "Lituania",
622
+ "LU": "Luxemburgo",
623
+ "LV": "Letonia",
624
+ "LY": "Jamahiriya Árabe Libia",
625
+ "MA": "Marruecos",
626
+ "MC": "Mónaco",
627
+ "MD": "Moldavia",
628
+ "ME": "Montenegro",
629
+ "MF": "San Martín",
630
+ "MG": "Madagascar",
631
+ "MH": "Islas Marshall",
632
+ "MK": "Macedonia",
633
+ "ML": "Mali",
634
+ "MM": "Birmania",
635
+ "MN": "Mongolia",
636
+ "MO": "Macao",
637
+ "MP": "Islas Marianas del Norte",
638
+ "MQ": "Martinica",
639
+ "MR": "Mauritania",
640
+ "MS": "Montserrat",
641
+ "MT": "Malta",
642
+ "MU": "Mauricio",
643
+ "MV": "Maldivas",
644
+ "MW": "Malawi",
645
+ "MX": "México",
646
+ "MY": "Malaysia",
647
+ "MZ": "Mozambique",
648
+ "NA": "Namibia",
649
+ "NC": "Nueva Caledonia",
650
+ "NE": "Níger",
651
+ "NF": "Isla Norfolk",
652
+ "NG": "Nigeria",
653
+ "NI": "Nicaragua",
654
+ "NL": "Holanda",
655
+ "NO": "Noruega",
656
+ "NP": "Nepal",
657
+ "NR": "Nauru",
658
+ "NU": "Niue",
659
+ "NZ": "Nueva Zelanda",
660
+ "OM": "Omán",
661
+ "PA": "Panamá",
662
+ "PE": "Perú",
663
+ "PF": "Polinesia Francesa",
664
+ "PG": "Papúa Nueva Guinea",
665
+ "PH": "Filipinas",
666
+ "PK": "Pakistán",
667
+ "PL": "Polonia",
668
+ "PM": "San Pedro y Miquelón",
669
+ "PR": "Puerto Rico",
670
+ "PS": "Territorio Palestino Ocupado",
671
+ "PT": "Portugal",
672
+ "PW": "Palau",
673
+ "PY": "Paraguay",
674
+ "QA": "Qatar",
675
+ "RE": "Reunión",
676
+ "RO": "Rumania",
677
+ "RS": "Serbia",
678
+ "RU": "Federación Rusa",
679
+ "RW": "Ruanda",
680
+ "SA": "Arabia Saudita",
681
+ "SB": "Islas Salomón",
682
+ "SC": "Seychelles",
683
+ "SD": "Sudán",
684
+ "SE": "Suecia",
685
+ "SG": "Singapur",
686
+ "SH": "Santa Helena, Ascensión y Tristán Da Cunha",
687
+ "SI": "Eslovenia",
688
+ "SJ": "Svalbard y Jan Mayen",
689
+ "SK": "Eslovaquia",
690
+ "SL": "Sierra Leona",
691
+ "SM": "San Marino",
692
+ "SN": "Senegal",
693
+ "SO": "Somalia",
694
+ "SR": "Surinam",
695
+ "SS": "Sur de Sudán",
696
+ "ST": "Santo Tomé y Príncipe",
697
+ "SV": "El Salvador",
698
+ "SX": "Sint Maarten",
699
+ "SY": "República Árabe Siria",
700
+ "SZ": "Swazilandia",
701
+ "TA": "Tristán da Cunha",
702
+ "TC": "Islas Turcas y Caicos",
703
+ "TD": "Chad",
704
+ "TG": "Togo",
705
+ "TH": "Tailandia",
706
+ "TJ": "Tayikistán",
707
+ "TK": "Tokelau",
708
+ "TL": "Timor-Leste",
709
+ "TM": "Turkmenistán",
710
+ "TN": "Túnez",
711
+ "TO": "Tonga",
712
+ "TR": "Turquía",
713
+ "TT": "Trinidad y Tobago",
714
+ "TV": "Tuvalu",
715
+ "TW": "Taiwán",
716
+ "TZ": "Tanzania",
717
+ "UA": "Ucrania",
718
+ "UG": "Uganda",
719
+ "US": "Estados Unidos",
720
+ "UY": "Uruguay",
721
+ "UZ": "Uzbekistán",
722
+ "VA": "Santa Sede (Ciudad del Vaticano)",
723
+ "VC": "San Vicente y las Granadinas",
724
+ "VE": "Venezuela",
725
+ "VG": "Islas Vírgenes Británicas",
726
+ "VI": "Islas Vírgenes, EE.UU.",
727
+ "VN": "Vietnam",
728
+ "VU": "Vanuatu",
729
+ "WF": "Wallis y Futuna",
730
+ "WS": "Samoa",
731
+ "XK": "Kosovo",
732
+ "YE": "Yemen",
733
+ "YT": "Mayotte",
734
+ "ZA": "Sudáfrica",
735
+ "ZM": "Zambia",
736
+ "ZW": "Zimbabwe"
737
+ },
738
+ "extraFields": {
739
+ "html_e50e7f90-a331-4a2f-97c0-ef926704e507": {
740
+ "input": 5,
741
+ "checked": false,
742
+ "children": "Esto es una prueba de un campo HTML",
743
+ "name": "html_e50e7f90-a331-4a2f-97c0-ef926704e507",
744
+ "small": true
745
+ },
746
+ "additionalRequest.34486.nameKey": {
747
+ "input": 0,
748
+ "checked": false,
749
+ "label": "Input Text",
750
+ "name": "additionalRequest.34486.nameKey",
751
+ "small": true
752
+ },
753
+ "additionalRequest.34487.nameKey": {
754
+ "input": 1,
755
+ "checked": false,
756
+ "label": "input select",
757
+ "dataSource": [
758
+ {
759
+ "value": "additionalRequest.34487.options.one",
760
+ "label": "one"
761
+ },
762
+ {
763
+ "value": "additionalRequest.34487.options.two",
764
+ "label": "two"
765
+ }
766
+ ],
767
+ "options": ["one", "two"],
768
+ "name": "additionalRequest.34487.nameKey",
769
+ "small": true
770
+ },
771
+ "additionalRequest.30922.nameKey": {
772
+ "input": 4,
773
+ "checked": false,
774
+ "label": "franTest",
775
+ "options": [
776
+ {
777
+ "value": "additionalRequest.30922.options.yes",
778
+ "label": "yes"
779
+ },
780
+ {
781
+ "value": "additionalRequest.30922.options.no",
782
+ "label": "no"
783
+ }
784
+ ],
785
+ "name": "additionalRequest.30922.nameKey",
786
+ "value": "additionalRequest.30922.options.yes",
787
+ "small": true
788
+ },
789
+ "hotel_future_offers": {
790
+ "input": 2,
791
+ "checked": true,
792
+ "label": "Quiero recibir futuras ofertas y noticias de este establecimiento",
793
+ "name": "hotel_future_offers",
794
+ "small": true
795
+ },
796
+ "additionalRequest.34488.nameKey": {
797
+ "input": 2,
798
+ "checked": true,
799
+ "label": "input checkbox",
800
+ "name": "additionalRequest.34488.nameKey",
801
+ "small": true
802
+ }
803
+ }
804
+ },
805
+ "countryCode": "TH",
806
+ "otherConditions": "This is a example of other conditions",
807
+ "paymentsConditions": "Prepago de 100%: Por transferencia bancaria o Reserva ahora, facilita los datos de tarjeta después\r\n\r\n\r\n\r\n o Pago seguro online",
808
+ "form": [
809
+ {
810
+ "firstName": {
811
+ "required": true,
812
+ "input": 0,
813
+ "type": 0
814
+ }
815
+ },
816
+ {
817
+ "lastName": {
818
+ "required": true,
819
+ "input": 0,
820
+ "type": 0
821
+ }
822
+ },
823
+ {
824
+ "email": {
825
+ "required": true,
826
+ "input": 0,
827
+ "type": 1
828
+ }
829
+ },
830
+ {
831
+ "phone": {
832
+ "required": true,
833
+ "value": "+66",
834
+ "input": 3,
835
+ "type": 0
836
+ }
837
+ },
838
+ {
839
+ "comments": {
840
+ "input": 0,
841
+ "multiLine": true
842
+ }
843
+ },
844
+ {
845
+ "html_e50e7f90-a331-4a2f-97c0-ef926704e507": {
846
+ "input": 5,
847
+ "children": "Esto es una prueba de un campo HTML",
848
+ "name": "html_e50e7f90-a331-4a2f-97c0-ef926704e507",
849
+ "small": true,
850
+ "type": "HTML"
851
+ }
852
+ },
853
+ {
854
+ "additionalRequest.34486.nameKey": {
855
+ "input": 0,
856
+ "label": "Input Text",
857
+ "name": "additionalRequest.34486.nameKey",
858
+ "small": true,
859
+ "type": "INPUT_TEXT"
860
+ }
861
+ },
862
+ {
863
+ "additionalRequest.34487.nameKey": {
864
+ "input": 1,
865
+ "label": "input select",
866
+ "dataSource": [
867
+ {
868
+ "value": "additionalRequest.34487.options.one",
869
+ "label": "one"
870
+ },
871
+ {
872
+ "value": "additionalRequest.34487.options.two",
873
+ "label": "two"
874
+ }
875
+ ],
876
+ "options": ["one", "two"],
877
+ "name": "additionalRequest.34487.nameKey",
878
+ "small": true,
879
+ "type": "SELECT"
880
+ }
881
+ },
882
+ {
883
+ "additionalRequest.30922.nameKey": {
884
+ "input": 4,
885
+ "label": "franTest",
886
+ "options": [
887
+ {
888
+ "value": "additionalRequest.30922.options.yes",
889
+ "label": "yes"
890
+ },
891
+ {
892
+ "value": "additionalRequest.30922.options.no",
893
+ "label": "no"
894
+ }
895
+ ],
896
+ "name": "additionalRequest.30922.nameKey",
897
+ "value": "additionalRequest.30922.options.yes",
898
+ "small": true,
899
+ "type": "RADIO_TEXT"
900
+ }
901
+ },
902
+ {
903
+ "hotel_future_offers": {
904
+ "input": 2,
905
+ "checked": true,
906
+ "label": "Quiero recibir futuras ofertas y noticias de este establecimiento",
907
+ "name": "hotel_future_offers",
908
+ "small": true,
909
+ "type": "CHECKBOX"
910
+ }
911
+ },
912
+ {
913
+ "additionalRequest.34488.nameKey": {
914
+ "input": 2,
915
+ "checked": true,
916
+ "label": "input checkbox",
917
+ "name": "additionalRequest.34488.nameKey",
918
+ "small": true,
919
+ "type": "CHECKBOX"
920
+ }
921
+ },
922
+ {
923
+ "joinClub": {
924
+ "input": 2
925
+ }
926
+ },
927
+ {
928
+ "privacyPolicy": {
929
+ "required": true,
930
+ "input": 2
931
+ }
932
+ }
933
+ ]
934
+ }
935
+ }