@apextelemed/partner-core 0.24.0-dev.86 → 0.24.0-dev.88
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/dist/api/index.d.ts +1 -1
- package/dist/api/index.js +3 -3
- package/dist/api/index.jsx +3 -3
- package/dist/chunk/{CHLMWPRS.jsx → 5EC6C4IQ.jsx} +3047 -2105
- package/dist/chunk/{3PC2Z2QD.jsx → DZTBMDZ6.jsx} +2 -2
- package/dist/chunk/{XWGLSZKD.jsx → FC4ITYM7.jsx} +44 -1
- package/dist/chunk/{TUIMLDLN.js → HDHO7WV2.js} +3 -3
- package/dist/chunk/{TUIMLDLN.js.map → HDHO7WV2.js.map} +1 -1
- package/dist/chunk/{GGAM2AJR.jsx → HGKZ6FBS.jsx} +4 -4
- package/dist/chunk/{SHSR6S3O.jsx → IKLXSGDE.jsx} +5 -5
- package/dist/chunk/{OLCMHH3R.js → OJV5HNJM.js} +6 -6
- package/dist/chunk/{OLCMHH3R.js.map → OJV5HNJM.js.map} +1 -1
- package/dist/chunk/{FFHPVSPW.js → PNQNOYWY.js} +45 -2
- package/dist/chunk/PNQNOYWY.js.map +1 -0
- package/dist/chunk/{Y3KQOUKX.js → POF64TCZ.js} +5 -5
- package/dist/chunk/{Y3KQOUKX.js.map → POF64TCZ.js.map} +1 -1
- package/dist/chunk/{UWWII3GE.jsx → UWV5PZX3.jsx} +2 -2
- package/dist/chunk/{JQIEY5VS.js → WCBIY4IC.js} +3 -3
- package/dist/chunk/{JQIEY5VS.js.map → WCBIY4IC.js.map} +1 -1
- package/dist/chunk/{DFZFYIME.js → X4YVV27O.js} +3 -3
- package/dist/chunk/{DFZFYIME.js.map → X4YVV27O.js.map} +1 -1
- package/dist/chunk/{XRFUHRLK.jsx → ZHLNFCF7.jsx} +2 -2
- package/dist/chunk/{Z62HCCQ7.js → ZXEK75T7.js} +3332 -1717
- package/dist/chunk/ZXEK75T7.js.map +1 -0
- package/dist/{client-C-0_UTAb.d.ts → client-BsSc6e_K.d.ts} +154 -1
- package/dist/flows/index.d.ts +1 -1
- package/dist/flows/index.js +6 -6
- package/dist/flows/index.jsx +6 -6
- package/dist/index/index.d.ts +1 -1
- package/dist/index/index.js +7 -7
- package/dist/index/index.jsx +7 -7
- package/dist/pages/index.d.ts +16 -1
- package/dist/pages/index.js +5 -5
- package/dist/pages/index.jsx +5 -5
- package/dist/stores/index.d.ts +1 -1
- package/dist/stores/index.js +2 -2
- package/dist/stores/index.jsx +2 -2
- package/dist/theme/admin.css +120 -0
- package/package.json +1 -1
- package/dist/chunk/FFHPVSPW.js.map +0 -1
- package/dist/chunk/Z62HCCQ7.js.map +0 -1
|
@@ -1548,6 +1548,16 @@ interface AdminCustomerProfile {
|
|
|
1548
1548
|
paymentStatus: string | null;
|
|
1549
1549
|
apexMemberId: string | null;
|
|
1550
1550
|
savingsMemberId: string | null;
|
|
1551
|
+
/** YYYY-MM-DD. Absent from backends older than the phone tools. */
|
|
1552
|
+
dateOfBirth?: string | null;
|
|
1553
|
+
/** 'male' | 'female' — what the pharmacy accepts. */
|
|
1554
|
+
gender?: string | null;
|
|
1555
|
+
/** Whether the prescriber system has this profile as it is here. */
|
|
1556
|
+
apexProfile?: {
|
|
1557
|
+
syncedAt: string | null;
|
|
1558
|
+
pendingSince: string | null;
|
|
1559
|
+
error: string | null;
|
|
1560
|
+
};
|
|
1551
1561
|
address: {
|
|
1552
1562
|
address1: string | null;
|
|
1553
1563
|
address2: string | null;
|
|
@@ -1556,6 +1566,96 @@ interface AdminCustomerProfile {
|
|
|
1556
1566
|
zip: string | null;
|
|
1557
1567
|
};
|
|
1558
1568
|
}
|
|
1569
|
+
/** Patient fields an admin may edit (snake_case: the backend's column names). Email has its own endpoint. */
|
|
1570
|
+
interface AdminCustomerProfilePatch {
|
|
1571
|
+
first_name?: string;
|
|
1572
|
+
last_name?: string;
|
|
1573
|
+
date_of_birth?: string;
|
|
1574
|
+
gender?: 'male' | 'female';
|
|
1575
|
+
phone?: string | null;
|
|
1576
|
+
address1?: string;
|
|
1577
|
+
address2?: string | null;
|
|
1578
|
+
city?: string;
|
|
1579
|
+
state?: string;
|
|
1580
|
+
zip?: string;
|
|
1581
|
+
/** Saved to the audit log, not to the profile. */
|
|
1582
|
+
reason?: string;
|
|
1583
|
+
}
|
|
1584
|
+
interface AdminCardSummary {
|
|
1585
|
+
brand: string | null;
|
|
1586
|
+
last4: string | null;
|
|
1587
|
+
expiration: string | null;
|
|
1588
|
+
}
|
|
1589
|
+
interface AdminCardOnFile {
|
|
1590
|
+
card: AdminCardSummary | null;
|
|
1591
|
+
refusalsThisHour: number;
|
|
1592
|
+
maxRefusalsPerHour: number;
|
|
1593
|
+
}
|
|
1594
|
+
/** What a charge run from the admin did. A decline arrives as an ApiError (402) instead. */
|
|
1595
|
+
type AdminChargeResult = {
|
|
1596
|
+
outcome: 'charged';
|
|
1597
|
+
amountCents: number;
|
|
1598
|
+
transactionId: string | null;
|
|
1599
|
+
} | {
|
|
1600
|
+
outcome: 'held' | 'pending';
|
|
1601
|
+
amountCents: number;
|
|
1602
|
+
transactionId: string | null;
|
|
1603
|
+
message: string;
|
|
1604
|
+
};
|
|
1605
|
+
interface AdminReactivationPreview {
|
|
1606
|
+
eligible: boolean;
|
|
1607
|
+
reason: string | null;
|
|
1608
|
+
lastFill: {
|
|
1609
|
+
requestId: string;
|
|
1610
|
+
prescribedAt: string | null;
|
|
1611
|
+
shippedAt: string | null;
|
|
1612
|
+
} | null;
|
|
1613
|
+
plan: {
|
|
1614
|
+
productId: string | null;
|
|
1615
|
+
productName: string | null;
|
|
1616
|
+
baseAmountCents: number;
|
|
1617
|
+
intervalDays: number;
|
|
1618
|
+
};
|
|
1619
|
+
prices: {
|
|
1620
|
+
listCents: number | null;
|
|
1621
|
+
savingsCents: number | null;
|
|
1622
|
+
};
|
|
1623
|
+
existingDiscounts: Array<{
|
|
1624
|
+
label: string;
|
|
1625
|
+
discountType: 'percent' | 'fixed';
|
|
1626
|
+
discountValueCents: number;
|
|
1627
|
+
chargesRemaining: number | null;
|
|
1628
|
+
}>;
|
|
1629
|
+
card: AdminCardSummary | null;
|
|
1630
|
+
/** Whether this admin may grant a custom discount over the agent limit. */
|
|
1631
|
+
canGrantLargeDiscount: boolean;
|
|
1632
|
+
}
|
|
1633
|
+
type AdminReactivationDiscount = {
|
|
1634
|
+
kind: 'promo';
|
|
1635
|
+
code: string;
|
|
1636
|
+
} | {
|
|
1637
|
+
kind: 'custom';
|
|
1638
|
+
discountType: 'fixed' | 'percent';
|
|
1639
|
+
value: number;
|
|
1640
|
+
charges: number | null;
|
|
1641
|
+
};
|
|
1642
|
+
interface AdminReactivateBody {
|
|
1643
|
+
start: 'now' | 'date';
|
|
1644
|
+
startDate?: string;
|
|
1645
|
+
amountCents?: number;
|
|
1646
|
+
intervalDays?: number;
|
|
1647
|
+
discount?: AdminReactivationDiscount | null;
|
|
1648
|
+
reason?: string;
|
|
1649
|
+
}
|
|
1650
|
+
interface AdminReactivateResult {
|
|
1651
|
+
reactivated: true;
|
|
1652
|
+
baseAmountCents: number;
|
|
1653
|
+
intervalDays: number;
|
|
1654
|
+
nextChargeAt: string;
|
|
1655
|
+
charge: AdminChargeResult | null;
|
|
1656
|
+
renewalId: string | null;
|
|
1657
|
+
}
|
|
1658
|
+
type AdminPatientLinkKind = 'new_intake' | 'update_card' | 'password_reset';
|
|
1559
1659
|
interface AdminBillingAttempt {
|
|
1560
1660
|
id: string;
|
|
1561
1661
|
subscriptionId?: string | null;
|
|
@@ -2558,6 +2658,59 @@ declare const adminApi: {
|
|
|
2558
2658
|
}): Promise<{
|
|
2559
2659
|
customer: AdminCustomer;
|
|
2560
2660
|
}>;
|
|
2661
|
+
/**
|
|
2662
|
+
* Edit any patient field but email. Every field is validated server-side and
|
|
2663
|
+
* mirrored to the prescriber system; `warnings` say what the agent should tell
|
|
2664
|
+
* the patient (an order already at the pharmacy, a new number needing opt-in).
|
|
2665
|
+
*/
|
|
2666
|
+
updateCustomerProfile(uid: string, body: AdminCustomerProfilePatch): Promise<{
|
|
2667
|
+
customer: AdminCustomer;
|
|
2668
|
+
apexSync?: {
|
|
2669
|
+
outcome: string;
|
|
2670
|
+
};
|
|
2671
|
+
warnings?: string[];
|
|
2672
|
+
}>;
|
|
2673
|
+
/** The card the account bills from, and the refused-card count against the hourly limit. */
|
|
2674
|
+
getCustomerCard(uid: string): Promise<AdminCardOnFile>;
|
|
2675
|
+
/**
|
|
2676
|
+
* Replace the card on every plan, from a token the agent's browser made. A
|
|
2677
|
+
* refused card throws (402) with the gateway's reason and changes nothing.
|
|
2678
|
+
*/
|
|
2679
|
+
replaceCustomerCard(uid: string, body: {
|
|
2680
|
+
opaqueData: Record<string, unknown>;
|
|
2681
|
+
billingAddress?: Record<string, string | undefined>;
|
|
2682
|
+
reason?: string;
|
|
2683
|
+
}): Promise<{
|
|
2684
|
+
card: AdminCardSummary | null;
|
|
2685
|
+
subscriptionsUpdated: number;
|
|
2686
|
+
}>;
|
|
2687
|
+
/** Run a due plan's charge now. A decline throws (402) and is not counted as a missed payment. */
|
|
2688
|
+
chargeSubscriptionNow(id: string, reason?: string): Promise<AdminChargeResult>;
|
|
2689
|
+
/** Whether a cancelled plan can be reactivated, and what to offer. */
|
|
2690
|
+
getReactivation(id: string): Promise<AdminReactivationPreview>;
|
|
2691
|
+
/** Reactivate a cancelled plan. With start 'now', a declined charge throws (402) and nothing changes. */
|
|
2692
|
+
reactivateSubscription(id: string, body: AdminReactivateBody): Promise<AdminReactivateResult>;
|
|
2693
|
+
/** Whether a text can go to this customer now, and why not. */
|
|
2694
|
+
getContactOptions(uid: string): Promise<{
|
|
2695
|
+
text: {
|
|
2696
|
+
ok: boolean;
|
|
2697
|
+
reason: string | null;
|
|
2698
|
+
};
|
|
2699
|
+
}>;
|
|
2700
|
+
/**
|
|
2701
|
+
* Text or email the customer a link. `url` is the site's page for it (must be
|
|
2702
|
+
* on the tenant's domains); password_reset falls back to the tenant default.
|
|
2703
|
+
* A text that can't go (no consent, opted out) throws (409) saying why.
|
|
2704
|
+
*/
|
|
2705
|
+
sendCustomerLink(uid: string, body: {
|
|
2706
|
+
kind: AdminPatientLinkKind;
|
|
2707
|
+
channel: "sms" | "email";
|
|
2708
|
+
url?: string;
|
|
2709
|
+
reason?: string;
|
|
2710
|
+
}): Promise<{
|
|
2711
|
+
sent: true;
|
|
2712
|
+
to: string;
|
|
2713
|
+
}>;
|
|
2561
2714
|
sendPasswordReset(uid: string, redirectUrl?: string): Promise<{
|
|
2562
2715
|
ok: true;
|
|
2563
2716
|
}>;
|
|
@@ -3332,4 +3485,4 @@ declare const affiliatePortalApi: {
|
|
|
3332
3485
|
track(refCode: string, landingPage?: string): Promise<AffiliateTrackResponse>;
|
|
3333
3486
|
};
|
|
3334
3487
|
|
|
3335
|
-
export { type
|
|
3488
|
+
export { type AdminPaymentDetail as $, ADMIN_ROLES as A, type AdminCustomerListParams as B, type AdminCustomerOverview as C, type AdminCustomerProfile as D, type AdminCustomerProfilePatch as E, type AdminCustomerRequest as F, type AdminCustomerRow as G, type AdminCustomerSupport as H, type AdminCustomerSupportThread as I, type AdminDashboardStats as J, type AdminFillAnchor as K, type AdminFillSchedule as L, type AdminInviteResult as M, type AdminLifecycle as N, type AdminLifecycleBucket as O, type AdminListParams as P, type AdminMe as Q, type AdminOffer as R, type AdminOfferBase as S, type AdminOfferGrant as T, type AdminOfferGrantBase as U, type AdminOfferInput as V, type AdminOrderSummary as W, type AdminOrphanReason as X, type AdminOrphanedDosePrice as Y, type AdminPatientLinkKind as Z, type AdminPayment as _, type AddPharmacyBody as a, type AffiliateStatus as a$, type AdminPharmacyEvent as a0, type AdminPharmacyEventSource as a1, type AdminPharmacyHistory as a2, type AdminPharmacyOrderRef as a3, type AdminPharmacyUpdateBody as a4, type AdminPharmacyUpdateKind as a5, type AdminPharmacyUpdateResult as a6, type AdminProduct as a7, type AdminProductOverlayField as a8, type AdminProductPharmacy as a9, type AdminSubscription as aA, type AdminSubscriptionDetail as aB, type AdminSubscriptionGrowth as aC, type AdminSubscriptionPatch as aD, type AdminSubscriptionWriteResult as aE, type AdminSupportCustomer as aF, type AdminSupportStats as aG, type AdminSupportThread as aH, type AdminTeamInvite as aI, type AdminTeamMember as aJ, type AdminTrackingLookup as aK, type AdminWebhookEvent as aL, type Affiliate as aM, type AffiliateAuthTokens as aN, type AffiliateClickRecord as aO, type AffiliateConversion as aP, type AffiliateDashboardLinks as aQ, type AffiliateDashboardProfile as aR, type AffiliateDashboardStats as aS, type AffiliateDownlineMember as aT, type AffiliateEarningsBreakdown as aU, type AffiliatePaymentMethod as aV, type AffiliateProgram as aW, type AffiliateRegisterInput as aX, type AffiliateRegisterResponse as aY, type AffiliateSession as aZ, type AffiliateStatsResponse as a_, type AdminProductStrength as aa, type AdminPromoCode as ab, type AdminPromoCodeInput as ac, type AdminReactivateBody as ad, type AdminReactivateResult as ae, type AdminReactivationDiscount as af, type AdminReactivationPreview as ag, type AdminRecurringPricePoint as ah, type AdminRecurringRevenue as ai, type AdminRefundResult as aj, type AdminRetimeFillBody as ak, type AdminRetimeFillResult as al, type AdminRetimeSnapshot as am, type AdminRole as an, type AdminSale as ao, type AdminSaleInput as ap, type AdminScheduledRefund as aq, type AdminScheduledRefundProblem as ar, type AdminSmsMessage as as, type AdminSmsMessagesParams as at, type AdminSmsNotReadyReason as au, type AdminSmsSegmentInfo as av, type AdminSmsSettings as aw, type AdminSmsTemplate as ax, type AdminSmsTestResult as ay, type AdminSmsTestStatus as az, type AddPharmacyDoseMatch as b, type MemberSurveyTranscriptItem as b$, type AffiliateTrackResponse as b0, ApiError as b1, type ApiResponse as b2, type AttributionMethod as b3, type AuthTokens as b4, type BillingReminderSettings as b5, type CatalogAvailabilityItem as b6, type CatalogAvailabilityReason as b7, type CatalogAvailabilityResult as b8, type CatalogClassification as b9, type CatalogProduct as bA, type CatalogReadiness as bB, type CategoryMetadata as bC, type CheckoutAddress as bD, type CheckoutPayload as bE, type CheckoutResult as bF, type CommissionConfig as bG, type CommissionStatus as bH, type CompleteSurveyPayload as bI, type CreateAffiliatePayload as bJ, type CreateAffiliateProgramPayload as bK, type CreateOrderPayload as bL, type CreateRequestPayload as bM, type CreateSubscriptionPayload as bN, type CustomTemplate as bO, type CustomTemplateInput as bP, type CustomerDiscountConfig as bQ, type DeliveryInfo as bR, type DiscountType as bS, type EmailNotificationSettings as bT, type EmailTemplatesMap as bU, type LoginPayload as bV, type MemberOffer as bW, type MemberPrescriptionRequest as bX, type MemberSurveyMode as bY, type MemberSurveyResponseSummary as bZ, type MemberSurveyTranscript as b_, type CatalogConversionChoice as ba, type CatalogConversionCommitResult as bb, type CatalogConversionDose as bc, type CatalogConversionDoseMatch as bd, type CatalogConversionFinding as be, type CatalogConversionPointers as bf, type CatalogConversionPrepareResult as bg, type CatalogConversionPreview as bh, type CatalogConversionRun as bi, type CatalogConversionSource as bj, type CatalogConversionStage as bk, type CatalogConversionTarget as bl, type CatalogConversionUndoOptions as bm, type CatalogConversionUndoResult as bn, type CatalogDose as bo, type CatalogDoseInput as bp, type CatalogDoseModel as bq, type CatalogDoseSuggestion as br, type CatalogDoseSuggestions as bs, type CatalogEquivalentSuggestions as bt, type CatalogFulfillment as bu, type CatalogFulfillmentInput as bv, type CatalogItem as bw, type CatalogItemInput as bx, type CatalogMappableDrug as by, type CatalogMatrixCell as bz, type AddPharmacyDoseOption as c, catalogApi as c$, type MemberSurveyTranscriptSection as c0, type MembersMeResponse as c1, type OfferGrantState as c2, type Order as c3, type OrderItemInput as c4, type PaginationParams as c5, type PaymentCallbackPayload as c6, type PaymentInitiatePayload as c7, type PaymentType as c8, type PendingRenewalSurvey as c9, type SupportThreadStatus as cA, type SurveySubmitPayload as cB, type TemplatePlaceholdersMap as cC, type TemplateText as cD, type TenantFeature as cE, type TenantFeatureAccess as cF, type TokenTrackName as cG, type UpdateAffiliatePayload as cH, type UpdateAffiliateProgramPayload as cI, type UpdatePaymentMethodPayload as cJ, type UpdateProfilePayload as cK, type UpdateProfileResponse as cL, type User as cM, type UserSmsEvent as cN, type UserSmsState as cO, addressesApi as cP, adminAffiliatesApi as cQ, adminApi as cR, adminCatalogApi as cS, adminCatalogConversionApi as cT, adminProductPharmaciesApi as cU, affiliateAuthStorageKey as cV, affiliatePortalApi as cW, apexApi as cX, apiFetch as cY, authApi as cZ, authStorageKey as c_, type Placeholder as ca, type PlaceholderKind as cb, type ProductSaleSummary as cc, type PromoValidationResponse as cd, type PublicCategory as ce, type RegisterAndSubscribePayload as cf, type RegisterPayload as cg, type RenewalStatus as ch, SUPPORT_ATTACHMENT_MAX_BYTES as ci, SUPPORT_ATTACHMENT_MIME_TYPES as cj, type SelectDrugPayload as ck, type SendMessagePayload as cl, type SendToPharmacyPayload as cm, type SmsConsentResult as cn, type SmsConsentStatus as co, type SmsRefusalReason as cp, type SubscriptionPreview as cq, type SubscriptionPreviewLine as cr, type SubscriptionPreviewPayload as cs, type SupportAttachment as ct, type SupportChannel as cu, type SupportChannelSettings as cv, type SupportMessage as cw, type SupportRealtimeToken as cx, type SupportThread as cy, type SupportThreadCategory as cz, type AddPharmacyFinding as d, clearAffiliateTokens as d0, clearTokens as d1, getAffiliateTokens as d2, getTokens as d3, membersApi as d4, messagesApi as d5, newIdempotencyKey as d6, offersApi as d7, onTokensCleared as d8, ordersApi as d9, paymentsApi as da, productsApi as db, promoCodesApi as dc, setAffiliateTokens as dd, setTokens as de, subscriptionsApi as df, supportApi as dg, usersApi as dh, type AddPharmacyMatchQuestion as e, type AddPharmacyMatchSource as f, type AddPharmacyPlan as g, type AddPharmacyPrice as h, type AddPharmacyResult as i, type AddPharmacyStrengthAfter as j, type AddPharmacyStrengthBefore as k, type AddressVerifyResult as l, type AdminApexDrug as m, type AdminApexItemStatus as n, type AdminBillingAttempt as o, type AdminBillingForecast as p, type AdminBillingForecastDay as q, type AdminCardOnFile as r, type AdminCardSummary as s, type AdminCategory as t, type AdminCategoryInput as u, type AdminCategoryUpdate as v, type AdminChargeResult as w, type AdminCustomer as x, type AdminCustomerFacts as y, type AdminCustomerFunnel as z };
|
package/dist/flows/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Accessor, Resource } from 'solid-js';
|
|
2
|
-
import { l as AddressVerifyResult,
|
|
2
|
+
import { l as AddressVerifyResult, bD as CheckoutAddress, b8 as CatalogAvailabilityResult, cM as User, bR as DeliveryInfo, ch as RenewalStatus, c9 as PendingRenewalSurvey, O as AdminLifecycleBucket, C as AdminCustomerOverview, aB as AdminSubscriptionDetail, F as AdminCustomerRequest, cz as SupportThreadCategory, cu as SupportChannel, bA as CatalogProduct, aP as AffiliateConversion, aT as AffiliateDownlineMember, aQ as AffiliateDashboardLinks, aS as AffiliateDashboardStats, cd as PromoValidationResponse, bW as MemberOffer, b9 as CatalogClassification, bq as CatalogDoseModel, Y as AdminOrphanedDosePrice, a7 as AdminProduct, bw as CatalogItem, br as CatalogDoseSuggestion, by as CatalogMappableDrug, bt as CatalogEquivalentSuggestions, bB as CatalogReadiness, bn as CatalogConversionUndoResult, bh as CatalogConversionPreview, bd as CatalogConversionDoseMatch, bj as CatalogConversionSource, bc as CatalogConversionDose, bm as CatalogConversionUndoOptions, bb as CatalogConversionCommitResult, be as CatalogConversionFinding, ba as CatalogConversionChoice, g as AddPharmacyPlan, i as AddPharmacyResult, f as AddPharmacyMatchSource, a as AddPharmacyBody, d as AddPharmacyFinding, cO as UserSmsState, cN as UserSmsEvent } from '../client-BsSc6e_K.js';
|
|
3
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';
|
package/dist/flows/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { OFFER_BEATS_PROMO_NOTICE, restoreCartFromLink, startCartCapture, useSubscriptionIntakeFlow, validateResumedPromo } from '../chunk/
|
|
2
|
-
import '../chunk/
|
|
3
|
-
export { DEFAULT_COLOR_PALETTE, LIFECYCLE_BUCKETS, LIFECYCLE_LABEL, LIFECYCLE_TONE, LIVE_SUBSCRIPTION_STATUSES, MATCH_DEPENDENT_WARNINGS, MATCH_HOW_LABEL, ORPHAN_REASON, PHONE_ERROR, READINESS_LABEL, SOURCE_FIELD_NOTE, TERMINAL_SUBSCRIPTION_STATUSES, US_STATES, US_STATE_OPTIONS, accountSource, addCatalogItemAsProduct, applyPriceDrafts, availableStateOptions, availableStates, bestOfferDiscount, buildFulfillmentRows, buildMatrixView, buildRefillView, buildSaveBody, buildStrengthRows, buildTimeline, buildTrackerView, buildTrackingUrl, canLeaveUnmatched, canOfferConversion, captureFunnelEmail, catalogUnavailableMessage, categoryColor, classifyAddPharmacyError, classifyCatalogError, classifyConversionError, compareStrengths, createCatalogProduct, createFunnelTelemetry, deriveAttention, deriveCatalogAvailabilityDecision, deriveJourney, describeConversion, emailGateAnswered, explainFinding, findStoredDosePrice, flaggedSubscribers, formatCardNumber, formatConversationTime, formatCvv, formatEventDate, formatExpiry, formatMessageTime, formatRelativeTime, formatStageDate, formatUsPhone, groupDrugsByPharmacy, hasBlockers, hasConversion, hasErrors, initialMatches, isCatalogItemId, isCssColorValue, isLive, isQuestionVisible, isReconcilable, isValidUsPhone, lifecycleReason, liveDoses, lowestPrice, lowestSalePrice, markEmailGateAnswered, matchProblem, matchesComplete, missingPrices, moveInOrder, needsReview, normalizeState, normalizeStates, offerBeatsPromo, offerDurationText, offerSummaryText, parseMoney, pharmacyIsOnProduct, pharmacyLabel, primarySubscription, readinessStatus, reconcileCartAgainstCatalog, reconcileCartLines, redeemResumeLink, removeStoredDosePrice, resetResumeRedemption, resolveCategoryColor, resolveStrengthPrices, salePriceForBase, skuBindingModeFor, sourceKey, sourceLabel, stateAvailabilityNote, strengthsChanged, toChoices, toTrackerRequest, upsertDosePrice, useAddPharmacy, useAddressPair, useAffiliateConversions, useAffiliateDownline, useAffiliateLinks, useAffiliateStats, useCartCheckoutFlow, useCartReconcile, useCatalog, useCatalogAvailability, useCatalogConversion, useCheckoutFlow, useDashboardData, useMedicationSelect, useMemberPortalData, useMessagesThread, useProductCatalogEditor, useProductDetail, useRegisterFlow, useSignupFlow, useSmsConsent, useSmsPreferences, useSubscribeFlow, useSurveyFlow, useSurveyV2Flow, useUpdatePaymentMethodFlow, validateAddress, visibleWarnings } from '../chunk/
|
|
4
|
-
import '../chunk/
|
|
5
|
-
import '../chunk/
|
|
6
|
-
import '../chunk/
|
|
1
|
+
export { OFFER_BEATS_PROMO_NOTICE, restoreCartFromLink, startCartCapture, useSubscriptionIntakeFlow, validateResumedPromo } from '../chunk/OJV5HNJM.js';
|
|
2
|
+
import '../chunk/WCBIY4IC.js';
|
|
3
|
+
export { DEFAULT_COLOR_PALETTE, LIFECYCLE_BUCKETS, LIFECYCLE_LABEL, LIFECYCLE_TONE, LIVE_SUBSCRIPTION_STATUSES, MATCH_DEPENDENT_WARNINGS, MATCH_HOW_LABEL, ORPHAN_REASON, PHONE_ERROR, READINESS_LABEL, SOURCE_FIELD_NOTE, TERMINAL_SUBSCRIPTION_STATUSES, US_STATES, US_STATE_OPTIONS, accountSource, addCatalogItemAsProduct, applyPriceDrafts, availableStateOptions, availableStates, bestOfferDiscount, buildFulfillmentRows, buildMatrixView, buildRefillView, buildSaveBody, buildStrengthRows, buildTimeline, buildTrackerView, buildTrackingUrl, canLeaveUnmatched, canOfferConversion, captureFunnelEmail, catalogUnavailableMessage, categoryColor, classifyAddPharmacyError, classifyCatalogError, classifyConversionError, compareStrengths, createCatalogProduct, createFunnelTelemetry, deriveAttention, deriveCatalogAvailabilityDecision, deriveJourney, describeConversion, emailGateAnswered, explainFinding, findStoredDosePrice, flaggedSubscribers, formatCardNumber, formatConversationTime, formatCvv, formatEventDate, formatExpiry, formatMessageTime, formatRelativeTime, formatStageDate, formatUsPhone, groupDrugsByPharmacy, hasBlockers, hasConversion, hasErrors, initialMatches, isCatalogItemId, isCssColorValue, isLive, isQuestionVisible, isReconcilable, isValidUsPhone, lifecycleReason, liveDoses, lowestPrice, lowestSalePrice, markEmailGateAnswered, matchProblem, matchesComplete, missingPrices, moveInOrder, needsReview, normalizeState, normalizeStates, offerBeatsPromo, offerDurationText, offerSummaryText, parseMoney, pharmacyIsOnProduct, pharmacyLabel, primarySubscription, readinessStatus, reconcileCartAgainstCatalog, reconcileCartLines, redeemResumeLink, removeStoredDosePrice, resetResumeRedemption, resolveCategoryColor, resolveStrengthPrices, salePriceForBase, skuBindingModeFor, sourceKey, sourceLabel, stateAvailabilityNote, strengthsChanged, toChoices, toTrackerRequest, upsertDosePrice, useAddPharmacy, useAddressPair, useAffiliateConversions, useAffiliateDownline, useAffiliateLinks, useAffiliateStats, useCartCheckoutFlow, useCartReconcile, useCatalog, useCatalogAvailability, useCatalogConversion, useCheckoutFlow, useDashboardData, useMedicationSelect, useMemberPortalData, useMessagesThread, useProductCatalogEditor, useProductDetail, useRegisterFlow, useSignupFlow, useSmsConsent, useSmsPreferences, useSubscribeFlow, useSurveyFlow, useSurveyV2Flow, useUpdatePaymentMethodFlow, validateAddress, visibleWarnings } from '../chunk/POF64TCZ.js';
|
|
4
|
+
import '../chunk/X4YVV27O.js';
|
|
5
|
+
import '../chunk/HDHO7WV2.js';
|
|
6
|
+
import '../chunk/PNQNOYWY.js';
|
|
7
7
|
import '../chunk/2IFPDU4D.js';
|
|
8
8
|
//# sourceMappingURL=index.js.map
|
|
9
9
|
//# sourceMappingURL=index.js.map
|
package/dist/flows/index.jsx
CHANGED
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
startCartCapture,
|
|
5
5
|
useSubscriptionIntakeFlow,
|
|
6
6
|
validateResumedPromo
|
|
7
|
-
} from "../chunk/
|
|
8
|
-
import "../chunk/
|
|
7
|
+
} from "../chunk/IKLXSGDE.jsx";
|
|
8
|
+
import "../chunk/ZHLNFCF7.jsx";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_COLOR_PALETTE,
|
|
11
11
|
LIFECYCLE_BUCKETS,
|
|
@@ -138,10 +138,10 @@ import {
|
|
|
138
138
|
useUpdatePaymentMethodFlow,
|
|
139
139
|
validateAddress,
|
|
140
140
|
visibleWarnings
|
|
141
|
-
} from "../chunk/
|
|
142
|
-
import "../chunk/
|
|
143
|
-
import "../chunk/
|
|
144
|
-
import "../chunk/
|
|
141
|
+
} from "../chunk/HGKZ6FBS.jsx";
|
|
142
|
+
import "../chunk/DZTBMDZ6.jsx";
|
|
143
|
+
import "../chunk/UWV5PZX3.jsx";
|
|
144
|
+
import "../chunk/FC4ITYM7.jsx";
|
|
145
145
|
import "../chunk/QVZ7BRNO.jsx";
|
|
146
146
|
export {
|
|
147
147
|
DEFAULT_COLOR_PALETTE,
|
package/dist/index/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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 ADMIN_ROLES, a as AddPharmacyBody, b as AddPharmacyDoseMatch, c as AddPharmacyDoseOption, d as AddPharmacyFinding, e as AddPharmacyMatchQuestion, f as AddPharmacyMatchSource, g as AddPharmacyPlan, h as AddPharmacyPrice, i as AddPharmacyResult, j as AddPharmacyStrengthAfter, k as AddPharmacyStrengthBefore, l as AddressVerifyResult, m as AdminApexDrug, n as AdminApexItemStatus, o as AdminBillingAttempt, p as AdminBillingForecast, q as AdminBillingForecastDay, r as
|
|
4
|
+
export { A as ADMIN_ROLES, a as AddPharmacyBody, b as AddPharmacyDoseMatch, c as AddPharmacyDoseOption, d as AddPharmacyFinding, e as AddPharmacyMatchQuestion, f as AddPharmacyMatchSource, g as AddPharmacyPlan, h as AddPharmacyPrice, i as AddPharmacyResult, j as AddPharmacyStrengthAfter, k as AddPharmacyStrengthBefore, l as AddressVerifyResult, m as AdminApexDrug, n as AdminApexItemStatus, o as AdminBillingAttempt, p as AdminBillingForecast, q as AdminBillingForecastDay, r as AdminCardOnFile, s as AdminCardSummary, t as AdminCategory, u as AdminCategoryInput, v as AdminCategoryUpdate, w as AdminChargeResult, x as AdminCustomer, y as AdminCustomerFacts, z as AdminCustomerFunnel, B as AdminCustomerListParams, C as AdminCustomerOverview, D as AdminCustomerProfile, E as AdminCustomerProfilePatch, F as AdminCustomerRequest, G as AdminCustomerRow, H as AdminCustomerSupport, I as AdminCustomerSupportThread, J as AdminDashboardStats, K as AdminFillAnchor, L as AdminFillSchedule, M as AdminInviteResult, N as AdminLifecycle, O as AdminLifecycleBucket, P as AdminListParams, Q as AdminMe, R as AdminOffer, S as AdminOfferBase, T as AdminOfferGrant, U as AdminOfferGrantBase, V as AdminOfferInput, W as AdminOrderSummary, X as AdminOrphanReason, Y as AdminOrphanedDosePrice, Z as AdminPatientLinkKind, _ as AdminPayment, $ as AdminPaymentDetail, a0 as AdminPharmacyEvent, a1 as AdminPharmacyEventSource, a2 as AdminPharmacyHistory, a3 as AdminPharmacyOrderRef, a4 as AdminPharmacyUpdateBody, a5 as AdminPharmacyUpdateKind, a6 as AdminPharmacyUpdateResult, a7 as AdminProduct, a8 as AdminProductOverlayField, a9 as AdminProductPharmacy, aa as AdminProductStrength, ab as AdminPromoCode, ac as AdminPromoCodeInput, ad as AdminReactivateBody, ae as AdminReactivateResult, af as AdminReactivationDiscount, ag as AdminReactivationPreview, ah as AdminRecurringPricePoint, ai as AdminRecurringRevenue, aj as AdminRefundResult, ak as AdminRetimeFillBody, al as AdminRetimeFillResult, am as AdminRetimeSnapshot, an as AdminRole, ao as AdminSale, ap as AdminSaleInput, aq as AdminScheduledRefund, ar as AdminScheduledRefundProblem, as as AdminSmsMessage, at as AdminSmsMessagesParams, au as AdminSmsNotReadyReason, av as AdminSmsSegmentInfo, aw as AdminSmsSettings, ax as AdminSmsTemplate, ay as AdminSmsTestResult, az as AdminSmsTestStatus, aA as AdminSubscription, aB as AdminSubscriptionDetail, aC as AdminSubscriptionGrowth, aD as AdminSubscriptionPatch, aE as AdminSubscriptionWriteResult, aF as AdminSupportCustomer, aG as AdminSupportStats, aH as AdminSupportThread, aI as AdminTeamInvite, aJ as AdminTeamMember, aK as AdminTrackingLookup, aL as AdminWebhookEvent, aM as Affiliate, aN as AffiliateAuthTokens, aO as AffiliateClickRecord, aP as AffiliateConversion, aQ as AffiliateDashboardLinks, aR as AffiliateDashboardProfile, aS as AffiliateDashboardStats, aT as AffiliateDownlineMember, aU as AffiliateEarningsBreakdown, aV as AffiliatePaymentMethod, aW as AffiliateProgram, aX as AffiliateRegisterInput, aY as AffiliateRegisterResponse, aZ as AffiliateSession, a_ as AffiliateStatsResponse, a$ as AffiliateStatus, b0 as AffiliateTrackResponse, b1 as ApiError, b2 as ApiResponse, b3 as AttributionMethod, b4 as AuthTokens, b5 as BillingReminderSettings, b6 as CatalogAvailabilityItem, b7 as CatalogAvailabilityReason, b8 as CatalogAvailabilityResult, b9 as CatalogClassification, ba as CatalogConversionChoice, bb as CatalogConversionCommitResult, bc as CatalogConversionDose, bd as CatalogConversionDoseMatch, be as CatalogConversionFinding, bf as CatalogConversionPointers, bg as CatalogConversionPrepareResult, bh as CatalogConversionPreview, bi as CatalogConversionRun, bj as CatalogConversionSource, bk as CatalogConversionStage, bl as CatalogConversionTarget, bm as CatalogConversionUndoOptions, bn as CatalogConversionUndoResult, bo as CatalogDose, bp as CatalogDoseInput, bq as CatalogDoseModel, br as CatalogDoseSuggestion, bs as CatalogDoseSuggestions, bt as CatalogEquivalentSuggestions, bu as CatalogFulfillment, bv as CatalogFulfillmentInput, bw as CatalogItem, bx as CatalogItemInput, by as CatalogMappableDrug, bz as CatalogMatrixCell, bA as CatalogProduct, bB as CatalogReadiness, bC as CategoryMetadata, bD as CheckoutAddress, bE as CheckoutPayload, bF as CheckoutResult, bG as CommissionConfig, bH as CommissionStatus, bI as CompleteSurveyPayload, bJ as CreateAffiliatePayload, bK as CreateAffiliateProgramPayload, bL as CreateOrderPayload, bM as CreateRequestPayload, bN as CreateSubscriptionPayload, bO as CustomTemplate, bP as CustomTemplateInput, bQ as CustomerDiscountConfig, bR as DeliveryInfo, bS as DiscountType, bT as EmailNotificationSettings, bU as EmailTemplatesMap, bV as LoginPayload, bW as MemberOffer, bX as MemberPrescriptionRequest, bY as MemberSurveyMode, bZ as MemberSurveyResponseSummary, b_ as MemberSurveyTranscript, b$ as MemberSurveyTranscriptItem, c0 as MemberSurveyTranscriptSection, c1 as MembersMeResponse, c2 as OfferGrantState, c3 as Order, c4 as OrderItemInput, c5 as PaginationParams, c6 as PaymentCallbackPayload, c7 as PaymentInitiatePayload, c8 as PaymentType, c9 as PendingRenewalSurvey, ca as Placeholder, cb as PlaceholderKind, cc as ProductSaleSummary, cd as PromoValidationResponse, ce as PublicCategory, cf as RegisterAndSubscribePayload, cg as RegisterPayload, ch as RenewalStatus, ci as SUPPORT_ATTACHMENT_MAX_BYTES, cj as SUPPORT_ATTACHMENT_MIME_TYPES, ck as SelectDrugPayload, cl as SendMessagePayload, cm as SendToPharmacyPayload, cn as SmsConsentResult, co as SmsConsentStatus, cp as SmsRefusalReason, cq as SubscriptionPreview, cr as SubscriptionPreviewLine, cs as SubscriptionPreviewPayload, ct as SupportAttachment, cu as SupportChannel, cv as SupportChannelSettings, cw as SupportMessage, cx as SupportRealtimeToken, cy as SupportThread, cz as SupportThreadCategory, cA as SupportThreadStatus, cB as SurveySubmitPayload, cC as TemplatePlaceholdersMap, cD as TemplateText, cE as TenantFeature, cF as TenantFeatureAccess, cG as TokenTrackName, cH as UpdateAffiliatePayload, cI as UpdateAffiliateProgramPayload, cJ as UpdatePaymentMethodPayload, cK as UpdateProfilePayload, cL as UpdateProfileResponse, cM as User, cN as UserSmsEvent, cO as UserSmsState, cP as addressesApi, cQ as adminAffiliatesApi, cR as adminApi, cS as adminCatalogApi, cT as adminCatalogConversionApi, cU as adminProductPharmaciesApi, cV as affiliateAuthStorageKey, cW as affiliatePortalApi, cX as apexApi, cY as apiFetch, cZ as authApi, c_ as authStorageKey, c$ as catalogApi, d0 as clearAffiliateTokens, d1 as clearTokens, d2 as getAffiliateTokens, d3 as getTokens, d4 as membersApi, d5 as messagesApi, d6 as newIdempotencyKey, d7 as offersApi, d8 as onTokensCleared, d9 as ordersApi, da as paymentsApi, db as productsApi, dc as promoCodesApi, dd as setAffiliateTokens, de as setTokens, df as subscriptionsApi, dg as supportApi, dh as usersApi } from '../client-BsSc6e_K.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 { SmsConfig, captureAffiliateRef, capturePromoCode, clearAffiliateRef, clearPromoCode, fetchSmsConfig, readAffiliateRef, readPromoCode, resetSmsConfigCache } 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';
|
package/dist/index/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import '../chunk/NVRAOAVV.js';
|
|
2
2
|
import '../chunk/XZVVZIRZ.js';
|
|
3
|
-
export { OFFER_BEATS_PROMO_NOTICE, restoreCartFromLink, startCartCapture, useSubscriptionIntakeFlow, validateResumedPromo } from '../chunk/
|
|
4
|
-
export { adoptCartId, capturePromoCode, cartId, clearPromoCode, fetchCartConfig, fetchResumedCart, postCartSnapshot, readCartToken, readPromoCode, resetCartConfigCache, resetCartId, stripCartToken } from '../chunk/
|
|
5
|
-
export { ADMIN_TAB_SEGMENTS, AFFILIATE_SUB_TAB_SEGMENTS, AcceptAdminInvitePage, AddressFields, AdminDashboard, AffiliateForgotPassword, AffiliateLogin, AffiliatePortal, AffiliateRegister, AffiliateResetPassword, CartCheckoutPage, CheckoutPage, EmailTemplates, ForgotPasswordPage, MemberPortal, PatientDashboardPreview, RegisterPage, ResetPasswordPage, SignupPage, SmsConsentField, SubscribePage, SurveyPage, SurveyV2Page, UpdatePaymentMethod, adminTabFromPath, adminTabPath, affiliateSubTabFromPath, affiliateSubTabPath } from '../chunk/
|
|
3
|
+
export { OFFER_BEATS_PROMO_NOTICE, restoreCartFromLink, startCartCapture, useSubscriptionIntakeFlow, validateResumedPromo } from '../chunk/OJV5HNJM.js';
|
|
4
|
+
export { adoptCartId, capturePromoCode, cartId, clearPromoCode, fetchCartConfig, fetchResumedCart, postCartSnapshot, readCartToken, readPromoCode, resetCartConfigCache, resetCartId, stripCartToken } from '../chunk/WCBIY4IC.js';
|
|
5
|
+
export { ADMIN_TAB_SEGMENTS, AFFILIATE_SUB_TAB_SEGMENTS, AcceptAdminInvitePage, AddressFields, AdminDashboard, AffiliateForgotPassword, AffiliateLogin, AffiliatePortal, AffiliateRegister, AffiliateResetPassword, CartCheckoutPage, CheckoutPage, EmailTemplates, ForgotPasswordPage, MemberPortal, PatientDashboardPreview, RegisterPage, ResetPasswordPage, SignupPage, SmsConsentField, SubscribePage, SurveyPage, SurveyV2Page, UpdatePaymentMethod, adminTabFromPath, adminTabPath, affiliateSubTabFromPath, affiliateSubTabPath } from '../chunk/ZXEK75T7.js';
|
|
6
6
|
export { EmbedApiError2 as ApexV2ApiError, EmbedApiError, createEmbedApiClient, disqualificationReasonText, disqualifiedDrugIds, qualifiedDrugIds } from '../chunk/LZWA44KD.js';
|
|
7
|
-
export { DEFAULT_COLOR_PALETTE, LIFECYCLE_BUCKETS, LIFECYCLE_LABEL, LIFECYCLE_TONE, LIVE_SUBSCRIPTION_STATUSES, MATCH_DEPENDENT_WARNINGS, MATCH_HOW_LABEL, ORPHAN_REASON, PHONE_ERROR, READINESS_LABEL, SOURCE_FIELD_NOTE, TERMINAL_SUBSCRIPTION_STATUSES, US_STATES, US_STATE_OPTIONS, accountSource, addCatalogItemAsProduct, applyPriceDrafts, availableStateOptions, availableStates, bestOfferDiscount, buildFulfillmentRows, buildMatrixView, buildRefillView, buildSaveBody, buildStrengthRows, buildTimeline, buildTrackerView, buildTrackingUrl, canLeaveUnmatched, canOfferConversion, captureFunnelEmail, catalogUnavailableMessage, categoryColor, classifyAddPharmacyError, classifyCatalogError, classifyConversionError, compareStrengths, createCatalogProduct, createFunnelTelemetry, deriveAttention, deriveCatalogAvailabilityDecision, deriveJourney, describeConversion, emailGateAnswered, explainFinding, findStoredDosePrice, flaggedSubscribers, formatCardNumber, formatConversationTime, formatCvv, formatEventDate, formatExpiry, formatMessageTime, formatRelativeTime, formatStageDate, formatUsPhone, groupDrugsByPharmacy, hasBlockers, hasConversion, hasErrors, initialMatches, isCatalogItemId, isCssColorValue, isLive, isQuestionVisible, isReconcilable, isValidUsPhone, lifecycleReason, liveDoses, lowestPrice, lowestSalePrice, markEmailGateAnswered, matchProblem, matchesComplete, missingPrices, moveInOrder, needsReview, normalizeState, normalizeStates, offerBeatsPromo, offerDurationText, offerSummaryText, parseMoney, pharmacyIsOnProduct, pharmacyLabel, primarySubscription, readinessStatus, reconcileCartAgainstCatalog, reconcileCartLines, redeemResumeLink, removeStoredDosePrice, resetResumeRedemption, resolveCategoryColor, resolveStrengthPrices, salePriceForBase, skuBindingModeFor, sourceKey, sourceLabel, stateAvailabilityNote, strengthsChanged, toChoices, toTrackerRequest, upsertDosePrice, useAddPharmacy, useAddressPair, useAffiliateConversions, useAffiliateDownline, useAffiliateLinks, useAffiliateStats, useCartCheckoutFlow, useCartReconcile, useCatalog, useCatalogAvailability, useCatalogConversion, useCheckoutFlow, useDashboardData, useMedicationSelect, useMemberPortalData, useMessagesThread, useProductCatalogEditor, useProductDetail, useRegisterFlow, useSignupFlow, useSmsConsent, useSmsPreferences, useSubscribeFlow, useSurveyFlow, useSurveyV2Flow, useUpdatePaymentMethodFlow, validateAddress, visibleWarnings } from '../chunk/
|
|
8
|
-
export { affiliateAuth_default as affiliateAuthStore, auth_default as authStore, cart_default as cartStore, medication_default as medicationStore } from '../chunk/
|
|
9
|
-
export { adoptFunnelSessionId, captureAuthHeader, fetchFunnelConfig, fetchResumedDraft, fetchSmsConfig, funnelSessionId, peekFunnelSessionId, postFunnelEvent, readResumeToken, resetFunnelConfigCache, resetSmsConfigCache, saveFunnelDraft, stripResumeToken } from '../chunk/
|
|
10
|
-
export { ADMIN_ROLES, ApiError, SUPPORT_ATTACHMENT_MAX_BYTES, SUPPORT_ATTACHMENT_MIME_TYPES, addressesApi, adminAffiliatesApi, adminApi, adminCatalogApi, adminCatalogConversionApi, adminProductPharmaciesApi, affiliateAuthStorageKey, affiliatePortalApi, apexApi, apiFetch, authApi, authStorageKey, captureAffiliateRef, catalogApi, clearAffiliateRef, clearAffiliateTokens, clearTokens, getAffiliateTokens, getTokens, membersApi, messagesApi, newIdempotencyKey, offersApi, onTokensCleared, ordersApi, paymentsApi, productsApi, promoCodesApi, readAffiliateRef, setAffiliateTokens, setTokens, subscriptionsApi, supportApi, usersApi } from '../chunk/
|
|
7
|
+
export { DEFAULT_COLOR_PALETTE, LIFECYCLE_BUCKETS, LIFECYCLE_LABEL, LIFECYCLE_TONE, LIVE_SUBSCRIPTION_STATUSES, MATCH_DEPENDENT_WARNINGS, MATCH_HOW_LABEL, ORPHAN_REASON, PHONE_ERROR, READINESS_LABEL, SOURCE_FIELD_NOTE, TERMINAL_SUBSCRIPTION_STATUSES, US_STATES, US_STATE_OPTIONS, accountSource, addCatalogItemAsProduct, applyPriceDrafts, availableStateOptions, availableStates, bestOfferDiscount, buildFulfillmentRows, buildMatrixView, buildRefillView, buildSaveBody, buildStrengthRows, buildTimeline, buildTrackerView, buildTrackingUrl, canLeaveUnmatched, canOfferConversion, captureFunnelEmail, catalogUnavailableMessage, categoryColor, classifyAddPharmacyError, classifyCatalogError, classifyConversionError, compareStrengths, createCatalogProduct, createFunnelTelemetry, deriveAttention, deriveCatalogAvailabilityDecision, deriveJourney, describeConversion, emailGateAnswered, explainFinding, findStoredDosePrice, flaggedSubscribers, formatCardNumber, formatConversationTime, formatCvv, formatEventDate, formatExpiry, formatMessageTime, formatRelativeTime, formatStageDate, formatUsPhone, groupDrugsByPharmacy, hasBlockers, hasConversion, hasErrors, initialMatches, isCatalogItemId, isCssColorValue, isLive, isQuestionVisible, isReconcilable, isValidUsPhone, lifecycleReason, liveDoses, lowestPrice, lowestSalePrice, markEmailGateAnswered, matchProblem, matchesComplete, missingPrices, moveInOrder, needsReview, normalizeState, normalizeStates, offerBeatsPromo, offerDurationText, offerSummaryText, parseMoney, pharmacyIsOnProduct, pharmacyLabel, primarySubscription, readinessStatus, reconcileCartAgainstCatalog, reconcileCartLines, redeemResumeLink, removeStoredDosePrice, resetResumeRedemption, resolveCategoryColor, resolveStrengthPrices, salePriceForBase, skuBindingModeFor, sourceKey, sourceLabel, stateAvailabilityNote, strengthsChanged, toChoices, toTrackerRequest, upsertDosePrice, useAddPharmacy, useAddressPair, useAffiliateConversions, useAffiliateDownline, useAffiliateLinks, useAffiliateStats, useCartCheckoutFlow, useCartReconcile, useCatalog, useCatalogAvailability, useCatalogConversion, useCheckoutFlow, useDashboardData, useMedicationSelect, useMemberPortalData, useMessagesThread, useProductCatalogEditor, useProductDetail, useRegisterFlow, useSignupFlow, useSmsConsent, useSmsPreferences, useSubscribeFlow, useSurveyFlow, useSurveyV2Flow, useUpdatePaymentMethodFlow, validateAddress, visibleWarnings } from '../chunk/POF64TCZ.js';
|
|
8
|
+
export { affiliateAuth_default as affiliateAuthStore, auth_default as authStore, cart_default as cartStore, medication_default as medicationStore } from '../chunk/X4YVV27O.js';
|
|
9
|
+
export { adoptFunnelSessionId, captureAuthHeader, fetchFunnelConfig, fetchResumedDraft, fetchSmsConfig, funnelSessionId, peekFunnelSessionId, postFunnelEvent, readResumeToken, resetFunnelConfigCache, resetSmsConfigCache, saveFunnelDraft, stripResumeToken } from '../chunk/HDHO7WV2.js';
|
|
10
|
+
export { ADMIN_ROLES, ApiError, SUPPORT_ATTACHMENT_MAX_BYTES, SUPPORT_ATTACHMENT_MIME_TYPES, addressesApi, adminAffiliatesApi, adminApi, adminCatalogApi, adminCatalogConversionApi, adminProductPharmaciesApi, affiliateAuthStorageKey, affiliatePortalApi, apexApi, apiFetch, authApi, authStorageKey, captureAffiliateRef, catalogApi, clearAffiliateRef, clearAffiliateTokens, clearTokens, getAffiliateTokens, getTokens, membersApi, messagesApi, newIdempotencyKey, offersApi, onTokensCleared, ordersApi, paymentsApi, productsApi, promoCodesApi, readAffiliateRef, setAffiliateTokens, setTokens, subscriptionsApi, supportApi, usersApi } from '../chunk/PNQNOYWY.js';
|
|
11
11
|
export { configure, getConfig } from '../chunk/2IFPDU4D.js';
|
|
12
12
|
export { PrimitivesProvider, usePrimitives } from '../chunk/67KHO66G.js';
|
|
13
13
|
export { defaultPrimitives } from '../chunk/EXXI5Y7I.js';
|
package/dist/index/index.jsx
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
startCartCapture,
|
|
7
7
|
useSubscriptionIntakeFlow,
|
|
8
8
|
validateResumedPromo
|
|
9
|
-
} from "../chunk/
|
|
9
|
+
} from "../chunk/IKLXSGDE.jsx";
|
|
10
10
|
import {
|
|
11
11
|
adoptCartId,
|
|
12
12
|
capturePromoCode,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
resetCartConfigCache,
|
|
21
21
|
resetCartId,
|
|
22
22
|
stripCartToken
|
|
23
|
-
} from "../chunk/
|
|
23
|
+
} from "../chunk/ZHLNFCF7.jsx";
|
|
24
24
|
import {
|
|
25
25
|
ADMIN_TAB_SEGMENTS,
|
|
26
26
|
AFFILIATE_SUB_TAB_SEGMENTS,
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
adminTabPath,
|
|
51
51
|
affiliateSubTabFromPath,
|
|
52
52
|
affiliateSubTabPath
|
|
53
|
-
} from "../chunk/
|
|
53
|
+
} from "../chunk/5EC6C4IQ.jsx";
|
|
54
54
|
import {
|
|
55
55
|
EmbedApiError,
|
|
56
56
|
EmbedApiError2,
|
|
@@ -191,13 +191,13 @@ import {
|
|
|
191
191
|
useUpdatePaymentMethodFlow,
|
|
192
192
|
validateAddress,
|
|
193
193
|
visibleWarnings
|
|
194
|
-
} from "../chunk/
|
|
194
|
+
} from "../chunk/HGKZ6FBS.jsx";
|
|
195
195
|
import {
|
|
196
196
|
affiliateAuth_default,
|
|
197
197
|
auth_default,
|
|
198
198
|
cart_default,
|
|
199
199
|
medication_default
|
|
200
|
-
} from "../chunk/
|
|
200
|
+
} from "../chunk/DZTBMDZ6.jsx";
|
|
201
201
|
import {
|
|
202
202
|
adoptFunnelSessionId,
|
|
203
203
|
captureAuthHeader,
|
|
@@ -212,7 +212,7 @@ import {
|
|
|
212
212
|
resetSmsConfigCache,
|
|
213
213
|
saveFunnelDraft,
|
|
214
214
|
stripResumeToken
|
|
215
|
-
} from "../chunk/
|
|
215
|
+
} from "../chunk/UWV5PZX3.jsx";
|
|
216
216
|
import {
|
|
217
217
|
ADMIN_ROLES,
|
|
218
218
|
ApiError,
|
|
@@ -252,7 +252,7 @@ import {
|
|
|
252
252
|
subscriptionsApi,
|
|
253
253
|
supportApi,
|
|
254
254
|
usersApi
|
|
255
|
-
} from "../chunk/
|
|
255
|
+
} from "../chunk/FC4ITYM7.jsx";
|
|
256
256
|
import {
|
|
257
257
|
configure,
|
|
258
258
|
getConfig
|
package/dist/pages/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as solid_js from 'solid-js';
|
|
|
2
2
|
import { JSX } from 'solid-js';
|
|
3
3
|
import { U as UseSurveyV2FlowOptions } from '../surveyV2-BgQHK0GE.js';
|
|
4
4
|
import { V2SubmitResult, PatientInfo, V2DrugResult } from '@apextelemed/survey-core';
|
|
5
|
-
import {
|
|
5
|
+
import { O as AdminLifecycleBucket, a7 as AdminProduct } from '../client-BsSc6e_K.js';
|
|
6
6
|
import '@apextelemed/survey-solid';
|
|
7
7
|
|
|
8
8
|
interface SurveyPageProps {
|
|
@@ -276,6 +276,11 @@ interface CustomersProps {
|
|
|
276
276
|
* "Send password reset" button shows regardless.
|
|
277
277
|
*/
|
|
278
278
|
passwordResetRedirectUrl?: string;
|
|
279
|
+
/** Host-site pages the customer page can text or email a patient (see AdminDashboardProps.patientLinks). */
|
|
280
|
+
patientLinks?: {
|
|
281
|
+
newIntakeUrl?: string;
|
|
282
|
+
updateCardUrl?: string;
|
|
283
|
+
};
|
|
279
284
|
/** Pre-select a lifecycle filter chip on the list. */
|
|
280
285
|
initialFilter?: AdminLifecycleBucket | null;
|
|
281
286
|
/**
|
|
@@ -399,6 +404,16 @@ interface AdminDashboardProps {
|
|
|
399
404
|
* hidden — the endpoint requires a redirectUrl.
|
|
400
405
|
*/
|
|
401
406
|
passwordResetRedirectUrl?: string;
|
|
407
|
+
/**
|
|
408
|
+
* Absolute URLs of host-site pages the Customers tab's "Send a link" phone
|
|
409
|
+
* tool can text or email a patient: the intake start page and the member's
|
|
410
|
+
* card page. A link kind is offered only when its URL is given; the backend
|
|
411
|
+
* refuses any URL not on the tenant's own domains.
|
|
412
|
+
*/
|
|
413
|
+
patientLinks?: {
|
|
414
|
+
newIntakeUrl?: string;
|
|
415
|
+
updateCardUrl?: string;
|
|
416
|
+
};
|
|
402
417
|
/**
|
|
403
418
|
* Optional auth adapter. When provided, the dashboard renders a loading
|
|
404
419
|
* gate until the visitor is confirmed as an authenticated admin, and fires
|
package/dist/pages/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { ADMIN_TAB_SEGMENTS, AFFILIATE_SUB_TAB_SEGMENTS, AcceptAdminInvitePage, 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/
|
|
1
|
+
export { ADMIN_TAB_SEGMENTS, AFFILIATE_SUB_TAB_SEGMENTS, AcceptAdminInvitePage, 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/ZXEK75T7.js';
|
|
2
2
|
import '../chunk/LZWA44KD.js';
|
|
3
|
-
import '../chunk/
|
|
4
|
-
import '../chunk/
|
|
5
|
-
import '../chunk/
|
|
6
|
-
import '../chunk/
|
|
3
|
+
import '../chunk/POF64TCZ.js';
|
|
4
|
+
import '../chunk/X4YVV27O.js';
|
|
5
|
+
import '../chunk/HDHO7WV2.js';
|
|
6
|
+
import '../chunk/PNQNOYWY.js';
|
|
7
7
|
import '../chunk/2IFPDU4D.js';
|
|
8
8
|
import '../chunk/67KHO66G.js';
|
|
9
9
|
//# sourceMappingURL=index.js.map
|
package/dist/pages/index.jsx
CHANGED
|
@@ -25,12 +25,12 @@ import {
|
|
|
25
25
|
adminTabPath,
|
|
26
26
|
affiliateSubTabFromPath,
|
|
27
27
|
affiliateSubTabPath
|
|
28
|
-
} from "../chunk/
|
|
28
|
+
} from "../chunk/5EC6C4IQ.jsx";
|
|
29
29
|
import "../chunk/UZCST66N.jsx";
|
|
30
|
-
import "../chunk/
|
|
31
|
-
import "../chunk/
|
|
32
|
-
import "../chunk/
|
|
33
|
-
import "../chunk/
|
|
30
|
+
import "../chunk/HGKZ6FBS.jsx";
|
|
31
|
+
import "../chunk/DZTBMDZ6.jsx";
|
|
32
|
+
import "../chunk/UWV5PZX3.jsx";
|
|
33
|
+
import "../chunk/FC4ITYM7.jsx";
|
|
34
34
|
import "../chunk/QVZ7BRNO.jsx";
|
|
35
35
|
import "../chunk/J63XPQP4.jsx";
|
|
36
36
|
export {
|
package/dist/stores/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as solid_js from 'solid-js';
|
|
2
|
-
import {
|
|
2
|
+
import { b4 as AuthTokens, cM as User, cg as RegisterPayload, cf as RegisterAndSubscribePayload, aN as AffiliateAuthTokens, aM as Affiliate, aX as AffiliateRegisterInput } from '../client-BsSc6e_K.js';
|
|
3
3
|
export { A as AppliedPromoCode, C as CartItem, c as cartStore } from '../cart-o6DpAu5y.js';
|
|
4
4
|
|
|
5
5
|
declare const authStore: {
|
package/dist/stores/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../chunk/NVRAOAVV.js';
|
|
2
|
-
export { affiliateAuth_default as affiliateAuthStore, auth_default as authStore, cart_default as cartStore, medication_default as medicationStore } from '../chunk/
|
|
3
|
-
import '../chunk/
|
|
2
|
+
export { affiliateAuth_default as affiliateAuthStore, auth_default as authStore, cart_default as cartStore, medication_default as medicationStore } from '../chunk/X4YVV27O.js';
|
|
3
|
+
import '../chunk/PNQNOYWY.js';
|
|
4
4
|
import '../chunk/2IFPDU4D.js';
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
package/dist/stores/index.jsx
CHANGED
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
auth_default,
|
|
5
5
|
cart_default,
|
|
6
6
|
medication_default
|
|
7
|
-
} from "../chunk/
|
|
8
|
-
import "../chunk/
|
|
7
|
+
} from "../chunk/DZTBMDZ6.jsx";
|
|
8
|
+
import "../chunk/FC4ITYM7.jsx";
|
|
9
9
|
import "../chunk/QVZ7BRNO.jsx";
|
|
10
10
|
export {
|
|
11
11
|
affiliateAuth_default as affiliateAuthStore,
|