@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
@@ -1,5 +1,5 @@
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 { a as HealthPlanPetWords, H as HealthPlanPage } from './focus.d-CYwVLDvR.js';
2
+ import { a as HealthPlanPetWords, H as HealthPlanPage } from './focus.d-7G0BBmA9.js';
3
3
  import { P as PetRef } from './ids.d-B2GAAifq.js';
4
4
 
5
5
  /**
@@ -1,5 +1,5 @@
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 { a as HealthPlanPetWords, H as HealthPlanPage } from './focus.d-9loikWy8.cjs';
2
+ import { a as HealthPlanPetWords, H as HealthPlanPage } from './focus.d-B0qweva0.cjs';
3
3
  import { P as PetRef } from './ids.d-B2GAAifq.cjs';
4
4
 
5
5
  /**
@@ -1,50 +1,9 @@
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 { s as HealthPlanReasonKind, b as HealthPlanItem, p as HealthPlan, q as HealthPlanRepository, t as HealthPlanPagePet, c as HealthPlanFocusDesign, H as HealthPlanPage } from './focus.d-9loikWy8.cjs';
3
2
  import { ReactNode } from 'react';
4
3
  import { E as EverfurError } from './EverfurError.d-8NHtlgzA.cjs';
5
4
  import { P as PetRef } from './ids.d-B2GAAifq.cjs';
5
+ import { H as HealthPlanItem, a as HealthPlan, b as HealthPlanRepository } from './healthPlanRepository.d-fPbLceBr.cjs';
6
6
  import { L as LifecyclePort } from './LifecyclePort.d-Cr1p33a7.cjs';
7
- import { e as RecordsRequestView, g as RecordsView } from './models.d-BN53M9sU.cjs';
8
- import { c as EverfurChatTopCardRow, a as EverfurChatTopCard } from './threadOptions.d-CW51PyVd.cjs';
9
- import { i as EverfurPresentationInput, h as EverfurPresentation } from './presentation.d-Bs8xQ4gD.cjs';
10
-
11
- declare const HEALTH_PLAN_COPY: Readonly<{
12
- loading: "Loading";
13
- retry: "Try again";
14
- signedOut: "Sign in required";
15
- addToCart: "Add to cart";
16
- added: "Added";
17
- remove: "Remove";
18
- checkout: "Checkout";
19
- subtotal: "Subtotal";
20
- sample: "Sample";
21
- cartEmpty: "Your cart is empty.";
22
- choosePet: "Choose a pet";
23
- emptyTitle: "";
24
- emptyBody: "";
25
- emptyAsk: "";
26
- }>;
27
- /** The Health Plan's empty state words (Q1). Each is '' by default: an empty title and body draw nothing. */
28
- interface HealthPlanEmptyCopy {
29
- readonly emptyTitle: string;
30
- readonly emptyBody: string;
31
- /** The empty state's Ask button. */
32
- readonly emptyAsk: string;
33
- }
34
- /**
35
- * The reason labels, one per kind. An empty label is not drawn (the reason's text still is). `profile` (a pet profile
36
- * fact) has no source yet; `dna` names one partner's product, so the SDK leaves it to that partner (Q3).
37
- */
38
- declare const HEALTH_PLAN_REASON_LABELS: Readonly<Record<HealthPlanReasonKind, string>>;
39
- /** ADAPTED from the designer. Listed for approval. */
40
- declare const HEALTH_PLAN_TEMPLATES: Readonly<{
41
- /** The designer: "{pet}'s care plan". Used only when the plan carries no `headline` of the tenant's own. */
42
- planTitle: (petName: string) => string;
43
- /** The designer: "<brand> cart" (his demo named the partner). */
44
- cartLabel: (brand: string) => string;
45
- }>;
46
- /** Every key still waiting on the design's words (empty, so not drawn), so the list a reviewer approves cannot drift from the file. */
47
- declare const HEALTH_PLAN_COPY_PLACEHOLDERS: readonly string[];
48
7
 
49
8
  type EverfurHealthPlanStatus = 'signedOut' | 'noPet' | 'loading' | 'failed' | 'empty' | 'ready';
50
9
  /** The member's cart: the items in the plan, and their total when one can honestly be given. */
