@everfur/sdk 0.7.0 → 0.7.1

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.
Files changed (106) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/{Chat-DZpYH8Uh.d.ts → Chat-CFi5cNUF.d.ts} +3 -3
  3. package/dist/{Chat-bATY4atj.d.cts → Chat-DQOsAumH.d.cts} +3 -3
  4. package/dist/{DepthViews-C4DC4Kom.d.cts → DepthViews-C409ubw-.d.cts} +1 -1
  5. package/dist/{DepthViews-BpHUbjSY.d.cts → DepthViews-D81c95Ra.d.cts} +1 -1
  6. package/dist/{DepthViews-dLTizxjr.d.ts → DepthViews-es8mIK0w.d.ts} +1 -1
  7. package/dist/{DepthViews-qBIoA48w.d.ts → DepthViews-uilL1NJZ.d.ts} +1 -1
  8. package/dist/{BookedScreen-DFJcgf1e.d.ts → IntakeMedia-BcjjUizr.d.ts} +40 -1
  9. package/dist/{BookedScreen-R5X_Zrlh.d.cts → IntakeMedia-CL_S2tZE.d.cts} +40 -1
  10. package/dist/animations/index.d.cts +3 -3
  11. package/dist/animations/index.d.ts +3 -3
  12. package/dist/{attachments-Ce06TWqe.d.cts → attachments-B2GjBgvF.d.cts} +2 -2
  13. package/dist/{attachments-CUOGILir.d.cts → attachments-DI710no4.d.cts} +5 -5
  14. package/dist/{attachments-CPRFfoHT.d.ts → attachments-DNaSbmA3.d.ts} +2 -2
  15. package/dist/{attachments-CXAnZcEg.d.ts → attachments-SF88N654.d.ts} +5 -5
  16. package/dist/{bookingCopy-DFTv9w6J.d.ts → bookingCopy-D2N3RhsV.d.ts} +2 -2
  17. package/dist/{bookingCopy-BwVopcoV.d.cts → bookingCopy-xlXxORCA.d.cts} +2 -2
  18. package/dist/{casesRepository-CJchNp3x.d.cts → casesRepository-B-md8h1S.d.cts} +1 -1
  19. package/dist/{casesRepository-DAVcY3jC.d.ts → casesRepository-CC6951TK.d.ts} +1 -1
  20. package/dist/chat/index.d.cts +9 -9
  21. package/dist/chat/index.d.ts +9 -9
  22. package/dist/client/index.cjs +1 -1
  23. package/dist/client/index.d.cts +6 -6
  24. package/dist/client/index.d.ts +6 -6
  25. package/dist/client/index.js +1 -1
  26. package/dist/{config-ZxwCylac.d.ts → config-BM0sv5jx.d.ts} +1 -1
  27. package/dist/{config-h5h6TsHL.d.cts → config-Daa1plhQ.d.cts} +1 -1
  28. package/dist/consent/index.d.cts +5 -5
  29. package/dist/consent/index.d.ts +5 -5
  30. package/dist/{context-DtPIshVA.d.ts → context-CDV2pwGI.d.ts} +5 -5
  31. package/dist/{context-CtsAgJnc.d.cts → context-DQHtwcHN.d.cts} +5 -5
  32. package/dist/{copy-CaWaplQc.d.cts → copy-BEx5F71o.d.cts} +2 -2
  33. package/dist/{copy-Cg89Qoal.d.ts → copy-Cl1l-qmY.d.ts} +2 -2
  34. package/dist/core/index.cjs +1 -1
  35. package/dist/core/index.d.cts +12 -12
  36. package/dist/core/index.d.ts +12 -12
  37. package/dist/core/index.js +1 -1
  38. package/dist/{depth-EXZYEO70.d.cts → depth-CAAwiStc.d.cts} +3 -3
  39. package/dist/{depth-Bo4bAwcn.d.ts → depth-DfNRVtrV.d.ts} +3 -3
  40. package/dist/{entitlementRepository-DcbIx8yV.d.ts → entitlementRepository-CVWvND1P.d.ts} +2 -2
  41. package/dist/{entitlementRepository-BYtVb1oU.d.cts → entitlementRepository-DPvWjV-N.d.cts} +2 -2
  42. package/dist/{identity-EC5-apbY.d.ts → identity-BhT7oJDS.d.ts} +1 -1
  43. package/dist/{identity-b5Vp32Vp.d.cts → identity-DUlshgow.d.cts} +1 -1
  44. package/dist/index.cjs +1 -1
  45. package/dist/index.d.cts +12 -12
  46. package/dist/index.d.ts +12 -12
  47. package/dist/index.js +1 -1
  48. package/dist/notifications/index.d.cts +2 -2
  49. package/dist/notifications/index.d.ts +2 -2
  50. package/dist/{pets-DM8QvKLo.d.cts → pets-Bneph9m1.d.cts} +1 -1
  51. package/dist/{pets-B_27_agU.d.ts → pets-DjcLmRrW.d.ts} +1 -1
  52. package/dist/{petsRepository-BJsJ4cju.d.cts → petsRepository-BnVre3q7.d.cts} +1 -1
  53. package/dist/{petsRepository-CuYZZaI5.d.ts → petsRepository-BwxmfX_s.d.ts} +1 -1
  54. package/dist/{ports-ZmJYgd5I.d.cts → ports-BPKxFOSe.d.cts} +4 -4
  55. package/dist/{ports-nXHf50_X.d.ts → ports-Di9rdLO9.d.ts} +4 -4
  56. package/dist/records/depth/index.d.cts +7 -7
  57. package/dist/records/depth/index.d.ts +7 -7
  58. package/dist/records/index.d.cts +9 -9
  59. package/dist/records/index.d.ts +9 -9
  60. package/dist/{requestFunnel-Ve9BshTB.d.ts → requestFunnel-CiSX2pun.d.ts} +2 -2
  61. package/dist/{requestFunnel-C_cZXhIA.d.cts → requestFunnel-DMR_1T3O.d.cts} +2 -2
  62. package/dist/{runtimeTypes-D155OlBW.d.cts → runtimeTypes-2gJ5hYoE.d.cts} +4 -4
  63. package/dist/{runtimeTypes-ByKsp8hm.d.ts → runtimeTypes-CkMFCbHW.d.ts} +4 -4
  64. package/dist/server/events/index.cjs +1 -1
  65. package/dist/server/events/index.d.cts +2 -2
  66. package/dist/server/events/index.d.ts +2 -2
  67. package/dist/server/events/index.js +1 -1
  68. package/dist/server/index.cjs +1 -1
  69. package/dist/server/index.d.cts +3 -3
  70. package/dist/server/index.d.ts +3 -3
  71. package/dist/server/index.js +1 -1
  72. package/dist/televet/booking/index.d.cts +6 -6
  73. package/dist/televet/booking/index.d.ts +6 -6
  74. package/dist/testing/index.d.cts +1 -1
  75. package/dist/testing/index.d.ts +1 -1
  76. package/dist/testing/rn/index.d.cts +7 -7
  77. package/dist/testing/rn/index.d.ts +7 -7
  78. package/dist/testing/web/index.d.cts +7 -7
  79. package/dist/testing/web/index.d.ts +7 -7
  80. package/dist/{timelineRows-DXpjECfA.d.ts → timelineRows-D3171ksh.d.ts} +1 -1
  81. package/dist/{timelineRows-BNF43SXK.d.cts → timelineRows-DDnz4gx2.d.cts} +1 -1
  82. package/dist/{useRecordsDepth-CARTuHKh.d.cts → useRecordsDepth-COJ0wSYK.d.cts} +1 -1
  83. package/dist/{useRecordsDepth-fPSv-GXU.d.ts → useRecordsDepth-Z9FF5X4E.d.ts} +1 -1
  84. package/dist/{view-Dc-JlFkf.d.ts → view-DoQEHXJR.d.ts} +2 -2
  85. package/dist/{view-DGPaVno8.d.cts → view-nRy6SitU.d.cts} +2 -2
  86. package/dist/web/consent/index.d.cts +5 -5
  87. package/dist/web/consent/index.d.ts +5 -5
  88. package/dist/web/index.cjs +2 -2
  89. package/dist/web/index.d.cts +14 -14
  90. package/dist/web/index.d.ts +14 -14
  91. package/dist/web/index.js +2 -2
  92. package/dist/web/notifications/index.d.cts +3 -3
  93. package/dist/web/notifications/index.d.ts +3 -3
  94. package/dist/web/records/depth/index.d.cts +7 -7
  95. package/dist/web/records/depth/index.d.ts +7 -7
  96. package/dist/web/records/index.d.cts +9 -9
  97. package/dist/web/records/index.d.ts +9 -9
  98. package/dist/web/televet/booking/index.cjs +1 -1
  99. package/dist/web/televet/booking/index.d.cts +15 -49
  100. package/dist/web/televet/booking/index.d.ts +15 -49
  101. package/dist/web/televet/booking/index.js +1 -1
  102. package/dist/web/televet/index.cjs +1 -1
  103. package/dist/web/televet/index.d.cts +11 -3
  104. package/dist/web/televet/index.d.ts +11 -3
  105. package/dist/web/televet/index.js +1 -1
  106. package/package.json +1 -1
