@elevasis/ui 2.70.0 → 2.72.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 (72) hide show
  1. package/dist/api/index.js +3 -3
  2. package/dist/app/index.d.ts +28 -2
  3. package/dist/app/index.js +8 -8
  4. package/dist/auth/index.js +4 -4
  5. package/dist/charts/index.js +4 -4
  6. package/dist/{chunk-GZADST64.js → chunk-2454MK7P.js} +7 -7
  7. package/dist/{chunk-26BTE3Z4.js → chunk-753MKWFV.js} +1 -1
  8. package/dist/{chunk-LWYLZUUV.js → chunk-7ESZKTQG.js} +3 -3
  9. package/dist/{chunk-SMH6SQQE.js → chunk-A3JHFZDP.js} +1 -1
  10. package/dist/{chunk-MFCV4JMQ.js → chunk-AFBFSXP3.js} +4 -4
  11. package/dist/{chunk-TJMZUL6E.js → chunk-DJWIIPKW.js} +3 -3
  12. package/dist/{chunk-QDMIFD6F.js → chunk-DKVGO6RJ.js} +1 -1
  13. package/dist/{chunk-LY3IKYTZ.js → chunk-IMZTRDY2.js} +2 -2
  14. package/dist/{chunk-JA2XDMAE.js → chunk-IXBRUIYI.js} +1 -1
  15. package/dist/{chunk-6TT3FQEZ.js → chunk-KIDZXZM5.js} +149 -17
  16. package/dist/{chunk-CCZJ4OWY.js → chunk-LCHL5SM2.js} +1 -1
  17. package/dist/{chunk-5C62IRKS.js → chunk-LEQGGX2U.js} +4 -4
  18. package/dist/{chunk-NM4A63KJ.js → chunk-Q3O3WY7Q.js} +23 -7
  19. package/dist/{chunk-GJQF3S2Q.js → chunk-RRS2QR3W.js} +1 -1
  20. package/dist/{chunk-DUEGHF7A.js → chunk-SV4M2BUI.js} +4 -4
  21. package/dist/{chunk-AGX2CY2O.js → chunk-UZ5JO5TK.js} +1 -1
  22. package/dist/{chunk-C75XWBYZ.js → chunk-XZIOCB5D.js} +1 -1
  23. package/dist/{chunk-VDX6DL7Z.js → chunk-Z2W5VNN3.js} +1 -1
  24. package/dist/{chunk-XKUEO4HG.js → chunk-ZBXCEWKF.js} +3 -3
  25. package/dist/components/index.d.ts +61 -5
  26. package/dist/components/index.js +23 -23
  27. package/dist/components/navigation/index.js +5 -5
  28. package/dist/features/auth/index.d.ts +26 -0
  29. package/dist/features/auth/index.js +6 -6
  30. package/dist/features/clients/index.js +5 -5
  31. package/dist/features/content/index.d.ts +187 -113
  32. package/dist/features/content/index.js +200 -303
  33. package/dist/features/crm/index.d.ts +29 -2
  34. package/dist/features/crm/index.js +6 -6
  35. package/dist/features/dashboard/index.d.ts +1 -1
  36. package/dist/features/dashboard/index.js +6 -6
  37. package/dist/features/delivery/index.d.ts +26 -0
  38. package/dist/features/delivery/index.js +5 -5
  39. package/dist/features/knowledge/index.js +4 -4
  40. package/dist/features/lead-gen/index.d.ts +3 -2
  41. package/dist/features/lead-gen/index.js +6 -6
  42. package/dist/features/monitoring/index.d.ts +33 -3
  43. package/dist/features/monitoring/index.js +7 -7
  44. package/dist/features/monitoring/requests/index.js +5 -5
  45. package/dist/features/operations/index.d.ts +2 -2
  46. package/dist/features/operations/index.js +9 -9
  47. package/dist/features/settings/index.d.ts +26 -0
  48. package/dist/features/settings/index.js +6 -6
  49. package/dist/hooks/access/index.js +4 -4
  50. package/dist/hooks/delivery/index.d.ts +26 -0
  51. package/dist/hooks/delivery/index.js +2 -2
  52. package/dist/hooks/index.d.ts +310 -14
  53. package/dist/hooks/index.js +4 -4
  54. package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +1 -1
  55. package/dist/hooks/published.d.ts +310 -14
  56. package/dist/hooks/published.js +4 -4
  57. package/dist/initialization/index.d.ts +26 -0
  58. package/dist/knowledge/index.d.ts +2 -2
  59. package/dist/knowledge/index.js +18 -18
  60. package/dist/{knowledge-search-index-LP2WVSQX.js → knowledge-search-index-RZLIVWPJ.js} +5 -5
  61. package/dist/layout/index.js +7 -7
  62. package/dist/profile/index.d.ts +26 -0
  63. package/dist/provider/index.d.ts +28 -2
  64. package/dist/provider/index.js +4 -4
  65. package/dist/provider/published.d.ts +28 -2
  66. package/dist/provider/published.js +4 -4
  67. package/dist/supabase/index.d.ts +50 -0
  68. package/dist/test-utils/index.js +3 -3
  69. package/dist/types/index.d.ts +60 -4
  70. package/dist/utils/index.d.ts +1 -1
  71. package/dist/utils/index.js +1 -1
  72. package/package.json +5 -5
