@everfur/sdk 0.5.1 → 0.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (130) hide show
  1. package/CHANGELOG.md +337 -0
  2. package/dist/BookedScreen-BJPbXLCG.d.ts +54 -0
  3. package/dist/BookedScreen-Cnld-jB_.d.cts +54 -0
  4. package/dist/{Chat-ypo6miKm.d.cts → Chat-B43wIXCv.d.cts} +3 -3
  5. package/dist/{Chat-Rzplrf5M.d.ts → Chat-my5aJLz5.d.ts} +3 -3
  6. package/dist/{DepthViews-ClykXOJj.d.cts → DepthViews-BBTv9VAs.d.cts} +1 -1
  7. package/dist/{DepthViews-Cui3oonj.d.cts → DepthViews-BLK0kgza.d.cts} +1 -1
  8. package/dist/{DepthViews-baYLMNQ-.d.ts → DepthViews-CNqAyjne.d.ts} +1 -1
  9. package/dist/{DepthViews-CeTfPUBX.d.ts → DepthViews-G-7YRtOX.d.ts} +1 -1
  10. package/dist/animations/index.d.cts +3 -3
  11. package/dist/animations/index.d.ts +3 -3
  12. package/dist/{attachments-CwsR-bPN.d.cts → attachments-CEmT52IA.d.cts} +5 -5
  13. package/dist/{attachments-D3HCBmOE.d.ts → attachments-CMNWE6YT.d.ts} +2 -2
  14. package/dist/{attachments-CzZ7in24.d.ts → attachments-DU1djTNd.d.ts} +5 -5
  15. package/dist/{attachments-Nk73Lll8.d.cts → attachments-ZyjWsZdI.d.cts} +2 -2
  16. package/dist/{bookingCopy-SDkXaxDf.d.ts → bookingCopy-BVhEt1bj.d.ts} +38 -200
  17. package/dist/{bookingCopy-Dv8rKqyV.d.cts → bookingCopy-ChZR5mtd.d.cts} +38 -200
  18. package/dist/bookingTypes-DCs8mmBb.d.cts +188 -0
  19. package/dist/bookingTypes-DCs8mmBb.d.ts +188 -0
  20. package/dist/{callCopy-rDH9JTFo.d.cts → callCopy-CPe9mbwG.d.cts} +7 -2
  21. package/dist/{callCopy-rDH9JTFo.d.ts → callCopy-CPe9mbwG.d.ts} +7 -2
  22. package/dist/{casesRepository-BTAecTnF.d.ts → casesRepository-C5zrCcaE.d.ts} +1 -1
  23. package/dist/{casesRepository-aryld7fJ.d.cts → casesRepository-q2ak9AW0.d.cts} +1 -1
  24. package/dist/chat/index.cjs +1 -1
  25. package/dist/chat/index.d.cts +14 -10
  26. package/dist/chat/index.d.ts +14 -10
  27. package/dist/chat/index.js +1 -1
  28. package/dist/client/index.cjs +1 -1
  29. package/dist/client/index.d.cts +6 -6
  30. package/dist/client/index.d.ts +6 -6
  31. package/dist/client/index.js +1 -1
  32. package/dist/{config-X6BtwDwQ.d.ts → config-DBpKJJbg.d.ts} +1 -1
  33. package/dist/{config-6qS7Sohy.d.cts → config-jocy3q66.d.cts} +1 -1
  34. package/dist/consent/index.d.cts +5 -5
  35. package/dist/consent/index.d.ts +5 -5
  36. package/dist/{context-CkqPM4Ml.d.cts → context-BfVBRgro.d.cts} +5 -5
  37. package/dist/{context-7f3Nb_xE.d.ts → context-C3n9s4aG.d.ts} +5 -5
  38. package/dist/{copy-Bd__Pw5s.d.cts → copy-IysFx8yL.d.cts} +2 -2
  39. package/dist/{copy-NgKgOOET.d.ts → copy-KP91zgtW.d.ts} +2 -2
  40. package/dist/core/index.cjs +5 -5
  41. package/dist/core/index.d.cts +12 -12
  42. package/dist/core/index.d.ts +12 -12
  43. package/dist/core/index.js +5 -5
  44. package/dist/{depth-CYPH92jE.d.ts → depth-BsMLLrQo.d.ts} +2 -2
  45. package/dist/{depth-CyjaJJ6V.d.cts → depth-O9kiVUjs.d.cts} +2 -2
  46. package/dist/{entitlementRepository-DdeFuEKp.d.ts → entitlementRepository-CHsY2kF3.d.ts} +2 -2
  47. package/dist/{entitlementRepository-Dl1qRLcJ.d.cts → entitlementRepository-DIG16pso.d.cts} +2 -2
  48. package/dist/{identity-DjqhDm5Z.d.cts → identity-D7GKfOE7.d.cts} +1 -1
  49. package/dist/{identity-Dy_L7Yq4.d.ts → identity-k8nCQ_qM.d.ts} +1 -1
  50. package/dist/index.cjs +6 -6
  51. package/dist/index.d.cts +13 -13
  52. package/dist/index.d.ts +13 -13
  53. package/dist/index.js +6 -6
  54. package/dist/notifications/index.d.cts +2 -2
  55. package/dist/notifications/index.d.ts +2 -2
  56. package/dist/{pets-BSG2qbr_.d.cts → pets-Bod_DDiW.d.cts} +1 -1
  57. package/dist/{pets-D7cZutrX.d.ts → pets-C_QX8s5f.d.ts} +1 -1
  58. package/dist/{petsRepository-D1bnxDZg.d.cts → petsRepository-B3vr628I.d.cts} +1 -1
  59. package/dist/{petsRepository-DhsX3GLw.d.ts → petsRepository-DdzgINfF.d.ts} +1 -1
  60. package/dist/{ports-DNXyyzZF.d.cts → ports-BSm48zIC.d.cts} +16 -5
  61. package/dist/{ports-C0m1G1fS.d.ts → ports-DHhxhn95.d.ts} +16 -5
  62. package/dist/records/depth/index.d.cts +7 -7
  63. package/dist/records/depth/index.d.ts +7 -7
  64. package/dist/records/index.cjs +3 -3
  65. package/dist/records/index.d.cts +10 -10
  66. package/dist/records/index.d.ts +10 -10
  67. package/dist/records/index.js +3 -3
  68. package/dist/{requestFunnel-FvE5yLDD.d.ts → requestFunnel-CTG-wNc3.d.ts} +2 -2
  69. package/dist/{requestFunnel-Bqc1inM9.d.cts → requestFunnel-Dcjyh0j2.d.cts} +2 -2
  70. package/dist/{runtimeTypes-RN-VXTFV.d.cts → runtimeTypes-4qptUulD.d.cts} +4 -4
  71. package/dist/{runtimeTypes-C0yPBz89.d.ts → runtimeTypes-CmpdQaE2.d.ts} +4 -4
  72. package/dist/server/events/index.cjs +1 -1
  73. package/dist/server/events/index.d.cts +2 -2
  74. package/dist/server/events/index.d.ts +2 -2
  75. package/dist/server/events/index.js +1 -1
  76. package/dist/server/index.cjs +2 -2
  77. package/dist/server/index.d.cts +3 -3
  78. package/dist/server/index.d.ts +3 -3
  79. package/dist/server/index.js +2 -2
  80. package/dist/televet/booking/index.cjs +1 -1
  81. package/dist/televet/booking/index.d.cts +17 -9
  82. package/dist/televet/booking/index.d.ts +17 -9
  83. package/dist/televet/booking/index.js +1 -1
  84. package/dist/televet/call/index.cjs +1 -1
  85. package/dist/televet/call/index.d.cts +13 -1
  86. package/dist/televet/call/index.d.ts +13 -1
  87. package/dist/televet/call/index.js +1 -1
  88. package/dist/televet/index.cjs +1 -1
  89. package/dist/televet/index.js +1 -1
  90. package/dist/testing/index.d.cts +1 -1
  91. package/dist/testing/index.d.ts +1 -1
  92. package/dist/testing/rn/index.d.cts +7 -7
  93. package/dist/testing/rn/index.d.ts +7 -7
  94. package/dist/testing/web/index.d.cts +7 -7
  95. package/dist/testing/web/index.d.ts +7 -7
  96. package/dist/{timelineRows-DAB5dpjF.d.cts → timelineRows-BkLhRUDt.d.cts} +1 -1
  97. package/dist/{timelineRows-D4U6A8zE.d.ts → timelineRows-Dp4ZSnAo.d.ts} +1 -1
  98. package/dist/{uploadTransport-DKJHs3Yj.d.cts → uploadTransport-C1p8FuG8.d.cts} +5 -1
  99. package/dist/{uploadTransport-D0M0T4hN.d.ts → uploadTransport-bZIKBTyK.d.ts} +5 -1
  100. package/dist/{useRecordsDepth-B35y8bV-.d.cts → useRecordsDepth-DRNry1r9.d.cts} +1 -1
  101. package/dist/{useRecordsDepth--ObtMyjH.d.ts → useRecordsDepth-DnDhTaUL.d.ts} +1 -1
  102. package/dist/{view-D9JqNQai.d.ts → view-CwuOPIJc.d.ts} +7 -4
  103. package/dist/{view-B-Toym_j.d.cts → view-D4VdPKCa.d.cts} +7 -4
  104. package/dist/web/consent/index.d.cts +5 -5
  105. package/dist/web/consent/index.d.ts +5 -5
  106. package/dist/web/index.cjs +10 -10
  107. package/dist/web/index.d.cts +14 -14
  108. package/dist/web/index.d.ts +14 -14
  109. package/dist/web/index.js +10 -10
  110. package/dist/web/notifications/index.d.cts +3 -3
  111. package/dist/web/notifications/index.d.ts +3 -3
  112. package/dist/web/records/depth/index.d.cts +7 -7
  113. package/dist/web/records/depth/index.d.ts +7 -7
  114. package/dist/web/records/index.cjs +3 -3
  115. package/dist/web/records/index.d.cts +9 -9
  116. package/dist/web/records/index.d.ts +9 -9
  117. package/dist/web/records/index.js +3 -3
  118. package/dist/web/televet/booking/index.cjs +2 -2
  119. package/dist/web/televet/booking/index.d.cts +35 -50
  120. package/dist/web/televet/booking/index.d.ts +35 -50
  121. package/dist/web/televet/booking/index.js +2 -2
  122. package/dist/web/televet/call/index.cjs +1 -1
  123. package/dist/web/televet/call/index.d.cts +12 -5
  124. package/dist/web/televet/call/index.d.ts +12 -5
  125. package/dist/web/televet/call/index.js +1 -1
  126. package/dist/web/televet/index.cjs +4 -1
  127. package/dist/web/televet/index.d.cts +31 -2
  128. package/dist/web/televet/index.d.ts +31 -2
  129. package/dist/web/televet/index.js +4 -1
  130. package/package.json +4 -3
