@apextelemed/partner-core 0.8.0 → 0.10.0-dev.21

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 +26 -0
  2. package/dist/api/index.d.ts +1 -1
  3. package/dist/api/index.js +3 -3
  4. package/dist/api/index.jsx +5 -3
  5. package/dist/chunk/{ZOZBYBNI.js → 4CTTOSOW.js} +3 -3
  6. package/dist/chunk/{ZOZBYBNI.js.map → 4CTTOSOW.js.map} +1 -1
  7. package/dist/chunk/{AW6DQGQR.jsx → 75F4YFYC.jsx} +734 -6
  8. package/dist/chunk/{JF2KCOOX.jsx → BALHOD46.jsx} +95 -6
  9. package/dist/chunk/{HYLIHVIE.js → CYGHTTCA.js} +3670 -1305
  10. package/dist/chunk/CYGHTTCA.js.map +1 -0
  11. package/dist/chunk/{GL3OY7W5.jsx → DBW2RWHV.jsx} +2 -2
  12. package/dist/chunk/{4HOG2LES.js → DHVOZQQ2.js} +3 -3
  13. package/dist/chunk/{4HOG2LES.js.map → DHVOZQQ2.js.map} +1 -1
  14. package/dist/chunk/{6UXFHBE2.jsx → ET3GPUTR.jsx} +5 -5
  15. package/dist/chunk/{HEQMD3X4.js → JL7B6RHG.js} +3 -3
  16. package/dist/chunk/{HEQMD3X4.js.map → JL7B6RHG.js.map} +1 -1
  17. package/dist/chunk/{HKXDH266.js → L2ZMGXWR.js} +707 -7
  18. package/dist/chunk/L2ZMGXWR.js.map +1 -0
  19. package/dist/chunk/{RUA3XYFO.js → NSEWFPUP.js} +96 -8
  20. package/dist/chunk/NSEWFPUP.js.map +1 -0
  21. package/dist/chunk/{GNPMRN6O.jsx → OA3A3PUC.jsx} +3145 -1328
  22. package/dist/chunk/{2OOCTPLG.jsx → QIBVNW2V.jsx} +2 -2
  23. package/dist/chunk/{EHKYRS2R.js → TYXWVNC3.js} +6 -6
  24. package/dist/chunk/{EHKYRS2R.js.map → TYXWVNC3.js.map} +1 -1
  25. package/dist/chunk/{QAFLR3EN.jsx → ZW2HBOS5.jsx} +2 -2
  26. package/dist/{client-ZnA3JEbd.d.ts → client-CDpCqI4d.d.ts} +236 -6
  27. package/dist/flows/index.d.ts +333 -7
  28. package/dist/flows/index.js +6 -6
  29. package/dist/flows/index.jsx +46 -6
  30. package/dist/index/index.d.ts +2 -2
  31. package/dist/index/index.js +7 -7
  32. package/dist/index/index.jsx +49 -7
  33. package/dist/pages/index.d.ts +2 -2
  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/admin.css +423 -1
  40. package/package.json +4 -1
  41. package/dist/chunk/HKXDH266.js.map +0 -1
  42. package/dist/chunk/HYLIHVIE.js.map +0 -1
  43. package/dist/chunk/RUA3XYFO.js.map +0 -1
@@ -178,18 +178,30 @@ interface UpdatePaymentMethodPayload {
178
178
  zip?: string;
179
179
  };
180
180
  }
181
+ /**
182
+ * An email's editable copy. `body` is HTML limited to what the backend's
183
+ * sanitizer keeps: `<p>`, `<h2>`, `<ul>`/`<ol>`/`<li>`, `<strong>`, `<em>`,
184
+ * `<u>`, `<br>`, `<a href>`, and a top-level `<a data-button href>` button.
185
+ * Placeholders are literal `{{name}}` text, or lead an `href`.
186
+ */
181
187
  interface TemplateText {
182
188
  subject: string;
183
- greeting: string;
184
- bodyParagraphs: string[];
185
- closingText: string;
189
+ body: string;
186
190
  }
187
191
  interface EmailTemplatesMap {
188
192
  [key: string]: TemplateText;
189
193
  }
