@apextelemed/partner-core 0.17.0-dev.50 → 0.17.0-dev.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/dist/api/index.d.ts +1 -1
  2. package/dist/api/index.js +3 -3
  3. package/dist/api/index.jsx +3 -3
  4. package/dist/chunk/{YQK6OTY6.jsx → 3SPMZ7FK.jsx} +2 -2
  5. package/dist/chunk/{OVRA6JBK.jsx → 545PPOE5.jsx} +2 -2
  6. package/dist/chunk/{EGP7AQDM.js → ANKLNWGB.js} +6 -6
  7. package/dist/chunk/{EGP7AQDM.js.map → ANKLNWGB.js.map} +1 -1
  8. package/dist/chunk/{H7RY2N5U.js → AXXQJC6M.js} +3 -3
  9. package/dist/chunk/{H7RY2N5U.js.map → AXXQJC6M.js.map} +1 -1
  10. package/dist/chunk/{6QI7MVTN.jsx → HM5L6J62.jsx} +2 -2
  11. package/dist/chunk/{ISC5GVA2.js → ICGZXU3R.js} +4 -4
  12. package/dist/chunk/ICGZXU3R.js.map +1 -0
  13. package/dist/chunk/{BVJPX54P.js → L4DFQMYM.js} +451 -358
  14. package/dist/chunk/L4DFQMYM.js.map +1 -0
  15. package/dist/chunk/{R5WTYT2O.js → LFSDVMIY.js} +93 -19
  16. package/dist/chunk/LFSDVMIY.js.map +1 -0
  17. package/dist/chunk/{XV5WXVPT.jsx → OZZGMI6C.jsx} +69 -9
  18. package/dist/chunk/{HADRZNID.jsx → P4NWFY4T.jsx} +5 -5
  19. package/dist/chunk/{3CWWN7H2.jsx → PHSZOZVK.jsx} +3 -3
  20. package/dist/chunk/{KADMJCZL.js → TFA64PLK.js} +3 -3
  21. package/dist/chunk/{KADMJCZL.js.map → TFA64PLK.js.map} +1 -1
  22. package/dist/chunk/{GVXPPYZZ.jsx → VE5ACNFB.jsx} +92 -17
  23. package/dist/chunk/{2CHHHNFT.js → Z6PDUPOU.js} +3 -3
  24. package/dist/chunk/{2CHHHNFT.js.map → Z6PDUPOU.js.map} +1 -1
  25. package/dist/{client-Da9ye3z4.d.ts → client-Baf1FSEp.d.ts} +33 -2
  26. package/dist/flows/index.d.ts +17 -3
  27. package/dist/flows/index.js +6 -6
  28. package/dist/flows/index.jsx +6 -6
  29. package/dist/index/index.d.ts +1 -1
  30. package/dist/index/index.js +7 -7
  31. package/dist/index/index.jsx +7 -7
  32. package/dist/pages/index.d.ts +1 -1
  33. package/dist/pages/index.js +5 -5
  34. package/dist/pages/index.jsx +5 -5
  35. package/dist/stores/index.d.ts +1 -1
  36. package/dist/stores/index.js +2 -2
  37. package/dist/stores/index.jsx +2 -2
  38. package/package.json +1 -1
  39. package/dist/chunk/BVJPX54P.js.map +0 -1
  40. package/dist/chunk/ISC5GVA2.js.map +0 -1
  41. package/dist/chunk/R5WTYT2O.js.map +0 -1
@@ -2042,6 +2042,35 @@ interface AddPharmacyPlan {
2042
2042
  }>;
2043
2043
  /** Sent back with the save. Null on `kind: 'add'`. */
2044
2044
  planHash: string | null;
2045
+ /**
2046
+ * Old strengths that subscribers are on and that matched no new strength by
2047
+ * themselves (typical for GLP-1 vials against mg doses). `doseId` echoes the
2048
+ * answer the plan was computed with; null = left for review.
2049
+ */
2050
+ matchQuestions: AddPharmacyMatchQuestion[];
2051
+ /** The strengths a `matchQuestions` answer can pick. */
2052
+ doseOptions: AddPharmacyDoseOption[];
2053
+ }
2054
+ /** The old strength a subscriber is on: identifies a match question, and is echoed back in `doseMatches`. */
2055
+ interface AddPharmacyMatchSource {
2056
+ dosage: string | null;
2057
+ apexSkuId: string | null;
2058
+ }
2059
+ interface AddPharmacyMatchQuestion {
2060
+ source: AddPharmacyMatchSource;
2061
+ dosage: string | null;
2062
+ subscriberCount: number;
2063
+ price: number | null;
2064
+ doseId: string | null;
2065
+ }
2066
+ interface AddPharmacyDoseOption {
2067
+ doseId: string;
2068
+ label: string;
2069
+ }
2070
+ /** The admin's answer to one match question; `doseId: null` leaves those subscribers for review. */
2071
+ interface AddPharmacyDoseMatch {
2072
+ source: AddPharmacyMatchSource;
2073
+ doseId: string | null;
2045
2074
  }