@@ -1,23 +1,23 @@
1
1
  import { ReactNode, CSSProperties } from 'react';
2
2
  import { P as PetRef } from '../../../ids-B2GAAifq.cjs';
3
3
  export { B as Brand, _ as __brand } from '../../../ids-B2GAAifq.cjs';
4
- import { c as TelevetBookingStep, d as TelevetBookingContext, e as TelevetBookingController, f as TelevetTriageRead, g as TelevetStateInterestWrite, T as TelevetEmptyRosterCause, a as TelevetStateInterestAction$1, b as TelevetMediaShortfall, h as TelevetVetThreadTarget, i as TelevetDayPeriod } from '../../../bookingCopy-BwVopcoV.cjs';
5
- 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, aR as TelevetJoinBlock, aS as TelevetJoinDecision, 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, aT as televetJoinDecision, aq as televetJoinOpensAtMs, 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-BwVopcoV.cjs';
4
+ import { c as TelevetBookingStep, d as TelevetBookingContext, e as TelevetBookingController, f as TelevetTriageRead, g as TelevetStateInterestWrite, T as TelevetEmptyRosterCause, a as TelevetStateInterestAction$1, b as TelevetMediaShortfall, h as TelevetVetThreadTarget, i as TelevetDayPeriod } from '../../../bookingCopy-xlXxORCA.cjs';
5
+ 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, aR as TelevetJoinBlock, aS as TelevetJoinDecision, 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, aT as televetJoinDecision, aq as televetJoinOpensAtMs, 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-xlXxORCA.cjs';
6
6
  import { T as TelevetConsult, b as TelevetSlot } from '../../../bookingTypes-D4pD3tHs.cjs';
