@everfur/sdk 1.1.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (208) hide show
  1. package/CHANGELOG.md +70 -0
  2. package/dist/{Chat.d-CTVJ_qWQ.d.cts → Chat.d-C76mPD5M.d.cts} +1 -1
  3. package/dist/{Chat.d-Bt0fKiOQ.d.ts → Chat.d-Dn_DEpGG.d.ts} +1 -1
  4. package/dist/{DepthViews.d-Dq8eWBvw.d.cts → DepthViews.d-4teBIBu-.d.cts} +1 -1
  5. package/dist/{DepthViews.d-BIfqdrvX.d.ts → DepthViews.d-B5RHCzGS.d.ts} +1 -1
  6. package/dist/{DepthViews.d-BW3HrhnC.d.ts → DepthViews.d-DXGAGojW.d.ts} +1 -1
  7. package/dist/{DepthViews.d-BHb0Xb-C.d.cts → DepthViews.d-v6sBxjrf.d.cts} +1 -1
  8. package/dist/{LifecyclePort.d-Cr1p33a7.d.cts → LifecyclePort.d-Cb9NtmP-.d.cts} +5 -0
  9. package/dist/{LifecyclePort.d-Cr1p33a7.d.ts → LifecyclePort.d-Cb9NtmP-.d.ts} +5 -0
  10. package/dist/{RecordsPage.d-CLrw-AvZ.d.cts → RecordsPage.d-BF4EIVKg.d.cts} +1 -1
  11. package/dist/{RecordsPage.d-Bs-dghTH.d.ts → RecordsPage.d-D2J5rMWk.d.ts} +1 -1
  12. package/dist/animations/index.d.cts +3 -3
  13. package/dist/animations/index.d.ts +3 -3
  14. package/dist/{attachments.d-DjxmIsNp.d.ts → attachments.d-CedhQFlI.d.ts} +1 -1
  15. package/dist/{attachments.d-DTGYmW8Y.d.cts → attachments.d-DMZ8xCT9.d.cts} +1 -1
  16. package/dist/{bookingCopy.d-CX-DMiwi.d.ts → bookingCopy.d-CnKq4gvc.d.ts} +2 -2
  17. package/dist/{bookingCopy.d-D952V8Tq.d.cts → bookingCopy.d-DJmo8fzQ.d.cts} +2 -2
  18. package/dist/{branding.d-SCzhpyTt.d.ts → branding.d-CNeG_CY3.d.ts} +7 -2
  19. package/dist/{branding.d-eGlNC86j.d.cts → branding.d-KOXyiUqX.d.cts} +7 -2
  20. package/dist/{casesRepository.d-bWJHZD-_.d.cts → casesRepository.d-BcmH2Du1.d.cts} +1 -1
  21. package/dist/{casesRepository.d-CnJZlUZ4.d.ts → casesRepository.d-CG3psWUQ.d.ts} +1 -1
  22. package/dist/chat/index.cjs +19 -20
  23. package/dist/chat/index.d.cts +11 -11
  24. package/dist/chat/index.d.ts +11 -11
  25. package/dist/chat/index.js +20 -21
  26. package/dist/chat/lite/index.cjs +19 -20
  27. package/dist/chat/lite/index.d.cts +11 -11
  28. package/dist/chat/lite/index.d.ts +11 -11
  29. package/dist/chat/lite/index.js +20 -21
  30. package/dist/{chatHandoffToken.d-uKnSnIzN.d.cts → chatHandoffToken.d-BRODOPfQ.d.cts} +11 -6
  31. package/dist/{chatHandoffToken.d-BCEdhZpd.d.ts → chatHandoffToken.d-DETK_czu.d.ts} +11 -6
  32. package/dist/{chatTypes.d-DbdF3ij5.d.ts → checkin.d-CJoVeku7.d.ts} +69 -37
  33. package/dist/{chatTypes.d-CFyYBzps.d.cts → checkin.d-CQaV4WL2.d.cts} +69 -37
  34. package/dist/{chunk-5TWMQIT4.js → chunk-HGQOS366.js} +1 -1
  35. package/dist/{chunk-ZZTNGAS7.js → chunk-PSBCFPJG.js} +1 -1
  36. package/dist/{chunk-LWPM4GD3.js → chunk-PTO64HJN.js} +1 -1
  37. package/dist/{chunk-PDZTFXOO.js → chunk-QMYYV67E.js} +1 -1
  38. package/dist/client/index.cjs +15 -3
  39. package/dist/client/index.d.cts +82 -14
  40. package/dist/client/index.d.ts +82 -14
  41. package/dist/client/index.js +15 -3
  42. package/dist/{clinicBatch.d-C_kZtYt-.d.ts → clinicBatch.d-CSr_YFGU.d.ts} +2 -2
  43. package/dist/{clinicBatch.d-e3Cn5HhA.d.cts → clinicBatch.d-CyXyJab_.d.cts} +2 -2
  44. package/dist/{config.d--6siaeNg.d.ts → config.d-Bf15Q27G.d.ts} +1 -1
  45. package/dist/{config.d-Ba21AaZg.d.cts → config.d-D-7_tLb8.d.cts} +1 -1
  46. package/dist/consent/index.d.cts +5 -5
  47. package/dist/consent/index.d.ts +5 -5
  48. package/dist/{context.d-CzMV_7jD.d.cts → context.d-CCsGIBuw.d.cts} +6 -6
  49. package/dist/{context.d-Bl07_JGt.d.ts → context.d-CFFj57ZA.d.ts} +6 -6
  50. package/dist/{copy.d-GokMma80.d.ts → copy.d-Dan0WfJS.d.ts} +2 -2
  51. package/dist/{copy.d-zWWCn3wB.d.cts → copy.d-uQ8jl0d3.d.cts} +2 -2
  52. package/dist/core/index.cjs +7 -6
  53. package/dist/core/index.d.cts +18 -16
  54. package/dist/core/index.d.ts +18 -16
  55. package/dist/core/index.js +7 -6
  56. package/dist/{depth.d-De5pT7vA.d.cts → depth.d-DFPfFTPF.d.cts} +2 -2
  57. package/dist/{depth.d-C_HL8yAz.d.ts → depth.d-DFsi6qtf.d.ts} +2 -2
  58. package/dist/{entitlementRepository.d-DLMRDNUe.d.ts → entitlementRepository.d-BnvMk7Tc.d.ts} +4 -4
  59. package/dist/{entitlementRepository.d-B4ffomns.d.cts → entitlementRepository.d-t6g97KZm.d.cts} +4 -4
  60. package/dist/{focus.d-B0qweva0.d.cts → focus.d-BkPLN-2r.d.cts} +1 -1
  61. package/dist/{focus.d-7G0BBmA9.d.ts → focus.d-_6rD03Ap.d.ts} +1 -1
  62. package/dist/health-plan/index.cjs +3 -3
  63. package/dist/health-plan/index.d.cts +14 -14
  64. package/dist/health-plan/index.d.ts +14 -14
  65. package/dist/health-plan/index.js +3 -3
  66. package/dist/{healthPlanRepository.d-CdCyUWph.d.ts → healthPlanRepository.d-CuumbPDh.d.ts} +2 -2
  67. package/dist/{healthPlanRepository.d-fPbLceBr.d.cts → healthPlanRepository.d-D6qYjNMQ.d.cts} +2 -2
  68. package/dist/{idempotency.d-IDta7Jjj.d.cts → idempotency.d-BGhv20mx.d.cts} +1 -1
  69. package/dist/{idempotency.d-CoUlC-Yd.d.ts → idempotency.d-RxPkjLqJ.d.ts} +1 -1
  70. package/dist/{identity.d-B7dPRGqm.d.ts → identity.d--2ec4agf.d.ts} +1 -1
  71. package/dist/{identity.d-_MK9Y7a4.d.cts → identity.d-CFc4KrK0.d.cts} +1 -1
  72. package/dist/{inbox.d-CuuPTWyW.d.ts → inbox.d-B6kD0a9r.d.ts} +1 -1
  73. package/dist/{inbox.d-ChNXTovj.d.cts → inbox.d-CzIVX_ji.d.cts} +1 -1
  74. package/dist/index.cjs +28 -28
  75. package/dist/index.d.cts +20 -18
  76. package/dist/index.d.ts +20 -18
  77. package/dist/index.js +29 -29
  78. package/dist/{introEvents.d-JvAWRKYu.d.cts → introEvents.d-BUCbS8oX.d.cts} +1 -1
  79. package/dist/{introEvents.d-D6Ay0ORN.d.ts → introEvents.d-wshlRCrU.d.ts} +1 -1
  80. package/dist/{layout.d-D3d4QMeO.d.ts → layout.d-C8UKQW3I.d.ts} +2 -2
  81. package/dist/{layout.d-ByfOEhpG.d.cts → layout.d-ChcRUbC4.d.cts} +2 -2
  82. package/dist/models.d-DHAQqrQr.d.ts +182 -0
  83. package/dist/models.d-Dml2f9-U.d.cts +182 -0
  84. package/dist/notifications/inbox/index.cjs +1 -1
  85. package/dist/notifications/inbox/index.d.cts +7 -7
  86. package/dist/notifications/inbox/index.d.ts +7 -7
  87. package/dist/notifications/inbox/index.js +1 -1
  88. package/dist/notifications/index.d.cts +7 -7
  89. package/dist/notifications/index.d.ts +7 -7
  90. package/dist/{optInView.d-Bxvg0WLJ.d.cts → optInView.d-Cu3J440l.d.cts} +2 -2
  91. package/dist/{optInView.d-BpFTJaaX.d.ts → optInView.d-DbSRM8qR.d.ts} +2 -2
  92. package/dist/parse.d-DtHmpAMT.d.cts +282 -0
  93. package/dist/parse.d-DtHmpAMT.d.ts +282 -0
  94. package/dist/{pets.d-BtbJcf8T.d.cts → pets.d-BRNg79qq.d.cts} +1 -1
  95. package/dist/{pets.d-Br960ekh.d.ts → pets.d-CS21gvuN.d.ts} +1 -1
  96. package/dist/{petsRepository.d-CSOth5XE.d.ts → petsRepository.d-BRL_wPcE.d.ts} +1 -1
  97. package/dist/{petsRepository.d-Bj9rPnCr.d.cts → petsRepository.d-uMbhgEsh.d.cts} +1 -1
  98. package/dist/records/depth/index.d.cts +9 -9
  99. package/dist/records/depth/index.d.ts +9 -9
  100. package/dist/records/index.cjs +3 -3
  101. package/dist/records/index.d.cts +11 -11
  102. package/dist/records/index.d.ts +11 -11
  103. package/dist/records/index.js +3 -3
  104. package/dist/{requestFunnel.d-LSnmCusf.d.ts → requestFunnel.d-BDuYHZMa.d.ts} +2 -2
  105. package/dist/{requestFunnel.d-BwO-jFLX.d.cts → requestFunnel.d-BdTkSu0W.d.cts} +2 -2
  106. package/dist/{route.d-D70-OHBc.d.cts → route.d-BhfmB7Pl.d.cts} +2 -2
  107. package/dist/{route.d-Bzyamuxa.d.ts → route.d-HALH1t37.d.ts} +2 -2
  108. package/dist/{runtimeTypes.d-6nkdToBS.d.cts → runtimeTypes.d-BrEWaDPX.d.cts} +34 -6
  109. package/dist/{runtimeTypes.d-Byb55WsJ.d.ts → runtimeTypes.d-C7HFG1ev.d.ts} +34 -6
  110. package/dist/{screenProps.d-DB5IMaGZ.d.cts → screenProps.d-BjIsq_NY.d.cts} +1 -1
  111. package/dist/{screenProps.d-HGSPNGHt.d.ts → screenProps.d-C_q_3Lj7.d.ts} +1 -1
  112. package/dist/sdkConfigStore.d-BKqjpahR.d.ts +40 -0
  113. package/dist/sdkConfigStore.d-Cxj2n79d.d.cts +40 -0
  114. package/dist/server/events/index.cjs +1 -1
  115. package/dist/server/events/index.d.cts +2 -2
  116. package/dist/server/events/index.d.ts +2 -2
  117. package/dist/server/events/index.js +1 -1
  118. package/dist/server/index.cjs +1 -1
  119. package/dist/server/index.d.cts +3 -3
  120. package/dist/server/index.d.ts +3 -3
  121. package/dist/server/index.js +1 -1
  122. package/dist/shop/index.d.cts +3 -3
  123. package/dist/shop/index.d.ts +3 -3
  124. package/dist/slots/index.cjs +2 -2
  125. package/dist/slots/index.d.cts +6 -6
  126. package/dist/slots/index.d.ts +6 -6
  127. package/dist/slots/index.js +2 -2
  128. package/dist/tabs/index.cjs +78 -12
  129. package/dist/tabs/index.d.cts +129 -10
  130. package/dist/tabs/index.d.ts +129 -10
  131. package/dist/tabs/index.js +78 -12
  132. package/dist/televet/booking/index.d.cts +6 -6
  133. package/dist/televet/booking/index.d.ts +6 -6
  134. package/dist/testing/index.cjs +1 -1
  135. package/dist/testing/index.d.cts +1 -1
  136. package/dist/testing/index.d.ts +1 -1
  137. package/dist/testing/index.js +1 -1
  138. package/dist/testing/rn/index.d.cts +11 -9
  139. package/dist/testing/rn/index.d.ts +11 -9
  140. package/dist/testing/web/index.d.cts +11 -9
  141. package/dist/testing/web/index.d.ts +11 -9
  142. package/dist/texting/index.cjs +2 -2
  143. package/dist/texting/index.d.cts +22 -8
  144. package/dist/texting/index.d.ts +22 -8
  145. package/dist/texting/index.js +2 -2
  146. package/dist/{threadOptions.d-E-ZxhUSg.d.cts → threadOptions.d-RBSqklk5.d.cts} +5 -5
  147. package/dist/{threadOptions.d-Cjps2yaN.d.ts → threadOptions.d-Suof8GCE.d.ts} +5 -5
  148. package/dist/{timelineRows.d-CPS4admm.d.ts → timelineRows.d-CDA00bav.d.ts} +1 -1
  149. package/dist/{timelineRows.d-BJRCgmdv.d.cts → timelineRows.d-CXIvLZW0.d.cts} +1 -1
  150. package/dist/{tokens.d-DH1mYjZl.d.cts → tokens.d-DxM-tKjz.d.cts} +2 -0
  151. package/dist/{tokens.d-DH1mYjZl.d.ts → tokens.d-DxM-tKjz.d.ts} +2 -0
  152. package/dist/{typeStyle.d-CuKAr0Ly.d.cts → typeStyle.d-DmdB2TfH.d.cts} +2 -2
  153. package/dist/{typeStyle.d-ZszGrWPf.d.ts → typeStyle.d-Ma1uBgn-.d.ts} +2 -2
  154. package/dist/{useHealthPlanSubscription.d-zjsvvlhz.d.cts → useHealthPlanSubscription.d-BJyHm00W.d.cts} +4 -4
  155. package/dist/{useHealthPlanSubscription.d-SQfx-45x.d.ts → useHealthPlanSubscription.d-mOHP3D8V.d.ts} +4 -4
  156. package/dist/{useInboxUnread.d-BxFKFU4o.d.ts → useInboxUnread.d-B6WPb-Qs.d.ts} +2 -2
  157. package/dist/{useInboxUnread.d-7p3IWs_A.d.cts → useInboxUnread.d-BZC4Td0f.d.cts} +2 -2
  158. package/dist/{usePresentation.d-DUHlQyV5.d.cts → usePresentation.d-BP8u0FS2.d.cts} +2 -2
  159. package/dist/{usePresentation.d-CoyGEJOl.d.ts → usePresentation.d-j0xDpOoe.d.ts} +2 -2
  160. package/dist/{useRecordsDepth.d-BinUa8W9.d.ts → useRecordsDepth.d-Cu7-cKAn.d.ts} +1 -1
  161. package/dist/{useRecordsDepth.d-Bk8BSerZ.d.cts → useRecordsDepth.d-CvxrlzGi.d.cts} +1 -1
  162. package/dist/{useUnread.d-D-p7oEW_.d.cts → useUnread.d-C4wKv3th.d.cts} +31 -17
  163. package/dist/{useUnread.d-CFzIPmZt.d.ts → useUnread.d-DMicYM85.d.ts} +31 -17
  164. package/dist/{view.d-CaH6dZPJ.d.ts → view.d-Bq7d05Pv.d.ts} +3 -3
  165. package/dist/{view.d-DV4b1cov.d.cts → view.d-odmWgaGw.d.cts} +3 -3
  166. package/dist/web/consent/index.d.cts +5 -5
  167. package/dist/web/consent/index.d.ts +5 -5
  168. package/dist/web/health-plan/index.cjs +5 -5
  169. package/dist/web/health-plan/index.d.cts +16 -16
  170. package/dist/web/health-plan/index.d.ts +16 -16
  171. package/dist/web/health-plan/index.js +5 -5
  172. package/dist/web/inbox/index.cjs +1 -1
  173. package/dist/web/inbox/index.d.cts +8 -8
  174. package/dist/web/inbox/index.d.ts +8 -8
  175. package/dist/web/inbox/index.js +1 -1
  176. package/dist/web/index.cjs +40 -40
  177. package/dist/web/index.d.cts +59 -44
  178. package/dist/web/index.d.ts +59 -44
  179. package/dist/web/index.js +40 -40
  180. package/dist/web/intro/index.d.cts +7 -7
  181. package/dist/web/intro/index.d.ts +7 -7
  182. package/dist/web/notifications/index.d.cts +6 -6
  183. package/dist/web/notifications/index.d.ts +6 -6
  184. package/dist/web/records/depth/index.d.cts +9 -9
  185. package/dist/web/records/depth/index.d.ts +9 -9
  186. package/dist/web/records/index.cjs +2 -2
  187. package/dist/web/records/index.d.cts +11 -11
  188. package/dist/web/records/index.d.ts +11 -11
  189. package/dist/web/records/index.js +2 -2
  190. package/dist/web/records-sheet/index.cjs +3 -3
  191. package/dist/web/records-sheet/index.js +3 -3
  192. package/dist/web/shop/index.cjs +1 -1
  193. package/dist/web/shop/index.d.cts +3 -3
  194. package/dist/web/shop/index.d.ts +3 -3
  195. package/dist/web/shop/index.js +1 -1
  196. package/dist/web/televet/booking/index.cjs +1 -1
  197. package/dist/web/televet/booking/index.d.cts +7 -7
  198. package/dist/web/televet/booking/index.d.ts +7 -7
  199. package/dist/web/televet/booking/index.js +1 -1
  200. package/dist/web/televet/call/index.cjs +1 -1
  201. package/dist/web/televet/call/index.js +1 -1
  202. package/dist/web/texting/index.cjs +2 -2
  203. package/dist/web/texting/index.d.cts +22 -8
  204. package/dist/web/texting/index.d.ts +22 -8
  205. package/dist/web/texting/index.js +2 -2
  206. package/dist/web/ui/index.cjs +1 -1
  207. package/dist/web/ui/index.js +1 -1
  208. package/package.json +6 -2
