@aifeatures/admin-react 0.15.0 → 0.16.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/dist/index.d.cts CHANGED
@@ -842,6 +842,16 @@ interface BusinessVisitors {
842
842
  from: string;
843
843
  to: string;
844
844
  };
845
+ /**
846
+ * The zone those local days were bucketed in.
847
+ *
848
+ * On the payload for the same reason every analytics report carries it: this
849
+ * client asks for a zone per request, and the server may not use the one it
850
+ * asked for — it falls back to the site's stored zone for a value it cannot
851
+ * read. The `date`s above are local days, so nothing can label them without
852
+ * this.
853
+ */
854
+ timezone: string;
845
855
  }
846
856
  /**
847
857
  * Response from GET /api/v1/summary — the merchant's one-look business
@@ -1355,6 +1365,17 @@ type AnalyticsSourced<T> = {
1355
1365
  from: string;
1356
1366
  to: string;
1357
1367
  };
1368
+ /**
1369
+ * The IANA zone this report's local days were bucketed in.
1370
+ *
1371
+ * ON THE ENVELOPE, so every report has it and none has to be paired with
1372
+ * /status — they are separate requests that fail separately, and pairing
1373
+ * them lets a status failure silently relabel a loaded report. It is also
1374
+ * not guaranteed to be the zone that was ASKED for: the server falls back
1375
+ * to the site's stored zone for an unusable value. This field, never the
1376
+ * request, is what the numbers are in.
1377
+ */
1378
+ timezone: string;
1358
1379
  } | {
1359
1380
  status: 'unreachable';
1360
1381
  };