7
7
  export { C as CANCELLATION_POLICY_VERSION_MAX, c as CANCEL_REASON_MAX, d as CONSULT_KINDS, e as CONSULT_STATUSES, f as ConsultKind, g as ConsultStatus, M as MEDIA_REFS_MAX, R as REASON_TEXT_MAX, h as TERMINAL_CONSULT_STATUSES, i as TelevetBookingBody, j as TelevetBookingEntitlement, a as TelevetCancelReceipt, k as TelevetCancellationPolicy, l as TelevetClinician, m as TelevetSlotHold, n as TelevetStatePolicy, o as TelevetTriageVerdict, p as isWellFormedStateCode } from '../../../bookingTypes-D4pD3tHs.cjs';
8
8
  import { V as VetVisitIntent } from '../../../visitIntent-D7_yVp1I.cjs';
9
9
  import { E as EverfurTelevetFlowRequest } from '../../../televetGlobal-CEk0_cW9.cjs';
10
- import { T as TelevetCalendarWriter } from '../../../BookedScreen-R5X_Zrlh.cjs';
11
- export { b as TelevetBookedScreen, c as TelevetBookedScreenProps, a as TelevetCalendarEvent, t as televetConsultCalendarKey } from '../../../BookedScreen-R5X_Zrlh.cjs';
10
+ import { a as TelevetMediaPicker, T as TelevetCalendarWriter } from '../../../IntakeMedia-CL_S2tZE.cjs';
11
+ export { d as TelevetBookedScreen, e as TelevetBookedScreenProps, b as TelevetCalendarEvent, f as TelevetIntakeMedia, c as TelevetIntakeMediaItem, g as TelevetIntakeMediaProps, t as televetConsultCalendarKey } from '../../../IntakeMedia-CL_S2tZE.cjs';
12
12
  import { E as EverfurTheme } from '../../../tokens-BYtbKwFh.cjs';
