windmill-components 1.677.1 → 1.687.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/AppConnectInner.svelte +6 -0
- package/package/components/CiTestResults.svelte +64 -0
- package/package/components/CiTestResults.svelte.d.ts +7 -0
- package/package/components/CompareWorkspaces.svelte +626 -418
- package/package/components/DBManager.svelte +35 -4
- package/package/components/DBManager.svelte.d.ts +2 -0
- package/package/components/DBManagerContent.svelte +3 -1
- package/package/components/DBManagerContent.svelte.d.ts +3 -0
- package/package/components/DBManagerDrawer.svelte +145 -3
- package/package/components/DBTableEditor.svelte +14 -4
- package/package/components/DatatablePicker.svelte +2 -5
- package/package/components/DatatableSchemaDiff.svelte +531 -0
- package/package/components/DatatableSchemaDiff.svelte.d.ts +29 -0
- package/package/components/DedicatedWorkersSelector.svelte +4 -2
- package/package/components/DefaultTagsInner.svelte +42 -2
- package/package/components/DeployWorkspaceDrawer.svelte +1 -1
- package/package/components/Dev.svelte +20 -3
- package/package/components/Editor.svelte +1 -1
- package/package/components/EditorBar.svelte +1 -1
- package/package/components/EditorBar.svelte.d.ts +1 -1
- package/package/components/FlowStatusViewerInner.svelte +269 -220
- package/package/components/FlowTimeline.svelte +1 -1
- package/package/components/FolderEditor.svelte +189 -4
- package/package/components/ForkWorkspaceBanner.svelte +82 -11
- package/package/components/GlobalUserOffboardingModal.svelte +293 -0
- package/package/components/GlobalUserOffboardingModal.svelte.d.ts +10 -0
- package/package/components/InstanceSettings.svelte +22 -3
- package/package/components/Login.svelte +22 -10
- package/package/components/ModuleTest.svelte +2 -1
- package/package/components/NoMainFuncBadge.svelte +1 -1
- package/package/components/OffboardItemsBox.svelte +56 -0
- package/package/components/OffboardItemsBox.svelte.d.ts +12 -0
- package/package/components/OffboardReassignControls.svelte +47 -0
- package/package/components/OffboardReassignControls.svelte.d.ts +20 -0
- package/package/components/OffboardWorkspaceSection.svelte +110 -0
- package/package/components/OffboardWorkspaceSection.svelte.d.ts +24 -0
- package/package/components/OnBehalfOfSelector.svelte +21 -3
- package/package/components/OnBehalfOfSelector.svelte.d.ts +7 -0
- package/package/components/QueueAlerts.svelte +10 -10
- package/package/components/ResourcePicker.svelte +2 -2
- package/package/components/ScriptBuilder.svelte +52 -11
- package/package/components/ScriptEditor.svelte +1 -3
- package/package/components/ScriptEditor.svelte.d.ts +1 -1
- package/package/components/ShareModal.svelte +236 -98
- package/package/components/SuperadminSettingsInner.svelte +362 -315
- package/package/components/UserOffboardingModal.svelte +238 -0
- package/package/components/UserOffboardingModal.svelte.d.ts +10 -0
- package/package/components/WorkspaceDeployLayout.svelte +3 -3
- package/package/components/WorkspaceDeployLayout.svelte.d.ts +1 -0
- package/package/components/apps/editor/inlineScriptsPanel/InlineScriptRunnableByPath.svelte +4 -2
- package/package/components/apps/editor/settingsPanel/mainInput/RunnableSelector.svelte +12 -0
- package/package/components/assets/AssetsDropdownButton.svelte +1 -1
- package/package/components/common/confirmationModal/ConfirmationModal.svelte +1 -1
- package/package/components/common/table/AppRow.svelte +3 -3
- package/package/components/common/table/FlowRow.svelte +3 -3
- package/package/components/common/table/RawAppRow.svelte +4 -4
- package/package/components/common/table/Row.svelte +6 -2
- package/package/components/common/table/ScriptRow.svelte +11 -3
- package/package/components/copilot/chat/AIChatManager.svelte.js +2 -2
- package/package/components/copilot/chat/anthropic.d.ts +7 -1
- package/package/components/copilot/chat/anthropic.js +5 -2
- package/package/components/copilot/chat/app/core.js +129 -1
- package/package/components/copilot/chat/app/core.test.js +192 -0
- package/package/components/copilot/chat/chatLoop.d.ts +3 -0
- package/package/components/copilot/chat/chatLoop.js +13 -5
- package/package/components/copilot/chat/flow/FlowAIChat.svelte +55 -76
- package/package/components/copilot/chat/flow/core.d.ts +13 -3
- package/package/components/copilot/chat/flow/core.js +467 -116
- package/package/components/copilot/chat/flow/helperUtils.d.ts +19 -0
- package/package/components/copilot/chat/flow/helperUtils.js +68 -0
- package/package/components/copilot/chat/flow/helperUtils.test.js +116 -0
- package/package/components/copilot/chat/flow/inlineScriptsUtils.d.ts +5 -24
- package/package/components/copilot/chat/flow/inlineScriptsUtils.js +30 -55
- package/package/components/copilot/chat/flow/utils.test.js +59 -0
- package/package/components/copilot/chat/openai-responses.d.ts +7 -1
- package/package/components/copilot/chat/openai-responses.js +5 -2
- package/package/components/copilot/chat/shared.d.ts +1 -2
- package/package/components/copilot/chat/shared.js +94 -52
- package/package/components/copilot/chat/tokenUsage.d.ts +23 -0
- package/package/components/copilot/chat/tokenUsage.js +42 -0
- package/package/components/copilot/lib.d.ts +5 -1
- package/package/components/copilot/lib.js +21 -5
- package/package/components/deploymentRequest/DeploymentRequestPanel.svelte +337 -0
- package/package/components/deploymentRequest/DeploymentRequestPanel.svelte.d.ts +15 -0
- package/package/components/details/CopyableCodeBlock.svelte +18 -8
- package/package/components/details/CopyableCodeBlock.svelte.d.ts +1 -0
- package/package/components/flows/FlowAssetsHandler.svelte +19 -21
- package/package/components/flows/agentToolTree.d.ts +17 -0
- package/package/components/flows/agentToolTree.js +114 -0
- package/package/components/flows/agentToolTree.test.d.ts +1 -0
- package/package/components/flows/agentToolTree.test.js +86 -0
- package/package/components/flows/agentToolUtils.d.ts +0 -5
- package/package/components/flows/agentToolUtils.js +0 -49
- package/package/components/flows/content/FlowLoop.svelte +7 -4
- package/package/components/flows/content/FlowModuleDeleteAfterUse.svelte +15 -7
- package/package/components/flows/content/FlowSettings.svelte +29 -0
- package/package/components/flows/dfs.d.ts +6 -2
- package/package/components/flows/dfs.js +19 -11
- package/package/components/flows/flowDeleteController.d.ts +32 -0
- package/package/components/flows/flowDeleteController.js +54 -0
- package/package/components/flows/flowDeleteController.test.d.ts +1 -0
- package/package/components/flows/flowDeleteController.test.js +121 -0
- package/package/components/flows/flowDeleteUtils.d.ts +48 -0
- package/package/components/flows/flowDeleteUtils.js +150 -0
- package/package/components/flows/flowDeleteUtils.test.d.ts +1 -0
- package/package/components/flows/flowDeleteUtils.test.js +131 -0
- package/package/components/flows/flowDiff.d.ts +2 -47
- package/package/components/flows/flowDiff.js +16 -293
- package/package/components/flows/flowDiff.testUtils.d.ts +8 -0
- package/package/components/flows/flowDiff.testUtils.js +26 -0
- package/package/components/flows/flowDiffManager.svelte.js +20 -75
- package/package/components/flows/flowDiffManager.svelte.test.js +103 -2
- package/package/components/flows/flowExplorer.d.ts +4 -0
- package/package/components/flows/flowExplorer.js +7 -30
- package/package/components/flows/flowState.d.ts +1 -0
- package/package/components/flows/flowStateUtils.svelte.js +6 -1
- package/package/components/flows/flowTree.d.ts +91 -0
- package/package/components/flows/flowTree.js +326 -0
- package/package/components/flows/flowTree.test.d.ts +1 -0
- package/package/components/flows/flowTree.test.js +236 -0
- package/package/components/flows/map/FlowJobsMenu.svelte +36 -30
- package/package/components/flows/map/FlowModuleSchemaItem.svelte +1 -1
- package/package/components/flows/map/FlowModuleSchemaMap.svelte +70 -227
- package/package/components/flows/map/FlowModuleSchemaMap.svelte.d.ts +0 -2
- package/package/components/flows/pickers/PickHubScriptQuick.svelte +2 -2
- package/package/components/flows/previousResults.js +13 -41
- package/package/components/flows/previousResults.test.d.ts +1 -0
- package/package/components/flows/previousResults.test.js +65 -0
- package/package/components/flows/propPicker/OutputPicker.svelte +2 -1
- package/package/components/flows/propPicker/OutputPickerInner.svelte +41 -4
- package/package/components/flows/propPicker/StepHistory.svelte +9 -1
- package/package/components/git_sync/GitSyncContext.svelte.js +11 -5
- package/package/components/git_sync/GitSyncRepositoryCard.svelte +2 -29
- package/package/components/git_sync/PullWorkspaceModal.svelte +6 -7
- package/package/components/graph/FlowGraphV2.svelte +2 -2
- package/package/components/graph/FlowGraphV2.svelte.d.ts +1 -0
- package/package/components/graph/groupedModulesProxy.svelte.d.ts +10 -0
- package/package/components/graph/groupedModulesProxy.svelte.js +17 -1
- package/package/components/graph/renderers/triggers/TriggersBadge.svelte +5 -2
- package/package/components/home/HomeConnectDrawer.svelte +125 -0
- package/package/components/home/HomeConnectDrawer.svelte.d.ts +5 -0
- package/package/components/icons/GithubIcon.svelte +4 -4
- package/package/components/icons/GithubIcon.svelte.d.ts +5 -2
- package/package/components/instanceSettings/ExternalJwtTokens.svelte +85 -0
- package/package/components/instanceSettings/ExternalJwtTokens.svelte.d.ts +12 -0
- package/package/components/instanceSettings/GhesAppSettings.svelte +17 -0
- package/package/components/instanceSettings/IndexerMemorySettings.svelte +56 -29
- package/package/components/instanceSettings/SecretBackendConfig.svelte +9 -2
- package/package/components/instanceSettings.d.ts +1 -0
- package/package/components/instanceSettings.js +42 -8
- package/package/components/offboarding-utils.d.ts +11 -0
- package/package/components/offboarding-utils.js +100 -0
- package/package/components/raw_apps/RawAppDataTableDrawer.svelte +1 -1
- package/package/components/raw_apps/RawAppEditor.svelte +27 -0
- package/package/components/raw_apps/RawAppEditorHeader.svelte +6 -1
- package/package/components/raw_apps/RawAppEditorHeader.svelte.d.ts +1 -0
- package/package/components/raw_apps/RawAppYamlEditor.svelte +81 -0
- package/package/components/raw_apps/RawAppYamlEditor.svelte.d.ts +20 -0
- package/package/components/raw_apps/datatableUtils.svelte.js +1 -1
- package/package/components/runs/runsFilter.d.ts +1 -1
- package/package/components/script_builder.d.ts +1 -1
- package/package/components/select/Select.svelte +2 -1
- package/package/components/select/Select.svelte.d.ts +1 -0
- package/package/components/settings/CreateToken.svelte +113 -64
- package/package/components/settings/CreateToken.svelte.d.ts +3 -0
- package/package/components/settings/WorkspaceUserSettings.svelte +34 -28
- package/package/components/sidebar/SidebarContent.svelte +58 -2
- package/package/components/sidebar/WorkspaceMenu.svelte +8 -4
- package/package/components/triggers/AddTriggersButton.svelte +11 -0
- package/package/components/triggers/PermissionedAsLine.svelte +37 -3
- package/package/components/triggers/PermissionedAsLine.svelte.d.ts +6 -0
- package/package/components/triggers/TriggersEditor.svelte +5 -1
- package/package/components/triggers/TriggersWrapper.svelte +10 -0
- package/package/components/triggers/email/EmailTriggerEditorInner.svelte +13 -11
- package/package/components/triggers/gcp/GcpTriggerEditorInner.svelte +13 -11
- package/package/components/triggers/http/RouteEditorConfigSection.svelte +15 -7
- package/package/components/triggers/http/RouteEditorInner.svelte +14 -14
- package/package/components/triggers/http/RoutesGenerator.svelte +6 -1
- package/package/components/triggers/http/RoutesPanel.svelte +1 -1
- package/package/components/triggers/http/utils.d.ts +1 -1
- package/package/components/triggers/http/utils.js +2 -2
- package/package/components/triggers/kafka/KafkaTriggerEditorInner.svelte +13 -11
- package/package/components/triggers/mqtt/MqttTriggerEditorInner.svelte +13 -11
- package/package/components/triggers/native/NativeTriggerEditor.svelte +3 -0
- package/package/components/triggers/native/services/github/GitHubTriggerForm.svelte +118 -0
- package/package/components/triggers/native/services/github/GitHubTriggerForm.svelte.d.ts +17 -0
- package/package/components/triggers/native/utils.js +14 -0
- package/package/components/triggers/nats/NatsTriggerEditor.svelte.d.ts +4 -3
- package/package/components/triggers/nats/NatsTriggerEditorInner.svelte +13 -11
- package/package/components/triggers/postgres/PostgresTriggerEditor.svelte.d.ts +4 -3
- package/package/components/triggers/postgres/PostgresTriggerEditorInner.svelte +13 -11
- package/package/components/triggers/schedules/ScheduleEditorInner.svelte +13 -11
- package/package/components/triggers/sqs/SqsTriggerEditor.svelte.d.ts +4 -3
- package/package/components/triggers/sqs/SqsTriggerEditorInner.svelte +13 -11
- package/package/components/triggers/triggers.svelte.js +1 -0
- package/package/components/triggers/utils.js +27 -6
- package/package/components/triggers/websocket/WebsocketTriggerEditorInner.svelte +13 -11
- package/package/components/triggers.d.ts +1 -1
- package/package/components/useFolderDefaultPermissionedAs.svelte.d.ts +13 -0
- package/package/components/useFolderDefaultPermissionedAs.svelte.js +63 -0
- package/package/components/workspaceSettings/CreateWorkspace.svelte +16 -677
- package/package/components/workspaceSettings/CreateWorkspaceInner.svelte +604 -0
- package/package/components/workspaceSettings/CreateWorkspaceInner.svelte.d.ts +7 -0
- package/package/components/workspaceSettings/CustomInstanceDbSelect.svelte +27 -25
- package/package/components/workspaceSettings/CustomInstanceDbWizardModal.svelte +46 -8
- package/package/components/workspaceSettings/DataTableSettings.svelte +27 -22
- package/package/components/workspaceSettings/DucklakeSettings.svelte +1 -1
- package/package/components/workspaceSettings/ForkDatatableSection.svelte +228 -0
- package/package/components/workspaceSettings/ForkDatatableSection.svelte.d.ts +28 -0
- package/package/components/workspaceSettings/GitSyncFilterSettings.svelte +8 -2
- package/package/components/workspaceSettings/RulesetEditor.svelte +27 -2
- package/package/components/workspaceSettings/VolumeStorageSettings.svelte +1 -1
- package/package/components/workspaceSettings/WorkspaceIntegrations.svelte +17 -1
- package/package/consts.d.ts +3 -0
- package/package/consts.js +10 -0
- package/package/gen/core/OpenAPI.js +1 -1
- package/package/gen/schemas.gen.d.ts +485 -19
- package/package/gen/schemas.gen.js +489 -20
- package/package/gen/services.gen.d.ts +229 -2
- package/package/gen/services.gen.js +463 -1
- package/package/gen/types.gen.d.ts +866 -29
- package/package/githubApp.js +5 -1
- package/package/hubPaths.json +1 -4
- package/package/infer.js +13 -1
- package/package/infer.svelte.js +10 -1
- package/package/monaco_workers/sqlTypePlugin.worker.d.ts +10 -0
- package/package/monaco_workers/sqlTypePlugin.worker.js +39 -0
- package/package/script_helpers.d.ts +8 -2
- package/package/script_helpers.js +14 -0
- package/package/stores.d.ts +4 -0
- package/package/stores.js +1 -0
- package/package/system_prompts/prompts.d.ts +4 -3
- package/package/system_prompts/prompts.js +270 -20
- package/package/templates/ci_test_bun.ts.template +19 -0
- package/package/templates/ci_test_python.py.template +18 -0
- package/package/utils_workspace_deploy.d.ts +8 -8
- package/package/utils_workspace_deploy.js +86 -420
- package/package.json +3 -3
- package/package/components/copilot/chat/__tests__/app/appChat.eval.test.js +0 -153
- package/package/components/copilot/chat/__tests__/app/appEvalComparison.d.ts +0 -21
- package/package/components/copilot/chat/__tests__/app/appEvalComparison.js +0 -136
- package/package/components/copilot/chat/__tests__/app/appEvalHelpers.d.ts +0 -15
- package/package/components/copilot/chat/__tests__/app/appEvalHelpers.js +0 -107
- package/package/components/copilot/chat/__tests__/app/appEvalRunner.d.ts +0 -50
- package/package/components/copilot/chat/__tests__/app/appEvalRunner.js +0 -93
- package/package/components/copilot/chat/__tests__/app/appFixtureLoader.d.ts +0 -29
- package/package/components/copilot/chat/__tests__/app/appFixtureLoader.js +0 -134
- package/package/components/copilot/chat/__tests__/app/appResultsWriter.d.ts +0 -30
- package/package/components/copilot/chat/__tests__/app/appResultsWriter.js +0 -197
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/createFolder/main.d.ts +0 -10
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/createFolder/main.js +0 -9
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/createFolder/meta.json +0 -4
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/deleteItem/main.d.ts +0 -6
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/deleteItem/main.js +0 -5
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/deleteItem/meta.json +0 -4
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/listFiles/main.d.ts +0 -12
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/listFiles/main.js +0 -14
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/listFiles/meta.json +0 -4
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/listFolders/main.d.ts +0 -8
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/listFolders/main.js +0 -25
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/listFolders/meta.json +0 -4
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/moveItem/main.d.ts +0 -7
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/moveItem/main.js +0 -5
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/moveItem/meta.json +0 -4
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/renameItem/main.d.ts +0 -8
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/renameItem/main.js +0 -5
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/renameItem/meta.json +0 -4
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/components/Breadcrumb.d.ts +0 -10
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/components/Breadcrumb.tsx +0 -26
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/components/FileItem.d.ts +0 -10
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/components/FileItem.tsx +0 -79
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/components/FileList.d.ts +0 -10
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/components/FileList.tsx +0 -46
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/components/FolderTree.d.ts +0 -10
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/components/FolderTree.tsx +0 -56
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/components/Toolbar.d.ts +0 -6
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/components/Toolbar.tsx +0 -59
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/index.d.ts +0 -16
- package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/index.tsx +0 -119
- package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/addToCart/main.d.ts +0 -15
- package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/addToCart/main.js +0 -14
- package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/addToCart/meta.json +0 -4
- package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/calculateTotal/main.d.ts +0 -14
- package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/calculateTotal/main.js +0 -5
- package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/calculateTotal/meta.json +0 -4
- package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/getProducts/main.d.ts +0 -6
- package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/getProducts/main.js +0 -41
- package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/getProducts/meta.json +0 -4
- package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/removeFromCart/main.d.ts +0 -15
- package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/removeFromCart/main.js +0 -3
- package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/removeFromCart/meta.json +0 -4
- package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/frontend/components/Cart.d.ts +0 -9
- package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/frontend/components/Cart.tsx +0 -51
- package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/frontend/components/ProductCard.d.ts +0 -8
- package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/frontend/components/ProductCard.tsx +0 -27
- package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/frontend/components/ProductList.d.ts +0 -8
- package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/frontend/components/ProductList.tsx +0 -18
- package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/frontend/index.d.ts +0 -12
- package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/frontend/index.tsx +0 -81
- package/package/components/copilot/chat/__tests__/app/initial/test1_counter_app/backend/decrementCounter/main.d.ts +0 -3
- package/package/components/copilot/chat/__tests__/app/initial/test1_counter_app/backend/decrementCounter/main.js +0 -3
- package/package/components/copilot/chat/__tests__/app/initial/test1_counter_app/backend/decrementCounter/meta.json +0 -4
- package/package/components/copilot/chat/__tests__/app/initial/test1_counter_app/backend/incrementCounter/main.d.ts +0 -3
- package/package/components/copilot/chat/__tests__/app/initial/test1_counter_app/backend/incrementCounter/main.js +0 -3
- package/package/components/copilot/chat/__tests__/app/initial/test1_counter_app/backend/incrementCounter/meta.json +0 -4
- package/package/components/copilot/chat/__tests__/app/initial/test1_counter_app/frontend/index.d.ts +0 -2
- package/package/components/copilot/chat/__tests__/app/initial/test1_counter_app/frontend/index.tsx +0 -38
- package/package/components/copilot/chat/__tests__/app/variants/baseline.d.ts +0 -6
- package/package/components/copilot/chat/__tests__/app/variants/baseline.js +0 -10
- package/package/components/copilot/chat/__tests__/app/variants/index.d.ts +0 -3
- package/package/components/copilot/chat/__tests__/app/variants/index.js +0 -3
- package/package/components/copilot/chat/__tests__/app/variants/streamlined.d.ts +0 -6
- package/package/components/copilot/chat/__tests__/app/variants/streamlined.js +0 -137
- package/package/components/copilot/chat/__tests__/flow/expected/test1.json +0 -134
- package/package/components/copilot/chat/__tests__/flow/expected/test2.json +0 -183
- package/package/components/copilot/chat/__tests__/flow/expected/test3.json +0 -204
- package/package/components/copilot/chat/__tests__/flow/expected/test4.json +0 -175
- package/package/components/copilot/chat/__tests__/flow/expected/test5_modify_simple.json +0 -68
- package/package/components/copilot/chat/__tests__/flow/expected/test6_modify_medium.json +0 -142
- package/package/components/copilot/chat/__tests__/flow/expected/test7_modify_complex.json +0 -136
- package/package/components/copilot/chat/__tests__/flow/flowChat.eval.test.js +0 -294
- package/package/components/copilot/chat/__tests__/flow/flowEvalComparison.d.ts +0 -17
- package/package/components/copilot/chat/__tests__/flow/flowEvalComparison.js +0 -49
- package/package/components/copilot/chat/__tests__/flow/flowEvalHelpers.d.ts +0 -12
- package/package/components/copilot/chat/__tests__/flow/flowEvalHelpers.js +0 -79
- package/package/components/copilot/chat/__tests__/flow/flowEvalRunner.d.ts +0 -50
- package/package/components/copilot/chat/__tests__/flow/flowEvalRunner.js +0 -102
- package/package/components/copilot/chat/__tests__/flow/initial/test5_initial.json +0 -53
- package/package/components/copilot/chat/__tests__/flow/initial/test6_initial.json +0 -68
- package/package/components/copilot/chat/__tests__/flow/initial/test7_initial.json +0 -120
- package/package/components/copilot/chat/__tests__/flow/variants/baseline.d.ts +0 -6
- package/package/components/copilot/chat/__tests__/flow/variants/baseline.js +0 -10
- package/package/components/copilot/chat/__tests__/flow/variants/index.d.ts +0 -3
- package/package/components/copilot/chat/__tests__/flow/variants/index.js +0 -3
- package/package/components/copilot/chat/__tests__/flow/variants/minimal-single-tool.d.ts +0 -15
- package/package/components/copilot/chat/__tests__/flow/variants/minimal-single-tool.js +0 -388
- package/package/components/copilot/chat/__tests__/shared/baseEvalRunner.d.ts +0 -45
- package/package/components/copilot/chat/__tests__/shared/baseEvalRunner.js +0 -121
- package/package/components/copilot/chat/__tests__/shared/baseLLMEvaluator.d.ts +0 -28
- package/package/components/copilot/chat/__tests__/shared/baseLLMEvaluator.js +0 -96
- package/package/components/copilot/chat/__tests__/shared/baseResultsWriter.d.ts +0 -32
- package/package/components/copilot/chat/__tests__/shared/baseResultsWriter.js +0 -130
- package/package/components/copilot/chat/__tests__/shared/baseVariants.d.ts +0 -45
- package/package/components/copilot/chat/__tests__/shared/baseVariants.js +0 -57
- package/package/components/copilot/chat/__tests__/shared/index.d.ts +0 -10
- package/package/components/copilot/chat/__tests__/shared/index.js +0 -5
- package/package/components/copilot/chat/__tests__/shared/types.d.ts +0 -105
- package/package/components/copilot/chat/__tests__/shared/types.js +0 -9
- package/package/components/copilot/chat/flow/utils.d.ts +0 -14
- package/package/components/copilot/chat/flow/utils.js +0 -108
- package/package/components/flows/agentToolUtils.test.js +0 -55
- /package/package/components/copilot/chat/{__tests__/app/appChat.eval.test.d.ts → app/core.test.d.ts} +0 -0
- /package/package/components/copilot/chat/{__tests__/flow/flowChat.eval.test.d.ts → flow/helperUtils.test.d.ts} +0 -0
- /package/package/components/{flows/agentToolUtils.test.d.ts → copilot/chat/flow/utils.test.d.ts} +0 -0
|
@@ -83,6 +83,10 @@ export type FlowValue = {
|
|
|
83
83
|
*/
|
|
84
84
|
cache_ttl?: number;
|
|
85
85
|
cache_ignore_s3_path?: boolean;
|
|
86
|
+
/**
|
|
87
|
+
* If set, delete the flow job's args, result and logs after this many seconds following job completion
|
|
88
|
+
*/
|
|
89
|
+
delete_after_secs?: number;
|
|
86
90
|
/**
|
|
87
91
|
* Environment variables available to all steps. Values can be strings, JSON values, or special references: '$var:path' (workspace variable) or '$res:path' (resource).
|
|
88
92
|
*/
|
|
@@ -240,9 +244,9 @@ export type FlowModule = {
|
|
|
240
244
|
*/
|
|
241
245
|
timeout?: InputTransform;
|
|
242
246
|
/**
|
|
243
|
-
* If
|
|
247
|
+
* If set, delete the step's args, result and logs after this many seconds following job completion
|
|
244
248
|
*/
|
|
245
|
-
|
|
249
|
+
delete_after_secs?: number;
|
|
246
250
|
/**
|
|
247
251
|
* Short description of what this step does
|
|
248
252
|
*/
|
|
@@ -875,6 +879,12 @@ export type FlowNote = {
|
|
|
875
879
|
*/
|
|
876
880
|
contained_node_ids?: Array<(string)>;
|
|
877
881
|
};
|
|
882
|
+
export type CiTestResult = {
|
|
883
|
+
test_script_path: string;
|
|
884
|
+
job_id?: string | null;
|
|
885
|
+
status?: string | null;
|
|
886
|
+
started_at?: string | null;
|
|
887
|
+
};
|
|
878
888
|
/**
|
|
879
889
|
* Health status response (cached with 5s TTL)
|
|
880
890
|
*/
|
|
@@ -1117,6 +1127,10 @@ export type VaultSettings = {
|
|
|
1117
1127
|
* Static Vault token for testing/development (optional, if provided this is used instead of JWT authentication)
|
|
1118
1128
|
*/
|
|
1119
1129
|
token?: string;
|
|
1130
|
+
/**
|
|
1131
|
+
* Skip TLS certificate verification when connecting to Vault. Only use for self-signed certificates in development environments.
|
|
1132
|
+
*/
|
|
1133
|
+
skip_ssl_verify?: boolean;
|
|
1120
1134
|
};
|
|
1121
1135
|
export type AzureKeyVaultSettings = {
|
|
1122
1136
|
/**
|
|
@@ -1411,7 +1425,10 @@ export type Script = {
|
|
|
1411
1425
|
priority?: number;
|
|
1412
1426
|
restart_unless_cancelled?: boolean;
|
|
1413
1427
|
timeout?: number;
|
|
1414
|
-
|
|
1428
|
+
/**
|
|
1429
|
+
* If set, delete the job's args, result and logs after this many seconds following job completion
|
|
1430
|
+
*/
|
|
1431
|
+
delete_after_secs?: number;
|
|
1415
1432
|
visible_to_runner_only?: boolean;
|
|
1416
1433
|
auto_kind?: string;
|
|
1417
1434
|
codebase?: string;
|
|
@@ -1450,7 +1467,10 @@ export type NewScript = {
|
|
|
1450
1467
|
priority?: number;
|
|
1451
1468
|
restart_unless_cancelled?: boolean;
|
|
1452
1469
|
timeout?: number;
|
|
1453
|
-
|
|
1470
|
+
/**
|
|
1471
|
+
* If set, delete the job's args, result and logs after this many seconds following job completion
|
|
1472
|
+
*/
|
|
1473
|
+
delete_after_secs?: number;
|
|
1454
1474
|
deployment_message?: string;
|
|
1455
1475
|
concurrency_key?: string;
|
|
1456
1476
|
debounce_key?: string;
|
|
@@ -1802,6 +1822,109 @@ export type EditWorkspaceUser = {
|
|
|
1802
1822
|
operator?: boolean;
|
|
1803
1823
|
disabled?: boolean;
|
|
1804
1824
|
};
|
|
1825
|
+
export type OffboardAffectedPaths = {
|
|
1826
|
+
scripts?: Array<(string)>;
|
|
1827
|
+
flows?: Array<(string)>;
|
|
1828
|
+
apps?: Array<(string)>;
|
|
1829
|
+
resources?: Array<(string)>;
|
|
1830
|
+
variables?: Array<(string)>;
|
|
1831
|
+
schedules?: Array<(string)>;
|
|
1832
|
+
triggers?: {
|
|
1833
|
+
[key: string]: Array<(string)>;
|
|
1834
|
+
};
|
|
1835
|
+
};
|
|
1836
|
+
export type OffboardPreview = {
|
|
1837
|
+
/**
|
|
1838
|
+
* Objects under u/{username}/ that will be reassigned
|
|
1839
|
+
*/
|
|
1840
|
+
owned: OffboardAffectedPaths;
|
|
1841
|
+
/**
|
|
1842
|
+
* Objects not under the user's path but that execute on behalf of this user (permissioned_as/on_behalf_of will be updated)
|
|
1843
|
+
*/
|
|
1844
|
+
executing_on_behalf: OffboardAffectedPaths;
|
|
1845
|
+
/**
|
|
1846
|
+
* Scripts/flows/apps/resources whose content or value references this user's paths (may break after reassignment)
|
|
1847
|
+
*/
|
|
1848
|
+
referencing: OffboardAffectedPaths;
|
|
1849
|
+
/**
|
|
1850
|
+
* Tokens owned by this user (will be deleted)
|
|
1851
|
+
*/
|
|
1852
|
+
tokens: Array<OffboardTokenInfo>;
|
|
1853
|
+
/**
|
|
1854
|
+
* HTTP triggers under the user's path (webhook URLs will change)
|
|
1855
|
+
*/
|
|
1856
|
+
http_triggers: number;
|
|
1857
|
+
/**
|
|
1858
|
+
* Email triggers under the user's path (email addresses will change)
|
|
1859
|
+
*/
|
|
1860
|
+
email_triggers: number;
|
|
1861
|
+
};
|
|
1862
|
+
export type OffboardTokenInfo = {
|
|
1863
|
+
label: string;
|
|
1864
|
+
scopes: Array<(string)>;
|
|
1865
|
+
expiration?: string;
|
|
1866
|
+
};
|
|
1867
|
+
export type OffboardRequest = {
|
|
1868
|
+
/**
|
|
1869
|
+
* Target for reassignment: 'u/{username}' or 'f/{folder}'
|
|
1870
|
+
*/
|
|
1871
|
+
reassign_to: string;
|
|
1872
|
+
/**
|
|
1873
|
+
* Required when reassign_to is a folder. The username whose identity will be used as permissioned_as for schedules and triggers.
|
|
1874
|
+
*/
|
|
1875
|
+
new_on_behalf_of_user?: string;
|
|
1876
|
+
/**
|
|
1877
|
+
* Whether to also remove the user from the workspace
|
|
1878
|
+
*/
|
|
1879
|
+
delete_user?: boolean;
|
|
1880
|
+
};
|
|
1881
|
+
export type OffboardResponse = {
|
|
1882
|
+
/**
|
|
1883
|
+
* List of path conflicts that block the offboarding. Empty on success.
|
|
1884
|
+
*/
|
|
1885
|
+
conflicts?: Array<(string)>;
|
|
1886
|
+
summary?: OffboardSummary;
|
|
1887
|
+
};
|
|
1888
|
+
export type OffboardSummary = {
|
|
1889
|
+
scripts_reassigned: number;
|
|
1890
|
+
flows_reassigned: number;
|
|
1891
|
+
apps_reassigned: number;
|
|
1892
|
+
resources_reassigned: number;
|
|
1893
|
+
variables_reassigned: number;
|
|
1894
|
+
schedules_reassigned: number;
|
|
1895
|
+
triggers_reassigned: number;
|
|
1896
|
+
drafts_deleted: number;
|
|
1897
|
+
};
|
|
1898
|
+
export type GlobalOffboardPreview = {
|
|
1899
|
+
workspaces: Array<WorkspaceOffboardPreview>;
|
|
1900
|
+
};
|
|
1901
|
+
export type WorkspaceOffboardPreview = {
|
|
1902
|
+
workspace_id: string;
|
|
1903
|
+
username: string;
|
|
1904
|
+
preview: OffboardPreview;
|
|
1905
|
+
};
|
|
1906
|
+
export type GlobalOffboardRequest = {
|
|
1907
|
+
/**
|
|
1908
|
+
* Map of workspace_id to reassignment config
|
|
1909
|
+
*/
|
|
1910
|
+
reassignments?: {
|
|
1911
|
+
[key: string]: WorkspaceReassignment;
|
|
1912
|
+
};
|
|
1913
|
+
/**
|
|
1914
|
+
* Whether to also remove the user from the instance
|
|
1915
|
+
*/
|
|
1916
|
+
delete_user?: boolean;
|
|
1917
|
+
};
|
|
1918
|
+
export type WorkspaceReassignment = {
|
|
1919
|
+
/**
|
|
1920
|
+
* Target: 'u/{username}' or 'f/{folder}'
|
|
1921
|
+
*/
|
|
1922
|
+
reassign_to: string;
|
|
1923
|
+
/**
|
|
1924
|
+
* Required when reassign_to is a folder. Username to use as permissioned_as.
|
|
1925
|
+
*/
|
|
1926
|
+
new_on_behalf_of_user?: string;
|
|
1927
|
+
};
|
|
1805
1928
|
export type TruncatedToken = {
|
|
1806
1929
|
label?: string;
|
|
1807
1930
|
expiration?: string;
|
|
@@ -1811,6 +1934,17 @@ export type TruncatedToken = {
|
|
|
1811
1934
|
scopes?: Array<(string)>;
|
|
1812
1935
|
email?: string;
|
|
1813
1936
|
};
|
|
1937
|
+
export type ExternalJwtToken = {
|
|
1938
|
+
jwt_hash: number;
|
|
1939
|
+
email: string;
|
|
1940
|
+
username: string;
|
|
1941
|
+
is_admin: boolean;
|
|
1942
|
+
is_operator: boolean;
|
|
1943
|
+
workspace_id?: string;
|
|
1944
|
+
label?: string;
|
|
1945
|
+
scopes?: Array<(string)>;
|
|
1946
|
+
last_used_at: string;
|
|
1947
|
+
};
|
|
1814
1948
|
export type NewToken = {
|
|
1815
1949
|
label?: string;
|
|
1816
1950
|
expiration?: string;
|
|
@@ -2388,7 +2522,7 @@ export type EditSchedule = {
|
|
|
2388
2522
|
/**
|
|
2389
2523
|
* job trigger kind (schedule, http, websocket...)
|
|
2390
2524
|
*/
|
|
2391
|
-
export type JobTriggerKind = 'webhook' | 'default_email' | 'email' | 'schedule' | 'http' | 'websocket' | 'postgres' | 'kafka' | 'nats' | 'mqtt' | 'sqs' | 'gcp' | 'google';
|
|
2525
|
+
export type JobTriggerKind = 'webhook' | 'default_email' | 'email' | 'schedule' | 'http' | 'websocket' | 'postgres' | 'kafka' | 'nats' | 'mqtt' | 'sqs' | 'gcp' | 'google' | 'github';
|
|
2392
2526
|
/**
|
|
2393
2527
|
* job trigger mode
|
|
2394
2528
|
*/
|
|
@@ -2767,6 +2901,7 @@ export type TriggersCount = {
|
|
|
2767
2901
|
sqs_count?: number;
|
|
2768
2902
|
nextcloud_count?: number;
|
|
2769
2903
|
google_count?: number;
|
|
2904
|
+
github_count?: number;
|
|
2770
2905
|
};
|
|
2771
2906
|
export type WebsocketHeartbeat = {
|
|
2772
2907
|
/**
|
|
@@ -4070,7 +4205,24 @@ export type Folder = {
|
|
|
4070
4205
|
summary?: string;
|
|
4071
4206
|
created_by?: string;
|
|
4072
4207
|
edited_at?: string;
|
|
4208
|
+
default_permissioned_as?: FolderDefaultPermissionedAs;
|
|
4073
4209
|
};
|
|
4210
|
+
/**
|
|
4211
|
+
* Ordered list of rules applied at create-time when admins or `wm_deployers` members deploy items in this folder. The first rule whose `path_glob` matches the item path (relative to the folder root) wins, and its `permissioned_as` is used as the default.
|
|
4212
|
+
*
|
|
4213
|
+
*/
|
|
4214
|
+
export type FolderDefaultPermissionedAs = Array<{
|
|
4215
|
+
/**
|
|
4216
|
+
* Glob pattern evaluated against the item path *relative* to the folder root (e.g. "jobs**" matches every item whose full path is `f/<folder>/jobs/...`). Supports `*`, `**`, `?`, `[abc]`, `{a,b}`.
|
|
4217
|
+
*
|
|
4218
|
+
*/
|
|
4219
|
+
path_glob: string;
|
|
4220
|
+
/**
|
|
4221
|
+
* Target identity the matched item should be permissioned as. Must be `u/<username>`, `g/<groupname>`, or an email that exists in this workspace.
|
|
4222
|
+
*
|
|
4223
|
+
*/
|
|
4224
|
+
permissioned_as: string;
|
|
4225
|
+
}>;
|
|
4074
4226
|
export type WorkerPing = {
|
|
4075
4227
|
worker: string;
|
|
4076
4228
|
worker_instance: string;
|
|
@@ -4117,6 +4269,16 @@ export type CreateWorkspaceFork = {
|
|
|
4117
4269
|
id: string;
|
|
4118
4270
|
name: string;
|
|
4119
4271
|
color?: string;
|
|
4272
|
+
forked_datatables?: Array<{
|
|
4273
|
+
/**
|
|
4274
|
+
* Datatable name
|
|
4275
|
+
*/
|
|
4276
|
+
name: string;
|
|
4277
|
+
/**
|
|
4278
|
+
* New database name for the fork
|
|
4279
|
+
*/
|
|
4280
|
+
new_dbname: string;
|
|
4281
|
+
}>;
|
|
4120
4282
|
};
|
|
4121
4283
|
export type Workspace = {
|
|
4122
4284
|
id: string;
|
|
@@ -4310,10 +4472,9 @@ export type FlowVersion = {
|
|
|
4310
4472
|
};
|
|
4311
4473
|
export type SlackToken = {
|
|
4312
4474
|
access_token: string;
|
|
4313
|
-
|
|
4314
|
-
|
|
4315
|
-
|
|
4316
|
-
bot_access_token?: string;
|
|
4475
|
+
team?: {
|
|
4476
|
+
id: string;
|
|
4477
|
+
name: string;
|
|
4317
4478
|
};
|
|
4318
4479
|
};
|
|
4319
4480
|
export type TokenResponse = {
|
|
@@ -4366,6 +4527,17 @@ export type DataTableSettings = {
|
|
|
4366
4527
|
resource_type: 'postgresql' | 'instance';
|
|
4367
4528
|
resource_path?: string;
|
|
4368
4529
|
};
|
|
4530
|
+
/**
|
|
4531
|
+
* Fork origin info with schema snapshot
|
|
4532
|
+
*/
|
|
4533
|
+
forked_from?: {
|
|
4534
|
+
/**
|
|
4535
|
+
* Schema snapshot at fork time
|
|
4536
|
+
*/
|
|
4537
|
+
schema?: {
|
|
4538
|
+
[key: string]: unknown;
|
|
4539
|
+
};
|
|
4540
|
+
};
|
|
4369
4541
|
};
|
|
4370
4542
|
};
|
|
4371
4543
|
};
|
|
@@ -4859,7 +5031,7 @@ export type ProtectionRuleset = {
|
|
|
4859
5031
|
* Configuration of protection restrictions
|
|
4860
5032
|
*/
|
|
4861
5033
|
export type ProtectionRules = Array<ProtectionRuleKind>;
|
|
4862
|
-
export type ProtectionRuleKind = 'DisableDirectDeployment' | 'DisableWorkspaceForking';
|
|
5034
|
+
export type ProtectionRuleKind = 'DisableDirectDeployment' | 'DisableWorkspaceForking' | 'RestrictDeployToDeployers';
|
|
4863
5035
|
/**
|
|
4864
5036
|
* Groups that can bypass this ruleset
|
|
4865
5037
|
*/
|
|
@@ -4868,12 +5040,42 @@ export type RuleBypasserGroups = Array<(string)>;
|
|
|
4868
5040
|
* Users that can bypass this ruleset
|
|
4869
5041
|
*/
|
|
4870
5042
|
export type RuleBypasserUsers = Array<(string)>;
|
|
5043
|
+
export type DeploymentRequestEligibleDeployer = {
|
|
5044
|
+
username: string;
|
|
5045
|
+
email: string;
|
|
5046
|
+
is_admin: boolean;
|
|
5047
|
+
};
|
|
5048
|
+
export type DeploymentRequestAssignee = {
|
|
5049
|
+
username: string;
|
|
5050
|
+
email: string;
|
|
5051
|
+
};
|
|
5052
|
+
export type DeploymentRequestComment = {
|
|
5053
|
+
id: number;
|
|
5054
|
+
parent_id?: number | null;
|
|
5055
|
+
author: string;
|
|
5056
|
+
author_email: string;
|
|
5057
|
+
body: string;
|
|
5058
|
+
anchor_kind?: string | null;
|
|
5059
|
+
anchor_path?: string | null;
|
|
5060
|
+
obsolete: boolean;
|
|
5061
|
+
created_at: string;
|
|
5062
|
+
};
|
|
5063
|
+
export type DeploymentRequest = {
|
|
5064
|
+
id: number;
|
|
5065
|
+
source_workspace_id: string;
|
|
5066
|
+
fork_workspace_id: string;
|
|
5067
|
+
requested_by: string;
|
|
5068
|
+
requested_by_email: string;
|
|
5069
|
+
requested_at: string;
|
|
5070
|
+
assignees: Array<DeploymentRequestAssignee>;
|
|
5071
|
+
comments: Array<DeploymentRequestComment>;
|
|
5072
|
+
};
|
|
4871
5073
|
export type QuotaInfo = {
|
|
4872
5074
|
used: number;
|
|
4873
5075
|
limit: number;
|
|
4874
5076
|
prunable: number;
|
|
4875
5077
|
};
|
|
4876
|
-
export type NativeServiceName = 'nextcloud' | 'google';
|
|
5078
|
+
export type NativeServiceName = 'nextcloud' | 'google' | 'github';
|
|
4877
5079
|
/**
|
|
4878
5080
|
* A native trigger stored in Windmill
|
|
4879
5081
|
*/
|
|
@@ -5054,6 +5256,12 @@ export type SharedDriveEntry = {
|
|
|
5054
5256
|
id: string;
|
|
5055
5257
|
name: string;
|
|
5056
5258
|
};
|
|
5259
|
+
export type GithubRepoEntry = {
|
|
5260
|
+
full_name: string;
|
|
5261
|
+
name: string;
|
|
5262
|
+
owner: string;
|
|
5263
|
+
private: boolean;
|
|
5264
|
+
};
|
|
5057
5265
|
export type ParameterId = string;
|
|
5058
5266
|
export type ParameterKey = string;
|
|
5059
5267
|
export type ParameterWorkspaceId = string;
|
|
@@ -5344,6 +5552,7 @@ export type LoginData = {
|
|
|
5344
5552
|
export type LoginResponse = string;
|
|
5345
5553
|
export type LogoutResponse = string;
|
|
5346
5554
|
export type IsSmtpConfiguredResponse = boolean;
|
|
5555
|
+
export type IsPasswordLoginDisabledResponse = boolean;
|
|
5347
5556
|
export type RequestPasswordResetData = {
|
|
5348
5557
|
/**
|
|
5349
5558
|
* email to send password reset link to
|
|
@@ -5473,6 +5682,15 @@ export type GlobalUsersOverwriteData = {
|
|
|
5473
5682
|
};
|
|
5474
5683
|
export type GlobalUsersOverwriteResponse = string;
|
|
5475
5684
|
export type GlobalUsersExportResponse = Array<ExportedUser>;
|
|
5685
|
+
export type ListExtJwtTokensData = {
|
|
5686
|
+
/**
|
|
5687
|
+
* only tokens used in the last 30 days
|
|
5688
|
+
*/
|
|
5689
|
+
activeOnly?: boolean;
|
|
5690
|
+
page?: number;
|
|
5691
|
+
perPage?: number;
|
|
5692
|
+
};
|
|
5693
|
+
export type ListExtJwtTokensResponse = Array<ExternalJwtToken>;
|
|
5476
5694
|
export type SubmitOnboardingDataData = {
|
|
5477
5695
|
requestBody: {
|
|
5478
5696
|
touch_point?: string;
|
|
@@ -5485,6 +5703,26 @@ export type DeleteUserData = {
|
|
|
5485
5703
|
workspace: string;
|
|
5486
5704
|
};
|
|
5487
5705
|
export type DeleteUserResponse = string;
|
|
5706
|
+
export type OffboardPreviewData = {
|
|
5707
|
+
username: string;
|
|
5708
|
+
workspace: string;
|
|
5709
|
+
};
|
|
5710
|
+
export type OffboardPreviewResponse = OffboardPreview;
|
|
5711
|
+
export type OffboardWorkspaceUserData = {
|
|
5712
|
+
requestBody: OffboardRequest;
|
|
5713
|
+
username: string;
|
|
5714
|
+
workspace: string;
|
|
5715
|
+
};
|
|
5716
|
+
export type OffboardWorkspaceUserResponse = OffboardResponse;
|
|
5717
|
+
export type GlobalOffboardPreviewData = {
|
|
5718
|
+
email: string;
|
|
5719
|
+
};
|
|
5720
|
+
export type GlobalOffboardPreviewResponse = GlobalOffboardPreview;
|
|
5721
|
+
export type OffboardGlobalUserData = {
|
|
5722
|
+
email: string;
|
|
5723
|
+
requestBody: GlobalOffboardRequest;
|
|
5724
|
+
};
|
|
5725
|
+
export type OffboardGlobalUserResponse = OffboardResponse;
|
|
5488
5726
|
export type ConvertUserToGroupData = {
|
|
5489
5727
|
username: string;
|
|
5490
5728
|
workspace: string;
|
|
@@ -5697,6 +5935,7 @@ export type GetGhesConfigResponse = {
|
|
|
5697
5935
|
base_url: string;
|
|
5698
5936
|
app_slug: string;
|
|
5699
5937
|
client_id: string;
|
|
5938
|
+
app_owner?: string | null;
|
|
5700
5939
|
};
|
|
5701
5940
|
export type ListWorkspacesResponse = Array<Workspace>;
|
|
5702
5941
|
export type IsDomainAllowedResponse = boolean;
|
|
@@ -6218,7 +6457,11 @@ export type ListDucklakesResponse = Array<(string)>;
|
|
|
6218
6457
|
export type ListDataTablesData = {
|
|
6219
6458
|
workspace: string;
|
|
6220
6459
|
};
|
|
6221
|
-
export type ListDataTablesResponse = Array<
|
|
6460
|
+
export type ListDataTablesResponse = Array<{
|
|
6461
|
+
name: string;
|
|
6462
|
+
resource_type: 'postgres' | 'instance';
|
|
6463
|
+
resource_path: string;
|
|
6464
|
+
}>;
|
|
6222
6465
|
export type ListDataTableSchemasData = {
|
|
6223
6466
|
workspace: string;
|
|
6224
6467
|
};
|
|
@@ -6243,6 +6486,99 @@ export type EditDataTableConfigData = {
|
|
|
6243
6486
|
workspace: string;
|
|
6244
6487
|
};
|
|
6245
6488
|
export type EditDataTableConfigResponse = unknown;
|
|
6489
|
+
export type CreatePgDatabaseData = {
|
|
6490
|
+
/**
|
|
6491
|
+
* Create pg database request
|
|
6492
|
+
*/
|
|
6493
|
+
requestBody: {
|
|
6494
|
+
/**
|
|
6495
|
+
* Datatable source to determine connection info: 'datatable://name' or '$res:path'
|
|
6496
|
+
*/
|
|
6497
|
+
source: string;
|
|
6498
|
+
/**
|
|
6499
|
+
* Name for the new database
|
|
6500
|
+
*/
|
|
6501
|
+
target_dbname: string;
|
|
6502
|
+
};
|
|
6503
|
+
workspace: string;
|
|
6504
|
+
};
|
|
6505
|
+
export type CreatePgDatabaseResponse = string;
|
|
6506
|
+
export type DropForkedDatatableDatabasesData = {
|
|
6507
|
+
requestBody: {
|
|
6508
|
+
datatable_names: Array<(string)>;
|
|
6509
|
+
};
|
|
6510
|
+
workspace: string;
|
|
6511
|
+
};
|
|
6512
|
+
export type DropForkedDatatableDatabasesResponse = Array<(string)>;
|
|
6513
|
+
export type ImportPgDatabaseData = {
|
|
6514
|
+
/**
|
|
6515
|
+
* Import pg database request
|
|
6516
|
+
*/
|
|
6517
|
+
requestBody: {
|
|
6518
|
+
/**
|
|
6519
|
+
* Source database: 'datatable://name' or '$res:path'
|
|
6520
|
+
*/
|
|
6521
|
+
source: string;
|
|
6522
|
+
/**
|
|
6523
|
+
* Target database: 'datatable://name' or '$res:path'
|
|
6524
|
+
*/
|
|
6525
|
+
target: string;
|
|
6526
|
+
/**
|
|
6527
|
+
* Override the target database name
|
|
6528
|
+
*/
|
|
6529
|
+
target_dbname_override?: string;
|
|
6530
|
+
fork_behavior: 'schema_only' | 'schema_and_data' | 'keep_original';
|
|
6531
|
+
};
|
|
6532
|
+
workspace: string;
|
|
6533
|
+
};
|
|
6534
|
+
export type ImportPgDatabaseResponse = string;
|
|
6535
|
+
export type ExportPgSchemaData = {
|
|
6536
|
+
/**
|
|
6537
|
+
* Export pg schema request
|
|
6538
|
+
*/
|
|
6539
|
+
requestBody: {
|
|
6540
|
+
/**
|
|
6541
|
+
* Source database: 'datatable://name' or '$res:path'
|
|
6542
|
+
*/
|
|
6543
|
+
source: string;
|
|
6544
|
+
};
|
|
6545
|
+
workspace: string;
|
|
6546
|
+
};
|
|
6547
|
+
export type ExportPgSchemaResponse = string;
|
|
6548
|
+
export type GetDatatableFullSchemaData = {
|
|
6549
|
+
requestBody: {
|
|
6550
|
+
/**
|
|
6551
|
+
* Source datatable, e.g. 'datatable://main'
|
|
6552
|
+
*/
|
|
6553
|
+
source: string;
|
|
6554
|
+
};
|
|
6555
|
+
workspace: string;
|
|
6556
|
+
};
|
|
6557
|
+
export type GetDatatableFullSchemaResponse = {
|
|
6558
|
+
[key: string]: {
|
|
6559
|
+
[key: string]: {
|
|
6560
|
+
name: string;
|
|
6561
|
+
columns: Array<{
|
|
6562
|
+
name: string;
|
|
6563
|
+
datatype: string;
|
|
6564
|
+
primary_key?: boolean;
|
|
6565
|
+
default_value?: string;
|
|
6566
|
+
nullable?: boolean;
|
|
6567
|
+
}>;
|
|
6568
|
+
foreign_keys: Array<{
|
|
6569
|
+
target_table?: string;
|
|
6570
|
+
columns: Array<{
|
|
6571
|
+
source_column?: string;
|
|
6572
|
+
target_column?: string;
|
|
6573
|
+
}>;
|
|
6574
|
+
on_delete: string;
|
|
6575
|
+
on_update: string;
|
|
6576
|
+
fk_constraint_name?: string;
|
|
6577
|
+
}>;
|
|
6578
|
+
pk_constraint_name?: string;
|
|
6579
|
+
};
|
|
6580
|
+
};
|
|
6581
|
+
};
|
|
6246
6582
|
export type GetGitSyncEnabledData = {
|
|
6247
6583
|
workspace: string;
|
|
6248
6584
|
};
|
|
@@ -6376,6 +6712,7 @@ export type GetUsedTriggersResponse = {
|
|
|
6376
6712
|
email_used: boolean;
|
|
6377
6713
|
nextcloud_used: boolean;
|
|
6378
6714
|
google_used: boolean;
|
|
6715
|
+
github_used: boolean;
|
|
6379
6716
|
};
|
|
6380
6717
|
export type ListProtectionRulesData = {
|
|
6381
6718
|
workspace: string;
|
|
@@ -6421,6 +6758,45 @@ export type DeleteProtectionRuleData = {
|
|
|
6421
6758
|
workspace: string;
|
|
6422
6759
|
};
|
|
6423
6760
|
export type DeleteProtectionRuleResponse = string;
|
|
6761
|
+
export type ListDeploymentRequestEligibleDeployersData = {
|
|
6762
|
+
workspace: string;
|
|
6763
|
+
};
|
|
6764
|
+
export type ListDeploymentRequestEligibleDeployersResponse = Array<DeploymentRequestEligibleDeployer>;
|
|
6765
|
+
export type GetOpenDeploymentRequestData = {
|
|
6766
|
+
workspace: string;
|
|
6767
|
+
};
|
|
6768
|
+
export type GetOpenDeploymentRequestResponse = (DeploymentRequest) | null;
|
|
6769
|
+
export type CreateDeploymentRequestData = {
|
|
6770
|
+
requestBody: {
|
|
6771
|
+
/**
|
|
6772
|
+
* Usernames in the parent workspace. Must be admin or wm_deployers.
|
|
6773
|
+
*/
|
|
6774
|
+
assignees: Array<(string)>;
|
|
6775
|
+
};
|
|
6776
|
+
workspace: string;
|
|
6777
|
+
};
|
|
6778
|
+
export type CreateDeploymentRequestResponse = DeploymentRequest;
|
|
6779
|
+
export type CancelDeploymentRequestData = {
|
|
6780
|
+
id: number;
|
|
6781
|
+
workspace: string;
|
|
6782
|
+
};
|
|
6783
|
+
export type CancelDeploymentRequestResponse = string;
|
|
6784
|
+
export type CloseDeploymentRequestMergedData = {
|
|
6785
|
+
id: number;
|
|
6786
|
+
workspace: string;
|
|
6787
|
+
};
|
|
6788
|
+
export type CloseDeploymentRequestMergedResponse = string;
|
|
6789
|
+
export type CreateDeploymentRequestCommentData = {
|
|
6790
|
+
id: number;
|
|
6791
|
+
requestBody: {
|
|
6792
|
+
body: string;
|
|
6793
|
+
parent_id?: number | null;
|
|
6794
|
+
anchor_kind?: string | null;
|
|
6795
|
+
anchor_path?: string | null;
|
|
6796
|
+
};
|
|
6797
|
+
workspace: string;
|
|
6798
|
+
};
|
|
6799
|
+
export type CreateDeploymentRequestCommentResponse = DeploymentRequestComment;
|
|
6424
6800
|
export type LogAiChatData = {
|
|
6425
6801
|
requestBody: {
|
|
6426
6802
|
session_id: string;
|
|
@@ -6466,6 +6842,13 @@ export type SetupCustomInstanceDbData = {
|
|
|
6466
6842
|
};
|
|
6467
6843
|
};
|
|
6468
6844
|
export type SetupCustomInstanceDbResponse = CustomInstanceDb;
|
|
6845
|
+
export type DropCustomInstanceDbData = {
|
|
6846
|
+
/**
|
|
6847
|
+
* The name of the database to drop
|
|
6848
|
+
*/
|
|
6849
|
+
name: string;
|
|
6850
|
+
};
|
|
6851
|
+
export type DropCustomInstanceDbResponse = string;
|
|
6469
6852
|
export type GetGlobalData = {
|
|
6470
6853
|
key: string;
|
|
6471
6854
|
};
|
|
@@ -6480,6 +6863,7 @@ export type SetGlobalData = {
|
|
|
6480
6863
|
};
|
|
6481
6864
|
};
|
|
6482
6865
|
export type SetGlobalResponse = string;
|
|
6866
|
+
export type GetRuffConfigResponse = string;
|
|
6483
6867
|
export type GetLocalResponse = unknown;
|
|
6484
6868
|
export type TestSmtpData = {
|
|
6485
6869
|
/**
|
|
@@ -8238,6 +8622,24 @@ export type GetScriptDeploymentStatusResponse = {
|
|
|
8238
8622
|
lock_error_logs?: string;
|
|
8239
8623
|
job_id?: string;
|
|
8240
8624
|
};
|
|
8625
|
+
export type GetCiTestResultsData = {
|
|
8626
|
+
kind: 'script' | 'flow' | 'resource';
|
|
8627
|
+
path: string;
|
|
8628
|
+
workspace: string;
|
|
8629
|
+
};
|
|
8630
|
+
export type GetCiTestResultsResponse = Array<CiTestResult>;
|
|
8631
|
+
export type GetCiTestResultsBatchData = {
|
|
8632
|
+
requestBody: {
|
|
8633
|
+
items: Array<{
|
|
8634
|
+
path: string;
|
|
8635
|
+
kind: 'script' | 'flow' | 'resource';
|
|
8636
|
+
}>;
|
|
8637
|
+
};
|
|
8638
|
+
workspace: string;
|
|
8639
|
+
};
|
|
8640
|
+
export type GetCiTestResultsBatchResponse = {
|
|
8641
|
+
[key: string]: Array<CiTestResult>;
|
|
8642
|
+
};
|
|
8241
8643
|
export type StoreRawScriptTempData = {
|
|
8242
8644
|
/**
|
|
8243
8645
|
* script content to store
|
|
@@ -9982,6 +10384,11 @@ export type GetJobLogsData = {
|
|
|
9982
10384
|
workspace: string;
|
|
9983
10385
|
};
|
|
9984
10386
|
export type GetJobLogsResponse = string;
|
|
10387
|
+
export type GetFlowAllLogsData = {
|
|
10388
|
+
id: string;
|
|
10389
|
+
workspace: string;
|
|
10390
|
+
};
|
|
10391
|
+
export type GetFlowAllLogsResponse = string;
|
|
9985
10392
|
export type GetCompletedJobLogsTailData = {
|
|
9986
10393
|
id: string;
|
|
9987
10394
|
workspace: string;
|
|
@@ -11301,6 +11708,10 @@ export type ListGoogleSharedDrivesData = {
|
|
|
11301
11708
|
workspace: string;
|
|
11302
11709
|
};
|
|
11303
11710
|
export type ListGoogleSharedDrivesResponse = Array<SharedDriveEntry>;
|
|
11711
|
+
export type ListGithubReposData = {
|
|
11712
|
+
workspace: string;
|
|
11713
|
+
};
|
|
11714
|
+
export type ListGithubReposResponse = Array<GithubRepoEntry>;
|
|
11304
11715
|
export type NativeTriggerWebhookData = {
|
|
11305
11716
|
/**
|
|
11306
11717
|
* The internal database ID of the trigger
|
|
@@ -11921,6 +12332,7 @@ export type CreateFolderData = {
|
|
|
11921
12332
|
summary?: string;
|
|
11922
12333
|
owners?: Array<(string)>;
|
|
11923
12334
|
extra_perms?: unknown;
|
|
12335
|
+
default_permissioned_as?: FolderDefaultPermissionedAs;
|
|
11924
12336
|
};
|
|
11925
12337
|
workspace: string;
|
|
11926
12338
|
};
|
|
@@ -11934,6 +12346,7 @@ export type UpdateFolderData = {
|
|
|
11934
12346
|
summary?: string;
|
|
11935
12347
|
owners?: Array<(string)>;
|
|
11936
12348
|
extra_perms?: unknown;
|
|
12349
|
+
default_permissioned_as?: FolderDefaultPermissionedAs;
|
|
11937
12350
|
};
|
|
11938
12351
|
workspace: string;
|
|
11939
12352
|
};
|
|
@@ -13115,6 +13528,16 @@ export type $OpenApiTs = {
|
|
|
13115
13528
|
};
|
|
13116
13529
|
};
|
|
13117
13530
|
};
|
|
13531
|
+
'/auth/is_password_login_disabled': {
|
|
13532
|
+
get: {
|
|
13533
|
+
res: {
|
|
13534
|
+
/**
|
|
13535
|
+
* returns true if password login is disabled
|
|
13536
|
+
*/
|
|
13537
|
+
200: boolean;
|
|
13538
|
+
};
|
|
13539
|
+
};
|
|
13540
|
+
};
|
|
13118
13541
|
'/auth/request_password_reset': {
|
|
13119
13542
|
post: {
|
|
13120
13543
|
req: {
|
|
@@ -13387,6 +13810,24 @@ export type $OpenApiTs = {
|
|
|
13387
13810
|
};
|
|
13388
13811
|
};
|
|
13389
13812
|
};
|
|
13813
|
+
'/users/ext_jwt_tokens': {
|
|
13814
|
+
get: {
|
|
13815
|
+
req: {
|
|
13816
|
+
/**
|
|
13817
|
+
* only tokens used in the last 30 days
|
|
13818
|
+
*/
|
|
13819
|
+
activeOnly?: boolean;
|
|
13820
|
+
page?: number;
|
|
13821
|
+
perPage?: number;
|
|
13822
|
+
};
|
|
13823
|
+
res: {
|
|
13824
|
+
/**
|
|
13825
|
+
* list of external JWT tokens
|
|
13826
|
+
*/
|
|
13827
|
+
200: Array<ExternalJwtToken>;
|
|
13828
|
+
};
|
|
13829
|
+
};
|
|
13830
|
+
};
|
|
13390
13831
|
'/users/onboarding': {
|
|
13391
13832
|
post: {
|
|
13392
13833
|
req: {
|
|
@@ -13417,47 +13858,103 @@ export type $OpenApiTs = {
|
|
|
13417
13858
|
};
|
|
13418
13859
|
};
|
|
13419
13860
|
};
|
|
13420
|
-
'/w/{workspace}/users/
|
|
13421
|
-
|
|
13861
|
+
'/w/{workspace}/users/offboard_preview/{username}': {
|
|
13862
|
+
get: {
|
|
13422
13863
|
req: {
|
|
13423
13864
|
username: string;
|
|
13424
13865
|
workspace: string;
|
|
13425
13866
|
};
|
|
13426
13867
|
res: {
|
|
13427
13868
|
/**
|
|
13428
|
-
*
|
|
13869
|
+
* offboard preview with object counts
|
|
13429
13870
|
*/
|
|
13430
|
-
200:
|
|
13871
|
+
200: OffboardPreview;
|
|
13431
13872
|
};
|
|
13432
13873
|
};
|
|
13433
13874
|
};
|
|
13434
|
-
'/users/
|
|
13435
|
-
|
|
13875
|
+
'/w/{workspace}/users/offboard/{username}': {
|
|
13876
|
+
post: {
|
|
13877
|
+
req: {
|
|
13878
|
+
requestBody: OffboardRequest;
|
|
13879
|
+
username: string;
|
|
13880
|
+
workspace: string;
|
|
13881
|
+
};
|
|
13436
13882
|
res: {
|
|
13437
13883
|
/**
|
|
13438
|
-
*
|
|
13884
|
+
* offboard response with conflicts or summary
|
|
13439
13885
|
*/
|
|
13440
|
-
200:
|
|
13886
|
+
200: OffboardResponse;
|
|
13441
13887
|
};
|
|
13442
13888
|
};
|
|
13443
13889
|
};
|
|
13444
|
-
'/users/
|
|
13890
|
+
'/users/offboard_preview/{email}': {
|
|
13445
13891
|
get: {
|
|
13446
13892
|
req: {
|
|
13447
|
-
|
|
13893
|
+
email: string;
|
|
13448
13894
|
};
|
|
13449
13895
|
res: {
|
|
13450
13896
|
/**
|
|
13451
|
-
*
|
|
13897
|
+
* per-workspace offboard previews
|
|
13452
13898
|
*/
|
|
13453
|
-
200:
|
|
13899
|
+
200: GlobalOffboardPreview;
|
|
13454
13900
|
};
|
|
13455
13901
|
};
|
|
13456
13902
|
};
|
|
13457
|
-
'/users/
|
|
13458
|
-
|
|
13459
|
-
|
|
13460
|
-
|
|
13903
|
+
'/users/offboard/{email}': {
|
|
13904
|
+
post: {
|
|
13905
|
+
req: {
|
|
13906
|
+
email: string;
|
|
13907
|
+
requestBody: GlobalOffboardRequest;
|
|
13908
|
+
};
|
|
13909
|
+
res: {
|
|
13910
|
+
/**
|
|
13911
|
+
* offboard result
|
|
13912
|
+
*/
|
|
13913
|
+
200: OffboardResponse;
|
|
13914
|
+
};
|
|
13915
|
+
};
|
|
13916
|
+
};
|
|
13917
|
+
'/w/{workspace}/users/convert_to_group/{username}': {
|
|
13918
|
+
post: {
|
|
13919
|
+
req: {
|
|
13920
|
+
username: string;
|
|
13921
|
+
workspace: string;
|
|
13922
|
+
};
|
|
13923
|
+
res: {
|
|
13924
|
+
/**
|
|
13925
|
+
* convert user to group user
|
|
13926
|
+
*/
|
|
13927
|
+
200: string;
|
|
13928
|
+
};
|
|
13929
|
+
};
|
|
13930
|
+
};
|
|
13931
|
+
'/users/email': {
|
|
13932
|
+
get: {
|
|
13933
|
+
res: {
|
|
13934
|
+
/**
|
|
13935
|
+
* user email
|
|
13936
|
+
*/
|
|
13937
|
+
200: string;
|
|
13938
|
+
};
|
|
13939
|
+
};
|
|
13940
|
+
};
|
|
13941
|
+
'/users/refresh_token': {
|
|
13942
|
+
get: {
|
|
13943
|
+
req: {
|
|
13944
|
+
ifExpiringInLessThanS?: number;
|
|
13945
|
+
};
|
|
13946
|
+
res: {
|
|
13947
|
+
/**
|
|
13948
|
+
* new token
|
|
13949
|
+
*/
|
|
13950
|
+
200: string;
|
|
13951
|
+
};
|
|
13952
|
+
};
|
|
13953
|
+
};
|
|
13954
|
+
'/users/tutorial_progress': {
|
|
13955
|
+
get: {
|
|
13956
|
+
res: {
|
|
13957
|
+
/**
|
|
13461
13958
|
* tutorial progress
|
|
13462
13959
|
*/
|
|
13463
13960
|
200: {
|
|
@@ -13931,6 +14428,7 @@ export type $OpenApiTs = {
|
|
|
13931
14428
|
base_url: string;
|
|
13932
14429
|
app_slug: string;
|
|
13933
14430
|
client_id: string;
|
|
14431
|
+
app_owner?: string | null;
|
|
13934
14432
|
};
|
|
13935
14433
|
};
|
|
13936
14434
|
};
|
|
@@ -14986,7 +15484,11 @@ export type $OpenApiTs = {
|
|
|
14986
15484
|
/**
|
|
14987
15485
|
* status
|
|
14988
15486
|
*/
|
|
14989
|
-
200: Array<
|
|
15487
|
+
200: Array<{
|
|
15488
|
+
name: string;
|
|
15489
|
+
resource_type: 'postgres' | 'instance';
|
|
15490
|
+
resource_path: string;
|
|
15491
|
+
}>;
|
|
14990
15492
|
};
|
|
14991
15493
|
};
|
|
14992
15494
|
};
|
|
@@ -15041,6 +15543,144 @@ export type $OpenApiTs = {
|
|
|
15041
15543
|
};
|
|
15042
15544
|
};
|
|
15043
15545
|
};
|
|
15546
|
+
'/w/{workspace}/workspaces/create_pg_database': {
|
|
15547
|
+
post: {
|
|
15548
|
+
req: {
|
|
15549
|
+
/**
|
|
15550
|
+
* Create pg database request
|
|
15551
|
+
*/
|
|
15552
|
+
requestBody: {
|
|
15553
|
+
/**
|
|
15554
|
+
* Datatable source to determine connection info: 'datatable://name' or '$res:path'
|
|
15555
|
+
*/
|
|
15556
|
+
source: string;
|
|
15557
|
+
/**
|
|
15558
|
+
* Name for the new database
|
|
15559
|
+
*/
|
|
15560
|
+
target_dbname: string;
|
|
15561
|
+
};
|
|
15562
|
+
workspace: string;
|
|
15563
|
+
};
|
|
15564
|
+
res: {
|
|
15565
|
+
/**
|
|
15566
|
+
* status
|
|
15567
|
+
*/
|
|
15568
|
+
200: string;
|
|
15569
|
+
};
|
|
15570
|
+
};
|
|
15571
|
+
};
|
|
15572
|
+
'/w/{workspace}/workspaces/drop_forked_datatable_databases': {
|
|
15573
|
+
post: {
|
|
15574
|
+
req: {
|
|
15575
|
+
requestBody: {
|
|
15576
|
+
datatable_names: Array<(string)>;
|
|
15577
|
+
};
|
|
15578
|
+
workspace: string;
|
|
15579
|
+
};
|
|
15580
|
+
res: {
|
|
15581
|
+
/**
|
|
15582
|
+
* list of errors (empty if all succeeded)
|
|
15583
|
+
*/
|
|
15584
|
+
200: Array<(string)>;
|
|
15585
|
+
};
|
|
15586
|
+
};
|
|
15587
|
+
};
|
|
15588
|
+
'/w/{workspace}/workspaces/import_pg_database': {
|
|
15589
|
+
post: {
|
|
15590
|
+
req: {
|
|
15591
|
+
/**
|
|
15592
|
+
* Import pg database request
|
|
15593
|
+
*/
|
|
15594
|
+
requestBody: {
|
|
15595
|
+
/**
|
|
15596
|
+
* Source database: 'datatable://name' or '$res:path'
|
|
15597
|
+
*/
|
|
15598
|
+
source: string;
|
|
15599
|
+
/**
|
|
15600
|
+
* Target database: 'datatable://name' or '$res:path'
|
|
15601
|
+
*/
|
|
15602
|
+
target: string;
|
|
15603
|
+
/**
|
|
15604
|
+
* Override the target database name
|
|
15605
|
+
*/
|
|
15606
|
+
target_dbname_override?: string;
|
|
15607
|
+
fork_behavior: 'schema_only' | 'schema_and_data' | 'keep_original';
|
|
15608
|
+
};
|
|
15609
|
+
workspace: string;
|
|
15610
|
+
};
|
|
15611
|
+
res: {
|
|
15612
|
+
/**
|
|
15613
|
+
* status
|
|
15614
|
+
*/
|
|
15615
|
+
200: string;
|
|
15616
|
+
};
|
|
15617
|
+
};
|
|
15618
|
+
};
|
|
15619
|
+
'/w/{workspace}/workspaces/export_pg_schema': {
|
|
15620
|
+
post: {
|
|
15621
|
+
req: {
|
|
15622
|
+
/**
|
|
15623
|
+
* Export pg schema request
|
|
15624
|
+
*/
|
|
15625
|
+
requestBody: {
|
|
15626
|
+
/**
|
|
15627
|
+
* Source database: 'datatable://name' or '$res:path'
|
|
15628
|
+
*/
|
|
15629
|
+
source: string;
|
|
15630
|
+
};
|
|
15631
|
+
workspace: string;
|
|
15632
|
+
};
|
|
15633
|
+
res: {
|
|
15634
|
+
/**
|
|
15635
|
+
* schema dump
|
|
15636
|
+
*/
|
|
15637
|
+
200: string;
|
|
15638
|
+
};
|
|
15639
|
+
};
|
|
15640
|
+
};
|
|
15641
|
+
'/w/{workspace}/workspaces/get_datatable_full_schema': {
|
|
15642
|
+
post: {
|
|
15643
|
+
req: {
|
|
15644
|
+
requestBody: {
|
|
15645
|
+
/**
|
|
15646
|
+
* Source datatable, e.g. 'datatable://main'
|
|
15647
|
+
*/
|
|
15648
|
+
source: string;
|
|
15649
|
+
};
|
|
15650
|
+
workspace: string;
|
|
15651
|
+
};
|
|
15652
|
+
res: {
|
|
15653
|
+
/**
|
|
15654
|
+
* Schema as { schema_name: { table_name: TableEditorValues } }
|
|
15655
|
+
*/
|
|
15656
|
+
200: {
|
|
15657
|
+
[key: string]: {
|
|
15658
|
+
[key: string]: {
|
|
15659
|
+
name: string;
|
|
15660
|
+
columns: Array<{
|
|
15661
|
+
name: string;
|
|
15662
|
+
datatype: string;
|
|
15663
|
+
primary_key?: boolean;
|
|
15664
|
+
default_value?: string;
|
|
15665
|
+
nullable?: boolean;
|
|
15666
|
+
}>;
|
|
15667
|
+
foreign_keys: Array<{
|
|
15668
|
+
target_table?: string;
|
|
15669
|
+
columns: Array<{
|
|
15670
|
+
source_column?: string;
|
|
15671
|
+
target_column?: string;
|
|
15672
|
+
}>;
|
|
15673
|
+
on_delete: string;
|
|
15674
|
+
on_update: string;
|
|
15675
|
+
fk_constraint_name?: string;
|
|
15676
|
+
}>;
|
|
15677
|
+
pk_constraint_name?: string;
|
|
15678
|
+
};
|
|
15679
|
+
};
|
|
15680
|
+
};
|
|
15681
|
+
};
|
|
15682
|
+
};
|
|
15683
|
+
};
|
|
15044
15684
|
'/w/{workspace}/workspaces/git_sync_enabled': {
|
|
15045
15685
|
get: {
|
|
15046
15686
|
req: {
|
|
@@ -15293,6 +15933,7 @@ export type $OpenApiTs = {
|
|
|
15293
15933
|
email_used: boolean;
|
|
15294
15934
|
nextcloud_used: boolean;
|
|
15295
15935
|
google_used: boolean;
|
|
15936
|
+
github_used: boolean;
|
|
15296
15937
|
};
|
|
15297
15938
|
};
|
|
15298
15939
|
};
|
|
@@ -15385,6 +16026,111 @@ export type $OpenApiTs = {
|
|
|
15385
16026
|
};
|
|
15386
16027
|
};
|
|
15387
16028
|
};
|
|
16029
|
+
'/w/{workspace}/deployment_request/eligible_deployers': {
|
|
16030
|
+
get: {
|
|
16031
|
+
req: {
|
|
16032
|
+
workspace: string;
|
|
16033
|
+
};
|
|
16034
|
+
res: {
|
|
16035
|
+
/**
|
|
16036
|
+
* list of eligible deployers
|
|
16037
|
+
*/
|
|
16038
|
+
200: Array<DeploymentRequestEligibleDeployer>;
|
|
16039
|
+
};
|
|
16040
|
+
};
|
|
16041
|
+
};
|
|
16042
|
+
'/w/{workspace}/deployment_request/open': {
|
|
16043
|
+
get: {
|
|
16044
|
+
req: {
|
|
16045
|
+
workspace: string;
|
|
16046
|
+
};
|
|
16047
|
+
res: {
|
|
16048
|
+
/**
|
|
16049
|
+
* the open request or null if none exists
|
|
16050
|
+
*/
|
|
16051
|
+
200: (DeploymentRequest) | null;
|
|
16052
|
+
};
|
|
16053
|
+
};
|
|
16054
|
+
};
|
|
16055
|
+
'/w/{workspace}/deployment_request': {
|
|
16056
|
+
post: {
|
|
16057
|
+
req: {
|
|
16058
|
+
requestBody: {
|
|
16059
|
+
/**
|
|
16060
|
+
* Usernames in the parent workspace. Must be admin or wm_deployers.
|
|
16061
|
+
*/
|
|
16062
|
+
assignees: Array<(string)>;
|
|
16063
|
+
};
|
|
16064
|
+
workspace: string;
|
|
16065
|
+
};
|
|
16066
|
+
res: {
|
|
16067
|
+
/**
|
|
16068
|
+
* request created
|
|
16069
|
+
*/
|
|
16070
|
+
200: DeploymentRequest;
|
|
16071
|
+
/**
|
|
16072
|
+
* invalid assignees
|
|
16073
|
+
*/
|
|
16074
|
+
400: unknown;
|
|
16075
|
+
/**
|
|
16076
|
+
* a deployment request is already open for this fork
|
|
16077
|
+
*/
|
|
16078
|
+
409: unknown;
|
|
16079
|
+
};
|
|
16080
|
+
};
|
|
16081
|
+
};
|
|
16082
|
+
'/w/{workspace}/deployment_request/{id}/cancel': {
|
|
16083
|
+
post: {
|
|
16084
|
+
req: {
|
|
16085
|
+
id: number;
|
|
16086
|
+
workspace: string;
|
|
16087
|
+
};
|
|
16088
|
+
res: {
|
|
16089
|
+
/**
|
|
16090
|
+
* cancelled
|
|
16091
|
+
*/
|
|
16092
|
+
200: string;
|
|
16093
|
+
};
|
|
16094
|
+
};
|
|
16095
|
+
};
|
|
16096
|
+
'/w/{workspace}/deployment_request/{id}/close_merged': {
|
|
16097
|
+
post: {
|
|
16098
|
+
req: {
|
|
16099
|
+
id: number;
|
|
16100
|
+
workspace: string;
|
|
16101
|
+
};
|
|
16102
|
+
res: {
|
|
16103
|
+
/**
|
|
16104
|
+
* closed
|
|
16105
|
+
*/
|
|
16106
|
+
200: string;
|
|
16107
|
+
};
|
|
16108
|
+
};
|
|
16109
|
+
};
|
|
16110
|
+
'/w/{workspace}/deployment_request/{id}/comment': {
|
|
16111
|
+
post: {
|
|
16112
|
+
req: {
|
|
16113
|
+
id: number;
|
|
16114
|
+
requestBody: {
|
|
16115
|
+
body: string;
|
|
16116
|
+
parent_id?: number | null;
|
|
16117
|
+
anchor_kind?: string | null;
|
|
16118
|
+
anchor_path?: string | null;
|
|
16119
|
+
};
|
|
16120
|
+
workspace: string;
|
|
16121
|
+
};
|
|
16122
|
+
res: {
|
|
16123
|
+
/**
|
|
16124
|
+
* comment created
|
|
16125
|
+
*/
|
|
16126
|
+
200: DeploymentRequestComment;
|
|
16127
|
+
/**
|
|
16128
|
+
* invalid input or request closed
|
|
16129
|
+
*/
|
|
16130
|
+
400: unknown;
|
|
16131
|
+
};
|
|
16132
|
+
};
|
|
16133
|
+
};
|
|
15388
16134
|
'/w/{workspace}/workspaces/log_chat': {
|
|
15389
16135
|
post: {
|
|
15390
16136
|
req: {
|
|
@@ -15484,6 +16230,22 @@ export type $OpenApiTs = {
|
|
|
15484
16230
|
};
|
|
15485
16231
|
};
|
|
15486
16232
|
};
|
|
16233
|
+
'/settings/drop_custom_instance_pg_database/{name}': {
|
|
16234
|
+
post: {
|
|
16235
|
+
req: {
|
|
16236
|
+
/**
|
|
16237
|
+
* The name of the database to drop
|
|
16238
|
+
*/
|
|
16239
|
+
name: string;
|
|
16240
|
+
};
|
|
16241
|
+
res: {
|
|
16242
|
+
/**
|
|
16243
|
+
* status
|
|
16244
|
+
*/
|
|
16245
|
+
200: string;
|
|
16246
|
+
};
|
|
16247
|
+
};
|
|
16248
|
+
};
|
|
15487
16249
|
'/settings/global/{key}': {
|
|
15488
16250
|
get: {
|
|
15489
16251
|
req: {
|
|
@@ -15514,6 +16276,16 @@ export type $OpenApiTs = {
|
|
|
15514
16276
|
};
|
|
15515
16277
|
};
|
|
15516
16278
|
};
|
|
16279
|
+
'/settings_u/ruff_config': {
|
|
16280
|
+
get: {
|
|
16281
|
+
res: {
|
|
16282
|
+
/**
|
|
16283
|
+
* ruff.toml content (may be empty)
|
|
16284
|
+
*/
|
|
16285
|
+
200: string;
|
|
16286
|
+
};
|
|
16287
|
+
};
|
|
16288
|
+
};
|
|
15517
16289
|
'/settings/local': {
|
|
15518
16290
|
get: {
|
|
15519
16291
|
res: {
|
|
@@ -18825,6 +19597,42 @@ export type $OpenApiTs = {
|
|
|
18825
19597
|
};
|
|
18826
19598
|
};
|
|
18827
19599
|
};
|
|
19600
|
+
'/w/{workspace}/scripts/ci_test_results/{kind}/{path}': {
|
|
19601
|
+
get: {
|
|
19602
|
+
req: {
|
|
19603
|
+
kind: 'script' | 'flow' | 'resource';
|
|
19604
|
+
path: string;
|
|
19605
|
+
workspace: string;
|
|
19606
|
+
};
|
|
19607
|
+
res: {
|
|
19608
|
+
/**
|
|
19609
|
+
* CI test results
|
|
19610
|
+
*/
|
|
19611
|
+
200: Array<CiTestResult>;
|
|
19612
|
+
};
|
|
19613
|
+
};
|
|
19614
|
+
};
|
|
19615
|
+
'/w/{workspace}/scripts/ci_test_results_batch': {
|
|
19616
|
+
post: {
|
|
19617
|
+
req: {
|
|
19618
|
+
requestBody: {
|
|
19619
|
+
items: Array<{
|
|
19620
|
+
path: string;
|
|
19621
|
+
kind: 'script' | 'flow' | 'resource';
|
|
19622
|
+
}>;
|
|
19623
|
+
};
|
|
19624
|
+
workspace: string;
|
|
19625
|
+
};
|
|
19626
|
+
res: {
|
|
19627
|
+
/**
|
|
19628
|
+
* CI test results by item key
|
|
19629
|
+
*/
|
|
19630
|
+
200: {
|
|
19631
|
+
[key: string]: Array<CiTestResult>;
|
|
19632
|
+
};
|
|
19633
|
+
};
|
|
19634
|
+
};
|
|
19635
|
+
};
|
|
18828
19636
|
'/w/{workspace}/scripts/raw_temp/store': {
|
|
18829
19637
|
post: {
|
|
18830
19638
|
req: {
|
|
@@ -21178,6 +21986,20 @@ export type $OpenApiTs = {
|
|
|
21178
21986
|
};
|
|
21179
21987
|
};
|
|
21180
21988
|
};
|
|
21989
|
+
'/w/{workspace}/jobs_u/get_flow_all_logs/{id}': {
|
|
21990
|
+
get: {
|
|
21991
|
+
req: {
|
|
21992
|
+
id: string;
|
|
21993
|
+
workspace: string;
|
|
21994
|
+
};
|
|
21995
|
+
res: {
|
|
21996
|
+
/**
|
|
21997
|
+
* concatenated logs of all flow steps
|
|
21998
|
+
*/
|
|
21999
|
+
200: string;
|
|
22000
|
+
};
|
|
22001
|
+
};
|
|
22002
|
+
};
|
|
21181
22003
|
'/w/{workspace}/jobs_u/get_completed_logs_tail/{id}': {
|
|
21182
22004
|
get: {
|
|
21183
22005
|
req: {
|
|
@@ -23508,6 +24330,19 @@ export type $OpenApiTs = {
|
|
|
23508
24330
|
};
|
|
23509
24331
|
};
|
|
23510
24332
|
};
|
|
24333
|
+
'/w/{workspace}/native_triggers/github/repos': {
|
|
24334
|
+
get: {
|
|
24335
|
+
req: {
|
|
24336
|
+
workspace: string;
|
|
24337
|
+
};
|
|
24338
|
+
res: {
|
|
24339
|
+
/**
|
|
24340
|
+
* list of GitHub repositories
|
|
24341
|
+
*/
|
|
24342
|
+
200: Array<GithubRepoEntry>;
|
|
24343
|
+
};
|
|
24344
|
+
};
|
|
24345
|
+
};
|
|
23511
24346
|
'/native_triggers/{service_name}/w/{workspace_id}/webhook/{internal_id}': {
|
|
23512
24347
|
post: {
|
|
23513
24348
|
req: {
|
|
@@ -24751,6 +25586,7 @@ export type $OpenApiTs = {
|
|
|
24751
25586
|
summary?: string;
|
|
24752
25587
|
owners?: Array<(string)>;
|
|
24753
25588
|
extra_perms?: unknown;
|
|
25589
|
+
default_permissioned_as?: FolderDefaultPermissionedAs;
|
|
24754
25590
|
};
|
|
24755
25591
|
workspace: string;
|
|
24756
25592
|
};
|
|
@@ -24773,6 +25609,7 @@ export type $OpenApiTs = {
|
|
|
24773
25609
|
summary?: string;
|
|
24774
25610
|
owners?: Array<(string)>;
|
|
24775
25611
|
extra_perms?: unknown;
|
|
25612
|
+
default_permissioned_as?: FolderDefaultPermissionedAs;
|
|
24776
25613
|
};
|
|
24777
25614
|
workspace: string;
|
|
24778
25615
|
};
|