@everfur/sdk 0.15.0 → 0.16.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 +160 -0
- package/LICENSE.md +1 -0
- package/README.md +12 -5
- package/SDK-LICENSE.txt +130 -0
- package/THIRD_PARTY_NOTICES +9 -0
- package/dist/CameraPort.d-Cv31Pz7g.d.cts +1 -0
- package/dist/CameraPort.d-Cv31Pz7g.d.ts +1 -0
- package/dist/{DepthViews.d-dXWL6ToG.d.cts → DepthViews.d-A7S-XYiI.d.ts} +2 -1
- package/dist/{DepthViews.d-DbJejGm3.d.ts → DepthViews.d-C4TIZDfz.d.cts} +2 -1
- package/dist/{DepthViews.d-CuBElgEc.d.ts → DepthViews.d-CNjaHLAS.d.ts} +2 -1
- package/dist/{DepthViews.d-BqMnWSMu.d.cts → DepthViews.d-DapfRz1S.d.cts} +2 -1
- package/dist/ErrorPolicyPort.d-68yrE3BE.d.ts +1 -0
- package/dist/ErrorPolicyPort.d-DirW9hgO.d.cts +1 -0
- package/dist/EverfurError.d-8NHtlgzA.d.cts +1 -0
- package/dist/EverfurError.d-8NHtlgzA.d.ts +1 -0
- package/dist/EverfurResult.d-BFH-3s6E.d.cts +1 -0
- package/dist/EverfurResult.d-D_-254ZY.d.ts +1 -0
- package/dist/IntakeMedia.d-4a89XrP7.d.ts +1 -0
- package/dist/IntakeMedia.d-DGxrhgIW.d.ts +1 -0
- package/dist/IntakeMedia.d-DUPR4lVM.d.cts +1 -0
- package/dist/IntakeMedia.d-JJCUvQu7.d.cts +1 -0
- package/dist/LICENSE.md +1 -0
- package/dist/LifecyclePort.d-Cr1p33a7.d.cts +1 -0
- package/dist/LifecyclePort.d-Cr1p33a7.d.ts +1 -0
- package/dist/PhotoController.d-BzCJOE7e.d.cts +1 -0
- package/dist/PhotoController.d-D0XiUUOl.d.ts +1 -0
- package/dist/{RecordsPage.d-DKrZ9rHX.d.ts → RecordsPage.d-6WMbieaV.d.ts} +2 -1
- package/dist/{RecordsPage.d-DRPdUAo4.d.cts → RecordsPage.d-B2gLf8RH.d.cts} +2 -1
- package/dist/SDK-LICENSE.txt +130 -0
- package/dist/THIRD_PARTY_NOTICES +9 -0
- package/dist/TelemetryPort.d-BDNr00hu.d.cts +1 -0
- package/dist/TelemetryPort.d-BDNr00hu.d.ts +1 -0
- package/dist/animations/index.cjs +2 -1
- package/dist/animations/index.d.cts +24 -23
- package/dist/animations/index.d.ts +24 -23
- package/dist/animations/index.js +2 -1
- package/dist/{Chat.d-a7Ksz7NZ.d.ts → appStateLifecycle.d-B7L427MF.d.ts} +73 -141
- package/dist/{Chat.d-CtfANk3A.d.cts → appStateLifecycle.d-CWedOJq4.d.cts} +73 -141
- package/dist/{attachments.d-CpaOfi2g.d.cts → attachments.d-BARh-PrJ.d.cts} +26 -7
- package/dist/{attachments.d-BGn2_knv.d.ts → attachments.d-CB0R1_vK.d.ts} +26 -7
- package/dist/{attachments.d-CoQhXrP9.d.ts → attachments.d-CPgp4_W-.d.ts} +3 -2
- package/dist/{attachments.d-CqHMGoER.d.cts → attachments.d-DeoaCEMD.d.cts} +3 -2
- package/dist/{bookingCopy.d-BwCOCZUj.d.ts → bookingCopy.d-BakTjvWw.d.ts} +3 -2
- package/dist/{bookingCopy.d-Bnq2zk0F.d.cts → bookingCopy.d-CVmpuk9C.d.cts} +3 -2
- package/dist/branding.d-Bbc6p1XY.d.cts +1 -0
- package/dist/branding.d-y6c0UwhE.d.ts +1 -0
- package/dist/cacheEpoch.d-DknKn3S0.d.cts +1 -0
- package/dist/cacheEpoch.d-DknKn3S0.d.ts +1 -0
- package/dist/callCopy.d-Bw6oZT54.d.cts +1 -0
- package/dist/callCopy.d-Bw6oZT54.d.ts +1 -0
- package/dist/callRoom.d-B1DoYdJe.d.cts +1 -0
- package/dist/callRoom.d-Dqm1rUqT.d.ts +1 -0
- package/dist/{casesRepository.d-DG83Ggbq.d.ts → casesRepository.d-CuokarTU.d.ts} +2 -1
- package/dist/{casesRepository.d-CsUJ2Oyb.d.cts → casesRepository.d-DKRLtYb8.d.cts} +2 -1
- package/dist/chat/index.cjs +229 -214
- package/dist/chat/index.d.cts +12 -9
- package/dist/chat/index.d.ts +12 -9
- package/dist/chat/index.js +230 -215
- package/dist/client/index.cjs +2 -1
- package/dist/client/index.d.cts +7 -6
- package/dist/client/index.d.ts +7 -6
- package/dist/client/index.js +2 -1
- package/dist/{clinicBatch.d-Byjx4y_W.d.ts → clinicBatch.d-BP_Rpvcy.d.ts} +3 -2
- package/dist/{clinicBatch.d-BLpbpS51.d.cts → clinicBatch.d-BTDdhMQ2.d.cts} +3 -2
- package/dist/clinicModels.d-BXgKZqDb.d.cts +1 -0
- package/dist/clinicModels.d-CaS64-P-.d.ts +1 -0
- package/dist/clinicRequestProps.d-1dCtouGA.d.cts +1 -0
- package/dist/clinicRequestProps.d-CjsMg_OD.d.ts +1 -0
- package/dist/{config.d-C0WgjutL.d.cts → config.d-84fNJFv9.d.cts} +2 -1
- package/dist/{config.d-zd2eTb2L.d.ts → config.d-B4-Mrwq2.d.ts} +2 -1
- package/dist/consent/index.cjs +1 -0
- package/dist/consent/index.d.cts +6 -5
- package/dist/consent/index.d.ts +6 -5
- package/dist/consent/index.js +1 -0
- package/dist/{context.d-Du_UPxa1.d.cts → context.d-87MMrNm6.d.cts} +6 -5
- package/dist/{context.d-BBjmV0rz.d.ts → context.d-rNGMZH8T.d.ts} +6 -5
- package/dist/{copy.d-Da_PP2K3.d.cts → copy.d-CJOLhJac.d.cts} +3 -2
- package/dist/{copy.d-D_VVj01o.d.ts → copy.d-DbwWriBp.d.ts} +3 -2
- package/dist/core/index.cjs +2 -1
- package/dist/core/index.d.cts +14 -13
- package/dist/core/index.d.ts +14 -13
- package/dist/core/index.js +2 -1
- package/dist/{depth.d-RTV61QNf.d.cts → depth.d-CXpPxNSK.d.cts} +3 -2
- package/dist/{depth.d-BEedifOR.d.ts → depth.d-Dca1T_RH.d.ts} +3 -2
- package/dist/{entitlementRepository.d-BwThmh3V.d.ts → entitlementRepository.d-BBRYTUlp.d.ts} +3 -2
- package/dist/{entitlementRepository.d-C-stdRyA.d.cts → entitlementRepository.d-DBhzBQjZ.d.cts} +3 -2
- package/dist/features.d-DrQxTw3-.d.cts +1 -0
- package/dist/features.d-DrQxTw3-.d.ts +1 -0
- package/dist/{focus.d-Dsm39DjO.d.cts → focus.d-BQnOVAql.d.cts} +4 -3
- package/dist/{focus.d-CtotIyEt.d.ts → focus.d-BZ2sEpbU.d.ts} +4 -3
- package/dist/health-plan/index.cjs +135 -131
- package/dist/health-plan/index.d.cts +78 -24
- package/dist/health-plan/index.d.ts +78 -24
- package/dist/health-plan/index.js +135 -131
- package/dist/{idempotency.d-Cv-B7SfC.d.ts → idempotency.d-9wNNohIA.d.cts} +2 -1
- package/dist/{idempotency.d-Bfm7oIxS.d.cts → idempotency.d-BdB17veP.d.ts} +2 -1
- package/dist/{identity.d-BksOEa6m.d.ts → identity.d-DxNvhj3a.d.ts} +2 -1
- package/dist/{identity.d-CioQhZrq.d.cts → identity.d-nRZBzkG2.d.cts} +2 -1
- package/dist/ids.d-B2GAAifq.d.cts +1 -0
- package/dist/ids.d-B2GAAifq.d.ts +1 -0
- package/dist/index.cjs +234 -219
- package/dist/index.d.cts +15 -12
- package/dist/index.d.ts +15 -12
- package/dist/index.js +235 -220
- package/dist/{introEvents.d-fAZitxMA.d.cts → introEvents.d-CQeiUeLn.d.cts} +2 -1
- package/dist/{introEvents.d-tOi4o3F4.d.ts → introEvents.d-bkIxpIKr.d.ts} +2 -1
- package/dist/introEvents.d-dS3fJCH1.d.cts +1 -0
- package/dist/introEvents.d-dS3fJCH1.d.ts +1 -0
- package/dist/models.d-BSqvbTE1.d.cts +1 -0
- package/dist/models.d-DOwnr8fi.d.ts +1 -0
- package/dist/notifications/index.cjs +1 -0
- package/dist/notifications/index.d.cts +5 -4
- package/dist/notifications/index.d.ts +5 -4
- package/dist/notifications/index.js +1 -0
- package/dist/{optInView.d-BkNSv4Gk.d.cts → optInView.d-BbVUUeoG.d.cts} +15 -2
- package/dist/{optInView.d-B8zTORO2.d.ts → optInView.d-DVJcB4Gp.d.ts} +15 -2
- package/dist/optionalModule.d-DbJmsq5f.d.cts +1 -0
- package/dist/optionalModule.d-DbJmsq5f.d.ts +1 -0
- package/dist/{parse.d-B5JHS6Pr.d.ts → parse.d-CGeJrcAC.d.ts} +2 -1
- package/dist/{parse.d-BgjO82mY.d.cts → parse.d-Dk0BasyK.d.cts} +2 -1
- package/dist/{pets.d-OWxskXCP.d.ts → pets.d-DBopbeRe.d.ts} +2 -1
- package/dist/{pets.d-B_LoizOv.d.cts → pets.d-DVptPgi0.d.cts} +2 -1
- package/dist/{petsRepository.d-Ba3xhJcj.d.ts → petsRepository.d-BtuooSOW.d.ts} +2 -1
- package/dist/{petsRepository.d-B5DWzU7C.d.cts → petsRepository.d-Daef7u0o.d.cts} +2 -1
- package/dist/photo/index.cjs +1 -0
- package/dist/photo/index.d.cts +1 -0
- package/dist/photo/index.d.ts +1 -0
- package/dist/photo/index.js +1 -0
- package/dist/ports.d-BX4f4UsB.d.cts +1 -0
- package/dist/ports.d-BX4f4UsB.d.ts +1 -0
- package/dist/{ports.d-BDtwHxmW.d.ts → ports.d-BxCVSbSi.d.ts} +5 -4
- package/dist/{ports.d-gZNTn8Qf.d.cts → ports.d-CAT70bVD.d.cts} +5 -4
- package/dist/presentation.d-vy8kTGfR.d.cts +1 -0
- package/dist/presentation.d-vy8kTGfR.d.ts +1 -0
- package/dist/profile.d-CSs1wlXT.d.cts +1 -0
- package/dist/profile.d-CSs1wlXT.d.ts +1 -0
- package/dist/projection.d-CeIUsbSk.d.cts +1 -0
- package/dist/projection.d-CeIUsbSk.d.ts +1 -0
- package/dist/quickPrompts.d-NM_81Jc1.d.cts +1 -0
- package/dist/quickPrompts.d-NM_81Jc1.d.ts +1 -0
- package/dist/records/depth/index.cjs +2 -1
- package/dist/records/depth/index.d.cts +10 -9
- package/dist/records/depth/index.d.ts +10 -9
- package/dist/records/depth/index.js +2 -1
- package/dist/records/index.cjs +243 -200
- package/dist/records/index.d.cts +170 -73
- package/dist/records/index.d.ts +170 -73
- package/dist/records/index.js +244 -201
- package/dist/recordsAsk.d-C5CGSi3j.d.cts +1 -0
- package/dist/recordsAsk.d-C5CGSi3j.d.ts +1 -0
- package/dist/{requestFunnel.d-DFf9C__p.d.ts → requestFunnel.d-Cxt0JqYx.d.ts} +3 -2
- package/dist/{requestFunnel.d-CR4akGCY.d.cts → requestFunnel.d-mEu6B-n8.d.cts} +3 -2
- package/dist/resolve.d-CoQWUy1Y.d.cts +1 -0
- package/dist/resolve.d-CoQWUy1Y.d.ts +1 -0
- package/dist/{runtimeTypes.d-BqBOrZxa.d.ts → runtimeTypes.d-Bkcj_XQy.d.ts} +5 -4
- package/dist/{runtimeTypes.d-CHdH-y2c.d.cts → runtimeTypes.d-D_qHJROH.d.cts} +5 -4
- package/dist/{screenProps.d-B1dIANI0.d.cts → screenProps.d-CR1lrpzR.d.cts} +3 -2
- package/dist/{screenProps.d-CVqFJw-J.d.ts → screenProps.d-D9n-ancr.d.ts} +3 -2
- package/dist/server/events/index.cjs +2 -1
- package/dist/server/events/index.d.cts +3 -2
- package/dist/server/events/index.d.ts +3 -2
- package/dist/server/events/index.js +2 -1
- package/dist/server/index.cjs +2 -1
- package/dist/server/index.d.cts +4 -3
- package/dist/server/index.d.ts +4 -3
- package/dist/server/index.js +2 -1
- package/dist/sheetCopy.d-CAhLOxjc.d.cts +1 -0
- package/dist/sheetCopy.d-CAhLOxjc.d.ts +1 -0
- package/dist/sheetSeam.d-B09jf4YC.d.ts +1 -0
- package/dist/sheetSeam.d-BBuEIVsa.d.cts +1 -0
- package/dist/shop/index.cjs +17 -16
- package/dist/shop/index.d.cts +13 -3
- package/dist/shop/index.d.ts +13 -3
- package/dist/shop/index.js +17 -16
- package/dist/species.d-BXAIMh7I.d.cts +1 -0
- package/dist/species.d-BXAIMh7I.d.ts +1 -0
- package/dist/tabs/index.cjs +5 -4
- package/dist/tabs/index.d.cts +35 -15
- package/dist/tabs/index.d.ts +35 -15
- package/dist/tabs/index.js +6 -5
- package/dist/tabsModel.d-B7QMug1u.d.cts +16 -0
- package/dist/tabsModel.d-B7QMug1u.d.ts +16 -0
- package/dist/televet/booking/index.cjs +1 -0
- package/dist/televet/booking/index.d.cts +7 -6
- package/dist/televet/booking/index.d.ts +7 -6
- package/dist/televet/booking/index.js +1 -0
- package/dist/televet/call/index.cjs +1 -0
- package/dist/televet/call/index.d.cts +1 -0
- package/dist/televet/call/index.d.ts +1 -0
- package/dist/televet/call/index.js +1 -0
- package/dist/televet/index.cjs +1 -0
- package/dist/televet/index.d.cts +1 -0
- package/dist/televet/index.d.ts +1 -0
- package/dist/televet/index.js +1 -0
- package/dist/televetGlobal.d-CC-DrqkQ.d.ts +1 -0
- package/dist/televetGlobal.d-CKwDCbmN.d.cts +1 -0
- package/dist/testing/index.cjs +1 -0
- package/dist/testing/index.d.cts +2 -1
- package/dist/testing/index.d.ts +2 -1
- package/dist/testing/index.js +1 -0
- package/dist/testing/rn/index.cjs +2 -2
- package/dist/testing/rn/index.d.cts +11 -9
- package/dist/testing/rn/index.d.ts +11 -9
- package/dist/testing/rn/index.js +2 -2
- package/dist/testing/web/index.cjs +1 -0
- package/dist/testing/web/index.d.cts +8 -7
- package/dist/testing/web/index.d.ts +8 -7
- package/dist/testing/web/index.js +1 -0
- package/dist/texting/index.cjs +23 -17
- package/dist/texting/index.d.cts +9 -6
- package/dist/texting/index.d.ts +9 -6
- package/dist/texting/index.js +24 -18
- package/dist/threadOptions.d-6hfQS1x7.d.cts +55 -0
- package/dist/threadOptions.d-6hfQS1x7.d.ts +55 -0
- package/dist/threadOptions.d-BEG-LZrC.d.cts +147 -0
- package/dist/threadOptions.d-BerQM1Ql.d.ts +147 -0
- package/dist/{threadOptions.d-DZ0AoQGk.d.ts → threadOptions.d-BgBvSIw8.d.ts} +7 -40
- package/dist/{threadOptions.d-CnSfFVMr.d.cts → threadOptions.d-P9v7I7va.d.cts} +7 -40
- package/dist/{timelineRows.d-CF1KvLcQ.d.cts → timelineRows.d-C04lp_Vj.d.cts} +2 -1
- package/dist/{timelineRows.d-CtL0y7y1.d.ts → timelineRows.d-_7JemrY-.d.ts} +2 -1
- package/dist/tokens.d-BUVqme2D.d.cts +1 -0
- package/dist/tokens.d-BUVqme2D.d.ts +1 -0
- package/dist/typeStyle.d-B3Kdtjie.d.ts +1 -0
- package/dist/typeStyle.d-DmlwyJq-.d.cts +1 -0
- package/dist/uploadTransport.d-CWL7CdWP.d.cts +1 -0
- package/dist/uploadTransport.d-EGoUl7gX.d.ts +1 -0
- package/dist/{planSignals.d-DtxZoWGM.d.ts → useHealthPlanSubscription.d-CUbHE6eK.d.ts} +82 -3
- package/dist/{planSignals.d-Cl6n5QpS.d.cts → useHealthPlanSubscription.d-OhLZpn-n.d.cts} +82 -3
- package/dist/useIntroSeen.d-CTWFUthO.d.cts +1 -0
- package/dist/useIntroSeen.d-CTWFUthO.d.ts +1 -0
- package/dist/{usePresentation.d-BsR08Wxt.d.ts → usePresentation.d-CBtBx38t.d.ts} +41 -40
- package/dist/{usePresentation.d-CZS0qlLI.d.cts → usePresentation.d-YkJeq9mf.d.cts} +41 -40
- package/dist/useRecords.d-BYNX01El.d.cts +1 -0
- package/dist/useRecords.d-DWk61a4c.d.ts +1 -0
- package/dist/{useRecordsDepth.d-k-zYIHTe.d.cts → useRecordsDepth.d-FTImzp6T.d.cts} +2 -1
- package/dist/{useRecordsDepth.d-DTAxFf5s.d.ts → useRecordsDepth.d-_rqDIvoq.d.ts} +2 -1
- package/dist/useVetVisit.d-BtdwhmgD.d.cts +1 -0
- package/dist/useVetVisit.d-DoYQimyt.d.ts +1 -0
- package/dist/video/index.cjs +1 -0
- package/dist/video/index.d.cts +1 -0
- package/dist/video/index.d.ts +1 -0
- package/dist/video/index.js +1 -0
- package/dist/{view.d-CAWQjcY_.d.cts → view.d-Dd6AfMvG.d.cts} +4 -3
- package/dist/{view.d-BE7VOlsB.d.ts → view.d-gmYinlac.d.ts} +4 -3
- package/dist/visitIntent.d-D7_yVp1I.d.cts +1 -0
- package/dist/visitIntent.d-D7_yVp1I.d.ts +1 -0
- package/dist/web/consent/index.cjs +1 -0
- package/dist/web/consent/index.d.cts +6 -5
- package/dist/web/consent/index.d.ts +6 -5
- package/dist/web/consent/index.js +1 -0
- package/dist/web/health-plan/index.cjs +3 -2
- package/dist/web/health-plan/index.d.cts +16 -69
- package/dist/web/health-plan/index.d.ts +16 -69
- package/dist/web/health-plan/index.js +3 -2
- package/dist/web/index.cjs +20 -17
- package/dist/web/index.d.cts +35 -43
- package/dist/web/index.d.ts +35 -43
- package/dist/web/index.js +20 -17
- package/dist/web/intro/index.cjs +1 -0
- package/dist/web/intro/index.d.cts +7 -6
- package/dist/web/intro/index.d.ts +7 -6
- package/dist/web/intro/index.js +1 -0
- package/dist/web/notifications/index.cjs +1 -0
- package/dist/web/notifications/index.d.cts +4 -3
- package/dist/web/notifications/index.d.ts +4 -3
- package/dist/web/notifications/index.js +1 -0
- package/dist/web/records/depth/index.cjs +1 -0
- package/dist/web/records/depth/index.d.cts +10 -9
- package/dist/web/records/depth/index.d.ts +10 -9
- package/dist/web/records/depth/index.js +1 -0
- package/dist/web/records/index.cjs +1 -0
- package/dist/web/records/index.d.cts +12 -11
- package/dist/web/records/index.d.ts +12 -11
- package/dist/web/records/index.js +1 -0
- package/dist/web/records/upload/index.cjs +1 -0
- package/dist/web/records/upload/index.d.cts +1 -0
- package/dist/web/records/upload/index.d.ts +1 -0
- package/dist/web/records/upload/index.js +1 -0
- package/dist/web/records-sheet/index.cjs +12 -11
- package/dist/web/records-sheet/index.d.cts +1 -0
- package/dist/web/records-sheet/index.d.ts +1 -0
- package/dist/web/records-sheet/index.js +12 -11
- package/dist/web/shop/index.cjs +12 -11
- package/dist/web/shop/index.d.cts +4 -3
- package/dist/web/shop/index.d.ts +4 -3
- package/dist/web/shop/index.js +12 -11
- package/dist/web/televet/booking/index.cjs +1 -0
- package/dist/web/televet/booking/index.d.cts +7 -6
- package/dist/web/televet/booking/index.d.ts +7 -6
- package/dist/web/televet/booking/index.js +1 -0
- package/dist/web/televet/call/index.cjs +1 -0
- package/dist/web/televet/call/index.d.cts +1 -0
- package/dist/web/televet/call/index.d.ts +1 -0
- package/dist/web/televet/call/index.js +1 -0
- package/dist/web/televet/index.cjs +1 -0
- package/dist/web/televet/index.d.cts +1 -0
- package/dist/web/televet/index.d.ts +1 -0
- package/dist/web/televet/index.js +1 -0
- package/dist/web/texting/index.cjs +2 -1
- package/dist/web/texting/index.d.cts +9 -6
- package/dist/web/texting/index.d.ts +9 -6
- package/dist/web/texting/index.js +2 -1
- package/package.json +15 -6
- package/LICENSE +0 -21
- package/dist/tabsModel.d-BfIQg6yS.d.cts +0 -31
- package/dist/tabsModel.d-BfIQg6yS.d.ts +0 -31
|
@@ -1,24 +1,27 @@
|
|
|
1
|
-
|
|
1
|
+
/*! @everfur/sdk. Copyright (c) 2026 Strand Health Inc. dba Everfur. All rights reserved. Use is subject to the Everfur SDK License: https://docs.everfur.com/license */
|
|
2
|
+
import { ReactNode, RefObject } from 'react';
|
|
2
3
|
import { StyleProp, ViewStyle } from 'react-native';
|
|
3
4
|
import { a as CapabilityDecision } from '../resolve.d-CoQWUy1Y.cjs';
|
|
4
5
|
import { E as EverfurError } from '../EverfurError.d-8NHtlgzA.cjs';
|
|
5
6
|
export { a as EverfurErrorCategory, b as EverfurErrorCode } from '../EverfurError.d-8NHtlgzA.cjs';
|
|
6
7
|
import { P as PetRef } from '../ids.d-B2GAAifq.cjs';
|
|
7
8
|
export { B as Brand, C as ConversationId, R as RecordsRequestId, U as UserRef, _ as __brand } from '../ids.d-B2GAAifq.cjs';
|
|
8
|
-
import { c as HealthPlanFocusCopy, e as HealthPlanFocusIcon, b as HealthPlanFocusDesign, f as HealthPlanItem, g as HealthPlanSubscription, h as HealthPlanOneBoxOrder, i as HealthPlanSubscriptionRepository, j as HealthPlanPageRepository, k as HealthPlanShopOrder, l as HealthPlanCheckoutProvider } from '../focus.d-
|
|
9
|
-
export {
|
|
9
|
+
import { c as HealthPlanFocusCopy, e as HealthPlanFocusIcon, b as HealthPlanFocusDesign, f as HealthPlanItem, g as HealthPlanSubscription, h as HealthPlanOneBoxOrder, i as HealthPlanSubscriptionRepository, j as HealthPlanPageRepository, k as HealthPlanShopOrder, l as HealthPlanCheckoutProvider } from '../focus.d-BQnOVAql.cjs';
|
|
10
|
+
export { o as HEALTH_PLAN_FOCUS_COPY, p as HEALTH_PLAN_REASON_KINDS, q as HealthPlan, r as HealthPlanCartCheckoutRequest, s as HealthPlanCheckoutItem, t as HealthPlanCheckoutRefusal, u as HealthPlanCheckoutRequest, v as HealthPlanCheckoutSession, w as HealthPlanCheckoutState, x as HealthPlanCheckoutStatus, y as HealthPlanFocusExtra, z as HealthPlanFocusPrices, A as HealthPlanFocusReasonRow, B as HealthPlanFocusReview, C as HealthPlanFocusSign, D as HealthPlanFocusStep, E as HealthPlanFocusWait, F as HealthPlanOneBoxOffer, G as HealthPlanOneBoxOrderPage, I as HealthPlanOneBoxOrderPageOptions, J as HealthPlanOrderStatus, K as HealthPlanOrderTracking, L as HealthPlanOrderTrackingStatus, H as HealthPlanPage, n as HealthPlanPagePet, a as HealthPlanPetPronouns, M as HealthPlanPurchase, N as HealthPlanReason, O as HealthPlanReasonKind, P as HealthPlanRepository, Q as HealthPlanRepositoryDeps, R as HealthPlanRuntime, S as HealthPlanSubscriptionQuote, T as HealthPlanSubscriptionRenewal, U as HealthPlanSubscriptionStatus, V as HealthPlanSubscriptionStep, W as HealthPlanSubscriptionSupply, X as HealthPlanTrackStep, Y as createHealthPlanPageRepository, Z as createHealthPlanPageRepositoryOver, _ as createHealthPlanRepository, $ as createHealthPlanRepositoryOver, a0 as createHealthPlanSubscriptionRepository, a1 as createHealthPlanSubscriptionRepositoryOver, a2 as formatHealthPlanDay, a3 as healthPlanCheckoutRefusal, a4 as healthPlanCheckoutSessionFromWire, a5 as healthPlanCheckoutStateFromWire, a6 as healthPlanFocusCopyFor, a7 as healthPlanFocusDesignFromWire, a8 as healthPlanFromWire, a9 as healthPlanOneBoxOrderFromWire, aa as healthPlanOneBoxOrderPageFromWire, ab as healthPlanOrderTrackingFromWire, ac as healthPlanPageFromWire, ad as healthPlanPetWords, ae as healthPlanSubscriptionFromWire, af as healthPlanSubscriptionQuoteFromWire, ag as isHealthPlanSubscriptionUnavailable } from '../focus.d-BQnOVAql.cjs';
|
|
10
11
|
import { i as EverfurPresentationInput } from '../presentation.d-vy8kTGfR.cjs';
|
|
11
12
|
export { E as EverfurChatAnswerStyle, a as EverfurChatComposerPlaceholder, b as EverfurChatComposerStyle, c as EverfurChatHistoryBarSetting, d as EverfurChatHistoryStyle, e as EverfurChatSendButtonSetting, f as EverfurChatTopCardSetting, g as EverfurHealthPlanLayout, h as EverfurPresentation, j as EverfurSafetyDisclaimerPlacement } from '../presentation.d-vy8kTGfR.cjs';
|
|
12
|
-
import { H as HealthPlanBlanksFacts, a as HealthPlanPriceFormat, b as HealthPlanLayoutProps,
|
|
13
|
-
export { E as EverfurHealthPlanOptions, h as EverfurHealthPlanState, i as EverfurHealthPlanStatus, j as HEALTH_PLAN_COPY, k as HEALTH_PLAN_COPY_PLACEHOLDERS, l as HEALTH_PLAN_LAYOUT_DEFAULTS, m as HEALTH_PLAN_REASON_LABELS, n as HEALTH_PLAN_TEMPLATES, o as HealthPlanAddButtonSize, p as HealthPlanAddedVariant, q as HealthPlanBlanksPhase, r as HealthPlanCardShadow, s as HealthPlanCartBarPlacement, t as HealthPlanCartBarVisibility, u as HealthPlanCategoryVariant, v as HealthPlanFontWeight, w as HealthPlanHeaderContext, x as HealthPlanPageContext, y as HealthPlanShadow, z as formatHealthPlanPrice, A as formatHealthPlanPriceWith, B as healthPlanBlanksFacts, C as healthPlanCart, D as healthPlanNextShotsAt, F as healthPlanRecordsWeightKg, G as isHealthPlanSessionRequired, I as showHealthPlanCartBar, J as useEverfurHealthPlan, K as useEverfurHealthPlanRepository, L as useEverfurPresentation } from '../usePresentation.d-
|
|
13
|
+
import { H as HealthPlanBlanksFacts, a as HealthPlanPriceFormat, b as HealthPlanLayoutProps, c as HealthPlanEmptyCopy, d as HealthPlanCardOptions, e as HealthPlanImageVariant, f as HealthPlanReasonVariant, g as HealthPlanCart } from '../usePresentation.d-YkJeq9mf.cjs';
|
|
14
|
+
export { E as EverfurHealthPlanOptions, h as EverfurHealthPlanState, i as EverfurHealthPlanStatus, j as HEALTH_PLAN_COPY, k as HEALTH_PLAN_COPY_PLACEHOLDERS, l as HEALTH_PLAN_LAYOUT_DEFAULTS, m as HEALTH_PLAN_REASON_LABELS, n as HEALTH_PLAN_TEMPLATES, o as HealthPlanAddButtonSize, p as HealthPlanAddedVariant, q as HealthPlanBlanksPhase, r as HealthPlanCardShadow, s as HealthPlanCartBarPlacement, t as HealthPlanCartBarVisibility, u as HealthPlanCategoryVariant, v as HealthPlanFontWeight, w as HealthPlanHeaderContext, x as HealthPlanPageContext, y as HealthPlanShadow, z as formatHealthPlanPrice, A as formatHealthPlanPriceWith, B as healthPlanBlanksFacts, C as healthPlanCart, D as healthPlanNextShotsAt, F as healthPlanRecordsWeightKg, G as isHealthPlanSessionRequired, I as showHealthPlanCartBar, J as useEverfurHealthPlan, K as useEverfurHealthPlanRepository, L as useEverfurPresentation } from '../usePresentation.d-YkJeq9mf.cjs';
|
|
14
15
|
import { L as LifecyclePort } from '../LifecyclePort.d-Cr1p33a7.cjs';
|
|
15
16
|
import { E as EverfurResult } from '../EverfurResult.d-BFH-3s6E.cjs';
|
|
16
17
|
import { R as RecordsRecordWire } from '../ports.d-BX4f4UsB.cjs';
|
|
17
|
-
|
|
18
|
-
export {
|
|
19
|
-
export { A as
|
|
18
|
+
import { C as HealthPlanTopCardOptions } from '../useHealthPlanSubscription.d-OhLZpn-n.cjs';
|
|
19
|
+
export { a as HEALTH_PLAN_TOP_CARD_COPY, b as HealthPlanCartDock, c as HealthPlanCartScope, d as HealthPlanCartScopeProps, e as HealthPlanController, f as HealthPlanNoVetListener, g as HealthPlanPageOptions, h as HealthPlanPagePhase, i as HealthPlanPageState, j as HealthPlanPhase, D as HealthPlanPossessivePet, k as HealthPlanRecordsLandedListener, l as HealthPlanRecordsLandedSource, m as HealthPlanSnapshot, n as HealthPlanSubscriptionOptions, o as HealthPlanSubscriptionPhase, p as HealthPlanSubscriptionState, H as HealthPlanTopCardCopy, q as HealthPlanTopCardFocus, r as HealthPlanTopCardPet, s as healthPlanNoVet, E as healthPlanPossessive, F as healthPlanTopCard, t as notifyHealthPlanRecordsLanded, u as onHealthPlanNoVet, v as onHealthPlanRecordsLanded, w as setHealthPlanNoVet, x as useHealthPlanCartDock, y as useHealthPlanPage, z as useHealthPlanPageRepository, A as useHealthPlanSubscription, B as useHealthPlanSubscriptionRepository } from '../useHealthPlanSubscription.d-OhLZpn-n.cjs';
|
|
20
|
+
export { A as AuthContext, I as IdentityProvider, M as MintedToken, T as TokenProvider } from '../identity.d-nRZBzkG2.cjs';
|
|
21
|
+
export { A as AcceptedFrame, a as AnalysisCompleteFrame, b as AnalysisStartedFrame, D as DeltaFrame, c as DoneFrame, E as ErrorFrame, d as EverfurRequest, e as EverfurRequestBase, F as Frame, f as FrameBase, g as FrameKind, H as HeartbeatFrame, h as HttpMethod, M as MultipartBody, T as TransportPort, U as UnknownFrame, i as UrgencyLevel } from '../config.d-84fNJFv9.cjs';
|
|
20
22
|
export { E as ErrorPolicyPort } from '../ErrorPolicyPort.d-DirW9hgO.cjs';
|
|
21
|
-
import '../
|
|
23
|
+
import { b as EverfurChatTopCard } from '../threadOptions.d-6hfQS1x7.cjs';
|
|
24
|
+
import '../requestFunnel.d-mEu6B-n8.cjs';
|
|
22
25
|
import '../models.d-BSqvbTE1.cjs';
|
|
23
26
|
|
|
24
27
|
/** The pet facts the words are sized to. */
|
|
@@ -28,8 +31,7 @@ interface HealthPlanPetWords {
|
|
|
28
31
|
/** The partner texts tracking numbers (Q9): the "by text" lines are drawn. Absent = false. */
|
|
29
32
|
readonly trackingTexts?: boolean;
|
|
30
33
|
}
|
|
31
|
-
|
|
32
|
-
declare function healthPlanPossessive(pet: HealthPlanPetWords): string | null;
|
|
34
|
+
|
|
33
35
|
/** The words the React Native focus layout adds over `HealthPlanFocusCopy`. Each '' hides what it labels. */
|
|
34
36
|
interface HealthPlanFocusRnCopy extends HealthPlanFocusCopy {
|
|
35
37
|
/**
|
|
@@ -37,10 +39,6 @@ interface HealthPlanFocusRnCopy extends HealthPlanFocusCopy {
|
|
|
37
39
|
* app's own words (everfur-frontend app/lib/error-handler.ts:66).
|
|
38
40
|
*/
|
|
39
41
|
readonly checkoutFailed: string;
|
|
40
|
-
/** The weight sheet's error with `weightUnit="kg"`. No approved words yet: '' (a copy ask for Raph). */
|
|
41
|
-
readonly weightErrorKg: string;
|
|
42
|
-
/** The toast after a weight saved in kilograms. No approved words yet: returns '' and no toast shows. */
|
|
43
|
-
readonly weightSavedKg: (kilograms: string) => string;
|
|
44
42
|
/** The back control over a pushed screen when the host draws no header of its own (src/rn/records/ScreenHeader.tsx). */
|
|
45
43
|
readonly back: string;
|
|
46
44
|
}
|
|
@@ -99,8 +97,18 @@ interface HealthPlanFocusRnOptions {
|
|
|
99
97
|
readonly onOverlayChange?: (overlay: HealthPlanFocusRnOverlay, controls: HealthPlanFocusRnOverlayControls) => void;
|
|
100
98
|
readonly onSubscriptionChange?: (subscription: HealthPlanSubscription) => void;
|
|
101
99
|
readonly onOneBoxOrder?: (order: HealthPlanOneBoxOrder) => void;
|
|
102
|
-
/**
|
|
100
|
+
/**
|
|
101
|
+
* The jump strip under the focus card was pressed: scroll your container to the pick. Omit it and the strip scrolls
|
|
102
|
+
* the surrounding `HealthPlanScrollScope` (EverfurTabs wraps its plan in one) to the pick; with neither the strip is
|
|
103
|
+
* not a control.
|
|
104
|
+
*/
|
|
103
105
|
readonly onJump?: () => void;
|
|
106
|
+
/**
|
|
107
|
+
* Q9: the partner texts tracking numbers, so the "Tracking comes by text" lines are drawn. Everfur's plan page says
|
|
108
|
+
* it itself (`trackingTextsEnabled`); with your own `design` this is yours to say (the web's option). Absent: the
|
|
109
|
+
* plan read's `trackingTextsEnabled`, else false.
|
|
110
|
+
*/
|
|
111
|
+
readonly trackingTexts?: boolean;
|
|
104
112
|
/** Number and date locale. */
|
|
105
113
|
readonly locale?: string;
|
|
106
114
|
readonly subscriptionRepository?: HealthPlanSubscriptionRepository;
|
|
@@ -180,11 +188,6 @@ interface HealthPlanFocusProps extends Omit<HealthPlanFocusRnOptions, 'design'>
|
|
|
180
188
|
readonly fromBackend?: boolean;
|
|
181
189
|
/** Q2: the page says its template is vet reviewed. Only then is a backend page's byline drawn. */
|
|
182
190
|
readonly vetReviewed?: boolean;
|
|
183
|
-
/**
|
|
184
|
-
* Q9: the partner texts tracking numbers (`trackingTextsEnabled` on the plan page or the plan read). Only then are
|
|
185
|
-
* the "Tracking comes by text" lines drawn. Absent = false.
|
|
186
|
-
*/
|
|
187
|
-
readonly trackingTexts?: boolean;
|
|
188
191
|
readonly onCheckout?: (items: readonly HealthPlanItem[]) => void;
|
|
189
192
|
readonly priceFormat?: HealthPlanPriceFormat;
|
|
190
193
|
readonly style?: StyleProp<ViewStyle>;
|
|
@@ -222,10 +225,19 @@ interface EverfurHealthPlanProps extends HealthPlanLayoutProps {
|
|
|
222
225
|
*/
|
|
223
226
|
readonly focus?: HealthPlanFocusRnOptions;
|
|
224
227
|
/**
|
|
225
|
-
* Whether this pet has a plan to show (Q1): false for no plan (
|
|
226
|
-
* once the plan is drawn. Not called while it is still loading or after a refused read.
|
|
228
|
+
* Whether this pet has a plan to show (Q1), with the pet it is about: false for no plan (hide your tab or entry for
|
|
229
|
+
* that pet), true once the plan is drawn. Not called while it is still loading or after a refused read. The same
|
|
230
|
+
* name and signature as the web's.
|
|
231
|
+
*/
|
|
232
|
+
readonly onAvailability?: (available: boolean, petRef: PetRef | null) => void;
|
|
233
|
+
/**
|
|
234
|
+
* @deprecated Use `onAvailability(available, petRef)`, the web's name. Still called, with the same value.
|
|
227
235
|
*/
|
|
228
236
|
readonly onAvailabilityChange?: (available: boolean) => void;
|
|
237
|
+
/** The empty state's Ask control (drawn only when `emptyAsk` has words). */
|
|
238
|
+
readonly onAsk?: () => void;
|
|
239
|
+
/** Your words for the empty state, over the SDK's (empty until approved: then nothing is drawn). */
|
|
240
|
+
readonly emptyCopy?: Partial<HealthPlanEmptyCopy>;
|
|
229
241
|
}
|
|
230
242
|
/** One pet's Health Plan in a React Native app. Mount it under the `EverfurProvider` from "@everfur/sdk". */
|
|
231
243
|
declare function EverfurHealthPlan(props: EverfurHealthPlanProps): ReactNode;
|
|
@@ -264,6 +276,36 @@ interface HealthPlanCartBarProps {
|
|
|
264
276
|
/** The cart bar of a Health Plan. */
|
|
265
277
|
declare function HealthPlanCartBar(props: HealthPlanCartBarProps): ReactNode;
|
|
266
278
|
|
|
279
|
+
interface HealthPlanTopRiskProps {
|
|
280
|
+
/** The line over the sentence ("Her top risk"). */
|
|
281
|
+
readonly kicker: string;
|
|
282
|
+
/** The one sentence ("Georgia's top disease risk is IVDD, a back problem, so she should start a Health Plan for it."). */
|
|
283
|
+
readonly sentence: string;
|
|
284
|
+
/** The button's words ("Start her Health Plan"). */
|
|
285
|
+
readonly action: string;
|
|
286
|
+
readonly onOpenPlan: () => void;
|
|
287
|
+
readonly style?: StyleProp<ViewStyle>;
|
|
288
|
+
}
|
|
289
|
+
/** The top-risk sentence with its way into the Health Plan. */
|
|
290
|
+
declare function HealthPlanTopRisk(props: HealthPlanTopRiskProps): ReactNode;
|
|
291
|
+
|
|
292
|
+
/** The minimal ScrollView surface the scope uses. */
|
|
293
|
+
interface HealthPlanScrollable {
|
|
294
|
+
scrollTo(options: {
|
|
295
|
+
readonly x?: number;
|
|
296
|
+
readonly y?: number;
|
|
297
|
+
readonly animated?: boolean;
|
|
298
|
+
}): void;
|
|
299
|
+
}
|
|
300
|
+
interface HealthPlanScrollScopeProps {
|
|
301
|
+
/** The ref of the ScrollView the plan sits in. */
|
|
302
|
+
readonly scrollRef: RefObject<HealthPlanScrollable | null>;
|
|
303
|
+
readonly children?: ReactNode;
|
|
304
|
+
readonly style?: StyleProp<ViewStyle>;
|
|
305
|
+
}
|
|
306
|
+
/** Wrap your plan (inside your ScrollView) so the focus layout's jump strip scrolls it to the pick. */
|
|
307
|
+
declare function HealthPlanScrollScope({ scrollRef, children, style }: HealthPlanScrollScopeProps): ReactNode;
|
|
308
|
+
|
|
267
309
|
/** One row: the words before the blank, the value (null: still a blank), the words after it, and its source line. */
|
|
268
310
|
interface HealthPlanBlanksRow {
|
|
269
311
|
readonly key: string;
|
|
@@ -290,4 +332,16 @@ interface HealthPlanBlanksProps {
|
|
|
290
332
|
}
|
|
291
333
|
declare function HealthPlanBlanks(props: HealthPlanBlanksProps): ReactNode;
|
|
292
334
|
|
|
293
|
-
|
|
335
|
+
interface UseHealthPlanTopCardOptions extends HealthPlanTopCardOptions {
|
|
336
|
+
readonly petRef: PetRef | null;
|
|
337
|
+
/** False skips the page read (and the card). Defaults to true. */
|
|
338
|
+
readonly enabled?: boolean;
|
|
339
|
+
}
|
|
340
|
+
/**
|
|
341
|
+
* The chat's top card for one pet, from its Health Plan page; undefined while the page loads, on a refused read, or
|
|
342
|
+
* when the page has no focus. Keep `onOpenPlan`, `copy` and `renderIcon` stable (module constants or memoised), so the
|
|
343
|
+
* card is rebuilt only when the page changes.
|
|
344
|
+
*/
|
|
345
|
+
declare function useHealthPlanTopCard(options: UseHealthPlanTopCardOptions): EverfurChatTopCard | undefined;
|
|
346
|
+
|
|
347
|
+
export { EverfurChatTopCard, EverfurError, EverfurHealthPlan, type EverfurHealthPlanProps, EverfurPresentationInput, EverfurResult, HEALTH_PLAN_FOCUS_RN_COPY, HealthPlanBlanks, HealthPlanBlanksFacts, type HealthPlanBlanksProps, type HealthPlanBlanksRow, HealthPlanCardOptions, HealthPlanCart, HealthPlanCartBar, type HealthPlanCartBarProps, HealthPlanCheckoutProvider, HealthPlanEmptyCopy, HealthPlanFocus, type HealthPlanFocusCheckoutRow, HealthPlanFocusCopy, HealthPlanFocusDesign, HealthPlanFocusIcon, type HealthPlanFocusProps, type HealthPlanFocusRnCopy, type HealthPlanFocusRnOptions, type HealthPlanFocusRnOverlay, type HealthPlanFocusRnOverlayControls, HealthPlanImageVariant, HealthPlanItem, HealthPlanItemCard, type HealthPlanItemCardProps, HealthPlanLayoutProps, HealthPlanOneBoxOrder, HealthPlanPageRepository, type HealthPlanPetWords, HealthPlanPriceFormat, HealthPlanReasonVariant, type HealthPlanRecordsReader, HealthPlanScrollScope, type HealthPlanScrollScopeProps, type HealthPlanScrollable, HealthPlanShopOrder, HealthPlanSubscription, HealthPlanSubscriptionRepository, HealthPlanTopCardOptions, HealthPlanTopRisk, type HealthPlanTopRiskProps, LifecyclePort, PetRef, RecordsRecordWire, type UseHealthPlanTopCardOptions, healthPlanPetCopy, useHealthPlanTopCard };
|
|
@@ -1,24 +1,27 @@
|
|
|
1
|
-
|
|
1
|
+
/*! @everfur/sdk. Copyright (c) 2026 Strand Health Inc. dba Everfur. All rights reserved. Use is subject to the Everfur SDK License: https://docs.everfur.com/license */
|
|
2
|
+
import { ReactNode, RefObject } from 'react';
|
|
2
3
|
import { StyleProp, ViewStyle } from 'react-native';
|
|
3
4
|
import { a as CapabilityDecision } from '../resolve.d-CoQWUy1Y.js';
|
|
4
5
|
import { E as EverfurError } from '../EverfurError.d-8NHtlgzA.js';
|
|
5
6
|
export { a as EverfurErrorCategory, b as EverfurErrorCode } from '../EverfurError.d-8NHtlgzA.js';
|
|
6
7
|
import { P as PetRef } from '../ids.d-B2GAAifq.js';
|
|
7
8
|
export { B as Brand, C as ConversationId, R as RecordsRequestId, U as UserRef, _ as __brand } from '../ids.d-B2GAAifq.js';
|
|
8
|
-
import { c as HealthPlanFocusCopy, e as HealthPlanFocusIcon, b as HealthPlanFocusDesign, f as HealthPlanItem, g as HealthPlanSubscription, h as HealthPlanOneBoxOrder, i as HealthPlanSubscriptionRepository, j as HealthPlanPageRepository, k as HealthPlanShopOrder, l as HealthPlanCheckoutProvider } from '../focus.d-
|
|
9
|
-
export {
|
|
9
|
+
import { c as HealthPlanFocusCopy, e as HealthPlanFocusIcon, b as HealthPlanFocusDesign, f as HealthPlanItem, g as HealthPlanSubscription, h as HealthPlanOneBoxOrder, i as HealthPlanSubscriptionRepository, j as HealthPlanPageRepository, k as HealthPlanShopOrder, l as HealthPlanCheckoutProvider } from '../focus.d-BZ2sEpbU.js';
|
|
10
|
+
export { o as HEALTH_PLAN_FOCUS_COPY, p as HEALTH_PLAN_REASON_KINDS, q as HealthPlan, r as HealthPlanCartCheckoutRequest, s as HealthPlanCheckoutItem, t as HealthPlanCheckoutRefusal, u as HealthPlanCheckoutRequest, v as HealthPlanCheckoutSession, w as HealthPlanCheckoutState, x as HealthPlanCheckoutStatus, y as HealthPlanFocusExtra, z as HealthPlanFocusPrices, A as HealthPlanFocusReasonRow, B as HealthPlanFocusReview, C as HealthPlanFocusSign, D as HealthPlanFocusStep, E as HealthPlanFocusWait, F as HealthPlanOneBoxOffer, G as HealthPlanOneBoxOrderPage, I as HealthPlanOneBoxOrderPageOptions, J as HealthPlanOrderStatus, K as HealthPlanOrderTracking, L as HealthPlanOrderTrackingStatus, H as HealthPlanPage, n as HealthPlanPagePet, a as HealthPlanPetPronouns, M as HealthPlanPurchase, N as HealthPlanReason, O as HealthPlanReasonKind, P as HealthPlanRepository, Q as HealthPlanRepositoryDeps, R as HealthPlanRuntime, S as HealthPlanSubscriptionQuote, T as HealthPlanSubscriptionRenewal, U as HealthPlanSubscriptionStatus, V as HealthPlanSubscriptionStep, W as HealthPlanSubscriptionSupply, X as HealthPlanTrackStep, Y as createHealthPlanPageRepository, Z as createHealthPlanPageRepositoryOver, _ as createHealthPlanRepository, $ as createHealthPlanRepositoryOver, a0 as createHealthPlanSubscriptionRepository, a1 as createHealthPlanSubscriptionRepositoryOver, a2 as formatHealthPlanDay, a3 as healthPlanCheckoutRefusal, a4 as healthPlanCheckoutSessionFromWire, a5 as healthPlanCheckoutStateFromWire, a6 as healthPlanFocusCopyFor, a7 as healthPlanFocusDesignFromWire, a8 as healthPlanFromWire, a9 as healthPlanOneBoxOrderFromWire, aa as healthPlanOneBoxOrderPageFromWire, ab as healthPlanOrderTrackingFromWire, ac as healthPlanPageFromWire, ad as healthPlanPetWords, ae as healthPlanSubscriptionFromWire, af as healthPlanSubscriptionQuoteFromWire, ag as isHealthPlanSubscriptionUnavailable } from '../focus.d-BZ2sEpbU.js';
|
|
10
11
|
import { i as EverfurPresentationInput } from '../presentation.d-vy8kTGfR.js';
|
|
11
12
|
export { E as EverfurChatAnswerStyle, a as EverfurChatComposerPlaceholder, b as EverfurChatComposerStyle, c as EverfurChatHistoryBarSetting, d as EverfurChatHistoryStyle, e as EverfurChatSendButtonSetting, f as EverfurChatTopCardSetting, g as EverfurHealthPlanLayout, h as EverfurPresentation, j as EverfurSafetyDisclaimerPlacement } from '../presentation.d-vy8kTGfR.js';
|
|
12
|
-
import { H as HealthPlanBlanksFacts, a as HealthPlanPriceFormat, b as HealthPlanLayoutProps,
|
|
13
|
-
export { E as EverfurHealthPlanOptions, h as EverfurHealthPlanState, i as EverfurHealthPlanStatus, j as HEALTH_PLAN_COPY, k as HEALTH_PLAN_COPY_PLACEHOLDERS, l as HEALTH_PLAN_LAYOUT_DEFAULTS, m as HEALTH_PLAN_REASON_LABELS, n as HEALTH_PLAN_TEMPLATES, o as HealthPlanAddButtonSize, p as HealthPlanAddedVariant, q as HealthPlanBlanksPhase, r as HealthPlanCardShadow, s as HealthPlanCartBarPlacement, t as HealthPlanCartBarVisibility, u as HealthPlanCategoryVariant, v as HealthPlanFontWeight, w as HealthPlanHeaderContext, x as HealthPlanPageContext, y as HealthPlanShadow, z as formatHealthPlanPrice, A as formatHealthPlanPriceWith, B as healthPlanBlanksFacts, C as healthPlanCart, D as healthPlanNextShotsAt, F as healthPlanRecordsWeightKg, G as isHealthPlanSessionRequired, I as showHealthPlanCartBar, J as useEverfurHealthPlan, K as useEverfurHealthPlanRepository, L as useEverfurPresentation } from '../usePresentation.d-
|
|
13
|
+
import { H as HealthPlanBlanksFacts, a as HealthPlanPriceFormat, b as HealthPlanLayoutProps, c as HealthPlanEmptyCopy, d as HealthPlanCardOptions, e as HealthPlanImageVariant, f as HealthPlanReasonVariant, g as HealthPlanCart } from '../usePresentation.d-CBtBx38t.js';
|
|
14
|
+
export { E as EverfurHealthPlanOptions, h as EverfurHealthPlanState, i as EverfurHealthPlanStatus, j as HEALTH_PLAN_COPY, k as HEALTH_PLAN_COPY_PLACEHOLDERS, l as HEALTH_PLAN_LAYOUT_DEFAULTS, m as HEALTH_PLAN_REASON_LABELS, n as HEALTH_PLAN_TEMPLATES, o as HealthPlanAddButtonSize, p as HealthPlanAddedVariant, q as HealthPlanBlanksPhase, r as HealthPlanCardShadow, s as HealthPlanCartBarPlacement, t as HealthPlanCartBarVisibility, u as HealthPlanCategoryVariant, v as HealthPlanFontWeight, w as HealthPlanHeaderContext, x as HealthPlanPageContext, y as HealthPlanShadow, z as formatHealthPlanPrice, A as formatHealthPlanPriceWith, B as healthPlanBlanksFacts, C as healthPlanCart, D as healthPlanNextShotsAt, F as healthPlanRecordsWeightKg, G as isHealthPlanSessionRequired, I as showHealthPlanCartBar, J as useEverfurHealthPlan, K as useEverfurHealthPlanRepository, L as useEverfurPresentation } from '../usePresentation.d-CBtBx38t.js';
|
|
14
15
|
import { L as LifecyclePort } from '../LifecyclePort.d-Cr1p33a7.js';
|
|
15
16
|
import { E as EverfurResult } from '../EverfurResult.d-D_-254ZY.js';
|
|
16
17
|
import { R as RecordsRecordWire } from '../ports.d-BX4f4UsB.js';
|
|
17
|
-
|
|
18
|
-
export {
|
|
19
|
-
export { A as
|
|
18
|
+
import { C as HealthPlanTopCardOptions } from '../useHealthPlanSubscription.d-CUbHE6eK.js';
|
|
19
|
+
export { a as HEALTH_PLAN_TOP_CARD_COPY, b as HealthPlanCartDock, c as HealthPlanCartScope, d as HealthPlanCartScopeProps, e as HealthPlanController, f as HealthPlanNoVetListener, g as HealthPlanPageOptions, h as HealthPlanPagePhase, i as HealthPlanPageState, j as HealthPlanPhase, D as HealthPlanPossessivePet, k as HealthPlanRecordsLandedListener, l as HealthPlanRecordsLandedSource, m as HealthPlanSnapshot, n as HealthPlanSubscriptionOptions, o as HealthPlanSubscriptionPhase, p as HealthPlanSubscriptionState, H as HealthPlanTopCardCopy, q as HealthPlanTopCardFocus, r as HealthPlanTopCardPet, s as healthPlanNoVet, E as healthPlanPossessive, F as healthPlanTopCard, t as notifyHealthPlanRecordsLanded, u as onHealthPlanNoVet, v as onHealthPlanRecordsLanded, w as setHealthPlanNoVet, x as useHealthPlanCartDock, y as useHealthPlanPage, z as useHealthPlanPageRepository, A as useHealthPlanSubscription, B as useHealthPlanSubscriptionRepository } from '../useHealthPlanSubscription.d-CUbHE6eK.js';
|
|
20
|
+
export { A as AuthContext, I as IdentityProvider, M as MintedToken, T as TokenProvider } from '../identity.d-DxNvhj3a.js';
|
|
21
|
+
export { A as AcceptedFrame, a as AnalysisCompleteFrame, b as AnalysisStartedFrame, D as DeltaFrame, c as DoneFrame, E as ErrorFrame, d as EverfurRequest, e as EverfurRequestBase, F as Frame, f as FrameBase, g as FrameKind, H as HeartbeatFrame, h as HttpMethod, M as MultipartBody, T as TransportPort, U as UnknownFrame, i as UrgencyLevel } from '../config.d-B4-Mrwq2.js';
|
|
20
22
|
export { E as ErrorPolicyPort } from '../ErrorPolicyPort.d-68yrE3BE.js';
|
|
21
|
-
import '../
|
|
23
|
+
import { b as EverfurChatTopCard } from '../threadOptions.d-6hfQS1x7.js';
|
|
24
|
+
import '../requestFunnel.d-Cxt0JqYx.js';
|
|
22
25
|
import '../models.d-DOwnr8fi.js';
|
|
23
26
|
|
|
24
27
|
/** The pet facts the words are sized to. */
|
|
@@ -28,8 +31,7 @@ interface HealthPlanPetWords {
|
|
|
28
31
|
/** The partner texts tracking numbers (Q9): the "by text" lines are drawn. Absent = false. */
|
|
29
32
|
readonly trackingTexts?: boolean;
|
|
30
33
|
}
|
|
31
|
-
|
|
32
|
-
declare function healthPlanPossessive(pet: HealthPlanPetWords): string | null;
|
|
34
|
+
|
|
33
35
|
/** The words the React Native focus layout adds over `HealthPlanFocusCopy`. Each '' hides what it labels. */
|
|
34
36
|
interface HealthPlanFocusRnCopy extends HealthPlanFocusCopy {
|
|
35
37
|
/**
|
|
@@ -37,10 +39,6 @@ interface HealthPlanFocusRnCopy extends HealthPlanFocusCopy {
|
|
|
37
39
|
* app's own words (everfur-frontend app/lib/error-handler.ts:66).
|
|
38
40
|
*/
|
|
39
41
|
readonly checkoutFailed: string;
|
|
40
|
-
/** The weight sheet's error with `weightUnit="kg"`. No approved words yet: '' (a copy ask for Raph). */
|
|
41
|
-
readonly weightErrorKg: string;
|
|
42
|
-
/** The toast after a weight saved in kilograms. No approved words yet: returns '' and no toast shows. */
|
|
43
|
-
readonly weightSavedKg: (kilograms: string) => string;
|
|
44
42
|
/** The back control over a pushed screen when the host draws no header of its own (src/rn/records/ScreenHeader.tsx). */
|
|
45
43
|
readonly back: string;
|
|
46
44
|
}
|
|
@@ -99,8 +97,18 @@ interface HealthPlanFocusRnOptions {
|
|
|
99
97
|
readonly onOverlayChange?: (overlay: HealthPlanFocusRnOverlay, controls: HealthPlanFocusRnOverlayControls) => void;
|
|
100
98
|
readonly onSubscriptionChange?: (subscription: HealthPlanSubscription) => void;
|
|
101
99
|
readonly onOneBoxOrder?: (order: HealthPlanOneBoxOrder) => void;
|
|
102
|
-
/**
|
|
100
|
+
/**
|
|
101
|
+
* The jump strip under the focus card was pressed: scroll your container to the pick. Omit it and the strip scrolls
|
|
102
|
+
* the surrounding `HealthPlanScrollScope` (EverfurTabs wraps its plan in one) to the pick; with neither the strip is
|
|
103
|
+
* not a control.
|
|
104
|
+
*/
|
|
103
105
|
readonly onJump?: () => void;
|
|
106
|
+
/**
|
|
107
|
+
* Q9: the partner texts tracking numbers, so the "Tracking comes by text" lines are drawn. Everfur's plan page says
|
|
108
|
+
* it itself (`trackingTextsEnabled`); with your own `design` this is yours to say (the web's option). Absent: the
|
|
109
|
+
* plan read's `trackingTextsEnabled`, else false.
|
|
110
|
+
*/
|
|
111
|
+
readonly trackingTexts?: boolean;
|
|
104
112
|
/** Number and date locale. */
|
|
105
113
|
readonly locale?: string;
|
|
106
114
|
readonly subscriptionRepository?: HealthPlanSubscriptionRepository;
|
|
@@ -180,11 +188,6 @@ interface HealthPlanFocusProps extends Omit<HealthPlanFocusRnOptions, 'design'>
|
|
|
180
188
|
readonly fromBackend?: boolean;
|
|
181
189
|
/** Q2: the page says its template is vet reviewed. Only then is a backend page's byline drawn. */
|
|
182
190
|
readonly vetReviewed?: boolean;
|
|
183
|
-
/**
|
|
184
|
-
* Q9: the partner texts tracking numbers (`trackingTextsEnabled` on the plan page or the plan read). Only then are
|
|
185
|
-
* the "Tracking comes by text" lines drawn. Absent = false.
|
|
186
|
-
*/
|
|
187
|
-
readonly trackingTexts?: boolean;
|
|
188
191
|
readonly onCheckout?: (items: readonly HealthPlanItem[]) => void;
|
|
189
192
|
readonly priceFormat?: HealthPlanPriceFormat;
|
|
190
193
|
readonly style?: StyleProp<ViewStyle>;
|
|
@@ -222,10 +225,19 @@ interface EverfurHealthPlanProps extends HealthPlanLayoutProps {
|
|
|
222
225
|
*/
|
|
223
226
|
readonly focus?: HealthPlanFocusRnOptions;
|
|
224
227
|
/**
|
|
225
|
-
* Whether this pet has a plan to show (Q1): false for no plan (
|
|
226
|
-
* once the plan is drawn. Not called while it is still loading or after a refused read.
|
|
228
|
+
* Whether this pet has a plan to show (Q1), with the pet it is about: false for no plan (hide your tab or entry for
|
|
229
|
+
* that pet), true once the plan is drawn. Not called while it is still loading or after a refused read. The same
|
|
230
|
+
* name and signature as the web's.
|
|
231
|
+
*/
|
|
232
|
+
readonly onAvailability?: (available: boolean, petRef: PetRef | null) => void;
|
|
233
|
+
/**
|
|
234
|
+
* @deprecated Use `onAvailability(available, petRef)`, the web's name. Still called, with the same value.
|
|
227
235
|
*/
|
|
228
236
|
readonly onAvailabilityChange?: (available: boolean) => void;
|
|
237
|
+
/** The empty state's Ask control (drawn only when `emptyAsk` has words). */
|
|
238
|
+
readonly onAsk?: () => void;
|
|
239
|
+
/** Your words for the empty state, over the SDK's (empty until approved: then nothing is drawn). */
|
|
240
|
+
readonly emptyCopy?: Partial<HealthPlanEmptyCopy>;
|
|
229
241
|
}
|
|
230
242
|
/** One pet's Health Plan in a React Native app. Mount it under the `EverfurProvider` from "@everfur/sdk". */
|
|
231
243
|
declare function EverfurHealthPlan(props: EverfurHealthPlanProps): ReactNode;
|
|
@@ -264,6 +276,36 @@ interface HealthPlanCartBarProps {
|
|
|
264
276
|
/** The cart bar of a Health Plan. */
|
|
265
277
|
declare function HealthPlanCartBar(props: HealthPlanCartBarProps): ReactNode;
|
|
266
278
|
|
|
279
|
+
interface HealthPlanTopRiskProps {
|
|
280
|
+
/** The line over the sentence ("Her top risk"). */
|
|
281
|
+
readonly kicker: string;
|
|
282
|
+
/** The one sentence ("Georgia's top disease risk is IVDD, a back problem, so she should start a Health Plan for it."). */
|
|
283
|
+
readonly sentence: string;
|
|
284
|
+
/** The button's words ("Start her Health Plan"). */
|
|
285
|
+
readonly action: string;
|
|
286
|
+
readonly onOpenPlan: () => void;
|
|
287
|
+
readonly style?: StyleProp<ViewStyle>;
|
|
288
|
+
}
|
|
289
|
+
/** The top-risk sentence with its way into the Health Plan. */
|
|
290
|
+
declare function HealthPlanTopRisk(props: HealthPlanTopRiskProps): ReactNode;
|
|
291
|
+
|
|
292
|
+
/** The minimal ScrollView surface the scope uses. */
|
|
293
|
+
interface HealthPlanScrollable {
|
|
294
|
+
scrollTo(options: {
|
|
295
|
+
readonly x?: number;
|
|
296
|
+
readonly y?: number;
|
|
297
|
+
readonly animated?: boolean;
|
|
298
|
+
}): void;
|
|
299
|
+
}
|
|
300
|
+
interface HealthPlanScrollScopeProps {
|
|
301
|
+
/** The ref of the ScrollView the plan sits in. */
|
|
302
|
+
readonly scrollRef: RefObject<HealthPlanScrollable | null>;
|
|
303
|
+
readonly children?: ReactNode;
|
|
304
|
+
readonly style?: StyleProp<ViewStyle>;
|
|
305
|
+
}
|
|
306
|
+
/** Wrap your plan (inside your ScrollView) so the focus layout's jump strip scrolls it to the pick. */
|
|
307
|
+
declare function HealthPlanScrollScope({ scrollRef, children, style }: HealthPlanScrollScopeProps): ReactNode;
|
|
308
|
+
|
|
267
309
|
/** One row: the words before the blank, the value (null: still a blank), the words after it, and its source line. */
|
|
268
310
|
interface HealthPlanBlanksRow {
|
|
269
311
|
readonly key: string;
|
|
@@ -290,4 +332,16 @@ interface HealthPlanBlanksProps {
|
|
|
290
332
|
}
|
|
291
333
|
declare function HealthPlanBlanks(props: HealthPlanBlanksProps): ReactNode;
|
|
292
334
|
|
|
293
|
-
|
|
335
|
+
interface UseHealthPlanTopCardOptions extends HealthPlanTopCardOptions {
|
|
336
|
+
readonly petRef: PetRef | null;
|
|
337
|
+
/** False skips the page read (and the card). Defaults to true. */
|
|
338
|
+
readonly enabled?: boolean;
|
|
339
|
+
}
|
|
340
|
+
/**
|
|
341
|
+
* The chat's top card for one pet, from its Health Plan page; undefined while the page loads, on a refused read, or
|
|
342
|
+
* when the page has no focus. Keep `onOpenPlan`, `copy` and `renderIcon` stable (module constants or memoised), so the
|
|
343
|
+
* card is rebuilt only when the page changes.
|
|
344
|
+
*/
|
|
345
|
+
declare function useHealthPlanTopCard(options: UseHealthPlanTopCardOptions): EverfurChatTopCard | undefined;
|
|
346
|
+
|
|
347
|
+
export { EverfurChatTopCard, EverfurError, EverfurHealthPlan, type EverfurHealthPlanProps, EverfurPresentationInput, EverfurResult, HEALTH_PLAN_FOCUS_RN_COPY, HealthPlanBlanks, HealthPlanBlanksFacts, type HealthPlanBlanksProps, type HealthPlanBlanksRow, HealthPlanCardOptions, HealthPlanCart, HealthPlanCartBar, type HealthPlanCartBarProps, HealthPlanCheckoutProvider, HealthPlanEmptyCopy, HealthPlanFocus, type HealthPlanFocusCheckoutRow, HealthPlanFocusCopy, HealthPlanFocusDesign, HealthPlanFocusIcon, type HealthPlanFocusProps, type HealthPlanFocusRnCopy, type HealthPlanFocusRnOptions, type HealthPlanFocusRnOverlay, type HealthPlanFocusRnOverlayControls, HealthPlanImageVariant, HealthPlanItem, HealthPlanItemCard, type HealthPlanItemCardProps, HealthPlanLayoutProps, HealthPlanOneBoxOrder, HealthPlanPageRepository, type HealthPlanPetWords, HealthPlanPriceFormat, HealthPlanReasonVariant, type HealthPlanRecordsReader, HealthPlanScrollScope, type HealthPlanScrollScopeProps, type HealthPlanScrollable, HealthPlanShopOrder, HealthPlanSubscription, HealthPlanSubscriptionRepository, HealthPlanTopCardOptions, HealthPlanTopRisk, type HealthPlanTopRiskProps, LifecyclePort, PetRef, RecordsRecordWire, type UseHealthPlanTopCardOptions, healthPlanPetCopy, useHealthPlanTopCard };
|