@apextelemed/partner-core 0.5.1 → 0.5.3

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 (43) hide show
  1. package/README.md +65 -14
  2. package/dist/api/index.d.ts +1 -1
  3. package/dist/api/index.js +3 -3
  4. package/dist/api/index.jsx +3 -3
  5. package/dist/chunk/{DQE4K55D.jsx → 2MRJESYW.jsx} +15 -1
  6. package/dist/chunk/{XHOD3HUQ.js → 3MRCEVWC.js} +3 -3
  7. package/dist/chunk/{XHOD3HUQ.js.map → 3MRCEVWC.js.map} +1 -1
  8. package/dist/chunk/{ZJENZPAM.jsx → 4A2CPTUM.jsx} +5 -5
  9. package/dist/chunk/{5D7SGF46.js → 7AJQ5SVA.js} +16 -2
  10. package/dist/chunk/7AJQ5SVA.js.map +1 -0
  11. package/dist/chunk/{ZD2MMEXL.js → AH2VJK7Q.js} +6 -6
  12. package/dist/chunk/{ZD2MMEXL.js.map → AH2VJK7Q.js.map} +1 -1
  13. package/dist/chunk/{2UWULNSX.jsx → BVHNZLDK.jsx} +2 -2
  14. package/dist/chunk/{GNG53L37.jsx → FNOEL4FK.jsx} +2 -2
  15. package/dist/chunk/{AH3PJBED.jsx → IWWUVNBB.jsx} +306 -49
  16. package/dist/chunk/{7ZESUC4Q.js → LVGOEJHQ.js} +3 -3
  17. package/dist/chunk/{7ZESUC4Q.js.map → LVGOEJHQ.js.map} +1 -1
  18. package/dist/chunk/{JTG4H4I5.jsx → OLLSJX7B.jsx} +89 -11
  19. package/dist/chunk/{FUOUTRAO.jsx → OWTKSSYT.jsx} +2 -2
  20. package/dist/chunk/{GPVYUP3H.js → QCYSYBQ7.js} +89 -13
  21. package/dist/chunk/QCYSYBQ7.js.map +1 -0
  22. package/dist/chunk/{C7TELVJF.js → RFDMPQG4.js} +3 -3
  23. package/dist/chunk/{C7TELVJF.js.map → RFDMPQG4.js.map} +1 -1
  24. package/dist/chunk/{JXPPJF2V.js → XKCIXSN4.js} +513 -280
  25. package/dist/chunk/XKCIXSN4.js.map +1 -0
  26. package/dist/{client-BD9_HCZY.d.ts → client-CY8nbizi.d.ts} +27 -1
  27. package/dist/flows/index.d.ts +54 -6
  28. package/dist/flows/index.js +6 -6
  29. package/dist/flows/index.jsx +6 -6
  30. package/dist/index/index.d.ts +1 -1
  31. package/dist/index/index.js +7 -7
  32. package/dist/index/index.jsx +7 -7
  33. package/dist/pages/index.d.ts +6 -1
  34. package/dist/pages/index.js +5 -5
  35. package/dist/pages/index.jsx +5 -5
  36. package/dist/stores/index.d.ts +1 -1
  37. package/dist/stores/index.js +2 -2
  38. package/dist/stores/index.jsx +2 -2
  39. package/dist/theme/member-portal.css +130 -0
  40. package/package.json +1 -1
  41. package/dist/chunk/5D7SGF46.js.map +0 -1
  42. package/dist/chunk/GPVYUP3H.js.map +0 -1
  43. package/dist/chunk/JXPPJF2V.js.map +0 -1
