@zimmerstack/connect 0.5.0 → 0.7.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/AGENTS.md CHANGED
@@ -108,7 +108,7 @@ https://docs.zimmerstack.com/llms-full.txt
108
108
  - `zs.channels.setModifier(channelId, steps)` moves EVERY price sent to that channel from then on.
109
109
  Call it only when a person saved that setting on a screen. Never from a loop, a timer, a seed
110
110
  script or a test against a live key. A hotel may change modifiers 6 times a day.
111
- - A modifier applies to prices sent to the channel after the change. Prices already on the channel stay as they are until those nights are sent again.
111
+ - Saving a modifier makes the channel manager send that channel every date again, so prices already on the channel move to the new rule within minutes.
112
112
  Show that sentence where the person saves (`MODIFIER_TAKES_EFFECT`), and offer
113
113
  `zs.rates.resend()` as a separate, deliberate button ("Apply to nights already on sale"): 3 a day
114
114
  per hotel, never automatic.
@@ -118,10 +118,16 @@ https://docs.zimmerstack.com/llms-full.txt
118
118
  ## Website bookings: apply them before you push room counts
119
119
 
120
120
  - When the hotel also sells on its own website through ZimmerStack's booking engine, those bookings
121
- reach you as the webhooks `direct.booking.created` and `direct.booking.cancelled` (the endpoint must
122
- list those two types) and by `zs.directBookings.all({ since })` (scope `direct-bookings:read`). They
123
- are not OTA bookings: `isWebsiteBookingEvent(event)` tells them apart, `channel.otaName` is `"Website"`
124
- and `finance` is null. There is no modified event.
121
+ reach you as the webhooks `direct.booking.created`, `direct.booking.modified` and
122
+ `direct.booking.cancelled` (the endpoint receives each only when it lists that type) and by
123
+ `zs.directBookings.all({ since })` (scope `direct-bookings:read`). They are not OTA bookings:
124
+ `isWebsiteBookingEvent(event)` tells them apart, `channel.otaName` is `"Website"` and `finance` is null.
125
+ - `direct.booking.modified` is a no-show and its undo, nothing else yet: the hotel recorded that the guest
126
+ did not arrive, or undid that. It is NOT a cancellation: `status` stays CONFIRMED and the payment is
127
+ untouched, so never refund on it. Read `stayStatus` and each room's `status`: NOSHOW gives the nights
128
+ back (they are on sale again on every channel), UPCOMING again holds them. `changes` names what moved
129
+ (`"stayStatus"`, `"rooms[0].status"`); `previous` is the booking as it read before, `stayStatus`
130
+ included. The sandbox does not simulate one: the endpoint's Test button sends the sample.
125
131
  - A website booking takes one room off the count the channels hold, at once. A PMS that pushes absolute
126
132
  room counts must apply the booking to its own calendar BEFORE its next `zs.availability.set` or
127
133
  `zs.grid.save`, or that push puts the sold room back on sale. Read `zs.directBookings.all` before a
package/README.md CHANGED
@@ -6,14 +6,17 @@ back to you.
6
6
 
7
7
  - **Free to build.** You get a practice hotel the moment you sign up. Nothing you do there reaches a
8
8
  real booking site.
9
- - **One public price.** A fixed price for each live property a month, on one invoice. You accept it in
10
- the partner portal. No call needed: <https://docs.zimmerstack.com/pricing>
9
+ - **Public prices.** A fixed price for each live property a month, on one invoice. A partner in India
10
+ pays the price plus GST. A partner outside India pays its own price, with nothing added. You accept
11
+ it in the partner portal. Going live has a one-time onboarding fee of $50, paid once in the portal
12
+ before your live key. No call needed: <https://docs.zimmerstack.com/pricing>
11
13
  - **Made for AI coding tools.** The package carries its own rules file and a helper your coding agent
