@everfur/sdk 0.5.1 → 0.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +351 -0
- package/dist/BookedScreen-BJPbXLCG.d.ts +54 -0
- package/dist/BookedScreen-Cnld-jB_.d.cts +54 -0
- package/dist/{Chat-Rzplrf5M.d.ts → Chat-CNRZEu92.d.ts} +3 -3
- package/dist/{Chat-ypo6miKm.d.cts → Chat-a6If51cF.d.cts} +3 -3
- package/dist/{DepthViews-CeTfPUBX.d.ts → DepthViews-Bfv2DTUl.d.ts} +1 -1
- package/dist/{DepthViews-Cui3oonj.d.cts → DepthViews-Cl4AoL3X.d.cts} +1 -1
- package/dist/{DepthViews-ClykXOJj.d.cts → DepthViews-kURiusNd.d.cts} +1 -1
- package/dist/{DepthViews-baYLMNQ-.d.ts → DepthViews-zhn3Rk5Z.d.ts} +1 -1
- package/dist/animations/index.d.cts +3 -3
- package/dist/animations/index.d.ts +3 -3
- package/dist/{attachments-D3HCBmOE.d.ts → attachments-5_p7kE38.d.ts} +2 -2
- package/dist/{attachments-CwsR-bPN.d.cts → attachments-CHgc11hT.d.cts} +5 -5
- package/dist/{attachments-CzZ7in24.d.ts → attachments-TXOhN36S.d.ts} +5 -5
- package/dist/{attachments-Nk73Lll8.d.cts → attachments-affGN_Uv.d.cts} +2 -2
- package/dist/{bookingCopy-SDkXaxDf.d.ts → bookingCopy-BQ7Pg7qg.d.ts} +38 -200
- package/dist/{bookingCopy-Dv8rKqyV.d.cts → bookingCopy-BpZvZO1S.d.cts} +38 -200
- package/dist/bookingTypes-DCs8mmBb.d.cts +188 -0
- package/dist/bookingTypes-DCs8mmBb.d.ts +188 -0
- package/dist/{callCopy-rDH9JTFo.d.cts → callCopy-CPe9mbwG.d.cts} +7 -2
- package/dist/{callCopy-rDH9JTFo.d.ts → callCopy-CPe9mbwG.d.ts} +7 -2
- package/dist/{casesRepository-BTAecTnF.d.ts → casesRepository-YCI0OVwl.d.ts} +1 -1
- package/dist/{casesRepository-aryld7fJ.d.cts → casesRepository-z2JAFlKA.d.cts} +1 -1
- package/dist/chat/index.cjs +1 -1
- package/dist/chat/index.d.cts +14 -10
- package/dist/chat/index.d.ts +14 -10
- package/dist/chat/index.js +1 -1
- package/dist/client/index.cjs +1 -1
- package/dist/client/index.d.cts +6 -6
- package/dist/client/index.d.ts +6 -6
- package/dist/client/index.js +1 -1
- package/dist/{config-X6BtwDwQ.d.ts → config-BXVgTLCh.d.ts} +1 -1
- package/dist/{config-6qS7Sohy.d.cts → config-Bkbqkjb0.d.cts} +1 -1
- package/dist/consent/index.d.cts +5 -5
- package/dist/consent/index.d.ts +5 -5
- package/dist/{context-7f3Nb_xE.d.ts → context-BVpOBDMe.d.ts} +5 -5
- package/dist/{context-CkqPM4Ml.d.cts → context-ChPrlKhy.d.cts} +5 -5
- package/dist/{copy-Bd__Pw5s.d.cts → copy-Be2H2i-D.d.cts} +2 -2
- package/dist/{copy-NgKgOOET.d.ts → copy-SxmZ-Eps.d.ts} +2 -2
- package/dist/core/index.cjs +5 -5
- package/dist/core/index.d.cts +12 -12
- package/dist/core/index.d.ts +12 -12
- package/dist/core/index.js +5 -5
- package/dist/{depth-CYPH92jE.d.ts → depth-By8dFpLA.d.ts} +2 -2
- package/dist/{depth-CyjaJJ6V.d.cts → depth-Dne8Qoss.d.cts} +2 -2
- package/dist/{entitlementRepository-DdeFuEKp.d.ts → entitlementRepository-Big-K_In.d.ts} +2 -2
- package/dist/{entitlementRepository-Dl1qRLcJ.d.cts → entitlementRepository-BmghvtGT.d.cts} +2 -2
- package/dist/{identity-Dy_L7Yq4.d.ts → identity-AuoeDRTh.d.ts} +1 -1
- package/dist/{identity-DjqhDm5Z.d.cts → identity-Z0yj-fC_.d.cts} +1 -1
- package/dist/index.cjs +6 -6
- package/dist/index.d.cts +13 -13
- package/dist/index.d.ts +13 -13
- package/dist/index.js +6 -6
- package/dist/notifications/index.d.cts +2 -2
- package/dist/notifications/index.d.ts +2 -2
- package/dist/{pets-BSG2qbr_.d.cts → pets-DfXGYmMk.d.cts} +1 -1
- package/dist/{pets-D7cZutrX.d.ts → pets-FD-5nMXr.d.ts} +1 -1
- package/dist/{petsRepository-DhsX3GLw.d.ts → petsRepository-BaTOwJ5L.d.ts} +1 -1
- package/dist/{petsRepository-D1bnxDZg.d.cts → petsRepository-CsvreWlY.d.cts} +1 -1
- package/dist/{ports-C0m1G1fS.d.ts → ports-DNIvfzBP.d.ts} +16 -5
- package/dist/{ports-DNXyyzZF.d.cts → ports-Dof7AQjk.d.cts} +16 -5
- package/dist/records/depth/index.d.cts +7 -7
- package/dist/records/depth/index.d.ts +7 -7
- package/dist/records/index.cjs +3 -3
- package/dist/records/index.d.cts +10 -10
- package/dist/records/index.d.ts +10 -10
- package/dist/records/index.js +3 -3
- package/dist/{requestFunnel-FvE5yLDD.d.ts → requestFunnel-CJC_q4BZ.d.ts} +2 -2
- package/dist/{requestFunnel-Bqc1inM9.d.cts → requestFunnel-DrigK6q_.d.cts} +2 -2
- package/dist/{runtimeTypes-C0yPBz89.d.ts → runtimeTypes-BiqMY6pC.d.ts} +4 -4
- package/dist/{runtimeTypes-RN-VXTFV.d.cts → runtimeTypes-Doj95Gll.d.cts} +4 -4
- package/dist/server/events/index.cjs +1 -1
- package/dist/server/events/index.d.cts +2 -2
- package/dist/server/events/index.d.ts +2 -2
- package/dist/server/events/index.js +1 -1
- package/dist/server/index.cjs +2 -2
- package/dist/server/index.d.cts +3 -3
- package/dist/server/index.d.ts +3 -3
- package/dist/server/index.js +2 -2
- package/dist/televet/booking/index.cjs +1 -1
- package/dist/televet/booking/index.d.cts +17 -9
- package/dist/televet/booking/index.d.ts +17 -9
- package/dist/televet/booking/index.js +1 -1
- package/dist/televet/call/index.cjs +1 -1
- package/dist/televet/call/index.d.cts +13 -1
- package/dist/televet/call/index.d.ts +13 -1
- package/dist/televet/call/index.js +1 -1
- package/dist/televet/index.cjs +1 -1
- package/dist/televet/index.js +1 -1
- package/dist/testing/index.d.cts +1 -1
- package/dist/testing/index.d.ts +1 -1
- package/dist/testing/rn/index.d.cts +7 -7
- package/dist/testing/rn/index.d.ts +7 -7
- package/dist/testing/web/index.d.cts +7 -7
- package/dist/testing/web/index.d.ts +7 -7
- package/dist/{timelineRows-D4U6A8zE.d.ts → timelineRows-BHA0gIKH.d.ts} +1 -1
- package/dist/{timelineRows-DAB5dpjF.d.cts → timelineRows-CHeqZRpM.d.cts} +1 -1
- package/dist/{uploadTransport-DKJHs3Yj.d.cts → uploadTransport-C1p8FuG8.d.cts} +5 -1
- package/dist/{uploadTransport-D0M0T4hN.d.ts → uploadTransport-bZIKBTyK.d.ts} +5 -1
- package/dist/{useRecordsDepth--ObtMyjH.d.ts → useRecordsDepth-CG63cXFZ.d.ts} +1 -1
- package/dist/{useRecordsDepth-B35y8bV-.d.cts → useRecordsDepth-ChhS4c6r.d.cts} +1 -1
- package/dist/{view-B-Toym_j.d.cts → view-2pXv8ex7.d.cts} +7 -4
- package/dist/{view-D9JqNQai.d.ts → view-BKy44Q-3.d.ts} +7 -4
- package/dist/web/consent/index.d.cts +5 -5
- package/dist/web/consent/index.d.ts +5 -5
- package/dist/web/index.cjs +10 -10
- package/dist/web/index.d.cts +14 -14
- package/dist/web/index.d.ts +14 -14
- package/dist/web/index.js +10 -10
- package/dist/web/notifications/index.d.cts +3 -3
- package/dist/web/notifications/index.d.ts +3 -3
- package/dist/web/records/depth/index.d.cts +7 -7
- package/dist/web/records/depth/index.d.ts +7 -7
- package/dist/web/records/index.cjs +3 -3
- package/dist/web/records/index.d.cts +9 -9
- package/dist/web/records/index.d.ts +9 -9
- package/dist/web/records/index.js +3 -3
- package/dist/web/televet/booking/index.cjs +2 -2
- package/dist/web/televet/booking/index.d.cts +35 -50
- package/dist/web/televet/booking/index.d.ts +35 -50
- package/dist/web/televet/booking/index.js +2 -2
- package/dist/web/televet/call/index.cjs +1 -1
- package/dist/web/televet/call/index.d.cts +12 -5
- package/dist/web/televet/call/index.d.ts +12 -5
- package/dist/web/televet/call/index.js +1 -1
- package/dist/web/televet/index.cjs +4 -1
- package/dist/web/televet/index.d.cts +31 -2
- package/dist/web/televet/index.d.ts +31 -2
- package/dist/web/televet/index.js +4 -1
- package/package.json +4 -3
|
@@ -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-
|
|
6
|
+
export { E as EntitlementSnapshot } from '../../runtimeTypes-BiqMY6pC.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-
|
|
13
|
-
import '../../identity-
|
|
14
|
-
import '../../config-
|
|
12
|
+
import '../../petsRepository-BaTOwJ5L.js';
|
|
13
|
+
import '../../identity-AuoeDRTh.js';
|
|
14
|
+
import '../../config-BXVgTLCh.js';
|
|
15
15
|
import '../../profile-CSs1wlXT.js';
|
|
16
16
|
import '../../cacheEpoch-DknKn3S0.js';
|
|
17
17
|
import '../../ErrorPolicyPort-D22LUVrK.js';
|
|
18
|
-
import '../../ports-
|
|
19
|
-
import '../../casesRepository-
|
|
20
|
-
import '../../requestFunnel-
|
|
18
|
+
import '../../ports-DNIvfzBP.js';
|
|
19
|
+
import '../../casesRepository-YCI0OVwl.js';
|
|
20
|
+
import '../../requestFunnel-CJC_q4BZ.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-
|
|
1
|
+
import { E as EntitlementSnapshot } from '../../runtimeTypes-Doj95Gll.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-
|
|
11
|
-
import '../../identity-
|
|
12
|
-
import '../../config-
|
|
10
|
+
import '../../petsRepository-CsvreWlY.cjs';
|
|
11
|
+
import '../../identity-Z0yj-fC_.cjs';
|
|
12
|
+
import '../../config-Bkbqkjb0.cjs';
|
|
13
13
|
import '../../profile-CSs1wlXT.cjs';
|
|
14
14
|
import '../../cacheEpoch-DknKn3S0.cjs';
|
|
15
15
|
import '../../ErrorPolicyPort-D6CybiqJ.cjs';
|
|
16
|
-
import '../../ports-
|
|
17
|
-
import '../../casesRepository-
|
|
18
|
-
import '../../requestFunnel-
|
|
16
|
+
import '../../ports-Dof7AQjk.cjs';
|
|
17
|
+
import '../../casesRepository-z2JAFlKA.cjs';
|
|
18
|
+
import '../../requestFunnel-DrigK6q_.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-
|
|
1
|
+
import { E as EntitlementSnapshot } from '../../runtimeTypes-BiqMY6pC.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-
|
|
11
|
-
import '../../identity-
|
|
12
|
-
import '../../config-
|
|
10
|
+
import '../../petsRepository-BaTOwJ5L.js';
|
|
11
|
+
import '../../identity-AuoeDRTh.js';
|
|
12
|
+
import '../../config-BXVgTLCh.js';
|
|
13
13
|
import '../../profile-CSs1wlXT.js';
|
|
14
14
|
import '../../cacheEpoch-DknKn3S0.js';
|
|
15
15
|
import '../../ErrorPolicyPort-D22LUVrK.js';
|
|
16
|
-
import '../../ports-
|
|
17
|
-
import '../../casesRepository-
|
|
18
|
-
import '../../requestFunnel-
|
|
16
|
+
import '../../ports-DNIvfzBP.js';
|
|
17
|
+
import '../../casesRepository-YCI0OVwl.js';
|
|
18
|
+
import '../../requestFunnel-CJC_q4BZ.js';
|
|
19
19
|
import '../../TelemetryPort-BDNr00hu.js';
|
|
20
20
|
import '../../ports-BN6RHF9W.js';
|
|
21
21
|
import '../../CameraPort-Cv31Pz7g.js';
|
|
@@ -10,7 +10,11 @@ type RnRecordsUploadFetch = (url: string, init: {
|
|
|
10
10
|
readonly ok: boolean;
|
|
11
11
|
}>;
|
|
12
12
|
interface RnRecordsUploadTransportOptions {
|
|
13
|
-
/**
|
|
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
|
-
/**
|
|
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.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-
|
|
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-By8dFpLA.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';
|
|
@@ -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-
|
|
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-Dne8Qoss.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';
|
|
@@ -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-
|
|
7
|
-
import { c as RecordsDepthStatus, i as RecordsClinicController } from './useRecordsDepth-
|
|
6
|
+
import { K as RecordMarkersView, L as RecordPdfLink, N as RecordShareLink, Q as RecordsClinicBatchClient } from './depth-Dne8Qoss.cjs';
|
|
7
|
+
import { c as RecordsDepthStatus, i as RecordsClinicController } from './useRecordsDepth-ChhS4c6r.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
|
-
/**
|
|
84
|
-
|
|
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-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-
|
|
7
|
-
import { c as RecordsDepthStatus, i as RecordsClinicController } from './useRecordsDepth
|
|
6
|
+
import { K as RecordMarkersView, L as RecordPdfLink, N as RecordShareLink, Q as RecordsClinicBatchClient } from './depth-By8dFpLA.js';
|
|
7
|
+
import { c as RecordsDepthStatus, i as RecordsClinicController } from './useRecordsDepth-CG63cXFZ.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
|
-
/**
|
|
84
|
-
|
|
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-
|
|
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-
|
|
2
|
+
import { E as EverfurConsentScope } from '../../copy-Be2H2i-D.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-Be2H2i-D.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-
|
|
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-
|
|
6
|
+
export { A as AuthContext, I as IdentityProvider, M as MintedToken, T as TokenProvider } from '../../identity-Z0yj-fC_.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-Bkbqkjb0.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-
|
|
11
|
+
import '../../requestFunnel-DrigK6q_.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-
|
|
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-
|
|
2
|
+
import { E as EverfurConsentScope } from '../../copy-SxmZ-Eps.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-SxmZ-Eps.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-
|
|
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-
|
|
6
|
+
export { A as AuthContext, I as IdentityProvider, M as MintedToken, T as TokenProvider } from '../../identity-AuoeDRTh.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-BXVgTLCh.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-
|
|
11
|
+
import '../../requestFunnel-CJC_q4BZ.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. */
|