@everfur/sdk 0.6.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +213 -0
- package/dist/{BookedScreen-BJPbXLCG.d.ts → BookedScreen-DFJcgf1e.d.ts} +12 -2
- package/dist/{BookedScreen-Cnld-jB_.d.cts → BookedScreen-R5X_Zrlh.d.cts} +12 -2
- package/dist/{Chat-CHqcgMyw.d.ts → Chat-DZpYH8Uh.d.ts} +4 -4
- package/dist/{Chat-BoAvCWhI.d.cts → Chat-bATY4atj.d.cts} +4 -4
- package/dist/{DepthViews-7Y8Ur058.d.ts → DepthViews-BpHUbjSY.d.cts} +1 -1
- package/dist/{DepthViews-B0g83e_N.d.cts → DepthViews-C4DC4Kom.d.cts} +1 -1
- package/dist/{DepthViews-Dg2bIon_.d.ts → DepthViews-dLTizxjr.d.ts} +1 -1
- package/dist/{DepthViews-CT5mQld9.d.cts → DepthViews-qBIoA48w.d.ts} +1 -1
- package/dist/animations/index.cjs +1 -1
- package/dist/animations/index.d.cts +3 -3
- package/dist/animations/index.d.ts +3 -3
- package/dist/animations/index.js +1 -1
- package/dist/{attachments-CfxsVg7W.d.ts → attachments-CPRFfoHT.d.ts} +2 -2
- package/dist/{attachments-rkox0ewd.d.cts → attachments-CUOGILir.d.cts} +5 -5
- package/dist/{attachments-CThFsH4b.d.ts → attachments-CXAnZcEg.d.ts} +5 -5
- package/dist/{attachments-C3HJNYQ7.d.cts → attachments-Ce06TWqe.d.cts} +2 -2
- package/dist/{bookingCopy-Do3zMeXb.d.cts → bookingCopy-BwVopcoV.d.cts} +451 -50
- package/dist/{bookingCopy-Y3OGdoMT.d.ts → bookingCopy-DFTv9w6J.d.ts} +451 -50
- package/dist/{bookingTypes-DCs8mmBb.d.cts → bookingTypes-D4pD3tHs.d.cts} +13 -1
- package/dist/{bookingTypes-DCs8mmBb.d.ts → bookingTypes-D4pD3tHs.d.ts} +13 -1
- package/dist/{branding-DYWma2il.d.ts → branding-Bio5MM6g.d.cts} +3 -3
- package/dist/{branding-ChXm8gxI.d.cts → branding-ytH4jJq1.d.ts} +3 -3
- package/dist/{callCopy-CPe9mbwG.d.cts → callCopy-DHjem0R-.d.cts} +12 -1
- package/dist/{callCopy-CPe9mbwG.d.ts → callCopy-DHjem0R-.d.ts} +12 -1
- package/dist/{casesRepository-Jj6t60AY.d.cts → casesRepository-CJchNp3x.d.cts} +1 -1
- package/dist/{casesRepository-BbgXYPxa.d.ts → casesRepository-DAVcY3jC.d.ts} +1 -1
- package/dist/chat/index.cjs +1 -1
- package/dist/chat/index.d.cts +9 -9
- package/dist/chat/index.d.ts +9 -9
- package/dist/chat/index.js +1 -1
- package/dist/client/index.cjs +2 -2
- package/dist/client/index.d.cts +10 -10
- package/dist/client/index.d.ts +10 -10
- package/dist/client/index.js +2 -2
- package/dist/{config-Dfbj5mlx.d.ts → config-ZxwCylac.d.ts} +1 -1
- package/dist/{config-BZX97FmW.d.cts → config-h5h6TsHL.d.cts} +1 -1
- package/dist/consent/index.cjs +1 -1
- package/dist/consent/index.d.cts +5 -5
- package/dist/consent/index.d.ts +5 -5
- package/dist/consent/index.js +1 -1
- package/dist/{context-DJXnZ1Mx.d.cts → context-CtsAgJnc.d.cts} +7 -7
- package/dist/{context-Cbe0zYym.d.ts → context-DtPIshVA.d.ts} +7 -7
- package/dist/{copy-dKK5KoAQ.d.cts → copy-CaWaplQc.d.cts} +2 -2
- package/dist/{copy-DHekqSKE.d.ts → copy-Cg89Qoal.d.ts} +2 -2
- package/dist/core/index.cjs +7 -7
- package/dist/core/index.d.cts +21 -21
- package/dist/core/index.d.ts +21 -21
- package/dist/core/index.js +7 -7
- package/dist/{depth-CrpRjWGB.d.ts → depth-Bo4bAwcn.d.ts} +132 -38
- package/dist/{depth-NmWSbvfi.d.cts → depth-EXZYEO70.d.cts} +132 -38
- package/dist/{entitlementRepository-iL-9vS1i.d.cts → entitlementRepository-BYtVb1oU.d.cts} +3 -3
- package/dist/{entitlementRepository-tVNazi8R.d.ts → entitlementRepository-DcbIx8yV.d.ts} +3 -3
- package/dist/{identity-B8rp0L9G.d.ts → identity-EC5-apbY.d.ts} +1 -1
- package/dist/{identity-D7PO5s9m.d.cts → identity-b5Vp32Vp.d.cts} +1 -1
- package/dist/index.cjs +6 -6
- package/dist/index.d.cts +17 -17
- package/dist/index.d.ts +17 -17
- package/dist/index.js +6 -6
- package/dist/notifications/index.d.cts +2 -2
- package/dist/notifications/index.d.ts +2 -2
- package/dist/{pets-BQbXmICf.d.ts → pets-B_27_agU.d.ts} +1 -1
- package/dist/{pets-BWx9BKea.d.cts → pets-DM8QvKLo.d.cts} +1 -1
- package/dist/{petsRepository-SqIvEMiT.d.cts → petsRepository-BJsJ4cju.d.cts} +1 -1
- package/dist/{petsRepository-0oBVydl6.d.ts → petsRepository-CuYZZaI5.d.ts} +1 -1
- package/dist/photo/index.cjs +1 -1
- package/dist/photo/index.js +1 -1
- package/dist/{ports-ChnzSy4E.d.cts → ports-ZmJYgd5I.d.cts} +10 -9
- package/dist/{ports-iXPWd7Vt.d.ts → ports-nXHf50_X.d.ts} +10 -9
- package/dist/records/depth/index.cjs +2 -2
- package/dist/records/depth/index.d.cts +7 -7
- package/dist/records/depth/index.d.ts +7 -7
- package/dist/records/depth/index.js +2 -2
- package/dist/records/index.cjs +3 -3
- package/dist/records/index.d.cts +19 -10
- package/dist/records/index.d.ts +19 -10
- package/dist/records/index.js +3 -3
- package/dist/{requestFunnel-DAwb7haa.d.cts → requestFunnel-C_cZXhIA.d.cts} +2 -2
- package/dist/{requestFunnel-CQzz2DIW.d.ts → requestFunnel-Ve9BshTB.d.ts} +2 -2
- package/dist/{runtimeTypes-BNOxfmfg.d.ts → runtimeTypes-ByKsp8hm.d.ts} +5 -5
- package/dist/{runtimeTypes-DB9-kigO.d.cts → runtimeTypes-D155OlBW.d.cts} +5 -5
- 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/televet/booking/index.cjs +4 -1
- package/dist/televet/booking/index.d.cts +116 -29
- package/dist/televet/booking/index.d.ts +116 -29
- package/dist/televet/booking/index.js +4 -1
- package/dist/televet/call/index.cjs +1 -1
- package/dist/televet/call/index.d.cts +1 -1
- package/dist/televet/call/index.d.ts +1 -1
- package/dist/televet/call/index.js +1 -1
- package/dist/televet/index.cjs +1 -1
- package/dist/televet/index.js +1 -1
- package/dist/testing/index.cjs +3 -3
- package/dist/testing/index.d.cts +1 -1
- package/dist/testing/index.d.ts +1 -1
- package/dist/testing/index.js +3 -3
- package/dist/testing/rn/index.cjs +1 -1
- package/dist/testing/rn/index.d.cts +14 -12
- package/dist/testing/rn/index.d.ts +14 -12
- package/dist/testing/rn/index.js +1 -1
- package/dist/testing/web/index.d.cts +9 -9
- package/dist/testing/web/index.d.ts +9 -9
- package/dist/{timelineRows-BuNhzDbH.d.cts → timelineRows-BNF43SXK.d.cts} +1 -1
- package/dist/{timelineRows-Dll2IGFg.d.ts → timelineRows-DXpjECfA.d.ts} +1 -1
- package/dist/{tokens-ARWZtMOU.d.cts → tokens-BYtbKwFh.d.cts} +6 -3
- package/dist/{tokens-ARWZtMOU.d.ts → tokens-BYtbKwFh.d.ts} +6 -3
- package/dist/{typeStyle-YCS8dt19.d.cts → typeStyle-BqfwxZH4.d.cts} +2 -2
- package/dist/{typeStyle-8iEqQmP_.d.ts → typeStyle-DKz02DGU.d.ts} +2 -2
- package/dist/{uploadTransport-C1p8FuG8.d.cts → uploadTransport-BM_pnEWj.d.cts} +5 -0
- package/dist/{uploadTransport-bZIKBTyK.d.ts → uploadTransport-C6kGP1Kd.d.ts} +5 -0
- package/dist/{useRecordsDepth-CNEHZJtj.d.cts → useRecordsDepth-CARTuHKh.d.cts} +1 -1
- package/dist/{useRecordsDepth-CuNdne6E.d.ts → useRecordsDepth-fPSv-GXU.d.ts} +1 -1
- package/dist/video/index.cjs +1 -1
- package/dist/video/index.js +1 -1
- package/dist/{view-BhqWlYrZ.d.cts → view-DGPaVno8.d.cts} +47 -5
- package/dist/{view-DFy8EDwf.d.ts → view-Dc-JlFkf.d.ts} +47 -5
- package/dist/web/consent/index.cjs +1 -1
- package/dist/web/consent/index.d.cts +5 -5
- package/dist/web/consent/index.d.ts +5 -5
- package/dist/web/consent/index.js +1 -1
- package/dist/web/index.cjs +7 -7
- package/dist/web/index.d.cts +23 -22
- package/dist/web/index.d.ts +23 -22
- package/dist/web/index.js +7 -7
- package/dist/web/notifications/index.d.cts +3 -3
- package/dist/web/notifications/index.d.ts +3 -3
- package/dist/web/records/depth/index.cjs +2 -2
- package/dist/web/records/depth/index.d.cts +7 -7
- package/dist/web/records/depth/index.d.ts +7 -7
- package/dist/web/records/depth/index.js +2 -2
- package/dist/web/records/index.cjs +3 -3
- package/dist/web/records/index.d.cts +28 -17
- package/dist/web/records/index.d.ts +28 -17
- package/dist/web/records/index.js +3 -3
- package/dist/web/televet/booking/index.cjs +4 -2
- package/dist/web/televet/booking/index.d.cts +228 -90
- package/dist/web/televet/booking/index.d.ts +228 -90
- package/dist/web/televet/booking/index.js +4 -2
- package/dist/web/televet/call/index.cjs +1 -1
- package/dist/web/televet/call/index.d.cts +1 -1
- package/dist/web/televet/call/index.d.ts +1 -1
- package/dist/web/televet/call/index.js +1 -1
- package/dist/web/televet/index.cjs +3 -3
- package/dist/web/televet/index.d.cts +2 -2
- package/dist/web/televet/index.d.ts +2 -2
- package/dist/web/televet/index.js +3 -3
- package/package.json +1 -1
package/dist/web/index.d.cts
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import { ReactNode, CSSProperties } from 'react';
|
|
2
|
-
import { E as EverfurProviderProps } from '../context-
|
|
3
|
-
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-
|
|
2
|
+
import { E as EverfurProviderProps } from '../context-CtsAgJnc.cjs';
|
|
3
|
+
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-CtsAgJnc.cjs';
|
|
4
4
|
import { C as CapabilityName, a as CapabilityDecision } from '../resolve-D4Ywz5OS.cjs';
|
|
5
5
|
export { b as CapabilityDisabled, D as DisabledLevel } from '../resolve-D4Ywz5OS.cjs';
|
|
6
|
-
import { U as UrgencyDisplayLevel, L as LifecyclePort, E as EverfurChatDraftStore } from '../attachments-
|
|
7
|
-
export { C as ChatFeedbackReason, a as ChatFeedbackReasonOption, b as ChatSentiment, c as UseChatAttachmentsOptions, d as UseChatAttachmentsState, e as UseEverfurChatState, f as UseEverfurPetsState, u as useChatAttachments, g as useEverfurChat, h as useEverfurPets } from '../attachments-
|
|
6
|
+
import { U as UrgencyDisplayLevel, L as LifecyclePort, E as EverfurChatDraftStore } from '../attachments-CUOGILir.cjs';
|
|
7
|
+
export { C as ChatFeedbackReason, a as ChatFeedbackReasonOption, b as ChatSentiment, c as UseChatAttachmentsOptions, d as UseChatAttachmentsState, e as UseEverfurChatState, f as UseEverfurPetsState, u as useChatAttachments, g as useEverfurChat, h as useEverfurPets } from '../attachments-CUOGILir.cjs';
|
|
8
8
|
import { P as PetRef, C as ConversationId } from '../ids-B2GAAifq.cjs';
|
|
9
9
|
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-B2GAAifq.cjs';
|
|
10
|
-
import { a as ChatCheckinTarget } from '../ports-
|
|
11
|
-
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-
|
|
12
|
-
import { P as PetProfileInput } from '../petsRepository-
|
|
13
|
-
export { a as PetProfilePatch, R as RegisteredPet, W as WidgetPet, b as WidgetPetProfile } from '../petsRepository-
|
|
14
|
-
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-
|
|
15
|
-
export { C as CheckinAnswer, a as CheckinOutcome, W as WatchCase } from '../casesRepository-
|
|
10
|
+
import { a as ChatCheckinTarget } from '../ports-ZmJYgd5I.cjs';
|
|
11
|
+
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-ZmJYgd5I.cjs';
|
|
12
|
+
import { P as PetProfileInput } from '../petsRepository-BJsJ4cju.cjs';
|
|
13
|
+
export { a as PetProfilePatch, R as RegisteredPet, W as WidgetPet, b as WidgetPetProfile } from '../petsRepository-BJsJ4cju.cjs';
|
|
14
|
+
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-h5h6TsHL.cjs';
|
|
15
|
+
export { C as CheckinAnswer, a as CheckinOutcome, W as WatchCase } from '../casesRepository-CJchNp3x.cjs';
|
|
16
16
|
export { E as EverfurError, a as EverfurErrorCategory, b as EverfurErrorCode, c as categoryFor, i as isRetryableCode, u as userFacingError } from '../EverfurError-DmELDpXp.cjs';
|
|
17
|
-
export { A as AttachmentError, a as AttachmentErrorCode, b as AttachmentOutcome, c as AttachmentQueue, d as AttachmentState, e as AttachmentStatus } from '../attachments-
|
|
17
|
+
export { A as AttachmentError, a as AttachmentErrorCode, b as AttachmentOutcome, c as AttachmentQueue, d as AttachmentState, e as AttachmentStatus } from '../attachments-Ce06TWqe.cjs';
|
|
18
18
|
import { U as UploadTransport, F as FileHandle } from '../ports-BN6RHF9W.cjs';
|
|
19
19
|
export { b as FilePort, a as UploadPolicyWire } from '../ports-BN6RHF9W.cjs';
|
|
20
20
|
import { K as KvPort } from '../cacheEpoch-DknKn3S0.cjs';
|
|
21
21
|
export { I as ImageCachePort } from '../cacheEpoch-DknKn3S0.cjs';
|
|
22
|
-
export { L as LogLevel, a as LogRecord, b as LogSink, P as PrepareOptions, c as PrepareResult, d as PrepareStatus, S as SecureStorePort } from '../runtimeTypes-
|
|
22
|
+
export { L as LogLevel, a as LogRecord, b as LogSink, P as PrepareOptions, c as PrepareResult, d as PrepareStatus, S as SecureStorePort } from '../runtimeTypes-D155OlBW.cjs';
|
|
23
23
|
export { T as TelemetryPort } from '../TelemetryPort-BDNr00hu.cjs';
|
|
24
24
|
export { E as ErrorPolicyPort } from '../ErrorPolicyPort-D6CybiqJ.cjs';
|
|
25
25
|
export { C as CameraPort, a as CaptureOptions, M as MediaSource } from '../CameraPort-Cv31Pz7g.cjs';
|
|
26
26
|
export { a as EverfurConfigError, E as EverfurResult, b as EverfurThrownError, i as isErr, c as isOk, u as unwrap } from '../EverfurResult-ZtH-YV1h.cjs';
|
|
27
|
-
export { M as MintedToken, T as TokenProvider } from '../identity-
|
|
28
|
-
export { E as EverfurFaceStyle, f as face, p as previewTheme } from '../typeStyle-
|
|
29
|
-
import { E as EverfurThemeInput } from '../branding-
|
|
30
|
-
export { A as APPEARANCE_PRESETS, a as APPEARANCE_PRESET_NAMES, b as APPEARANCE_SIZE_RANGES, c as EverfurAppearance, d as EverfurAppearancePreset, e as EverfurAppearanceRules, f as EverfurAppearanceVariables, g as EverfurThemeFontFaceKey, h as EverfurThemeFontUrlsInput, i as EverfurThemeFontsInput, j as EverfurThemeSlotInput, k as EverfurThemeSlotsInput, l as expandAppearance } from '../branding-
|
|
27
|
+
export { M as MintedToken, T as TokenProvider } from '../identity-b5Vp32Vp.cjs';
|
|
28
|
+
export { E as EverfurFaceStyle, f as face, p as previewTheme } from '../typeStyle-BqfwxZH4.cjs';
|
|
29
|
+
import { E as EverfurThemeInput } from '../branding-Bio5MM6g.cjs';
|
|
30
|
+
export { A as APPEARANCE_PRESETS, a as APPEARANCE_PRESET_NAMES, b as APPEARANCE_SIZE_RANGES, c as EverfurAppearance, d as EverfurAppearancePreset, e as EverfurAppearanceRules, f as EverfurAppearanceVariables, g as EverfurThemeFontFaceKey, h as EverfurThemeFontUrlsInput, i as EverfurThemeFontsInput, j as EverfurThemeSlotInput, k as EverfurThemeSlotsInput, l as expandAppearance } from '../branding-Bio5MM6g.cjs';
|
|
31
31
|
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-CSs1wlXT.cjs';
|
|
32
32
|
export { C as CanonicalPetSpecies, c as canonicalPetSpecies } from '../species-BXAIMh7I.cjs';
|
|
33
|
-
import { a as EverfurFontWeight, E as EverfurTheme, b as EverfurFontFaceKey } from '../tokens-
|
|
34
|
-
export { c as EverfurColorTokens, d as EverfurFontFamilies, e as EverfurLetterSpacingTokens, f as EverfurLineHeightTokens, g as EverfurMotionDurationTokens, h as EverfurMotionTokens, i as EverfurRadiusTokens, j as EverfurSpaceTokens, k as EverfurSpringToken, l as EverfurTextColorTokens, m as EverfurThemeMeta, n as EverfurThemeSlot, o as EverfurThemeSlotKey, p as EverfurThemeSlotName, q as EverfurThemeSlots, r as EverfurTypeSizeTokens, s as EverfurTypeTokens, t as EverfurWeightTokens, T as THEME_SLOT_KEYS, u as THEME_SLOT_NAMES } from '../tokens-
|
|
35
|
-
import '../requestFunnel-
|
|
33
|
+
import { a as EverfurFontWeight, E as EverfurTheme, b as EverfurFontFaceKey } from '../tokens-BYtbKwFh.cjs';
|
|
34
|
+
export { c as EverfurColorTokens, d as EverfurFontFamilies, e as EverfurLetterSpacingTokens, f as EverfurLineHeightTokens, g as EverfurMotionDurationTokens, h as EverfurMotionTokens, i as EverfurRadiusTokens, j as EverfurSpaceTokens, k as EverfurSpringToken, l as EverfurTextColorTokens, m as EverfurThemeMeta, n as EverfurThemeSlot, o as EverfurThemeSlotKey, p as EverfurThemeSlotName, q as EverfurThemeSlots, r as EverfurTypeSizeTokens, s as EverfurTypeTokens, t as EverfurWeightTokens, T as THEME_SLOT_KEYS, u as THEME_SLOT_NAMES } from '../tokens-BYtbKwFh.cjs';
|
|
35
|
+
import '../requestFunnel-C_cZXhIA.cjs';
|
|
36
36
|
|
|
37
37
|
/**
|
|
38
38
|
* Wrap the tree ONCE, high. Mounting constructs the runtime (transport, identity, registry,
|
|
@@ -79,14 +79,15 @@ interface EverfurChatProps {
|
|
|
79
79
|
*/
|
|
80
80
|
readonly onPetChange?: (petRef: PetRef) => void;
|
|
81
81
|
/**
|
|
82
|
-
* Where the empty state's
|
|
82
|
+
* Where the empty state's vet-prep chip (the web design's "Book a video visit") goes. Absent, the chip appears only while
|
|
83
83
|
* Everfur's own vet visit entry for chat is switched on for this user, and then opens that visit; without
|
|
84
84
|
* either, the chip is not shown (it is never sent as text).
|
|
85
85
|
*/
|
|
86
86
|
readonly onVetPrep?: (petRef: PetRef | null) => void;
|
|
87
87
|
/**
|
|
88
|
-
* The
|
|
89
|
-
* user: called with the tier. Absent, the banner
|
|
88
|
+
* The vet action of an urgency banner ("Nearest emergency vet" on an emergency, "Find a vet" on the soon tier)
|
|
89
|
+
* when Everfur's own vet visit entry is not available to this user: called with the tier. Absent, the banner
|
|
90
|
+
* shows no vet action in that case (an emergency still offers the poison-control call).
|
|
90
91
|
*/
|
|
91
92
|
readonly onFindVet?: (level: UrgencyDisplayLevel) => void;
|
|
92
93
|
/** Your own node in the banner's action slot (wins over both the vet visit entry and `onFindVet`). */
|
package/dist/web/index.d.ts
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import { ReactNode, CSSProperties } from 'react';
|
|
2
|
-
import { E as EverfurProviderProps } from '../context-
|
|
3
|
-
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-
|
|
2
|
+
import { E as EverfurProviderProps } from '../context-DtPIshVA.js';
|
|
3
|
+
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-DtPIshVA.js';
|
|
4
4
|
import { C as CapabilityName, a as CapabilityDecision } from '../resolve-D4Ywz5OS.js';
|
|
5
5
|
export { b as CapabilityDisabled, D as DisabledLevel } from '../resolve-D4Ywz5OS.js';
|
|
6
|
-
import { U as UrgencyDisplayLevel, L as LifecyclePort, E as EverfurChatDraftStore } from '../attachments-
|
|
7
|
-
export { C as ChatFeedbackReason, a as ChatFeedbackReasonOption, b as ChatSentiment, c as UseChatAttachmentsOptions, d as UseChatAttachmentsState, e as UseEverfurChatState, f as UseEverfurPetsState, u as useChatAttachments, g as useEverfurChat, h as useEverfurPets } from '../attachments-
|
|
6
|
+
import { U as UrgencyDisplayLevel, L as LifecyclePort, E as EverfurChatDraftStore } from '../attachments-CXAnZcEg.js';
|
|
7
|
+
export { C as ChatFeedbackReason, a as ChatFeedbackReasonOption, b as ChatSentiment, c as UseChatAttachmentsOptions, d as UseChatAttachmentsState, e as UseEverfurChatState, f as UseEverfurPetsState, u as useChatAttachments, g as useEverfurChat, h as useEverfurPets } from '../attachments-CXAnZcEg.js';
|
|
8
8
|
import { P as PetRef, C as ConversationId } from '../ids-B2GAAifq.js';
|
|
9
9
|
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-B2GAAifq.js';
|
|
10
|
-
import { a as ChatCheckinTarget } from '../ports-
|
|
11
|
-
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-
|
|
12
|
-
import { P as PetProfileInput } from '../petsRepository-
|
|
13
|
-
export { a as PetProfilePatch, R as RegisteredPet, W as WidgetPet, b as WidgetPetProfile } from '../petsRepository-
|
|
14
|
-
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-
|
|
15
|
-
export { C as CheckinAnswer, a as CheckinOutcome, W as WatchCase } from '../casesRepository-
|
|
10
|
+
import { a as ChatCheckinTarget } from '../ports-nXHf50_X.js';
|
|
11
|
+
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-nXHf50_X.js';
|
|
12
|
+
import { P as PetProfileInput } from '../petsRepository-CuYZZaI5.js';
|
|
13
|
+
export { a as PetProfilePatch, R as RegisteredPet, W as WidgetPet, b as WidgetPetProfile } from '../petsRepository-CuYZZaI5.js';
|
|
14
|
+
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-ZxwCylac.js';
|
|
15
|
+
export { C as CheckinAnswer, a as CheckinOutcome, W as WatchCase } from '../casesRepository-DAVcY3jC.js';
|
|
16
16
|
export { E as EverfurError, a as EverfurErrorCategory, b as EverfurErrorCode, c as categoryFor, i as isRetryableCode, u as userFacingError } from '../EverfurError-DmELDpXp.js';
|
|
17
|
-
export { A as AttachmentError, a as AttachmentErrorCode, b as AttachmentOutcome, c as AttachmentQueue, d as AttachmentState, e as AttachmentStatus } from '../attachments-
|
|
17
|
+
export { A as AttachmentError, a as AttachmentErrorCode, b as AttachmentOutcome, c as AttachmentQueue, d as AttachmentState, e as AttachmentStatus } from '../attachments-CPRFfoHT.js';
|
|
18
18
|
import { U as UploadTransport, F as FileHandle } from '../ports-BN6RHF9W.js';
|
|
19
19
|
export { b as FilePort, a as UploadPolicyWire } from '../ports-BN6RHF9W.js';
|
|
20
20
|
import { K as KvPort } from '../cacheEpoch-DknKn3S0.js';
|
|
21
21
|
export { I as ImageCachePort } from '../cacheEpoch-DknKn3S0.js';
|
|
22
|
-
export { L as LogLevel, a as LogRecord, b as LogSink, P as PrepareOptions, c as PrepareResult, d as PrepareStatus, S as SecureStorePort } from '../runtimeTypes-
|
|
22
|
+
export { L as LogLevel, a as LogRecord, b as LogSink, P as PrepareOptions, c as PrepareResult, d as PrepareStatus, S as SecureStorePort } from '../runtimeTypes-ByKsp8hm.js';
|
|
23
23
|
export { T as TelemetryPort } from '../TelemetryPort-BDNr00hu.js';
|
|
24
24
|
export { E as ErrorPolicyPort } from '../ErrorPolicyPort-D22LUVrK.js';
|
|
25
25
|
export { C as CameraPort, a as CaptureOptions, M as MediaSource } from '../CameraPort-Cv31Pz7g.js';
|
|
26
26
|
export { a as EverfurConfigError, E as EverfurResult, b as EverfurThrownError, i as isErr, c as isOk, u as unwrap } from '../EverfurResult-SGvHKsCB.js';
|
|
27
|
-
export { M as MintedToken, T as TokenProvider } from '../identity-
|
|
28
|
-
export { E as EverfurFaceStyle, f as face, p as previewTheme } from '../typeStyle-
|
|
29
|
-
import { E as EverfurThemeInput } from '../branding-
|
|
30
|
-
export { A as APPEARANCE_PRESETS, a as APPEARANCE_PRESET_NAMES, b as APPEARANCE_SIZE_RANGES, c as EverfurAppearance, d as EverfurAppearancePreset, e as EverfurAppearanceRules, f as EverfurAppearanceVariables, g as EverfurThemeFontFaceKey, h as EverfurThemeFontUrlsInput, i as EverfurThemeFontsInput, j as EverfurThemeSlotInput, k as EverfurThemeSlotsInput, l as expandAppearance } from '../branding-
|
|
27
|
+
export { M as MintedToken, T as TokenProvider } from '../identity-EC5-apbY.js';
|
|
28
|
+
export { E as EverfurFaceStyle, f as face, p as previewTheme } from '../typeStyle-DKz02DGU.js';
|
|
29
|
+
import { E as EverfurThemeInput } from '../branding-ytH4jJq1.js';
|
|
30
|
+
export { A as APPEARANCE_PRESETS, a as APPEARANCE_PRESET_NAMES, b as APPEARANCE_SIZE_RANGES, c as EverfurAppearance, d as EverfurAppearancePreset, e as EverfurAppearanceRules, f as EverfurAppearanceVariables, g as EverfurThemeFontFaceKey, h as EverfurThemeFontUrlsInput, i as EverfurThemeFontsInput, j as EverfurThemeSlotInput, k as EverfurThemeSlotsInput, l as expandAppearance } from '../branding-ytH4jJq1.js';
|
|
31
31
|
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-CSs1wlXT.js';
|
|
32
32
|
export { C as CanonicalPetSpecies, c as canonicalPetSpecies } from '../species-BXAIMh7I.js';
|
|
33
|
-
import { a as EverfurFontWeight, E as EverfurTheme, b as EverfurFontFaceKey } from '../tokens-
|
|
34
|
-
export { c as EverfurColorTokens, d as EverfurFontFamilies, e as EverfurLetterSpacingTokens, f as EverfurLineHeightTokens, g as EverfurMotionDurationTokens, h as EverfurMotionTokens, i as EverfurRadiusTokens, j as EverfurSpaceTokens, k as EverfurSpringToken, l as EverfurTextColorTokens, m as EverfurThemeMeta, n as EverfurThemeSlot, o as EverfurThemeSlotKey, p as EverfurThemeSlotName, q as EverfurThemeSlots, r as EverfurTypeSizeTokens, s as EverfurTypeTokens, t as EverfurWeightTokens, T as THEME_SLOT_KEYS, u as THEME_SLOT_NAMES } from '../tokens-
|
|
35
|
-
import '../requestFunnel-
|
|
33
|
+
import { a as EverfurFontWeight, E as EverfurTheme, b as EverfurFontFaceKey } from '../tokens-BYtbKwFh.js';
|
|
34
|
+
export { c as EverfurColorTokens, d as EverfurFontFamilies, e as EverfurLetterSpacingTokens, f as EverfurLineHeightTokens, g as EverfurMotionDurationTokens, h as EverfurMotionTokens, i as EverfurRadiusTokens, j as EverfurSpaceTokens, k as EverfurSpringToken, l as EverfurTextColorTokens, m as EverfurThemeMeta, n as EverfurThemeSlot, o as EverfurThemeSlotKey, p as EverfurThemeSlotName, q as EverfurThemeSlots, r as EverfurTypeSizeTokens, s as EverfurTypeTokens, t as EverfurWeightTokens, T as THEME_SLOT_KEYS, u as THEME_SLOT_NAMES } from '../tokens-BYtbKwFh.js';
|
|
35
|
+
import '../requestFunnel-Ve9BshTB.js';
|
|
36
36
|
|
|
37
37
|
/**
|
|
38
38
|
* Wrap the tree ONCE, high. Mounting constructs the runtime (transport, identity, registry,
|
|
@@ -79,14 +79,15 @@ interface EverfurChatProps {
|
|
|
79
79
|
*/
|
|
80
80
|
readonly onPetChange?: (petRef: PetRef) => void;
|
|
81
81
|
/**
|
|
82
|
-
* Where the empty state's
|
|
82
|
+
* Where the empty state's vet-prep chip (the web design's "Book a video visit") goes. Absent, the chip appears only while
|
|
83
83
|
* Everfur's own vet visit entry for chat is switched on for this user, and then opens that visit; without
|
|
84
84
|
* either, the chip is not shown (it is never sent as text).
|
|
85
85
|
*/
|
|
86
86
|
readonly onVetPrep?: (petRef: PetRef | null) => void;
|
|
87
87
|
/**
|
|
88
|
-
* The
|
|
89
|
-
* user: called with the tier. Absent, the banner
|
|
88
|
+
* The vet action of an urgency banner ("Nearest emergency vet" on an emergency, "Find a vet" on the soon tier)
|
|
89
|
+
* when Everfur's own vet visit entry is not available to this user: called with the tier. Absent, the banner
|
|
90
|
+
* shows no vet action in that case (an emergency still offers the poison-control call).
|
|
90
91
|
*/
|
|
91
92
|
readonly onFindVet?: (level: UrgencyDisplayLevel) => void;
|
|
92
93
|
/** Your own node in the banner's action slot (wins over both the vet visit entry and `onFindVet`). */
|