@everfur/sdk 0.17.0 → 0.18.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +167 -26
- package/care/package.json +8 -0
- package/dist/{Chat.d-uETscjrL.d.ts → Chat.d-Bz4iJ7d2.d.ts} +1 -1
- package/dist/{Chat.d-BYY1U61e.d.cts → Chat.d-C2ddC2u7.d.cts} +1 -1
- package/dist/{DepthViews.d-BsZ73mzL.d.ts → DepthViews.d-C6-Kzs6H.d.ts} +1 -1
- package/dist/{DepthViews.d-D_Qp4glO.d.cts → DepthViews.d-Chjs8H9V.d.cts} +1 -1
- package/dist/{DepthViews.d-DL8MP_kA.d.cts → DepthViews.d-pFL_ZBZT.d.cts} +1 -1
- package/dist/{DepthViews.d-B4SE5GUD.d.ts → DepthViews.d-qXt9OMgz.d.ts} +1 -1
- package/dist/{RecordsPage.d-CYotk2R9.d.cts → RecordsPage.d-Cmny6Q7g.d.cts} +2 -2
- package/dist/{RecordsPage.d-D4gP4leq.d.ts → RecordsPage.d-sNRolVdy.d.ts} +2 -2
- package/dist/animations/index.d.cts +5 -5
- package/dist/animations/index.d.ts +5 -5
- package/dist/{appStateLifecycle.d-DJXdDOJY.d.cts → appStateLifecycle.d-Bt70TQog.d.cts} +7 -7
- package/dist/{appStateLifecycle.d-CXJzBS3c.d.ts → appStateLifecycle.d-Jdg9_PFt.d.ts} +7 -7
- package/dist/{attachments.d-B8kOCb6q.d.cts → attachments.d-BVp3r6Ms.d.cts} +5 -5
- package/dist/{attachments.d-C61URT8r.d.cts → attachments.d-CF4_n-DZ.d.cts} +2 -2
- package/dist/{attachments.d-BTIGzXWD.d.ts → attachments.d-DnSCMjH0.d.ts} +5 -5
- package/dist/{attachments.d-BgatKf7d.d.ts → attachments.d-DsUZpMad.d.ts} +2 -2
- package/dist/{bookingCopy.d-B-bSYgqS.d.cts → bookingCopy.d-BHqE9Ozq.d.cts} +16 -16
- package/dist/{bookingCopy.d-JQW2SLM-.d.ts → bookingCopy.d-Ca4AQGZ7.d.ts} +16 -16
- package/dist/{branding.d-Bbc6p1XY.d.cts → branding.d-BFauULV6.d.cts} +1 -1
- package/dist/{branding.d-y6c0UwhE.d.ts → branding.d-DpNGEdDL.d.ts} +1 -1
- package/dist/care/index.cjs +3 -0
- package/dist/care/index.d.cts +434 -0
- package/dist/care/index.d.ts +434 -0
- package/dist/care/index.js +3 -0
- package/dist/{casesRepository.d-CVG2EXcg.d.cts → casesRepository.d-DFwD2kiS.d.cts} +1 -1
- package/dist/{casesRepository.d-CHEjzT4h.d.ts → casesRepository.d-VzxEyq2N.d.ts} +1 -1
- package/dist/chat/index.cjs +14 -13
- package/dist/chat/index.d.cts +13 -13
- package/dist/chat/index.d.ts +13 -13
- package/dist/chat/index.js +14 -13
- package/dist/chat/lite/index.cjs +14 -13
- package/dist/chat/lite/index.d.cts +13 -13
- package/dist/chat/lite/index.d.ts +13 -13
- package/dist/chat/lite/index.js +14 -13
- package/dist/chunk-Y3Q4GW47.js +31 -0
- package/dist/client/index.cjs +1 -1
- package/dist/client/index.d.cts +10 -10
- package/dist/client/index.d.ts +10 -10
- package/dist/client/index.js +1 -1
- package/dist/{clinicBatch.d-DdlFy4pD.d.cts → clinicBatch.d-CLqaih2C.d.cts} +2 -2
- package/dist/{clinicBatch.d-oNwH_dbI.d.ts → clinicBatch.d-DXDIL1lC.d.ts} +2 -2
- package/dist/{config.d-Cy_hJBJG.d.cts → config.d-7bCXvOGn.d.cts} +1 -1
- package/dist/{config.d-DopRLD4f.d.ts → config.d-cqyvpzDb.d.ts} +1 -1
- package/dist/consent/index.d.cts +5 -5
- package/dist/consent/index.d.ts +5 -5
- package/dist/{context.d-C42juGn6.d.cts → context.d-BeRanUXQ.d.cts} +7 -7
- package/dist/{context.d-Ban-Hhqu.d.ts → context.d-DAnmDYGr.d.ts} +7 -7
- package/dist/{copy.d-BTS5l6Ri.d.cts → copy.d-BPqs8swm.d.cts} +2 -2
- package/dist/{copy.d-qdbygul9.d.ts → copy.d-CxFzeuvo.d.ts} +2 -2
- package/dist/core/index.cjs +1 -1
- package/dist/core/index.d.cts +17 -17
- package/dist/core/index.d.ts +17 -17
- package/dist/core/index.js +1 -1
- package/dist/{depth.d-BGkHm2Se.d.ts → depth.d-C6XbnFig.d.ts} +2 -2
- package/dist/{depth.d-BfVrhq9o.d.cts → depth.d-qHdXHDd-.d.cts} +2 -2
- package/dist/{entitlementRepository.d-npT7L_7_.d.cts → entitlementRepository.d-C6uTDswj.d.cts} +4 -4
- package/dist/{entitlementRepository.d-CjwqCyhS.d.ts → entitlementRepository.d-D_cc7g4l.d.ts} +4 -4
- package/dist/{focus.d-S0nq_k1A.d.ts → focus.d-DiWvQR2j.d.ts} +193 -21
- package/dist/{focus.d-DS7Ze1Pp.d.cts → focus.d-HSkMHd-i.d.cts} +193 -21
- package/dist/health-plan/index.cjs +261 -176
- package/dist/health-plan/index.d.cts +627 -19
- package/dist/health-plan/index.d.ts +627 -19
- package/dist/health-plan/index.js +261 -176
- package/dist/{idempotency.d-COIrwuCb.d.ts → idempotency.d-CF5AvlYp.d.ts} +18 -639
- package/dist/{idempotency.d-gfiN4Qnp.d.cts → idempotency.d-DrO2zEZO.d.cts} +18 -639
- package/dist/{identity.d-D76vXtkJ.d.cts → identity.d-84x0dV7-.d.cts} +1 -1
- package/dist/{identity.d-B3mFvvRq.d.ts → identity.d-BXztMVYM.d.ts} +1 -1
- package/dist/index.cjs +12 -11
- package/dist/index.d.cts +21 -21
- package/dist/index.d.ts +21 -21
- package/dist/index.js +12 -11
- package/dist/{introEvents.d-3FLEemX3.d.cts → introEvents.d-Cwv72ER-.d.cts} +11 -11
- package/dist/{introEvents.d-BYnr37bd.d.ts → introEvents.d-DYU3znJs.d.ts} +11 -11
- package/dist/notifications/index.d.cts +4 -4
- package/dist/notifications/index.d.ts +4 -4
- package/dist/omsErrors.d-VF5tnr20.d.cts +633 -0
- package/dist/omsErrors.d-VF5tnr20.d.ts +633 -0
- package/dist/omsFields.d-BHntKIAH.d.cts +153 -0
- package/dist/omsFields.d-Cvfw8wWU.d.ts +153 -0
- package/dist/{optInView.d-DXRUGDiD.d.cts → optInView.d-4Hl4HbQh.d.cts} +3 -3
- package/dist/{optInView.d-BqFMcum4.d.ts → optInView.d-pq8tUTf6.d.ts} +3 -3
- package/dist/{parse.d-CY22hFxb.d.ts → parse.d-BJhhYfkv.d.ts} +1 -1
- package/dist/{parse.d-rvA_aRSO.d.cts → parse.d-D0v06qxx.d.cts} +1 -1
- package/dist/{pets.d-Cicz-aIO.d.ts → pets.d-1_CHpfgB.d.ts} +1 -1
- package/dist/{pets.d-RoHTZsaV.d.cts → pets.d-C4n-MDC4.d.cts} +1 -1
- package/dist/{petsRepository.d-DtAZf_Ja.d.ts → petsRepository.d-BuomdFjZ.d.ts} +1 -1
- package/dist/{petsRepository.d-BxMyt6Aj.d.cts → petsRepository.d-Dd95xh-M.d.cts} +1 -1
- package/dist/{ports.d-D7cjFUoL.d.cts → ports.d-Bf3tp7Pn.d.cts} +4 -4
- package/dist/{ports.d-DrgKa73F.d.ts → ports.d-ChZHFd-q.d.ts} +4 -4
- package/dist/{presentation.d-vy8kTGfR.d.cts → presentation.d-Bs8xQ4gD.d.cts} +4 -4
- package/dist/{presentation.d-vy8kTGfR.d.ts → presentation.d-Bs8xQ4gD.d.ts} +4 -4
- package/dist/records/depth/index.d.cts +9 -9
- package/dist/records/depth/index.d.ts +9 -9
- package/dist/records/index.cjs +11 -10
- package/dist/records/index.d.cts +24 -23
- package/dist/records/index.d.ts +24 -23
- package/dist/records/index.js +11 -10
- package/dist/{requestFunnel.d-BdQf53zs.d.cts → requestFunnel.d-CWI2pD3V.d.cts} +2 -2
- package/dist/{requestFunnel.d-B5y7Py8Z.d.ts → requestFunnel.d-DcQIAs45.d.ts} +2 -2
- package/dist/{resolve.d-CoQWUy1Y.d.cts → resolve.d-BTC3b6FW.d.cts} +1 -1
- package/dist/{resolve.d-CoQWUy1Y.d.ts → resolve.d-BTC3b6FW.d.ts} +1 -1
- package/dist/{runtimeTypes.d-r4Q5vASZ.d.cts → runtimeTypes.d-CIOVzjEK.d.cts} +6 -6
- package/dist/{runtimeTypes.d-D5EDgS3Y.d.ts → runtimeTypes.d-rbuONrIv.d.ts} +6 -6
- package/dist/{screenProps.d-v4a4kzxA.d.cts → screenProps.d-CFZe27oI.d.cts} +1 -1
- package/dist/{screenProps.d-KLCrP43b.d.ts → screenProps.d-yUA4k6yK.d.ts} +1 -1
- package/dist/server/events/index.cjs +2 -2
- package/dist/server/events/index.d.cts +49 -6
- package/dist/server/events/index.d.ts +49 -6
- package/dist/server/events/index.js +2 -2
- package/dist/server/index.cjs +1 -1
- package/dist/server/index.d.cts +3 -3
- package/dist/server/index.d.ts +3 -3
- package/dist/server/index.js +1 -1
- package/dist/shop/index.cjs +6 -6
- package/dist/shop/index.d.cts +9 -8
- package/dist/shop/index.d.ts +9 -8
- package/dist/shop/index.js +6 -6
- package/dist/shop/orders-v2/index.d.cts +2 -2
- package/dist/shop/orders-v2/index.d.ts +2 -2
- package/dist/tabs/index.cjs +4 -4
- package/dist/tabs/index.d.cts +14 -14
- package/dist/tabs/index.d.ts +14 -14
- package/dist/tabs/index.js +4 -4
- package/dist/{tabsModel.d-B7QMug1u.d.ts → tabsModel.d-D9GWPFrL.d.cts} +1 -1
- package/dist/{tabsModel.d-B7QMug1u.d.cts → tabsModel.d-D9GWPFrL.d.ts} +1 -1
- package/dist/televet/booking/index.d.cts +6 -6
- package/dist/televet/booking/index.d.ts +6 -6
- package/dist/testing/index.cjs +1 -1
- package/dist/testing/index.d.cts +85 -2
- package/dist/testing/index.d.ts +85 -2
- package/dist/testing/index.js +1 -1
- package/dist/testing/rn/index.d.cts +10 -10
- package/dist/testing/rn/index.d.ts +10 -10
- package/dist/testing/web/index.d.cts +10 -10
- package/dist/testing/web/index.d.ts +10 -10
- package/dist/texting/index.d.cts +6 -6
- package/dist/texting/index.d.ts +6 -6
- package/dist/{threadOptions.d-EFJaNBP1.d.cts → threadOptions.d-CRbFXnlq.d.cts} +66 -11
- package/dist/{threadOptions.d-GPJPprkn.d.cts → threadOptions.d-CW51PyVd.d.cts} +28 -1
- package/dist/{threadOptions.d-GPJPprkn.d.ts → threadOptions.d-CW51PyVd.d.ts} +28 -1
- package/dist/{threadOptions.d-B0folrKm.d.cts → threadOptions.d-U5YBUKM-.d.ts} +2 -2
- package/dist/{threadOptions.d-Crh_LiDe.d.ts → threadOptions.d-aK8FkszA.d.ts} +66 -11
- package/dist/{threadOptions.d-DTsJFkL-.d.ts → threadOptions.d-bEAFkIsC.d.cts} +2 -2
- package/dist/{timelineRows.d-DpSis9HR.d.ts → timelineRows.d-BbCLvjy1.d.ts} +1 -1
- package/dist/{timelineRows.d-6-Cw8xGd.d.cts → timelineRows.d-BvA_BoOe.d.cts} +1 -1
- package/dist/{typeStyle.d-B3Kdtjie.d.ts → typeStyle.d-B9Jo5mDX.d.ts} +1 -1
- package/dist/{typeStyle.d-DmlwyJq-.d.cts → typeStyle.d-Ckdh_S-t.d.cts} +1 -1
- package/dist/types.d-d3RdaeAA.d.cts +317 -0
- package/dist/types.d-d3RdaeAA.d.ts +317 -0
- package/dist/ui/index.cjs +68 -0
- package/dist/ui/index.d.cts +73 -0
- package/dist/ui/index.d.ts +73 -0
- package/dist/ui/index.js +68 -0
- package/dist/useHealthPlanSubscription.d-BN40CVK6.d.cts +756 -0
- package/dist/useHealthPlanSubscription.d-BYehTI7R.d.ts +756 -0
- package/dist/{usePresentation.d-CRG3Gaaq.d.ts → usePresentation.d-BfcyAEFt.d.ts} +66 -7
- package/dist/{usePresentation.d-C8rqY56C.d.cts → usePresentation.d-C39kKhoO.d.cts} +66 -7
- package/dist/{useRecordsDepth.d-DlRda5jp.d.ts → useRecordsDepth.d-B2ewVbRm.d.ts} +1 -1
- package/dist/{useRecordsDepth.d-BYk7m7gF.d.cts → useRecordsDepth.d-CKXAAHXI.d.cts} +1 -1
- package/dist/{view.d-DuIXHr08.d.ts → view.d-BnUDSQXz.d.ts} +3 -3
- package/dist/{view.d-B31M8rCG.d.cts → view.d-CbcJKNJj.d.cts} +1 -1
- package/dist/{view.d-B31M8rCG.d.ts → view.d-CbcJKNJj.d.ts} +1 -1
- package/dist/{view.d-CLpEHKOp.d.cts → view.d-DTNPjiZ1.d.cts} +3 -3
- package/dist/web/consent/index.d.cts +5 -5
- package/dist/web/consent/index.d.ts +5 -5
- package/dist/web/health-plan/index.cjs +335 -180
- package/dist/web/health-plan/index.d.cts +576 -19
- package/dist/web/health-plan/index.d.ts +576 -19
- package/dist/web/health-plan/index.js +297 -162
- package/dist/web/health-plan/styles.css +233 -0
- package/dist/web/health-plan/today/index.cjs +7 -0
- package/dist/web/health-plan/today/index.d.cts +15 -0
- package/dist/web/health-plan/today/index.d.ts +15 -0
- package/dist/web/health-plan/today/index.js +7 -0
- package/dist/web/index.cjs +36 -33
- package/dist/web/index.d.cts +60 -37
- package/dist/web/index.d.ts +60 -37
- package/dist/web/index.js +36 -33
- package/dist/web/intro/index.cjs +2 -2
- package/dist/web/intro/index.d.cts +8 -8
- package/dist/web/intro/index.d.ts +8 -8
- package/dist/web/intro/index.js +2 -2
- package/dist/web/notifications/index.d.cts +3 -3
- package/dist/web/notifications/index.d.ts +3 -3
- package/dist/web/records/depth/index.d.cts +9 -9
- package/dist/web/records/depth/index.d.ts +9 -9
- package/dist/web/records/index.cjs +1 -1
- package/dist/web/records/index.d.cts +11 -11
- package/dist/web/records/index.d.ts +11 -11
- package/dist/web/records/index.js +1 -1
- package/dist/web/records-sheet/index.cjs +13 -12
- package/dist/web/records-sheet/index.d.cts +13 -10
- package/dist/web/records-sheet/index.d.ts +13 -10
- package/dist/web/records-sheet/index.js +13 -12
- package/dist/web/shop/index.cjs +6 -6
- package/dist/web/shop/index.d.cts +8 -7
- package/dist/web/shop/index.d.ts +8 -7
- package/dist/web/shop/index.js +6 -6
- package/dist/web/shop/orders-v2/index.d.cts +1 -1
- package/dist/web/shop/orders-v2/index.d.ts +1 -1
- package/dist/web/televet/booking/index.cjs +1 -1
- package/dist/web/televet/booking/index.d.cts +6 -6
- package/dist/web/televet/booking/index.d.ts +6 -6
- package/dist/web/televet/booking/index.js +1 -1
- package/dist/web/texting/index.cjs +1 -1
- package/dist/web/texting/index.d.cts +6 -6
- package/dist/web/texting/index.d.ts +6 -6
- package/dist/web/texting/index.js +1 -1
- package/dist/web/ui/index.cjs +70 -0
- package/dist/web/ui/index.d.cts +78 -0
- package/dist/web/ui/index.d.ts +78 -0
- package/dist/web/ui/index.js +48 -0
- package/dist/web/ui/styles.css +244 -0
- package/package.json +71 -5
- package/ui/package.json +8 -0
- package/web/health-plan/today/native-blocked.cjs +12 -0
- package/web/health-plan/today/package.json +8 -0
- package/web/ui/native-blocked.cjs +12 -0
- package/web/ui/package.json +8 -0
- package/dist/useHealthPlanSubscription.d-DD30EkUR.d.ts +0 -205
- package/dist/useHealthPlanSubscription.d-DWrzUXf4.d.cts +0 -205
|
@@ -0,0 +1,153 @@
|
|
|
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 { O as OmsAddressInput, a as OmsBuyAgainItem, b as OmsOrder, c as OmsOrderSummary, d as OmsOrderItem, e as OmsOrderPage, f as OmsPlan, g as OmsQuote, h as OmsReceipt, i as OmsShopConfig, j as OmsError } from './omsErrors.d-VF5tnr20.cjs';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* EFBackend `oms.first_auto_order_price`: the unit price a first order on auto-refill shows and is charged. "once":
|
|
6
|
+
* the one-time price, the plan's discount starts with the next shipment. "auto": the auto price now.
|
|
7
|
+
*/
|
|
8
|
+
type CareFirstAutoOrderPrice = 'once' | 'auto';
|
|
9
|
+
/** Shop-config, with the settings the SDK does not map. */
|
|
10
|
+
type CareOmsShopConfig = OmsShopConfig & {
|
|
11
|
+
readonly firstAutoOrderPrice?: CareFirstAutoOrderPrice | null;
|
|
12
|
+
/** EFB #2354 `first_rx_discount_code` ("VET50"); null with no discount or from an older server. */
|
|
13
|
+
readonly firstRxDiscountCode?: string | null;
|
|
14
|
+
/** `rx_ships_to_states`: the states a prescription ships to (two-letter codes); null when unrestricted. */
|
|
15
|
+
readonly rxShipsToStates?: readonly string[] | null;
|
|
16
|
+
};
|
|
17
|
+
/** An order's item, with its cutout (`cutout_url`). */
|
|
18
|
+
type CareOmsOrderItem = OmsOrderItem & {
|
|
19
|
+
readonly cutoutUrl?: string | null;
|
|
20
|
+
};
|
|
21
|
+
/** An order list entry, with the fields EFB #2354 and later add. */
|
|
22
|
+
type CareOmsOrderSummary = Omit<OmsOrderSummary, 'items'> & {
|
|
23
|
+
readonly items?: readonly CareOmsOrderItem[] | null;
|
|
24
|
+
/** `clinic_name`: the practice the prescription was written under. */
|
|
25
|
+
readonly clinicName?: string | null;
|
|
26
|
+
/** `pet_id`: the one pet its lines name; null when none or more than one. */
|
|
27
|
+
readonly petId?: string | null;
|
|
28
|
+
/** `line_count`: how many lines the order has (its `items` may draw fewer). */
|
|
29
|
+
readonly lineCount?: number | null;
|
|
30
|
+
/** `needs_payment`: its payment hold needs the member. */
|
|
31
|
+
readonly needsPayment?: boolean | null;
|
|
32
|
+
/** `discount_code`: the code its discount was taken with ("VET50"). */
|
|
33
|
+
readonly discountCode?: string | null;
|
|
34
|
+
};
|
|
35
|
+
type CareOmsOrderPage = Omit<OmsOrderPage, 'orders'> & {
|
|
36
|
+
readonly orders: readonly CareOmsOrderSummary[];
|
|
37
|
+
};
|
|
38
|
+
/** An order, with its summary's fields and its card action link (`card_action_link`). */
|
|
39
|
+
type CareOmsOrder = Omit<OmsOrder, 'summary'> & {
|
|
40
|
+
readonly summary: CareOmsOrderSummary;
|
|
41
|
+
readonly cardActionLink?: string | {
|
|
42
|
+
readonly url?: string | null;
|
|
43
|
+
} | null;
|
|
44
|
+
};
|
|
45
|
+
/** A plan, with its first line's title and photo (EFB #2354) and the day a paused plan ships once resumed. */
|
|
46
|
+
type CareOmsPlan = OmsPlan & {
|
|
47
|
+
readonly title?: string | null;
|
|
48
|
+
readonly imageUrl?: string | null;
|
|
49
|
+
readonly resumeShipOn?: string | null;
|
|
50
|
+
};
|
|
51
|
+
/** A Buy again item, with the pet its newest line was for (EFB #2354 `pet_id`). */
|
|
52
|
+
type CareOmsBuyAgainItem = OmsBuyAgainItem & {
|
|
53
|
+
readonly petId?: string | null;
|
|
54
|
+
};
|
|
55
|
+
/** A quote. Its estimated ship and arrival days (`ships_on`, `arrives_on`) are now `OmsQuote` fields the SDK maps. */
|
|
56
|
+
type CareOmsQuote = OmsQuote;
|
|
57
|
+
/** A receipt, with what its succeeded refunds gave back (`refunded_cents`) and the day of the last (`refunded_on`). */
|
|
58
|
+
type CareOmsReceipt = OmsReceipt & {
|
|
59
|
+
readonly refundedCents?: number | null;
|
|
60
|
+
readonly refundedOn?: string | null;
|
|
61
|
+
};
|
|
62
|
+
/** Where a searched address is (`location` on an address write and read). */
|
|
63
|
+
interface CareOmsAddressLocation {
|
|
64
|
+
readonly latitude: number;
|
|
65
|
+
readonly longitude: number;
|
|
66
|
+
readonly placeId: string;
|
|
67
|
+
}
|
|
68
|
+
/** An address write, with the `location` of an address picked from the search. */
|
|
69
|
+
type CareOmsAddressInput = OmsAddressInput & {
|
|
70
|
+
readonly location?: CareOmsAddressLocation | null;
|
|
71
|
+
};
|
|
72
|
+
/** A `too_soon` confirm refusal, with the day the refill can be taken (`available_on`, YYYY-MM-DD). */
|
|
73
|
+
type CareOmsTooSoonRefusal = Extract<OmsError, {
|
|
74
|
+
readonly kind: 'refused';
|
|
75
|
+
}> & {
|
|
76
|
+
readonly availableOn?: string | null;
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* Shop-config's `first_auto_order_price`: "once" | "auto", else null.
|
|
80
|
+
*
|
|
81
|
+
* @beta
|
|
82
|
+
*/
|
|
83
|
+
declare function firstAutoOrderPriceOf(raw: unknown): CareFirstAutoOrderPrice | null;
|
|
84
|
+
/**
|
|
85
|
+
* Shop-config's `first_rx_discount_code`: a short non-empty code (32 or fewer characters), trimmed; else null.
|
|
86
|
+
*
|
|
87
|
+
* @beta
|
|
88
|
+
*/
|
|
89
|
+
declare function firstRxDiscountCodeOf(raw: unknown): string | null;
|
|
90
|
+
/**
|
|
91
|
+
* Shop-config's `rx_ships_to_states`: two-letter codes, upper-cased; null when absent, empty or not all codes
|
|
92
|
+
* (unrestricted, never guessed).
|
|
93
|
+
*
|
|
94
|
+
* @beta
|
|
95
|
+
*/
|
|
96
|
+
declare function rxShipsToStatesOf(raw: unknown): readonly string[] | null;
|
|
97
|
+
/**
|
|
98
|
+
* A confirm refusal body's `available_on`: a YYYY-MM-DD day on a `too_soon` refusal, else null.
|
|
99
|
+
*
|
|
100
|
+
* @beta
|
|
101
|
+
*/
|
|
102
|
+
declare function tooSoonOnOf(raw: unknown): string | null;
|
|
103
|
+
/**
|
|
104
|
+
* An address answer's `location` ({latitude, longitude, place_id}); null when absent or out of range.
|
|
105
|
+
*
|
|
106
|
+
* @beta
|
|
107
|
+
*/
|
|
108
|
+
declare function addressLocationOf(raw: unknown): CareOmsAddressLocation | null;
|
|
109
|
+
/**
|
|
110
|
+
* The wire `location` an address write carries (`{latitude, longitude, place_id}`).
|
|
111
|
+
*
|
|
112
|
+
* @beta
|
|
113
|
+
*/
|
|
114
|
+
declare function addressLocationToWire(location: CareOmsAddressLocation): {
|
|
115
|
+
latitude: number;
|
|
116
|
+
longitude: number;
|
|
117
|
+
place_id: string;
|
|
118
|
+
};
|
|
119
|
+
/**
|
|
120
|
+
* `GET /orders` and `GET /buy-again` for one pet: the URL with `pet_id` set (EFB #2354; an older server ignores it).
|
|
121
|
+
* Any other request, or no pet, goes as it was. A relative URL stays relative.
|
|
122
|
+
*/
|
|
123
|
+
declare function petQuery(input: string, method: string, petId: string | null | undefined): string;
|
|
124
|
+
/** The pet an order is for: the id, null when the OMS says none or several, undefined when it does not say. */
|
|
125
|
+
declare function summaryPetId(o: OmsOrderSummary | CareOmsOrderSummary): string | null | undefined;
|
|
126
|
+
/** True when the order's payment needs the member (`needs_payment`). */
|
|
127
|
+
declare function summaryNeedsPayment(o: OmsOrderSummary | CareOmsOrderSummary): boolean;
|
|
128
|
+
/** How many lines the order has (`line_count`); null when not sent. */
|
|
129
|
+
declare function summaryLineCount(o: OmsOrderSummary | CareOmsOrderSummary): number | null;
|
|
130
|
+
/** The practice the order's prescription was written under (`clinic_name`); null when not sent. */
|
|
131
|
+
declare function summaryClinicName(o: OmsOrderSummary | CareOmsOrderSummary): string | null;
|
|
132
|
+
/** The code the order's discount was taken with (`discount_code`); null when none or not sent. */
|
|
133
|
+
declare function summaryDiscountCode(o: OmsOrderSummary | CareOmsOrderSummary): string | null;
|
|
134
|
+
/** The pet a Buy again item is for; null when unknown or not sent. */
|
|
135
|
+
declare function againPetId(i: OmsBuyAgainItem | CareOmsBuyAgainItem): string | null;
|
|
136
|
+
/** A plan's title (its first line's offer); null when not sent. */
|
|
137
|
+
declare function planTitle(p: OmsPlan | CareOmsPlan): string | null;
|
|
138
|
+
/** A plan's photo, an https URL only. */
|
|
139
|
+
declare function planImageUrl(p: OmsPlan | CareOmsPlan): string | null;
|
|
140
|
+
/** The day a paused plan ships once resumed, when the OMS sends one. */
|
|
141
|
+
declare function planResumeShipOn(p: OmsPlan | CareOmsPlan): string | null;
|
|
142
|
+
/** The order's hosted card page, when the detail carries one (a string or `{url}`, https only). */
|
|
143
|
+
declare function orderCardActionUrl(d: OmsOrder | CareOmsOrder): string | null;
|
|
144
|
+
/**
|
|
145
|
+
* What the order's succeeded refunds gave back and the day of the last; null when nothing was refunded or the server
|
|
146
|
+
* does not send it.
|
|
147
|
+
*/
|
|
148
|
+
declare function receiptRefund(r: OmsReceipt | CareOmsReceipt): {
|
|
149
|
+
readonly cents: number;
|
|
150
|
+
readonly on: string | null;
|
|
151
|
+
} | null;
|
|
152
|
+
|
|
153
|
+
export { summaryLineCount as A, summaryNeedsPayment as B, type CareOmsOrderSummary as C, summaryPetId as D, tooSoonOnOf as E, type CareOmsShopConfig as a, type CareOmsOrder as b, type CareOmsQuote as c, type CareFirstAutoOrderPrice as d, type CareOmsAddressLocation as e, type CareOmsAddressInput as f, type CareOmsBuyAgainItem as g, type CareOmsOrderItem as h, type CareOmsOrderPage as i, type CareOmsPlan as j, type CareOmsReceipt as k, type CareOmsTooSoonRefusal as l, addressLocationOf as m, addressLocationToWire as n, againPetId as o, firstAutoOrderPriceOf as p, firstRxDiscountCodeOf as q, orderCardActionUrl as r, petQuery as s, planImageUrl as t, planResumeShipOn as u, planTitle as v, receiptRefund as w, rxShipsToStatesOf as x, summaryClinicName as y, summaryDiscountCode as z };
|
|
@@ -0,0 +1,153 @@
|
|
|
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 { O as OmsAddressInput, a as OmsBuyAgainItem, b as OmsOrder, c as OmsOrderSummary, d as OmsOrderItem, e as OmsOrderPage, f as OmsPlan, g as OmsQuote, h as OmsReceipt, i as OmsShopConfig, j as OmsError } from './omsErrors.d-VF5tnr20.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* EFBackend `oms.first_auto_order_price`: the unit price a first order on auto-refill shows and is charged. "once":
|
|
6
|
+
* the one-time price, the plan's discount starts with the next shipment. "auto": the auto price now.
|
|
7
|
+
*/
|
|
8
|
+
type CareFirstAutoOrderPrice = 'once' | 'auto';
|
|
9
|
+
/** Shop-config, with the settings the SDK does not map. */
|
|
10
|
+
type CareOmsShopConfig = OmsShopConfig & {
|
|
11
|
+
readonly firstAutoOrderPrice?: CareFirstAutoOrderPrice | null;
|
|
12
|
+
/** EFB #2354 `first_rx_discount_code` ("VET50"); null with no discount or from an older server. */
|
|
13
|
+
readonly firstRxDiscountCode?: string | null;
|
|
14
|
+
/** `rx_ships_to_states`: the states a prescription ships to (two-letter codes); null when unrestricted. */
|
|
15
|
+
readonly rxShipsToStates?: readonly string[] | null;
|
|
16
|
+
};
|
|
17
|
+
/** An order's item, with its cutout (`cutout_url`). */
|
|
18
|
+
type CareOmsOrderItem = OmsOrderItem & {
|
|
19
|
+
readonly cutoutUrl?: string | null;
|
|
20
|
+
};
|
|
21
|
+
/** An order list entry, with the fields EFB #2354 and later add. */
|
|
22
|
+
type CareOmsOrderSummary = Omit<OmsOrderSummary, 'items'> & {
|
|
23
|
+
readonly items?: readonly CareOmsOrderItem[] | null;
|
|
24
|
+
/** `clinic_name`: the practice the prescription was written under. */
|
|
25
|
+
readonly clinicName?: string | null;
|
|
26
|
+
/** `pet_id`: the one pet its lines name; null when none or more than one. */
|
|
27
|
+
readonly petId?: string | null;
|
|
28
|
+
/** `line_count`: how many lines the order has (its `items` may draw fewer). */
|
|
29
|
+
readonly lineCount?: number | null;
|
|
30
|
+
/** `needs_payment`: its payment hold needs the member. */
|
|
31
|
+
readonly needsPayment?: boolean | null;
|
|
32
|
+
/** `discount_code`: the code its discount was taken with ("VET50"). */
|
|
33
|
+
readonly discountCode?: string | null;
|
|
34
|
+
};
|
|
35
|
+
type CareOmsOrderPage = Omit<OmsOrderPage, 'orders'> & {
|
|
36
|
+
readonly orders: readonly CareOmsOrderSummary[];
|
|
37
|
+
};
|
|
38
|
+
/** An order, with its summary's fields and its card action link (`card_action_link`). */
|
|
39
|
+
type CareOmsOrder = Omit<OmsOrder, 'summary'> & {
|
|
40
|
+
readonly summary: CareOmsOrderSummary;
|
|
41
|
+
readonly cardActionLink?: string | {
|
|
42
|
+
readonly url?: string | null;
|
|
43
|
+
} | null;
|
|
44
|
+
};
|
|
45
|
+
/** A plan, with its first line's title and photo (EFB #2354) and the day a paused plan ships once resumed. */
|
|
46
|
+
type CareOmsPlan = OmsPlan & {
|
|
47
|
+
readonly title?: string | null;
|
|
48
|
+
readonly imageUrl?: string | null;
|
|
49
|
+
readonly resumeShipOn?: string | null;
|
|
50
|
+
};
|
|
51
|
+
/** A Buy again item, with the pet its newest line was for (EFB #2354 `pet_id`). */
|
|
52
|
+
type CareOmsBuyAgainItem = OmsBuyAgainItem & {
|
|
53
|
+
readonly petId?: string | null;
|
|
54
|
+
};
|
|
55
|
+
/** A quote. Its estimated ship and arrival days (`ships_on`, `arrives_on`) are now `OmsQuote` fields the SDK maps. */
|
|
56
|
+
type CareOmsQuote = OmsQuote;
|
|
57
|
+
/** A receipt, with what its succeeded refunds gave back (`refunded_cents`) and the day of the last (`refunded_on`). */
|
|
58
|
+
type CareOmsReceipt = OmsReceipt & {
|
|
59
|
+
readonly refundedCents?: number | null;
|
|
60
|
+
readonly refundedOn?: string | null;
|
|
61
|
+
};
|
|
62
|
+
/** Where a searched address is (`location` on an address write and read). */
|
|
63
|
+
interface CareOmsAddressLocation {
|
|
64
|
+
readonly latitude: number;
|
|
65
|
+
readonly longitude: number;
|
|
66
|
+
readonly placeId: string;
|
|
67
|
+
}
|
|
68
|
+
/** An address write, with the `location` of an address picked from the search. */
|
|
69
|
+
type CareOmsAddressInput = OmsAddressInput & {
|
|
70
|
+
readonly location?: CareOmsAddressLocation | null;
|
|
71
|
+
};
|
|
72
|
+
/** A `too_soon` confirm refusal, with the day the refill can be taken (`available_on`, YYYY-MM-DD). */
|
|
73
|
+
type CareOmsTooSoonRefusal = Extract<OmsError, {
|
|
74
|
+
readonly kind: 'refused';
|
|
75
|
+
}> & {
|
|
76
|
+
readonly availableOn?: string | null;
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* Shop-config's `first_auto_order_price`: "once" | "auto", else null.
|
|
80
|
+
*
|
|
81
|
+
* @beta
|
|
82
|
+
*/
|
|
83
|
+
declare function firstAutoOrderPriceOf(raw: unknown): CareFirstAutoOrderPrice | null;
|
|
84
|
+
/**
|
|
85
|
+
* Shop-config's `first_rx_discount_code`: a short non-empty code (32 or fewer characters), trimmed; else null.
|
|
86
|
+
*
|
|
87
|
+
* @beta
|
|
88
|
+
*/
|
|
89
|
+
declare function firstRxDiscountCodeOf(raw: unknown): string | null;
|
|
90
|
+
/**
|
|
91
|
+
* Shop-config's `rx_ships_to_states`: two-letter codes, upper-cased; null when absent, empty or not all codes
|
|
92
|
+
* (unrestricted, never guessed).
|
|
93
|
+
*
|
|
94
|
+
* @beta
|
|
95
|
+
*/
|
|
96
|
+
declare function rxShipsToStatesOf(raw: unknown): readonly string[] | null;
|
|
97
|
+
/**
|
|
98
|
+
* A confirm refusal body's `available_on`: a YYYY-MM-DD day on a `too_soon` refusal, else null.
|
|
99
|
+
*
|
|
100
|
+
* @beta
|
|
101
|
+
*/
|
|
102
|
+
declare function tooSoonOnOf(raw: unknown): string | null;
|
|
103
|
+
/**
|
|
104
|
+
* An address answer's `location` ({latitude, longitude, place_id}); null when absent or out of range.
|
|
105
|
+
*
|
|
106
|
+
* @beta
|
|
107
|
+
*/
|
|
108
|
+
declare function addressLocationOf(raw: unknown): CareOmsAddressLocation | null;
|
|
109
|
+
/**
|
|
110
|
+
* The wire `location` an address write carries (`{latitude, longitude, place_id}`).
|
|
111
|
+
*
|
|
112
|
+
* @beta
|
|
113
|
+
*/
|
|
114
|
+
declare function addressLocationToWire(location: CareOmsAddressLocation): {
|
|
115
|
+
latitude: number;
|
|
116
|
+
longitude: number;
|
|
117
|
+
place_id: string;
|
|
118
|
+
};
|
|
119
|
+
/**
|
|
120
|
+
* `GET /orders` and `GET /buy-again` for one pet: the URL with `pet_id` set (EFB #2354; an older server ignores it).
|
|
121
|
+
* Any other request, or no pet, goes as it was. A relative URL stays relative.
|
|
122
|
+
*/
|
|
123
|
+
declare function petQuery(input: string, method: string, petId: string | null | undefined): string;
|
|
124
|
+
/** The pet an order is for: the id, null when the OMS says none or several, undefined when it does not say. */
|
|
125
|
+
declare function summaryPetId(o: OmsOrderSummary | CareOmsOrderSummary): string | null | undefined;
|
|
126
|
+
/** True when the order's payment needs the member (`needs_payment`). */
|
|
127
|
+
declare function summaryNeedsPayment(o: OmsOrderSummary | CareOmsOrderSummary): boolean;
|
|
128
|
+
/** How many lines the order has (`line_count`); null when not sent. */
|
|
129
|
+
declare function summaryLineCount(o: OmsOrderSummary | CareOmsOrderSummary): number | null;
|
|
130
|
+
/** The practice the order's prescription was written under (`clinic_name`); null when not sent. */
|
|
131
|
+
declare function summaryClinicName(o: OmsOrderSummary | CareOmsOrderSummary): string | null;
|
|
132
|
+
/** The code the order's discount was taken with (`discount_code`); null when none or not sent. */
|
|
133
|
+
declare function summaryDiscountCode(o: OmsOrderSummary | CareOmsOrderSummary): string | null;
|
|
134
|
+
/** The pet a Buy again item is for; null when unknown or not sent. */
|
|
135
|
+
declare function againPetId(i: OmsBuyAgainItem | CareOmsBuyAgainItem): string | null;
|
|
136
|
+
/** A plan's title (its first line's offer); null when not sent. */
|
|
137
|
+
declare function planTitle(p: OmsPlan | CareOmsPlan): string | null;
|
|
138
|
+
/** A plan's photo, an https URL only. */
|
|
139
|
+
declare function planImageUrl(p: OmsPlan | CareOmsPlan): string | null;
|
|
140
|
+
/** The day a paused plan ships once resumed, when the OMS sends one. */
|
|
141
|
+
declare function planResumeShipOn(p: OmsPlan | CareOmsPlan): string | null;
|
|
142
|
+
/** The order's hosted card page, when the detail carries one (a string or `{url}`, https only). */
|
|
143
|
+
declare function orderCardActionUrl(d: OmsOrder | CareOmsOrder): string | null;
|
|
144
|
+
/**
|
|
145
|
+
* What the order's succeeded refunds gave back and the day of the last; null when nothing was refunded or the server
|
|
146
|
+
* does not send it.
|
|
147
|
+
*/
|
|
148
|
+
declare function receiptRefund(r: OmsReceipt | CareOmsReceipt): {
|
|
149
|
+
readonly cents: number;
|
|
150
|
+
readonly on: string | null;
|
|
151
|
+
} | null;
|
|
152
|
+
|
|
153
|
+
export { summaryLineCount as A, summaryNeedsPayment as B, type CareOmsOrderSummary as C, summaryPetId as D, tooSoonOnOf as E, type CareOmsShopConfig as a, type CareOmsOrder as b, type CareOmsQuote as c, type CareFirstAutoOrderPrice as d, type CareOmsAddressLocation as e, type CareOmsAddressInput as f, type CareOmsBuyAgainItem as g, type CareOmsOrderItem as h, type CareOmsOrderPage as i, type CareOmsPlan as j, type CareOmsReceipt as k, type CareOmsTooSoonRefusal as l, addressLocationOf as m, addressLocationToWire as n, againPetId as o, firstAutoOrderPriceOf as p, firstRxDiscountCodeOf as q, orderCardActionUrl as r, petQuery as s, planImageUrl as t, planResumeShipOn as u, planTitle as v, receiptRefund as w, rxShipsToStatesOf as x, summaryClinicName as y, summaryDiscountCode as z };
|
|
@@ -1,8 +1,8 @@
|
|
|
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 { E as EverfurError } from './EverfurError.d-8NHtlgzA.cjs';
|
|
3
3
|
import { E as EverfurResult } from './EverfurResult.d-BFH-3s6E.cjs';
|
|
4
|
-
import { R as RequestFunnel } from './requestFunnel.d-
|
|
5
|
-
import { A as AuthContext } from './identity.d-
|
|
4
|
+
import { R as RequestFunnel } from './requestFunnel.d-CWI2pD3V.cjs';
|
|
5
|
+
import { A as AuthContext } from './identity.d-84x0dV7-.cjs';
|
|
6
6
|
import { P as PetRef, U as UserRef } from './ids.d-B2GAAifq.cjs';
|
|
7
7
|
import { E as ErrorPolicyPort } from './ErrorPolicyPort.d-DirW9hgO.cjs';
|
|
8
8
|
|
|
@@ -56,7 +56,7 @@ declare const TEXTING_COPY: Readonly<{
|
|
|
56
56
|
supportReference: "Support reference:";
|
|
57
57
|
/**
|
|
58
58
|
* The ask (the in-chat line's two chips and the app-open pop-up, `EverfurTextingPrompt`): the consumer's invitation
|
|
59
|
-
* card (`promptBody` / `promptAccept` / `promptDismiss`,
|
|
59
|
+
* card (`promptBody` / `promptAccept` / `promptDismiss`, owner 2026-09-15; everfur-mobile copy.ts:120-122). The
|
|
60
60
|
* in-chat line's chips are the same two words, as in both consumer apps.
|
|
61
61
|
*/
|
|
62
62
|
promptBody: "Ask questions about your pet by text message, anytime. No app needed.";
|
|
@@ -1,8 +1,8 @@
|
|
|
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 { E as EverfurError } from './EverfurError.d-8NHtlgzA.js';
|
|
3
3
|
import { E as EverfurResult } from './EverfurResult.d-D_-254ZY.js';
|
|
4
|
-
import { R as RequestFunnel } from './requestFunnel.d-
|
|
5
|
-
import { A as AuthContext } from './identity.d-
|
|
4
|
+
import { R as RequestFunnel } from './requestFunnel.d-DcQIAs45.js';
|
|
5
|
+
import { A as AuthContext } from './identity.d-BXztMVYM.js';
|
|
6
6
|
import { P as PetRef, U as UserRef } from './ids.d-B2GAAifq.js';
|
|
7
7
|
import { E as ErrorPolicyPort } from './ErrorPolicyPort.d-68yrE3BE.js';
|
|
8
8
|
|
|
@@ -56,7 +56,7 @@ declare const TEXTING_COPY: Readonly<{
|
|
|
56
56
|
supportReference: "Support reference:";
|
|
57
57
|
/**
|
|
58
58
|
* The ask (the in-chat line's two chips and the app-open pop-up, `EverfurTextingPrompt`): the consumer's invitation
|
|
59
|
-
* card (`promptBody` / `promptAccept` / `promptDismiss`,
|
|
59
|
+
* card (`promptBody` / `promptAccept` / `promptDismiss`, owner 2026-09-15; everfur-mobile copy.ts:120-122). The
|
|
60
60
|
* in-chat line's chips are the same two words, as in both consumer apps.
|
|
61
61
|
*/
|
|
62
62
|
promptBody: "Ask questions about your pet by text message, anytime. No app needed.";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { E as EverfurError } from './EverfurError.d-8NHtlgzA.js';
|
|
3
3
|
import { E as EverfurResult } from './EverfurResult.d-D_-254ZY.js';
|
|
4
4
|
import { E as ErrorPolicyPort } from './ErrorPolicyPort.d-68yrE3BE.js';
|
|
5
|
-
import { A as AuthContext } from './identity.d-
|
|
5
|
+
import { A as AuthContext } from './identity.d-BXztMVYM.js';
|
|
6
6
|
import { U as UserRef, R as RecordsRequestId, P as PetRef, C as ConversationId } from './ids.d-B2GAAifq.js';
|
|
7
7
|
import { V as VetVisitIntent } from './visitIntent.d-D7_yVp1I.js';
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { E as EverfurError } from './EverfurError.d-8NHtlgzA.cjs';
|
|
3
3
|
import { E as EverfurResult } from './EverfurResult.d-BFH-3s6E.cjs';
|
|
4
4
|
import { E as ErrorPolicyPort } from './ErrorPolicyPort.d-DirW9hgO.cjs';
|
|
5
|
-
import { A as AuthContext } from './identity.d-
|
|
5
|
+
import { A as AuthContext } from './identity.d-84x0dV7-.cjs';
|
|
6
6
|
import { U as UserRef, R as RecordsRequestId, P as PetRef, C as ConversationId } from './ids.d-B2GAAifq.cjs';
|
|
7
7
|
import { V as VetVisitIntent } from './visitIntent.d-D7_yVp1I.cjs';
|
|
8
8
|
|
|
@@ -1,6 +1,6 @@
|
|
|
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 { E as EverfurResult } from './EverfurResult.d-D_-254ZY.js';
|
|
3
|
-
import { j as FetchLike } from './config.d-
|
|
3
|
+
import { j as FetchLike } from './config.d-cqyvpzDb.js';
|
|
4
4
|
import { P as PetHealthProfileInput, a as PetHealthProfile } from './profile.d-CSs1wlXT.js';
|
|
5
5
|
|
|
6
6
|
/** How your backend reaches Everfur for pet writes. Build it once and reuse it. */
|
|
@@ -1,6 +1,6 @@
|
|
|
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 { E as EverfurResult } from './EverfurResult.d-BFH-3s6E.cjs';
|
|
3
|
-
import { j as FetchLike } from './config.d-
|
|
3
|
+
import { j as FetchLike } from './config.d-7bCXvOGn.cjs';
|
|
4
4
|
import { P as PetHealthProfileInput, a as PetHealthProfile } from './profile.d-CSs1wlXT.cjs';
|
|
5
5
|
|
|
6
6
|
/** How your backend reaches Everfur for pet writes. Build it once and reuse it. */
|
|
@@ -1,6 +1,6 @@
|
|
|
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 { E as EverfurResult } from './EverfurResult.d-D_-254ZY.js';
|
|
3
|
-
import { A as AuthContext } from './identity.d-
|
|
3
|
+
import { A as AuthContext } from './identity.d-BXztMVYM.js';
|
|
4
4
|
import { P as PetRef } from './ids.d-B2GAAifq.js';
|
|
5
5
|
import { P as PetHealthProfileInput, a as PetHealthProfile } from './profile.d-CSs1wlXT.js';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
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 { E as EverfurResult } from './EverfurResult.d-BFH-3s6E.cjs';
|
|
3
|
-
import { A as AuthContext } from './identity.d-
|
|
3
|
+
import { A as AuthContext } from './identity.d-84x0dV7-.cjs';
|
|
4
4
|
import { P as PetRef } from './ids.d-B2GAAifq.cjs';
|
|
5
5
|
import { P as PetHealthProfileInput, a as PetHealthProfile } from './profile.d-CSs1wlXT.cjs';
|
|
6
6
|
|
|
@@ -1,11 +1,11 @@
|
|
|
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 { C as CheckinAnswer, a as CheckinOutcome } from './casesRepository.d-
|
|
3
|
-
import { A as AuthContext } from './identity.d-
|
|
2
|
+
import { C as CheckinAnswer, a as CheckinOutcome } from './casesRepository.d-DFwD2kiS.cjs';
|
|
3
|
+
import { A as AuthContext } from './identity.d-84x0dV7-.cjs';
|
|
4
4
|
import { E as EverfurError } from './EverfurError.d-8NHtlgzA.cjs';
|
|
5
5
|
import { E as EverfurResult } from './EverfurResult.d-BFH-3s6E.cjs';
|
|
6
|
-
import { R as RequestFunnel } from './requestFunnel.d-
|
|
6
|
+
import { R as RequestFunnel } from './requestFunnel.d-CWI2pD3V.cjs';
|
|
7
7
|
import { P as PetRef, C as ConversationId, b as ResponseId } from './ids.d-B2GAAifq.cjs';
|
|
8
|
-
import { i as UrgencyLevel, F as Frame } from './config.d-
|
|
8
|
+
import { i as UrgencyLevel, F as Frame } from './config.d-7bCXvOGn.cjs';
|
|
9
9
|
import { E as ErrorPolicyPort } from './ErrorPolicyPort.d-DirW9hgO.cjs';
|
|
10
10
|
import { T as TelemetryPort } from './TelemetryPort.d-BDNr00hu.cjs';
|
|
11
11
|
import { F as FileHandle } from './ports.d-BX4f4UsB.cjs';
|
|
@@ -1,11 +1,11 @@
|
|
|
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 { C as CheckinAnswer, a as CheckinOutcome } from './casesRepository.d-
|
|
3
|
-
import { A as AuthContext } from './identity.d-
|
|
2
|
+
import { C as CheckinAnswer, a as CheckinOutcome } from './casesRepository.d-VzxEyq2N.js';
|
|
3
|
+
import { A as AuthContext } from './identity.d-BXztMVYM.js';
|
|
4
4
|
import { E as EverfurError } from './EverfurError.d-8NHtlgzA.js';
|
|
5
5
|
import { E as EverfurResult } from './EverfurResult.d-D_-254ZY.js';
|
|
6
|
-
import { R as RequestFunnel } from './requestFunnel.d-
|
|
6
|
+
import { R as RequestFunnel } from './requestFunnel.d-DcQIAs45.js';
|
|
7
7
|
import { P as PetRef, C as ConversationId, b as ResponseId } from './ids.d-B2GAAifq.js';
|
|
8
|
-
import { i as UrgencyLevel, F as Frame } from './config.d-
|
|
8
|
+
import { i as UrgencyLevel, F as Frame } from './config.d-cqyvpzDb.js';
|
|
9
9
|
import { E as ErrorPolicyPort } from './ErrorPolicyPort.d-68yrE3BE.js';
|
|
10
10
|
import { T as TelemetryPort } from './TelemetryPort.d-BDNr00hu.js';
|
|
11
11
|
import { F as FileHandle } from './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
|
-
/** Where the chat draws an assistant answer: in a bubble, or as
|
|
2
|
+
/** Where the chat draws an assistant answer: in a bubble, or as the design's open answer with cards (default). */
|
|
3
3
|
type EverfurChatAnswerStyle = 'bubbles' | 'cards';
|
|
4
4
|
/** How the chat lists past conversations: the side drawer, or a bottom sheet with previews (default). */
|
|
5
5
|
type EverfurChatHistoryStyle = 'drawer' | 'sheet';
|
|
@@ -7,9 +7,9 @@ type EverfurChatHistoryStyle = 'drawer' | 'sheet';
|
|
|
7
7
|
type EverfurChatTopCardSetting = 'none' | 'focus';
|
|
8
8
|
/** Where the chat's safety disclaimer sits: under the composer (default) or at the foot of the answers. */
|
|
9
9
|
type EverfurSafetyDisclaimerPlacement = 'composer' | 'answer_footer';
|
|
10
|
-
/** The Health Plan tab layout: the standard list, or the focus plan (
|
|
10
|
+
/** The Health Plan tab layout: the standard list, or the focus plan (the v3 design, default). */
|
|
11
11
|
type EverfurHealthPlanLayout = 'standard' | 'focus_plan';
|
|
12
|
-
/** The chat composer: the standard bar, or
|
|
12
|
+
/** The chat composer: the standard bar, or the design's compact 50px bar with an up-arrow send (default). */
|
|
13
13
|
type EverfurChatComposerStyle = 'standard' | 'compact';
|
|
14
14
|
/** The composer placeholder: the generic text, or one that names the active pet (default; generic with no name). */
|
|
15
15
|
type EverfurChatComposerPlaceholder = 'generic' | 'pet_name';
|
|
@@ -61,7 +61,7 @@ interface EverfurPresentation {
|
|
|
61
61
|
type EverfurPresentationInput = Partial<EverfurPresentation>;
|
|
62
62
|
type EverfurPresentationField = keyof EverfurPresentation;
|
|
63
63
|
/**
|
|
64
|
-
* What every partner that sets nothing renders:
|
|
64
|
+
* What every partner that sets nothing renders: The design's v3 design (owner decision 2026-10-21, STATE-MATRIX (b)1).
|
|
65
65
|
* Each v3 choice draws nothing extra when its data is missing: the focus card and the records top risk line need the
|
|
66
66
|
* plan page's `focus`, the pet-name placeholder falls back to the generic text with no pet name. The older look is
|
|
67
67
|
* one setting away per field (`bubbles`, `drawer`, `none`, `standard`, `generic`, `pinned`, false).
|
|
@@ -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
|
-
/** Where the chat draws an assistant answer: in a bubble, or as
|
|
2
|
+
/** Where the chat draws an assistant answer: in a bubble, or as the design's open answer with cards (default). */
|
|
3
3
|
type EverfurChatAnswerStyle = 'bubbles' | 'cards';
|
|
4
4
|
/** How the chat lists past conversations: the side drawer, or a bottom sheet with previews (default). */
|
|
5
5
|
type EverfurChatHistoryStyle = 'drawer' | 'sheet';
|
|
@@ -7,9 +7,9 @@ type EverfurChatHistoryStyle = 'drawer' | 'sheet';
|
|
|
7
7
|
type EverfurChatTopCardSetting = 'none' | 'focus';
|
|
8
8
|
/** Where the chat's safety disclaimer sits: under the composer (default) or at the foot of the answers. */
|
|
9
9
|
type EverfurSafetyDisclaimerPlacement = 'composer' | 'answer_footer';
|
|
10
|
-
/** The Health Plan tab layout: the standard list, or the focus plan (
|
|
10
|
+
/** The Health Plan tab layout: the standard list, or the focus plan (the v3 design, default). */
|
|
11
11
|
type EverfurHealthPlanLayout = 'standard' | 'focus_plan';
|
|
12
|
-
/** The chat composer: the standard bar, or
|
|
12
|
+
/** The chat composer: the standard bar, or the design's compact 50px bar with an up-arrow send (default). */
|
|
13
13
|
type EverfurChatComposerStyle = 'standard' | 'compact';
|
|
14
14
|
/** The composer placeholder: the generic text, or one that names the active pet (default; generic with no name). */
|
|
15
15
|
type EverfurChatComposerPlaceholder = 'generic' | 'pet_name';
|
|
@@ -61,7 +61,7 @@ interface EverfurPresentation {
|
|
|
61
61
|
type EverfurPresentationInput = Partial<EverfurPresentation>;
|
|
62
62
|
type EverfurPresentationField = keyof EverfurPresentation;
|
|
63
63
|
/**
|
|
64
|
-
* What every partner that sets nothing renders:
|
|
64
|
+
* What every partner that sets nothing renders: The design's v3 design (owner decision 2026-10-21, STATE-MATRIX (b)1).
|
|
65
65
|
* Each v3 choice draws nothing extra when its data is missing: the focus card and the records top risk line need the
|
|
66
66
|
* plan page's `focus`, the pet-name placeholder falls back to the generic text with no pet name. The older look is
|
|
67
67
|
* one setting away per field (`bubbles`, `drawer`, `none`, `standard`, `generic`, `pinned`, false).
|
|
@@ -1,9 +1,9 @@
|
|
|
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
|
-
export { E as EverfurDocumentContributions, a as EverfurDocumentContributionsProps, b as EverfurRecordDepth, c as EverfurRecordsDepthProps, d as EverfurRecordsTimeline } from '../../DepthViews.d-
|
|
3
|
-
export { R as RecordsDepthStatus, U as UseRecordsDepthState, u as useEverfurRecordsDepthClient, a as useRecordsDepthRead } from '../../useRecordsDepth.d-
|
|
4
|
-
export { T as TimelineRow, a as TimelineRowKind, b as buildTimelineRows } from '../../timelineRows.d-
|
|
5
|
-
export { R as RecordClinicianNote, a as RecordClinicianNoteSection, b as RecordCompleteness, c as RecordConflict, d as RecordConflictCandidate, e as RecordDepthView, f as RecordDocumentContributionsView, g as RecordEncounter, h as RecordExamSystem, i as RecordLabMarker, j as RecordLabPoint, k as RecordPhysicalExam, l as RecordsDepthClient, m as RecordsRequestDocument, n as RecordsTimelineMedication, o as RecordsTimelineVaccine, p as RecordsTimelineView, q as RecordsTimelineVisit, r as RecordsTimelineWeight, s as mapDocumentContributions, t as mapRecordDepth, u as mapRecordsTimeline } from '../../depth.d-
|
|
6
|
-
export { C as ClinicDraft, a as ClinicLocation, R as RecordsHostSeams, b as RecordsScreen, c as RecordsScreenBaseProps, d as RecordsUrlKind } from '../../screenProps.d-
|
|
2
|
+
export { E as EverfurDocumentContributions, a as EverfurDocumentContributionsProps, b as EverfurRecordDepth, c as EverfurRecordsDepthProps, d as EverfurRecordsTimeline } from '../../DepthViews.d-Chjs8H9V.cjs';
|
|
3
|
+
export { R as RecordsDepthStatus, U as UseRecordsDepthState, u as useEverfurRecordsDepthClient, a as useRecordsDepthRead } from '../../useRecordsDepth.d-CKXAAHXI.cjs';
|
|
4
|
+
export { T as TimelineRow, a as TimelineRowKind, b as buildTimelineRows } from '../../timelineRows.d-BvA_BoOe.cjs';
|
|
5
|
+
export { R as RecordClinicianNote, a as RecordClinicianNoteSection, b as RecordCompleteness, c as RecordConflict, d as RecordConflictCandidate, e as RecordDepthView, f as RecordDocumentContributionsView, g as RecordEncounter, h as RecordExamSystem, i as RecordLabMarker, j as RecordLabPoint, k as RecordPhysicalExam, l as RecordsDepthClient, m as RecordsRequestDocument, n as RecordsTimelineMedication, o as RecordsTimelineVaccine, p as RecordsTimelineView, q as RecordsTimelineVisit, r as RecordsTimelineWeight, s as mapDocumentContributions, t as mapRecordDepth, u as mapRecordsTimeline } from '../../depth.d-qHdXHDd-.cjs';
|
|
6
|
+
export { C as ClinicDraft, a as ClinicLocation, R as RecordsHostSeams, b as RecordsScreen, c as RecordsScreenBaseProps, d as RecordsUrlKind } from '../../screenProps.d-CFZe27oI.cjs';
|
|
7
7
|
export { R as RecordsAskEntityRef, a as RecordsAskHandler } from '../../recordsAsk.d-C5CGSi3j.cjs';
|
|
8
8
|
export { R as RecordsClinic } from '../../clinicModels.d-BXgKZqDb.cjs';
|
|
9
9
|
export { B as Brand, P as PetRef, R as RecordsRequestId, _ as __brand } from '../../ids.d-B2GAAifq.cjs';
|
|
@@ -14,8 +14,8 @@ export { R as RecordDocumentMeta, a as RecordEntity, b as RecordOrigin } from '.
|
|
|
14
14
|
import 'react';
|
|
15
15
|
import 'react-native';
|
|
16
16
|
import '../../ErrorPolicyPort.d-DirW9hgO.cjs';
|
|
17
|
-
import '../../requestFunnel.d-
|
|
18
|
-
import '../../config.d-
|
|
19
|
-
import '../../identity.d-
|
|
20
|
-
import '../../clinicBatch.d-
|
|
17
|
+
import '../../requestFunnel.d-CWI2pD3V.cjs';
|
|
18
|
+
import '../../config.d-7bCXvOGn.cjs';
|
|
19
|
+
import '../../identity.d-84x0dV7-.cjs';
|
|
20
|
+
import '../../clinicBatch.d-CLqaih2C.cjs';
|
|
21
21
|
import '../../clinicRequestProps.d-1dCtouGA.cjs';
|
|
@@ -1,9 +1,9 @@
|
|
|
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
|
-
export { E as EverfurDocumentContributions, a as EverfurDocumentContributionsProps, b as EverfurRecordDepth, c as EverfurRecordsDepthProps, d as EverfurRecordsTimeline } from '../../DepthViews.d-
|
|
3
|
-
export { R as RecordsDepthStatus, U as UseRecordsDepthState, u as useEverfurRecordsDepthClient, a as useRecordsDepthRead } from '../../useRecordsDepth.d-
|
|
4
|
-
export { T as TimelineRow, a as TimelineRowKind, b as buildTimelineRows } from '../../timelineRows.d-
|
|
5
|
-
export { R as RecordClinicianNote, a as RecordClinicianNoteSection, b as RecordCompleteness, c as RecordConflict, d as RecordConflictCandidate, e as RecordDepthView, f as RecordDocumentContributionsView, g as RecordEncounter, h as RecordExamSystem, i as RecordLabMarker, j as RecordLabPoint, k as RecordPhysicalExam, l as RecordsDepthClient, m as RecordsRequestDocument, n as RecordsTimelineMedication, o as RecordsTimelineVaccine, p as RecordsTimelineView, q as RecordsTimelineVisit, r as RecordsTimelineWeight, s as mapDocumentContributions, t as mapRecordDepth, u as mapRecordsTimeline } from '../../depth.d-
|
|
6
|
-
export { C as ClinicDraft, a as ClinicLocation, R as RecordsHostSeams, b as RecordsScreen, c as RecordsScreenBaseProps, d as RecordsUrlKind } from '../../screenProps.d-
|
|
2
|
+
export { E as EverfurDocumentContributions, a as EverfurDocumentContributionsProps, b as EverfurRecordDepth, c as EverfurRecordsDepthProps, d as EverfurRecordsTimeline } from '../../DepthViews.d-C6-Kzs6H.js';
|
|
3
|
+
export { R as RecordsDepthStatus, U as UseRecordsDepthState, u as useEverfurRecordsDepthClient, a as useRecordsDepthRead } from '../../useRecordsDepth.d-B2ewVbRm.js';
|
|
4
|
+
export { T as TimelineRow, a as TimelineRowKind, b as buildTimelineRows } from '../../timelineRows.d-BbCLvjy1.js';
|
|
5
|
+
export { R as RecordClinicianNote, a as RecordClinicianNoteSection, b as RecordCompleteness, c as RecordConflict, d as RecordConflictCandidate, e as RecordDepthView, f as RecordDocumentContributionsView, g as RecordEncounter, h as RecordExamSystem, i as RecordLabMarker, j as RecordLabPoint, k as RecordPhysicalExam, l as RecordsDepthClient, m as RecordsRequestDocument, n as RecordsTimelineMedication, o as RecordsTimelineVaccine, p as RecordsTimelineView, q as RecordsTimelineVisit, r as RecordsTimelineWeight, s as mapDocumentContributions, t as mapRecordDepth, u as mapRecordsTimeline } from '../../depth.d-C6XbnFig.js';
|
|
6
|
+
export { C as ClinicDraft, a as ClinicLocation, R as RecordsHostSeams, b as RecordsScreen, c as RecordsScreenBaseProps, d as RecordsUrlKind } from '../../screenProps.d-yUA4k6yK.js';
|
|
7
7
|
export { R as RecordsAskEntityRef, a as RecordsAskHandler } from '../../recordsAsk.d-C5CGSi3j.js';
|
|
8
8
|
export { R as RecordsClinic } from '../../clinicModels.d-CaS64-P-.js';
|
|
9
9
|
export { B as Brand, P as PetRef, R as RecordsRequestId, _ as __brand } from '../../ids.d-B2GAAifq.js';
|
|
@@ -14,8 +14,8 @@ export { R as RecordDocumentMeta, a as RecordEntity, b as RecordOrigin } from '.
|
|
|
14
14
|
import 'react';
|
|
15
15
|
import 'react-native';
|
|
16
16
|
import '../../ErrorPolicyPort.d-68yrE3BE.js';
|
|
17
|
-
import '../../requestFunnel.d-
|
|
18
|
-
import '../../config.d-
|
|
19
|
-
import '../../identity.d-
|
|
20
|
-
import '../../clinicBatch.d-
|
|
17
|
+
import '../../requestFunnel.d-DcQIAs45.js';
|
|
18
|
+
import '../../config.d-cqyvpzDb.js';
|
|
19
|
+
import '../../identity.d-BXztMVYM.js';
|
|
20
|
+
import '../../clinicBatch.d-DXDIL1lC.js';
|
|
21
21
|
import '../../clinicRequestProps.d-CjsMg_OD.js';
|