@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
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@everfur/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0",
|
|
4
4
|
"description": "Embed Everfur veterinary chat, health records, and pet-state surfaces in your React Native app.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "git+https://github.com/Everfur-Health/everfur-sdk-rn.git"
|
|
9
9
|
},
|
|
10
|
-
"homepage": "https://
|
|
10
|
+
"homepage": "https://docs.everfur.com/",
|
|
11
11
|
"bugs": {
|
|
12
12
|
"email": "support@everfur.com"
|
|
13
13
|
},
|
|
@@ -22,13 +22,17 @@
|
|
|
22
22
|
"chat",
|
|
23
23
|
"consent",
|
|
24
24
|
"client",
|
|
25
|
+
"health-plan",
|
|
25
26
|
"core",
|
|
26
27
|
"notifications",
|
|
27
28
|
"photo",
|
|
28
29
|
"records",
|
|
29
30
|
"server",
|
|
31
|
+
"shop",
|
|
32
|
+
"tabs",
|
|
30
33
|
"televet",
|
|
31
34
|
"testing",
|
|
35
|
+
"texting",
|
|
32
36
|
"video",
|
|
33
37
|
"web"
|
|
34
38
|
],
|
|
@@ -83,6 +87,12 @@
|
|
|
83
87
|
"web/records/upload": [
|
|
84
88
|
"./dist/web/records/upload/index.d.ts"
|
|
85
89
|
],
|
|
90
|
+
"web/records-sheet": [
|
|
91
|
+
"./dist/web/records-sheet/index.d.ts"
|
|
92
|
+
],
|
|
93
|
+
"web/intro": [
|
|
94
|
+
"./dist/web/intro/index.d.ts"
|
|
95
|
+
],
|
|
86
96
|
"notifications": [
|
|
87
97
|
"./dist/notifications/index.d.ts"
|
|
88
98
|
],
|
|
@@ -121,6 +131,27 @@
|
|
|
121
131
|
],
|
|
122
132
|
"web/consent": [
|
|
123
133
|
"./dist/web/consent/index.d.ts"
|
|
134
|
+
],
|
|
135
|
+
"texting": [
|
|
136
|
+
"./dist/texting/index.d.ts"
|
|
137
|
+
],
|
|
138
|
+
"web/texting": [
|
|
139
|
+
"./dist/web/texting/index.d.ts"
|
|
140
|
+
],
|
|
141
|
+
"health-plan": [
|
|
142
|
+
"./dist/health-plan/index.d.ts"
|
|
143
|
+
],
|
|
144
|
+
"tabs": [
|
|
145
|
+
"./dist/tabs/index.d.ts"
|
|
146
|
+
],
|
|
147
|
+
"web/health-plan": [
|
|
148
|
+
"./dist/web/health-plan/index.d.ts"
|
|
149
|
+
],
|
|
150
|
+
"web/shop": [
|
|
151
|
+
"./dist/web/shop/index.d.ts"
|
|
152
|
+
],
|
|
153
|
+
"shop": [
|
|
154
|
+
"./dist/shop/index.d.ts"
|
|
124
155
|
]
|
|
125
156
|
}
|
|
126
157
|
},
|
|
@@ -310,6 +341,28 @@
|
|
|
310
341
|
"default": "./dist/web/records/depth/index.cjs"
|
|
311
342
|
}
|
|
312
343
|
},
|
|
344
|
+
"./web/records-sheet": {
|
|
345
|
+
"react-native": null,
|
|
346
|
+
"import": {
|
|
347
|
+
"types": "./dist/web/records-sheet/index.d.ts",
|
|
348
|
+
"default": "./dist/web/records-sheet/index.js"
|
|
349
|
+
},
|
|
350
|
+
"require": {
|
|
351
|
+
"types": "./dist/web/records-sheet/index.d.cts",
|
|
352
|
+
"default": "./dist/web/records-sheet/index.cjs"
|
|
353
|
+
}
|
|
354
|
+
},
|
|
355
|
+
"./web/intro": {
|
|
356
|
+
"react-native": null,
|
|
357
|
+
"import": {
|
|
358
|
+
"types": "./dist/web/intro/index.d.ts",
|
|
359
|
+
"default": "./dist/web/intro/index.js"
|
|
360
|
+
},
|
|
361
|
+
"require": {
|
|
362
|
+
"types": "./dist/web/intro/index.d.cts",
|
|
363
|
+
"default": "./dist/web/intro/index.cjs"
|
|
364
|
+
}
|
|
365
|
+
},
|
|
313
366
|
"./web/records/upload": {
|
|
314
367
|
"react-native": null,
|
|
315
368
|
"import": {
|
|
@@ -354,6 +407,83 @@
|
|
|
354
407
|
"default": "./dist/web/consent/index.cjs"
|
|
355
408
|
}
|
|
356
409
|
},
|
|
410
|
+
"./texting": {
|
|
411
|
+
"react-native": "./dist/texting/index.js",
|
|
412
|
+
"import": {
|
|
413
|
+
"types": "./dist/texting/index.d.ts",
|
|
414
|
+
"default": "./dist/texting/index.js"
|
|
415
|
+
},
|
|
416
|
+
"require": {
|
|
417
|
+
"types": "./dist/texting/index.d.cts",
|
|
418
|
+
"default": "./dist/texting/index.cjs"
|
|
419
|
+
}
|
|
420
|
+
},
|
|
421
|
+
"./web/texting": {
|
|
422
|
+
"react-native": null,
|
|
423
|
+
"import": {
|
|
424
|
+
"types": "./dist/web/texting/index.d.ts",
|
|
425
|
+
"default": "./dist/web/texting/index.js"
|
|
426
|
+
},
|
|
427
|
+
"require": {
|
|
428
|
+
"types": "./dist/web/texting/index.d.cts",
|
|
429
|
+
"default": "./dist/web/texting/index.cjs"
|
|
430
|
+
}
|
|
431
|
+
},
|
|
432
|
+
"./health-plan": {
|
|
433
|
+
"react-native": "./dist/health-plan/index.js",
|
|
434
|
+
"import": {
|
|
435
|
+
"types": "./dist/health-plan/index.d.ts",
|
|
436
|
+
"default": "./dist/health-plan/index.js"
|
|
437
|
+
},
|
|
438
|
+
"require": {
|
|
439
|
+
"types": "./dist/health-plan/index.d.cts",
|
|
440
|
+
"default": "./dist/health-plan/index.cjs"
|
|
441
|
+
}
|
|
442
|
+
},
|
|
443
|
+
"./tabs": {
|
|
444
|
+
"react-native": "./dist/tabs/index.js",
|
|
445
|
+
"import": {
|
|
446
|
+
"types": "./dist/tabs/index.d.ts",
|
|
447
|
+
"default": "./dist/tabs/index.js"
|
|
448
|
+
},
|
|
449
|
+
"require": {
|
|
450
|
+
"types": "./dist/tabs/index.d.cts",
|
|
451
|
+
"default": "./dist/tabs/index.cjs"
|
|
452
|
+
}
|
|
453
|
+
},
|
|
454
|
+
"./web/health-plan": {
|
|
455
|
+
"react-native": null,
|
|
456
|
+
"import": {
|
|
457
|
+
"types": "./dist/web/health-plan/index.d.ts",
|
|
458
|
+
"default": "./dist/web/health-plan/index.js"
|
|
459
|
+
},
|
|
460
|
+
"require": {
|
|
461
|
+
"types": "./dist/web/health-plan/index.d.cts",
|
|
462
|
+
"default": "./dist/web/health-plan/index.cjs"
|
|
463
|
+
}
|
|
464
|
+
},
|
|
465
|
+
"./shop": {
|
|
466
|
+
"react-native": "./dist/shop/index.js",
|
|
467
|
+
"import": {
|
|
468
|
+
"types": "./dist/shop/index.d.ts",
|
|
469
|
+
"default": "./dist/shop/index.js"
|
|
470
|
+
},
|
|
471
|
+
"require": {
|
|
472
|
+
"types": "./dist/shop/index.d.cts",
|
|
473
|
+
"default": "./dist/shop/index.cjs"
|
|
474
|
+
}
|
|
475
|
+
},
|
|
476
|
+
"./web/shop": {
|
|
477
|
+
"react-native": null,
|
|
478
|
+
"import": {
|
|
479
|
+
"types": "./dist/web/shop/index.d.ts",
|
|
480
|
+
"default": "./dist/web/shop/index.js"
|
|
481
|
+
},
|
|
482
|
+
"require": {
|
|
483
|
+
"types": "./dist/web/shop/index.d.cts",
|
|
484
|
+
"default": "./dist/web/shop/index.cjs"
|
|
485
|
+
}
|
|
486
|
+
},
|
|
357
487
|
"./televet": {
|
|
358
488
|
"react-native": "./dist/televet/index.js",
|
|
359
489
|
"import": {
|
|
@@ -456,7 +586,8 @@
|
|
|
456
586
|
"./package.json": "./package.json"
|
|
457
587
|
},
|
|
458
588
|
"scripts": {
|
|
459
|
-
"build": "tsup && node scripts/strip-sourcemap-pragma.mjs && node scripts/add-use-client.mjs && node scripts/generate-subpath-shims.mjs",
|
|
589
|
+
"build": "tsup && npm run build:dts && node scripts/strip-sourcemap-pragma.mjs && node scripts/add-use-client.mjs && node scripts/generate-subpath-shims.mjs",
|
|
590
|
+
"build:dts": "rm -rf temp/dts && tsc -p tsconfig.dts.json && tsup --config tsup.dts.config.ts",
|
|
460
591
|
"build:cdn": "rm -rf dist-cdn && tsup --config tsup.cdn.config.ts && node scripts/strip-sourcemap-pragma.mjs --dir dist-cdn && node scripts/build-public-docs.mjs",
|
|
461
592
|
"build:bob": "react-native-builder-bob build",
|
|
462
593
|
"clean": "rm -rf dist dist-cdn lib temp && node scripts/generate-subpath-shims.mjs --clean",
|
|
@@ -470,13 +601,14 @@
|
|
|
470
601
|
"contract:types": "node scripts/generate-contract-types.mjs",
|
|
471
602
|
"contract:types:check": "node scripts/generate-contract-types.mjs --check",
|
|
472
603
|
"contract:check": "npm run contract:types:check && npm run contract:errors:check",
|
|
473
|
-
"api:check": "api-extractor run --config api-extractor.json && api-extractor run --config api-extractor.server.json && api-extractor run --config api-extractor.server-events.json && api-extractor run --config api-extractor.records.json && api-extractor run --config api-extractor.video.json && api-extractor run --config api-extractor.photo.json && api-extractor run --config api-extractor.animations.json && api-extractor run --config api-extractor.testing-rn.json && api-extractor run --config api-extractor.client.json && api-extractor run --config api-extractor.core.json && api-extractor run --config api-extractor.chat.json && api-extractor run --config api-extractor.web.json && api-extractor run --config api-extractor.web-records.json && api-extractor run --config api-extractor.web-records-depth.json && api-extractor run --config api-extractor.web-records-upload.json && api-extractor run --config api-extractor.records-depth.json && api-extractor run --config api-extractor.web-televet.json && api-extractor run --config api-extractor.web-televet-call.json && api-extractor run --config api-extractor.web-televet-booking.json && api-extractor run --config api-extractor.televet.json && api-extractor run --config api-extractor.televet-call.json && api-extractor run --config api-extractor.televet-booking.json && api-extractor run --config api-extractor.testing-web.json && api-extractor run --config api-extractor.testing.json && api-extractor run --config api-extractor.notifications.json && api-extractor run --config api-extractor.web-notifications.json && api-extractor run --config api-extractor.consent.json && api-extractor run --config api-extractor.web-consent.json",
|
|
474
|
-
"api:update": "api-extractor run --local --config api-extractor.json && api-extractor run --local --config api-extractor.server.json && api-extractor run --local --config api-extractor.server-events.json && api-extractor run --local --config api-extractor.records.json && api-extractor run --local --config api-extractor.video.json && api-extractor run --local --config api-extractor.photo.json && api-extractor run --local --config api-extractor.animations.json && api-extractor run --local --config api-extractor.testing-rn.json && api-extractor run --local --config api-extractor.client.json && api-extractor run --local --config api-extractor.core.json && api-extractor run --local --config api-extractor.chat.json && api-extractor run --local --config api-extractor.web.json && api-extractor run --local --config api-extractor.web-records.json && api-extractor run --local --config api-extractor.web-records-depth.json && api-extractor run --local --config api-extractor.web-records-upload.json && api-extractor run --local --config api-extractor.records-depth.json && api-extractor run --local --config api-extractor.web-televet.json && api-extractor run --local --config api-extractor.web-televet-call.json && api-extractor run --local --config api-extractor.web-televet-booking.json && api-extractor run --local --config api-extractor.televet.json && api-extractor run --local --config api-extractor.televet-call.json && api-extractor run --local --config api-extractor.televet-booking.json && api-extractor run --local --config api-extractor.testing-web.json && api-extractor run --local --config api-extractor.testing.json && api-extractor run --local --config api-extractor.notifications.json && api-extractor run --local --config api-extractor.web-notifications.json && api-extractor run --local --config api-extractor.consent.json && api-extractor run --local --config api-extractor.web-consent.json",
|
|
604
|
+
"api:check": "api-extractor run --config api-extractor.json && api-extractor run --config api-extractor.server.json && api-extractor run --config api-extractor.server-events.json && api-extractor run --config api-extractor.records.json && api-extractor run --config api-extractor.video.json && api-extractor run --config api-extractor.photo.json && api-extractor run --config api-extractor.animations.json && api-extractor run --config api-extractor.testing-rn.json && api-extractor run --config api-extractor.client.json && api-extractor run --config api-extractor.core.json && api-extractor run --config api-extractor.chat.json && api-extractor run --config api-extractor.web.json && api-extractor run --config api-extractor.web-records.json && api-extractor run --config api-extractor.web-records-depth.json && api-extractor run --config api-extractor.web-records-upload.json && api-extractor run --config api-extractor.web-records-sheet.json && api-extractor run --config api-extractor.web-intro.json && api-extractor run --config api-extractor.records-depth.json && api-extractor run --config api-extractor.web-televet.json && api-extractor run --config api-extractor.web-televet-call.json && api-extractor run --config api-extractor.web-televet-booking.json && api-extractor run --config api-extractor.televet.json && api-extractor run --config api-extractor.televet-call.json && api-extractor run --config api-extractor.televet-booking.json && api-extractor run --config api-extractor.testing-web.json && api-extractor run --config api-extractor.testing.json && api-extractor run --config api-extractor.notifications.json && api-extractor run --config api-extractor.web-notifications.json && api-extractor run --config api-extractor.consent.json && api-extractor run --config api-extractor.web-consent.json && api-extractor run --config api-extractor.texting.json && api-extractor run --config api-extractor.web-texting.json && api-extractor run --config api-extractor.health-plan.json && api-extractor run --config api-extractor.tabs.json && api-extractor run --config api-extractor.web-health-plan.json && api-extractor run --config api-extractor.web-shop.json && api-extractor run --config api-extractor.shop.json",
|
|
605
|
+
"api:update": "api-extractor run --local --config api-extractor.json && api-extractor run --local --config api-extractor.server.json && api-extractor run --local --config api-extractor.server-events.json && api-extractor run --local --config api-extractor.records.json && api-extractor run --local --config api-extractor.video.json && api-extractor run --local --config api-extractor.photo.json && api-extractor run --local --config api-extractor.animations.json && api-extractor run --local --config api-extractor.testing-rn.json && api-extractor run --local --config api-extractor.client.json && api-extractor run --local --config api-extractor.core.json && api-extractor run --local --config api-extractor.chat.json && api-extractor run --local --config api-extractor.web.json && api-extractor run --local --config api-extractor.web-records.json && api-extractor run --local --config api-extractor.web-records-depth.json && api-extractor run --local --config api-extractor.web-records-upload.json && api-extractor run --local --config api-extractor.web-records-sheet.json && api-extractor run --local --config api-extractor.web-intro.json && api-extractor run --local --config api-extractor.records-depth.json && api-extractor run --local --config api-extractor.web-televet.json && api-extractor run --local --config api-extractor.web-televet-call.json && api-extractor run --local --config api-extractor.web-televet-booking.json && api-extractor run --local --config api-extractor.televet.json && api-extractor run --local --config api-extractor.televet-call.json && api-extractor run --local --config api-extractor.televet-booking.json && api-extractor run --local --config api-extractor.testing-web.json && api-extractor run --local --config api-extractor.testing.json && api-extractor run --local --config api-extractor.notifications.json && api-extractor run --local --config api-extractor.web-notifications.json && api-extractor run --local --config api-extractor.consent.json && api-extractor run --local --config api-extractor.web-consent.json && api-extractor run --local --config api-extractor.texting.json && api-extractor run --local --config api-extractor.web-texting.json && api-extractor run --local --config api-extractor.health-plan.json && api-extractor run --local --config api-extractor.tabs.json && api-extractor run --local --config api-extractor.web-health-plan.json && api-extractor run --local --config api-extractor.web-shop.json && api-extractor run --local --config api-extractor.shop.json",
|
|
475
606
|
"attw": "attw --pack",
|
|
476
607
|
"verify:pack": "node scripts/verify-packed-install.mjs",
|
|
477
608
|
"docs:check": "node scripts/check-docs-compile.mjs && node scripts/build-docs-html.mjs --check",
|
|
478
609
|
"docs:html": "node scripts/build-docs-html.mjs",
|
|
479
610
|
"docs:html:check": "node scripts/build-docs-html.mjs --check",
|
|
611
|
+
"docs:site": "node scripts/build-docs-site.mjs",
|
|
480
612
|
"prepublishOnly": "npm run clean && npm run build",
|
|
481
613
|
"prepare": "npm run build"
|
|
482
614
|
},
|
|
@@ -530,6 +662,7 @@
|
|
|
530
662
|
"eslint": "^9.9.0",
|
|
531
663
|
"eslint-plugin-boundaries": "^5.0.0",
|
|
532
664
|
"fast-check": "^3.20.0",
|
|
665
|
+
"highlight.js": "^10.7.3",
|
|
533
666
|
"jsdom": "^25.0.1",
|
|
534
667
|
"marked": "^9.1.6",
|
|
535
668
|
"react": "18.2.0",
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{
|
|
2
|
+
"//": "GENERATED by scripts/subpath-shims.mjs from the package.json \"exports\" map. Do not edit by hand; run `npm run build`.",
|
|
3
|
+
"react-native": "../dist/shop/index.js",
|
|
4
|
+
"module": "../dist/shop/index.js",
|
|
5
|
+
"main": "../dist/shop/index.cjs",
|
|
6
|
+
"types": "../dist/shop/index.d.ts",
|
|
7
|
+
"sideEffects": false
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{
|
|
2
|
+
"//": "GENERATED by scripts/subpath-shims.mjs from the package.json \"exports\" map. Do not edit by hand; run `npm run build`.",
|
|
3
|
+
"react-native": "../dist/tabs/index.js",
|
|
4
|
+
"module": "../dist/tabs/index.js",
|
|
5
|
+
"main": "../dist/tabs/index.cjs",
|
|
6
|
+
"types": "../dist/tabs/index.d.ts",
|
|
7
|
+
"sideEffects": false
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{
|
|
2
|
+
"//": "GENERATED by scripts/subpath-shims.mjs from the package.json \"exports\" map. Do not edit by hand; run `npm run build`.",
|
|
3
|
+
"react-native": "../dist/texting/index.js",
|
|
4
|
+
"module": "../dist/texting/index.js",
|
|
5
|
+
"main": "../dist/texting/index.cjs",
|
|
6
|
+
"types": "../dist/texting/index.d.ts",
|
|
7
|
+
"sideEffects": false
|
|
8
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// GENERATED by scripts/subpath-shims.mjs from the package.json "exports" map. Do not edit by hand; run `npm run build`.
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
/*
|
|
5
|
+
* "@everfur/sdk/web" is the WEB host layer: it renders with react-dom. It must never enter a React Native
|
|
6
|
+
* bundle, where there is no DOM to render into. Import "@everfur/sdk" (React Native) or "@everfur/sdk/chat"
|
|
7
|
+
* in a native app; import "@everfur/sdk/web" only from a web build.
|
|
8
|
+
*/
|
|
9
|
+
throw new Error(
|
|
10
|
+
'@everfur/sdk/web is the web (react-dom) entry point and cannot be bundled into a React Native app. ' +
|
|
11
|
+
'Import @everfur/sdk in a React Native app instead.',
|
|
12
|
+
);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{
|
|
2
|
+
"//": "GENERATED by scripts/subpath-shims.mjs from the package.json \"exports\" map. Do not edit by hand; run `npm run build`.",
|
|
3
|
+
"react-native": "./native-blocked.cjs",
|
|
4
|
+
"module": "../../dist/web/health-plan/index.js",
|
|
5
|
+
"main": "../../dist/web/health-plan/index.cjs",
|
|
6
|
+
"types": "../../dist/web/health-plan/index.d.ts",
|
|
7
|
+
"sideEffects": false
|
|
8
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// GENERATED by scripts/subpath-shims.mjs from the package.json "exports" map. Do not edit by hand; run `npm run build`.
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
/*
|
|
5
|
+
* "@everfur/sdk/web" is the WEB host layer: it renders with react-dom. It must never enter a React Native
|
|
6
|
+
* bundle, where there is no DOM to render into. Import "@everfur/sdk" (React Native) or "@everfur/sdk/chat"
|
|
7
|
+
* in a native app; import "@everfur/sdk/web" only from a web build.
|
|
8
|
+
*/
|
|
9
|
+
throw new Error(
|
|
10
|
+
'@everfur/sdk/web is the web (react-dom) entry point and cannot be bundled into a React Native app. ' +
|
|
11
|
+
'Import @everfur/sdk in a React Native app instead.',
|
|
12
|
+
);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{
|
|
2
|
+
"//": "GENERATED by scripts/subpath-shims.mjs from the package.json \"exports\" map. Do not edit by hand; run `npm run build`.",
|
|
3
|
+
"react-native": "./native-blocked.cjs",
|
|
4
|
+
"module": "../../dist/web/intro/index.js",
|
|
5
|
+
"main": "../../dist/web/intro/index.cjs",
|
|
6
|
+
"types": "../../dist/web/intro/index.d.ts",
|
|
7
|
+
"sideEffects": false
|
|
8
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// GENERATED by scripts/subpath-shims.mjs from the package.json "exports" map. Do not edit by hand; run `npm run build`.
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
/*
|
|
5
|
+
* "@everfur/sdk/web" is the WEB host layer: it renders with react-dom. It must never enter a React Native
|
|
6
|
+
* bundle, where there is no DOM to render into. Import "@everfur/sdk" (React Native) or "@everfur/sdk/chat"
|
|
7
|
+
* in a native app; import "@everfur/sdk/web" only from a web build.
|
|
8
|
+
*/
|
|
9
|
+
throw new Error(
|
|
10
|
+
'@everfur/sdk/web is the web (react-dom) entry point and cannot be bundled into a React Native app. ' +
|
|
11
|
+
'Import @everfur/sdk in a React Native app instead.',
|
|
12
|
+
);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{
|
|
2
|
+
"//": "GENERATED by scripts/subpath-shims.mjs from the package.json \"exports\" map. Do not edit by hand; run `npm run build`.",
|
|
3
|
+
"react-native": "./native-blocked.cjs",
|
|
4
|
+
"module": "../../dist/web/records-sheet/index.js",
|
|
5
|
+
"main": "../../dist/web/records-sheet/index.cjs",
|
|
6
|
+
"types": "../../dist/web/records-sheet/index.d.ts",
|
|
7
|
+
"sideEffects": false
|
|
8
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// GENERATED by scripts/subpath-shims.mjs from the package.json "exports" map. Do not edit by hand; run `npm run build`.
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
/*
|
|
5
|
+
* "@everfur/sdk/web" is the WEB host layer: it renders with react-dom. It must never enter a React Native
|
|
6
|
+
* bundle, where there is no DOM to render into. Import "@everfur/sdk" (React Native) or "@everfur/sdk/chat"
|
|
7
|
+
* in a native app; import "@everfur/sdk/web" only from a web build.
|
|
8
|
+
*/
|
|
9
|
+
throw new Error(
|
|
10
|
+
'@everfur/sdk/web is the web (react-dom) entry point and cannot be bundled into a React Native app. ' +
|
|
11
|
+
'Import @everfur/sdk in a React Native app instead.',
|
|
12
|
+
);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{
|
|
2
|
+
"//": "GENERATED by scripts/subpath-shims.mjs from the package.json \"exports\" map. Do not edit by hand; run `npm run build`.",
|
|
3
|
+
"react-native": "./native-blocked.cjs",
|
|
4
|
+
"module": "../../dist/web/shop/index.js",
|
|
5
|
+
"main": "../../dist/web/shop/index.cjs",
|
|
6
|
+
"types": "../../dist/web/shop/index.d.ts",
|
|
7
|
+
"sideEffects": false
|
|
8
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// GENERATED by scripts/subpath-shims.mjs from the package.json "exports" map. Do not edit by hand; run `npm run build`.
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
/*
|
|
5
|
+
* "@everfur/sdk/web" is the WEB host layer: it renders with react-dom. It must never enter a React Native
|
|
6
|
+
* bundle, where there is no DOM to render into. Import "@everfur/sdk" (React Native) or "@everfur/sdk/chat"
|
|
7
|
+
* in a native app; import "@everfur/sdk/web" only from a web build.
|
|
8
|
+
*/
|
|
9
|
+
throw new Error(
|
|
10
|
+
'@everfur/sdk/web is the web (react-dom) entry point and cannot be bundled into a React Native app. ' +
|
|
11
|
+
'Import @everfur/sdk in a React Native app instead.',
|
|
12
|
+
);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{
|
|
2
|
+
"//": "GENERATED by scripts/subpath-shims.mjs from the package.json \"exports\" map. Do not edit by hand; run `npm run build`.",
|
|
3
|
+
"react-native": "./native-blocked.cjs",
|
|
4
|
+
"module": "../../dist/web/texting/index.js",
|
|
5
|
+
"main": "../../dist/web/texting/index.cjs",
|
|
6
|
+
"types": "../../dist/web/texting/index.d.ts",
|
|
7
|
+
"sideEffects": false
|
|
8
|
+
}
|
|
@@ -1,257 +0,0 @@
|
|
|
1
|
-
import { R as RecordsRequestId, P as PetRef } from './ids-B2GAAifq.cjs';
|
|
2
|
-
import { ag as RecordsClinicSearchInput, ah as RecordsClinicSearchPage, ai as RecordsRecentClinicsInput, aj as RecordsAuthorizationCopy, ak as CreateClinicRequestInput, al as RecordsSignatureUploadPolicy, m as RecordsClinic, W as RecordsClinicBatch, X as RecordsClinicBatchClient, n as RecordsDepthClient } from './depth-DNxDieoO.cjs';
|
|
3
|
-
import { E as EverfurResult } from './EverfurResult-COlXj1wq.cjs';
|
|
4
|
-
import { f as RecordsRequestGroupView, d as RecordsRequestView } from './models-A4A5S7AG.cjs';
|
|
5
|
-
import { E as EverfurError } from './EverfurError-DeBqRpQV.cjs';
|
|
6
|
-
|
|
7
|
-
interface RecordsClinicController {
|
|
8
|
-
searchClinics(input?: RecordsClinicSearchInput): Promise<EverfurResult<RecordsClinicSearchPage>>;
|
|
9
|
-
/** The clinics this member requested from before, most recent first: the picker's "recent" section. */
|
|
10
|
-
recentClinics(input?: RecordsRecentClinicsInput): Promise<EverfurResult<RecordsClinicSearchPage>>;
|
|
11
|
-
/** A multi-clinic batch's rollup and members. Not found until Everfur switches the multi-clinic flag on. */
|
|
12
|
-
getRequestGroup(requestGroupId: string): Promise<EverfurResult<RecordsRequestGroupView>>;
|
|
13
|
-
getAuthorizationCopy(): Promise<EverfurResult<RecordsAuthorizationCopy>>;
|
|
14
|
-
createClinicRequest(input: CreateClinicRequestInput): Promise<EverfurResult<RecordsRequestView>>;
|
|
15
|
-
retryRequest(id: RecordsRequestId): Promise<EverfurResult<RecordsRequestView>>;
|
|
16
|
-
revokeRequest(id: RecordsRequestId): Promise<EverfurResult<RecordsRequestView>>;
|
|
17
|
-
updateClinicEmail(id: RecordsRequestId, clinicEmail: string): Promise<EverfurResult<RecordsRequestView>>;
|
|
18
|
-
convertToUpload(id: RecordsRequestId): Promise<EverfurResult<RecordsRequestView>>;
|
|
19
|
-
/** Bytes are uploaded by the host directly to the returned multipart policy; never through the API. */
|
|
20
|
-
initiateSignatureUpload(fileSize: number): Promise<EverfurResult<RecordsSignatureUploadPolicy>>;
|
|
21
|
-
completeSignatureUpload(uploadId: string): Promise<EverfurResult<string>>;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
/** The exact owner-visible scope at the moment the owner chooses to sign. */
|
|
25
|
-
interface RecordsSignatureContext {
|
|
26
|
-
readonly petRef: PetRef;
|
|
27
|
-
readonly petName: string;
|
|
28
|
-
readonly ownerName: string;
|
|
29
|
-
readonly clinicName: string;
|
|
30
|
-
readonly authorizationVersion: string;
|
|
31
|
-
readonly scopeText: string;
|
|
32
|
-
/** Cancel native capture/upload when the signed-in user or active pet changes. */
|
|
33
|
-
readonly signal: AbortSignal;
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* A captured signature: a registered signature id (the PNG uploaded through the initiate/complete APIs, the
|
|
37
|
-
* consumer's own path, which keeps the bytes off the JSON body), or an inline PNG: the built-in React Native
|
|
38
|
-
* pad's one-bit image (a few hundred bytes), or any built-in pad's PNG when the direct S3 POST was refused
|
|
39
|
-
* (`signatureUploadFallback.ts`). The widget create path accepts it inline up to 2 MiB of base64.
|
|
40
|
-
*/
|
|
41
|
-
type CapturedRecordsSignature = {
|
|
42
|
-
readonly signatureId: string;
|
|
43
|
-
readonly signaturePngBase64?: never;
|
|
44
|
-
} | {
|
|
45
|
-
readonly signatureId?: never;
|
|
46
|
-
readonly signaturePngBase64: string;
|
|
47
|
-
};
|
|
48
|
-
/**
|
|
49
|
-
* Capture explicitly at the moment the owner presses Send, after seeing the scope, and return the signature.
|
|
50
|
-
* null means the owner cancelled. Prefer the registered id for anything but a tiny PNG.
|
|
51
|
-
*/
|
|
52
|
-
type CaptureRecordsSignature = (context: RecordsSignatureContext) => Promise<CapturedRecordsSignature | null>;
|
|
53
|
-
interface ClinicRequestBaseProps {
|
|
54
|
-
readonly petRef: PetRef;
|
|
55
|
-
/** Display name for this exact registered petRef; the server owns the final PDF identity. */
|
|
56
|
-
readonly petName: string;
|
|
57
|
-
/** Initial value only; the owner can visibly confirm or correct it before signing. */
|
|
58
|
-
readonly ownerName: string;
|
|
59
|
-
readonly onCaptureSignature?: CaptureRecordsSignature;
|
|
60
|
-
readonly onCreated?: (request: RecordsRequestView) => void;
|
|
61
|
-
readonly onClose?: () => void;
|
|
62
|
-
/** Host/test seam over the same signed-user controller contract. */
|
|
63
|
-
readonly controller?: RecordsClinicController;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
/** One composed clinic of the batch (the consumer `ClinicRequestDraft`). */
|
|
67
|
-
interface ClinicDraft {
|
|
68
|
-
/** Stable local key for list rows and removal. */
|
|
69
|
-
readonly key: string;
|
|
70
|
-
/** The directory clinic, or null for an owner-typed clinic name. */
|
|
71
|
-
readonly clinic: RecordsClinic | null;
|
|
72
|
-
/** The owner-typed clinic name when `clinic` is null. */
|
|
73
|
-
readonly freeText: string | null;
|
|
74
|
-
/** The owner-supplied address, when the clinic needs one. */
|
|
75
|
-
readonly email: string;
|
|
76
|
-
/** Minted when the draft is added; a whole-batch retry replays it. */
|
|
77
|
-
readonly idempotencyKey: string;
|
|
78
|
-
}
|
|
79
|
-
interface ClinicBatchBaseProps {
|
|
80
|
-
readonly petRef: PetRef;
|
|
81
|
-
/** Display name for this exact registered petRef; the server owns the final PDF identity. */
|
|
82
|
-
readonly petName: string;
|
|
83
|
-
/** Initial value only; the owner can visibly confirm or correct it before signing. */
|
|
84
|
-
readonly ownerName: string;
|
|
85
|
-
readonly onCaptureSignature?: CaptureRecordsSignature;
|
|
86
|
-
/** Called once with the batch outcome (created and failed clinics alike). */
|
|
87
|
-
readonly onCreated?: (batch: RecordsClinicBatch) => void;
|
|
88
|
-
readonly onClose?: () => void;
|
|
89
|
-
/** Host/test seams over the same signed-user contracts. */
|
|
90
|
-
readonly controller?: RecordsClinicController;
|
|
91
|
-
readonly batchClient?: RecordsClinicBatchClient;
|
|
92
|
-
}
|
|
93
|
-
/**
|
|
94
|
-
* Turn the pad's inline PNG into a registered signature id, so the batch carries one small id per clinic rather
|
|
95
|
-
* than one PNG per clinic (the platform caps the inline bytes of a batch at one signature's worth, and the WAF
|
|
96
|
-
* caps the JSON body). The host supplies the byte transport; the RN and web hosts each have one.
|
|
97
|
-
*/
|
|
98
|
-
type RegisterSignaturePng = (signaturePngBase64: string, signal: AbortSignal) => Promise<{
|
|
99
|
-
readonly signatureId: string;
|
|
100
|
-
}>;
|
|
101
|
-
|
|
102
|
-
type RecordsScreen = {
|
|
103
|
-
readonly name: 'dashboard';
|
|
104
|
-
} | {
|
|
105
|
-
readonly name: 'request';
|
|
106
|
-
readonly requestId: RecordsRequestId;
|
|
107
|
-
} | {
|
|
108
|
-
readonly name: 'timeline';
|
|
109
|
-
} | {
|
|
110
|
-
readonly name: 'record';
|
|
111
|
-
} | {
|
|
112
|
-
readonly name: 'document';
|
|
113
|
-
} | {
|
|
114
|
-
readonly name: 'contributions';
|
|
115
|
-
readonly docId: string;
|
|
116
|
-
} | {
|
|
117
|
-
readonly name: 'clinicPicker';
|
|
118
|
-
}
|
|
119
|
-
/**
|
|
120
|
-
* The multi-clinic composer (`EverfurClinicRequestBatch`). The consumer opens it as a SHEET from the full
|
|
121
|
-
* record screen's header (RequestFromClinicsAction.tsx); the SDK flow has no sheet layer of its own, so it is
|
|
122
|
-
* a screen of the same stack, pushed from the same control and popped by the same back.
|
|
123
|
-
*/
|
|
124
|
-
| {
|
|
125
|
-
readonly name: 'clinicBatch';
|
|
126
|
-
} | {
|
|
127
|
-
readonly name: 'consent';
|
|
128
|
-
readonly clinic: ClinicDraft;
|
|
129
|
-
} | {
|
|
130
|
-
readonly name: 'upload';
|
|
131
|
-
}
|
|
132
|
-
/**
|
|
133
|
-
* Every upload and clinic request for the pet, each with its own status: the consumer's
|
|
134
|
-
* `RecordsRequestListScreen` (everfur-mobile src/features/records/ui/RecordsRequestListScreen.tsx, the
|
|
135
|
-
* `/records/requests` route the dashboard's `RecordsRequestsStatusCard` opens). On the web it is the
|
|
136
|
-
* records page's own request list.
|
|
137
|
-
*/
|
|
138
|
-
| {
|
|
139
|
-
readonly name: 'requests';
|
|
140
|
-
};
|
|
141
|
-
interface RecordsNavState {
|
|
142
|
-
readonly stack: readonly RecordsScreen[];
|
|
143
|
-
}
|
|
144
|
-
type RecordsNavAction = {
|
|
145
|
-
readonly type: 'push';
|
|
146
|
-
readonly screen: RecordsScreen;
|
|
147
|
-
} | {
|
|
148
|
-
readonly type: 'pop';
|
|
149
|
-
} | {
|
|
150
|
-
readonly type: 'replace';
|
|
151
|
-
readonly screen: RecordsScreen;
|
|
152
|
-
} | {
|
|
153
|
-
readonly type: 'reset';
|
|
154
|
-
readonly screen: RecordsScreen;
|
|
155
|
-
}
|
|
156
|
-
/** The screen-declared edge: applies the consumer's push / replace / reset rule for the (from, to) pair. */
|
|
157
|
-
| {
|
|
158
|
-
readonly type: 'navigate';
|
|
159
|
-
readonly screen: RecordsScreen;
|
|
160
|
-
};
|
|
161
|
-
/** A one-screen stack at `initial` (the dashboard when omitted). */
|
|
162
|
-
declare function initialRecordsNav(initial?: RecordsScreen): RecordsNavState;
|
|
163
|
-
/** The screen on top of the stack (a stack is never empty). */
|
|
164
|
-
declare function currentRecordsScreen(state: RecordsNavState): RecordsScreen;
|
|
165
|
-
declare function pushRecordsNav(state: RecordsNavState, screen: RecordsScreen): RecordsNavState;
|
|
166
|
-
declare function replaceRecordsNav(state: RecordsNavState, screen: RecordsScreen): RecordsNavState;
|
|
167
|
-
declare function resetRecordsNav(screen: RecordsScreen): RecordsNavState;
|
|
168
|
-
/**
|
|
169
|
-
* Pop the top screen. On a one-screen stack the state is returned UNCHANGED with `handled:false`, so the RN
|
|
170
|
-
* flow's back handler can return `false` and let the host navigator handle the press.
|
|
171
|
-
*/
|
|
172
|
-
declare function popRecordsNav(state: RecordsNavState): {
|
|
173
|
-
readonly state: RecordsNavState;
|
|
174
|
-
readonly handled: boolean;
|
|
175
|
-
};
|
|
176
|
-
/**
|
|
177
|
-
* The consumer's own transition rule for a screen-declared edge:
|
|
178
|
-
* - `dashboard` is the root: reaching it resets the stack (consent success `router.replace`s the dashboard,
|
|
179
|
-
* a published request pushes it; both end on one dashboard with nothing to pop back into);
|
|
180
|
-
* - `upload -> request` replaces (the upload screen's "Done" is a `router.replace`);
|
|
181
|
-
* - everything else pushes.
|
|
182
|
-
*/
|
|
183
|
-
declare function transitionRecordsNav(state: RecordsNavState, to: RecordsScreen): RecordsNavState;
|
|
184
|
-
declare function recordsNavReducer(state: RecordsNavState, action: RecordsNavAction): RecordsNavState;
|
|
185
|
-
|
|
186
|
-
/** The entity a pill refers to: a BE-recognized `type` and `id`, plus compact display facts the host may pass on. */
|
|
187
|
-
interface RecordsAskEntityRef {
|
|
188
|
-
readonly type: string;
|
|
189
|
-
readonly id: string;
|
|
190
|
-
readonly payload?: Readonly<Record<string, string | number | boolean>>;
|
|
191
|
-
}
|
|
192
|
-
interface RecordsAsk {
|
|
193
|
-
readonly prompt: string;
|
|
194
|
-
readonly entityRef: RecordsAskEntityRef;
|
|
195
|
-
}
|
|
196
|
-
/** The host seam every Ask pill calls; pills render only when a host supplies it. */
|
|
197
|
-
type RecordsAskHandler = (prompt: string, entityRef: RecordsAskEntityRef) => void;
|
|
198
|
-
|
|
199
|
-
type ClinicLocation = NonNullable<RecordsClinicSearchInput['location']>;
|
|
200
|
-
|
|
201
|
-
/**
|
|
202
|
-
* What a URL handed to `onOpenUrl` is: a revocable share link, the full record PDF (a short-lived presigned
|
|
203
|
-
* GET), or one file the member uploaded onto a request (`request_document`, web only; also short-lived).
|
|
204
|
-
*/
|
|
205
|
-
type RecordsUrlKind = 'share_link' | 'record_pdf' | 'request_document';
|
|
206
|
-
interface RecordsHostSeams {
|
|
207
|
-
/**
|
|
208
|
-
* Share a link, or save or preview a file, your app's way. Default, which never leaves your app: React
|
|
209
|
-
* Native shares the link through the OS share sheet (`Share.share`) and offers the PDF's short-lived link
|
|
210
|
-
* the same way (pass this seam to share the FILE, e.g. expo-file-system + expo-sharing); the web shares
|
|
211
|
-
* the link with `navigator.share`, else copies it, and saves a file in place with no new tab.
|
|
212
|
-
*/
|
|
213
|
-
readonly onOpenUrl?: (url: string, kind: RecordsUrlKind) => void | Promise<void>;
|
|
214
|
-
/** Copy a share link. Web default: `navigator.clipboard.writeText`; React Native has no default (see above). */
|
|
215
|
-
readonly onCopy?: (text: string) => Promise<void>;
|
|
216
|
-
/** The Ask pills' seed prompt and entity, for a host chat. Absent: no Ask pill renders. */
|
|
217
|
-
readonly onAsk?: RecordsAskHandler;
|
|
218
|
-
/** Biases the clinic search (the same input the clinic controller takes). */
|
|
219
|
-
readonly location?: ClinicLocation;
|
|
220
|
-
}
|
|
221
|
-
interface RecordsScreenBaseProps extends RecordsHostSeams {
|
|
222
|
-
readonly petRef: PetRef;
|
|
223
|
-
/** The pet's display name for headers and lead copy; absent, the consumer's own `your pet` forms. */
|
|
224
|
-
readonly petName?: string;
|
|
225
|
-
/** Called with the exact screen an edge leads to (see `navigation.ts`). Absent, a control that only navigates is hidden, never inert. */
|
|
226
|
-
readonly onNavigate?: (to: RecordsScreen) => void;
|
|
227
|
-
/** The header's back control; absent, no back control renders. */
|
|
228
|
-
readonly onBack?: () => void;
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
type RecordsDepthStatus = 'loading' | 'empty' | 'error' | 'populated';
|
|
232
|
-
/** One depth read as a render state. `withheld` (no consent, or a fail-closed parse) renders nothing. */
|
|
233
|
-
interface UseRecordsDepthState<T> {
|
|
234
|
-
readonly status: RecordsDepthStatus;
|
|
235
|
-
readonly value: T | null;
|
|
236
|
-
readonly error: EverfurError | null;
|
|
237
|
-
/**
|
|
238
|
-
* False once a read got the router's dark 404, which is how a tenant without `partner.records_full_depth_enabled`
|
|
239
|
-
* answers EVERY depth route. The state is then `empty` with no error, so the surface draws its own nothing
|
|
240
|
-
* instead of the generic failure leaf and its unusable `Try again`. True otherwise, including for a failure
|
|
241
|
-
* that never reached the server, which proves nothing about the tenant.
|
|
242
|
-
*/
|
|
243
|
-
readonly available: boolean;
|
|
244
|
-
readonly refresh: () => void;
|
|
245
|
-
}
|
|
246
|
-
/** The signed member's depth client over the provider's auth; a surface with no user settles to accessDenied. */
|
|
247
|
-
declare function useEverfurRecordsDepthClient(): RecordsDepthClient;
|
|
248
|
-
/**
|
|
249
|
-
* Run one depth read for the scoped pet on mount, and again on `refresh`. `isEmpty` decides between `empty`
|
|
250
|
-
* and `populated`; a withheld answer is `populated` with `withheld:true`, which every depth surface renders as
|
|
251
|
-
* nothing (never a partial record).
|
|
252
|
-
*/
|
|
253
|
-
declare function useRecordsDepthRead<T extends {
|
|
254
|
-
readonly withheld: boolean;
|
|
255
|
-
}>(petRef: PetRef, read: (client: RecordsDepthClient, petRef: PetRef) => Promise<EverfurResult<T>>, isEmpty: (value: T) => boolean, extraKey?: string): UseRecordsDepthState<T>;
|
|
256
|
-
|
|
257
|
-
export { transitionRecordsNav as A, type ClinicDraft as C, type RecordsAskEntityRef as R, type UseRecordsDepthState as U, type ClinicLocation as a, type RecordsAskHandler as b, type RecordsDepthStatus as c, type RecordsHostSeams as d, type RecordsScreen as e, type RecordsScreenBaseProps as f, type RecordsUrlKind as g, useRecordsDepthRead as h, type RecordsClinicController as i, type CaptureRecordsSignature as j, type ClinicRequestBaseProps as k, type ClinicBatchBaseProps as l, type CapturedRecordsSignature as m, type RecordsAsk as n, type RecordsNavAction as o, type RecordsNavState as p, type RecordsSignatureContext as q, type RegisterSignaturePng as r, currentRecordsScreen as s, initialRecordsNav as t, useEverfurRecordsDepthClient as u, popRecordsNav as v, pushRecordsNav as w, recordsNavReducer as x, replaceRecordsNav as y, resetRecordsNav as z };
|