@apextelemed/partner-core 0.5.2 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +83 -14
- package/dist/api/index.d.ts +1 -1
- package/dist/api/index.js +3 -3
- package/dist/api/index.jsx +3 -3
- package/dist/chunk/{FUOUTRAO.jsx → 4ZSZHZQV.jsx} +2 -2
- package/dist/chunk/{ZJENZPAM.jsx → 5HNZ7SEM.jsx} +12 -8
- package/dist/chunk/{5D7SGF46.js → BEDW4XUM.js} +61 -5
- package/dist/chunk/BEDW4XUM.js.map +1 -0
- package/dist/chunk/{XHOD3HUQ.js → BVLA7ATM.js} +3 -3
- package/dist/chunk/{XHOD3HUQ.js.map → BVLA7ATM.js.map} +1 -1
- package/dist/chunk/{DQE4K55D.jsx → EVCGDF5D.jsx} +60 -4
- package/dist/chunk/{KO2JPCIP.js → HKNTNZRW.js} +3443 -1482
- package/dist/chunk/HKNTNZRW.js.map +1 -0
- package/dist/chunk/{JTG4H4I5.jsx → HXMLRDIJ.jsx} +92 -12
- package/dist/chunk/{C7TELVJF.js → MLXPHJLR.js} +3 -3
- package/dist/chunk/{C7TELVJF.js.map → MLXPHJLR.js.map} +1 -1
- package/dist/chunk/{2UWULNSX.jsx → NBB2VTQK.jsx} +2 -2
- package/dist/chunk/{ZD2MMEXL.js → NSRQXBHK.js} +13 -9
- package/dist/chunk/NSRQXBHK.js.map +1 -0
- package/dist/chunk/{7ZESUC4Q.js → QTGJY3YQ.js} +3 -3
- package/dist/chunk/{7ZESUC4Q.js.map → QTGJY3YQ.js.map} +1 -1
- package/dist/chunk/{I322BQIU.jsx → SSVJ27MR.jsx} +2650 -1224
- package/dist/chunk/{GNG53L37.jsx → WLEIDQ5M.jsx} +2 -2
- package/dist/chunk/{GPVYUP3H.js → WUE4VQBA.js} +92 -14
- package/dist/chunk/WUE4VQBA.js.map +1 -0
- package/dist/{client-BD9_HCZY.d.ts → client-B6Kt7LWo.d.ts} +129 -2
- package/dist/flows/index.d.ts +99 -7
- package/dist/flows/index.js +6 -6
- package/dist/flows/index.jsx +6 -6
- package/dist/index/index.d.ts +2 -2
- package/dist/index/index.js +7 -7
- package/dist/index/index.jsx +7 -7
- package/dist/pages/index.d.ts +13 -3
- package/dist/pages/index.js +5 -5
- package/dist/pages/index.jsx +5 -5
- package/dist/stores/index.d.ts +1 -1
- package/dist/stores/index.js +2 -2
- package/dist/stores/index.jsx +2 -2
- package/dist/theme/member-portal.css +213 -0
- package/package.json +1 -1
- package/dist/chunk/5D7SGF46.js.map +0 -1
- package/dist/chunk/GPVYUP3H.js.map +0 -1
- package/dist/chunk/KO2JPCIP.js.map +0 -1
- package/dist/chunk/ZD2MMEXL.js.map +0 -1
|
@@ -53,6 +53,12 @@ interface RegisterAndSubscribePayload extends RegisterPayload {
|
|
|
53
53
|
zip: string;
|
|
54
54
|
};
|
|
55
55
|
promoCode?: string;
|
|
56
|
+
/**
|
|
57
|
+
* Verified savings-program member id. The backend re-verifies it, links it
|
|
58
|
+
* to the NEW account and prices the charge at the savings rate; an id already
|
|
59
|
+
* linked to another account is refused (409) before any charge.
|
|
60
|
+
*/
|
|
61
|
+
savingsMemberId?: string;
|
|
56
62
|
}
|
|
57
63
|
/** Item in a cart-style order/checkout. Mirrors the live backend contract:
|
|
58
64
|
* POST /orders and POST /payments/checkout both read `item.productId`;
|
|
@@ -189,6 +195,47 @@ interface Placeholder {
|
|
|
189
195
|
interface TemplatePlaceholdersMap {
|
|
190
196
|
[key: string]: Placeholder[];
|
|
191
197
|
}
|
|
198
|
+
/**
|
|
199
|
+
* An admin-authored email, as opposed to the fixed transactional set. This is
|
|
200
|
+
* the only place marketing copy lives: a sequence step points at one by id
|
|
201
|
+
* and carries no text of its own.
|
|
202
|
+
*/
|
|
203
|
+
interface CustomTemplate extends TemplateText {
|
|
204
|
+
id: string;
|
|
205
|
+
name: string;
|
|
206
|
+
createdAt: string;
|
|
207
|
+
updatedAt: string;
|
|
208
|
+
/** Sequences with a step on this template. Non-empty blocks deletion (409). */
|
|
209
|
+
usedBy: Array<{
|
|
210
|
+
sequenceId: string;
|
|
211
|
+
sequenceName: string;
|
|
212
|
+
}>;
|
|
213
|
+
}
|
|
214
|
+
/** What create/update take: the whole template, every time. */
|
|
215
|
+
type CustomTemplateInput = TemplateText & {
|
|
216
|
+
name: string;
|
|
217
|
+
};
|
|
218
|
+
/** Admin copies of customer emails: who gets them, and for which events. */
|
|
219
|
+
interface EmailNotificationSettings {
|
|
220
|
+
recipientEmails: string[];
|
|
221
|
+
/** Keyed by template key; the backend returns every event it knows. */
|
|
222
|
+
enabledEvents: Record<string, boolean>;
|
|
223
|
+
}
|
|
224
|
+
interface BillingReminderSettings {
|
|
225
|
+
renewalReminder: {
|
|
226
|
+
enabled: boolean;
|
|
227
|
+
daysBefore: number[];
|
|
228
|
+
};
|
|
229
|
+
cardExpiring: {
|
|
230
|
+
enabled: boolean;
|
|
231
|
+
daysBeforeExpiry: number;
|
|
232
|
+
};
|
|
233
|
+
pastDueNudge: {
|
|
234
|
+
enabled: boolean;
|
|
235
|
+
intervalDays: number;
|
|
236
|
+
maxNudges: number;
|
|
237
|
+
};
|
|
238
|
+
}
|
|
192
239
|
interface ApiResponse<T = unknown> {
|
|
193
240
|
data?: T;
|
|
194
241
|
error?: string;
|
|
@@ -316,6 +363,10 @@ interface MemberPrescriptionRequest {
|
|
|
316
363
|
createdAt: string;
|
|
317
364
|
updatedAt?: string;
|
|
318
365
|
delivery: DeliveryInfo | null;
|
|
366
|
+
/** The day an approved-and-waiting Rx is due at the pharmacy (`YYYY-MM-DD`).
|
|
367
|
+
* Null once it has been transmitted, and null for a date already past — the
|
|
368
|
+
* backend withholds a slipped schedule rather than render it as a plan. */
|
|
369
|
+
pharmacySendDate?: string | null;
|
|
319
370
|
renewal?: {
|
|
320
371
|
renewalId: string;
|
|
321
372
|
cycleNumber: number;
|
|
@@ -572,6 +623,20 @@ declare const messagesApi: {
|
|
|
572
623
|
listConversations(params?: PaginationParams): Promise<ApiResponse<unknown>>;
|
|
573
624
|
getConversation(id: string): Promise<ApiResponse<unknown>>;
|
|
574
625
|
listMessages(conversationId: string, params?: PaginationParams): Promise<ApiResponse<unknown>>;
|
|
626
|
+
/**
|
|
627
|
+
* Start (or reuse) the member's care-team conversation with an opening
|
|
628
|
+
* message (1..5000 chars). Answers `{ conversation, message, created }`.
|
|
629
|
+
* 409 `{ error: 'no_care_team' }` means the member has never had a
|
|
630
|
+
* prescriber assigned — there is nothing to route the message to. Loosely
|
|
631
|
+
* typed like the rest of this object: the raw conversation/message shapes
|
|
632
|
+
* are reconciled onto `Conversation`/`ThreadMessage` in flows/messages.ts,
|
|
633
|
+
* which already owns that normalization for every other clinical response.
|
|
634
|
+
*/
|
|
635
|
+
start(payload: {
|
|
636
|
+
text: string;
|
|
637
|
+
}, opts?: {
|
|
638
|
+
idempotencyKey?: string;
|
|
639
|
+
}): Promise<ApiResponse<unknown>>;
|
|
575
640
|
sendMessage(conversationId: string, payload: SendMessagePayload, opts?: {
|
|
576
641
|
idempotencyKey?: string;
|
|
577
642
|
}): Promise<unknown>;
|
|
@@ -581,7 +646,12 @@ declare const messagesApi: {
|
|
|
581
646
|
unreadCount: number;
|
|
582
647
|
}>>;
|
|
583
648
|
};
|
|
584
|
-
type SupportThreadStatus = 'open' | 'pending' | 'closed';
|
|
649
|
+
type SupportThreadStatus = 'open' | 'pending' | 'closed' | 'transferred';
|
|
650
|
+
/** Optional customer-picked category, set at thread creation. Routes the
|
|
651
|
+
* question to the right destination (billing/orders/account/technical land
|
|
652
|
+
* with support; medical questions never carry a category — those go to the
|
|
653
|
+
* care team via a different flow entirely). Mirrors the-backend's allowlist. */
|
|
654
|
+
type SupportThreadCategory = 'billing' | 'orders' | 'account' | 'technical' | 'other';
|
|
585
655
|
/**
|
|
586
656
|
* Mirrors the backend's allowlist so a rejected file fails instantly instead of
|
|
587
657
|
* round-tripping to a 415. The server remains the authority — this is UX, not
|
|
@@ -600,6 +670,8 @@ interface SupportThread {
|
|
|
600
670
|
customerUnread: boolean;
|
|
601
671
|
createdAt: string;
|
|
602
672
|
updatedAt: string;
|
|
673
|
+
/** Set by the customer at creation; null when they skipped it. */
|
|
674
|
+
category?: SupportThreadCategory | null;
|
|
603
675
|
}
|
|
604
676
|
interface SupportAttachment {
|
|
605
677
|
id: string;
|
|
@@ -645,6 +717,7 @@ declare const supportApi: {
|
|
|
645
717
|
createThread(payload: {
|
|
646
718
|
subject: string;
|
|
647
719
|
body: string;
|
|
720
|
+
category?: SupportThreadCategory | null;
|
|
648
721
|
}, opts?: {
|
|
649
722
|
idempotencyKey?: string;
|
|
650
723
|
}): Promise<ApiResponse<{
|
|
@@ -1176,6 +1249,8 @@ interface AdminCustomerSupportThread {
|
|
|
1176
1249
|
lastMessageAt: string | null;
|
|
1177
1250
|
lastSender: 'customer' | 'support' | string | null;
|
|
1178
1251
|
adminUnread: boolean;
|
|
1252
|
+
/** Optional: present only if the customer-360 summary endpoint includes it. */
|
|
1253
|
+
category?: SupportThreadCategory | null;
|
|
1179
1254
|
}
|
|
1180
1255
|
interface AdminCustomerSupport {
|
|
1181
1256
|
threadCount: number;
|
|
@@ -1377,6 +1452,19 @@ declare const adminApi: {
|
|
|
1377
1452
|
getEmailTemplates(): Promise<{
|
|
1378
1453
|
templates: EmailTemplatesMap;
|
|
1379
1454
|
placeholders?: TemplatePlaceholdersMap;
|
|
1455
|
+
customTemplates: CustomTemplate[];
|
|
1456
|
+
/** Tokens every custom template may use (rendered through the sequence mailer). */
|
|
1457
|
+
customPlaceholders: Placeholder[];
|
|
1458
|
+
}>;
|
|
1459
|
+
createCustomTemplate(input: CustomTemplateInput): Promise<CustomTemplate>;
|
|
1460
|
+
updateCustomTemplate(id: string, input: CustomTemplateInput): Promise<CustomTemplate>;
|
|
1461
|
+
/** Rejects with the server's message (409) while a sequence still uses it. */
|
|
1462
|
+
deleteCustomTemplate(id: string): Promise<{
|
|
1463
|
+
success: boolean;
|
|
1464
|
+
}>;
|
|
1465
|
+
sendCustomTemplateTest(id: string): Promise<{
|
|
1466
|
+
success: boolean;
|
|
1467
|
+
sentTo: string;
|
|
1380
1468
|
}>;
|
|
1381
1469
|
saveEmailTemplates(templates: EmailTemplatesMap): Promise<{
|
|
1382
1470
|
success: boolean;
|
|
@@ -1390,6 +1478,14 @@ declare const adminApi: {
|
|
|
1390
1478
|
sentTo?: string;
|
|
1391
1479
|
error?: string;
|
|
1392
1480
|
}>;
|
|
1481
|
+
getEmailNotifications(): Promise<EmailNotificationSettings>;
|
|
1482
|
+
saveEmailNotifications(settings: EmailNotificationSettings): Promise<{
|
|
1483
|
+
success: boolean;
|
|
1484
|
+
}>;
|
|
1485
|
+
getBillingReminders(): Promise<BillingReminderSettings>;
|
|
1486
|
+
saveBillingReminders(settings: BillingReminderSettings): Promise<{
|
|
1487
|
+
success: boolean;
|
|
1488
|
+
}>;
|
|
1393
1489
|
getProducts(params?: AdminListParams & {
|
|
1394
1490
|
category?: string;
|
|
1395
1491
|
}): Promise<{
|
|
@@ -1462,6 +1558,7 @@ declare const adminApi: {
|
|
|
1462
1558
|
getSupportStats(): Promise<AdminSupportStats>;
|
|
1463
1559
|
getSupportThreads(params?: {
|
|
1464
1560
|
status?: SupportThreadStatus;
|
|
1561
|
+
category?: SupportThreadCategory;
|
|
1465
1562
|
cursor?: string;
|
|
1466
1563
|
}): Promise<{
|
|
1467
1564
|
threads: AdminSupportThread[];
|
|
@@ -1479,6 +1576,28 @@ declare const adminApi: {
|
|
|
1479
1576
|
setSupportThreadStatus(id: string, status: SupportThreadStatus): Promise<{
|
|
1480
1577
|
thread: AdminSupportThread;
|
|
1481
1578
|
}>;
|
|
1579
|
+
/** Inline re-file from the admin detail view. `null` clears the category. */
|
|
1580
|
+
updateSupportThreadCategory(id: string, category: SupportThreadCategory | null): Promise<{
|
|
1581
|
+
thread: AdminSupportThread;
|
|
1582
|
+
}>;
|
|
1583
|
+
/**
|
|
1584
|
+
* Forward this thread to the customer's care team: sends every customer
|
|
1585
|
+
* message as one note to their prescriber, then redacts those message
|
|
1586
|
+
* bodies (`[moved to care team]`, attachments removed) and marks the
|
|
1587
|
+
* thread `transferred`. Support's own messages are untouched.
|
|
1588
|
+
*
|
|
1589
|
+
* - `409 no_care_team` — customer has no Apex member / no prescriber yet.
|
|
1590
|
+
* - `502` — could not reach the care team; safe to retry.
|
|
1591
|
+
* - `alreadyTransferred: true` — thread was already forwarded; no-op.
|
|
1592
|
+
* - `redacted: false` — the transfer happened but the redaction cleanup
|
|
1593
|
+
* step threw; the thread is transferred but bodies may not be scrubbed.
|
|
1594
|
+
*/
|
|
1595
|
+
transferSupportThread(id: string): Promise<{
|
|
1596
|
+
thread: AdminSupportThread;
|
|
1597
|
+
conversationId: string;
|
|
1598
|
+
alreadyTransferred: boolean;
|
|
1599
|
+
redacted: boolean;
|
|
1600
|
+
}>;
|
|
1482
1601
|
getSupportAttachmentUrl(attachmentId: string): Promise<{
|
|
1483
1602
|
url: string;
|
|
1484
1603
|
}>;
|
|
@@ -1492,6 +1611,8 @@ interface AdminSupportStats {
|
|
|
1492
1611
|
/** Threads awaiting a support reply. */
|
|
1493
1612
|
unread: number;
|
|
1494
1613
|
open: number;
|
|
1614
|
+
/** Uncategorized covers threads created without a category. */
|
|
1615
|
+
byCategory: Record<SupportThreadCategory | 'uncategorized', number>;
|
|
1495
1616
|
}
|
|
1496
1617
|
interface AdminSupportCustomer {
|
|
1497
1618
|
id: string;
|
|
@@ -1505,6 +1626,12 @@ interface AdminSupportThread extends SupportThread {
|
|
|
1505
1626
|
userId: string;
|
|
1506
1627
|
/** Attached on list responses; null when the user row has gone. */
|
|
1507
1628
|
customer?: AdminSupportCustomer | null;
|
|
1629
|
+
/** Set on threads created from an Apex care-team handoff
|
|
1630
|
+
* (`apex:handoff:<conversationId>:<messageId>`); null otherwise. */
|
|
1631
|
+
sourceRef: string | null;
|
|
1632
|
+
/** Set once this thread has been forwarded to the customer's care team
|
|
1633
|
+
* (`status` is then `'transferred'`). */
|
|
1634
|
+
transferredConversationId: string | null;
|
|
1508
1635
|
}
|
|
1509
1636
|
type DiscountType = 'percent' | 'fixed';
|
|
1510
1637
|
interface AdminSale {
|
|
@@ -1872,4 +1999,4 @@ declare const affiliatePortalApi: {
|
|
|
1872
1999
|
track(refCode: string, landingPage?: string): Promise<AffiliateTrackResponse>;
|
|
1873
2000
|
};
|
|
1874
2001
|
|
|
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,
|
|
2002
|
+
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, type UpdateProfilePayload as a$, type ApiResponse as a0, type AttributionMethod as a1, type AuthTokens as a2, type BillingReminderSettings as a3, type CatalogProduct as a4, type CheckoutAddress as a5, type CheckoutPayload as a6, type CheckoutResult as a7, type CommissionConfig as a8, type CommissionStatus as a9, type PaymentType as aA, type PendingRenewalSurvey as aB, type Placeholder as aC, type ProductSaleSummary as aD, type PromoValidationResponse as aE, type PublicCategory as aF, type RegisterAndSubscribePayload as aG, type RegisterPayload as aH, type RenewalStatus as aI, SUPPORT_ATTACHMENT_MAX_BYTES as aJ, SUPPORT_ATTACHMENT_MIME_TYPES as aK, type SelectDrugPayload as aL, type SendMessagePayload as aM, type SendToPharmacyPayload as aN, type SupportAttachment as aO, type SupportMessage as aP, type SupportRealtimeToken as aQ, type SupportThread as aR, type SupportThreadCategory as aS, type SupportThreadStatus as aT, type SurveySubmitPayload as aU, type TemplatePlaceholdersMap as aV, type TemplateText as aW, type TokenTrackName as aX, type UpdateAffiliatePayload as aY, type UpdateAffiliateProgramPayload as aZ, type UpdatePaymentMethodPayload as a_, type CompleteSurveyPayload as aa, type CreateAffiliatePayload as ab, type CreateAffiliateProgramPayload as ac, type CreateOrderPayload as ad, type CreateRequestPayload as ae, type CreateSubscriptionPayload as af, type CustomTemplate as ag, type CustomTemplateInput as ah, type CustomerDiscountConfig as ai, type DeliveryInfo as aj, type DiscountType as ak, type EmailNotificationSettings as al, type EmailTemplatesMap as am, type LoginPayload as an, type MemberPrescriptionRequest as ao, type MemberSurveyMode as ap, type MemberSurveyResponseSummary as aq, type MemberSurveyTranscript as ar, type MemberSurveyTranscriptItem as as, type MemberSurveyTranscriptSection as at, type MembersMeResponse as au, type Order as av, type OrderItemInput as aw, type PaginationParams as ax, type PaymentCallbackPayload as ay, type PaymentInitiatePayload as az, type AdminBillingAttempt as b, type User as b0, addressesApi as b1, adminAffiliatesApi as b2, adminApi as b3, affiliateAuthStorageKey as b4, affiliatePortalApi as b5, apexApi as b6, apiFetch as b7, authApi as b8, authStorageKey as b9, clearAffiliateTokens as ba, clearTokens as bb, getAffiliateTokens as bc, getTokens as bd, membersApi as be, messagesApi as bf, newIdempotencyKey as bg, onTokensCleared as bh, ordersApi as bi, paymentsApi as bj, productsApi as bk, promoCodesApi as bl, setAffiliateTokens as bm, setTokens as bn, subscriptionsApi as bo, supportApi as bp, usersApi as bq, 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 };
|
package/dist/flows/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Accessor, Resource } from 'solid-js';
|
|
2
|
-
import { A as AddressVerifyResult,
|
|
2
|
+
import { A as AddressVerifyResult, a5 as CheckoutAddress, b0 as User, aj as DeliveryInfo, aI as RenewalStatus, aB as PendingRenewalSurvey, q as AdminLifecycleBucket, i as AdminCustomerOverview, D as AdminSubscriptionDetail, k as AdminCustomerRequest, aS as SupportThreadCategory, a4 as CatalogProduct, N as AffiliateConversion, R as AffiliateDownlineMember, O as AffiliateDashboardLinks, Q as AffiliateDashboardStats, aE as PromoValidationResponse } from '../client-B6Kt7LWo.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[];
|
|
@@ -390,6 +399,12 @@ interface UseSignupFlowOptions {
|
|
|
390
399
|
membershipIntervalDays?: number;
|
|
391
400
|
/** Label used when the cart is empty. Defaults to "Membership". */
|
|
392
401
|
membershipProductLabel?: string;
|
|
402
|
+
/**
|
|
403
|
+
* The verified savings member id to link to the new account (same payload
|
|
404
|
+
* field as the subscription-intake flow). Read at submit time; null/empty
|
|
405
|
+
* sends nothing.
|
|
406
|
+
*/
|
|
407
|
+
savingsMemberId?: () => string | null;
|
|
393
408
|
}
|
|
394
409
|
interface SignupFlow {
|
|
395
410
|
step: Accessor<number>;
|
|
@@ -678,6 +693,16 @@ interface TrackerRequest {
|
|
|
678
693
|
updatedAt: string | null;
|
|
679
694
|
dosage?: string;
|
|
680
695
|
delivery: DeliveryInfo | null;
|
|
696
|
+
/**
|
|
697
|
+
* The day this Rx is due at the pharmacy (`YYYY-MM-DD`), from the backend's
|
|
698
|
+
* renewal schedule. An approved renewal is transmitted on its fill date, not
|
|
699
|
+
* at approval, so this bead can be the member's view for days — without the
|
|
700
|
+
* date it reads as a stall rather than a plan.
|
|
701
|
+
*
|
|
702
|
+
* The backend sends it only while the Rx is approved and still waiting, and
|
|
703
|
+
* withholds a date that has already passed, so it is safe to render as-is.
|
|
704
|
+
*/
|
|
705
|
+
pharmacySendDate?: string | null;
|
|
681
706
|
}
|
|
682
707
|
type TrackerSubscriptionStatus = 'active' | 'paused' | 'past_due' | 'cancelled' | 'suspended' | 'expired';
|
|
683
708
|
interface TrackerSubscription {
|
|
@@ -691,9 +716,11 @@ interface TrackerSubscription {
|
|
|
691
716
|
currentPeriodEnd: string | null;
|
|
692
717
|
intervalDays?: number;
|
|
693
718
|
/**
|
|
694
|
-
* The real next-fill date (`YYYY-MM-DD`), from the backend's
|
|
695
|
-
*
|
|
696
|
-
*
|
|
719
|
+
* The real next-fill date (`YYYY-MM-DD`), from the backend's renewal schedule:
|
|
720
|
+
* the live cycle's own date, or — while that cycle awaits a fill — the day the
|
|
721
|
+
* in-flight order is due at the pharmacy. Null only when the schedule is
|
|
722
|
+
* genuinely unknown (the order shipped but the next cycle isn't anchored yet,
|
|
723
|
+
* or its date has slipped), and on partners without renewals.
|
|
697
724
|
*/
|
|
698
725
|
nextFillDate?: string | null;
|
|
699
726
|
/** When the check-in opens, from the same renewal row. */
|
|
@@ -933,6 +960,8 @@ interface MemberPortalRx {
|
|
|
933
960
|
createdAt: string | null;
|
|
934
961
|
updatedAt: string | null;
|
|
935
962
|
delivery: DeliveryInfo | null;
|
|
963
|
+
/** The day an approved Rx is due at the pharmacy (`YYYY-MM-DD`), else null. */
|
|
964
|
+
pharmacySendDate: string | null;
|
|
936
965
|
/** Open check-in renewal id, if any (drives the "Complete check-in" link). */
|
|
937
966
|
renewalId: string | null;
|
|
938
967
|
}
|
|
@@ -1020,6 +1049,36 @@ declare function useUpdatePaymentMethodFlow(subscriptionId: () => string | null)
|
|
|
1020
1049
|
* based on this discriminator, so the two never cross.
|
|
1021
1050
|
*/
|
|
1022
1051
|
type ConversationSource = 'clinical' | 'support';
|
|
1052
|
+
/**
|
|
1053
|
+
* Which side of the merged inbox a message is destined for. Distinct from
|
|
1054
|
+
* `ConversationSource` (which describes an EXISTING conversation) — this is
|
|
1055
|
+
* the caller's intent BEFORE any conversation exists yet, e.g. "open compose
|
|
1056
|
+
* pre-set to support" from a CTA that has no conversation id to point at.
|
|
1057
|
+
*/
|
|
1058
|
+
type MessagesChannel = 'care' | 'support';
|
|
1059
|
+
/**
|
|
1060
|
+
* Pre-selection for the Messages tab: lets any entry point (a CTA, a deep
|
|
1061
|
+
* link) say which destination to land on instead of the merged conversation
|
|
1062
|
+
* list. All fields are optional so "no intent" (today's default: show the
|
|
1063
|
+
* list) is just `undefined`/`{}`.
|
|
1064
|
+
*
|
|
1065
|
+
* `threadId` takes priority over `channel`/`category` when a caller has an
|
|
1066
|
+
* exact conversation to open (its source implies the channel, so `channel`
|
|
1067
|
+
* is redundant and ignored here). Otherwise `channel: 'care'` re-runs the
|
|
1068
|
+
* existing "pick care team" logic (latest clinical conversation, or the care
|
|
1069
|
+
* compose form) and `channel: 'support'` opens the support compose form,
|
|
1070
|
+
* pre-set with `category`/`prefill` when given. `category` and `prefill` are
|
|
1071
|
+
* meaningless for `channel: 'care'` and are ignored there.
|
|
1072
|
+
*/
|
|
1073
|
+
interface MessagesIntent {
|
|
1074
|
+
channel?: MessagesChannel;
|
|
1075
|
+
/** Support only — ignored when `channel` is `'care'`. */
|
|
1076
|
+
category?: SupportThreadCategory;
|
|
1077
|
+
/** Optional body text to pre-fill the support compose form with. */
|
|
1078
|
+
prefill?: string;
|
|
1079
|
+
/** Open this exact conversation/thread; wins over `channel`/`category`. */
|
|
1080
|
+
threadId?: string;
|
|
1081
|
+
}
|
|
1023
1082
|
/** Normalised conversation. The backend passes Apex's record through verbatim
|
|
1024
1083
|
* (the-backend routes/messages.ts → apexMessaging.Conversation), which names
|
|
1025
1084
|
* three of these fields differently; `normalizeConversation` reconciles them so
|
|
@@ -1035,6 +1094,8 @@ interface Conversation {
|
|
|
1035
1094
|
unreadCount?: number;
|
|
1036
1095
|
/** Support threads only — open | pending | closed. */
|
|
1037
1096
|
status?: string;
|
|
1097
|
+
/** Support threads only — the customer-picked category, when set. */
|
|
1098
|
+
category?: SupportThreadCategory | null;
|
|
1038
1099
|
[key: string]: unknown;
|
|
1039
1100
|
}
|
|
1040
1101
|
/**
|
|
@@ -1086,6 +1147,19 @@ interface StartThreadResult {
|
|
|
1086
1147
|
created: boolean;
|
|
1087
1148
|
attachmentFailed: boolean;
|
|
1088
1149
|
}
|
|
1150
|
+
/**
|
|
1151
|
+
* Outcome of starting a care-team conversation. `reason` discriminates the two
|
|
1152
|
+
* ways `created` can be false: `'no_care_team'` is the documented 409 — the
|
|
1153
|
+
* member has never had a prescriber assigned, so there's nowhere to route the
|
|
1154
|
+
* message — and the caller should offer the support escape hatch. `'error'`
|
|
1155
|
+
* covers everything else (network, 400, 502) and should keep the draft for a
|
|
1156
|
+
* retry rather than switch away.
|
|
1157
|
+
*/
|
|
1158
|
+
interface StartCareTeamResult {
|
|
1159
|
+
created: boolean;
|
|
1160
|
+
attachmentFailed: boolean;
|
|
1161
|
+
reason?: 'no_care_team' | 'error';
|
|
1162
|
+
}
|
|
1089
1163
|
interface MessagesThread {
|
|
1090
1164
|
conversations: Accessor<Conversation[]>;
|
|
1091
1165
|
loadingConversations: Accessor<boolean>;
|
|
@@ -1097,6 +1171,8 @@ interface MessagesThread {
|
|
|
1097
1171
|
sending: Accessor<boolean>;
|
|
1098
1172
|
/** True while a new support thread is being opened. */
|
|
1099
1173
|
startingThread: Accessor<boolean>;
|
|
1174
|
+
/** True while a new care-team conversation is being started. */
|
|
1175
|
+
startingCareTeamThread: Accessor<boolean>;
|
|
1100
1176
|
/** Source of the open conversation, or null when none is selected. */
|
|
1101
1177
|
selectedSource: Accessor<ConversationSource | null>;
|
|
1102
1178
|
/** Select a conversation. Loads messages, marks as read, starts the message-poll loop. */
|
|
@@ -1110,8 +1186,16 @@ interface MessagesThread {
|
|
|
1110
1186
|
/** Open a new support thread with a subject and first message, then select it.
|
|
1111
1187
|
* Support-only — clinical conversations are started by the prescriber, never
|
|
1112
1188
|
* the member. An optional file is uploaded as a follow-up request; see
|
|
1113
|
-
* StartThreadResult for the partial-success case.
|
|
1114
|
-
|
|
1189
|
+
* StartThreadResult for the partial-success case. An optional category
|
|
1190
|
+
* routes the thread on the backend side. */
|
|
1191
|
+
startSupportThread: (subject: string, body: string, file?: File, category?: SupportThreadCategory | null) => Promise<StartThreadResult>;
|
|
1192
|
+
/** Start (or reuse) the member's care-team conversation with an opening
|
|
1193
|
+
* message, then select it. No subject — Apex conversations don't have one.
|
|
1194
|
+
* An optional file is uploaded as a follow-up request; see
|
|
1195
|
+
* StartCareTeamResult for the partial-success case. A 409 (the member has
|
|
1196
|
+
* never had a prescriber assigned) reports back as `reason: 'no_care_team'`
|
|
1197
|
+
* rather than throwing, so the caller can offer the support escape hatch. */
|
|
1198
|
+
startCareTeamThread: (text: string, file?: File) => Promise<StartCareTeamResult>;
|
|
1115
1199
|
/** Send a file to the open support thread, with optional accompanying text. */
|
|
1116
1200
|
sendAttachment: (file: File, text?: string) => Promise<boolean>;
|
|
1117
1201
|
/** Exchange an attachment id for a short-lived viewable URL, or null.
|
|
@@ -1291,6 +1375,14 @@ interface UseSubscriptionIntakeFlowOptions {
|
|
|
1291
1375
|
* persisted savings link), or the quote and the charge disagree.
|
|
1292
1376
|
*/
|
|
1293
1377
|
isSavingsMember?: () => boolean;
|
|
1378
|
+
/**
|
|
1379
|
+
* The verified savings member id to send on the unauthenticated signup path,
|
|
1380
|
+
* so an account created AT checkout is linked and charged the savings rate
|
|
1381
|
+
* (the backend accepts and links `savingsMemberId` on register-and-subscribe,
|
|
1382
|
+
* but it was never sent). Read at submit time; null/empty sends nothing. The
|
|
1383
|
+
* authenticated path ignores it — the server prices off the persisted link.
|
|
1384
|
+
*/
|
|
1385
|
+
savingsMemberId?: () => string | null;
|
|
1294
1386
|
/**
|
|
1295
1387
|
* Single-subscription tenants: the site sells ONE subscription program, so a
|
|
1296
1388
|
* member may hold at most one live subscription — of ANY product.
|
|
@@ -1510,4 +1602,4 @@ declare function restoreCartFromLink(): Promise<ResumedCart | null>;
|
|
|
1510
1602
|
*/
|
|
1511
1603
|
declare function startCartCapture(opts?: CartCaptureOptions): () => void;
|
|
1512
1604
|
|
|
1513
|
-
export { type AccountSource, type AddressErrors, type AddressPair, type AddressValue, type AffiliateConversionsFlow, type AffiliateDownlineFlow, type AffiliateLinksFlow, type AffiliateStatsFlow, type AnswerValue, type AttentionAction, type AttentionActionKind, type AttentionItem, type CartCaptureOptions, type CartCheckoutFlow, type CartCheckoutOutcome, type CartCheckoutPricing, type CartSource, type CatalogFlow, CatalogProduct, type CategoryColorOpts, type CheckoutFlow, type CheckoutOutcome, type Conversation, DEFAULT_COLOR_PALETTE, type DashboardActivityItem, type DashboardData, type DashboardRxListItem, type DashboardRxStatus, type DashboardSubscription, type DrugResult, type FlatStep, type FulfillmentStage, type FunnelTelemetry, type JourneyState, type JourneyStep, type JourneyStepKey, LIFECYCLE_BUCKETS, LIFECYCLE_LABEL, LIFECYCLE_TONE, LIVE_SUBSCRIPTION_STATUSES, type MedicationPricing, type MedicationSelectFlow, type MemberPortalData, type MemberPortalRx, type MemberPortalSubscription, type MessagesThread, type PricingBreakdown, type ProductDetailFlow, type PromoPricing, type RefillEvent, type RefillView, type RegisterFlow, type RegisterOutcome, type RequestStatus, type RxRequestStatus, type Severity, type ShipmentInfo, type SignupFlow, type SignupOutcome, type StageState, type SubscribeFlow, type SubscribeOutcome, type SubscriptionIntakeFlow, type SubscriptionIntakeOutcome, type SurveyFlow, type SurveyOption, type SurveyOutcome, type SurveyQuestion, type SurveyResult, TERMINAL_SUBSCRIPTION_STATUSES, type ThreadMessage, type TimelineEvent, type TimelineKind, type Tone, type TrackerRequest, type TrackerRequestStatus, type TrackerSubscription, type TrackerSubscriptionStatus, type TrackerView, type TrackingUrlCarrier, US_STATES, US_STATE_OPTIONS, type UpdatePaymentMethodFlow, type UseAddressPairOptions, type UseCheckoutFlowOptions, type UseMedicationSelectOptions, type UseMessagesThreadOptions, type UseSignupFlowOptions, type UseSubscribeFlowOptions, type UseSubscriptionIntakeFlowOptions, type UseSurveyFlowOptions, type ValidateAddressOptions, type ValidatedResumedPromo, type VisibilityCondition, accountSource, availableStateOptions, availableStates, buildRefillView, buildTimeline, buildTrackerView, buildTrackingUrl, captureFunnelEmail, categoryColor, createFunnelTelemetry, deriveAttention, deriveJourney, emailGateAnswered, formatCardNumber, formatConversationTime, formatCvv, formatEventDate, formatExpiry, formatMessageTime, formatRelativeTime, formatStageDate, hasErrors, isLive, isQuestionVisible, isReconcilable, lifecycleReason, lowestPrice, lowestSalePrice, markEmailGateAnswered, normalizeState, primarySubscription, redeemResumeLink, resetResumeRedemption, restoreCartFromLink, startCartCapture, stateAvailabilityNote, toTrackerRequest, useAddressPair, useAffiliateConversions, useAffiliateDownline, useAffiliateLinks, useAffiliateStats, useCartCheckoutFlow, useCatalog, useCheckoutFlow, useDashboardData, useMedicationSelect, useMemberPortalData, useMessagesThread, useProductDetail, useRegisterFlow, useSignupFlow, useSubscribeFlow, useSubscriptionIntakeFlow, useSurveyFlow, useUpdatePaymentMethodFlow, validateAddress, validateResumedPromo };
|
|
1605
|
+
export { type AccountSource, type AddressErrors, type AddressPair, type AddressValue, type AffiliateConversionsFlow, type AffiliateDownlineFlow, type AffiliateLinksFlow, type AffiliateStatsFlow, type AnswerValue, type AttentionAction, type AttentionActionKind, type AttentionItem, type CartCaptureOptions, type CartCheckoutFlow, type CartCheckoutOutcome, type CartCheckoutPricing, type CartSource, type CatalogFlow, CatalogProduct, type CategoryColorOpts, type CheckoutFlow, type CheckoutOutcome, type Conversation, DEFAULT_COLOR_PALETTE, type DashboardActivityItem, type DashboardData, type DashboardRxListItem, type DashboardRxStatus, type DashboardSubscription, type DrugResult, type FlatStep, type FulfillmentStage, type FunnelTelemetry, type JourneyState, type JourneyStep, type JourneyStepKey, LIFECYCLE_BUCKETS, LIFECYCLE_LABEL, LIFECYCLE_TONE, LIVE_SUBSCRIPTION_STATUSES, type MedicationPricing, type MedicationSelectFlow, type MemberPortalData, type MemberPortalRx, type MemberPortalSubscription, type MessagesChannel, type MessagesIntent, type MessagesThread, type PricingBreakdown, type ProductDetailFlow, type PromoPricing, type RefillEvent, type RefillView, type RegisterFlow, type RegisterOutcome, type RequestStatus, type RxRequestStatus, type Severity, type ShipmentInfo, type SignupFlow, type SignupOutcome, type StageState, type SubscribeFlow, type SubscribeOutcome, type SubscriptionIntakeFlow, type SubscriptionIntakeOutcome, type SurveyFlow, type SurveyOption, type SurveyOutcome, type SurveyQuestion, type SurveyResult, TERMINAL_SUBSCRIPTION_STATUSES, type ThreadMessage, type TimelineEvent, type TimelineKind, type Tone, type TrackerRequest, type TrackerRequestStatus, type TrackerSubscription, type TrackerSubscriptionStatus, type TrackerView, type TrackingUrlCarrier, US_STATES, US_STATE_OPTIONS, type UpdatePaymentMethodFlow, type UseAddressPairOptions, type UseCheckoutFlowOptions, type UseMedicationSelectOptions, type UseMessagesThreadOptions, type UseSignupFlowOptions, type UseSubscribeFlowOptions, type UseSubscriptionIntakeFlowOptions, type UseSurveyFlowOptions, type ValidateAddressOptions, type ValidatedResumedPromo, type VisibilityCondition, accountSource, availableStateOptions, availableStates, buildRefillView, buildTimeline, buildTrackerView, buildTrackingUrl, captureFunnelEmail, categoryColor, createFunnelTelemetry, deriveAttention, deriveJourney, emailGateAnswered, formatCardNumber, formatConversationTime, formatCvv, formatEventDate, formatExpiry, formatMessageTime, formatRelativeTime, formatStageDate, hasErrors, isLive, isQuestionVisible, isReconcilable, lifecycleReason, lowestPrice, lowestSalePrice, markEmailGateAnswered, normalizeState, primarySubscription, redeemResumeLink, resetResumeRedemption, restoreCartFromLink, startCartCapture, stateAvailabilityNote, toTrackerRequest, useAddressPair, useAffiliateConversions, useAffiliateDownline, useAffiliateLinks, useAffiliateStats, useCartCheckoutFlow, useCatalog, useCheckoutFlow, useDashboardData, useMedicationSelect, useMemberPortalData, useMessagesThread, useProductDetail, useRegisterFlow, useSignupFlow, useSubscribeFlow, useSubscriptionIntakeFlow, useSurveyFlow, useUpdatePaymentMethodFlow, validateAddress, validateResumedPromo };
|
package/dist/flows/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { DEFAULT_COLOR_PALETTE, categoryColor, lowestPrice, lowestSalePrice, restoreCartFromLink, startCartCapture, useCatalog, useMedicationSelect, useProductDetail, useSubscriptionIntakeFlow, validateResumedPromo } from '../chunk/
|
|
2
|
-
import '../chunk/
|
|
3
|
-
export { LIFECYCLE_BUCKETS, LIFECYCLE_LABEL, LIFECYCLE_TONE, LIVE_SUBSCRIPTION_STATUSES, TERMINAL_SUBSCRIPTION_STATUSES, US_STATES, US_STATE_OPTIONS, accountSource, availableStateOptions, availableStates, buildRefillView, buildTimeline, buildTrackerView, buildTrackingUrl, captureFunnelEmail, createFunnelTelemetry, deriveAttention, deriveJourney, emailGateAnswered, formatCardNumber, formatConversationTime, formatCvv, formatEventDate, formatExpiry, formatMessageTime, formatRelativeTime, formatStageDate, hasErrors, isLive, isQuestionVisible, isReconcilable, lifecycleReason, markEmailGateAnswered, normalizeState, primarySubscription, redeemResumeLink, resetResumeRedemption, stateAvailabilityNote, toTrackerRequest, useAddressPair, useAffiliateConversions, useAffiliateDownline, useAffiliateLinks, useAffiliateStats, useCartCheckoutFlow, useCheckoutFlow, useDashboardData, useMemberPortalData, useMessagesThread, useRegisterFlow, useSignupFlow, useSubscribeFlow, useSurveyFlow, useSurveyV2Flow, useUpdatePaymentMethodFlow, validateAddress } from '../chunk/
|
|
4
|
-
import '../chunk/
|
|
5
|
-
import '../chunk/
|
|
6
|
-
import '../chunk/
|
|
1
|
+
export { DEFAULT_COLOR_PALETTE, categoryColor, lowestPrice, lowestSalePrice, restoreCartFromLink, startCartCapture, useCatalog, useMedicationSelect, useProductDetail, useSubscriptionIntakeFlow, validateResumedPromo } from '../chunk/NSRQXBHK.js';
|
|
2
|
+
import '../chunk/BVLA7ATM.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/WUE4VQBA.js';
|
|
4
|
+
import '../chunk/QTGJY3YQ.js';
|
|
5
|
+
import '../chunk/MLXPHJLR.js';
|
|
6
|
+
import '../chunk/BEDW4XUM.js';
|
|
7
7
|
import '../chunk/5XGPFYIJ.js';
|
|
8
8
|
//# sourceMappingURL=index.js.map
|
|
9
9
|
//# sourceMappingURL=index.js.map
|
package/dist/flows/index.jsx
CHANGED
|
@@ -10,8 +10,8 @@ import {
|
|
|
10
10
|
useProductDetail,
|
|
11
11
|
useSubscriptionIntakeFlow,
|
|
12
12
|
validateResumedPromo
|
|
13
|
-
} from "../chunk/
|
|
14
|
-
import "../chunk/
|
|
13
|
+
} from "../chunk/5HNZ7SEM.jsx";
|
|
14
|
+
import "../chunk/4ZSZHZQV.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/
|
|
73
|
-
import "../chunk/
|
|
74
|
-
import "../chunk/
|
|
75
|
-
import "../chunk/
|
|
72
|
+
} from "../chunk/HXMLRDIJ.jsx";
|
|
73
|
+
import "../chunk/NBB2VTQK.jsx";
|
|
74
|
+
import "../chunk/WLEIDQ5M.jsx";
|
|
75
|
+
import "../chunk/EVCGDF5D.jsx";
|
|
76
76
|
import "../chunk/LDZIUFDM.jsx";
|
|
77
77
|
export {
|
|
78
78
|
DEFAULT_COLOR_PALETTE,
|
package/dist/index/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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
|
|
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 BillingReminderSettings, a4 as CatalogProduct, a5 as CheckoutAddress, a6 as CheckoutPayload, a7 as CheckoutResult, a8 as CommissionConfig, a9 as CommissionStatus, aa as CompleteSurveyPayload, ab as CreateAffiliatePayload, ac as CreateAffiliateProgramPayload, ad as CreateOrderPayload, ae as CreateRequestPayload, af as CreateSubscriptionPayload, ag as CustomTemplate, ah as CustomTemplateInput, ai as CustomerDiscountConfig, aj as DeliveryInfo, ak as DiscountType, al as EmailNotificationSettings, am as EmailTemplatesMap, an as LoginPayload, ao as MemberPrescriptionRequest, ap as MemberSurveyMode, aq as MemberSurveyResponseSummary, ar as MemberSurveyTranscript, as as MemberSurveyTranscriptItem, at as MemberSurveyTranscriptSection, au as MembersMeResponse, av as Order, aw as OrderItemInput, ax as PaginationParams, ay as PaymentCallbackPayload, az as PaymentInitiatePayload, aA as PaymentType, aB as PendingRenewalSurvey, aC as Placeholder, aD as ProductSaleSummary, aE as PromoValidationResponse, aF as PublicCategory, aG as RegisterAndSubscribePayload, aH as RegisterPayload, aI as RenewalStatus, aJ as SUPPORT_ATTACHMENT_MAX_BYTES, aK as SUPPORT_ATTACHMENT_MIME_TYPES, aL as SelectDrugPayload, aM as SendMessagePayload, aN as SendToPharmacyPayload, aO as SupportAttachment, aP as SupportMessage, aQ as SupportRealtimeToken, aR as SupportThread, aS as SupportThreadCategory, aT as SupportThreadStatus, aU as SurveySubmitPayload, aV as TemplatePlaceholdersMap, aW as TemplateText, aX as TokenTrackName, aY as UpdateAffiliatePayload, aZ as UpdateAffiliateProgramPayload, a_ as UpdatePaymentMethodPayload, a$ as UpdateProfilePayload, b0 as User, b1 as addressesApi, b2 as adminAffiliatesApi, b3 as adminApi, b4 as affiliateAuthStorageKey, b5 as affiliatePortalApi, b6 as apexApi, b7 as apiFetch, b8 as authApi, b9 as authStorageKey, ba as clearAffiliateTokens, bb as clearTokens, bc as getAffiliateTokens, bd as getTokens, be as membersApi, bf as messagesApi, bg as newIdempotencyKey, bh as onTokensCleared, bi as ordersApi, bj as paymentsApi, bk as productsApi, bl as promoCodesApi, bm as setAffiliateTokens, bn as setTokens, bo as subscriptionsApi, bp as supportApi, bq as usersApi } from '../client-B6Kt7LWo.js';
|
|
5
5
|
export { EmbedApiError as ApexV2ApiError, EmbedApiClient, EmbedApiClientOptions, EmbedApiError, EmbedEvent, EmbedEventType, FetchLike, PatientInfo, V2Answer, V2ComposedSurvey, V2DrugResult, V2QualificationResult, V2Question, V2QuestionOption, V2Section, V2Step, V2SubmitResult, V2VisibilityCondition, createEmbedApiClient, disqualificationReasonText, disqualifiedDrugIds, qualifiedDrugIds } from '@apextelemed/survey-core';
|
|
6
6
|
export { captureAffiliateRef, capturePromoCode, clearAffiliateRef, clearPromoCode, readAffiliateRef, readPromoCode } from '../api/index.js';
|
|
7
7
|
export { C as CartCaptureConfig, a as CartSnapshotLine, F as FunnelConfig, b as FunnelDraftPayload, R as ResumedCart, c as ResumedCartLine, d as ResumedDraft, e as adoptCartId, f as adoptFunnelSessionId, g as captureAuthHeader, h as cartId, i as fetchCartConfig, j as fetchFunnelConfig, k as fetchResumedCart, l as fetchResumedDraft, m as funnelSessionId, p as peekFunnelSessionId, n as postCartSnapshot, o as postFunnelEvent, r as readCartToken, q as readResumeToken, s as resetCartConfigCache, t as resetCartId, u as resetFunnelConfigCache, v as saveFunnelDraft, w as stripCartToken, x as stripResumeToken } from '../cart-BwUwSzWh.js';
|
|
8
8
|
export { MedicationSelection, affiliateAuthStore, authStore, medicationStore } from '../stores/index.js';
|
|
9
9
|
export { A as AppliedPromoCode, C as CartItem, c as cartStore } from '../cart-D4mVX_zx.js';
|
|
10
10
|
import { AddressPair } from '../flows/index.js';
|
|
11
|
-
export { AccountSource, AddressErrors, AddressValue, AffiliateConversionsFlow, AffiliateDownlineFlow, AffiliateLinksFlow, AffiliateStatsFlow, AnswerValue, AttentionAction, AttentionActionKind, AttentionItem, CartCaptureOptions, CartCheckoutFlow, CartCheckoutOutcome, CartCheckoutPricing, CartSource, CatalogFlow, CategoryColorOpts, CheckoutFlow, CheckoutOutcome, Conversation, DEFAULT_COLOR_PALETTE, DashboardActivityItem, DashboardData, DashboardRxListItem, DashboardRxStatus, DashboardSubscription, DrugResult, FlatStep, FulfillmentStage, FunnelTelemetry, JourneyState, JourneyStep, JourneyStepKey, LIFECYCLE_BUCKETS, LIFECYCLE_LABEL, LIFECYCLE_TONE, LIVE_SUBSCRIPTION_STATUSES, MedicationPricing, MedicationSelectFlow, MemberPortalData, MemberPortalRx, MemberPortalSubscription, MessagesThread, PricingBreakdown, ProductDetailFlow, PromoPricing, RefillEvent, RefillView, RegisterFlow, RegisterOutcome, RequestStatus, RxRequestStatus, Severity, ShipmentInfo, SignupFlow, SignupOutcome, StageState, SubscribeFlow, SubscribeOutcome, SubscriptionIntakeFlow, SubscriptionIntakeOutcome, SurveyFlow, SurveyOption, SurveyOutcome, SurveyQuestion, SurveyResult, TERMINAL_SUBSCRIPTION_STATUSES, ThreadMessage, TimelineEvent, TimelineKind, Tone, TrackerRequest, TrackerRequestStatus, TrackerSubscription, TrackerSubscriptionStatus, TrackerView, TrackingUrlCarrier, US_STATES, US_STATE_OPTIONS, UpdatePaymentMethodFlow, UseAddressPairOptions, UseCheckoutFlowOptions, UseMedicationSelectOptions, UseMessagesThreadOptions, UseSignupFlowOptions, UseSubscribeFlowOptions, UseSubscriptionIntakeFlowOptions, UseSurveyFlowOptions, ValidateAddressOptions, ValidatedResumedPromo, VisibilityCondition, accountSource, availableStateOptions, availableStates, buildRefillView, buildTimeline, buildTrackerView, buildTrackingUrl, captureFunnelEmail, categoryColor, createFunnelTelemetry, deriveAttention, deriveJourney, emailGateAnswered, formatCardNumber, formatConversationTime, formatCvv, formatEventDate, formatExpiry, formatMessageTime, formatRelativeTime, formatStageDate, hasErrors, isLive, isQuestionVisible, isReconcilable, lifecycleReason, lowestPrice, lowestSalePrice, markEmailGateAnswered, normalizeState, primarySubscription, redeemResumeLink, resetResumeRedemption, restoreCartFromLink, startCartCapture, stateAvailabilityNote, toTrackerRequest, useAddressPair, useAffiliateConversions, useAffiliateDownline, useAffiliateLinks, useAffiliateStats, useCartCheckoutFlow, useCatalog, useCheckoutFlow, useDashboardData, useMedicationSelect, useMemberPortalData, useMessagesThread, useProductDetail, useRegisterFlow, useSignupFlow, useSubscribeFlow, useSubscriptionIntakeFlow, useSurveyFlow, useUpdatePaymentMethodFlow, validateAddress, validateResumedPromo } from '../flows/index.js';
|
|
11
|
+
export { AccountSource, AddressErrors, AddressValue, AffiliateConversionsFlow, AffiliateDownlineFlow, AffiliateLinksFlow, AffiliateStatsFlow, AnswerValue, AttentionAction, AttentionActionKind, AttentionItem, CartCaptureOptions, CartCheckoutFlow, CartCheckoutOutcome, CartCheckoutPricing, CartSource, CatalogFlow, CategoryColorOpts, CheckoutFlow, CheckoutOutcome, Conversation, DEFAULT_COLOR_PALETTE, DashboardActivityItem, DashboardData, DashboardRxListItem, DashboardRxStatus, DashboardSubscription, DrugResult, FlatStep, FulfillmentStage, FunnelTelemetry, JourneyState, JourneyStep, JourneyStepKey, LIFECYCLE_BUCKETS, LIFECYCLE_LABEL, LIFECYCLE_TONE, LIVE_SUBSCRIPTION_STATUSES, MedicationPricing, MedicationSelectFlow, MemberPortalData, MemberPortalRx, MemberPortalSubscription, MessagesChannel, MessagesIntent, MessagesThread, PricingBreakdown, ProductDetailFlow, PromoPricing, RefillEvent, RefillView, RegisterFlow, RegisterOutcome, RequestStatus, RxRequestStatus, Severity, ShipmentInfo, SignupFlow, SignupOutcome, StageState, SubscribeFlow, SubscribeOutcome, SubscriptionIntakeFlow, SubscriptionIntakeOutcome, SurveyFlow, SurveyOption, SurveyOutcome, SurveyQuestion, SurveyResult, TERMINAL_SUBSCRIPTION_STATUSES, ThreadMessage, TimelineEvent, TimelineKind, Tone, TrackerRequest, TrackerRequestStatus, TrackerSubscription, TrackerSubscriptionStatus, TrackerView, TrackingUrlCarrier, US_STATES, US_STATE_OPTIONS, UpdatePaymentMethodFlow, UseAddressPairOptions, UseCheckoutFlowOptions, UseMedicationSelectOptions, UseMessagesThreadOptions, UseSignupFlowOptions, UseSubscribeFlowOptions, UseSubscriptionIntakeFlowOptions, UseSurveyFlowOptions, ValidateAddressOptions, ValidatedResumedPromo, VisibilityCondition, accountSource, availableStateOptions, availableStates, buildRefillView, buildTimeline, buildTrackerView, buildTrackingUrl, captureFunnelEmail, categoryColor, createFunnelTelemetry, deriveAttention, deriveJourney, emailGateAnswered, formatCardNumber, formatConversationTime, formatCvv, formatEventDate, formatExpiry, formatMessageTime, formatRelativeTime, formatStageDate, hasErrors, isLive, isQuestionVisible, isReconcilable, lifecycleReason, lowestPrice, lowestSalePrice, markEmailGateAnswered, normalizeState, primarySubscription, redeemResumeLink, resetResumeRedemption, restoreCartFromLink, startCartCapture, stateAvailabilityNote, toTrackerRequest, useAddressPair, useAffiliateConversions, useAffiliateDownline, useAffiliateLinks, useAffiliateStats, useCartCheckoutFlow, useCatalog, useCheckoutFlow, useDashboardData, useMedicationSelect, useMemberPortalData, useMessagesThread, useProductDetail, useRegisterFlow, useSignupFlow, useSubscribeFlow, useSubscriptionIntakeFlow, useSurveyFlow, useUpdatePaymentMethodFlow, validateAddress, validateResumedPromo } from '../flows/index.js';
|
|
12
12
|
export { U as UseSurveyV2FlowOptions, u as useSurveyV2Flow } from '../surveyV2-BgQHK0GE.js';
|
|
13
13
|
export { AdminAuthAdapter, AdminDashboard, AdminDashboardProps, AdminTab, AdminTabGroup, AdminToast, AffiliateAuthAdapter, AffiliateForgotPassword, AffiliateForgotPasswordProps, AffiliateLogin, AffiliateLoginProps, AffiliatePortal, AffiliatePortalProps, AffiliatePortalTab, AffiliateRegister, AffiliateRegisterProps, AffiliateResetPassword, AffiliateResetPasswordProps, AffiliateSubTab, AffiliatesProps, CartCheckoutPage, CartCheckoutPageProps, CheckoutPage, CheckoutPageProps, EmailTemplates, ForgotPasswordPage, ForgotPasswordPageProps, LegalLink, MedicationGuideContent, MedicationGuideResolver, MemberAuthAdapter, MemberPortal, MemberPortalBrand, MemberPortalProps, MemberPortalRoutes, PatientDashboardPreview, PatientDashboardPreviewProps, RegisterPage, RegisterPageProps, ResetPasswordPage, ResetPasswordPageProps, SignupPage, SignupPageProps, SubscribePage, SubscribePageProps, SurveyPage, SurveyPageProps, SurveyV2Page, SurveyV2PageProps, UpdatePaymentMethod, UpdatePaymentMethodProps } from '../pages/index.js';
|
|
14
14
|
import { JSX } from 'solid-js';
|
package/dist/index/index.js
CHANGED
|
@@ -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/
|
|
3
|
-
export { adoptCartId, capturePromoCode, cartId, clearPromoCode, fetchCartConfig, fetchResumedCart, postCartSnapshot, readCartToken, readPromoCode, resetCartConfigCache, resetCartId, stripCartToken } from '../chunk/
|
|
4
|
-
export { AddressFields, AdminDashboard, AffiliateForgotPassword, AffiliateLogin, AffiliatePortal, AffiliateRegister, AffiliateResetPassword, CartCheckoutPage, CheckoutPage, EmailTemplates, ForgotPasswordPage, MemberPortal, PatientDashboardPreview, RegisterPage, ResetPasswordPage, SignupPage, SubscribePage, SurveyPage, SurveyV2Page, UpdatePaymentMethod } from '../chunk/
|
|
2
|
+
export { DEFAULT_COLOR_PALETTE, categoryColor, lowestPrice, lowestSalePrice, restoreCartFromLink, startCartCapture, useCatalog, useMedicationSelect, useProductDetail, useSubscriptionIntakeFlow, validateResumedPromo } from '../chunk/NSRQXBHK.js';
|
|
3
|
+
export { adoptCartId, capturePromoCode, cartId, clearPromoCode, fetchCartConfig, fetchResumedCart, postCartSnapshot, readCartToken, readPromoCode, resetCartConfigCache, resetCartId, stripCartToken } from '../chunk/BVLA7ATM.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/HKNTNZRW.js';
|
|
5
5
|
export { EmbedApiError2 as ApexV2ApiError, EmbedApiError, createEmbedApiClient, disqualificationReasonText, disqualifiedDrugIds, qualifiedDrugIds } from '../chunk/LZWA44KD.js';
|
|
6
|
-
export { LIFECYCLE_BUCKETS, LIFECYCLE_LABEL, LIFECYCLE_TONE, LIVE_SUBSCRIPTION_STATUSES, TERMINAL_SUBSCRIPTION_STATUSES, US_STATES, US_STATE_OPTIONS, accountSource, availableStateOptions, availableStates, buildRefillView, buildTimeline, buildTrackerView, buildTrackingUrl, captureFunnelEmail, createFunnelTelemetry, deriveAttention, deriveJourney, emailGateAnswered, formatCardNumber, formatConversationTime, formatCvv, formatEventDate, formatExpiry, formatMessageTime, formatRelativeTime, formatStageDate, hasErrors, isLive, isQuestionVisible, isReconcilable, lifecycleReason, markEmailGateAnswered, normalizeState, primarySubscription, redeemResumeLink, resetResumeRedemption, stateAvailabilityNote, toTrackerRequest, useAddressPair, useAffiliateConversions, useAffiliateDownline, useAffiliateLinks, useAffiliateStats, useCartCheckoutFlow, useCheckoutFlow, useDashboardData, useMemberPortalData, useMessagesThread, useRegisterFlow, useSignupFlow, useSubscribeFlow, useSurveyFlow, useSurveyV2Flow, useUpdatePaymentMethodFlow, validateAddress } from '../chunk/
|
|
7
|
-
export { adoptFunnelSessionId, captureAuthHeader, fetchFunnelConfig, fetchResumedDraft, funnelSessionId, peekFunnelSessionId, postFunnelEvent, readResumeToken, resetFunnelConfigCache, saveFunnelDraft, stripResumeToken } from '../chunk/
|
|
6
|
+
export { 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/WUE4VQBA.js';
|
|
7
|
+
export { adoptFunnelSessionId, captureAuthHeader, fetchFunnelConfig, fetchResumedDraft, funnelSessionId, peekFunnelSessionId, postFunnelEvent, readResumeToken, resetFunnelConfigCache, saveFunnelDraft, stripResumeToken } from '../chunk/QTGJY3YQ.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/
|
|
12
|
-
export { ApiError, SUPPORT_ATTACHMENT_MAX_BYTES, SUPPORT_ATTACHMENT_MIME_TYPES, addressesApi, adminAffiliatesApi, adminApi, affiliateAuthStorageKey, affiliatePortalApi, apexApi, apiFetch, authApi, authStorageKey, captureAffiliateRef, clearAffiliateRef, clearAffiliateTokens, clearTokens, getAffiliateTokens, getTokens, membersApi, messagesApi, newIdempotencyKey, onTokensCleared, ordersApi, paymentsApi, productsApi, promoCodesApi, readAffiliateRef, setAffiliateTokens, setTokens, subscriptionsApi, supportApi, usersApi } from '../chunk/
|
|
11
|
+
export { affiliateAuth_default as affiliateAuthStore, auth_default as authStore, cart_default as cartStore, medication_default as medicationStore } from '../chunk/MLXPHJLR.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/BEDW4XUM.js';
|
|
13
13
|
export { configure, getConfig } from '../chunk/5XGPFYIJ.js';
|
|
14
14
|
//# sourceMappingURL=index.js.map
|
|
15
15
|
//# sourceMappingURL=index.js.map
|
package/dist/index/index.jsx
CHANGED
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
useProductDetail,
|
|
12
12
|
useSubscriptionIntakeFlow,
|
|
13
13
|
validateResumedPromo
|
|
14
|
-
} from "../chunk/
|
|
14
|
+
} from "../chunk/5HNZ7SEM.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/
|
|
28
|
+
} from "../chunk/4ZSZHZQV.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/
|
|
50
|
+
} from "../chunk/SSVJ27MR.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/
|
|
116
|
+
} from "../chunk/HXMLRDIJ.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/
|
|
129
|
+
} from "../chunk/NBB2VTQK.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/
|
|
143
|
+
} from "../chunk/WLEIDQ5M.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/
|
|
177
|
+
} from "../chunk/EVCGDF5D.jsx";
|
|
178
178
|
import {
|
|
179
179
|
configure,
|
|
180
180
|
getConfig
|