@everfur/sdk 0.21.0 → 0.22.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 (253) hide show
  1. package/CHANGELOG.md +150 -0
  2. package/dist/{Chat.d-JDtlG_EW.d.cts → Chat.d-DDmNIlJn.d.cts} +1 -1
  3. package/dist/{Chat.d-CoGJrK3t.d.ts → Chat.d-DySDBc6L.d.ts} +1 -1
  4. package/dist/{DepthViews.d-XTv4s3ru.d.cts → DepthViews.d-BHb0Xb-C.d.cts} +1 -1
  5. package/dist/{DepthViews.d-CNQn-eEr.d.ts → DepthViews.d-BIfqdrvX.d.ts} +1 -1
  6. package/dist/{DepthViews.d-D31VlFKU.d.ts → DepthViews.d-BW3HrhnC.d.ts} +1 -1
  7. package/dist/{DepthViews.d-zxM_xbP9.d.cts → DepthViews.d-Dq8eWBvw.d.cts} +1 -1
  8. package/dist/{RecordsPage.d-D_y-ZB3S.d.ts → RecordsPage.d-Bs-dghTH.d.ts} +1 -1
  9. package/dist/{RecordsPage.d-CSZHrtWJ.d.cts → RecordsPage.d-CLrw-AvZ.d.cts} +1 -1
  10. package/dist/animations/index.cjs +2 -2
  11. package/dist/animations/index.d.cts +3 -3
  12. package/dist/animations/index.d.ts +3 -3
  13. package/dist/animations/index.js +2 -2
  14. package/dist/{attachments.d-D74wbmQU.d.cts → attachments.d-DTGYmW8Y.d.cts} +1 -1
  15. package/dist/{attachments.d-Dm6NUJTR.d.ts → attachments.d-DjxmIsNp.d.ts} +1 -1
  16. package/dist/{bookingCopy.d-DMmLKY5Q.d.ts → bookingCopy.d-CX-DMiwi.d.ts} +148 -148
  17. package/dist/{bookingCopy.d-iaYDPvPd.d.cts → bookingCopy.d-D952V8Tq.d.cts} +148 -148
  18. package/dist/{branding.d-DpNGEdDL.d.ts → branding.d-DC4imCYd.d.ts} +72 -4
  19. package/dist/{branding.d-BFauULV6.d.cts → branding.d-G7rpxDhI.d.cts} +72 -4
  20. package/dist/{casesRepository.d-CCJJQXnl.d.ts → casesRepository.d-CnJZlUZ4.d.ts} +1 -1
  21. package/dist/{casesRepository.d-G2dahIKO.d.cts → casesRepository.d-bWJHZD-_.d.cts} +1 -1
  22. package/dist/chat/index.cjs +59 -47
  23. package/dist/chat/index.d.cts +11 -11
  24. package/dist/chat/index.d.ts +11 -11
  25. package/dist/chat/index.js +59 -47
  26. package/dist/chat/lite/index.cjs +59 -47
  27. package/dist/chat/lite/index.d.cts +11 -11
  28. package/dist/chat/lite/index.d.ts +11 -11
  29. package/dist/chat/lite/index.js +59 -47
  30. package/dist/{chatHandoffToken.d-DVv9tl8h.d.ts → chatHandoffToken.d-BCEdhZpd.d.ts} +5 -5
  31. package/dist/{chatHandoffToken.d-xmnHrTA5.d.cts → chatHandoffToken.d-uKnSnIzN.d.cts} +5 -5
  32. package/dist/{chatTypes.d-CQC7GTdE.d.cts → chatTypes.d-CFyYBzps.d.cts} +4 -4
  33. package/dist/{chatTypes.d-hS1AilYl.d.ts → chatTypes.d-DbdF3ij5.d.ts} +4 -4
  34. package/dist/chunk-AT7SU763.js +14 -0
  35. package/dist/{chunk-2NA7TPUA.js → chunk-FFMIX6HG.js} +1 -1
  36. package/dist/chunk-K5NVMNI5.js +47 -0
  37. package/dist/chunk-ZASVU7CH.js +34 -0
  38. package/dist/client/index.cjs +9 -8
  39. package/dist/client/index.d.cts +18 -12
  40. package/dist/client/index.d.ts +18 -12
  41. package/dist/client/index.js +9 -8
  42. package/dist/{clinicBatch.d-BpP2NBb3.d.ts → clinicBatch.d-C_kZtYt-.d.ts} +2 -2
  43. package/dist/{clinicBatch.d-4PFwKJfw.d.cts → clinicBatch.d-e3Cn5HhA.d.cts} +2 -2
  44. package/dist/{config.d-D9igq-vT.d.ts → config.d--6siaeNg.d.ts} +14 -6
  45. package/dist/{config.d-cX5E6DAw.d.cts → config.d-Ba21AaZg.d.cts} +14 -6
  46. package/dist/consent/index.cjs +2 -2
  47. package/dist/consent/index.d.cts +5 -5
  48. package/dist/consent/index.d.ts +5 -5
  49. package/dist/consent/index.js +2 -2
  50. package/dist/{context.d-BrRRNw9I.d.cts → context.d-DLHTf-fV.d.cts} +7 -7
  51. package/dist/{context.d-hPfsEsNf.d.ts → context.d-TArU_9lj.d.ts} +7 -7
  52. package/dist/{copy.d-CDlirTR4.d.ts → copy.d-GokMma80.d.ts} +2 -2
  53. package/dist/{copy.d-DWjSkbrZ.d.cts → copy.d-zWWCn3wB.d.cts} +2 -2
  54. package/dist/core/index.cjs +4 -4
  55. package/dist/core/index.d.cts +17 -17
  56. package/dist/core/index.d.ts +17 -17
  57. package/dist/core/index.js +4 -4
  58. package/dist/{depth.d-CfBorxcQ.d.ts → depth.d-C_HL8yAz.d.ts} +2 -2
  59. package/dist/{depth.d-KkrGx98U.d.cts → depth.d-De5pT7vA.d.cts} +2 -2
  60. package/dist/{entitlementRepository.d-DpQrIgW6.d.ts → entitlementRepository.d-CoKN-Ksa.d.ts} +3 -3
  61. package/dist/{entitlementRepository.d-BvnWpcQH.d.cts → entitlementRepository.d-Tj7lvs4e.d.cts} +3 -3
  62. package/dist/{focus.d-CYwVLDvR.d.ts → focus.d-7G0BBmA9.d.ts} +3 -128
  63. package/dist/{focus.d-9loikWy8.d.cts → focus.d-B0qweva0.d.cts} +3 -128
  64. package/dist/health-plan/index.cjs +133 -92
  65. package/dist/health-plan/index.d.cts +33 -18
  66. package/dist/health-plan/index.d.ts +33 -18
  67. package/dist/health-plan/index.js +141 -100
  68. package/dist/healthPlanRepository.d-CdCyUWph.d.ts +131 -0
  69. package/dist/healthPlanRepository.d-fPbLceBr.d.cts +131 -0
  70. package/dist/{idempotency.d-DGQ_xML5.d.ts → idempotency.d-CoUlC-Yd.d.ts} +1 -1
  71. package/dist/{idempotency.d-CVKkUhY4.d.cts → idempotency.d-IDta7Jjj.d.cts} +1 -1
  72. package/dist/{identity.d-DR5YwO6E.d.ts → identity.d-B7dPRGqm.d.ts} +1 -1
  73. package/dist/{identity.d-Bnl5Z0MM.d.cts → identity.d-_MK9Y7a4.d.cts} +1 -1
  74. package/dist/inbox.d-ChNXTovj.d.cts +103 -0
  75. package/dist/inbox.d-CuuPTWyW.d.ts +103 -0
  76. package/dist/index.cjs +69 -56
  77. package/dist/index.d.cts +18 -18
  78. package/dist/index.d.ts +18 -18
  79. package/dist/index.js +69 -56
  80. package/dist/{introEvents.d-D_yL7lnE.d.ts → introEvents.d-D6Ay0ORN.d.ts} +1 -1
  81. package/dist/{introEvents.d-JmPqEqMQ.d.cts → introEvents.d-JvAWRKYu.d.cts} +1 -1
  82. package/dist/{usePresentation.d-CrobH0d_.d.cts → layout.d-ByfOEhpG.d.cts} +2 -136
  83. package/dist/{usePresentation.d-CDNK4MDY.d.ts → layout.d-D3d4QMeO.d.ts} +2 -136
  84. package/dist/notifications/inbox/index.cjs +24 -12
  85. package/dist/notifications/inbox/index.d.cts +87 -6
  86. package/dist/notifications/inbox/index.d.ts +87 -6
  87. package/dist/notifications/inbox/index.js +24 -12
  88. package/dist/notifications/index.d.cts +7 -7
  89. package/dist/notifications/index.d.ts +7 -7
  90. package/dist/{optInView.d-CZvKlq-o.d.ts → optInView.d-BpFTJaaX.d.ts} +2 -2
  91. package/dist/{optInView.d-BizcW_QG.d.cts → optInView.d-Bxvg0WLJ.d.cts} +2 -2
  92. package/dist/{pets.d-uCzgFbGi.d.ts → pets.d-Br960ekh.d.ts} +1 -1
  93. package/dist/{pets.d-C4CWxQPh.d.cts → pets.d-BtbJcf8T.d.cts} +1 -1
  94. package/dist/{petsRepository.d-DOcVv9bd.d.cts → petsRepository.d-Bj9rPnCr.d.cts} +1 -1
  95. package/dist/{petsRepository.d-DRW7NkKm.d.ts → petsRepository.d-CSOth5XE.d.ts} +1 -1
  96. package/dist/photo/index.cjs +1 -1
  97. package/dist/photo/index.js +1 -1
  98. package/dist/{presentation.d-Bs8xQ4gD.d.cts → presentation.d-BvZs_jN-.d.cts} +6 -0
  99. package/dist/{presentation.d-Bs8xQ4gD.d.ts → presentation.d-BvZs_jN-.d.ts} +6 -0
  100. package/dist/records/depth/index.cjs +10 -6
  101. package/dist/records/depth/index.d.cts +9 -9
  102. package/dist/records/depth/index.d.ts +9 -9
  103. package/dist/records/depth/index.js +10 -6
  104. package/dist/records/index.cjs +302 -207
  105. package/dist/records/index.d.cts +144 -17
  106. package/dist/records/index.d.ts +144 -17
  107. package/dist/records/index.js +302 -207
  108. package/dist/{requestFunnel.d-CQ0O8fMG.d.cts → requestFunnel.d-BwO-jFLX.d.cts} +2 -2
  109. package/dist/{requestFunnel.d-BYLycQMI.d.ts → requestFunnel.d-LSnmCusf.d.ts} +2 -2
  110. package/dist/{route.d-DFJ0gXj8.d.ts → route.d-Bzyamuxa.d.ts} +2 -2
  111. package/dist/{route.d-q9yndhFy.d.cts → route.d-D70-OHBc.d.cts} +2 -2
  112. package/dist/{runtimeTypes.d-3LRuzxr7.d.cts → runtimeTypes.d-BHdN-9aB.d.cts} +7 -7
  113. package/dist/{runtimeTypes.d-BJHYj2MI.d.ts → runtimeTypes.d-L_CbeCKS.d.ts} +7 -7
  114. package/dist/{screenProps.d-DfAmuKkr.d.cts → screenProps.d-DB5IMaGZ.d.cts} +1 -1
  115. package/dist/{screenProps.d-tVzlXGaN.d.ts → screenProps.d-HGSPNGHt.d.ts} +1 -1
  116. package/dist/server/events/index.cjs +1 -1
  117. package/dist/server/events/index.d.cts +2 -2
  118. package/dist/server/events/index.d.ts +2 -2
  119. package/dist/server/events/index.js +1 -1
  120. package/dist/server/index.cjs +1 -1
  121. package/dist/server/index.d.cts +3 -3
  122. package/dist/server/index.d.ts +3 -3
  123. package/dist/server/index.js +1 -1
  124. package/dist/shop/index.cjs +26 -13
  125. package/dist/shop/index.d.cts +3 -3
  126. package/dist/shop/index.d.ts +3 -3
  127. package/dist/shop/index.js +26 -13
  128. package/dist/slots/index.cjs +299 -0
  129. package/dist/slots/index.d.cts +155 -0
  130. package/dist/slots/index.d.ts +155 -0
  131. package/dist/slots/index.js +299 -0
  132. package/dist/slots/weather-glyphs/index.cjs +2 -0
  133. package/dist/slots/weather-glyphs/index.d.cts +11 -0
  134. package/dist/slots/weather-glyphs/index.d.ts +11 -0
  135. package/dist/slots/weather-glyphs/index.js +2 -0
  136. package/dist/tabs/index.cjs +43 -12
  137. package/dist/tabs/index.d.cts +79 -8
  138. package/dist/tabs/index.d.ts +79 -8
  139. package/dist/tabs/index.js +43 -12
  140. package/dist/televet/booking/index.cjs +54 -10
  141. package/dist/televet/booking/index.d.cts +51 -10
  142. package/dist/televet/booking/index.d.ts +51 -10
  143. package/dist/televet/booking/index.js +55 -11
  144. package/dist/televet/call/index.cjs +1 -1
  145. package/dist/televet/call/index.js +1 -1
  146. package/dist/televet/index.cjs +1 -1
  147. package/dist/televet/index.d.cts +2 -2
  148. package/dist/televet/index.d.ts +2 -2
  149. package/dist/televet/index.js +1 -1
  150. package/dist/testing/index.d.cts +1 -1
  151. package/dist/testing/index.d.ts +1 -1
  152. package/dist/testing/rn/index.cjs +1 -1
  153. package/dist/testing/rn/index.d.cts +13 -11
  154. package/dist/testing/rn/index.d.ts +13 -11
  155. package/dist/testing/rn/index.js +1 -1
  156. package/dist/testing/web/index.d.cts +10 -10
  157. package/dist/testing/web/index.d.ts +10 -10
  158. package/dist/texting/index.cjs +2 -2
  159. package/dist/texting/index.d.cts +5 -5
  160. package/dist/texting/index.d.ts +5 -5
  161. package/dist/texting/index.js +2 -2
  162. package/dist/{threadOptions.d-I6G3BdlP.d.cts → threadOptions.d-CS-Qu_rR.d.cts} +6 -6
  163. package/dist/{threadOptions.d-DfH26dy7.d.ts → threadOptions.d-FzFN0zsK.d.ts} +6 -6
  164. package/dist/{timelineRows.d-uSfr2IP3.d.cts → timelineRows.d-BJRCgmdv.d.cts} +1 -1
  165. package/dist/{timelineRows.d-CugnCOfZ.d.ts → timelineRows.d-CPS4admm.d.ts} +1 -1
  166. package/dist/{tokens.d-BUVqme2D.d.cts → tokens.d-DH1mYjZl.d.cts} +43 -1
  167. package/dist/{tokens.d-BUVqme2D.d.ts → tokens.d-DH1mYjZl.d.ts} +43 -1
  168. package/dist/{typeStyle.d-Ckdh_S-t.d.cts → typeStyle.d-BIDpuYpg.d.cts} +29 -3
  169. package/dist/{typeStyle.d-B9Jo5mDX.d.ts → typeStyle.d-aRhFhBpG.d.ts} +29 -3
  170. package/dist/ui/index.cjs +26 -13
  171. package/dist/ui/index.js +26 -13
  172. package/dist/{useHealthPlanSubscription.d-CVVQIFpG.d.ts → useHealthPlanSubscription.d-SQfx-45x.d.ts} +3 -2
  173. package/dist/{useHealthPlanSubscription.d-DylPMm_m.d.cts → useHealthPlanSubscription.d-zjsvvlhz.d.cts} +3 -2
  174. package/dist/useInboxUnread.d-7p3IWs_A.d.cts +109 -0
  175. package/dist/useInboxUnread.d-BxFKFU4o.d.ts +109 -0
  176. package/dist/usePresentation.d-BHO_uZ31.d.cts +140 -0
  177. package/dist/usePresentation.d-Dr7iD-4Y.d.ts +140 -0
  178. package/dist/{useRecordsDepth.d-BvBYIPii.d.ts → useRecordsDepth.d-BinUa8W9.d.ts} +1 -1
  179. package/dist/{useRecordsDepth.d-Cd5Vyb7D.d.cts → useRecordsDepth.d-Bk8BSerZ.d.cts} +1 -1
  180. package/dist/{useUnread.d-ElAEfgl1.d.ts → useUnread.d-CAeYh82_.d.ts} +10 -7
  181. package/dist/{useUnread.d-B4Yqcteg.d.cts → useUnread.d-DXcRBQw8.d.cts} +10 -7
  182. package/dist/video/index.cjs +1 -1
  183. package/dist/video/index.js +1 -1
  184. package/dist/{view.d-2RWoY9kd.d.ts → view.d-CaH6dZPJ.d.ts} +3 -3
  185. package/dist/{view.d-utmOR2ee.d.cts → view.d-DV4b1cov.d.cts} +3 -3
  186. package/dist/web/consent/index.cjs +1 -1
  187. package/dist/web/consent/index.d.cts +5 -5
  188. package/dist/web/consent/index.d.ts +5 -5
  189. package/dist/web/consent/index.js +1 -1
  190. package/dist/web/health-plan/index.cjs +15 -13
  191. package/dist/web/health-plan/index.d.cts +20 -13
  192. package/dist/web/health-plan/index.d.ts +20 -13
  193. package/dist/web/health-plan/index.js +7 -7
  194. package/dist/web/health-plan/styles.css +6 -2
  195. package/dist/web/inbox/index.cjs +1 -1
  196. package/dist/web/inbox/index.d.cts +7 -5
  197. package/dist/web/inbox/index.d.ts +7 -5
  198. package/dist/web/inbox/index.js +1 -1
  199. package/dist/web/index.cjs +71 -70
  200. package/dist/web/index.d.cts +53 -31
  201. package/dist/web/index.d.ts +53 -31
  202. package/dist/web/index.js +28 -27
  203. package/dist/web/intro/index.cjs +1 -1
  204. package/dist/web/intro/index.d.cts +7 -6
  205. package/dist/web/intro/index.d.ts +7 -6
  206. package/dist/web/intro/index.js +1 -1
  207. package/dist/web/notifications/index.cjs +1 -1
  208. package/dist/web/notifications/index.d.cts +6 -6
  209. package/dist/web/notifications/index.d.ts +6 -6
  210. package/dist/web/notifications/index.js +1 -1
  211. package/dist/web/records/depth/index.cjs +1 -1
  212. package/dist/web/records/depth/index.d.cts +9 -9
  213. package/dist/web/records/depth/index.d.ts +9 -9
  214. package/dist/web/records/depth/index.js +1 -1
  215. package/dist/web/records/index.cjs +1 -1
  216. package/dist/web/records/index.d.cts +11 -11
  217. package/dist/web/records/index.d.ts +11 -11
  218. package/dist/web/records/index.js +1 -1
  219. package/dist/web/records-sheet/index.cjs +3 -3
  220. package/dist/web/records-sheet/index.js +3 -3
  221. package/dist/web/shop/index.cjs +27 -8
  222. package/dist/web/shop/index.d.cts +4 -3
  223. package/dist/web/shop/index.d.ts +4 -3
  224. package/dist/web/shop/index.js +3 -3
  225. package/dist/web/televet/booking/index.cjs +53 -53
  226. package/dist/web/televet/booking/index.d.cts +44 -44
  227. package/dist/web/televet/booking/index.d.ts +44 -44
  228. package/dist/web/televet/booking/index.js +53 -53
  229. package/dist/web/televet/call/index.cjs +3 -3
  230. package/dist/web/televet/call/index.d.cts +7 -6
  231. package/dist/web/televet/call/index.d.ts +7 -6
  232. package/dist/web/televet/call/index.js +3 -3
  233. package/dist/web/televet/index.cjs +1 -1
  234. package/dist/web/televet/index.js +1 -1
  235. package/dist/web/texting/index.cjs +1 -1
  236. package/dist/web/texting/index.d.cts +5 -5
  237. package/dist/web/texting/index.d.ts +5 -5
  238. package/dist/web/texting/index.js +1 -1
  239. package/dist/web/ui/index.cjs +29 -10
  240. package/dist/web/ui/index.d.cts +32 -32
  241. package/dist/web/ui/index.d.ts +32 -32
  242. package/dist/web/ui/index.js +2 -2
  243. package/dist/web/ui/styles.css +46 -3
  244. package/package.json +36 -5
  245. package/slots/package.json +8 -0
  246. package/slots/weather-glyphs/package.json +8 -0
  247. package/dist/chunk-IJU5TV5N.js +0 -12
  248. package/dist/chunk-TFX6WMDN.js +0 -30
  249. package/dist/chunk-WZNPR5TY.js +0 -34
  250. package/dist/useInboxUnread.d-DDoSII8D.d.ts +0 -206
  251. package/dist/useInboxUnread.d-Dq3CCAa3.d.cts +0 -206
  252. package/dist/{IntakeMedia.d-Dqc5V_YH.d.cts → IntakeMedia.d-CO8weVGO.d.cts} +35 -35
  253. package/dist/{IntakeMedia.d-DNUAks9E.d.ts → IntakeMedia.d-DnUZJsbj.d.ts} +35 -35
