@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
@@ -1,244 +1,11 @@
1
- import { E as EverfurResult } from './EverfurResult-ClPTS0P2.js';
2
- import { P as PetRef } from './ids-B2GAAifq.js';
3
- import { R as RequestFunnel } from './requestFunnel-BYzlyaC0.js';
4
- import { A as AuthContext } from './identity-BqeaN8An.js';
5
- import { E as ErrorPolicyPort } from './ErrorPolicyPort-C3nNSS_j.js';
6
- import { d as RecordsRequestView, R as RecordDocumentMeta, a as RecordEntity } from './models-CnXY5LuO.js';
7
- import { E as EverfurError } from './EverfurError-DeBqRpQV.js';
8
-
9
- /** Who a share link is for, while the server's audience switch is on (V819), in the order it offers them. */
10
- type RecordShareAudience = 'vet' | 'groomer' | 'boarding';
11
- /** Every audience this package can name, in the design's order. */
12
- declare const RECORD_SHARE_AUDIENCES: readonly RecordShareAudience[];
13
- /** Who an emailed record goes to: an audience, or `other` (the neutral email wording and no audience). */
14
- type RecordShareRecipientKind = RecordShareAudience | 'other';
15
- /**
16
- * What a link minted for one audience carries (`ShareAudienceScope` on the wire): the content `sections` of the
17
- * shared record and, for a care handoff that is not a vet, the only `entityTypes` it keeps (null: every type).
18
- */
19
- interface RecordShareAudienceScope {
20
- readonly audience: RecordShareAudience;
21
- readonly sections: readonly string[];
22
- readonly entityTypes: readonly string[] | null;
23
- }
24
- /** A freshly minted share link. `shareUrl` is shown once; the list read never repeats it. */
25
- interface RecordShareLink {
26
- readonly shareId: string;
27
- readonly shareUrl: string;
28
- readonly expiresAt: string | null;
29
- /**
30
- * The audience the link was stamped with; null for a link minted without one (or with the switch off). Always
31
- * set by this package's mapper; optional only so a value a host builds itself (a test double) still type-checks.
32
- */
33
- readonly audience?: RecordShareAudience | null;
34
- }
35
- /** One live share link as the list read reports it (no URL: the token was shown once, at creation). */
36
- interface RecordShare {
37
- readonly shareId: string;
38
- readonly expiresAt: string | null;
39
- readonly createdAt: string | null;
40
- readonly viewCount: number;
41
- readonly lastViewedAt: string | null;
42
- /**
43
- * The audience the link was stamped with; null for none, an unknown one, or with the switch off. Always set by
44
- * this package's mapper; optional only so a value a host builds itself (a test double) still type-checks.
45
- */
46
- readonly audience?: RecordShareAudience | null;
47
- }
48
- /** Email the record: the recipient's address and who they are (which picks the email's wording). */
49
- interface RecordShareEmailInput {
50
- readonly recipientEmail: string;
51
- readonly recipientKind: RecordShareRecipientKind;
52
- }
53
- /**
54
- * The emailed link's receipt: the id to turn it off by and the date it dies. NO URL, by design: the server never
55
- * returns the link for an email send, and this shape has nowhere to put one.
56
- */
57
- interface RecordShareEmailReceipt {
58
- readonly shareId: string;
59
- readonly expiresAt: string | null;
60
- readonly audience: RecordShareAudience | null;
61
- }
62
- /** The presigned PDF download. */
63
- interface RecordPdfLink {
64
- readonly downloadUrl: string;
65
- readonly expiresAt: string | null;
66
- }
67
- /** The longest address the email route accepts (`recipient_email: Field(max_length=254)`). */
68
- declare const SHARE_RECIPIENT_EMAIL_MAX = 254;
69
- /**
70
- * The email route's own lenient address check (records_router.py `_EMAIL_RE`, which the widget route imports), so
71
- * an address the server would refuse is refused here before a request is spent. Not an RFC 5322 parser.
72
- */
73
- declare function isShareRecipientEmail(value: string): boolean;
74
- /**
75
- * `share_audiences` off the features read, FAIL CLOSED: absent, not a list, or any entry off the documented shape
76
- * is NO audiences, so a surface never claims a scope it cannot read. An audience this package cannot name (a
77
- * newer server's) and a repeat are dropped; the rest keep the server's order.
78
- */
79
- declare function mapShareAudiences(wire: unknown): readonly RecordShareAudienceScope[];
80
- /**
81
- * The share link as an absolute https URL. The consumer route returns the RELATIVE form
82
- * (`/api/v1/records/everfur_record/shared/<token>.pdf`), which is resolved against the API base URL the
83
- * client was built for; an absolute value is kept as it is. A link that cannot be made absolute https (a
84
- * relative path with no base URL, another scheme, a malformed value) is refused: it is never opened raw.
85
- */
86
- declare function resolveShareUrl(shareUrl: string, apiBaseUrl: string | undefined): string | null;
87
- /** The mint response to a frozen link, or null when malformed (fail-closed: no link is better than a bad one). */
88
- declare function mapRecordShareLink(wire: unknown, apiBaseUrl?: string): RecordShareLink | null;
89
- /** The list response to frozen rows, or null when malformed. */
90
- declare function mapRecordShareList(wire: unknown): readonly RecordShare[] | null;
91
- /** The email send's answer to a frozen receipt, or null when malformed. Only the named keys survive: never a URL. */
92
- declare function mapRecordShareEmailReceipt(wire: unknown): RecordShareEmailReceipt | null;
93
- /** The PDF link response to a frozen link, or null when malformed or not https. */
94
- declare function mapRecordPdfLink(wire: unknown): RecordPdfLink | null;
95
-
96
- /** A photo type `uploads/initiate` accepts while photo upload is armed. */
97
- type RecordsPhotoContentType = 'image/jpeg' | 'image/png' | 'image/heic' | 'image/heif';
98
- /** A content type `uploads/initiate` can be asked for. */
99
- type RecordsUploadContentType = 'application/pdf' | RecordsPhotoContentType;
100
-
101
- /** The records features read, mapped. */
102
- interface RecordsFeatures {
103
- /** Every feature the server named, by its wire name (`markers`, `sharing`, ...). Empty when the read failed. */
104
- readonly features: Readonly<Record<string, boolean>>;
105
- /** What an upload may declare. Always starts with `application/pdf`; photo types only while armed. */
106
- readonly uploadContentTypes: readonly RecordsUploadContentType[];
107
- /**
108
- * Who a share link can be for, in the server's order, each with the scope its link carries. Served only while
109
- * the audience switch is on; empty otherwise, and when the list is malformed.
110
- */
111
- readonly shareAudiences: readonly RecordShareAudienceScope[];
112
- }
113
- /** True when an upload may be a photo. An absent list (a host-built state) is PDF only. */
114
- declare function acceptsPhotos(types: readonly string[] | undefined): boolean;
115
-
116
- /** Directory contact details only. The server intentionally does not expose clinic email addresses. */
117
- interface RecordsClinic {
118
- readonly id: string;
119
- readonly name: string;
120
- readonly address: string | null;
121
- readonly phone: string | null;
122
- readonly emailStatus: string;
123
- readonly distanceKm: number | null;
124
- }
125
- interface RecordsClinicSearchInput {
126
- readonly query?: string;
127
- readonly location?: {
128
- readonly latitude: number;
129
- readonly longitude: number;
130
- };
131
- readonly limit?: number;
132
- /** Use with the same query/location that produced it. Opaque; never decode it. */
133
- readonly cursor?: string;
134
- }
135
- interface RecordsClinicSearchPage {
136
- readonly clinics: readonly RecordsClinic[];
137
- readonly nextCursor: string | null;
138
- }
139
- /** `GET /widget/v1/records/clinics/recent`: the directory clinics THIS member sent a request to before. */
140
- interface RecordsRecentClinicsInput {
141
- /** 1 to 25 (the route's bound); the server default when omitted. */
142
- readonly limit?: number;
143
- }
144
- /** Backend-authored templates. Present them before signing; never substitute SDK-authored legal copy. */
145
- interface RecordsAuthorizationCopy {
146
- readonly authorizationVersion: string;
147
- readonly scopeTemplate: string;
148
- readonly authorizationTemplate: string;
149
- }
150
- type RecordsClinicTarget = {
151
- readonly clinicId: string;
152
- readonly clinicFreeText?: never;
153
- } | {
154
- readonly clinicId?: never;
155
- readonly clinicFreeText: string;
156
- };
157
- /** Exactly one explicit authorization signature; never inferred from the partner's virtual user. */
158
- type RecordsAuthorizationSignature = {
159
- readonly signatureId: string;
160
- readonly signaturePngBase64?: never;
161
- } | {
162
- readonly signatureId?: never;
163
- readonly signaturePngBase64: string;
164
- };
165
- type CreateClinicRequestInput = RecordsClinicTarget & RecordsAuthorizationSignature & {
166
- readonly petRef: PetRef;
167
- readonly ownerName: string;
168
- readonly authorizationVersion: string;
169
- /** Owner-supplied contact only; server anti-relay checks prevent redirecting an addressable clinic. */
170
- readonly clinicEmail?: string;
171
- /** Stable for retries of this authorization, distinct for a new authorization. */
172
- readonly idempotencyKey: string;
173
- };
174
- /** Multipart signature upload policy. Do not log or persist this short-lived credential. */
175
- interface RecordsSignatureUploadPolicy {
176
- readonly uploadId: string;
177
- readonly uploadUrl: string;
178
- readonly uploadFields: Readonly<Record<string, string>>;
179
- }
180
-
181
- interface HttpRecordsClinicRepositoryDeps {
182
- readonly auth: AuthContext;
183
- readonly funnel?: RequestFunnel;
184
- readonly errorPolicy?: ErrorPolicyPort;
185
- }
186
-
187
- /** The most clinics one batch may name (the server's `_MAX_BATCH_CLINICS`). */
188
- declare const RECORDS_CLINIC_BATCH_MAX = 10;
189
- /** One clinic of a batch: exactly one clinic target, exactly one signature, and its own idempotency key. */
190
- type RecordsClinicBatchItem = RecordsClinicTarget & RecordsAuthorizationSignature & {
191
- /** Owner-supplied contact only; server anti-relay checks prevent redirecting an addressable clinic. */
192
- readonly clinicEmail?: string;
193
- /** Stable for retries of this clinic's authorization, distinct for a new one. */
194
- readonly idempotencyKey: string;
195
- };
196
- interface CreateClinicRequestBatchInput {
197
- /** The registered pet the records are requested for. */
198
- readonly petRef: PetRef;
199
- /** The signer's name, confirmed by the owner before signing. */
200
- readonly ownerName: string;
201
- /** The version of the backend-authored authorization copy the owner signed. */
202
- readonly authorizationVersion: string;
203
- /** 1..RECORDS_CLINIC_BATCH_MAX clinics. */
204
- readonly clinics: readonly RecordsClinicBatchItem[];
205
- }
206
- /** One clinic's outcome: `request` when created, `failureCode` and `failureReason` when not. */
207
- interface RecordsClinicBatchResult {
208
- /** The idempotency key this clinic was sent with. */
209
- readonly idempotencyKey: string;
210
- /** The directory clinic, when the clinic was chosen from the directory. */
211
- readonly clinicId: string | null;
212
- /** The owner-entered clinic, when it was not. */
213
- readonly clinicFreeText: string | null;
214
- /** True when this clinic has a request in the response; false with failureCode otherwise. */
215
- readonly created: boolean;
216
- /** The created request, mapped like every other records request. */
217
- readonly request: RecordsRequestView | null;
218
- /** Machine-readable reason this clinic was not created. */
219
- readonly failureCode: string | null;
220
- /** Server-authored; safe to log, but render your own copy from `failureCode`. */
221
- readonly failureReason: string | null;
222
- }
223
- interface RecordsClinicBatch {
224
- /** The group every request of this batch belongs to. */
225
- readonly requestGroupId: string;
226
- /** The pet the batch was for; always the input's petRef. */
227
- readonly petRef: string;
228
- /** One result per clinic, in the order sent. */
229
- readonly results: readonly RecordsClinicBatchResult[];
230
- /** How many clinics have a request. */
231
- readonly createdCount: number;
232
- /** How many clinics failed. */
233
- readonly failedCount: number;
234
- }
235
- /** The multi-clinic records request client. */
236
- interface RecordsClinicBatchClient {
237
- /** Run it only from the owner's own signed action: it gives consent and contacts clinics in the owner's name. */
238
- createClinicRequestBatch(input: CreateClinicRequestBatchInput): Promise<EverfurResult<RecordsClinicBatch>>;
239
- }
240
- /** The batch client, over the same auth, funnel and error policy as the clinic repository. */
241
- declare function createRecordsClinicBatchClient(deps: HttpRecordsClinicRepositoryDeps): RecordsClinicBatchClient;
1
+ import { E as EverfurResult } from './EverfurResult.d-D_-254ZY.js';
2
+ import { P as PetRef } from './ids.d-B2GAAifq.js';
3
+ import { E as EverfurError } from './EverfurError.d-8NHtlgzA.js';
4
+ import { R as RecordDocumentMeta, a as RecordEntity } from './models.d-DOwnr8fi.js';
5
+ import { E as ErrorPolicyPort } from './ErrorPolicyPort.d-68yrE3BE.js';
6
+ import { R as RequestFunnel } from './requestFunnel.d-D9edIEjZ.js';
7
+ import { A as AuthContext } from './identity.d-BePPZ7Uv.js';
8
+ import { R as RecordShareAudience, c as RecordShareLink, d as RecordShareEmailInput, e as RecordShareEmailReceipt, a as RecordsFeatures, f as RecordShare, g as RecordPdfLink } from './features.d-DrQxTw3-.js';
242
9
 
