@elevasis/ui 2.38.2 → 2.39.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.
Files changed (76) hide show
  1. package/dist/{CoreAuthKitInner-QC62UHTZ.js → CoreAuthKitInner-PSTKG4B3.js} +3 -1
  2. package/dist/api/index.js +4 -2
  3. package/dist/app/index.d.ts +12 -0
  4. package/dist/app/index.js +16 -13
  5. package/dist/auth/context.d.ts +7 -1
  6. package/dist/auth/index.d.ts +80 -74
  7. package/dist/auth/index.js +10 -7
  8. package/dist/charts/index.js +13 -10
  9. package/dist/{chunk-C6BDBZRO.js → chunk-23YQ2WH5.js} +2 -1
  10. package/dist/{chunk-KJ3QUBNU.js → chunk-2FTX4WO2.js} +2 -2
  11. package/dist/chunk-43ZU647H.js +612 -0
  12. package/dist/{chunk-4UCAUBOL.js → chunk-5GZVSTVH.js} +2 -2
  13. package/dist/{chunk-533DUEQY.js → chunk-6DO4PE3O.js} +1 -1
  14. package/dist/{chunk-AUB3T7OY.js → chunk-CXLDZSAQ.js} +5 -5
  15. package/dist/{chunk-Y3JQBSKQ.js → chunk-FAO7SWSL.js} +1 -1
  16. package/dist/{chunk-566XWGPP.js → chunk-GLBPGEDD.js} +53 -611
  17. package/dist/{chunk-P34FFSOX.js → chunk-HOAMD35V.js} +2 -1
  18. package/dist/{chunk-JXVNHVK7.js → chunk-K7E352VG.js} +1 -1
  19. package/dist/{chunk-BEVGBPHW.js → chunk-L2H5CIQF.js} +11 -10
  20. package/dist/chunk-MQZE7SUI.js +9 -0
  21. package/dist/{chunk-7GQFIWP4.js → chunk-O53S32QR.js} +3 -3
  22. package/dist/{chunk-OPKXEGE4.js → chunk-PVXM4O6V.js} +297 -182
  23. package/dist/{chunk-I53EX4VU.js → chunk-RG2S6NIU.js} +1 -1
  24. package/dist/{chunk-JBWJ6WHZ.js → chunk-SJHM4WDG.js} +1 -1
  25. package/dist/{chunk-M7Q4UBRY.js → chunk-SNDRAYMF.js} +1 -1
  26. package/dist/chunk-TVTSASST.js +28 -0
  27. package/dist/{chunk-2Q2JQSQO.js → chunk-W2SFTXMT.js} +1 -1
  28. package/dist/chunk-ZJ3FG7FE.js +801 -0
  29. package/dist/{chunk-YGUNUIME.js → chunk-ZRZYRDXX.js} +5 -4
  30. package/dist/components/index.d.ts +12 -0
  31. package/dist/components/index.js +19 -16
  32. package/dist/components/navigation/index.js +4 -3
  33. package/dist/features/auth/index.js +20 -17
  34. package/dist/features/clients/index.js +19 -16
  35. package/dist/features/crm/index.js +19 -16
  36. package/dist/features/dashboard/index.d.ts +12 -0
  37. package/dist/features/dashboard/index.js +19 -16
  38. package/dist/features/delivery/index.js +19 -16
  39. package/dist/features/knowledge/index.js +4 -3
  40. package/dist/features/lead-gen/index.d.ts +58 -12
  41. package/dist/features/lead-gen/index.js +19 -16
  42. package/dist/features/monitoring/index.js +19 -16
  43. package/dist/features/monitoring/requests/index.js +19 -16
  44. package/dist/features/notes/index.js +6 -4
  45. package/dist/features/operations/index.d.ts +12 -0
  46. package/dist/features/operations/index.js +19 -16
  47. package/dist/features/settings/index.js +19 -16
  48. package/dist/hooks/access/index.js +9 -6
  49. package/dist/hooks/delivery/index.js +19 -16
  50. package/dist/hooks/index.d.ts +260 -203
  51. package/dist/hooks/index.js +19 -16
  52. package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +12 -0
  53. package/dist/hooks/published.d.ts +260 -203
  54. package/dist/hooks/published.js +19 -16
  55. package/dist/hooks/user-notes/index.js +4 -2
  56. package/dist/index.d.ts +141 -84
  57. package/dist/index.js +19 -16
  58. package/dist/initialization/index.js +6 -4
  59. package/dist/knowledge/index.d.ts +12 -0
  60. package/dist/knowledge/index.js +5 -4
  61. package/dist/organization/index.d.ts +44 -10
  62. package/dist/organization/index.js +19 -16
  63. package/dist/profile/index.js +4 -2
  64. package/dist/provider/ElevasisServiceContext.d.ts +13 -4
  65. package/dist/provider/ElevasisServiceContext.js +3 -1
  66. package/dist/provider/index.d.ts +25 -4
  67. package/dist/provider/index.js +15 -12
  68. package/dist/provider/published.d.ts +25 -4
  69. package/dist/provider/published.js +14 -11
  70. package/dist/test-utils/index.d.ts +13 -4
  71. package/dist/test-utils/index.js +6 -3
  72. package/dist/types/index.d.ts +12 -0
  73. package/dist/utils/index.d.ts +12 -0
  74. package/dist/utils/index.js +3 -1
  75. package/package.json +3 -3
  76. package/dist/chunk-X66MVMZT.js +0 -373
package/dist/index.js CHANGED
@@ -1,14 +1,14 @@
1
1
  export { createElevasisQueryClient } from './chunk-73EWE2EW.js';