@@ -1482,6 +1482,7 @@ type Database = {
1482
1482
  activities: {
1483
1483
  Row: {
1484
1484
  activity_type: string;
1485
+ actor_api_key_id: string | null;
1485
1486
  actor_id: string | null;
1486
1487
  actor_type: string | null;
1487
1488
  created_at: string;
@@ -1498,6 +1499,7 @@ type Database = {
1498
1499
  };
1499
1500
  Insert: {
1500
1501
  activity_type: string;
1502
+ actor_api_key_id?: string | null;
1501
1503
  actor_id?: string | null;
1502
1504
  actor_type?: string | null;
1503
1505
  created_at?: string;
@@ -1514,6 +1516,7 @@ type Database = {
1514
1516
  };
1515
1517
  Update: {
1516
1518
  activity_type?: string;
1519
+ actor_api_key_id?: string | null;
1517
1520
  actor_id?: string | null;
1518
1521
  actor_type?: string | null;
1519
1522
  created_at?: string;
@@ -1529,6 +1532,13 @@ type Database = {
1529
1532
  title?: string;
1530
1533
  };
1531
1534
  Relationships: [
1535
+ {
1536
+ foreignKeyName: "activities_actor_api_key_id_fkey";
1537
+ columns: ["actor_api_key_id"];
1538
+ isOneToOne: false;
1539
+ referencedRelation: "api_keys";
1540
+ referencedColumns: ["id"];
1541
+ },
1532
1542
  {
1533
1543
  foreignKeyName: "activities_actor_id_fkey";
1534
1544
  columns: ["actor_id"];
@@ -1616,6 +1626,7 @@ type Database = {
1616
1626
  api_keys: {
1617
1627
  Row: {
1618
1628
  created_at: string | null;
1629
+ created_by: string | null;
1619
1630
  id: string;
1620
1631
  key_hash: string;
1621
1632
  last_used_at: string | null;
@@ -1624,6 +1635,7 @@ type Database = {
1624
1635
  };
1625
1636
  Insert: {
1626
1637
  created_at?: string | null;
1638
+ created_by?: string | null;
1627
1639
  id?: string;
1628
1640
  key_hash: string;
1629
1641
  last_used_at?: string | null;
@@ -1632,6 +1644,7 @@ type Database = {
1632
1644
  };
1633
1645
  Update: {
1634
1646
  created_at?: string | null;
1647
+ created_by?: string | null;
1635
1648
  id?: string;
1636
1649
  key_hash?: string;
1637
1650
  last_used_at?: string | null;
@@ -1639,6 +1652,13 @@ type Database = {
1639
1652
  organization_id?: string;
1640
1653
  };
1641
1654
  Relationships: [
1655
+ {
1656
+ foreignKeyName: "api_keys_created_by_fkey";
1657
+ columns: ["created_by"];
1658
+ isOneToOne: false;
1659
+ referencedRelation: "users";
1660
+ referencedColumns: ["id"];
1661
+ },
1642
1662
  {
1643
1663
  foreignKeyName: "api_keys_organization_id_fkey";
1644
1664
  columns: ["organization_id"];
@@ -1966,6 +1986,7 @@ type Database = {
1966
1986
  organization_id: string;
1967
1987
  payload: Json;
1968
1988
  source_execution_id: string | null;
1989
+ status: string;
1969
1990
  step_key: string | null;
1970
1991
  };
1971
1992
  Insert: {
@@ -1977,6 +1998,7 @@ type Database = {
1977
1998
  organization_id: string;
1978
1999
  payload?: Json;
1979
2000
  source_execution_id?: string | null;
2001
+ status: string;
1980
2002
  step_key?: string | null;
1981
2003
  };
1982
2004
  Update: {
@@ -1988,6 +2010,7 @@ type Database = {
1988
2010
  organization_id?: string;
1989
2011
  payload?: Json;
1990
2012
  source_execution_id?: string | null;
2013
+ status?: string;
1991
2014
  step_key?: string | null;
1992
2015
  };
1993
2016
  Relationships: [
@@ -2139,6 +2162,7 @@ type Database = {
2139
2162
  kind: string;
2140
2163
  metadata: Json;
2141
2164
  organization_id: string;
2165
+ payload: Json;
2142
2166
  processing_state: Json;
2143
2167
  storage_path: string | null;
2144
2168
  title: string;
@@ -2152,6 +2176,7 @@ type Database = {
2152
2176
  kind: string;
2153
2177
  metadata?: Json;
2154
2178
  organization_id: string;
2179
+ payload?: Json;
2155
2180
  processing_state?: Json;
2156
2181
  storage_path?: string | null;
2157
2182
  title: string;
@@ -2165,6 +2190,7 @@ type Database = {
2165
2190
  kind?: string;
2166
2191
  metadata?: Json;
2167
2192
  organization_id?: string;
2193
+ payload?: Json;
2168
2194
  processing_state?: Json;
2169
2195
  storage_path?: string | null;
2170
2196
  title?: string;
@@ -4483,7 +4509,7 @@ declare const OntologyScopeSchema: z.ZodDefault<z.ZodObject<{
4483
4509
  aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
4484
4510
  route: z.ZodOptional<z.ZodString>;
4485
4511
  }, z.core.$loose>>>>;
4486
- }, z.core.$strip>>;
4512
+ }, z.core.$strict>>;
4487
4513
  type OntologyScope = z.infer<typeof OntologyScopeSchema>;
4488
4514
 
4489
4515
  declare const SystemApiInterfaceSchema: z.ZodObject<{
@@ -5130,7 +5156,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
5130
5156
  aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
5131
5157
  route: z.ZodOptional<z.ZodString>;
5132
5158
  }, z.core.$loose>>>>;
5133
- }, z.core.$strip>>>;
5159
+ }, z.core.$strict>>>;
5134
5160
  resources: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
5135
5161
  id: z.ZodString;
5136
5162
  order: z.ZodDefault<z.ZodNumber>;
@@ -6112,8 +6138,34 @@ interface APIExecutionDetail extends APIExecutionSummary {
6112
6138
  */
6113
6139
  type NodeColorType = 'violet' | 'blue' | 'orange' | 'teal' | 'gray' | 'yellow';
6114
6140
 
6115
- type ActivityType = 'workflow_execution' | 'agent_run' | 'hitl_action' | 'webhook_received' | 'webhook_executed' | 'webhook_failed' | 'credential_change' | 'credential_read' | 'api_key_change' | 'agent_access_grant_change' | 'deployment_change' | 'membership_change';
6116
- type ActivityStatus = 'success' | 'failure' | 'pending' | 'approved' | 'rejected' | 'completed';
6141
+ /**
6142
+ * Every kind of activity the platform records.
6143
+ *
6144
+ * This array is the single TypeScript-side source for the catalog: `ActivityType` is
6145
+ * derived from it, and `ActivityTypeSchema` in `api-schemas.ts` builds its Zod enum
6146
+ * from it rather than repeating the list. It is also what the database CHECK constraint
6147
+ * `activities_activity_type_check` must match exactly.
6148
+ *
6149
+ * A value here that the constraint does not allow raises `23514` on every write, and
6150
+ * because activity writes are best-effort the rejection is silent. That is not
6151
+ * hypothetical: `credential_read` and `agent_access_grant_change` were both in this list
6152
+ * and absent from the constraint, so neither had ever recorded a single row on either
6153
+ * database. `activity-catalog-sync.integration.test.ts` is the gate that now catches it.
6154
+ */
6155
+ declare const ACTIVITY_TYPES: readonly ["workflow_execution", "agent_run", "hitl_action", "webhook_received", "webhook_executed", "webhook_failed", "credential_change", "credential_read", "api_key_change", "agent_access_grant_change", "deployment_change", "membership_change"];
6156
+ type ActivityType = (typeof ACTIVITY_TYPES)[number];
6157
+ /** Mirrors the `activities_status_check` constraint; same two-place risk as ACTIVITY_TYPES. */
6158
+ declare const ACTIVITY_STATUSES: readonly ["success", "failure", "pending", "approved", "rejected", "completed"];
6159
+ type ActivityStatus = (typeof ACTIVITY_STATUSES)[number];
6160
+ /**
6161
+ * What kind of actor performed an action.
6162
+ *
6163
+ * `'user'` reads `actorId` (FK to users), `'api_key'` reads `actorApiKeyId` (FK to api_keys),
6164
+ * and `'system'` reads neither. The two id columns are deliberately separate rather than one
6165
+ * polymorphic column, so the database keeps checking both referents.
6166
+ */
6167
+ declare const ACTOR_TYPES: readonly ["user", "system", "api_key"];
6168
+ type ActorType = (typeof ACTOR_TYPES)[number];
6117
6169
  interface Activity {
6118
6170
  id: string;
6119
6171
  organizationId: string;
@@ -6125,8 +6177,12 @@ interface Activity {
6125
6177
  entityId: string;
6126
6178
  entityName: string | null;
6127
6179
  metadata: Record<string, unknown> | null;
6180
+ /** Set when actorType is 'user'. FK to users(id). */
6128
6181
  actorId: string | null;
6129
- actorType: string | null;
6182
+ /** Set when actorType is 'api_key'. FK to api_keys(id). */
6183
+ actorApiKeyId: string | null;
6184
+ /** Discriminator saying which of the two id fields above to read. */
6185
+ actorType: ActorType | null;
6130
6186
  occurredAt: Date;
6131
6187
  createdAt: Date;
6132
6188
  }
@@ -1,41 +1,41 @@
1
- export { AppErrorBoundary, CrashErrorFallback, ErrorReportCard, buildErrorReport } from '../chunk-CCZJ4OWY.js';
2
- import { useBreadcrumbs } from '../chunk-AGX2CY2O.js';
1
+ export { AppErrorBoundary, CrashErrorFallback, ErrorReportCard, buildErrorReport } from '../chunk-LCHL5SM2.js';
2
+ import { useBreadcrumbs } from '../chunk-UZ5JO5TK.js';
3
3
  import '../chunk-AH52XQB7.js';
4
- import { showAuthError } from '../chunk-DUEGHF7A.js';
5
- export { CreateCredentialModal, CredentialList, CredentialSettings, MembershipStatusBadge, OAuthConnectModal, OrganizationMembershipsList, ProvisioningStateBadge, WebhookUrlDisplayModal, showAuthError } from '../chunk-DUEGHF7A.js';
4
+ import { showAuthError } from '../chunk-SV4M2BUI.js';
5
+ export { CreateCredentialModal, CredentialList, CredentialSettings, MembershipStatusBadge, OAuthConnectModal, OrganizationMembershipsList, ProvisioningStateBadge, WebhookUrlDisplayModal, showAuthError } from '../chunk-SV4M2BUI.js';
6
6
  import '../chunk-ZFISGKYW.js';
7
- import '../chunk-GJQF3S2Q.js';
8
- import { setDealReferrer, compareDealsByPriority } from '../chunk-MFCV4JMQ.js';
9
- export { ActivityFeedWidget, CompanyDetailPage, ContactDetailPage, CrmOverview, CrmSidebar, CrmSidebarTop, DealDetailPage, DealsListPage, MetricsStrip, PIPELINE_FUNNEL_ORDER, PipelineFunnelWidget, useCrmPipelineSummary, useCrmQuickMetrics, useRecentCrmActivity } from '../chunk-MFCV4JMQ.js';
10
- export { AllTasksPage, HealthStatusCard, MilestoneTimeline, ProjectDetailPage, ProjectsListPage, ProjectsSidebar, ProjectsSidebarMiddle, ProjectsSidebarTop, TaskCard, UpcomingMilestonesPage } from '../chunk-TJMZUL6E.js';
11
- export { LEAD_GEN_ROUTE_LINKS, LeadGenCompaniesPage, LeadGenContactsPage, LeadGenListDetailPage, LeadGenListsPage, LeadGenOverviewPage, LeadGenRouteShell, LeadGenSidebar, LeadGenSidebarTop, StepConfigForm, TabSection, getEnrichmentColor, getStatusColor, useDeleteLists } from '../chunk-5C62IRKS.js';
12
- import '../chunk-LY3IKYTZ.js';
13
- export { ActionModal, AgentDefinitionDisplay, AgentExecutionLogs, BaseExecutionLogs, BaseExecutionLogsHeader, BaseExecutionLogsStates, CommandQueueTaskRow, ConfigCard, ContentSections, ContextUsageBadge, ContractDisplay, ExecutionErrorSection, LogEntry, LogGroup, ResourceDefinitionSection, ResourceErrorState, ResourceFilter, ResourceHeader, ResourceNotFoundState, SessionMemory, ToolsListDisplay, WorkflowDefinitionDisplay, WorkflowExecutionLogs, getExecutionStatusConfig, getIcon, getLogLevelConfig, iconMap } from '../chunk-GZADST64.js';
7
+ import '../chunk-RRS2QR3W.js';
8
+ import { setDealReferrer, compareDealsByPriority } from '../chunk-AFBFSXP3.js';
9
+ export { ActivityFeedWidget, CompanyDetailPage, ContactDetailPage, CrmOverview, CrmSidebar, CrmSidebarTop, DealDetailPage, DealsListPage, MetricsStrip, PIPELINE_FUNNEL_ORDER, PipelineFunnelWidget, useCrmPipelineSummary, useCrmQuickMetrics, useRecentCrmActivity } from '../chunk-AFBFSXP3.js';
10
+ export { AllTasksPage, HealthStatusCard, MilestoneTimeline, ProjectDetailPage, ProjectsListPage, ProjectsSidebar, ProjectsSidebarMiddle, ProjectsSidebarTop, TaskCard, UpcomingMilestonesPage } from '../chunk-DJWIIPKW.js';
11
+ export { LEAD_GEN_ROUTE_LINKS, LeadGenCompaniesPage, LeadGenContactsPage, LeadGenListDetailPage, LeadGenListsPage, LeadGenOverviewPage, LeadGenRouteShell, LeadGenSidebar, LeadGenSidebarTop, StepConfigForm, TabSection, getEnrichmentColor, getStatusColor, useDeleteLists } from '../chunk-LEQGGX2U.js';
12
+ import '../chunk-IMZTRDY2.js';
13
+ export { ActionModal, AgentDefinitionDisplay, AgentExecutionLogs, BaseExecutionLogs, BaseExecutionLogsHeader, BaseExecutionLogsStates, CommandQueueTaskRow, ConfigCard, ContentSections, ContextUsageBadge, ContractDisplay, ExecutionErrorSection, LogEntry, LogGroup, ResourceDefinitionSection, ResourceErrorState, ResourceFilter, ResourceHeader, ResourceNotFoundState, SessionMemory, ToolsListDisplay, WorkflowDefinitionDisplay, WorkflowExecutionLogs, getExecutionStatusConfig, getIcon, getLogLevelConfig, iconMap } from '../chunk-2454MK7P.js';
14
14
  import '../chunk-6ZAP3FOA.js';
15
- import '../chunk-QDMIFD6F.js';
16
- export { AgentExecutionTimeline, AgentExecutionVisualizer, AgentIterationDetailPanel, AgentIterationEdge, AgentIterationNode, BaseEdge, BaseNode, CollapsibleJsonSection, EmptyVisualizer, ExecutionStats, ExecutionStatusBadge, GraphBackground, GraphContainer, GraphFitViewButton, GraphFitViewHandler, GraphLegend, RunResourceButton, TimelineAxis, TimelineBar, TimelineContainer, TimelineRow, UnifiedWorkflowEdge, UnifiedWorkflowGraph, UnifiedWorkflowNode, VisualizerContainer, WorkflowExecutionTimeline, getGraphBackgroundStyles, useGraphBackgroundStyles, useGraphTheme } from '../chunk-XKUEO4HG.js';
15
+ import '../chunk-DKVGO6RJ.js';
16
+ export { AgentExecutionTimeline, AgentExecutionVisualizer, AgentIterationDetailPanel, AgentIterationEdge, AgentIterationNode, BaseEdge, BaseNode, CollapsibleJsonSection, EmptyVisualizer, ExecutionStats, ExecutionStatusBadge, GraphBackground, GraphContainer, GraphFitViewButton, GraphFitViewHandler, GraphLegend, RunResourceButton, TimelineAxis, TimelineBar, TimelineContainer, TimelineRow, UnifiedWorkflowEdge, UnifiedWorkflowGraph, UnifiedWorkflowNode, VisualizerContainer, WorkflowExecutionTimeline, getGraphBackgroundStyles, useGraphBackgroundStyles, useGraphTheme } from '../chunk-ZBXCEWKF.js';
17
17
  export { ZodFormRenderer } from '../chunk-3MEXPLWT.js';
18
18
  import '../chunk-SNZDFCOQ.js';
19
- import { NotificationList } from '../chunk-LWYLZUUV.js';
20
- export { ActivityCard, ActivityFilters as ActivityFiltersBar, ActivityTable, BusinessImpactCard, CostBreakdownCard, CostByModelTable, CostMetricsCard, ErrorAnalysisCard, ErrorBreakdownTable, ExecutionBreakdownTable, ExecutionHealthCard, ExecutionLogsFilters as ExecutionLogsFilterBar, ExecutionLogsTable, NotificationItem, NotificationList } from '../chunk-LWYLZUUV.js';
21
- export { ResourceHealthPanel } from '../chunk-JA2XDMAE.js';
19
+ import { NotificationList } from '../chunk-7ESZKTQG.js';
20
+ export { ActivityCard, ActivityFilters as ActivityFiltersBar, ActivityTable, BusinessImpactCard, CostBreakdownCard, CostByModelTable, CostMetricsCard, ErrorAnalysisCard, ErrorBreakdownTable, ExecutionBreakdownTable, ExecutionHealthCard, ExecutionLogsFilters as ExecutionLogsFilterBar, ExecutionLogsTable, NotificationItem, NotificationList } from '../chunk-7ESZKTQG.js';
21
+ export { ResourceHealthPanel } from '../chunk-IXBRUIYI.js';
22
22
  export { ResourceHealthChart, getHealthColor } from '../chunk-LGKLC5MG.js';
23
23
  export { Graph_module_css_default as graphStyles } from '../chunk-HENXLGVD.js';
24
- import { AppShellLoader } from '../chunk-SMH6SQQE.js';
24
+ import { AppShellLoader } from '../chunk-A3JHFZDP.js';
25
25
  export { calculateProgress, formatStatusLabel, milestoneStatusColors, noteTypeColors, projectStatusColors, taskStatusColors, taskTypeColors } from '../chunk-DLR4SDZW.js';
26
26
  import '../chunk-BZZCNLT6.js';
27
27
  export { SortableHeader, TableSelectionToolbar } from '../chunk-TUMSNGTX.js';
28
28
  import { FilterBar } from '../chunk-PDHTXPSF.js';
29
29
  export { FilterBar } from '../chunk-PDHTXPSF.js';
30
- import { useCreateOrgRole, usePermissionCatalog, CustomModal, useMarkAllAsRead, useNotifications, useUpdateApiKey, useDeleteApiKey, ListSkeleton, EmptyState, useCreateApiKey, useListApiKeys, PageTitleCaption, StatCard, usePaginationState, useActivateDeployment, useDeactivateDeployment, useDeleteDeployment, useListDeployments, useResources, useCreateSchedule, useListSchedules, usePauseSchedule, useResumeSchedule, useCancelSchedule, useDeleteSchedule, CenteredErrorState, useDeals, useTransitionItem, dealKeys, SubshellContentContainer } from '../chunk-6TT3FQEZ.js';
31
- export { APIErrorAlert, ActivityTimeline, CenteredErrorState, CheckpointGroup, CollapsibleSection, CommandQueueSidebar, CommandQueueSidebarMiddle, CommandQueueSidebarTop, ConfirmationInputModal, ConfirmationModal, ContextViewer, CrmSidebarMiddle, CustomModal, CustomSelector, DetailCardSkeleton, ElevasisLoader, EmptyState, FeatureUnavailableState, GlowDot, JsonViewer, LeadGenSidebarMiddle, ListSkeleton, MyTasksPanel, NavigationButton, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, OrganizationModelDriftActionIcon, PageNotFound, PageTitleCaption, QuickCreateActions, ResourceCard, SAVED_VIEW_PRESETS, SavedViewsPanel, StatCard, StatCardSkeleton, StatsCardSkeleton, StatusBadge, TabCountBadge, TimeRangeSelector, TrendIndicator, crmManifest, deliveryManifest, leadGenManifest, monitoringManifest, operationsManifest, settingsManifest } from '../chunk-6TT3FQEZ.js';
30
+ import { useCreateOrgRole, usePermissionCatalog, CustomModal, useMarkAllAsRead, useNotifications, useUpdateApiKey, useDeleteApiKey, ListSkeleton, EmptyState, useCreateApiKey, useListApiKeys, PageTitleCaption, StatCard, usePaginationState, useActivateDeployment, useDeactivateDeployment, useDeleteDeployment, useListDeployments, useResources, useCreateSchedule, useListSchedules, usePauseSchedule, useResumeSchedule, useCancelSchedule, useDeleteSchedule, CenteredErrorState, useDeals, useTransitionItem, dealKeys, SubshellContentContainer } from '../chunk-KIDZXZM5.js';
31
+ export { APIErrorAlert, ActivityTimeline, CenteredErrorState, CheckpointGroup, CollapsibleSection, CommandQueueSidebar, CommandQueueSidebarMiddle, CommandQueueSidebarTop, ConfirmationInputModal, ConfirmationModal, ContextViewer, CrmSidebarMiddle, CustomModal, CustomSelector, DetailCardSkeleton, ElevasisLoader, EmptyState, FeatureUnavailableState, GlowDot, JsonViewer, LeadGenSidebarMiddle, ListSkeleton, MyTasksPanel, NavigationButton, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, OrganizationModelDriftActionIcon, PageNotFound, PageTitleCaption, QuickCreateActions, ResourceCard, SAVED_VIEW_PRESETS, SavedViewsPanel, StatCard, StatCardSkeleton, StatsCardSkeleton, StatusBadge, TabCountBadge, TimeRangeSelector, TrendIndicator, crmManifest, deliveryManifest, leadGenManifest, monitoringManifest, operationsManifest, settingsManifest } from '../chunk-KIDZXZM5.js';
32
32
  import '../chunk-R6NMRXNO.js';
33
33
  import '../chunk-RBGVNPA6.js';
34
34
  import '../chunk-MKH2KOAO.js';
35
- import '../chunk-VDX6DL7Z.js';
35
+ import '../chunk-Z2W5VNN3.js';
36
36
  import '../chunk-L7BZZ4SI.js';
37
- import { showSuccessNotification, showErrorNotification, showApiErrorNotification } from '../chunk-C75XWBYZ.js';
38
- export { showApiErrorNotification, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification } from '../chunk-C75XWBYZ.js';
37
+ import { showSuccessNotification, showErrorNotification, showApiErrorNotification } from '../chunk-XZIOCB5D.js';
38
+ export { showApiErrorNotification, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification } from '../chunk-XZIOCB5D.js';
39
39
  export { SEOSidebar, SEOSidebarMiddle, SEOSidebarTop, seoManifest } from '../chunk-MISHPEJX.js';
40
40
  import { CardHeader } from '../chunk-62GVNH5U.js';
41
41
  export { CardHeader } from '../chunk-62GVNH5U.js';
@@ -48,7 +48,7 @@ export { RoleBadge } from '../chunk-UD657ICS.js';
48
48
  import '../chunk-DD3CCMCZ.js';
49
49
  import '../chunk-RNP5R5I3.js';
50
50
  import '../chunk-RT4KRGZT.js';
51
- import { formatDateTime, PAGE_SIZE_DEFAULT, formatTimeAgo } from '../chunk-NM4A63KJ.js';
51
+ import { formatDateTime, PAGE_SIZE_DEFAULT, formatTimeAgo } from '../chunk-Q3O3WY7Q.js';
52
52
  import '../chunk-Y6I3IC45.js';
53
53
  import '../chunk-6SSQGWK7.js';
54
54
  import { useElevasisServices } from '../chunk-BI5VDO2K.js';
@@ -1,11 +1,11 @@
1
- export { useBreadcrumbs } from '../../chunk-AGX2CY2O.js';
2
- import '../../chunk-6TT3FQEZ.js';
1
+ export { useBreadcrumbs } from '../../chunk-UZ5JO5TK.js';
2
+ import '../../chunk-KIDZXZM5.js';
3
3
  import '../../chunk-R6NMRXNO.js';
4
4
  import '../../chunk-RBGVNPA6.js';
5
5
  import '../../chunk-MKH2KOAO.js';
6
- import '../../chunk-VDX6DL7Z.js';
6
+ import '../../chunk-Z2W5VNN3.js';
7
7
  import '../../chunk-L7BZZ4SI.js';
8
- import '../../chunk-C75XWBYZ.js';
8
+ import '../../chunk-XZIOCB5D.js';
9
9
  import '../../chunk-MISHPEJX.js';
10
10
  import '../../chunk-62GVNH5U.js';
11
11
  import '../../chunk-P45GQ3ZW.js';
@@ -17,7 +17,7 @@ import '../../chunk-UD657ICS.js';
17
17
  import '../../chunk-DD3CCMCZ.js';
18
18
  import '../../chunk-RNP5R5I3.js';
19
19
  import '../../chunk-RT4KRGZT.js';
20
- import '../../chunk-NM4A63KJ.js';
20
+ import '../../chunk-Q3O3WY7Q.js';
21
21
  import '../../chunk-Y6I3IC45.js';
22
22
  import '../../chunk-6SSQGWK7.js';
23
23
  import '../../chunk-BI5VDO2K.js';
@@ -1043,6 +1043,7 @@ type Database = {
1043
1043
  activities: {
1044
1044
  Row: {
1045
1045
  activity_type: string;
1046
+ actor_api_key_id: string | null;
1046
1047
  actor_id: string | null;
1047
1048
  actor_type: string | null;
1048
1049
  created_at: string;
@@ -1059,6 +1060,7 @@ type Database = {
1059
1060
  };
1060
1061
  Insert: {
1061
1062
  activity_type: string;
1063
+ actor_api_key_id?: string | null;
1062
1064
  actor_id?: string | null;
1063
1065
  actor_type?: string | null;
1064
1066
  created_at?: string;
@@ -1075,6 +1077,7 @@ type Database = {
1075
1077
  };
1076
1078
  Update: {
1077
1079
  activity_type?: string;
1080
+ actor_api_key_id?: string | null;
1078
1081
  actor_id?: string | null;
1079
1082
  actor_type?: string | null;
1080
1083
  created_at?: string;
@@ -1090,6 +1093,13 @@ type Database = {
1090
1093
  title?: string;
1091
1094
  };
1092
1095
  Relationships: [
1096
+ {
1097
+ foreignKeyName: "activities_actor_api_key_id_fkey";
1098
+ columns: ["actor_api_key_id"];
1099
+ isOneToOne: false;
1100
+ referencedRelation: "api_keys";
1101
+ referencedColumns: ["id"];
1102
+ },
1093
1103
  {
1094
1104
  foreignKeyName: "activities_actor_id_fkey";
1095
1105
  columns: ["actor_id"];
@@ -1177,6 +1187,7 @@ type Database = {
1177
1187
  api_keys: {
1178
1188
  Row: {
1179
1189
  created_at: string | null;
1190
+ created_by: string | null;
1180
1191
  id: string;
1181
1192
  key_hash: string;
1182
1193
  last_used_at: string | null;
@@ -1185,6 +1196,7 @@ type Database = {
1185
1196
  };
1186
1197
  Insert: {
1187
1198
  created_at?: string | null;
1199
+ created_by?: string | null;
1188
1200
  id?: string;
1189
1201
  key_hash: string;
1190
1202
  last_used_at?: string | null;
@@ -1193,6 +1205,7 @@ type Database = {
1193
1205
  };
1194
1206
  Update: {
1195
1207
  created_at?: string | null;
1208
+ created_by?: string | null;
1196
1209
  id?: string;
1197
1210
  key_hash?: string;
1198
1211
  last_used_at?: string | null;
@@ -1200,6 +1213,13 @@ type Database = {
1200
1213
  organization_id?: string;
1201
1214
  };
1202
1215
  Relationships: [
1216
+ {
1217
+ foreignKeyName: "api_keys_created_by_fkey";
1218
+ columns: ["created_by"];
1219
+ isOneToOne: false;
1220
+ referencedRelation: "users";
1221
+ referencedColumns: ["id"];
1222
+ },
1203
1223
  {
1204
1224
  foreignKeyName: "api_keys_organization_id_fkey";
1205
1225
  columns: ["organization_id"];
@@ -1527,6 +1547,7 @@ type Database = {
1527
1547
  organization_id: string;
1528
1548
  payload: Json;
1529
1549
  source_execution_id: string | null;
1550
+ status: string;
1530
1551
  step_key: string | null;
1531
1552
  };
1532
1553
  Insert: {
@@ -1538,6 +1559,7 @@ type Database = {
1538
1559
  organization_id: string;
1539
1560
  payload?: Json;
1540
1561
  source_execution_id?: string | null;
1562
+ status: string;
1541
1563
  step_key?: string | null;
1542
1564
  };
1543
1565
  Update: {
@@ -1549,6 +1571,7 @@ type Database = {
1549
1571
  organization_id?: string;
1550
1572
  payload?: Json;
1551
1573
  source_execution_id?: string | null;
1574
+ status?: string;
1552
1575
  step_key?: string | null;
1553
1576
  };
1554
1577
  Relationships: [
@@ -1700,6 +1723,7 @@ type Database = {
1700
1723
  kind: string;
1701
1724
  metadata: Json;
1702
1725
  organization_id: string;
1726
+ payload: Json;
1703
1727
  processing_state: Json;
1704
1728
  storage_path: string | null;
1705
1729
  title: string;
@@ -1713,6 +1737,7 @@ type Database = {
1713
1737
  kind: string;
1714
1738
  metadata?: Json;
1715
1739
  organization_id: string;
1740
+ payload?: Json;
1716
1741
  processing_state?: Json;
1717
1742
  storage_path?: string | null;
1718
1743
  title: string;
@@ -1726,6 +1751,7 @@ type Database = {
1726
1751
  kind?: string;
1727
1752
  metadata?: Json;
1728
1753
  organization_id?: string;
1754
+ payload?: Json;
1729
1755
  processing_state?: Json;
1730
1756
  storage_path?: string | null;
1731
1757
  title?: string;
@@ -1,12 +1,12 @@
1
- import { AppShellError } from '../../chunk-SMH6SQQE.js';
2
- import { computeProtectedRouteGate, DEFAULT_WAIT_FOR_ORGANIZATION, ProtectedRoute, AppearanceContext, useAppearance } from '../../chunk-6TT3FQEZ.js';
3
- export { AccessGuard } from '../../chunk-6TT3FQEZ.js';
1
+ import { AppShellError } from '../../chunk-A3JHFZDP.js';
2
+ import { computeProtectedRouteGate, DEFAULT_WAIT_FOR_ORGANIZATION, ProtectedRoute, AppearanceContext, useAppearance } from '../../chunk-KIDZXZM5.js';
3
+ export { AccessGuard } from '../../chunk-KIDZXZM5.js';
4
4
  import '../../chunk-R6NMRXNO.js';
5
5
  import '../../chunk-RBGVNPA6.js';
6
6
  import '../../chunk-MKH2KOAO.js';
7
- import '../../chunk-VDX6DL7Z.js';
7
+ import '../../chunk-Z2W5VNN3.js';
8
8
  import '../../chunk-L7BZZ4SI.js';
9
- import '../../chunk-C75XWBYZ.js';
9
+ import '../../chunk-XZIOCB5D.js';
10
10
  import '../../chunk-MISHPEJX.js';
11
11
  import '../../chunk-62GVNH5U.js';
12
12
  import { useInitialization } from '../../chunk-P45GQ3ZW.js';
@@ -18,7 +18,7 @@ import '../../chunk-UD657ICS.js';
18
18
  import '../../chunk-DD3CCMCZ.js';
19
19
  import '../../chunk-RNP5R5I3.js';
20
20
  export { USER_PROFILE_QUERY_KEY, useUserProfile } from '../../chunk-RT4KRGZT.js';
21
- import '../../chunk-NM4A63KJ.js';
21
+ import '../../chunk-Q3O3WY7Q.js';
22
22
  import '../../chunk-Y6I3IC45.js';
23
23
  import '../../chunk-6SSQGWK7.js';
24
24
  import '../../chunk-BI5VDO2K.js';
@@ -2,14 +2,14 @@ import '../../chunk-DLR4SDZW.js';
2
2
  import { PageContainer } from '../../chunk-BZZCNLT6.js';
3
3
  import '../../chunk-TUMSNGTX.js';
4
4
  import { FilterBar } from '../../chunk-PDHTXPSF.js';
5
- import { useClientStatus, StatCard, EmptyState, useCreateClient, CustomModal, useUpdateClient, useDeleteClient, usePaginationState, useClients, SubshellContentContainer, PageTitleCaption, CenteredErrorState, useClient } from '../../chunk-6TT3FQEZ.js';
6
- export { clientsManifest } from '../../chunk-6TT3FQEZ.js';
5
+ import { useClientStatus, StatCard, EmptyState, useCreateClient, CustomModal, useUpdateClient, useDeleteClient, usePaginationState, useClients, SubshellContentContainer, PageTitleCaption, CenteredErrorState, useClient } from '../../chunk-KIDZXZM5.js';
6
+ export { clientsManifest } from '../../chunk-KIDZXZM5.js';
7
7
  import '../../chunk-R6NMRXNO.js';
8
8
  import '../../chunk-RBGVNPA6.js';
9
9
  import '../../chunk-MKH2KOAO.js';
10
- import '../../chunk-VDX6DL7Z.js';
10
+ import '../../chunk-Z2W5VNN3.js';
11
11
  import '../../chunk-L7BZZ4SI.js';
12
- import { showApiErrorNotification } from '../../chunk-C75XWBYZ.js';
12
+ import { showApiErrorNotification } from '../../chunk-XZIOCB5D.js';
13
13
  import '../../chunk-MISHPEJX.js';
14
14
  import { CardHeader } from '../../chunk-62GVNH5U.js';
15
15
  import '../../chunk-P45GQ3ZW.js';
@@ -21,7 +21,7 @@ import '../../chunk-UD657ICS.js';
21
21
  import '../../chunk-DD3CCMCZ.js';
22
22
  import '../../chunk-RNP5R5I3.js';
23
23
  import '../../chunk-RT4KRGZT.js';
24
- import { PAGE_SIZE_DEFAULT, formatTimeAgo } from '../../chunk-NM4A63KJ.js';
24
+ import { PAGE_SIZE_DEFAULT, formatTimeAgo } from '../../chunk-Q3O3WY7Q.js';
25
25
  import '../../chunk-Y6I3IC45.js';
26
26
  import '../../chunk-6SSQGWK7.js';
27
27
  import '../../chunk-BI5VDO2K.js';