@vitrina/api 11.36.1 → 11.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -56685,6 +56685,8 @@ interface paths {
56685
56685
  * `configured` is `true` only once a scheduling POLICY has been saved — a `PUT` carrying any field other than `arrival_board_enabled`. It is NOT "a stored row exists": saving `arrival_board_enabled` alone creates the row and leaves `configured: false` (default knobs, the agent's native `appointments` tools stay gated). It is the same flag `availability` reports.
56686
56686
  *
56687
56687
  * `arrival_board_enabled` is the stored «Sala de espera» switch (`false` when never saved).
56688
+ *
56689
+ * `next_day_cutoff_local` / `next_day_earliest_local` ("HH:MM", tenant clock, `null` = off) are the overnight booking cutoff the AI agent enforces for EVERY booking engine (native, Medilink/Dentalink, Reservo, native clinic): from the cutoff on day X-1, slots on day X before the earliest time are hidden from `find_slots` and refused by `book_appointment` / `hold_slot` / `reschedule_appointment` with `too_soon`. Like `arrival_board_enabled` they are NOT scheduling policy: saving them alone never marks the agenda `configured`. `min_lead_minutes` is enforced by the same agent tools on every engine.
56688
56690
  */
56689
56691
  get: {
56690
56692
  parameters: {
@@ -56826,7 +56828,11 @@ interface paths {
56826
56828
  * "owner_capacity": 1,
56827
56829
  * "hold_ttl_minutes": 15,
56828
56830
  * "reminder_lead_minutes": 120,
56831
+ * "deposit_messages_enabled": true,
56832
+ * "deposit_reminder_lead_minutes": 120,
56829
56833
  * "sales_team_id": "cccccccc-0000-4000-8000-000000000001",
56834
+ * "next_day_cutoff_local": "18:00",
56835
+ * "next_day_earliest_local": "11:00",
56830
56836
  * "arrival_board_enabled": false
56831
56837
  * }
56832
56838
  * }
@@ -56990,8 +56996,12 @@ interface paths {
56990
56996
  no_show_fee_clp?: number | null;
56991
56997
  hold_ttl_minutes?: number;
56992
56998
  reminder_lead_minutes?: number;
56999
+ deposit_messages_enabled?: boolean;
57000
+ deposit_reminder_lead_minutes?: number;
56993
57001
  /** Format: uuid */
56994
57002
  sales_team_id?: string | null;
57003
+ next_day_cutoff_local?: string | null;
57004
+ next_day_earliest_local?: string | null;
56995
57005
  };
56996
57006
  };
56997
57007
  };
@@ -57127,7 +57137,11 @@ interface paths {
57127
57137
  * "owner_capacity": 1,
57128
57138
  * "hold_ttl_minutes": 15,
57129
57139
  * "reminder_lead_minutes": 120,
57140
+ * "deposit_messages_enabled": true,
57141
+ * "deposit_reminder_lead_minutes": 120,
57130
57142
  * "sales_team_id": "cccccccc-0000-4000-8000-000000000001",
57143
+ * "next_day_cutoff_local": "18:00",
57144
+ * "next_day_earliest_local": "11:00",
57131
57145
  * "arrival_board_enabled": false
57132
57146
  * }
57133
57147
  * }
package/dist/index.d.ts CHANGED
@@ -56685,6 +56685,8 @@ interface paths {
56685
56685
  * `configured` is `true` only once a scheduling POLICY has been saved — a `PUT` carrying any field other than `arrival_board_enabled`. It is NOT "a stored row exists": saving `arrival_board_enabled` alone creates the row and leaves `configured: false` (default knobs, the agent's native `appointments` tools stay gated). It is the same flag `availability` reports.
56686
56686
  *
56687
56687
  * `arrival_board_enabled` is the stored «Sala de espera» switch (`false` when never saved).
56688
+ *
56689
+ * `next_day_cutoff_local` / `next_day_earliest_local` ("HH:MM", tenant clock, `null` = off) are the overnight booking cutoff the AI agent enforces for EVERY booking engine (native, Medilink/Dentalink, Reservo, native clinic): from the cutoff on day X-1, slots on day X before the earliest time are hidden from `find_slots` and refused by `book_appointment` / `hold_slot` / `reschedule_appointment` with `too_soon`. Like `arrival_board_enabled` they are NOT scheduling policy: saving them alone never marks the agenda `configured`. `min_lead_minutes` is enforced by the same agent tools on every engine.
56688
56690
  */
56689
56691
  get: {
56690
56692
  parameters: {
@@ -56826,7 +56828,11 @@ interface paths {
56826
56828
  * "owner_capacity": 1,
56827
56829
  * "hold_ttl_minutes": 15,
56828
56830
  * "reminder_lead_minutes": 120,
56831
+ * "deposit_messages_enabled": true,
56832
+ * "deposit_reminder_lead_minutes": 120,
56829
56833
  * "sales_team_id": "cccccccc-0000-4000-8000-000000000001",
56834
+ * "next_day_cutoff_local": "18:00",
56835
+ * "next_day_earliest_local": "11:00",
56830
56836
  * "arrival_board_enabled": false
56831
56837
  * }
56832
56838
  * }
@@ -56990,8 +56996,12 @@ interface paths {
56990
56996
  no_show_fee_clp?: number | null;
56991
56997
  hold_ttl_minutes?: number;
56992
56998
  reminder_lead_minutes?: number;
56999
+ deposit_messages_enabled?: boolean;
57000
+ deposit_reminder_lead_minutes?: number;
56993
57001
  /** Format: uuid */
56994
57002
  sales_team_id?: string | null;
57003
+ next_day_cutoff_local?: string | null;
57004
+ next_day_earliest_local?: string | null;
56995
57005
  };
56996
57006
  };
56997
57007
  };
@@ -57127,7 +57137,11 @@ interface paths {
57127
57137
  * "owner_capacity": 1,
57128
57138
  * "hold_ttl_minutes": 15,
57129
57139
  * "reminder_lead_minutes": 120,
57140
+ * "deposit_messages_enabled": true,
57141
+ * "deposit_reminder_lead_minutes": 120,
57130
57142
  * "sales_team_id": "cccccccc-0000-4000-8000-000000000001",
57143
+ * "next_day_cutoff_local": "18:00",
57144
+ * "next_day_earliest_local": "11:00",
57131
57145
  * "arrival_board_enabled": false
57132
57146
  * }
57133
57147
  * }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitrina/api",
3
- "version": "11.36.1",
3
+ "version": "11.37.0",
4
4
  "description": "Typed TypeScript SDK for the Vitrina API pública — generated from the committed openapi.public.json (ADR 0106).",
5
5
  "type": "module",
6
6
  "license": "MIT",