@everfur/sdk 0.18.0 → 0.18.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.
- package/CHANGELOG.md +28 -0
- package/README.md +1 -0
- package/dist/{Chat.d-nBMspy8Z.d.cts → Chat.d-B7iUVGmB.d.cts} +1 -1
- package/dist/{Chat.d-B8TWabGJ.d.ts → Chat.d-BkLu9G00.d.ts} +1 -1
- package/dist/{DepthViews.d-oOd8fuK6.d.cts → DepthViews.d-BiS-GTEf.d.cts} +1 -1
- package/dist/{DepthViews.d-8lDlsvMt.d.cts → DepthViews.d-C-zs_BnZ.d.cts} +1 -1
- package/dist/{DepthViews.d-DL16ovp4.d.ts → DepthViews.d-C0DVqywN.d.ts} +1 -1
- package/dist/{DepthViews.d-40yUiKkk.d.ts → DepthViews.d-hXV6Ef0y.d.ts} +1 -1
- package/dist/{RecordsPage.d-DIAUDckk.d.cts → RecordsPage.d-5rHMTDyY.d.cts} +1 -1
- package/dist/{RecordsPage.d-BUczguEu.d.ts → RecordsPage.d-BG_RDR1V.d.ts} +1 -1
- package/dist/animations/index.d.cts +3 -3
- package/dist/animations/index.d.ts +3 -3
- package/dist/{appStateLifecycle.d-Ciy42l5z.d.ts → appStateLifecycle.d-7H_2a9it.d.ts} +3 -3
- package/dist/{appStateLifecycle.d-CvhRl6ey.d.cts → appStateLifecycle.d-_TM06yEk.d.cts} +3 -3
- package/dist/{attachments.d-BcE2ZTaC.d.ts → attachments.d-D7f7OfPE.d.ts} +5 -5
- package/dist/{attachments.d-CkQIvOXZ.d.cts → attachments.d-DFbXLAYK.d.cts} +2 -2
- package/dist/{attachments.d-PKWAhoTz.d.cts → attachments.d-HmRqizDG.d.cts} +5 -5
- package/dist/{attachments.d-CYQXPR-Y.d.ts → attachments.d-_mgNU-ur.d.ts} +2 -2
- package/dist/{bookingCopy.d-eX4UED7v.d.cts → bookingCopy.d-0K1trjxx.d.cts} +2 -2
- package/dist/{bookingCopy.d-DA1wfcj3.d.ts → bookingCopy.d-RU8lNYJ4.d.ts} +2 -2
- package/dist/{casesRepository.d-DBdJKUms.d.ts → casesRepository.d-D2SQFL27.d.ts} +1 -1
- package/dist/{casesRepository.d-D1HFTASM.d.cts → casesRepository.d-D7vIZ9oX.d.cts} +1 -1
- package/dist/chat/index.d.cts +10 -10
- package/dist/chat/index.d.ts +10 -10
- package/dist/chat/lite/index.d.cts +10 -10
- package/dist/chat/lite/index.d.ts +10 -10
- package/dist/client/index.cjs +2 -2
- package/dist/client/index.d.cts +6 -6
- package/dist/client/index.d.ts +6 -6
- package/dist/client/index.js +2 -2
- package/dist/{clinicBatch.d-DneAvigV.d.cts → clinicBatch.d-BN1jfVGo.d.cts} +2 -2
- package/dist/{clinicBatch.d-C-boO8Bw.d.ts → clinicBatch.d-BhaCdstU.d.ts} +2 -2
- package/dist/{config.d-DMHNVTP3.d.cts → config.d-BFTqU7ft.d.cts} +1 -1
- package/dist/{config.d-DXb2J8uy.d.ts → config.d-D_k_rNZZ.d.ts} +1 -1
- package/dist/consent/index.d.cts +5 -5
- package/dist/consent/index.d.ts +5 -5
- package/dist/{context.d-B-MAQGea.d.ts → context.d-B4LODPF1.d.ts} +5 -5
- package/dist/{context.d-wqh1k0Lk.d.cts → context.d-D2fhrjAM.d.cts} +5 -5
- package/dist/{copy.d-DjZUPo5t.d.ts → copy.d-Bn9eIgkW.d.ts} +2 -2
- package/dist/{copy.d-DKxrZwGS.d.cts → copy.d-DjYhMxxS.d.cts} +2 -2
- package/dist/core/index.cjs +1 -1
- package/dist/core/index.d.cts +13 -13
- package/dist/core/index.d.ts +13 -13
- package/dist/core/index.js +1 -1
- package/dist/{depth.d-CghhRDXi.d.cts → depth.d-CsKZkLNi.d.cts} +2 -2
- package/dist/{depth.d-BIEzpRYI.d.ts → depth.d-DlaIV8TV.d.ts} +2 -2
- package/dist/{entitlementRepository.d-DAfH8Cc6.d.ts → entitlementRepository.d-C5d_6QMi.d.ts} +2 -2
- package/dist/{entitlementRepository.d-CPJUGTxm.d.cts → entitlementRepository.d-CpIRpfzy.d.cts} +2 -2
- package/dist/{focus.d-BbXAdBvO.d.ts → focus.d-DOlAaNIU.d.ts} +2 -2
- package/dist/{focus.d-DP0D_ZPV.d.cts → focus.d-DdBbwzjP.d.cts} +2 -2
- package/dist/health-plan/index.d.cts +9 -9
- package/dist/health-plan/index.d.ts +9 -9
- package/dist/{idempotency.d-Ckg1QBNm.d.ts → idempotency.d-CmQc1OUv.d.ts} +1 -1
- package/dist/{idempotency.d-Det48mgE.d.cts → idempotency.d-P4O5lNBq.d.cts} +1 -1
- package/dist/{identity.d-42zkEcip.d.ts → identity.d-BZXPu9Hi.d.ts} +1 -1
- package/dist/{identity.d-CLL-uA7Z.d.cts → identity.d-BmbAwQYx.d.cts} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +13 -13
- package/dist/index.d.ts +13 -13
- package/dist/index.js +1 -1
- package/dist/{introEvents.d-BQWGZ7sZ.d.cts → introEvents.d-Bqw2Hcpt.d.cts} +1 -1
- package/dist/{introEvents.d-C9YLJ8oL.d.ts → introEvents.d-Cy8yxOoe.d.ts} +1 -1
- package/dist/notifications/index.d.cts +4 -4
- package/dist/notifications/index.d.ts +4 -4
- package/dist/{optInView.d-BS3afARj.d.cts → optInView.d-DXj2w4KU.d.cts} +2 -2
- package/dist/{optInView.d-qoO2QvYI.d.ts → optInView.d-wGSNOB86.d.ts} +2 -2
- package/dist/{parse.d-CweaQUPi.d.cts → parse.d-C9_UMXfA.d.cts} +1 -1
- package/dist/{parse.d-CMqbalEM.d.ts → parse.d-MQST1RP3.d.ts} +1 -1
- package/dist/{pets.d-BqXJdlSM.d.cts → pets.d-CP13kAFa.d.cts} +1 -1
- package/dist/{pets.d-CcYsYFf7.d.ts → pets.d-tqGZP3Co.d.ts} +1 -1
- package/dist/{petsRepository.d-Cb_srKM6.d.ts → petsRepository.d-CLyzuoo4.d.ts} +1 -1
- package/dist/{petsRepository.d-CUkUCzi0.d.cts → petsRepository.d-CyerzD5G.d.cts} +1 -1
- package/dist/{ports.d-DHYmw-nA.d.cts → ports.d-CB9YZT2L.d.cts} +4 -4
- package/dist/{ports.d-BPn7SPWw.d.ts → ports.d-RKc2C07X.d.ts} +4 -4
- package/dist/records/depth/index.d.cts +9 -9
- package/dist/records/depth/index.d.ts +9 -9
- package/dist/records/index.cjs +1 -1
- package/dist/records/index.d.cts +10 -10
- package/dist/records/index.d.ts +10 -10
- package/dist/records/index.js +1 -1
- package/dist/{requestFunnel.d-L3oGPnCi.d.ts → requestFunnel.d-BPWf5SQf.d.ts} +2 -2
- package/dist/{requestFunnel.d-BjtdtG4R.d.cts → requestFunnel.d-DocT7FXR.d.cts} +2 -2
- package/dist/{runtimeTypes.d-D0Caa_Hw.d.cts → runtimeTypes.d-CkwEMpy8.d.cts} +4 -4
- package/dist/{runtimeTypes.d-C2RO2Sqz.d.ts → runtimeTypes.d-D4Cjjf_C.d.ts} +4 -4
- package/dist/{screenProps.d-D-o0_ELN.d.cts → screenProps.d-Byla6nJL.d.cts} +1 -1
- package/dist/{screenProps.d-BdQ2mawf.d.ts → screenProps.d-DNTTp7hU.d.ts} +1 -1
- 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 +1 -1
- package/dist/server/index.d.cts +3 -3
- package/dist/server/index.d.ts +3 -3
- package/dist/server/index.js +1 -1
- package/dist/shop/index.d.cts +3 -3
- package/dist/shop/index.d.ts +3 -3
- package/dist/tabs/index.d.cts +6 -6
- package/dist/tabs/index.d.ts +6 -6
- package/dist/televet/booking/index.d.cts +6 -6
- package/dist/televet/booking/index.d.ts +6 -6
- package/dist/testing/index.cjs +1 -1
- package/dist/testing/index.d.cts +1 -1
- package/dist/testing/index.d.ts +1 -1
- package/dist/testing/index.js +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/texting/index.d.cts +5 -5
- package/dist/texting/index.d.ts +5 -5
- package/dist/{threadOptions.d-CPYEz0wW.d.cts → threadOptions.d-CIrevUL8.d.cts} +2 -2
- package/dist/{threadOptions.d-BRMCU6Wx.d.ts → threadOptions.d-jgk_sHrj.d.ts} +2 -2
- package/dist/{timelineRows.d-D4vDIhl6.d.cts → timelineRows.d-BEjiHpkP.d.cts} +1 -1
- package/dist/{timelineRows.d-C0X6ikJF.d.ts → timelineRows.d-BST14weg.d.ts} +1 -1
- package/dist/{useHealthPlanSubscription.d-DNtKgp06.d.ts → useHealthPlanSubscription.d-C9kh4mvk.d.ts} +2 -2
- package/dist/{useHealthPlanSubscription.d-dA3Kp2tI.d.cts → useHealthPlanSubscription.d-CYJi9ZNE.d.cts} +2 -2
- package/dist/{usePresentation.d-BnyKXj2W.d.cts → usePresentation.d-COEh8Xa1.d.cts} +1 -1
- package/dist/{usePresentation.d-DTejSTEA.d.ts → usePresentation.d-WA3sfMpz.d.ts} +1 -1
- package/dist/{useRecordsDepth.d-DJJfhKqn.d.ts → useRecordsDepth.d-CAYnVYl1.d.ts} +1 -1
- package/dist/{useRecordsDepth.d-C7xReDt0.d.cts → useRecordsDepth.d-DZfdRdIU.d.cts} +1 -1
- package/dist/{view.d-B4fsSYs6.d.ts → view.d-D8soknYh.d.ts} +3 -3
- package/dist/{view.d-jyKB5_ym.d.cts → view.d-eM315KIZ.d.cts} +3 -3
- package/dist/web/consent/index.d.cts +5 -5
- package/dist/web/consent/index.d.ts +5 -5
- package/dist/web/health-plan/index.d.cts +11 -11
- package/dist/web/health-plan/index.d.ts +11 -11
- package/dist/web/index.cjs +1 -1
- package/dist/web/index.d.cts +23 -23
- package/dist/web/index.d.ts +23 -23
- package/dist/web/index.js +1 -1
- package/dist/web/intro/index.d.cts +6 -6
- package/dist/web/intro/index.d.ts +6 -6
- 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 +9 -9
- package/dist/web/records/depth/index.d.ts +9 -9
- package/dist/web/records/index.d.cts +11 -11
- package/dist/web/records/index.d.ts +11 -11
- package/dist/web/records-sheet/index.cjs +1 -1
- package/dist/web/records-sheet/index.js +1 -1
- package/dist/web/shop/index.d.cts +3 -3
- package/dist/web/shop/index.d.ts +3 -3
- package/dist/web/televet/booking/index.d.cts +6 -6
- package/dist/web/televet/booking/index.d.ts +6 -6
- package/dist/web/texting/index.d.cts +5 -5
- package/dist/web/texting/index.d.ts +5 -5
- package/package.json +2 -2
package/dist/web/index.d.cts
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
/*! @everfur/sdk. Copyright (c) 2026 Strand Health Inc. dba Everfur. All rights reserved. Use is subject to the Everfur SDK License: https://docs.everfur.com/license */
|
|
2
2
|
import { ReactNode, CSSProperties } from 'react';
|
|
3
|
-
import { E as EverfurProviderProps } from '../context.d-
|
|
4
|
-
export { a as EverfurConfig, b as EverfurHandle, c as EverfurUser, U as UseEverfurPetProfileState, u as useCapability, d as useEverfur, e as useEverfurPetProfile, f as useEverfurTheme } from '../context.d-
|
|
3
|
+
import { E as EverfurProviderProps } from '../context.d-D2fhrjAM.cjs';
|
|
4
|
+
export { a as EverfurConfig, b as EverfurHandle, c as EverfurUser, U as UseEverfurPetProfileState, u as useCapability, d as useEverfur, e as useEverfurPetProfile, f as useEverfurTheme } from '../context.d-D2fhrjAM.cjs';
|
|
5
5
|
import { C as CapabilityName, a as CapabilityDecision } from '../resolve.d-BTC3b6FW.cjs';
|
|
6
6
|
export { b as CapabilityDisabled, D as DisabledLevel } from '../resolve.d-BTC3b6FW.cjs';
|
|
7
|
-
import { U as UrgencyDisplayLevel, E as EverfurChatDraftStore, b as ChatFollowUpPolicy } from '../attachments.d-
|
|
8
|
-
export { C as ChatFeedbackReason, a as ChatFeedbackReasonOption, c as ChatSentiment, d as UseChatAttachmentsOptions, e as UseChatAttachmentsState, f as UseEverfurChatState, g as UseEverfurPetsState, u as useChatAttachments, h as useEverfurChat, i as useEverfurPets } from '../attachments.d-
|
|
7
|
+
import { U as UrgencyDisplayLevel, E as EverfurChatDraftStore, b as ChatFollowUpPolicy } from '../attachments.d-HmRqizDG.cjs';
|
|
8
|
+
export { C as ChatFeedbackReason, a as ChatFeedbackReasonOption, c as ChatSentiment, d as UseChatAttachmentsOptions, e as UseChatAttachmentsState, f as UseEverfurChatState, g as UseEverfurPetsState, u as useChatAttachments, h as useEverfurChat, i as useEverfurPets } from '../attachments.d-HmRqizDG.cjs';
|
|
9
9
|
import { P as PetRef, C as ConversationId } from '../ids.d-B2GAAifq.cjs';
|
|
10
10
|
export { B as Brand, a as ClientId, b as ResponseId, U as UserRef, _ as __brand, c as conversationId, p as petRef, u as userRef } from '../ids.d-B2GAAifq.cjs';
|
|
11
|
-
import { a as ChatCheckinTarget } from '../ports.d-
|
|
12
|
-
export { C as ChatCheckin, b as ChatConversation, c as ChatConversationListOptions, d as ChatConversationPage, e as ChatFeedbackReceipt, f as ChatFeedbackType, g as ChatHistoryOptions, i as ChatMessage, h as ChatMessagePage, j as ChatMessageRole, k as ChatMessageSender, l as ChatStatus, m as Citation, P as PresignedPolicy, S as SendOptions, U as UploadPort } from '../ports.d-
|
|
11
|
+
import { a as ChatCheckinTarget } from '../ports.d-CB9YZT2L.cjs';
|
|
12
|
+
export { C as ChatCheckin, b as ChatConversation, c as ChatConversationListOptions, d as ChatConversationPage, e as ChatFeedbackReceipt, f as ChatFeedbackType, g as ChatHistoryOptions, i as ChatMessage, h as ChatMessagePage, j as ChatMessageRole, k as ChatMessageSender, l as ChatStatus, m as Citation, P as PresignedPolicy, S as SendOptions, U as UploadPort } from '../ports.d-CB9YZT2L.cjs';
|
|
13
13
|
import { i as EverfurPresentationInput } from '../presentation.d-Bs8xQ4gD.cjs';
|
|
14
14
|
export { D as DEFAULT_PRESENTATION, 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, l as EverfurPresentationField, j as EverfurSafetyDisclaimerPlacement, p as parsePresentation, r as resolvePresentation } from '../presentation.d-Bs8xQ4gD.cjs';
|
|
15
|
-
import { P as PetProfileInput } from '../petsRepository.d-
|
|
16
|
-
export { a as PetProfilePatch, R as RegisteredPet, W as WidgetPet, b as WidgetPetProfile } from '../petsRepository.d-
|
|
15
|
+
import { P as PetProfileInput } from '../petsRepository.d-CyerzD5G.cjs';
|
|
16
|
+
export { a as PetProfilePatch, R as RegisteredPet, W as WidgetPet, b as WidgetPetProfile } from '../petsRepository.d-CyerzD5G.cjs';
|
|
17
17
|
import { L as LifecyclePort } from '../LifecyclePort.d-Cr1p33a7.cjs';
|
|
18
18
|
import { E as EverfurStarterPrompt } from '../quickPrompts.d-NM_81Jc1.cjs';
|
|
19
|
-
import { E as EverfurChatEmptyState, a as EverfurChatHistoryBar, b as EverfurChatOpeningCard, c as EverfurChatAnswerCards, d as EverfurChatTopCard, e as EverfurChatHistorySheet, f as EverfurHealthPlanProps } from '../threadOptions.d-
|
|
20
|
-
export { g as EverfurChatAnswerCard, h as EverfurChatAnswerContext, i as EverfurChatFollowUpAction } from '../threadOptions.d-
|
|
21
|
-
import { e as HealthPlanTopCardResults } from '../usePresentation.d-
|
|
22
|
-
export { u as useEverfurPresentation } from '../usePresentation.d-
|
|
19
|
+
import { E as EverfurChatEmptyState, a as EverfurChatHistoryBar, b as EverfurChatOpeningCard, c as EverfurChatAnswerCards, d as EverfurChatTopCard, e as EverfurChatHistorySheet, f as EverfurHealthPlanProps } from '../threadOptions.d-CIrevUL8.cjs';
|
|
20
|
+
export { g as EverfurChatAnswerCard, h as EverfurChatAnswerContext, i as EverfurChatFollowUpAction } from '../threadOptions.d-CIrevUL8.cjs';
|
|
21
|
+
import { e as HealthPlanTopCardResults } from '../usePresentation.d-COEh8Xa1.cjs';
|
|
22
|
+
export { u as useEverfurPresentation } from '../usePresentation.d-COEh8Xa1.cjs';
|
|
23
23
|
import { E as EverfurChatEmptyHeaderContext } from '../threadOptions.d-CW51PyVd.cjs';
|
|
24
24
|
export { c as EverfurChatTopCardRow } from '../threadOptions.d-CW51PyVd.cjs';
|
|
25
|
-
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.d-
|
|
26
|
-
export { C as CheckinAnswer, a as CheckinOutcome, W as WatchCase } from '../casesRepository.d-
|
|
25
|
+
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.d-BFTqU7ft.cjs';
|
|
26
|
+
export { C as CheckinAnswer, a as CheckinOutcome, W as WatchCase } from '../casesRepository.d-D7vIZ9oX.cjs';
|
|
27
27
|
export { E as EverfurError, a as EverfurErrorCategory, b as EverfurErrorCode, c as categoryFor, i as isRetryableCode, u as userFacingError } from '../EverfurError.d-8NHtlgzA.cjs';
|
|
28
|
-
export { A as AttachmentError, a as AttachmentErrorCode, b as AttachmentOutcome, c as AttachmentQueue, d as AttachmentState, e as AttachmentStatus } from '../attachments.d-
|
|
28
|
+
export { A as AttachmentError, a as AttachmentErrorCode, b as AttachmentOutcome, c as AttachmentQueue, d as AttachmentState, e as AttachmentStatus } from '../attachments.d-DFbXLAYK.cjs';
|
|
29
29
|
import { U as UploadTransport, F as FileHandle } from '../ports.d-BX4f4UsB.cjs';
|
|
30
30
|
export { b as FilePort, a as UploadPolicyWire } from '../ports.d-BX4f4UsB.cjs';
|
|
31
31
|
import { C as CaptureRecordsSignature } from '../clinicRequestProps.d-1dCtouGA.cjs';
|
|
32
|
-
import { E as EverfurRecordsPageProps } from '../RecordsPage.d-
|
|
33
|
-
import { E as EverfurIntroCopy, a as EverfurIntroBlank, b as EverfurRecordsRequested, d as EverfurRecordsLanded } from '../introEvents.d-
|
|
32
|
+
import { E as EverfurRecordsPageProps } from '../RecordsPage.d-5rHMTDyY.cjs';
|
|
33
|
+
import { E as EverfurIntroCopy, a as EverfurIntroBlank, b as EverfurRecordsRequested, d as EverfurRecordsLanded } from '../introEvents.d-Bqw2Hcpt.cjs';
|
|
34
34
|
import { E as EverfurTabId, a as EverfurTabsCopy } from '../tabsModel.d-D9GWPFrL.cjs';
|
|
35
35
|
export { b as EVERFUR_TABS_COPY } from '../tabsModel.d-D9GWPFrL.cjs';
|
|
36
36
|
export { E as EVERFUR_RECORDS_LANDED_EVENT, a as EVERFUR_RECORDS_REQUESTED_EVENT } from '../introEvents.d-dS3fJCH1.cjs';
|
|
37
37
|
import { K as KvPort } from '../cacheEpoch.d-DknKn3S0.cjs';
|
|
38
38
|
export { I as ImageCachePort } from '../cacheEpoch.d-DknKn3S0.cjs';
|
|
39
|
-
export { E as EverfurClientEvent, a as EverfurEventHandler, L as LogLevel, b as LogRecord, c as LogSink, P as PrepareOptions, d as PrepareResult, e as PrepareStatus, S as SecureStorePort } from '../runtimeTypes.d-
|
|
39
|
+
export { E as EverfurClientEvent, a as EverfurEventHandler, L as LogLevel, b as LogRecord, c as LogSink, P as PrepareOptions, d as PrepareResult, e as PrepareStatus, S as SecureStorePort } from '../runtimeTypes.d-CkwEMpy8.cjs';
|
|
40
40
|
export { T as TelemetryPort } from '../TelemetryPort.d-BDNr00hu.cjs';
|
|
41
41
|
export { E as ErrorPolicyPort } from '../ErrorPolicyPort.d-DirW9hgO.cjs';
|
|
42
42
|
export { C as CameraPort, a as CaptureOptions, M as MediaSource } from '../CameraPort.d-Cv31Pz7g.cjs';
|
|
43
43
|
export { a as EverfurConfigError, E as EverfurResult, b as EverfurThrownError, i as isErr, c as isOk, u as unwrap } from '../EverfurResult.d-BFH-3s6E.cjs';
|
|
44
|
-
export { M as MintedToken, T as TokenProvider } from '../identity.d-
|
|
44
|
+
export { M as MintedToken, T as TokenProvider } from '../identity.d-BmbAwQYx.cjs';
|
|
45
45
|
export { E as EverfurFaceStyle, a as EverfurThemeAdjustment, f as face, h as headingFace, p as previewTheme, t as themeAdjustments } from '../typeStyle.d-Ckdh_S-t.cjs';
|
|
46
46
|
import { E as EverfurThemeInput } from '../branding.d-BFauULV6.cjs';
|
|
47
47
|
export { A as APPEARANCE_PRESETS, a as APPEARANCE_PRESET_NAMES, b as APPEARANCE_SIZE_RANGES, c as EverfurAppearance, d as EverfurAppearanceFont, e as EverfurAppearancePreset, f as EverfurAppearanceRules, g as EverfurAppearanceVariables, h as EverfurThemeFontFaceKey, i as EverfurThemeFontUrlsInput, j as EverfurThemeFontsInput, k as EverfurThemeSlotInput, l as EverfurThemeSlotsInput, m as expandAppearance } from '../branding.d-BFauULV6.cjs';
|
|
@@ -49,14 +49,14 @@ import { d as EverfurFontWeight, m as EverfurTheme, a as EverfurFontFaceKey } fr
|
|
|
49
49
|
export { E as EverfurColorTokens, b as EverfurFontFamilies, c as EverfurFontSource, e as EverfurLetterSpacingTokens, f as EverfurLineHeightTokens, g as EverfurMotionDurationTokens, h as EverfurMotionTokens, i as EverfurRadiusTokens, j as EverfurSpaceTokens, k as EverfurSpringToken, l as EverfurTextColorTokens, n as EverfurThemeMeta, o as EverfurThemeSlot, p as EverfurThemeSlotKey, q as EverfurThemeSlotName, r as EverfurThemeSlots, s as EverfurTypeSizeTokens, t as EverfurTypeTokens, u as EverfurWeightTokens, T as THEME_SLOT_KEYS, v as THEME_SLOT_KEYS_BY_SLOT, w as THEME_SLOT_NAMES, x as themeSlotKeysFor } from '../tokens.d-BUVqme2D.cjs';
|
|
50
50
|
export { b as PetActivityLevel, c as PetAllergy, d as PetAllergySeverity, e as PetBirthDatePrecision, f as PetCondition, a as PetHealthProfile, P as PetHealthProfileInput, g as PetIndoorOutdoor, h as PetMedication, i as PetSex } from '../profile.d-CSs1wlXT.cjs';
|
|
51
51
|
export { C as CanonicalPetSpecies, c as canonicalPetSpecies } from '../species.d-BXAIMh7I.cjs';
|
|
52
|
-
import '../requestFunnel.d-
|
|
53
|
-
import '../focus.d-
|
|
52
|
+
import '../requestFunnel.d-DocT7FXR.cjs';
|
|
53
|
+
import '../focus.d-DdBbwzjP.cjs';
|
|
54
54
|
import '../models.d-BSqvbTE1.cjs';
|
|
55
55
|
import '../clinicModels.d-BXgKZqDb.cjs';
|
|
56
56
|
import '../useRecords.d-BYNX01El.cjs';
|
|
57
57
|
import '../features.d-DrQxTw3-.cjs';
|
|
58
|
-
import '../screenProps.d-
|
|
59
|
-
import '../clinicBatch.d-
|
|
58
|
+
import '../screenProps.d-Byla6nJL.cjs';
|
|
59
|
+
import '../clinicBatch.d-BN1jfVGo.cjs';
|
|
60
60
|
import '../recordsAsk.d-C5CGSi3j.cjs';
|
|
61
61
|
import '../sheetSeam.d-BBuEIVsa.cjs';
|
|
62
62
|
|
package/dist/web/index.d.ts
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
/*! @everfur/sdk. Copyright (c) 2026 Strand Health Inc. dba Everfur. All rights reserved. Use is subject to the Everfur SDK License: https://docs.everfur.com/license */
|
|
2
2
|
import { ReactNode, CSSProperties } from 'react';
|
|
3
|
-
import { E as EverfurProviderProps } from '../context.d-
|
|
4
|
-
export { a as EverfurConfig, b as EverfurHandle, c as EverfurUser, U as UseEverfurPetProfileState, u as useCapability, d as useEverfur, e as useEverfurPetProfile, f as useEverfurTheme } from '../context.d-
|
|
3
|
+
import { E as EverfurProviderProps } from '../context.d-B4LODPF1.js';
|
|
4
|
+
export { a as EverfurConfig, b as EverfurHandle, c as EverfurUser, U as UseEverfurPetProfileState, u as useCapability, d as useEverfur, e as useEverfurPetProfile, f as useEverfurTheme } from '../context.d-B4LODPF1.js';
|
|
5
5
|
import { C as CapabilityName, a as CapabilityDecision } from '../resolve.d-BTC3b6FW.js';
|
|
6
6
|
export { b as CapabilityDisabled, D as DisabledLevel } from '../resolve.d-BTC3b6FW.js';
|
|
7
|
-
import { U as UrgencyDisplayLevel, E as EverfurChatDraftStore, b as ChatFollowUpPolicy } from '../attachments.d-
|
|
8
|
-
export { C as ChatFeedbackReason, a as ChatFeedbackReasonOption, c as ChatSentiment, d as UseChatAttachmentsOptions, e as UseChatAttachmentsState, f as UseEverfurChatState, g as UseEverfurPetsState, u as useChatAttachments, h as useEverfurChat, i as useEverfurPets } from '../attachments.d-
|
|
7
|
+
import { U as UrgencyDisplayLevel, E as EverfurChatDraftStore, b as ChatFollowUpPolicy } from '../attachments.d-D7f7OfPE.js';
|
|
8
|
+
export { C as ChatFeedbackReason, a as ChatFeedbackReasonOption, c as ChatSentiment, d as UseChatAttachmentsOptions, e as UseChatAttachmentsState, f as UseEverfurChatState, g as UseEverfurPetsState, u as useChatAttachments, h as useEverfurChat, i as useEverfurPets } from '../attachments.d-D7f7OfPE.js';
|
|
9
9
|
import { P as PetRef, C as ConversationId } from '../ids.d-B2GAAifq.js';
|
|
10
10
|
export { B as Brand, a as ClientId, b as ResponseId, U as UserRef, _ as __brand, c as conversationId, p as petRef, u as userRef } from '../ids.d-B2GAAifq.js';
|
|
11
|
-
import { a as ChatCheckinTarget } from '../ports.d-
|
|
12
|
-
export { C as ChatCheckin, b as ChatConversation, c as ChatConversationListOptions, d as ChatConversationPage, e as ChatFeedbackReceipt, f as ChatFeedbackType, g as ChatHistoryOptions, i as ChatMessage, h as ChatMessagePage, j as ChatMessageRole, k as ChatMessageSender, l as ChatStatus, m as Citation, P as PresignedPolicy, S as SendOptions, U as UploadPort } from '../ports.d-
|
|
11
|
+
import { a as ChatCheckinTarget } from '../ports.d-RKc2C07X.js';
|
|
12
|
+
export { C as ChatCheckin, b as ChatConversation, c as ChatConversationListOptions, d as ChatConversationPage, e as ChatFeedbackReceipt, f as ChatFeedbackType, g as ChatHistoryOptions, i as ChatMessage, h as ChatMessagePage, j as ChatMessageRole, k as ChatMessageSender, l as ChatStatus, m as Citation, P as PresignedPolicy, S as SendOptions, U as UploadPort } from '../ports.d-RKc2C07X.js';
|
|
13
13
|
import { i as EverfurPresentationInput } from '../presentation.d-Bs8xQ4gD.js';
|
|
14
14
|
export { D as DEFAULT_PRESENTATION, 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, l as EverfurPresentationField, j as EverfurSafetyDisclaimerPlacement, p as parsePresentation, r as resolvePresentation } from '../presentation.d-Bs8xQ4gD.js';
|
|
15
|
-
import { P as PetProfileInput } from '../petsRepository.d-
|
|
16
|
-
export { a as PetProfilePatch, R as RegisteredPet, W as WidgetPet, b as WidgetPetProfile } from '../petsRepository.d-
|
|
15
|
+
import { P as PetProfileInput } from '../petsRepository.d-CLyzuoo4.js';
|
|
16
|
+
export { a as PetProfilePatch, R as RegisteredPet, W as WidgetPet, b as WidgetPetProfile } from '../petsRepository.d-CLyzuoo4.js';
|
|
17
17
|
import { L as LifecyclePort } from '../LifecyclePort.d-Cr1p33a7.js';
|
|
18
18
|
import { E as EverfurStarterPrompt } from '../quickPrompts.d-NM_81Jc1.js';
|
|
19
|
-
import { E as EverfurChatEmptyState, a as EverfurChatHistoryBar, b as EverfurChatOpeningCard, c as EverfurChatAnswerCards, d as EverfurChatTopCard, e as EverfurChatHistorySheet, f as EverfurHealthPlanProps } from '../threadOptions.d-
|
|
20
|
-
export { g as EverfurChatAnswerCard, h as EverfurChatAnswerContext, i as EverfurChatFollowUpAction } from '../threadOptions.d-
|
|
21
|
-
import { e as HealthPlanTopCardResults } from '../usePresentation.d-
|
|
22
|
-
export { u as useEverfurPresentation } from '../usePresentation.d-
|
|
19
|
+
import { E as EverfurChatEmptyState, a as EverfurChatHistoryBar, b as EverfurChatOpeningCard, c as EverfurChatAnswerCards, d as EverfurChatTopCard, e as EverfurChatHistorySheet, f as EverfurHealthPlanProps } from '../threadOptions.d-jgk_sHrj.js';
|
|
20
|
+
export { g as EverfurChatAnswerCard, h as EverfurChatAnswerContext, i as EverfurChatFollowUpAction } from '../threadOptions.d-jgk_sHrj.js';
|
|
21
|
+
import { e as HealthPlanTopCardResults } from '../usePresentation.d-WA3sfMpz.js';
|
|
22
|
+
export { u as useEverfurPresentation } from '../usePresentation.d-WA3sfMpz.js';
|
|
23
23
|
import { E as EverfurChatEmptyHeaderContext } from '../threadOptions.d-CW51PyVd.js';
|
|
24
24
|
export { c as EverfurChatTopCardRow } from '../threadOptions.d-CW51PyVd.js';
|
|
25
|
-
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.d-
|
|
26
|
-
export { C as CheckinAnswer, a as CheckinOutcome, W as WatchCase } from '../casesRepository.d-
|
|
25
|
+
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.d-D_k_rNZZ.js';
|
|
26
|
+
export { C as CheckinAnswer, a as CheckinOutcome, W as WatchCase } from '../casesRepository.d-D2SQFL27.js';
|
|
27
27
|
export { E as EverfurError, a as EverfurErrorCategory, b as EverfurErrorCode, c as categoryFor, i as isRetryableCode, u as userFacingError } from '../EverfurError.d-8NHtlgzA.js';
|
|
28
|
-
export { A as AttachmentError, a as AttachmentErrorCode, b as AttachmentOutcome, c as AttachmentQueue, d as AttachmentState, e as AttachmentStatus } from '../attachments.d-
|
|
28
|
+
export { A as AttachmentError, a as AttachmentErrorCode, b as AttachmentOutcome, c as AttachmentQueue, d as AttachmentState, e as AttachmentStatus } from '../attachments.d-_mgNU-ur.js';
|
|
29
29
|
import { U as UploadTransport, F as FileHandle } from '../ports.d-BX4f4UsB.js';
|
|
30
30
|
export { b as FilePort, a as UploadPolicyWire } from '../ports.d-BX4f4UsB.js';
|
|
31
31
|
import { C as CaptureRecordsSignature } from '../clinicRequestProps.d-CjsMg_OD.js';
|
|
32
|
-
import { E as EverfurRecordsPageProps } from '../RecordsPage.d-
|
|
33
|
-
import { E as EverfurIntroCopy, a as EverfurIntroBlank, b as EverfurRecordsRequested, d as EverfurRecordsLanded } from '../introEvents.d-
|
|
32
|
+
import { E as EverfurRecordsPageProps } from '../RecordsPage.d-BG_RDR1V.js';
|
|
33
|
+
import { E as EverfurIntroCopy, a as EverfurIntroBlank, b as EverfurRecordsRequested, d as EverfurRecordsLanded } from '../introEvents.d-Cy8yxOoe.js';
|
|
34
34
|
import { E as EverfurTabId, a as EverfurTabsCopy } from '../tabsModel.d-D9GWPFrL.js';
|
|
35
35
|
export { b as EVERFUR_TABS_COPY } from '../tabsModel.d-D9GWPFrL.js';
|
|
36
36
|
export { E as EVERFUR_RECORDS_LANDED_EVENT, a as EVERFUR_RECORDS_REQUESTED_EVENT } from '../introEvents.d-dS3fJCH1.js';
|
|
37
37
|
import { K as KvPort } from '../cacheEpoch.d-DknKn3S0.js';
|
|
38
38
|
export { I as ImageCachePort } from '../cacheEpoch.d-DknKn3S0.js';
|
|
39
|
-
export { E as EverfurClientEvent, a as EverfurEventHandler, L as LogLevel, b as LogRecord, c as LogSink, P as PrepareOptions, d as PrepareResult, e as PrepareStatus, S as SecureStorePort } from '../runtimeTypes.d-
|
|
39
|
+
export { E as EverfurClientEvent, a as EverfurEventHandler, L as LogLevel, b as LogRecord, c as LogSink, P as PrepareOptions, d as PrepareResult, e as PrepareStatus, S as SecureStorePort } from '../runtimeTypes.d-D4Cjjf_C.js';
|
|
40
40
|
export { T as TelemetryPort } from '../TelemetryPort.d-BDNr00hu.js';
|
|
41
41
|
export { E as ErrorPolicyPort } from '../ErrorPolicyPort.d-68yrE3BE.js';
|
|
42
42
|
export { C as CameraPort, a as CaptureOptions, M as MediaSource } from '../CameraPort.d-Cv31Pz7g.js';
|
|
43
43
|
export { a as EverfurConfigError, E as EverfurResult, b as EverfurThrownError, i as isErr, c as isOk, u as unwrap } from '../EverfurResult.d-D_-254ZY.js';
|
|
44
|
-
export { M as MintedToken, T as TokenProvider } from '../identity.d-
|
|
44
|
+
export { M as MintedToken, T as TokenProvider } from '../identity.d-BZXPu9Hi.js';
|
|
45
45
|
export { E as EverfurFaceStyle, a as EverfurThemeAdjustment, f as face, h as headingFace, p as previewTheme, t as themeAdjustments } from '../typeStyle.d-B9Jo5mDX.js';
|
|
46
46
|
import { E as EverfurThemeInput } from '../branding.d-DpNGEdDL.js';
|
|
47
47
|
export { A as APPEARANCE_PRESETS, a as APPEARANCE_PRESET_NAMES, b as APPEARANCE_SIZE_RANGES, c as EverfurAppearance, d as EverfurAppearanceFont, e as EverfurAppearancePreset, f as EverfurAppearanceRules, g as EverfurAppearanceVariables, h as EverfurThemeFontFaceKey, i as EverfurThemeFontUrlsInput, j as EverfurThemeFontsInput, k as EverfurThemeSlotInput, l as EverfurThemeSlotsInput, m as expandAppearance } from '../branding.d-DpNGEdDL.js';
|
|
@@ -49,14 +49,14 @@ import { d as EverfurFontWeight, m as EverfurTheme, a as EverfurFontFaceKey } fr
|
|
|
49
49
|
export { E as EverfurColorTokens, b as EverfurFontFamilies, c as EverfurFontSource, e as EverfurLetterSpacingTokens, f as EverfurLineHeightTokens, g as EverfurMotionDurationTokens, h as EverfurMotionTokens, i as EverfurRadiusTokens, j as EverfurSpaceTokens, k as EverfurSpringToken, l as EverfurTextColorTokens, n as EverfurThemeMeta, o as EverfurThemeSlot, p as EverfurThemeSlotKey, q as EverfurThemeSlotName, r as EverfurThemeSlots, s as EverfurTypeSizeTokens, t as EverfurTypeTokens, u as EverfurWeightTokens, T as THEME_SLOT_KEYS, v as THEME_SLOT_KEYS_BY_SLOT, w as THEME_SLOT_NAMES, x as themeSlotKeysFor } from '../tokens.d-BUVqme2D.js';
|
|
50
50
|
export { b as PetActivityLevel, c as PetAllergy, d as PetAllergySeverity, e as PetBirthDatePrecision, f as PetCondition, a as PetHealthProfile, P as PetHealthProfileInput, g as PetIndoorOutdoor, h as PetMedication, i as PetSex } from '../profile.d-CSs1wlXT.js';
|
|
51
51
|
export { C as CanonicalPetSpecies, c as canonicalPetSpecies } from '../species.d-BXAIMh7I.js';
|
|
52
|
-
import '../requestFunnel.d-
|
|
53
|
-
import '../focus.d-
|
|
52
|
+
import '../requestFunnel.d-BPWf5SQf.js';
|
|
53
|
+
import '../focus.d-DOlAaNIU.js';
|
|
54
54
|
import '../models.d-DOwnr8fi.js';
|
|
55
55
|
import '../clinicModels.d-CaS64-P-.js';
|
|
56
56
|
import '../useRecords.d-DWk61a4c.js';
|
|
57
57
|
import '../features.d-DrQxTw3-.js';
|
|
58
|
-
import '../screenProps.d-
|
|
59
|
-
import '../clinicBatch.d-
|
|
58
|
+
import '../screenProps.d-DNTTp7hU.js';
|
|
59
|
+
import '../clinicBatch.d-BhaCdstU.js';
|
|
60
60
|
import '../recordsAsk.d-C5CGSi3j.js';
|
|
61
61
|
import '../sheetSeam.d-B09jf4YC.js';
|
|
62
62
|
|
package/dist/web/index.js
CHANGED
|
@@ -103,7 +103,7 @@ return Object.freeze({kind:"done",terminal:true,conversationId:fields.conversati
|
|
|
103
103
|
return Object.freeze({kind:"error",terminal:true,code:fields.code,retryable:fields.retryable,wireMessage:fields.wireMessage,synthesized:fields.synthesized,lastEventId:fields.lastEventId,serverRequestId:fields.serverRequestId??null})}function analysisStartedFrame(requestId,lastEventId,serverRequestId=null){/* @__PURE__ */
|
|
104
104
|
return Object.freeze({kind:"analysisStarted",requestId:requestId,lastEventId:lastEventId,serverRequestId:serverRequestId,terminal:false})}function analysisCompleteFrame(fields,serverRequestId=null){/* @__PURE__ */
|
|
105
105
|
return Object.freeze({kind:"analysisComplete",terminal:false,resultId:fields.resultId,analysisType:fields.analysisType,modelVersion:fields.modelVersion,confidence:fields.confidence,detections:/* @__PURE__ */Object.freeze([...fields.detections]),interpretation:fields.interpretation,lastEventId:fields.lastEventId,serverRequestId:serverRequestId})}function unknownFrame(raw,lastEventId,serverRequestId=null){/* @__PURE__ */
|
|
106
|
-
return Object.freeze({kind:"unknown",raw:{...raw},lastEventId:lastEventId,serverRequestId:serverRequestId,terminal:false})}var ACCESS_DENIED_COPY="This feature isn't available on your account right now.",VALIDATION_FAILED_COPY="Something in that request was not right. Check the details and try again.",USER_FACING_COPY=/* @__PURE__ */Object.freeze({authExpired:"Please sign in again to continue.",authRejected:"Please sign in again to continue.",sessionRequired:"This app needs to be updated to keep using Everfur.",accessDenied:ACCESS_DENIED_COPY,paymentRequired:"This is part of a paid plan.",quotaExceeded:"You have used today's messages. This resets tomorrow.",rateLimited:"You are sending messages quickly. Try again in a few seconds.",validationFailed:VALIDATION_FAILED_COPY,sdkUpdateRequired:"This app needs to be updated to keep using Everfur.",conflict:"That is already running. Wait for it to finish, then try again.",idempotencyConflict:"That message was already delivered.",idempotencyInFlight:"That is still processing. Give it a moment.",conversationNotFound:"This conversation is no longer available.",petNotFound:"We could not find that pet. Please pick a pet and try again.",resourceNotFound:"We could not find that.",streamTimeout:"The response timed out. Tap retry to try again.",mediaUploadFailed:"We could not upload that photo. Please attach it again.",moderationBlocked:"This request cannot be answered here.",upstreamLlmTimeout:"The response timed out. Tap retry to try again.",internalError:"We hit a snag on our end. Please try again.",notImplemented:"That is not available yet.",serviceUnavailable:"That service is briefly unavailable. Try again shortly.",streamIncomplete:"The connection dropped mid-answer. Tap retry to continue.",identitySignatureRequired:ACCESS_DENIED_COPY,runtimeDisposed:VALIDATION_FAILED_COPY,unknown:"Something went wrong. Please try again."}),SESSION_REVOKED_COPY="This session has ended. Please sign in again.",LINKED_ACCOUNT_READ_ONLY="linked_account_read_only";function displayFor(code,wireCode,reasonCode){return code==="conflict"&&reasonCode===LINKED_ACCOUNT_READ_ONLY?ACCESS_DENIED_COPY:(code==="authRejected"||code==="authExpired")&&typeof wireCode=="string"&&wireCode.trim().toLowerCase()==="session_revoked"?SESSION_REVOKED_COPY:userFacingError(code)}function userFacingError(code){return USER_FACING_COPY[code]}function defineHidden(target,key,value){Object.defineProperty(target,key,{value:value,enumerable:false,writable:false,configurable:false})}var REASON_CODE_SHAPE=/^[a-z][a-z0-9_]{0,63}$/;function makeEverfurError(code,opts){let row=contractErrorFor(opts?.wireCode,opts?.wireEnvelope),linkedReadOnly=code==="conflict"&&opts?.reasonCode===LINKED_ACCOUNT_READ_ONLY,error={code:code,category:categoryFor(code),retryable:opts?.retryable??(linkedReadOnly?false:isRetryableCode(code)),displayMessage:displayFor(code,opts?.wireCode,linkedReadOnly?LINKED_ACCOUNT_READ_ONLY:null)};opts?.httpStatus!==void 0&&(error.httpStatus=opts.httpStatus),opts?.requestId&&(error.requestId=opts.requestId),typeof opts?.reasonCode=="string"&&REASON_CODE_SHAPE.test(opts.reasonCode)&&(error.reasonCode=opts.reasonCode);let wait=opts?.retryAfterSeconds;if(typeof wait=="number"&&Number.isFinite(wait)&&wait>=0&&(error.retryAfterSeconds=Math.round(wait)),row);return opts?.wireMessage&&defineHidden(error,"wireMessage",opts.wireMessage),opts?.raw!==void 0&&opts.raw!==null&&defineHidden(error,"raw",opts.raw),/* @__PURE__ */Object.freeze(error)}function mintFailedError(cause,refusal){let message=cause instanceof Error?cause.message:typeof cause=="string"?cause:null;return makeEverfurError("authRejected",{retryable:false,...refusal?.wireCode?{wireCode:refusal.wireCode}:{},...refusal?.requestId?{requestId:refusal.requestId}:{},...message?{wireMessage:message}:{},...cause!=null?{raw:cause}:{}})}function createIdentityProvider(userRef2,getToken,onMinted,onRejected){let cached=null,rejectionReported=false,inFlight3=null,revoked=false,load=()=>inFlight3||(inFlight3=(async()=>{try{let minted=await getToken(),token=typeof minted=="string"?minted:minted?.token;if(typeof token!="string"||token.length===0)throw new EverfurConfigError("invalid-argument","TokenProvider returned an empty token");return cached=token,rejectionReported=!1,onMinted?.(typeof minted=="string"?null:expiryMs(minted.expiresAt)),token}finally{inFlight3=null}})(),inFlight3);return{userRef:userRef2,async currentToken(opts){if(revoked)throw new EverfurConfigError("not-initialized","This identity was cleared (sign-out); mint a new one.");return opts?.forceRefresh&&(cached=null),cached!==null?cached:load()},hasToken(){return!revoked&&cached!==null},clear(){revoked=true,cached=null},reportRejected(){revoked||rejectionReported||(rejectionReported=true,onRejected?.())}}}function expiryMs(value){if(value===void 0)return null;let ms=typeof value=="number"?value<1e11?value*1e3:value:new Date(value).getTime();return Number.isFinite(ms)?ms:null}function newSessionId(){let bytes=new Uint8Array(16),cryptoObj=globalThis.crypto;if(typeof cryptoObj?.getRandomValues=="function")cryptoObj.getRandomValues(bytes);else for(let i=0;i<bytes.length;i+=1)bytes[i]=Math.floor(Math.random()*256);bytes[6]=bytes[6]&15|64,bytes[8]=bytes[8]&63|128;let hex=[];for(let i=0;i<bytes.length;i+=1)hex.push(bytes[i].toString(16).padStart(2,"0"));return hex.slice(0,4).join("")+"-"+hex.slice(4,6).join("")+"-"+hex.slice(6,8).join("")+"-"+hex.slice(8,10).join("")+"-"+hex.slice(10,16).join("")}function authHeaders(auth){let headers={};return auth.mode==="personalized"?headers.authorization=`Bearer ${auth.token}`:headers["x-everfur-partner-key"]=auth.publishableKey,auth.userRef&&(headers["x-everfur-user-ref"]=auth.userRef),auth.sessionId&&(headers["x-everfur-session-id"]=auth.sessionId),headers}function withAuthHeaders(req,auth){return{...req,headers:{...stripAuthHeaders(req.headers),...authHeaders(auth)}}}function stripAuthHeaders(headers){if(!headers)return{};let out={};for(let[key,value]of Object.entries(headers)){let lower=key.toLowerCase();lower==="authorization"||lower==="x-everfur-partner-key"||(out[key]=value)}return out}async function authedSend(req,ctx){if(ctx.mode==="anonymous")return ctx.transport.request(withAuthHeaders(req,{mode:"anonymous",publishableKey:ctx.publishableKey,userRef:ctx.userRef,...ctx.sessionId?{sessionId:ctx.sessionId}:{}}));let token;try{token=await ctx.identity.currentToken()}catch(cause){return ctx.identity.reportRejected?.(),err(mintFailedError(cause))}let first=await ctx.transport.request(withAuthHeaders(req,{mode:"personalized",token:token,userRef:ctx.userRef,...ctx.sessionId?{sessionId:ctx.sessionId}:{}}));if(first.ok||first.error.httpStatus!==401)return first;let refreshed;try{refreshed=await ctx.identity.currentToken({forceRefresh:!0})}catch(cause){return ctx.identity.reportRejected?.(),err(mintFailedError(cause,{wireCode:wireCodeOf(first.error.raw),requestId:first.error.requestId}))}let retry=await ctx.transport.request(withAuthHeaders(req,{mode:"personalized",token:refreshed,userRef:ctx.userRef,...ctx.sessionId?{sessionId:ctx.sessionId}:{}}));return!retry.ok&&retry.error.httpStatus===401?(ctx.identity.reportRejected?.(),err(refusedAfterRemintError(retry.error))):retry}function refusedAfterRemintError(refusal){let raw=refusal.raw,wireCode=wireCodeOf(raw);return makeEverfurError("authRejected",{retryable:false,...refusal.httpStatus!==void 0?{httpStatus:refusal.httpStatus}:{},...refusal.requestId?{requestId:refusal.requestId}:{},...wireCode?{wireCode:wireCode}:{},...refusal.reasonCode?{reasonCode:refusal.reasonCode}:{},...refusal.wireMessage?{wireMessage:refusal.wireMessage}:{},...raw!=null?{raw:raw}:{}})}function wireCodeOf(body){if(typeof body!="object"||body===null)return null;let b=body,code=(typeof b.error=="object"&&b.error!==null?b.error.code:void 0)??b.code;return typeof code=="string"&&code.length>0?code:null}var DAILY_QUOTA_WIRE_CODE="DAILY_QUOTA_EXCEEDED",THROTTLES=/* @__PURE__ */new Set(["THROTTLINGEXCEPTION","RATELIMITED","TOOMANYREQUESTS"]);function foldDailyQuotaWireCode(code,body){if(!THROTTLES.has(code.toUpperCase().replace(/[^A-Z0-9]/g,"")))return code;let b=body,limit=b?.daily_limit??b?.error?.daily_limit;return typeof limit=="number"&&Number.isFinite(limit)?DAILY_QUOTA_WIRE_CODE:code}var BLOCK_SEPARATOR=`\n\n`,MAX_PENDING_BLOCK_CHARS=1048576,wireObjectSchema=/* @__PURE__ */z.record(/* @__PURE__ */z.string(),/* @__PURE__ */z.unknown()),URGENCY_LEVELS=["emergency","schedule_soon","home_care"];async function*parseSse(bytes,serverRequestId=null){let resolvedRequestId=null,requestIdNow=()=>(resolvedRequestId!==null||(resolvedRequestId=typeof serverRequestId=="function"?serverRequestId():serverRequestId),resolvedRequestId),decoder=new TextDecoder("utf-8"),buffer="",scanFrom=0,sawDelta=false;for await(let chunk of bytes){for(buffer+=decoder.decode(chunk,{stream:true});;){let sep=buffer.indexOf(BLOCK_SEPARATOR,scanFrom);if(sep===-1)break;let block=buffer.slice(0,sep);buffer=buffer.slice(sep+BLOCK_SEPARATOR.length),scanFrom=0;let frame=parseBlock(block,requestIdNow());if(frame!==null&&(frame.kind==="delta"&&(sawDelta=true),yield frame,frame.terminal))return}if(scanFrom=buffer.length>0?buffer.length-1:0,buffer.length>MAX_PENDING_BLOCK_CHARS){yield errorFrame({code:sawDelta?"CHAT_STREAM_INCOMPLETE":"internal_error",retryable:true,wireMessage:null,synthesized:true,lastEventId:null,serverRequestId:requestIdNow()});return}}if(buffer+=decoder.decode(),buffer.trim().length>0){let frame=parseBlock(buffer,requestIdNow());if(frame!==null&&(frame.kind==="delta"&&(sawDelta=true),yield frame,frame.terminal))return}yield errorFrame({code:sawDelta?"CHAT_STREAM_INCOMPLETE":"internal_error",retryable:true,wireMessage:null,synthesized:true,lastEventId:null,serverRequestId:requestIdNow()})}function parseBlock(block,serverRequestId){let id=null,dataLines=[];for(let rawLine of block.split(`\n`)){let line=rawLine.replace(/\s+$/,"");line.length===0||line.startsWith(":")||(line.startsWith("id:")?id=line.slice(3).trim():line.startsWith("data:")&&dataLines.push(line.slice(5).replace(/^ /,"")))}if(dataLines.length===0)return null;let decoded;try{decoded=JSON.parse(dataLines.join(`\n`))}catch{return null}if(typeof decoded!="object"||decoded===null||Array.isArray(decoded))return null;let parsed=wireObjectSchema.safeParse(decoded);return parsed.success?frameFromWire(parsed.data,id,serverRequestId):null}function frameFromWire(json,lastEventId,serverRequestId){let type=json.type,event=json.event;if(type==="error"||"error"in json)return errorFrame({code:asString(json.code)??"unknown",retryable:json.retryable===true,wireMessage:asString(json.error),synthesized:false,lastEventId:lastEventId,serverRequestId:serverRequestId});if(type==="done"||json.done===true)return doneFrame({conversationId:asString(json.conversation_id)??"",messageId:asString(json.message_id),title:asString(json.title),followUpQuestions:asStringList(json.follow_up_questions),citations:asMapList(json.citations),citationStatus:asString(json.citation_status),urgencyLevel:asUrgency(json.urgency_level),urgencyReason:asString(json.urgency_reason),urgencyProvided:urgencySlotProvided(json),resultId:asString(json.result_id),lastEventId:lastEventId},serverRequestId);if(type==="accepted"||json.status==="reasoning")return acceptedFrame(asString(json.stream_id),lastEventId,serverRequestId);if(type==="heartbeat"||json.heartbeat===true)return heartbeatFrame(lastEventId,serverRequestId);if(type==="text.delta"||"delta"in json||"token"in json){let delta=asString(json.delta)??asString(json.token)??"";return deltaFrame(delta,lastEventId,serverRequestId)}return event==="analysis_started"?analysisStartedFrame(asString(json.request_id),lastEventId,serverRequestId):event==="analysis_complete"?analysisCompleteFrame({resultId:asString(json.result_id),analysisType:asString(json.analysis_type),modelVersion:asString(json.model_version),confidence:asNumber(json.confidence),detections:asMapList(json.detections),interpretation:asString(json.interpretation),lastEventId:lastEventId},serverRequestId):unknownFrame(json,lastEventId,serverRequestId)}function asString(v){return typeof v=="string"?v:null}function asNumber(v){return typeof v=="number"&&Number.isFinite(v)?v:null}function asUrgency(v){return typeof v=="string"&&URGENCY_LEVELS.includes(v)?v:null}function urgencySlotProvided(json){if(!Object.prototype.hasOwnProperty.call(json,"urgency_level"))return false;let raw=json.urgency_level;return raw===null||asUrgency(raw)!==null}function asStringList(v){return Array.isArray(v)?v.map(e=>typeof e=="string"?e:String(e)):[]}function isPlainObject(v){return typeof v=="object"&&v!==null&&!Array.isArray(v)}function asMapList(v){return Array.isArray(v)?v.filter(isPlainObject):[]}var ABSOLUTE_URL=/^([A-Za-z][A-Za-z0-9+.-]*):\/\/([^/?#]*)/;var SDK_VERSION="0.18.0",SDK_PLATFORM="react-native",DEFAULT_CONTRACT_VERSION="2026-09-19",ENV_API_BASE_URL="EVERFUR_API_BASE_URL";function configFailure(reason,message){/* @__PURE__ */
|
|
106
|
+
return Object.freeze({kind:"unknown",raw:{...raw},lastEventId:lastEventId,serverRequestId:serverRequestId,terminal:false})}var ACCESS_DENIED_COPY="This feature isn't available on your account right now.",VALIDATION_FAILED_COPY="Something in that request was not right. Check the details and try again.",USER_FACING_COPY=/* @__PURE__ */Object.freeze({authExpired:"Please sign in again to continue.",authRejected:"Please sign in again to continue.",sessionRequired:"This app needs to be updated to keep using Everfur.",accessDenied:ACCESS_DENIED_COPY,paymentRequired:"This is part of a paid plan.",quotaExceeded:"You have used today's messages. This resets tomorrow.",rateLimited:"You are sending messages quickly. Try again in a few seconds.",validationFailed:VALIDATION_FAILED_COPY,sdkUpdateRequired:"This app needs to be updated to keep using Everfur.",conflict:"That is already running. Wait for it to finish, then try again.",idempotencyConflict:"That message was already delivered.",idempotencyInFlight:"That is still processing. Give it a moment.",conversationNotFound:"This conversation is no longer available.",petNotFound:"We could not find that pet. Please pick a pet and try again.",resourceNotFound:"We could not find that.",streamTimeout:"The response timed out. Tap retry to try again.",mediaUploadFailed:"We could not upload that photo. Please attach it again.",moderationBlocked:"This request cannot be answered here.",upstreamLlmTimeout:"The response timed out. Tap retry to try again.",internalError:"We hit a snag on our end. Please try again.",notImplemented:"That is not available yet.",serviceUnavailable:"That service is briefly unavailable. Try again shortly.",streamIncomplete:"The connection dropped mid-answer. Tap retry to continue.",identitySignatureRequired:ACCESS_DENIED_COPY,runtimeDisposed:VALIDATION_FAILED_COPY,unknown:"Something went wrong. Please try again."}),SESSION_REVOKED_COPY="This session has ended. Please sign in again.",LINKED_ACCOUNT_READ_ONLY="linked_account_read_only";function displayFor(code,wireCode,reasonCode){return code==="conflict"&&reasonCode===LINKED_ACCOUNT_READ_ONLY?ACCESS_DENIED_COPY:(code==="authRejected"||code==="authExpired")&&typeof wireCode=="string"&&wireCode.trim().toLowerCase()==="session_revoked"?SESSION_REVOKED_COPY:userFacingError(code)}function userFacingError(code){return USER_FACING_COPY[code]}function defineHidden(target,key,value){Object.defineProperty(target,key,{value:value,enumerable:false,writable:false,configurable:false})}var REASON_CODE_SHAPE=/^[a-z][a-z0-9_]{0,63}$/;function makeEverfurError(code,opts){let row=contractErrorFor(opts?.wireCode,opts?.wireEnvelope),linkedReadOnly=code==="conflict"&&opts?.reasonCode===LINKED_ACCOUNT_READ_ONLY,error={code:code,category:categoryFor(code),retryable:opts?.retryable??(linkedReadOnly?false:isRetryableCode(code)),displayMessage:displayFor(code,opts?.wireCode,linkedReadOnly?LINKED_ACCOUNT_READ_ONLY:null)};opts?.httpStatus!==void 0&&(error.httpStatus=opts.httpStatus),opts?.requestId&&(error.requestId=opts.requestId),typeof opts?.reasonCode=="string"&&REASON_CODE_SHAPE.test(opts.reasonCode)&&(error.reasonCode=opts.reasonCode);let wait=opts?.retryAfterSeconds;if(typeof wait=="number"&&Number.isFinite(wait)&&wait>=0&&(error.retryAfterSeconds=Math.round(wait)),row);return opts?.wireMessage&&defineHidden(error,"wireMessage",opts.wireMessage),opts?.raw!==void 0&&opts.raw!==null&&defineHidden(error,"raw",opts.raw),/* @__PURE__ */Object.freeze(error)}function mintFailedError(cause,refusal){let message=cause instanceof Error?cause.message:typeof cause=="string"?cause:null;return makeEverfurError("authRejected",{retryable:false,...refusal?.wireCode?{wireCode:refusal.wireCode}:{},...refusal?.requestId?{requestId:refusal.requestId}:{},...message?{wireMessage:message}:{},...cause!=null?{raw:cause}:{}})}function createIdentityProvider(userRef2,getToken,onMinted,onRejected){let cached=null,rejectionReported=false,inFlight3=null,revoked=false,load=()=>inFlight3||(inFlight3=(async()=>{try{let minted=await getToken(),token=typeof minted=="string"?minted:minted?.token;if(typeof token!="string"||token.length===0)throw new EverfurConfigError("invalid-argument","TokenProvider returned an empty token");return cached=token,rejectionReported=!1,onMinted?.(typeof minted=="string"?null:expiryMs(minted.expiresAt)),token}finally{inFlight3=null}})(),inFlight3);return{userRef:userRef2,async currentToken(opts){if(revoked)throw new EverfurConfigError("not-initialized","This identity was cleared (sign-out); mint a new one.");return opts?.forceRefresh&&(cached=null),cached!==null?cached:load()},hasToken(){return!revoked&&cached!==null},clear(){revoked=true,cached=null},reportRejected(){revoked||rejectionReported||(rejectionReported=true,onRejected?.())}}}function expiryMs(value){if(value===void 0)return null;let ms=typeof value=="number"?value<1e11?value*1e3:value:new Date(value).getTime();return Number.isFinite(ms)?ms:null}function newSessionId(){let bytes=new Uint8Array(16),cryptoObj=globalThis.crypto;if(typeof cryptoObj?.getRandomValues=="function")cryptoObj.getRandomValues(bytes);else for(let i=0;i<bytes.length;i+=1)bytes[i]=Math.floor(Math.random()*256);bytes[6]=bytes[6]&15|64,bytes[8]=bytes[8]&63|128;let hex=[];for(let i=0;i<bytes.length;i+=1)hex.push(bytes[i].toString(16).padStart(2,"0"));return hex.slice(0,4).join("")+"-"+hex.slice(4,6).join("")+"-"+hex.slice(6,8).join("")+"-"+hex.slice(8,10).join("")+"-"+hex.slice(10,16).join("")}function authHeaders(auth){let headers={};return auth.mode==="personalized"?headers.authorization=`Bearer ${auth.token}`:headers["x-everfur-partner-key"]=auth.publishableKey,auth.userRef&&(headers["x-everfur-user-ref"]=auth.userRef),auth.sessionId&&(headers["x-everfur-session-id"]=auth.sessionId),headers}function withAuthHeaders(req,auth){return{...req,headers:{...stripAuthHeaders(req.headers),...authHeaders(auth)}}}function stripAuthHeaders(headers){if(!headers)return{};let out={};for(let[key,value]of Object.entries(headers)){let lower=key.toLowerCase();lower==="authorization"||lower==="x-everfur-partner-key"||(out[key]=value)}return out}async function authedSend(req,ctx){if(ctx.mode==="anonymous")return ctx.transport.request(withAuthHeaders(req,{mode:"anonymous",publishableKey:ctx.publishableKey,userRef:ctx.userRef,...ctx.sessionId?{sessionId:ctx.sessionId}:{}}));let token;try{token=await ctx.identity.currentToken()}catch(cause){return ctx.identity.reportRejected?.(),err(mintFailedError(cause))}let first=await ctx.transport.request(withAuthHeaders(req,{mode:"personalized",token:token,userRef:ctx.userRef,...ctx.sessionId?{sessionId:ctx.sessionId}:{}}));if(first.ok||first.error.httpStatus!==401)return first;let refreshed;try{refreshed=await ctx.identity.currentToken({forceRefresh:!0})}catch(cause){return ctx.identity.reportRejected?.(),err(mintFailedError(cause,{wireCode:wireCodeOf(first.error.raw),requestId:first.error.requestId}))}let retry=await ctx.transport.request(withAuthHeaders(req,{mode:"personalized",token:refreshed,userRef:ctx.userRef,...ctx.sessionId?{sessionId:ctx.sessionId}:{}}));return!retry.ok&&retry.error.httpStatus===401?(ctx.identity.reportRejected?.(),err(refusedAfterRemintError(retry.error))):retry}function refusedAfterRemintError(refusal){let raw=refusal.raw,wireCode=wireCodeOf(raw);return makeEverfurError("authRejected",{retryable:false,...refusal.httpStatus!==void 0?{httpStatus:refusal.httpStatus}:{},...refusal.requestId?{requestId:refusal.requestId}:{},...wireCode?{wireCode:wireCode}:{},...refusal.reasonCode?{reasonCode:refusal.reasonCode}:{},...refusal.wireMessage?{wireMessage:refusal.wireMessage}:{},...raw!=null?{raw:raw}:{}})}function wireCodeOf(body){if(typeof body!="object"||body===null)return null;let b=body,code=(typeof b.error=="object"&&b.error!==null?b.error.code:void 0)??b.code;return typeof code=="string"&&code.length>0?code:null}var DAILY_QUOTA_WIRE_CODE="DAILY_QUOTA_EXCEEDED",THROTTLES=/* @__PURE__ */new Set(["THROTTLINGEXCEPTION","RATELIMITED","TOOMANYREQUESTS"]);function foldDailyQuotaWireCode(code,body){if(!THROTTLES.has(code.toUpperCase().replace(/[^A-Z0-9]/g,"")))return code;let b=body,limit=b?.daily_limit??b?.error?.daily_limit;return typeof limit=="number"&&Number.isFinite(limit)?DAILY_QUOTA_WIRE_CODE:code}function createFallbackUtf8Decoder(){let pending3=[];return{decode(input,options){let stream=options?.stream===true,bytes=pending3.length>0?pending3.slice():[];if(input!==void 0)for(let i2=0;i2<input.length;i2+=1)bytes.push(input[i2]);pending3=[];let out="",i=0;for(;i<bytes.length;){let b0=bytes[i];if(b0<128){out+=String.fromCharCode(b0),i+=1;continue}let need,lower=128,upper=191,cp;if(b0>=194&&b0<=223)need=1,cp=b0&31;else if(b0>=224&&b0<=239)need=2,cp=b0&15,b0===224&&(lower=160),b0===237&&(upper=159);else if(b0>=240&&b0<=244)need=3,cp=b0&7,b0===240&&(lower=144),b0===244&&(upper=143);else{out+="�",i+=1;continue}let j=1,valid=true;for(;j<=need&&!(i+j>=bytes.length);){let b=bytes[i+j],lo=j===1?lower:128,hi=j===1?upper:191;if(b<lo||b>hi){valid=false;break}cp=cp<<6|b&63,j+=1}if(!valid){out+="�",i+=j;continue}if(j<=need){stream?pending3=bytes.slice(i):out+="�";break}out+=String.fromCodePoint(cp),i+=need+1}return out}}}function createUtf8Decoder(){let Native=globalThis.TextDecoder;return typeof Native=="function"?new Native("utf-8"):createFallbackUtf8Decoder()}var BLOCK_SEPARATOR=`\n\n`,MAX_PENDING_BLOCK_CHARS=1048576,wireObjectSchema=/* @__PURE__ */z.record(/* @__PURE__ */z.string(),/* @__PURE__ */z.unknown()),URGENCY_LEVELS=["emergency","schedule_soon","home_care"];async function*parseSse(bytes,serverRequestId=null){let resolvedRequestId=null,requestIdNow=()=>(resolvedRequestId!==null||(resolvedRequestId=typeof serverRequestId=="function"?serverRequestId():serverRequestId),resolvedRequestId),decoder=createUtf8Decoder(),buffer="",scanFrom=0,sawDelta=false;for await(let chunk of bytes){for(buffer+=decoder.decode(chunk,{stream:true});;){let sep=buffer.indexOf(BLOCK_SEPARATOR,scanFrom);if(sep===-1)break;let block=buffer.slice(0,sep);buffer=buffer.slice(sep+BLOCK_SEPARATOR.length),scanFrom=0;let frame=parseBlock(block,requestIdNow());if(frame!==null&&(frame.kind==="delta"&&(sawDelta=true),yield frame,frame.terminal))return}if(scanFrom=buffer.length>0?buffer.length-1:0,buffer.length>MAX_PENDING_BLOCK_CHARS){yield errorFrame({code:sawDelta?"CHAT_STREAM_INCOMPLETE":"internal_error",retryable:true,wireMessage:null,synthesized:true,lastEventId:null,serverRequestId:requestIdNow()});return}}if(buffer+=decoder.decode(),buffer.trim().length>0){let frame=parseBlock(buffer,requestIdNow());if(frame!==null&&(frame.kind==="delta"&&(sawDelta=true),yield frame,frame.terminal))return}yield errorFrame({code:sawDelta?"CHAT_STREAM_INCOMPLETE":"internal_error",retryable:true,wireMessage:null,synthesized:true,lastEventId:null,serverRequestId:requestIdNow()})}function parseBlock(block,serverRequestId){let id=null,dataLines=[];for(let rawLine of block.split(`\n`)){let line=rawLine.replace(/\s+$/,"");line.length===0||line.startsWith(":")||(line.startsWith("id:")?id=line.slice(3).trim():line.startsWith("data:")&&dataLines.push(line.slice(5).replace(/^ /,"")))}if(dataLines.length===0)return null;let decoded;try{decoded=JSON.parse(dataLines.join(`\n`))}catch{return null}if(typeof decoded!="object"||decoded===null||Array.isArray(decoded))return null;let parsed=wireObjectSchema.safeParse(decoded);return parsed.success?frameFromWire(parsed.data,id,serverRequestId):null}function frameFromWire(json,lastEventId,serverRequestId){let type=json.type,event=json.event;if(type==="error"||"error"in json)return errorFrame({code:asString(json.code)??"unknown",retryable:json.retryable===true,wireMessage:asString(json.error),synthesized:false,lastEventId:lastEventId,serverRequestId:serverRequestId});if(type==="done"||json.done===true)return doneFrame({conversationId:asString(json.conversation_id)??"",messageId:asString(json.message_id),title:asString(json.title),followUpQuestions:asStringList(json.follow_up_questions),citations:asMapList(json.citations),citationStatus:asString(json.citation_status),urgencyLevel:asUrgency(json.urgency_level),urgencyReason:asString(json.urgency_reason),urgencyProvided:urgencySlotProvided(json),resultId:asString(json.result_id),lastEventId:lastEventId},serverRequestId);if(type==="accepted"||json.status==="reasoning")return acceptedFrame(asString(json.stream_id),lastEventId,serverRequestId);if(type==="heartbeat"||json.heartbeat===true)return heartbeatFrame(lastEventId,serverRequestId);if(type==="text.delta"||"delta"in json||"token"in json){let delta=asString(json.delta)??asString(json.token)??"";return deltaFrame(delta,lastEventId,serverRequestId)}return event==="analysis_started"?analysisStartedFrame(asString(json.request_id),lastEventId,serverRequestId):event==="analysis_complete"?analysisCompleteFrame({resultId:asString(json.result_id),analysisType:asString(json.analysis_type),modelVersion:asString(json.model_version),confidence:asNumber(json.confidence),detections:asMapList(json.detections),interpretation:asString(json.interpretation),lastEventId:lastEventId},serverRequestId):unknownFrame(json,lastEventId,serverRequestId)}function asString(v){return typeof v=="string"?v:null}function asNumber(v){return typeof v=="number"&&Number.isFinite(v)?v:null}function asUrgency(v){return typeof v=="string"&&URGENCY_LEVELS.includes(v)?v:null}function urgencySlotProvided(json){if(!Object.prototype.hasOwnProperty.call(json,"urgency_level"))return false;let raw=json.urgency_level;return raw===null||asUrgency(raw)!==null}function asStringList(v){return Array.isArray(v)?v.map(e=>typeof e=="string"?e:String(e)):[]}function isPlainObject(v){return typeof v=="object"&&v!==null&&!Array.isArray(v)}function asMapList(v){return Array.isArray(v)?v.filter(isPlainObject):[]}var ABSOLUTE_URL=/^([A-Za-z][A-Za-z0-9+.-]*):\/\/([^/?#]*)/;var SDK_VERSION="0.18.2",SDK_PLATFORM="react-native",DEFAULT_CONTRACT_VERSION="2026-09-19",ENV_API_BASE_URL="EVERFUR_API_BASE_URL";function configFailure(reason,message){/* @__PURE__ */
|
|
107
107
|
return Object.freeze({ok:false,failure:/* @__PURE__ */Object.freeze({reason:reason,message:message})})}function checkPublishableKey(raw){let publishableKey=typeof raw=="string"?raw.trim():"";return publishableKey.length===0?{reason:"missing-publishable-key",message:"publishableKey is required"}:/^sk[_-]/i.test(publishableKey)?{reason:"secret-key-as-publishable-key",message:"publishableKey looks like a SECRET key (sk_...). A device must never hold a partner secret key: use the pk_ publishable key here, and keep the secret key on your server."}:null}function tryResolveClientConfig(config,options){let keyFailure=checkPublishableKey(config?.publishableKey);if(keyFailure!==null)/* @__PURE__ */
|
|
108
108
|
return Object.freeze({ok:false,failure:keyFailure});let publishableKey=config.publishableKey.trim(),baseUrl=tryResolveApiBaseUrl(config.apiBaseUrl);if(!baseUrl.ok)return baseUrl;let contractVersion=config.contractVersion?.trim()||DEFAULT_CONTRACT_VERSION;/* @__PURE__ */
|
|
109
109
|
return Object.freeze({ok:true,config:/* @__PURE__ */Object.freeze({publishableKey:publishableKey,apiBaseUrl:baseUrl.value,contractVersion:contractVersion,sdkVersion:SDK_VERSION,platform:options?.platform??SDK_PLATFORM,debug:config.debug===true})})}function tryResolveApiBaseUrl(apiBaseUrl){let explicit=apiBaseUrl?.trim(),candidate=explicit&&explicit.length>0?explicit:readEnv(ENV_API_BASE_URL);return candidate?normalizeBaseUrl(candidate):configFailure("missing-api-base-url",`apiBaseUrl is required: pass config.apiBaseUrl or set ${ENV_API_BASE_URL}. The SDK never ships a hardcoded host.`)}function buildBaseHeaders(cfg){return{"X-Everfur-SDK-Version":cfg.sdkVersion,"X-Everfur-SDK-Platform":cfg.platform,"X-Everfur-Contract":cfg.contractVersion}}function hostOf(authority){return authority.slice(authority.lastIndexOf("@")+1).replace(/:\d+$/,"").toLowerCase()}function isPrintableHost(host2){return host2.length===0||host2.includes("@")?false:host2.startsWith("[")&&host2.endsWith("]")?true:!host2.includes(":")}function canEchoOrigin(rawTrimmed,host2){let schemeEnd=rawTrimmed.indexOf("://");return schemeEnd<0||rawTrimmed.slice(schemeEnd+3).includes("@")?false:isPrintableHost(host2)}function safeOrigin(scheme,host2){return`${scheme}://${host2}`}function normalizeBaseUrl(raw){let trimmed=raw.trim(),match=ABSOLUTE_URL.exec(trimmed);if(match===null||match[2]===void 0||match[2].length===0)return configFailure("malformed-api-base-url","apiBaseUrl is not a valid absolute URL");let scheme=(match[1]??"").toLowerCase(),host2=hostOf(match[2]);if(host2.length===0)return configFailure("malformed-api-base-url","apiBaseUrl is not a valid absolute URL");let shown=canEchoOrigin(trimmed,host2)?`: ${safeOrigin(scheme,host2)}`:"";if(scheme!=="https"){if(!(scheme==="http"&&isLoopbackHost(host2)))return scheme==="http"?configFailure("insecure-api-base-url",`apiBaseUrl must use https (cleartext http is only allowed for localhost)${shown}`):configFailure("unsupported-api-base-url-scheme",`apiBaseUrl must be http(s)${shown}`)}let value=trimmed.endsWith("/")?trimmed.slice(0,-1):trimmed;/* @__PURE__ */
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
/*! @everfur/sdk. Copyright (c) 2026 Strand Health Inc. dba Everfur. All rights reserved. Use is subject to the Everfur SDK License: https://docs.everfur.com/license */
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { H as HealthPlanPage } from '../../focus.d-
|
|
3
|
+
import { H as HealthPlanPage } from '../../focus.d-DdBbwzjP.cjs';
|
|
4
4
|
import { P as PetRef } from '../../ids.d-B2GAAifq.cjs';
|
|
5
5
|
import { C as CaptureRecordsSignature } from '../../clinicRequestProps.d-1dCtouGA.cjs';
|
|
6
|
-
import { E as EverfurIntroCopy, a as EverfurIntroBlank, b as EverfurRecordsRequested, I as IntroText } from '../../introEvents.d-
|
|
7
|
-
export { c as EVERFUR_INTRO_COPY, d as EverfurRecordsLanded, e as IntroFacts, f as IntroPetWords, g as IntroTextInput, h as defaultIntroBlanks, i as introFacts, j as introPetWords, k as introText, n as numberWord } from '../../introEvents.d-
|
|
6
|
+
import { E as EverfurIntroCopy, a as EverfurIntroBlank, b as EverfurRecordsRequested, I as IntroText } from '../../introEvents.d-Bqw2Hcpt.cjs';
|
|
7
|
+
export { c as EVERFUR_INTRO_COPY, d as EverfurRecordsLanded, e as IntroFacts, f as IntroPetWords, g as IntroTextInput, h as defaultIntroBlanks, i as introFacts, j as introPetWords, k as introText, n as numberWord } from '../../introEvents.d-Bqw2Hcpt.cjs';
|
|
8
8
|
import { E as EverfurIntroMode, a as EverfurIntroFrame, b as EverfurIntroClose, c as EverfurIntroTabLabels } from '../../useIntroSeen.d-CTWFUthO.cjs';
|
|
9
9
|
export { d as EverfurIntroExit, e as EverfurIntroSeen, i as isIntroSwipeOut, u as useEverfurIntroSeen } from '../../useIntroSeen.d-CTWFUthO.cjs';
|
|
10
10
|
export { E as EVERFUR_RECORDS_LANDED_EVENT, a as EVERFUR_RECORDS_REQUESTED_EVENT } from '../../introEvents.d-dS3fJCH1.cjs';
|
|
11
11
|
import '../../EverfurError.d-8NHtlgzA.cjs';
|
|
12
12
|
import '../../EverfurResult.d-BFH-3s6E.cjs';
|
|
13
|
-
import '../../requestFunnel.d-
|
|
13
|
+
import '../../requestFunnel.d-DocT7FXR.cjs';
|
|
14
14
|
import '../../ErrorPolicyPort.d-DirW9hgO.cjs';
|
|
15
|
-
import '../../config.d-
|
|
16
|
-
import '../../identity.d-
|
|
15
|
+
import '../../config.d-BFTqU7ft.cjs';
|
|
16
|
+
import '../../identity.d-BmbAwQYx.cjs';
|
|
17
17
|
import '../../clinicModels.d-BXgKZqDb.cjs';
|
|
18
18
|
import '../../models.d-BSqvbTE1.cjs';
|
|
19
19
|
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
/*! @everfur/sdk. Copyright (c) 2026 Strand Health Inc. dba Everfur. All rights reserved. Use is subject to the Everfur SDK License: https://docs.everfur.com/license */
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { H as HealthPlanPage } from '../../focus.d-
|
|
3
|
+
import { H as HealthPlanPage } from '../../focus.d-DOlAaNIU.js';
|
|
4
4
|
import { P as PetRef } from '../../ids.d-B2GAAifq.js';
|
|
5
5
|
import { C as CaptureRecordsSignature } from '../../clinicRequestProps.d-CjsMg_OD.js';
|
|
6
|
-
import { E as EverfurIntroCopy, a as EverfurIntroBlank, b as EverfurRecordsRequested, I as IntroText } from '../../introEvents.d-
|
|
7
|
-
export { c as EVERFUR_INTRO_COPY, d as EverfurRecordsLanded, e as IntroFacts, f as IntroPetWords, g as IntroTextInput, h as defaultIntroBlanks, i as introFacts, j as introPetWords, k as introText, n as numberWord } from '../../introEvents.d-
|
|
6
|
+
import { E as EverfurIntroCopy, a as EverfurIntroBlank, b as EverfurRecordsRequested, I as IntroText } from '../../introEvents.d-Cy8yxOoe.js';
|
|
7
|
+
export { c as EVERFUR_INTRO_COPY, d as EverfurRecordsLanded, e as IntroFacts, f as IntroPetWords, g as IntroTextInput, h as defaultIntroBlanks, i as introFacts, j as introPetWords, k as introText, n as numberWord } from '../../introEvents.d-Cy8yxOoe.js';
|
|
8
8
|
import { E as EverfurIntroMode, a as EverfurIntroFrame, b as EverfurIntroClose, c as EverfurIntroTabLabels } from '../../useIntroSeen.d-CTWFUthO.js';
|
|
9
9
|
export { d as EverfurIntroExit, e as EverfurIntroSeen, i as isIntroSwipeOut, u as useEverfurIntroSeen } from '../../useIntroSeen.d-CTWFUthO.js';
|
|
10
10
|
export { E as EVERFUR_RECORDS_LANDED_EVENT, a as EVERFUR_RECORDS_REQUESTED_EVENT } from '../../introEvents.d-dS3fJCH1.js';
|
|
11
11
|
import '../../EverfurError.d-8NHtlgzA.js';
|
|
12
12
|
import '../../EverfurResult.d-D_-254ZY.js';
|
|
13
|
-
import '../../requestFunnel.d-
|
|
13
|
+
import '../../requestFunnel.d-BPWf5SQf.js';
|
|
14
14
|
import '../../ErrorPolicyPort.d-68yrE3BE.js';
|
|
15
|
-
import '../../config.d-
|
|
16
|
-
import '../../identity.d-
|
|
15
|
+
import '../../config.d-D_k_rNZZ.js';
|
|
16
|
+
import '../../identity.d-BZXPu9Hi.js';
|
|
17
17
|
import '../../clinicModels.d-CaS64-P-.js';
|
|
18
18
|
import '../../models.d-DOwnr8fi.js';
|
|
19
19
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*! @everfur/sdk. Copyright (c) 2026 Strand Health Inc. dba Everfur. All rights reserved. Use is subject to the Everfur SDK License: https://docs.everfur.com/license */
|
|
2
2
|
import { ReactNode, CSSProperties } from 'react';
|
|
3
|
-
export { D as DevicePlatform, b as EVERFUR_NOTIFICATION_EVENT_TYPES, c as EVERFUR_NOTIFICATION_TARGET_KINDS, d as EVERFUR_NOTIFICATION_VERSION, e as EverfurNotification, f as EverfurNotificationEventType, g as EverfurNotificationTarget, h as EverfurNotificationTargetKind, E as EverfurNotificationsOptions, a as EverfurNotificationsState, i as EverfurNotificationsStatus, N as NOTIFICATIONS_REASON_MESSAGES, j as NotificationPreferences, k as NotificationPreferencesInput, l as NotificationsClient, m as NotificationsReasonCode, n as NotificationsRuntime, P as PushProvider, R as RegisterDeviceInput, o as RegisteredDevice, p as createNotificationsClient, q as explainNotificationsReason, r as parseEverfurNotification, s as useEverfurNotifications, u as useEverfurNotificationsClient } from '../../parse.d-
|
|
3
|
+
export { D as DevicePlatform, b as EVERFUR_NOTIFICATION_EVENT_TYPES, c as EVERFUR_NOTIFICATION_TARGET_KINDS, d as EVERFUR_NOTIFICATION_VERSION, e as EverfurNotification, f as EverfurNotificationEventType, g as EverfurNotificationTarget, h as EverfurNotificationTargetKind, E as EverfurNotificationsOptions, a as EverfurNotificationsState, i as EverfurNotificationsStatus, N as NOTIFICATIONS_REASON_MESSAGES, j as NotificationPreferences, k as NotificationPreferencesInput, l as NotificationsClient, m as NotificationsReasonCode, n as NotificationsRuntime, P as PushProvider, R as RegisterDeviceInput, o as RegisteredDevice, p as createNotificationsClient, q as explainNotificationsReason, r as parseEverfurNotification, s as useEverfurNotifications, u as useEverfurNotificationsClient } from '../../parse.d-C9_UMXfA.cjs';
|
|
4
4
|
export { V as VetVisitIntent } from '../../visitIntent.d-D7_yVp1I.cjs';
|
|
5
|
-
export { A as AuthContext, I as IdentityProvider, M as MintedToken, T as TokenProvider } from '../../identity.d-
|
|
6
|
-
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.d-
|
|
5
|
+
export { A as AuthContext, I as IdentityProvider, M as MintedToken, T as TokenProvider } from '../../identity.d-BmbAwQYx.cjs';
|
|
6
|
+
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.d-BFTqU7ft.cjs';
|
|
7
7
|
export { B as Brand, C as ConversationId, P as PetRef, R as RecordsRequestId, U as UserRef, _ as __brand } from '../../ids.d-B2GAAifq.cjs';
|
|
8
8
|
export { E as EverfurError, a as EverfurErrorCategory, b as EverfurErrorCode } from '../../EverfurError.d-8NHtlgzA.cjs';
|
|
9
9
|
export { E as EverfurResult } from '../../EverfurResult.d-BFH-3s6E.cjs';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*! @everfur/sdk. Copyright (c) 2026 Strand Health Inc. dba Everfur. All rights reserved. Use is subject to the Everfur SDK License: https://docs.everfur.com/license */
|
|
2
2
|
import { ReactNode, CSSProperties } from 'react';
|
|
3
|
-
export { D as DevicePlatform, b as EVERFUR_NOTIFICATION_EVENT_TYPES, c as EVERFUR_NOTIFICATION_TARGET_KINDS, d as EVERFUR_NOTIFICATION_VERSION, e as EverfurNotification, f as EverfurNotificationEventType, g as EverfurNotificationTarget, h as EverfurNotificationTargetKind, E as EverfurNotificationsOptions, a as EverfurNotificationsState, i as EverfurNotificationsStatus, N as NOTIFICATIONS_REASON_MESSAGES, j as NotificationPreferences, k as NotificationPreferencesInput, l as NotificationsClient, m as NotificationsReasonCode, n as NotificationsRuntime, P as PushProvider, R as RegisterDeviceInput, o as RegisteredDevice, p as createNotificationsClient, q as explainNotificationsReason, r as parseEverfurNotification, s as useEverfurNotifications, u as useEverfurNotificationsClient } from '../../parse.d-
|
|
3
|
+
export { D as DevicePlatform, b as EVERFUR_NOTIFICATION_EVENT_TYPES, c as EVERFUR_NOTIFICATION_TARGET_KINDS, d as EVERFUR_NOTIFICATION_VERSION, e as EverfurNotification, f as EverfurNotificationEventType, g as EverfurNotificationTarget, h as EverfurNotificationTargetKind, E as EverfurNotificationsOptions, a as EverfurNotificationsState, i as EverfurNotificationsStatus, N as NOTIFICATIONS_REASON_MESSAGES, j as NotificationPreferences, k as NotificationPreferencesInput, l as NotificationsClient, m as NotificationsReasonCode, n as NotificationsRuntime, P as PushProvider, R as RegisterDeviceInput, o as RegisteredDevice, p as createNotificationsClient, q as explainNotificationsReason, r as parseEverfurNotification, s as useEverfurNotifications, u as useEverfurNotificationsClient } from '../../parse.d-MQST1RP3.js';
|
|
4
4
|
export { V as VetVisitIntent } from '../../visitIntent.d-D7_yVp1I.js';
|
|
5
|
-
export { A as AuthContext, I as IdentityProvider, M as MintedToken, T as TokenProvider } from '../../identity.d-
|
|
6
|
-
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.d-
|
|
5
|
+
export { A as AuthContext, I as IdentityProvider, M as MintedToken, T as TokenProvider } from '../../identity.d-BZXPu9Hi.js';
|
|
6
|
+
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.d-D_k_rNZZ.js';
|
|
7
7
|
export { B as Brand, C as ConversationId, P as PetRef, R as RecordsRequestId, U as UserRef, _ as __brand } from '../../ids.d-B2GAAifq.js';
|
|
8
8
|
export { E as EverfurError, a as EverfurErrorCategory, b as EverfurErrorCode } from '../../EverfurError.d-8NHtlgzA.js';
|
|
9
9
|
export { E as EverfurResult } from '../../EverfurResult.d-D_-254ZY.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*! @everfur/sdk. Copyright (c) 2026 Strand Health Inc. dba Everfur. All rights reserved. Use is subject to the Everfur SDK License: https://docs.everfur.com/license */
|
|
2
|
-
export { E as EverfurDocumentContributions, a as EverfurDocumentContributionsProps, b as EverfurRecordDepth, c as EverfurRecordsDepthProps, d as EverfurRecordsTimeline } from '../../../DepthViews.d-
|
|
3
|
-
export { R as RecordsDepthStatus, U as UseRecordsDepthState, u as useEverfurRecordsDepthClient, a as useRecordsDepthRead } from '../../../useRecordsDepth.d-
|
|
4
|
-
export { T as TimelineRow, a as TimelineRowKind, b as buildTimelineRows } from '../../../timelineRows.d-
|
|
5
|
-
export { 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, i as RecordLabMarker, j as RecordLabPoint, k as RecordPhysicalExam, l as RecordsDepthClient, m as RecordsRequestDocument, n as RecordsTimelineMedication, o as RecordsTimelineVaccine, p as RecordsTimelineView, q as RecordsTimelineVisit, r as RecordsTimelineWeight, s as mapDocumentContributions, t as mapRecordDepth, u as mapRecordsTimeline } from '../../../depth.d-
|
|
6
|
-
export { C as ClinicDraft, a as ClinicLocation, R as RecordsHostSeams, b as RecordsScreen, c as RecordsScreenBaseProps, d as RecordsUrlKind } from '../../../screenProps.d-
|
|
2
|
+
export { E as EverfurDocumentContributions, a as EverfurDocumentContributionsProps, b as EverfurRecordDepth, c as EverfurRecordsDepthProps, d as EverfurRecordsTimeline } from '../../../DepthViews.d-C-zs_BnZ.cjs';
|
|
3
|
+
export { R as RecordsDepthStatus, U as UseRecordsDepthState, u as useEverfurRecordsDepthClient, a as useRecordsDepthRead } from '../../../useRecordsDepth.d-DZfdRdIU.cjs';
|
|
4
|
+
export { T as TimelineRow, a as TimelineRowKind, b as buildTimelineRows } from '../../../timelineRows.d-BEjiHpkP.cjs';
|
|
5
|
+
export { 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, i as RecordLabMarker, j as RecordLabPoint, k as RecordPhysicalExam, l as RecordsDepthClient, m as RecordsRequestDocument, n as RecordsTimelineMedication, o as RecordsTimelineVaccine, p as RecordsTimelineView, q as RecordsTimelineVisit, r as RecordsTimelineWeight, s as mapDocumentContributions, t as mapRecordDepth, u as mapRecordsTimeline } from '../../../depth.d-CsKZkLNi.cjs';
|
|
6
|
+
export { C as ClinicDraft, a as ClinicLocation, R as RecordsHostSeams, b as RecordsScreen, c as RecordsScreenBaseProps, d as RecordsUrlKind } from '../../../screenProps.d-Byla6nJL.cjs';
|
|
7
7
|
export { R as RecordsAskEntityRef, a as RecordsAskHandler } from '../../../recordsAsk.d-C5CGSi3j.cjs';
|
|
8
8
|
export { R as RecordsClinic } from '../../../clinicModels.d-BXgKZqDb.cjs';
|
|
9
9
|
export { B as Brand, P as PetRef, R as RecordsRequestId, _ as __brand } from '../../../ids.d-B2GAAifq.cjs';
|
|
@@ -13,8 +13,8 @@ export { E as EverfurResult } from '../../../EverfurResult.d-BFH-3s6E.cjs';
|
|
|
13
13
|
export { R as RecordDocumentMeta, a as RecordEntity, b as RecordOrigin } from '../../../models.d-BSqvbTE1.cjs';
|
|
14
14
|
import 'react';
|
|
15
15
|
import '../../../ErrorPolicyPort.d-DirW9hgO.cjs';
|
|
16
|
-
import '../../../requestFunnel.d-
|
|
17
|
-
import '../../../config.d-
|
|
18
|
-
import '../../../identity.d-
|
|
19
|
-
import '../../../clinicBatch.d-
|
|
16
|
+
import '../../../requestFunnel.d-DocT7FXR.cjs';
|
|
17
|
+
import '../../../config.d-BFTqU7ft.cjs';
|
|
18
|
+
import '../../../identity.d-BmbAwQYx.cjs';
|
|
19
|
+
import '../../../clinicBatch.d-BN1jfVGo.cjs';
|
|
20
20
|
import '../../../clinicRequestProps.d-1dCtouGA.cjs';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*! @everfur/sdk. Copyright (c) 2026 Strand Health Inc. dba Everfur. All rights reserved. Use is subject to the Everfur SDK License: https://docs.everfur.com/license */
|
|
2
|
-
export { E as EverfurDocumentContributions, a as EverfurDocumentContributionsProps, b as EverfurRecordDepth, c as EverfurRecordsDepthProps, d as EverfurRecordsTimeline } from '../../../DepthViews.d-
|
|
3
|
-
export { R as RecordsDepthStatus, U as UseRecordsDepthState, u as useEverfurRecordsDepthClient, a as useRecordsDepthRead } from '../../../useRecordsDepth.d-
|
|
4
|
-
export { T as TimelineRow, a as TimelineRowKind, b as buildTimelineRows } from '../../../timelineRows.d-
|
|
5
|
-
export { 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, i as RecordLabMarker, j as RecordLabPoint, k as RecordPhysicalExam, l as RecordsDepthClient, m as RecordsRequestDocument, n as RecordsTimelineMedication, o as RecordsTimelineVaccine, p as RecordsTimelineView, q as RecordsTimelineVisit, r as RecordsTimelineWeight, s as mapDocumentContributions, t as mapRecordDepth, u as mapRecordsTimeline } from '../../../depth.d-
|
|
6
|
-
export { C as ClinicDraft, a as ClinicLocation, R as RecordsHostSeams, b as RecordsScreen, c as RecordsScreenBaseProps, d as RecordsUrlKind } from '../../../screenProps.d-
|
|
2
|
+
export { E as EverfurDocumentContributions, a as EverfurDocumentContributionsProps, b as EverfurRecordDepth, c as EverfurRecordsDepthProps, d as EverfurRecordsTimeline } from '../../../DepthViews.d-C0DVqywN.js';
|
|
3
|
+
export { R as RecordsDepthStatus, U as UseRecordsDepthState, u as useEverfurRecordsDepthClient, a as useRecordsDepthRead } from '../../../useRecordsDepth.d-CAYnVYl1.js';
|
|
4
|
+
export { T as TimelineRow, a as TimelineRowKind, b as buildTimelineRows } from '../../../timelineRows.d-BST14weg.js';
|
|
5
|
+
export { 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, i as RecordLabMarker, j as RecordLabPoint, k as RecordPhysicalExam, l as RecordsDepthClient, m as RecordsRequestDocument, n as RecordsTimelineMedication, o as RecordsTimelineVaccine, p as RecordsTimelineView, q as RecordsTimelineVisit, r as RecordsTimelineWeight, s as mapDocumentContributions, t as mapRecordDepth, u as mapRecordsTimeline } from '../../../depth.d-DlaIV8TV.js';
|
|
6
|
+
export { C as ClinicDraft, a as ClinicLocation, R as RecordsHostSeams, b as RecordsScreen, c as RecordsScreenBaseProps, d as RecordsUrlKind } from '../../../screenProps.d-DNTTp7hU.js';
|
|
7
7
|
export { R as RecordsAskEntityRef, a as RecordsAskHandler } from '../../../recordsAsk.d-C5CGSi3j.js';
|
|
8
8
|
export { R as RecordsClinic } from '../../../clinicModels.d-CaS64-P-.js';
|
|
9
9
|
export { B as Brand, P as PetRef, R as RecordsRequestId, _ as __brand } from '../../../ids.d-B2GAAifq.js';
|
|
@@ -13,8 +13,8 @@ export { E as EverfurResult } from '../../../EverfurResult.d-D_-254ZY.js';
|
|
|
13
13
|
export { R as RecordDocumentMeta, a as RecordEntity, b as RecordOrigin } from '../../../models.d-DOwnr8fi.js';
|
|
14
14
|
import 'react';
|
|
15
15
|
import '../../../ErrorPolicyPort.d-68yrE3BE.js';
|
|
16
|
-
import '../../../requestFunnel.d-
|
|
17
|
-
import '../../../config.d-
|
|
18
|
-
import '../../../identity.d-
|
|
19
|
-
import '../../../clinicBatch.d-
|
|
16
|
+
import '../../../requestFunnel.d-BPWf5SQf.js';
|
|
17
|
+
import '../../../config.d-D_k_rNZZ.js';
|
|
18
|
+
import '../../../identity.d-BZXPu9Hi.js';
|
|
19
|
+
import '../../../clinicBatch.d-BhaCdstU.js';
|
|
20
20
|
import '../../../clinicRequestProps.d-CjsMg_OD.js';
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
/*! @everfur/sdk. Copyright (c) 2026 Strand Health Inc. dba Everfur. All rights reserved. Use is subject to the Everfur SDK License: https://docs.everfur.com/license */
|
|
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
|
-
export { a as EverfurRecordsPage, E as EverfurRecordsPageProps } from '../../RecordsPage.d-
|
|
4
|
+
export { a as EverfurRecordsPage, E as EverfurRecordsPageProps } from '../../RecordsPage.d-5rHMTDyY.cjs';
|
|
5
5
|
export { E as EverfurRecordsSheet, a as EverfurRecordsSheetLabRenderArgs, b as EverfurRecordsSheetRenderArgs } from '../../sheetSeam.d-BBuEIVsa.cjs';
|
|
6
6
|
import { CSSProperties, ReactNode, PointerEvent } from 'react';
|
|
7
7
|
import { P as PetRef, R as RecordsRequestId } from '../../ids.d-B2GAAifq.cjs';
|
|
8
8
|
export { B as Brand, D as DocumentId, _ as __brand } from '../../ids.d-B2GAAifq.cjs';
|
|
9
9
|
import { R as RecordsClinicController, C as CaptureRecordsSignature, a as ClinicRequestBaseProps, b as CapturedRecordsSignature } from '../../clinicRequestProps.d-1dCtouGA.cjs';
|
|
10
10
|
export { c as RecordsSignatureContext } from '../../clinicRequestProps.d-1dCtouGA.cjs';
|
|
11
|
-
import { R as RecordsHostSeams, b as RecordsScreen, c as RecordsScreenBaseProps, C as ClinicDraft, e as ClinicBatchBaseProps } from '../../screenProps.d-
|
|
12
|
-
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-
|
|
11
|
+
import { R as RecordsHostSeams, b as RecordsScreen, c as RecordsScreenBaseProps, C as ClinicDraft, e as ClinicBatchBaseProps } from '../../screenProps.d-Byla6nJL.cjs';
|
|
12
|
+
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-Byla6nJL.cjs';
|
|
13
13
|
import { d as RecordsRequestView } from '../../models.d-BSqvbTE1.cjs';
|
|
14
14
|
export { g as ConsentState, C as CreateUploadRequestInput, G as GrantConsentInput, k as RECORDS_TERMINAL, R as RecordDocumentMeta, a as RecordEntity, c as RecordForwardItem, 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';
|
|
15
15
|
import { E as EverfurError } from '../../EverfurError.d-8NHtlgzA.cjs';
|
|
16
16
|
export { a as EverfurErrorCategory, b as EverfurErrorCode } from '../../EverfurError.d-8NHtlgzA.cjs';
|
|
17
|
-
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-
|
|
17
|
+
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-CsKZkLNi.cjs';
|
|
18
18
|
export { b as RecordsAsk, R as RecordsAskEntityRef, a as RecordsAskHandler } from '../../recordsAsk.d-C5CGSi3j.cjs';
|
|
19
|
-
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-
|
|
20
|
-
export { R as RecordsDepthStatus } from '../../useRecordsDepth.d-
|
|
19
|
+
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-eM315KIZ.cjs';
|
|
20
|
+
export { R as RecordsDepthStatus } from '../../useRecordsDepth.d-DZfdRdIU.cjs';
|
|
21
21
|
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';
|
|
22
|
-
export { a as EverfurDocumentContributionsProps, c as EverfurRecordsDepthProps } from '../../DepthViews.d-
|
|
23
|
-
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-
|
|
22
|
+
export { a as EverfurDocumentContributionsProps, c as EverfurRecordsDepthProps } from '../../DepthViews.d-C-zs_BnZ.cjs';
|
|
23
|
+
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-BN1jfVGo.cjs';
|
|
24
24
|
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';
|
|
25
25
|
export { WebRecordsUploadTransportOptions, createWebRecordsUploadTransport } from './upload/index.cjs';
|
|
26
26
|
import { F as FileHandle } from '../../ports.d-BX4f4UsB.cjs';
|
|
27
27
|
export { a as UploadPolicyWire, U as UploadTransport } from '../../ports.d-BX4f4UsB.cjs';
|
|
28
28
|
export { E as EverfurResult } from '../../EverfurResult.d-BFH-3s6E.cjs';
|
|
29
29
|
import '../../ErrorPolicyPort.d-DirW9hgO.cjs';
|
|
30
|
-
import '../../requestFunnel.d-
|
|
31
|
-
import '../../config.d-
|
|
32
|
-
import '../../identity.d-
|
|
30
|
+
import '../../requestFunnel.d-DocT7FXR.cjs';
|
|
31
|
+
import '../../config.d-BFTqU7ft.cjs';
|
|
32
|
+
import '../../identity.d-BmbAwQYx.cjs';
|
|
33
33
|
|
|
34
34
|
type RecordsHistoryMode = 'memory' | 'browser';
|
|
35
35
|
interface EverfurRecordsProps extends RecordsHostSeams {
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
/*! @everfur/sdk. Copyright (c) 2026 Strand Health Inc. dba Everfur. All rights reserved. Use is subject to the Everfur SDK License: https://docs.everfur.com/license */
|
|
2
2
|
import { R as RecordsController } from '../../useRecords.d-DWk61a4c.js';
|
|
3
3
|
export { a as RecordsStatus, b as UploadDocumentInput, c as UploadQueueItem, d as UploadSkipReason, U as UseEverfurRecordsState, u as useEverfurRecords } from '../../useRecords.d-DWk61a4c.js';
|
|
4
|
-
export { a as EverfurRecordsPage, E as EverfurRecordsPageProps } from '../../RecordsPage.d-
|
|
4
|
+
export { a as EverfurRecordsPage, E as EverfurRecordsPageProps } from '../../RecordsPage.d-BG_RDR1V.js';
|
|
5
5
|
export { E as EverfurRecordsSheet, a as EverfurRecordsSheetLabRenderArgs, b as EverfurRecordsSheetRenderArgs } from '../../sheetSeam.d-B09jf4YC.js';
|
|
6
6
|
import { CSSProperties, ReactNode, PointerEvent } from 'react';
|
|
7
7
|
import { P as PetRef, R as RecordsRequestId } from '../../ids.d-B2GAAifq.js';
|
|
8
8
|
export { B as Brand, D as DocumentId, _ as __brand } from '../../ids.d-B2GAAifq.js';
|
|
9
9
|
import { R as RecordsClinicController, C as CaptureRecordsSignature, a as ClinicRequestBaseProps, b as CapturedRecordsSignature } from '../../clinicRequestProps.d-CjsMg_OD.js';
|
|
10
10
|
export { c as RecordsSignatureContext } from '../../clinicRequestProps.d-CjsMg_OD.js';
|
|
11
|
-
import { R as RecordsHostSeams, b as RecordsScreen, c as RecordsScreenBaseProps, C as ClinicDraft, e as ClinicBatchBaseProps } from '../../screenProps.d-
|
|
12
|
-
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-
|
|
11
|
+
import { R as RecordsHostSeams, b as RecordsScreen, c as RecordsScreenBaseProps, C as ClinicDraft, e as ClinicBatchBaseProps } from '../../screenProps.d-DNTTp7hU.js';
|
|
12
|
+
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-DNTTp7hU.js';
|
|
13
13
|
import { d as RecordsRequestView } from '../../models.d-DOwnr8fi.js';
|
|
14
14
|
export { g as ConsentState, C as CreateUploadRequestInput, G as GrantConsentInput, k as RECORDS_TERMINAL, R as RecordDocumentMeta, a as RecordEntity, c as RecordForwardItem, 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-DOwnr8fi.js';
|
|
15
15
|
import { E as EverfurError } from '../../EverfurError.d-8NHtlgzA.js';
|
|
16
16
|
export { a as EverfurErrorCategory, b as EverfurErrorCode } from '../../EverfurError.d-8NHtlgzA.js';
|
|
17
|
-
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-
|
|
17
|
+
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-DlaIV8TV.js';
|
|
18
18
|
export { b as RecordsAsk, R as RecordsAskEntityRef, a as RecordsAskHandler } from '../../recordsAsk.d-C5CGSi3j.js';
|
|
19
|
-
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-
|
|
20
|
-
export { R as RecordsDepthStatus } from '../../useRecordsDepth.d-
|
|
19
|
+
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-D8soknYh.js';
|
|
20
|
+
export { R as RecordsDepthStatus } from '../../useRecordsDepth.d-CAYnVYl1.js';
|
|
21
21
|
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-.js';
|
|
22
|
-
export { a as EverfurDocumentContributionsProps, c as EverfurRecordsDepthProps } from '../../DepthViews.d-
|
|
23
|
-
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-
|
|
22
|
+
export { a as EverfurDocumentContributionsProps, c as EverfurRecordsDepthProps } from '../../DepthViews.d-C0DVqywN.js';
|
|
23
|
+
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-BhaCdstU.js';
|
|
24
24
|
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-CaS64-P-.js';
|
|
25
25
|
export { WebRecordsUploadTransportOptions, createWebRecordsUploadTransport } from './upload/index.js';
|
|
26
26
|
import { F as FileHandle } from '../../ports.d-BX4f4UsB.js';
|
|
27
27
|
export { a as UploadPolicyWire, U as UploadTransport } from '../../ports.d-BX4f4UsB.js';
|
|
28
28
|
export { E as EverfurResult } from '../../EverfurResult.d-D_-254ZY.js';
|
|
29
29
|
import '../../ErrorPolicyPort.d-68yrE3BE.js';
|
|
30
|
-
import '../../requestFunnel.d-
|
|
31
|
-
import '../../config.d-
|
|
32
|
-
import '../../identity.d-
|
|
30
|
+
import '../../requestFunnel.d-BPWf5SQf.js';
|
|
31
|
+
import '../../config.d-D_k_rNZZ.js';
|
|
32
|
+
import '../../identity.d-BZXPu9Hi.js';
|
|
33
33
|
|
|
34
34
|
type RecordsHistoryMode = 'memory' | 'browser';
|
|
35
35
|
interface EverfurRecordsProps extends RecordsHostSeams {
|