@everfur/sdk 1.6.1 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (216) hide show
  1. package/dist/{Chat.d-B4GybUU4.d.ts → Chat.d-BIr_4AJt.d.ts} +1 -1
  2. package/dist/{Chat.d-DPM2ncxi.d.cts → Chat.d-BhevtXn9.d.cts} +1 -1
  3. package/dist/{DepthViews.d-BGspxovy.d.cts → DepthViews.d-C8KdfzwR.d.cts} +1 -1
  4. package/dist/{DepthViews.d-BaLh7Lsi.d.cts → DepthViews.d-DWQ-J208.d.cts} +1 -1
  5. package/dist/{DepthViews.d-BIHVrf9r.d.ts → DepthViews.d-DYVUq4Xk.d.ts} +1 -1
  6. package/dist/{DepthViews.d-CEVk9poG.d.ts → DepthViews.d-oKr9R0Ql.d.ts} +1 -1
  7. package/dist/{IntakeMedia.d-CwSkSLNM.d.ts → IntakeMedia.d-B-ZZK6vd.d.ts} +1 -1
  8. package/dist/{IntakeMedia.d-LRXO38_z.d.cts → IntakeMedia.d-CuVkzIsO.d.cts} +1 -1
  9. package/dist/{IntakeMedia.d-DmaeGU6T.d.cts → IntakeMedia.d-CyF6NPHx.d.cts} +1 -1
  10. package/dist/{IntakeMedia.d-Dyb9R8b0.d.ts → IntakeMedia.d-vU8g9OM5.d.ts} +1 -1
  11. package/dist/{RecordsPage.d-D10RIgdc.d.ts → RecordsPage.d-DU8Nswzh.d.ts} +1 -1
  12. package/dist/{RecordsPage.d-DbhYNSbq.d.cts → RecordsPage.d-DzPhqMHW.d.cts} +1 -1
  13. package/dist/animations/index.d.cts +3 -3
  14. package/dist/animations/index.d.ts +3 -3
  15. package/dist/{attachments.d-CF4lLuGK.d.cts → attachments.d-0nOPDIng.d.cts} +1 -1
  16. package/dist/{attachments.d-BlukNfIf.d.ts → attachments.d-BlyI-RCY.d.ts} +1 -1
  17. package/dist/{bookingCopy.d-Bn8bdo89.d.ts → bookingCopy.d-ClL8OxBS.d.ts} +3 -3
  18. package/dist/{bookingCopy.d-Dg7bPM-U.d.cts → bookingCopy.d-DUVqhF5f.d.cts} +3 -3
  19. package/dist/{branding.d-XrZYClN4.d.ts → branding.d-D0LV3aFE.d.ts} +1 -1
  20. package/dist/{branding.d-CqDLKj1U.d.cts → branding.d-DzSPLZKl.d.cts} +1 -1
  21. package/dist/{casesRepository.d-CVuKTkJo.d.cts → casesRepository.d-DnanKXJ1.d.cts} +1 -1
  22. package/dist/{casesRepository.d-Dn1fK1b2.d.ts → casesRepository.d-_4QucKVC.d.ts} +1 -1
  23. package/dist/chat/index.cjs +239 -238
  24. package/dist/chat/index.d.cts +11 -11
  25. package/dist/chat/index.d.ts +11 -11
  26. package/dist/chat/index.js +241 -240
  27. package/dist/chat/lite/index.cjs +239 -238
  28. package/dist/chat/lite/index.d.cts +11 -11
  29. package/dist/chat/lite/index.d.ts +11 -11
  30. package/dist/chat/lite/index.js +239 -238
  31. package/dist/{chatHandoffToken.d-zdp23Ukr.d.ts → chatHandoffToken.d-BoZGGbIB.d.ts} +5 -5
  32. package/dist/{chatHandoffToken.d-Cap2z62P.d.cts → chatHandoffToken.d-DhhGdLNH.d.cts} +5 -5
  33. package/dist/{checkin.d-CuIUahcd.d.cts → checkin.d-DB-HlK7r.d.cts} +9 -4
  34. package/dist/{checkin.d-BoZXWjxX.d.ts → checkin.d-DogrR06X.d.ts} +9 -4
  35. package/dist/{chunk-ZSCVH4UW.js → chunk-6E3J6IVM.js} +16 -16
  36. package/dist/{chunk-CQUKIPRU.js → chunk-J5ZUBY3S.js} +1 -1
  37. package/dist/{chunk-RF4N4WUN.js → chunk-LPHBCDJP.js} +18 -18
  38. package/dist/{chunk-DBQYQLJT.js → chunk-ULQDOC75.js} +1 -1
  39. package/dist/client/index.cjs +28 -27
  40. package/dist/client/index.d.cts +13 -13
  41. package/dist/client/index.d.ts +13 -13
  42. package/dist/client/index.js +25 -24
  43. package/dist/{clinicBatch.d-C0xx5L4j.d.cts → clinicBatch.d-BvPF6vXS.d.cts} +2 -2
  44. package/dist/{clinicBatch.d-DNi4UURs.d.ts → clinicBatch.d-CF0GIvpx.d.ts} +2 -2
  45. package/dist/{config.d-B7Z-KTGq.d.ts → config.d-Bc41Ax6M.d.ts} +5 -1
  46. package/dist/{config.d-ClAI2RZ6.d.cts → config.d-Bn6GEGfl.d.cts} +5 -1
  47. package/dist/consent/index.d.cts +5 -5
  48. package/dist/consent/index.d.ts +5 -5
  49. package/dist/{context.d-D7zX6Q0J.d.ts → context.d-0QfLaI3W.d.ts} +5 -5
  50. package/dist/{context.d-guaLkx5t.d.cts → context.d-CyQpedoU.d.cts} +5 -5
  51. package/dist/{copy.d--F5A9cXK.d.cts → copy.d-B55PpLxr.d.cts} +2 -2
  52. package/dist/{copy.d-DmxuFJFe.d.ts → copy.d-B8wIE6cH.d.ts} +2 -2
  53. package/dist/core/index.cjs +32 -31
  54. package/dist/core/index.d.cts +16 -16
  55. package/dist/core/index.d.ts +16 -16
  56. package/dist/core/index.js +32 -31
  57. package/dist/{depth.d-CgzYE6_n.d.ts → depth.d-CrtZXnLy.d.ts} +2 -2
  58. package/dist/{depth.d-DLaP0o8Y.d.cts → depth.d-Cxz6VisZ.d.cts} +2 -2
  59. package/dist/{entitlementRepository.d-CkUTlVAb.d.ts → entitlementRepository.d-BaZTIe1B.d.ts} +3 -3
  60. package/dist/{entitlementRepository.d-DVTp-BB9.d.cts → entitlementRepository.d-YeNG2TKI.d.cts} +3 -3
  61. package/dist/{focus.d-u-HYvim0.d.ts → focus.d-520VEHKB.d.ts} +1 -1
  62. package/dist/{focus.d-CLTjm6In.d.cts → focus.d-DoempN1I.d.cts} +1 -1
  63. package/dist/health-plan/index.cjs +236 -235
  64. package/dist/health-plan/index.d.cts +15 -15
  65. package/dist/health-plan/index.d.ts +15 -15
  66. package/dist/health-plan/index.js +236 -235
  67. package/dist/{healthPlanRepository.d-CwRXeoM7.d.ts → healthPlanRepository.d-BHu9LO0r.d.ts} +2 -2
  68. package/dist/{healthPlanRepository.d-B22kjrYa.d.cts → healthPlanRepository.d-tUR1f_5s.d.cts} +2 -2
  69. package/dist/{idempotency.d-DrxKLPPe.d.cts → idempotency.d-CcFLvzYW.d.cts} +1 -1
  70. package/dist/{idempotency.d-CbB07p64.d.ts → idempotency.d-CvqKG3Uq.d.ts} +1 -1
  71. package/dist/{identity.d-D4VtpqRr.d.ts → identity.d-Bex_XJZx.d.ts} +1 -1
  72. package/dist/{identity.d-DDpXOtas.d.cts → identity.d-Dm0Buvn8.d.cts} +1 -1
  73. package/dist/{inbox.d-B2JXK0uI.d.ts → inbox.d-9ajb0oiJ.d.ts} +1 -1
  74. package/dist/{inbox.d-CwA1ogzV.d.cts → inbox.d-CGCYOZIq.d.cts} +1 -1
  75. package/dist/index.cjs +362 -361
  76. package/dist/index.d.cts +17 -17
  77. package/dist/index.d.ts +17 -17
  78. package/dist/index.js +253 -252
  79. package/dist/{introEvents.d-DW3gLljE.d.ts → introEvents.d-CuVaufTy.d.ts} +1 -1
  80. package/dist/{introEvents.d-B7acmGwf.d.cts → introEvents.d-DU6feqx4.d.cts} +1 -1
  81. package/dist/{layout.d-C8y_ki1V.d.ts → layout.d-BQ5IVS-m.d.ts} +1 -1
  82. package/dist/{layout.d-DfaFM_lp.d.cts → layout.d-CSPr33BP.d.cts} +1 -1
  83. package/dist/notifications/inbox/index.d.cts +6 -6
  84. package/dist/notifications/inbox/index.d.ts +6 -6
  85. package/dist/notifications/index.d.cts +7 -7
  86. package/dist/notifications/index.d.ts +7 -7
  87. package/dist/{optInView.d-Cps7aLQN.d.ts → optInView.d-DpGXnpGw.d.ts} +21 -3
  88. package/dist/{optInView.d-ChJyJMBA.d.cts → optInView.d-dLjrI3co.d.cts} +21 -3
  89. package/dist/{pets.d-BpLObpfM.d.ts → pets.d-CHdSIoBf.d.ts} +1 -1
  90. package/dist/{pets.d-DXhzTNuI.d.cts → pets.d-jnhrJhqm.d.cts} +1 -1
  91. package/dist/{petsRepository.d-ai_tZ3lu.d.cts → petsRepository.d-BeKRiNao.d.cts} +1 -1
  92. package/dist/{petsRepository.d-_QfM7F6T.d.ts → petsRepository.d-BjwB1vku.d.ts} +1 -1
  93. package/dist/{presentation.d-BkIvMtIl.d.cts → presentation.d-Br3TnwA6.d.cts} +17 -1
  94. package/dist/{presentation.d-BkIvMtIl.d.ts → presentation.d-Br3TnwA6.d.ts} +17 -1
  95. package/dist/records/depth/index.d.cts +9 -9
  96. package/dist/records/depth/index.d.ts +9 -9
  97. package/dist/records/index.cjs +237 -228
  98. package/dist/records/index.d.cts +39 -12
  99. package/dist/records/index.d.ts +39 -12
  100. package/dist/records/index.js +155 -146
  101. package/dist/{requestFunnel.d-DKBPTpsy.d.ts → requestFunnel.d-C_NMgz9R.d.ts} +2 -2
  102. package/dist/{requestFunnel.d-BwZDfWVD.d.cts → requestFunnel.d-DoJWLySc.d.cts} +2 -2
  103. package/dist/{route.d-QBCoO62z.d.cts → route.d-BW2abFVK.d.cts} +2 -2
  104. package/dist/{route.d-B3u14HJT.d.ts → route.d-Olr_gXaa.d.ts} +2 -2
  105. package/dist/{runtimeTypes.d-hjN6xvxm.d.ts → runtimeTypes.d-Bp2VW6YE.d.ts} +6 -6
  106. package/dist/{runtimeTypes.d-BSxuUCOX.d.cts → runtimeTypes.d-StvJY45N.d.cts} +6 -6
  107. package/dist/{screenProps.d-fHBKArt_.d.ts → screenProps.d-BTLSji0N.d.ts} +1 -1
  108. package/dist/{screenProps.d-6xmE1C-V.d.cts → screenProps.d-B_5Bh7aQ.d.cts} +1 -1
  109. package/dist/server/events/index.cjs +2 -2
  110. package/dist/server/events/index.d.cts +19 -5
  111. package/dist/server/events/index.d.ts +19 -5
  112. package/dist/server/events/index.js +2 -2
  113. package/dist/server/index.cjs +1 -1
  114. package/dist/server/index.d.cts +3 -3
  115. package/dist/server/index.d.ts +3 -3
  116. package/dist/server/index.js +1 -1
  117. package/dist/shop/index.d.cts +3 -3
  118. package/dist/shop/index.d.ts +3 -3
  119. package/dist/slots/index.cjs +200 -199
  120. package/dist/slots/index.d.cts +5 -5
  121. package/dist/slots/index.d.ts +5 -5
  122. package/dist/slots/index.js +200 -199
  123. package/dist/tabs/index.cjs +200 -190
  124. package/dist/tabs/index.d.cts +68 -11
  125. package/dist/tabs/index.d.ts +68 -11
  126. package/dist/tabs/index.js +201 -191
  127. package/dist/tabs-bar/index.cjs +247 -0
  128. package/dist/tabs-bar/index.d.cts +10 -0
  129. package/dist/tabs-bar/index.d.ts +10 -0
  130. package/dist/tabs-bar/index.js +247 -0
  131. package/dist/{tabsModel.d-D9GWPFrL.d.ts → tabsModel.d-B4MSQB57.d.cts} +5 -2
  132. package/dist/{tabsModel.d-D9GWPFrL.d.cts → tabsModel.d-C8pd-DP3.d.ts} +5 -2
  133. package/dist/televet/booking/index.cjs +147 -145
  134. package/dist/televet/booking/index.d.cts +10 -10
  135. package/dist/televet/booking/index.d.ts +10 -10
  136. package/dist/televet/booking/index.js +163 -161
  137. package/dist/televet/call/index.cjs +52 -52
  138. package/dist/televet/call/index.d.cts +5 -0
  139. package/dist/televet/call/index.d.ts +5 -0
  140. package/dist/televet/call/index.js +25 -25
  141. package/dist/televet/index.d.cts +3 -3
  142. package/dist/televet/index.d.ts +3 -3
  143. package/dist/{televetGlobal.d-gZrXPaLl.d.cts → televetGlobal.d-B_I_fy7O.d.cts} +9 -0
  144. package/dist/{televetGlobal.d-DkJkV55Y.d.ts → televetGlobal.d-DN7o45WJ.d.ts} +9 -0
  145. package/dist/testing/index.cjs +3 -3
  146. package/dist/testing/index.d.cts +1 -1
  147. package/dist/testing/index.d.ts +1 -1
  148. package/dist/testing/index.js +3 -3
  149. package/dist/testing/rn/index.d.cts +9 -9
  150. package/dist/testing/rn/index.d.ts +9 -9
  151. package/dist/testing/web/index.d.cts +9 -9
  152. package/dist/testing/web/index.d.ts +9 -9
  153. package/dist/texting/index.cjs +32 -27
  154. package/dist/texting/index.d.cts +5 -5
  155. package/dist/texting/index.d.ts +5 -5
  156. package/dist/texting/index.js +52 -47
  157. package/dist/{threadOptions.d-NSlFx-Lp.d.ts → threadOptions.d-D_3hk79R.d.ts} +5 -5
  158. package/dist/{threadOptions.d-Dc57dm7h.d.cts → threadOptions.d-D_GU6lp9.d.cts} +5 -5
  159. package/dist/{timelineRows.d-CthNM5hV.d.ts → timelineRows.d-BbVuARtc.d.ts} +1 -1
  160. package/dist/{timelineRows.d-7w8NsNi4.d.cts → timelineRows.d-BiLAAbYl.d.cts} +1 -1
  161. package/dist/{typeStyle.d-8mcLhtbH.d.ts → typeStyle.d-DSk99BuZ.d.ts} +1 -1
  162. package/dist/{typeStyle.d-CLrQZW-r.d.cts → typeStyle.d-DqR6mWCF.d.cts} +1 -1
  163. package/dist/{useHealthPlanSubscription.d-CV7M21HS.d.ts → useHealthPlanSubscription.d-CpE6l1VW.d.ts} +3 -3
  164. package/dist/{useHealthPlanSubscription.d-SA9-SuKe.d.cts → useHealthPlanSubscription.d-DRiWDJXq.d.cts} +3 -3
  165. package/dist/{useInboxUnread.d-0DrQPn7J.d.ts → useInboxUnread.d-BV7PkWDH.d.ts} +1 -1
  166. package/dist/{useInboxUnread.d-CRcOTkmu.d.cts → useInboxUnread.d-CElyXBkY.d.cts} +1 -1
  167. package/dist/{usePresentation.d-BJzFicRQ.d.cts → usePresentation.d-BcazazQH.d.cts} +3 -3
  168. package/dist/{usePresentation.d-DgSGIWS-.d.ts → usePresentation.d-CMOypLlH.d.ts} +3 -3
  169. package/dist/{useRecordsDepth.d-ZX2rhcUx.d.ts → useRecordsDepth.d-Bka4KQhq.d.ts} +1 -1
  170. package/dist/{useRecordsDepth.d-C9W45gwS.d.cts → useRecordsDepth.d-TgmpxKdX.d.cts} +1 -1
  171. package/dist/{useUnread.d-4SbFChbd.d.ts → useUnread.d-CGqaP-dB.d.ts} +27 -5
  172. package/dist/{useUnread.d-B0YhhR_D.d.cts → useUnread.d-DVVnYNPU.d.cts} +27 -5
  173. package/dist/{view.d-3lxzyJlL.d.cts → view.d-CwruYhQy.d.cts} +3 -3
  174. package/dist/{view.d-DRiYNQJ8.d.ts → view.d-DamH8TQF.d.ts} +3 -3
  175. package/dist/web/consent/index.d.cts +5 -5
  176. package/dist/web/consent/index.d.ts +5 -5
  177. package/dist/web/health-plan/index.cjs +9 -8
  178. package/dist/web/health-plan/index.d.cts +16 -16
  179. package/dist/web/health-plan/index.d.ts +16 -16
  180. package/dist/web/health-plan/index.js +49 -48
  181. package/dist/web/inbox/index.d.cts +7 -7
  182. package/dist/web/inbox/index.d.ts +7 -7
  183. package/dist/web/index.cjs +185 -184
  184. package/dist/web/index.d.cts +32 -32
  185. package/dist/web/index.d.ts +32 -32
  186. package/dist/web/index.js +179 -178
  187. package/dist/web/intro/index.d.cts +7 -7
  188. package/dist/web/intro/index.d.ts +7 -7
  189. package/dist/web/notifications/index.d.cts +6 -6
  190. package/dist/web/notifications/index.d.ts +6 -6
  191. package/dist/web/records/depth/index.d.cts +9 -9
  192. package/dist/web/records/depth/index.d.ts +9 -9
  193. package/dist/web/records/index.d.cts +11 -11
  194. package/dist/web/records/index.d.ts +11 -11
  195. package/dist/web/records-sheet/index.cjs +111 -110
  196. package/dist/web/records-sheet/index.js +111 -110
  197. package/dist/web/shop/index.cjs +1 -1
  198. package/dist/web/shop/index.d.cts +3 -3
  199. package/dist/web/shop/index.d.ts +3 -3
  200. package/dist/web/shop/index.js +1 -1
  201. package/dist/web/televet/booking/index.cjs +3 -3
  202. package/dist/web/televet/booking/index.d.cts +10 -10
  203. package/dist/web/televet/booking/index.d.ts +10 -10
  204. package/dist/web/televet/booking/index.js +69 -69
  205. package/dist/web/televet/call/index.cjs +1 -1
  206. package/dist/web/televet/call/index.js +1 -1
  207. package/dist/web/televet/index.d.cts +3 -3
  208. package/dist/web/televet/index.d.ts +3 -3
  209. package/dist/web/texting/index.cjs +34 -29
  210. package/dist/web/texting/index.d.cts +5 -5
  211. package/dist/web/texting/index.d.ts +5 -5
  212. package/dist/web/texting/index.js +45 -40
  213. package/dist/web/ui/index.cjs +1 -1
  214. package/dist/web/ui/index.js +41 -41
  215. package/package.json +16 -1
  216. package/tabs-bar/package.json +8 -0
