@elevasis/ui 2.60.1 → 2.61.1

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 (48) hide show
  1. package/dist/api/index.js +3 -3
  2. package/dist/app/index.d.ts +6 -5
  3. package/dist/app/index.js +3 -3
  4. package/dist/auth/index.js +3 -3
  5. package/dist/charts/index.js +3 -3
  6. package/dist/{chunk-XOPLS4S6.js → chunk-774JOHIM.js} +60 -20
  7. package/dist/{chunk-4N5GYO6R.js → chunk-BUVFSG7A.js} +214 -250
  8. package/dist/{chunk-7Q5THR43.js → chunk-DRQA53N4.js} +1 -1
  9. package/dist/{chunk-4UA62IDF.js → chunk-YM6LMYOE.js} +1 -1
  10. package/dist/components/index.d.ts +128 -17
  11. package/dist/components/index.js +3 -3
  12. package/dist/components/navigation/index.js +3 -3
  13. package/dist/features/auth/index.js +4 -4
  14. package/dist/features/clients/index.js +3 -3
  15. package/dist/features/crm/index.js +3 -3
  16. package/dist/features/dashboard/index.d.ts +6 -5
  17. package/dist/features/dashboard/index.js +3 -3
  18. package/dist/features/delivery/index.js +3 -3
  19. package/dist/features/knowledge/index.js +3 -3
  20. package/dist/features/lead-gen/index.d.ts +189 -18
  21. package/dist/features/lead-gen/index.js +3 -3
  22. package/dist/features/monitoring/index.js +3 -3
  23. package/dist/features/monitoring/requests/index.js +4 -4
  24. package/dist/features/operations/index.d.ts +6 -5
  25. package/dist/features/operations/index.js +3 -3
  26. package/dist/features/settings/index.js +3 -3
  27. package/dist/hooks/access/index.js +3 -3
  28. package/dist/hooks/delivery/index.js +3 -3
  29. package/dist/hooks/index.d.ts +13 -15
  30. package/dist/hooks/index.js +3 -3
  31. package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +6 -5
  32. package/dist/hooks/published.d.ts +13 -15
  33. package/dist/hooks/published.js +3 -3
  34. package/dist/index.d.ts +188 -28
  35. package/dist/index.js +4 -4
  36. package/dist/knowledge/index.d.ts +6 -5
  37. package/dist/knowledge/index.js +4 -4
  38. package/dist/layout/index.js +3 -3
  39. package/dist/organization/index.js +3 -3
  40. package/dist/provider/index.d.ts +59 -6
  41. package/dist/provider/index.js +3 -3
  42. package/dist/provider/published.d.ts +6 -5
  43. package/dist/provider/published.js +3 -3
  44. package/dist/test-utils/index.js +3 -3
  45. package/dist/types/index.d.ts +6 -5
  46. package/dist/utils/index.d.ts +6 -5
  47. package/dist/utils/index.js +1 -1
  48. package/package.json +5 -5
@@ -778,12 +778,13 @@ declare const SystemApiInterfaceSchema: z$1.ZodObject<{
778
778
  archived: "archived";
779
779
  disabled: "disabled";
780
780
  }>>;
781
- readinessProfile: z$1.ZodOptional<z$1.ZodEnum<{
782
- "sales.lead-gen.api": "sales.lead-gen.api";
783
- "sales.crm.api": "sales.crm.api";
784
- "sales.lead-gen.crm-handoff": "sales.lead-gen.crm-handoff";
785
- }>>;
781
+ readinessProfile: z$1.ZodOptional<z$1.ZodString>;
786
782
  resourceIds: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>>;
783
+ readinessContract: z$1.ZodOptional<z$1.ZodObject<{
784
+ requiredObjects: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
785
+ requiredCatalogs: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
786
+ requiredKinds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
787
+ }, z$1.core.$strict>>;
787
788
  }, z$1.core.$strict>;
788
789
  type JsonPrimitive = string | number | boolean | null;
