@curless/hotel-storefront 0.85.0 → 0.86.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.
Files changed (207) hide show
  1. package/dist/server.d.ts +1 -1
  2. package/dist/server.js +1 -1
  3. package/dist/tools/accept-terms.d.ts +4 -0
  4. package/dist/tools/accept-terms.d.ts.map +1 -0
  5. package/dist/tools/accept-terms.js +26 -0
  6. package/dist/tools/accept-terms.js.map +1 -0
  7. package/dist/tools/add-booking-addon.d.ts +4 -0
  8. package/dist/tools/add-booking-addon.d.ts.map +1 -0
  9. package/dist/tools/add-booking-addon.js +44 -0
  10. package/dist/tools/add-booking-addon.js.map +1 -0
  11. package/dist/tools/add-to-trip.d.ts +4 -0
  12. package/dist/tools/add-to-trip.d.ts.map +1 -0
  13. package/dist/tools/add-to-trip.js +49 -0
  14. package/dist/tools/add-to-trip.js.map +1 -0
  15. package/dist/tools/all-tools.d.ts +1342 -0
  16. package/dist/tools/all-tools.d.ts.map +1 -0
  17. package/dist/tools/all-tools.js +954 -0
  18. package/dist/tools/all-tools.js.map +1 -0
  19. package/dist/tools/answer.d.ts +3 -0
  20. package/dist/tools/answer.d.ts.map +1 -0
  21. package/dist/tools/answer.js +104 -0
  22. package/dist/tools/answer.js.map +1 -0
  23. package/dist/tools/args.d.ts +149 -0
  24. package/dist/tools/args.d.ts.map +1 -0
  25. package/dist/tools/args.js +176 -0
  26. package/dist/tools/args.js.map +1 -0
  27. package/dist/tools/base-output-schemas.d.ts +3 -0
  28. package/dist/tools/base-output-schemas.d.ts.map +1 -0
  29. package/dist/tools/base-output-schemas.js +380 -0
  30. package/dist/tools/base-output-schemas.js.map +1 -0
  31. package/dist/tools/book-picked.d.ts +4 -0
  32. package/dist/tools/book-picked.d.ts.map +1 -0
  33. package/dist/tools/book-picked.js +14 -0
  34. package/dist/tools/book-picked.js.map +1 -0
  35. package/dist/tools/booking-answer.d.ts +24 -0
  36. package/dist/tools/booking-answer.d.ts.map +1 -0
  37. package/dist/tools/booking-answer.js +485 -0
  38. package/dist/tools/booking-answer.js.map +1 -0
  39. package/dist/tools/buy-shop-item.d.ts +4 -0
  40. package/dist/tools/buy-shop-item.d.ts.map +1 -0
  41. package/dist/tools/buy-shop-item.js +45 -0
  42. package/dist/tools/buy-shop-item.js.map +1 -0
  43. package/dist/tools/call.d.ts +11 -0
  44. package/dist/tools/call.d.ts.map +1 -0
  45. package/dist/tools/call.js +2 -0
  46. package/dist/tools/call.js.map +1 -0
  47. package/dist/tools/cancel-facts.d.ts +281 -0
  48. package/dist/tools/cancel-facts.d.ts.map +1 -0
  49. package/dist/tools/cancel-facts.js +309 -0
  50. package/dist/tools/cancel-facts.js.map +1 -0
  51. package/dist/tools/cancel.d.ts +4 -0
  52. package/dist/tools/cancel.d.ts.map +1 -0
  53. package/dist/tools/cancel.js +364 -0
  54. package/dist/tools/cancel.js.map +1 -0
  55. package/dist/tools/card-addons.d.ts +4 -0
  56. package/dist/tools/card-addons.d.ts.map +1 -0
  57. package/dist/tools/card-addons.js +76 -0
  58. package/dist/tools/card-addons.js.map +1 -0
  59. package/dist/tools/change-booking.d.ts +4 -0
  60. package/dist/tools/change-booking.d.ts.map +1 -0
  61. package/dist/tools/change-booking.js +145 -0
  62. package/dist/tools/change-booking.js.map +1 -0
  63. package/dist/tools/clear-trip.d.ts +4 -0
  64. package/dist/tools/clear-trip.d.ts.map +1 -0
  65. package/dist/tools/clear-trip.js +10 -0
  66. package/dist/tools/clear-trip.js.map +1 -0
  67. package/dist/tools/compare.d.ts +4 -0
  68. package/dist/tools/compare.d.ts.map +1 -0
  69. package/dist/tools/compare.js +114 -0
  70. package/dist/tools/compare.js.map +1 -0
  71. package/dist/tools/current-trip.d.ts +70 -0
  72. package/dist/tools/current-trip.d.ts.map +1 -0
  73. package/dist/tools/current-trip.js +261 -0
  74. package/dist/tools/current-trip.js.map +1 -0
  75. package/dist/tools/deps.d.ts +229 -0
  76. package/dist/tools/deps.d.ts.map +1 -0
  77. package/dist/tools/deps.js +2 -0
  78. package/dist/tools/deps.js.map +1 -0
  79. package/dist/tools/follow-ups.d.ts +120 -0
  80. package/dist/tools/follow-ups.d.ts.map +1 -0
  81. package/dist/tools/follow-ups.js +369 -0
  82. package/dist/tools/follow-ups.js.map +1 -0
  83. package/dist/tools/forget-preferences.d.ts +4 -0
  84. package/dist/tools/forget-preferences.d.ts.map +1 -0
  85. package/dist/tools/forget-preferences.js +24 -0
  86. package/dist/tools/forget-preferences.js.map +1 -0
  87. package/dist/tools/get-hotel.d.ts +4 -0
  88. package/dist/tools/get-hotel.d.ts.map +1 -0
  89. package/dist/tools/get-hotel.js +324 -0
  90. package/dist/tools/get-hotel.js.map +1 -0
  91. package/dist/tools/hotel-choices.d.ts +132 -0
  92. package/dist/tools/hotel-choices.d.ts.map +1 -0
  93. package/dist/tools/hotel-choices.js +558 -0
  94. package/dist/tools/hotel-choices.js.map +1 -0
  95. package/dist/tools/itinerary.d.ts +4 -0
  96. package/dist/tools/itinerary.d.ts.map +1 -0
  97. package/dist/tools/itinerary.js +148 -0
  98. package/dist/tools/itinerary.js.map +1 -0
  99. package/dist/tools/list-booking-addons.d.ts +4 -0
  100. package/dist/tools/list-booking-addons.d.ts.map +1 -0
  101. package/dist/tools/list-booking-addons.js +21 -0
  102. package/dist/tools/list-booking-addons.js.map +1 -0
  103. package/dist/tools/list-bookings.d.ts +4 -0
  104. package/dist/tools/list-bookings.d.ts.map +1 -0
  105. package/dist/tools/list-bookings.js +119 -0
  106. package/dist/tools/list-bookings.js.map +1 -0
  107. package/dist/tools/list-extras.d.ts +4 -0
  108. package/dist/tools/list-extras.d.ts.map +1 -0
  109. package/dist/tools/list-extras.js +90 -0
  110. package/dist/tools/list-extras.js.map +1 -0
  111. package/dist/tools/list-hotels.d.ts +4 -0
  112. package/dist/tools/list-hotels.d.ts.map +1 -0
  113. package/dist/tools/list-hotels.js +891 -0
  114. package/dist/tools/list-hotels.js.map +1 -0
  115. package/dist/tools/list-shop-items.d.ts +4 -0
  116. package/dist/tools/list-shop-items.d.ts.map +1 -0
  117. package/dist/tools/list-shop-items.js +34 -0
  118. package/dist/tools/list-shop-items.js.map +1 -0
  119. package/dist/tools/list-shop-orders.d.ts +4 -0
  120. package/dist/tools/list-shop-orders.d.ts.map +1 -0
  121. package/dist/tools/list-shop-orders.js +22 -0
  122. package/dist/tools/list-shop-orders.js.map +1 -0
  123. package/dist/tools/look-up.d.ts +4 -0
  124. package/dist/tools/look-up.d.ts.map +1 -0
  125. package/dist/tools/look-up.js +170 -0
  126. package/dist/tools/look-up.js.map +1 -0
  127. package/dist/tools/output-schemas.d.ts +645 -0
  128. package/dist/tools/output-schemas.d.ts.map +1 -0
  129. package/dist/tools/output-schemas.js +503 -0
  130. package/dist/tools/output-schemas.js.map +1 -0
  131. package/dist/tools/paid-lines.d.ts +718 -0
  132. package/dist/tools/paid-lines.d.ts.map +1 -0
  133. package/dist/tools/paid-lines.js +359 -0
  134. package/dist/tools/paid-lines.js.map +1 -0
  135. package/dist/tools/pay-with-union-pay.d.ts +4 -0
  136. package/dist/tools/pay-with-union-pay.d.ts.map +1 -0
  137. package/dist/tools/pay-with-union-pay.js +112 -0
  138. package/dist/tools/pay-with-union-pay.js.map +1 -0
  139. package/dist/tools/payment-words.d.ts +269 -0
  140. package/dist/tools/payment-words.d.ts.map +1 -0
  141. package/dist/tools/payment-words.js +365 -0
  142. package/dist/tools/payment-words.js.map +1 -0
  143. package/dist/tools/pick-room.d.ts +4 -0
  144. package/dist/tools/pick-room.d.ts.map +1 -0
  145. package/dist/tools/pick-room.js +23 -0
  146. package/dist/tools/pick-room.js.map +1 -0
  147. package/dist/tools/policies.d.ts +4 -0
  148. package/dist/tools/policies.d.ts.map +1 -0
  149. package/dist/tools/policies.js +74 -0
  150. package/dist/tools/policies.js.map +1 -0
  151. package/dist/tools/pricing.d.ts +55 -0
  152. package/dist/tools/pricing.d.ts.map +1 -0
  153. package/dist/tools/pricing.js +260 -0
  154. package/dist/tools/pricing.js.map +1 -0
  155. package/dist/tools/put-room-line.d.ts +12 -0
  156. package/dist/tools/put-room-line.d.ts.map +1 -0
  157. package/dist/tools/put-room-line.js +314 -0
  158. package/dist/tools/put-room-line.js.map +1 -0
  159. package/dist/tools/quote-card.d.ts +234 -0
  160. package/dist/tools/quote-card.d.ts.map +1 -0
  161. package/dist/tools/quote-card.js +375 -0
  162. package/dist/tools/quote-card.js.map +1 -0
  163. package/dist/tools/refund-booking.d.ts +4 -0
  164. package/dist/tools/refund-booking.d.ts.map +1 -0
  165. package/dist/tools/refund-booking.js +112 -0
  166. package/dist/tools/refund-booking.js.map +1 -0
  167. package/dist/tools/request-booking.d.ts +4 -0
  168. package/dist/tools/request-booking.d.ts.map +1 -0
  169. package/dist/tools/request-booking.js +5 -0
  170. package/dist/tools/request-booking.js.map +1 -0
  171. package/dist/tools/request-words.d.ts +238 -0
  172. package/dist/tools/request-words.d.ts.map +1 -0
  173. package/dist/tools/request-words.js +487 -0
  174. package/dist/tools/request-words.js.map +1 -0
  175. package/dist/tools/room-choices.d.ts +64 -0
  176. package/dist/tools/room-choices.d.ts.map +1 -0
  177. package/dist/tools/room-choices.js +348 -0
  178. package/dist/tools/room-choices.js.map +1 -0
  179. package/dist/tools/session-notes.d.ts +164 -0
  180. package/dist/tools/session-notes.d.ts.map +1 -0
  181. package/dist/tools/session-notes.js +412 -0
  182. package/dist/tools/session-notes.js.map +1 -0
  183. package/dist/tools/sign-in.d.ts +4 -0
  184. package/dist/tools/sign-in.d.ts.map +1 -0
  185. package/dist/tools/sign-in.js +72 -0
  186. package/dist/tools/sign-in.js.map +1 -0
  187. package/dist/tools/sign-out.d.ts +4 -0
  188. package/dist/tools/sign-out.d.ts.map +1 -0
  189. package/dist/tools/sign-out.js +13 -0
  190. package/dist/tools/sign-out.js.map +1 -0
  191. package/dist/tools/terms-answer.d.ts +114 -0
  192. package/dist/tools/terms-answer.d.ts.map +1 -0
  193. package/dist/tools/terms-answer.js +475 -0
  194. package/dist/tools/terms-answer.js.map +1 -0
  195. package/dist/tools/tool-set.d.ts +1474 -0
  196. package/dist/tools/tool-set.d.ts.map +1 -0
  197. package/dist/tools/tool-set.js +497 -0
  198. package/dist/tools/tool-set.js.map +1 -0
  199. package/dist/tools/view-trip.d.ts +4 -0
  200. package/dist/tools/view-trip.d.ts.map +1 -0
  201. package/dist/tools/view-trip.js +7 -0
  202. package/dist/tools/view-trip.js.map +1 -0
  203. package/dist/tools.d.ts +13 -2089
  204. package/dist/tools.d.ts.map +1 -1
  205. package/dist/tools.js +11 -10685
  206. package/dist/tools.js.map +1 -1
  207. package/package.json +1 -1