@@ -3,21 +3,21 @@ export { E as EverfurResult } from '../../EverfurResult-SGvHKsCB.js';
3
3
  export { B as Brand, P as PetRef, R as RecordsRequestId, _ as __brand } from '../../ids-B2GAAifq.js';
4
4
  export { C as ClientBranding, R as RadiusScale, S as SurfaceStyle } from '../../branding-xpQ056sM.js';
5
5
  export { b as CapabilityDisabled, D as DisabledLevel, E as EntitlementDecision } from '../../resolve-D4Ywz5OS.js';
6
- export { E as EntitlementSnapshot } from '../../runtimeTypes-C0yPBz89.js';
6
+ export { E as EntitlementSnapshot } from '../../runtimeTypes-CmpdQaE2.js';
7
7
  export { c as RecordsRequestStatus, d as RecordsRequestView, e as RecordsSimpleStatus } from '../../models-DSqA5Ahs.js';
8
8
  import { ReactNode } from 'react';
9
9
  import { R as RiskTier } from '../../PhotoController-vzY5bfY_.js';
10
10
  export { EverfurTestEntitlements, RecordsSandboxActionResult, RecordsSandboxClinicReply, RecordsSandboxController, RecordsSandboxResult, VetVisitSandboxActionResult, VetVisitSandboxController, VetVisitSandboxEvent, VetVisitSandboxReminderStage, VetVisitSandboxResult, VetVisitSandboxStatus, VetVisitSandboxVisit, useEverfurRecordsSandbox, useEverfurTestEntitlements, useEverfurVetVisitSandbox } from '../web/index.js';
