@everfur/sdk 0.6.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +213 -0
- package/dist/{BookedScreen-BJPbXLCG.d.ts → BookedScreen-DFJcgf1e.d.ts} +12 -2
- package/dist/{BookedScreen-Cnld-jB_.d.cts → BookedScreen-R5X_Zrlh.d.cts} +12 -2
- package/dist/{Chat-CHqcgMyw.d.ts → Chat-DZpYH8Uh.d.ts} +4 -4
- package/dist/{Chat-BoAvCWhI.d.cts → Chat-bATY4atj.d.cts} +4 -4
- package/dist/{DepthViews-7Y8Ur058.d.ts → DepthViews-BpHUbjSY.d.cts} +1 -1
- package/dist/{DepthViews-B0g83e_N.d.cts → DepthViews-C4DC4Kom.d.cts} +1 -1
- package/dist/{DepthViews-Dg2bIon_.d.ts → DepthViews-dLTizxjr.d.ts} +1 -1
- package/dist/{DepthViews-CT5mQld9.d.cts → DepthViews-qBIoA48w.d.ts} +1 -1
- package/dist/animations/index.cjs +1 -1
- package/dist/animations/index.d.cts +3 -3
- package/dist/animations/index.d.ts +3 -3
- package/dist/animations/index.js +1 -1
- package/dist/{attachments-CfxsVg7W.d.ts → attachments-CPRFfoHT.d.ts} +2 -2
- package/dist/{attachments-rkox0ewd.d.cts → attachments-CUOGILir.d.cts} +5 -5
- package/dist/{attachments-CThFsH4b.d.ts → attachments-CXAnZcEg.d.ts} +5 -5
- package/dist/{attachments-C3HJNYQ7.d.cts → attachments-Ce06TWqe.d.cts} +2 -2
- package/dist/{bookingCopy-Do3zMeXb.d.cts → bookingCopy-BwVopcoV.d.cts} +451 -50
- package/dist/{bookingCopy-Y3OGdoMT.d.ts → bookingCopy-DFTv9w6J.d.ts} +451 -50
- package/dist/{bookingTypes-DCs8mmBb.d.cts → bookingTypes-D4pD3tHs.d.cts} +13 -1
- package/dist/{bookingTypes-DCs8mmBb.d.ts → bookingTypes-D4pD3tHs.d.ts} +13 -1
- package/dist/{branding-DYWma2il.d.ts → branding-Bio5MM6g.d.cts} +3 -3
- package/dist/{branding-ChXm8gxI.d.cts → branding-ytH4jJq1.d.ts} +3 -3
- package/dist/{callCopy-CPe9mbwG.d.cts → callCopy-DHjem0R-.d.cts} +12 -1
- package/dist/{callCopy-CPe9mbwG.d.ts → callCopy-DHjem0R-.d.ts} +12 -1
- package/dist/{casesRepository-Jj6t60AY.d.cts → casesRepository-CJchNp3x.d.cts} +1 -1
- package/dist/{casesRepository-BbgXYPxa.d.ts → casesRepository-DAVcY3jC.d.ts} +1 -1
- package/dist/chat/index.cjs +1 -1
- package/dist/chat/index.d.cts +9 -9
- package/dist/chat/index.d.ts +9 -9
- package/dist/chat/index.js +1 -1
- package/dist/client/index.cjs +2 -2
- package/dist/client/index.d.cts +10 -10
- package/dist/client/index.d.ts +10 -10
- package/dist/client/index.js +2 -2
- package/dist/{config-Dfbj5mlx.d.ts → config-ZxwCylac.d.ts} +1 -1
- package/dist/{config-BZX97FmW.d.cts → config-h5h6TsHL.d.cts} +1 -1
- package/dist/consent/index.cjs +1 -1
- package/dist/consent/index.d.cts +5 -5
- package/dist/consent/index.d.ts +5 -5
- package/dist/consent/index.js +1 -1
- package/dist/{context-DJXnZ1Mx.d.cts → context-CtsAgJnc.d.cts} +7 -7
- package/dist/{context-Cbe0zYym.d.ts → context-DtPIshVA.d.ts} +7 -7
- package/dist/{copy-dKK5KoAQ.d.cts → copy-CaWaplQc.d.cts} +2 -2
- package/dist/{copy-DHekqSKE.d.ts → copy-Cg89Qoal.d.ts} +2 -2
- package/dist/core/index.cjs +7 -7
- package/dist/core/index.d.cts +21 -21
- package/dist/core/index.d.ts +21 -21
- package/dist/core/index.js +7 -7
- package/dist/{depth-CrpRjWGB.d.ts → depth-Bo4bAwcn.d.ts} +132 -38
- package/dist/{depth-NmWSbvfi.d.cts → depth-EXZYEO70.d.cts} +132 -38
- package/dist/{entitlementRepository-iL-9vS1i.d.cts → entitlementRepository-BYtVb1oU.d.cts} +3 -3
- package/dist/{entitlementRepository-tVNazi8R.d.ts → entitlementRepository-DcbIx8yV.d.ts} +3 -3
- package/dist/{identity-B8rp0L9G.d.ts → identity-EC5-apbY.d.ts} +1 -1
- package/dist/{identity-D7PO5s9m.d.cts → identity-b5Vp32Vp.d.cts} +1 -1
- package/dist/index.cjs +6 -6
- package/dist/index.d.cts +17 -17
- package/dist/index.d.ts +17 -17
- package/dist/index.js +6 -6
- package/dist/notifications/index.d.cts +2 -2
- package/dist/notifications/index.d.ts +2 -2
- package/dist/{pets-BQbXmICf.d.ts → pets-B_27_agU.d.ts} +1 -1
- package/dist/{pets-BWx9BKea.d.cts → pets-DM8QvKLo.d.cts} +1 -1
- package/dist/{petsRepository-SqIvEMiT.d.cts → petsRepository-BJsJ4cju.d.cts} +1 -1
- package/dist/{petsRepository-0oBVydl6.d.ts → petsRepository-CuYZZaI5.d.ts} +1 -1
- package/dist/photo/index.cjs +1 -1
- package/dist/photo/index.js +1 -1
- package/dist/{ports-ChnzSy4E.d.cts → ports-ZmJYgd5I.d.cts} +10 -9
- package/dist/{ports-iXPWd7Vt.d.ts → ports-nXHf50_X.d.ts} +10 -9
- package/dist/records/depth/index.cjs +2 -2
- package/dist/records/depth/index.d.cts +7 -7
- package/dist/records/depth/index.d.ts +7 -7
- package/dist/records/depth/index.js +2 -2
- package/dist/records/index.cjs +3 -3
- package/dist/records/index.d.cts +19 -10
- package/dist/records/index.d.ts +19 -10
- package/dist/records/index.js +3 -3
- package/dist/{requestFunnel-DAwb7haa.d.cts → requestFunnel-C_cZXhIA.d.cts} +2 -2
- package/dist/{requestFunnel-CQzz2DIW.d.ts → requestFunnel-Ve9BshTB.d.ts} +2 -2
- package/dist/{runtimeTypes-BNOxfmfg.d.ts → runtimeTypes-ByKsp8hm.d.ts} +5 -5
- package/dist/{runtimeTypes-DB9-kigO.d.cts → runtimeTypes-D155OlBW.d.cts} +5 -5
- package/dist/server/events/index.cjs +1 -1
- package/dist/server/events/index.d.cts +2 -2
- package/dist/server/events/index.d.ts +2 -2
- package/dist/server/events/index.js +1 -1
- package/dist/server/index.cjs +1 -1
- package/dist/server/index.d.cts +3 -3
- package/dist/server/index.d.ts +3 -3
- package/dist/server/index.js +1 -1
- package/dist/televet/booking/index.cjs +4 -1
- package/dist/televet/booking/index.d.cts +116 -29
- package/dist/televet/booking/index.d.ts +116 -29
- package/dist/televet/booking/index.js +4 -1
- package/dist/televet/call/index.cjs +1 -1
- package/dist/televet/call/index.d.cts +1 -1
- package/dist/televet/call/index.d.ts +1 -1
- package/dist/televet/call/index.js +1 -1
- package/dist/televet/index.cjs +1 -1
- package/dist/televet/index.js +1 -1
- package/dist/testing/index.cjs +3 -3
- package/dist/testing/index.d.cts +1 -1
- package/dist/testing/index.d.ts +1 -1
- package/dist/testing/index.js +3 -3
- package/dist/testing/rn/index.cjs +1 -1
- package/dist/testing/rn/index.d.cts +14 -12
- package/dist/testing/rn/index.d.ts +14 -12
- package/dist/testing/rn/index.js +1 -1
- package/dist/testing/web/index.d.cts +9 -9
- package/dist/testing/web/index.d.ts +9 -9
- package/dist/{timelineRows-BuNhzDbH.d.cts → timelineRows-BNF43SXK.d.cts} +1 -1
- package/dist/{timelineRows-Dll2IGFg.d.ts → timelineRows-DXpjECfA.d.ts} +1 -1
- package/dist/{tokens-ARWZtMOU.d.cts → tokens-BYtbKwFh.d.cts} +6 -3
- package/dist/{tokens-ARWZtMOU.d.ts → tokens-BYtbKwFh.d.ts} +6 -3
- package/dist/{typeStyle-YCS8dt19.d.cts → typeStyle-BqfwxZH4.d.cts} +2 -2
- package/dist/{typeStyle-8iEqQmP_.d.ts → typeStyle-DKz02DGU.d.ts} +2 -2
- package/dist/{uploadTransport-C1p8FuG8.d.cts → uploadTransport-BM_pnEWj.d.cts} +5 -0
- package/dist/{uploadTransport-bZIKBTyK.d.ts → uploadTransport-C6kGP1Kd.d.ts} +5 -0
- package/dist/{useRecordsDepth-CNEHZJtj.d.cts → useRecordsDepth-CARTuHKh.d.cts} +1 -1
- package/dist/{useRecordsDepth-CuNdne6E.d.ts → useRecordsDepth-fPSv-GXU.d.ts} +1 -1
- package/dist/video/index.cjs +1 -1
- package/dist/video/index.js +1 -1
- package/dist/{view-BhqWlYrZ.d.cts → view-DGPaVno8.d.cts} +47 -5
- package/dist/{view-DFy8EDwf.d.ts → view-Dc-JlFkf.d.ts} +47 -5
- package/dist/web/consent/index.cjs +1 -1
- package/dist/web/consent/index.d.cts +5 -5
- package/dist/web/consent/index.d.ts +5 -5
- package/dist/web/consent/index.js +1 -1
- package/dist/web/index.cjs +7 -7
- package/dist/web/index.d.cts +23 -22
- package/dist/web/index.d.ts +23 -22
- package/dist/web/index.js +7 -7
- package/dist/web/notifications/index.d.cts +3 -3
- package/dist/web/notifications/index.d.ts +3 -3
- package/dist/web/records/depth/index.cjs +2 -2
- package/dist/web/records/depth/index.d.cts +7 -7
- package/dist/web/records/depth/index.d.ts +7 -7
- package/dist/web/records/depth/index.js +2 -2
- package/dist/web/records/index.cjs +3 -3
- package/dist/web/records/index.d.cts +28 -17
- package/dist/web/records/index.d.ts +28 -17
- package/dist/web/records/index.js +3 -3
- package/dist/web/televet/booking/index.cjs +4 -2
- package/dist/web/televet/booking/index.d.cts +228 -90
- package/dist/web/televet/booking/index.d.ts +228 -90
- package/dist/web/televet/booking/index.js +4 -2
- package/dist/web/televet/call/index.cjs +1 -1
- package/dist/web/televet/call/index.d.cts +1 -1
- package/dist/web/televet/call/index.d.ts +1 -1
- package/dist/web/televet/call/index.js +1 -1
- package/dist/web/televet/index.cjs +3 -3
- package/dist/web/televet/index.d.cts +2 -2
- package/dist/web/televet/index.d.ts +2 -2
- package/dist/web/televet/index.js +3 -3
- package/package.json +1 -1
package/dist/core/index.d.cts
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
export { K as KvPort } from '../cacheEpoch-DknKn3S0.cjs';
|
|
2
|
-
import { C as CreateEverfurRuntimeInput, e as EverfurRuntime } from '../runtimeTypes-
|
|
3
|
-
export { B as BeforeLogoutContext, f as BeforeLogoutHook, g as CapabilityKind, h as CapabilityRegistry, i as CapabilityServices, j as ChatControllerRegistry, k as ChatScope, E as EntitlementSnapshot, l as EntitlementStore, m as EverfurRuntimeConfig, L as LogLevel, a as LogRecord, b as LogSink, N as NULL_SECURE_STORE, P as PrepareOptions, c as PrepareResult, d as PrepareStatus, R as RuntimeTheme, n as RuntimeUser, S as SecureStorePort } from '../runtimeTypes-
|
|
2
|
+
import { C as CreateEverfurRuntimeInput, e as EverfurRuntime } from '../runtimeTypes-D155OlBW.cjs';
|
|
3
|
+
export { B as BeforeLogoutContext, f as BeforeLogoutHook, g as CapabilityKind, h as CapabilityRegistry, i as CapabilityServices, j as ChatControllerRegistry, k as ChatScope, E as EntitlementSnapshot, l as EntitlementStore, m as EverfurRuntimeConfig, L as LogLevel, a as LogRecord, b as LogSink, N as NULL_SECURE_STORE, P as PrepareOptions, c as PrepareResult, d as PrepareStatus, R as RuntimeTheme, n as RuntimeUser, S as SecureStorePort } from '../runtimeTypes-D155OlBW.cjs';
|
|
4
4
|
import { T as TelemetryPort } from '../TelemetryPort-BDNr00hu.cjs';
|
|
5
5
|
export { n as noopTelemetry } from '../TelemetryPort-BDNr00hu.cjs';
|
|
6
6
|
export { E as ErrorPolicyPort, d as defaultErrorPolicy } from '../ErrorPolicyPort-D6CybiqJ.cjs';
|
|
7
7
|
export { C as CameraPort, a as CaptureOptions, M as MediaSource, u as unavailableCamera } from '../CameraPort-Cv31Pz7g.cjs';
|
|
8
8
|
export { F as FileHandle, b as FilePort } from '../ports-BN6RHF9W.cjs';
|
|
9
9
|
export { O as OptionalModule, o as optionalModule } from '../optionalModule-DbJmsq5f.cjs';
|
|
10
|
-
import { o as ChatControllerDeps, n as ChatController, p as SuggestedPromptCategory } from '../ports-
|
|
11
|
-
export { q as CHAT_FEEDBACK_TYPES, r as CHECKIN_ANSWERABLE_STATUS, C as ChatCheckin, a as ChatCheckinTarget, b as ChatConversation, c as ChatConversationListOptions, d as ChatConversationPage, e as ChatFeedbackReceipt, f as ChatFeedbackType, s as ChatHandlers, g as ChatHistoryOptions, i as ChatMessage, h as ChatMessagePage, j as ChatMessageRole, k as ChatMessageSender, t as ChatSnapshot, l as ChatStatus, m as Citation, F as FEEDBACK_NOTES_MAX_CHARS, M as MAX_IMAGE_KEYS_PER_MESSAGE, S as SendOptions, u as Timers, v as isCheckinSettled } from '../ports-
|
|
10
|
+
import { o as ChatControllerDeps, n as ChatController, p as SuggestedPromptCategory } from '../ports-ZmJYgd5I.cjs';
|
|
11
|
+
export { q as CHAT_FEEDBACK_TYPES, r as CHECKIN_ANSWERABLE_STATUS, C as ChatCheckin, a as ChatCheckinTarget, b as ChatConversation, c as ChatConversationListOptions, d as ChatConversationPage, e as ChatFeedbackReceipt, f as ChatFeedbackType, s as ChatHandlers, g as ChatHistoryOptions, i as ChatMessage, h as ChatMessagePage, j as ChatMessageRole, k as ChatMessageSender, t as ChatSnapshot, l as ChatStatus, m as Citation, F as FEEDBACK_NOTES_MAX_CHARS, M as MAX_IMAGE_KEYS_PER_MESSAGE, S as SendOptions, u as Timers, v as isCheckinSettled } from '../ports-ZmJYgd5I.cjs';
|
|
12
12
|
import { E as EverfurError } from '../EverfurError-DmELDpXp.cjs';
|
|
13
13
|
import { P as PetRef, C as ConversationId } from '../ids-B2GAAifq.cjs';
|
|
14
|
-
export { f as ATTACHMENT_ACCEPT, g as ATTACHMENT_BACKOFF_MS, h as ATTACHMENT_INITIATE_PATH, i as ATTACHMENT_MAX_ATTEMPTS, j as ATTACHMENT_MIME_TYPES, k as ATTACHMENT_QUEUE_CONCURRENCY, A as AttachmentError, a as AttachmentErrorCode, b as AttachmentOutcome, c as AttachmentQueue, l as AttachmentQueueDeps, m as AttachmentQueueSnapshot, d as AttachmentState, e as AttachmentStatus, n as AttachmentUploadPolicy, M as MAX_ATTACHMENTS_PER_MESSAGE, o as MAX_ATTACHMENT_BYTES, p as MAX_FILENAME_LENGTH, V as ValidatedAttachment, q as attachmentSize, r as createAttachmentQueue, s as formatBytes, t as initiateAttachmentUpload, u as isAttachmentMime, v as sanitizeFilename, w as uploadAttachmentBytes, x as validateAttachment } from '../attachments-
|
|
15
|
-
import { p as EventSourceFactory, G as SdkPlatform } from '../config-
|
|
16
|
-
import { a as EntitlementResolution, F as FetchEntitlementsArgs } from '../entitlementRepository-
|
|
14
|
+
export { f as ATTACHMENT_ACCEPT, g as ATTACHMENT_BACKOFF_MS, h as ATTACHMENT_INITIATE_PATH, i as ATTACHMENT_MAX_ATTEMPTS, j as ATTACHMENT_MIME_TYPES, k as ATTACHMENT_QUEUE_CONCURRENCY, A as AttachmentError, a as AttachmentErrorCode, b as AttachmentOutcome, c as AttachmentQueue, l as AttachmentQueueDeps, m as AttachmentQueueSnapshot, d as AttachmentState, e as AttachmentStatus, n as AttachmentUploadPolicy, M as MAX_ATTACHMENTS_PER_MESSAGE, o as MAX_ATTACHMENT_BYTES, p as MAX_FILENAME_LENGTH, V as ValidatedAttachment, q as attachmentSize, r as createAttachmentQueue, s as formatBytes, t as initiateAttachmentUpload, u as isAttachmentMime, v as sanitizeFilename, w as uploadAttachmentBytes, x as validateAttachment } from '../attachments-Ce06TWqe.cjs';
|
|
15
|
+
import { p as EventSourceFactory, G as SdkPlatform } from '../config-h5h6TsHL.cjs';
|
|
16
|
+
import { a as EntitlementResolution, F as FetchEntitlementsArgs } from '../entitlementRepository-BYtVb1oU.cjs';
|
|
17
17
|
import { E as EntitlementDecision } from '../resolve-D4Ywz5OS.cjs';
|
|
18
|
-
import { A as AuthContext } from '../identity-
|
|
19
|
-
import { C as ClientBranding } from '../branding-
|
|
20
|
-
export { c as EverfurAppearance, d as EverfurAppearancePreset, e as EverfurAppearanceRules, f as EverfurAppearanceVariables, E as EverfurThemeInput } from '../branding-
|
|
21
|
-
export { C as CreateClinicRequestBatchInput, F as FACT_FIELD_BY_KIND, w as FACT_VALUE_FIELD, x as FactFieldValue, y as FactValueKind, H as HttpRecordsClinicRepositoryDeps, z as HttpRecordsRepositoryDeps, A as RECORDS_CLINIC_BATCH_MAX, R as RecordClinicianNote, a as RecordClinicianNoteSection, b as RecordCompleteness, c as RecordConflict, d as RecordConflictCandidate, e as RecordDepthView, f as RecordDocumentContributionsView, g as RecordEncounter, h as RecordExamSystem,
|
|
18
|
+
import { A as AuthContext } from '../identity-b5Vp32Vp.cjs';
|
|
19
|
+
import { C as ClientBranding } from '../branding-Bio5MM6g.cjs';
|
|
20
|
+
export { c as EverfurAppearance, d as EverfurAppearancePreset, e as EverfurAppearanceRules, f as EverfurAppearanceVariables, E as EverfurThemeInput } from '../branding-Bio5MM6g.cjs';
|
|
21
|
+
export { C as CreateClinicRequestBatchInput, F as FACT_FIELD_BY_KIND, w as FACT_VALUE_FIELD, x as FactFieldValue, y as FactValueKind, H as HttpRecordsClinicRepositoryDeps, z as HttpRecordsRepositoryDeps, A as RECORDS_CLINIC_BATCH_MAX, B as RECORD_SHARE_AUDIENCES, R as RecordClinicianNote, a as RecordClinicianNoteSection, b as RecordCompleteness, c as RecordConflict, d as RecordConflictCandidate, e as RecordDepthView, f as RecordDocumentContributionsView, g as RecordEncounter, h as RecordExamSystem, D as RecordFactEditInput, E as RecordFactRemoveInput, i as RecordLabMarker, j as RecordLabPoint, G as RecordMarker, I as RecordMarkerLatest, J as RecordMarkerPoint, K as RecordMarkerSummary, L as RecordMarkersView, M as RecordPdfLink, k as RecordPhysicalExam, N as RecordShare, O as RecordShareAudience, P as RecordShareAudienceScope, Q as RecordShareEmailInput, S as RecordShareEmailReceipt, T as RecordShareLink, U as RecordShareRecipientKind, V as RecordsAuthorizationSignature, W as RecordsClinicBatch, X as RecordsClinicBatchClient, Y as RecordsClinicBatchItem, Z as RecordsClinicBatchResult, _ as RecordsClinicTarget, m as RecordsDepthClient, n as RecordsRequestDocument, $ as RecordsSignatureSuggestion, o as RecordsTimelineMedication, p as RecordsTimelineVaccine, q as RecordsTimelineView, r as RecordsTimelineVisit, s as RecordsTimelineWeight, a0 as SHARE_RECIPIENT_EMAIL_MAX, a1 as createRecordsClinicBatchClient, a2 as createRecordsDepthClient, a3 as factCorrectionFor, a4 as factValueCorrection, a5 as inferFactValueKind, a6 as isFactReviewerLocked, a7 as isShareRecipientEmail, t as mapDocumentContributions, u as mapRecordDepth, a8 as mapRecordMarkers, a9 as mapRecordPdfLink, aa as mapRecordShareEmailReceipt, ab as mapRecordShareLink, ac as mapRecordShareList, v as mapRecordsTimeline, ad as mapShareAudiences, ae as mapSignatureSuggestions, af as resolveShareUrl } from '../depth-EXZYEO70.cjs';
|
|
22
22
|
export { R as RecordDocumentMeta, a as RecordEntity, b as RecordOrigin, f as RecordsRequestGroupView, d as RecordsRequestView } from '../models-Bn2z0NNo.cjs';
|
|
23
|
-
export { C as CheckinAnswer, a as CheckinOutcome, W as WatchCase } from '../casesRepository-
|
|
24
|
-
import '../petsRepository-
|
|
23
|
+
export { C as CheckinAnswer, a as CheckinOutcome, W as WatchCase } from '../casesRepository-CJchNp3x.cjs';
|
|
24
|
+
import '../petsRepository-BJsJ4cju.cjs';
|
|
25
25
|
import '../EverfurResult-ZtH-YV1h.cjs';
|
|
26
26
|
import '../profile-CSs1wlXT.cjs';
|
|
27
|
-
import '../requestFunnel-
|
|
28
|
-
import '../tokens-
|
|
27
|
+
import '../requestFunnel-C_cZXhIA.cjs';
|
|
28
|
+
import '../tokens-BYtbKwFh.cjs';
|
|
29
29
|
|
|
30
30
|
/**
|
|
31
31
|
* The server's own limits on a chat message, mirrored here so a violation is caught before any UI is
|
|
@@ -54,25 +54,25 @@ interface ChatBootstrapDiagnostics {
|
|
|
54
54
|
readonly sawConversationInitFailure: boolean;
|
|
55
55
|
}
|
|
56
56
|
interface ChatBootstrapResult {
|
|
57
|
-
/** null
|
|
57
|
+
/** The thread chat opened in; null when none was resumed, and the first send() creates it. */
|
|
58
58
|
readonly conversationId: ConversationId | null;
|
|
59
59
|
readonly petRef: PetRef | null;
|
|
60
60
|
readonly suggestedPrompts: readonly SuggestedPromptCategory[];
|
|
61
61
|
/** SAFE display copy: an auth failure blocks (code-derived, never raw wire text) */
|
|
62
62
|
readonly error: string | null;
|
|
63
|
-
/** SAFE display copy:
|
|
63
|
+
/** SAFE display copy: the prime failed (not merely "no thread yet"); the first send creates the conversation */
|
|
64
64
|
readonly warning: string | null;
|
|
65
65
|
/**
|
|
66
|
-
* The typed error behind `error` or `warning` (the auth block, else the
|
|
67
|
-
*
|
|
66
|
+
* The typed error behind `error` or `warning` (the auth block, else the prime's failure), null when the prime
|
|
67
|
+
* settled. `runtime.prepare()` reports it as the chat step's outcome.
|
|
68
68
|
*/
|
|
69
69
|
readonly cause: EverfurError | null;
|
|
70
70
|
readonly diagnostics: ChatBootstrapDiagnostics;
|
|
71
71
|
}
|
|
72
72
|
/**
|
|
73
73
|
* Prime chat. Settles to a result; never throws. Parallel prompts + conversation prime, resumed id tried
|
|
74
|
-
* first. A 401 anywhere sets `error` (auth block). A 403 sets `sawForbidden` only. A
|
|
75
|
-
*
|
|
74
|
+
* first. A 401 anywhere sets `error` (auth block). A 403 sets `sawForbidden` only. A failed prime sets
|
|
75
|
+
* `warning`; `conversationId` is null whenever no thread was resumed, and the first send creates one.
|
|
76
76
|
*/
|
|
77
77
|
declare function bootstrapChat(input: ChatBootstrapInput, deps: {
|
|
78
78
|
readonly controller: ChatController;
|
package/dist/core/index.d.ts
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
export { K as KvPort } from '../cacheEpoch-DknKn3S0.js';
|
|
2
|
-
import { C as CreateEverfurRuntimeInput, e as EverfurRuntime } from '../runtimeTypes-
|
|
3
|
-
export { B as BeforeLogoutContext, f as BeforeLogoutHook, g as CapabilityKind, h as CapabilityRegistry, i as CapabilityServices, j as ChatControllerRegistry, k as ChatScope, E as EntitlementSnapshot, l as EntitlementStore, m as EverfurRuntimeConfig, L as LogLevel, a as LogRecord, b as LogSink, N as NULL_SECURE_STORE, P as PrepareOptions, c as PrepareResult, d as PrepareStatus, R as RuntimeTheme, n as RuntimeUser, S as SecureStorePort } from '../runtimeTypes-
|
|
2
|
+
import { C as CreateEverfurRuntimeInput, e as EverfurRuntime } from '../runtimeTypes-ByKsp8hm.js';
|
|
3
|
+
export { B as BeforeLogoutContext, f as BeforeLogoutHook, g as CapabilityKind, h as CapabilityRegistry, i as CapabilityServices, j as ChatControllerRegistry, k as ChatScope, E as EntitlementSnapshot, l as EntitlementStore, m as EverfurRuntimeConfig, L as LogLevel, a as LogRecord, b as LogSink, N as NULL_SECURE_STORE, P as PrepareOptions, c as PrepareResult, d as PrepareStatus, R as RuntimeTheme, n as RuntimeUser, S as SecureStorePort } from '../runtimeTypes-ByKsp8hm.js';
|
|
4
4
|
import { T as TelemetryPort } from '../TelemetryPort-BDNr00hu.js';
|
|
5
5
|
export { n as noopTelemetry } from '../TelemetryPort-BDNr00hu.js';
|
|
6
6
|
export { E as ErrorPolicyPort, d as defaultErrorPolicy } from '../ErrorPolicyPort-D22LUVrK.js';
|
|
7
7
|
export { C as CameraPort, a as CaptureOptions, M as MediaSource, u as unavailableCamera } from '../CameraPort-Cv31Pz7g.js';
|
|
8
8
|
export { F as FileHandle, b as FilePort } from '../ports-BN6RHF9W.js';
|
|
9
9
|
export { O as OptionalModule, o as optionalModule } from '../optionalModule-DbJmsq5f.js';
|
|
10
|
-
import { o as ChatControllerDeps, n as ChatController, p as SuggestedPromptCategory } from '../ports-
|
|
11
|
-
export { q as CHAT_FEEDBACK_TYPES, r as CHECKIN_ANSWERABLE_STATUS, C as ChatCheckin, a as ChatCheckinTarget, b as ChatConversation, c as ChatConversationListOptions, d as ChatConversationPage, e as ChatFeedbackReceipt, f as ChatFeedbackType, s as ChatHandlers, g as ChatHistoryOptions, i as ChatMessage, h as ChatMessagePage, j as ChatMessageRole, k as ChatMessageSender, t as ChatSnapshot, l as ChatStatus, m as Citation, F as FEEDBACK_NOTES_MAX_CHARS, M as MAX_IMAGE_KEYS_PER_MESSAGE, S as SendOptions, u as Timers, v as isCheckinSettled } from '../ports-
|
|
10
|
+
import { o as ChatControllerDeps, n as ChatController, p as SuggestedPromptCategory } from '../ports-nXHf50_X.js';
|
|
11
|
+
export { q as CHAT_FEEDBACK_TYPES, r as CHECKIN_ANSWERABLE_STATUS, C as ChatCheckin, a as ChatCheckinTarget, b as ChatConversation, c as ChatConversationListOptions, d as ChatConversationPage, e as ChatFeedbackReceipt, f as ChatFeedbackType, s as ChatHandlers, g as ChatHistoryOptions, i as ChatMessage, h as ChatMessagePage, j as ChatMessageRole, k as ChatMessageSender, t as ChatSnapshot, l as ChatStatus, m as Citation, F as FEEDBACK_NOTES_MAX_CHARS, M as MAX_IMAGE_KEYS_PER_MESSAGE, S as SendOptions, u as Timers, v as isCheckinSettled } from '../ports-nXHf50_X.js';
|
|
12
12
|
import { E as EverfurError } from '../EverfurError-DmELDpXp.js';
|
|
13
13
|
import { P as PetRef, C as ConversationId } from '../ids-B2GAAifq.js';
|
|
14
|
-
export { f as ATTACHMENT_ACCEPT, g as ATTACHMENT_BACKOFF_MS, h as ATTACHMENT_INITIATE_PATH, i as ATTACHMENT_MAX_ATTEMPTS, j as ATTACHMENT_MIME_TYPES, k as ATTACHMENT_QUEUE_CONCURRENCY, A as AttachmentError, a as AttachmentErrorCode, b as AttachmentOutcome, c as AttachmentQueue, l as AttachmentQueueDeps, m as AttachmentQueueSnapshot, d as AttachmentState, e as AttachmentStatus, n as AttachmentUploadPolicy, M as MAX_ATTACHMENTS_PER_MESSAGE, o as MAX_ATTACHMENT_BYTES, p as MAX_FILENAME_LENGTH, V as ValidatedAttachment, q as attachmentSize, r as createAttachmentQueue, s as formatBytes, t as initiateAttachmentUpload, u as isAttachmentMime, v as sanitizeFilename, w as uploadAttachmentBytes, x as validateAttachment } from '../attachments-
|
|
15
|
-
import { p as EventSourceFactory, G as SdkPlatform } from '../config-
|
|
16
|
-
import { a as EntitlementResolution, F as FetchEntitlementsArgs } from '../entitlementRepository-
|
|
14
|
+
export { f as ATTACHMENT_ACCEPT, g as ATTACHMENT_BACKOFF_MS, h as ATTACHMENT_INITIATE_PATH, i as ATTACHMENT_MAX_ATTEMPTS, j as ATTACHMENT_MIME_TYPES, k as ATTACHMENT_QUEUE_CONCURRENCY, A as AttachmentError, a as AttachmentErrorCode, b as AttachmentOutcome, c as AttachmentQueue, l as AttachmentQueueDeps, m as AttachmentQueueSnapshot, d as AttachmentState, e as AttachmentStatus, n as AttachmentUploadPolicy, M as MAX_ATTACHMENTS_PER_MESSAGE, o as MAX_ATTACHMENT_BYTES, p as MAX_FILENAME_LENGTH, V as ValidatedAttachment, q as attachmentSize, r as createAttachmentQueue, s as formatBytes, t as initiateAttachmentUpload, u as isAttachmentMime, v as sanitizeFilename, w as uploadAttachmentBytes, x as validateAttachment } from '../attachments-CPRFfoHT.js';
|
|
15
|
+
import { p as EventSourceFactory, G as SdkPlatform } from '../config-ZxwCylac.js';
|
|
16
|
+
import { a as EntitlementResolution, F as FetchEntitlementsArgs } from '../entitlementRepository-DcbIx8yV.js';
|
|
17
17
|
import { E as EntitlementDecision } from '../resolve-D4Ywz5OS.js';
|
|
18
|
-
import { A as AuthContext } from '../identity-
|
|
19
|
-
import { C as ClientBranding } from '../branding-
|
|
20
|
-
export { c as EverfurAppearance, d as EverfurAppearancePreset, e as EverfurAppearanceRules, f as EverfurAppearanceVariables, E as EverfurThemeInput } from '../branding-
|
|
21
|
-
export { C as CreateClinicRequestBatchInput, F as FACT_FIELD_BY_KIND, w as FACT_VALUE_FIELD, x as FactFieldValue, y as FactValueKind, H as HttpRecordsClinicRepositoryDeps, z as HttpRecordsRepositoryDeps, A as RECORDS_CLINIC_BATCH_MAX, R as RecordClinicianNote, a as RecordClinicianNoteSection, b as RecordCompleteness, c as RecordConflict, d as RecordConflictCandidate, e as RecordDepthView, f as RecordDocumentContributionsView, g as RecordEncounter, h as RecordExamSystem,
|
|
18
|
+
import { A as AuthContext } from '../identity-EC5-apbY.js';
|
|
19
|
+
import { C as ClientBranding } from '../branding-ytH4jJq1.js';
|
|
20
|
+
export { c as EverfurAppearance, d as EverfurAppearancePreset, e as EverfurAppearanceRules, f as EverfurAppearanceVariables, E as EverfurThemeInput } from '../branding-ytH4jJq1.js';
|
|
21
|
+
export { C as CreateClinicRequestBatchInput, F as FACT_FIELD_BY_KIND, w as FACT_VALUE_FIELD, x as FactFieldValue, y as FactValueKind, H as HttpRecordsClinicRepositoryDeps, z as HttpRecordsRepositoryDeps, A as RECORDS_CLINIC_BATCH_MAX, B as RECORD_SHARE_AUDIENCES, R as RecordClinicianNote, a as RecordClinicianNoteSection, b as RecordCompleteness, c as RecordConflict, d as RecordConflictCandidate, e as RecordDepthView, f as RecordDocumentContributionsView, g as RecordEncounter, h as RecordExamSystem, D as RecordFactEditInput, E as RecordFactRemoveInput, i as RecordLabMarker, j as RecordLabPoint, G as RecordMarker, I as RecordMarkerLatest, J as RecordMarkerPoint, K as RecordMarkerSummary, L as RecordMarkersView, M as RecordPdfLink, k as RecordPhysicalExam, N as RecordShare, O as RecordShareAudience, P as RecordShareAudienceScope, Q as RecordShareEmailInput, S as RecordShareEmailReceipt, T as RecordShareLink, U as RecordShareRecipientKind, V as RecordsAuthorizationSignature, W as RecordsClinicBatch, X as RecordsClinicBatchClient, Y as RecordsClinicBatchItem, Z as RecordsClinicBatchResult, _ as RecordsClinicTarget, m as RecordsDepthClient, n as RecordsRequestDocument, $ as RecordsSignatureSuggestion, o as RecordsTimelineMedication, p as RecordsTimelineVaccine, q as RecordsTimelineView, r as RecordsTimelineVisit, s as RecordsTimelineWeight, a0 as SHARE_RECIPIENT_EMAIL_MAX, a1 as createRecordsClinicBatchClient, a2 as createRecordsDepthClient, a3 as factCorrectionFor, a4 as factValueCorrection, a5 as inferFactValueKind, a6 as isFactReviewerLocked, a7 as isShareRecipientEmail, t as mapDocumentContributions, u as mapRecordDepth, a8 as mapRecordMarkers, a9 as mapRecordPdfLink, aa as mapRecordShareEmailReceipt, ab as mapRecordShareLink, ac as mapRecordShareList, v as mapRecordsTimeline, ad as mapShareAudiences, ae as mapSignatureSuggestions, af as resolveShareUrl } from '../depth-Bo4bAwcn.js';
|
|
22
22
|
export { R as RecordDocumentMeta, a as RecordEntity, b as RecordOrigin, f as RecordsRequestGroupView, d as RecordsRequestView } from '../models-DSqA5Ahs.js';
|
|
23
|
-
export { C as CheckinAnswer, a as CheckinOutcome, W as WatchCase } from '../casesRepository-
|
|
24
|
-
import '../petsRepository-
|
|
23
|
+
export { C as CheckinAnswer, a as CheckinOutcome, W as WatchCase } from '../casesRepository-DAVcY3jC.js';
|
|
24
|
+
import '../petsRepository-CuYZZaI5.js';
|
|
25
25
|
import '../EverfurResult-SGvHKsCB.js';
|
|
26
26
|
import '../profile-CSs1wlXT.js';
|
|
27
|
-
import '../requestFunnel-
|
|
28
|
-
import '../tokens-
|
|
27
|
+
import '../requestFunnel-Ve9BshTB.js';
|
|
28
|
+
import '../tokens-BYtbKwFh.js';
|
|
29
29
|
|
|
30
30
|
/**
|
|
31
31
|
* The server's own limits on a chat message, mirrored here so a violation is caught before any UI is
|
|
@@ -54,25 +54,25 @@ interface ChatBootstrapDiagnostics {
|
|
|
54
54
|
readonly sawConversationInitFailure: boolean;
|
|
55
55
|
}
|
|
56
56
|
interface ChatBootstrapResult {
|
|
57
|
-
/** null
|
|
57
|
+
/** The thread chat opened in; null when none was resumed, and the first send() creates it. */
|
|
58
58
|
readonly conversationId: ConversationId | null;
|
|
59
59
|
readonly petRef: PetRef | null;
|
|
60
60
|
readonly suggestedPrompts: readonly SuggestedPromptCategory[];
|
|
61
61
|
/** SAFE display copy: an auth failure blocks (code-derived, never raw wire text) */
|
|
62
62
|
readonly error: string | null;
|
|
63
|
-
/** SAFE display copy:
|
|
63
|
+
/** SAFE display copy: the prime failed (not merely "no thread yet"); the first send creates the conversation */
|
|
64
64
|
readonly warning: string | null;
|
|
65
65
|
/**
|
|
66
|
-
* The typed error behind `error` or `warning` (the auth block, else the
|
|
67
|
-
*
|
|
66
|
+
* The typed error behind `error` or `warning` (the auth block, else the prime's failure), null when the prime
|
|
67
|
+
* settled. `runtime.prepare()` reports it as the chat step's outcome.
|
|
68
68
|
*/
|
|
69
69
|
readonly cause: EverfurError | null;
|
|
70
70
|
readonly diagnostics: ChatBootstrapDiagnostics;
|
|
71
71
|
}
|
|
72
72
|
/**
|
|
73
73
|
* Prime chat. Settles to a result; never throws. Parallel prompts + conversation prime, resumed id tried
|
|
74
|
-
* first. A 401 anywhere sets `error` (auth block). A 403 sets `sawForbidden` only. A
|
|
75
|
-
*
|
|
74
|
+
* first. A 401 anywhere sets `error` (auth block). A 403 sets `sawForbidden` only. A failed prime sets
|
|
75
|
+
* `warning`; `conversationId` is null whenever no thread was resumed, and the first send creates one.
|
|
76
76
|
*/
|
|
77
77
|
declare function bootstrapChat(input: ChatBootstrapInput, deps: {
|
|
78
78
|
readonly controller: ChatController;
|