@@ -2,8 +2,8 @@
2
2
  import { o as TelevetStatePolicy, k as TelevetBookingEntitlement, l as TelevetCancellationPolicy, m as TelevetClinician, c as TelevetSlot, n as TelevetSlotHold, j as TelevetBookingBody, T as TelevetConsult, b as TelevetCancelReceipt, p as TelevetTriageVerdict, h as ConsultStatus } from './televetGlobal.d-BWYJR391.cjs';
3
3
  import { E as EverfurError } from './EverfurError.d-8NHtlgzA.cjs';
4
4
  import { E as EverfurResult } from './EverfurResult.d-BFH-3s6E.cjs';
5
- import { R as RequestFunnel } from './requestFunnel.d-CQ0O8fMG.cjs';
6
- import { A as AuthContext } from './identity.d-Bnl5Z0MM.cjs';
5
+ import { R as RequestFunnel } from './requestFunnel.d-BwO-jFLX.cjs';
6
+ import { A as AuthContext } from './identity.d-_MK9Y7a4.cjs';
7
7
  import { E as ErrorPolicyPort } from './ErrorPolicyPort.d-DirW9hgO.cjs';
8
8
  import { T as TelemetryPort } from './TelemetryPort.d-BDNr00hu.cjs';
9
9
  import { b as VetCallCredential, c as VetCallJoinRefusal } from './callRoom.d-B1DoYdJe.cjs';