@@ -249,97 +208,4 @@ interface HealthPlanLayoutProps extends HealthPlanCardOptions {
249
208
  */
250
209
  declare function isHealthPlanSessionRequired(error: EverfurError | null): boolean;
251
210
 
252
- /** Where her clinic request stands, for the three blanks. */
253
- type HealthPlanBlanksPhase = 'wait' | 'filled';
254
- interface HealthPlanBlanksFacts {
255
- readonly phase: HealthPlanBlanksPhase;
256
- /** The request's id: the plan flashes the filled blanks once per request. */
257
- readonly requestId: string;
258
- /** The clinic the request went to, as the member chose it; null when the request does not name one. */
259
- readonly clinicName: string | null;
260
- /** Her latest weight in her vet records, in kilograms; null when they hold none (or before they land). */
261
- readonly weightKg: number | null;
262
- /** When her next vaccine is due (ms, a UTC day), the earliest one due from today on; null when none is. */
263
- readonly nextShotsAt: number | null;
264
- }
265
- /**
266
- * Her latest weight from her vet records: the record's weight series and weight facts, newest first. A reading the
267
- * owner typed (`owner_reported`) is not her vet records' and is skipped.
268
- */
269
- declare function healthPlanRecordsWeightKg(record: RecordsView | null): number | null;
270
- /** The earliest vaccine her record says is due from `today` (ms, the start of a UTC day) on. */
271
- declare function healthPlanNextShotsAt(record: RecordsView | null, today: number): number | null;
272
- /**
273
- * The three blanks from her records read: the latest clinic request and the record. `now` is a clock reading (ms).
274
- * Null when there is no card to draw.
275
- */
276
- declare function healthPlanBlanksFacts(input: {
277
- readonly requests: readonly RecordsRequestView[];
278
- readonly record: RecordsView | null;
279
- }, now: number): HealthPlanBlanksFacts | null;
280
-
281
- /** The page's focus, as the copy functions receive it. */
282
- type HealthPlanTopCardFocus = NonNullable<HealthPlanFocusDesign['focus']>;
283
- /** Who the card is about: the page's pet and the possessive its words use ("her", "his", "{pet}'s"), or null. */
284
- interface HealthPlanTopCardPet {
285
- readonly pet: HealthPlanPagePet;
286
- readonly possessive: string | null;
287
- }
288
- /** The card's own words. Defaults: The design's v3 design (`HEALTH_PLAN_TOP_CARD_COPY`). */
289
- interface HealthPlanTopCardCopy {
290
- /** The plan button ("See her Health Plan"); null draws none. */
291
- readonly action: (who: HealthPlanTopCardPet) => string | null;
292
- /** The question link ("What does it mean?"). */
293
- readonly ask: string;
294
- /** What the link sends to the chat: the risk line's lead, then the link's words. */
295
- readonly askPrompt: (focus: HealthPlanTopCardFocus, ask: string) => string;
296
- /** The close control's accessible name ("Close her focus"); null or blank names it with the chat's plain "Close". */
297
- readonly close: (who: HealthPlanTopCardPet) => string | null;
298
- /** The results card's heading and pill ("Her results", `results`, design round 12); null keeps the page's kicker. */
299
- readonly resultsKicker: (who: HealthPlanTopCardPet) => string | null;
300
- /** The results card's close ("Close her results"); null or blank names it with the chat's plain "Close". */
301
- readonly resultsClose: (who: HealthPlanTopCardPet) => string | null;
302
- /** The label of the page's own row in the results card: "Top risk". */
303
- readonly resultsTopRisk: string;
304
- }
305
- declare const HEALTH_PLAN_TOP_CARD_COPY: HealthPlanTopCardCopy;
306
- /** The pet facts the possessive reads: its name and sex (a plan page's pet, or the focus words' pet). */
307
- interface HealthPlanPossessivePet {
308
- readonly name?: string | null;
309
- readonly sex?: string | null;
310
- }
311
- /**
312
- * "her" for a female, "his" for a male, "{pet}'s" for a named pet of unknown sex, else null. The sex is read
313
- * leniently (any case, surrounding spaces), so a host-shaped page that says "Female" still reads as her.
314
- */
315
- declare function healthPlanPossessive(pet: HealthPlanPossessivePet): string | null;
316
- interface HealthPlanTopCardOptions {
317
- /** Opens the pet's Health Plan (your tab or screen). Absent, the card has no plan button. */
318
- readonly onOpenPlan?: (() => void) | undefined;
319
- readonly copy?: Partial<HealthPlanTopCardCopy>;
320
- /** Draw the close icon your way. */
321
- readonly renderIcon?: (icon: 'close') => ReactNode;
322
- /**
323
- * Draw the card as her results in short (web, design round 12), only when the page's focus carries her report's words
324
- * (`focus.report`, a plan drawn from her DNA report): the page's top risk as the first row, then `rows` (yours).
325
- * Without the report's words the card stays the focus card.
326
- */
327
- readonly results?: HealthPlanTopCardResults;
328
- }
329
- /** The results card's parts that are yours (`HealthPlanTopCardOptions.results`). */
330
- interface HealthPlanTopCardResults {
331
- /** Your rows after the top risk (a breed mix, traits, a count of clear results). */
332
- readonly rows?: readonly EverfurChatTopCardRow[];
333
- /** The top risk row's tap. Absent, it opens the plan (`onOpenPlan`). */
334
- readonly onTopRisk?: () => void;
335
- }
336
- /** The top card for a page, or undefined when the page has no focus to show. Pure. */
337
- declare function healthPlanTopCard(page: HealthPlanPage | null, options?: HealthPlanTopCardOptions): EverfurChatTopCard | undefined;
338
-
339
- /**
340
- * The tenant's presentation settings resolved against `client` (the explicit props; leave a field undefined to
341
- * take the console value). Total: always every field.
342
- */
343
- declare function useEverfurPresentation(client?: EverfurPresentationInput | null): EverfurPresentation;
344
-
345
- export { type HealthPlanHeaderContext as A, type HealthPlanPageContext as B, type HealthPlanShadow as C, type HealthPlanTopCardFocus as D, type EverfurHealthPlanOptions as E, type HealthPlanTopCardPet as F, formatHealthPlanPrice as G, type HealthPlanBlanksFacts as H, formatHealthPlanPriceWith as I, healthPlanBlanksFacts as J, healthPlanCart as K, healthPlanNextShotsAt as L, healthPlanRecordsWeightKg as M, isHealthPlanSessionRequired as N, showHealthPlanCartBar as O, useEverfurHealthPlan as P, useEverfurHealthPlanRepository as Q, type HealthPlanTopCardOptions as R, type HealthPlanPossessivePet as S, healthPlanPossessive as T, healthPlanTopCard as U, type HealthPlanPriceFormat as a, type HealthPlanLayoutProps as b, type HealthPlanEmptyCopy as c, type HealthPlanCart as d, type HealthPlanTopCardResults as e, type HealthPlanCardOptions as f, type HealthPlanImageVariant as g, type HealthPlanReasonVariant as h, type HealthPlanTopCardCopy as i, type EverfurHealthPlanState as j, type EverfurHealthPlanStatus as k, HEALTH_PLAN_COPY as l, HEALTH_PLAN_COPY_PLACEHOLDERS as m, HEALTH_PLAN_LAYOUT_DEFAULTS as n, HEALTH_PLAN_REASON_LABELS as o, HEALTH_PLAN_TEMPLATES as p, HEALTH_PLAN_TOP_CARD_COPY as q, type HealthPlanAddButtonSize as r, type HealthPlanAddedVariant as s, type HealthPlanBlanksPhase as t, useEverfurPresentation as u, type HealthPlanCardShadow as v, type HealthPlanCartBarPlacement as w, type HealthPlanCartBarVisibility as x, type HealthPlanCategoryVariant as y, type HealthPlanFontWeight as z };
211
+ export { type EverfurHealthPlanOptions as E, type HealthPlanPriceFormat as H, type HealthPlanLayoutProps as a, type HealthPlanCart as b, type HealthPlanCardOptions as c, type HealthPlanImageVariant as d, type HealthPlanReasonVariant as e, type EverfurHealthPlanState as f, type EverfurHealthPlanStatus as g, HEALTH_PLAN_LAYOUT_DEFAULTS as h, type HealthPlanAddButtonSize as i, type HealthPlanAddedVariant as j, type HealthPlanCardShadow as k, type HealthPlanCartBarPlacement as l, type HealthPlanCartBarVisibility as m, type HealthPlanCategoryVariant as n, type HealthPlanFontWeight as o, type HealthPlanHeaderContext as p, type HealthPlanPageContext as q, type HealthPlanShadow as r, formatHealthPlanPrice as s, formatHealthPlanPriceWith as t, healthPlanCart as u, isHealthPlanSessionRequired as v, showHealthPlanCartBar as w, useEverfurHealthPlan as x, useEverfurHealthPlanRepository as y };
@@ -1,50 +1,9 @@
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 { s as HealthPlanReasonKind, b as HealthPlanItem, p as HealthPlan, q as HealthPlanRepository, t as HealthPlanPagePet, c as HealthPlanFocusDesign, H as HealthPlanPage } from './focus.d-CYwVLDvR.js';
3
2
  import { ReactNode } from 'react';
4
3
  import { E as EverfurError } from './EverfurError.d-8NHtlgzA.js';
5
4
  import { P as PetRef } from './ids.d-B2GAAifq.js';
5
+ import { H as HealthPlanItem, a as HealthPlan, b as HealthPlanRepository } from './healthPlanRepository.d-CdCyUWph.js';
6
6
  import { L as LifecyclePort } from './LifecyclePort.d-Cr1p33a7.js';
7
- import { e as RecordsRequestView, g as RecordsView } from './models.d-Bhq9p6Wa.js';
8
- import { c as EverfurChatTopCardRow, a as EverfurChatTopCard } from './threadOptions.d-CW51PyVd.js';
9
- import { i as EverfurPresentationInput, h as EverfurPresentation } from './presentation.d-Bs8xQ4gD.js';
10
-
11
- declare const HEALTH_PLAN_COPY: Readonly<{
12
- loading: "Loading";
13
- retry: "Try again";
14
- signedOut: "Sign in required";
15
- addToCart: "Add to cart";
16
- added: "Added";
17
- remove: "Remove";
18
- checkout: "Checkout";
19
- subtotal: "Subtotal";
20
- sample: "Sample";
21
- cartEmpty: "Your cart is empty.";
22
- choosePet: "Choose a pet";
23
- emptyTitle: "";
24
- emptyBody: "";
25
- emptyAsk: "";
26
- }>;
27
- /** The Health Plan's empty state words (Q1). Each is '' by default: an empty title and body draw nothing. */
28
- interface HealthPlanEmptyCopy {
29
- readonly emptyTitle: string;
30
- readonly emptyBody: string;
31
- /** The empty state's Ask button. */
32
- readonly emptyAsk: string;
33
- }
34
- /**
35
- * The reason labels, one per kind. An empty label is not drawn (the reason's text still is). `profile` (a pet profile
36
- * fact) has no source yet; `dna` names one partner's product, so the SDK leaves it to that partner (Q3).
37
- */
38
- declare const HEALTH_PLAN_REASON_LABELS: Readonly<Record<HealthPlanReasonKind, string>>;
39
- /** ADAPTED from the designer. Listed for approval. */
40
- declare const HEALTH_PLAN_TEMPLATES: Readonly<{
41
- /** The designer: "{pet}'s care plan". Used only when the plan carries no `headline` of the tenant's own. */
42
- planTitle: (petName: string) => string;
43
- /** The designer: "<brand> cart" (his demo named the partner). */
44
- cartLabel: (brand: string) => string;
45
- }>;
46
- /** Every key still waiting on the design's words (empty, so not drawn), so the list a reviewer approves cannot drift from the file. */
47
- declare const HEALTH_PLAN_COPY_PLACEHOLDERS: readonly string[];
48
7
 
49
8
  type EverfurHealthPlanStatus = 'signedOut' | 'noPet' | 'loading' | 'failed' | 'empty' | 'ready';
50
9
  /** The member's cart: the items in the plan, and their total when one can honestly be given. */
@@ -249,97 +208,4 @@ interface HealthPlanLayoutProps extends HealthPlanCardOptions {
249
208
  */
250
209
  declare function isHealthPlanSessionRequired(error: EverfurError | null): boolean;
251
210
 
252
- /** Where her clinic request stands, for the three blanks. */
253
- type HealthPlanBlanksPhase = 'wait' | 'filled';
254
- interface HealthPlanBlanksFacts {
255
- readonly phase: HealthPlanBlanksPhase;
256
- /** The request's id: the plan flashes the filled blanks once per request. */
257
- readonly requestId: string;
258
- /** The clinic the request went to, as the member chose it; null when the request does not name one. */
259
- readonly clinicName: string | null;
260
- /** Her latest weight in her vet records, in kilograms; null when they hold none (or before they land). */
261
- readonly weightKg: number | null;
262
- /** When her next vaccine is due (ms, a UTC day), the earliest one due from today on; null when none is. */
263
- readonly nextShotsAt: number | null;
264
- }
265
- /**
266
- * Her latest weight from her vet records: the record's weight series and weight facts, newest first. A reading the
267
- * owner typed (`owner_reported`) is not her vet records' and is skipped.
268
- */
269
- declare function healthPlanRecordsWeightKg(record: RecordsView | null): number | null;
270
- /** The earliest vaccine her record says is due from `today` (ms, the start of a UTC day) on. */
271
- declare function healthPlanNextShotsAt(record: RecordsView | null, today: number): number | null;
272
- /**
273
- * The three blanks from her records read: the latest clinic request and the record. `now` is a clock reading (ms).
274
- * Null when there is no card to draw.
275
- */
276
- declare function healthPlanBlanksFacts(input: {
277
- readonly requests: readonly RecordsRequestView[];
278
- readonly record: RecordsView | null;
279
- }, now: number): HealthPlanBlanksFacts | null;
280
-
281
- /** The page's focus, as the copy functions receive it. */
282
- type HealthPlanTopCardFocus = NonNullable<HealthPlanFocusDesign['focus']>;
283
- /** Who the card is about: the page's pet and the possessive its words use ("her", "his", "{pet}'s"), or null. */
284
- interface HealthPlanTopCardPet {
285
- readonly pet: HealthPlanPagePet;
286
- readonly possessive: string | null;
287
- }
288
- /** The card's own words. Defaults: The design's v3 design (`HEALTH_PLAN_TOP_CARD_COPY`). */
289
- interface HealthPlanTopCardCopy {
290
- /** The plan button ("See her Health Plan"); null draws none. */
291
- readonly action: (who: HealthPlanTopCardPet) => string | null;
292
- /** The question link ("What does it mean?"). */
293
- readonly ask: string;
294
- /** What the link sends to the chat: the risk line's lead, then the link's words. */
295
- readonly askPrompt: (focus: HealthPlanTopCardFocus, ask: string) => string;
296
- /** The close control's accessible name ("Close her focus"); null or blank names it with the chat's plain "Close". */
297
- readonly close: (who: HealthPlanTopCardPet) => string | null;
298
- /** The results card's heading and pill ("Her results", `results`, design round 12); null keeps the page's kicker. */
299
- readonly resultsKicker: (who: HealthPlanTopCardPet) => string | null;
300
- /** The results card's close ("Close her results"); null or blank names it with the chat's plain "Close". */
301
- readonly resultsClose: (who: HealthPlanTopCardPet) => string | null;
302
- /** The label of the page's own row in the results card: "Top risk". */
303
- readonly resultsTopRisk: string;
304
- }
305
- declare const HEALTH_PLAN_TOP_CARD_COPY: HealthPlanTopCardCopy;
306
- /** The pet facts the possessive reads: its name and sex (a plan page's pet, or the focus words' pet). */
307
- interface HealthPlanPossessivePet {
308
- readonly name?: string | null;
309
- readonly sex?: string | null;
310
- }
311
- /**
312
- * "her" for a female, "his" for a male, "{pet}'s" for a named pet of unknown sex, else null. The sex is read
313
- * leniently (any case, surrounding spaces), so a host-shaped page that says "Female" still reads as her.
314
- */
315
- declare function healthPlanPossessive(pet: HealthPlanPossessivePet): string | null;
316
- interface HealthPlanTopCardOptions {
317
- /** Opens the pet's Health Plan (your tab or screen). Absent, the card has no plan button. */
318
- readonly onOpenPlan?: (() => void) | undefined;
319
- readonly copy?: Partial<HealthPlanTopCardCopy>;
320
- /** Draw the close icon your way. */
321
- readonly renderIcon?: (icon: 'close') => ReactNode;
322
- /**
323
- * Draw the card as her results in short (web, design round 12), only when the page's focus carries her report's words
324
- * (`focus.report`, a plan drawn from her DNA report): the page's top risk as the first row, then `rows` (yours).
325
- * Without the report's words the card stays the focus card.
326
- */
327
- readonly results?: HealthPlanTopCardResults;
328
- }
329
- /** The results card's parts that are yours (`HealthPlanTopCardOptions.results`). */
330
- interface HealthPlanTopCardResults {
331
- /** Your rows after the top risk (a breed mix, traits, a count of clear results). */
332
- readonly rows?: readonly EverfurChatTopCardRow[];
333
- /** The top risk row's tap. Absent, it opens the plan (`onOpenPlan`). */
334
- readonly onTopRisk?: () => void;
335
- }
336
- /** The top card for a page, or undefined when the page has no focus to show. Pure. */
337
- declare function healthPlanTopCard(page: HealthPlanPage | null, options?: HealthPlanTopCardOptions): EverfurChatTopCard | undefined;
338
-
339
- /**
340
- * The tenant's presentation settings resolved against `client` (the explicit props; leave a field undefined to
341
- * take the console value). Total: always every field.
342
- */
343
- declare function useEverfurPresentation(client?: EverfurPresentationInput | null): EverfurPresentation;
344
-
345
- export { type HealthPlanHeaderContext as A, type HealthPlanPageContext as B, type HealthPlanShadow as C, type HealthPlanTopCardFocus as D, type EverfurHealthPlanOptions as E, type HealthPlanTopCardPet as F, formatHealthPlanPrice as G, type HealthPlanBlanksFacts as H, formatHealthPlanPriceWith as I, healthPlanBlanksFacts as J, healthPlanCart as K, healthPlanNextShotsAt as L, healthPlanRecordsWeightKg as M, isHealthPlanSessionRequired as N, showHealthPlanCartBar as O, useEverfurHealthPlan as P, useEverfurHealthPlanRepository as Q, type HealthPlanTopCardOptions as R, type HealthPlanPossessivePet as S, healthPlanPossessive as T, healthPlanTopCard as U, type HealthPlanPriceFormat as a, type HealthPlanLayoutProps as b, type HealthPlanEmptyCopy as c, type HealthPlanCart as d, type HealthPlanTopCardResults as e, type HealthPlanCardOptions as f, type HealthPlanImageVariant as g, type HealthPlanReasonVariant as h, type HealthPlanTopCardCopy as i, type EverfurHealthPlanState as j, type EverfurHealthPlanStatus as k, HEALTH_PLAN_COPY as l, HEALTH_PLAN_COPY_PLACEHOLDERS as m, HEALTH_PLAN_LAYOUT_DEFAULTS as n, HEALTH_PLAN_REASON_LABELS as o, HEALTH_PLAN_TEMPLATES as p, HEALTH_PLAN_TOP_CARD_COPY as q, type HealthPlanAddButtonSize as r, type HealthPlanAddedVariant as s, type HealthPlanBlanksPhase as t, useEverfurPresentation as u, type HealthPlanCardShadow as v, type HealthPlanCartBarPlacement as w, type HealthPlanCartBarVisibility as x, type HealthPlanCategoryVariant as y, type HealthPlanFontWeight as z };
211
+ export { type EverfurHealthPlanOptions as E, type HealthPlanPriceFormat as H, type HealthPlanLayoutProps as a, type HealthPlanCart as b, type HealthPlanCardOptions as c, type HealthPlanImageVariant as d, type HealthPlanReasonVariant as e, type EverfurHealthPlanState as f, type EverfurHealthPlanStatus as g, HEALTH_PLAN_LAYOUT_DEFAULTS as h, type HealthPlanAddButtonSize as i, type HealthPlanAddedVariant as j, type HealthPlanCardShadow as k, type HealthPlanCartBarPlacement as l, type HealthPlanCartBarVisibility as m, type HealthPlanCategoryVariant as n, type HealthPlanFontWeight as o, type HealthPlanHeaderContext as p, type HealthPlanPageContext as q, type HealthPlanShadow as r, formatHealthPlanPrice as s, formatHealthPlanPriceWith as t, healthPlanCart as u, isHealthPlanSessionRequired as v, showHealthPlanCartBar as w, useEverfurHealthPlan as x, useEverfurHealthPlanRepository as y };