@@ -1,13 +1,13 @@
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
2
  import{z as e}from"zod";var t="/widget/v1/anon-identity";function ok(e,t){/* @__PURE__ */
3
3
  return Object.freeze({ok:true,value:e})}function err(e){/* @__PURE__ */
4
- return Object.freeze({ok:false,error:e})}var r=class _EverfurConfigError extends Error{constructor(e,t){super(t),this.name="EverfurConfigError",this.kind=e,Object.setPrototypeOf(this,_EverfurConfigError.prototype)}};var n=["DELETE /widget/v1/me","DELETE /widget/v1/me/devices/{device_id}","POST /widget/v1/me/devices","PUT /widget/v1/me/notification-preferences","GET /widget/v1/inbox","GET /widget/v1/inbox/{item_id}","POST /widget/v1/inbox/read","GET /widget/v1/inbox/unread-count","GET /widget/v1/notifications/web-push/config","POST /widget/v1/notifications/web-push/subscriptions","DELETE /widget/v1/notifications/web-push/subscriptions/{subscription_id}","DELETE /widget/v1/me/sms-identity","GET /widget/v1/me/sms-identity","POST /widget/v1/me/sms-identity/verification","POST /widget/v1/me/sms-identity/verification/confirm","PUT /widget/v1/me/sms-identity/selected-pet","GET /widget/v1/pets/{pet_ref}/plan","PUT /widget/v1/pets/{pet_ref}/plan/items/{product_id}","DELETE /widget/v1/pets/{pet_ref}/plan/items/{product_id}","GET /widget/v1/me/intro","PUT /widget/v1/me/intro","PUT /widget/v1/me/timezone","GET /widget/v1/pets/{pet_ref}/plan/page","POST /widget/v1/pets/{pet_ref}/plan/events","POST /widget/v1/pets/{pet_ref}/plan/checkout","GET /widget/v1/pets/{pet_ref}/plan/checkout/{checkout_id}","GET /widget/v1/pets/{pet_ref}/plan/subscriptions","POST /widget/v1/pets/{pet_ref}/plan/subscriptions","GET /widget/v1/pets/{pet_ref}/plan/subscriptions/quote","POST /widget/v1/pets/{pet_ref}/plan/subscriptions/offer","GET /widget/v1/pets/{pet_ref}/plan/subscriptions/one-box","POST /widget/v1/pets/{pet_ref}/plan/subscriptions/one-box","GET /widget/v1/pets/{pet_ref}/plan/subscriptions/{subscription_id}","PATCH /widget/v1/pets/{pet_ref}/plan/subscriptions/{subscription_id}","POST /widget/v1/pets/{pet_ref}/plan/subscriptions/{subscription_id}/skip","POST /widget/v1/pets/{pet_ref}/plan/subscriptions/{subscription_id}/cancel","POST /widget/v1/pets/{pet_ref}/plan/subscriptions/{subscription_id}/restart","POST /widget/v1/sessions/revoke","POST /widget/v1/identity/{provider}/session","POST /widget/v1/pets/{pet_ref}/restore","GET /widget/v1/pets/{pet_ref}/card","GET /widget/v1/pets/{pet_ref}/state","GET /widget/v1/diagnostics","GET /widget/v1/records/clinics/{clinic_id}/vets/suggest","PUT /widget/v1/records/clinics/{clinic_id}/vets","GET /widget/v1/records/pets/{pet_ref}/record_mismatches","DELETE /widget/v1/pets/{pet_ref}","DELETE /widget/v1/records/pets/{pet_ref}/consent","GET /widget/v1/consent","GET /widget/v1/conversations","GET /widget/v1/conversations/{conversation_id}/messages","GET /widget/v1/entitlements","GET /widget/v1/pets","GET /widget/v1/pets/{pet_ref}/cases","POST /widget/v1/pets/{pet_ref}/cases/{case_id}/checkin","POST /widget/v1/conversations/{conversation_id}/read","GET /widget/v1/pending-checkins","GET /widget/v1/records/authorization-copy","GET /widget/v1/records/clinics/search","GET /widget/v1/records/features","GET /widget/v1/records/clinics/recent","GET /widget/v1/records/pets/{pet_ref}/consent","GET /widget/v1/records/pets/{pet_ref}/documents/{doc_id}/contributions","GET /widget/v1/records/pets/{pet_ref}/record","GET /widget/v1/records/pets/{pet_ref}/timeline","GET /widget/v1/records/pets/{pet_ref}/markers","POST /widget/v1/records/pets/{pet_ref}/everfur_record/share","POST /widget/v1/records/pets/{pet_ref}/everfur_record/share/email","GET /widget/v1/records/pets/{pet_ref}/everfur_record/shares","DELETE /widget/v1/records/pets/{pet_ref}/everfur_record/shares/{share_id}","GET /widget/v1/records/pets/{pet_ref}/everfur_record/pdf-link","POST /widget/v1/records/pets/{pet_ref}/everfur_record/facts/edit","POST /widget/v1/records/pets/{pet_ref}/everfur_record/facts/remove","GET /widget/v1/records/authorization-signatures","GET /widget/v1/records/request-groups/{request_group_id}","GET /widget/v1/records/requests","GET /widget/v1/records/requests/{request_id}","GET /widget/v1/records/requests/{request_id}/documents","GET /widget/v1/suggested-prompts","PATCH /widget/v1/pets/{pet_ref}","POST /widget/v1/anon-identity","POST /widget/v1/conversations","POST /widget/v1/conversations/{conversation_id}/analyze","POST /widget/v1/conversations/{conversation_id}/classify","POST /widget/v1/conversations/{conversation_id}/messages","POST /widget/v1/messages/{message_id}/feedback","POST /widget/v1/uploads/initiate","POST /widget/v1/pets/{pet_ref}","POST /widget/v1/records/clinic-requests","POST /widget/v1/records/clinic-requests/batch","POST /widget/v1/records/requests","POST /widget/v1/records/requests/{request_id}/clinic-email","POST /widget/v1/records/requests/{request_id}/convert-to-upload","POST /widget/v1/records/requests/{request_id}/retry","POST /widget/v1/records/requests/{request_id}/revoke","POST /widget/v1/records/requests/{request_id}/uploads/complete","POST /widget/v1/records/requests/{request_id}/uploads/initiate","POST /widget/v1/records/sandbox/requests/{request_id}/clinic-reply","POST /widget/v1/records/sandbox/requests/{request_id}/publish-sample","POST /widget/v1/records/signatures/complete","POST /widget/v1/records/signatures/initiate","POST /widget/v1/sessions","POST /widget/v1/televet/handoffs","POST /widget/v1/televet/availability","GET /widget/v1/televet/chat-entry","POST /widget/v1/televet/sandbox/visits","POST /widget/v1/televet/sandbox/visits/{visit_ref}/advance","POST /widget/v1/televet/sandbox/visits/{visit_ref}/simulate","GET /widget/v1/televet/state-policy/{state}","GET /widget/v1/televet/vets","GET /widget/v1/televet/slots","GET /widget/v1/televet/slots/next","POST /widget/v1/televet/slots/{slot_id}/hold","DELETE /widget/v1/televet/slots/{slot_id}/hold","GET /widget/v1/televet/entitlement","GET /widget/v1/televet/cancellation-policy","POST /widget/v1/televet/consults","GET /widget/v1/televet/consults","GET /widget/v1/televet/consults/{consult_id}","POST /widget/v1/televet/consults/{consult_id}/join","POST /widget/v1/televet/consults/{consult_id}/cancel","POST /widget/v1/televet/consults/{consult_id}/reschedule","POST /widget/v1/televet/attachments/initiate","GET /widget/v1/televet/messages/threads","GET /widget/v1/televet/messages/threads/{pet_ref}/messages","POST /widget/v1/televet/messages/threads/{pet_ref}/messages","PUT /widget/v1/televet/messages/threads/{pet_ref}/read","GET /widget/v1/televet/consults/{consult_id}/summary","GET /widget/v1/pets/{pet_ref}/profile","GET /widget/v1/embed-config","PUT /widget/v1/consent","PUT /widget/v1/records/pets/{pet_ref}/consent","GET /widget/v1/records/consent","PUT /widget/v1/records/consent","DELETE /widget/v1/records/consent","POST /widget/v1/televet/consults/triage"],i=["POST /widget/v1/photo/precheck","POST /widget/v1/photo/analyze","POST /widget/v1/video/analyze","GET /widget/v1/analysis/jobs/{job_id}","POST /widget/v1/televet/state-interest"];function a(e,t){let r=e.split("/"),[n=""]=t.split("?"),i=n.split("/");return r.length!==i.length?false:r.every((e,t)=>{let r=i[t];return r===void 0?false:e.startsWith("{")&&e.endsWith("}")?r.length>0:e===r})}function o(e,t){let r=r=>r.some(r=>{let[n,i]=r.split(" ");return n===void 0||i===void 0?false:n===e.toUpperCase()&&a(i,t)});return r(n)?"known":r(i)?"absent":"unknown"}var l=[{wireCode:"AccessDeniedException",envelope:"http_envelope",httpStatus:403,retryable:false},{wireCode:"AuthorizationException",envelope:"http_envelope",httpStatus:401,retryable:false},{wireCode:"ConflictException",envelope:"http_envelope",httpStatus:409,retryable:true},{wireCode:"DAILY_QUOTA_EXCEEDED",envelope:"http_envelope",httpStatus:429,retryable:true},{wireCode:"FILE_TOO_LARGE",envelope:"http_envelope",httpStatus:400,retryable:false},{wireCode:"IDEMPOTENCY_KEY_IN_FLIGHT",envelope:"http_envelope",httpStatus:409,retryable:true},{wireCode:"IDEMPOTENCY_KEY_REUSED_DIFFERENT_REQUEST",envelope:"http_envelope",httpStatus:409,retryable:false},{wireCode:"INVALID_CONTENT_TYPE",envelope:"http_envelope",httpStatus:400,retryable:false},{wireCode:"InternalFailureException",envelope:"http_envelope",httpStatus:500,retryable:true},{wireCode:"MethodNotAllowedException",envelope:"http_envelope",httpStatus:405,retryable:false},{wireCode:"NotImplementedException",envelope:"http_envelope",httpStatus:501,retryable:false},{wireCode:"PaymentRequiredException",envelope:"http_envelope",httpStatus:402,retryable:false},{wireCode:"ResourceNotFoundException",envelope:"http_envelope",httpStatus:404,retryable:false},{wireCode:"ServiceUnavailableException",envelope:"http_envelope",httpStatus:503,retryable:true},{wireCode:"TIER_UPGRADE_REQUIRED",envelope:"http_envelope",httpStatus:402,retryable:false},{wireCode:"ThrottlingException",envelope:"http_envelope",httpStatus:429,retryable:true},{wireCode:"ValidationException",envelope:"http_envelope",httpStatus:400,retryable:false},{wireCode:"accessDenied",envelope:"http_envelope",httpStatus:403,retryable:false},{wireCode:"access_denied",envelope:"oauth_error",httpStatus:302,retryable:false},{wireCode:"anchor_not_found",envelope:"http_envelope",httpStatus:404,retryable:false},{wireCode:"anchor_ref_invalid",envelope:"http_envelope",httpStatus:422,retryable:false},{wireCode:"anonTokenInvalid",envelope:"http_envelope",httpStatus:401,retryable:false},{wireCode:"attachment_unreadable",envelope:"http_envelope",httpStatus:400,retryable:false},{wireCode:"authExpired",envelope:"http_envelope",httpStatus:401,retryable:true},{wireCode:"authRejected",envelope:"http_envelope",httpStatus:401,retryable:false},{wireCode:"before_invalid",envelope:"http_envelope",httpStatus:422,retryable:false},{wireCode:"bundle_mismatch",envelope:"http_envelope",httpStatus:422,retryable:false},{wireCode:"bundle_not_uploaded",envelope:"http_envelope",httpStatus:422,retryable:false},{wireCode:"bundles_unavailable",envelope:"http_envelope",httpStatus:503,retryable:true},{wireCode:"catalog_empty_refused",envelope:"http_envelope",httpStatus:409,retryable:false},{wireCode:"catalog_shrink_refused",envelope:"http_envelope",httpStatus:409,retryable:false},{wireCode:"consent_invalid",envelope:"http_envelope",httpStatus:422,retryable:false},{wireCode:"consent_required",envelope:"http_envelope",httpStatus:422,retryable:false},{wireCode:"consent_scope_wrong_route",envelope:"http_envelope",httpStatus:400,retryable:false},{wireCode:"device_cipher_unavailable",envelope:"http_envelope",httpStatus:503,retryable:true},{wireCode:"email_invalid",envelope:"http_envelope",httpStatus:422,retryable:false},{wireCode:"endpoint_not_allowed",envelope:"http_envelope",httpStatus:422,retryable:false},{wireCode:"environment_mismatch",envelope:"http_envelope",httpStatus:422,retryable:false},{wireCode:"event_cursor_invalid",envelope:"http_envelope",httpStatus:400,retryable:false},{wireCode:"event_filter_invalid",envelope:"http_envelope",httpStatus:400,retryable:false},{wireCode:"event_id_invalid",envelope:"http_envelope",httpStatus:422,retryable:false},{wireCode:"event_payload_invalid",envelope:"http_envelope",httpStatus:400,retryable:false},{wireCode:"event_type_not_available",envelope:"http_envelope",httpStatus:400,retryable:false},{wireCode:"event_type_unknown",envelope:"http_envelope",httpStatus:400,retryable:false},{wireCode:"idempotency_key_invalid",envelope:"http_envelope",httpStatus:400,retryable:false},{wireCode:"idempotency_key_required",envelope:"http_envelope",httpStatus:400,retryable:false},{wireCode:"idempotency_key_reused",envelope:"http_envelope",httpStatus:409,retryable:false},{wireCode:"inbox_cursor_invalid",envelope:"http_envelope",httpStatus:422,retryable:false},{wireCode:"insufficientCapability",envelope:"http_envelope",httpStatus:403,retryable:false},{wireCode:"insufficient_scope",envelope:"http_envelope",httpStatus:403,retryable:false},{wireCode:"internal_error",envelope:"sse_frame",httpStatus:200,retryable:false},{wireCode:"invalidRequest",envelope:"http_envelope",httpStatus:400,retryable:false},{wireCode:"invalid_client",envelope:"oauth_error",httpStatus:401,retryable:false},{wireCode:"invalid_client_metadata",envelope:"oauth_error",httpStatus:400,retryable:false},{wireCode:"invalid_grant",envelope:"oauth_error",httpStatus:400,retryable:false},{wireCode:"invalid_redirect_uri",envelope:"oauth_error",httpStatus:400,retryable:false},{wireCode:"invalid_request",envelope:"oauth_error",httpStatus:400,retryable:false},{wireCode:"invalid_scope",envelope:"oauth_error",httpStatus:400,retryable:false},{wireCode:"invalid_target",envelope:"oauth_error",httpStatus:400,retryable:false},{wireCode:"item_id_invalid",envelope:"http_envelope",httpStatus:422,retryable:false},{wireCode:"linked_account_read_only",envelope:"http_envelope",httpStatus:409,retryable:false},{wireCode:"mcp_connection_not_found",envelope:"http_envelope",httpStatus:404,retryable:false},{wireCode:"mcp_request_conflict",envelope:"http_envelope",httpStatus:409,retryable:false},{wireCode:"mcp_request_gone",envelope:"http_envelope",httpStatus:410,retryable:false},{wireCode:"mcp_request_not_found",envelope:"http_envelope",httpStatus:404,retryable:false},{wireCode:"not_found",envelope:"sse_frame",httpStatus:200,retryable:false},{wireCode:"not_found",envelope:"http_envelope",httpStatus:404,retryable:false},{wireCode:"open_url_not_allowed",envelope:"http_envelope",httpStatus:422,retryable:false},{wireCode:"partner_visit_link_conflict",envelope:"http_envelope",httpStatus:409,retryable:false},{wireCode:"partner_visit_owner_only",envelope:"http_envelope",httpStatus:403,retryable:false},{wireCode:"partner_visit_pet_already_mapped",envelope:"http_envelope",httpStatus:409,retryable:false},{wireCode:"payload_too_large",envelope:"http_envelope",httpStatus:413,retryable:false},{wireCode:"petRefInUse",envelope:"http_envelope",httpStatus:409,retryable:false},{wireCode:"pet_health_list_removals_unconfirmed",envelope:"http_envelope",httpStatus:422,retryable:false},{wireCode:"pet_health_species_unsupported",envelope:"http_envelope",httpStatus:422,retryable:false},{wireCode:"pet_not_registered",envelope:"http_envelope",httpStatus:404,retryable:false},{wireCode:"provider_unsupported",envelope:"http_envelope",httpStatus:422,retryable:false},{wireCode:"rateLimited",envelope:"http_envelope",httpStatus:429,retryable:true},{wireCode:"read_target_invalid",envelope:"http_envelope",httpStatus:422,retryable:false},{wireCode:"record_species_unsupported",envelope:"http_envelope",httpStatus:422,retryable:false},{wireCode:"record_subject_not_found",envelope:"http_envelope",httpStatus:404,retryable:false},{wireCode:"record_upload_invalid",envelope:"http_envelope",httpStatus:400,retryable:false},{wireCode:"records_consent_required",envelope:"http_envelope",httpStatus:409,retryable:false},{wireCode:"restricted_key",envelope:"http_envelope",httpStatus:403,retryable:false},{wireCode:"sandbox_only",envelope:"http_envelope",httpStatus:403,retryable:false},{wireCode:"session_required",envelope:"http_envelope",httpStatus:403,retryable:false},{wireCode:"session_revoked",envelope:"http_envelope",httpStatus:401,retryable:false},{wireCode:"share_limit_reached",envelope:"http_envelope",httpStatus:429,retryable:false},{wireCode:"slow_down",envelope:"oauth_error",httpStatus:429,retryable:true},{wireCode:"species_unsupported",envelope:"http_envelope",httpStatus:422,retryable:false},{wireCode:"subscription_keys_invalid",envelope:"http_envelope",httpStatus:422,retryable:false},{wireCode:"tenant_filter_invalid",envelope:"http_envelope",httpStatus:400,retryable:false},{wireCode:"tenant_has_no_capabilities",envelope:"http_envelope",httpStatus:409,retryable:false},{wireCode:"tenant_resource_not_found",envelope:"http_envelope",httpStatus:404,retryable:false},{wireCode:"tenant_surface_not_enabled",envelope:"http_envelope",httpStatus:409,retryable:false},{wireCode:"ticket_not_resolved",envelope:"http_envelope",httpStatus:409,retryable:false},{wireCode:"tickets_disabled",envelope:"http_envelope",httpStatus:404,retryable:false},{wireCode:"timeout",envelope:"sse_frame",httpStatus:200,retryable:true},{wireCode:"timezone_invalid",envelope:"http_envelope",httpStatus:422,retryable:false},{wireCode:"token_invalid",envelope:"http_envelope",httpStatus:422,retryable:false},{wireCode:"unavailable",envelope:"sse_frame",httpStatus:200,retryable:true},{wireCode:"unavailable",envelope:"http_envelope",httpStatus:503,retryable:true},{wireCode:"unrestrictedKeyRequired",envelope:"http_envelope",httpStatus:403,retryable:false},{wireCode:"unsupported_grant_type",envelope:"oauth_error",httpStatus:400,retryable:false},{wireCode:"unsupported_response_type",envelope:"oauth_error",httpStatus:302,retryable:false},{wireCode:"user_ref_invalid",envelope:"http_envelope",httpStatus:400,retryable:false},{wireCode:"verify_mint_rate_limited",envelope:"http_envelope",httpStatus:429,retryable:true},{wireCode:"verify_mint_refused",envelope:"http_envelope",httpStatus:403,retryable:false},{wireCode:"verify_mint_unavailable",envelope:"http_envelope",httpStatus:503,retryable:true},{wireCode:"verify_user_ref_invalid",envelope:"http_envelope",httpStatus:422,retryable:false},{wireCode:"web_push_unavailable",envelope:"http_envelope",httpStatus:503,retryable:true},{wireCode:"webhook_endpoint_update_empty",envelope:"http_envelope",httpStatus:400,retryable:false},{wireCode:"webhook_endpoint_update_invalid",envelope:"http_envelope",httpStatus:400,retryable:false},{wireCode:"webhook_url_rejected",envelope:"http_envelope",httpStatus:400,retryable:false}],s=/* @__PURE__ */Object.freeze(l.map(e=>/* @__PURE__ */Object.freeze(e)));/* @__PURE__ */Object.freeze(s.map(e=>e.wireCode));var d=/* @__PURE__ */Object.freeze({ValidationException:"validationFailed",AuthorizationException:"authRejected",PaymentRequiredException:"paymentRequired",AccessDeniedException:"accessDenied",ResourceNotFoundException:"resourceNotFound",ConflictException:"conflict",ThrottlingException:"rateLimited",InternalFailureException:"internalError",NotImplementedException:"notImplemented",ServiceUnavailableException:"serviceUnavailable",MethodNotAllowedException:"validationFailed",authExpired:"authExpired",unavailable:"serviceUnavailable",session_required:"sessionRequired",session_revoked:"authExpired",anonTokenInvalid:"authRejected",accessDenied:"accessDenied",invalidRequest:"sdkUpdateRequired",authRejected:"authRejected",rateLimited:"rateLimited",insufficientCapability:"accessDenied",unrestrictedKeyRequired:"accessDenied",user_ref_invalid:"validationFailed",event_cursor_invalid:"validationFailed",event_filter_invalid:"validationFailed",event_payload_invalid:"validationFailed",event_type_unknown:"validationFailed",idempotency_key_invalid:"validationFailed",idempotency_key_required:"validationFailed",idempotency_key_reused:"idempotencyConflict",payload_too_large:"validationFailed",webhook_url_rejected:"validationFailed",webhook_endpoint_update_empty:"validationFailed",webhook_endpoint_update_invalid:"validationFailed",event_type_not_available:"conflict",record_subject_not_found:"resourceNotFound",records_consent_required:"conflict",record_species_unsupported:"validationFailed",record_upload_invalid:"validationFailed",FILE_TOO_LARGE:"validationFailed",INVALID_CONTENT_TYPE:"validationFailed",attachment_unreadable:"validationFailed",provider_unsupported:"validationFailed",token_invalid:"validationFailed",device_cipher_unavailable:"serviceUnavailable",email_invalid:"validationFailed",consent_required:"validationFailed",consent_invalid:"validationFailed",consent_scope_wrong_route:"validationFailed",IDEMPOTENCY_KEY_IN_FLIGHT:"idempotencyInFlight",IDEMPOTENCY_KEY_REUSED_DIFFERENT_REQUEST:"idempotencyConflict",DAILY_QUOTA_EXCEEDED:"quotaExceeded",TIER_UPGRADE_REQUIRED:"paymentRequired",not_found:"conversationNotFound",timeout:"streamTimeout",internal_error:"internalError",invalid_request:"validationFailed",invalid_client:"authRejected",invalid_grant:"authRejected",unsupported_grant_type:"validationFailed",invalid_scope:"validationFailed",invalid_target:"validationFailed",invalid_redirect_uri:"validationFailed",invalid_client_metadata:"validationFailed",unsupported_response_type:"validationFailed",access_denied:"accessDenied",slow_down:"rateLimited",mcp_request_not_found:"resourceNotFound",mcp_request_gone:"resourceNotFound",mcp_connection_not_found:"resourceNotFound",mcp_request_conflict:"conflict",sandbox_only:"accessDenied",tenant_has_no_capabilities:"conflict",verify_mint_refused:"accessDenied",verify_mint_rate_limited:"rateLimited",verify_mint_unavailable:"serviceUnavailable",verify_user_ref_invalid:"validationFailed",insufficient_scope:"accessDenied",tenant_filter_invalid:"validationFailed",tenant_resource_not_found:"resourceNotFound",tenant_surface_not_enabled:"conflict",pet_health_species_unsupported:"validationFailed",pet_health_list_removals_unconfirmed:"validationFailed",petRefInUse:"conflict",share_limit_reached:"conflict",pet_not_registered:"resourceNotFound",species_unsupported:"validationFailed",partner_visit_owner_only:"accessDenied",partner_visit_link_conflict:"conflict",partner_visit_pet_already_mapped:"conflict",linked_account_read_only:"conflict",catalog_empty_refused:"conflict",catalog_shrink_refused:"conflict",endpoint_not_allowed:"validationFailed",event_id_invalid:"validationFailed",inbox_cursor_invalid:"validationFailed",item_id_invalid:"validationFailed",open_url_not_allowed:"validationFailed",read_target_invalid:"validationFailed",subscription_keys_invalid:"validationFailed",web_push_unavailable:"serviceUnavailable",anchor_not_found:"resourceNotFound",anchor_ref_invalid:"validationFailed",before_invalid:"validationFailed",bundle_mismatch:"validationFailed",bundle_not_uploaded:"validationFailed",bundles_unavailable:"serviceUnavailable",environment_mismatch:"validationFailed",restricted_key:"accessDenied",ticket_not_resolved:"conflict",tickets_disabled:"resourceNotFound",timezone_invalid:"validationFailed"}),u=/* @__PURE__ */Object.freeze(s.map(e=>/* @__PURE__ */Object.freeze({wireCode:e.wireCode,envelope:e.envelope,retryable:e.retryable,normalized:d[e.wireCode]}))),p=new Map(u.map(e=>[e.envelope+e.wireCode.toUpperCase(),e])),c=/* @__PURE__ */Object.freeze(["http_envelope",...[...new Set(u.map(e=>e.envelope))].filter(e=>e!=="http_envelope").sort()]);function contractErrorFor(e,t){if(typeof e!="string")return;let r=e.trim().toUpperCase();if(r.length!==0)for(let e of[t??"http_envelope",...c]){let t=p.get(e+r);if(t)return t}}var v=/* @__PURE__ */Object.freeze({authExpired:"authentication",authRejected:"authentication",sessionRequired:"authentication",identitySignatureRequired:"authentication",accessDenied:"authorization",paymentRequired:"entitlement",quotaExceeded:"rateLimit",rateLimited:"rateLimit",validationFailed:"invalidRequest",sdkUpdateRequired:"invalidRequest",runtimeDisposed:"invalidRequest",conversationNotFound:"notFound",petNotFound:"notFound",resourceNotFound:"notFound",conflict:"conflict",idempotencyConflict:"conflict",idempotencyInFlight:"conflict",streamTimeout:"connection",streamIncomplete:"connection",upstreamLlmTimeout:"connection",serviceUnavailable:"connection",internalError:"server",notImplemented:"server",mediaUploadFailed:"media",moderationBlocked:"policy",unknown:"unknown"});function categoryFor(e){return v[e]}function fromWire(e){let t=contractErrorFor(e);if(t)return t.normalized;let r=(e??"").trim().toUpperCase(),n=r.replace(/[^A-Z0-9]/g,"");if(n==="AUTHREJECTED")return"authRejected";if(r.startsWith("AUTH"))return"authExpired";switch(n){case"DAILYQUOTAEXCEEDED":case"QUOTAEXCEEDED":return"quotaExceeded";case"RATELIMITED":case"TOOMANYREQUESTS":case"TELEVETRATELIMITED":return"rateLimited";case"IDEMPOTENCYKEYCONFLICT":case"IDEMPOTENCYCONFLICT":return"idempotencyConflict";case"ACCESSDENIED":case"FORBIDDEN":return"accessDenied";case"IDENTITYSIGNATUREREQUIRED":return"identitySignatureRequired";case"FREECAPREACHED":return"paymentRequired";case"RUNTIMEDISPOSED":return"runtimeDisposed";case"NOTFOUND":case"CONVERSATIONNOTFOUND":return"conversationNotFound";case"PETNOTFOUND":return"petNotFound";case"TIMEOUT":case"STREAMTIMEOUT":return"streamTimeout";case"MEDIAUPLOADFAILED":case"UNRECOGNIZEDVIDEOFORMAT":case"FILETOOSMALL":return"mediaUploadFailed";case"MODERATIONBLOCKED":return"moderationBlocked";case"UPSTREAMLLMTIMEOUT":return"upstreamLlmTimeout";case"INTERNALERROR":case"INTERNALSERVERERROR":return"internalError";case"STREAMINCOMPLETE":case"CHATSTREAMINCOMPLETE":return"streamIncomplete";case"INVALIDANALYSISTYPE":case"INVALIDUPLOADPURPOSE":return"unknown";default:return"unknown"}}function fromHttpStatus(e){return e===401?"authExpired":e===403?"accessDenied":e===404?"conversationNotFound":e===409?"idempotencyConflict":e===421?"unknown":e===429?"rateLimited":e===400||e===422?"unknown":e>=500?"internalError":"unknown"}var f=/* @__PURE__ */new Set(["streamTimeout","rateLimited","internalError","upstreamLlmTimeout","streamIncomplete"]);function isAutoRetryable(e){return f.has(e)}var _=/* @__PURE__ */new Set(["serviceUnavailable","conflict","idempotencyInFlight"]);function isRetryableCode(e){return isAutoRetryable(e)||_.has(e)}function assertNever(e){throw new Error(`assertNever: unhandled discriminated-union member ${JSON.stringify(e)}`)}function acceptedFrame(e,t,r=null){/* @__PURE__ */
4
+ return Object.freeze({ok:false,error:e})}var r=class _EverfurConfigError extends Error{constructor(e,t){super(t),this.name="EverfurConfigError",this.kind=e,Object.setPrototypeOf(this,_EverfurConfigError.prototype)}};var n=["DELETE /widget/v1/me","DELETE /widget/v1/me/devices/{device_id}","POST /widget/v1/me/devices","PUT /widget/v1/me/notification-preferences","GET /widget/v1/inbox","GET /widget/v1/inbox/{item_id}","POST /widget/v1/inbox/read","GET /widget/v1/inbox/unread-count","GET /widget/v1/notifications/web-push/config","POST /widget/v1/notifications/web-push/subscriptions","DELETE /widget/v1/notifications/web-push/subscriptions/{subscription_id}","DELETE /widget/v1/me/sms-identity","GET /widget/v1/me/sms-identity","POST /widget/v1/me/sms-identity/confirm-number","POST /widget/v1/me/sms-identity/verification","POST /widget/v1/me/sms-identity/verification/confirm","PUT /widget/v1/me/sms-identity/selected-pet","GET /widget/v1/pets/{pet_ref}/plan","PUT /widget/v1/pets/{pet_ref}/plan/items/{product_id}","DELETE /widget/v1/pets/{pet_ref}/plan/items/{product_id}","GET /widget/v1/me/intro","PUT /widget/v1/me/intro","PUT /widget/v1/me/timezone","GET /widget/v1/pets/{pet_ref}/plan/page","POST /widget/v1/pets/{pet_ref}/plan/events","POST /widget/v1/pets/{pet_ref}/plan/checkout","GET /widget/v1/pets/{pet_ref}/plan/checkout/{checkout_id}","GET /widget/v1/pets/{pet_ref}/plan/subscriptions","POST /widget/v1/pets/{pet_ref}/plan/subscriptions","GET /widget/v1/pets/{pet_ref}/plan/subscriptions/quote","POST /widget/v1/pets/{pet_ref}/plan/subscriptions/offer","GET /widget/v1/pets/{pet_ref}/plan/subscriptions/one-box","POST /widget/v1/pets/{pet_ref}/plan/subscriptions/one-box","GET /widget/v1/pets/{pet_ref}/plan/subscriptions/{subscription_id}","PATCH /widget/v1/pets/{pet_ref}/plan/subscriptions/{subscription_id}","POST /widget/v1/pets/{pet_ref}/plan/subscriptions/{subscription_id}/skip","POST /widget/v1/pets/{pet_ref}/plan/subscriptions/{subscription_id}/cancel","POST /widget/v1/pets/{pet_ref}/plan/subscriptions/{subscription_id}/restart","POST /widget/v1/sessions/revoke","POST /widget/v1/identity/{provider}/session","POST /widget/v1/pets/{pet_ref}/restore","GET /widget/v1/pets/{pet_ref}/card","GET /widget/v1/pets/{pet_ref}/state","GET /widget/v1/diagnostics","GET /widget/v1/records/clinics/{clinic_id}/vets/suggest","PUT /widget/v1/records/clinics/{clinic_id}/vets","GET /widget/v1/records/pets/{pet_ref}/record_mismatches","DELETE /widget/v1/pets/{pet_ref}","DELETE /widget/v1/records/pets/{pet_ref}/consent","GET /widget/v1/consent","GET /widget/v1/conversations","GET /widget/v1/conversations/{conversation_id}/messages","GET /widget/v1/entitlements","GET /widget/v1/pets","GET /widget/v1/pets/{pet_ref}/cases","POST /widget/v1/pets/{pet_ref}/cases/{case_id}/checkin","POST /widget/v1/conversations/{conversation_id}/read","GET /widget/v1/pending-checkins","GET /widget/v1/records/authorization-copy","GET /widget/v1/records/clinics/search","GET /widget/v1/records/features","GET /widget/v1/records/clinics/recent","GET /widget/v1/records/pets/{pet_ref}/consent","GET /widget/v1/records/pets/{pet_ref}/documents/{doc_id}/contributions","GET /widget/v1/records/pets/{pet_ref}/record","GET /widget/v1/records/pets/{pet_ref}/timeline","GET /widget/v1/records/pets/{pet_ref}/markers","POST /widget/v1/records/pets/{pet_ref}/everfur_record/share","POST /widget/v1/records/pets/{pet_ref}/everfur_record/share/email","GET /widget/v1/records/pets/{pet_ref}/everfur_record/shares","DELETE /widget/v1/records/pets/{pet_ref}/everfur_record/shares/{share_id}","GET /widget/v1/records/pets/{pet_ref}/everfur_record/pdf-link","POST /widget/v1/records/pets/{pet_ref}/everfur_record/facts/edit","POST /widget/v1/records/pets/{pet_ref}/everfur_record/facts/remove","GET /widget/v1/records/authorization-signatures","GET /widget/v1/records/request-groups/{request_group_id}","GET /widget/v1/records/requests","GET /widget/v1/records/requests/{request_id}","GET /widget/v1/records/requests/{request_id}/documents","GET /widget/v1/suggested-prompts","PATCH /widget/v1/pets/{pet_ref}","POST /widget/v1/anon-identity","POST /widget/v1/conversations","POST /widget/v1/conversations/{conversation_id}/analyze","POST /widget/v1/conversations/{conversation_id}/classify","POST /widget/v1/conversations/{conversation_id}/messages","POST /widget/v1/messages/{message_id}/feedback","POST /widget/v1/uploads/initiate","POST /widget/v1/pets/{pet_ref}","POST /widget/v1/records/clinic-requests","POST /widget/v1/records/clinic-requests/batch","POST /widget/v1/records/requests","POST /widget/v1/records/requests/{request_id}/clinic-email","POST /widget/v1/records/requests/{request_id}/convert-to-upload","POST /widget/v1/records/requests/{request_id}/retry","POST /widget/v1/records/requests/{request_id}/revoke","POST /widget/v1/records/requests/{request_id}/uploads/complete","POST /widget/v1/records/requests/{request_id}/uploads/initiate","POST /widget/v1/records/sandbox/requests/{request_id}/clinic-reply","POST /widget/v1/records/sandbox/requests/{request_id}/publish-sample","POST /widget/v1/records/signatures/complete","POST /widget/v1/records/signatures/initiate","POST /widget/v1/sessions","POST /widget/v1/televet/handoffs","POST /widget/v1/televet/availability","GET /widget/v1/televet/chat-entry","POST /widget/v1/televet/sandbox/visits","POST /widget/v1/televet/sandbox/visits/{visit_ref}/advance","POST /widget/v1/televet/sandbox/visits/{visit_ref}/simulate","GET /widget/v1/televet/state-policy/{state}","GET /widget/v1/televet/vets","GET /widget/v1/televet/slots","GET /widget/v1/televet/slots/next","POST /widget/v1/televet/slots/{slot_id}/hold","DELETE /widget/v1/televet/slots/{slot_id}/hold","GET /widget/v1/televet/entitlement","GET /widget/v1/televet/cancellation-policy","POST /widget/v1/televet/consults","GET /widget/v1/televet/consults","GET /widget/v1/televet/consults/{consult_id}","POST /widget/v1/televet/consults/{consult_id}/join","POST /widget/v1/televet/consults/{consult_id}/cancel","POST /widget/v1/televet/consults/{consult_id}/reschedule","POST /widget/v1/televet/attachments/initiate","GET /widget/v1/televet/messages/threads","GET /widget/v1/televet/messages/threads/{pet_ref}/messages","POST /widget/v1/televet/messages/threads/{pet_ref}/messages","PUT /widget/v1/televet/messages/threads/{pet_ref}/read","GET /widget/v1/televet/consults/{consult_id}/summary","GET /widget/v1/pets/{pet_ref}/profile","GET /widget/v1/embed-config","PUT /widget/v1/consent","PUT /widget/v1/records/pets/{pet_ref}/consent","GET /widget/v1/records/consent","PUT /widget/v1/records/consent","DELETE /widget/v1/records/consent","POST /widget/v1/televet/consults/triage"],i=["POST /widget/v1/photo/precheck","POST /widget/v1/photo/analyze","POST /widget/v1/video/analyze","GET /widget/v1/analysis/jobs/{job_id}","POST /widget/v1/televet/state-interest"];function a(e,t){let r=e.split("/"),[n=""]=t.split("?"),i=n.split("/");return r.length!==i.length?false:r.every((e,t)=>{let r=i[t];return r===void 0?false:e.startsWith("{")&&e.endsWith("}")?r.length>0:e===r})}function o(e,t){let r=r=>r.some(r=>{let[n,i]=r.split(" ");return n===void 0||i===void 0?false:n===e.toUpperCase()&&a(i,t)});return r(n)?"known":r(i)?"absent":"unknown"}var l=[{wireCode:"AccessDeniedException",envelope:"http_envelope",httpStatus:403,retryable:false},{wireCode:"AuthorizationException",envelope:"http_envelope",httpStatus:401,retryable:false},{wireCode:"ConflictException",envelope:"http_envelope",httpStatus:409,retryable:true},{wireCode:"DAILY_QUOTA_EXCEEDED",envelope:"http_envelope",httpStatus:429,retryable:true},{wireCode:"FILE_TOO_LARGE",envelope:"http_envelope",httpStatus:400,retryable:false},{wireCode:"IDEMPOTENCY_KEY_IN_FLIGHT",envelope:"http_envelope",httpStatus:409,retryable:true},{wireCode:"IDEMPOTENCY_KEY_REUSED_DIFFERENT_REQUEST",envelope:"http_envelope",httpStatus:409,retryable:false},{wireCode:"INVALID_CONTENT_TYPE",envelope:"http_envelope",httpStatus:400,retryable:false},{wireCode:"InternalFailureException",envelope:"http_envelope",httpStatus:500,retryable:true},{wireCode:"MethodNotAllowedException",envelope:"http_envelope",httpStatus:405,retryable:false},{wireCode:"NotImplementedException",envelope:"http_envelope",httpStatus:501,retryable:false},{wireCode:"PaymentRequiredException",envelope:"http_envelope",httpStatus:402,retryable:false},{wireCode:"ResourceNotFoundException",envelope:"http_envelope",httpStatus:404,retryable:false},{wireCode:"ServiceUnavailableException",envelope:"http_envelope",httpStatus:503,retryable:true},{wireCode:"TIER_UPGRADE_REQUIRED",envelope:"http_envelope",httpStatus:402,retryable:false},{wireCode:"ThrottlingException",envelope:"http_envelope",httpStatus:429,retryable:true},{wireCode:"ValidationException",envelope:"http_envelope",httpStatus:400,retryable:false},{wireCode:"accessDenied",envelope:"http_envelope",httpStatus:403,retryable:false},{wireCode:"access_denied",envelope:"oauth_error",httpStatus:302,retryable:false},{wireCode:"anchor_not_found",envelope:"http_envelope",httpStatus:404,retryable:false},{wireCode:"anchor_ref_invalid",envelope:"http_envelope",httpStatus:422,retryable:false},{wireCode:"anonTokenInvalid",envelope:"http_envelope",httpStatus:401,retryable:false},{wireCode:"attachment_unreadable",envelope:"http_envelope",httpStatus:400,retryable:false},{wireCode:"authExpired",envelope:"http_envelope",httpStatus:401,retryable:true},{wireCode:"authRejected",envelope:"http_envelope",httpStatus:401,retryable:false},{wireCode:"before_invalid",envelope:"http_envelope",httpStatus:422,retryable:false},{wireCode:"bundle_mismatch",envelope:"http_envelope",httpStatus:422,retryable:false},{wireCode:"bundle_not_uploaded",envelope:"http_envelope",httpStatus:422,retryable:false},{wireCode:"bundles_unavailable",envelope:"http_envelope",httpStatus:503,retryable:true},{wireCode:"catalog_empty_refused",envelope:"http_envelope",httpStatus:409,retryable:false},{wireCode:"catalog_shrink_refused",envelope:"http_envelope",httpStatus:409,retryable:false},{wireCode:"consent_invalid",envelope:"http_envelope",httpStatus:422,retryable:false},{wireCode:"consent_required",envelope:"http_envelope",httpStatus:422,retryable:false},{wireCode:"consent_scope_wrong_route",envelope:"http_envelope",httpStatus:400,retryable:false},{wireCode:"device_cipher_unavailable",envelope:"http_envelope",httpStatus:503,retryable:true},{wireCode:"email_invalid",envelope:"http_envelope",httpStatus:422,retryable:false},{wireCode:"endpoint_not_allowed",envelope:"http_envelope",httpStatus:422,retryable:false},{wireCode:"environment_mismatch",envelope:"http_envelope",httpStatus:422,retryable:false},{wireCode:"event_cursor_invalid",envelope:"http_envelope",httpStatus:400,retryable:false},{wireCode:"event_filter_invalid",envelope:"http_envelope",httpStatus:400,retryable:false},{wireCode:"event_id_invalid",envelope:"http_envelope",httpStatus:422,retryable:false},{wireCode:"event_payload_invalid",envelope:"http_envelope",httpStatus:400,retryable:false},{wireCode:"event_type_not_available",envelope:"http_envelope",httpStatus:400,retryable:false},{wireCode:"event_type_unknown",envelope:"http_envelope",httpStatus:400,retryable:false},{wireCode:"idempotency_key_invalid",envelope:"http_envelope",httpStatus:400,retryable:false},{wireCode:"idempotency_key_required",envelope:"http_envelope",httpStatus:400,retryable:false},{wireCode:"idempotency_key_reused",envelope:"http_envelope",httpStatus:409,retryable:false},{wireCode:"inbox_cursor_invalid",envelope:"http_envelope",httpStatus:422,retryable:false},{wireCode:"insufficientCapability",envelope:"http_envelope",httpStatus:403,retryable:false},{wireCode:"insufficient_scope",envelope:"http_envelope",httpStatus:403,retryable:false},{wireCode:"internal_error",envelope:"sse_frame",httpStatus:200,retryable:false},{wireCode:"invalidRequest",envelope:"http_envelope",httpStatus:400,retryable:false},{wireCode:"invalid_client",envelope:"oauth_error",httpStatus:401,retryable:false},{wireCode:"invalid_client_metadata",envelope:"oauth_error",httpStatus:400,retryable:false},{wireCode:"invalid_grant",envelope:"oauth_error",httpStatus:400,retryable:false},{wireCode:"invalid_redirect_uri",envelope:"oauth_error",httpStatus:400,retryable:false},{wireCode:"invalid_request",envelope:"oauth_error",httpStatus:400,retryable:false},{wireCode:"invalid_scope",envelope:"oauth_error",httpStatus:400,retryable:false},{wireCode:"invalid_target",envelope:"oauth_error",httpStatus:400,retryable:false},{wireCode:"item_id_invalid",envelope:"http_envelope",httpStatus:422,retryable:false},{wireCode:"linked_account_read_only",envelope:"http_envelope",httpStatus:409,retryable:false},{wireCode:"mcp_connection_not_found",envelope:"http_envelope",httpStatus:404,retryable:false},{wireCode:"mcp_request_conflict",envelope:"http_envelope",httpStatus:409,retryable:false},{wireCode:"mcp_request_gone",envelope:"http_envelope",httpStatus:410,retryable:false},{wireCode:"mcp_request_not_found",envelope:"http_envelope",httpStatus:404,retryable:false},{wireCode:"not_found",envelope:"sse_frame",httpStatus:200,retryable:false},{wireCode:"not_found",envelope:"http_envelope",httpStatus:404,retryable:false},{wireCode:"open_url_not_allowed",envelope:"http_envelope",httpStatus:422,retryable:false},{wireCode:"partner_visit_link_conflict",envelope:"http_envelope",httpStatus:409,retryable:false},{wireCode:"partner_visit_owner_only",envelope:"http_envelope",httpStatus:403,retryable:false},{wireCode:"partner_visit_pet_already_mapped",envelope:"http_envelope",httpStatus:409,retryable:false},{wireCode:"payload_too_large",envelope:"http_envelope",httpStatus:413,retryable:false},{wireCode:"petRefInUse",envelope:"http_envelope",httpStatus:409,retryable:false},{wireCode:"pet_health_list_removals_unconfirmed",envelope:"http_envelope",httpStatus:422,retryable:false},{wireCode:"pet_health_species_unsupported",envelope:"http_envelope",httpStatus:422,retryable:false},{wireCode:"pet_not_registered",envelope:"http_envelope",httpStatus:404,retryable:false},{wireCode:"provider_unsupported",envelope:"http_envelope",httpStatus:422,retryable:false},{wireCode:"rateLimited",envelope:"http_envelope",httpStatus:429,retryable:true},{wireCode:"read_target_invalid",envelope:"http_envelope",httpStatus:422,retryable:false},{wireCode:"record_species_unsupported",envelope:"http_envelope",httpStatus:422,retryable:false},{wireCode:"record_subject_not_found",envelope:"http_envelope",httpStatus:404,retryable:false},{wireCode:"record_upload_invalid",envelope:"http_envelope",httpStatus:400,retryable:false},{wireCode:"records_consent_required",envelope:"http_envelope",httpStatus:409,retryable:false},{wireCode:"restricted_key",envelope:"http_envelope",httpStatus:403,retryable:false},{wireCode:"sandbox_only",envelope:"http_envelope",httpStatus:403,retryable:false},{wireCode:"session_required",envelope:"http_envelope",httpStatus:403,retryable:false},{wireCode:"session_revoked",envelope:"http_envelope",httpStatus:401,retryable:false},{wireCode:"share_limit_reached",envelope:"http_envelope",httpStatus:429,retryable:false},{wireCode:"slow_down",envelope:"oauth_error",httpStatus:429,retryable:true},{wireCode:"species_unsupported",envelope:"http_envelope",httpStatus:422,retryable:false},{wireCode:"subscription_keys_invalid",envelope:"http_envelope",httpStatus:422,retryable:false},{wireCode:"tenant_filter_invalid",envelope:"http_envelope",httpStatus:400,retryable:false},{wireCode:"tenant_has_no_capabilities",envelope:"http_envelope",httpStatus:409,retryable:false},{wireCode:"tenant_resource_not_found",envelope:"http_envelope",httpStatus:404,retryable:false},{wireCode:"tenant_surface_not_enabled",envelope:"http_envelope",httpStatus:409,retryable:false},{wireCode:"ticket_not_resolved",envelope:"http_envelope",httpStatus:409,retryable:false},{wireCode:"tickets_disabled",envelope:"http_envelope",httpStatus:404,retryable:false},{wireCode:"timeout",envelope:"sse_frame",httpStatus:200,retryable:true},{wireCode:"timezone_invalid",envelope:"http_envelope",httpStatus:422,retryable:false},{wireCode:"token_invalid",envelope:"http_envelope",httpStatus:422,retryable:false},{wireCode:"unavailable",envelope:"sse_frame",httpStatus:200,retryable:true},{wireCode:"unavailable",envelope:"http_envelope",httpStatus:503,retryable:true},{wireCode:"unrestrictedKeyRequired",envelope:"http_envelope",httpStatus:403,retryable:false},{wireCode:"unsupported_grant_type",envelope:"oauth_error",httpStatus:400,retryable:false},{wireCode:"unsupported_response_type",envelope:"oauth_error",httpStatus:302,retryable:false},{wireCode:"user_ref_invalid",envelope:"http_envelope",httpStatus:400,retryable:false},{wireCode:"verify_mint_rate_limited",envelope:"http_envelope",httpStatus:429,retryable:true},{wireCode:"verify_mint_refused",envelope:"http_envelope",httpStatus:403,retryable:false},{wireCode:"verify_mint_unavailable",envelope:"http_envelope",httpStatus:503,retryable:true},{wireCode:"verify_user_ref_invalid",envelope:"http_envelope",httpStatus:422,retryable:false},{wireCode:"web_push_unavailable",envelope:"http_envelope",httpStatus:503,retryable:true},{wireCode:"webhook_endpoint_update_empty",envelope:"http_envelope",httpStatus:400,retryable:false},{wireCode:"webhook_endpoint_update_invalid",envelope:"http_envelope",httpStatus:400,retryable:false},{wireCode:"webhook_url_rejected",envelope:"http_envelope",httpStatus:400,retryable:false}],s=/* @__PURE__ */Object.freeze(l.map(e=>/* @__PURE__ */Object.freeze(e)));/* @__PURE__ */Object.freeze(s.map(e=>e.wireCode));var d=/* @__PURE__ */Object.freeze({ValidationException:"validationFailed",AuthorizationException:"authRejected",PaymentRequiredException:"paymentRequired",AccessDeniedException:"accessDenied",ResourceNotFoundException:"resourceNotFound",ConflictException:"conflict",ThrottlingException:"rateLimited",InternalFailureException:"internalError",NotImplementedException:"notImplemented",ServiceUnavailableException:"serviceUnavailable",MethodNotAllowedException:"validationFailed",authExpired:"authExpired",unavailable:"serviceUnavailable",session_required:"sessionRequired",session_revoked:"authExpired",anonTokenInvalid:"authRejected",accessDenied:"accessDenied",invalidRequest:"sdkUpdateRequired",authRejected:"authRejected",rateLimited:"rateLimited",insufficientCapability:"accessDenied",unrestrictedKeyRequired:"accessDenied",user_ref_invalid:"validationFailed",event_cursor_invalid:"validationFailed",event_filter_invalid:"validationFailed",event_payload_invalid:"validationFailed",event_type_unknown:"validationFailed",idempotency_key_invalid:"validationFailed",idempotency_key_required:"validationFailed",idempotency_key_reused:"idempotencyConflict",payload_too_large:"validationFailed",webhook_url_rejected:"validationFailed",webhook_endpoint_update_empty:"validationFailed",webhook_endpoint_update_invalid:"validationFailed",event_type_not_available:"conflict",record_subject_not_found:"resourceNotFound",records_consent_required:"conflict",record_species_unsupported:"validationFailed",record_upload_invalid:"validationFailed",FILE_TOO_LARGE:"validationFailed",INVALID_CONTENT_TYPE:"validationFailed",attachment_unreadable:"validationFailed",provider_unsupported:"validationFailed",token_invalid:"validationFailed",device_cipher_unavailable:"serviceUnavailable",email_invalid:"validationFailed",consent_required:"validationFailed",consent_invalid:"validationFailed",consent_scope_wrong_route:"validationFailed",IDEMPOTENCY_KEY_IN_FLIGHT:"idempotencyInFlight",IDEMPOTENCY_KEY_REUSED_DIFFERENT_REQUEST:"idempotencyConflict",DAILY_QUOTA_EXCEEDED:"quotaExceeded",TIER_UPGRADE_REQUIRED:"paymentRequired",not_found:"conversationNotFound",timeout:"streamTimeout",internal_error:"internalError",invalid_request:"validationFailed",invalid_client:"authRejected",invalid_grant:"authRejected",unsupported_grant_type:"validationFailed",invalid_scope:"validationFailed",invalid_target:"validationFailed",invalid_redirect_uri:"validationFailed",invalid_client_metadata:"validationFailed",unsupported_response_type:"validationFailed",access_denied:"accessDenied",slow_down:"rateLimited",mcp_request_not_found:"resourceNotFound",mcp_request_gone:"resourceNotFound",mcp_connection_not_found:"resourceNotFound",mcp_request_conflict:"conflict",sandbox_only:"accessDenied",tenant_has_no_capabilities:"conflict",verify_mint_refused:"accessDenied",verify_mint_rate_limited:"rateLimited",verify_mint_unavailable:"serviceUnavailable",verify_user_ref_invalid:"validationFailed",insufficient_scope:"accessDenied",tenant_filter_invalid:"validationFailed",tenant_resource_not_found:"resourceNotFound",tenant_surface_not_enabled:"conflict",pet_health_species_unsupported:"validationFailed",pet_health_list_removals_unconfirmed:"validationFailed",petRefInUse:"conflict",share_limit_reached:"conflict",pet_not_registered:"resourceNotFound",species_unsupported:"validationFailed",partner_visit_owner_only:"accessDenied",partner_visit_link_conflict:"conflict",partner_visit_pet_already_mapped:"conflict",linked_account_read_only:"conflict",catalog_empty_refused:"conflict",catalog_shrink_refused:"conflict",endpoint_not_allowed:"validationFailed",event_id_invalid:"validationFailed",inbox_cursor_invalid:"validationFailed",item_id_invalid:"validationFailed",open_url_not_allowed:"validationFailed",read_target_invalid:"validationFailed",subscription_keys_invalid:"validationFailed",web_push_unavailable:"serviceUnavailable",anchor_not_found:"resourceNotFound",anchor_ref_invalid:"validationFailed",before_invalid:"validationFailed",bundle_mismatch:"validationFailed",bundle_not_uploaded:"validationFailed",bundles_unavailable:"serviceUnavailable",environment_mismatch:"validationFailed",restricted_key:"accessDenied",ticket_not_resolved:"conflict",tickets_disabled:"resourceNotFound",timezone_invalid:"validationFailed"}),u=/* @__PURE__ */Object.freeze(s.map(e=>/* @__PURE__ */Object.freeze({wireCode:e.wireCode,envelope:e.envelope,retryable:e.retryable,normalized:d[e.wireCode]}))),p=new Map(u.map(e=>[e.envelope+e.wireCode.toUpperCase(),e])),c=/* @__PURE__ */Object.freeze(["http_envelope",...[...new Set(u.map(e=>e.envelope))].filter(e=>e!=="http_envelope").sort()]);function contractErrorFor(e,t){if(typeof e!="string")return;let r=e.trim().toUpperCase();if(r.length!==0)for(let e of[t??"http_envelope",...c]){let t=p.get(e+r);if(t)return t}}var v=/* @__PURE__ */Object.freeze({authExpired:"authentication",authRejected:"authentication",sessionRequired:"authentication",identitySignatureRequired:"authentication",accessDenied:"authorization",paymentRequired:"entitlement",quotaExceeded:"rateLimit",rateLimited:"rateLimit",validationFailed:"invalidRequest",sdkUpdateRequired:"invalidRequest",runtimeDisposed:"invalidRequest",conversationNotFound:"notFound",petNotFound:"notFound",resourceNotFound:"notFound",conflict:"conflict",idempotencyConflict:"conflict",idempotencyInFlight:"conflict",streamTimeout:"connection",streamIncomplete:"connection",upstreamLlmTimeout:"connection",serviceUnavailable:"connection",internalError:"server",notImplemented:"server",mediaUploadFailed:"media",moderationBlocked:"policy",unknown:"unknown"});function categoryFor(e){return v[e]}function fromWire(e){let t=contractErrorFor(e);if(t)return t.normalized;let r=(e??"").trim().toUpperCase(),n=r.replace(/[^A-Z0-9]/g,"");if(n==="AUTHREJECTED")return"authRejected";if(r.startsWith("AUTH"))return"authExpired";switch(n){case"DAILYQUOTAEXCEEDED":case"QUOTAEXCEEDED":return"quotaExceeded";case"RATELIMITED":case"TOOMANYREQUESTS":case"TELEVETRATELIMITED":return"rateLimited";case"IDEMPOTENCYKEYCONFLICT":case"IDEMPOTENCYCONFLICT":return"idempotencyConflict";case"ACCESSDENIED":case"FORBIDDEN":return"accessDenied";case"IDENTITYSIGNATUREREQUIRED":return"identitySignatureRequired";case"FREECAPREACHED":return"paymentRequired";case"RUNTIMEDISPOSED":return"runtimeDisposed";case"NOTFOUND":case"CONVERSATIONNOTFOUND":return"conversationNotFound";case"PETNOTFOUND":return"petNotFound";case"TIMEOUT":case"STREAMTIMEOUT":return"streamTimeout";case"MEDIAUPLOADFAILED":case"UNRECOGNIZEDVIDEOFORMAT":case"FILETOOSMALL":return"mediaUploadFailed";case"MODERATIONBLOCKED":return"moderationBlocked";case"UPSTREAMLLMTIMEOUT":return"upstreamLlmTimeout";case"INTERNALERROR":case"INTERNALSERVERERROR":return"internalError";case"STREAMINCOMPLETE":case"CHATSTREAMINCOMPLETE":return"streamIncomplete";case"INVALIDANALYSISTYPE":case"INVALIDUPLOADPURPOSE":return"unknown";default:return"unknown"}}function fromHttpStatus(e){return e===401?"authExpired":e===403?"accessDenied":e===404?"conversationNotFound":e===409?"idempotencyConflict":e===421?"unknown":e===429?"rateLimited":e===400||e===422?"unknown":e>=500?"internalError":"unknown"}var f=/* @__PURE__ */new Set(["streamTimeout","rateLimited","internalError","upstreamLlmTimeout","streamIncomplete"]);function isAutoRetryable(e){return f.has(e)}var _=/* @__PURE__ */new Set(["serviceUnavailable","conflict","idempotencyInFlight"]);function isRetryableCode(e){return isAutoRetryable(e)||_.has(e)}function assertNever(e){throw new Error(`assertNever: unhandled discriminated-union member ${JSON.stringify(e)}`)}function acceptedFrame(e,t,r=null){/* @__PURE__ */
5
5
  return Object.freeze({kind:"accepted",streamId:e,lastEventId:t,serverRequestId:r,terminal:false})}function heartbeatFrame(e,t=null){/* @__PURE__ */
6
6
  return Object.freeze({kind:"heartbeat",lastEventId:e,serverRequestId:t,terminal:false})}function deltaFrame(e,t,r=null){/* @__PURE__ */
7
7
  return Object.freeze({kind:"delta",delta:e,lastEventId:t,serverRequestId:r,terminal:false})}function doneFrame(e,t=null){/* @__PURE__ */
8
- return Object.freeze({kind:"done",terminal:true,conversationId:e.conversationId,messageId:e.messageId,title:e.title,followUpQuestions:/* @__PURE__ */Object.freeze([...e.followUpQuestions]),citations:/* @__PURE__ */Object.freeze([...e.citations]),citationStatus:e.citationStatus,urgencyLevel:e.urgencyLevel,urgencyReason:e.urgencyReason,urgencyProvided:e.urgencyProvided??e.urgencyLevel!==null,resultId:e.resultId,lastEventId:e.lastEventId,serverRequestId:t})}function errorFrame(e){/* @__PURE__ */
8
+ return Object.freeze({kind:"done",terminal:true,conversationId:e.conversationId,messageId:e.messageId,title:e.title,followUpQuestions:/* @__PURE__ */Object.freeze([...e.followUpQuestions]),citations:/* @__PURE__ */Object.freeze([...e.citations]),recordCitations:/* @__PURE__ */Object.freeze([...e.recordCitations??[]]),citationStatus:e.citationStatus,urgencyLevel:e.urgencyLevel,urgencyReason:e.urgencyReason,urgencyProvided:e.urgencyProvided??e.urgencyLevel!==null,resultId:e.resultId,lastEventId:e.lastEventId,serverRequestId:t})}function errorFrame(e){/* @__PURE__ */
9
9
  return Object.freeze({kind:"error",terminal:true,code:e.code,retryable:e.retryable,wireMessage:e.wireMessage,synthesized:e.synthesized,lastEventId:e.lastEventId,serverRequestId:e.serverRequestId??null,...e.freeCap?{freeCap:/* @__PURE__ */Object.freeze({...e.freeCap})}:{}})}function analysisStartedFrame(e,t,r=null){/* @__PURE__ */
10
10
  return Object.freeze({kind:"analysisStarted",requestId:e,lastEventId:t,serverRequestId:r,terminal:false})}function analysisCompleteFrame(e,t=null){/* @__PURE__ */
11
11
  return Object.freeze({kind:"analysisComplete",terminal:false,resultId:e.resultId,analysisType:e.analysisType,modelVersion:e.modelVersion,confidence:e.confidence,detections:/* @__PURE__ */Object.freeze([...e.detections]),interpretation:e.interpretation,lastEventId:e.lastEventId,serverRequestId:t})}function unknownFrame(e,t,r=null){/* @__PURE__ */
12
12
  return Object.freeze({kind:"unknown",raw:{...e},lastEventId:t,serverRequestId:r,terminal:false})}function h(){let e=[];return{decode(t,r){let n=r?.stream===true,i=e.length>0?e.slice():[];if(t!==void 0)for(let e=0;e<t.length;e+=1)i.push(t[e]);e=[];let a="",o=0;for(;o<i.length;){let t=i[o];if(t<128){a+=String.fromCharCode(t),o+=1;continue}let r,l=128,s=191,d;if(t>=194&&t<=223)r=1,d=t&31;else if(t>=224&&t<=239)r=2,d=t&15,t===224&&(l=160),t===237&&(s=159);else if(t>=240&&t<=244)r=3,d=t&7,t===240&&(l=144),t===244&&(s=143);else{a+="�",o+=1;continue}let u=1,p=true;for(;u<=r&&!(o+u>=i.length);){let e=i[o+u],t=u===1?l:128,r=u===1?s:191;if(e<t||e>r){p=false;break}d=d<<6|e&63,u+=1}if(!p){a+="�",o+=u;continue}if(u<=r){n?e=i.slice(o):a+="�";break}a+=String.fromCodePoint(d),o+=r+1}return a}}}function y(){let e=globalThis.TextDecoder;return typeof e=="function"?new e("utf-8"):h()}var m="free_cap_reached";function g(e){return typeof e=="number"&&Number.isInteger(e)&&e>=0?e:null}function w(e){if(typeof e!="object"||e===null)return null;let t=e,r=t.detail,n=typeof r=="object"&&r!==null?r:t;if(n.error!==m&&n.code!==m)return null;let i=g(n.limit),a=g(n.used);if(i===null||a===null)return null;let o=n.resets_at,l=n.emergency_guidance;/* @__PURE__ */
13
- return Object.freeze({limit:i,used:a,resetsAt:typeof o=="string"&&o.length>0?o:null,...typeof l=="string"&&l.trim().length>0?{emergencyGuidance:l}:{}})}var b=`\n\n`,E=1048576,T=/* @__PURE__ */e.record(/* @__PURE__ */e.string(),/* @__PURE__ */e.unknown()),S=["emergency","schedule_soon","home_care"];async function*parseSse(e,t=null){let r=null,n=()=>(r!==null||(r=typeof t=="function"?t():t),r),i=y(),a="",o=0,l=false;for await(let t of e){for(a+=i.decode(t,{stream:true});;){let e=a.indexOf(b,o);if(e===-1)break;let t=a.slice(0,e);a=a.slice(e+b.length),o=0;let r=C(t,n());if(r!==null&&(r.kind==="delta"&&(l=true),yield r,r.terminal))return}if(o=a.length>0?a.length-1:0,a.length>E){yield errorFrame({code:l?"CHAT_STREAM_INCOMPLETE":"internal_error",retryable:true,wireMessage:null,synthesized:true,lastEventId:null,serverRequestId:n()});return}}if(a+=i.decode(),a.trim().length>0){let e=C(a,n());if(e!==null&&(e.kind==="delta"&&(l=true),yield e,e.terminal))return}yield errorFrame({code:l?"CHAT_STREAM_INCOMPLETE":"internal_error",retryable:true,wireMessage:null,synthesized:true,lastEventId:null,serverRequestId:n()})}function C(e,t){let r=null,n=[];for(let t of e.split(`\n`)){let e=t.replace(/\s+$/,"");e.length===0||e.startsWith(":")||(e.startsWith("id:")?r=e.slice(3).trim():e.startsWith("data:")&&n.push(e.slice(5).replace(/^ /,"")))}if(n.length===0)return null;let i;try{i=JSON.parse(n.join(`\n`))}catch{return null}if(typeof i!="object"||i===null||Array.isArray(i))return null;let a=T.safeParse(i);return a.success?O(a.data,r,t):null}function O(e,t,r){let n=e.type,i=e.event;if(n==="error"||"error"in e)return errorFrame({code:I(e.code)??"unknown",retryable:e.retryable===true,wireMessage:I(e.error),synthesized:false,lastEventId:t,serverRequestId:r,freeCap:w(e)});if(n==="done"||e.done===true)return doneFrame({conversationId:I(e.conversation_id)??"",messageId:I(e.message_id),title:I(e.title),followUpQuestions:P(e.follow_up_questions),citations:F(e.citations),citationStatus:I(e.citation_status),urgencyLevel:R(e.urgency_level),urgencyReason:I(e.urgency_reason),urgencyProvided:q(e),resultId:I(e.result_id),lastEventId:t},r);if(n==="accepted"||e.status==="reasoning")return acceptedFrame(I(e.stream_id),t,r);if(n==="heartbeat"||e.heartbeat===true)return heartbeatFrame(t,r);if(n==="text.delta"||"delta"in e||"token"in e){let n=I(e.delta)??I(e.token)??"";return deltaFrame(n,t,r)}return i==="analysis_started"?analysisStartedFrame(I(e.request_id),t,r):i==="analysis_complete"?analysisCompleteFrame({resultId:I(e.result_id),analysisType:I(e.analysis_type),modelVersion:I(e.model_version),confidence:k(e.confidence),detections:F(e.detections),interpretation:I(e.interpretation),lastEventId:t},r):unknownFrame(e,t,r)}function I(e){return typeof e=="string"?e:null}function k(e){return typeof e=="number"&&Number.isFinite(e)?e:null}function R(e){return typeof e=="string"&&S.includes(e)?e:null}function q(e){if(!Object.prototype.hasOwnProperty.call(e,"urgency_level"))return false;let t=e.urgency_level;return t===null||R(t)!==null}function P(e){return Array.isArray(e)?e.map(e=>typeof e=="string"?e:String(e)):[]}function x(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function F(e){return Array.isArray(e)?e.filter(x):[]}var D="DAILY_QUOTA_EXCEEDED",N=/* @__PURE__ */new Set(["THROTTLINGEXCEPTION","RATELIMITED","TOOMANYREQUESTS"]);function A(e,t){if(!N.has(e.toUpperCase().replace(/[^A-Z0-9]/g,"")))return e;let r=t,n=r?.daily_limit??r?.error?.daily_limit;return typeof n=="number"&&Number.isFinite(n)?D:e}var U="This feature isn't available on your account right now.",L="Something in that request was not right. Check the details and try again.",G=/* @__PURE__ */Object.freeze({authExpired:"Please sign in again to continue.",authRejected:"Please sign in again to continue.",sessionRequired:"This app needs to be updated to keep using Everfur.",accessDenied:U,paymentRequired:"This is part of a paid plan.",quotaExceeded:"You have used today's messages. This resets tomorrow.",rateLimited:"You are sending messages quickly. Try again in a few seconds.",validationFailed:L,sdkUpdateRequired:"This app needs to be updated to keep using Everfur.",conflict:"That is already running. Wait for it to finish, then try again.",idempotencyConflict:"That message was already delivered.",idempotencyInFlight:"That is still processing. Give it a moment.",conversationNotFound:"This conversation is no longer available.",petNotFound:"We could not find that pet. Please pick a pet and try again.",resourceNotFound:"We could not find that.",streamTimeout:"The response timed out. Tap retry to try again.",mediaUploadFailed:"We could not upload that photo. Please attach it again.",moderationBlocked:"This request cannot be answered here.",upstreamLlmTimeout:"The response timed out. Tap retry to try again.",internalError:"We hit a snag on our end. Please try again.",notImplemented:"That is not available yet.",serviceUnavailable:"That service is briefly unavailable. Try again shortly.",streamIncomplete:"The connection dropped mid-answer. Tap retry to continue.",identitySignatureRequired:U,runtimeDisposed:L,unknown:"Something went wrong. Please try again."}),M="This session has ended. Please sign in again.",j="linked_account_read_only";function z(e,t,r){return e==="conflict"&&r===j?U:(e==="authRejected"||e==="authExpired")&&typeof t=="string"&&t.trim().toLowerCase()==="session_revoked"?M:userFacingError(e)}function userFacingError(e){return G[e]}function Q(e,t,r){Object.defineProperty(e,t,{value:r,enumerable:false,writable:false,configurable:false})}var Y=/^[a-z][a-z0-9_]{0,63}$/;function makeEverfurError(e,t){let r=contractErrorFor(t?.wireCode,t?.wireEnvelope),n=e==="conflict"&&t?.reasonCode===j,i={code:e,category:categoryFor(e),retryable:t?.retryable??(n?false:isRetryableCode(e)),displayMessage:z(e,t?.wireCode,n?j:null)};t?.httpStatus!==void 0&&(i.httpStatus=t.httpStatus),t?.requestId&&(i.requestId=t.requestId),typeof t?.reasonCode=="string"&&Y.test(t.reasonCode)&&(i.reasonCode=t.reasonCode);let a=t?.retryAfterSeconds;if(typeof a=="number"&&Number.isFinite(a)&&a>=0&&(i.retryAfterSeconds=Math.round(a)),r);return t?.wireMessage&&Q(i,"wireMessage",t.wireMessage),t?.raw!==void 0&&t.raw!==null&&Q(i,"raw",t.raw),/* @__PURE__ */Object.freeze(i)}async function*bufferedTextByteSource(e,t=[]){let r=(new TextEncoder).encode(e),n=[...new Set(t)].filter(e=>e>0&&e<r.length).sort((e,t)=>e-t),i=0;for(let e of n)yield r.subarray(i,e),i=e;yield r.subarray(i)}function errorFromResponse(e,t,r){let n=V(t),i=n?fromWire(n):fromHttpStatus(e),a=K(t);return makeEverfurError(i,{httpStatus:e,...$(t)?{retryable:true}:{},...{},...n?{wireCode:n}:{},...Z(t)?{reasonCode:Z(t)}:{},...W(t)!==null?{retryAfterSeconds:W(t)}:{},...a?{wireMessage:a}:{},...t!=null?{raw:t}:{}})}function W(e){let t=e,r=t?.retry_after_seconds??t?.error?.retry_after_seconds;return typeof r=="number"&&Number.isFinite(r)&&r>=0?r:null}function Z(e){let t=e,r=t?.error?.reason_code??t?.reason_code;return typeof r=="string"&&r.length>0?r:null}function V(e){let t=e,r=t?.error?.code??t?.code;return typeof r=="string"&&r.length>0?A(r,e):w(e)!==null?m:null}function K(e){let t=e,r=t?.error?.message??t?.message;return typeof r=="string"&&r.length>0?r:null}function $(e){let t=e;return t?.error?.retryable===true||t?.retryable===true}var B=/* @__PURE__ */Object.freeze({accepted:e=>JSON.stringify(e?{type:"accepted",stream_id:e}:{type:"accepted"}),heartbeat:()=>JSON.stringify({type:"heartbeat"}),delta:e=>JSON.stringify({type:"text.delta",delta:e}),done:e=>JSON.stringify({type:"done",...e??{}}),error:(e,t=false)=>JSON.stringify({type:"error",code:e,retryable:t})}),H=/* @__PURE__ */Object.freeze({pets:e=>({pets:e.map(e=>({pet_id:"a0000000-0000-4000-8000-000000000001",pet_ref:"pet-A",name:"Rex",species:"dog",breed:"Labrador",age_years:3,weight_kg:20,updated_at:"2026-09-18T10:00:00Z",...e}))}),uploadInitiate:e=>({upload_id:"b0000000-0000-4000-8000-000000000001",upload_url:"https://uploads.example.test/bucket",upload_fields:{key:"uploads/user-A/chat/photo.jpg","Content-Type":"image/jpeg",policy:"p",signature:"s"},s3_key:"uploads/user-A/chat/photo.jpg",expires_in_seconds:900,purpose:"chat_attachment",max_content_length:10485760,...e??{}}),feedback:e=>({feedback_id:"c0000000-0000-4000-8000-000000000001",feedback_type:"helpful",updated_at:"2026-09-18T10:00:00Z",...e??{}})});function J(e,t){let n=o(e,t);if(n!=="known")throw n==="absent"?new r("invalid-argument",`MockTransport: ${e} ${t} is a route the Everfur backend does NOT serve, so this call returns 404 in production. Scripting a success for it makes a green test that hides a broken integration. Known-absent routes: ${i.join(", ")}. Pass { strictPaths: false } to MockTransport only if you are deliberately testing this shape.`):new r("invalid-argument",`MockTransport: ${e} ${t} is not a known partner-plane route. If the backend has gained it, add it to KNOWN_PARTNER_ROUTES in src/core/testing/knownRoutes.ts. Pass { strictPaths: false } to opt out for this transport.`)}var X=class{constructor(e={}){this.streamQueue=[];this.requestQueue=[];this.lastRequestScript=/* @__PURE__ */new Map;this.openCount=0;this.mints=0;this.requests=[];this.streamRequests=[];this.peak=0;this.strictPaths=e.strictPaths??true,this.anonIdentity=e.anonIdentity??null}get anonIdentityMints(){return this.mints}get openStreams(){return this.openCount}get peakOpenStreams(){return this.peak}enqueueStream(...e){return this.streamQueue.push(...e),this}enqueueRequest(...e){return this.requestQueue.push(...e),this}async request(e){if(e.method==="POST"&&e.path===t)return this.mints+=1,this.anonIdentity===null?err(errorFromResponse(404,{code:"not_found"})):ok({anon_token:this.anonIdentity.token,expires_at:this.anonIdentity.expiresAt});this.strictPaths&&J(e.method,e.path);let r={method:e.method,path:e.path,headers:{...e.headers??{}},...e.query===void 0?{}:{query:{...e.query}}},n=e.body===void 0?r:{...r,body:e.body};this.requests.push(n);let i=`${e.method} ${e.path}`,a=this.requestQueue.shift();a!==void 0&&this.lastRequestScript.set(i,a);let o=a??this.lastRequestScript.get(i)??{status:200,body:{}},l=o.status??200;return l===304||l>=400?err(errorFromResponse(l,o.body??null)):ok(o.body??{})}stream(e,t){this.strictPaths&&J(e.method,e.path),this.streamRequests.push({path:e.path,authorization:ie(e,"authorization"),partnerKey:ie(e,"x-everfur-partner-key"),idempotencyKey:ie(e,"idempotency-key"),...e.body===void 0?{}:{body:e.body},headers:{...e.headers??{}}});let r=this.streamQueue.shift()??{kind:"sse",blocks:[B.done()]};return this.openStream(r,t)}async*openStream(e,t){this.openCount+=1,this.openCount>this.peak&&(this.peak=this.openCount);try{yield*this.runScript(e,t)}finally{this.openCount-=1}}async*runScript(e,t){switch(e.kind){case"httpError":{let t=ae(e.body)??se(e.status);yield errorFrame({code:t,retryable:le(e.body)||isAutoRetryable(fromWire(t)),wireMessage:oe(e.body),synthesized:true,lastEventId:null});return}case"network":yield errorFrame({code:"INTERNAL_ERROR",retryable:true,wireMessage:"network request failed",synthesized:true,lastEventId:null});return;case"partialByte":yield*parseSse(bufferedTextByteSource(e.body,e.splitAt));return;case"sse":yield*parseSse(ee(e.blocks,e.gapMs??0,t));return;case"drop":yield*parseSse(ee(e.blocks,0,t));return;case"stall":yield*parseSse(te(e.preface??[],t));return;default:return assertNever(e)}}};async function*ee(e,t,r){let n=new TextEncoder,i=true;for(let a of e){if(r.aborted||!i&&t>0&&await ne(t,r)==="abort")return;i=false,yield n.encode(re(a))}}async function*te(e,t){let r=new TextEncoder;for(let n of e){if(t.aborted)return;yield r.encode(re(n))}await ne(1/0,t)}function re(e){return`data: ${e}\n\n`}function ne(e,t){return new Promise(r=>{if(t.aborted){r("abort");return}let n=null,i=()=>{n!==null&&clearTimeout(n),t.removeEventListener("abort",i),r("abort")};Number.isFinite(e)&&(n=setTimeout(()=>{t.removeEventListener("abort",i),r("timeout")},e)),t.addEventListener("abort",i,{once:true})})}function ie(e,t){let r=e.headers;if(!r)return null;for(let[e,n]of Object.entries(r))if(e.toLowerCase()===t)return n;return null}function ae(e){let t=e,r=t?.error?.code??t?.code;return typeof r=="string"&&r.length>0?A(r,e):null}function oe(e){let t=e,r=t?.error?.message??t?.message;return typeof r=="string"&&r.length>0?r:null}function le(e){let t=e;return t?.error?.retryable===true||t?.retryable===true}function se(e){return e===401?"AUTH_EXPIRED":e===403?"ACCESS_DENIED":e===404?"NOT_FOUND":e===409?"IDEMPOTENCY_CONFLICT":e===421?"MISDIRECTED_REQUEST":e===429?"RATE_LIMITED":e===400||e===422?"INVALID_REQUEST":e>=500?"INTERNAL_ERROR":""}var de="2026-09-23",ue="https://care-v3-mock.everfur.invalid/img/",careMockImg=e=>`${ue}${e}`,pe="pet-care-v3-records",ce="pet-care-v3-no-records",ve={apoquel:"offer-apoquel",simparicaTrio:"offer-simparica-trio",salmonOil:"offer-salmon-oil",vetradent:"offer-vetradent",earWipes:"offer-ear-wipes",douxoCalm:"offer-douxo-calm",veggiedent:"offer-veggiedent",dasuquin:"offer-dasuquin",fortiflora:"offer-fortiflora",greenies:"offer-greenies",trickyTreats:"offer-tricky-treats"},careMockSlugOf=e=>e.replace(/^offer-/,""),fe={[ve.apoquel]:{priceCents:6499,autoPriceCents:6499,isRx:true},[ve.simparicaTrio]:{priceCents:3199,autoPriceCents:null,isRx:true},[ve.salmonOil]:{priceCents:3299,autoPriceCents:2969,isRx:false},[ve.dasuquin]:{priceCents:2799,autoPriceCents:2519,isRx:false},[ve.fortiflora]:{priceCents:2499,autoPriceCents:2249,isRx:false},[ve.vetradent]:{priceCents:2199,autoPriceCents:1979,isRx:false},[ve.veggiedent]:{priceCents:999,autoPriceCents:899,isRx:false},[ve.greenies]:{priceCents:3999,autoPriceCents:null,isRx:false},[ve.trickyTreats]:{priceCents:1100,autoPriceCents:null,isRx:false},[ve.earWipes]:{priceCents:1499,autoPriceCents:null,isRx:false},[ve.douxoCalm]:{priceCents:1299,autoPriceCents:null,isRx:false}},_e=e=>careMockImg(`care-${e}.webp`),he=e=>careMockImg(`care-${e}-mask.webp`),ye={ref:"addr-home",label:"Home",isDefault:true,isComplete:true,address:{recipientName:null,line1:"1432 Irving St",line2:null,city:"San Francisco",region:"CA",postalCode:"94122",country:"US"}},me={paymentMethodId:"pm-care-v3-mock-visa",brand:"visa",last4:"4242",wallet:null},ge={recurringTermsVersion:"care-v3-mock",recurringTermsUrl:"https://care-v3-mock.everfur.invalid/recurring-terms",stripePublishableKey:null,delivery:null,freeShippingThresholdCents:3500,firstRxDiscountCents:5e3,firstRxDiscountCode:"VET50",firstAutoOrderPrice:null},we={[ve.apoquel]:{packQuantity:"30.0",packUnit:"each"}},be=[{rxId:"rx-apoquel",petId:pe,drug:"Apoquel",strength:"16 mg",form:"tablet",status:"ready",offerId:ve.apoquel,packCount:1,fillsUsed:null,fillsTotal:null,expiresOn:null,nextFillOn:null,supply:{unitsLeft:8,unitLabel:"tablets",dailyUnits:1,runsOutOn:"2026-10-01",refillArrivesOn:"2026-09-29"},prescriberName:"Dr. Goode",refillsTotal:null,refillsLeft:2},{rxId:"rx-simparica-trio",petId:pe,drug:"Simparica Trio",strength:"44.1 to 88 lb",form:"chew",status:"ready",offerId:ve.simparicaTrio,packCount:1,fillsUsed:null,fillsTotal:null,expiresOn:null,nextFillOn:"2026-10-05",supply:null,prescriberName:"Dr. Goode",refillsTotal:null,refillsLeft:8}],Ee=(e,t)=>({key:e,doneAt:t}),Te="order-care-v3-box-0923",Se="order-care-v3-rx-0923",Ce="order-care-v3-box-0815",Oe="order-care-v3-box-0718",Ie="2026-09-23T16:00:00Z",ke=[{orderId:Te,referenceNumber:"EF-260923-4471",status:"accepted",total:3824,placedAt:Ie,itemCount:1,items:[{offerId:ve.salmonOil,title:"Zesty Paws Salmon Oil",quantity:1,imageUrl:_e("salmon-oil"),cutoutUrl:he("salmon-oil")}],fulfiller:"everfur_box",arrivesBy:"2026-09-26",steps:[Ee("ordered_paid",Ie),Ee("packing",null),Ee("delivered",null)],currentStep:"packing",statusLineKey:"ships_tomorrow",prescriberName:null},{orderId:Se,referenceNumber:"EF-260923-4471",status:"pending_handoff",total:1499,placedAt:Ie,itemCount:1,items:[{offerId:ve.apoquel,title:"Apoquel 16 mg",quantity:1,imageUrl:_e("apoquel"),cutoutUrl:he("apoquel")}],fulfiller:"pharmacy",arrivesBy:"2026-09-29",steps:[Ee("ordered",Ie),Ee("vet_ok",null),Ee("filled_checked",null),Ee("delivered",null)],currentStep:"vet_ok",statusLineKey:"needs_vet_ok",prescriberName:"Dr. Goode",clinicName:"Maplewood"},{orderId:Ce,referenceNumber:null,status:"delivered",total:5428,placedAt:"2026-08-12T16:00:00Z",itemCount:3,items:[{offerId:ve.vetradent,title:"Vetradent dental chews",quantity:1,imageUrl:_e("vetradent")},{offerId:ve.earWipes,title:"Zymox Ear Wipes",quantity:1,imageUrl:_e("ear-wipes")},{offerId:ve.douxoCalm,title:"Douxo S3 Calm shampoo",quantity:1,imageUrl:_e("douxo-calm")}],fulfiller:"everfur_box",arrivesBy:"2026-08-15",steps:[Ee("ordered_paid","2026-08-12T16:00:00Z"),Ee("packing","2026-08-13T16:00:00Z"),Ee("delivered","2026-08-15T18:00:00Z")],currentStep:"delivered",statusLineKey:"delivered",prescriberName:null},{orderId:Oe,referenceNumber:null,status:"delivered",total:5755,placedAt:"2026-07-15T16:00:00Z",itemCount:2,items:[{offerId:ve.dasuquin,title:"Dasuquin with MSM",quantity:1,imageUrl:_e("dasuquin")},{offerId:ve.fortiflora,title:"FortiFlora probiotic",quantity:1,imageUrl:_e("fortiflora")}],fulfiller:"everfur_box",arrivesBy:"2026-07-18",steps:[Ee("ordered_paid","2026-07-15T16:00:00Z"),Ee("packing","2026-07-16T16:00:00Z"),Ee("delivered","2026-07-18T18:00:00Z")],currentStep:"delivered",statusLineKey:"delivered",prescriberName:null}],Re={[Te]:[[ve.salmonOil,2969,256,false]],[Se]:[[ve.apoquel,6499,0,true]],[Ce]:[[ve.vetradent,2199,190,false],[ve.earWipes,1499,129,false],[ve.douxoCalm,1299,112,false]],[Oe]:[[ve.dasuquin,2799,241,false],[ve.fortiflora,2499,216,false]]};function careMockOrderDetail(e){let t=(Re[e.orderId]??[]).map(([t,r,n,i],a)=>{let o=e.items?.find(e=>e.offerId===t);return{lineId:`${e.orderId}-l${a+1}`,offerId:t,sku:t,title:o?.title??t,requiresRx:i,compounded:false,packQuantity:we[t]?.packQuantity??null,packUnit:we[t]?.packUnit??null,quantity:1,unitPrice:r,discount:i?5e3:0,tax:n,fulfillmentType:i?"pharmacy":"everfur_box",petId:pe,imageUrl:o?.imageUrl??null}}),r=t.reduce((e,t)=>e+t.unitPrice*t.quantity,0),n=t.reduce((e,t)=>e+t.discount,0),i=t.reduce((e,t)=>e+t.tax,0),a=e.status==="delivered";return{summary:e,lines:t,shipping:e.orderId===Te?599:0,shippingTax:0,shipments:[],canCancel:!a,canReturn:false,canPay:false,paymentStatus:a||e.status==="shipped"?"captured":"authorized",refunds:[],returnIds:[],subtotal:r,discount:n,tax:i,arrivesBy:e.arrivesBy??null,tracking:null,steps:(e.steps??[]).map(e=>({key:e.key,done:e.doneAt!=null,at:e.doneAt})),paymentMethodId:me.paymentMethodId}}var qe=[{planId:"plan-care-v3-simparica",lines:[{offerId:ve.simparicaTrio,quantity:1,petId:pe}],cadenceDays:30,destination:ye.ref,paymentMethodId:me.paymentMethodId,discountBps:0,nextRun:"2026-10-05",state:"active",stopReason:null,priceCentsPerCycle:3199,chargedWhenFilled:true,nextShipOn:"2026-10-05",skippedCycleOn:null,prescriberName:"Dr. Goode",refillsLeft:8,refillsTotal:null,autoDiscountPct:null,changeOptions:[xe(ve.simparicaTrio,"Simparica Trio","1 chew",1,3199,[30],true),xe(ve.simparicaTrio,"Simparica Trio","3 chews",3,9597,[90],false)]},{planId:"plan-care-v3-apoquel",lines:[{offerId:ve.apoquel,quantity:1,petId:pe}],cadenceDays:30,destination:ye.ref,paymentMethodId:me.paymentMethodId,discountBps:0,nextRun:"2026-10-27",state:"active",stopReason:null,priceCentsPerCycle:6499,chargedWhenFilled:true,nextShipOn:"2026-10-27",skippedCycleOn:null,prescriberName:"Dr. Goode",refillsLeft:2,refillsTotal:null,autoDiscountPct:null,changeOptions:[xe(ve.apoquel,"Apoquel 16 mg","30 tablets",1,6499,[30],true),xe(ve.apoquel,"Apoquel 16 mg","60 tablets",2,12998,[60],false)]},{planId:"plan-care-v3-salmon-oil",lines:[{offerId:ve.salmonOil,quantity:1,petId:pe}],cadenceDays:120,destination:ye.ref,paymentMethodId:me.paymentMethodId,discountBps:1e3,nextRun:"2027-01-21",state:"active",stopReason:null,priceCentsPerCycle:2969,chargedWhenFilled:false,nextShipOn:"2027-01-21",skippedCycleOn:null,prescriberName:null,refillsLeft:null,refillsTotal:null,autoDiscountPct:10,changeOptions:[xe(ve.salmonOil,"Zesty Paws Salmon Oil","32 fl oz",1,2969,[60,90,120,180],true)]}],Pe={"plan-care-v3-simparica":{key:"last_dose",values:{unitLabel:"chew",doseOn:"2026-10-01",noneFor:"2026-11-01",lastsTo:null,weeks:null}},"plan-care-v3-apoquel":{key:"bottle_gap",values:{unitLabel:null,doseOn:null,noneFor:null,lastsTo:"2026-10-30",weeks:4}}};function xe(e,t,r,n,i,a,o){return{offerId:e,title:t,size:r,packQuantity:null,packUnit:null,unitLabel:null,quantity:n,priceCentsPerCycle:i,cadenceDays:a,current:o}}var Fe=[{offerId:ve.vetradent,title:"Vetradent chews",imageUrl:_e("vetradent"),priceCents:2199,lastOrderedOn:"2026-08-15",isRx:false,likelyOut:true},{offerId:ve.earWipes,title:"Zymox Ear Wipes",imageUrl:_e("ear-wipes"),priceCents:1499,lastOrderedOn:"2026-08-15",isRx:false,likelyOut:false},{offerId:ve.douxoCalm,title:"Douxo Calm shampoo",imageUrl:_e("douxo-calm"),priceCents:1299,lastOrderedOn:"2026-08-15",isRx:false,likelyOut:false},{offerId:ve.dasuquin,title:"Dasuquin with MSM",imageUrl:_e("dasuquin"),priceCents:2799,lastOrderedOn:"2026-07-18",isRx:false,likelyOut:false}],De=.08625;function careMockQuote(e,t=ge){let r=fe,n=t.taxRate??De,i=t.firstRxDiscountCents??0,a=e.map(e=>{let n=r[e.offerId],a=n?.priceCents??0,o=n?.isRx===true,l=n?.autoPriceCents,s=t.firstAutoOrderPrice==="auto"&&e.plan==="auto"&&typeof l=="number"&&l<a?(a-l)*e.quantity:0,d=o?Math.min(i,a*e.quantity-s):0;return i-=d,{l:e,unitPrice:a,isRx:o,off:d,cut:s,net:a*e.quantity-s}}),o=a.filter(e=>!e.isRx).reduce((e,t)=>e+t.net,0),l=a.filter(e=>e.isRx).reduce((e,t)=>e+t.net,0),s=a.reduce((e,t)=>e+t.off,0),d=Math.round(o*n),u=d,p=a.filter(e=>!e.isRx);return{lines:a.map(e=>{let t=0;return!e.isRx&&o>0&&(t=e===p[p.length-1]?u:Math.round(e.net*d/o),u-=t),{offerId:e.l.offerId,quantity:e.l.quantity,petId:e.l.petId??null,unitPrice:e.unitPrice,discount:e.cut+e.off,tax:t,whenFilledDiscountCents:e.isRx?e.off:null,isRx:e.isRx,chargedWhenFilled:e.isRx}}),shipping:0,tax:d,total:o+d+l-s,expiresAt:"2026-09-23T17:00:00Z",shipsOn:"2026-09-24",arrivesOn:"2026-09-26",whenFilledDiscountCents:s,dueTodayCents:o+d,dueWhenFilledCents:l-s}}export{ye as CARE_MOCK_ADDRESS,Fe as CARE_MOCK_BUY_AGAIN,me as CARE_MOCK_CARD,ue as CARE_MOCK_IMG,ve as CARE_MOCK_OFFER,ke as CARE_MOCK_ORDERS,Te as CARE_MOCK_ORDER_BOX_ID,Ce as CARE_MOCK_ORDER_PAST_AUG,Oe as CARE_MOCK_ORDER_PAST_JUL,Se as CARE_MOCK_ORDER_RX_ID,we as CARE_MOCK_PACKS,ce as CARE_MOCK_PET_NO_RECORDS,pe as CARE_MOCK_PET_RECORDS,qe as CARE_MOCK_PLANS,Pe as CARE_MOCK_PLAN_SKIP_WARNINGS,be as CARE_MOCK_PRESCRIPTIONS,fe as CARE_MOCK_PRICES,ge as CARE_MOCK_SHOP_CONFIG,De as CARE_MOCK_TAX_RATE,de as CARE_MOCK_TODAY,X as MockTransport,H as bodies,careMockImg,careMockOrderDetail,careMockQuote,careMockSlugOf,B as wire};
13
+ return Object.freeze({limit:i,used:a,resetsAt:typeof o=="string"&&o.length>0?o:null,...typeof l=="string"&&l.trim().length>0?{emergencyGuidance:l}:{}})}var b=`\n\n`,T=1048576,E=/* @__PURE__ */e.record(/* @__PURE__ */e.string(),/* @__PURE__ */e.unknown()),C=["emergency","schedule_soon","home_care"];async function*parseSse(e,t=null){let r=null,n=()=>(r!==null||(r=typeof t=="function"?t():t),r),i=y(),a="",o=0,l=false;for await(let t of e){for(a+=i.decode(t,{stream:true});;){let e=a.indexOf(b,o);if(e===-1)break;let t=a.slice(0,e);a=a.slice(e+b.length),o=0;let r=S(t,n());if(r!==null&&(r.kind==="delta"&&(l=true),yield r,r.terminal))return}if(o=a.length>0?a.length-1:0,a.length>T){yield errorFrame({code:l?"CHAT_STREAM_INCOMPLETE":"internal_error",retryable:true,wireMessage:null,synthesized:true,lastEventId:null,serverRequestId:n()});return}}if(a+=i.decode(),a.trim().length>0){let e=S(a,n());if(e!==null&&(e.kind==="delta"&&(l=true),yield e,e.terminal))return}yield errorFrame({code:l?"CHAT_STREAM_INCOMPLETE":"internal_error",retryable:true,wireMessage:null,synthesized:true,lastEventId:null,serverRequestId:n()})}function S(e,t){let r=null,n=[];for(let t of e.split(`\n`)){let e=t.replace(/\s+$/,"");e.length===0||e.startsWith(":")||(e.startsWith("id:")?r=e.slice(3).trim():e.startsWith("data:")&&n.push(e.slice(5).replace(/^ /,"")))}if(n.length===0)return null;let i;try{i=JSON.parse(n.join(`\n`))}catch{return null}if(typeof i!="object"||i===null||Array.isArray(i))return null;let a=E.safeParse(i);return a.success?O(a.data,r,t):null}function O(e,t,r){let n=e.type,i=e.event;if(n==="error"||"error"in e)return errorFrame({code:I(e.code)??"unknown",retryable:e.retryable===true,wireMessage:I(e.error),synthesized:false,lastEventId:t,serverRequestId:r,freeCap:w(e)});if(n==="done"||e.done===true)return doneFrame({conversationId:I(e.conversation_id)??"",messageId:I(e.message_id),title:I(e.title),followUpQuestions:q(e.follow_up_questions),citations:F(e.citations),recordCitations:F(e.record_citations),citationStatus:I(e.citation_status),urgencyLevel:R(e.urgency_level),urgencyReason:I(e.urgency_reason),urgencyProvided:P(e),resultId:I(e.result_id),lastEventId:t},r);if(n==="accepted"||e.status==="reasoning")return acceptedFrame(I(e.stream_id),t,r);if(n==="heartbeat"||e.heartbeat===true)return heartbeatFrame(t,r);if(n==="text.delta"||"delta"in e||"token"in e){let n=I(e.delta)??I(e.token)??"";return deltaFrame(n,t,r)}return i==="analysis_started"?analysisStartedFrame(I(e.request_id),t,r):i==="analysis_complete"?analysisCompleteFrame({resultId:I(e.result_id),analysisType:I(e.analysis_type),modelVersion:I(e.model_version),confidence:k(e.confidence),detections:F(e.detections),interpretation:I(e.interpretation),lastEventId:t},r):unknownFrame(e,t,r)}function I(e){return typeof e=="string"?e:null}function k(e){return typeof e=="number"&&Number.isFinite(e)?e:null}function R(e){return typeof e=="string"&&C.includes(e)?e:null}function P(e){if(!Object.prototype.hasOwnProperty.call(e,"urgency_level"))return false;let t=e.urgency_level;return t===null||R(t)!==null}function q(e){return Array.isArray(e)?e.map(e=>typeof e=="string"?e:String(e)):[]}function x(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function F(e){return Array.isArray(e)?e.filter(x):[]}var D="DAILY_QUOTA_EXCEEDED",N=/* @__PURE__ */new Set(["THROTTLINGEXCEPTION","RATELIMITED","TOOMANYREQUESTS"]);function A(e,t){if(!N.has(e.toUpperCase().replace(/[^A-Z0-9]/g,"")))return e;let r=t,n=r?.daily_limit??r?.error?.daily_limit;return typeof n=="number"&&Number.isFinite(n)?D:e}var U="This feature isn't available on your account right now.",L="Something in that request was not right. Check the details and try again.",G=/* @__PURE__ */Object.freeze({authExpired:"Please sign in again to continue.",authRejected:"Please sign in again to continue.",sessionRequired:"This app needs to be updated to keep using Everfur.",accessDenied:U,paymentRequired:"This is part of a paid plan.",quotaExceeded:"You have used today's messages. This resets tomorrow.",rateLimited:"You are sending messages quickly. Try again in a few seconds.",validationFailed:L,sdkUpdateRequired:"This app needs to be updated to keep using Everfur.",conflict:"That is already running. Wait for it to finish, then try again.",idempotencyConflict:"That message was already delivered.",idempotencyInFlight:"That is still processing. Give it a moment.",conversationNotFound:"This conversation is no longer available.",petNotFound:"We could not find that pet. Please pick a pet and try again.",resourceNotFound:"We could not find that.",streamTimeout:"The response timed out. Tap retry to try again.",mediaUploadFailed:"We could not upload that photo. Please attach it again.",moderationBlocked:"This request cannot be answered here.",upstreamLlmTimeout:"The response timed out. Tap retry to try again.",internalError:"We hit a snag on our end. Please try again.",notImplemented:"That is not available yet.",serviceUnavailable:"That service is briefly unavailable. Try again shortly.",streamIncomplete:"The connection dropped mid-answer. Tap retry to continue.",identitySignatureRequired:U,runtimeDisposed:L,unknown:"Something went wrong. Please try again."}),M="This session has ended. Please sign in again.",j="linked_account_read_only";function z(e,t,r){return e==="conflict"&&r===j?U:(e==="authRejected"||e==="authExpired")&&typeof t=="string"&&t.trim().toLowerCase()==="session_revoked"?M:userFacingError(e)}function userFacingError(e){return G[e]}function Q(e,t,r){Object.defineProperty(e,t,{value:r,enumerable:false,writable:false,configurable:false})}var Y=/^[a-z][a-z0-9_]{0,63}$/;function makeEverfurError(e,t){let r=contractErrorFor(t?.wireCode,t?.wireEnvelope),n=e==="conflict"&&t?.reasonCode===j,i={code:e,category:categoryFor(e),retryable:t?.retryable??(n?false:isRetryableCode(e)),displayMessage:z(e,t?.wireCode,n?j:null)};t?.httpStatus!==void 0&&(i.httpStatus=t.httpStatus),t?.requestId&&(i.requestId=t.requestId),typeof t?.reasonCode=="string"&&Y.test(t.reasonCode)&&(i.reasonCode=t.reasonCode);let a=t?.retryAfterSeconds;if(typeof a=="number"&&Number.isFinite(a)&&a>=0&&(i.retryAfterSeconds=Math.round(a)),r);return t?.wireMessage&&Q(i,"wireMessage",t.wireMessage),t?.raw!==void 0&&t.raw!==null&&Q(i,"raw",t.raw),/* @__PURE__ */Object.freeze(i)}async function*bufferedTextByteSource(e,t=[]){let r=(new TextEncoder).encode(e),n=[...new Set(t)].filter(e=>e>0&&e<r.length).sort((e,t)=>e-t),i=0;for(let e of n)yield r.subarray(i,e),i=e;yield r.subarray(i)}function errorFromResponse(e,t,r){let n=V(t),i=n?fromWire(n):fromHttpStatus(e),a=K(t);return makeEverfurError(i,{httpStatus:e,...$(t)?{retryable:true}:{},...{},...n?{wireCode:n}:{},...Z(t)?{reasonCode:Z(t)}:{},...W(t)!==null?{retryAfterSeconds:W(t)}:{},...a?{wireMessage:a}:{},...t!=null?{raw:t}:{}})}function W(e){let t=e,r=t?.retry_after_seconds??t?.error?.retry_after_seconds;return typeof r=="number"&&Number.isFinite(r)&&r>=0?r:null}function Z(e){let t=e,r=t?.error?.reason_code??t?.reason_code;return typeof r=="string"&&r.length>0?r:null}function V(e){let t=e,r=t?.error?.code??t?.code;return typeof r=="string"&&r.length>0?A(r,e):w(e)!==null?m:null}function K(e){let t=e,r=t?.error?.message??t?.message;return typeof r=="string"&&r.length>0?r:null}function $(e){let t=e;return t?.error?.retryable===true||t?.retryable===true}var B=/* @__PURE__ */Object.freeze({accepted:e=>JSON.stringify(e?{type:"accepted",stream_id:e}:{type:"accepted"}),heartbeat:()=>JSON.stringify({type:"heartbeat"}),delta:e=>JSON.stringify({type:"text.delta",delta:e}),done:e=>JSON.stringify({type:"done",...e??{}}),error:(e,t=false)=>JSON.stringify({type:"error",code:e,retryable:t})}),H=/* @__PURE__ */Object.freeze({pets:e=>({pets:e.map(e=>({pet_id:"a0000000-0000-4000-8000-000000000001",pet_ref:"pet-A",name:"Rex",species:"dog",breed:"Labrador",age_years:3,weight_kg:20,updated_at:"2026-09-18T10:00:00Z",...e}))}),uploadInitiate:e=>({upload_id:"b0000000-0000-4000-8000-000000000001",upload_url:"https://uploads.example.test/bucket",upload_fields:{key:"uploads/user-A/chat/photo.jpg","Content-Type":"image/jpeg",policy:"p",signature:"s"},s3_key:"uploads/user-A/chat/photo.jpg",expires_in_seconds:900,purpose:"chat_attachment",max_content_length:10485760,...e??{}}),feedback:e=>({feedback_id:"c0000000-0000-4000-8000-000000000001",feedback_type:"helpful",updated_at:"2026-09-18T10:00:00Z",...e??{}})});function J(e,t){let n=o(e,t);if(n!=="known")throw n==="absent"?new r("invalid-argument",`MockTransport: ${e} ${t} is a route the Everfur backend does NOT serve, so this call returns 404 in production. Scripting a success for it makes a green test that hides a broken integration. Known-absent routes: ${i.join(", ")}. Pass { strictPaths: false } to MockTransport only if you are deliberately testing this shape.`):new r("invalid-argument",`MockTransport: ${e} ${t} is not a known partner-plane route. If the backend has gained it, add it to KNOWN_PARTNER_ROUTES in src/core/testing/knownRoutes.ts. Pass { strictPaths: false } to opt out for this transport.`)}var X=class{constructor(e={}){this.streamQueue=[];this.requestQueue=[];this.lastRequestScript=/* @__PURE__ */new Map;this.openCount=0;this.mints=0;this.requests=[];this.streamRequests=[];this.peak=0;this.strictPaths=e.strictPaths??true,this.anonIdentity=e.anonIdentity??null}get anonIdentityMints(){return this.mints}get openStreams(){return this.openCount}get peakOpenStreams(){return this.peak}enqueueStream(...e){return this.streamQueue.push(...e),this}enqueueRequest(...e){return this.requestQueue.push(...e),this}async request(e){if(e.method==="POST"&&e.path===t)return this.mints+=1,this.anonIdentity===null?err(errorFromResponse(404,{code:"not_found"})):ok({anon_token:this.anonIdentity.token,expires_at:this.anonIdentity.expiresAt});this.strictPaths&&J(e.method,e.path);let r={method:e.method,path:e.path,headers:{...e.headers??{}},...e.query===void 0?{}:{query:{...e.query}}},n=e.body===void 0?r:{...r,body:e.body};this.requests.push(n);let i=`${e.method} ${e.path}`,a=this.requestQueue.shift();a!==void 0&&this.lastRequestScript.set(i,a);let o=a??this.lastRequestScript.get(i)??{status:200,body:{}},l=o.status??200;return l===304||l>=400?err(errorFromResponse(l,o.body??null)):ok(o.body??{})}stream(e,t){this.strictPaths&&J(e.method,e.path),this.streamRequests.push({path:e.path,authorization:ie(e,"authorization"),partnerKey:ie(e,"x-everfur-partner-key"),idempotencyKey:ie(e,"idempotency-key"),...e.body===void 0?{}:{body:e.body},headers:{...e.headers??{}}});let r=this.streamQueue.shift()??{kind:"sse",blocks:[B.done()]};return this.openStream(r,t)}async*openStream(e,t){this.openCount+=1,this.openCount>this.peak&&(this.peak=this.openCount);try{yield*this.runScript(e,t)}finally{this.openCount-=1}}async*runScript(e,t){switch(e.kind){case"httpError":{let t=ae(e.body)??se(e.status);yield errorFrame({code:t,retryable:le(e.body)||isAutoRetryable(fromWire(t)),wireMessage:oe(e.body),synthesized:true,lastEventId:null});return}case"network":yield errorFrame({code:"INTERNAL_ERROR",retryable:true,wireMessage:"network request failed",synthesized:true,lastEventId:null});return;case"partialByte":yield*parseSse(bufferedTextByteSource(e.body,e.splitAt));return;case"sse":yield*parseSse(ee(e.blocks,e.gapMs??0,t));return;case"drop":yield*parseSse(ee(e.blocks,0,t));return;case"stall":yield*parseSse(te(e.preface??[],t));return;default:return assertNever(e)}}};async function*ee(e,t,r){let n=new TextEncoder,i=true;for(let a of e){if(r.aborted||!i&&t>0&&await ne(t,r)==="abort")return;i=false,yield n.encode(re(a))}}async function*te(e,t){let r=new TextEncoder;for(let n of e){if(t.aborted)return;yield r.encode(re(n))}await ne(1/0,t)}function re(e){return`data: ${e}\n\n`}function ne(e,t){return new Promise(r=>{if(t.aborted){r("abort");return}let n=null,i=()=>{n!==null&&clearTimeout(n),t.removeEventListener("abort",i),r("abort")};Number.isFinite(e)&&(n=setTimeout(()=>{t.removeEventListener("abort",i),r("timeout")},e)),t.addEventListener("abort",i,{once:true})})}function ie(e,t){let r=e.headers;if(!r)return null;for(let[e,n]of Object.entries(r))if(e.toLowerCase()===t)return n;return null}function ae(e){let t=e,r=t?.error?.code??t?.code;return typeof r=="string"&&r.length>0?A(r,e):null}function oe(e){let t=e,r=t?.error?.message??t?.message;return typeof r=="string"&&r.length>0?r:null}function le(e){let t=e;return t?.error?.retryable===true||t?.retryable===true}function se(e){return e===401?"AUTH_EXPIRED":e===403?"ACCESS_DENIED":e===404?"NOT_FOUND":e===409?"IDEMPOTENCY_CONFLICT":e===421?"MISDIRECTED_REQUEST":e===429?"RATE_LIMITED":e===400||e===422?"INVALID_REQUEST":e>=500?"INTERNAL_ERROR":""}var de="2026-09-23",ue="https://care-v3-mock.everfur.invalid/img/",careMockImg=e=>`${ue}${e}`,pe="pet-care-v3-records",ce="pet-care-v3-no-records",ve={apoquel:"offer-apoquel",simparicaTrio:"offer-simparica-trio",salmonOil:"offer-salmon-oil",vetradent:"offer-vetradent",earWipes:"offer-ear-wipes",douxoCalm:"offer-douxo-calm",veggiedent:"offer-veggiedent",dasuquin:"offer-dasuquin",fortiflora:"offer-fortiflora",greenies:"offer-greenies",trickyTreats:"offer-tricky-treats"},careMockSlugOf=e=>e.replace(/^offer-/,""),fe={[ve.apoquel]:{priceCents:6499,autoPriceCents:6499,isRx:true},[ve.simparicaTrio]:{priceCents:3199,autoPriceCents:null,isRx:true},[ve.salmonOil]:{priceCents:3299,autoPriceCents:2969,isRx:false},[ve.dasuquin]:{priceCents:2799,autoPriceCents:2519,isRx:false},[ve.fortiflora]:{priceCents:2499,autoPriceCents:2249,isRx:false},[ve.vetradent]:{priceCents:2199,autoPriceCents:1979,isRx:false},[ve.veggiedent]:{priceCents:999,autoPriceCents:899,isRx:false},[ve.greenies]:{priceCents:3999,autoPriceCents:null,isRx:false},[ve.trickyTreats]:{priceCents:1100,autoPriceCents:null,isRx:false},[ve.earWipes]:{priceCents:1499,autoPriceCents:null,isRx:false},[ve.douxoCalm]:{priceCents:1299,autoPriceCents:null,isRx:false}},_e=e=>careMockImg(`care-${e}.webp`),he=e=>careMockImg(`care-${e}-mask.webp`),ye={ref:"addr-home",label:"Home",isDefault:true,isComplete:true,address:{recipientName:null,line1:"1432 Irving St",line2:null,city:"San Francisco",region:"CA",postalCode:"94122",country:"US"}},me={paymentMethodId:"pm-care-v3-mock-visa",brand:"visa",last4:"4242",wallet:null},ge={recurringTermsVersion:"care-v3-mock",recurringTermsUrl:"https://care-v3-mock.everfur.invalid/recurring-terms",stripePublishableKey:null,delivery:null,freeShippingThresholdCents:3500,firstRxDiscountCents:5e3,firstRxDiscountCode:"VET50",firstAutoOrderPrice:null},we={[ve.apoquel]:{packQuantity:"30.0",packUnit:"each"}},be=[{rxId:"rx-apoquel",petId:pe,drug:"Apoquel",strength:"16 mg",form:"tablet",status:"ready",offerId:ve.apoquel,packCount:1,fillsUsed:null,fillsTotal:null,expiresOn:null,nextFillOn:null,supply:{unitsLeft:8,unitLabel:"tablets",dailyUnits:1,runsOutOn:"2026-10-01",refillArrivesOn:"2026-09-29"},prescriberName:"Dr. Goode",refillsTotal:null,refillsLeft:2},{rxId:"rx-simparica-trio",petId:pe,drug:"Simparica Trio",strength:"44.1 to 88 lb",form:"chew",status:"ready",offerId:ve.simparicaTrio,packCount:1,fillsUsed:null,fillsTotal:null,expiresOn:null,nextFillOn:"2026-10-05",supply:null,prescriberName:"Dr. Goode",refillsTotal:null,refillsLeft:8}],Te=(e,t)=>({key:e,doneAt:t}),Ee="order-care-v3-box-0923",Ce="order-care-v3-rx-0923",Se="order-care-v3-box-0815",Oe="order-care-v3-box-0718",Ie="2026-09-23T16:00:00Z",ke=[{orderId:Ee,referenceNumber:"EF-260923-4471",status:"accepted",total:3824,placedAt:Ie,itemCount:1,items:[{offerId:ve.salmonOil,title:"Zesty Paws Salmon Oil",quantity:1,imageUrl:_e("salmon-oil"),cutoutUrl:he("salmon-oil")}],fulfiller:"everfur_box",arrivesBy:"2026-09-26",steps:[Te("ordered_paid",Ie),Te("packing",null),Te("delivered",null)],currentStep:"packing",statusLineKey:"ships_tomorrow",prescriberName:null},{orderId:Ce,referenceNumber:"EF-260923-4471",status:"pending_handoff",total:1499,placedAt:Ie,itemCount:1,items:[{offerId:ve.apoquel,title:"Apoquel 16 mg",quantity:1,imageUrl:_e("apoquel"),cutoutUrl:he("apoquel")}],fulfiller:"pharmacy",arrivesBy:"2026-09-29",steps:[Te("ordered",Ie),Te("vet_ok",null),Te("filled_checked",null),Te("delivered",null)],currentStep:"vet_ok",statusLineKey:"needs_vet_ok",prescriberName:"Dr. Goode",clinicName:"Maplewood"},{orderId:Se,referenceNumber:null,status:"delivered",total:5428,placedAt:"2026-08-12T16:00:00Z",itemCount:3,items:[{offerId:ve.vetradent,title:"Vetradent dental chews",quantity:1,imageUrl:_e("vetradent")},{offerId:ve.earWipes,title:"Zymox Ear Wipes",quantity:1,imageUrl:_e("ear-wipes")},{offerId:ve.douxoCalm,title:"Douxo S3 Calm shampoo",quantity:1,imageUrl:_e("douxo-calm")}],fulfiller:"everfur_box",arrivesBy:"2026-08-15",steps:[Te("ordered_paid","2026-08-12T16:00:00Z"),Te("packing","2026-08-13T16:00:00Z"),Te("delivered","2026-08-15T18:00:00Z")],currentStep:"delivered",statusLineKey:"delivered",prescriberName:null},{orderId:Oe,referenceNumber:null,status:"delivered",total:5755,placedAt:"2026-07-15T16:00:00Z",itemCount:2,items:[{offerId:ve.dasuquin,title:"Dasuquin with MSM",quantity:1,imageUrl:_e("dasuquin")},{offerId:ve.fortiflora,title:"FortiFlora probiotic",quantity:1,imageUrl:_e("fortiflora")}],fulfiller:"everfur_box",arrivesBy:"2026-07-18",steps:[Te("ordered_paid","2026-07-15T16:00:00Z"),Te("packing","2026-07-16T16:00:00Z"),Te("delivered","2026-07-18T18:00:00Z")],currentStep:"delivered",statusLineKey:"delivered",prescriberName:null}],Re={[Ee]:[[ve.salmonOil,2969,256,false]],[Ce]:[[ve.apoquel,6499,0,true]],[Se]:[[ve.vetradent,2199,190,false],[ve.earWipes,1499,129,false],[ve.douxoCalm,1299,112,false]],[Oe]:[[ve.dasuquin,2799,241,false],[ve.fortiflora,2499,216,false]]};function careMockOrderDetail(e){let t=(Re[e.orderId]??[]).map(([t,r,n,i],a)=>{let o=e.items?.find(e=>e.offerId===t);return{lineId:`${e.orderId}-l${a+1}`,offerId:t,sku:t,title:o?.title??t,requiresRx:i,compounded:false,packQuantity:we[t]?.packQuantity??null,packUnit:we[t]?.packUnit??null,quantity:1,unitPrice:r,discount:i?5e3:0,tax:n,fulfillmentType:i?"pharmacy":"everfur_box",petId:pe,imageUrl:o?.imageUrl??null}}),r=t.reduce((e,t)=>e+t.unitPrice*t.quantity,0),n=t.reduce((e,t)=>e+t.discount,0),i=t.reduce((e,t)=>e+t.tax,0),a=e.status==="delivered";return{summary:e,lines:t,shipping:e.orderId===Ee?599:0,shippingTax:0,shipments:[],canCancel:!a,canReturn:false,canPay:false,paymentStatus:a||e.status==="shipped"?"captured":"authorized",refunds:[],returnIds:[],subtotal:r,discount:n,tax:i,arrivesBy:e.arrivesBy??null,tracking:null,steps:(e.steps??[]).map(e=>({key:e.key,done:e.doneAt!=null,at:e.doneAt})),paymentMethodId:me.paymentMethodId}}var Pe=[{planId:"plan-care-v3-simparica",lines:[{offerId:ve.simparicaTrio,quantity:1,petId:pe}],cadenceDays:30,destination:ye.ref,paymentMethodId:me.paymentMethodId,discountBps:0,nextRun:"2026-10-05",state:"active",stopReason:null,priceCentsPerCycle:3199,chargedWhenFilled:true,nextShipOn:"2026-10-05",skippedCycleOn:null,prescriberName:"Dr. Goode",refillsLeft:8,refillsTotal:null,autoDiscountPct:null,changeOptions:[xe(ve.simparicaTrio,"Simparica Trio","1 chew",1,3199,[30],true),xe(ve.simparicaTrio,"Simparica Trio","3 chews",3,9597,[90],false)]},{planId:"plan-care-v3-apoquel",lines:[{offerId:ve.apoquel,quantity:1,petId:pe}],cadenceDays:30,destination:ye.ref,paymentMethodId:me.paymentMethodId,discountBps:0,nextRun:"2026-10-27",state:"active",stopReason:null,priceCentsPerCycle:6499,chargedWhenFilled:true,nextShipOn:"2026-10-27",skippedCycleOn:null,prescriberName:"Dr. Goode",refillsLeft:2,refillsTotal:null,autoDiscountPct:null,changeOptions:[xe(ve.apoquel,"Apoquel 16 mg","30 tablets",1,6499,[30],true),xe(ve.apoquel,"Apoquel 16 mg","60 tablets",2,12998,[60],false)]},{planId:"plan-care-v3-salmon-oil",lines:[{offerId:ve.salmonOil,quantity:1,petId:pe}],cadenceDays:120,destination:ye.ref,paymentMethodId:me.paymentMethodId,discountBps:1e3,nextRun:"2027-01-21",state:"active",stopReason:null,priceCentsPerCycle:2969,chargedWhenFilled:false,nextShipOn:"2027-01-21",skippedCycleOn:null,prescriberName:null,refillsLeft:null,refillsTotal:null,autoDiscountPct:10,changeOptions:[xe(ve.salmonOil,"Zesty Paws Salmon Oil","32 fl oz",1,2969,[60,90,120,180],true)]}],qe={"plan-care-v3-simparica":{key:"last_dose",values:{unitLabel:"chew",doseOn:"2026-10-01",noneFor:"2026-11-01",lastsTo:null,weeks:null}},"plan-care-v3-apoquel":{key:"bottle_gap",values:{unitLabel:null,doseOn:null,noneFor:null,lastsTo:"2026-10-30",weeks:4}}};function xe(e,t,r,n,i,a,o){return{offerId:e,title:t,size:r,packQuantity:null,packUnit:null,unitLabel:null,quantity:n,priceCentsPerCycle:i,cadenceDays:a,current:o}}var Fe=[{offerId:ve.vetradent,title:"Vetradent chews",imageUrl:_e("vetradent"),priceCents:2199,lastOrderedOn:"2026-08-15",isRx:false,likelyOut:true},{offerId:ve.earWipes,title:"Zymox Ear Wipes",imageUrl:_e("ear-wipes"),priceCents:1499,lastOrderedOn:"2026-08-15",isRx:false,likelyOut:false},{offerId:ve.douxoCalm,title:"Douxo Calm shampoo",imageUrl:_e("douxo-calm"),priceCents:1299,lastOrderedOn:"2026-08-15",isRx:false,likelyOut:false},{offerId:ve.dasuquin,title:"Dasuquin with MSM",imageUrl:_e("dasuquin"),priceCents:2799,lastOrderedOn:"2026-07-18",isRx:false,likelyOut:false}],De=.08625;function careMockQuote(e,t=ge){let r=fe,n=t.taxRate??De,i=t.firstRxDiscountCents??0,a=e.map(e=>{let n=r[e.offerId],a=n?.priceCents??0,o=n?.isRx===true,l=n?.autoPriceCents,s=t.firstAutoOrderPrice==="auto"&&e.plan==="auto"&&typeof l=="number"&&l<a?(a-l)*e.quantity:0,d=o?Math.min(i,a*e.quantity-s):0;return i-=d,{l:e,unitPrice:a,isRx:o,off:d,cut:s,net:a*e.quantity-s}}),o=a.filter(e=>!e.isRx).reduce((e,t)=>e+t.net,0),l=a.filter(e=>e.isRx).reduce((e,t)=>e+t.net,0),s=a.reduce((e,t)=>e+t.off,0),d=Math.round(o*n),u=d,p=a.filter(e=>!e.isRx);return{lines:a.map(e=>{let t=0;return!e.isRx&&o>0&&(t=e===p[p.length-1]?u:Math.round(e.net*d/o),u-=t),{offerId:e.l.offerId,quantity:e.l.quantity,petId:e.l.petId??null,unitPrice:e.unitPrice,discount:e.cut+e.off,tax:t,whenFilledDiscountCents:e.isRx?e.off:null,isRx:e.isRx,chargedWhenFilled:e.isRx}}),shipping:0,tax:d,total:o+d+l-s,expiresAt:"2026-09-23T17:00:00Z",shipsOn:"2026-09-24",arrivesOn:"2026-09-26",whenFilledDiscountCents:s,dueTodayCents:o+d,dueWhenFilledCents:l-s}}export{ye as CARE_MOCK_ADDRESS,Fe as CARE_MOCK_BUY_AGAIN,me as CARE_MOCK_CARD,ue as CARE_MOCK_IMG,ve as CARE_MOCK_OFFER,ke as CARE_MOCK_ORDERS,Ee as CARE_MOCK_ORDER_BOX_ID,Se as CARE_MOCK_ORDER_PAST_AUG,Oe as CARE_MOCK_ORDER_PAST_JUL,Ce as CARE_MOCK_ORDER_RX_ID,we as CARE_MOCK_PACKS,ce as CARE_MOCK_PET_NO_RECORDS,pe as CARE_MOCK_PET_RECORDS,Pe as CARE_MOCK_PLANS,qe as CARE_MOCK_PLAN_SKIP_WARNINGS,be as CARE_MOCK_PRESCRIPTIONS,fe as CARE_MOCK_PRICES,ge as CARE_MOCK_SHOP_CONFIG,De as CARE_MOCK_TAX_RATE,de as CARE_MOCK_TODAY,X as MockTransport,H as bodies,careMockImg,careMockOrderDetail,careMockQuote,careMockSlugOf,B as wire};
@@ -3,23 +3,23 @@ export { E as EverfurError, a as EverfurErrorCategory, b as EverfurErrorCode } f
3
3
  export { E as EverfurResult } from '../../EverfurResult.d-BFH-3s6E.cjs';
4
4
  export { B as Brand, P as PetRef, R as RecordsRequestId, _ as __brand } from '../../ids.d-B2GAAifq.cjs';
5
5
  export { c as EverfurFontSource, d as EverfurFontWeight } from '../../tokens.d-DDiPRgye.cjs';
6
- export { C as ClientBranding, R as RadiusScale, S as SurfaceStyle } from '../../branding.d-CqDLKj1U.cjs';
6
+ export { C as ClientBranding, R as RadiusScale, S as SurfaceStyle } from '../../branding.d-DzSPLZKl.cjs';
7
7
  export { b as CapabilityDisabled, D as DisabledLevel, E as EntitlementDecision } from '../../resolve.d-BTC3b6FW.cjs';
8
- export { f as EntitlementSnapshot } from '../../runtimeTypes.d-BSxuUCOX.cjs';
8
+ export { f as EntitlementSnapshot } from '../../runtimeTypes.d-StvJY45N.cjs';
9
9
  export { l as RecordsRequestStatus, e as RecordsRequestView, m as RecordsSimpleStatus } from '../../models.d-D75NFs32.cjs';
10
10
  import { ReactNode } from 'react';
11
11
  import { R as RiskTier } from '../../PhotoController.d-Cb8Juile.cjs';
12
12
  export { EverfurTestEntitlements, RecordsSandboxActionResult, RecordsSandboxClinicReply, RecordsSandboxController, RecordsSandboxResult, VetVisitSandboxActionResult, VetVisitSandboxController, VetVisitSandboxEvent, VetVisitSandboxReminderStage, VetVisitSandboxResult, VetVisitSandboxStatus, VetVisitSandboxVisit, useEverfurRecordsSandbox, useEverfurTestEntitlements, useEverfurVetVisitSandbox } from '../web/index.cjs';
13
- import '../../presentation.d-BkIvMtIl.cjs';
14
- import '../../petsRepository.d-ai_tZ3lu.cjs';
15
- import '../../identity.d-DDpXOtas.cjs';
16
- import '../../config.d-ClAI2RZ6.cjs';
13
+ import '../../presentation.d-Br3TnwA6.cjs';
14
+ import '../../petsRepository.d-BeKRiNao.cjs';
15
+ import '../../identity.d-Dm0Buvn8.cjs';
16
+ import '../../config.d-Bn6GEGfl.cjs';
17
17
  import '../../profile.d-CSs1wlXT.cjs';
18
18
  import '../../ErrorPolicyPort.d-BIdmYQnk.cjs';
19
19
  import '../../cacheEpoch.d-DknKn3S0.cjs';
20
- import '../../checkin.d-CuIUahcd.cjs';
21
- import '../../casesRepository.d-CVuKTkJo.cjs';
22
- import '../../requestFunnel.d-BwZDfWVD.cjs';
20
+ import '../../checkin.d-DB-HlK7r.cjs';
21
+ import '../../casesRepository.d-DnanKXJ1.cjs';
22
+ import '../../requestFunnel.d-DoJWLySc.cjs';
23
23
  import '../../TelemetryPort.d-BDNr00hu.cjs';
24
24
  import '../../unreadStore.d-Donv4bcF.cjs';
25
25
  import '../../ports.d-BX4f4UsB.cjs';
@@ -3,23 +3,23 @@ export { E as EverfurError, a as EverfurErrorCategory, b as EverfurErrorCode } f
3
3
  export { E as EverfurResult } from '../../EverfurResult.d-D_-254ZY.js';
4
4
  export { B as Brand, P as PetRef, R as RecordsRequestId, _ as __brand } from '../../ids.d-B2GAAifq.js';
5
5
  export { c as EverfurFontSource, d as EverfurFontWeight } from '../../tokens.d-DDiPRgye.js';
6
- export { C as ClientBranding, R as RadiusScale, S as SurfaceStyle } from '../../branding.d-XrZYClN4.js';
6
+ export { C as ClientBranding, R as RadiusScale, S as SurfaceStyle } from '../../branding.d-D0LV3aFE.js';
7
7
  export { b as CapabilityDisabled, D as DisabledLevel, E as EntitlementDecision } from '../../resolve.d-BTC3b6FW.js';
8
- export { f as EntitlementSnapshot } from '../../runtimeTypes.d-hjN6xvxm.js';
8
+ export { f as EntitlementSnapshot } from '../../runtimeTypes.d-Bp2VW6YE.js';
9
9
  export { l as RecordsRequestStatus, e as RecordsRequestView, m as RecordsSimpleStatus } from '../../models.d-C7d9Li6n.js';
10
10
  import { ReactNode } from 'react';
11
11
  import { R as RiskTier } from '../../PhotoController.d-BrFJ2lAc.js';
12
12
  export { EverfurTestEntitlements, RecordsSandboxActionResult, RecordsSandboxClinicReply, RecordsSandboxController, RecordsSandboxResult, VetVisitSandboxActionResult, VetVisitSandboxController, VetVisitSandboxEvent, VetVisitSandboxReminderStage, VetVisitSandboxResult, VetVisitSandboxStatus, VetVisitSandboxVisit, useEverfurRecordsSandbox, useEverfurTestEntitlements, useEverfurVetVisitSandbox } from '../web/index.js';
13
- import '../../presentation.d-BkIvMtIl.js';
14
- import '../../petsRepository.d-_QfM7F6T.js';
15
- import '../../identity.d-D4VtpqRr.js';
16
- import '../../config.d-B7Z-KTGq.js';
13
+ import '../../presentation.d-Br3TnwA6.js';
14
+ import '../../petsRepository.d-BjwB1vku.js';
15
+ import '../../identity.d-Bex_XJZx.js';
16
+ import '../../config.d-Bc41Ax6M.js';
17
17
  import '../../profile.d-CSs1wlXT.js';
18
18
  import '../../ErrorPolicyPort.d-BnI5qWg4.js';
19
19
  import '../../cacheEpoch.d-DknKn3S0.js';
20
- import '../../checkin.d-BoZXWjxX.js';
21
- import '../../casesRepository.d-Dn1fK1b2.js';
22
- import '../../requestFunnel.d-DKBPTpsy.js';
20
+ import '../../checkin.d-DogrR06X.js';
21
+ import '../../casesRepository.d-_4QucKVC.js';
22
+ import '../../requestFunnel.d-C_NMgz9R.js';
23
23
  import '../../TelemetryPort.d-BDNr00hu.js';
24
24
  import '../../unreadStore.d-CLnChKca.js';
25
25
  import '../../ports.d-BX4f4UsB.js';
@@ -1,5 +1,5 @@
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 { f as EntitlementSnapshot } from '../../runtimeTypes.d-BSxuUCOX.cjs';
2
+ import { f as EntitlementSnapshot } from '../../runtimeTypes.d-StvJY45N.cjs';
3
3
  import { E as EverfurResult } from '../../EverfurResult.d-BFH-3s6E.cjs';
4
4
  import { R as RecordsRequestId, P as PetRef } from '../../ids.d-B2GAAifq.cjs';
5
5
  export { B as Brand, _ as __brand } from '../../ids.d-B2GAAifq.cjs';
@@ -7,24 +7,24 @@ import { e as RecordsRequestView } from '../../models.d-D75NFs32.cjs';
7
7
  export { l as RecordsRequestStatus, m as RecordsSimpleStatus } from '../../models.d-D75NFs32.cjs';
8
8
  export { E as EverfurError, a as EverfurErrorCategory, b as EverfurErrorCode } from '../../EverfurError.d-8NHtlgzA.cjs';
9
9
  export { c as EverfurFontSource, d as EverfurFontWeight } from '../../tokens.d-DDiPRgye.cjs';
10
- export { C as ClientBranding, R as RadiusScale, S as SurfaceStyle } from '../../branding.d-CqDLKj1U.cjs';
10
+ export { C as ClientBranding, R as RadiusScale, S as SurfaceStyle } from '../../branding.d-DzSPLZKl.cjs';
11
11
  export { b as CapabilityDisabled, D as DisabledLevel, E as EntitlementDecision } from '../../resolve.d-BTC3b6FW.cjs';
12
- import '../../petsRepository.d-ai_tZ3lu.cjs';
13
- import '../../identity.d-DDpXOtas.cjs';
14
- import '../../config.d-ClAI2RZ6.cjs';
12
+ import '../../petsRepository.d-BeKRiNao.cjs';
13
+ import '../../identity.d-Dm0Buvn8.cjs';
14
+ import '../../config.d-Bn6GEGfl.cjs';
15
15
  import '../../profile.d-CSs1wlXT.cjs';
16
16
  import '../../ErrorPolicyPort.d-BIdmYQnk.cjs';
17
17
  import '../../cacheEpoch.d-DknKn3S0.cjs';
18
- import '../../checkin.d-CuIUahcd.cjs';
19
- import '../../casesRepository.d-CVuKTkJo.cjs';
20
- import '../../requestFunnel.d-BwZDfWVD.cjs';
18
+ import '../../checkin.d-DB-HlK7r.cjs';
19
+ import '../../casesRepository.d-DnanKXJ1.cjs';
20
+ import '../../requestFunnel.d-DoJWLySc.cjs';
21
21
  import '../../TelemetryPort.d-BDNr00hu.cjs';
22
22
  import '../../unreadStore.d-Donv4bcF.cjs';
23
23
  import '../../ports.d-BX4f4UsB.cjs';
24
24
  import '../../CameraPort.d-Cv31Pz7g.cjs';
25
25
  import '../../sdkConfigStore.d-C2BAr9kI.cjs';
26
26
  import '../../parse.d-BDZ7ffgj.cjs';
27
- import '../../presentation.d-BkIvMtIl.cjs';
27
+ import '../../presentation.d-Br3TnwA6.cjs';
28
28
 
29
29
  /** The testing seam handle: apply a resolved verdict to THIS provider's runtime. */
30
30
  interface EverfurTestEntitlements {
@@ -1,5 +1,5 @@
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 { f as EntitlementSnapshot } from '../../runtimeTypes.d-hjN6xvxm.js';
2
+ import { f as EntitlementSnapshot } from '../../runtimeTypes.d-Bp2VW6YE.js';
3
3
  import { E as EverfurResult } from '../../EverfurResult.d-D_-254ZY.js';
4
4
  import { R as RecordsRequestId, P as PetRef } from '../../ids.d-B2GAAifq.js';
5
5
  export { B as Brand, _ as __brand } from '../../ids.d-B2GAAifq.js';
@@ -7,24 +7,24 @@ import { e as RecordsRequestView } from '../../models.d-C7d9Li6n.js';
7
7
  export { l as RecordsRequestStatus, m as RecordsSimpleStatus } from '../../models.d-C7d9Li6n.js';
8
8
  export { E as EverfurError, a as EverfurErrorCategory, b as EverfurErrorCode } from '../../EverfurError.d-8NHtlgzA.js';
9
9
  export { c as EverfurFontSource, d as EverfurFontWeight } from '../../tokens.d-DDiPRgye.js';
10
- export { C as ClientBranding, R as RadiusScale, S as SurfaceStyle } from '../../branding.d-XrZYClN4.js';
10
+ export { C as ClientBranding, R as RadiusScale, S as SurfaceStyle } from '../../branding.d-D0LV3aFE.js';
11
11
  export { b as CapabilityDisabled, D as DisabledLevel, E as EntitlementDecision } from '../../resolve.d-BTC3b6FW.js';
12
- import '../../petsRepository.d-_QfM7F6T.js';
13
- import '../../identity.d-D4VtpqRr.js';
14
- import '../../config.d-B7Z-KTGq.js';
12
+ import '../../petsRepository.d-BjwB1vku.js';
13
+ import '../../identity.d-Bex_XJZx.js';
14
+ import '../../config.d-Bc41Ax6M.js';
15
15
  import '../../profile.d-CSs1wlXT.js';
16
16
  import '../../ErrorPolicyPort.d-BnI5qWg4.js';
17
17
  import '../../cacheEpoch.d-DknKn3S0.js';
18
- import '../../checkin.d-BoZXWjxX.js';
19
- import '../../casesRepository.d-Dn1fK1b2.js';
20
- import '../../requestFunnel.d-DKBPTpsy.js';
18
+ import '../../checkin.d-DogrR06X.js';
19
+ import '../../casesRepository.d-_4QucKVC.js';
20
+ import '../../requestFunnel.d-C_NMgz9R.js';
21
21
  import '../../TelemetryPort.d-BDNr00hu.js';
22
22
  import '../../unreadStore.d-CLnChKca.js';
23
23
  import '../../ports.d-BX4f4UsB.js';
24
24
  import '../../CameraPort.d-Cv31Pz7g.js';
25
25
  import '../../sdkConfigStore.d-BNCVVEWC.js';
26
26
  import '../../parse.d-BDZ7ffgj.js';
27
- import '../../presentation.d-BkIvMtIl.js';
27
+ import '../../presentation.d-Br3TnwA6.js';
28
28
 
29
29
  /** The testing seam handle: apply a resolved verdict to THIS provider's runtime. */
30
30
  interface EverfurTestEntitlements {