@@ -355,152 +355,6 @@ declare function vetThreadPetRef(pets: readonly {
355
355
  readonly petId: string | null;
356
356
  }[], petId: string | null): string | null;
357
357
 
358
- /**
359
- * The server's own demand bucket. A CLOSED SET, and callers may not substitute free text.
360
- *
361
- * THE TWO ARE CLOSED BY DIFFERENT FIXES, which is why the server distinguishes them and why a call site that
362
- * guesses is wrong in a way nobody can see: `no_licensed_vet` is closed by licensing a clinician in that
363
- * state, `no_prescribing` by a change in what that state permits remotely. The consumer container is explicit
364
- * about picking the first for an empty roster and for a blocked state
365
- * (TelevetBookingContainer.tsx, the `no_licensed_vet, not no_prescribing` comment).
366
- */
367
- type TelevetStateInterestReason = 'no_licensed_vet' | 'no_prescribing';
368
- /** What the control needs to render its lifecycle. Null means there is nothing to render; see the header. */
369
- interface TelevetStateInterestAction {
370
- /** The write SUCCEEDED in this session. Never inferred, never optimistic. */
371
- readonly joined: boolean;
372
- readonly pending: boolean;
373
- readonly failed: boolean;
374
- onPress(): void;
375
- }
376
- /**
377
- * The seam the write goes through. Resolves true on a recorded interest and false otherwise; a rejection is
378
- * caught here and read as false, so a host cannot turn a throw into a silent success.
379
- */
380
- type TelevetStateInterestWrite = (state: string, reason: TelevetStateInterestReason) => Promise<boolean>;
381
- /**
382
- * Local, per-mounted-booking feedback for the owner-initiated state-interest write.
383
- *
384
- * LOCAL SUCCESS IS DELIBERATELY EPHEMERAL, verbatim from the consumer's reasoning: the server is idempotent,
385
- * so this only prevents repeat taps in this session and "does not pretend we know the owner's durable
386
- * subscription state" (useBookingStateInterest.ts:20-25). Nothing here is persisted, because a remembered
387
- * "you are on the list" that outlived a state change would be a claim this client cannot stand behind.
388
- */
389
- declare function useStateInterest(state: string | null | undefined, write: TelevetStateInterestWrite | null | undefined): {
390
- actionFor(reason: TelevetStateInterestReason): TelevetStateInterestAction | null;
391
- };
392
-
393
- /** Why the roster is empty. Closed, because each value picks a different true sentence. */
394
- type TelevetEmptyRosterCause =
395
- /** A real, state-scoped read answered a literal empty list. A licensure gap. */
396
- 'roster'
397
- /** The route is dark for this tenant, so no read happened. Not a licensure fact. */
398
- | 'dark';
399
- /** What the empty-roster screen renders. Derived, never chosen at a call site. */
400
- interface TelevetEmptyRosterView {
401
- readonly title: string;
402
- readonly message: string;
403
- /**
404
- * The retry label, or null when a retry cannot help.
405
- *
406
- * NULL IS LOAD BEARING and is not a styling preference. `TelevetStateCard` renders its action only when a
407
- * label AND a handler are both present, so a null label removes the control rather than disabling it. A
408
- * `Check again` on a licensure gap is a button whose every press repeats the same answer.
409
- */
410
- readonly retryLabel: string | null;
411
- /**
412
- * Which demand bucket a state-interest write would carry from this screen, or null when interest cannot be
413
- * offered here.
414
- *
415
- * `no_licensed_vet`, NOT `no_prescribing`, and only on the licensure cause. The server treats the two as
416
- * distinct fixes; this one is closed by licensing a clinician in the state, which is exactly what an empty
417
- * state-scoped roster reports. Offering interest on the DARK cause would record a demand signal for a
418
- * state nobody established anything about.
419
- */
420
- readonly interestReason: 'no_licensed_vet' | null;
421
- }
422
- /**
423
- * The view for an empty roster, from the cause.
424
- *
425
- * A PURE FUNCTION over the copy deck, so both platform ports read the same three fields and neither can pick
426
- * its own sentence. It takes the CAUSE rather than a boolean, because a boolean at a call site is how the
427
- * dark tenant and the licensure gap got the same words in the first place.
428
- */
429
- declare function televetEmptyRosterView(cause: TelevetEmptyRosterCause): TelevetEmptyRosterView;
430
- /**
431
- * The cause, from what the flow knows.
432
- *
433
- * `surfaceServed` IS THE CALLER'S ONE FACT: has anything on this booking surface answered a real response?
434
- * The container derives it from the reads it has already made, and it is deliberately NOT re-derived here
435
- * from a 404, because `clinicians` has already swallowed that into `ok([])` by the time a screen sees it.
436
- * That swallow is the right call for rendering and the wrong one for this decision, which is exactly why
437
- * the fact has to be carried alongside the empty list rather than recovered from it.
438
- */
439
- declare function televetEmptyRosterCause(surfaceServed: boolean): TelevetEmptyRosterCause;
440
-
441
- /**
442
- * Why a pick was refused before it was ever sent.
443
- *
444
- * THE CONSUMER'S OWN THREE BUCKETS, not a set invented here: mobile's `ConsultAttachmentOutcome.refused` and
445
- * the web app's `ConsultAttachmentRefusal` both carry exactly `size`, `type` and `unreadable`, and each has a
446
- * ported sentence. A fourth cause with no consumer sentence would have nothing to say, so the type is closed.
447
- */
448
- type TelevetMediaRefusal = 'size' | 'type' | 'unreadable';
449
- /** Counts of what did not reach the vet, by cause. The consumer web app's `ConsultAttachmentShortfall`. */
450
- interface TelevetMediaShortfall {
451
- /** Passed the rules, then the send did not carry it. On this surface that is every pick; see the header. */
452
- readonly failed: number;
453
- readonly refused: Readonly<Record<TelevetMediaRefusal, number>>;
454
- }
455
- /** Nothing to say. Frozen and shared so a caller cannot mutate the empty case into a false report. */
456
- declare const NO_MEDIA_SHORTFALL: TelevetMediaShortfall;
457
- /** True when there is literally nothing to tell the owner. */
458
- declare function isMediaShortfallEmpty(shortfall: TelevetMediaShortfall): boolean;
459
- /**
460
- * One sentence per cause, in the consumer's order, or an empty list when there is nothing to say.
461
- *
462
- * THE ORDER IS THE CONSUMER'S AND IS NOT ALPHABETICAL: dropped, then size, then type, then unreadable. Both
463
- * consumer apps list them that way (MediaDropNotice.tsx:31-36 and consultAttachmentUpload.ts:385-403), which
464
- * puts the thing that got furthest through the flow first.
465
- *
466
- * A NEGATIVE OR NON-FINITE COUNT IS TREATED AS ZERO rather than trusted. These numbers can arrive from a
467
- * host's own upload seam, and `{n}` is interpolated straight into a sentence an owner reads: "-1 attachment
468
- * did not upload." is a defect wearing a report. It is floored rather than thrown on, because failing a
469
- * booking confirmation over a bad count would cost the owner the one screen that tells them anything.
470
- */
471
- declare function televetMediaShortfallLines(shortfall: TelevetMediaShortfall): readonly string[];
472
- /**
473
- * The shortfall THIS SURFACE actually has: every pick the owner made, reported as not sent.
474
- *
475
- * WHY THIS FUNCTION EXISTS AT ALL. The consumer apps derive their shortfall from an upload RESULT, and so
476
- * does the SDK when the televet presign is served. When it answers its dark 404 (or a host's controller has no
477
- * presign), `media_refs` leaves as `[]` whatever the owner picked, so the honest count is knowable without an
478
- * upload: it is the length of the tray.
479
- *
480
- * `failed`, NOT A REFUSAL BUCKET. The picks passed every local rule - the row accepted them, capped them at
481
- * `MEDIA_REFS_MAX` and showed them as thumbnails. Nothing about their size, type or readability is why they
482
- * did not arrive. "{n} attachments did not upload." is the true sentence; "too large to send" would be a
483
- * false explanation, and a false explanation invites the owner to re-pick a smaller photo that will be
484
- * dropped in exactly the same way.
485
- *
486
- * IT REPORTS ZERO WHEN THE TRAY IS EMPTY, so the notice mounts unconditionally and renders nothing on the
487
- * common path, which is the property the consumer component was built around (MediaDropNotice.tsx:19-20).
488
- */
489
- declare function mediaShortfallFromUnsentPicks(pickCount: number): TelevetMediaShortfall;
490
- /**
491
- * Add a refusal the ATTACHMENT ROW itself made, so a silently discarded pick is stated.
492
- *
493
- * THE ROW ALREADY DISCARDS PICKS AND SAID NOTHING. `IntakeMedia` drops a pick whose uri is already attached
494
- * and then `.slice(0, MEDIA_REFS_MAX)` cuts whatever is past the cap. Both are correct behaviours and both
495
- * were silent, so an owner who selected eight photos into a tray with three slots left saw five of them
496
- * vanish with no explanation. The consumer mobile app's cap refusal is `size`; this one is neither a size
497
- * nor a type nor an unreadable file, so it is reported as `failed` for the same reason the unsent picks are:
498
- * it is the only one of the four sentences that is TRUE, and a true vague sentence beats a false precise one.
499
- *
500
- * Returns a new object; the input is never mutated (house rule, and these are frozen anyway).
501
- */
502
- declare function withUnsentPicks(shortfall: TelevetMediaShortfall, pickCount: number): TelevetMediaShortfall;
503
-
504
358
  type TelevetBookingStep = 'pet' | 'where' | 'issues' | 'reason' | 'emergency' | 'clinician' | 'time' | 'review' | 'booked';
