@apextelemed/partner-core 0.6.3 → 0.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.
- package/README.md +2 -2
- package/dist/api/index.d.ts +1 -1
- package/dist/api/index.js +3 -3
- package/dist/api/index.jsx +3 -3
- package/dist/{cart-D4mVX_zx.d.ts → cart-o6DpAu5y.d.ts} +1 -0
- package/dist/chunk/{WLEIDQ5M.jsx → 4S4MTN2K.jsx} +6 -2
- package/dist/chunk/{NBB2VTQK.jsx → 4SFB2SS2.jsx} +2 -2
- package/dist/chunk/{BVLA7ATM.js → 64RJJFEH.js} +3 -3
- package/dist/chunk/{BVLA7ATM.js.map → 64RJJFEH.js.map} +1 -1
- package/dist/chunk/{EVCGDF5D.jsx → 7AFUT5S3.jsx} +9 -1
- package/dist/chunk/{WODHGSBM.jsx → 7AMVRNYX.jsx} +3294 -1422
- package/dist/chunk/{4ZSZHZQV.jsx → CBOGAYTL.jsx} +2 -2
- package/dist/chunk/{YJEHCCLY.js → EXXI5Y7I.js} +4 -3
- package/dist/chunk/EXXI5Y7I.js.map +1 -0
- package/dist/chunk/{UCF2EXRL.js → F34QLV7Z.js} +4202 -2177
- package/dist/chunk/F34QLV7Z.js.map +1 -0
- package/dist/chunk/{MLXPHJLR.js → GODF2NJN.js} +7 -3
- package/dist/chunk/GODF2NJN.js.map +1 -0
- package/dist/chunk/{WUE4VQBA.js → J3IRPONP.js} +392 -21
- package/dist/chunk/J3IRPONP.js.map +1 -0
- package/dist/chunk/{QTGJY3YQ.js → J3OK2PQA.js} +3 -3
- package/dist/chunk/{QTGJY3YQ.js.map → J3OK2PQA.js.map} +1 -1
- package/dist/chunk/{NSRQXBHK.js → KXO4U2C6.js} +8 -189
- package/dist/chunk/KXO4U2C6.js.map +1 -0
- package/dist/chunk/{HXMLRDIJ.jsx → PA66KUAU.jsx} +418 -26
- package/dist/chunk/{2OXI5TKO.jsx → RSMUKR4J.jsx} +3 -2
- package/dist/chunk/{5HNZ7SEM.jsx → SHXH72AC.jsx} +26 -219
- package/dist/chunk/{BEDW4XUM.js → UPZPR5TU.js} +10 -2
- package/dist/chunk/UPZPR5TU.js.map +1 -0
- package/dist/{client-B6Kt7LWo.d.ts → client-CiHb-dIf.d.ts} +64 -8
- package/dist/flows/index.d.ts +157 -13
- package/dist/flows/index.js +6 -6
- package/dist/flows/index.jsx +25 -13
- package/dist/index/index.d.ts +4 -4
- package/dist/index/index.js +8 -8
- package/dist/index/index.jsx +40 -16
- package/dist/pages/index.d.ts +41 -6
- package/dist/pages/index.js +5 -5
- package/dist/pages/index.jsx +19 -7
- package/dist/primitives/default/index.js +1 -1
- package/dist/primitives/default/index.jsx +1 -1
- package/dist/stores/index.d.ts +2 -2
- package/dist/stores/index.js +2 -2
- package/dist/stores/index.jsx +2 -2
- package/dist/testing/seam-suite.js +1 -1
- package/dist/theme/admin.css +406 -1
- package/dist/theme/member-portal.css +5 -5
- package/package.json +1 -1
- package/dist/chunk/BEDW4XUM.js.map +0 -1
- package/dist/chunk/MLXPHJLR.js.map +0 -1
- package/dist/chunk/NSRQXBHK.js.map +0 -1
- package/dist/chunk/UCF2EXRL.js.map +0 -1
- package/dist/chunk/WUE4VQBA.js.map +0 -1
- package/dist/chunk/YJEHCCLY.js.map +0 -1
package/dist/flows/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Accessor, Resource } from 'solid-js';
|
|
2
|
-
import { A as AddressVerifyResult,
|
|
3
|
-
import { C as CartItem } from '../cart-
|
|
2
|
+
import { A as AddressVerifyResult, a7 as CheckoutAddress, b5 as User, al as DeliveryInfo, aK as RenewalStatus, aD as PendingRenewalSurvey, r as AdminLifecycleBucket, j as AdminCustomerOverview, E as AdminSubscriptionDetail, l as AdminCustomerRequest, aX as SupportThreadCategory, a5 as CatalogProduct, O as AffiliateConversion, S as AffiliateDownlineMember, P as AffiliateDashboardLinks, R as AffiliateDashboardStats, aG as PromoValidationResponse } from '../client-CiHb-dIf.js';
|
|
3
|
+
import { C as CartItem } from '../cart-o6DpAu5y.js';
|
|
4
4
|
export { U as UseSurveyV2FlowOptions, u as useSurveyV2Flow } from '../surveyV2-BgQHK0GE.js';
|
|
5
5
|
import { EmbedEvent } from '@apextelemed/survey-solid';
|
|
6
6
|
export { SurveyV2Flow, SurveyV2Outcome } from '@apextelemed/survey-solid';
|
|
@@ -97,7 +97,7 @@ interface SurveyFlow {
|
|
|
97
97
|
declare function useSurveyFlow(options?: UseSurveyFlowOptions): SurveyFlow;
|
|
98
98
|
|
|
99
99
|
declare const US_STATES: readonly string[];
|
|
100
|
-
/** Options for a state `<Select>`,
|
|
100
|
+
/** Options for a state `<Select>`, labeled by full name. */
|
|
101
101
|
declare const US_STATE_OPTIONS: Array<{
|
|
102
102
|
value: string;
|
|
103
103
|
label: string;
|
|
@@ -260,7 +260,7 @@ interface UseCheckoutFlowOptions {
|
|
|
260
260
|
* purchasable, so the card form is shown immediately after the survey instead
|
|
261
261
|
* of only after a prescriber approves. Off by default — the standard flow
|
|
262
262
|
* collects payment only on an `approved` request. When on, the backend's
|
|
263
|
-
* approved+paid
|
|
263
|
+
* approved+paid fulfillment gate still holds the order until a prescriber
|
|
264
264
|
* approves; this only moves WHEN the card is collected, not what ships.
|
|
265
265
|
*/
|
|
266
266
|
allowPendingPurchase?: boolean;
|
|
@@ -382,6 +382,11 @@ declare function useCartCheckoutFlow(): CartCheckoutFlow;
|
|
|
382
382
|
|
|
383
383
|
type SignupOutcome = {
|
|
384
384
|
kind: 'in_progress';
|
|
385
|
+
}
|
|
386
|
+
/** `requireCart` is on and the cart is empty — the site should send the
|
|
387
|
+
* visitor to its catalog before any step is shown. */
|
|
388
|
+
| {
|
|
389
|
+
kind: 'needs_cart';
|
|
385
390
|
} | {
|
|
386
391
|
kind: 'submitting';
|
|
387
392
|
}
|
|
@@ -399,6 +404,17 @@ interface UseSignupFlowOptions {
|
|
|
399
404
|
membershipIntervalDays?: number;
|
|
400
405
|
/** Label used when the cart is empty. Defaults to "Membership". */
|
|
401
406
|
membershipProductLabel?: string;
|
|
407
|
+
/**
|
|
408
|
+
* Refuse to start with an empty cart. The backend only accepts a cart-less
|
|
409
|
+
* signup for a membership tenant (deferred fulfillment with a configured
|
|
410
|
+
* membership product); every other tenant fans out one subscription per
|
|
411
|
+
* cart item and rejects an empty cart at submit — after the visitor has
|
|
412
|
+
* already filled in account, address and card. With this on, the flow
|
|
413
|
+
* reports `needs_cart` on mount (and again at submit, in case a peer tab
|
|
414
|
+
* emptied the shared cart) so the site can redirect to its catalog first.
|
|
415
|
+
* Default false, which keeps the membership-tenant behavior.
|
|
416
|
+
*/
|
|
417
|
+
requireCart?: boolean;
|
|
402
418
|
/**
|
|
403
419
|
* The verified savings member id to link to the new account (same payload
|
|
404
420
|
* field as the subscription-intake flow). Read at submit time; null/empty
|
|
@@ -553,11 +569,36 @@ type SubscribeOutcome = {
|
|
|
553
569
|
kind: 'completed';
|
|
554
570
|
};
|
|
555
571
|
interface UseSubscribeFlowOptions {
|
|
556
|
-
/**
|
|
572
|
+
/**
|
|
573
|
+
* @deprecated The amount shown and charged now comes from the backend's
|
|
574
|
+
* quote (`POST /subscriptions/preview`), which prices the cart exactly as
|
|
575
|
+
* the charge will. This value is only used as a last-resort estimate for a
|
|
576
|
+
* backend that predates the preview endpoint AND a cart with no prices.
|
|
577
|
+
*/
|
|
557
578
|
membershipAmountCents: number;
|
|
558
579
|
/** Billing interval in days. Default 30. */
|
|
559
580
|
membershipIntervalDays?: number;
|
|
560
581
|
}
|
|
582
|
+
/** What the page shows as "due today", and where the number came from. */
|
|
583
|
+
interface SubscribeQuote {
|
|
584
|
+
/** 'server': the backend's own quote — the number the card will be charged.
|
|
585
|
+
* 'estimate': computed from cart prices because the backend has no preview
|
|
586
|
+
* endpoint yet; correct for per-product tenants, which is every tenant
|
|
587
|
+
* without a membership product. */
|
|
588
|
+
source: 'server' | 'estimate';
|
|
589
|
+
model: 'membership' | 'per_product';
|
|
590
|
+
intervalDays: number;
|
|
591
|
+
lines: Array<{
|
|
592
|
+
productId: string;
|
|
593
|
+
productName: string;
|
|
594
|
+
dosage: string | null;
|
|
595
|
+
quantity: number;
|
|
596
|
+
amountCents: number;
|
|
597
|
+
}>;
|
|
598
|
+
subtotalCents: number;
|
|
599
|
+
discountCents: number;
|
|
600
|
+
totalCents: number;
|
|
601
|
+
}
|
|
561
602
|
interface SubscribeFlow {
|
|
562
603
|
outcome: Accessor<SubscribeOutcome>;
|
|
563
604
|
/** True once the card tokenizer is ready (config loaded; for AuthNet, Accept.js loaded too). Gate submission on this. */
|
|
@@ -571,6 +612,13 @@ interface SubscribeFlow {
|
|
|
571
612
|
acceptJsError: Accessor<string | null>;
|
|
572
613
|
error: Accessor<string | null>;
|
|
573
614
|
submitting: Accessor<boolean>;
|
|
615
|
+
/** The amount due today, server-quoted when the backend supports it. Null
|
|
616
|
+
* while it loads. */
|
|
617
|
+
quote: Accessor<SubscribeQuote | null>;
|
|
618
|
+
/** The backend refused to quote (e.g. this tenant needs a completed survey
|
|
619
|
+
* first). The same refusal the charge would give, surfaced before the
|
|
620
|
+
* customer types a card number. Submission is blocked while set. */
|
|
621
|
+
quoteError: Accessor<string | null>;
|
|
574
622
|
street: Accessor<string>;
|
|
575
623
|
setStreet: (v: string) => void;
|
|
576
624
|
city: Accessor<string>;
|
|
@@ -635,7 +683,7 @@ interface DashboardData {
|
|
|
635
683
|
subscription: Resource<DashboardSubscription | null>;
|
|
636
684
|
rxStatus: Resource<DashboardRxStatus | null>;
|
|
637
685
|
rxList: Resource<DashboardRxListItem[]>;
|
|
638
|
-
/** Re-fetch the prescription list (e.g. after
|
|
686
|
+
/** Re-fetch the prescription list (e.g. after canceling a request). */
|
|
639
687
|
refetchRxList: () => void;
|
|
640
688
|
pendingSurveys: Resource<PendingRenewalSurvey[]>;
|
|
641
689
|
/** First name from profile or authStore, falling back to "Member". */
|
|
@@ -1079,7 +1127,7 @@ interface MessagesIntent {
|
|
|
1079
1127
|
/** Open this exact conversation/thread; wins over `channel`/`category`. */
|
|
1080
1128
|
threadId?: string;
|
|
1081
1129
|
}
|
|
1082
|
-
/**
|
|
1130
|
+
/** Normalized conversation. The backend passes Apex's record through verbatim
|
|
1083
1131
|
* (the-backend routes/messages.ts → apexMessaging.Conversation), which names
|
|
1084
1132
|
* three of these fields differently; `normalizeConversation` reconciles them so
|
|
1085
1133
|
* consumers only ever see this shape. Support threads are mapped onto the same
|
|
@@ -1099,7 +1147,7 @@ interface Conversation {
|
|
|
1099
1147
|
[key: string]: unknown;
|
|
1100
1148
|
}
|
|
1101
1149
|
/**
|
|
1102
|
-
* One attachment on a message,
|
|
1150
|
+
* One attachment on a message, normalized across sources.
|
|
1103
1151
|
*
|
|
1104
1152
|
* `url` present means the source handed us a directly-usable link (Apex's
|
|
1105
1153
|
* clinical messages do this). Absent means it must be exchanged for a
|
|
@@ -1212,12 +1260,17 @@ declare function useMessagesThread(options?: UseMessagesThreadOptions): Messages
|
|
|
1212
1260
|
* falling back to the product-level price. Returns null for free / unpriced products. */
|
|
1213
1261
|
declare function lowestPrice(product: CatalogProduct): number | null;
|
|
1214
1262
|
/**
|
|
1215
|
-
*
|
|
1216
|
-
* percent/fixed discount the backend applied at the product level.
|
|
1217
|
-
* the strikethrough lands on the displayed (lowest-tier) value.
|
|
1263
|
+
* Sale price for an arbitrary base price on a product, re-deriving the same
|
|
1264
|
+
* percent/fixed discount the backend applied at the product level.
|
|
1218
1265
|
*
|
|
1219
1266
|
* Returns null when no active sale, no discount, or insufficient data.
|
|
1220
1267
|
*/
|
|
1268
|
+
declare function salePriceForBase(product: CatalogProduct, basePrice: number | null): number | null;
|
|
1269
|
+
/**
|
|
1270
|
+
* Lowest sale price for a tiered product. Used so the strikethrough lands on
|
|
1271
|
+
* the displayed (lowest-tier) value — `salePriceForBase` applied to the
|
|
1272
|
+
* product's cheapest dose.
|
|
1273
|
+
*/
|
|
1221
1274
|
declare function lowestSalePrice(product: CatalogProduct, basePrice: number | null): number | null;
|
|
1222
1275
|
interface CatalogFlow {
|
|
1223
1276
|
products: Resource<CatalogProduct[]>;
|
|
@@ -1277,6 +1330,75 @@ interface UseMedicationSelectOptions {
|
|
|
1277
1330
|
*/
|
|
1278
1331
|
declare function useMedicationSelect(options?: UseMedicationSelectOptions): MedicationSelectFlow;
|
|
1279
1332
|
|
|
1333
|
+
/** Why a line was dropped from the cart. */
|
|
1334
|
+
type CartDropReason =
|
|
1335
|
+
/** No product with this id in the catalog — deleted, or no longer active. */
|
|
1336
|
+
'unavailable'
|
|
1337
|
+
/** In the catalog, but no price resolves for this dose (an unpriced stub).
|
|
1338
|
+
* Left in, it would submit as a $0 order: the backend snapshots
|
|
1339
|
+
* `Number(price ?? 0)`. A deliberate 0.00 is priced, and is kept. */
|
|
1340
|
+
| 'unpriced'
|
|
1341
|
+
/** In the catalog, but not linked to an Apex drug, so it cannot be
|
|
1342
|
+
* prescribed. Only ever reported when `requireApexDrug` is set. */
|
|
1343
|
+
| 'not_prescribable';
|
|
1344
|
+
interface DroppedCartLine {
|
|
1345
|
+
item: CartItem;
|
|
1346
|
+
reason: CartDropReason;
|
|
1347
|
+
}
|
|
1348
|
+
interface CartReconciliation {
|
|
1349
|
+
/** The cart as it should now be — survivors, with refreshed snapshots. */
|
|
1350
|
+
items: CartItem[];
|
|
1351
|
+
dropped: DroppedCartLine[];
|
|
1352
|
+
/** Survivors whose stored snapshot no longer matched the catalog. */
|
|
1353
|
+
refreshed: CartItem[];
|
|
1354
|
+
/** False when the catalog could not be read; the cart was left untouched. */
|
|
1355
|
+
checked: boolean;
|
|
1356
|
+
}
|
|
1357
|
+
interface ReconcileOptions {
|
|
1358
|
+
/**
|
|
1359
|
+
* Drop lines with no linked Apex drug. Set on the prescription path (the v2
|
|
1360
|
+
* survey), where every cart line becomes a prescription request and an
|
|
1361
|
+
* unlinked product is a guaranteed failure at submit time. Off by default:
|
|
1362
|
+
* a cart may legitimately hold non-Apex items on sites that also sell them.
|
|
1363
|
+
*/
|
|
1364
|
+
requireApexDrug?: boolean;
|
|
1365
|
+
}
|
|
1366
|
+
/**
|
|
1367
|
+
* Pure reconciliation of cart lines against a catalog snapshot.
|
|
1368
|
+
*
|
|
1369
|
+
* Deliberately keeps a line whose *dose* is no longer offered: the backend
|
|
1370
|
+
* reconciles a requested dose against the drug's canonical Apex dosages at
|
|
1371
|
+
* request time, so it is not a dead line — it just re-prices here (the dose
|
|
1372
|
+
* overlay is gone, so the product's base price applies).
|
|
1373
|
+
*/
|
|
1374
|
+
declare function reconcileCartLines(items: CartItem[], products: CatalogProduct[], opts?: ReconcileOptions): CartReconciliation;
|
|
1375
|
+
/**
|
|
1376
|
+
* Reconcile the live cart against the catalog and write the result back.
|
|
1377
|
+
*
|
|
1378
|
+
* Fails OPEN in every direction: an empty cart short-circuits without a
|
|
1379
|
+
* request, and a catalog fetch that errors leaves the cart exactly as it was
|
|
1380
|
+
* (`checked: false`). Shopping must never break because this could not run —
|
|
1381
|
+
* the backend stays the authority on what is actually submittable.
|
|
1382
|
+
*/
|
|
1383
|
+
declare function reconcileCartAgainstCatalog(opts?: ReconcileOptions): Promise<CartReconciliation>;
|
|
1384
|
+
interface CartReconcileState {
|
|
1385
|
+
/** Lines removed because the catalog no longer offers them. */
|
|
1386
|
+
dropped: Accessor<DroppedCartLine[]>;
|
|
1387
|
+
/** Lines kept, with a snapshot refreshed from the catalog. */
|
|
1388
|
+
refreshed: Accessor<CartItem[]>;
|
|
1389
|
+
/** True while the catalog is being read. */
|
|
1390
|
+
pending: Accessor<boolean>;
|
|
1391
|
+
}
|
|
1392
|
+
/**
|
|
1393
|
+
* Reconcile the persisted cart against the catalog once, on mount.
|
|
1394
|
+
*
|
|
1395
|
+
* Mount it in the app shell (the layout that renders the cart drawer) so it
|
|
1396
|
+
* runs once per session, before the shopper can act on a stale line. Surface
|
|
1397
|
+
* `dropped` — a shopper whose item vanishes without a word will assume the
|
|
1398
|
+
* site lost it.
|
|
1399
|
+
*/
|
|
1400
|
+
declare function useCartReconcile(opts?: ReconcileOptions): CartReconcileState;
|
|
1401
|
+
|
|
1280
1402
|
interface AffiliateStatsFlow {
|
|
1281
1403
|
stats: Resource<AffiliateDashboardStats | null>;
|
|
1282
1404
|
refetch: () => void;
|
|
@@ -1319,6 +1441,28 @@ interface CategoryColorOpts {
|
|
|
1319
1441
|
palette?: readonly string[];
|
|
1320
1442
|
}
|
|
1321
1443
|
declare function categoryColor(id: string, opts?: CategoryColorOpts): string;
|
|
1444
|
+
/**
|
|
1445
|
+
* True when `value` can go straight into a CSS color property: a hex, a color
|
|
1446
|
+
* function (`rgb()`, `hsl()`, `oklch()`, …) or a bare `var(--x)`. A category's
|
|
1447
|
+
* `color` is a free admin-entered string, so anything else — a Tailwind class,
|
|
1448
|
+
* or text carrying `;` / `url(` — is not a style value.
|
|
1449
|
+
*/
|
|
1450
|
+
declare function isCssColorValue(value: string): boolean;
|
|
1451
|
+
/**
|
|
1452
|
+
* The color to use for a category: the admin-set `color` from the backend
|
|
1453
|
+
* when it is a CSS color value (see `isCssColorValue`), otherwise the
|
|
1454
|
+
* deterministic hash. Always returns something safe to put in a `style`
|
|
1455
|
+
* color property. Pass the same `opts` you would pass to `categoryColor` so
|
|
1456
|
+
* the fallback stays brand-aligned.
|
|
1457
|
+
*
|
|
1458
|
+
* A site that stores class names in `color` (e.g. `bg-emerald-500`) should read
|
|
1459
|
+
* `category.color` directly and apply it as a class; this falls back to the
|
|
1460
|
+
* hash for those.
|
|
1461
|
+
*/
|
|
1462
|
+
declare function resolveCategoryColor(category: {
|
|
1463
|
+
id: string;
|
|
1464
|
+
color?: string | null;
|
|
1465
|
+
}, opts?: CategoryColorOpts): string;
|
|
1322
1466
|
|
|
1323
1467
|
interface SurveyResult {
|
|
1324
1468
|
surveyResponseId: string;
|
|
@@ -1578,7 +1722,7 @@ interface ValidatedResumedPromo {
|
|
|
1578
1722
|
* or when the check itself fails — the cart is restored either way.
|
|
1579
1723
|
*
|
|
1580
1724
|
* Exported because a site with its own `CartSource` needs the same guarantee
|
|
1581
|
-
* without core's cart store: showing a discount checkout won't
|
|
1725
|
+
* without core's cart store: showing a discount checkout won't honor is worse
|
|
1582
1726
|
* than showing none.
|
|
1583
1727
|
*/
|
|
1584
1728
|
declare function validateResumedPromo(resumed: ResumedCart): Promise<ValidatedResumedPromo | null>;
|
|
@@ -1602,4 +1746,4 @@ declare function restoreCartFromLink(): Promise<ResumedCart | null>;
|
|
|
1602
1746
|
*/
|
|
1603
1747
|
declare function startCartCapture(opts?: CartCaptureOptions): () => void;
|
|
1604
1748
|
|
|
1605
|
-
export { type AccountSource, type AddressErrors, type AddressPair, type AddressValue, type AffiliateConversionsFlow, type AffiliateDownlineFlow, type AffiliateLinksFlow, type AffiliateStatsFlow, type AnswerValue, type AttentionAction, type AttentionActionKind, type AttentionItem, type CartCaptureOptions, type CartCheckoutFlow, type CartCheckoutOutcome, type CartCheckoutPricing, type CartSource, type CatalogFlow, CatalogProduct, type CategoryColorOpts, type CheckoutFlow, type CheckoutOutcome, type Conversation, DEFAULT_COLOR_PALETTE, type DashboardActivityItem, type DashboardData, type DashboardRxListItem, type DashboardRxStatus, type DashboardSubscription, type DrugResult, type FlatStep, type FulfillmentStage, type FunnelTelemetry, type JourneyState, type JourneyStep, type JourneyStepKey, LIFECYCLE_BUCKETS, LIFECYCLE_LABEL, LIFECYCLE_TONE, LIVE_SUBSCRIPTION_STATUSES, type MedicationPricing, type MedicationSelectFlow, type MemberPortalData, type MemberPortalRx, type MemberPortalSubscription, type MessagesChannel, type MessagesIntent, type MessagesThread, type PricingBreakdown, type ProductDetailFlow, type PromoPricing, type RefillEvent, type RefillView, type RegisterFlow, type RegisterOutcome, type RequestStatus, type RxRequestStatus, type Severity, type ShipmentInfo, type SignupFlow, type SignupOutcome, type StageState, type SubscribeFlow, type SubscribeOutcome, type SubscriptionIntakeFlow, type SubscriptionIntakeOutcome, type SurveyFlow, type SurveyOption, type SurveyOutcome, type SurveyQuestion, type SurveyResult, TERMINAL_SUBSCRIPTION_STATUSES, type ThreadMessage, type TimelineEvent, type TimelineKind, type Tone, type TrackerRequest, type TrackerRequestStatus, type TrackerSubscription, type TrackerSubscriptionStatus, type TrackerView, type TrackingUrlCarrier, US_STATES, US_STATE_OPTIONS, type UpdatePaymentMethodFlow, type UseAddressPairOptions, type UseCheckoutFlowOptions, type UseMedicationSelectOptions, type UseMessagesThreadOptions, type UseSignupFlowOptions, type UseSubscribeFlowOptions, type UseSubscriptionIntakeFlowOptions, type UseSurveyFlowOptions, type ValidateAddressOptions, type ValidatedResumedPromo, type VisibilityCondition, accountSource, availableStateOptions, availableStates, buildRefillView, buildTimeline, buildTrackerView, buildTrackingUrl, captureFunnelEmail, categoryColor, createFunnelTelemetry, deriveAttention, deriveJourney, emailGateAnswered, formatCardNumber, formatConversationTime, formatCvv, formatEventDate, formatExpiry, formatMessageTime, formatRelativeTime, formatStageDate, hasErrors, isLive, isQuestionVisible, isReconcilable, lifecycleReason, lowestPrice, lowestSalePrice, markEmailGateAnswered, normalizeState, primarySubscription, redeemResumeLink, resetResumeRedemption, restoreCartFromLink, startCartCapture, stateAvailabilityNote, toTrackerRequest, useAddressPair, useAffiliateConversions, useAffiliateDownline, useAffiliateLinks, useAffiliateStats, useCartCheckoutFlow, useCatalog, useCheckoutFlow, useDashboardData, useMedicationSelect, useMemberPortalData, useMessagesThread, useProductDetail, useRegisterFlow, useSignupFlow, useSubscribeFlow, useSubscriptionIntakeFlow, useSurveyFlow, useUpdatePaymentMethodFlow, validateAddress, validateResumedPromo };
|
|
1749
|
+
export { type AccountSource, type AddressErrors, type AddressPair, type AddressValue, type AffiliateConversionsFlow, type AffiliateDownlineFlow, type AffiliateLinksFlow, type AffiliateStatsFlow, type AnswerValue, type AttentionAction, type AttentionActionKind, type AttentionItem, type CartCaptureOptions, type CartCheckoutFlow, type CartCheckoutOutcome, type CartCheckoutPricing, type CartDropReason, type CartReconcileState, type CartReconciliation, type CartSource, type CatalogFlow, CatalogProduct, type CategoryColorOpts, type CheckoutFlow, type CheckoutOutcome, type Conversation, DEFAULT_COLOR_PALETTE, type DashboardActivityItem, type DashboardData, type DashboardRxListItem, type DashboardRxStatus, type DashboardSubscription, type DroppedCartLine, type DrugResult, type FlatStep, type FulfillmentStage, type FunnelTelemetry, type JourneyState, type JourneyStep, type JourneyStepKey, LIFECYCLE_BUCKETS, LIFECYCLE_LABEL, LIFECYCLE_TONE, LIVE_SUBSCRIPTION_STATUSES, type MedicationPricing, type MedicationSelectFlow, type MemberPortalData, type MemberPortalRx, type MemberPortalSubscription, type MessagesChannel, type MessagesIntent, type MessagesThread, type PricingBreakdown, type ProductDetailFlow, type PromoPricing, type ReconcileOptions, type RefillEvent, type RefillView, type RegisterFlow, type RegisterOutcome, type RequestStatus, type RxRequestStatus, type Severity, type ShipmentInfo, type SignupFlow, type SignupOutcome, type StageState, type SubscribeFlow, type SubscribeOutcome, type SubscriptionIntakeFlow, type SubscriptionIntakeOutcome, type SurveyFlow, type SurveyOption, type SurveyOutcome, type SurveyQuestion, type SurveyResult, TERMINAL_SUBSCRIPTION_STATUSES, type ThreadMessage, type TimelineEvent, type TimelineKind, type Tone, type TrackerRequest, type TrackerRequestStatus, type TrackerSubscription, type TrackerSubscriptionStatus, type TrackerView, type TrackingUrlCarrier, US_STATES, US_STATE_OPTIONS, type UpdatePaymentMethodFlow, type UseAddressPairOptions, type UseCheckoutFlowOptions, type UseMedicationSelectOptions, type UseMessagesThreadOptions, type UseSignupFlowOptions, type UseSubscribeFlowOptions, type UseSubscriptionIntakeFlowOptions, type UseSurveyFlowOptions, type ValidateAddressOptions, type ValidatedResumedPromo, type VisibilityCondition, accountSource, availableStateOptions, availableStates, buildRefillView, buildTimeline, buildTrackerView, buildTrackingUrl, captureFunnelEmail, categoryColor, createFunnelTelemetry, deriveAttention, deriveJourney, emailGateAnswered, formatCardNumber, formatConversationTime, formatCvv, formatEventDate, formatExpiry, formatMessageTime, formatRelativeTime, formatStageDate, hasErrors, isCssColorValue, isLive, isQuestionVisible, isReconcilable, lifecycleReason, lowestPrice, lowestSalePrice, markEmailGateAnswered, normalizeState, primarySubscription, reconcileCartAgainstCatalog, reconcileCartLines, redeemResumeLink, resetResumeRedemption, resolveCategoryColor, restoreCartFromLink, salePriceForBase, startCartCapture, stateAvailabilityNote, toTrackerRequest, useAddressPair, useAffiliateConversions, useAffiliateDownline, useAffiliateLinks, useAffiliateStats, useCartCheckoutFlow, useCartReconcile, useCatalog, useCheckoutFlow, useDashboardData, useMedicationSelect, useMemberPortalData, useMessagesThread, useProductDetail, useRegisterFlow, useSignupFlow, useSubscribeFlow, useSubscriptionIntakeFlow, useSurveyFlow, useUpdatePaymentMethodFlow, validateAddress, validateResumedPromo };
|
package/dist/flows/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export {
|
|
2
|
-
import '../chunk/
|
|
3
|
-
export { LIFECYCLE_BUCKETS, LIFECYCLE_LABEL, LIFECYCLE_TONE, LIVE_SUBSCRIPTION_STATUSES, TERMINAL_SUBSCRIPTION_STATUSES, US_STATES, US_STATE_OPTIONS, accountSource, availableStateOptions, availableStates, buildRefillView, buildTimeline, buildTrackerView, buildTrackingUrl, captureFunnelEmail, createFunnelTelemetry, deriveAttention, deriveJourney, emailGateAnswered, formatCardNumber, formatConversationTime, formatCvv, formatEventDate, formatExpiry, formatMessageTime, formatRelativeTime, formatStageDate, hasErrors, isLive, isQuestionVisible, isReconcilable, lifecycleReason, markEmailGateAnswered, normalizeState, primarySubscription, redeemResumeLink, resetResumeRedemption, stateAvailabilityNote, toTrackerRequest, useAddressPair, useAffiliateConversions, useAffiliateDownline, useAffiliateLinks, useAffiliateStats, useCartCheckoutFlow, useCheckoutFlow, useDashboardData, useMemberPortalData, useMessagesThread, useRegisterFlow, useSignupFlow, useSubscribeFlow, useSurveyFlow, useSurveyV2Flow, useUpdatePaymentMethodFlow, validateAddress } from '../chunk/
|
|
4
|
-
import '../chunk/
|
|
5
|
-
import '../chunk/
|
|
6
|
-
import '../chunk/
|
|
1
|
+
export { restoreCartFromLink, startCartCapture, useSubscriptionIntakeFlow, validateResumedPromo } from '../chunk/KXO4U2C6.js';
|
|
2
|
+
import '../chunk/64RJJFEH.js';
|
|
3
|
+
export { DEFAULT_COLOR_PALETTE, LIFECYCLE_BUCKETS, LIFECYCLE_LABEL, LIFECYCLE_TONE, LIVE_SUBSCRIPTION_STATUSES, TERMINAL_SUBSCRIPTION_STATUSES, US_STATES, US_STATE_OPTIONS, accountSource, availableStateOptions, availableStates, buildRefillView, buildTimeline, buildTrackerView, buildTrackingUrl, captureFunnelEmail, categoryColor, createFunnelTelemetry, deriveAttention, deriveJourney, emailGateAnswered, formatCardNumber, formatConversationTime, formatCvv, formatEventDate, formatExpiry, formatMessageTime, formatRelativeTime, formatStageDate, hasErrors, isCssColorValue, isLive, isQuestionVisible, isReconcilable, lifecycleReason, lowestPrice, lowestSalePrice, markEmailGateAnswered, normalizeState, primarySubscription, reconcileCartAgainstCatalog, reconcileCartLines, redeemResumeLink, resetResumeRedemption, resolveCategoryColor, salePriceForBase, stateAvailabilityNote, toTrackerRequest, useAddressPair, useAffiliateConversions, useAffiliateDownline, useAffiliateLinks, useAffiliateStats, useCartCheckoutFlow, useCartReconcile, useCatalog, useCheckoutFlow, useDashboardData, useMedicationSelect, useMemberPortalData, useMessagesThread, useProductDetail, useRegisterFlow, useSignupFlow, useSubscribeFlow, useSurveyFlow, useSurveyV2Flow, useUpdatePaymentMethodFlow, validateAddress } from '../chunk/J3IRPONP.js';
|
|
4
|
+
import '../chunk/J3OK2PQA.js';
|
|
5
|
+
import '../chunk/GODF2NJN.js';
|
|
6
|
+
import '../chunk/UPZPR5TU.js';
|
|
7
7
|
import '../chunk/5XGPFYIJ.js';
|
|
8
8
|
//# sourceMappingURL=index.js.map
|
|
9
9
|
//# sourceMappingURL=index.js.map
|
package/dist/flows/index.jsx
CHANGED
|
@@ -1,18 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
DEFAULT_COLOR_PALETTE,
|
|
3
|
-
categoryColor,
|
|
4
|
-
lowestPrice,
|
|
5
|
-
lowestSalePrice,
|
|
6
2
|
restoreCartFromLink,
|
|
7
3
|
startCartCapture,
|
|
8
|
-
useCatalog,
|
|
9
|
-
useMedicationSelect,
|
|
10
|
-
useProductDetail,
|
|
11
4
|
useSubscriptionIntakeFlow,
|
|
12
5
|
validateResumedPromo
|
|
13
|
-
} from "../chunk/
|
|
14
|
-
import "../chunk/
|
|
6
|
+
} from "../chunk/SHXH72AC.jsx";
|
|
7
|
+
import "../chunk/CBOGAYTL.jsx";
|
|
15
8
|
import {
|
|
9
|
+
DEFAULT_COLOR_PALETTE,
|
|
16
10
|
LIFECYCLE_BUCKETS,
|
|
17
11
|
LIFECYCLE_LABEL,
|
|
18
12
|
LIFECYCLE_TONE,
|
|
@@ -28,6 +22,7 @@ import {
|
|
|
28
22
|
buildTrackerView,
|
|
29
23
|
buildTrackingUrl,
|
|
30
24
|
captureFunnelEmail,
|
|
25
|
+
categoryColor,
|
|
31
26
|
createFunnelTelemetry,
|
|
32
27
|
deriveAttention,
|
|
33
28
|
deriveJourney,
|
|
@@ -41,15 +36,22 @@ import {
|
|
|
41
36
|
formatRelativeTime,
|
|
42
37
|
formatStageDate,
|
|
43
38
|
hasErrors,
|
|
39
|
+
isCssColorValue,
|
|
44
40
|
isLive,
|
|
45
41
|
isQuestionVisible,
|
|
46
42
|
isReconcilable,
|
|
47
43
|
lifecycleReason,
|
|
44
|
+
lowestPrice,
|
|
45
|
+
lowestSalePrice,
|
|
48
46
|
markEmailGateAnswered,
|
|
49
47
|
normalizeState,
|
|
50
48
|
primarySubscription,
|
|
49
|
+
reconcileCartAgainstCatalog,
|
|
50
|
+
reconcileCartLines,
|
|
51
51
|
redeemResumeLink,
|
|
52
52
|
resetResumeRedemption,
|
|
53
|
+
resolveCategoryColor,
|
|
54
|
+
salePriceForBase,
|
|
53
55
|
stateAvailabilityNote,
|
|
54
56
|
toTrackerRequest,
|
|
55
57
|
useAddressPair,
|
|
@@ -58,10 +60,14 @@ import {
|
|
|
58
60
|
useAffiliateLinks,
|
|
59
61
|
useAffiliateStats,
|
|
60
62
|
useCartCheckoutFlow,
|
|
63
|
+
useCartReconcile,
|
|
64
|
+
useCatalog,
|
|
61
65
|
useCheckoutFlow,
|
|
62
66
|
useDashboardData,
|
|
67
|
+
useMedicationSelect,
|
|
63
68
|
useMemberPortalData,
|
|
64
69
|
useMessagesThread,
|
|
70
|
+
useProductDetail,
|
|
65
71
|
useRegisterFlow,
|
|
66
72
|
useSignupFlow,
|
|
67
73
|
useSubscribeFlow,
|
|
@@ -69,10 +75,10 @@ import {
|
|
|
69
75
|
useSurveyV2Flow,
|
|
70
76
|
useUpdatePaymentMethodFlow,
|
|
71
77
|
validateAddress
|
|
72
|
-
} from "../chunk/
|
|
73
|
-
import "../chunk/
|
|
74
|
-
import "../chunk/
|
|
75
|
-
import "../chunk/
|
|
78
|
+
} from "../chunk/PA66KUAU.jsx";
|
|
79
|
+
import "../chunk/4SFB2SS2.jsx";
|
|
80
|
+
import "../chunk/4S4MTN2K.jsx";
|
|
81
|
+
import "../chunk/7AFUT5S3.jsx";
|
|
76
82
|
import "../chunk/LDZIUFDM.jsx";
|
|
77
83
|
export {
|
|
78
84
|
DEFAULT_COLOR_PALETTE,
|
|
@@ -105,6 +111,7 @@ export {
|
|
|
105
111
|
formatRelativeTime,
|
|
106
112
|
formatStageDate,
|
|
107
113
|
hasErrors,
|
|
114
|
+
isCssColorValue,
|
|
108
115
|
isLive,
|
|
109
116
|
isQuestionVisible,
|
|
110
117
|
isReconcilable,
|
|
@@ -114,9 +121,13 @@ export {
|
|
|
114
121
|
markEmailGateAnswered,
|
|
115
122
|
normalizeState,
|
|
116
123
|
primarySubscription,
|
|
124
|
+
reconcileCartAgainstCatalog,
|
|
125
|
+
reconcileCartLines,
|
|
117
126
|
redeemResumeLink,
|
|
118
127
|
resetResumeRedemption,
|
|
128
|
+
resolveCategoryColor,
|
|
119
129
|
restoreCartFromLink,
|
|
130
|
+
salePriceForBase,
|
|
120
131
|
startCartCapture,
|
|
121
132
|
stateAvailabilityNote,
|
|
122
133
|
toTrackerRequest,
|
|
@@ -126,6 +137,7 @@ export {
|
|
|
126
137
|
useAffiliateLinks,
|
|
127
138
|
useAffiliateStats,
|
|
128
139
|
useCartCheckoutFlow,
|
|
140
|
+
useCartReconcile,
|
|
129
141
|
useCatalog,
|
|
130
142
|
useCheckoutFlow,
|
|
131
143
|
useDashboardData,
|
package/dist/index/index.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
export { PortalConfig, configure, getConfig } from '../config/index.js';
|
|
2
2
|
export { BannerProps, BannerVariant, ButtonProps, ButtonSize, ButtonVariant, CardProps, CheckboxGroupProps, ChoiceOption, HeadingProps, Primitives, PrimitivesProvider, RadioGroupProps, SelectOption, SelectProps, SpinnerProps, Status, StatusPillProps, StepIndicatorProps, TextFieldProps, TextareaProps, usePrimitives } from '../primitives/index.js';
|
|
3
3
|
export { defaultPrimitives } from '../primitives/default/index.js';
|
|
4
|
-
export { A as AddressVerifyResult, a as AdminApexDrug, b as AdminBillingAttempt, c as AdminCategory, d as AdminCategoryInput, e as
|
|
4
|
+
export { A as AddressVerifyResult, a as AdminApexDrug, b as AdminBillingAttempt, c as AdminCategory, d as AdminCategoryInput, e as AdminCategoryUpdate, f as AdminCustomer, g as AdminCustomerFacts, h as AdminCustomerFunnel, i as AdminCustomerListParams, j as AdminCustomerOverview, k as AdminCustomerProfile, l as AdminCustomerRequest, m as AdminCustomerRow, n as AdminCustomerSupport, o as AdminCustomerSupportThread, p as AdminDashboardStats, q as AdminLifecycle, r as AdminLifecycleBucket, s as AdminListParams, t as AdminOrderSummary, u as AdminPayment, v as AdminPaymentDetail, w as AdminProduct, x as AdminPromoCode, y as AdminPromoCodeInput, z as AdminRefundResult, B as AdminSale, C as AdminSaleInput, D as AdminSubscription, E as AdminSubscriptionDetail, F as AdminSubscriptionPatch, G as AdminSubscriptionWriteResult, H as AdminSupportCustomer, I as AdminSupportStats, J as AdminSupportThread, K as AdminWebhookEvent, L as Affiliate, M as AffiliateAuthTokens, N as AffiliateClickRecord, O as AffiliateConversion, P as AffiliateDashboardLinks, Q as AffiliateDashboardProfile, R as AffiliateDashboardStats, S as AffiliateDownlineMember, T as AffiliateEarningsBreakdown, U as AffiliatePaymentMethod, V as AffiliateProgram, W as AffiliateRegisterInput, X as AffiliateRegisterResponse, Y as AffiliateSession, Z as AffiliateStatsResponse, _ as AffiliateStatus, $ as AffiliateTrackResponse, a0 as ApiError, a1 as ApiResponse, a2 as AttributionMethod, a3 as AuthTokens, a4 as BillingReminderSettings, a5 as CatalogProduct, a6 as CategoryMetadata, a7 as CheckoutAddress, a8 as CheckoutPayload, a9 as CheckoutResult, aa as CommissionConfig, ab as CommissionStatus, ac as CompleteSurveyPayload, ad as CreateAffiliatePayload, ae as CreateAffiliateProgramPayload, af as CreateOrderPayload, ag as CreateRequestPayload, ah as CreateSubscriptionPayload, ai as CustomTemplate, aj as CustomTemplateInput, ak as CustomerDiscountConfig, al as DeliveryInfo, am as DiscountType, an as EmailNotificationSettings, ao as EmailTemplatesMap, ap as LoginPayload, aq as MemberPrescriptionRequest, ar as MemberSurveyMode, as as MemberSurveyResponseSummary, at as MemberSurveyTranscript, au as MemberSurveyTranscriptItem, av as MemberSurveyTranscriptSection, aw as MembersMeResponse, ax as Order, ay as OrderItemInput, az as PaginationParams, aA as PaymentCallbackPayload, aB as PaymentInitiatePayload, aC as PaymentType, aD as PendingRenewalSurvey, aE as Placeholder, aF as ProductSaleSummary, aG as PromoValidationResponse, aH as PublicCategory, aI as RegisterAndSubscribePayload, aJ as RegisterPayload, aK as RenewalStatus, aL as SUPPORT_ATTACHMENT_MAX_BYTES, aM as SUPPORT_ATTACHMENT_MIME_TYPES, aN as SelectDrugPayload, aO as SendMessagePayload, aP as SendToPharmacyPayload, aQ as SubscriptionPreview, aR as SubscriptionPreviewLine, aS as SubscriptionPreviewPayload, aT as SupportAttachment, aU as SupportMessage, aV as SupportRealtimeToken, aW as SupportThread, aX as SupportThreadCategory, aY as SupportThreadStatus, aZ as SurveySubmitPayload, a_ as TemplatePlaceholdersMap, a$ as TemplateText, b0 as TokenTrackName, b1 as UpdateAffiliatePayload, b2 as UpdateAffiliateProgramPayload, b3 as UpdatePaymentMethodPayload, b4 as UpdateProfilePayload, b5 as User, b6 as addressesApi, b7 as adminAffiliatesApi, b8 as adminApi, b9 as affiliateAuthStorageKey, ba as affiliatePortalApi, bb as apexApi, bc as apiFetch, bd as authApi, be as authStorageKey, bf as clearAffiliateTokens, bg as clearTokens, bh as getAffiliateTokens, bi as getTokens, bj as membersApi, bk as messagesApi, bl as newIdempotencyKey, bm as onTokensCleared, bn as ordersApi, bo as paymentsApi, bp as productsApi, bq as promoCodesApi, br as setAffiliateTokens, bs as setTokens, bt as subscriptionsApi, bu as supportApi, bv as usersApi } from '../client-CiHb-dIf.js';
|
|
5
5
|
export { EmbedApiError as ApexV2ApiError, EmbedApiClient, EmbedApiClientOptions, EmbedApiError, EmbedEvent, EmbedEventType, FetchLike, PatientInfo, V2Answer, V2ComposedSurvey, V2DrugResult, V2QualificationResult, V2Question, V2QuestionOption, V2Section, V2Step, V2SubmitResult, V2VisibilityCondition, createEmbedApiClient, disqualificationReasonText, disqualifiedDrugIds, qualifiedDrugIds } from '@apextelemed/survey-core';
|
|
6
6
|
export { captureAffiliateRef, capturePromoCode, clearAffiliateRef, clearPromoCode, readAffiliateRef, readPromoCode } from '../api/index.js';
|
|
7
7
|
export { C as CartCaptureConfig, a as CartSnapshotLine, F as FunnelConfig, b as FunnelDraftPayload, R as ResumedCart, c as ResumedCartLine, d as ResumedDraft, e as adoptCartId, f as adoptFunnelSessionId, g as captureAuthHeader, h as cartId, i as fetchCartConfig, j as fetchFunnelConfig, k as fetchResumedCart, l as fetchResumedDraft, m as funnelSessionId, p as peekFunnelSessionId, n as postCartSnapshot, o as postFunnelEvent, r as readCartToken, q as readResumeToken, s as resetCartConfigCache, t as resetCartId, u as resetFunnelConfigCache, v as saveFunnelDraft, w as stripCartToken, x as stripResumeToken } from '../cart-BwUwSzWh.js';
|
|
8
8
|
export { MedicationSelection, affiliateAuthStore, authStore, medicationStore } from '../stores/index.js';
|
|
9
|
-
export { A as AppliedPromoCode, C as CartItem, c as cartStore } from '../cart-
|
|
9
|
+
export { A as AppliedPromoCode, C as CartItem, c as cartStore } from '../cart-o6DpAu5y.js';
|
|
10
10
|
import { AddressPair } from '../flows/index.js';
|
|
11
|
-
export { AccountSource, AddressErrors, AddressValue, AffiliateConversionsFlow, AffiliateDownlineFlow, AffiliateLinksFlow, AffiliateStatsFlow, AnswerValue, AttentionAction, AttentionActionKind, AttentionItem, CartCaptureOptions, CartCheckoutFlow, CartCheckoutOutcome, CartCheckoutPricing, CartSource, CatalogFlow, CategoryColorOpts, CheckoutFlow, CheckoutOutcome, Conversation, DEFAULT_COLOR_PALETTE, DashboardActivityItem, DashboardData, DashboardRxListItem, DashboardRxStatus, DashboardSubscription, DrugResult, FlatStep, FulfillmentStage, FunnelTelemetry, JourneyState, JourneyStep, JourneyStepKey, LIFECYCLE_BUCKETS, LIFECYCLE_LABEL, LIFECYCLE_TONE, LIVE_SUBSCRIPTION_STATUSES, MedicationPricing, MedicationSelectFlow, MemberPortalData, MemberPortalRx, MemberPortalSubscription, MessagesChannel, MessagesIntent, MessagesThread, PricingBreakdown, ProductDetailFlow, PromoPricing, RefillEvent, RefillView, RegisterFlow, RegisterOutcome, RequestStatus, RxRequestStatus, Severity, ShipmentInfo, SignupFlow, SignupOutcome, StageState, SubscribeFlow, SubscribeOutcome, SubscriptionIntakeFlow, SubscriptionIntakeOutcome, SurveyFlow, SurveyOption, SurveyOutcome, SurveyQuestion, SurveyResult, TERMINAL_SUBSCRIPTION_STATUSES, ThreadMessage, TimelineEvent, TimelineKind, Tone, TrackerRequest, TrackerRequestStatus, TrackerSubscription, TrackerSubscriptionStatus, TrackerView, TrackingUrlCarrier, US_STATES, US_STATE_OPTIONS, UpdatePaymentMethodFlow, UseAddressPairOptions, UseCheckoutFlowOptions, UseMedicationSelectOptions, UseMessagesThreadOptions, UseSignupFlowOptions, UseSubscribeFlowOptions, UseSubscriptionIntakeFlowOptions, UseSurveyFlowOptions, ValidateAddressOptions, ValidatedResumedPromo, VisibilityCondition, accountSource, availableStateOptions, availableStates, buildRefillView, buildTimeline, buildTrackerView, buildTrackingUrl, captureFunnelEmail, categoryColor, createFunnelTelemetry, deriveAttention, deriveJourney, emailGateAnswered, formatCardNumber, formatConversationTime, formatCvv, formatEventDate, formatExpiry, formatMessageTime, formatRelativeTime, formatStageDate, hasErrors, isLive, isQuestionVisible, isReconcilable, lifecycleReason, lowestPrice, lowestSalePrice, markEmailGateAnswered, normalizeState, primarySubscription, redeemResumeLink, resetResumeRedemption, restoreCartFromLink, startCartCapture, stateAvailabilityNote, toTrackerRequest, useAddressPair, useAffiliateConversions, useAffiliateDownline, useAffiliateLinks, useAffiliateStats, useCartCheckoutFlow, useCatalog, useCheckoutFlow, useDashboardData, useMedicationSelect, useMemberPortalData, useMessagesThread, useProductDetail, useRegisterFlow, useSignupFlow, useSubscribeFlow, useSubscriptionIntakeFlow, useSurveyFlow, useUpdatePaymentMethodFlow, validateAddress, validateResumedPromo } from '../flows/index.js';
|
|
11
|
+
export { AccountSource, AddressErrors, AddressValue, AffiliateConversionsFlow, AffiliateDownlineFlow, AffiliateLinksFlow, AffiliateStatsFlow, AnswerValue, AttentionAction, AttentionActionKind, AttentionItem, CartCaptureOptions, CartCheckoutFlow, CartCheckoutOutcome, CartCheckoutPricing, CartDropReason, CartReconcileState, CartReconciliation, CartSource, CatalogFlow, CategoryColorOpts, CheckoutFlow, CheckoutOutcome, Conversation, DEFAULT_COLOR_PALETTE, DashboardActivityItem, DashboardData, DashboardRxListItem, DashboardRxStatus, DashboardSubscription, DroppedCartLine, DrugResult, FlatStep, FulfillmentStage, FunnelTelemetry, JourneyState, JourneyStep, JourneyStepKey, LIFECYCLE_BUCKETS, LIFECYCLE_LABEL, LIFECYCLE_TONE, LIVE_SUBSCRIPTION_STATUSES, MedicationPricing, MedicationSelectFlow, MemberPortalData, MemberPortalRx, MemberPortalSubscription, MessagesChannel, MessagesIntent, MessagesThread, PricingBreakdown, ProductDetailFlow, PromoPricing, ReconcileOptions, RefillEvent, RefillView, RegisterFlow, RegisterOutcome, RequestStatus, RxRequestStatus, Severity, ShipmentInfo, SignupFlow, SignupOutcome, StageState, SubscribeFlow, SubscribeOutcome, SubscriptionIntakeFlow, SubscriptionIntakeOutcome, SurveyFlow, SurveyOption, SurveyOutcome, SurveyQuestion, SurveyResult, TERMINAL_SUBSCRIPTION_STATUSES, ThreadMessage, TimelineEvent, TimelineKind, Tone, TrackerRequest, TrackerRequestStatus, TrackerSubscription, TrackerSubscriptionStatus, TrackerView, TrackingUrlCarrier, US_STATES, US_STATE_OPTIONS, UpdatePaymentMethodFlow, UseAddressPairOptions, UseCheckoutFlowOptions, UseMedicationSelectOptions, UseMessagesThreadOptions, UseSignupFlowOptions, UseSubscribeFlowOptions, UseSubscriptionIntakeFlowOptions, UseSurveyFlowOptions, ValidateAddressOptions, ValidatedResumedPromo, VisibilityCondition, accountSource, availableStateOptions, availableStates, buildRefillView, buildTimeline, buildTrackerView, buildTrackingUrl, captureFunnelEmail, categoryColor, createFunnelTelemetry, deriveAttention, deriveJourney, emailGateAnswered, formatCardNumber, formatConversationTime, formatCvv, formatEventDate, formatExpiry, formatMessageTime, formatRelativeTime, formatStageDate, hasErrors, isCssColorValue, isLive, isQuestionVisible, isReconcilable, lifecycleReason, lowestPrice, lowestSalePrice, markEmailGateAnswered, normalizeState, primarySubscription, reconcileCartAgainstCatalog, reconcileCartLines, redeemResumeLink, resetResumeRedemption, resolveCategoryColor, restoreCartFromLink, salePriceForBase, startCartCapture, stateAvailabilityNote, toTrackerRequest, useAddressPair, useAffiliateConversions, useAffiliateDownline, useAffiliateLinks, useAffiliateStats, useCartCheckoutFlow, useCartReconcile, useCatalog, useCheckoutFlow, useDashboardData, useMedicationSelect, useMemberPortalData, useMessagesThread, useProductDetail, useRegisterFlow, useSignupFlow, useSubscribeFlow, useSubscriptionIntakeFlow, useSurveyFlow, useUpdatePaymentMethodFlow, validateAddress, validateResumedPromo } from '../flows/index.js';
|
|
12
12
|
export { U as UseSurveyV2FlowOptions, u as useSurveyV2Flow } from '../surveyV2-BgQHK0GE.js';
|
|
13
|
-
export { AdminAuthAdapter, AdminDashboard, AdminDashboardProps, AdminTab, AdminTabGroup, AdminToast, AffiliateAuthAdapter, AffiliateForgotPassword, AffiliateForgotPasswordProps, AffiliateLogin, AffiliateLoginProps, AffiliatePortal, AffiliatePortalProps, AffiliatePortalTab, AffiliateRegister, AffiliateRegisterProps, AffiliateResetPassword, AffiliateResetPasswordProps, AffiliateSubTab, AffiliatesProps, CartCheckoutPage, CartCheckoutPageProps, CheckoutPage, CheckoutPageProps, EmailTemplates, ForgotPasswordPage, ForgotPasswordPageProps, LegalLink, MedicationGuideContent, MedicationGuideResolver, MemberAuthAdapter, MemberPortal, MemberPortalBrand, MemberPortalProps, MemberPortalRoutes, PatientDashboardPreview, PatientDashboardPreviewProps, RegisterPage, RegisterPageProps, ResetPasswordPage, ResetPasswordPageProps, SignupPage, SignupPageProps, SubscribePage, SubscribePageProps, SurveyPage, SurveyPageProps, SurveyV2Page, SurveyV2PageProps, UpdatePaymentMethod, UpdatePaymentMethodProps } from '../pages/index.js';
|
|
13
|
+
export { ADMIN_TAB_SEGMENTS, AFFILIATE_SUB_TAB_SEGMENTS, AdminAuthAdapter, AdminDashboard, AdminDashboardProps, AdminTab, AdminTabGroup, AdminToast, AffiliateAuthAdapter, AffiliateForgotPassword, AffiliateForgotPasswordProps, AffiliateLogin, AffiliateLoginProps, AffiliatePortal, AffiliatePortalProps, AffiliatePortalTab, AffiliateRegister, AffiliateRegisterProps, AffiliateResetPassword, AffiliateResetPasswordProps, AffiliateSubTab, AffiliatesProps, CartCheckoutPage, CartCheckoutPageProps, CheckoutPage, CheckoutPageProps, EmailTemplates, ForgotPasswordPage, ForgotPasswordPageProps, LegalLink, MedicationGuideContent, MedicationGuideResolver, MemberAuthAdapter, MemberPortal, MemberPortalBrand, MemberPortalProps, MemberPortalRoutes, PatientDashboardPreview, PatientDashboardPreviewProps, RegisterPage, RegisterPageProps, ResetPasswordPage, ResetPasswordPageProps, SignupPage, SignupPageProps, SubscribePage, SubscribePageProps, SurveyPage, SurveyPageProps, SurveyV2Page, SurveyV2PageProps, UpdatePaymentMethod, UpdatePaymentMethodProps, adminTabFromPath, adminTabPath, affiliateSubTabFromPath, affiliateSubTabPath } from '../pages/index.js';
|
|
14
14
|
import { JSX } from 'solid-js';
|
|
15
15
|
export { SurveyV2Flow, SurveyV2Outcome } from '@apextelemed/survey-solid';
|
|
16
16
|
|
package/dist/index/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import '../chunk/JSHO46VZ.js';
|
|
2
|
-
export {
|
|
3
|
-
export { adoptCartId, capturePromoCode, cartId, clearPromoCode, fetchCartConfig, fetchResumedCart, postCartSnapshot, readCartToken, readPromoCode, resetCartConfigCache, resetCartId, stripCartToken } from '../chunk/
|
|
4
|
-
export { AddressFields, AdminDashboard, AffiliateForgotPassword, AffiliateLogin, AffiliatePortal, AffiliateRegister, AffiliateResetPassword, CartCheckoutPage, CheckoutPage, EmailTemplates, ForgotPasswordPage, MemberPortal, PatientDashboardPreview, RegisterPage, ResetPasswordPage, SignupPage, SubscribePage, SurveyPage, SurveyV2Page, UpdatePaymentMethod } from '../chunk/
|
|
2
|
+
export { restoreCartFromLink, startCartCapture, useSubscriptionIntakeFlow, validateResumedPromo } from '../chunk/KXO4U2C6.js';
|
|
3
|
+
export { adoptCartId, capturePromoCode, cartId, clearPromoCode, fetchCartConfig, fetchResumedCart, postCartSnapshot, readCartToken, readPromoCode, resetCartConfigCache, resetCartId, stripCartToken } from '../chunk/64RJJFEH.js';
|
|
4
|
+
export { ADMIN_TAB_SEGMENTS, AFFILIATE_SUB_TAB_SEGMENTS, AddressFields, AdminDashboard, AffiliateForgotPassword, AffiliateLogin, AffiliatePortal, AffiliateRegister, AffiliateResetPassword, CartCheckoutPage, CheckoutPage, EmailTemplates, ForgotPasswordPage, MemberPortal, PatientDashboardPreview, RegisterPage, ResetPasswordPage, SignupPage, SubscribePage, SurveyPage, SurveyV2Page, UpdatePaymentMethod, adminTabFromPath, adminTabPath, affiliateSubTabFromPath, affiliateSubTabPath } from '../chunk/F34QLV7Z.js';
|
|
5
5
|
export { EmbedApiError2 as ApexV2ApiError, EmbedApiError, createEmbedApiClient, disqualificationReasonText, disqualifiedDrugIds, qualifiedDrugIds } from '../chunk/LZWA44KD.js';
|
|
6
|
-
export { LIFECYCLE_BUCKETS, LIFECYCLE_LABEL, LIFECYCLE_TONE, LIVE_SUBSCRIPTION_STATUSES, TERMINAL_SUBSCRIPTION_STATUSES, US_STATES, US_STATE_OPTIONS, accountSource, availableStateOptions, availableStates, buildRefillView, buildTimeline, buildTrackerView, buildTrackingUrl, captureFunnelEmail, createFunnelTelemetry, deriveAttention, deriveJourney, emailGateAnswered, formatCardNumber, formatConversationTime, formatCvv, formatEventDate, formatExpiry, formatMessageTime, formatRelativeTime, formatStageDate, hasErrors, isLive, isQuestionVisible, isReconcilable, lifecycleReason, markEmailGateAnswered, normalizeState, primarySubscription, redeemResumeLink, resetResumeRedemption, stateAvailabilityNote, toTrackerRequest, useAddressPair, useAffiliateConversions, useAffiliateDownline, useAffiliateLinks, useAffiliateStats, useCartCheckoutFlow, useCheckoutFlow, useDashboardData, useMemberPortalData, useMessagesThread, useRegisterFlow, useSignupFlow, useSubscribeFlow, useSurveyFlow, useSurveyV2Flow, useUpdatePaymentMethodFlow, validateAddress } from '../chunk/
|
|
7
|
-
export { adoptFunnelSessionId, captureAuthHeader, fetchFunnelConfig, fetchResumedDraft, funnelSessionId, peekFunnelSessionId, postFunnelEvent, readResumeToken, resetFunnelConfigCache, saveFunnelDraft, stripResumeToken } from '../chunk/
|
|
6
|
+
export { DEFAULT_COLOR_PALETTE, LIFECYCLE_BUCKETS, LIFECYCLE_LABEL, LIFECYCLE_TONE, LIVE_SUBSCRIPTION_STATUSES, TERMINAL_SUBSCRIPTION_STATUSES, US_STATES, US_STATE_OPTIONS, accountSource, availableStateOptions, availableStates, buildRefillView, buildTimeline, buildTrackerView, buildTrackingUrl, captureFunnelEmail, categoryColor, createFunnelTelemetry, deriveAttention, deriveJourney, emailGateAnswered, formatCardNumber, formatConversationTime, formatCvv, formatEventDate, formatExpiry, formatMessageTime, formatRelativeTime, formatStageDate, hasErrors, isCssColorValue, isLive, isQuestionVisible, isReconcilable, lifecycleReason, lowestPrice, lowestSalePrice, markEmailGateAnswered, normalizeState, primarySubscription, reconcileCartAgainstCatalog, reconcileCartLines, redeemResumeLink, resetResumeRedemption, resolveCategoryColor, salePriceForBase, stateAvailabilityNote, toTrackerRequest, useAddressPair, useAffiliateConversions, useAffiliateDownline, useAffiliateLinks, useAffiliateStats, useCartCheckoutFlow, useCartReconcile, useCatalog, useCheckoutFlow, useDashboardData, useMedicationSelect, useMemberPortalData, useMessagesThread, useProductDetail, useRegisterFlow, useSignupFlow, useSubscribeFlow, useSurveyFlow, useSurveyV2Flow, useUpdatePaymentMethodFlow, validateAddress } from '../chunk/J3IRPONP.js';
|
|
7
|
+
export { adoptFunnelSessionId, captureAuthHeader, fetchFunnelConfig, fetchResumedDraft, funnelSessionId, peekFunnelSessionId, postFunnelEvent, readResumeToken, resetFunnelConfigCache, saveFunnelDraft, stripResumeToken } from '../chunk/J3OK2PQA.js';
|
|
8
8
|
export { PrimitivesProvider, usePrimitives } from '../chunk/67KHO66G.js';
|
|
9
|
-
export { defaultPrimitives } from '../chunk/
|
|
9
|
+
export { defaultPrimitives } from '../chunk/EXXI5Y7I.js';
|
|
10
10
|
import '../chunk/NVRAOAVV.js';
|
|
11
|
-
export { affiliateAuth_default as affiliateAuthStore, auth_default as authStore, cart_default as cartStore, medication_default as medicationStore } from '../chunk/
|
|
12
|
-
export { ApiError, SUPPORT_ATTACHMENT_MAX_BYTES, SUPPORT_ATTACHMENT_MIME_TYPES, addressesApi, adminAffiliatesApi, adminApi, affiliateAuthStorageKey, affiliatePortalApi, apexApi, apiFetch, authApi, authStorageKey, captureAffiliateRef, clearAffiliateRef, clearAffiliateTokens, clearTokens, getAffiliateTokens, getTokens, membersApi, messagesApi, newIdempotencyKey, onTokensCleared, ordersApi, paymentsApi, productsApi, promoCodesApi, readAffiliateRef, setAffiliateTokens, setTokens, subscriptionsApi, supportApi, usersApi } from '../chunk/
|
|
11
|
+
export { affiliateAuth_default as affiliateAuthStore, auth_default as authStore, cart_default as cartStore, medication_default as medicationStore } from '../chunk/GODF2NJN.js';
|
|
12
|
+
export { ApiError, SUPPORT_ATTACHMENT_MAX_BYTES, SUPPORT_ATTACHMENT_MIME_TYPES, addressesApi, adminAffiliatesApi, adminApi, affiliateAuthStorageKey, affiliatePortalApi, apexApi, apiFetch, authApi, authStorageKey, captureAffiliateRef, clearAffiliateRef, clearAffiliateTokens, clearTokens, getAffiliateTokens, getTokens, membersApi, messagesApi, newIdempotencyKey, onTokensCleared, ordersApi, paymentsApi, productsApi, promoCodesApi, readAffiliateRef, setAffiliateTokens, setTokens, subscriptionsApi, supportApi, usersApi } from '../chunk/UPZPR5TU.js';
|
|
13
13
|
export { configure, getConfig } from '../chunk/5XGPFYIJ.js';
|
|
14
14
|
//# sourceMappingURL=index.js.map
|
|
15
15
|
//# sourceMappingURL=index.js.map
|