@everfur/sdk 1.1.0 → 1.3.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 +112 -0
- package/dist/{Chat.d-CTVJ_qWQ.d.cts → Chat.d-CGuvQApZ.d.cts} +1 -1
- package/dist/{Chat.d-Bt0fKiOQ.d.ts → Chat.d-DQkMkRlv.d.ts} +1 -1
- package/dist/{DepthViews.d-BHb0Xb-C.d.cts → DepthViews.d-Bs79si_g.d.cts} +1 -1
- package/dist/{DepthViews.d-Dq8eWBvw.d.cts → DepthViews.d-C9HdQhC2.d.cts} +1 -1
- package/dist/{DepthViews.d-BW3HrhnC.d.ts → DepthViews.d-DrCO-wqQ.d.ts} +1 -1
- package/dist/{DepthViews.d-BIfqdrvX.d.ts → DepthViews.d-v8fVFY4g.d.ts} +1 -1
- package/dist/{LifecyclePort.d-Cr1p33a7.d.cts → LifecyclePort.d-Cb9NtmP-.d.cts} +5 -0
- package/dist/{LifecyclePort.d-Cr1p33a7.d.ts → LifecyclePort.d-Cb9NtmP-.d.ts} +5 -0
- package/dist/{RecordsPage.d-Bs-dghTH.d.ts → RecordsPage.d-BDZ8JRSw.d.ts} +1 -1
- package/dist/{RecordsPage.d-CLrw-AvZ.d.cts → RecordsPage.d-a_h8Hlxr.d.cts} +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.d-DTGYmW8Y.d.cts → attachments.d-DjwKMpb0.d.cts} +1 -1
- package/dist/{attachments.d-DjxmIsNp.d.ts → attachments.d-HxQiuR6k.d.ts} +1 -1
- package/dist/{bookingCopy.d-D952V8Tq.d.cts → bookingCopy.d-CX1IaYNX.d.cts} +2 -2
- package/dist/{bookingCopy.d-CX-DMiwi.d.ts → bookingCopy.d-DFhHqNkX.d.ts} +2 -2
- package/dist/{branding.d-SCzhpyTt.d.ts → branding.d-CNeG_CY3.d.ts} +7 -2
- package/dist/{branding.d-eGlNC86j.d.cts → branding.d-KOXyiUqX.d.cts} +7 -2
- package/dist/{casesRepository.d-bWJHZD-_.d.cts → casesRepository.d-BvHziaN3.d.cts} +1 -1
- package/dist/{casesRepository.d-CnJZlUZ4.d.ts → casesRepository.d-CsXp5ZbO.d.ts} +1 -1
- package/dist/chat/index.cjs +34 -34
- package/dist/chat/index.d.cts +11 -11
- package/dist/chat/index.d.ts +11 -11
- package/dist/chat/index.js +35 -35
- package/dist/chat/lite/index.cjs +34 -34
- package/dist/chat/lite/index.d.cts +11 -11
- package/dist/chat/lite/index.d.ts +11 -11
- package/dist/chat/lite/index.js +35 -35
- package/dist/{chatHandoffToken.d-BCEdhZpd.d.ts → chatHandoffToken.d-D8ziljrV.d.ts} +11 -6
- package/dist/{chatHandoffToken.d-uKnSnIzN.d.cts → chatHandoffToken.d-N8D7LgiG.d.cts} +11 -6
- package/dist/{chatTypes.d-DbdF3ij5.d.ts → checkin.d-C6v2akWa.d.ts} +69 -37
- package/dist/{chatTypes.d-CFyYBzps.d.cts → checkin.d-CVo0MpeG.d.cts} +69 -37
- package/dist/{chunk-LWPM4GD3.js → chunk-4YMKIILX.js} +5 -5
- package/dist/{chunk-ZZTNGAS7.js → chunk-D5AYE7FR.js} +3 -3
- package/dist/chunk-LFCCBV3J.js +47 -0
- package/dist/{chunk-5TWMQIT4.js → chunk-OMWBGNXK.js} +1 -1
- package/dist/client/index.cjs +21 -8
- package/dist/client/index.d.cts +83 -15
- package/dist/client/index.d.ts +83 -15
- package/dist/client/index.js +21 -8
- package/dist/{clinicBatch.d-C_kZtYt-.d.ts → clinicBatch.d-DUCpGy47.d.ts} +2 -2
- package/dist/{clinicBatch.d-e3Cn5HhA.d.cts → clinicBatch.d-h4AzQhUH.d.cts} +2 -2
- package/dist/{config.d--6siaeNg.d.ts → config.d-Ds1iysW4.d.ts} +20 -1
- package/dist/{config.d-Ba21AaZg.d.cts → config.d-DwLvHCYP.d.cts} +20 -1
- package/dist/consent/index.cjs +2 -2
- package/dist/consent/index.d.cts +5 -5
- package/dist/consent/index.d.ts +5 -5
- package/dist/consent/index.js +2 -2
- package/dist/{context.d-Bl07_JGt.d.ts → context.d-CsoglkHv.d.ts} +6 -6
- package/dist/{context.d-CzMV_7jD.d.cts → context.d-_IdRcaaC.d.cts} +6 -6
- package/dist/{copy.d-GokMma80.d.ts → copy.d-CprpMJD2.d.ts} +2 -2
- package/dist/{copy.d-zWWCn3wB.d.cts → copy.d-Du3C9Itf.d.cts} +2 -2
- package/dist/core/index.cjs +15 -13
- package/dist/core/index.d.cts +18 -16
- package/dist/core/index.d.ts +18 -16
- package/dist/core/index.js +15 -13
- package/dist/{depth.d-C_HL8yAz.d.ts → depth.d-4CAnnHdv.d.ts} +2 -2
- package/dist/{depth.d-De5pT7vA.d.cts → depth.d-B45A8uzH.d.cts} +2 -2
- package/dist/{entitlementRepository.d-DLMRDNUe.d.ts → entitlementRepository.d-BVKx1U_k.d.ts} +4 -4
- package/dist/{entitlementRepository.d-B4ffomns.d.cts → entitlementRepository.d-Cp2ZU7pQ.d.cts} +4 -4
- package/dist/{focus.d-7G0BBmA9.d.ts → focus.d-BmER-Wo9.d.ts} +1 -1
- package/dist/{focus.d-B0qweva0.d.cts → focus.d-DkRwLTEB.d.cts} +1 -1
- package/dist/health-plan/index.cjs +14 -9
- package/dist/health-plan/index.d.cts +14 -14
- package/dist/health-plan/index.d.ts +14 -14
- package/dist/health-plan/index.js +14 -9
- package/dist/{healthPlanRepository.d-fPbLceBr.d.cts → healthPlanRepository.d-B3je3K9s.d.cts} +2 -2
- package/dist/{healthPlanRepository.d-CdCyUWph.d.ts → healthPlanRepository.d-D8a8n9Jj.d.ts} +2 -2
- package/dist/{idempotency.d-IDta7Jjj.d.cts → idempotency.d-CqQ4xvQT.d.cts} +1 -1
- package/dist/{idempotency.d-CoUlC-Yd.d.ts → idempotency.d-Cs5pjjdA.d.ts} +1 -1
- package/dist/{identity.d-B7dPRGqm.d.ts → identity.d-Bj7WLFXU.d.ts} +1 -1
- package/dist/{identity.d-_MK9Y7a4.d.cts → identity.d-Dg3l3zT5.d.cts} +1 -1
- package/dist/{inbox.d-CuuPTWyW.d.ts → inbox.d-DVfTwkEB.d.ts} +1 -1
- package/dist/{inbox.d-ChNXTovj.d.cts → inbox.d-DYCjhSnO.d.cts} +1 -1
- package/dist/index.cjs +45 -44
- package/dist/index.d.cts +20 -18
- package/dist/index.d.ts +20 -18
- package/dist/index.js +46 -45
- package/dist/{introEvents.d-D6Ay0ORN.d.ts → introEvents.d-CmC7ag_3.d.ts} +1 -1
- package/dist/{introEvents.d-JvAWRKYu.d.cts → introEvents.d-Wc0-QPLf.d.cts} +1 -1
- package/dist/{layout.d-D3d4QMeO.d.ts → layout.d-BZbIqvZ_.d.ts} +2 -2
- package/dist/{layout.d-ByfOEhpG.d.cts → layout.d-yLooG8Z0.d.cts} +2 -2
- package/dist/models.d-DHAQqrQr.d.ts +182 -0
- package/dist/models.d-Dml2f9-U.d.cts +182 -0
- package/dist/notifications/inbox/index.cjs +3 -3
- package/dist/notifications/inbox/index.d.cts +7 -7
- package/dist/notifications/inbox/index.d.ts +7 -7
- package/dist/notifications/inbox/index.js +3 -3
- package/dist/notifications/index.cjs +2 -2
- package/dist/notifications/index.d.cts +7 -7
- package/dist/notifications/index.d.ts +7 -7
- package/dist/notifications/index.js +2 -2
- package/dist/{optInView.d-BpFTJaaX.d.ts → optInView.d-B_yFAfKk.d.ts} +2 -2
- package/dist/{optInView.d-Bxvg0WLJ.d.cts → optInView.d-Td2Uv3iq.d.cts} +2 -2
- package/dist/parse.d-DtHmpAMT.d.cts +282 -0
- package/dist/parse.d-DtHmpAMT.d.ts +282 -0
- package/dist/{pets.d-BtbJcf8T.d.cts → pets.d-CE8_oDjM.d.cts} +1 -1
- package/dist/{pets.d-Br960ekh.d.ts → pets.d-UFpQT-q3.d.ts} +1 -1
- package/dist/{petsRepository.d-Bj9rPnCr.d.cts → petsRepository.d-BVSrxwKa.d.cts} +1 -1
- package/dist/{petsRepository.d-CSOth5XE.d.ts → petsRepository.d-BvmFXjTc.d.ts} +1 -1
- package/dist/photo/index.cjs +2 -2
- package/dist/photo/index.js +2 -2
- package/dist/records/depth/index.cjs +2 -2
- package/dist/records/depth/index.d.cts +9 -9
- package/dist/records/depth/index.d.ts +9 -9
- package/dist/records/depth/index.js +2 -2
- package/dist/records/index.cjs +4 -4
- package/dist/records/index.d.cts +11 -11
- package/dist/records/index.d.ts +11 -11
- package/dist/records/index.js +4 -4
- package/dist/{requestFunnel.d-LSnmCusf.d.ts → requestFunnel.d-D8UsEFed.d.ts} +2 -2
- package/dist/{requestFunnel.d-BwO-jFLX.d.cts → requestFunnel.d-fmBVWfsj.d.cts} +2 -2
- package/dist/{route.d-Bzyamuxa.d.ts → route.d-BnWvGpNN.d.ts} +2 -2
- package/dist/{route.d-D70-OHBc.d.cts → route.d-DOXnhbtt.d.cts} +2 -2
- package/dist/{runtimeTypes.d-6nkdToBS.d.cts → runtimeTypes.d-BlejmEU1.d.cts} +34 -6
- package/dist/{runtimeTypes.d-Byb55WsJ.d.ts → runtimeTypes.d-C6fYXNx2.d.ts} +34 -6
- package/dist/{screenProps.d-DB5IMaGZ.d.cts → screenProps.d-BfYg9Eaz.d.cts} +1 -1
- package/dist/{screenProps.d-HGSPNGHt.d.ts → screenProps.d-Bp0vHiov.d.ts} +1 -1
- package/dist/sdkConfigStore.d-BHrzkVpP.d.cts +45 -0
- package/dist/sdkConfigStore.d-VPvsIL8E.d.ts +45 -0
- package/dist/server/events/index.cjs +3 -2
- package/dist/server/events/index.d.cts +2 -2
- package/dist/server/events/index.d.ts +2 -2
- package/dist/server/events/index.js +3 -2
- package/dist/server/index.cjs +5 -4
- package/dist/server/index.d.cts +9 -3
- package/dist/server/index.d.ts +9 -3
- package/dist/server/index.js +5 -4
- package/dist/shop/index.cjs +12 -6
- package/dist/shop/index.d.cts +3 -3
- package/dist/shop/index.d.ts +3 -3
- package/dist/shop/index.js +13 -7
- package/dist/slots/index.cjs +15 -16
- package/dist/slots/index.d.cts +6 -6
- package/dist/slots/index.d.ts +6 -6
- package/dist/slots/index.js +15 -16
- package/dist/slots/weather-glyphs/index.cjs +1 -1
- package/dist/slots/weather-glyphs/index.js +1 -1
- package/dist/tabs/index.cjs +79 -13
- package/dist/tabs/index.d.cts +129 -10
- package/dist/tabs/index.d.ts +129 -10
- package/dist/tabs/index.js +79 -13
- package/dist/televet/booking/index.cjs +2 -2
- package/dist/televet/booking/index.d.cts +6 -6
- package/dist/televet/booking/index.d.ts +6 -6
- package/dist/televet/booking/index.js +2 -2
- package/dist/televet/index.cjs +2 -2
- package/dist/televet/index.js +2 -2
- package/dist/testing/index.cjs +4 -3
- package/dist/testing/index.d.cts +1 -1
- package/dist/testing/index.d.ts +1 -1
- package/dist/testing/index.js +4 -3
- package/dist/testing/rn/index.cjs +3 -3
- package/dist/testing/rn/index.d.cts +11 -9
- package/dist/testing/rn/index.d.ts +11 -9
- package/dist/testing/rn/index.js +3 -3
- package/dist/testing/web/index.cjs +2 -2
- package/dist/testing/web/index.d.cts +11 -9
- package/dist/testing/web/index.d.ts +11 -9
- package/dist/testing/web/index.js +2 -2
- package/dist/texting/index.cjs +4 -4
- package/dist/texting/index.d.cts +22 -8
- package/dist/texting/index.d.ts +22 -8
- package/dist/texting/index.js +4 -4
- package/dist/{threadOptions.d-E-ZxhUSg.d.cts → threadOptions.d-B9OndNS2.d.cts} +5 -5
- package/dist/{threadOptions.d-Cjps2yaN.d.ts → threadOptions.d-BlpnY5xP.d.ts} +5 -5
- package/dist/{timelineRows.d-CPS4admm.d.ts → timelineRows.d-BPOMlI-P.d.ts} +1 -1
- package/dist/{timelineRows.d-BJRCgmdv.d.cts → timelineRows.d-BmHu_XLI.d.cts} +1 -1
- package/dist/{tokens.d-DH1mYjZl.d.cts → tokens.d-DxM-tKjz.d.cts} +2 -0
- package/dist/{tokens.d-DH1mYjZl.d.ts → tokens.d-DxM-tKjz.d.ts} +2 -0
- package/dist/{typeStyle.d-CuKAr0Ly.d.cts → typeStyle.d-DmdB2TfH.d.cts} +2 -2
- package/dist/{typeStyle.d-ZszGrWPf.d.ts → typeStyle.d-Ma1uBgn-.d.ts} +2 -2
- package/dist/ui/index.cjs +5 -4
- package/dist/ui/index.js +5 -4
- package/dist/{useHealthPlanSubscription.d-SQfx-45x.d.ts → useHealthPlanSubscription.d-BAU8x02a.d.ts} +4 -4
- package/dist/{useHealthPlanSubscription.d-zjsvvlhz.d.cts → useHealthPlanSubscription.d-CuJMQc_d.d.cts} +4 -4
- package/dist/{useInboxUnread.d-BxFKFU4o.d.ts → useInboxUnread.d-BUpXjNnT.d.ts} +2 -2
- package/dist/{useInboxUnread.d-7p3IWs_A.d.cts → useInboxUnread.d-By1CkCy2.d.cts} +2 -2
- package/dist/{usePresentation.d-DUHlQyV5.d.cts → usePresentation.d-CgEJRm6Q.d.cts} +2 -2
- package/dist/{usePresentation.d-CoyGEJOl.d.ts → usePresentation.d-kSW7ttTl.d.ts} +2 -2
- package/dist/{useRecordsDepth.d-Bk8BSerZ.d.cts → useRecordsDepth.d-BHQgBRBw.d.cts} +1 -1
- package/dist/{useRecordsDepth.d-BinUa8W9.d.ts → useRecordsDepth.d-diEF_tFF.d.ts} +1 -1
- package/dist/{useUnread.d-D-p7oEW_.d.cts → useUnread.d-CoQKIHVD.d.cts} +31 -17
- package/dist/{useUnread.d-CFzIPmZt.d.ts → useUnread.d-aRej_wU8.d.ts} +31 -17
- package/dist/video/index.cjs +2 -2
- package/dist/video/index.js +2 -2
- package/dist/{view.d-CaH6dZPJ.d.ts → view.d-CevohC1l.d.ts} +3 -3
- package/dist/{view.d-DV4b1cov.d.cts → view.d-DgXlfcxR.d.cts} +3 -3
- package/dist/web/consent/index.cjs +2 -2
- package/dist/web/consent/index.d.cts +5 -5
- package/dist/web/consent/index.d.ts +5 -5
- package/dist/web/consent/index.js +2 -2
- package/dist/web/health-plan/index.cjs +11 -11
- package/dist/web/health-plan/index.d.cts +16 -16
- package/dist/web/health-plan/index.d.ts +16 -16
- package/dist/web/health-plan/index.js +7 -7
- package/dist/web/health-plan/styles.css +59 -0
- package/dist/web/inbox/index.cjs +3 -3
- package/dist/web/inbox/index.d.cts +8 -8
- package/dist/web/inbox/index.d.ts +8 -8
- package/dist/web/inbox/index.js +3 -3
- package/dist/web/index.cjs +52 -51
- package/dist/web/index.d.cts +59 -44
- package/dist/web/index.d.ts +59 -44
- package/dist/web/index.js +52 -51
- package/dist/web/intro/index.cjs +2 -2
- package/dist/web/intro/index.d.cts +7 -7
- package/dist/web/intro/index.d.ts +7 -7
- package/dist/web/intro/index.js +2 -2
- package/dist/web/notifications/index.cjs +2 -2
- package/dist/web/notifications/index.d.cts +6 -6
- package/dist/web/notifications/index.d.ts +6 -6
- package/dist/web/notifications/index.js +2 -2
- package/dist/web/records/depth/index.cjs +2 -2
- package/dist/web/records/depth/index.d.cts +9 -9
- package/dist/web/records/depth/index.d.ts +9 -9
- package/dist/web/records/depth/index.js +2 -2
- package/dist/web/records/index.cjs +4 -4
- package/dist/web/records/index.d.cts +11 -11
- package/dist/web/records/index.d.ts +11 -11
- package/dist/web/records/index.js +4 -4
- package/dist/web/records-sheet/index.cjs +4 -4
- package/dist/web/records-sheet/index.js +4 -4
- package/dist/web/shop/index.cjs +9 -9
- package/dist/web/shop/index.d.cts +3 -3
- package/dist/web/shop/index.d.ts +3 -3
- package/dist/web/shop/index.js +4 -4
- package/dist/web/televet/booking/index.cjs +2 -2
- package/dist/web/televet/booking/index.d.cts +7 -7
- package/dist/web/televet/booking/index.d.ts +7 -7
- package/dist/web/televet/booking/index.js +2 -2
- package/dist/web/televet/call/index.cjs +1 -1
- package/dist/web/televet/call/index.js +1 -1
- package/dist/web/televet/index.cjs +2 -2
- package/dist/web/televet/index.js +2 -2
- package/dist/web/texting/index.cjs +4 -4
- package/dist/web/texting/index.d.cts +22 -8
- package/dist/web/texting/index.d.ts +22 -8
- package/dist/web/texting/index.js +4 -4
- package/dist/web/ui/index.cjs +8 -8
- package/dist/web/ui/index.js +1 -1
- package/dist/web/ui/styles.css +66 -0
- package/package.json +10 -6
- package/dist/chunk-PDZTFXOO.js +0 -47
package/dist/web/index.d.cts
CHANGED
|
@@ -1,65 +1,67 @@
|
|
|
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$1 } 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$1 } from '../context.d-_IdRcaaC.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-_IdRcaaC.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, i as UseEverfurUnreadOptions, d as EverfurUnreadState } from '../chatHandoffToken.d-
|
|
8
|
-
export { C as ChatFeedbackReason, a as ChatFeedbackReasonOption, c as ChatSentiment, e as UseChatAttachmentsOptions, f as UseChatAttachmentsState, g as UseEverfurChatState, h as UseEverfurPetsState, j as chatHandoffTokenFromUrl, u as useChatAttachments, k as useEverfurChat, l as useEverfurPets } from '../chatHandoffToken.d-
|
|
7
|
+
import { U as UrgencyDisplayLevel, E as EverfurChatDraftStore, b as ChatFollowUpPolicy, i as UseEverfurUnreadOptions, d as EverfurUnreadState } from '../chatHandoffToken.d-N8D7LgiG.cjs';
|
|
8
|
+
export { C as ChatFeedbackReason, a as ChatFeedbackReasonOption, c as ChatSentiment, e as UseChatAttachmentsOptions, f as UseChatAttachmentsState, g as UseEverfurChatState, h as UseEverfurPetsState, j as chatHandoffTokenFromUrl, u as useChatAttachments, k as useEverfurChat, l as useEverfurPets } from '../chatHandoffToken.d-N8D7LgiG.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 '../
|
|
12
|
-
export { C as ChatCheckin, b as ChatConversation, c as ChatConversationListOptions, d as ChatConversationPage, e as ChatFeedbackReceipt, f as ChatFeedbackType, g as ChatHistoryOptions, j as ChatMessage, h as ChatMessagePage, k as ChatMessageRole, l as ChatMessageSender, i as ChatRefreshOptions, m as ChatStatus, n as Citation, S as SendOptions } from '../
|
|
11
|
+
import { a as ChatCheckinTarget } from '../checkin.d-CVo0MpeG.cjs';
|
|
12
|
+
export { C as ChatCheckin, b as ChatConversation, c as ChatConversationListOptions, d as ChatConversationPage, e as ChatFeedbackReceipt, f as ChatFeedbackType, g as ChatHistoryOptions, j as ChatMessage, h as ChatMessagePage, k as ChatMessageRole, l as ChatMessageSender, i as ChatRefreshOptions, m as ChatStatus, n as Citation, S as SendOptions } from '../checkin.d-CVo0MpeG.cjs';
|
|
13
13
|
import { i as EverfurPresentationInput } from '../presentation.d-tJe7zo12.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-tJe7zo12.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-
|
|
17
|
-
import { L as LifecyclePort } from '../LifecyclePort.d-
|
|
15
|
+
import { P as PetProfileInput } from '../petsRepository.d-BVSrxwKa.cjs';
|
|
16
|
+
export { a as PetProfilePatch, R as RegisteredPet, W as WidgetPet, b as WidgetPetProfile } from '../petsRepository.d-BVSrxwKa.cjs';
|
|
17
|
+
import { L as LifecyclePort } from '../LifecyclePort.d-Cb9NtmP-.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 { b 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-B9OndNS2.cjs';
|
|
20
|
+
export { g as EverfurChatAnswerCard, h as EverfurChatAnswerContext, i as EverfurChatFollowUpAction } from '../threadOptions.d-B9OndNS2.cjs';
|
|
21
|
+
import { b as HealthPlanTopCardResults } from '../usePresentation.d-CgEJRm6Q.cjs';
|
|
22
|
+
export { u as useEverfurPresentation } from '../usePresentation.d-CgEJRm6Q.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,
|
|
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 FreeCapRefusal, H as HeartbeatFrame, i as HttpMethod, M as MultipartBody, T as TransportPort, U as UnknownFrame, j as UrgencyLevel } from '../config.d-DwLvHCYP.cjs';
|
|
26
|
+
export { C as CheckinAnswer, a as CheckinOutcome, W as WatchCase } from '../casesRepository.d-BvHziaN3.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
28
|
export { E as EverfurUnread, P as PresignedPolicy, U as UploadPort } from '../unreadStore.d-w5x6lEpR.cjs';
|
|
29
|
-
export { A as AttachmentError, a as AttachmentErrorCode, b as AttachmentOutcome, c as AttachmentQueue, d as AttachmentState, e as AttachmentStatus } from '../attachments.d-
|
|
29
|
+
export { A as AttachmentError, a as AttachmentErrorCode, b as AttachmentOutcome, c as AttachmentQueue, d as AttachmentState, e as AttachmentStatus } from '../attachments.d-DjwKMpb0.cjs';
|
|
30
30
|
import { U as UploadTransport, F as FileHandle } from '../ports.d-BX4f4UsB.cjs';
|
|
31
31
|
export { b as FilePort, a as UploadPolicyWire } from '../ports.d-BX4f4UsB.cjs';
|
|
32
32
|
import { C as CaptureRecordsSignature } from '../clinicRequestProps.d-DjzUdDFx.cjs';
|
|
33
|
-
import { E as EverfurRecordsPageProps } from '../RecordsPage.d-
|
|
34
|
-
import { E as EverfurIntroCopy, a as EverfurIntroBlank, b as EverfurRecordsRequested, d as EverfurRecordsLanded } from '../introEvents.d-
|
|
33
|
+
import { E as EverfurRecordsPageProps } from '../RecordsPage.d-a_h8Hlxr.cjs';
|
|
34
|
+
import { E as EverfurIntroCopy, a as EverfurIntroBlank, b as EverfurRecordsRequested, d as EverfurRecordsLanded } from '../introEvents.d-Wc0-QPLf.cjs';
|
|
35
35
|
import { E as EverfurTabId, a as EverfurTabsCopy } from '../tabsModel.d-D9GWPFrL.cjs';
|
|
36
36
|
export { b as EVERFUR_TABS_COPY } from '../tabsModel.d-D9GWPFrL.cjs';
|
|
37
37
|
export { E as EVERFUR_RECORDS_LANDED_EVENT, a as EVERFUR_RECORDS_REQUESTED_EVENT } from '../introEvents.d-dS3fJCH1.cjs';
|
|
38
38
|
import { K as KvPort } from '../cacheEpoch.d-DknKn3S0.cjs';
|
|
39
39
|
export { I as ImageCachePort } from '../cacheEpoch.d-DknKn3S0.cjs';
|
|
40
|
-
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-
|
|
40
|
+
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-BlejmEU1.cjs';
|
|
41
41
|
export { T as TelemetryPort } from '../TelemetryPort.d-BDNr00hu.cjs';
|
|
42
42
|
export { E as ErrorPolicyPort } from '../ErrorPolicyPort.d-DirW9hgO.cjs';
|
|
43
43
|
export { C as CameraPort, a as CaptureOptions, M as MediaSource } from '../CameraPort.d-Cv31Pz7g.cjs';
|
|
44
44
|
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';
|
|
45
|
-
export { M as MintedToken, T as TokenProvider } from '../identity.d-
|
|
46
|
-
export { E as EverfurFaceStyle, b as EverfurThemeAdjustment, f as face, h as headingFace, p as previewTheme, c as themeAdjustments } from '../typeStyle.d-
|
|
47
|
-
import { E as EverfurThemeInput } from '../branding.d-
|
|
48
|
-
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, i as EverfurThemeFontFaceKey, j as EverfurThemeFontUrlsInput, k as EverfurThemeFontsInput, l as EverfurThemeSlotInput, m as EverfurThemeSlotsInput, p as expandAppearance } from '../branding.d-
|
|
49
|
-
import { d as EverfurFontWeight, n as EverfurTheme, a as EverfurFontFaceKey } from '../tokens.d-
|
|
50
|
-
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, o as EverfurThemeMeta, p as EverfurThemeSlot, q as EverfurThemeSlotKey, r as EverfurThemeSlotName, s as EverfurThemeSlots, w as EverfurTypeSizeTokens, x as EverfurTypeTokens, y as EverfurWeightTokens, T as THEME_SLOT_KEYS, z as THEME_SLOT_KEYS_BY_SLOT, A as THEME_SLOT_NAMES, D as themeSlotKeysFor } from '../tokens.d-
|
|
45
|
+
export { M as MintedToken, T as TokenProvider } from '../identity.d-Dg3l3zT5.cjs';
|
|
46
|
+
export { E as EverfurFaceStyle, b as EverfurThemeAdjustment, f as face, h as headingFace, p as previewTheme, c as themeAdjustments } from '../typeStyle.d-DmdB2TfH.cjs';
|
|
47
|
+
import { E as EverfurThemeInput } from '../branding.d-KOXyiUqX.cjs';
|
|
48
|
+
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, i as EverfurThemeFontFaceKey, j as EverfurThemeFontUrlsInput, k as EverfurThemeFontsInput, l as EverfurThemeSlotInput, m as EverfurThemeSlotsInput, p as expandAppearance } from '../branding.d-KOXyiUqX.cjs';
|
|
49
|
+
import { d as EverfurFontWeight, n as EverfurTheme, a as EverfurFontFaceKey } from '../tokens.d-DxM-tKjz.cjs';
|
|
50
|
+
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, o as EverfurThemeMeta, p as EverfurThemeSlot, q as EverfurThemeSlotKey, r as EverfurThemeSlotName, s as EverfurThemeSlots, w as EverfurTypeSizeTokens, x as EverfurTypeTokens, y as EverfurWeightTokens, T as THEME_SLOT_KEYS, z as THEME_SLOT_KEYS_BY_SLOT, A as THEME_SLOT_NAMES, D as themeSlotKeysFor } from '../tokens.d-DxM-tKjz.cjs';
|
|
51
51
|
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';
|
|
52
52
|
export { C as CanonicalPetSpecies, c as canonicalPetSpecies } from '../species.d-BXAIMh7I.cjs';
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
import '../
|
|
56
|
-
import '../
|
|
53
|
+
export { a as SdkConfigSnapshot, b as SdkConfigStatus } from '../sdkConfigStore.d-BHrzkVpP.cjs';
|
|
54
|
+
export { f as SDK_FIXED_STRINGS, S as SdkConfigV3, c as SdkFixedStringId, i as SdkFontFile, a as SdkSettings, l as SdkStateGate } from '../parse.d-DtHmpAMT.cjs';
|
|
55
|
+
import '../requestFunnel.d-fmBVWfsj.cjs';
|
|
56
|
+
import '../healthPlanRepository.d-B3je3K9s.cjs';
|
|
57
|
+
import '../layout.d-yLooG8Z0.cjs';
|
|
58
|
+
import '../focus.d-DkRwLTEB.cjs';
|
|
57
59
|
import '../models.d-BN53M9sU.cjs';
|
|
58
60
|
import '../clinicModels.d-BXgKZqDb.cjs';
|
|
59
61
|
import '../useRecords.d-BMSW4aRD.cjs';
|
|
60
62
|
import '../features.d-DrQxTw3-.cjs';
|
|
61
|
-
import '../screenProps.d-
|
|
62
|
-
import '../clinicBatch.d-
|
|
63
|
+
import '../screenProps.d-BfYg9Eaz.cjs';
|
|
64
|
+
import '../clinicBatch.d-h4AzQhUH.cjs';
|
|
63
65
|
import '../recordsAsk.d-C5CGSi3j.cjs';
|
|
64
66
|
import '../sheetSeam.d-B9iQqG_I.cjs';
|
|
65
67
|
|
|
@@ -202,15 +204,29 @@ interface EverfurChatProps {
|
|
|
202
204
|
*/
|
|
203
205
|
readonly composerSeed?: string;
|
|
204
206
|
/**
|
|
205
|
-
* Your app's lifecycle signals. Everfur has no socket
|
|
206
|
-
*
|
|
207
|
-
*
|
|
208
|
-
*
|
|
209
|
-
*
|
|
210
|
-
* `
|
|
211
|
-
*
|
|
207
|
+
* Your app's lifecycle signals. Everfur has no socket here, so a message the platform writes into the thread (a
|
|
208
|
+
* follow-up check-in, a reminder) shows when something re-reads it: the page becoming visible again, connectivity
|
|
209
|
+
* returning, a push you announce, and a short poll while the chat is on screen (`refreshIntervalMs`). Absent,
|
|
210
|
+
* Everfur uses the browser's own signals (visibility, the window `online` event, `navigator.onLine`) plus a push
|
|
211
|
+
* received by Everfur's service worker (see `createChatBrowserLifecycle`). Pass your own port to announce a push
|
|
212
|
+
* yourself (`onAnnounced`), or `null` to turn every re-read off, the poll included, in which case chat refreshes
|
|
213
|
+
* only when the user does something.
|
|
212
214
|
*/
|
|
213
215
|
readonly lifecycle?: LifecyclePort | null;
|
|
216
|
+
/**
|
|
217
|
+
* How often, in milliseconds, the open chat re-reads its thread while it is mounted and the page is visible, so a
|
|
218
|
+
* reply or a check-in the platform wrote shows without the member doing anything. Default 30 000 (30 s); the floor
|
|
219
|
+
* is 15 s (the refresh window), and a tick within it after another refresh does nothing. `null` turns the poll off
|
|
220
|
+
* and keeps the other signals.
|
|
221
|
+
*/
|
|
222
|
+
readonly refreshIntervalMs?: number | null;
|
|
223
|
+
/**
|
|
224
|
+
* Let the refresh signals and the poll also re-read the pet's thread list while NO thread is open (a blank
|
|
225
|
+
* chat), so a check-in the platform queues while the chat sits blank appears without the member doing anything.
|
|
226
|
+
* Default false, as before 1.2.0: a blank chat reads its list when it opens or starts a thread, and
|
|
227
|
+
* `openUnreadOnRefresh` (which needs the same read) turns this on by itself.
|
|
228
|
+
*/
|
|
229
|
+
readonly refreshesBlankThread?: boolean;
|
|
214
230
|
/**
|
|
215
231
|
* With no thread open (a blank chat), let a refresh (your app coming back, connectivity returning, a push you
|
|
216
232
|
* announce through `lifecycle`) open the newest thread when it has an unread reply, as the chat already does when
|
|
@@ -257,7 +273,7 @@ interface EverfurChatProps {
|
|
|
257
273
|
* (`shop.example.com`) or `*.` and a host for its subdomains (`*.example.com`). Any other address, and anything
|
|
258
274
|
* that is not https, stays plain text.
|
|
259
275
|
*/
|
|
260
|
-
readonly linkHosts?: readonly string[];
|
|
276
|
+
readonly linkHosts?: readonly string[] | false;
|
|
261
277
|
/**
|
|
262
278
|
* The heading level of the surface's own title (the empty thread's `What can we help {pet} with today?`),
|
|
263
279
|
* 1 to 6. Default 2: a drop-in widget does not claim your page's `<h1>`. Pass 1 when chat IS the page.
|
|
@@ -361,12 +377,11 @@ interface EverfurPoweredByProps {
|
|
|
361
377
|
/** Everfur's attribution where your design puts it; the chat then leaves out its own line. */
|
|
362
378
|
declare function EverfurPoweredBy({ children, className, style }: EverfurPoweredByProps): ReactNode;
|
|
363
379
|
|
|
364
|
-
/**
|
|
365
|
-
* The browser's lifecycle signals for EverfurChat: `visibilitychange` from hidden to visible is the foreground
|
|
366
|
-
* edge, the window `online` event is connectivity returning, and `navigator.onLine === false` reads as offline.
|
|
367
|
-
*/
|
|
368
380
|
declare function createBrowserLifecycle(): LifecyclePort;
|
|
369
381
|
|
|
382
|
+
/** The browser's signals plus a received push as the announcement: EverfurChat's lifecycle when the host passes none. */
|
|
383
|
+
declare function createChatBrowserLifecycle(): LifecyclePort;
|
|
384
|
+
|
|
370
385
|
/**
|
|
371
386
|
* Whether the member has unread Everfur chat for a pet (absent, the provider's active pet). Reads the pet's chat
|
|
372
387
|
* list on mount and when the page becomes visible again; a mounted `EverfurChat` keeps it current too. Every
|
|
@@ -578,4 +593,4 @@ declare function headingFaceCss(theme: EverfurTheme, fallback?: EverfurFontFaceK
|
|
|
578
593
|
*/
|
|
579
594
|
declare function createLocalStorageKv(): KvPort;
|
|
580
595
|
|
|
581
|
-
export { CapabilityDecision, CapabilityGate, type CapabilityGateProps, CapabilityName, ChatCheckinTarget, ChatFollowUpPolicy, ConversationId, EverfurChat, EverfurChatAnswerCards, EverfurChatDraftStore, EverfurChatEmptyHeaderContext, EverfurChatEmptyState, EverfurChatHistoryBar, EverfurChatHistorySheet, EverfurChatOpeningCard, type EverfurChatProps, EverfurChatTopCard, type EverfurFaceCss, EverfurFontFaceKey, EverfurFontWeight, EverfurPoweredBy, type EverfurPoweredByProps, EverfurPresentationInput, EverfurProvider, type EverfurProviderProps, EverfurProviderProps$1 as EverfurProviderSharedProps, EverfurRecordsLanded, EverfurRecordsRequested, EverfurStarterPrompt, EverfurTabId, EverfurTabs, type EverfurTabsChatProps, type EverfurTabsClassNames, EverfurTabsCopy, type EverfurTabsHandle, type EverfurTabsIntro, type EverfurTabsOpened, type EverfurTabsPlanProps, type EverfurTabsProps, type EverfurTabsRecordsProps, EverfurTheme, EverfurThemeInput, EverfurThemeProvider, type EverfurThemeProviderProps, EverfurUnreadState, FileHandle, KvPort, LifecyclePort, PetProfileInput, PetRef, UploadTransport, UrgencyDisplayLevel, UseEverfurUnreadOptions, type WebAttachmentTransportOptions, createBrowserLifecycle, createLocalStorageKv, createWebAttachmentTransport, faceCss, fileToAttachmentHandle, headingFaceCss, takeChatHandoffToken, useEverfurTabs, useEverfurUnread, useHostPoweredBy };
|
|
596
|
+
export { CapabilityDecision, CapabilityGate, type CapabilityGateProps, CapabilityName, ChatCheckinTarget, ChatFollowUpPolicy, ConversationId, EverfurChat, EverfurChatAnswerCards, EverfurChatDraftStore, EverfurChatEmptyHeaderContext, EverfurChatEmptyState, EverfurChatHistoryBar, EverfurChatHistorySheet, EverfurChatOpeningCard, type EverfurChatProps, EverfurChatTopCard, type EverfurFaceCss, EverfurFontFaceKey, EverfurFontWeight, EverfurPoweredBy, type EverfurPoweredByProps, EverfurPresentationInput, EverfurProvider, type EverfurProviderProps, EverfurProviderProps$1 as EverfurProviderSharedProps, EverfurRecordsLanded, EverfurRecordsRequested, EverfurStarterPrompt, EverfurTabId, EverfurTabs, type EverfurTabsChatProps, type EverfurTabsClassNames, EverfurTabsCopy, type EverfurTabsHandle, type EverfurTabsIntro, type EverfurTabsOpened, type EverfurTabsPlanProps, type EverfurTabsProps, type EverfurTabsRecordsProps, EverfurTheme, EverfurThemeInput, EverfurThemeProvider, type EverfurThemeProviderProps, EverfurUnreadState, FileHandle, KvPort, LifecyclePort, PetProfileInput, PetRef, UploadTransport, UrgencyDisplayLevel, UseEverfurUnreadOptions, type WebAttachmentTransportOptions, createBrowserLifecycle, createChatBrowserLifecycle, createLocalStorageKv, createWebAttachmentTransport, faceCss, fileToAttachmentHandle, headingFaceCss, takeChatHandoffToken, useEverfurTabs, useEverfurUnread, useHostPoweredBy };
|
package/dist/web/index.d.ts
CHANGED
|
@@ -1,65 +1,67 @@
|
|
|
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$1 } 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$1 } from '../context.d-CsoglkHv.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-CsoglkHv.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, i as UseEverfurUnreadOptions, d as EverfurUnreadState } from '../chatHandoffToken.d-
|
|
8
|
-
export { C as ChatFeedbackReason, a as ChatFeedbackReasonOption, c as ChatSentiment, e as UseChatAttachmentsOptions, f as UseChatAttachmentsState, g as UseEverfurChatState, h as UseEverfurPetsState, j as chatHandoffTokenFromUrl, u as useChatAttachments, k as useEverfurChat, l as useEverfurPets } from '../chatHandoffToken.d-
|
|
7
|
+
import { U as UrgencyDisplayLevel, E as EverfurChatDraftStore, b as ChatFollowUpPolicy, i as UseEverfurUnreadOptions, d as EverfurUnreadState } from '../chatHandoffToken.d-D8ziljrV.js';
|
|
8
|
+
export { C as ChatFeedbackReason, a as ChatFeedbackReasonOption, c as ChatSentiment, e as UseChatAttachmentsOptions, f as UseChatAttachmentsState, g as UseEverfurChatState, h as UseEverfurPetsState, j as chatHandoffTokenFromUrl, u as useChatAttachments, k as useEverfurChat, l as useEverfurPets } from '../chatHandoffToken.d-D8ziljrV.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 '../
|
|
12
|
-
export { C as ChatCheckin, b as ChatConversation, c as ChatConversationListOptions, d as ChatConversationPage, e as ChatFeedbackReceipt, f as ChatFeedbackType, g as ChatHistoryOptions, j as ChatMessage, h as ChatMessagePage, k as ChatMessageRole, l as ChatMessageSender, i as ChatRefreshOptions, m as ChatStatus, n as Citation, S as SendOptions } from '../
|
|
11
|
+
import { a as ChatCheckinTarget } from '../checkin.d-C6v2akWa.js';
|
|
12
|
+
export { C as ChatCheckin, b as ChatConversation, c as ChatConversationListOptions, d as ChatConversationPage, e as ChatFeedbackReceipt, f as ChatFeedbackType, g as ChatHistoryOptions, j as ChatMessage, h as ChatMessagePage, k as ChatMessageRole, l as ChatMessageSender, i as ChatRefreshOptions, m as ChatStatus, n as Citation, S as SendOptions } from '../checkin.d-C6v2akWa.js';
|
|
13
13
|
import { i as EverfurPresentationInput } from '../presentation.d-tJe7zo12.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-tJe7zo12.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-
|
|
17
|
-
import { L as LifecyclePort } from '../LifecyclePort.d-
|
|
15
|
+
import { P as PetProfileInput } from '../petsRepository.d-BvmFXjTc.js';
|
|
16
|
+
export { a as PetProfilePatch, R as RegisteredPet, W as WidgetPet, b as WidgetPetProfile } from '../petsRepository.d-BvmFXjTc.js';
|
|
17
|
+
import { L as LifecyclePort } from '../LifecyclePort.d-Cb9NtmP-.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 { b 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-BlpnY5xP.js';
|
|
20
|
+
export { g as EverfurChatAnswerCard, h as EverfurChatAnswerContext, i as EverfurChatFollowUpAction } from '../threadOptions.d-BlpnY5xP.js';
|
|
21
|
+
import { b as HealthPlanTopCardResults } from '../usePresentation.d-kSW7ttTl.js';
|
|
22
|
+
export { u as useEverfurPresentation } from '../usePresentation.d-kSW7ttTl.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,
|
|
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 FreeCapRefusal, H as HeartbeatFrame, i as HttpMethod, M as MultipartBody, T as TransportPort, U as UnknownFrame, j as UrgencyLevel } from '../config.d-Ds1iysW4.js';
|
|
26
|
+
export { C as CheckinAnswer, a as CheckinOutcome, W as WatchCase } from '../casesRepository.d-CsXp5ZbO.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
28
|
export { E as EverfurUnread, P as PresignedPolicy, U as UploadPort } from '../unreadStore.d-gCsleb6l.js';
|
|
29
|
-
export { A as AttachmentError, a as AttachmentErrorCode, b as AttachmentOutcome, c as AttachmentQueue, d as AttachmentState, e as AttachmentStatus } from '../attachments.d-
|
|
29
|
+
export { A as AttachmentError, a as AttachmentErrorCode, b as AttachmentOutcome, c as AttachmentQueue, d as AttachmentState, e as AttachmentStatus } from '../attachments.d-HxQiuR6k.js';
|
|
30
30
|
import { U as UploadTransport, F as FileHandle } from '../ports.d-BX4f4UsB.js';
|
|
31
31
|
export { b as FilePort, a as UploadPolicyWire } from '../ports.d-BX4f4UsB.js';
|
|
32
32
|
import { C as CaptureRecordsSignature } from '../clinicRequestProps.d-BuMuGoVZ.js';
|
|
33
|
-
import { E as EverfurRecordsPageProps } from '../RecordsPage.d-
|
|
34
|
-
import { E as EverfurIntroCopy, a as EverfurIntroBlank, b as EverfurRecordsRequested, d as EverfurRecordsLanded } from '../introEvents.d-
|
|
33
|
+
import { E as EverfurRecordsPageProps } from '../RecordsPage.d-BDZ8JRSw.js';
|
|
34
|
+
import { E as EverfurIntroCopy, a as EverfurIntroBlank, b as EverfurRecordsRequested, d as EverfurRecordsLanded } from '../introEvents.d-CmC7ag_3.js';
|
|
35
35
|
import { E as EverfurTabId, a as EverfurTabsCopy } from '../tabsModel.d-D9GWPFrL.js';
|
|
36
36
|
export { b as EVERFUR_TABS_COPY } from '../tabsModel.d-D9GWPFrL.js';
|
|
37
37
|
export { E as EVERFUR_RECORDS_LANDED_EVENT, a as EVERFUR_RECORDS_REQUESTED_EVENT } from '../introEvents.d-dS3fJCH1.js';
|
|
38
38
|
import { K as KvPort } from '../cacheEpoch.d-DknKn3S0.js';
|
|
39
39
|
export { I as ImageCachePort } from '../cacheEpoch.d-DknKn3S0.js';
|
|
40
|
-
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-
|
|
40
|
+
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-C6fYXNx2.js';
|
|
41
41
|
export { T as TelemetryPort } from '../TelemetryPort.d-BDNr00hu.js';
|
|
42
42
|
export { E as ErrorPolicyPort } from '../ErrorPolicyPort.d-68yrE3BE.js';
|
|
43
43
|
export { C as CameraPort, a as CaptureOptions, M as MediaSource } from '../CameraPort.d-Cv31Pz7g.js';
|
|
44
44
|
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';
|
|
45
|
-
export { M as MintedToken, T as TokenProvider } from '../identity.d-
|
|
46
|
-
export { E as EverfurFaceStyle, b as EverfurThemeAdjustment, f as face, h as headingFace, p as previewTheme, c as themeAdjustments } from '../typeStyle.d-
|
|
47
|
-
import { E as EverfurThemeInput } from '../branding.d-
|
|
48
|
-
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, i as EverfurThemeFontFaceKey, j as EverfurThemeFontUrlsInput, k as EverfurThemeFontsInput, l as EverfurThemeSlotInput, m as EverfurThemeSlotsInput, p as expandAppearance } from '../branding.d-
|
|
49
|
-
import { d as EverfurFontWeight, n as EverfurTheme, a as EverfurFontFaceKey } from '../tokens.d-
|
|
50
|
-
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, o as EverfurThemeMeta, p as EverfurThemeSlot, q as EverfurThemeSlotKey, r as EverfurThemeSlotName, s as EverfurThemeSlots, w as EverfurTypeSizeTokens, x as EverfurTypeTokens, y as EverfurWeightTokens, T as THEME_SLOT_KEYS, z as THEME_SLOT_KEYS_BY_SLOT, A as THEME_SLOT_NAMES, D as themeSlotKeysFor } from '../tokens.d-
|
|
45
|
+
export { M as MintedToken, T as TokenProvider } from '../identity.d-Bj7WLFXU.js';
|
|
46
|
+
export { E as EverfurFaceStyle, b as EverfurThemeAdjustment, f as face, h as headingFace, p as previewTheme, c as themeAdjustments } from '../typeStyle.d-Ma1uBgn-.js';
|
|
47
|
+
import { E as EverfurThemeInput } from '../branding.d-CNeG_CY3.js';
|
|
48
|
+
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, i as EverfurThemeFontFaceKey, j as EverfurThemeFontUrlsInput, k as EverfurThemeFontsInput, l as EverfurThemeSlotInput, m as EverfurThemeSlotsInput, p as expandAppearance } from '../branding.d-CNeG_CY3.js';
|
|
49
|
+
import { d as EverfurFontWeight, n as EverfurTheme, a as EverfurFontFaceKey } from '../tokens.d-DxM-tKjz.js';
|
|
50
|
+
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, o as EverfurThemeMeta, p as EverfurThemeSlot, q as EverfurThemeSlotKey, r as EverfurThemeSlotName, s as EverfurThemeSlots, w as EverfurTypeSizeTokens, x as EverfurTypeTokens, y as EverfurWeightTokens, T as THEME_SLOT_KEYS, z as THEME_SLOT_KEYS_BY_SLOT, A as THEME_SLOT_NAMES, D as themeSlotKeysFor } from '../tokens.d-DxM-tKjz.js';
|
|
51
51
|
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';
|
|
52
52
|
export { C as CanonicalPetSpecies, c as canonicalPetSpecies } from '../species.d-BXAIMh7I.js';
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
import '../
|
|
56
|
-
import '../
|
|
53
|
+
export { a as SdkConfigSnapshot, b as SdkConfigStatus } from '../sdkConfigStore.d-VPvsIL8E.js';
|
|
54
|
+
export { f as SDK_FIXED_STRINGS, S as SdkConfigV3, c as SdkFixedStringId, i as SdkFontFile, a as SdkSettings, l as SdkStateGate } from '../parse.d-DtHmpAMT.js';
|
|
55
|
+
import '../requestFunnel.d-D8UsEFed.js';
|
|
56
|
+
import '../healthPlanRepository.d-D8a8n9Jj.js';
|
|
57
|
+
import '../layout.d-BZbIqvZ_.js';
|
|
58
|
+
import '../focus.d-BmER-Wo9.js';
|
|
57
59
|
import '../models.d-Bhq9p6Wa.js';
|
|
58
60
|
import '../clinicModels.d-CaS64-P-.js';
|
|
59
61
|
import '../useRecords.d-Cv1nhZrv.js';
|
|
60
62
|
import '../features.d-DrQxTw3-.js';
|
|
61
|
-
import '../screenProps.d-
|
|
62
|
-
import '../clinicBatch.d-
|
|
63
|
+
import '../screenProps.d-Bp0vHiov.js';
|
|
64
|
+
import '../clinicBatch.d-DUCpGy47.js';
|
|
63
65
|
import '../recordsAsk.d-C5CGSi3j.js';
|
|
64
66
|
import '../sheetSeam.d-CtuKILqp.js';
|
|
65
67
|
|
|
@@ -202,15 +204,29 @@ interface EverfurChatProps {
|
|
|
202
204
|
*/
|
|
203
205
|
readonly composerSeed?: string;
|
|
204
206
|
/**
|
|
205
|
-
* Your app's lifecycle signals. Everfur has no socket
|
|
206
|
-
*
|
|
207
|
-
*
|
|
208
|
-
*
|
|
209
|
-
*
|
|
210
|
-
* `
|
|
211
|
-
*
|
|
207
|
+
* Your app's lifecycle signals. Everfur has no socket here, so a message the platform writes into the thread (a
|
|
208
|
+
* follow-up check-in, a reminder) shows when something re-reads it: the page becoming visible again, connectivity
|
|
209
|
+
* returning, a push you announce, and a short poll while the chat is on screen (`refreshIntervalMs`). Absent,
|
|
210
|
+
* Everfur uses the browser's own signals (visibility, the window `online` event, `navigator.onLine`) plus a push
|
|
211
|
+
* received by Everfur's service worker (see `createChatBrowserLifecycle`). Pass your own port to announce a push
|
|
212
|
+
* yourself (`onAnnounced`), or `null` to turn every re-read off, the poll included, in which case chat refreshes
|
|
213
|
+
* only when the user does something.
|
|
212
214
|
*/
|
|
213
215
|
readonly lifecycle?: LifecyclePort | null;
|
|
216
|
+
/**
|
|
217
|
+
* How often, in milliseconds, the open chat re-reads its thread while it is mounted and the page is visible, so a
|
|
218
|
+
* reply or a check-in the platform wrote shows without the member doing anything. Default 30 000 (30 s); the floor
|
|
219
|
+
* is 15 s (the refresh window), and a tick within it after another refresh does nothing. `null` turns the poll off
|
|
220
|
+
* and keeps the other signals.
|
|
221
|
+
*/
|
|
222
|
+
readonly refreshIntervalMs?: number | null;
|
|
223
|
+
/**
|
|
224
|
+
* Let the refresh signals and the poll also re-read the pet's thread list while NO thread is open (a blank
|
|
225
|
+
* chat), so a check-in the platform queues while the chat sits blank appears without the member doing anything.
|
|
226
|
+
* Default false, as before 1.2.0: a blank chat reads its list when it opens or starts a thread, and
|
|
227
|
+
* `openUnreadOnRefresh` (which needs the same read) turns this on by itself.
|
|
228
|
+
*/
|
|
229
|
+
readonly refreshesBlankThread?: boolean;
|
|
214
230
|
/**
|
|
215
231
|
* With no thread open (a blank chat), let a refresh (your app coming back, connectivity returning, a push you
|
|
216
232
|
* announce through `lifecycle`) open the newest thread when it has an unread reply, as the chat already does when
|
|
@@ -257,7 +273,7 @@ interface EverfurChatProps {
|
|
|
257
273
|
* (`shop.example.com`) or `*.` and a host for its subdomains (`*.example.com`). Any other address, and anything
|
|
258
274
|
* that is not https, stays plain text.
|
|
259
275
|
*/
|
|
260
|
-
readonly linkHosts?: readonly string[];
|
|
276
|
+
readonly linkHosts?: readonly string[] | false;
|
|
261
277
|
/**
|
|
262
278
|
* The heading level of the surface's own title (the empty thread's `What can we help {pet} with today?`),
|
|
263
279
|
* 1 to 6. Default 2: a drop-in widget does not claim your page's `<h1>`. Pass 1 when chat IS the page.
|
|
@@ -361,12 +377,11 @@ interface EverfurPoweredByProps {
|
|
|
361
377
|
/** Everfur's attribution where your design puts it; the chat then leaves out its own line. */
|
|
362
378
|
declare function EverfurPoweredBy({ children, className, style }: EverfurPoweredByProps): ReactNode;
|
|
363
379
|
|
|
364
|
-
/**
|
|
365
|
-
* The browser's lifecycle signals for EverfurChat: `visibilitychange` from hidden to visible is the foreground
|
|
366
|
-
* edge, the window `online` event is connectivity returning, and `navigator.onLine === false` reads as offline.
|
|
367
|
-
*/
|
|
368
380
|
declare function createBrowserLifecycle(): LifecyclePort;
|
|
369
381
|
|
|
382
|
+
/** The browser's signals plus a received push as the announcement: EverfurChat's lifecycle when the host passes none. */
|
|
383
|
+
declare function createChatBrowserLifecycle(): LifecyclePort;
|
|
384
|
+
|
|
370
385
|
/**
|
|
371
386
|
* Whether the member has unread Everfur chat for a pet (absent, the provider's active pet). Reads the pet's chat
|
|
372
387
|
* list on mount and when the page becomes visible again; a mounted `EverfurChat` keeps it current too. Every
|
|
@@ -578,4 +593,4 @@ declare function headingFaceCss(theme: EverfurTheme, fallback?: EverfurFontFaceK
|
|
|
578
593
|
*/
|
|
579
594
|
declare function createLocalStorageKv(): KvPort;
|
|
580
595
|
|
|
581
|
-
export { CapabilityDecision, CapabilityGate, type CapabilityGateProps, CapabilityName, ChatCheckinTarget, ChatFollowUpPolicy, ConversationId, EverfurChat, EverfurChatAnswerCards, EverfurChatDraftStore, EverfurChatEmptyHeaderContext, EverfurChatEmptyState, EverfurChatHistoryBar, EverfurChatHistorySheet, EverfurChatOpeningCard, type EverfurChatProps, EverfurChatTopCard, type EverfurFaceCss, EverfurFontFaceKey, EverfurFontWeight, EverfurPoweredBy, type EverfurPoweredByProps, EverfurPresentationInput, EverfurProvider, type EverfurProviderProps, EverfurProviderProps$1 as EverfurProviderSharedProps, EverfurRecordsLanded, EverfurRecordsRequested, EverfurStarterPrompt, EverfurTabId, EverfurTabs, type EverfurTabsChatProps, type EverfurTabsClassNames, EverfurTabsCopy, type EverfurTabsHandle, type EverfurTabsIntro, type EverfurTabsOpened, type EverfurTabsPlanProps, type EverfurTabsProps, type EverfurTabsRecordsProps, EverfurTheme, EverfurThemeInput, EverfurThemeProvider, type EverfurThemeProviderProps, EverfurUnreadState, FileHandle, KvPort, LifecyclePort, PetProfileInput, PetRef, UploadTransport, UrgencyDisplayLevel, UseEverfurUnreadOptions, type WebAttachmentTransportOptions, createBrowserLifecycle, createLocalStorageKv, createWebAttachmentTransport, faceCss, fileToAttachmentHandle, headingFaceCss, takeChatHandoffToken, useEverfurTabs, useEverfurUnread, useHostPoweredBy };
|
|
596
|
+
export { CapabilityDecision, CapabilityGate, type CapabilityGateProps, CapabilityName, ChatCheckinTarget, ChatFollowUpPolicy, ConversationId, EverfurChat, EverfurChatAnswerCards, EverfurChatDraftStore, EverfurChatEmptyHeaderContext, EverfurChatEmptyState, EverfurChatHistoryBar, EverfurChatHistorySheet, EverfurChatOpeningCard, type EverfurChatProps, EverfurChatTopCard, type EverfurFaceCss, EverfurFontFaceKey, EverfurFontWeight, EverfurPoweredBy, type EverfurPoweredByProps, EverfurPresentationInput, EverfurProvider, type EverfurProviderProps, EverfurProviderProps$1 as EverfurProviderSharedProps, EverfurRecordsLanded, EverfurRecordsRequested, EverfurStarterPrompt, EverfurTabId, EverfurTabs, type EverfurTabsChatProps, type EverfurTabsClassNames, EverfurTabsCopy, type EverfurTabsHandle, type EverfurTabsIntro, type EverfurTabsOpened, type EverfurTabsPlanProps, type EverfurTabsProps, type EverfurTabsRecordsProps, EverfurTheme, EverfurThemeInput, EverfurThemeProvider, type EverfurThemeProviderProps, EverfurUnreadState, FileHandle, KvPort, LifecyclePort, PetProfileInput, PetRef, UploadTransport, UrgencyDisplayLevel, UseEverfurUnreadOptions, type WebAttachmentTransportOptions, createBrowserLifecycle, createChatBrowserLifecycle, createLocalStorageKv, createWebAttachmentTransport, faceCss, fileToAttachmentHandle, headingFaceCss, takeChatHandoffToken, useEverfurTabs, useEverfurUnread, useHostPoweredBy };
|