@everfur/sdk 0.15.1 → 0.16.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 (164) hide show
  1. package/CHANGELOG.md +122 -0
  2. package/dist/{DepthViews.d-BuEWI6Ln.d.ts → DepthViews.d-A7S-XYiI.d.ts} +1 -1
  3. package/dist/{DepthViews.d--1daZblh.d.cts → DepthViews.d-C4TIZDfz.d.cts} +1 -1
  4. package/dist/{DepthViews.d-CKTnEeUo.d.ts → DepthViews.d-CNjaHLAS.d.ts} +1 -1
  5. package/dist/{DepthViews.d-PuBGdAYk.d.cts → DepthViews.d-DapfRz1S.d.cts} +1 -1
  6. package/dist/{RecordsPage.d-CBB8sfoY.d.ts → RecordsPage.d-6WMbieaV.d.ts} +1 -1
  7. package/dist/{RecordsPage.d-Dq5gpQG0.d.cts → RecordsPage.d-B2gLf8RH.d.cts} +1 -1
  8. package/dist/animations/index.d.cts +5 -5
  9. package/dist/animations/index.d.ts +5 -5
  10. package/dist/{Chat.d-BlsnQwCQ.d.ts → appStateLifecycle.d-B7L427MF.d.ts} +64 -141
  11. package/dist/{Chat.d-BO5iJsR2.d.cts → appStateLifecycle.d-CWedOJq4.d.cts} +64 -141
  12. package/dist/{attachments.d-DRHsJkni.d.cts → attachments.d-BARh-PrJ.d.cts} +24 -6
  13. package/dist/{attachments.d-DFP9yvz9.d.ts → attachments.d-CB0R1_vK.d.ts} +24 -6
  14. package/dist/{attachments.d-C2nkIyDB.d.ts → attachments.d-CPgp4_W-.d.ts} +2 -2
  15. package/dist/{attachments.d-DRUC35Ti.d.cts → attachments.d-DeoaCEMD.d.cts} +2 -2
  16. package/dist/{bookingCopy.d-CFL-1Be2.d.ts → bookingCopy.d-BakTjvWw.d.ts} +2 -2
  17. package/dist/{bookingCopy.d-bF_QknDC.d.cts → bookingCopy.d-CVmpuk9C.d.cts} +2 -2
  18. package/dist/{casesRepository.d-C__BnffJ.d.ts → casesRepository.d-CuokarTU.d.ts} +1 -1
  19. package/dist/{casesRepository.d-BMOnT1fg.d.cts → casesRepository.d-DKRLtYb8.d.cts} +1 -1
  20. package/dist/chat/index.cjs +227 -213
  21. package/dist/chat/index.d.cts +11 -9
  22. package/dist/chat/index.d.ts +11 -9
  23. package/dist/chat/index.js +228 -214
  24. package/dist/client/index.cjs +1 -1
  25. package/dist/client/index.d.cts +6 -6
  26. package/dist/client/index.d.ts +6 -6
  27. package/dist/client/index.js +1 -1
  28. package/dist/{clinicBatch.d-D68RYvc3.d.ts → clinicBatch.d-BP_Rpvcy.d.ts} +2 -2
  29. package/dist/{clinicBatch.d-C5deJ4xY.d.cts → clinicBatch.d-BTDdhMQ2.d.cts} +2 -2
  30. package/dist/{config.d-BQgrIDdu.d.cts → config.d-84fNJFv9.d.cts} +1 -1
  31. package/dist/{config.d-XSMThgVj.d.ts → config.d-B4-Mrwq2.d.ts} +1 -1
  32. package/dist/consent/index.d.cts +5 -5
  33. package/dist/consent/index.d.ts +5 -5
  34. package/dist/{context.d-Ba8YyJpk.d.cts → context.d-87MMrNm6.d.cts} +5 -5
  35. package/dist/{context.d-xoh5vmxS.d.ts → context.d-rNGMZH8T.d.ts} +5 -5
  36. package/dist/{copy.d-Cq-s-UUv.d.cts → copy.d-CJOLhJac.d.cts} +2 -2
  37. package/dist/{copy.d-HV9fU5kh.d.ts → copy.d-DbwWriBp.d.ts} +2 -2
  38. package/dist/core/index.cjs +1 -1
  39. package/dist/core/index.d.cts +13 -13
  40. package/dist/core/index.d.ts +13 -13
  41. package/dist/core/index.js +1 -1
  42. package/dist/{depth.d-DYnkz8Re.d.cts → depth.d-CXpPxNSK.d.cts} +2 -2
  43. package/dist/{depth.d-D7kKiYl7.d.ts → depth.d-Dca1T_RH.d.ts} +2 -2
  44. package/dist/{entitlementRepository.d-DmnUZLl_.d.ts → entitlementRepository.d-BBRYTUlp.d.ts} +2 -2
  45. package/dist/{entitlementRepository.d-B_kEPLhz.d.cts → entitlementRepository.d-DBhzBQjZ.d.cts} +2 -2
  46. package/dist/{focus.d-BHm_QtQ9.d.cts → focus.d-BQnOVAql.d.cts} +3 -3
  47. package/dist/{focus.d-CjL6Cj0m.d.ts → focus.d-BZ2sEpbU.d.ts} +3 -3
  48. package/dist/health-plan/index.cjs +134 -131
  49. package/dist/health-plan/index.d.cts +77 -24
  50. package/dist/health-plan/index.d.ts +77 -24
  51. package/dist/health-plan/index.js +134 -131
  52. package/dist/{idempotency.d-BSRK8od4.d.cts → idempotency.d-9wNNohIA.d.cts} +1 -1
  53. package/dist/{idempotency.d-CFc4CCc9.d.ts → idempotency.d-BdB17veP.d.ts} +1 -1
  54. package/dist/{identity.d-Be2Es9Td.d.ts → identity.d-DxNvhj3a.d.ts} +1 -1
  55. package/dist/{identity.d-HbwYQ4-z.d.cts → identity.d-nRZBzkG2.d.cts} +1 -1
  56. package/dist/index.cjs +232 -218
  57. package/dist/index.d.cts +14 -12
  58. package/dist/index.d.ts +14 -12
  59. package/dist/index.js +233 -219
  60. package/dist/{introEvents.d-Dr34KIaD.d.cts → introEvents.d-CQeiUeLn.d.cts} +1 -1
  61. package/dist/{introEvents.d-DflJ6J9H.d.ts → introEvents.d-bkIxpIKr.d.ts} +1 -1
  62. package/dist/notifications/index.d.cts +4 -4
  63. package/dist/notifications/index.d.ts +4 -4
  64. package/dist/{optInView.d-D23o1gtT.d.cts → optInView.d-BbVUUeoG.d.cts} +2 -2
  65. package/dist/{optInView.d-3mbj1mR6.d.ts → optInView.d-DVJcB4Gp.d.ts} +2 -2
  66. package/dist/{parse.d-BERabxHw.d.ts → parse.d-CGeJrcAC.d.ts} +1 -1
  67. package/dist/{parse.d-4lUXdmvY.d.cts → parse.d-Dk0BasyK.d.cts} +1 -1
  68. package/dist/{pets.d-D_ayuqjp.d.ts → pets.d-DBopbeRe.d.ts} +1 -1
  69. package/dist/{pets.d-CHU0UbXt.d.cts → pets.d-DVptPgi0.d.cts} +1 -1
  70. package/dist/{petsRepository.d-DUaAWoTv.d.ts → petsRepository.d-BtuooSOW.d.ts} +1 -1
  71. package/dist/{petsRepository.d-Bwfe8yuR.d.cts → petsRepository.d-Daef7u0o.d.cts} +1 -1
  72. package/dist/{ports.d-DzEJMVRs.d.ts → ports.d-BxCVSbSi.d.ts} +4 -4
  73. package/dist/{ports.d-ClbPRUtx.d.cts → ports.d-CAT70bVD.d.cts} +4 -4
  74. package/dist/records/depth/index.cjs +1 -1
  75. package/dist/records/depth/index.d.cts +9 -9
  76. package/dist/records/depth/index.d.ts +9 -9
  77. package/dist/records/depth/index.js +1 -1
  78. package/dist/records/index.cjs +242 -200
  79. package/dist/records/index.d.cts +169 -73
  80. package/dist/records/index.d.ts +169 -73
  81. package/dist/records/index.js +243 -201
  82. package/dist/{requestFunnel.d-YabU6G-Z.d.ts → requestFunnel.d-Cxt0JqYx.d.ts} +2 -2
  83. package/dist/{requestFunnel.d-JoqddYSx.d.cts → requestFunnel.d-mEu6B-n8.d.cts} +2 -2
  84. package/dist/{runtimeTypes.d-DQTBJAbk.d.ts → runtimeTypes.d-Bkcj_XQy.d.ts} +4 -4
  85. package/dist/{runtimeTypes.d-Cv38YuzP.d.cts → runtimeTypes.d-D_qHJROH.d.cts} +4 -4
  86. package/dist/{screenProps.d-C-AuHoyF.d.cts → screenProps.d-CR1lrpzR.d.cts} +2 -2
  87. package/dist/{screenProps.d-BuJLzFkN.d.ts → screenProps.d-D9n-ancr.d.ts} +2 -2
  88. package/dist/server/events/index.cjs +1 -1
  89. package/dist/server/events/index.d.cts +2 -2
  90. package/dist/server/events/index.d.ts +2 -2
  91. package/dist/server/events/index.js +1 -1
  92. package/dist/server/index.cjs +1 -1
  93. package/dist/server/index.d.cts +3 -3
  94. package/dist/server/index.d.ts +3 -3
  95. package/dist/server/index.js +1 -1
  96. package/dist/shop/index.cjs +16 -16
  97. package/dist/shop/index.d.cts +12 -3
  98. package/dist/shop/index.d.ts +12 -3
  99. package/dist/shop/index.js +16 -16
  100. package/dist/tabs/index.cjs +4 -4
  101. package/dist/tabs/index.d.cts +34 -15
  102. package/dist/tabs/index.d.ts +34 -15
  103. package/dist/tabs/index.js +5 -5
  104. package/dist/{tabsModel.d-BfIQg6yS.d.ts → tabsModel.d-B7QMug1u.d.cts} +1 -17
  105. package/dist/{tabsModel.d-BfIQg6yS.d.cts → tabsModel.d-B7QMug1u.d.ts} +1 -17
  106. package/dist/televet/booking/index.d.cts +6 -6
  107. package/dist/televet/booking/index.d.ts +6 -6
  108. package/dist/testing/index.d.cts +1 -1
  109. package/dist/testing/index.d.ts +1 -1
  110. package/dist/testing/rn/index.cjs +1 -1
  111. package/dist/testing/rn/index.d.cts +7 -7
  112. package/dist/testing/rn/index.d.ts +7 -7
  113. package/dist/testing/rn/index.js +1 -1
  114. package/dist/testing/web/index.d.cts +7 -7
  115. package/dist/testing/web/index.d.ts +7 -7
  116. package/dist/texting/index.cjs +21 -16
  117. package/dist/texting/index.d.cts +5 -5
  118. package/dist/texting/index.d.ts +5 -5
  119. package/dist/texting/index.js +22 -17
  120. package/dist/threadOptions.d-6hfQS1x7.d.cts +55 -0
  121. package/dist/threadOptions.d-6hfQS1x7.d.ts +55 -0
  122. package/dist/threadOptions.d-BEG-LZrC.d.cts +147 -0
  123. package/dist/threadOptions.d-BerQM1Ql.d.ts +147 -0
  124. package/dist/{threadOptions.d-8x_1evAr.d.ts → threadOptions.d-BgBvSIw8.d.ts} +6 -40
  125. package/dist/{threadOptions.d-DBrmOwmb.d.cts → threadOptions.d-P9v7I7va.d.cts} +6 -40
  126. package/dist/{timelineRows.d-B6lLC8Ud.d.cts → timelineRows.d-C04lp_Vj.d.cts} +1 -1
  127. package/dist/{timelineRows.d-Brlkti-G.d.ts → timelineRows.d-_7JemrY-.d.ts} +1 -1
  128. package/dist/{planSignals.d-CON9gTvJ.d.ts → useHealthPlanSubscription.d-CUbHE6eK.d.ts} +81 -3
  129. package/dist/{planSignals.d-Dha2CMDF.d.cts → useHealthPlanSubscription.d-OhLZpn-n.d.cts} +81 -3
  130. package/dist/{usePresentation.d-Bne14SlX.d.ts → usePresentation.d-CBtBx38t.d.ts} +40 -40
  131. package/dist/{usePresentation.d-BcdCIuEU.d.cts → usePresentation.d-YkJeq9mf.d.cts} +40 -40
  132. package/dist/{useRecordsDepth.d-DAa169VY.d.cts → useRecordsDepth.d-FTImzp6T.d.cts} +1 -1
  133. package/dist/{useRecordsDepth.d-Cd6J03o5.d.ts → useRecordsDepth.d-_rqDIvoq.d.ts} +1 -1
  134. package/dist/{view.d-3d5_O7Xk.d.cts → view.d-Dd6AfMvG.d.cts} +3 -3
  135. package/dist/{view.d-DkGM8GNA.d.ts → view.d-gmYinlac.d.ts} +3 -3
  136. package/dist/web/consent/index.d.cts +5 -5
  137. package/dist/web/consent/index.d.ts +5 -5
  138. package/dist/web/health-plan/index.cjs +1 -1
  139. package/dist/web/health-plan/index.d.cts +15 -69
  140. package/dist/web/health-plan/index.d.ts +15 -69
  141. package/dist/web/health-plan/index.js +1 -1
  142. package/dist/web/index.cjs +5 -5
  143. package/dist/web/index.d.cts +26 -43
  144. package/dist/web/index.d.ts +26 -43
  145. package/dist/web/index.js +5 -5
  146. package/dist/web/intro/index.d.cts +6 -6
  147. package/dist/web/intro/index.d.ts +6 -6
  148. package/dist/web/notifications/index.d.cts +3 -3
  149. package/dist/web/notifications/index.d.ts +3 -3
  150. package/dist/web/records/depth/index.d.cts +9 -9
  151. package/dist/web/records/depth/index.d.ts +9 -9
  152. package/dist/web/records/index.d.cts +11 -11
  153. package/dist/web/records/index.d.ts +11 -11
  154. package/dist/web/records-sheet/index.cjs +10 -10
  155. package/dist/web/records-sheet/index.js +10 -10
  156. package/dist/web/shop/index.cjs +11 -11
  157. package/dist/web/shop/index.d.cts +3 -3
  158. package/dist/web/shop/index.d.ts +3 -3
  159. package/dist/web/shop/index.js +11 -11
  160. package/dist/web/televet/booking/index.d.cts +6 -6
  161. package/dist/web/televet/booking/index.d.ts +6 -6
  162. package/dist/web/texting/index.d.cts +5 -5
  163. package/dist/web/texting/index.d.ts +5 -5
  164. package/package.json +6 -2
