@everfur/sdk 1.4.1 → 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-qQVN6VLp.d.ts → Chat.d-BCfyvzX8.d.ts} +1 -1
- package/dist/{Chat.d-Bl-_TsvQ.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.d.cts +3 -3
- package/dist/animations/index.d.ts +3 -3
- package/dist/{attachments.d-DOmkQ_8O.d.ts → attachments.d-BlukNfIf.d.ts} +1 -1
- package/dist/{attachments.d-DBlHzWYy.d.cts → attachments.d-CF4lLuGK.d.cts} +1 -1
- 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/{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 +21 -21
- package/dist/chat/index.d.cts +12 -12
- package/dist/chat/index.d.ts +12 -12
- package/dist/chat/index.js +21 -21
- package/dist/chat/lite/index.cjs +21 -21
- package/dist/chat/lite/index.d.cts +12 -12
- package/dist/chat/lite/index.d.ts +12 -12
- package/dist/chat/lite/index.js +21 -21
- package/dist/{chatHandoffToken.d-B4-iQ35P.d.cts → chatHandoffToken.d-BjfmIxXk.d.cts} +6 -6
- package/dist/{chatHandoffToken.d-Br3Gw3w-.d.ts → chatHandoffToken.d-CFiI6IMc.d.ts} +6 -6
- package/dist/{checkin.d-CAKQydg8.d.cts → checkin.d-BP3ZWBfX.d.cts} +5 -5
- package/dist/{checkin.d-qvYXugN3.d.ts → checkin.d-CokpahFL.d.ts} +5 -5
- package/dist/{chunk-PJHMKQ5C.js → chunk-4KFFE42Z.js} +19 -19
- package/dist/{chunk-7MMJ7CYN.js → chunk-6IHY7HS7.js} +1 -1
- package/dist/{chunk-6I4REU4U.js → chunk-BMYNDBUR.js} +1 -1
- package/dist/{chunk-5OK2AF63.js → chunk-HHCGXQJR.js} +19 -19
- package/dist/client/index.cjs +31 -31
- package/dist/client/index.d.cts +19 -16
- package/dist/client/index.d.ts +19 -16
- package/dist/client/index.js +30 -30
- 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.d.cts +6 -6
- package/dist/consent/index.d.ts +6 -6
- package/dist/{context.d-DZfxKxNi.d.cts → context.d-Bj6-xYPA.d.cts} +11 -5
- package/dist/{context.d-FjU7dQP7.d.ts → context.d-DS1GXUEY.d.ts} +11 -5
- 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 +41 -40
- package/dist/core/index.d.cts +16 -16
- package/dist/core/index.d.ts +16 -16
- package/dist/core/index.js +41 -40
- 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-BltqS1W8.d.ts → entitlementRepository.d-CkUTlVAb.d.ts} +2 -2
- package/dist/{entitlementRepository.d-wfqpUIKN.d.cts → entitlementRepository.d-DVTp-BB9.d.cts} +2 -2
- 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.d.cts +15 -15
- package/dist/health-plan/index.d.ts +15 -15
- 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 +246 -245
- package/dist/index.d.cts +17 -17
- package/dist/index.d.ts +17 -17
- package/dist/index.js +244 -243
- 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.d.cts +7 -7
- package/dist/notifications/inbox/index.d.ts +7 -7
- package/dist/notifications/index.d.cts +8 -8
- package/dist/notifications/index.d.ts +8 -8
- 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/records/depth/index.d.cts +10 -10
- package/dist/records/depth/index.d.ts +10 -10
- package/dist/records/index.cjs +1 -1
- package/dist/records/index.d.cts +11 -11
- package/dist/records/index.d.ts +11 -11
- package/dist/records/index.js +1 -1
- 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-DSSSpSB-.d.cts → route.d-DCzQh4ix.d.cts} +3 -3
- package/dist/{route.d-B395-hNX.d.ts → route.d-DSYEd2MR.d.ts} +3 -3
- package/dist/{runtimeTypes.d-DAz0Tgw5.d.ts → runtimeTypes.d-BzUig75K.d.ts} +11 -7
- package/dist/{runtimeTypes.d-DPh1Wh15.d.cts → runtimeTypes.d-CL4l7ta4.d.cts} +11 -7
- 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 +3 -3
- package/dist/server/index.d.ts +3 -3
- 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.d.cts +6 -6
- package/dist/slots/index.d.ts +6 -6
- package/dist/tabs/index.cjs +87 -84
- package/dist/tabs/index.d.cts +15 -15
- package/dist/tabs/index.d.ts +15 -15
- package/dist/tabs/index.js +95 -92
- package/dist/televet/booking/index.cjs +75 -75
- package/dist/televet/booking/index.d.cts +8 -8
- package/dist/televet/booking/index.d.ts +8 -8
- package/dist/televet/booking/index.js +3 -3
- package/dist/televet/call/index.d.cts +2 -2
- package/dist/televet/call/index.d.ts +2 -2
- package/dist/testing/index.d.cts +1 -1
- package/dist/testing/index.d.ts +1 -1
- package/dist/testing/rn/index.d.cts +10 -10
- package/dist/testing/rn/index.d.ts +10 -10
- package/dist/testing/web/index.d.cts +10 -10
- package/dist/testing/web/index.d.ts +10 -10
- package/dist/texting/index.d.cts +6 -6
- package/dist/texting/index.d.ts +6 -6
- 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-DUQxxHyM.d.cts → threadOptions.d-Dc57dm7h.d.cts} +5 -5
- package/dist/{threadOptions.d-DnM9UcMx.d.ts → threadOptions.d-NSlFx-Lp.d.ts} +5 -5
- 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/{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-DUYzYXgA.d.cts → usePresentation.d-BJzFicRQ.d.cts} +2 -2
- package/dist/{usePresentation.d-Buxz2Jkt.d.ts → usePresentation.d-DgSGIWS-.d.ts} +2 -2
- 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-B6Ehu0ao.d.ts → useUnread.d-CedFK4k6.d.ts} +4 -4
- package/dist/{useUnread.d-7-cuCooM.d.cts → useUnread.d-DST1GMmL.d.cts} +4 -4
- 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.d.cts +6 -6
- package/dist/web/consent/index.d.ts +6 -6
- package/dist/web/health-plan/index.cjs +1 -1
- 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 +1 -1
- package/dist/web/inbox/index.d.cts +9 -8
- package/dist/web/inbox/index.d.ts +9 -8
- package/dist/web/index.cjs +191 -190
- package/dist/web/index.d.cts +28 -28
- package/dist/web/index.d.ts +28 -28
- package/dist/web/index.js +191 -190
- package/dist/web/intro/index.d.cts +8 -8
- package/dist/web/intro/index.d.ts +8 -8
- package/dist/web/notifications/index.d.cts +7 -7
- package/dist/web/notifications/index.d.ts +7 -7
- package/dist/web/records/depth/index.d.cts +10 -10
- package/dist/web/records/depth/index.d.ts +10 -10
- package/dist/web/records/index.d.cts +13 -13
- package/dist/web/records/index.d.ts +13 -13
- package/dist/web/records-sheet/index.cjs +1 -1
- package/dist/web/records-sheet/index.js +1 -1
- 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 +6 -6
- 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 +6 -6
- 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/texting/index.d.cts +6 -6
- package/dist/web/texting/index.d.ts +6 -6
- package/dist/web/ui/index.cjs +1 -1
- package/dist/web/ui/index.js +33 -33
- package/package.json +1 -32
- package/dist/ErrorPolicyPort.d-68yrE3BE.d.ts +0 -23
- package/dist/ErrorPolicyPort.d-DirW9hgO.d.cts +0 -23
package/dist/client/index.d.cts
CHANGED
|
@@ -2,26 +2,26 @@
|
|
|
2
2
|
import { b as EverfurErrorCode, E as EverfurError } from '../EverfurError.d-8NHtlgzA.cjs';
|
|
3
3
|
export { A as AUTO_RETRYABLE_CODES, B as BACKOFF_BASE_MS, d as BACKOFF_CAP_MS, e as EVERFUR_ERROR_CATEGORIES, f as EVERFUR_ERROR_CODES, a as EverfurErrorCategory, L as LINKED_ACCOUNT_READ_ONLY, M as MAX_RETRY_ATTEMPTS, g as MakeEverfurErrorOptions, R as RETRYABLE_CONTRACT_CODES, h as backoffDelayMs, j as canRecreateOnNotFound, c as categoryFor, k as fromHttpStatus, l as fromWire, m as isAutoRetryable, n as isLinkedAccountReadOnly, i as isRetryableCode, o as makeEverfurError, s as shouldRetry, u as userFacingError } from '../EverfurError.d-8NHtlgzA.cjs';
|
|
4
4
|
export { a as EverfurConfigError, E as EverfurResult, b as EverfurThrownError, e as err, i as isErr, c as isOk, o as ok, u as unwrap } from '../EverfurResult.d-BFH-3s6E.cjs';
|
|
5
|
-
import { d as EverfurRequest } from '../config.d-
|
|
6
|
-
export { A as AcceptedFrame, a as AnalysisCompleteFrame, b as AnalysisStartedFrame, B as ByteSource, C as ClientConfigFailure, m as ClientConfigFailureReason, n as ClientConfigOutcome, o as DEFAULT_CONTRACT_VERSION, D as DeltaFrame, c as DoneFrame, p as EMPTY_FRAME_ARRAYS, q as ENV_API_BASE_URL, E as ErrorFrame, l as EventSourceFactory, r as EventSourceInit, s as EventSourceLike, t as EventSourceMessage, u as EverfurConfig, e as EverfurRequestBase, v as FetchInit, k as FetchLike, w as FetchResponseLike, F as Frame, f as FrameBase, g as FrameKind, h as FreeCapRefusal, H as HeartbeatFrame, i as HttpMethod, M as MultipartBody, R as RawResponse, x as ReadableStreamLike, y as ResolveClientConfigOptions, z as ResolvedClientConfig, G as SDK_PLATFORM, S as SdkPlatform, I as ServerRequestIdSource, J as TransportDeps, T as TransportPort, U as UnknownFrame, j as UrgencyLevel, K as acceptedFrame, L as analysisCompleteFrame, N as analysisStartedFrame, O as assertNever, P as bufferedTextByteSource, Q as buildBaseHeaders, V as checkPublishableKey, W as createHttpTransport, X as deltaFrame, Y as doneFrame, Z as errorFrame, _ as errorFromResponse, $ as eventSourceByteSource, a0 as eventSourceRequestId, a1 as fetchByteSource, a2 as getGlobalFetch, a3 as heartbeatFrame, a4 as networkError, a5 as parseSse, a6 as requestIdOf, a7 as requestJson, a8 as requestRaw, a9 as resolveApiBaseUrl, aa as resolveClientConfig, ab as tryResolveApiBaseUrl, ac as tryResolveClientConfig, ad as unknownFrame } from '../config.d-
|
|
5
|
+
import { d as EverfurRequest } from '../config.d-ClAI2RZ6.cjs';
|
|
6
|
+
export { A as AcceptedFrame, a as AnalysisCompleteFrame, b as AnalysisStartedFrame, B as ByteSource, C as ClientConfigFailure, m as ClientConfigFailureReason, n as ClientConfigOutcome, o as DEFAULT_CONTRACT_VERSION, D as DeltaFrame, c as DoneFrame, p as EMPTY_FRAME_ARRAYS, q as ENV_API_BASE_URL, E as ErrorFrame, l as EventSourceFactory, r as EventSourceInit, s as EventSourceLike, t as EventSourceMessage, u as EverfurConfig, e as EverfurRequestBase, v as FetchInit, k as FetchLike, w as FetchResponseLike, F as Frame, f as FrameBase, g as FrameKind, h as FreeCapRefusal, H as HeartbeatFrame, i as HttpMethod, M as MultipartBody, R as RawResponse, x as ReadableStreamLike, y as ResolveClientConfigOptions, z as ResolvedClientConfig, G as SDK_PLATFORM, S as SdkPlatform, I as ServerRequestIdSource, J as TransportDeps, T as TransportPort, U as UnknownFrame, j as UrgencyLevel, K as acceptedFrame, L as analysisCompleteFrame, N as analysisStartedFrame, O as assertNever, P as bufferedTextByteSource, Q as buildBaseHeaders, V as checkPublishableKey, W as createHttpTransport, X as deltaFrame, Y as doneFrame, Z as errorFrame, _ as errorFromResponse, $ as eventSourceByteSource, a0 as eventSourceRequestId, a1 as fetchByteSource, a2 as getGlobalFetch, a3 as heartbeatFrame, a4 as networkError, a5 as parseSse, a6 as requestIdOf, a7 as requestJson, a8 as requestRaw, a9 as resolveApiBaseUrl, aa as resolveClientConfig, ab as tryResolveApiBaseUrl, ac as tryResolveClientConfig, ad as unknownFrame } from '../config.d-ClAI2RZ6.cjs';
|
|
7
7
|
export { B as Brand, a as ClientId, C as ConversationId, D as DocumentId, J as JobId, P as PetRef, R as RecordsRequestId, b as ResponseId, U as UserRef, _ as __brand, c as conversationId, p as petRef, d as unsafeClientId, e as unsafeConversationId, f as unsafeDocumentId, g as unsafeJobId, h as unsafePetRef, i as unsafeRecordsRequestId, j as unsafeResponseId, k as unsafeUserRef, u as userRef } from '../ids.d-B2GAAifq.cjs';
|
|
8
|
-
export { a as AnonIdentityProvider, A as AuthContext, D as DeviceAuth, I as IdentityProvider, M as MintedToken, T as TokenProvider, b as authHeaders, c as authedSend, d as createAnonIdentityProvider, e as createIdentityProvider, n as newSessionId, w as withAuthHeaders } from '../identity.d-
|
|
8
|
+
export { a as AnonIdentityProvider, A as AuthContext, D as DeviceAuth, I as IdentityProvider, M as MintedToken, T as TokenProvider, b as authHeaders, c as authedSend, d as createAnonIdentityProvider, e as createIdentityProvider, n as newSessionId, w as withAuthHeaders } from '../identity.d-DDpXOtas.cjs';
|
|
9
9
|
export { a as CapabilityDecision, b as CapabilityDisabled, C as CapabilityName, c as DecideOptions, D as DisabledLevel, E as EntitlementDecision, L as LevelGrant, R as ResolvedEntitlements, d as decideCapability, e as deniedDecisionsFor, r as requires, f as resolveEntitlements } from '../resolve.d-BTC3b6FW.cjs';
|
|
10
|
-
export { a as ENTITLEMENTS_PATH, E as EntitlementResolution, F as FetchEntitlementsArgs, f as fetchEntitlements } from '../entitlementRepository.d-
|
|
10
|
+
export { a as ENTITLEMENTS_PATH, E as EntitlementResolution, F as FetchEntitlementsArgs, f as fetchEntitlements } from '../entitlementRepository.d-DVTp-BB9.cjs';
|
|
11
11
|
import { n as EverfurTheme, c as EverfurFontSource, s as EverfurThemeSlots } from '../tokens.d-DDiPRgye.cjs';
|
|
12
12
|
export { F as DEFAULT_MAX_FONT_SCALE, G as EASING_CURVES, H as EVERFUR_DARK, I as EVERFUR_LIGHT, E as EverfurColorTokens, J as EverfurEasingCurve, a as EverfurFontFaceKey, b as EverfurFontFamilies, d as EverfurFontWeight, e as EverfurLetterSpacingTokens, f as EverfurLineHeightTokens, g as EverfurMotionDurationTokens, h as EverfurMotionTokens, i as EverfurRadiusTokens, j as EverfurSpaceTokens, k as EverfurSpringToken, l as EverfurTextColorTokens, m as EverfurTextScaleTier, o as EverfurThemeMeta, p as EverfurThemeSlot, q as EverfurThemeSlotKey, r as EverfurThemeSlotName, t as EverfurTypeRole, u as EverfurTypeRoleFace, v as EverfurTypeRoleStyle, w as EverfurTypeSizeTokens, x as EverfurTypeTokens, y as EverfurWeightTokens, P as PHONE_TEXT_SCALE_CAPS, S as SLOT_MIN_BORDER_CONTRAST, K as SLOT_MIN_CONTRAST, L as SYSTEM_FONT_FAMILY, M as SYSTEM_MONO_FAMILY, N as SlotGrounds, O as SlotSurrounds, Q as TEXT_SCALE_TIER_CAPS, T as THEME_SLOT_KEYS, z as THEME_SLOT_KEYS_BY_SLOT, A as THEME_SLOT_NAMES, B as TYPE_ROLE_DEFAULTS, C as TYPE_ROLE_NAMES, R as cssCubicBezier, U as deepFreeze, V as guardSlotContrast, W as mergeThemeSlots, X as parseThemeSlots, D as themeSlotKeysFor } from '../tokens.d-DDiPRgye.cjs';
|
|
13
13
|
export { E as EverfurFaceStyle, a as EverfurRoleTextStyle, b as EverfurThemeAdjustment, R as ResolveThemeInput, T as TEXT_SCALE_FLOOR, f as face, h as headingFace, p as previewTheme, r as resolveTheme, t as textRole, c as themeAdjustments, w as withServerBranding } from '../typeStyle.d-CLrQZW-r.cjs';
|
|
14
14
|
import { T as ThemeLockName, C as ClientBranding } from '../branding.d-CqDLKj1U.cjs';
|
|
15
15
|
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, q as EverfurTextScaleCapOverrides, h as EverfurTextScaleCapsInput, i as EverfurThemeFontFaceKey, j as EverfurThemeFontUrlsInput, k as EverfurThemeFontsInput, E as EverfurThemeInput, l as EverfurThemeSlotInput, m as EverfurThemeSlotsInput, n as EverfurTypeRoleInput, r as EverfurTypeRoleOverride, s as EverfurTypeRoleOverrides, t as EverfurTypeRoles, o as EverfurTypeRolesInput, L as LOCKABLE_THEME_FIELDS, u as LockableThemeField, M as MAX_FONT_SCALE_CEILING, R as RadiusScale, v as SLOT_LOCK_PREFIX, w as SlotLockName, S as SurfaceStyle, x as THEME_SCHEMA_VERSIONS, y as TYPE_ROLE_RANGES, p as expandAppearance, z as hardenBrandAssetUrl, B as hardenHttpsUrl, D as isEmptyBranding, F as isKnownBrandingSchema, G as lockedFieldsOf, H as parseClientBranding, I as parsePx } from '../branding.d-CqDLKj1U.cjs';
|
|
16
16
|
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, i as EverfurPresentationInput, j as EverfurSafetyDisclaimerPlacement, P as PRESENTATION_LOCK, k as PRESENTATION_LOCK_PREFIX, m as PRESENTATION_WIRE_NAMES, n as isPresentationFieldLocked, o as isPresentationLockName, p as parsePresentation, r as resolvePresentation } from '../presentation.d-BkIvMtIl.cjs';
|
|
17
|
-
import { R as RequestFunnel } from '../requestFunnel.d-
|
|
18
|
-
export { F as FunnelSendOptions, a as RequestFunnelDeps, c as createRequestFunnel } from '../requestFunnel.d-
|
|
19
|
-
export { c as PET_AGE_YEARS_MAX, d as PET_BREED_MAX, e as PET_NAME_MAX, f as PET_SPECIES_MAX, g as PET_WEIGHT_KG_MAX, P as PetProfileInput, a as PetProfilePatch, h as PetsRepository, R as RegisteredPet, W as WidgetPet, i as createPetsRepository, w as widgetPetFromWire } from '../petsRepository.d-
|
|
20
|
-
export { b as CHECKIN_ANSWERS, c as CasesRepository, C as CheckinAnswer, a as CheckinOutcome, W as WatchCase, d as createCasesRepository } from '../casesRepository.d-
|
|
21
|
-
import { b as SdkSettingKey, a as SdkSettings, S as SdkConfigV3, c as SdkFixedStringId } from '../parse.d-
|
|
22
|
-
export { d as SDK_COMBINATIONS, e as SDK_CONFIG_SCHEMA_VERSION, f as SDK_FIXED_STRINGS, g as SDK_SETTING_DEFAULTS, h as SDK_SETTING_SPECS, i as SdkFontFile, j as SdkSettingKind, k as SdkSettingSpec, l as SdkStateGate, p as parseSdkConfig, m as parseSettingValue, n as parseStateGate, r as resolveFixedStrings, o as resolveSettings, s as serializeSdkConfig } from '../parse.d-
|
|
23
|
-
export { S as SDK_STATUS_COLORS, a as SdkAnswerUrgency, b as SdkAskAccess, c as SdkLayout, d as SdkLockable, e as SdkMembership, f as SdkNav, g as SdkPetLocation, h as SdkPlanSheet, i as SdkPresentation, j as SdkSection, k as SdkSeverityLevel, l as SdkVetBadge, m as SdkVetHome, n as SdkVetLevel, o as SdkVetOnAsk, p as askAccess, q as askFootLines, r as bookedSteps, s as bubbleInk, t as buttonFill, u as capMonth, v as chipInk, w as formatDistance, x as formatPrice, y as formatTemperature, z as formatWeight, A as isLocked, B as layoutProblems, C as membersSheet, D as memoryChip, E as partnerDataSources, F as planSheet, G as prescriptionsAllowed, H as priceLines, I as resolveLayout, J as severityBanner, K as severityIndex, L as severityLevels, M as vetHome, N as vetLevelFor, O as vetTabLabel } from '../models.d-
|
|
24
|
-
import '../ErrorPolicyPort.d-
|
|
17
|
+
import { R as RequestFunnel } from '../requestFunnel.d-BwZDfWVD.cjs';
|
|
18
|
+
export { F as FunnelSendOptions, a as RequestFunnelDeps, c as createRequestFunnel } from '../requestFunnel.d-BwZDfWVD.cjs';
|
|
19
|
+
export { c as PET_AGE_YEARS_MAX, d as PET_BREED_MAX, e as PET_NAME_MAX, f as PET_SPECIES_MAX, g as PET_WEIGHT_KG_MAX, P as PetProfileInput, a as PetProfilePatch, h as PetsRepository, R as RegisteredPet, W as WidgetPet, i as createPetsRepository, w as widgetPetFromWire } from '../petsRepository.d-ai_tZ3lu.cjs';
|
|
20
|
+
export { b as CHECKIN_ANSWERS, c as CasesRepository, C as CheckinAnswer, a as CheckinOutcome, W as WatchCase, d as createCasesRepository } from '../casesRepository.d-CVuKTkJo.cjs';
|
|
21
|
+
import { b as SdkSettingKey, a as SdkSettings, S as SdkConfigV3, c as SdkFixedStringId } from '../parse.d-BDZ7ffgj.cjs';
|
|
22
|
+
export { d as SDK_COMBINATIONS, e as SDK_CONFIG_SCHEMA_VERSION, f as SDK_FIXED_STRINGS, g as SDK_SETTING_DEFAULTS, h as SDK_SETTING_SPECS, i as SdkFontFile, j as SdkSettingKind, k as SdkSettingSpec, l as SdkStateGate, p as parseSdkConfig, m as parseSettingValue, n as parseStateGate, r as resolveFixedStrings, o as resolveSettings, s as serializeSdkConfig } from '../parse.d-BDZ7ffgj.cjs';
|
|
23
|
+
export { S as SDK_STATUS_COLORS, a as SdkAnswerUrgency, b as SdkAskAccess, c as SdkLayout, d as SdkLockable, e as SdkMembership, f as SdkNav, g as SdkPetLocation, h as SdkPlanSheet, i as SdkPresentation, j as SdkSection, k as SdkSeverityLevel, l as SdkVetBadge, m as SdkVetHome, n as SdkVetLevel, o as SdkVetOnAsk, p as askAccess, q as askFootLines, r as bookedSteps, s as bubbleInk, t as buttonFill, u as capMonth, v as chipInk, w as formatDistance, x as formatPrice, y as formatTemperature, z as formatWeight, A as isLocked, B as layoutProblems, C as membersSheet, D as memoryChip, E as partnerDataSources, F as planSheet, G as prescriptionsAllowed, H as priceLines, I as resolveLayout, J as severityBanner, K as severityIndex, L as severityLevels, M as vetHome, N as vetLevelFor, O as vetTabLabel } from '../models.d-BKmOfoqV.cjs';
|
|
24
|
+
import '../ErrorPolicyPort.d-BIdmYQnk.cjs';
|
|
25
25
|
import '../profile.d-CSs1wlXT.cjs';
|
|
26
26
|
|
|
27
27
|
/** Which wire shape a code arrives in. The two envelopes are different objects, not casings. */
|
|
@@ -73,7 +73,7 @@ declare function contractDocUrl(entry: ContractErrorRow): string;
|
|
|
73
73
|
/**
|
|
74
74
|
* Is the `/errors` reference page actually published?
|
|
75
75
|
*
|
|
76
|
-
* Measured 2026-08-23: it is NOT. `
|
|
76
|
+
* Measured 2026-08-23: it is NOT. `the consumer web app` has no `errors` route, so every `docUrl` the SDK
|
|
77
77
|
* emitted was a dangling pointer: a partner received the string `/errors#RATE_LIMITED`, with no origin to
|
|
78
78
|
* resolve it against and no page behind it if they guessed one. Handing out a link that cannot be opened is
|
|
79
79
|
* worse than handing out none: it reads as documentation that exists.
|
|
@@ -92,7 +92,7 @@ declare function publishedDocUrl(entry: ContractErrorRow): string | null;
|
|
|
92
92
|
* Package semver, sent as X-Everfur-SDK-Version. MUST track package.json version (release checklist Item 12
|
|
93
93
|
* keeps the npm semver tag and this constant in lockstep). Set inside the SDK, never by partner code.
|
|
94
94
|
*/
|
|
95
|
-
declare const SDK_VERSION = "1.
|
|
95
|
+
declare const SDK_VERSION = "1.5.0";
|
|
96
96
|
|
|
97
97
|
/**
|
|
98
98
|
* Parse a permissive colour into a normalized string (`#RRGGBB` when opaque, else `rgba(r,g,b,a)`), or null.
|
|
@@ -142,14 +142,17 @@ declare const HIGH_CONTRAST_TARGET_RATIO = 7;
|
|
|
142
142
|
*/
|
|
143
143
|
declare function deriveHighContrast(theme: EverfurTheme): EverfurTheme;
|
|
144
144
|
|
|
145
|
-
/** Values a string may name. Each is optional: a missing one
|
|
145
|
+
/** Values a string may name. Each is optional: see the file header for what a missing one becomes. */
|
|
146
146
|
interface SdkTextValues {
|
|
147
|
-
|
|
147
|
+
/** The pet's name. Absent or blank: "your pet" ("Your pet" at a sentence start). */
|
|
148
|
+
readonly pet?: string | null;
|
|
149
|
+
/** The free-message cap. Absent: access.free_messages. */
|
|
148
150
|
readonly cap?: number | string;
|
|
149
151
|
readonly left?: number | string;
|
|
150
152
|
readonly visits?: number | string;
|
|
151
153
|
readonly price?: string;
|
|
152
154
|
readonly state?: string;
|
|
155
|
+
/** The pet's object pronoun. Absent: "them". */
|
|
153
156
|
readonly them?: string;
|
|
154
157
|
readonly when?: string;
|
|
155
158
|
}
|
package/dist/client/index.d.ts
CHANGED
|
@@ -2,26 +2,26 @@
|
|
|
2
2
|
import { b as EverfurErrorCode, E as EverfurError } from '../EverfurError.d-8NHtlgzA.js';
|
|
3
3
|
export { A as AUTO_RETRYABLE_CODES, B as BACKOFF_BASE_MS, d as BACKOFF_CAP_MS, e as EVERFUR_ERROR_CATEGORIES, f as EVERFUR_ERROR_CODES, a as EverfurErrorCategory, L as LINKED_ACCOUNT_READ_ONLY, M as MAX_RETRY_ATTEMPTS, g as MakeEverfurErrorOptions, R as RETRYABLE_CONTRACT_CODES, h as backoffDelayMs, j as canRecreateOnNotFound, c as categoryFor, k as fromHttpStatus, l as fromWire, m as isAutoRetryable, n as isLinkedAccountReadOnly, i as isRetryableCode, o as makeEverfurError, s as shouldRetry, u as userFacingError } from '../EverfurError.d-8NHtlgzA.js';
|
|
4
4
|
export { a as EverfurConfigError, E as EverfurResult, b as EverfurThrownError, e as err, i as isErr, c as isOk, o as ok, u as unwrap } from '../EverfurResult.d-D_-254ZY.js';
|
|
5
|
-
import { d as EverfurRequest } from '../config.d-
|
|
6
|
-
export { A as AcceptedFrame, a as AnalysisCompleteFrame, b as AnalysisStartedFrame, B as ByteSource, C as ClientConfigFailure, m as ClientConfigFailureReason, n as ClientConfigOutcome, o as DEFAULT_CONTRACT_VERSION, D as DeltaFrame, c as DoneFrame, p as EMPTY_FRAME_ARRAYS, q as ENV_API_BASE_URL, E as ErrorFrame, l as EventSourceFactory, r as EventSourceInit, s as EventSourceLike, t as EventSourceMessage, u as EverfurConfig, e as EverfurRequestBase, v as FetchInit, k as FetchLike, w as FetchResponseLike, F as Frame, f as FrameBase, g as FrameKind, h as FreeCapRefusal, H as HeartbeatFrame, i as HttpMethod, M as MultipartBody, R as RawResponse, x as ReadableStreamLike, y as ResolveClientConfigOptions, z as ResolvedClientConfig, G as SDK_PLATFORM, S as SdkPlatform, I as ServerRequestIdSource, J as TransportDeps, T as TransportPort, U as UnknownFrame, j as UrgencyLevel, K as acceptedFrame, L as analysisCompleteFrame, N as analysisStartedFrame, O as assertNever, P as bufferedTextByteSource, Q as buildBaseHeaders, V as checkPublishableKey, W as createHttpTransport, X as deltaFrame, Y as doneFrame, Z as errorFrame, _ as errorFromResponse, $ as eventSourceByteSource, a0 as eventSourceRequestId, a1 as fetchByteSource, a2 as getGlobalFetch, a3 as heartbeatFrame, a4 as networkError, a5 as parseSse, a6 as requestIdOf, a7 as requestJson, a8 as requestRaw, a9 as resolveApiBaseUrl, aa as resolveClientConfig, ab as tryResolveApiBaseUrl, ac as tryResolveClientConfig, ad as unknownFrame } from '../config.d-
|
|
5
|
+
import { d as EverfurRequest } from '../config.d-B7Z-KTGq.js';
|
|
6
|
+
export { A as AcceptedFrame, a as AnalysisCompleteFrame, b as AnalysisStartedFrame, B as ByteSource, C as ClientConfigFailure, m as ClientConfigFailureReason, n as ClientConfigOutcome, o as DEFAULT_CONTRACT_VERSION, D as DeltaFrame, c as DoneFrame, p as EMPTY_FRAME_ARRAYS, q as ENV_API_BASE_URL, E as ErrorFrame, l as EventSourceFactory, r as EventSourceInit, s as EventSourceLike, t as EventSourceMessage, u as EverfurConfig, e as EverfurRequestBase, v as FetchInit, k as FetchLike, w as FetchResponseLike, F as Frame, f as FrameBase, g as FrameKind, h as FreeCapRefusal, H as HeartbeatFrame, i as HttpMethod, M as MultipartBody, R as RawResponse, x as ReadableStreamLike, y as ResolveClientConfigOptions, z as ResolvedClientConfig, G as SDK_PLATFORM, S as SdkPlatform, I as ServerRequestIdSource, J as TransportDeps, T as TransportPort, U as UnknownFrame, j as UrgencyLevel, K as acceptedFrame, L as analysisCompleteFrame, N as analysisStartedFrame, O as assertNever, P as bufferedTextByteSource, Q as buildBaseHeaders, V as checkPublishableKey, W as createHttpTransport, X as deltaFrame, Y as doneFrame, Z as errorFrame, _ as errorFromResponse, $ as eventSourceByteSource, a0 as eventSourceRequestId, a1 as fetchByteSource, a2 as getGlobalFetch, a3 as heartbeatFrame, a4 as networkError, a5 as parseSse, a6 as requestIdOf, a7 as requestJson, a8 as requestRaw, a9 as resolveApiBaseUrl, aa as resolveClientConfig, ab as tryResolveApiBaseUrl, ac as tryResolveClientConfig, ad as unknownFrame } from '../config.d-B7Z-KTGq.js';
|
|
7
7
|
export { B as Brand, a as ClientId, C as ConversationId, D as DocumentId, J as JobId, P as PetRef, R as RecordsRequestId, b as ResponseId, U as UserRef, _ as __brand, c as conversationId, p as petRef, d as unsafeClientId, e as unsafeConversationId, f as unsafeDocumentId, g as unsafeJobId, h as unsafePetRef, i as unsafeRecordsRequestId, j as unsafeResponseId, k as unsafeUserRef, u as userRef } from '../ids.d-B2GAAifq.js';
|
|
8
|
-
export { a as AnonIdentityProvider, A as AuthContext, D as DeviceAuth, I as IdentityProvider, M as MintedToken, T as TokenProvider, b as authHeaders, c as authedSend, d as createAnonIdentityProvider, e as createIdentityProvider, n as newSessionId, w as withAuthHeaders } from '../identity.d-
|
|
8
|
+
export { a as AnonIdentityProvider, A as AuthContext, D as DeviceAuth, I as IdentityProvider, M as MintedToken, T as TokenProvider, b as authHeaders, c as authedSend, d as createAnonIdentityProvider, e as createIdentityProvider, n as newSessionId, w as withAuthHeaders } from '../identity.d-D4VtpqRr.js';
|
|
9
9
|
export { a as CapabilityDecision, b as CapabilityDisabled, C as CapabilityName, c as DecideOptions, D as DisabledLevel, E as EntitlementDecision, L as LevelGrant, R as ResolvedEntitlements, d as decideCapability, e as deniedDecisionsFor, r as requires, f as resolveEntitlements } from '../resolve.d-BTC3b6FW.js';
|
|
10
|
-
export { a as ENTITLEMENTS_PATH, E as EntitlementResolution, F as FetchEntitlementsArgs, f as fetchEntitlements } from '../entitlementRepository.d-
|
|
10
|
+
export { a as ENTITLEMENTS_PATH, E as EntitlementResolution, F as FetchEntitlementsArgs, f as fetchEntitlements } from '../entitlementRepository.d-CkUTlVAb.js';
|
|
11
11
|
import { n as EverfurTheme, c as EverfurFontSource, s as EverfurThemeSlots } from '../tokens.d-DDiPRgye.js';
|
|
12
12
|
export { F as DEFAULT_MAX_FONT_SCALE, G as EASING_CURVES, H as EVERFUR_DARK, I as EVERFUR_LIGHT, E as EverfurColorTokens, J as EverfurEasingCurve, a as EverfurFontFaceKey, b as EverfurFontFamilies, d as EverfurFontWeight, e as EverfurLetterSpacingTokens, f as EverfurLineHeightTokens, g as EverfurMotionDurationTokens, h as EverfurMotionTokens, i as EverfurRadiusTokens, j as EverfurSpaceTokens, k as EverfurSpringToken, l as EverfurTextColorTokens, m as EverfurTextScaleTier, o as EverfurThemeMeta, p as EverfurThemeSlot, q as EverfurThemeSlotKey, r as EverfurThemeSlotName, t as EverfurTypeRole, u as EverfurTypeRoleFace, v as EverfurTypeRoleStyle, w as EverfurTypeSizeTokens, x as EverfurTypeTokens, y as EverfurWeightTokens, P as PHONE_TEXT_SCALE_CAPS, S as SLOT_MIN_BORDER_CONTRAST, K as SLOT_MIN_CONTRAST, L as SYSTEM_FONT_FAMILY, M as SYSTEM_MONO_FAMILY, N as SlotGrounds, O as SlotSurrounds, Q as TEXT_SCALE_TIER_CAPS, T as THEME_SLOT_KEYS, z as THEME_SLOT_KEYS_BY_SLOT, A as THEME_SLOT_NAMES, B as TYPE_ROLE_DEFAULTS, C as TYPE_ROLE_NAMES, R as cssCubicBezier, U as deepFreeze, V as guardSlotContrast, W as mergeThemeSlots, X as parseThemeSlots, D as themeSlotKeysFor } from '../tokens.d-DDiPRgye.js';
|
|
13
13
|
export { E as EverfurFaceStyle, a as EverfurRoleTextStyle, b as EverfurThemeAdjustment, R as ResolveThemeInput, T as TEXT_SCALE_FLOOR, f as face, h as headingFace, p as previewTheme, r as resolveTheme, t as textRole, c as themeAdjustments, w as withServerBranding } from '../typeStyle.d-8mcLhtbH.js';
|
|
14
14
|
import { T as ThemeLockName, C as ClientBranding } from '../branding.d-XrZYClN4.js';
|
|
15
15
|
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, q as EverfurTextScaleCapOverrides, h as EverfurTextScaleCapsInput, i as EverfurThemeFontFaceKey, j as EverfurThemeFontUrlsInput, k as EverfurThemeFontsInput, E as EverfurThemeInput, l as EverfurThemeSlotInput, m as EverfurThemeSlotsInput, n as EverfurTypeRoleInput, r as EverfurTypeRoleOverride, s as EverfurTypeRoleOverrides, t as EverfurTypeRoles, o as EverfurTypeRolesInput, L as LOCKABLE_THEME_FIELDS, u as LockableThemeField, M as MAX_FONT_SCALE_CEILING, R as RadiusScale, v as SLOT_LOCK_PREFIX, w as SlotLockName, S as SurfaceStyle, x as THEME_SCHEMA_VERSIONS, y as TYPE_ROLE_RANGES, p as expandAppearance, z as hardenBrandAssetUrl, B as hardenHttpsUrl, D as isEmptyBranding, F as isKnownBrandingSchema, G as lockedFieldsOf, H as parseClientBranding, I as parsePx } from '../branding.d-XrZYClN4.js';
|
|
16
16
|
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, i as EverfurPresentationInput, j as EverfurSafetyDisclaimerPlacement, P as PRESENTATION_LOCK, k as PRESENTATION_LOCK_PREFIX, m as PRESENTATION_WIRE_NAMES, n as isPresentationFieldLocked, o as isPresentationLockName, p as parsePresentation, r as resolvePresentation } from '../presentation.d-BkIvMtIl.js';
|
|
17
|
-
import { R as RequestFunnel } from '../requestFunnel.d-
|
|
18
|
-
export { F as FunnelSendOptions, a as RequestFunnelDeps, c as createRequestFunnel } from '../requestFunnel.d-
|
|
19
|
-
export { c as PET_AGE_YEARS_MAX, d as PET_BREED_MAX, e as PET_NAME_MAX, f as PET_SPECIES_MAX, g as PET_WEIGHT_KG_MAX, P as PetProfileInput, a as PetProfilePatch, h as PetsRepository, R as RegisteredPet, W as WidgetPet, i as createPetsRepository, w as widgetPetFromWire } from '../petsRepository.d-
|
|
20
|
-
export { b as CHECKIN_ANSWERS, c as CasesRepository, C as CheckinAnswer, a as CheckinOutcome, W as WatchCase, d as createCasesRepository } from '../casesRepository.d-
|
|
21
|
-
import { b as SdkSettingKey, a as SdkSettings, S as SdkConfigV3, c as SdkFixedStringId } from '../parse.d-
|
|
22
|
-
export { d as SDK_COMBINATIONS, e as SDK_CONFIG_SCHEMA_VERSION, f as SDK_FIXED_STRINGS, g as SDK_SETTING_DEFAULTS, h as SDK_SETTING_SPECS, i as SdkFontFile, j as SdkSettingKind, k as SdkSettingSpec, l as SdkStateGate, p as parseSdkConfig, m as parseSettingValue, n as parseStateGate, r as resolveFixedStrings, o as resolveSettings, s as serializeSdkConfig } from '../parse.d-
|
|
23
|
-
export { S as SDK_STATUS_COLORS, a as SdkAnswerUrgency, b as SdkAskAccess, c as SdkLayout, d as SdkLockable, e as SdkMembership, f as SdkNav, g as SdkPetLocation, h as SdkPlanSheet, i as SdkPresentation, j as SdkSection, k as SdkSeverityLevel, l as SdkVetBadge, m as SdkVetHome, n as SdkVetLevel, o as SdkVetOnAsk, p as askAccess, q as askFootLines, r as bookedSteps, s as bubbleInk, t as buttonFill, u as capMonth, v as chipInk, w as formatDistance, x as formatPrice, y as formatTemperature, z as formatWeight, A as isLocked, B as layoutProblems, C as membersSheet, D as memoryChip, E as partnerDataSources, F as planSheet, G as prescriptionsAllowed, H as priceLines, I as resolveLayout, J as severityBanner, K as severityIndex, L as severityLevels, M as vetHome, N as vetLevelFor, O as vetTabLabel } from '../models.d-
|
|
24
|
-
import '../ErrorPolicyPort.d-
|
|
17
|
+
import { R as RequestFunnel } from '../requestFunnel.d-DKBPTpsy.js';
|
|
18
|
+
export { F as FunnelSendOptions, a as RequestFunnelDeps, c as createRequestFunnel } from '../requestFunnel.d-DKBPTpsy.js';
|
|
19
|
+
export { c as PET_AGE_YEARS_MAX, d as PET_BREED_MAX, e as PET_NAME_MAX, f as PET_SPECIES_MAX, g as PET_WEIGHT_KG_MAX, P as PetProfileInput, a as PetProfilePatch, h as PetsRepository, R as RegisteredPet, W as WidgetPet, i as createPetsRepository, w as widgetPetFromWire } from '../petsRepository.d-_QfM7F6T.js';
|
|
20
|
+
export { b as CHECKIN_ANSWERS, c as CasesRepository, C as CheckinAnswer, a as CheckinOutcome, W as WatchCase, d as createCasesRepository } from '../casesRepository.d-Dn1fK1b2.js';
|
|
21
|
+
import { b as SdkSettingKey, a as SdkSettings, S as SdkConfigV3, c as SdkFixedStringId } from '../parse.d-BDZ7ffgj.js';
|
|
22
|
+
export { d as SDK_COMBINATIONS, e as SDK_CONFIG_SCHEMA_VERSION, f as SDK_FIXED_STRINGS, g as SDK_SETTING_DEFAULTS, h as SDK_SETTING_SPECS, i as SdkFontFile, j as SdkSettingKind, k as SdkSettingSpec, l as SdkStateGate, p as parseSdkConfig, m as parseSettingValue, n as parseStateGate, r as resolveFixedStrings, o as resolveSettings, s as serializeSdkConfig } from '../parse.d-BDZ7ffgj.js';
|
|
23
|
+
export { S as SDK_STATUS_COLORS, a as SdkAnswerUrgency, b as SdkAskAccess, c as SdkLayout, d as SdkLockable, e as SdkMembership, f as SdkNav, g as SdkPetLocation, h as SdkPlanSheet, i as SdkPresentation, j as SdkSection, k as SdkSeverityLevel, l as SdkVetBadge, m as SdkVetHome, n as SdkVetLevel, o as SdkVetOnAsk, p as askAccess, q as askFootLines, r as bookedSteps, s as bubbleInk, t as buttonFill, u as capMonth, v as chipInk, w as formatDistance, x as formatPrice, y as formatTemperature, z as formatWeight, A as isLocked, B as layoutProblems, C as membersSheet, D as memoryChip, E as partnerDataSources, F as planSheet, G as prescriptionsAllowed, H as priceLines, I as resolveLayout, J as severityBanner, K as severityIndex, L as severityLevels, M as vetHome, N as vetLevelFor, O as vetTabLabel } from '../models.d-BULqCO2R.js';
|
|
24
|
+
import '../ErrorPolicyPort.d-BnI5qWg4.js';
|
|
25
25
|
import '../profile.d-CSs1wlXT.js';
|
|
26
26
|
|
|
27
27
|
/** Which wire shape a code arrives in. The two envelopes are different objects, not casings. */
|
|
@@ -73,7 +73,7 @@ declare function contractDocUrl(entry: ContractErrorRow): string;
|
|
|
73
73
|
/**
|
|
74
74
|
* Is the `/errors` reference page actually published?
|
|
75
75
|
*
|
|
76
|
-
* Measured 2026-08-23: it is NOT. `
|
|
76
|
+
* Measured 2026-08-23: it is NOT. `the consumer web app` has no `errors` route, so every `docUrl` the SDK
|
|
77
77
|
* emitted was a dangling pointer: a partner received the string `/errors#RATE_LIMITED`, with no origin to
|
|
78
78
|
* resolve it against and no page behind it if they guessed one. Handing out a link that cannot be opened is
|
|
79
79
|
* worse than handing out none: it reads as documentation that exists.
|
|
@@ -92,7 +92,7 @@ declare function publishedDocUrl(entry: ContractErrorRow): string | null;
|
|
|
92
92
|
* Package semver, sent as X-Everfur-SDK-Version. MUST track package.json version (release checklist Item 12
|
|
93
93
|
* keeps the npm semver tag and this constant in lockstep). Set inside the SDK, never by partner code.
|
|
94
94
|
*/
|
|
95
|
-
declare const SDK_VERSION = "1.
|
|
95
|
+
declare const SDK_VERSION = "1.5.0";
|
|
96
96
|
|
|
97
97
|
/**
|
|
98
98
|
* Parse a permissive colour into a normalized string (`#RRGGBB` when opaque, else `rgba(r,g,b,a)`), or null.
|
|
@@ -142,14 +142,17 @@ declare const HIGH_CONTRAST_TARGET_RATIO = 7;
|
|
|
142
142
|
*/
|
|
143
143
|
declare function deriveHighContrast(theme: EverfurTheme): EverfurTheme;
|
|
144
144
|
|
|
145
|
-
/** Values a string may name. Each is optional: a missing one
|
|
145
|
+
/** Values a string may name. Each is optional: see the file header for what a missing one becomes. */
|
|
146
146
|
interface SdkTextValues {
|
|
147
|
-
|
|
147
|
+
/** The pet's name. Absent or blank: "your pet" ("Your pet" at a sentence start). */
|
|
148
|
+
readonly pet?: string | null;
|
|
149
|
+
/** The free-message cap. Absent: access.free_messages. */
|
|
148
150
|
readonly cap?: number | string;
|
|
149
151
|
readonly left?: number | string;
|
|
150
152
|
readonly visits?: number | string;
|
|
151
153
|
readonly price?: string;
|
|
152
154
|
readonly state?: string;
|
|
155
|
+
/** The pet's object pronoun. Absent: "them". */
|
|
153
156
|
readonly them?: string;
|
|
154
157
|
readonly when?: string;
|
|
155
158
|
}
|