12
14
  can ask. See [For AI coding agents](#for-ai-coding-agents).
13
15
 
14
16
  [Docs](https://docs.zimmerstack.com) · [Quickstart](https://docs.zimmerstack.com/quickstart) ·
15
17
  [Pricing](https://docs.zimmerstack.com/pricing) · [Partner portal](https://partner.zimmerstack.com/login) ·
16
18
  [Starter app](https://github.com/zimmerstack/connect-starter) ·
19
+ [Source](https://github.com/zimmerstack/connect-node) ·
17
20
  [Changelog](https://docs.zimmerstack.com/changelog) · <support@zimmerstack.com>
18
21
 
19
22
  ## Start in five minutes
@@ -172,7 +175,7 @@ export async function POST(request: Request) {
172
175
  const event = await verifyWebhook(await request.text(), request.headers, process.env.ZIMMERSTACK_WEBHOOK_SECRET!);
173
176
  // A message can arrive twice. Remember event.id and skip one you have seen.
174
177
  if (isOtaBookingEvent(event)) await save(event.data.booking); // a booking site: created, modified, cancelled
175
- if (isWebsiteBookingEvent(event)) await applyToMyCalendar(event.data.booking); // the hotel's own website
178
+ if (isWebsiteBookingEvent(event)) await applyToMyCalendar(event.data.booking); // the hotel's own website: created, a no-show, cancelled
176
179
  return new Response(null, { status: 204 });
177
180
  }
178
181
  ```
@@ -191,6 +194,13 @@ No database yet? Read the bookings back any time with `zs.channelBookings.list()
191
194
  your server was down, `zs.channelBookings.all({ since })` gives every booking changed since a time you
192
195
  choose.
193
196
 
197
+ Hotels outside India (from 0.7.0): a booking carries `taxes`, the hotel's own tax lines, wherever the
198
+ hotel has confirmed them. When a booking site sends a booking in another currency than the hotel's,
199
+ `amounts.receivedCurrency` names it; the amounts are as the site sent them, never converted. At such a
200
+ hotel `zs.bookings.create` also takes `nightlyRateIncludesTaxes`; `false` is refused with
201
+ `TAXES_NOT_CONFIGURED` where the hotel has confirmed no lines, and `TAXES_INSIDE_RATES` where all its
202
+ taxes sit inside its prices.
203
+
194
204
  Guide: <https://docs.zimmerstack.com/webhooks>
195
205
 
196
206
  ## A different price on each booking site
@@ -213,10 +223,11 @@ await zs.channels.setModifier(booking.channelId, [
213
223
  channelPrice(4500, booking.modifier ?? []); // what Booking.com is sent for 4,500. Show it beside your calendar.
214
224
  ```
215
225
 
216
- A modifier changes prices sent after you save it. Prices already on the booking site stay until those
217
- nights are sent again. `MODIFIER_TAKES_EFFECT` is that sentence, ready to show where a person saves.
218
- `zs.rates.resend()` sends the nights again, unchanged. A hotel may ask a few times a day, so make it a
219
- button of its own.
226
+ `MODIFIER_TAKES_EFFECT` is the sentence to show where a person saves one: saving makes the channel
227
+ manager send that channel every date again, so prices already on sale move to the new rule within
228
+ minutes. No re-send is needed. `zs.rates.resend()` stays for the rare case where you want our
229
+ record's prices sent again, unchanged; a hotel may ask a few times a day, so never call it
230
+ automatically.
220
231
 
221
232
  One call to `zs.channels.setModifier()` moves every price on that booking site. Call it when a person
222
233
  saved the setting. Never from a loop, a timer or a set-up script.
@@ -288,12 +299,26 @@ Guide: <https://docs.zimmerstack.com/hotels>
288
299
  Some hotels sell on their own website through ZimmerStack's booking engine and keep your software as
289
300
  their PMS. Those bookings reach you in two ways:
290
301
 
291
- - the webhooks `direct.booking.created` and `direct.booking.cancelled` (your address must list both);
302
+ - the webhooks `direct.booking.created`, `direct.booking.modified` and `direct.booking.cancelled` (your
303
+ address receives each one only when it lists that type);
292
304
  - `zs.directBookings.list()` and `zs.directBookings.all({ since })`, with the permission
293
305
  `direct-bookings:read`.
294
306
 
295
307
  The booking looks like a booking site's booking. `channel.otaName` is `"Website"`, `finance` is null and
296
- `amounts.paid` is what the guest paid online. There is no "modified" message.
308
+ `amounts.paid` is what the guest paid online.
309
+
310
+ `direct.booking.modified` (from 0.6.0) tells you about a **no-show**: the hotel recorded that the guest did
311
+ not arrive, or undid that. A no-show is not a cancellation. `status` stays `CONFIRMED` and the payment is
312
+ untouched, so refund nothing. Read `stayStatus`:
313
+
314
+ - `NOSHOW`: the nights are on sale again on every booking site. Free the room in your own calendar.
315
+ - `UPCOMING` again: the hotel undid the no-show. Hold the room.
316
+
317
+ `changes` names what moved (`"stayStatus"`, `"rooms[0].status"`) and `previous` is the booking as it read
318
+ before. Nothing else sends this message yet: other dates, one room of several cancelled or a payment taken
319
+ at the desk still send none, so read `zs.directBookings.all({ since })` on a slow schedule too. An address
320
+ that listed the other two types before 21 Nov 2026 keeps receiving exactly those two until its owner ticks
321
+ the third.
297
322
 
298
323
  **Apply a website booking to your own calendar before you next send room counts.** The booking takes
299
324
  one room off the count the booking sites hold. If you then send your old count, that room goes back on
@@ -325,7 +350,8 @@ answers `replay: true` and moves no money. Your own cancel comes back to you as
325
350
  own cancel button, never from a background job.
326
351
 
327
352
  To try it with a test key, call `zs.sandbox.bookings.create({ …, otaName: "Website" })` and then cancel
328
- that booking. The nights come back and no money moves.
353
+ that booking. The nights come back and no money moves. A test key cannot pretend a no-show: press Test on
354
+ your address and choose `direct.booking.modified` to receive its sample.
329
355
 
330
356
  Guide: <https://docs.zimmerstack.com/website-bookings>
331
357
 
@@ -461,5 +487,6 @@ More words: <https://docs.zimmerstack.com/glossary>
461
487
  | <https://www.zimmerstack.com/partners/pms-companies#join> | Sign up, free |
462
488
  | <https://partner.zimmerstack.com/login> | The partner portal: your practice hotels, keys, webhooks, hotels and bills |
463
489
  | <https://github.com/zimmerstack/connect-starter> | A working app to start from, with a Deploy button |
490
+ | <https://github.com/zimmerstack/connect-node> | This package's source, copied at every release |
464
491
  | <https://docs.zimmerstack.com/changelog> | What changed, and when |
465
492
  | <support@zimmerstack.com> | Questions, from any time zone. Answered within one working day. |
@@ -330,9 +330,9 @@ export declare class ZimmerStack {
330
330
  * Replace a channel's modifier with these steps (`[]` removes it). Needs the scope
331
331
  * channel-modifiers:write.
332
332
  *
333
- * ONE CALL MOVES EVERY PRICE SENT TO THAT CHANNEL FROM THEN ON. Call it when a person saved the
334
- * setting; never from a loop, a timer or a test against a live key. Prices already on the channel
335
- * stay as they are until those nights are sent again (`rates.resend`).
333
+ * ONE CALL MOVES EVERY PRICE ON THAT CHANNEL. Call it when a person saved the setting; never from
334
+ * a loop, a timer or a test against a live key. The channel manager then sends that channel every
335
+ * date again, so prices already on sale move within minutes; no `rates.resend` is needed.
336
336
  */
337
337
  setModifier: (channelId: string, steps: ModifierStep[], options?: WriteOptions) => Promise<ModifierResult>;
338
338
  };
@@ -362,7 +362,7 @@ export declare class ZimmerStack {
362
362
  };
363
363
  readonly directBookings: {
364
364
  /**
365
- * Website bookings, in the webhook's shape (`direct.booking.*`), cancellations included. Scope
365
+ * Website bookings, in the webhook's shape (`direct.booking.*`), cancellations and no-shows included. Scope
366
366
  * `direct-bookings:read`. Follow `nextCursor`, or use `all`.
367
367
  */
368
368
  list: (query?: Op<"GET /direct-bookings">["query"], options?: ReadOptions) => Promise<import("./generated.js").ChannelBookingsList>;
@@ -697,9 +697,9 @@ class ZimmerStack {
697
697
  * Replace a channel's modifier with these steps (`[]` removes it). Needs the scope
698
698
  * channel-modifiers:write.
699
699
  *
700
- * ONE CALL MOVES EVERY PRICE SENT TO THAT CHANNEL FROM THEN ON. Call it when a person saved the
701
- * setting; never from a loop, a timer or a test against a live key. Prices already on the channel
702
- * stay as they are until those nights are sent again (`rates.resend`).
700
+ * ONE CALL MOVES EVERY PRICE ON THAT CHANNEL. Call it when a person saved the setting; never from
701
+ * a loop, a timer or a test against a live key. The channel manager then sends that channel every
702
+ * date again, so prices already on sale move within minutes; no `rates.resend` is needed.
703
703
  */
704
704
  setModifier: (channelId, steps, options) => this.request("PUT /channels/{channelId}/modifier", { path: { channelId }, body: { steps }, ...options }),
705
705
  };
@@ -732,7 +732,7 @@ class ZimmerStack {
732
732
  /* ── bookings guests made on the hotel's own website (our booking engine) ── */
733
733
  directBookings = {
734
734
  /**
735
- * Website bookings, in the webhook's shape (`direct.booking.*`), cancellations included. Scope
735
+ * Website bookings, in the webhook's shape (`direct.booking.*`), cancellations and no-shows included. Scope
736
736
  * `direct-bookings:read`. Follow `nextCursor`, or use `all`.
737
737
  */
738
738
  list: (query, options) => this.request("GET /direct-bookings", { query, ...options }),
@@ -1,5 +1,5 @@
1
1
  /** This package's version, sent as the user agent so ZimmerStack can tell which client a request came from. */
2
- export declare const SDK_VERSION = "0.5.0";
2
+ export declare const SDK_VERSION = "0.7.0";
3
3
  /** Where the API lives. The key is sent nowhere else. */
4
4
  export declare const API_ORIGIN = "https://api.zimmerstack.com";
5
5
  export declare const API_PREFIX = "/api/v1/connect-api/v1";
@@ -27,19 +27,19 @@ export declare const LIMITS: {
27
27
  readonly maxNightsPerBooking: 90;
28
28
  };
29
29
  /** Every stable error code (`error.code`). Messages are for people and may change; branch on these. */
30
- export declare const ERROR_CODES: readonly ["API_KEY_INVALID", "API_KEY_REVOKED", "API_KEY_EXPIRED", "CONNECT_API_NOT_CONFIGURED", "IP_NOT_ALLOWED", "SCOPE_MISSING", "PROPERTY_UNAVAILABLE", "CHANNEL_MANAGER_DISABLED", "PMS_NOT_AVAILABLE", "VALIDATION", "RANGE_INVALID", "HORIZON", "TOO_MANY_UPDATES", "TOO_MANY_CELLS", "UNKNOWN_ROOM_TYPE", "UNKNOWN_RATE_PLAN", "CURRENCY_MISMATCH", "RATE_LIMITED", "NOTHING_ACCEPTED", "BATCH_NOT_FOUND", "IDEMPOTENCY_KEY_INVALID", "IDEMPOTENCY_KEY_REUSED", "IDEMPOTENCY_IN_FLIGHT", "STAY_INVALID", "UNKNOWN_ROOM_TYPE_FOR_PLAN", "OCCUPANCY_EXCEEDED", "NO_AVAILABILITY", "EXTERNAL_REFERENCE_REUSED", "PAYMENT_NOT_ALLOWED", "PAYMENT_EXCEEDS_TOTAL", "BOOKING_NOT_FOUND", "BOOKING_NOT_CANCELLABLE", "MODULE_NOT_ENTITLED", "SANDBOX_ONLY", "ROOM_TYPE_NOT_FOUND", "RATE_PLAN_NOT_FOUND", "CATALOG_CONFLICT", "CATALOG_BUSY", "CHANNEL_MANAGER_ERROR", "PROPERTY_REQUIRED", "PROPERTY_NOT_FOUND", "ARI_NOT_AUTHORITATIVE", "ROUTE_NOT_FOUND", "PAYLOAD_TOO_LARGE", "AUTH_BACKEND_UNAVAILABLE", "BOOKING_NOT_MODIFIABLE", "SANDBOX_NOT_FOUND", "SANDBOX_INCOMPLETE", "WRITES_FROZEN", "WRITES_SUSPENDED", "SHIELD_UNAVAILABLE", "CATALOG_LIMIT_REACHED", "TOO_MANY_NEW_ENTITIES", "RATE_OUT_OF_BAND", "CHANNEL_NOT_FOUND", "CHANNEL_SHARED", "MODIFIER_OUT_OF_BAND", "COMPANY_KEY_REQUIRED", "BILLING_SETUP_REQUIRED", "OWNER_HAS_ACCOUNT", "SANDBOX_LIMIT", "CONFIRMATION_MISMATCH", "PROPERTY_NOT_REMOVABLE", "PROPERTY_BUSY", "PRICE_UNAVAILABLE"];
30
+ export declare const ERROR_CODES: readonly ["API_KEY_INVALID", "API_KEY_REVOKED", "API_KEY_EXPIRED", "CONNECT_API_NOT_CONFIGURED", "IP_NOT_ALLOWED", "SCOPE_MISSING", "PROPERTY_UNAVAILABLE", "CHANNEL_MANAGER_DISABLED", "PMS_NOT_AVAILABLE", "VALIDATION", "RANGE_INVALID", "HORIZON", "TOO_MANY_UPDATES", "TOO_MANY_CELLS", "UNKNOWN_ROOM_TYPE", "UNKNOWN_RATE_PLAN", "CURRENCY_MISMATCH", "RATE_LIMITED", "NOTHING_ACCEPTED", "BATCH_NOT_FOUND", "IDEMPOTENCY_KEY_INVALID", "IDEMPOTENCY_KEY_REUSED", "IDEMPOTENCY_IN_FLIGHT", "STAY_INVALID", "UNKNOWN_ROOM_TYPE_FOR_PLAN", "OCCUPANCY_EXCEEDED", "NO_AVAILABILITY", "EXTERNAL_REFERENCE_REUSED", "PAYMENT_NOT_ALLOWED", "PAYMENT_EXCEEDS_TOTAL", "TAXES_NOT_CONFIGURED", "TAXES_INSIDE_RATES", "BOOKING_NOT_FOUND", "BOOKING_NOT_CANCELLABLE", "MODULE_NOT_ENTITLED", "SANDBOX_ONLY", "ROOM_TYPE_NOT_FOUND", "RATE_PLAN_NOT_FOUND", "CATALOG_CONFLICT", "CATALOG_BUSY", "CHANNEL_MANAGER_ERROR", "PROPERTY_REQUIRED", "PROPERTY_NOT_FOUND", "ARI_NOT_AUTHORITATIVE", "ROUTE_NOT_FOUND", "PAYLOAD_TOO_LARGE", "AUTH_BACKEND_UNAVAILABLE", "BOOKING_NOT_MODIFIABLE", "SANDBOX_NOT_FOUND", "SANDBOX_INCOMPLETE", "WRITES_FROZEN", "WRITES_SUSPENDED", "SHIELD_UNAVAILABLE", "CATALOG_LIMIT_REACHED", "TOO_MANY_NEW_ENTITIES", "RATE_OUT_OF_BAND", "CHANNEL_NOT_FOUND", "CHANNEL_SHARED", "MODIFIER_OUT_OF_BAND", "COMPANY_KEY_REQUIRED", "BILLING_SETUP_REQUIRED", "OWNER_HAS_ACCOUNT", "SANDBOX_LIMIT", "CONFIRMATION_MISMATCH", "PROPERTY_NOT_REMOVABLE", "PROPERTY_BUSY", "PRICE_UNAVAILABLE"];
31
31
  export type ErrorCode = (typeof ERROR_CODES)[number];
32
32
  /** What a key may do. The hotel's owner (or, for a vendor's key, the vendor) chose them when the key was made. */
33
33
  export declare const SCOPES: readonly ["ari:read", "ari:write", "catalog:write", "channel-modifiers:write", "channel-bookings:read", "direct-bookings:read", "direct-bookings:cancel", "bookings:read", "bookings:write", "bookings:payments", "properties:write"];
34
34
  export type Scope = (typeof SCOPES)[number];
35
35
  /** When a channel's price modifier takes effect. Show it where a person saves one. */
36
- export declare const MODIFIER_TAKES_EFFECT = "A modifier applies to prices sent to the channel after the change. Prices already on the channel stay as they are until those nights are sent again.";
36
+ export declare const MODIFIER_TAKES_EFFECT = "Saving a modifier makes the channel manager send that channel every date again, so prices already on the channel move to the new rule within minutes.";
37
37
  export interface Error {
38
38
  statuscode: number;
39
39
  /** Human-readable, may change; branch on data.code */
40
40
  message: string;
41
41
  data: {
42
- code: "API_KEY_INVALID" | "API_KEY_REVOKED" | "API_KEY_EXPIRED" | "CONNECT_API_NOT_CONFIGURED" | "IP_NOT_ALLOWED" | "SCOPE_MISSING" | "PROPERTY_UNAVAILABLE" | "CHANNEL_MANAGER_DISABLED" | "PMS_NOT_AVAILABLE" | "VALIDATION" | "RANGE_INVALID" | "HORIZON" | "TOO_MANY_UPDATES" | "TOO_MANY_CELLS" | "UNKNOWN_ROOM_TYPE" | "UNKNOWN_RATE_PLAN" | "CURRENCY_MISMATCH" | "RATE_LIMITED" | "NOTHING_ACCEPTED" | "BATCH_NOT_FOUND" | "IDEMPOTENCY_KEY_INVALID" | "IDEMPOTENCY_KEY_REUSED" | "IDEMPOTENCY_IN_FLIGHT" | "STAY_INVALID" | "UNKNOWN_ROOM_TYPE_FOR_PLAN" | "OCCUPANCY_EXCEEDED" | "NO_AVAILABILITY" | "EXTERNAL_REFERENCE_REUSED" | "PAYMENT_NOT_ALLOWED" | "PAYMENT_EXCEEDS_TOTAL" | "BOOKING_NOT_FOUND" | "BOOKING_NOT_CANCELLABLE" | "MODULE_NOT_ENTITLED" | "SANDBOX_ONLY" | "ROOM_TYPE_NOT_FOUND" | "RATE_PLAN_NOT_FOUND" | "CATALOG_CONFLICT" | "CATALOG_BUSY" | "CHANNEL_MANAGER_ERROR" | "PROPERTY_REQUIRED" | "PROPERTY_NOT_FOUND" | "ARI_NOT_AUTHORITATIVE" | "ROUTE_NOT_FOUND" | "PAYLOAD_TOO_LARGE" | "AUTH_BACKEND_UNAVAILABLE" | "BOOKING_NOT_MODIFIABLE" | "SANDBOX_NOT_FOUND" | "SANDBOX_INCOMPLETE" | "WRITES_FROZEN" | "WRITES_SUSPENDED" | "SHIELD_UNAVAILABLE" | "CATALOG_LIMIT_REACHED" | "TOO_MANY_NEW_ENTITIES" | "RATE_OUT_OF_BAND" | "CHANNEL_NOT_FOUND" | "CHANNEL_SHARED" | "MODIFIER_OUT_OF_BAND" | "COMPANY_KEY_REQUIRED" | "BILLING_SETUP_REQUIRED" | "OWNER_HAS_ACCOUNT" | "SANDBOX_LIMIT" | "CONFIRMATION_MISMATCH" | "PROPERTY_NOT_REMOVABLE" | "PROPERTY_BUSY" | "PRICE_UNAVAILABLE";
42
+ code: "API_KEY_INVALID" | "API_KEY_REVOKED" | "API_KEY_EXPIRED" | "CONNECT_API_NOT_CONFIGURED" | "IP_NOT_ALLOWED" | "SCOPE_MISSING" | "PROPERTY_UNAVAILABLE" | "CHANNEL_MANAGER_DISABLED" | "PMS_NOT_AVAILABLE" | "VALIDATION" | "RANGE_INVALID" | "HORIZON" | "TOO_MANY_UPDATES" | "TOO_MANY_CELLS" | "UNKNOWN_ROOM_TYPE" | "UNKNOWN_RATE_PLAN" | "CURRENCY_MISMATCH" | "RATE_LIMITED" | "NOTHING_ACCEPTED" | "BATCH_NOT_FOUND" | "IDEMPOTENCY_KEY_INVALID" | "IDEMPOTENCY_KEY_REUSED" | "IDEMPOTENCY_IN_FLIGHT" | "STAY_INVALID" | "UNKNOWN_ROOM_TYPE_FOR_PLAN" | "OCCUPANCY_EXCEEDED" | "NO_AVAILABILITY" | "EXTERNAL_REFERENCE_REUSED" | "PAYMENT_NOT_ALLOWED" | "PAYMENT_EXCEEDS_TOTAL" | "TAXES_NOT_CONFIGURED" | "TAXES_INSIDE_RATES" | "BOOKING_NOT_FOUND" | "BOOKING_NOT_CANCELLABLE" | "MODULE_NOT_ENTITLED" | "SANDBOX_ONLY" | "ROOM_TYPE_NOT_FOUND" | "RATE_PLAN_NOT_FOUND" | "CATALOG_CONFLICT" | "CATALOG_BUSY" | "CHANNEL_MANAGER_ERROR" | "PROPERTY_REQUIRED" | "PROPERTY_NOT_FOUND" | "ARI_NOT_AUTHORITATIVE" | "ROUTE_NOT_FOUND" | "PAYLOAD_TOO_LARGE" | "AUTH_BACKEND_UNAVAILABLE" | "BOOKING_NOT_MODIFIABLE" | "SANDBOX_NOT_FOUND" | "SANDBOX_INCOMPLETE" | "WRITES_FROZEN" | "WRITES_SUSPENDED" | "SHIELD_UNAVAILABLE" | "CATALOG_LIMIT_REACHED" | "TOO_MANY_NEW_ENTITIES" | "RATE_OUT_OF_BAND" | "CHANNEL_NOT_FOUND" | "CHANNEL_SHARED" | "MODIFIER_OUT_OF_BAND" | "COMPANY_KEY_REQUIRED" | "BILLING_SETUP_REQUIRED" | "OWNER_HAS_ACCOUNT" | "SANDBOX_LIMIT" | "CONFIRMATION_MISMATCH" | "PROPERTY_NOT_REMOVABLE" | "PROPERTY_BUSY" | "PRICE_UNAVAILABLE";
43
43
  details?: unknown;
44
44
  };
45
45
  }
@@ -259,7 +259,7 @@ export interface RoomTypesUpsert {
259
259
  ref: string;
260
260
  /** Shown to the owner and sent to the channel manager as the title */
261
261
  name: string;
262
- /** Sellable rooms of this type. On a channel-manager-only hotel a later change is written too, to the channel manager first (its count caps what the channels sell); a count below the rooms holding upcoming stays is refused. On a hotel that runs our PMS the count comes from its room list and a different value is not written (the answer's notice says so) */
262
+ /** Sellable rooms of this type. On a channel-manager-only hotel a later change is written too, to the channel manager first; a count below the rooms holding upcoming stays is refused. The count does not cap a night: an availability above it is accepted with a warning, reaches the booking sites, and is what a price by rooms counts for that month. On a hotel that runs our PMS the count comes from its room list and a different value is not written (the answer's notice says so) */
263
263
  roomCount: number;
264
264
  /** Most adults one room takes */
265
265
  adults: number;
@@ -373,7 +373,7 @@ export interface RatesWrite {
373
373
  /** Hotel-local calendar date, YYYY-MM-DD */
374
374
  dateTo: string;
375
375
  days?: Array<"mo" | "tu" | "we" | "th" | "fr" | "sa" | "su">;
376
- /** Nightly sell price in MAJOR units (e.g. 4500 or "4500.00"), 1 to 21474836; rounded to a whole major unit */
376
+ /** Nightly sell price in MAJOR units (e.g. 4500 or "4500.00"), 1 to 21474836; rounded to a whole major unit for a property selling in rupees or in a currency without cents, kept to the cent otherwise (e.g. "89.50" in euros) */
377
377
  rate: number | string;
378
378
  /** ISO 4217; must equal the property's currency (GET /property) */
379
379
  currency: string;
@@ -552,6 +552,8 @@ export interface BookingCreate {
552
552
  /** The nightly price YOU charged for this room, MAJOR units (e.g. 4500 or "4500.00"), 1 to 21474836, taxes as you sold them */
553
553
  nightlyRate: number | string;
554
554
  }>;
555
+ /** How to read nightlyRate at a hotel outside India that has confirmed its tax lines. true (the default): the rate is what the guest paid online; it is split into the hotel's lines and totalAmount does not move, except for a line the hotel collects at the property itself (a city tax per person), which is added and paid at the hotel. false: the rate is as the hotel sells it at its desk; the lines the hotel adds on top are added and totalAmount grows, while lines the hotel keeps inside its prices stay inside. Read totalAmount and taxes in the answer. false is refused with 409 TAXES_NOT_CONFIGURED at a hotel with no confirmed lines (every hotel in India) and with 409 TAXES_INSIDE_RATES at a hotel that adds nothing on top; true, or omitting the field, changes nothing at a hotel with no confirmed lines */
556
+ nightlyRateIncludesTaxes?: boolean;
555
557
  /** Omit when nothing was collected; an amount above 0 needs the bookings:payments scope */
556
558
  payment?: {
557
559
  /** What you collected so far, MAJOR units; 0 = nothing collected (pay at hotel); never more than the stay's total */
@@ -618,6 +620,28 @@ export interface Booking {
618
620
  replay: boolean;
619
621
  createdAt: string;
620
622
  cancelledAt: string | null;
623
+ /** The hotel's own tax lines on this booking. Present only where the hotel has confirmed them (outside India); absent on every other booking */
624
+ taxes?: {
625
+ /** How the nightly rate was read when the booking was made: true = it was split into the lines; false = lines the hotel adds on top were added to the total */
626
+ nightlyRateIncludesTaxes: boolean;
627
+ /** The hotel's own tax lines on this booking, in the order the hotel applies them */
628
+ lines: Array<{
629
+ /** The line's filing code as the hotel set it up (for example TH-VAT) */
630
+ code: string;
631
+ /** The line's name as the hotel's bill prints it */
632
+ name: string;
633
+ /** TAX is owed to an authority; FEE is the hotel's own charge (a service charge); PASS_THROUGH is held for someone else */
634
+ kind: "TAX" | "FEE" | "PASS_THROUGH";
635
+ /** true: inside the nightly rate; false: added on top of it */
636
+ includedInRate: boolean;
637
+ /** MAJOR units, two decimals, for the whole stay; 0.00 when the desk waived the line */
638
+ amount: string;
639
+ }>;
640
+ /** MAJOR units, two decimals: the part of the lines that sits inside the nightly rates */
641
+ includedInRates: string;
642
+ /** MAJOR units, two decimals: the part of the lines added on top; already inside totalAmount */
643
+ addedToTotal: string;
644
+ };
621
645
  }
622
646
  export interface BookingsList {
623
647
  since: string;
@@ -663,6 +687,28 @@ export interface BookingsList {
663
687
  replay: boolean;
664
688
  createdAt: string;
665
689
  cancelledAt: string | null;
690
+ /** The hotel's own tax lines on this booking. Present only where the hotel has confirmed them (outside India); absent on every other booking */
691
+ taxes?: {
692
+ /** How the nightly rate was read when the booking was made: true = it was split into the lines; false = lines the hotel adds on top were added to the total */
693
+ nightlyRateIncludesTaxes: boolean;
694
+ /** The hotel's own tax lines on this booking, in the order the hotel applies them */
695
+ lines: Array<{
696
+ /** The line's filing code as the hotel set it up (for example TH-VAT) */
697
+ code: string;
698
+ /** The line's name as the hotel's bill prints it */
699
+ name: string;
700
+ /** TAX is owed to an authority; FEE is the hotel's own charge (a service charge); PASS_THROUGH is held for someone else */
701
+ kind: "TAX" | "FEE" | "PASS_THROUGH";
702
+ /** true: inside the nightly rate; false: added on top of it */
703
+ includedInRate: boolean;
704
+ /** MAJOR units, two decimals, for the whole stay; 0.00 when the desk waived the line */
705
+ amount: string;
706
+ }>;
707
+ /** MAJOR units, two decimals: the part of the lines that sits inside the nightly rates */
708
+ includedInRates: string;
709
+ /** MAJOR units, two decimals: the part of the lines added on top; already inside totalAmount */
710
+ addedToTotal: string;
711
+ };
666
712
  }>;
667
713
  }
668
714
  export interface SandboxBookingCreate {
@@ -766,7 +812,7 @@ export interface ModifierResult {
766
812
  }>;
767
813
  /** false when the channel already held exactly these steps: nothing was sent to the channel manager and nothing was counted */
768
814
  changed: boolean;
769
- /** When it takes effect. Always: "A modifier applies to prices sent to the channel after the change. Prices already on the channel stay as they are until those nights are sent again." */
815
+ /** When it takes effect. Always: "Saving a modifier makes the channel manager send that channel every date again, so prices already on the channel move to the new rule within minutes." */
770
816
  notice: string;
771
817
  }
772
818
  export interface RatesResendAccepted {
@@ -848,6 +894,8 @@ export interface ChannelBookingsList {
848
894
  paid: number;
849
895
  balanceDue: number;
850
896
  paymentCollect: "ota" | "property" | "unknown";
897
+ /** ISO 4217. Present only when the OTA sent the booking in another currency than the property's: the amounts in this booking (total, paid, balanceDue, each room's ratePerNight and amount) are then in THIS currency as the OTA sent them, not converted. Absent otherwise */
898
+ receivedCurrency?: string;
851
899
  };
852
900
  finance: {
853
901
  otaName: string;
@@ -858,6 +906,18 @@ export interface ChannelBookingsList {
858
906
  taxAmount: number | null;
859
907
  netPayoutAmount: number | null;
860
908
  } | null;
909
+ /** The hotel's own tax lines on this booking. Present only where the hotel has confirmed its taxes (outside India) and the booking has been assessed; absent on every other booking */
910
+ taxes?: {
911
+ lines: Array<{
912
+ code: string;
913
+ name: string;
914
+ kind: "TAX" | "FEE" | "PASS_THROUGH";
915
+ includedInRate: boolean;
916
+ amount: number;
917
+ }>;
918
+ includedInRates: number;
919
+ addedToTotal: number;
920
+ };
861
921
  cancellation: {
862
922
  at: string;
863
923
  reason: string | null;
@@ -922,6 +982,8 @@ export interface ChannelBooking {
922
982
  paid: number;
923
983
  balanceDue: number;
924
984
  paymentCollect: "ota" | "property" | "unknown";
985
+ /** ISO 4217. Present only when the OTA sent the booking in another currency than the property's: the amounts in this booking (total, paid, balanceDue, each room's ratePerNight and amount) are then in THIS currency as the OTA sent them, not converted. Absent otherwise */
986
+ receivedCurrency?: string;
925
987
  };
926
988
  finance: {
927
989
  otaName: string;
@@ -932,6 +994,18 @@ export interface ChannelBooking {
932
994
  taxAmount: number | null;
933
995
  netPayoutAmount: number | null;
934
996
  } | null;
997
+ /** The hotel's own tax lines on this booking. Present only where the hotel has confirmed its taxes (outside India) and the booking has been assessed; absent on every other booking */
998
+ taxes?: {
999
+ lines: Array<{
1000
+ code: string;
1001
+ name: string;
1002
+ kind: "TAX" | "FEE" | "PASS_THROUGH";
1003
+ includedInRate: boolean;
1004
+ amount: number;
1005
+ }>;
1006
+ includedInRates: number;
1007
+ addedToTotal: number;
1008
+ };
935
1009
  cancellation: {
936
1010
  at: string;
937
1011
  reason: string | null;
@@ -999,6 +1073,8 @@ export interface DirectBookingCancelResult {
999
1073
  paid: number;
1000
1074
  balanceDue: number;
1001
1075
  paymentCollect: "ota" | "property" | "unknown";
1076
+ /** ISO 4217. Present only when the OTA sent the booking in another currency than the property's: the amounts in this booking (total, paid, balanceDue, each room's ratePerNight and amount) are then in THIS currency as the OTA sent them, not converted. Absent otherwise */
1077
+ receivedCurrency?: string;
1002
1078
  };
1003
1079
  finance: {
1004
1080
  otaName: string;
@@ -1009,6 +1085,18 @@ export interface DirectBookingCancelResult {
1009
1085
  taxAmount: number | null;
1010
1086
  netPayoutAmount: number | null;
1011
1087
  } | null;
1088
+ /** The hotel's own tax lines on this booking. Present only where the hotel has confirmed its taxes (outside India) and the booking has been assessed; absent on every other booking */
1089
+ taxes?: {
1090
+ lines: Array<{
1091
+ code: string;
1092
+ name: string;
1093
+ kind: "TAX" | "FEE" | "PASS_THROUGH";
1094
+ includedInRate: boolean;
1095
+ amount: number;
1096
+ }>;
1097
+ includedInRates: number;
1098
+ addedToTotal: number;
1099
+ };
1012
1100
  cancellation: {
1013
1101
  at: string;
1014
1102
  reason: string | null;
@@ -4,7 +4,7 @@
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.OPERATIONS = exports.MODIFIER_TAKES_EFFECT = exports.SCOPES = exports.ERROR_CODES = exports.LIMITS = exports.PROPERTY_HEADER = exports.IDEMPOTENCY_HEADER = exports.API_PREFIX = exports.API_ORIGIN = exports.SDK_VERSION = void 0;
6
6
  /** This package's version, sent as the user agent so ZimmerStack can tell which client a request came from. */
7
- exports.SDK_VERSION = "0.5.0";
7
+ exports.SDK_VERSION = "0.7.0";
8
8
  /** Where the API lives. The key is sent nowhere else. */
9
9
  exports.API_ORIGIN = "https://api.zimmerstack.com";
10
10
  exports.API_PREFIX = "/api/v1/connect-api/v1";
@@ -63,6 +63,8 @@ exports.ERROR_CODES = [
63
63
  "EXTERNAL_REFERENCE_REUSED",
64
64
  "PAYMENT_NOT_ALLOWED",
65
65
  "PAYMENT_EXCEEDS_TOTAL",
66
+ "TAXES_NOT_CONFIGURED",
67
+ "TAXES_INSIDE_RATES",
66
68
  "BOOKING_NOT_FOUND",
67
69
  "BOOKING_NOT_CANCELLABLE",
68
70
  "MODULE_NOT_ENTITLED",
@@ -114,7 +116,7 @@ exports.SCOPES = [
114
116
  "properties:write"
115
117
  ];
116
118
  /** When a channel's price modifier takes effect. Show it where a person saves one. */
117
- exports.MODIFIER_TAKES_EFFECT = "A modifier applies to prices sent to the channel after the change. Prices already on the channel stay as they are until those nights are sent again.";
119
+ exports.MODIFIER_TAKES_EFFECT = "Saving a modifier makes the channel manager send that channel every date again, so prices already on the channel move to the new rule within minutes.";
118
120
  /** idempotent: the server replays the stored answer when the idempotency key repeats, so the client may resend the request after a network failure. */
119
121
  exports.OPERATIONS = {
120
122
  "GET /properties": { idempotent: false, bodyRequired: false },
@@ -6,13 +6,19 @@ import type { ChannelBooking } from "./generated.js";
6
6
  /** An OTA booking arrived, changed or was cancelled (through the channel manager). */
7
7
  export declare const OTA_BOOKING_EVENT_TYPES: readonly ["channel.booking.created", "channel.booking.modified", "channel.booking.cancelled"];
8
8
  /**
9
- * A guest booked, or cancelled, on the hotel's own website through ZimmerStack's booking engine. The same
10
- * booking object as the OTA events, in a family of its own: an endpoint receives these only when it lists
11
- * the two types. There is no modified event.
9
+ * A booking on the hotel's own website through ZimmerStack's booking engine: the guest booked, the hotel
10
+ * recorded that the guest did not arrive (or undid that), or the booking was cancelled. The same booking
11
+ * object as the OTA events, in a family of its own: an endpoint receives each of these only when it lists
12
+ * that type.
13
+ *
14
+ * `direct.booking.modified` (from 0.6.0; the API sends it since 21 Nov 2026) is a no-show and its undo.
15
+ * The booking is not cancelled: `status` stays CONFIRMED and the payment is untouched. Read
16
+ * `data.booking.stayStatus`: NOSHOW means the nights are on sale again (free the room), UPCOMING again
17
+ * means the no-show was undone (hold the room). Nothing else sends it yet.
12
18
  */
13
- export declare const WEBSITE_BOOKING_EVENT_TYPES: readonly ["direct.booking.created", "direct.booking.cancelled"];
19
+ export declare const WEBSITE_BOOKING_EVENT_TYPES: readonly ["direct.booking.created", "direct.booking.modified", "direct.booking.cancelled"];
14
20
  /** Every event whose `data.booking` is a booking, of either family. */
15
- export declare const BOOKING_EVENT_TYPES: readonly ["channel.booking.created", "channel.booking.modified", "channel.booking.cancelled", "direct.booking.created", "direct.booking.cancelled"];
21
+ export declare const BOOKING_EVENT_TYPES: readonly ["channel.booking.created", "channel.booking.modified", "channel.booking.cancelled", "direct.booking.created", "direct.booking.modified", "direct.booking.cancelled"];
16
22
  export type OtaBookingEventType = (typeof OTA_BOOKING_EVENT_TYPES)[number];
17
23
  export type WebsiteBookingEventType = (typeof WEBSITE_BOOKING_EVENT_TYPES)[number];
18
24
  export type BookingEventType = (typeof BOOKING_EVENT_TYPES)[number];
@@ -24,7 +30,7 @@ export interface WebhookEvent {
24
30
  id: string;
25
31
  /**
26
32
  * channel.booking.created · channel.booking.modified · channel.booking.cancelled (an OTA booking) ·
27
- * direct.booking.created · direct.booking.cancelled (a booking on the hotel's own website) ·
33
+ * direct.booking.created · direct.booking.modified · direct.booking.cancelled (a booking on the hotel's own website) ·
28
34
  * channel.sync.* · zimmerstack.ping. Narrow it with `isOtaBookingEvent` and `isWebsiteBookingEvent`.
29
35
  */
30
36
  type: string;
@@ -43,9 +49,9 @@ export interface WebhookEvent {
43
49
  booking?: ChannelBooking;
44
50
  [key: string]: unknown;
45
51
  };
46
- /** Dotted paths that changed, on a modification ("stay.checkOut"). */
52
+ /** Dotted paths that changed, on a modification ("stay.checkOut"; on a website booking's no-show, "stayStatus" and "rooms[0].status"). */
47
53
  changes?: string[] | null;
48
- /** What those fields held before, on a modification. */
54
+ /** What those fields held before, on a modification. A website booking's carries `stayStatus` too. */
49
55
  previous?: Record<string, unknown> | null;
50
56
  truncated?: boolean;
51
57
  }
@@ -57,7 +63,10 @@ export type BookingEvent = WebhookEvent & {
57
63
  [key: string]: unknown;
58
64
  };
59
65
  };
60
- /** A booking a guest made on the hotel's own website. `finance` is null and `changes` and `previous` always are. */
66
+ /**
67
+ * A booking a guest made on the hotel's own website. `finance` is always null; `changes` and `previous`
68
+ * are set on `direct.booking.modified` (a no-show, or its undo) and null on the other two.
69
+ */
61
70
  export type WebsiteBookingEvent = BookingEvent & {
62
71
  type: WebsiteBookingEventType;
63
72
  };
@@ -66,8 +75,9 @@ export type OtaBookingEvent = BookingEvent & {
66
75
  type: OtaBookingEventType;
67
76
  };
68
77
  /**
69
- * True for `direct.booking.created` and `direct.booking.cancelled`: a booking made on the hotel's own
70
- * website. A PMS that pushes room counts must put it in its own calendar before its next push.
78
+ * True for `direct.booking.created`, `direct.booking.modified` and `direct.booking.cancelled`: a booking
79
+ * made on the hotel's own website. A PMS that pushes room counts must put it in its own calendar before its
80
+ * next push, and give the nights back when the booking is cancelled or reads `stayStatus` NOSHOW.
71
81
  */
72
82
  export declare function isWebsiteBookingEvent(event: WebhookEvent): event is WebsiteBookingEvent;
73
83
  /** True for `channel.booking.created`, `.modified` and `.cancelled`: a booking an OTA sent. */
@@ -11,17 +11,24 @@ exports.verifyWebhook = verifyWebhook;
11
11
  /** An OTA booking arrived, changed or was cancelled (through the channel manager). */
12
12
  exports.OTA_BOOKING_EVENT_TYPES = ["channel.booking.created", "channel.booking.modified", "channel.booking.cancelled"];
13
13
  /**
14
- * A guest booked, or cancelled, on the hotel's own website through ZimmerStack's booking engine. The same
15
- * booking object as the OTA events, in a family of its own: an endpoint receives these only when it lists
16
- * the two types. There is no modified event.
14
+ * A booking on the hotel's own website through ZimmerStack's booking engine: the guest booked, the hotel
15
+ * recorded that the guest did not arrive (or undid that), or the booking was cancelled. The same booking
16
+ * object as the OTA events, in a family of its own: an endpoint receives each of these only when it lists
17
+ * that type.
18
+ *
19
+ * `direct.booking.modified` (from 0.6.0; the API sends it since 21 Nov 2026) is a no-show and its undo.
20
+ * The booking is not cancelled: `status` stays CONFIRMED and the payment is untouched. Read
21
+ * `data.booking.stayStatus`: NOSHOW means the nights are on sale again (free the room), UPCOMING again
22
+ * means the no-show was undone (hold the room). Nothing else sends it yet.
17
23
  */
18
- exports.WEBSITE_BOOKING_EVENT_TYPES = ["direct.booking.created", "direct.booking.cancelled"];
24
+ exports.WEBSITE_BOOKING_EVENT_TYPES = ["direct.booking.created", "direct.booking.modified", "direct.booking.cancelled"];
19
25
  /** Every event whose `data.booking` is a booking, of either family. */
20
26
  exports.BOOKING_EVENT_TYPES = [...exports.OTA_BOOKING_EVENT_TYPES, ...exports.WEBSITE_BOOKING_EVENT_TYPES];
21
27
  const isType = (list, event) => typeof event?.type === "string" && list.includes(event.type);
22
28
  /**
23
- * True for `direct.booking.created` and `direct.booking.cancelled`: a booking made on the hotel's own
24
- * website. A PMS that pushes room counts must put it in its own calendar before its next push.
29
+ * True for `direct.booking.created`, `direct.booking.modified` and `direct.booking.cancelled`: a booking
30
+ * made on the hotel's own website. A PMS that pushes room counts must put it in its own calendar before its
31
+ * next push, and give the nights back when the booking is cancelled or reads `stayStatus` NOSHOW.
25
32
  */
26
33
  function isWebsiteBookingEvent(event) {
27
34
  return isType(exports.WEBSITE_BOOKING_EVENT_TYPES, event) && Boolean(event.data?.booking);
@@ -330,9 +330,9 @@ export declare class ZimmerStack {
330
330
  * Replace a channel's modifier with these steps (`[]` removes it). Needs the scope
331
331
  * channel-modifiers:write.
332
332
  *
333
- * ONE CALL MOVES EVERY PRICE SENT TO THAT CHANNEL FROM THEN ON. Call it when a person saved the
334
- * setting; never from a loop, a timer or a test against a live key. Prices already on the channel
335
- * stay as they are until those nights are sent again (`rates.resend`).
333
+ * ONE CALL MOVES EVERY PRICE ON THAT CHANNEL. Call it when a person saved the setting; never from
334
+ * a loop, a timer or a test against a live key. The channel manager then sends that channel every
335
+ * date again, so prices already on sale move within minutes; no `rates.resend` is needed.
336
336
  */
337
337
  setModifier: (channelId: string, steps: ModifierStep[], options?: WriteOptions) => Promise<ModifierResult>;
338
338
  };
@@ -362,7 +362,7 @@ export declare class ZimmerStack {
362
362
  };
363
363
  readonly directBookings: {
364
364
  /**
365
- * Website bookings, in the webhook's shape (`direct.booking.*`), cancellations included. Scope
365
+ * Website bookings, in the webhook's shape (`direct.booking.*`), cancellations and no-shows included. Scope
366
366
  * `direct-bookings:read`. Follow `nextCursor`, or use `all`.
367
367
  */
368
368
  list: (query?: Op<"GET /direct-bookings">["query"], options?: ReadOptions) => Promise<import("./generated.js").ChannelBookingsList>;
@@ -693,9 +693,9 @@ export class ZimmerStack {
693
693
  * Replace a channel's modifier with these steps (`[]` removes it). Needs the scope
694
694
  * channel-modifiers:write.
695
695
  *
696
- * ONE CALL MOVES EVERY PRICE SENT TO THAT CHANNEL FROM THEN ON. Call it when a person saved the
697
- * setting; never from a loop, a timer or a test against a live key. Prices already on the channel
698
- * stay as they are until those nights are sent again (`rates.resend`).
696
+ * ONE CALL MOVES EVERY PRICE ON THAT CHANNEL. Call it when a person saved the setting; never from
697
+ * a loop, a timer or a test against a live key. The channel manager then sends that channel every
698
+ * date again, so prices already on sale move within minutes; no `rates.resend` is needed.
699
699
  */
700
700
  setModifier: (channelId, steps, options) => this.request("PUT /channels/{channelId}/modifier", { path: { channelId }, body: { steps }, ...options }),
701
701
  };
@@ -728,7 +728,7 @@ export class ZimmerStack {
728
728
  /* ── bookings guests made on the hotel's own website (our booking engine) ── */
729
729
  directBookings = {
730
730
  /**
731
- * Website bookings, in the webhook's shape (`direct.booking.*`), cancellations included. Scope
731
+ * Website bookings, in the webhook's shape (`direct.booking.*`), cancellations and no-shows included. Scope
732
732
  * `direct-bookings:read`. Follow `nextCursor`, or use `all`.
733
733
  */
734
734
  list: (query, options) => this.request("GET /direct-bookings", { query, ...options }),