@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,108 @@
1
+ /** Who a share link is for, while the server's audience switch is on (V819), in the order it offers them. */
2
+ type RecordShareAudience = 'vet' | 'groomer' | 'boarding';
3
+ /** Every audience this package can name, in the design's order. */
4
+ declare const RECORD_SHARE_AUDIENCES: readonly RecordShareAudience[];
5
+ /** Who an emailed record goes to: an audience, or `other` (the neutral email wording and no audience). */
6
+ type RecordShareRecipientKind = RecordShareAudience | 'other';
7
+ /**
8
+ * What a link minted for one audience carries (`ShareAudienceScope` on the wire): the content `sections` of the
9
+ * shared record and, for a care handoff that is not a vet, the only `entityTypes` it keeps (null: every type).
10
+ */
11
+ interface RecordShareAudienceScope {
12
+ readonly audience: RecordShareAudience;
13
+ readonly sections: readonly string[];
14
+ readonly entityTypes: readonly string[] | null;
15
+ }
16
+ /** A freshly minted share link. `shareUrl` is shown once; the list read never repeats it. */
17
+ interface RecordShareLink {
18
+ readonly shareId: string;
19
+ readonly shareUrl: string;
20
+ readonly expiresAt: string | null;
21
+ /**
22
+ * The audience the link was stamped with; null for a link minted without one (or with the switch off). Always
23
+ * set by this package's mapper; optional only so a value a host builds itself (a test double) still type-checks.
24
+ */
25
+ readonly audience?: RecordShareAudience | null;
26
+ }
27
+ /** One live share link as the list read reports it (no URL: the token was shown once, at creation). */
28
+ interface RecordShare {
29
+ readonly shareId: string;
30
+ readonly expiresAt: string | null;
31
+ readonly createdAt: string | null;
32
+ readonly viewCount: number;
33
+ readonly lastViewedAt: string | null;
34
+ /**
35
+ * The audience the link was stamped with; null for none, an unknown one, or with the switch off. Always set by
36
+ * this package's mapper; optional only so a value a host builds itself (a test double) still type-checks.
37
+ */
38
+ readonly audience?: RecordShareAudience | null;
39
+ }
40
+ /** Email the record: the recipient's address and who they are (which picks the email's wording). */
41
+ interface RecordShareEmailInput {
42
+ readonly recipientEmail: string;
43
+ readonly recipientKind: RecordShareRecipientKind;
44
+ }
45
+ /**
46
+ * The emailed link's receipt: the id to turn it off by and the date it dies. NO URL, by design: the server never
47
+ * returns the link for an email send, and this shape has nowhere to put one.
48
+ */
49
+ interface RecordShareEmailReceipt {
50
+ readonly shareId: string;
51
+ readonly expiresAt: string | null;
52
+ readonly audience: RecordShareAudience | null;
53
+ }
54
+ /** The presigned PDF download. */
55
+ interface RecordPdfLink {
56
+ readonly downloadUrl: string;
57
+ readonly expiresAt: string | null;
58
+ }
59
+ /** The longest address the email route accepts (`recipient_email: Field(max_length=254)`). */
60
+ declare const SHARE_RECIPIENT_EMAIL_MAX = 254;
61
+ /**
62
+ * The email route's own lenient address check (records_router.py `_EMAIL_RE`, which the widget route imports), so
63
+ * an address the server would refuse is refused here before a request is spent. Not an RFC 5322 parser.
64
+ */
65
+ declare function isShareRecipientEmail(value: string): boolean;
66
+ /**
67
+ * `share_audiences` off the features read, FAIL CLOSED: absent, not a list, or any entry off the documented shape
68
+ * is NO audiences, so a surface never claims a scope it cannot read. An audience this package cannot name (a
69
+ * newer server's) and a repeat are dropped; the rest keep the server's order.
70
+ */
71
+ declare function mapShareAudiences(wire: unknown): readonly RecordShareAudienceScope[];
72
+ /**
73
+ * The share link as an absolute https URL. The consumer route returns the RELATIVE form
74
+ * (`/api/v1/records/everfur_record/shared/<token>.pdf`), which is resolved against the API base URL the
75
+ * client was built for; an absolute value is kept as it is. A link that cannot be made absolute https (a
76
+ * relative path with no base URL, another scheme, a malformed value) is refused: it is never opened raw.
77
+ */
78
+ declare function resolveShareUrl(shareUrl: string, apiBaseUrl: string | undefined): string | null;
79
+ /** The mint response to a frozen link, or null when malformed (fail-closed: no link is better than a bad one). */
80
+ declare function mapRecordShareLink(wire: unknown, apiBaseUrl?: string): RecordShareLink | null;
81
+ /** The list response to frozen rows, or null when malformed. */
82
+ declare function mapRecordShareList(wire: unknown): readonly RecordShare[] | null;
83
+ /** The email send's answer to a frozen receipt, or null when malformed. Only the named keys survive: never a URL. */
84
+ declare function mapRecordShareEmailReceipt(wire: unknown): RecordShareEmailReceipt | null;
85
+ /** The PDF link response to a frozen link, or null when malformed or not https. */
86
+ declare function mapRecordPdfLink(wire: unknown): RecordPdfLink | null;
87
+
88
+ /** A photo type `uploads/initiate` accepts while photo upload is armed. */
89
+ type RecordsPhotoContentType = 'image/jpeg' | 'image/png' | 'image/heic' | 'image/heif';
90
+ /** A content type `uploads/initiate` can be asked for. */
91
+ type RecordsUploadContentType = 'application/pdf' | RecordsPhotoContentType;
92
+
93
+ /** The records features read, mapped. */
94
+ interface RecordsFeatures {
95
+ /** Every feature the server named, by its wire name (`markers`, `sharing`, ...). Empty when the read failed. */
96
+ readonly features: Readonly<Record<string, boolean>>;
97
+ /** What an upload may declare. Always starts with `application/pdf`; photo types only while armed. */
98
+ readonly uploadContentTypes: readonly RecordsUploadContentType[];
99
+ /**
100
+ * Who a share link can be for, in the server's order, each with the scope its link carries. Served only while
101
+ * the audience switch is on; empty otherwise, and when the list is malformed.
102
+ */
103
+ readonly shareAudiences: readonly RecordShareAudienceScope[];
104
+ }
105
+ /** True when an upload may be a photo. An absent list (a host-built state) is PDF only. */
106
+ declare function acceptsPhotos(types: readonly string[] | undefined): boolean;
107
+
108
+ export { type RecordShareAudience as R, SHARE_RECIPIENT_EMAIL_MAX as S, type RecordsFeatures as a, type RecordsUploadContentType as b, type RecordShareLink as c, type RecordShareEmailInput as d, type RecordShareEmailReceipt as e, type RecordShare as f, type RecordPdfLink as g, RECORD_SHARE_AUDIENCES as h, type RecordShareAudienceScope as i, type RecordShareRecipientKind as j, isShareRecipientEmail as k, mapRecordShareEmailReceipt as l, mapRecordPdfLink as m, mapRecordShareLink as n, mapRecordShareList as o, mapShareAudiences as p, type RecordsPhotoContentType as q, resolveShareUrl as r, acceptsPhotos as s };
@@ -0,0 +1,108 @@
1
+ /** Who a share link is for, while the server's audience switch is on (V819), in the order it offers them. */
2
+ type RecordShareAudience = 'vet' | 'groomer' | 'boarding';
3
+ /** Every audience this package can name, in the design's order. */
4
+ declare const RECORD_SHARE_AUDIENCES: readonly RecordShareAudience[];
5
+ /** Who an emailed record goes to: an audience, or `other` (the neutral email wording and no audience). */
6
+ type RecordShareRecipientKind = RecordShareAudience | 'other';
7
+ /**
8
+ * What a link minted for one audience carries (`ShareAudienceScope` on the wire): the content `sections` of the
9
+ * shared record and, for a care handoff that is not a vet, the only `entityTypes` it keeps (null: every type).
10
+ */
11
+ interface RecordShareAudienceScope {
12
+ readonly audience: RecordShareAudience;
13
+ readonly sections: readonly string[];
14
+ readonly entityTypes: readonly string[] | null;
15
+ }
16
+ /** A freshly minted share link. `shareUrl` is shown once; the list read never repeats it. */
17
+ interface RecordShareLink {
18
+ readonly shareId: string;
19
+ readonly shareUrl: string;
20
+ readonly expiresAt: string | null;
21
+ /**
22
+ * The audience the link was stamped with; null for a link minted without one (or with the switch off). Always
23
+ * set by this package's mapper; optional only so a value a host builds itself (a test double) still type-checks.
24
+ */
25
+ readonly audience?: RecordShareAudience | null;
26
+ }
27
+ /** One live share link as the list read reports it (no URL: the token was shown once, at creation). */
28
+ interface RecordShare {
29
+ readonly shareId: string;
30
+ readonly expiresAt: string | null;
31
+ readonly createdAt: string | null;
32
+ readonly viewCount: number;
33
+ readonly lastViewedAt: string | null;
34
+ /**
35
+ * The audience the link was stamped with; null for none, an unknown one, or with the switch off. Always set by
36
+ * this package's mapper; optional only so a value a host builds itself (a test double) still type-checks.
37
+ */
38
+ readonly audience?: RecordShareAudience | null;
39
+ }
40
+ /** Email the record: the recipient's address and who they are (which picks the email's wording). */
41
+ interface RecordShareEmailInput {
42
+ readonly recipientEmail: string;
43
+ readonly recipientKind: RecordShareRecipientKind;
44
+ }
45
+ /**
46
+ * The emailed link's receipt: the id to turn it off by and the date it dies. NO URL, by design: the server never
47
+ * returns the link for an email send, and this shape has nowhere to put one.
48
+ */
49
+ interface RecordShareEmailReceipt {
50
+ readonly shareId: string;
51
+ readonly expiresAt: string | null;
52
+ readonly audience: RecordShareAudience | null;
53
+ }
54
+ /** The presigned PDF download. */
55
+ interface RecordPdfLink {
56
+ readonly downloadUrl: string;
57
+ readonly expiresAt: string | null;
58
+ }
59
+ /** The longest address the email route accepts (`recipient_email: Field(max_length=254)`). */
60
+ declare const SHARE_RECIPIENT_EMAIL_MAX = 254;
61
+ /**
62
+ * The email route's own lenient address check (records_router.py `_EMAIL_RE`, which the widget route imports), so
63
+ * an address the server would refuse is refused here before a request is spent. Not an RFC 5322 parser.
64
+ */
65
+ declare function isShareRecipientEmail(value: string): boolean;
66
+ /**
67
+ * `share_audiences` off the features read, FAIL CLOSED: absent, not a list, or any entry off the documented shape
68
+ * is NO audiences, so a surface never claims a scope it cannot read. An audience this package cannot name (a
69
+ * newer server's) and a repeat are dropped; the rest keep the server's order.
70
+ */
71
+ declare function mapShareAudiences(wire: unknown): readonly RecordShareAudienceScope[];
72
+ /**
73
+ * The share link as an absolute https URL. The consumer route returns the RELATIVE form
74
+ * (`/api/v1/records/everfur_record/shared/<token>.pdf`), which is resolved against the API base URL the
75
+ * client was built for; an absolute value is kept as it is. A link that cannot be made absolute https (a
76
+ * relative path with no base URL, another scheme, a malformed value) is refused: it is never opened raw.
77
+ */
78
+ declare function resolveShareUrl(shareUrl: string, apiBaseUrl: string | undefined): string | null;
79
+ /** The mint response to a frozen link, or null when malformed (fail-closed: no link is better than a bad one). */
80
+ declare function mapRecordShareLink(wire: unknown, apiBaseUrl?: string): RecordShareLink | null;
81
+ /** The list response to frozen rows, or null when malformed. */
82
+ declare function mapRecordShareList(wire: unknown): readonly RecordShare[] | null;
83
+ /** The email send's answer to a frozen receipt, or null when malformed. Only the named keys survive: never a URL. */
84
+ declare function mapRecordShareEmailReceipt(wire: unknown): RecordShareEmailReceipt | null;
85
+ /** The PDF link response to a frozen link, or null when malformed or not https. */
86
+ declare function mapRecordPdfLink(wire: unknown): RecordPdfLink | null;
87
+
88
+ /** A photo type `uploads/initiate` accepts while photo upload is armed. */
89
+ type RecordsPhotoContentType = 'image/jpeg' | 'image/png' | 'image/heic' | 'image/heif';
90
+ /** A content type `uploads/initiate` can be asked for. */
91
+ type RecordsUploadContentType = 'application/pdf' | RecordsPhotoContentType;
92
+
93
+ /** The records features read, mapped. */
94
+ interface RecordsFeatures {
95
+ /** Every feature the server named, by its wire name (`markers`, `sharing`, ...). Empty when the read failed. */
96
+ readonly features: Readonly<Record<string, boolean>>;
97
+ /** What an upload may declare. Always starts with `application/pdf`; photo types only while armed. */
98
+ readonly uploadContentTypes: readonly RecordsUploadContentType[];
99
+ /**
100
+ * Who a share link can be for, in the server's order, each with the scope its link carries. Served only while
101
+ * the audience switch is on; empty otherwise, and when the list is malformed.
102
+ */
103
+ readonly shareAudiences: readonly RecordShareAudienceScope[];
104
+ }
105
+ /** True when an upload may be a photo. An absent list (a host-built state) is PDF only. */
106
+ declare function acceptsPhotos(types: readonly string[] | undefined): boolean;
107
+
108
+ export { type RecordShareAudience as R, SHARE_RECIPIENT_EMAIL_MAX as S, type RecordsFeatures as a, type RecordsUploadContentType as b, type RecordShareLink as c, type RecordShareEmailInput as d, type RecordShareEmailReceipt as e, type RecordShare as f, type RecordPdfLink as g, RECORD_SHARE_AUDIENCES as h, type RecordShareAudienceScope as i, type RecordShareRecipientKind as j, isShareRecipientEmail as k, mapRecordShareEmailReceipt as l, mapRecordPdfLink as m, mapRecordShareLink as n, mapRecordShareList as o, mapShareAudiences as p, type RecordsPhotoContentType as q, resolveShareUrl as r, acceptsPhotos as s };