194
+ /**
195
+ * How a placeholder's value may be used. `text`: a plain value. `url`: a bare
196
+ * URL, meant as the target of a link or button. `html`: a ready-made link
197
+ * whose wording the backend fixes (e.g. `{{unsubscribeLink}}`).
198
+ */
199
+ type PlaceholderKind = 'text' | 'url' | 'html';
190
200
  interface Placeholder {
201
+ /** Including the braces: `{{firstName}}`. */
191
202
  token: string;
192
203
  description: string;
204
+ kind: PlaceholderKind;
193
205
  }
194
206
  /** Per-template placeholder tokens, keyed by template key. */
195
207
  interface TemplatePlaceholdersMap {
@@ -221,6 +233,28 @@ interface EmailNotificationSettings {
221
233
  /** Keyed by template key; the backend returns every event it knows. */
222
234
  enabledEvents: Record<string, boolean>;
223
235
  }
236
+ /** `self_serve`: the admin switches it. `request`: the platform team turns it on when asked. */
237
+ type TenantFeatureAccess = 'self_serve' | 'request';
238
+ /** One optional feature of the tenant, as the backend describes it. */
239
+ interface TenantFeature {
240
+ key: string;
241
+ label: string;
242
+ description: string;
243
+ access: TenantFeatureAccess;
244
+ enabled: boolean;
245
+ /** Self-serve only: the feature that has to be on before this one can be. */
246
+ requires?: {
247
+ key: string;
248
+ label: string;
249
+ enabled: boolean;
250
+ };
251
+ /** Request only: present while an ask is pending. */
252
+ request?: {
253
+ requestedAt: string;
254
+ requestedBy: string;
255
+ note?: string;
256
+ };
257
+ }
224
258
  interface BillingReminderSettings {
225
259
  renewalReminder: {
226
260
  enabled: boolean;
@@ -1097,6 +1131,44 @@ interface AdminProduct {
1097
1131
  thumbnailUrl: string | null;
1098
1132
  createdAt: string;
1099
1133
  updatedAt: string;
1134
+ /** True when `apexDrugId` is a partner catalog item (`cat_…`): the product is
1135
+ * pricing + storefront metadata laid over ONE Apex item whose structure
1136
+ * (strengths, pharmacy drugs, preference order) Apex owns. The overlay fields
1137
+ * below are absent from a backend that predates the unified catalog, so read
1138
+ * them as optional. */
1139
+ catalogOverlay?: boolean;
1140
+ /** `ok` Apex lists the item; `missing` it no longer does; `unavailable` Apex
1141
+ * could not be asked (strengths unknown, nothing flagged); `none` the product
1142
+ * has no Apex pointer (not prescribed). */
1143
+ apexItemStatus?: AdminApexItemStatus;
1144
+ /** Apex's current dose ladder with the price a customer would pay for each
1145
+ * dose. Fresh from Apex on every read; never a stored copy. */
1146
+ strengths?: AdminProductStrength[];
1147
+ /** Stored prices whose dose Apex stopped offering. They stay inside
1148
+ * `dosagePrices` (never sold) until an admin removes them. */
1149
+ orphanedDosePrices?: AdminOrphanedDosePrice[];
1150
+ /** Something the product offers cannot be sold for want of a price. */
1151
+ needsPrice?: boolean;
1152
+ }
1153
+ /** Read-only fields the backend derives from Apex; never sent on a write. */
1154
+ type AdminProductOverlayField = 'catalogOverlay' | 'apexItemStatus' | 'strengths' | 'orphanedDosePrices' | 'needsPrice';
1155
+ type AdminApexItemStatus = 'ok' | 'missing' | 'unavailable' | 'none';
1156
+ interface AdminProductStrength {
1157
+ dosage: string;
1158
+ /** The Apex dose id (`cdose_…`) the price hangs on. */
1159
+ apexSkuId: string | null;
1160
+ price: number | null;
1161
+ savingsPrice: number | null;
1162
+ priceSource: 'dose' | 'base' | null;
1163
+ needsPrice: boolean;
1164
+ }
1165
+ type AdminOrphanReason = 'dose_not_listed' | 'dose_inactive' | 'item_not_listed';
1166
+ interface AdminOrphanedDosePrice {
1167
+ dosage: string;
1168
+ apexSkuId: string | null;
1169
+ price: number | null;
1170
+ savingsPrice: number | null;
1171
+ reason: AdminOrphanReason;
1100
1172
  }
1101
1173
  interface AdminCategory extends CategoryMetadata {
1102
1174
  id: string;
@@ -1424,6 +1496,150 @@ interface AdminRefundResult {
1424
1496
  error?: string;
1425
1497
  code?: string;
1426
1498
  }
1499
+ type CatalogClassification = 'controlled' | 'non-controlled';
1500
+ type CatalogDoseModel = 'clinical' | 'sku';
1501
+ interface CatalogItem {
1502
+ /** `cat_…` — the id a product's `apexDrugId` points at. */
1503
+ id: string;
1504
+ partnerId?: string;
1505
+ name: string;
1506
+ description?: string | null;
1507
+ classification: CatalogClassification;
1508
+ /** 'clinical' doses carry a value + unit and are portable across pharmacies;
1509
+ * 'sku' doses are the routed pharmacy's own labels. Fixed after creation. */
1510
+ doseModel: CatalogDoseModel;
1511
+ active: boolean;
1512
+ createdAt?: string;
1513
+ updatedAt?: string | null;
1514
+ }
1515
+ interface CatalogDose {
1516
+ /** `cdose_…` — the id a product's price for this strength hangs on. */
1517
+ id: string;
1518
+ itemId: string;
1519
+ label: string;
1520
+ value?: number | null;
1521
+ unit?: string | null;
1522
+ displayOrder: number;
1523
+ active: boolean;
1524
+ }
1525
+ interface CatalogFulfillment {
1526
+ id: string;
1527
+ itemId: string;
1528
+ pharmacyId: string;
1529
+ /** The pharmacy drug that fills the item at that pharmacy. */
1530
+ drugId: string;
1531
+ /** Lower wins. */
1532
+ preferenceRank: number;
1533
+ enabled: boolean;
1534
+ /** Where this product may not go though the pharmacy serves the state. */
1535
+ excludedStates: string[];
1536
+ }
1537
+ interface CatalogMatrixCell {
1538
+ producible: boolean;
1539
+ /** Operator-readable; present only when it can't be made. */
1540
+ detail?: string;
1541
+ }
1542
+ /** An item with its ladder, its mappings and whether each rung can be produced
1543
+ * at each pharmacy. Apex answers this after every write too. */
1544
+ interface CatalogReadiness {
1545
+ item: CatalogItem;
1546
+ doses: CatalogDose[];
1547
+ fulfillments: CatalogFulfillment[];
1548
+ /** doseId → fulfillmentId → cell. */
1549
+ matrix: Record<string, Record<string, CatalogMatrixCell>>;
1550
+ /** fulfillmentId → setup problems that block the whole mapping. */
1551
+ fulfillmentProblems: Record<string, string[]>;
1552
+ warnings: string[];
1553
+ }
1554
+ /** A pharmacy drug the partner may map ("pick a pharmacy drug"). */
1555
+ interface CatalogMappableDrug {
1556
+ id: string;
1557
+ name: string;
1558
+ pharmacyId: string | null;
1559
+ pharmacyName: string | null;
1560
+ classification: CatalogClassification;
1561
+ }
1562
+ interface CatalogEquivalentSuggestions {
1563
+ suggestion: true;
1564
+ drugId: string;
1565
+ activesKey: string | null;
1566
+ matches: Array<{
1567
+ drugId: string;
1568
+ name: string;
1569
+ pharmacyId: string | null;
1570
+ classification: string;
1571
+ }>;
1572
+ note: string;
1573
+ }
1574
+ interface CatalogDoseSuggestion {
1575
+ label: string;
1576
+ value: number | null;
1577
+ unit: string | null;
1578
+ /** Which mapped drugs carry this rung. */
1579
+ fromDrugIds: string[];
1580
+ }
1581
+ interface CatalogDoseSuggestions {
1582
+ doseModel: CatalogDoseModel;
1583
+ suggestions: CatalogDoseSuggestion[];
1584
+ }
1585
+ interface CatalogItemInput {
1586
+ name: string;
1587
+ classification: CatalogClassification;
1588
+ doseModel: CatalogDoseModel;
1589
+ description?: string;
1590
+ active?: boolean;
1591
+ }
1592
+ interface CatalogDoseInput {
1593
+ label: string;
1594
+ value?: number;
1595
+ unit?: string;
1596
+ displayOrder?: number;
1597
+ active?: boolean;
1598
+ }
1599
+ interface CatalogFulfillmentInput {
1600
+ pharmacyId: string;
1601
+ drugId: string;
1602
+ preferenceRank?: number;
1603
+ enabled?: boolean;
1604
+ /** A write REPLACES the list: send the full set you want, omit to keep. */
1605
+ excludedStates?: string[];
1606
+ }
1607
+ /** The 17 `/admin/catalog` routes, one method each. Admin-only. */
1608
+ declare const adminCatalogApi: {
1609
+ /** Same-actives drugs at OTHER pharmacies — advisory, a human decides. */
1610
+ suggestEquivalents(drugId: string): Promise<CatalogEquivalentSuggestions>;
1611
+ /** The pharmacy drugs this tenant may map to a catalog item. */
1612
+ listDrugs(): Promise<{
1613
+ drugs: CatalogMappableDrug[];
1614
+ }>;
1615
+ /** Seeds an item, its dose ladder and its first fulfillment from a drug. */
1616
+ createItemFromDrug(drugId: string): Promise<CatalogReadiness>;
1617
+ listItems(): Promise<{
1618
+ items: CatalogReadiness[];
1619
+ }>;
1620
+ createItem(input: CatalogItemInput): Promise<CatalogItem>;
1621
+ getItem(itemId: string): Promise<CatalogReadiness>;
1622
+ updateItem(itemId: string, patch_: Partial<CatalogItemInput>): Promise<CatalogItem>;
1623
+ deleteItem(itemId: string): Promise<{
1624
+ success: boolean;
1625
+ }>;
1626
+ getMatrix(itemId: string): Promise<CatalogReadiness>;
1627
+ getSuggestedDoses(itemId: string): Promise<CatalogDoseSuggestions>;
1628
+ createDose(itemId: string, input: CatalogDoseInput): Promise<CatalogDose>;
1629
+ updateDose(itemId: string, doseId: string, patch_: Partial<CatalogDoseInput>): Promise<CatalogDose>;
1630
+ deleteDose(itemId: string, doseId: string): Promise<{
1631
+ success: boolean;
1632
+ }>;
1633
+ /** Renumbers the item's fulfillments 1..n in the order given. */
1634
+ setFulfillmentOrder(itemId: string, orderedIds: string[]): Promise<{
1635
+ fulfillments: CatalogFulfillment[];
1636
+ }>;
1637
+ createFulfillment(itemId: string, input: CatalogFulfillmentInput): Promise<CatalogFulfillment>;
1638
+ updateFulfillment(itemId: string, fulfillmentId: string, patch_: Partial<Pick<CatalogFulfillmentInput, "preferenceRank" | "enabled" | "excludedStates">>): Promise<CatalogFulfillment>;
1639
+ deleteFulfillment(itemId: string, fulfillmentId: string): Promise<{
1640
+ success: boolean;
1641
+ }>;
1642
+ };
1427
1643
  declare const adminApi: {
1428
1644
  getDashboard(): Promise<AdminDashboardStats>;
1429
1645
  getCustomers(params?: AdminCustomerListParams & AdminListParams): Promise<{
@@ -1537,7 +1753,7 @@ declare const adminApi: {
1537
1753
  }>;
1538
1754
  getEmailTemplates(): Promise<{
1539
1755
  templates: EmailTemplatesMap;
1540
- placeholders?: TemplatePlaceholdersMap;
1756
+ placeholders: TemplatePlaceholdersMap;
1541
1757
  customTemplates: CustomTemplate[];
1542
1758
  /** Tokens every custom template may use (rendered through the sequence mailer). */
1543
1759
  customPlaceholders: Placeholder[];
@@ -1564,6 +1780,20 @@ declare const adminApi: {
1564
1780
  sentTo?: string;
1565
1781
  error?: string;
1566
1782
  }>;
1783
+ /** Every optional feature of this tenant, with its state and any pending request. */
1784
+ getFeatures(): Promise<{
1785
+ features: TenantFeature[];
1786
+ }>;
1787
+ /** Switch a self-serve feature. Returns the whole list: dependents can change with it. */
1788
+ setFeature(key: string, enabled: boolean): Promise<{
1789
+ features: TenantFeature[];
1790
+ }>;
1791
+ /** Ask the platform team to turn a feature on. `emailed` is false when the ask was saved but no email went out. */
1792
+ requestFeature(key: string, note?: string): Promise<{
1793
+ feature: TenantFeature;
1794
+ emailed: boolean;
1795
+ alreadyRequested: boolean;
1796
+ }>;
1567
1797
  getEmailNotifications(): Promise<EmailNotificationSettings>;
1568
1798
  saveEmailNotifications(settings: EmailNotificationSettings): Promise<{
1569
1799
  success: boolean;
@@ -1582,7 +1812,7 @@ declare const adminApi: {
1582
1812
  getProduct(id: string): Promise<{
1583
1813
  product: AdminProduct;
1584
1814
  }>;
1585
- updateProduct(id: string, payload: Partial<Omit<AdminProduct, "id" | "createdAt" | "updatedAt">>): Promise<{
1815
+ updateProduct(id: string, payload: Partial<Omit<AdminProduct, "id" | "createdAt" | "updatedAt" | AdminProductOverlayField>>): Promise<{
1586
1816
  product: AdminProduct;
1587
1817
  }>;
1588
1818
  deleteProduct(id: string): Promise<unknown>;
@@ -2082,4 +2312,4 @@ declare const affiliatePortalApi: {
2082
2312
  track(refCode: string, landingPage?: string): Promise<AffiliateTrackResponse>;
2083
2313
  };
2084
2314
 
2085
- export { type AffiliateTrackResponse as $, type AddressVerifyResult as A, type AdminSale as B, type AdminSaleInput as C, type AdminSubscription as D, type AdminSubscriptionDetail as E, type AdminSubscriptionPatch as F, type AdminSubscriptionWriteResult as G, type AdminSupportCustomer as H, type AdminSupportStats as I, type AdminSupportThread as J, type AdminWebhookEvent as K, type Affiliate as L, type AffiliateAuthTokens as M, type AffiliateClickRecord as N, type AffiliateConversion as O, type AffiliateDashboardLinks as P, type AffiliateDashboardProfile as Q, type AffiliateDashboardStats as R, type AffiliateDownlineMember as S, type AffiliateEarningsBreakdown as T, type AffiliatePaymentMethod as U, type AffiliateProgram as V, type AffiliateRegisterInput as W, type AffiliateRegisterResponse as X, type AffiliateSession as Y, type AffiliateStatsResponse as Z, type AffiliateStatus as _, type AdminApexDrug as a, type SupportThreadStatus as a$, ApiError as a0, type ApiResponse as a1, type AttributionMethod as a2, type AuthTokens as a3, type BillingReminderSettings as a4, type CatalogAvailabilityItem as a5, type CatalogAvailabilityReason as a6, type CatalogAvailabilityResult as a7, type CatalogProduct as a8, type CategoryMetadata as a9, type Order as aA, type OrderItemInput as aB, type PaginationParams as aC, type PaymentCallbackPayload as aD, type PaymentInitiatePayload as aE, type PaymentType as aF, type PendingRenewalSurvey as aG, type Placeholder as aH, type ProductSaleSummary as aI, type PromoValidationResponse as aJ, type PublicCategory as aK, type RegisterAndSubscribePayload as aL, type RegisterPayload as aM, type RenewalStatus as aN, SUPPORT_ATTACHMENT_MAX_BYTES as aO, SUPPORT_ATTACHMENT_MIME_TYPES as aP, type SelectDrugPayload as aQ, type SendMessagePayload as aR, type SendToPharmacyPayload as aS, type SubscriptionPreview as aT, type SubscriptionPreviewLine as aU, type SubscriptionPreviewPayload as aV, type SupportAttachment as aW, type SupportMessage as aX, type SupportRealtimeToken as aY, type SupportThread as aZ, type SupportThreadCategory as a_, type CheckoutAddress as aa, type CheckoutPayload as ab, type CheckoutResult as ac, type CommissionConfig as ad, type CommissionStatus as ae, type CompleteSurveyPayload as af, type CreateAffiliatePayload as ag, type CreateAffiliateProgramPayload as ah, type CreateOrderPayload as ai, type CreateRequestPayload as aj, type CreateSubscriptionPayload as ak, type CustomTemplate as al, type CustomTemplateInput as am, type CustomerDiscountConfig as an, type DeliveryInfo as ao, type DiscountType as ap, type EmailNotificationSettings as aq, type EmailTemplatesMap as ar, type LoginPayload as as, type MemberPrescriptionRequest as at, type MemberSurveyMode as au, type MemberSurveyResponseSummary as av, type MemberSurveyTranscript as aw, type MemberSurveyTranscriptItem as ax, type MemberSurveyTranscriptSection as ay, type MembersMeResponse as az, type AdminBillingAttempt as b, type SurveySubmitPayload as b0, type TemplatePlaceholdersMap as b1, type TemplateText as b2, type TokenTrackName as b3, type UpdateAffiliatePayload as b4, type UpdateAffiliateProgramPayload as b5, type UpdatePaymentMethodPayload as b6, type UpdateProfilePayload as b7, type User as b8, addressesApi as b9, adminAffiliatesApi as ba, adminApi as bb, affiliateAuthStorageKey as bc, affiliatePortalApi as bd, apexApi as be, apiFetch as bf, authApi as bg, authStorageKey as bh, catalogApi as bi, clearAffiliateTokens as bj, clearTokens as bk, getAffiliateTokens as bl, getTokens as bm, membersApi as bn, messagesApi as bo, newIdempotencyKey as bp, onTokensCleared as bq, ordersApi as br, paymentsApi as bs, productsApi as bt, promoCodesApi as bu, setAffiliateTokens as bv, setTokens as bw, subscriptionsApi as bx, supportApi as by, usersApi as bz, type AdminCategory as c, type AdminCategoryInput as d, type AdminCategoryUpdate as e, type AdminCustomer as f, type AdminCustomerFacts as g, type AdminCustomerFunnel as h, type AdminCustomerListParams as i, type AdminCustomerOverview as j, type AdminCustomerProfile as k, type AdminCustomerRequest as l, type AdminCustomerRow as m, type AdminCustomerSupport as n, type AdminCustomerSupportThread as o, type AdminDashboardStats as p, type AdminLifecycle as q, type AdminLifecycleBucket as r, type AdminListParams as s, type AdminOrderSummary as t, type AdminPayment as u, type AdminPaymentDetail as v, type AdminProduct as w, type AdminPromoCode as x, type AdminPromoCodeInput as y, type AdminRefundResult as z };
2315
+ export { type AffiliateRegisterInput as $, type AddressVerifyResult as A, type AdminProductOverlayField as B, type AdminProductStrength as C, type AdminPromoCode as D, type AdminPromoCodeInput as E, type AdminRefundResult as F, type AdminSale as G, type AdminSaleInput as H, type AdminSubscription as I, type AdminSubscriptionDetail as J, type AdminSubscriptionPatch as K, type AdminSubscriptionWriteResult as L, type AdminSupportCustomer as M, type AdminSupportStats as N, type AdminSupportThread as O, type AdminWebhookEvent as P, type Affiliate as Q, type AffiliateAuthTokens as R, type AffiliateClickRecord as S, type AffiliateConversion as T, type AffiliateDashboardLinks as U, type AffiliateDashboardProfile as V, type AffiliateDashboardStats as W, type AffiliateDownlineMember as X, type AffiliateEarningsBreakdown as Y, type AffiliatePaymentMethod as Z, type AffiliateProgram as _, type AdminApexDrug as a, type PlaceholderKind as a$, type AffiliateRegisterResponse as a0, type AffiliateSession as a1, type AffiliateStatsResponse as a2, type AffiliateStatus as a3, type AffiliateTrackResponse as a4, ApiError as a5, type ApiResponse as a6, type AttributionMethod as a7, type AuthTokens as a8, type BillingReminderSettings as a9, type CreateAffiliateProgramPayload as aA, type CreateOrderPayload as aB, type CreateRequestPayload as aC, type CreateSubscriptionPayload as aD, type CustomTemplate as aE, type CustomTemplateInput as aF, type CustomerDiscountConfig as aG, type DeliveryInfo as aH, type DiscountType as aI, type EmailNotificationSettings as aJ, type EmailTemplatesMap as aK, type LoginPayload as aL, type MemberPrescriptionRequest as aM, type MemberSurveyMode as aN, type MemberSurveyResponseSummary as aO, type MemberSurveyTranscript as aP, type MemberSurveyTranscriptItem as aQ, type MemberSurveyTranscriptSection as aR, type MembersMeResponse as aS, type Order as aT, type OrderItemInput as aU, type PaginationParams as aV, type PaymentCallbackPayload as aW, type PaymentInitiatePayload as aX, type PaymentType as aY, type PendingRenewalSurvey as aZ, type Placeholder as a_, type CatalogAvailabilityItem as aa, type CatalogAvailabilityReason as ab, type CatalogAvailabilityResult as ac, type CatalogClassification as ad, type CatalogDose as ae, type CatalogDoseInput as af, type CatalogDoseModel as ag, type CatalogDoseSuggestion as ah, type CatalogDoseSuggestions as ai, type CatalogEquivalentSuggestions as aj, type CatalogFulfillment as ak, type CatalogFulfillmentInput as al, type CatalogItem as am, type CatalogItemInput as an, type CatalogMappableDrug as ao, type CatalogMatrixCell as ap, type CatalogProduct as aq, type CatalogReadiness as ar, type CategoryMetadata as as, type CheckoutAddress as at, type CheckoutPayload as au, type CheckoutResult as av, type CommissionConfig as aw, type CommissionStatus as ax, type CompleteSurveyPayload as ay, type CreateAffiliatePayload as az, type AdminApexItemStatus as b, type ProductSaleSummary as b0, type PromoValidationResponse as b1, type PublicCategory as b2, type RegisterAndSubscribePayload as b3, type RegisterPayload as b4, type RenewalStatus as b5, SUPPORT_ATTACHMENT_MAX_BYTES as b6, SUPPORT_ATTACHMENT_MIME_TYPES as b7, type SelectDrugPayload as b8, type SendMessagePayload as b9, affiliatePortalApi as bA, apexApi as bB, apiFetch as bC, authApi as bD, authStorageKey as bE, catalogApi as bF, clearAffiliateTokens as bG, clearTokens as bH, getAffiliateTokens as bI, getTokens as bJ, membersApi as bK, messagesApi as bL, newIdempotencyKey as bM, onTokensCleared as bN, ordersApi as bO, paymentsApi as bP, productsApi as bQ, promoCodesApi as bR, setAffiliateTokens as bS, setTokens as bT, subscriptionsApi as bU, supportApi as bV, usersApi as bW, type SendToPharmacyPayload as ba, type SubscriptionPreview as bb, type SubscriptionPreviewLine as bc, type SubscriptionPreviewPayload as bd, type SupportAttachment as be, type SupportMessage as bf, type SupportRealtimeToken as bg, type SupportThread as bh, type SupportThreadCategory as bi, type SupportThreadStatus as bj, type SurveySubmitPayload as bk, type TemplatePlaceholdersMap as bl, type TemplateText as bm, type TenantFeature as bn, type TenantFeatureAccess as bo, type TokenTrackName as bp, type UpdateAffiliatePayload as bq, type UpdateAffiliateProgramPayload as br, type UpdatePaymentMethodPayload as bs, type UpdateProfilePayload as bt, type User as bu, addressesApi as bv, adminAffiliatesApi as bw, adminApi as bx, adminCatalogApi as by, affiliateAuthStorageKey as bz, type AdminBillingAttempt as c, type AdminCategory as d, type AdminCategoryInput as e, type AdminCategoryUpdate as f, type AdminCustomer as g, type AdminCustomerFacts as h, type AdminCustomerFunnel as i, type AdminCustomerListParams as j, type AdminCustomerOverview as k, type AdminCustomerProfile as l, type AdminCustomerRequest as m, type AdminCustomerRow as n, type AdminCustomerSupport as o, type AdminCustomerSupportThread as p, type AdminDashboardStats as q, type AdminLifecycle as r, type AdminLifecycleBucket as s, type AdminListParams as t, type AdminOrderSummary as u, type AdminOrphanReason as v, type AdminOrphanedDosePrice as w, type AdminPayment as x, type AdminPaymentDetail as y, type AdminProduct as z };