@@ -2,37 +2,37 @@
2
2
  import { R as RecordsController } from '../useRecords.d-BYNX01El.cjs';
3
3
  export { a as RecordsStatus, b as UploadDocumentInput, c as UploadQueueItem, d as UploadSkipReason, U as UseEverfurRecordsState, u as useEverfurRecords } from '../useRecords.d-BYNX01El.cjs';
4
4
  import { ReactNode } from 'react';
5
- import { ImageSourcePropType, StyleProp, ViewStyle } from 'react-native';
5
+ import { ImageSourcePropType, StyleProp, ViewStyle, TextStyle } from 'react-native';
6
6
  import { P as PetRef, R as RecordsRequestId } from '../ids.d-B2GAAifq.cjs';
7
7
  export { B as Brand, D as DocumentId, _ as __brand } from '../ids.d-B2GAAifq.cjs';
8
8
  import { R as RecordsClinicController, C as CaptureRecordsSignature, a as ClinicRequestBaseProps } from '../clinicRequestProps.d-1dCtouGA.cjs';
9
9
  export { b as CapturedRecordsSignature, c as RecordsSignatureContext } from '../clinicRequestProps.d-1dCtouGA.cjs';
10
10
  import { U as UploadTransport } from '../ports.d-BX4f4UsB.cjs';