11
11
  import '../../tokens-CIngRkvt.js';
12
- import '../../petsRepository-DhsX3GLw.js';
13
- import '../../identity-Dy_L7Yq4.js';
14
- import '../../config-X6BtwDwQ.js';
12
+ import '../../petsRepository-DdzgINfF.js';
13
+ import '../../identity-k8nCQ_qM.js';
14
+ import '../../config-DBpKJJbg.js';
15
15
  import '../../profile-CSs1wlXT.js';
16
16
  import '../../cacheEpoch-DknKn3S0.js';
17
17
  import '../../ErrorPolicyPort-D22LUVrK.js';
18
- import '../../ports-C0m1G1fS.js';
19
- import '../../casesRepository-BTAecTnF.js';
20
- import '../../requestFunnel-FvE5yLDD.js';
18
+ import '../../ports-DHhxhn95.js';
19
+ import '../../casesRepository-C5zrCcaE.js';
20
+ import '../../requestFunnel-CTG-wNc3.js';
21
21
  import '../../TelemetryPort-BDNr00hu.js';
22
22
  import '../../ports-BN6RHF9W.js';
23
23
  import '../../CameraPort-Cv31Pz7g.js';
@@ -1,4 +1,4 @@
1
- import { E as EntitlementSnapshot } from '../../runtimeTypes-RN-VXTFV.cjs';
1
+ import { E as EntitlementSnapshot } from '../../runtimeTypes-4qptUulD.cjs';
2
2
  import { E as EverfurResult } from '../../EverfurResult-ZtH-YV1h.cjs';
