@everfur/sdk 0.4.0 → 0.5.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 +182 -0
- package/README.md +9 -8
- package/dist/{Chat-BZZ-Py5l.d.ts → Chat-BOX-03ho.d.ts} +17 -3
- package/dist/{Chat-Dq4fffIO.d.cts → Chat-TA-aTcVF.d.cts} +17 -3
- package/dist/{DepthViews-CkYri51q.d.ts → DepthViews-CgjX2AJ5.d.ts} +1 -1
- package/dist/{DepthViews-CL75jyRA.d.cts → DepthViews-Cviea-ri.d.cts} +1 -1
- package/dist/{DepthViews-BG3E25MD.d.ts → DepthViews-D2dRqWRq.d.ts} +1 -1
- package/dist/{DepthViews-B_hIypI6.d.cts → DepthViews-DSFyaSeL.d.cts} +1 -1
- package/dist/{ErrorPolicyPort-CwbfmxzJ.d.ts → ErrorPolicyPort-D22LUVrK.d.ts} +1 -1
- package/dist/{ErrorPolicyPort-CNf4uQZP.d.cts → ErrorPolicyPort-D6CybiqJ.d.cts} +1 -1
- package/dist/{EverfurResult-DN9pL2Ab.d.cts → EverfurError-DmELDpXp.d.cts} +1 -67
- package/dist/{EverfurResult-DN9pL2Ab.d.ts → EverfurError-DmELDpXp.d.ts} +1 -67
- package/dist/EverfurResult-SGvHKsCB.d.ts +69 -0
- package/dist/EverfurResult-ZtH-YV1h.d.cts +69 -0
- package/dist/animations/index.d.cts +6 -5
- package/dist/animations/index.d.ts +6 -5
- package/dist/{attachments-BrUWQYNK.d.ts → attachments-C_vtFu2f.d.ts} +7 -6
- package/dist/{attachments-D_SECjr1.d.cts → attachments-DHvnITuE.d.cts} +7 -6
- package/dist/{attachments-DpldrvIW.d.ts → attachments-oD5U2fXI.d.ts} +3 -3
- package/dist/{attachments-BorG422I.d.cts → attachments-pIdGOQfm.d.cts} +3 -3
- package/dist/{bookingCopy-CqtDYvCR.d.ts → bookingCopy-CJir9mjb.d.ts} +417 -14
- package/dist/{bookingCopy-SREvkG19.d.cts → bookingCopy-DfuA13dh.d.cts} +417 -14
- package/dist/branding-Xb_wL8N1.d.cts +212 -0
- package/dist/branding-xpQ056sM.d.ts +212 -0
- package/dist/callCopy-rDH9JTFo.d.cts +45 -0
- package/dist/callCopy-rDH9JTFo.d.ts +45 -0
- package/dist/callRoom-7wrE3RP2.d.ts +62 -0
- package/dist/callRoom-B_EqaUzx.d.cts +62 -0
- package/dist/{casesRepository-DwtZVsbj.d.cts → casesRepository-B-Eg8ZJ3.d.cts} +14 -2
- package/dist/{casesRepository-v6QczS9N.d.ts → casesRepository-DHgIYKN9.d.ts} +14 -2
- package/dist/chat/index.cjs +1 -1
- package/dist/chat/index.d.cts +12 -11
- package/dist/chat/index.d.ts +12 -11
- package/dist/chat/index.js +1 -1
- package/dist/client/index.cjs +5 -5
- package/dist/client/index.d.cts +14 -12
- package/dist/client/index.d.ts +14 -12
- package/dist/client/index.js +5 -5
- package/dist/{config--Wu1Umhd.d.cts → config-ClI7QxB0.d.ts} +3 -2
- package/dist/{config-C7eb_IMD.d.ts → config-DAFbf721.d.cts} +3 -2
- package/dist/consent/index.d.cts +9 -8
- package/dist/consent/index.d.ts +9 -8
- package/dist/{context-CL3lyuy1.d.cts → context-B-dUM1Qf.d.cts} +9 -8
- package/dist/{context-CahAEha8.d.ts → context-CZbgF_OH.d.ts} +9 -8
- package/dist/{copy-DdVFDL01.d.ts → copy-CeRH3NXy.d.ts} +5 -4
- package/dist/{copy-UeUJVk8X.d.cts → copy-CneuYdrO.d.cts} +5 -4
- package/dist/core/index.cjs +9 -9
- package/dist/core/index.d.cts +19 -17
- package/dist/core/index.d.ts +19 -17
- package/dist/core/index.js +9 -9
- package/dist/{depth-D5HwcvKC.d.cts → depth-B3NFKlF9.d.cts} +6 -5
- package/dist/{depth-DvPwPuT_.d.ts → depth-DO3Ko_qs.d.ts} +6 -5
- package/dist/{entitlementRepository-B7egEdW6.d.ts → entitlementRepository-74kW5mK0.d.ts} +4 -4
- package/dist/{entitlementRepository-BpJ7tiwl.d.cts → entitlementRepository-m6zLUmiB.d.cts} +4 -4
- package/dist/{identity-C2-08BZW.d.cts → identity-C7uxGwfT.d.cts} +2 -2
- package/dist/{identity-CEi9GRFZ.d.ts → identity-CLAUq-K4.d.ts} +2 -2
- package/dist/index.cjs +6 -6
- package/dist/index.d.cts +19 -17
- package/dist/index.d.ts +19 -17
- package/dist/index.js +6 -6
- package/dist/{models-D2EUxPZY.d.cts → models-Bn2z0NNo.d.cts} +1 -1
- package/dist/{models-B-Uh2LTf.d.ts → models-DSqA5Ahs.d.ts} +1 -1
- package/dist/notifications/index.d.cts +5 -4
- package/dist/notifications/index.d.ts +5 -4
- package/dist/{pets-JVCXgRgR.d.cts → pets-BoB5B7kp.d.cts} +2 -2
- package/dist/{pets-DJv2sj2H.d.ts → pets-w4M9d-Dn.d.ts} +2 -2
- package/dist/{petsRepository-Bk6GDwLs.d.ts → petsRepository-BjKJ8UsN.d.ts} +2 -2
- package/dist/{petsRepository-B_gKbAzJ.d.cts → petsRepository-DZZoEG3r.d.cts} +2 -2
- package/dist/photo/index.d.cts +3 -2
- package/dist/photo/index.d.ts +3 -2
- package/dist/{ports-D7YW8qz9.d.ts → ports-BO3bzTJg.d.ts} +13 -6
- package/dist/{ports-BY2ph0_y.d.cts → ports-C2EVK416.d.cts} +13 -6
- package/dist/records/depth/index.d.cts +11 -10
- package/dist/records/depth/index.d.ts +11 -10
- package/dist/records/index.cjs +3 -3
- package/dist/records/index.d.cts +25 -14
- package/dist/records/index.d.ts +25 -14
- package/dist/records/index.js +3 -3
- package/dist/{requestFunnel-DFMGcluw.d.ts → requestFunnel-D7ipek3e.d.ts} +5 -4
- package/dist/{requestFunnel-BjDpqqvm.d.cts → requestFunnel-Djjwgoe9.d.cts} +5 -4
- package/dist/{runtimeTypes-w5KqBMcs.d.ts → runtimeTypes-CTL3yToK.d.ts} +7 -7
- package/dist/{runtimeTypes-gZEJu-da.d.cts → runtimeTypes-D2C9uD85.d.cts} +7 -7
- package/dist/server/events/index.cjs +1 -1
- package/dist/server/events/index.d.cts +4 -3
- package/dist/server/events/index.d.ts +4 -3
- package/dist/server/events/index.js +1 -1
- package/dist/server/index.cjs +1 -1
- package/dist/server/index.d.cts +5 -4
- package/dist/server/index.d.ts +5 -4
- package/dist/server/index.js +1 -1
- package/dist/televet/booking/index.cjs +1 -1
- package/dist/televet/booking/index.d.cts +303 -31
- package/dist/televet/booking/index.d.ts +303 -31
- package/dist/televet/booking/index.js +1 -1
- package/dist/televet/call/index.cjs +1 -1
- package/dist/televet/call/index.d.cts +25 -5
- package/dist/televet/call/index.d.ts +25 -5
- package/dist/televet/call/index.js +1 -1
- package/dist/televet/index.cjs +1 -1
- package/dist/televet/index.d.cts +41 -71
- package/dist/televet/index.d.ts +41 -71
- package/dist/televet/index.js +1 -1
- package/dist/televetGlobal-CEk0_cW9.d.cts +34 -0
- package/dist/televetGlobal-Cs9Wbqsy.d.ts +34 -0
- package/dist/testing/index.cjs +4 -4
- package/dist/testing/index.d.cts +3 -2
- package/dist/testing/index.d.ts +3 -2
- package/dist/testing/index.js +4 -4
- package/dist/testing/rn/index.cjs +1 -1
- package/dist/testing/rn/index.d.cts +13 -11
- package/dist/testing/rn/index.d.ts +13 -11
- package/dist/testing/rn/index.js +1 -1
- package/dist/testing/web/index.d.cts +14 -13
- package/dist/testing/web/index.d.ts +14 -13
- package/dist/{timelineRows-C15jxFFH.d.ts → timelineRows-7yFNK_rU.d.ts} +1 -1
- package/dist/{timelineRows-odO8g9r2.d.cts → timelineRows-CzR1T2DR.d.cts} +1 -1
- package/dist/{branding-CsRdeNwK.d.cts → tokens-CIngRkvt.d.cts} +7 -211
- package/dist/{branding-CsRdeNwK.d.ts → tokens-CIngRkvt.d.ts} +7 -211
- package/dist/{typeStyle-DmoyacDG.d.ts → typeStyle-DHJzDaUo.d.cts} +2 -1
- package/dist/{typeStyle-CKqVYD6L.d.cts → typeStyle-YPS_MXeI.d.ts} +2 -1
- package/dist/{useRecordsDepth-C6rjEaLn.d.cts → useRecordsDepth-Bnw36jPr.d.cts} +24 -5
- package/dist/{useRecordsDepth-crhBllQK.d.ts → useRecordsDepth-DFF7Faxx.d.ts} +24 -5
- package/dist/{useVetVisit-CjmMa896.d.ts → useVetVisit-BsjoDO-n.d.ts} +21 -6
- package/dist/{useVetVisit-Bc84hWUU.d.cts → useVetVisit-Ds8f1peV.d.cts} +21 -6
- package/dist/video/index.d.cts +3 -2
- package/dist/video/index.d.ts +3 -2
- package/dist/{view-Bxwxp4xD.d.ts → view-BqcOYFTr.d.ts} +5 -4
- package/dist/{view-DyitEO0m.d.cts → view-CaJs8WFH.d.cts} +5 -4
- package/dist/web/consent/index.d.cts +9 -8
- package/dist/web/consent/index.d.ts +9 -8
- package/dist/web/index.cjs +10 -10
- package/dist/web/index.d.cts +42 -19
- package/dist/web/index.d.ts +42 -19
- package/dist/web/index.js +10 -10
- package/dist/web/notifications/index.d.cts +7 -6
- package/dist/web/notifications/index.d.ts +7 -6
- package/dist/web/records/depth/index.cjs +2 -2
- package/dist/web/records/depth/index.d.cts +11 -10
- package/dist/web/records/depth/index.d.ts +11 -10
- package/dist/web/records/depth/index.js +2 -2
- package/dist/web/records/index.cjs +3 -3
- package/dist/web/records/index.d.cts +53 -35
- package/dist/web/records/index.d.ts +53 -35
- package/dist/web/records/index.js +3 -3
- package/dist/web/televet/booking/index.cjs +2 -1
- package/dist/web/televet/booking/index.d.cts +453 -32
- package/dist/web/televet/booking/index.d.ts +453 -32
- package/dist/web/televet/booking/index.js +2 -1
- package/dist/web/televet/call/index.cjs +1 -1
- package/dist/web/televet/call/index.d.cts +3 -1
- package/dist/web/televet/call/index.d.ts +3 -1
- package/dist/web/televet/call/index.js +1 -1
- package/dist/web/televet/index.cjs +1 -1
- package/dist/web/televet/index.d.cts +40 -74
- package/dist/web/televet/index.d.ts +40 -74
- package/dist/web/televet/index.js +1 -1
- package/package.json +3 -2
- package/dist/callCopy-DoQKG3-L.d.cts +0 -40
- package/dist/callCopy-DoQKG3-L.d.ts +0 -40
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@everfur/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.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": {
|
|
@@ -525,7 +525,8 @@
|
|
|
525
525
|
"tsup": "^8.2.0",
|
|
526
526
|
"typescript": "^5.5.0",
|
|
527
527
|
"typescript-eslint": "^8.0.0",
|
|
528
|
-
"vitest": "^2.0.0"
|
|
528
|
+
"vitest": "^2.0.0",
|
|
529
|
+
"yaml": "^2.9.0"
|
|
529
530
|
},
|
|
530
531
|
"overrides": {
|
|
531
532
|
"react": "$react",
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/** The phases the in-app call surface moves through. The consumer app's `CallPhase`, verbatim. */
|
|
2
|
-
type VetCallPhase = 'joining' | 'joined' | 'left' | 'error';
|
|
3
|
-
/**
|
|
4
|
-
* Refuses anything that is not an https room.
|
|
5
|
-
*
|
|
6
|
-
* NEVER THROWS and never echoes the input: an unparseable value returns false rather than raising, because
|
|
7
|
-
* the caller is already on a failure path when it asks.
|
|
8
|
-
*/
|
|
9
|
-
declare function isSafeRoomUrl(url: string): boolean;
|
|
10
|
-
/**
|
|
11
|
-
* The whole credential floor: an https room AND a non-empty join token. The call surface renders nothing and
|
|
12
|
-
* creates no call object unless this is true.
|
|
13
|
-
*/
|
|
14
|
-
declare function isUsableRoomCredential(roomUrl: string, token: string): boolean;
|
|
15
|
-
|
|
16
|
-
/** The consult length the lobby quotes, in minutes. everfur-mobile-2026-7 televetTime.ts:85 `CONSULT_MINUTES`. */
|
|
17
|
-
declare const VET_CALL_CONSULT_MINUTES = 10;
|
|
18
|
-
declare const VET_CALL_COPY: Readonly<{
|
|
19
|
-
/** Controls, shared by the lobby and the live call. */
|
|
20
|
-
muteCta: "Mute";
|
|
21
|
-
unmuteCta: "Unmute";
|
|
22
|
-
cameraOffCta: "Camera off";
|
|
23
|
-
cameraOnCta: "Camera on";
|
|
24
|
-
leaveCta: "Leave";
|
|
25
|
-
/** The lobby: the member is in the room and the clinician is not. */
|
|
26
|
-
lobbyTitleNoName: "Your vet is joining";
|
|
27
|
-
lobbySubtitle: "Usually under a minute";
|
|
28
|
-
lobbyPrepLabel: "WHILE YOU WAIT";
|
|
29
|
-
lobbyPrepNoPet: "Have your pet nearby and somewhere well lit.";
|
|
30
|
-
/** `{name}` is DATA from the consult, never a key. Absent, `lobbyTitleNoName` is used instead. */
|
|
31
|
-
lobbyTitle: (clinicianName: string | null | undefined) => string;
|
|
32
|
-
/** `{pet}` is DATA from the roster. Absent, the pet-free form is used instead. */
|
|
33
|
-
lobbyPrep: (petName: string | null | undefined) => string;
|
|
34
|
-
/** `{n}` is `VET_CALL_CONSULT_MINUTES`, never a hardcoded number. */
|
|
35
|
-
lobbyDuration: (minutes: number) => string;
|
|
36
|
-
/** The consumer app's `visit.joinFailedReason` (:735), shown when the call object errors. */
|
|
37
|
-
joinFailedReason: "That did not open. Try again.";
|
|
38
|
-
}>;
|
|
39
|
-
|
|
40
|
-
export { VET_CALL_CONSULT_MINUTES as V, VET_CALL_COPY as a, type VetCallPhase as b, isUsableRoomCredential as c, isSafeRoomUrl as i };
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/** The phases the in-app call surface moves through. The consumer app's `CallPhase`, verbatim. */
|
|
2
|
-
type VetCallPhase = 'joining' | 'joined' | 'left' | 'error';
|
|
3
|
-
/**
|
|
4
|
-
* Refuses anything that is not an https room.
|
|
5
|
-
*
|
|
6
|
-
* NEVER THROWS and never echoes the input: an unparseable value returns false rather than raising, because
|
|
7
|
-
* the caller is already on a failure path when it asks.
|
|
8
|
-
*/
|
|
9
|
-
declare function isSafeRoomUrl(url: string): boolean;
|
|
10
|
-
/**
|
|
11
|
-
* The whole credential floor: an https room AND a non-empty join token. The call surface renders nothing and
|
|
12
|
-
* creates no call object unless this is true.
|
|
13
|
-
*/
|
|
14
|
-
declare function isUsableRoomCredential(roomUrl: string, token: string): boolean;
|
|
15
|
-
|
|
16
|
-
/** The consult length the lobby quotes, in minutes. everfur-mobile-2026-7 televetTime.ts:85 `CONSULT_MINUTES`. */
|
|
17
|
-
declare const VET_CALL_CONSULT_MINUTES = 10;
|
|
18
|
-
declare const VET_CALL_COPY: Readonly<{
|
|
19
|
-
/** Controls, shared by the lobby and the live call. */
|
|
20
|
-
muteCta: "Mute";
|
|
21
|
-
unmuteCta: "Unmute";
|
|
22
|
-
cameraOffCta: "Camera off";
|
|
23
|
-
cameraOnCta: "Camera on";
|
|
24
|
-
leaveCta: "Leave";
|
|
25
|
-
/** The lobby: the member is in the room and the clinician is not. */
|
|
26
|
-
lobbyTitleNoName: "Your vet is joining";
|
|
27
|
-
lobbySubtitle: "Usually under a minute";
|
|
28
|
-
lobbyPrepLabel: "WHILE YOU WAIT";
|
|
29
|
-
lobbyPrepNoPet: "Have your pet nearby and somewhere well lit.";
|
|
30
|
-
/** `{name}` is DATA from the consult, never a key. Absent, `lobbyTitleNoName` is used instead. */
|
|
31
|
-
lobbyTitle: (clinicianName: string | null | undefined) => string;
|
|
32
|
-
/** `{pet}` is DATA from the roster. Absent, the pet-free form is used instead. */
|
|
33
|
-
lobbyPrep: (petName: string | null | undefined) => string;
|
|
34
|
-
/** `{n}` is `VET_CALL_CONSULT_MINUTES`, never a hardcoded number. */
|
|
35
|
-
lobbyDuration: (minutes: number) => string;
|
|
36
|
-
/** The consumer app's `visit.joinFailedReason` (:735), shown when the call object errors. */
|
|
37
|
-
joinFailedReason: "That did not open. Try again.";
|
|
38
|
-
}>;
|
|
39
|
-
|
|
40
|
-
export { VET_CALL_CONSULT_MINUTES as V, VET_CALL_COPY as a, type VetCallPhase as b, isUsableRoomCredential as c, isSafeRoomUrl as i };
|