@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.
Files changed (185) hide show
  1. package/CHANGELOG.md +326 -0
  2. package/README.md +24 -16
  3. package/dist/{Chat-DZpYH8Uh.d.ts → Chat-Cv9EYMYA.d.ts} +3 -3
  4. package/dist/{Chat-bATY4atj.d.cts → Chat-s2vcPbw3.d.cts} +3 -3
  5. package/dist/{DepthViews-qBIoA48w.d.ts → DepthViews-CVxUHOJ-.d.ts} +1 -1
  6. package/dist/{DepthViews-C4DC4Kom.d.cts → DepthViews-Cz7mSW7p.d.cts} +1 -1
  7. package/dist/{DepthViews-dLTizxjr.d.ts → DepthViews-DNRY0Ugm.d.ts} +1 -1
  8. package/dist/{DepthViews-BpHUbjSY.d.cts → DepthViews-DvNixbxg.d.cts} +1 -1
  9. package/dist/{ErrorPolicyPort-D22LUVrK.d.ts → ErrorPolicyPort-DwSnmGcX.d.ts} +1 -1
  10. package/dist/{ErrorPolicyPort-D6CybiqJ.d.cts → ErrorPolicyPort-NFDPe-5w.d.cts} +1 -1
  11. package/dist/{EverfurError-DmELDpXp.d.cts → EverfurError-pEXDbUJ1.d.cts} +9 -1
  12. package/dist/{EverfurError-DmELDpXp.d.ts → EverfurError-pEXDbUJ1.d.ts} +9 -1
  13. package/dist/{EverfurResult-ZtH-YV1h.d.cts → EverfurResult-dtl8ERAw.d.cts} +1 -1
  14. package/dist/{EverfurResult-SGvHKsCB.d.ts → EverfurResult-sKkoXew0.d.ts} +1 -1
  15. package/dist/IntakeMedia-BFZfBLjB.d.cts +116 -0
  16. package/dist/{BookedScreen-DFJcgf1e.d.ts → IntakeMedia-BH0fYDT2.d.cts} +58 -2
  17. package/dist/{BookedScreen-R5X_Zrlh.d.cts → IntakeMedia-Bavl7E4Z.d.ts} +58 -2
  18. package/dist/IntakeMedia-C8GlN_GK.d.ts +116 -0
  19. package/dist/animations/index.cjs +109 -1
  20. package/dist/animations/index.d.cts +6 -6
  21. package/dist/animations/index.d.ts +6 -6
  22. package/dist/animations/index.js +109 -1
  23. package/dist/{attachments-CPRFfoHT.d.ts → attachments-BaslXMdS.d.ts} +3 -3
  24. package/dist/{attachments-CUOGILir.d.cts → attachments-DbFwz4iq.d.cts} +7 -7
  25. package/dist/{attachments-Ce06TWqe.d.cts → attachments-y3EcOX_w.d.cts} +3 -3
  26. package/dist/{attachments-CXAnZcEg.d.ts → attachments-y_aO4hlk.d.ts} +7 -7
  27. package/dist/{bookingCopy-BwVopcoV.d.cts → bookingCopy-4i1R7klo.d.cts} +15 -7
  28. package/dist/{bookingCopy-DFTv9w6J.d.ts → bookingCopy-B3UMITD-.d.ts} +15 -7
  29. package/dist/{branding-ytH4jJq1.d.ts → branding-BYEqU855.d.ts} +1 -1
  30. package/dist/{branding-Bio5MM6g.d.cts → branding-BwEu68C8.d.cts} +1 -1
  31. package/dist/{callRoom-7wrE3RP2.d.ts → callRoom-B1qq_D-4.d.ts} +1 -1
  32. package/dist/{callRoom-B_EqaUzx.d.cts → callRoom-DfZTWFXh.d.cts} +1 -1
  33. package/dist/{casesRepository-CJchNp3x.d.cts → casesRepository-B6Z0XBIb.d.cts} +2 -2
  34. package/dist/{casesRepository-DAVcY3jC.d.ts → casesRepository-SI0zp5YH.d.ts} +2 -2
  35. package/dist/chat/index.cjs +333 -1
  36. package/dist/chat/index.d.cts +12 -12
  37. package/dist/chat/index.d.ts +12 -12
  38. package/dist/chat/index.js +333 -1
  39. package/dist/client/index.cjs +115 -11
  40. package/dist/client/index.d.cts +14 -14
  41. package/dist/client/index.d.ts +14 -14
  42. package/dist/client/index.js +115 -11
  43. package/dist/{config-ZxwCylac.d.ts → config-Cvo47voG.d.ts} +3 -3
  44. package/dist/{config-h5h6TsHL.d.cts → config-v5k6NsK_.d.cts} +3 -3
  45. package/dist/consent/index.cjs +112 -1
  46. package/dist/consent/index.d.cts +9 -9
  47. package/dist/consent/index.d.ts +9 -9
  48. package/dist/consent/index.js +112 -1
  49. package/dist/{context-CtsAgJnc.d.cts → context-BZOtJbBO.d.cts} +9 -9
  50. package/dist/{context-DtPIshVA.d.ts → context-cZ7NZ0sG.d.ts} +9 -9
  51. package/dist/{copy-Cg89Qoal.d.ts → copy-CZBUHbyS.d.ts} +5 -5
  52. package/dist/{copy-CaWaplQc.d.cts → copy-ChJupm1p.d.cts} +5 -5
  53. package/dist/core/index.cjs +140 -13
  54. package/dist/core/index.d.cts +19 -19
  55. package/dist/core/index.d.ts +19 -19
  56. package/dist/core/index.js +140 -13
  57. package/dist/{depth-EXZYEO70.d.cts → depth-CRyU7-pf.d.cts} +8 -7
  58. package/dist/{depth-Bo4bAwcn.d.ts → depth-vNpwOkZ8.d.ts} +8 -7
  59. package/dist/{entitlementRepository-BYtVb1oU.d.cts → entitlementRepository-Bv8nSYRd.d.cts} +4 -4
  60. package/dist/{entitlementRepository-DcbIx8yV.d.ts → entitlementRepository-CUdxbQrP.d.ts} +4 -4
  61. package/dist/{identity-EC5-apbY.d.ts → identity-B8GkH53J.d.ts} +2 -2
  62. package/dist/{identity-b5Vp32Vp.d.cts → identity-BHaMJ3KK.d.cts} +2 -2
  63. package/dist/index.cjs +363 -12
  64. package/dist/index.d.cts +19 -19
  65. package/dist/index.d.ts +19 -19
  66. package/dist/index.js +363 -12
  67. package/dist/{models-DSqA5Ahs.d.ts → models-CrbUwbuS.d.ts} +1 -1
  68. package/dist/{models-Bn2z0NNo.d.cts → models-DzvqEjMm.d.cts} +1 -1
  69. package/dist/notifications/index.cjs +94 -2
  70. package/dist/notifications/index.d.cts +5 -5
  71. package/dist/notifications/index.d.ts +5 -5
  72. package/dist/notifications/index.js +94 -2
  73. package/dist/{pets-DM8QvKLo.d.cts → pets-BI7Ji8hi.d.cts} +2 -2
  74. package/dist/{pets-B_27_agU.d.ts → pets-Dnn-DK1T.d.ts} +2 -2
  75. package/dist/{petsRepository-CuYZZaI5.d.ts → petsRepository-B2lO1sKS.d.ts} +2 -2
  76. package/dist/{petsRepository-BJsJ4cju.d.cts → petsRepository-BP9nhM1R.d.cts} +2 -2
  77. package/dist/photo/index.cjs +131 -1
  78. package/dist/photo/index.d.cts +3 -3
  79. package/dist/photo/index.d.ts +3 -3
  80. package/dist/photo/index.js +131 -1
  81. package/dist/{ports-nXHf50_X.d.ts → ports-BUXF0Rp3.d.ts} +7 -7
  82. package/dist/{ports-ZmJYgd5I.d.cts → ports-C40S2V14.d.cts} +7 -7
  83. package/dist/records/depth/index.cjs +200 -2
  84. package/dist/records/depth/index.d.cts +11 -11
  85. package/dist/records/depth/index.d.ts +11 -11
  86. package/dist/records/depth/index.js +200 -2
  87. package/dist/records/index.cjs +742 -4
  88. package/dist/records/index.d.cts +22 -14
  89. package/dist/records/index.d.ts +22 -14
  90. package/dist/records/index.js +742 -4
  91. package/dist/{requestFunnel-Ve9BshTB.d.ts → requestFunnel-BrOijMcw.d.ts} +5 -5
  92. package/dist/{requestFunnel-C_cZXhIA.d.cts → requestFunnel-BxNVGyGm.d.cts} +5 -5
  93. package/dist/{runtimeTypes-ByKsp8hm.d.ts → runtimeTypes-CvI1ZH8j.d.ts} +7 -7
  94. package/dist/{runtimeTypes-D155OlBW.d.cts → runtimeTypes-DOO3f-W-.d.cts} +7 -7
  95. package/dist/server/events/index.cjs +92 -2
  96. package/dist/server/events/index.d.cts +4 -4
  97. package/dist/server/events/index.d.ts +4 -4
  98. package/dist/server/events/index.js +92 -2
  99. package/dist/server/index.cjs +95 -2
  100. package/dist/server/index.d.cts +5 -5
  101. package/dist/server/index.d.ts +5 -5
  102. package/dist/server/index.js +95 -2
  103. package/dist/televet/booking/index.cjs +394 -4
  104. package/dist/televet/booking/index.d.cts +24 -127
  105. package/dist/televet/booking/index.d.ts +24 -127
  106. package/dist/televet/booking/index.js +394 -4
  107. package/dist/televet/call/index.cjs +71 -1
  108. package/dist/televet/call/index.d.cts +3 -3
  109. package/dist/televet/call/index.d.ts +3 -3
  110. package/dist/televet/call/index.js +71 -1
  111. package/dist/televet/index.cjs +101 -1
  112. package/dist/televet/index.d.cts +25 -8
  113. package/dist/televet/index.d.ts +25 -8
  114. package/dist/televet/index.js +101 -1
  115. package/dist/{bookingTypes-D4pD3tHs.d.ts → televetGlobal-C5dTUACe.d.cts} +34 -1
  116. package/dist/{bookingTypes-D4pD3tHs.d.cts → televetGlobal-CnjrfhT4.d.ts} +34 -1
  117. package/dist/testing/index.cjs +98 -7
  118. package/dist/testing/index.d.cts +3 -3
  119. package/dist/testing/index.d.ts +3 -3
  120. package/dist/testing/index.js +98 -7
  121. package/dist/testing/rn/index.cjs +101 -1
  122. package/dist/testing/rn/index.d.cts +13 -13
  123. package/dist/testing/rn/index.d.ts +13 -13
  124. package/dist/testing/rn/index.js +101 -1
  125. package/dist/testing/web/index.cjs +95 -1
  126. package/dist/testing/web/index.d.cts +14 -14
  127. package/dist/testing/web/index.d.ts +14 -14
  128. package/dist/testing/web/index.js +95 -1
  129. package/dist/{timelineRows-DXpjECfA.d.ts → timelineRows-CEx2TzYB.d.ts} +1 -1
  130. package/dist/{timelineRows-BNF43SXK.d.cts → timelineRows-Dffceql_.d.cts} +1 -1
  131. package/dist/{tokens-BYtbKwFh.d.cts → tokens-Tzo1KBND.d.cts} +43 -2
  132. package/dist/{tokens-BYtbKwFh.d.ts → tokens-Tzo1KBND.d.ts} +43 -2
  133. package/dist/{typeStyle-BqfwxZH4.d.cts → typeStyle-C3IG9Sft.d.ts} +22 -3
  134. package/dist/{typeStyle-DKz02DGU.d.ts → typeStyle-CZ3Tj60N.d.cts} +22 -3
  135. package/dist/{useRecordsDepth-CARTuHKh.d.cts → useRecordsDepth-D6a6-_u_.d.cts} +7 -6
  136. package/dist/{useRecordsDepth-fPSv-GXU.d.ts → useRecordsDepth-DuPUJFDQ.d.ts} +7 -6
  137. package/dist/{useVetVisit-Ds8f1peV.d.cts → useVetVisit-BQX_aTJs.d.cts} +2 -2
  138. package/dist/{useVetVisit-BsjoDO-n.d.ts → useVetVisit-RPBOabl8.d.ts} +2 -2
  139. package/dist/video/index.cjs +122 -1
  140. package/dist/video/index.d.cts +3 -3
  141. package/dist/video/index.d.ts +3 -3
  142. package/dist/video/index.js +122 -1
  143. package/dist/{view-Dc-JlFkf.d.ts → view-BSmN5RWf.d.ts} +5 -5
  144. package/dist/{view-DGPaVno8.d.cts → view-UFwCG1Pn.d.cts} +5 -5
  145. package/dist/web/consent/index.cjs +111 -1
  146. package/dist/web/consent/index.d.cts +9 -9
  147. package/dist/web/consent/index.d.ts +9 -9
  148. package/dist/web/consent/index.js +111 -1
  149. package/dist/web/index.cjs +325 -14
  150. package/dist/web/index.d.cts +22 -22
  151. package/dist/web/index.d.ts +22 -22
  152. package/dist/web/index.js +325 -14
  153. package/dist/web/notifications/index.cjs +95 -2
  154. package/dist/web/notifications/index.d.cts +7 -7
  155. package/dist/web/notifications/index.d.ts +7 -7
  156. package/dist/web/notifications/index.js +95 -2
  157. package/dist/web/records/depth/index.cjs +169 -2
  158. package/dist/web/records/depth/index.d.cts +11 -11
  159. package/dist/web/records/depth/index.d.ts +11 -11
  160. package/dist/web/records/depth/index.js +169 -2
  161. package/dist/web/records/index.cjs +689 -4
  162. package/dist/web/records/index.d.cts +34 -37
  163. package/dist/web/records/index.d.ts +34 -37
  164. package/dist/web/records/index.js +689 -4
  165. package/dist/web/records/upload/index.cjs +3 -0
  166. package/dist/web/records/upload/index.d.cts +23 -0
  167. package/dist/web/records/upload/index.d.ts +23 -0
  168. package/dist/web/records/upload/index.js +3 -0
  169. package/dist/web/televet/booking/index.cjs +423 -4
  170. package/dist/web/televet/booking/index.d.cts +26 -74
  171. package/dist/web/televet/booking/index.d.ts +26 -74
  172. package/dist/web/televet/booking/index.js +423 -4
  173. package/dist/web/televet/call/index.cjs +28 -1
  174. package/dist/web/televet/call/index.d.cts +2 -2
  175. package/dist/web/televet/call/index.d.ts +2 -2
  176. package/dist/web/televet/call/index.js +28 -1
  177. package/dist/web/televet/index.cjs +102 -4
  178. package/dist/web/televet/index.d.cts +29 -10
  179. package/dist/web/televet/index.d.ts +29 -10
  180. package/dist/web/televet/index.js +102 -4
  181. package/package.json +20 -4
  182. package/web/records/upload/native-blocked.cjs +12 -0
  183. package/web/records/upload/package.json +8 -0
  184. package/dist/televetGlobal-CEk0_cW9.d.cts +0 -34
  185. package/dist/televetGlobal-Cs9Wbqsy.d.ts +0 -34
