@everfur/sdk 0.12.1 → 0.14.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 (303) hide show
  1. package/CHANGELOG.md +292 -0
  2. package/README.md +12 -10
  3. package/dist/{Chat-CgYQdfqi.d.ts → Chat.d-aycmX1CA.d.cts} +178 -8
  4. package/dist/{Chat-CbyZ1vAX.d.cts → Chat.d-puminpyi.d.ts} +178 -8
  5. package/dist/{DepthViews-CCz4ig0u.d.ts → DepthViews.d-BdvFZgPs.d.cts} +1 -1
  6. package/dist/{DepthViews-CaQUyCHK.d.ts → DepthViews.d-DIvxzLDf.d.ts} +1 -1
  7. package/dist/{DepthViews-iGZi4_WK.d.cts → DepthViews.d-Dy0Zl-s-.d.ts} +1 -1
  8. package/dist/{DepthViews-D3OiIK_x.d.cts → DepthViews.d-wLNkzk9f.d.cts} +1 -1
  9. package/dist/{ErrorPolicyPort-10s3HJCt.d.cts → ErrorPolicyPort.d-68yrE3BE.d.ts} +1 -1
  10. package/dist/{ErrorPolicyPort-C3nNSS_j.d.ts → ErrorPolicyPort.d-DirW9hgO.d.cts} +1 -1
  11. package/dist/{EverfurError-DeBqRpQV.d.cts → EverfurError.d-8NHtlgzA.d.cts} +11 -1
  12. package/dist/{EverfurError-DeBqRpQV.d.ts → EverfurError.d-8NHtlgzA.d.ts} +11 -1
  13. package/dist/{EverfurResult-ClPTS0P2.d.ts → EverfurResult.d-BFH-3s6E.d.cts} +1 -1
  14. package/dist/{EverfurResult-COlXj1wq.d.cts → EverfurResult.d-D_-254ZY.d.ts} +1 -1
  15. package/dist/{IntakeMedia-BH0fYDT2.d.cts → IntakeMedia.d-4a89XrP7.d.ts} +1 -1
  16. package/dist/{IntakeMedia-B-_vA9ZB.d.cts → IntakeMedia.d-DGxrhgIW.d.ts} +1 -1
  17. package/dist/{IntakeMedia-CIoTXAWs.d.ts → IntakeMedia.d-DUPR4lVM.d.cts} +1 -1
  18. package/dist/{IntakeMedia-Bavl7E4Z.d.ts → IntakeMedia.d-JJCUvQu7.d.cts} +1 -1
  19. package/dist/LifecyclePort.d-Cr1p33a7.d.cts +23 -0
  20. package/dist/LifecyclePort.d-Cr1p33a7.d.ts +23 -0
  21. package/dist/{PhotoController-vzY5bfY_.d.ts → PhotoController.d-BzCJOE7e.d.cts} +2 -2
  22. package/dist/{PhotoController-3l7MT9jA.d.cts → PhotoController.d-D0XiUUOl.d.ts} +2 -2
  23. package/dist/RecordsPage.d-9Ank15PT.d.ts +93 -0
  24. package/dist/RecordsPage.d-DMKU0IKc.d.cts +93 -0
  25. package/dist/animations/index.cjs +4 -1
  26. package/dist/animations/index.d.cts +24 -24
  27. package/dist/animations/index.d.ts +24 -24
  28. package/dist/animations/index.js +4 -1
  29. package/dist/{attachments-CTJK0jQ4.d.ts → attachments.d--sIsfk6e.d.ts} +4 -4
  30. package/dist/{attachments-DkMrKCIU.d.ts → attachments.d-DNUCiyy5.d.cts} +10 -32
  31. package/dist/{attachments-DXBETOrV.d.cts → attachments.d-ZEpTUeWN.d.cts} +4 -4
  32. package/dist/{attachments-BOk3hEAM.d.cts → attachments.d-rp3xs-Q3.d.ts} +10 -32
  33. package/dist/{bookingCopy-C_a45T4-.d.ts → bookingCopy.d-D0uIIFAJ.d.ts} +24 -9
  34. package/dist/{bookingCopy-CHYGYHe0.d.cts → bookingCopy.d-DUrmVcLs.d.cts} +24 -9
  35. package/dist/{branding-DJf4h12Q.d.ts → branding.d-CTXTUg_8.d.cts} +9 -2
  36. package/dist/{branding-BCfwLj0h.d.cts → branding.d-DxJSoFce.d.ts} +9 -2
  37. package/dist/{callRoom-BhIdadyV.d.cts → callRoom.d-B1DoYdJe.d.cts} +1 -1
  38. package/dist/{callRoom-B92eH_ij.d.ts → callRoom.d-Dqm1rUqT.d.ts} +1 -1
  39. package/dist/{casesRepository-C8KJmlxE.d.cts → casesRepository.d-DCnix2pT.d.cts} +3 -3
  40. package/dist/{casesRepository-iAi5qWnx.d.ts → casesRepository.d-DbirgbyH.d.ts} +3 -3
  41. package/dist/chat/index.cjs +139 -63
  42. package/dist/chat/index.d.cts +34 -19
  43. package/dist/chat/index.d.ts +34 -19
  44. package/dist/chat/index.js +139 -63
  45. package/dist/client/index.cjs +14 -10
  46. package/dist/client/index.d.cts +19 -18
  47. package/dist/client/index.d.ts +19 -18
  48. package/dist/client/index.js +14 -10
  49. package/dist/clinicBatch.d-Ccmrngcu.d.cts +71 -0
  50. package/dist/clinicBatch.d-D9Ci7IpP.d.ts +71 -0
  51. package/dist/clinicModels.d-BXgKZqDb.d.cts +68 -0
  52. package/dist/clinicModels.d-CaS64-P-.d.ts +68 -0
  53. package/dist/clinicRequestProps.d-1dCtouGA.d.cts +65 -0
  54. package/dist/clinicRequestProps.d-CjsMg_OD.d.ts +65 -0
  55. package/dist/{config-C9zhanL-.d.cts → config.d-DJ4mvf_w.d.cts} +3 -3
  56. package/dist/{config-C5iPNKDj.d.ts → config.d-MX7IKP2f.d.ts} +3 -3
  57. package/dist/consent/index.cjs +4 -1
  58. package/dist/consent/index.d.cts +10 -10
  59. package/dist/consent/index.d.ts +10 -10
  60. package/dist/consent/index.js +4 -1
  61. package/dist/{context-D_bcpHDA.d.cts → context.d-BdnBe8Oe.d.ts} +15 -15
  62. package/dist/{context-BUIrC20Z.d.ts → context.d-C6MJsMpN.d.cts} +15 -15
  63. package/dist/{copy-KbCU9fen.d.ts → copy.d-BIfQOoDB.d.ts} +6 -6
  64. package/dist/{copy-BE31T2jR.d.cts → copy.d-C_u7shha.d.cts} +6 -6
  65. package/dist/core/index.cjs +16 -13
  66. package/dist/core/index.d.cts +35 -29
  67. package/dist/core/index.d.ts +35 -29
  68. package/dist/core/index.js +16 -13
  69. package/dist/{depth-DDKGfFaB.d.ts → depth.d-COFxYWLU.d.ts} +9 -242
  70. package/dist/{depth-DNxDieoO.d.cts → depth.d-D2e5WZuE.d.cts} +9 -242
  71. package/dist/{entitlementRepository-C1_wXIE3.d.cts → entitlementRepository.d-BP15dFbe.d.cts} +10 -5
  72. package/dist/{entitlementRepository-CYtdIGfH.d.ts → entitlementRepository.d-DLuxnGi5.d.ts} +10 -5
  73. package/dist/features.d-DrQxTw3-.d.cts +108 -0
  74. package/dist/features.d-DrQxTw3-.d.ts +108 -0
  75. package/dist/focus.d-C0Tr0oVJ.d.ts +939 -0
  76. package/dist/focus.d-jQWp0hdK.d.cts +939 -0
  77. package/dist/health-plan/index.cjs +384 -0
  78. package/dist/health-plan/index.d.cts +293 -0
  79. package/dist/health-plan/index.d.ts +293 -0
  80. package/dist/health-plan/index.js +384 -0
  81. package/dist/idempotency.d-DXb1BN2A.d.ts +1055 -0
  82. package/dist/idempotency.d-HF6fyRt2.d.cts +1055 -0
  83. package/dist/{identity-gjurBi7m.d.cts → identity.d-BePPZ7Uv.d.ts} +3 -3
  84. package/dist/{identity-BqeaN8An.d.ts → identity.d-CJfnWOdH.d.cts} +3 -3
  85. package/dist/index.cjs +148 -72
  86. package/dist/index.d.cts +32 -29
  87. package/dist/index.d.ts +32 -29
  88. package/dist/index.js +148 -72
  89. package/dist/introEvents.d-BkGDT_kG.d.cts +175 -0
  90. package/dist/introEvents.d-DHlMvmC7.d.ts +175 -0
  91. package/dist/introEvents.d-dS3fJCH1.d.cts +5 -0
  92. package/dist/introEvents.d-dS3fJCH1.d.ts +5 -0
  93. package/dist/{models-CnXY5LuO.d.ts → models.d-BSqvbTE1.d.cts} +15 -3
  94. package/dist/{models-A4A5S7AG.d.cts → models.d-DOwnr8fi.d.ts} +15 -3
  95. package/dist/notifications/index.cjs +4 -1
  96. package/dist/notifications/index.d.cts +9 -9
  97. package/dist/notifications/index.d.ts +9 -9
  98. package/dist/notifications/index.js +4 -1
  99. package/dist/optInView.d-0iI5JoAf.d.cts +441 -0
  100. package/dist/optInView.d-s-w4aGN3.d.ts +441 -0
  101. package/dist/parse.d-COt1qVA6.d.ts +210 -0
  102. package/dist/parse.d-EmsgOUMQ.d.cts +210 -0
  103. package/dist/{pets-CfutxNs9.d.cts → pets.d-BFT_b53y.d.ts} +3 -3
  104. package/dist/{pets-LIGadUtr.d.ts → pets.d-nNAVnw7f.d.cts} +3 -3
  105. package/dist/{petsRepository-CoRa3C_U.d.ts → petsRepository.d-B2TpRE7r.d.cts} +4 -4
  106. package/dist/{petsRepository-Cqpd3hLU.d.cts → petsRepository.d-RGwSZcYl.d.ts} +4 -4
  107. package/dist/photo/index.cjs +5 -2
  108. package/dist/photo/index.d.cts +9 -9
  109. package/dist/photo/index.d.ts +9 -9
  110. package/dist/photo/index.js +5 -2
  111. package/dist/planSignals.d-BDbp2e-k.d.cts +126 -0
  112. package/dist/planSignals.d-DSnxKoWe.d.ts +126 -0
  113. package/dist/{ports-BN6RHF9W.d.cts → ports.d-BX4f4UsB.d.cts} +14 -1
  114. package/dist/{ports-BN6RHF9W.d.ts → ports.d-BX4f4UsB.d.ts} +14 -1
  115. package/dist/{ports-CVi3n0re.d.ts → ports.d-D2n4HRUy.d.ts} +16 -10
  116. package/dist/{ports-gJ3faaWz.d.cts → ports.d-DBA_gsq5.d.cts} +16 -10
  117. package/dist/presentation.d-vy8kTGfR.d.cts +96 -0
  118. package/dist/presentation.d-vy8kTGfR.d.ts +96 -0
  119. package/dist/quickPrompts.d-NM_81Jc1.d.cts +19 -0
  120. package/dist/quickPrompts.d-NM_81Jc1.d.ts +19 -0
  121. package/dist/records/depth/index.cjs +10 -7
  122. package/dist/records/depth/index.d.cts +18 -12
  123. package/dist/records/depth/index.d.ts +18 -12
  124. package/dist/records/depth/index.js +10 -7
  125. package/dist/records/index.cjs +350 -74
  126. package/dist/records/index.d.cts +225 -21
  127. package/dist/records/index.d.ts +225 -21
  128. package/dist/records/index.js +351 -75
  129. package/dist/recordsAsk.d-C5CGSi3j.d.cts +14 -0
  130. package/dist/recordsAsk.d-C5CGSi3j.d.ts +14 -0
  131. package/dist/{requestFunnel-BYzlyaC0.d.ts → requestFunnel.d-D9edIEjZ.d.ts} +5 -5
  132. package/dist/{requestFunnel-DLZpiFD3.d.cts → requestFunnel.d-RZex94XX.d.cts} +5 -5
  133. package/dist/{resolve-D4Ywz5OS.d.ts → resolve.d-CoQWUy1Y.d.cts} +2 -2
  134. package/dist/{resolve-D4Ywz5OS.d.cts → resolve.d-CoQWUy1Y.d.ts} +2 -2
  135. package/dist/{runtimeTypes-BxxCKMn8.d.cts → runtimeTypes.d-BYq38b17.d.ts} +20 -13
  136. package/dist/{runtimeTypes-Doa_xxSa.d.ts → runtimeTypes.d-LkwZaF7z.d.cts} +20 -13
  137. package/dist/screenProps.d-BVzRzowC.d.ts +159 -0
  138. package/dist/screenProps.d-CQ0qZJkr.d.cts +159 -0
  139. package/dist/server/events/index.cjs +6 -3
  140. package/dist/server/events/index.d.cts +51 -9
  141. package/dist/server/events/index.d.ts +51 -9
  142. package/dist/server/events/index.js +6 -3
  143. package/dist/server/index.cjs +11 -6
  144. package/dist/server/index.d.cts +152 -8
  145. package/dist/server/index.d.ts +152 -8
  146. package/dist/server/index.js +11 -6
  147. package/dist/sheetCopy.d-CAhLOxjc.d.cts +4 -0
  148. package/dist/sheetCopy.d-CAhLOxjc.d.ts +4 -0
  149. package/dist/sheetSeam.d-B09jf4YC.d.ts +49 -0
  150. package/dist/sheetSeam.d-BBuEIVsa.d.cts +49 -0
  151. package/dist/shop/index.cjs +428 -0
  152. package/dist/shop/index.d.cts +211 -0
  153. package/dist/shop/index.d.ts +211 -0
  154. package/dist/shop/index.js +428 -0
  155. package/dist/tabs/index.cjs +195 -0
  156. package/dist/tabs/index.d.cts +174 -0
  157. package/dist/tabs/index.d.ts +174 -0
  158. package/dist/tabs/index.js +195 -0
  159. package/dist/tabsModel.d-BfIQg6yS.d.cts +31 -0
  160. package/dist/tabsModel.d-BfIQg6yS.d.ts +31 -0
  161. package/dist/televet/booking/index.cjs +15 -12
  162. package/dist/televet/booking/index.d.cts +36 -22
  163. package/dist/televet/booking/index.d.ts +36 -22
  164. package/dist/televet/booking/index.js +15 -12
  165. package/dist/televet/call/index.d.cts +5 -5
  166. package/dist/televet/call/index.d.ts +5 -5
  167. package/dist/televet/index.cjs +6 -3
  168. package/dist/televet/index.d.cts +12 -12
  169. package/dist/televet/index.d.ts +12 -12
  170. package/dist/televet/index.js +6 -3
  171. package/dist/{televetGlobal-C5dTUACe.d.cts → televetGlobal.d-CC-DrqkQ.d.ts} +7 -2
  172. package/dist/{televetGlobal-CnjrfhT4.d.ts → televetGlobal.d-CKwDCbmN.d.cts} +7 -2
  173. package/dist/testing/index.cjs +6 -3
  174. package/dist/testing/index.d.cts +3 -3
  175. package/dist/testing/index.d.ts +3 -3
  176. package/dist/testing/index.js +6 -3
  177. package/dist/testing/rn/index.cjs +5 -2
  178. package/dist/testing/rn/index.d.cts +23 -22
  179. package/dist/testing/rn/index.d.ts +23 -22
  180. package/dist/testing/rn/index.js +5 -2
  181. package/dist/testing/web/index.cjs +4 -1
  182. package/dist/testing/web/index.d.cts +23 -22
  183. package/dist/testing/web/index.d.ts +23 -22
  184. package/dist/testing/web/index.js +4 -1
  185. package/dist/texting/index.cjs +193 -0
  186. package/dist/texting/index.d.cts +69 -0
  187. package/dist/texting/index.d.ts +69 -0
  188. package/dist/texting/index.js +193 -0
  189. package/dist/threadOptions.d-9r4Csa7k.d.cts +458 -0
  190. package/dist/threadOptions.d-B6GA09aM.d.ts +458 -0
  191. package/dist/{timelineRows-Beun96e2.d.cts → timelineRows.d-Bes8ip2v.d.ts} +1 -1
  192. package/dist/{timelineRows-CGOlC_Q9.d.ts → timelineRows.d-BvM2A7_G.d.cts} +1 -1
  193. package/dist/{tokens-DLj8OnLH.d.cts → tokens.d-DarDaV39.d.cts} +10 -2
  194. package/dist/{tokens-DLj8OnLH.d.ts → tokens.d-DarDaV39.d.ts} +10 -2
  195. package/dist/{typeStyle-DJedEu14.d.cts → typeStyle.d-Co5KF0up.d.ts} +2 -2
  196. package/dist/{typeStyle-BxVyF71R.d.ts → typeStyle.d-xIZj02Ru.d.cts} +2 -2
  197. package/dist/{uploadTransport-C6kGP1Kd.d.ts → uploadTransport.d-CWL7CdWP.d.cts} +1 -1
  198. package/dist/{uploadTransport-BM_pnEWj.d.cts → uploadTransport.d-EGoUl7gX.d.ts} +1 -1
  199. package/dist/useIntroSeen.d-CTWFUthO.d.cts +35 -0
  200. package/dist/useIntroSeen.d-CTWFUthO.d.ts +35 -0
  201. package/dist/usePresentation.d-BGz32Vlm.d.ts +285 -0
  202. package/dist/usePresentation.d-DYTF_ZGf.d.cts +285 -0
  203. package/dist/useRecords.d-BYNX01El.d.cts +121 -0
  204. package/dist/useRecords.d-DWk61a4c.d.ts +121 -0
  205. package/dist/useRecordsDepth.d--LLA_4ga.d.cts +32 -0
  206. package/dist/useRecordsDepth.d-BQRL0Hez.d.ts +32 -0
  207. package/dist/{useVetVisit-DmWa7lt1.d.ts → useVetVisit.d-BtdwhmgD.d.cts} +15 -4
  208. package/dist/{useVetVisit-PtBjNwZr.d.cts → useVetVisit.d-DoYQimyt.d.ts} +15 -4
  209. package/dist/video/index.cjs +5 -2
  210. package/dist/video/index.d.cts +7 -7
  211. package/dist/video/index.d.ts +7 -7
  212. package/dist/video/index.js +5 -2
  213. package/dist/{view-VvLEdXP4.d.cts → view.d-0yBjLTV3.d.cts} +12 -122
  214. package/dist/{view-C_B5U04g.d.ts → view.d-DqbCADFa.d.ts} +12 -122
  215. package/dist/web/consent/index.cjs +4 -1
  216. package/dist/web/consent/index.d.cts +10 -10
  217. package/dist/web/consent/index.d.ts +10 -10
  218. package/dist/web/consent/index.js +4 -1
  219. package/dist/web/health-plan/index.cjs +421 -0
  220. package/dist/web/health-plan/index.d.cts +189 -0
  221. package/dist/web/health-plan/index.d.ts +189 -0
  222. package/dist/web/health-plan/index.js +421 -0
  223. package/dist/web/index.cjs +170 -87
  224. package/dist/web/index.d.cts +292 -38
  225. package/dist/web/index.d.ts +292 -38
  226. package/dist/web/index.js +170 -87
  227. package/dist/web/intro/index.cjs +167 -0
  228. package/dist/web/intro/index.d.cts +79 -0
  229. package/dist/web/intro/index.d.ts +79 -0
  230. package/dist/web/intro/index.js +167 -0
  231. package/dist/web/notifications/index.cjs +15 -3
  232. package/dist/web/notifications/index.d.cts +39 -209
  233. package/dist/web/notifications/index.d.ts +39 -209
  234. package/dist/web/notifications/index.js +15 -3
  235. package/dist/web/records/depth/index.cjs +10 -7
  236. package/dist/web/records/depth/index.d.cts +18 -12
  237. package/dist/web/records/depth/index.d.ts +18 -12
  238. package/dist/web/records/depth/index.js +10 -7
  239. package/dist/web/records/index.cjs +94 -68
  240. package/dist/web/records/index.d.cts +39 -55
  241. package/dist/web/records/index.d.ts +39 -55
  242. package/dist/web/records/index.js +94 -68
  243. package/dist/web/records/upload/index.d.cts +2 -2
  244. package/dist/web/records/upload/index.d.ts +2 -2
  245. package/dist/web/records-sheet/index.cjs +332 -0
  246. package/dist/web/records-sheet/index.d.cts +104 -0
  247. package/dist/web/records-sheet/index.d.ts +104 -0
  248. package/dist/web/records-sheet/index.js +332 -0
  249. package/dist/web/shop/index.cjs +416 -0
  250. package/dist/web/shop/index.d.cts +59 -0
  251. package/dist/web/shop/index.d.ts +59 -0
  252. package/dist/web/shop/index.js +416 -0
  253. package/dist/web/televet/booking/index.cjs +15 -12
  254. package/dist/web/televet/booking/index.d.cts +37 -23
  255. package/dist/web/televet/booking/index.d.ts +37 -23
  256. package/dist/web/televet/booking/index.js +15 -12
  257. package/dist/web/televet/call/index.d.cts +4 -4
  258. package/dist/web/televet/call/index.d.ts +4 -4
  259. package/dist/web/televet/index.cjs +6 -3
  260. package/dist/web/televet/index.d.cts +12 -12
  261. package/dist/web/televet/index.d.ts +12 -12
  262. package/dist/web/televet/index.js +6 -3
  263. package/dist/web/texting/index.cjs +188 -0
  264. package/dist/web/texting/index.d.cts +69 -0
  265. package/dist/web/texting/index.d.ts +69 -0
  266. package/dist/web/texting/index.js +188 -0
  267. package/health-plan/package.json +8 -0
  268. package/package.json +138 -5
  269. package/shop/package.json +8 -0
  270. package/tabs/package.json +8 -0
  271. package/texting/package.json +8 -0
  272. package/web/health-plan/native-blocked.cjs +12 -0
  273. package/web/health-plan/package.json +8 -0
  274. package/web/intro/native-blocked.cjs +12 -0
  275. package/web/intro/package.json +8 -0
  276. package/web/records-sheet/native-blocked.cjs +12 -0
  277. package/web/records-sheet/package.json +8 -0
  278. package/web/shop/native-blocked.cjs +12 -0
  279. package/web/shop/package.json +8 -0
  280. package/web/texting/native-blocked.cjs +12 -0
  281. package/web/texting/package.json +8 -0
  282. package/dist/useRecordsDepth-DRrJntjt.d.cts +0 -257
  283. package/dist/useRecordsDepth-hR94debv.d.ts +0 -257
  284. /package/dist/{CameraPort-Cv31Pz7g.d.cts → CameraPort.d-Cv31Pz7g.d.cts} +0 -0
  285. /package/dist/{CameraPort-Cv31Pz7g.d.ts → CameraPort.d-Cv31Pz7g.d.ts} +0 -0
  286. /package/dist/{TelemetryPort-BDNr00hu.d.cts → TelemetryPort.d-BDNr00hu.d.cts} +0 -0
  287. /package/dist/{TelemetryPort-BDNr00hu.d.ts → TelemetryPort.d-BDNr00hu.d.ts} +0 -0
  288. /package/dist/{cacheEpoch-DknKn3S0.d.cts → cacheEpoch.d-DknKn3S0.d.cts} +0 -0
  289. /package/dist/{cacheEpoch-DknKn3S0.d.ts → cacheEpoch.d-DknKn3S0.d.ts} +0 -0
  290. /package/dist/{callCopy-Bw6oZT54.d.cts → callCopy.d-Bw6oZT54.d.cts} +0 -0
  291. /package/dist/{callCopy-Bw6oZT54.d.ts → callCopy.d-Bw6oZT54.d.ts} +0 -0
  292. /package/dist/{ids-B2GAAifq.d.cts → ids.d-B2GAAifq.d.cts} +0 -0
  293. /package/dist/{ids-B2GAAifq.d.ts → ids.d-B2GAAifq.d.ts} +0 -0
  294. /package/dist/{optionalModule-DbJmsq5f.d.cts → optionalModule.d-DbJmsq5f.d.cts} +0 -0
  295. /package/dist/{optionalModule-DbJmsq5f.d.ts → optionalModule.d-DbJmsq5f.d.ts} +0 -0
  296. /package/dist/{profile-CSs1wlXT.d.cts → profile.d-CSs1wlXT.d.cts} +0 -0
  297. /package/dist/{profile-CSs1wlXT.d.ts → profile.d-CSs1wlXT.d.ts} +0 -0
  298. /package/dist/{projection-CeIUsbSk.d.cts → projection.d-CeIUsbSk.d.cts} +0 -0
  299. /package/dist/{projection-CeIUsbSk.d.ts → projection.d-CeIUsbSk.d.ts} +0 -0
  300. /package/dist/{species-BXAIMh7I.d.cts → species.d-BXAIMh7I.d.cts} +0 -0
  301. /package/dist/{species-BXAIMh7I.d.ts → species.d-BXAIMh7I.d.ts} +0 -0
  302. /package/dist/{visitIntent-D7_yVp1I.d.cts → visitIntent.d-D7_yVp1I.d.cts} +0 -0
  303. /package/dist/{visitIntent-D7_yVp1I.d.ts → visitIntent.d-D7_yVp1I.d.ts} +0 -0