11
11
  export { F as FileHandle, a as UploadPolicyWire } from '../ports.d-BX4f4UsB.cjs';
12
- import { c as RecordsScreenBaseProps, R as RecordsHostSeams, b as RecordsScreen, C as ClinicDraft, e as ClinicBatchBaseProps } from '../screenProps.d-C-AuHoyF.cjs';
13
- export { a as ClinicLocation, f as RecordsNavAction, g as RecordsNavState, d as RecordsUrlKind, h as RegisterSignaturePng, i as currentRecordsScreen, j as initialRecordsNav, p as popRecordsNav, k as pushRecordsNav, r as recordsNavReducer, l as replaceRecordsNav, m as resetRecordsNav, t as transitionRecordsNav } from '../screenProps.d-C-AuHoyF.cjs';
12
+ import { c as RecordsScreenBaseProps, R as RecordsHostSeams, b as RecordsScreen, C as ClinicDraft, e as ClinicBatchBaseProps } from '../screenProps.d-CR1lrpzR.cjs';
13
+ export { a as ClinicLocation, f as RecordsNavAction, g as RecordsNavState, d as RecordsUrlKind, h as RegisterSignaturePng, i as currentRecordsScreen, j as initialRecordsNav, p as popRecordsNav, k as pushRecordsNav, r as recordsNavReducer, l as replaceRecordsNav, m as resetRecordsNav, t as transitionRecordsNav } from '../screenProps.d-CR1lrpzR.cjs';
14
14
  import { R as RecordsDocumentPicker } from '../uploadTransport.d-CWL7CdWP.cjs';