@@ -1,29 +1,32 @@
1
- import { R as RecordsController } from '../../view-DGPaVno8.cjs';
2
- export { C as ClinicCall, F as FactOverlay, a as REQUEST_TIMELINE_TITLES, b as RecordSharesStatus, c as RecordsDashboardState, d as RecordsDashboardView, e as RecordsEmptyVariant, f as RecordsStatus, g as RequestTimelineEvent, h as RequestTimelineEventKey, i as RequestTimelineEventState, S as ShareRowView, U as UploadDocumentInput, j as UploadQueueItem, k as UploadSkipReason, l as UseEverfurRecordsState, m as UseRecordFactEditState, n as UseRecordPdfLinkState, o as UseRecordSharesState, p as UseRecordsMarkersState, q as applyFactOverlay, r as buildRequestTimeline, s as deriveRecordsDashboardState, t as isFactEditable, u as pickPetRecordsRequest, v as selectClinicCall, w as selectDashboardView, x as selectPrimaryLabel, y as selectRequestList, z as selectRequestTitle, A as useEverfurRecords, B as useEverfurRecordsClinic, D as useEverfurRecordsClinicBatch, E as useRecordFactEdit, G as useRecordPdfLink, H as useRecordShares, I as useRecordsMarkers } from '../../view-DGPaVno8.cjs';
1
+ import { R as RecordsController } from '../../view-UFwCG1Pn.cjs';
2
+ export { C as ClinicCall, F as FactOverlay, a as REQUEST_TIMELINE_TITLES, b as RecordSharesStatus, c as RecordsDashboardState, d as RecordsDashboardView, e as RecordsEmptyVariant, f as RecordsStatus, g as RequestTimelineEvent, h as RequestTimelineEventKey, i as RequestTimelineEventState, S as ShareRowView, U as UploadDocumentInput, j as UploadQueueItem, k as UploadSkipReason, l as UseEverfurRecordsState, m as UseRecordFactEditState, n as UseRecordPdfLinkState, o as UseRecordSharesState, p as UseRecordsMarkersState, q as applyFactOverlay, r as buildRequestTimeline, s as deriveRecordsDashboardState, t as isFactEditable, u as pickPetRecordsRequest, v as selectClinicCall, w as selectDashboardView, x as selectPrimaryLabel, y as selectRequestList, z as selectRequestTitle, A as useEverfurRecords, B as useEverfurRecordsClinic, D as useEverfurRecordsClinicBatch, E as useRecordFactEdit, G as useRecordPdfLink, H as useRecordShares, I as useRecordsMarkers } from '../../view-UFwCG1Pn.cjs';
3
3
  import { CSSProperties, ReactNode, PointerEvent } from 'react';
