@curless/hotel-storefront 0.75.4 → 0.76.1
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.
- package/dist/card.generated.d.ts +1 -1
- package/dist/card.generated.js +2 -2
- package/dist/card.generated.js.map +1 -1
- package/dist/config.d.ts +21 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js.map +1 -1
- package/dist/otaless/backend.d.ts +31 -0
- package/dist/otaless/backend.d.ts.map +1 -1
- package/dist/otaless/backend.js +437 -85
- package/dist/otaless/backend.js.map +1 -1
- package/dist/otaless/make.d.ts.map +1 -1
- package/dist/otaless/make.js +3 -0
- package/dist/otaless/make.js.map +1 -1
- package/dist/present.d.ts.map +1 -1
- package/dist/present.js +7 -1
- package/dist/present.js.map +1 -1
- package/dist/server.d.ts +3 -2
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +35 -4
- package/dist/server.js.map +1 -1
- package/dist/tools.d.ts +23 -0
- package/dist/tools.d.ts.map +1 -1
- package/dist/tools.js +91 -43
- package/dist/tools.js.map +1 -1
- package/dist/types.d.ts +8 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/tools.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../src/tools.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EACL,KAAK,mBAAmB,EAazB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAa,YAAY,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAa1E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAiB7C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAqChD,OAAO,EAGL,KAAK,SAAS,EAM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AAC;AACF,eAAO,MAAM,WAAW,GAAI,MAAM,QAAQ,EAAE,KAAK,MAAM,KAAG,QACd,CAAC;AAE7C,uGAAuG;AACvG,eAAO,MAAM,cAAc,SA9qDnB,QAAQ,OACT,MAAM,OACN,OAAO,KACX,CAAC,UAAU,GAAG;IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC,GAAG,SA2qDC,CAAC;AAE5C,eAAO,MAAM,UAAU,GACrB,MAAM,QAAQ,EACd,MAAM,MAAM,EACZ,SAAS,OAAO,EAChB,KAAK,WAAW,KACf,OAAO,CAAC,UAAU,CA2DpB,CAAC;AAsBF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,eAAe,oPACuN,CAAC;AAEpP;;;;;;GAMG;AACH,eAAO,MAAM,cAAc,2aAC+Y,CAAC;AAE3a,sFAAsF;AACtF,eAAO,MAAM,oBAAoB,kOACgM,CAAC;AAElO;;;;;;;GAOG;AACH,eAAO,MAAM,OAAO;;;CAKV,CAAC;AAEX;;;;;;GAMG;AACH;;;GAGG;AACH,eAAO,MAAM,mBAAmB,IAAI,CAAC;AAMrC,eAAO,MAAM,cAAc,gxBAA8xB,CAAC"}
|
package/dist/tools.js
CHANGED
|
@@ -1467,6 +1467,7 @@ export const outputSchemasFor = (schemas, caps, lang, also = {}) => {
|
|
|
1467
1467
|
!caps.hourly &&
|
|
1468
1468
|
!lang &&
|
|
1469
1469
|
!also.logoDark &&
|
|
1470
|
+
!also.logoByLang &&
|
|
1470
1471
|
!also.accent &&
|
|
1471
1472
|
!also.primary &&
|
|
1472
1473
|
!also.fonts &&
|
|
@@ -1489,6 +1490,9 @@ export const outputSchemasFor = (schemas, caps, lang, also = {}) => {
|
|
|
1489
1490
|
// And the dark page's logo, where the group gave one.
|
|
1490
1491
|
if (also.logoDark)
|
|
1491
1492
|
properties.logoDarkUrl = STR;
|
|
1493
|
+
// And its logo by the card's language, where it has more than one (`server.logoByLang`).
|
|
1494
|
+
if (also.logoByLang)
|
|
1495
|
+
properties.logoByLang = OBJ;
|
|
1492
1496
|
// And the group's own name in other languages, where its deployment gives them.
|
|
1493
1497
|
if (also.brandNames)
|
|
1494
1498
|
properties.brandNames = OBJ;
|
|
@@ -1500,7 +1504,12 @@ export const outputSchemasFor = (schemas, caps, lang, also = {}) => {
|
|
|
1500
1504
|
const hex = { type: 'string', pattern: '^#[0-9a-fA-F]{6}$' };
|
|
1501
1505
|
properties.primary = {
|
|
1502
1506
|
type: 'object',
|
|
1503
|
-
properties: {
|
|
1507
|
+
properties: {
|
|
1508
|
+
color: hex,
|
|
1509
|
+
hover: hex,
|
|
1510
|
+
press: hex,
|
|
1511
|
+
...(also.primaryDark ? { dark: hex } : {}),
|
|
1512
|
+
},
|
|
1504
1513
|
required: ['color'],
|
|
1505
1514
|
additionalProperties: false,
|
|
1506
1515
|
};
|
|
@@ -2548,6 +2557,7 @@ const common = (deps, key) => {
|
|
|
2548
2557
|
...(deps.brandNames ? { brandNames: deps.brandNames } : {}),
|
|
2549
2558
|
...(deps.logoUrl ? { logoUrl: deps.logoUrl } : {}),
|
|
2550
2559
|
...(deps.logoDarkUrl ? { logoDarkUrl: deps.logoDarkUrl } : {}),
|
|
2560
|
+
...(deps.logoByLang ? { logoByLang: deps.logoByLang } : {}),
|
|
2551
2561
|
...(deps.accent ? { accent: deps.accent } : {}),
|
|
2552
2562
|
...(deps.homeImage ? { homeImage: deps.homeImage } : {}),
|
|
2553
2563
|
...(deps.primary ? { primary: deps.primary } : {}),
|
|
@@ -3193,7 +3203,9 @@ const priceWords = (r, noCards) => r.hourly
|
|
|
3193
3203
|
* for a rate the group had priced for one night only.
|
|
3194
3204
|
*/
|
|
3195
3205
|
const wholeStayWords = (r) => r.stayTotalUnquoted
|
|
3196
|
-
?
|
|
3206
|
+
? // ⚠️ SAID AS NOT A TOTAL (0.76.1, the review of 11-18, H1): a night's price read beside
|
|
3207
|
+
// a stay's was taken for one.
|
|
3208
|
+
'not a total for these nights - no price from the group for the whole stay yet'
|
|
3197
3209
|
: `${formatMoney(r.stayTotal)} for the stay incl. taxes and fees`;
|
|
3198
3210
|
/**
|
|
3199
3211
|
* "a night" - and to a client that draws no card, "a night before taxes".
|
|
@@ -3375,8 +3387,8 @@ noCards) => {
|
|
|
3375
3387
|
: some(type.rooms.filter((r) => facetsOf(r).freeCancellation).length, 'all are free to cancel', 'are free to cancel'),
|
|
3376
3388
|
].filter(Boolean);
|
|
3377
3389
|
return noCards
|
|
3378
|
-
? `- ${withZh(type.name, cheapest.roomType?.names, true)}${roomFactsWords(cheapest)}, room type \`${type.id}\` — ${n} rates from ${fromWords(cheapest, true)}${forRooms(cheapest)}.
|
|
3379
|
-
: `- ${type.name}${roomFactsWords(cheapest)} — ${n} rates from ${fromWords(cheapest)}${forRooms(cheapest)}.
|
|
3390
|
+
? `- ${withZh(type.name, cheapest.roomType?.names, true)}${roomFactsWords(cheapest)}, room type \`${type.id}\` — ${n} rates from ${fromWords(cheapest, true)}${forRooms(cheapest)}. Lowest price: "${withZh(cheapest.name, cheapest.names, true)}", room \`${cheapest.id}\`${labelWords(cheapest)}, ${cancelWords(cheapest)}.${also.length ? ` ${also.join('; ')}.` : ''}`
|
|
3391
|
+
: `- ${type.name}${roomFactsWords(cheapest)} — ${n} rates from ${fromWords(cheapest)}${forRooms(cheapest)}. Lowest price: "${cheapest.name}"${labelWords(cheapest)}, ${cancelWords(cheapest)}.${also.length ? ` ${also.join('; ')}.` : ''}`;
|
|
3380
3392
|
});
|
|
3381
3393
|
};
|
|
3382
3394
|
/**
|
|
@@ -3432,12 +3444,18 @@ const roomChoicesBlock = (rooms, roomsWanted,
|
|
|
3432
3444
|
group,
|
|
3433
3445
|
/** Nothing can be booked here (`capabilities.readOnly`): said once, and no payment told apart. */
|
|
3434
3446
|
readOnly = false) => {
|
|
3447
|
+
// ⚠️ ONE ROOM'S STAY QUOTED BESIDE OTHERS' NIGHTS (0.76.1, Otaless - H1): where a stay total
|
|
3448
|
+
// is ours (`stayTotalUnquoted`) the rooms are put side by side by the group's rate a night,
|
|
3449
|
+
// and the one the group priced for the stay says "for the stay".
|
|
3450
|
+
const unquoted = rooms.some((r) => r.stayTotalUnquoted);
|
|
3451
|
+
const mixed = unquoted && rooms.some((r) => !r.stayTotalUnquoted && !r.hourly);
|
|
3452
|
+
const basis = (r) => (unquoted ? r.nightly.minor : r.stayTotal.minor);
|
|
3435
3453
|
const rows = byRoomType(rooms)
|
|
3436
3454
|
.map((type) => ({
|
|
3437
3455
|
type,
|
|
3438
|
-
r: type.rooms.reduce((a, b) => (b
|
|
3456
|
+
r: type.rooms.reduce((a, b) => (basis(b) < basis(a) ? b : a)),
|
|
3439
3457
|
}))
|
|
3440
|
-
.sort((a, b) => a.r
|
|
3458
|
+
.sort((a, b) => basis(a.r) - basis(b.r))
|
|
3441
3459
|
.map(({ type, r }) => ({ type, r, others: type.rooms.length - 1 }));
|
|
3442
3460
|
const many = roomsWanted > 1;
|
|
3443
3461
|
const price = (r) => r.hourly
|
|
@@ -3446,8 +3464,8 @@ readOnly = false) => {
|
|
|
3446
3464
|
? // ⚠️ A NIGHT'S PRICE, NOT OUR TOTAL (总线程 11-13, `Room.stayTotalUnquoted`).
|
|
3447
3465
|
`${formatMoney(r.nightly)} a night${many ? ', per room' : ''}`
|
|
3448
3466
|
: many
|
|
3449
|
-
? `${formatMoney(multiplyMoney(r.stayTotal, roomsWanted))} for ${roomsWanted} rooms`
|
|
3450
|
-
: formatMoney(r.stayTotal)
|
|
3467
|
+
? `${formatMoney(multiplyMoney(r.stayTotal, roomsWanted))} for ${roomsWanted} rooms${mixed ? ' for the stay' : ''}`
|
|
3468
|
+
: `${formatMoney(r.stayTotal)}${mixed ? ' for the stay' : ''}`;
|
|
3451
3469
|
// ⚠️ "BEFORE TAXES" ONLY WHERE IT IS SO (0.55.3): see `nightlyIncludesTaxes`.
|
|
3452
3470
|
const nightly = (r) => r.hourly
|
|
3453
3471
|
? ''
|
|
@@ -3467,9 +3485,9 @@ readOnly = false) => {
|
|
|
3467
3485
|
const pay = readOnly
|
|
3468
3486
|
? { said: '', tags: [] }
|
|
3469
3487
|
: paymentOf(rows.map(({ r }) => payOf(r)), 'room');
|
|
3470
|
-
const lowest = Math.min(...rows.map(({ r }) => r
|
|
3488
|
+
const lowest = Math.min(...rows.map(({ r }) => basis(r)));
|
|
3471
3489
|
const apart = {
|
|
3472
|
-
cheapest: setsApart(rows.map(({ r }) => !r.hourly && r
|
|
3490
|
+
cheapest: setsApart(rows.map(({ r }) => !r.hourly && basis(r) === lowest)),
|
|
3473
3491
|
breakfast: setsApart(rows.map(({ r }) => facetsOf(r).breakfast)),
|
|
3474
3492
|
free: setsApart(rows.map(({ r }) => facetsOf(r).freeCancellation)),
|
|
3475
3493
|
family: setsApart(rows.map(({ r }) => r.sleeps >= FAMILY_SLEEPS)),
|
|
@@ -3500,7 +3518,7 @@ readOnly = false) => {
|
|
|
3500
3518
|
]),
|
|
3501
3519
|
tags: [
|
|
3502
3520
|
pay.tags[i] ?? '',
|
|
3503
|
-
apart.cheapest && r
|
|
3521
|
+
apart.cheapest && basis(r) === lowest ? 'Lowest price' : '',
|
|
3504
3522
|
apart.breakfast && facetsOf(r).breakfast ? 'Breakfast' : '',
|
|
3505
3523
|
apart.free && facetsOf(r).freeCancellation ? 'Free cancellation' : '',
|
|
3506
3524
|
apart.family && r.sleeps >= FAMILY_SLEEPS ? `Sleeps ${r.sleeps}` : '',
|
|
@@ -3528,13 +3546,16 @@ readOnly = false) => {
|
|
|
3528
3546
|
first?.hourly
|
|
3529
3547
|
? "Prices are for each room's hours, taxes and fees included."
|
|
3530
3548
|
: rows.every(({ r }) => r.stayTotalUnquoted)
|
|
3531
|
-
? // ⚠️ NIGHTLY PRICES, NOT STAY PRICES (总线程 11-13, `Room.stayTotalUnquoted`)
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
|
|
3535
|
-
|
|
3536
|
-
|
|
3537
|
-
: '
|
|
3549
|
+
? // ⚠️ NIGHTLY PRICES, NOT STAY PRICES (总线程 11-13, `Room.stayTotalUnquoted`) - and said
|
|
3550
|
+
// as not a total (0.76.1, H1).
|
|
3551
|
+
'Prices are a night each, as the group gives them - not totals for these nights; it has quoted no price for the whole stay yet.'
|
|
3552
|
+
: mixed
|
|
3553
|
+
? `A price that says "for the stay" is the whole stay, taxes and fees included; the others are a night each, as the group gives them - not totals for these nights.`
|
|
3554
|
+
: samePrice && rows.length > 1
|
|
3555
|
+
? `All ${rows.length} are ${samePrice}${many ? '' : ' for the stay'}, taxes and fees included${sharedBy(spread.nightly) ? ` (${sharedBy(spread.nightly)})` : ''}.`
|
|
3556
|
+
: many
|
|
3557
|
+
? `Prices are for ${roomsWanted} rooms for the whole stay, taxes and fees included.`
|
|
3558
|
+
: 'Prices are for the stay, taxes and fees included.',
|
|
3538
3559
|
shared.length ? `Every one: ${shared.join('; ')}.` : '',
|
|
3539
3560
|
most.length ? `Unless a room says otherwise: ${most.join('; ')}.` : '',
|
|
3540
3561
|
pay.said,
|
|
@@ -5597,7 +5618,10 @@ readOnly = false) => {
|
|
|
5597
5618
|
: paymentOf(priced.map((h) => payOf(h.forStay ?? {})), 'hotel');
|
|
5598
5619
|
const payTag = (h) => (h.forStay ? (pay.tags[priced.indexOf(h)] ?? '') : '');
|
|
5599
5620
|
// The cheapest, in one currency, and the best rated - among more than one.
|
|
5600
|
-
|
|
5621
|
+
// ⚠️ LIKE WITH LIKE (0.76.1): on a list for given nights only stays' prices are set side by
|
|
5622
|
+
// side - a from-price a night, kept by a hotel not priced or with no room, is not "cheaper".
|
|
5623
|
+
const dated = hotels.some((h) => h.forStay || h.noRoomsForStay || h.stayUnpriced);
|
|
5624
|
+
const priceOf = (h) => (dated ? h.forStay?.total : h.fromNightly);
|
|
5601
5625
|
const withPrice = hotels.filter((h) => priceOf(h));
|
|
5602
5626
|
const oneCurrency = new Set(withPrice.map((h) => priceOf(h)?.currency)).size === 1;
|
|
5603
5627
|
const lowest = withPrice.length > 1 && oneCurrency
|
|
@@ -5663,7 +5687,7 @@ readOnly = false) => {
|
|
|
5663
5687
|
]),
|
|
5664
5688
|
tags: [
|
|
5665
5689
|
payTag(h),
|
|
5666
|
-
apart.lowest && isLowest(h) ? '
|
|
5690
|
+
apart.lowest && isLowest(h) ? 'Lowest price' : '',
|
|
5667
5691
|
apart.best && isBest(h) ? 'Best rated' : '',
|
|
5668
5692
|
apart.free && free(h) ? 'Free cancellation' : '',
|
|
5669
5693
|
apart.breakfast && breakfast(h) ? 'Breakfast' : '',
|
|
@@ -5681,8 +5705,12 @@ readOnly = false) => {
|
|
|
5681
5705
|
? 'Not priced just now'
|
|
5682
5706
|
: (OWN_WHY[h.noRoomsForStayCode ?? '']?.price ?? 'No room for those nights')
|
|
5683
5707
|
: h.fromNightly
|
|
5684
|
-
? `from ${formatMoney(h.fromNightly)} ${nightWords(true, h.fromNightlyTaxes === 'unknown')}
|
|
5685
|
-
:
|
|
5708
|
+
? `from ${formatMoney(h.fromNightly)} ${nightWords(true, h.fromNightlyTaxes === 'unknown')}${
|
|
5709
|
+
// ⚠️ ON A DATED LIST, A FROM-PRICE SAYS IT IS ONE (0.76.1): not priced for the nights.
|
|
5710
|
+
h.stayUnpriced ? ' - its from-price, not a total for those nights' : ''}`
|
|
5711
|
+
: h.stayUnpriced
|
|
5712
|
+
? 'Not priced for those nights just now'
|
|
5713
|
+
: '',
|
|
5686
5714
|
});
|
|
5687
5715
|
});
|
|
5688
5716
|
const said = [
|
|
@@ -5739,7 +5767,7 @@ const comparedInWords = (c) => {
|
|
|
5739
5767
|
const p = c.price;
|
|
5740
5768
|
const priced = p
|
|
5741
5769
|
? [
|
|
5742
|
-
`${withZh(p.room, p.roomNames, true)} at ${p.nightly} ${nightWords(true, p.nightlyTaxesIn)}, ${p.stayTotal === undefined ? 'no price from the group for the whole stay yet' : `${p.stayTotal} for the stay incl. taxes and fees`}`,
|
|
5770
|
+
`${withZh(p.room, p.roomNames, true)} at ${p.nightly} ${nightWords(true, p.nightlyTaxesIn)}, ${p.stayTotal === undefined ? 'not a total for these nights - no price from the group for the whole stay yet' : `${p.stayTotal} for the stay incl. taxes and fees`}`,
|
|
5743
5771
|
p.terms !== undefined
|
|
5744
5772
|
? termsWords(p.terms)
|
|
5745
5773
|
: p.freeCancellationUntil
|
|
@@ -7422,6 +7450,16 @@ const answerTool = async (deps, name, rawArgs, ctx) => {
|
|
|
7422
7450
|
// the sentence was in the text alone, and a host that hands its model the
|
|
7423
7451
|
// structure (claude.ai) had `fromPricesOnly: true` and no word of what it means.
|
|
7424
7452
|
// `fromPricesSaid` is the same sentence.
|
|
7453
|
+
// ⚠️ A HOTEL NOT PRICED FOR THE NIGHTS SAYS SO, BY NAME (0.76.1, 总线程 11-18 - Otaless prices a
|
|
7454
|
+
// dated list's page; the review of 11-18, H1: a from-price beside stays' totals, the same size,
|
|
7455
|
+
// read as one): what it shows is its from-price a night. In both, in the same words.
|
|
7456
|
+
const stayPriced = hotels.some((h) => h.forStay);
|
|
7457
|
+
const unpriced = ask.stay ? hotels.filter((h) => h.stayUnpriced) : [];
|
|
7458
|
+
const unpricedSaid = unpriced.length && !fromPricesOnly
|
|
7459
|
+
? `${unpriced.length === 1 ? 'One' : unpriced.length} of these could not be priced for those nights just now: ${unpriced
|
|
7460
|
+
.map((h) => hotelName(h.name))
|
|
7461
|
+
.join('; ')}. ${unpriced.length === 1 ? 'Its price is its' : 'Their prices are their'} from-price a night, not a total for those nights - say so, and do not quote ${unpriced.length === 1 ? 'it' : 'them'} as one; ${unpriced.length === 1 ? 'its' : "each one's"} own page prices it for the nights.`
|
|
7462
|
+
: '';
|
|
7425
7463
|
const fromOnlySaid = ask.stay && fromPricesOnly
|
|
7426
7464
|
? `No price for ${ctx.noCards
|
|
7427
7465
|
? `${stayDayWords(ask.stay.checkIn, ask.stay.checkOut)} - ${ask.stay.checkIn} to ${ask.stay.checkOut} (open your reply with those nights in one sentence, by weekday and date) -`
|
|
@@ -7467,31 +7505,39 @@ const answerTool = async (deps, name, rawArgs, ctx) => {
|
|
|
7467
7505
|
: fromOnlySaid
|
|
7468
7506
|
? fromOnlySaid
|
|
7469
7507
|
: ask.stay
|
|
7470
|
-
?
|
|
7508
|
+
? `${
|
|
7509
|
+
// Nothing priced for the stay here is not "priced for" it (0.76.1).
|
|
7510
|
+
stayPriced || !unpriced.length ? 'Priced for' : 'Asked for'} ${
|
|
7471
7511
|
// ⚠️ THE NIGHTS BY THEIR WEEKDAYS, SAID FIRST (总线程 11-09, Manus: a
|
|
7472
7512
|
// list for 「这周末」 came back and the reply never said which nights).
|
|
7473
7513
|
ctx.noCards
|
|
7474
7514
|
? `${stayDayWords(ask.stay.checkIn, ask.stay.checkOut)} - ${ask.stay.checkIn} to ${ask.stay.checkOut}, ${ask.stay.guests} ${ask.stay.guests === 1 ? 'guest' : 'guests'} (open your reply with those nights in one sentence, by weekday and date)`
|
|
7475
|
-
: `${ask.stay.checkIn} to ${ask.stay.checkOut}`}${ask.rooms && ask.rooms > 1 ? `, ${ask.rooms} rooms` : ''}:
|
|
7476
|
-
|
|
7477
|
-
|
|
7478
|
-
|
|
7479
|
-
|
|
7480
|
-
|
|
7481
|
-
|
|
7482
|
-
|
|
7483
|
-
|
|
7484
|
-
|
|
7485
|
-
|
|
7486
|
-
:
|
|
7487
|
-
|
|
7488
|
-
|
|
7489
|
-
|
|
7490
|
-
|
|
7491
|
-
|
|
7492
|
-
|
|
7493
|
-
|
|
7515
|
+
: `${ask.stay.checkIn} to ${ask.stay.checkOut}`}${ask.rooms && ask.rooms > 1 ? `, ${ask.rooms} rooms` : ''}: ${[
|
|
7516
|
+
stayPriced || !unpriced.length
|
|
7517
|
+
? `each price is that ${deps.vocab.noun}'s cheapest room for the whole stay, taxes included`
|
|
7518
|
+
: '',
|
|
7519
|
+
hotels.some((h) => h.noRoomsForStay && !NOT_NO_ROOM.has(h.noRoomsForStayCode ?? ''))
|
|
7520
|
+
? `${hotels.filter((h) => h.noRoomsForStay && !NOT_NO_ROOM.has(h.noRoomsForStayCode ?? '')).length} in this answer ${hotels.filter((h) => h.noRoomsForStay && !NOT_NO_ROOM.has(h.noRoomsForStayCode ?? '')).length === 1 ? 'has' : 'have'} no room for those nights`
|
|
7521
|
+
: '',
|
|
7522
|
+
// The other kind, said as its own (U11): other nights will not help.
|
|
7523
|
+
hotels.some((h) => h.noRoomsForStayCode === 'none-on-sale')
|
|
7524
|
+
? `${hotels.filter((h) => h.noRoomsForStayCode === 'none-on-sale').length} in this answer ${hotels.filter((h) => h.noRoomsForStayCode === 'none-on-sale').length === 1 ? 'has' : 'have'} no rooms on sale here - ${NOT_SOLD_OUT}`
|
|
7525
|
+
: '',
|
|
7526
|
+
// ⚠️ AND A GROUP THAT DID NOT ANSWER IS NOT "NO ROOM" (总线程 11-13): the
|
|
7527
|
+
// hotel's prices could not be read this time - its own page asks again.
|
|
7528
|
+
hotels.some((h) => h.noRoomsForStay && h.noRoomsForStayCode === 'unreachable')
|
|
7529
|
+
? `${hotels.filter((h) => h.noRoomsForStay && h.noRoomsForStayCode === 'unreachable').length} in this answer could not be priced just now - ${hotels.filter((h) => h.noRoomsForStay && h.noRoomsForStayCode === 'unreachable').length === 1 ? 'its group did not answer, which does not mean it has' : 'their group did not answer, which does not mean they have'} no room`
|
|
7530
|
+
: '',
|
|
7531
|
+
// Each of the other whys by itself, never as no room (review of 0.71.0, P3 4).
|
|
7532
|
+
...Object.entries(OWN_WHY).map(([code, w]) => {
|
|
7533
|
+
const n = hotels.filter((h) => h.noRoomsForStay && h.noRoomsForStayCode === code).length;
|
|
7534
|
+
return n ? w.many(n) : '';
|
|
7535
|
+
}),
|
|
7536
|
+
]
|
|
7537
|
+
.filter(Boolean)
|
|
7538
|
+
.join('; ')}.`
|
|
7494
7539
|
: '',
|
|
7540
|
+
unpricedSaid,
|
|
7495
7541
|
].filter(Boolean);
|
|
7496
7542
|
// A price on the list that is not booked here (`notSoldHere`): said as on
|
|
7497
7543
|
// the hotel's page, in both - see `notSoldHereWords`. ⚠️ NOT FIRST ANY MORE (0.75.1,
|
|
@@ -7589,6 +7635,8 @@ const answerTool = async (deps, name, rawArgs, ctx) => {
|
|
|
7589
7635
|
...(weekend ? { weekend } : {}),
|
|
7590
7636
|
...(fromPricesOnly ? { fromPricesOnly: true } : {}),
|
|
7591
7637
|
...(fromOnlySaid ? { fromPricesSaid: fromOnlySaid } : {}),
|
|
7638
|
+
// The hotels not priced for the nights, by name - the same sentence as the text (0.76.1).
|
|
7639
|
+
...(unpricedSaid ? { stayUnpricedSaid: unpricedSaid } : {}),
|
|
7592
7640
|
...(answer.refine
|
|
7593
7641
|
? { refine: refineFor(answer.refine, asked.filters, total, !!ask.stay) }
|
|
7594
7642
|
: {}),
|