@@ -316,6 +316,10 @@ interface MemberPrescriptionRequest {
316
316
  createdAt: string;
317
317
  updatedAt?: string;
318
318
  delivery: DeliveryInfo | null;
319
+ /** The day an approved-and-waiting Rx is due at the pharmacy (`YYYY-MM-DD`).
320
+ * Null once it has been transmitted, and null for a date already past — the
321
+ * backend withholds a slipped schedule rather than render it as a plan. */
322
+ pharmacySendDate?: string | null;
319
323
  renewal?: {
320
324
  renewalId: string;
321
325
  cycleNumber: number;
@@ -572,6 +576,20 @@ declare const messagesApi: {
572
576
  listConversations(params?: PaginationParams): Promise<ApiResponse<unknown>>;
573
577
  getConversation(id: string): Promise<ApiResponse<unknown>>;
574
578
  listMessages(conversationId: string, params?: PaginationParams): Promise<ApiResponse<unknown>>;
579
+ /**
580
+ * Start (or reuse) the member's care-team conversation with an opening
581
+ * message (1..5000 chars). Answers `{ conversation, message, created }`.
582
+ * 409 `{ error: 'no_care_team' }` means the member has never had a
583
+ * prescriber assigned — there is nothing to route the message to. Loosely
584
+ * typed like the rest of this object: the raw conversation/message shapes
585
+ * are reconciled onto `Conversation`/`ThreadMessage` in flows/messages.ts,
586
+ * which already owns that normalization for every other clinical response.
587
+ */
588
+ start(payload: {
589
+ text: string;
590
+ }, opts?: {
591
+ idempotencyKey?: string;
592
+ }): Promise<ApiResponse<unknown>>;
575
593
  sendMessage(conversationId: string, payload: SendMessagePayload, opts?: {
576
594
  idempotencyKey?: string;
577
595
  }): Promise<unknown>;
@@ -582,6 +600,11 @@ declare const messagesApi: {
582
600
  }>>;
583
601
  };
584
602
  type SupportThreadStatus = 'open' | 'pending' | 'closed';
603
+ /** Optional customer-picked category, set at thread creation. Routes the
604
+ * question to the right destination (billing/orders/account/technical land
605
+ * with support; medical questions never carry a category — those go to the
606
+ * care team via a different flow entirely). Mirrors the-backend's allowlist. */
607
+ type SupportThreadCategory = 'billing' | 'orders' | 'account' | 'technical' | 'other';
585
608
  /**
586
609
  * Mirrors the backend's allowlist so a rejected file fails instantly instead of
587
610
  * round-tripping to a 415. The server remains the authority — this is UX, not
@@ -600,6 +623,8 @@ interface SupportThread {
600
623
  customerUnread: boolean;
601
624
  createdAt: string;
602
625
  updatedAt: string;
626
+ /** Set by the customer at creation; null when they skipped it. */
627
+ category?: SupportThreadCategory | null;
603
628
  }
604
629
  interface SupportAttachment {
605
630
  id: string;
@@ -645,6 +670,7 @@ declare const supportApi: {
645
670
  createThread(payload: {
646
671
  subject: string;
647
672
  body: string;
673
+ category?: SupportThreadCategory | null;
648
674
  }, opts?: {
649
675
  idempotencyKey?: string;
650
676
  }): Promise<ApiResponse<{
@@ -1872,4 +1898,4 @@ declare const affiliatePortalApi: {
1872
1898
  track(refCode: string, landingPage?: string): Promise<AffiliateTrackResponse>;
1873
1899
  };
1874
1900
 
1875
- export { ApiError as $, type AddressVerifyResult as A, type AdminSaleInput as B, type AdminSubscription as C, type AdminSubscriptionDetail as D, type AdminSubscriptionPatch as E, type AdminSubscriptionWriteResult as F, type AdminSupportCustomer as G, type AdminSupportStats as H, type AdminSupportThread as I, type AdminWebhookEvent as J, type Affiliate as K, type AffiliateAuthTokens as L, type AffiliateClickRecord as M, type AffiliateConversion as N, type AffiliateDashboardLinks as O, type AffiliateDashboardProfile as P, type AffiliateDashboardStats as Q, type AffiliateDownlineMember as R, type AffiliateEarningsBreakdown as S, type AffiliatePaymentMethod as T, type AffiliateProgram as U, type AffiliateRegisterInput as V, type AffiliateRegisterResponse as W, type AffiliateSession as X, type AffiliateStatsResponse as Y, type AffiliateStatus as Z, type AffiliateTrackResponse as _, type AdminApexDrug as a, affiliateAuthStorageKey as a$, type ApiResponse as a0, type AttributionMethod as a1, type AuthTokens as a2, type CatalogProduct as a3, type CheckoutAddress as a4, type CheckoutPayload as a5, type CheckoutResult as a6, type CommissionConfig as a7, type CommissionStatus as a8, type CompleteSurveyPayload as a9, type PromoValidationResponse as aA, type PublicCategory as aB, type RegisterAndSubscribePayload as aC, type RegisterPayload as aD, type RenewalStatus as aE, SUPPORT_ATTACHMENT_MAX_BYTES as aF, SUPPORT_ATTACHMENT_MIME_TYPES as aG, type SelectDrugPayload as aH, type SendMessagePayload as aI, type SendToPharmacyPayload as aJ, type SupportAttachment as aK, type SupportMessage as aL, type SupportRealtimeToken as aM, type SupportThread as aN, type SupportThreadStatus as aO, type SurveySubmitPayload as aP, type TemplatePlaceholdersMap as aQ, type TemplateText as aR, type TokenTrackName as aS, type UpdateAffiliatePayload as aT, type UpdateAffiliateProgramPayload as aU, type UpdatePaymentMethodPayload as aV, type UpdateProfilePayload as aW, type User as aX, addressesApi as aY, adminAffiliatesApi as aZ, adminApi as a_, type CreateAffiliatePayload as aa, type CreateAffiliateProgramPayload as ab, type CreateOrderPayload as ac, type CreateRequestPayload as ad, type CreateSubscriptionPayload as ae, type CustomerDiscountConfig as af, type DeliveryInfo as ag, type DiscountType as ah, type EmailTemplatesMap as ai, type LoginPayload as aj, type MemberPrescriptionRequest as ak, type MemberSurveyMode as al, type MemberSurveyResponseSummary as am, type MemberSurveyTranscript as an, type MemberSurveyTranscriptItem as ao, type MemberSurveyTranscriptSection as ap, type MembersMeResponse as aq, type Order as ar, type OrderItemInput as as, type PaginationParams as at, type PaymentCallbackPayload as au, type PaymentInitiatePayload as av, type PaymentType as aw, type PendingRenewalSurvey as ax, type Placeholder as ay, type ProductSaleSummary as az, type AdminBillingAttempt as b, affiliatePortalApi as b0, apexApi as b1, apiFetch as b2, authApi as b3, authStorageKey as b4, clearAffiliateTokens as b5, clearTokens as b6, getAffiliateTokens as b7, getTokens as b8, membersApi as b9, messagesApi as ba, newIdempotencyKey as bb, onTokensCleared as bc, ordersApi as bd, paymentsApi as be, productsApi as bf, promoCodesApi as bg, setAffiliateTokens as bh, setTokens as bi, subscriptionsApi as bj, supportApi as bk, usersApi as bl, type AdminCategory as c, type AdminCategoryInput as d, type AdminCustomer as e, type AdminCustomerFacts as f, type AdminCustomerFunnel as g, type AdminCustomerListParams as h, type AdminCustomerOverview as i, type AdminCustomerProfile as j, type AdminCustomerRequest as k, type AdminCustomerRow as l, type AdminCustomerSupport as m, type AdminCustomerSupportThread as n, type AdminDashboardStats as o, type AdminLifecycle as p, type AdminLifecycleBucket as q, type AdminListParams as r, type AdminOrderSummary as s, type AdminPayment as t, type AdminPaymentDetail as u, type AdminProduct as v, type AdminPromoCode as w, type AdminPromoCodeInput as x, type AdminRefundResult as y, type AdminSale as z };
1901
+ export { ApiError as $, type AddressVerifyResult as A, type AdminSaleInput as B, type AdminSubscription as C, type AdminSubscriptionDetail as D, type AdminSubscriptionPatch as E, type AdminSubscriptionWriteResult as F, type AdminSupportCustomer as G, type AdminSupportStats as H, type AdminSupportThread as I, type AdminWebhookEvent as J, type Affiliate as K, type AffiliateAuthTokens as L, type AffiliateClickRecord as M, type AffiliateConversion as N, type AffiliateDashboardLinks as O, type AffiliateDashboardProfile as P, type AffiliateDashboardStats as Q, type AffiliateDownlineMember as R, type AffiliateEarningsBreakdown as S, type AffiliatePaymentMethod as T, type AffiliateProgram as U, type AffiliateRegisterInput as V, type AffiliateRegisterResponse as W, type AffiliateSession as X, type AffiliateStatsResponse as Y, type AffiliateStatus as Z, type AffiliateTrackResponse as _, type AdminApexDrug as a, adminApi as a$, type ApiResponse as a0, type AttributionMethod as a1, type AuthTokens as a2, type CatalogProduct as a3, type CheckoutAddress as a4, type CheckoutPayload as a5, type CheckoutResult as a6, type CommissionConfig as a7, type CommissionStatus as a8, type CompleteSurveyPayload as a9, type PromoValidationResponse as aA, type PublicCategory as aB, type RegisterAndSubscribePayload as aC, type RegisterPayload as aD, type RenewalStatus as aE, SUPPORT_ATTACHMENT_MAX_BYTES as aF, SUPPORT_ATTACHMENT_MIME_TYPES as aG, type SelectDrugPayload as aH, type SendMessagePayload as aI, type SendToPharmacyPayload as aJ, type SupportAttachment as aK, type SupportMessage as aL, type SupportRealtimeToken as aM, type SupportThread as aN, type SupportThreadCategory as aO, type SupportThreadStatus as aP, type SurveySubmitPayload as aQ, type TemplatePlaceholdersMap as aR, type TemplateText as aS, type TokenTrackName as aT, type UpdateAffiliatePayload as aU, type UpdateAffiliateProgramPayload as aV, type UpdatePaymentMethodPayload as aW, type UpdateProfilePayload as aX, type User as aY, addressesApi as aZ, adminAffiliatesApi as a_, type CreateAffiliatePayload as aa, type CreateAffiliateProgramPayload as ab, type CreateOrderPayload as ac, type CreateRequestPayload as ad, type CreateSubscriptionPayload as ae, type CustomerDiscountConfig as af, type DeliveryInfo as ag, type DiscountType as ah, type EmailTemplatesMap as ai, type LoginPayload as aj, type MemberPrescriptionRequest as ak, type MemberSurveyMode as al, type MemberSurveyResponseSummary as am, type MemberSurveyTranscript as an, type MemberSurveyTranscriptItem as ao, type MemberSurveyTranscriptSection as ap, type MembersMeResponse as aq, type Order as ar, type OrderItemInput as as, type PaginationParams as at, type PaymentCallbackPayload as au, type PaymentInitiatePayload as av, type PaymentType as aw, type PendingRenewalSurvey as ax, type Placeholder as ay, type ProductSaleSummary as az, type AdminBillingAttempt as b, affiliateAuthStorageKey as b0, affiliatePortalApi as b1, apexApi as b2, apiFetch as b3, authApi as b4, authStorageKey as b5, clearAffiliateTokens as b6, clearTokens as b7, getAffiliateTokens as b8, getTokens as b9, membersApi as ba, messagesApi as bb, newIdempotencyKey as bc, onTokensCleared as bd, ordersApi as be, paymentsApi as bf, productsApi as bg, promoCodesApi as bh, setAffiliateTokens as bi, setTokens as bj, subscriptionsApi as bk, supportApi as bl, usersApi as bm, type AdminCategory as c, type AdminCategoryInput as d, type AdminCustomer as e, type AdminCustomerFacts as f, type AdminCustomerFunnel as g, type AdminCustomerListParams as h, type AdminCustomerOverview as i, type AdminCustomerProfile as j, type AdminCustomerRequest as k, type AdminCustomerRow as l, type AdminCustomerSupport as m, type AdminCustomerSupportThread as n, type AdminDashboardStats as o, type AdminLifecycle as p, type AdminLifecycleBucket as q, type AdminListParams as r, type AdminOrderSummary as s, type AdminPayment as t, type AdminPaymentDetail as u, type AdminProduct as v, type AdminPromoCode as w, type AdminPromoCodeInput as x, type AdminRefundResult as y, type AdminSale as z };
@@ -1,5 +1,5 @@
1
1
  import { Accessor, Resource } from 'solid-js';
2
- import { A as AddressVerifyResult, a4 as CheckoutAddress, aX as User, ag as DeliveryInfo, aE as RenewalStatus, ax as PendingRenewalSurvey, q as AdminLifecycleBucket, i as AdminCustomerOverview, D as AdminSubscriptionDetail, k as AdminCustomerRequest, a3 as CatalogProduct, N as AffiliateConversion, R as AffiliateDownlineMember, O as AffiliateDashboardLinks, Q as AffiliateDashboardStats, aA as PromoValidationResponse } from '../client-BD9_HCZY.js';
2
+ import { A as AddressVerifyResult, a4 as CheckoutAddress, aY as User, ag as DeliveryInfo, aE as RenewalStatus, ax as PendingRenewalSurvey, q as AdminLifecycleBucket, i as AdminCustomerOverview, D as AdminSubscriptionDetail, k as AdminCustomerRequest, aO as SupportThreadCategory, a3 as CatalogProduct, N as AffiliateConversion, R as AffiliateDownlineMember, O as AffiliateDashboardLinks, Q as AffiliateDashboardStats, aA as PromoValidationResponse } from '../client-CY8nbizi.js';
3
3
  import { C as CartItem } from '../cart-D4mVX_zx.js';
4
4
  export { U as UseSurveyV2FlowOptions, u as useSurveyV2Flow } from '../surveyV2-BgQHK0GE.js';
5
5
  import { EmbedEvent } from '@apextelemed/survey-solid';
@@ -85,6 +85,15 @@ interface SurveyFlow {
85
85
  setSelectedDrugId: (id: string) => void;
86
86
  confirmDrugSelection: () => Promise<void>;
87
87
  }
88
+ /**
89
+ * The v1 survey flow.
90
+ *
91
+ * @deprecated Use {@link useSurveyV2Flow} instead. v1 cannot compose a
92
+ * questionnaire until a medication has already been chosen — it resolves its
93
+ * target from the cart or `medicationStore` and otherwise reports
94
+ * `needs_medication_selection`. v2 takes `drugIds` explicitly and can qualify a
95
+ * guest before an account exists. Kept for sites that have not migrated.
96
+ */
88
97
  declare function useSurveyFlow(options?: UseSurveyFlowOptions): SurveyFlow;
89
98
 
90
99
  declare const US_STATES: readonly string[];
@@ -678,6 +687,16 @@ interface TrackerRequest {
678
687
  updatedAt: string | null;
679
688
  dosage?: string;
680
689
  delivery: DeliveryInfo | null;
690
+ /**
691
+ * The day this Rx is due at the pharmacy (`YYYY-MM-DD`), from the backend's
692
+ * renewal schedule. An approved renewal is transmitted on its fill date, not
693
+ * at approval, so this bead can be the member's view for days — without the
694
+ * date it reads as a stall rather than a plan.
695
+ *
696
+ * The backend sends it only while the Rx is approved and still waiting, and
697
+ * withholds a date that has already passed, so it is safe to render as-is.
698
+ */
699
+ pharmacySendDate?: string | null;
681
700
  }
682
701
  type TrackerSubscriptionStatus = 'active' | 'paused' | 'past_due' | 'cancelled' | 'suspended' | 'expired';
683
702
  interface TrackerSubscription {
@@ -691,9 +710,11 @@ interface TrackerSubscription {
691
710
  currentPeriodEnd: string | null;
692
711
  intervalDays?: number;
693
712
  /**
694
- * The real next-fill date (`YYYY-MM-DD`), from the backend's live renewal row.
695
- * Null while a cycle is awaiting its fill — the pharmacy has not shipped, so
696
- * the date is genuinely unknown — and on partners without renewals.
713
+ * The real next-fill date (`YYYY-MM-DD`), from the backend's renewal schedule:
714
+ * the live cycle's own date, or — while that cycle awaits a fill — the day the
715
+ * in-flight order is due at the pharmacy. Null only when the schedule is
716
+ * genuinely unknown (the order shipped but the next cycle isn't anchored yet,
717
+ * or its date has slipped), and on partners without renewals.
697
718
  */
698
719
  nextFillDate?: string | null;
699
720
  /** When the check-in opens, from the same renewal row. */
@@ -933,6 +954,8 @@ interface MemberPortalRx {
933
954
  createdAt: string | null;
934
955
  updatedAt: string | null;
935
956
  delivery: DeliveryInfo | null;
957
+ /** The day an approved Rx is due at the pharmacy (`YYYY-MM-DD`), else null. */
958
+ pharmacySendDate: string | null;
936
959
  /** Open check-in renewal id, if any (drives the "Complete check-in" link). */
937
960
  renewalId: string | null;
938
961
  }
@@ -1035,6 +1058,8 @@ interface Conversation {
1035
1058
  unreadCount?: number;
1036
1059
  /** Support threads only — open | pending | closed. */
1037
1060
  status?: string;
1061
+ /** Support threads only — the customer-picked category, when set. */
1062
+ category?: SupportThreadCategory | null;
1038
1063
  [key: string]: unknown;
1039
1064
  }
1040
1065
  /**
@@ -1086,6 +1111,19 @@ interface StartThreadResult {
1086
1111
  created: boolean;
1087
1112
  attachmentFailed: boolean;
1088
1113
  }
1114
+ /**
1115
+ * Outcome of starting a care-team conversation. `reason` discriminates the two
1116
+ * ways `created` can be false: `'no_care_team'` is the documented 409 — the
1117
+ * member has never had a prescriber assigned, so there's nowhere to route the
1118
+ * message — and the caller should offer the support escape hatch. `'error'`
1119
+ * covers everything else (network, 400, 502) and should keep the draft for a
1120
+ * retry rather than switch away.
1121
+ */
1122
+ interface StartCareTeamResult {
1123
+ created: boolean;
1124
+ attachmentFailed: boolean;
1125
+ reason?: 'no_care_team' | 'error';
1126
+ }
1089
1127
  interface MessagesThread {
1090
1128
  conversations: Accessor<Conversation[]>;
1091
1129
  loadingConversations: Accessor<boolean>;
@@ -1097,6 +1135,8 @@ interface MessagesThread {
1097
1135
  sending: Accessor<boolean>;
1098
1136
  /** True while a new support thread is being opened. */
1099
1137
  startingThread: Accessor<boolean>;
1138
+ /** True while a new care-team conversation is being started. */
1139
+ startingCareTeamThread: Accessor<boolean>;
1100
1140
  /** Source of the open conversation, or null when none is selected. */
1101
1141
  selectedSource: Accessor<ConversationSource | null>;
1102
1142
  /** Select a conversation. Loads messages, marks as read, starts the message-poll loop. */
@@ -1110,8 +1150,16 @@ interface MessagesThread {
1110
1150
  /** Open a new support thread with a subject and first message, then select it.
1111
1151
  * Support-only — clinical conversations are started by the prescriber, never
1112
1152
  * the member. An optional file is uploaded as a follow-up request; see
1113
- * StartThreadResult for the partial-success case. */
1114
- startSupportThread: (subject: string, body: string, file?: File) => Promise<StartThreadResult>;
1153
+ * StartThreadResult for the partial-success case. An optional category
1154
+ * routes the thread on the backend side. */
1155
+ startSupportThread: (subject: string, body: string, file?: File, category?: SupportThreadCategory | null) => Promise<StartThreadResult>;
1156
+ /** Start (or reuse) the member's care-team conversation with an opening
1157
+ * message, then select it. No subject — Apex conversations don't have one.
1158
+ * An optional file is uploaded as a follow-up request; see
1159
+ * StartCareTeamResult for the partial-success case. A 409 (the member has
1160
+ * never had a prescriber assigned) reports back as `reason: 'no_care_team'`
1161
+ * rather than throwing, so the caller can offer the support escape hatch. */
1162
+ startCareTeamThread: (text: string, file?: File) => Promise<StartCareTeamResult>;
1115
1163
  /** Send a file to the open support thread, with optional accompanying text. */
1116
1164
  sendAttachment: (file: File, text?: string) => Promise<boolean>;
1117
1165
  /** Exchange an attachment id for a short-lived viewable URL, or null.
@@ -1,9 +1,9 @@
1
- export { DEFAULT_COLOR_PALETTE, categoryColor, lowestPrice, lowestSalePrice, restoreCartFromLink, startCartCapture, useCatalog, useMedicationSelect, useProductDetail, useSubscriptionIntakeFlow, validateResumedPromo } from '../chunk/ZD2MMEXL.js';
2
- import '../chunk/XHOD3HUQ.js';
3
- export { LIFECYCLE_BUCKETS, LIFECYCLE_LABEL, LIFECYCLE_TONE, LIVE_SUBSCRIPTION_STATUSES, TERMINAL_SUBSCRIPTION_STATUSES, US_STATES, US_STATE_OPTIONS, accountSource, availableStateOptions, availableStates, buildRefillView, buildTimeline, buildTrackerView, buildTrackingUrl, captureFunnelEmail, createFunnelTelemetry, deriveAttention, deriveJourney, emailGateAnswered, formatCardNumber, formatConversationTime, formatCvv, formatEventDate, formatExpiry, formatMessageTime, formatRelativeTime, formatStageDate, hasErrors, isLive, isQuestionVisible, isReconcilable, lifecycleReason, markEmailGateAnswered, normalizeState, primarySubscription, redeemResumeLink, resetResumeRedemption, stateAvailabilityNote, toTrackerRequest, useAddressPair, useAffiliateConversions, useAffiliateDownline, useAffiliateLinks, useAffiliateStats, useCartCheckoutFlow, useCheckoutFlow, useDashboardData, useMemberPortalData, useMessagesThread, useRegisterFlow, useSignupFlow, useSubscribeFlow, useSurveyFlow, useSurveyV2Flow, useUpdatePaymentMethodFlow, validateAddress } from '../chunk/GPVYUP3H.js';
4
- import '../chunk/7ZESUC4Q.js';
5
- import '../chunk/C7TELVJF.js';
6
- import '../chunk/5D7SGF46.js';
1
+ export { DEFAULT_COLOR_PALETTE, categoryColor, lowestPrice, lowestSalePrice, restoreCartFromLink, startCartCapture, useCatalog, useMedicationSelect, useProductDetail, useSubscriptionIntakeFlow, validateResumedPromo } from '../chunk/AH2VJK7Q.js';
2
+ import '../chunk/3MRCEVWC.js';
3
+ export { LIFECYCLE_BUCKETS, LIFECYCLE_LABEL, LIFECYCLE_TONE, LIVE_SUBSCRIPTION_STATUSES, TERMINAL_SUBSCRIPTION_STATUSES, US_STATES, US_STATE_OPTIONS, accountSource, availableStateOptions, availableStates, buildRefillView, buildTimeline, buildTrackerView, buildTrackingUrl, captureFunnelEmail, createFunnelTelemetry, deriveAttention, deriveJourney, emailGateAnswered, formatCardNumber, formatConversationTime, formatCvv, formatEventDate, formatExpiry, formatMessageTime, formatRelativeTime, formatStageDate, hasErrors, isLive, isQuestionVisible, isReconcilable, lifecycleReason, markEmailGateAnswered, normalizeState, primarySubscription, redeemResumeLink, resetResumeRedemption, stateAvailabilityNote, toTrackerRequest, useAddressPair, useAffiliateConversions, useAffiliateDownline, useAffiliateLinks, useAffiliateStats, useCartCheckoutFlow, useCheckoutFlow, useDashboardData, useMemberPortalData, useMessagesThread, useRegisterFlow, useSignupFlow, useSubscribeFlow, useSurveyFlow, useSurveyV2Flow, useUpdatePaymentMethodFlow, validateAddress } from '../chunk/QCYSYBQ7.js';
4
+ import '../chunk/LVGOEJHQ.js';
5
+ import '../chunk/RFDMPQG4.js';
6
+ import '../chunk/7AJQ5SVA.js';
7
7
  import '../chunk/5XGPFYIJ.js';
8
8
  //# sourceMappingURL=index.js.map
9
9
  //# sourceMappingURL=index.js.map
@@ -10,8 +10,8 @@ import {
10
10
  useProductDetail,
11
11
  useSubscriptionIntakeFlow,
12
12
  validateResumedPromo
13
- } from "../chunk/ZJENZPAM.jsx";
14
- import "../chunk/FUOUTRAO.jsx";
13
+ } from "../chunk/4A2CPTUM.jsx";
14
+ import "../chunk/OWTKSSYT.jsx";
15
15
  import {
16
16
  LIFECYCLE_BUCKETS,
17
17
  LIFECYCLE_LABEL,
@@ -69,10 +69,10 @@ import {
69
69
  useSurveyV2Flow,
70
70
  useUpdatePaymentMethodFlow,
71
71
  validateAddress
72
- } from "../chunk/JTG4H4I5.jsx";
73
- import "../chunk/2UWULNSX.jsx";
74
- import "../chunk/GNG53L37.jsx";
75
- import "../chunk/DQE4K55D.jsx";
72
+ } from "../chunk/OLLSJX7B.jsx";
73
+ import "../chunk/BVHNZLDK.jsx";
74
+ import "../chunk/FNOEL4FK.jsx";
75
+ import "../chunk/2MRJESYW.jsx";
76
76
  import "../chunk/LDZIUFDM.jsx";
77
77
  export {
78
78
  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 AddressVerifyResult, a as AdminApexDrug, b as AdminBillingAttempt, c as AdminCategory, d as AdminCategoryInput, e as AdminCustomer, f as AdminCustomerFacts, g as AdminCustomerFunnel, h as AdminCustomerListParams, i as AdminCustomerOverview, j as AdminCustomerProfile, k as AdminCustomerRequest, l as AdminCustomerRow, m as AdminCustomerSupport, n as AdminCustomerSupportThread, o as AdminDashboardStats, p as AdminLifecycle, q as AdminLifecycleBucket, r as AdminListParams, s as AdminOrderSummary, t as AdminPayment, u as AdminPaymentDetail, v as AdminProduct, w as AdminPromoCode, x as AdminPromoCodeInput, y as AdminRefundResult, z as AdminSale, B as AdminSaleInput, C as AdminSubscription, D as AdminSubscriptionDetail, E as AdminSubscriptionPatch, F as AdminSubscriptionWriteResult, G as AdminSupportCustomer, H as AdminSupportStats, I as AdminSupportThread, J as AdminWebhookEvent, K as Affiliate, L as AffiliateAuthTokens, M as AffiliateClickRecord, N as AffiliateConversion, O as AffiliateDashboardLinks, P as AffiliateDashboardProfile, Q as AffiliateDashboardStats, R as AffiliateDownlineMember, S as AffiliateEarningsBreakdown, T as AffiliatePaymentMethod, U as AffiliateProgram, V as AffiliateRegisterInput, W as AffiliateRegisterResponse, X as AffiliateSession, Y as AffiliateStatsResponse, Z as AffiliateStatus, _ as AffiliateTrackResponse, $ as ApiError, a0 as ApiResponse, a1 as AttributionMethod, a2 as AuthTokens, a3 as CatalogProduct, a4 as CheckoutAddress, a5 as CheckoutPayload, a6 as CheckoutResult, a7 as CommissionConfig, a8 as CommissionStatus, a9 as CompleteSurveyPayload, aa as CreateAffiliatePayload, ab as CreateAffiliateProgramPayload, ac as CreateOrderPayload, ad as CreateRequestPayload, ae as CreateSubscriptionPayload, af as CustomerDiscountConfig, ag as DeliveryInfo, ah as DiscountType, ai as EmailTemplatesMap, aj as LoginPayload, ak as MemberPrescriptionRequest, al as MemberSurveyMode, am as MemberSurveyResponseSummary, an as MemberSurveyTranscript, ao as MemberSurveyTranscriptItem, ap as MemberSurveyTranscriptSection, aq as MembersMeResponse, ar as Order, as as OrderItemInput, at as PaginationParams, au as PaymentCallbackPayload, av as PaymentInitiatePayload, aw as PaymentType, ax as PendingRenewalSurvey, ay as Placeholder, az as ProductSaleSummary, aA as PromoValidationResponse, aB as PublicCategory, aC as RegisterAndSubscribePayload, aD as RegisterPayload, aE as RenewalStatus, aF as SUPPORT_ATTACHMENT_MAX_BYTES, aG as SUPPORT_ATTACHMENT_MIME_TYPES, aH as SelectDrugPayload, aI as SendMessagePayload, aJ as SendToPharmacyPayload, aK as SupportAttachment, aL as SupportMessage, aM as SupportRealtimeToken, aN as SupportThread, aO as SupportThreadStatus, aP as SurveySubmitPayload, aQ as TemplatePlaceholdersMap, aR as TemplateText, aS as TokenTrackName, aT as UpdateAffiliatePayload, aU as UpdateAffiliateProgramPayload, aV as UpdatePaymentMethodPayload, aW as UpdateProfilePayload, aX as User, aY as addressesApi, aZ as adminAffiliatesApi, a_ as adminApi, a$ as affiliateAuthStorageKey, b0 as affiliatePortalApi, b1 as apexApi, b2 as apiFetch, b3 as authApi, b4 as authStorageKey, b5 as clearAffiliateTokens, b6 as clearTokens, b7 as getAffiliateTokens, b8 as getTokens, b9 as membersApi, ba as messagesApi, bb as newIdempotencyKey, bc as onTokensCleared, bd as ordersApi, be as paymentsApi, bf as productsApi, bg as promoCodesApi, bh as setAffiliateTokens, bi as setTokens, bj as subscriptionsApi, bk as supportApi, bl as usersApi } from '../client-BD9_HCZY.js';
4
+ export { A as AddressVerifyResult, a as AdminApexDrug, b as AdminBillingAttempt, c as AdminCategory, d as AdminCategoryInput, e as AdminCustomer, f as AdminCustomerFacts, g as AdminCustomerFunnel, h as AdminCustomerListParams, i as AdminCustomerOverview, j as AdminCustomerProfile, k as AdminCustomerRequest, l as AdminCustomerRow, m as AdminCustomerSupport, n as AdminCustomerSupportThread, o as AdminDashboardStats, p as AdminLifecycle, q as AdminLifecycleBucket, r as AdminListParams, s as AdminOrderSummary, t as AdminPayment, u as AdminPaymentDetail, v as AdminProduct, w as AdminPromoCode, x as AdminPromoCodeInput, y as AdminRefundResult, z as AdminSale, B as AdminSaleInput, C as AdminSubscription, D as AdminSubscriptionDetail, E as AdminSubscriptionPatch, F as AdminSubscriptionWriteResult, G as AdminSupportCustomer, H as AdminSupportStats, I as AdminSupportThread, J as AdminWebhookEvent, K as Affiliate, L as AffiliateAuthTokens, M as AffiliateClickRecord, N as AffiliateConversion, O as AffiliateDashboardLinks, P as AffiliateDashboardProfile, Q as AffiliateDashboardStats, R as AffiliateDownlineMember, S as AffiliateEarningsBreakdown, T as AffiliatePaymentMethod, U as AffiliateProgram, V as AffiliateRegisterInput, W as AffiliateRegisterResponse, X as AffiliateSession, Y as AffiliateStatsResponse, Z as AffiliateStatus, _ as AffiliateTrackResponse, $ as ApiError, a0 as ApiResponse, a1 as AttributionMethod, a2 as AuthTokens, a3 as CatalogProduct, a4 as CheckoutAddress, a5 as CheckoutPayload, a6 as CheckoutResult, a7 as CommissionConfig, a8 as CommissionStatus, a9 as CompleteSurveyPayload, aa as CreateAffiliatePayload, ab as CreateAffiliateProgramPayload, ac as CreateOrderPayload, ad as CreateRequestPayload, ae as CreateSubscriptionPayload, af as CustomerDiscountConfig, ag as DeliveryInfo, ah as DiscountType, ai as EmailTemplatesMap, aj as LoginPayload, ak as MemberPrescriptionRequest, al as MemberSurveyMode, am as MemberSurveyResponseSummary, an as MemberSurveyTranscript, ao as MemberSurveyTranscriptItem, ap as MemberSurveyTranscriptSection, aq as MembersMeResponse, ar as Order, as as OrderItemInput, at as PaginationParams, au as PaymentCallbackPayload, av as PaymentInitiatePayload, aw as PaymentType, ax as PendingRenewalSurvey, ay as Placeholder, az as ProductSaleSummary, aA as PromoValidationResponse, aB as PublicCategory, aC as RegisterAndSubscribePayload, aD as RegisterPayload, aE as RenewalStatus, aF as SUPPORT_ATTACHMENT_MAX_BYTES, aG as SUPPORT_ATTACHMENT_MIME_TYPES, aH as SelectDrugPayload, aI as SendMessagePayload, aJ as SendToPharmacyPayload, aK as SupportAttachment, aL as SupportMessage, aM as SupportRealtimeToken, aN as SupportThread, aO as SupportThreadCategory, aP as SupportThreadStatus, aQ as SurveySubmitPayload, aR as TemplatePlaceholdersMap, aS as TemplateText, aT as TokenTrackName, aU as UpdateAffiliatePayload, aV as UpdateAffiliateProgramPayload, aW as UpdatePaymentMethodPayload, aX as UpdateProfilePayload, aY as User, aZ as addressesApi, a_ as adminAffiliatesApi, a$ as adminApi, b0 as affiliateAuthStorageKey, b1 as affiliatePortalApi, b2 as apexApi, b3 as apiFetch, b4 as authApi, b5 as authStorageKey, b6 as clearAffiliateTokens, b7 as clearTokens, b8 as getAffiliateTokens, b9 as getTokens, ba as membersApi, bb as messagesApi, bc as newIdempotencyKey, bd as onTokensCleared, be as ordersApi, bf as paymentsApi, bg as productsApi, bh as promoCodesApi, bi as setAffiliateTokens, bj as setTokens, bk as subscriptionsApi, bl as supportApi, bm as usersApi } from '../client-CY8nbizi.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 { DEFAULT_COLOR_PALETTE, categoryColor, lowestPrice, lowestSalePrice, restoreCartFromLink, startCartCapture, useCatalog, useMedicationSelect, useProductDetail, useSubscriptionIntakeFlow, validateResumedPromo } from '../chunk/ZD2MMEXL.js';
3
- export { adoptCartId, capturePromoCode, cartId, clearPromoCode, fetchCartConfig, fetchResumedCart, postCartSnapshot, readCartToken, readPromoCode, resetCartConfigCache, resetCartId, stripCartToken } from '../chunk/XHOD3HUQ.js';
4
- export { AddressFields, AdminDashboard, AffiliateForgotPassword, AffiliateLogin, AffiliatePortal, AffiliateRegister, AffiliateResetPassword, CartCheckoutPage, CheckoutPage, EmailTemplates, ForgotPasswordPage, MemberPortal, PatientDashboardPreview, RegisterPage, ResetPasswordPage, SignupPage, SubscribePage, SurveyPage, SurveyV2Page, UpdatePaymentMethod } from '../chunk/JXPPJF2V.js';
2
+ export { DEFAULT_COLOR_PALETTE, categoryColor, lowestPrice, lowestSalePrice, restoreCartFromLink, startCartCapture, useCatalog, useMedicationSelect, useProductDetail, useSubscriptionIntakeFlow, validateResumedPromo } from '../chunk/AH2VJK7Q.js';
3
+ export { adoptCartId, capturePromoCode, cartId, clearPromoCode, fetchCartConfig, fetchResumedCart, postCartSnapshot, readCartToken, readPromoCode, resetCartConfigCache, resetCartId, stripCartToken } from '../chunk/3MRCEVWC.js';
4
+ export { AddressFields, AdminDashboard, AffiliateForgotPassword, AffiliateLogin, AffiliatePortal, AffiliateRegister, AffiliateResetPassword, CartCheckoutPage, CheckoutPage, EmailTemplates, ForgotPasswordPage, MemberPortal, PatientDashboardPreview, RegisterPage, ResetPasswordPage, SignupPage, SubscribePage, SurveyPage, SurveyV2Page, UpdatePaymentMethod } from '../chunk/XKCIXSN4.js';
5
5
  export { EmbedApiError2 as ApexV2ApiError, EmbedApiError, createEmbedApiClient, disqualificationReasonText, disqualifiedDrugIds, qualifiedDrugIds } from '../chunk/LZWA44KD.js';
6
- export { LIFECYCLE_BUCKETS, LIFECYCLE_LABEL, LIFECYCLE_TONE, LIVE_SUBSCRIPTION_STATUSES, TERMINAL_SUBSCRIPTION_STATUSES, US_STATES, US_STATE_OPTIONS, accountSource, availableStateOptions, availableStates, buildRefillView, buildTimeline, buildTrackerView, buildTrackingUrl, captureFunnelEmail, createFunnelTelemetry, deriveAttention, deriveJourney, emailGateAnswered, formatCardNumber, formatConversationTime, formatCvv, formatEventDate, formatExpiry, formatMessageTime, formatRelativeTime, formatStageDate, hasErrors, isLive, isQuestionVisible, isReconcilable, lifecycleReason, markEmailGateAnswered, normalizeState, primarySubscription, redeemResumeLink, resetResumeRedemption, stateAvailabilityNote, toTrackerRequest, useAddressPair, useAffiliateConversions, useAffiliateDownline, useAffiliateLinks, useAffiliateStats, useCartCheckoutFlow, useCheckoutFlow, useDashboardData, useMemberPortalData, useMessagesThread, useRegisterFlow, useSignupFlow, useSubscribeFlow, useSurveyFlow, useSurveyV2Flow, useUpdatePaymentMethodFlow, validateAddress } from '../chunk/GPVYUP3H.js';
7
- export { adoptFunnelSessionId, captureAuthHeader, fetchFunnelConfig, fetchResumedDraft, funnelSessionId, peekFunnelSessionId, postFunnelEvent, readResumeToken, resetFunnelConfigCache, saveFunnelDraft, stripResumeToken } from '../chunk/7ZESUC4Q.js';
6
+ export { LIFECYCLE_BUCKETS, LIFECYCLE_LABEL, LIFECYCLE_TONE, LIVE_SUBSCRIPTION_STATUSES, TERMINAL_SUBSCRIPTION_STATUSES, US_STATES, US_STATE_OPTIONS, accountSource, availableStateOptions, availableStates, buildRefillView, buildTimeline, buildTrackerView, buildTrackingUrl, captureFunnelEmail, createFunnelTelemetry, deriveAttention, deriveJourney, emailGateAnswered, formatCardNumber, formatConversationTime, formatCvv, formatEventDate, formatExpiry, formatMessageTime, formatRelativeTime, formatStageDate, hasErrors, isLive, isQuestionVisible, isReconcilable, lifecycleReason, markEmailGateAnswered, normalizeState, primarySubscription, redeemResumeLink, resetResumeRedemption, stateAvailabilityNote, toTrackerRequest, useAddressPair, useAffiliateConversions, useAffiliateDownline, useAffiliateLinks, useAffiliateStats, useCartCheckoutFlow, useCheckoutFlow, useDashboardData, useMemberPortalData, useMessagesThread, useRegisterFlow, useSignupFlow, useSubscribeFlow, useSurveyFlow, useSurveyV2Flow, useUpdatePaymentMethodFlow, validateAddress } from '../chunk/QCYSYBQ7.js';
7
+ export { adoptFunnelSessionId, captureAuthHeader, fetchFunnelConfig, fetchResumedDraft, funnelSessionId, peekFunnelSessionId, postFunnelEvent, readResumeToken, resetFunnelConfigCache, saveFunnelDraft, stripResumeToken } from '../chunk/LVGOEJHQ.js';
8
8
  export { PrimitivesProvider, usePrimitives } from '../chunk/67KHO66G.js';
9
9
  export { defaultPrimitives } from '../chunk/YJEHCCLY.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/C7TELVJF.js';
12
- export { ApiError, SUPPORT_ATTACHMENT_MAX_BYTES, SUPPORT_ATTACHMENT_MIME_TYPES, addressesApi, adminAffiliatesApi, adminApi, affiliateAuthStorageKey, affiliatePortalApi, apexApi, apiFetch, authApi, authStorageKey, captureAffiliateRef, clearAffiliateRef, clearAffiliateTokens, clearTokens, getAffiliateTokens, getTokens, membersApi, messagesApi, newIdempotencyKey, onTokensCleared, ordersApi, paymentsApi, productsApi, promoCodesApi, readAffiliateRef, setAffiliateTokens, setTokens, subscriptionsApi, supportApi, usersApi } from '../chunk/5D7SGF46.js';
11
+ export { affiliateAuth_default as affiliateAuthStore, auth_default as authStore, cart_default as cartStore, medication_default as medicationStore } from '../chunk/RFDMPQG4.js';
12
+ export { ApiError, SUPPORT_ATTACHMENT_MAX_BYTES, SUPPORT_ATTACHMENT_MIME_TYPES, addressesApi, adminAffiliatesApi, adminApi, affiliateAuthStorageKey, affiliatePortalApi, apexApi, apiFetch, authApi, authStorageKey, captureAffiliateRef, clearAffiliateRef, clearAffiliateTokens, clearTokens, getAffiliateTokens, getTokens, membersApi, messagesApi, newIdempotencyKey, onTokensCleared, ordersApi, paymentsApi, productsApi, promoCodesApi, readAffiliateRef, setAffiliateTokens, setTokens, subscriptionsApi, supportApi, usersApi } from '../chunk/7AJQ5SVA.js';
13
13
  export { configure, getConfig } from '../chunk/5XGPFYIJ.js';
14
14
  //# sourceMappingURL=index.js.map
15
15
  //# sourceMappingURL=index.js.map
@@ -11,7 +11,7 @@ import {
11
11
  useProductDetail,
12
12
  useSubscriptionIntakeFlow,
13
13
  validateResumedPromo
14
- } from "../chunk/ZJENZPAM.jsx";
14
+ } from "../chunk/4A2CPTUM.jsx";
15
15
  import {
16
16
  adoptCartId,
17
17
  capturePromoCode,
@@ -25,7 +25,7 @@ import {
25
25
  resetCartConfigCache,
26
26
  resetCartId,
27
27
  stripCartToken
28
- } from "../chunk/FUOUTRAO.jsx";
28
+ } from "../chunk/OWTKSSYT.jsx";
29
29
  import {
30
30
  AddressFields,
31
31
  AdminDashboard,
@@ -47,7 +47,7 @@ import {
47
47
  SurveyPage,
48
48
  SurveyV2Page,
49
49
  UpdatePaymentMethod
50
- } from "../chunk/AH3PJBED.jsx";
50
+ } from "../chunk/IWWUVNBB.jsx";
51
51
  import {
52
52
  EmbedApiError,
53
53
  EmbedApiError2,
@@ -113,7 +113,7 @@ import {
113
113
  useSurveyV2Flow,
114
114
  useUpdatePaymentMethodFlow,
115
115
  validateAddress
116
- } from "../chunk/JTG4H4I5.jsx";
116
+ } from "../chunk/OLLSJX7B.jsx";
117
117
  import {
118
118
  adoptFunnelSessionId,
119
119
  captureAuthHeader,
@@ -126,7 +126,7 @@ import {
126
126
  resetFunnelConfigCache,
127
127
  saveFunnelDraft,
128
128
  stripResumeToken
129
- } from "../chunk/2UWULNSX.jsx";
129
+ } from "../chunk/BVHNZLDK.jsx";
130
130
  import {
131
131
  PrimitivesProvider,
132
132
  usePrimitives
@@ -140,7 +140,7 @@ import {
140
140
  auth_default,
141
141
  cart_default,
142
142
  medication_default
143
- } from "../chunk/GNG53L37.jsx";
143
+ } from "../chunk/FNOEL4FK.jsx";
144
144
  import {
145
145
  ApiError,
146
146
  SUPPORT_ATTACHMENT_MAX_BYTES,
@@ -174,7 +174,7 @@ import {
174
174
  subscriptionsApi,
175
175
  supportApi,
176
176
  usersApi
177
- } from "../chunk/DQE4K55D.jsx";
177
+ } from "../chunk/2MRJESYW.jsx";
178
178
  import {
179
179
  configure,
180
180
  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 { q as AdminLifecycleBucket, v as AdminProduct } from '../client-BD9_HCZY.js';
5
+ import { q as AdminLifecycleBucket, v as AdminProduct } from '../client-CY8nbizi.js';
6
6
  import '@apextelemed/survey-solid';
7
7
 
8
8
  interface SurveyPageProps {
@@ -18,6 +18,11 @@ interface SurveyPageProps {
18
18
  * through the consumer site's primitive components (`usePrimitives`).
19
19
  *
20
20
  * Sites must provide medication-select / dashboard navigation via callbacks.
21
+ *
22
+ * @deprecated Use {@link SurveyV2Page} instead. It is backed by the v1
23
+ * {@link useSurveyFlow}, so it needs a medication chosen before it can compose
24
+ * a questionnaire; `SurveyV2Page` takes `drugIds` explicitly and can qualify a
25
+ * guest before an account exists. Kept for sites that have not migrated.
21
26
  */
22
27
  declare function SurveyPage(props: SurveyPageProps): solid_js.JSX.Element;
23
28
 
@@ -1,10 +1,10 @@
1
- export { AdminDashboard, AffiliateForgotPassword, AffiliateLogin, AffiliatePortal, AffiliateRegister, AffiliateResetPassword, CartCheckoutPage, CheckoutPage, EmailTemplates, ForgotPasswordPage, MemberPortal, PatientDashboardPreview, RegisterPage, ResetPasswordPage, SignupPage, SubscribePage, SurveyPage, SurveyV2Page, UpdatePaymentMethod } from '../chunk/JXPPJF2V.js';
1
+ export { AdminDashboard, AffiliateForgotPassword, AffiliateLogin, AffiliatePortal, AffiliateRegister, AffiliateResetPassword, CartCheckoutPage, CheckoutPage, EmailTemplates, ForgotPasswordPage, MemberPortal, PatientDashboardPreview, RegisterPage, ResetPasswordPage, SignupPage, SubscribePage, SurveyPage, SurveyV2Page, UpdatePaymentMethod } from '../chunk/XKCIXSN4.js';
2
2
  import '../chunk/LZWA44KD.js';
3
- import '../chunk/GPVYUP3H.js';
4
- import '../chunk/7ZESUC4Q.js';
3
+ import '../chunk/QCYSYBQ7.js';
4
+ import '../chunk/LVGOEJHQ.js';
5
5
  import '../chunk/67KHO66G.js';
6
- import '../chunk/C7TELVJF.js';
7
- import '../chunk/5D7SGF46.js';
6
+ import '../chunk/RFDMPQG4.js';
7
+ import '../chunk/7AJQ5SVA.js';
8
8
  import '../chunk/5XGPFYIJ.js';
9
9
  //# sourceMappingURL=index.js.map
10
10
  //# sourceMappingURL=index.js.map
@@ -18,13 +18,13 @@ import {
18
18
  SurveyPage,
19
19
  SurveyV2Page,
20
20
  UpdatePaymentMethod
21
- } from "../chunk/AH3PJBED.jsx";
21
+ } from "../chunk/IWWUVNBB.jsx";
22
22
  import "../chunk/UZCST66N.jsx";
23
- import "../chunk/JTG4H4I5.jsx";
24
- import "../chunk/2UWULNSX.jsx";
23
+ import "../chunk/OLLSJX7B.jsx";
24
+ import "../chunk/BVHNZLDK.jsx";
25
25
  import "../chunk/J63XPQP4.jsx";
26
- import "../chunk/GNG53L37.jsx";
27
- import "../chunk/DQE4K55D.jsx";
26
+ import "../chunk/FNOEL4FK.jsx";
27
+ import "../chunk/2MRJESYW.jsx";
28
28
  import "../chunk/LDZIUFDM.jsx";
29
29
  export {
30
30
  AdminDashboard,
@@ -1,5 +1,5 @@
1
1
  import * as solid_js from 'solid-js';
2
- import { a2 as AuthTokens, aX as User, aD as RegisterPayload, aC as RegisterAndSubscribePayload, L as AffiliateAuthTokens, K as Affiliate, V as AffiliateRegisterInput } from '../client-BD9_HCZY.js';
2
+ import { a2 as AuthTokens, aY as User, aD as RegisterPayload, aC as RegisterAndSubscribePayload, L as AffiliateAuthTokens, K as Affiliate, V as AffiliateRegisterInput } from '../client-CY8nbizi.js';
3
3
  export { A as AppliedPromoCode, C as CartItem, c as cartStore } from '../cart-D4mVX_zx.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/C7TELVJF.js';
3
- import '../chunk/5D7SGF46.js';
2
+ export { affiliateAuth_default as affiliateAuthStore, auth_default as authStore, cart_default as cartStore, medication_default as medicationStore } from '../chunk/RFDMPQG4.js';
3
+ import '../chunk/7AJQ5SVA.js';
4
4
  import '../chunk/5XGPFYIJ.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/GNG53L37.jsx";
8
- import "../chunk/DQE4K55D.jsx";
7
+ } from "../chunk/FNOEL4FK.jsx";
8
+ import "../chunk/2MRJESYW.jsx";
9
9
  import "../chunk/LDZIUFDM.jsx";
10
10
  export {
11
11
  affiliateAuth_default as affiliateAuthStore,
@@ -1501,6 +1501,136 @@
1501
1501
  cursor: not-allowed;
1502
1502
  }
1503
1503
 
1504
+ /* Channel chip — "Care team" / "Support", shown on list rows and the thread
1505
+ header so it's clear at a glance which inbox a conversation belongs to. */
1506
+ .channel-chip {
1507
+ display: inline-flex;
1508
+ align-items: center;
1509
+ gap: 4px;
1510
+ flex-shrink: 0;
1511
+ padding: 2px 8px;
1512
+ border-radius: 999px;
1513
+ background: var(--app-portal-surface-alt, rgba(0, 0, 0, 0.05));
1514
+ font-size: 10px;
1515
+ font-weight: 600;
1516
+ letter-spacing: 0.02em;
1517
+ text-transform: uppercase;
1518
+ color: var(--app-portal-fg-muted);
1519
+ white-space: nowrap;
1520
+ }
1521
+ .channel-chip--clinical {
1522
+ background: var(--app-portal-consult-soft, var(--app-portal-surface-alt));
1523
+ color: var(--app-portal-consult);
1524
+ }
1525
+ .channel-chip__category {
1526
+ padding-left: 4px;
1527
+ border-left: 1px solid currentColor;
1528
+ opacity: 0.75;
1529
+ text-transform: none;
1530
+ letter-spacing: normal;
1531
+ }
1532
+ .msg-list__name-group {
1533
+ display: flex;
1534
+ align-items: center;
1535
+ gap: 6px;
1536
+ min-width: 0;
1537
+ overflow: hidden;
1538
+ }
1539
+ .msg-thread__title-row {
1540
+ display: flex;
1541
+ align-items: center;
1542
+ gap: 8px;
1543
+ }
1544
+
1545
+ /* Compose step 0 — channel choice cards */
1546
+ .msg-choice__options {
1547
+ display: flex;
1548
+ flex-direction: column;
1549
+ gap: 12px;
1550
+ padding: 20px;
1551
+ overflow-y: auto;
1552
+ }
1553
+ .msg-choice__option {
1554
+ display: flex;
1555
+ flex-direction: column;
1556
+ align-items: flex-start;
1557
+ gap: 4px;
1558
+ padding: 18px 20px;
1559
+ border: 1px solid var(--app-portal-border);
1560
+ border-radius: 14px;
1561
+ background: var(--app-portal-surface, #fff);
1562
+ text-align: left;
1563
+ font-family: inherit;
1564
+ cursor: pointer;
1565
+ transition: border-color 0.15s ease, background 0.15s ease;
1566
+ }
1567
+ .msg-choice__option:hover {
1568
+ border-color: var(--app-portal-fg-muted);
1569
+ background: var(--app-portal-surface-alt, rgba(0, 0, 0, 0.03));
1570
+ }
1571
+ .msg-choice__option-icon {
1572
+ font-size: 22px;
1573
+ margin-bottom: 4px;
1574
+ color: var(--app-portal-accent);
1575
+ }
1576
+ .msg-choice__option-title {
1577
+ font-size: 15px;
1578
+ font-weight: 600;
1579
+ color: var(--app-portal-fg);
1580
+ }
1581
+ .msg-choice__option-sub {
1582
+ font-size: 12px;
1583
+ color: var(--app-portal-fg-muted);
1584
+ }
1585
+
1586
+ /* Care-team notice (no clinical conversation to route to yet) */
1587
+ .msg-choice__notice {
1588
+ display: flex;
1589
+ flex-direction: column;
1590
+ align-items: flex-start;
1591
+ gap: 14px;
1592
+ padding: 20px;
1593
+ }
1594
+ .msg-choice__notice-text {
1595
+ margin: 0;
1596
+ font-size: 14px;
1597
+ line-height: 1.55;
1598
+ color: var(--app-portal-fg);
1599
+ }
1600
+
1601
+ /* Support-compose category chips */
1602
+ .msg-compose__label-optional {
1603
+ font-weight: 400;
1604
+ text-transform: none;
1605
+ color: var(--app-portal-fg-muted);
1606
+ }
1607
+ .msg-compose__categories {
1608
+ display: flex;
1609
+ flex-wrap: wrap;
1610
+ gap: 8px;
1611
+ margin-bottom: 10px;
1612
+ }
1613
+ .msg-compose__category-chip {
1614
+ padding: 6px 12px;
1615
+ border: 1px solid var(--app-portal-border);
1616
+ border-radius: 999px;
1617
+ background: transparent;
1618
+ font-family: inherit;
1619
+ font-size: 12px;
1620
+ font-weight: 500;
1621
+ color: var(--app-portal-fg-muted);
1622
+ cursor: pointer;
1623
+ transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
1624
+ }
1625
+ .msg-compose__category-chip:hover {
1626
+ border-color: var(--app-portal-fg-muted);
1627
+ }
1628
+ .msg-compose__category-chip.is-selected {
1629
+ border-color: var(--app-portal-fg);
1630
+ background: var(--app-portal-fg);
1631
+ color: var(--app-portal-surface-raised);
1632
+ }
1633
+
1504
1634
  /* ── Mobile ─────────────────────────────────────────────── */
1505
1635
  @media (max-width: 900px) {
1506
1636
  .portal { grid-template-columns: 1fr; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apextelemed/partner-core",
3
- "version": "0.5.1",
3
+ "version": "0.5.3",
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": {