@everfur/sdk 0.7.0 → 0.8.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 +326 -0
- package/README.md +24 -16
- package/dist/{Chat-DZpYH8Uh.d.ts → Chat-Cv9EYMYA.d.ts} +3 -3
- package/dist/{Chat-bATY4atj.d.cts → Chat-s2vcPbw3.d.cts} +3 -3
- package/dist/{DepthViews-qBIoA48w.d.ts → DepthViews-CVxUHOJ-.d.ts} +1 -1
- package/dist/{DepthViews-C4DC4Kom.d.cts → DepthViews-Cz7mSW7p.d.cts} +1 -1
- package/dist/{DepthViews-dLTizxjr.d.ts → DepthViews-DNRY0Ugm.d.ts} +1 -1
- package/dist/{DepthViews-BpHUbjSY.d.cts → DepthViews-DvNixbxg.d.cts} +1 -1
- package/dist/{ErrorPolicyPort-D22LUVrK.d.ts → ErrorPolicyPort-DwSnmGcX.d.ts} +1 -1
- package/dist/{ErrorPolicyPort-D6CybiqJ.d.cts → ErrorPolicyPort-NFDPe-5w.d.cts} +1 -1
- package/dist/{EverfurError-DmELDpXp.d.cts → EverfurError-pEXDbUJ1.d.cts} +9 -1
- package/dist/{EverfurError-DmELDpXp.d.ts → EverfurError-pEXDbUJ1.d.ts} +9 -1
- package/dist/{EverfurResult-ZtH-YV1h.d.cts → EverfurResult-dtl8ERAw.d.cts} +1 -1
- package/dist/{EverfurResult-SGvHKsCB.d.ts → EverfurResult-sKkoXew0.d.ts} +1 -1
- package/dist/IntakeMedia-BFZfBLjB.d.cts +116 -0
- package/dist/{BookedScreen-DFJcgf1e.d.ts → IntakeMedia-BH0fYDT2.d.cts} +58 -2
- package/dist/{BookedScreen-R5X_Zrlh.d.cts → IntakeMedia-Bavl7E4Z.d.ts} +58 -2
- package/dist/IntakeMedia-C8GlN_GK.d.ts +116 -0
- package/dist/animations/index.cjs +109 -1
- package/dist/animations/index.d.cts +6 -6
- package/dist/animations/index.d.ts +6 -6
- package/dist/animations/index.js +109 -1
- package/dist/{attachments-CPRFfoHT.d.ts → attachments-BaslXMdS.d.ts} +3 -3
- package/dist/{attachments-CUOGILir.d.cts → attachments-DbFwz4iq.d.cts} +7 -7
- package/dist/{attachments-Ce06TWqe.d.cts → attachments-y3EcOX_w.d.cts} +3 -3
- package/dist/{attachments-CXAnZcEg.d.ts → attachments-y_aO4hlk.d.ts} +7 -7
- package/dist/{bookingCopy-BwVopcoV.d.cts → bookingCopy-4i1R7klo.d.cts} +15 -7
- package/dist/{bookingCopy-DFTv9w6J.d.ts → bookingCopy-B3UMITD-.d.ts} +15 -7
- package/dist/{branding-ytH4jJq1.d.ts → branding-BYEqU855.d.ts} +1 -1
- package/dist/{branding-Bio5MM6g.d.cts → branding-BwEu68C8.d.cts} +1 -1
- package/dist/{callRoom-7wrE3RP2.d.ts → callRoom-B1qq_D-4.d.ts} +1 -1
- package/dist/{callRoom-B_EqaUzx.d.cts → callRoom-DfZTWFXh.d.cts} +1 -1
- package/dist/{casesRepository-CJchNp3x.d.cts → casesRepository-B6Z0XBIb.d.cts} +2 -2
- package/dist/{casesRepository-DAVcY3jC.d.ts → casesRepository-SI0zp5YH.d.ts} +2 -2
- package/dist/chat/index.cjs +333 -1
- package/dist/chat/index.d.cts +12 -12
- package/dist/chat/index.d.ts +12 -12
- package/dist/chat/index.js +333 -1
- package/dist/client/index.cjs +115 -11
- package/dist/client/index.d.cts +14 -14
- package/dist/client/index.d.ts +14 -14
- package/dist/client/index.js +115 -11
- package/dist/{config-ZxwCylac.d.ts → config-Cvo47voG.d.ts} +3 -3
- package/dist/{config-h5h6TsHL.d.cts → config-v5k6NsK_.d.cts} +3 -3
- package/dist/consent/index.cjs +112 -1
- package/dist/consent/index.d.cts +9 -9
- package/dist/consent/index.d.ts +9 -9
- package/dist/consent/index.js +112 -1
- package/dist/{context-CtsAgJnc.d.cts → context-BZOtJbBO.d.cts} +9 -9
- package/dist/{context-DtPIshVA.d.ts → context-cZ7NZ0sG.d.ts} +9 -9
- package/dist/{copy-Cg89Qoal.d.ts → copy-CZBUHbyS.d.ts} +5 -5
- package/dist/{copy-CaWaplQc.d.cts → copy-ChJupm1p.d.cts} +5 -5
- package/dist/core/index.cjs +140 -13
- package/dist/core/index.d.cts +19 -19
- package/dist/core/index.d.ts +19 -19
- package/dist/core/index.js +140 -13
- package/dist/{depth-EXZYEO70.d.cts → depth-CRyU7-pf.d.cts} +8 -7
- package/dist/{depth-Bo4bAwcn.d.ts → depth-vNpwOkZ8.d.ts} +8 -7
- package/dist/{entitlementRepository-BYtVb1oU.d.cts → entitlementRepository-Bv8nSYRd.d.cts} +4 -4
- package/dist/{entitlementRepository-DcbIx8yV.d.ts → entitlementRepository-CUdxbQrP.d.ts} +4 -4
- package/dist/{identity-EC5-apbY.d.ts → identity-B8GkH53J.d.ts} +2 -2
- package/dist/{identity-b5Vp32Vp.d.cts → identity-BHaMJ3KK.d.cts} +2 -2
- package/dist/index.cjs +363 -12
- package/dist/index.d.cts +19 -19
- package/dist/index.d.ts +19 -19
- package/dist/index.js +363 -12
- package/dist/{models-DSqA5Ahs.d.ts → models-CrbUwbuS.d.ts} +1 -1
- package/dist/{models-Bn2z0NNo.d.cts → models-DzvqEjMm.d.cts} +1 -1
- package/dist/notifications/index.cjs +94 -2
- package/dist/notifications/index.d.cts +5 -5
- package/dist/notifications/index.d.ts +5 -5
- package/dist/notifications/index.js +94 -2
- package/dist/{pets-DM8QvKLo.d.cts → pets-BI7Ji8hi.d.cts} +2 -2
- package/dist/{pets-B_27_agU.d.ts → pets-Dnn-DK1T.d.ts} +2 -2
- package/dist/{petsRepository-CuYZZaI5.d.ts → petsRepository-B2lO1sKS.d.ts} +2 -2
- package/dist/{petsRepository-BJsJ4cju.d.cts → petsRepository-BP9nhM1R.d.cts} +2 -2
- package/dist/photo/index.cjs +131 -1
- package/dist/photo/index.d.cts +3 -3
- package/dist/photo/index.d.ts +3 -3
- package/dist/photo/index.js +131 -1
- package/dist/{ports-nXHf50_X.d.ts → ports-BUXF0Rp3.d.ts} +7 -7
- package/dist/{ports-ZmJYgd5I.d.cts → ports-C40S2V14.d.cts} +7 -7
- package/dist/records/depth/index.cjs +200 -2
- package/dist/records/depth/index.d.cts +11 -11
- package/dist/records/depth/index.d.ts +11 -11
- package/dist/records/depth/index.js +200 -2
- package/dist/records/index.cjs +742 -4
- package/dist/records/index.d.cts +22 -14
- package/dist/records/index.d.ts +22 -14
- package/dist/records/index.js +742 -4
- package/dist/{requestFunnel-Ve9BshTB.d.ts → requestFunnel-BrOijMcw.d.ts} +5 -5
- package/dist/{requestFunnel-C_cZXhIA.d.cts → requestFunnel-BxNVGyGm.d.cts} +5 -5
- package/dist/{runtimeTypes-ByKsp8hm.d.ts → runtimeTypes-CvI1ZH8j.d.ts} +7 -7
- package/dist/{runtimeTypes-D155OlBW.d.cts → runtimeTypes-DOO3f-W-.d.cts} +7 -7
- package/dist/server/events/index.cjs +92 -2
- package/dist/server/events/index.d.cts +4 -4
- package/dist/server/events/index.d.ts +4 -4
- package/dist/server/events/index.js +92 -2
- package/dist/server/index.cjs +95 -2
- package/dist/server/index.d.cts +5 -5
- package/dist/server/index.d.ts +5 -5
- package/dist/server/index.js +95 -2
- package/dist/televet/booking/index.cjs +394 -4
- package/dist/televet/booking/index.d.cts +24 -127
- package/dist/televet/booking/index.d.ts +24 -127
- package/dist/televet/booking/index.js +394 -4
- package/dist/televet/call/index.cjs +71 -1
- package/dist/televet/call/index.d.cts +3 -3
- package/dist/televet/call/index.d.ts +3 -3
- package/dist/televet/call/index.js +71 -1
- package/dist/televet/index.cjs +101 -1
- package/dist/televet/index.d.cts +25 -8
- package/dist/televet/index.d.ts +25 -8
- package/dist/televet/index.js +101 -1
- package/dist/{bookingTypes-D4pD3tHs.d.ts → televetGlobal-C5dTUACe.d.cts} +34 -1
- package/dist/{bookingTypes-D4pD3tHs.d.cts → televetGlobal-CnjrfhT4.d.ts} +34 -1
- package/dist/testing/index.cjs +98 -7
- package/dist/testing/index.d.cts +3 -3
- package/dist/testing/index.d.ts +3 -3
- package/dist/testing/index.js +98 -7
- package/dist/testing/rn/index.cjs +101 -1
- package/dist/testing/rn/index.d.cts +13 -13
- package/dist/testing/rn/index.d.ts +13 -13
- package/dist/testing/rn/index.js +101 -1
- package/dist/testing/web/index.cjs +95 -1
- package/dist/testing/web/index.d.cts +14 -14
- package/dist/testing/web/index.d.ts +14 -14
- package/dist/testing/web/index.js +95 -1
- package/dist/{timelineRows-DXpjECfA.d.ts → timelineRows-CEx2TzYB.d.ts} +1 -1
- package/dist/{timelineRows-BNF43SXK.d.cts → timelineRows-Dffceql_.d.cts} +1 -1
- package/dist/{tokens-BYtbKwFh.d.cts → tokens-Tzo1KBND.d.cts} +43 -2
- package/dist/{tokens-BYtbKwFh.d.ts → tokens-Tzo1KBND.d.ts} +43 -2
- package/dist/{typeStyle-BqfwxZH4.d.cts → typeStyle-C3IG9Sft.d.ts} +22 -3
- package/dist/{typeStyle-DKz02DGU.d.ts → typeStyle-CZ3Tj60N.d.cts} +22 -3
- package/dist/{useRecordsDepth-CARTuHKh.d.cts → useRecordsDepth-D6a6-_u_.d.cts} +7 -6
- package/dist/{useRecordsDepth-fPSv-GXU.d.ts → useRecordsDepth-DuPUJFDQ.d.ts} +7 -6
- package/dist/{useVetVisit-Ds8f1peV.d.cts → useVetVisit-BQX_aTJs.d.cts} +2 -2
- package/dist/{useVetVisit-BsjoDO-n.d.ts → useVetVisit-RPBOabl8.d.ts} +2 -2
- package/dist/video/index.cjs +122 -1
- package/dist/video/index.d.cts +3 -3
- package/dist/video/index.d.ts +3 -3
- package/dist/video/index.js +122 -1
- package/dist/{view-Dc-JlFkf.d.ts → view-BSmN5RWf.d.ts} +5 -5
- package/dist/{view-DGPaVno8.d.cts → view-UFwCG1Pn.d.cts} +5 -5
- package/dist/web/consent/index.cjs +111 -1
- package/dist/web/consent/index.d.cts +9 -9
- package/dist/web/consent/index.d.ts +9 -9
- package/dist/web/consent/index.js +111 -1
- package/dist/web/index.cjs +325 -14
- package/dist/web/index.d.cts +22 -22
- package/dist/web/index.d.ts +22 -22
- package/dist/web/index.js +325 -14
- package/dist/web/notifications/index.cjs +95 -2
- package/dist/web/notifications/index.d.cts +7 -7
- package/dist/web/notifications/index.d.ts +7 -7
- package/dist/web/notifications/index.js +95 -2
- package/dist/web/records/depth/index.cjs +169 -2
- package/dist/web/records/depth/index.d.cts +11 -11
- package/dist/web/records/depth/index.d.ts +11 -11
- package/dist/web/records/depth/index.js +169 -2
- package/dist/web/records/index.cjs +689 -4
- package/dist/web/records/index.d.cts +34 -37
- package/dist/web/records/index.d.ts +34 -37
- package/dist/web/records/index.js +689 -4
- package/dist/web/records/upload/index.cjs +3 -0
- package/dist/web/records/upload/index.d.cts +23 -0
- package/dist/web/records/upload/index.d.ts +23 -0
- package/dist/web/records/upload/index.js +3 -0
- package/dist/web/televet/booking/index.cjs +423 -4
- package/dist/web/televet/booking/index.d.cts +26 -74
- package/dist/web/televet/booking/index.d.ts +26 -74
- package/dist/web/televet/booking/index.js +423 -4
- package/dist/web/televet/call/index.cjs +28 -1
- package/dist/web/televet/call/index.d.cts +2 -2
- package/dist/web/televet/call/index.d.ts +2 -2
- package/dist/web/televet/call/index.js +28 -1
- package/dist/web/televet/index.cjs +102 -4
- package/dist/web/televet/index.d.cts +29 -10
- package/dist/web/televet/index.d.ts +29 -10
- package/dist/web/televet/index.js +102 -4
- package/package.json +20 -4
- package/web/records/upload/native-blocked.cjs +12 -0
- package/web/records/upload/package.json +8 -0
- package/dist/televetGlobal-CEk0_cW9.d.cts +0 -34
- package/dist/televetGlobal-Cs9Wbqsy.d.ts +0 -34
|
@@ -2,57 +2,24 @@ import { ReactNode, ComponentType, ReactElement } from 'react';
|
|
|
2
2
|
import { StyleProp, ViewStyle } from 'react-native';
|
|
3
3
|
import { P as PetRef } from '../../ids-B2GAAifq.cjs';
|
|
4
4
|
export { B as Brand, _ as __brand } from '../../ids-B2GAAifq.cjs';
|
|
5
|
-
import { T as TelevetEmptyRosterCause, a as TelevetStateInterestAction$1, b as TelevetMediaShortfall, c as TelevetBookingStep, d as TelevetBookingContext, e as TelevetBookingController, f as TelevetTriageRead, g as TelevetStateInterestWrite, h as TelevetVetThreadTarget, i as TelevetDayPeriod } from '../../bookingCopy-
|
|
6
|
-
export { C as CONSULT_MINUTES, N as NO_MEDIA_SHORTFALL, j as TELEVET_BOOKING_BASE, k as TELEVET_BOOKING_COPY, l as TELEVET_BOOKING_STEPS, m as TELEVET_CONSULT_PAGE_LIMIT, n as TELEVET_JOIN_CLOSES_MINUTES_AFTER, o as TELEVET_JOIN_OPENS_MINUTES_BEFORE, p as TELEVET_MESSAGE_THREADS_PATH, q as TelevetAttachmentMeta, r as TelevetAttachmentPolicy, s as TelevetBookingAction, t as TelevetBookingControllerDeps, u as TelevetBookingCopy, v as TelevetBookingDraft, w as TelevetBookingFailure, x as TelevetBookingRefusal, y as TelevetBookingState, z as TelevetEarlyTriage, A as TelevetEmptyRosterView, B as TelevetJoinReadiness, D as TelevetJoinState, E as TelevetMediaRefusal, F as TelevetRead, G as TelevetStateInterestReason, H as TelevetWrite, U as UseVetThreadOptions, V as VET_MESSAGES_COPY, I as VET_MESSAGE_CONTENT_MAX, J as VET_MESSAGE_PAGE_DEFAULT, K as VET_MESSAGE_PAGE_MAX, L as VetMessage, M as VetMessagePage, O as VetMessageRole, P as VetMessagesAvailability, Q as VetSendFailure, R as VetThread, S as VetThreadState, W as VetThreadsState, X as VisitSummary, Y as VisitSummaryMedication, Z as VisitSummaryState, _ as attestation, $ as canConfirm, a0 as canManageTelevetVisit, a1 as createTelevetBookingController, a2 as currentStep, a3 as emptyTelevetDraft, a4 as formatVisitRange, a5 as formatWhen, a6 as formatWhenWithDay, a7 as hasPreviousStep, a8 as initialTelevetBookingState, a9 as isHoldExpired, aa as isMediaShortfallEmpty, ab as isSkipped, ac as isTelevetBookingCopyReady, ad as isVetMessagesDark, ae as isVetThreadVetFirst, af as mediaShortfallFromUnsentPicks, ag as splitTelevetVisits, ah as televetBookingKey, ai as televetBookingReducer, aj as televetBookingRefusal, ak as televetCancelCall, al as televetConsultCall, am as televetEmptyRosterCause, an as televetEmptyRosterView, ao as televetHoldCall, ap as televetJoinCall, aq as televetJoinOpensAtMs, ar as televetJoinReadiness, as as televetMediaShortfallLines, at as televetRescheduleCall, au as televetThreadMessagesCall, av as televetThreadReadCall, aw as televetVisitSummaryCall, ax as useEarlyTriage, ay as useStateInterest, az as useTelevetBookConsult, aA as useTelevetBookingAvailable, aB as useTelevetBookingController, aC as useTelevetBookingEntitlement, aD as useTelevetCancellationPolicy, aE as useTelevetClinicians, aF as useTelevetHoldSlot, aG as useTelevetJoin, aH as useTelevetNextSlot, aI as useTelevetRescheduleConsult, aJ as useTelevetSlots, aK as useTelevetStatePolicy, aL as useVetThread, aM as useVetThreads, aN as useVisitSummary, aO as validateBookingBody, aP as vetThreadPetRef, aQ as withUnsentPicks } from '../../bookingCopy-
|
|
7
|
-
import { T as TelevetConsult,
|
|
8
|
-
export { C as CANCELLATION_POLICY_VERSION_MAX,
|
|
5
|
+
import { T as TelevetEmptyRosterCause, a as TelevetStateInterestAction$1, b as TelevetMediaShortfall, c as TelevetBookingStep, d as TelevetBookingContext, e as TelevetBookingController, f as TelevetTriageRead, g as TelevetStateInterestWrite, h as TelevetVetThreadTarget, i as TelevetDayPeriod } from '../../bookingCopy-4i1R7klo.cjs';
|
|
6
|
+
export { C as CONSULT_MINUTES, N as NO_MEDIA_SHORTFALL, j as TELEVET_BOOKING_BASE, k as TELEVET_BOOKING_COPY, l as TELEVET_BOOKING_STEPS, m as TELEVET_CONSULT_PAGE_LIMIT, n as TELEVET_JOIN_CLOSES_MINUTES_AFTER, o as TELEVET_JOIN_OPENS_MINUTES_BEFORE, p as TELEVET_MESSAGE_THREADS_PATH, q as TelevetAttachmentMeta, r as TelevetAttachmentPolicy, s as TelevetBookingAction, t as TelevetBookingControllerDeps, u as TelevetBookingCopy, v as TelevetBookingDraft, w as TelevetBookingFailure, x as TelevetBookingRefusal, y as TelevetBookingState, z as TelevetEarlyTriage, A as TelevetEmptyRosterView, B as TelevetJoinReadiness, D as TelevetJoinState, E as TelevetMediaRefusal, F as TelevetRead, G as TelevetStateInterestReason, H as TelevetWrite, U as UseVetThreadOptions, V as VET_MESSAGES_COPY, I as VET_MESSAGE_CONTENT_MAX, J as VET_MESSAGE_PAGE_DEFAULT, K as VET_MESSAGE_PAGE_MAX, L as VetMessage, M as VetMessagePage, O as VetMessageRole, P as VetMessagesAvailability, Q as VetSendFailure, R as VetThread, S as VetThreadState, W as VetThreadsState, X as VisitSummary, Y as VisitSummaryMedication, Z as VisitSummaryState, _ as attestation, $ as canConfirm, a0 as canManageTelevetVisit, a1 as createTelevetBookingController, a2 as currentStep, a3 as emptyTelevetDraft, a4 as formatVisitRange, a5 as formatWhen, a6 as formatWhenWithDay, a7 as hasPreviousStep, a8 as initialTelevetBookingState, a9 as isHoldExpired, aa as isMediaShortfallEmpty, ab as isSkipped, ac as isTelevetBookingCopyReady, ad as isVetMessagesDark, ae as isVetThreadVetFirst, af as mediaShortfallFromUnsentPicks, ag as splitTelevetVisits, ah as televetBookingKey, ai as televetBookingReducer, aj as televetBookingRefusal, ak as televetCancelCall, al as televetConsultCall, am as televetEmptyRosterCause, an as televetEmptyRosterView, ao as televetHoldCall, ap as televetJoinCall, aq as televetJoinOpensAtMs, ar as televetJoinReadiness, as as televetMediaShortfallLines, at as televetRescheduleCall, au as televetThreadMessagesCall, av as televetThreadReadCall, aw as televetVisitSummaryCall, ax as useEarlyTriage, ay as useStateInterest, az as useTelevetBookConsult, aA as useTelevetBookingAvailable, aB as useTelevetBookingController, aC as useTelevetBookingEntitlement, aD as useTelevetCancellationPolicy, aE as useTelevetClinicians, aF as useTelevetHoldSlot, aG as useTelevetJoin, aH as useTelevetNextSlot, aI as useTelevetRescheduleConsult, aJ as useTelevetSlots, aK as useTelevetStatePolicy, aL as useVetThread, aM as useVetThreads, aN as useVisitSummary, aO as validateBookingBody, aP as vetThreadPetRef, aQ as withUnsentPicks } from '../../bookingCopy-4i1R7klo.cjs';
|
|
7
|
+
import { T as TelevetConsult, E as EverfurTelevetFlowRequest, b as TelevetCancelReceipt, c as TelevetSlot } from '../../televetGlobal-C5dTUACe.cjs';
|
|
8
|
+
export { C as CANCELLATION_POLICY_VERSION_MAX, d as CANCEL_REASON_MAX, e as CONSULT_KINDS, f as CONSULT_STATUSES, g as ConsultKind, h as ConsultStatus, M as MEDIA_REFS_MAX, R as REASON_TEXT_MAX, i as TERMINAL_CONSULT_STATUSES, j as TelevetBookingBody, k as TelevetBookingEntitlement, l as TelevetCancellationPolicy, m as TelevetClinician, n as TelevetSlotHold, o as TelevetStatePolicy, p as TelevetTriageVerdict, q as isWellFormedStateCode } from '../../televetGlobal-C5dTUACe.cjs';
|
|
9
9
|
import { V as VetVisitIntent } from '../../visitIntent-D7_yVp1I.cjs';
|
|
10
|
-
import {
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
13
|
-
export { E as
|
|
14
|
-
export {
|
|
15
|
-
|
|
16
|
-
import '../../
|
|
17
|
-
import '../../
|
|
18
|
-
import '../../
|
|
10
|
+
import { b as TelevetPrimaryVet, a as TelevetMediaPicker, T as TelevetCalendarWriter } from '../../IntakeMedia-BFZfBLjB.cjs';
|
|
11
|
+
export { e as TelevetBookedScreen, f as TelevetBookedScreenProps, c as TelevetCalendarEvent, g as TelevetEmergencyExits, h as TelevetIntakeMedia, d as TelevetIntakeMediaItem, i as TelevetIntakeMediaProps, t as televetConsultCalendarKey } from '../../IntakeMedia-BFZfBLjB.cjs';
|
|
12
|
+
export { b as VetCallCredential, c as VetCallJoinRefusal, d as VetCallLimits, p as parseVetCallCredential, v as vetCallJoinReason, e as vetCallJoinRefusal } from '../../callRoom-DfZTWFXh.cjs';
|
|
13
|
+
export { E as EverfurError, a as EverfurErrorCategory, b as EverfurErrorCode } from '../../EverfurError-pEXDbUJ1.cjs';
|
|
14
|
+
export { E as EverfurResult } from '../../EverfurResult-dtl8ERAw.cjs';
|
|
15
|
+
export { W as WidgetPet } from '../../petsRepository-BP9nhM1R.cjs';
|
|
16
|
+
import '../../requestFunnel-BxNVGyGm.cjs';
|
|
17
|
+
import '../../ErrorPolicyPort-NFDPe-5w.cjs';
|
|
18
|
+
import '../../config-v5k6NsK_.cjs';
|
|
19
|
+
import '../../identity-BHaMJ3KK.cjs';
|
|
19
20
|
import '../../TelemetryPort-BDNr00hu.cjs';
|
|
20
21
|
import '../../profile-CSs1wlXT.cjs';
|
|
21
22
|
|
|
22
|
-
/**
|
|
23
|
-
* The pet's own clinic, when the HOST holds it.
|
|
24
|
-
*
|
|
25
|
-
* NOT READ FROM THE WIRE, and this is the one prop on this surface that could be mistaken for a gap. The
|
|
26
|
-
* consumer reads `GET /pets/{pet_id}/primary-vet` (TelevetEarlyEmergency.tsx:54); the partner plane has no
|
|
27
|
-
* primary-vet concept at all, so there is nothing for the SDK to read. A partner that already holds its
|
|
28
|
-
* customer's clinic can pass it and get the consumer's exact row; absent, the row is simply not drawn, which
|
|
29
|
-
* is what the consumer does for a pet with no clinic on file, a read that failed, or one still in flight
|
|
30
|
-
* (TelevetEarlyEmergency.tsx:28-30).
|
|
31
|
-
*
|
|
32
|
-
* NO NUMBER IS EVER INVENTED FOR THIS SCREEN. `dial` is the host's own action, not a `tel:` this file
|
|
33
|
-
* assembles, so the SDK never parses a phone number back out of a displayed line.
|
|
34
|
-
*/
|
|
35
|
-
interface TelevetPrimaryVet {
|
|
36
|
-
/** The clinic or the vet's name. Shown under the title; absent, the title stands alone. */
|
|
37
|
-
readonly detail?: string | null;
|
|
38
|
-
/**
|
|
39
|
-
* Places the call. ABSENT MEANS THE CARD IS NOT PRESSABLE: the consumer names the clinic without a dial
|
|
40
|
-
* action rather than inventing one when the directory holds no number (TelevetEarlyEmergency.tsx:107-113).
|
|
41
|
-
*/
|
|
42
|
-
readonly dial?: (() => void) | undefined;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* THE EXIT ROWS, on both places the warning is drawn: in place of Describe and at Confirm, in the artifacts' order
|
|
46
|
-
* (`vet-book-emergency`): find an emergency vet (only with the host's own locator), ASPCA Animal Poison Control
|
|
47
|
-
* (dialled from its own number), then the pet's own clinic (only when the host holds it). One white box of rows
|
|
48
|
-
* split by hairlines, inside the panel's alert wash.
|
|
49
|
-
*/
|
|
50
|
-
declare function TelevetEmergencyExits({ petName, primaryVet, onFindEmergencyVet, }: {
|
|
51
|
-
readonly petName?: string | null | undefined;
|
|
52
|
-
readonly primaryVet?: TelevetPrimaryVet | null | undefined;
|
|
53
|
-
readonly onFindEmergencyVet?: (() => void) | undefined;
|
|
54
|
-
}): ReactNode;
|
|
55
|
-
|
|
56
23
|
interface TelevetEarlyEmergencyProps {
|
|
57
24
|
/** The pet's name, for the primary-vet row. Null drops the row, as the consumer does. */
|
|
58
25
|
readonly petName?: string | null;
|
|
@@ -163,52 +130,6 @@ interface TelevetMediaDropNoticeProps {
|
|
|
163
130
|
*/
|
|
164
131
|
declare function TelevetMediaDropNotice({ shortfall, testIDPrefix, }: TelevetMediaDropNoticeProps): ReactNode;
|
|
165
132
|
|
|
166
|
-
/** The calendar entry a booked visit asks the host to write. */
|
|
167
|
-
interface TelevetCalendarEvent {
|
|
168
|
-
/**
|
|
169
|
-
* A stable key for THIS consult's entry.
|
|
170
|
-
*
|
|
171
|
-
* Keyed on the CONSULT so a re-tap updates the same entry rather than writing a second event for one visit,
|
|
172
|
-
* and so a later cancel or reschedule can address the SAME row. A host that ignores the key writes duplicates
|
|
173
|
-
* the owner has to clean up by hand.
|
|
174
|
-
*/
|
|
175
|
-
readonly key: string;
|
|
176
|
-
readonly title: string;
|
|
177
|
-
readonly startDate: Date;
|
|
178
|
-
readonly endDate: Date;
|
|
179
|
-
/** The reminder offset in minutes, negative for "before". The platform queues its own at the same offset. */
|
|
180
|
-
readonly alarmOffsetMinutes: number;
|
|
181
|
-
}
|
|
182
|
-
/** Writes the entry. Resolves true when it landed; false for a refused permission or no calendar at all. */
|
|
183
|
-
type TelevetCalendarWriter = (event: TelevetCalendarEvent) => Promise<boolean>;
|
|
184
|
-
/** The calendar key for a consult. One definition, so a cancel and a reschedule address the booked row. */
|
|
185
|
-
declare function televetConsultCalendarKey(consultId: string): string;
|
|
186
|
-
interface TelevetBookedScreenProps {
|
|
187
|
-
readonly consult: TelevetConsult;
|
|
188
|
-
readonly petName: string | null;
|
|
189
|
-
readonly onDone: () => void;
|
|
190
|
-
/** Absent, there is no Add to calendar control. */
|
|
191
|
-
readonly onAddToCalendar?: TelevetCalendarWriter | undefined;
|
|
192
|
-
/**
|
|
193
|
-
* Has the host PROVEN it can host the call in app? Defaults to false.
|
|
194
|
-
*
|
|
195
|
-
* Fail closed: a host that has not said so is assumed not to have the native video modules, and the in-app
|
|
196
|
-
* join promise is withheld rather than printed on a hope.
|
|
197
|
-
*/
|
|
198
|
-
readonly canJoinInApp?: boolean;
|
|
199
|
-
/**
|
|
200
|
-
* Did the owner share the pet's records with the vet on the review? Only then may step 02 say the records go
|
|
201
|
-
* to the vet ahead of the call; otherwise it keeps the deck's own summary line.
|
|
202
|
-
*/
|
|
203
|
-
readonly sharedRecords?: boolean | undefined;
|
|
204
|
-
/**
|
|
205
|
-
* Did exactly one PHOTO go with this booking, and did the consult keep it? Only then may step 02 say the photo
|
|
206
|
-
* goes to the vet (the artifact's photo form). Defaults to false.
|
|
207
|
-
*/
|
|
208
|
-
readonly sentPhoto?: boolean | undefined;
|
|
209
|
-
}
|
|
210
|
-
declare function TelevetBookedScreen({ consult, petName, onDone, onAddToCalendar, canJoinInApp, sharedRecords, sentPhoto, }: TelevetBookedScreenProps): ReactNode;
|
|
211
|
-
|
|
212
133
|
/**
|
|
213
134
|
* The host's own discard confirmation.
|
|
214
135
|
*
|
|
@@ -260,38 +181,6 @@ declare function TelevetBookingChrome({ step, furthestIndex, title, canGoBack, i
|
|
|
260
181
|
*/
|
|
261
182
|
declare const BACK_LABEL = "Back";
|
|
262
183
|
|
|
263
|
-
/** A picked-but-not-yet-uploaded attachment, in the host's own terms. */
|
|
264
|
-
interface TelevetIntakeMediaItem {
|
|
265
|
-
readonly uri: string;
|
|
266
|
-
readonly filename: string;
|
|
267
|
-
readonly mimeType: string;
|
|
268
|
-
readonly fileSize: number;
|
|
269
|
-
}
|
|
270
|
-
/**
|
|
271
|
-
* The host's media picker.
|
|
272
|
-
*
|
|
273
|
-
* Resolves the picks, or null when the owner cancelled or the permission was refused. The SDK takes no picker
|
|
274
|
-
* dependency: on the consumer app this is expo-image-picker behind `pickMediaFromLibrary`, and a partner
|
|
275
|
-
* supplies whichever picker its app already has.
|
|
276
|
-
*
|
|
277
|
-
* `limit` is the remaining headroom, so the host can cap its own selection rather than returning picks this
|
|
278
|
-
* row has to silently discard.
|
|
279
|
-
*/
|
|
280
|
-
type TelevetMediaPicker = (limit: number) => Promise<readonly TelevetIntakeMediaItem[] | null>;
|
|
281
|
-
interface TelevetIntakeMediaProps {
|
|
282
|
-
readonly media: readonly TelevetIntakeMediaItem[];
|
|
283
|
-
readonly onChange: (next: readonly TelevetIntakeMediaItem[]) => void;
|
|
284
|
-
/** Absent, the row renders nothing at all. There is no disabled Add control. */
|
|
285
|
-
readonly onPickMedia?: TelevetMediaPicker | undefined;
|
|
286
|
-
/**
|
|
287
|
-
* A line under the row, or nothing. The booking passes the artifact's "Optional. A close-up in good light
|
|
288
|
-
* helps." only once the televet presign has answered, because the advice is true only when a photo can reach
|
|
289
|
-
* the vet. Absent, nothing is drawn.
|
|
290
|
-
*/
|
|
291
|
-
readonly meta?: string | null | undefined;
|
|
292
|
-
}
|
|
293
|
-
declare function TelevetIntakeMedia({ media, onChange, onPickMedia, meta }: TelevetIntakeMediaProps): ReactNode;
|
|
294
|
-
|
|
295
184
|
/** What the host can tell us about a location it could not resolve, so the right card renders. */
|
|
296
185
|
type TelevetLocationStatus = 'unknown' | 'blocked' | 'unavailable';
|
|
297
186
|
interface EverfurTelevetBookingProps {
|
|
@@ -479,9 +368,17 @@ interface EverfurTelevetModalProps {
|
|
|
479
368
|
readonly request: EverfurTelevetFlowRequest;
|
|
480
369
|
/** Close the modal. Called by the flow's own exits and by a back press no screen handled. */
|
|
481
370
|
readonly onClose: () => void;
|
|
371
|
+
/** `EverfurTelevetHost`'s `onAddToCalendar`, passed through to the confirmation. */
|
|
372
|
+
readonly onAddToCalendar?: TelevetCalendarWriter | undefined;
|
|
373
|
+
/** `EverfurTelevetHost`'s `onPickMedia`, passed through to the intake step. */
|
|
374
|
+
readonly onPickMedia?: TelevetMediaPicker | undefined;
|
|
375
|
+
/** `EverfurTelevetHost`'s `primaryVet`, passed through to the emergency warning. */
|
|
376
|
+
readonly primaryVet?: TelevetPrimaryVet | null | undefined;
|
|
377
|
+
/** `EverfurTelevetHost`'s `onFindEmergencyVet`, passed through to the emergency warning. */
|
|
378
|
+
readonly onFindEmergencyVet?: (() => void) | undefined;
|
|
482
379
|
}
|
|
483
380
|
/** The in-app vet visit in a full-screen modal. */
|
|
484
|
-
declare function EverfurTelevetModal({ request, onClose }: EverfurTelevetModalProps): ReactNode;
|
|
381
|
+
declare function EverfurTelevetModal({ request, onClose, onAddToCalendar, onPickMedia, primaryVet, onFindEmergencyVet, }: EverfurTelevetModalProps): ReactNode;
|
|
485
382
|
|
|
486
383
|
interface TelevetJoinScreenProps {
|
|
487
384
|
/** The consult to join. */
|
|
@@ -664,4 +561,4 @@ declare function TelevetSummaryCard({ children, testID }: {
|
|
|
664
561
|
readonly testID?: string;
|
|
665
562
|
}): ReactNode;
|
|
666
563
|
|
|
667
|
-
export { BACK_LABEL, EverfurTelevet, EverfurTelevetBooking, type EverfurTelevetBookingProps, EverfurTelevetFlow, EverfurTelevetFlowRequest, EverfurTelevetModal, type EverfurTelevetModalProps, type EverfurTelevetProps, EverfurTelevetReschedule, type EverfurTelevetRescheduleProps, PetRef,
|
|
564
|
+
export { BACK_LABEL, EverfurTelevet, EverfurTelevetBooking, type EverfurTelevetBookingProps, EverfurTelevetFlow, EverfurTelevetFlowRequest, EverfurTelevetModal, type EverfurTelevetModalProps, type EverfurTelevetProps, EverfurTelevetReschedule, type EverfurTelevetRescheduleProps, PetRef, TelevetBookingChrome, type TelevetBookingChromeProps, TelevetBookingContext, TelevetBookingController, TelevetBookingStep, TelevetCalendarWriter, TelevetCancelReceipt, TelevetClinicianEmptyState, type TelevetClinicianEmptyStateProps, TelevetConsentCheckbox, TelevetConsult, TelevetConsultScreen, type TelevetConsultScreenProps, type TelevetDay, TelevetDayStrip, type TelevetDayStripProps, type TelevetDiscardConfirm, TelevetEarlyEmergency, type TelevetEarlyEmergencyProps, TelevetEmptyRosterCause, TelevetEntitlementInterestState, type TelevetEntitlementInterestStateProps, TelevetJoinScreen, type TelevetJoinScreenProps, type TelevetLocationStatus, TelevetMediaDropNotice, type TelevetMediaDropNoticeProps, TelevetMediaPicker, TelevetMediaShortfall, TelevetPrimaryVet, type TelevetScreen, TelevetSlot, TelevetSlotPicker, type TelevetSlotPickerProps, TelevetStateInterestAction, type TelevetStateInterestActionProps, TelevetStateInterestAction$1 as TelevetStateInterestLifecycle, TelevetStateInterestWrite, TelevetSummaryCard, TelevetSummaryRow, TelevetTriageRead, TelevetVetThreadScreen, type TelevetVetThreadScreenProps, TelevetVetThreadTarget, TelevetVisitSummaryScreen, type TelevetVisitSummaryScreenProps, TelevetVisitsScreen, type TelevetVisitsScreenProps, VetVisitIntent, televetDaysFromSlots, televetScreenForRequest };
|
|
@@ -2,57 +2,24 @@ import { ReactNode, ComponentType, ReactElement } from 'react';
|
|
|
2
2
|
import { StyleProp, ViewStyle } from 'react-native';
|
|
3
3
|
import { P as PetRef } from '../../ids-B2GAAifq.js';
|
|
4
4
|
export { B as Brand, _ as __brand } from '../../ids-B2GAAifq.js';
|
|
5
|
-
import { T as TelevetEmptyRosterCause, a as TelevetStateInterestAction$1, b as TelevetMediaShortfall, c as TelevetBookingStep, d as TelevetBookingContext, e as TelevetBookingController, f as TelevetTriageRead, g as TelevetStateInterestWrite, h as TelevetVetThreadTarget, i as TelevetDayPeriod } from '../../bookingCopy-
|
|
6
|
-
export { C as CONSULT_MINUTES, N as NO_MEDIA_SHORTFALL, j as TELEVET_BOOKING_BASE, k as TELEVET_BOOKING_COPY, l as TELEVET_BOOKING_STEPS, m as TELEVET_CONSULT_PAGE_LIMIT, n as TELEVET_JOIN_CLOSES_MINUTES_AFTER, o as TELEVET_JOIN_OPENS_MINUTES_BEFORE, p as TELEVET_MESSAGE_THREADS_PATH, q as TelevetAttachmentMeta, r as TelevetAttachmentPolicy, s as TelevetBookingAction, t as TelevetBookingControllerDeps, u as TelevetBookingCopy, v as TelevetBookingDraft, w as TelevetBookingFailure, x as TelevetBookingRefusal, y as TelevetBookingState, z as TelevetEarlyTriage, A as TelevetEmptyRosterView, B as TelevetJoinReadiness, D as TelevetJoinState, E as TelevetMediaRefusal, F as TelevetRead, G as TelevetStateInterestReason, H as TelevetWrite, U as UseVetThreadOptions, V as VET_MESSAGES_COPY, I as VET_MESSAGE_CONTENT_MAX, J as VET_MESSAGE_PAGE_DEFAULT, K as VET_MESSAGE_PAGE_MAX, L as VetMessage, M as VetMessagePage, O as VetMessageRole, P as VetMessagesAvailability, Q as VetSendFailure, R as VetThread, S as VetThreadState, W as VetThreadsState, X as VisitSummary, Y as VisitSummaryMedication, Z as VisitSummaryState, _ as attestation, $ as canConfirm, a0 as canManageTelevetVisit, a1 as createTelevetBookingController, a2 as currentStep, a3 as emptyTelevetDraft, a4 as formatVisitRange, a5 as formatWhen, a6 as formatWhenWithDay, a7 as hasPreviousStep, a8 as initialTelevetBookingState, a9 as isHoldExpired, aa as isMediaShortfallEmpty, ab as isSkipped, ac as isTelevetBookingCopyReady, ad as isVetMessagesDark, ae as isVetThreadVetFirst, af as mediaShortfallFromUnsentPicks, ag as splitTelevetVisits, ah as televetBookingKey, ai as televetBookingReducer, aj as televetBookingRefusal, ak as televetCancelCall, al as televetConsultCall, am as televetEmptyRosterCause, an as televetEmptyRosterView, ao as televetHoldCall, ap as televetJoinCall, aq as televetJoinOpensAtMs, ar as televetJoinReadiness, as as televetMediaShortfallLines, at as televetRescheduleCall, au as televetThreadMessagesCall, av as televetThreadReadCall, aw as televetVisitSummaryCall, ax as useEarlyTriage, ay as useStateInterest, az as useTelevetBookConsult, aA as useTelevetBookingAvailable, aB as useTelevetBookingController, aC as useTelevetBookingEntitlement, aD as useTelevetCancellationPolicy, aE as useTelevetClinicians, aF as useTelevetHoldSlot, aG as useTelevetJoin, aH as useTelevetNextSlot, aI as useTelevetRescheduleConsult, aJ as useTelevetSlots, aK as useTelevetStatePolicy, aL as useVetThread, aM as useVetThreads, aN as useVisitSummary, aO as validateBookingBody, aP as vetThreadPetRef, aQ as withUnsentPicks } from '../../bookingCopy-
|
|
7
|
-
import { T as TelevetConsult,
|
|
8
|
-
export { C as CANCELLATION_POLICY_VERSION_MAX,
|
|
5
|
+
import { T as TelevetEmptyRosterCause, a as TelevetStateInterestAction$1, b as TelevetMediaShortfall, c as TelevetBookingStep, d as TelevetBookingContext, e as TelevetBookingController, f as TelevetTriageRead, g as TelevetStateInterestWrite, h as TelevetVetThreadTarget, i as TelevetDayPeriod } from '../../bookingCopy-B3UMITD-.js';
|
|
6
|
+
export { C as CONSULT_MINUTES, N as NO_MEDIA_SHORTFALL, j as TELEVET_BOOKING_BASE, k as TELEVET_BOOKING_COPY, l as TELEVET_BOOKING_STEPS, m as TELEVET_CONSULT_PAGE_LIMIT, n as TELEVET_JOIN_CLOSES_MINUTES_AFTER, o as TELEVET_JOIN_OPENS_MINUTES_BEFORE, p as TELEVET_MESSAGE_THREADS_PATH, q as TelevetAttachmentMeta, r as TelevetAttachmentPolicy, s as TelevetBookingAction, t as TelevetBookingControllerDeps, u as TelevetBookingCopy, v as TelevetBookingDraft, w as TelevetBookingFailure, x as TelevetBookingRefusal, y as TelevetBookingState, z as TelevetEarlyTriage, A as TelevetEmptyRosterView, B as TelevetJoinReadiness, D as TelevetJoinState, E as TelevetMediaRefusal, F as TelevetRead, G as TelevetStateInterestReason, H as TelevetWrite, U as UseVetThreadOptions, V as VET_MESSAGES_COPY, I as VET_MESSAGE_CONTENT_MAX, J as VET_MESSAGE_PAGE_DEFAULT, K as VET_MESSAGE_PAGE_MAX, L as VetMessage, M as VetMessagePage, O as VetMessageRole, P as VetMessagesAvailability, Q as VetSendFailure, R as VetThread, S as VetThreadState, W as VetThreadsState, X as VisitSummary, Y as VisitSummaryMedication, Z as VisitSummaryState, _ as attestation, $ as canConfirm, a0 as canManageTelevetVisit, a1 as createTelevetBookingController, a2 as currentStep, a3 as emptyTelevetDraft, a4 as formatVisitRange, a5 as formatWhen, a6 as formatWhenWithDay, a7 as hasPreviousStep, a8 as initialTelevetBookingState, a9 as isHoldExpired, aa as isMediaShortfallEmpty, ab as isSkipped, ac as isTelevetBookingCopyReady, ad as isVetMessagesDark, ae as isVetThreadVetFirst, af as mediaShortfallFromUnsentPicks, ag as splitTelevetVisits, ah as televetBookingKey, ai as televetBookingReducer, aj as televetBookingRefusal, ak as televetCancelCall, al as televetConsultCall, am as televetEmptyRosterCause, an as televetEmptyRosterView, ao as televetHoldCall, ap as televetJoinCall, aq as televetJoinOpensAtMs, ar as televetJoinReadiness, as as televetMediaShortfallLines, at as televetRescheduleCall, au as televetThreadMessagesCall, av as televetThreadReadCall, aw as televetVisitSummaryCall, ax as useEarlyTriage, ay as useStateInterest, az as useTelevetBookConsult, aA as useTelevetBookingAvailable, aB as useTelevetBookingController, aC as useTelevetBookingEntitlement, aD as useTelevetCancellationPolicy, aE as useTelevetClinicians, aF as useTelevetHoldSlot, aG as useTelevetJoin, aH as useTelevetNextSlot, aI as useTelevetRescheduleConsult, aJ as useTelevetSlots, aK as useTelevetStatePolicy, aL as useVetThread, aM as useVetThreads, aN as useVisitSummary, aO as validateBookingBody, aP as vetThreadPetRef, aQ as withUnsentPicks } from '../../bookingCopy-B3UMITD-.js';
|
|
7
|
+
import { T as TelevetConsult, E as EverfurTelevetFlowRequest, b as TelevetCancelReceipt, c as TelevetSlot } from '../../televetGlobal-CnjrfhT4.js';
|
|
8
|
+
export { C as CANCELLATION_POLICY_VERSION_MAX, d as CANCEL_REASON_MAX, e as CONSULT_KINDS, f as CONSULT_STATUSES, g as ConsultKind, h as ConsultStatus, M as MEDIA_REFS_MAX, R as REASON_TEXT_MAX, i as TERMINAL_CONSULT_STATUSES, j as TelevetBookingBody, k as TelevetBookingEntitlement, l as TelevetCancellationPolicy, m as TelevetClinician, n as TelevetSlotHold, o as TelevetStatePolicy, p as TelevetTriageVerdict, q as isWellFormedStateCode } from '../../televetGlobal-CnjrfhT4.js';
|
|
9
9
|
import { V as VetVisitIntent } from '../../visitIntent-D7_yVp1I.js';
|
|
10
|
-
import {
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
13
|
-
export { E as
|
|
14
|
-
export {
|
|
15
|
-
|
|
16
|
-
import '../../
|
|
17
|
-
import '../../
|
|
18
|
-
import '../../
|
|
10
|
+
import { b as TelevetPrimaryVet, a as TelevetMediaPicker, T as TelevetCalendarWriter } from '../../IntakeMedia-C8GlN_GK.js';
|
|
11
|
+
export { e as TelevetBookedScreen, f as TelevetBookedScreenProps, c as TelevetCalendarEvent, g as TelevetEmergencyExits, h as TelevetIntakeMedia, d as TelevetIntakeMediaItem, i as TelevetIntakeMediaProps, t as televetConsultCalendarKey } from '../../IntakeMedia-C8GlN_GK.js';
|
|
12
|
+
export { b as VetCallCredential, c as VetCallJoinRefusal, d as VetCallLimits, p as parseVetCallCredential, v as vetCallJoinReason, e as vetCallJoinRefusal } from '../../callRoom-B1qq_D-4.js';
|
|
13
|
+
export { E as EverfurError, a as EverfurErrorCategory, b as EverfurErrorCode } from '../../EverfurError-pEXDbUJ1.js';
|
|
14
|
+
export { E as EverfurResult } from '../../EverfurResult-sKkoXew0.js';
|
|
15
|
+
export { W as WidgetPet } from '../../petsRepository-B2lO1sKS.js';
|
|
16
|
+
import '../../requestFunnel-BrOijMcw.js';
|
|
17
|
+
import '../../ErrorPolicyPort-DwSnmGcX.js';
|
|
18
|
+
import '../../config-Cvo47voG.js';
|
|
19
|
+
import '../../identity-B8GkH53J.js';
|
|
19
20
|
import '../../TelemetryPort-BDNr00hu.js';
|
|
20
21
|
import '../../profile-CSs1wlXT.js';
|
|
21
22
|
|
|
22
|
-
/**
|
|
23
|
-
* The pet's own clinic, when the HOST holds it.
|
|
24
|
-
*
|
|
25
|
-
* NOT READ FROM THE WIRE, and this is the one prop on this surface that could be mistaken for a gap. The
|
|
26
|
-
* consumer reads `GET /pets/{pet_id}/primary-vet` (TelevetEarlyEmergency.tsx:54); the partner plane has no
|
|
27
|
-
* primary-vet concept at all, so there is nothing for the SDK to read. A partner that already holds its
|
|
28
|
-
* customer's clinic can pass it and get the consumer's exact row; absent, the row is simply not drawn, which
|
|
29
|
-
* is what the consumer does for a pet with no clinic on file, a read that failed, or one still in flight
|
|
30
|
-
* (TelevetEarlyEmergency.tsx:28-30).
|
|
31
|
-
*
|
|
32
|
-
* NO NUMBER IS EVER INVENTED FOR THIS SCREEN. `dial` is the host's own action, not a `tel:` this file
|
|
33
|
-
* assembles, so the SDK never parses a phone number back out of a displayed line.
|
|
34
|
-
*/
|
|
35
|
-
interface TelevetPrimaryVet {
|
|
36
|
-
/** The clinic or the vet's name. Shown under the title; absent, the title stands alone. */
|
|
37
|
-
readonly detail?: string | null;
|
|
38
|
-
/**
|
|
39
|
-
* Places the call. ABSENT MEANS THE CARD IS NOT PRESSABLE: the consumer names the clinic without a dial
|
|
40
|
-
* action rather than inventing one when the directory holds no number (TelevetEarlyEmergency.tsx:107-113).
|
|
41
|
-
*/
|
|
42
|
-
readonly dial?: (() => void) | undefined;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* THE EXIT ROWS, on both places the warning is drawn: in place of Describe and at Confirm, in the artifacts' order
|
|
46
|
-
* (`vet-book-emergency`): find an emergency vet (only with the host's own locator), ASPCA Animal Poison Control
|
|
47
|
-
* (dialled from its own number), then the pet's own clinic (only when the host holds it). One white box of rows
|
|
48
|
-
* split by hairlines, inside the panel's alert wash.
|
|
49
|
-
*/
|
|
50
|
-
declare function TelevetEmergencyExits({ petName, primaryVet, onFindEmergencyVet, }: {
|
|
51
|
-
readonly petName?: string | null | undefined;
|
|
52
|
-
readonly primaryVet?: TelevetPrimaryVet | null | undefined;
|
|
53
|
-
readonly onFindEmergencyVet?: (() => void) | undefined;
|
|
54
|
-
}): ReactNode;
|
|
55
|
-
|
|
56
23
|
interface TelevetEarlyEmergencyProps {
|
|
57
24
|
/** The pet's name, for the primary-vet row. Null drops the row, as the consumer does. */
|
|
58
25
|
readonly petName?: string | null;
|
|
@@ -163,52 +130,6 @@ interface TelevetMediaDropNoticeProps {
|
|
|
163
130
|
*/
|
|
164
131
|
declare function TelevetMediaDropNotice({ shortfall, testIDPrefix, }: TelevetMediaDropNoticeProps): ReactNode;
|
|
165
132
|
|
|
166
|
-
/** The calendar entry a booked visit asks the host to write. */
|
|
167
|
-
interface TelevetCalendarEvent {
|
|
168
|
-
/**
|
|
169
|
-
* A stable key for THIS consult's entry.
|
|
170
|
-
*
|
|
171
|
-
* Keyed on the CONSULT so a re-tap updates the same entry rather than writing a second event for one visit,
|
|
172
|
-
* and so a later cancel or reschedule can address the SAME row. A host that ignores the key writes duplicates
|
|
173
|
-
* the owner has to clean up by hand.
|
|
174
|
-
*/
|
|
175
|
-
readonly key: string;
|
|
176
|
-
readonly title: string;
|
|
177
|
-
readonly startDate: Date;
|
|
178
|
-
readonly endDate: Date;
|
|
179
|
-
/** The reminder offset in minutes, negative for "before". The platform queues its own at the same offset. */
|
|
180
|
-
readonly alarmOffsetMinutes: number;
|
|
181
|
-
}
|
|
182
|
-
/** Writes the entry. Resolves true when it landed; false for a refused permission or no calendar at all. */
|
|
183
|
-
type TelevetCalendarWriter = (event: TelevetCalendarEvent) => Promise<boolean>;
|
|
184
|
-
/** The calendar key for a consult. One definition, so a cancel and a reschedule address the booked row. */
|
|
185
|
-
declare function televetConsultCalendarKey(consultId: string): string;
|
|
186
|
-
interface TelevetBookedScreenProps {
|
|
187
|
-
readonly consult: TelevetConsult;
|
|
188
|
-
readonly petName: string | null;
|
|
189
|
-
readonly onDone: () => void;
|
|
190
|
-
/** Absent, there is no Add to calendar control. */
|
|
191
|
-
readonly onAddToCalendar?: TelevetCalendarWriter | undefined;
|
|
192
|
-
/**
|
|
193
|
-
* Has the host PROVEN it can host the call in app? Defaults to false.
|
|
194
|
-
*
|
|
195
|
-
* Fail closed: a host that has not said so is assumed not to have the native video modules, and the in-app
|
|
196
|
-
* join promise is withheld rather than printed on a hope.
|
|
197
|
-
*/
|
|
198
|
-
readonly canJoinInApp?: boolean;
|
|
199
|
-
/**
|
|
200
|
-
* Did the owner share the pet's records with the vet on the review? Only then may step 02 say the records go
|
|
201
|
-
* to the vet ahead of the call; otherwise it keeps the deck's own summary line.
|
|
202
|
-
*/
|
|
203
|
-
readonly sharedRecords?: boolean | undefined;
|
|
204
|
-
/**
|
|
205
|
-
* Did exactly one PHOTO go with this booking, and did the consult keep it? Only then may step 02 say the photo
|
|
206
|
-
* goes to the vet (the artifact's photo form). Defaults to false.
|
|
207
|
-
*/
|
|
208
|
-
readonly sentPhoto?: boolean | undefined;
|
|
209
|
-
}
|
|
210
|
-
declare function TelevetBookedScreen({ consult, petName, onDone, onAddToCalendar, canJoinInApp, sharedRecords, sentPhoto, }: TelevetBookedScreenProps): ReactNode;
|
|
211
|
-
|
|
212
133
|
/**
|
|
213
134
|
* The host's own discard confirmation.
|
|
214
135
|
*
|
|
@@ -260,38 +181,6 @@ declare function TelevetBookingChrome({ step, furthestIndex, title, canGoBack, i
|
|
|
260
181
|
*/
|
|
261
182
|
declare const BACK_LABEL = "Back";
|
|
262
183
|
|
|
263
|
-
/** A picked-but-not-yet-uploaded attachment, in the host's own terms. */
|
|
264
|
-
interface TelevetIntakeMediaItem {
|
|
265
|
-
readonly uri: string;
|
|
266
|
-
readonly filename: string;
|
|
267
|
-
readonly mimeType: string;
|
|
268
|
-
readonly fileSize: number;
|
|
269
|
-
}
|
|
270
|
-
/**
|
|
271
|
-
* The host's media picker.
|
|
272
|
-
*
|
|
273
|
-
* Resolves the picks, or null when the owner cancelled or the permission was refused. The SDK takes no picker
|
|
274
|
-
* dependency: on the consumer app this is expo-image-picker behind `pickMediaFromLibrary`, and a partner
|
|
275
|
-
* supplies whichever picker its app already has.
|
|
276
|
-
*
|
|
277
|
-
* `limit` is the remaining headroom, so the host can cap its own selection rather than returning picks this
|
|
278
|
-
* row has to silently discard.
|
|
279
|
-
*/
|
|
280
|
-
type TelevetMediaPicker = (limit: number) => Promise<readonly TelevetIntakeMediaItem[] | null>;
|
|
281
|
-
interface TelevetIntakeMediaProps {
|
|
282
|
-
readonly media: readonly TelevetIntakeMediaItem[];
|
|
283
|
-
readonly onChange: (next: readonly TelevetIntakeMediaItem[]) => void;
|
|
284
|
-
/** Absent, the row renders nothing at all. There is no disabled Add control. */
|
|
285
|
-
readonly onPickMedia?: TelevetMediaPicker | undefined;
|
|
286
|
-
/**
|
|
287
|
-
* A line under the row, or nothing. The booking passes the artifact's "Optional. A close-up in good light
|
|
288
|
-
* helps." only once the televet presign has answered, because the advice is true only when a photo can reach
|
|
289
|
-
* the vet. Absent, nothing is drawn.
|
|
290
|
-
*/
|
|
291
|
-
readonly meta?: string | null | undefined;
|
|
292
|
-
}
|
|
293
|
-
declare function TelevetIntakeMedia({ media, onChange, onPickMedia, meta }: TelevetIntakeMediaProps): ReactNode;
|
|
294
|
-
|
|
295
184
|
/** What the host can tell us about a location it could not resolve, so the right card renders. */
|
|
296
185
|
type TelevetLocationStatus = 'unknown' | 'blocked' | 'unavailable';
|
|
297
186
|
interface EverfurTelevetBookingProps {
|
|
@@ -479,9 +368,17 @@ interface EverfurTelevetModalProps {
|
|
|
479
368
|
readonly request: EverfurTelevetFlowRequest;
|
|
480
369
|
/** Close the modal. Called by the flow's own exits and by a back press no screen handled. */
|
|
481
370
|
readonly onClose: () => void;
|
|
371
|
+
/** `EverfurTelevetHost`'s `onAddToCalendar`, passed through to the confirmation. */
|
|
372
|
+
readonly onAddToCalendar?: TelevetCalendarWriter | undefined;
|
|
373
|
+
/** `EverfurTelevetHost`'s `onPickMedia`, passed through to the intake step. */
|
|
374
|
+
readonly onPickMedia?: TelevetMediaPicker | undefined;
|
|
375
|
+
/** `EverfurTelevetHost`'s `primaryVet`, passed through to the emergency warning. */
|
|
376
|
+
readonly primaryVet?: TelevetPrimaryVet | null | undefined;
|
|
377
|
+
/** `EverfurTelevetHost`'s `onFindEmergencyVet`, passed through to the emergency warning. */
|
|
378
|
+
readonly onFindEmergencyVet?: (() => void) | undefined;
|
|
482
379
|
}
|
|
483
380
|
/** The in-app vet visit in a full-screen modal. */
|
|
484
|
-
declare function EverfurTelevetModal({ request, onClose }: EverfurTelevetModalProps): ReactNode;
|
|
381
|
+
declare function EverfurTelevetModal({ request, onClose, onAddToCalendar, onPickMedia, primaryVet, onFindEmergencyVet, }: EverfurTelevetModalProps): ReactNode;
|
|
485
382
|
|
|
486
383
|
interface TelevetJoinScreenProps {
|
|
487
384
|
/** The consult to join. */
|
|
@@ -664,4 +561,4 @@ declare function TelevetSummaryCard({ children, testID }: {
|
|
|
664
561
|
readonly testID?: string;
|
|
665
562
|
}): ReactNode;
|
|
666
563
|
|
|
667
|
-
export { BACK_LABEL, EverfurTelevet, EverfurTelevetBooking, type EverfurTelevetBookingProps, EverfurTelevetFlow, EverfurTelevetFlowRequest, EverfurTelevetModal, type EverfurTelevetModalProps, type EverfurTelevetProps, EverfurTelevetReschedule, type EverfurTelevetRescheduleProps, PetRef,
|
|
564
|
+
export { BACK_LABEL, EverfurTelevet, EverfurTelevetBooking, type EverfurTelevetBookingProps, EverfurTelevetFlow, EverfurTelevetFlowRequest, EverfurTelevetModal, type EverfurTelevetModalProps, type EverfurTelevetProps, EverfurTelevetReschedule, type EverfurTelevetRescheduleProps, PetRef, TelevetBookingChrome, type TelevetBookingChromeProps, TelevetBookingContext, TelevetBookingController, TelevetBookingStep, TelevetCalendarWriter, TelevetCancelReceipt, TelevetClinicianEmptyState, type TelevetClinicianEmptyStateProps, TelevetConsentCheckbox, TelevetConsult, TelevetConsultScreen, type TelevetConsultScreenProps, type TelevetDay, TelevetDayStrip, type TelevetDayStripProps, type TelevetDiscardConfirm, TelevetEarlyEmergency, type TelevetEarlyEmergencyProps, TelevetEmptyRosterCause, TelevetEntitlementInterestState, type TelevetEntitlementInterestStateProps, TelevetJoinScreen, type TelevetJoinScreenProps, type TelevetLocationStatus, TelevetMediaDropNotice, type TelevetMediaDropNoticeProps, TelevetMediaPicker, TelevetMediaShortfall, TelevetPrimaryVet, type TelevetScreen, TelevetSlot, TelevetSlotPicker, type TelevetSlotPickerProps, TelevetStateInterestAction, type TelevetStateInterestActionProps, TelevetStateInterestAction$1 as TelevetStateInterestLifecycle, TelevetStateInterestWrite, TelevetSummaryCard, TelevetSummaryRow, TelevetTriageRead, TelevetVetThreadScreen, type TelevetVetThreadScreenProps, TelevetVetThreadTarget, TelevetVisitSummaryScreen, type TelevetVisitSummaryScreenProps, TelevetVisitsScreen, type TelevetVisitsScreenProps, VetVisitIntent, televetDaysFromSlots, televetScreenForRequest };
|