@@ -0,0 +1,1342 @@
1
+ import type { ToolNames } from '../config.js';
2
+ import { type Vocabulary } from '../vocab.js';
3
+ export declare const allTools: (n: ToolNames, v: Vocabulary) => readonly [{
4
+ readonly name: `list_${string}${string}`;
5
+ readonly description: `${string}, shown to a guest - as a card, in an app that draws one - to look through and pick one ${string} to book. It holds no plan of days: a day-by-day plan (\u884C\u7A0B, \u5B89\u6392, an itinerary) is an answer of its own, laid out by the days, with a ${string} for each part of the trip read up as text. Asked with no place - or a country of many cities - it answers with the places to choose from: regions, countries and cities, each with how many ${string} it has; \`all\` lists the ${string} themselves. \`city\` (a city or a country) or \`query\` answers with the ${string}: a picture, the city and area, a rating where the ${string} publishes one, and a from-price, and a city usually holds several. With \`checkIn\` and \`checkOut\` every ${string} is priced for those nights - its cheapest room that takes the party, \`rooms\` of it, for the whole stay with taxes - or marked as having no room for them. \`sort\` and \`maxNightly\` order and cap by that price, or by the from-price without dates, where the matches share one currency. \`brand\`, \`facilities\`, \`freeCancellation\`, \`breakfast\` and \`bed\` narrow the list, and the answer counts what each would leave. A long list comes a page at a time: the answer says how many more there are and the \`offset\` of the next page. Words or a place that match nothing are widened once, and the answer names what it widened to.${string}`;
6
+ readonly annotations: {
7
+ readonly title: string;
8
+ readonly readOnlyHint: true;
9
+ readonly destructiveHint: false;
10
+ readonly idempotentHint: true;
11
+ readonly openWorldHint: boolean;
12
+ };
13
+ readonly inputSchema: {
14
+ readonly type: "object";
15
+ readonly properties: {
16
+ readonly facilities: {
17
+ readonly type: "array";
18
+ readonly items: {
19
+ readonly type: "string";
20
+ readonly enum: string[];
21
+ };
22
+ readonly description: `What every ${string} listed must have`;
23
+ };
24
+ readonly freeCancellation: {
25
+ readonly type: "boolean";
26
+ readonly description: `Only ${string} with a room that can be cancelled free - and, with dates, that room is the one priced`;
27
+ };
28
+ readonly breakfast: {
29
+ readonly type: "boolean";
30
+ readonly description: `Only ${string} with a room that includes breakfast - and, with dates, that room is the one priced`;
31
+ };
32
+ readonly bed: {
33
+ readonly type: "string";
34
+ readonly enum: readonly ["king", "twin"];
35
+ readonly description: `Only ${string} with a room that has this bed - \`king\` is one large bed (king, queen or double), \`twin\` is two beds - and, with dates, that room is the one priced. Given with \`freeCancellation\` or \`breakfast\`, one room must have all of them`;
36
+ };
37
+ readonly all: {
38
+ readonly type: "boolean";
39
+ readonly description: `Unnarrowed, or narrowed to a country of many cities, the answer is the places to choose from; true lists the ${string} themselves`;
40
+ };
41
+ readonly group?: {
42
+ type: string;
43
+ description: string;
44
+ } | undefined;
45
+ readonly rooms: {
46
+ readonly type: "integer";
47
+ readonly minimum: 1;
48
+ readonly maximum: 5;
49
+ readonly description: "With dates: how many rooms of one type the party needs, 1 to 5. Default 1";
50
+ };
51
+ readonly sort: {
52
+ readonly type: "string";
53
+ readonly enum: readonly ["group", "price-low", "price-high", "rating"];
54
+ readonly description: `Default \`group\`: the cities ${string} lead the list. A price order - by the stay's price with dates, the from-price without - holds only where the matches share one currency; across currencies it is dropped and the answer says which currencies they are`;
55
+ };
56
+ readonly maxNightly: {
57
+ readonly type: "number";
58
+ readonly description: "A ceiling on the price of a night - of the stay with dates, the from-price without - in the currency the matches are quoted in. Across currencies it is dropped and the answer says so";
59
+ };
60
+ readonly limit: {
61
+ readonly type: "number";
62
+ readonly description: "How many to return, 1 to 50. Default 12";
63
+ };
64
+ readonly offset: {
65
+ readonly type: "number";
66
+ readonly description: "How many of the matches to skip: the answer says where the next page starts";
67
+ };
68
+ readonly brand: {
69
+ readonly type: "string";
70
+ readonly description: "One of the hotels' own brands (Kerry, Hanting - not a hotel group), as the list's brand counts name it" | "One of the group's brands, as the list's brand counts name it";
71
+ };
72
+ readonly checkIn: {
73
+ readonly type: "string";
74
+ readonly pattern: "^\\d{4}-\\d{2}-\\d{2}$";
75
+ readonly description: `${string}, as YYYY-MM-DD`;
76
+ };
77
+ readonly checkOut: {
78
+ readonly type: "string";
79
+ readonly pattern: "^\\d{4}-\\d{2}-\\d{2}$";
80
+ readonly description: `${string}, as YYYY-MM-DD`;
81
+ };
82
+ readonly guests: {
83
+ readonly type: "integer";
84
+ readonly minimum: 1;
85
+ readonly maximum: 8;
86
+ readonly description: "People in the room. Default 2";
87
+ };
88
+ readonly query: {
89
+ readonly type: "string";
90
+ readonly description: "Free text over the name, city, area, description and amenities - the guest's own words";
91
+ };
92
+ readonly city: {
93
+ readonly type: "string";
94
+ readonly description: `One city or one country${string}`;
95
+ };
96
+ };
97
+ };
98
+ }, {
99
+ readonly name: `get_${string}${string}`;
100
+ readonly description: `One ${string} in full: description, amenities, address, and check-in and check-out times where the ${string} publishes them. Given \`checkIn\` and \`checkOut\` it also returns the room types that can be booked for those nights, one line per type at its lowest rate: the nightly rate, the stay total including taxes and fees, whether it can be cancelled free and until when, and how many rates it has. \`rooms\` leaves out the types that have fewer than that many left. \`bed\`, \`breakfast\`, \`freeCancellation\`, \`window\`, \`payment\` and \`family\` keep only the rates that meet all of those given; a card, in an app that draws one, still holds every room, with the given filters selected. Without dates it returns the ${string} only, because a room has no price until the nights are known. The ${string} is shown to the guest - as a card, in an app that draws one.${string}`;
101
+ readonly annotations: {
102
+ readonly title: string;
103
+ readonly readOnlyHint: true;
104
+ readonly destructiveHint: false;
105
+ readonly idempotentHint: true;
106
+ readonly openWorldHint: boolean;
107
+ };
108
+ readonly inputSchema: {
109
+ readonly type: "object";
110
+ readonly properties: {
111
+ readonly rooms: {
112
+ readonly type: "integer";
113
+ readonly minimum: 1;
114
+ readonly maximum: 5;
115
+ readonly description: "How many rooms of one type, 1 to 5. Default 1";
116
+ };
117
+ readonly bed: {
118
+ readonly type: "string";
119
+ readonly enum: readonly ["king", "twin"];
120
+ readonly description: "With dates: only rooms with this bed - `king` is one large bed (king, queen or double), `twin` is two beds. A room sold as king or twin has both";
121
+ };
122
+ readonly breakfast: {
123
+ readonly type: "boolean";
124
+ readonly description: "With dates: only rooms whose rate includes breakfast";
125
+ };
126
+ readonly freeCancellation: {
127
+ readonly type: "boolean";
128
+ readonly description: "With dates: only rooms that can be cancelled free";
129
+ };
130
+ readonly window: {
131
+ readonly type: "boolean";
132
+ readonly description: "With dates: only rooms with a window (not a partial or an inner one)";
133
+ };
134
+ readonly payment: {
135
+ readonly type: "string";
136
+ readonly enum: readonly ["at-hotel", "online"];
137
+ readonly description: "With dates: only rooms paid at the hotel (`at-hotel`) or in advance online (`online`)";
138
+ };
139
+ readonly family: {
140
+ readonly type: "boolean";
141
+ readonly description: "With dates: only rooms that sleep 3 or more";
142
+ };
143
+ readonly checkIn: {
144
+ readonly type: "string";
145
+ readonly pattern: "^\\d{4}-\\d{2}-\\d{2}$";
146
+ readonly description: `${string}, as YYYY-MM-DD`;
147
+ };
148
+ readonly checkOut: {
149
+ readonly type: "string";
150
+ readonly pattern: "^\\d{4}-\\d{2}-\\d{2}$";
151
+ readonly description: `${string}, as YYYY-MM-DD`;
152
+ };
153
+ readonly guests: {
154
+ readonly type: "integer";
155
+ readonly minimum: 1;
156
+ readonly maximum: 8;
157
+ readonly description: "People in the room. Default 2";
158
+ };
159
+ readonly hotel: {
160
+ readonly type: "string";
161
+ readonly description: `The ${string}'s name or id${string}`;
162
+ };
163
+ };
164
+ readonly required: readonly ["hotel"];
165
+ };
166
+ }, {
167
+ readonly name: `look_up_${string}${string}`;
168
+ readonly description: `Reads up to 6 ${string} - a \`city\`'s (or a country's), or the ones named in \`${string}\` - and returns them as text, with nothing drawn and nothing shown to the guest: each one's id, area, rating, description and amenities, its add-ons with their ids and prices, and, given \`checkIn\` and \`checkOut\`, its rooms priced for those nights with taxes in. Nothing it reads is shown, so the ${string} of a day-by-day plan - for each part of the trip, those near where its days are spent - can be read up before the plan is drawn; its ids are the ones a comparison and a plan take.`;
169
+ readonly annotations: {
170
+ readonly title: string;
171
+ readonly readOnlyHint: true;
172
+ readonly destructiveHint: false;
173
+ readonly idempotentHint: true;
174
+ readonly openWorldHint: boolean;
175
+ };
176
+ readonly inputSchema: {
177
+ readonly type: "object";
178
+ readonly properties: {
179
+ readonly rooms: {
180
+ readonly type: "integer";
181
+ readonly minimum: 1;
182
+ readonly maximum: 5;
183
+ readonly description: "How many rooms of one type, 1 to 5. Default 1";
184
+ };
185
+ readonly checkIn: {
186
+ readonly type: "string";
187
+ readonly pattern: "^\\d{4}-\\d{2}-\\d{2}$";
188
+ readonly description: `${string}, as YYYY-MM-DD`;
189
+ };
190
+ readonly checkOut: {
191
+ readonly type: "string";
192
+ readonly pattern: "^\\d{4}-\\d{2}-\\d{2}$";
193
+ readonly description: `${string}, as YYYY-MM-DD`;
194
+ };
195
+ readonly guests: {
196
+ readonly type: "integer";
197
+ readonly minimum: 1;
198
+ readonly maximum: 8;
199
+ readonly description: "People in the room. Default 2";
200
+ };
201
+ readonly city: {
202
+ readonly type: "string";
203
+ readonly description: `A city or a country: its ${string}, up to 6`;
204
+ };
205
+ };
206
+ };
207
+ }, {
208
+ readonly name: `list_${string}extras`;
209
+ readonly description: `What one ${string} offers beside the room: airport transfers, dinners, guided experiences, spa and family add-ons, each with its price and whether it is charged per stay, per person or per night, shown to the guest - as a card, in an app that draws one.`;
210
+ readonly annotations: {
211
+ readonly title: string;
212
+ readonly readOnlyHint: true;
213
+ readonly destructiveHint: false;
214
+ readonly idempotentHint: true;
215
+ readonly openWorldHint: boolean;
216
+ };
217
+ readonly inputSchema: {
218
+ readonly type: "object";
219
+ readonly properties: {
220
+ readonly booking: {
221
+ readonly type: "string";
222
+ readonly description: `A booking's confirmation code. The answer is then that booking's ${string}, its add-ons for those nights and how many of each the booking holds`;
223
+ };
224
+ readonly email: {
225
+ readonly type: "string";
226
+ readonly description: "The email the booking was made with, when it was made elsewhere";
227
+ };
228
+ readonly checkIn: {
229
+ readonly type: "string";
230
+ readonly pattern: "^\\d{4}-\\d{2}-\\d{2}$";
231
+ readonly description: `${string}, as YYYY-MM-DD`;
232
+ };
233
+ readonly checkOut: {
234
+ readonly type: "string";
235
+ readonly pattern: "^\\d{4}-\\d{2}-\\d{2}$";
236
+ readonly description: `${string}, as YYYY-MM-DD`;
237
+ };
238
+ readonly guests: {
239
+ readonly type: "integer";
240
+ readonly minimum: 1;
241
+ readonly maximum: 8;
242
+ readonly description: "People in the room. Default 2";
243
+ };
244
+ readonly hotel: {
245
+ readonly type: "string";
246
+ readonly description: `The ${string}'s name or id`;
247
+ };
248
+ };
249
+ };
250
+ }, {
251
+ readonly name: `add_to_${string}trip`;
252
+ readonly description: `Puts room nights or an add-on into the trip - a plan kept in this conversation - and returns the whole trip, priced. Nothing in the trip is booked or charged. A room line needs the ${string}, the room type and the dates; \`rooms\` sets how many of that room type. An add-on line needs the ${string} and the add-on. A line is replaced, not stacked: sending the same room and dates again sets that line's room count, and 0 takes it out of the plan.`;
253
+ readonly annotations: {
254
+ readonly title: string;
255
+ readonly readOnlyHint: false;
256
+ readonly destructiveHint: true;
257
+ readonly idempotentHint: true;
258
+ readonly openWorldHint: boolean;
259
+ };
260
+ readonly inputSchema: {
261
+ readonly type: "object";
262
+ readonly properties: {
263
+ readonly rooms: {
264
+ readonly type: "integer";
265
+ readonly minimum: 0;
266
+ readonly maximum: 5;
267
+ readonly description: "How many of that room type in the plan, 1 to 5. Default 1; 0 takes the line out";
268
+ };
269
+ readonly quantity: {
270
+ readonly type: "integer";
271
+ readonly minimum: 0;
272
+ readonly maximum: 20;
273
+ readonly description: "For an add-on: how many, 1 to 20. Default 1 - or, for an add-on priced per person, everyone in the rooms the trip holds at that hotel (guests per room x rooms; the guests asked for when there is no room yet); 0 removes it";
274
+ };
275
+ readonly checkIn: {
276
+ readonly type: "string";
277
+ readonly pattern: "^\\d{4}-\\d{2}-\\d{2}$";
278
+ readonly description: `${string}, as YYYY-MM-DD`;
279
+ };
280
+ readonly checkOut: {
281
+ readonly type: "string";
282
+ readonly pattern: "^\\d{4}-\\d{2}-\\d{2}$";
283
+ readonly description: `${string}, as YYYY-MM-DD`;
284
+ };
285
+ readonly guests: {
286
+ readonly type: "integer";
287
+ readonly minimum: 1;
288
+ readonly maximum: 8;
289
+ readonly description: "People in the room. Default 2";
290
+ };
291
+ readonly hotel: {
292
+ readonly type: "string";
293
+ readonly description: `The ${string}'s name or id`;
294
+ };
295
+ readonly room: {
296
+ readonly type: "string";
297
+ readonly description: "The room type id or name, as the hotel returned it";
298
+ };
299
+ readonly extra: {
300
+ readonly type: "string";
301
+ readonly description: "The add-on id or name. A line names either this or `room`";
302
+ };
303
+ };
304
+ readonly required: readonly ["hotel"];
305
+ };
306
+ }, {
307
+ readonly name: `view_${string}trip`;
308
+ readonly description: "The trip as it stands: every room line and add-on with its own total, the taxes and fees, and the all-in total, laid out day by day (on the card, in an app that draws one).";
309
+ readonly annotations: {
310
+ readonly title: string;
311
+ readonly readOnlyHint: true;
312
+ readonly destructiveHint: false;
313
+ readonly idempotentHint: true;
314
+ readonly openWorldHint: boolean;
315
+ };
316
+ readonly inputSchema: {
317
+ readonly type: "object";
318
+ readonly properties: {};
319
+ };
320
+ }, {
321
+ readonly name: `clear_${string}trip`;
322
+ readonly description: "Empties the trip.";
323
+ readonly annotations: {
324
+ readonly title: string;
325
+ readonly readOnlyHint: false;
326
+ readonly destructiveHint: true;
327
+ readonly idempotentHint: true;
328
+ readonly openWorldHint: boolean;
329
+ };
330
+ readonly inputSchema: {
331
+ readonly type: "object";
332
+ readonly properties: {};
333
+ };
334
+ }, {
335
+ readonly name: `request_${string}booking`;
336
+ readonly description: string;
337
+ readonly annotations: {
338
+ readonly title: string;
339
+ readonly readOnlyHint: false;
340
+ readonly destructiveHint: true;
341
+ readonly idempotentHint: false;
342
+ readonly openWorldHint: boolean;
343
+ };
344
+ readonly inputSchema: {
345
+ readonly type: "object";
346
+ readonly properties: {
347
+ readonly group?: {
348
+ type: string;
349
+ description: string;
350
+ } | undefined;
351
+ readonly name: {
352
+ readonly type: "string";
353
+ readonly description: "The guest's full name, as it should appear on the booking";
354
+ };
355
+ readonly email: {
356
+ readonly type: "string";
357
+ readonly description: "The email the confirmation goes to";
358
+ };
359
+ readonly phone: {
360
+ readonly type: "string";
361
+ readonly description: "Optional";
362
+ };
363
+ readonly requests: {
364
+ readonly type: "array";
365
+ readonly items: {
366
+ readonly type: "string";
367
+ readonly enum: import("../types.js").RoomRequestKind[];
368
+ };
369
+ readonly description: "Preferences the desk tries to meet on the day. None of them is held; the answer says so";
370
+ };
371
+ readonly arrivingAt: {
372
+ readonly type: "string";
373
+ readonly description: "What time the guest reaches the hotel, `HH:MM` on the hotel's own clock. A time counts as a late arrival on its own";
374
+ };
375
+ readonly notes: {
376
+ readonly type: "string";
377
+ readonly description: "Anything else for the desk, in the guest's own words, up to 200 characters";
378
+ };
379
+ readonly rememberRequests: {
380
+ readonly type: "boolean";
381
+ readonly description: "True when the guest asked for these room preferences to be remembered for their next stays. Needs a signed-in member; what is kept is the lasting kind - a bed type, a floor, a quiet or connecting room; an accessible room is asked for on each stay and is not kept";
382
+ };
383
+ };
384
+ readonly required: readonly ["name", "email"];
385
+ };
386
+ }, {
387
+ readonly name: `list_my_${string}bookings`;
388
+ readonly description: "The bookings made in this conversation, newest to oldest, with their status, dates and confirmation codes. A booking made elsewhere is read and shown as well when both its confirmation code and the email it was made with are given; nothing is changed.";
389
+ readonly annotations: {
390
+ readonly title: string;
391
+ readonly readOnlyHint: true;
392
+ readonly destructiveHint: false;
393
+ readonly idempotentHint: true;
394
+ readonly openWorldHint: boolean;
395
+ };
396
+ readonly inputSchema: {
397
+ readonly type: "object";
398
+ readonly properties: {
399
+ readonly booking: {
400
+ readonly type: "string";
401
+ readonly description: "A confirmation code, with `email`, for a booking made elsewhere";
402
+ };
403
+ readonly email: {
404
+ readonly type: "string";
405
+ readonly description: "The email that booking was made with";
406
+ };
407
+ readonly limit: {
408
+ readonly type: "number";
409
+ readonly description: "Default 10";
410
+ };
411
+ };
412
+ };
413
+ }, {
414
+ readonly name: `preview_${string}cancellation`;
415
+ readonly description: "What cancelling a booking would cost, with the rule it was worked out from and the free-cancellation deadline where the rate has one. Nothing is cancelled.";
416
+ readonly annotations: {
417
+ readonly title: string;
418
+ readonly readOnlyHint: true;
419
+ readonly destructiveHint: false;
420
+ readonly idempotentHint: true;
421
+ readonly openWorldHint: boolean;
422
+ };
423
+ readonly inputSchema: {
424
+ readonly type: "object";
425
+ readonly properties: {
426
+ readonly booking: {
427
+ readonly type: "string";
428
+ readonly description: "The confirmation code or booking id";
429
+ };
430
+ readonly email: {
431
+ readonly type: "string";
432
+ readonly description: "The email the booking was made with, when it was made elsewhere";
433
+ };
434
+ };
435
+ readonly required: readonly ["booking"];
436
+ };
437
+ }, {
438
+ readonly name: `cancel_${string}booking`;
439
+ readonly description: "Cancels a booking. Called without `confirmed` it returns the cancellation preview - the fee and the rule behind it - and cancels nothing; it cancels only when `confirmed` is true.";
440
+ readonly annotations: {
441
+ readonly title: string;
442
+ readonly readOnlyHint: false;
443
+ readonly destructiveHint: true;
444
+ readonly idempotentHint: true;
445
+ readonly openWorldHint: boolean;
446
+ };
447
+ readonly inputSchema: {
448
+ readonly type: "object";
449
+ readonly properties: {
450
+ readonly booking: {
451
+ readonly type: "string";
452
+ readonly description: "The confirmation code or booking id";
453
+ };
454
+ readonly confirmed: {
455
+ readonly type: "boolean";
456
+ readonly description: "True cancels. Anything else returns the preview";
457
+ };
458
+ readonly reason: {
459
+ readonly type: "string";
460
+ readonly description: "Optional, kept on the booking";
461
+ };
462
+ readonly email: {
463
+ readonly type: "string";
464
+ readonly description: "The email the booking was made with, when it was made elsewhere";
465
+ };
466
+ };
467
+ readonly required: readonly ["booking"];
468
+ };
469
+ }, {
470
+ readonly name: `preview_${string}booking_change`;
471
+ readonly description: `What moving a booking to other nights, another room type or a different number of rooms - or putting an add-on on it, taking one off or changing how many - would cost: what it holds now, what it would hold, and the difference between them. The new nights are priced at what those nights cost today, not at the rate the booking was made on. A rate that cannot be moved, a ${string} that has no room left for the new nights and a booking that is already gone are each said in those words. Nothing is changed.`;
472
+ readonly annotations: {
473
+ readonly title: string;
474
+ readonly readOnlyHint: true;
475
+ readonly destructiveHint: false;
476
+ readonly idempotentHint: true;
477
+ readonly openWorldHint: boolean;
478
+ };
479
+ readonly inputSchema: {
480
+ readonly type: "object";
481
+ readonly properties: {
482
+ readonly booking: {
483
+ readonly type: "string";
484
+ readonly description: "The confirmation code or booking id";
485
+ };
486
+ readonly checkIn: {
487
+ readonly type: "string";
488
+ readonly description: "The new check-in, YYYY-MM-DD. Leave out to keep it";
489
+ };
490
+ readonly checkOut: {
491
+ readonly type: "string";
492
+ readonly description: "The new check-out, YYYY-MM-DD. Leave out to keep it";
493
+ };
494
+ readonly rooms: {
495
+ readonly type: "integer";
496
+ readonly minimum: 1;
497
+ readonly maximum: 5;
498
+ readonly description: "How many of that room type, 1 to 5. Leave out to keep it";
499
+ };
500
+ readonly room: {
501
+ readonly type: "string";
502
+ readonly description: "A different room type at the same hotel, by id or name";
503
+ };
504
+ readonly extra: {
505
+ readonly type: "string";
506
+ readonly description: `An add-on at this ${string}, by id or name, to put on the booking, take off or change - with \`quantity\``;
507
+ };
508
+ readonly quantity: {
509
+ readonly type: "integer";
510
+ readonly minimum: 0;
511
+ readonly maximum: 20;
512
+ readonly description: "How many of that add-on the booking should hold, 0 to 20; 0 takes it off";
513
+ };
514
+ readonly email: {
515
+ readonly type: "string";
516
+ readonly description: "The email the booking was made with, when it was made elsewhere";
517
+ };
518
+ };
519
+ readonly required: readonly ["booking"];
520
+ };
521
+ }, {
522
+ readonly name: `change_${string}booking`;
523
+ readonly description: "Moves a booking to other nights, another room type or a different number of rooms, or sets one of its add-ons (`extra` and `quantity`; 0 takes it off). Called without `confirmed` it returns the same preview - the two stays and the difference - and changes nothing; it changes only when `confirmed` is true. The confirmation code stays the same.";
524
+ readonly annotations: {
525
+ readonly title: string;
526
+ readonly readOnlyHint: false;
527
+ readonly destructiveHint: true;
528
+ readonly idempotentHint: true;
529
+ readonly openWorldHint: boolean;
530
+ };
531
+ readonly inputSchema: {
532
+ readonly type: "object";
533
+ readonly properties: {
534
+ readonly booking: {
535
+ readonly type: "string";
536
+ readonly description: "The confirmation code or booking id";
537
+ };
538
+ readonly checkIn: {
539
+ readonly type: "string";
540
+ readonly description: "The new check-in, YYYY-MM-DD. Leave out to keep it";
541
+ };
542
+ readonly checkOut: {
543
+ readonly type: "string";
544
+ readonly description: "The new check-out, YYYY-MM-DD. Leave out to keep it";
545
+ };
546
+ readonly rooms: {
547
+ readonly type: "integer";
548
+ readonly minimum: 1;
549
+ readonly maximum: 5;
550
+ readonly description: "How many of that room type, 1 to 5. Leave out to keep it";
551
+ };
552
+ readonly room: {
553
+ readonly type: "string";
554
+ readonly description: "A different room type at the same hotel, by id or name";
555
+ };
556
+ readonly extra: {
557
+ readonly type: "string";
558
+ readonly description: `An add-on at this ${string}, by id or name, to put on the booking, take off or change - with \`quantity\``;
559
+ };
560
+ readonly quantity: {
561
+ readonly type: "integer";
562
+ readonly minimum: 0;
563
+ readonly maximum: 20;
564
+ readonly description: "How many of that add-on the booking should hold, 0 to 20; 0 takes it off";
565
+ };
566
+ readonly email: {
567
+ readonly type: "string";
568
+ readonly description: "The email the booking was made with, when it was made elsewhere";
569
+ };
570
+ readonly confirmed: {
571
+ readonly type: "boolean";
572
+ readonly description: "True makes the change. Anything else returns the preview";
573
+ };
574
+ };
575
+ readonly required: readonly ["booking"];
576
+ };
577
+ }, {
578
+ readonly name: `compare_${string}${string}`;
579
+ readonly description: `Puts two to four ${string} side by side - as one card, in an app that draws one. Each column's price, rate, cancellation terms, breakfast and rooms left come from the ${string}'s own record; the arguments carry only the ids, one line on who each suits, and its pros and cons. With \`checkIn\`/\`checkOut\` the columns carry each ${string}'s cheapest room for those nights; without them, a from-price.`;
580
+ readonly annotations: {
581
+ readonly title: string;
582
+ readonly readOnlyHint: true;
583
+ readonly destructiveHint: false;
584
+ readonly idempotentHint: true;
585
+ readonly openWorldHint: boolean;
586
+ };
587
+ readonly inputSchema: {
588
+ readonly type: "object";
589
+ readonly properties: {
590
+ readonly checkIn: {
591
+ readonly type: "string";
592
+ readonly pattern: "^\\d{4}-\\d{2}-\\d{2}$";
593
+ readonly description: `${string}, as YYYY-MM-DD`;
594
+ };
595
+ readonly checkOut: {
596
+ readonly type: "string";
597
+ readonly pattern: "^\\d{4}-\\d{2}-\\d{2}$";
598
+ readonly description: `${string}, as YYYY-MM-DD`;
599
+ };
600
+ readonly guests: {
601
+ readonly type: "integer";
602
+ readonly minimum: 1;
603
+ readonly maximum: 8;
604
+ readonly description: "People in the room. Default 2";
605
+ };
606
+ readonly entries: {
607
+ readonly type: "array";
608
+ readonly minItems: 2;
609
+ readonly maxItems: 4;
610
+ readonly description: `The ${string} to set beside each other, in the order they should appear`;
611
+ readonly items: {
612
+ readonly type: "object";
613
+ readonly properties: {
614
+ readonly hotel: {
615
+ readonly type: "string";
616
+ readonly description: `The ${string}'s name or id`;
617
+ };
618
+ readonly bestFor: {
619
+ readonly type: "string";
620
+ readonly description: "One line on who this one suits, in your own words";
621
+ };
622
+ readonly pros: {
623
+ readonly type: "array";
624
+ readonly items: {
625
+ readonly type: "string";
626
+ };
627
+ readonly maxItems: 4;
628
+ };
629
+ readonly cons: {
630
+ readonly type: "array";
631
+ readonly items: {
632
+ readonly type: "string";
633
+ };
634
+ readonly maxItems: 3;
635
+ };
636
+ };
637
+ readonly required: readonly ["hotel"];
638
+ };
639
+ };
640
+ readonly recommended: {
641
+ readonly type: "string";
642
+ readonly description: `The one ${string} to mark as the pick`;
643
+ };
644
+ readonly title: {
645
+ readonly type: "string";
646
+ readonly description: "A heading for the plan";
647
+ };
648
+ };
649
+ readonly required: readonly ["entries"];
650
+ };
651
+ }, {
652
+ readonly name: `show_${string}itinerary`;
653
+ readonly description: `A day-by-day plan (\u884C\u7A0B) - one card, in an app that draws one - for a trip of several days, or for days a guest asked to have planned (a city with a span of dates and \u884C\u7A0B is one): the days are laid out by where they are spent, and each part of the trip has a ${string} near those days, chosen from the ${string} read up as text. Each day carries its own label, an optional note, the moments of the day in order, and the ${string} and add-ons attached to it, with their details filled in from their own records - a ${string} with its photograph and, given dates, the price of its nights. Each stay is marked with whether it is booked, in the trip or only in the plan, and the answer says how many of each. Nothing is added to the trip.`;
654
+ readonly annotations: {
655
+ readonly title: string;
656
+ readonly readOnlyHint: true;
657
+ readonly destructiveHint: false;
658
+ readonly idempotentHint: true;
659
+ readonly openWorldHint: boolean;
660
+ };
661
+ readonly inputSchema: {
662
+ readonly type: "object";
663
+ readonly properties: {
664
+ readonly checkIn: {
665
+ readonly type: "string";
666
+ readonly pattern: "^\\d{4}-\\d{2}-\\d{2}$";
667
+ readonly description: `${string}, as YYYY-MM-DD`;
668
+ };
669
+ readonly checkOut: {
670
+ readonly type: "string";
671
+ readonly pattern: "^\\d{4}-\\d{2}-\\d{2}$";
672
+ readonly description: `${string}, as YYYY-MM-DD`;
673
+ };
674
+ readonly guests: {
675
+ readonly type: "integer";
676
+ readonly minimum: 1;
677
+ readonly maximum: 8;
678
+ readonly description: "People in the room. Default 2";
679
+ };
680
+ readonly title: {
681
+ readonly type: "string";
682
+ readonly description: "What to call the trip";
683
+ };
684
+ readonly days: {
685
+ readonly type: "array";
686
+ readonly minItems: 1;
687
+ readonly maxItems: 10;
688
+ readonly items: {
689
+ readonly type: "object";
690
+ readonly properties: {
691
+ readonly label: {
692
+ readonly type: "string";
693
+ readonly description: `e.g. "Arrive${string}" - each day's date is printed beside it, so leave the date out`;
694
+ };
695
+ readonly note: {
696
+ readonly type: "string";
697
+ readonly description: "One or two lines on the day, in your own words";
698
+ };
699
+ readonly why: {
700
+ readonly type: "string";
701
+ readonly description: `Why the ${string} named on this day suits the days of that stay - near what, good for what - one sentence, in your own words, with no lead-in such as "My pick:" - the plan has its own`;
702
+ };
703
+ readonly items: {
704
+ readonly type: "array";
705
+ readonly items: {
706
+ readonly type: "string";
707
+ };
708
+ readonly maxItems: 6;
709
+ readonly description: `${string} and add-ons for that day, by name or id`;
710
+ };
711
+ readonly plan: {
712
+ readonly type: "array";
713
+ readonly maxItems: 5;
714
+ readonly description: "The day in order, in your own words: when, and what happens then. Nothing in it is booked or priced";
715
+ readonly items: {
716
+ readonly type: "object";
717
+ readonly properties: {
718
+ readonly time: {
719
+ readonly type: "string";
720
+ readonly description: "When in the day, e.g. \"Afternoon\" or \"19:00\"";
721
+ };
722
+ readonly what: {
723
+ readonly type: "string";
724
+ readonly description: "What happens then, in a few words";
725
+ };
726
+ readonly note: {
727
+ readonly type: "string";
728
+ readonly description: "One line more, optional";
729
+ };
730
+ };
731
+ readonly required: readonly ["what"];
732
+ };
733
+ };
734
+ };
735
+ readonly required: readonly ["label"];
736
+ };
737
+ };
738
+ };
739
+ readonly required: readonly ["title", "days"];
740
+ };
741
+ }, {
742
+ readonly name: `sign_in_${string}member`;
743
+ readonly description: `Signs ${string} loyalty member in (log in) for this conversation - ${string} \u4F1A\u5458\u767B\u5F55 - on ${string}'s own sign-in page: answers with a one-time link and a short code the page shows too, where the guest types their membership number and the surname on it; the chat does not carry them. Once they have, it answers with their tier, their point balance and what the tier takes off the public rate; room rates and trip totals are then quoted at the member rate until they are signed out.`;
744
+ readonly annotations: {
745
+ readonly title: string;
746
+ readonly readOnlyHint: false;
747
+ readonly destructiveHint: false;
748
+ readonly idempotentHint: true;
749
+ readonly openWorldHint: boolean;
750
+ };
751
+ readonly inputSchema: {
752
+ readonly type: "object";
753
+ readonly properties: {
754
+ readonly lang: {
755
+ readonly type: "string";
756
+ readonly enum: readonly ["zh", "en"];
757
+ readonly description: "The language the page opens in: zh for a guest writing Chinese, en otherwise. The page has a switch.";
758
+ };
759
+ };
760
+ };
761
+ }, {
762
+ readonly name: `card_${string}member`;
763
+ readonly description: `The booking card's own way to start ${string} membership sign-in, or to see whether its page has been used yet - for the conversation the card was drawn for.`;
764
+ readonly annotations: {
765
+ readonly title: string;
766
+ readonly readOnlyHint: false;
767
+ readonly destructiveHint: false;
768
+ readonly idempotentHint: true;
769
+ readonly openWorldHint: boolean;
770
+ };
771
+ readonly inputSchema: {
772
+ readonly type: "object";
773
+ readonly properties: {
774
+ readonly action: {
775
+ readonly type: "string";
776
+ readonly enum: readonly ["sign_in", "view"];
777
+ readonly description: "sign_in: a new one-time sign-in page; view: whether this conversation is signed in yet";
778
+ };
779
+ readonly lang: {
780
+ readonly type: "string";
781
+ readonly enum: readonly ["zh", "en"];
782
+ readonly description: "The language the page opens in";
783
+ };
784
+ };
785
+ readonly required: readonly ["action"];
786
+ };
787
+ }, {
788
+ readonly name: `sign_out_${string}member`;
789
+ readonly description: "Ends the membership sign-in for this conversation. Rates go back to the public ones; the trip and any bookings are left as they are.";
790
+ readonly annotations: {
791
+ readonly title: string;
792
+ readonly readOnlyHint: false;
793
+ readonly destructiveHint: false;
794
+ readonly idempotentHint: true;
795
+ readonly openWorldHint: boolean;
796
+ };
797
+ readonly inputSchema: {
798
+ readonly type: "object";
799
+ readonly properties: {};
800
+ };
801
+ }, {
802
+ readonly name: `forget_${string}preferences`;
803
+ readonly description: `Forgets the room preferences saved on the signed-in ${string} membership - a bed type, a floor, a quiet or connecting room. Bookings already made keep what they asked for.`;
804
+ readonly annotations: {
805
+ readonly title: "Forget my saved preferences";
806
+ readonly readOnlyHint: false;
807
+ readonly destructiveHint: true;
808
+ readonly idempotentHint: true;
809
+ readonly openWorldHint: boolean;
810
+ };
811
+ readonly inputSchema: {
812
+ readonly type: "object";
813
+ readonly properties: {};
814
+ };
815
+ }, {
816
+ readonly name: `get_${string}${string}_policies`;
817
+ readonly description: `What one ${string} publishes about cancellation, check-in and check-out, children and extra beds, pets, deposits and accessibility. With \`topic\` it returns that topic; without, all of them.`;
818
+ readonly annotations: {
819
+ readonly title: string;
820
+ readonly readOnlyHint: true;
821
+ readonly destructiveHint: false;
822
+ readonly idempotentHint: true;
823
+ readonly openWorldHint: boolean;
824
+ };
825
+ readonly inputSchema: {
826
+ readonly type: "object";
827
+ readonly properties: {
828
+ readonly hotel: {
829
+ readonly type: "string";
830
+ readonly description: `The ${string}'s name or id`;
831
+ };
832
+ readonly topic: {
833
+ readonly type: "string";
834
+ readonly enum: readonly ["cancellation", "check-in", "children", "pets", "deposit", "accessibility"];
835
+ };
836
+ };
837
+ readonly required: readonly ["hotel"];
838
+ };
839
+ }, {
840
+ readonly name: `pay_${string}booking_with_unionpay`;
841
+ readonly description: `Pays ${string} stay that is waiting for its payment with UnionPay instead of the card page. Answers UnionPay's own page to confirm it on - or, when that email has no UnionPay card on file, UnionPay's page to add one first. Nothing is charged by this call: the guest confirms on UnionPay's page, and the hotel charges the one-time card UnionPay issues for the stay.`;
842
+ readonly annotations: {
843
+ readonly title: "Pay with UnionPay";
844
+ readonly readOnlyHint: false;
845
+ readonly destructiveHint: false;
846
+ readonly idempotentHint: true;
847
+ readonly openWorldHint: true;
848
+ };
849
+ readonly inputSchema: {
850
+ readonly type: "object";
851
+ readonly properties: {
852
+ readonly booking: {
853
+ readonly type: "string";
854
+ readonly description: "The confirmation code of the stay waiting for its payment";
855
+ };
856
+ readonly email: {
857
+ readonly type: "string";
858
+ readonly description: "The email the stay was booked with";
859
+ };
860
+ };
861
+ readonly required: readonly ["booking", "email"];
862
+ };
863
+ }, {
864
+ readonly name: `pick_${string}room`;
865
+ readonly description: "The card's own step when the guest presses Reserve on one rate: the one room being booked, replacing whatever was picked before. It does not touch the trip, which holds the stays an assistant arranges.";
866
+ readonly annotations: {
867
+ readonly title: string;
868
+ readonly readOnlyHint: false;
869
+ readonly destructiveHint: false;
870
+ readonly idempotentHint: true;
871
+ readonly openWorldHint: boolean;
872
+ };
873
+ readonly inputSchema: {
874
+ readonly type: "object";
875
+ readonly properties: {
876
+ readonly rooms: {
877
+ readonly type: "integer";
878
+ readonly minimum: 0;
879
+ readonly maximum: 5;
880
+ readonly description: "How many of that room type, 1 to 5. Default 1; 0 empties the pick";
881
+ };
882
+ readonly checkIn: {
883
+ readonly type: "string";
884
+ readonly pattern: "^\\d{4}-\\d{2}-\\d{2}$";
885
+ readonly description: `${string}, as YYYY-MM-DD`;
886
+ };
887
+ readonly checkOut: {
888
+ readonly type: "string";
889
+ readonly pattern: "^\\d{4}-\\d{2}-\\d{2}$";
890
+ readonly description: `${string}, as YYYY-MM-DD`;
891
+ };
892
+ readonly guests: {
893
+ readonly type: "integer";
894
+ readonly minimum: 1;
895
+ readonly maximum: 8;
896
+ readonly description: "People in the room. Default 2";
897
+ };
898
+ readonly hotel: {
899
+ readonly type: "string";
900
+ readonly description: `The ${string}'s name or id`;
901
+ };
902
+ readonly room: {
903
+ readonly type: "string";
904
+ readonly description: "The room type id or name, as the hotel returned it";
905
+ };
906
+ };
907
+ readonly required: readonly ["hotel", "room"];
908
+ };
909
+ }, {
910
+ readonly name: `book_picked_${string}room`;
911
+ readonly description: "The card's own step when the guest submits the booking form for the room they picked with Reserve: books that one room for the named guest, the way a trip's rooms are booked. Leaves the trip as it is.";
912
+ readonly annotations: {
913
+ readonly title: string;
914
+ readonly readOnlyHint: false;
915
+ readonly destructiveHint: true;
916
+ readonly idempotentHint: false;
917
+ readonly openWorldHint: boolean;
918
+ };
919
+ readonly inputSchema: {
920
+ readonly type: "object";
921
+ readonly properties: {
922
+ readonly startTime: {
923
+ readonly type: "string";
924
+ readonly description: "For a room by the hour: the start the form shows, HH:MM";
925
+ };
926
+ readonly checkIn: {
927
+ readonly type: "string";
928
+ readonly pattern: "^\\d{4}-\\d{2}-\\d{2}$";
929
+ readonly description: `${string}, as YYYY-MM-DD`;
930
+ };
931
+ readonly checkOut: {
932
+ readonly type: "string";
933
+ readonly pattern: "^\\d{4}-\\d{2}-\\d{2}$";
934
+ readonly description: `${string}, as YYYY-MM-DD`;
935
+ };
936
+ readonly guests: {
937
+ readonly type: "integer";
938
+ readonly minimum: 1;
939
+ readonly maximum: 8;
940
+ readonly description: "People in the room. Default 2";
941
+ };
942
+ readonly hotel: {
943
+ readonly type: "string";
944
+ readonly description: `The ${string} id on the form`;
945
+ };
946
+ readonly room: {
947
+ readonly type: "string";
948
+ readonly description: "The room type id on the form";
949
+ };
950
+ readonly rooms: {
951
+ readonly type: "integer";
952
+ readonly minimum: 1;
953
+ readonly maximum: 5;
954
+ readonly description: "How many of that room type the form shows";
955
+ };
956
+ readonly name: {
957
+ readonly type: "string";
958
+ readonly description: "The guest's full name, as it should appear on the booking";
959
+ };
960
+ readonly email: {
961
+ readonly type: "string";
962
+ readonly description: "The email the confirmation goes to";
963
+ };
964
+ readonly phone: {
965
+ readonly type: "string";
966
+ readonly description: "Optional";
967
+ };
968
+ readonly requests: {
969
+ readonly type: "array";
970
+ readonly items: {
971
+ readonly type: "string";
972
+ readonly enum: import("../types.js").RoomRequestKind[];
973
+ };
974
+ readonly description: "Preferences the desk tries to meet on the day. None of them is held; the answer says so";
975
+ };
976
+ readonly arrivingAt: {
977
+ readonly type: "string";
978
+ readonly description: "What time the guest reaches the hotel, `HH:MM` on the hotel's own clock. A time counts as a late arrival on its own";
979
+ };
980
+ readonly notes: {
981
+ readonly type: "string";
982
+ readonly description: "Anything else for the desk, in the guest's own words, up to 200 characters";
983
+ };
984
+ readonly rememberRequests: {
985
+ readonly type: "boolean";
986
+ readonly description: "True when the guest asked for these room preferences to be remembered for their next stays. Needs a signed-in member; what is kept is the lasting kind - a bed type, a floor, a quiet or connecting room; an accessible room is asked for on each stay and is not kept";
987
+ };
988
+ };
989
+ readonly required: readonly ["name", "email"];
990
+ };
991
+ }, {
992
+ readonly name: `card_${string}terms`;
993
+ readonly description: "The card's own step when the guest presses \"Agree and continue\" under a hotel group's booking terms: it sends the guest's agreement to the terms behind `ref` and the stay is then booked with the group. It answers like a booking: the booking's payment page, the terms again, or why nothing was booked.";
994
+ readonly annotations: {
995
+ readonly title: string;
996
+ readonly readOnlyHint: false;
997
+ readonly destructiveHint: true;
998
+ readonly idempotentHint: false;
999
+ readonly openWorldHint: boolean;
1000
+ };
1001
+ readonly inputSchema: {
1002
+ readonly type: "object";
1003
+ readonly properties: {
1004
+ readonly ref: {
1005
+ readonly type: "string";
1006
+ readonly description: "The terms the card is showing, by the reference the booking answer gave";
1007
+ };
1008
+ };
1009
+ readonly required: readonly ["ref"];
1010
+ };
1011
+ }, {
1012
+ readonly name: `refund_${string}booking`;
1013
+ readonly description: "Asks the hotel group to refund, in full, a booking made here that has been paid. TWO STEPS: the first call (no `confirmed`) only previews - the amount and the group's own refund terms - and asks nothing of the group; say them to the guest, and only when they say yes call again with `confirmed: true`. The second answer says what the group did with the request.";
1014
+ readonly annotations: {
1015
+ readonly title: string;
1016
+ readonly readOnlyHint: false;
1017
+ readonly destructiveHint: true;
1018
+ readonly idempotentHint: true;
1019
+ readonly openWorldHint: boolean;
1020
+ };
1021
+ readonly inputSchema: {
1022
+ readonly type: "object";
1023
+ readonly properties: {
1024
+ readonly booking: {
1025
+ readonly type: "string";
1026
+ readonly description: "The confirmation code or order id, as the booking answer gave it";
1027
+ };
1028
+ readonly reason: {
1029
+ readonly type: "string";
1030
+ readonly maxLength: 200;
1031
+ readonly description: "Optional, the guest's reason in their own words, up to 200 characters";
1032
+ };
1033
+ readonly confirmed: {
1034
+ readonly type: "boolean";
1035
+ readonly description: "true only after the guest was shown the refund preview this tool answers with and said yes. Without it, the answer is that preview and nothing is asked of the group.";
1036
+ };
1037
+ };
1038
+ readonly required: readonly ["booking"];
1039
+ };
1040
+ }, {
1041
+ readonly name: `list_${string}booking_addons`;
1042
+ readonly description: "What can be added to a booking made here after it was made - an airport transfer and the like - each with its id, name, price and the details it needs. Only a booking made here has any.";
1043
+ readonly annotations: {
1044
+ readonly title: string;
1045
+ readonly readOnlyHint: true;
1046
+ readonly destructiveHint: false;
1047
+ readonly idempotentHint: true;
1048
+ readonly openWorldHint: boolean;
1049
+ };
1050
+ readonly inputSchema: {
1051
+ readonly type: "object";
1052
+ readonly properties: {
1053
+ readonly booking: {
1054
+ readonly type: "string";
1055
+ readonly description: "The confirmation code or order id, as the booking answer gave it";
1056
+ };
1057
+ };
1058
+ readonly required: readonly ["booking"];
1059
+ };
1060
+ }, {
1061
+ readonly name: `add_${string}booking_addon`;
1062
+ readonly description: "Prepares adding one add-on to a booking made here, at the price the add-on list gave. It does NOT add it: the answer gives a one-time page address for the guest to open in the browser signed in to their account, where they see the add-on, the price, the total and the booking, and press confirm themselves. Pass that link on; never say the add-on was added until the guest has confirmed it and the booking says so. It checks the id, the details and the price again as it prepares, and refuses a booking that is not theirs or is over.";
1063
+ readonly annotations: {
1064
+ readonly title: string;
1065
+ readonly readOnlyHint: false;
1066
+ readonly destructiveHint: false;
1067
+ readonly idempotentHint: false;
1068
+ readonly openWorldHint: boolean;
1069
+ };
1070
+ readonly inputSchema: {
1071
+ readonly type: "object";
1072
+ readonly properties: {
1073
+ readonly booking: {
1074
+ readonly type: "string";
1075
+ readonly description: "The confirmation code or order id, as the booking answer gave it";
1076
+ };
1077
+ readonly addon: {
1078
+ readonly type: "string";
1079
+ readonly description: "The add-on id, as the add-on list gave it";
1080
+ };
1081
+ readonly direction: {
1082
+ readonly type: "string";
1083
+ readonly enum: readonly ["arrival", "departure", "round_trip"];
1084
+ readonly description: "For a transfer: to the hotel, from it, or both";
1085
+ };
1086
+ readonly flightNo: {
1087
+ readonly type: "string";
1088
+ readonly description: "For a transfer: the flight number, e.g. MU5101";
1089
+ };
1090
+ readonly pickupTime: {
1091
+ readonly type: "string";
1092
+ readonly description: "For a transfer: the pick-up time, HH:MM";
1093
+ };
1094
+ readonly date: {
1095
+ readonly type: "string";
1096
+ readonly description: "The date it is for, YYYY-MM-DD";
1097
+ };
1098
+ readonly quantity: {
1099
+ readonly type: "integer";
1100
+ readonly minimum: 1;
1101
+ readonly maximum: 10;
1102
+ readonly description: "How many, 1 to 10, for an add-on that is bought by the piece. Default 1";
1103
+ };
1104
+ readonly partySize: {
1105
+ readonly type: "integer";
1106
+ readonly minimum: 1;
1107
+ readonly maximum: 10;
1108
+ readonly description: "For a transfer: how many passengers, 1 to 10. Default 1";
1109
+ };
1110
+ };
1111
+ readonly required: readonly ["booking", "addon"];
1112
+ };
1113
+ }, ...({
1114
+ name: string;
1115
+ description: string;
1116
+ annotations: {
1117
+ readonly title: string;
1118
+ readonly readOnlyHint: true;
1119
+ readonly destructiveHint: false;
1120
+ readonly idempotentHint: true;
1121
+ readonly openWorldHint: boolean;
1122
+ };
1123
+ inputSchema: {
1124
+ type: string;
1125
+ properties: {
1126
+ query: {
1127
+ type: string;
1128
+ description: string;
1129
+ };
1130
+ category: {
1131
+ type: string;
1132
+ description: string;
1133
+ };
1134
+ maxPrice: {
1135
+ type: string;
1136
+ minimum: number;
1137
+ description: string;
1138
+ };
1139
+ item: {
1140
+ type: string;
1141
+ description: string;
1142
+ };
1143
+ option?: undefined;
1144
+ quantity?: undefined;
1145
+ booking?: undefined;
1146
+ unitPrice?: undefined;
1147
+ currency?: undefined;
1148
+ action?: undefined;
1149
+ catalogId?: undefined;
1150
+ direction?: undefined;
1151
+ flightNo?: undefined;
1152
+ pickupTime?: undefined;
1153
+ date?: undefined;
1154
+ partySize?: undefined;
1155
+ shownTotal?: undefined;
1156
+ order?: undefined;
1157
+ shownUnit?: undefined;
1158
+ press?: undefined;
1159
+ };
1160
+ required?: undefined;
1161
+ };
1162
+ } | {
1163
+ name: string;
1164
+ description: string;
1165
+ annotations: {
1166
+ readonly title: string;
1167
+ readonly readOnlyHint: true;
1168
+ readonly destructiveHint: false;
1169
+ readonly idempotentHint: true;
1170
+ readonly openWorldHint: boolean;
1171
+ };
1172
+ inputSchema: {
1173
+ type: string;
1174
+ properties: {
1175
+ query?: undefined;
1176
+ category?: undefined;
1177
+ maxPrice?: undefined;
1178
+ item?: undefined;
1179
+ option?: undefined;
1180
+ quantity?: undefined;
1181
+ booking?: undefined;
1182
+ unitPrice?: undefined;
1183
+ currency?: undefined;
1184
+ action?: undefined;
1185
+ catalogId?: undefined;
1186
+ direction?: undefined;
1187
+ flightNo?: undefined;
1188
+ pickupTime?: undefined;
1189
+ date?: undefined;
1190
+ partySize?: undefined;
1191
+ shownTotal?: undefined;
1192
+ order?: undefined;
1193
+ shownUnit?: undefined;
1194
+ press?: undefined;
1195
+ };
1196
+ required?: undefined;
1197
+ };
1198
+ } | {
1199
+ name: string;
1200
+ description: string;
1201
+ annotations: {
1202
+ readonly title: string;
1203
+ readonly readOnlyHint: false;
1204
+ readonly destructiveHint: false;
1205
+ readonly idempotentHint: false;
1206
+ readonly openWorldHint: boolean;
1207
+ };
1208
+ inputSchema: {
1209
+ type: string;
1210
+ properties: {
1211
+ item: {
1212
+ type: string;
1213
+ description: string;
1214
+ };
1215
+ option: {
1216
+ type: string;
1217
+ description: string;
1218
+ };
1219
+ quantity: {
1220
+ type: string;
1221
+ minimum: number;
1222
+ maximum: number;
1223
+ description: string;
1224
+ };
1225
+ booking: {
1226
+ type: string;
1227
+ description: string;
1228
+ };
1229
+ unitPrice: {
1230
+ type: string;
1231
+ exclusiveMinimum: number;
1232
+ description: string;
1233
+ };
1234
+ currency: {
1235
+ type: string;
1236
+ description: string;
1237
+ };
1238
+ query?: undefined;
1239
+ category?: undefined;
1240
+ maxPrice?: undefined;
1241
+ action?: undefined;
1242
+ catalogId?: undefined;
1243
+ direction?: undefined;
1244
+ flightNo?: undefined;
1245
+ pickupTime?: undefined;
1246
+ date?: undefined;
1247
+ partySize?: undefined;
1248
+ shownTotal?: undefined;
1249
+ order?: undefined;
1250
+ shownUnit?: undefined;
1251
+ press?: undefined;
1252
+ };
1253
+ required: string[];
1254
+ };
1255
+ } | {
1256
+ name: string;
1257
+ description: string;
1258
+ annotations: {
1259
+ readonly title: string;
1260
+ readonly readOnlyHint: false;
1261
+ readonly destructiveHint: true;
1262
+ readonly idempotentHint: false;
1263
+ readonly openWorldHint: boolean;
1264
+ };
1265
+ inputSchema: {
1266
+ type: string;
1267
+ properties: {
1268
+ action: {
1269
+ type: string;
1270
+ enum: string[];
1271
+ };
1272
+ booking: {
1273
+ type: string;
1274
+ description: string;
1275
+ };
1276
+ catalogId: {
1277
+ type: string;
1278
+ description: string;
1279
+ };
1280
+ direction: {
1281
+ type: string;
1282
+ enum: string[];
1283
+ };
1284
+ flightNo: {
1285
+ type: string;
1286
+ };
1287
+ pickupTime: {
1288
+ type: string;
1289
+ description: string;
1290
+ };
1291
+ date: {
1292
+ type: string;
1293
+ description: string;
1294
+ };
1295
+ quantity: {
1296
+ type: string;
1297
+ minimum: number;
1298
+ maximum: number;
1299
+ description?: undefined;
1300
+ };
1301
+ partySize: {
1302
+ type: string;
1303
+ minimum: number;
1304
+ maximum: number;
1305
+ };
1306
+ shownTotal: {
1307
+ type: string;
1308
+ description: string;
1309
+ };
1310
+ currency: {
1311
+ type: string;
1312
+ description: string;
1313
+ };
1314
+ item: {
1315
+ type: string;
1316
+ description: string;
1317
+ };
1318
+ order: {
1319
+ type: string;
1320
+ description: string;
1321
+ };
1322
+ option: {
1323
+ type: string;
1324
+ description: string;
1325
+ };
1326
+ shownUnit: {
1327
+ type: string;
1328
+ description: string;
1329
+ };
1330
+ press: {
1331
+ type: string;
1332
+ description: string;
1333
+ };
1334
+ query?: undefined;
1335
+ category?: undefined;
1336
+ maxPrice?: undefined;
1337
+ unitPrice?: undefined;
1338
+ };
1339
+ required: string[];
1340
+ };
1341
+ })[]];
1342
+ //# sourceMappingURL=all-tools.d.ts.map