4
- import { f as RecordsScreenBaseProps, i as RecordsClinicController, j as CaptureRecordsSignature, d as RecordsHostSeams, e as RecordsScreen, C as ClinicDraft, k as ClinicRequestBaseProps, l as ClinicBatchBaseProps } from '../../useRecordsDepth-CARTuHKh.cjs';
5
- export { m as CapturedRecordsSignature, a as ClinicLocation, n as RecordsAsk, R as RecordsAskEntityRef, b as RecordsAskHandler, c as RecordsDepthStatus, o as RecordsNavAction, p as RecordsNavState, q as RecordsSignatureContext, g as RecordsUrlKind, r as RegisterSignaturePng, s as currentRecordsScreen, t as initialRecordsNav, v as popRecordsNav, w as pushRecordsNav, x as recordsNavReducer, y as replaceRecordsNav, z as resetRecordsNav, A as transitionRecordsNav } from '../../useRecordsDepth-CARTuHKh.cjs';
4
+ import { f as RecordsScreenBaseProps, i as RecordsClinicController, j as CaptureRecordsSignature, d as RecordsHostSeams, e as RecordsScreen, C as ClinicDraft, k as ClinicRequestBaseProps, l as ClinicBatchBaseProps, m as CapturedRecordsSignature } from '../../useRecordsDepth-D6a6-_u_.cjs';
5
+ export { a as ClinicLocation, n as RecordsAsk, R as RecordsAskEntityRef, b as RecordsAskHandler, c as RecordsDepthStatus, o as RecordsNavAction, p as RecordsNavState, q as RecordsSignatureContext, g as RecordsUrlKind, r as RegisterSignaturePng, s as currentRecordsScreen, t as initialRecordsNav, v as popRecordsNav, w as pushRecordsNav, x as recordsNavReducer, y as replaceRecordsNav, z as resetRecordsNav, A as transitionRecordsNav } from '../../useRecordsDepth-D6a6-_u_.cjs';
6
6
  import { P as PetRef, R as RecordsRequestId } from '../../ids-B2GAAifq.cjs';
7
7
  export { B as Brand, D as DocumentId, _ as __brand } from '../../ids-B2GAAifq.cjs';
