@datatechsolutions/ui 2.11.90 → 2.11.91
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/astrlabe/index.js +108 -106
- package/dist/astrlabe/index.mjs +5 -3
- package/dist/astrlabe/workflow-canvas.js +5 -3
- package/dist/astrlabe/workflow-canvas.mjs +4 -2
- package/dist/{chunk-CM5C4M4F.mjs → chunk-256TJHVO.mjs} +3 -3
- package/dist/{chunk-CM5C4M4F.mjs.map → chunk-256TJHVO.mjs.map} +1 -1
- package/dist/{chunk-T3S6KZN3.mjs → chunk-36G7GAPU.mjs} +3 -3
- package/dist/{chunk-T3S6KZN3.mjs.map → chunk-36G7GAPU.mjs.map} +1 -1
- package/dist/{chunk-TLTYLDX4.mjs → chunk-6OWD54HK.mjs} +3 -3
- package/dist/{chunk-TLTYLDX4.mjs.map → chunk-6OWD54HK.mjs.map} +1 -1
- package/dist/{chunk-RTQOGG4T.mjs → chunk-7JFAOHZ3.mjs} +4 -4
- package/dist/{chunk-RTQOGG4T.mjs.map → chunk-7JFAOHZ3.mjs.map} +1 -1
- package/dist/{chunk-MWZQF2D5.js → chunk-AP7OWR6S.js} +4 -4
- package/dist/{chunk-MWZQF2D5.js.map → chunk-AP7OWR6S.js.map} +1 -1
- package/dist/{chunk-7GDDBF6E.js → chunk-B5NZVS4A.js} +67 -67
- package/dist/{chunk-7GDDBF6E.js.map → chunk-B5NZVS4A.js.map} +1 -1
- package/dist/{chunk-FXLGNKP4.js → chunk-BVCS7RBR.js} +33 -33
- package/dist/{chunk-FXLGNKP4.js.map → chunk-BVCS7RBR.js.map} +1 -1
- package/dist/{chunk-64DLD6FB.js → chunk-C7KAF363.js} +55 -55
- package/dist/{chunk-64DLD6FB.js.map → chunk-C7KAF363.js.map} +1 -1
- package/dist/{chunk-MR3BLQAU.mjs → chunk-CBVRUJ7N.mjs} +4 -4
- package/dist/{chunk-MR3BLQAU.mjs.map → chunk-CBVRUJ7N.mjs.map} +1 -1
- package/dist/{chunk-ZV5ZRT6E.mjs → chunk-CG3P5Z5U.mjs} +3 -3
- package/dist/{chunk-ZV5ZRT6E.mjs.map → chunk-CG3P5Z5U.mjs.map} +1 -1
- package/dist/{chunk-ODEUUB2T.mjs → chunk-E2ZGFN2H.mjs} +4 -4
- package/dist/{chunk-ODEUUB2T.mjs.map → chunk-E2ZGFN2H.mjs.map} +1 -1
- package/dist/{chunk-ULWVYDDG.js → chunk-E32B2MVK.js} +15 -15
- package/dist/{chunk-ULWVYDDG.js.map → chunk-E32B2MVK.js.map} +1 -1
- package/dist/{chunk-K6FX26BG.mjs → chunk-FDSU7GPS.mjs} +3 -3
- package/dist/{chunk-K6FX26BG.mjs.map → chunk-FDSU7GPS.mjs.map} +1 -1
- package/dist/{chunk-QHTA2ISY.js → chunk-GWRJ5L36.js} +12 -12
- package/dist/{chunk-QHTA2ISY.js.map → chunk-GWRJ5L36.js.map} +1 -1
- package/dist/{chunk-FS6SU7RE.mjs → chunk-HPIKJS5B.mjs} +3 -3
- package/dist/{chunk-FS6SU7RE.mjs.map → chunk-HPIKJS5B.mjs.map} +1 -1
- package/dist/{chunk-IL5RSF2U.mjs → chunk-IEWFVP42.mjs} +6 -6
- package/dist/{chunk-IL5RSF2U.mjs.map → chunk-IEWFVP42.mjs.map} +1 -1
- package/dist/{chunk-S3JHPXOX.mjs → chunk-J4QUCX27.mjs} +561 -6
- package/dist/chunk-J4QUCX27.mjs.map +1 -0
- package/dist/{chunk-5NOWS6T3.mjs → chunk-KHAMY7MA.mjs} +3 -3
- package/dist/{chunk-5NOWS6T3.mjs.map → chunk-KHAMY7MA.mjs.map} +1 -1
- package/dist/{chunk-YXPHJ2BQ.js → chunk-L5VEY7G4.js} +13 -2
- package/dist/chunk-L5VEY7G4.js.map +1 -0
- package/dist/{chunk-M7PKDVKA.js → chunk-MLAIUJYC.js} +6 -6
- package/dist/{chunk-M7PKDVKA.js.map → chunk-MLAIUJYC.js.map} +1 -1
- package/dist/{chunk-64G2HBRQ.mjs → chunk-OE4Z4FKM.mjs} +13 -3
- package/dist/chunk-OE4Z4FKM.mjs.map +1 -0
- package/dist/{chunk-R5D6LLDF.js → chunk-OQDWU6AE.js} +67 -67
- package/dist/{chunk-R5D6LLDF.js.map → chunk-OQDWU6AE.js.map} +1 -1
- package/dist/{chunk-QYH6WLKE.mjs → chunk-Q7WGFPGK.mjs} +4 -4
- package/dist/{chunk-QYH6WLKE.mjs.map → chunk-Q7WGFPGK.mjs.map} +1 -1
- package/dist/{chunk-B3DI2QUM.js → chunk-R5KUEOPU.js} +64 -64
- package/dist/{chunk-B3DI2QUM.js.map → chunk-R5KUEOPU.js.map} +1 -1
- package/dist/{chunk-APXM5GFL.js → chunk-SIBJRWUB.js} +4 -4
- package/dist/{chunk-APXM5GFL.js.map → chunk-SIBJRWUB.js.map} +1 -1
- package/dist/{chunk-WETG7OO3.js → chunk-SOYGVHPZ.js} +53 -53
- package/dist/{chunk-WETG7OO3.js.map → chunk-SOYGVHPZ.js.map} +1 -1
- package/dist/{chunk-UZ3FGGUP.mjs → chunk-U4BTEKZT.mjs} +3 -3
- package/dist/{chunk-UZ3FGGUP.mjs.map → chunk-U4BTEKZT.mjs.map} +1 -1
- package/dist/{chunk-76XIV6VV.mjs → chunk-URMZJ3WF.mjs} +7 -7
- package/dist/{chunk-76XIV6VV.mjs.map → chunk-URMZJ3WF.mjs.map} +1 -1
- package/dist/{chunk-MJOYUX2C.mjs → chunk-VPNZDLR6.mjs} +4 -4
- package/dist/{chunk-MJOYUX2C.mjs.map → chunk-VPNZDLR6.mjs.map} +1 -1
- package/dist/{chunk-WAOCUWO3.js → chunk-WIKMIULO.js} +36 -36
- package/dist/{chunk-WAOCUWO3.js.map → chunk-WIKMIULO.js.map} +1 -1
- package/dist/{chunk-5EBDOY4M.js → chunk-WY3YDQXK.js} +26 -26
- package/dist/{chunk-5EBDOY4M.js.map → chunk-WY3YDQXK.js.map} +1 -1
- package/dist/{chunk-FDK3PUTV.js → chunk-Y4DNREFH.js} +129 -129
- package/dist/{chunk-FDK3PUTV.js.map → chunk-Y4DNREFH.js.map} +1 -1
- package/dist/{chunk-DIKLHCEM.js → chunk-YMGJ4FZZ.js} +4 -4
- package/dist/{chunk-DIKLHCEM.js.map → chunk-YMGJ4FZZ.js.map} +1 -1
- package/dist/{chunk-ZBX2QSNH.js → chunk-YN4IEDE4.js} +562 -5
- package/dist/{chunk-ZBX2QSNH.js.map → chunk-YN4IEDE4.js.map} +1 -1
- package/dist/index.d.mts +152 -2
- package/dist/index.d.ts +152 -2
- package/dist/index.js +754 -744
- package/dist/index.mjs +3 -1
- package/dist/platform/admin/index.js +12 -10
- package/dist/platform/admin/index.mjs +6 -4
- package/dist/platform/agents-workspace.js +8 -8
- package/dist/platform/agents-workspace.mjs +7 -7
- package/dist/platform/app-shell.js +5 -3
- package/dist/platform/app-shell.mjs +4 -2
- package/dist/platform/auth/index.js +29 -27
- package/dist/platform/auth/index.mjs +6 -4
- package/dist/platform/billing/index.js +5 -3
- package/dist/platform/billing/index.mjs +4 -2
- package/dist/platform/impersonation/index.js +5 -3
- package/dist/platform/impersonation/index.mjs +4 -2
- package/dist/platform/index.d.mts +1 -1
- package/dist/platform/index.d.ts +1 -1
- package/dist/platform/index.js +100 -100
- package/dist/platform/index.mjs +20 -20
- package/dist/platform/pages/index.d.mts +2 -2
- package/dist/platform/pages/index.d.ts +2 -2
- package/dist/platform/pages/index.js +197 -195
- package/dist/platform/pages/index.js.map +1 -1
- package/dist/platform/pages/index.mjs +9 -7
- package/dist/platform/pages/index.mjs.map +1 -1
- package/dist/platform/settings/index.js +9 -7
- package/dist/platform/settings/index.mjs +8 -6
- package/dist/platform/workflow-api-client.d.mts +1 -1
- package/dist/platform/workflow-api-client.d.ts +1 -1
- package/dist/platform/workflow-api-client.js +64 -60
- package/dist/platform/workflow-api-client.mjs +1 -1
- package/dist/platform/workflow-canvas-shell.js +6 -4
- package/dist/platform/workflow-canvas-shell.mjs +5 -3
- package/dist/{workflow-api-client-Dy1Ph8W-.d.ts → workflow-api-client-CXN5iaih.d.ts} +34 -2
- package/dist/{workflow-api-client-C8gPn_D1.d.mts → workflow-api-client-XU83zq0k.d.mts} +34 -2
- package/package.json +1 -1
- package/dist/chunk-64G2HBRQ.mjs.map +0 -1
- package/dist/chunk-S3JHPXOX.mjs.map +0 -1
- package/dist/chunk-YXPHJ2BQ.js.map +0 -1
|
@@ -1,21 +1,23 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../../chunk-
|
|
6
|
-
require('../../chunk-
|
|
7
|
-
require('../../chunk-
|
|
8
|
-
require('../../chunk-
|
|
9
|
-
require('../../chunk-
|
|
4
|
+
var chunkGWRJ5L36_js = require('../../chunk-GWRJ5L36.js');
|
|
5
|
+
require('../../chunk-BVCS7RBR.js');
|
|
6
|
+
require('../../chunk-C7KAF363.js');
|
|
7
|
+
require('../../chunk-YMGJ4FZZ.js');
|
|
8
|
+
require('../../chunk-E32B2MVK.js');
|
|
9
|
+
require('../../chunk-YN4IEDE4.js');
|
|
10
10
|
require('../../chunk-UZ3CMNUJ.js');
|
|
11
11
|
require('../../chunk-YXN2K77G.js');
|
|
12
12
|
require('../../chunk-S7KHTUHA.js');
|
|
13
|
+
require('../../chunk-L5VEY7G4.js');
|
|
14
|
+
require('../../chunk-FAGDZEKM.js');
|
|
13
15
|
|
|
14
16
|
|
|
15
17
|
|
|
16
18
|
Object.defineProperty(exports, "PlatformSettings", {
|
|
17
19
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkGWRJ5L36_js.PlatformSettings; }
|
|
19
21
|
});
|
|
20
22
|
//# sourceMappingURL=index.js.map
|
|
21
23
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { PlatformSettings } from '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
6
|
-
import '../../chunk-
|
|
7
|
-
import '../../chunk-
|
|
2
|
+
export { PlatformSettings } from '../../chunk-IEWFVP42.mjs';
|
|
3
|
+
import '../../chunk-CG3P5Z5U.mjs';
|
|
4
|
+
import '../../chunk-VPNZDLR6.mjs';
|
|
5
|
+
import '../../chunk-6OWD54HK.mjs';
|
|
6
|
+
import '../../chunk-FDSU7GPS.mjs';
|
|
7
|
+
import '../../chunk-J4QUCX27.mjs';
|
|
8
8
|
import '../../chunk-D2JF6C3E.mjs';
|
|
9
9
|
import '../../chunk-7VJ7CMMT.mjs';
|
|
10
10
|
import '../../chunk-QWG2FMUN.mjs';
|
|
11
|
+
import '../../chunk-OE4Z4FKM.mjs';
|
|
12
|
+
import '../../chunk-SYNVNTLJ.mjs';
|
|
11
13
|
//# sourceMappingURL=index.mjs.map
|
|
12
14
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -2,5 +2,5 @@ import '../astrlabe/contracts.mjs';
|
|
|
2
2
|
import '../index-AioB90qq.mjs';
|
|
3
3
|
import '@datatechsolutions/shared-domain/ports/workflow';
|
|
4
4
|
import '@datatechsolutions/shared-domain/common';
|
|
5
|
-
export { h as AiGenerateResponse, i as AiValidateResponse, A as AnalyticsSummary, j as ModelProviderCatalogEntry, M as ModelProviderConnection, N as NodeMetrics,
|
|
5
|
+
export { h as AiGenerateResponse, i as AiValidateResponse, A as AnalyticsSummary, j as ApprovalDecision, k as ApprovalResponse, l as ModelProviderCatalogEntry, M as ModelProviderConnection, N as NodeMetrics, m as NodeValidationIssue, P as PresignUploadInput, n as PresignedUpload, o as PublicSampleWorkflow, p as RunEvent, R as RunTimelineEntry, W as WorkflowRunListParams, q as WorkflowTemplateSummary, r as aiGenerateWorkflow, s as aiValidateWorkflow, t as buildAuthenticatedApiUrl, u as cancelWorkflowRun, v as createAgentConfig, w as createAgentPrompt, x as createAgentRule, y as createAgentTool, z as createAgentToolDefinition, B as createDatasource, C as createModelProviderConnection, E as createWorkflow, F as createWorkflowFromTemplate, G as deleteAgentConfig, H as deleteAgentPrompt, I as deleteAgentRule, J as deleteAgentTool, K as deleteAgentToolDefinition, L as deleteModelProviderConnection, O as deleteUpload, Q as deleteWorkflow, S as executeAgentRule, T as executeWorkflow, U as getAgentConfigsWithPrompts, V as getAgentModels, X as getAgentPrompts, Y as getAgentRules, Z as getAgentToolDefinitions, _ as getAgentTools, $ as getAnalyticsSummary, a0 as getCurrentAccessToken, a1 as getDatasourceSchema, a2 as getDatasourceTables, a3 as getDatasources, a4 as getPublicSampleWorkflow, a5 as getRunTimeline, a6 as getUploadDownloadUrl, a7 as getWorkflowById, a8 as getWorkflowRunById, a9 as getWorkflowRuns, aa as getWorkflows, ab as listModelProviderCatalog, ac as listModelProviderConnections, ad as listWorkflowRuns, ae as listWorkflowTemplates, af as presignUpload, ag as publishWorkflow, ah as replayWorkflowRun, ai as saveWorkflowDraft, aj as setAccessTokenProvider, ak as setAuthenticatedFetch, al as submitApproval, am as subscribeToRunEvents, an as updateAgentConfig, ao as updateAgentPrompt, ap as updateAgentRule, aq as updateAgentTool, ar as updateAgentToolDefinition, as as updateModelProviderConnection, at as updateWorkflowSettings } from '../workflow-api-client-XU83zq0k.mjs';
|
|
6
6
|
import 'react/jsx-runtime';
|
|
@@ -2,5 +2,5 @@ import '../astrlabe/contracts.js';
|
|
|
2
2
|
import '../index-D5ai0cGZ.js';
|
|
3
3
|
import '@datatechsolutions/shared-domain/ports/workflow';
|
|
4
4
|
import '@datatechsolutions/shared-domain/common';
|
|
5
|
-
export { h as AiGenerateResponse, i as AiValidateResponse, A as AnalyticsSummary, j as ModelProviderCatalogEntry, M as ModelProviderConnection, N as NodeMetrics,
|
|
5
|
+
export { h as AiGenerateResponse, i as AiValidateResponse, A as AnalyticsSummary, j as ApprovalDecision, k as ApprovalResponse, l as ModelProviderCatalogEntry, M as ModelProviderConnection, N as NodeMetrics, m as NodeValidationIssue, P as PresignUploadInput, n as PresignedUpload, o as PublicSampleWorkflow, p as RunEvent, R as RunTimelineEntry, W as WorkflowRunListParams, q as WorkflowTemplateSummary, r as aiGenerateWorkflow, s as aiValidateWorkflow, t as buildAuthenticatedApiUrl, u as cancelWorkflowRun, v as createAgentConfig, w as createAgentPrompt, x as createAgentRule, y as createAgentTool, z as createAgentToolDefinition, B as createDatasource, C as createModelProviderConnection, E as createWorkflow, F as createWorkflowFromTemplate, G as deleteAgentConfig, H as deleteAgentPrompt, I as deleteAgentRule, J as deleteAgentTool, K as deleteAgentToolDefinition, L as deleteModelProviderConnection, O as deleteUpload, Q as deleteWorkflow, S as executeAgentRule, T as executeWorkflow, U as getAgentConfigsWithPrompts, V as getAgentModels, X as getAgentPrompts, Y as getAgentRules, Z as getAgentToolDefinitions, _ as getAgentTools, $ as getAnalyticsSummary, a0 as getCurrentAccessToken, a1 as getDatasourceSchema, a2 as getDatasourceTables, a3 as getDatasources, a4 as getPublicSampleWorkflow, a5 as getRunTimeline, a6 as getUploadDownloadUrl, a7 as getWorkflowById, a8 as getWorkflowRunById, a9 as getWorkflowRuns, aa as getWorkflows, ab as listModelProviderCatalog, ac as listModelProviderConnections, ad as listWorkflowRuns, ae as listWorkflowTemplates, af as presignUpload, ag as publishWorkflow, ah as replayWorkflowRun, ai as saveWorkflowDraft, aj as setAccessTokenProvider, ak as setAuthenticatedFetch, al as submitApproval, am as subscribeToRunEvents, an as updateAgentConfig, ao as updateAgentPrompt, ap as updateAgentRule, aq as updateAgentTool, ar as updateAgentToolDefinition, as as updateModelProviderConnection, at as updateWorkflowSettings } from '../workflow-api-client-CXN5iaih.js';
|
|
6
6
|
import 'react/jsx-runtime';
|
|
@@ -1,246 +1,250 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkL5VEY7G4_js = require('../chunk-L5VEY7G4.js');
|
|
5
5
|
require('../chunk-FAGDZEKM.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "aiGenerateWorkflow", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkL5VEY7G4_js.aiGenerateWorkflow; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "aiValidateWorkflow", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkL5VEY7G4_js.aiValidateWorkflow; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "buildAuthenticatedApiUrl", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkL5VEY7G4_js.buildAuthenticatedApiUrl; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "cancelWorkflowRun", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkL5VEY7G4_js.cancelWorkflowRun; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "createAgentConfig", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkL5VEY7G4_js.createAgentConfig; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "createAgentPrompt", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkL5VEY7G4_js.createAgentPrompt; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "createAgentRule", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkL5VEY7G4_js.createAgentRule; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "createAgentTool", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkL5VEY7G4_js.createAgentTool; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "createAgentToolDefinition", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkL5VEY7G4_js.createAgentToolDefinition; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "createDatasource", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkL5VEY7G4_js.createDatasource; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "createModelProviderConnection", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkL5VEY7G4_js.createModelProviderConnection; }
|
|
52
52
|
});
|
|
53
53
|
Object.defineProperty(exports, "createWorkflow", {
|
|
54
54
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunkL5VEY7G4_js.createWorkflow; }
|
|
56
56
|
});
|
|
57
57
|
Object.defineProperty(exports, "createWorkflowFromTemplate", {
|
|
58
58
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunkL5VEY7G4_js.createWorkflowFromTemplate; }
|
|
60
60
|
});
|
|
61
61
|
Object.defineProperty(exports, "deleteAgentConfig", {
|
|
62
62
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunkL5VEY7G4_js.deleteAgentConfig; }
|
|
64
64
|
});
|
|
65
65
|
Object.defineProperty(exports, "deleteAgentPrompt", {
|
|
66
66
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunkL5VEY7G4_js.deleteAgentPrompt; }
|
|
68
68
|
});
|
|
69
69
|
Object.defineProperty(exports, "deleteAgentRule", {
|
|
70
70
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunkL5VEY7G4_js.deleteAgentRule; }
|
|
72
72
|
});
|
|
73
73
|
Object.defineProperty(exports, "deleteAgentTool", {
|
|
74
74
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunkL5VEY7G4_js.deleteAgentTool; }
|
|
76
76
|
});
|
|
77
77
|
Object.defineProperty(exports, "deleteAgentToolDefinition", {
|
|
78
78
|
enumerable: true,
|
|
79
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunkL5VEY7G4_js.deleteAgentToolDefinition; }
|
|
80
80
|
});
|
|
81
81
|
Object.defineProperty(exports, "deleteModelProviderConnection", {
|
|
82
82
|
enumerable: true,
|
|
83
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunkL5VEY7G4_js.deleteModelProviderConnection; }
|
|
84
84
|
});
|
|
85
85
|
Object.defineProperty(exports, "deleteUpload", {
|
|
86
86
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunkL5VEY7G4_js.deleteUpload; }
|
|
88
88
|
});
|
|
89
89
|
Object.defineProperty(exports, "deleteWorkflow", {
|
|
90
90
|
enumerable: true,
|
|
91
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunkL5VEY7G4_js.deleteWorkflow; }
|
|
92
92
|
});
|
|
93
93
|
Object.defineProperty(exports, "executeAgentRule", {
|
|
94
94
|
enumerable: true,
|
|
95
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunkL5VEY7G4_js.executeAgentRule; }
|
|
96
96
|
});
|
|
97
97
|
Object.defineProperty(exports, "executeWorkflow", {
|
|
98
98
|
enumerable: true,
|
|
99
|
-
get: function () { return
|
|
99
|
+
get: function () { return chunkL5VEY7G4_js.executeWorkflow; }
|
|
100
100
|
});
|
|
101
101
|
Object.defineProperty(exports, "getAgentConfigsWithPrompts", {
|
|
102
102
|
enumerable: true,
|
|
103
|
-
get: function () { return
|
|
103
|
+
get: function () { return chunkL5VEY7G4_js.getAgentConfigsWithPrompts; }
|
|
104
104
|
});
|
|
105
105
|
Object.defineProperty(exports, "getAgentModels", {
|
|
106
106
|
enumerable: true,
|
|
107
|
-
get: function () { return
|
|
107
|
+
get: function () { return chunkL5VEY7G4_js.getAgentModels; }
|
|
108
108
|
});
|
|
109
109
|
Object.defineProperty(exports, "getAgentPrompts", {
|
|
110
110
|
enumerable: true,
|
|
111
|
-
get: function () { return
|
|
111
|
+
get: function () { return chunkL5VEY7G4_js.getAgentPrompts; }
|
|
112
112
|
});
|
|
113
113
|
Object.defineProperty(exports, "getAgentRules", {
|
|
114
114
|
enumerable: true,
|
|
115
|
-
get: function () { return
|
|
115
|
+
get: function () { return chunkL5VEY7G4_js.getAgentRules; }
|
|
116
116
|
});
|
|
117
117
|
Object.defineProperty(exports, "getAgentToolDefinitions", {
|
|
118
118
|
enumerable: true,
|
|
119
|
-
get: function () { return
|
|
119
|
+
get: function () { return chunkL5VEY7G4_js.getAgentToolDefinitions; }
|
|
120
120
|
});
|
|
121
121
|
Object.defineProperty(exports, "getAgentTools", {
|
|
122
122
|
enumerable: true,
|
|
123
|
-
get: function () { return
|
|
123
|
+
get: function () { return chunkL5VEY7G4_js.getAgentTools; }
|
|
124
124
|
});
|
|
125
125
|
Object.defineProperty(exports, "getAnalyticsSummary", {
|
|
126
126
|
enumerable: true,
|
|
127
|
-
get: function () { return
|
|
127
|
+
get: function () { return chunkL5VEY7G4_js.getAnalyticsSummary; }
|
|
128
128
|
});
|
|
129
129
|
Object.defineProperty(exports, "getCurrentAccessToken", {
|
|
130
130
|
enumerable: true,
|
|
131
|
-
get: function () { return
|
|
131
|
+
get: function () { return chunkL5VEY7G4_js.getCurrentAccessToken; }
|
|
132
132
|
});
|
|
133
133
|
Object.defineProperty(exports, "getDatasourceSchema", {
|
|
134
134
|
enumerable: true,
|
|
135
|
-
get: function () { return
|
|
135
|
+
get: function () { return chunkL5VEY7G4_js.getDatasourceSchema; }
|
|
136
136
|
});
|
|
137
137
|
Object.defineProperty(exports, "getDatasourceTables", {
|
|
138
138
|
enumerable: true,
|
|
139
|
-
get: function () { return
|
|
139
|
+
get: function () { return chunkL5VEY7G4_js.getDatasourceTables; }
|
|
140
140
|
});
|
|
141
141
|
Object.defineProperty(exports, "getDatasources", {
|
|
142
142
|
enumerable: true,
|
|
143
|
-
get: function () { return
|
|
143
|
+
get: function () { return chunkL5VEY7G4_js.getDatasources; }
|
|
144
144
|
});
|
|
145
145
|
Object.defineProperty(exports, "getPublicSampleWorkflow", {
|
|
146
146
|
enumerable: true,
|
|
147
|
-
get: function () { return
|
|
147
|
+
get: function () { return chunkL5VEY7G4_js.getPublicSampleWorkflow; }
|
|
148
148
|
});
|
|
149
149
|
Object.defineProperty(exports, "getRunTimeline", {
|
|
150
150
|
enumerable: true,
|
|
151
|
-
get: function () { return
|
|
151
|
+
get: function () { return chunkL5VEY7G4_js.getRunTimeline; }
|
|
152
152
|
});
|
|
153
153
|
Object.defineProperty(exports, "getUploadDownloadUrl", {
|
|
154
154
|
enumerable: true,
|
|
155
|
-
get: function () { return
|
|
155
|
+
get: function () { return chunkL5VEY7G4_js.getUploadDownloadUrl; }
|
|
156
156
|
});
|
|
157
157
|
Object.defineProperty(exports, "getWorkflowById", {
|
|
158
158
|
enumerable: true,
|
|
159
|
-
get: function () { return
|
|
159
|
+
get: function () { return chunkL5VEY7G4_js.getWorkflowById; }
|
|
160
160
|
});
|
|
161
161
|
Object.defineProperty(exports, "getWorkflowRunById", {
|
|
162
162
|
enumerable: true,
|
|
163
|
-
get: function () { return
|
|
163
|
+
get: function () { return chunkL5VEY7G4_js.getWorkflowRunById; }
|
|
164
164
|
});
|
|
165
165
|
Object.defineProperty(exports, "getWorkflowRuns", {
|
|
166
166
|
enumerable: true,
|
|
167
|
-
get: function () { return
|
|
167
|
+
get: function () { return chunkL5VEY7G4_js.getWorkflowRuns; }
|
|
168
168
|
});
|
|
169
169
|
Object.defineProperty(exports, "getWorkflows", {
|
|
170
170
|
enumerable: true,
|
|
171
|
-
get: function () { return
|
|
171
|
+
get: function () { return chunkL5VEY7G4_js.getWorkflows; }
|
|
172
172
|
});
|
|
173
173
|
Object.defineProperty(exports, "listModelProviderCatalog", {
|
|
174
174
|
enumerable: true,
|
|
175
|
-
get: function () { return
|
|
175
|
+
get: function () { return chunkL5VEY7G4_js.listModelProviderCatalog; }
|
|
176
176
|
});
|
|
177
177
|
Object.defineProperty(exports, "listModelProviderConnections", {
|
|
178
178
|
enumerable: true,
|
|
179
|
-
get: function () { return
|
|
179
|
+
get: function () { return chunkL5VEY7G4_js.listModelProviderConnections; }
|
|
180
180
|
});
|
|
181
181
|
Object.defineProperty(exports, "listWorkflowRuns", {
|
|
182
182
|
enumerable: true,
|
|
183
|
-
get: function () { return
|
|
183
|
+
get: function () { return chunkL5VEY7G4_js.listWorkflowRuns; }
|
|
184
184
|
});
|
|
185
185
|
Object.defineProperty(exports, "listWorkflowTemplates", {
|
|
186
186
|
enumerable: true,
|
|
187
|
-
get: function () { return
|
|
187
|
+
get: function () { return chunkL5VEY7G4_js.listWorkflowTemplates; }
|
|
188
188
|
});
|
|
189
189
|
Object.defineProperty(exports, "presignUpload", {
|
|
190
190
|
enumerable: true,
|
|
191
|
-
get: function () { return
|
|
191
|
+
get: function () { return chunkL5VEY7G4_js.presignUpload; }
|
|
192
192
|
});
|
|
193
193
|
Object.defineProperty(exports, "publishWorkflow", {
|
|
194
194
|
enumerable: true,
|
|
195
|
-
get: function () { return
|
|
195
|
+
get: function () { return chunkL5VEY7G4_js.publishWorkflow; }
|
|
196
196
|
});
|
|
197
197
|
Object.defineProperty(exports, "replayWorkflowRun", {
|
|
198
198
|
enumerable: true,
|
|
199
|
-
get: function () { return
|
|
199
|
+
get: function () { return chunkL5VEY7G4_js.replayWorkflowRun; }
|
|
200
200
|
});
|
|
201
201
|
Object.defineProperty(exports, "saveWorkflowDraft", {
|
|
202
202
|
enumerable: true,
|
|
203
|
-
get: function () { return
|
|
203
|
+
get: function () { return chunkL5VEY7G4_js.saveWorkflowDraft; }
|
|
204
204
|
});
|
|
205
205
|
Object.defineProperty(exports, "setAccessTokenProvider", {
|
|
206
206
|
enumerable: true,
|
|
207
|
-
get: function () { return
|
|
207
|
+
get: function () { return chunkL5VEY7G4_js.setAccessTokenProvider; }
|
|
208
208
|
});
|
|
209
209
|
Object.defineProperty(exports, "setAuthenticatedFetch", {
|
|
210
210
|
enumerable: true,
|
|
211
|
-
get: function () { return
|
|
211
|
+
get: function () { return chunkL5VEY7G4_js.setAuthenticatedFetch; }
|
|
212
|
+
});
|
|
213
|
+
Object.defineProperty(exports, "submitApproval", {
|
|
214
|
+
enumerable: true,
|
|
215
|
+
get: function () { return chunkL5VEY7G4_js.submitApproval; }
|
|
212
216
|
});
|
|
213
217
|
Object.defineProperty(exports, "subscribeToRunEvents", {
|
|
214
218
|
enumerable: true,
|
|
215
|
-
get: function () { return
|
|
219
|
+
get: function () { return chunkL5VEY7G4_js.subscribeToRunEvents; }
|
|
216
220
|
});
|
|
217
221
|
Object.defineProperty(exports, "updateAgentConfig", {
|
|
218
222
|
enumerable: true,
|
|
219
|
-
get: function () { return
|
|
223
|
+
get: function () { return chunkL5VEY7G4_js.updateAgentConfig; }
|
|
220
224
|
});
|
|
221
225
|
Object.defineProperty(exports, "updateAgentPrompt", {
|
|
222
226
|
enumerable: true,
|
|
223
|
-
get: function () { return
|
|
227
|
+
get: function () { return chunkL5VEY7G4_js.updateAgentPrompt; }
|
|
224
228
|
});
|
|
225
229
|
Object.defineProperty(exports, "updateAgentRule", {
|
|
226
230
|
enumerable: true,
|
|
227
|
-
get: function () { return
|
|
231
|
+
get: function () { return chunkL5VEY7G4_js.updateAgentRule; }
|
|
228
232
|
});
|
|
229
233
|
Object.defineProperty(exports, "updateAgentTool", {
|
|
230
234
|
enumerable: true,
|
|
231
|
-
get: function () { return
|
|
235
|
+
get: function () { return chunkL5VEY7G4_js.updateAgentTool; }
|
|
232
236
|
});
|
|
233
237
|
Object.defineProperty(exports, "updateAgentToolDefinition", {
|
|
234
238
|
enumerable: true,
|
|
235
|
-
get: function () { return
|
|
239
|
+
get: function () { return chunkL5VEY7G4_js.updateAgentToolDefinition; }
|
|
236
240
|
});
|
|
237
241
|
Object.defineProperty(exports, "updateModelProviderConnection", {
|
|
238
242
|
enumerable: true,
|
|
239
|
-
get: function () { return
|
|
243
|
+
get: function () { return chunkL5VEY7G4_js.updateModelProviderConnection; }
|
|
240
244
|
});
|
|
241
245
|
Object.defineProperty(exports, "updateWorkflowSettings", {
|
|
242
246
|
enumerable: true,
|
|
243
|
-
get: function () { return
|
|
247
|
+
get: function () { return chunkL5VEY7G4_js.updateWorkflowSettings; }
|
|
244
248
|
});
|
|
245
249
|
//# sourceMappingURL=workflow-api-client.js.map
|
|
246
250
|
//# sourceMappingURL=workflow-api-client.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { aiGenerateWorkflow, aiValidateWorkflow, buildAuthenticatedApiUrl, cancelWorkflowRun, createAgentConfig, createAgentPrompt, createAgentRule, createAgentTool, createAgentToolDefinition, createDatasource, createModelProviderConnection, createWorkflow, createWorkflowFromTemplate, deleteAgentConfig, deleteAgentPrompt, deleteAgentRule, deleteAgentTool, deleteAgentToolDefinition, deleteModelProviderConnection, deleteUpload, deleteWorkflow, executeAgentRule, executeWorkflow, getAgentConfigsWithPrompts, getAgentModels, getAgentPrompts, getAgentRules, getAgentToolDefinitions, getAgentTools, getAnalyticsSummary, getCurrentAccessToken, getDatasourceSchema, getDatasourceTables, getDatasources, getPublicSampleWorkflow, getRunTimeline, getUploadDownloadUrl, getWorkflowById, getWorkflowRunById, getWorkflowRuns, getWorkflows, listModelProviderCatalog, listModelProviderConnections, listWorkflowRuns, listWorkflowTemplates, presignUpload, publishWorkflow, replayWorkflowRun, saveWorkflowDraft, setAccessTokenProvider, setAuthenticatedFetch, subscribeToRunEvents, updateAgentConfig, updateAgentPrompt, updateAgentRule, updateAgentTool, updateAgentToolDefinition, updateModelProviderConnection, updateWorkflowSettings } from '../chunk-
|
|
2
|
+
export { aiGenerateWorkflow, aiValidateWorkflow, buildAuthenticatedApiUrl, cancelWorkflowRun, createAgentConfig, createAgentPrompt, createAgentRule, createAgentTool, createAgentToolDefinition, createDatasource, createModelProviderConnection, createWorkflow, createWorkflowFromTemplate, deleteAgentConfig, deleteAgentPrompt, deleteAgentRule, deleteAgentTool, deleteAgentToolDefinition, deleteModelProviderConnection, deleteUpload, deleteWorkflow, executeAgentRule, executeWorkflow, getAgentConfigsWithPrompts, getAgentModels, getAgentPrompts, getAgentRules, getAgentToolDefinitions, getAgentTools, getAnalyticsSummary, getCurrentAccessToken, getDatasourceSchema, getDatasourceTables, getDatasources, getPublicSampleWorkflow, getRunTimeline, getUploadDownloadUrl, getWorkflowById, getWorkflowRunById, getWorkflowRuns, getWorkflows, listModelProviderCatalog, listModelProviderConnections, listWorkflowRuns, listWorkflowTemplates, presignUpload, publishWorkflow, replayWorkflowRun, saveWorkflowDraft, setAccessTokenProvider, setAuthenticatedFetch, submitApproval, subscribeToRunEvents, updateAgentConfig, updateAgentPrompt, updateAgentRule, updateAgentTool, updateAgentToolDefinition, updateModelProviderConnection, updateWorkflowSettings } from '../chunk-OE4Z4FKM.mjs';
|
|
3
3
|
import '../chunk-SYNVNTLJ.mjs';
|
|
4
4
|
//# sourceMappingURL=workflow-api-client.mjs.map
|
|
5
5
|
//# sourceMappingURL=workflow-api-client.mjs.map
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
6
|
-
require('../chunk-
|
|
4
|
+
var chunkSIBJRWUB_js = require('../chunk-SIBJRWUB.js');
|
|
5
|
+
require('../chunk-R5KUEOPU.js');
|
|
6
|
+
require('../chunk-YN4IEDE4.js');
|
|
7
7
|
require('../chunk-UZ3CMNUJ.js');
|
|
8
8
|
require('../chunk-YXN2K77G.js');
|
|
9
9
|
require('../chunk-S7KHTUHA.js');
|
|
10
|
+
require('../chunk-L5VEY7G4.js');
|
|
11
|
+
require('../chunk-FAGDZEKM.js');
|
|
10
12
|
require('../chunk-P4YYEM4B.js');
|
|
11
13
|
require('../chunk-C7BI5LQ6.js');
|
|
12
14
|
|
|
@@ -14,7 +16,7 @@ require('../chunk-C7BI5LQ6.js');
|
|
|
14
16
|
|
|
15
17
|
Object.defineProperty(exports, "WorkflowCanvasShell", {
|
|
16
18
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkSIBJRWUB_js.WorkflowCanvasShell; }
|
|
18
20
|
});
|
|
19
21
|
//# sourceMappingURL=workflow-canvas-shell.js.map
|
|
20
22
|
//# sourceMappingURL=workflow-canvas-shell.js.map
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { WorkflowCanvasShell } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
2
|
+
export { WorkflowCanvasShell } from '../chunk-KHAMY7MA.mjs';
|
|
3
|
+
import '../chunk-36G7GAPU.mjs';
|
|
4
|
+
import '../chunk-J4QUCX27.mjs';
|
|
5
5
|
import '../chunk-D2JF6C3E.mjs';
|
|
6
6
|
import '../chunk-7VJ7CMMT.mjs';
|
|
7
7
|
import '../chunk-QWG2FMUN.mjs';
|
|
8
|
+
import '../chunk-OE4Z4FKM.mjs';
|
|
9
|
+
import '../chunk-SYNVNTLJ.mjs';
|
|
8
10
|
import '../chunk-OZNTQROP.mjs';
|
|
9
11
|
import '../chunk-WNCPAWLC.mjs';
|
|
10
12
|
//# sourceMappingURL=workflow-canvas-shell.mjs.map
|
|
@@ -357,7 +357,13 @@ declare function deleteUpload(objectKey: string): Promise<{
|
|
|
357
357
|
deleted: boolean;
|
|
358
358
|
}>;
|
|
359
359
|
type RunEvent = {
|
|
360
|
-
|
|
360
|
+
/**
|
|
361
|
+
* Discriminator for the event payload. The set is open-ended on purpose
|
|
362
|
+
* — Phase 2/3 of the generative-UI work adds `ui-render` (per-section
|
|
363
|
+
* progressive rendering) and `run-paused` (operator-input pause) without
|
|
364
|
+
* a breaking change.
|
|
365
|
+
*/
|
|
366
|
+
type: 'run-started' | 'node-started' | 'node-completed' | 'node-failed' | 'run-completed' | 'run-failed' | 'run-paused' | 'ui-render' | 'log';
|
|
361
367
|
runId: string;
|
|
362
368
|
nodeId?: string;
|
|
363
369
|
data?: Record<string, unknown>;
|
|
@@ -372,6 +378,32 @@ type PublicSampleWorkflow = {
|
|
|
372
378
|
publishedAt: string | null;
|
|
373
379
|
};
|
|
374
380
|
declare function getPublicSampleWorkflow(slug: string): Promise<PublicSampleWorkflow>;
|
|
381
|
+
type ApprovalDecision = {
|
|
382
|
+
/** True approves and resumes the run; false fails it with `reason`. */
|
|
383
|
+
approved: boolean;
|
|
384
|
+
/** Operator-supplied rationale, surfaced on the audit row. */
|
|
385
|
+
reason?: string;
|
|
386
|
+
/**
|
|
387
|
+
* Captured payload — for `input_request` sections this carries the
|
|
388
|
+
* form field values. The downstream workflow nodes read it from
|
|
389
|
+
* `inputs.approvals.<nodeId>.payload`.
|
|
390
|
+
*/
|
|
391
|
+
payload?: Record<string, unknown>;
|
|
392
|
+
};
|
|
393
|
+
type ApprovalResponse = {
|
|
394
|
+
approvalId: string;
|
|
395
|
+
sourceRunId: string;
|
|
396
|
+
resumedRunId: string;
|
|
397
|
+
nodeId: string;
|
|
398
|
+
approved: boolean;
|
|
399
|
+
status: string;
|
|
400
|
+
};
|
|
401
|
+
/**
|
|
402
|
+
* Resolve a paused workflow run by recording an operator decision.
|
|
403
|
+
* The backend writes an audit row, merges the decision into the run's
|
|
404
|
+
* inputs, and re-executes — see #457.
|
|
405
|
+
*/
|
|
406
|
+
declare function submitApproval(runId: string, nodeId: string, decision: ApprovalDecision): Promise<ApprovalResponse>;
|
|
375
407
|
declare function subscribeToRunEvents(runId: string, onEvent: (event: RunEvent) => void, onError?: (error: Event) => void): () => void;
|
|
376
408
|
declare function getAgentConfigsWithPrompts(): Promise<AgentWithPrompts[]>;
|
|
377
409
|
declare function getDatasources(): Promise<DataSource[]>;
|
|
@@ -383,4 +415,4 @@ declare function getDatasourceSchema(datasourceId: string, table: string): Promi
|
|
|
383
415
|
nullable?: boolean;
|
|
384
416
|
}>>;
|
|
385
417
|
|
|
386
|
-
export {
|
|
418
|
+
export { getAnalyticsSummary as $, type AnalyticsSummary as A, createDatasource as B, createModelProviderConnection as C, type DatasourceFormData as D, createWorkflow as E, createWorkflowFromTemplate as F, deleteAgentConfig as G, deleteAgentPrompt as H, deleteAgentRule as I, deleteAgentTool as J, deleteAgentToolDefinition as K, deleteModelProviderConnection as L, type ModelProviderConnection as M, type NodeMetrics as N, deleteUpload as O, type PresignUploadInput as P, deleteWorkflow as Q, type RunTimelineEntry as R, executeAgentRule as S, executeWorkflow as T, getAgentConfigsWithPrompts as U, getAgentModels as V, type WorkflowRunListParams as W, getAgentPrompts as X, getAgentRules as Y, getAgentToolDefinitions as Z, getAgentTools as _, DIALECT_CATEGORIES as a, getCurrentAccessToken as a0, getDatasourceSchema as a1, getDatasourceTables as a2, getDatasources as a3, getPublicSampleWorkflow as a4, getRunTimeline as a5, getUploadDownloadUrl as a6, getWorkflowById as a7, getWorkflowRunById as a8, getWorkflowRuns as a9, getWorkflows as aa, listModelProviderCatalog as ab, listModelProviderConnections as ac, listWorkflowRuns as ad, listWorkflowTemplates as ae, presignUpload as af, publishWorkflow as ag, replayWorkflowRun as ah, saveWorkflowDraft as ai, setAccessTokenProvider as aj, setAuthenticatedFetch as ak, submitApproval as al, subscribeToRunEvents as am, updateAgentConfig as an, updateAgentPrompt as ao, updateAgentRule as ap, updateAgentTool as aq, updateAgentToolDefinition as ar, updateModelProviderConnection as as, updateWorkflowSettings as at, DatasourceFormModal as b, type DatasourceFormModalProps as c, DatasourceModal as d, type DatasourceModalProps as e, findCategory as f, findDialect as g, type AiGenerateResponse as h, type AiValidateResponse as i, type ApprovalDecision as j, type ApprovalResponse as k, type ModelProviderCatalogEntry as l, type NodeValidationIssue as m, type PresignedUpload as n, type PublicSampleWorkflow as o, type RunEvent as p, type WorkflowTemplateSummary as q, aiGenerateWorkflow as r, aiValidateWorkflow as s, buildAuthenticatedApiUrl as t, cancelWorkflowRun as u, createAgentConfig as v, createAgentPrompt as w, createAgentRule as x, createAgentTool as y, createAgentToolDefinition as z };
|
|
@@ -357,7 +357,13 @@ declare function deleteUpload(objectKey: string): Promise<{
|
|
|
357
357
|
deleted: boolean;
|
|
358
358
|
}>;
|
|
359
359
|
type RunEvent = {
|
|
360
|
-
|
|
360
|
+
/**
|
|
361
|
+
* Discriminator for the event payload. The set is open-ended on purpose
|
|
362
|
+
* — Phase 2/3 of the generative-UI work adds `ui-render` (per-section
|
|
363
|
+
* progressive rendering) and `run-paused` (operator-input pause) without
|
|
364
|
+
* a breaking change.
|
|
365
|
+
*/
|
|
366
|
+
type: 'run-started' | 'node-started' | 'node-completed' | 'node-failed' | 'run-completed' | 'run-failed' | 'run-paused' | 'ui-render' | 'log';
|
|
361
367
|
runId: string;
|
|
362
368
|
nodeId?: string;
|
|
363
369
|
data?: Record<string, unknown>;
|
|
@@ -372,6 +378,32 @@ type PublicSampleWorkflow = {
|
|
|
372
378
|
publishedAt: string | null;
|
|
373
379
|
};
|
|
374
380
|
declare function getPublicSampleWorkflow(slug: string): Promise<PublicSampleWorkflow>;
|
|
381
|
+
type ApprovalDecision = {
|
|
382
|
+
/** True approves and resumes the run; false fails it with `reason`. */
|
|
383
|
+
approved: boolean;
|
|
384
|
+
/** Operator-supplied rationale, surfaced on the audit row. */
|
|
385
|
+
reason?: string;
|
|
386
|
+
/**
|
|
387
|
+
* Captured payload — for `input_request` sections this carries the
|
|
388
|
+
* form field values. The downstream workflow nodes read it from
|
|
389
|
+
* `inputs.approvals.<nodeId>.payload`.
|
|
390
|
+
*/
|
|
391
|
+
payload?: Record<string, unknown>;
|
|
392
|
+
};
|
|
393
|
+
type ApprovalResponse = {
|
|
394
|
+
approvalId: string;
|
|
395
|
+
sourceRunId: string;
|
|
396
|
+
resumedRunId: string;
|
|
397
|
+
nodeId: string;
|
|
398
|
+
approved: boolean;
|
|
399
|
+
status: string;
|
|
400
|
+
};
|
|
401
|
+
/**
|
|
402
|
+
* Resolve a paused workflow run by recording an operator decision.
|
|
403
|
+
* The backend writes an audit row, merges the decision into the run's
|
|
404
|
+
* inputs, and re-executes — see #457.
|
|
405
|
+
*/
|
|
406
|
+
declare function submitApproval(runId: string, nodeId: string, decision: ApprovalDecision): Promise<ApprovalResponse>;
|
|
375
407
|
declare function subscribeToRunEvents(runId: string, onEvent: (event: RunEvent) => void, onError?: (error: Event) => void): () => void;
|
|
376
408
|
declare function getAgentConfigsWithPrompts(): Promise<AgentWithPrompts[]>;
|
|
377
409
|
declare function getDatasources(): Promise<DataSource[]>;
|
|
@@ -383,4 +415,4 @@ declare function getDatasourceSchema(datasourceId: string, table: string): Promi
|
|
|
383
415
|
nullable?: boolean;
|
|
384
416
|
}>>;
|
|
385
417
|
|
|
386
|
-
export {
|
|
418
|
+
export { getAnalyticsSummary as $, type AnalyticsSummary as A, createDatasource as B, createModelProviderConnection as C, type DatasourceFormData as D, createWorkflow as E, createWorkflowFromTemplate as F, deleteAgentConfig as G, deleteAgentPrompt as H, deleteAgentRule as I, deleteAgentTool as J, deleteAgentToolDefinition as K, deleteModelProviderConnection as L, type ModelProviderConnection as M, type NodeMetrics as N, deleteUpload as O, type PresignUploadInput as P, deleteWorkflow as Q, type RunTimelineEntry as R, executeAgentRule as S, executeWorkflow as T, getAgentConfigsWithPrompts as U, getAgentModels as V, type WorkflowRunListParams as W, getAgentPrompts as X, getAgentRules as Y, getAgentToolDefinitions as Z, getAgentTools as _, DIALECT_CATEGORIES as a, getCurrentAccessToken as a0, getDatasourceSchema as a1, getDatasourceTables as a2, getDatasources as a3, getPublicSampleWorkflow as a4, getRunTimeline as a5, getUploadDownloadUrl as a6, getWorkflowById as a7, getWorkflowRunById as a8, getWorkflowRuns as a9, getWorkflows as aa, listModelProviderCatalog as ab, listModelProviderConnections as ac, listWorkflowRuns as ad, listWorkflowTemplates as ae, presignUpload as af, publishWorkflow as ag, replayWorkflowRun as ah, saveWorkflowDraft as ai, setAccessTokenProvider as aj, setAuthenticatedFetch as ak, submitApproval as al, subscribeToRunEvents as am, updateAgentConfig as an, updateAgentPrompt as ao, updateAgentRule as ap, updateAgentTool as aq, updateAgentToolDefinition as ar, updateModelProviderConnection as as, updateWorkflowSettings as at, DatasourceFormModal as b, type DatasourceFormModalProps as c, DatasourceModal as d, type DatasourceModalProps as e, findCategory as f, findDialect as g, type AiGenerateResponse as h, type AiValidateResponse as i, type ApprovalDecision as j, type ApprovalResponse as k, type ModelProviderCatalogEntry as l, type NodeValidationIssue as m, type PresignedUpload as n, type PublicSampleWorkflow as o, type RunEvent as p, type WorkflowTemplateSummary as q, aiGenerateWorkflow as r, aiValidateWorkflow as s, buildAuthenticatedApiUrl as t, cancelWorkflowRun as u, createAgentConfig as v, createAgentPrompt as w, createAgentRule as x, createAgentTool as y, createAgentToolDefinition as z };
|