3
3
  import { R as RecordsRequestId, P as PetRef } from '../../ids-B2GAAifq.cjs';
4
4
  export { B as Brand, _ as __brand } from '../../ids-B2GAAifq.cjs';
@@ -7,15 +7,15 @@ export { c as RecordsRequestStatus, e as RecordsSimpleStatus } from '../../model
7
7
  export { E as EverfurError, a as EverfurErrorCategory, b as EverfurErrorCode } from '../../EverfurError-DmELDpXp.cjs';
8
8
  export { C as ClientBranding, R as RadiusScale, S as SurfaceStyle } from '../../branding-Xb_wL8N1.cjs';
9
9
  export { b as CapabilityDisabled, D as DisabledLevel, E as EntitlementDecision } from '../../resolve-D4Ywz5OS.cjs';
10
- import '../../petsRepository-D1bnxDZg.cjs';
11
- import '../../identity-DjqhDm5Z.cjs';
12
- import '../../config-6qS7Sohy.cjs';
10
+ import '../../petsRepository-B3vr628I.cjs';
11
+ import '../../identity-D7GKfOE7.cjs';
12
+ import '../../config-jocy3q66.cjs';
13
13
  import '../../profile-CSs1wlXT.cjs';
14
14
  import '../../cacheEpoch-DknKn3S0.cjs';
15
15
  import '../../ErrorPolicyPort-D6CybiqJ.cjs';
16
- import '../../ports-DNXyyzZF.cjs';
17
- import '../../casesRepository-aryld7fJ.cjs';
18
- import '../../requestFunnel-Bqc1inM9.cjs';
16
+ import '../../ports-BSm48zIC.cjs';
17
+ import '../../casesRepository-q2ak9AW0.cjs';
18
+ import '../../requestFunnel-Dcjyh0j2.cjs';
19
19
  import '../../TelemetryPort-BDNr00hu.cjs';
20
20
  import '../../ports-BN6RHF9W.cjs';
21
21
  import '../../CameraPort-Cv31Pz7g.cjs';
@@ -1,4 +1,4 @@
1
- import { E as EntitlementSnapshot } from '../../runtimeTypes-C0yPBz89.js';
1
+ import { E as EntitlementSnapshot } from '../../runtimeTypes-CmpdQaE2.js';
2
2
  import { E as EverfurResult } from '../../EverfurResult-SGvHKsCB.js';
3
3
  import { R as RecordsRequestId, P as PetRef } from '../../ids-B2GAAifq.js';
4
4
  export { B as Brand, _ as __brand } from '../../ids-B2GAAifq.js';
@@ -7,15 +7,15 @@ export { c as RecordsRequestStatus, e as RecordsSimpleStatus } from '../../model
7
7
  export { E as EverfurError, a as EverfurErrorCategory, b as EverfurErrorCode } from '../../EverfurError-DmELDpXp.js';
8
8
  export { C as ClientBranding, R as RadiusScale, S as SurfaceStyle } from '../../branding-xpQ056sM.js';
9
9
  export { b as CapabilityDisabled, D as DisabledLevel, E as EntitlementDecision } from '../../resolve-D4Ywz5OS.js';
10
- import '../../petsRepository-DhsX3GLw.js';
11
- import '../../identity-Dy_L7Yq4.js';
12
- import '../../config-X6BtwDwQ.js';
10
+ import '../../petsRepository-DdzgINfF.js';
11
+ import '../../identity-k8nCQ_qM.js';
12
+ import '../../config-DBpKJJbg.js';
13
13
  import '../../profile-CSs1wlXT.js';
14
14
  import '../../cacheEpoch-DknKn3S0.js';
15
15
  import '../../ErrorPolicyPort-D22LUVrK.js';