8
- import { d as RecordsRequestView } from '../../models-Bn2z0NNo.cjs';
9
- export { h as ConsentState, C as CreateUploadRequestInput, G as GrantConsentInput, j as RECORDS_TERMINAL, R as RecordDocumentMeta, a as RecordEntity, k as RecordForwardItem, l as RecordIdentityField, b as RecordOrigin, m as RecordSeries, n as RecordSeriesPoint, i as RecordsDenialReason, f as RecordsRequestGroupView, c as RecordsRequestStatus, e as RecordsSimpleStatus, g as RecordsView, U as UploadedDocument, o as isTerminalStatus, r as recordsDenialReasonOf } from '../../models-Bn2z0NNo.cjs';
10
- import { E as EverfurError } from '../../EverfurError-DmELDpXp.cjs';
11
- export { a as EverfurErrorCategory, b as EverfurErrorCode } from '../../EverfurError-DmELDpXp.cjs';
12
- export { C as CreateClinicRequestBatchInput, ak as CreateClinicRequestInput, x as FactFieldValue, A as RECORDS_CLINIC_BATCH_MAX, R as RecordClinicianNote, a as RecordClinicianNoteSection, b as RecordCompleteness, c as RecordConflict, d as RecordConflictCandidate, e as RecordDepthView, f as RecordDocumentContributionsView, g as RecordEncounter, h as RecordExamSystem, D as RecordFactEditInput, E as RecordFactRemoveInput, i as RecordLabMarker, j as RecordLabPoint, G as RecordMarker, I as RecordMarkerLatest, J as RecordMarkerPoint, K as RecordMarkerSummary, L as RecordMarkersView, M as RecordPdfLink, k as RecordPhysicalExam, N as RecordShare, O as RecordShareAudience, P as RecordShareAudienceScope, Q as RecordShareEmailInput, S as RecordShareEmailReceipt, T as RecordShareLink, U as RecordShareRecipientKind, aj as RecordsAuthorizationCopy, V as RecordsAuthorizationSignature, l as RecordsClinic, W as RecordsClinicBatch, X as RecordsClinicBatchClient, Y as RecordsClinicBatchItem, Z as RecordsClinicBatchResult, ag as RecordsClinicSearchInput, ah as RecordsClinicSearchPage, _ as RecordsClinicTarget, m as RecordsDepthClient, am as RecordsFeatures, ao as RecordsPhotoContentType, ai as RecordsRecentClinicsInput, n as RecordsRequestDocument, $ as RecordsSignatureSuggestion, al as RecordsSignatureUploadPolicy, o as RecordsTimelineMedication, p as RecordsTimelineVaccine, q as RecordsTimelineView, r as RecordsTimelineVisit, s as RecordsTimelineWeight, an as RecordsUploadContentType, ap as acceptsPhotos } from '../../depth-EXZYEO70.cjs';
13
- export { a as EverfurDocumentContributionsProps, c as EverfurRecordsDepthProps } from '../../DepthViews-BpHUbjSY.cjs';
14
- import { U as UploadTransport, F as FileHandle } from '../../ports-BN6RHF9W.cjs';
15
- export { a as UploadPolicyWire } from '../../ports-BN6RHF9W.cjs';
16
- export { E as EverfurResult } from '../../EverfurResult-ZtH-YV1h.cjs';
17
- import '../../requestFunnel-C_cZXhIA.cjs';
18
- import '../../ErrorPolicyPort-D6CybiqJ.cjs';
19
- import '../../config-h5h6TsHL.cjs';
20
- import '../../identity-b5Vp32Vp.cjs';
8
+ import { d as RecordsRequestView } from '../../models-DzvqEjMm.cjs';
9
+ export { h as ConsentState, C as CreateUploadRequestInput, G as GrantConsentInput, j as RECORDS_TERMINAL, R as RecordDocumentMeta, a as RecordEntity, k as RecordForwardItem, l as RecordIdentityField, b as RecordOrigin, m as RecordSeries, n as RecordSeriesPoint, i as RecordsDenialReason, f as RecordsRequestGroupView, c as RecordsRequestStatus, e as RecordsSimpleStatus, g as RecordsView, U as UploadedDocument, o as isTerminalStatus, r as recordsDenialReasonOf } from '../../models-DzvqEjMm.cjs';
10
+ import { E as EverfurError } from '../../EverfurError-pEXDbUJ1.cjs';
11
+ export { a as EverfurErrorCategory, b as EverfurErrorCode } from '../../EverfurError-pEXDbUJ1.cjs';
12
+ export { C as CreateClinicRequestBatchInput, ak as CreateClinicRequestInput, y as FactFieldValue, B as RECORDS_CLINIC_BATCH_MAX, R as RecordClinicianNote, a as RecordClinicianNoteSection, b as RecordCompleteness, c as RecordConflict, d as RecordConflictCandidate, e as RecordDepthView, f as RecordDocumentContributionsView, g as RecordEncounter, h as RecordExamSystem, E as RecordFactEditInput, G as RecordFactRemoveInput, i as RecordLabMarker, j as RecordLabPoint, I as RecordMarker, J as RecordMarkerLatest, K as RecordMarkerPoint, L as RecordMarkerSummary, M as RecordMarkersView, N as RecordPdfLink, k as RecordPhysicalExam, O as RecordShare, l as RecordShareAudience, P as RecordShareAudienceScope, Q as RecordShareEmailInput, S as RecordShareEmailReceipt, T as RecordShareLink, U as RecordShareRecipientKind, aj as RecordsAuthorizationCopy, V as RecordsAuthorizationSignature, m as RecordsClinic, W as RecordsClinicBatch, X as RecordsClinicBatchClient, Y as RecordsClinicBatchItem, Z as RecordsClinicBatchResult, ag as RecordsClinicSearchInput, ah as RecordsClinicSearchPage, _ as RecordsClinicTarget, n as RecordsDepthClient, am as RecordsFeatures, ao as RecordsPhotoContentType, ai as RecordsRecentClinicsInput, o as RecordsRequestDocument, $ as RecordsSignatureSuggestion, al as RecordsSignatureUploadPolicy, p as RecordsTimelineMedication, q as RecordsTimelineVaccine, r as RecordsTimelineView, s as RecordsTimelineVisit, t as RecordsTimelineWeight, an as RecordsUploadContentType, ap as acceptsPhotos } from '../../depth-CRyU7-pf.cjs';
13
+ export { a as EverfurDocumentContributionsProps, c as EverfurRecordsDepthProps } from '../../DepthViews-DvNixbxg.cjs';
14
+ export { WebRecordsUploadTransportOptions, createWebRecordsUploadTransport } from './upload/index.cjs';
15
+ import { F as FileHandle } from '../../ports-BN6RHF9W.cjs';
16
+ export { a as UploadPolicyWire, U as UploadTransport } from '../../ports-BN6RHF9W.cjs';
17
+ export { E as EverfurResult } from '../../EverfurResult-dtl8ERAw.cjs';
18
+ import '../../requestFunnel-BxNVGyGm.cjs';
19
+ import '../../ErrorPolicyPort-NFDPe-5w.cjs';
20
+ import '../../config-v5k6NsK_.cjs';
21
+ import '../../identity-BHaMJ3KK.cjs';
21
22
 
