@iveri/contracts 0.147.0 → 0.148.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/README.md CHANGED
@@ -322,6 +322,8 @@ Conduit's outbox.
322
322
  `UniboxAgents` under `@iveri/contracts/unibox`, so the inbox picks agents by name.
323
323
  - Version `0.139.0` adds a trainer's notes on a member: `GymTrainerNote`, `GymTrainerNotes`, `SaveGymTrainerNoteRequest`,
324
324
  `GymMyTrainerNote` and the `GymRefusal` member `not-their-trainer` under `@iveri/contracts/gym`.
325
+ - Version `0.148.0` adds the `ClinicRefusal` member `beyond-booking-horizon`, for a date past how far ahead a clinic
326
+ takes bookings.
325
327
  - Version `0.146.0` adds the Unibox AI agent's daily token cap (`AiAgentSetting.dailyTokenCap`,
326
328
  `AgentRunRequest.dailyTokenCap`, the `AgentRunOutcome` members `cap-reached` and `cap-pending`, `AgentRunDailySpend`
327
329
  and `UniboxAiUsageMetric`), and a clinic's automatic deposit refund on a client's cancellation:
@@ -16,5 +16,7 @@ export declare enum ClinicRefusal {
16
16
  /** A refund of this online payment is still being confirmed with the bank; wait for it before asking again. */
17
17
  ONLINE_REFUND_PENDING = "online-refund-pending",
18
18
  /** This clinic cannot give online payments back from here; the money goes back from the payment provider. */
19
- ONLINE_REFUND_UNAVAILABLE = "online-refund-unavailable"
19
+ ONLINE_REFUND_UNAVAILABLE = "online-refund-unavailable",
20
+ /** The date is further ahead than the clinic takes bookings; `details.bookingHorizonDays` says how far. */
21
+ BEYOND_BOOKING_HORIZON = "beyond-booking-horizon"
20
22
  }
@@ -18,4 +18,6 @@ export var ClinicRefusal;
18
18
  ClinicRefusal["ONLINE_REFUND_PENDING"] = "online-refund-pending";
19
19
  /** This clinic cannot give online payments back from here; the money goes back from the payment provider. */
20
20
  ClinicRefusal["ONLINE_REFUND_UNAVAILABLE"] = "online-refund-unavailable";
21
+ /** The date is further ahead than the clinic takes bookings; `details.bookingHorizonDays` says how far. */
22
+ ClinicRefusal["BEYOND_BOOKING_HORIZON"] = "beyond-booking-horizon";
21
23
  })(ClinicRefusal || (ClinicRefusal = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iveri/contracts",
3
- "version": "0.147.0",
3
+ "version": "0.148.0",
4
4
  "description": "Wire contracts shared by every Iveri backend and frontend. Zero runtime dependencies.",
5
5
  "license": "MIT",
6
6
  "repository": {