789
790
  type JsonValue = JsonPrimitive | JsonValue[] | {
@@ -1978,7 +1979,113 @@ interface OrganizationGraphSystemBridge {
1978
1979
  systemId?: string;
1979
1980
  }
1980
1981
 
1981
- declare const leadGenManifest: SystemModule;
1982
+ interface LeadGenOverviewPageSlots {
1983
+ /**
1984
+ * Optional content rendered after the page title, before the main body.
1985
+ * Renders inside a Mantine Group. Default: nothing rendered.
1986
+ */
1987
+ headerActions?: ReactNode;
1988
+ /**
1989
+ * Optional extra tab nodes rendered inside the main content area.
1990
+ * Default: nothing rendered.
1991
+ */
1992
+ tabs?: ReactNode;
1993
+ /**
1994
+ * Optional content rendered below the main page stack.
1995
+ * Default: nothing rendered.
1996
+ */
1997
+ footer?: ReactNode;
1998
+ }
1999
+ declare function LeadGenOverviewPage({ headerActions, tabs, footer }?: LeadGenOverviewPageSlots): react_jsx_runtime.JSX.Element;
2000
+
2001
+ interface LeadGenListDetailPageSlots {
2002
+ /**
2003
+ * Optional content rendered after the page title row.
2004
+ * Use this instead of a route-wrapper bolt-on for things like an export
2005
+ * button that should appear at the top of the detail page.
2006
+ * Default: nothing rendered.
2007
+ */
2008
+ headerActions?: React.ReactNode;
2009
+ /**
2010
+ * Optional content rendered below the tab list and above the first
2011
+ * tab panel. Rarely needed; prefer `headerActions` for most use cases.
2012
+ * Default: nothing rendered.
2013
+ */
2014
+ tabs?: React.ReactNode;
2015
+ /**
2016
+ * Optional content rendered after the main page stack (below the modal).
2017
+ * Default: nothing rendered.
2018
+ */
2019
+ footer?: React.ReactNode;
2020
+ }
2021
+ declare function LeadGenListDetailPage({ listId, headerActions, tabs, footer }: {
2022
+ listId: string;
2023
+ } & LeadGenListDetailPageSlots): react_jsx_runtime.JSX.Element;
2024
+
2025
+ interface LeadGenCompaniesPageSlots {
2026
+ /**
2027
+ * Extra columns appended after the default company columns.
2028
+ * Mirrors the `step.recordColumns` seam used by the list-detail build tab.
2029
+ * Each column is rendered using the same `renderRecordValue` / `valueAtPath`
2030
+ * helpers — `path` is resolved against the company row object.
2031
+ * Default: no extra columns.
2032
+ */
2033
+ extraColumns?: RecordColumnConfig[];
2034
+ /**
2035
+ * When true, `extraColumns` replaces the default column set entirely
2036
+ * rather than appending. Default: false (append).
2037
+ */
2038
+ replaceDefaultColumns?: boolean;
2039
+ }
2040
+ declare function LeadGenCompaniesPage({ extraColumns, replaceDefaultColumns }?: LeadGenCompaniesPageSlots): react_jsx_runtime.JSX.Element;
2041
+
2042
+ interface LeadGenContactsPageSlots {
2043
+ /**
2044
+ * Extra columns appended after the default contact columns.
2045
+ * Mirrors the `step.recordColumns` seam used by the list-detail build tab.
2046
+ * Each column is rendered using the same path-resolution pattern.
2047
+ * Default: no extra columns.
2048
+ */
2049
+ extraColumns?: RecordColumnConfig[];
2050
+ /**
2051
+ * When true, `extraColumns` replaces the default column set entirely
2052
+ * rather than appending. Default: false (append).
2053
+ */
2054
+ replaceDefaultColumns?: boolean;
2055
+ }
2056
+ declare function LeadGenContactsPage({ extraColumns, replaceDefaultColumns }?: LeadGenContactsPageSlots): react_jsx_runtime.JSX.Element;
2057
+
2058
+ /**
2059
+ * Optional page component overrides / slot injections for lead-gen pages.
2060
+ * Each key maps to a page surface; the value is an object of optional
2061
+ * slot props (all absent → byte-identical default render).
2062
+ *
2063
+ * Extend this map as more pages gain slot support.
2064
+ */
2065
+ interface LeadGenPageOverrides {
2066
+ /** Slot props injected into `LeadGenOverviewPage`. */
2067
+ overview?: LeadGenOverviewPageSlots;
2068
+ /** Slot props injected into `LeadGenListDetailPage`. */
2069
+ listDetail?: LeadGenListDetailPageSlots;
2070
+ /** Column config / slot props injected into `LeadGenCompaniesPage`. */
2071
+ companies?: LeadGenCompaniesPageSlots;
2072
+ /** Column config / slot props injected into `LeadGenContactsPage`. */
2073
+ contacts?: LeadGenContactsPageSlots;
2074
+ }
2075
+ /**
2076
+ * Extended `SystemModule` for the lead-gen feature that carries optional
2077
+ * page overrides alongside the standard manifest fields.
2078
+ */
2079
+ interface LeadGenSystemModule extends SystemModule {
2080
+ /**
2081
+ * Optional page override map. Absent → no override (default renders apply).
2082
+ * Replaces the need for route-wrapper bolt-ons in tenant projects.
2083
+ */
2084
+ pages?: LeadGenPageOverrides;
2085
+ }
2086
+ /** @deprecated Use `LeadGenSystemModule` for typed page overrides. */
2087
+ type LeadGenManifest = LeadGenSystemModule;
2088
+ declare const leadGenManifest: LeadGenSystemModule;
1982
2089
 
1983
2090
  interface LeadGenRouteLink {
1984
2091
  label: string;
@@ -2690,13 +2797,73 @@ interface ListActionDefinition {
2690
2797
  selectionMode?: ListActionSelectionMode;
2691
2798
  renderForm?: (context: ListActionFormContext) => ReactNode;
2692
2799
  }
2800
+ /**
2801
+ * A header action rendered in the page header area (e.g. an export button).
2802
+ * Absent → nothing rendered. This is the extension point replacing the
2803
+ * Nirvana route-wrapper bolt-on pattern.
2804
+ */
2805
+ interface LeadGenHeaderAction {
2806
+ /** Stable key for React reconciliation. */
2807
+ key: string;
2808
+ /** Render the action node. Called inside a Mantine Group. */
2809
+ render: () => ReactNode;
2810
+ }
2811
+ /**
2812
+ * A row-level action rendered per record (e.g. an inline action button).
2813
+ * Generic context keeps the registry decoupled from row-type specifics.
2814
+ */
2815
+ interface LeadGenRowAction<TRow = unknown> {
2816
+ key: string;
2817
+ render: (row: TRow) => ReactNode;
2818
+ }
2819
+ /** A bulk action rendered when one or more rows are selected. */
2820
+ interface LeadGenBulkAction<TRow = unknown> {
2821
+ key: string;
2822
+ label: string;
2823
+ onAction: (rows: TRow[]) => void;
2824
+ }
2825
+ /**
2826
+ * The generalized UI action registry. Extends the existing `listActions`
2827
+ * (ListBuilderRegistry for workflow steps) with optional header/row/bulk
2828
+ * action slots. All fields are optional — omitting any slot preserves
2829
+ * the existing default render exactly.
2830
+ */
2831
+ interface LeadGenActionRegistry {
2832
+ /** Workflow-step registry (the original listActions / ListBuilderRegistry). */
2833
+ listActions?: ListBuilderRegistry;
2834
+ /** Actions rendered in the page header area. */
2835
+ headerActions?: readonly LeadGenHeaderAction[];
2836
+ /** Per-row actions rendered in data grids. */
2837
+ rowActions?: readonly LeadGenRowAction[];
2838
+ /** Bulk actions rendered when records are selected. */
2839
+ bulkActions?: readonly LeadGenBulkAction[];
2840
+ }
2693
2841
 
2694
2842
  declare const EMPTY_LIST_ACTIONS: ListBuilderRegistry;
2695
- declare function ListActionsProvider({ registry, children }: {
2843
+ declare function ListActionsProvider({ registry, actionRegistry, children }: {
2844
+ /**
2845
+ * Workflow-step registry (original API). Still accepted for backward
2846
+ * compatibility. If `actionRegistry` is also provided, its `listActions`
2847
+ * field takes precedence.
2848
+ */
2696
2849
  registry?: ListBuilderRegistry;
2850
+ /**
2851
+ * Full UI action registry (header / row / bulk + listActions).
2852
+ * Supersedes the plain `registry` prop when provided.
2853
+ */
2854
+ actionRegistry?: LeadGenActionRegistry;
2697
2855
  children: ReactNode;
2698
2856
  }): react_jsx_runtime.JSX.Element;
2857
+ /** Returns the workflow-step registry. Backward-compatible with existing consumers. */
2699
2858
  declare function useListActions(): ListBuilderRegistry;
2859
+ /** Returns the full UI action registry (header / row / bulk + listActions). */
2860
+ declare function useLeadGenActionRegistry(): LeadGenActionRegistry;
2861
+ /** Returns header actions registered for the lead-gen UI. */
2862
+ declare function useLeadGenHeaderActions(): readonly LeadGenHeaderAction[];
2863
+ /** Returns per-row actions registered for the lead-gen UI. */
2864
+ declare function useLeadGenRowActions(): readonly LeadGenRowAction[];
2865
+ /** Returns bulk actions registered for the lead-gen UI. */
2866
+ declare function useLeadGenBulkActions(): readonly LeadGenBulkAction[];
2700
2867
  declare function findListActionByAction(registry: ListBuilderRegistry, actionKey: LeadGenActionKey): ListBuilderWorkflow | undefined;
2701
2868
  declare function getListActionWorkflowId(action: ListBuilderWorkflow): string;
2702
2869
 
@@ -2770,23 +2937,27 @@ declare function getLeadGenExportWorkflowId(model: OrganizationModel): string |
2770
2937
  declare function getLeadGenApiInterfaceReadiness(model: OrganizationModel | undefined): LeadGenApiInterfaceReadiness;
2771
2938
  declare function useLeadGenConfig(): LeadGenConfig;
2772
2939
 
2773
- declare function LeadGenOverviewPage(): react_jsx_runtime.JSX.Element;
2774
-
2775
2940
  declare function LeadGenListsPage(): react_jsx_runtime.JSX.Element;
2776
2941
 
2777
- declare function LeadGenListDetailPage({ listId }: {
2778
- listId: string;
2779
- }): react_jsx_runtime.JSX.Element;
2780
-
2781
2942
  declare function ListBuilderIndexPage(): react_jsx_runtime.JSX.Element;
2782
2943
 
2783
2944
  declare function ListBuilderPage({ listId }: {
2784
2945
  listId: string;
2785
2946
  }): react_jsx_runtime.JSX.Element;
2786
2947
 
2787
- declare function LeadGenCompaniesPage(): react_jsx_runtime.JSX.Element;
2788
-
2789
- declare function LeadGenContactsPage(): react_jsx_runtime.JSX.Element;
2948
+ /**
2949
+ * Displays a warning alert when the lead-gen System Interface readiness check
2950
+ * has not yet passed. Extracted from the inline block in LeadGenListDetailPage
2951
+ * and reusable across any lead-gen page surface.
2952
+ *
2953
+ * Renders nothing when `canUseApiActions` is true (readiness check passed).
2954
+ */
2955
+ declare function LeadGenReadinessAlert({ canUseApiActions, reason }: {
2956
+ /** Whether the lead-gen API is currently available (readiness check passed). */
2957
+ canUseApiActions: boolean;
2958
+ /** Optional reason string surfaced from the System Interface readiness check. */
2959
+ reason?: string;
2960
+ }): react_jsx_runtime.JSX.Element | null;
2790
2961
 
2791
- export { EMPTY_LIST_ACTIONS, LEAD_GEN_ITEMS, LEAD_GEN_ROUTE_LINKS, LeadGenCompaniesPage, LeadGenContactsPage, LeadGenListDetailPage, LeadGenListsPage, LeadGenOverviewPage, LeadGenRouteShell, LeadGenSidebar, LeadGenSidebarMiddle, LeadGenSidebarTop, ListActionsProvider, ListBuilderIndexPage, ListBuilderPage, ORPHAN_STAGE_ORDER, companyKeys as acquisitionCompanyKeys, contactKeys as acquisitionContactKeys, companyKeys, contactKeys, deriveBusinessProgress, findListActionByAction, formatDate, getEnrichmentColor, getEnrichmentStatus, getLeadGenApiInterfaceReadiness, getLeadGenExportWorkflowId, getListActionWorkflowId, getStateKeyColor, getStatusColor, getStepActionLabel, isLeadGenExportAction, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, leadGenManifest, resolveBuildPlanSteps, resolveBuildState, sortStageKeys, useArtifacts, useCompanies, useCompany, useCompanyFacets, useContact, useContacts, useCreateArtifact, useCreateCompany, useCreateContact, useDeleteCompanies, useDeleteContacts, useDeleteLists, useDeriveActions, useLeadGenConfig, useListActions, useListMember, useListMembers, useListProgress, useTransitionListCompany, useTransitionListMember, useUpdateCompany, useUpdateContact, useUpdateListStatus };
2792
- export type { AcqCompanyWithCount, AcqContactWithCompany, BuildResolution, BuildStepPrimaryEntity, BuildStepState, LeadGenActionKey, LeadGenApiInterfaceReadiness, LeadGenBuildConfig, LeadGenCompanyListItem, LeadGenConfig, LeadGenContactListItem, LeadGenRouteLink, LeadGenSidebarMiddleProps, LeadGenStageKey, ListActionDefinition, ListActionFormContext, ListActionSelectionMode, ListBuildActionKind, ListBuildRecommendedAction, ListBuildStepStatus, ListBuilderRegistry, ListBuilderWorkflow, ListBuilderWorkflowCategory, MvpBuildStepDefinition, StatefulItem, TransitionListCompanyInput, TransitionListMemberInput, UpdateListStatusInput, UseArtifactsParams };
2962
+ export { EMPTY_LIST_ACTIONS, LEAD_GEN_ITEMS, LEAD_GEN_ROUTE_LINKS, LeadGenCompaniesPage, LeadGenContactsPage, LeadGenListDetailPage, LeadGenListsPage, LeadGenOverviewPage, LeadGenReadinessAlert, LeadGenRouteShell, LeadGenSidebar, LeadGenSidebarMiddle, LeadGenSidebarTop, ListActionsProvider, ListBuilderIndexPage, ListBuilderPage, ORPHAN_STAGE_ORDER, companyKeys as acquisitionCompanyKeys, contactKeys as acquisitionContactKeys, companyKeys, contactKeys, deriveBusinessProgress, findListActionByAction, formatDate, getEnrichmentColor, getEnrichmentStatus, getLeadGenApiInterfaceReadiness, getLeadGenExportWorkflowId, getListActionWorkflowId, getStateKeyColor, getStatusColor, getStepActionLabel, isLeadGenExportAction, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, leadGenManifest, resolveBuildPlanSteps, resolveBuildState, sortStageKeys, useArtifacts, useCompanies, useCompany, useCompanyFacets, useContact, useContacts, useCreateArtifact, useCreateCompany, useCreateContact, useDeleteCompanies, useDeleteContacts, useDeleteLists, useDeriveActions, useLeadGenActionRegistry, useLeadGenBulkActions, useLeadGenConfig, useLeadGenHeaderActions, useLeadGenRowActions, useListActions, useListMember, useListMembers, useListProgress, useTransitionListCompany, useTransitionListMember, useUpdateCompany, useUpdateContact, useUpdateListStatus };
2963
+ export type { AcqCompanyWithCount, AcqContactWithCompany, BuildResolution, BuildStepPrimaryEntity, BuildStepState, LeadGenActionKey, LeadGenActionRegistry, LeadGenApiInterfaceReadiness, LeadGenBuildConfig, LeadGenBulkAction, LeadGenCompaniesPageSlots, LeadGenCompanyListItem, LeadGenConfig, LeadGenContactListItem, LeadGenContactsPageSlots, LeadGenHeaderAction, LeadGenListDetailPageSlots, LeadGenManifest, LeadGenOverviewPageSlots, LeadGenPageOverrides, LeadGenRouteLink, LeadGenRowAction, LeadGenSidebarMiddleProps, LeadGenStageKey, LeadGenSystemModule, ListActionDefinition, ListActionFormContext, ListActionSelectionMode, ListBuildActionKind, ListBuildRecommendedAction, ListBuildStepStatus, ListBuilderRegistry, ListBuilderWorkflow, ListBuilderWorkflowCategory, MvpBuildStepDefinition, StatefulItem, TransitionListCompanyInput, TransitionListMemberInput, UpdateListStatusInput, UseArtifactsParams };
@@ -1,11 +1,11 @@
1
- export { EMPTY_LIST_ACTIONS, LEAD_GEN_ITEMS, LEAD_GEN_ROUTE_LINKS, LeadGenCompaniesPage, LeadGenContactsPage, LeadGenListDetailPage, LeadGenListsPage, LeadGenOverviewPage, LeadGenRouteShell, LeadGenSidebar, LeadGenSidebarMiddle, LeadGenSidebarTop, ListActionsProvider, ListBuilderIndexPage, ListBuilderPage, ORPHAN_STAGE_ORDER, companyKeys as acquisitionCompanyKeys, contactKeys as acquisitionContactKeys, companyKeys, contactKeys, deriveBusinessProgress, findListActionByAction, formatDate, getEnrichmentColor, getEnrichmentStatus, getLeadGenApiInterfaceReadiness, getLeadGenExportWorkflowId, getListActionWorkflowId, getStateKeyColor, getStatusColor, getStepActionLabel, isLeadGenExportAction, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, leadGenManifest, resolveBuildPlanSteps, resolveBuildState, sortStageKeys, useArtifacts, useCompanies, useCompany, useCompanyFacets, useContact, useContacts, useCreateArtifact, useCreateCompany, useCreateContact, useDeleteCompanies, useDeleteContacts, useDeleteLists, useDeriveActions, useLeadGenConfig, useListActions, useListMember, useListMembers, useListProgress, useTransitionListCompany, useTransitionListMember, useUpdateCompany, useUpdateContact, useUpdateListStatus } from '../../chunk-4N5GYO6R.js';
1
+ export { EMPTY_LIST_ACTIONS, LEAD_GEN_ITEMS, LEAD_GEN_ROUTE_LINKS, LeadGenCompaniesPage, LeadGenContactsPage, LeadGenListDetailPage, LeadGenListsPage, LeadGenOverviewPage, LeadGenReadinessAlert, LeadGenRouteShell, LeadGenSidebar, LeadGenSidebarMiddle, LeadGenSidebarTop, ListActionsProvider, ListBuilderIndexPage, ListBuilderPage, ORPHAN_STAGE_ORDER, companyKeys as acquisitionCompanyKeys, contactKeys as acquisitionContactKeys, companyKeys, contactKeys, deriveBusinessProgress, findListActionByAction, formatDate, getEnrichmentColor, getEnrichmentStatus, getLeadGenApiInterfaceReadiness, getLeadGenExportWorkflowId, getListActionWorkflowId, getStateKeyColor, getStatusColor, getStepActionLabel, isLeadGenExportAction, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, leadGenManifest, resolveBuildPlanSteps, resolveBuildState, sortStageKeys, useArtifacts, useCompanies, useCompany, useCompanyFacets, useContact, useContacts, useCreateArtifact, useCreateCompany, useCreateContact, useDeleteCompanies, useDeleteContacts, useDeleteLists, useDeriveActions, useLeadGenActionRegistry, useLeadGenBulkActions, useLeadGenConfig, useLeadGenHeaderActions, useLeadGenRowActions, useListActions, useListMember, useListMembers, useListProgress, useTransitionListCompany, useTransitionListMember, useUpdateCompany, useUpdateContact, useUpdateListStatus } from '../../chunk-BUVFSG7A.js';
2
2
  import '../../chunk-NZ2F5RQ4.js';
3
3
  import '../../chunk-OJJK27GC.js';
4
4
  import '../../chunk-ZTWA5H77.js';
5
5
  import '../../chunk-AUDNF2Q7.js';
6
6
  import '../../chunk-6M6OLGQY.js';
7
7
  import '../../chunk-MKH2KOAO.js';
8
- import '../../chunk-7Q5THR43.js';
8
+ import '../../chunk-DRQA53N4.js';
9
9
  import '../../chunk-T4LA4RY2.js';
10
10
  import '../../chunk-GMXGDO3I.js';
11
11
  import '../../chunk-S3XR4II4.js';
@@ -19,7 +19,7 @@ import '../../chunk-HENXLGVD.js';
19
19
  import '../../chunk-I3CFGE3N.js';
20
20
  import '../../chunk-RNP5R5I3.js';
21
21
  import '../../chunk-EIXSQONC.js';
22
- import '../../chunk-XOPLS4S6.js';
22
+ import '../../chunk-774JOHIM.js';
23
23
  import '../../chunk-FVOMKZ7S.js';
24
24
  import '../../chunk-KRWALB24.js';
25
25
  import '../../chunk-BI5VDO2K.js';
@@ -1,11 +1,11 @@
1
- export { ActivityFeed, ActivityLog, CostAnalytics, ErrorDetailsModal, ExecutionHealth, ExecutionLogsPage, NotificationCenter, monitoringManifest } from '../../chunk-4N5GYO6R.js';
1
+ export { ActivityFeed, ActivityLog, CostAnalytics, ErrorDetailsModal, ExecutionHealth, ExecutionLogsPage, NotificationCenter, monitoringManifest } from '../../chunk-BUVFSG7A.js';
2
2
  import '../../chunk-NZ2F5RQ4.js';
3
3
  import '../../chunk-OJJK27GC.js';
4
4
  import '../../chunk-ZTWA5H77.js';
5
5
  import '../../chunk-AUDNF2Q7.js';
6
6
  import '../../chunk-6M6OLGQY.js';
7
7
  import '../../chunk-MKH2KOAO.js';
8
- import '../../chunk-7Q5THR43.js';
8
+ import '../../chunk-DRQA53N4.js';
9
9
  import '../../chunk-T4LA4RY2.js';
10
10
  import '../../chunk-GMXGDO3I.js';
11
11
  import '../../chunk-S3XR4II4.js';
@@ -19,7 +19,7 @@ import '../../chunk-HENXLGVD.js';
19
19
  import '../../chunk-I3CFGE3N.js';
20
20
  import '../../chunk-RNP5R5I3.js';
21
21
  import '../../chunk-EIXSQONC.js';
22
- import '../../chunk-XOPLS4S6.js';
22
+ import '../../chunk-774JOHIM.js';
23
23
  import '../../chunk-FVOMKZ7S.js';
24
24
  import '../../chunk-KRWALB24.js';
25
25
  import '../../chunk-BI5VDO2K.js';
@@ -1,12 +1,12 @@
1
- import { ConfirmationModal, RequestModal, usePaginationState, useRequestsList, useUpdateRequestStatus, useDeleteRequest, useTableSelection, PageTitleCaption, FilterBar, TableSelectionToolbar, CustomModal, useRequest, ContextViewer, JsonViewer } from '../../../chunk-4N5GYO6R.js';
2
- export { RequestActionIcon, RequestModal, requestTopbarActionManifest } from '../../../chunk-4N5GYO6R.js';
1
+ import { ConfirmationModal, RequestModal, usePaginationState, useRequestsList, useUpdateRequestStatus, useDeleteRequest, useTableSelection, PageTitleCaption, FilterBar, TableSelectionToolbar, CustomModal, useRequest, ContextViewer, JsonViewer } from '../../../chunk-BUVFSG7A.js';
2
+ export { RequestActionIcon, RequestModal, requestTopbarActionManifest } from '../../../chunk-BUVFSG7A.js';
3
3
  import '../../../chunk-NZ2F5RQ4.js';
4
4
  import '../../../chunk-OJJK27GC.js';
5
5
  import '../../../chunk-ZTWA5H77.js';
6
6
  import '../../../chunk-AUDNF2Q7.js';
7
7
  import '../../../chunk-6M6OLGQY.js';
8
8
  import '../../../chunk-MKH2KOAO.js';
9
- import '../../../chunk-7Q5THR43.js';
9
+ import '../../../chunk-DRQA53N4.js';
10
10
  import '../../../chunk-T4LA4RY2.js';
11
11
  import '../../../chunk-GMXGDO3I.js';
12
12
  import { CardHeader } from '../../../chunk-S3XR4II4.js';
@@ -20,7 +20,7 @@ import '../../../chunk-HENXLGVD.js';
20
20
  import '../../../chunk-I3CFGE3N.js';
21
21
  import '../../../chunk-RNP5R5I3.js';
22
22
  import '../../../chunk-EIXSQONC.js';
23
- import { formatTimeAgo } from '../../../chunk-XOPLS4S6.js';
23
+ import { formatTimeAgo } from '../../../chunk-774JOHIM.js';
24
24
  import '../../../chunk-FVOMKZ7S.js';
25
25
  import '../../../chunk-KRWALB24.js';
26
26
  import '../../../chunk-BI5VDO2K.js';
@@ -483,12 +483,13 @@ declare const SystemApiInterfaceSchema: z.ZodObject<{
483
483
  archived: "archived";
484
484
  disabled: "disabled";
485
485
  }>>;
486
- readinessProfile: z.ZodOptional<z.ZodEnum<{
487
- "sales.lead-gen.api": "sales.lead-gen.api";
488
- "sales.crm.api": "sales.crm.api";
489
- "sales.lead-gen.crm-handoff": "sales.lead-gen.crm-handoff";
490
- }>>;
486
+ readinessProfile: z.ZodOptional<z.ZodString>;
491
487
  resourceIds: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
488
+ readinessContract: z.ZodOptional<z.ZodObject<{
489
+ requiredObjects: z.ZodDefault<z.ZodArray<z.ZodString>>;
490
+ requiredCatalogs: z.ZodDefault<z.ZodArray<z.ZodString>>;
491
+ requiredKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
492
+ }, z.core.$strict>>;
492
493
  }, z.core.$strict>;
493
494
  type JsonPrimitive = string | number | boolean | null;
494
495
  type JsonValue = JsonPrimitive | JsonValue[] | {
@@ -1,11 +1,11 @@
1
- export { AgentExecutionPanel, AgentSessionGroup, CommandQueueDetailPage, CommandQueuePage, CommandQueueShell, CommandViewPage, DashboardOperationsOverview, ExecuteWorkflowModal, ExecutionPanel, OperationsOverview, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, OrganizationGraphPage, ResourceDetailPage, ResourcesPage, ResourcesSidebar, SessionChatArea, SessionChatInterface, SessionChatPage, SessionConversationView, SessionDetailsPanel, SessionExecutionLogs, SessionHeader, SessionListItem, SessionsPage, SessionsSidebar, SystemOpsView, WorkflowExecutionPanel, aggregateSystemMetrics, formatResourceAttribution, operationsManifest } from '../../chunk-4N5GYO6R.js';
1
+ export { AgentExecutionPanel, AgentSessionGroup, CommandQueueDetailPage, CommandQueuePage, CommandQueueShell, CommandViewPage, DashboardOperationsOverview, ExecuteWorkflowModal, ExecutionPanel, OperationsOverview, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, OrganizationGraphPage, ResourceDetailPage, ResourcesPage, ResourcesSidebar, SessionChatArea, SessionChatInterface, SessionChatPage, SessionConversationView, SessionDetailsPanel, SessionExecutionLogs, SessionHeader, SessionListItem, SessionsPage, SessionsSidebar, SystemOpsView, WorkflowExecutionPanel, aggregateSystemMetrics, formatResourceAttribution, operationsManifest } from '../../chunk-BUVFSG7A.js';
2
2
  import '../../chunk-NZ2F5RQ4.js';
3
3
  import '../../chunk-OJJK27GC.js';
4
4
  import '../../chunk-ZTWA5H77.js';
5
5
  import '../../chunk-AUDNF2Q7.js';
6
6
  import '../../chunk-6M6OLGQY.js';
7
7
  import '../../chunk-MKH2KOAO.js';
8
- import '../../chunk-7Q5THR43.js';
8
+ import '../../chunk-DRQA53N4.js';
9
9
  import '../../chunk-T4LA4RY2.js';
10
10
  import '../../chunk-GMXGDO3I.js';
11
11
  import '../../chunk-S3XR4II4.js';
@@ -19,7 +19,7 @@ import '../../chunk-HENXLGVD.js';
19
19
  import '../../chunk-I3CFGE3N.js';
20
20
  import '../../chunk-RNP5R5I3.js';
21
21
  import '../../chunk-EIXSQONC.js';
22
- import '../../chunk-XOPLS4S6.js';
22
+ import '../../chunk-774JOHIM.js';
23
23
  import '../../chunk-FVOMKZ7S.js';
24
24
  import '../../chunk-KRWALB24.js';
25
25
  import '../../chunk-BI5VDO2K.js';
@@ -1,11 +1,11 @@
1
- export { AccountSettings, AppearanceSettings, CreateWebhookEndpointModal, EditCredentialModal, EditWebhookEndpointModal, MemberAccessModal, MyRolesPage, OAuthIntegrationsCard, OrgMembersList, OrganizationSettings, WebhookEndpointList, WebhookEndpointSettings, settingsManifest } from '../../chunk-4N5GYO6R.js';
1
+ export { AccountSettings, AppearanceSettings, CreateWebhookEndpointModal, EditCredentialModal, EditWebhookEndpointModal, MemberAccessModal, MyRolesPage, OAuthIntegrationsCard, OrgMembersList, OrganizationSettings, WebhookEndpointList, WebhookEndpointSettings, settingsManifest } from '../../chunk-BUVFSG7A.js';
2
2
  import '../../chunk-NZ2F5RQ4.js';
3
3
  import '../../chunk-OJJK27GC.js';
4
4
  import '../../chunk-ZTWA5H77.js';
5
5
  import '../../chunk-AUDNF2Q7.js';
6
6
  import '../../chunk-6M6OLGQY.js';
7
7
  import '../../chunk-MKH2KOAO.js';
8
- import '../../chunk-7Q5THR43.js';
8
+ import '../../chunk-DRQA53N4.js';
9
9
  import '../../chunk-T4LA4RY2.js';
10
10
  import '../../chunk-GMXGDO3I.js';
11
11
  import '../../chunk-S3XR4II4.js';
@@ -19,7 +19,7 @@ import '../../chunk-HENXLGVD.js';
19
19
  import '../../chunk-I3CFGE3N.js';
20
20
  import '../../chunk-RNP5R5I3.js';
21
21
  import '../../chunk-EIXSQONC.js';
22
- import '../../chunk-XOPLS4S6.js';
22
+ import '../../chunk-774JOHIM.js';
23
23
  import '../../chunk-FVOMKZ7S.js';
24
24
  import '../../chunk-KRWALB24.js';
25
25
  import '../../chunk-BI5VDO2K.js';
@@ -1,11 +1,11 @@
1
- export { AccessKeys, useAccess } from '../../chunk-4N5GYO6R.js';
1
+ export { AccessKeys, useAccess } from '../../chunk-BUVFSG7A.js';
2
2
  import '../../chunk-NZ2F5RQ4.js';
3
3
  import '../../chunk-OJJK27GC.js';
4
4
  import '../../chunk-ZTWA5H77.js';
5
5
  import '../../chunk-AUDNF2Q7.js';
6
6
  import '../../chunk-6M6OLGQY.js';
7
7
  import '../../chunk-MKH2KOAO.js';
8
- import '../../chunk-7Q5THR43.js';
8
+ import '../../chunk-DRQA53N4.js';
9
9
  import '../../chunk-T4LA4RY2.js';
10
10
  import '../../chunk-GMXGDO3I.js';
11
11
  import '../../chunk-S3XR4II4.js';
@@ -19,7 +19,7 @@ import '../../chunk-HENXLGVD.js';
19
19
  import '../../chunk-I3CFGE3N.js';
20
20
  import '../../chunk-RNP5R5I3.js';
21
21
  import '../../chunk-EIXSQONC.js';
22
- import '../../chunk-XOPLS4S6.js';
22
+ import '../../chunk-774JOHIM.js';
23
23
  import '../../chunk-FVOMKZ7S.js';
24
24
  import '../../chunk-KRWALB24.js';
25
25
  import '../../chunk-BI5VDO2K.js';
@@ -1,11 +1,11 @@
1
- export { milestoneKeys, noteKeys, projectKeys, taskKeys, useCreateMilestone, useCreateNote, useCreateProject, useCreateTask, useDeleteMilestone, useDeleteProject, useDeleteTask2 as useDeleteTask, useMilestones, useProject, useProjectMilestones, useProjectNotes, useProjectTasks, useProjects, useTasks, useUpdateMilestone, useUpdateProject, useUpdateTask } from '../../chunk-4N5GYO6R.js';
1
+ export { milestoneKeys, noteKeys, projectKeys, taskKeys, useCreateMilestone, useCreateNote, useCreateProject, useCreateTask, useDeleteMilestone, useDeleteProject, useDeleteTask2 as useDeleteTask, useMilestones, useProject, useProjectMilestones, useProjectNotes, useProjectTasks, useProjects, useTasks, useUpdateMilestone, useUpdateProject, useUpdateTask } from '../../chunk-BUVFSG7A.js';
2
2
  import '../../chunk-NZ2F5RQ4.js';
3
3
  import '../../chunk-OJJK27GC.js';
4
4
  import '../../chunk-ZTWA5H77.js';
5
5
  import '../../chunk-AUDNF2Q7.js';
6
6
  import '../../chunk-6M6OLGQY.js';
7
7
  import '../../chunk-MKH2KOAO.js';
8
- import '../../chunk-7Q5THR43.js';
8
+ import '../../chunk-DRQA53N4.js';
9
9
  import '../../chunk-T4LA4RY2.js';
10
10
  import '../../chunk-GMXGDO3I.js';
11
11
  import '../../chunk-S3XR4II4.js';
@@ -19,7 +19,7 @@ import '../../chunk-HENXLGVD.js';
19
19
  import '../../chunk-I3CFGE3N.js';
20
20
  import '../../chunk-RNP5R5I3.js';
21
21
  import '../../chunk-EIXSQONC.js';
22
- import '../../chunk-XOPLS4S6.js';
22
+ import '../../chunk-774JOHIM.js';
23
23
  import '../../chunk-FVOMKZ7S.js';
24
24
  import '../../chunk-KRWALB24.js';
25
25
  import '../../chunk-BI5VDO2K.js';
@@ -3538,12 +3538,13 @@ declare const SystemApiInterfaceSchema: z.ZodObject<{
3538
3538
  archived: "archived";
3539
3539
  disabled: "disabled";
3540
3540
  }>>;
3541
- readinessProfile: z.ZodOptional<z.ZodEnum<{
3542
- "sales.lead-gen.api": "sales.lead-gen.api";
3543
- "sales.crm.api": "sales.crm.api";
3544
- "sales.lead-gen.crm-handoff": "sales.lead-gen.crm-handoff";
3545
- }>>;
3541
+ readinessProfile: z.ZodOptional<z.ZodString>;
3546
3542
  resourceIds: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
3543
+ readinessContract: z.ZodOptional<z.ZodObject<{
3544
+ requiredObjects: z.ZodDefault<z.ZodArray<z.ZodString>>;
3545
+ requiredCatalogs: z.ZodDefault<z.ZodArray<z.ZodString>>;
3546
+ requiredKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
3547
+ }, z.core.$strict>>;
3547
3548
  }, z.core.$strict>;
3548
3549
  type JsonPrimitive = string | number | boolean | null;
3549
3550
  type JsonValue = JsonPrimitive | JsonValue[] | {
@@ -4589,21 +4590,18 @@ interface AcqDealTask {
4589
4590
  /**
4590
4591
  * Live-scan aggregate telemetry for a single list, computed on demand from
4591
4592
  * the list junction tables and current contact deliverability state.
4592
- * `stageCounts` are attempted counts from list-row processing_state.
4593
+ * `stageCounts` are attempted counts from list-row processing_state, keyed
4594
+ * by the tenant's declared lead-gen stage catalog IDs. The canonical Elevasis
4595
+ * pipeline stages (`populated`, `extracted`, `qualified`, `discovered`,
4596
+ * `verified`, `personalized`, `uploaded`) are included when declared in the
4597
+ * tenant's stage catalog; tenants may declare additional or different stages.
4593
4598
  */
4594
4599
  interface ListTelemetry {
4595
4600
  listId: string;
4596
4601
  totalCompanies: number;
4597
4602
  totalContacts: number;
4598
- stageCounts: {
4599
- populated: number;
4600
- extracted: number;
4601
- qualified: number;
4602
- discovered: number;
4603
- verified: number;
4604
- personalized: number;
4605
- uploaded: number;
4606
- };
4603
+ /** Stage attempt counts keyed by the tenant's declared stage catalog IDs. */
4604
+ stageCounts: Record<string, number>;
4607
4605
  deliverability: {
4608
4606
  valid: number;
4609
4607
  risky: number;
@@ -1,11 +1,11 @@
1
- export { AccessKeys, ApiKeyService, CredentialService, DeploymentService, OperationsService, OrganizationMembershipService, WebhookEndpointService, acquisitionListKeys, clientsKeys, collectResourceFilterFacets, companyKeys, contactKeys, dealKeys, dealNoteKeys, dealTaskKeys, executionsKeys, filterByDomainFilters, getResourceFilterFacetIds, isSessionCapable, labelResourceFilterFacet, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, milestoneKeys, noteKeys, observabilityKeys, operationsKeys, projectActivityKeys, projectKeys, requestsKeys, scheduleKeys, sessionsKeys, sortData, taskKeys, useAccess, useActivateDeployment, useActivities, useActivitiesRealtime, useActivityFilters, useActivityTrend, useAddCompaniesToList, useAddContactsToList, useArchiveSession, useArchivedLogs, useArtifacts, useAssignRole, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useClient, useClientStatus, useClients, useCommandQueue, useCommandQueueTask, useCommandQueueTotals, useCommandViewData, useCommandViewDomainFilters, useCommandViewStats, useCommandViewStore, useCompanies, useCompany, useCompanyFacets, useCompleteDealTask, useContact, useContacts, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateApiKey, useCreateArtifact, useCreateClient, useCreateCompany, useCreateContact, useCreateCredential, useCreateDealNote, useCreateDealTask, useCreateProject as useCreateDeliveryProject, useCreateList, useCreateMilestone, useCreateNote, useCreateOrgRole, useCreateSchedule, useCreateSession, useCreateTask, useCreateWebhookEndpoint, useCredentials, useDashboardMetrics, useDeactivateDeployment, useDeactivateMembership, useDealDetail, useDealNotes, useDealTasks, useDealTasksDue, useDeals, useDealsLookup, useDealsSummary, useDeleteApiKey, useDeleteClient, useDeleteCompanies, useDeleteContacts, useDeleteCredential, useDeleteDeal, useDeleteProject as useDeleteDeliveryProject, useDeleteTask2 as useDeleteDeliveryTask, useDeleteDeployment, useDeleteExecution, useDeleteList, useDeleteMilestone, useDeleteOrgRole, useDeleteRequest, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeleteWebhookEndpoint, useDeriveActions, useEffectivePermissions, useEndSession, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useErrorTrends, useExecuteAction, useExecuteAsync, useExecuteResource, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionLogsFilters, useExecutionPanelState, useExecutionSSE, useExecutions, useGetExecutionHistory, useGetSchedule, useInFlightExecutions, useList, useListApiKeys, useListDeployments, useListExecutions, useListMember, useListMembers, useListProgress, useListRecords, useListSchedules, useListWebhookEndpoints, useLists, useListsTelemetry, useMarkAllAsRead, useMarkAsRead, useMilestones, useNotificationCount as useNotificationCountSSE, useNotifications, useOrgRoles, useOrganizationMembers, usePaginationState, usePatchTask, usePauseSchedule, usePermissionCatalog, useProject, useProjectActivities, useProjectMilestones, useProjectNotes, useProjectRealtime, useProjectTasks, useProjects, useReactivateMembership, useRecentExecutionsByResource, useRemoveCompaniesFromList, useRequest, useRequestsList, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResourceSearch, useResources, useResourcesDomainFilters, useResourcesHealth, useResumeSchedule, useRetryExecution, useRevokeRole, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useStatusFilter, useSubmitAction, useSubmitRequest, useSuccessNotification, useSystemHealth, useTableSelection, useTableSort, useTasks, useTestNotification, useTimeRangeDates, useTopFailingResources, useTransitionItem, useTransitionListCompany, useTransitionListMember, useTransitionState, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateApiKey, useUpdateClient, useUpdateCompany, useUpdateContact, useUpdateCredential, useUpdateProject as useUpdateDeliveryProject, useUpdateList, useUpdateListConfig, useUpdateListStatus, useUpdateMilestone, useUpdateOrgRole, useUpdateRequestStatus, useUpdateSchedule, useUpdateTask, useUpdateWebhookEndpoint, useUserMemberships, useVerifyCredential, useVisibleResources, useWarningNotification, useWorkflowExecution } from '../chunk-4N5GYO6R.js';
1
+ export { AccessKeys, ApiKeyService, CredentialService, DeploymentService, OperationsService, OrganizationMembershipService, WebhookEndpointService, acquisitionListKeys, clientsKeys, collectResourceFilterFacets, companyKeys, contactKeys, dealKeys, dealNoteKeys, dealTaskKeys, executionsKeys, filterByDomainFilters, getResourceFilterFacetIds, isSessionCapable, labelResourceFilterFacet, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, milestoneKeys, noteKeys, observabilityKeys, operationsKeys, projectActivityKeys, projectKeys, requestsKeys, scheduleKeys, sessionsKeys, sortData, taskKeys, useAccess, useActivateDeployment, useActivities, useActivitiesRealtime, useActivityFilters, useActivityTrend, useAddCompaniesToList, useAddContactsToList, useArchiveSession, useArchivedLogs, useArtifacts, useAssignRole, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useClient, useClientStatus, useClients, useCommandQueue, useCommandQueueTask, useCommandQueueTotals, useCommandViewData, useCommandViewDomainFilters, useCommandViewStats, useCommandViewStore, useCompanies, useCompany, useCompanyFacets, useCompleteDealTask, useContact, useContacts, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateApiKey, useCreateArtifact, useCreateClient, useCreateCompany, useCreateContact, useCreateCredential, useCreateDealNote, useCreateDealTask, useCreateProject as useCreateDeliveryProject, useCreateList, useCreateMilestone, useCreateNote, useCreateOrgRole, useCreateSchedule, useCreateSession, useCreateTask, useCreateWebhookEndpoint, useCredentials, useDashboardMetrics, useDeactivateDeployment, useDeactivateMembership, useDealDetail, useDealNotes, useDealTasks, useDealTasksDue, useDeals, useDealsLookup, useDealsSummary, useDeleteApiKey, useDeleteClient, useDeleteCompanies, useDeleteContacts, useDeleteCredential, useDeleteDeal, useDeleteProject as useDeleteDeliveryProject, useDeleteTask2 as useDeleteDeliveryTask, useDeleteDeployment, useDeleteExecution, useDeleteList, useDeleteMilestone, useDeleteOrgRole, useDeleteRequest, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeleteWebhookEndpoint, useDeriveActions, useEffectivePermissions, useEndSession, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useErrorTrends, useExecuteAction, useExecuteAsync, useExecuteResource, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionLogsFilters, useExecutionPanelState, useExecutionSSE, useExecutions, useGetExecutionHistory, useGetSchedule, useInFlightExecutions, useList, useListApiKeys, useListDeployments, useListExecutions, useListMember, useListMembers, useListProgress, useListRecords, useListSchedules, useListWebhookEndpoints, useLists, useListsTelemetry, useMarkAllAsRead, useMarkAsRead, useMilestones, useNotificationCount as useNotificationCountSSE, useNotifications, useOrgRoles, useOrganizationMembers, usePaginationState, usePatchTask, usePauseSchedule, usePermissionCatalog, useProject, useProjectActivities, useProjectMilestones, useProjectNotes, useProjectRealtime, useProjectTasks, useProjects, useReactivateMembership, useRecentExecutionsByResource, useRemoveCompaniesFromList, useRequest, useRequestsList, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResourceSearch, useResources, useResourcesDomainFilters, useResourcesHealth, useResumeSchedule, useRetryExecution, useRevokeRole, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useStatusFilter, useSubmitAction, useSubmitRequest, useSuccessNotification, useSystemHealth, useTableSelection, useTableSort, useTasks, useTestNotification, useTimeRangeDates, useTopFailingResources, useTransitionItem, useTransitionListCompany, useTransitionListMember, useTransitionState, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateApiKey, useUpdateClient, useUpdateCompany, useUpdateContact, useUpdateCredential, useUpdateProject as useUpdateDeliveryProject, useUpdateList, useUpdateListConfig, useUpdateListStatus, useUpdateMilestone, useUpdateOrgRole, useUpdateRequestStatus, useUpdateSchedule, useUpdateTask, useUpdateWebhookEndpoint, useUserMemberships, useVerifyCredential, useVisibleResources, useWarningNotification, useWorkflowExecution } from '../chunk-BUVFSG7A.js';
2
2
  import '../chunk-NZ2F5RQ4.js';
3
3
  import '../chunk-OJJK27GC.js';
4
4
  import '../chunk-ZTWA5H77.js';
5
5
  import '../chunk-AUDNF2Q7.js';
6
6
  import '../chunk-6M6OLGQY.js';
7
7
  import '../chunk-MKH2KOAO.js';
8
- import '../chunk-7Q5THR43.js';
8
+ import '../chunk-DRQA53N4.js';
9
9
  import '../chunk-T4LA4RY2.js';
10
10
  import '../chunk-GMXGDO3I.js';
11
11
  import '../chunk-S3XR4II4.js';
@@ -19,7 +19,7 @@ import '../chunk-HENXLGVD.js';
19
19
  export { useMergedExecution } from '../chunk-I3CFGE3N.js';
20
20
  import '../chunk-RNP5R5I3.js';
21
21
  import '../chunk-EIXSQONC.js';
22
- import '../chunk-XOPLS4S6.js';
22
+ import '../chunk-774JOHIM.js';
23
23
  export { REFETCH_INTERVAL_RUNNING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY } from '../chunk-FVOMKZ7S.js';
24
24
  import '../chunk-KRWALB24.js';
25
25
  import '../chunk-BI5VDO2K.js';
@@ -328,12 +328,13 @@ declare const SystemApiInterfaceSchema: z.ZodObject<{
328
328
  archived: "archived";
329
329
  disabled: "disabled";
330
330
  }>>;
331
- readinessProfile: z.ZodOptional<z.ZodEnum<{
332
- "sales.lead-gen.api": "sales.lead-gen.api";
333
- "sales.crm.api": "sales.crm.api";
334
- "sales.lead-gen.crm-handoff": "sales.lead-gen.crm-handoff";
335
- }>>;
331
+ readinessProfile: z.ZodOptional<z.ZodString>;
336
332
  resourceIds: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
333
+ readinessContract: z.ZodOptional<z.ZodObject<{
334
+ requiredObjects: z.ZodDefault<z.ZodArray<z.ZodString>>;
335
+ requiredCatalogs: z.ZodDefault<z.ZodArray<z.ZodString>>;
336
+ requiredKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
337
+ }, z.core.$strict>>;
337
338
  }, z.core.$strict>;
338
339
  type JsonPrimitive = string | number | boolean | null;
339
340
  type JsonValue = JsonPrimitive | JsonValue[] | {
@@ -3538,12 +3538,13 @@ declare const SystemApiInterfaceSchema: z.ZodObject<{
3538
3538
  archived: "archived";
3539
3539
  disabled: "disabled";
3540
3540
  }>>;
3541
- readinessProfile: z.ZodOptional<z.ZodEnum<{
3542
- "sales.lead-gen.api": "sales.lead-gen.api";
3543
- "sales.crm.api": "sales.crm.api";
3544
- "sales.lead-gen.crm-handoff": "sales.lead-gen.crm-handoff";
3545
- }>>;
3541
+ readinessProfile: z.ZodOptional<z.ZodString>;
3546
3542
  resourceIds: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
3543
+ readinessContract: z.ZodOptional<z.ZodObject<{
3544
+ requiredObjects: z.ZodDefault<z.ZodArray<z.ZodString>>;
3545
+ requiredCatalogs: z.ZodDefault<z.ZodArray<z.ZodString>>;
3546
+ requiredKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
3547
+ }, z.core.$strict>>;
3547
3548
  }, z.core.$strict>;
3548
3549
  type JsonPrimitive = string | number | boolean | null;
3549
3550
  type JsonValue = JsonPrimitive | JsonValue[] | {
@@ -4589,21 +4590,18 @@ interface AcqDealTask {
4589
4590
  /**
4590
4591
  * Live-scan aggregate telemetry for a single list, computed on demand from
4591
4592
  * the list junction tables and current contact deliverability state.
4592
- * `stageCounts` are attempted counts from list-row processing_state.
4593
+ * `stageCounts` are attempted counts from list-row processing_state, keyed
4594
+ * by the tenant's declared lead-gen stage catalog IDs. The canonical Elevasis
4595
+ * pipeline stages (`populated`, `extracted`, `qualified`, `discovered`,
4596
+ * `verified`, `personalized`, `uploaded`) are included when declared in the
4597
+ * tenant's stage catalog; tenants may declare additional or different stages.
4593
4598
  */
4594
4599
  interface ListTelemetry {
4595
4600
  listId: string;
4596
4601
  totalCompanies: number;
4597
4602
  totalContacts: number;
4598
- stageCounts: {
4599
- populated: number;
4600
- extracted: number;
4601
- qualified: number;
4602
- discovered: number;
4603
- verified: number;
4604
- personalized: number;
4605
- uploaded: number;
4606
- };
4603
+ /** Stage attempt counts keyed by the tenant's declared stage catalog IDs. */
4604
+ stageCounts: Record<string, number>;
4607
4605
  deliverability: {
4608
4606
  valid: number;
4609
4607
  risky: number;