22
23
  interface EverfurRecordsPageProps extends RecordsScreenBaseProps {
23
24
  readonly controller?: RecordsController;
24
25
  /** Host/test seam over the clinic controller the `Request records` sheet uses. */
25
26
  readonly clinicController?: RecordsClinicController;
26
27
  readonly consentVersion?: string;
28
+ /** Your consent text, shown above `Allow` on the consent gate; pass it with its `consentVersion`. */
29
+ readonly consentText?: string;
27
30
  /** The owner's name the clinic authorization is signed with (the owner can correct it before signing). */
28
31
  readonly ownerName?: string;
29
32
  /** A host signature component for the clinic authorization, instead of the built-in canvas. */
@@ -62,6 +65,8 @@ interface EverfurRecordsProps extends RecordsHostSeams {
62
65
  readonly clinicController?: RecordsClinicController;
63
66
  /** The consent-text version the content-exposure grant records (host/product owned). */
64
67
  readonly consentVersion?: string;
68
+ /** Your consent text, shown above `Allow` on the consent gate; pass it with its `consentVersion`. */
69
+ readonly consentText?: string;
65
70
  /** The owner's name the clinic authorization is signed with (the owner can correct it before signing). */
66
71
  readonly ownerName?: string;
67
72
  /** A host signature component for the clinic authorization, instead of the built-in canvas. */
@@ -93,6 +98,8 @@ declare function EverfurRecordsRequests(props: EverfurRecordsRequestsProps): Rea
93
98
  interface EverfurRecordsDashboardProps extends RecordsScreenBaseProps {
94
99
  readonly controller?: RecordsController;
95
100
  readonly consentVersion?: string;
101
+ /** Your consent text, shown above `Allow` on the consent gate; pass it with its `consentVersion`. */
102
+ readonly consentText?: string;
96
103
  readonly style?: CSSProperties;
97
104
  readonly className?: string;
98
105
  readonly renderPending?: () => ReactNode;
@@ -112,6 +119,8 @@ declare function EverfurRecordsRequest(props: EverfurRecordsRequestProps): React
112
119
  interface EverfurRecordDetailProps extends RecordsScreenBaseProps {
113
120
  readonly controller?: RecordsController;
114
121
  readonly consentVersion?: string;
122
+ /** Your consent text, shown above `Allow` on the consent gate; pass it with its `consentVersion`. */
123
+ readonly consentText?: string;
115
124
  readonly style?: CSSProperties;
116
125
  readonly className?: string;
117
126
  readonly renderPending?: () => ReactNode;
@@ -121,6 +130,8 @@ declare function EverfurRecordDetail(props: EverfurRecordDetailProps): ReactNode
121
130
  interface EverfurRecordDocumentProps extends RecordsScreenBaseProps {
122
131
  readonly controller?: RecordsController;
123
132
  readonly consentVersion?: string;
133
+ /** Your consent text, shown above `Allow` on the consent gate; pass it with its `consentVersion`. */
134
+ readonly consentText?: string;
124
135
  readonly style?: CSSProperties;
125
136
  readonly className?: string;
126
137
  readonly renderPending?: () => ReactNode;
@@ -216,25 +227,6 @@ interface EverfurClinicRequestBatchProps extends ClinicBatchBaseProps {
216
227
  }
217
228
  declare function EverfurClinicRequestBatch(props: EverfurClinicRequestBatchProps): ReactNode;
218
229
 
219
- interface WebRecordsUploadTransportOptions {
220
- /**
221
- * Test seam: the XMLHttpRequest constructor to use. Defaults to the global one. A host has no reason to
222
- * set it.
223
- */
224
- readonly xhr?: () => XMLHttpRequest;
225
- }
226
- /**
227
- * Create the browser records upload transport. Pass it as `uploadTransport` on the web `EverfurConfig`:
228
- *
229
- * ```tsx
230
- * <EverfurProvider config={{ publishableKey, apiBaseUrl, uploadTransport: createWebRecordsUploadTransport() }} ...>
231
- * ```
232
- *
233
- * It needs the picked file's bytes on `FileHandle.blob` (see `fileToHandle`). A handle with no blob rejects
234
- * before any request is made.
235
- */
236
- declare function createWebRecordsUploadTransport(options?: WebRecordsUploadTransportOptions): UploadTransport;
237
-
238
230
  /** The `accept` hint for the picker. A hint only: the signature check above is what decides. */
239
231
  declare const RECORDS_DOCUMENT_ACCEPT = "application/pdf,.pdf";
240
232
  /**
@@ -287,6 +279,11 @@ interface SignatureCanvasState {
287
279
  readonly register: (controller: RecordsClinicController, signal: AbortSignal) => Promise<{
288
280
  readonly signatureId: string;
289
281
  }>;
282
+ /**
283
+ * What the built-in forms send: `register`'s id, or the same PNG inline when the direct S3 POST itself fails
284
+ * (a network or CORS refusal). Every other failure throws, as `register` does.
285
+ */
286
+ readonly capture: (controller: RecordsClinicController, signal: AbortSignal) => Promise<CapturedRecordsSignature>;
290
287
  }
291
288
  declare function useSignatureCanvas(onEdit?: () => void): SignatureCanvasState;
292
289
  /**
@@ -311,4 +308,4 @@ declare function SignatureCanvas({ pad, disabled }: {
311
308
  readonly disabled: boolean;
312
309
  }): ReactNode;
313
310
 
314
- export { CaptureRecordsSignature, ClinicBatchBaseProps, ClinicDraft, ClinicRequestBaseProps, EverfurClinicPicker, type EverfurClinicPickerProps, EverfurClinicRequest, EverfurClinicRequestBatch, type EverfurClinicRequestBatchProps, type EverfurClinicRequestProps, EverfurError, EverfurRecordDetail, type EverfurRecordDetailProps, EverfurRecordDocument, type EverfurRecordDocumentProps, EverfurRecords, EverfurRecordsConsent, type EverfurRecordsConsentProps, EverfurRecordsDashboard, type EverfurRecordsDashboardProps, EverfurRecordsFlow, EverfurRecordsPage, type EverfurRecordsPageProps, type EverfurRecordsProps, EverfurRecordsRequest, type EverfurRecordsRequestProps, EverfurRecordsRequests, type EverfurRecordsRequestsProps, EverfurRecordsUpload, type EverfurRecordsUploadProps, FileHandle, PetRef, RECORDS_DOCUMENT_ACCEPT, RecordsClinicController, RecordsController, type RecordsHistoryMode, RecordsHostSeams, RecordsRequestId, RecordsRequestView, RecordsScreen, RecordsScreenBaseProps, type RequestDocumentRow, RequestDocumentsList, type RequestDocumentsListProps, type RequestDocumentsStatus, SignatureCanvas, type SignatureCanvasState, UploadTransport, type UseRequestDocumentsState, type WebRecordsUploadTransportOptions, createWebRecordsUploadTransport, fileToHandle, isPdfBlob, isUploadableHandle, pickDocument, recordsDocumentAccept, requestDocumentRows, useRequestDocuments, useSignatureCanvas };
311
+ export { CaptureRecordsSignature, CapturedRecordsSignature, ClinicBatchBaseProps, ClinicDraft, ClinicRequestBaseProps, EverfurClinicPicker, type EverfurClinicPickerProps, EverfurClinicRequest, EverfurClinicRequestBatch, type EverfurClinicRequestBatchProps, type EverfurClinicRequestProps, EverfurError, EverfurRecordDetail, type EverfurRecordDetailProps, EverfurRecordDocument, type EverfurRecordDocumentProps, EverfurRecords, EverfurRecordsConsent, type EverfurRecordsConsentProps, EverfurRecordsDashboard, type EverfurRecordsDashboardProps, EverfurRecordsFlow, EverfurRecordsPage, type EverfurRecordsPageProps, type EverfurRecordsProps, EverfurRecordsRequest, type EverfurRecordsRequestProps, EverfurRecordsRequests, type EverfurRecordsRequestsProps, EverfurRecordsUpload, type EverfurRecordsUploadProps, FileHandle, PetRef, RECORDS_DOCUMENT_ACCEPT, RecordsClinicController, RecordsController, type RecordsHistoryMode, RecordsHostSeams, RecordsRequestId, RecordsRequestView, RecordsScreen, RecordsScreenBaseProps, type RequestDocumentRow, RequestDocumentsList, type RequestDocumentsListProps, type RequestDocumentsStatus, SignatureCanvas, type SignatureCanvasState, type UseRequestDocumentsState, fileToHandle, isPdfBlob, isUploadableHandle, pickDocument, recordsDocumentAccept, requestDocumentRows, useRequestDocuments, useSignatureCanvas };
@@ -1,29 +1,32 @@
1
- import { R as RecordsController } from '../../view-Dc-JlFkf.js';
2
- export { C as ClinicCall, F as FactOverlay, a as REQUEST_TIMELINE_TITLES, b as RecordSharesStatus, c as RecordsDashboardState, d as RecordsDashboardView, e as RecordsEmptyVariant, f as RecordsStatus, g as RequestTimelineEvent, h as RequestTimelineEventKey, i as RequestTimelineEventState, S as ShareRowView, U as UploadDocumentInput, j as UploadQueueItem, k as UploadSkipReason, l as UseEverfurRecordsState, m as UseRecordFactEditState, n as UseRecordPdfLinkState, o as UseRecordSharesState, p as UseRecordsMarkersState, q as applyFactOverlay, r as buildRequestTimeline, s as deriveRecordsDashboardState, t as isFactEditable, u as pickPetRecordsRequest, v as selectClinicCall, w as selectDashboardView, x as selectPrimaryLabel, y as selectRequestList, z as selectRequestTitle, A as useEverfurRecords, B as useEverfurRecordsClinic, D as useEverfurRecordsClinicBatch, E as useRecordFactEdit, G as useRecordPdfLink, H as useRecordShares, I as useRecordsMarkers } from '../../view-Dc-JlFkf.js';
1
+ import { R as RecordsController } from '../../view-BSmN5RWf.js';
2
+ export { C as ClinicCall, F as FactOverlay, a as REQUEST_TIMELINE_TITLES, b as RecordSharesStatus, c as RecordsDashboardState, d as RecordsDashboardView, e as RecordsEmptyVariant, f as RecordsStatus, g as RequestTimelineEvent, h as RequestTimelineEventKey, i as RequestTimelineEventState, S as ShareRowView, U as UploadDocumentInput, j as UploadQueueItem, k as UploadSkipReason, l as UseEverfurRecordsState, m as UseRecordFactEditState, n as UseRecordPdfLinkState, o as UseRecordSharesState, p as UseRecordsMarkersState, q as applyFactOverlay, r as buildRequestTimeline, s as deriveRecordsDashboardState, t as isFactEditable, u as pickPetRecordsRequest, v as selectClinicCall, w as selectDashboardView, x as selectPrimaryLabel, y as selectRequestList, z as selectRequestTitle, A as useEverfurRecords, B as useEverfurRecordsClinic, D as useEverfurRecordsClinicBatch, E as useRecordFactEdit, G as useRecordPdfLink, H as useRecordShares, I as useRecordsMarkers } from '../../view-BSmN5RWf.js';
3
3
  import { CSSProperties, ReactNode, PointerEvent } from 'react';
4
- import { f as RecordsScreenBaseProps, i as RecordsClinicController, j as CaptureRecordsSignature, d as RecordsHostSeams, e as RecordsScreen, C as ClinicDraft, k as ClinicRequestBaseProps, l as ClinicBatchBaseProps } from '../../useRecordsDepth-fPSv-GXU.js';
5
- export { m as CapturedRecordsSignature, a as ClinicLocation, n as RecordsAsk, R as RecordsAskEntityRef, b as RecordsAskHandler, c as RecordsDepthStatus, o as RecordsNavAction, p as RecordsNavState, q as RecordsSignatureContext, g as RecordsUrlKind, r as RegisterSignaturePng, s as currentRecordsScreen, t as initialRecordsNav, v as popRecordsNav, w as pushRecordsNav, x as recordsNavReducer, y as replaceRecordsNav, z as resetRecordsNav, A as transitionRecordsNav } from '../../useRecordsDepth-fPSv-GXU.js';
4
+ import { f as RecordsScreenBaseProps, i as RecordsClinicController, j as CaptureRecordsSignature, d as RecordsHostSeams, e as RecordsScreen, C as ClinicDraft, k as ClinicRequestBaseProps, l as ClinicBatchBaseProps, m as CapturedRecordsSignature } from '../../useRecordsDepth-DuPUJFDQ.js';
5
+ export { a as ClinicLocation, n as RecordsAsk, R as RecordsAskEntityRef, b as RecordsAskHandler, c as RecordsDepthStatus, o as RecordsNavAction, p as RecordsNavState, q as RecordsSignatureContext, g as RecordsUrlKind, r as RegisterSignaturePng, s as currentRecordsScreen, t as initialRecordsNav, v as popRecordsNav, w as pushRecordsNav, x as recordsNavReducer, y as replaceRecordsNav, z as resetRecordsNav, A as transitionRecordsNav } from '../../useRecordsDepth-DuPUJFDQ.js';
6
6
  import { P as PetRef, R as RecordsRequestId } from '../../ids-B2GAAifq.js';
7
7
  export { B as Brand, D as DocumentId, _ as __brand } from '../../ids-B2GAAifq.js';
8
- import { d as RecordsRequestView } from '../../models-DSqA5Ahs.js';
9
- export { h as ConsentState, C as CreateUploadRequestInput, G as GrantConsentInput, j as RECORDS_TERMINAL, R as RecordDocumentMeta, a as RecordEntity, k as RecordForwardItem, l as RecordIdentityField, b as RecordOrigin, m as RecordSeries, n as RecordSeriesPoint, i as RecordsDenialReason, f as RecordsRequestGroupView, c as RecordsRequestStatus, e as RecordsSimpleStatus, g as RecordsView, U as UploadedDocument, o as isTerminalStatus, r as recordsDenialReasonOf } from '../../models-DSqA5Ahs.js';
10
- import { E as EverfurError } from '../../EverfurError-DmELDpXp.js';
11
- export { a as EverfurErrorCategory, b as EverfurErrorCode } from '../../EverfurError-DmELDpXp.js';
12
- export { C as CreateClinicRequestBatchInput, ak as CreateClinicRequestInput, x as FactFieldValue, A as RECORDS_CLINIC_BATCH_MAX, R as RecordClinicianNote, a as RecordClinicianNoteSection, b as RecordCompleteness, c as RecordConflict, d as RecordConflictCandidate, e as RecordDepthView, f as RecordDocumentContributionsView, g as RecordEncounter, h as RecordExamSystem, D as RecordFactEditInput, E as RecordFactRemoveInput, i as RecordLabMarker, j as RecordLabPoint, G as RecordMarker, I as RecordMarkerLatest, J as RecordMarkerPoint, K as RecordMarkerSummary, L as RecordMarkersView, M as RecordPdfLink, k as RecordPhysicalExam, N as RecordShare, O as RecordShareAudience, P as RecordShareAudienceScope, Q as RecordShareEmailInput, S as RecordShareEmailReceipt, T as RecordShareLink, U as RecordShareRecipientKind, aj as RecordsAuthorizationCopy, V as RecordsAuthorizationSignature, l as RecordsClinic, W as RecordsClinicBatch, X as RecordsClinicBatchClient, Y as RecordsClinicBatchItem, Z as RecordsClinicBatchResult, ag as RecordsClinicSearchInput, ah as RecordsClinicSearchPage, _ as RecordsClinicTarget, m as RecordsDepthClient, am as RecordsFeatures, ao as RecordsPhotoContentType, ai as RecordsRecentClinicsInput, n as RecordsRequestDocument, $ as RecordsSignatureSuggestion, al as RecordsSignatureUploadPolicy, o as RecordsTimelineMedication, p as RecordsTimelineVaccine, q as RecordsTimelineView, r as RecordsTimelineVisit, s as RecordsTimelineWeight, an as RecordsUploadContentType, ap as acceptsPhotos } from '../../depth-Bo4bAwcn.js';
13
- export { a as EverfurDocumentContributionsProps, c as EverfurRecordsDepthProps } from '../../DepthViews-qBIoA48w.js';
14
- import { U as UploadTransport, F as FileHandle } from '../../ports-BN6RHF9W.js';
15
- export { a as UploadPolicyWire } from '../../ports-BN6RHF9W.js';
16
- export { E as EverfurResult } from '../../EverfurResult-SGvHKsCB.js';
17
- import '../../requestFunnel-Ve9BshTB.js';
18
- import '../../ErrorPolicyPort-D22LUVrK.js';
19
- import '../../config-ZxwCylac.js';
20
- import '../../identity-EC5-apbY.js';
8
+ import { d as RecordsRequestView } from '../../models-CrbUwbuS.js';
9
+ export { h as ConsentState, C as CreateUploadRequestInput, G as GrantConsentInput, j as RECORDS_TERMINAL, R as RecordDocumentMeta, a as RecordEntity, k as RecordForwardItem, l as RecordIdentityField, b as RecordOrigin, m as RecordSeries, n as RecordSeriesPoint, i as RecordsDenialReason, f as RecordsRequestGroupView, c as RecordsRequestStatus, e as RecordsSimpleStatus, g as RecordsView, U as UploadedDocument, o as isTerminalStatus, r as recordsDenialReasonOf } from '../../models-CrbUwbuS.js';
10
+ import { E as EverfurError } from '../../EverfurError-pEXDbUJ1.js';
11
+ export { a as EverfurErrorCategory, b as EverfurErrorCode } from '../../EverfurError-pEXDbUJ1.js';
12
+ export { C as CreateClinicRequestBatchInput, ak as CreateClinicRequestInput, y as FactFieldValue, B as RECORDS_CLINIC_BATCH_MAX, R as RecordClinicianNote, a as RecordClinicianNoteSection, b as RecordCompleteness, c as RecordConflict, d as RecordConflictCandidate, e as RecordDepthView, f as RecordDocumentContributionsView, g as RecordEncounter, h as RecordExamSystem, E as RecordFactEditInput, G as RecordFactRemoveInput, i as RecordLabMarker, j as RecordLabPoint, I as RecordMarker, J as RecordMarkerLatest, K as RecordMarkerPoint, L as RecordMarkerSummary, M as RecordMarkersView, N as RecordPdfLink, k as RecordPhysicalExam, O as RecordShare, l as RecordShareAudience, P as RecordShareAudienceScope, Q as RecordShareEmailInput, S as RecordShareEmailReceipt, T as RecordShareLink, U as RecordShareRecipientKind, aj as RecordsAuthorizationCopy, V as RecordsAuthorizationSignature, m as RecordsClinic, W as RecordsClinicBatch, X as RecordsClinicBatchClient, Y as RecordsClinicBatchItem, Z as RecordsClinicBatchResult, ag as RecordsClinicSearchInput, ah as RecordsClinicSearchPage, _ as RecordsClinicTarget, n as RecordsDepthClient, am as RecordsFeatures, ao as RecordsPhotoContentType, ai as RecordsRecentClinicsInput, o as RecordsRequestDocument, $ as RecordsSignatureSuggestion, al as RecordsSignatureUploadPolicy, p as RecordsTimelineMedication, q as RecordsTimelineVaccine, r as RecordsTimelineView, s as RecordsTimelineVisit, t as RecordsTimelineWeight, an as RecordsUploadContentType, ap as acceptsPhotos } from '../../depth-vNpwOkZ8.js';
13
+ export { a as EverfurDocumentContributionsProps, c as EverfurRecordsDepthProps } from '../../DepthViews-CVxUHOJ-.js';
14
+ export { WebRecordsUploadTransportOptions, createWebRecordsUploadTransport } from './upload/index.js';
15
+ import { F as FileHandle } from '../../ports-BN6RHF9W.js';
16
+ export { a as UploadPolicyWire, U as UploadTransport } from '../../ports-BN6RHF9W.js';
17
+ export { E as EverfurResult } from '../../EverfurResult-sKkoXew0.js';
18
+ import '../../requestFunnel-BrOijMcw.js';
19
+ import '../../ErrorPolicyPort-DwSnmGcX.js';
20
+ import '../../config-Cvo47voG.js';
21
+ import '../../identity-B8GkH53J.js';
21
22
 
22
23
  interface EverfurRecordsPageProps extends RecordsScreenBaseProps {
23
24
  readonly controller?: RecordsController;
24
25
  /** Host/test seam over the clinic controller the `Request records` sheet uses. */
25
26
  readonly clinicController?: RecordsClinicController;
26
27
  readonly consentVersion?: string;
28
+ /** Your consent text, shown above `Allow` on the consent gate; pass it with its `consentVersion`. */
29
+ readonly consentText?: string;
27
30
  /** The owner's name the clinic authorization is signed with (the owner can correct it before signing). */
28
31
  readonly ownerName?: string;
29
32
  /** A host signature component for the clinic authorization, instead of the built-in canvas. */
@@ -62,6 +65,8 @@ interface EverfurRecordsProps extends RecordsHostSeams {
62
65
  readonly clinicController?: RecordsClinicController;
63
66
  /** The consent-text version the content-exposure grant records (host/product owned). */
64
67
  readonly consentVersion?: string;
68
+ /** Your consent text, shown above `Allow` on the consent gate; pass it with its `consentVersion`. */
69
+ readonly consentText?: string;
65
70
  /** The owner's name the clinic authorization is signed with (the owner can correct it before signing). */
66
71
  readonly ownerName?: string;
67
72
  /** A host signature component for the clinic authorization, instead of the built-in canvas. */
@@ -93,6 +98,8 @@ declare function EverfurRecordsRequests(props: EverfurRecordsRequestsProps): Rea
93
98
  interface EverfurRecordsDashboardProps extends RecordsScreenBaseProps {
94
99
  readonly controller?: RecordsController;
95
100
  readonly consentVersion?: string;
101
+ /** Your consent text, shown above `Allow` on the consent gate; pass it with its `consentVersion`. */
102
+ readonly consentText?: string;
96
103
  readonly style?: CSSProperties;
97
104
  readonly className?: string;
98
105
  readonly renderPending?: () => ReactNode;
@@ -112,6 +119,8 @@ declare function EverfurRecordsRequest(props: EverfurRecordsRequestProps): React
112
119
  interface EverfurRecordDetailProps extends RecordsScreenBaseProps {
113
120
  readonly controller?: RecordsController;
114
121
  readonly consentVersion?: string;
122
+ /** Your consent text, shown above `Allow` on the consent gate; pass it with its `consentVersion`. */
123
+ readonly consentText?: string;
115
124
  readonly style?: CSSProperties;
116
125
  readonly className?: string;
117
126
  readonly renderPending?: () => ReactNode;
@@ -121,6 +130,8 @@ declare function EverfurRecordDetail(props: EverfurRecordDetailProps): ReactNode
121
130
  interface EverfurRecordDocumentProps extends RecordsScreenBaseProps {
122
131
  readonly controller?: RecordsController;
123
132
  readonly consentVersion?: string;
133
+ /** Your consent text, shown above `Allow` on the consent gate; pass it with its `consentVersion`. */
134
+ readonly consentText?: string;
124
135
  readonly style?: CSSProperties;
125
136
  readonly className?: string;
126
137
  readonly renderPending?: () => ReactNode;
@@ -216,25 +227,6 @@ interface EverfurClinicRequestBatchProps extends ClinicBatchBaseProps {
216
227
  }
217
228
  declare function EverfurClinicRequestBatch(props: EverfurClinicRequestBatchProps): ReactNode;
218
229
 
219
- interface WebRecordsUploadTransportOptions {
220
- /**
221
- * Test seam: the XMLHttpRequest constructor to use. Defaults to the global one. A host has no reason to
222
- * set it.
223
- */
224
- readonly xhr?: () => XMLHttpRequest;
225
- }
226
- /**
227
- * Create the browser records upload transport. Pass it as `uploadTransport` on the web `EverfurConfig`:
228
- *
229
- * ```tsx
230
- * <EverfurProvider config={{ publishableKey, apiBaseUrl, uploadTransport: createWebRecordsUploadTransport() }} ...>
231
- * ```
232
- *
233
- * It needs the picked file's bytes on `FileHandle.blob` (see `fileToHandle`). A handle with no blob rejects
234
- * before any request is made.
235
- */
236
- declare function createWebRecordsUploadTransport(options?: WebRecordsUploadTransportOptions): UploadTransport;
237
-
238
230
  /** The `accept` hint for the picker. A hint only: the signature check above is what decides. */
239
231
  declare const RECORDS_DOCUMENT_ACCEPT = "application/pdf,.pdf";
240
232
  /**
@@ -287,6 +279,11 @@ interface SignatureCanvasState {
287
279
  readonly register: (controller: RecordsClinicController, signal: AbortSignal) => Promise<{
288
280
  readonly signatureId: string;
289
281
  }>;
282
+ /**
283
+ * What the built-in forms send: `register`'s id, or the same PNG inline when the direct S3 POST itself fails
284
+ * (a network or CORS refusal). Every other failure throws, as `register` does.
285
+ */
286
+ readonly capture: (controller: RecordsClinicController, signal: AbortSignal) => Promise<CapturedRecordsSignature>;
290
287
  }
291
288
  declare function useSignatureCanvas(onEdit?: () => void): SignatureCanvasState;
292
289
  /**
@@ -311,4 +308,4 @@ declare function SignatureCanvas({ pad, disabled }: {
311
308
  readonly disabled: boolean;
312
309
  }): ReactNode;
313
310
 
314
- export { CaptureRecordsSignature, ClinicBatchBaseProps, ClinicDraft, ClinicRequestBaseProps, EverfurClinicPicker, type EverfurClinicPickerProps, EverfurClinicRequest, EverfurClinicRequestBatch, type EverfurClinicRequestBatchProps, type EverfurClinicRequestProps, EverfurError, EverfurRecordDetail, type EverfurRecordDetailProps, EverfurRecordDocument, type EverfurRecordDocumentProps, EverfurRecords, EverfurRecordsConsent, type EverfurRecordsConsentProps, EverfurRecordsDashboard, type EverfurRecordsDashboardProps, EverfurRecordsFlow, EverfurRecordsPage, type EverfurRecordsPageProps, type EverfurRecordsProps, EverfurRecordsRequest, type EverfurRecordsRequestProps, EverfurRecordsRequests, type EverfurRecordsRequestsProps, EverfurRecordsUpload, type EverfurRecordsUploadProps, FileHandle, PetRef, RECORDS_DOCUMENT_ACCEPT, RecordsClinicController, RecordsController, type RecordsHistoryMode, RecordsHostSeams, RecordsRequestId, RecordsRequestView, RecordsScreen, RecordsScreenBaseProps, type RequestDocumentRow, RequestDocumentsList, type RequestDocumentsListProps, type RequestDocumentsStatus, SignatureCanvas, type SignatureCanvasState, UploadTransport, type UseRequestDocumentsState, type WebRecordsUploadTransportOptions, createWebRecordsUploadTransport, fileToHandle, isPdfBlob, isUploadableHandle, pickDocument, recordsDocumentAccept, requestDocumentRows, useRequestDocuments, useSignatureCanvas };
311
+ export { CaptureRecordsSignature, CapturedRecordsSignature, ClinicBatchBaseProps, ClinicDraft, ClinicRequestBaseProps, EverfurClinicPicker, type EverfurClinicPickerProps, EverfurClinicRequest, EverfurClinicRequestBatch, type EverfurClinicRequestBatchProps, type EverfurClinicRequestProps, EverfurError, EverfurRecordDetail, type EverfurRecordDetailProps, EverfurRecordDocument, type EverfurRecordDocumentProps, EverfurRecords, EverfurRecordsConsent, type EverfurRecordsConsentProps, EverfurRecordsDashboard, type EverfurRecordsDashboardProps, EverfurRecordsFlow, EverfurRecordsPage, type EverfurRecordsPageProps, type EverfurRecordsProps, EverfurRecordsRequest, type EverfurRecordsRequestProps, EverfurRecordsRequests, type EverfurRecordsRequestsProps, EverfurRecordsUpload, type EverfurRecordsUploadProps, FileHandle, PetRef, RECORDS_DOCUMENT_ACCEPT, RecordsClinicController, RecordsController, type RecordsHistoryMode, RecordsHostSeams, RecordsRequestId, RecordsRequestView, RecordsScreen, RecordsScreenBaseProps, type RequestDocumentRow, RequestDocumentsList, type RequestDocumentsListProps, type RequestDocumentsStatus, SignatureCanvas, type SignatureCanvasState, type UseRequestDocumentsState, fileToHandle, isPdfBlob, isUploadableHandle, pickDocument, recordsDocumentAccept, requestDocumentRows, useRequestDocuments, useSignatureCanvas };