@everfur/sdk 1.4.0 → 1.5.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/README.md +2 -2
- package/dist/{Chat.d-BXuEjJsg.d.ts → Chat.d-BCfyvzX8.d.ts} +1 -1
- package/dist/{Chat.d-D9n8tSDD.d.cts → Chat.d-Od44h51D.d.cts} +1 -1
- package/dist/{DepthViews.d-PmjccZLr.d.cts → DepthViews.d-BGspxovy.d.cts} +1 -1
- package/dist/{DepthViews.d-aOChkwU2.d.ts → DepthViews.d-BIHVrf9r.d.ts} +1 -1
- package/dist/{DepthViews.d-ktxIIsnb.d.cts → DepthViews.d-BaLh7Lsi.d.cts} +1 -1
- package/dist/{DepthViews.d-CpF_Y_z9.d.ts → DepthViews.d-CEVk9poG.d.ts} +1 -1
- package/dist/ErrorPolicyPort.d-BIdmYQnk.d.cts +43 -0
- package/dist/ErrorPolicyPort.d-BnI5qWg4.d.ts +43 -0
- package/dist/{RecordsPage.d-BfMSOsg_.d.ts → RecordsPage.d-D10RIgdc.d.ts} +1 -1
- package/dist/{RecordsPage.d-DWjFpZs1.d.cts → RecordsPage.d-DbhYNSbq.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-DjWUR-h9.d.ts → attachments.d-BlukNfIf.d.ts} +2 -2
- package/dist/{attachments.d-Bsg6duaq.d.cts → attachments.d-CF4lLuGK.d.cts} +2 -2
- package/dist/{bookingCopy.d-ITpabqPr.d.ts → bookingCopy.d-BuDv16WP.d.ts} +12 -12
- package/dist/{bookingCopy.d-B39JAmIZ.d.cts → bookingCopy.d-rnBSqOSN.d.cts} +12 -12
- package/dist/{branding.d-Bzs4HJoN.d.cts → branding.d-CqDLKj1U.d.cts} +1 -1
- package/dist/{branding.d-CiC6xfGT.d.ts → branding.d-XrZYClN4.d.ts} +1 -1
- package/dist/{callCopy.d-Bw6oZT54.d.cts → callCopy.d-BQxpwXqT.d.cts} +3 -3
- package/dist/{callCopy.d-Bw6oZT54.d.ts → callCopy.d-BQxpwXqT.d.ts} +3 -3
- package/dist/{callRoom.d-B1DoYdJe.d.cts → callRoom.d-9Dm7XnUr.d.cts} +1 -1
- package/dist/{callRoom.d-Dqm1rUqT.d.ts → callRoom.d-t-khijDv.d.ts} +1 -1
- package/dist/{casesRepository.d-De4ZtgJ_.d.cts → casesRepository.d-CVuKTkJo.d.cts} +1 -1
- package/dist/{casesRepository.d-DsEeFd0F.d.ts → casesRepository.d-Dn1fK1b2.d.ts} +1 -1
- package/dist/chat/index.cjs +195 -195
- package/dist/chat/index.d.cts +14 -14
- package/dist/chat/index.d.ts +14 -14
- package/dist/chat/index.js +203 -203
- package/dist/chat/lite/index.cjs +206 -206
- package/dist/chat/lite/index.d.cts +14 -14
- package/dist/chat/lite/index.d.ts +14 -14
- package/dist/chat/lite/index.js +206 -206
- package/dist/{chatHandoffToken.d-sbumx0He.d.cts → chatHandoffToken.d-BjfmIxXk.d.cts} +7 -7
- package/dist/{chatHandoffToken.d-YJY6TZbj.d.ts → chatHandoffToken.d-CFiI6IMc.d.ts} +7 -7
- package/dist/{checkin.d-DxpoRutq.d.cts → checkin.d-BP3ZWBfX.d.cts} +19 -7
- package/dist/{checkin.d-C6vh9KVr.d.ts → checkin.d-CokpahFL.d.ts} +19 -7
- package/dist/{chunk-FZ6DAQFH.js → chunk-4KFFE42Z.js} +20 -20
- package/dist/{chunk-ZPIOCHKW.js → chunk-6IHY7HS7.js} +1 -1
- package/dist/{chunk-II4QDD6F.js → chunk-BMYNDBUR.js} +1 -1
- package/dist/{chunk-AJEELSFO.js → chunk-HHCGXQJR.js} +13 -13
- package/dist/client/index.cjs +31 -31
- package/dist/client/index.d.cts +24 -21
- package/dist/client/index.d.ts +24 -21
- package/dist/client/index.js +31 -31
- package/dist/{clinicBatch.d-B3YJc8IO.d.cts → clinicBatch.d-C0xx5L4j.d.cts} +3 -3
- package/dist/{clinicBatch.d-DhvQuPHV.d.ts → clinicBatch.d-DNi4UURs.d.ts} +3 -3
- package/dist/{config.d-DRoQ2lAx.d.ts → config.d-B7Z-KTGq.d.ts} +10 -2
- package/dist/{config.d-BiVy0fLx.d.cts → config.d-ClAI2RZ6.d.cts} +10 -2
- package/dist/consent/index.cjs +1 -1
- package/dist/consent/index.d.cts +6 -6
- package/dist/consent/index.d.ts +6 -6
- package/dist/consent/index.js +2 -2
- package/dist/{context.d-Cq2C4vdh.d.cts → context.d-Bj6-xYPA.d.cts} +13 -7
- package/dist/{context.d-D1l56nFr.d.ts → context.d-DS1GXUEY.d.ts} +13 -7
- package/dist/{copy.d-Ce_8KuZg.d.cts → copy.d--F5A9cXK.d.cts} +3 -3
- package/dist/{copy.d-BP36f_63.d.ts → copy.d-DmxuFJFe.d.ts} +3 -3
- package/dist/core/index.cjs +42 -41
- package/dist/core/index.d.cts +20 -20
- package/dist/core/index.d.ts +20 -20
- package/dist/core/index.js +42 -41
- package/dist/{depth.d-DzMMmRN4.d.ts → depth.d-CgzYE6_n.d.ts} +3 -3
- package/dist/{depth.d-BtlcIqPJ.d.cts → depth.d-DLaP0o8Y.d.cts} +3 -3
- package/dist/{entitlementRepository.d-x2YFdgYD.d.ts → entitlementRepository.d-CkUTlVAb.d.ts} +3 -3
- package/dist/{entitlementRepository.d-CEDU1gZE.d.cts → entitlementRepository.d-DVTp-BB9.d.cts} +3 -3
- package/dist/{focus.d-BX7oahFk.d.cts → focus.d-CLTjm6In.d.cts} +1 -1
- package/dist/{focus.d-armXecf0.d.ts → focus.d-u-HYvim0.d.ts} +1 -1
- package/dist/health-plan/index.cjs +1 -1
- package/dist/health-plan/index.d.cts +17 -17
- package/dist/health-plan/index.d.ts +17 -17
- package/dist/health-plan/index.js +1 -1
- package/dist/{healthPlanRepository.d-DBx7-NLE.d.cts → healthPlanRepository.d-B22kjrYa.d.cts} +3 -3
- package/dist/{healthPlanRepository.d-C7K9dJK5.d.ts → healthPlanRepository.d-CwRXeoM7.d.ts} +3 -3
- package/dist/{idempotency.d-Dak2-pON.d.cts → idempotency.d-CFVMhWcv.d.cts} +1 -1
- package/dist/{idempotency.d-symqJ8Tt.d.ts → idempotency.d-dOFfV91-.d.ts} +1 -1
- package/dist/{identity.d-DOKJFaiz.d.ts → identity.d-D4VtpqRr.d.ts} +1 -1
- package/dist/{identity.d-DIH9h3Le.d.cts → identity.d-DDpXOtas.d.cts} +1 -1
- package/dist/{inbox.d-AuGKeaZv.d.cts → inbox.d-CPcMMz-Y.d.cts} +2 -2
- package/dist/{inbox.d-B5b57OXc.d.ts → inbox.d-DJ9xgU1Z.d.ts} +2 -2
- package/dist/index.cjs +248 -247
- package/dist/index.d.cts +22 -22
- package/dist/index.d.ts +22 -22
- package/dist/index.js +247 -246
- package/dist/{introEvents.d-ehik7PEn.d.cts → introEvents.d-B7acmGwf.d.cts} +1 -1
- package/dist/{introEvents.d-S4Q4BOSt.d.ts → introEvents.d-DW3gLljE.d.ts} +1 -1
- package/dist/{layout.d-Bm2_1wa4.d.ts → layout.d-C8y_ki1V.d.ts} +1 -1
- package/dist/{layout.d-CFF-nBXf.d.cts → layout.d-DfaFM_lp.d.cts} +1 -1
- package/dist/{models.d-DOwpK1ZF.d.ts → models.d-BKmOfoqV.d.cts} +2 -2
- package/dist/{models.d-Su_BBBTW.d.cts → models.d-BULqCO2R.d.ts} +2 -2
- package/dist/notifications/inbox/index.cjs +9 -9
- package/dist/notifications/inbox/index.d.cts +7 -7
- package/dist/notifications/inbox/index.d.ts +7 -7
- package/dist/notifications/inbox/index.js +9 -9
- package/dist/notifications/index.cjs +3 -3
- package/dist/notifications/index.d.cts +8 -8
- package/dist/notifications/index.d.ts +8 -8
- package/dist/notifications/index.js +6 -6
- package/dist/{optInView.d-DbGx1A9R.d.cts → optInView.d-ByDJMrMv.d.cts} +13 -13
- package/dist/{optInView.d-xnIxCLlH.d.ts → optInView.d-DVshLxbD.d.ts} +13 -13
- package/dist/{parse.d-DtHmpAMT.d.cts → parse.d-BDZ7ffgj.d.cts} +4 -1
- package/dist/{parse.d-DtHmpAMT.d.ts → parse.d-BDZ7ffgj.d.ts} +4 -1
- package/dist/{pets.d-BEqKykpu.d.ts → pets.d-BpLObpfM.d.ts} +1 -1
- package/dist/{pets.d-BS6sLxY-.d.cts → pets.d-DXhzTNuI.d.cts} +1 -1
- package/dist/{petsRepository.d-iHrHkXM2.d.ts → petsRepository.d-_QfM7F6T.d.ts} +1 -1
- package/dist/{petsRepository.d-DB5CNKsK.d.cts → petsRepository.d-ai_tZ3lu.d.cts} +1 -1
- package/dist/photo/index.cjs +1 -1
- package/dist/photo/index.js +23 -23
- package/dist/{presentation.d-CWGjwq8Z.d.cts → presentation.d-BkIvMtIl.d.cts} +3 -3
- package/dist/{presentation.d-CWGjwq8Z.d.ts → presentation.d-BkIvMtIl.d.ts} +3 -3
- package/dist/records/depth/index.cjs +1 -1
- package/dist/records/depth/index.d.cts +10 -10
- package/dist/records/depth/index.d.ts +10 -10
- package/dist/records/depth/index.js +1 -1
- package/dist/records/index.cjs +2 -2
- package/dist/records/index.d.cts +13 -13
- package/dist/records/index.d.ts +13 -13
- package/dist/records/index.js +71 -71
- package/dist/{requestFunnel.d-SySe6xHp.d.cts → requestFunnel.d-BwZDfWVD.d.cts} +3 -3
- package/dist/{requestFunnel.d-CehftayS.d.ts → requestFunnel.d-DKBPTpsy.d.ts} +3 -3
- package/dist/{route.d-9wclfD-y.d.cts → route.d-DCzQh4ix.d.cts} +3 -3
- package/dist/{route.d-IP_gkOWL.d.ts → route.d-DSYEd2MR.d.ts} +3 -3
- package/dist/{runtimeTypes.d-BdUe3tYs.d.ts → runtimeTypes.d-BzUig75K.d.ts} +15 -11
- package/dist/{runtimeTypes.d-_UZ6rMUY.d.cts → runtimeTypes.d-CL4l7ta4.d.cts} +15 -11
- package/dist/{screenProps.d-Bd2yphad.d.cts → screenProps.d-6xmE1C-V.d.cts} +2 -2
- package/dist/{screenProps.d-D9Vi-Afl.d.ts → screenProps.d-fHBKArt_.d.ts} +2 -2
- package/dist/{sdkConfigStore.d-VPvsIL8E.d.ts → sdkConfigStore.d-BNCVVEWC.d.ts} +1 -1
- package/dist/{sdkConfigStore.d-BHrzkVpP.d.cts → sdkConfigStore.d-C2BAr9kI.d.cts} +1 -1
- package/dist/server/events/index.cjs +4 -4
- package/dist/server/events/index.d.cts +2 -2
- package/dist/server/events/index.d.ts +2 -2
- package/dist/server/events/index.js +4 -4
- package/dist/server/index.cjs +9 -9
- package/dist/server/index.d.cts +18 -4
- package/dist/server/index.d.ts +18 -4
- package/dist/server/index.js +9 -9
- package/dist/shop/index.d.cts +3 -3
- package/dist/shop/index.d.ts +3 -3
- package/dist/slots/index.cjs +1 -1
- package/dist/slots/index.d.cts +6 -6
- package/dist/slots/index.d.ts +6 -6
- package/dist/slots/index.js +1 -1
- package/dist/tabs/index.cjs +88 -85
- package/dist/tabs/index.d.cts +15 -15
- package/dist/tabs/index.d.ts +15 -15
- package/dist/tabs/index.js +87 -84
- package/dist/televet/booking/index.cjs +41 -41
- package/dist/televet/booking/index.d.cts +8 -8
- package/dist/televet/booking/index.d.ts +8 -8
- package/dist/televet/booking/index.js +4 -4
- package/dist/televet/call/index.d.cts +2 -2
- package/dist/televet/call/index.d.ts +2 -2
- package/dist/televet/index.cjs +1 -1
- package/dist/televet/index.js +1 -1
- 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.cjs +8 -8
- package/dist/testing/rn/index.d.cts +13 -13
- package/dist/testing/rn/index.d.ts +13 -13
- package/dist/testing/rn/index.js +9 -9
- package/dist/testing/web/index.cjs +3 -3
- package/dist/testing/web/index.d.cts +13 -13
- package/dist/testing/web/index.d.ts +13 -13
- package/dist/testing/web/index.js +1 -1
- package/dist/texting/index.cjs +1 -1
- package/dist/texting/index.d.cts +6 -6
- package/dist/texting/index.d.ts +6 -6
- package/dist/texting/index.js +26 -26
- package/dist/{threadOptions.d-bEAFkIsC.d.cts → threadOptions.d-Bqy5d5Fx.d.cts} +1 -1
- package/dist/{threadOptions.d-U5YBUKM-.d.ts → threadOptions.d-DOEIpk1t.d.ts} +1 -1
- package/dist/{threadOptions.d-BW0rePcs.d.cts → threadOptions.d-Dc57dm7h.d.cts} +7 -7
- package/dist/{threadOptions.d-CrAb71J2.d.ts → threadOptions.d-NSlFx-Lp.d.ts} +7 -7
- package/dist/{timelineRows.d-DXppCSCg.d.cts → timelineRows.d-7w8NsNi4.d.cts} +1 -1
- package/dist/{timelineRows.d-9Uhf4q5d.d.ts → timelineRows.d-CthNM5hV.d.ts} +1 -1
- package/dist/{typeStyle.d-rzVzCfLz.d.ts → typeStyle.d-8mcLhtbH.d.ts} +1 -1
- package/dist/{typeStyle.d-B-YgiWcS.d.cts → typeStyle.d-CLrQZW-r.d.cts} +1 -1
- package/dist/{unreadStore.d-gCsleb6l.d.ts → unreadStore.d-CLnChKca.d.ts} +17 -9
- package/dist/{unreadStore.d-w5x6lEpR.d.cts → unreadStore.d-Donv4bcF.d.cts} +17 -9
- package/dist/{useHealthPlanSubscription.d-CRBPMlsc.d.ts → useHealthPlanSubscription.d-CV7M21HS.d.ts} +3 -3
- package/dist/{useHealthPlanSubscription.d-DfjTYv1u.d.cts → useHealthPlanSubscription.d-SA9-SuKe.d.cts} +3 -3
- package/dist/{useInboxUnread.d-CP3KwSkn.d.ts → useInboxUnread.d-CXiaR3BZ.d.ts} +1 -1
- package/dist/{useInboxUnread.d-DiE_NbtS.d.cts → useInboxUnread.d-DERpMelw.d.cts} +1 -1
- package/dist/{usePresentation.d-DefUwatV.d.cts → usePresentation.d-BJzFicRQ.d.cts} +3 -3
- package/dist/{usePresentation.d-w5_oWKmh.d.ts → usePresentation.d-DgSGIWS-.d.ts} +3 -3
- package/dist/{useRecordsDepth.d-l6D0ZS4l.d.cts → useRecordsDepth.d-C9W45gwS.d.cts} +1 -1
- package/dist/{useRecordsDepth.d-DG2GiAyt.d.ts → useRecordsDepth.d-ZX2rhcUx.d.ts} +1 -1
- package/dist/{useUnread.d-xDOpYyqx.d.ts → useUnread.d-CedFK4k6.d.ts} +5 -5
- package/dist/{useUnread.d-DeRDFtTb.d.cts → useUnread.d-DST1GMmL.d.cts} +5 -5
- package/dist/video/index.cjs +1 -1
- package/dist/video/index.js +1 -1
- package/dist/{view.d-ufGX_MKK.d.cts → view.d-3lxzyJlL.d.cts} +6 -6
- package/dist/{view.d-iTInze7B.d.ts → view.d-DRiYNQJ8.d.ts} +6 -6
- package/dist/web/consent/index.cjs +3 -3
- package/dist/web/consent/index.d.cts +6 -6
- package/dist/web/consent/index.d.ts +6 -6
- package/dist/web/consent/index.js +5 -5
- package/dist/web/health-plan/index.cjs +2 -2
- package/dist/web/health-plan/index.d.cts +17 -17
- package/dist/web/health-plan/index.d.ts +17 -17
- package/dist/web/health-plan/index.js +1 -1
- package/dist/web/inbox/index.cjs +5 -5
- package/dist/web/inbox/index.d.cts +9 -8
- package/dist/web/inbox/index.d.ts +9 -8
- package/dist/web/inbox/index.js +5 -5
- package/dist/web/index.cjs +196 -195
- package/dist/web/index.d.cts +34 -34
- package/dist/web/index.d.ts +34 -34
- package/dist/web/index.js +196 -195
- package/dist/web/intro/index.cjs +10 -10
- package/dist/web/intro/index.d.cts +8 -8
- package/dist/web/intro/index.d.ts +8 -8
- package/dist/web/intro/index.js +6 -6
- package/dist/web/notifications/index.cjs +5 -5
- package/dist/web/notifications/index.d.cts +7 -7
- package/dist/web/notifications/index.d.ts +7 -7
- package/dist/web/notifications/index.js +1 -1
- package/dist/web/records/depth/index.cjs +1 -1
- package/dist/web/records/depth/index.d.cts +10 -10
- package/dist/web/records/depth/index.d.ts +10 -10
- package/dist/web/records/depth/index.js +1 -1
- package/dist/web/records/index.cjs +1 -1
- package/dist/web/records/index.d.cts +13 -13
- package/dist/web/records/index.d.ts +13 -13
- package/dist/web/records/index.js +1 -1
- package/dist/web/records-sheet/index.cjs +2 -2
- package/dist/web/records-sheet/index.js +2 -2
- 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 +15 -15
- package/dist/web/televet/booking/index.cjs +7 -7
- package/dist/web/televet/booking/index.d.cts +9 -9
- package/dist/web/televet/booking/index.d.ts +9 -9
- package/dist/web/televet/booking/index.js +69 -69
- package/dist/web/televet/call/index.cjs +1 -1
- package/dist/web/televet/call/index.d.cts +2 -2
- package/dist/web/televet/call/index.d.ts +2 -2
- package/dist/web/televet/call/index.js +1 -1
- package/dist/web/televet/index.cjs +6 -6
- package/dist/web/televet/index.js +1 -1
- package/dist/web/texting/index.cjs +1 -1
- package/dist/web/texting/index.d.cts +6 -6
- package/dist/web/texting/index.d.ts +6 -6
- package/dist/web/texting/index.js +1 -1
- package/dist/web/ui/index.cjs +1 -1
- package/dist/web/ui/index.js +32 -32
- package/package.json +1 -32
- package/dist/ErrorPolicyPort.d-68yrE3BE.d.ts +0 -23
- package/dist/ErrorPolicyPort.d-DirW9hgO.d.cts +0 -23
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
import { E as EverfurError } from './EverfurError.d-8NHtlgzA.cjs';
|
|
3
3
|
import { E as EverfurResult } from './EverfurResult.d-BFH-3s6E.cjs';
|
|
4
4
|
import { C as ConversationId, P as PetRef, b as ResponseId } from './ids.d-B2GAAifq.cjs';
|
|
5
|
-
import { f as ChatFeedbackType, m as ChatStatus, j as ChatMessage, c as ChatConversationListOptions, d as ChatConversationPage, g as ChatHistoryOptions, h as ChatMessagePage, u as ChatPendingCheckin, a as ChatCheckinTarget, i as ChatRefreshOptions, e as ChatFeedbackReceipt } from './checkin.d-
|
|
6
|
-
import { C as CheckinAnswer, a as CheckinOutcome } from './casesRepository.d-
|
|
7
|
-
import { j as UrgencyLevel } from './config.d-
|
|
8
|
-
import { W as WidgetPet } from './petsRepository.d-
|
|
5
|
+
import { f as ChatFeedbackType, m as ChatStatus, j as ChatMessage, c as ChatConversationListOptions, d as ChatConversationPage, g as ChatHistoryOptions, h as ChatMessagePage, u as ChatPendingCheckin, a as ChatCheckinTarget, i as ChatRefreshOptions, e as ChatFeedbackReceipt } from './checkin.d-BP3ZWBfX.cjs';
|
|
6
|
+
import { C as CheckinAnswer, a as CheckinOutcome } from './casesRepository.d-CVuKTkJo.cjs';
|
|
7
|
+
import { j as UrgencyLevel } from './config.d-ClAI2RZ6.cjs';
|
|
8
|
+
import { W as WidgetPet } from './petsRepository.d-ai_tZ3lu.cjs';
|
|
9
9
|
import { U as UploadTransport, F as FileHandle } from './ports.d-BX4f4UsB.cjs';
|
|
10
|
-
import { c as AttachmentQueue, d as AttachmentState, A as AttachmentError, b as AttachmentOutcome } from './attachments.d-
|
|
11
|
-
import { E as EverfurUnread } from './unreadStore.d-
|
|
10
|
+
import { c as AttachmentQueue, d as AttachmentState, A as AttachmentError, b as AttachmentOutcome } from './attachments.d-CF4lLuGK.cjs';
|
|
11
|
+
import { E as EverfurUnread } from './unreadStore.d-Donv4bcF.cjs';
|
|
12
12
|
import { L as LifecyclePort } from './LifecyclePort.d-Cb9NtmP-.cjs';
|
|
13
13
|
|
|
14
14
|
/** A rating. The footer draws `'up'` and `'down'`; `'neutral'` is still a rating the wire and the hook accept. */
|
|
@@ -221,7 +221,7 @@ interface UseChatAttachmentsState {
|
|
|
221
221
|
* True while any row FAILED to upload. The send is blocked on this too, because the alternative is the
|
|
222
222
|
* silent drop: `s3Keys` names only the rows that landed and the strip is cleared on dispatch, so a send here
|
|
223
223
|
* would post the message without the photo the owner picked and leave nothing behind to say so. The consumer
|
|
224
|
-
* app blocks the same way (
|
|
224
|
+
* app blocks the same way (the consumer mobile app `useAuthenticatedReportChat.ts`, the `blockingAttachment` guard).
|
|
225
225
|
*/
|
|
226
226
|
readonly failed: boolean;
|
|
227
227
|
/**
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
import { E as EverfurError } from './EverfurError.d-8NHtlgzA.js';
|
|
3
3
|
import { E as EverfurResult } from './EverfurResult.d-D_-254ZY.js';
|
|
4
4
|
import { C as ConversationId, P as PetRef, b as ResponseId } from './ids.d-B2GAAifq.js';
|
|
5
|
-
import { f as ChatFeedbackType, m as ChatStatus, j as ChatMessage, c as ChatConversationListOptions, d as ChatConversationPage, g as ChatHistoryOptions, h as ChatMessagePage, u as ChatPendingCheckin, a as ChatCheckinTarget, i as ChatRefreshOptions, e as ChatFeedbackReceipt } from './checkin.d-
|
|
6
|
-
import { C as CheckinAnswer, a as CheckinOutcome } from './casesRepository.d-
|
|
7
|
-
import { j as UrgencyLevel } from './config.d-
|
|
8
|
-
import { W as WidgetPet } from './petsRepository.d-
|
|
5
|
+
import { f as ChatFeedbackType, m as ChatStatus, j as ChatMessage, c as ChatConversationListOptions, d as ChatConversationPage, g as ChatHistoryOptions, h as ChatMessagePage, u as ChatPendingCheckin, a as ChatCheckinTarget, i as ChatRefreshOptions, e as ChatFeedbackReceipt } from './checkin.d-CokpahFL.js';
|
|
6
|
+
import { C as CheckinAnswer, a as CheckinOutcome } from './casesRepository.d-Dn1fK1b2.js';
|
|
7
|
+
import { j as UrgencyLevel } from './config.d-B7Z-KTGq.js';
|
|
8
|
+
import { W as WidgetPet } from './petsRepository.d-_QfM7F6T.js';
|
|
9
9
|
import { U as UploadTransport, F as FileHandle } from './ports.d-BX4f4UsB.js';
|
|
10
|
-
import { c as AttachmentQueue, d as AttachmentState, A as AttachmentError, b as AttachmentOutcome } from './attachments.d-
|
|
11
|
-
import { E as EverfurUnread } from './unreadStore.d-
|
|
10
|
+
import { c as AttachmentQueue, d as AttachmentState, A as AttachmentError, b as AttachmentOutcome } from './attachments.d-BlukNfIf.js';
|
|
11
|
+
import { E as EverfurUnread } from './unreadStore.d-CLnChKca.js';
|
|
12
12
|
import { L as LifecyclePort } from './LifecyclePort.d-Cb9NtmP-.js';
|
|
13
13
|
|
|
14
14
|
/** A rating. The footer draws `'up'` and `'down'`; `'neutral'` is still a rating the wire and the hook accept. */
|
|
@@ -221,7 +221,7 @@ interface UseChatAttachmentsState {
|
|
|
221
221
|
* True while any row FAILED to upload. The send is blocked on this too, because the alternative is the
|
|
222
222
|
* silent drop: `s3Keys` names only the rows that landed and the strip is cleared on dispatch, so a send here
|
|
223
223
|
* would post the message without the photo the owner picked and leave nothing behind to say so. The consumer
|
|
224
|
-
* app blocks the same way (
|
|
224
|
+
* app blocks the same way (the consumer mobile app `useAuthenticatedReportChat.ts`, the `blockingAttachment` guard).
|
|
225
225
|
*/
|
|
226
226
|
readonly failed: boolean;
|
|
227
227
|
/**
|
|
@@ -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
|
-
import { C as CheckinAnswer, a as CheckinOutcome } from './casesRepository.d-
|
|
2
|
+
import { C as CheckinAnswer, a as CheckinOutcome } from './casesRepository.d-CVuKTkJo.cjs';
|
|
3
3
|
import { P as PetRef, C as ConversationId, b as ResponseId } from './ids.d-B2GAAifq.cjs';
|
|
4
|
-
import { A as AuthContext } from './identity.d-
|
|
4
|
+
import { A as AuthContext } from './identity.d-DDpXOtas.cjs';
|
|
5
5
|
import { E as EverfurError } from './EverfurError.d-8NHtlgzA.cjs';
|
|
6
6
|
import { E as EverfurResult } from './EverfurResult.d-BFH-3s6E.cjs';
|
|
7
|
-
import { R as RequestFunnel } from './requestFunnel.d-
|
|
8
|
-
import { j as UrgencyLevel, F as Frame } from './config.d-
|
|
9
|
-
import { E as ErrorPolicyPort } from './ErrorPolicyPort.d-
|
|
7
|
+
import { R as RequestFunnel } from './requestFunnel.d-BwZDfWVD.cjs';
|
|
8
|
+
import { j as UrgencyLevel, F as Frame } from './config.d-ClAI2RZ6.cjs';
|
|
9
|
+
import { E as ErrorPolicyPort } from './ErrorPolicyPort.d-BIdmYQnk.cjs';
|
|
10
10
|
import { T as TelemetryPort } from './TelemetryPort.d-BDNr00hu.cjs';
|
|
11
11
|
|
|
12
12
|
/** Injectable timers so the watchdog + deadlines are testable with a fake clock (no direct setTimeout). */
|
|
@@ -241,14 +241,19 @@ interface ChatControllerDeps {
|
|
|
241
241
|
/** Heard when a send goes into a conversation the server created for it (the runtime's `conversation_started`). */
|
|
242
242
|
readonly onConversationStarted?: (id: ConversationId) => void;
|
|
243
243
|
/**
|
|
244
|
-
* The runtime's unread store (`useEverfurUnread`), told about every
|
|
245
|
-
*
|
|
244
|
+
* The runtime's unread store (`useEverfurUnread`), told about every first-page read of the list and every read
|
|
245
|
+
* receipt: `reportPage` with the page's rows (newest first; none for an empty list) when it has it, else
|
|
246
|
+
* `reportHead` with the first row (null for an empty list).
|
|
246
247
|
*/
|
|
247
248
|
readonly unread?: {
|
|
248
249
|
reportHead(petRef: PetRef | null, head: {
|
|
249
250
|
readonly id: ConversationId;
|
|
250
251
|
readonly unreadCount: number | null;
|
|
251
252
|
} | null): void;
|
|
253
|
+
reportPage?(petRef: PetRef | null, rows: readonly {
|
|
254
|
+
readonly id: ConversationId;
|
|
255
|
+
readonly unreadCount: number | null;
|
|
256
|
+
}[]): void;
|
|
252
257
|
reportRead(conversationId: ConversationId): void;
|
|
253
258
|
};
|
|
254
259
|
}
|
|
@@ -265,6 +270,13 @@ interface ChatRefreshOptions {
|
|
|
265
270
|
* own poll asks for it. Default false: with a thread on screen only the messages read's failure is the call's.
|
|
266
271
|
*/
|
|
267
272
|
readonly reportLoadFailures?: boolean;
|
|
273
|
+
/**
|
|
274
|
+
* The chat is on screen: when the re-read finds unread messages in the thread on screen, send its read receipt
|
|
275
|
+
* (`POST /widget/v1/conversations/{id}/read`). Default false: nothing is marked read, so a refresh made while
|
|
276
|
+
* the chat is hidden leaves a new line unread for the badge. The prebuilt chat passes it only while its lifecycle
|
|
277
|
+
* port's `isVisible` (or the platform's own answer) says the chat is visible.
|
|
278
|
+
*/
|
|
279
|
+
readonly markRead?: boolean;
|
|
268
280
|
}
|
|
269
281
|
interface ChatController {
|
|
270
282
|
/** useSyncExternalStore subscribe. Returns an unsubscribe. */
|
|
@@ -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
|
-
import { C as CheckinAnswer, a as CheckinOutcome } from './casesRepository.d-
|
|
2
|
+
import { C as CheckinAnswer, a as CheckinOutcome } from './casesRepository.d-Dn1fK1b2.js';
|
|
3
3
|
import { P as PetRef, C as ConversationId, b as ResponseId } from './ids.d-B2GAAifq.js';
|
|
4
|
-
import { A as AuthContext } from './identity.d-
|
|
4
|
+
import { A as AuthContext } from './identity.d-D4VtpqRr.js';
|
|
5
5
|
import { E as EverfurError } from './EverfurError.d-8NHtlgzA.js';
|
|
6
6
|
import { E as EverfurResult } from './EverfurResult.d-D_-254ZY.js';
|
|
7
|
-
import { R as RequestFunnel } from './requestFunnel.d-
|
|
8
|
-
import { j as UrgencyLevel, F as Frame } from './config.d-
|
|
9
|
-
import { E as ErrorPolicyPort } from './ErrorPolicyPort.d-
|
|
7
|
+
import { R as RequestFunnel } from './requestFunnel.d-DKBPTpsy.js';
|
|
8
|
+
import { j as UrgencyLevel, F as Frame } from './config.d-B7Z-KTGq.js';
|
|
9
|
+
import { E as ErrorPolicyPort } from './ErrorPolicyPort.d-BnI5qWg4.js';
|
|
10
10
|
import { T as TelemetryPort } from './TelemetryPort.d-BDNr00hu.js';
|
|
11
11
|
|
|
12
12
|
/** Injectable timers so the watchdog + deadlines are testable with a fake clock (no direct setTimeout). */
|
|
@@ -241,14 +241,19 @@ interface ChatControllerDeps {
|
|
|
241
241
|
/** Heard when a send goes into a conversation the server created for it (the runtime's `conversation_started`). */
|
|
242
242
|
readonly onConversationStarted?: (id: ConversationId) => void;
|
|
243
243
|
/**
|
|
244
|
-
* The runtime's unread store (`useEverfurUnread`), told about every
|
|
245
|
-
*
|
|
244
|
+
* The runtime's unread store (`useEverfurUnread`), told about every first-page read of the list and every read
|
|
245
|
+
* receipt: `reportPage` with the page's rows (newest first; none for an empty list) when it has it, else
|
|
246
|
+
* `reportHead` with the first row (null for an empty list).
|
|
246
247
|
*/
|
|
247
248
|
readonly unread?: {
|
|
248
249
|
reportHead(petRef: PetRef | null, head: {
|
|
249
250
|
readonly id: ConversationId;
|
|
250
251
|
readonly unreadCount: number | null;
|
|
251
252
|
} | null): void;
|
|
253
|
+
reportPage?(petRef: PetRef | null, rows: readonly {
|
|
254
|
+
readonly id: ConversationId;
|
|
255
|
+
readonly unreadCount: number | null;
|
|
256
|
+
}[]): void;
|
|
252
257
|
reportRead(conversationId: ConversationId): void;
|
|
253
258
|
};
|
|
254
259
|
}
|
|
@@ -265,6 +270,13 @@ interface ChatRefreshOptions {
|
|
|
265
270
|
* own poll asks for it. Default false: with a thread on screen only the messages read's failure is the call's.
|
|
266
271
|
*/
|
|
267
272
|
readonly reportLoadFailures?: boolean;
|
|
273
|
+
/**
|
|
274
|
+
* The chat is on screen: when the re-read finds unread messages in the thread on screen, send its read receipt
|
|
275
|
+
* (`POST /widget/v1/conversations/{id}/read`). Default false: nothing is marked read, so a refresh made while
|
|
276
|
+
* the chat is hidden leaves a new line unread for the badge. The prebuilt chat passes it only while its lifecycle
|
|
277
|
+
* port's `isVisible` (or the platform's own answer) says the chat is visible.
|
|
278
|
+
*/
|
|
279
|
+
readonly markRead?: boolean;
|
|
268
280
|
}
|
|
269
281
|
interface ChatController {
|
|
270
282
|
/** useSyncExternalStore subscribe. Returns an unsubscribe. */
|