505
359
  /**
506
360
  * Ordered for the progress rail. `booked` is terminal and counts toward nothing: the flow is over, and
@@ -669,6 +523,152 @@ type TelevetBookingFailure = 'taken' | 'expired' | 'failed' | 'not_entitled'
669
523
  /** The partner booking surface is dark here. No retry can fix it, so the flow says so and offers its exit. */
670
524
  | 'unavailable' | null;
671
525
 
526
+ /** Why the roster is empty. Closed, because each value picks a different true sentence. */
527
+ type TelevetEmptyRosterCause =
528
+ /** A real, state-scoped read answered a literal empty list. A licensure gap. */
529
+ 'roster'
530
+ /** The route is dark for this tenant, so no read happened. Not a licensure fact. */
531
+ | 'dark';
532
+ /** What the empty-roster screen renders. Derived, never chosen at a call site. */
533
+ interface TelevetEmptyRosterView {
534
+ readonly title: string;
535
+ readonly message: string;
536
+ /**
537
+ * The retry label, or null when a retry cannot help.
538
+ *
539
+ * NULL IS LOAD BEARING and is not a styling preference. `TelevetStateCard` renders its action only when a
540
+ * label AND a handler are both present, so a null label removes the control rather than disabling it. A
541
+ * `Check again` on a licensure gap is a button whose every press repeats the same answer.
542
+ */
543
+ readonly retryLabel: string | null;
544
+ /**
545
+ * Which demand bucket a state-interest write would carry from this screen, or null when interest cannot be
546
+ * offered here.
547
+ *
548
+ * `no_licensed_vet`, NOT `no_prescribing`, and only on the licensure cause. The server treats the two as
549
+ * distinct fixes; this one is closed by licensing a clinician in the state, which is exactly what an empty
550
+ * state-scoped roster reports. Offering interest on the DARK cause would record a demand signal for a
551
+ * state nobody established anything about.
552
+ */
553
+ readonly interestReason: 'no_licensed_vet' | null;
554
+ }
555
+ /**
556
+ * The view for an empty roster, from the cause.
557
+ *
558
+ * A PURE FUNCTION over the copy deck, so both platform ports read the same three fields and neither can pick
559
+ * its own sentence. It takes the CAUSE rather than a boolean, because a boolean at a call site is how the
560
+ * dark tenant and the licensure gap got the same words in the first place.
561
+ */
562
+ declare function televetEmptyRosterView(cause: TelevetEmptyRosterCause): TelevetEmptyRosterView;
563
+ /**
564
+ * The cause, from what the flow knows.
565
+ *
566
+ * `surfaceServed` IS THE CALLER'S ONE FACT: has anything on this booking surface answered a real response?
567
+ * The container derives it from the reads it has already made, and it is deliberately NOT re-derived here
568
+ * from a 404, because `clinicians` has already swallowed that into `ok([])` by the time a screen sees it.
569
+ * That swallow is the right call for rendering and the wrong one for this decision, which is exactly why
570
+ * the fact has to be carried alongside the empty list rather than recovered from it.
571
+ */
572
+ declare function televetEmptyRosterCause(surfaceServed: boolean): TelevetEmptyRosterCause;
573
+
574
+ /**
575
+ * Why a pick was refused before it was ever sent.
576
+ *
577
+ * THE CONSUMER'S OWN THREE BUCKETS, not a set invented here: mobile's `ConsultAttachmentOutcome.refused` and
578
+ * the web app's `ConsultAttachmentRefusal` both carry exactly `size`, `type` and `unreadable`, and each has a
579
+ * ported sentence. A fourth cause with no consumer sentence would have nothing to say, so the type is closed.
580
+ */
581
+ type TelevetMediaRefusal = 'size' | 'type' | 'unreadable';
582
+ /** Counts of what did not reach the vet, by cause. The consumer web app's `ConsultAttachmentShortfall`. */
583
+ interface TelevetMediaShortfall {
584
+ /** Passed the rules, then the send did not carry it. On this surface that is every pick; see the header. */
585
+ readonly failed: number;
586
+ readonly refused: Readonly<Record<TelevetMediaRefusal, number>>;
587
+ }
588
+ /** Nothing to say. Frozen and shared so a caller cannot mutate the empty case into a false report. */
589
+ declare const NO_MEDIA_SHORTFALL: TelevetMediaShortfall;
590
+ /** True when there is literally nothing to tell the owner. */
591
+ declare function isMediaShortfallEmpty(shortfall: TelevetMediaShortfall): boolean;
592
+ /**
593
+ * One sentence per cause, in the consumer's order, or an empty list when there is nothing to say.
594
+ *
595
+ * THE ORDER IS THE CONSUMER'S AND IS NOT ALPHABETICAL: dropped, then size, then type, then unreadable. Both
596
+ * consumer apps list them that way (MediaDropNotice.tsx:31-36 and consultAttachmentUpload.ts:385-403), which
597
+ * puts the thing that got furthest through the flow first.
598
+ *
599
+ * A NEGATIVE OR NON-FINITE COUNT IS TREATED AS ZERO rather than trusted. These numbers can arrive from a
600
+ * host's own upload seam, and `{n}` is interpolated straight into a sentence an owner reads: "-1 attachment
601
+ * did not upload." is a defect wearing a report. It is floored rather than thrown on, because failing a
602
+ * booking confirmation over a bad count would cost the owner the one screen that tells them anything.
603
+ */
604
+ declare function televetMediaShortfallLines(shortfall: TelevetMediaShortfall): readonly string[];
605
+ /**
606
+ * The shortfall THIS SURFACE actually has: every pick the owner made, reported as not sent.
607
+ *
608
+ * WHY THIS FUNCTION EXISTS AT ALL. The consumer apps derive their shortfall from an upload RESULT, and so
609
+ * does the SDK when the televet presign is served. When it answers its dark 404 (or a host's controller has no
610
+ * presign), `media_refs` leaves as `[]` whatever the owner picked, so the honest count is knowable without an
611
+ * upload: it is the length of the tray.
612
+ *
613
+ * `failed`, NOT A REFUSAL BUCKET. The picks passed every local rule - the row accepted them, capped them at
614
+ * `MEDIA_REFS_MAX` and showed them as thumbnails. Nothing about their size, type or readability is why they
615
+ * did not arrive. "{n} attachments did not upload." is the true sentence; "too large to send" would be a
616
+ * false explanation, and a false explanation invites the owner to re-pick a smaller photo that will be
617
+ * dropped in exactly the same way.
618
+ *
619
+ * IT REPORTS ZERO WHEN THE TRAY IS EMPTY, so the notice mounts unconditionally and renders nothing on the
620
+ * common path, which is the property the consumer component was built around (MediaDropNotice.tsx:19-20).
621
+ */
622
+ declare function mediaShortfallFromUnsentPicks(pickCount: number): TelevetMediaShortfall;
623
+ /**
624
+ * Add a refusal the ATTACHMENT ROW itself made, so a silently discarded pick is stated.
625
+ *
626
+ * THE ROW ALREADY DISCARDS PICKS AND SAID NOTHING. `IntakeMedia` drops a pick whose uri is already attached
627
+ * and then `.slice(0, MEDIA_REFS_MAX)` cuts whatever is past the cap. Both are correct behaviours and both
628
+ * were silent, so an owner who selected eight photos into a tray with three slots left saw five of them
629
+ * vanish with no explanation. The consumer mobile app's cap refusal is `size`; this one is neither a size
630
+ * nor a type nor an unreadable file, so it is reported as `failed` for the same reason the unsent picks are:
631
+ * it is the only one of the four sentences that is TRUE, and a true vague sentence beats a false precise one.
632
+ *
633
+ * Returns a new object; the input is never mutated (house rule, and these are frozen anyway).
634
+ */
635
+ declare function withUnsentPicks(shortfall: TelevetMediaShortfall, pickCount: number): TelevetMediaShortfall;
636
+
637
+ /**
638
+ * The server's own demand bucket. A CLOSED SET, and callers may not substitute free text.
639
+ *
640
+ * THE TWO ARE CLOSED BY DIFFERENT FIXES, which is why the server distinguishes them and why a call site that
641
+ * guesses is wrong in a way nobody can see: `no_licensed_vet` is closed by licensing a clinician in that
642
+ * state, `no_prescribing` by a change in what that state permits remotely. The consumer container is explicit
643
+ * about picking the first for an empty roster and for a blocked state
644
+ * (TelevetBookingContainer.tsx, the `no_licensed_vet, not no_prescribing` comment).
645
+ */
646
+ type TelevetStateInterestReason = 'no_licensed_vet' | 'no_prescribing';
647
+ /** What the control needs to render its lifecycle. Null means there is nothing to render; see the header. */
648
+ interface TelevetStateInterestAction {
649
+ /** The write SUCCEEDED in this session. Never inferred, never optimistic. */
650
+ readonly joined: boolean;
651
+ readonly pending: boolean;
652
+ readonly failed: boolean;
653
+ onPress(): void;
654
+ }
655
+ /**
656
+ * The seam the write goes through. Resolves true on a recorded interest and false otherwise; a rejection is
657
+ * caught here and read as false, so a host cannot turn a throw into a silent success.
658
+ */
659
+ type TelevetStateInterestWrite = (state: string, reason: TelevetStateInterestReason) => Promise<boolean>;
660
+ /**
661
+ * Local, per-mounted-booking feedback for the owner-initiated state-interest write.
662
+ *
663
+ * LOCAL SUCCESS IS DELIBERATELY EPHEMERAL, verbatim from the consumer's reasoning: the server is idempotent,
664
+ * so this only prevents repeat taps in this session and "does not pretend we know the owner's durable
665
+ * subscription state" (useBookingStateInterest.ts:20-25). Nothing here is persisted, because a remembered
666
+ * "you are on the list" that outlived a state change would be a claim this client cannot stand behind.
667
+ */
668
+ declare function useStateInterest(state: string | null | undefined, write: TelevetStateInterestWrite | null | undefined): {
669
+ actionFor(reason: TelevetStateInterestReason): TelevetStateInterestAction | null;
670
+ };
671
+
672
672
  declare const VET_MESSAGES_COPY: Readonly<{
673
673
  /** ARTIFACT (MOBILE `vet`, `vet-upcoming`; WEB `video`): the card's title. */
674
674
  messagesTitle: "Messages";
@@ -1,6 +1,6 @@
1
1
  /*! @everfur/sdk. Copyright (c) 2026 Strand Health Inc. dba Everfur. All rights reserved. Use is subject to the Everfur SDK License: https://docs.everfur.com/license */
2
- import { d as EverfurFontWeight, q as EverfurThemeSlotName, a as EverfurFontFaceKey, r as EverfurThemeSlots, c as EverfurFontSource } from './tokens.d-BUVqme2D.js';
3
- import { P as PRESENTATION_LOCK, k as PRESENTATION_LOCK_PREFIX, i as EverfurPresentationInput } from './presentation.d-Bs8xQ4gD.js';
2
+ import { d as EverfurFontWeight, r as EverfurThemeSlotName, m as EverfurTextScaleTier, t as EverfurTypeRole, v as EverfurTypeRoleStyle, a as EverfurFontFaceKey, s as EverfurThemeSlots, c as EverfurFontSource } from './tokens.d-DH1mYjZl.js';
3
+ import { P as PRESENTATION_LOCK, k as PRESENTATION_LOCK_PREFIX, i as EverfurPresentationInput } from './presentation.d-BvZs_jN-.js';
4
4
 
5
5
  /** The presets an appearance may start from. `everfur` is the compiled default. */
6
6
  declare const APPEARANCE_PRESET_NAMES: readonly ["everfur", "minimal", "night"];
@@ -134,6 +134,28 @@ type EverfurThemeFontFaceKey = 'regular' | 'medium' | 'bold' | 'mono' | 'monoMed
134
134
  type EverfurThemeFontsInput = Readonly<Partial<Record<EverfurThemeFontFaceKey, string>>>;
135
135
  /** The `font_urls` map on the `theme` prop (web only): a brand-font URL per face, any subset. */
136
136
  type EverfurThemeFontUrlsInput = Readonly<Partial<Record<EverfurThemeFontFaceKey, string>>>;
137
+ /**
138
+ * One role's override on the `theme` prop (`type_roles`): any subset of its size (px, 8 to 48), line height (a multiple
139
+ * of the size, 1 to 2), weight (100 to 900), face (`sans`, `heading` or `mono`), tracking (em, -0.1 to 0.3) and case.
140
+ * The snake_case wire keys are accepted beside the camelCase ones.
141
+ */
142
+ interface EverfurTypeRoleInput {
143
+ readonly size?: number | string;
144
+ readonly lineHeight?: number | string;
145
+ readonly line_height?: number | string;
146
+ readonly weight?: number | string;
147
+ readonly face?: string;
148
+ readonly letterSpacing?: number | string;
149
+ readonly letter_spacing?: number | string;
150
+ readonly uppercase?: boolean;
151
+ }
152
+ /** The `type_roles` map on the `theme` prop: any subset of the roles (`TYPE_ROLE_NAMES`). */
153
+ type EverfurTypeRolesInput = Readonly<Partial<Record<'display' | 'title' | 'cardTitle' | 'rowTitle' | 'body' | 'message' | 'bodySmall' | 'caption' | 'label' | 'eyebrow' | 'chip' | 'tab' | 'button' | 'badge', EverfurTypeRoleInput>>>;
154
+ /**
155
+ * The `text_scale_caps` map on the `theme` prop: how far each text tier follows the user's text size, as React Native's
156
+ * `maxFontSizeMultiplier` (1 to 3.1, or 0 for no cap). Any subset of `content`, `heading`, `control`, `compact`, `badge`.
157
+ */
158
+ type EverfurTextScaleCapsInput = Readonly<Partial<Record<'content' | 'heading' | 'control' | 'compact' | 'badge', number | string>>>;
137
159
  /**
138
160
  * The client `theme` prop. Any shape is tolerated (unknown keys are ignored, malformed values are dropped); the
139
161
  * named keys are the ones the resolver reads, in the console's snake_case with camelCase twins.
@@ -206,6 +228,22 @@ interface EverfurThemeInput {
206
228
  */
207
229
  readonly accessibility_max_font_scale?: number | string;
208
230
  readonly accessibilityMaxFontScale?: number | string;
231
+ /**
232
+ * The cap of each text tier, over the host's own (React Native: content uncapped, headings 1.4, controls 1.35, chips 1.3,
233
+ * badges 1.2; the web: content uncapped, headings 2, controls 1.8, chips 1.5, badges 1.3). 0 lifts a tier's cap.
234
+ * `accessibility_max_font_scale` still lowers the chrome tiers under it.
235
+ */
236
+ readonly text_scale_caps?: EverfurTextScaleCapsInput;
237
+ readonly textScaleCaps?: EverfurTextScaleCapsInput;
238
+ /** One factor over every text size, 0.8 to 1.3 (clamped). Default 1. */
239
+ readonly type_scale?: number | string;
240
+ readonly typeScale?: number | string;
241
+ /**
242
+ * The type scale by role (`theme.type.roles`): any role's size, line height, weight, face, tracking or case. A size
243
+ * here is the role's size at `type_scale` 1; `type_scale` still multiplies it.
244
+ */
245
+ readonly type_roles?: EverfurTypeRolesInput;
246
+ readonly typeRoles?: EverfurTypeRolesInput;
209
247
  /** Paint overrides at the named slots. */
210
248
  readonly slots?: EverfurThemeSlotsInput;
211
249
  /**
@@ -231,7 +269,7 @@ interface EverfurThemeInput {
231
269
  /** Errors and destructive actions on the dark palette; absent, derived from `danger_color`. */
232
270
  readonly danger_color_dark?: string | number;
233
271
  readonly dangerColorDark?: string | number;
234
- /** The body text size in px, 12 to 20 (clamped); every size scales from it. Default 14. */
272
+ /** The body text size in px, 12 to 20 (clamped); every size scales from it. Default: React Native 15, the web 17. */
235
273
  readonly font_size_base?: number | string;
236
274
  readonly fontSizeBase?: number | string;
237
275
  /** The medium corner radius in px, 0 to 32 (clamped); every radius but the pill scales from it. Default 14. */
@@ -277,6 +315,30 @@ interface EverfurThemeInput {
277
315
  readonly [key: string]: unknown;
278
316
  }
279
317
 
318
+ /** The roles map of a theme. */
319
+ type EverfurTypeRoles = Readonly<Record<EverfurTypeRole, EverfurTypeRoleStyle>>;
320
+ /** One role's parsed override: only the keys the input set. */
321
+ type EverfurTypeRoleOverride = Readonly<Partial<Omit<EverfurTypeRoleStyle, 'tier'>>>;
322
+ /** The parsed `type_roles`. */
323
+ type EverfurTypeRoleOverrides = Readonly<Partial<Record<EverfurTypeRole, EverfurTypeRoleOverride>>>;
324
+ /** The parsed `text_scale_caps`. */
325
+ type EverfurTextScaleCapOverrides = Readonly<Partial<Record<EverfurTextScaleTier, number>>>;
326
+ /** The clamp ranges of the role keys and the factor. */
327
+ declare const TYPE_ROLE_RANGES: Readonly<{
328
+ size: Readonly<{
329
+ min: 8;
330
+ max: 48;
331
+ }>;
332
+ letterSpacing: Readonly<{
333
+ min: -0.1;
334
+ max: 0.3;
335
+ }>;
336
+ typeScale: Readonly<{
337
+ min: 0.8;
338
+ max: 1.3;
339
+ }>;
340
+ }>;
341
+
280
342
  interface ClientBranding {
281
343
  readonly displayName: string | null;
282
344
  /** normalized (https-hardened downstream) logo URL */
@@ -397,6 +459,12 @@ interface ClientBranding {
397
459
  readonly fontSources?: readonly EverfurFontSource[] | null;
398
460
  /** assistant_avatar_url: the image beside an assistant message (https only downstream); absent/null keeps the mark. */
399
461
  readonly assistantAvatarUrl?: string | null;
462
+ /** text_scale_caps: each text tier's cap (0 = none, else 1..3.1), over the host's own; absent/null keeps them. */
463
+ readonly textScaleCaps?: EverfurTextScaleCapOverrides | null;
464
+ /** type_scale: one factor over every text size (0.8..1.3, clamped); absent/null keeps 1. */
465
+ readonly typeScale?: number | null;
466
+ /** type_roles: any key of any type role (`theme.type.roles`); absent/null keeps the measured roles. */
467
+ readonly typeRoles?: EverfurTypeRoleOverrides | null;
400
468
  }
401
469
  /** The compiled surface a branding may pick for the chat ground (`surface_style`). */
402
470
  type SurfaceStyle = 'white' | 'cream' | 'subtle';
@@ -442,4 +510,4 @@ declare function hardenHttpsUrl(url: string | null): string | null;
442
510
  /** The URL when it is an Everfur brand asset (see above), else null. Total; never throws. */
443
511
  declare function hardenBrandAssetUrl(url: string | null): string | null;
444
512
 
445
- export { APPEARANCE_PRESETS as A, type ClientBranding as C, type EverfurThemeInput as E, LOCKABLE_THEME_FIELDS as L, MAX_FONT_SCALE_CEILING as M, type RadiusScale as R, type SurfaceStyle as S, THEME_SCHEMA_VERSIONS as T, APPEARANCE_PRESET_NAMES as a, APPEARANCE_SIZE_RANGES as b, type EverfurAppearance as c, type EverfurAppearanceFont as d, type EverfurAppearancePreset as e, type EverfurAppearanceRules as f, type EverfurAppearanceVariables as g, type EverfurThemeFontFaceKey as h, type EverfurThemeFontUrlsInput as i, type EverfurThemeFontsInput as j, type EverfurThemeSlotInput as k, type EverfurThemeSlotsInput as l, expandAppearance as m, type LockableThemeField as n, SLOT_LOCK_PREFIX as o, type SlotLockName as p, type ThemeLockName as q, hardenBrandAssetUrl as r, hardenHttpsUrl as s, isEmptyBranding as t, isKnownBrandingSchema as u, lockedFieldsOf as v, parseClientBranding as w, parsePx as x };
513
+ export { APPEARANCE_PRESETS as A, hardenHttpsUrl as B, type ClientBranding as C, isEmptyBranding as D, type EverfurThemeInput as E, isKnownBrandingSchema as F, lockedFieldsOf as G, parseClientBranding as H, parsePx as I, LOCKABLE_THEME_FIELDS as L, MAX_FONT_SCALE_CEILING as M, type RadiusScale as R, type SurfaceStyle as S, THEME_SCHEMA_VERSIONS as T, APPEARANCE_PRESET_NAMES as a, APPEARANCE_SIZE_RANGES as b, type EverfurAppearance as c, type EverfurAppearanceFont as d, type EverfurAppearancePreset as e, type EverfurAppearanceRules as f, type EverfurAppearanceVariables as g, type EverfurTextScaleCapsInput as h, type EverfurThemeFontFaceKey as i, type EverfurThemeFontUrlsInput as j, type EverfurThemeFontsInput as k, type EverfurThemeSlotInput as l, type EverfurThemeSlotsInput as m, type EverfurTypeRoleInput as n, type EverfurTypeRolesInput as o, expandAppearance as p, type EverfurTextScaleCapOverrides as q, type EverfurTypeRoleOverride as r, type EverfurTypeRoleOverrides as s, type EverfurTypeRoles as t, type LockableThemeField as u, SLOT_LOCK_PREFIX as v, type SlotLockName as w, TYPE_ROLE_RANGES as x, type ThemeLockName as y, hardenBrandAssetUrl as z };
@@ -1,6 +1,6 @@
1
1
  /*! @everfur/sdk. Copyright (c) 2026 Strand Health Inc. dba Everfur. All rights reserved. Use is subject to the Everfur SDK License: https://docs.everfur.com/license */
2
- import { d as EverfurFontWeight, q as EverfurThemeSlotName, a as EverfurFontFaceKey, r as EverfurThemeSlots, c as EverfurFontSource } from './tokens.d-BUVqme2D.cjs';
3
- import { P as PRESENTATION_LOCK, k as PRESENTATION_LOCK_PREFIX, i as EverfurPresentationInput } from './presentation.d-Bs8xQ4gD.cjs';
2
+ import { d as EverfurFontWeight, r as EverfurThemeSlotName, m as EverfurTextScaleTier, t as EverfurTypeRole, v as EverfurTypeRoleStyle, a as EverfurFontFaceKey, s as EverfurThemeSlots, c as EverfurFontSource } from './tokens.d-DH1mYjZl.cjs';
3
+ import { P as PRESENTATION_LOCK, k as PRESENTATION_LOCK_PREFIX, i as EverfurPresentationInput } from './presentation.d-BvZs_jN-.cjs';
4
4
 
5
5
  /** The presets an appearance may start from. `everfur` is the compiled default. */
6
6
  declare const APPEARANCE_PRESET_NAMES: readonly ["everfur", "minimal", "night"];
@@ -134,6 +134,28 @@ type EverfurThemeFontFaceKey = 'regular' | 'medium' | 'bold' | 'mono' | 'monoMed
134
134
  type EverfurThemeFontsInput = Readonly<Partial<Record<EverfurThemeFontFaceKey, string>>>;
135
135
  /** The `font_urls` map on the `theme` prop (web only): a brand-font URL per face, any subset. */
136
136
  type EverfurThemeFontUrlsInput = Readonly<Partial<Record<EverfurThemeFontFaceKey, string>>>;
137
+ /**
138
+ * One role's override on the `theme` prop (`type_roles`): any subset of its size (px, 8 to 48), line height (a multiple
139
+ * of the size, 1 to 2), weight (100 to 900), face (`sans`, `heading` or `mono`), tracking (em, -0.1 to 0.3) and case.
140
+ * The snake_case wire keys are accepted beside the camelCase ones.
141
+ */
142
+ interface EverfurTypeRoleInput {
143
+ readonly size?: number | string;
144
+ readonly lineHeight?: number | string;
145
+ readonly line_height?: number | string;
146
+ readonly weight?: number | string;
147
+ readonly face?: string;
148
+ readonly letterSpacing?: number | string;
149
+ readonly letter_spacing?: number | string;
150
+ readonly uppercase?: boolean;
151
+ }
152
+ /** The `type_roles` map on the `theme` prop: any subset of the roles (`TYPE_ROLE_NAMES`). */
153
+ type EverfurTypeRolesInput = Readonly<Partial<Record<'display' | 'title' | 'cardTitle' | 'rowTitle' | 'body' | 'message' | 'bodySmall' | 'caption' | 'label' | 'eyebrow' | 'chip' | 'tab' | 'button' | 'badge', EverfurTypeRoleInput>>>;
154
+ /**
155
+ * The `text_scale_caps` map on the `theme` prop: how far each text tier follows the user's text size, as React Native's
156
+ * `maxFontSizeMultiplier` (1 to 3.1, or 0 for no cap). Any subset of `content`, `heading`, `control`, `compact`, `badge`.
157
+ */
158
+ type EverfurTextScaleCapsInput = Readonly<Partial<Record<'content' | 'heading' | 'control' | 'compact' | 'badge', number | string>>>;
137
159
  /**
138
160
  * The client `theme` prop. Any shape is tolerated (unknown keys are ignored, malformed values are dropped); the
139
161
  * named keys are the ones the resolver reads, in the console's snake_case with camelCase twins.
@@ -206,6 +228,22 @@ interface EverfurThemeInput {
206
228
  */
207
229
  readonly accessibility_max_font_scale?: number | string;
208
230
  readonly accessibilityMaxFontScale?: number | string;
231
+ /**
232
+ * The cap of each text tier, over the host's own (React Native: content uncapped, headings 1.4, controls 1.35, chips 1.3,
233
+ * badges 1.2; the web: content uncapped, headings 2, controls 1.8, chips 1.5, badges 1.3). 0 lifts a tier's cap.
234
+ * `accessibility_max_font_scale` still lowers the chrome tiers under it.
235
+ */
236
+ readonly text_scale_caps?: EverfurTextScaleCapsInput;
237
+ readonly textScaleCaps?: EverfurTextScaleCapsInput;
238
+ /** One factor over every text size, 0.8 to 1.3 (clamped). Default 1. */
239
+ readonly type_scale?: number | string;
240
+ readonly typeScale?: number | string;
241
+ /**
242
+ * The type scale by role (`theme.type.roles`): any role's size, line height, weight, face, tracking or case. A size
243
+ * here is the role's size at `type_scale` 1; `type_scale` still multiplies it.
244
+ */
245
+ readonly type_roles?: EverfurTypeRolesInput;
246
+ readonly typeRoles?: EverfurTypeRolesInput;
209
247
  /** Paint overrides at the named slots. */
210
248
  readonly slots?: EverfurThemeSlotsInput;
211
249
  /**
@@ -231,7 +269,7 @@ interface EverfurThemeInput {
231
269
  /** Errors and destructive actions on the dark palette; absent, derived from `danger_color`. */
232
270
  readonly danger_color_dark?: string | number;
233
271
  readonly dangerColorDark?: string | number;
234
- /** The body text size in px, 12 to 20 (clamped); every size scales from it. Default 14. */
272
+ /** The body text size in px, 12 to 20 (clamped); every size scales from it. Default: React Native 15, the web 17. */
235
273
  readonly font_size_base?: number | string;
236
274
  readonly fontSizeBase?: number | string;
237
275
  /** The medium corner radius in px, 0 to 32 (clamped); every radius but the pill scales from it. Default 14. */
@@ -277,6 +315,30 @@ interface EverfurThemeInput {
277
315
  readonly [key: string]: unknown;
278
316
  }
279
317
 
318
+ /** The roles map of a theme. */
319
+ type EverfurTypeRoles = Readonly<Record<EverfurTypeRole, EverfurTypeRoleStyle>>;
320
+ /** One role's parsed override: only the keys the input set. */
321
+ type EverfurTypeRoleOverride = Readonly<Partial<Omit<EverfurTypeRoleStyle, 'tier'>>>;
322
+ /** The parsed `type_roles`. */
323
+ type EverfurTypeRoleOverrides = Readonly<Partial<Record<EverfurTypeRole, EverfurTypeRoleOverride>>>;
324
+ /** The parsed `text_scale_caps`. */
325
+ type EverfurTextScaleCapOverrides = Readonly<Partial<Record<EverfurTextScaleTier, number>>>;
326
+ /** The clamp ranges of the role keys and the factor. */
327
+ declare const TYPE_ROLE_RANGES: Readonly<{
328
+ size: Readonly<{
329
+ min: 8;
330
+ max: 48;
331
+ }>;
332
+ letterSpacing: Readonly<{
333
+ min: -0.1;
334
+ max: 0.3;
335
+ }>;
336
+ typeScale: Readonly<{
337
+ min: 0.8;
338
+ max: 1.3;
339
+ }>;
340
+ }>;
341
+
280
342
  interface ClientBranding {
281
343
  readonly displayName: string | null;
282
344
  /** normalized (https-hardened downstream) logo URL */
@@ -397,6 +459,12 @@ interface ClientBranding {
397
459
  readonly fontSources?: readonly EverfurFontSource[] | null;
398
460
  /** assistant_avatar_url: the image beside an assistant message (https only downstream); absent/null keeps the mark. */
399
461
  readonly assistantAvatarUrl?: string | null;
462
+ /** text_scale_caps: each text tier's cap (0 = none, else 1..3.1), over the host's own; absent/null keeps them. */
463
+ readonly textScaleCaps?: EverfurTextScaleCapOverrides | null;
464
+ /** type_scale: one factor over every text size (0.8..1.3, clamped); absent/null keeps 1. */
465
+ readonly typeScale?: number | null;
466
+ /** type_roles: any key of any type role (`theme.type.roles`); absent/null keeps the measured roles. */
467
+ readonly typeRoles?: EverfurTypeRoleOverrides | null;
400
468
  }
401
469
  /** The compiled surface a branding may pick for the chat ground (`surface_style`). */
402
470
  type SurfaceStyle = 'white' | 'cream' | 'subtle';
@@ -442,4 +510,4 @@ declare function hardenHttpsUrl(url: string | null): string | null;
442
510
  /** The URL when it is an Everfur brand asset (see above), else null. Total; never throws. */
443
511
  declare function hardenBrandAssetUrl(url: string | null): string | null;
444
512
 
445
- export { APPEARANCE_PRESETS as A, type ClientBranding as C, type EverfurThemeInput as E, LOCKABLE_THEME_FIELDS as L, MAX_FONT_SCALE_CEILING as M, type RadiusScale as R, type SurfaceStyle as S, THEME_SCHEMA_VERSIONS as T, APPEARANCE_PRESET_NAMES as a, APPEARANCE_SIZE_RANGES as b, type EverfurAppearance as c, type EverfurAppearanceFont as d, type EverfurAppearancePreset as e, type EverfurAppearanceRules as f, type EverfurAppearanceVariables as g, type EverfurThemeFontFaceKey as h, type EverfurThemeFontUrlsInput as i, type EverfurThemeFontsInput as j, type EverfurThemeSlotInput as k, type EverfurThemeSlotsInput as l, expandAppearance as m, type LockableThemeField as n, SLOT_LOCK_PREFIX as o, type SlotLockName as p, type ThemeLockName as q, hardenBrandAssetUrl as r, hardenHttpsUrl as s, isEmptyBranding as t, isKnownBrandingSchema as u, lockedFieldsOf as v, parseClientBranding as w, parsePx as x };
513
+ export { APPEARANCE_PRESETS as A, hardenHttpsUrl as B, type ClientBranding as C, isEmptyBranding as D, type EverfurThemeInput as E, isKnownBrandingSchema as F, lockedFieldsOf as G, parseClientBranding as H, parsePx as I, LOCKABLE_THEME_FIELDS as L, MAX_FONT_SCALE_CEILING as M, type RadiusScale as R, type SurfaceStyle as S, THEME_SCHEMA_VERSIONS as T, APPEARANCE_PRESET_NAMES as a, APPEARANCE_SIZE_RANGES as b, type EverfurAppearance as c, type EverfurAppearanceFont as d, type EverfurAppearancePreset as e, type EverfurAppearanceRules as f, type EverfurAppearanceVariables as g, type EverfurTextScaleCapsInput as h, type EverfurThemeFontFaceKey as i, type EverfurThemeFontUrlsInput as j, type EverfurThemeFontsInput as k, type EverfurThemeSlotInput as l, type EverfurThemeSlotsInput as m, type EverfurTypeRoleInput as n, type EverfurTypeRolesInput as o, expandAppearance as p, type EverfurTextScaleCapOverrides as q, type EverfurTypeRoleOverride as r, type EverfurTypeRoleOverrides as s, type EverfurTypeRoles as t, type LockableThemeField as u, SLOT_LOCK_PREFIX as v, type SlotLockName as w, TYPE_ROLE_RANGES as x, type ThemeLockName as y, hardenBrandAssetUrl as z };
@@ -1,6 +1,6 @@
1
1
  /*! @everfur/sdk. Copyright (c) 2026 Strand Health Inc. dba Everfur. All rights reserved. Use is subject to the Everfur SDK License: https://docs.everfur.com/license */
2
2
  import { E as EverfurResult } from './EverfurResult.d-D_-254ZY.js';
3
- import { A as AuthContext } from './identity.d-DR5YwO6E.js';
3
+ import { A as AuthContext } from './identity.d-B7dPRGqm.js';
4
4
  import { P as PetRef } from './ids.d-B2GAAifq.js';
5
5
 
6
6
  /** The owner's answer to a check-in, the wire values of the consumer `CheckinResponse` enum. */
@@ -1,6 +1,6 @@
1
1
  /*! @everfur/sdk. Copyright (c) 2026 Strand Health Inc. dba Everfur. All rights reserved. Use is subject to the Everfur SDK License: https://docs.everfur.com/license */
2
2
  import { E as EverfurResult } from './EverfurResult.d-BFH-3s6E.cjs';
3
- import { A as AuthContext } from './identity.d-Bnl5Z0MM.cjs';
3
+ import { A as AuthContext } from './identity.d-_MK9Y7a4.cjs';
4
4
  import { P as PetRef } from './ids.d-B2GAAifq.cjs';
5
5
 
6
6
  /** The owner's answer to a check-in, the wire values of the consumer `CheckinResponse` enum. */