15
15
  import { i as EverfurPresentationInput } from '../presentation.d-vy8kTGfR.cjs';
16
16
  export { E as EverfurChatAnswerStyle, a as EverfurChatComposerPlaceholder, b as EverfurChatComposerStyle, c as EverfurChatHistoryBarSetting, d as EverfurChatHistoryStyle, e as EverfurChatSendButtonSetting, f as EverfurChatTopCardSetting, g as EverfurHealthPlanLayout, h as EverfurPresentation, j as EverfurSafetyDisclaimerPlacement } from '../presentation.d-vy8kTGfR.cjs';
17
17
  import { c as RecordForwardItem, d as RecordsRequestView } from '../models.d-BSqvbTE1.cjs';
18
18
  export { g as ConsentState, C as CreateUploadRequestInput, G as GrantConsentInput, k as RECORDS_TERMINAL, R as RecordDocumentMeta, a as RecordEntity, l as RecordIdentityField, b as RecordOrigin, m as RecordSeries, n as RecordSeriesPoint, h as RecordsDenialReason, e as RecordsRequestGroupView, i as RecordsRequestStatus, j as RecordsSimpleStatus, f as RecordsView, U as UploadedDocument, o as isTerminalStatus, r as recordsDenialReasonOf } from '../models.d-BSqvbTE1.cjs';
19
19
  import { R as RecordsSheetPronoun } from '../sheetCopy.d-CAhLOxjc.cjs';
20
+ import { m as EverfurTheme } from '../tokens.d-BUVqme2D.cjs';
20
21
  import { a as RecordsAskHandler } from '../recordsAsk.d-C5CGSi3j.cjs';
21
22
  export { b as RecordsAsk, R as RecordsAskEntityRef } from '../recordsAsk.d-C5CGSi3j.cjs';
22
- export { C as ClinicCall, F as FactOverlay, R as REQUEST_TIMELINE_TITLES, a as RecordSharesStatus, b as RecordsDashboardState, c as RecordsDashboardView, d as RecordsEmptyVariant, e as RequestTimelineEvent, f as RequestTimelineEventKey, g as RequestTimelineEventState, S as ShareRowView, U as UseRecordFactEditState, h as UseRecordPdfLinkState, i as UseRecordSharesState, j as UseRecordsMarkersState, k as applyFactOverlay, l as buildRequestTimeline, m as deriveRecordsDashboardState, n as isFactEditable, p as pickPetRecordsRequest, s as selectClinicCall, o as selectDashboardView, q as selectPrimaryLabel, r as selectRequestList, t as selectRequestTitle, u as useEverfurRecordsClinic, v as useEverfurRecordsClinicBatch, w as useRecordFactEdit, x as useRecordPdfLink, y as useRecordShares, z as useRecordsMarkers } from '../view.d-3d5_O7Xk.cjs';
23
- export { R as RecordsDepthStatus } from '../useRecordsDepth.d-DAa169VY.cjs';
24
- export { w as FactFieldValue, 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, y as RecordFactEditInput, z as RecordFactRemoveInput, i as RecordLabMarker, j as RecordLabPoint, A as RecordMarker, B as RecordMarkerLatest, C as RecordMarkerPoint, D as RecordMarkerSummary, E as RecordMarkersView, k as RecordPhysicalExam, l as RecordsDepthClient, m as RecordsRequestDocument, G as RecordsSignatureSuggestion, n as RecordsTimelineMedication, o as RecordsTimelineVaccine, p as RecordsTimelineView, q as RecordsTimelineVisit, r as RecordsTimelineWeight } from '../depth.d-DYnkz8Re.cjs';
23
+ export { C as ClinicCall, F as FactOverlay, R as REQUEST_TIMELINE_TITLES, a as RecordSharesStatus, b as RecordsDashboardState, c as RecordsDashboardView, d as RecordsEmptyVariant, e as RequestTimelineEvent, f as RequestTimelineEventKey, g as RequestTimelineEventState, S as ShareRowView, U as UseRecordFactEditState, h as UseRecordPdfLinkState, i as UseRecordSharesState, j as UseRecordsMarkersState, k as applyFactOverlay, l as buildRequestTimeline, m as deriveRecordsDashboardState, n as isFactEditable, p as pickPetRecordsRequest, s as selectClinicCall, o as selectDashboardView, q as selectPrimaryLabel, r as selectRequestList, t as selectRequestTitle, u as useEverfurRecordsClinic, v as useEverfurRecordsClinicBatch, w as useRecordFactEdit, x as useRecordPdfLink, y as useRecordShares, z as useRecordsMarkers } from '../view.d-Dd6AfMvG.cjs';
24
+ export { R as RecordsDepthStatus } from '../useRecordsDepth.d-FTImzp6T.cjs';
25
+ export { w as FactFieldValue, 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, y as RecordFactEditInput, z as RecordFactRemoveInput, i as RecordLabMarker, j as RecordLabPoint, A as RecordMarker, B as RecordMarkerLatest, C as RecordMarkerPoint, D as RecordMarkerSummary, E as RecordMarkersView, k as RecordPhysicalExam, l as RecordsDepthClient, m as RecordsRequestDocument, G as RecordsSignatureSuggestion, n as RecordsTimelineMedication, o as RecordsTimelineVaccine, p as RecordsTimelineView, q as RecordsTimelineVisit, r as RecordsTimelineWeight } from '../depth.d-CXpPxNSK.cjs';
25
26
  export { g as RecordPdfLink, f as RecordShare, R as RecordShareAudience, i as RecordShareAudienceScope, d as RecordShareEmailInput, e as RecordShareEmailReceipt, c as RecordShareLink, j as RecordShareRecipientKind, a as RecordsFeatures, q as RecordsPhotoContentType, b as RecordsUploadContentType, s as acceptsPhotos } from '../features.d-DrQxTw3-.cjs';
