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
|
@@ -61,7 +61,7 @@ export const $FlowValue = {
|
|
|
61
61
|
description: 'Time window in seconds for concurrent_limit'
|
|
62
62
|
},
|
|
63
63
|
debounce_delay_s: {
|
|
64
|
-
type: '
|
|
64
|
+
type: 'integer',
|
|
65
65
|
description: 'Delay in seconds to debounce flow executions'
|
|
66
66
|
},
|
|
67
67
|
debounce_key: {
|
|
@@ -76,11 +76,11 @@ export const $FlowValue = {
|
|
|
76
76
|
}
|
|
77
77
|
},
|
|
78
78
|
max_total_debouncing_time: {
|
|
79
|
-
type: '
|
|
79
|
+
type: 'integer',
|
|
80
80
|
description: 'Maximum total time in seconds that a job can be debounced'
|
|
81
81
|
},
|
|
82
82
|
max_total_debounces_amount: {
|
|
83
|
-
type: '
|
|
83
|
+
type: 'integer',
|
|
84
84
|
description: 'Maximum number of times a job can be debounced'
|
|
85
85
|
},
|
|
86
86
|
skip_expr: {
|
|
@@ -94,6 +94,10 @@ export const $FlowValue = {
|
|
|
94
94
|
cache_ignore_s3_path: {
|
|
95
95
|
type: 'boolean'
|
|
96
96
|
},
|
|
97
|
+
delete_after_secs: {
|
|
98
|
+
type: 'integer',
|
|
99
|
+
description: "If set, delete the flow job's args, result and logs after this many seconds following job completion"
|
|
100
|
+
},
|
|
97
101
|
flow_env: {
|
|
98
102
|
type: 'object',
|
|
99
103
|
description: "Environment variables available to all steps. Values can be strings, JSON values, or special references: '$var:path' (workspace variable) or '$res:path' (resource).",
|
|
@@ -117,6 +121,42 @@ export const $FlowValue = {
|
|
|
117
121
|
items: {
|
|
118
122
|
'$ref': '#/components/schemas/FlowNote'
|
|
119
123
|
}
|
|
124
|
+
},
|
|
125
|
+
groups: {
|
|
126
|
+
type: 'array',
|
|
127
|
+
description: 'Semantic groups of modules for organizational purposes',
|
|
128
|
+
items: {
|
|
129
|
+
type: 'object',
|
|
130
|
+
description: 'A semantic group of flow modules for organizational purposes. Does not affect execution — modules remain in their original position in the flow. Groups provide naming and collapsibility in the editor. Members are computed dynamically from all nodes on paths between start_id and end_id.',
|
|
131
|
+
properties: {
|
|
132
|
+
summary: {
|
|
133
|
+
type: 'string',
|
|
134
|
+
description: 'Display name for this group'
|
|
135
|
+
},
|
|
136
|
+
note: {
|
|
137
|
+
type: 'string',
|
|
138
|
+
description: 'Markdown note shown below the group header'
|
|
139
|
+
},
|
|
140
|
+
autocollapse: {
|
|
141
|
+
type: 'boolean',
|
|
142
|
+
default: false,
|
|
143
|
+
description: 'If true, this group is collapsed by default in the flow editor. UI hint only.'
|
|
144
|
+
},
|
|
145
|
+
start_id: {
|
|
146
|
+
type: 'string',
|
|
147
|
+
description: 'ID of the first flow module in this group (topological entry point)'
|
|
148
|
+
},
|
|
149
|
+
end_id: {
|
|
150
|
+
type: 'string',
|
|
151
|
+
description: 'ID of the last flow module in this group (topological exit point)'
|
|
152
|
+
},
|
|
153
|
+
color: {
|
|
154
|
+
type: 'string',
|
|
155
|
+
description: 'Color for the group in the flow editor'
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
required: ['start_id', 'end_id']
|
|
159
|
+
}
|
|
120
160
|
}
|
|
121
161
|
},
|
|
122
162
|
required: ['modules']
|
|
@@ -191,7 +231,8 @@ export const $StopAfterIf = {
|
|
|
191
231
|
},
|
|
192
232
|
error_message: {
|
|
193
233
|
type: 'string',
|
|
194
|
-
|
|
234
|
+
nullable: true,
|
|
235
|
+
description: 'Custom error message when stopping with an error. Mutually exclusive with skip_if_stopped. If set to a non-empty string, the flow stops with this error. If empty string, a default error message is used. If null or omitted, no error is raised.'
|
|
195
236
|
}
|
|
196
237
|
},
|
|
197
238
|
required: ['expr']
|
|
@@ -241,9 +282,9 @@ export const $FlowModule = {
|
|
|
241
282
|
description: 'Maximum execution time in seconds (static value or expression)',
|
|
242
283
|
'$ref': '#/components/schemas/InputTransform'
|
|
243
284
|
},
|
|
244
|
-
|
|
245
|
-
type: '
|
|
246
|
-
description: "If
|
|
285
|
+
delete_after_secs: {
|
|
286
|
+
type: 'integer',
|
|
287
|
+
description: "If set, delete the step's args, result and logs after this many seconds following job completion"
|
|
247
288
|
},
|
|
248
289
|
summary: {
|
|
249
290
|
type: 'string',
|
|
@@ -317,6 +358,35 @@ export const $FlowModule = {
|
|
|
317
358
|
retry: {
|
|
318
359
|
description: 'Retry configuration if this step fails',
|
|
319
360
|
'$ref': '#/components/schemas/Retry'
|
|
361
|
+
},
|
|
362
|
+
debouncing: {
|
|
363
|
+
description: 'Debounce configuration for this step (EE only)',
|
|
364
|
+
type: 'object',
|
|
365
|
+
properties: {
|
|
366
|
+
debounce_delay_s: {
|
|
367
|
+
type: 'integer',
|
|
368
|
+
description: "Delay in seconds to debounce this step's executions across flow runs"
|
|
369
|
+
},
|
|
370
|
+
debounce_key: {
|
|
371
|
+
type: 'string',
|
|
372
|
+
description: 'Expression to group debounced executions. Supports $workspace and $args[name]. Default: $workspace/flow/<flow_path>-<step_id>'
|
|
373
|
+
},
|
|
374
|
+
debounce_args_to_accumulate: {
|
|
375
|
+
type: 'array',
|
|
376
|
+
description: 'Array-type arguments to accumulate across debounced executions',
|
|
377
|
+
items: {
|
|
378
|
+
type: 'string'
|
|
379
|
+
}
|
|
380
|
+
},
|
|
381
|
+
max_total_debouncing_time: {
|
|
382
|
+
type: 'integer',
|
|
383
|
+
description: 'Maximum total time in seconds before forced execution'
|
|
384
|
+
},
|
|
385
|
+
max_total_debounces_amount: {
|
|
386
|
+
type: 'integer',
|
|
387
|
+
description: 'Maximum number of debounces before forced execution'
|
|
388
|
+
}
|
|
389
|
+
}
|
|
320
390
|
}
|
|
321
391
|
},
|
|
322
392
|
required: ['value', 'id']
|
|
@@ -538,7 +608,7 @@ export const $RawScript = {
|
|
|
538
608
|
language: {
|
|
539
609
|
type: 'string',
|
|
540
610
|
description: 'Programming language for this script',
|
|
541
|
-
enum: ['deno', 'bun', 'python3', 'go', 'bash', 'powershell', 'postgresql', 'mysql', 'bigquery', 'snowflake', 'mssql', 'oracledb', 'graphql', 'nativets', 'php', 'rust', 'ansible', 'csharp', 'nu', 'java', 'ruby', 'duckdb']
|
|
611
|
+
enum: ['deno', 'bun', 'python3', 'go', 'bash', 'powershell', 'postgresql', 'mysql', 'bigquery', 'snowflake', 'mssql', 'oracledb', 'graphql', 'nativets', 'php', 'rust', 'ansible', 'csharp', 'nu', 'java', 'ruby', 'rlang', 'duckdb']
|
|
542
612
|
},
|
|
543
613
|
path: {
|
|
544
614
|
type: 'string',
|
|
@@ -936,15 +1006,15 @@ Supports standard JSON Schema properties: type, properties, required, items, enu
|
|
|
936
1006
|
Example: { type: 'object', properties: { name: { type: 'string' }, age: { type: 'integer' } }, required: ['name'] }
|
|
937
1007
|
`
|
|
938
1008
|
},
|
|
939
|
-
|
|
1009
|
+
user_attachments: {
|
|
940
1010
|
allOf: [
|
|
941
1011
|
{
|
|
942
1012
|
'$ref': '#/components/schemas/InputTransform'
|
|
943
1013
|
}
|
|
944
1014
|
],
|
|
945
|
-
description: `Array of
|
|
1015
|
+
description: `Array of file references (images or PDFs) for the AI agent.
|
|
946
1016
|
Format: Array<{ bucket: string, key: string }> - S3 object references
|
|
947
|
-
Example: [{ bucket: 'my-bucket', key: '
|
|
1017
|
+
Example: [{ bucket: 'my-bucket', key: 'documents/report.pdf' }]
|
|
948
1018
|
`
|
|
949
1019
|
},
|
|
950
1020
|
max_completion_tokens: {
|
|
@@ -1405,6 +1475,29 @@ export const $FlowNote = {
|
|
|
1405
1475
|
},
|
|
1406
1476
|
required: ['id', 'text', 'color', 'type']
|
|
1407
1477
|
};
|
|
1478
|
+
export const $CiTestResult = {
|
|
1479
|
+
type: 'object',
|
|
1480
|
+
properties: {
|
|
1481
|
+
test_script_path: {
|
|
1482
|
+
type: 'string'
|
|
1483
|
+
},
|
|
1484
|
+
job_id: {
|
|
1485
|
+
type: 'string',
|
|
1486
|
+
format: 'uuid',
|
|
1487
|
+
nullable: true
|
|
1488
|
+
},
|
|
1489
|
+
status: {
|
|
1490
|
+
type: 'string',
|
|
1491
|
+
nullable: true
|
|
1492
|
+
},
|
|
1493
|
+
started_at: {
|
|
1494
|
+
type: 'string',
|
|
1495
|
+
format: 'date-time',
|
|
1496
|
+
nullable: true
|
|
1497
|
+
}
|
|
1498
|
+
},
|
|
1499
|
+
required: ['test_script_path']
|
|
1500
|
+
};
|
|
1408
1501
|
export const $HealthStatusResponse = {
|
|
1409
1502
|
type: 'object',
|
|
1410
1503
|
description: 'Health status response (cached with 5s TTL)',
|
|
@@ -1756,6 +1849,62 @@ export const $VaultSettings = {
|
|
|
1756
1849
|
token: {
|
|
1757
1850
|
type: 'string',
|
|
1758
1851
|
description: 'Static Vault token for testing/development (optional, if provided this is used instead of JWT authentication)'
|
|
1852
|
+
},
|
|
1853
|
+
skip_ssl_verify: {
|
|
1854
|
+
type: 'boolean',
|
|
1855
|
+
description: 'Skip TLS certificate verification when connecting to Vault. Only use for self-signed certificates in development environments.'
|
|
1856
|
+
}
|
|
1857
|
+
}
|
|
1858
|
+
};
|
|
1859
|
+
export const $AzureKeyVaultSettings = {
|
|
1860
|
+
type: 'object',
|
|
1861
|
+
required: ['vault_url', 'tenant_id', 'client_id'],
|
|
1862
|
+
properties: {
|
|
1863
|
+
vault_url: {
|
|
1864
|
+
type: 'string',
|
|
1865
|
+
description: 'Azure Key Vault URL (e.g., https://myvault.vault.azure.net)'
|
|
1866
|
+
},
|
|
1867
|
+
tenant_id: {
|
|
1868
|
+
type: 'string',
|
|
1869
|
+
description: 'Azure AD tenant ID'
|
|
1870
|
+
},
|
|
1871
|
+
client_id: {
|
|
1872
|
+
type: 'string',
|
|
1873
|
+
description: 'Azure AD application (client) ID'
|
|
1874
|
+
},
|
|
1875
|
+
client_secret: {
|
|
1876
|
+
type: 'string',
|
|
1877
|
+
description: 'Azure AD client secret'
|
|
1878
|
+
},
|
|
1879
|
+
token: {
|
|
1880
|
+
type: 'string',
|
|
1881
|
+
description: 'Static Bearer token for testing/development (optional, if provided this is used instead of OAuth2 authentication)'
|
|
1882
|
+
}
|
|
1883
|
+
}
|
|
1884
|
+
};
|
|
1885
|
+
export const $AwsSecretsManagerSettings = {
|
|
1886
|
+
type: 'object',
|
|
1887
|
+
required: ['region'],
|
|
1888
|
+
properties: {
|
|
1889
|
+
region: {
|
|
1890
|
+
type: 'string',
|
|
1891
|
+
description: 'AWS region (e.g., us-east-1)'
|
|
1892
|
+
},
|
|
1893
|
+
access_key_id: {
|
|
1894
|
+
type: 'string',
|
|
1895
|
+
description: 'AWS Access Key ID (optional, uses default credential chain if not provided)'
|
|
1896
|
+
},
|
|
1897
|
+
secret_access_key: {
|
|
1898
|
+
type: 'string',
|
|
1899
|
+
description: 'AWS Secret Access Key (optional)'
|
|
1900
|
+
},
|
|
1901
|
+
endpoint_url: {
|
|
1902
|
+
type: 'string',
|
|
1903
|
+
description: 'Custom endpoint URL for testing (e.g., LocalStack)'
|
|
1904
|
+
},
|
|
1905
|
+
prefix: {
|
|
1906
|
+
type: 'string',
|
|
1907
|
+
description: 'Prefix for secret names (e.g., windmill/)'
|
|
1759
1908
|
}
|
|
1760
1909
|
}
|
|
1761
1910
|
};
|
|
@@ -2008,6 +2157,39 @@ export const $AIConfig = {
|
|
|
2008
2157
|
}
|
|
2009
2158
|
}
|
|
2010
2159
|
};
|
|
2160
|
+
export const $InstanceAIProviderSummary = {
|
|
2161
|
+
type: 'object',
|
|
2162
|
+
properties: {
|
|
2163
|
+
provider: {
|
|
2164
|
+
'$ref': '#/components/schemas/AIProvider'
|
|
2165
|
+
},
|
|
2166
|
+
models: {
|
|
2167
|
+
type: 'array',
|
|
2168
|
+
items: {
|
|
2169
|
+
type: 'string'
|
|
2170
|
+
}
|
|
2171
|
+
}
|
|
2172
|
+
},
|
|
2173
|
+
required: ['provider', 'models']
|
|
2174
|
+
};
|
|
2175
|
+
export const $InstanceAISummary = {
|
|
2176
|
+
type: 'object',
|
|
2177
|
+
properties: {
|
|
2178
|
+
providers: {
|
|
2179
|
+
type: 'array',
|
|
2180
|
+
items: {
|
|
2181
|
+
'$ref': '#/components/schemas/InstanceAIProviderSummary'
|
|
2182
|
+
}
|
|
2183
|
+
},
|
|
2184
|
+
default_model: {
|
|
2185
|
+
'$ref': '#/components/schemas/AIProviderModel'
|
|
2186
|
+
},
|
|
2187
|
+
code_completion_model: {
|
|
2188
|
+
'$ref': '#/components/schemas/AIProviderModel'
|
|
2189
|
+
}
|
|
2190
|
+
},
|
|
2191
|
+
required: ['providers']
|
|
2192
|
+
};
|
|
2011
2193
|
export const $Alert = {
|
|
2012
2194
|
type: 'object',
|
|
2013
2195
|
properties: {
|
|
@@ -2226,14 +2408,15 @@ export const $Script = {
|
|
|
2226
2408
|
timeout: {
|
|
2227
2409
|
type: 'integer'
|
|
2228
2410
|
},
|
|
2229
|
-
|
|
2230
|
-
type: '
|
|
2411
|
+
delete_after_secs: {
|
|
2412
|
+
type: 'integer',
|
|
2413
|
+
description: "If set, delete the job's args, result and logs after this many seconds following job completion"
|
|
2231
2414
|
},
|
|
2232
2415
|
visible_to_runner_only: {
|
|
2233
2416
|
type: 'boolean'
|
|
2234
2417
|
},
|
|
2235
|
-
|
|
2236
|
-
type: '
|
|
2418
|
+
auto_kind: {
|
|
2419
|
+
type: 'string'
|
|
2237
2420
|
},
|
|
2238
2421
|
codebase: {
|
|
2239
2422
|
type: 'string'
|
|
@@ -2243,9 +2426,24 @@ export const $Script = {
|
|
|
2243
2426
|
},
|
|
2244
2427
|
on_behalf_of_email: {
|
|
2245
2428
|
type: 'string'
|
|
2429
|
+
},
|
|
2430
|
+
modules: {
|
|
2431
|
+
type: 'object',
|
|
2432
|
+
nullable: true,
|
|
2433
|
+
description: 'Additional script modules keyed by relative file path',
|
|
2434
|
+
additionalProperties: {
|
|
2435
|
+
'$ref': '#/components/schemas/ScriptModule'
|
|
2436
|
+
}
|
|
2437
|
+
},
|
|
2438
|
+
labels: {
|
|
2439
|
+
type: 'array',
|
|
2440
|
+
items: {
|
|
2441
|
+
type: 'string'
|
|
2442
|
+
},
|
|
2443
|
+
default: []
|
|
2246
2444
|
}
|
|
2247
2445
|
},
|
|
2248
|
-
required: ['hash', 'path', 'summary', 'description', 'content', 'created_by', 'created_at', 'archived', 'deleted', 'is_template', 'extra_perms', 'language', 'kind', 'starred', '
|
|
2446
|
+
required: ['hash', 'path', 'summary', 'description', 'content', 'created_by', 'created_at', 'archived', 'deleted', 'is_template', 'extra_perms', 'language', 'kind', 'starred', 'has_preprocessor']
|
|
2249
2447
|
};
|
|
2250
2448
|
export const $NewScript = {
|
|
2251
2449
|
type: 'object',
|
|
@@ -2320,8 +2518,9 @@ export const $NewScript = {
|
|
|
2320
2518
|
timeout: {
|
|
2321
2519
|
type: 'integer'
|
|
2322
2520
|
},
|
|
2323
|
-
|
|
2324
|
-
type: '
|
|
2521
|
+
delete_after_secs: {
|
|
2522
|
+
type: 'integer',
|
|
2523
|
+
description: "If set, delete the job's args, result and logs after this many seconds following job completion"
|
|
2325
2524
|
},
|
|
2326
2525
|
deployment_message: {
|
|
2327
2526
|
type: 'string'
|
|
@@ -2350,8 +2549,8 @@ export const $NewScript = {
|
|
|
2350
2549
|
visible_to_runner_only: {
|
|
2351
2550
|
type: 'boolean'
|
|
2352
2551
|
},
|
|
2353
|
-
|
|
2354
|
-
type: '
|
|
2552
|
+
auto_kind: {
|
|
2553
|
+
type: 'string'
|
|
2355
2554
|
},
|
|
2356
2555
|
codebase: {
|
|
2357
2556
|
type: 'string'
|
|
@@ -2388,6 +2587,20 @@ export const $NewScript = {
|
|
|
2388
2587
|
}
|
|
2389
2588
|
}
|
|
2390
2589
|
}
|
|
2590
|
+
},
|
|
2591
|
+
modules: {
|
|
2592
|
+
type: 'object',
|
|
2593
|
+
nullable: true,
|
|
2594
|
+
description: 'Additional script modules keyed by relative file path',
|
|
2595
|
+
additionalProperties: {
|
|
2596
|
+
'$ref': '#/components/schemas/ScriptModule'
|
|
2597
|
+
}
|
|
2598
|
+
},
|
|
2599
|
+
labels: {
|
|
2600
|
+
type: 'array',
|
|
2601
|
+
items: {
|
|
2602
|
+
type: 'string'
|
|
2603
|
+
}
|
|
2391
2604
|
}
|
|
2392
2605
|
},
|
|
2393
2606
|
required: ['path', 'summary', 'content', 'language']
|
|
@@ -3150,6 +3363,9 @@ export const $User = {
|
|
|
3150
3363
|
'$ref': '#/components/schemas/UserSource'
|
|
3151
3364
|
}
|
|
3152
3365
|
]
|
|
3366
|
+
},
|
|
3367
|
+
is_service_account: {
|
|
3368
|
+
type: 'boolean'
|
|
3153
3369
|
}
|
|
3154
3370
|
},
|
|
3155
3371
|
required: ['email', 'username', 'is_admin', 'is_super_admin', 'created_at', 'operator', 'disabled', 'folders', 'folders_owners']
|
|
@@ -3219,83 +3435,344 @@ export const $EditWorkspaceUser = {
|
|
|
3219
3435
|
}
|
|
3220
3436
|
}
|
|
3221
3437
|
};
|
|
3222
|
-
export const $
|
|
3438
|
+
export const $OffboardAffectedPaths = {
|
|
3223
3439
|
type: 'object',
|
|
3224
3440
|
properties: {
|
|
3225
|
-
|
|
3226
|
-
type: '
|
|
3441
|
+
scripts: {
|
|
3442
|
+
type: 'array',
|
|
3443
|
+
items: {
|
|
3444
|
+
type: 'string'
|
|
3445
|
+
}
|
|
3227
3446
|
},
|
|
3228
|
-
|
|
3229
|
-
type: '
|
|
3230
|
-
|
|
3447
|
+
flows: {
|
|
3448
|
+
type: 'array',
|
|
3449
|
+
items: {
|
|
3450
|
+
type: 'string'
|
|
3451
|
+
}
|
|
3231
3452
|
},
|
|
3232
|
-
|
|
3233
|
-
type: '
|
|
3453
|
+
apps: {
|
|
3454
|
+
type: 'array',
|
|
3455
|
+
items: {
|
|
3456
|
+
type: 'string'
|
|
3457
|
+
}
|
|
3234
3458
|
},
|
|
3235
|
-
|
|
3236
|
-
type: '
|
|
3237
|
-
|
|
3459
|
+
resources: {
|
|
3460
|
+
type: 'array',
|
|
3461
|
+
items: {
|
|
3462
|
+
type: 'string'
|
|
3463
|
+
}
|
|
3238
3464
|
},
|
|
3239
|
-
|
|
3240
|
-
type: '
|
|
3241
|
-
|
|
3465
|
+
variables: {
|
|
3466
|
+
type: 'array',
|
|
3467
|
+
items: {
|
|
3468
|
+
type: 'string'
|
|
3469
|
+
}
|
|
3242
3470
|
},
|
|
3243
|
-
|
|
3471
|
+
schedules: {
|
|
3244
3472
|
type: 'array',
|
|
3245
3473
|
items: {
|
|
3246
3474
|
type: 'string'
|
|
3247
3475
|
}
|
|
3248
3476
|
},
|
|
3249
|
-
|
|
3250
|
-
type: '
|
|
3477
|
+
triggers: {
|
|
3478
|
+
type: 'object',
|
|
3479
|
+
additionalProperties: {
|
|
3480
|
+
type: 'array',
|
|
3481
|
+
items: {
|
|
3482
|
+
type: 'string'
|
|
3483
|
+
}
|
|
3484
|
+
}
|
|
3485
|
+
}
|
|
3486
|
+
}
|
|
3487
|
+
};
|
|
3488
|
+
export const $OffboardPreview = {
|
|
3489
|
+
type: 'object',
|
|
3490
|
+
properties: {
|
|
3491
|
+
owned: {
|
|
3492
|
+
'$ref': '#/components/schemas/OffboardAffectedPaths',
|
|
3493
|
+
description: 'Objects under u/{username}/ that will be reassigned'
|
|
3494
|
+
},
|
|
3495
|
+
executing_on_behalf: {
|
|
3496
|
+
'$ref': '#/components/schemas/OffboardAffectedPaths',
|
|
3497
|
+
description: "Objects not under the user's path but that execute on behalf of this user (permissioned_as/on_behalf_of will be updated)"
|
|
3498
|
+
},
|
|
3499
|
+
referencing: {
|
|
3500
|
+
'$ref': '#/components/schemas/OffboardAffectedPaths',
|
|
3501
|
+
description: "Scripts/flows/apps/resources whose content or value references this user's paths (may break after reassignment)"
|
|
3502
|
+
},
|
|
3503
|
+
tokens: {
|
|
3504
|
+
type: 'array',
|
|
3505
|
+
items: {
|
|
3506
|
+
'$ref': '#/components/schemas/OffboardTokenInfo'
|
|
3507
|
+
},
|
|
3508
|
+
description: 'Tokens owned by this user (will be deleted)'
|
|
3509
|
+
},
|
|
3510
|
+
http_triggers: {
|
|
3511
|
+
type: 'integer',
|
|
3512
|
+
description: "HTTP triggers under the user's path (webhook URLs will change)"
|
|
3513
|
+
},
|
|
3514
|
+
email_triggers: {
|
|
3515
|
+
type: 'integer',
|
|
3516
|
+
description: "Email triggers under the user's path (email addresses will change)"
|
|
3251
3517
|
}
|
|
3252
3518
|
},
|
|
3253
|
-
required: ['
|
|
3519
|
+
required: ['owned', 'executing_on_behalf', 'referencing', 'tokens', 'http_triggers', 'email_triggers']
|
|
3254
3520
|
};
|
|
3255
|
-
export const $
|
|
3521
|
+
export const $OffboardTokenInfo = {
|
|
3256
3522
|
type: 'object',
|
|
3257
3523
|
properties: {
|
|
3258
3524
|
label: {
|
|
3259
3525
|
type: 'string'
|
|
3260
3526
|
},
|
|
3261
|
-
expiration: {
|
|
3262
|
-
type: 'string',
|
|
3263
|
-
format: 'date-time'
|
|
3264
|
-
},
|
|
3265
3527
|
scopes: {
|
|
3266
3528
|
type: 'array',
|
|
3267
3529
|
items: {
|
|
3268
3530
|
type: 'string'
|
|
3269
3531
|
}
|
|
3270
3532
|
},
|
|
3271
|
-
|
|
3533
|
+
expiration: {
|
|
3272
3534
|
type: 'string'
|
|
3273
3535
|
}
|
|
3274
|
-
}
|
|
3536
|
+
},
|
|
3537
|
+
required: ['label', 'scopes']
|
|
3275
3538
|
};
|
|
3276
|
-
export const $
|
|
3539
|
+
export const $OffboardRequest = {
|
|
3277
3540
|
type: 'object',
|
|
3278
3541
|
properties: {
|
|
3279
|
-
|
|
3280
|
-
type: 'string'
|
|
3281
|
-
},
|
|
3282
|
-
expiration: {
|
|
3542
|
+
reassign_to: {
|
|
3283
3543
|
type: 'string',
|
|
3284
|
-
|
|
3544
|
+
description: "Target for reassignment: 'u/{username}' or 'f/{folder}'"
|
|
3285
3545
|
},
|
|
3286
|
-
|
|
3287
|
-
type: 'string'
|
|
3546
|
+
new_on_behalf_of_user: {
|
|
3547
|
+
type: 'string',
|
|
3548
|
+
description: 'Required when reassign_to is a folder. The username whose identity will be used as permissioned_as for schedules and triggers.'
|
|
3288
3549
|
},
|
|
3289
|
-
|
|
3290
|
-
type: '
|
|
3550
|
+
delete_user: {
|
|
3551
|
+
type: 'boolean',
|
|
3552
|
+
default: true,
|
|
3553
|
+
description: 'Whether to also remove the user from the workspace'
|
|
3291
3554
|
}
|
|
3292
3555
|
},
|
|
3293
|
-
required: ['
|
|
3556
|
+
required: ['reassign_to']
|
|
3294
3557
|
};
|
|
3295
|
-
export const $
|
|
3558
|
+
export const $OffboardResponse = {
|
|
3296
3559
|
type: 'object',
|
|
3297
3560
|
properties: {
|
|
3298
|
-
|
|
3561
|
+
conflicts: {
|
|
3562
|
+
type: 'array',
|
|
3563
|
+
items: {
|
|
3564
|
+
type: 'string'
|
|
3565
|
+
},
|
|
3566
|
+
description: 'List of path conflicts that block the offboarding. Empty on success.'
|
|
3567
|
+
},
|
|
3568
|
+
summary: {
|
|
3569
|
+
'$ref': '#/components/schemas/OffboardSummary'
|
|
3570
|
+
}
|
|
3571
|
+
}
|
|
3572
|
+
};
|
|
3573
|
+
export const $OffboardSummary = {
|
|
3574
|
+
type: 'object',
|
|
3575
|
+
properties: {
|
|
3576
|
+
scripts_reassigned: {
|
|
3577
|
+
type: 'integer'
|
|
3578
|
+
},
|
|
3579
|
+
flows_reassigned: {
|
|
3580
|
+
type: 'integer'
|
|
3581
|
+
},
|
|
3582
|
+
apps_reassigned: {
|
|
3583
|
+
type: 'integer'
|
|
3584
|
+
},
|
|
3585
|
+
resources_reassigned: {
|
|
3586
|
+
type: 'integer'
|
|
3587
|
+
},
|
|
3588
|
+
variables_reassigned: {
|
|
3589
|
+
type: 'integer'
|
|
3590
|
+
},
|
|
3591
|
+
schedules_reassigned: {
|
|
3592
|
+
type: 'integer'
|
|
3593
|
+
},
|
|
3594
|
+
triggers_reassigned: {
|
|
3595
|
+
type: 'integer'
|
|
3596
|
+
},
|
|
3597
|
+
drafts_deleted: {
|
|
3598
|
+
type: 'integer'
|
|
3599
|
+
}
|
|
3600
|
+
},
|
|
3601
|
+
required: ['scripts_reassigned', 'flows_reassigned', 'apps_reassigned', 'resources_reassigned', 'variables_reassigned', 'schedules_reassigned', 'triggers_reassigned', 'drafts_deleted']
|
|
3602
|
+
};
|
|
3603
|
+
export const $GlobalOffboardPreview = {
|
|
3604
|
+
type: 'object',
|
|
3605
|
+
properties: {
|
|
3606
|
+
workspaces: {
|
|
3607
|
+
type: 'array',
|
|
3608
|
+
items: {
|
|
3609
|
+
'$ref': '#/components/schemas/WorkspaceOffboardPreview'
|
|
3610
|
+
}
|
|
3611
|
+
}
|
|
3612
|
+
},
|
|
3613
|
+
required: ['workspaces']
|
|
3614
|
+
};
|
|
3615
|
+
export const $WorkspaceOffboardPreview = {
|
|
3616
|
+
type: 'object',
|
|
3617
|
+
properties: {
|
|
3618
|
+
workspace_id: {
|
|
3619
|
+
type: 'string'
|
|
3620
|
+
},
|
|
3621
|
+
username: {
|
|
3622
|
+
type: 'string'
|
|
3623
|
+
},
|
|
3624
|
+
preview: {
|
|
3625
|
+
'$ref': '#/components/schemas/OffboardPreview'
|
|
3626
|
+
}
|
|
3627
|
+
},
|
|
3628
|
+
required: ['workspace_id', 'username', 'preview']
|
|
3629
|
+
};
|
|
3630
|
+
export const $GlobalOffboardRequest = {
|
|
3631
|
+
type: 'object',
|
|
3632
|
+
properties: {
|
|
3633
|
+
reassignments: {
|
|
3634
|
+
type: 'object',
|
|
3635
|
+
additionalProperties: {
|
|
3636
|
+
'$ref': '#/components/schemas/WorkspaceReassignment'
|
|
3637
|
+
},
|
|
3638
|
+
description: 'Map of workspace_id to reassignment config'
|
|
3639
|
+
},
|
|
3640
|
+
delete_user: {
|
|
3641
|
+
type: 'boolean',
|
|
3642
|
+
default: true,
|
|
3643
|
+
description: 'Whether to also remove the user from the instance'
|
|
3644
|
+
}
|
|
3645
|
+
}
|
|
3646
|
+
};
|
|
3647
|
+
export const $WorkspaceReassignment = {
|
|
3648
|
+
type: 'object',
|
|
3649
|
+
properties: {
|
|
3650
|
+
reassign_to: {
|
|
3651
|
+
type: 'string',
|
|
3652
|
+
description: "Target: 'u/{username}' or 'f/{folder}'"
|
|
3653
|
+
},
|
|
3654
|
+
new_on_behalf_of_user: {
|
|
3655
|
+
type: 'string',
|
|
3656
|
+
description: 'Required when reassign_to is a folder. Username to use as permissioned_as.'
|
|
3657
|
+
}
|
|
3658
|
+
},
|
|
3659
|
+
required: ['reassign_to']
|
|
3660
|
+
};
|
|
3661
|
+
export const $TruncatedToken = {
|
|
3662
|
+
type: 'object',
|
|
3663
|
+
properties: {
|
|
3664
|
+
label: {
|
|
3665
|
+
type: 'string'
|
|
3666
|
+
},
|
|
3667
|
+
expiration: {
|
|
3668
|
+
type: 'string',
|
|
3669
|
+
format: 'date-time'
|
|
3670
|
+
},
|
|
3671
|
+
token_prefix: {
|
|
3672
|
+
type: 'string'
|
|
3673
|
+
},
|
|
3674
|
+
created_at: {
|
|
3675
|
+
type: 'string',
|
|
3676
|
+
format: 'date-time'
|
|
3677
|
+
},
|
|
3678
|
+
last_used_at: {
|
|
3679
|
+
type: 'string',
|
|
3680
|
+
format: 'date-time'
|
|
3681
|
+
},
|
|
3682
|
+
scopes: {
|
|
3683
|
+
type: 'array',
|
|
3684
|
+
items: {
|
|
3685
|
+
type: 'string'
|
|
3686
|
+
}
|
|
3687
|
+
},
|
|
3688
|
+
email: {
|
|
3689
|
+
type: 'string'
|
|
3690
|
+
}
|
|
3691
|
+
},
|
|
3692
|
+
required: ['token_prefix', 'created_at', 'last_used_at']
|
|
3693
|
+
};
|
|
3694
|
+
export const $ExternalJwtToken = {
|
|
3695
|
+
type: 'object',
|
|
3696
|
+
properties: {
|
|
3697
|
+
jwt_hash: {
|
|
3698
|
+
type: 'integer',
|
|
3699
|
+
format: 'int64'
|
|
3700
|
+
},
|
|
3701
|
+
email: {
|
|
3702
|
+
type: 'string'
|
|
3703
|
+
},
|
|
3704
|
+
username: {
|
|
3705
|
+
type: 'string'
|
|
3706
|
+
},
|
|
3707
|
+
is_admin: {
|
|
3708
|
+
type: 'boolean'
|
|
3709
|
+
},
|
|
3710
|
+
is_operator: {
|
|
3711
|
+
type: 'boolean'
|
|
3712
|
+
},
|
|
3713
|
+
workspace_id: {
|
|
3714
|
+
type: 'string'
|
|
3715
|
+
},
|
|
3716
|
+
label: {
|
|
3717
|
+
type: 'string'
|
|
3718
|
+
},
|
|
3719
|
+
scopes: {
|
|
3720
|
+
type: 'array',
|
|
3721
|
+
items: {
|
|
3722
|
+
type: 'string'
|
|
3723
|
+
}
|
|
3724
|
+
},
|
|
3725
|
+
last_used_at: {
|
|
3726
|
+
type: 'string',
|
|
3727
|
+
format: 'date-time'
|
|
3728
|
+
}
|
|
3729
|
+
},
|
|
3730
|
+
required: ['jwt_hash', 'email', 'username', 'is_admin', 'is_operator', 'last_used_at']
|
|
3731
|
+
};
|
|
3732
|
+
export const $NewToken = {
|
|
3733
|
+
type: 'object',
|
|
3734
|
+
properties: {
|
|
3735
|
+
label: {
|
|
3736
|
+
type: 'string'
|
|
3737
|
+
},
|
|
3738
|
+
expiration: {
|
|
3739
|
+
type: 'string',
|
|
3740
|
+
format: 'date-time'
|
|
3741
|
+
},
|
|
3742
|
+
scopes: {
|
|
3743
|
+
type: 'array',
|
|
3744
|
+
items: {
|
|
3745
|
+
type: 'string'
|
|
3746
|
+
}
|
|
3747
|
+
},
|
|
3748
|
+
workspace_id: {
|
|
3749
|
+
type: 'string'
|
|
3750
|
+
}
|
|
3751
|
+
}
|
|
3752
|
+
};
|
|
3753
|
+
export const $NewTokenImpersonate = {
|
|
3754
|
+
type: 'object',
|
|
3755
|
+
properties: {
|
|
3756
|
+
label: {
|
|
3757
|
+
type: 'string'
|
|
3758
|
+
},
|
|
3759
|
+
expiration: {
|
|
3760
|
+
type: 'string',
|
|
3761
|
+
format: 'date-time'
|
|
3762
|
+
},
|
|
3763
|
+
impersonate_email: {
|
|
3764
|
+
type: 'string'
|
|
3765
|
+
},
|
|
3766
|
+
workspace_id: {
|
|
3767
|
+
type: 'string'
|
|
3768
|
+
}
|
|
3769
|
+
},
|
|
3770
|
+
required: ['impersonate_email']
|
|
3771
|
+
};
|
|
3772
|
+
export const $ListableVariable = {
|
|
3773
|
+
type: 'object',
|
|
3774
|
+
properties: {
|
|
3775
|
+
workspace_id: {
|
|
3299
3776
|
type: 'string'
|
|
3300
3777
|
},
|
|
3301
3778
|
path: {
|
|
@@ -3337,6 +3814,12 @@ export const $ListableVariable = {
|
|
|
3337
3814
|
expires_at: {
|
|
3338
3815
|
type: 'string',
|
|
3339
3816
|
format: 'date-time'
|
|
3817
|
+
},
|
|
3818
|
+
labels: {
|
|
3819
|
+
type: 'array',
|
|
3820
|
+
items: {
|
|
3821
|
+
type: 'string'
|
|
3822
|
+
}
|
|
3340
3823
|
}
|
|
3341
3824
|
},
|
|
3342
3825
|
required: ['workspace_id', 'path', 'is_secret', 'extra_perms']
|
|
@@ -3390,6 +3873,12 @@ export const $CreateVariable = {
|
|
|
3390
3873
|
type: 'string',
|
|
3391
3874
|
description: 'The expiration date of the variable',
|
|
3392
3875
|
format: 'date-time'
|
|
3876
|
+
},
|
|
3877
|
+
labels: {
|
|
3878
|
+
type: 'array',
|
|
3879
|
+
items: {
|
|
3880
|
+
type: 'string'
|
|
3881
|
+
}
|
|
3393
3882
|
}
|
|
3394
3883
|
},
|
|
3395
3884
|
required: ['path', 'value', 'is_secret', 'description']
|
|
@@ -3412,6 +3901,12 @@ export const $EditVariable = {
|
|
|
3412
3901
|
description: {
|
|
3413
3902
|
type: 'string',
|
|
3414
3903
|
description: 'The new description of the variable'
|
|
3904
|
+
},
|
|
3905
|
+
labels: {
|
|
3906
|
+
type: 'array',
|
|
3907
|
+
items: {
|
|
3908
|
+
type: 'string'
|
|
3909
|
+
}
|
|
3415
3910
|
}
|
|
3416
3911
|
}
|
|
3417
3912
|
};
|
|
@@ -3577,8 +4072,8 @@ export const $MainArgSignature = {
|
|
|
3577
4072
|
required: ['name', 'typ']
|
|
3578
4073
|
}
|
|
3579
4074
|
},
|
|
3580
|
-
|
|
3581
|
-
type: '
|
|
4075
|
+
auto_kind: {
|
|
4076
|
+
type: 'string',
|
|
3582
4077
|
nullable: true
|
|
3583
4078
|
},
|
|
3584
4079
|
has_preprocessor: {
|
|
@@ -3586,11 +4081,30 @@ export const $MainArgSignature = {
|
|
|
3586
4081
|
nullable: true
|
|
3587
4082
|
}
|
|
3588
4083
|
},
|
|
3589
|
-
required: ['star_args', 'start_kwargs', 'args', 'type', 'error', '
|
|
4084
|
+
required: ['star_args', 'start_kwargs', 'args', 'type', 'error', 'auto_kind', 'has_preprocessor']
|
|
3590
4085
|
};
|
|
3591
4086
|
export const $ScriptLang = {
|
|
3592
4087
|
type: 'string',
|
|
3593
|
-
enum: ['python3', 'deno', 'go', 'bash', 'powershell', 'postgresql', 'mysql', 'bigquery', 'snowflake', 'mssql', 'oracledb', 'graphql', 'nativets', 'bun', 'php', 'rust', 'ansible', 'csharp', 'nu', 'java', 'ruby', 'duckdb', 'bunnative']
|
|
4088
|
+
enum: ['python3', 'deno', 'go', 'bash', 'powershell', 'postgresql', 'mysql', 'bigquery', 'snowflake', 'mssql', 'oracledb', 'graphql', 'nativets', 'bun', 'php', 'rust', 'ansible', 'csharp', 'nu', 'java', 'ruby', 'rlang', 'duckdb', 'bunnative']
|
|
4089
|
+
};
|
|
4090
|
+
export const $ScriptModule = {
|
|
4091
|
+
type: 'object',
|
|
4092
|
+
description: 'An additional module file associated with a script',
|
|
4093
|
+
properties: {
|
|
4094
|
+
content: {
|
|
4095
|
+
type: 'string',
|
|
4096
|
+
description: 'The source code content of this module'
|
|
4097
|
+
},
|
|
4098
|
+
language: {
|
|
4099
|
+
'$ref': '#/components/schemas/ScriptLang'
|
|
4100
|
+
},
|
|
4101
|
+
lock: {
|
|
4102
|
+
type: 'string',
|
|
4103
|
+
nullable: true,
|
|
4104
|
+
description: "Lock file content for this module's dependencies"
|
|
4105
|
+
}
|
|
4106
|
+
},
|
|
4107
|
+
required: ['content', 'language']
|
|
3594
4108
|
};
|
|
3595
4109
|
export const $Preview = {
|
|
3596
4110
|
type: 'object',
|
|
@@ -3628,6 +4142,14 @@ export const $Preview = {
|
|
|
3628
4142
|
},
|
|
3629
4143
|
flow_path: {
|
|
3630
4144
|
type: 'string'
|
|
4145
|
+
},
|
|
4146
|
+
modules: {
|
|
4147
|
+
type: 'object',
|
|
4148
|
+
nullable: true,
|
|
4149
|
+
description: 'Additional script modules keyed by relative file path',
|
|
4150
|
+
additionalProperties: {
|
|
4151
|
+
'$ref': '#/components/schemas/ScriptModule'
|
|
4152
|
+
}
|
|
3631
4153
|
}
|
|
3632
4154
|
},
|
|
3633
4155
|
required: ['args']
|
|
@@ -3705,6 +4227,12 @@ export const $CreateResource = {
|
|
|
3705
4227
|
resource_type: {
|
|
3706
4228
|
type: 'string',
|
|
3707
4229
|
description: 'The resource_type associated with the resource'
|
|
4230
|
+
},
|
|
4231
|
+
labels: {
|
|
4232
|
+
type: 'array',
|
|
4233
|
+
items: {
|
|
4234
|
+
type: 'string'
|
|
4235
|
+
}
|
|
3708
4236
|
}
|
|
3709
4237
|
},
|
|
3710
4238
|
required: ['path', 'value', 'resource_type']
|
|
@@ -3724,6 +4252,12 @@ export const $EditResource = {
|
|
|
3724
4252
|
resource_type: {
|
|
3725
4253
|
type: 'string',
|
|
3726
4254
|
description: 'The new resource_type to be associated with the resource'
|
|
4255
|
+
},
|
|
4256
|
+
labels: {
|
|
4257
|
+
type: 'array',
|
|
4258
|
+
items: {
|
|
4259
|
+
type: 'string'
|
|
4260
|
+
}
|
|
3727
4261
|
}
|
|
3728
4262
|
}
|
|
3729
4263
|
};
|
|
@@ -3758,6 +4292,12 @@ export const $Resource = {
|
|
|
3758
4292
|
edited_at: {
|
|
3759
4293
|
type: 'string',
|
|
3760
4294
|
format: 'date-time'
|
|
4295
|
+
},
|
|
4296
|
+
labels: {
|
|
4297
|
+
type: 'array',
|
|
4298
|
+
items: {
|
|
4299
|
+
type: 'string'
|
|
4300
|
+
}
|
|
3761
4301
|
}
|
|
3762
4302
|
},
|
|
3763
4303
|
required: ['path', 'resource_type', 'is_oauth']
|
|
@@ -3808,6 +4348,12 @@ export const $ListableResource = {
|
|
|
3808
4348
|
edited_at: {
|
|
3809
4349
|
type: 'string',
|
|
3810
4350
|
format: 'date-time'
|
|
4351
|
+
},
|
|
4352
|
+
labels: {
|
|
4353
|
+
type: 'array',
|
|
4354
|
+
items: {
|
|
4355
|
+
type: 'string'
|
|
4356
|
+
}
|
|
3811
4357
|
}
|
|
3812
4358
|
},
|
|
3813
4359
|
required: ['path', 'resource_type', 'is_oauth', 'is_linked', 'is_refreshed']
|
|
@@ -3904,6 +4450,10 @@ export const $Schedule = {
|
|
|
3904
4450
|
type: 'string',
|
|
3905
4451
|
description: 'Email of the user who owns this schedule, used for permissioned_as'
|
|
3906
4452
|
},
|
|
4453
|
+
permissioned_as: {
|
|
4454
|
+
type: 'string',
|
|
4455
|
+
description: "The user or group this schedule runs as (e.g., 'u/admin' or 'g/mygroup')"
|
|
4456
|
+
},
|
|
3907
4457
|
error: {
|
|
3908
4458
|
type: 'string',
|
|
3909
4459
|
nullable: true,
|
|
@@ -3993,9 +4543,16 @@ export const $Schedule = {
|
|
|
3993
4543
|
type: 'string',
|
|
3994
4544
|
nullable: true,
|
|
3995
4545
|
description: 'Path to a script that validates scheduled datetimes. Receives scheduled_for datetime and returns boolean to skip (true) or run (false)'
|
|
4546
|
+
},
|
|
4547
|
+
labels: {
|
|
4548
|
+
type: 'array',
|
|
4549
|
+
items: {
|
|
4550
|
+
type: 'string'
|
|
4551
|
+
},
|
|
4552
|
+
default: []
|
|
3996
4553
|
}
|
|
3997
4554
|
},
|
|
3998
|
-
required: ['path', 'edited_by', 'edited_at', 'schedule', 'script_path', 'timezone', 'extra_perms', 'is_flow', 'enabled', 'email']
|
|
4555
|
+
required: ['path', 'edited_by', 'edited_at', 'schedule', 'script_path', 'timezone', 'extra_perms', 'is_flow', 'enabled', 'email', 'permissioned_as']
|
|
3999
4556
|
};
|
|
4000
4557
|
export const $ScheduleWJobs = {
|
|
4001
4558
|
allOf: [
|
|
@@ -4147,13 +4704,19 @@ export const $NewSchedule = {
|
|
|
4147
4704
|
nullable: true,
|
|
4148
4705
|
description: 'Path to a script that validates scheduled datetimes. Receives scheduled_for datetime and returns boolean to skip (true) or run (false)'
|
|
4149
4706
|
},
|
|
4150
|
-
|
|
4707
|
+
permissioned_as: {
|
|
4151
4708
|
type: 'string',
|
|
4152
|
-
description: '
|
|
4709
|
+
description: 'The user or group this schedule runs as. Used during deployment to preserve the original schedule owner.'
|
|
4153
4710
|
},
|
|
4154
|
-
|
|
4711
|
+
preserve_permissioned_as: {
|
|
4155
4712
|
type: 'boolean',
|
|
4156
|
-
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
4713
|
+
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
|
|
4714
|
+
},
|
|
4715
|
+
labels: {
|
|
4716
|
+
type: 'array',
|
|
4717
|
+
items: {
|
|
4718
|
+
type: 'string'
|
|
4719
|
+
}
|
|
4157
4720
|
}
|
|
4158
4721
|
},
|
|
4159
4722
|
required: ['path', 'schedule', 'timezone', 'script_path', 'is_flow', 'args']
|
|
@@ -4258,13 +4821,21 @@ export const $EditSchedule = {
|
|
|
4258
4821
|
nullable: true,
|
|
4259
4822
|
description: 'Path to a script that validates scheduled datetimes. Receives scheduled_for datetime and returns boolean to skip (true) or run (false)'
|
|
4260
4823
|
},
|
|
4261
|
-
|
|
4824
|
+
permissioned_as: {
|
|
4262
4825
|
type: 'string',
|
|
4263
|
-
|
|
4826
|
+
nullable: true,
|
|
4827
|
+
description: "The user or group this schedule runs as (e.g., 'u/admin' or 'g/mygroup'). Only admins and wm_deployers can set this via preserve_permissioned_as."
|
|
4264
4828
|
},
|
|
4265
|
-
|
|
4829
|
+
preserve_permissioned_as: {
|
|
4266
4830
|
type: 'boolean',
|
|
4267
|
-
|
|
4831
|
+
nullable: true,
|
|
4832
|
+
description: "If true and user is admin/wm_deployers, preserve the provided permissioned_as instead of using the deploying user's identity"
|
|
4833
|
+
},
|
|
4834
|
+
labels: {
|
|
4835
|
+
type: 'array',
|
|
4836
|
+
items: {
|
|
4837
|
+
type: 'string'
|
|
4838
|
+
}
|
|
4268
4839
|
}
|
|
4269
4840
|
},
|
|
4270
4841
|
required: ['schedule', 'timezone', 'args']
|
|
@@ -4272,7 +4843,7 @@ export const $EditSchedule = {
|
|
|
4272
4843
|
export const $JobTriggerKind = {
|
|
4273
4844
|
description: 'job trigger kind (schedule, http, websocket...)',
|
|
4274
4845
|
type: 'string',
|
|
4275
|
-
enum: ['webhook', 'default_email', 'email', 'schedule', 'http', 'websocket', 'postgres', 'kafka', 'nats', 'mqtt', 'sqs', 'gcp', 'google']
|
|
4846
|
+
enum: ['webhook', 'default_email', 'email', 'schedule', 'http', 'websocket', 'postgres', 'kafka', 'nats', 'mqtt', 'sqs', 'gcp', 'google', 'github']
|
|
4276
4847
|
};
|
|
4277
4848
|
export const $TriggerMode = {
|
|
4278
4849
|
description: 'job trigger mode',
|
|
@@ -4290,9 +4861,9 @@ export const $TriggerExtraProperty = {
|
|
|
4290
4861
|
type: 'string',
|
|
4291
4862
|
description: 'Path to the script or flow to execute when triggered'
|
|
4292
4863
|
},
|
|
4293
|
-
|
|
4864
|
+
permissioned_as: {
|
|
4294
4865
|
type: 'string',
|
|
4295
|
-
description: '
|
|
4866
|
+
description: 'The user or group this trigger runs as (permissioned_as)'
|
|
4296
4867
|
},
|
|
4297
4868
|
extra_perms: {
|
|
4298
4869
|
type: 'object',
|
|
@@ -4321,9 +4892,16 @@ export const $TriggerExtraProperty = {
|
|
|
4321
4892
|
mode: {
|
|
4322
4893
|
'$ref': '#/components/schemas/TriggerMode',
|
|
4323
4894
|
description: 'Trigger mode (enabled/disabled)'
|
|
4895
|
+
},
|
|
4896
|
+
labels: {
|
|
4897
|
+
type: 'array',
|
|
4898
|
+
items: {
|
|
4899
|
+
type: 'string'
|
|
4900
|
+
},
|
|
4901
|
+
default: []
|
|
4324
4902
|
}
|
|
4325
4903
|
},
|
|
4326
|
-
required: ['path', 'script_path', '
|
|
4904
|
+
required: ['path', 'script_path', 'permissioned_as', 'extra_perms', 'workspace_id', 'edited_by', 'edited_at', 'is_flow', 'mode']
|
|
4327
4905
|
};
|
|
4328
4906
|
export const $AuthenticationMethod = {
|
|
4329
4907
|
type: 'string',
|
|
@@ -4643,13 +5221,19 @@ export const $NewHttpTrigger = {
|
|
|
4643
5221
|
'$ref': '#/components/schemas/Retry',
|
|
4644
5222
|
description: 'Retry configuration for failed executions'
|
|
4645
5223
|
},
|
|
4646
|
-
|
|
5224
|
+
permissioned_as: {
|
|
4647
5225
|
type: 'string',
|
|
4648
|
-
description: '
|
|
5226
|
+
description: 'The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.'
|
|
4649
5227
|
},
|
|
4650
|
-
|
|
5228
|
+
preserve_permissioned_as: {
|
|
4651
5229
|
type: 'boolean',
|
|
4652
|
-
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
5230
|
+
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
|
|
5231
|
+
},
|
|
5232
|
+
labels: {
|
|
5233
|
+
type: 'array',
|
|
5234
|
+
items: {
|
|
5235
|
+
type: 'string'
|
|
5236
|
+
}
|
|
4653
5237
|
}
|
|
4654
5238
|
},
|
|
4655
5239
|
required: ['path', 'script_path', 'route_path', 'is_flow', 'authentication_method', 'http_method', 'is_static_website']
|
|
@@ -4752,13 +5336,19 @@ export const $EditHttpTrigger = {
|
|
|
4752
5336
|
'$ref': '#/components/schemas/Retry',
|
|
4753
5337
|
description: 'Retry configuration for failed executions'
|
|
4754
5338
|
},
|
|
4755
|
-
|
|
5339
|
+
permissioned_as: {
|
|
4756
5340
|
type: 'string',
|
|
4757
|
-
description: '
|
|
5341
|
+
description: 'The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.'
|
|
4758
5342
|
},
|
|
4759
|
-
|
|
5343
|
+
preserve_permissioned_as: {
|
|
4760
5344
|
type: 'boolean',
|
|
4761
|
-
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
5345
|
+
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
|
|
5346
|
+
},
|
|
5347
|
+
labels: {
|
|
5348
|
+
type: 'array',
|
|
5349
|
+
items: {
|
|
5350
|
+
type: 'string'
|
|
5351
|
+
}
|
|
4762
5352
|
}
|
|
4763
5353
|
},
|
|
4764
5354
|
required: ['path', 'script_path', 'is_flow', 'kind', 'authentication_method', 'http_method', 'is_static_website']
|
|
@@ -4815,9 +5405,31 @@ export const $TriggersCount = {
|
|
|
4815
5405
|
},
|
|
4816
5406
|
google_count: {
|
|
4817
5407
|
type: 'number'
|
|
5408
|
+
},
|
|
5409
|
+
github_count: {
|
|
5410
|
+
type: 'number'
|
|
4818
5411
|
}
|
|
4819
5412
|
}
|
|
4820
5413
|
};
|
|
5414
|
+
export const $WebsocketHeartbeat = {
|
|
5415
|
+
type: 'object',
|
|
5416
|
+
properties: {
|
|
5417
|
+
interval_secs: {
|
|
5418
|
+
type: 'integer',
|
|
5419
|
+
minimum: 1,
|
|
5420
|
+
description: 'Interval in seconds between heartbeat messages'
|
|
5421
|
+
},
|
|
5422
|
+
message: {
|
|
5423
|
+
type: 'string',
|
|
5424
|
+
description: 'Message to send as heartbeat. Use {{state}} as a placeholder for a value extracted from incoming messages (see state_field).'
|
|
5425
|
+
},
|
|
5426
|
+
state_field: {
|
|
5427
|
+
type: 'string',
|
|
5428
|
+
description: 'Optional. Top-level JSON field to extract from incoming messages. The extracted value replaces {{state}} in the heartbeat message.'
|
|
5429
|
+
}
|
|
5430
|
+
},
|
|
5431
|
+
required: ['interval_secs', 'message']
|
|
5432
|
+
};
|
|
4821
5433
|
export const $WebsocketTrigger = {
|
|
4822
5434
|
allOf: [
|
|
4823
5435
|
{
|
|
@@ -4857,6 +5469,12 @@ export const $WebsocketTrigger = {
|
|
|
4857
5469
|
required: ['key', 'value']
|
|
4858
5470
|
}
|
|
4859
5471
|
},
|
|
5472
|
+
filter_logic: {
|
|
5473
|
+
type: 'string',
|
|
5474
|
+
enum: ['and', 'or'],
|
|
5475
|
+
default: 'and',
|
|
5476
|
+
description: "Logic to apply when evaluating filters. 'and' requires all filters to match, 'or' requires any filter to match."
|
|
5477
|
+
},
|
|
4860
5478
|
initial_messages: {
|
|
4861
5479
|
type: 'array',
|
|
4862
5480
|
nullable: true,
|
|
@@ -4878,6 +5496,11 @@ export const $WebsocketTrigger = {
|
|
|
4878
5496
|
type: 'boolean',
|
|
4879
5497
|
description: 'If true, error results are sent back through the WebSocket'
|
|
4880
5498
|
},
|
|
5499
|
+
heartbeat: {
|
|
5500
|
+
'$ref': '#/components/schemas/WebsocketHeartbeat',
|
|
5501
|
+
nullable: true,
|
|
5502
|
+
description: 'Optional periodic heartbeat message configuration'
|
|
5503
|
+
},
|
|
4881
5504
|
error_handler_path: {
|
|
4882
5505
|
type: 'string',
|
|
4883
5506
|
description: 'Path to a script or flow to run when the triggered job fails'
|
|
@@ -4929,6 +5552,12 @@ export const $NewWebsocketTrigger = {
|
|
|
4929
5552
|
required: ['key', 'value']
|
|
4930
5553
|
}
|
|
4931
5554
|
},
|
|
5555
|
+
filter_logic: {
|
|
5556
|
+
type: 'string',
|
|
5557
|
+
enum: ['and', 'or'],
|
|
5558
|
+
default: 'and',
|
|
5559
|
+
description: "Logic to apply when evaluating filters. 'and' requires all filters to match, 'or' requires any filter to match."
|
|
5560
|
+
},
|
|
4932
5561
|
initial_messages: {
|
|
4933
5562
|
type: 'array',
|
|
4934
5563
|
nullable: true,
|
|
@@ -4950,6 +5579,11 @@ export const $NewWebsocketTrigger = {
|
|
|
4950
5579
|
type: 'boolean',
|
|
4951
5580
|
description: 'If true, error results are sent back through the WebSocket'
|
|
4952
5581
|
},
|
|
5582
|
+
heartbeat: {
|
|
5583
|
+
'$ref': '#/components/schemas/WebsocketHeartbeat',
|
|
5584
|
+
nullable: true,
|
|
5585
|
+
description: 'Optional periodic heartbeat message configuration'
|
|
5586
|
+
},
|
|
4953
5587
|
error_handler_path: {
|
|
4954
5588
|
type: 'string',
|
|
4955
5589
|
description: 'Path to a script or flow to run when the triggered job fails'
|
|
@@ -4962,13 +5596,19 @@ export const $NewWebsocketTrigger = {
|
|
|
4962
5596
|
description: 'Retry configuration for failed executions',
|
|
4963
5597
|
'$ref': '#/components/schemas/Retry'
|
|
4964
5598
|
},
|
|
4965
|
-
|
|
5599
|
+
permissioned_as: {
|
|
4966
5600
|
type: 'string',
|
|
4967
|
-
description: '
|
|
5601
|
+
description: 'The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.'
|
|
4968
5602
|
},
|
|
4969
|
-
|
|
5603
|
+
preserve_permissioned_as: {
|
|
4970
5604
|
type: 'boolean',
|
|
4971
|
-
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
5605
|
+
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
|
|
5606
|
+
},
|
|
5607
|
+
labels: {
|
|
5608
|
+
type: 'array',
|
|
5609
|
+
items: {
|
|
5610
|
+
type: 'string'
|
|
5611
|
+
}
|
|
4972
5612
|
}
|
|
4973
5613
|
},
|
|
4974
5614
|
required: ['path', 'script_path', 'url', 'is_flow', 'filters', 'can_return_message', 'can_return_error_result']
|
|
@@ -5006,6 +5646,12 @@ export const $EditWebsocketTrigger = {
|
|
|
5006
5646
|
required: ['key', 'value']
|
|
5007
5647
|
}
|
|
5008
5648
|
},
|
|
5649
|
+
filter_logic: {
|
|
5650
|
+
type: 'string',
|
|
5651
|
+
enum: ['and', 'or'],
|
|
5652
|
+
default: 'and',
|
|
5653
|
+
description: "Logic to apply when evaluating filters. 'and' requires all filters to match, 'or' requires any filter to match."
|
|
5654
|
+
},
|
|
5009
5655
|
initial_messages: {
|
|
5010
5656
|
type: 'array',
|
|
5011
5657
|
nullable: true,
|
|
@@ -5027,6 +5673,11 @@ export const $EditWebsocketTrigger = {
|
|
|
5027
5673
|
type: 'boolean',
|
|
5028
5674
|
description: 'If true, error results are sent back through the WebSocket'
|
|
5029
5675
|
},
|
|
5676
|
+
heartbeat: {
|
|
5677
|
+
'$ref': '#/components/schemas/WebsocketHeartbeat',
|
|
5678
|
+
nullable: true,
|
|
5679
|
+
description: 'Optional periodic heartbeat message configuration'
|
|
5680
|
+
},
|
|
5030
5681
|
error_handler_path: {
|
|
5031
5682
|
type: 'string',
|
|
5032
5683
|
description: 'Path to a script or flow to run when the triggered job fails'
|
|
@@ -5039,13 +5690,19 @@ export const $EditWebsocketTrigger = {
|
|
|
5039
5690
|
description: 'Retry configuration for failed executions',
|
|
5040
5691
|
'$ref': '#/components/schemas/Retry'
|
|
5041
5692
|
},
|
|
5042
|
-
|
|
5693
|
+
permissioned_as: {
|
|
5043
5694
|
type: 'string',
|
|
5044
|
-
description: '
|
|
5695
|
+
description: 'The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.'
|
|
5045
5696
|
},
|
|
5046
|
-
|
|
5697
|
+
preserve_permissioned_as: {
|
|
5047
5698
|
type: 'boolean',
|
|
5048
|
-
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
5699
|
+
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
|
|
5700
|
+
},
|
|
5701
|
+
labels: {
|
|
5702
|
+
type: 'array',
|
|
5703
|
+
items: {
|
|
5704
|
+
type: 'string'
|
|
5705
|
+
}
|
|
5049
5706
|
}
|
|
5050
5707
|
},
|
|
5051
5708
|
required: ['path', 'script_path', 'url', 'is_flow', 'filters', 'can_return_message', 'can_return_error_result']
|
|
@@ -5254,13 +5911,19 @@ export const $NewMqttTrigger = {
|
|
|
5254
5911
|
'$ref': '#/components/schemas/Retry',
|
|
5255
5912
|
description: 'Retry configuration for failed executions'
|
|
5256
5913
|
},
|
|
5257
|
-
|
|
5914
|
+
permissioned_as: {
|
|
5258
5915
|
type: 'string',
|
|
5259
|
-
description: '
|
|
5916
|
+
description: 'The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.'
|
|
5260
5917
|
},
|
|
5261
|
-
|
|
5918
|
+
preserve_permissioned_as: {
|
|
5262
5919
|
type: 'boolean',
|
|
5263
|
-
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
5920
|
+
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
|
|
5921
|
+
},
|
|
5922
|
+
labels: {
|
|
5923
|
+
type: 'array',
|
|
5924
|
+
items: {
|
|
5925
|
+
type: 'string'
|
|
5926
|
+
}
|
|
5264
5927
|
}
|
|
5265
5928
|
},
|
|
5266
5929
|
required: ['path', 'script_path', 'is_flow', 'subscribe_topics', 'mqtt_resource_path']
|
|
@@ -5326,13 +5989,19 @@ export const $EditMqttTrigger = {
|
|
|
5326
5989
|
'$ref': '#/components/schemas/Retry',
|
|
5327
5990
|
description: 'Retry configuration for failed executions'
|
|
5328
5991
|
},
|
|
5329
|
-
|
|
5992
|
+
permissioned_as: {
|
|
5330
5993
|
type: 'string',
|
|
5331
|
-
description: '
|
|
5994
|
+
description: 'The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.'
|
|
5332
5995
|
},
|
|
5333
|
-
|
|
5996
|
+
preserve_permissioned_as: {
|
|
5334
5997
|
type: 'boolean',
|
|
5335
|
-
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
5998
|
+
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
|
|
5999
|
+
},
|
|
6000
|
+
labels: {
|
|
6001
|
+
type: 'array',
|
|
6002
|
+
items: {
|
|
6003
|
+
type: 'string'
|
|
6004
|
+
}
|
|
5336
6005
|
}
|
|
5337
6006
|
},
|
|
5338
6007
|
required: ['path', 'script_path', 'is_flow', 'enabled', 'subscribe_topics', 'mqtt_resource_path']
|
|
@@ -5489,13 +6158,19 @@ export const $GcpTriggerData = {
|
|
|
5489
6158
|
'$ref': '#/components/schemas/Retry',
|
|
5490
6159
|
description: 'Retry configuration for failed executions.'
|
|
5491
6160
|
},
|
|
5492
|
-
|
|
6161
|
+
permissioned_as: {
|
|
5493
6162
|
type: 'string',
|
|
5494
|
-
description: '
|
|
6163
|
+
description: 'The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.'
|
|
5495
6164
|
},
|
|
5496
|
-
|
|
6165
|
+
preserve_permissioned_as: {
|
|
5497
6166
|
type: 'boolean',
|
|
5498
|
-
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
6167
|
+
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
|
|
6168
|
+
},
|
|
6169
|
+
labels: {
|
|
6170
|
+
type: 'array',
|
|
6171
|
+
items: {
|
|
6172
|
+
type: 'string'
|
|
6173
|
+
}
|
|
5499
6174
|
}
|
|
5500
6175
|
},
|
|
5501
6176
|
required: ['path', 'script_path', 'is_flow', 'gcp_resource_path', 'topic_id', 'subscription_mode']
|
|
@@ -5682,13 +6357,19 @@ export const $NewSqsTrigger = {
|
|
|
5682
6357
|
'$ref': '#/components/schemas/Retry',
|
|
5683
6358
|
description: 'Retry configuration for failed executions'
|
|
5684
6359
|
},
|
|
5685
|
-
|
|
6360
|
+
permissioned_as: {
|
|
5686
6361
|
type: 'string',
|
|
5687
|
-
description: '
|
|
6362
|
+
description: 'The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.'
|
|
5688
6363
|
},
|
|
5689
|
-
|
|
6364
|
+
preserve_permissioned_as: {
|
|
5690
6365
|
type: 'boolean',
|
|
5691
|
-
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
6366
|
+
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
|
|
6367
|
+
},
|
|
6368
|
+
labels: {
|
|
6369
|
+
type: 'array',
|
|
6370
|
+
items: {
|
|
6371
|
+
type: 'string'
|
|
6372
|
+
}
|
|
5692
6373
|
}
|
|
5693
6374
|
},
|
|
5694
6375
|
required: ['queue_url', 'aws_resource_path', 'path', 'script_path', 'is_flow', 'aws_auth_resource_type']
|
|
@@ -5743,13 +6424,19 @@ export const $EditSqsTrigger = {
|
|
|
5743
6424
|
'$ref': '#/components/schemas/Retry',
|
|
5744
6425
|
description: 'Retry configuration for failed executions'
|
|
5745
6426
|
},
|
|
5746
|
-
|
|
6427
|
+
permissioned_as: {
|
|
5747
6428
|
type: 'string',
|
|
5748
|
-
description: '
|
|
6429
|
+
description: 'The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.'
|
|
5749
6430
|
},
|
|
5750
|
-
|
|
6431
|
+
preserve_permissioned_as: {
|
|
5751
6432
|
type: 'boolean',
|
|
5752
|
-
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
6433
|
+
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
|
|
6434
|
+
},
|
|
6435
|
+
labels: {
|
|
6436
|
+
type: 'array',
|
|
6437
|
+
items: {
|
|
6438
|
+
type: 'string'
|
|
6439
|
+
}
|
|
5753
6440
|
}
|
|
5754
6441
|
},
|
|
5755
6442
|
required: ['queue_url', 'aws_resource_path', 'path', 'script_path', 'is_flow', 'enabled', 'aws_auth_resource_type']
|
|
@@ -5940,13 +6627,19 @@ export const $NewPostgresTrigger = {
|
|
|
5940
6627
|
'$ref': '#/components/schemas/Retry',
|
|
5941
6628
|
description: 'Retry configuration for failed executions'
|
|
5942
6629
|
},
|
|
5943
|
-
|
|
6630
|
+
permissioned_as: {
|
|
5944
6631
|
type: 'string',
|
|
5945
|
-
description: '
|
|
6632
|
+
description: 'The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.'
|
|
5946
6633
|
},
|
|
5947
|
-
|
|
6634
|
+
preserve_permissioned_as: {
|
|
5948
6635
|
type: 'boolean',
|
|
5949
|
-
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
6636
|
+
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
|
|
6637
|
+
},
|
|
6638
|
+
labels: {
|
|
6639
|
+
type: 'array',
|
|
6640
|
+
items: {
|
|
6641
|
+
type: 'string'
|
|
6642
|
+
}
|
|
5950
6643
|
}
|
|
5951
6644
|
},
|
|
5952
6645
|
required: ['path', 'script_path', 'is_flow', 'enabled', 'postgres_resource_path']
|
|
@@ -5997,13 +6690,19 @@ export const $EditPostgresTrigger = {
|
|
|
5997
6690
|
'$ref': '#/components/schemas/Retry',
|
|
5998
6691
|
description: 'Retry configuration for failed executions'
|
|
5999
6692
|
},
|
|
6000
|
-
|
|
6693
|
+
permissioned_as: {
|
|
6001
6694
|
type: 'string',
|
|
6002
|
-
description: '
|
|
6695
|
+
description: 'The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.'
|
|
6003
6696
|
},
|
|
6004
|
-
|
|
6697
|
+
preserve_permissioned_as: {
|
|
6005
6698
|
type: 'boolean',
|
|
6006
|
-
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
6699
|
+
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
|
|
6700
|
+
},
|
|
6701
|
+
labels: {
|
|
6702
|
+
type: 'array',
|
|
6703
|
+
items: {
|
|
6704
|
+
type: 'string'
|
|
6705
|
+
}
|
|
6007
6706
|
}
|
|
6008
6707
|
},
|
|
6009
6708
|
required: ['path', 'script_path', 'is_flow', 'enabled', 'postgres_resource_path', 'publication_name', 'replication_slot_name']
|
|
@@ -6044,6 +6743,12 @@ export const $KafkaTrigger = {
|
|
|
6044
6743
|
required: ['key', 'value']
|
|
6045
6744
|
}
|
|
6046
6745
|
},
|
|
6746
|
+
filter_logic: {
|
|
6747
|
+
type: 'string',
|
|
6748
|
+
enum: ['and', 'or'],
|
|
6749
|
+
default: 'and',
|
|
6750
|
+
description: "Logic to apply when evaluating filters. 'and' requires all filters to match, 'or' requires any filter to match."
|
|
6751
|
+
},
|
|
6047
6752
|
auto_offset_reset: {
|
|
6048
6753
|
type: 'string',
|
|
6049
6754
|
enum: ['latest', 'earliest'],
|
|
@@ -6126,6 +6831,12 @@ export const $NewKafkaTrigger = {
|
|
|
6126
6831
|
required: ['key', 'value']
|
|
6127
6832
|
}
|
|
6128
6833
|
},
|
|
6834
|
+
filter_logic: {
|
|
6835
|
+
type: 'string',
|
|
6836
|
+
enum: ['and', 'or'],
|
|
6837
|
+
default: 'and',
|
|
6838
|
+
description: "Logic to apply when evaluating filters. 'and' requires all filters to match, 'or' requires any filter to match."
|
|
6839
|
+
},
|
|
6129
6840
|
auto_offset_reset: {
|
|
6130
6841
|
type: 'string',
|
|
6131
6842
|
enum: ['latest', 'earliest'],
|
|
@@ -6152,13 +6863,19 @@ export const $NewKafkaTrigger = {
|
|
|
6152
6863
|
'$ref': '#/components/schemas/Retry',
|
|
6153
6864
|
description: 'Retry configuration for failed executions'
|
|
6154
6865
|
},
|
|
6155
|
-
|
|
6866
|
+
permissioned_as: {
|
|
6156
6867
|
type: 'string',
|
|
6157
|
-
description: '
|
|
6868
|
+
description: 'The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.'
|
|
6158
6869
|
},
|
|
6159
|
-
|
|
6870
|
+
preserve_permissioned_as: {
|
|
6160
6871
|
type: 'boolean',
|
|
6161
|
-
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
6872
|
+
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
|
|
6873
|
+
},
|
|
6874
|
+
labels: {
|
|
6875
|
+
type: 'array',
|
|
6876
|
+
items: {
|
|
6877
|
+
type: 'string'
|
|
6878
|
+
}
|
|
6162
6879
|
}
|
|
6163
6880
|
},
|
|
6164
6881
|
required: ['path', 'script_path', 'is_flow', 'kafka_resource_path', 'group_id', 'topics', 'filters']
|
|
@@ -6194,6 +6911,12 @@ export const $EditKafkaTrigger = {
|
|
|
6194
6911
|
required: ['key', 'value']
|
|
6195
6912
|
}
|
|
6196
6913
|
},
|
|
6914
|
+
filter_logic: {
|
|
6915
|
+
type: 'string',
|
|
6916
|
+
enum: ['and', 'or'],
|
|
6917
|
+
default: 'and',
|
|
6918
|
+
description: "Logic to apply when evaluating filters. 'and' requires all filters to match, 'or' requires any filter to match."
|
|
6919
|
+
},
|
|
6197
6920
|
auto_offset_reset: {
|
|
6198
6921
|
type: 'string',
|
|
6199
6922
|
enum: ['latest', 'earliest'],
|
|
@@ -6229,13 +6952,19 @@ export const $EditKafkaTrigger = {
|
|
|
6229
6952
|
'$ref': '#/components/schemas/Retry',
|
|
6230
6953
|
description: 'Retry configuration for failed executions'
|
|
6231
6954
|
},
|
|
6232
|
-
|
|
6955
|
+
permissioned_as: {
|
|
6233
6956
|
type: 'string',
|
|
6234
|
-
description: '
|
|
6957
|
+
description: 'The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.'
|
|
6235
6958
|
},
|
|
6236
|
-
|
|
6959
|
+
preserve_permissioned_as: {
|
|
6237
6960
|
type: 'boolean',
|
|
6238
|
-
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
6961
|
+
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
|
|
6962
|
+
},
|
|
6963
|
+
labels: {
|
|
6964
|
+
type: 'array',
|
|
6965
|
+
items: {
|
|
6966
|
+
type: 'string'
|
|
6967
|
+
}
|
|
6239
6968
|
}
|
|
6240
6969
|
},
|
|
6241
6970
|
required: ['path', 'script_path', 'kafka_resource_path', 'group_id', 'topics', 'filters', 'is_flow']
|
|
@@ -6356,13 +7085,19 @@ export const $NewNatsTrigger = {
|
|
|
6356
7085
|
'$ref': '#/components/schemas/Retry',
|
|
6357
7086
|
description: 'Retry configuration for failed executions'
|
|
6358
7087
|
},
|
|
6359
|
-
|
|
7088
|
+
permissioned_as: {
|
|
6360
7089
|
type: 'string',
|
|
6361
|
-
description: '
|
|
7090
|
+
description: 'The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.'
|
|
6362
7091
|
},
|
|
6363
|
-
|
|
7092
|
+
preserve_permissioned_as: {
|
|
6364
7093
|
type: 'boolean',
|
|
6365
|
-
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
7094
|
+
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
|
|
7095
|
+
},
|
|
7096
|
+
labels: {
|
|
7097
|
+
type: 'array',
|
|
7098
|
+
items: {
|
|
7099
|
+
type: 'string'
|
|
7100
|
+
}
|
|
6366
7101
|
}
|
|
6367
7102
|
},
|
|
6368
7103
|
required: ['path', 'script_path', 'is_flow', 'nats_resource_path', 'use_jetstream', 'subjects']
|
|
@@ -6419,13 +7154,19 @@ export const $EditNatsTrigger = {
|
|
|
6419
7154
|
'$ref': '#/components/schemas/Retry',
|
|
6420
7155
|
description: 'Retry configuration for failed executions'
|
|
6421
7156
|
},
|
|
6422
|
-
|
|
7157
|
+
permissioned_as: {
|
|
6423
7158
|
type: 'string',
|
|
6424
|
-
description: '
|
|
7159
|
+
description: 'The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.'
|
|
6425
7160
|
},
|
|
6426
|
-
|
|
7161
|
+
preserve_permissioned_as: {
|
|
6427
7162
|
type: 'boolean',
|
|
6428
|
-
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
7163
|
+
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
|
|
7164
|
+
},
|
|
7165
|
+
labels: {
|
|
7166
|
+
type: 'array',
|
|
7167
|
+
items: {
|
|
7168
|
+
type: 'string'
|
|
7169
|
+
}
|
|
6429
7170
|
}
|
|
6430
7171
|
},
|
|
6431
7172
|
required: ['path', 'script_path', 'nats_resource_path', 'use_jetstream', 'subjects', 'is_flow']
|
|
@@ -6486,13 +7227,19 @@ export const $NewEmailTrigger = {
|
|
|
6486
7227
|
mode: {
|
|
6487
7228
|
'$ref': '#/components/schemas/TriggerMode'
|
|
6488
7229
|
},
|
|
6489
|
-
|
|
7230
|
+
permissioned_as: {
|
|
6490
7231
|
type: 'string',
|
|
6491
|
-
description: '
|
|
7232
|
+
description: 'The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.'
|
|
6492
7233
|
},
|
|
6493
|
-
|
|
7234
|
+
preserve_permissioned_as: {
|
|
6494
7235
|
type: 'boolean',
|
|
6495
|
-
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
7236
|
+
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
|
|
7237
|
+
},
|
|
7238
|
+
labels: {
|
|
7239
|
+
type: 'array',
|
|
7240
|
+
items: {
|
|
7241
|
+
type: 'string'
|
|
7242
|
+
}
|
|
6496
7243
|
}
|
|
6497
7244
|
},
|
|
6498
7245
|
required: ['path', 'script_path', 'local_part', 'is_flow']
|
|
@@ -6524,13 +7271,19 @@ export const $EditEmailTrigger = {
|
|
|
6524
7271
|
retry: {
|
|
6525
7272
|
'$ref': '#/components/schemas/Retry'
|
|
6526
7273
|
},
|
|
6527
|
-
|
|
7274
|
+
permissioned_as: {
|
|
6528
7275
|
type: 'string',
|
|
6529
|
-
description: '
|
|
7276
|
+
description: 'The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.'
|
|
6530
7277
|
},
|
|
6531
|
-
|
|
7278
|
+
preserve_permissioned_as: {
|
|
6532
7279
|
type: 'boolean',
|
|
6533
|
-
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
7280
|
+
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
|
|
7281
|
+
},
|
|
7282
|
+
labels: {
|
|
7283
|
+
type: 'array',
|
|
7284
|
+
items: {
|
|
7285
|
+
type: 'string'
|
|
7286
|
+
}
|
|
6534
7287
|
}
|
|
6535
7288
|
},
|
|
6536
7289
|
required: ['path', 'script_path', 'is_flow']
|
|
@@ -6574,6 +7327,11 @@ export const $InstanceGroup = {
|
|
|
6574
7327
|
items: {
|
|
6575
7328
|
type: 'string'
|
|
6576
7329
|
}
|
|
7330
|
+
},
|
|
7331
|
+
instance_role: {
|
|
7332
|
+
type: 'string',
|
|
7333
|
+
nullable: true,
|
|
7334
|
+
enum: ['superadmin', 'devops']
|
|
6577
7335
|
}
|
|
6578
7336
|
}
|
|
6579
7337
|
};
|
|
@@ -6593,6 +7351,11 @@ export const $InstanceGroupWithWorkspaces = {
|
|
|
6593
7351
|
type: 'string'
|
|
6594
7352
|
}
|
|
6595
7353
|
},
|
|
7354
|
+
instance_role: {
|
|
7355
|
+
type: 'string',
|
|
7356
|
+
nullable: true,
|
|
7357
|
+
enum: ['superadmin', 'devops']
|
|
7358
|
+
},
|
|
6596
7359
|
workspaces: {
|
|
6597
7360
|
type: 'array',
|
|
6598
7361
|
items: {
|
|
@@ -6643,10 +7406,34 @@ export const $Folder = {
|
|
|
6643
7406
|
edited_at: {
|
|
6644
7407
|
type: 'string',
|
|
6645
7408
|
format: 'date-time'
|
|
7409
|
+
},
|
|
7410
|
+
default_permissioned_as: {
|
|
7411
|
+
'$ref': '#/components/schemas/FolderDefaultPermissionedAs'
|
|
6646
7412
|
}
|
|
6647
7413
|
},
|
|
6648
7414
|
required: ['name', 'owners', 'extra_perms']
|
|
6649
7415
|
};
|
|
7416
|
+
export const $FolderDefaultPermissionedAs = {
|
|
7417
|
+
description: `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.
|
|
7418
|
+
`,
|
|
7419
|
+
type: 'array',
|
|
7420
|
+
items: {
|
|
7421
|
+
type: 'object',
|
|
7422
|
+
required: ['path_glob', 'permissioned_as'],
|
|
7423
|
+
properties: {
|
|
7424
|
+
path_glob: {
|
|
7425
|
+
type: 'string',
|
|
7426
|
+
description: `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}\`.
|
|
7427
|
+
`
|
|
7428
|
+
},
|
|
7429
|
+
permissioned_as: {
|
|
7430
|
+
type: 'string',
|
|
7431
|
+
description: `Target identity the matched item should be permissioned as. Must be \`u/<username>\`, \`g/<groupname>\`, or an email that exists in this workspace.
|
|
7432
|
+
`
|
|
7433
|
+
}
|
|
7434
|
+
}
|
|
7435
|
+
}
|
|
7436
|
+
};
|
|
6650
7437
|
export const $WorkerPing = {
|
|
6651
7438
|
type: 'object',
|
|
6652
7439
|
properties: {
|
|
@@ -6793,6 +7580,23 @@ export const $CreateWorkspaceFork = {
|
|
|
6793
7580
|
},
|
|
6794
7581
|
color: {
|
|
6795
7582
|
type: 'string'
|
|
7583
|
+
},
|
|
7584
|
+
forked_datatables: {
|
|
7585
|
+
type: 'array',
|
|
7586
|
+
items: {
|
|
7587
|
+
type: 'object',
|
|
7588
|
+
required: ['name', 'new_dbname'],
|
|
7589
|
+
properties: {
|
|
7590
|
+
name: {
|
|
7591
|
+
type: 'string',
|
|
7592
|
+
description: 'Datatable name'
|
|
7593
|
+
},
|
|
7594
|
+
new_dbname: {
|
|
7595
|
+
type: 'string',
|
|
7596
|
+
description: 'New database name for the fork'
|
|
7597
|
+
}
|
|
7598
|
+
}
|
|
7599
|
+
}
|
|
6796
7600
|
}
|
|
6797
7601
|
},
|
|
6798
7602
|
required: ['id', 'name', 'parent_workspace_id']
|
|
@@ -6935,9 +7739,16 @@ export const $GlobalUserInfo = {
|
|
|
6935
7739
|
},
|
|
6936
7740
|
first_time_user: {
|
|
6937
7741
|
type: 'boolean'
|
|
7742
|
+
},
|
|
7743
|
+
role_source: {
|
|
7744
|
+
type: 'string',
|
|
7745
|
+
enum: ['manual', 'instance_group']
|
|
7746
|
+
},
|
|
7747
|
+
disabled: {
|
|
7748
|
+
type: 'boolean'
|
|
6938
7749
|
}
|
|
6939
7750
|
},
|
|
6940
|
-
required: ['email', 'login_type', 'super_admin', 'verified', 'first_time_user']
|
|
7751
|
+
required: ['email', 'login_type', 'super_admin', 'verified', 'first_time_user', 'role_source', 'disabled']
|
|
6941
7752
|
};
|
|
6942
7753
|
export const $Flow = {
|
|
6943
7754
|
allOf: [
|
|
@@ -7014,6 +7825,13 @@ export const $FlowMetadata = {
|
|
|
7014
7825
|
},
|
|
7015
7826
|
on_behalf_of_email: {
|
|
7016
7827
|
type: 'string'
|
|
7828
|
+
},
|
|
7829
|
+
labels: {
|
|
7830
|
+
type: 'array',
|
|
7831
|
+
items: {
|
|
7832
|
+
type: 'string'
|
|
7833
|
+
},
|
|
7834
|
+
default: []
|
|
7017
7835
|
}
|
|
7018
7836
|
},
|
|
7019
7837
|
required: ['path', 'edited_by', 'edited_at', 'archived', 'extra_perms']
|
|
@@ -7053,6 +7871,12 @@ export const $OpenFlowWPath = {
|
|
|
7053
7871
|
preserve_on_behalf_of: {
|
|
7054
7872
|
type: 'boolean',
|
|
7055
7873
|
description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original on_behalf_of_email value instead of overwriting it."
|
|
7874
|
+
},
|
|
7875
|
+
labels: {
|
|
7876
|
+
type: 'array',
|
|
7877
|
+
items: {
|
|
7878
|
+
type: 'string'
|
|
7879
|
+
}
|
|
7056
7880
|
}
|
|
7057
7881
|
},
|
|
7058
7882
|
required: ['path']
|
|
@@ -7182,6 +8006,13 @@ export const $ListableApp = {
|
|
|
7182
8006
|
},
|
|
7183
8007
|
raw_app: {
|
|
7184
8008
|
type: 'boolean'
|
|
8009
|
+
},
|
|
8010
|
+
labels: {
|
|
8011
|
+
type: 'array',
|
|
8012
|
+
items: {
|
|
8013
|
+
type: 'string'
|
|
8014
|
+
},
|
|
8015
|
+
default: []
|
|
7185
8016
|
}
|
|
7186
8017
|
},
|
|
7187
8018
|
required: ['id', 'workspace_id', 'path', 'summary', 'version', 'extra_perms', 'edited_at', 'execution_mode']
|
|
@@ -7251,6 +8082,13 @@ export const $ListableRawApp = {
|
|
|
7251
8082
|
edited_at: {
|
|
7252
8083
|
type: 'string',
|
|
7253
8084
|
format: 'date-time'
|
|
8085
|
+
},
|
|
8086
|
+
labels: {
|
|
8087
|
+
type: 'array',
|
|
8088
|
+
items: {
|
|
8089
|
+
type: 'string'
|
|
8090
|
+
},
|
|
8091
|
+
default: []
|
|
7254
8092
|
}
|
|
7255
8093
|
},
|
|
7256
8094
|
required: ['workspace_id', 'path', 'summary', 'extra_perms', 'version', 'edited_at']
|
|
@@ -7305,6 +8143,13 @@ export const $AppWithLastVersion = {
|
|
|
7305
8143
|
},
|
|
7306
8144
|
bundle_secret: {
|
|
7307
8145
|
type: 'string'
|
|
8146
|
+
},
|
|
8147
|
+
labels: {
|
|
8148
|
+
type: 'array',
|
|
8149
|
+
items: {
|
|
8150
|
+
type: 'string'
|
|
8151
|
+
},
|
|
8152
|
+
default: []
|
|
7308
8153
|
}
|
|
7309
8154
|
},
|
|
7310
8155
|
required: ['id', 'workspace_id', 'path', 'summary', 'versions', 'created_by', 'created_at', 'value', 'policy', 'execution_mode', 'extra_perms', 'raw_app']
|
|
@@ -7359,22 +8204,20 @@ export const $SlackToken = {
|
|
|
7359
8204
|
access_token: {
|
|
7360
8205
|
type: 'string'
|
|
7361
8206
|
},
|
|
7362
|
-
|
|
7363
|
-
type: 'string'
|
|
7364
|
-
},
|
|
7365
|
-
team_name: {
|
|
7366
|
-
type: 'string'
|
|
7367
|
-
},
|
|
7368
|
-
bot: {
|
|
8207
|
+
team: {
|
|
7369
8208
|
type: 'object',
|
|
7370
8209
|
properties: {
|
|
7371
|
-
|
|
8210
|
+
id: {
|
|
8211
|
+
type: 'string'
|
|
8212
|
+
},
|
|
8213
|
+
name: {
|
|
7372
8214
|
type: 'string'
|
|
7373
8215
|
}
|
|
7374
|
-
}
|
|
8216
|
+
},
|
|
8217
|
+
required: ['id', 'name']
|
|
7375
8218
|
}
|
|
7376
8219
|
},
|
|
7377
|
-
required: ['access_token'
|
|
8220
|
+
required: ['access_token']
|
|
7378
8221
|
};
|
|
7379
8222
|
export const $TokenResponse = {
|
|
7380
8223
|
type: 'object',
|
|
@@ -7529,6 +8372,17 @@ export const $DataTableSettings = {
|
|
|
7529
8372
|
}
|
|
7530
8373
|
},
|
|
7531
8374
|
required: ['resource_type']
|
|
8375
|
+
},
|
|
8376
|
+
forked_from: {
|
|
8377
|
+
type: 'object',
|
|
8378
|
+
description: 'Fork origin info with schema snapshot',
|
|
8379
|
+
properties: {
|
|
8380
|
+
schema: {
|
|
8381
|
+
type: 'object',
|
|
8382
|
+
description: 'Schema snapshot at fork time',
|
|
8383
|
+
additionalProperties: true
|
|
8384
|
+
}
|
|
8385
|
+
}
|
|
7532
8386
|
}
|
|
7533
8387
|
}
|
|
7534
8388
|
}
|
|
@@ -8008,6 +8862,11 @@ export const $ExportedInstanceGroup = {
|
|
|
8008
8862
|
},
|
|
8009
8863
|
external_id: {
|
|
8010
8864
|
type: 'string'
|
|
8865
|
+
},
|
|
8866
|
+
instance_role: {
|
|
8867
|
+
type: 'string',
|
|
8868
|
+
nullable: true,
|
|
8869
|
+
enum: ['superadmin', 'devops']
|
|
8011
8870
|
}
|
|
8012
8871
|
},
|
|
8013
8872
|
required: ['name']
|
|
@@ -8206,7 +9065,7 @@ export const $WorkspaceItemDiff = {
|
|
|
8206
9065
|
properties: {
|
|
8207
9066
|
kind: {
|
|
8208
9067
|
type: 'string',
|
|
8209
|
-
enum: ['script', 'flow', 'app', 'resource', 'variable', 'resource_type'],
|
|
9068
|
+
enum: ['script', 'flow', 'app', 'raw_app', 'resource', 'variable', 'resource_type'],
|
|
8210
9069
|
description: 'Type of the item'
|
|
8211
9070
|
},
|
|
8212
9071
|
path: {
|
|
@@ -8530,7 +9389,7 @@ export const $ProtectionRules = {
|
|
|
8530
9389
|
};
|
|
8531
9390
|
export const $ProtectionRuleKind = {
|
|
8532
9391
|
type: 'string',
|
|
8533
|
-
enum: ['DisableDirectDeployment', 'DisableWorkspaceForking']
|
|
9392
|
+
enum: ['DisableDirectDeployment', 'DisableWorkspaceForking', 'RestrictDeployToDeployers']
|
|
8534
9393
|
};
|
|
8535
9394
|
export const $RuleBypasserGroups = {
|
|
8536
9395
|
type: 'array',
|
|
@@ -8546,9 +9405,128 @@ export const $RuleBypasserUsers = {
|
|
|
8546
9405
|
type: 'string'
|
|
8547
9406
|
}
|
|
8548
9407
|
};
|
|
9408
|
+
export const $DeploymentRequestEligibleDeployer = {
|
|
9409
|
+
type: 'object',
|
|
9410
|
+
required: ['username', 'email', 'is_admin'],
|
|
9411
|
+
properties: {
|
|
9412
|
+
username: {
|
|
9413
|
+
type: 'string'
|
|
9414
|
+
},
|
|
9415
|
+
email: {
|
|
9416
|
+
type: 'string'
|
|
9417
|
+
},
|
|
9418
|
+
is_admin: {
|
|
9419
|
+
type: 'boolean'
|
|
9420
|
+
}
|
|
9421
|
+
}
|
|
9422
|
+
};
|
|
9423
|
+
export const $DeploymentRequestAssignee = {
|
|
9424
|
+
type: 'object',
|
|
9425
|
+
required: ['username', 'email'],
|
|
9426
|
+
properties: {
|
|
9427
|
+
username: {
|
|
9428
|
+
type: 'string'
|
|
9429
|
+
},
|
|
9430
|
+
email: {
|
|
9431
|
+
type: 'string'
|
|
9432
|
+
}
|
|
9433
|
+
}
|
|
9434
|
+
};
|
|
9435
|
+
export const $DeploymentRequestComment = {
|
|
9436
|
+
type: 'object',
|
|
9437
|
+
required: ['id', 'author', 'author_email', 'body', 'obsolete', 'created_at'],
|
|
9438
|
+
properties: {
|
|
9439
|
+
id: {
|
|
9440
|
+
type: 'integer',
|
|
9441
|
+
format: 'int64'
|
|
9442
|
+
},
|
|
9443
|
+
parent_id: {
|
|
9444
|
+
type: 'integer',
|
|
9445
|
+
format: 'int64',
|
|
9446
|
+
nullable: true
|
|
9447
|
+
},
|
|
9448
|
+
author: {
|
|
9449
|
+
type: 'string'
|
|
9450
|
+
},
|
|
9451
|
+
author_email: {
|
|
9452
|
+
type: 'string'
|
|
9453
|
+
},
|
|
9454
|
+
body: {
|
|
9455
|
+
type: 'string'
|
|
9456
|
+
},
|
|
9457
|
+
anchor_kind: {
|
|
9458
|
+
type: 'string',
|
|
9459
|
+
nullable: true
|
|
9460
|
+
},
|
|
9461
|
+
anchor_path: {
|
|
9462
|
+
type: 'string',
|
|
9463
|
+
nullable: true
|
|
9464
|
+
},
|
|
9465
|
+
obsolete: {
|
|
9466
|
+
type: 'boolean'
|
|
9467
|
+
},
|
|
9468
|
+
created_at: {
|
|
9469
|
+
type: 'string',
|
|
9470
|
+
format: 'date-time'
|
|
9471
|
+
}
|
|
9472
|
+
}
|
|
9473
|
+
};
|
|
9474
|
+
export const $DeploymentRequest = {
|
|
9475
|
+
type: 'object',
|
|
9476
|
+
required: ['id', 'source_workspace_id', 'fork_workspace_id', 'requested_by', 'requested_by_email', 'requested_at', 'assignees', 'comments'],
|
|
9477
|
+
properties: {
|
|
9478
|
+
id: {
|
|
9479
|
+
type: 'integer',
|
|
9480
|
+
format: 'int64'
|
|
9481
|
+
},
|
|
9482
|
+
source_workspace_id: {
|
|
9483
|
+
type: 'string'
|
|
9484
|
+
},
|
|
9485
|
+
fork_workspace_id: {
|
|
9486
|
+
type: 'string'
|
|
9487
|
+
},
|
|
9488
|
+
requested_by: {
|
|
9489
|
+
type: 'string'
|
|
9490
|
+
},
|
|
9491
|
+
requested_by_email: {
|
|
9492
|
+
type: 'string'
|
|
9493
|
+
},
|
|
9494
|
+
requested_at: {
|
|
9495
|
+
type: 'string',
|
|
9496
|
+
format: 'date-time'
|
|
9497
|
+
},
|
|
9498
|
+
assignees: {
|
|
9499
|
+
type: 'array',
|
|
9500
|
+
items: {
|
|
9501
|
+
'$ref': '#/components/schemas/DeploymentRequestAssignee'
|
|
9502
|
+
}
|
|
9503
|
+
},
|
|
9504
|
+
comments: {
|
|
9505
|
+
type: 'array',
|
|
9506
|
+
items: {
|
|
9507
|
+
'$ref': '#/components/schemas/DeploymentRequestComment'
|
|
9508
|
+
}
|
|
9509
|
+
}
|
|
9510
|
+
}
|
|
9511
|
+
};
|
|
9512
|
+
export const $QuotaInfo = {
|
|
9513
|
+
type: 'object',
|
|
9514
|
+
properties: {
|
|
9515
|
+
used: {
|
|
9516
|
+
type: 'integer'
|
|
9517
|
+
},
|
|
9518
|
+
limit: {
|
|
9519
|
+
type: 'integer'
|
|
9520
|
+
},
|
|
9521
|
+
prunable: {
|
|
9522
|
+
type: 'integer'
|
|
9523
|
+
}
|
|
9524
|
+
},
|
|
9525
|
+
required: ['used', 'limit', 'prunable']
|
|
9526
|
+
};
|
|
8549
9527
|
export const $NativeServiceName = {
|
|
8550
9528
|
type: 'string',
|
|
8551
|
-
enum: ['nextcloud', 'google']
|
|
9529
|
+
enum: ['nextcloud', 'google', 'github']
|
|
8552
9530
|
};
|
|
8553
9531
|
export const $NativeTrigger = {
|
|
8554
9532
|
type: 'object',
|
|
@@ -8582,6 +9560,11 @@ export const $NativeTrigger = {
|
|
|
8582
9560
|
type: 'string',
|
|
8583
9561
|
nullable: true,
|
|
8584
9562
|
description: 'Error message if the trigger is in an error state'
|
|
9563
|
+
},
|
|
9564
|
+
summary: {
|
|
9565
|
+
type: 'string',
|
|
9566
|
+
nullable: true,
|
|
9567
|
+
description: 'Short summary to be displayed when listed'
|
|
8585
9568
|
}
|
|
8586
9569
|
},
|
|
8587
9570
|
required: ['external_id', 'workspace_id', 'service_name', 'script_path', 'is_flow', 'service_config']
|
|
@@ -8619,6 +9602,11 @@ export const $NativeTriggerWithExternal = {
|
|
|
8619
9602
|
nullable: true,
|
|
8620
9603
|
description: 'Error message if the trigger is in an error state'
|
|
8621
9604
|
},
|
|
9605
|
+
summary: {
|
|
9606
|
+
type: 'string',
|
|
9607
|
+
nullable: true,
|
|
9608
|
+
description: 'Short summary to be displayed when listed'
|
|
9609
|
+
},
|
|
8622
9610
|
external_data: {
|
|
8623
9611
|
type: 'object',
|
|
8624
9612
|
description: 'Configuration data from the external service',
|
|
@@ -8712,6 +9700,11 @@ export const $NativeTriggerData = {
|
|
|
8712
9700
|
type: 'object',
|
|
8713
9701
|
description: 'Service-specific configuration (e.g., event types, filters)',
|
|
8714
9702
|
additionalProperties: true
|
|
9703
|
+
},
|
|
9704
|
+
summary: {
|
|
9705
|
+
type: 'string',
|
|
9706
|
+
nullable: true,
|
|
9707
|
+
description: 'Short summary to be displayed when listed'
|
|
8715
9708
|
}
|
|
8716
9709
|
},
|
|
8717
9710
|
required: ['script_path', 'is_flow', 'service_config']
|
|
@@ -8834,3 +9827,21 @@ export const $SharedDriveEntry = {
|
|
|
8834
9827
|
},
|
|
8835
9828
|
required: ['id', 'name']
|
|
8836
9829
|
};
|
|
9830
|
+
export const $GithubRepoEntry = {
|
|
9831
|
+
type: 'object',
|
|
9832
|
+
properties: {
|
|
9833
|
+
full_name: {
|
|
9834
|
+
type: 'string'
|
|
9835
|
+
},
|
|
9836
|
+
name: {
|
|
9837
|
+
type: 'string'
|
|
9838
|
+
},
|
|
9839
|
+
owner: {
|
|
9840
|
+
type: 'string'
|
|
9841
|
+
},
|
|
9842
|
+
private: {
|
|
9843
|
+
type: 'boolean'
|
|
9844
|
+
}
|
|
9845
|
+
},
|
|
9846
|
+
required: ['full_name', 'name', 'owner', 'private']
|
|
9847
|
+
};
|