16
- import '../../ports-C0m1G1fS.js';
17
- import '../../casesRepository-BTAecTnF.js';
18
- import '../../requestFunnel-FvE5yLDD.js';
16
+ import '../../ports-DHhxhn95.js';
17
+ import '../../casesRepository-C5zrCcaE.js';
18
+ import '../../requestFunnel-CTG-wNc3.js';
19
19
  import '../../TelemetryPort-BDNr00hu.js';
20
20
  import '../../ports-BN6RHF9W.js';
21
21
  import '../../CameraPort-Cv31Pz7g.js';
@@ -1,4 +1,4 @@
1
- import { q as RecordsTimelineView } from './depth-CyjaJJ6V.cjs';
1
+ import { q as RecordsTimelineView } from './depth-O9kiVUjs.cjs';
2
2
 
3
3
  type TimelineRowKind = 'visit' | 'vaccine' | 'weight' | 'medication';
4
4
  interface TimelineRow {
@@ -1,4 +1,4 @@
1
- import { q as RecordsTimelineView } from './depth-CYPH92jE.js';
1
+ import { q as RecordsTimelineView } from './depth-BsMLLrQo.js';
2
2
 
3
3
  type TimelineRowKind = 'visit' | 'vaccine' | 'weight' | 'medication';
4
4
  interface TimelineRow {
@@ -10,7 +10,11 @@ type RnRecordsUploadFetch = (url: string, init: {
10
10
  readonly ok: boolean;
11
11
  }>;
12
12
  interface RnRecordsUploadTransportOptions {
13
- /** Test seam: the fetch to use. Defaults to the global `fetch`. A host has no reason to set it. */
13
+ /**
14
+ * Test seam: a fetch to post through instead of React Native's `XMLHttpRequest` (the default). A host has no
15
+ * reason to set it. It must accept a React Native `{ uri, name, type }` FormData part, which the `expo/fetch`
16
+ * an Expo app installs as the global `fetch` does not.
17
+ */
14
18
  readonly fetch?: RnRecordsUploadFetch;
15
19
  }
16
20
  /**
@@ -10,7 +10,11 @@ type RnRecordsUploadFetch = (url: string, init: {
10
10
  readonly ok: boolean;
11
11
  }>;
12
12
  interface RnRecordsUploadTransportOptions {
13
- /** Test seam: the fetch to use. Defaults to the global `fetch`. A host has no reason to set it. */
13
+ /**
14
+ * Test seam: a fetch to post through instead of React Native's `XMLHttpRequest` (the default). A host has no
15
+ * reason to set it. It must accept a React Native `{ uri, name, type }` FormData part, which the `expo/fetch`
16
+ * an Expo app installs as the global `fetch` does not.
17
+ */
14
18
  readonly fetch?: RnRecordsUploadFetch;
15
19
  }
16
20
  /**
@@ -1,5 +1,5 @@
1
1
  import { R as RecordsRequestId, P as PetRef } from './ids-B2GAAifq.cjs';
2
- import { a6 as RecordsClinicSearchInput, a7 as RecordsClinicSearchPage, a8 as RecordsRecentClinicsInput, a9 as RecordsAuthorizationCopy, aa as CreateClinicRequestInput, ab as RecordsSignatureUploadPolicy, l as RecordsClinic, P as RecordsClinicBatch, Q as RecordsClinicBatchClient, m as RecordsDepthClient } from './depth-CyjaJJ6V.cjs';
2
+ import { a6 as RecordsClinicSearchInput, a7 as RecordsClinicSearchPage, a8 as RecordsRecentClinicsInput, a9 as RecordsAuthorizationCopy, aa as CreateClinicRequestInput, ab as RecordsSignatureUploadPolicy, l as RecordsClinic, P as RecordsClinicBatch, Q as RecordsClinicBatchClient, m as RecordsDepthClient } from './depth-O9kiVUjs.cjs';
3
3
  import { E as EverfurResult } from './EverfurResult-ZtH-YV1h.cjs';
4
4
  import { f as RecordsRequestGroupView, d as RecordsRequestView } from './models-Bn2z0NNo.cjs';
5
5
  import { E as EverfurError } from './EverfurError-DmELDpXp.cjs';
@@ -1,5 +1,5 @@
1
1
  import { R as RecordsRequestId, P as PetRef } from './ids-B2GAAifq.js';
2
- import { a6 as RecordsClinicSearchInput, a7 as RecordsClinicSearchPage, a8 as RecordsRecentClinicsInput, a9 as RecordsAuthorizationCopy, aa as CreateClinicRequestInput, ab as RecordsSignatureUploadPolicy, l as RecordsClinic, P as RecordsClinicBatch, Q as RecordsClinicBatchClient, m as RecordsDepthClient } from './depth-CYPH92jE.js';
2
+ import { a6 as RecordsClinicSearchInput, a7 as RecordsClinicSearchPage, a8 as RecordsRecentClinicsInput, a9 as RecordsAuthorizationCopy, aa as CreateClinicRequestInput, ab as RecordsSignatureUploadPolicy, l as RecordsClinic, P as RecordsClinicBatch, Q as RecordsClinicBatchClient, m as RecordsDepthClient } from './depth-BsMLLrQo.js';
3
3
  import { E as EverfurResult } from './EverfurResult-SGvHKsCB.js';
4
4
  import { f as RecordsRequestGroupView, d as RecordsRequestView } from './models-DSqA5Ahs.js';
5
5
  import { E as EverfurError } from './EverfurError-DmELDpXp.js';
@@ -3,8 +3,8 @@ import { E as EverfurResult } from './EverfurResult-SGvHKsCB.js';
3
3
  import { R as RecordsRequestId, P as PetRef } from './ids-B2GAAifq.js';
4
4
  import { F as FileHandle, U as UploadTransport } from './ports-BN6RHF9W.js';
5
5
  import { C as CreateUploadRequestInput, d as RecordsRequestView, U as UploadedDocument, g as RecordsView, h as ConsentState, G as GrantConsentInput, i as RecordsDenialReason, a as RecordEntity } from './models-DSqA5Ahs.js';
6
- import { K as RecordMarkersView, L as RecordPdfLink, N as RecordShareLink, Q as RecordsClinicBatchClient } from './depth-CYPH92jE.js';
7
- import { c as RecordsDepthStatus, i as RecordsClinicController } from './useRecordsDepth--ObtMyjH.js';
6
+ import { K as RecordMarkersView, L as RecordPdfLink, N as RecordShareLink, Q as RecordsClinicBatchClient } from './depth-BsMLLrQo.js';
7
+ import { c as RecordsDepthStatus, i as RecordsClinicController } from './useRecordsDepth-DnDhTaUL.js';
8
8
 
9
9
  interface UploadDocumentInput {
10
10
  readonly requestId: RecordsRequestId;
@@ -80,8 +80,11 @@ interface UseEverfurRecordsState {
80
80
  grantConsent(consentVersion: string, idempotencyKey: string): Promise<EverfurResult<ConsentState>>;
81
81
  /** Revoke consent (prospective); drops the record from view. */
82
82
  revokeConsent(): Promise<EverfurResult<ConsentState>>;
83
- /** Re-run the surface fetch (error retry). */
84
- refresh(): void;
83
+ /**
84
+ * Re-run the surface fetch (error retry, pull to refresh). Settles once the reads it started have landed, so a
85
+ * pull-to-refresh spinner can stay up until then; a caller that does not need that can ignore the promise.
86
+ */
87
+ refresh(): Promise<void>;
85
88
  }
86
89
  declare function useEverfurRecords(opts: {
87
90
  readonly petRef: PetRef;
@@ -3,8 +3,8 @@ import { E as EverfurResult } from './EverfurResult-ZtH-YV1h.cjs';
3
3
  import { R as RecordsRequestId, P as PetRef } from './ids-B2GAAifq.cjs';
4
4
  import { F as FileHandle, U as UploadTransport } from './ports-BN6RHF9W.cjs';
5
5
  import { C as CreateUploadRequestInput, d as RecordsRequestView, U as UploadedDocument, g as RecordsView, h as ConsentState, G as GrantConsentInput, i as RecordsDenialReason, a as RecordEntity } from './models-Bn2z0NNo.cjs';
6
- import { K as RecordMarkersView, L as RecordPdfLink, N as RecordShareLink, Q as RecordsClinicBatchClient } from './depth-CyjaJJ6V.cjs';
7
- import { c as RecordsDepthStatus, i as RecordsClinicController } from './useRecordsDepth-B35y8bV-.cjs';
6
+ import { K as RecordMarkersView, L as RecordPdfLink, N as RecordShareLink, Q as RecordsClinicBatchClient } from './depth-O9kiVUjs.cjs';
7
+ import { c as RecordsDepthStatus, i as RecordsClinicController } from './useRecordsDepth-DRNry1r9.cjs';
8
8
 
9
9
  interface UploadDocumentInput {
10
10
  readonly requestId: RecordsRequestId;
@@ -80,8 +80,11 @@ interface UseEverfurRecordsState {
80
80
  grantConsent(consentVersion: string, idempotencyKey: string): Promise<EverfurResult<ConsentState>>;
81
81
  /** Revoke consent (prospective); drops the record from view. */
82
82
  revokeConsent(): Promise<EverfurResult<ConsentState>>;
83
- /** Re-run the surface fetch (error retry). */
84
- refresh(): void;
83
+ /**
84
+ * Re-run the surface fetch (error retry, pull to refresh). Settles once the reads it started have landed, so a
85
+ * pull-to-refresh spinner can stay up until then; a caller that does not need that can ignore the promise.
86
+ */
87
+ refresh(): Promise<void>;
85
88
  }
86
89
  declare function useEverfurRecords(opts: {
87
90
  readonly petRef: PetRef;
@@ -1,14 +1,14 @@
1
1
  import { ReactNode, CSSProperties } from 'react';
2
- import { E as EverfurConsentScope } from '../../copy-Bd__Pw5s.cjs';
3
- export { C as CONSENT_COPY, a as CONSENT_SCOPE_COPY, b as CONSENT_VERSION_MAX, c as ConsentRepository, d as ConsentRepositoryDeps, e as ConsentRowView, f as ConsentRuntime, g as ConsentScopeCopy, h as EVERFUR_CONSENT_SCOPES, i as EverfurConsentDecision, j as EverfurConsentOptions, k as EverfurConsentScopeState, l as EverfurConsentState, m as EverfurConsentStatus, n as EverfurConsentVerdict, o as consentRowView, p as createConsentRepository, q as createConsentRepositoryOver, r as isEverfurConsentScope, u as useEverfurConsent, s as useEverfurConsentRepository } from '../../copy-Bd__Pw5s.cjs';
2
+ import { E as EverfurConsentScope } from '../../copy-IysFx8yL.cjs';
3
+ export { C as CONSENT_COPY, a as CONSENT_SCOPE_COPY, b as CONSENT_VERSION_MAX, c as ConsentRepository, d as ConsentRepositoryDeps, e as ConsentRowView, f as ConsentRuntime, g as ConsentScopeCopy, h as EVERFUR_CONSENT_SCOPES, i as EverfurConsentDecision, j as EverfurConsentOptions, k as EverfurConsentScopeState, l as EverfurConsentState, m as EverfurConsentStatus, n as EverfurConsentVerdict, o as consentRowView, p as createConsentRepository, q as createConsentRepositoryOver, r as isEverfurConsentScope, u as useEverfurConsent, s as useEverfurConsentRepository } from '../../copy-IysFx8yL.cjs';
4
4
  import { E as EverfurError } from '../../EverfurError-DmELDpXp.cjs';
5
5
  export { a as EverfurErrorCategory, b as EverfurErrorCode } from '../../EverfurError-DmELDpXp.cjs';
6
- export { A as AuthContext, I as IdentityProvider, M as MintedToken, T as TokenProvider } from '../../identity-DjqhDm5Z.cjs';
7
- export { A as AcceptedFrame, a as AnalysisCompleteFrame, b as AnalysisStartedFrame, D as DeltaFrame, c as DoneFrame, E as ErrorFrame, d as EverfurRequest, e as EverfurRequestBase, F as Frame, f as FrameBase, g as FrameKind, H as HeartbeatFrame, h as HttpMethod, M as MultipartBody, T as TransportPort, U as UnknownFrame, i as UrgencyLevel } from '../../config-6qS7Sohy.cjs';
6
+ export { A as AuthContext, I as IdentityProvider, M as MintedToken, T as TokenProvider } from '../../identity-D7GKfOE7.cjs';
7
+ export { A as AcceptedFrame, a as AnalysisCompleteFrame, b as AnalysisStartedFrame, D as DeltaFrame, c as DoneFrame, E as ErrorFrame, d as EverfurRequest, e as EverfurRequestBase, F as Frame, f as FrameBase, g as FrameKind, H as HeartbeatFrame, h as HttpMethod, M as MultipartBody, T as TransportPort, U as UnknownFrame, i as UrgencyLevel } from '../../config-jocy3q66.cjs';
8
8
  export { B as Brand, C as ConversationId, P as PetRef, R as RecordsRequestId, U as UserRef, _ as __brand } from '../../ids-B2GAAifq.cjs';
9
9
  export { E as EverfurResult } from '../../EverfurResult-ZtH-YV1h.cjs';
10
10
  export { E as ErrorPolicyPort } from '../../ErrorPolicyPort-D6CybiqJ.cjs';
11
- import '../../requestFunnel-Bqc1inM9.cjs';
11
+ import '../../requestFunnel-Dcjyh0j2.cjs';
12
12
 
13
13
  interface EverfurConsentToggleProps {
14
14
  /** Which act this row is. One row is one act; two acts are two rows, never one switch. */
@@ -1,14 +1,14 @@
1
1
  import { ReactNode, CSSProperties } from 'react';
2
- import { E as EverfurConsentScope } from '../../copy-NgKgOOET.js';
3
- export { C as CONSENT_COPY, a as CONSENT_SCOPE_COPY, b as CONSENT_VERSION_MAX, c as ConsentRepository, d as ConsentRepositoryDeps, e as ConsentRowView, f as ConsentRuntime, g as ConsentScopeCopy, h as EVERFUR_CONSENT_SCOPES, i as EverfurConsentDecision, j as EverfurConsentOptions, k as EverfurConsentScopeState, l as EverfurConsentState, m as EverfurConsentStatus, n as EverfurConsentVerdict, o as consentRowView, p as createConsentRepository, q as createConsentRepositoryOver, r as isEverfurConsentScope, u as useEverfurConsent, s as useEverfurConsentRepository } from '../../copy-NgKgOOET.js';
2
+ import { E as EverfurConsentScope } from '../../copy-KP91zgtW.js';
3
+ export { C as CONSENT_COPY, a as CONSENT_SCOPE_COPY, b as CONSENT_VERSION_MAX, c as ConsentRepository, d as ConsentRepositoryDeps, e as ConsentRowView, f as ConsentRuntime, g as ConsentScopeCopy, h as EVERFUR_CONSENT_SCOPES, i as EverfurConsentDecision, j as EverfurConsentOptions, k as EverfurConsentScopeState, l as EverfurConsentState, m as EverfurConsentStatus, n as EverfurConsentVerdict, o as consentRowView, p as createConsentRepository, q as createConsentRepositoryOver, r as isEverfurConsentScope, u as useEverfurConsent, s as useEverfurConsentRepository } from '../../copy-KP91zgtW.js';
4
4
  import { E as EverfurError } from '../../EverfurError-DmELDpXp.js';
5
5
  export { a as EverfurErrorCategory, b as EverfurErrorCode } from '../../EverfurError-DmELDpXp.js';
6
- export { A as AuthContext, I as IdentityProvider, M as MintedToken, T as TokenProvider } from '../../identity-Dy_L7Yq4.js';
7
- export { A as AcceptedFrame, a as AnalysisCompleteFrame, b as AnalysisStartedFrame, D as DeltaFrame, c as DoneFrame, E as ErrorFrame, d as EverfurRequest, e as EverfurRequestBase, F as Frame, f as FrameBase, g as FrameKind, H as HeartbeatFrame, h as HttpMethod, M as MultipartBody, T as TransportPort, U as UnknownFrame, i as UrgencyLevel } from '../../config-X6BtwDwQ.js';
6
+ export { A as AuthContext, I as IdentityProvider, M as MintedToken, T as TokenProvider } from '../../identity-k8nCQ_qM.js';
7
+ export { A as AcceptedFrame, a as AnalysisCompleteFrame, b as AnalysisStartedFrame, D as DeltaFrame, c as DoneFrame, E as ErrorFrame, d as EverfurRequest, e as EverfurRequestBase, F as Frame, f as FrameBase, g as FrameKind, H as HeartbeatFrame, h as HttpMethod, M as MultipartBody, T as TransportPort, U as UnknownFrame, i as UrgencyLevel } from '../../config-DBpKJJbg.js';
8
8
  export { B as Brand, C as ConversationId, P as PetRef, R as RecordsRequestId, U as UserRef, _ as __brand } from '../../ids-B2GAAifq.js';
9
9
  export { E as EverfurResult } from '../../EverfurResult-SGvHKsCB.js';
10
10
  export { E as ErrorPolicyPort } from '../../ErrorPolicyPort-D22LUVrK.js';
11
- import '../../requestFunnel-FvE5yLDD.js';
11
+ import '../../requestFunnel-CTG-wNc3.js';
12
12
 
13
13
  interface EverfurConsentToggleProps {
14
14
  /** Which act this row is. One row is one act; two acts are two rows, never one switch. */