2
- export { AbsoluteScheduleForm, ActionModal, ActivityCard, ActivityFeedWidget, ActivityFilters as ActivityFiltersBar, ActivityTable, AgentDefinitionDisplay, AgentExecutionLogs, AgentExecutionTimeline, AgentExecutionVisualizer, AgentIterationEdge, AgentIterationNode, AllTasksPage, ApiKeyDisplayModal, ApiKeyList, ApiKeyService, ApiKeySettings, BaseEdge, BaseExecutionLogs, BaseExecutionLogsHeader, BaseExecutionLogsStates, BaseNode, Breadcrumbs, BusinessImpactCard, CheckpointGroup, CollapsibleJsonSection, CommandQueueSidebar, CommandQueueSidebarMiddle, CommandQueueSidebarTop, CommandQueueTaskRow, ConfigCard, ConfirmationInputModal, ConfirmationModal, ContentSections, ContextUsageBadge, ContractDisplay, CostBreakdownCard, CostByModelTable, CostMetricsCard, CreateApiKeyModal, CreateCredentialModal, CreateRoleModal, CreateScheduleModal, CredentialList, CredentialService, CredentialSettings, CrmOverview, CrmSidebar, CrmSidebarMiddle, CrmSidebarTop, CustomModal, DEAL_STAGES, DEFAULT_KANBAN_CONFIG, DealDetailPage, DealKanbanCard, DealsListPage, DeleteScheduleModal, DeploymentDetailModal, DeploymentList, DeploymentService, DeploymentSettings, DeploymentStatusBadge, EditApiKeyModal, EmptyVisualizer, ErrorAnalysisCard, ErrorBreakdownTable, ExecutionBreakdownTable, ExecutionErrorSection, ExecutionHealthCard, ExecutionLogsFilters as ExecutionLogsFilterBar, ExecutionLogsTable, ExecutionStats, ExecutionStatusBadge, FilterBar, GraphBackground, GraphContainer, GraphFitViewButton, GraphFitViewHandler, GraphLegend, HealthStatusCard, KanbanBoard, LEAD_GEN_ROUTE_LINKS, LeadGenCompaniesPage, LeadGenContactsPage, LeadGenListDetailPage, LeadGenListsPage, LeadGenOverviewPage, LeadGenRouteShell, LeadGenSidebar, LeadGenSidebarMiddle, LeadGenSidebarTop, LogEntry, LogGroup, MdxRenderer, MembershipStatusBadge, MetricsStrip, MilestoneTimeline, MyTasksPanel, NewKnowledgeMapEdge, NewKnowledgeMapGraph, NewKnowledgeMapNode, NoAccessState, NotificationBell, NotificationItem, NotificationList, NotificationPanel, OAuthConnectModal, OperationsService, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, OrganizationMembershipService, OrganizationMembershipsList, OrganizationSwitcher, OrganizationSwitcherConnected, PIPELINE_FUNNEL_ORDER, PermissionMatrix, PipelineFunnelWidget, ProjectDetailPage, ProjectsListPage, ProjectsSidebar, ProjectsSidebarMiddle, ProjectsSidebarTop, QuickCreateActions, RecurringScheduleForm, RelativeScheduleForm, ResourceDefinitionSection, ResourceErrorState, ResourceFilter, ResourceHeader, ResourceHealthChart, ResourceHealthPanel, ResourceNotFoundState, RichTextEditor, RoleBadge, RunResourceButton, SAVED_VIEW_PRESETS, SavedViewsPanel, ScheduleCard, ScheduleDetailModal, ScheduleTypeSelector, SessionMemory, SortableHeader, StepConfigForm, TabSection, TableSelectionToolbar, TaskCard, TaskScheduler, TimelineAxis, TimelineBar, TimelineContainer, TimelineRow, ToolsListDisplay, UnifiedWorkflowEdge, UnifiedWorkflowGraph, UnifiedWorkflowNode, UpcomingMilestonesPage, VisualizerContainer, WebhookEndpointService, WebhookUrlDisplayModal, WorkflowDefinitionDisplay, WorkflowExecutionLogs, WorkflowExecutionTimeline, ZodFormRenderer, acquisitionListKeys, calculateProgress, clientsKeys, collectResourceFilterFacets, companyKeys, contactKeys, createOrganizationsSlice, createUseOrgInitialization, createUseOrganizations, crmManifest, dealKeys, dealNoteKeys, dealTaskKeys, deliveryManifest, executionsKeys, filterByDomainFilters, formatStatusLabel, getEnrichmentColor, getExecutionStatusConfig, getGraphBackgroundStyles, getHealthColor, getIcon, getLogLevelConfig, getResourceFilterFacetIds, getStatusColor, iconMap, isSessionCapable, labelResourceFilterFacet, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, leadGenManifest, mdxComponents, milestoneKeys, milestoneStatusColors, monitoringManifest, noteKeys, noteTypeColors, operationsKeys, operationsManifest, projectActivityKeys, projectKeys, projectStatusColors, requestsKeys, scheduleKeys, sessionsKeys, settingsManifest, showApiErrorNotification, showAuthError, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification, sortData, taskKeys, taskStatusColors, taskTypeColors, useActivateDeployment, useActivities, useActivitiesRealtime, useActivityFilters, useActivityTrend, useAddCompaniesToList, useAddContactsToList, useArchiveSession, useArchivedLogs, useArtifacts, useAssignRole, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useClient, useClientStatus, useClients, useCommandQueue, 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, useCrmPipelineSummary, useCrmQuickMetrics, 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, useDeleteLists, useDeleteMilestone, useDeleteOrgRole, useDeleteRequest, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeleteWebhookEndpoint, useDeriveActions, useEffectivePermissions, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useExecuteAction, useExecuteAsync, useExecuteResource, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionLogsFilters, useExecutionPanelState, useExecutionSSE, useExecutions, useGetExecutionHistory, useGetSchedule, useGraphBackgroundStyles, useGraphTheme, useInFlightExecutions, useList, useListApiKeys, useListDeployments, useListExecutions, useListMember, useListMembers, useListProgress, useListRecords, useListSchedules, useListWebhookEndpoints, useLists, useListsTelemetry, useMarkAllAsRead, useMarkAsRead, useMilestones, useNewKnowledgeMapLayout, useNotificationCount as useNotificationCountSSE, useNotifications, useOrgRoles, useOrganizationMembers, usePaginationState, usePatchTask, usePauseSchedule, usePermissionCatalog, useProject, useProjectActivities, useProjectMilestones, useProjectNotes, useProjectRealtime, useProjectTasks, useProjects, useReactivateMembership, useRecentCrmActivity, 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, 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-OPKXEGE4.js';
2
+ export { AbsoluteScheduleForm, ActionModal, ActivityCard, ActivityFeedWidget, ActivityFilters as ActivityFiltersBar, ActivityTable, AgentDefinitionDisplay, AgentExecutionLogs, AgentExecutionTimeline, AgentExecutionVisualizer, AgentIterationEdge, AgentIterationNode, AllTasksPage, ApiKeyDisplayModal, ApiKeyList, ApiKeyService, ApiKeySettings, BaseEdge, BaseExecutionLogs, BaseExecutionLogsHeader, BaseExecutionLogsStates, BaseNode, Breadcrumbs, BusinessImpactCard, CheckpointGroup, CollapsibleJsonSection, CommandQueueSidebar, CommandQueueSidebarMiddle, CommandQueueSidebarTop, CommandQueueTaskRow, ConfigCard, ConfirmationInputModal, ConfirmationModal, ContentSections, ContextUsageBadge, ContractDisplay, CostBreakdownCard, CostByModelTable, CostMetricsCard, CreateApiKeyModal, CreateCredentialModal, CreateRoleModal, CreateScheduleModal, CredentialList, CredentialService, CredentialSettings, CrmOverview, CrmSidebar, CrmSidebarMiddle, CrmSidebarTop, CustomModal, DEAL_STAGES, DEFAULT_KANBAN_CONFIG, DealDetailPage, DealKanbanCard, DealsListPage, DeleteScheduleModal, DeploymentDetailModal, DeploymentList, DeploymentService, DeploymentSettings, DeploymentStatusBadge, EditApiKeyModal, EmptyVisualizer, ErrorAnalysisCard, ErrorBreakdownTable, ExecutionBreakdownTable, ExecutionErrorSection, ExecutionHealthCard, ExecutionLogsFilters as ExecutionLogsFilterBar, ExecutionLogsTable, ExecutionStats, ExecutionStatusBadge, FilterBar, GraphBackground, GraphContainer, GraphFitViewButton, GraphFitViewHandler, GraphLegend, HealthStatusCard, KanbanBoard, LEAD_GEN_ROUTE_LINKS, LeadGenCompaniesPage, LeadGenContactsPage, LeadGenListDetailPage, LeadGenListsPage, LeadGenOverviewPage, LeadGenRouteShell, LeadGenSidebar, LeadGenSidebarMiddle, LeadGenSidebarTop, LogEntry, LogGroup, MdxRenderer, MembershipStatusBadge, MetricsStrip, MilestoneTimeline, MyTasksPanel, NewKnowledgeMapEdge, NewKnowledgeMapGraph, NewKnowledgeMapNode, NoAccessState, NotificationBell, NotificationItem, NotificationList, NotificationPanel, OAuthConnectModal, OperationsService, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, OrganizationMembershipService, OrganizationMembershipsList, OrganizationSwitcher, OrganizationSwitcherConnected, PIPELINE_FUNNEL_ORDER, PermissionMatrix, PipelineFunnelWidget, ProjectDetailPage, ProjectsListPage, ProjectsSidebar, ProjectsSidebarMiddle, ProjectsSidebarTop, QuickCreateActions, RecurringScheduleForm, RelativeScheduleForm, ResourceDefinitionSection, ResourceErrorState, ResourceFilter, ResourceHeader, ResourceHealthChart, ResourceHealthPanel, ResourceNotFoundState, RichTextEditor, RoleBadge, RunResourceButton, SAVED_VIEW_PRESETS, SavedViewsPanel, ScheduleCard, ScheduleDetailModal, ScheduleTypeSelector, SessionMemory, SortableHeader, StepConfigForm, TabSection, TableSelectionToolbar, TaskCard, TaskScheduler, TimelineAxis, TimelineBar, TimelineContainer, TimelineRow, ToolsListDisplay, UnifiedWorkflowEdge, UnifiedWorkflowGraph, UnifiedWorkflowNode, UpcomingMilestonesPage, VisualizerContainer, WebhookEndpointService, WebhookUrlDisplayModal, WorkflowDefinitionDisplay, WorkflowExecutionLogs, WorkflowExecutionTimeline, ZodFormRenderer, acquisitionListKeys, calculateProgress, clientsKeys, collectResourceFilterFacets, companyKeys, contactKeys, createOrganizationsSlice, createUseOrgInitialization, createUseOrganizations, crmManifest, dealKeys, dealNoteKeys, dealTaskKeys, deliveryManifest, executionsKeys, filterByDomainFilters, formatStatusLabel, getEnrichmentColor, getExecutionStatusConfig, getGraphBackgroundStyles, getHealthColor, getIcon, getLogLevelConfig, getResourceFilterFacetIds, getStatusColor, iconMap, isSessionCapable, labelResourceFilterFacet, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, leadGenManifest, mdxComponents, milestoneKeys, milestoneStatusColors, monitoringManifest, noteKeys, noteTypeColors, operationsKeys, operationsManifest, projectActivityKeys, projectKeys, projectStatusColors, requestsKeys, scheduleKeys, sessionsKeys, settingsManifest, showApiErrorNotification, showAuthError, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification, sortData, taskKeys, taskStatusColors, taskTypeColors, useActivateDeployment, useActivities, useActivitiesRealtime, useActivityFilters, useActivityTrend, useAddCompaniesToList, useAddContactsToList, useArchiveSession, useArchivedLogs, useArtifacts, useAssignRole, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useClient, useClientStatus, useClients, useCommandQueue, 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, useCrmPipelineSummary, useCrmQuickMetrics, 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, useDeleteLists, useDeleteMilestone, useDeleteOrgRole, useDeleteRequest, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeleteWebhookEndpoint, useDeriveActions, useEffectivePermissions, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useExecuteAction, useExecuteAsync, useExecuteResource, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionLogsFilters, useExecutionPanelState, useExecutionSSE, useExecutions, useGetExecutionHistory, useGetSchedule, useGraphBackgroundStyles, useGraphTheme, useInFlightExecutions, useList, useListApiKeys, useListDeployments, useListExecutions, useListMember, useListMembers, useListProgress, useListRecords, useListSchedules, useListWebhookEndpoints, useLists, useListsTelemetry, useMarkAllAsRead, useMarkAsRead, useMilestones, useNewKnowledgeMapLayout, useNotificationCount as useNotificationCountSSE, useNotifications, useOrgRoles, useOrganizationMembers, usePaginationState, usePatchTask, usePauseSchedule, usePermissionCatalog, useProject, useProjectActivities, useProjectMilestones, useProjectNotes, useProjectRealtime, useProjectTasks, useProjects, useReactivateMembership, useRecentCrmActivity, 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, 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-PVXM4O6V.js';
3
3
  export { useAvailablePresets } from './chunk-B2DZLPDL.js';
4
4
  export { AppErrorBoundary, CrashErrorFallback, ErrorReportCard, buildErrorReport } from './chunk-SHZT7ULK.js';
5
5
  export { TypeformArrayField, TypeformCheckboxGroup, TypeformNavigation, TypeformProgress, TypeformQuestionWrapper, TypeformRadioGroup, TypeformSurvey, TypeformTextInput, brochureStyles, brochureTheme, createCustomValue, createPresetValue, createSurveyConfig, defaultTheme, extractAnswerValue, extractMultiAnswerValues, getAnswerString, getCustomValueText, getMultiAnswerStrings, hasCustomValue, hasPresetValue, isCustomValue, isPresetValue, mergeTheme, useCardStyle, useTypeform, useTypeformContext } from './chunk-AUDNF2Q7.js';
6
6
  export { answerValueSchema, checkboxWithOtherSchema, multiAnswerValueSchema, radioWithOtherSchema } from './chunk-6M6OLGQY.js';
7
7
  import './chunk-BRXELOHC.js';
8
- export { useBreadcrumbs } from './chunk-M7Q4UBRY.js';
8
+ export { useBreadcrumbs } from './chunk-SNDRAYMF.js';
9
9
  import './chunk-CXY7FMUM.js';
10
- export { ActivityTrendChart, ChartFrame, CombinedTrendChart, CostTrendChart, CyberAreaChart, CyberDonut, CyberDonutTooltip, CyberLegendItem, HeroStatsRow, getSeriesColor, observabilityKeys, useCyberColors, useErrorTrends } from './chunk-7GQFIWP4.js';
11
- export { createUseAppInitialization } from './chunk-JBWJ6WHZ.js';
10
+ export { ActivityTrendChart, ChartFrame, CombinedTrendChart, CostTrendChart, CyberAreaChart, CyberDonut, CyberDonutTooltip, CyberLegendItem, HeroStatsRow, getSeriesColor, observabilityKeys, useCyberColors, useErrorTrends } from './chunk-O53S32QR.js';
11
+ export { createUseAppInitialization } from './chunk-SJHM4WDG.js';
12
12
  import './chunk-ZTWA5H77.js';
13
13
  import './chunk-5EYJ2GIN.js';
14
14
  export { AppShellCenteredContainer, AppShellContainer, AppShellContentContainer, AppShellError, AppShellLoader, AppShellRightSideContainer, AppShellRightSideOuterContainer, AppTopbarAdjusterWrapper, CollapsibleSidebarGroup, CyberParticles, LinksGroup, PageContainer, Sidebar, SidebarContext, SidebarProvider, SubshellLoader, SubshellNavList, SubshellSidebarLoader, Topbar, TopbarContainer, Vignette, subsidebarWidth, useSidebar, useSidebarCollapse } from './chunk-DA6I5VEY.js';
@@ -19,31 +19,34 @@ export { SubshellSidebarSection } from './chunk-IIMU5YAJ.js';
19
19
  export { GRAPH_CONSTANTS, calculateGraphHeight, Graph_module_css_default as graphStyles, useConnectionHighlight, useDirectedChainHighlighting, useFitViewTrigger, useGraphHighlighting, useNodeSelection } from './chunk-HENXLGVD.js';
20
20
  export { AGENT_CONSTANTS, CONTAINER_CONSTANTS, SHARED_VIZ_CONSTANTS, STATUS_COLORS, TIMELINE_CONSTANTS, WORKFLOW_CONSTANTS, calculateBarPosition, formatDuration, getEdgeColor, getEdgeOpacity, getResourceStatusColor, getStatusColors, getStatusIcon, shouldAnimateEdge, useAgentIterationData, useExecutionPath, useMergedExecution, useReactFlowAgent, useTimelineData, useUnifiedWorkflowLayout, useWorkflowStepsLayout } from './chunk-7FPLLSHN.js';
21
21
  import './chunk-RNP5R5I3.js';
22
- export { ElevasisUIProvider, createTestSystemsProvider, useResolvedOrganizationModel } from './chunk-AUB3T7OY.js';
22
+ export { ElevasisUIProvider, createTestSystemsProvider, useResolvedOrganizationModel } from './chunk-CXLDZSAQ.js';
23
23
  export { TOKEN_VAR_MAP, componentThemes, createCssVariablesResolver, mantineThemeOverride } from './chunk-5JYKCULK.js';
24
24
  export { PresetsProvider, usePresetsContext } from './chunk-6D4LCJ52.js';
25
25
  export { generateShades, getPreset, PRESETS as presets } from './chunk-WF7CONXF.js';
26
26
  export { AmbientBloomGrid, AppBackground, CyberBackground, FilmGrain, FloatingMotes, FloatingOrbs, PerspectiveGrid, RadiantGlow, WaveBackground } from './chunk-WLOQ4IBG.js';
27
- export { CrmActionsProvider, ElevasisCoreProvider, ListActionsProvider, NotificationProvider, OrganizationProvider, SystemShell, useCrmActions, useListActions, useNotificationAdapter } from './chunk-BEVGBPHW.js';
28
- export { APIErrorAlert, ActivityTimeline, CenteredErrorState, CollapsibleSection, ContextViewer, CustomSelector, DetailCardSkeleton, ElevasisLoader, EmptyState, FeatureUnavailableState, GlowDot, JsonViewer, ListSkeleton, PageNotFound, PageTitleCaption, ResourceCard, StatCard, StatCardSkeleton, StatsCardSkeleton, StatusBadge, TabCountBadge, TimeRangeSelector, TrendIndicator } from './chunk-I53EX4VU.js';
27
+ export { CrmActionsProvider, ElevasisCoreProvider, ListActionsProvider, NotificationProvider, OrganizationProvider, SystemShell, useCrmActions, useListActions, useNotificationAdapter } from './chunk-L2H5CIQF.js';
28
+ export { APIErrorAlert, ActivityTimeline, CenteredErrorState, CollapsibleSection, ContextViewer, CustomSelector, DetailCardSkeleton, ElevasisLoader, EmptyState, FeatureUnavailableState, GlowDot, JsonViewer, ListSkeleton, PageNotFound, PageTitleCaption, ResourceCard, StatCard, StatCardSkeleton, StatsCardSkeleton, StatusBadge, TabCountBadge, TimeRangeSelector, TrendIndicator } from './chunk-RG2S6NIU.js';
29
29
  export { StyledMarkdown } from './chunk-3KMDHCAR.js';
30
30
  export { CardHeader } from './chunk-S3XR4II4.js';
31
31
  export { AppearanceProvider, SubshellContainer, SubshellContentContainer, SubshellRightSideContainer, SubshellSidebar, useAppearance } from './chunk-A7IG36LB.js';
32
32
  export { NavigationButton } from './chunk-NYBEU5TE.js';
33
- export { ApiClientProvider, useApiClient, useApiClientContext } from './chunk-Y3JQBSKQ.js';
33
+ export { ApiClientProvider, useApiClient, useApiClientContext } from './chunk-FAO7SWSL.js';
34
34
  export { sidebarBottomSectionCollapsedHeight, sidebarBottomSectionHeight, sidebarCollapsedWidth, sidebarGroupChevronSize, sidebarHoverDelay, sidebarIconInnerSize, sidebarIconSize, sidebarIconStroke, sidebarItemGap, sidebarItemHeight, sidebarItemPadding, sidebarSectionPadding, sidebarSubLinkIndent, sidebarSubLinkPaddingX, sidebarSubLinkPaddingY, sidebarToggleIconSize, sidebarTransitionDuration, sidebarWidth, subshellNavItemIconSize, topbarHeight } from './chunk-DT3QYZVU.js';
35
35
  export { ScrollToTop, TanStackRouterBridge } from './chunk-2IFYDILW.js';
36
36
  export { RouterProvider, useRouterContext } from './chunk-Q7DJKLEN.js';
37
- export { APIClientError, API_URL, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, LIMIT_ACTIVITY_FEED, OAUTH_FLOW_TIMEOUT, PAGE_SIZE_DEFAULT, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, debounce, formatChartAxisDate, formatDate, formatDateTime, formatErrorMessage, formatRelativeTime, formatTimeAgo, getErrorInfo, getErrorTitle, getResourceColor, getResourceIcon, getTimeRangeDates, getTimeRangeLabel, isAPIClientError, restoreConsole, setupBrowserMocks, suppressKnownWarnings, validateEmail } from './chunk-X66MVMZT.js';
37
+ export { APIClientError, API_URL, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, LIMIT_ACTIVITY_FEED, OAUTH_FLOW_TIMEOUT, PAGE_SIZE_DEFAULT, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, debounce, formatChartAxisDate, formatDate, formatDateTime, formatErrorMessage, formatRelativeTime, formatTimeAgo, getErrorInfo, getErrorTitle, getResourceColor, getResourceIcon, getTimeRangeDates, getTimeRangeLabel, isAPIClientError, restoreConsole, setupBrowserMocks, suppressKnownWarnings, validateEmail } from './chunk-ZJ3FG7FE.js';
38
38
  export { ResourceStatusColors } from './chunk-KRWALB24.js';
39
- export { AccessGuard, ProtectedRoute, useSessionCheck as useRefocusSessionCheck, useSessionCheck, useStableAccessToken } from './chunk-4UCAUBOL.js';
40
- export { AccessKeys, useAccess } from './chunk-YGUNUIME.js';
41
- export { ElevasisSystemsProvider, useElevasisSystems, useOptionalElevasisSystems } from './chunk-C6BDBZRO.js';
42
- export { InitializationContext, InitializationProvider, useInitialization } from './chunk-533DUEQY.js';
43
- export { DEFAULT_SEMANTIC_ICON_REGISTRY, SemanticIcon, extendSemanticIconRegistry, getSemanticIconComponent, resolveSemanticIconComponent } from './chunk-566XWGPP.js';
39
+ export { AccessGuard, ProtectedRoute, useSessionCheck as useRefocusSessionCheck, useSessionCheck, useStableAccessToken } from './chunk-5GZVSTVH.js';
40
+ export { AccessKeys, useAccess } from './chunk-ZRZYRDXX.js';
41
+ export { ElevasisSystemsProvider, useElevasisSystems, useOptionalElevasisSystems } from './chunk-23YQ2WH5.js';
42
+ export { InitializationContext, InitializationProvider, useInitialization } from './chunk-6DO4PE3O.js';
43
+ export { DEFAULT_SEMANTIC_ICON_REGISTRY, SemanticIcon, extendSemanticIconRegistry, getSemanticIconComponent, resolveSemanticIconComponent } from './chunk-GLBPGEDD.js';
44
44
  export { OrganizationContext, useOrganization } from './chunk-DD3CCMCZ.js';
45
- export { ProfileProvider, UserProfileService, useProfile, useUserProfile } from './chunk-2Q2JQSQO.js';
45
+ export { ProfileProvider, UserProfileService, useProfile, useUserProfile } from './chunk-W2SFTXMT.js';
46
46
  export { GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING } from './chunk-6ROXVZ3L.js';
47
- export { ElevasisServiceProvider, useElevasisServices } from './chunk-KJ3QUBNU.js';
47
+ import './chunk-43ZU647H.js';
48
+ export { ElevasisServiceProvider, useElevasisServices } from './chunk-2FTX4WO2.js';
49
+ import './chunk-MQZE7SUI.js';
50
+ import './chunk-TVTSASST.js';
48
51
  export { AuthProvider, useAuthContext } from './chunk-BRJ3QZ4E.js';
49
52
  import './chunk-I2KLQ2HA.js';
@@ -1,8 +1,10 @@
1
- export { createUseAppInitialization } from '../chunk-JBWJ6WHZ.js';
1
+ export { createUseAppInitialization } from '../chunk-SJHM4WDG.js';
2
2
  import '../chunk-RNP5R5I3.js';
3
- export { InitializationContext, InitializationProvider, useInitialization } from '../chunk-533DUEQY.js';
3
+ export { InitializationContext, InitializationProvider, useInitialization } from '../chunk-6DO4PE3O.js';
4
4
  import '../chunk-DD3CCMCZ.js';
5
- import '../chunk-2Q2JQSQO.js';
6
- import '../chunk-KJ3QUBNU.js';
5
+ import '../chunk-W2SFTXMT.js';
6
+ import '../chunk-2FTX4WO2.js';
7
+ import '../chunk-MQZE7SUI.js';
8
+ import '../chunk-TVTSASST.js';
7
9
  import '../chunk-BRJ3QZ4E.js';
8
10
  import '../chunk-I2KLQ2HA.js';
@@ -97,6 +97,17 @@ declare const OntologyScopeSchema: z.ZodDefault<z.ZodObject<{
97
97
  }, z.core.$strip>>;
98
98
  type OntologyScope = z.infer<typeof OntologyScopeSchema>;
99
99
 
100
+ declare const SystemApiInterfaceSchema: z.ZodObject<{
101
+ lifecycle: z.ZodDefault<z.ZodEnum<{
102
+ active: "active";
103
+ deprecated: "deprecated";
104
+ draft: "draft";
105
+ archived: "archived";
106
+ disabled: "disabled";
107
+ }>>;
108
+ readinessProfile: z.ZodOptional<z.ZodString>;
109
+ resourceIds: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
110
+ }, z.core.$strict>;
100
111
  type JsonPrimitive = string | number | boolean | null;
101
112
  type JsonValue = JsonPrimitive | JsonValue[] | {
102
113
  [key: string]: JsonValue;
@@ -125,6 +136,7 @@ interface SystemEntry {
125
136
  }[];
126
137
  policies?: string[];
127
138
  drivesGoals?: string[];
139
+ apiInterface?: z.infer<typeof SystemApiInterfaceSchema>;
128
140
  /** @deprecated Use lifecycle. Accepted for one publish cycle. */
129
141
  status?: 'active' | 'deprecated' | 'archived';
130
142
  path?: string;
@@ -1,5 +1,5 @@
1
- import { getKnowledgeIconToken, getKnowledgeGraphNodeCommand, getKnowledgeNodeReadCommand, getKnowledgeOntologyProjection, getPrimaryOntologyItemsForDomain, projectNavigationSurfaces, projectNavigationGroups, getOntologyDomainLabel, getKnowledgeDomainFolderCommand, getKnowledgeTreeFolderCommand, KNOWLEDGE_DOMAINS_WITH_PANELS } from '../chunk-P34FFSOX.js';
2
- export { KNOWLEDGE_ICON_TOKEN_BY_KIND, KnowledgeSearchBar, KnowledgeTree, OM_TREE_GROUPS, getKnowledgeIconToken, getSharedOrganizationGraph } from '../chunk-P34FFSOX.js';
1
+ import { getKnowledgeIconToken, getKnowledgeGraphNodeCommand, getKnowledgeNodeReadCommand, getKnowledgeOntologyProjection, getPrimaryOntologyItemsForDomain, projectNavigationSurfaces, projectNavigationGroups, getOntologyDomainLabel, getKnowledgeDomainFolderCommand, getKnowledgeTreeFolderCommand, KNOWLEDGE_DOMAINS_WITH_PANELS } from '../chunk-HOAMD35V.js';
2
+ export { KNOWLEDGE_ICON_TOKEN_BY_KIND, KnowledgeSearchBar, KnowledgeTree, OM_TREE_GROUPS, getKnowledgeIconToken, getSharedOrganizationGraph } from '../chunk-HOAMD35V.js';
3
3
  import { PageContainer } from '../chunk-DA6I5VEY.js';
4
4
  import '../chunk-CLDCYJQT.js';
5
5
  import '../chunk-X4WBGKJQ.js';
@@ -12,8 +12,9 @@ import '../chunk-NYBEU5TE.js';
12
12
  import '../chunk-DT3QYZVU.js';
13
13
  import '../chunk-2IFYDILW.js';
14
14
  import '../chunk-Q7DJKLEN.js';
15
- import { SemanticIcon, getSystem, SystemEntrySchema, IdentityDomainSchema, WorkflowResourceEntrySchema, AgentResourceEntrySchema, IntegrationResourceEntrySchema, ScriptResourceEntrySchema, SurfaceDefinitionSchema, RoleSchema, PolicySchema, EntitySchema, ActionSchema, OntologyIdSchema, ontologyGraphNodeId, compileOrganizationOntology, parseOntologyId } from '../chunk-566XWGPP.js';
16
- export { SemanticIcon, extendSemanticIconRegistry, getSemanticIconComponent, resolveSemanticIconComponent } from '../chunk-566XWGPP.js';
15
+ import { SemanticIcon, SystemEntrySchema, IdentityDomainSchema, WorkflowResourceEntrySchema, AgentResourceEntrySchema, IntegrationResourceEntrySchema, ScriptResourceEntrySchema, SurfaceDefinitionSchema, RoleSchema, PolicySchema, EntitySchema, ActionSchema } from '../chunk-GLBPGEDD.js';
16
+ export { SemanticIcon, extendSemanticIconRegistry, getSemanticIconComponent, resolveSemanticIconComponent } from '../chunk-GLBPGEDD.js';
17
+ import { getSystem, OntologyIdSchema, ontologyGraphNodeId, compileOrganizationOntology, parseOntologyId } from '../chunk-43ZU647H.js';
17
18
  import '../chunk-I2KLQ2HA.js';
18
19
  import { createContext, Children, isValidElement, cloneElement, useMemo, useContext, useRef, useState, useEffect } from 'react';
19
20
  import { Card, Text, SimpleGrid, Group, Stack, Alert, Tabs, Box, Table, CopyButton, Tooltip, ActionIcon, Title, Badge, Divider, Button, Paper, TableOfContents, ThemeIcon, UnstyledButton, List, Code, Progress, Loader } from '@mantine/core';
@@ -3,6 +3,40 @@ import { ReactNode } from 'react';
3
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
4
  import { UseBoundStore, StoreApi } from 'zustand';
5
5
 
6
+ /**
7
+ * Branded organization identifiers.
8
+ *
9
+ * Every organization carries TWO distinct ID values that are both plain
10
+ * strings at runtime but mean different things:
11
+ *
12
+ * - WorkOS organization id (`org_...`) -- the auth/JWT identity. Used for API
13
+ * requests, SSE headers, and org-scoped query keys.
14
+ * - Supabase organization id (UUID) -- the database key. Used for
15
+ * `.eq('organization_id', ...)` queries and RLS scoping.
16
+ *
17
+ * They are not interchangeable, yet both are `string` -- so a swap compiles
18
+ * cleanly and fails silently (zero rows on the Supabase side, cross-pollinated
19
+ * cache keys on the API side). These brands make the two non-assignable to one
20
+ * another, turning that silent footgun into a compile error at the sink.
21
+ *
22
+ * Mint a brand only through the `as*` factories below: they are the single
23
+ * validate-and-tag boundary (compile-time brand + runtime format check). The
24
+ * type predicates double as the cast, so no raw `as` cast is needed anywhere.
25
+ *
26
+ * Lives on the published `@repo/core` / `@repo/core/auth` surface so the UI,
27
+ * the API, and the dogfooding `@repo/elevasis-*` packages can all use it.
28
+ */
29
+ declare const supabaseOrgIdBrand: unique symbol;
30
+ declare const workOsOrgIdBrand: unique symbol;
31
+ /** A Supabase organization id (UUID) -- the database key for RLS-scoped rows. */
32
+ type SupabaseOrgId = string & {
33
+ readonly [supabaseOrgIdBrand]: true;
34
+ };
35
+ /** A WorkOS organization id (`org_...`) -- the auth identity for API/SSE/query keys. */
36
+ type WorkOsOrgId = string & {
37
+ readonly [workOsOrgIdBrand]: true;
38
+ };
39
+
6
40
  /**
7
41
  * Organization Membership types based on WorkOS API
8
42
  */
@@ -46,9 +80,9 @@ interface MembershipWithDetails extends OrganizationMembership {
46
80
  */
47
81
  interface OrganizationContextValue {
48
82
  /** WorkOS organization ID of the currently selected organization. */
49
- currentWorkOSOrganizationId: string | null;
83
+ currentWorkOSOrganizationId: WorkOsOrgId | null;
50
84
  /** Supabase (UUID) organization ID of the currently selected organization. */
51
- currentSupabaseOrganizationId: string | null;
85
+ currentSupabaseOrganizationId: SupabaseOrgId | null;
52
86
  /** Full membership record for the currently selected organization. */
53
87
  currentMembership: MembershipWithDetails | null;
54
88
  /** All memberships for the authenticated user. */
@@ -125,15 +159,15 @@ declare function OrganizationSwitcher({ currentOrganization, memberships, isLoad
125
159
  declare function OrganizationSwitcherConnected(): react_jsx_runtime.JSX.Element;
126
160
 
127
161
  interface OrganizationsState {
128
- currentWorkOSOrganizationId: string | null;
129
- currentSupabaseOrganizationId: string | null;
162
+ currentWorkOSOrganizationId: WorkOsOrgId | null;
163
+ currentSupabaseOrganizationId: SupabaseOrgId | null;
130
164
  currentMembership: MembershipWithDetails | null;
131
165
  isInitializing: boolean;
132
166
  isOrgRefreshing: boolean;
133
167
  error: string | null;
134
168
  }
135
169
  interface OrganizationsActions {
136
- setCurrentWorkOSOrganizationId: (workOSorgId: string | null) => void;
170
+ setCurrentWorkOSOrganizationId: (workOSorgId: WorkOsOrgId | null) => void;
137
171
  setCurrentMembership: (membership: MembershipWithDetails | null) => void;
138
172
  setOrganizationsInitializing: (initializing: boolean) => void;
139
173
  setOrganizationsLoading: (loading: boolean) => void;
@@ -192,14 +226,14 @@ declare const createOrganizationsSlice: <TAppState extends OrganizationsSlice>(s
192
226
  * while each app provides its own store instance.
193
227
  */
194
228
  declare function createUseOrganizations<TStore extends OrganizationsSlice>(useStore: UseBoundStore<StoreApi<TStore>>): () => {
195
- setCurrentWorkOSOrganizationId: (workOSorgId: string | null) => void;
229
+ setCurrentWorkOSOrganizationId: (workOSorgId: WorkOsOrgId | null) => void;
196
230
  setCurrentMembership: (membership: MembershipWithDetails | null) => void;
197
231
  setOrganizationsInitializing: (initializing: boolean) => void;
198
232
  setOrganizationsLoading: (loading: boolean) => void;
199
233
  setOrganizationsError: (error: string | null) => void;
200
234
  organizations: OrganizationsState;
201
- currentWorkOSOrganizationId: string | null;
202
- currentSupabaseOrganizationId: string | null;
235
+ currentWorkOSOrganizationId: WorkOsOrgId | null;
236
+ currentSupabaseOrganizationId: SupabaseOrgId | null;
203
237
  currentMembership: MembershipWithDetails | null;
204
238
  isInitializing: boolean;
205
239
  isOrgRefreshing: boolean;
@@ -210,9 +244,9 @@ declare function createUseOrganizations<TStore extends OrganizationsSlice>(useSt
210
244
  * Type for the useOrganizations hook return value
211
245
  */
212
246
  interface UseOrganizationsReturn {
213
- currentWorkOSOrganizationId: string | null;
247
+ currentWorkOSOrganizationId: WorkOsOrgId | null;
214
248
  currentMembership: MembershipWithDetails | null;
215
- setCurrentWorkOSOrganizationId: (id: string | null) => void;
249
+ setCurrentWorkOSOrganizationId: (id: WorkOsOrgId | null) => void;
216
250
  setCurrentMembership: (membership: MembershipWithDetails | null) => void;
217
251
  setOrganizationsInitializing: (initializing: boolean) => void;
218
252
  setOrganizationsLoading: (loading: boolean) => void;
@@ -1,13 +1,13 @@
1
- export { OrganizationSwitcher, OrganizationSwitcherConnected, createOrganizationsSlice, createUseOrgInitialization, createUseOrganizations } from '../chunk-OPKXEGE4.js';
1
+ export { OrganizationSwitcher, OrganizationSwitcherConnected, createOrganizationsSlice, createUseOrgInitialization, createUseOrganizations } from '../chunk-PVXM4O6V.js';
2
2
  import '../chunk-B2DZLPDL.js';
3
3
  import '../chunk-SHZT7ULK.js';
4
4
  import '../chunk-AUDNF2Q7.js';
5
5
  import '../chunk-6M6OLGQY.js';
6
6
  import '../chunk-BRXELOHC.js';
7
- import '../chunk-M7Q4UBRY.js';
7
+ import '../chunk-SNDRAYMF.js';
8
8
  import '../chunk-CXY7FMUM.js';
9
- import '../chunk-7GQFIWP4.js';
10
- import '../chunk-JBWJ6WHZ.js';
9
+ import '../chunk-O53S32QR.js';
10
+ import '../chunk-SJHM4WDG.js';
11
11
  import '../chunk-ZTWA5H77.js';
12
12
  import '../chunk-5EYJ2GIN.js';
13
13
  import '../chunk-DA6I5VEY.js';
@@ -18,31 +18,34 @@ import '../chunk-IIMU5YAJ.js';
18
18
  import '../chunk-HENXLGVD.js';
19
19
  import '../chunk-7FPLLSHN.js';
20
20
  import '../chunk-RNP5R5I3.js';
21
- import '../chunk-AUB3T7OY.js';
21
+ import '../chunk-CXLDZSAQ.js';
22
22
  import '../chunk-5JYKCULK.js';
23
23
  import '../chunk-6D4LCJ52.js';
24
24
  import '../chunk-WF7CONXF.js';
25
25
  import '../chunk-WLOQ4IBG.js';
26
- export { OrganizationProvider } from '../chunk-BEVGBPHW.js';
27
- import '../chunk-I53EX4VU.js';
26
+ export { OrganizationProvider } from '../chunk-L2H5CIQF.js';
27
+ import '../chunk-RG2S6NIU.js';
28
28
  import '../chunk-3KMDHCAR.js';
29
29
  import '../chunk-S3XR4II4.js';
30
30
  import '../chunk-A7IG36LB.js';
31
31
  import '../chunk-NYBEU5TE.js';
32
- import '../chunk-Y3JQBSKQ.js';
32
+ import '../chunk-FAO7SWSL.js';
33
33
  import '../chunk-DT3QYZVU.js';
34
34
  import '../chunk-2IFYDILW.js';
35
35
  import '../chunk-Q7DJKLEN.js';
36
- import '../chunk-X66MVMZT.js';
36
+ import '../chunk-ZJ3FG7FE.js';
37
37
  import '../chunk-KRWALB24.js';
38
- import '../chunk-4UCAUBOL.js';
39
- import '../chunk-YGUNUIME.js';
40
- import '../chunk-C6BDBZRO.js';
41
- import '../chunk-533DUEQY.js';
42
- import '../chunk-566XWGPP.js';
38
+ import '../chunk-5GZVSTVH.js';
39
+ import '../chunk-ZRZYRDXX.js';
40
+ import '../chunk-23YQ2WH5.js';
41
+ import '../chunk-6DO4PE3O.js';
42
+ import '../chunk-GLBPGEDD.js';
43
43
  export { OrganizationContext, useOrganization } from '../chunk-DD3CCMCZ.js';
44
- import '../chunk-2Q2JQSQO.js';
44
+ import '../chunk-W2SFTXMT.js';
45
45
  import '../chunk-6ROXVZ3L.js';
46
- import '../chunk-KJ3QUBNU.js';
46
+ import '../chunk-43ZU647H.js';
47
+ import '../chunk-2FTX4WO2.js';
48
+ import '../chunk-MQZE7SUI.js';
49
+ import '../chunk-TVTSASST.js';
47
50
  import '../chunk-BRJ3QZ4E.js';
48
51
  import '../chunk-I2KLQ2HA.js';
@@ -1,5 +1,7 @@
1
1
  import '../chunk-RNP5R5I3.js';
2
- export { ProfileProvider, UserProfileService, useProfile, useUserProfile } from '../chunk-2Q2JQSQO.js';
3
- import '../chunk-KJ3QUBNU.js';
2
+ export { ProfileProvider, UserProfileService, useProfile, useUserProfile } from '../chunk-W2SFTXMT.js';
3
+ import '../chunk-2FTX4WO2.js';
4
+ import '../chunk-MQZE7SUI.js';
5
+ import '../chunk-TVTSASST.js';
4
6
  import '../chunk-BRJ3QZ4E.js';
5
7
  import '../chunk-I2KLQ2HA.js';
@@ -2,6 +2,12 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as react from 'react';
3
3
  import { ReactNode } from 'react';
4
4
 
5
+ declare const workOsOrgIdBrand: unique symbol;
6
+ /** A WorkOS organization id (`org_...`) -- the auth identity for API/SSE/query keys. */
7
+ type WorkOsOrgId = string & {
8
+ readonly [workOsOrgIdBrand]: true;
9
+ };
10
+
5
11
  /**
6
12
  * Service context value exposed by ElevasisServiceProvider.
7
13
  * Provides a ready-to-use apiRequest function and organization state.
@@ -11,10 +17,13 @@ import { ReactNode } from 'react';
11
17
  */
12
18
  interface ElevasisServiceContextValue {
13
19
  apiRequest: <T>(endpoint: string, options?: RequestInit) => Promise<T>;
14
- /** Organization ID alias retained for existing query-key consumers. */
15
- organizationId: string | null;
16
- /** WorkOS `org_xxx` string for the current organization. */
17
- workOSOrganizationId: string | null;
20
+ /**
21
+ * @deprecated Alias of `workOSOrganizationId` retained for existing query-key consumers.
22
+ * Resolves to the WorkOS `org_xxx` id (NOT the Supabase UUID). Prefer `workOSOrganizationId`.
23
+ */
24
+ organizationId: WorkOsOrgId | null;
25
+ /** WorkOS `org_xxx` id for the current organization. */
26
+ workOSOrganizationId: WorkOsOrgId | null;
18
27
  isReady: boolean;
19
28
  }
20
29
  interface ElevasisServiceProviderProps {
@@ -1,2 +1,4 @@
1
- export { ElevasisServiceContext, ElevasisServiceProvider, useElevasisServices } from '../chunk-KJ3QUBNU.js';
1
+ export { ElevasisServiceContext, ElevasisServiceProvider, useElevasisServices } from '../chunk-2FTX4WO2.js';
2
+ import '../chunk-MQZE7SUI.js';
3
+ import '../chunk-TVTSASST.js';
2
4
  import '../chunk-I2KLQ2HA.js';
@@ -3256,6 +3256,12 @@ type Database = {
3256
3256
  };
3257
3257
  };
3258
3258
 
3259
+ declare const workOsOrgIdBrand: unique symbol;
3260
+ /** A WorkOS organization id (`org_...`) -- the auth identity for API/SSE/query keys. */
3261
+ type WorkOsOrgId = string & {
3262
+ readonly [workOsOrgIdBrand]: true;
3263
+ };
3264
+
3259
3265
  /**
3260
3266
  * Single list as returned by /api/acquisition/lists/:id etc.
3261
3267
  * Camel-cased domain shape matching AcqList in types.ts.
@@ -3491,6 +3497,17 @@ declare const OntologyScopeSchema: z$1.ZodDefault<z$1.ZodObject<{
3491
3497
  }, z$1.core.$strip>>;
3492
3498
  type OntologyScope = z$1.infer<typeof OntologyScopeSchema>;
3493
3499
 
3500
+ declare const SystemApiInterfaceSchema: z$1.ZodObject<{
3501
+ lifecycle: z$1.ZodDefault<z$1.ZodEnum<{
3502
+ active: "active";
3503
+ deprecated: "deprecated";
3504
+ draft: "draft";
3505
+ archived: "archived";
3506
+ disabled: "disabled";
3507
+ }>>;
3508
+ readinessProfile: z$1.ZodOptional<z$1.ZodString>;
3509
+ resourceIds: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>>;
3510
+ }, z$1.core.$strict>;
3494
3511
  type JsonPrimitive = string | number | boolean | null;
3495
3512
  type JsonValue = JsonPrimitive | JsonValue[] | {
3496
3513
  [key: string]: JsonValue;
@@ -3519,6 +3536,7 @@ interface SystemEntry {
3519
3536
  }[];
3520
3537
  policies?: string[];
3521
3538
  drivesGoals?: string[];
3539
+ apiInterface?: z$1.infer<typeof SystemApiInterfaceSchema>;
3522
3540
  /** @deprecated Use lifecycle. Accepted for one publish cycle. */
3523
3541
  status?: 'active' | 'deprecated' | 'archived';
3524
3542
  path?: string;
@@ -4738,10 +4756,13 @@ interface ElevasisCoreProviderProps {
4738
4756
  */
4739
4757
  interface ElevasisServiceContextValue {
4740
4758
  apiRequest: <T>(endpoint: string, options?: RequestInit) => Promise<T>;
4741
- /** Organization ID alias retained for existing query-key consumers. */
4742
- organizationId: string | null;
4743
- /** WorkOS `org_xxx` string for the current organization. */
4744
- workOSOrganizationId: string | null;
4759
+ /**
4760
+ * @deprecated Alias of `workOSOrganizationId` retained for existing query-key consumers.
4761
+ * Resolves to the WorkOS `org_xxx` id (NOT the Supabase UUID). Prefer `workOSOrganizationId`.
4762
+ */
4763
+ organizationId: WorkOsOrgId | null;
4764
+ /** WorkOS `org_xxx` id for the current organization. */
4765
+ workOSOrganizationId: WorkOsOrgId | null;
4745
4766
  isReady: boolean;
4746
4767
  }
4747
4768
  interface ElevasisServiceProviderProps {
@@ -1,28 +1,31 @@
1
- export { ElevasisUIProvider, createTestSystemsProvider, useResolvedOrganizationModel } from '../chunk-AUB3T7OY.js';
1
+ export { ElevasisUIProvider, createTestSystemsProvider, useResolvedOrganizationModel } from '../chunk-CXLDZSAQ.js';
2
2
  import '../chunk-5JYKCULK.js';
3
3
  import '../chunk-6D4LCJ52.js';
4
4
  import '../chunk-WF7CONXF.js';
5
5
  import '../chunk-WLOQ4IBG.js';
6
- export { CrmActionsProvider, ElevasisCoreProvider, ListActionsProvider, NotificationProvider, SystemShell, useCrmActions, useListActions, useNotificationAdapter } from '../chunk-BEVGBPHW.js';
7
- import '../chunk-I53EX4VU.js';
6
+ export { CrmActionsProvider, ElevasisCoreProvider, ListActionsProvider, NotificationProvider, SystemShell, useCrmActions, useListActions, useNotificationAdapter } from '../chunk-L2H5CIQF.js';
7
+ import '../chunk-RG2S6NIU.js';
8
8
  import '../chunk-3KMDHCAR.js';
9
9
  import '../chunk-S3XR4II4.js';
10
10
  export { AppearanceProvider, useAppearance } from '../chunk-A7IG36LB.js';
11
11
  import '../chunk-NYBEU5TE.js';
12
- import '../chunk-Y3JQBSKQ.js';
12
+ import '../chunk-FAO7SWSL.js';
13
13
  import '../chunk-DT3QYZVU.js';
14
14
  import '../chunk-2IFYDILW.js';
15
15
  import '../chunk-Q7DJKLEN.js';
16
- import '../chunk-X66MVMZT.js';
16
+ import '../chunk-ZJ3FG7FE.js';
17
17
  import '../chunk-KRWALB24.js';
18
- import '../chunk-4UCAUBOL.js';
19
- import '../chunk-YGUNUIME.js';
20
- export { ElevasisSystemsProvider, useElevasisSystems, useOptionalElevasisSystems } from '../chunk-C6BDBZRO.js';
21
- import '../chunk-533DUEQY.js';
22
- import '../chunk-566XWGPP.js';
18
+ import '../chunk-5GZVSTVH.js';
19
+ import '../chunk-ZRZYRDXX.js';
20
+ export { ElevasisSystemsProvider, useElevasisSystems, useOptionalElevasisSystems } from '../chunk-23YQ2WH5.js';
21
+ import '../chunk-6DO4PE3O.js';
22
+ import '../chunk-GLBPGEDD.js';
23
23
  import '../chunk-DD3CCMCZ.js';
24
- import '../chunk-2Q2JQSQO.js';
24
+ import '../chunk-W2SFTXMT.js';
25
25
  import '../chunk-6ROXVZ3L.js';
26
- export { ElevasisServiceProvider, useElevasisServices } from '../chunk-KJ3QUBNU.js';
26
+ import '../chunk-43ZU647H.js';
27
+ export { ElevasisServiceProvider, useElevasisServices } from '../chunk-2FTX4WO2.js';
28
+ import '../chunk-MQZE7SUI.js';
29
+ import '../chunk-TVTSASST.js';
27
30
  import '../chunk-BRJ3QZ4E.js';
28
31
  import '../chunk-I2KLQ2HA.js';
@@ -3255,6 +3255,12 @@ type Database = {
3255
3255
  };
3256
3256
  };
3257
3257
 
3258
+ declare const workOsOrgIdBrand: unique symbol;
3259
+ /** A WorkOS organization id (`org_...`) -- the auth identity for API/SSE/query keys. */
3260
+ type WorkOsOrgId = string & {
3261
+ readonly [workOsOrgIdBrand]: true;
3262
+ };
3263
+
3258
3264
  /**
3259
3265
  * Single list as returned by /api/acquisition/lists/:id etc.
3260
3266
  * Camel-cased domain shape matching AcqList in types.ts.
@@ -3490,6 +3496,17 @@ declare const OntologyScopeSchema: z$1.ZodDefault<z$1.ZodObject<{
3490
3496
  }, z$1.core.$strip>>;
3491
3497
  type OntologyScope = z$1.infer<typeof OntologyScopeSchema>;
3492
3498
 
3499
+ declare const SystemApiInterfaceSchema: z$1.ZodObject<{
3500
+ lifecycle: z$1.ZodDefault<z$1.ZodEnum<{
3501
+ active: "active";
3502
+ deprecated: "deprecated";
3503
+ draft: "draft";
3504
+ archived: "archived";
3505
+ disabled: "disabled";
3506
+ }>>;
3507
+ readinessProfile: z$1.ZodOptional<z$1.ZodString>;
3508
+ resourceIds: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>>;
3509
+ }, z$1.core.$strict>;
3493
3510
  type JsonPrimitive = string | number | boolean | null;
3494
3511
  type JsonValue = JsonPrimitive | JsonValue[] | {
3495
3512
  [key: string]: JsonValue;
@@ -3518,6 +3535,7 @@ interface SystemEntry {
3518
3535
  }[];
3519
3536
  policies?: string[];
3520
3537
  drivesGoals?: string[];
3538
+ apiInterface?: z$1.infer<typeof SystemApiInterfaceSchema>;
3521
3539
  /** @deprecated Use lifecycle. Accepted for one publish cycle. */
3522
3540
  status?: 'active' | 'deprecated' | 'archived';
3523
3541
  path?: string;
@@ -4731,10 +4749,13 @@ interface ElevasisCoreProviderProps {
4731
4749
  */
4732
4750
  interface ElevasisServiceContextValue {
4733
4751
  apiRequest: <T>(endpoint: string, options?: RequestInit) => Promise<T>;
4734
- /** Organization ID alias retained for existing query-key consumers. */
4735
- organizationId: string | null;
4736
- /** WorkOS `org_xxx` string for the current organization. */
4737
- workOSOrganizationId: string | null;
4752
+ /**
4753
+ * @deprecated Alias of `workOSOrganizationId` retained for existing query-key consumers.
4754
+ * Resolves to the WorkOS `org_xxx` id (NOT the Supabase UUID). Prefer `workOSOrganizationId`.
4755
+ */
4756
+ organizationId: WorkOsOrgId | null;
4757
+ /** WorkOS `org_xxx` id for the current organization. */
4758
+ workOSOrganizationId: WorkOsOrgId | null;
4738
4759
  isReady: boolean;
4739
4760
  }
4740
4761
  interface ElevasisServiceProviderProps {
@@ -1,23 +1,26 @@
1
- export { ElevasisCoreProvider, NotificationProvider, SystemShell, useNotificationAdapter } from '../chunk-BEVGBPHW.js';
2
- import '../chunk-I53EX4VU.js';
1
+ export { ElevasisCoreProvider, NotificationProvider, SystemShell, useNotificationAdapter } from '../chunk-L2H5CIQF.js';
2
+ import '../chunk-RG2S6NIU.js';
3
3
  import '../chunk-3KMDHCAR.js';
4
4
  import '../chunk-S3XR4II4.js';
5
5
  export { AppearanceProvider, useAppearance } from '../chunk-A7IG36LB.js';
6
6
  import '../chunk-NYBEU5TE.js';
7
- import '../chunk-Y3JQBSKQ.js';
7
+ import '../chunk-FAO7SWSL.js';
8
8
  import '../chunk-DT3QYZVU.js';
9
9
  import '../chunk-2IFYDILW.js';
10
10
  import '../chunk-Q7DJKLEN.js';
11
- import '../chunk-X66MVMZT.js';
11
+ import '../chunk-ZJ3FG7FE.js';
12
12
  import '../chunk-KRWALB24.js';
13
- import '../chunk-4UCAUBOL.js';
14
- import '../chunk-YGUNUIME.js';
15
- export { ElevasisSystemsProvider, useElevasisSystems, useOptionalElevasisSystems } from '../chunk-C6BDBZRO.js';
16
- import '../chunk-533DUEQY.js';
17
- import '../chunk-566XWGPP.js';
13
+ import '../chunk-5GZVSTVH.js';
14
+ import '../chunk-ZRZYRDXX.js';
15
+ export { ElevasisSystemsProvider, useElevasisSystems, useOptionalElevasisSystems } from '../chunk-23YQ2WH5.js';
16
+ import '../chunk-6DO4PE3O.js';
17
+ import '../chunk-GLBPGEDD.js';
18
18
  import '../chunk-DD3CCMCZ.js';
19
- import '../chunk-2Q2JQSQO.js';
19
+ import '../chunk-W2SFTXMT.js';
20
20
  import '../chunk-6ROXVZ3L.js';
21
- export { ElevasisServiceProvider, useElevasisServices } from '../chunk-KJ3QUBNU.js';
21
+ import '../chunk-43ZU647H.js';
22
+ export { ElevasisServiceProvider, useElevasisServices } from '../chunk-2FTX4WO2.js';
23
+ import '../chunk-MQZE7SUI.js';
24
+ import '../chunk-TVTSASST.js';
22
25
  import '../chunk-BRJ3QZ4E.js';
23
26
  import '../chunk-I2KLQ2HA.js';
@@ -7,6 +7,12 @@ import * as vitest from 'vitest';
7
7
  import * as msw_node from 'msw/node';
8
8
  import * as msw from 'msw';
9
9
 
10
+ declare const workOsOrgIdBrand: unique symbol;
11
+ /** A WorkOS organization id (`org_...`) -- the auth identity for API/SSE/query keys. */
12
+ type WorkOsOrgId = string & {
13
+ readonly [workOsOrgIdBrand]: true;
14
+ };
15
+
10
16
  /**
11
17
  * Service context value exposed by ElevasisServiceProvider.
12
18
  * Provides a ready-to-use apiRequest function and organization state.
@@ -16,10 +22,13 @@ import * as msw from 'msw';
16
22
  */
17
23
  interface ElevasisServiceContextValue {
18
24
  apiRequest: <T>(endpoint: string, options?: RequestInit) => Promise<T>;
19
- /** Organization ID alias retained for existing query-key consumers. */
20
- organizationId: string | null;
21
- /** WorkOS `org_xxx` string for the current organization. */
22
- workOSOrganizationId: string | null;
25
+ /**
26
+ * @deprecated Alias of `workOSOrganizationId` retained for existing query-key consumers.
27
+ * Resolves to the WorkOS `org_xxx` id (NOT the Supabase UUID). Prefer `workOSOrganizationId`.
28
+ */
29
+ organizationId: WorkOsOrgId | null;
30
+ /** WorkOS `org_xxx` id for the current organization. */
31
+ workOSOrganizationId: WorkOsOrgId | null;
23
32
  isReady: boolean;
24
33
  }
25
34