@everfur/sdk 0.12.0 → 0.13.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 +174 -0
- package/README.md +2 -1
- package/dist/{Chat-BOG0SXKV.d.cts → Chat.d-DUNTfzqC.d.ts} +170 -8
- package/dist/{Chat-CIolBgjJ.d.ts → Chat.d-Dts8u_1a.d.cts} +170 -8
- package/dist/{DepthViews-BR6VQ3Ta.d.cts → DepthViews.d-BIp599lz.d.cts} +1 -1
- package/dist/{DepthViews-280t3BcQ.d.ts → DepthViews.d-BMU2jFPw.d.cts} +1 -1
- package/dist/{DepthViews-DlBuFsgN.d.ts → DepthViews.d-Ce2Zhnrb.d.ts} +1 -1
- package/dist/{DepthViews-BTbF_DJY.d.cts → DepthViews.d-CubkMPbU.d.ts} +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/animations/index.cjs +5 -1
- package/dist/animations/index.d.cts +24 -24
- package/dist/animations/index.d.ts +24 -24
- package/dist/animations/index.js +5 -1
- package/dist/{attachments-CGxvnYu4.d.ts → attachments.d-Bp2qbHxn.d.cts} +22 -26
- package/dist/{attachments-CWNj1ZkM.d.ts → attachments.d-D1yhJjcZ.d.ts} +4 -4
- package/dist/{attachments-waXcJWCp.d.cts → attachments.d-DisnvB9R.d.cts} +4 -4
- package/dist/{attachments-B6h4cJU-.d.cts → attachments.d-Djy9z_0Z.d.ts} +22 -26
- package/dist/{bookingCopy-CjPKeg75.d.ts → bookingCopy.d-BJF6gd1A.d.ts} +24 -9
- package/dist/{bookingCopy-8aEU6ZmR.d.cts → bookingCopy.d-BlBmhAJc.d.cts} +24 -9
- package/dist/{branding-DJf4h12Q.d.ts → branding.d-DI8S400y.d.cts} +9 -2
- package/dist/{branding-BCfwLj0h.d.cts → branding.d-OIGLbQeM.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-CGdhvzTu.d.cts → casesRepository.d-CT2LTicS.d.cts} +3 -3
- package/dist/{casesRepository-ZG9Sg0e4.d.ts → casesRepository.d-UsWOz9bv.d.ts} +3 -3
- package/dist/chat/index.cjs +132 -57
- package/dist/chat/index.d.cts +18 -16
- package/dist/chat/index.d.ts +18 -16
- package/dist/chat/index.js +133 -58
- package/dist/client/index.cjs +15 -10
- package/dist/client/index.d.cts +19 -18
- package/dist/client/index.d.ts +19 -18
- package/dist/client/index.js +15 -10
- package/dist/{config-B0p6Lygh.d.cts → config.d-BR3DT9ho.d.cts} +3 -3
- package/dist/{config-DmFAZJOx.d.ts → config.d-Dy6igYlH.d.ts} +3 -3
- package/dist/consent/index.cjs +5 -1
- package/dist/consent/index.d.cts +10 -10
- package/dist/consent/index.d.ts +10 -10
- package/dist/consent/index.js +5 -1
- package/dist/{context-BNreNLtL.d.ts → context.d-Cwks0p3C.d.cts} +15 -15
- package/dist/{context-BgS2a57J.d.cts → context.d-QcCgguzA.d.ts} +15 -15
- package/dist/{copy-DLJriGQS.d.ts → copy.d-CiMn2IIt.d.ts} +6 -6
- package/dist/{copy-lWp-Lkv5.d.cts → copy.d-DLJTyRfT.d.cts} +6 -6
- package/dist/core/index.cjs +17 -13
- package/dist/core/index.d.cts +33 -29
- package/dist/core/index.d.ts +33 -29
- package/dist/core/index.js +17 -13
- package/dist/{depth-BYb3RXoA.d.cts → depth.d-CjPGVPDL.d.cts} +9 -115
- package/dist/{depth-COz-sSG5.d.ts → depth.d-OSALbYM7.d.ts} +9 -115
- package/dist/{entitlementRepository-D-Lse67w.d.cts → entitlementRepository.d-CVQa1DA1.d.cts} +10 -5
- package/dist/{entitlementRepository-CrTOP_-o.d.ts → entitlementRepository.d-Cf3LbTwD.d.ts} +10 -5
- package/dist/features.d-fNsGcg0R.d.cts +108 -0
- package/dist/features.d-fNsGcg0R.d.ts +108 -0
- package/dist/focus.d-DMg2ngHI.d.ts +1178 -0
- package/dist/focus.d-az9cqUz3.d.cts +1178 -0
- package/dist/health-plan/index.cjs +370 -0
- package/dist/health-plan/index.d.cts +251 -0
- package/dist/health-plan/index.d.ts +251 -0
- package/dist/health-plan/index.js +370 -0
- package/dist/idempotency.d-D461_DPD.d.cts +910 -0
- package/dist/idempotency.d-WpXx9zQo.d.ts +910 -0
- package/dist/{identity-Cw07BKZp.d.ts → identity.d-60LeJt_s.d.cts} +3 -3
- package/dist/{identity-DFVGYn1o.d.cts → identity.d-DzTijonw.d.ts} +3 -3
- package/dist/index.cjs +141 -66
- package/dist/index.d.cts +31 -29
- package/dist/index.d.ts +31 -29
- package/dist/index.js +142 -67
- package/dist/{models-A4A5S7AG.d.cts → models.d-BagXhafD.d.ts} +8 -3
- package/dist/{models-CnXY5LuO.d.ts → models.d-BnLm3VAA.d.cts} +8 -3
- package/dist/notifications/index.cjs +5 -1
- package/dist/notifications/index.d.cts +9 -9
- package/dist/notifications/index.d.ts +9 -9
- package/dist/notifications/index.js +5 -1
- package/dist/optInView.d-CEyHR6PK.d.cts +325 -0
- package/dist/optInView.d-acKpV8V2.d.ts +325 -0
- package/dist/parse.d-C8CXyS58.d.ts +210 -0
- package/dist/parse.d-tEzufgJX.d.cts +210 -0
- package/dist/{pets-BYALZTSu.d.ts → pets.d-C_53_fzo.d.ts} +3 -3
- package/dist/{pets-CcyPQS-H.d.cts → pets.d-NbJvP_kh.d.cts} +3 -3
- package/dist/{petsRepository-B_Q1gFkE.d.cts → petsRepository.d-BuGHymNx.d.ts} +4 -4
- package/dist/{petsRepository-518QkPxH.d.ts → petsRepository.d-lp1BHRqM.d.cts} +4 -4
- package/dist/photo/index.cjs +6 -2
- package/dist/photo/index.d.cts +9 -9
- package/dist/photo/index.d.ts +9 -9
- package/dist/photo/index.js +6 -2
- package/dist/{ports-BN6RHF9W.d.ts → ports.d-BX4f4UsB.d.cts} +14 -1
- package/dist/{ports-BN6RHF9W.d.cts → ports.d-BX4f4UsB.d.ts} +14 -1
- package/dist/{ports-RuNJmBA-.d.cts → ports.d-CEROoqnA.d.cts} +16 -10
- package/dist/{ports-DmQeMArX.d.ts → ports.d-COIyN624.d.ts} +16 -10
- package/dist/presentation.d-DMbdad7G.d.cts +90 -0
- package/dist/presentation.d-DMbdad7G.d.ts +90 -0
- package/dist/records/depth/index.cjs +11 -7
- package/dist/records/depth/index.d.cts +14 -12
- package/dist/records/depth/index.d.ts +14 -12
- package/dist/records/depth/index.js +11 -7
- package/dist/records/index.cjs +225 -62
- package/dist/records/index.d.cts +159 -20
- package/dist/records/index.d.ts +159 -20
- package/dist/records/index.js +225 -62
- package/dist/recordsAsk.d-C5CGSi3j.d.cts +14 -0
- package/dist/recordsAsk.d-C5CGSi3j.d.ts +14 -0
- package/dist/{requestFunnel-B9fdXMi5.d.ts → requestFunnel.d-CXUMPw1K.d.ts} +5 -5
- package/dist/{requestFunnel-BBjNNwc9.d.cts → requestFunnel.d-DWQQpjFR.d.cts} +5 -5
- package/dist/{resolve-D4Ywz5OS.d.ts → resolve.d-jI8FmBj3.d.cts} +3 -3
- package/dist/{resolve-D4Ywz5OS.d.cts → resolve.d-jI8FmBj3.d.ts} +3 -3
- package/dist/{runtimeTypes-CstDBX8w.d.cts → runtimeTypes.d-4yFNNuYR.d.ts} +20 -13
- package/dist/{runtimeTypes-N_K4BVZB.d.ts → runtimeTypes.d-D6N_fhxx.d.cts} +20 -13
- package/dist/server/events/index.cjs +7 -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 +7 -3
- package/dist/server/index.cjs +12 -6
- package/dist/server/index.d.cts +152 -8
- package/dist/server/index.d.ts +152 -8
- package/dist/server/index.js +12 -6
- package/dist/sheetCopy.d-CAhLOxjc.d.cts +4 -0
- package/dist/sheetCopy.d-CAhLOxjc.d.ts +4 -0
- package/dist/sheetSeam.d-Cviqk89n.d.ts +45 -0
- package/dist/sheetSeam.d-DCS3LW8g.d.cts +45 -0
- package/dist/shop/index.cjs +262 -0
- package/dist/shop/index.d.cts +193 -0
- package/dist/shop/index.d.ts +193 -0
- package/dist/shop/index.js +262 -0
- package/dist/televet/booking/index.cjs +16 -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 +16 -12
- package/dist/televet/call/index.d.cts +5 -5
- package/dist/televet/call/index.d.ts +5 -5
- package/dist/televet/index.cjs +7 -3
- package/dist/televet/index.d.cts +12 -12
- package/dist/televet/index.d.ts +12 -12
- package/dist/televet/index.js +7 -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 +7 -3
- package/dist/testing/index.d.cts +3 -3
- package/dist/testing/index.d.ts +3 -3
- package/dist/testing/index.js +7 -3
- package/dist/testing/rn/index.cjs +5 -1
- 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 -1
- package/dist/testing/web/index.cjs +5 -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 +5 -1
- package/dist/texting/index.cjs +158 -0
- package/dist/texting/index.d.cts +36 -0
- package/dist/texting/index.d.ts +36 -0
- package/dist/texting/index.js +158 -0
- package/dist/threadOptions.d-B1pTMmDF.d.cts +260 -0
- package/dist/threadOptions.d-B1pTMmDF.d.ts +260 -0
- package/dist/{timelineRows-7yjHyh8i.d.ts → timelineRows.d-BNxgzYRW.d.cts} +1 -1
- package/dist/{timelineRows-WvnL-Lds.d.cts → timelineRows.d-CU5GvvLk.d.ts} +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-BxVyF71R.d.ts → typeStyle.d-Bl8pzbBy.d.cts} +2 -2
- package/dist/{typeStyle-DJedEu14.d.cts → typeStyle.d-C1HBRAI3.d.ts} +2 -2
- package/dist/{uploadTransport-BM_pnEWj.d.cts → uploadTransport.d-CWL7CdWP.d.cts} +1 -1
- package/dist/{uploadTransport-C6kGP1Kd.d.ts → uploadTransport.d-EGoUl7gX.d.ts} +1 -1
- package/dist/usePresentation.d-D6qsFzBz.d.cts +9 -0
- package/dist/usePresentation.d-DuGQe_Do.d.ts +9 -0
- package/dist/useRecords.d-Cb-36SF5.d.cts +121 -0
- package/dist/useRecords.d-aQTzQZoV.d.ts +121 -0
- package/dist/{useRecordsDepth-Bp6L4M5P.d.ts → useRecordsDepth.d-DFcCfiXm.d.ts} +8 -20
- package/dist/{useRecordsDepth-DPdAK_81.d.cts → useRecordsDepth.d-sAq2Qkhr.d.cts} +8 -20
- 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 +6 -2
- package/dist/video/index.d.cts +7 -7
- package/dist/video/index.d.ts +7 -7
- package/dist/video/index.js +6 -2
- package/dist/{view-C6go2uUt.d.ts → view.d-C-SNpDJX.d.ts} +10 -122
- package/dist/{view-CiF_HVFQ.d.cts → view.d-Dps5C8-s.d.cts} +10 -122
- package/dist/web/consent/index.cjs +5 -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 +5 -1
- package/dist/web/health-plan/index.cjs +414 -0
- package/dist/web/health-plan/index.d.cts +335 -0
- package/dist/web/health-plan/index.d.ts +335 -0
- package/dist/web/health-plan/index.js +414 -0
- package/dist/web/index.cjs +150 -82
- package/dist/web/index.d.cts +152 -38
- package/dist/web/index.d.ts +152 -38
- package/dist/web/index.js +150 -82
- package/dist/web/notifications/index.cjs +16 -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 +16 -3
- package/dist/web/records/depth/index.cjs +11 -7
- package/dist/web/records/depth/index.d.cts +14 -12
- package/dist/web/records/depth/index.d.ts +14 -12
- package/dist/web/records/depth/index.js +11 -7
- package/dist/web/records/index.cjs +95 -68
- package/dist/web/records/index.d.cts +66 -21
- package/dist/web/records/index.d.ts +66 -21
- package/dist/web/records/index.js +95 -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 +278 -0
- package/dist/web/records-sheet/index.d.cts +102 -0
- package/dist/web/records-sheet/index.d.ts +102 -0
- package/dist/web/records-sheet/index.js +278 -0
- package/dist/web/shop/index.cjs +301 -0
- package/dist/web/shop/index.d.cts +42 -0
- package/dist/web/shop/index.d.ts +42 -0
- package/dist/web/shop/index.js +301 -0
- package/dist/web/televet/booking/index.cjs +16 -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 +16 -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 +7 -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 +7 -3
- package/dist/web/texting/index.cjs +157 -0
- package/dist/web/texting/index.d.cts +36 -0
- package/dist/web/texting/index.d.ts +36 -0
- package/dist/web/texting/index.js +157 -0
- package/health-plan/package.json +8 -0
- package/package.json +106 -4
- package/shop/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/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/{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
|
@@ -32,6 +32,19 @@ interface UploadPolicyWire {
|
|
|
32
32
|
readonly expires_in_seconds: number;
|
|
33
33
|
readonly max_content_length: number;
|
|
34
34
|
}
|
|
35
|
+
interface RecordsRecordWire {
|
|
36
|
+
readonly withheld?: boolean;
|
|
37
|
+
readonly pet_ref?: string;
|
|
38
|
+
readonly schema_version?: string;
|
|
39
|
+
readonly is_empty?: boolean;
|
|
40
|
+
readonly generated_at?: string | null;
|
|
41
|
+
readonly disclaimer?: string;
|
|
42
|
+
readonly identity?: unknown;
|
|
43
|
+
readonly entities?: unknown;
|
|
44
|
+
readonly entity_series?: unknown;
|
|
45
|
+
readonly forward_looking?: unknown;
|
|
46
|
+
readonly documents?: unknown;
|
|
47
|
+
}
|
|
35
48
|
/**
|
|
36
49
|
* Platform-specific: the rn adapter binds `expo-file-system` (uploadAsync) behind `optionalModule`; the
|
|
37
50
|
* controller stays platform-neutral and never sees a native module. Resolves on S3's 204; rejects on a
|
|
@@ -45,4 +58,4 @@ interface UploadTransport {
|
|
|
45
58
|
}): Promise<void>;
|
|
46
59
|
}
|
|
47
60
|
|
|
48
|
-
export type { FileHandle as F, UploadTransport as U, UploadPolicyWire as a, FilePort as b };
|
|
61
|
+
export type { FileHandle as F, RecordsRecordWire as R, UploadTransport as U, UploadPolicyWire as a, FilePort as b };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { C as CheckinAnswer, a as CheckinOutcome } from './casesRepository-
|
|
2
|
-
import { A as AuthContext } from './identity-
|
|
3
|
-
import { E as EverfurError } from './EverfurError-
|
|
4
|
-
import { E as EverfurResult } from './EverfurResult-
|
|
5
|
-
import { R as RequestFunnel } from './requestFunnel-
|
|
6
|
-
import { P as PetRef, C as ConversationId, b as ResponseId } from './ids-B2GAAifq.cjs';
|
|
7
|
-
import { i as UrgencyLevel, F as Frame } from './config-
|
|
8
|
-
import { E as ErrorPolicyPort } from './ErrorPolicyPort-
|
|
9
|
-
import { T as TelemetryPort } from './TelemetryPort-BDNr00hu.cjs';
|
|
10
|
-
import { F as FileHandle } from './ports-
|
|
1
|
+
import { C as CheckinAnswer, a as CheckinOutcome } from './casesRepository.d-CT2LTicS.cjs';
|
|
2
|
+
import { A as AuthContext } from './identity.d-60LeJt_s.cjs';
|
|
3
|
+
import { E as EverfurError } from './EverfurError.d-8NHtlgzA.cjs';
|
|
4
|
+
import { E as EverfurResult } from './EverfurResult.d-BFH-3s6E.cjs';
|
|
5
|
+
import { R as RequestFunnel } from './requestFunnel.d-DWQQpjFR.cjs';
|
|
6
|
+
import { P as PetRef, C as ConversationId, b as ResponseId } from './ids.d-B2GAAifq.cjs';
|
|
7
|
+
import { i as UrgencyLevel, F as Frame } from './config.d-BR3DT9ho.cjs';
|
|
8
|
+
import { E as ErrorPolicyPort } from './ErrorPolicyPort.d-DirW9hgO.cjs';
|
|
9
|
+
import { T as TelemetryPort } from './TelemetryPort.d-BDNr00hu.cjs';
|
|
10
|
+
import { F as FileHandle } from './ports.d-BX4f4UsB.cjs';
|
|
11
11
|
|
|
12
12
|
/** Injectable timers so the watchdog + deadlines are testable with a fake clock (no direct setTimeout). */
|
|
13
13
|
interface Timers$1 {
|
|
@@ -27,6 +27,12 @@ interface ChatConversation {
|
|
|
27
27
|
* did not carry it, which means the server does not speak unread, never "all read".
|
|
28
28
|
*/
|
|
29
29
|
readonly unreadCount: number | null;
|
|
30
|
+
/**
|
|
31
|
+
* The last assistant message of the thread as plain text, at most 140 characters (`preview`). Absent when the
|
|
32
|
+
* thread has no reply yet or the server does not send previews; a value of the wrong type is ignored, never an
|
|
33
|
+
* error, so an older server degrades to no preview.
|
|
34
|
+
*/
|
|
35
|
+
readonly preview?: string;
|
|
30
36
|
}
|
|
31
37
|
interface ChatHistoryOptions {
|
|
32
38
|
readonly cursor?: string;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { C as CheckinAnswer, a as CheckinOutcome } from './casesRepository-
|
|
2
|
-
import { A as AuthContext } from './identity-
|
|
3
|
-
import { E as EverfurError } from './EverfurError-
|
|
4
|
-
import { E as EverfurResult } from './EverfurResult-
|
|
5
|
-
import { R as RequestFunnel } from './requestFunnel-
|
|
6
|
-
import { P as PetRef, C as ConversationId, b as ResponseId } from './ids-B2GAAifq.js';
|
|
7
|
-
import { i as UrgencyLevel, F as Frame } from './config-
|
|
8
|
-
import { E as ErrorPolicyPort } from './ErrorPolicyPort-
|
|
9
|
-
import { T as TelemetryPort } from './TelemetryPort-BDNr00hu.js';
|
|
10
|
-
import { F as FileHandle } from './ports-
|
|
1
|
+
import { C as CheckinAnswer, a as CheckinOutcome } from './casesRepository.d-UsWOz9bv.js';
|
|
2
|
+
import { A as AuthContext } from './identity.d-DzTijonw.js';
|
|
3
|
+
import { E as EverfurError } from './EverfurError.d-8NHtlgzA.js';
|
|
4
|
+
import { E as EverfurResult } from './EverfurResult.d-D_-254ZY.js';
|
|
5
|
+
import { R as RequestFunnel } from './requestFunnel.d-CXUMPw1K.js';
|
|
6
|
+
import { P as PetRef, C as ConversationId, b as ResponseId } from './ids.d-B2GAAifq.js';
|
|
7
|
+
import { i as UrgencyLevel, F as Frame } from './config.d-Dy6igYlH.js';
|
|
8
|
+
import { E as ErrorPolicyPort } from './ErrorPolicyPort.d-68yrE3BE.js';
|
|
9
|
+
import { T as TelemetryPort } from './TelemetryPort.d-BDNr00hu.js';
|
|
10
|
+
import { F as FileHandle } from './ports.d-BX4f4UsB.js';
|
|
11
11
|
|
|
12
12
|
/** Injectable timers so the watchdog + deadlines are testable with a fake clock (no direct setTimeout). */
|
|
13
13
|
interface Timers$1 {
|
|
@@ -27,6 +27,12 @@ interface ChatConversation {
|
|
|
27
27
|
* did not carry it, which means the server does not speak unread, never "all read".
|
|
28
28
|
*/
|
|
29
29
|
readonly unreadCount: number | null;
|
|
30
|
+
/**
|
|
31
|
+
* The last assistant message of the thread as plain text, at most 140 characters (`preview`). Absent when the
|
|
32
|
+
* thread has no reply yet or the server does not send previews; a value of the wrong type is ignored, never an
|
|
33
|
+
* error, so an older server degrades to no preview.
|
|
34
|
+
*/
|
|
35
|
+
readonly preview?: string;
|
|
30
36
|
}
|
|
31
37
|
interface ChatHistoryOptions {
|
|
32
38
|
readonly cursor?: string;
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/** Where the chat draws an assistant answer: in a bubble, or as Raph's open answer with cards (default). */
|
|
2
|
+
type EverfurChatAnswerStyle = 'bubbles' | 'cards';
|
|
3
|
+
/** How the chat lists past conversations: the side drawer, or a bottom sheet with previews (default). */
|
|
4
|
+
type EverfurChatHistoryStyle = 'drawer' | 'sheet';
|
|
5
|
+
/** The card above the chat's empty state: none, or the focus card ("Her focus", default; drawn only when there is a focus). */
|
|
6
|
+
type EverfurChatTopCardSetting = 'none' | 'focus';
|
|
7
|
+
/** Where the chat's safety disclaimer sits: under the composer (default) or at the foot of the answers. */
|
|
8
|
+
type EverfurSafetyDisclaimerPlacement = 'composer' | 'answer_footer';
|
|
9
|
+
/** The Health Plan tab layout: the standard list, or the focus plan (Raph v3, default). */
|
|
10
|
+
type EverfurHealthPlanLayout = 'standard' | 'focus_plan';
|
|
11
|
+
/** The chat composer: the standard bar, or Raph's compact 50px bar with an up-arrow send (default). */
|
|
12
|
+
type EverfurChatComposerStyle = 'standard' | 'compact';
|
|
13
|
+
/** The composer placeholder: the generic text, or one that names the active pet (default; generic with no name). */
|
|
14
|
+
type EverfurChatComposerPlaceholder = 'generic' | 'pet_name';
|
|
15
|
+
/** The past-chats bar: pinned above the thread, or scrolling with it (default). */
|
|
16
|
+
type EverfurChatHistoryBarSetting = 'pinned' | 'scroll';
|
|
17
|
+
/** The chat's send button while the box is empty: drawn dark (default) or dimmed until there is text (the older look). */
|
|
18
|
+
type EverfurChatSendButtonSetting = 'always_dark' | 'dim_when_empty';
|
|
19
|
+
/** The resolved presentation settings (every field set). camelCase of the wire names. */
|
|
20
|
+
interface EverfurPresentation {
|
|
21
|
+
readonly chatAnswerStyle: EverfurChatAnswerStyle;
|
|
22
|
+
readonly chatHistoryStyle: EverfurChatHistoryStyle;
|
|
23
|
+
readonly chatTopCard: EverfurChatTopCardSetting;
|
|
24
|
+
/** How many follow-up questions to offer under an answer, 0..3. */
|
|
25
|
+
readonly chatFollowUpCount: number;
|
|
26
|
+
/** true leaves the televet (book a vet) follow-ups out. */
|
|
27
|
+
readonly chatFollowUpsExcludeTelevet: boolean;
|
|
28
|
+
/** false hides the composer's dictation (mic) button. */
|
|
29
|
+
readonly chatComposerMic: boolean;
|
|
30
|
+
/** false hides the composer's photo upload button. */
|
|
31
|
+
readonly chatComposerUpload: boolean;
|
|
32
|
+
readonly safetyDisclaimerPlacement: EverfurSafetyDisclaimerPlacement;
|
|
33
|
+
readonly healthPlanLayout: EverfurHealthPlanLayout;
|
|
34
|
+
/** true shows the top risk line above the records. */
|
|
35
|
+
readonly recordsTopRiskLine: boolean;
|
|
36
|
+
/** true offers the "clear results" filter on the records. */
|
|
37
|
+
readonly recordsClearResultsFilter: boolean;
|
|
38
|
+
readonly chatComposerStyle: EverfurChatComposerStyle;
|
|
39
|
+
/** 'pet_name' names the active pet; with no pet it falls back to the generic text. */
|
|
40
|
+
readonly chatComposerPlaceholder: EverfurChatComposerPlaceholder;
|
|
41
|
+
readonly chatHistoryBar: EverfurChatHistoryBarSetting;
|
|
42
|
+
/**
|
|
43
|
+
* false hides only the general ("Good to know") banner. Urgent and safety banners always show; there is no
|
|
44
|
+
* setting that hides them.
|
|
45
|
+
*/
|
|
46
|
+
readonly chatGeneralBanner: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* The send button while the box is empty. `always_dark` (the default, also when the console sets nothing) draws it
|
|
49
|
+
* at full strength; `dim_when_empty` dims it until there is text. Either way an empty box sends nothing.
|
|
50
|
+
*/
|
|
51
|
+
readonly chatSendButton: EverfurChatSendButtonSetting;
|
|
52
|
+
}
|
|
53
|
+
/** A partial presentation: what the console sets, or what a partner passes as a prop. */
|
|
54
|
+
type EverfurPresentationInput = Partial<EverfurPresentation>;
|
|
55
|
+
type EverfurPresentationField = keyof EverfurPresentation;
|
|
56
|
+
/**
|
|
57
|
+
* What every partner that sets nothing renders: Raph's v3 design (owner decision 2026-10-21, STATE-MATRIX (b)1).
|
|
58
|
+
* Each v3 choice draws nothing extra when its data is missing: the focus card and the records top risk line need the
|
|
59
|
+
* plan page's `focus`, the pet-name placeholder falls back to the generic text with no pet name. The older look is
|
|
60
|
+
* one setting away per field (`bubbles`, `drawer`, `none`, `standard`, `generic`, `pinned`, false).
|
|
61
|
+
*/
|
|
62
|
+
declare const DEFAULT_PRESENTATION: EverfurPresentation;
|
|
63
|
+
/** The wire name of each field (EFBackend's final names). */
|
|
64
|
+
declare const PRESENTATION_WIRE_NAMES: Readonly<Record<EverfurPresentationField, string>>;
|
|
65
|
+
/** The `locked_fields` name that locks every presentation field. */
|
|
66
|
+
declare const PRESENTATION_LOCK = "presentation";
|
|
67
|
+
/** The `locked_fields` prefix that locks one presentation field (`presentation.<wire field>`). */
|
|
68
|
+
declare const PRESENTATION_LOCK_PREFIX = "presentation.";
|
|
69
|
+
/** true for `presentation` or `presentation.<known wire field>`. */
|
|
70
|
+
declare function isPresentationLockName(name: string): boolean;
|
|
71
|
+
/**
|
|
72
|
+
* Parse an untrusted presentation object (the wire's snake_case, or camelCase from a prop). Keeps only the
|
|
73
|
+
* fields that pass the same checks EFBackend applies (enum, real boolean, whole number 0..3); a bad field is
|
|
74
|
+
* dropped alone. Not an object, or nothing valid -> null. Never throws.
|
|
75
|
+
*/
|
|
76
|
+
declare function parsePresentation(raw: unknown): EverfurPresentationInput | null;
|
|
77
|
+
/** true when `locked_fields` keeps this presentation field server-wins. */
|
|
78
|
+
declare function isPresentationFieldLocked(field: EverfurPresentationField, locked: Iterable<string> | null | undefined): boolean;
|
|
79
|
+
/**
|
|
80
|
+
* Resolve the presentation per field: a locked field takes the server value (or the default); any other field
|
|
81
|
+
* takes the client value, then the server value, then the default. The client input is parsed through the same
|
|
82
|
+
* checks, so a bad prop value is ignored rather than rendered. PURE and TOTAL: never throws, always complete.
|
|
83
|
+
*/
|
|
84
|
+
declare function resolvePresentation(input?: {
|
|
85
|
+
readonly server?: EverfurPresentationInput | null;
|
|
86
|
+
readonly locked?: Iterable<string> | null;
|
|
87
|
+
readonly client?: EverfurPresentationInput | null;
|
|
88
|
+
}): EverfurPresentation;
|
|
89
|
+
|
|
90
|
+
export { DEFAULT_PRESENTATION as D, type EverfurChatAnswerStyle as E, PRESENTATION_LOCK as P, type EverfurChatComposerPlaceholder as a, type EverfurChatComposerStyle as b, type EverfurChatHistoryBarSetting as c, type EverfurChatHistoryStyle as d, type EverfurChatSendButtonSetting as e, type EverfurChatTopCardSetting as f, type EverfurHealthPlanLayout as g, type EverfurPresentation as h, type EverfurPresentationInput as i, type EverfurSafetyDisclaimerPlacement as j, PRESENTATION_LOCK_PREFIX as k, type EverfurPresentationField as l, PRESENTATION_WIRE_NAMES as m, isPresentationFieldLocked as n, isPresentationLockName as o, parsePresentation as p, resolvePresentation as r };
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/** Where the chat draws an assistant answer: in a bubble, or as Raph's open answer with cards (default). */
|
|
2
|
+
type EverfurChatAnswerStyle = 'bubbles' | 'cards';
|
|
3
|
+
/** How the chat lists past conversations: the side drawer, or a bottom sheet with previews (default). */
|
|
4
|
+
type EverfurChatHistoryStyle = 'drawer' | 'sheet';
|
|
5
|
+
/** The card above the chat's empty state: none, or the focus card ("Her focus", default; drawn only when there is a focus). */
|
|
6
|
+
type EverfurChatTopCardSetting = 'none' | 'focus';
|
|
7
|
+
/** Where the chat's safety disclaimer sits: under the composer (default) or at the foot of the answers. */
|
|
8
|
+
type EverfurSafetyDisclaimerPlacement = 'composer' | 'answer_footer';
|
|
9
|
+
/** The Health Plan tab layout: the standard list, or the focus plan (Raph v3, default). */
|
|
10
|
+
type EverfurHealthPlanLayout = 'standard' | 'focus_plan';
|
|
11
|
+
/** The chat composer: the standard bar, or Raph's compact 50px bar with an up-arrow send (default). */
|
|
12
|
+
type EverfurChatComposerStyle = 'standard' | 'compact';
|
|
13
|
+
/** The composer placeholder: the generic text, or one that names the active pet (default; generic with no name). */
|
|
14
|
+
type EverfurChatComposerPlaceholder = 'generic' | 'pet_name';
|
|
15
|
+
/** The past-chats bar: pinned above the thread, or scrolling with it (default). */
|
|
16
|
+
type EverfurChatHistoryBarSetting = 'pinned' | 'scroll';
|
|
17
|
+
/** The chat's send button while the box is empty: drawn dark (default) or dimmed until there is text (the older look). */
|
|
18
|
+
type EverfurChatSendButtonSetting = 'always_dark' | 'dim_when_empty';
|
|
19
|
+
/** The resolved presentation settings (every field set). camelCase of the wire names. */
|
|
20
|
+
interface EverfurPresentation {
|
|
21
|
+
readonly chatAnswerStyle: EverfurChatAnswerStyle;
|
|
22
|
+
readonly chatHistoryStyle: EverfurChatHistoryStyle;
|
|
23
|
+
readonly chatTopCard: EverfurChatTopCardSetting;
|
|
24
|
+
/** How many follow-up questions to offer under an answer, 0..3. */
|
|
25
|
+
readonly chatFollowUpCount: number;
|
|
26
|
+
/** true leaves the televet (book a vet) follow-ups out. */
|
|
27
|
+
readonly chatFollowUpsExcludeTelevet: boolean;
|
|
28
|
+
/** false hides the composer's dictation (mic) button. */
|
|
29
|
+
readonly chatComposerMic: boolean;
|
|
30
|
+
/** false hides the composer's photo upload button. */
|
|
31
|
+
readonly chatComposerUpload: boolean;
|
|
32
|
+
readonly safetyDisclaimerPlacement: EverfurSafetyDisclaimerPlacement;
|
|
33
|
+
readonly healthPlanLayout: EverfurHealthPlanLayout;
|
|
34
|
+
/** true shows the top risk line above the records. */
|
|
35
|
+
readonly recordsTopRiskLine: boolean;
|
|
36
|
+
/** true offers the "clear results" filter on the records. */
|
|
37
|
+
readonly recordsClearResultsFilter: boolean;
|
|
38
|
+
readonly chatComposerStyle: EverfurChatComposerStyle;
|
|
39
|
+
/** 'pet_name' names the active pet; with no pet it falls back to the generic text. */
|
|
40
|
+
readonly chatComposerPlaceholder: EverfurChatComposerPlaceholder;
|
|
41
|
+
readonly chatHistoryBar: EverfurChatHistoryBarSetting;
|
|
42
|
+
/**
|
|
43
|
+
* false hides only the general ("Good to know") banner. Urgent and safety banners always show; there is no
|
|
44
|
+
* setting that hides them.
|
|
45
|
+
*/
|
|
46
|
+
readonly chatGeneralBanner: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* The send button while the box is empty. `always_dark` (the default, also when the console sets nothing) draws it
|
|
49
|
+
* at full strength; `dim_when_empty` dims it until there is text. Either way an empty box sends nothing.
|
|
50
|
+
*/
|
|
51
|
+
readonly chatSendButton: EverfurChatSendButtonSetting;
|
|
52
|
+
}
|
|
53
|
+
/** A partial presentation: what the console sets, or what a partner passes as a prop. */
|
|
54
|
+
type EverfurPresentationInput = Partial<EverfurPresentation>;
|
|
55
|
+
type EverfurPresentationField = keyof EverfurPresentation;
|
|
56
|
+
/**
|
|
57
|
+
* What every partner that sets nothing renders: Raph's v3 design (owner decision 2026-10-21, STATE-MATRIX (b)1).
|
|
58
|
+
* Each v3 choice draws nothing extra when its data is missing: the focus card and the records top risk line need the
|
|
59
|
+
* plan page's `focus`, the pet-name placeholder falls back to the generic text with no pet name. The older look is
|
|
60
|
+
* one setting away per field (`bubbles`, `drawer`, `none`, `standard`, `generic`, `pinned`, false).
|
|
61
|
+
*/
|
|
62
|
+
declare const DEFAULT_PRESENTATION: EverfurPresentation;
|
|
63
|
+
/** The wire name of each field (EFBackend's final names). */
|
|
64
|
+
declare const PRESENTATION_WIRE_NAMES: Readonly<Record<EverfurPresentationField, string>>;
|
|
65
|
+
/** The `locked_fields` name that locks every presentation field. */
|
|
66
|
+
declare const PRESENTATION_LOCK = "presentation";
|
|
67
|
+
/** The `locked_fields` prefix that locks one presentation field (`presentation.<wire field>`). */
|
|
68
|
+
declare const PRESENTATION_LOCK_PREFIX = "presentation.";
|
|
69
|
+
/** true for `presentation` or `presentation.<known wire field>`. */
|
|
70
|
+
declare function isPresentationLockName(name: string): boolean;
|
|
71
|
+
/**
|
|
72
|
+
* Parse an untrusted presentation object (the wire's snake_case, or camelCase from a prop). Keeps only the
|
|
73
|
+
* fields that pass the same checks EFBackend applies (enum, real boolean, whole number 0..3); a bad field is
|
|
74
|
+
* dropped alone. Not an object, or nothing valid -> null. Never throws.
|
|
75
|
+
*/
|
|
76
|
+
declare function parsePresentation(raw: unknown): EverfurPresentationInput | null;
|
|
77
|
+
/** true when `locked_fields` keeps this presentation field server-wins. */
|
|
78
|
+
declare function isPresentationFieldLocked(field: EverfurPresentationField, locked: Iterable<string> | null | undefined): boolean;
|
|
79
|
+
/**
|
|
80
|
+
* Resolve the presentation per field: a locked field takes the server value (or the default); any other field
|
|
81
|
+
* takes the client value, then the server value, then the default. The client input is parsed through the same
|
|
82
|
+
* checks, so a bad prop value is ignored rather than rendered. PURE and TOTAL: never throws, always complete.
|
|
83
|
+
*/
|
|
84
|
+
declare function resolvePresentation(input?: {
|
|
85
|
+
readonly server?: EverfurPresentationInput | null;
|
|
86
|
+
readonly locked?: Iterable<string> | null;
|
|
87
|
+
readonly client?: EverfurPresentationInput | null;
|
|
88
|
+
}): EverfurPresentation;
|
|
89
|
+
|
|
90
|
+
export { DEFAULT_PRESENTATION as D, type EverfurChatAnswerStyle as E, PRESENTATION_LOCK as P, type EverfurChatComposerPlaceholder as a, type EverfurChatComposerStyle as b, type EverfurChatHistoryBarSetting as c, type EverfurChatHistoryStyle as d, type EverfurChatSendButtonSetting as e, type EverfurChatTopCardSetting as f, type EverfurHealthPlanLayout as g, type EverfurPresentation as h, type EverfurPresentationInput as i, type EverfurSafetyDisclaimerPlacement as j, PRESENTATION_LOCK_PREFIX as k, type EverfurPresentationField as l, PRESENTATION_WIRE_NAMES as m, isPresentationFieldLocked as n, isPresentationLockName as o, parsePresentation as p, resolvePresentation as r };
|