13
13
  export { b as VetCallCredential, c as VetCallJoinRefusal, d as VetCallLimits, p as parseVetCallCredential, v as vetCallJoinReason, e as vetCallJoinRefusal } from '../../../callRoom-B_EqaUzx.cjs';
14
14
  export { E as EverfurError, a as EverfurErrorCategory, b as EverfurErrorCode } from '../../../EverfurError-DmELDpXp.cjs';
15
15
  export { E as EverfurResult } from '../../../EverfurResult-ZtH-YV1h.cjs';
16
- export { W as WidgetPet } from '../../../petsRepository-BJsJ4cju.cjs';
17
- import '../../../requestFunnel-C_cZXhIA.cjs';
16
+ export { W as WidgetPet } from '../../../petsRepository-BnVre3q7.cjs';
17
+ import '../../../requestFunnel-DMR_1T3O.cjs';
18
18
  import '../../../ErrorPolicyPort-D6CybiqJ.cjs';
19
- import '../../../config-h5h6TsHL.cjs';
20
- import '../../../identity-b5Vp32Vp.cjs';
19
+ import '../../../config-Daa1plhQ.cjs';
20
+ import '../../../identity-DUlshgow.cjs';
21
21
  import '../../../TelemetryPort-BDNr00hu.cjs';
22
22
  import '../../../profile-CSs1wlXT.cjs';
23
23
 
@@ -103,45 +103,6 @@ interface TelevetEmergencyExitsProps {
103
103
  }
104
104
  declare function TelevetEmergencyExits({ petName, primaryVet, onFindEmergencyVet, testIDPrefix, }: TelevetEmergencyExitsProps): ReactNode;
105
105
 
106
- /** A picked-but-not-yet-uploaded attachment, in the host's own terms. */
107
- interface TelevetIntakeMediaItem {
108
- readonly uri: string;
109
- readonly filename: string;
110
- readonly mimeType: string;
111
- readonly fileSize: number;
112
- }
113
- /**
114
- * The host's media picker.
115
- *
116
- * Resolves the picks, or null when the owner cancelled. The SDK takes no picker dependency and opens no file
117
- * dialog of its own; a partner supplies whichever picker its site already has, typically an `<input
118
- * type="file">` whose `File` objects it turns into object URLs.
119
- *
120
- * `limit` is the remaining headroom, so the host can cap its own selection rather than returning picks this
121
- * row has to silently discard.
122
- */
123
- type TelevetMediaPicker = (limit: number) => Promise<readonly TelevetIntakeMediaItem[] | null>;
124
- interface TelevetIntakeMediaProps {
125
- readonly media: readonly TelevetIntakeMediaItem[];
126
- readonly onChange: (next: readonly TelevetIntakeMediaItem[]) => void;
127
- /** Absent, the row renders nothing at all. There is no disabled Add control. */
128
- readonly onPickMedia?: TelevetMediaPicker | undefined;
129
- /**
130
- * The list's accessible name.
131
- *
132
- * Required, with no default string here: naming the group is what makes the tiles announce as a set, and
133
- * the name is user-facing copy this SDK does not author. The intake step passes a ported key down.
134
- */
135
- readonly listLabel: string;
136
- /**
137
- * A line under the row, or nothing. The booking passes the artifact's "Optional. A close-up in good light
138
- * helps." only once the televet presign has answered, because the advice is true only when a photo can reach
139
- * the vet. Absent, nothing is drawn.
140
- */
141
- readonly meta?: string | null | undefined;
142
- }
143
- declare function TelevetIntakeMedia({ media, onChange, onPickMedia, listLabel, meta }: TelevetIntakeMediaProps): ReactNode;
144
-
145
106
  /** What the host can tell us about a location it could not resolve, so the right card renders. */
