@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.
- package/CHANGELOG.md +292 -0
- package/README.md +12 -10
- package/dist/{Chat-CgYQdfqi.d.ts → Chat.d-aycmX1CA.d.cts} +178 -8
- package/dist/{Chat-CbyZ1vAX.d.cts → Chat.d-puminpyi.d.ts} +178 -8
- package/dist/{DepthViews-CCz4ig0u.d.ts → DepthViews.d-BdvFZgPs.d.cts} +1 -1
- package/dist/{DepthViews-CaQUyCHK.d.ts → DepthViews.d-DIvxzLDf.d.ts} +1 -1
- package/dist/{DepthViews-iGZi4_WK.d.cts → DepthViews.d-Dy0Zl-s-.d.ts} +1 -1
- package/dist/{DepthViews-D3OiIK_x.d.cts → DepthViews.d-wLNkzk9f.d.cts} +1 -1
- package/dist/{ErrorPolicyPort-10s3HJCt.d.cts → ErrorPolicyPort.d-68yrE3BE.d.ts} +1 -1
- package/dist/{ErrorPolicyPort-C3nNSS_j.d.ts → ErrorPolicyPort.d-DirW9hgO.d.cts} +1 -1
- package/dist/{EverfurError-DeBqRpQV.d.cts → EverfurError.d-8NHtlgzA.d.cts} +11 -1
- package/dist/{EverfurError-DeBqRpQV.d.ts → EverfurError.d-8NHtlgzA.d.ts} +11 -1
- package/dist/{EverfurResult-ClPTS0P2.d.ts → EverfurResult.d-BFH-3s6E.d.cts} +1 -1
- package/dist/{EverfurResult-COlXj1wq.d.cts → EverfurResult.d-D_-254ZY.d.ts} +1 -1
- package/dist/{IntakeMedia-BH0fYDT2.d.cts → IntakeMedia.d-4a89XrP7.d.ts} +1 -1
- package/dist/{IntakeMedia-B-_vA9ZB.d.cts → IntakeMedia.d-DGxrhgIW.d.ts} +1 -1
- package/dist/{IntakeMedia-CIoTXAWs.d.ts → IntakeMedia.d-DUPR4lVM.d.cts} +1 -1
- package/dist/{IntakeMedia-Bavl7E4Z.d.ts → IntakeMedia.d-JJCUvQu7.d.cts} +1 -1
- package/dist/LifecyclePort.d-Cr1p33a7.d.cts +23 -0
- package/dist/LifecyclePort.d-Cr1p33a7.d.ts +23 -0
- package/dist/{PhotoController-vzY5bfY_.d.ts → PhotoController.d-BzCJOE7e.d.cts} +2 -2
- package/dist/{PhotoController-3l7MT9jA.d.cts → PhotoController.d-D0XiUUOl.d.ts} +2 -2
- package/dist/RecordsPage.d-9Ank15PT.d.ts +93 -0
- package/dist/RecordsPage.d-DMKU0IKc.d.cts +93 -0
- package/dist/animations/index.cjs +4 -1
- package/dist/animations/index.d.cts +24 -24
- package/dist/animations/index.d.ts +24 -24
- package/dist/animations/index.js +4 -1
- package/dist/{attachments-CTJK0jQ4.d.ts → attachments.d--sIsfk6e.d.ts} +4 -4
- package/dist/{attachments-DkMrKCIU.d.ts → attachments.d-DNUCiyy5.d.cts} +10 -32
- package/dist/{attachments-DXBETOrV.d.cts → attachments.d-ZEpTUeWN.d.cts} +4 -4
- package/dist/{attachments-BOk3hEAM.d.cts → attachments.d-rp3xs-Q3.d.ts} +10 -32
- package/dist/{bookingCopy-C_a45T4-.d.ts → bookingCopy.d-D0uIIFAJ.d.ts} +24 -9
- package/dist/{bookingCopy-CHYGYHe0.d.cts → bookingCopy.d-DUrmVcLs.d.cts} +24 -9
- package/dist/{branding-DJf4h12Q.d.ts → branding.d-CTXTUg_8.d.cts} +9 -2
- package/dist/{branding-BCfwLj0h.d.cts → branding.d-DxJSoFce.d.ts} +9 -2
- package/dist/{callRoom-BhIdadyV.d.cts → callRoom.d-B1DoYdJe.d.cts} +1 -1
- package/dist/{callRoom-B92eH_ij.d.ts → callRoom.d-Dqm1rUqT.d.ts} +1 -1
- package/dist/{casesRepository-C8KJmlxE.d.cts → casesRepository.d-DCnix2pT.d.cts} +3 -3
- package/dist/{casesRepository-iAi5qWnx.d.ts → casesRepository.d-DbirgbyH.d.ts} +3 -3
- package/dist/chat/index.cjs +139 -63
- package/dist/chat/index.d.cts +34 -19
- package/dist/chat/index.d.ts +34 -19
- package/dist/chat/index.js +139 -63
- package/dist/client/index.cjs +14 -10
- package/dist/client/index.d.cts +19 -18
- package/dist/client/index.d.ts +19 -18
- package/dist/client/index.js +14 -10
- package/dist/clinicBatch.d-Ccmrngcu.d.cts +71 -0
- package/dist/clinicBatch.d-D9Ci7IpP.d.ts +71 -0
- package/dist/clinicModels.d-BXgKZqDb.d.cts +68 -0
- package/dist/clinicModels.d-CaS64-P-.d.ts +68 -0
- package/dist/clinicRequestProps.d-1dCtouGA.d.cts +65 -0
- package/dist/clinicRequestProps.d-CjsMg_OD.d.ts +65 -0
- package/dist/{config-C9zhanL-.d.cts → config.d-DJ4mvf_w.d.cts} +3 -3
- package/dist/{config-C5iPNKDj.d.ts → config.d-MX7IKP2f.d.ts} +3 -3
- package/dist/consent/index.cjs +4 -1
- package/dist/consent/index.d.cts +10 -10
- package/dist/consent/index.d.ts +10 -10
- package/dist/consent/index.js +4 -1
- package/dist/{context-D_bcpHDA.d.cts → context.d-BdnBe8Oe.d.ts} +15 -15
- package/dist/{context-BUIrC20Z.d.ts → context.d-C6MJsMpN.d.cts} +15 -15
- package/dist/{copy-KbCU9fen.d.ts → copy.d-BIfQOoDB.d.ts} +6 -6
- package/dist/{copy-BE31T2jR.d.cts → copy.d-C_u7shha.d.cts} +6 -6
- package/dist/core/index.cjs +16 -13
- package/dist/core/index.d.cts +35 -29
- package/dist/core/index.d.ts +35 -29
- package/dist/core/index.js +16 -13
- package/dist/{depth-DDKGfFaB.d.ts → depth.d-COFxYWLU.d.ts} +9 -242
- package/dist/{depth-DNxDieoO.d.cts → depth.d-D2e5WZuE.d.cts} +9 -242
- package/dist/{entitlementRepository-C1_wXIE3.d.cts → entitlementRepository.d-BP15dFbe.d.cts} +10 -5
- package/dist/{entitlementRepository-CYtdIGfH.d.ts → entitlementRepository.d-DLuxnGi5.d.ts} +10 -5
- package/dist/features.d-DrQxTw3-.d.cts +108 -0
- package/dist/features.d-DrQxTw3-.d.ts +108 -0
- package/dist/focus.d-C0Tr0oVJ.d.ts +939 -0
- package/dist/focus.d-jQWp0hdK.d.cts +939 -0
- package/dist/health-plan/index.cjs +384 -0
- package/dist/health-plan/index.d.cts +293 -0
- package/dist/health-plan/index.d.ts +293 -0
- package/dist/health-plan/index.js +384 -0
- package/dist/idempotency.d-DXb1BN2A.d.ts +1055 -0
- package/dist/idempotency.d-HF6fyRt2.d.cts +1055 -0
- package/dist/{identity-gjurBi7m.d.cts → identity.d-BePPZ7Uv.d.ts} +3 -3
- package/dist/{identity-BqeaN8An.d.ts → identity.d-CJfnWOdH.d.cts} +3 -3
- package/dist/index.cjs +148 -72
- package/dist/index.d.cts +32 -29
- package/dist/index.d.ts +32 -29
- package/dist/index.js +148 -72
- package/dist/introEvents.d-BkGDT_kG.d.cts +175 -0
- package/dist/introEvents.d-DHlMvmC7.d.ts +175 -0
- package/dist/introEvents.d-dS3fJCH1.d.cts +5 -0
- package/dist/introEvents.d-dS3fJCH1.d.ts +5 -0
- package/dist/{models-CnXY5LuO.d.ts → models.d-BSqvbTE1.d.cts} +15 -3
- package/dist/{models-A4A5S7AG.d.cts → models.d-DOwnr8fi.d.ts} +15 -3
- package/dist/notifications/index.cjs +4 -1
- package/dist/notifications/index.d.cts +9 -9
- package/dist/notifications/index.d.ts +9 -9
- package/dist/notifications/index.js +4 -1
- package/dist/optInView.d-0iI5JoAf.d.cts +441 -0
- package/dist/optInView.d-s-w4aGN3.d.ts +441 -0
- package/dist/parse.d-COt1qVA6.d.ts +210 -0
- package/dist/parse.d-EmsgOUMQ.d.cts +210 -0
- package/dist/{pets-CfutxNs9.d.cts → pets.d-BFT_b53y.d.ts} +3 -3
- package/dist/{pets-LIGadUtr.d.ts → pets.d-nNAVnw7f.d.cts} +3 -3
- package/dist/{petsRepository-CoRa3C_U.d.ts → petsRepository.d-B2TpRE7r.d.cts} +4 -4
- package/dist/{petsRepository-Cqpd3hLU.d.cts → petsRepository.d-RGwSZcYl.d.ts} +4 -4
- package/dist/photo/index.cjs +5 -2
- package/dist/photo/index.d.cts +9 -9
- package/dist/photo/index.d.ts +9 -9
- package/dist/photo/index.js +5 -2
- package/dist/planSignals.d-BDbp2e-k.d.cts +126 -0
- package/dist/planSignals.d-DSnxKoWe.d.ts +126 -0
- package/dist/{ports-BN6RHF9W.d.cts → ports.d-BX4f4UsB.d.cts} +14 -1
- package/dist/{ports-BN6RHF9W.d.ts → ports.d-BX4f4UsB.d.ts} +14 -1
- package/dist/{ports-CVi3n0re.d.ts → ports.d-D2n4HRUy.d.ts} +16 -10
- package/dist/{ports-gJ3faaWz.d.cts → ports.d-DBA_gsq5.d.cts} +16 -10
- package/dist/presentation.d-vy8kTGfR.d.cts +96 -0
- package/dist/presentation.d-vy8kTGfR.d.ts +96 -0
- package/dist/quickPrompts.d-NM_81Jc1.d.cts +19 -0
- package/dist/quickPrompts.d-NM_81Jc1.d.ts +19 -0
- package/dist/records/depth/index.cjs +10 -7
- package/dist/records/depth/index.d.cts +18 -12
- package/dist/records/depth/index.d.ts +18 -12
- package/dist/records/depth/index.js +10 -7
- package/dist/records/index.cjs +350 -74
- package/dist/records/index.d.cts +225 -21
- package/dist/records/index.d.ts +225 -21
- package/dist/records/index.js +351 -75
- package/dist/recordsAsk.d-C5CGSi3j.d.cts +14 -0
- package/dist/recordsAsk.d-C5CGSi3j.d.ts +14 -0
- package/dist/{requestFunnel-BYzlyaC0.d.ts → requestFunnel.d-D9edIEjZ.d.ts} +5 -5
- package/dist/{requestFunnel-DLZpiFD3.d.cts → requestFunnel.d-RZex94XX.d.cts} +5 -5
- package/dist/{resolve-D4Ywz5OS.d.ts → resolve.d-CoQWUy1Y.d.cts} +2 -2
- package/dist/{resolve-D4Ywz5OS.d.cts → resolve.d-CoQWUy1Y.d.ts} +2 -2
- package/dist/{runtimeTypes-BxxCKMn8.d.cts → runtimeTypes.d-BYq38b17.d.ts} +20 -13
- package/dist/{runtimeTypes-Doa_xxSa.d.ts → runtimeTypes.d-LkwZaF7z.d.cts} +20 -13
- package/dist/screenProps.d-BVzRzowC.d.ts +159 -0
- package/dist/screenProps.d-CQ0qZJkr.d.cts +159 -0
- package/dist/server/events/index.cjs +6 -3
- package/dist/server/events/index.d.cts +51 -9
- package/dist/server/events/index.d.ts +51 -9
- package/dist/server/events/index.js +6 -3
- package/dist/server/index.cjs +11 -6
- package/dist/server/index.d.cts +152 -8
- package/dist/server/index.d.ts +152 -8
- package/dist/server/index.js +11 -6
- package/dist/sheetCopy.d-CAhLOxjc.d.cts +4 -0
- package/dist/sheetCopy.d-CAhLOxjc.d.ts +4 -0
- package/dist/sheetSeam.d-B09jf4YC.d.ts +49 -0
- package/dist/sheetSeam.d-BBuEIVsa.d.cts +49 -0
- package/dist/shop/index.cjs +428 -0
- package/dist/shop/index.d.cts +211 -0
- package/dist/shop/index.d.ts +211 -0
- package/dist/shop/index.js +428 -0
- package/dist/tabs/index.cjs +195 -0
- package/dist/tabs/index.d.cts +174 -0
- package/dist/tabs/index.d.ts +174 -0
- package/dist/tabs/index.js +195 -0
- package/dist/tabsModel.d-BfIQg6yS.d.cts +31 -0
- package/dist/tabsModel.d-BfIQg6yS.d.ts +31 -0
- package/dist/televet/booking/index.cjs +15 -12
- package/dist/televet/booking/index.d.cts +36 -22
- package/dist/televet/booking/index.d.ts +36 -22
- package/dist/televet/booking/index.js +15 -12
- package/dist/televet/call/index.d.cts +5 -5
- package/dist/televet/call/index.d.ts +5 -5
- package/dist/televet/index.cjs +6 -3
- package/dist/televet/index.d.cts +12 -12
- package/dist/televet/index.d.ts +12 -12
- package/dist/televet/index.js +6 -3
- package/dist/{televetGlobal-C5dTUACe.d.cts → televetGlobal.d-CC-DrqkQ.d.ts} +7 -2
- package/dist/{televetGlobal-CnjrfhT4.d.ts → televetGlobal.d-CKwDCbmN.d.cts} +7 -2
- package/dist/testing/index.cjs +6 -3
- package/dist/testing/index.d.cts +3 -3
- package/dist/testing/index.d.ts +3 -3
- package/dist/testing/index.js +6 -3
- package/dist/testing/rn/index.cjs +5 -2
- package/dist/testing/rn/index.d.cts +23 -22
- package/dist/testing/rn/index.d.ts +23 -22
- package/dist/testing/rn/index.js +5 -2
- package/dist/testing/web/index.cjs +4 -1
- package/dist/testing/web/index.d.cts +23 -22
- package/dist/testing/web/index.d.ts +23 -22
- package/dist/testing/web/index.js +4 -1
- package/dist/texting/index.cjs +193 -0
- package/dist/texting/index.d.cts +69 -0
- package/dist/texting/index.d.ts +69 -0
- package/dist/texting/index.js +193 -0
- package/dist/threadOptions.d-9r4Csa7k.d.cts +458 -0
- package/dist/threadOptions.d-B6GA09aM.d.ts +458 -0
- package/dist/{timelineRows-Beun96e2.d.cts → timelineRows.d-Bes8ip2v.d.ts} +1 -1
- package/dist/{timelineRows-CGOlC_Q9.d.ts → timelineRows.d-BvM2A7_G.d.cts} +1 -1
- package/dist/{tokens-DLj8OnLH.d.cts → tokens.d-DarDaV39.d.cts} +10 -2
- package/dist/{tokens-DLj8OnLH.d.ts → tokens.d-DarDaV39.d.ts} +10 -2
- package/dist/{typeStyle-DJedEu14.d.cts → typeStyle.d-Co5KF0up.d.ts} +2 -2
- package/dist/{typeStyle-BxVyF71R.d.ts → typeStyle.d-xIZj02Ru.d.cts} +2 -2
- package/dist/{uploadTransport-C6kGP1Kd.d.ts → uploadTransport.d-CWL7CdWP.d.cts} +1 -1
- package/dist/{uploadTransport-BM_pnEWj.d.cts → uploadTransport.d-EGoUl7gX.d.ts} +1 -1
- package/dist/useIntroSeen.d-CTWFUthO.d.cts +35 -0
- package/dist/useIntroSeen.d-CTWFUthO.d.ts +35 -0
- package/dist/usePresentation.d-BGz32Vlm.d.ts +285 -0
- package/dist/usePresentation.d-DYTF_ZGf.d.cts +285 -0
- package/dist/useRecords.d-BYNX01El.d.cts +121 -0
- package/dist/useRecords.d-DWk61a4c.d.ts +121 -0
- package/dist/useRecordsDepth.d--LLA_4ga.d.cts +32 -0
- package/dist/useRecordsDepth.d-BQRL0Hez.d.ts +32 -0
- package/dist/{useVetVisit-DmWa7lt1.d.ts → useVetVisit.d-BtdwhmgD.d.cts} +15 -4
- package/dist/{useVetVisit-PtBjNwZr.d.cts → useVetVisit.d-DoYQimyt.d.ts} +15 -4
- package/dist/video/index.cjs +5 -2
- package/dist/video/index.d.cts +7 -7
- package/dist/video/index.d.ts +7 -7
- package/dist/video/index.js +5 -2
- package/dist/{view-VvLEdXP4.d.cts → view.d-0yBjLTV3.d.cts} +12 -122
- package/dist/{view-C_B5U04g.d.ts → view.d-DqbCADFa.d.ts} +12 -122
- package/dist/web/consent/index.cjs +4 -1
- package/dist/web/consent/index.d.cts +10 -10
- package/dist/web/consent/index.d.ts +10 -10
- package/dist/web/consent/index.js +4 -1
- package/dist/web/health-plan/index.cjs +421 -0
- package/dist/web/health-plan/index.d.cts +189 -0
- package/dist/web/health-plan/index.d.ts +189 -0
- package/dist/web/health-plan/index.js +421 -0
- package/dist/web/index.cjs +170 -87
- package/dist/web/index.d.cts +292 -38
- package/dist/web/index.d.ts +292 -38
- package/dist/web/index.js +170 -87
- package/dist/web/intro/index.cjs +167 -0
- package/dist/web/intro/index.d.cts +79 -0
- package/dist/web/intro/index.d.ts +79 -0
- package/dist/web/intro/index.js +167 -0
- package/dist/web/notifications/index.cjs +15 -3
- package/dist/web/notifications/index.d.cts +39 -209
- package/dist/web/notifications/index.d.ts +39 -209
- package/dist/web/notifications/index.js +15 -3
- package/dist/web/records/depth/index.cjs +10 -7
- package/dist/web/records/depth/index.d.cts +18 -12
- package/dist/web/records/depth/index.d.ts +18 -12
- package/dist/web/records/depth/index.js +10 -7
- package/dist/web/records/index.cjs +94 -68
- package/dist/web/records/index.d.cts +39 -55
- package/dist/web/records/index.d.ts +39 -55
- package/dist/web/records/index.js +94 -68
- package/dist/web/records/upload/index.d.cts +2 -2
- package/dist/web/records/upload/index.d.ts +2 -2
- package/dist/web/records-sheet/index.cjs +332 -0
- package/dist/web/records-sheet/index.d.cts +104 -0
- package/dist/web/records-sheet/index.d.ts +104 -0
- package/dist/web/records-sheet/index.js +332 -0
- package/dist/web/shop/index.cjs +416 -0
- package/dist/web/shop/index.d.cts +59 -0
- package/dist/web/shop/index.d.ts +59 -0
- package/dist/web/shop/index.js +416 -0
- package/dist/web/televet/booking/index.cjs +15 -12
- package/dist/web/televet/booking/index.d.cts +37 -23
- package/dist/web/televet/booking/index.d.ts +37 -23
- package/dist/web/televet/booking/index.js +15 -12
- package/dist/web/televet/call/index.d.cts +4 -4
- package/dist/web/televet/call/index.d.ts +4 -4
- package/dist/web/televet/index.cjs +6 -3
- package/dist/web/televet/index.d.cts +12 -12
- package/dist/web/televet/index.d.ts +12 -12
- package/dist/web/televet/index.js +6 -3
- package/dist/web/texting/index.cjs +188 -0
- package/dist/web/texting/index.d.cts +69 -0
- package/dist/web/texting/index.d.ts +69 -0
- package/dist/web/texting/index.js +188 -0
- package/health-plan/package.json +8 -0
- package/package.json +138 -5
- package/shop/package.json +8 -0
- package/tabs/package.json +8 -0
- package/texting/package.json +8 -0
- package/web/health-plan/native-blocked.cjs +12 -0
- package/web/health-plan/package.json +8 -0
- package/web/intro/native-blocked.cjs +12 -0
- package/web/intro/package.json +8 -0
- package/web/records-sheet/native-blocked.cjs +12 -0
- package/web/records-sheet/package.json +8 -0
- package/web/shop/native-blocked.cjs +12 -0
- package/web/shop/package.json +8 -0
- package/web/texting/native-blocked.cjs +12 -0
- package/web/texting/package.json +8 -0
- package/dist/useRecordsDepth-DRrJntjt.d.cts +0 -257
- package/dist/useRecordsDepth-hR94debv.d.ts +0 -257
- /package/dist/{CameraPort-Cv31Pz7g.d.cts → CameraPort.d-Cv31Pz7g.d.cts} +0 -0
- /package/dist/{CameraPort-Cv31Pz7g.d.ts → CameraPort.d-Cv31Pz7g.d.ts} +0 -0
- /package/dist/{TelemetryPort-BDNr00hu.d.cts → TelemetryPort.d-BDNr00hu.d.cts} +0 -0
- /package/dist/{TelemetryPort-BDNr00hu.d.ts → TelemetryPort.d-BDNr00hu.d.ts} +0 -0
- /package/dist/{cacheEpoch-DknKn3S0.d.cts → cacheEpoch.d-DknKn3S0.d.cts} +0 -0
- /package/dist/{cacheEpoch-DknKn3S0.d.ts → cacheEpoch.d-DknKn3S0.d.ts} +0 -0
- /package/dist/{callCopy-Bw6oZT54.d.cts → callCopy.d-Bw6oZT54.d.cts} +0 -0
- /package/dist/{callCopy-Bw6oZT54.d.ts → callCopy.d-Bw6oZT54.d.ts} +0 -0
- /package/dist/{ids-B2GAAifq.d.cts → ids.d-B2GAAifq.d.cts} +0 -0
- /package/dist/{ids-B2GAAifq.d.ts → ids.d-B2GAAifq.d.ts} +0 -0
- /package/dist/{optionalModule-DbJmsq5f.d.cts → optionalModule.d-DbJmsq5f.d.cts} +0 -0
- /package/dist/{optionalModule-DbJmsq5f.d.ts → optionalModule.d-DbJmsq5f.d.ts} +0 -0
- /package/dist/{profile-CSs1wlXT.d.cts → profile.d-CSs1wlXT.d.cts} +0 -0
- /package/dist/{profile-CSs1wlXT.d.ts → profile.d-CSs1wlXT.d.ts} +0 -0
- /package/dist/{projection-CeIUsbSk.d.cts → projection.d-CeIUsbSk.d.cts} +0 -0
- /package/dist/{projection-CeIUsbSk.d.ts → projection.d-CeIUsbSk.d.ts} +0 -0
- /package/dist/{species-BXAIMh7I.d.cts → species.d-BXAIMh7I.d.cts} +0 -0
- /package/dist/{species-BXAIMh7I.d.ts → species.d-BXAIMh7I.d.ts} +0 -0
- /package/dist/{visitIntent-D7_yVp1I.d.cts → visitIntent.d-D7_yVp1I.d.cts} +0 -0
- /package/dist/{visitIntent-D7_yVp1I.d.ts → visitIntent.d-D7_yVp1I.d.ts} +0 -0
|
@@ -1,16 +1,143 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { StyleProp, ViewStyle } from 'react-native';
|
|
3
|
-
import { P as PetRef, C as ConversationId } from './ids-B2GAAifq.
|
|
4
|
-
import {
|
|
5
|
-
import { a as ChatCheckinTarget } from './ports-
|
|
6
|
-
import { W as WidgetPet, P as PetProfileInput } from './petsRepository-
|
|
7
|
-
import {
|
|
3
|
+
import { P as PetRef, C as ConversationId } from './ids.d-B2GAAifq.js';
|
|
4
|
+
import { i as EverfurPresentationInput } from './presentation.d-vy8kTGfR.js';
|
|
5
|
+
import { a as ChatCheckinTarget } from './ports.d-D2n4HRUy.js';
|
|
6
|
+
import { W as WidgetPet, P as PetProfileInput } from './petsRepository.d-RGwSZcYl.js';
|
|
7
|
+
import { E as EverfurStarterPrompt } from './quickPrompts.d-NM_81Jc1.js';
|
|
8
|
+
import { L as LifecyclePort } from './LifecyclePort.d-Cr1p33a7.js';
|
|
9
|
+
import { U as UrgencyDisplayLevel, E as EverfurChatDraftStore } from './attachments.d-rp3xs-Q3.js';
|
|
10
|
+
import { F as FileHandle } from './ports.d-BX4f4UsB.js';
|
|
8
11
|
|
|
9
12
|
/** Where a picked image comes from: the host's photo library, or its camera. */
|
|
10
13
|
type AttachmentSource = 'photo' | 'camera';
|
|
11
14
|
|
|
12
|
-
/**
|
|
13
|
-
|
|
15
|
+
/**
|
|
16
|
+
* The history bar: a "Chats" control with the member's thread count that opens the history, and a "New chat"
|
|
17
|
+
* control. For a surface that hides the SDK header and still wants the member's past chats.
|
|
18
|
+
*/
|
|
19
|
+
interface EverfurChatHistoryBar {
|
|
20
|
+
/** The history control's words ("Chats"). */
|
|
21
|
+
readonly chats: string;
|
|
22
|
+
/** The new-chat control's words ("New chat"). */
|
|
23
|
+
readonly newChat: string;
|
|
24
|
+
/** Draw the two icons your way. */
|
|
25
|
+
readonly renderIcon?: (icon: 'history' | 'edit') => ReactNode;
|
|
26
|
+
/** Your own control after "Chats". Absent, nothing is drawn. */
|
|
27
|
+
readonly extra?: ReactNode;
|
|
28
|
+
}
|
|
29
|
+
/** The empty thread's own title and chip fills. Absent, the empty state is Everfur's own. */
|
|
30
|
+
interface EverfurChatEmptyState {
|
|
31
|
+
/** The title over the starter chips, in place of "What can we help {pet} with today?". */
|
|
32
|
+
readonly title?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Fills for the chips that bring none of their own, taken in turn (the first chip the first fill, and round
|
|
35
|
+
* again). Each is a fill and its ink. Absent, Raph's v3 cycle on a light theme; empty, the theme's paint.
|
|
36
|
+
*/
|
|
37
|
+
readonly chipTints?: readonly {
|
|
38
|
+
readonly tint: string;
|
|
39
|
+
readonly ink?: string;
|
|
40
|
+
}[];
|
|
41
|
+
}
|
|
42
|
+
/** One card under an answer in the cards answer style: a record, a stat, or a link to one of your screens. */
|
|
43
|
+
interface EverfurChatAnswerCard {
|
|
44
|
+
/** Stable key within the answer. */
|
|
45
|
+
readonly key: string;
|
|
46
|
+
readonly title: string;
|
|
47
|
+
/** The small line under the title. */
|
|
48
|
+
readonly meta?: string;
|
|
49
|
+
/** A status pill. */
|
|
50
|
+
readonly pill?: {
|
|
51
|
+
readonly label: string;
|
|
52
|
+
readonly tone?: string;
|
|
53
|
+
};
|
|
54
|
+
/** A stat card's value: drawn in place of the pill and the chevron. */
|
|
55
|
+
readonly value?: {
|
|
56
|
+
readonly amount: string;
|
|
57
|
+
readonly unit?: string;
|
|
58
|
+
};
|
|
59
|
+
/** The tile at the start: an icon of yours, or an https image. */
|
|
60
|
+
readonly tile?: {
|
|
61
|
+
readonly icon?: ReactNode;
|
|
62
|
+
readonly imageUrl?: string;
|
|
63
|
+
readonly tone?: string;
|
|
64
|
+
};
|
|
65
|
+
readonly variant?: string;
|
|
66
|
+
/** Given, the card is a button that calls this. Absent, a static card. */
|
|
67
|
+
readonly onPress?: () => void;
|
|
68
|
+
/** A card of your own, drawn in the card's place. If it throws, the slot draws nothing. */
|
|
69
|
+
readonly render?: () => ReactNode;
|
|
70
|
+
}
|
|
71
|
+
/** What `answerCards.cards` receives: the settled answer's text and the question it answered. */
|
|
72
|
+
interface EverfurChatAnswerContext {
|
|
73
|
+
readonly answer: string;
|
|
74
|
+
readonly question: string | null;
|
|
75
|
+
/** The answer's message id, stable for the life of the thread. */
|
|
76
|
+
readonly messageId: string;
|
|
77
|
+
}
|
|
78
|
+
/** The cards answer style's content (used while presentation `chatAnswerStyle` is `cards`). The words are yours. */
|
|
79
|
+
interface EverfurChatAnswerCards {
|
|
80
|
+
/** The line over each answer (an icon and your words). Absent, the assistant's name line. */
|
|
81
|
+
readonly byline?: {
|
|
82
|
+
readonly label: string;
|
|
83
|
+
readonly icon?: ReactNode;
|
|
84
|
+
};
|
|
85
|
+
/** Your cards under a settled answer. A throw draws none. */
|
|
86
|
+
readonly cards?: (context: EverfurChatAnswerContext) => readonly EverfurChatAnswerCard[];
|
|
87
|
+
/** Two feedback chips in place of the footer's thumbs, mapped to thumbs up and thumbs down. */
|
|
88
|
+
readonly feedback?: {
|
|
89
|
+
readonly helpful: string;
|
|
90
|
+
readonly notHelpful: string;
|
|
91
|
+
};
|
|
92
|
+
/** Your own rows at the top of the follow-ups, for the answer it receives. */
|
|
93
|
+
readonly followUpActions?: (context: EverfurChatAnswerContext) => readonly EverfurChatFollowUpAction[];
|
|
94
|
+
/** Draw the chevron your way. Absent, Everfur's glyph. */
|
|
95
|
+
readonly renderIcon?: (icon: 'chevron') => ReactNode;
|
|
96
|
+
}
|
|
97
|
+
/** A row of yours at the top of the follow-ups under an answer. */
|
|
98
|
+
interface EverfurChatFollowUpAction {
|
|
99
|
+
readonly key: string;
|
|
100
|
+
readonly label: string;
|
|
101
|
+
readonly icon?: ReactNode;
|
|
102
|
+
readonly onPress: () => void;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* The card at the top of the empty thread (presentation `chatTopCard: "focus"`): one finding, in your words, with
|
|
106
|
+
* an action of yours and a question it can ask in the thread. Its close control folds it into a pill.
|
|
107
|
+
*/
|
|
108
|
+
interface EverfurChatTopCard {
|
|
109
|
+
/** The small heading ("Her focus"). */
|
|
110
|
+
readonly kicker: string;
|
|
111
|
+
/** A source badge ("<your brand> results"). */
|
|
112
|
+
readonly badge?: string;
|
|
113
|
+
readonly title: string;
|
|
114
|
+
/** The finding: a bold lead and the rest of the sentence. */
|
|
115
|
+
readonly lead?: string;
|
|
116
|
+
readonly body?: string;
|
|
117
|
+
/** Your action ("See her Health Plan"). */
|
|
118
|
+
readonly action?: {
|
|
119
|
+
readonly label: string;
|
|
120
|
+
readonly onPress: () => void;
|
|
121
|
+
};
|
|
122
|
+
/** A question the card asks in this thread. */
|
|
123
|
+
readonly ask?: {
|
|
124
|
+
readonly label: string;
|
|
125
|
+
readonly prompt: string;
|
|
126
|
+
};
|
|
127
|
+
/** The close control's accessible name. Absent, the shared `Close`. */
|
|
128
|
+
readonly closeLabel?: string;
|
|
129
|
+
/** The pill's words while the card is closed (defaults to `kicker`). */
|
|
130
|
+
readonly pill?: string;
|
|
131
|
+
/** Draw the close glyph your way. */
|
|
132
|
+
readonly renderIcon?: (icon: 'close') => ReactNode;
|
|
133
|
+
}
|
|
134
|
+
/** The history bottom sheet (presentation `chatHistoryStyle: "sheet"`). */
|
|
135
|
+
interface EverfurChatHistorySheet {
|
|
136
|
+
/** The sheet's small title ("Chats with Ask <your brand>"). Absent, Everfur's history heading. */
|
|
137
|
+
readonly title?: string;
|
|
138
|
+
/** Draw the icons your way. */
|
|
139
|
+
readonly renderIcon?: (icon: 'close' | 'chat' | 'edit') => ReactNode;
|
|
140
|
+
}
|
|
14
141
|
|
|
15
142
|
/**
|
|
16
143
|
* The host's image picker for chat attachments. The SDK depends on no picker or camera module: open your own
|
|
@@ -30,6 +157,10 @@ interface EverfurChatAttachments {
|
|
|
30
157
|
/** Images per message; default 1 (the app's composer), at most 5 (the server's cap). */
|
|
31
158
|
readonly maxPerMessage?: number;
|
|
32
159
|
}
|
|
160
|
+
|
|
161
|
+
/** The host's own action for the two vet-care tiers, in place of Everfur's pill. */
|
|
162
|
+
type RenderVetAction = (level: UrgencyDisplayLevel) => ReactNode;
|
|
163
|
+
|
|
33
164
|
interface EverfurChatProps {
|
|
34
165
|
readonly petRef?: PetRef;
|
|
35
166
|
readonly conversationId?: ConversationId;
|
|
@@ -88,6 +219,12 @@ interface EverfurChatProps {
|
|
|
88
219
|
* conversation. Pass `composerSeed` instead when the user should decide whether to send it.
|
|
89
220
|
*/
|
|
90
221
|
readonly initialAsk?: string;
|
|
222
|
+
/**
|
|
223
|
+
* The identity of this `initialAsk`, when the same words can be asked again: your own id for each tap of an
|
|
224
|
+
* "Ask Everfur" pill or each push opened. A new key asks again even with the same words. Absent, the
|
|
225
|
+
* question's own words are the key, so the same question twice in a row is asked once.
|
|
226
|
+
*/
|
|
227
|
+
readonly initialAskKey?: string | number;
|
|
91
228
|
/**
|
|
92
229
|
* Text to put in the composer on arrival. It is never sent for the user: they edit it, send it or clear
|
|
93
230
|
* it. Only an empty composer is seeded, so nothing they typed is ever replaced.
|
|
@@ -149,6 +286,39 @@ interface EverfurChatProps {
|
|
|
149
286
|
* mount is about 15 pt short. Pass the hook's value from every render, never a copy taken at mount.
|
|
150
287
|
*/
|
|
151
288
|
readonly keyboardVerticalOffset?: number;
|
|
289
|
+
/**
|
|
290
|
+
* The layout settings (Raph v3): the answer style, the history style, the top card, the composer style and
|
|
291
|
+
* placeholder, the history bar's place, the general banner, the send button, the follow-up count and the upload
|
|
292
|
+
* control. Each also comes from your console (render_hints.branding.presentation); a field you set here wins
|
|
293
|
+
* unless the console locks it. `attachments` counts as your explicit `chatComposerUpload: true`. The microphone
|
|
294
|
+
* setting (`chatComposerMic`) has no control on this surface. `topCard`, `answerCards` and `historySheet` are
|
|
295
|
+
* content only and never switch a layout on by themselves.
|
|
296
|
+
*/
|
|
297
|
+
readonly presentation?: EverfurPresentationInput;
|
|
298
|
+
/**
|
|
299
|
+
* The focus card's content (drawn while `chatTopCard` resolves to `focus`). Absent, the card is built from the
|
|
300
|
+
* pet's Health Plan page focus; no page, no focus, a refused read or a page still loading draws no card.
|
|
301
|
+
*/
|
|
302
|
+
readonly topCard?: EverfurChatTopCard;
|
|
303
|
+
/** Opens the pet's Health Plan (your tab or screen): the plan-built focus card's `See her Health Plan` button. */
|
|
304
|
+
readonly onOpenHealthPlan?: () => void;
|
|
305
|
+
/** The cards answer style's content (used while `chatAnswerStyle` resolves to `cards`). */
|
|
306
|
+
readonly answerCards?: EverfurChatAnswerCards;
|
|
307
|
+
/** The history sheet's title and icons (used while `chatHistoryStyle` resolves to `sheet`). */
|
|
308
|
+
readonly historySheet?: EverfurChatHistorySheet;
|
|
309
|
+
/** The history bar ("Chats" and "New chat"); `chatHistoryBar: "scroll"` puts it at the top of the thread. */
|
|
310
|
+
readonly historyBar?: EverfurChatHistoryBar;
|
|
311
|
+
/** Your own starter chips, in place of the built-in four. */
|
|
312
|
+
readonly starterPrompts?: readonly EverfurStarterPrompt[];
|
|
313
|
+
/** The empty thread's title and chip fills. */
|
|
314
|
+
readonly emptyState?: EverfurChatEmptyState;
|
|
315
|
+
/**
|
|
316
|
+
* Whether the surface draws its own header bar (the history control, the pet and its switcher, the vet entry).
|
|
317
|
+
* Default `true`. Pass `false` when your own screen already has a header over chat (the web surface's `header`):
|
|
318
|
+
* the thread, the urgency banner and the composer are unchanged. Without the header, the history bar
|
|
319
|
+
* (`historyBar`) is the way into past chats.
|
|
320
|
+
*/
|
|
321
|
+
readonly header?: boolean;
|
|
152
322
|
}
|
|
153
323
|
/**
|
|
154
324
|
* Entitlement-gated, four-state chat surface. Entitlement-OFF renders the CapabilityGate OffState;
|
|
@@ -156,4 +326,4 @@ interface EverfurChatProps {
|
|
|
156
326
|
*/
|
|
157
327
|
declare function EverfurChat(props: EverfurChatProps): ReactNode;
|
|
158
328
|
|
|
159
|
-
export { type AttachmentSource as A, EverfurChat as E, type RenderVetAction as R, type
|
|
329
|
+
export { type AttachmentSource as A, EverfurChat as E, type RenderVetAction as R, type EverfurChatAnswerCard as a, type EverfurChatAnswerCards as b, type EverfurChatAnswerContext as c, type EverfurChatAttachments as d, type EverfurChatEmptyState as e, type EverfurChatFollowUpAction as f, type EverfurChatHistoryBar as g, type EverfurChatHistorySheet as h, type EverfurChatProps as i, type EverfurChatTopCard as j };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { StyleProp, ViewStyle } from 'react-native';
|
|
3
|
-
import {
|
|
3
|
+
import { c as RecordsScreenBaseProps } from './screenProps.d-CQ0qZJkr.cjs';
|
|
4
4
|
|
|
5
5
|
interface EverfurRecordsDepthProps extends Pick<RecordsScreenBaseProps, 'petRef' | 'petName' | 'onNavigate' | 'onBack'> {
|
|
6
6
|
readonly style?: StyleProp<ViewStyle>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { c as RecordsScreenBaseProps } from './screenProps.d-BVzRzowC.js';
|
|
3
3
|
|
|
4
4
|
interface EverfurRecordsDepthProps extends Pick<RecordsScreenBaseProps, 'petRef' | 'petName' | 'onNavigate' | 'onBack'> {
|
|
5
5
|
readonly style?: CSSProperties;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { StyleProp, ViewStyle } from 'react-native';
|
|
3
|
-
import {
|
|
3
|
+
import { c as RecordsScreenBaseProps } from './screenProps.d-BVzRzowC.js';
|
|
4
4
|
|
|
5
5
|
interface EverfurRecordsDepthProps extends Pick<RecordsScreenBaseProps, 'petRef' | 'petName' | 'onNavigate' | 'onBack'> {
|
|
6
6
|
readonly style?: StyleProp<ViewStyle>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { c as RecordsScreenBaseProps } from './screenProps.d-CQ0qZJkr.cjs';
|
|
3
3
|
|
|
4
4
|
interface EverfurRecordsDepthProps extends Pick<RecordsScreenBaseProps, 'petRef' | 'petName' | 'onNavigate' | 'onBack'> {
|
|
5
5
|
readonly style?: CSSProperties;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as EverfurErrorCode, E as EverfurError } from './EverfurError-
|
|
1
|
+
import { b as EverfurErrorCode, E as EverfurError } from './EverfurError.d-8NHtlgzA.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Recovery policy. A host may narrow retry ceilings (e.g. a metered plan) but can never widen the SDK's
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as EverfurErrorCode, E as EverfurError } from './EverfurError-
|
|
1
|
+
import { b as EverfurErrorCode, E as EverfurError } from './EverfurError.d-8NHtlgzA.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Recovery policy. A host may narrow retry ceilings (e.g. a metered plan) but can never widen the SDK's
|
|
@@ -150,6 +150,16 @@ interface EverfurError {
|
|
|
150
150
|
/** SAFE localizable copy resolved from `code` via `userFacingError` (never the raw wireMessage). */
|
|
151
151
|
readonly displayMessage: string;
|
|
152
152
|
}
|
|
153
|
+
/**
|
|
154
|
+
* The backend's `reason_code` on the 409 a write gets when the session belongs to a member whose Everfur account is
|
|
155
|
+
* linked to the partner read-only. The wire code is `ConflictException`, which folds to `conflict`, whose sentence
|
|
156
|
+
* ("That is already running...") is wrong here, and a retry never succeeds. The code stays `conflict` (an
|
|
157
|
+
* `accessDenied` would read as a consent or plan gate to the records repository), the copy becomes the existing
|
|
158
|
+
* access line, and the error is never retryable. See `isLinkedAccountReadOnly`.
|
|
159
|
+
*/
|
|
160
|
+
declare const LINKED_ACCOUNT_READ_ONLY = "linked_account_read_only";
|
|
161
|
+
/** True when a write was refused because the member's Everfur account is linked to this partner read-only. */
|
|
162
|
+
declare function isLinkedAccountReadOnly(error: Pick<EverfurError, 'code' | 'reasonCode'> | null | undefined): boolean;
|
|
153
163
|
/**
|
|
154
164
|
* The ONLY function the UI may call to render an error. Returns SAFE, code-derived copy; it never returns
|
|
155
165
|
* the untrusted `wireMessage`. Total over the taxonomy (an unmapped code cannot occur at the type level).
|
|
@@ -180,4 +190,4 @@ interface MakeEverfurErrorOptions {
|
|
|
180
190
|
}
|
|
181
191
|
declare function makeEverfurError(code: EverfurErrorCode, opts?: MakeEverfurErrorOptions): EverfurError;
|
|
182
192
|
|
|
183
|
-
export { AUTO_RETRYABLE_CODES as A, BACKOFF_BASE_MS as B, type EverfurError as E, MAX_RETRY_ATTEMPTS as M, RETRYABLE_CONTRACT_CODES as R, type EverfurErrorCategory as a, type EverfurErrorCode as b, categoryFor as c, BACKOFF_CAP_MS as d, EVERFUR_ERROR_CATEGORIES as e, EVERFUR_ERROR_CODES as f, type MakeEverfurErrorOptions as g, backoffDelayMs as h, isRetryableCode as i, canRecreateOnNotFound as j, fromHttpStatus as k, fromWire as l, isAutoRetryable as m,
|
|
193
|
+
export { AUTO_RETRYABLE_CODES as A, BACKOFF_BASE_MS as B, type EverfurError as E, LINKED_ACCOUNT_READ_ONLY as L, MAX_RETRY_ATTEMPTS as M, RETRYABLE_CONTRACT_CODES as R, type EverfurErrorCategory as a, type EverfurErrorCode as b, categoryFor as c, BACKOFF_CAP_MS as d, EVERFUR_ERROR_CATEGORIES as e, EVERFUR_ERROR_CODES as f, type MakeEverfurErrorOptions as g, backoffDelayMs as h, isRetryableCode as i, canRecreateOnNotFound as j, fromHttpStatus as k, fromWire as l, isAutoRetryable as m, isLinkedAccountReadOnly as n, makeEverfurError as o, shouldRetry as s, userFacingError as u };
|
|
@@ -150,6 +150,16 @@ interface EverfurError {
|
|
|
150
150
|
/** SAFE localizable copy resolved from `code` via `userFacingError` (never the raw wireMessage). */
|
|
151
151
|
readonly displayMessage: string;
|
|
152
152
|
}
|
|
153
|
+
/**
|
|
154
|
+
* The backend's `reason_code` on the 409 a write gets when the session belongs to a member whose Everfur account is
|
|
155
|
+
* linked to the partner read-only. The wire code is `ConflictException`, which folds to `conflict`, whose sentence
|
|
156
|
+
* ("That is already running...") is wrong here, and a retry never succeeds. The code stays `conflict` (an
|
|
157
|
+
* `accessDenied` would read as a consent or plan gate to the records repository), the copy becomes the existing
|
|
158
|
+
* access line, and the error is never retryable. See `isLinkedAccountReadOnly`.
|
|
159
|
+
*/
|
|
160
|
+
declare const LINKED_ACCOUNT_READ_ONLY = "linked_account_read_only";
|
|
161
|
+
/** True when a write was refused because the member's Everfur account is linked to this partner read-only. */
|
|
162
|
+
declare function isLinkedAccountReadOnly(error: Pick<EverfurError, 'code' | 'reasonCode'> | null | undefined): boolean;
|
|
153
163
|
/**
|
|
154
164
|
* The ONLY function the UI may call to render an error. Returns SAFE, code-derived copy; it never returns
|
|
155
165
|
* the untrusted `wireMessage`. Total over the taxonomy (an unmapped code cannot occur at the type level).
|
|
@@ -180,4 +190,4 @@ interface MakeEverfurErrorOptions {
|
|
|
180
190
|
}
|
|
181
191
|
declare function makeEverfurError(code: EverfurErrorCode, opts?: MakeEverfurErrorOptions): EverfurError;
|
|
182
192
|
|
|
183
|
-
export { AUTO_RETRYABLE_CODES as A, BACKOFF_BASE_MS as B, type EverfurError as E, MAX_RETRY_ATTEMPTS as M, RETRYABLE_CONTRACT_CODES as R, type EverfurErrorCategory as a, type EverfurErrorCode as b, categoryFor as c, BACKOFF_CAP_MS as d, EVERFUR_ERROR_CATEGORIES as e, EVERFUR_ERROR_CODES as f, type MakeEverfurErrorOptions as g, backoffDelayMs as h, isRetryableCode as i, canRecreateOnNotFound as j, fromHttpStatus as k, fromWire as l, isAutoRetryable as m,
|
|
193
|
+
export { AUTO_RETRYABLE_CODES as A, BACKOFF_BASE_MS as B, type EverfurError as E, LINKED_ACCOUNT_READ_ONLY as L, MAX_RETRY_ATTEMPTS as M, RETRYABLE_CONTRACT_CODES as R, type EverfurErrorCategory as a, type EverfurErrorCode as b, categoryFor as c, BACKOFF_CAP_MS as d, EVERFUR_ERROR_CATEGORIES as e, EVERFUR_ERROR_CODES as f, type MakeEverfurErrorOptions as g, backoffDelayMs as h, isRetryableCode as i, canRecreateOnNotFound as j, fromHttpStatus as k, fromWire as l, isAutoRetryable as m, isLinkedAccountReadOnly as n, makeEverfurError as o, shouldRetry as s, userFacingError as u };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { T as TelevetConsult } from './televetGlobal-
|
|
2
|
+
import { T as TelevetConsult } from './televetGlobal.d-CC-DrqkQ.js';
|
|
3
3
|
|
|
4
4
|
/** The calendar entry a booked visit asks the host to write. */
|
|
5
5
|
interface TelevetCalendarEvent {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { T as TelevetConsult } from './televetGlobal-
|
|
2
|
+
import { T as TelevetConsult } from './televetGlobal.d-CKwDCbmN.cjs';
|
|
3
3
|
|
|
4
4
|
/** The calendar entry a booked visit asks the host to write. */
|
|
5
5
|
interface TelevetCalendarEvent {
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The host's lifecycle and connectivity signals. Each subscribe returns its own unsubscribe, which the SDK
|
|
3
|
+
* calls on unmount; a listener that throws is contained by the caller, never by the host.
|
|
4
|
+
*/
|
|
5
|
+
interface LifecyclePort {
|
|
6
|
+
/**
|
|
7
|
+
* The host came back to the foreground. Only the real blur-to-focus edge, please: a platform that flips
|
|
8
|
+
* through an inactive state constantly (iOS control centre, a call banner) would otherwise turn a
|
|
9
|
+
* notification-shade pull into a request.
|
|
10
|
+
*/
|
|
11
|
+
onForeground(listener: () => void): () => void;
|
|
12
|
+
/** Connectivity returned. Omit it and a deferred refresh waits for the next foreground instead. */
|
|
13
|
+
onOnline?(listener: () => void): () => void;
|
|
14
|
+
/**
|
|
15
|
+
* Something told the host THIS member's thread changed: the push that carried the message. Announced
|
|
16
|
+
* triggers are never coalesced, because that is the one case where the reader is waiting on new content.
|
|
17
|
+
*/
|
|
18
|
+
onAnnounced?(listener: () => void): () => void;
|
|
19
|
+
/** Is the host unambiguously offline? Absent reads as online, which is exactly today's behaviour. */
|
|
20
|
+
isOffline?(): boolean;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export type { LifecyclePort as L };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The host's lifecycle and connectivity signals. Each subscribe returns its own unsubscribe, which the SDK
|
|
3
|
+
* calls on unmount; a listener that throws is contained by the caller, never by the host.
|
|
4
|
+
*/
|
|
5
|
+
interface LifecyclePort {
|
|
6
|
+
/**
|
|
7
|
+
* The host came back to the foreground. Only the real blur-to-focus edge, please: a platform that flips
|
|
8
|
+
* through an inactive state constantly (iOS control centre, a call banner) would otherwise turn a
|
|
9
|
+
* notification-shade pull into a request.
|
|
10
|
+
*/
|
|
11
|
+
onForeground(listener: () => void): () => void;
|
|
12
|
+
/** Connectivity returned. Omit it and a deferred refresh waits for the next foreground instead. */
|
|
13
|
+
onOnline?(listener: () => void): () => void;
|
|
14
|
+
/**
|
|
15
|
+
* Something told the host THIS member's thread changed: the push that carried the message. Announced
|
|
16
|
+
* triggers are never coalesced, because that is the one case where the reader is waiting on new content.
|
|
17
|
+
*/
|
|
18
|
+
onAnnounced?(listener: () => void): () => void;
|
|
19
|
+
/** Is the host unambiguously offline? Absent reads as online, which is exactly today's behaviour. */
|
|
20
|
+
isOffline?(): boolean;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export type { LifecyclePort as L };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { J as JobId } from './ids-B2GAAifq.
|
|
2
|
-
import { I as Interpretation } from './projection-CeIUsbSk.
|
|
1
|
+
import { J as JobId } from './ids.d-B2GAAifq.cjs';
|
|
2
|
+
import { I as Interpretation } from './projection.d-CeIUsbSk.cjs';
|
|
3
3
|
|
|
4
4
|
/** Deterministic + semantic precheck reason codes (ground truth `everfur_common/schemas/analysis.py`). */
|
|
5
5
|
type PrecheckReasonCode = 'blurry' | 'too_dark' | 'too_bright' | 'too_far' | 'too_close' | 'bad_framing' | 'low_quality' | 'wrong_modality' | 'wrong_species' | 'not_an_animal' | string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { J as JobId } from './ids-B2GAAifq.
|
|
2
|
-
import { I as Interpretation } from './projection-CeIUsbSk.
|
|
1
|
+
import { J as JobId } from './ids.d-B2GAAifq.js';
|
|
2
|
+
import { I as Interpretation } from './projection.d-CeIUsbSk.js';
|
|
3
3
|
|
|
4
4
|
/** Deterministic + semantic precheck reason codes (ground truth `everfur_common/schemas/analysis.py`). */
|
|
5
5
|
type PrecheckReasonCode = 'blurry' | 'too_dark' | 'too_bright' | 'too_far' | 'too_close' | 'bad_framing' | 'low_quality' | 'wrong_modality' | 'wrong_species' | 'not_an_animal' | string;
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import { R as RecordsClinicController, C as CaptureRecordsSignature } from './clinicRequestProps.d-CjsMg_OD.js';
|
|
3
|
+
import { R as RecordsController } from './useRecords.d-DWk61a4c.js';
|
|
4
|
+
import { c as RecordForwardItem } from './models.d-DOwnr8fi.js';
|
|
5
|
+
import { c as RecordsScreenBaseProps } from './screenProps.d-BVzRzowC.js';
|
|
6
|
+
import { E as EverfurRecordsSheet } from './sheetSeam.d-B09jf4YC.js';
|
|
7
|
+
|
|
8
|
+
interface EverfurRecordsPageProps extends RecordsScreenBaseProps {
|
|
9
|
+
readonly controller?: RecordsController;
|
|
10
|
+
/** Host/test seam over the clinic controller the `Request records` sheet uses. */
|
|
11
|
+
readonly clinicController?: RecordsClinicController;
|
|
12
|
+
readonly consentVersion?: string;
|
|
13
|
+
/** Your consent text, shown above `Allow` on the consent gate; pass it with its `consentVersion`. */
|
|
14
|
+
readonly consentText?: string;
|
|
15
|
+
/** The owner's name the clinic authorization is signed with (the owner can correct it before signing). */
|
|
16
|
+
readonly ownerName?: string;
|
|
17
|
+
/** A host signature component for the clinic authorization, instead of the built-in canvas. */
|
|
18
|
+
readonly onCaptureSignature?: CaptureRecordsSignature;
|
|
19
|
+
/**
|
|
20
|
+
* The heading level this page's title claims. Defaults to 2.
|
|
21
|
+
*
|
|
22
|
+
* THIS PAGE AND THE BOOKING FLOW USED TO DISAGREE, and that is why the prop exists. The page hardcoded
|
|
23
|
+
* `<h2>` and the televet booking chrome hardcoded `<h1>`, so a partner mounting both in one document got two
|
|
24
|
+
* competing top levels. A drop-in widget does not own the host page's `<h1>`: the shared default is 2 and a
|
|
25
|
+
* host whose page IS this surface passes 1. `src/web/headingLevel.ts` carries the full argument.
|
|
26
|
+
*/
|
|
27
|
+
readonly headingLevel?: number;
|
|
28
|
+
readonly style?: CSSProperties;
|
|
29
|
+
readonly className?: string;
|
|
30
|
+
readonly renderPending?: () => ReactNode;
|
|
31
|
+
/**
|
|
32
|
+
* Show the record's upcoming care (rechecks, vaccinations due) as its own card on the page, under the header.
|
|
33
|
+
* Default `false`: upcoming care shows only inside the full record (`Visits & records`), as before.
|
|
34
|
+
*/
|
|
35
|
+
readonly upcomingCare?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Only with `upcomingCare`: your own control at the end of each upcoming-care row (for example your vet entry).
|
|
38
|
+
* Called once per row with that item; return null for a row without one. Absent, the rows have no action.
|
|
39
|
+
*/
|
|
40
|
+
readonly renderUpcomingCareAction?: (item: RecordForwardItem) => ReactNode;
|
|
41
|
+
/**
|
|
42
|
+
* Draw the Records & history tiles under the header: `Labs & bloodwork` (opens the pet's lab markers on the page,
|
|
43
|
+
* drawn only while there are markers), `Screenings` (only with `onOpenScreenings`), `Visits & records` and
|
|
44
|
+
* `Timeline`. Default `false`: the header's two links, as before.
|
|
45
|
+
*/
|
|
46
|
+
readonly historyTiles?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Where the `Screenings` tile goes. The sheet always draws that tile, as the Everfur web app does: "All clear" or
|
|
49
|
+
* "N to review" over the pet's screening results (its lab markers with a result word), or "No screenings yet";
|
|
50
|
+
* absent, it opens the screening's marker on the page, and with none on file it is not a button. With
|
|
51
|
+
* `historyTiles`, absent means no tile.
|
|
52
|
+
*/
|
|
53
|
+
readonly onOpenScreenings?: () => void;
|
|
54
|
+
/**
|
|
55
|
+
* The page's look. By default (absent) it is the records sheet, our web app's health tab: the pet's vitals, upcoming
|
|
56
|
+
* care, the Records & History tiles, weight, medications, the history timeline and the ways to add records, or its
|
|
57
|
+
* no-records screen.
|
|
58
|
+
* The page loads it from `@everfur/sdk/web/records-sheet` (its own subpath) while showing its loading state; pass
|
|
59
|
+
* `recordsSheet(options)` from that subpath to set options, or `false` for the classic page (which then downloads
|
|
60
|
+
* none of the sheet). The same flows sit behind every look (clinic request with its consent and signature, upload,
|
|
61
|
+
* the full record). With the sheet, `upcomingCare` and `historyTiles` are implied and `renderUpcomingCareAction`
|
|
62
|
+
* fills the overdue row.
|
|
63
|
+
*/
|
|
64
|
+
readonly sheet?: EverfurRecordsSheet | false;
|
|
65
|
+
/** With the sheet: the unit a weight shows in first, `'lb'` (the default) or `'kg'`. */
|
|
66
|
+
readonly weightUnit?: 'lb' | 'kg';
|
|
67
|
+
/** With the sheet: opens the pet's Health Plan (your tab or screen), the top risk line's button. */
|
|
68
|
+
readonly onOpenPlan?: () => void;
|
|
69
|
+
/**
|
|
70
|
+
* Your own entry to a clinic request, run by "Request from her clinic" (the sheet) and `Request records` (the
|
|
71
|
+
* classic page) in place of the page's clinic flow (its picker, consent and signature, the default). Use it when
|
|
72
|
+
* your page already asks which clinic and confirms it was sent. Return a promise that settles once the request
|
|
73
|
+
* is sent and the page re-reads the member's requests, so its "on the way" line shows it. While a clinic request
|
|
74
|
+
* is out, the sheet's "Request from her clinic" only says it was requested there and calls neither.
|
|
75
|
+
*/
|
|
76
|
+
readonly onRequestFromClinic?: () => void | Promise<unknown>;
|
|
77
|
+
/**
|
|
78
|
+
* With the sheet: the member told you the pet has no vet yet (for example in your intro). The no-records title
|
|
79
|
+
* then reads "When Georgia has a vet, start here."; the ways to add records stay as they are.
|
|
80
|
+
*/
|
|
81
|
+
readonly noVet?: boolean;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* The records surface as a PAGE, mirroring the consumer web app: the default web records surface.
|
|
85
|
+
*
|
|
86
|
+
* Complete on its own: request records from a clinic (consent and signature), upload records the
|
|
87
|
+
* member already has, every request with its status and documents, and the full record with its
|
|
88
|
+
* vaccinations, all without leaving your page. Pass `onNavigate` only if you route those screens
|
|
89
|
+
* yourself. `EverfurRecords` (the flow) is the React Native-shaped stack, kept for existing embeds.
|
|
90
|
+
*/
|
|
91
|
+
declare function EverfurRecordsPage(props: EverfurRecordsPageProps): ReactNode;
|
|
92
|
+
|
|
93
|
+
export { type EverfurRecordsPageProps as E, EverfurRecordsPage as a };
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import { R as RecordsClinicController, C as CaptureRecordsSignature } from './clinicRequestProps.d-1dCtouGA.cjs';
|
|
3
|
+
import { R as RecordsController } from './useRecords.d-BYNX01El.cjs';
|
|
4
|
+
import { c as RecordForwardItem } from './models.d-BSqvbTE1.cjs';
|
|
5
|
+
import { c as RecordsScreenBaseProps } from './screenProps.d-CQ0qZJkr.cjs';
|
|
6
|
+
import { E as EverfurRecordsSheet } from './sheetSeam.d-BBuEIVsa.cjs';
|
|
7
|
+
|
|
8
|
+
interface EverfurRecordsPageProps extends RecordsScreenBaseProps {
|
|
9
|
+
readonly controller?: RecordsController;
|
|
10
|
+
/** Host/test seam over the clinic controller the `Request records` sheet uses. */
|
|
11
|
+
readonly clinicController?: RecordsClinicController;
|
|
12
|
+
readonly consentVersion?: string;
|
|
13
|
+
/** Your consent text, shown above `Allow` on the consent gate; pass it with its `consentVersion`. */
|
|
14
|
+
readonly consentText?: string;
|
|
15
|
+
/** The owner's name the clinic authorization is signed with (the owner can correct it before signing). */
|
|
16
|
+
readonly ownerName?: string;
|
|
17
|
+
/** A host signature component for the clinic authorization, instead of the built-in canvas. */
|
|
18
|
+
readonly onCaptureSignature?: CaptureRecordsSignature;
|
|
19
|
+
/**
|
|
20
|
+
* The heading level this page's title claims. Defaults to 2.
|
|
21
|
+
*
|
|
22
|
+
* THIS PAGE AND THE BOOKING FLOW USED TO DISAGREE, and that is why the prop exists. The page hardcoded
|
|
23
|
+
* `<h2>` and the televet booking chrome hardcoded `<h1>`, so a partner mounting both in one document got two
|
|
24
|
+
* competing top levels. A drop-in widget does not own the host page's `<h1>`: the shared default is 2 and a
|
|
25
|
+
* host whose page IS this surface passes 1. `src/web/headingLevel.ts` carries the full argument.
|
|
26
|
+
*/
|
|
27
|
+
readonly headingLevel?: number;
|
|
28
|
+
readonly style?: CSSProperties;
|
|
29
|
+
readonly className?: string;
|
|
30
|
+
readonly renderPending?: () => ReactNode;
|
|
31
|
+
/**
|
|
32
|
+
* Show the record's upcoming care (rechecks, vaccinations due) as its own card on the page, under the header.
|
|
33
|
+
* Default `false`: upcoming care shows only inside the full record (`Visits & records`), as before.
|
|
34
|
+
*/
|
|
35
|
+
readonly upcomingCare?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Only with `upcomingCare`: your own control at the end of each upcoming-care row (for example your vet entry).
|
|
38
|
+
* Called once per row with that item; return null for a row without one. Absent, the rows have no action.
|
|
39
|
+
*/
|
|
40
|
+
readonly renderUpcomingCareAction?: (item: RecordForwardItem) => ReactNode;
|
|
41
|
+
/**
|
|
42
|
+
* Draw the Records & history tiles under the header: `Labs & bloodwork` (opens the pet's lab markers on the page,
|
|
43
|
+
* drawn only while there are markers), `Screenings` (only with `onOpenScreenings`), `Visits & records` and
|
|
44
|
+
* `Timeline`. Default `false`: the header's two links, as before.
|
|
45
|
+
*/
|
|
46
|
+
readonly historyTiles?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Where the `Screenings` tile goes. The sheet always draws that tile, as the Everfur web app does: "All clear" or
|
|
49
|
+
* "N to review" over the pet's screening results (its lab markers with a result word), or "No screenings yet";
|
|
50
|
+
* absent, it opens the screening's marker on the page, and with none on file it is not a button. With
|
|
51
|
+
* `historyTiles`, absent means no tile.
|
|
52
|
+
*/
|
|
53
|
+
readonly onOpenScreenings?: () => void;
|
|
54
|
+
/**
|
|
55
|
+
* The page's look. By default (absent) it is the records sheet, our web app's health tab: the pet's vitals, upcoming
|
|
56
|
+
* care, the Records & History tiles, weight, medications, the history timeline and the ways to add records, or its
|
|
57
|
+
* no-records screen.
|
|
58
|
+
* The page loads it from `@everfur/sdk/web/records-sheet` (its own subpath) while showing its loading state; pass
|
|
59
|
+
* `recordsSheet(options)` from that subpath to set options, or `false` for the classic page (which then downloads
|
|
60
|
+
* none of the sheet). The same flows sit behind every look (clinic request with its consent and signature, upload,
|
|
61
|
+
* the full record). With the sheet, `upcomingCare` and `historyTiles` are implied and `renderUpcomingCareAction`
|
|
62
|
+
* fills the overdue row.
|
|
63
|
+
*/
|
|
64
|
+
readonly sheet?: EverfurRecordsSheet | false;
|
|
65
|
+
/** With the sheet: the unit a weight shows in first, `'lb'` (the default) or `'kg'`. */
|
|
66
|
+
readonly weightUnit?: 'lb' | 'kg';
|
|
67
|
+
/** With the sheet: opens the pet's Health Plan (your tab or screen), the top risk line's button. */
|
|
68
|
+
readonly onOpenPlan?: () => void;
|
|
69
|
+
/**
|
|
70
|
+
* Your own entry to a clinic request, run by "Request from her clinic" (the sheet) and `Request records` (the
|
|
71
|
+
* classic page) in place of the page's clinic flow (its picker, consent and signature, the default). Use it when
|
|
72
|
+
* your page already asks which clinic and confirms it was sent. Return a promise that settles once the request
|
|
73
|
+
* is sent and the page re-reads the member's requests, so its "on the way" line shows it. While a clinic request
|
|
74
|
+
* is out, the sheet's "Request from her clinic" only says it was requested there and calls neither.
|
|
75
|
+
*/
|
|
76
|
+
readonly onRequestFromClinic?: () => void | Promise<unknown>;
|
|
77
|
+
/**
|
|
78
|
+
* With the sheet: the member told you the pet has no vet yet (for example in your intro). The no-records title
|
|
79
|
+
* then reads "When Georgia has a vet, start here."; the ways to add records stay as they are.
|
|
80
|
+
*/
|
|
81
|
+
readonly noVet?: boolean;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* The records surface as a PAGE, mirroring the consumer web app: the default web records surface.
|
|
85
|
+
*
|
|
86
|
+
* Complete on its own: request records from a clinic (consent and signature), upload records the
|
|
87
|
+
* member already has, every request with its status and documents, and the full record with its
|
|
88
|
+
* vaccinations, all without leaving your page. Pass `onNavigate` only if you route those screens
|
|
89
|
+
* yourself. `EverfurRecords` (the flow) is the React Native-shaped stack, kept for existing embeds.
|
|
90
|
+
*/
|
|
91
|
+
declare function EverfurRecordsPage(props: EverfurRecordsPageProps): ReactNode;
|
|
92
|
+
|
|
93
|
+
export { type EverfurRecordsPageProps as E, EverfurRecordsPage as a };
|