@metaboliccode-dev/widget 0.2.19 → 0.2.20

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 CHANGED
@@ -71,11 +71,13 @@ import {
71
71
  import "@metaboliccode-dev/widget/styles.css";
72
72
 
73
73
  export function App() {
74
+ const tenantApiKey = "token-from-your-host";
75
+
74
76
  return (
75
77
  <div className="h-screen">
76
78
  <MetabolicDashboard
77
79
  apiKey={METABOLIC_DASHBOARD_STUB_API_KEY}
78
- reportHttpConfig={{ apiKey: "mc-prod", userId: "prod-full-user" }}
80
+ reportHttpConfig={{ apiKey: tenantApiKey, userId: "current-user-id" }}
79
81
  sideMenuUserProfile={{ displayName: "User", email: "user@example.com" }}
80
82
  />
81
83
  </div>
@@ -1 +1,9 @@
1
- export declare function getBuiltInReportPagesApiBaseUrl(): string;
1
+ export type MetabolicDashboardApiKeyRegion = "us" | "ca";
2
+ export type BuiltInReportPagesApiBaseUrls = {
3
+ fallback?: string;
4
+ us?: string;
5
+ ca?: string;
6
+ };
7
+ export declare function normalizeMetabolicDashboardApiKeyRegion(apiKey: string | undefined): MetabolicDashboardApiKeyRegion;
8
+ export declare function resolveBuiltInReportPagesApiBaseUrl(apiKey: string | undefined, urls: BuiltInReportPagesApiBaseUrls): string;
9
+ export declare function getBuiltInReportPagesApiBaseUrl(apiKey?: string): string;
@@ -1,4 +1,5 @@
1
- export { getBuiltInReportPagesApiBaseUrl } from "./builtInReportPagesApi";
1
+ export type { BuiltInReportPagesApiBaseUrls, MetabolicDashboardApiKeyRegion, } from "./builtInReportPagesApi";
2
+ export { getBuiltInReportPagesApiBaseUrl, normalizeMetabolicDashboardApiKeyRegion, resolveBuiltInReportPagesApiBaseUrl, } from "./builtInReportPagesApi";
2
3
  export type { HttpDashboardContentFetchersConfig } from "./createHttpDashboardContentFetchers";
3
4
  export { createHttpDashboardContentFetchers } from "./createHttpDashboardContentFetchers";
4
5
  export type { DownloadReportPdfOptions } from "./downloadReportPdf";
@@ -8,5 +9,11 @@ export { buildReportExistsUrl, checkMetabolicReportExists } from "./fetchReportE
8
9
  export type { FetchReportPageOptions } from "./fetchReportPage";
9
10
  export { buildReportPageUrl, fetchReportPage } from "./fetchReportPage";
10
11
  export { mapAlertLabSummaryDtoToTabContent, mapDashboardPageDtoToTabContent, mapLabAnalysisDtoToTabContent, mapLabResultsDtoToTabContent, mapQuestionnaireAnalysisDtoToTabContent, mapSuggestedProductsDtoToTabContent, mapSupplementScheduleDtoToTabContent, mapTotalPredictiveIndexDtoToTabContent, mapWellnessIndicatorsDtoToTabContent, } from "./mapReportPages";
11
- export { isMetabolicDashboardApiKeyAccepted, METABOLIC_DASHBOARD_STUB_API_KEY, METABOLIC_REPORT_PAGES_API_BASE_URL, } from "./metabolicDashboardApiKey";
12
+ export type { DispatchMetabolicBackendWebhookOptions, MetabolicBackendWebhookKind, } from "./metabolicBackendApi";
13
+ export { buildMetabolicBackendWebhookUrl, dispatchMetabolicBackendWebhook, getMetabolicBackendApiBaseUrl, } from "./metabolicBackendApi";
14
+ export { isMetabolicDashboardApiKeyAccepted, METABOLIC_DASHBOARD_STUB_API_KEY, METABOLIC_LMS_API_BASE_URL, METABOLIC_LMS_FRONTEND_BASE_URL, METABOLIC_REPORT_PAGES_API_BASE_URL, METABOLIC_REPORT_PAGES_API_BASE_URL_CA, METABOLIC_REPORT_PAGES_API_BASE_URL_US, } from "./metabolicDashboardApiKey";
15
+ export type { CreateMetabolicLmsLaunchOptions, FetchMetabolicLmsEducationResourcesOptions, MetabolicLmsBackendResource, MetabolicLmsEducationResource, MetabolicLmsLaunchResult, } from "./metabolicLms";
16
+ export { buildMetabolicLmsLaunchUrl, createMetabolicLmsLaunch, fetchMetabolicLmsEducationResources, getMetabolicLmsApiBaseUrl, getMetabolicLmsFrontendBaseUrl, mergeMetabolicLmsEducationResources, normalizeMetabolicLmsEducationResource, } from "./metabolicLms";
17
+ export type { DispatchMetabolicStealthHealthAppointmentCompletedWebhookOptions, DispatchMetabolicStealthHealthJunctionOrderWebhookOptions, MetabolicStealthHealthEnrollPage, MetabolicStealthHealthWebhookUser, SubmitStealthHealthPatientLabOrderOptions, SubmitStealthHealthQuestionnaireSubmissionOptions, } from "./metabolicStealthHealth";
18
+ export { buildMetabolicStealthHealthAppointmentCompletedWebhookPayload, buildMetabolicStealthHealthJunctionOrderWebhookPayload, dispatchMetabolicStealthHealthAppointmentCompletedWebhook, dispatchMetabolicStealthHealthJunctionOrderWebhook, MetabolicStealthHealthRequestError, resolveMetabolicStealthHealthJunctionOrderId, resolveMetabolicStealthHealthJunctionStatus, STEALTH_HEALTH_ENROLL_QUESTIONNAIRE_COMPLETED_EVENT, STEALTH_HEALTH_TENANT_JUNCTION_ORDER_EVENT, submitStealthHealthPatientLabOrder, submitStealthHealthQuestionnaireSubmission, } from "./metabolicStealthHealth";
12
19
  export type { AlertLabMetricDto, AlertLabSummaryPageDto, DashboardPageDto, LabAnalysisPageDto, LabResultsPageDto, QuestionnaireAnalysisPageDto, ReportPageDtoByNavId, ReportPageDtoFor, ReportPageNavKey, SuggestedProductsPageDto, SupplementSchedulePageDto, TotalPredictiveIndexPageDto, WellnessIndicatorsPageDto, } from "./reportPageTypes";
@@ -0,0 +1,15 @@
1
+ export type MetabolicBackendWebhookKind = "stealth_health" | "stealth_health_junction";
2
+ export type DispatchMetabolicBackendWebhookOptions = {
3
+ apiKey: string;
4
+ kind: MetabolicBackendWebhookKind;
5
+ body: unknown;
6
+ headers?: HeadersInit;
7
+ fetchImpl?: typeof fetch;
8
+ signal?: AbortSignal;
9
+ };
10
+ export declare function getMetabolicBackendApiBaseUrl(apiKey?: string): string;
11
+ export declare function buildMetabolicBackendWebhookUrl({ apiKey, kind, }: {
12
+ apiKey: string;
13
+ kind: MetabolicBackendWebhookKind;
14
+ }): string;
15
+ export declare function dispatchMetabolicBackendWebhook({ apiKey, kind, body, headers, fetchImpl, signal, }: DispatchMetabolicBackendWebhookOptions): Promise<Response>;
@@ -1,3 +1,7 @@
1
+ export declare const METABOLIC_REPORT_PAGES_API_BASE_URL_US: string;
2
+ export declare const METABOLIC_REPORT_PAGES_API_BASE_URL_CA: string;
1
3
  export declare const METABOLIC_REPORT_PAGES_API_BASE_URL: string;
4
+ export declare const METABOLIC_LMS_API_BASE_URL: string;
5
+ export declare const METABOLIC_LMS_FRONTEND_BASE_URL: string;
2
6
  export declare const METABOLIC_DASHBOARD_STUB_API_KEY: string | undefined;
3
7
  export declare function isMetabolicDashboardApiKeyAccepted(apiKey: string | undefined): boolean;
@@ -0,0 +1,67 @@
1
+ export type MetabolicLmsEducationResource = {
2
+ id: string;
3
+ type: "video" | "article" | "guide" | "webinar";
4
+ title: string;
5
+ category: string;
6
+ categoryId: string;
7
+ excerpt: string | null;
8
+ thumbnailUrl: string | null;
9
+ imageUrl: string | null;
10
+ url: null;
11
+ isFeatured: boolean;
12
+ launchType: "lms_course";
13
+ courseSlug: string;
14
+ resourceKey: string;
15
+ };
16
+ export type MetabolicLmsBackendResource = {
17
+ id?: unknown;
18
+ type?: unknown;
19
+ title?: unknown;
20
+ category?: unknown;
21
+ category_id?: unknown;
22
+ categoryId?: unknown;
23
+ excerpt?: unknown;
24
+ thumbnail_url?: unknown;
25
+ thumbnailUrl?: unknown;
26
+ image_url?: unknown;
27
+ imageUrl?: unknown;
28
+ course_slug?: unknown;
29
+ courseSlug?: unknown;
30
+ resource_key?: unknown;
31
+ resourceKey?: unknown;
32
+ is_featured?: unknown;
33
+ isFeatured?: unknown;
34
+ launch_type?: unknown;
35
+ launchType?: unknown;
36
+ };
37
+ export type FetchMetabolicLmsEducationResourcesOptions = {
38
+ apiKey: string;
39
+ fetchImpl?: typeof fetch;
40
+ signal?: AbortSignal;
41
+ };
42
+ export type CreateMetabolicLmsLaunchOptions = {
43
+ apiKey: string;
44
+ externalUserId: string;
45
+ email?: string | null;
46
+ displayName?: string | null;
47
+ courseSlug: string;
48
+ resourceKey: string;
49
+ fetchImpl?: typeof fetch;
50
+ signal?: AbortSignal;
51
+ };
52
+ export type MetabolicLmsLaunchResult = {
53
+ launchUrl: string;
54
+ expiresAt: string | null;
55
+ courseTitle: string | null;
56
+ };
57
+ export declare function getMetabolicLmsApiBaseUrl(): string;
58
+ export declare function getMetabolicLmsFrontendBaseUrl(): string;
59
+ export declare function buildMetabolicLmsLaunchUrl(launchToken: string): string;
60
+ export declare function normalizeMetabolicLmsEducationResource(raw: MetabolicLmsBackendResource): MetabolicLmsEducationResource | null;
61
+ export declare function mergeMetabolicLmsEducationResources<T extends {
62
+ id: string;
63
+ }, U extends {
64
+ id: string;
65
+ }>(ordinaryResources: T[], lmsResources: U[]): Array<T | U>;
66
+ export declare function fetchMetabolicLmsEducationResources({ apiKey, fetchImpl, signal, }: FetchMetabolicLmsEducationResourcesOptions): Promise<MetabolicLmsEducationResource[]>;
67
+ export declare function createMetabolicLmsLaunch({ apiKey, externalUserId, email, displayName, courseSlug, resourceKey, fetchImpl, signal, }: CreateMetabolicLmsLaunchOptions): Promise<MetabolicLmsLaunchResult>;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,71 @@
1
+ export declare const STEALTH_HEALTH_ENROLL_QUESTIONNAIRE_COMPLETED_EVENT = "enroll.questionnaire.completed";
2
+ export declare const STEALTH_HEALTH_TENANT_JUNCTION_ORDER_EVENT = "enroll.junction_order.created";
3
+ export type MetabolicStealthHealthWebhookUser = {
4
+ uid: string | null;
5
+ email: string | null;
6
+ firstname: string | null;
7
+ lastname: string | null;
8
+ birthday: string | null;
9
+ telephone: string | null;
10
+ };
11
+ export type MetabolicStealthHealthEnrollPage = {
12
+ id: string;
13
+ slug?: string | null;
14
+ slugs?: string[] | null;
15
+ data?: Record<string, unknown> | null;
16
+ };
17
+ export type SubmitStealthHealthQuestionnaireSubmissionOptions = {
18
+ functionsBaseUrl: string;
19
+ questionnaireResponseId: string;
20
+ questionnaireId: string;
21
+ enrollSlug?: string | null;
22
+ profileData?: unknown;
23
+ selectedMedication?: unknown;
24
+ partnerRef?: unknown;
25
+ whiteLabelDomain?: string | null;
26
+ fetchImpl?: typeof fetch;
27
+ signal?: AbortSignal;
28
+ };
29
+ export type SubmitStealthHealthPatientLabOrderOptions = {
30
+ functionsBaseUrl: string;
31
+ body: string;
32
+ fetchImpl?: typeof fetch;
33
+ signal?: AbortSignal;
34
+ };
35
+ export type DispatchMetabolicStealthHealthAppointmentCompletedWebhookOptions = {
36
+ apiKey: string;
37
+ appointmentId: string;
38
+ enrollPage: MetabolicStealthHealthEnrollPage;
39
+ enrollSlug?: string | null;
40
+ questionnaireId: string;
41
+ questionnaireResponseId: string;
42
+ responseData: Record<string, unknown>;
43
+ user: MetabolicStealthHealthWebhookUser;
44
+ occurredAt?: string;
45
+ fetchImpl?: typeof fetch;
46
+ signal?: AbortSignal;
47
+ };
48
+ export type DispatchMetabolicStealthHealthJunctionOrderWebhookOptions = {
49
+ apiKey: string;
50
+ enrollPage: MetabolicStealthHealthEnrollPage;
51
+ requestBody?: Record<string, unknown> | null;
52
+ responseData: unknown;
53
+ appointmentData?: Record<string, unknown> | null;
54
+ occurredAt?: string;
55
+ fetchImpl?: typeof fetch;
56
+ signal?: AbortSignal;
57
+ };
58
+ export declare class MetabolicStealthHealthRequestError extends Error {
59
+ readonly status: number;
60
+ readonly statusText: string;
61
+ readonly body: unknown;
62
+ constructor(message: string, status: number, statusText: string, body: unknown);
63
+ }
64
+ export declare function submitStealthHealthQuestionnaireSubmission({ functionsBaseUrl, questionnaireResponseId, questionnaireId, enrollSlug, profileData, selectedMedication, partnerRef, whiteLabelDomain, fetchImpl, signal, }: SubmitStealthHealthQuestionnaireSubmissionOptions): Promise<Record<string, unknown>>;
65
+ export declare function submitStealthHealthPatientLabOrder({ functionsBaseUrl, body, fetchImpl, signal, }: SubmitStealthHealthPatientLabOrderOptions): Promise<Record<string, unknown>>;
66
+ export declare function buildMetabolicStealthHealthAppointmentCompletedWebhookPayload({ appointmentId, enrollPage, enrollSlug, questionnaireId, questionnaireResponseId, responseData, user, occurredAt, }: Omit<DispatchMetabolicStealthHealthAppointmentCompletedWebhookOptions, "apiKey" | "fetchImpl" | "signal">): Record<string, unknown>;
67
+ export declare function dispatchMetabolicStealthHealthAppointmentCompletedWebhook({ apiKey, fetchImpl, signal, ...payloadOptions }: DispatchMetabolicStealthHealthAppointmentCompletedWebhookOptions): Promise<Response>;
68
+ export declare function resolveMetabolicStealthHealthJunctionOrderId(data: unknown): string;
69
+ export declare function resolveMetabolicStealthHealthJunctionStatus(data: unknown): string;
70
+ export declare function buildMetabolicStealthHealthJunctionOrderWebhookPayload({ enrollPage, requestBody, responseData, appointmentData, occurredAt, }: Omit<DispatchMetabolicStealthHealthJunctionOrderWebhookOptions, "apiKey" | "fetchImpl" | "signal">): Record<string, unknown> | null;
71
+ export declare function dispatchMetabolicStealthHealthJunctionOrderWebhook({ apiKey, fetchImpl, signal, ...payloadOptions }: DispatchMetabolicStealthHealthJunctionOrderWebhookOptions): Promise<Response | null>;
@@ -0,0 +1,6 @@
1
+ import { type ReactNode } from "react";
2
+ export declare function ReportPagesApiBaseUrlProvider({ value, children, }: {
3
+ value: string;
4
+ children: ReactNode;
5
+ }): import("react/jsx-runtime").JSX.Element;
6
+ export declare function useReportPagesApiBaseUrl(): string;
@@ -1,6 +1,6 @@
1
1
  export type { MetabolicDashboardProps, MetabolicDashboardReportHttpConfig } from "../layout";
2
- export type { AlertLabMetricDto, AlertLabSummaryPageDto, DashboardPageDto, DownloadReportPdfOptions, FetchReportPageOptions, CheckMetabolicReportExistsOptions, HttpDashboardContentFetchersConfig, LabAnalysisPageDto, LabResultsPageDto, QuestionnaireAnalysisPageDto, ReportPageDtoByNavId, ReportPageDtoFor, ReportPageNavKey, SuggestedProductsPageDto, SupplementSchedulePageDto, TotalPredictiveIndexPageDto, WellnessIndicatorsPageDto, } from "./api";
3
- export { buildReportPageUrl, buildReportExistsUrl, checkMetabolicReportExists, createHttpDashboardContentFetchers, createReportPdfDownloader, fetchReportPage, getBuiltInReportPagesApiBaseUrl, isMetabolicDashboardApiKeyAccepted, METABOLIC_DASHBOARD_STUB_API_KEY, METABOLIC_REPORT_PAGES_API_BASE_URL, mapAlertLabSummaryDtoToTabContent, mapDashboardPageDtoToTabContent, mapLabAnalysisDtoToTabContent, mapLabResultsDtoToTabContent, mapQuestionnaireAnalysisDtoToTabContent, mapSuggestedProductsDtoToTabContent, mapSupplementScheduleDtoToTabContent, mapTotalPredictiveIndexDtoToTabContent, mapWellnessIndicatorsDtoToTabContent, } from "./api";
2
+ export type { AlertLabMetricDto, AlertLabSummaryPageDto, CheckMetabolicReportExistsOptions, CreateMetabolicLmsLaunchOptions, DashboardPageDto, DispatchMetabolicBackendWebhookOptions, DispatchMetabolicStealthHealthAppointmentCompletedWebhookOptions, DispatchMetabolicStealthHealthJunctionOrderWebhookOptions, DownloadReportPdfOptions, FetchMetabolicLmsEducationResourcesOptions, FetchReportPageOptions, HttpDashboardContentFetchersConfig, LabAnalysisPageDto, LabResultsPageDto, MetabolicBackendWebhookKind, MetabolicLmsBackendResource, MetabolicLmsEducationResource, MetabolicLmsLaunchResult, MetabolicStealthHealthEnrollPage, MetabolicStealthHealthWebhookUser, QuestionnaireAnalysisPageDto, ReportPageDtoByNavId, ReportPageDtoFor, ReportPageNavKey, SubmitStealthHealthPatientLabOrderOptions, SubmitStealthHealthQuestionnaireSubmissionOptions, SuggestedProductsPageDto, SupplementSchedulePageDto, TotalPredictiveIndexPageDto, WellnessIndicatorsPageDto, } from "./api";
3
+ export { buildMetabolicBackendWebhookUrl, buildMetabolicLmsLaunchUrl, buildMetabolicStealthHealthAppointmentCompletedWebhookPayload, buildMetabolicStealthHealthJunctionOrderWebhookPayload, buildReportExistsUrl, buildReportPageUrl, checkMetabolicReportExists, createHttpDashboardContentFetchers, createMetabolicLmsLaunch, createReportPdfDownloader, dispatchMetabolicBackendWebhook, dispatchMetabolicStealthHealthAppointmentCompletedWebhook, dispatchMetabolicStealthHealthJunctionOrderWebhook, fetchMetabolicLmsEducationResources, fetchReportPage, getBuiltInReportPagesApiBaseUrl, getMetabolicBackendApiBaseUrl, getMetabolicLmsApiBaseUrl, getMetabolicLmsFrontendBaseUrl, isMetabolicDashboardApiKeyAccepted, METABOLIC_DASHBOARD_STUB_API_KEY, METABOLIC_LMS_API_BASE_URL, METABOLIC_LMS_FRONTEND_BASE_URL, METABOLIC_REPORT_PAGES_API_BASE_URL, METABOLIC_REPORT_PAGES_API_BASE_URL_CA, METABOLIC_REPORT_PAGES_API_BASE_URL_US, MetabolicStealthHealthRequestError, mapAlertLabSummaryDtoToTabContent, mapDashboardPageDtoToTabContent, mapLabAnalysisDtoToTabContent, mapLabResultsDtoToTabContent, mapQuestionnaireAnalysisDtoToTabContent, mapSuggestedProductsDtoToTabContent, mapSupplementScheduleDtoToTabContent, mapTotalPredictiveIndexDtoToTabContent, mapWellnessIndicatorsDtoToTabContent, mergeMetabolicLmsEducationResources, normalizeMetabolicDashboardApiKeyRegion, normalizeMetabolicLmsEducationResource, resolveBuiltInReportPagesApiBaseUrl, resolveMetabolicStealthHealthJunctionOrderId, resolveMetabolicStealthHealthJunctionStatus, STEALTH_HEALTH_ENROLL_QUESTIONNAIRE_COMPLETED_EVENT, STEALTH_HEALTH_TENANT_JUNCTION_ORDER_EVENT, submitStealthHealthPatientLabOrder, submitStealthHealthQuestionnaireSubmission, } from "./api";
4
4
  export { mergeDashboardContentFetchers } from "./dashboardContentFetchers";
5
5
  export type { DashboardTabContentCacheContextValue } from "./dashboardTab/DashboardTabContentCacheContext";
6
6
  export { DashboardTabContentCacheProvider, DEFAULT_DASHBOARD_TAB_CONTENT_CACHE_TTL_MS, useInvalidateDashboardTabContentCache, } from "./dashboardTab/DashboardTabContentCacheContext";
@@ -10,5 +10,6 @@ export declare function useMetabolicDashboardResolvedContentSources({ config: co
10
10
  resolvedExportReports: (() => void | Promise<void>) | ((options?: import("..").DownloadReportPdfOptions) => Promise<void>);
11
11
  resolvedCacheTtlMs: number;
12
12
  availableReportPages: readonly string[] | undefined;
13
+ reportPagesApiBaseUrl: string;
13
14
  };
14
15
  export {};
package/dist/api.js ADDED
@@ -0,0 +1,32 @@
1
+ import { a as t, b as s, c as o, d as l, e as i, f as c, S as r, h as E, j as _, k as b, l as h, m as n, n as A, o as L, p as M, q as S, r as d, g as u, s as R, t as T, u as B, v as m, w as p, x as O, y as P, z as H, A as I, B as U, C } from "./entry-api--y5Fjh-O.js";
2
+ export {
3
+ t as METABOLIC_LMS_API_BASE_URL,
4
+ s as METABOLIC_LMS_FRONTEND_BASE_URL,
5
+ o as METABOLIC_REPORT_PAGES_API_BASE_URL,
6
+ l as METABOLIC_REPORT_PAGES_API_BASE_URL_CA,
7
+ i as METABOLIC_REPORT_PAGES_API_BASE_URL_US,
8
+ c as MetabolicStealthHealthRequestError,
9
+ r as STEALTH_HEALTH_ENROLL_QUESTIONNAIRE_COMPLETED_EVENT,
10
+ E as STEALTH_HEALTH_TENANT_JUNCTION_ORDER_EVENT,
11
+ _ as buildMetabolicBackendWebhookUrl,
12
+ b as buildMetabolicLmsLaunchUrl,
13
+ h as buildMetabolicStealthHealthAppointmentCompletedWebhookPayload,
14
+ n as buildMetabolicStealthHealthJunctionOrderWebhookPayload,
15
+ A as createMetabolicLmsLaunch,
16
+ L as dispatchMetabolicBackendWebhook,
17
+ M as dispatchMetabolicStealthHealthAppointmentCompletedWebhook,
18
+ S as dispatchMetabolicStealthHealthJunctionOrderWebhook,
19
+ d as fetchMetabolicLmsEducationResources,
20
+ u as getBuiltInReportPagesApiBaseUrl,
21
+ R as getMetabolicBackendApiBaseUrl,
22
+ T as getMetabolicLmsApiBaseUrl,
23
+ B as getMetabolicLmsFrontendBaseUrl,
24
+ m as mergeMetabolicLmsEducationResources,
25
+ p as normalizeMetabolicDashboardApiKeyRegion,
26
+ O as normalizeMetabolicLmsEducationResource,
27
+ P as resolveBuiltInReportPagesApiBaseUrl,
28
+ H as resolveMetabolicStealthHealthJunctionOrderId,
29
+ I as resolveMetabolicStealthHealthJunctionStatus,
30
+ U as submitStealthHealthPatientLabOrder,
31
+ C as submitStealthHealthQuestionnaireSubmission
32
+ };
@@ -1 +1,2 @@
1
- export declare function resolveOrganImageUrl(path: string): string;
1
+ export declare function resolveOrganImageUrl(path: string, baseUrl?: string): string;
2
+ export declare function useOrganImageUrl(path: string): string;
@@ -1,4 +1,4 @@
1
- export declare function TriadMarkIcon({ triadNumber, className }: {
1
+ export declare function TriadMarkIcon({ triadNumber, className, }: {
2
2
  triadNumber: number;
3
3
  className?: string;
4
4
  }): import("react/jsx-runtime").JSX.Element | null;
@@ -1,8 +1,8 @@
1
1
  export { ArrowRightIcon } from "./ArrowRightIcon";
2
- export { ChevronRightIcon } from "./ChevronRightIcon";
3
- export { CloseIcon } from "./CloseIcon";
4
2
  export { CalendarIcon } from "./CalendarIcon";
3
+ export { ChevronRightIcon } from "./ChevronRightIcon";
5
4
  export { ClockIcon } from "./ClockIcon";
5
+ export { CloseIcon } from "./CloseIcon";
6
6
  export { DownloadIcon } from "./DownloadIcon";
7
7
  export { FileTextIcon } from "./FileTextIcon";
8
8
  export { InfoIcon } from "./InfoIcon";
@@ -4,6 +4,9 @@ export type { ButtonProps, ButtonVariant } from "./Button";
4
4
  export { Button } from "./Button";
5
5
  export { DashboardTab } from "./DashboardTab";
6
6
  export { DashboardTabSkeleton } from "./DashboardTab/DashboardTabSkeleton";
7
+ export { Badge, type BadgeVariant, DashboardCard, TriadMarkIcon, } from "./dashboard/components/base";
8
+ export { activeSegmentHighlightColor, DashboardCardSectionHeader, type DashboardCardSectionHeaderProps, GradientRangeBar, type GradientRangeBarProps, type GradientRangeBarStop, LAB_METRIC_RANGE_BAR_SEGMENTS, MetabolicScoreBar, MetaflammationGauge, OVERALL_SCORE_GRADIENT_STOPS, OVERALL_SCORE_LABELS, PractitionerNoteRow, SegmentedRangeBar, type SegmentedRangeBarProps, type SegmentedRangeBarSegment, SupplementScheduleTableRow, SupplementTriadMarkGroup, TRIAD_RESILIENCY_TREND_SEGMENTS, TriadRadar, } from "./dashboard/components/composite";
9
+ export { AlertLabSummaryCard, LabAnalysisTriadCard, LabMetricRangeCard, LabResultsIntroCard, MetabolicTriadCategoryPanel, type MetabolicTriadCategoryPanelMetricRow, type MetabolicTriadCategoryPanelProps, type MetabolicTriadCategoryPanelRangeBarProps, MetabolicTriadIntroCard, MetabolicTriadSectionCard, type MetabolicTriadSectionCardProps, MetaflammationGaugeCard, OverallMetabolicScoreCard, PractitionerNotesCard, ProfileSummaryCard, type ProfileSummaryRow, SupplementScheduleCard, TriadRadarReportCard, WelcomeMessageCard, WellnessIndicatorCard, } from "./dashboard/components/sections";
7
10
  export { MetabolicTriadCategoryPanelSkeleton, type MetabolicTriadCategoryPanelSkeletonProps, } from "./dashboard/components/sections/MetabolicTriadCategoryPanelSkeleton";
8
11
  export type { AlertLabSummaryCardContent, AlertLabSummaryPairRowContent, DashboardAlertLabSummaryTableContent, DashboardAlertLabTableRowContent, DashboardMetaflammationContent, DashboardOverallScoreContent, DashboardPatientSummaryContent, DashboardPatientSummaryRow, DashboardTabContent, DashboardTotalPredictiveTrendsContent, DashboardTrendStatus, DashboardTrendStatusExplanationPanelContent, DashboardTriadTrendCategoryRowContent, DashboardTriadTrendChipContent, DashboardWelcomeContent, LabAnalysisMarkerRowContent, LabAnalysisSectionContent, LabMetricRangeCardContent, LabResultsGroupContent, LabResultsIntroContent, LabResultsMetricContent, PractitionerNotesContent, QuestionnaireAnalysisSectionContent, QuestionnaireCategoryContent, QuestionnaireTrendZone, SupplementScheduleCardContent, SupplementScheduleRowContent, TriadRadarReportContent, TriadResiliencyCardContent, TriadResiliencyCategoryContent, TriadTrendBarConfig, TriadTrendBarMapping, WelcomeActionId, WellnessIndicatorCardContent, WellnessIndicatorZoneBounds, WellnessIndicatorZones, } from "./dashboard/data";
9
12
  export { LabAnalysisTab, type LabAnalysisTabContent, } from "./LabAnalysisTab";
@@ -26,6 +29,3 @@ export { TotalPredictiveIndexTab, type TotalPredictiveIndexTabContent, } from ".
26
29
  export { TotalPredictiveIndexTabSkeleton } from "./TotalPredictiveIndexTab/TotalPredictiveIndexTabSkeleton";
27
30
  export { WellnessIndicatorsTab, type WellnessIndicatorsTabContent, } from "./WellnessIndicatorsTab";
28
31
  export { WellnessIndicatorsTabSkeleton } from "./WellnessIndicatorsTab/WellnessIndicatorsTabSkeleton";
29
- export { Badge, type BadgeVariant, DashboardCard, TriadMarkIcon } from "./dashboard/components/base";
30
- export { DashboardCardSectionHeader, type DashboardCardSectionHeaderProps, GradientRangeBar, type GradientRangeBarProps, type GradientRangeBarStop, MetabolicScoreBar, MetaflammationGauge, OVERALL_SCORE_GRADIENT_STOPS, OVERALL_SCORE_LABELS, PractitionerNoteRow, SegmentedRangeBar, type SegmentedRangeBarProps, type SegmentedRangeBarSegment, SupplementScheduleTableRow, SupplementTriadMarkGroup, TriadRadar, activeSegmentHighlightColor, LAB_METRIC_RANGE_BAR_SEGMENTS, TRIAD_RESILIENCY_TREND_SEGMENTS, } from "./dashboard/components/composite";
31
- export { AlertLabSummaryCard, LabAnalysisTriadCard, LabMetricRangeCard, LabResultsIntroCard, MetabolicTriadCategoryPanel, type MetabolicTriadCategoryPanelMetricRow, type MetabolicTriadCategoryPanelProps, type MetabolicTriadCategoryPanelRangeBarProps, MetabolicTriadIntroCard, MetabolicTriadSectionCard, type MetabolicTriadSectionCardProps, MetaflammationGaugeCard, OverallMetabolicScoreCard, PractitionerNotesCard, type ProfileSummaryRow, ProfileSummaryCard, SupplementScheduleCard, TriadRadarReportCard, WelcomeMessageCard, WellnessIndicatorCard, } from "./dashboard/components/sections";