146
107
  type TelevetLocationStatus = 'unknown' | 'blocked' | 'unavailable';
147
108
  interface EverfurTelevetBookingProps {
@@ -436,9 +397,14 @@ interface EverfurTelevetDialogProps {
436
397
  * Given, the confirmation offers Add to Calendar; absent, it has no calendar control.
437
398
  */
438
399
  readonly onAddToCalendar?: TelevetCalendarWriter | undefined;
400
+ /**
401
+ * The host's photo and video picker: `EverfurTelevetHost`'s `onPickMedia`, passed through. Given, the intake
402
+ * step offers the attachment row; absent, it has none.
403
+ */
404
+ readonly onPickMedia?: TelevetMediaPicker | undefined;
439
405
  }
440
406
  /** The in-page vet visit in a modal dialog. */
441
- declare function EverfurTelevetDialog({ request, onClose, onAddToCalendar }: EverfurTelevetDialogProps): ReactNode;
407
+ declare function EverfurTelevetDialog({ request, onClose, onAddToCalendar, onPickMedia }: EverfurTelevetDialogProps): ReactNode;
442
408
 
443
409
  interface TelevetJoinScreenProps {
444
410
  /** The consult to join. */
@@ -895,4 +861,4 @@ declare function TelevetSummaryCard({ children, testID }: {
895
861
  readonly testID?: string;
896
862
  }): ReactNode;
897
863
 
898
- export { BACK_LABEL, type EverfurHeadingLevel, EverfurTelevet, EverfurTelevetBooking, type EverfurTelevetBookingProps, EverfurTelevetDialog, type EverfurTelevetDialogProps, EverfurTelevetFlow, EverfurTelevetFlowRequest, type EverfurTelevetProps, EverfurTelevetReschedule, type EverfurTelevetRescheduleProps, PetRef, TELEVET_BOOKING_COPY_WEB, TELEVET_EMERGENCY_EXITS_WEB, TelevetBookingChrome, type TelevetBookingChromeProps, TelevetBookingContext, TelevetBookingController, TelevetBookingStep, TelevetCalendarWriter, type TelevetCancelTerms, TelevetCancelVisitForm, type TelevetCancelVisitFormProps, TelevetClinicianEmptyState, type TelevetClinicianEmptyStateProps, TelevetConsentCheckbox, TelevetConsult, type TelevetDay, TelevetDayStrip, type TelevetDayStripProps, type TelevetDiscardConfirm, TelevetEarlyEmergency, type TelevetEarlyEmergencyProps, TelevetEmergencyExits, type TelevetEmergencyExitsProps, TelevetEmptyRosterCause, TelevetEntitlementInterestState, type TelevetEntitlementInterestStateProps, type TelevetHistoryMode, TelevetIntakeMedia, type TelevetIntakeMediaItem, type TelevetIntakeMediaProps, TelevetJoinScreen, type TelevetJoinScreenProps, type TelevetLocationStatus, TelevetMediaDropNotice, type TelevetMediaDropNoticeProps, type TelevetMediaPicker, TelevetMediaShortfall, type 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 };
864
+ export { BACK_LABEL, type EverfurHeadingLevel, EverfurTelevet, EverfurTelevetBooking, type EverfurTelevetBookingProps, EverfurTelevetDialog, type EverfurTelevetDialogProps, EverfurTelevetFlow, EverfurTelevetFlowRequest, type EverfurTelevetProps, EverfurTelevetReschedule, type EverfurTelevetRescheduleProps, PetRef, TELEVET_BOOKING_COPY_WEB, TELEVET_EMERGENCY_EXITS_WEB, TelevetBookingChrome, type TelevetBookingChromeProps, TelevetBookingContext, TelevetBookingController, TelevetBookingStep, TelevetCalendarWriter, type TelevetCancelTerms, TelevetCancelVisitForm, type TelevetCancelVisitFormProps, TelevetClinicianEmptyState, type TelevetClinicianEmptyStateProps, TelevetConsentCheckbox, TelevetConsult, type TelevetDay, TelevetDayStrip, type TelevetDayStripProps, type TelevetDiscardConfirm, TelevetEarlyEmergency, type TelevetEarlyEmergencyProps, TelevetEmergencyExits, type TelevetEmergencyExitsProps, TelevetEmptyRosterCause, TelevetEntitlementInterestState, type TelevetEntitlementInterestStateProps, type TelevetHistoryMode, TelevetJoinScreen, type TelevetJoinScreenProps, type TelevetLocationStatus, TelevetMediaDropNotice, type TelevetMediaDropNoticeProps, TelevetMediaPicker, TelevetMediaShortfall, type 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 };
@@ -1,23 +1,23 @@
1
1
  import { ReactNode, CSSProperties } from 'react';
2
2
  import { P as PetRef } from '../../../ids-B2GAAifq.js';
3
3
  export { B as Brand, _ as __brand } from '../../../ids-B2GAAifq.js';
4
- import { c as TelevetBookingStep, d as TelevetBookingContext, e as TelevetBookingController, f as TelevetTriageRead, g as TelevetStateInterestWrite, T as TelevetEmptyRosterCause, a as TelevetStateInterestAction$1, b as TelevetMediaShortfall, h as TelevetVetThreadTarget, i as TelevetDayPeriod } from '../../../bookingCopy-DFTv9w6J.js';
5
- 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, aR as TelevetJoinBlock, aS as TelevetJoinDecision, 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, aT as televetJoinDecision, aq as televetJoinOpensAtMs, 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-DFTv9w6J.js';
4
+ import { c as TelevetBookingStep, d as TelevetBookingContext, e as TelevetBookingController, f as TelevetTriageRead, g as TelevetStateInterestWrite, T as TelevetEmptyRosterCause, a as TelevetStateInterestAction$1, b as TelevetMediaShortfall, h as TelevetVetThreadTarget, i as TelevetDayPeriod } from '../../../bookingCopy-D2N3RhsV.js';
5
+ 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, aR as TelevetJoinBlock, aS as TelevetJoinDecision, 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, aT as televetJoinDecision, aq as televetJoinOpensAtMs, 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-D2N3RhsV.js';
6
6
  import { T as TelevetConsult, b as TelevetSlot } from '../../../bookingTypes-D4pD3tHs.js';
7
7
  export { C as CANCELLATION_POLICY_VERSION_MAX, c as CANCEL_REASON_MAX, d as CONSULT_KINDS, e as CONSULT_STATUSES, f as ConsultKind, g as ConsultStatus, M as MEDIA_REFS_MAX, R as REASON_TEXT_MAX, h as TERMINAL_CONSULT_STATUSES, i as TelevetBookingBody, j as TelevetBookingEntitlement, a as TelevetCancelReceipt, k as TelevetCancellationPolicy, l as TelevetClinician, m as TelevetSlotHold, n as TelevetStatePolicy, o as TelevetTriageVerdict, p as isWellFormedStateCode } from '../../../bookingTypes-D4pD3tHs.js';
8
8
  import { V as VetVisitIntent } from '../../../visitIntent-D7_yVp1I.js';
9
9
  import { E as EverfurTelevetFlowRequest } from '../../../televetGlobal-Cs9Wbqsy.js';
10
- import { T as TelevetCalendarWriter } from '../../../BookedScreen-DFJcgf1e.js';
11
- export { b as TelevetBookedScreen, c as TelevetBookedScreenProps, a as TelevetCalendarEvent, t as televetConsultCalendarKey } from '../../../BookedScreen-DFJcgf1e.js';
10
+ import { a as TelevetMediaPicker, T as TelevetCalendarWriter } from '../../../IntakeMedia-BcjjUizr.js';
11
+ export { d as TelevetBookedScreen, e as TelevetBookedScreenProps, b as TelevetCalendarEvent, f as TelevetIntakeMedia, c as TelevetIntakeMediaItem, g as TelevetIntakeMediaProps, t as televetConsultCalendarKey } from '../../../IntakeMedia-BcjjUizr.js';
12
12
  import { E as EverfurTheme } from '../../../tokens-BYtbKwFh.js';
13
13
  export { b as VetCallCredential, c as VetCallJoinRefusal, d as VetCallLimits, p as parseVetCallCredential, v as vetCallJoinReason, e as vetCallJoinRefusal } from '../../../callRoom-7wrE3RP2.js';
14
14
  export { E as EverfurError, a as EverfurErrorCategory, b as EverfurErrorCode } from '../../../EverfurError-DmELDpXp.js';
15
15
  export { E as EverfurResult } from '../../../EverfurResult-SGvHKsCB.js';
16
- export { W as WidgetPet } from '../../../petsRepository-CuYZZaI5.js';
17
- import '../../../requestFunnel-Ve9BshTB.js';
16
+ export { W as WidgetPet } from '../../../petsRepository-BwxmfX_s.js';
17
+ import '../../../requestFunnel-CiSX2pun.js';
18
18
  import '../../../ErrorPolicyPort-D22LUVrK.js';
19
- import '../../../config-ZxwCylac.js';
20
- import '../../../identity-EC5-apbY.js';
19
+ import '../../../config-BM0sv5jx.js';
20
+ import '../../../identity-BhT7oJDS.js';
21
21
  import '../../../TelemetryPort-BDNr00hu.js';
22
22
  import '../../../profile-CSs1wlXT.js';
23
23
 
@@ -103,45 +103,6 @@ interface TelevetEmergencyExitsProps {
103
103
  }
104
104
  declare function TelevetEmergencyExits({ petName, primaryVet, onFindEmergencyVet, testIDPrefix, }: TelevetEmergencyExitsProps): ReactNode;
105
105
 
106
- /** A picked-but-not-yet-uploaded attachment, in the host's own terms. */
107
- interface TelevetIntakeMediaItem {
108
- readonly uri: string;
109
- readonly filename: string;
110
- readonly mimeType: string;
111
- readonly fileSize: number;
112
- }
113
- /**
114
- * The host's media picker.
115
- *
116
- * Resolves the picks, or null when the owner cancelled. The SDK takes no picker dependency and opens no file
117
- * dialog of its own; a partner supplies whichever picker its site already has, typically an `<input
118
- * type="file">` whose `File` objects it turns into object URLs.
119
- *
120
- * `limit` is the remaining headroom, so the host can cap its own selection rather than returning picks this
121
- * row has to silently discard.
122
- */
123
- type TelevetMediaPicker = (limit: number) => Promise<readonly TelevetIntakeMediaItem[] | null>;
124
- interface TelevetIntakeMediaProps {
125
- readonly media: readonly TelevetIntakeMediaItem[];
126
- readonly onChange: (next: readonly TelevetIntakeMediaItem[]) => void;
127
- /** Absent, the row renders nothing at all. There is no disabled Add control. */
128
- readonly onPickMedia?: TelevetMediaPicker | undefined;
129
- /**
130
- * The list's accessible name.
131
- *
132
- * Required, with no default string here: naming the group is what makes the tiles announce as a set, and
133
- * the name is user-facing copy this SDK does not author. The intake step passes a ported key down.
134
- */
135
- readonly listLabel: string;
136
- /**
137
- * A line under the row, or nothing. The booking passes the artifact's "Optional. A close-up in good light
138
- * helps." only once the televet presign has answered, because the advice is true only when a photo can reach
139
- * the vet. Absent, nothing is drawn.
140
- */
141
- readonly meta?: string | null | undefined;
142
- }
143
- declare function TelevetIntakeMedia({ media, onChange, onPickMedia, listLabel, meta }: TelevetIntakeMediaProps): ReactNode;
144
-
145
106
  /** What the host can tell us about a location it could not resolve, so the right card renders. */
146
107
  type TelevetLocationStatus = 'unknown' | 'blocked' | 'unavailable';
147
108
  interface EverfurTelevetBookingProps {
@@ -436,9 +397,14 @@ interface EverfurTelevetDialogProps {
436
397
  * Given, the confirmation offers Add to Calendar; absent, it has no calendar control.
437
398
  */
438
399
  readonly onAddToCalendar?: TelevetCalendarWriter | undefined;
400
+ /**
401
+ * The host's photo and video picker: `EverfurTelevetHost`'s `onPickMedia`, passed through. Given, the intake
402
+ * step offers the attachment row; absent, it has none.
403
+ */
404
+ readonly onPickMedia?: TelevetMediaPicker | undefined;
439
405
  }
440
406
  /** The in-page vet visit in a modal dialog. */
441
- declare function EverfurTelevetDialog({ request, onClose, onAddToCalendar }: EverfurTelevetDialogProps): ReactNode;
407
+ declare function EverfurTelevetDialog({ request, onClose, onAddToCalendar, onPickMedia }: EverfurTelevetDialogProps): ReactNode;
442
408
 
443
409
  interface TelevetJoinScreenProps {
444
410
  /** The consult to join. */
@@ -895,4 +861,4 @@ declare function TelevetSummaryCard({ children, testID }: {
895
861
  readonly testID?: string;
896
862
  }): ReactNode;
897
863
 
898
- export { BACK_LABEL, type EverfurHeadingLevel, EverfurTelevet, EverfurTelevetBooking, type EverfurTelevetBookingProps, EverfurTelevetDialog, type EverfurTelevetDialogProps, EverfurTelevetFlow, EverfurTelevetFlowRequest, type EverfurTelevetProps, EverfurTelevetReschedule, type EverfurTelevetRescheduleProps, PetRef, TELEVET_BOOKING_COPY_WEB, TELEVET_EMERGENCY_EXITS_WEB, TelevetBookingChrome, type TelevetBookingChromeProps, TelevetBookingContext, TelevetBookingController, TelevetBookingStep, TelevetCalendarWriter, type TelevetCancelTerms, TelevetCancelVisitForm, type TelevetCancelVisitFormProps, TelevetClinicianEmptyState, type TelevetClinicianEmptyStateProps, TelevetConsentCheckbox, TelevetConsult, type TelevetDay, TelevetDayStrip, type TelevetDayStripProps, type TelevetDiscardConfirm, TelevetEarlyEmergency, type TelevetEarlyEmergencyProps, TelevetEmergencyExits, type TelevetEmergencyExitsProps, TelevetEmptyRosterCause, TelevetEntitlementInterestState, type TelevetEntitlementInterestStateProps, type TelevetHistoryMode, TelevetIntakeMedia, type TelevetIntakeMediaItem, type TelevetIntakeMediaProps, TelevetJoinScreen, type TelevetJoinScreenProps, type TelevetLocationStatus, TelevetMediaDropNotice, type TelevetMediaDropNoticeProps, type TelevetMediaPicker, TelevetMediaShortfall, type 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 };
864
+ export { BACK_LABEL, type EverfurHeadingLevel, EverfurTelevet, EverfurTelevetBooking, type EverfurTelevetBookingProps, EverfurTelevetDialog, type EverfurTelevetDialogProps, EverfurTelevetFlow, EverfurTelevetFlowRequest, type EverfurTelevetProps, EverfurTelevetReschedule, type EverfurTelevetRescheduleProps, PetRef, TELEVET_BOOKING_COPY_WEB, TELEVET_EMERGENCY_EXITS_WEB, TelevetBookingChrome, type TelevetBookingChromeProps, TelevetBookingContext, TelevetBookingController, TelevetBookingStep, TelevetCalendarWriter, type TelevetCancelTerms, TelevetCancelVisitForm, type TelevetCancelVisitFormProps, TelevetClinicianEmptyState, type TelevetClinicianEmptyStateProps, TelevetConsentCheckbox, TelevetConsult, type TelevetDay, TelevetDayStrip, type TelevetDayStripProps, type TelevetDiscardConfirm, TelevetEarlyEmergency, type TelevetEarlyEmergencyProps, TelevetEmergencyExits, type TelevetEmergencyExitsProps, TelevetEmptyRosterCause, TelevetEntitlementInterestState, type TelevetEntitlementInterestStateProps, type TelevetHistoryMode, TelevetJoinScreen, type TelevetJoinScreenProps, type TelevetLocationStatus, TelevetMediaDropNotice, type TelevetMediaDropNoticeProps, TelevetMediaPicker, TelevetMediaShortfall, type 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 };