2046
2075
  interface AddPharmacyPrice {
2047
2076
  doseId: string;
@@ -2052,6 +2081,8 @@ interface AddPharmacyBody {
2052
2081
  drugId: string;
2053
2082
  planHash?: string;
2054
2083
  prices?: AddPharmacyPrice[];
2084
+ /** Answers to the plan's `matchQuestions` (only the answered ones). */
2085
+ doseMatches?: AddPharmacyDoseMatch[];
2055
2086
  }
2056
2087
  interface AddPharmacyResult {
2057
2088
  status: 'added' | 'converted';
@@ -2061,7 +2092,7 @@ interface AddPharmacyResult {
2061
2092
  }
2062
2093
  declare const adminProductPharmaciesApi: {
2063
2094
  /** What adding this pharmacy drug would do. Read-only for the admin; safe to repeat. */
2064
- plan(productId: string, drugId: string): Promise<AddPharmacyPlan>;
2095
+ plan(productId: string, drugId: string, doseMatches?: AddPharmacyDoseMatch[]): Promise<AddPharmacyPlan>;
2065
2096
  /** Adds it. Up to ~40 seconds on a single-pharmacy product; never retry blindly — re-read the product first. */
2066
2097
  add(productId: string, body: AddPharmacyBody): Promise<AddPharmacyResult>;
2067
2098
  };
@@ -2851,4 +2882,4 @@ declare const affiliatePortalApi: {
2851
2882
  track(refCode: string, landingPage?: string): Promise<AffiliateTrackResponse>;
2852
2883
  };
2853
2884
 
2854
- export { type AdminSubscriptionPatch as $, type AddPharmacyBody as A, type AdminListParams as B, type AdminOffer as C, type AdminOfferBase as D, type AdminOfferGrant as E, type AdminOfferGrantBase as F, type AdminOfferInput as G, type AdminOrderSummary as H, type AdminOrphanReason as I, type AdminOrphanedDosePrice as J, type AdminPayment as K, type AdminPaymentDetail as L, type AdminProduct as M, type AdminProductOverlayField as N, type AdminProductPharmacy as O, type AdminProductStrength as P, type AdminPromoCode as Q, type AdminPromoCodeInput as R, type AdminRecurringPricePoint as S, type AdminRecurringRevenue as T, type AdminRefundResult as U, type AdminSale as V, type AdminSaleInput as W, type AdminScheduledRefund as X, type AdminScheduledRefundProblem as Y, type AdminSubscription as Z, type AdminSubscriptionDetail as _, type AddPharmacyFinding as a, type CommissionConfig as a$, type AdminSubscriptionWriteResult as a0, type AdminSupportCustomer as a1, type AdminSupportStats as a2, type AdminSupportThread as a3, type AdminWebhookEvent as a4, type Affiliate as a5, type AffiliateAuthTokens as a6, type AffiliateClickRecord as a7, type AffiliateConversion as a8, type AffiliateDashboardLinks as a9, type CatalogConversionPointers as aA, type CatalogConversionPrepareResult as aB, type CatalogConversionPreview as aC, type CatalogConversionRun as aD, type CatalogConversionSource as aE, type CatalogConversionStage as aF, type CatalogConversionTarget as aG, type CatalogConversionUndoOptions as aH, type CatalogConversionUndoResult as aI, type CatalogDose as aJ, type CatalogDoseInput as aK, type CatalogDoseModel as aL, type CatalogDoseSuggestion as aM, type CatalogDoseSuggestions as aN, type CatalogEquivalentSuggestions as aO, type CatalogFulfillment as aP, type CatalogFulfillmentInput as aQ, type CatalogItem as aR, type CatalogItemInput as aS, type CatalogMappableDrug as aT, type CatalogMatrixCell as aU, type CatalogProduct as aV, type CatalogReadiness as aW, type CategoryMetadata as aX, type CheckoutAddress as aY, type CheckoutPayload as aZ, type CheckoutResult as a_, type AffiliateDashboardProfile as aa, type AffiliateDashboardStats as ab, type AffiliateDownlineMember as ac, type AffiliateEarningsBreakdown as ad, type AffiliatePaymentMethod as ae, type AffiliateProgram as af, type AffiliateRegisterInput as ag, type AffiliateRegisterResponse as ah, type AffiliateSession as ai, type AffiliateStatsResponse as aj, type AffiliateStatus as ak, type AffiliateTrackResponse as al, ApiError as am, type ApiResponse as an, type AttributionMethod as ao, type AuthTokens as ap, type BillingReminderSettings as aq, type CatalogAvailabilityItem as ar, type CatalogAvailabilityReason as as, type CatalogAvailabilityResult as at, type CatalogClassification as au, type CatalogConversionChoice as av, type CatalogConversionCommitResult as aw, type CatalogConversionDose as ax, type CatalogConversionDoseMatch as ay, type CatalogConversionFinding as az, type AddPharmacyPlan as b, type UpdatePaymentMethodPayload as b$, type CommissionStatus as b0, type CompleteSurveyPayload as b1, type CreateAffiliatePayload as b2, type CreateAffiliateProgramPayload as b3, type CreateOrderPayload as b4, type CreateRequestPayload as b5, type CreateSubscriptionPayload as b6, type CustomTemplate as b7, type CustomTemplateInput as b8, type CustomerDiscountConfig as b9, type RegisterAndSubscribePayload as bA, type RegisterPayload as bB, type RenewalStatus as bC, SUPPORT_ATTACHMENT_MAX_BYTES as bD, SUPPORT_ATTACHMENT_MIME_TYPES as bE, type SelectDrugPayload as bF, type SendMessagePayload as bG, type SendToPharmacyPayload as bH, type SubscriptionPreview as bI, type SubscriptionPreviewLine as bJ, type SubscriptionPreviewPayload as bK, type SupportAttachment as bL, type SupportChannel as bM, type SupportChannelSettings as bN, type SupportMessage as bO, type SupportRealtimeToken as bP, type SupportThread as bQ, type SupportThreadCategory as bR, type SupportThreadStatus as bS, type SurveySubmitPayload as bT, type TemplatePlaceholdersMap as bU, type TemplateText as bV, type TenantFeature as bW, type TenantFeatureAccess as bX, type TokenTrackName as bY, type UpdateAffiliatePayload as bZ, type UpdateAffiliateProgramPayload as b_, type DeliveryInfo as ba, type DiscountType as bb, type EmailNotificationSettings as bc, type EmailTemplatesMap as bd, type LoginPayload as be, type MemberOffer as bf, type MemberPrescriptionRequest as bg, type MemberSurveyMode as bh, type MemberSurveyResponseSummary as bi, type MemberSurveyTranscript as bj, type MemberSurveyTranscriptItem as bk, type MemberSurveyTranscriptSection as bl, type MembersMeResponse as bm, type OfferGrantState as bn, type Order as bo, type OrderItemInput as bp, type PaginationParams as bq, type PaymentCallbackPayload as br, type PaymentInitiatePayload as bs, type PaymentType as bt, type PendingRenewalSurvey as bu, type Placeholder as bv, type PlaceholderKind as bw, type ProductSaleSummary as bx, type PromoValidationResponse as by, type PublicCategory as bz, type AddPharmacyPrice as c, type UpdateProfilePayload as c0, type User as c1, addressesApi as c2, adminAffiliatesApi as c3, adminApi as c4, adminCatalogApi as c5, adminCatalogConversionApi as c6, adminProductPharmaciesApi as c7, affiliateAuthStorageKey as c8, affiliatePortalApi as c9, apexApi as ca, apiFetch as cb, authApi as cc, authStorageKey as cd, catalogApi as ce, clearAffiliateTokens as cf, clearTokens as cg, getAffiliateTokens as ch, getTokens as ci, membersApi as cj, messagesApi as ck, newIdempotencyKey as cl, offersApi as cm, onTokensCleared as cn, ordersApi as co, paymentsApi as cp, productsApi as cq, promoCodesApi as cr, setAffiliateTokens as cs, setTokens as ct, subscriptionsApi as cu, supportApi as cv, usersApi as cw, type AddPharmacyResult as d, type AddPharmacyStrengthAfter as e, type AddPharmacyStrengthBefore as f, type AddressVerifyResult as g, type AdminApexDrug as h, type AdminApexItemStatus as i, type AdminBillingAttempt as j, type AdminCategory as k, type AdminCategoryInput as l, type AdminCategoryUpdate as m, type AdminCustomer as n, type AdminCustomerFacts as o, type AdminCustomerFunnel as p, type AdminCustomerListParams as q, type AdminCustomerOverview as r, type AdminCustomerProfile as s, type AdminCustomerRequest as t, type AdminCustomerRow as u, type AdminCustomerSupport as v, type AdminCustomerSupportThread as w, type AdminDashboardStats as x, type AdminLifecycle as y, type AdminLifecycleBucket as z };
2885
+ export { type AdminScheduledRefund as $, type AddPharmacyBody as A, type AdminCustomerSupportThread as B, type AdminDashboardStats as C, type AdminLifecycle as D, type AdminLifecycleBucket as E, type AdminListParams as F, type AdminOffer as G, type AdminOfferBase as H, type AdminOfferGrant as I, type AdminOfferGrantBase as J, type AdminOfferInput as K, type AdminOrderSummary as L, type AdminOrphanReason as M, type AdminOrphanedDosePrice as N, type AdminPayment as O, type AdminPaymentDetail as P, type AdminProduct as Q, type AdminProductOverlayField as R, type AdminProductPharmacy as S, type AdminProductStrength as T, type AdminPromoCode as U, type AdminPromoCodeInput as V, type AdminRecurringPricePoint as W, type AdminRecurringRevenue as X, type AdminRefundResult as Y, type AdminSale as Z, type AdminSaleInput as _, type AddPharmacyDoseMatch as a, type CategoryMetadata as a$, type AdminScheduledRefundProblem as a0, type AdminSubscription as a1, type AdminSubscriptionDetail as a2, type AdminSubscriptionPatch as a3, type AdminSubscriptionWriteResult as a4, type AdminSupportCustomer as a5, type AdminSupportStats as a6, type AdminSupportThread as a7, type AdminWebhookEvent as a8, type Affiliate as a9, type CatalogConversionCommitResult as aA, type CatalogConversionDose as aB, type CatalogConversionDoseMatch as aC, type CatalogConversionFinding as aD, type CatalogConversionPointers as aE, type CatalogConversionPrepareResult as aF, type CatalogConversionPreview as aG, type CatalogConversionRun as aH, type CatalogConversionSource as aI, type CatalogConversionStage as aJ, type CatalogConversionTarget as aK, type CatalogConversionUndoOptions as aL, type CatalogConversionUndoResult as aM, type CatalogDose as aN, type CatalogDoseInput as aO, type CatalogDoseModel as aP, type CatalogDoseSuggestion as aQ, type CatalogDoseSuggestions as aR, type CatalogEquivalentSuggestions as aS, type CatalogFulfillment as aT, type CatalogFulfillmentInput as aU, type CatalogItem as aV, type CatalogItemInput as aW, type CatalogMappableDrug as aX, type CatalogMatrixCell as aY, type CatalogProduct as aZ, type CatalogReadiness as a_, type AffiliateAuthTokens as aa, type AffiliateClickRecord as ab, type AffiliateConversion as ac, type AffiliateDashboardLinks as ad, type AffiliateDashboardProfile as ae, type AffiliateDashboardStats as af, type AffiliateDownlineMember as ag, type AffiliateEarningsBreakdown as ah, type AffiliatePaymentMethod as ai, type AffiliateProgram as aj, type AffiliateRegisterInput as ak, type AffiliateRegisterResponse as al, type AffiliateSession as am, type AffiliateStatsResponse as an, type AffiliateStatus as ao, type AffiliateTrackResponse as ap, ApiError as aq, type ApiResponse as ar, type AttributionMethod as as, type AuthTokens as at, type BillingReminderSettings as au, type CatalogAvailabilityItem as av, type CatalogAvailabilityReason as aw, type CatalogAvailabilityResult as ax, type CatalogClassification as ay, type CatalogConversionChoice as az, type AddPharmacyDoseOption as b, type TenantFeatureAccess as b$, type CheckoutAddress as b0, type CheckoutPayload as b1, type CheckoutResult as b2, type CommissionConfig as b3, type CommissionStatus as b4, type CompleteSurveyPayload as b5, type CreateAffiliatePayload as b6, type CreateAffiliateProgramPayload as b7, type CreateOrderPayload as b8, type CreateRequestPayload as b9, type PlaceholderKind as bA, type ProductSaleSummary as bB, type PromoValidationResponse as bC, type PublicCategory as bD, type RegisterAndSubscribePayload as bE, type RegisterPayload as bF, type RenewalStatus as bG, SUPPORT_ATTACHMENT_MAX_BYTES as bH, SUPPORT_ATTACHMENT_MIME_TYPES as bI, type SelectDrugPayload as bJ, type SendMessagePayload as bK, type SendToPharmacyPayload as bL, type SubscriptionPreview as bM, type SubscriptionPreviewLine as bN, type SubscriptionPreviewPayload as bO, type SupportAttachment as bP, type SupportChannel as bQ, type SupportChannelSettings as bR, type SupportMessage as bS, type SupportRealtimeToken as bT, type SupportThread as bU, type SupportThreadCategory as bV, type SupportThreadStatus as bW, type SurveySubmitPayload as bX, type TemplatePlaceholdersMap as bY, type TemplateText as bZ, type TenantFeature as b_, type CreateSubscriptionPayload as ba, type CustomTemplate as bb, type CustomTemplateInput as bc, type CustomerDiscountConfig as bd, type DeliveryInfo as be, type DiscountType as bf, type EmailNotificationSettings as bg, type EmailTemplatesMap as bh, type LoginPayload as bi, type MemberOffer as bj, type MemberPrescriptionRequest as bk, type MemberSurveyMode as bl, type MemberSurveyResponseSummary as bm, type MemberSurveyTranscript as bn, type MemberSurveyTranscriptItem as bo, type MemberSurveyTranscriptSection as bp, type MembersMeResponse as bq, type OfferGrantState as br, type Order as bs, type OrderItemInput as bt, type PaginationParams as bu, type PaymentCallbackPayload as bv, type PaymentInitiatePayload as bw, type PaymentType as bx, type PendingRenewalSurvey as by, type Placeholder as bz, type AddPharmacyFinding as c, type TokenTrackName as c0, type UpdateAffiliatePayload as c1, type UpdateAffiliateProgramPayload as c2, type UpdatePaymentMethodPayload as c3, type UpdateProfilePayload as c4, type User as c5, addressesApi as c6, adminAffiliatesApi as c7, adminApi as c8, adminCatalogApi as c9, usersApi as cA, adminCatalogConversionApi as ca, adminProductPharmaciesApi as cb, affiliateAuthStorageKey as cc, affiliatePortalApi as cd, apexApi as ce, apiFetch as cf, authApi as cg, authStorageKey as ch, catalogApi as ci, clearAffiliateTokens as cj, clearTokens as ck, getAffiliateTokens as cl, getTokens as cm, membersApi as cn, messagesApi as co, newIdempotencyKey as cp, offersApi as cq, onTokensCleared as cr, ordersApi as cs, paymentsApi as ct, productsApi as cu, promoCodesApi as cv, setAffiliateTokens as cw, setTokens as cx, subscriptionsApi as cy, supportApi as cz, type AddPharmacyMatchQuestion as d, type AddPharmacyMatchSource as e, type AddPharmacyPlan as f, type AddPharmacyPrice as g, type AddPharmacyResult as h, type AddPharmacyStrengthAfter as i, type AddPharmacyStrengthBefore as j, type AddressVerifyResult as k, type AdminApexDrug as l, type AdminApexItemStatus as m, type AdminBillingAttempt as n, type AdminCategory as o, type AdminCategoryInput as p, type AdminCategoryUpdate as q, type AdminCustomer as r, type AdminCustomerFacts as s, type AdminCustomerFunnel as t, type AdminCustomerListParams as u, type AdminCustomerOverview as v, type AdminCustomerProfile as w, type AdminCustomerRequest as x, type AdminCustomerRow as y, type AdminCustomerSupport as z };
@@ -1,5 +1,5 @@
1
1
  import { Accessor, Resource } from 'solid-js';
2
- import { g as AddressVerifyResult, aY as CheckoutAddress, at as CatalogAvailabilityResult, c1 as User, ba as DeliveryInfo, bC as RenewalStatus, bu as PendingRenewalSurvey, z as AdminLifecycleBucket, r as AdminCustomerOverview, _ as AdminSubscriptionDetail, t as AdminCustomerRequest, bR as SupportThreadCategory, bM as SupportChannel, aV as CatalogProduct, a8 as AffiliateConversion, ac as AffiliateDownlineMember, a9 as AffiliateDashboardLinks, ab as AffiliateDashboardStats, by as PromoValidationResponse, bf as MemberOffer, au as CatalogClassification, aL as CatalogDoseModel, J as AdminOrphanedDosePrice, M as AdminProduct, aR as CatalogItem, aM as CatalogDoseSuggestion, aT as CatalogMappableDrug, aO as CatalogEquivalentSuggestions, aW as CatalogReadiness, aI as CatalogConversionUndoResult, aC as CatalogConversionPreview, ay as CatalogConversionDoseMatch, aE as CatalogConversionSource, ax as CatalogConversionDose, aH as CatalogConversionUndoOptions, aw as CatalogConversionCommitResult, az as CatalogConversionFinding, av as CatalogConversionChoice, b as AddPharmacyPlan, d as AddPharmacyResult, A as AddPharmacyBody, a as AddPharmacyFinding } from '../client-Da9ye3z4.js';
2
+ import { k as AddressVerifyResult, b0 as CheckoutAddress, ax as CatalogAvailabilityResult, c5 as User, be as DeliveryInfo, bG as RenewalStatus, by as PendingRenewalSurvey, E as AdminLifecycleBucket, v as AdminCustomerOverview, a2 as AdminSubscriptionDetail, x as AdminCustomerRequest, bV as SupportThreadCategory, bQ as SupportChannel, aZ as CatalogProduct, ac as AffiliateConversion, ag as AffiliateDownlineMember, ad as AffiliateDashboardLinks, af as AffiliateDashboardStats, bC as PromoValidationResponse, bj as MemberOffer, ay as CatalogClassification, aP as CatalogDoseModel, N as AdminOrphanedDosePrice, Q as AdminProduct, aV as CatalogItem, aQ as CatalogDoseSuggestion, aX as CatalogMappableDrug, aS as CatalogEquivalentSuggestions, a_ as CatalogReadiness, aM as CatalogConversionUndoResult, aG as CatalogConversionPreview, aC as CatalogConversionDoseMatch, aI as CatalogConversionSource, aB as CatalogConversionDose, aL as CatalogConversionUndoOptions, aA as CatalogConversionCommitResult, aD as CatalogConversionFinding, az as CatalogConversionChoice, f as AddPharmacyPlan, h as AddPharmacyResult, e as AddPharmacyMatchSource, A as AddPharmacyBody, c as AddPharmacyFinding } from '../client-Baf1FSEp.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';
@@ -2418,11 +2418,18 @@ declare function useCatalogConversion(opts: UseCatalogConversionOptions): Catalo
2418
2418
  * - A plan that needs no decision (no blockers, no admin-facing warnings, no
2419
2419
  * price owed, strengths unchanged) is a single confirm step: `needsReview`.
2420
2420
  * - `ops` findings are for operators and never reach the screen.
2421
+ * - Subscribers on a strength that matched no new one ("match questions") are
2422
+ * the admin's to place. Each answer re-plans (debounced; only the latest
2423
+ * response is adopted; saving waits), because an answered strength carries
2424
+ * its price over and so changes what is owed. Typed prices are kept. The
2425
+ * answers ride along on the save, and on a `plan_changed` re-plan.
2421
2426
  *
2422
2427
  * The decision logic (what to show, what is missing, the save body, error
2423
2428
  * sorting) is exported as pure functions and tested without a component tree.
2424
2429
  */
2425
2430
 
2431
+ /** The admin's answers to match questions, by `matchKey`. A key is present once answered; null = leave for review. */
2432
+ type MatchAnswers = Readonly<Record<string, string | null>>;
2426
2433
  /** The warnings an admin should read. `ops` findings are for operators. */
2427
2434
  declare function visibleWarnings(plan: Pick<AddPharmacyPlan, 'warnings'>): AddPharmacyFinding[];
2428
2435
  /** A price as typed: a positive amount of at most two decimals. Null = blank or not valid. */
@@ -2453,9 +2460,10 @@ declare function pharmacyLabel(plan: Pick<AddPharmacyPlan, 'pharmacy'>): string;
2453
2460
  /**
2454
2461
  * The save body for a plan: the plan's hash (absent on a plain add) and a price
2455
2462
  * for every strength the plan asked for, with the optional member price only
2456
- * when one was typed. `autoPrices` are the server's to apply and are not sent.
2463
+ * when one was typed, and the admin's answers to the plan's match questions
2464
+ * (only those answered). `autoPrices` are the server's to apply and are not sent.
2457
2465
  */
2458
- declare function buildSaveBody(plan: AddPharmacyPlan, prices: Readonly<Record<string, string>>, savingsPrices?: Readonly<Record<string, string>>): AddPharmacyBody;
2466
+ declare function buildSaveBody(plan: AddPharmacyPlan, prices: Readonly<Record<string, string>>, savingsPrices?: Readonly<Record<string, string>>, matchAnswers?: MatchAnswers): AddPharmacyBody;
2459
2467
  /** Whether the product, as the server reports it now, already has the planned pharmacy drug. */
2460
2468
  declare function pharmacyIsOnProduct(product: Pick<AdminProduct, 'pharmacies'> | null | undefined, plan: Pick<AddPharmacyPlan, 'pharmacy'>): boolean;
2461
2469
  type AddPharmacyFailure =
@@ -2571,6 +2579,12 @@ interface AddPharmacy {
2571
2579
  /** A member price was typed that is not an amount. */
2572
2580
  savingsInvalid: Accessor<string[]>;
2573
2581
  canSave: Accessor<boolean>;
2582
+ /** The answers the admin has given to the plan's match questions. */
2583
+ matchAnswers: Accessor<MatchAnswers>;
2584
+ /** Answer a match question: a dose id, or null to leave those subscribers for review. Re-plans after a short pause. */
2585
+ setMatchAnswer: (source: AddPharmacyMatchSource, doseId: string | null) => void;
2586
+ /** The plan is being recomputed for a changed answer; saving waits. */
2587
+ replanning: Accessor<boolean>;
2574
2588
  save: () => Promise<void>;
2575
2589
  /** Plan again (after a refusal a new plan can change), or re-check the product when the save's outcome is unknown. */
2576
2590
  retry: () => Promise<void>;
@@ -1,9 +1,9 @@
1
- export { OFFER_BEATS_PROMO_NOTICE, restoreCartFromLink, startCartCapture, useSubscriptionIntakeFlow, validateResumedPromo } from '../chunk/EGP7AQDM.js';
2
- import '../chunk/KADMJCZL.js';
3
- export { DEFAULT_COLOR_PALETTE, LIFECYCLE_BUCKETS, LIFECYCLE_LABEL, LIFECYCLE_TONE, LIVE_SUBSCRIPTION_STATUSES, MATCH_DEPENDENT_WARNINGS, MATCH_HOW_LABEL, ORPHAN_REASON, 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, groupDrugsByPharmacy, hasBlockers, hasConversion, hasErrors, initialMatches, isCatalogItemId, isCssColorValue, isLive, isQuestionVisible, isReconcilable, 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, useSubscribeFlow, useSurveyFlow, useSurveyV2Flow, useUpdatePaymentMethodFlow, validateAddress, visibleWarnings } from '../chunk/R5WTYT2O.js';
4
- import '../chunk/2CHHHNFT.js';
5
- import '../chunk/H7RY2N5U.js';
6
- import '../chunk/ISC5GVA2.js';
1
+ export { OFFER_BEATS_PROMO_NOTICE, restoreCartFromLink, startCartCapture, useSubscriptionIntakeFlow, validateResumedPromo } from '../chunk/ANKLNWGB.js';
2
+ import '../chunk/TFA64PLK.js';
3
+ export { DEFAULT_COLOR_PALETTE, LIFECYCLE_BUCKETS, LIFECYCLE_LABEL, LIFECYCLE_TONE, LIVE_SUBSCRIPTION_STATUSES, MATCH_DEPENDENT_WARNINGS, MATCH_HOW_LABEL, ORPHAN_REASON, 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, groupDrugsByPharmacy, hasBlockers, hasConversion, hasErrors, initialMatches, isCatalogItemId, isCssColorValue, isLive, isQuestionVisible, isReconcilable, 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, useSubscribeFlow, useSurveyFlow, useSurveyV2Flow, useUpdatePaymentMethodFlow, validateAddress, visibleWarnings } from '../chunk/LFSDVMIY.js';
4
+ import '../chunk/Z6PDUPOU.js';
5
+ import '../chunk/AXXQJC6M.js';
6
+ import '../chunk/ICGZXU3R.js';
7
7
  import '../chunk/2IFPDU4D.js';
8
8
  //# sourceMappingURL=index.js.map
9
9
  //# sourceMappingURL=index.js.map
@@ -4,8 +4,8 @@ import {
4
4
  startCartCapture,
5
5
  useSubscriptionIntakeFlow,
6
6
  validateResumedPromo
7
- } from "../chunk/HADRZNID.jsx";
8
- import "../chunk/YQK6OTY6.jsx";
7
+ } from "../chunk/P4NWFY4T.jsx";
8
+ import "../chunk/3SPMZ7FK.jsx";
9
9
  import {
10
10
  DEFAULT_COLOR_PALETTE,
11
11
  LIFECYCLE_BUCKETS,
@@ -133,10 +133,10 @@ import {
133
133
  useUpdatePaymentMethodFlow,
134
134
  validateAddress,
135
135
  visibleWarnings
136
- } from "../chunk/GVXPPYZZ.jsx";
137
- import "../chunk/6QI7MVTN.jsx";
138
- import "../chunk/OVRA6JBK.jsx";
139
- import "../chunk/3CWWN7H2.jsx";
136
+ } from "../chunk/VE5ACNFB.jsx";
137
+ import "../chunk/HM5L6J62.jsx";
138
+ import "../chunk/545PPOE5.jsx";
139
+ import "../chunk/PHSZOZVK.jsx";
140
140
  import "../chunk/QVZ7BRNO.jsx";
141
141
  export {
142
142
  DEFAULT_COLOR_PALETTE,
@@ -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 AddPharmacyBody, a as AddPharmacyFinding, b as AddPharmacyPlan, c as AddPharmacyPrice, d as AddPharmacyResult, e as AddPharmacyStrengthAfter, f as AddPharmacyStrengthBefore, g as AddressVerifyResult, h as AdminApexDrug, i as AdminApexItemStatus, j as AdminBillingAttempt, k as AdminCategory, l as AdminCategoryInput, m as AdminCategoryUpdate, n as AdminCustomer, o as AdminCustomerFacts, p as AdminCustomerFunnel, q as AdminCustomerListParams, r as AdminCustomerOverview, s as AdminCustomerProfile, t as AdminCustomerRequest, u as AdminCustomerRow, v as AdminCustomerSupport, w as AdminCustomerSupportThread, x as AdminDashboardStats, y as AdminLifecycle, z as AdminLifecycleBucket, B as AdminListParams, C as AdminOffer, D as AdminOfferBase, E as AdminOfferGrant, F as AdminOfferGrantBase, G as AdminOfferInput, H as AdminOrderSummary, I as AdminOrphanReason, J as AdminOrphanedDosePrice, K as AdminPayment, L as AdminPaymentDetail, M as AdminProduct, N as AdminProductOverlayField, O as AdminProductPharmacy, P as AdminProductStrength, Q as AdminPromoCode, R as AdminPromoCodeInput, S as AdminRecurringPricePoint, T as AdminRecurringRevenue, U as AdminRefundResult, V as AdminSale, W as AdminSaleInput, X as AdminScheduledRefund, Y as AdminScheduledRefundProblem, Z as AdminSubscription, _ as AdminSubscriptionDetail, $ as AdminSubscriptionPatch, a0 as AdminSubscriptionWriteResult, a1 as AdminSupportCustomer, a2 as AdminSupportStats, a3 as AdminSupportThread, a4 as AdminWebhookEvent, a5 as Affiliate, a6 as AffiliateAuthTokens, a7 as AffiliateClickRecord, a8 as AffiliateConversion, a9 as AffiliateDashboardLinks, aa as AffiliateDashboardProfile, ab as AffiliateDashboardStats, ac as AffiliateDownlineMember, ad as AffiliateEarningsBreakdown, ae as AffiliatePaymentMethod, af as AffiliateProgram, ag as AffiliateRegisterInput, ah as AffiliateRegisterResponse, ai as AffiliateSession, aj as AffiliateStatsResponse, ak as AffiliateStatus, al as AffiliateTrackResponse, am as ApiError, an as ApiResponse, ao as AttributionMethod, ap as AuthTokens, aq as BillingReminderSettings, ar as CatalogAvailabilityItem, as as CatalogAvailabilityReason, at as CatalogAvailabilityResult, au as CatalogClassification, av as CatalogConversionChoice, aw as CatalogConversionCommitResult, ax as CatalogConversionDose, ay as CatalogConversionDoseMatch, az as CatalogConversionFinding, aA as CatalogConversionPointers, aB as CatalogConversionPrepareResult, aC as CatalogConversionPreview, aD as CatalogConversionRun, aE as CatalogConversionSource, aF as CatalogConversionStage, aG as CatalogConversionTarget, aH as CatalogConversionUndoOptions, aI as CatalogConversionUndoResult, aJ as CatalogDose, aK as CatalogDoseInput, aL as CatalogDoseModel, aM as CatalogDoseSuggestion, aN as CatalogDoseSuggestions, aO as CatalogEquivalentSuggestions, aP as CatalogFulfillment, aQ as CatalogFulfillmentInput, aR as CatalogItem, aS as CatalogItemInput, aT as CatalogMappableDrug, aU as CatalogMatrixCell, aV as CatalogProduct, aW as CatalogReadiness, aX as CategoryMetadata, aY as CheckoutAddress, aZ as CheckoutPayload, a_ as CheckoutResult, a$ as CommissionConfig, b0 as CommissionStatus, b1 as CompleteSurveyPayload, b2 as CreateAffiliatePayload, b3 as CreateAffiliateProgramPayload, b4 as CreateOrderPayload, b5 as CreateRequestPayload, b6 as CreateSubscriptionPayload, b7 as CustomTemplate, b8 as CustomTemplateInput, b9 as CustomerDiscountConfig, ba as DeliveryInfo, bb as DiscountType, bc as EmailNotificationSettings, bd as EmailTemplatesMap, be as LoginPayload, bf as MemberOffer, bg as MemberPrescriptionRequest, bh as MemberSurveyMode, bi as MemberSurveyResponseSummary, bj as MemberSurveyTranscript, bk as MemberSurveyTranscriptItem, bl as MemberSurveyTranscriptSection, bm as MembersMeResponse, bn as OfferGrantState, bo as Order, bp as OrderItemInput, bq as PaginationParams, br as PaymentCallbackPayload, bs as PaymentInitiatePayload, bt as PaymentType, bu as PendingRenewalSurvey, bv as Placeholder, bw as PlaceholderKind, bx as ProductSaleSummary, by as PromoValidationResponse, bz as PublicCategory, bA as RegisterAndSubscribePayload, bB as RegisterPayload, bC as RenewalStatus, bD as SUPPORT_ATTACHMENT_MAX_BYTES, bE as SUPPORT_ATTACHMENT_MIME_TYPES, bF as SelectDrugPayload, bG as SendMessagePayload, bH as SendToPharmacyPayload, bI as SubscriptionPreview, bJ as SubscriptionPreviewLine, bK as SubscriptionPreviewPayload, bL as SupportAttachment, bM as SupportChannel, bN as SupportChannelSettings, bO as SupportMessage, bP as SupportRealtimeToken, bQ as SupportThread, bR as SupportThreadCategory, bS as SupportThreadStatus, bT as SurveySubmitPayload, bU as TemplatePlaceholdersMap, bV as TemplateText, bW as TenantFeature, bX as TenantFeatureAccess, bY as TokenTrackName, bZ as UpdateAffiliatePayload, b_ as UpdateAffiliateProgramPayload, b$ as UpdatePaymentMethodPayload, c0 as UpdateProfilePayload, c1 as User, c2 as addressesApi, c3 as adminAffiliatesApi, c4 as adminApi, c5 as adminCatalogApi, c6 as adminCatalogConversionApi, c7 as adminProductPharmaciesApi, c8 as affiliateAuthStorageKey, c9 as affiliatePortalApi, ca as apexApi, cb as apiFetch, cc as authApi, cd as authStorageKey, ce as catalogApi, cf as clearAffiliateTokens, cg as clearTokens, ch as getAffiliateTokens, ci as getTokens, cj as membersApi, ck as messagesApi, cl as newIdempotencyKey, cm as offersApi, cn as onTokensCleared, co as ordersApi, cp as paymentsApi, cq as productsApi, cr as promoCodesApi, cs as setAffiliateTokens, ct as setTokens, cu as subscriptionsApi, cv as supportApi, cw as usersApi } from '../client-Da9ye3z4.js';
4
+ export { A as AddPharmacyBody, a as AddPharmacyDoseMatch, b as AddPharmacyDoseOption, c as AddPharmacyFinding, d as AddPharmacyMatchQuestion, e as AddPharmacyMatchSource, f as AddPharmacyPlan, g as AddPharmacyPrice, h as AddPharmacyResult, i as AddPharmacyStrengthAfter, j as AddPharmacyStrengthBefore, k as AddressVerifyResult, l as AdminApexDrug, m as AdminApexItemStatus, n as AdminBillingAttempt, o as AdminCategory, p as AdminCategoryInput, q as AdminCategoryUpdate, r as AdminCustomer, s as AdminCustomerFacts, t as AdminCustomerFunnel, u as AdminCustomerListParams, v as AdminCustomerOverview, w as AdminCustomerProfile, x as AdminCustomerRequest, y as AdminCustomerRow, z as AdminCustomerSupport, B as AdminCustomerSupportThread, C as AdminDashboardStats, D as AdminLifecycle, E as AdminLifecycleBucket, F as AdminListParams, G as AdminOffer, H as AdminOfferBase, I as AdminOfferGrant, J as AdminOfferGrantBase, K as AdminOfferInput, L as AdminOrderSummary, M as AdminOrphanReason, N as AdminOrphanedDosePrice, O as AdminPayment, P as AdminPaymentDetail, Q as AdminProduct, R as AdminProductOverlayField, S as AdminProductPharmacy, T as AdminProductStrength, U as AdminPromoCode, V as AdminPromoCodeInput, W as AdminRecurringPricePoint, X as AdminRecurringRevenue, Y as AdminRefundResult, Z as AdminSale, _ as AdminSaleInput, $ as AdminScheduledRefund, a0 as AdminScheduledRefundProblem, a1 as AdminSubscription, a2 as AdminSubscriptionDetail, a3 as AdminSubscriptionPatch, a4 as AdminSubscriptionWriteResult, a5 as AdminSupportCustomer, a6 as AdminSupportStats, a7 as AdminSupportThread, a8 as AdminWebhookEvent, a9 as Affiliate, aa as AffiliateAuthTokens, ab as AffiliateClickRecord, ac as AffiliateConversion, ad as AffiliateDashboardLinks, ae as AffiliateDashboardProfile, af as AffiliateDashboardStats, ag as AffiliateDownlineMember, ah as AffiliateEarningsBreakdown, ai as AffiliatePaymentMethod, aj as AffiliateProgram, ak as AffiliateRegisterInput, al as AffiliateRegisterResponse, am as AffiliateSession, an as AffiliateStatsResponse, ao as AffiliateStatus, ap as AffiliateTrackResponse, aq as ApiError, ar as ApiResponse, as as AttributionMethod, at as AuthTokens, au as BillingReminderSettings, av as CatalogAvailabilityItem, aw as CatalogAvailabilityReason, ax as CatalogAvailabilityResult, ay as CatalogClassification, az as CatalogConversionChoice, aA as CatalogConversionCommitResult, aB as CatalogConversionDose, aC as CatalogConversionDoseMatch, aD as CatalogConversionFinding, aE as CatalogConversionPointers, aF as CatalogConversionPrepareResult, aG as CatalogConversionPreview, aH as CatalogConversionRun, aI as CatalogConversionSource, aJ as CatalogConversionStage, aK as CatalogConversionTarget, aL as CatalogConversionUndoOptions, aM as CatalogConversionUndoResult, aN as CatalogDose, aO as CatalogDoseInput, aP as CatalogDoseModel, aQ as CatalogDoseSuggestion, aR as CatalogDoseSuggestions, aS as CatalogEquivalentSuggestions, aT as CatalogFulfillment, aU as CatalogFulfillmentInput, aV as CatalogItem, aW as CatalogItemInput, aX as CatalogMappableDrug, aY as CatalogMatrixCell, aZ as CatalogProduct, a_ as CatalogReadiness, a$ as CategoryMetadata, b0 as CheckoutAddress, b1 as CheckoutPayload, b2 as CheckoutResult, b3 as CommissionConfig, b4 as CommissionStatus, b5 as CompleteSurveyPayload, b6 as CreateAffiliatePayload, b7 as CreateAffiliateProgramPayload, b8 as CreateOrderPayload, b9 as CreateRequestPayload, ba as CreateSubscriptionPayload, bb as CustomTemplate, bc as CustomTemplateInput, bd as CustomerDiscountConfig, be as DeliveryInfo, bf as DiscountType, bg as EmailNotificationSettings, bh as EmailTemplatesMap, bi as LoginPayload, bj as MemberOffer, bk as MemberPrescriptionRequest, bl as MemberSurveyMode, bm as MemberSurveyResponseSummary, bn as MemberSurveyTranscript, bo as MemberSurveyTranscriptItem, bp as MemberSurveyTranscriptSection, bq as MembersMeResponse, br as OfferGrantState, bs as Order, bt as OrderItemInput, bu as PaginationParams, bv as PaymentCallbackPayload, bw as PaymentInitiatePayload, bx as PaymentType, by as PendingRenewalSurvey, bz as Placeholder, bA as PlaceholderKind, bB as ProductSaleSummary, bC as PromoValidationResponse, bD as PublicCategory, bE as RegisterAndSubscribePayload, bF as RegisterPayload, bG as RenewalStatus, bH as SUPPORT_ATTACHMENT_MAX_BYTES, bI as SUPPORT_ATTACHMENT_MIME_TYPES, bJ as SelectDrugPayload, bK as SendMessagePayload, bL as SendToPharmacyPayload, bM as SubscriptionPreview, bN as SubscriptionPreviewLine, bO as SubscriptionPreviewPayload, bP as SupportAttachment, bQ as SupportChannel, bR as SupportChannelSettings, bS as SupportMessage, bT as SupportRealtimeToken, bU as SupportThread, bV as SupportThreadCategory, bW as SupportThreadStatus, bX as SurveySubmitPayload, bY as TemplatePlaceholdersMap, bZ as TemplateText, b_ as TenantFeature, b$ as TenantFeatureAccess, c0 as TokenTrackName, c1 as UpdateAffiliatePayload, c2 as UpdateAffiliateProgramPayload, c3 as UpdatePaymentMethodPayload, c4 as UpdateProfilePayload, c5 as User, c6 as addressesApi, c7 as adminAffiliatesApi, c8 as adminApi, c9 as adminCatalogApi, ca as adminCatalogConversionApi, cb as adminProductPharmaciesApi, cc as affiliateAuthStorageKey, cd as affiliatePortalApi, ce as apexApi, cf as apiFetch, cg as authApi, ch as authStorageKey, ci as catalogApi, cj as clearAffiliateTokens, ck as clearTokens, cl as getAffiliateTokens, cm as getTokens, cn as membersApi, co as messagesApi, cp as newIdempotencyKey, cq as offersApi, cr as onTokensCleared, cs as ordersApi, ct as paymentsApi, cu as productsApi, cv as promoCodesApi, cw as setAffiliateTokens, cx as setTokens, cy as subscriptionsApi, cz as supportApi, cA as usersApi } from '../client-Baf1FSEp.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';
@@ -1,15 +1,15 @@
1
1
  import '../chunk/JSHO46VZ.js';
2
- export { OFFER_BEATS_PROMO_NOTICE, restoreCartFromLink, startCartCapture, useSubscriptionIntakeFlow, validateResumedPromo } from '../chunk/EGP7AQDM.js';
3
- export { adoptCartId, capturePromoCode, cartId, clearPromoCode, fetchCartConfig, fetchResumedCart, postCartSnapshot, readCartToken, readPromoCode, resetCartConfigCache, resetCartId, stripCartToken } from '../chunk/KADMJCZL.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/BVJPX54P.js';
2
+ export { OFFER_BEATS_PROMO_NOTICE, restoreCartFromLink, startCartCapture, useSubscriptionIntakeFlow, validateResumedPromo } from '../chunk/ANKLNWGB.js';
3
+ export { adoptCartId, capturePromoCode, cartId, clearPromoCode, fetchCartConfig, fetchResumedCart, postCartSnapshot, readCartToken, readPromoCode, resetCartConfigCache, resetCartId, stripCartToken } from '../chunk/TFA64PLK.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/L4DFQMYM.js';
5
5
  export { EmbedApiError2 as ApexV2ApiError, EmbedApiError, createEmbedApiClient, disqualificationReasonText, disqualifiedDrugIds, qualifiedDrugIds } from '../chunk/LZWA44KD.js';
6
- export { DEFAULT_COLOR_PALETTE, LIFECYCLE_BUCKETS, LIFECYCLE_LABEL, LIFECYCLE_TONE, LIVE_SUBSCRIPTION_STATUSES, MATCH_DEPENDENT_WARNINGS, MATCH_HOW_LABEL, ORPHAN_REASON, 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, groupDrugsByPharmacy, hasBlockers, hasConversion, hasErrors, initialMatches, isCatalogItemId, isCssColorValue, isLive, isQuestionVisible, isReconcilable, 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, useSubscribeFlow, useSurveyFlow, useSurveyV2Flow, useUpdatePaymentMethodFlow, validateAddress, visibleWarnings } from '../chunk/R5WTYT2O.js';
7
- export { adoptFunnelSessionId, captureAuthHeader, fetchFunnelConfig, fetchResumedDraft, funnelSessionId, peekFunnelSessionId, postFunnelEvent, readResumeToken, resetFunnelConfigCache, saveFunnelDraft, stripResumeToken } from '../chunk/2CHHHNFT.js';
6
+ export { DEFAULT_COLOR_PALETTE, LIFECYCLE_BUCKETS, LIFECYCLE_LABEL, LIFECYCLE_TONE, LIVE_SUBSCRIPTION_STATUSES, MATCH_DEPENDENT_WARNINGS, MATCH_HOW_LABEL, ORPHAN_REASON, 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, groupDrugsByPharmacy, hasBlockers, hasConversion, hasErrors, initialMatches, isCatalogItemId, isCssColorValue, isLive, isQuestionVisible, isReconcilable, 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, useSubscribeFlow, useSurveyFlow, useSurveyV2Flow, useUpdatePaymentMethodFlow, validateAddress, visibleWarnings } from '../chunk/LFSDVMIY.js';
7
+ export { adoptFunnelSessionId, captureAuthHeader, fetchFunnelConfig, fetchResumedDraft, funnelSessionId, peekFunnelSessionId, postFunnelEvent, readResumeToken, resetFunnelConfigCache, saveFunnelDraft, stripResumeToken } from '../chunk/Z6PDUPOU.js';
8
8
  export { PrimitivesProvider, usePrimitives } from '../chunk/67KHO66G.js';
9
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/H7RY2N5U.js';
12
- export { 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/ISC5GVA2.js';
11
+ export { affiliateAuth_default as affiliateAuthStore, auth_default as authStore, cart_default as cartStore, medication_default as medicationStore } from '../chunk/AXXQJC6M.js';
12
+ export { 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/ICGZXU3R.js';
13
13
  export { configure, getConfig } from '../chunk/2IFPDU4D.js';
14
14
  //# sourceMappingURL=index.js.map
15
15
  //# sourceMappingURL=index.js.map
@@ -5,7 +5,7 @@ import {
5
5
  startCartCapture,
6
6
  useSubscriptionIntakeFlow,
7
7
  validateResumedPromo
8
- } from "../chunk/HADRZNID.jsx";
8
+ } from "../chunk/P4NWFY4T.jsx";
9
9
  import {
10
10
  adoptCartId,
11
11
  capturePromoCode,
@@ -19,7 +19,7 @@ import {
19
19
  resetCartConfigCache,
20
20
  resetCartId,
21
21
  stripCartToken
22
- } from "../chunk/YQK6OTY6.jsx";
22
+ } from "../chunk/3SPMZ7FK.jsx";
23
23
  import {
24
24
  ADMIN_TAB_SEGMENTS,
25
25
  AFFILIATE_SUB_TAB_SEGMENTS,
@@ -47,7 +47,7 @@ import {
47
47
  adminTabPath,
48
48
  affiliateSubTabFromPath,
49
49
  affiliateSubTabPath
50
- } from "../chunk/XV5WXVPT.jsx";
50
+ } from "../chunk/OZZGMI6C.jsx";
51
51
  import {
52
52
  EmbedApiError,
53
53
  EmbedApiError2,
@@ -183,7 +183,7 @@ import {
183
183
  useUpdatePaymentMethodFlow,
184
184
  validateAddress,
185
185
  visibleWarnings
186
- } from "../chunk/GVXPPYZZ.jsx";
186
+ } from "../chunk/VE5ACNFB.jsx";
187
187
  import {
188
188
  adoptFunnelSessionId,
189
189
  captureAuthHeader,
@@ -196,7 +196,7 @@ import {
196
196
  resetFunnelConfigCache,
197
197
  saveFunnelDraft,
198
198
  stripResumeToken
199
- } from "../chunk/6QI7MVTN.jsx";
199
+ } from "../chunk/HM5L6J62.jsx";
200
200
  import {
201
201
  PrimitivesProvider,
202
202
  usePrimitives
@@ -210,7 +210,7 @@ import {
210
210
  auth_default,
211
211
  cart_default,
212
212
  medication_default
213
- } from "../chunk/OVRA6JBK.jsx";
213
+ } from "../chunk/545PPOE5.jsx";
214
214
  import {
215
215
  ApiError,
216
216
  SUPPORT_ATTACHMENT_MAX_BYTES,
@@ -249,7 +249,7 @@ import {
249
249
  subscriptionsApi,
250
250
  supportApi,
251
251
  usersApi
252
- } from "../chunk/3CWWN7H2.jsx";
252
+ } from "../chunk/PHSZOZVK.jsx";
253
253
  import {
254
254
  configure,
255
255
  getConfig
@@ -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 { z as AdminLifecycleBucket, M as AdminProduct } from '../client-Da9ye3z4.js';
5
+ import { E as AdminLifecycleBucket, Q as AdminProduct } from '../client-Baf1FSEp.js';
6
6
  import '@apextelemed/survey-solid';
7
7
 
8
8
  interface SurveyPageProps {
@@ -1,10 +1,10 @@
1
- export { ADMIN_TAB_SEGMENTS, AFFILIATE_SUB_TAB_SEGMENTS, 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/BVJPX54P.js';
1
+ export { ADMIN_TAB_SEGMENTS, AFFILIATE_SUB_TAB_SEGMENTS, 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/L4DFQMYM.js';
2
2
  import '../chunk/LZWA44KD.js';
3
- import '../chunk/R5WTYT2O.js';
4
- import '../chunk/2CHHHNFT.js';
3
+ import '../chunk/LFSDVMIY.js';
4
+ import '../chunk/Z6PDUPOU.js';
5
5
  import '../chunk/67KHO66G.js';
6
- import '../chunk/H7RY2N5U.js';
7
- import '../chunk/ISC5GVA2.js';
6
+ import '../chunk/AXXQJC6M.js';
7
+ import '../chunk/ICGZXU3R.js';
8
8
  import '../chunk/2IFPDU4D.js';
9
9
  //# sourceMappingURL=index.js.map
10
10
  //# sourceMappingURL=index.js.map
@@ -24,13 +24,13 @@ import {
24
24
  adminTabPath,
25
25
  affiliateSubTabFromPath,
26
26
  affiliateSubTabPath
27
- } from "../chunk/XV5WXVPT.jsx";
27
+ } from "../chunk/OZZGMI6C.jsx";
28
28
  import "../chunk/UZCST66N.jsx";
29
- import "../chunk/GVXPPYZZ.jsx";
30
- import "../chunk/6QI7MVTN.jsx";
29
+ import "../chunk/VE5ACNFB.jsx";
30
+ import "../chunk/HM5L6J62.jsx";
31
31
  import "../chunk/J63XPQP4.jsx";
32
- import "../chunk/OVRA6JBK.jsx";
33
- import "../chunk/3CWWN7H2.jsx";
32
+ import "../chunk/545PPOE5.jsx";
33
+ import "../chunk/PHSZOZVK.jsx";
34
34
  import "../chunk/QVZ7BRNO.jsx";
35
35
  export {
36
36
  ADMIN_TAB_SEGMENTS,
@@ -1,5 +1,5 @@
1
1
  import * as solid_js from 'solid-js';
2
- import { ap as AuthTokens, c1 as User, bB as RegisterPayload, bA as RegisterAndSubscribePayload, a6 as AffiliateAuthTokens, a5 as Affiliate, ag as AffiliateRegisterInput } from '../client-Da9ye3z4.js';
2
+ import { at as AuthTokens, c5 as User, bF as RegisterPayload, bE as RegisterAndSubscribePayload, aa as AffiliateAuthTokens, a9 as Affiliate, ak as AffiliateRegisterInput } from '../client-Baf1FSEp.js';
3
3
  export { A as AppliedPromoCode, C as CartItem, c as cartStore } from '../cart-o6DpAu5y.js';
4
4
 
5
5
  declare const authStore: {
@@ -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/H7RY2N5U.js';
3
- import '../chunk/ISC5GVA2.js';
2
+ export { affiliateAuth_default as affiliateAuthStore, auth_default as authStore, cart_default as cartStore, medication_default as medicationStore } from '../chunk/AXXQJC6M.js';
3
+ import '../chunk/ICGZXU3R.js';
4
4
  import '../chunk/2IFPDU4D.js';
5
5
  //# sourceMappingURL=index.js.map
6
6
  //# sourceMappingURL=index.js.map
@@ -4,8 +4,8 @@ import {
4
4
  auth_default,
5
5
  cart_default,
6
6
  medication_default
7
- } from "../chunk/OVRA6JBK.jsx";
8
- import "../chunk/3CWWN7H2.jsx";
7
+ } from "../chunk/545PPOE5.jsx";
8
+ import "../chunk/PHSZOZVK.jsx";
9
9
  import "../chunk/QVZ7BRNO.jsx";
10
10
  export {
11
11
  affiliateAuth_default as affiliateAuthStore,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apextelemed/partner-core",
3
- "version": "0.17.0-dev.50",
3
+ "version": "0.17.0-dev.51",
4
4
  "description": "Shared frontend library for telehealth patient portals (api client, stores, headless flows).",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "repository": {