243
10
  /** A corrected field's wire value: text and dates as strings, numbers as numbers, flags as booleans. */
244
11
  type FactFieldValue = string | number | boolean;
@@ -626,4 +393,4 @@ interface RecordsDepthClient {
626
393
  /** The depth client, over the same auth, funnel and error policy as the records repository. */
627
394
  declare function createRecordsDepthClient(deps: HttpRecordsRepositoryDeps): RecordsDepthClient;
628
395
 
629
- export { type RecordsSignatureSuggestion as $, type HttpRecordsRepositoryDeps as A, RECORDS_CLINIC_BATCH_MAX as B, type CreateClinicRequestBatchInput as C, RECORD_SHARE_AUDIENCES as D, type RecordFactEditInput as E, FACT_FIELD_BY_KIND as F, type RecordFactRemoveInput as G, type HttpRecordsClinicRepositoryDeps as H, type RecordMarker as I, type RecordMarkerLatest as J, type RecordMarkerPoint as K, type RecordMarkerSummary as L, type RecordMarkersView as M, type RecordPdfLink as N, type RecordShare as O, type RecordShareAudienceScope as P, type RecordShareEmailInput as Q, type RecordClinicianNote as R, type RecordShareEmailReceipt as S, type RecordShareLink as T, type RecordShareRecipientKind as U, type RecordsAuthorizationSignature as V, type RecordsClinicBatch as W, type RecordsClinicBatchClient as X, type RecordsClinicBatchItem as Y, type RecordsClinicBatchResult as Z, type RecordsClinicTarget as _, type RecordClinicianNoteSection as a, SHARE_RECIPIENT_EMAIL_MAX as a0, createRecordsClinicBatchClient as a1, createRecordsDepthClient as a2, factCorrectionFor as a3, factValueCorrection as a4, inferFactValueKind as a5, isFactReviewerLocked as a6, isShareRecipientEmail as a7, mapRecordMarkers as a8, mapRecordPdfLink as a9, mapRecordShareEmailReceipt as aa, mapRecordShareLink as ab, mapRecordShareList as ac, mapShareAudiences as ad, mapSignatureSuggestions as ae, resolveShareUrl as af, type RecordsClinicSearchInput as ag, type RecordsClinicSearchPage as ah, type RecordsRecentClinicsInput as ai, type RecordsAuthorizationCopy as aj, type CreateClinicRequestInput as ak, type RecordsSignatureUploadPolicy as al, type RecordsFeatures as am, type RecordsUploadContentType as an, type RecordsPhotoContentType as ao, acceptsPhotos as ap, type RecordCompleteness as b, type RecordConflict as c, type RecordConflictCandidate as d, type RecordDepthView as e, type RecordDocumentContributionsView as f, type RecordEncounter as g, type RecordExamSystem as h, type RecordLabMarker as i, type RecordLabPoint as j, type RecordPhysicalExam as k, type RecordShareAudience as l, type RecordsClinic as m, type RecordsDepthClient as n, type RecordsRequestDocument as o, type RecordsTimelineMedication as p, type RecordsTimelineVaccine as q, type RecordsTimelineView as r, type RecordsTimelineVisit as s, type RecordsTimelineWeight as t, mapDocumentContributions as u, mapRecordDepth as v, mapRecordsTimeline as w, FACT_VALUE_FIELD as x, type FactFieldValue as y, type FactValueKind as z };
396
+ export { type RecordMarker as A, type RecordMarkerLatest as B, type RecordMarkerPoint as C, type RecordMarkerSummary as D, type RecordMarkersView as E, FACT_FIELD_BY_KIND as F, type RecordsSignatureSuggestion as G, type HttpRecordsRepositoryDeps as H, createRecordsDepthClient as I, factCorrectionFor as J, factValueCorrection as K, inferFactValueKind as L, isFactReviewerLocked as M, mapRecordMarkers as N, mapSignatureSuggestions as O, type RecordClinicianNote as R, type RecordClinicianNoteSection as a, type RecordCompleteness as b, type RecordConflict as c, type RecordConflictCandidate as d, type RecordDepthView as e, type RecordDocumentContributionsView as f, type RecordEncounter as g, type RecordExamSystem as h, type RecordLabMarker as i, type RecordLabPoint as j, type RecordPhysicalExam as k, type RecordsDepthClient as l, type RecordsRequestDocument as m, type RecordsTimelineMedication as n, type RecordsTimelineVaccine as o, type RecordsTimelineView as p, type RecordsTimelineVisit as q, type RecordsTimelineWeight as r, mapDocumentContributions as s, mapRecordDepth as t, mapRecordsTimeline as u, FACT_VALUE_FIELD as v, type FactFieldValue as w, type FactValueKind as x, type RecordFactEditInput as y, type RecordFactRemoveInput as z };
@@ -1,244 +1,11 @@
1
- import { E as EverfurResult } from './EverfurResult-COlXj1wq.cjs';
2
- import { P as PetRef } from './ids-B2GAAifq.cjs';
3
- import { R as RequestFunnel } from './requestFunnel-DLZpiFD3.cjs';
4
- import { A as AuthContext } from './identity-gjurBi7m.cjs';
5
- import { E as ErrorPolicyPort } from './ErrorPolicyPort-10s3HJCt.cjs';
6
- import { d as RecordsRequestView, R as RecordDocumentMeta, a as RecordEntity } from './models-A4A5S7AG.cjs';
7
- import { E as EverfurError } from './EverfurError-DeBqRpQV.cjs';
8
-
9
- /** Who a share link is for, while the server's audience switch is on (V819), in the order it offers them. */
10
- type RecordShareAudience = 'vet' | 'groomer' | 'boarding';
11
- /** Every audience this package can name, in the design's order. */
12
- declare const RECORD_SHARE_AUDIENCES: readonly RecordShareAudience[];
13
- /** Who an emailed record goes to: an audience, or `other` (the neutral email wording and no audience). */
14
- type RecordShareRecipientKind = RecordShareAudience | 'other';
15
- /**
16
- * What a link minted for one audience carries (`ShareAudienceScope` on the wire): the content `sections` of the
17
- * shared record and, for a care handoff that is not a vet, the only `entityTypes` it keeps (null: every type).
18
- */
19
- interface RecordShareAudienceScope {
20
- readonly audience: RecordShareAudience;
21
- readonly sections: readonly string[];
22
- readonly entityTypes: readonly string[] | null;
23
- }
24
- /** A freshly minted share link. `shareUrl` is shown once; the list read never repeats it. */
25
- interface RecordShareLink {
26
- readonly shareId: string;
27
- readonly shareUrl: string;
28
- readonly expiresAt: string | null;
29
- /**
30
- * The audience the link was stamped with; null for a link minted without one (or with the switch off). Always
31
- * set by this package's mapper; optional only so a value a host builds itself (a test double) still type-checks.
32
- */
33
- readonly audience?: RecordShareAudience | null;
34
- }
35
- /** One live share link as the list read reports it (no URL: the token was shown once, at creation). */
36
- interface RecordShare {
37
- readonly shareId: string;
38
- readonly expiresAt: string | null;
39
- readonly createdAt: string | null;
40
- readonly viewCount: number;
41
- readonly lastViewedAt: string | null;
42
- /**
43
- * The audience the link was stamped with; null for none, an unknown one, or with the switch off. Always set by
44
- * this package's mapper; optional only so a value a host builds itself (a test double) still type-checks.
45
- */
46
- readonly audience?: RecordShareAudience | null;
47
- }
48
- /** Email the record: the recipient's address and who they are (which picks the email's wording). */
49
- interface RecordShareEmailInput {
50
- readonly recipientEmail: string;
51
- readonly recipientKind: RecordShareRecipientKind;
52
- }
53
- /**
54
- * The emailed link's receipt: the id to turn it off by and the date it dies. NO URL, by design: the server never
55
- * returns the link for an email send, and this shape has nowhere to put one.
56
- */
57
- interface RecordShareEmailReceipt {
58
- readonly shareId: string;
59
- readonly expiresAt: string | null;
60
- readonly audience: RecordShareAudience | null;
61
- }
62
- /** The presigned PDF download. */
63
- interface RecordPdfLink {
64
- readonly downloadUrl: string;
65
- readonly expiresAt: string | null;
66
- }
67
- /** The longest address the email route accepts (`recipient_email: Field(max_length=254)`). */
68
- declare const SHARE_RECIPIENT_EMAIL_MAX = 254;
69
- /**
70
- * The email route's own lenient address check (records_router.py `_EMAIL_RE`, which the widget route imports), so
71
- * an address the server would refuse is refused here before a request is spent. Not an RFC 5322 parser.
72
- */
73
- declare function isShareRecipientEmail(value: string): boolean;
74
- /**
75
- * `share_audiences` off the features read, FAIL CLOSED: absent, not a list, or any entry off the documented shape
76
- * is NO audiences, so a surface never claims a scope it cannot read. An audience this package cannot name (a
77
- * newer server's) and a repeat are dropped; the rest keep the server's order.
78
- */
79
- declare function mapShareAudiences(wire: unknown): readonly RecordShareAudienceScope[];
80
- /**
81
- * The share link as an absolute https URL. The consumer route returns the RELATIVE form
82
- * (`/api/v1/records/everfur_record/shared/<token>.pdf`), which is resolved against the API base URL the
83
- * client was built for; an absolute value is kept as it is. A link that cannot be made absolute https (a
84
- * relative path with no base URL, another scheme, a malformed value) is refused: it is never opened raw.
85
- */
86
- declare function resolveShareUrl(shareUrl: string, apiBaseUrl: string | undefined): string | null;
87
- /** The mint response to a frozen link, or null when malformed (fail-closed: no link is better than a bad one). */
88
- declare function mapRecordShareLink(wire: unknown, apiBaseUrl?: string): RecordShareLink | null;
89
- /** The list response to frozen rows, or null when malformed. */
90
- declare function mapRecordShareList(wire: unknown): readonly RecordShare[] | null;
91
- /** The email send's answer to a frozen receipt, or null when malformed. Only the named keys survive: never a URL. */
92
- declare function mapRecordShareEmailReceipt(wire: unknown): RecordShareEmailReceipt | null;
93
- /** The PDF link response to a frozen link, or null when malformed or not https. */
94
- declare function mapRecordPdfLink(wire: unknown): RecordPdfLink | null;
95
-
96
- /** A photo type `uploads/initiate` accepts while photo upload is armed. */
97
- type RecordsPhotoContentType = 'image/jpeg' | 'image/png' | 'image/heic' | 'image/heif';
98
- /** A content type `uploads/initiate` can be asked for. */
99
- type RecordsUploadContentType = 'application/pdf' | RecordsPhotoContentType;
100
-
101
- /** The records features read, mapped. */
102
- interface RecordsFeatures {
103
- /** Every feature the server named, by its wire name (`markers`, `sharing`, ...). Empty when the read failed. */
104
- readonly features: Readonly<Record<string, boolean>>;
105
- /** What an upload may declare. Always starts with `application/pdf`; photo types only while armed. */
106
- readonly uploadContentTypes: readonly RecordsUploadContentType[];
107
- /**
108
- * Who a share link can be for, in the server's order, each with the scope its link carries. Served only while
109
- * the audience switch is on; empty otherwise, and when the list is malformed.
110
- */
111
- readonly shareAudiences: readonly RecordShareAudienceScope[];
112
- }
113
- /** True when an upload may be a photo. An absent list (a host-built state) is PDF only. */
114
- declare function acceptsPhotos(types: readonly string[] | undefined): boolean;
115
-
116
- /** Directory contact details only. The server intentionally does not expose clinic email addresses. */
117
- interface RecordsClinic {
118
- readonly id: string;
119
- readonly name: string;
120
- readonly address: string | null;
121
- readonly phone: string | null;
122
- readonly emailStatus: string;
123
- readonly distanceKm: number | null;
124
- }
125
- interface RecordsClinicSearchInput {
126
- readonly query?: string;
127
- readonly location?: {
128
- readonly latitude: number;
129
- readonly longitude: number;
130
- };
131
- readonly limit?: number;
132
- /** Use with the same query/location that produced it. Opaque; never decode it. */
133
- readonly cursor?: string;
134
- }
135
- interface RecordsClinicSearchPage {
136
- readonly clinics: readonly RecordsClinic[];
137
- readonly nextCursor: string | null;
138
- }
139
- /** `GET /widget/v1/records/clinics/recent`: the directory clinics THIS member sent a request to before. */
140
- interface RecordsRecentClinicsInput {
141
- /** 1 to 25 (the route's bound); the server default when omitted. */
142
- readonly limit?: number;
143
- }
144
- /** Backend-authored templates. Present them before signing; never substitute SDK-authored legal copy. */
145
- interface RecordsAuthorizationCopy {
146
- readonly authorizationVersion: string;
147
- readonly scopeTemplate: string;
148
- readonly authorizationTemplate: string;
149
- }
150
- type RecordsClinicTarget = {
151
- readonly clinicId: string;
152
- readonly clinicFreeText?: never;
153
- } | {
154
- readonly clinicId?: never;
155
- readonly clinicFreeText: string;
156
- };
157
- /** Exactly one explicit authorization signature; never inferred from the partner's virtual user. */
158
- type RecordsAuthorizationSignature = {
159
- readonly signatureId: string;
160
- readonly signaturePngBase64?: never;
161
- } | {
162
- readonly signatureId?: never;
163
- readonly signaturePngBase64: string;
164
- };
165
- type CreateClinicRequestInput = RecordsClinicTarget & RecordsAuthorizationSignature & {
166
- readonly petRef: PetRef;
167
- readonly ownerName: string;
168
- readonly authorizationVersion: string;
169
- /** Owner-supplied contact only; server anti-relay checks prevent redirecting an addressable clinic. */
170
- readonly clinicEmail?: string;
171
- /** Stable for retries of this authorization, distinct for a new authorization. */
172
- readonly idempotencyKey: string;
173
- };
174
- /** Multipart signature upload policy. Do not log or persist this short-lived credential. */
175
- interface RecordsSignatureUploadPolicy {
176
- readonly uploadId: string;
177
- readonly uploadUrl: string;
178
- readonly uploadFields: Readonly<Record<string, string>>;
179
- }
180
-
181
- interface HttpRecordsClinicRepositoryDeps {
182
- readonly auth: AuthContext;
183
- readonly funnel?: RequestFunnel;
184
- readonly errorPolicy?: ErrorPolicyPort;
185
- }
186
-
187
- /** The most clinics one batch may name (the server's `_MAX_BATCH_CLINICS`). */
188
- declare const RECORDS_CLINIC_BATCH_MAX = 10;
189
- /** One clinic of a batch: exactly one clinic target, exactly one signature, and its own idempotency key. */
190
- type RecordsClinicBatchItem = RecordsClinicTarget & RecordsAuthorizationSignature & {
191
- /** Owner-supplied contact only; server anti-relay checks prevent redirecting an addressable clinic. */
192
- readonly clinicEmail?: string;
193
- /** Stable for retries of this clinic's authorization, distinct for a new one. */
194
- readonly idempotencyKey: string;
195
- };
196
- interface CreateClinicRequestBatchInput {
197
- /** The registered pet the records are requested for. */
198
- readonly petRef: PetRef;
199
- /** The signer's name, confirmed by the owner before signing. */
200
- readonly ownerName: string;
201
- /** The version of the backend-authored authorization copy the owner signed. */
202
- readonly authorizationVersion: string;
203
- /** 1..RECORDS_CLINIC_BATCH_MAX clinics. */
204
- readonly clinics: readonly RecordsClinicBatchItem[];
205
- }
206
- /** One clinic's outcome: `request` when created, `failureCode` and `failureReason` when not. */
207
- interface RecordsClinicBatchResult {
208
- /** The idempotency key this clinic was sent with. */
209
- readonly idempotencyKey: string;
210
- /** The directory clinic, when the clinic was chosen from the directory. */
211
- readonly clinicId: string | null;
212
- /** The owner-entered clinic, when it was not. */
213
- readonly clinicFreeText: string | null;
214
- /** True when this clinic has a request in the response; false with failureCode otherwise. */
215
- readonly created: boolean;
216
- /** The created request, mapped like every other records request. */
217
- readonly request: RecordsRequestView | null;
218
- /** Machine-readable reason this clinic was not created. */
219
- readonly failureCode: string | null;
220
- /** Server-authored; safe to log, but render your own copy from `failureCode`. */
221
- readonly failureReason: string | null;
222
- }
223
- interface RecordsClinicBatch {
224
- /** The group every request of this batch belongs to. */
225
- readonly requestGroupId: string;
226
- /** The pet the batch was for; always the input's petRef. */
227
- readonly petRef: string;
228
- /** One result per clinic, in the order sent. */
229
- readonly results: readonly RecordsClinicBatchResult[];
230
- /** How many clinics have a request. */
231
- readonly createdCount: number;
232
- /** How many clinics failed. */
233
- readonly failedCount: number;
234
- }
235
- /** The multi-clinic records request client. */
236
- interface RecordsClinicBatchClient {
237
- /** Run it only from the owner's own signed action: it gives consent and contacts clinics in the owner's name. */
238
- createClinicRequestBatch(input: CreateClinicRequestBatchInput): Promise<EverfurResult<RecordsClinicBatch>>;
239
- }
240
- /** The batch client, over the same auth, funnel and error policy as the clinic repository. */
241
- declare function createRecordsClinicBatchClient(deps: HttpRecordsClinicRepositoryDeps): RecordsClinicBatchClient;
1
+ import { E as EverfurResult } from './EverfurResult.d-BFH-3s6E.cjs';
2
+ import { P as PetRef } from './ids.d-B2GAAifq.cjs';
3
+ import { E as EverfurError } from './EverfurError.d-8NHtlgzA.cjs';
4
+ import { R as RecordDocumentMeta, a as RecordEntity } from './models.d-BSqvbTE1.cjs';
5
+ import { E as ErrorPolicyPort } from './ErrorPolicyPort.d-DirW9hgO.cjs';
6
+ import { R as RequestFunnel } from './requestFunnel.d-RZex94XX.cjs';
7
+ import { A as AuthContext } from './identity.d-CJfnWOdH.cjs';
8
+ import { R as RecordShareAudience, c as RecordShareLink, d as RecordShareEmailInput, e as RecordShareEmailReceipt, a as RecordsFeatures, f as RecordShare, g as RecordPdfLink } from './features.d-DrQxTw3-.cjs';
242
9
 
243
10
  /** A corrected field's wire value: text and dates as strings, numbers as numbers, flags as booleans. */
244
11
  type FactFieldValue = string | number | boolean;
@@ -626,4 +393,4 @@ interface RecordsDepthClient {
626
393
  /** The depth client, over the same auth, funnel and error policy as the records repository. */
627
394
  declare function createRecordsDepthClient(deps: HttpRecordsRepositoryDeps): RecordsDepthClient;
628
395
 
629
- export { type RecordsSignatureSuggestion as $, type HttpRecordsRepositoryDeps as A, RECORDS_CLINIC_BATCH_MAX as B, type CreateClinicRequestBatchInput as C, RECORD_SHARE_AUDIENCES as D, type RecordFactEditInput as E, FACT_FIELD_BY_KIND as F, type RecordFactRemoveInput as G, type HttpRecordsClinicRepositoryDeps as H, type RecordMarker as I, type RecordMarkerLatest as J, type RecordMarkerPoint as K, type RecordMarkerSummary as L, type RecordMarkersView as M, type RecordPdfLink as N, type RecordShare as O, type RecordShareAudienceScope as P, type RecordShareEmailInput as Q, type RecordClinicianNote as R, type RecordShareEmailReceipt as S, type RecordShareLink as T, type RecordShareRecipientKind as U, type RecordsAuthorizationSignature as V, type RecordsClinicBatch as W, type RecordsClinicBatchClient as X, type RecordsClinicBatchItem as Y, type RecordsClinicBatchResult as Z, type RecordsClinicTarget as _, type RecordClinicianNoteSection as a, SHARE_RECIPIENT_EMAIL_MAX as a0, createRecordsClinicBatchClient as a1, createRecordsDepthClient as a2, factCorrectionFor as a3, factValueCorrection as a4, inferFactValueKind as a5, isFactReviewerLocked as a6, isShareRecipientEmail as a7, mapRecordMarkers as a8, mapRecordPdfLink as a9, mapRecordShareEmailReceipt as aa, mapRecordShareLink as ab, mapRecordShareList as ac, mapShareAudiences as ad, mapSignatureSuggestions as ae, resolveShareUrl as af, type RecordsClinicSearchInput as ag, type RecordsClinicSearchPage as ah, type RecordsRecentClinicsInput as ai, type RecordsAuthorizationCopy as aj, type CreateClinicRequestInput as ak, type RecordsSignatureUploadPolicy as al, type RecordsFeatures as am, type RecordsUploadContentType as an, type RecordsPhotoContentType as ao, acceptsPhotos as ap, type RecordCompleteness as b, type RecordConflict as c, type RecordConflictCandidate as d, type RecordDepthView as e, type RecordDocumentContributionsView as f, type RecordEncounter as g, type RecordExamSystem as h, type RecordLabMarker as i, type RecordLabPoint as j, type RecordPhysicalExam as k, type RecordShareAudience as l, type RecordsClinic as m, type RecordsDepthClient as n, type RecordsRequestDocument as o, type RecordsTimelineMedication as p, type RecordsTimelineVaccine as q, type RecordsTimelineView as r, type RecordsTimelineVisit as s, type RecordsTimelineWeight as t, mapDocumentContributions as u, mapRecordDepth as v, mapRecordsTimeline as w, FACT_VALUE_FIELD as x, type FactFieldValue as y, type FactValueKind as z };
396
+ export { type RecordMarker as A, type RecordMarkerLatest as B, type RecordMarkerPoint as C, type RecordMarkerSummary as D, type RecordMarkersView as E, FACT_FIELD_BY_KIND as F, type RecordsSignatureSuggestion as G, type HttpRecordsRepositoryDeps as H, createRecordsDepthClient as I, factCorrectionFor as J, factValueCorrection as K, inferFactValueKind as L, isFactReviewerLocked as M, mapRecordMarkers as N, mapSignatureSuggestions as O, type RecordClinicianNote as R, type RecordClinicianNoteSection as a, type RecordCompleteness as b, type RecordConflict as c, type RecordConflictCandidate as d, type RecordDepthView as e, type RecordDocumentContributionsView as f, type RecordEncounter as g, type RecordExamSystem as h, type RecordLabMarker as i, type RecordLabPoint as j, type RecordPhysicalExam as k, type RecordsDepthClient as l, type RecordsRequestDocument as m, type RecordsTimelineMedication as n, type RecordsTimelineVaccine as o, type RecordsTimelineView as p, type RecordsTimelineVisit as q, type RecordsTimelineWeight as r, mapDocumentContributions as s, mapRecordDepth as t, mapRecordsTimeline as u, FACT_VALUE_FIELD as v, type FactFieldValue as w, type FactValueKind as x, type RecordFactEditInput as y, type RecordFactRemoveInput as z };
@@ -1,8 +1,8 @@
1
- import { E as EverfurError } from './EverfurError-DeBqRpQV.cjs';
2
- import { R as RequestFunnel } from './requestFunnel-DLZpiFD3.cjs';
3
- import { A as AuthContext } from './identity-gjurBi7m.cjs';
4
- import { C as ClientBranding } from './branding-BCfwLj0h.cjs';
5
- import { E as EntitlementDecision } from './resolve-D4Ywz5OS.cjs';
1
+ import { E as EverfurError } from './EverfurError.d-8NHtlgzA.cjs';
2
+ import { R as RequestFunnel } from './requestFunnel.d-RZex94XX.cjs';
3
+ import { A as AuthContext } from './identity.d-CJfnWOdH.cjs';
4
+ import { C as ClientBranding } from './branding.d-CTXTUg_8.cjs';
5
+ import { E as EntitlementDecision } from './resolve.d-CoQWUy1Y.cjs';
6
6
 
7
7
  /** The conditional-GET endpoint (SPEC-00 §5.3). Relative; the transport prefixes the resolved base URL. */
8
8
  declare const ENTITLEMENTS_PATH = "/widget/v1/entitlements";
@@ -29,6 +29,11 @@ type EntitlementResolution = {
29
29
  * side. OPTIONAL so a hand-built resolution need not supply it; absent there is live too.
30
30
  */
31
31
  readonly livemode?: boolean;
32
+ /**
33
+ * The tenant's public texting profile (`sms_profile_public`, top level or under `render_hints`), RAW: the
34
+ * texting subpath parses it, so this module carries no parser. Absent when the body has none.
35
+ */
36
+ readonly smsProfilePublic?: unknown;
32
37
  } | {
33
38
  readonly kind: 'notModified';
34
39
  } | {
@@ -1,8 +1,8 @@
1
- import { E as EverfurError } from './EverfurError-DeBqRpQV.js';
2
- import { R as RequestFunnel } from './requestFunnel-BYzlyaC0.js';
3
- import { A as AuthContext } from './identity-BqeaN8An.js';
4
- import { C as ClientBranding } from './branding-DJf4h12Q.js';
5
- import { E as EntitlementDecision } from './resolve-D4Ywz5OS.js';
1
+ import { E as EverfurError } from './EverfurError.d-8NHtlgzA.js';
2
+ import { R as RequestFunnel } from './requestFunnel.d-D9edIEjZ.js';
3
+ import { A as AuthContext } from './identity.d-BePPZ7Uv.js';
4
+ import { C as ClientBranding } from './branding.d-DxJSoFce.js';
5
+ import { E as EntitlementDecision } from './resolve.d-CoQWUy1Y.js';
6
6
 
7
7
  /** The conditional-GET endpoint (SPEC-00 §5.3). Relative; the transport prefixes the resolved base URL. */
8
8
  declare const ENTITLEMENTS_PATH = "/widget/v1/entitlements";
@@ -29,6 +29,11 @@ type EntitlementResolution = {
29
29
  * side. OPTIONAL so a hand-built resolution need not supply it; absent there is live too.
30
30
  */
31
31
  readonly livemode?: boolean;
32
+ /**
33
+ * The tenant's public texting profile (`sms_profile_public`, top level or under `render_hints`), RAW: the
34
+ * texting subpath parses it, so this module carries no parser. Absent when the body has none.
35
+ */
36
+ readonly smsProfilePublic?: unknown;
32
37
  } | {
33
38
  readonly kind: 'notModified';
34
39
  } | {