@@ -0,0 +1,189 @@
1
+ import { E as EverfurChatTopCard } from '../../threadOptions.d-9r4Csa7k.cjs';
2
+ export { a as EverfurHealthPlan, b as EverfurHealthPlanProps, H as HealthPlanFocus, c as HealthPlanFocusLayer, d as HealthPlanFocusOptions, e as HealthPlanFocusOverlay, f as HealthPlanFocusOverlayControls, g as HealthPlanFocusProps } from '../../threadOptions.d-9r4Csa7k.cjs';
3
+ import { ReactNode, CSSProperties } from 'react';
4
+ import { E as EverfurError } from '../../EverfurError.d-8NHtlgzA.cjs';
5
+ export { a as EverfurErrorCategory, b as EverfurErrorCode } from '../../EverfurError.d-8NHtlgzA.cjs';
6
+ import { f as HealthPlanItem, p as HealthPlanFocusPart, i as HealthPlanSubscriptionRepository, q as HealthPlanSubscriptionQuote, g as HealthPlanSubscription, h as HealthPlanOneBoxOrder, r as HealthPlanPagePet, b as HealthPlanFocusDesign, H as HealthPlanPage } from '../../focus.d-jQWp0hdK.cjs';
7
+ export { s as HEALTH_PLAN_FOCUS_COPY, t as HEALTH_PLAN_REASON_KINDS, m as HealthPlan, u as HealthPlanCartCheckoutRequest, v as HealthPlanCheckoutItem, l as HealthPlanCheckoutProvider, w as HealthPlanCheckoutRefusal, x as HealthPlanCheckoutRequest, y as HealthPlanCheckoutSession, z as HealthPlanCheckoutState, A as HealthPlanCheckoutStatus, d as HealthPlanFocusClassNames, c as HealthPlanFocusCopy, B as HealthPlanFocusExtra, e as HealthPlanFocusIcon, C as HealthPlanFocusPrices, D as HealthPlanFocusReasonRow, E as HealthPlanFocusReview, F as HealthPlanFocusSign, G as HealthPlanFocusStep, I as HealthPlanFocusWait, J as HealthPlanOneBoxOffer, K as HealthPlanOneBoxOrderPage, L as HealthPlanOneBoxOrderPageOptions, M as HealthPlanOrderStatus, N as HealthPlanOrderTracking, O as HealthPlanOrderTrackingStatus, j as HealthPlanPageRepository, a as HealthPlanPetWords, P as HealthPlanPurchase, Q as HealthPlanReason, o as HealthPlanReasonKind, n as HealthPlanRepository, R as HealthPlanRepositoryDeps, S as HealthPlanRuntime, k as HealthPlanShopOrder, T as HealthPlanSubscriptionRenewal, U as HealthPlanSubscriptionStatus, V as HealthPlanSubscriptionStep, W as HealthPlanSubscriptionSupply, X as HealthPlanTrackStep, Y as createHealthPlanPageRepository, Z as createHealthPlanPageRepositoryOver, _ as createHealthPlanRepository, $ as createHealthPlanRepositoryOver, a0 as createHealthPlanSubscriptionRepository, a1 as createHealthPlanSubscriptionRepositoryOver, a2 as formatHealthPlanDay, a3 as healthPlanCheckoutRefusal, a4 as healthPlanCheckoutSessionFromWire, a5 as healthPlanCheckoutStateFromWire, a6 as healthPlanFocusCopyFor, a7 as healthPlanFocusDesignFromWire, a8 as healthPlanFromWire, a9 as healthPlanOneBoxOrderFromWire, aa as healthPlanOneBoxOrderPageFromWire, ab as healthPlanOrderTrackingFromWire, ac as healthPlanPageFromWire, ad as healthPlanPetWords, ae as healthPlanSubscriptionFromWire, af as healthPlanSubscriptionQuoteFromWire, ag as isHealthPlanSubscriptionUnavailable } from '../../focus.d-jQWp0hdK.cjs';
8
+ import { e as HealthPlanCardOptions, f as HealthPlanImageVariant, g as HealthPlanReasonVariant, a as HealthPlanPriceFormat, d as HealthPlanCart } from '../../usePresentation.d-DYTF_ZGf.cjs';
9
+ export { E as EverfurHealthPlanOptions, h as EverfurHealthPlanState, i as EverfurHealthPlanStatus, j as HEALTH_PLAN_COPY, k as HEALTH_PLAN_COPY_PLACEHOLDERS, l as HEALTH_PLAN_LAYOUT_DEFAULTS, m as HEALTH_PLAN_REASON_LABELS, n as HEALTH_PLAN_TEMPLATES, o as HealthPlanAddButtonSize, p as HealthPlanAddedVariant, H as HealthPlanBlanksFacts, q as HealthPlanBlanksPhase, r as HealthPlanCardShadow, s as HealthPlanCartBarPlacement, t as HealthPlanCartBarVisibility, u as HealthPlanCategoryVariant, c as HealthPlanEmptyCopy, v as HealthPlanFontWeight, w as HealthPlanHeaderContext, b as HealthPlanLayoutProps, x as HealthPlanPageContext, y as HealthPlanShadow, z as formatHealthPlanPrice, A as formatHealthPlanPriceWith, B as healthPlanBlanksFacts, C as healthPlanCart, D as healthPlanNextShotsAt, F as healthPlanRecordsWeightKg, G as isHealthPlanSessionRequired, I as showHealthPlanCartBar, J as useEverfurHealthPlan, K as useEverfurHealthPlanRepository, L as useEverfurPresentation } from '../../usePresentation.d-DYTF_ZGf.cjs';
10
+ export { H as HealthPlanCartDock, a as HealthPlanCartScope, b as HealthPlanCartScopeProps, c as HealthPlanController, d as HealthPlanNoVetListener, e as HealthPlanPageOptions, f as HealthPlanPagePhase, g as HealthPlanPageState, h as HealthPlanPhase, i as HealthPlanRecordsLandedListener, j as HealthPlanRecordsLandedSource, k as HealthPlanSnapshot, l as healthPlanNoVet, n as notifyHealthPlanRecordsLanded, o as onHealthPlanNoVet, m as onHealthPlanRecordsLanded, s as setHealthPlanNoVet, u as useHealthPlanCartDock, p as useHealthPlanPage, q as useHealthPlanPageRepository } from '../../planSignals.d-BDbp2e-k.cjs';
11
+ import { E as EverfurResult } from '../../EverfurResult.d-BFH-3s6E.cjs';
12
+ import { P as PetRef } from '../../ids.d-B2GAAifq.cjs';
13
+ export { B as Brand, C as ConversationId, R as RecordsRequestId, U as UserRef, _ as __brand } from '../../ids.d-B2GAAifq.cjs';
14
+ import { L as LifecyclePort } from '../../LifecyclePort.d-Cr1p33a7.cjs';
15
+ export { A as AuthContext, I as IdentityProvider, M as MintedToken, T as TokenProvider } from '../../identity.d-CJfnWOdH.cjs';
16
+ export { A as AcceptedFrame, a as AnalysisCompleteFrame, b as AnalysisStartedFrame, D as DeltaFrame, c as DoneFrame, E as ErrorFrame, d as EverfurRequest, e as EverfurRequestBase, F as Frame, f as FrameBase, g as FrameKind, H as HeartbeatFrame, h as HttpMethod, M as MultipartBody, T as TransportPort, U as UnknownFrame, i as UrgencyLevel } from '../../config.d-DJ4mvf_w.cjs';
17
+ export { E as ErrorPolicyPort } from '../../ErrorPolicyPort.d-DirW9hgO.cjs';
18
+ export { E as EverfurChatAnswerStyle, a as EverfurChatComposerPlaceholder, b as EverfurChatComposerStyle, c as EverfurChatHistoryBarSetting, d as EverfurChatHistoryStyle, e as EverfurChatSendButtonSetting, f as EverfurChatTopCardSetting, g as EverfurHealthPlanLayout, h as EverfurPresentation, i as EverfurPresentationInput, j as EverfurSafetyDisclaimerPlacement } from '../../presentation.d-vy8kTGfR.cjs';
19
+ import '../../resolve.d-CoQWUy1Y.cjs';
20
+ import '../../requestFunnel.d-RZex94XX.cjs';
21
+ import '../../models.d-BSqvbTE1.cjs';
22
+
23
+ interface HealthPlanItemCardProps extends HealthPlanCardOptions {
24
+ readonly item: HealthPlanItem;
25
+ /** Called with the answer the member asked for: `true` to add, `false` to remove. A throw is swallowed. */
26
+ readonly onToggle?: (inPlan: boolean) => void;
27
+ /** True while this item's add or remove is in flight. */
28
+ readonly pending?: boolean;
29
+ /** This item's last refused write, shown under the control. */
30
+ readonly error?: EverfurError | null;
31
+ /** `'wide'` (default): a full-width picture above the name. `'thumbnail'`: a square picture beside the name. */
32
+ readonly imageVariant?: HealthPlanImageVariant;
33
+ /** `'pills'` (default): filled reason chips. `'rows'`: a mono label column and the reason text, no fill. */
34
+ readonly reasonVariant?: HealthPlanReasonVariant;
35
+ /** How the price reads (locale, and whether a whole amount drops its zero cents). */
36
+ readonly priceFormat?: HealthPlanPriceFormat;
37
+ /** Your own node at the foot of the card, above the control (a study card, a repeat switch). A throw draws nothing. */
38
+ readonly renderFooter?: (item: HealthPlanItem) => ReactNode;
39
+ readonly style?: CSSProperties;
40
+ readonly className?: string;
41
+ }
42
+ /** One Health Plan product as a card, with its reasons and its add / remove control. */
43
+ declare function HealthPlanItemCard(props: HealthPlanItemCardProps): ReactNode;
44
+
45
+ interface HealthPlanCartBarProps {
46
+ readonly cart: HealthPlanCart;
47
+ /** Called with the items in the cart when the member presses checkout. A throw is swallowed. */
48
+ readonly onCheckout?: (items: readonly HealthPlanItem[]) => void;
49
+ /** True while any add or remove is in flight; checkout waits for the cart to settle. */
50
+ readonly busy?: boolean;
51
+ /** How the subtotal reads (locale, and whether a whole amount drops its zero cents). */
52
+ readonly priceFormat?: HealthPlanPriceFormat;
53
+ readonly style?: CSSProperties;
54
+ readonly className?: string;
55
+ }
56
+ /** The cart bar of a Health Plan. */
57
+ declare function HealthPlanCartBar(props: HealthPlanCartBarProps): ReactNode;
58
+
59
+ interface HealthPlanTopRiskProps {
60
+ /** The line over the sentence ("Her top risk"). */
61
+ readonly kicker: string;
62
+ /** The one sentence ("Georgia's top disease risk is IVDD, a back problem, so she should start a Health Plan for it."). */
63
+ readonly sentence: string;
64
+ /** The button's words ("Start her Health Plan"). */
65
+ readonly action: string;
66
+ readonly onOpenPlan: () => void;
67
+ /** A modifier for the dot (`risk` by default), read as `classNames['dot:<kind>']`. */
68
+ readonly kind?: string;
69
+ /** Classes per element (`card`, `kicker`, `dot`, `dot:<kind>`, `sentence`, `button`); a class drops that element's inline default. */
70
+ readonly classNames?: Readonly<Record<string, string | undefined>>;
71
+ readonly style?: CSSProperties;
72
+ }
73
+ /** The top-risk sentence with its way into the Health Plan. */
74
+ declare function HealthPlanTopRisk(props: HealthPlanTopRiskProps): ReactNode;
75
+
76
+ /** One row: the words before the blank, the value (null: still a blank), the words after it, and its source line. */
77
+ interface HealthPlanBlanksRow {
78
+ readonly key: string;
79
+ readonly lead: string;
80
+ readonly value: string | null;
81
+ readonly trail: string;
82
+ readonly source: string;
83
+ /** The blank's width: `s` short (a count), `l` long (a date), absent the usual. */
84
+ readonly width?: 's' | 'l';
85
+ }
86
+ interface HealthPlanBlanksProps {
87
+ readonly phase: 'empty' | 'wait' | 'filled';
88
+ /** The card's kicker ("Asked Juniper Street Vet"); empty draws an empty span, as his markup does. */
89
+ readonly kicker: string;
90
+ /** The pill beside it ("2 to 5 days", "3 of 3 filled"). */
91
+ readonly pill: string;
92
+ readonly rows: readonly HealthPlanBlanksRow[];
93
+ /** A blank's name for a screen reader ("blank"). */
94
+ readonly blankLabel: string;
95
+ /** The section's accessible name ("Her three blanks"). */
96
+ readonly label: string;
97
+ /** Changing it to a new non-null value plays the yellow flash once over the filled blanks. */
98
+ readonly flashKey?: string | null;
99
+ /** The flash's yellow (the partner's accent). */
100
+ readonly flashColor: string;
101
+ readonly p: (part: HealthPlanFocusPart, kind?: string) => {
102
+ className?: string;
103
+ };
104
+ }
105
+ declare function HealthPlanBlanks(props: HealthPlanBlanksProps): ReactNode;
106
+
107
+ type HealthPlanSubscriptionPhase = 'idle' | 'loading' | 'unavailable' | 'failed' | 'ready';
108
+ interface HealthPlanSubscriptionOptions {
109
+ readonly petRef: PetRef | null;
110
+ readonly productId: string | null;
111
+ /** False skips every read (a host that has not opted in). Defaults to true. */
112
+ readonly enabled?: boolean;
113
+ /** A repository of your own (tests, a stub backend). Defaults to the one over the provider's runtime. */
114
+ readonly repository?: HealthPlanSubscriptionRepository;
115
+ /** Coming back to the foreground re-reads a quote shown for more than a minute, quietly. Absent, it does not. */
116
+ readonly lifecycle?: LifecyclePort | null;
117
+ /** Change it to re-read the quote now, quietly (for example after your checkout completed). */
118
+ readonly refreshKey?: string | number;
119
+ }
120
+ interface HealthPlanSubscriptionState {
121
+ readonly phase: HealthPlanSubscriptionPhase;
122
+ readonly quote: HealthPlanSubscriptionQuote | null;
123
+ /** The member's row for this pet and product (active or cancelled), or null. */
124
+ readonly subscription: HealthPlanSubscription | null;
125
+ /** A write is in flight. */
126
+ readonly busy: boolean;
127
+ /** The last refused read or write, or null. */
128
+ readonly error: EverfurError | null;
129
+ /** Each write settles the server's new state, or the refusal (a write before the quote is ready is refused). */
130
+ subscribe(intervalDays: number): Promise<EverfurResult<HealthPlanSubscription>>;
131
+ changeInterval(intervalDays: number): Promise<EverfurResult<HealthPlanSubscription>>;
132
+ skip(): Promise<EverfurResult<HealthPlanSubscription>>;
133
+ cancel(): Promise<EverfurResult<HealthPlanSubscription>>;
134
+ restart(intervalDays?: number): Promise<EverfurResult<HealthPlanSubscription>>;
135
+ /** Buy one box (no renewal), then re-read the quote: a one-box order spends the first-box offer. */
136
+ buyOneBox(tapKey?: string): Promise<EverfurResult<HealthPlanOneBoxOrder>>;
137
+ refresh(): Promise<void>;
138
+ }
139
+ /** The subscription repository bound to the runtime under your provider. */
140
+ declare function useHealthPlanSubscriptionRepository(): HealthPlanSubscriptionRepository;
141
+ /** One product's subscription for one pet. `EverfurHealthPlan` with `layout="focus"` paints it. */
142
+ declare function useHealthPlanSubscription(options: HealthPlanSubscriptionOptions): HealthPlanSubscriptionState;
143
+
144
+ /** The page's focus, as the copy functions receive it. */
145
+ type HealthPlanTopCardFocus = NonNullable<HealthPlanFocusDesign['focus']>;
146
+ /** Who the card is about: the page's pet and the possessive its words use ("her", "his", "Georgia's"), or null. */
147
+ interface HealthPlanTopCardPet {
148
+ readonly pet: HealthPlanPagePet;
149
+ readonly possessive: string | null;
150
+ }
151
+ /** The card's own words. Defaults: Raph's v3 design (`HEALTH_PLAN_TOP_CARD_COPY`). */
152
+ interface HealthPlanTopCardCopy {
153
+ /** The plan button ("See her Health Plan"); null draws none. */
154
+ readonly action: (who: HealthPlanTopCardPet) => string | null;
155
+ /** The question link ("What does it mean?"). */
156
+ readonly ask: string;
157
+ /** What the link sends to the chat: the risk line's lead, then the link's words. */
158
+ readonly askPrompt: (focus: HealthPlanTopCardFocus, ask: string) => string;
159
+ /** The close control's accessible name ("Close her focus"); null or blank names it with the chat's plain "Close". */
160
+ readonly close: (who: HealthPlanTopCardPet) => string | null;
161
+ }
162
+ declare const HEALTH_PLAN_TOP_CARD_COPY: HealthPlanTopCardCopy;
163
+ /**
164
+ * "her" for a female, "his" for a male, "Georgia's" for a named pet of unknown sex, else null. The sex is read
165
+ * leniently (any case, surrounding spaces), so a host-shaped page that says "Female" still reads as her.
166
+ */
167
+ declare function healthPlanPossessive(pet: HealthPlanPagePet): string | null;
168
+ interface HealthPlanTopCardOptions {
169
+ /** Opens the pet's Health Plan (your tab or screen). Absent, the card has no plan button (the chat's own card). */
170
+ readonly onOpenPlan?: (() => void) | undefined;
171
+ readonly copy?: Partial<HealthPlanTopCardCopy>;
172
+ readonly classNames?: EverfurChatTopCard['classNames'];
173
+ readonly renderIcon?: (icon: 'close') => ReactNode;
174
+ }
175
+ /** The top card for a page, or undefined when the page has no focus to show. Pure. */
176
+ declare function healthPlanTopCard(page: HealthPlanPage | null, options: HealthPlanTopCardOptions): EverfurChatTopCard | undefined;
177
+ interface UseHealthPlanTopCardOptions extends HealthPlanTopCardOptions {
178
+ readonly petRef: PetRef | null;
179
+ /** False skips the page read (and the card). Defaults to true. */
180
+ readonly enabled?: boolean;
181
+ }
182
+ /**
183
+ * The chat's top card for one pet, from its Health Plan page; undefined while the page loads, on a refused read, or
184
+ * when the page has no focus. Keep `onOpenPlan`, `copy`, `classNames` and `renderIcon` stable (module constants or
185
+ * memoised), so the card is rebuilt only when the page changes.
186
+ */
187
+ declare function useHealthPlanTopCard(options: UseHealthPlanTopCardOptions): EverfurChatTopCard | undefined;
188
+
189
+ export { EverfurChatTopCard, EverfurError, EverfurResult, HEALTH_PLAN_TOP_CARD_COPY, HealthPlanBlanks, type HealthPlanBlanksProps, type HealthPlanBlanksRow, HealthPlanCardOptions, HealthPlanCart, HealthPlanCartBar, type HealthPlanCartBarProps, HealthPlanFocusDesign, HealthPlanFocusPart, HealthPlanImageVariant, HealthPlanItem, HealthPlanItemCard, type HealthPlanItemCardProps, HealthPlanOneBoxOrder, HealthPlanPage, HealthPlanPagePet, HealthPlanPriceFormat, HealthPlanReasonVariant, HealthPlanSubscription, type HealthPlanSubscriptionOptions, type HealthPlanSubscriptionPhase, HealthPlanSubscriptionQuote, HealthPlanSubscriptionRepository, type HealthPlanSubscriptionState, type HealthPlanTopCardCopy, type HealthPlanTopCardFocus, type HealthPlanTopCardOptions, type HealthPlanTopCardPet, HealthPlanTopRisk, type HealthPlanTopRiskProps, LifecyclePort, PetRef, type UseHealthPlanTopCardOptions, healthPlanPossessive, healthPlanTopCard, useHealthPlanSubscription, useHealthPlanSubscriptionRepository, useHealthPlanTopCard };
@@ -0,0 +1,189 @@
1
+ import { E as EverfurChatTopCard } from '../../threadOptions.d-B6GA09aM.js';
2
+ export { a as EverfurHealthPlan, b as EverfurHealthPlanProps, H as HealthPlanFocus, c as HealthPlanFocusLayer, d as HealthPlanFocusOptions, e as HealthPlanFocusOverlay, f as HealthPlanFocusOverlayControls, g as HealthPlanFocusProps } from '../../threadOptions.d-B6GA09aM.js';
3
+ import { ReactNode, CSSProperties } from 'react';
4
+ import { E as EverfurError } from '../../EverfurError.d-8NHtlgzA.js';
5
+ export { a as EverfurErrorCategory, b as EverfurErrorCode } from '../../EverfurError.d-8NHtlgzA.js';
6
+ import { f as HealthPlanItem, p as HealthPlanFocusPart, i as HealthPlanSubscriptionRepository, q as HealthPlanSubscriptionQuote, g as HealthPlanSubscription, h as HealthPlanOneBoxOrder, r as HealthPlanPagePet, b as HealthPlanFocusDesign, H as HealthPlanPage } from '../../focus.d-C0Tr0oVJ.js';
7
+ export { s as HEALTH_PLAN_FOCUS_COPY, t as HEALTH_PLAN_REASON_KINDS, m as HealthPlan, u as HealthPlanCartCheckoutRequest, v as HealthPlanCheckoutItem, l as HealthPlanCheckoutProvider, w as HealthPlanCheckoutRefusal, x as HealthPlanCheckoutRequest, y as HealthPlanCheckoutSession, z as HealthPlanCheckoutState, A as HealthPlanCheckoutStatus, d as HealthPlanFocusClassNames, c as HealthPlanFocusCopy, B as HealthPlanFocusExtra, e as HealthPlanFocusIcon, C as HealthPlanFocusPrices, D as HealthPlanFocusReasonRow, E as HealthPlanFocusReview, F as HealthPlanFocusSign, G as HealthPlanFocusStep, I as HealthPlanFocusWait, J as HealthPlanOneBoxOffer, K as HealthPlanOneBoxOrderPage, L as HealthPlanOneBoxOrderPageOptions, M as HealthPlanOrderStatus, N as HealthPlanOrderTracking, O as HealthPlanOrderTrackingStatus, j as HealthPlanPageRepository, a as HealthPlanPetWords, P as HealthPlanPurchase, Q as HealthPlanReason, o as HealthPlanReasonKind, n as HealthPlanRepository, R as HealthPlanRepositoryDeps, S as HealthPlanRuntime, k as HealthPlanShopOrder, T as HealthPlanSubscriptionRenewal, U as HealthPlanSubscriptionStatus, V as HealthPlanSubscriptionStep, W as HealthPlanSubscriptionSupply, X as HealthPlanTrackStep, Y as createHealthPlanPageRepository, Z as createHealthPlanPageRepositoryOver, _ as createHealthPlanRepository, $ as createHealthPlanRepositoryOver, a0 as createHealthPlanSubscriptionRepository, a1 as createHealthPlanSubscriptionRepositoryOver, a2 as formatHealthPlanDay, a3 as healthPlanCheckoutRefusal, a4 as healthPlanCheckoutSessionFromWire, a5 as healthPlanCheckoutStateFromWire, a6 as healthPlanFocusCopyFor, a7 as healthPlanFocusDesignFromWire, a8 as healthPlanFromWire, a9 as healthPlanOneBoxOrderFromWire, aa as healthPlanOneBoxOrderPageFromWire, ab as healthPlanOrderTrackingFromWire, ac as healthPlanPageFromWire, ad as healthPlanPetWords, ae as healthPlanSubscriptionFromWire, af as healthPlanSubscriptionQuoteFromWire, ag as isHealthPlanSubscriptionUnavailable } from '../../focus.d-C0Tr0oVJ.js';
8
+ import { e as HealthPlanCardOptions, f as HealthPlanImageVariant, g as HealthPlanReasonVariant, a as HealthPlanPriceFormat, d as HealthPlanCart } from '../../usePresentation.d-BGz32Vlm.js';
9
+ export { E as EverfurHealthPlanOptions, h as EverfurHealthPlanState, i as EverfurHealthPlanStatus, j as HEALTH_PLAN_COPY, k as HEALTH_PLAN_COPY_PLACEHOLDERS, l as HEALTH_PLAN_LAYOUT_DEFAULTS, m as HEALTH_PLAN_REASON_LABELS, n as HEALTH_PLAN_TEMPLATES, o as HealthPlanAddButtonSize, p as HealthPlanAddedVariant, H as HealthPlanBlanksFacts, q as HealthPlanBlanksPhase, r as HealthPlanCardShadow, s as HealthPlanCartBarPlacement, t as HealthPlanCartBarVisibility, u as HealthPlanCategoryVariant, c as HealthPlanEmptyCopy, v as HealthPlanFontWeight, w as HealthPlanHeaderContext, b as HealthPlanLayoutProps, x as HealthPlanPageContext, y as HealthPlanShadow, z as formatHealthPlanPrice, A as formatHealthPlanPriceWith, B as healthPlanBlanksFacts, C as healthPlanCart, D as healthPlanNextShotsAt, F as healthPlanRecordsWeightKg, G as isHealthPlanSessionRequired, I as showHealthPlanCartBar, J as useEverfurHealthPlan, K as useEverfurHealthPlanRepository, L as useEverfurPresentation } from '../../usePresentation.d-BGz32Vlm.js';
10
+ export { H as HealthPlanCartDock, a as HealthPlanCartScope, b as HealthPlanCartScopeProps, c as HealthPlanController, d as HealthPlanNoVetListener, e as HealthPlanPageOptions, f as HealthPlanPagePhase, g as HealthPlanPageState, h as HealthPlanPhase, i as HealthPlanRecordsLandedListener, j as HealthPlanRecordsLandedSource, k as HealthPlanSnapshot, l as healthPlanNoVet, n as notifyHealthPlanRecordsLanded, o as onHealthPlanNoVet, m as onHealthPlanRecordsLanded, s as setHealthPlanNoVet, u as useHealthPlanCartDock, p as useHealthPlanPage, q as useHealthPlanPageRepository } from '../../planSignals.d-DSnxKoWe.js';
11
+ import { E as EverfurResult } from '../../EverfurResult.d-D_-254ZY.js';
12
+ import { P as PetRef } from '../../ids.d-B2GAAifq.js';
13
+ export { B as Brand, C as ConversationId, R as RecordsRequestId, U as UserRef, _ as __brand } from '../../ids.d-B2GAAifq.js';
14
+ import { L as LifecyclePort } from '../../LifecyclePort.d-Cr1p33a7.js';
15
+ export { A as AuthContext, I as IdentityProvider, M as MintedToken, T as TokenProvider } from '../../identity.d-BePPZ7Uv.js';
16
+ export { A as AcceptedFrame, a as AnalysisCompleteFrame, b as AnalysisStartedFrame, D as DeltaFrame, c as DoneFrame, E as ErrorFrame, d as EverfurRequest, e as EverfurRequestBase, F as Frame, f as FrameBase, g as FrameKind, H as HeartbeatFrame, h as HttpMethod, M as MultipartBody, T as TransportPort, U as UnknownFrame, i as UrgencyLevel } from '../../config.d-MX7IKP2f.js';
17
+ export { E as ErrorPolicyPort } from '../../ErrorPolicyPort.d-68yrE3BE.js';
18
+ export { E as EverfurChatAnswerStyle, a as EverfurChatComposerPlaceholder, b as EverfurChatComposerStyle, c as EverfurChatHistoryBarSetting, d as EverfurChatHistoryStyle, e as EverfurChatSendButtonSetting, f as EverfurChatTopCardSetting, g as EverfurHealthPlanLayout, h as EverfurPresentation, i as EverfurPresentationInput, j as EverfurSafetyDisclaimerPlacement } from '../../presentation.d-vy8kTGfR.js';
19
+ import '../../resolve.d-CoQWUy1Y.js';
20
+ import '../../requestFunnel.d-D9edIEjZ.js';
21
+ import '../../models.d-DOwnr8fi.js';
22
+
23
+ interface HealthPlanItemCardProps extends HealthPlanCardOptions {
24
+ readonly item: HealthPlanItem;
25
+ /** Called with the answer the member asked for: `true` to add, `false` to remove. A throw is swallowed. */
26
+ readonly onToggle?: (inPlan: boolean) => void;
27
+ /** True while this item's add or remove is in flight. */
28
+ readonly pending?: boolean;
29
+ /** This item's last refused write, shown under the control. */
30
+ readonly error?: EverfurError | null;
31
+ /** `'wide'` (default): a full-width picture above the name. `'thumbnail'`: a square picture beside the name. */
32
+ readonly imageVariant?: HealthPlanImageVariant;
33
+ /** `'pills'` (default): filled reason chips. `'rows'`: a mono label column and the reason text, no fill. */
34
+ readonly reasonVariant?: HealthPlanReasonVariant;
35
+ /** How the price reads (locale, and whether a whole amount drops its zero cents). */
36
+ readonly priceFormat?: HealthPlanPriceFormat;
37
+ /** Your own node at the foot of the card, above the control (a study card, a repeat switch). A throw draws nothing. */
38
+ readonly renderFooter?: (item: HealthPlanItem) => ReactNode;
39
+ readonly style?: CSSProperties;
40
+ readonly className?: string;
41
+ }
42
+ /** One Health Plan product as a card, with its reasons and its add / remove control. */
43
+ declare function HealthPlanItemCard(props: HealthPlanItemCardProps): ReactNode;
44
+
45
+ interface HealthPlanCartBarProps {
46
+ readonly cart: HealthPlanCart;
47
+ /** Called with the items in the cart when the member presses checkout. A throw is swallowed. */
48
+ readonly onCheckout?: (items: readonly HealthPlanItem[]) => void;
49
+ /** True while any add or remove is in flight; checkout waits for the cart to settle. */
50
+ readonly busy?: boolean;
51
+ /** How the subtotal reads (locale, and whether a whole amount drops its zero cents). */
52
+ readonly priceFormat?: HealthPlanPriceFormat;
53
+ readonly style?: CSSProperties;
54
+ readonly className?: string;
55
+ }
56
+ /** The cart bar of a Health Plan. */
57
+ declare function HealthPlanCartBar(props: HealthPlanCartBarProps): ReactNode;
58
+
59
+ interface HealthPlanTopRiskProps {
60
+ /** The line over the sentence ("Her top risk"). */
61
+ readonly kicker: string;
62
+ /** The one sentence ("Georgia's top disease risk is IVDD, a back problem, so she should start a Health Plan for it."). */
63
+ readonly sentence: string;
64
+ /** The button's words ("Start her Health Plan"). */
65
+ readonly action: string;
66
+ readonly onOpenPlan: () => void;
67
+ /** A modifier for the dot (`risk` by default), read as `classNames['dot:<kind>']`. */
68
+ readonly kind?: string;
69
+ /** Classes per element (`card`, `kicker`, `dot`, `dot:<kind>`, `sentence`, `button`); a class drops that element's inline default. */
70
+ readonly classNames?: Readonly<Record<string, string | undefined>>;
71
+ readonly style?: CSSProperties;
72
+ }
73
+ /** The top-risk sentence with its way into the Health Plan. */
74
+ declare function HealthPlanTopRisk(props: HealthPlanTopRiskProps): ReactNode;
75
+
76
+ /** One row: the words before the blank, the value (null: still a blank), the words after it, and its source line. */
77
+ interface HealthPlanBlanksRow {
78
+ readonly key: string;
79
+ readonly lead: string;
80
+ readonly value: string | null;
81
+ readonly trail: string;
82
+ readonly source: string;
83
+ /** The blank's width: `s` short (a count), `l` long (a date), absent the usual. */
84
+ readonly width?: 's' | 'l';
85
+ }
86
+ interface HealthPlanBlanksProps {
87
+ readonly phase: 'empty' | 'wait' | 'filled';
88
+ /** The card's kicker ("Asked Juniper Street Vet"); empty draws an empty span, as his markup does. */
89
+ readonly kicker: string;
90
+ /** The pill beside it ("2 to 5 days", "3 of 3 filled"). */
91
+ readonly pill: string;
92
+ readonly rows: readonly HealthPlanBlanksRow[];
93
+ /** A blank's name for a screen reader ("blank"). */
94
+ readonly blankLabel: string;
95
+ /** The section's accessible name ("Her three blanks"). */
96
+ readonly label: string;
97
+ /** Changing it to a new non-null value plays the yellow flash once over the filled blanks. */
98
+ readonly flashKey?: string | null;
99
+ /** The flash's yellow (the partner's accent). */
100
+ readonly flashColor: string;
101
+ readonly p: (part: HealthPlanFocusPart, kind?: string) => {
102
+ className?: string;
103
+ };
104
+ }
105
+ declare function HealthPlanBlanks(props: HealthPlanBlanksProps): ReactNode;
106
+
107
+ type HealthPlanSubscriptionPhase = 'idle' | 'loading' | 'unavailable' | 'failed' | 'ready';
108
+ interface HealthPlanSubscriptionOptions {
109
+ readonly petRef: PetRef | null;
110
+ readonly productId: string | null;
111
+ /** False skips every read (a host that has not opted in). Defaults to true. */
112
+ readonly enabled?: boolean;
113
+ /** A repository of your own (tests, a stub backend). Defaults to the one over the provider's runtime. */
114
+ readonly repository?: HealthPlanSubscriptionRepository;
115
+ /** Coming back to the foreground re-reads a quote shown for more than a minute, quietly. Absent, it does not. */
116
+ readonly lifecycle?: LifecyclePort | null;
117
+ /** Change it to re-read the quote now, quietly (for example after your checkout completed). */
118
+ readonly refreshKey?: string | number;
119
+ }
120
+ interface HealthPlanSubscriptionState {
121
+ readonly phase: HealthPlanSubscriptionPhase;
122
+ readonly quote: HealthPlanSubscriptionQuote | null;
123
+ /** The member's row for this pet and product (active or cancelled), or null. */
124
+ readonly subscription: HealthPlanSubscription | null;
125
+ /** A write is in flight. */
126
+ readonly busy: boolean;
127
+ /** The last refused read or write, or null. */
128
+ readonly error: EverfurError | null;
129
+ /** Each write settles the server's new state, or the refusal (a write before the quote is ready is refused). */
130
+ subscribe(intervalDays: number): Promise<EverfurResult<HealthPlanSubscription>>;
131
+ changeInterval(intervalDays: number): Promise<EverfurResult<HealthPlanSubscription>>;
132
+ skip(): Promise<EverfurResult<HealthPlanSubscription>>;
133
+ cancel(): Promise<EverfurResult<HealthPlanSubscription>>;
134
+ restart(intervalDays?: number): Promise<EverfurResult<HealthPlanSubscription>>;
135
+ /** Buy one box (no renewal), then re-read the quote: a one-box order spends the first-box offer. */
136
+ buyOneBox(tapKey?: string): Promise<EverfurResult<HealthPlanOneBoxOrder>>;
137
+ refresh(): Promise<void>;
138
+ }
139
+ /** The subscription repository bound to the runtime under your provider. */
140
+ declare function useHealthPlanSubscriptionRepository(): HealthPlanSubscriptionRepository;
141
+ /** One product's subscription for one pet. `EverfurHealthPlan` with `layout="focus"` paints it. */
142
+ declare function useHealthPlanSubscription(options: HealthPlanSubscriptionOptions): HealthPlanSubscriptionState;
143
+
144
+ /** The page's focus, as the copy functions receive it. */
145
+ type HealthPlanTopCardFocus = NonNullable<HealthPlanFocusDesign['focus']>;
146
+ /** Who the card is about: the page's pet and the possessive its words use ("her", "his", "Georgia's"), or null. */
147
+ interface HealthPlanTopCardPet {
148
+ readonly pet: HealthPlanPagePet;
149
+ readonly possessive: string | null;
150
+ }
151
+ /** The card's own words. Defaults: Raph's v3 design (`HEALTH_PLAN_TOP_CARD_COPY`). */
152
+ interface HealthPlanTopCardCopy {
153
+ /** The plan button ("See her Health Plan"); null draws none. */
154
+ readonly action: (who: HealthPlanTopCardPet) => string | null;
155
+ /** The question link ("What does it mean?"). */
156
+ readonly ask: string;
157
+ /** What the link sends to the chat: the risk line's lead, then the link's words. */
158
+ readonly askPrompt: (focus: HealthPlanTopCardFocus, ask: string) => string;
159
+ /** The close control's accessible name ("Close her focus"); null or blank names it with the chat's plain "Close". */
160
+ readonly close: (who: HealthPlanTopCardPet) => string | null;
161
+ }
162
+ declare const HEALTH_PLAN_TOP_CARD_COPY: HealthPlanTopCardCopy;
163
+ /**
164
+ * "her" for a female, "his" for a male, "Georgia's" for a named pet of unknown sex, else null. The sex is read
165
+ * leniently (any case, surrounding spaces), so a host-shaped page that says "Female" still reads as her.
166
+ */
167
+ declare function healthPlanPossessive(pet: HealthPlanPagePet): string | null;
168
+ interface HealthPlanTopCardOptions {
169
+ /** Opens the pet's Health Plan (your tab or screen). Absent, the card has no plan button (the chat's own card). */
170
+ readonly onOpenPlan?: (() => void) | undefined;
171
+ readonly copy?: Partial<HealthPlanTopCardCopy>;
172
+ readonly classNames?: EverfurChatTopCard['classNames'];
173
+ readonly renderIcon?: (icon: 'close') => ReactNode;
174
+ }
175
+ /** The top card for a page, or undefined when the page has no focus to show. Pure. */
176
+ declare function healthPlanTopCard(page: HealthPlanPage | null, options: HealthPlanTopCardOptions): EverfurChatTopCard | undefined;
177
+ interface UseHealthPlanTopCardOptions extends HealthPlanTopCardOptions {
178
+ readonly petRef: PetRef | null;
179
+ /** False skips the page read (and the card). Defaults to true. */
180
+ readonly enabled?: boolean;
181
+ }
182
+ /**
183
+ * The chat's top card for one pet, from its Health Plan page; undefined while the page loads, on a refused read, or
184
+ * when the page has no focus. Keep `onOpenPlan`, `copy`, `classNames` and `renderIcon` stable (module constants or
185
+ * memoised), so the card is rebuilt only when the page changes.
186
+ */
187
+ declare function useHealthPlanTopCard(options: UseHealthPlanTopCardOptions): EverfurChatTopCard | undefined;
188
+
189
+ export { EverfurChatTopCard, EverfurError, EverfurResult, HEALTH_PLAN_TOP_CARD_COPY, HealthPlanBlanks, type HealthPlanBlanksProps, type HealthPlanBlanksRow, HealthPlanCardOptions, HealthPlanCart, HealthPlanCartBar, type HealthPlanCartBarProps, HealthPlanFocusDesign, HealthPlanFocusPart, HealthPlanImageVariant, HealthPlanItem, HealthPlanItemCard, type HealthPlanItemCardProps, HealthPlanOneBoxOrder, HealthPlanPage, HealthPlanPagePet, HealthPlanPriceFormat, HealthPlanReasonVariant, HealthPlanSubscription, type HealthPlanSubscriptionOptions, type HealthPlanSubscriptionPhase, HealthPlanSubscriptionQuote, HealthPlanSubscriptionRepository, type HealthPlanSubscriptionState, type HealthPlanTopCardCopy, type HealthPlanTopCardFocus, type HealthPlanTopCardOptions, type HealthPlanTopCardPet, HealthPlanTopRisk, type HealthPlanTopRiskProps, LifecyclePort, PetRef, type UseHealthPlanTopCardOptions, healthPlanPossessive, healthPlanTopCard, useHealthPlanSubscription, useHealthPlanSubscriptionRepository, useHealthPlanTopCard };