windmill-components 1.522.0 → 1.531.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/package/components/AIAgentLogViewer.svelte +123 -0
- package/package/components/AIAgentLogViewer.svelte.d.ts +13 -0
- package/package/components/AppConnectInner.svelte +10 -10
- package/package/components/AutoscalingConfigEditor.svelte +76 -2
- package/package/components/Dev.svelte +12 -28
- package/package/components/DiffEditor.svelte +6 -3
- package/package/components/DiffEditor.svelte.d.ts +1 -0
- package/package/components/DisplayResult.svelte +16 -10
- package/package/components/DisplayResult.svelte.d.ts +1 -0
- package/package/components/EditableSchemaForm.svelte +5 -2
- package/package/components/Editor.svelte +26 -8
- package/package/components/Editor.svelte.d.ts +1 -1
- package/package/components/EditorBar.svelte +25 -5
- package/package/components/EditorSettings.svelte +6 -0
- package/package/components/FirstStepInputs.svelte +2 -2
- package/package/components/FlowBuilder.svelte +18 -36
- package/package/components/FlowGraphViewerStep.svelte +7 -0
- package/package/components/FlowJobResult.svelte +15 -63
- package/package/components/FlowJobResult.svelte.d.ts +10 -4
- package/package/components/FlowLogViewer.svelte +660 -0
- package/package/components/FlowLogViewer.svelte.d.ts +34 -0
- package/package/components/FlowLogViewerWrapper.svelte +52 -0
- package/package/components/FlowLogViewerWrapper.svelte.d.ts +21 -0
- package/package/components/FlowLoopIterationPreview.svelte +3 -3
- package/package/components/FlowPreviewContent.svelte +4 -5
- package/package/components/FlowPreviewContent.svelte.d.ts +7 -7
- package/package/components/FlowPreviewResult.svelte +4 -5
- package/package/components/FlowPreviewResult.svelte.d.ts +3 -5
- package/package/components/FlowStatusViewer.svelte +28 -16
- package/package/components/FlowStatusViewer.svelte.d.ts +19 -27
- package/package/components/FlowStatusViewerInner.svelte +483 -296
- package/package/components/FlowStatusViewerInner.svelte.d.ts +27 -33
- package/package/components/FlowTimeline.svelte +11 -13
- package/package/components/FlowTimeline.svelte.d.ts +6 -5
- package/package/components/HighlightCode.svelte +4 -1
- package/package/components/IconedResourceType.svelte +9 -5
- package/package/components/JobLoader.svelte +61 -8
- package/package/components/JobLoader.svelte.d.ts +9 -1
- package/package/components/LogViewer.svelte +8 -2
- package/package/components/LogViewer.svelte.d.ts +1 -0
- package/package/components/LogViewerHeader.svelte +32 -0
- package/package/components/LogViewerHeader.svelte.d.ts +8 -0
- package/package/components/ModulePreviewForm.svelte +10 -6
- package/package/components/ModulePreviewResultViewer.svelte +16 -0
- package/package/components/ModulePreviewResultViewer.svelte.d.ts +1 -1
- package/package/components/ModuleTest.svelte +59 -16
- package/package/components/RelativeLineNumbers.svelte +16 -0
- package/package/components/RelativeLineNumbers.svelte.d.ts +18 -0
- package/package/components/ResourceEditor.svelte +9 -4
- package/package/components/ScriptBuilder.svelte +13 -11
- package/package/components/ScriptEditor.svelte +2 -2
- package/package/components/SimpleEditor.svelte +10 -4
- package/package/components/SimpleEditor.svelte.d.ts +1 -0
- package/package/components/TemplateEditor.svelte +1 -1
- package/package/components/UserSettings.svelte +4 -4
- package/package/components/apps/components/display/AppAccordionList.svelte +1 -1
- package/package/components/apps/components/display/AppCarouselList.svelte +10 -8
- package/package/components/apps/components/display/AppJobIdFlowStatus.svelte +3 -3
- package/package/components/apps/components/display/table/AppAggridTable.svelte +2 -2
- package/package/components/apps/components/helpers/HiddenComponent.svelte +0 -1
- package/package/components/apps/components/helpers/InputValue.svelte +6 -1
- package/package/components/apps/components/helpers/NonRunnableComponent.svelte +8 -4
- package/package/components/apps/components/helpers/NonRunnableComponent.svelte.d.ts +1 -1
- package/package/components/apps/components/helpers/RunnableComponent.svelte +7 -8
- package/package/components/apps/components/helpers/RunnableComponent.svelte.d.ts +1 -1
- package/package/components/apps/components/helpers/RunnableWrapper.svelte +12 -3
- package/package/components/apps/components/helpers/RunnableWrapper.svelte.d.ts +1 -1
- package/package/components/apps/components/inputs/AppCodeInputComponent.svelte +0 -5
- package/package/components/apps/components/layout/AppConditionalWrapper.svelte +1 -1
- package/package/components/apps/components/layout/AppContainer.svelte +1 -1
- package/package/components/apps/components/layout/AppDecisionTree.svelte +31 -20
- package/package/components/apps/components/layout/AppDrawer.svelte +1 -1
- package/package/components/apps/components/layout/AppList.svelte +9 -8
- package/package/components/apps/components/layout/AppModal.svelte +1 -1
- package/package/components/apps/components/layout/AppSplitpanes.svelte +5 -2
- package/package/components/apps/components/layout/AppStepper.svelte +9 -5
- package/package/components/apps/components/layout/AppTabs.svelte +2 -2
- package/package/components/apps/editor/AppJobsDrawer.svelte +2 -2
- package/package/components/apps/editor/GridEditor.svelte +24 -19
- package/package/components/apps/editor/GridEditor.svelte.d.ts +4 -1
- package/package/components/apps/editor/GridViewer.svelte +1 -1
- package/package/components/apps/editor/SubGridEditor.svelte +7 -11
- package/package/components/apps/editor/SubGridEditor.svelte.d.ts +3 -19
- package/package/components/apps/editor/appUtils.js +17 -68
- package/package/components/apps/editor/component/ComponentInner.svelte +845 -694
- package/package/components/apps/editor/component/componentCallbacks.svelte.js +8 -1
- package/package/components/apps/editor/contextPanel/components/OutputHeader.svelte +9 -46
- package/package/components/apps/editor/settingsPanel/DecisionTreeGraphEditor.svelte +29 -43
- package/package/components/apps/editor/settingsPanel/InputsSpecEditor.svelte +2 -1
- package/package/components/apps/editor/settingsPanel/InputsSpecEditor.svelte.d.ts +1 -0
- package/package/components/apps/editor/settingsPanel/inputEditor/EvalV2InputEditor.svelte +2 -2
- package/package/components/apps/editor/settingsPanel/inputEditor/EvalV2InputEditor.svelte.d.ts +1 -0
- package/package/components/apps/svelte-grid/Grid.svelte +23 -25
- package/package/components/apps/svelte-grid/Grid.svelte.d.ts +21 -9
- package/package/components/apps/svelte-grid/MoveResize.svelte +13 -15
- package/package/components/apps/svelte-grid/MoveResize.svelte.d.ts +17 -24
- package/package/components/apps/utils.d.ts +2 -0
- package/package/components/apps/utils.js +22 -0
- package/package/components/auditLogs/AuditLogsFilters.svelte.d.ts +1 -1
- package/package/components/common/fileDownload/FileDownload.svelte +1 -3
- package/package/components/common/fileDownload/FileDownload.svelte.d.ts +4 -18
- package/package/components/common/languageIcons/LanguageIcon.svelte +5 -2
- package/package/components/copilot/FlowInlineScriptAIButton.svelte +58 -0
- package/package/components/copilot/FlowInlineScriptAIButton.svelte.d.ts +3 -0
- package/package/components/copilot/MetadataGen.svelte +19 -1
- package/package/components/copilot/MetadataGen.svelte.d.ts +1 -1
- package/package/components/copilot/ScriptGen.svelte +23 -31
- package/package/components/copilot/ScriptGen.svelte.d.ts +0 -1
- package/package/components/copilot/autocomplete/Autocompletor.js +2 -0
- package/package/components/copilot/chat/AIChatDisplay.svelte +4 -4
- package/package/components/copilot/chat/AIChatInput.svelte +29 -6
- package/package/components/copilot/chat/AIChatManager.svelte.js +110 -26
- package/package/components/copilot/chat/AIChatMessage.svelte +3 -0
- package/package/components/copilot/chat/ToolContentDisplay.svelte +84 -0
- package/package/components/copilot/chat/ToolContentDisplay.svelte.d.ts +11 -0
- package/package/components/copilot/chat/ToolExecutionDisplay.svelte +105 -0
- package/package/components/copilot/chat/ToolExecutionDisplay.svelte.d.ts +7 -0
- package/package/components/copilot/chat/api/apiTools.d.ts +7 -0
- package/package/components/copilot/chat/api/apiTools.js +192 -0
- package/package/components/copilot/chat/api/core.d.ts +7 -0
- package/package/components/copilot/chat/api/core.js +61 -0
- package/package/components/copilot/chat/flow/FlowAIChat.svelte +4 -6
- package/package/components/copilot/chat/flow/core.js +213 -42
- package/package/components/copilot/chat/flow/utils.js +3 -0
- package/package/components/copilot/chat/monaco-adapter.d.ts +1 -1
- package/package/components/copilot/chat/monaco-adapter.js +10 -4
- package/package/components/copilot/chat/navigator/core.d.ts +1 -1
- package/package/components/copilot/chat/navigator/core.js +20 -22
- package/package/components/copilot/chat/script/core.d.ts +11 -3
- package/package/components/copilot/chat/script/core.js +92 -15
- package/package/components/copilot/chat/shared.d.ts +30 -3
- package/package/components/copilot/chat/shared.js +228 -9
- package/package/components/copilot/lib.d.ts +1 -1
- package/package/components/copilot/lib.js +15 -6
- package/package/components/custom_ui.d.ts +2 -0
- package/package/components/details/DetailPageLayout.svelte +34 -33
- package/package/components/flow_builder.d.ts +1 -2
- package/package/components/flows/FlowEditor.svelte +3 -3
- package/package/components/flows/FlowEditor.svelte.d.ts +7 -6
- package/package/components/flows/common/FlowCard.svelte +2 -2
- package/package/components/flows/common/FlowCard.svelte.d.ts +1 -0
- package/package/components/flows/common/FlowCardHeader.svelte +13 -4
- package/package/components/flows/common/FlowCardHeader.svelte.d.ts +1 -0
- package/package/components/flows/content/BranchPredicateEditor.svelte +4 -7
- package/package/components/flows/content/BranchPredicateEditor.svelte.d.ts +12 -11
- package/package/components/flows/content/FlowConstants.svelte +3 -3
- package/package/components/flows/content/FlowEditorPanel.svelte +3 -3
- package/package/components/flows/content/FlowEditorPanel.svelte.d.ts +2 -4
- package/package/components/flows/content/FlowInputsQuick.svelte +2 -1
- package/package/components/flows/content/FlowLoop.svelte +2 -2
- package/package/components/flows/content/FlowModuleComponent.svelte +130 -108
- package/package/components/flows/content/FlowModuleComponent.svelte.d.ts +1 -0
- package/package/components/flows/content/FlowModuleEarlyStop.svelte +2 -2
- package/package/components/flows/content/FlowModuleSkip.svelte +1 -1
- package/package/components/flows/content/FlowModuleSleep.svelte +1 -1
- package/package/components/flows/content/FlowModuleSuspend.svelte +1 -1
- package/package/components/flows/content/FlowModuleWrapper.svelte +15 -5
- package/package/components/flows/content/FlowModuleWrapper.svelte.d.ts +1 -0
- package/package/components/flows/content/FlowResult.svelte +2 -3
- package/package/components/flows/content/FlowResult.svelte.d.ts +2 -4
- package/package/components/flows/content/FlowWhileLoop.svelte +1 -1
- package/package/components/flows/dfs.d.ts +3 -1
- package/package/components/flows/dfs.js +5 -1
- package/package/components/flows/flowInfers.js +78 -0
- package/package/components/flows/flowState.d.ts +2 -3
- package/package/components/flows/flowState.js +2 -2
- package/package/components/flows/flowStateUtils.svelte.d.ts +4 -4
- package/package/components/flows/flowStateUtils.svelte.js +14 -13
- package/package/components/flows/flowStore.d.ts +3 -4
- package/package/components/flows/header/FlowPreviewButtons.svelte +2 -1
- package/package/components/flows/header/FlowYamlEditor.svelte +10 -1
- package/package/components/flows/map/FlowGraphPreviewButton.svelte +1 -1
- package/package/components/flows/map/FlowJobsMenu.svelte +7 -3
- package/package/components/flows/map/FlowJobsMenu.svelte.d.ts +1 -0
- package/package/components/flows/map/FlowModuleSchemaItem.svelte +12 -12
- package/package/components/flows/map/FlowModuleSchemaMap.svelte +26 -19
- package/package/components/flows/map/FlowModuleSchemaMap.svelte.d.ts +6 -4
- package/package/components/flows/map/InsertModuleInner.svelte +9 -1
- package/package/components/flows/map/InsertModuleInner.svelte.d.ts +1 -0
- package/package/components/flows/map/MapItem.svelte +4 -2
- package/package/components/flows/pickers/TopLevelNode.svelte +4 -1
- package/package/components/flows/propPicker/InputPickerInner.svelte +5 -4
- package/package/components/flows/propPicker/OutputBadge.svelte +11 -9
- package/package/components/flows/propPicker/OutputPickerInner.svelte +10 -1
- package/package/components/flows/propPicker/OutputPickerInner.svelte.d.ts +1 -1
- package/package/components/flows/testSteps.svelte.d.ts +3 -2
- package/package/components/flows/testSteps.svelte.js +26 -23
- package/package/components/flows/types.d.ts +1 -1
- package/package/components/flows/utils.d.ts +3 -5
- package/package/components/flows/utils.js +3 -4
- package/package/components/git_sync/GitSyncContext.svelte.js +2 -1
- package/package/components/graph/FlowGraphV2.svelte +44 -24
- package/package/components/graph/FlowGraphV2.svelte.d.ts +5 -2
- package/package/components/graph/graphBuilder.svelte.d.ts +49 -17
- package/package/components/graph/graphBuilder.svelte.js +30 -14
- package/package/components/graph/model.d.ts +9 -6
- package/package/components/graph/renderers/edges/BaseEdge.svelte +3 -3
- package/package/components/graph/renderers/edges/BaseEdge.svelte.d.ts +2 -3
- package/package/components/graph/renderers/nodes/AIToolNode.svelte +234 -0
- package/package/components/graph/renderers/nodes/AIToolNode.svelte.d.ts +24 -0
- package/package/components/graph/renderers/nodes/AssetNode.svelte +15 -10
- package/package/components/graph/renderers/nodes/AssetNode.svelte.d.ts +18 -1
- package/package/components/graph/renderers/nodes/BranchAllEndNode.svelte +1 -1
- package/package/components/graph/renderers/nodes/BranchAllStart.svelte +1 -1
- package/package/components/graph/renderers/nodes/BranchOneStart.svelte +1 -1
- package/package/components/graph/renderers/nodes/ForLoopEndNode.svelte +2 -2
- package/package/components/graph/renderers/nodes/ForLoopStartNode.svelte +1 -1
- package/package/components/graph/renderers/nodes/ModuleNode.svelte +21 -21
- package/package/components/graph/renderers/nodes/NewAIToolNode.svelte +64 -0
- package/package/components/graph/renderers/nodes/NewAIToolNode.svelte.d.ts +7 -0
- package/package/components/graph/renderers/nodes/branchOneEndNode.svelte +1 -1
- package/package/components/icons/RubyIcon.svelte +656 -0
- package/package/components/icons/RubyIcon.svelte.d.ts +7 -0
- package/package/components/instanceSettings.js +9 -0
- package/package/components/modulesTest.svelte.d.ts +6 -3
- package/package/components/modulesTest.svelte.js +32 -0
- package/package/components/preview/FlowPreviewStatus.svelte +3 -1
- package/package/components/raw_apps/RawAppEditor.svelte +27 -26
- package/package/components/raw_apps/RawAppEditor.svelte.d.ts +17 -17
- package/package/components/runs/{JobPreview.svelte → JobRunsPreview.svelte} +1 -4
- package/package/components/runs/{JobPreview.svelte.d.ts → JobRunsPreview.svelte.d.ts} +3 -3
- package/package/components/runs/RunRow.svelte +5 -1
- package/package/components/schema/AddProperty.svelte +41 -36
- package/package/components/schema/AddProperty.svelte.d.ts +2 -2
- package/package/components/schema/AddPropertyV2.svelte +41 -37
- package/package/components/schema/AddPropertyV2.svelte.d.ts +1 -1
- package/package/components/schema/FlowPropertyEditor.svelte +8 -6
- package/package/components/search/RunsSearch.svelte +1 -1
- package/package/components/settings/CreateToken.svelte +132 -12
- package/package/components/settings/CreateToken.svelte.d.ts +3 -20
- package/package/components/settings/TokenDisplay.svelte +18 -42
- package/package/components/settings/TokenDisplay.svelte.d.ts +0 -1
- package/package/components/settings/TokensTable.svelte +2 -4
- package/package/components/settings/TokensTable.svelte.d.ts +3 -19
- package/package/components/settings/WorkspaceUserSettings.svelte +428 -69
- package/package/components/sidebar/MenuButton.svelte +12 -10
- package/package/components/stepHistoryLoader.svelte.d.ts +2 -2
- package/package/components/stepHistoryLoader.svelte.js +7 -12
- package/package/components/triggers/http/OpenAPISpecGenerator.svelte +2 -2
- package/package/components/tutorials/FlowBuilderTutorialBranchOne.svelte +1 -1
- package/package/components/tutorials/FlowBuilderTutorialForLoop.svelte +4 -4
- package/package/components/tutorials/utils.js +3 -0
- package/package/components/worker_group.d.ts +4 -1
- package/package/components/worker_group.js +3 -2
- package/package/editorLangUtils.d.ts +1 -1
- package/package/editorLangUtils.js +2 -0
- package/package/editorUtils.d.ts +2 -1
- package/package/editorUtils.js +2 -1
- package/package/gen/core/OpenAPI.js +1 -1
- package/package/gen/schemas.gen.d.ts +296 -8
- package/package/gen/schemas.gen.js +364 -70
- package/package/gen/services.gen.d.ts +118 -16
- package/package/gen/services.gen.js +226 -19
- package/package/gen/types.gen.d.ts +660 -16
- package/package/hubPaths.json +7 -4
- package/package/infer.js +10 -1
- package/package/monaco_workers/graphql.worker.bundle.js +144 -110
- package/package/script_helpers.d.ts +3 -0
- package/package/script_helpers.js +58 -3
- package/package/scripts.d.ts +1 -1
- package/package/scripts.js +3 -2
- package/package/stores.d.ts +2 -0
- package/package/stores.js +2 -0
- package/package/svelte5Utils.svelte.d.ts +16 -0
- package/package/svelte5Utils.svelte.js +26 -0
- package/package/utils.d.ts +1 -1
- package/package.json +20 -19
- package/package/components/AllFlowLogs.svelte +0 -31
- package/package/components/AllFlowLogs.svelte.d.ts +0 -8
- package/package/components/copilot/chat/navigator/apiTools.d.ts +0 -68
- package/package/components/copilot/chat/navigator/apiTools.js +0 -258
|
@@ -80,7 +80,7 @@ export type JavascriptTransform = {
|
|
|
80
80
|
expr: string;
|
|
81
81
|
type: 'javascript';
|
|
82
82
|
};
|
|
83
|
-
export type FlowModuleValue = RawScript | PathScript | PathFlow | ForloopFlow | WhileloopFlow | BranchOne | BranchAll | Identity;
|
|
83
|
+
export type FlowModuleValue = RawScript | PathScript | PathFlow | ForloopFlow | WhileloopFlow | BranchOne | BranchAll | Identity | AiAgent;
|
|
84
84
|
export type RawScript = {
|
|
85
85
|
input_transforms: {
|
|
86
86
|
[key: string]: InputTransform;
|
|
@@ -97,7 +97,7 @@ export type RawScript = {
|
|
|
97
97
|
is_trigger?: boolean;
|
|
98
98
|
assets?: Array<{
|
|
99
99
|
path: string;
|
|
100
|
-
kind: 's3object' | 'resource';
|
|
100
|
+
kind: 's3object' | 'resource' | 'ducklake';
|
|
101
101
|
access_type?: 'r' | 'w' | 'rw';
|
|
102
102
|
alt_access_type?: 'r' | 'w' | 'rw';
|
|
103
103
|
}>;
|
|
@@ -152,6 +152,14 @@ export type BranchAll = {
|
|
|
152
152
|
type: 'branchall';
|
|
153
153
|
parallel?: boolean;
|
|
154
154
|
};
|
|
155
|
+
export type AiAgent = {
|
|
156
|
+
input_transforms: {
|
|
157
|
+
[key: string]: InputTransform;
|
|
158
|
+
};
|
|
159
|
+
tools: Array<FlowModule>;
|
|
160
|
+
type: 'aiagent';
|
|
161
|
+
parallel?: boolean;
|
|
162
|
+
};
|
|
155
163
|
export type Identity = {
|
|
156
164
|
type: 'identity';
|
|
157
165
|
flow?: boolean;
|
|
@@ -196,6 +204,55 @@ export type FlowStatusModule = {
|
|
|
196
204
|
}>;
|
|
197
205
|
failed_retries?: Array<(string)>;
|
|
198
206
|
skipped?: boolean;
|
|
207
|
+
agent_actions?: Array<({
|
|
208
|
+
job_id: string;
|
|
209
|
+
function_name: string;
|
|
210
|
+
type: 'tool_call';
|
|
211
|
+
module_id: string;
|
|
212
|
+
} | {
|
|
213
|
+
type: 'message';
|
|
214
|
+
})>;
|
|
215
|
+
agent_actions_success?: Array<(boolean)>;
|
|
216
|
+
};
|
|
217
|
+
export type EndpointTool = {
|
|
218
|
+
/**
|
|
219
|
+
* The tool name/operation ID
|
|
220
|
+
*/
|
|
221
|
+
name: string;
|
|
222
|
+
/**
|
|
223
|
+
* Short description of the tool
|
|
224
|
+
*/
|
|
225
|
+
description: string;
|
|
226
|
+
/**
|
|
227
|
+
* Detailed instructions for using the tool
|
|
228
|
+
*/
|
|
229
|
+
instructions: string;
|
|
230
|
+
/**
|
|
231
|
+
* API endpoint path
|
|
232
|
+
*/
|
|
233
|
+
path: string;
|
|
234
|
+
/**
|
|
235
|
+
* HTTP method (GET, POST, etc.)
|
|
236
|
+
*/
|
|
237
|
+
method: string;
|
|
238
|
+
/**
|
|
239
|
+
* JSON schema for path parameters
|
|
240
|
+
*/
|
|
241
|
+
path_params_schema?: {
|
|
242
|
+
[key: string]: unknown;
|
|
243
|
+
} | null;
|
|
244
|
+
/**
|
|
245
|
+
* JSON schema for query parameters
|
|
246
|
+
*/
|
|
247
|
+
query_params_schema?: {
|
|
248
|
+
[key: string]: unknown;
|
|
249
|
+
} | null;
|
|
250
|
+
/**
|
|
251
|
+
* JSON schema for request body
|
|
252
|
+
*/
|
|
253
|
+
body_schema?: {
|
|
254
|
+
[key: string]: unknown;
|
|
255
|
+
} | null;
|
|
199
256
|
};
|
|
200
257
|
export type AIProvider = 'openai' | 'azure_openai' | 'anthropic' | 'mistral' | 'deepseek' | 'googleai' | 'groq' | 'openrouter' | 'togetherai' | 'customai';
|
|
201
258
|
export type GitSyncObjectType = 'script' | 'flow' | 'app' | 'folder' | 'resource' | 'variable' | 'secret' | 'resourcetype' | 'schedule' | 'user' | 'group' | 'trigger' | 'settings' | 'key';
|
|
@@ -306,7 +363,7 @@ export type NewScript = {
|
|
|
306
363
|
on_behalf_of_email?: string;
|
|
307
364
|
assets?: Array<{
|
|
308
365
|
path: string;
|
|
309
|
-
kind:
|
|
366
|
+
kind: AssetKind;
|
|
310
367
|
access_type?: 'r' | 'w' | 'rw';
|
|
311
368
|
alt_access_type?: 'r' | 'w' | 'rw';
|
|
312
369
|
}>;
|
|
@@ -319,6 +376,9 @@ export type ScriptHistory = {
|
|
|
319
376
|
script_hash: string;
|
|
320
377
|
deployment_msg?: string;
|
|
321
378
|
};
|
|
379
|
+
/**
|
|
380
|
+
* The arguments to pass to the script or flow
|
|
381
|
+
*/
|
|
322
382
|
export type ScriptArgs = {
|
|
323
383
|
[key: string]: unknown;
|
|
324
384
|
};
|
|
@@ -360,7 +420,7 @@ export type QueuedJob = {
|
|
|
360
420
|
canceled_by?: string;
|
|
361
421
|
canceled_reason?: string;
|
|
362
422
|
last_ping?: string;
|
|
363
|
-
job_kind: 'script' | 'preview' | 'dependencies' | 'flowdependencies' | 'appdependencies' | 'flow' | 'flowpreview' | 'script_hub' | 'identity' | 'deploymentcallback' | 'singlescriptflow' | 'flowscript' | 'flownode' | 'appscript';
|
|
423
|
+
job_kind: 'script' | 'preview' | 'dependencies' | 'flowdependencies' | 'appdependencies' | 'flow' | 'flowpreview' | 'script_hub' | 'identity' | 'deploymentcallback' | 'singlescriptflow' | 'flowscript' | 'flownode' | 'appscript' | 'aiagent';
|
|
364
424
|
schedule_path?: string;
|
|
365
425
|
/**
|
|
366
426
|
* The user (u/userfoo) or group (g/groupfoo) whom
|
|
@@ -403,7 +463,7 @@ export type CompletedJob = {
|
|
|
403
463
|
canceled: boolean;
|
|
404
464
|
canceled_by?: string;
|
|
405
465
|
canceled_reason?: string;
|
|
406
|
-
job_kind: 'script' | 'preview' | 'dependencies' | 'flow' | 'flowdependencies' | 'appdependencies' | 'flowpreview' | 'script_hub' | 'identity' | 'deploymentcallback' | 'singlescriptflow' | 'flowscript' | 'flownode' | 'appscript';
|
|
466
|
+
job_kind: 'script' | 'preview' | 'dependencies' | 'flow' | 'flowdependencies' | 'appdependencies' | 'flowpreview' | 'script_hub' | 'identity' | 'deploymentcallback' | 'singlescriptflow' | 'flowscript' | 'flownode' | 'appscript' | 'aiagent';
|
|
407
467
|
schedule_path?: string;
|
|
408
468
|
/**
|
|
409
469
|
* The user (u/userfoo) or group (g/groupfoo) whom
|
|
@@ -450,6 +510,21 @@ export type User = {
|
|
|
450
510
|
groups?: Array<(string)>;
|
|
451
511
|
folders: Array<(string)>;
|
|
452
512
|
folders_owners: Array<(string)>;
|
|
513
|
+
added_via?: (UserSource) | null;
|
|
514
|
+
};
|
|
515
|
+
export type UserSource = {
|
|
516
|
+
/**
|
|
517
|
+
* How the user was added to the workspace
|
|
518
|
+
*/
|
|
519
|
+
source: 'domain' | 'instance_group' | 'manual';
|
|
520
|
+
/**
|
|
521
|
+
* The domain used for auto-invite (when source is 'domain')
|
|
522
|
+
*/
|
|
523
|
+
domain?: string;
|
|
524
|
+
/**
|
|
525
|
+
* The instance group name (when source is 'instance_group')
|
|
526
|
+
*/
|
|
527
|
+
group?: string;
|
|
453
528
|
};
|
|
454
529
|
export type UserUsage = {
|
|
455
530
|
email?: string;
|
|
@@ -509,18 +584,51 @@ export type ContextualVariable = {
|
|
|
509
584
|
is_custom: boolean;
|
|
510
585
|
};
|
|
511
586
|
export type CreateVariable = {
|
|
587
|
+
/**
|
|
588
|
+
* The path to the variable
|
|
589
|
+
*/
|
|
512
590
|
path: string;
|
|
591
|
+
/**
|
|
592
|
+
* The value of the variable
|
|
593
|
+
*/
|
|
513
594
|
value: string;
|
|
595
|
+
/**
|
|
596
|
+
* Whether the variable is a secret
|
|
597
|
+
*/
|
|
514
598
|
is_secret: boolean;
|
|
599
|
+
/**
|
|
600
|
+
* The description of the variable
|
|
601
|
+
*/
|
|
515
602
|
description: string;
|
|
603
|
+
/**
|
|
604
|
+
* The account identifier
|
|
605
|
+
*/
|
|
516
606
|
account?: number;
|
|
607
|
+
/**
|
|
608
|
+
* Whether the variable is an OAuth variable
|
|
609
|
+
*/
|
|
517
610
|
is_oauth?: boolean;
|
|
611
|
+
/**
|
|
612
|
+
* The expiration date of the variable
|
|
613
|
+
*/
|
|
518
614
|
expires_at?: string;
|
|
519
615
|
};
|
|
520
616
|
export type EditVariable = {
|
|
617
|
+
/**
|
|
618
|
+
* The path to the variable
|
|
619
|
+
*/
|
|
521
620
|
path?: string;
|
|
621
|
+
/**
|
|
622
|
+
* The new value of the variable
|
|
623
|
+
*/
|
|
522
624
|
value?: string;
|
|
625
|
+
/**
|
|
626
|
+
* Whether the variable is a secret
|
|
627
|
+
*/
|
|
523
628
|
is_secret?: boolean;
|
|
629
|
+
/**
|
|
630
|
+
* The new description of the variable
|
|
631
|
+
*/
|
|
524
632
|
description?: string;
|
|
525
633
|
};
|
|
526
634
|
export type AuditLog = {
|
|
@@ -567,10 +675,19 @@ export type MainArgSignature = {
|
|
|
567
675
|
no_main_func: boolean | null;
|
|
568
676
|
has_preprocessor: boolean | null;
|
|
569
677
|
};
|
|
570
|
-
export type ScriptLang = 'python3' | 'deno' | 'go' | 'bash' | 'powershell' | 'postgresql' | 'mysql' | 'bigquery' | 'snowflake' | 'mssql' | 'oracledb' | 'graphql' | 'nativets' | 'bun' | 'php' | 'rust' | 'ansible' | 'csharp' | 'nu' | 'java' | 'duckdb';
|
|
678
|
+
export type ScriptLang = 'python3' | 'deno' | 'go' | 'bash' | 'powershell' | 'postgresql' | 'mysql' | 'bigquery' | 'snowflake' | 'mssql' | 'oracledb' | 'graphql' | 'nativets' | 'bun' | 'php' | 'rust' | 'ansible' | 'csharp' | 'nu' | 'java' | 'ruby' | 'duckdb';
|
|
571
679
|
export type Preview = {
|
|
680
|
+
/**
|
|
681
|
+
* The code to run
|
|
682
|
+
*/
|
|
572
683
|
content?: string;
|
|
684
|
+
/**
|
|
685
|
+
* The path to the script
|
|
686
|
+
*/
|
|
573
687
|
path?: string;
|
|
688
|
+
/**
|
|
689
|
+
* The hash of the script
|
|
690
|
+
*/
|
|
574
691
|
script_hash?: string;
|
|
575
692
|
args: ScriptArgs;
|
|
576
693
|
language?: ScriptLang;
|
|
@@ -592,15 +709,34 @@ export type WorkflowStatus = {
|
|
|
592
709
|
name?: string;
|
|
593
710
|
};
|
|
594
711
|
export type CreateResource = {
|
|
712
|
+
/**
|
|
713
|
+
* The path to the resource
|
|
714
|
+
*/
|
|
595
715
|
path: string;
|
|
596
716
|
value: unknown;
|
|
717
|
+
/**
|
|
718
|
+
* The description of the resource
|
|
719
|
+
*/
|
|
597
720
|
description?: string;
|
|
721
|
+
/**
|
|
722
|
+
* The resource_type associated with the resource
|
|
723
|
+
*/
|
|
598
724
|
resource_type: string;
|
|
599
725
|
};
|
|
600
726
|
export type EditResource = {
|
|
727
|
+
/**
|
|
728
|
+
* The path to the resource
|
|
729
|
+
*/
|
|
601
730
|
path?: string;
|
|
731
|
+
/**
|
|
732
|
+
* The new description of the resource
|
|
733
|
+
*/
|
|
602
734
|
description?: string;
|
|
603
735
|
value?: unknown;
|
|
736
|
+
/**
|
|
737
|
+
* The new resource_type to be associated with the resource
|
|
738
|
+
*/
|
|
739
|
+
resource_type?: string;
|
|
604
740
|
};
|
|
605
741
|
export type Resource = {
|
|
606
742
|
workspace_id?: string;
|
|
@@ -686,52 +822,185 @@ export type ScheduleWJobs = Schedule & {
|
|
|
686
822
|
duration_ms: number;
|
|
687
823
|
}>;
|
|
688
824
|
};
|
|
825
|
+
export type ErrorHandler = 'custom' | 'slack' | 'teams' | 'email';
|
|
689
826
|
export type NewSchedule = {
|
|
827
|
+
/**
|
|
828
|
+
* The path where the schedule will be created
|
|
829
|
+
*/
|
|
690
830
|
path: string;
|
|
831
|
+
/**
|
|
832
|
+
* The cron schedule to trigger the script or flow. Should include seconds.
|
|
833
|
+
*/
|
|
691
834
|
schedule: string;
|
|
835
|
+
/**
|
|
836
|
+
* The timezone to use for the cron schedule
|
|
837
|
+
*/
|
|
692
838
|
timezone: string;
|
|
839
|
+
/**
|
|
840
|
+
* The path to the script or flow to trigger
|
|
841
|
+
*/
|
|
693
842
|
script_path: string;
|
|
843
|
+
/**
|
|
844
|
+
* Whether the schedule is for a flow
|
|
845
|
+
*/
|
|
694
846
|
is_flow: boolean;
|
|
847
|
+
/**
|
|
848
|
+
* The arguments to pass to the script or flow
|
|
849
|
+
*/
|
|
695
850
|
args: ScriptArgs;
|
|
851
|
+
/**
|
|
852
|
+
* Whether the schedule is enabled
|
|
853
|
+
*/
|
|
696
854
|
enabled?: boolean;
|
|
855
|
+
/**
|
|
856
|
+
* The path to the script or flow to trigger on failure
|
|
857
|
+
*/
|
|
697
858
|
on_failure?: string;
|
|
859
|
+
/**
|
|
860
|
+
* The number of times to retry on failure
|
|
861
|
+
*/
|
|
698
862
|
on_failure_times?: number;
|
|
863
|
+
/**
|
|
864
|
+
* Whether the schedule should only run on the exact time
|
|
865
|
+
*/
|
|
699
866
|
on_failure_exact?: boolean;
|
|
867
|
+
/**
|
|
868
|
+
* The arguments to pass to the script or flow on failure
|
|
869
|
+
*/
|
|
700
870
|
on_failure_extra_args?: ScriptArgs;
|
|
871
|
+
/**
|
|
872
|
+
* The path to the script or flow to trigger on recovery
|
|
873
|
+
*/
|
|
701
874
|
on_recovery?: string;
|
|
875
|
+
/**
|
|
876
|
+
* The number of times to retry on recovery
|
|
877
|
+
*/
|
|
702
878
|
on_recovery_times?: number;
|
|
879
|
+
/**
|
|
880
|
+
* The arguments to pass to the script or flow on recovery
|
|
881
|
+
*/
|
|
703
882
|
on_recovery_extra_args?: ScriptArgs;
|
|
883
|
+
/**
|
|
884
|
+
* The path to the script or flow to trigger on success
|
|
885
|
+
*/
|
|
704
886
|
on_success?: string;
|
|
887
|
+
/**
|
|
888
|
+
* The arguments to pass to the script or flow on success
|
|
889
|
+
*/
|
|
705
890
|
on_success_extra_args?: ScriptArgs;
|
|
891
|
+
/**
|
|
892
|
+
* Whether the WebSocket error handler is muted
|
|
893
|
+
*/
|
|
706
894
|
ws_error_handler_muted?: boolean;
|
|
895
|
+
/**
|
|
896
|
+
* The retry configuration for the schedule
|
|
897
|
+
*/
|
|
707
898
|
retry?: Retry;
|
|
899
|
+
/**
|
|
900
|
+
* Whether the schedule should not run if a flow is already running
|
|
901
|
+
*/
|
|
708
902
|
no_flow_overlap?: boolean;
|
|
903
|
+
/**
|
|
904
|
+
* The summary of the schedule
|
|
905
|
+
*/
|
|
709
906
|
summary?: string;
|
|
907
|
+
/**
|
|
908
|
+
* The description of the schedule
|
|
909
|
+
*/
|
|
710
910
|
description?: string;
|
|
911
|
+
/**
|
|
912
|
+
* The tag of the schedule
|
|
913
|
+
*/
|
|
711
914
|
tag?: string;
|
|
915
|
+
/**
|
|
916
|
+
* The date and time the schedule will be paused until
|
|
917
|
+
*/
|
|
712
918
|
paused_until?: string;
|
|
919
|
+
/**
|
|
920
|
+
* The version of the cron schedule to use (last is v2)
|
|
921
|
+
*/
|
|
713
922
|
cron_version?: string;
|
|
714
923
|
};
|
|
715
924
|
export type EditSchedule = {
|
|
925
|
+
/**
|
|
926
|
+
* The cron schedule to trigger the script or flow. Should include seconds.
|
|
927
|
+
*/
|
|
716
928
|
schedule: string;
|
|
929
|
+
/**
|
|
930
|
+
* The timezone to use for the cron schedule
|
|
931
|
+
*/
|
|
717
932
|
timezone: string;
|
|
933
|
+
/**
|
|
934
|
+
* The arguments to pass to the script or flow
|
|
935
|
+
*/
|
|
718
936
|
args: ScriptArgs;
|
|
937
|
+
/**
|
|
938
|
+
* The path to the script or flow to trigger on failure
|
|
939
|
+
*/
|
|
719
940
|
on_failure?: string;
|
|
941
|
+
/**
|
|
942
|
+
* The number of times to retry on failure
|
|
943
|
+
*/
|
|
720
944
|
on_failure_times?: number;
|
|
945
|
+
/**
|
|
946
|
+
* Whether the schedule should only run on the exact time
|
|
947
|
+
*/
|
|
721
948
|
on_failure_exact?: boolean;
|
|
949
|
+
/**
|
|
950
|
+
* The arguments to pass to the script or flow on failure
|
|
951
|
+
*/
|
|
722
952
|
on_failure_extra_args?: ScriptArgs;
|
|
953
|
+
/**
|
|
954
|
+
* The path to the script or flow to trigger on recovery
|
|
955
|
+
*/
|
|
723
956
|
on_recovery?: string;
|
|
957
|
+
/**
|
|
958
|
+
* The number of times to retry on recovery
|
|
959
|
+
*/
|
|
724
960
|
on_recovery_times?: number;
|
|
961
|
+
/**
|
|
962
|
+
* The arguments to pass to the script or flow on recovery
|
|
963
|
+
*/
|
|
725
964
|
on_recovery_extra_args?: ScriptArgs;
|
|
965
|
+
/**
|
|
966
|
+
* The path to the script or flow to trigger on success
|
|
967
|
+
*/
|
|
726
968
|
on_success?: string;
|
|
969
|
+
/**
|
|
970
|
+
* The arguments to pass to the script or flow on success
|
|
971
|
+
*/
|
|
727
972
|
on_success_extra_args?: ScriptArgs;
|
|
973
|
+
/**
|
|
974
|
+
* Whether the WebSocket error handler is muted
|
|
975
|
+
*/
|
|
728
976
|
ws_error_handler_muted?: boolean;
|
|
977
|
+
/**
|
|
978
|
+
* The retry configuration for the schedule
|
|
979
|
+
*/
|
|
729
980
|
retry?: Retry;
|
|
981
|
+
/**
|
|
982
|
+
* Whether the schedule should not run if a flow is already running
|
|
983
|
+
*/
|
|
730
984
|
no_flow_overlap?: boolean;
|
|
985
|
+
/**
|
|
986
|
+
* The summary of the schedule
|
|
987
|
+
*/
|
|
731
988
|
summary?: string;
|
|
989
|
+
/**
|
|
990
|
+
* The description of the schedule
|
|
991
|
+
*/
|
|
732
992
|
description?: string;
|
|
993
|
+
/**
|
|
994
|
+
* The tag of the schedule
|
|
995
|
+
*/
|
|
733
996
|
tag?: string;
|
|
997
|
+
/**
|
|
998
|
+
* The date and time the schedule will be paused until
|
|
999
|
+
*/
|
|
734
1000
|
paused_until?: string;
|
|
1001
|
+
/**
|
|
1002
|
+
* The version of the cron schedule to use (last is v2)
|
|
1003
|
+
*/
|
|
735
1004
|
cron_version?: string;
|
|
736
1005
|
};
|
|
737
1006
|
export type TriggerExtraProperty = {
|
|
@@ -1023,6 +1292,7 @@ export type GcpTriggerData = {
|
|
|
1023
1292
|
script_path: string;
|
|
1024
1293
|
is_flow: boolean;
|
|
1025
1294
|
enabled?: boolean;
|
|
1295
|
+
auto_acknowledge_msg?: boolean;
|
|
1026
1296
|
error_handler_path?: string;
|
|
1027
1297
|
error_handler_args?: ScriptArgs;
|
|
1028
1298
|
retry?: Retry;
|
|
@@ -1226,6 +1496,17 @@ export type InstanceGroup = {
|
|
|
1226
1496
|
summary?: string;
|
|
1227
1497
|
emails?: Array<(string)>;
|
|
1228
1498
|
};
|
|
1499
|
+
export type InstanceGroupWithWorkspaces = {
|
|
1500
|
+
name: string;
|
|
1501
|
+
summary?: string;
|
|
1502
|
+
emails?: Array<(string)>;
|
|
1503
|
+
workspaces?: Array<WorkspaceInfo>;
|
|
1504
|
+
};
|
|
1505
|
+
export type WorkspaceInfo = {
|
|
1506
|
+
workspace_id?: string;
|
|
1507
|
+
workspace_name?: string;
|
|
1508
|
+
role?: string;
|
|
1509
|
+
};
|
|
1229
1510
|
export type Folder = {
|
|
1230
1511
|
name: string;
|
|
1231
1512
|
owners: Array<(string)>;
|
|
@@ -1466,6 +1747,20 @@ export type LargeFileStorage = {
|
|
|
1466
1747
|
};
|
|
1467
1748
|
};
|
|
1468
1749
|
};
|
|
1750
|
+
export type DucklakeSettings = {
|
|
1751
|
+
ducklakes: {
|
|
1752
|
+
[key: string]: {
|
|
1753
|
+
catalog: {
|
|
1754
|
+
resource_type: 'postgresql' | 'mysql' | 'instance';
|
|
1755
|
+
resource_path?: string;
|
|
1756
|
+
};
|
|
1757
|
+
storage: {
|
|
1758
|
+
storage?: string;
|
|
1759
|
+
path: string;
|
|
1760
|
+
};
|
|
1761
|
+
};
|
|
1762
|
+
};
|
|
1763
|
+
};
|
|
1469
1764
|
export type WindmillLargeFile = {
|
|
1470
1765
|
s3: string;
|
|
1471
1766
|
};
|
|
@@ -1750,7 +2045,7 @@ export type TeamsChannel = {
|
|
|
1750
2045
|
};
|
|
1751
2046
|
export type AssetUsageKind = 'script' | 'flow';
|
|
1752
2047
|
export type AssetUsageAccessType = 'r' | 'w' | 'rw';
|
|
1753
|
-
export type AssetKind = 's3object' | 'resource';
|
|
2048
|
+
export type AssetKind = 's3object' | 'resource' | 'ducklake';
|
|
1754
2049
|
export type Asset = {
|
|
1755
2050
|
path: string;
|
|
1756
2051
|
kind: AssetKind;
|
|
@@ -1758,6 +2053,9 @@ export type Asset = {
|
|
|
1758
2053
|
export type ParameterId = string;
|
|
1759
2054
|
export type ParameterKey = string;
|
|
1760
2055
|
export type ParameterWorkspaceId = string;
|
|
2056
|
+
/**
|
|
2057
|
+
* The name of the publication
|
|
2058
|
+
*/
|
|
1761
2059
|
export type ParameterPublicationName = string;
|
|
1762
2060
|
export type ParameterVersionId = number;
|
|
1763
2061
|
export type ParameterToken = string;
|
|
@@ -2440,6 +2738,10 @@ export type GetSettingsResponse = {
|
|
|
2440
2738
|
auto_invite_domain?: string;
|
|
2441
2739
|
auto_invite_operator?: boolean;
|
|
2442
2740
|
auto_add?: boolean;
|
|
2741
|
+
auto_add_instance_groups?: Array<(string)>;
|
|
2742
|
+
auto_add_instance_groups_roles?: {
|
|
2743
|
+
[key: string]: (string);
|
|
2744
|
+
};
|
|
2443
2745
|
plan?: string;
|
|
2444
2746
|
customer_id?: string;
|
|
2445
2747
|
webhook?: string;
|
|
@@ -2449,6 +2751,7 @@ export type GetSettingsResponse = {
|
|
|
2449
2751
|
error_handler_extra_args?: ScriptArgs;
|
|
2450
2752
|
error_handler_muted_on_cancel: boolean;
|
|
2451
2753
|
large_file_storage?: LargeFileStorage;
|
|
2754
|
+
ducklake?: DucklakeSettings;
|
|
2452
2755
|
git_sync?: WorkspaceGitSyncSettings;
|
|
2453
2756
|
deploy_ui?: WorkspaceDeployUISettings;
|
|
2454
2757
|
default_app?: string;
|
|
@@ -2587,6 +2890,19 @@ export type EditAutoInviteData = {
|
|
|
2587
2890
|
workspace: string;
|
|
2588
2891
|
};
|
|
2589
2892
|
export type EditAutoInviteResponse = string;
|
|
2893
|
+
export type EditInstanceGroupsData = {
|
|
2894
|
+
/**
|
|
2895
|
+
* Instance Groups Configuration
|
|
2896
|
+
*/
|
|
2897
|
+
requestBody: {
|
|
2898
|
+
groups?: Array<(string)>;
|
|
2899
|
+
roles?: {
|
|
2900
|
+
[key: string]: (string);
|
|
2901
|
+
};
|
|
2902
|
+
};
|
|
2903
|
+
workspace: string;
|
|
2904
|
+
};
|
|
2905
|
+
export type EditInstanceGroupsResponse = string;
|
|
2590
2906
|
export type EditWebhookData = {
|
|
2591
2907
|
/**
|
|
2592
2908
|
* WorkspaceWebhook
|
|
@@ -2631,6 +2947,20 @@ export type EditLargeFileStorageConfigData = {
|
|
|
2631
2947
|
workspace: string;
|
|
2632
2948
|
};
|
|
2633
2949
|
export type EditLargeFileStorageConfigResponse = unknown;
|
|
2950
|
+
export type ListDucklakesData = {
|
|
2951
|
+
workspace: string;
|
|
2952
|
+
};
|
|
2953
|
+
export type ListDucklakesResponse = Array<(string)>;
|
|
2954
|
+
export type EditDucklakeConfigData = {
|
|
2955
|
+
/**
|
|
2956
|
+
* Ducklake settings
|
|
2957
|
+
*/
|
|
2958
|
+
requestBody: {
|
|
2959
|
+
settings: DucklakeSettings;
|
|
2960
|
+
};
|
|
2961
|
+
workspace: string;
|
|
2962
|
+
};
|
|
2963
|
+
export type EditDucklakeConfigResponse = unknown;
|
|
2634
2964
|
export type EditWorkspaceGitSyncConfigData = {
|
|
2635
2965
|
/**
|
|
2636
2966
|
* Workspace Git sync settings
|
|
@@ -2755,6 +3085,17 @@ export type GetUsedTriggersResponse = {
|
|
|
2755
3085
|
gcp_used: boolean;
|
|
2756
3086
|
sqs_used: boolean;
|
|
2757
3087
|
};
|
|
3088
|
+
export type DatabasesExistData = {
|
|
3089
|
+
requestBody: Array<(string)>;
|
|
3090
|
+
};
|
|
3091
|
+
export type DatabasesExistResponse = Array<(string)>;
|
|
3092
|
+
export type CreateDucklakeDatabaseData = {
|
|
3093
|
+
/**
|
|
3094
|
+
* The name of the database to create
|
|
3095
|
+
*/
|
|
3096
|
+
name: string;
|
|
3097
|
+
};
|
|
3098
|
+
export type CreateDucklakeDatabaseResponse = unknown;
|
|
2758
3099
|
export type GetGlobalData = {
|
|
2759
3100
|
key: string;
|
|
2760
3101
|
};
|
|
@@ -2914,6 +3255,9 @@ export type GetOidcTokenData = {
|
|
|
2914
3255
|
};
|
|
2915
3256
|
export type GetOidcTokenResponse = string;
|
|
2916
3257
|
export type CreateVariableData = {
|
|
3258
|
+
/**
|
|
3259
|
+
* whether the variable is already encrypted (default false)
|
|
3260
|
+
*/
|
|
2917
3261
|
alreadyEncrypted?: boolean;
|
|
2918
3262
|
/**
|
|
2919
3263
|
* new variable
|
|
@@ -2936,6 +3280,9 @@ export type DeleteVariableData = {
|
|
|
2936
3280
|
};
|
|
2937
3281
|
export type DeleteVariableResponse = string;
|
|
2938
3282
|
export type UpdateVariableData = {
|
|
3283
|
+
/**
|
|
3284
|
+
* whether the variable is already encrypted (default false)
|
|
3285
|
+
*/
|
|
2939
3286
|
alreadyEncrypted?: boolean;
|
|
2940
3287
|
path: string;
|
|
2941
3288
|
/**
|
|
@@ -2976,6 +3323,9 @@ export type ListVariableData = {
|
|
|
2976
3323
|
* which page to return (start at 1, default 1)
|
|
2977
3324
|
*/
|
|
2978
3325
|
page?: number;
|
|
3326
|
+
/**
|
|
3327
|
+
* filter variables by path prefix
|
|
3328
|
+
*/
|
|
2979
3329
|
pathStart?: string;
|
|
2980
3330
|
/**
|
|
2981
3331
|
* number of items to return for a given page (default 30, max 100)
|
|
@@ -3144,6 +3494,9 @@ export type CreateResourceData = {
|
|
|
3144
3494
|
* new resource
|
|
3145
3495
|
*/
|
|
3146
3496
|
requestBody: CreateResource;
|
|
3497
|
+
/**
|
|
3498
|
+
* update the resource if it already exists (default false)
|
|
3499
|
+
*/
|
|
3147
3500
|
updateIfExists?: boolean;
|
|
3148
3501
|
workspace: string;
|
|
3149
3502
|
};
|
|
@@ -3202,6 +3555,9 @@ export type ListResourceData = {
|
|
|
3202
3555
|
* which page to return (start at 1, default 1)
|
|
3203
3556
|
*/
|
|
3204
3557
|
page?: number;
|
|
3558
|
+
/**
|
|
3559
|
+
* filter resources by path prefix
|
|
3560
|
+
*/
|
|
3205
3561
|
pathStart?: string;
|
|
3206
3562
|
/**
|
|
3207
3563
|
* number of items to return for a given page (default 30, max 100)
|
|
@@ -4143,10 +4499,15 @@ export type ListWorkersData = {
|
|
|
4143
4499
|
pingSince?: number;
|
|
4144
4500
|
};
|
|
4145
4501
|
export type ListWorkersResponse = Array<WorkerPing>;
|
|
4146
|
-
export type
|
|
4147
|
-
|
|
4502
|
+
export type ExistsWorkersWithTagsData = {
|
|
4503
|
+
/**
|
|
4504
|
+
* comma separated list of tags
|
|
4505
|
+
*/
|
|
4506
|
+
tags: string;
|
|
4507
|
+
};
|
|
4508
|
+
export type ExistsWorkersWithTagsResponse = {
|
|
4509
|
+
[key: string]: (boolean);
|
|
4148
4510
|
};
|
|
4149
|
-
export type ExistsWorkerWithTagResponse = boolean;
|
|
4150
4511
|
export type GetQueueMetricsResponse = Array<{
|
|
4151
4512
|
id: string;
|
|
4152
4513
|
values: Array<{
|
|
@@ -4157,6 +4518,9 @@ export type GetQueueMetricsResponse = Array<{
|
|
|
4157
4518
|
export type GetCountsOfJobsWaitingPerTagResponse = {
|
|
4158
4519
|
[key: string]: (number);
|
|
4159
4520
|
};
|
|
4521
|
+
export type GetCountsOfRunningJobsPerTagResponse = {
|
|
4522
|
+
[key: string]: (number);
|
|
4523
|
+
};
|
|
4160
4524
|
export type ListSelectedJobGroupsData = {
|
|
4161
4525
|
/**
|
|
4162
4526
|
* script args
|
|
@@ -4562,6 +4926,14 @@ export type RunScriptPreviewData = {
|
|
|
4562
4926
|
workspace: string;
|
|
4563
4927
|
};
|
|
4564
4928
|
export type RunScriptPreviewResponse = string;
|
|
4929
|
+
export type RunScriptPreviewAndWaitResultData = {
|
|
4930
|
+
/**
|
|
4931
|
+
* preview
|
|
4932
|
+
*/
|
|
4933
|
+
requestBody: Preview;
|
|
4934
|
+
workspace: string;
|
|
4935
|
+
};
|
|
4936
|
+
export type RunScriptPreviewAndWaitResultResponse = unknown;
|
|
4565
4937
|
export type RunCodeWorkflowTaskData = {
|
|
4566
4938
|
entrypoint: string;
|
|
4567
4939
|
jobId: string;
|
|
@@ -4607,6 +4979,14 @@ export type RunFlowPreviewData = {
|
|
|
4607
4979
|
workspace: string;
|
|
4608
4980
|
};
|
|
4609
4981
|
export type RunFlowPreviewResponse = string;
|
|
4982
|
+
export type RunFlowPreviewAndWaitResultData = {
|
|
4983
|
+
/**
|
|
4984
|
+
* preview
|
|
4985
|
+
*/
|
|
4986
|
+
requestBody: FlowPreview;
|
|
4987
|
+
workspace: string;
|
|
4988
|
+
};
|
|
4989
|
+
export type RunFlowPreviewAndWaitResultResponse = unknown;
|
|
4610
4990
|
export type ListQueueData = {
|
|
4611
4991
|
/**
|
|
4612
4992
|
* allow wildcards (*) in the filter of label, tag, worker
|
|
@@ -5206,9 +5586,15 @@ export type GetRootJobIdData = {
|
|
|
5206
5586
|
export type GetRootJobIdResponse = string;
|
|
5207
5587
|
export type GetJobLogsData = {
|
|
5208
5588
|
id: string;
|
|
5589
|
+
removeAnsiWarnings?: boolean;
|
|
5209
5590
|
workspace: string;
|
|
5210
5591
|
};
|
|
5211
5592
|
export type GetJobLogsResponse = string;
|
|
5593
|
+
export type GetCompletedJobLogsTailData = {
|
|
5594
|
+
id: string;
|
|
5595
|
+
workspace: string;
|
|
5596
|
+
};
|
|
5597
|
+
export type GetCompletedJobLogsTailResponse = string;
|
|
5212
5598
|
export type GetJobArgsData = {
|
|
5213
5599
|
id: string;
|
|
5214
5600
|
workspace: string;
|
|
@@ -5218,7 +5604,9 @@ export type GetJobUpdatesData = {
|
|
|
5218
5604
|
getProgress?: boolean;
|
|
5219
5605
|
id: string;
|
|
5220
5606
|
logOffset?: number;
|
|
5607
|
+
noLogs?: boolean;
|
|
5221
5608
|
running?: boolean;
|
|
5609
|
+
streamOffset?: number;
|
|
5222
5610
|
workspace: string;
|
|
5223
5611
|
};
|
|
5224
5612
|
export type GetJobUpdatesResponse = {
|
|
@@ -5228,7 +5616,8 @@ export type GetJobUpdatesResponse = {
|
|
|
5228
5616
|
log_offset?: number;
|
|
5229
5617
|
mem_peak?: number;
|
|
5230
5618
|
progress?: number;
|
|
5231
|
-
|
|
5619
|
+
stream_offset?: number;
|
|
5620
|
+
new_result_stream?: string;
|
|
5232
5621
|
flow_status?: FlowStatus;
|
|
5233
5622
|
workflow_as_code_status?: WorkflowStatus;
|
|
5234
5623
|
};
|
|
@@ -5236,8 +5625,10 @@ export type GetJobUpdatesSseData = {
|
|
|
5236
5625
|
getProgress?: boolean;
|
|
5237
5626
|
id: string;
|
|
5238
5627
|
logOffset?: number;
|
|
5628
|
+
noLogs?: boolean;
|
|
5239
5629
|
onlyResult?: boolean;
|
|
5240
5630
|
running?: boolean;
|
|
5631
|
+
streamOffset?: number;
|
|
5241
5632
|
workspace: string;
|
|
5242
5633
|
};
|
|
5243
5634
|
export type GetJobUpdatesSseResponse = string;
|
|
@@ -5686,6 +6077,9 @@ export type ListSchedulesData = {
|
|
|
5686
6077
|
* filter on jobs containing those args as a json subset (@> in postgres)
|
|
5687
6078
|
*/
|
|
5688
6079
|
args?: string;
|
|
6080
|
+
/**
|
|
6081
|
+
* filter schedules by whether they target a flow
|
|
6082
|
+
*/
|
|
5689
6083
|
isFlow?: boolean;
|
|
5690
6084
|
/**
|
|
5691
6085
|
* which page to return (start at 1, default 1)
|
|
@@ -5695,6 +6089,9 @@ export type ListSchedulesData = {
|
|
|
5695
6089
|
* filter by path
|
|
5696
6090
|
*/
|
|
5697
6091
|
path?: string;
|
|
6092
|
+
/**
|
|
6093
|
+
* filter schedules by path prefix
|
|
6094
|
+
*/
|
|
5698
6095
|
pathStart?: string;
|
|
5699
6096
|
/**
|
|
5700
6097
|
* number of items to return for a given page (default 30, max 100)
|
|
@@ -6334,12 +6731,18 @@ export type ListPostgresPublicationData = {
|
|
|
6334
6731
|
export type ListPostgresPublicationResponse = Array<(string)>;
|
|
6335
6732
|
export type GetPostgresPublicationData = {
|
|
6336
6733
|
path: string;
|
|
6734
|
+
/**
|
|
6735
|
+
* The name of the publication
|
|
6736
|
+
*/
|
|
6337
6737
|
publication: string;
|
|
6338
6738
|
workspace: string;
|
|
6339
6739
|
};
|
|
6340
6740
|
export type GetPostgresPublicationResponse = PublicationData;
|
|
6341
6741
|
export type CreatePostgresPublicationData = {
|
|
6342
6742
|
path: string;
|
|
6743
|
+
/**
|
|
6744
|
+
* The name of the publication
|
|
6745
|
+
*/
|
|
6343
6746
|
publication: string;
|
|
6344
6747
|
/**
|
|
6345
6748
|
* new publication for postgres
|
|
@@ -6350,6 +6753,9 @@ export type CreatePostgresPublicationData = {
|
|
|
6350
6753
|
export type CreatePostgresPublicationResponse = string;
|
|
6351
6754
|
export type UpdatePostgresPublicationData = {
|
|
6352
6755
|
path: string;
|
|
6756
|
+
/**
|
|
6757
|
+
* The name of the publication
|
|
6758
|
+
*/
|
|
6353
6759
|
publication: string;
|
|
6354
6760
|
/**
|
|
6355
6761
|
* update publication for postgres
|
|
@@ -6360,6 +6766,9 @@ export type UpdatePostgresPublicationData = {
|
|
|
6360
6766
|
export type UpdatePostgresPublicationResponse = string;
|
|
6361
6767
|
export type DeletePostgresPublicationData = {
|
|
6362
6768
|
path: string;
|
|
6769
|
+
/**
|
|
6770
|
+
* The name of the publication
|
|
6771
|
+
*/
|
|
6363
6772
|
publication: string;
|
|
6364
6773
|
workspace: string;
|
|
6365
6774
|
};
|
|
@@ -6436,6 +6845,7 @@ export type TestPostgresConnectionData = {
|
|
|
6436
6845
|
};
|
|
6437
6846
|
export type TestPostgresConnectionResponse = string;
|
|
6438
6847
|
export type ListInstanceGroupsResponse = Array<InstanceGroup>;
|
|
6848
|
+
export type ListInstanceGroupsWithWorkspacesResponse = Array<InstanceGroupWithWorkspaces>;
|
|
6439
6849
|
export type GetInstanceGroupData = {
|
|
6440
6850
|
name: string;
|
|
6441
6851
|
};
|
|
@@ -6687,6 +7097,7 @@ export type ListAutoscalingEventsData = {
|
|
|
6687
7097
|
workerGroup: string;
|
|
6688
7098
|
};
|
|
6689
7099
|
export type ListAutoscalingEventsResponse = Array<AutoscalingEvent>;
|
|
7100
|
+
export type NativeKubernetesAutoscalingHealthcheckResponse = unknown;
|
|
6690
7101
|
export type ListAvailablePythonVersionsResponse = Array<(string)>;
|
|
6691
7102
|
export type CreateAgentTokenData = {
|
|
6692
7103
|
/**
|
|
@@ -7294,6 +7705,10 @@ export type ListAssetsByUsageResponse = Array<Array<{
|
|
|
7294
7705
|
kind: AssetKind;
|
|
7295
7706
|
access_type?: AssetUsageAccessType;
|
|
7296
7707
|
}>>;
|
|
7708
|
+
export type ListMcpToolsData = {
|
|
7709
|
+
workspace: string;
|
|
7710
|
+
};
|
|
7711
|
+
export type ListMcpToolsResponse = Array<EndpointTool>;
|
|
7297
7712
|
export type $OpenApiTs = {
|
|
7298
7713
|
'/version': {
|
|
7299
7714
|
get: {
|
|
@@ -8451,6 +8866,10 @@ export type $OpenApiTs = {
|
|
|
8451
8866
|
auto_invite_domain?: string;
|
|
8452
8867
|
auto_invite_operator?: boolean;
|
|
8453
8868
|
auto_add?: boolean;
|
|
8869
|
+
auto_add_instance_groups?: Array<(string)>;
|
|
8870
|
+
auto_add_instance_groups_roles?: {
|
|
8871
|
+
[key: string]: (string);
|
|
8872
|
+
};
|
|
8454
8873
|
plan?: string;
|
|
8455
8874
|
customer_id?: string;
|
|
8456
8875
|
webhook?: string;
|
|
@@ -8460,6 +8879,7 @@ export type $OpenApiTs = {
|
|
|
8460
8879
|
error_handler_extra_args?: ScriptArgs;
|
|
8461
8880
|
error_handler_muted_on_cancel: boolean;
|
|
8462
8881
|
large_file_storage?: LargeFileStorage;
|
|
8882
|
+
ducklake?: DucklakeSettings;
|
|
8463
8883
|
git_sync?: WorkspaceGitSyncSettings;
|
|
8464
8884
|
deploy_ui?: WorkspaceDeployUISettings;
|
|
8465
8885
|
default_app?: string;
|
|
@@ -8725,6 +9145,28 @@ export type $OpenApiTs = {
|
|
|
8725
9145
|
};
|
|
8726
9146
|
};
|
|
8727
9147
|
};
|
|
9148
|
+
'/w/{workspace}/workspaces/edit_instance_groups': {
|
|
9149
|
+
post: {
|
|
9150
|
+
req: {
|
|
9151
|
+
/**
|
|
9152
|
+
* Instance Groups Configuration
|
|
9153
|
+
*/
|
|
9154
|
+
requestBody: {
|
|
9155
|
+
groups?: Array<(string)>;
|
|
9156
|
+
roles?: {
|
|
9157
|
+
[key: string]: (string);
|
|
9158
|
+
};
|
|
9159
|
+
};
|
|
9160
|
+
workspace: string;
|
|
9161
|
+
};
|
|
9162
|
+
res: {
|
|
9163
|
+
/**
|
|
9164
|
+
* status
|
|
9165
|
+
*/
|
|
9166
|
+
200: string;
|
|
9167
|
+
};
|
|
9168
|
+
};
|
|
9169
|
+
};
|
|
8728
9170
|
'/w/{workspace}/workspaces/edit_webhook': {
|
|
8729
9171
|
post: {
|
|
8730
9172
|
req: {
|
|
@@ -8814,6 +9256,38 @@ export type $OpenApiTs = {
|
|
|
8814
9256
|
};
|
|
8815
9257
|
};
|
|
8816
9258
|
};
|
|
9259
|
+
'/w/{workspace}/workspaces/list_ducklakes': {
|
|
9260
|
+
get: {
|
|
9261
|
+
req: {
|
|
9262
|
+
workspace: string;
|
|
9263
|
+
};
|
|
9264
|
+
res: {
|
|
9265
|
+
/**
|
|
9266
|
+
* status
|
|
9267
|
+
*/
|
|
9268
|
+
200: Array<(string)>;
|
|
9269
|
+
};
|
|
9270
|
+
};
|
|
9271
|
+
};
|
|
9272
|
+
'/w/{workspace}/workspaces/edit_ducklake_config': {
|
|
9273
|
+
post: {
|
|
9274
|
+
req: {
|
|
9275
|
+
/**
|
|
9276
|
+
* Ducklake settings
|
|
9277
|
+
*/
|
|
9278
|
+
requestBody: {
|
|
9279
|
+
settings: DucklakeSettings;
|
|
9280
|
+
};
|
|
9281
|
+
workspace: string;
|
|
9282
|
+
};
|
|
9283
|
+
res: {
|
|
9284
|
+
/**
|
|
9285
|
+
* status
|
|
9286
|
+
*/
|
|
9287
|
+
200: unknown;
|
|
9288
|
+
};
|
|
9289
|
+
};
|
|
9290
|
+
};
|
|
8817
9291
|
'/w/{workspace}/workspaces/edit_git_sync_config': {
|
|
8818
9292
|
post: {
|
|
8819
9293
|
req: {
|
|
@@ -9060,6 +9534,35 @@ export type $OpenApiTs = {
|
|
|
9060
9534
|
};
|
|
9061
9535
|
};
|
|
9062
9536
|
};
|
|
9537
|
+
'/settings/databases_exist': {
|
|
9538
|
+
post: {
|
|
9539
|
+
req: {
|
|
9540
|
+
requestBody: Array<(string)>;
|
|
9541
|
+
};
|
|
9542
|
+
res: {
|
|
9543
|
+
/**
|
|
9544
|
+
* databases that do not exist
|
|
9545
|
+
*/
|
|
9546
|
+
200: Array<(string)>;
|
|
9547
|
+
};
|
|
9548
|
+
};
|
|
9549
|
+
};
|
|
9550
|
+
'/settings/create_ducklake_database/{name}': {
|
|
9551
|
+
post: {
|
|
9552
|
+
req: {
|
|
9553
|
+
/**
|
|
9554
|
+
* The name of the database to create
|
|
9555
|
+
*/
|
|
9556
|
+
name: string;
|
|
9557
|
+
};
|
|
9558
|
+
res: {
|
|
9559
|
+
/**
|
|
9560
|
+
* status
|
|
9561
|
+
*/
|
|
9562
|
+
200: unknown;
|
|
9563
|
+
};
|
|
9564
|
+
};
|
|
9565
|
+
};
|
|
9063
9566
|
'/settings/global/{key}': {
|
|
9064
9567
|
get: {
|
|
9065
9568
|
req: {
|
|
@@ -9426,6 +9929,9 @@ export type $OpenApiTs = {
|
|
|
9426
9929
|
'/w/{workspace}/variables/create': {
|
|
9427
9930
|
post: {
|
|
9428
9931
|
req: {
|
|
9932
|
+
/**
|
|
9933
|
+
* whether the variable is already encrypted (default false)
|
|
9934
|
+
*/
|
|
9429
9935
|
alreadyEncrypted?: boolean;
|
|
9430
9936
|
/**
|
|
9431
9937
|
* new variable
|
|
@@ -9475,6 +9981,9 @@ export type $OpenApiTs = {
|
|
|
9475
9981
|
'/w/{workspace}/variables/update/{path}': {
|
|
9476
9982
|
post: {
|
|
9477
9983
|
req: {
|
|
9984
|
+
/**
|
|
9985
|
+
* whether the variable is already encrypted (default false)
|
|
9986
|
+
*/
|
|
9478
9987
|
alreadyEncrypted?: boolean;
|
|
9479
9988
|
path: string;
|
|
9480
9989
|
/**
|
|
@@ -9551,6 +10060,9 @@ export type $OpenApiTs = {
|
|
|
9551
10060
|
* which page to return (start at 1, default 1)
|
|
9552
10061
|
*/
|
|
9553
10062
|
page?: number;
|
|
10063
|
+
/**
|
|
10064
|
+
* filter variables by path prefix
|
|
10065
|
+
*/
|
|
9554
10066
|
pathStart?: string;
|
|
9555
10067
|
/**
|
|
9556
10068
|
* number of items to return for a given page (default 30, max 100)
|
|
@@ -9863,6 +10375,9 @@ export type $OpenApiTs = {
|
|
|
9863
10375
|
* new resource
|
|
9864
10376
|
*/
|
|
9865
10377
|
requestBody: CreateResource;
|
|
10378
|
+
/**
|
|
10379
|
+
* update the resource if it already exists (default false)
|
|
10380
|
+
*/
|
|
9866
10381
|
updateIfExists?: boolean;
|
|
9867
10382
|
workspace: string;
|
|
9868
10383
|
};
|
|
@@ -9993,6 +10508,9 @@ export type $OpenApiTs = {
|
|
|
9993
10508
|
* which page to return (start at 1, default 1)
|
|
9994
10509
|
*/
|
|
9995
10510
|
page?: number;
|
|
10511
|
+
/**
|
|
10512
|
+
* filter resources by path prefix
|
|
10513
|
+
*/
|
|
9996
10514
|
pathStart?: string;
|
|
9997
10515
|
/**
|
|
9998
10516
|
* number of items to return for a given page (default 30, max 100)
|
|
@@ -11778,16 +12296,21 @@ export type $OpenApiTs = {
|
|
|
11778
12296
|
};
|
|
11779
12297
|
};
|
|
11780
12298
|
};
|
|
11781
|
-
'/workers/
|
|
12299
|
+
'/workers/exists_workers_with_tags': {
|
|
11782
12300
|
get: {
|
|
11783
12301
|
req: {
|
|
11784
|
-
|
|
12302
|
+
/**
|
|
12303
|
+
* comma separated list of tags
|
|
12304
|
+
*/
|
|
12305
|
+
tags: string;
|
|
11785
12306
|
};
|
|
11786
12307
|
res: {
|
|
11787
12308
|
/**
|
|
11788
|
-
* whether
|
|
12309
|
+
* map of tags to whether at least one worker with the tag exists
|
|
11789
12310
|
*/
|
|
11790
|
-
200:
|
|
12311
|
+
200: {
|
|
12312
|
+
[key: string]: (boolean);
|
|
12313
|
+
};
|
|
11791
12314
|
};
|
|
11792
12315
|
};
|
|
11793
12316
|
};
|
|
@@ -11819,6 +12342,18 @@ export type $OpenApiTs = {
|
|
|
11819
12342
|
};
|
|
11820
12343
|
};
|
|
11821
12344
|
};
|
|
12345
|
+
'/workers/queue_running_counts': {
|
|
12346
|
+
get: {
|
|
12347
|
+
res: {
|
|
12348
|
+
/**
|
|
12349
|
+
* queue running counts
|
|
12350
|
+
*/
|
|
12351
|
+
200: {
|
|
12352
|
+
[key: string]: (number);
|
|
12353
|
+
};
|
|
12354
|
+
};
|
|
12355
|
+
};
|
|
12356
|
+
};
|
|
11822
12357
|
'/w/{workspace}/jobs/list_selected_job_groups': {
|
|
11823
12358
|
post: {
|
|
11824
12359
|
req: {
|
|
@@ -12339,6 +12874,23 @@ export type $OpenApiTs = {
|
|
|
12339
12874
|
};
|
|
12340
12875
|
};
|
|
12341
12876
|
};
|
|
12877
|
+
'/w/{workspace}/jobs/run_wait_result/preview': {
|
|
12878
|
+
post: {
|
|
12879
|
+
req: {
|
|
12880
|
+
/**
|
|
12881
|
+
* preview
|
|
12882
|
+
*/
|
|
12883
|
+
requestBody: Preview;
|
|
12884
|
+
workspace: string;
|
|
12885
|
+
};
|
|
12886
|
+
res: {
|
|
12887
|
+
/**
|
|
12888
|
+
* job result
|
|
12889
|
+
*/
|
|
12890
|
+
200: unknown;
|
|
12891
|
+
};
|
|
12892
|
+
};
|
|
12893
|
+
};
|
|
12342
12894
|
'/w/{workspace}/jobs/workflow_as_code/{job_id}/{entrypoint}': {
|
|
12343
12895
|
post: {
|
|
12344
12896
|
req: {
|
|
@@ -12411,6 +12963,23 @@ export type $OpenApiTs = {
|
|
|
12411
12963
|
};
|
|
12412
12964
|
};
|
|
12413
12965
|
};
|
|
12966
|
+
'/w/{workspace}/jobs/run_wait_result/preview_flow': {
|
|
12967
|
+
post: {
|
|
12968
|
+
req: {
|
|
12969
|
+
/**
|
|
12970
|
+
* preview
|
|
12971
|
+
*/
|
|
12972
|
+
requestBody: FlowPreview;
|
|
12973
|
+
workspace: string;
|
|
12974
|
+
};
|
|
12975
|
+
res: {
|
|
12976
|
+
/**
|
|
12977
|
+
* job result
|
|
12978
|
+
*/
|
|
12979
|
+
200: unknown;
|
|
12980
|
+
};
|
|
12981
|
+
};
|
|
12982
|
+
};
|
|
12414
12983
|
'/w/{workspace}/jobs/queue/list': {
|
|
12415
12984
|
get: {
|
|
12416
12985
|
req: {
|
|
@@ -13129,6 +13698,7 @@ export type $OpenApiTs = {
|
|
|
13129
13698
|
get: {
|
|
13130
13699
|
req: {
|
|
13131
13700
|
id: string;
|
|
13701
|
+
removeAnsiWarnings?: boolean;
|
|
13132
13702
|
workspace: string;
|
|
13133
13703
|
};
|
|
13134
13704
|
res: {
|
|
@@ -13139,6 +13709,20 @@ export type $OpenApiTs = {
|
|
|
13139
13709
|
};
|
|
13140
13710
|
};
|
|
13141
13711
|
};
|
|
13712
|
+
'/w/{workspace}/jobs_u/get_completed_logs_tail/{id}': {
|
|
13713
|
+
get: {
|
|
13714
|
+
req: {
|
|
13715
|
+
id: string;
|
|
13716
|
+
workspace: string;
|
|
13717
|
+
};
|
|
13718
|
+
res: {
|
|
13719
|
+
/**
|
|
13720
|
+
* completed job logs tail
|
|
13721
|
+
*/
|
|
13722
|
+
200: string;
|
|
13723
|
+
};
|
|
13724
|
+
};
|
|
13725
|
+
};
|
|
13142
13726
|
'/w/{workspace}/jobs_u/get_args/{id}': {
|
|
13143
13727
|
get: {
|
|
13144
13728
|
req: {
|
|
@@ -13159,7 +13743,9 @@ export type $OpenApiTs = {
|
|
|
13159
13743
|
getProgress?: boolean;
|
|
13160
13744
|
id: string;
|
|
13161
13745
|
logOffset?: number;
|
|
13746
|
+
noLogs?: boolean;
|
|
13162
13747
|
running?: boolean;
|
|
13748
|
+
streamOffset?: number;
|
|
13163
13749
|
workspace: string;
|
|
13164
13750
|
};
|
|
13165
13751
|
res: {
|
|
@@ -13173,7 +13759,8 @@ export type $OpenApiTs = {
|
|
|
13173
13759
|
log_offset?: number;
|
|
13174
13760
|
mem_peak?: number;
|
|
13175
13761
|
progress?: number;
|
|
13176
|
-
|
|
13762
|
+
stream_offset?: number;
|
|
13763
|
+
new_result_stream?: string;
|
|
13177
13764
|
flow_status?: FlowStatus;
|
|
13178
13765
|
workflow_as_code_status?: WorkflowStatus;
|
|
13179
13766
|
};
|
|
@@ -13186,8 +13773,10 @@ export type $OpenApiTs = {
|
|
|
13186
13773
|
getProgress?: boolean;
|
|
13187
13774
|
id: string;
|
|
13188
13775
|
logOffset?: number;
|
|
13776
|
+
noLogs?: boolean;
|
|
13189
13777
|
onlyResult?: boolean;
|
|
13190
13778
|
running?: boolean;
|
|
13779
|
+
streamOffset?: number;
|
|
13191
13780
|
workspace: string;
|
|
13192
13781
|
};
|
|
13193
13782
|
res: {
|
|
@@ -13954,6 +14543,9 @@ export type $OpenApiTs = {
|
|
|
13954
14543
|
* filter on jobs containing those args as a json subset (@> in postgres)
|
|
13955
14544
|
*/
|
|
13956
14545
|
args?: string;
|
|
14546
|
+
/**
|
|
14547
|
+
* filter schedules by whether they target a flow
|
|
14548
|
+
*/
|
|
13957
14549
|
isFlow?: boolean;
|
|
13958
14550
|
/**
|
|
13959
14551
|
* which page to return (start at 1, default 1)
|
|
@@ -13963,6 +14555,9 @@ export type $OpenApiTs = {
|
|
|
13963
14555
|
* filter by path
|
|
13964
14556
|
*/
|
|
13965
14557
|
path?: string;
|
|
14558
|
+
/**
|
|
14559
|
+
* filter schedules by path prefix
|
|
14560
|
+
*/
|
|
13966
14561
|
pathStart?: string;
|
|
13967
14562
|
/**
|
|
13968
14563
|
* number of items to return for a given page (default 30, max 100)
|
|
@@ -15250,6 +15845,9 @@ export type $OpenApiTs = {
|
|
|
15250
15845
|
get: {
|
|
15251
15846
|
req: {
|
|
15252
15847
|
path: string;
|
|
15848
|
+
/**
|
|
15849
|
+
* The name of the publication
|
|
15850
|
+
*/
|
|
15253
15851
|
publication: string;
|
|
15254
15852
|
workspace: string;
|
|
15255
15853
|
};
|
|
@@ -15265,6 +15863,9 @@ export type $OpenApiTs = {
|
|
|
15265
15863
|
post: {
|
|
15266
15864
|
req: {
|
|
15267
15865
|
path: string;
|
|
15866
|
+
/**
|
|
15867
|
+
* The name of the publication
|
|
15868
|
+
*/
|
|
15268
15869
|
publication: string;
|
|
15269
15870
|
/**
|
|
15270
15871
|
* new publication for postgres
|
|
@@ -15284,6 +15885,9 @@ export type $OpenApiTs = {
|
|
|
15284
15885
|
post: {
|
|
15285
15886
|
req: {
|
|
15286
15887
|
path: string;
|
|
15888
|
+
/**
|
|
15889
|
+
* The name of the publication
|
|
15890
|
+
*/
|
|
15287
15891
|
publication: string;
|
|
15288
15892
|
/**
|
|
15289
15893
|
* update publication for postgres
|
|
@@ -15303,6 +15907,9 @@ export type $OpenApiTs = {
|
|
|
15303
15907
|
delete: {
|
|
15304
15908
|
req: {
|
|
15305
15909
|
path: string;
|
|
15910
|
+
/**
|
|
15911
|
+
* The name of the publication
|
|
15912
|
+
*/
|
|
15306
15913
|
publication: string;
|
|
15307
15914
|
workspace: string;
|
|
15308
15915
|
};
|
|
@@ -15467,6 +16074,16 @@ export type $OpenApiTs = {
|
|
|
15467
16074
|
};
|
|
15468
16075
|
};
|
|
15469
16076
|
};
|
|
16077
|
+
'/groups/list_with_workspaces': {
|
|
16078
|
+
get: {
|
|
16079
|
+
res: {
|
|
16080
|
+
/**
|
|
16081
|
+
* instance group list with workspaces
|
|
16082
|
+
*/
|
|
16083
|
+
200: Array<InstanceGroupWithWorkspaces>;
|
|
16084
|
+
};
|
|
16085
|
+
};
|
|
16086
|
+
};
|
|
15470
16087
|
'/groups/get/{name}': {
|
|
15471
16088
|
get: {
|
|
15472
16089
|
req: {
|
|
@@ -16004,6 +16621,20 @@ export type $OpenApiTs = {
|
|
|
16004
16621
|
};
|
|
16005
16622
|
};
|
|
16006
16623
|
};
|
|
16624
|
+
'/configs/native_kubernetes_autoscaling_healthcheck': {
|
|
16625
|
+
get: {
|
|
16626
|
+
res: {
|
|
16627
|
+
/**
|
|
16628
|
+
* Kubernetes autoscaling is healthy
|
|
16629
|
+
*/
|
|
16630
|
+
200: unknown;
|
|
16631
|
+
/**
|
|
16632
|
+
* Error
|
|
16633
|
+
*/
|
|
16634
|
+
400: string;
|
|
16635
|
+
};
|
|
16636
|
+
};
|
|
16637
|
+
};
|
|
16007
16638
|
'/configs/list_available_python_versions': {
|
|
16008
16639
|
get: {
|
|
16009
16640
|
res: {
|
|
@@ -17095,4 +17726,17 @@ export type $OpenApiTs = {
|
|
|
17095
17726
|
};
|
|
17096
17727
|
};
|
|
17097
17728
|
};
|
|
17729
|
+
'/mcp/w/{workspace}/list_tools': {
|
|
17730
|
+
get: {
|
|
17731
|
+
req: {
|
|
17732
|
+
workspace: string;
|
|
17733
|
+
};
|
|
17734
|
+
res: {
|
|
17735
|
+
/**
|
|
17736
|
+
* list of MCP tools available for the workspace
|
|
17737
|
+
*/
|
|
17738
|
+
200: Array<EndpointTool>;
|
|
17739
|
+
};
|
|
17740
|
+
};
|
|
17741
|
+
};
|
|
17098
17742
|
};
|