@curless/hotel-storefront 0.61.1 → 0.62.0
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/account/fake-ota.d.ts +69 -0
- package/dist/account/fake-ota.d.ts.map +1 -0
- package/dist/account/fake-ota.js +264 -0
- package/dist/account/fake-ota.js.map +1 -0
- package/dist/account/index.d.ts +32 -22
- package/dist/account/index.d.ts.map +1 -1
- package/dist/account/index.js +194 -195
- package/dist/account/index.js.map +1 -1
- package/dist/account/mask.d.ts +15 -0
- package/dist/account/mask.d.ts.map +1 -0
- package/dist/account/mask.js +51 -0
- package/dist/account/mask.js.map +1 -0
- package/dist/account/ota-member.d.ts +99 -14
- package/dist/account/ota-member.d.ts.map +1 -1
- package/dist/account/ota-member.js +167 -48
- package/dist/account/ota-member.js.map +1 -1
- package/dist/account/pages.d.ts +2 -1
- package/dist/account/pages.d.ts.map +1 -1
- package/dist/account/pages.js +10 -5
- package/dist/account/pages.js.map +1 -1
- package/dist/account/requests.d.ts +1 -1
- package/dist/account/requests.js +2 -2
- package/dist/account/requests.js.map +1 -1
- package/dist/account/said.js +2 -2
- package/dist/account/said.js.map +1 -1
- package/dist/account/store.d.ts +16 -15
- package/dist/account/store.d.ts.map +1 -1
- package/dist/account/store.js +29 -23
- package/dist/account/store.js.map +1 -1
- package/dist/otaless/backend.d.ts +19 -3
- package/dist/otaless/backend.d.ts.map +1 -1
- package/dist/otaless/backend.js +51 -20
- package/dist/otaless/backend.js.map +1 -1
- package/dist/otaless/booking.d.ts +189 -0
- package/dist/otaless/booking.d.ts.map +1 -0
- package/dist/otaless/booking.js +1227 -0
- package/dist/otaless/booking.js.map +1 -0
- package/dist/otaless/client.d.ts +180 -0
- package/dist/otaless/client.d.ts.map +1 -1
- package/dist/otaless/client.js +166 -15
- package/dist/otaless/client.js.map +1 -1
- package/dist/otaless/fake.d.ts +73 -0
- package/dist/otaless/fake.d.ts.map +1 -1
- package/dist/otaless/fake.js +270 -2
- package/dist/otaless/fake.js.map +1 -1
- package/dist/otaless/make.d.ts +2 -0
- package/dist/otaless/make.d.ts.map +1 -1
- package/dist/otaless/make.js +32 -0
- package/dist/otaless/make.js.map +1 -1
- package/dist/server.d.ts +1 -1
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +4 -1
- package/dist/server.js.map +1 -1
- package/package.json +1 -1
- package/dist/account/fake-mall.d.ts +0 -61
- package/dist/account/fake-mall.d.ts.map +0 -1
- package/dist/account/fake-mall.js +0 -239
- package/dist/account/fake-mall.js.map +0 -1
- package/dist/account/mall.d.ts +0 -94
- package/dist/account/mall.d.ts.map +0 -1
- package/dist/account/mall.js +0 -255
- package/dist/account/mall.js.map +0 -1
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
import { type BookingList } from '../backend.js';
|
|
2
|
+
import type { StateFile } from '../state.js';
|
|
3
|
+
import type { Booking, BookingResult, CancellationPreview, Extra, Guest, Hotel, Identity, Money, Names, Quote, Stay, TripDraft, Unanswered } from '../types.js';
|
|
4
|
+
import { type OtalessClient, type WirePrice } from './client.js';
|
|
5
|
+
import type { Caller } from './limits.js';
|
|
6
|
+
/** How long terms sent back for agreement are kept for the guest to agree to (§12.1). */
|
|
7
|
+
export declare const TERMS_MS: number;
|
|
8
|
+
/** How long a group's `Mcp-Session-Id` is kept unused (§12.3). */
|
|
9
|
+
export declare const SESSION_IDLE_MS: number;
|
|
10
|
+
/** A payment's status is asked for at most this often per order (§12.1, 15). */
|
|
11
|
+
export declare const STATUS_EVERY_MS = 10000;
|
|
12
|
+
/** The same stay for the same account asked for again within this long is the first order (a second press, a lost answer). */
|
|
13
|
+
export declare const REPEAT_MS: number;
|
|
14
|
+
/** The longest terms shown word for word - longer is refused rather than cut. */
|
|
15
|
+
export declare const TERMS_MAX = 50000;
|
|
16
|
+
/**
|
|
17
|
+
* The payment pages a guest may be sent to, until a deployment says otherwise
|
|
18
|
+
* (总线程 11-10: the two the document's own examples name). Exact host names:
|
|
19
|
+
* no wildcard, no other port.
|
|
20
|
+
*/
|
|
21
|
+
export declare const DEFAULT_CHECKOUT_HOSTS: readonly string[];
|
|
22
|
+
/**
|
|
23
|
+
* The guest's sign-in at one group, as the account layer hands it over
|
|
24
|
+
* (server.ts, 酒店平台's 0.62.0 - robin 11-10: the Otaless account signs in
|
|
25
|
+
* through the backend's own `/ota/sign-in`, 「渠道和平台应该是一个接口」):
|
|
26
|
+
* - `token`: sign-in's `accessToken` - the "member Access Token" items 8-15
|
|
27
|
+
* want. Never kept, logged or shown here.
|
|
28
|
+
* - `mcpSessionId`: sign-in's `mcpSessionId`, the session those items run in.
|
|
29
|
+
* - `account`: who the orders belong to - sign-in's `memberUserId`. Hashed
|
|
30
|
+
* before it is kept. ⚠️ ABSENT, AN ORDER IS ITS CONVERSATION'S ALONE: with
|
|
31
|
+
* nothing to say two conversations are one account, neither sees the other's.
|
|
32
|
+
*/
|
|
33
|
+
export type GroupSignIn = {
|
|
34
|
+
token: string;
|
|
35
|
+
mcpSessionId?: string;
|
|
36
|
+
account?: string;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* What the account layer tells booking (server.ts fills it once the account
|
|
40
|
+
* exists), by conversation and group. Absent, or no sign-in at that group:
|
|
41
|
+
* nothing there can be booked, listed, cancelled or refunded.
|
|
42
|
+
*/
|
|
43
|
+
export type BookingAuth = {
|
|
44
|
+
bookingAuth?: (key: string, group: string) => GroupSignIn | undefined;
|
|
45
|
+
/** The backend said the guest's sign-in at the group is over (401, or 4012 twice): it goes. */
|
|
46
|
+
expired?: (key: string, group: string) => void;
|
|
47
|
+
};
|
|
48
|
+
export type OrderStatus = 'awaiting-payment' | 'confirmed' | 'cancelled' | 'expired' | 'failed'
|
|
49
|
+
/** 13 did not answer: whether the order was made is not known. Its `id` is `pending:…` until `/orders` says. */
|
|
50
|
+
| 'unconfirmed';
|
|
51
|
+
/**
|
|
52
|
+
* One order this connector made, as it keeps it (`otaless-orders.json`, on
|
|
53
|
+
* disk). ⚠️ NO TOKEN, NO SESSION, NO PAYMENT LINK (its query carries the
|
|
54
|
+
* group's payment token, questions #54 - kept in memory only), and the guest's
|
|
55
|
+
* email and phone only masked.
|
|
56
|
+
*/
|
|
57
|
+
export type OrderRecord = {
|
|
58
|
+
/** The backend's `unifiedOrderId` - or `pending:<hex>` while 13's answer is not known. */
|
|
59
|
+
id: string;
|
|
60
|
+
/** What the guest quotes at the desk: `originalOrderId`, '' while not known. */
|
|
61
|
+
code: string;
|
|
62
|
+
group: string;
|
|
63
|
+
/** Whose: the Otaless account's id, hashed. */
|
|
64
|
+
owner: string;
|
|
65
|
+
/** The conversation it was asked for in, hashed. */
|
|
66
|
+
from: string;
|
|
67
|
+
hotelId: string;
|
|
68
|
+
hotelName: string;
|
|
69
|
+
hotelNames?: Names;
|
|
70
|
+
roomId: string;
|
|
71
|
+
roomName: string;
|
|
72
|
+
stay: Stay;
|
|
73
|
+
rooms: number;
|
|
74
|
+
/** The price the guest was shown and agreed to (the quote's own currency). */
|
|
75
|
+
quoted: Money;
|
|
76
|
+
/** The same price in USD, as the quote gave it (`settlementAmount`). */
|
|
77
|
+
quotedUsd?: Money;
|
|
78
|
+
/** What 13 said it would charge. */
|
|
79
|
+
charged?: Money;
|
|
80
|
+
status: OrderStatus;
|
|
81
|
+
/** Paid - by the backend's own payment status (15) or its order list (12). */
|
|
82
|
+
paid?: boolean;
|
|
83
|
+
/** The host of the payment page the guest was sent to - never its path or query. */
|
|
84
|
+
payHost?: string;
|
|
85
|
+
/** Until when it can be paid (13's `extraData.hold_minutes`), ISO. */
|
|
86
|
+
payBy?: string;
|
|
87
|
+
/** The group's cancellation terms, as it sent them with the order (or with the room). */
|
|
88
|
+
terms?: string;
|
|
89
|
+
guest: {
|
|
90
|
+
name: string;
|
|
91
|
+
email: string;
|
|
92
|
+
phone?: string;
|
|
93
|
+
};
|
|
94
|
+
createdAt: string;
|
|
95
|
+
cancelledAt?: string;
|
|
96
|
+
/** What the group said goes back, and where that stands. */
|
|
97
|
+
refund?: {
|
|
98
|
+
status: 'requested' | 'refunded';
|
|
99
|
+
amount?: Money;
|
|
100
|
+
};
|
|
101
|
+
/** Let go at once by us: 13's amount was not the price (`price`), it said none (`amount`), or its payment page was not on the list (`address`). */
|
|
102
|
+
released?: 'price' | 'amount' | 'address';
|
|
103
|
+
/** Letting it go did not go through: a person must see to it. */
|
|
104
|
+
releaseFailed?: true;
|
|
105
|
+
};
|
|
106
|
+
/** Terms a group sent back, for the guest to agree to - or not (§12.4). */
|
|
107
|
+
export type TermsToAgree = {
|
|
108
|
+
/** What the guest's agreement is sent back by (`acceptTerms`): one use, `TERMS_MS`. */
|
|
109
|
+
ref: string;
|
|
110
|
+
group: string;
|
|
111
|
+
groupName: string;
|
|
112
|
+
groupNames?: Names;
|
|
113
|
+
hotelId: string;
|
|
114
|
+
hotelName: string;
|
|
115
|
+
hotelNames?: Names;
|
|
116
|
+
roomName: string;
|
|
117
|
+
stay: Stay;
|
|
118
|
+
rooms: number;
|
|
119
|
+
total: Money;
|
|
120
|
+
/** The group's terms, word for word. */
|
|
121
|
+
text: string;
|
|
122
|
+
/** Until when they can be agreed to, ISO. */
|
|
123
|
+
until: string;
|
|
124
|
+
};
|
|
125
|
+
/** A booking answer that may hold terms to agree to. ⚠️ A PROPERTY BESIDE THE TYPE, like `BookingList.degraded`, until 0.62.0 gives it a place (§12.6). */
|
|
126
|
+
export type OtalessBookingResult = BookingResult & {
|
|
127
|
+
terms?: TermsToAgree[];
|
|
128
|
+
};
|
|
129
|
+
/** A cancellation preview whose fee is not known before the group cancels (it has no dry run, §8.2). */
|
|
130
|
+
export type OtalessCancellationPreview = CancellationPreview & {
|
|
131
|
+
feeUnknown?: true;
|
|
132
|
+
};
|
|
133
|
+
/** What Otaless booking offers beyond `HotelBackend` - for the tools, card and pages of 0.62.0 (§12.6). */
|
|
134
|
+
export type OtalessBookingApi = {
|
|
135
|
+
/** The terms behind `ref`, for the agreement page or the card - this account's only. */
|
|
136
|
+
pendingTerms(ref: string, who: Identity): TermsToAgree | undefined;
|
|
137
|
+
/** The guest agreed to the terms behind `ref` (on the card's button or the page - never the model's word). */
|
|
138
|
+
acceptTerms(ref: string, who: Identity): Promise<OtalessBookingResult>;
|
|
139
|
+
/** Ask for a paid booking's money back - all of it (9.1). */
|
|
140
|
+
refund(ref: string, who: Identity, reason?: string): Promise<Booking | null>;
|
|
141
|
+
/** What can be added to a booking after it is made (10). */
|
|
142
|
+
addons(ref: string, who: Identity): Promise<Extra[] | null>;
|
|
143
|
+
/** Add one of `addons` to the booking (11). */
|
|
144
|
+
bookAddon(ref: string, extraId: string, details: {
|
|
145
|
+
direction?: 'arrival' | 'departure' | 'round_trip';
|
|
146
|
+
flightNo?: string;
|
|
147
|
+
pickupTime?: string;
|
|
148
|
+
date?: string;
|
|
149
|
+
quantity?: number;
|
|
150
|
+
}, who: Identity): Promise<{
|
|
151
|
+
code: string;
|
|
152
|
+
status: string;
|
|
153
|
+
total?: Money;
|
|
154
|
+
} | null>;
|
|
155
|
+
health(): Record<string, number>;
|
|
156
|
+
};
|
|
157
|
+
export type BookingDeps = {
|
|
158
|
+
brand: string;
|
|
159
|
+
client: OtalessClient;
|
|
160
|
+
find: (id: string) => Hotel | undefined;
|
|
161
|
+
/** The trip priced, as the guest would be shown it (the backend's own `quote`). */
|
|
162
|
+
quote: (trip: TripDraft, who?: Identity) => Promise<Quote>;
|
|
163
|
+
/** One room's quote as the backend sent it - both amounts - asked as the trip's was (its cache answers it). */
|
|
164
|
+
quoteWire: (h: Hotel, roomId: string, stay: Stay, rooms: number, who?: Identity) => Promise<WirePrice>;
|
|
165
|
+
groupOf: (code: string) => Unanswered;
|
|
166
|
+
callerOf: (who?: Identity) => Caller | undefined;
|
|
167
|
+
auth?: BookingAuth;
|
|
168
|
+
state?: StateFile;
|
|
169
|
+
checkoutHosts: readonly string[];
|
|
170
|
+
now: () => number;
|
|
171
|
+
log: (line: string) => void;
|
|
172
|
+
};
|
|
173
|
+
/**
|
|
174
|
+
* Where a payment page may send the guest: `https:`, an exact host on the
|
|
175
|
+
* list, no other port, no user in it - or nothing (总线程 11-10).
|
|
176
|
+
*/
|
|
177
|
+
export declare const payPageOf: (raw: string | undefined, hosts: readonly string[]) => {
|
|
178
|
+
url: string;
|
|
179
|
+
host: string;
|
|
180
|
+
} | undefined;
|
|
181
|
+
export declare const createOtalessBookings: (deps: BookingDeps) => {
|
|
182
|
+
requestBooking: (trip: TripDraft, guest: Guest, who: Identity) => Promise<OtalessBookingResult>;
|
|
183
|
+
listBookings: (who: Identity, limit?: number) => Promise<BookingList>;
|
|
184
|
+
findBooking: (ref: string, who: Identity) => Promise<Booking | null>;
|
|
185
|
+
previewCancellation: (ref: string, who: Identity) => Promise<OtalessCancellationPreview | null>;
|
|
186
|
+
cancelBooking: (ref: string, who: Identity, reason?: string) => Promise<Booking | null>;
|
|
187
|
+
api: OtalessBookingApi;
|
|
188
|
+
};
|
|
189
|
+
//# sourceMappingURL=booking.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"booking.d.ts","sourceRoot":"","sources":["../../src/otaless/booking.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,WAAW,EAAgB,MAAM,eAAe,CAAC;AAI/D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EACV,OAAO,EAEP,aAAa,EACb,mBAAmB,EACnB,KAAK,EAEL,KAAK,EACL,KAAK,EACL,QAAQ,EACR,KAAK,EACL,KAAK,EACL,KAAK,EAEL,IAAI,EACJ,SAAS,EACT,UAAU,EACX,MAAM,aAAa,CAAC;AACrB,OAAO,EAML,KAAK,aAAa,EAQlB,KAAK,SAAS,EAEf,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AA6B1C,yFAAyF;AACzF,eAAO,MAAM,QAAQ,QAAc,CAAC;AACpC,kEAAkE;AAClE,eAAO,MAAM,eAAe,Q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