@@ -1,20 +1,26 @@
1
1
  /*! @everfur/sdk. Copyright (c) 2026 Strand Health Inc. dba Everfur. All rights reserved. Use is subject to the Everfur SDK License: https://docs.everfur.com/license */
2
- import { b as EverfurErrorCode } from '../EverfurError.d-8NHtlgzA.cjs';
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, E as EverfurError, 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';
2
+ import { b as EverfurErrorCode, E as EverfurError } from '../EverfurError.d-8NHtlgzA.cjs';
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
- export { A as AcceptedFrame, a as AnalysisCompleteFrame, b as AnalysisStartedFrame, B as ByteSource, C as ClientConfigFailure, k as ClientConfigFailureReason, l as ClientConfigOutcome, m as DEFAULT_CONTRACT_VERSION, D as DeltaFrame, c as DoneFrame, n as EMPTY_FRAME_ARRAYS, o as ENV_API_BASE_URL, E as ErrorFrame, p as EventSourceFactory, q as EventSourceInit, r as EventSourceLike, s as EventSourceMessage, t as EverfurConfig, d as EverfurRequest, e as EverfurRequestBase, u as FetchInit, j as FetchLike, v as FetchResponseLike, F as Frame, f as FrameBase, g as FrameKind, H as HeartbeatFrame, h as HttpMethod, M as MultipartBody, R as RawResponse, w as ReadableStreamLike, x as ResolveClientConfigOptions, y as ResolvedClientConfig, S as SDK_PLATFORM, z as SdkPlatform, G as ServerRequestIdSource, I as TransportDeps, T as TransportPort, U as UnknownFrame, i as UrgencyLevel, J as acceptedFrame, K as analysisCompleteFrame, L as analysisStartedFrame, N as assertNever, O as bufferedTextByteSource, P as buildBaseHeaders, Q as checkPublishableKey, V as createHttpTransport, W as deltaFrame, X as doneFrame, Y as errorFrame, Z as errorFromResponse, _ as eventSourceByteSource, $ as eventSourceRequestId, a0 as fetchByteSource, a1 as getGlobalFetch, a2 as heartbeatFrame, a3 as networkError, a4 as parseSse, a5 as requestIdOf, a6 as requestJson, a7 as requestRaw, a8 as resolveApiBaseUrl, a9 as resolveClientConfig, aa as tryResolveApiBaseUrl, ab as tryResolveClientConfig, ac as unknownFrame } from '../config.d-Ba21AaZg.cjs';
5
+ import { d as EverfurRequest } from '../config.d-D-7_tLb8.cjs';
6
+ export { A as AcceptedFrame, a as AnalysisCompleteFrame, b as AnalysisStartedFrame, B as ByteSource, C as ClientConfigFailure, l as ClientConfigFailureReason, m as ClientConfigOutcome, n as DEFAULT_CONTRACT_VERSION, D as DeltaFrame, c as DoneFrame, o as EMPTY_FRAME_ARRAYS, p as ENV_API_BASE_URL, E as ErrorFrame, k as EventSourceFactory, q as EventSourceInit, r as EventSourceLike, s as EventSourceMessage, t as EverfurConfig, e as EverfurRequestBase, u as FetchInit, j as FetchLike, v as FetchResponseLike, F as Frame, f as FrameBase, g as FrameKind, H as HeartbeatFrame, h as HttpMethod, M as MultipartBody, R as RawResponse, w as ReadableStreamLike, x as ResolveClientConfigOptions, y as ResolvedClientConfig, z as SDK_PLATFORM, S as SdkPlatform, G as ServerRequestIdSource, I as TransportDeps, T as TransportPort, U as UnknownFrame, i as UrgencyLevel, J as acceptedFrame, K as analysisCompleteFrame, L as analysisStartedFrame, N as assertNever, O as bufferedTextByteSource, P as buildBaseHeaders, Q as checkPublishableKey, V as createHttpTransport, W as deltaFrame, X as doneFrame, Y as errorFrame, Z as errorFromResponse, _ as eventSourceByteSource, $ as eventSourceRequestId, a0 as fetchByteSource, a1 as getGlobalFetch, a2 as heartbeatFrame, a3 as networkError, a4 as parseSse, a5 as requestIdOf, a6 as requestJson, a7 as requestRaw, a8 as resolveApiBaseUrl, a9 as resolveClientConfig, aa as tryResolveApiBaseUrl, ab as tryResolveClientConfig, ac as unknownFrame } from '../config.d-D-7_tLb8.cjs';
6
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';
7
- export { A as AuthContext, D as DeviceAuth, I as IdentityProvider, M as MintedToken, T as TokenProvider, a as authHeaders, b as authedSend, c as createIdentityProvider, n as newSessionId, w as withAuthHeaders } from '../identity.d-_MK9Y7a4.cjs';
8
+ export { A as AuthContext, D as DeviceAuth, I as IdentityProvider, M as MintedToken, T as TokenProvider, a as authHeaders, b as authedSend, c as createIdentityProvider, n as newSessionId, w as withAuthHeaders } from '../identity.d-CFc4KrK0.cjs';
8
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';
9
- export { E as ENTITLEMENTS_PATH, a as EntitlementResolution, F as FetchEntitlementsArgs, f as fetchEntitlements } from '../entitlementRepository.d-B4ffomns.cjs';
10
- import { n as EverfurTheme } from '../tokens.d-DH1mYjZl.cjs';
11
- 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, c as EverfurFontSource, 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, s as EverfurThemeSlots, 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-DH1mYjZl.cjs';
12
- 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-CuKAr0Ly.cjs';
13
- export { A as APPEARANCE_PRESETS, a as APPEARANCE_PRESET_NAMES, b as APPEARANCE_SIZE_RANGES, C as ClientBranding, 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, T as THEME_SCHEMA_VERSIONS, x as TYPE_ROLE_RANGES, y as ThemeLockName, 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-eGlNC86j.cjs';
10
+ export { a as ENTITLEMENTS_PATH, E as EntitlementResolution, F as FetchEntitlementsArgs, f as fetchEntitlements } from '../entitlementRepository.d-t6g97KZm.cjs';
11
+ import { n as EverfurTheme, c as EverfurFontSource, s as EverfurThemeSlots } from '../tokens.d-DxM-tKjz.cjs';
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-DxM-tKjz.cjs';
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-DmdB2TfH.cjs';
14
+ import { T as ThemeLockName, C as ClientBranding } from '../branding.d-KOXyiUqX.cjs';
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-KOXyiUqX.cjs';
14
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-tJe7zo12.cjs';
15
- export { F as FunnelSendOptions, R as RequestFunnel, a as RequestFunnelDeps, c as createRequestFunnel } from '../requestFunnel.d-BwO-jFLX.cjs';
16
- 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-Bj9rPnCr.cjs';
17
- export { b as CHECKIN_ANSWERS, c as CasesRepository, C as CheckinAnswer, a as CheckinOutcome, W as WatchCase, d as createCasesRepository } from '../casesRepository.d-bWJHZD-_.cjs';
17
+ import { R as RequestFunnel } from '../requestFunnel.d-BdTkSu0W.cjs';
18
+ export { F as FunnelSendOptions, a as RequestFunnelDeps, c as createRequestFunnel } from '../requestFunnel.d-BdTkSu0W.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-uMbhgEsh.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-BcmH2Du1.cjs';
21
+ import { b as SdkSettingKey, a as SdkSettings, S as SdkConfigV3, c as SdkFixedStringId } from '../parse.d-DtHmpAMT.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-DtHmpAMT.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-Dml2f9-U.cjs';
18
24
  import '../ErrorPolicyPort.d-DirW9hgO.cjs';
19
25
  import '../profile.d-CSs1wlXT.cjs';
20
26
 
@@ -86,7 +92,7 @@ declare function publishedDocUrl(entry: ContractErrorRow): string | null;
86
92
  * Package semver, sent as X-Everfur-SDK-Version. MUST track package.json version (release checklist Item 12
87
93
  * keeps the npm semver tag and this constant in lockstep). Set inside the SDK, never by partner code.
88
94
  */
89
- declare const SDK_VERSION = "1.1.0";
95
+ declare const SDK_VERSION = "1.2.0";
90
96
 
91
97
  /**
92
98
  * Parse a permissive colour into a normalized string (`#RRGGBB` when opaque, else `rgba(r,g,b,a)`), or null.
@@ -136,4 +142,66 @@ declare const HIGH_CONTRAST_TARGET_RATIO = 7;
136
142
  */
137
143
  declare function deriveHighContrast(theme: EverfurTheme): EverfurTheme;
138
144
 
139
- export { CONTRACT_ERROR_ROWS, type ContractErrorEnvelope, type ContractErrorRow, type ContractWireErrorCode, DARK_VARIANT_GROUND, DARK_VARIANT_LIGHTNESS_CEILING, DARK_VARIANT_LIGHTNESS_FLOOR, DARK_VARIANT_LIGHTNESS_STEP, DARK_VARIANT_TARGET_RATIO, DOC_SITE_ORIGIN, EverfurErrorCode, EverfurTheme, HIGH_CONTRAST_TARGET_RATIO, SDK_VERSION, contractDocUrl, contractErrorFor, contrastRatio, deriveDarkVariant, deriveHighContrast, parseColor, publishedDocUrl, readableOn };
145
+ /** Values a string may name. Each is optional: a missing one leaves its brace. */
146
+ interface SdkTextValues {
147
+ readonly pet?: string;
148
+ readonly cap?: number | string;
149
+ readonly left?: number | string;
150
+ readonly visits?: number | string;
151
+ readonly price?: string;
152
+ readonly state?: string;
153
+ readonly them?: string;
154
+ readonly when?: string;
155
+ }
156
+ /** Fill one template from the config and the values. */
157
+ declare function fillSdkText(template: string, settings: SdkSettings, values?: SdkTextValues): string;
158
+ /** Text settings whose value is a string. */
159
+ type SdkTextKey = {
160
+ [K in SdkSettingKey]: SdkSettings[K] extends string ? (K extends `text.${string}` | 'plan.name' | 'vet.name' | 'vet.title' ? K : never) : never;
161
+ }[SdkSettingKey];
162
+ /** A text setting, filled. */
163
+ declare function sdkText(config: SdkConfigV3, key: SdkTextKey, values?: SdkTextValues): string;
164
+ /** A fixed string, filled (word for word from the packet's `fixed_strings`). */
165
+ declare function sdkFixed(config: SdkConfigV3, id: SdkFixedStringId, values?: SdkTextValues): string;
166
+ /** True when the config is inside a partner (not Everfur's own app): the privacy lines then show. */
167
+ declare function isInsidePartner(settings: SdkSettings): boolean;
168
+ /**
169
+ * {them} for the gate line: the pet's object pronoun. The host's pet record carries a sex when it knows one;
170
+ * otherwise "them".
171
+ */
172
+ declare function objectPronoun(sex: string | null | undefined): string;
173
+
174
+ /** look.ask_icon's value for Everfur's own bubble icon (not a file). */
175
+ declare const EVERFUR_ASK_ICON = "everfur-ask";
176
+ /** look.font.files as the theme's font sources (one per weight a file carries). */
177
+ declare function fontSourcesOf(settings: SdkSettings): readonly EverfurFontSource[];
178
+ /** The family the chat thread draws in: look.font.chat, or the body family when it says "body". */
179
+ declare function chatFamily(settings: SdkSettings): string;
180
+ /** The family of small labels and dates: look.font.label, or the body family when it says "body". */
181
+ declare function labelFamily(settings: SdkSettings): string;
182
+ /** The theme slots a config paints: the tagged values on the live frames. */
183
+ declare function slotsOf(settings: SdkSettings): EverfurThemeSlots;
184
+ /** Every name `locked_fields` can carry for the theme, plus the whole presentation: v3 is server-wins throughout. */
185
+ declare const V3_LOCKED_FIELDS: readonly ThemeLockName[];
186
+ /** The config as the theme's server branding (every field locked). */
187
+ declare function sdkConfigBranding(config: SdkConfigV3): ClientBranding;
188
+
189
+ declare const SDK_CONFIG_PATH = "/widget/v1/sdk-config";
190
+ declare const SDK_CONFIG_SCHEMA_HEADER = "x-everfur-sdk-config-schema";
191
+ type SdkConfigResolution = {
192
+ readonly kind: 'updated';
193
+ readonly config: SdkConfigV3;
194
+ } | {
195
+ readonly kind: 'notModified';
196
+ } | {
197
+ readonly kind: 'notEnabled';
198
+ } | {
199
+ readonly kind: 'failed';
200
+ readonly error: EverfurError;
201
+ };
202
+ /** The request: the schema header always, the revision when we hold one. */
203
+ declare function sdkConfigRequest(cachedRevision?: number | null): EverfurRequest;
204
+ /** Fetch the config once through the funnel. */
205
+ declare function fetchSdkConfig(funnel: RequestFunnel, cachedRevision?: number | null): Promise<SdkConfigResolution>;
206
+
207
+ export { CONTRACT_ERROR_ROWS, ClientBranding, type ContractErrorEnvelope, type ContractErrorRow, type ContractWireErrorCode, DARK_VARIANT_GROUND, DARK_VARIANT_LIGHTNESS_CEILING, DARK_VARIANT_LIGHTNESS_FLOOR, DARK_VARIANT_LIGHTNESS_STEP, DARK_VARIANT_TARGET_RATIO, DOC_SITE_ORIGIN, EVERFUR_ASK_ICON, EverfurError, EverfurErrorCode, EverfurFontSource, EverfurRequest, EverfurTheme, EverfurThemeSlots, HIGH_CONTRAST_TARGET_RATIO, RequestFunnel, SDK_CONFIG_PATH, SDK_CONFIG_SCHEMA_HEADER, SDK_VERSION, type SdkConfigResolution, SdkConfigV3, SdkFixedStringId, SdkSettingKey, SdkSettings, type SdkTextKey, type SdkTextValues, ThemeLockName, V3_LOCKED_FIELDS, chatFamily, contractDocUrl, contractErrorFor, contrastRatio, deriveDarkVariant, deriveHighContrast, fetchSdkConfig, fillSdkText, fontSourcesOf, isInsidePartner, labelFamily, objectPronoun, parseColor, publishedDocUrl, readableOn, sdkConfigBranding, sdkConfigRequest, sdkFixed, sdkText, slotsOf };
@@ -1,20 +1,26 @@
1
1
  /*! @everfur/sdk. Copyright (c) 2026 Strand Health Inc. dba Everfur. All rights reserved. Use is subject to the Everfur SDK License: https://docs.everfur.com/license */
2
- import { b as EverfurErrorCode } from '../EverfurError.d-8NHtlgzA.js';
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, E as EverfurError, 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';
2
+ import { b as EverfurErrorCode, E as EverfurError } from '../EverfurError.d-8NHtlgzA.js';
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
- export { A as AcceptedFrame, a as AnalysisCompleteFrame, b as AnalysisStartedFrame, B as ByteSource, C as ClientConfigFailure, k as ClientConfigFailureReason, l as ClientConfigOutcome, m as DEFAULT_CONTRACT_VERSION, D as DeltaFrame, c as DoneFrame, n as EMPTY_FRAME_ARRAYS, o as ENV_API_BASE_URL, E as ErrorFrame, p as EventSourceFactory, q as EventSourceInit, r as EventSourceLike, s as EventSourceMessage, t as EverfurConfig, d as EverfurRequest, e as EverfurRequestBase, u as FetchInit, j as FetchLike, v as FetchResponseLike, F as Frame, f as FrameBase, g as FrameKind, H as HeartbeatFrame, h as HttpMethod, M as MultipartBody, R as RawResponse, w as ReadableStreamLike, x as ResolveClientConfigOptions, y as ResolvedClientConfig, S as SDK_PLATFORM, z as SdkPlatform, G as ServerRequestIdSource, I as TransportDeps, T as TransportPort, U as UnknownFrame, i as UrgencyLevel, J as acceptedFrame, K as analysisCompleteFrame, L as analysisStartedFrame, N as assertNever, O as bufferedTextByteSource, P as buildBaseHeaders, Q as checkPublishableKey, V as createHttpTransport, W as deltaFrame, X as doneFrame, Y as errorFrame, Z as errorFromResponse, _ as eventSourceByteSource, $ as eventSourceRequestId, a0 as fetchByteSource, a1 as getGlobalFetch, a2 as heartbeatFrame, a3 as networkError, a4 as parseSse, a5 as requestIdOf, a6 as requestJson, a7 as requestRaw, a8 as resolveApiBaseUrl, a9 as resolveClientConfig, aa as tryResolveApiBaseUrl, ab as tryResolveClientConfig, ac as unknownFrame } from '../config.d--6siaeNg.js';
5
+ import { d as EverfurRequest } from '../config.d-Bf15Q27G.js';
6
+ export { A as AcceptedFrame, a as AnalysisCompleteFrame, b as AnalysisStartedFrame, B as ByteSource, C as ClientConfigFailure, l as ClientConfigFailureReason, m as ClientConfigOutcome, n as DEFAULT_CONTRACT_VERSION, D as DeltaFrame, c as DoneFrame, o as EMPTY_FRAME_ARRAYS, p as ENV_API_BASE_URL, E as ErrorFrame, k as EventSourceFactory, q as EventSourceInit, r as EventSourceLike, s as EventSourceMessage, t as EverfurConfig, e as EverfurRequestBase, u as FetchInit, j as FetchLike, v as FetchResponseLike, F as Frame, f as FrameBase, g as FrameKind, H as HeartbeatFrame, h as HttpMethod, M as MultipartBody, R as RawResponse, w as ReadableStreamLike, x as ResolveClientConfigOptions, y as ResolvedClientConfig, z as SDK_PLATFORM, S as SdkPlatform, G as ServerRequestIdSource, I as TransportDeps, T as TransportPort, U as UnknownFrame, i as UrgencyLevel, J as acceptedFrame, K as analysisCompleteFrame, L as analysisStartedFrame, N as assertNever, O as bufferedTextByteSource, P as buildBaseHeaders, Q as checkPublishableKey, V as createHttpTransport, W as deltaFrame, X as doneFrame, Y as errorFrame, Z as errorFromResponse, _ as eventSourceByteSource, $ as eventSourceRequestId, a0 as fetchByteSource, a1 as getGlobalFetch, a2 as heartbeatFrame, a3 as networkError, a4 as parseSse, a5 as requestIdOf, a6 as requestJson, a7 as requestRaw, a8 as resolveApiBaseUrl, a9 as resolveClientConfig, aa as tryResolveApiBaseUrl, ab as tryResolveClientConfig, ac as unknownFrame } from '../config.d-Bf15Q27G.js';
6
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';
7
- export { A as AuthContext, D as DeviceAuth, I as IdentityProvider, M as MintedToken, T as TokenProvider, a as authHeaders, b as authedSend, c as createIdentityProvider, n as newSessionId, w as withAuthHeaders } from '../identity.d-B7dPRGqm.js';
8
+ export { A as AuthContext, D as DeviceAuth, I as IdentityProvider, M as MintedToken, T as TokenProvider, a as authHeaders, b as authedSend, c as createIdentityProvider, n as newSessionId, w as withAuthHeaders } from '../identity.d--2ec4agf.js';
8
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';
9
- export { E as ENTITLEMENTS_PATH, a as EntitlementResolution, F as FetchEntitlementsArgs, f as fetchEntitlements } from '../entitlementRepository.d-DLMRDNUe.js';
10
- import { n as EverfurTheme } from '../tokens.d-DH1mYjZl.js';
11
- 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, c as EverfurFontSource, 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, s as EverfurThemeSlots, 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-DH1mYjZl.js';
12
- 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-ZszGrWPf.js';
13
- export { A as APPEARANCE_PRESETS, a as APPEARANCE_PRESET_NAMES, b as APPEARANCE_SIZE_RANGES, C as ClientBranding, 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, T as THEME_SCHEMA_VERSIONS, x as TYPE_ROLE_RANGES, y as ThemeLockName, 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-SCzhpyTt.js';
10
+ export { a as ENTITLEMENTS_PATH, E as EntitlementResolution, F as FetchEntitlementsArgs, f as fetchEntitlements } from '../entitlementRepository.d-BnvMk7Tc.js';
11
+ import { n as EverfurTheme, c as EverfurFontSource, s as EverfurThemeSlots } from '../tokens.d-DxM-tKjz.js';
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-DxM-tKjz.js';
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-Ma1uBgn-.js';
14
+ import { T as ThemeLockName, C as ClientBranding } from '../branding.d-CNeG_CY3.js';
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-CNeG_CY3.js';
14
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-tJe7zo12.js';
15
- export { F as FunnelSendOptions, R as RequestFunnel, a as RequestFunnelDeps, c as createRequestFunnel } from '../requestFunnel.d-LSnmCusf.js';
16
- 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-CSOth5XE.js';
17
- export { b as CHECKIN_ANSWERS, c as CasesRepository, C as CheckinAnswer, a as CheckinOutcome, W as WatchCase, d as createCasesRepository } from '../casesRepository.d-CnJZlUZ4.js';
17
+ import { R as RequestFunnel } from '../requestFunnel.d-BDuYHZMa.js';
18
+ export { F as FunnelSendOptions, a as RequestFunnelDeps, c as createRequestFunnel } from '../requestFunnel.d-BDuYHZMa.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-BRL_wPcE.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-CG3psWUQ.js';
21
+ import { b as SdkSettingKey, a as SdkSettings, S as SdkConfigV3, c as SdkFixedStringId } from '../parse.d-DtHmpAMT.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-DtHmpAMT.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-DHAQqrQr.js';
18
24
  import '../ErrorPolicyPort.d-68yrE3BE.js';
19
25
  import '../profile.d-CSs1wlXT.js';
20
26
 
@@ -86,7 +92,7 @@ declare function publishedDocUrl(entry: ContractErrorRow): string | null;
86
92
  * Package semver, sent as X-Everfur-SDK-Version. MUST track package.json version (release checklist Item 12
87
93
  * keeps the npm semver tag and this constant in lockstep). Set inside the SDK, never by partner code.
88
94
  */
89
- declare const SDK_VERSION = "1.1.0";
95
+ declare const SDK_VERSION = "1.2.0";
90
96
 
91
97
  /**
92
98
  * Parse a permissive colour into a normalized string (`#RRGGBB` when opaque, else `rgba(r,g,b,a)`), or null.
@@ -136,4 +142,66 @@ declare const HIGH_CONTRAST_TARGET_RATIO = 7;
136
142
  */
137
143
  declare function deriveHighContrast(theme: EverfurTheme): EverfurTheme;
138
144
 
139
- export { CONTRACT_ERROR_ROWS, type ContractErrorEnvelope, type ContractErrorRow, type ContractWireErrorCode, DARK_VARIANT_GROUND, DARK_VARIANT_LIGHTNESS_CEILING, DARK_VARIANT_LIGHTNESS_FLOOR, DARK_VARIANT_LIGHTNESS_STEP, DARK_VARIANT_TARGET_RATIO, DOC_SITE_ORIGIN, EverfurErrorCode, EverfurTheme, HIGH_CONTRAST_TARGET_RATIO, SDK_VERSION, contractDocUrl, contractErrorFor, contrastRatio, deriveDarkVariant, deriveHighContrast, parseColor, publishedDocUrl, readableOn };
145
+ /** Values a string may name. Each is optional: a missing one leaves its brace. */
146
+ interface SdkTextValues {
147
+ readonly pet?: string;
148
+ readonly cap?: number | string;
149
+ readonly left?: number | string;
150
+ readonly visits?: number | string;
151
+ readonly price?: string;
152
+ readonly state?: string;
153
+ readonly them?: string;
154
+ readonly when?: string;
155
+ }
156
+ /** Fill one template from the config and the values. */
157
+ declare function fillSdkText(template: string, settings: SdkSettings, values?: SdkTextValues): string;
158
+ /** Text settings whose value is a string. */
159
+ type SdkTextKey = {
160
+ [K in SdkSettingKey]: SdkSettings[K] extends string ? (K extends `text.${string}` | 'plan.name' | 'vet.name' | 'vet.title' ? K : never) : never;
161
+ }[SdkSettingKey];
162
+ /** A text setting, filled. */
163
+ declare function sdkText(config: SdkConfigV3, key: SdkTextKey, values?: SdkTextValues): string;
164
+ /** A fixed string, filled (word for word from the packet's `fixed_strings`). */
165
+ declare function sdkFixed(config: SdkConfigV3, id: SdkFixedStringId, values?: SdkTextValues): string;
166
+ /** True when the config is inside a partner (not Everfur's own app): the privacy lines then show. */
167
+ declare function isInsidePartner(settings: SdkSettings): boolean;
168
+ /**
169
+ * {them} for the gate line: the pet's object pronoun. The host's pet record carries a sex when it knows one;
170
+ * otherwise "them".
171
+ */
172
+ declare function objectPronoun(sex: string | null | undefined): string;
173
+
174
+ /** look.ask_icon's value for Everfur's own bubble icon (not a file). */
175
+ declare const EVERFUR_ASK_ICON = "everfur-ask";
176
+ /** look.font.files as the theme's font sources (one per weight a file carries). */
177
+ declare function fontSourcesOf(settings: SdkSettings): readonly EverfurFontSource[];
178
+ /** The family the chat thread draws in: look.font.chat, or the body family when it says "body". */
179
+ declare function chatFamily(settings: SdkSettings): string;
180
+ /** The family of small labels and dates: look.font.label, or the body family when it says "body". */
181
+ declare function labelFamily(settings: SdkSettings): string;
182
+ /** The theme slots a config paints: the tagged values on the live frames. */
183
+ declare function slotsOf(settings: SdkSettings): EverfurThemeSlots;
184
+ /** Every name `locked_fields` can carry for the theme, plus the whole presentation: v3 is server-wins throughout. */
185
+ declare const V3_LOCKED_FIELDS: readonly ThemeLockName[];
186
+ /** The config as the theme's server branding (every field locked). */
187
+ declare function sdkConfigBranding(config: SdkConfigV3): ClientBranding;
188
+
189
+ declare const SDK_CONFIG_PATH = "/widget/v1/sdk-config";
190
+ declare const SDK_CONFIG_SCHEMA_HEADER = "x-everfur-sdk-config-schema";
191
+ type SdkConfigResolution = {
192
+ readonly kind: 'updated';
193
+ readonly config: SdkConfigV3;
194
+ } | {
195
+ readonly kind: 'notModified';
196
+ } | {
197
+ readonly kind: 'notEnabled';
198
+ } | {
199
+ readonly kind: 'failed';
200
+ readonly error: EverfurError;
201
+ };
202
+ /** The request: the schema header always, the revision when we hold one. */
203
+ declare function sdkConfigRequest(cachedRevision?: number | null): EverfurRequest;
204
+ /** Fetch the config once through the funnel. */
205
+ declare function fetchSdkConfig(funnel: RequestFunnel, cachedRevision?: number | null): Promise<SdkConfigResolution>;
206
+
207
+ export { CONTRACT_ERROR_ROWS, ClientBranding, type ContractErrorEnvelope, type ContractErrorRow, type ContractWireErrorCode, DARK_VARIANT_GROUND, DARK_VARIANT_LIGHTNESS_CEILING, DARK_VARIANT_LIGHTNESS_FLOOR, DARK_VARIANT_LIGHTNESS_STEP, DARK_VARIANT_TARGET_RATIO, DOC_SITE_ORIGIN, EVERFUR_ASK_ICON, EverfurError, EverfurErrorCode, EverfurFontSource, EverfurRequest, EverfurTheme, EverfurThemeSlots, HIGH_CONTRAST_TARGET_RATIO, RequestFunnel, SDK_CONFIG_PATH, SDK_CONFIG_SCHEMA_HEADER, SDK_VERSION, type SdkConfigResolution, SdkConfigV3, SdkFixedStringId, SdkSettingKey, SdkSettings, type SdkTextKey, type SdkTextValues, ThemeLockName, V3_LOCKED_FIELDS, chatFamily, contractDocUrl, contractErrorFor, contrastRatio, deriveDarkVariant, deriveHighContrast, fetchSdkConfig, fillSdkText, fontSourcesOf, isInsidePartner, labelFamily, objectPronoun, parseColor, publishedDocUrl, readableOn, sdkConfigBranding, sdkConfigRequest, sdkFixed, sdkText, slotsOf };