@everfur/sdk 0.5.0 → 0.5.2
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 +375 -0
- package/dist/BookedScreen-BJPbXLCG.d.ts +54 -0
- package/dist/BookedScreen-Cnld-jB_.d.cts +54 -0
- package/dist/{Chat-TA-aTcVF.d.cts → Chat-B43wIXCv.d.cts} +3 -3
- package/dist/{Chat-BOX-03ho.d.ts → Chat-my5aJLz5.d.ts} +3 -3
- package/dist/{DepthViews-DSFyaSeL.d.cts → DepthViews-BBTv9VAs.d.cts} +1 -1
- package/dist/{DepthViews-Cviea-ri.d.cts → DepthViews-BLK0kgza.d.cts} +1 -1
- package/dist/{DepthViews-CgjX2AJ5.d.ts → DepthViews-CNqAyjne.d.ts} +1 -1
- package/dist/{DepthViews-D2dRqWRq.d.ts → DepthViews-G-7YRtOX.d.ts} +1 -1
- package/dist/animations/index.cjs +1 -1
- package/dist/animations/index.d.cts +3 -3
- package/dist/animations/index.d.ts +3 -3
- package/dist/animations/index.js +1 -1
- package/dist/{attachments-DHvnITuE.d.cts → attachments-CEmT52IA.d.cts} +5 -5
- package/dist/{attachments-oD5U2fXI.d.ts → attachments-CMNWE6YT.d.ts} +2 -2
- package/dist/{attachments-C_vtFu2f.d.ts → attachments-DU1djTNd.d.ts} +5 -5
- package/dist/{attachments-pIdGOQfm.d.cts → attachments-ZyjWsZdI.d.cts} +2 -2
- package/dist/{bookingCopy-CJir9mjb.d.ts → bookingCopy-BVhEt1bj.d.ts} +38 -200
- package/dist/{bookingCopy-DfuA13dh.d.cts → bookingCopy-ChZR5mtd.d.cts} +38 -200
- package/dist/bookingTypes-DCs8mmBb.d.cts +188 -0
- package/dist/bookingTypes-DCs8mmBb.d.ts +188 -0
- package/dist/{callCopy-rDH9JTFo.d.cts → callCopy-CPe9mbwG.d.cts} +7 -2
- package/dist/{callCopy-rDH9JTFo.d.ts → callCopy-CPe9mbwG.d.ts} +7 -2
- package/dist/{casesRepository-DHgIYKN9.d.ts → casesRepository-C5zrCcaE.d.ts} +1 -1
- package/dist/{casesRepository-B-Eg8ZJ3.d.cts → casesRepository-q2ak9AW0.d.cts} +1 -1
- package/dist/chat/index.cjs +1 -1
- package/dist/chat/index.d.cts +14 -10
- package/dist/chat/index.d.ts +14 -10
- package/dist/chat/index.js +1 -1
- package/dist/client/index.cjs +5 -5
- package/dist/client/index.d.cts +6 -6
- package/dist/client/index.d.ts +6 -6
- package/dist/client/index.js +5 -5
- package/dist/{config-ClI7QxB0.d.ts → config-DBpKJJbg.d.ts} +1 -1
- package/dist/{config-DAFbf721.d.cts → config-jocy3q66.d.cts} +1 -1
- package/dist/consent/index.cjs +1 -1
- package/dist/consent/index.d.cts +5 -5
- package/dist/consent/index.d.ts +5 -5
- package/dist/consent/index.js +1 -1
- package/dist/{context-B-dUM1Qf.d.cts → context-BfVBRgro.d.cts} +5 -5
- package/dist/{context-CZbgF_OH.d.ts → context-C3n9s4aG.d.ts} +5 -5
- package/dist/{copy-CneuYdrO.d.cts → copy-IysFx8yL.d.cts} +2 -2
- package/dist/{copy-CeRH3NXy.d.ts → copy-KP91zgtW.d.ts} +2 -2
- package/dist/core/index.cjs +7 -7
- package/dist/core/index.d.cts +12 -12
- package/dist/core/index.d.ts +12 -12
- package/dist/core/index.js +7 -7
- package/dist/{depth-DO3Ko_qs.d.ts → depth-BsMLLrQo.d.ts} +2 -2
- package/dist/{depth-B3NFKlF9.d.cts → depth-O9kiVUjs.d.cts} +2 -2
- package/dist/{entitlementRepository-74kW5mK0.d.ts → entitlementRepository-CHsY2kF3.d.ts} +2 -2
- package/dist/{entitlementRepository-m6zLUmiB.d.cts → entitlementRepository-DIG16pso.d.cts} +2 -2
- package/dist/{identity-C7uxGwfT.d.cts → identity-D7GKfOE7.d.cts} +1 -1
- package/dist/{identity-CLAUq-K4.d.ts → identity-k8nCQ_qM.d.ts} +1 -1
- package/dist/index.cjs +6 -6
- package/dist/index.d.cts +13 -13
- package/dist/index.d.ts +13 -13
- package/dist/index.js +6 -6
- package/dist/notifications/index.cjs +2 -2
- package/dist/notifications/index.d.cts +2 -2
- package/dist/notifications/index.d.ts +2 -2
- package/dist/notifications/index.js +2 -2
- package/dist/{pets-BoB5B7kp.d.cts → pets-Bod_DDiW.d.cts} +1 -1
- package/dist/{pets-w4M9d-Dn.d.ts → pets-C_QX8s5f.d.ts} +1 -1
- package/dist/{petsRepository-DZZoEG3r.d.cts → petsRepository-B3vr628I.d.cts} +1 -1
- package/dist/{petsRepository-BjKJ8UsN.d.ts → petsRepository-DdzgINfF.d.ts} +1 -1
- package/dist/photo/index.cjs +1 -1
- package/dist/photo/index.js +1 -1
- package/dist/{ports-C2EVK416.d.cts → ports-BSm48zIC.d.cts} +16 -5
- package/dist/{ports-BO3bzTJg.d.ts → ports-DHhxhn95.d.ts} +16 -5
- package/dist/records/depth/index.cjs +2 -2
- package/dist/records/depth/index.d.cts +7 -7
- package/dist/records/depth/index.d.ts +7 -7
- package/dist/records/depth/index.js +2 -2
- package/dist/records/index.cjs +3 -3
- package/dist/records/index.d.cts +10 -10
- package/dist/records/index.d.ts +10 -10
- package/dist/records/index.js +3 -3
- package/dist/{requestFunnel-D7ipek3e.d.ts → requestFunnel-CTG-wNc3.d.ts} +2 -2
- package/dist/{requestFunnel-Djjwgoe9.d.cts → requestFunnel-Dcjyh0j2.d.cts} +2 -2
- package/dist/{runtimeTypes-D2C9uD85.d.cts → runtimeTypes-4qptUulD.d.cts} +4 -4
- package/dist/{runtimeTypes-CTL3yToK.d.ts → runtimeTypes-CmpdQaE2.d.ts} +4 -4
- package/dist/server/events/index.cjs +1 -1
- package/dist/server/events/index.d.cts +2 -2
- package/dist/server/events/index.d.ts +2 -2
- package/dist/server/events/index.js +1 -1
- package/dist/server/index.cjs +2 -2
- package/dist/server/index.d.cts +3 -3
- package/dist/server/index.d.ts +3 -3
- package/dist/server/index.js +2 -2
- package/dist/televet/booking/index.cjs +1 -1
- package/dist/televet/booking/index.d.cts +31 -17
- package/dist/televet/booking/index.d.ts +31 -17
- package/dist/televet/booking/index.js +1 -1
- package/dist/televet/call/index.cjs +1 -1
- package/dist/televet/call/index.d.cts +13 -1
- package/dist/televet/call/index.d.ts +13 -1
- package/dist/televet/call/index.js +1 -1
- package/dist/televet/index.cjs +1 -1
- package/dist/televet/index.js +1 -1
- package/dist/testing/index.cjs +3 -3
- package/dist/testing/index.d.cts +1 -1
- package/dist/testing/index.d.ts +1 -1
- package/dist/testing/index.js +3 -3
- package/dist/testing/rn/index.cjs +1 -1
- package/dist/testing/rn/index.d.cts +7 -7
- package/dist/testing/rn/index.d.ts +7 -7
- package/dist/testing/rn/index.js +1 -1
- package/dist/testing/web/index.cjs +1 -1
- package/dist/testing/web/index.d.cts +7 -7
- package/dist/testing/web/index.d.ts +7 -7
- package/dist/testing/web/index.js +1 -1
- package/dist/{timelineRows-CzR1T2DR.d.cts → timelineRows-BkLhRUDt.d.cts} +1 -1
- package/dist/{timelineRows-7yFNK_rU.d.ts → timelineRows-Dp4ZSnAo.d.ts} +1 -1
- package/dist/{uploadTransport-DKJHs3Yj.d.cts → uploadTransport-C1p8FuG8.d.cts} +5 -1
- package/dist/{uploadTransport-D0M0T4hN.d.ts → uploadTransport-bZIKBTyK.d.ts} +5 -1
- package/dist/{useRecordsDepth-Bnw36jPr.d.cts → useRecordsDepth-DRNry1r9.d.cts} +1 -1
- package/dist/{useRecordsDepth-DFF7Faxx.d.ts → useRecordsDepth-DnDhTaUL.d.ts} +1 -1
- package/dist/video/index.cjs +1 -1
- package/dist/video/index.js +1 -1
- package/dist/{view-BqcOYFTr.d.ts → view-CwuOPIJc.d.ts} +7 -4
- package/dist/{view-CaJs8WFH.d.cts → view-D4VdPKCa.d.cts} +7 -4
- package/dist/web/consent/index.cjs +1 -1
- package/dist/web/consent/index.d.cts +5 -5
- package/dist/web/consent/index.d.ts +5 -5
- package/dist/web/consent/index.js +1 -1
- package/dist/web/index.cjs +10 -10
- package/dist/web/index.d.cts +14 -14
- package/dist/web/index.d.ts +14 -14
- package/dist/web/index.js +10 -10
- package/dist/web/notifications/index.cjs +2 -2
- package/dist/web/notifications/index.d.cts +3 -3
- package/dist/web/notifications/index.d.ts +3 -3
- package/dist/web/notifications/index.js +2 -2
- package/dist/web/records/depth/index.cjs +2 -2
- package/dist/web/records/depth/index.d.cts +7 -7
- package/dist/web/records/depth/index.d.ts +7 -7
- package/dist/web/records/depth/index.js +2 -2
- package/dist/web/records/index.cjs +3 -3
- package/dist/web/records/index.d.cts +9 -9
- package/dist/web/records/index.d.ts +9 -9
- package/dist/web/records/index.js +3 -3
- package/dist/web/televet/booking/index.cjs +2 -2
- package/dist/web/televet/booking/index.d.cts +41 -52
- package/dist/web/televet/booking/index.d.ts +41 -52
- package/dist/web/televet/booking/index.js +2 -2
- package/dist/web/televet/call/index.cjs +1 -1
- package/dist/web/televet/call/index.d.cts +12 -5
- package/dist/web/televet/call/index.d.ts +12 -5
- package/dist/web/televet/call/index.js +1 -1
- package/dist/web/televet/index.cjs +4 -1
- package/dist/web/televet/index.d.cts +31 -2
- package/dist/web/televet/index.d.ts +31 -2
- package/dist/web/televet/index.js +4 -1
- package/package.json +4 -3
|
@@ -2,18 +2,20 @@ 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
|
|
6
|
-
export { C as
|
|
5
|
+
import { T as TelevetEmptyRosterCause, a as TelevetStateInterestAction$1, b as TelevetMediaShortfall, c as TelevetBookingStep, d as TelevetBookingController, e as TelevetTriageRead, f as TelevetStateInterestWrite } from '../../bookingCopy-ChZR5mtd.cjs';
|
|
6
|
+
export { C as CONSULT_MINUTES, N as NO_MEDIA_SHORTFALL, g as TELEVET_BOOKING_BASE, h as TELEVET_BOOKING_COPY, i as TELEVET_BOOKING_STEPS, j as TELEVET_CONSULT_PAGE_LIMIT, k as TELEVET_JOIN_CLOSES_MINUTES_AFTER, l as TELEVET_JOIN_OPENS_MINUTES_BEFORE, m as TelevetBookingAction, n as TelevetBookingContext, o as TelevetBookingControllerDeps, p as TelevetBookingCopy, q as TelevetBookingDraft, r as TelevetBookingFailure, s as TelevetBookingRefusal, t as TelevetBookingState, u as TelevetEarlyTriage, v as TelevetEmptyRosterView, w as TelevetJoinReadiness, x as TelevetJoinState, y as TelevetMediaRefusal, z as TelevetRead, A as TelevetStateInterestReason, B as TelevetTriageVerdict, D as TelevetWrite, E as attestation, F as canConfirm, G as canManageTelevetVisit, H as createTelevetBookingController, I as currentStep, J as emptyTelevetDraft, K as formatVisitRange, L as formatWhen, M as formatWhenWithDay, O as hasPreviousStep, P as initialTelevetBookingState, Q as isHoldExpired, R as isMediaShortfallEmpty, S as isSkipped, U as isTelevetBookingCopyReady, V as mediaShortfallFromUnsentPicks, W as splitTelevetVisits, X as televetBookingKey, Y as televetBookingReducer, Z as televetBookingRefusal, _ as televetCancelCall, $ as televetConsultCall, a0 as televetEmptyRosterCause, a1 as televetEmptyRosterView, a2 as televetHoldCall, a3 as televetJoinCall, a4 as televetJoinOpensAtMs, a5 as televetJoinReadiness, a6 as televetMediaShortfallLines, a7 as televetRescheduleCall, a8 as useEarlyTriage, a9 as useStateInterest, aa as useTelevetBookConsult, ab as useTelevetBookingAvailable, ac as useTelevetBookingController, ad as useTelevetBookingEntitlement, ae as useTelevetCancellationPolicy, af as useTelevetClinicians, ag as useTelevetHoldSlot, ah as useTelevetJoin, ai as useTelevetNextSlot, aj as useTelevetRescheduleConsult, ak as useTelevetSlots, al as useTelevetStatePolicy, am as validateBookingBody, an as withUnsentPicks } from '../../bookingCopy-ChZR5mtd.cjs';
|
|
7
|
+
import { T as TelevetConsult, h as TelevetCancelReceipt, e as TelevetSlot } from '../../bookingTypes-DCs8mmBb.cjs';
|
|
8
|
+
export { i as CANCELLATION_POLICY_VERSION_MAX, j as CANCEL_REASON_MAX, k as CONSULT_KINDS, l as CONSULT_STATUSES, m as ConsultKind, C as ConsultStatus, M as MEDIA_REFS_MAX, R as REASON_TEXT_MAX, n as TERMINAL_CONSULT_STATUSES, g as TelevetBookingBody, b as TelevetBookingEntitlement, c as TelevetCancellationPolicy, d as TelevetClinician, f as TelevetSlotHold, a as TelevetStatePolicy, o as isWellFormedStateCode } from '../../bookingTypes-DCs8mmBb.cjs';
|
|
7
9
|
import { V as VetVisitIntent } from '../../visitIntent-D7_yVp1I.cjs';
|
|
8
10
|
import { E as EverfurTelevetFlowRequest } from '../../televetGlobal-CEk0_cW9.cjs';
|
|
9
11
|
export { b as VetCallCredential, c as VetCallJoinRefusal, d as VetCallLimits, p as parseVetCallCredential, v as vetCallJoinReason, e as vetCallJoinRefusal } from '../../callRoom-B_EqaUzx.cjs';
|
|
10
12
|
export { E as EverfurError, a as EverfurErrorCategory, b as EverfurErrorCode } from '../../EverfurError-DmELDpXp.cjs';
|
|
11
13
|
export { E as EverfurResult } from '../../EverfurResult-ZtH-YV1h.cjs';
|
|
12
|
-
export { W as WidgetPet } from '../../petsRepository-
|
|
13
|
-
import '../../requestFunnel-
|
|
14
|
+
export { W as WidgetPet } from '../../petsRepository-B3vr628I.cjs';
|
|
15
|
+
import '../../requestFunnel-Dcjyh0j2.cjs';
|
|
14
16
|
import '../../ErrorPolicyPort-D6CybiqJ.cjs';
|
|
15
|
-
import '../../config-
|
|
16
|
-
import '../../identity-
|
|
17
|
+
import '../../config-jocy3q66.cjs';
|
|
18
|
+
import '../../identity-D7GKfOE7.cjs';
|
|
17
19
|
import '../../TelemetryPort-BDNr00hu.cjs';
|
|
18
20
|
import '../../profile-CSs1wlXT.cjs';
|
|
19
21
|
|
|
@@ -128,14 +130,19 @@ interface TelevetEntitlementInterestStateProps {
|
|
|
128
130
|
readonly onCheckAvailability?: (() => void) | undefined;
|
|
129
131
|
}
|
|
130
132
|
/**
|
|
131
|
-
* THE
|
|
133
|
+
* THE PARTNER'S BOOKING IS PAUSED, WITH THE ONE DELIBERATELY NON-BOOKING ESCAPE HATCH.
|
|
132
134
|
*
|
|
133
|
-
*
|
|
134
|
-
*
|
|
135
|
-
*
|
|
136
|
-
*
|
|
137
|
-
*
|
|
138
|
-
*
|
|
135
|
+
* ── WHY THIS IS THE PAUSED STATE AND NOT A MEMBERSHIP SENTENCE ──────────────────────────────────────────
|
|
136
|
+
* On the partner plane the entitlement read (and a 402 at Confirm) answers whether the PARTNER's televet
|
|
137
|
+
* funding is on: missing, suspended, capped at 0 or spent all read `active: false`. It never means the member
|
|
138
|
+
* lacks a plan, because the partner pays and a partner member has no Everfur membership to buy. So this draws
|
|
139
|
+
* what the unavailable branch draws (the host's `renderUnavailable`, else `bookingPausedTitle`). It used to
|
|
140
|
+
* draw `confirmNotEntitled`, "A Pro membership is needed to book a video visit.", and the 2026-09-23
|
|
141
|
+
* end-to-end run met it on the first screen of every vet entry, with Close as the only control.
|
|
142
|
+
*
|
|
143
|
+
* THE ESCAPE HATCH IS UNCHANGED. It does not grant anything, it reads the roster, and it exists because the
|
|
144
|
+
* member may be in a state where no clinician is licensed at all - which is a fact they are owed regardless of
|
|
145
|
+
* funding, and the one route from this screen to the interest write.
|
|
139
146
|
*/
|
|
140
147
|
declare function TelevetEntitlementInterestState({ onCheckAvailability, }: TelevetEntitlementInterestStateProps): ReactNode;
|
|
141
148
|
interface TelevetMediaDropNoticeProps {
|
|
@@ -322,7 +329,8 @@ interface EverfurTelevetBookingProps {
|
|
|
322
329
|
*/
|
|
323
330
|
readonly canJoinInApp?: boolean;
|
|
324
331
|
/**
|
|
325
|
-
* What to render when the partner booking surface is not served for this tenant
|
|
332
|
+
* What to render when the partner booking surface is not served for this tenant, or when your televet
|
|
333
|
+
* allowance is off (the entitlement read answers `active: false`, or Confirm is refused with a 402).
|
|
326
334
|
*
|
|
327
335
|
* Absent, the paused card, inside the chrome whose Close is the way out. Nothing leaves the app by default;
|
|
328
336
|
* a host that wants the hosted visit offered here passes `() => <VetVisitButton prefer="redirect" />`.
|
|
@@ -449,8 +457,8 @@ interface TelevetJoinScreenProps {
|
|
|
449
457
|
readonly onLeave: () => void;
|
|
450
458
|
readonly style?: StyleProp<ViewStyle>;
|
|
451
459
|
}
|
|
452
|
-
/**
|
|
453
|
-
declare function TelevetJoinScreen({ consultId,
|
|
460
|
+
/** Ask for the recording notice, then mint the room credential for one consult and join it in the app. */
|
|
461
|
+
declare function TelevetJoinScreen({ consultId, ...screen }: TelevetJoinScreenProps): ReactNode;
|
|
454
462
|
|
|
455
463
|
interface TelevetVisitsScreenProps {
|
|
456
464
|
/** Host/test seam: inject a booking controller instead of building one from the provider's session. */
|
|
@@ -528,12 +536,18 @@ interface TelevetSlotPickerProps {
|
|
|
528
536
|
/** The slot whose hold is in flight, or null. Disables the whole grid. */
|
|
529
537
|
readonly busySlotId: string | null;
|
|
530
538
|
readonly onPick: (slot: TelevetSlot) => void;
|
|
539
|
+
/**
|
|
540
|
+
* The slot already chosen, if any. The strip opens on ITS day rather than on the first offered day, so a
|
|
541
|
+
* member who goes Back from a later step sees the day they picked and not the start of the window. Ignored
|
|
542
|
+
* when that day is not in `slots`.
|
|
543
|
+
*/
|
|
544
|
+
readonly selectedSlot?: TelevetSlot | null;
|
|
531
545
|
/** Rendered above the strip, for example a failure line from the container. */
|
|
532
546
|
readonly ListHeaderComponent?: ComponentType | ReactElement | null;
|
|
533
547
|
readonly rowTestIdPrefix?: string;
|
|
534
548
|
readonly testID?: string;
|
|
535
549
|
}
|
|
536
|
-
declare function TelevetSlotPicker({ slots, busySlotId, onPick, ListHeaderComponent, rowTestIdPrefix, testID, }: TelevetSlotPickerProps): ReactNode;
|
|
550
|
+
declare function TelevetSlotPicker({ slots, busySlotId, onPick, selectedSlot, ListHeaderComponent, rowTestIdPrefix, testID, }: TelevetSlotPickerProps): ReactNode;
|
|
537
551
|
|
|
538
552
|
/** One "label ... value" row in the summary card. */
|
|
539
553
|
declare function TelevetSummaryRow({ label, value, last, testID, }: {
|
|
@@ -2,18 +2,20 @@ 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
|
|
6
|
-
export { C as
|
|
5
|
+
import { T as TelevetEmptyRosterCause, a as TelevetStateInterestAction$1, b as TelevetMediaShortfall, c as TelevetBookingStep, d as TelevetBookingController, e as TelevetTriageRead, f as TelevetStateInterestWrite } from '../../bookingCopy-BVhEt1bj.js';
|
|
6
|
+
export { C as CONSULT_MINUTES, N as NO_MEDIA_SHORTFALL, g as TELEVET_BOOKING_BASE, h as TELEVET_BOOKING_COPY, i as TELEVET_BOOKING_STEPS, j as TELEVET_CONSULT_PAGE_LIMIT, k as TELEVET_JOIN_CLOSES_MINUTES_AFTER, l as TELEVET_JOIN_OPENS_MINUTES_BEFORE, m as TelevetBookingAction, n as TelevetBookingContext, o as TelevetBookingControllerDeps, p as TelevetBookingCopy, q as TelevetBookingDraft, r as TelevetBookingFailure, s as TelevetBookingRefusal, t as TelevetBookingState, u as TelevetEarlyTriage, v as TelevetEmptyRosterView, w as TelevetJoinReadiness, x as TelevetJoinState, y as TelevetMediaRefusal, z as TelevetRead, A as TelevetStateInterestReason, B as TelevetTriageVerdict, D as TelevetWrite, E as attestation, F as canConfirm, G as canManageTelevetVisit, H as createTelevetBookingController, I as currentStep, J as emptyTelevetDraft, K as formatVisitRange, L as formatWhen, M as formatWhenWithDay, O as hasPreviousStep, P as initialTelevetBookingState, Q as isHoldExpired, R as isMediaShortfallEmpty, S as isSkipped, U as isTelevetBookingCopyReady, V as mediaShortfallFromUnsentPicks, W as splitTelevetVisits, X as televetBookingKey, Y as televetBookingReducer, Z as televetBookingRefusal, _ as televetCancelCall, $ as televetConsultCall, a0 as televetEmptyRosterCause, a1 as televetEmptyRosterView, a2 as televetHoldCall, a3 as televetJoinCall, a4 as televetJoinOpensAtMs, a5 as televetJoinReadiness, a6 as televetMediaShortfallLines, a7 as televetRescheduleCall, a8 as useEarlyTriage, a9 as useStateInterest, aa as useTelevetBookConsult, ab as useTelevetBookingAvailable, ac as useTelevetBookingController, ad as useTelevetBookingEntitlement, ae as useTelevetCancellationPolicy, af as useTelevetClinicians, ag as useTelevetHoldSlot, ah as useTelevetJoin, ai as useTelevetNextSlot, aj as useTelevetRescheduleConsult, ak as useTelevetSlots, al as useTelevetStatePolicy, am as validateBookingBody, an as withUnsentPicks } from '../../bookingCopy-BVhEt1bj.js';
|
|
7
|
+
import { T as TelevetConsult, h as TelevetCancelReceipt, e as TelevetSlot } from '../../bookingTypes-DCs8mmBb.js';
|
|
8
|
+
export { i as CANCELLATION_POLICY_VERSION_MAX, j as CANCEL_REASON_MAX, k as CONSULT_KINDS, l as CONSULT_STATUSES, m as ConsultKind, C as ConsultStatus, M as MEDIA_REFS_MAX, R as REASON_TEXT_MAX, n as TERMINAL_CONSULT_STATUSES, g as TelevetBookingBody, b as TelevetBookingEntitlement, c as TelevetCancellationPolicy, d as TelevetClinician, f as TelevetSlotHold, a as TelevetStatePolicy, o as isWellFormedStateCode } from '../../bookingTypes-DCs8mmBb.js';
|
|
7
9
|
import { V as VetVisitIntent } from '../../visitIntent-D7_yVp1I.js';
|
|
8
10
|
import { E as EverfurTelevetFlowRequest } from '../../televetGlobal-Cs9Wbqsy.js';
|
|
9
11
|
export { b as VetCallCredential, c as VetCallJoinRefusal, d as VetCallLimits, p as parseVetCallCredential, v as vetCallJoinReason, e as vetCallJoinRefusal } from '../../callRoom-7wrE3RP2.js';
|
|
10
12
|
export { E as EverfurError, a as EverfurErrorCategory, b as EverfurErrorCode } from '../../EverfurError-DmELDpXp.js';
|
|
11
13
|
export { E as EverfurResult } from '../../EverfurResult-SGvHKsCB.js';
|
|
12
|
-
export { W as WidgetPet } from '../../petsRepository-
|
|
13
|
-
import '../../requestFunnel-
|
|
14
|
+
export { W as WidgetPet } from '../../petsRepository-DdzgINfF.js';
|
|
15
|
+
import '../../requestFunnel-CTG-wNc3.js';
|
|
14
16
|
import '../../ErrorPolicyPort-D22LUVrK.js';
|
|
15
|
-
import '../../config-
|
|
16
|
-
import '../../identity-
|
|
17
|
+
import '../../config-DBpKJJbg.js';
|
|
18
|
+
import '../../identity-k8nCQ_qM.js';
|
|
17
19
|
import '../../TelemetryPort-BDNr00hu.js';
|
|
18
20
|
import '../../profile-CSs1wlXT.js';
|
|
19
21
|
|
|
@@ -128,14 +130,19 @@ interface TelevetEntitlementInterestStateProps {
|
|
|
128
130
|
readonly onCheckAvailability?: (() => void) | undefined;
|
|
129
131
|
}
|
|
130
132
|
/**
|
|
131
|
-
* THE
|
|
133
|
+
* THE PARTNER'S BOOKING IS PAUSED, WITH THE ONE DELIBERATELY NON-BOOKING ESCAPE HATCH.
|
|
132
134
|
*
|
|
133
|
-
*
|
|
134
|
-
*
|
|
135
|
-
*
|
|
136
|
-
*
|
|
137
|
-
*
|
|
138
|
-
*
|
|
135
|
+
* ── WHY THIS IS THE PAUSED STATE AND NOT A MEMBERSHIP SENTENCE ──────────────────────────────────────────
|
|
136
|
+
* On the partner plane the entitlement read (and a 402 at Confirm) answers whether the PARTNER's televet
|
|
137
|
+
* funding is on: missing, suspended, capped at 0 or spent all read `active: false`. It never means the member
|
|
138
|
+
* lacks a plan, because the partner pays and a partner member has no Everfur membership to buy. So this draws
|
|
139
|
+
* what the unavailable branch draws (the host's `renderUnavailable`, else `bookingPausedTitle`). It used to
|
|
140
|
+
* draw `confirmNotEntitled`, "A Pro membership is needed to book a video visit.", and the 2026-09-23
|
|
141
|
+
* end-to-end run met it on the first screen of every vet entry, with Close as the only control.
|
|
142
|
+
*
|
|
143
|
+
* THE ESCAPE HATCH IS UNCHANGED. It does not grant anything, it reads the roster, and it exists because the
|
|
144
|
+
* member may be in a state where no clinician is licensed at all - which is a fact they are owed regardless of
|
|
145
|
+
* funding, and the one route from this screen to the interest write.
|
|
139
146
|
*/
|
|
140
147
|
declare function TelevetEntitlementInterestState({ onCheckAvailability, }: TelevetEntitlementInterestStateProps): ReactNode;
|
|
141
148
|
interface TelevetMediaDropNoticeProps {
|
|
@@ -322,7 +329,8 @@ interface EverfurTelevetBookingProps {
|
|
|
322
329
|
*/
|
|
323
330
|
readonly canJoinInApp?: boolean;
|
|
324
331
|
/**
|
|
325
|
-
* What to render when the partner booking surface is not served for this tenant
|
|
332
|
+
* What to render when the partner booking surface is not served for this tenant, or when your televet
|
|
333
|
+
* allowance is off (the entitlement read answers `active: false`, or Confirm is refused with a 402).
|
|
326
334
|
*
|
|
327
335
|
* Absent, the paused card, inside the chrome whose Close is the way out. Nothing leaves the app by default;
|
|
328
336
|
* a host that wants the hosted visit offered here passes `() => <VetVisitButton prefer="redirect" />`.
|
|
@@ -449,8 +457,8 @@ interface TelevetJoinScreenProps {
|
|
|
449
457
|
readonly onLeave: () => void;
|
|
450
458
|
readonly style?: StyleProp<ViewStyle>;
|
|
451
459
|
}
|
|
452
|
-
/**
|
|
453
|
-
declare function TelevetJoinScreen({ consultId,
|
|
460
|
+
/** Ask for the recording notice, then mint the room credential for one consult and join it in the app. */
|
|
461
|
+
declare function TelevetJoinScreen({ consultId, ...screen }: TelevetJoinScreenProps): ReactNode;
|
|
454
462
|
|
|
455
463
|
interface TelevetVisitsScreenProps {
|
|
456
464
|
/** Host/test seam: inject a booking controller instead of building one from the provider's session. */
|
|
@@ -528,12 +536,18 @@ interface TelevetSlotPickerProps {
|
|
|
528
536
|
/** The slot whose hold is in flight, or null. Disables the whole grid. */
|
|
529
537
|
readonly busySlotId: string | null;
|
|
530
538
|
readonly onPick: (slot: TelevetSlot) => void;
|
|
539
|
+
/**
|
|
540
|
+
* The slot already chosen, if any. The strip opens on ITS day rather than on the first offered day, so a
|
|
541
|
+
* member who goes Back from a later step sees the day they picked and not the start of the window. Ignored
|
|
542
|
+
* when that day is not in `slots`.
|
|
543
|
+
*/
|
|
544
|
+
readonly selectedSlot?: TelevetSlot | null;
|
|
531
545
|
/** Rendered above the strip, for example a failure line from the container. */
|
|
532
546
|
readonly ListHeaderComponent?: ComponentType | ReactElement | null;
|
|
533
547
|
readonly rowTestIdPrefix?: string;
|
|
534
548
|
readonly testID?: string;
|
|
535
549
|
}
|
|
536
|
-
declare function TelevetSlotPicker({ slots, busySlotId, onPick, ListHeaderComponent, rowTestIdPrefix, testID, }: TelevetSlotPickerProps): ReactNode;
|
|
550
|
+
declare function TelevetSlotPicker({ slots, busySlotId, onPick, selectedSlot, ListHeaderComponent, rowTestIdPrefix, testID, }: TelevetSlotPickerProps): ReactNode;
|
|
537
551
|
|
|
538
552
|
/** One "label ... value" row in the summary card. */
|
|
539
553
|
declare function TelevetSummaryRow({ label, value, last, testID, }: {
|