windmill-components 1.677.0 → 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/flowStore.svelte.d.ts +1 -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/pickers/PickHubScriptQuick.svelte.d.ts +1 -1
- 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/MqttEditorConfigSection.svelte.d.ts +1 -1
- 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 +1172 -164
- package/package/gen/schemas.gen.js +1168 -157
- package/package/gen/services.gen.d.ts +511 -6
- package/package/gen/services.gen.js +1023 -23
- package/package/gen/types.gen.d.ts +2278 -151
- 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_deployable.d.ts +11 -7
- package/package/utils_workspace_deploy.d.ts +8 -8
- package/package/utils_workspace_deploy.js +86 -420
- package/package.json +4 -4
- 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
|
@@ -210,6 +210,17 @@ export class UserService {
|
|
|
210
210
|
url: '/auth/is_smtp_configured'
|
|
211
211
|
});
|
|
212
212
|
}
|
|
213
|
+
/**
|
|
214
|
+
* check if password login is disabled instance-wide
|
|
215
|
+
* @returns boolean returns true if password login is disabled
|
|
216
|
+
* @throws ApiError
|
|
217
|
+
*/
|
|
218
|
+
static isPasswordLoginDisabled() {
|
|
219
|
+
return __request(OpenAPI, {
|
|
220
|
+
method: 'GET',
|
|
221
|
+
url: '/auth/is_password_login_disabled'
|
|
222
|
+
});
|
|
223
|
+
}
|
|
213
224
|
/**
|
|
214
225
|
* request password reset email
|
|
215
226
|
* @param data The data for the request.
|
|
@@ -467,6 +478,26 @@ export class UserService {
|
|
|
467
478
|
url: '/users/export'
|
|
468
479
|
});
|
|
469
480
|
}
|
|
481
|
+
/**
|
|
482
|
+
* list external JWT tokens (ee only)
|
|
483
|
+
* @param data The data for the request.
|
|
484
|
+
* @param data.page
|
|
485
|
+
* @param data.perPage
|
|
486
|
+
* @param data.activeOnly only tokens used in the last 30 days
|
|
487
|
+
* @returns ExternalJwtToken list of external JWT tokens
|
|
488
|
+
* @throws ApiError
|
|
489
|
+
*/
|
|
490
|
+
static listExtJwtTokens(data = {}) {
|
|
491
|
+
return __request(OpenAPI, {
|
|
492
|
+
method: 'GET',
|
|
493
|
+
url: '/users/ext_jwt_tokens',
|
|
494
|
+
query: {
|
|
495
|
+
page: data.page,
|
|
496
|
+
per_page: data.perPage,
|
|
497
|
+
active_only: data.activeOnly
|
|
498
|
+
}
|
|
499
|
+
});
|
|
500
|
+
}
|
|
470
501
|
/**
|
|
471
502
|
* Submit user onboarding data
|
|
472
503
|
* @param data The data for the request.
|
|
@@ -500,6 +531,80 @@ export class UserService {
|
|
|
500
531
|
}
|
|
501
532
|
});
|
|
502
533
|
}
|
|
534
|
+
/**
|
|
535
|
+
* preview offboarding for a workspace user (require admin privilege)
|
|
536
|
+
* @param data The data for the request.
|
|
537
|
+
* @param data.workspace
|
|
538
|
+
* @param data.username
|
|
539
|
+
* @returns OffboardPreview offboard preview with object counts
|
|
540
|
+
* @throws ApiError
|
|
541
|
+
*/
|
|
542
|
+
static offboardPreview(data) {
|
|
543
|
+
return __request(OpenAPI, {
|
|
544
|
+
method: 'GET',
|
|
545
|
+
url: '/w/{workspace}/users/offboard_preview/{username}',
|
|
546
|
+
path: {
|
|
547
|
+
workspace: data.workspace,
|
|
548
|
+
username: data.username
|
|
549
|
+
}
|
|
550
|
+
});
|
|
551
|
+
}
|
|
552
|
+
/**
|
|
553
|
+
* offboard a workspace user (reassign objects, optionally delete user)
|
|
554
|
+
* @param data The data for the request.
|
|
555
|
+
* @param data.workspace
|
|
556
|
+
* @param data.username
|
|
557
|
+
* @param data.requestBody
|
|
558
|
+
* @returns OffboardResponse offboard response with conflicts or summary
|
|
559
|
+
* @throws ApiError
|
|
560
|
+
*/
|
|
561
|
+
static offboardWorkspaceUser(data) {
|
|
562
|
+
return __request(OpenAPI, {
|
|
563
|
+
method: 'POST',
|
|
564
|
+
url: '/w/{workspace}/users/offboard/{username}',
|
|
565
|
+
path: {
|
|
566
|
+
workspace: data.workspace,
|
|
567
|
+
username: data.username
|
|
568
|
+
},
|
|
569
|
+
body: data.requestBody,
|
|
570
|
+
mediaType: 'application/json'
|
|
571
|
+
});
|
|
572
|
+
}
|
|
573
|
+
/**
|
|
574
|
+
* preview global offboarding for a user across all workspaces (require super admin)
|
|
575
|
+
* @param data The data for the request.
|
|
576
|
+
* @param data.email
|
|
577
|
+
* @returns GlobalOffboardPreview per-workspace offboard previews
|
|
578
|
+
* @throws ApiError
|
|
579
|
+
*/
|
|
580
|
+
static globalOffboardPreview(data) {
|
|
581
|
+
return __request(OpenAPI, {
|
|
582
|
+
method: 'GET',
|
|
583
|
+
url: '/users/offboard_preview/{email}',
|
|
584
|
+
path: {
|
|
585
|
+
email: data.email
|
|
586
|
+
}
|
|
587
|
+
});
|
|
588
|
+
}
|
|
589
|
+
/**
|
|
590
|
+
* offboard a user globally (reassign objects across workspaces, optionally delete)
|
|
591
|
+
* @param data The data for the request.
|
|
592
|
+
* @param data.email
|
|
593
|
+
* @param data.requestBody
|
|
594
|
+
* @returns OffboardResponse offboard result
|
|
595
|
+
* @throws ApiError
|
|
596
|
+
*/
|
|
597
|
+
static offboardGlobalUser(data) {
|
|
598
|
+
return __request(OpenAPI, {
|
|
599
|
+
method: 'POST',
|
|
600
|
+
url: '/users/offboard/{email}',
|
|
601
|
+
path: {
|
|
602
|
+
email: data.email
|
|
603
|
+
},
|
|
604
|
+
body: data.requestBody,
|
|
605
|
+
mediaType: 'application/json'
|
|
606
|
+
});
|
|
607
|
+
}
|
|
503
608
|
/**
|
|
504
609
|
* convert manual user to group user (require admin privilege)
|
|
505
610
|
* @param data The data for the request.
|
|
@@ -672,6 +777,44 @@ export class UserService {
|
|
|
672
777
|
mediaType: 'application/json'
|
|
673
778
|
});
|
|
674
779
|
}
|
|
780
|
+
/**
|
|
781
|
+
* impersonate a service account
|
|
782
|
+
* @param data The data for the request.
|
|
783
|
+
* @param data.workspace
|
|
784
|
+
* @param data.requestBody
|
|
785
|
+
* @returns string impersonation token
|
|
786
|
+
* @throws ApiError
|
|
787
|
+
*/
|
|
788
|
+
static impersonateServiceAccount(data) {
|
|
789
|
+
return __request(OpenAPI, {
|
|
790
|
+
method: 'POST',
|
|
791
|
+
url: '/w/{workspace}/users/impersonate_service_account',
|
|
792
|
+
path: {
|
|
793
|
+
workspace: data.workspace
|
|
794
|
+
},
|
|
795
|
+
body: data.requestBody,
|
|
796
|
+
mediaType: 'application/json'
|
|
797
|
+
});
|
|
798
|
+
}
|
|
799
|
+
/**
|
|
800
|
+
* exit service account impersonation
|
|
801
|
+
* @param data The data for the request.
|
|
802
|
+
* @param data.workspace
|
|
803
|
+
* @param data.requestBody
|
|
804
|
+
* @returns string exited impersonation
|
|
805
|
+
* @throws ApiError
|
|
806
|
+
*/
|
|
807
|
+
static exitImpersonation(data) {
|
|
808
|
+
return __request(OpenAPI, {
|
|
809
|
+
method: 'POST',
|
|
810
|
+
url: '/w/{workspace}/users/exit_impersonation',
|
|
811
|
+
path: {
|
|
812
|
+
workspace: data.workspace
|
|
813
|
+
},
|
|
814
|
+
body: data.requestBody,
|
|
815
|
+
mediaType: 'application/json'
|
|
816
|
+
});
|
|
817
|
+
}
|
|
675
818
|
/**
|
|
676
819
|
* whois
|
|
677
820
|
* @param data The data for the request.
|
|
@@ -937,6 +1080,45 @@ export class AdminService {
|
|
|
937
1080
|
}
|
|
938
1081
|
});
|
|
939
1082
|
}
|
|
1083
|
+
/**
|
|
1084
|
+
* preview offboarding for a workspace user (require admin privilege)
|
|
1085
|
+
* @param data The data for the request.
|
|
1086
|
+
* @param data.workspace
|
|
1087
|
+
* @param data.username
|
|
1088
|
+
* @returns OffboardPreview offboard preview with object counts
|
|
1089
|
+
* @throws ApiError
|
|
1090
|
+
*/
|
|
1091
|
+
static offboardPreview(data) {
|
|
1092
|
+
return __request(OpenAPI, {
|
|
1093
|
+
method: 'GET',
|
|
1094
|
+
url: '/w/{workspace}/users/offboard_preview/{username}',
|
|
1095
|
+
path: {
|
|
1096
|
+
workspace: data.workspace,
|
|
1097
|
+
username: data.username
|
|
1098
|
+
}
|
|
1099
|
+
});
|
|
1100
|
+
}
|
|
1101
|
+
/**
|
|
1102
|
+
* offboard a workspace user (reassign objects, optionally delete user)
|
|
1103
|
+
* @param data The data for the request.
|
|
1104
|
+
* @param data.workspace
|
|
1105
|
+
* @param data.username
|
|
1106
|
+
* @param data.requestBody
|
|
1107
|
+
* @returns OffboardResponse offboard response with conflicts or summary
|
|
1108
|
+
* @throws ApiError
|
|
1109
|
+
*/
|
|
1110
|
+
static offboardWorkspaceUser(data) {
|
|
1111
|
+
return __request(OpenAPI, {
|
|
1112
|
+
method: 'POST',
|
|
1113
|
+
url: '/w/{workspace}/users/offboard/{username}',
|
|
1114
|
+
path: {
|
|
1115
|
+
workspace: data.workspace,
|
|
1116
|
+
username: data.username
|
|
1117
|
+
},
|
|
1118
|
+
body: data.requestBody,
|
|
1119
|
+
mediaType: 'application/json'
|
|
1120
|
+
});
|
|
1121
|
+
}
|
|
940
1122
|
/**
|
|
941
1123
|
* convert manual user to group user (require admin privilege)
|
|
942
1124
|
* @param data The data for the request.
|
|
@@ -1050,6 +1232,38 @@ export class GitSyncService {
|
|
|
1050
1232
|
mediaType: 'application/json'
|
|
1051
1233
|
});
|
|
1052
1234
|
}
|
|
1235
|
+
/**
|
|
1236
|
+
* GHES installation callback
|
|
1237
|
+
* Register a self-managed GitHub App installation from GitHub Enterprise Server
|
|
1238
|
+
* @param data The data for the request.
|
|
1239
|
+
* @param data.workspace
|
|
1240
|
+
* @param data.requestBody
|
|
1241
|
+
* @returns unknown GHES installation registered successfully
|
|
1242
|
+
* @throws ApiError
|
|
1243
|
+
*/
|
|
1244
|
+
static ghesInstallationCallback(data) {
|
|
1245
|
+
return __request(OpenAPI, {
|
|
1246
|
+
method: 'POST',
|
|
1247
|
+
url: '/w/{workspace}/github_app/ghes_installation_callback',
|
|
1248
|
+
path: {
|
|
1249
|
+
workspace: data.workspace
|
|
1250
|
+
},
|
|
1251
|
+
body: data.requestBody,
|
|
1252
|
+
mediaType: 'application/json'
|
|
1253
|
+
});
|
|
1254
|
+
}
|
|
1255
|
+
/**
|
|
1256
|
+
* Get GHES app config
|
|
1257
|
+
* Returns the GitHub Enterprise Server app configuration (without private key) for constructing the installation URL
|
|
1258
|
+
* @returns unknown GHES app configuration
|
|
1259
|
+
* @throws ApiError
|
|
1260
|
+
*/
|
|
1261
|
+
static getGhesConfig() {
|
|
1262
|
+
return __request(OpenAPI, {
|
|
1263
|
+
method: 'GET',
|
|
1264
|
+
url: '/github_app/ghes_config'
|
|
1265
|
+
});
|
|
1266
|
+
}
|
|
1053
1267
|
}
|
|
1054
1268
|
export class WorkspaceService {
|
|
1055
1269
|
/**
|
|
@@ -1259,6 +1473,25 @@ export class WorkspaceService {
|
|
|
1259
1473
|
mediaType: 'application/json'
|
|
1260
1474
|
});
|
|
1261
1475
|
}
|
|
1476
|
+
/**
|
|
1477
|
+
* create a service account
|
|
1478
|
+
* @param data The data for the request.
|
|
1479
|
+
* @param data.workspace
|
|
1480
|
+
* @param data.requestBody
|
|
1481
|
+
* @returns string service account created
|
|
1482
|
+
* @throws ApiError
|
|
1483
|
+
*/
|
|
1484
|
+
static createServiceAccount(data) {
|
|
1485
|
+
return __request(OpenAPI, {
|
|
1486
|
+
method: 'POST',
|
|
1487
|
+
url: '/w/{workspace}/workspaces/create_service_account',
|
|
1488
|
+
path: {
|
|
1489
|
+
workspace: data.workspace
|
|
1490
|
+
},
|
|
1491
|
+
body: data.requestBody,
|
|
1492
|
+
mediaType: 'application/json'
|
|
1493
|
+
});
|
|
1494
|
+
}
|
|
1262
1495
|
/**
|
|
1263
1496
|
* delete user invite
|
|
1264
1497
|
* @param data The data for the request.
|
|
@@ -1630,6 +1863,24 @@ export class WorkspaceService {
|
|
|
1630
1863
|
}
|
|
1631
1864
|
});
|
|
1632
1865
|
}
|
|
1866
|
+
/**
|
|
1867
|
+
* get script imports for an importer path
|
|
1868
|
+
* @param data The data for the request.
|
|
1869
|
+
* @param data.workspace
|
|
1870
|
+
* @param data.importerPath The script path to get imports for
|
|
1871
|
+
* @returns string list of imported script paths
|
|
1872
|
+
* @throws ApiError
|
|
1873
|
+
*/
|
|
1874
|
+
static getImports(data) {
|
|
1875
|
+
return __request(OpenAPI, {
|
|
1876
|
+
method: 'GET',
|
|
1877
|
+
url: '/w/{workspace}/workspaces/get_imports/{importer_path}',
|
|
1878
|
+
path: {
|
|
1879
|
+
workspace: data.workspace,
|
|
1880
|
+
importer_path: data.importerPath
|
|
1881
|
+
}
|
|
1882
|
+
});
|
|
1883
|
+
}
|
|
1633
1884
|
/**
|
|
1634
1885
|
* get dependents amounts for multiple imported paths
|
|
1635
1886
|
* @param data The data for the request.
|
|
@@ -1934,7 +2185,7 @@ export class WorkspaceService {
|
|
|
1934
2185
|
* @param data The data for the request.
|
|
1935
2186
|
* @param data.workspace
|
|
1936
2187
|
* @param data.requestBody WorkspaceCopilotConfig
|
|
1937
|
-
* @returns
|
|
2188
|
+
* @returns unknown status
|
|
1938
2189
|
* @throws ApiError
|
|
1939
2190
|
*/
|
|
1940
2191
|
static editCopilotConfig(data) {
|
|
@@ -1948,6 +2199,22 @@ export class WorkspaceService {
|
|
|
1948
2199
|
mediaType: 'application/json'
|
|
1949
2200
|
});
|
|
1950
2201
|
}
|
|
2202
|
+
/**
|
|
2203
|
+
* get copilot settings state
|
|
2204
|
+
* @param data The data for the request.
|
|
2205
|
+
* @param data.workspace
|
|
2206
|
+
* @returns unknown status
|
|
2207
|
+
* @throws ApiError
|
|
2208
|
+
*/
|
|
2209
|
+
static getCopilotSettingsState(data) {
|
|
2210
|
+
return __request(OpenAPI, {
|
|
2211
|
+
method: 'GET',
|
|
2212
|
+
url: '/w/{workspace}/workspaces/get_copilot_settings_state',
|
|
2213
|
+
path: {
|
|
2214
|
+
workspace: data.workspace
|
|
2215
|
+
}
|
|
2216
|
+
});
|
|
2217
|
+
}
|
|
1951
2218
|
/**
|
|
1952
2219
|
* get copilot info
|
|
1953
2220
|
* @param data The data for the request.
|
|
@@ -2041,7 +2308,7 @@ export class WorkspaceService {
|
|
|
2041
2308
|
* list Datatables
|
|
2042
2309
|
* @param data The data for the request.
|
|
2043
2310
|
* @param data.workspace
|
|
2044
|
-
* @returns
|
|
2311
|
+
* @returns unknown status
|
|
2045
2312
|
* @throws ApiError
|
|
2046
2313
|
*/
|
|
2047
2314
|
static listDataTables(data) {
|
|
@@ -2107,6 +2374,117 @@ export class WorkspaceService {
|
|
|
2107
2374
|
mediaType: 'application/json'
|
|
2108
2375
|
});
|
|
2109
2376
|
}
|
|
2377
|
+
/**
|
|
2378
|
+
* create a new PostgreSQL database for a datatable
|
|
2379
|
+
* @param data The data for the request.
|
|
2380
|
+
* @param data.workspace
|
|
2381
|
+
* @param data.requestBody Create pg database request
|
|
2382
|
+
* @returns string status
|
|
2383
|
+
* @throws ApiError
|
|
2384
|
+
*/
|
|
2385
|
+
static createPgDatabase(data) {
|
|
2386
|
+
return __request(OpenAPI, {
|
|
2387
|
+
method: 'POST',
|
|
2388
|
+
url: '/w/{workspace}/workspaces/create_pg_database',
|
|
2389
|
+
path: {
|
|
2390
|
+
workspace: data.workspace
|
|
2391
|
+
},
|
|
2392
|
+
body: data.requestBody,
|
|
2393
|
+
mediaType: 'application/json'
|
|
2394
|
+
});
|
|
2395
|
+
}
|
|
2396
|
+
/**
|
|
2397
|
+
* drop forked datatable databases
|
|
2398
|
+
* @param data The data for the request.
|
|
2399
|
+
* @param data.workspace
|
|
2400
|
+
* @param data.requestBody
|
|
2401
|
+
* @returns string list of errors (empty if all succeeded)
|
|
2402
|
+
* @throws ApiError
|
|
2403
|
+
*/
|
|
2404
|
+
static dropForkedDatatableDatabases(data) {
|
|
2405
|
+
return __request(OpenAPI, {
|
|
2406
|
+
method: 'POST',
|
|
2407
|
+
url: '/w/{workspace}/workspaces/drop_forked_datatable_databases',
|
|
2408
|
+
path: {
|
|
2409
|
+
workspace: data.workspace
|
|
2410
|
+
},
|
|
2411
|
+
body: data.requestBody,
|
|
2412
|
+
mediaType: 'application/json'
|
|
2413
|
+
});
|
|
2414
|
+
}
|
|
2415
|
+
/**
|
|
2416
|
+
* import a PostgreSQL database from source to target via pg_dump
|
|
2417
|
+
* @param data The data for the request.
|
|
2418
|
+
* @param data.workspace
|
|
2419
|
+
* @param data.requestBody Import pg database request
|
|
2420
|
+
* @returns string status
|
|
2421
|
+
* @throws ApiError
|
|
2422
|
+
*/
|
|
2423
|
+
static importPgDatabase(data) {
|
|
2424
|
+
return __request(OpenAPI, {
|
|
2425
|
+
method: 'POST',
|
|
2426
|
+
url: '/w/{workspace}/workspaces/import_pg_database',
|
|
2427
|
+
path: {
|
|
2428
|
+
workspace: data.workspace
|
|
2429
|
+
},
|
|
2430
|
+
body: data.requestBody,
|
|
2431
|
+
mediaType: 'application/json'
|
|
2432
|
+
});
|
|
2433
|
+
}
|
|
2434
|
+
/**
|
|
2435
|
+
* export the schema of a PostgreSQL database
|
|
2436
|
+
* @param data The data for the request.
|
|
2437
|
+
* @param data.workspace
|
|
2438
|
+
* @param data.requestBody Export pg schema request
|
|
2439
|
+
* @returns string schema dump
|
|
2440
|
+
* @throws ApiError
|
|
2441
|
+
*/
|
|
2442
|
+
static exportPgSchema(data) {
|
|
2443
|
+
return __request(OpenAPI, {
|
|
2444
|
+
method: 'POST',
|
|
2445
|
+
url: '/w/{workspace}/workspaces/export_pg_schema',
|
|
2446
|
+
path: {
|
|
2447
|
+
workspace: data.workspace
|
|
2448
|
+
},
|
|
2449
|
+
body: data.requestBody,
|
|
2450
|
+
mediaType: 'application/json'
|
|
2451
|
+
});
|
|
2452
|
+
}
|
|
2453
|
+
/**
|
|
2454
|
+
* get the full schema of a datatable database as TableEditorValues
|
|
2455
|
+
* @param data The data for the request.
|
|
2456
|
+
* @param data.workspace
|
|
2457
|
+
* @param data.requestBody
|
|
2458
|
+
* @returns unknown Schema as { schema_name: { table_name: TableEditorValues } }
|
|
2459
|
+
* @throws ApiError
|
|
2460
|
+
*/
|
|
2461
|
+
static getDatatableFullSchema(data) {
|
|
2462
|
+
return __request(OpenAPI, {
|
|
2463
|
+
method: 'POST',
|
|
2464
|
+
url: '/w/{workspace}/workspaces/get_datatable_full_schema',
|
|
2465
|
+
path: {
|
|
2466
|
+
workspace: data.workspace
|
|
2467
|
+
},
|
|
2468
|
+
body: data.requestBody,
|
|
2469
|
+
mediaType: 'application/json'
|
|
2470
|
+
});
|
|
2471
|
+
}
|
|
2472
|
+
/**
|
|
2473
|
+
* Check if git sync is available for this workspace
|
|
2474
|
+
* @param data The data for the request.
|
|
2475
|
+
* @param data.workspace
|
|
2476
|
+
* @returns unknown Git sync availability status
|
|
2477
|
+
* @throws ApiError
|
|
2478
|
+
*/
|
|
2479
|
+
static getGitSyncEnabled(data) {
|
|
2480
|
+
return __request(OpenAPI, {
|
|
2481
|
+
method: 'GET',
|
|
2482
|
+
url: '/w/{workspace}/workspaces/git_sync_enabled',
|
|
2483
|
+
path: {
|
|
2484
|
+
workspace: data.workspace
|
|
2485
|
+
}
|
|
2486
|
+
});
|
|
2487
|
+
}
|
|
2110
2488
|
/**
|
|
2111
2489
|
* edit workspace git sync settings
|
|
2112
2490
|
* @param data The data for the request.
|
|
@@ -2422,6 +2800,177 @@ export class WorkspaceService {
|
|
|
2422
2800
|
}
|
|
2423
2801
|
});
|
|
2424
2802
|
}
|
|
2803
|
+
/**
|
|
2804
|
+
* list users eligible to be deployment request assignees
|
|
2805
|
+
* Returns admins and members of wm_deployers in the parent workspace of the fork at `{workspace}`.
|
|
2806
|
+
* @param data The data for the request.
|
|
2807
|
+
* @param data.workspace
|
|
2808
|
+
* @returns DeploymentRequestEligibleDeployer list of eligible deployers
|
|
2809
|
+
* @throws ApiError
|
|
2810
|
+
*/
|
|
2811
|
+
static listDeploymentRequestEligibleDeployers(data) {
|
|
2812
|
+
return __request(OpenAPI, {
|
|
2813
|
+
method: 'GET',
|
|
2814
|
+
url: '/w/{workspace}/deployment_request/eligible_deployers',
|
|
2815
|
+
path: {
|
|
2816
|
+
workspace: data.workspace
|
|
2817
|
+
}
|
|
2818
|
+
});
|
|
2819
|
+
}
|
|
2820
|
+
/**
|
|
2821
|
+
* get the currently open deployment request for this fork
|
|
2822
|
+
* @param data The data for the request.
|
|
2823
|
+
* @param data.workspace
|
|
2824
|
+
* @returns unknown the open request or null if none exists
|
|
2825
|
+
* @throws ApiError
|
|
2826
|
+
*/
|
|
2827
|
+
static getOpenDeploymentRequest(data) {
|
|
2828
|
+
return __request(OpenAPI, {
|
|
2829
|
+
method: 'GET',
|
|
2830
|
+
url: '/w/{workspace}/deployment_request/open',
|
|
2831
|
+
path: {
|
|
2832
|
+
workspace: data.workspace
|
|
2833
|
+
}
|
|
2834
|
+
});
|
|
2835
|
+
}
|
|
2836
|
+
/**
|
|
2837
|
+
* create a new deployment request
|
|
2838
|
+
* @param data The data for the request.
|
|
2839
|
+
* @param data.workspace
|
|
2840
|
+
* @param data.requestBody
|
|
2841
|
+
* @returns DeploymentRequest request created
|
|
2842
|
+
* @throws ApiError
|
|
2843
|
+
*/
|
|
2844
|
+
static createDeploymentRequest(data) {
|
|
2845
|
+
return __request(OpenAPI, {
|
|
2846
|
+
method: 'POST',
|
|
2847
|
+
url: '/w/{workspace}/deployment_request',
|
|
2848
|
+
path: {
|
|
2849
|
+
workspace: data.workspace
|
|
2850
|
+
},
|
|
2851
|
+
body: data.requestBody,
|
|
2852
|
+
mediaType: 'application/json',
|
|
2853
|
+
errors: {
|
|
2854
|
+
400: 'invalid assignees',
|
|
2855
|
+
409: 'a deployment request is already open for this fork'
|
|
2856
|
+
}
|
|
2857
|
+
});
|
|
2858
|
+
}
|
|
2859
|
+
/**
|
|
2860
|
+
* cancel an open deployment request
|
|
2861
|
+
* @param data The data for the request.
|
|
2862
|
+
* @param data.workspace
|
|
2863
|
+
* @param data.id
|
|
2864
|
+
* @returns string cancelled
|
|
2865
|
+
* @throws ApiError
|
|
2866
|
+
*/
|
|
2867
|
+
static cancelDeploymentRequest(data) {
|
|
2868
|
+
return __request(OpenAPI, {
|
|
2869
|
+
method: 'POST',
|
|
2870
|
+
url: '/w/{workspace}/deployment_request/{id}/cancel',
|
|
2871
|
+
path: {
|
|
2872
|
+
workspace: data.workspace,
|
|
2873
|
+
id: data.id
|
|
2874
|
+
}
|
|
2875
|
+
});
|
|
2876
|
+
}
|
|
2877
|
+
/**
|
|
2878
|
+
* close a deployment request after a successful merge
|
|
2879
|
+
* Called by the UI after the deploy loop completes. Closes the request and marks every comment obsolete. Idempotent.
|
|
2880
|
+
* @param data The data for the request.
|
|
2881
|
+
* @param data.workspace
|
|
2882
|
+
* @param data.id
|
|
2883
|
+
* @returns string closed
|
|
2884
|
+
* @throws ApiError
|
|
2885
|
+
*/
|
|
2886
|
+
static closeDeploymentRequestMerged(data) {
|
|
2887
|
+
return __request(OpenAPI, {
|
|
2888
|
+
method: 'POST',
|
|
2889
|
+
url: '/w/{workspace}/deployment_request/{id}/close_merged',
|
|
2890
|
+
path: {
|
|
2891
|
+
workspace: data.workspace,
|
|
2892
|
+
id: data.id
|
|
2893
|
+
}
|
|
2894
|
+
});
|
|
2895
|
+
}
|
|
2896
|
+
/**
|
|
2897
|
+
* append a comment to an open deployment request
|
|
2898
|
+
* @param data The data for the request.
|
|
2899
|
+
* @param data.workspace
|
|
2900
|
+
* @param data.id
|
|
2901
|
+
* @param data.requestBody
|
|
2902
|
+
* @returns DeploymentRequestComment comment created
|
|
2903
|
+
* @throws ApiError
|
|
2904
|
+
*/
|
|
2905
|
+
static createDeploymentRequestComment(data) {
|
|
2906
|
+
return __request(OpenAPI, {
|
|
2907
|
+
method: 'POST',
|
|
2908
|
+
url: '/w/{workspace}/deployment_request/{id}/comment',
|
|
2909
|
+
path: {
|
|
2910
|
+
workspace: data.workspace,
|
|
2911
|
+
id: data.id
|
|
2912
|
+
},
|
|
2913
|
+
body: data.requestBody,
|
|
2914
|
+
mediaType: 'application/json',
|
|
2915
|
+
errors: {
|
|
2916
|
+
400: 'invalid input or request closed'
|
|
2917
|
+
}
|
|
2918
|
+
});
|
|
2919
|
+
}
|
|
2920
|
+
/**
|
|
2921
|
+
* log AI chat message
|
|
2922
|
+
* @param data The data for the request.
|
|
2923
|
+
* @param data.workspace
|
|
2924
|
+
* @param data.requestBody
|
|
2925
|
+
* @returns void logged
|
|
2926
|
+
* @throws ApiError
|
|
2927
|
+
*/
|
|
2928
|
+
static logAiChat(data) {
|
|
2929
|
+
return __request(OpenAPI, {
|
|
2930
|
+
method: 'POST',
|
|
2931
|
+
url: '/w/{workspace}/workspaces/log_chat',
|
|
2932
|
+
path: {
|
|
2933
|
+
workspace: data.workspace
|
|
2934
|
+
},
|
|
2935
|
+
body: data.requestBody,
|
|
2936
|
+
mediaType: 'application/json'
|
|
2937
|
+
});
|
|
2938
|
+
}
|
|
2939
|
+
/**
|
|
2940
|
+
* get cloud quota usage and limits for workspace
|
|
2941
|
+
* @param data The data for the request.
|
|
2942
|
+
* @param data.workspace
|
|
2943
|
+
* @returns unknown cloud quota usage and limits
|
|
2944
|
+
* @throws ApiError
|
|
2945
|
+
*/
|
|
2946
|
+
static getCloudQuotas(data) {
|
|
2947
|
+
return __request(OpenAPI, {
|
|
2948
|
+
method: 'GET',
|
|
2949
|
+
url: '/w/{workspace}/workspaces/cloud_quotas',
|
|
2950
|
+
path: {
|
|
2951
|
+
workspace: data.workspace
|
|
2952
|
+
}
|
|
2953
|
+
});
|
|
2954
|
+
}
|
|
2955
|
+
/**
|
|
2956
|
+
* prune old versions of scripts, flows, or apps
|
|
2957
|
+
* @param data The data for the request.
|
|
2958
|
+
* @param data.workspace
|
|
2959
|
+
* @param data.requestBody
|
|
2960
|
+
* @returns unknown number of pruned versions
|
|
2961
|
+
* @throws ApiError
|
|
2962
|
+
*/
|
|
2963
|
+
static pruneVersions(data) {
|
|
2964
|
+
return __request(OpenAPI, {
|
|
2965
|
+
method: 'POST',
|
|
2966
|
+
url: '/w/{workspace}/workspaces/prune_versions',
|
|
2967
|
+
path: {
|
|
2968
|
+
workspace: data.workspace
|
|
2969
|
+
},
|
|
2970
|
+
body: data.requestBody,
|
|
2971
|
+
mediaType: 'application/json'
|
|
2972
|
+
});
|
|
2973
|
+
}
|
|
2425
2974
|
}
|
|
2426
2975
|
export class SettingService {
|
|
2427
2976
|
/**
|
|
@@ -2465,6 +3014,22 @@ export class SettingService {
|
|
|
2465
3014
|
mediaType: 'application/json'
|
|
2466
3015
|
});
|
|
2467
3016
|
}
|
|
3017
|
+
/**
|
|
3018
|
+
* Drops a custom instance database (superadmin only, irreversible)
|
|
3019
|
+
* @param data The data for the request.
|
|
3020
|
+
* @param data.name The name of the database to drop
|
|
3021
|
+
* @returns string status
|
|
3022
|
+
* @throws ApiError
|
|
3023
|
+
*/
|
|
3024
|
+
static dropCustomInstanceDb(data) {
|
|
3025
|
+
return __request(OpenAPI, {
|
|
3026
|
+
method: 'POST',
|
|
3027
|
+
url: '/settings/drop_custom_instance_pg_database/{name}',
|
|
3028
|
+
path: {
|
|
3029
|
+
name: data.name
|
|
3030
|
+
}
|
|
3031
|
+
});
|
|
3032
|
+
}
|
|
2468
3033
|
/**
|
|
2469
3034
|
* get global settings
|
|
2470
3035
|
* @param data The data for the request.
|
|
@@ -2500,6 +3065,23 @@ export class SettingService {
|
|
|
2500
3065
|
mediaType: 'application/json'
|
|
2501
3066
|
});
|
|
2502
3067
|
}
|
|
3068
|
+
/**
|
|
3069
|
+
* get instance ruff config (unauthenticated)
|
|
3070
|
+
* Returns the instance-level ruff.toml content as plain text.
|
|
3071
|
+
* Intentionally unauthenticated so the LSP extra container can poll it
|
|
3072
|
+
* across any deployment topology. Responds with an empty body when the
|
|
3073
|
+
* instance config is unset. Ruff configuration is lint/format policy,
|
|
3074
|
+
* not a credential.
|
|
3075
|
+
*
|
|
3076
|
+
* @returns string ruff.toml content (may be empty)
|
|
3077
|
+
* @throws ApiError
|
|
3078
|
+
*/
|
|
3079
|
+
static getRuffConfig() {
|
|
3080
|
+
return __request(OpenAPI, {
|
|
3081
|
+
method: 'GET',
|
|
3082
|
+
url: '/settings_u/ruff_config'
|
|
3083
|
+
});
|
|
3084
|
+
}
|
|
2503
3085
|
/**
|
|
2504
3086
|
* get local settings
|
|
2505
3087
|
* @returns unknown status
|
|
@@ -2618,6 +3200,50 @@ export class SettingService {
|
|
|
2618
3200
|
mediaType: 'application/json'
|
|
2619
3201
|
});
|
|
2620
3202
|
}
|
|
3203
|
+
/**
|
|
3204
|
+
* get current or last object storage usage computation (null if never run)
|
|
3205
|
+
* @returns unknown current or last storage-usage computation state
|
|
3206
|
+
* @throws ApiError
|
|
3207
|
+
*/
|
|
3208
|
+
static getObjectStorageUsage() {
|
|
3209
|
+
return __request(OpenAPI, {
|
|
3210
|
+
method: 'GET',
|
|
3211
|
+
url: '/settings/object_storage_usage'
|
|
3212
|
+
});
|
|
3213
|
+
}
|
|
3214
|
+
/**
|
|
3215
|
+
* start a background computation of object storage usage by top-level folder
|
|
3216
|
+
* @returns string computation started
|
|
3217
|
+
* @throws ApiError
|
|
3218
|
+
*/
|
|
3219
|
+
static computeObjectStorageUsage() {
|
|
3220
|
+
return __request(OpenAPI, {
|
|
3221
|
+
method: 'POST',
|
|
3222
|
+
url: '/settings/object_storage_usage'
|
|
3223
|
+
});
|
|
3224
|
+
}
|
|
3225
|
+
/**
|
|
3226
|
+
* start a manual cleanup of expired logs from object storage
|
|
3227
|
+
* @returns string cleanup started
|
|
3228
|
+
* @throws ApiError
|
|
3229
|
+
*/
|
|
3230
|
+
static runLogCleanup() {
|
|
3231
|
+
return __request(OpenAPI, {
|
|
3232
|
+
method: 'POST',
|
|
3233
|
+
url: '/settings/run_log_cleanup'
|
|
3234
|
+
});
|
|
3235
|
+
}
|
|
3236
|
+
/**
|
|
3237
|
+
* get status of the manual log cleanup task
|
|
3238
|
+
* @returns unknown current or last log cleanup status (null if never run)
|
|
3239
|
+
* @throws ApiError
|
|
3240
|
+
*/
|
|
3241
|
+
static getLogCleanupStatus() {
|
|
3242
|
+
return __request(OpenAPI, {
|
|
3243
|
+
method: 'GET',
|
|
3244
|
+
url: '/settings/log_cleanup_status'
|
|
3245
|
+
});
|
|
3246
|
+
}
|
|
2621
3247
|
/**
|
|
2622
3248
|
* send stats
|
|
2623
3249
|
* @returns string status
|
|
@@ -2630,8 +3256,25 @@ export class SettingService {
|
|
|
2630
3256
|
});
|
|
2631
3257
|
}
|
|
2632
3258
|
/**
|
|
2633
|
-
*
|
|
2634
|
-
*
|
|
3259
|
+
* restart worker group
|
|
3260
|
+
* Send a restart signal to all workers in the specified worker group. Workers will gracefully shut down and are expected to be restarted by their supervisor. Requires devops role.
|
|
3261
|
+
* @param data The data for the request.
|
|
3262
|
+
* @param data.workerGroup the name of the worker group to restart
|
|
3263
|
+
* @returns string restart signal sent
|
|
3264
|
+
* @throws ApiError
|
|
3265
|
+
*/
|
|
3266
|
+
static restartWorkerGroup(data) {
|
|
3267
|
+
return __request(OpenAPI, {
|
|
3268
|
+
method: 'POST',
|
|
3269
|
+
url: '/settings/restart_worker_group/{worker_group}',
|
|
3270
|
+
path: {
|
|
3271
|
+
worker_group: data.workerGroup
|
|
3272
|
+
}
|
|
3273
|
+
});
|
|
3274
|
+
}
|
|
3275
|
+
/**
|
|
3276
|
+
* get telemetry stats with HMAC signature (EE only)
|
|
3277
|
+
* @returns unknown telemetry stats JSON with signature
|
|
2635
3278
|
* @throws ApiError
|
|
2636
3279
|
*/
|
|
2637
3280
|
static getStats() {
|
|
@@ -2802,6 +3445,96 @@ export class SettingService {
|
|
|
2802
3445
|
mediaType: 'application/json'
|
|
2803
3446
|
});
|
|
2804
3447
|
}
|
|
3448
|
+
/**
|
|
3449
|
+
* test Azure Key Vault connection
|
|
3450
|
+
* @param data The data for the request.
|
|
3451
|
+
* @param data.requestBody Azure Key Vault settings to test
|
|
3452
|
+
* @returns string connection successful
|
|
3453
|
+
* @throws ApiError
|
|
3454
|
+
*/
|
|
3455
|
+
static testAzureKvBackend(data) {
|
|
3456
|
+
return __request(OpenAPI, {
|
|
3457
|
+
method: 'POST',
|
|
3458
|
+
url: '/settings/test_azure_kv_backend',
|
|
3459
|
+
body: data.requestBody,
|
|
3460
|
+
mediaType: 'application/json'
|
|
3461
|
+
});
|
|
3462
|
+
}
|
|
3463
|
+
/**
|
|
3464
|
+
* migrate secrets from database to Azure Key Vault
|
|
3465
|
+
* @param data The data for the request.
|
|
3466
|
+
* @param data.requestBody Azure Key Vault settings for migration target
|
|
3467
|
+
* @returns SecretMigrationReport migration report
|
|
3468
|
+
* @throws ApiError
|
|
3469
|
+
*/
|
|
3470
|
+
static migrateSecretsToAzureKv(data) {
|
|
3471
|
+
return __request(OpenAPI, {
|
|
3472
|
+
method: 'POST',
|
|
3473
|
+
url: '/settings/migrate_secrets_to_azure_kv',
|
|
3474
|
+
body: data.requestBody,
|
|
3475
|
+
mediaType: 'application/json'
|
|
3476
|
+
});
|
|
3477
|
+
}
|
|
3478
|
+
/**
|
|
3479
|
+
* migrate secrets from Azure Key Vault to database
|
|
3480
|
+
* @param data The data for the request.
|
|
3481
|
+
* @param data.requestBody Azure Key Vault settings for migration source
|
|
3482
|
+
* @returns SecretMigrationReport migration report
|
|
3483
|
+
* @throws ApiError
|
|
3484
|
+
*/
|
|
3485
|
+
static migrateSecretsFromAzureKv(data) {
|
|
3486
|
+
return __request(OpenAPI, {
|
|
3487
|
+
method: 'POST',
|
|
3488
|
+
url: '/settings/migrate_secrets_from_azure_kv',
|
|
3489
|
+
body: data.requestBody,
|
|
3490
|
+
mediaType: 'application/json'
|
|
3491
|
+
});
|
|
3492
|
+
}
|
|
3493
|
+
/**
|
|
3494
|
+
* test connection to AWS Secrets Manager
|
|
3495
|
+
* @param data The data for the request.
|
|
3496
|
+
* @param data.requestBody
|
|
3497
|
+
* @returns string connection test result
|
|
3498
|
+
* @throws ApiError
|
|
3499
|
+
*/
|
|
3500
|
+
static testAwsSmBackend(data) {
|
|
3501
|
+
return __request(OpenAPI, {
|
|
3502
|
+
method: 'POST',
|
|
3503
|
+
url: '/settings/test_aws_sm_backend',
|
|
3504
|
+
body: data.requestBody,
|
|
3505
|
+
mediaType: 'application/json'
|
|
3506
|
+
});
|
|
3507
|
+
}
|
|
3508
|
+
/**
|
|
3509
|
+
* migrate secrets from database to AWS Secrets Manager
|
|
3510
|
+
* @param data The data for the request.
|
|
3511
|
+
* @param data.requestBody
|
|
3512
|
+
* @returns SecretMigrationReport migration report
|
|
3513
|
+
* @throws ApiError
|
|
3514
|
+
*/
|
|
3515
|
+
static migrateSecretsToAwsSm(data) {
|
|
3516
|
+
return __request(OpenAPI, {
|
|
3517
|
+
method: 'POST',
|
|
3518
|
+
url: '/settings/migrate_secrets_to_aws_sm',
|
|
3519
|
+
body: data.requestBody,
|
|
3520
|
+
mediaType: 'application/json'
|
|
3521
|
+
});
|
|
3522
|
+
}
|
|
3523
|
+
/**
|
|
3524
|
+
* migrate secrets from AWS Secrets Manager to database
|
|
3525
|
+
* @param data The data for the request.
|
|
3526
|
+
* @param data.requestBody
|
|
3527
|
+
* @returns SecretMigrationReport migration report
|
|
3528
|
+
* @throws ApiError
|
|
3529
|
+
*/
|
|
3530
|
+
static migrateSecretsFromAwsSm(data) {
|
|
3531
|
+
return __request(OpenAPI, {
|
|
3532
|
+
method: 'POST',
|
|
3533
|
+
url: '/settings/migrate_secrets_from_aws_sm',
|
|
3534
|
+
body: data.requestBody,
|
|
3535
|
+
mediaType: 'application/json'
|
|
3536
|
+
});
|
|
3537
|
+
}
|
|
2805
3538
|
/**
|
|
2806
3539
|
* get secondary storage names
|
|
2807
3540
|
* @param data The data for the request.
|
|
@@ -3140,6 +3873,7 @@ export class VariableService {
|
|
|
3140
3873
|
* @param data.broadFilter broad search across multiple fields (case-insensitive substring match)
|
|
3141
3874
|
* @param data.page which page to return (start at 1, default 1)
|
|
3142
3875
|
* @param data.perPage number of items to return for a given page (default 30, max 100)
|
|
3876
|
+
* @param data.label Filter by label
|
|
3143
3877
|
* @returns ListableVariable variable list
|
|
3144
3878
|
* @throws ApiError
|
|
3145
3879
|
*/
|
|
@@ -3157,7 +3891,8 @@ export class VariableService {
|
|
|
3157
3891
|
value: data.value,
|
|
3158
3892
|
broad_filter: data.broadFilter,
|
|
3159
3893
|
page: data.page,
|
|
3160
|
-
per_page: data.perPage
|
|
3894
|
+
per_page: data.perPage,
|
|
3895
|
+
label: data.label
|
|
3161
3896
|
}
|
|
3162
3897
|
});
|
|
3163
3898
|
}
|
|
@@ -3614,6 +4349,7 @@ export class ResourceService {
|
|
|
3614
4349
|
* @param data.description pattern match filter for description field (case-insensitive)
|
|
3615
4350
|
* @param data.value JSONB subset match filter using base64 encoded JSON
|
|
3616
4351
|
* @param data.broadFilter broad search across multiple fields (case-insensitive substring match)
|
|
4352
|
+
* @param data.label Filter by label
|
|
3617
4353
|
* @returns ListableResource resource list
|
|
3618
4354
|
* @throws ApiError
|
|
3619
4355
|
*/
|
|
@@ -3633,7 +4369,8 @@ export class ResourceService {
|
|
|
3633
4369
|
path: data.path,
|
|
3634
4370
|
description: data.description,
|
|
3635
4371
|
value: data.value,
|
|
3636
|
-
broad_filter: data.broadFilter
|
|
4372
|
+
broad_filter: data.broadFilter,
|
|
4373
|
+
label: data.label
|
|
3637
4374
|
}
|
|
3638
4375
|
});
|
|
3639
4376
|
}
|
|
@@ -4047,6 +4784,7 @@ export class FlowService {
|
|
|
4047
4784
|
* If true, show only flows with dedicated_worker enabled.
|
|
4048
4785
|
* If false, show only flows with dedicated_worker disabled.
|
|
4049
4786
|
*
|
|
4787
|
+
* @param data.label Filter by label
|
|
4050
4788
|
* @returns unknown All flow
|
|
4051
4789
|
* @throws ApiError
|
|
4052
4790
|
*/
|
|
@@ -4069,7 +4807,8 @@ export class FlowService {
|
|
|
4069
4807
|
include_draft_only: data.includeDraftOnly,
|
|
4070
4808
|
with_deployment_msg: data.withDeploymentMsg,
|
|
4071
4809
|
without_description: data.withoutDescription,
|
|
4072
|
-
dedicated_worker: data.dedicatedWorker
|
|
4810
|
+
dedicated_worker: data.dedicatedWorker,
|
|
4811
|
+
label: data.label
|
|
4073
4812
|
}
|
|
4074
4813
|
});
|
|
4075
4814
|
}
|
|
@@ -4502,6 +5241,7 @@ export class AppService {
|
|
|
4502
5241
|
* @param data.withDeploymentMsg (default false)
|
|
4503
5242
|
* include deployment message
|
|
4504
5243
|
*
|
|
5244
|
+
* @param data.label Filter by label
|
|
4505
5245
|
* @returns ListableApp All apps
|
|
4506
5246
|
* @throws ApiError
|
|
4507
5247
|
*/
|
|
@@ -4521,7 +5261,8 @@ export class AppService {
|
|
|
4521
5261
|
path_exact: data.pathExact,
|
|
4522
5262
|
starred_only: data.starredOnly,
|
|
4523
5263
|
include_draft_only: data.includeDraftOnly,
|
|
4524
|
-
with_deployment_msg: data.withDeploymentMsg
|
|
5264
|
+
with_deployment_msg: data.withDeploymentMsg,
|
|
5265
|
+
label: data.label
|
|
4525
5266
|
}
|
|
4526
5267
|
});
|
|
4527
5268
|
}
|
|
@@ -5148,6 +5889,7 @@ export class ScriptService {
|
|
|
5148
5889
|
* If true, show only scripts with dedicated_worker enabled.
|
|
5149
5890
|
* If false, show only scripts with dedicated_worker disabled.
|
|
5150
5891
|
*
|
|
5892
|
+
* @param data.label Filter by label
|
|
5151
5893
|
* @returns Script All scripts
|
|
5152
5894
|
* @throws ApiError
|
|
5153
5895
|
*/
|
|
@@ -5177,7 +5919,8 @@ export class ScriptService {
|
|
|
5177
5919
|
with_deployment_msg: data.withDeploymentMsg,
|
|
5178
5920
|
languages: data.languages,
|
|
5179
5921
|
without_description: data.withoutDescription,
|
|
5180
|
-
dedicated_worker: data.dedicatedWorker
|
|
5922
|
+
dedicated_worker: data.dedicatedWorker,
|
|
5923
|
+
label: data.label
|
|
5181
5924
|
}
|
|
5182
5925
|
});
|
|
5183
5926
|
}
|
|
@@ -5485,6 +6228,22 @@ export class ScriptService {
|
|
|
5485
6228
|
mediaType: 'application/json'
|
|
5486
6229
|
});
|
|
5487
6230
|
}
|
|
6231
|
+
/**
|
|
6232
|
+
* list dedicated worker scripts with workspace dependency annotations
|
|
6233
|
+
* @param data The data for the request.
|
|
6234
|
+
* @param data.workspace
|
|
6235
|
+
* @returns unknown list of dedicated scripts with their workspace dependency names
|
|
6236
|
+
* @throws ApiError
|
|
6237
|
+
*/
|
|
6238
|
+
static listDedicatedWithDeps(data) {
|
|
6239
|
+
return __request(OpenAPI, {
|
|
6240
|
+
method: 'GET',
|
|
6241
|
+
url: '/w/{workspace}/scripts/list_dedicated_with_deps',
|
|
6242
|
+
path: {
|
|
6243
|
+
workspace: data.workspace
|
|
6244
|
+
}
|
|
6245
|
+
});
|
|
6246
|
+
}
|
|
5488
6247
|
/**
|
|
5489
6248
|
* raw script by path
|
|
5490
6249
|
* @param data The data for the request.
|
|
@@ -5601,6 +6360,83 @@ export class ScriptService {
|
|
|
5601
6360
|
}
|
|
5602
6361
|
});
|
|
5603
6362
|
}
|
|
6363
|
+
/**
|
|
6364
|
+
* get CI test results for a script, flow, or resource
|
|
6365
|
+
* @param data The data for the request.
|
|
6366
|
+
* @param data.workspace
|
|
6367
|
+
* @param data.kind
|
|
6368
|
+
* @param data.path
|
|
6369
|
+
* @returns CiTestResult CI test results
|
|
6370
|
+
* @throws ApiError
|
|
6371
|
+
*/
|
|
6372
|
+
static getCiTestResults(data) {
|
|
6373
|
+
return __request(OpenAPI, {
|
|
6374
|
+
method: 'GET',
|
|
6375
|
+
url: '/w/{workspace}/scripts/ci_test_results/{kind}/{path}',
|
|
6376
|
+
path: {
|
|
6377
|
+
workspace: data.workspace,
|
|
6378
|
+
kind: data.kind,
|
|
6379
|
+
path: data.path
|
|
6380
|
+
}
|
|
6381
|
+
});
|
|
6382
|
+
}
|
|
6383
|
+
/**
|
|
6384
|
+
* get CI test results for multiple items
|
|
6385
|
+
* @param data The data for the request.
|
|
6386
|
+
* @param data.workspace
|
|
6387
|
+
* @param data.requestBody
|
|
6388
|
+
* @returns CiTestResult CI test results by item key
|
|
6389
|
+
* @throws ApiError
|
|
6390
|
+
*/
|
|
6391
|
+
static getCiTestResultsBatch(data) {
|
|
6392
|
+
return __request(OpenAPI, {
|
|
6393
|
+
method: 'POST',
|
|
6394
|
+
url: '/w/{workspace}/scripts/ci_test_results_batch',
|
|
6395
|
+
path: {
|
|
6396
|
+
workspace: data.workspace
|
|
6397
|
+
},
|
|
6398
|
+
body: data.requestBody,
|
|
6399
|
+
mediaType: 'application/json'
|
|
6400
|
+
});
|
|
6401
|
+
}
|
|
6402
|
+
/**
|
|
6403
|
+
* store raw script content temporarily for CLI lock generation
|
|
6404
|
+
* @param data The data for the request.
|
|
6405
|
+
* @param data.workspace
|
|
6406
|
+
* @param data.requestBody script content to store
|
|
6407
|
+
* @returns string hash of stored content
|
|
6408
|
+
* @throws ApiError
|
|
6409
|
+
*/
|
|
6410
|
+
static storeRawScriptTemp(data) {
|
|
6411
|
+
return __request(OpenAPI, {
|
|
6412
|
+
method: 'POST',
|
|
6413
|
+
url: '/w/{workspace}/scripts/raw_temp/store',
|
|
6414
|
+
path: {
|
|
6415
|
+
workspace: data.workspace
|
|
6416
|
+
},
|
|
6417
|
+
body: data.requestBody,
|
|
6418
|
+
mediaType: 'application/json'
|
|
6419
|
+
});
|
|
6420
|
+
}
|
|
6421
|
+
/**
|
|
6422
|
+
* diff local script hashes against deployed versions
|
|
6423
|
+
* @param data The data for the request.
|
|
6424
|
+
* @param data.workspace
|
|
6425
|
+
* @param data.requestBody scripts and workspace deps to diff against deployed versions
|
|
6426
|
+
* @returns string list of paths that differ from deployed versions
|
|
6427
|
+
* @throws ApiError
|
|
6428
|
+
*/
|
|
6429
|
+
static diffRawScriptsWithDeployed(data) {
|
|
6430
|
+
return __request(OpenAPI, {
|
|
6431
|
+
method: 'POST',
|
|
6432
|
+
url: '/w/{workspace}/scripts/raw_temp/diff',
|
|
6433
|
+
path: {
|
|
6434
|
+
workspace: data.workspace
|
|
6435
|
+
},
|
|
6436
|
+
body: data.requestBody,
|
|
6437
|
+
mediaType: 'application/json'
|
|
6438
|
+
});
|
|
6439
|
+
}
|
|
5604
6440
|
}
|
|
5605
6441
|
export class DraftService {
|
|
5606
6442
|
/**
|
|
@@ -7534,6 +8370,24 @@ export class JobService {
|
|
|
7534
8370
|
}
|
|
7535
8371
|
});
|
|
7536
8372
|
}
|
|
8373
|
+
/**
|
|
8374
|
+
* get all logs for a flow job
|
|
8375
|
+
* @param data The data for the request.
|
|
8376
|
+
* @param data.workspace
|
|
8377
|
+
* @param data.id
|
|
8378
|
+
* @returns string concatenated logs of all flow steps
|
|
8379
|
+
* @throws ApiError
|
|
8380
|
+
*/
|
|
8381
|
+
static getFlowAllLogs(data) {
|
|
8382
|
+
return __request(OpenAPI, {
|
|
8383
|
+
method: 'GET',
|
|
8384
|
+
url: '/w/{workspace}/jobs_u/get_flow_all_logs/{id}',
|
|
8385
|
+
path: {
|
|
8386
|
+
workspace: data.workspace,
|
|
8387
|
+
id: data.id
|
|
8388
|
+
}
|
|
8389
|
+
});
|
|
8390
|
+
}
|
|
7537
8391
|
/**
|
|
7538
8392
|
* get completed job logs tail
|
|
7539
8393
|
* @param data The data for the request.
|
|
@@ -7630,6 +8484,7 @@ export class JobService {
|
|
|
7630
8484
|
* @param data.getProgress
|
|
7631
8485
|
* @param data.onlyResult
|
|
7632
8486
|
* @param data.noLogs
|
|
8487
|
+
* @param data.fast
|
|
7633
8488
|
* @returns string server-sent events stream of job updates
|
|
7634
8489
|
* @throws ApiError
|
|
7635
8490
|
*/
|
|
@@ -7647,7 +8502,8 @@ export class JobService {
|
|
|
7647
8502
|
stream_offset: data.streamOffset,
|
|
7648
8503
|
get_progress: data.getProgress,
|
|
7649
8504
|
only_result: data.onlyResult,
|
|
7650
|
-
no_logs: data.noLogs
|
|
8505
|
+
no_logs: data.noLogs,
|
|
8506
|
+
fast: data.fast
|
|
7651
8507
|
}
|
|
7652
8508
|
});
|
|
7653
8509
|
}
|
|
@@ -8016,6 +8872,53 @@ export class JobService {
|
|
|
8016
8872
|
}
|
|
8017
8873
|
});
|
|
8018
8874
|
}
|
|
8875
|
+
/**
|
|
8876
|
+
* resume or cancel a suspended flow/WAC job
|
|
8877
|
+
* Resume or cancel a suspended flow/WAC job. Uses approval rules to determine authorization. Either a valid approval_token or an authenticated session is required.
|
|
8878
|
+
*
|
|
8879
|
+
* @param data The data for the request.
|
|
8880
|
+
* @param data.workspace
|
|
8881
|
+
* @param data.jobId
|
|
8882
|
+
* @param data.requestBody
|
|
8883
|
+
* @returns string job resumed
|
|
8884
|
+
* @throws ApiError
|
|
8885
|
+
*/
|
|
8886
|
+
static resumeSuspended(data) {
|
|
8887
|
+
return __request(OpenAPI, {
|
|
8888
|
+
method: 'POST',
|
|
8889
|
+
url: '/w/{workspace}/jobs_u/flow/resume_suspended/{job_id}',
|
|
8890
|
+
path: {
|
|
8891
|
+
workspace: data.workspace,
|
|
8892
|
+
job_id: data.jobId
|
|
8893
|
+
},
|
|
8894
|
+
body: data.requestBody,
|
|
8895
|
+
mediaType: 'application/json'
|
|
8896
|
+
});
|
|
8897
|
+
}
|
|
8898
|
+
/**
|
|
8899
|
+
* get approval info for a suspended flow/WAC job
|
|
8900
|
+
* Get approval info for a suspended flow/WAC job. Returns form schema, approval rules, and whether the current user can approve. Either a valid token query parameter or an authenticated session is required.
|
|
8901
|
+
*
|
|
8902
|
+
* @param data The data for the request.
|
|
8903
|
+
* @param data.workspace
|
|
8904
|
+
* @param data.jobId
|
|
8905
|
+
* @param data.token approval token for unauthenticated access
|
|
8906
|
+
* @returns unknown approval info
|
|
8907
|
+
* @throws ApiError
|
|
8908
|
+
*/
|
|
8909
|
+
static getApprovalInfo(data) {
|
|
8910
|
+
return __request(OpenAPI, {
|
|
8911
|
+
method: 'GET',
|
|
8912
|
+
url: '/w/{workspace}/jobs_u/flow/approval_info/{job_id}',
|
|
8913
|
+
path: {
|
|
8914
|
+
workspace: data.workspace,
|
|
8915
|
+
job_id: data.jobId
|
|
8916
|
+
},
|
|
8917
|
+
query: {
|
|
8918
|
+
token: data.token
|
|
8919
|
+
}
|
|
8920
|
+
});
|
|
8921
|
+
}
|
|
8019
8922
|
/**
|
|
8020
8923
|
* resume a job for a suspended flow
|
|
8021
8924
|
* @param data The data for the request.
|
|
@@ -8371,6 +9274,30 @@ export class FlowConversationService {
|
|
|
8371
9274
|
});
|
|
8372
9275
|
}
|
|
8373
9276
|
}
|
|
9277
|
+
export class PathAutocompleteService {
|
|
9278
|
+
/**
|
|
9279
|
+
* list all paths in a workspace for client-side autocomplete
|
|
9280
|
+
* Returns the flat list of all item paths visible to the caller across
|
|
9281
|
+
* scripts, flows, apps, raw apps, variables, and resources. Intended to
|
|
9282
|
+
* feed an entirely client-side path autocomplete UI: the frontend fetches
|
|
9283
|
+
* once (server caches per workspace for 60s) and performs all prefix/segment
|
|
9284
|
+
* computation locally. Capped at 20,000 paths (5,000 per table).
|
|
9285
|
+
*
|
|
9286
|
+
* @param data The data for the request.
|
|
9287
|
+
* @param data.workspace
|
|
9288
|
+
* @returns unknown deduplicated path list, sorted lexicographically
|
|
9289
|
+
* @throws ApiError
|
|
9290
|
+
*/
|
|
9291
|
+
static listPathAutocompletePaths(data) {
|
|
9292
|
+
return __request(OpenAPI, {
|
|
9293
|
+
method: 'GET',
|
|
9294
|
+
url: '/w/{workspace}/path_autocomplete/list_paths',
|
|
9295
|
+
path: {
|
|
9296
|
+
workspace: data.workspace
|
|
9297
|
+
}
|
|
9298
|
+
});
|
|
9299
|
+
}
|
|
9300
|
+
}
|
|
8374
9301
|
export class RawAppService {
|
|
8375
9302
|
/**
|
|
8376
9303
|
* list all raw apps
|
|
@@ -8385,6 +9312,7 @@ export class RawAppService {
|
|
|
8385
9312
|
* @param data.starredOnly (default false)
|
|
8386
9313
|
* show only the starred items
|
|
8387
9314
|
*
|
|
9315
|
+
* @param data.label Filter by label
|
|
8388
9316
|
* @returns ListableRawApp All raw apps
|
|
8389
9317
|
* @throws ApiError
|
|
8390
9318
|
*/
|
|
@@ -8402,7 +9330,8 @@ export class RawAppService {
|
|
|
8402
9330
|
created_by: data.createdBy,
|
|
8403
9331
|
path_start: data.pathStart,
|
|
8404
9332
|
path_exact: data.pathExact,
|
|
8405
|
-
starred_only: data.starredOnly
|
|
9333
|
+
starred_only: data.starredOnly,
|
|
9334
|
+
label: data.label
|
|
8406
9335
|
}
|
|
8407
9336
|
});
|
|
8408
9337
|
}
|
|
@@ -8600,6 +9529,7 @@ export class ScheduleService {
|
|
|
8600
9529
|
* @param data.description pattern match filter for description field (case-insensitive)
|
|
8601
9530
|
* @param data.summary pattern match filter for summary field (case-insensitive)
|
|
8602
9531
|
* @param data.broadFilter broad search across multiple fields (case-insensitive substring match)
|
|
9532
|
+
* @param data.label Filter by label
|
|
8603
9533
|
* @returns Schedule schedule list
|
|
8604
9534
|
* @throws ApiError
|
|
8605
9535
|
*/
|
|
@@ -8620,7 +9550,8 @@ export class ScheduleService {
|
|
|
8620
9550
|
schedule_path: data.schedulePath,
|
|
8621
9551
|
description: data.description,
|
|
8622
9552
|
summary: data.summary,
|
|
8623
|
-
broad_filter: data.broadFilter
|
|
9553
|
+
broad_filter: data.broadFilter,
|
|
9554
|
+
label: data.label
|
|
8624
9555
|
}
|
|
8625
9556
|
});
|
|
8626
9557
|
}
|
|
@@ -8811,6 +9742,7 @@ export class HttpTriggerService {
|
|
|
8811
9742
|
* @param data.path filter by path
|
|
8812
9743
|
* @param data.isFlow
|
|
8813
9744
|
* @param data.pathStart
|
|
9745
|
+
* @param data.label Filter by label
|
|
8814
9746
|
* @returns HttpTrigger http trigger list
|
|
8815
9747
|
* @throws ApiError
|
|
8816
9748
|
*/
|
|
@@ -8826,7 +9758,8 @@ export class HttpTriggerService {
|
|
|
8826
9758
|
per_page: data.perPage,
|
|
8827
9759
|
path: data.path,
|
|
8828
9760
|
is_flow: data.isFlow,
|
|
8829
|
-
path_start: data.pathStart
|
|
9761
|
+
path_start: data.pathStart,
|
|
9762
|
+
label: data.label
|
|
8830
9763
|
}
|
|
8831
9764
|
});
|
|
8832
9765
|
}
|
|
@@ -8975,6 +9908,7 @@ export class WebsocketTriggerService {
|
|
|
8975
9908
|
* @param data.path filter by path
|
|
8976
9909
|
* @param data.isFlow
|
|
8977
9910
|
* @param data.pathStart
|
|
9911
|
+
* @param data.label Filter by label
|
|
8978
9912
|
* @returns WebsocketTrigger websocket trigger list
|
|
8979
9913
|
* @throws ApiError
|
|
8980
9914
|
*/
|
|
@@ -8990,7 +9924,8 @@ export class WebsocketTriggerService {
|
|
|
8990
9924
|
per_page: data.perPage,
|
|
8991
9925
|
path: data.path,
|
|
8992
9926
|
is_flow: data.isFlow,
|
|
8993
|
-
path_start: data.pathStart
|
|
9927
|
+
path_start: data.pathStart,
|
|
9928
|
+
label: data.label
|
|
8994
9929
|
}
|
|
8995
9930
|
});
|
|
8996
9931
|
}
|
|
@@ -9139,6 +10074,7 @@ export class KafkaTriggerService {
|
|
|
9139
10074
|
* @param data.path filter by path
|
|
9140
10075
|
* @param data.isFlow
|
|
9141
10076
|
* @param data.pathStart
|
|
10077
|
+
* @param data.label Filter by label
|
|
9142
10078
|
* @returns KafkaTrigger kafka trigger list
|
|
9143
10079
|
* @throws ApiError
|
|
9144
10080
|
*/
|
|
@@ -9154,7 +10090,8 @@ export class KafkaTriggerService {
|
|
|
9154
10090
|
per_page: data.perPage,
|
|
9155
10091
|
path: data.path,
|
|
9156
10092
|
is_flow: data.isFlow,
|
|
9157
|
-
path_start: data.pathStart
|
|
10093
|
+
path_start: data.pathStart,
|
|
10094
|
+
label: data.label
|
|
9158
10095
|
}
|
|
9159
10096
|
});
|
|
9160
10097
|
}
|
|
@@ -9342,6 +10279,7 @@ export class NatsTriggerService {
|
|
|
9342
10279
|
* @param data.path filter by path
|
|
9343
10280
|
* @param data.isFlow
|
|
9344
10281
|
* @param data.pathStart
|
|
10282
|
+
* @param data.label Filter by label
|
|
9345
10283
|
* @returns NatsTrigger nats trigger list
|
|
9346
10284
|
* @throws ApiError
|
|
9347
10285
|
*/
|
|
@@ -9357,7 +10295,8 @@ export class NatsTriggerService {
|
|
|
9357
10295
|
per_page: data.perPage,
|
|
9358
10296
|
path: data.path,
|
|
9359
10297
|
is_flow: data.isFlow,
|
|
9360
|
-
path_start: data.pathStart
|
|
10298
|
+
path_start: data.pathStart,
|
|
10299
|
+
label: data.label
|
|
9361
10300
|
}
|
|
9362
10301
|
});
|
|
9363
10302
|
}
|
|
@@ -9506,6 +10445,7 @@ export class SqsTriggerService {
|
|
|
9506
10445
|
* @param data.path filter by path
|
|
9507
10446
|
* @param data.isFlow
|
|
9508
10447
|
* @param data.pathStart
|
|
10448
|
+
* @param data.label Filter by label
|
|
9509
10449
|
* @returns SqsTrigger sqs trigger list
|
|
9510
10450
|
* @throws ApiError
|
|
9511
10451
|
*/
|
|
@@ -9521,7 +10461,8 @@ export class SqsTriggerService {
|
|
|
9521
10461
|
per_page: data.perPage,
|
|
9522
10462
|
path: data.path,
|
|
9523
10463
|
is_flow: data.isFlow,
|
|
9524
|
-
path_start: data.pathStart
|
|
10464
|
+
path_start: data.pathStart,
|
|
10465
|
+
label: data.label
|
|
9525
10466
|
}
|
|
9526
10467
|
});
|
|
9527
10468
|
}
|
|
@@ -9847,6 +10788,7 @@ export class NativeTriggerService {
|
|
|
9847
10788
|
* @param data.perPage number of items to return for a given page (default 30, max 100)
|
|
9848
10789
|
* @param data.path filter by script path
|
|
9849
10790
|
* @param data.isFlow filter by is_flow
|
|
10791
|
+
* @param data.label Filter by label
|
|
9850
10792
|
* @returns NativeTrigger native triggers list
|
|
9851
10793
|
* @throws ApiError
|
|
9852
10794
|
*/
|
|
@@ -9862,7 +10804,8 @@ export class NativeTriggerService {
|
|
|
9862
10804
|
page: data.page,
|
|
9863
10805
|
per_page: data.perPage,
|
|
9864
10806
|
path: data.path,
|
|
9865
|
-
is_flow: data.isFlow
|
|
10807
|
+
is_flow: data.isFlow,
|
|
10808
|
+
label: data.label
|
|
9866
10809
|
}
|
|
9867
10810
|
});
|
|
9868
10811
|
}
|
|
@@ -9979,6 +10922,22 @@ export class NativeTriggerService {
|
|
|
9979
10922
|
}
|
|
9980
10923
|
});
|
|
9981
10924
|
}
|
|
10925
|
+
/**
|
|
10926
|
+
* list GitHub repositories accessible to the user
|
|
10927
|
+
* @param data The data for the request.
|
|
10928
|
+
* @param data.workspace
|
|
10929
|
+
* @returns GithubRepoEntry list of GitHub repositories
|
|
10930
|
+
* @throws ApiError
|
|
10931
|
+
*/
|
|
10932
|
+
static listGithubRepos(data) {
|
|
10933
|
+
return __request(OpenAPI, {
|
|
10934
|
+
method: 'GET',
|
|
10935
|
+
url: '/w/{workspace}/native_triggers/github/repos',
|
|
10936
|
+
path: {
|
|
10937
|
+
workspace: data.workspace
|
|
10938
|
+
}
|
|
10939
|
+
});
|
|
10940
|
+
}
|
|
9982
10941
|
/**
|
|
9983
10942
|
* receive webhook from external native trigger service
|
|
9984
10943
|
* @param data The data for the request.
|
|
@@ -10089,6 +11048,7 @@ export class MqttTriggerService {
|
|
|
10089
11048
|
* @param data.path filter by path
|
|
10090
11049
|
* @param data.isFlow
|
|
10091
11050
|
* @param data.pathStart
|
|
11051
|
+
* @param data.label Filter by label
|
|
10092
11052
|
* @returns MqttTrigger mqtt trigger list
|
|
10093
11053
|
* @throws ApiError
|
|
10094
11054
|
*/
|
|
@@ -10104,7 +11064,8 @@ export class MqttTriggerService {
|
|
|
10104
11064
|
per_page: data.perPage,
|
|
10105
11065
|
path: data.path,
|
|
10106
11066
|
is_flow: data.isFlow,
|
|
10107
|
-
path_start: data.pathStart
|
|
11067
|
+
path_start: data.pathStart,
|
|
11068
|
+
label: data.label
|
|
10108
11069
|
}
|
|
10109
11070
|
});
|
|
10110
11071
|
}
|
|
@@ -10253,6 +11214,7 @@ export class GcpTriggerService {
|
|
|
10253
11214
|
* @param data.path filter by path
|
|
10254
11215
|
* @param data.isFlow
|
|
10255
11216
|
* @param data.pathStart
|
|
11217
|
+
* @param data.label Filter by label
|
|
10256
11218
|
* @returns GcpTrigger gcp trigger list
|
|
10257
11219
|
* @throws ApiError
|
|
10258
11220
|
*/
|
|
@@ -10268,7 +11230,8 @@ export class GcpTriggerService {
|
|
|
10268
11230
|
per_page: data.perPage,
|
|
10269
11231
|
path: data.path,
|
|
10270
11232
|
is_flow: data.isFlow,
|
|
10271
|
-
path_start: data.pathStart
|
|
11233
|
+
path_start: data.pathStart,
|
|
11234
|
+
label: data.label
|
|
10272
11235
|
}
|
|
10273
11236
|
});
|
|
10274
11237
|
}
|
|
@@ -10714,6 +11677,7 @@ export class PostgresTriggerService {
|
|
|
10714
11677
|
* @param data.path filter by path
|
|
10715
11678
|
* @param data.isFlow
|
|
10716
11679
|
* @param data.pathStart
|
|
11680
|
+
* @param data.label Filter by label
|
|
10717
11681
|
* @returns PostgresTrigger postgres trigger list
|
|
10718
11682
|
* @throws ApiError
|
|
10719
11683
|
*/
|
|
@@ -10729,7 +11693,8 @@ export class PostgresTriggerService {
|
|
|
10729
11693
|
per_page: data.perPage,
|
|
10730
11694
|
path: data.path,
|
|
10731
11695
|
is_flow: data.isFlow,
|
|
10732
|
-
path_start: data.pathStart
|
|
11696
|
+
path_start: data.pathStart,
|
|
11697
|
+
label: data.label
|
|
10733
11698
|
}
|
|
10734
11699
|
});
|
|
10735
11700
|
}
|
|
@@ -10878,6 +11843,7 @@ export class EmailTriggerService {
|
|
|
10878
11843
|
* @param data.path filter by path
|
|
10879
11844
|
* @param data.isFlow
|
|
10880
11845
|
* @param data.pathStart
|
|
11846
|
+
* @param data.label Filter by label
|
|
10881
11847
|
* @returns EmailTrigger email trigger list
|
|
10882
11848
|
* @throws ApiError
|
|
10883
11849
|
*/
|
|
@@ -10893,7 +11859,8 @@ export class EmailTriggerService {
|
|
|
10893
11859
|
per_page: data.perPage,
|
|
10894
11860
|
path: data.path,
|
|
10895
11861
|
is_flow: data.isFlow,
|
|
10896
|
-
path_start: data.pathStart
|
|
11862
|
+
path_start: data.pathStart,
|
|
11863
|
+
label: data.label
|
|
10897
11864
|
}
|
|
10898
11865
|
});
|
|
10899
11866
|
}
|
|
@@ -10983,7 +11950,7 @@ export class GroupService {
|
|
|
10983
11950
|
* get instance group
|
|
10984
11951
|
* @param data The data for the request.
|
|
10985
11952
|
* @param data.name
|
|
10986
|
-
* @returns
|
|
11953
|
+
* @returns InstanceGroupWithWorkspaces instance group
|
|
10987
11954
|
* @throws ApiError
|
|
10988
11955
|
*/
|
|
10989
11956
|
static getInstanceGroup(data) {
|
|
@@ -11637,6 +12604,28 @@ export class ConfigService {
|
|
|
11637
12604
|
url: '/configs/list_available_python_versions'
|
|
11638
12605
|
});
|
|
11639
12606
|
}
|
|
12607
|
+
/**
|
|
12608
|
+
* list all workspace dependencies
|
|
12609
|
+
* @returns unknown a list of workspace dependency summaries
|
|
12610
|
+
* @throws ApiError
|
|
12611
|
+
*/
|
|
12612
|
+
static listAllWorkspaceDependencies() {
|
|
12613
|
+
return __request(OpenAPI, {
|
|
12614
|
+
method: 'GET',
|
|
12615
|
+
url: '/configs/list_all_workspace_dependencies'
|
|
12616
|
+
});
|
|
12617
|
+
}
|
|
12618
|
+
/**
|
|
12619
|
+
* list all dedicated scripts with their dependencies
|
|
12620
|
+
* @returns unknown a list of dedicated scripts with workspace dependencies
|
|
12621
|
+
* @throws ApiError
|
|
12622
|
+
*/
|
|
12623
|
+
static listAllDedicatedWithDeps() {
|
|
12624
|
+
return __request(OpenAPI, {
|
|
12625
|
+
method: 'GET',
|
|
12626
|
+
url: '/configs/list_all_dedicated_with_deps'
|
|
12627
|
+
});
|
|
12628
|
+
}
|
|
11640
12629
|
}
|
|
11641
12630
|
export class AgentWorkersService {
|
|
11642
12631
|
/**
|
|
@@ -12971,6 +13960,17 @@ export class IndexSearchService {
|
|
|
12971
13960
|
}
|
|
12972
13961
|
});
|
|
12973
13962
|
}
|
|
13963
|
+
/**
|
|
13964
|
+
* Get index disk storage sizes from the indexer.
|
|
13965
|
+
* @returns unknown disk storage sizes for each index
|
|
13966
|
+
* @throws ApiError
|
|
13967
|
+
*/
|
|
13968
|
+
static getIndexDiskStorageSizes() {
|
|
13969
|
+
return __request(OpenAPI, {
|
|
13970
|
+
method: 'GET',
|
|
13971
|
+
url: '/srch/index/storage/disk'
|
|
13972
|
+
});
|
|
13973
|
+
}
|
|
12974
13974
|
/**
|
|
12975
13975
|
* Clear an index and restart the indexer.
|
|
12976
13976
|
* @param data The data for the request.
|