26
- export { a as EverfurDocumentContributionsProps, c as EverfurRecordsDepthProps } from '../DepthViews.d-PuBGdAYk.cjs';
27
- export { C as CreateClinicRequestBatchInput, b as RECORDS_CLINIC_BATCH_MAX, R as RecordsClinicBatch, a as RecordsClinicBatchClient, c as RecordsClinicBatchItem, d as RecordsClinicBatchResult } from '../clinicBatch.d-C5deJ4xY.cjs';
27
+ export { a as EverfurDocumentContributionsProps, c as EverfurRecordsDepthProps } from '../DepthViews.d-DapfRz1S.cjs';
28
+ export { C as CreateClinicRequestBatchInput, b as RECORDS_CLINIC_BATCH_MAX, R as RecordsClinicBatch, a as RecordsClinicBatchClient, c as RecordsClinicBatchItem, d as RecordsClinicBatchResult } from '../clinicBatch.d-BTDdhMQ2.cjs';
28
29
  export { C as CreateClinicRequestInput, f as RecordsAuthorizationCopy, b as RecordsAuthorizationSignature, R as RecordsClinic, c as RecordsClinicSearchInput, d as RecordsClinicSearchPage, a as RecordsClinicTarget, e as RecordsRecentClinicsInput, g as RecordsSignatureUploadPolicy } from '../clinicModels.d-BXgKZqDb.cjs';
29
30
  export { E as EverfurError, a as EverfurErrorCategory, b as EverfurErrorCode } from '../EverfurError.d-8NHtlgzA.cjs';
30
31
  export { E as EverfurResult } from '../EverfurResult.d-BFH-3s6E.cjs';
31
- import { m as EverfurTheme } from '../tokens.d-BUVqme2D.cjs';
32
32
  import '../ErrorPolicyPort.d-DirW9hgO.cjs';
33
- import '../requestFunnel.d-JoqddYSx.cjs';
34
- import '../config.d-BQgrIDdu.cjs';
35
- import '../identity.d-HbwYQ4-z.cjs';
33
+ import '../requestFunnel.d-mEu6B-n8.cjs';
34
+ import '../config.d-84fNJFv9.cjs';
35
+ import '../identity.d-nRZBzkG2.cjs';
36
36
 
37
37
  /** Your own art for the pet on grass, in place of ours: the grass the pet stands on and your drawing of this pet. */
