@everfur/sdk 0.5.3 → 0.5.4
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 +30 -0
- package/dist/{Chat-CNRZEu92.d.ts → Chat-DXDS-MiC.d.ts} +3 -3
- package/dist/{Chat-a6If51cF.d.cts → Chat-Dfjegpf2.d.cts} +3 -3
- package/dist/{DepthViews-kURiusNd.d.cts → DepthViews-BhBA6qiu.d.cts} +1 -1
- package/dist/{DepthViews-zhn3Rk5Z.d.ts → DepthViews-DFODLIM2.d.ts} +1 -1
- package/dist/{DepthViews-Cl4AoL3X.d.cts → DepthViews-meuqwdBv.d.cts} +1 -1
- package/dist/{DepthViews-Bfv2DTUl.d.ts → DepthViews-ru9SaVXz.d.ts} +1 -1
- package/dist/animations/index.d.cts +3 -3
- package/dist/animations/index.d.ts +3 -3
- package/dist/{attachments-TXOhN36S.d.ts → attachments-Cnz4Zqxq.d.ts} +5 -5
- package/dist/{attachments-5_p7kE38.d.ts → attachments-D3i4WG5V.d.ts} +2 -2
- package/dist/{attachments-CHgc11hT.d.cts → attachments-DN0VDOBG.d.cts} +5 -5
- package/dist/{attachments-affGN_Uv.d.cts → attachments-hAjG4YGo.d.cts} +2 -2
- package/dist/{bookingCopy-BQ7Pg7qg.d.ts → bookingCopy-Bu1pMPh1.d.ts} +2 -2
- package/dist/{bookingCopy-BpZvZO1S.d.cts → bookingCopy-DP3k0iBn.d.cts} +2 -2
- package/dist/{casesRepository-z2JAFlKA.d.cts → casesRepository-BIV6eQxW.d.cts} +1 -1
- package/dist/{casesRepository-YCI0OVwl.d.ts → casesRepository-Bf8QDDPM.d.ts} +1 -1
- package/dist/chat/index.d.cts +9 -9
- package/dist/chat/index.d.ts +9 -9
- package/dist/client/index.cjs +1 -1
- package/dist/client/index.d.cts +6 -6
- package/dist/client/index.d.ts +6 -6
- package/dist/client/index.js +1 -1
- package/dist/{config-Bkbqkjb0.d.cts → config-3jJR8fVC.d.cts} +1 -1
- package/dist/{config-BXVgTLCh.d.ts → config-FhlcRHRe.d.ts} +1 -1
- package/dist/consent/index.d.cts +5 -5
- package/dist/consent/index.d.ts +5 -5
- package/dist/{context-ChPrlKhy.d.cts → context-BVGuiYob.d.cts} +5 -5
- package/dist/{context-BVpOBDMe.d.ts → context-BqfAkCov.d.ts} +5 -5
- package/dist/{copy-SxmZ-Eps.d.ts → copy-BDfIOo5Z.d.ts} +2 -2
- package/dist/{copy-Be2H2i-D.d.cts → copy-DBbgO9g4.d.cts} +2 -2
- package/dist/core/index.cjs +1 -1
- package/dist/core/index.d.cts +12 -12
- package/dist/core/index.d.ts +12 -12
- package/dist/core/index.js +1 -1
- package/dist/{depth-Dne8Qoss.d.cts → depth-Cwmumplg.d.cts} +2 -2
- package/dist/{depth-By8dFpLA.d.ts → depth-VpVaDj5I.d.ts} +2 -2
- package/dist/{entitlementRepository-BmghvtGT.d.cts → entitlementRepository-CCIj0Z0c.d.cts} +2 -2
- package/dist/{entitlementRepository-Big-K_In.d.ts → entitlementRepository-Cys2DfuQ.d.ts} +2 -2
- package/dist/{identity-AuoeDRTh.d.ts → identity-BMPu-Kg6.d.ts} +1 -1
- package/dist/{identity-Z0yj-fC_.d.cts → identity-DkVFMcyL.d.cts} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +12 -12
- package/dist/index.d.ts +12 -12
- package/dist/index.js +1 -1
- package/dist/notifications/index.d.cts +2 -2
- package/dist/notifications/index.d.ts +2 -2
- package/dist/{pets-DfXGYmMk.d.cts → pets-B6QnvZi2.d.cts} +1 -1
- package/dist/{pets-FD-5nMXr.d.ts → pets-BCgVJlJD.d.ts} +1 -1
- package/dist/{petsRepository-CsvreWlY.d.cts → petsRepository-CwIyiIvt.d.cts} +1 -1
- package/dist/{petsRepository-BaTOwJ5L.d.ts → petsRepository-I9vZvRpE.d.ts} +1 -1
- package/dist/{ports-DNIvfzBP.d.ts → ports-BtrM61nV.d.ts} +4 -4
- package/dist/{ports-Dof7AQjk.d.cts → ports-D0DaSL3j.d.cts} +4 -4
- package/dist/records/depth/index.d.cts +7 -7
- package/dist/records/depth/index.d.ts +7 -7
- package/dist/records/index.d.cts +9 -9
- package/dist/records/index.d.ts +9 -9
- package/dist/{requestFunnel-CJC_q4BZ.d.ts → requestFunnel-C1Fp7waD.d.ts} +2 -2
- package/dist/{requestFunnel-DrigK6q_.d.cts → requestFunnel-CR8wGfpV.d.cts} +2 -2
- package/dist/{runtimeTypes-Doj95Gll.d.cts → runtimeTypes-BCXujmD6.d.cts} +4 -4
- package/dist/{runtimeTypes-BiqMY6pC.d.ts → runtimeTypes-CuwgMArF.d.ts} +4 -4
- 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.d.cts +6 -6
- package/dist/televet/booking/index.d.ts +6 -6
- package/dist/testing/index.d.cts +1 -1
- package/dist/testing/index.d.ts +1 -1
- package/dist/testing/rn/index.d.cts +7 -7
- package/dist/testing/rn/index.d.ts +7 -7
- package/dist/testing/web/index.d.cts +7 -7
- package/dist/testing/web/index.d.ts +7 -7
- package/dist/{timelineRows-BHA0gIKH.d.ts → timelineRows-DFmwWHyj.d.ts} +1 -1
- package/dist/{timelineRows-CHeqZRpM.d.cts → timelineRows-EaAqBcX2.d.cts} +1 -1
- package/dist/{useRecordsDepth-CG63cXFZ.d.ts → useRecordsDepth-Bo2d27fm.d.ts} +1 -1
- package/dist/{useRecordsDepth-ChhS4c6r.d.cts → useRecordsDepth-DgQrho7p.d.cts} +1 -1
- package/dist/{view-BKy44Q-3.d.ts → view-DGIjZtq8.d.ts} +2 -2
- package/dist/{view-2pXv8ex7.d.cts → view-DwYhyFC2.d.cts} +2 -2
- package/dist/web/consent/index.d.cts +5 -5
- package/dist/web/consent/index.d.ts +5 -5
- package/dist/web/index.cjs +10 -10
- package/dist/web/index.d.cts +14 -14
- package/dist/web/index.d.ts +14 -14
- package/dist/web/index.js +10 -10
- package/dist/web/notifications/index.d.cts +3 -3
- package/dist/web/notifications/index.d.ts +3 -3
- package/dist/web/records/depth/index.d.cts +7 -7
- package/dist/web/records/depth/index.d.ts +7 -7
- package/dist/web/records/index.cjs +3 -3
- package/dist/web/records/index.d.cts +9 -9
- package/dist/web/records/index.d.ts +9 -9
- package/dist/web/records/index.js +3 -3
- package/dist/web/televet/booking/index.cjs +2 -2
- package/dist/web/televet/booking/index.d.cts +9 -8
- package/dist/web/televet/booking/index.d.ts +9 -8
- package/dist/web/televet/booking/index.js +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
`,Wf=1048576,Gf=zod.z.record(zod.z.string(),zod.z.unknown()),Kf=["emergency","schedule_soon","home_care"];async function*Br(e,t=null){let r=null,n=i(()=>(r!==null||(r=typeof t=="function"?t():t),r),"requestIdNow"),o=new TextDecoder("utf-8"),s="",a=0,l=false;for await(let u of e){for(s+=o.decode(u,{stream:true});;){let d=s.indexOf(ks,a);if(d===-1)break;let c=s.slice(0,d);s=s.slice(d+ks.length),a=0;let p=xs(c,n());if(p!==null&&(p.kind==="delta"&&(l=true),yield p,p.terminal))return}if(a=s.length>0?s.length-1:0,s.length>Wf){yield pe({code:l?"CHAT_STREAM_INCOMPLETE":"internal_error",retryable:true,wireMessage:null,synthesized:true,lastEventId:null,serverRequestId:n()});return}}if(s+=o.decode(),s.trim().length>0){let u=xs(s,n());if(u!==null&&(u.kind==="delta"&&(l=true),yield u,u.terminal))return}yield pe({code:l?"CHAT_STREAM_INCOMPLETE":"internal_error",retryable:true,wireMessage:null,synthesized:true,lastEventId:null,serverRequestId:n()});}i(Br,"parseSse");function xs(e,t){let r=null,n=[];for(let a of e.split(`
|
|
4
4
|
`)){let l=a.replace(/\s+$/,"");l.length===0||l.startsWith(":")||(l.startsWith("id:")?r=l.slice(3).trim():l.startsWith("data:")&&n.push(l.slice(5).replace(/^ /,"")));}if(n.length===0)return null;let o;try{o=JSON.parse(n.join(`
|
|
5
|
-
`));}catch{return null}if(typeof o!="object"||o===null||Array.isArray(o))return null;let s=Gf.safeParse(o);return s.success?qf(s.data,r,t):null}i(xs,"parseBlock");function qf(e,t,r){let n=e.type,o=e.event;if(n==="error"||"error"in e)return pe({code:le(e.code)??"unknown",retryable:e.retryable===true,wireMessage:le(e.error),synthesized:false,lastEventId:t,serverRequestId:r});if(n==="done"||e.done===true)return Es({conversationId:le(e.conversation_id)??"",messageId:le(e.message_id),title:le(e.title),followUpQuestions:Xf(e.follow_up_questions),citations:_s(e.citations),citationStatus:le(e.citation_status),urgencyLevel:ws(e.urgency_level),urgencyReason:le(e.urgency_reason),urgencyProvided:Yf(e),resultId:le(e.result_id),lastEventId:t},r);if(n==="accepted"||e.status==="reasoning")return hs(le(e.stream_id),t,r);if(n==="heartbeat"||e.heartbeat===true)return bs(t,r);if(n==="text.delta"||"delta"in e||"token"in e){let s=le(e.delta)??le(e.token)??"";return vs(s,t,r)}return o==="analysis_started"?Cs(le(e.request_id),t,r):o==="analysis_complete"?Rs({resultId:le(e.result_id),analysisType:le(e.analysis_type),modelVersion:le(e.model_version),confidence:$f(e.confidence),detections:_s(e.detections),interpretation:le(e.interpretation),lastEventId:t},r):Ss(e,t,r)}i(qf,"frameFromWire");function le(e){return typeof e=="string"?e:null}i(le,"asString");function $f(e){return typeof e=="number"&&Number.isFinite(e)?e:null}i($f,"asNumber");function ws(e){return typeof e=="string"&&Kf.includes(e)?e:null}i(ws,"asUrgency");function Yf(e){if(!Object.prototype.hasOwnProperty.call(e,"urgency_level"))return false;let t=e.urgency_level;return t===null||ws(t)!==null}i(Yf,"urgencySlotProvided");function Xf(e){return Array.isArray(e)?e.map(t=>typeof t=="string"?t:String(t)):[]}i(Xf,"asStringList");function Qf(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}i(Qf,"isPlainObject");function _s(e){return Array.isArray(e)?e.filter(Qf):[]}i(_s,"asMapList");var Zf="0.5.
|
|
5
|
+
`));}catch{return null}if(typeof o!="object"||o===null||Array.isArray(o))return null;let s=Gf.safeParse(o);return s.success?qf(s.data,r,t):null}i(xs,"parseBlock");function qf(e,t,r){let n=e.type,o=e.event;if(n==="error"||"error"in e)return pe({code:le(e.code)??"unknown",retryable:e.retryable===true,wireMessage:le(e.error),synthesized:false,lastEventId:t,serverRequestId:r});if(n==="done"||e.done===true)return Es({conversationId:le(e.conversation_id)??"",messageId:le(e.message_id),title:le(e.title),followUpQuestions:Xf(e.follow_up_questions),citations:_s(e.citations),citationStatus:le(e.citation_status),urgencyLevel:ws(e.urgency_level),urgencyReason:le(e.urgency_reason),urgencyProvided:Yf(e),resultId:le(e.result_id),lastEventId:t},r);if(n==="accepted"||e.status==="reasoning")return hs(le(e.stream_id),t,r);if(n==="heartbeat"||e.heartbeat===true)return bs(t,r);if(n==="text.delta"||"delta"in e||"token"in e){let s=le(e.delta)??le(e.token)??"";return vs(s,t,r)}return o==="analysis_started"?Cs(le(e.request_id),t,r):o==="analysis_complete"?Rs({resultId:le(e.result_id),analysisType:le(e.analysis_type),modelVersion:le(e.model_version),confidence:$f(e.confidence),detections:_s(e.detections),interpretation:le(e.interpretation),lastEventId:t},r):Ss(e,t,r)}i(qf,"frameFromWire");function le(e){return typeof e=="string"?e:null}i(le,"asString");function $f(e){return typeof e=="number"&&Number.isFinite(e)?e:null}i($f,"asNumber");function ws(e){return typeof e=="string"&&Kf.includes(e)?e:null}i(ws,"asUrgency");function Yf(e){if(!Object.prototype.hasOwnProperty.call(e,"urgency_level"))return false;let t=e.urgency_level;return t===null||ws(t)!==null}i(Yf,"urgencySlotProvided");function Xf(e){return Array.isArray(e)?e.map(t=>typeof t=="string"?t:String(t)):[]}i(Xf,"asStringList");function Qf(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}i(Qf,"isPlainObject");function _s(e){return Array.isArray(e)?e.filter(Qf):[]}i(_s,"asMapList");var Zf="0.5.4",Jf="react-native",em="2026-09-19",Is="EVERFUR_API_BASE_URL";function tr(e,t){return Object.freeze({ok:false,failure:Object.freeze({reason:e,message:t})})}i(tr,"configFailure");function Xn(e){let t=typeof e=="string"?e.trim():"";return t.length===0?{reason:"missing-publishable-key",message:"publishableKey is required"}:/^sk[_-]/i.test(t)?{reason:"secret-key-as-publishable-key",message:"publishableKey looks like a SECRET key (sk_...). A device must never hold a partner secret key: use the pk_ publishable key here, and keep the secret key on your server."}:null}i(Xn,"checkPublishableKey");function As(e,t){let r=Xn(e?.publishableKey);if(r!==null)return Object.freeze({ok:false,failure:r});let n=e.publishableKey.trim(),o=tm(e.apiBaseUrl);if(!o.ok)return o;let s=e.contractVersion?.trim()||em;return Object.freeze({ok:true,config:Object.freeze({publishableKey:n,apiBaseUrl:o.value,contractVersion:s,sdkVersion:Zf,platform:t?.platform??Jf,debug:e.debug===true})})}i(As,"tryResolveClientConfig");function tm(e){let t=e?.trim(),r=t&&t.length>0?t:um(Is);return r?am(r):tr("missing-api-base-url",`apiBaseUrl is required: pass config.apiBaseUrl or set ${Is}. The SDK never ships a hardcoded host.`)}i(tm,"tryResolveApiBaseUrl");function Os(e){return {"X-Everfur-SDK-Version":e.sdkVersion,"X-Everfur-SDK-Platform":e.platform,"X-Everfur-Contract":e.contractVersion}}i(Os,"buildBaseHeaders");var rm=/^([A-Za-z][A-Za-z0-9+.-]*):\/\/([^/?#]*)/;function nm(e){return e.slice(e.lastIndexOf("@")+1).replace(/:\d+$/,"").toLowerCase()}i(nm,"hostOf");function om(e){return e.length===0||e.includes("@")?false:e.startsWith("[")&&e.endsWith("]")?true:!e.includes(":")}i(om,"isPrintableHost");function im(e,t){let r=e.indexOf("://");return r<0||e.slice(r+3).includes("@")?false:om(t)}i(im,"canEchoOrigin");function sm(e,t){return `${e}://${t}`}i(sm,"safeOrigin");function am(e){let t=e.trim(),r=rm.exec(t);if(r===null||r[2]===void 0||r[2].length===0)return tr("malformed-api-base-url","apiBaseUrl is not a valid absolute URL");let n=(r[1]??"").toLowerCase(),o=nm(r[2]);if(o.length===0)return tr("malformed-api-base-url","apiBaseUrl is not a valid absolute URL");let s=im(t,o)?`: ${sm(n,o)}`:"";if(n!=="https"){if(!(n==="http"&&lm(o)))return n==="http"?tr("insecure-api-base-url",`apiBaseUrl must use https (cleartext http is only allowed for localhost)${s}`):tr("unsupported-api-base-url-scheme",`apiBaseUrl must be http(s)${s}`)}let a=t.endsWith("/")?t.slice(0,-1):t;return Object.freeze({ok:true,value:a})}i(am,"normalizeBaseUrl");function lm(e){let t=e.toLowerCase();return t==="localhost"||t==="127.0.0.1"||t==="[::1]"||t==="::1"}i(lm,"isLoopbackHost");function um(e){let r=globalThis.process?.env?.[e];return typeof r=="string"&&r.trim().length>0?r.trim():void 0}i(um,"readEnv");var dm=3e4,Ds="x-request-id";async function*Fs(e){if(!e)return;let t=e.getReader();try{for(;;){let{done:r,value:n}=await t.read();if(r)break;n&&n.length>0&&(yield n);}}finally{await t.cancel?.();}}i(Fs,"fetchByteSource");function cm(e){let t=new TextEncoder,r=fm(),n=false,o=i(u=>{let d="";u.lastEventId&&(d+=`id: ${u.lastEventId}
|
|
6
6
|
`);let c=u.data??"";for(let p of c.split(`
|
|
7
7
|
`))d+=`data: ${p}
|
|
8
8
|
`;d+=`
|
package/dist/index.d.cts
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
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, u as userRef } from './ids-B2GAAifq.cjs';
|
|
2
2
|
export { E as EverfurError, a as EverfurErrorCategory, b as EverfurErrorCode, c as categoryFor, i as isRetryableCode, u as userFacingError } from './EverfurError-DmELDpXp.cjs';
|
|
3
3
|
export { a as EverfurConfigError, E as EverfurResult, b as EverfurThrownError, i as isErr, c as isOk, u as unwrap } from './EverfurResult-ZtH-YV1h.cjs';
|
|
4
|
-
export { A as AcceptedFrame, a as AnalysisCompleteFrame, b as AnalysisStartedFrame, D as DeltaFrame, c as DoneFrame, E as ErrorFrame, d as EverfurRequest, e as EverfurRequestBase, F as Frame, f as FrameBase, g as FrameKind, H as HeartbeatFrame, h as HttpMethod, M as MultipartBody, T as TransportPort, U as UnknownFrame, i as UrgencyLevel } from './config-
|
|
5
|
-
export { M as MintedToken, T as TokenProvider } from './identity-
|
|
4
|
+
export { A as AcceptedFrame, a as AnalysisCompleteFrame, b as AnalysisStartedFrame, D as DeltaFrame, c as DoneFrame, E as ErrorFrame, d as EverfurRequest, e as EverfurRequestBase, F as Frame, f as FrameBase, g as FrameKind, H as HeartbeatFrame, h as HttpMethod, M as MultipartBody, T as TransportPort, U as UnknownFrame, i as UrgencyLevel } from './config-3jJR8fVC.cjs';
|
|
5
|
+
export { M as MintedToken, T as TokenProvider } from './identity-DkVFMcyL.cjs';
|
|
6
6
|
export { E as ErrorPolicyPort } from './ErrorPolicyPort-D6CybiqJ.cjs';
|
|
7
7
|
export { E as EverfurFaceStyle, f as face, p as previewTheme } from './typeStyle-DHJzDaUo.cjs';
|
|
8
8
|
import { C as CapabilityName, a as CapabilityDecision } from './resolve-D4Ywz5OS.cjs';
|
|
9
9
|
export { b as CapabilityDisabled, D as DisabledLevel } from './resolve-D4Ywz5OS.cjs';
|
|
10
10
|
export { T as TelemetryPort } from './TelemetryPort-BDNr00hu.cjs';
|
|
11
11
|
export { I as ImageCachePort, K as KvPort } from './cacheEpoch-DknKn3S0.cjs';
|
|
12
|
-
export { L as LogLevel, a as LogRecord, b as LogSink, P as PrepareOptions, c as PrepareResult, d as PrepareStatus, S as SecureStorePort } from './runtimeTypes-
|
|
12
|
+
export { L as LogLevel, a as LogRecord, b as LogSink, P as PrepareOptions, c as PrepareResult, d as PrepareStatus, S as SecureStorePort } from './runtimeTypes-BCXujmD6.cjs';
|
|
13
13
|
export { C as CameraPort, a as CaptureOptions, M as MediaSource } from './CameraPort-Cv31Pz7g.cjs';
|
|
14
14
|
export { F as FileHandle, b as FilePort, a as UploadPolicyWire, U as UploadTransport } from './ports-BN6RHF9W.cjs';
|
|
15
|
-
export { C as ChatCheckin, a as ChatCheckinTarget, b as ChatConversation, c as ChatConversationListOptions, d as ChatConversationPage, e as ChatFeedbackReceipt, f as ChatFeedbackType, g as ChatHistoryOptions, i as ChatMessage, h as ChatMessagePage, j as ChatStatus, k as Citation, P as PresignedPolicy, S as SendOptions, U as UploadPort } from './ports-
|
|
15
|
+
export { C as ChatCheckin, a as ChatCheckinTarget, b as ChatConversation, c as ChatConversationListOptions, d as ChatConversationPage, e as ChatFeedbackReceipt, f as ChatFeedbackType, g as ChatHistoryOptions, i as ChatMessage, h as ChatMessagePage, j as ChatStatus, k as Citation, P as PresignedPolicy, S as SendOptions, U as UploadPort } from './ports-D0DaSL3j.cjs';
|
|
16
16
|
export { R as RecordsDocumentPicker, a as RnRecordsUploadFetch, b as RnRecordsUploadTransportOptions, c as createRnRecordsUploadTransport } from './uploadTransport-C1p8FuG8.cjs';
|
|
17
|
-
export { C as CheckinAnswer, a as CheckinOutcome, W as WatchCase } from './casesRepository-
|
|
17
|
+
export { C as CheckinAnswer, a as CheckinOutcome, W as WatchCase } from './casesRepository-BIV6eQxW.cjs';
|
|
18
18
|
import { ReactNode } from 'react';
|
|
19
|
-
import { E as EverfurProviderProps } from './context-
|
|
20
|
-
export { a as EverfurConfig, b as EverfurHandle, c as EverfurUser, U as UseEverfurPetProfileState, u as useCapability, d as useEverfur, e as useEverfurPetProfile, f as useEverfurTheme } from './context-
|
|
19
|
+
import { E as EverfurProviderProps } from './context-BVGuiYob.cjs';
|
|
20
|
+
export { a as EverfurConfig, b as EverfurHandle, c as EverfurUser, U as UseEverfurPetProfileState, u as useCapability, d as useEverfur, e as useEverfurPetProfile, f as useEverfurTheme } from './context-BVGuiYob.cjs';
|
|
21
21
|
import { StyleProp, ViewStyle } from 'react-native';
|
|
22
|
-
export { C as ChatFeedbackReason, a as ChatFeedbackReasonOption, b as ChatSentiment, E as EverfurChatDraftStore, L as LifecyclePort, U as UrgencyDisplayLevel, c as UseChatAttachmentsOptions, d as UseChatAttachmentsState, e as UseEverfurChatState, f as UseEverfurPetsState, u as useChatAttachments, g as useEverfurChat, h as useEverfurPets } from './attachments-
|
|
23
|
-
export { E as EverfurChat, a as EverfurChatAttachments, b as EverfurChatProps } from './Chat-
|
|
24
|
-
export { P as PetProfileInput, a as PetProfilePatch, R as RegisteredPet, W as WidgetPet, b as WidgetPetProfile } from './petsRepository-
|
|
25
|
-
export { A as AttachmentError, a as AttachmentErrorCode, b as AttachmentOutcome, c as AttachmentQueue, d as AttachmentState, e as AttachmentStatus } from './attachments-
|
|
22
|
+
export { C as ChatFeedbackReason, a as ChatFeedbackReasonOption, b as ChatSentiment, E as EverfurChatDraftStore, L as LifecyclePort, U as UrgencyDisplayLevel, c as UseChatAttachmentsOptions, d as UseChatAttachmentsState, e as UseEverfurChatState, f as UseEverfurPetsState, u as useChatAttachments, g as useEverfurChat, h as useEverfurPets } from './attachments-DN0VDOBG.cjs';
|
|
23
|
+
export { E as EverfurChat, a as EverfurChatAttachments, b as EverfurChatProps } from './Chat-Dfjegpf2.cjs';
|
|
24
|
+
export { P as PetProfileInput, a as PetProfilePatch, R as RegisteredPet, W as WidgetPet, b as WidgetPetProfile } from './petsRepository-CwIyiIvt.cjs';
|
|
25
|
+
export { A as AttachmentError, a as AttachmentErrorCode, b as AttachmentOutcome, c as AttachmentQueue, d as AttachmentState, e as AttachmentStatus } from './attachments-hAjG4YGo.cjs';
|
|
26
26
|
export { b as PetActivityLevel, c as PetAllergy, d as PetAllergySeverity, e as PetBirthDatePrecision, f as PetCondition, a as PetHealthProfile, P as PetHealthProfileInput, g as PetIndoorOutdoor, h as PetMedication, i as PetSex } from './profile-CSs1wlXT.cjs';
|
|
27
27
|
export { C as CanonicalPetSpecies, c as canonicalPetSpecies } from './species-BXAIMh7I.cjs';
|
|
28
28
|
import { E as EverfurThemeInput } from './branding-Xb_wL8N1.cjs';
|
|
29
29
|
export { a as EverfurThemeFontFaceKey, b as EverfurThemeFontUrlsInput, c as EverfurThemeFontsInput, d as EverfurThemeSlotInput, e as EverfurThemeSlotsInput } from './branding-Xb_wL8N1.cjs';
|
|
30
30
|
export { e as EverfurColorTokens, b as EverfurFontFaceKey, f as EverfurFontFamilies, a as EverfurFontWeight, g as EverfurLetterSpacingTokens, h as EverfurLineHeightTokens, i as EverfurMotionDurationTokens, j as EverfurMotionTokens, k as EverfurRadiusTokens, l as EverfurSpaceTokens, m as EverfurSpringToken, n as EverfurTextColorTokens, E as EverfurTheme, o as EverfurThemeMeta, p as EverfurThemeSlot, q as EverfurThemeSlotKey, c as EverfurThemeSlotName, d as EverfurThemeSlots, r as EverfurTypeSizeTokens, s as EverfurTypeTokens, t as EverfurWeightTokens, T as THEME_SLOT_KEYS, u as THEME_SLOT_NAMES } from './tokens-CIngRkvt.cjs';
|
|
31
|
-
import './requestFunnel-
|
|
31
|
+
import './requestFunnel-CR8wGfpV.cjs';
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
34
|
* Wrap the tree ONCE, high. Mounting constructs the runtime (transport, identity, registry,
|
package/dist/index.d.ts
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
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, u as userRef } from './ids-B2GAAifq.js';
|
|
2
2
|
export { E as EverfurError, a as EverfurErrorCategory, b as EverfurErrorCode, c as categoryFor, i as isRetryableCode, u as userFacingError } from './EverfurError-DmELDpXp.js';
|
|
3
3
|
export { a as EverfurConfigError, E as EverfurResult, b as EverfurThrownError, i as isErr, c as isOk, u as unwrap } from './EverfurResult-SGvHKsCB.js';
|
|
4
|
-
export { A as AcceptedFrame, a as AnalysisCompleteFrame, b as AnalysisStartedFrame, D as DeltaFrame, c as DoneFrame, E as ErrorFrame, d as EverfurRequest, e as EverfurRequestBase, F as Frame, f as FrameBase, g as FrameKind, H as HeartbeatFrame, h as HttpMethod, M as MultipartBody, T as TransportPort, U as UnknownFrame, i as UrgencyLevel } from './config-
|
|
5
|
-
export { M as MintedToken, T as TokenProvider } from './identity-
|
|
4
|
+
export { A as AcceptedFrame, a as AnalysisCompleteFrame, b as AnalysisStartedFrame, D as DeltaFrame, c as DoneFrame, E as ErrorFrame, d as EverfurRequest, e as EverfurRequestBase, F as Frame, f as FrameBase, g as FrameKind, H as HeartbeatFrame, h as HttpMethod, M as MultipartBody, T as TransportPort, U as UnknownFrame, i as UrgencyLevel } from './config-FhlcRHRe.js';
|
|
5
|
+
export { M as MintedToken, T as TokenProvider } from './identity-BMPu-Kg6.js';
|
|
6
6
|
export { E as ErrorPolicyPort } from './ErrorPolicyPort-D22LUVrK.js';
|
|
7
7
|
export { E as EverfurFaceStyle, f as face, p as previewTheme } from './typeStyle-YPS_MXeI.js';
|
|
8
8
|
import { C as CapabilityName, a as CapabilityDecision } from './resolve-D4Ywz5OS.js';
|
|
9
9
|
export { b as CapabilityDisabled, D as DisabledLevel } from './resolve-D4Ywz5OS.js';
|
|
10
10
|
export { T as TelemetryPort } from './TelemetryPort-BDNr00hu.js';
|
|
11
11
|
export { I as ImageCachePort, K as KvPort } from './cacheEpoch-DknKn3S0.js';
|
|
12
|
-
export { L as LogLevel, a as LogRecord, b as LogSink, P as PrepareOptions, c as PrepareResult, d as PrepareStatus, S as SecureStorePort } from './runtimeTypes-
|
|
12
|
+
export { L as LogLevel, a as LogRecord, b as LogSink, P as PrepareOptions, c as PrepareResult, d as PrepareStatus, S as SecureStorePort } from './runtimeTypes-CuwgMArF.js';
|
|
13
13
|
export { C as CameraPort, a as CaptureOptions, M as MediaSource } from './CameraPort-Cv31Pz7g.js';
|
|
14
14
|
export { F as FileHandle, b as FilePort, a as UploadPolicyWire, U as UploadTransport } from './ports-BN6RHF9W.js';
|
|
15
|
-
export { C as ChatCheckin, a as ChatCheckinTarget, b as ChatConversation, c as ChatConversationListOptions, d as ChatConversationPage, e as ChatFeedbackReceipt, f as ChatFeedbackType, g as ChatHistoryOptions, i as ChatMessage, h as ChatMessagePage, j as ChatStatus, k as Citation, P as PresignedPolicy, S as SendOptions, U as UploadPort } from './ports-
|
|
15
|
+
export { C as ChatCheckin, a as ChatCheckinTarget, b as ChatConversation, c as ChatConversationListOptions, d as ChatConversationPage, e as ChatFeedbackReceipt, f as ChatFeedbackType, g as ChatHistoryOptions, i as ChatMessage, h as ChatMessagePage, j as ChatStatus, k as Citation, P as PresignedPolicy, S as SendOptions, U as UploadPort } from './ports-BtrM61nV.js';
|
|
16
16
|
export { R as RecordsDocumentPicker, a as RnRecordsUploadFetch, b as RnRecordsUploadTransportOptions, c as createRnRecordsUploadTransport } from './uploadTransport-bZIKBTyK.js';
|
|
17
|
-
export { C as CheckinAnswer, a as CheckinOutcome, W as WatchCase } from './casesRepository-
|
|
17
|
+
export { C as CheckinAnswer, a as CheckinOutcome, W as WatchCase } from './casesRepository-Bf8QDDPM.js';
|
|
18
18
|
import { ReactNode } from 'react';
|
|
19
|
-
import { E as EverfurProviderProps } from './context-
|
|
20
|
-
export { a as EverfurConfig, b as EverfurHandle, c as EverfurUser, U as UseEverfurPetProfileState, u as useCapability, d as useEverfur, e as useEverfurPetProfile, f as useEverfurTheme } from './context-
|
|
19
|
+
import { E as EverfurProviderProps } from './context-BqfAkCov.js';
|
|
20
|
+
export { a as EverfurConfig, b as EverfurHandle, c as EverfurUser, U as UseEverfurPetProfileState, u as useCapability, d as useEverfur, e as useEverfurPetProfile, f as useEverfurTheme } from './context-BqfAkCov.js';
|
|
21
21
|
import { StyleProp, ViewStyle } from 'react-native';
|
|
22
|
-
export { C as ChatFeedbackReason, a as ChatFeedbackReasonOption, b as ChatSentiment, E as EverfurChatDraftStore, L as LifecyclePort, U as UrgencyDisplayLevel, c as UseChatAttachmentsOptions, d as UseChatAttachmentsState, e as UseEverfurChatState, f as UseEverfurPetsState, u as useChatAttachments, g as useEverfurChat, h as useEverfurPets } from './attachments-
|
|
23
|
-
export { E as EverfurChat, a as EverfurChatAttachments, b as EverfurChatProps } from './Chat-
|
|
24
|
-
export { P as PetProfileInput, a as PetProfilePatch, R as RegisteredPet, W as WidgetPet, b as WidgetPetProfile } from './petsRepository-
|
|
25
|
-
export { A as AttachmentError, a as AttachmentErrorCode, b as AttachmentOutcome, c as AttachmentQueue, d as AttachmentState, e as AttachmentStatus } from './attachments-
|
|
22
|
+
export { C as ChatFeedbackReason, a as ChatFeedbackReasonOption, b as ChatSentiment, E as EverfurChatDraftStore, L as LifecyclePort, U as UrgencyDisplayLevel, c as UseChatAttachmentsOptions, d as UseChatAttachmentsState, e as UseEverfurChatState, f as UseEverfurPetsState, u as useChatAttachments, g as useEverfurChat, h as useEverfurPets } from './attachments-Cnz4Zqxq.js';
|
|
23
|
+
export { E as EverfurChat, a as EverfurChatAttachments, b as EverfurChatProps } from './Chat-DXDS-MiC.js';
|
|
24
|
+
export { P as PetProfileInput, a as PetProfilePatch, R as RegisteredPet, W as WidgetPet, b as WidgetPetProfile } from './petsRepository-I9vZvRpE.js';
|
|
25
|
+
export { A as AttachmentError, a as AttachmentErrorCode, b as AttachmentOutcome, c as AttachmentQueue, d as AttachmentState, e as AttachmentStatus } from './attachments-D3i4WG5V.js';
|
|
26
26
|
export { b as PetActivityLevel, c as PetAllergy, d as PetAllergySeverity, e as PetBirthDatePrecision, f as PetCondition, a as PetHealthProfile, P as PetHealthProfileInput, g as PetIndoorOutdoor, h as PetMedication, i as PetSex } from './profile-CSs1wlXT.js';
|
|
27
27
|
export { C as CanonicalPetSpecies, c as canonicalPetSpecies } from './species-BXAIMh7I.js';
|
|
28
28
|
import { E as EverfurThemeInput } from './branding-xpQ056sM.js';
|
|
29
29
|
export { a as EverfurThemeFontFaceKey, b as EverfurThemeFontUrlsInput, c as EverfurThemeFontsInput, d as EverfurThemeSlotInput, e as EverfurThemeSlotsInput } from './branding-xpQ056sM.js';
|
|
30
30
|
export { e as EverfurColorTokens, b as EverfurFontFaceKey, f as EverfurFontFamilies, a as EverfurFontWeight, g as EverfurLetterSpacingTokens, h as EverfurLineHeightTokens, i as EverfurMotionDurationTokens, j as EverfurMotionTokens, k as EverfurRadiusTokens, l as EverfurSpaceTokens, m as EverfurSpringToken, n as EverfurTextColorTokens, E as EverfurTheme, o as EverfurThemeMeta, p as EverfurThemeSlot, q as EverfurThemeSlotKey, c as EverfurThemeSlotName, d as EverfurThemeSlots, r as EverfurTypeSizeTokens, s as EverfurTypeTokens, t as EverfurWeightTokens, T as THEME_SLOT_KEYS, u as THEME_SLOT_NAMES } from './tokens-CIngRkvt.js';
|
|
31
|
-
import './requestFunnel-
|
|
31
|
+
import './requestFunnel-C1Fp7waD.js';
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
34
|
* Wrap the tree ONCE, high. Mounting constructs the runtime (transport, identity, registry,
|
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import {createContext,forwardRef,useContext,createElement,useSyncExternalStore,u
|
|
|
2
2
|
|
|
3
3
|
`,Wf=1048576,Gf=z.record(z.string(),z.unknown()),Kf=["emergency","schedule_soon","home_care"];async function*Br(e,t=null){let r=null,n=i(()=>(r!==null||(r=typeof t=="function"?t():t),r),"requestIdNow"),o=new TextDecoder("utf-8"),s="",a=0,l=false;for await(let u of e){for(s+=o.decode(u,{stream:true});;){let d=s.indexOf(ks,a);if(d===-1)break;let c=s.slice(0,d);s=s.slice(d+ks.length),a=0;let p=xs(c,n());if(p!==null&&(p.kind==="delta"&&(l=true),yield p,p.terminal))return}if(a=s.length>0?s.length-1:0,s.length>Wf){yield pe({code:l?"CHAT_STREAM_INCOMPLETE":"internal_error",retryable:true,wireMessage:null,synthesized:true,lastEventId:null,serverRequestId:n()});return}}if(s+=o.decode(),s.trim().length>0){let u=xs(s,n());if(u!==null&&(u.kind==="delta"&&(l=true),yield u,u.terminal))return}yield pe({code:l?"CHAT_STREAM_INCOMPLETE":"internal_error",retryable:true,wireMessage:null,synthesized:true,lastEventId:null,serverRequestId:n()});}i(Br,"parseSse");function xs(e,t){let r=null,n=[];for(let a of e.split(`
|
|
4
4
|
`)){let l=a.replace(/\s+$/,"");l.length===0||l.startsWith(":")||(l.startsWith("id:")?r=l.slice(3).trim():l.startsWith("data:")&&n.push(l.slice(5).replace(/^ /,"")));}if(n.length===0)return null;let o;try{o=JSON.parse(n.join(`
|
|
5
|
-
`));}catch{return null}if(typeof o!="object"||o===null||Array.isArray(o))return null;let s=Gf.safeParse(o);return s.success?qf(s.data,r,t):null}i(xs,"parseBlock");function qf(e,t,r){let n=e.type,o=e.event;if(n==="error"||"error"in e)return pe({code:le(e.code)??"unknown",retryable:e.retryable===true,wireMessage:le(e.error),synthesized:false,lastEventId:t,serverRequestId:r});if(n==="done"||e.done===true)return Es({conversationId:le(e.conversation_id)??"",messageId:le(e.message_id),title:le(e.title),followUpQuestions:Xf(e.follow_up_questions),citations:_s(e.citations),citationStatus:le(e.citation_status),urgencyLevel:ws(e.urgency_level),urgencyReason:le(e.urgency_reason),urgencyProvided:Yf(e),resultId:le(e.result_id),lastEventId:t},r);if(n==="accepted"||e.status==="reasoning")return hs(le(e.stream_id),t,r);if(n==="heartbeat"||e.heartbeat===true)return bs(t,r);if(n==="text.delta"||"delta"in e||"token"in e){let s=le(e.delta)??le(e.token)??"";return vs(s,t,r)}return o==="analysis_started"?Cs(le(e.request_id),t,r):o==="analysis_complete"?Rs({resultId:le(e.result_id),analysisType:le(e.analysis_type),modelVersion:le(e.model_version),confidence:$f(e.confidence),detections:_s(e.detections),interpretation:le(e.interpretation),lastEventId:t},r):Ss(e,t,r)}i(qf,"frameFromWire");function le(e){return typeof e=="string"?e:null}i(le,"asString");function $f(e){return typeof e=="number"&&Number.isFinite(e)?e:null}i($f,"asNumber");function ws(e){return typeof e=="string"&&Kf.includes(e)?e:null}i(ws,"asUrgency");function Yf(e){if(!Object.prototype.hasOwnProperty.call(e,"urgency_level"))return false;let t=e.urgency_level;return t===null||ws(t)!==null}i(Yf,"urgencySlotProvided");function Xf(e){return Array.isArray(e)?e.map(t=>typeof t=="string"?t:String(t)):[]}i(Xf,"asStringList");function Qf(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}i(Qf,"isPlainObject");function _s(e){return Array.isArray(e)?e.filter(Qf):[]}i(_s,"asMapList");var Zf="0.5.
|
|
5
|
+
`));}catch{return null}if(typeof o!="object"||o===null||Array.isArray(o))return null;let s=Gf.safeParse(o);return s.success?qf(s.data,r,t):null}i(xs,"parseBlock");function qf(e,t,r){let n=e.type,o=e.event;if(n==="error"||"error"in e)return pe({code:le(e.code)??"unknown",retryable:e.retryable===true,wireMessage:le(e.error),synthesized:false,lastEventId:t,serverRequestId:r});if(n==="done"||e.done===true)return Es({conversationId:le(e.conversation_id)??"",messageId:le(e.message_id),title:le(e.title),followUpQuestions:Xf(e.follow_up_questions),citations:_s(e.citations),citationStatus:le(e.citation_status),urgencyLevel:ws(e.urgency_level),urgencyReason:le(e.urgency_reason),urgencyProvided:Yf(e),resultId:le(e.result_id),lastEventId:t},r);if(n==="accepted"||e.status==="reasoning")return hs(le(e.stream_id),t,r);if(n==="heartbeat"||e.heartbeat===true)return bs(t,r);if(n==="text.delta"||"delta"in e||"token"in e){let s=le(e.delta)??le(e.token)??"";return vs(s,t,r)}return o==="analysis_started"?Cs(le(e.request_id),t,r):o==="analysis_complete"?Rs({resultId:le(e.result_id),analysisType:le(e.analysis_type),modelVersion:le(e.model_version),confidence:$f(e.confidence),detections:_s(e.detections),interpretation:le(e.interpretation),lastEventId:t},r):Ss(e,t,r)}i(qf,"frameFromWire");function le(e){return typeof e=="string"?e:null}i(le,"asString");function $f(e){return typeof e=="number"&&Number.isFinite(e)?e:null}i($f,"asNumber");function ws(e){return typeof e=="string"&&Kf.includes(e)?e:null}i(ws,"asUrgency");function Yf(e){if(!Object.prototype.hasOwnProperty.call(e,"urgency_level"))return false;let t=e.urgency_level;return t===null||ws(t)!==null}i(Yf,"urgencySlotProvided");function Xf(e){return Array.isArray(e)?e.map(t=>typeof t=="string"?t:String(t)):[]}i(Xf,"asStringList");function Qf(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}i(Qf,"isPlainObject");function _s(e){return Array.isArray(e)?e.filter(Qf):[]}i(_s,"asMapList");var Zf="0.5.4",Jf="react-native",em="2026-09-19",Is="EVERFUR_API_BASE_URL";function tr(e,t){return Object.freeze({ok:false,failure:Object.freeze({reason:e,message:t})})}i(tr,"configFailure");function Xn(e){let t=typeof e=="string"?e.trim():"";return t.length===0?{reason:"missing-publishable-key",message:"publishableKey is required"}:/^sk[_-]/i.test(t)?{reason:"secret-key-as-publishable-key",message:"publishableKey looks like a SECRET key (sk_...). A device must never hold a partner secret key: use the pk_ publishable key here, and keep the secret key on your server."}:null}i(Xn,"checkPublishableKey");function As(e,t){let r=Xn(e?.publishableKey);if(r!==null)return Object.freeze({ok:false,failure:r});let n=e.publishableKey.trim(),o=tm(e.apiBaseUrl);if(!o.ok)return o;let s=e.contractVersion?.trim()||em;return Object.freeze({ok:true,config:Object.freeze({publishableKey:n,apiBaseUrl:o.value,contractVersion:s,sdkVersion:Zf,platform:t?.platform??Jf,debug:e.debug===true})})}i(As,"tryResolveClientConfig");function tm(e){let t=e?.trim(),r=t&&t.length>0?t:um(Is);return r?am(r):tr("missing-api-base-url",`apiBaseUrl is required: pass config.apiBaseUrl or set ${Is}. The SDK never ships a hardcoded host.`)}i(tm,"tryResolveApiBaseUrl");function Os(e){return {"X-Everfur-SDK-Version":e.sdkVersion,"X-Everfur-SDK-Platform":e.platform,"X-Everfur-Contract":e.contractVersion}}i(Os,"buildBaseHeaders");var rm=/^([A-Za-z][A-Za-z0-9+.-]*):\/\/([^/?#]*)/;function nm(e){return e.slice(e.lastIndexOf("@")+1).replace(/:\d+$/,"").toLowerCase()}i(nm,"hostOf");function om(e){return e.length===0||e.includes("@")?false:e.startsWith("[")&&e.endsWith("]")?true:!e.includes(":")}i(om,"isPrintableHost");function im(e,t){let r=e.indexOf("://");return r<0||e.slice(r+3).includes("@")?false:om(t)}i(im,"canEchoOrigin");function sm(e,t){return `${e}://${t}`}i(sm,"safeOrigin");function am(e){let t=e.trim(),r=rm.exec(t);if(r===null||r[2]===void 0||r[2].length===0)return tr("malformed-api-base-url","apiBaseUrl is not a valid absolute URL");let n=(r[1]??"").toLowerCase(),o=nm(r[2]);if(o.length===0)return tr("malformed-api-base-url","apiBaseUrl is not a valid absolute URL");let s=im(t,o)?`: ${sm(n,o)}`:"";if(n!=="https"){if(!(n==="http"&&lm(o)))return n==="http"?tr("insecure-api-base-url",`apiBaseUrl must use https (cleartext http is only allowed for localhost)${s}`):tr("unsupported-api-base-url-scheme",`apiBaseUrl must be http(s)${s}`)}let a=t.endsWith("/")?t.slice(0,-1):t;return Object.freeze({ok:true,value:a})}i(am,"normalizeBaseUrl");function lm(e){let t=e.toLowerCase();return t==="localhost"||t==="127.0.0.1"||t==="[::1]"||t==="::1"}i(lm,"isLoopbackHost");function um(e){let r=globalThis.process?.env?.[e];return typeof r=="string"&&r.trim().length>0?r.trim():void 0}i(um,"readEnv");var dm=3e4,Ds="x-request-id";async function*Fs(e){if(!e)return;let t=e.getReader();try{for(;;){let{done:r,value:n}=await t.read();if(r)break;n&&n.length>0&&(yield n);}}finally{await t.cancel?.();}}i(Fs,"fetchByteSource");function cm(e){let t=new TextEncoder,r=fm(),n=false,o=i(u=>{let d="";u.lastEventId&&(d+=`id: ${u.lastEventId}
|
|
6
6
|
`);let c=u.data??"";for(let p of c.split(`
|
|
7
7
|
`))d+=`data: ${p}
|
|
8
8
|
`;d+=`
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { EverfurNotificationsOptions, EverfurNotificationsState } from '../web/notifications/index.cjs';
|
|
2
2
|
export { DevicePlatform, EVERFUR_NOTIFICATION_EVENT_TYPES, EVERFUR_NOTIFICATION_TARGET_KINDS, EVERFUR_NOTIFICATION_VERSION, EverfurNotification, EverfurNotificationEventType, EverfurNotificationTarget, EverfurNotificationTargetKind, EverfurNotificationsStatus, NOTIFICATIONS_REASON_MESSAGES, NotificationPreferences, NotificationPreferencesInput, NotificationsClient, NotificationsReasonCode, NotificationsRuntime, PushProvider, RegisterDeviceInput, RegisteredDevice, createNotificationsClient, explainNotificationsReason, parseEverfurNotification, useEverfurNotificationsClient } from '../web/notifications/index.cjs';
|
|
3
3
|
export { V as VetVisitIntent } from '../visitIntent-D7_yVp1I.cjs';
|
|
4
|
-
export { A as AuthContext, I as IdentityProvider, M as MintedToken, T as TokenProvider } from '../identity-
|
|
5
|
-
export { A as AcceptedFrame, a as AnalysisCompleteFrame, b as AnalysisStartedFrame, D as DeltaFrame, c as DoneFrame, E as ErrorFrame, d as EverfurRequest, e as EverfurRequestBase, F as Frame, f as FrameBase, g as FrameKind, H as HeartbeatFrame, h as HttpMethod, M as MultipartBody, T as TransportPort, U as UnknownFrame, i as UrgencyLevel } from '../config-
|
|
4
|
+
export { A as AuthContext, I as IdentityProvider, M as MintedToken, T as TokenProvider } from '../identity-DkVFMcyL.cjs';
|
|
5
|
+
export { A as AcceptedFrame, a as AnalysisCompleteFrame, b as AnalysisStartedFrame, D as DeltaFrame, c as DoneFrame, E as ErrorFrame, d as EverfurRequest, e as EverfurRequestBase, F as Frame, f as FrameBase, g as FrameKind, H as HeartbeatFrame, h as HttpMethod, M as MultipartBody, T as TransportPort, U as UnknownFrame, i as UrgencyLevel } from '../config-3jJR8fVC.cjs';
|
|
6
6
|
export { B as Brand, C as ConversationId, P as PetRef, R as RecordsRequestId, U as UserRef, _ as __brand } from '../ids-B2GAAifq.cjs';
|
|
7
7
|
export { E as EverfurError, a as EverfurErrorCategory, b as EverfurErrorCode } from '../EverfurError-DmELDpXp.cjs';
|
|
8
8
|
export { E as EverfurResult } from '../EverfurResult-ZtH-YV1h.cjs';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { EverfurNotificationsOptions, EverfurNotificationsState } from '../web/notifications/index.js';
|
|
2
2
|
export { DevicePlatform, EVERFUR_NOTIFICATION_EVENT_TYPES, EVERFUR_NOTIFICATION_TARGET_KINDS, EVERFUR_NOTIFICATION_VERSION, EverfurNotification, EverfurNotificationEventType, EverfurNotificationTarget, EverfurNotificationTargetKind, EverfurNotificationsStatus, NOTIFICATIONS_REASON_MESSAGES, NotificationPreferences, NotificationPreferencesInput, NotificationsClient, NotificationsReasonCode, NotificationsRuntime, PushProvider, RegisterDeviceInput, RegisteredDevice, createNotificationsClient, explainNotificationsReason, parseEverfurNotification, useEverfurNotificationsClient } from '../web/notifications/index.js';
|
|
3
3
|
export { V as VetVisitIntent } from '../visitIntent-D7_yVp1I.js';
|
|
4
|
-
export { A as AuthContext, I as IdentityProvider, M as MintedToken, T as TokenProvider } from '../identity-
|
|
5
|
-
export { A as AcceptedFrame, a as AnalysisCompleteFrame, b as AnalysisStartedFrame, D as DeltaFrame, c as DoneFrame, E as ErrorFrame, d as EverfurRequest, e as EverfurRequestBase, F as Frame, f as FrameBase, g as FrameKind, H as HeartbeatFrame, h as HttpMethod, M as MultipartBody, T as TransportPort, U as UnknownFrame, i as UrgencyLevel } from '../config-
|
|
4
|
+
export { A as AuthContext, I as IdentityProvider, M as MintedToken, T as TokenProvider } from '../identity-BMPu-Kg6.js';
|
|
5
|
+
export { A as AcceptedFrame, a as AnalysisCompleteFrame, b as AnalysisStartedFrame, D as DeltaFrame, c as DoneFrame, E as ErrorFrame, d as EverfurRequest, e as EverfurRequestBase, F as Frame, f as FrameBase, g as FrameKind, H as HeartbeatFrame, h as HttpMethod, M as MultipartBody, T as TransportPort, U as UnknownFrame, i as UrgencyLevel } from '../config-FhlcRHRe.js';
|
|
6
6
|
export { B as Brand, C as ConversationId, P as PetRef, R as RecordsRequestId, U as UserRef, _ as __brand } from '../ids-B2GAAifq.js';
|
|
7
7
|
export { E as EverfurError, a as EverfurErrorCategory, b as EverfurErrorCode } from '../EverfurError-DmELDpXp.js';
|
|
8
8
|
export { E as EverfurResult } from '../EverfurResult-SGvHKsCB.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { E as EverfurResult } from './EverfurResult-ZtH-YV1h.cjs';
|
|
2
|
-
import { j as FetchLike } from './config-
|
|
2
|
+
import { j as FetchLike } from './config-3jJR8fVC.cjs';
|
|
3
3
|
import { P as PetHealthProfileInput, a as PetHealthProfile } from './profile-CSs1wlXT.cjs';
|
|
4
4
|
|
|
5
5
|
/** How your backend reaches Everfur for pet writes. Build it once and reuse it. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { E as EverfurResult } from './EverfurResult-SGvHKsCB.js';
|
|
2
|
-
import { j as FetchLike } from './config-
|
|
2
|
+
import { j as FetchLike } from './config-FhlcRHRe.js';
|
|
3
3
|
import { P as PetHealthProfileInput, a as PetHealthProfile } from './profile-CSs1wlXT.js';
|
|
4
4
|
|
|
5
5
|
/** How your backend reaches Everfur for pet writes. Build it once and reuse it. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { E as EverfurResult } from './EverfurResult-ZtH-YV1h.cjs';
|
|
2
|
-
import { A as AuthContext } from './identity-
|
|
2
|
+
import { A as AuthContext } from './identity-DkVFMcyL.cjs';
|
|
3
3
|
import { P as PetRef } from './ids-B2GAAifq.cjs';
|
|
4
4
|
import { P as PetHealthProfileInput, a as PetHealthProfile } from './profile-CSs1wlXT.cjs';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { E as EverfurResult } from './EverfurResult-SGvHKsCB.js';
|
|
2
|
-
import { A as AuthContext } from './identity-
|
|
2
|
+
import { A as AuthContext } from './identity-BMPu-Kg6.js';
|
|
3
3
|
import { P as PetRef } from './ids-B2GAAifq.js';
|
|
4
4
|
import { P as PetHealthProfileInput, a as PetHealthProfile } from './profile-CSs1wlXT.js';
|
|
5
5
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { C as CheckinAnswer, a as CheckinOutcome } from './casesRepository-
|
|
2
|
-
import { A as AuthContext } from './identity-
|
|
1
|
+
import { C as CheckinAnswer, a as CheckinOutcome } from './casesRepository-Bf8QDDPM.js';
|
|
2
|
+
import { A as AuthContext } from './identity-BMPu-Kg6.js';
|
|
3
3
|
import { E as EverfurError } from './EverfurError-DmELDpXp.js';
|
|
4
4
|
import { E as EverfurResult } from './EverfurResult-SGvHKsCB.js';
|
|
5
|
-
import { R as RequestFunnel } from './requestFunnel-
|
|
5
|
+
import { R as RequestFunnel } from './requestFunnel-C1Fp7waD.js';
|
|
6
6
|
import { P as PetRef, C as ConversationId, b as ResponseId } from './ids-B2GAAifq.js';
|
|
7
|
-
import { i as UrgencyLevel, F as Frame } from './config-
|
|
7
|
+
import { i as UrgencyLevel, F as Frame } from './config-FhlcRHRe.js';
|
|
8
8
|
import { E as ErrorPolicyPort } from './ErrorPolicyPort-D22LUVrK.js';
|
|
9
9
|
import { T as TelemetryPort } from './TelemetryPort-BDNr00hu.js';
|
|
10
10
|
import { F as FileHandle } from './ports-BN6RHF9W.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { C as CheckinAnswer, a as CheckinOutcome } from './casesRepository-
|
|
2
|
-
import { A as AuthContext } from './identity-
|
|
1
|
+
import { C as CheckinAnswer, a as CheckinOutcome } from './casesRepository-BIV6eQxW.cjs';
|
|
2
|
+
import { A as AuthContext } from './identity-DkVFMcyL.cjs';
|
|
3
3
|
import { E as EverfurError } from './EverfurError-DmELDpXp.cjs';
|
|
4
4
|
import { E as EverfurResult } from './EverfurResult-ZtH-YV1h.cjs';
|
|
5
|
-
import { R as RequestFunnel } from './requestFunnel-
|
|
5
|
+
import { R as RequestFunnel } from './requestFunnel-CR8wGfpV.cjs';
|
|
6
6
|
import { P as PetRef, C as ConversationId, b as ResponseId } from './ids-B2GAAifq.cjs';
|
|
7
|
-
import { i as UrgencyLevel, F as Frame } from './config-
|
|
7
|
+
import { i as UrgencyLevel, F as Frame } from './config-3jJR8fVC.cjs';
|
|
8
8
|
import { E as ErrorPolicyPort } from './ErrorPolicyPort-D6CybiqJ.cjs';
|
|
9
9
|
import { T as TelemetryPort } from './TelemetryPort-BDNr00hu.cjs';
|
|
10
10
|
import { F as FileHandle } from './ports-BN6RHF9W.cjs';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export { E as EverfurDocumentContributions, a as EverfurDocumentContributionsProps, b as EverfurRecordDepth, c as EverfurRecordsDepthProps, d as EverfurRecordsTimeline } from '../../DepthViews-
|
|
2
|
-
export { C as ClinicDraft, a as ClinicLocation, R as RecordsAskEntityRef, b as RecordsAskHandler, c as RecordsDepthStatus, d as RecordsHostSeams, e as RecordsScreen, f as RecordsScreenBaseProps, g as RecordsUrlKind, U as UseRecordsDepthState, u as useEverfurRecordsDepthClient, h as useRecordsDepthRead } from '../../useRecordsDepth-
|
|
3
|
-
export { T as TimelineRow, a as TimelineRowKind, b as buildTimelineRows } from '../../timelineRows-
|
|
4
|
-
export { 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, i as RecordLabMarker, j as RecordLabPoint, k as RecordPhysicalExam, l as RecordsClinic, m as RecordsDepthClient, n as RecordsRequestDocument, o as RecordsTimelineMedication, p as RecordsTimelineVaccine, q as RecordsTimelineView, r as RecordsTimelineVisit, s as RecordsTimelineWeight, t as mapDocumentContributions, u as mapRecordDepth, v as mapRecordsTimeline } from '../../depth-
|
|
1
|
+
export { E as EverfurDocumentContributions, a as EverfurDocumentContributionsProps, b as EverfurRecordDepth, c as EverfurRecordsDepthProps, d as EverfurRecordsTimeline } from '../../DepthViews-BhBA6qiu.cjs';
|
|
2
|
+
export { C as ClinicDraft, a as ClinicLocation, R as RecordsAskEntityRef, b as RecordsAskHandler, c as RecordsDepthStatus, d as RecordsHostSeams, e as RecordsScreen, f as RecordsScreenBaseProps, g as RecordsUrlKind, U as UseRecordsDepthState, u as useEverfurRecordsDepthClient, h as useRecordsDepthRead } from '../../useRecordsDepth-DgQrho7p.cjs';
|
|
3
|
+
export { T as TimelineRow, a as TimelineRowKind, b as buildTimelineRows } from '../../timelineRows-EaAqBcX2.cjs';
|
|
4
|
+
export { 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, i as RecordLabMarker, j as RecordLabPoint, k as RecordPhysicalExam, l as RecordsClinic, m as RecordsDepthClient, n as RecordsRequestDocument, o as RecordsTimelineMedication, p as RecordsTimelineVaccine, q as RecordsTimelineView, r as RecordsTimelineVisit, s as RecordsTimelineWeight, t as mapDocumentContributions, u as mapRecordDepth, v as mapRecordsTimeline } from '../../depth-Cwmumplg.cjs';
|
|
5
5
|
export { B as Brand, P as PetRef, R as RecordsRequestId, _ as __brand } from '../../ids-B2GAAifq.cjs';
|
|
6
6
|
export { E as EverfurError, a as EverfurErrorCategory, b as EverfurErrorCode } from '../../EverfurError-DmELDpXp.cjs';
|
|
7
7
|
export { E as EverfurResult } from '../../EverfurResult-ZtH-YV1h.cjs';
|
|
8
8
|
export { R as RecordDocumentMeta, a as RecordEntity, b as RecordOrigin } from '../../models-Bn2z0NNo.cjs';
|
|
9
9
|
import 'react';
|
|
10
10
|
import 'react-native';
|
|
11
|
-
import '../../requestFunnel-
|
|
11
|
+
import '../../requestFunnel-CR8wGfpV.cjs';
|
|
12
12
|
import '../../ErrorPolicyPort-D6CybiqJ.cjs';
|
|
13
|
-
import '../../config-
|
|
14
|
-
import '../../identity-
|
|
13
|
+
import '../../config-3jJR8fVC.cjs';
|
|
14
|
+
import '../../identity-DkVFMcyL.cjs';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export { E as EverfurDocumentContributions, a as EverfurDocumentContributionsProps, b as EverfurRecordDepth, c as EverfurRecordsDepthProps, d as EverfurRecordsTimeline } from '../../DepthViews-
|
|
2
|
-
export { C as ClinicDraft, a as ClinicLocation, R as RecordsAskEntityRef, b as RecordsAskHandler, c as RecordsDepthStatus, d as RecordsHostSeams, e as RecordsScreen, f as RecordsScreenBaseProps, g as RecordsUrlKind, U as UseRecordsDepthState, u as useEverfurRecordsDepthClient, h as useRecordsDepthRead } from '../../useRecordsDepth-
|
|
3
|
-
export { T as TimelineRow, a as TimelineRowKind, b as buildTimelineRows } from '../../timelineRows-
|
|
4
|
-
export { 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, i as RecordLabMarker, j as RecordLabPoint, k as RecordPhysicalExam, l as RecordsClinic, m as RecordsDepthClient, n as RecordsRequestDocument, o as RecordsTimelineMedication, p as RecordsTimelineVaccine, q as RecordsTimelineView, r as RecordsTimelineVisit, s as RecordsTimelineWeight, t as mapDocumentContributions, u as mapRecordDepth, v as mapRecordsTimeline } from '../../depth-
|
|
1
|
+
export { E as EverfurDocumentContributions, a as EverfurDocumentContributionsProps, b as EverfurRecordDepth, c as EverfurRecordsDepthProps, d as EverfurRecordsTimeline } from '../../DepthViews-DFODLIM2.js';
|
|
2
|
+
export { C as ClinicDraft, a as ClinicLocation, R as RecordsAskEntityRef, b as RecordsAskHandler, c as RecordsDepthStatus, d as RecordsHostSeams, e as RecordsScreen, f as RecordsScreenBaseProps, g as RecordsUrlKind, U as UseRecordsDepthState, u as useEverfurRecordsDepthClient, h as useRecordsDepthRead } from '../../useRecordsDepth-Bo2d27fm.js';
|
|
3
|
+
export { T as TimelineRow, a as TimelineRowKind, b as buildTimelineRows } from '../../timelineRows-DFmwWHyj.js';
|
|
4
|
+
export { 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, i as RecordLabMarker, j as RecordLabPoint, k as RecordPhysicalExam, l as RecordsClinic, m as RecordsDepthClient, n as RecordsRequestDocument, o as RecordsTimelineMedication, p as RecordsTimelineVaccine, q as RecordsTimelineView, r as RecordsTimelineVisit, s as RecordsTimelineWeight, t as mapDocumentContributions, u as mapRecordDepth, v as mapRecordsTimeline } from '../../depth-VpVaDj5I.js';
|
|
5
5
|
export { B as Brand, P as PetRef, R as RecordsRequestId, _ as __brand } from '../../ids-B2GAAifq.js';
|
|
6
6
|
export { E as EverfurError, a as EverfurErrorCategory, b as EverfurErrorCode } from '../../EverfurError-DmELDpXp.js';
|
|
7
7
|
export { E as EverfurResult } from '../../EverfurResult-SGvHKsCB.js';
|
|
8
8
|
export { R as RecordDocumentMeta, a as RecordEntity, b as RecordOrigin } from '../../models-DSqA5Ahs.js';
|
|
9
9
|
import 'react';
|
|
10
10
|
import 'react-native';
|
|
11
|
-
import '../../requestFunnel-
|
|
11
|
+
import '../../requestFunnel-C1Fp7waD.js';
|
|
12
12
|
import '../../ErrorPolicyPort-D22LUVrK.js';
|
|
13
|
-
import '../../config-
|
|
14
|
-
import '../../identity-
|
|
13
|
+
import '../../config-FhlcRHRe.js';
|
|
14
|
+
import '../../identity-BMPu-Kg6.js';
|
package/dist/records/index.d.cts
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { R as RecordsController } from '../view-
|
|
2
|
-
export { C as ClinicCall, F as FactOverlay, a as REQUEST_TIMELINE_TITLES, b as RecordSharesStatus, c as RecordsDashboardState, d as RecordsDashboardView, e as RecordsEmptyVariant, f as RecordsStatus, g as RequestTimelineEvent, h as RequestTimelineEventKey, i as RequestTimelineEventState, S as ShareRowView, U as UploadDocumentInput, j as UploadQueueItem, k as UploadSkipReason, l as UseEverfurRecordsState, m as UseRecordFactEditState, n as UseRecordPdfLinkState, o as UseRecordSharesState, p as UseRecordsMarkersState, q as applyFactOverlay, r as buildRequestTimeline, s as deriveRecordsDashboardState, t as isFactEditable, u as pickPetRecordsRequest, v as selectClinicCall, w as selectDashboardView, x as selectPrimaryLabel, y as selectRequestList, z as selectRequestTitle, A as useEverfurRecords, B as useEverfurRecordsClinic, D as useEverfurRecordsClinicBatch, E as useRecordFactEdit, G as useRecordPdfLink, H as useRecordShares, I as useRecordsMarkers } from '../view-
|
|
1
|
+
import { R as RecordsController } from '../view-DwYhyFC2.cjs';
|
|
2
|
+
export { C as ClinicCall, F as FactOverlay, a as REQUEST_TIMELINE_TITLES, b as RecordSharesStatus, c as RecordsDashboardState, d as RecordsDashboardView, e as RecordsEmptyVariant, f as RecordsStatus, g as RequestTimelineEvent, h as RequestTimelineEventKey, i as RequestTimelineEventState, S as ShareRowView, U as UploadDocumentInput, j as UploadQueueItem, k as UploadSkipReason, l as UseEverfurRecordsState, m as UseRecordFactEditState, n as UseRecordPdfLinkState, o as UseRecordSharesState, p as UseRecordsMarkersState, q as applyFactOverlay, r as buildRequestTimeline, s as deriveRecordsDashboardState, t as isFactEditable, u as pickPetRecordsRequest, v as selectClinicCall, w as selectDashboardView, x as selectPrimaryLabel, y as selectRequestList, z as selectRequestTitle, A as useEverfurRecords, B as useEverfurRecordsClinic, D as useEverfurRecordsClinicBatch, E as useRecordFactEdit, G as useRecordPdfLink, H as useRecordShares, I as useRecordsMarkers } from '../view-DwYhyFC2.cjs';
|
|
3
3
|
import { ReactNode } from 'react';
|
|
4
4
|
import { StyleProp, ViewStyle } from 'react-native';
|
|
5
5
|
import { P as PetRef, R as RecordsRequestId } from '../ids-B2GAAifq.cjs';
|
|
6
6
|
export { B as Brand, D as DocumentId, _ as __brand } from '../ids-B2GAAifq.cjs';
|
|
7
|
-
import { d as RecordsHostSeams, i as RecordsClinicController, j as CaptureRecordsSignature, e as RecordsScreen, f as RecordsScreenBaseProps, C as ClinicDraft, k as ClinicRequestBaseProps, l as ClinicBatchBaseProps } from '../useRecordsDepth-
|
|
8
|
-
export { m as CapturedRecordsSignature, a as ClinicLocation, n as RecordsAsk, R as RecordsAskEntityRef, b as RecordsAskHandler, c as RecordsDepthStatus, o as RecordsNavAction, p as RecordsNavState, q as RecordsSignatureContext, g as RecordsUrlKind, r as RegisterSignaturePng, s as currentRecordsScreen, t as initialRecordsNav, v as popRecordsNav, w as pushRecordsNav, x as recordsNavReducer, y as replaceRecordsNav, z as resetRecordsNav, A as transitionRecordsNav } from '../useRecordsDepth-
|
|
7
|
+
import { d as RecordsHostSeams, i as RecordsClinicController, j as CaptureRecordsSignature, e as RecordsScreen, f as RecordsScreenBaseProps, C as ClinicDraft, k as ClinicRequestBaseProps, l as ClinicBatchBaseProps } from '../useRecordsDepth-DgQrho7p.cjs';
|
|
8
|
+
export { m as CapturedRecordsSignature, a as ClinicLocation, n as RecordsAsk, R as RecordsAskEntityRef, b as RecordsAskHandler, c as RecordsDepthStatus, o as RecordsNavAction, p as RecordsNavState, q as RecordsSignatureContext, g as RecordsUrlKind, r as RegisterSignaturePng, s as currentRecordsScreen, t as initialRecordsNav, v as popRecordsNav, w as pushRecordsNav, x as recordsNavReducer, y as replaceRecordsNav, z as resetRecordsNav, A as transitionRecordsNav } from '../useRecordsDepth-DgQrho7p.cjs';
|
|
9
9
|
import { U as UploadTransport } from '../ports-BN6RHF9W.cjs';
|
|
10
10
|
export { F as FileHandle, a as UploadPolicyWire } from '../ports-BN6RHF9W.cjs';
|
|
11
11
|
import { R as RecordsDocumentPicker } from '../uploadTransport-C1p8FuG8.cjs';
|
|
12
12
|
import { d as RecordsRequestView } from '../models-Bn2z0NNo.cjs';
|
|
13
13
|
export { h as ConsentState, C as CreateUploadRequestInput, G as GrantConsentInput, j as RECORDS_TERMINAL, R as RecordDocumentMeta, a as RecordEntity, k as RecordForwardItem, l as RecordIdentityField, b as RecordOrigin, m as RecordSeries, n as RecordSeriesPoint, i as RecordsDenialReason, f as RecordsRequestGroupView, c as RecordsRequestStatus, e as RecordsSimpleStatus, g as RecordsView, U as UploadedDocument, o as isTerminalStatus, r as recordsDenialReasonOf } from '../models-Bn2z0NNo.cjs';
|
|
14
|
-
export { C as CreateClinicRequestBatchInput, aa as CreateClinicRequestInput, x as FactFieldValue, 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, B as RecordFactEditInput, D as RecordFactRemoveInput, i as RecordLabMarker, j as RecordLabPoint, E as RecordMarker, G as RecordMarkerLatest, I as RecordMarkerPoint, J as RecordMarkerSummary, K as RecordMarkersView, L as RecordPdfLink, k as RecordPhysicalExam, M as RecordShare, N as RecordShareLink, a9 as RecordsAuthorizationCopy, O as RecordsAuthorizationSignature, l as RecordsClinic, P as RecordsClinicBatch, Q as RecordsClinicBatchClient, S as RecordsClinicBatchItem, T as RecordsClinicBatchResult, a6 as RecordsClinicSearchInput, a7 as RecordsClinicSearchPage, U as RecordsClinicTarget, m as RecordsDepthClient, a8 as RecordsRecentClinicsInput, n as RecordsRequestDocument, V as RecordsSignatureSuggestion, ab as RecordsSignatureUploadPolicy, o as RecordsTimelineMedication, p as RecordsTimelineVaccine, q as RecordsTimelineView, r as RecordsTimelineVisit, s as RecordsTimelineWeight } from '../depth-
|
|
15
|
-
export { a as EverfurDocumentContributionsProps, c as EverfurRecordsDepthProps } from '../DepthViews-
|
|
14
|
+
export { C as CreateClinicRequestBatchInput, aa as CreateClinicRequestInput, x as FactFieldValue, 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, B as RecordFactEditInput, D as RecordFactRemoveInput, i as RecordLabMarker, j as RecordLabPoint, E as RecordMarker, G as RecordMarkerLatest, I as RecordMarkerPoint, J as RecordMarkerSummary, K as RecordMarkersView, L as RecordPdfLink, k as RecordPhysicalExam, M as RecordShare, N as RecordShareLink, a9 as RecordsAuthorizationCopy, O as RecordsAuthorizationSignature, l as RecordsClinic, P as RecordsClinicBatch, Q as RecordsClinicBatchClient, S as RecordsClinicBatchItem, T as RecordsClinicBatchResult, a6 as RecordsClinicSearchInput, a7 as RecordsClinicSearchPage, U as RecordsClinicTarget, m as RecordsDepthClient, a8 as RecordsRecentClinicsInput, n as RecordsRequestDocument, V as RecordsSignatureSuggestion, ab as RecordsSignatureUploadPolicy, o as RecordsTimelineMedication, p as RecordsTimelineVaccine, q as RecordsTimelineView, r as RecordsTimelineVisit, s as RecordsTimelineWeight } from '../depth-Cwmumplg.cjs';
|
|
15
|
+
export { a as EverfurDocumentContributionsProps, c as EverfurRecordsDepthProps } from '../DepthViews-BhBA6qiu.cjs';
|
|
16
16
|
export { E as EverfurError, a as EverfurErrorCategory, b as EverfurErrorCode } from '../EverfurError-DmELDpXp.cjs';
|
|
17
17
|
export { E as EverfurResult } from '../EverfurResult-ZtH-YV1h.cjs';
|
|
18
|
-
import '../requestFunnel-
|
|
18
|
+
import '../requestFunnel-CR8wGfpV.cjs';
|
|
19
19
|
import '../ErrorPolicyPort-D6CybiqJ.cjs';
|
|
20
|
-
import '../config-
|
|
21
|
-
import '../identity-
|
|
20
|
+
import '../config-3jJR8fVC.cjs';
|
|
21
|
+
import '../identity-DkVFMcyL.cjs';
|
|
22
22
|
|
|
23
23
|
interface EverfurRecordsProps extends RecordsHostSeams {
|
|
24
24
|
readonly petRef: PetRef;
|
package/dist/records/index.d.ts
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { R as RecordsController } from '../view-
|
|
2
|
-
export { C as ClinicCall, F as FactOverlay, a as REQUEST_TIMELINE_TITLES, b as RecordSharesStatus, c as RecordsDashboardState, d as RecordsDashboardView, e as RecordsEmptyVariant, f as RecordsStatus, g as RequestTimelineEvent, h as RequestTimelineEventKey, i as RequestTimelineEventState, S as ShareRowView, U as UploadDocumentInput, j as UploadQueueItem, k as UploadSkipReason, l as UseEverfurRecordsState, m as UseRecordFactEditState, n as UseRecordPdfLinkState, o as UseRecordSharesState, p as UseRecordsMarkersState, q as applyFactOverlay, r as buildRequestTimeline, s as deriveRecordsDashboardState, t as isFactEditable, u as pickPetRecordsRequest, v as selectClinicCall, w as selectDashboardView, x as selectPrimaryLabel, y as selectRequestList, z as selectRequestTitle, A as useEverfurRecords, B as useEverfurRecordsClinic, D as useEverfurRecordsClinicBatch, E as useRecordFactEdit, G as useRecordPdfLink, H as useRecordShares, I as useRecordsMarkers } from '../view-
|
|
1
|
+
import { R as RecordsController } from '../view-DGIjZtq8.js';
|
|
2
|
+
export { C as ClinicCall, F as FactOverlay, a as REQUEST_TIMELINE_TITLES, b as RecordSharesStatus, c as RecordsDashboardState, d as RecordsDashboardView, e as RecordsEmptyVariant, f as RecordsStatus, g as RequestTimelineEvent, h as RequestTimelineEventKey, i as RequestTimelineEventState, S as ShareRowView, U as UploadDocumentInput, j as UploadQueueItem, k as UploadSkipReason, l as UseEverfurRecordsState, m as UseRecordFactEditState, n as UseRecordPdfLinkState, o as UseRecordSharesState, p as UseRecordsMarkersState, q as applyFactOverlay, r as buildRequestTimeline, s as deriveRecordsDashboardState, t as isFactEditable, u as pickPetRecordsRequest, v as selectClinicCall, w as selectDashboardView, x as selectPrimaryLabel, y as selectRequestList, z as selectRequestTitle, A as useEverfurRecords, B as useEverfurRecordsClinic, D as useEverfurRecordsClinicBatch, E as useRecordFactEdit, G as useRecordPdfLink, H as useRecordShares, I as useRecordsMarkers } from '../view-DGIjZtq8.js';
|
|
3
3
|
import { ReactNode } from 'react';
|
|
4
4
|
import { StyleProp, ViewStyle } from 'react-native';
|
|
5
5
|
import { P as PetRef, R as RecordsRequestId } from '../ids-B2GAAifq.js';
|
|
6
6
|
export { B as Brand, D as DocumentId, _ as __brand } from '../ids-B2GAAifq.js';
|
|
7
|
-
import { d as RecordsHostSeams, i as RecordsClinicController, j as CaptureRecordsSignature, e as RecordsScreen, f as RecordsScreenBaseProps, C as ClinicDraft, k as ClinicRequestBaseProps, l as ClinicBatchBaseProps } from '../useRecordsDepth-
|
|
8
|
-
export { m as CapturedRecordsSignature, a as ClinicLocation, n as RecordsAsk, R as RecordsAskEntityRef, b as RecordsAskHandler, c as RecordsDepthStatus, o as RecordsNavAction, p as RecordsNavState, q as RecordsSignatureContext, g as RecordsUrlKind, r as RegisterSignaturePng, s as currentRecordsScreen, t as initialRecordsNav, v as popRecordsNav, w as pushRecordsNav, x as recordsNavReducer, y as replaceRecordsNav, z as resetRecordsNav, A as transitionRecordsNav } from '../useRecordsDepth-
|
|
7
|
+
import { d as RecordsHostSeams, i as RecordsClinicController, j as CaptureRecordsSignature, e as RecordsScreen, f as RecordsScreenBaseProps, C as ClinicDraft, k as ClinicRequestBaseProps, l as ClinicBatchBaseProps } from '../useRecordsDepth-Bo2d27fm.js';
|
|
8
|
+
export { m as CapturedRecordsSignature, a as ClinicLocation, n as RecordsAsk, R as RecordsAskEntityRef, b as RecordsAskHandler, c as RecordsDepthStatus, o as RecordsNavAction, p as RecordsNavState, q as RecordsSignatureContext, g as RecordsUrlKind, r as RegisterSignaturePng, s as currentRecordsScreen, t as initialRecordsNav, v as popRecordsNav, w as pushRecordsNav, x as recordsNavReducer, y as replaceRecordsNav, z as resetRecordsNav, A as transitionRecordsNav } from '../useRecordsDepth-Bo2d27fm.js';
|
|
9
9
|
import { U as UploadTransport } from '../ports-BN6RHF9W.js';
|
|
10
10
|
export { F as FileHandle, a as UploadPolicyWire } from '../ports-BN6RHF9W.js';
|
|
11
11
|
import { R as RecordsDocumentPicker } from '../uploadTransport-bZIKBTyK.js';
|
|
12
12
|
import { d as RecordsRequestView } from '../models-DSqA5Ahs.js';
|
|
13
13
|
export { h as ConsentState, C as CreateUploadRequestInput, G as GrantConsentInput, j as RECORDS_TERMINAL, R as RecordDocumentMeta, a as RecordEntity, k as RecordForwardItem, l as RecordIdentityField, b as RecordOrigin, m as RecordSeries, n as RecordSeriesPoint, i as RecordsDenialReason, f as RecordsRequestGroupView, c as RecordsRequestStatus, e as RecordsSimpleStatus, g as RecordsView, U as UploadedDocument, o as isTerminalStatus, r as recordsDenialReasonOf } from '../models-DSqA5Ahs.js';
|
|
14
|
-
export { C as CreateClinicRequestBatchInput, aa as CreateClinicRequestInput, x as FactFieldValue, 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, B as RecordFactEditInput, D as RecordFactRemoveInput, i as RecordLabMarker, j as RecordLabPoint, E as RecordMarker, G as RecordMarkerLatest, I as RecordMarkerPoint, J as RecordMarkerSummary, K as RecordMarkersView, L as RecordPdfLink, k as RecordPhysicalExam, M as RecordShare, N as RecordShareLink, a9 as RecordsAuthorizationCopy, O as RecordsAuthorizationSignature, l as RecordsClinic, P as RecordsClinicBatch, Q as RecordsClinicBatchClient, S as RecordsClinicBatchItem, T as RecordsClinicBatchResult, a6 as RecordsClinicSearchInput, a7 as RecordsClinicSearchPage, U as RecordsClinicTarget, m as RecordsDepthClient, a8 as RecordsRecentClinicsInput, n as RecordsRequestDocument, V as RecordsSignatureSuggestion, ab as RecordsSignatureUploadPolicy, o as RecordsTimelineMedication, p as RecordsTimelineVaccine, q as RecordsTimelineView, r as RecordsTimelineVisit, s as RecordsTimelineWeight } from '../depth-
|
|
15
|
-
export { a as EverfurDocumentContributionsProps, c as EverfurRecordsDepthProps } from '../DepthViews-
|
|
14
|
+
export { C as CreateClinicRequestBatchInput, aa as CreateClinicRequestInput, x as FactFieldValue, 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, B as RecordFactEditInput, D as RecordFactRemoveInput, i as RecordLabMarker, j as RecordLabPoint, E as RecordMarker, G as RecordMarkerLatest, I as RecordMarkerPoint, J as RecordMarkerSummary, K as RecordMarkersView, L as RecordPdfLink, k as RecordPhysicalExam, M as RecordShare, N as RecordShareLink, a9 as RecordsAuthorizationCopy, O as RecordsAuthorizationSignature, l as RecordsClinic, P as RecordsClinicBatch, Q as RecordsClinicBatchClient, S as RecordsClinicBatchItem, T as RecordsClinicBatchResult, a6 as RecordsClinicSearchInput, a7 as RecordsClinicSearchPage, U as RecordsClinicTarget, m as RecordsDepthClient, a8 as RecordsRecentClinicsInput, n as RecordsRequestDocument, V as RecordsSignatureSuggestion, ab as RecordsSignatureUploadPolicy, o as RecordsTimelineMedication, p as RecordsTimelineVaccine, q as RecordsTimelineView, r as RecordsTimelineVisit, s as RecordsTimelineWeight } from '../depth-VpVaDj5I.js';
|
|
15
|
+
export { a as EverfurDocumentContributionsProps, c as EverfurRecordsDepthProps } from '../DepthViews-DFODLIM2.js';
|
|
16
16
|
export { E as EverfurError, a as EverfurErrorCategory, b as EverfurErrorCode } from '../EverfurError-DmELDpXp.js';
|
|
17
17
|
export { E as EverfurResult } from '../EverfurResult-SGvHKsCB.js';
|
|
18
|
-
import '../requestFunnel-
|
|
18
|
+
import '../requestFunnel-C1Fp7waD.js';
|
|
19
19
|
import '../ErrorPolicyPort-D22LUVrK.js';
|
|
20
|
-
import '../config-
|
|
21
|
-
import '../identity-
|
|
20
|
+
import '../config-FhlcRHRe.js';
|
|
21
|
+
import '../identity-BMPu-Kg6.js';
|
|
22
22
|
|
|
23
23
|
interface EverfurRecordsProps extends RecordsHostSeams {
|
|
24
24
|
readonly petRef: PetRef;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { b as EverfurErrorCode } from './EverfurError-DmELDpXp.js';
|
|
2
2
|
import { E as ErrorPolicyPort } from './ErrorPolicyPort-D22LUVrK.js';
|
|
3
3
|
import { E as EverfurResult } from './EverfurResult-SGvHKsCB.js';
|
|
4
|
-
import { d as EverfurRequest, F as Frame } from './config-
|
|
5
|
-
import { A as AuthContext } from './identity-
|
|
4
|
+
import { d as EverfurRequest, F as Frame } from './config-FhlcRHRe.js';
|
|
5
|
+
import { A as AuthContext } from './identity-BMPu-Kg6.js';
|
|
6
6
|
|
|
7
7
|
/** Why the funnel stopped, or kept going. Every settle and every retry names one. */
|
|
8
8
|
type FunnelRetryReason = 'ok' | 'aborted' | 'terminal-code' | 'attempts-exhausted' | 'daily-quota-exhausted' | 'burst-throttle' | 'retryable-code' | 'server-reset-beyond-budget';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { b as EverfurErrorCode } from './EverfurError-DmELDpXp.cjs';
|
|
2
2
|
import { E as ErrorPolicyPort } from './ErrorPolicyPort-D6CybiqJ.cjs';
|
|
3
3
|
import { E as EverfurResult } from './EverfurResult-ZtH-YV1h.cjs';
|
|
4
|
-
import { d as EverfurRequest, F as Frame } from './config-
|
|
5
|
-
import { A as AuthContext } from './identity-
|
|
4
|
+
import { d as EverfurRequest, F as Frame } from './config-3jJR8fVC.cjs';
|
|
5
|
+
import { A as AuthContext } from './identity-DkVFMcyL.cjs';
|
|
6
6
|
|
|
7
7
|
/** Why the funnel stopped, or kept going. Every settle and every retry names one. */
|
|
8
8
|
type FunnelRetryReason = 'ok' | 'aborted' | 'terminal-code' | 'attempts-exhausted' | 'daily-quota-exhausted' | 'burst-throttle' | 'retryable-code' | 'server-reset-beyond-budget';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { E as EntitlementDecision, C as CapabilityName } from './resolve-D4Ywz5OS.cjs';
|
|
2
|
-
import { P as PetProfileInput, R as RegisteredPet, a as PetProfilePatch } from './petsRepository-
|
|
2
|
+
import { P as PetProfileInput, R as RegisteredPet, a as PetProfilePatch } from './petsRepository-CwIyiIvt.cjs';
|
|
3
3
|
import { E as EverfurResult } from './EverfurResult-ZtH-YV1h.cjs';
|
|
4
4
|
import { E as EverfurThemeInput, C as ClientBranding } from './branding-Xb_wL8N1.cjs';
|
|
5
|
-
import { A as AuthContext, T as TokenProvider } from './identity-
|
|
5
|
+
import { A as AuthContext, T as TokenProvider } from './identity-DkVFMcyL.cjs';
|
|
6
6
|
import { U as UserRef, P as PetRef, C as ConversationId } from './ids-B2GAAifq.cjs';
|
|
7
|
-
import { T as TransportPort } from './config-
|
|
7
|
+
import { T as TransportPort } from './config-3jJR8fVC.cjs';
|
|
8
8
|
import { I as ImageCachePort, K as KvPort } from './cacheEpoch-DknKn3S0.cjs';
|
|
9
9
|
import { E as ErrorPolicyPort } from './ErrorPolicyPort-D6CybiqJ.cjs';
|
|
10
|
-
import { U as UploadPort, l as ChatController } from './ports-
|
|
10
|
+
import { U as UploadPort, l as ChatController } from './ports-D0DaSL3j.cjs';
|
|
11
11
|
import { C as CameraPort } from './CameraPort-Cv31Pz7g.cjs';
|
|
12
12
|
import { T as TelemetryPort } from './TelemetryPort-BDNr00hu.cjs';
|
|
13
13
|
import { U as UploadTransport } from './ports-BN6RHF9W.cjs';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { E as EntitlementDecision, C as CapabilityName } from './resolve-D4Ywz5OS.js';
|
|
2
|
-
import { P as PetProfileInput, R as RegisteredPet, a as PetProfilePatch } from './petsRepository-
|
|
2
|
+
import { P as PetProfileInput, R as RegisteredPet, a as PetProfilePatch } from './petsRepository-I9vZvRpE.js';
|
|
3
3
|
import { E as EverfurResult } from './EverfurResult-SGvHKsCB.js';
|
|
4
4
|
import { E as EverfurThemeInput, C as ClientBranding } from './branding-xpQ056sM.js';
|
|
5
|
-
import { A as AuthContext, T as TokenProvider } from './identity-
|
|
5
|
+
import { A as AuthContext, T as TokenProvider } from './identity-BMPu-Kg6.js';
|
|
6
6
|
import { U as UserRef, P as PetRef, C as ConversationId } from './ids-B2GAAifq.js';
|
|
7
|
-
import { T as TransportPort } from './config-
|
|
7
|
+
import { T as TransportPort } from './config-FhlcRHRe.js';
|
|
8
8
|
import { I as ImageCachePort, K as KvPort } from './cacheEpoch-DknKn3S0.js';
|
|
9
9
|
import { E as ErrorPolicyPort } from './ErrorPolicyPort-D22LUVrK.js';
|
|
10
|
-
import { U as UploadPort, l as ChatController } from './ports-
|
|
10
|
+
import { U as UploadPort, l as ChatController } from './ports-BtrM61nV.js';
|
|
11
11
|
import { C as CameraPort } from './CameraPort-Cv31Pz7g.js';
|
|
12
12
|
import { T as TelemetryPort } from './TelemetryPort-BDNr00hu.js';
|
|
13
13
|
import { U as UploadTransport } from './ports-BN6RHF9W.js';
|