@elevasis/ui 1.24.2 → 1.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/charts/index.js +2 -2
- package/dist/{chunk-HOYZWSNV.js → chunk-3EVTCVKR.js} +2 -2
- package/dist/{chunk-7TLPKXC2.js → chunk-7RS6VTAV.js} +57 -58
- package/dist/{chunk-TQBM3OEW.js → chunk-BS4J2LAW.js} +1 -1
- package/dist/{chunk-JR2C4XAN.js → chunk-CYXZHBP4.js} +202 -295
- package/dist/{chunk-OH74INP2.js → chunk-FEZZ3IDU.js} +434 -314
- package/dist/{chunk-IAZT3VO6.js → chunk-G25YWGUL.js} +4 -1
- package/dist/{chunk-KLZB3MNC.js → chunk-HYYI4ZFT.js} +6 -252
- package/dist/{chunk-CTF6FS2M.js → chunk-L3GVDMCA.js} +211 -1
- package/dist/{chunk-EDAYKRPJ.js → chunk-QDO6NF2I.js} +28 -1
- package/dist/{chunk-RNL2IC2Y.js → chunk-QNABH7YG.js} +3 -3
- package/dist/{chunk-FATKFO7X.js → chunk-R565P6XC.js} +691 -2
- package/dist/{chunk-5266RV46.js → chunk-RIL2CDFE.js} +3 -3
- package/dist/{chunk-TML32XBW.js → chunk-RMPXGBNI.js} +2 -2
- package/dist/{chunk-N5SDJP44.js → chunk-US4JUSI3.js} +4 -4
- package/dist/components/index.d.ts +3006 -193
- package/dist/components/index.js +1541 -26
- package/dist/features/auth/index.d.ts +108 -9
- package/dist/features/dashboard/index.js +8 -8
- package/dist/features/monitoring/index.js +19 -9
- package/dist/features/operations/index.d.ts +74 -10
- package/dist/features/operations/index.js +236 -53
- package/dist/features/settings/index.d.ts +108 -9
- package/dist/features/settings/index.js +28 -11
- package/dist/hooks/index.d.ts +3303 -193
- package/dist/hooks/index.js +5 -5
- package/dist/hooks/published.d.ts +134 -19
- package/dist/hooks/published.js +4 -4
- package/dist/index.d.ts +3309 -195
- package/dist/index.js +6 -6
- package/dist/initialization/index.d.ts +108 -9
- package/dist/layout/index.d.ts +60 -3
- package/dist/layout/index.js +2 -2
- package/dist/profile/index.d.ts +108 -9
- package/dist/provider/index.d.ts +6 -2
- package/dist/provider/index.js +3 -3
- package/dist/provider/published.d.ts +6 -2
- package/dist/supabase/index.d.ts +210 -18
- package/dist/theme/index.d.ts +6 -2
- package/dist/theme/index.js +3 -3
- package/dist/types/index.d.ts +108 -9
- package/package.json +3 -3
|
@@ -12,7 +12,6 @@ type Database = {
|
|
|
12
12
|
Tables: {
|
|
13
13
|
acq_companies: {
|
|
14
14
|
Row: {
|
|
15
|
-
attio_company_id: string | null;
|
|
16
15
|
batch_id: string | null;
|
|
17
16
|
category: string | null;
|
|
18
17
|
category_pain: string | null;
|
|
@@ -36,7 +35,6 @@ type Database = {
|
|
|
36
35
|
website: string | null;
|
|
37
36
|
};
|
|
38
37
|
Insert: {
|
|
39
|
-
attio_company_id?: string | null;
|
|
40
38
|
batch_id?: string | null;
|
|
41
39
|
category?: string | null;
|
|
42
40
|
category_pain?: string | null;
|
|
@@ -60,7 +58,6 @@ type Database = {
|
|
|
60
58
|
website?: string | null;
|
|
61
59
|
};
|
|
62
60
|
Update: {
|
|
63
|
-
attio_company_id?: string | null;
|
|
64
61
|
batch_id?: string | null;
|
|
65
62
|
category?: string | null;
|
|
66
63
|
category_pain?: string | null;
|
|
@@ -95,7 +92,6 @@ type Database = {
|
|
|
95
92
|
};
|
|
96
93
|
acq_contacts: {
|
|
97
94
|
Row: {
|
|
98
|
-
attio_person_id: string | null;
|
|
99
95
|
batch_id: string | null;
|
|
100
96
|
brochure_first_viewed_at: string | null;
|
|
101
97
|
brochure_view_count: number;
|
|
@@ -121,7 +117,6 @@ type Database = {
|
|
|
121
117
|
updated_at: string;
|
|
122
118
|
};
|
|
123
119
|
Insert: {
|
|
124
|
-
attio_person_id?: string | null;
|
|
125
120
|
batch_id?: string | null;
|
|
126
121
|
brochure_first_viewed_at?: string | null;
|
|
127
122
|
brochure_view_count?: number;
|
|
@@ -147,7 +142,6 @@ type Database = {
|
|
|
147
142
|
updated_at?: string;
|
|
148
143
|
};
|
|
149
144
|
Update: {
|
|
150
|
-
attio_person_id?: string | null;
|
|
151
145
|
batch_id?: string | null;
|
|
152
146
|
brochure_first_viewed_at?: string | null;
|
|
153
147
|
brochure_view_count?: number;
|
|
@@ -305,10 +299,117 @@ type Database = {
|
|
|
305
299
|
}
|
|
306
300
|
];
|
|
307
301
|
};
|
|
302
|
+
acq_deal_notes: {
|
|
303
|
+
Row: {
|
|
304
|
+
author_user_id: string | null;
|
|
305
|
+
body: string;
|
|
306
|
+
created_at: string;
|
|
307
|
+
deal_id: string;
|
|
308
|
+
id: string;
|
|
309
|
+
organization_id: string;
|
|
310
|
+
updated_at: string;
|
|
311
|
+
};
|
|
312
|
+
Insert: {
|
|
313
|
+
author_user_id?: string | null;
|
|
314
|
+
body: string;
|
|
315
|
+
created_at?: string;
|
|
316
|
+
deal_id: string;
|
|
317
|
+
id?: string;
|
|
318
|
+
organization_id: string;
|
|
319
|
+
updated_at?: string;
|
|
320
|
+
};
|
|
321
|
+
Update: {
|
|
322
|
+
author_user_id?: string | null;
|
|
323
|
+
body?: string;
|
|
324
|
+
created_at?: string;
|
|
325
|
+
deal_id?: string;
|
|
326
|
+
id?: string;
|
|
327
|
+
organization_id?: string;
|
|
328
|
+
updated_at?: string;
|
|
329
|
+
};
|
|
330
|
+
Relationships: [
|
|
331
|
+
{
|
|
332
|
+
foreignKeyName: "acq_deal_notes_deal_id_fkey";
|
|
333
|
+
columns: ["deal_id"];
|
|
334
|
+
isOneToOne: false;
|
|
335
|
+
referencedRelation: "acq_deals";
|
|
336
|
+
referencedColumns: ["id"];
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
foreignKeyName: "acq_deal_notes_organization_id_fkey";
|
|
340
|
+
columns: ["organization_id"];
|
|
341
|
+
isOneToOne: false;
|
|
342
|
+
referencedRelation: "organizations";
|
|
343
|
+
referencedColumns: ["id"];
|
|
344
|
+
}
|
|
345
|
+
];
|
|
346
|
+
};
|
|
347
|
+
acq_deal_tasks: {
|
|
348
|
+
Row: {
|
|
349
|
+
assignee_user_id: string | null;
|
|
350
|
+
completed_at: string | null;
|
|
351
|
+
completed_by_user_id: string | null;
|
|
352
|
+
created_at: string;
|
|
353
|
+
created_by_user_id: string | null;
|
|
354
|
+
deal_id: string;
|
|
355
|
+
description: string | null;
|
|
356
|
+
due_at: string | null;
|
|
357
|
+
id: string;
|
|
358
|
+
kind: string;
|
|
359
|
+
organization_id: string;
|
|
360
|
+
title: string;
|
|
361
|
+
updated_at: string;
|
|
362
|
+
};
|
|
363
|
+
Insert: {
|
|
364
|
+
assignee_user_id?: string | null;
|
|
365
|
+
completed_at?: string | null;
|
|
366
|
+
completed_by_user_id?: string | null;
|
|
367
|
+
created_at?: string;
|
|
368
|
+
created_by_user_id?: string | null;
|
|
369
|
+
deal_id: string;
|
|
370
|
+
description?: string | null;
|
|
371
|
+
due_at?: string | null;
|
|
372
|
+
id?: string;
|
|
373
|
+
kind?: string;
|
|
374
|
+
organization_id: string;
|
|
375
|
+
title: string;
|
|
376
|
+
updated_at?: string;
|
|
377
|
+
};
|
|
378
|
+
Update: {
|
|
379
|
+
assignee_user_id?: string | null;
|
|
380
|
+
completed_at?: string | null;
|
|
381
|
+
completed_by_user_id?: string | null;
|
|
382
|
+
created_at?: string;
|
|
383
|
+
created_by_user_id?: string | null;
|
|
384
|
+
deal_id?: string;
|
|
385
|
+
description?: string | null;
|
|
386
|
+
due_at?: string | null;
|
|
387
|
+
id?: string;
|
|
388
|
+
kind?: string;
|
|
389
|
+
organization_id?: string;
|
|
390
|
+
title?: string;
|
|
391
|
+
updated_at?: string;
|
|
392
|
+
};
|
|
393
|
+
Relationships: [
|
|
394
|
+
{
|
|
395
|
+
foreignKeyName: "acq_deal_tasks_deal_id_fkey";
|
|
396
|
+
columns: ["deal_id"];
|
|
397
|
+
isOneToOne: false;
|
|
398
|
+
referencedRelation: "acq_deals";
|
|
399
|
+
referencedColumns: ["id"];
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
foreignKeyName: "acq_deal_tasks_organization_id_fkey";
|
|
403
|
+
columns: ["organization_id"];
|
|
404
|
+
isOneToOne: false;
|
|
405
|
+
referencedRelation: "organizations";
|
|
406
|
+
referencedColumns: ["id"];
|
|
407
|
+
}
|
|
408
|
+
];
|
|
409
|
+
};
|
|
308
410
|
acq_deals: {
|
|
309
411
|
Row: {
|
|
310
412
|
activity_log: Json;
|
|
311
|
-
attio_deal_id: string;
|
|
312
413
|
cached_stage: string | null;
|
|
313
414
|
closed_lost_at: string | null;
|
|
314
415
|
closed_lost_reason: string | null;
|
|
@@ -343,7 +444,6 @@ type Database = {
|
|
|
343
444
|
};
|
|
344
445
|
Insert: {
|
|
345
446
|
activity_log?: Json;
|
|
346
|
-
attio_deal_id: string;
|
|
347
447
|
cached_stage?: string | null;
|
|
348
448
|
closed_lost_at?: string | null;
|
|
349
449
|
closed_lost_reason?: string | null;
|
|
@@ -378,7 +478,6 @@ type Database = {
|
|
|
378
478
|
};
|
|
379
479
|
Update: {
|
|
380
480
|
activity_log?: Json;
|
|
381
|
-
attio_deal_id?: string;
|
|
382
481
|
cached_stage?: string | null;
|
|
383
482
|
closed_lost_at?: string | null;
|
|
384
483
|
closed_lost_reason?: string | null;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { ResourceHealthChart } from '../../chunk-LGKLC5MG.js';
|
|
2
|
-
import { ExecutionStats } from '../../chunk-
|
|
3
|
-
import { HeroStatsRow, useCyberColors } from '../../chunk-
|
|
4
|
-
import { CardHeader, EmptyState, PageTitleCaption, TabCountBadge, GlowDot } from '../../chunk-
|
|
2
|
+
import { ExecutionStats } from '../../chunk-QNABH7YG.js';
|
|
3
|
+
import { HeroStatsRow, useCyberColors } from '../../chunk-US4JUSI3.js';
|
|
4
|
+
import { CardHeader, EmptyState, PageTitleCaption, TabCountBadge, GlowDot } from '../../chunk-G25YWGUL.js';
|
|
5
5
|
import '../../chunk-3KMDHCAR.js';
|
|
6
6
|
import '../../chunk-NNKKBSJN.js';
|
|
7
7
|
import { AppShellCenteredContainer, AppShellLoader } from '../../chunk-WWEMNIHW.js';
|
|
8
8
|
import '../../chunk-QJ2S46NI.js';
|
|
9
|
-
import { useTimeRangeDates } from '../../chunk-
|
|
10
|
-
import { useDashboardMetrics, useResources, useUnresolvedErrors, useRecentExecutionsByResource, useCommandQueue, useScheduledTasks, useResourcesHealth } from '../../chunk-
|
|
9
|
+
import { useTimeRangeDates } from '../../chunk-R565P6XC.js';
|
|
10
|
+
import { useDashboardMetrics, useResources, useUnresolvedErrors, useRecentExecutionsByResource, useCommandQueue, useScheduledTasks, useResourcesHealth } from '../../chunk-QDO6NF2I.js';
|
|
11
11
|
import '../../chunk-NJJ3NQ7B.js';
|
|
12
12
|
import { getTimeRangeDates } from '../../chunk-LXHZYSMQ.js';
|
|
13
13
|
import '../../chunk-MHW43EOH.js';
|
|
@@ -17,10 +17,10 @@ import { ResourceStatusColors } from '../../chunk-ELJIFLCB.js';
|
|
|
17
17
|
import '../../chunk-L4XXM55J.js';
|
|
18
18
|
import '../../chunk-SLVC5OJ2.js';
|
|
19
19
|
import '../../chunk-RNP5R5I3.js';
|
|
20
|
-
import '../../chunk-
|
|
20
|
+
import '../../chunk-RMPXGBNI.js';
|
|
21
21
|
import '../../chunk-SZHARWKU.js';
|
|
22
|
-
import '../../chunk-
|
|
23
|
-
import '../../chunk-
|
|
22
|
+
import '../../chunk-FEZZ3IDU.js';
|
|
23
|
+
import '../../chunk-CYXZHBP4.js';
|
|
24
24
|
import '../../chunk-R7WLWGPO.js';
|
|
25
25
|
import '../../chunk-NVOCKXUQ.js';
|
|
26
26
|
import '../../chunk-V7XHGJQZ.js';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { ExecutionLogsFilters, ExecutionLogsTable, ExecutionHealthCard, ErrorBreakdownTable, ErrorAnalysisCard, CostByModelTable, ActivityFilters, ActivityTable, ActivityCard, NotificationList } from '../../chunk-
|
|
1
|
+
import { ExecutionLogsFilters, ExecutionLogsTable, ExecutionHealthCard, ErrorBreakdownTable, ErrorAnalysisCard, CostBreakdownCard, CostByModelTable, ActivityFilters, ActivityTable, ActivityCard, NotificationList } from '../../chunk-7RS6VTAV.js';
|
|
2
2
|
import '../../chunk-PDHTXPSF.js';
|
|
3
3
|
import '../../chunk-LGKLC5MG.js';
|
|
4
|
-
import '../../chunk-
|
|
4
|
+
import '../../chunk-RIL2CDFE.js';
|
|
5
5
|
import { CustomModal } from '../../chunk-GBMNCNHX.js';
|
|
6
|
-
import { CostTrendChart, ActivityTrendChart } from '../../chunk-
|
|
7
|
-
import { PageTitleCaption, JsonViewer, EmptyState } from '../../chunk-
|
|
6
|
+
import { CostTrendChart, ActivityTrendChart } from '../../chunk-US4JUSI3.js';
|
|
7
|
+
import { PageTitleCaption, JsonViewer, EmptyState } from '../../chunk-G25YWGUL.js';
|
|
8
8
|
import '../../chunk-3KMDHCAR.js';
|
|
9
9
|
import '../../chunk-NNKKBSJN.js';
|
|
10
10
|
import { AppShellLoader } from '../../chunk-WWEMNIHW.js';
|
|
11
11
|
import '../../chunk-QJ2S46NI.js';
|
|
12
|
-
import { useExecutionLogsFilters, useTimeRangeDates, useActivityFilters } from '../../chunk-
|
|
13
|
-
import { usePaginationState, useExecutionLogs, useExecutionHealth, useErrorAnalysis, useErrorDetail, useResolveErrorsByExecution, useResources, useCostTrends, useCostSummary, useCostByModel, useActivityTrend, useActivities, useNotifications, useMarkAllAsRead, useTestNotification } from '../../chunk-
|
|
12
|
+
import { useExecutionLogsFilters, useTimeRangeDates, useActivityFilters } from '../../chunk-R565P6XC.js';
|
|
13
|
+
import { usePaginationState, useExecutionLogs, useExecutionHealth, useErrorAnalysis, useErrorDetail, useResolveErrorsByExecution, useResources, useCostTrends, useCostSummary, useCostByModel, useCostBreakdown, useActivityTrend, useActivities, useNotifications, useMarkAllAsRead, useTestNotification } from '../../chunk-QDO6NF2I.js';
|
|
14
14
|
import '../../chunk-NJJ3NQ7B.js';
|
|
15
15
|
import { getTimeRangeDates } from '../../chunk-LXHZYSMQ.js';
|
|
16
16
|
import '../../chunk-MHW43EOH.js';
|
|
@@ -19,10 +19,10 @@ import '../../chunk-XA34RETF.js';
|
|
|
19
19
|
import '../../chunk-ELJIFLCB.js';
|
|
20
20
|
import '../../chunk-L4XXM55J.js';
|
|
21
21
|
import '../../chunk-RNP5R5I3.js';
|
|
22
|
-
import '../../chunk-
|
|
22
|
+
import '../../chunk-RMPXGBNI.js';
|
|
23
23
|
import '../../chunk-SZHARWKU.js';
|
|
24
|
-
import '../../chunk-
|
|
25
|
-
import '../../chunk-
|
|
24
|
+
import '../../chunk-FEZZ3IDU.js';
|
|
25
|
+
import '../../chunk-CYXZHBP4.js';
|
|
26
26
|
import '../../chunk-R7WLWGPO.js';
|
|
27
27
|
import '../../chunk-NVOCKXUQ.js';
|
|
28
28
|
import '../../chunk-V7XHGJQZ.js';
|
|
@@ -325,6 +325,7 @@ function CostAnalytics({ timeRange }) {
|
|
|
325
325
|
const { data: trendsData, isLoading: trendsLoading, error: trendsError } = useCostTrends(timeRange);
|
|
326
326
|
const { data: summaryData } = useCostSummary(timeRange);
|
|
327
327
|
const { data: modelData, isLoading: modelLoading, error: modelError } = useCostByModel(timeRange);
|
|
328
|
+
const { data: breakdownData, isLoading: breakdownLoading, error: breakdownError } = useCostBreakdown(timeRange);
|
|
328
329
|
if (trendsLoading) return /* @__PURE__ */ jsx(AppShellLoader, {});
|
|
329
330
|
return /* @__PURE__ */ jsxs(Stack, { children: [
|
|
330
331
|
/* @__PURE__ */ jsx(
|
|
@@ -335,6 +336,15 @@ function CostAnalytics({ timeRange }) {
|
|
|
335
336
|
}
|
|
336
337
|
),
|
|
337
338
|
/* @__PURE__ */ jsx(CostTrendChart, { data: trendsData, summaryData, isLoading: trendsLoading, error: trendsError }),
|
|
339
|
+
/* @__PURE__ */ jsx(
|
|
340
|
+
CostBreakdownCard,
|
|
341
|
+
{
|
|
342
|
+
breakdownData,
|
|
343
|
+
summaryData,
|
|
344
|
+
isLoading: breakdownLoading,
|
|
345
|
+
error: breakdownError
|
|
346
|
+
}
|
|
347
|
+
),
|
|
338
348
|
/* @__PURE__ */ jsx(CostByModelTable, { data: modelData, isLoading: modelLoading, error: modelError })
|
|
339
349
|
] });
|
|
340
350
|
}
|
|
@@ -1339,7 +1339,7 @@ type ResourceStatus = 'dev' | 'prod';
|
|
|
1339
1339
|
* All resource types in the platform
|
|
1340
1340
|
* Used as the discriminator field in ResourceDefinition
|
|
1341
1341
|
*/
|
|
1342
|
-
type ResourceType = 'agent' | 'workflow' | 'trigger' | 'integration' | 'external' | 'human';
|
|
1342
|
+
type ResourceType$1 = 'agent' | 'workflow' | 'trigger' | 'integration' | 'external' | 'human';
|
|
1343
1343
|
/**
|
|
1344
1344
|
* Base interface for ALL platform resources
|
|
1345
1345
|
* Shared by both executable (agents, workflows) and non-executable (triggers, integrations, etc.) resources
|
|
@@ -1354,7 +1354,7 @@ interface ResourceDefinition {
|
|
|
1354
1354
|
/** Version for change tracking and evolution */
|
|
1355
1355
|
version: string;
|
|
1356
1356
|
/** Resource type discriminator */
|
|
1357
|
-
type: ResourceType;
|
|
1357
|
+
type: ResourceType$1;
|
|
1358
1358
|
/** Environment/deployment status */
|
|
1359
1359
|
status: ResourceStatus;
|
|
1360
1360
|
/** Domain tags for filtering and organization */
|
|
@@ -1498,9 +1498,9 @@ interface CalibrationRun {
|
|
|
1498
1498
|
|
|
1499
1499
|
interface ResourcesPageProps {
|
|
1500
1500
|
/** Initial filter type from the URL search param (caller-managed) */
|
|
1501
|
-
initialFilter?: ResourceType;
|
|
1501
|
+
initialFilter?: ResourceType$1;
|
|
1502
1502
|
/** Called when the user changes the tab filter — caller should update its URL */
|
|
1503
|
-
onTypeChange: (type: ResourceType | undefined) => void;
|
|
1503
|
+
onTypeChange: (type: ResourceType$1 | undefined) => void;
|
|
1504
1504
|
/** Current time range value — caller passes from its own store */
|
|
1505
1505
|
timeRange: TimeRange;
|
|
1506
1506
|
/** Called when the user clicks a resource row — caller handles navigation */
|
|
@@ -1520,14 +1520,14 @@ declare function ResourcesSidebar({ timeRange }: ResourcesSidebarProps): react_j
|
|
|
1520
1520
|
|
|
1521
1521
|
interface ResourceDetailPageRenderExecutionPanelArgs {
|
|
1522
1522
|
resourceId: string;
|
|
1523
|
-
resourceType: ResourceType;
|
|
1523
|
+
resourceType: ResourceType$1;
|
|
1524
1524
|
resourceName: string;
|
|
1525
1525
|
resourceDefinition: AIResourceDefinition;
|
|
1526
1526
|
onConnectionStatus: (connected: boolean, count: number) => void;
|
|
1527
1527
|
}
|
|
1528
1528
|
interface ResourceDetailPageProps {
|
|
1529
1529
|
/** Resource type (workflow, agent, etc.) */
|
|
1530
|
-
type: ResourceType;
|
|
1530
|
+
type: ResourceType$1;
|
|
1531
1531
|
/** Resource identifier */
|
|
1532
1532
|
resourceId: string;
|
|
1533
1533
|
/** Current time range value — caller passes from its own store */
|
|
@@ -1538,8 +1538,32 @@ interface ResourceDetailPageProps {
|
|
|
1538
1538
|
* `resourceDefinition` is threaded through so the execution panel does not refetch.
|
|
1539
1539
|
*/
|
|
1540
1540
|
renderExecutionPanel: (args: ResourceDetailPageRenderExecutionPanelArgs) => ReactNode;
|
|
1541
|
+
/** Override "Resources" back-link in the header. Defaults to `/operations/resources`. */
|
|
1542
|
+
onNavigateToResources?: () => void;
|
|
1543
|
+
/** Override "Go to Sessions" link in the header. Defaults to `/operations/sessions?agent=<resourceId>`. */
|
|
1544
|
+
onNavigateToSessions?: () => void;
|
|
1545
|
+
/** Override "Back to Operations" in the not-found state. Defaults to `/operations`. */
|
|
1546
|
+
onNavigateBack?: () => void;
|
|
1547
|
+
}
|
|
1548
|
+
declare function ResourceDetailPage({ type, resourceId, timeRange, renderExecutionPanel, onNavigateToResources, onNavigateToSessions, onNavigateBack }: ResourceDetailPageProps): react_jsx_runtime.JSX.Element;
|
|
1549
|
+
|
|
1550
|
+
/**
|
|
1551
|
+
* Resource Registry type definitions
|
|
1552
|
+
*/
|
|
1553
|
+
|
|
1554
|
+
|
|
1555
|
+
|
|
1556
|
+
/**
|
|
1557
|
+
* All resource types in the platform
|
|
1558
|
+
* Used as the discriminator field in ResourceDefinition
|
|
1559
|
+
*/
|
|
1560
|
+
type ResourceType = 'agent' | 'workflow' | 'trigger' | 'integration' | 'external' | 'human'
|
|
1561
|
+
|
|
1562
|
+
interface ExecuteAsyncResult {
|
|
1563
|
+
executionId: string;
|
|
1564
|
+
status: string;
|
|
1565
|
+
resourceId: string;
|
|
1541
1566
|
}
|
|
1542
|
-
declare function ResourceDetailPage({ type, resourceId, timeRange, renderExecutionPanel }: ResourceDetailPageProps): react_jsx_runtime.JSX.Element;
|
|
1543
1567
|
|
|
1544
1568
|
interface EventSourceMessage {
|
|
1545
1569
|
id: string;
|
|
@@ -1775,7 +1799,7 @@ declare function CalibrationSidebar({ currentProjectId, currentRunId, currentPat
|
|
|
1775
1799
|
|
|
1776
1800
|
interface ExecutionPanelProps {
|
|
1777
1801
|
resourceId: string;
|
|
1778
|
-
resourceType: ResourceType;
|
|
1802
|
+
resourceType: ResourceType$1;
|
|
1779
1803
|
resourceName?: string;
|
|
1780
1804
|
resourceDefinition: AIResourceDefinition;
|
|
1781
1805
|
sseManager: SSEConnectionManager;
|
|
@@ -1804,6 +1828,46 @@ interface AgentExecutionPanelProps {
|
|
|
1804
1828
|
}
|
|
1805
1829
|
declare function AgentExecutionPanel({ resourceId, resourceDefinition, sseManager, apiUrl, onConnectionStatus }: AgentExecutionPanelProps): react_jsx_runtime.JSX.Element;
|
|
1806
1830
|
|
|
1831
|
+
interface ExecuteWorkflowModalResource {
|
|
1832
|
+
resourceId: string;
|
|
1833
|
+
resourceType: ResourceType;
|
|
1834
|
+
name?: string;
|
|
1835
|
+
}
|
|
1836
|
+
interface ExecuteWorkflowModalProps {
|
|
1837
|
+
opened: boolean;
|
|
1838
|
+
onClose: () => void;
|
|
1839
|
+
resource: ExecuteWorkflowModalResource;
|
|
1840
|
+
isPending?: boolean;
|
|
1841
|
+
error?: Error | null;
|
|
1842
|
+
result?: ExecuteAsyncResult | null;
|
|
1843
|
+
onViewExecution?: (executionId: string) => void;
|
|
1844
|
+
onReset?: () => void;
|
|
1845
|
+
children?: ReactNode;
|
|
1846
|
+
}
|
|
1847
|
+
declare function ExecuteWorkflowModal({ opened, onClose, resource, isPending, error, result, onViewExecution, onReset, children }: ExecuteWorkflowModalProps): react_jsx_runtime.JSX.Element;
|
|
1848
|
+
|
|
1849
|
+
interface ResourceExecuteFormProps {
|
|
1850
|
+
formSchema: SerializedExecutionFormSchema;
|
|
1851
|
+
onSubmit: (input: Record<string, unknown>) => void | Promise<void>;
|
|
1852
|
+
isPending?: boolean;
|
|
1853
|
+
disabled?: boolean;
|
|
1854
|
+
submitLabel?: string;
|
|
1855
|
+
}
|
|
1856
|
+
declare function ResourceExecuteForm({ formSchema, onSubmit, isPending, disabled, submitLabel }: ResourceExecuteFormProps): react_jsx_runtime.JSX.Element;
|
|
1857
|
+
|
|
1858
|
+
interface ResourceExecuteDialogProps {
|
|
1859
|
+
opened: boolean;
|
|
1860
|
+
onClose: () => void;
|
|
1861
|
+
resource: {
|
|
1862
|
+
resourceId: string;
|
|
1863
|
+
resourceType: ResourceType;
|
|
1864
|
+
name?: string;
|
|
1865
|
+
formSchema?: SerializedExecutionFormSchema;
|
|
1866
|
+
};
|
|
1867
|
+
onViewExecution?: (executionId: string) => void;
|
|
1868
|
+
}
|
|
1869
|
+
declare function ResourceExecuteDialog({ opened, onClose, resource, onViewExecution }: ResourceExecuteDialogProps): react_jsx_runtime.JSX.Element;
|
|
1870
|
+
|
|
1807
1871
|
interface SessionsPageProps {
|
|
1808
1872
|
/** Whether the organization context is ready; blocks render until true */
|
|
1809
1873
|
isReady: boolean;
|
|
@@ -2002,5 +2066,5 @@ interface SessionsSidebarProps {
|
|
|
2002
2066
|
*/
|
|
2003
2067
|
declare function SessionsSidebar({ isReady, onAgentClick, buildSessionDetailUrl, sessionId, agentParam }: SessionsSidebarProps): react_jsx_runtime.JSX.Element;
|
|
2004
2068
|
|
|
2005
|
-
export { AgentExecutionPanel, AgentSessionGroup, CalibrationPage, CalibrationProgress, CalibrationProjectDetailPage, CalibrationProjectsPage, CalibrationRunDetailPage, CalibrationSidebar, CommandQueueDetailPage, CommandQueuePage, CommandViewPage, CommandViewSidebarContent, ExecutionPanel, ResourceDetailPage, ResourcesPage, ResourcesSidebar, SessionChatArea, SessionChatInterface, SessionChatPage, SessionDetailsSidebar, SessionExecutionLogs, SessionHeader, SessionListItem, SessionsPage, SessionsSidebar, WorkflowExecutionPanel };
|
|
2006
|
-
export type { AgentExecutionPanelProps, AgentSessionGroupProps, CalibrationPageProps, CalibrationProgressProps, CalibrationProjectDetailPageProps, CalibrationProjectDetailPageRenderCreateModalArgs, CalibrationProjectDetailPageRenderRunCardArgs, CalibrationProjectsPageProps, CalibrationRunDetailPageProps, CalibrationSidebarProps, CommandQueueDetailPageProps, CommandQueueDetailPageRichTextArgs, CommandQueuePageProps, CommandViewPageProps, CommandViewSidebarContentProps, ConversationViewSlotArgs, ExecutionPanelProps, ResourceDetailPageProps, ResourceDetailPageRenderExecutionPanelArgs, ResourcesPageProps, ResourcesSidebarProps, SessionChatAreaProps, SessionChatInterfaceProps, SessionChatPageProps, SessionDetailsSidebarProps, SessionExecutionLogsProps, SessionHeaderProps, SessionListItemProps, SessionsPageProps, SessionsSidebarProps, WorkflowExecutionPanelProps };
|
|
2069
|
+
export { AgentExecutionPanel, AgentSessionGroup, CalibrationPage, CalibrationProgress, CalibrationProjectDetailPage, CalibrationProjectsPage, CalibrationRunDetailPage, CalibrationSidebar, CommandQueueDetailPage, CommandQueuePage, CommandViewPage, CommandViewSidebarContent, ExecuteWorkflowModal, ExecutionPanel, ResourceDetailPage, ResourceExecuteDialog, ResourceExecuteForm, ResourcesPage, ResourcesSidebar, SessionChatArea, SessionChatInterface, SessionChatPage, SessionDetailsSidebar, SessionExecutionLogs, SessionHeader, SessionListItem, SessionsPage, SessionsSidebar, WorkflowExecutionPanel };
|
|
2070
|
+
export type { AgentExecutionPanelProps, AgentSessionGroupProps, CalibrationPageProps, CalibrationProgressProps, CalibrationProjectDetailPageProps, CalibrationProjectDetailPageRenderCreateModalArgs, CalibrationProjectDetailPageRenderRunCardArgs, CalibrationProjectsPageProps, CalibrationRunDetailPageProps, CalibrationSidebarProps, CommandQueueDetailPageProps, CommandQueueDetailPageRichTextArgs, CommandQueuePageProps, CommandViewPageProps, CommandViewSidebarContentProps, ConversationViewSlotArgs, ExecuteWorkflowModalProps, ExecuteWorkflowModalResource, ExecutionPanelProps, ResourceDetailPageProps, ResourceDetailPageRenderExecutionPanelArgs, ResourceExecuteDialogProps, ResourceExecuteFormProps, ResourcesPageProps, ResourcesSidebarProps, SessionChatAreaProps, SessionChatInterfaceProps, SessionChatPageProps, SessionDetailsSidebarProps, SessionExecutionLogsProps, SessionHeaderProps, SessionListItemProps, SessionsPageProps, SessionsSidebarProps, WorkflowExecutionPanelProps };
|