38
38
  interface RecordsSheetStage {
@@ -51,6 +51,93 @@ interface RecordsSheetStage {
51
51
  /** The font family your app registered for the handwritten line (his Caveat). */
52
52
  readonly handFontFamily?: string;
53
53
  }
54
+ /**
55
+ * The web sheet's stage (`{ grassSrc, petSrc }`, image URLs), accepted as it is so one config serves both platforms:
56
+ * each URL is drawn as `{ uri }`. A bundled image (`require(...)`) goes in `RecordsSheetStage` instead.
57
+ */
58
+ interface RecordsSheetStageUrls {
59
+ readonly grassSrc: string;
60
+ readonly petSrc: string;
61
+ readonly head?: {
62
+ readonly x: number;
63
+ readonly top: number;
64
+ };
65
+ readonly handFontFamily?: string;
66
+ }
67
+
68
+ /** The sheet's resolved colours for one theme. */
69
+ interface RecordsSheetLook {
70
+ readonly dark: boolean;
71
+ /**
72
+ * The ground behind the sheet, where the host's own part sits above it (his `--emb-paper` around `.efh-sheet`):
73
+ * Raph's paper neutral in light (the v3 palette's), the theme's background in dark.
74
+ */
75
+ readonly paper: string;
76
+ /** The sheet's ground (`.efh-sheet` background). */
77
+ readonly ground: string;
78
+ /** A card (`.efh-card`). */
79
+ readonly card: string;
80
+ /** Body text. */
81
+ readonly text: string;
82
+ readonly muted: string;
83
+ readonly line: string;
84
+ /** Headings and ink text (his ink, the partner's brand ink). */
85
+ readonly ink: string;
86
+ /** The ink button and ink way fill (his ink, the partner's primary) and the text on it. */
87
+ readonly fill: string;
88
+ readonly onFill: string;
89
+ /** His accent green on a brand fill (the ink way's chevron), the partner's accent. */
90
+ readonly accentOnFill: string;
91
+ /** His accent green as a progress bar on a light ground, the partner's accent. */
92
+ readonly accent: string;
93
+ /** Status: in range / clear. */
94
+ readonly go: string;
95
+ readonly goTint: string;
96
+ /** Status: above range / overdue. */
97
+ readonly alert: string;
98
+ readonly alertDeep: string;
99
+ readonly alertTint: string;
100
+ /** The watch pill. */
101
+ readonly watch: string;
102
+ /** The breathing vital's icon (`.efh-ico--wind`, his sky blue). */
103
+ readonly wind: string;
104
+ readonly tintSage: string;
105
+ readonly tintBlue: string;
106
+ readonly tintYellow: string;
107
+ /** His Embark cyan tile, which is a partner accent: the partner's accent at his strength (his cyan with none set). */
108
+ readonly tintPartner: string;
109
+ readonly chevron: string;
110
+ readonly rowGround: string;
111
+ readonly barTrack: string;
112
+ /** `.efh-pill--plain` edge: his ink at 20%, so the partner's ink at 20% (Q4). */
113
+ readonly plainEdge: string;
114
+ /**
115
+ * The top risk card (V3 `.rec-top`, filled with his brand accent): the partner's accent when it set one, else his
116
+ * sage tile in the partner's primary; the kicker and the sentence on it always read at 4.5:1 or better.
117
+ */
118
+ readonly topFill: string;
119
+ readonly topKicker: string;
120
+ readonly topInk: string;
121
+ }
122
+ /** Raph's palette under Q4 for the resolved theme. */
123
+ declare function recordsSheetLook(theme: EverfurTheme): RecordsSheetLook;
124
+ /**
125
+ * Whose colours the sheet paints in, the web sheet's `RecordsSheetPalette`: `'theme'` (the default) maps his records
126
+ * palette onto your theme as above; `'raph'` keeps all of Everfur's own colours whatever your theme is.
127
+ */
128
+ type RecordsSheetPalette = 'theme' | 'raph';
129
+ /**
130
+ * The faces the sheet sets its words in, the web sheet's `RecordsSheetFonts`: `font` (body), `mono` (labels, dates),
131
+ * `hand` (the line over the pet). React Native names one registered family per face, so a web CSS stack
132
+ * (`'"Azeret", sans-serif'`) is read as its first family; the faces are yours to register, as for every SDK surface.
133
+ * `sans` is the web sheet's DNA slot face, which this sheet does not draw (accepted so a web config type-checks).
134
+ */
135
+ interface RecordsSheetFonts {
136
+ readonly font: string;
137
+ readonly mono: string;
138
+ readonly hand: string;
139
+ readonly sans: string;
140
+ }
54
141
 
55
142
  /** The pet's sex as the plan page and the profile carry it. */
56
143
  type RecordsSheetSex = 'female' | 'male' | 'unknown' | null | undefined;
@@ -103,7 +190,19 @@ interface EverfurRecordsSheetOptions {
103
190
  * pet as our app's Health tab does: our grass and this pet's own breed drawing from Everfur, under the name, with
104
191
  * the vitals over it (a record) or the line it says over its head (no record yet).
105
192
  */
106
- readonly stage?: RecordsSheetStage;
193
+ readonly stage?: RecordsSheetStage | RecordsSheetStageUrls;
194
+ /**
195
+ * Whose colours, as on the web sheet: `'theme'` (the default) paints Everfur's records palette in your theme's
196
+ * primary and accent; `'raph'` keeps all of Everfur's own colours.
197
+ */
198
+ readonly palette?: RecordsSheetPalette;
199
+ /** Faces over the theme's for the sheet's words (`font`, `mono`) and the line over the pet (`hand`); yours to register. */
200
+ readonly fonts?: Partial<RecordsSheetFonts>;
201
+ /**
202
+ * The top risk line over the records (the pet's Health Plan focus): on or off over the console's
203
+ * `records_top_risk_line`, as the web sheet's option. Wins over `presentation.recordsTopRiskLine`.
204
+ */
205
+ readonly topRiskLine?: boolean;
107
206
  /**
108
207
  * The font family your app registered for the handwritten line over the pet (our app's Caveat), when you hand no
109
208
  * `stage` (a stage's own `handFontFamily` wins). Without either, the generic `cursive` face where the platform has
@@ -187,6 +286,26 @@ interface EverfurRecordsProps extends RecordsHostSeams {
187
286
  * tune it. `false` keeps the previous records dashboard (`EverfurRecordsDashboard`).
188
287
  */
189
288
  readonly sheet?: boolean | EverfurRecordsSheetOptions;
289
+ /**
290
+ * Called with the exact screen each edge leads to, as the web records page's `onNavigate`: pass it only if you route
291
+ * the records screens yourself (each is exported by name). With it the flow does not move on its own; absent, the
292
+ * flow's own stack takes every edge.
293
+ */
294
+ readonly onNavigate?: (to: RecordsScreen) => void;
295
+ /** With the sheet: your control on an overdue care row, as the web page's (`sheet.renderUpcomingCareAction` wins). */
296
+ readonly renderUpcomingCareAction?: EverfurRecordsSheetOptions['renderUpcomingCareAction'];
297
+ /** With the sheet: the pet has no vet yet (your data), as the web page's (`sheet.noVet` wins). */
298
+ readonly noVet?: boolean;
299
+ /** With the sheet: the unit a weight shows in first, `'lb'` (the default) or `'kg'` (`sheet.weightUnit` wins). */
300
+ readonly weightUnit?: EverfurRecordsSheetOptions['weightUnit'];
301
+ /** With the sheet: opens the pet's Health Plan, the top risk line's button (`sheet.onOpenPlan` wins). */
302
+ readonly onOpenPlan?: () => void;
303
+ /** With the sheet: opens your screenings screen (`sheet.onOpenScreenings` wins). */
304
+ readonly onOpenScreenings?: () => void;
305
+ /** With the sheet: your own clinic request flow in place of the flow's picker (`sheet.onRequestFromClinic` wins). */
306
+ readonly onRequestFromClinic?: EverfurRecordsSheetOptions['onRequestFromClinic'];
307
+ /** With `sheet={false}`: the dashboard's `alwaysShowWays` (keep the two ways to add records under a record). */
308
+ readonly alwaysShowWays?: boolean;
190
309
  }
191
310
  declare function EverfurRecordsFlow(props: EverfurRecordsProps): ReactNode;
192
311
  /** The public prebuilt records surface: the flow, starting at the dashboard. */
@@ -202,6 +321,13 @@ interface EverfurRecordsDashboardProps extends RecordsScreenBaseProps {
202
321
  readonly style?: StyleProp<ViewStyle>;
203
322
  /** Your own placeholder while the entitlement verdict is pending on a cold mount. */
204
323
  readonly renderPending?: () => ReactNode;
324
+ /**
325
+ * Keep the two ways to add records (`Request from a clinic`, `Upload a document`) on the dashboard once a record
326
+ * or lab results exist, under them. Accepted for parity with the web dashboard so one config serves both. In React
327
+ * Native the two ways are already drawn under every record and lab view (see `addActions`), so this is effectively
328
+ * always on here and the value changes nothing.
329
+ */
330
+ readonly alwaysShowWays?: boolean;
205
331
  }
206
332
  declare function EverfurRecordsDashboard(props: EverfurRecordsDashboardProps): ReactNode;
207
333
 
@@ -286,6 +412,14 @@ interface EverfurRecordsRequestsProps extends RecordsScreenBaseProps {
286
412
  /** Every upload and clinic request for the pet, each with its own status (the consumer's request list). */
287
413
  declare function EverfurRecordsRequests(props: EverfurRecordsRequestsProps): ReactNode;
288
414
 
415
+ interface RequestDocumentsListProps extends Pick<RecordsHostSeams, 'onOpenUrl'> {
416
+ readonly requestId: string;
417
+ /** The surface's own open state. False costs no network; true starts the read. Defaults to true. */
418
+ readonly open?: boolean;
419
+ readonly testID?: string;
420
+ }
421
+ declare function RequestDocumentsList({ requestId, open, onOpenUrl, testID }: RequestDocumentsListProps): ReactNode;
422
+
289
423
  interface EverfurClinicRequestProps extends ClinicRequestBaseProps {
290
424
  readonly style?: StyleProp<ViewStyle>;
291
425
  }
@@ -305,8 +439,14 @@ interface SignaturePadProps {
305
439
  /** The current signature as a base64 PNG, or null when the pad is empty. Called on every change. */
306
440
  readonly onChange: (signaturePngBase64: string | null) => void;
307
441
  readonly disabled?: boolean;
442
+ /**
443
+ * The draw-or-type mode, when the caller owns it (the consent screen draws its own label and toggle above the
444
+ * pad). Given, the pad renders neither, so there is ONE toggle and one mode; switching clears the pad, as the
445
+ * pad's own toggle does. Left out, the pad keeps its own label, toggle and mode.
446
+ */
447
+ readonly mode?: 'draw' | 'type';
308
448
  }
309
- declare function SignaturePad({ onChange, disabled }: SignaturePadProps): ReactNode;
449
+ declare function SignaturePad({ onChange, disabled, mode: controlledMode }: SignaturePadProps): ReactNode;
310
450
 
311
451
  /** The subset of `fetch` this registration calls (the same shape the records upload transport takes). */
312
452
  type RnSignatureFetch = (url: string, init: {
@@ -321,6 +461,15 @@ declare function registerRnSignature(signaturePngBase64: string, controller: Rec
321
461
  readonly signatureId: string;
322
462
  }>;
323
463
 
464
+ /** The records sheet's options for `EverfurRecords`'s `sheet`, frozen (build once, as on the web). */
465
+ declare function recordsSheet(options?: EverfurRecordsSheetOptions): EverfurRecordsSheetOptions;
466
+ /** The row button's box and words, for your own control on an overdue care row (`renderUpcomingCareAction`). */
467
+ interface RecordsSheetRowButtonStyle {
468
+ readonly style: ViewStyle;
469
+ readonly labelStyle: TextStyle;
470
+ }
471
+ declare const RECORDS_SHEET_ROW_BUTTON_STYLE: RecordsSheetRowButtonStyle;
472
+
324
473
  interface EverfurRecordsLabDetailProps {
325
474
  readonly petRef: PetRef;
326
475
  readonly petName?: string;
@@ -332,66 +481,13 @@ interface EverfurRecordsLabDetailProps {
332
481
  readonly onAsk?: RecordsAskHandler;
333
482
  /** Draw the Ask control yourself: call `ask` on its press and label it with `label` ("Ask about this"). */
334
483
  readonly renderAskButton?: (ask: () => void, label: string) => ReactNode;
484
+ /** Whose colours, as the records sheet's `palette` (pass the sheet's own so the two screens match). */
485
+ readonly palette?: RecordsSheetPalette;
486
+ /** Faces over the theme's, as the records sheet's `fonts`. */
487
+ readonly fonts?: Partial<RecordsSheetFonts>;
335
488
  readonly style?: StyleProp<ViewStyle>;
336
489
  }
337
490
  /** Raph's lab screen for one value. Renders nothing until the markers read lands, and nothing for an unknown id. */
338
- declare function EverfurRecordsLabDetail({ petRef, petName, markerId, renderExtra, onAsk, renderAskButton, style }: EverfurRecordsLabDetailProps): ReactNode;
339
-
340
- /** The sheet's resolved colours for one theme. */
341
- interface RecordsSheetLook {
342
- readonly dark: boolean;
343
- /**
344
- * The ground behind the sheet, where the host's own part sits above it (his `--emb-paper` around `.efh-sheet`):
345
- * Raph's paper neutral in light (the v3 palette's), the theme's background in dark.
346
- */
347
- readonly paper: string;
348
- /** The sheet's ground (`.efh-sheet` background). */
349
- readonly ground: string;
350
- /** A card (`.efh-card`). */
351
- readonly card: string;
352
- /** Body text. */
353
- readonly text: string;
354
- readonly muted: string;
355
- readonly line: string;
356
- /** Headings and ink text (his ink, the partner's brand ink). */
357
- readonly ink: string;
358
- /** The ink button and ink way fill (his ink, the partner's primary) and the text on it. */
359
- readonly fill: string;
360
- readonly onFill: string;
361
- /** His accent green on a brand fill (the ink way's chevron), the partner's accent. */
362
- readonly accentOnFill: string;
363
- /** His accent green as a progress bar on a light ground, the partner's accent. */
364
- readonly accent: string;
365
- /** Status: in range / clear. */
366
- readonly go: string;
367
- readonly goTint: string;
368
- /** Status: above range / overdue. */
369
- readonly alert: string;
370
- readonly alertDeep: string;
371
- readonly alertTint: string;
372
- /** The watch pill. */
373
- readonly watch: string;
374
- /** The breathing vital's icon (`.efh-ico--wind`, his sky blue). */
375
- readonly wind: string;
376
- readonly tintSage: string;
377
- readonly tintBlue: string;
378
- readonly tintYellow: string;
379
- /** His Embark cyan tile, which is a partner accent: the partner's accent at his strength (his cyan with none set). */
380
- readonly tintPartner: string;
381
- readonly chevron: string;
382
- readonly rowGround: string;
383
- readonly barTrack: string;
384
- /** `.efh-pill--plain` edge: his ink at 20%, so the partner's ink at 20% (Q4). */
385
- readonly plainEdge: string;
386
- /**
387
- * The top risk card (V3 `.rec-top`, filled with his brand accent): the partner's accent when it set one, else his
388
- * sage tile in the partner's primary; the kicker and the sentence on it always read at 4.5:1 or better.
389
- */
390
- readonly topFill: string;
391
- readonly topKicker: string;
392
- readonly topInk: string;
393
- }
394
- /** Raph's palette under Q4 for the resolved theme. */
395
- declare function recordsSheetLook(theme: EverfurTheme): RecordsSheetLook;
491
+ declare function EverfurRecordsLabDetail({ palette, fonts, ...rest }: EverfurRecordsLabDetailProps): ReactNode;
396
492
 
397
- export { CaptureRecordsSignature, ClinicBatchBaseProps, ClinicDraft, ClinicRequestBaseProps, EverfurClinicPicker, type EverfurClinicPickerProps, EverfurClinicRequest, EverfurClinicRequestBatch, type EverfurClinicRequestBatchProps, type EverfurClinicRequestProps, EverfurPresentationInput, EverfurRecordDetail, type EverfurRecordDetailProps, EverfurRecordDocument, type EverfurRecordDocumentProps, EverfurRecords, EverfurRecordsConsent, type EverfurRecordsConsentProps, EverfurRecordsDashboard, type EverfurRecordsDashboardProps, EverfurRecordsFlow, EverfurRecordsLabDetail, type EverfurRecordsLabDetailProps, type EverfurRecordsProps, EverfurRecordsRequest, type EverfurRecordsRequestProps, EverfurRecordsRequests, type EverfurRecordsRequestsProps, EverfurRecordsSheet, type EverfurRecordsSheetOptions, type EverfurRecordsSheetProps, EverfurRecordsUpload, type EverfurRecordsUploadProps, PetRef, RECORDS_SHEET_RN_COPY, RecordForwardItem, RecordsAskHandler, RecordsClinicController, RecordsController, RecordsDocumentPicker, RecordsHostSeams, RecordsRequestId, RecordsRequestView, RecordsScreen, RecordsScreenBaseProps, type RecordsSheetLook, type RecordsSheetPresentation, RecordsSheetPronoun, type RecordsSheetRequestContext, type RecordsSheetRnCopy, type RecordsSheetSex, type RecordsSheetStage, type RecordsSheetTopSlotContext, type RecordsSheetWeightUnit, type RnSignatureFetch, SignaturePad, type SignaturePadProps, UploadTransport, recordsSheetLook, registerRnSignature };
493
+ export { CaptureRecordsSignature, ClinicBatchBaseProps, ClinicDraft, ClinicRequestBaseProps, EverfurClinicPicker, type EverfurClinicPickerProps, EverfurClinicRequest, EverfurClinicRequestBatch, type EverfurClinicRequestBatchProps, type EverfurClinicRequestProps, EverfurPresentationInput, EverfurRecordDetail, type EverfurRecordDetailProps, EverfurRecordDocument, type EverfurRecordDocumentProps, EverfurRecords, EverfurRecordsConsent, type EverfurRecordsConsentProps, EverfurRecordsDashboard, type EverfurRecordsDashboardProps, EverfurRecordsFlow, EverfurRecordsLabDetail, type EverfurRecordsLabDetailProps, type EverfurRecordsProps, EverfurRecordsRequest, type EverfurRecordsRequestProps, EverfurRecordsRequests, type EverfurRecordsRequestsProps, EverfurRecordsSheet, type EverfurRecordsSheetOptions, type EverfurRecordsSheetProps, EverfurRecordsUpload, type EverfurRecordsUploadProps, PetRef, RECORDS_SHEET_RN_COPY, RECORDS_SHEET_ROW_BUTTON_STYLE, RecordForwardItem, RecordsAskHandler, RecordsClinicController, RecordsController, RecordsDocumentPicker, RecordsHostSeams, RecordsRequestId, RecordsRequestView, RecordsScreen, RecordsScreenBaseProps, type RecordsSheetFonts, type RecordsSheetLook, type RecordsSheetPalette, type RecordsSheetPresentation, RecordsSheetPronoun, type RecordsSheetRequestContext, type RecordsSheetRnCopy, type RecordsSheetRowButtonStyle, type RecordsSheetSex, type RecordsSheetStage, type RecordsSheetStageUrls, type RecordsSheetTopSlotContext, type RecordsSheetWeightUnit, RequestDocumentsList, type RequestDocumentsListProps, type RnSignatureFetch, SignaturePad, type SignaturePadProps, UploadTransport, recordsSheet, recordsSheetLook, registerRnSignature };