@@ -1463,14 +1484,7 @@ interface AnalyticsChannelRow {
1463
1484
  */
1464
1485
  type AnalyticsBreakdownRow = Record<string, string | number | null | string[]>;
1465
1486
  type AnalyticsSummary = AnalyticsSourced<AnalyticsSummaryData>;
1466
- type AnalyticsTimeseries = AnalyticsSourced<AnalyticsTimeseriesRow[]> & {
1467
- /**
1468
- * The zone the dates are bucketed in, present on the OK branch. Read it from
1469
- * here rather than from /status: the two are separate requests, and pairing
1470
- * them means a status failure silently reburies the chart in UTC.
1471
- */
1472
- timezone?: string;
1473
- };
1487
+ type AnalyticsTimeseries = AnalyticsSourced<AnalyticsTimeseriesRow[]>;
1474
1488
  /**
1475
1489
  * One goal's conversions for the window.
1476
1490
  *
@@ -1522,6 +1536,7 @@ type AnalyticsConversions = {
1522
1536
  from: string;
1523
1537
  to: string;
1524
1538
  };
1539
+ timezone: string;
1525
1540
  denominator: number;
1526
1541
  first_seen: string | null;
1527
1542
  first_seen_unavailable: boolean;
@@ -2085,9 +2100,16 @@ interface ViewShellProps {
2085
2100
  }
2086
2101
  /**
2087
2102
  * The view strip + content wrapper every merchant view mounts inside
2088
- * (plan D13). The strip is the sole view indicator: title on the left,
2089
- * "Back to website" on the right, pinned to the top on small screens (D9) so
2090
- * the way out is always reachable.
2103
+ * (plan D13). The strip is the sole view indicator, pinned to the top on
2104
+ * small screens (D9) so the way out is always reachable.
2105
+ *
2106
+ * THE WAY OUT SITS LEFT OF THE TITLE — the back arrow points left, so it
2107
+ * belongs left of the thing it goes back from, and it reads as one phrase
2108
+ * with the view it is leaving. It was on the far right, which put the two
2109
+ * halves of the same sentence at opposite ends of the strip and left the
2110
+ * button's distance from the title depending on how wide the panel happened
2111
+ * to be. It is placed there with flex `order`, for the keyboard reason
2112
+ * written at the button itself.
2091
2113
  *
2092
2114
  * Accessibility: the panel's content is replaced out from under screen-reader
2093
2115
  * users when a view opens, so the heading is an `aria-live="polite"` region
@@ -2772,6 +2794,21 @@ interface UseAnalyticsReturn {
2772
2794
  */
2773
2795
  conversions: ReportSlot<AnalyticsConversions>;
2774
2796
  breakdowns: Record<string, ReportSlot<AnalyticsBreakdown>>;
2797
+ /**
2798
+ * The zone the server actually answered in, from whichever report has
2799
+ * loaded, or undefined before any has.
2800
+ *
2801
+ * COMPUTED HERE because this is where every response lands. A consumer that
2802
+ * picked its own subset of the slots would be wrong the moment a report was
2803
+ * added — which is exactly what happened: a list naming three of the five
2804
+ * ignored Channels and the breakdowns, so with only one of those loaded the
2805
+ * picker named a zone nothing on screen was counted in.
2806
+ *
2807
+ * It is not guaranteed to be the zone that was ASKED for: the server falls
2808
+ * back to the site's stored zone, and then UTC, for a value it cannot use.
2809
+ * Only the response says which.
2810
+ */
2811
+ reportedZone: string | undefined;
2775
2812
  /** True until every report has settled, for the initial skeleton only. */
2776
2813
  isLoading: boolean;
2777
2814
  refetch: () => Promise<void>;
@@ -2982,12 +3019,23 @@ declare function AnalyticsView({ filters: filtersProp, onFiltersChange, refreshK
2982
3019
  * report on these events, so the headline and the numbers under it describe
2983
3020
  * the same thing in the same words rather than two vocabularies for one site.
2984
3021
  *
3022
+ * WHATSAPP IS ITS OWN GOAL, not a kind of `outbound`, because the fleet says
3023
+ * so: measured over the 30 days to 2026-10-11, a WhatsApp link is the
3024
+ * dominant conversion for 179 sites — 11.7% of every site with any
3025
+ * conversion at all, and more sites than every named booking platform
3026
+ * combined (Fresha, Square, SkyTab, Toast, HotDoc, Clover and SpotOn are 1-5
3027
+ * sites each). Folding it into `outbound` would tell 179 merchants their site
3028
+ * is "set up to send visitors on to book with you", which is not what a
3029
+ * message thread is. It is not generalised to "messaging" either: Telegram is
3030
+ * 2 sites and Messenger, Signal and `sms:` are none, so a broader word would
3031
+ * only make the line vaguer for the ones it actually describes.
3032
+ *
2985
3033
  * `unknown` renders NOTHING. The derivation is lazy and improvable, so a site
2986
3034
  * it cannot settle yet is normal rather than broken — and naming the wrong
2987
3035
  * goal on a merchant's own dashboard is worse than naming none. An
2988
3036
  * undetermined goal costs this line, never the screen.
2989
3037
  */
2990
- type SiteGoal = "calls" | "enquiries" | "sales" | "outbound" | "unknown";
3038
+ type SiteGoal = "calls" | "enquiries" | "sales" | "whatsapp" | "outbound" | "unknown";
2991
3039
 
2992
3040
  interface DashboardViewProps {
2993
3041
  /** Bumped by the host after any turn that touched business data. */
@@ -3035,4 +3083,4 @@ interface DashboardViewProps {
3035
3083
  */
3036
3084
  declare function DashboardView({ refreshKey, onBackToWebsite, goal, onOpenSurface, needsPaidPlan, onUpgradePlan, onConnectStripe, }: DashboardViewProps): react_jsx_runtime.JSX.Element;
3037
3085
 
3038
- export { type AdjustInventoryInput, type AifeaturesApiClient, AifeaturesApiError, type AifeaturesContextValue, AifeaturesProvider, type AifeaturesProviderProps, type AnalyticsBreakdown, type AnalyticsBreakdownName, type AnalyticsBreakdownRow, type AnalyticsChannelRow, type AnalyticsChannels, type AnalyticsConversionRow, type AnalyticsConversions, type AnalyticsFilter, type AnalyticsFilterDimension, type AnalyticsPeriod, type AnalyticsRealtime, type AnalyticsSourced, type AnalyticsStatus, type AnalyticsSummary, type AnalyticsSummaryData, type AnalyticsSummaryMetrics, type AnalyticsTimeseries, type AnalyticsTimeseriesRow, AnalyticsView, type AnalyticsViewProps, type ApiError, type Attachment, type BusinessSummary, type BusinessVisitors, type CreateEventDestinationInput, type CreateFormInput, type CreateOptionInput, type CreateProductInput, type CreatePromoInput, type CreateVariantInput, type Customer, type CustomerAddress, CustomerDetail, type CustomerDetail$1 as CustomerDetailData, type CustomerDetailProps, CustomersList, type CustomersListProps, type CustomersListResponse, DashboardView, type DashboardViewProps, type EmailDelivery, type EmailSideStatus, type EventDeliveriesListResponse, type EventDelivery, type EventDestination, type EventDestinationSecretResponse, type EventDestinationsListResponse, type Form, FormSettings, type FormSettingsProps, FormSubmissions, type FormSubmissionsProps, FormsDashboard, type FormsDashboardProps, FormsList, type FormsListProps, type FormsListResponse, type GetBusinessSummaryOptions, type GetCustomersOptions, type GetInvoicesOptions, type GetOrdersOptions, type GetPeopleOptions, type GetProductsOptions, type GetSubmissionsOptions, type GetSubscriptionsOptions, type Invoice, type InvoiceAggregates, type InvoiceBillTo, type InvoiceDeliveryState, InvoiceDetail, type InvoiceDetailProps, type InvoiceLabel, InvoiceLabelBadge, type InvoiceLineItem, type InvoicePreview, type InvoiceSettings, InvoicesList, type InvoicesListProps, InvoicesView, type InvoicesViewProps, LeadsView, type LeadsViewProps, type LowStockProduct, MAX_ANALYTICS_FILTERS, MAX_ANALYTICS_FILTER_VALUES, type NeedsAttentionItem, type NeedsAttentionType, type Order, OrderDetail, type OrderDetailProps, type OrderStatus, OrderStatusBadge, OrdersList, type OrdersListProps, OrdersView, type OrdersViewProps, type PaginatedInvoices, type PaginatedOrders, type PaginatedSubmissions, type PaginatedSubscriptions, PaymentsDashboard, type PaymentsDashboardProps, PaymentsSetup, type PaymentsSetupProps, type PaymentsStatus, type PaymentsStatusReason, type PaymentsStatusResponse, type PeopleListResponse, type Person, type PersonDetail, type PersonOrder, type PersonSource, type PersonSubmission, type Product, type ProductDetail, type ProductFulfillment, type ProductFulfillmentType, type ProductOption, ProductSettings, type ProductSettingsProps, type ProductStats, type ProductVariant, ProductsList, type ProductsListProps, type ProductsListResponse, ProductsView, type ProductsViewProps, type Promo, type PromosListResponse, PromosPanel, REALTIME_FAILURES_BEFORE_ERROR, REALTIME_POLL_MS, type RefundRequest, type ReportSlot, RetainerStatusBadge, RetainersPanel, type RetainersPanelProps, type RevenueCurrencyTotal, type RevenuePeriod, type SetInventoryInput, type SetOrderFulfillmentInput, type SettledRevenue, type Submission, SubmissionDetail, type SubmissionDetailProps, type SubmissionMetadata, type Subscription, SubscriptionsView, type SubscriptionsViewProps, type UpdateEventDestinationInput, type UpdateFormInput, type UpdateOptionInput, type UpdateProductInput, type UpdateVariantInput, type UseAnalyticsOptions, type UseAnalyticsReturn, type UseBusinessSummaryOptions, type UseBusinessSummaryReturn, type UseCustomersOptions, type UseCustomersReturn, type UseEventDestinationsReturn, type UseFormsReturn, type UseInvoicesOptions, type UseInvoicesReturn, type UseOrdersOptions, type UseOrdersReturn, type UsePaymentsStatusReturn, type UsePeopleOptions, type UsePeopleReturn, type UsePersonOptions, type UsePersonReturn, type UseProductsOptions, type UseProductsReturn, type UseRealtimeVisitorsReturn, type UseSubmissionsOptions, type UseSubmissionsReturn, type UseSubscriptionsOptions, type UseSubscriptionsReturn, type VariantInventory, type VariantOptionValue, VariantsEditor, type VariantsEditorProps, ViewShell, type ViewShellProps, WebhookDeliveries, type WebhookDeliveriesProps, WebhookSettings, type WebhookSettingsProps, chargedTotal, createApiClient, formatPrice, isZeroDecimalCurrency, toMajorUnits, toMinorUnits, useAifeaturesContext as useAifeatures, useAifeaturesContext, useAnalytics, useBusinessSummary, useCustomers, useEventDestinations, useForms, useInvoices, useOrders, usePaymentsStatus, usePeople, usePerson, useProducts, useRealtimeVisitors, useRetainers, useSubmissions, useSubscriptions };
3086
+ export { type AdjustInventoryInput, type AifeaturesApiClient, AifeaturesApiError, type AifeaturesContextValue, AifeaturesProvider, type AifeaturesProviderProps, type AnalyticsBreakdown, type AnalyticsBreakdownName, type AnalyticsBreakdownRow, type AnalyticsChannelRow, type AnalyticsChannels, type AnalyticsConversionRow, type AnalyticsConversions, type AnalyticsFilter, type AnalyticsFilterDimension, type AnalyticsPeriod, type AnalyticsRealtime, type AnalyticsSourced, type AnalyticsStatus, type AnalyticsSummary, type AnalyticsSummaryData, type AnalyticsSummaryMetrics, type AnalyticsTimeseries, type AnalyticsTimeseriesRow, AnalyticsView, type AnalyticsViewProps, type ApiError, type Attachment, type BusinessSummary, type BusinessVisitors, type CreateEventDestinationInput, type CreateFormInput, type CreateOptionInput, type CreateProductInput, type CreatePromoInput, type CreateVariantInput, type Customer, type CustomerAddress, CustomerDetail, type CustomerDetail$1 as CustomerDetailData, type CustomerDetailProps, CustomersList, type CustomersListProps, type CustomersListResponse, DashboardView, type DashboardViewProps, type EmailDelivery, type EmailSideStatus, type EventDeliveriesListResponse, type EventDelivery, type EventDestination, type EventDestinationSecretResponse, type EventDestinationsListResponse, type Form, FormSettings, type FormSettingsProps, FormSubmissions, type FormSubmissionsProps, FormsDashboard, type FormsDashboardProps, FormsList, type FormsListProps, type FormsListResponse, type GetBusinessSummaryOptions, type GetCustomersOptions, type GetInvoicesOptions, type GetOrdersOptions, type GetPeopleOptions, type GetProductsOptions, type GetSubmissionsOptions, type GetSubscriptionsOptions, type Invoice, type InvoiceAggregates, type InvoiceBillTo, type InvoiceDeliveryState, InvoiceDetail, type InvoiceDetailProps, type InvoiceLabel, InvoiceLabelBadge, type InvoiceLineItem, type InvoicePreview, type InvoiceSettings, InvoicesList, type InvoicesListProps, InvoicesView, type InvoicesViewProps, LeadsView, type LeadsViewProps, type LowStockProduct, MAX_ANALYTICS_FILTERS, MAX_ANALYTICS_FILTER_VALUES, type NeedsAttentionItem, type NeedsAttentionType, type Order, OrderDetail, type OrderDetailProps, type OrderStatus, OrderStatusBadge, OrdersList, type OrdersListProps, OrdersView, type OrdersViewProps, type PaginatedInvoices, type PaginatedOrders, type PaginatedSubmissions, type PaginatedSubscriptions, PaymentsDashboard, type PaymentsDashboardProps, PaymentsSetup, type PaymentsSetupProps, type PaymentsStatus, type PaymentsStatusReason, type PaymentsStatusResponse, type PeopleListResponse, type Person, type PersonDetail, type PersonOrder, type PersonSource, type PersonSubmission, type Product, type ProductDetail, type ProductFulfillment, type ProductFulfillmentType, type ProductOption, ProductSettings, type ProductSettingsProps, type ProductStats, type ProductVariant, ProductsList, type ProductsListProps, type ProductsListResponse, ProductsView, type ProductsViewProps, type Promo, type PromosListResponse, PromosPanel, REALTIME_FAILURES_BEFORE_ERROR, REALTIME_POLL_MS, type RefundRequest, type ReportSlot, RetainerStatusBadge, RetainersPanel, type RetainersPanelProps, type RevenueCurrencyTotal, type RevenuePeriod, type SetInventoryInput, type SetOrderFulfillmentInput, type SettledRevenue, type SiteGoal, type Submission, SubmissionDetail, type SubmissionDetailProps, type SubmissionMetadata, type Subscription, SubscriptionsView, type SubscriptionsViewProps, type UpdateEventDestinationInput, type UpdateFormInput, type UpdateOptionInput, type UpdateProductInput, type UpdateVariantInput, type UseAnalyticsOptions, type UseAnalyticsReturn, type UseBusinessSummaryOptions, type UseBusinessSummaryReturn, type UseCustomersOptions, type UseCustomersReturn, type UseEventDestinationsReturn, type UseFormsReturn, type UseInvoicesOptions, type UseInvoicesReturn, type UseOrdersOptions, type UseOrdersReturn, type UsePaymentsStatusReturn, type UsePeopleOptions, type UsePeopleReturn, type UsePersonOptions, type UsePersonReturn, type UseProductsOptions, type UseProductsReturn, type UseRealtimeVisitorsReturn, type UseSubmissionsOptions, type UseSubmissionsReturn, type UseSubscriptionsOptions, type UseSubscriptionsReturn, type VariantInventory, type VariantOptionValue, VariantsEditor, type VariantsEditorProps, ViewShell, type ViewShellProps, WebhookDeliveries, type WebhookDeliveriesProps, WebhookSettings, type WebhookSettingsProps, chargedTotal, createApiClient, formatPrice, isZeroDecimalCurrency, toMajorUnits, toMinorUnits, useAifeaturesContext as useAifeatures, useAifeaturesContext, useAnalytics, useBusinessSummary, useCustomers, useEventDestinations, useForms, useInvoices, useOrders, usePaymentsStatus, usePeople, usePerson, useProducts, useRealtimeVisitors, useRetainers, useSubmissions, useSubscriptions };
package/dist/index.d.ts CHANGED
@@ -842,6 +842,16 @@ interface BusinessVisitors {
842
842
  from: string;
843
843
  to: string;
844
844
  };
845
+ /**
846
+ * The zone those local days were bucketed in.
847
+ *
848
+ * On the payload for the same reason every analytics report carries it: this
849
+ * client asks for a zone per request, and the server may not use the one it
850
+ * asked for — it falls back to the site's stored zone for a value it cannot
851
+ * read. The `date`s above are local days, so nothing can label them without
852
+ * this.
853
+ */
854
+ timezone: string;
845
855
  }
846
856
  /**
847
857
  * Response from GET /api/v1/summary — the merchant's one-look business
@@ -1355,6 +1365,17 @@ type AnalyticsSourced<T> = {
1355
1365
  from: string;
1356
1366
  to: string;
1357
1367
  };
1368
+ /**
1369
+ * The IANA zone this report's local days were bucketed in.
1370
+ *
1371
+ * ON THE ENVELOPE, so every report has it and none has to be paired with
1372
+ * /status — they are separate requests that fail separately, and pairing
1373
+ * them lets a status failure silently relabel a loaded report. It is also
1374
+ * not guaranteed to be the zone that was ASKED for: the server falls back
1375
+ * to the site's stored zone for an unusable value. This field, never the
1376
+ * request, is what the numbers are in.
1377
+ */
1378
+ timezone: string;
1358
1379
  } | {
1359
1380
  status: 'unreachable';
1360
1381
  };
@@ -1463,14 +1484,7 @@ interface AnalyticsChannelRow {
1463
1484
  */
1464
1485
  type AnalyticsBreakdownRow = Record<string, string | number | null | string[]>;
1465
1486
  type AnalyticsSummary = AnalyticsSourced<AnalyticsSummaryData>;
1466
- type AnalyticsTimeseries = AnalyticsSourced<AnalyticsTimeseriesRow[]> & {
1467
- /**
1468
- * The zone the dates are bucketed in, present on the OK branch. Read it from
1469
- * here rather than from /status: the two are separate requests, and pairing
1470
- * them means a status failure silently reburies the chart in UTC.
1471
- */
1472
- timezone?: string;
1473
- };
1487
+ type AnalyticsTimeseries = AnalyticsSourced<AnalyticsTimeseriesRow[]>;
1474
1488
  /**
1475
1489
  * One goal's conversions for the window.
1476
1490
  *
@@ -1522,6 +1536,7 @@ type AnalyticsConversions = {
1522
1536
  from: string;
1523
1537
  to: string;
1524
1538
  };
1539
+ timezone: string;
1525
1540
  denominator: number;
1526
1541
  first_seen: string | null;
1527
1542
  first_seen_unavailable: boolean;
@@ -2085,9 +2100,16 @@ interface ViewShellProps {
2085
2100
  }
2086
2101
  /**
2087
2102
  * The view strip + content wrapper every merchant view mounts inside
2088
- * (plan D13). The strip is the sole view indicator: title on the left,
2089
- * "Back to website" on the right, pinned to the top on small screens (D9) so
2090
- * the way out is always reachable.
2103
+ * (plan D13). The strip is the sole view indicator, pinned to the top on
2104
+ * small screens (D9) so the way out is always reachable.
2105
+ *
2106
+ * THE WAY OUT SITS LEFT OF THE TITLE — the back arrow points left, so it
2107
+ * belongs left of the thing it goes back from, and it reads as one phrase
2108
+ * with the view it is leaving. It was on the far right, which put the two
2109
+ * halves of the same sentence at opposite ends of the strip and left the
2110
+ * button's distance from the title depending on how wide the panel happened
2111
+ * to be. It is placed there with flex `order`, for the keyboard reason
2112
+ * written at the button itself.
2091
2113
  *
2092
2114
  * Accessibility: the panel's content is replaced out from under screen-reader
2093
2115
  * users when a view opens, so the heading is an `aria-live="polite"` region
@@ -2772,6 +2794,21 @@ interface UseAnalyticsReturn {
2772
2794
  */
2773
2795
  conversions: ReportSlot<AnalyticsConversions>;
2774
2796
  breakdowns: Record<string, ReportSlot<AnalyticsBreakdown>>;
2797
+ /**
2798
+ * The zone the server actually answered in, from whichever report has
2799
+ * loaded, or undefined before any has.
2800
+ *
2801
+ * COMPUTED HERE because this is where every response lands. A consumer that
2802
+ * picked its own subset of the slots would be wrong the moment a report was
2803
+ * added — which is exactly what happened: a list naming three of the five
2804
+ * ignored Channels and the breakdowns, so with only one of those loaded the
2805
+ * picker named a zone nothing on screen was counted in.
2806
+ *
2807
+ * It is not guaranteed to be the zone that was ASKED for: the server falls
2808
+ * back to the site's stored zone, and then UTC, for a value it cannot use.
2809
+ * Only the response says which.
2810
+ */
2811
+ reportedZone: string | undefined;
2775
2812
  /** True until every report has settled, for the initial skeleton only. */
2776
2813
  isLoading: boolean;
2777
2814
  refetch: () => Promise<void>;
@@ -2982,12 +3019,23 @@ declare function AnalyticsView({ filters: filtersProp, onFiltersChange, refreshK
2982
3019
  * report on these events, so the headline and the numbers under it describe
2983
3020
  * the same thing in the same words rather than two vocabularies for one site.
2984
3021
  *
3022
+ * WHATSAPP IS ITS OWN GOAL, not a kind of `outbound`, because the fleet says
3023
+ * so: measured over the 30 days to 2026-10-11, a WhatsApp link is the
3024
+ * dominant conversion for 179 sites — 11.7% of every site with any
3025
+ * conversion at all, and more sites than every named booking platform
3026
+ * combined (Fresha, Square, SkyTab, Toast, HotDoc, Clover and SpotOn are 1-5
3027
+ * sites each). Folding it into `outbound` would tell 179 merchants their site
3028
+ * is "set up to send visitors on to book with you", which is not what a
3029
+ * message thread is. It is not generalised to "messaging" either: Telegram is
3030
+ * 2 sites and Messenger, Signal and `sms:` are none, so a broader word would
3031
+ * only make the line vaguer for the ones it actually describes.
3032
+ *
2985
3033
  * `unknown` renders NOTHING. The derivation is lazy and improvable, so a site
2986
3034
  * it cannot settle yet is normal rather than broken — and naming the wrong
2987
3035
  * goal on a merchant's own dashboard is worse than naming none. An
2988
3036
  * undetermined goal costs this line, never the screen.
2989
3037
  */
2990
- type SiteGoal = "calls" | "enquiries" | "sales" | "outbound" | "unknown";
3038
+ type SiteGoal = "calls" | "enquiries" | "sales" | "whatsapp" | "outbound" | "unknown";
2991
3039
 
2992
3040
  interface DashboardViewProps {
2993
3041
  /** Bumped by the host after any turn that touched business data. */
@@ -3035,4 +3083,4 @@ interface DashboardViewProps {
3035
3083
  */
3036
3084
  declare function DashboardView({ refreshKey, onBackToWebsite, goal, onOpenSurface, needsPaidPlan, onUpgradePlan, onConnectStripe, }: DashboardViewProps): react_jsx_runtime.JSX.Element;
3037
3085
 
3038
- export { type AdjustInventoryInput, type AifeaturesApiClient, AifeaturesApiError, type AifeaturesContextValue, AifeaturesProvider, type AifeaturesProviderProps, type AnalyticsBreakdown, type AnalyticsBreakdownName, type AnalyticsBreakdownRow, type AnalyticsChannelRow, type AnalyticsChannels, type AnalyticsConversionRow, type AnalyticsConversions, type AnalyticsFilter, type AnalyticsFilterDimension, type AnalyticsPeriod, type AnalyticsRealtime, type AnalyticsSourced, type AnalyticsStatus, type AnalyticsSummary, type AnalyticsSummaryData, type AnalyticsSummaryMetrics, type AnalyticsTimeseries, type AnalyticsTimeseriesRow, AnalyticsView, type AnalyticsViewProps, type ApiError, type Attachment, type BusinessSummary, type BusinessVisitors, type CreateEventDestinationInput, type CreateFormInput, type CreateOptionInput, type CreateProductInput, type CreatePromoInput, type CreateVariantInput, type Customer, type CustomerAddress, CustomerDetail, type CustomerDetail$1 as CustomerDetailData, type CustomerDetailProps, CustomersList, type CustomersListProps, type CustomersListResponse, DashboardView, type DashboardViewProps, type EmailDelivery, type EmailSideStatus, type EventDeliveriesListResponse, type EventDelivery, type EventDestination, type EventDestinationSecretResponse, type EventDestinationsListResponse, type Form, FormSettings, type FormSettingsProps, FormSubmissions, type FormSubmissionsProps, FormsDashboard, type FormsDashboardProps, FormsList, type FormsListProps, type FormsListResponse, type GetBusinessSummaryOptions, type GetCustomersOptions, type GetInvoicesOptions, type GetOrdersOptions, type GetPeopleOptions, type GetProductsOptions, type GetSubmissionsOptions, type GetSubscriptionsOptions, type Invoice, type InvoiceAggregates, type InvoiceBillTo, type InvoiceDeliveryState, InvoiceDetail, type InvoiceDetailProps, type InvoiceLabel, InvoiceLabelBadge, type InvoiceLineItem, type InvoicePreview, type InvoiceSettings, InvoicesList, type InvoicesListProps, InvoicesView, type InvoicesViewProps, LeadsView, type LeadsViewProps, type LowStockProduct, MAX_ANALYTICS_FILTERS, MAX_ANALYTICS_FILTER_VALUES, type NeedsAttentionItem, type NeedsAttentionType, type Order, OrderDetail, type OrderDetailProps, type OrderStatus, OrderStatusBadge, OrdersList, type OrdersListProps, OrdersView, type OrdersViewProps, type PaginatedInvoices, type PaginatedOrders, type PaginatedSubmissions, type PaginatedSubscriptions, PaymentsDashboard, type PaymentsDashboardProps, PaymentsSetup, type PaymentsSetupProps, type PaymentsStatus, type PaymentsStatusReason, type PaymentsStatusResponse, type PeopleListResponse, type Person, type PersonDetail, type PersonOrder, type PersonSource, type PersonSubmission, type Product, type ProductDetail, type ProductFulfillment, type ProductFulfillmentType, type ProductOption, ProductSettings, type ProductSettingsProps, type ProductStats, type ProductVariant, ProductsList, type ProductsListProps, type ProductsListResponse, ProductsView, type ProductsViewProps, type Promo, type PromosListResponse, PromosPanel, REALTIME_FAILURES_BEFORE_ERROR, REALTIME_POLL_MS, type RefundRequest, type ReportSlot, RetainerStatusBadge, RetainersPanel, type RetainersPanelProps, type RevenueCurrencyTotal, type RevenuePeriod, type SetInventoryInput, type SetOrderFulfillmentInput, type SettledRevenue, type Submission, SubmissionDetail, type SubmissionDetailProps, type SubmissionMetadata, type Subscription, SubscriptionsView, type SubscriptionsViewProps, type UpdateEventDestinationInput, type UpdateFormInput, type UpdateOptionInput, type UpdateProductInput, type UpdateVariantInput, type UseAnalyticsOptions, type UseAnalyticsReturn, type UseBusinessSummaryOptions, type UseBusinessSummaryReturn, type UseCustomersOptions, type UseCustomersReturn, type UseEventDestinationsReturn, type UseFormsReturn, type UseInvoicesOptions, type UseInvoicesReturn, type UseOrdersOptions, type UseOrdersReturn, type UsePaymentsStatusReturn, type UsePeopleOptions, type UsePeopleReturn, type UsePersonOptions, type UsePersonReturn, type UseProductsOptions, type UseProductsReturn, type UseRealtimeVisitorsReturn, type UseSubmissionsOptions, type UseSubmissionsReturn, type UseSubscriptionsOptions, type UseSubscriptionsReturn, type VariantInventory, type VariantOptionValue, VariantsEditor, type VariantsEditorProps, ViewShell, type ViewShellProps, WebhookDeliveries, type WebhookDeliveriesProps, WebhookSettings, type WebhookSettingsProps, chargedTotal, createApiClient, formatPrice, isZeroDecimalCurrency, toMajorUnits, toMinorUnits, useAifeaturesContext as useAifeatures, useAifeaturesContext, useAnalytics, useBusinessSummary, useCustomers, useEventDestinations, useForms, useInvoices, useOrders, usePaymentsStatus, usePeople, usePerson, useProducts, useRealtimeVisitors, useRetainers, useSubmissions, useSubscriptions };
3086
+ export { type AdjustInventoryInput, type AifeaturesApiClient, AifeaturesApiError, type AifeaturesContextValue, AifeaturesProvider, type AifeaturesProviderProps, type AnalyticsBreakdown, type AnalyticsBreakdownName, type AnalyticsBreakdownRow, type AnalyticsChannelRow, type AnalyticsChannels, type AnalyticsConversionRow, type AnalyticsConversions, type AnalyticsFilter, type AnalyticsFilterDimension, type AnalyticsPeriod, type AnalyticsRealtime, type AnalyticsSourced, type AnalyticsStatus, type AnalyticsSummary, type AnalyticsSummaryData, type AnalyticsSummaryMetrics, type AnalyticsTimeseries, type AnalyticsTimeseriesRow, AnalyticsView, type AnalyticsViewProps, type ApiError, type Attachment, type BusinessSummary, type BusinessVisitors, type CreateEventDestinationInput, type CreateFormInput, type CreateOptionInput, type CreateProductInput, type CreatePromoInput, type CreateVariantInput, type Customer, type CustomerAddress, CustomerDetail, type CustomerDetail$1 as CustomerDetailData, type CustomerDetailProps, CustomersList, type CustomersListProps, type CustomersListResponse, DashboardView, type DashboardViewProps, type EmailDelivery, type EmailSideStatus, type EventDeliveriesListResponse, type EventDelivery, type EventDestination, type EventDestinationSecretResponse, type EventDestinationsListResponse, type Form, FormSettings, type FormSettingsProps, FormSubmissions, type FormSubmissionsProps, FormsDashboard, type FormsDashboardProps, FormsList, type FormsListProps, type FormsListResponse, type GetBusinessSummaryOptions, type GetCustomersOptions, type GetInvoicesOptions, type GetOrdersOptions, type GetPeopleOptions, type GetProductsOptions, type GetSubmissionsOptions, type GetSubscriptionsOptions, type Invoice, type InvoiceAggregates, type InvoiceBillTo, type InvoiceDeliveryState, InvoiceDetail, type InvoiceDetailProps, type InvoiceLabel, InvoiceLabelBadge, type InvoiceLineItem, type InvoicePreview, type InvoiceSettings, InvoicesList, type InvoicesListProps, InvoicesView, type InvoicesViewProps, LeadsView, type LeadsViewProps, type LowStockProduct, MAX_ANALYTICS_FILTERS, MAX_ANALYTICS_FILTER_VALUES, type NeedsAttentionItem, type NeedsAttentionType, type Order, OrderDetail, type OrderDetailProps, type OrderStatus, OrderStatusBadge, OrdersList, type OrdersListProps, OrdersView, type OrdersViewProps, type PaginatedInvoices, type PaginatedOrders, type PaginatedSubmissions, type PaginatedSubscriptions, PaymentsDashboard, type PaymentsDashboardProps, PaymentsSetup, type PaymentsSetupProps, type PaymentsStatus, type PaymentsStatusReason, type PaymentsStatusResponse, type PeopleListResponse, type Person, type PersonDetail, type PersonOrder, type PersonSource, type PersonSubmission, type Product, type ProductDetail, type ProductFulfillment, type ProductFulfillmentType, type ProductOption, ProductSettings, type ProductSettingsProps, type ProductStats, type ProductVariant, ProductsList, type ProductsListProps, type ProductsListResponse, ProductsView, type ProductsViewProps, type Promo, type PromosListResponse, PromosPanel, REALTIME_FAILURES_BEFORE_ERROR, REALTIME_POLL_MS, type RefundRequest, type ReportSlot, RetainerStatusBadge, RetainersPanel, type RetainersPanelProps, type RevenueCurrencyTotal, type RevenuePeriod, type SetInventoryInput, type SetOrderFulfillmentInput, type SettledRevenue, type SiteGoal, type Submission, SubmissionDetail, type SubmissionDetailProps, type SubmissionMetadata, type Subscription, SubscriptionsView, type SubscriptionsViewProps, type UpdateEventDestinationInput, type UpdateFormInput, type UpdateOptionInput, type UpdateProductInput, type UpdateVariantInput, type UseAnalyticsOptions, type UseAnalyticsReturn, type UseBusinessSummaryOptions, type UseBusinessSummaryReturn, type UseCustomersOptions, type UseCustomersReturn, type UseEventDestinationsReturn, type UseFormsReturn, type UseInvoicesOptions, type UseInvoicesReturn, type UseOrdersOptions, type UseOrdersReturn, type UsePaymentsStatusReturn, type UsePeopleOptions, type UsePeopleReturn, type UsePersonOptions, type UsePersonReturn, type UseProductsOptions, type UseProductsReturn, type UseRealtimeVisitorsReturn, type UseSubmissionsOptions, type UseSubmissionsReturn, type UseSubscriptionsOptions, type UseSubscriptionsReturn, type VariantInventory, type VariantOptionValue, VariantsEditor, type VariantsEditorProps, ViewShell, type ViewShellProps, WebhookDeliveries, type WebhookDeliveriesProps, WebhookSettings, type WebhookSettingsProps, chargedTotal, createApiClient, formatPrice, isZeroDecimalCurrency, toMajorUnits, toMinorUnits, useAifeaturesContext as useAifeatures, useAifeaturesContext, useAnalytics, useBusinessSummary, useCustomers, useEventDestinations, useForms, useInvoices, useOrders, usePaymentsStatus, usePeople, usePerson, useProducts, useRealtimeVisitors, useRetainers, useSubmissions, useSubscriptions };