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
|
@@ -1494,6 +1494,25 @@ export class WorkspaceService {
|
|
|
1494
1494
|
mediaType: 'application/json'
|
|
1495
1495
|
});
|
|
1496
1496
|
}
|
|
1497
|
+
/**
|
|
1498
|
+
* edit instance groups
|
|
1499
|
+
* @param data The data for the request.
|
|
1500
|
+
* @param data.workspace
|
|
1501
|
+
* @param data.requestBody Instance Groups Configuration
|
|
1502
|
+
* @returns string status
|
|
1503
|
+
* @throws ApiError
|
|
1504
|
+
*/
|
|
1505
|
+
static editInstanceGroups(data) {
|
|
1506
|
+
return __request(OpenAPI, {
|
|
1507
|
+
method: 'POST',
|
|
1508
|
+
url: '/w/{workspace}/workspaces/edit_instance_groups',
|
|
1509
|
+
path: {
|
|
1510
|
+
workspace: data.workspace
|
|
1511
|
+
},
|
|
1512
|
+
body: data.requestBody,
|
|
1513
|
+
mediaType: 'application/json'
|
|
1514
|
+
});
|
|
1515
|
+
}
|
|
1497
1516
|
/**
|
|
1498
1517
|
* edit webhook
|
|
1499
1518
|
* @param data The data for the request.
|
|
@@ -1586,6 +1605,41 @@ export class WorkspaceService {
|
|
|
1586
1605
|
mediaType: 'application/json'
|
|
1587
1606
|
});
|
|
1588
1607
|
}
|
|
1608
|
+
/**
|
|
1609
|
+
* list ducklakes
|
|
1610
|
+
* @param data The data for the request.
|
|
1611
|
+
* @param data.workspace
|
|
1612
|
+
* @returns string status
|
|
1613
|
+
* @throws ApiError
|
|
1614
|
+
*/
|
|
1615
|
+
static listDucklakes(data) {
|
|
1616
|
+
return __request(OpenAPI, {
|
|
1617
|
+
method: 'GET',
|
|
1618
|
+
url: '/w/{workspace}/workspaces/list_ducklakes',
|
|
1619
|
+
path: {
|
|
1620
|
+
workspace: data.workspace
|
|
1621
|
+
}
|
|
1622
|
+
});
|
|
1623
|
+
}
|
|
1624
|
+
/**
|
|
1625
|
+
* edit ducklake settings
|
|
1626
|
+
* @param data The data for the request.
|
|
1627
|
+
* @param data.workspace
|
|
1628
|
+
* @param data.requestBody Ducklake settings
|
|
1629
|
+
* @returns unknown status
|
|
1630
|
+
* @throws ApiError
|
|
1631
|
+
*/
|
|
1632
|
+
static editDucklakeConfig(data) {
|
|
1633
|
+
return __request(OpenAPI, {
|
|
1634
|
+
method: 'POST',
|
|
1635
|
+
url: '/w/{workspace}/workspaces/edit_ducklake_config',
|
|
1636
|
+
path: {
|
|
1637
|
+
workspace: data.workspace
|
|
1638
|
+
},
|
|
1639
|
+
body: data.requestBody,
|
|
1640
|
+
mediaType: 'application/json'
|
|
1641
|
+
});
|
|
1642
|
+
}
|
|
1589
1643
|
/**
|
|
1590
1644
|
* edit workspace git sync settings
|
|
1591
1645
|
* @param data The data for the request.
|
|
@@ -1836,6 +1890,37 @@ export class WorkspaceService {
|
|
|
1836
1890
|
}
|
|
1837
1891
|
}
|
|
1838
1892
|
export class SettingService {
|
|
1893
|
+
/**
|
|
1894
|
+
* checks that all given databases exist or else return the ones that don't
|
|
1895
|
+
* @param data The data for the request.
|
|
1896
|
+
* @param data.requestBody
|
|
1897
|
+
* @returns string databases that do not exist
|
|
1898
|
+
* @throws ApiError
|
|
1899
|
+
*/
|
|
1900
|
+
static databasesExist(data) {
|
|
1901
|
+
return __request(OpenAPI, {
|
|
1902
|
+
method: 'POST',
|
|
1903
|
+
url: '/settings/databases_exist',
|
|
1904
|
+
body: data.requestBody,
|
|
1905
|
+
mediaType: 'application/json'
|
|
1906
|
+
});
|
|
1907
|
+
}
|
|
1908
|
+
/**
|
|
1909
|
+
* Runs CREATE DATABASE on the Windmill Postgres and grants access to the ducklake_user
|
|
1910
|
+
* @param data The data for the request.
|
|
1911
|
+
* @param data.name The name of the database to create
|
|
1912
|
+
* @returns unknown status
|
|
1913
|
+
* @throws ApiError
|
|
1914
|
+
*/
|
|
1915
|
+
static createDucklakeDatabase(data) {
|
|
1916
|
+
return __request(OpenAPI, {
|
|
1917
|
+
method: 'POST',
|
|
1918
|
+
url: '/settings/create_ducklake_database/{name}',
|
|
1919
|
+
path: {
|
|
1920
|
+
name: data.name
|
|
1921
|
+
}
|
|
1922
|
+
});
|
|
1923
|
+
}
|
|
1839
1924
|
/**
|
|
1840
1925
|
* get global settings
|
|
1841
1926
|
* @param data The data for the request.
|
|
@@ -2202,7 +2287,7 @@ export class VariableService {
|
|
|
2202
2287
|
* @param data The data for the request.
|
|
2203
2288
|
* @param data.workspace
|
|
2204
2289
|
* @param data.requestBody new variable
|
|
2205
|
-
* @param data.alreadyEncrypted
|
|
2290
|
+
* @param data.alreadyEncrypted whether the variable is already encrypted (default false)
|
|
2206
2291
|
* @returns string variable created
|
|
2207
2292
|
* @throws ApiError
|
|
2208
2293
|
*/
|
|
@@ -2263,7 +2348,7 @@ export class VariableService {
|
|
|
2263
2348
|
* @param data.workspace
|
|
2264
2349
|
* @param data.path
|
|
2265
2350
|
* @param data.requestBody updated variable
|
|
2266
|
-
* @param data.alreadyEncrypted
|
|
2351
|
+
* @param data.alreadyEncrypted whether the variable is already encrypted (default false)
|
|
2267
2352
|
* @returns string variable updated
|
|
2268
2353
|
* @throws ApiError
|
|
2269
2354
|
*/
|
|
@@ -2349,7 +2434,7 @@ export class VariableService {
|
|
|
2349
2434
|
* list variables
|
|
2350
2435
|
* @param data The data for the request.
|
|
2351
2436
|
* @param data.workspace
|
|
2352
|
-
* @param data.pathStart
|
|
2437
|
+
* @param data.pathStart filter variables by path prefix
|
|
2353
2438
|
* @param data.page which page to return (start at 1, default 1)
|
|
2354
2439
|
* @param data.perPage number of items to return for a given page (default 30, max 100)
|
|
2355
2440
|
* @returns ListableVariable variable list
|
|
@@ -2623,7 +2708,7 @@ export class ResourceService {
|
|
|
2623
2708
|
* @param data The data for the request.
|
|
2624
2709
|
* @param data.workspace
|
|
2625
2710
|
* @param data.requestBody new resource
|
|
2626
|
-
* @param data.updateIfExists
|
|
2711
|
+
* @param data.updateIfExists update the resource if it already exists (default false)
|
|
2627
2712
|
* @returns string resource created
|
|
2628
2713
|
* @throws ApiError
|
|
2629
2714
|
*/
|
|
@@ -2785,7 +2870,7 @@ export class ResourceService {
|
|
|
2785
2870
|
* @param data.perPage number of items to return for a given page (default 30, max 100)
|
|
2786
2871
|
* @param data.resourceType resource_types to list from, separated by ',',
|
|
2787
2872
|
* @param data.resourceTypeExclude resource_types to not list from, separated by ',',
|
|
2788
|
-
* @param data.pathStart
|
|
2873
|
+
* @param data.pathStart filter resources by path prefix
|
|
2789
2874
|
* @returns ListableResource resource list
|
|
2790
2875
|
* @throws ApiError
|
|
2791
2876
|
*/
|
|
@@ -4666,18 +4751,18 @@ export class WorkerService {
|
|
|
4666
4751
|
});
|
|
4667
4752
|
}
|
|
4668
4753
|
/**
|
|
4669
|
-
* exists
|
|
4754
|
+
* exists workers with tags
|
|
4670
4755
|
* @param data The data for the request.
|
|
4671
|
-
* @param data.
|
|
4672
|
-
* @returns boolean whether
|
|
4756
|
+
* @param data.tags comma separated list of tags
|
|
4757
|
+
* @returns boolean map of tags to whether at least one worker with the tag exists
|
|
4673
4758
|
* @throws ApiError
|
|
4674
4759
|
*/
|
|
4675
|
-
static
|
|
4760
|
+
static existsWorkersWithTags(data) {
|
|
4676
4761
|
return __request(OpenAPI, {
|
|
4677
4762
|
method: 'GET',
|
|
4678
|
-
url: '/workers/
|
|
4763
|
+
url: '/workers/exists_workers_with_tags',
|
|
4679
4764
|
query: {
|
|
4680
|
-
|
|
4765
|
+
tags: data.tags
|
|
4681
4766
|
}
|
|
4682
4767
|
});
|
|
4683
4768
|
}
|
|
@@ -4703,6 +4788,17 @@ export class WorkerService {
|
|
|
4703
4788
|
url: '/workers/queue_counts'
|
|
4704
4789
|
});
|
|
4705
4790
|
}
|
|
4791
|
+
/**
|
|
4792
|
+
* get counts of currently running jobs per tag
|
|
4793
|
+
* @returns number queue running counts
|
|
4794
|
+
* @throws ApiError
|
|
4795
|
+
*/
|
|
4796
|
+
static getCountsOfRunningJobsPerTag() {
|
|
4797
|
+
return __request(OpenAPI, {
|
|
4798
|
+
method: 'GET',
|
|
4799
|
+
url: '/workers/queue_running_counts'
|
|
4800
|
+
});
|
|
4801
|
+
}
|
|
4706
4802
|
}
|
|
4707
4803
|
export class JobService {
|
|
4708
4804
|
/**
|
|
@@ -5133,6 +5229,25 @@ export class JobService {
|
|
|
5133
5229
|
mediaType: 'application/json'
|
|
5134
5230
|
});
|
|
5135
5231
|
}
|
|
5232
|
+
/**
|
|
5233
|
+
* run script preview and wait for result
|
|
5234
|
+
* @param data The data for the request.
|
|
5235
|
+
* @param data.workspace
|
|
5236
|
+
* @param data.requestBody preview
|
|
5237
|
+
* @returns unknown job result
|
|
5238
|
+
* @throws ApiError
|
|
5239
|
+
*/
|
|
5240
|
+
static runScriptPreviewAndWaitResult(data) {
|
|
5241
|
+
return __request(OpenAPI, {
|
|
5242
|
+
method: 'POST',
|
|
5243
|
+
url: '/w/{workspace}/jobs/run_wait_result/preview',
|
|
5244
|
+
path: {
|
|
5245
|
+
workspace: data.workspace
|
|
5246
|
+
},
|
|
5247
|
+
body: data.requestBody,
|
|
5248
|
+
mediaType: 'application/json'
|
|
5249
|
+
});
|
|
5250
|
+
}
|
|
5136
5251
|
/**
|
|
5137
5252
|
* run code-workflow task
|
|
5138
5253
|
* @param data The data for the request.
|
|
@@ -5204,6 +5319,25 @@ export class JobService {
|
|
|
5204
5319
|
mediaType: 'application/json'
|
|
5205
5320
|
});
|
|
5206
5321
|
}
|
|
5322
|
+
/**
|
|
5323
|
+
* run flow preview and wait for result
|
|
5324
|
+
* @param data The data for the request.
|
|
5325
|
+
* @param data.workspace
|
|
5326
|
+
* @param data.requestBody preview
|
|
5327
|
+
* @returns unknown job result
|
|
5328
|
+
* @throws ApiError
|
|
5329
|
+
*/
|
|
5330
|
+
static runFlowPreviewAndWaitResult(data) {
|
|
5331
|
+
return __request(OpenAPI, {
|
|
5332
|
+
method: 'POST',
|
|
5333
|
+
url: '/w/{workspace}/jobs/run_wait_result/preview_flow',
|
|
5334
|
+
path: {
|
|
5335
|
+
workspace: data.workspace
|
|
5336
|
+
},
|
|
5337
|
+
body: data.requestBody,
|
|
5338
|
+
mediaType: 'application/json'
|
|
5339
|
+
});
|
|
5340
|
+
}
|
|
5207
5341
|
/**
|
|
5208
5342
|
* list all queued jobs
|
|
5209
5343
|
* @param data The data for the request.
|
|
@@ -5711,6 +5845,7 @@ export class JobService {
|
|
|
5711
5845
|
* @param data The data for the request.
|
|
5712
5846
|
* @param data.workspace
|
|
5713
5847
|
* @param data.id
|
|
5848
|
+
* @param data.removeAnsiWarnings
|
|
5714
5849
|
* @returns string job details
|
|
5715
5850
|
* @throws ApiError
|
|
5716
5851
|
*/
|
|
@@ -5718,6 +5853,27 @@ export class JobService {
|
|
|
5718
5853
|
return __request(OpenAPI, {
|
|
5719
5854
|
method: 'GET',
|
|
5720
5855
|
url: '/w/{workspace}/jobs_u/get_logs/{id}',
|
|
5856
|
+
path: {
|
|
5857
|
+
workspace: data.workspace,
|
|
5858
|
+
id: data.id
|
|
5859
|
+
},
|
|
5860
|
+
query: {
|
|
5861
|
+
remove_ansi_warnings: data.removeAnsiWarnings
|
|
5862
|
+
}
|
|
5863
|
+
});
|
|
5864
|
+
}
|
|
5865
|
+
/**
|
|
5866
|
+
* get completed job logs tail
|
|
5867
|
+
* @param data The data for the request.
|
|
5868
|
+
* @param data.workspace
|
|
5869
|
+
* @param data.id
|
|
5870
|
+
* @returns string completed job logs tail
|
|
5871
|
+
* @throws ApiError
|
|
5872
|
+
*/
|
|
5873
|
+
static getCompletedJobLogsTail(data) {
|
|
5874
|
+
return __request(OpenAPI, {
|
|
5875
|
+
method: 'GET',
|
|
5876
|
+
url: '/w/{workspace}/jobs_u/get_completed_logs_tail/{id}',
|
|
5721
5877
|
path: {
|
|
5722
5878
|
workspace: data.workspace,
|
|
5723
5879
|
id: data.id
|
|
@@ -5749,7 +5905,9 @@ export class JobService {
|
|
|
5749
5905
|
* @param data.id
|
|
5750
5906
|
* @param data.running
|
|
5751
5907
|
* @param data.logOffset
|
|
5908
|
+
* @param data.streamOffset
|
|
5752
5909
|
* @param data.getProgress
|
|
5910
|
+
* @param data.noLogs
|
|
5753
5911
|
* @returns unknown job details
|
|
5754
5912
|
* @throws ApiError
|
|
5755
5913
|
*/
|
|
@@ -5764,7 +5922,9 @@ export class JobService {
|
|
|
5764
5922
|
query: {
|
|
5765
5923
|
running: data.running,
|
|
5766
5924
|
log_offset: data.logOffset,
|
|
5767
|
-
|
|
5925
|
+
stream_offset: data.streamOffset,
|
|
5926
|
+
get_progress: data.getProgress,
|
|
5927
|
+
no_logs: data.noLogs
|
|
5768
5928
|
}
|
|
5769
5929
|
});
|
|
5770
5930
|
}
|
|
@@ -5775,8 +5935,10 @@ export class JobService {
|
|
|
5775
5935
|
* @param data.id
|
|
5776
5936
|
* @param data.running
|
|
5777
5937
|
* @param data.logOffset
|
|
5938
|
+
* @param data.streamOffset
|
|
5778
5939
|
* @param data.getProgress
|
|
5779
5940
|
* @param data.onlyResult
|
|
5941
|
+
* @param data.noLogs
|
|
5780
5942
|
* @returns string server-sent events stream of job updates
|
|
5781
5943
|
* @throws ApiError
|
|
5782
5944
|
*/
|
|
@@ -5791,8 +5953,10 @@ export class JobService {
|
|
|
5791
5953
|
query: {
|
|
5792
5954
|
running: data.running,
|
|
5793
5955
|
log_offset: data.logOffset,
|
|
5956
|
+
stream_offset: data.streamOffset,
|
|
5794
5957
|
get_progress: data.getProgress,
|
|
5795
|
-
only_result: data.onlyResult
|
|
5958
|
+
only_result: data.onlyResult,
|
|
5959
|
+
no_logs: data.noLogs
|
|
5796
5960
|
}
|
|
5797
5961
|
});
|
|
5798
5962
|
}
|
|
@@ -6649,8 +6813,8 @@ export class ScheduleService {
|
|
|
6649
6813
|
* @param data.perPage number of items to return for a given page (default 30, max 100)
|
|
6650
6814
|
* @param data.args filter on jobs containing those args as a json subset (@> in postgres)
|
|
6651
6815
|
* @param data.path filter by path
|
|
6652
|
-
* @param data.isFlow
|
|
6653
|
-
* @param data.pathStart
|
|
6816
|
+
* @param data.isFlow filter schedules by whether they target a flow
|
|
6817
|
+
* @param data.pathStart filter schedules by path prefix
|
|
6654
6818
|
* @returns Schedule schedule list
|
|
6655
6819
|
* @throws ApiError
|
|
6656
6820
|
*/
|
|
@@ -8116,7 +8280,7 @@ export class PostgresTriggerService {
|
|
|
8116
8280
|
* @param data The data for the request.
|
|
8117
8281
|
* @param data.workspace
|
|
8118
8282
|
* @param data.path
|
|
8119
|
-
* @param data.publication
|
|
8283
|
+
* @param data.publication The name of the publication
|
|
8120
8284
|
* @returns PublicationData postgres publication get
|
|
8121
8285
|
* @throws ApiError
|
|
8122
8286
|
*/
|
|
@@ -8136,7 +8300,7 @@ export class PostgresTriggerService {
|
|
|
8136
8300
|
* @param data The data for the request.
|
|
8137
8301
|
* @param data.workspace
|
|
8138
8302
|
* @param data.path
|
|
8139
|
-
* @param data.publication
|
|
8303
|
+
* @param data.publication The name of the publication
|
|
8140
8304
|
* @param data.requestBody new publication for postgres
|
|
8141
8305
|
* @returns string publication created
|
|
8142
8306
|
* @throws ApiError
|
|
@@ -8159,7 +8323,7 @@ export class PostgresTriggerService {
|
|
|
8159
8323
|
* @param data The data for the request.
|
|
8160
8324
|
* @param data.workspace
|
|
8161
8325
|
* @param data.path
|
|
8162
|
-
* @param data.publication
|
|
8326
|
+
* @param data.publication The name of the publication
|
|
8163
8327
|
* @param data.requestBody update publication for postgres
|
|
8164
8328
|
* @returns string publication updated
|
|
8165
8329
|
* @throws ApiError
|
|
@@ -8182,7 +8346,7 @@ export class PostgresTriggerService {
|
|
|
8182
8346
|
* @param data The data for the request.
|
|
8183
8347
|
* @param data.workspace
|
|
8184
8348
|
* @param data.path
|
|
8185
|
-
* @param data.publication
|
|
8349
|
+
* @param data.publication The name of the publication
|
|
8186
8350
|
* @returns string postgres publication deleted
|
|
8187
8351
|
* @throws ApiError
|
|
8188
8352
|
*/
|
|
@@ -8372,6 +8536,17 @@ export class GroupService {
|
|
|
8372
8536
|
url: '/groups/list'
|
|
8373
8537
|
});
|
|
8374
8538
|
}
|
|
8539
|
+
/**
|
|
8540
|
+
* list instance groups with workspace information
|
|
8541
|
+
* @returns InstanceGroupWithWorkspaces instance group list with workspaces
|
|
8542
|
+
* @throws ApiError
|
|
8543
|
+
*/
|
|
8544
|
+
static listInstanceGroupsWithWorkspaces() {
|
|
8545
|
+
return __request(OpenAPI, {
|
|
8546
|
+
method: 'GET',
|
|
8547
|
+
url: '/groups/list_with_workspaces'
|
|
8548
|
+
});
|
|
8549
|
+
}
|
|
8375
8550
|
/**
|
|
8376
8551
|
* get instance group
|
|
8377
8552
|
* @param data The data for the request.
|
|
@@ -8951,6 +9126,20 @@ export class ConfigService {
|
|
|
8951
9126
|
}
|
|
8952
9127
|
});
|
|
8953
9128
|
}
|
|
9129
|
+
/**
|
|
9130
|
+
* Check Kubernetes autoscaling health for a worker group
|
|
9131
|
+
* @returns unknown Kubernetes autoscaling is healthy
|
|
9132
|
+
* @throws ApiError
|
|
9133
|
+
*/
|
|
9134
|
+
static nativeKubernetesAutoscalingHealthcheck() {
|
|
9135
|
+
return __request(OpenAPI, {
|
|
9136
|
+
method: 'GET',
|
|
9137
|
+
url: '/configs/native_kubernetes_autoscaling_healthcheck',
|
|
9138
|
+
errors: {
|
|
9139
|
+
400: 'Error'
|
|
9140
|
+
}
|
|
9141
|
+
});
|
|
9142
|
+
}
|
|
8954
9143
|
/**
|
|
8955
9144
|
* Get currently available python versions provided by UV.
|
|
8956
9145
|
* @returns string List of python versions
|
|
@@ -10198,3 +10387,21 @@ export class AssetService {
|
|
|
10198
10387
|
});
|
|
10199
10388
|
}
|
|
10200
10389
|
}
|
|
10390
|
+
export class McpService {
|
|
10391
|
+
/**
|
|
10392
|
+
* list available MCP tools
|
|
10393
|
+
* @param data The data for the request.
|
|
10394
|
+
* @param data.workspace
|
|
10395
|
+
* @returns EndpointTool list of MCP tools available for the workspace
|
|
10396
|
+
* @throws ApiError
|
|
10397
|
+
*/
|
|
10398
|
+
static listMcpTools(data) {
|
|
10399
|
+
return __request(OpenAPI, {
|
|
10400
|
+
method: 'GET',
|
|
10401
|
+
url: '/mcp/w/{workspace}/list_tools',
|
|
10402
|
+
path: {
|
|
10403
|
+
workspace: data.workspace
|
|
10404
|
+
}
|
|
10405
|
+
});
|
|
10406
|
+
}
|
|
10407
|
+
}
|