@everfur/sdk 1.1.0 → 1.2.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 +70 -0
- package/dist/{Chat.d-CTVJ_qWQ.d.cts → Chat.d-C76mPD5M.d.cts} +1 -1
- package/dist/{Chat.d-Bt0fKiOQ.d.ts → Chat.d-Dn_DEpGG.d.ts} +1 -1
- package/dist/{DepthViews.d-Dq8eWBvw.d.cts → DepthViews.d-4teBIBu-.d.cts} +1 -1
- package/dist/{DepthViews.d-BIfqdrvX.d.ts → DepthViews.d-B5RHCzGS.d.ts} +1 -1
- package/dist/{DepthViews.d-BW3HrhnC.d.ts → DepthViews.d-DXGAGojW.d.ts} +1 -1
- package/dist/{DepthViews.d-BHb0Xb-C.d.cts → DepthViews.d-v6sBxjrf.d.cts} +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-CLrw-AvZ.d.cts → RecordsPage.d-BF4EIVKg.d.cts} +1 -1
- package/dist/{RecordsPage.d-Bs-dghTH.d.ts → RecordsPage.d-D2J5rMWk.d.ts} +1 -1
- package/dist/animations/index.d.cts +3 -3
- package/dist/animations/index.d.ts +3 -3
- package/dist/{attachments.d-DjxmIsNp.d.ts → attachments.d-CedhQFlI.d.ts} +1 -1
- package/dist/{attachments.d-DTGYmW8Y.d.cts → attachments.d-DMZ8xCT9.d.cts} +1 -1
- package/dist/{bookingCopy.d-CX-DMiwi.d.ts → bookingCopy.d-CnKq4gvc.d.ts} +2 -2
- package/dist/{bookingCopy.d-D952V8Tq.d.cts → bookingCopy.d-DJmo8fzQ.d.cts} +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-BcmH2Du1.d.cts} +1 -1
- package/dist/{casesRepository.d-CnJZlUZ4.d.ts → casesRepository.d-CG3psWUQ.d.ts} +1 -1
- package/dist/chat/index.cjs +19 -20
- package/dist/chat/index.d.cts +11 -11
- package/dist/chat/index.d.ts +11 -11
- package/dist/chat/index.js +20 -21
- package/dist/chat/lite/index.cjs +19 -20
- package/dist/chat/lite/index.d.cts +11 -11
- package/dist/chat/lite/index.d.ts +11 -11
- package/dist/chat/lite/index.js +20 -21
- package/dist/{chatHandoffToken.d-uKnSnIzN.d.cts → chatHandoffToken.d-BRODOPfQ.d.cts} +11 -6
- package/dist/{chatHandoffToken.d-BCEdhZpd.d.ts → chatHandoffToken.d-DETK_czu.d.ts} +11 -6
- package/dist/{chatTypes.d-DbdF3ij5.d.ts → checkin.d-CJoVeku7.d.ts} +69 -37
- package/dist/{chatTypes.d-CFyYBzps.d.cts → checkin.d-CQaV4WL2.d.cts} +69 -37
- package/dist/{chunk-5TWMQIT4.js → chunk-HGQOS366.js} +1 -1
- package/dist/{chunk-ZZTNGAS7.js → chunk-PSBCFPJG.js} +1 -1
- package/dist/{chunk-LWPM4GD3.js → chunk-PTO64HJN.js} +1 -1
- package/dist/{chunk-PDZTFXOO.js → chunk-QMYYV67E.js} +1 -1
- package/dist/client/index.cjs +15 -3
- package/dist/client/index.d.cts +82 -14
- package/dist/client/index.d.ts +82 -14
- package/dist/client/index.js +15 -3
- package/dist/{clinicBatch.d-C_kZtYt-.d.ts → clinicBatch.d-CSr_YFGU.d.ts} +2 -2
- package/dist/{clinicBatch.d-e3Cn5HhA.d.cts → clinicBatch.d-CyXyJab_.d.cts} +2 -2
- package/dist/{config.d--6siaeNg.d.ts → config.d-Bf15Q27G.d.ts} +1 -1
- package/dist/{config.d-Ba21AaZg.d.cts → config.d-D-7_tLb8.d.cts} +1 -1
- package/dist/consent/index.d.cts +5 -5
- package/dist/consent/index.d.ts +5 -5
- package/dist/{context.d-CzMV_7jD.d.cts → context.d-CCsGIBuw.d.cts} +6 -6
- package/dist/{context.d-Bl07_JGt.d.ts → context.d-CFFj57ZA.d.ts} +6 -6
- package/dist/{copy.d-GokMma80.d.ts → copy.d-Dan0WfJS.d.ts} +2 -2
- package/dist/{copy.d-zWWCn3wB.d.cts → copy.d-uQ8jl0d3.d.cts} +2 -2
- package/dist/core/index.cjs +7 -6
- package/dist/core/index.d.cts +18 -16
- package/dist/core/index.d.ts +18 -16
- package/dist/core/index.js +7 -6
- package/dist/{depth.d-De5pT7vA.d.cts → depth.d-DFPfFTPF.d.cts} +2 -2
- package/dist/{depth.d-C_HL8yAz.d.ts → depth.d-DFsi6qtf.d.ts} +2 -2
- package/dist/{entitlementRepository.d-DLMRDNUe.d.ts → entitlementRepository.d-BnvMk7Tc.d.ts} +4 -4
- package/dist/{entitlementRepository.d-B4ffomns.d.cts → entitlementRepository.d-t6g97KZm.d.cts} +4 -4
- package/dist/{focus.d-B0qweva0.d.cts → focus.d-BkPLN-2r.d.cts} +1 -1
- package/dist/{focus.d-7G0BBmA9.d.ts → focus.d-_6rD03Ap.d.ts} +1 -1
- package/dist/health-plan/index.cjs +3 -3
- package/dist/health-plan/index.d.cts +14 -14
- package/dist/health-plan/index.d.ts +14 -14
- package/dist/health-plan/index.js +3 -3
- package/dist/{healthPlanRepository.d-CdCyUWph.d.ts → healthPlanRepository.d-CuumbPDh.d.ts} +2 -2
- package/dist/{healthPlanRepository.d-fPbLceBr.d.cts → healthPlanRepository.d-D6qYjNMQ.d.cts} +2 -2
- package/dist/{idempotency.d-IDta7Jjj.d.cts → idempotency.d-BGhv20mx.d.cts} +1 -1
- package/dist/{idempotency.d-CoUlC-Yd.d.ts → idempotency.d-RxPkjLqJ.d.ts} +1 -1
- package/dist/{identity.d-B7dPRGqm.d.ts → identity.d--2ec4agf.d.ts} +1 -1
- package/dist/{identity.d-_MK9Y7a4.d.cts → identity.d-CFc4KrK0.d.cts} +1 -1
- package/dist/{inbox.d-CuuPTWyW.d.ts → inbox.d-B6kD0a9r.d.ts} +1 -1
- package/dist/{inbox.d-ChNXTovj.d.cts → inbox.d-CzIVX_ji.d.cts} +1 -1
- package/dist/index.cjs +28 -28
- package/dist/index.d.cts +20 -18
- package/dist/index.d.ts +20 -18
- package/dist/index.js +29 -29
- package/dist/{introEvents.d-JvAWRKYu.d.cts → introEvents.d-BUCbS8oX.d.cts} +1 -1
- package/dist/{introEvents.d-D6Ay0ORN.d.ts → introEvents.d-wshlRCrU.d.ts} +1 -1
- package/dist/{layout.d-D3d4QMeO.d.ts → layout.d-C8UKQW3I.d.ts} +2 -2
- package/dist/{layout.d-ByfOEhpG.d.cts → layout.d-ChcRUbC4.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 +1 -1
- package/dist/notifications/inbox/index.d.cts +7 -7
- package/dist/notifications/inbox/index.d.ts +7 -7
- package/dist/notifications/inbox/index.js +1 -1
- package/dist/notifications/index.d.cts +7 -7
- package/dist/notifications/index.d.ts +7 -7
- package/dist/{optInView.d-Bxvg0WLJ.d.cts → optInView.d-Cu3J440l.d.cts} +2 -2
- package/dist/{optInView.d-BpFTJaaX.d.ts → optInView.d-DbSRM8qR.d.ts} +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-BRNg79qq.d.cts} +1 -1
- package/dist/{pets.d-Br960ekh.d.ts → pets.d-CS21gvuN.d.ts} +1 -1
- package/dist/{petsRepository.d-CSOth5XE.d.ts → petsRepository.d-BRL_wPcE.d.ts} +1 -1
- package/dist/{petsRepository.d-Bj9rPnCr.d.cts → petsRepository.d-uMbhgEsh.d.cts} +1 -1
- package/dist/records/depth/index.d.cts +9 -9
- package/dist/records/depth/index.d.ts +9 -9
- package/dist/records/index.cjs +3 -3
- package/dist/records/index.d.cts +11 -11
- package/dist/records/index.d.ts +11 -11
- package/dist/records/index.js +3 -3
- package/dist/{requestFunnel.d-LSnmCusf.d.ts → requestFunnel.d-BDuYHZMa.d.ts} +2 -2
- package/dist/{requestFunnel.d-BwO-jFLX.d.cts → requestFunnel.d-BdTkSu0W.d.cts} +2 -2
- package/dist/{route.d-D70-OHBc.d.cts → route.d-BhfmB7Pl.d.cts} +2 -2
- package/dist/{route.d-Bzyamuxa.d.ts → route.d-HALH1t37.d.ts} +2 -2
- package/dist/{runtimeTypes.d-6nkdToBS.d.cts → runtimeTypes.d-BrEWaDPX.d.cts} +34 -6
- package/dist/{runtimeTypes.d-Byb55WsJ.d.ts → runtimeTypes.d-C7HFG1ev.d.ts} +34 -6
- package/dist/{screenProps.d-DB5IMaGZ.d.cts → screenProps.d-BjIsq_NY.d.cts} +1 -1
- package/dist/{screenProps.d-HGSPNGHt.d.ts → screenProps.d-C_q_3Lj7.d.ts} +1 -1
- package/dist/sdkConfigStore.d-BKqjpahR.d.ts +40 -0
- package/dist/sdkConfigStore.d-Cxj2n79d.d.cts +40 -0
- 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/slots/index.cjs +2 -2
- package/dist/slots/index.d.cts +6 -6
- package/dist/slots/index.d.ts +6 -6
- package/dist/slots/index.js +2 -2
- package/dist/tabs/index.cjs +78 -12
- package/dist/tabs/index.d.cts +129 -10
- package/dist/tabs/index.d.ts +129 -10
- package/dist/tabs/index.js +78 -12
- 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 +11 -9
- package/dist/testing/rn/index.d.ts +11 -9
- package/dist/testing/web/index.d.cts +11 -9
- package/dist/testing/web/index.d.ts +11 -9
- package/dist/texting/index.cjs +2 -2
- package/dist/texting/index.d.cts +22 -8
- package/dist/texting/index.d.ts +22 -8
- package/dist/texting/index.js +2 -2
- package/dist/{threadOptions.d-E-ZxhUSg.d.cts → threadOptions.d-RBSqklk5.d.cts} +5 -5
- package/dist/{threadOptions.d-Cjps2yaN.d.ts → threadOptions.d-Suof8GCE.d.ts} +5 -5
- package/dist/{timelineRows.d-CPS4admm.d.ts → timelineRows.d-CDA00bav.d.ts} +1 -1
- package/dist/{timelineRows.d-BJRCgmdv.d.cts → timelineRows.d-CXIvLZW0.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/{useHealthPlanSubscription.d-zjsvvlhz.d.cts → useHealthPlanSubscription.d-BJyHm00W.d.cts} +4 -4
- package/dist/{useHealthPlanSubscription.d-SQfx-45x.d.ts → useHealthPlanSubscription.d-mOHP3D8V.d.ts} +4 -4
- package/dist/{useInboxUnread.d-BxFKFU4o.d.ts → useInboxUnread.d-B6WPb-Qs.d.ts} +2 -2
- package/dist/{useInboxUnread.d-7p3IWs_A.d.cts → useInboxUnread.d-BZC4Td0f.d.cts} +2 -2
- package/dist/{usePresentation.d-DUHlQyV5.d.cts → usePresentation.d-BP8u0FS2.d.cts} +2 -2
- package/dist/{usePresentation.d-CoyGEJOl.d.ts → usePresentation.d-j0xDpOoe.d.ts} +2 -2
- package/dist/{useRecordsDepth.d-BinUa8W9.d.ts → useRecordsDepth.d-Cu7-cKAn.d.ts} +1 -1
- package/dist/{useRecordsDepth.d-Bk8BSerZ.d.cts → useRecordsDepth.d-CvxrlzGi.d.cts} +1 -1
- package/dist/{useUnread.d-D-p7oEW_.d.cts → useUnread.d-C4wKv3th.d.cts} +31 -17
- package/dist/{useUnread.d-CFzIPmZt.d.ts → useUnread.d-DMicYM85.d.ts} +31 -17
- package/dist/{view.d-CaH6dZPJ.d.ts → view.d-Bq7d05Pv.d.ts} +3 -3
- package/dist/{view.d-DV4b1cov.d.cts → view.d-odmWgaGw.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.cjs +5 -5
- 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 +5 -5
- package/dist/web/inbox/index.cjs +1 -1
- package/dist/web/inbox/index.d.cts +8 -8
- package/dist/web/inbox/index.d.ts +8 -8
- package/dist/web/inbox/index.js +1 -1
- package/dist/web/index.cjs +40 -40
- package/dist/web/index.d.cts +59 -44
- package/dist/web/index.d.ts +59 -44
- package/dist/web/index.js +40 -40
- package/dist/web/intro/index.d.cts +7 -7
- package/dist/web/intro/index.d.ts +7 -7
- package/dist/web/notifications/index.d.cts +6 -6
- package/dist/web/notifications/index.d.ts +6 -6
- 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.cjs +2 -2
- package/dist/web/records/index.d.cts +11 -11
- package/dist/web/records/index.d.ts +11 -11
- package/dist/web/records/index.js +2 -2
- package/dist/web/records-sheet/index.cjs +3 -3
- package/dist/web/records-sheet/index.js +3 -3
- package/dist/web/shop/index.cjs +1 -1
- package/dist/web/shop/index.d.cts +3 -3
- package/dist/web/shop/index.d.ts +3 -3
- package/dist/web/shop/index.js +1 -1
- package/dist/web/televet/booking/index.cjs +1 -1
- 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 +1 -1
- package/dist/web/televet/call/index.cjs +1 -1
- package/dist/web/televet/call/index.js +1 -1
- package/dist/web/texting/index.cjs +2 -2
- package/dist/web/texting/index.d.cts +22 -8
- package/dist/web/texting/index.d.ts +22 -8
- package/dist/web/texting/index.js +2 -2
- package/dist/web/ui/index.cjs +1 -1
- package/dist/web/ui/index.js +1 -1
- package/package.json +6 -2
|
@@ -3,11 +3,11 @@ import { ReactNode } from 'react';
|
|
|
3
3
|
import { StyleProp, ViewStyle } from 'react-native';
|
|
4
4
|
import { P as PetRef, C as ConversationId } from './ids.d-B2GAAifq.cjs';
|
|
5
5
|
import { i as EverfurPresentationInput } from './presentation.d-tJe7zo12.cjs';
|
|
6
|
-
import { a as ChatCheckinTarget } from './
|
|
7
|
-
import { W as WidgetPet, P as PetProfileInput } from './petsRepository.d-
|
|
6
|
+
import { a as ChatCheckinTarget } from './checkin.d-CQaV4WL2.cjs';
|
|
7
|
+
import { W as WidgetPet, P as PetProfileInput } from './petsRepository.d-uMbhgEsh.cjs';
|
|
8
8
|
import { E as EverfurStarterPrompt } from './quickPrompts.d-NM_81Jc1.cjs';
|
|
9
|
-
import { L as LifecyclePort } from './LifecyclePort.d-
|
|
10
|
-
import { U as UrgencyDisplayLevel, E as EverfurChatDraftStore, b as ChatFollowUpPolicy, i as UseEverfurUnreadOptions, d as EverfurUnreadState } from './chatHandoffToken.d-
|
|
9
|
+
import { L as LifecyclePort } from './LifecyclePort.d-Cb9NtmP-.cjs';
|
|
10
|
+
import { U as UrgencyDisplayLevel, E as EverfurChatDraftStore, b as ChatFollowUpPolicy, i as UseEverfurUnreadOptions, d as EverfurUnreadState } from './chatHandoffToken.d-BRODOPfQ.cjs';
|
|
11
11
|
import { F as FileHandle } from './ports.d-BX4f4UsB.cjs';
|
|
12
12
|
import { g as EverfurChatOpeningCard, a as EverfurChatAnswerCards, f as EverfurChatHistorySheet, e as EverfurChatHistoryBar, c as EverfurChatEmptyState } from './threadOptions.d-bEAFkIsC.cjs';
|
|
13
13
|
import { E as EverfurChatEmptyHeaderContext, a as EverfurChatTopCard } from './threadOptions.d-CW51PyVd.cjs';
|
|
@@ -120,15 +120,29 @@ interface EverfurChatProps {
|
|
|
120
120
|
*/
|
|
121
121
|
readonly composerSeed?: string;
|
|
122
122
|
/**
|
|
123
|
-
* Your app's lifecycle signals. Everfur has no socket
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
*
|
|
128
|
-
*
|
|
129
|
-
*
|
|
123
|
+
* Your app's lifecycle signals. Everfur has no socket here, so a message the platform writes into the thread (a
|
|
124
|
+
* follow-up check-in, a reminder) shows when something re-reads it: your app coming back to the foreground,
|
|
125
|
+
* connectivity returning, a push you announce, and a short poll while the chat is on screen (`refreshIntervalMs`).
|
|
126
|
+
* Absent, Everfur uses React Native's own signal (AppState returning to `active` from the background; see
|
|
127
|
+
* `createAppStateLifecycle`). Pass your own port to add connectivity or a push announcement (`onAnnounced`, call
|
|
128
|
+
* it when a chat push arrives), or `null` to turn every re-read off, the poll included, in which case chat
|
|
129
|
+
* refreshes only when the user does something.
|
|
130
130
|
*/
|
|
131
131
|
readonly lifecycle?: LifecyclePort | null;
|
|
132
|
+
/**
|
|
133
|
+
* How often, in milliseconds, the open chat re-reads its thread while it is mounted and your app is active, so a
|
|
134
|
+
* reply or a check-in the platform wrote shows without the member doing anything. Default 30 000 (30 s); the floor
|
|
135
|
+
* is 15 s (the refresh window), and a tick within it after another refresh does nothing. `null` turns the poll off
|
|
136
|
+
* and keeps the other signals.
|
|
137
|
+
*/
|
|
138
|
+
readonly refreshIntervalMs?: number | null;
|
|
139
|
+
/**
|
|
140
|
+
* Let the refresh signals and the poll also re-read the pet's thread list while NO thread is open (a blank
|
|
141
|
+
* chat), so a check-in the platform queues while the chat sits blank appears without the member doing anything.
|
|
142
|
+
* Default false, as before 1.2.0: a blank chat reads its list when it opens or starts a thread, and
|
|
143
|
+
* `openUnreadOnRefresh` (which needs the same read) turns this on by itself.
|
|
144
|
+
*/
|
|
145
|
+
readonly refreshesBlankThread?: boolean;
|
|
132
146
|
/**
|
|
133
147
|
* With no thread open (a blank chat), let a refresh (your app coming back, connectivity returning, a push you
|
|
134
148
|
* announce through `lifecycle`) open the newest thread when it has an unread reply, as the chat already does when
|
|
@@ -168,13 +182,13 @@ interface EverfurChatProps {
|
|
|
168
182
|
*/
|
|
169
183
|
readonly onOpenUrl?: (url: string, kind: 'citation' | 'message') => void | Promise<void>;
|
|
170
184
|
/**
|
|
171
|
-
*
|
|
172
|
-
*
|
|
173
|
-
*
|
|
174
|
-
* (
|
|
175
|
-
* that is not https, stays plain text.
|
|
185
|
+
* Which https addresses in a settled reply are links. Absent (the default), Everfur's own hosts (everfur.com and
|
|
186
|
+
* its subdomains) are links, so a follow-up the platform writes can be opened; given, those plus the hosts listed
|
|
187
|
+
* here. An entry is a host matched exactly (`shop.example.com`) or `*.` and a host for its subdomains
|
|
188
|
+
* (`*.example.com`). `false` turns every link off and leaves each address as plain text. Any other address, and
|
|
189
|
+
* anything that is not https, stays plain text.
|
|
176
190
|
*/
|
|
177
|
-
readonly linkHosts?: readonly string[];
|
|
191
|
+
readonly linkHosts?: readonly string[] | false;
|
|
178
192
|
/**
|
|
179
193
|
* How far the top of the view that holds this chat sits below the top of the screen, in points: React
|
|
180
194
|
* Native's `KeyboardAvoidingView` prop of the same name, which the chat's own avoiding view receives, so the
|
|
@@ -3,11 +3,11 @@ import { ReactNode } from 'react';
|
|
|
3
3
|
import { StyleProp, ViewStyle } from 'react-native';
|
|
4
4
|
import { P as PetRef, C as ConversationId } from './ids.d-B2GAAifq.js';
|
|
5
5
|
import { i as EverfurPresentationInput } from './presentation.d-tJe7zo12.js';
|
|
6
|
-
import { a as ChatCheckinTarget } from './
|
|
7
|
-
import { W as WidgetPet, P as PetProfileInput } from './petsRepository.d-
|
|
6
|
+
import { a as ChatCheckinTarget } from './checkin.d-CJoVeku7.js';
|
|
7
|
+
import { W as WidgetPet, P as PetProfileInput } from './petsRepository.d-BRL_wPcE.js';
|
|
8
8
|
import { E as EverfurStarterPrompt } from './quickPrompts.d-NM_81Jc1.js';
|
|
9
|
-
import { L as LifecyclePort } from './LifecyclePort.d-
|
|
10
|
-
import { U as UrgencyDisplayLevel, E as EverfurChatDraftStore, b as ChatFollowUpPolicy, i as UseEverfurUnreadOptions, d as EverfurUnreadState } from './chatHandoffToken.d-
|
|
9
|
+
import { L as LifecyclePort } from './LifecyclePort.d-Cb9NtmP-.js';
|
|
10
|
+
import { U as UrgencyDisplayLevel, E as EverfurChatDraftStore, b as ChatFollowUpPolicy, i as UseEverfurUnreadOptions, d as EverfurUnreadState } from './chatHandoffToken.d-DETK_czu.js';
|
|
11
11
|
import { F as FileHandle } from './ports.d-BX4f4UsB.js';
|
|
12
12
|
import { g as EverfurChatOpeningCard, a as EverfurChatAnswerCards, f as EverfurChatHistorySheet, e as EverfurChatHistoryBar, c as EverfurChatEmptyState } from './threadOptions.d-U5YBUKM-.js';
|
|
13
13
|
import { E as EverfurChatEmptyHeaderContext, a as EverfurChatTopCard } from './threadOptions.d-CW51PyVd.js';
|
|
@@ -120,15 +120,29 @@ interface EverfurChatProps {
|
|
|
120
120
|
*/
|
|
121
121
|
readonly composerSeed?: string;
|
|
122
122
|
/**
|
|
123
|
-
* Your app's lifecycle signals. Everfur has no socket
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
*
|
|
128
|
-
*
|
|
129
|
-
*
|
|
123
|
+
* Your app's lifecycle signals. Everfur has no socket here, so a message the platform writes into the thread (a
|
|
124
|
+
* follow-up check-in, a reminder) shows when something re-reads it: your app coming back to the foreground,
|
|
125
|
+
* connectivity returning, a push you announce, and a short poll while the chat is on screen (`refreshIntervalMs`).
|
|
126
|
+
* Absent, Everfur uses React Native's own signal (AppState returning to `active` from the background; see
|
|
127
|
+
* `createAppStateLifecycle`). Pass your own port to add connectivity or a push announcement (`onAnnounced`, call
|
|
128
|
+
* it when a chat push arrives), or `null` to turn every re-read off, the poll included, in which case chat
|
|
129
|
+
* refreshes only when the user does something.
|
|
130
130
|
*/
|
|
131
131
|
readonly lifecycle?: LifecyclePort | null;
|
|
132
|
+
/**
|
|
133
|
+
* How often, in milliseconds, the open chat re-reads its thread while it is mounted and your app is active, so a
|
|
134
|
+
* reply or a check-in the platform wrote shows without the member doing anything. Default 30 000 (30 s); the floor
|
|
135
|
+
* is 15 s (the refresh window), and a tick within it after another refresh does nothing. `null` turns the poll off
|
|
136
|
+
* and keeps the other signals.
|
|
137
|
+
*/
|
|
138
|
+
readonly refreshIntervalMs?: number | null;
|
|
139
|
+
/**
|
|
140
|
+
* Let the refresh signals and the poll also re-read the pet's thread list while NO thread is open (a blank
|
|
141
|
+
* chat), so a check-in the platform queues while the chat sits blank appears without the member doing anything.
|
|
142
|
+
* Default false, as before 1.2.0: a blank chat reads its list when it opens or starts a thread, and
|
|
143
|
+
* `openUnreadOnRefresh` (which needs the same read) turns this on by itself.
|
|
144
|
+
*/
|
|
145
|
+
readonly refreshesBlankThread?: boolean;
|
|
132
146
|
/**
|
|
133
147
|
* With no thread open (a blank chat), let a refresh (your app coming back, connectivity returning, a push you
|
|
134
148
|
* announce through `lifecycle`) open the newest thread when it has an unread reply, as the chat already does when
|
|
@@ -168,13 +182,13 @@ interface EverfurChatProps {
|
|
|
168
182
|
*/
|
|
169
183
|
readonly onOpenUrl?: (url: string, kind: 'citation' | 'message') => void | Promise<void>;
|
|
170
184
|
/**
|
|
171
|
-
*
|
|
172
|
-
*
|
|
173
|
-
*
|
|
174
|
-
* (
|
|
175
|
-
* that is not https, stays plain text.
|
|
185
|
+
* Which https addresses in a settled reply are links. Absent (the default), Everfur's own hosts (everfur.com and
|
|
186
|
+
* its subdomains) are links, so a follow-up the platform writes can be opened; given, those plus the hosts listed
|
|
187
|
+
* here. An entry is a host matched exactly (`shop.example.com`) or `*.` and a host for its subdomains
|
|
188
|
+
* (`*.example.com`). `false` turns every link off and leaves each address as plain text. Any other address, and
|
|
189
|
+
* anything that is not https, stays plain text.
|
|
176
190
|
*/
|
|
177
|
-
readonly linkHosts?: readonly string[];
|
|
191
|
+
readonly linkHosts?: readonly string[] | false;
|
|
178
192
|
/**
|
|
179
193
|
* How far the top of the view that holds this chat sits below the top of the screen, in points: React
|
|
180
194
|
* Native's `KeyboardAvoidingView` prop of the same name, which the chat's own avoiding view receives, so the
|
|
@@ -1,12 +1,12 @@
|
|
|
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 { E as EverfurError } from './EverfurError.d-8NHtlgzA.js';
|
|
3
3
|
import { P as PetRef } from './ids.d-B2GAAifq.js';
|
|
4
|
-
import { E as RecordMarkersView } from './depth.d-
|
|
5
|
-
import { R as RecordsDepthStatus } from './useRecordsDepth.d-
|
|
4
|
+
import { E as RecordMarkersView } from './depth.d-DFsi6qtf.js';
|
|
5
|
+
import { R as RecordsDepthStatus } from './useRecordsDepth.d-Cu7-cKAn.js';
|
|
6
6
|
import { E as EverfurResult } from './EverfurResult.d-D_-254ZY.js';
|
|
7
7
|
import { g as RecordPdfLink, i as RecordShareAudienceScope, R as RecordShareAudience, c as RecordShareLink, d as RecordShareEmailInput, e as RecordShareEmailReceipt } from './features.d-DrQxTw3-.js';
|
|
8
8
|
import { a as RecordEntity, e as RecordsRequestView } from './models.d-Bhq9p6Wa.js';
|
|
9
|
-
import { a as RecordsClinicBatchClient } from './clinicBatch.d-
|
|
9
|
+
import { a as RecordsClinicBatchClient } from './clinicBatch.d-CSr_YFGU.js';
|
|
10
10
|
import { R as RecordsClinicController } from './clinicRequestProps.d-BuMuGoVZ.js';
|
|
11
11
|
|
|
12
12
|
interface UseRecordsMarkersState {
|
|
@@ -1,12 +1,12 @@
|
|
|
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 { E as EverfurError } from './EverfurError.d-8NHtlgzA.cjs';
|
|
3
3
|
import { P as PetRef } from './ids.d-B2GAAifq.cjs';
|
|
4
|
-
import { E as RecordMarkersView } from './depth.d-
|
|
5
|
-
import { R as RecordsDepthStatus } from './useRecordsDepth.d-
|
|
4
|
+
import { E as RecordMarkersView } from './depth.d-DFPfFTPF.cjs';
|
|
5
|
+
import { R as RecordsDepthStatus } from './useRecordsDepth.d-CvxrlzGi.cjs';
|
|
6
6
|
import { E as EverfurResult } from './EverfurResult.d-BFH-3s6E.cjs';
|
|
7
7
|
import { g as RecordPdfLink, i as RecordShareAudienceScope, R as RecordShareAudience, c as RecordShareLink, d as RecordShareEmailInput, e as RecordShareEmailReceipt } from './features.d-DrQxTw3-.cjs';
|
|
8
8
|
import { a as RecordEntity, e as RecordsRequestView } from './models.d-BN53M9sU.cjs';
|
|
9
|
-
import { a as RecordsClinicBatchClient } from './clinicBatch.d-
|
|
9
|
+
import { a as RecordsClinicBatchClient } from './clinicBatch.d-CyXyJab_.cjs';
|
|
10
10
|
import { R as RecordsClinicController } from './clinicRequestProps.d-DjzUdDFx.cjs';
|
|
11
11
|
|
|
12
12
|
interface UseRecordsMarkersState {
|
|
@@ -1,15 +1,15 @@
|
|
|
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 EverfurConsentScope } from '../../copy.d-
|
|
4
|
-
export { C as CONSENT_COPY, a as CONSENT_SCOPE_COPY, b as CONSENT_VERSION_MAX, c as ConsentRepository, d as ConsentRepositoryDeps, e as ConsentRowView, f as ConsentRuntime, g as ConsentScopeCopy, h as EVERFUR_CONSENT_SCOPES, i as EverfurConsentDecision, j as EverfurConsentOptions, k as EverfurConsentScopeState, l as EverfurConsentState, m as EverfurConsentStatus, n as EverfurConsentVerdict, o as consentRowView, p as createConsentRepository, q as createConsentRepositoryOver, r as isEverfurConsentScope, u as useEverfurConsent, s as useEverfurConsentRepository } from '../../copy.d-
|
|
3
|
+
import { E as EverfurConsentScope } from '../../copy.d-uQ8jl0d3.cjs';
|
|
4
|
+
export { C as CONSENT_COPY, a as CONSENT_SCOPE_COPY, b as CONSENT_VERSION_MAX, c as ConsentRepository, d as ConsentRepositoryDeps, e as ConsentRowView, f as ConsentRuntime, g as ConsentScopeCopy, h as EVERFUR_CONSENT_SCOPES, i as EverfurConsentDecision, j as EverfurConsentOptions, k as EverfurConsentScopeState, l as EverfurConsentState, m as EverfurConsentStatus, n as EverfurConsentVerdict, o as consentRowView, p as createConsentRepository, q as createConsentRepositoryOver, r as isEverfurConsentScope, u as useEverfurConsent, s as useEverfurConsentRepository } from '../../copy.d-uQ8jl0d3.cjs';
|
|
5
5
|
import { E as EverfurError } from '../../EverfurError.d-8NHtlgzA.cjs';
|
|
6
6
|
export { a as EverfurErrorCategory, b as EverfurErrorCode } from '../../EverfurError.d-8NHtlgzA.cjs';
|
|
7
|
-
export { A as AuthContext, I as IdentityProvider, M as MintedToken, T as TokenProvider } from '../../identity.d-
|
|
8
|
-
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-
|
|
7
|
+
export { A as AuthContext, I as IdentityProvider, M as MintedToken, T as TokenProvider } from '../../identity.d-CFc4KrK0.cjs';
|
|
8
|
+
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-7_tLb8.cjs';
|
|
9
9
|
export { B as Brand, C as ConversationId, P as PetRef, R as RecordsRequestId, U as UserRef, _ as __brand } from '../../ids.d-B2GAAifq.cjs';
|
|
10
10
|
export { E as EverfurResult } from '../../EverfurResult.d-BFH-3s6E.cjs';
|
|
11
11
|
export { E as ErrorPolicyPort } from '../../ErrorPolicyPort.d-DirW9hgO.cjs';
|
|
12
|
-
import '../../requestFunnel.d-
|
|
12
|
+
import '../../requestFunnel.d-BdTkSu0W.cjs';
|
|
13
13
|
|
|
14
14
|
interface EverfurConsentToggleProps {
|
|
15
15
|
/** Which act this row is. One row is one act; two acts are two rows, never one switch. */
|
|
@@ -1,15 +1,15 @@
|
|
|
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 EverfurConsentScope } from '../../copy.d-
|
|
4
|
-
export { C as CONSENT_COPY, a as CONSENT_SCOPE_COPY, b as CONSENT_VERSION_MAX, c as ConsentRepository, d as ConsentRepositoryDeps, e as ConsentRowView, f as ConsentRuntime, g as ConsentScopeCopy, h as EVERFUR_CONSENT_SCOPES, i as EverfurConsentDecision, j as EverfurConsentOptions, k as EverfurConsentScopeState, l as EverfurConsentState, m as EverfurConsentStatus, n as EverfurConsentVerdict, o as consentRowView, p as createConsentRepository, q as createConsentRepositoryOver, r as isEverfurConsentScope, u as useEverfurConsent, s as useEverfurConsentRepository } from '../../copy.d-
|
|
3
|
+
import { E as EverfurConsentScope } from '../../copy.d-Dan0WfJS.js';
|
|
4
|
+
export { C as CONSENT_COPY, a as CONSENT_SCOPE_COPY, b as CONSENT_VERSION_MAX, c as ConsentRepository, d as ConsentRepositoryDeps, e as ConsentRowView, f as ConsentRuntime, g as ConsentScopeCopy, h as EVERFUR_CONSENT_SCOPES, i as EverfurConsentDecision, j as EverfurConsentOptions, k as EverfurConsentScopeState, l as EverfurConsentState, m as EverfurConsentStatus, n as EverfurConsentVerdict, o as consentRowView, p as createConsentRepository, q as createConsentRepositoryOver, r as isEverfurConsentScope, u as useEverfurConsent, s as useEverfurConsentRepository } from '../../copy.d-Dan0WfJS.js';
|
|
5
5
|
import { E as EverfurError } from '../../EverfurError.d-8NHtlgzA.js';
|
|
6
6
|
export { a as EverfurErrorCategory, b as EverfurErrorCode } from '../../EverfurError.d-8NHtlgzA.js';
|
|
7
|
-
export { A as AuthContext, I as IdentityProvider, M as MintedToken, T as TokenProvider } from '../../identity.d
|
|
8
|
-
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
|
|
7
|
+
export { A as AuthContext, I as IdentityProvider, M as MintedToken, T as TokenProvider } from '../../identity.d--2ec4agf.js';
|
|
8
|
+
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-Bf15Q27G.js';
|
|
9
9
|
export { B as Brand, C as ConversationId, P as PetRef, R as RecordsRequestId, U as UserRef, _ as __brand } from '../../ids.d-B2GAAifq.js';
|
|
10
10
|
export { E as EverfurResult } from '../../EverfurResult.d-D_-254ZY.js';
|
|
11
11
|
export { E as ErrorPolicyPort } from '../../ErrorPolicyPort.d-68yrE3BE.js';
|
|
12
|
-
import '../../requestFunnel.d-
|
|
12
|
+
import '../../requestFunnel.d-BDuYHZMa.js';
|
|
13
13
|
|
|
14
14
|
interface EverfurConsentToggleProps {
|
|
15
15
|
/** Which act this row is. One row is one act; two acts are two rows, never one switch. */
|