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.
Files changed (358) hide show
  1. package/package/components/AppConnectInner.svelte +6 -0
  2. package/package/components/CiTestResults.svelte +64 -0
  3. package/package/components/CiTestResults.svelte.d.ts +7 -0
  4. package/package/components/CompareWorkspaces.svelte +626 -418
  5. package/package/components/DBManager.svelte +35 -4
  6. package/package/components/DBManager.svelte.d.ts +2 -0
  7. package/package/components/DBManagerContent.svelte +3 -1
  8. package/package/components/DBManagerContent.svelte.d.ts +3 -0
  9. package/package/components/DBManagerDrawer.svelte +145 -3
  10. package/package/components/DBTableEditor.svelte +14 -4
  11. package/package/components/DatatablePicker.svelte +2 -5
  12. package/package/components/DatatableSchemaDiff.svelte +531 -0
  13. package/package/components/DatatableSchemaDiff.svelte.d.ts +29 -0
  14. package/package/components/DedicatedWorkersSelector.svelte +4 -2
  15. package/package/components/DefaultTagsInner.svelte +42 -2
  16. package/package/components/DeployWorkspaceDrawer.svelte +1 -1
  17. package/package/components/Dev.svelte +20 -3
  18. package/package/components/Editor.svelte +1 -1
  19. package/package/components/EditorBar.svelte +1 -1
  20. package/package/components/EditorBar.svelte.d.ts +1 -1
  21. package/package/components/FlowStatusViewerInner.svelte +269 -220
  22. package/package/components/FlowTimeline.svelte +1 -1
  23. package/package/components/FolderEditor.svelte +189 -4
  24. package/package/components/ForkWorkspaceBanner.svelte +82 -11
  25. package/package/components/GlobalUserOffboardingModal.svelte +293 -0
  26. package/package/components/GlobalUserOffboardingModal.svelte.d.ts +10 -0
  27. package/package/components/InstanceSettings.svelte +22 -3
  28. package/package/components/Login.svelte +22 -10
  29. package/package/components/ModuleTest.svelte +2 -1
  30. package/package/components/NoMainFuncBadge.svelte +1 -1
  31. package/package/components/OffboardItemsBox.svelte +56 -0
  32. package/package/components/OffboardItemsBox.svelte.d.ts +12 -0
  33. package/package/components/OffboardReassignControls.svelte +47 -0
  34. package/package/components/OffboardReassignControls.svelte.d.ts +20 -0
  35. package/package/components/OffboardWorkspaceSection.svelte +110 -0
  36. package/package/components/OffboardWorkspaceSection.svelte.d.ts +24 -0
  37. package/package/components/OnBehalfOfSelector.svelte +21 -3
  38. package/package/components/OnBehalfOfSelector.svelte.d.ts +7 -0
  39. package/package/components/QueueAlerts.svelte +10 -10
  40. package/package/components/ResourcePicker.svelte +2 -2
  41. package/package/components/ScriptBuilder.svelte +52 -11
  42. package/package/components/ScriptEditor.svelte +1 -3
  43. package/package/components/ScriptEditor.svelte.d.ts +1 -1
  44. package/package/components/ShareModal.svelte +236 -98
  45. package/package/components/SuperadminSettingsInner.svelte +362 -315
  46. package/package/components/UserOffboardingModal.svelte +238 -0
  47. package/package/components/UserOffboardingModal.svelte.d.ts +10 -0
  48. package/package/components/WorkspaceDeployLayout.svelte +3 -3
  49. package/package/components/WorkspaceDeployLayout.svelte.d.ts +1 -0
  50. package/package/components/apps/editor/inlineScriptsPanel/InlineScriptRunnableByPath.svelte +4 -2
  51. package/package/components/apps/editor/settingsPanel/mainInput/RunnableSelector.svelte +12 -0
  52. package/package/components/assets/AssetsDropdownButton.svelte +1 -1
  53. package/package/components/common/confirmationModal/ConfirmationModal.svelte +1 -1
  54. package/package/components/common/table/AppRow.svelte +3 -3
  55. package/package/components/common/table/FlowRow.svelte +3 -3
  56. package/package/components/common/table/RawAppRow.svelte +4 -4
  57. package/package/components/common/table/Row.svelte +6 -2
  58. package/package/components/common/table/ScriptRow.svelte +11 -3
  59. package/package/components/copilot/chat/AIChatManager.svelte.js +2 -2
  60. package/package/components/copilot/chat/anthropic.d.ts +7 -1
  61. package/package/components/copilot/chat/anthropic.js +5 -2
  62. package/package/components/copilot/chat/app/core.js +129 -1
  63. package/package/components/copilot/chat/app/core.test.js +192 -0
  64. package/package/components/copilot/chat/chatLoop.d.ts +3 -0
  65. package/package/components/copilot/chat/chatLoop.js +13 -5
  66. package/package/components/copilot/chat/flow/FlowAIChat.svelte +55 -76
  67. package/package/components/copilot/chat/flow/core.d.ts +13 -3
  68. package/package/components/copilot/chat/flow/core.js +467 -116
  69. package/package/components/copilot/chat/flow/helperUtils.d.ts +19 -0
  70. package/package/components/copilot/chat/flow/helperUtils.js +68 -0
  71. package/package/components/copilot/chat/flow/helperUtils.test.js +116 -0
  72. package/package/components/copilot/chat/flow/inlineScriptsUtils.d.ts +5 -24
  73. package/package/components/copilot/chat/flow/inlineScriptsUtils.js +30 -55
  74. package/package/components/copilot/chat/flow/utils.test.js +59 -0
  75. package/package/components/copilot/chat/openai-responses.d.ts +7 -1
  76. package/package/components/copilot/chat/openai-responses.js +5 -2
  77. package/package/components/copilot/chat/shared.d.ts +1 -2
  78. package/package/components/copilot/chat/shared.js +94 -52
  79. package/package/components/copilot/chat/tokenUsage.d.ts +23 -0
  80. package/package/components/copilot/chat/tokenUsage.js +42 -0
  81. package/package/components/copilot/lib.d.ts +5 -1
  82. package/package/components/copilot/lib.js +21 -5
  83. package/package/components/deploymentRequest/DeploymentRequestPanel.svelte +337 -0
  84. package/package/components/deploymentRequest/DeploymentRequestPanel.svelte.d.ts +15 -0
  85. package/package/components/details/CopyableCodeBlock.svelte +18 -8
  86. package/package/components/details/CopyableCodeBlock.svelte.d.ts +1 -0
  87. package/package/components/flows/FlowAssetsHandler.svelte +19 -21
  88. package/package/components/flows/agentToolTree.d.ts +17 -0
  89. package/package/components/flows/agentToolTree.js +114 -0
  90. package/package/components/flows/agentToolTree.test.d.ts +1 -0
  91. package/package/components/flows/agentToolTree.test.js +86 -0
  92. package/package/components/flows/agentToolUtils.d.ts +0 -5
  93. package/package/components/flows/agentToolUtils.js +0 -49
  94. package/package/components/flows/content/FlowLoop.svelte +7 -4
  95. package/package/components/flows/content/FlowModuleDeleteAfterUse.svelte +15 -7
  96. package/package/components/flows/content/FlowSettings.svelte +29 -0
  97. package/package/components/flows/dfs.d.ts +6 -2
  98. package/package/components/flows/dfs.js +19 -11
  99. package/package/components/flows/flowDeleteController.d.ts +32 -0
  100. package/package/components/flows/flowDeleteController.js +54 -0
  101. package/package/components/flows/flowDeleteController.test.d.ts +1 -0
  102. package/package/components/flows/flowDeleteController.test.js +121 -0
  103. package/package/components/flows/flowDeleteUtils.d.ts +48 -0
  104. package/package/components/flows/flowDeleteUtils.js +150 -0
  105. package/package/components/flows/flowDeleteUtils.test.d.ts +1 -0
  106. package/package/components/flows/flowDeleteUtils.test.js +131 -0
  107. package/package/components/flows/flowDiff.d.ts +2 -47
  108. package/package/components/flows/flowDiff.js +16 -293
  109. package/package/components/flows/flowDiff.testUtils.d.ts +8 -0
  110. package/package/components/flows/flowDiff.testUtils.js +26 -0
  111. package/package/components/flows/flowDiffManager.svelte.js +20 -75
  112. package/package/components/flows/flowDiffManager.svelte.test.js +103 -2
  113. package/package/components/flows/flowExplorer.d.ts +4 -0
  114. package/package/components/flows/flowExplorer.js +7 -30
  115. package/package/components/flows/flowState.d.ts +1 -0
  116. package/package/components/flows/flowStateUtils.svelte.js +6 -1
  117. package/package/components/flows/flowStore.svelte.d.ts +1 -1
  118. package/package/components/flows/flowTree.d.ts +91 -0
  119. package/package/components/flows/flowTree.js +326 -0
  120. package/package/components/flows/flowTree.test.d.ts +1 -0
  121. package/package/components/flows/flowTree.test.js +236 -0
  122. package/package/components/flows/map/FlowJobsMenu.svelte +36 -30
  123. package/package/components/flows/map/FlowModuleSchemaItem.svelte +1 -1
  124. package/package/components/flows/map/FlowModuleSchemaMap.svelte +70 -227
  125. package/package/components/flows/map/FlowModuleSchemaMap.svelte.d.ts +0 -2
  126. package/package/components/flows/pickers/PickHubScriptQuick.svelte +2 -2
  127. package/package/components/flows/pickers/PickHubScriptQuick.svelte.d.ts +1 -1
  128. package/package/components/flows/previousResults.js +13 -41
  129. package/package/components/flows/previousResults.test.d.ts +1 -0
  130. package/package/components/flows/previousResults.test.js +65 -0
  131. package/package/components/flows/propPicker/OutputPicker.svelte +2 -1
  132. package/package/components/flows/propPicker/OutputPickerInner.svelte +41 -4
  133. package/package/components/flows/propPicker/StepHistory.svelte +9 -1
  134. package/package/components/git_sync/GitSyncContext.svelte.js +11 -5
  135. package/package/components/git_sync/GitSyncRepositoryCard.svelte +2 -29
  136. package/package/components/git_sync/PullWorkspaceModal.svelte +6 -7
  137. package/package/components/graph/FlowGraphV2.svelte +2 -2
  138. package/package/components/graph/FlowGraphV2.svelte.d.ts +1 -0
  139. package/package/components/graph/groupedModulesProxy.svelte.d.ts +10 -0
  140. package/package/components/graph/groupedModulesProxy.svelte.js +17 -1
  141. package/package/components/graph/renderers/triggers/TriggersBadge.svelte +5 -2
  142. package/package/components/home/HomeConnectDrawer.svelte +125 -0
  143. package/package/components/home/HomeConnectDrawer.svelte.d.ts +5 -0
  144. package/package/components/icons/GithubIcon.svelte +4 -4
  145. package/package/components/icons/GithubIcon.svelte.d.ts +5 -2
  146. package/package/components/instanceSettings/ExternalJwtTokens.svelte +85 -0
  147. package/package/components/instanceSettings/ExternalJwtTokens.svelte.d.ts +12 -0
  148. package/package/components/instanceSettings/GhesAppSettings.svelte +17 -0
  149. package/package/components/instanceSettings/IndexerMemorySettings.svelte +56 -29
  150. package/package/components/instanceSettings/SecretBackendConfig.svelte +9 -2
  151. package/package/components/instanceSettings.d.ts +1 -0
  152. package/package/components/instanceSettings.js +42 -8
  153. package/package/components/offboarding-utils.d.ts +11 -0
  154. package/package/components/offboarding-utils.js +100 -0
  155. package/package/components/raw_apps/RawAppDataTableDrawer.svelte +1 -1
  156. package/package/components/raw_apps/RawAppEditor.svelte +27 -0
  157. package/package/components/raw_apps/RawAppEditorHeader.svelte +6 -1
  158. package/package/components/raw_apps/RawAppEditorHeader.svelte.d.ts +1 -0
  159. package/package/components/raw_apps/RawAppYamlEditor.svelte +81 -0
  160. package/package/components/raw_apps/RawAppYamlEditor.svelte.d.ts +20 -0
  161. package/package/components/raw_apps/datatableUtils.svelte.js +1 -1
  162. package/package/components/runs/runsFilter.d.ts +1 -1
  163. package/package/components/script_builder.d.ts +1 -1
  164. package/package/components/select/Select.svelte +2 -1
  165. package/package/components/select/Select.svelte.d.ts +1 -0
  166. package/package/components/settings/CreateToken.svelte +113 -64
  167. package/package/components/settings/CreateToken.svelte.d.ts +3 -0
  168. package/package/components/settings/WorkspaceUserSettings.svelte +34 -28
  169. package/package/components/sidebar/SidebarContent.svelte +58 -2
  170. package/package/components/sidebar/WorkspaceMenu.svelte +8 -4
  171. package/package/components/triggers/AddTriggersButton.svelte +11 -0
  172. package/package/components/triggers/PermissionedAsLine.svelte +37 -3
  173. package/package/components/triggers/PermissionedAsLine.svelte.d.ts +6 -0
  174. package/package/components/triggers/TriggersEditor.svelte +5 -1
  175. package/package/components/triggers/TriggersWrapper.svelte +10 -0
  176. package/package/components/triggers/email/EmailTriggerEditorInner.svelte +13 -11
  177. package/package/components/triggers/gcp/GcpTriggerEditorInner.svelte +13 -11
  178. package/package/components/triggers/http/RouteEditorConfigSection.svelte +15 -7
  179. package/package/components/triggers/http/RouteEditorInner.svelte +14 -14
  180. package/package/components/triggers/http/RoutesGenerator.svelte +6 -1
  181. package/package/components/triggers/http/RoutesPanel.svelte +1 -1
  182. package/package/components/triggers/http/utils.d.ts +1 -1
  183. package/package/components/triggers/http/utils.js +2 -2
  184. package/package/components/triggers/kafka/KafkaTriggerEditorInner.svelte +13 -11
  185. package/package/components/triggers/mqtt/MqttEditorConfigSection.svelte.d.ts +1 -1
  186. package/package/components/triggers/mqtt/MqttTriggerEditorInner.svelte +13 -11
  187. package/package/components/triggers/native/NativeTriggerEditor.svelte +3 -0
  188. package/package/components/triggers/native/services/github/GitHubTriggerForm.svelte +118 -0
  189. package/package/components/triggers/native/services/github/GitHubTriggerForm.svelte.d.ts +17 -0
  190. package/package/components/triggers/native/utils.js +14 -0
  191. package/package/components/triggers/nats/NatsTriggerEditor.svelte.d.ts +4 -3
  192. package/package/components/triggers/nats/NatsTriggerEditorInner.svelte +13 -11
  193. package/package/components/triggers/postgres/PostgresTriggerEditor.svelte.d.ts +4 -3
  194. package/package/components/triggers/postgres/PostgresTriggerEditorInner.svelte +13 -11
  195. package/package/components/triggers/schedules/ScheduleEditorInner.svelte +13 -11
  196. package/package/components/triggers/sqs/SqsTriggerEditor.svelte.d.ts +4 -3
  197. package/package/components/triggers/sqs/SqsTriggerEditorInner.svelte +13 -11
  198. package/package/components/triggers/triggers.svelte.js +1 -0
  199. package/package/components/triggers/utils.js +27 -6
  200. package/package/components/triggers/websocket/WebsocketTriggerEditorInner.svelte +13 -11
  201. package/package/components/triggers.d.ts +1 -1
  202. package/package/components/useFolderDefaultPermissionedAs.svelte.d.ts +13 -0
  203. package/package/components/useFolderDefaultPermissionedAs.svelte.js +63 -0
  204. package/package/components/workspaceSettings/CreateWorkspace.svelte +16 -677
  205. package/package/components/workspaceSettings/CreateWorkspaceInner.svelte +604 -0
  206. package/package/components/workspaceSettings/CreateWorkspaceInner.svelte.d.ts +7 -0
  207. package/package/components/workspaceSettings/CustomInstanceDbSelect.svelte +27 -25
  208. package/package/components/workspaceSettings/CustomInstanceDbWizardModal.svelte +46 -8
  209. package/package/components/workspaceSettings/DataTableSettings.svelte +27 -22
  210. package/package/components/workspaceSettings/DucklakeSettings.svelte +1 -1
  211. package/package/components/workspaceSettings/ForkDatatableSection.svelte +228 -0
  212. package/package/components/workspaceSettings/ForkDatatableSection.svelte.d.ts +28 -0
  213. package/package/components/workspaceSettings/GitSyncFilterSettings.svelte +8 -2
  214. package/package/components/workspaceSettings/RulesetEditor.svelte +27 -2
  215. package/package/components/workspaceSettings/VolumeStorageSettings.svelte +1 -1
  216. package/package/components/workspaceSettings/WorkspaceIntegrations.svelte +17 -1
  217. package/package/consts.d.ts +3 -0
  218. package/package/consts.js +10 -0
  219. package/package/gen/core/OpenAPI.js +1 -1
  220. package/package/gen/schemas.gen.d.ts +1172 -164
  221. package/package/gen/schemas.gen.js +1168 -157
  222. package/package/gen/services.gen.d.ts +511 -6
  223. package/package/gen/services.gen.js +1023 -23
  224. package/package/gen/types.gen.d.ts +2278 -151
  225. package/package/githubApp.js +5 -1
  226. package/package/hubPaths.json +1 -4
  227. package/package/infer.js +13 -1
  228. package/package/infer.svelte.js +10 -1
  229. package/package/monaco_workers/sqlTypePlugin.worker.d.ts +10 -0
  230. package/package/monaco_workers/sqlTypePlugin.worker.js +39 -0
  231. package/package/script_helpers.d.ts +8 -2
  232. package/package/script_helpers.js +14 -0
  233. package/package/stores.d.ts +4 -0
  234. package/package/stores.js +1 -0
  235. package/package/system_prompts/prompts.d.ts +4 -3
  236. package/package/system_prompts/prompts.js +270 -20
  237. package/package/templates/ci_test_bun.ts.template +19 -0
  238. package/package/templates/ci_test_python.py.template +18 -0
  239. package/package/utils_deployable.d.ts +11 -7
  240. package/package/utils_workspace_deploy.d.ts +8 -8
  241. package/package/utils_workspace_deploy.js +86 -420
  242. package/package.json +4 -4
  243. package/package/components/copilot/chat/__tests__/app/appChat.eval.test.js +0 -153
  244. package/package/components/copilot/chat/__tests__/app/appEvalComparison.d.ts +0 -21
  245. package/package/components/copilot/chat/__tests__/app/appEvalComparison.js +0 -136
  246. package/package/components/copilot/chat/__tests__/app/appEvalHelpers.d.ts +0 -15
  247. package/package/components/copilot/chat/__tests__/app/appEvalHelpers.js +0 -107
  248. package/package/components/copilot/chat/__tests__/app/appEvalRunner.d.ts +0 -50
  249. package/package/components/copilot/chat/__tests__/app/appEvalRunner.js +0 -93
  250. package/package/components/copilot/chat/__tests__/app/appFixtureLoader.d.ts +0 -29
  251. package/package/components/copilot/chat/__tests__/app/appFixtureLoader.js +0 -134
  252. package/package/components/copilot/chat/__tests__/app/appResultsWriter.d.ts +0 -30
  253. package/package/components/copilot/chat/__tests__/app/appResultsWriter.js +0 -197
  254. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/createFolder/main.d.ts +0 -10
  255. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/createFolder/main.js +0 -9
  256. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/createFolder/meta.json +0 -4
  257. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/deleteItem/main.d.ts +0 -6
  258. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/deleteItem/main.js +0 -5
  259. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/deleteItem/meta.json +0 -4
  260. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/listFiles/main.d.ts +0 -12
  261. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/listFiles/main.js +0 -14
  262. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/listFiles/meta.json +0 -4
  263. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/listFolders/main.d.ts +0 -8
  264. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/listFolders/main.js +0 -25
  265. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/listFolders/meta.json +0 -4
  266. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/moveItem/main.d.ts +0 -7
  267. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/moveItem/main.js +0 -5
  268. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/moveItem/meta.json +0 -4
  269. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/renameItem/main.d.ts +0 -8
  270. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/renameItem/main.js +0 -5
  271. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/renameItem/meta.json +0 -4
  272. package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/components/Breadcrumb.d.ts +0 -10
  273. package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/components/Breadcrumb.tsx +0 -26
  274. package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/components/FileItem.d.ts +0 -10
  275. package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/components/FileItem.tsx +0 -79
  276. package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/components/FileList.d.ts +0 -10
  277. package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/components/FileList.tsx +0 -46
  278. package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/components/FolderTree.d.ts +0 -10
  279. package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/components/FolderTree.tsx +0 -56
  280. package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/components/Toolbar.d.ts +0 -6
  281. package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/components/Toolbar.tsx +0 -59
  282. package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/index.d.ts +0 -16
  283. package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/index.tsx +0 -119
  284. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/addToCart/main.d.ts +0 -15
  285. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/addToCart/main.js +0 -14
  286. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/addToCart/meta.json +0 -4
  287. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/calculateTotal/main.d.ts +0 -14
  288. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/calculateTotal/main.js +0 -5
  289. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/calculateTotal/meta.json +0 -4
  290. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/getProducts/main.d.ts +0 -6
  291. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/getProducts/main.js +0 -41
  292. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/getProducts/meta.json +0 -4
  293. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/removeFromCart/main.d.ts +0 -15
  294. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/removeFromCart/main.js +0 -3
  295. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/removeFromCart/meta.json +0 -4
  296. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/frontend/components/Cart.d.ts +0 -9
  297. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/frontend/components/Cart.tsx +0 -51
  298. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/frontend/components/ProductCard.d.ts +0 -8
  299. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/frontend/components/ProductCard.tsx +0 -27
  300. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/frontend/components/ProductList.d.ts +0 -8
  301. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/frontend/components/ProductList.tsx +0 -18
  302. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/frontend/index.d.ts +0 -12
  303. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/frontend/index.tsx +0 -81
  304. package/package/components/copilot/chat/__tests__/app/initial/test1_counter_app/backend/decrementCounter/main.d.ts +0 -3
  305. package/package/components/copilot/chat/__tests__/app/initial/test1_counter_app/backend/decrementCounter/main.js +0 -3
  306. package/package/components/copilot/chat/__tests__/app/initial/test1_counter_app/backend/decrementCounter/meta.json +0 -4
  307. package/package/components/copilot/chat/__tests__/app/initial/test1_counter_app/backend/incrementCounter/main.d.ts +0 -3
  308. package/package/components/copilot/chat/__tests__/app/initial/test1_counter_app/backend/incrementCounter/main.js +0 -3
  309. package/package/components/copilot/chat/__tests__/app/initial/test1_counter_app/backend/incrementCounter/meta.json +0 -4
  310. package/package/components/copilot/chat/__tests__/app/initial/test1_counter_app/frontend/index.d.ts +0 -2
  311. package/package/components/copilot/chat/__tests__/app/initial/test1_counter_app/frontend/index.tsx +0 -38
  312. package/package/components/copilot/chat/__tests__/app/variants/baseline.d.ts +0 -6
  313. package/package/components/copilot/chat/__tests__/app/variants/baseline.js +0 -10
  314. package/package/components/copilot/chat/__tests__/app/variants/index.d.ts +0 -3
  315. package/package/components/copilot/chat/__tests__/app/variants/index.js +0 -3
  316. package/package/components/copilot/chat/__tests__/app/variants/streamlined.d.ts +0 -6
  317. package/package/components/copilot/chat/__tests__/app/variants/streamlined.js +0 -137
  318. package/package/components/copilot/chat/__tests__/flow/expected/test1.json +0 -134
  319. package/package/components/copilot/chat/__tests__/flow/expected/test2.json +0 -183
  320. package/package/components/copilot/chat/__tests__/flow/expected/test3.json +0 -204
  321. package/package/components/copilot/chat/__tests__/flow/expected/test4.json +0 -175
  322. package/package/components/copilot/chat/__tests__/flow/expected/test5_modify_simple.json +0 -68
  323. package/package/components/copilot/chat/__tests__/flow/expected/test6_modify_medium.json +0 -142
  324. package/package/components/copilot/chat/__tests__/flow/expected/test7_modify_complex.json +0 -136
  325. package/package/components/copilot/chat/__tests__/flow/flowChat.eval.test.js +0 -294
  326. package/package/components/copilot/chat/__tests__/flow/flowEvalComparison.d.ts +0 -17
  327. package/package/components/copilot/chat/__tests__/flow/flowEvalComparison.js +0 -49
  328. package/package/components/copilot/chat/__tests__/flow/flowEvalHelpers.d.ts +0 -12
  329. package/package/components/copilot/chat/__tests__/flow/flowEvalHelpers.js +0 -79
  330. package/package/components/copilot/chat/__tests__/flow/flowEvalRunner.d.ts +0 -50
  331. package/package/components/copilot/chat/__tests__/flow/flowEvalRunner.js +0 -102
  332. package/package/components/copilot/chat/__tests__/flow/initial/test5_initial.json +0 -53
  333. package/package/components/copilot/chat/__tests__/flow/initial/test6_initial.json +0 -68
  334. package/package/components/copilot/chat/__tests__/flow/initial/test7_initial.json +0 -120
  335. package/package/components/copilot/chat/__tests__/flow/variants/baseline.d.ts +0 -6
  336. package/package/components/copilot/chat/__tests__/flow/variants/baseline.js +0 -10
  337. package/package/components/copilot/chat/__tests__/flow/variants/index.d.ts +0 -3
  338. package/package/components/copilot/chat/__tests__/flow/variants/index.js +0 -3
  339. package/package/components/copilot/chat/__tests__/flow/variants/minimal-single-tool.d.ts +0 -15
  340. package/package/components/copilot/chat/__tests__/flow/variants/minimal-single-tool.js +0 -388
  341. package/package/components/copilot/chat/__tests__/shared/baseEvalRunner.d.ts +0 -45
  342. package/package/components/copilot/chat/__tests__/shared/baseEvalRunner.js +0 -121
  343. package/package/components/copilot/chat/__tests__/shared/baseLLMEvaluator.d.ts +0 -28
  344. package/package/components/copilot/chat/__tests__/shared/baseLLMEvaluator.js +0 -96
  345. package/package/components/copilot/chat/__tests__/shared/baseResultsWriter.d.ts +0 -32
  346. package/package/components/copilot/chat/__tests__/shared/baseResultsWriter.js +0 -130
  347. package/package/components/copilot/chat/__tests__/shared/baseVariants.d.ts +0 -45
  348. package/package/components/copilot/chat/__tests__/shared/baseVariants.js +0 -57
  349. package/package/components/copilot/chat/__tests__/shared/index.d.ts +0 -10
  350. package/package/components/copilot/chat/__tests__/shared/index.js +0 -5
  351. package/package/components/copilot/chat/__tests__/shared/types.d.ts +0 -105
  352. package/package/components/copilot/chat/__tests__/shared/types.js +0 -9
  353. package/package/components/copilot/chat/flow/utils.d.ts +0 -14
  354. package/package/components/copilot/chat/flow/utils.js +0 -108
  355. package/package/components/flows/agentToolUtils.test.js +0 -55
  356. /package/package/components/copilot/chat/{__tests__/app/appChat.eval.test.d.ts → app/core.test.d.ts} +0 -0
  357. /package/package/components/copilot/chat/{__tests__/flow/flowChat.eval.test.d.ts → flow/helperUtils.test.d.ts} +0 -0
  358. /package/package/components/{flows/agentToolUtils.test.d.ts → copilot/chat/flow/utils.test.d.ts} +0 -0
@@ -83,6 +83,10 @@ export type FlowValue = {
83
83
  */
84
84
  cache_ttl?: number;
85
85
  cache_ignore_s3_path?: boolean;
86
+ /**
87
+ * If set, delete the flow job's args, result and logs after this many seconds following job completion
88
+ */
89
+ delete_after_secs?: number;
86
90
  /**
87
91
  * Environment variables available to all steps. Values can be strings, JSON values, or special references: '$var:path' (workspace variable) or '$res:path' (resource).
88
92
  */
@@ -105,6 +109,35 @@ export type FlowValue = {
105
109
  * Sticky notes attached to the flow
106
110
  */
107
111
  notes?: Array<FlowNote>;
112
+ /**
113
+ * Semantic groups of modules for organizational purposes
114
+ */
115
+ groups?: Array<{
116
+ /**
117
+ * Display name for this group
118
+ */
119
+ summary?: string;
120
+ /**
121
+ * Markdown note shown below the group header
122
+ */
123
+ note?: string;
124
+ /**
125
+ * If true, this group is collapsed by default in the flow editor. UI hint only.
126
+ */
127
+ autocollapse?: boolean;
128
+ /**
129
+ * ID of the first flow module in this group (topological entry point)
130
+ */
131
+ start_id: string;
132
+ /**
133
+ * ID of the last flow module in this group (topological exit point)
134
+ */
135
+ end_id: string;
136
+ /**
137
+ * Color for the group in the flow editor
138
+ */
139
+ color?: string;
140
+ }>;
108
141
  };
109
142
  /**
110
143
  * Retry configuration for failed module executions
@@ -167,9 +200,9 @@ export type StopAfterIf = {
167
200
  */
168
201
  expr: string;
169
202
  /**
170
- * Custom error message shown when stopping
203
+ * 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.
171
204
  */
172
- error_message?: string;
205
+ error_message?: string | null;
173
206
  };
174
207
  /**
175
208
  * A single step in a flow. Can be a script, subflow, loop, or branch
@@ -211,9 +244,9 @@ export type FlowModule = {
211
244
  */
212
245
  timeout?: InputTransform;
213
246
  /**
214
- * If true, this step's result is deleted after use to save memory
247
+ * If set, delete the step's args, result and logs after this many seconds following job completion
215
248
  */
216
- delete_after_use?: boolean;
249
+ delete_after_secs?: number;
217
250
  /**
218
251
  * Short description of what this step does
219
252
  */
@@ -287,6 +320,31 @@ export type FlowModule = {
287
320
  * Retry configuration if this step fails
288
321
  */
289
322
  retry?: Retry;
323
+ /**
324
+ * Debounce configuration for this step (EE only)
325
+ */
326
+ debouncing?: {
327
+ /**
328
+ * Delay in seconds to debounce this step's executions across flow runs
329
+ */
330
+ debounce_delay_s?: number;
331
+ /**
332
+ * Expression to group debounced executions. Supports $workspace and $args[name]. Default: $workspace/flow/<flow_path>-<step_id>
333
+ */
334
+ debounce_key?: string;
335
+ /**
336
+ * Array-type arguments to accumulate across debounced executions
337
+ */
338
+ debounce_args_to_accumulate?: Array<(string)>;
339
+ /**
340
+ * Maximum total time in seconds before forced execution
341
+ */
342
+ max_total_debouncing_time?: number;
343
+ /**
344
+ * Maximum number of debounces before forced execution
345
+ */
346
+ max_total_debounces_amount?: number;
347
+ };
290
348
  };
291
349
  /**
292
350
  * Maps input parameters for a step. Can be a static value or a JavaScript expression that references previous results or flow inputs
@@ -378,7 +436,7 @@ export type RawScript = {
378
436
  /**
379
437
  * Programming language for this script
380
438
  */
381
- language: 'deno' | 'bun' | 'python3' | 'go' | 'bash' | 'powershell' | 'postgresql' | 'mysql' | 'bigquery' | 'snowflake' | 'mssql' | 'oracledb' | 'graphql' | 'nativets' | 'php' | 'rust' | 'ansible' | 'csharp' | 'nu' | 'java' | 'ruby' | 'duckdb';
439
+ language: 'deno' | 'bun' | 'python3' | 'go' | 'bash' | 'powershell' | 'postgresql' | 'mysql' | 'bigquery' | 'snowflake' | 'mssql' | 'oracledb' | 'graphql' | 'nativets' | 'php' | 'rust' | 'ansible' | 'csharp' | 'nu' | 'java' | 'ruby' | 'rlang' | 'duckdb';
382
440
  /**
383
441
  * Optional path for saving this script
384
442
  */
@@ -628,12 +686,12 @@ export type AiAgent = {
628
686
  */
629
687
  output_schema?: InputTransform;
630
688
  /**
631
- * Array of image references for vision-capable models.
689
+ * Array of file references (images or PDFs) for the AI agent.
632
690
  * Format: Array<{ bucket: string, key: string }> - S3 object references
633
- * Example: [{ bucket: 'my-bucket', key: 'images/photo.jpg' }]
691
+ * Example: [{ bucket: 'my-bucket', key: 'documents/report.pdf' }]
634
692
  *
635
693
  */
636
- user_images?: InputTransform;
694
+ user_attachments?: InputTransform;
637
695
  /**
638
696
  * Integer. Maximum number of tokens the AI will generate in its response.
639
697
  * Range: 1 to 4,294,967,295. Typical values: 256-4096 for most use cases.
@@ -821,6 +879,12 @@ export type FlowNote = {
821
879
  */
822
880
  contained_node_ids?: Array<(string)>;
823
881
  };
882
+ export type CiTestResult = {
883
+ test_script_path: string;
884
+ job_id?: string | null;
885
+ status?: string | null;
886
+ started_at?: string | null;
887
+ };
824
888
  /**
825
889
  * Health status response (cached with 5s TTL)
826
890
  */
@@ -1063,6 +1127,54 @@ export type VaultSettings = {
1063
1127
  * Static Vault token for testing/development (optional, if provided this is used instead of JWT authentication)
1064
1128
  */
1065
1129
  token?: string;
1130
+ /**
1131
+ * Skip TLS certificate verification when connecting to Vault. Only use for self-signed certificates in development environments.
1132
+ */
1133
+ skip_ssl_verify?: boolean;
1134
+ };
1135
+ export type AzureKeyVaultSettings = {
1136
+ /**
1137
+ * Azure Key Vault URL (e.g., https://myvault.vault.azure.net)
1138
+ */
1139
+ vault_url: string;
1140
+ /**
1141
+ * Azure AD tenant ID
1142
+ */
1143
+ tenant_id: string;
1144
+ /**
1145
+ * Azure AD application (client) ID
1146
+ */
1147
+ client_id: string;
1148
+ /**
1149
+ * Azure AD client secret
1150
+ */
1151
+ client_secret?: string;
1152
+ /**
1153
+ * Static Bearer token for testing/development (optional, if provided this is used instead of OAuth2 authentication)
1154
+ */
1155
+ token?: string;
1156
+ };
1157
+ export type AwsSecretsManagerSettings = {
1158
+ /**
1159
+ * AWS region (e.g., us-east-1)
1160
+ */
1161
+ region: string;
1162
+ /**
1163
+ * AWS Access Key ID (optional, uses default credential chain if not provided)
1164
+ */
1165
+ access_key_id?: string;
1166
+ /**
1167
+ * AWS Secret Access Key (optional)
1168
+ */
1169
+ secret_access_key?: string;
1170
+ /**
1171
+ * Custom endpoint URL for testing (e.g., LocalStack)
1172
+ */
1173
+ endpoint_url?: string;
1174
+ /**
1175
+ * Prefix for secret names (e.g., windmill/)
1176
+ */
1177
+ prefix?: string;
1066
1178
  };
1067
1179
  export type SecretMigrationFailure = {
1068
1180
  /**
@@ -1231,6 +1343,15 @@ export type AIConfig = {
1231
1343
  [key: string]: (number);
1232
1344
  };
1233
1345
  };
1346
+ export type InstanceAIProviderSummary = {
1347
+ provider: AIProvider;
1348
+ models: Array<(string)>;
1349
+ };
1350
+ export type InstanceAISummary = {
1351
+ providers: Array<InstanceAIProviderSummary>;
1352
+ default_model?: AIProviderModel;
1353
+ code_completion_model?: AIProviderModel;
1354
+ };
1234
1355
  export type Alert = {
1235
1356
  name: string;
1236
1357
  tags_to_monitor: Array<(string)>;
@@ -1304,12 +1425,22 @@ export type Script = {
1304
1425
  priority?: number;
1305
1426
  restart_unless_cancelled?: boolean;
1306
1427
  timeout?: number;
1307
- delete_after_use?: boolean;
1428
+ /**
1429
+ * If set, delete the job's args, result and logs after this many seconds following job completion
1430
+ */
1431
+ delete_after_secs?: number;
1308
1432
  visible_to_runner_only?: boolean;
1309
- no_main_func: boolean;
1433
+ auto_kind?: string;
1310
1434
  codebase?: string;
1311
1435
  has_preprocessor: boolean;
1312
1436
  on_behalf_of_email?: string;
1437
+ /**
1438
+ * Additional script modules keyed by relative file path
1439
+ */
1440
+ modules?: {
1441
+ [key: string]: ScriptModule;
1442
+ } | null;
1443
+ labels?: Array<(string)>;
1313
1444
  };
1314
1445
  export type NewScript = {
1315
1446
  path: string;
@@ -1336,7 +1467,10 @@ export type NewScript = {
1336
1467
  priority?: number;
1337
1468
  restart_unless_cancelled?: boolean;
1338
1469
  timeout?: number;
1339
- delete_after_use?: boolean;
1470
+ /**
1471
+ * If set, delete the job's args, result and logs after this many seconds following job completion
1472
+ */
1473
+ delete_after_secs?: number;
1340
1474
  deployment_message?: string;
1341
1475
  concurrency_key?: string;
1342
1476
  debounce_key?: string;
@@ -1345,7 +1479,7 @@ export type NewScript = {
1345
1479
  max_total_debouncing_time?: number;
1346
1480
  max_total_debounces_amount?: number;
1347
1481
  visible_to_runner_only?: boolean;
1348
- no_main_func?: boolean;
1482
+ auto_kind?: string;
1349
1483
  codebase?: string;
1350
1484
  has_preprocessor?: boolean;
1351
1485
  on_behalf_of_email?: string;
@@ -1359,6 +1493,13 @@ export type NewScript = {
1359
1493
  access_type?: 'r' | 'w' | 'rw';
1360
1494
  alt_access_type?: 'r' | 'w' | 'rw';
1361
1495
  }>;
1496
+ /**
1497
+ * Additional script modules keyed by relative file path
1498
+ */
1499
+ modules?: {
1500
+ [key: string]: ScriptModule;
1501
+ } | null;
1502
+ labels?: Array<(string)>;
1362
1503
  };
1363
1504
  export type NewScriptWithDraft = NewScript & {
1364
1505
  draft?: NewScript;
@@ -1649,6 +1790,7 @@ export type User = {
1649
1790
  folders: Array<(string)>;
1650
1791
  folders_owners: Array<(string)>;
1651
1792
  added_via?: (UserSource) | null;
1793
+ is_service_account?: boolean;
1652
1794
  };
1653
1795
  export type UserSource = {
1654
1796
  /**
@@ -1680,6 +1822,109 @@ export type EditWorkspaceUser = {
1680
1822
  operator?: boolean;
1681
1823
  disabled?: boolean;
1682
1824
  };
1825
+ export type OffboardAffectedPaths = {
1826
+ scripts?: Array<(string)>;
1827
+ flows?: Array<(string)>;
1828
+ apps?: Array<(string)>;
1829
+ resources?: Array<(string)>;
1830
+ variables?: Array<(string)>;
1831
+ schedules?: Array<(string)>;
1832
+ triggers?: {
1833
+ [key: string]: Array<(string)>;
1834
+ };
1835
+ };
1836
+ export type OffboardPreview = {
1837
+ /**
1838
+ * Objects under u/{username}/ that will be reassigned
1839
+ */
1840
+ owned: OffboardAffectedPaths;
1841
+ /**
1842
+ * Objects not under the user's path but that execute on behalf of this user (permissioned_as/on_behalf_of will be updated)
1843
+ */
1844
+ executing_on_behalf: OffboardAffectedPaths;
1845
+ /**
1846
+ * Scripts/flows/apps/resources whose content or value references this user's paths (may break after reassignment)
1847
+ */
1848
+ referencing: OffboardAffectedPaths;
1849
+ /**
1850
+ * Tokens owned by this user (will be deleted)
1851
+ */
1852
+ tokens: Array<OffboardTokenInfo>;
1853
+ /**
1854
+ * HTTP triggers under the user's path (webhook URLs will change)
1855
+ */
1856
+ http_triggers: number;
1857
+ /**
1858
+ * Email triggers under the user's path (email addresses will change)
1859
+ */
1860
+ email_triggers: number;
1861
+ };
1862
+ export type OffboardTokenInfo = {
1863
+ label: string;
1864
+ scopes: Array<(string)>;
1865
+ expiration?: string;
1866
+ };
1867
+ export type OffboardRequest = {
1868
+ /**
1869
+ * Target for reassignment: 'u/{username}' or 'f/{folder}'
1870
+ */
1871
+ reassign_to: string;
1872
+ /**
1873
+ * Required when reassign_to is a folder. The username whose identity will be used as permissioned_as for schedules and triggers.
1874
+ */
1875
+ new_on_behalf_of_user?: string;
1876
+ /**
1877
+ * Whether to also remove the user from the workspace
1878
+ */
1879
+ delete_user?: boolean;
1880
+ };
1881
+ export type OffboardResponse = {
1882
+ /**
1883
+ * List of path conflicts that block the offboarding. Empty on success.
1884
+ */
1885
+ conflicts?: Array<(string)>;
1886
+ summary?: OffboardSummary;
1887
+ };
1888
+ export type OffboardSummary = {
1889
+ scripts_reassigned: number;
1890
+ flows_reassigned: number;
1891
+ apps_reassigned: number;
1892
+ resources_reassigned: number;
1893
+ variables_reassigned: number;
1894
+ schedules_reassigned: number;
1895
+ triggers_reassigned: number;
1896
+ drafts_deleted: number;
1897
+ };
1898
+ export type GlobalOffboardPreview = {
1899
+ workspaces: Array<WorkspaceOffboardPreview>;
1900
+ };
1901
+ export type WorkspaceOffboardPreview = {
1902
+ workspace_id: string;
1903
+ username: string;
1904
+ preview: OffboardPreview;
1905
+ };
1906
+ export type GlobalOffboardRequest = {
1907
+ /**
1908
+ * Map of workspace_id to reassignment config
1909
+ */
1910
+ reassignments?: {
1911
+ [key: string]: WorkspaceReassignment;
1912
+ };
1913
+ /**
1914
+ * Whether to also remove the user from the instance
1915
+ */
1916
+ delete_user?: boolean;
1917
+ };
1918
+ export type WorkspaceReassignment = {
1919
+ /**
1920
+ * Target: 'u/{username}' or 'f/{folder}'
1921
+ */
1922
+ reassign_to: string;
1923
+ /**
1924
+ * Required when reassign_to is a folder. Username to use as permissioned_as.
1925
+ */
1926
+ new_on_behalf_of_user?: string;
1927
+ };
1683
1928
  export type TruncatedToken = {
1684
1929
  label?: string;
1685
1930
  expiration?: string;
@@ -1689,6 +1934,17 @@ export type TruncatedToken = {
1689
1934
  scopes?: Array<(string)>;
1690
1935
  email?: string;
1691
1936
  };
1937
+ export type ExternalJwtToken = {
1938
+ jwt_hash: number;
1939
+ email: string;
1940
+ username: string;
1941
+ is_admin: boolean;
1942
+ is_operator: boolean;
1943
+ workspace_id?: string;
1944
+ label?: string;
1945
+ scopes?: Array<(string)>;
1946
+ last_used_at: string;
1947
+ };
1692
1948
  export type NewToken = {
1693
1949
  label?: string;
1694
1950
  expiration?: string;
@@ -1717,6 +1973,7 @@ export type ListableVariable = {
1717
1973
  is_linked?: boolean;
1718
1974
  is_refreshed?: boolean;
1719
1975
  expires_at?: string;
1976
+ labels?: Array<(string)>;
1720
1977
  };
1721
1978
  export type ContextualVariable = {
1722
1979
  name: string;
@@ -1753,6 +2010,7 @@ export type CreateVariable = {
1753
2010
  * The expiration date of the variable
1754
2011
  */
1755
2012
  expires_at?: string;
2013
+ labels?: Array<(string)>;
1756
2014
  };
1757
2015
  export type EditVariable = {
1758
2016
  /**
@@ -1771,6 +2029,7 @@ export type EditVariable = {
1771
2029
  * The new description of the variable
1772
2030
  */
1773
2031
  description?: string;
2032
+ labels?: Array<(string)>;
1774
2033
  };
1775
2034
  export type AuditLog = {
1776
2035
  workspace_id: string;
@@ -1814,10 +2073,24 @@ export type MainArgSignature = {
1814
2073
  has_default?: boolean;
1815
2074
  default?: unknown;
1816
2075
  }>;
1817
- no_main_func: boolean | null;
2076
+ auto_kind: string | null;
1818
2077
  has_preprocessor: boolean | null;
1819
2078
  };
1820
- export type ScriptLang = 'python3' | 'deno' | 'go' | 'bash' | 'powershell' | 'postgresql' | 'mysql' | 'bigquery' | 'snowflake' | 'mssql' | 'oracledb' | 'graphql' | 'nativets' | 'bun' | 'php' | 'rust' | 'ansible' | 'csharp' | 'nu' | 'java' | 'ruby' | 'duckdb' | 'bunnative';
2079
+ export type ScriptLang = 'python3' | 'deno' | 'go' | 'bash' | 'powershell' | 'postgresql' | 'mysql' | 'bigquery' | 'snowflake' | 'mssql' | 'oracledb' | 'graphql' | 'nativets' | 'bun' | 'php' | 'rust' | 'ansible' | 'csharp' | 'nu' | 'java' | 'ruby' | 'rlang' | 'duckdb' | 'bunnative';
2080
+ /**
2081
+ * An additional module file associated with a script
2082
+ */
2083
+ export type ScriptModule = {
2084
+ /**
2085
+ * The source code content of this module
2086
+ */
2087
+ content: string;
2088
+ language: ScriptLang;
2089
+ /**
2090
+ * Lock file content for this module's dependencies
2091
+ */
2092
+ lock?: string | null;
2093
+ };
1821
2094
  export type Preview = {
1822
2095
  /**
1823
2096
  * The code to run
@@ -1838,6 +2111,12 @@ export type Preview = {
1838
2111
  dedicated_worker?: boolean;
1839
2112
  lock?: string;
1840
2113
  flow_path?: string;
2114
+ /**
2115
+ * Additional script modules keyed by relative file path
2116
+ */
2117
+ modules?: {
2118
+ [key: string]: ScriptModule;
2119
+ } | null;
1841
2120
  };
1842
2121
  export type PreviewInline = {
1843
2122
  /**
@@ -1876,6 +2155,7 @@ export type CreateResource = {
1876
2155
  * The resource_type associated with the resource
1877
2156
  */
1878
2157
  resource_type: string;
2158
+ labels?: Array<(string)>;
1879
2159
  };
1880
2160
  export type EditResource = {
1881
2161
  /**
@@ -1891,6 +2171,7 @@ export type EditResource = {
1891
2171
  * The new resource_type to be associated with the resource
1892
2172
  */
1893
2173
  resource_type?: string;
2174
+ labels?: Array<(string)>;
1894
2175
  };
1895
2176
  export type Resource = {
1896
2177
  workspace_id?: string;
@@ -1904,6 +2185,7 @@ export type Resource = {
1904
2185
  };
1905
2186
  created_by?: string;
1906
2187
  edited_at?: string;
2188
+ labels?: Array<(string)>;
1907
2189
  };
1908
2190
  export type ListableResource = {
1909
2191
  workspace_id?: string;
@@ -1922,6 +2204,7 @@ export type ListableResource = {
1922
2204
  account?: number;
1923
2205
  created_by?: string;
1924
2206
  edited_at?: string;
2207
+ labels?: Array<(string)>;
1925
2208
  };
1926
2209
  export type ResourceType = {
1927
2210
  workspace_id?: string;
@@ -1982,6 +2265,10 @@ export type Schedule = {
1982
2265
  * Email of the user who owns this schedule, used for permissioned_as
1983
2266
  */
1984
2267
  email: string;
2268
+ /**
2269
+ * The user or group this schedule runs as (e.g., 'u/admin' or 'g/mygroup')
2270
+ */
2271
+ permissioned_as: string;
1985
2272
  /**
1986
2273
  * Last error message if the schedule failed to trigger
1987
2274
  */
@@ -2046,6 +2333,7 @@ export type Schedule = {
2046
2333
  * Path to a script that validates scheduled datetimes. Receives scheduled_for datetime and returns boolean to skip (true) or run (false)
2047
2334
  */
2048
2335
  dynamic_skip?: string | null;
2336
+ labels?: Array<(string)>;
2049
2337
  };
2050
2338
  export type ScheduleWJobs = Schedule & {
2051
2339
  jobs?: Array<{
@@ -2142,13 +2430,14 @@ export type NewSchedule = {
2142
2430
  */
2143
2431
  dynamic_skip?: string | null;
2144
2432
  /**
2145
- * Email of the user who the scheduled jobs run as. Used during deployment to preserve the original schedule owner.
2433
+ * The user or group this schedule runs as. Used during deployment to preserve the original schedule owner.
2146
2434
  */
2147
- email?: string;
2435
+ permissioned_as?: string;
2148
2436
  /**
2149
- * When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
2437
+ * When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
2150
2438
  */
2151
- preserve_email?: boolean;
2439
+ preserve_permissioned_as?: boolean;
2440
+ labels?: Array<(string)>;
2152
2441
  };
2153
2442
  export type EditSchedule = {
2154
2443
  /**
@@ -2221,18 +2510,19 @@ export type EditSchedule = {
2221
2510
  */
2222
2511
  dynamic_skip?: string | null;
2223
2512
  /**
2224
- * Email of the user who the scheduled jobs run as. Used during deployment to preserve the original schedule owner.
2513
+ * 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.
2225
2514
  */
2226
- email?: string;
2515
+ permissioned_as?: string | null;
2227
2516
  /**
2228
- * When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
2517
+ * If true and user is admin/wm_deployers, preserve the provided permissioned_as instead of using the deploying user's identity
2229
2518
  */
2230
- preserve_email?: boolean;
2519
+ preserve_permissioned_as?: boolean | null;
2520
+ labels?: Array<(string)>;
2231
2521
  };
2232
2522
  /**
2233
2523
  * job trigger kind (schedule, http, websocket...)
2234
2524
  */
2235
- export type JobTriggerKind = 'webhook' | 'default_email' | 'email' | 'schedule' | 'http' | 'websocket' | 'postgres' | 'kafka' | 'nats' | 'mqtt' | 'sqs' | 'gcp' | 'google';
2525
+ export type JobTriggerKind = 'webhook' | 'default_email' | 'email' | 'schedule' | 'http' | 'websocket' | 'postgres' | 'kafka' | 'nats' | 'mqtt' | 'sqs' | 'gcp' | 'google' | 'github';
2236
2526
  /**
2237
2527
  * job trigger mode
2238
2528
  */
@@ -2247,9 +2537,9 @@ export type TriggerExtraProperty = {
2247
2537
  */
2248
2538
  script_path: string;
2249
2539
  /**
2250
- * Email of the user who owns this trigger, used for permissioned_as
2540
+ * The user or group this trigger runs as (permissioned_as)
2251
2541
  */
2252
- email: string;
2542
+ permissioned_as: string;
2253
2543
  /**
2254
2544
  * Additional permissions for this trigger
2255
2545
  */
@@ -2276,6 +2566,7 @@ export type TriggerExtraProperty = {
2276
2566
  * Trigger mode (enabled/disabled)
2277
2567
  */
2278
2568
  mode: TriggerMode;
2569
+ labels?: Array<(string)>;
2279
2570
  };
2280
2571
  export type AuthenticationMethod = 'none' | 'windmill' | 'api_key' | 'basic_http' | 'custom_script' | 'signature';
2281
2572
  export type RunnableKind = 'script' | 'flow';
@@ -2483,13 +2774,14 @@ export type NewHttpTrigger = {
2483
2774
  */
2484
2775
  retry?: Retry;
2485
2776
  /**
2486
- * Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
2777
+ * The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
2487
2778
  */
2488
- email?: string;
2779
+ permissioned_as?: string;
2489
2780
  /**
2490
- * When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
2781
+ * When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
2491
2782
  */
2492
- preserve_email?: boolean;
2783
+ preserve_permissioned_as?: boolean;
2784
+ labels?: Array<(string)>;
2493
2785
  };
2494
2786
  export type EditHttpTrigger = {
2495
2787
  /**
@@ -2582,13 +2874,14 @@ export type EditHttpTrigger = {
2582
2874
  */
2583
2875
  retry?: Retry;
2584
2876
  /**
2585
- * Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
2877
+ * The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
2586
2878
  */
2587
- email?: string;
2879
+ permissioned_as?: string;
2588
2880
  /**
2589
- * When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
2881
+ * When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
2590
2882
  */
2591
- preserve_email?: boolean;
2883
+ preserve_permissioned_as?: boolean;
2884
+ labels?: Array<(string)>;
2592
2885
  };
2593
2886
  export type TriggersCount = {
2594
2887
  primary_schedule?: {
@@ -2608,6 +2901,21 @@ export type TriggersCount = {
2608
2901
  sqs_count?: number;
2609
2902
  nextcloud_count?: number;
2610
2903
  google_count?: number;
2904
+ github_count?: number;
2905
+ };
2906
+ export type WebsocketHeartbeat = {
2907
+ /**
2908
+ * Interval in seconds between heartbeat messages
2909
+ */
2910
+ interval_secs: number;
2911
+ /**
2912
+ * Message to send as heartbeat. Use {{state}} as a placeholder for a value extracted from incoming messages (see state_field).
2913
+ */
2914
+ message: string;
2915
+ /**
2916
+ * Optional. Top-level JSON field to extract from incoming messages. The extracted value replaces {{state}} in the heartbeat message.
2917
+ */
2918
+ state_field?: string;
2611
2919
  };
2612
2920
  export type WebsocketTrigger = TriggerExtraProperty & {
2613
2921
  /**
@@ -2633,6 +2941,10 @@ export type WebsocketTrigger = TriggerExtraProperty & {
2633
2941
  key: string;
2634
2942
  value: unknown;
2635
2943
  }>;
2944
+ /**
2945
+ * Logic to apply when evaluating filters. 'and' requires all filters to match, 'or' requires any filter to match.
2946
+ */
2947
+ filter_logic?: 'and' | 'or';
2636
2948
  /**
2637
2949
  * Messages to send immediately after connecting (can be raw strings or computed by runnables)
2638
2950
  */
@@ -2649,6 +2961,10 @@ export type WebsocketTrigger = TriggerExtraProperty & {
2649
2961
  * If true, error results are sent back through the WebSocket
2650
2962
  */
2651
2963
  can_return_error_result: boolean;
2964
+ /**
2965
+ * Optional periodic heartbeat message configuration
2966
+ */
2967
+ heartbeat?: WebsocketHeartbeat | null;
2652
2968
  /**
2653
2969
  * Path to a script or flow to run when the triggered job fails
2654
2970
  */
@@ -2687,6 +3003,10 @@ export type NewWebsocketTrigger = {
2687
3003
  key: string;
2688
3004
  value: unknown;
2689
3005
  }>;
3006
+ /**
3007
+ * Logic to apply when evaluating filters. 'and' requires all filters to match, 'or' requires any filter to match.
3008
+ */
3009
+ filter_logic?: 'and' | 'or';
2690
3010
  /**
2691
3011
  * Messages to send immediately after connecting (can be raw strings or computed by runnables)
2692
3012
  */
@@ -2703,6 +3023,10 @@ export type NewWebsocketTrigger = {
2703
3023
  * If true, error results are sent back through the WebSocket
2704
3024
  */
2705
3025
  can_return_error_result: boolean;
3026
+ /**
3027
+ * Optional periodic heartbeat message configuration
3028
+ */
3029
+ heartbeat?: WebsocketHeartbeat | null;
2706
3030
  /**
2707
3031
  * Path to a script or flow to run when the triggered job fails
2708
3032
  */
@@ -2716,13 +3040,14 @@ export type NewWebsocketTrigger = {
2716
3040
  */
2717
3041
  retry?: Retry;
2718
3042
  /**
2719
- * Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
3043
+ * The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
2720
3044
  */
2721
- email?: string;
3045
+ permissioned_as?: string;
2722
3046
  /**
2723
- * When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
3047
+ * When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
2724
3048
  */
2725
- preserve_email?: boolean;
3049
+ preserve_permissioned_as?: boolean;
3050
+ labels?: Array<(string)>;
2726
3051
  };
2727
3052
  export type EditWebsocketTrigger = {
2728
3053
  /**
@@ -2748,6 +3073,10 @@ export type EditWebsocketTrigger = {
2748
3073
  key: string;
2749
3074
  value: unknown;
2750
3075
  }>;
3076
+ /**
3077
+ * Logic to apply when evaluating filters. 'and' requires all filters to match, 'or' requires any filter to match.
3078
+ */
3079
+ filter_logic?: 'and' | 'or';
2751
3080
  /**
2752
3081
  * Messages to send immediately after connecting (can be raw strings or computed by runnables)
2753
3082
  */
@@ -2764,6 +3093,10 @@ export type EditWebsocketTrigger = {
2764
3093
  * If true, error results are sent back through the WebSocket
2765
3094
  */
2766
3095
  can_return_error_result: boolean;
3096
+ /**
3097
+ * Optional periodic heartbeat message configuration
3098
+ */
3099
+ heartbeat?: WebsocketHeartbeat | null;
2767
3100
  /**
2768
3101
  * Path to a script or flow to run when the triggered job fails
2769
3102
  */
@@ -2777,13 +3110,14 @@ export type EditWebsocketTrigger = {
2777
3110
  */
2778
3111
  retry?: Retry;
2779
3112
  /**
2780
- * Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
3113
+ * The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
2781
3114
  */
2782
- email?: string;
3115
+ permissioned_as?: string;
2783
3116
  /**
2784
- * When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
3117
+ * When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
2785
3118
  */
2786
- preserve_email?: boolean;
3119
+ preserve_permissioned_as?: boolean;
3120
+ labels?: Array<(string)>;
2787
3121
  };
2788
3122
  export type WebsocketTriggerInitialMessage = {
2789
3123
  raw_message: string;
@@ -2909,13 +3243,14 @@ export type NewMqttTrigger = {
2909
3243
  */
2910
3244
  retry?: Retry;
2911
3245
  /**
2912
- * Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
3246
+ * The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
2913
3247
  */
2914
- email?: string;
3248
+ permissioned_as?: string;
2915
3249
  /**
2916
- * When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
3250
+ * When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
2917
3251
  */
2918
- preserve_email?: boolean;
3252
+ preserve_permissioned_as?: boolean;
3253
+ labels?: Array<(string)>;
2919
3254
  };
2920
3255
  export type EditMqttTrigger = {
2921
3256
  /**
@@ -2968,13 +3303,14 @@ export type EditMqttTrigger = {
2968
3303
  */
2969
3304
  retry?: Retry;
2970
3305
  /**
2971
- * Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
3306
+ * The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
2972
3307
  */
2973
- email?: string;
3308
+ permissioned_as?: string;
2974
3309
  /**
2975
- * When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
3310
+ * When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
2976
3311
  */
2977
- preserve_email?: boolean;
3312
+ preserve_permissioned_as?: boolean;
3313
+ labels?: Array<(string)>;
2978
3314
  };
2979
3315
  /**
2980
3316
  * Delivery mode for messages. 'push' for HTTP push delivery where messages are sent to a webhook endpoint, 'pull' for polling where the trigger actively fetches messages.
@@ -3098,13 +3434,14 @@ export type GcpTriggerData = {
3098
3434
  */
3099
3435
  retry?: Retry;
3100
3436
  /**
3101
- * Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
3437
+ * The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
3102
3438
  */
3103
- email?: string;
3439
+ permissioned_as?: string;
3104
3440
  /**
3105
- * When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
3441
+ * When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
3106
3442
  */
3107
- preserve_email?: boolean;
3443
+ preserve_permissioned_as?: boolean;
3444
+ labels?: Array<(string)>;
3108
3445
  };
3109
3446
  export type GetAllTopicSubscription = {
3110
3447
  topic_id: string;
@@ -3220,13 +3557,14 @@ export type NewSqsTrigger = {
3220
3557
  */
3221
3558
  retry?: Retry;
3222
3559
  /**
3223
- * Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
3560
+ * The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
3224
3561
  */
3225
- email?: string;
3562
+ permissioned_as?: string;
3226
3563
  /**
3227
- * When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
3564
+ * When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
3228
3565
  */
3229
- preserve_email?: boolean;
3566
+ preserve_permissioned_as?: boolean;
3567
+ labels?: Array<(string)>;
3230
3568
  };
3231
3569
  export type EditSqsTrigger = {
3232
3570
  /**
@@ -3271,13 +3609,14 @@ export type EditSqsTrigger = {
3271
3609
  */
3272
3610
  retry?: Retry;
3273
3611
  /**
3274
- * Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
3612
+ * The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
3275
3613
  */
3276
- email?: string;
3614
+ permissioned_as?: string;
3277
3615
  /**
3278
- * When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
3616
+ * When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
3279
3617
  */
3280
- preserve_email?: boolean;
3618
+ preserve_permissioned_as?: boolean;
3619
+ labels?: Array<(string)>;
3281
3620
  };
3282
3621
  export type Slot = {
3283
3622
  name?: string;
@@ -3386,13 +3725,14 @@ export type NewPostgresTrigger = {
3386
3725
  */
3387
3726
  retry?: Retry;
3388
3727
  /**
3389
- * Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
3728
+ * The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
3390
3729
  */
3391
- email?: string;
3730
+ permissioned_as?: string;
3392
3731
  /**
3393
- * When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
3732
+ * When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
3394
3733
  */
3395
- preserve_email?: boolean;
3734
+ preserve_permissioned_as?: boolean;
3735
+ labels?: Array<(string)>;
3396
3736
  };
3397
3737
  export type EditPostgresTrigger = {
3398
3738
  /**
@@ -3437,13 +3777,14 @@ export type EditPostgresTrigger = {
3437
3777
  */
3438
3778
  retry?: Retry;
3439
3779
  /**
3440
- * Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
3780
+ * The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
3441
3781
  */
3442
- email?: string;
3782
+ permissioned_as?: string;
3443
3783
  /**
3444
- * When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
3784
+ * When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
3445
3785
  */
3446
- preserve_email?: boolean;
3786
+ preserve_permissioned_as?: boolean;
3787
+ labels?: Array<(string)>;
3447
3788
  };
3448
3789
  export type KafkaTrigger = TriggerExtraProperty & {
3449
3790
  /**
@@ -3462,6 +3803,10 @@ export type KafkaTrigger = TriggerExtraProperty & {
3462
3803
  key: string;
3463
3804
  value: unknown;
3464
3805
  }>;
3806
+ /**
3807
+ * Logic to apply when evaluating filters. 'and' requires all filters to match, 'or' requires any filter to match.
3808
+ */
3809
+ filter_logic?: 'and' | 'or';
3465
3810
  /**
3466
3811
  * Initial offset behavior when consumer group has no committed offset. 'latest' starts from new messages only, 'earliest' starts from the beginning.
3467
3812
  */
@@ -3524,6 +3869,10 @@ export type NewKafkaTrigger = {
3524
3869
  key: string;
3525
3870
  value: unknown;
3526
3871
  }>;
3872
+ /**
3873
+ * Logic to apply when evaluating filters. 'and' requires all filters to match, 'or' requires any filter to match.
3874
+ */
3875
+ filter_logic?: 'and' | 'or';
3527
3876
  /**
3528
3877
  * Initial offset behavior when consumer group has no committed offset.
3529
3878
  */
@@ -3546,13 +3895,14 @@ export type NewKafkaTrigger = {
3546
3895
  */
3547
3896
  retry?: Retry;
3548
3897
  /**
3549
- * Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
3898
+ * The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
3550
3899
  */
3551
- email?: string;
3900
+ permissioned_as?: string;
3552
3901
  /**
3553
- * When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
3902
+ * When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
3554
3903
  */
3555
- preserve_email?: boolean;
3904
+ preserve_permissioned_as?: boolean;
3905
+ labels?: Array<(string)>;
3556
3906
  };
3557
3907
  export type EditKafkaTrigger = {
3558
3908
  /**
@@ -3571,6 +3921,10 @@ export type EditKafkaTrigger = {
3571
3921
  key: string;
3572
3922
  value: unknown;
3573
3923
  }>;
3924
+ /**
3925
+ * Logic to apply when evaluating filters. 'and' requires all filters to match, 'or' requires any filter to match.
3926
+ */
3927
+ filter_logic?: 'and' | 'or';
3574
3928
  /**
3575
3929
  * Initial offset behavior when consumer group has no committed offset.
3576
3930
  */
@@ -3604,13 +3958,14 @@ export type EditKafkaTrigger = {
3604
3958
  */
3605
3959
  retry?: Retry;
3606
3960
  /**
3607
- * Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
3961
+ * The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
3608
3962
  */
3609
- email?: string;
3963
+ permissioned_as?: string;
3610
3964
  /**
3611
- * When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
3965
+ * When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
3612
3966
  */
3613
- preserve_email?: boolean;
3967
+ preserve_permissioned_as?: boolean;
3968
+ labels?: Array<(string)>;
3614
3969
  };
3615
3970
  export type NatsTrigger = TriggerExtraProperty & {
3616
3971
  /**
@@ -3705,13 +4060,14 @@ export type NewNatsTrigger = {
3705
4060
  */
3706
4061
  retry?: Retry;
3707
4062
  /**
3708
- * Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
4063
+ * The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
3709
4064
  */
3710
- email?: string;
4065
+ permissioned_as?: string;
3711
4066
  /**
3712
- * When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
4067
+ * When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
3713
4068
  */
3714
- preserve_email?: boolean;
4069
+ preserve_permissioned_as?: boolean;
4070
+ labels?: Array<(string)>;
3715
4071
  };
3716
4072
  export type EditNatsTrigger = {
3717
4073
  /**
@@ -3759,13 +4115,14 @@ export type EditNatsTrigger = {
3759
4115
  */
3760
4116
  retry?: Retry;
3761
4117
  /**
3762
- * Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
4118
+ * The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
3763
4119
  */
3764
- email?: string;
4120
+ permissioned_as?: string;
3765
4121
  /**
3766
- * When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
4122
+ * When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
3767
4123
  */
3768
- preserve_email?: boolean;
4124
+ preserve_permissioned_as?: boolean;
4125
+ labels?: Array<(string)>;
3769
4126
  };
3770
4127
  export type EmailTrigger = TriggerExtraProperty & {
3771
4128
  local_part: string;
@@ -3785,13 +4142,14 @@ export type NewEmailTrigger = {
3785
4142
  retry?: Retry;
3786
4143
  mode?: TriggerMode;
3787
4144
  /**
3788
- * Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
4145
+ * The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
3789
4146
  */
3790
- email?: string;
4147
+ permissioned_as?: string;
3791
4148
  /**
3792
- * When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
4149
+ * When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
3793
4150
  */
3794
- preserve_email?: boolean;
4151
+ preserve_permissioned_as?: boolean;
4152
+ labels?: Array<(string)>;
3795
4153
  };
3796
4154
  export type EditEmailTrigger = {
3797
4155
  path: string;
@@ -3803,13 +4161,14 @@ export type EditEmailTrigger = {
3803
4161
  error_handler_args?: ScriptArgs;
3804
4162
  retry?: Retry;
3805
4163
  /**
3806
- * Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
4164
+ * The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
3807
4165
  */
3808
- email?: string;
4166
+ permissioned_as?: string;
3809
4167
  /**
3810
- * When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
4168
+ * When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
3811
4169
  */
3812
- preserve_email?: boolean;
4170
+ preserve_permissioned_as?: boolean;
4171
+ labels?: Array<(string)>;
3813
4172
  };
3814
4173
  export type Group = {
3815
4174
  name: string;
@@ -3823,11 +4182,13 @@ export type InstanceGroup = {
3823
4182
  name: string;
3824
4183
  summary?: string;
3825
4184
  emails?: Array<(string)>;
4185
+ instance_role?: 'superadmin' | 'devops' | null;
3826
4186
  };
3827
4187
  export type InstanceGroupWithWorkspaces = {
3828
4188
  name: string;
3829
4189
  summary?: string;
3830
4190
  emails?: Array<(string)>;
4191
+ instance_role?: 'superadmin' | 'devops' | null;
3831
4192
  workspaces?: Array<WorkspaceInfo>;
3832
4193
  };
3833
4194
  export type WorkspaceInfo = {
@@ -3844,7 +4205,24 @@ export type Folder = {
3844
4205
  summary?: string;
3845
4206
  created_by?: string;
3846
4207
  edited_at?: string;
4208
+ default_permissioned_as?: FolderDefaultPermissionedAs;
3847
4209
  };
4210
+ /**
4211
+ * Ordered list of rules applied at create-time when admins or `wm_deployers` members deploy items in this folder. The first rule whose `path_glob` matches the item path (relative to the folder root) wins, and its `permissioned_as` is used as the default.
4212
+ *
4213
+ */
4214
+ export type FolderDefaultPermissionedAs = Array<{
4215
+ /**
4216
+ * Glob pattern evaluated against the item path *relative* to the folder root (e.g. "jobs**" matches every item whose full path is `f/<folder>/jobs/...`). Supports `*`, `**`, `?`, `[abc]`, `{a,b}`.
4217
+ *
4218
+ */
4219
+ path_glob: string;
4220
+ /**
4221
+ * Target identity the matched item should be permissioned as. Must be `u/<username>`, `g/<groupname>`, or an email that exists in this workspace.
4222
+ *
4223
+ */
4224
+ permissioned_as: string;
4225
+ }>;
3848
4226
  export type WorkerPing = {
3849
4227
  worker: string;
3850
4228
  worker_instance: string;
@@ -3891,6 +4269,16 @@ export type CreateWorkspaceFork = {
3891
4269
  id: string;
3892
4270
  name: string;
3893
4271
  color?: string;
4272
+ forked_datatables?: Array<{
4273
+ /**
4274
+ * Datatable name
4275
+ */
4276
+ name: string;
4277
+ /**
4278
+ * New database name for the fork
4279
+ */
4280
+ new_dbname: string;
4281
+ }>;
3894
4282
  };
3895
4283
  export type Workspace = {
3896
4284
  id: string;
@@ -3934,6 +4322,8 @@ export type GlobalUserInfo = {
3934
4322
  username?: string;
3935
4323
  operator_only?: boolean;
3936
4324
  first_time_user: boolean;
4325
+ role_source: 'manual' | 'instance_group';
4326
+ disabled: boolean;
3937
4327
  };
3938
4328
  export type Flow = OpenFlow & FlowMetadata & {
3939
4329
  lock_error_logs?: string;
@@ -3958,6 +4348,7 @@ export type FlowMetadata = {
3958
4348
  timeout?: number;
3959
4349
  visible_to_runner_only?: boolean;
3960
4350
  on_behalf_of_email?: string;
4351
+ labels?: Array<(string)>;
3961
4352
  };
3962
4353
  export type OpenFlowWPath = OpenFlow & {
3963
4354
  path: string;
@@ -3972,6 +4363,7 @@ export type OpenFlowWPath = OpenFlow & {
3972
4363
  * 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.
3973
4364
  */
3974
4365
  preserve_on_behalf_of?: boolean;
4366
+ labels?: Array<(string)>;
3975
4367
  };
3976
4368
  export type FlowPreview = {
3977
4369
  value: FlowValue;
@@ -4021,6 +4413,7 @@ export type ListableApp = {
4021
4413
  edited_at: string;
4022
4414
  execution_mode: 'viewer' | 'publisher' | 'anonymous';
4023
4415
  raw_app?: boolean;
4416
+ labels?: Array<(string)>;
4024
4417
  };
4025
4418
  export type ScopeDefinition = {
4026
4419
  value: string;
@@ -4043,6 +4436,7 @@ export type ListableRawApp = {
4043
4436
  starred?: boolean;
4044
4437
  version: number;
4045
4438
  edited_at: string;
4439
+ labels?: Array<(string)>;
4046
4440
  };
4047
4441
  export type AppWithLastVersion = {
4048
4442
  id: number;
@@ -4061,6 +4455,7 @@ export type AppWithLastVersion = {
4061
4455
  custom_path?: string;
4062
4456
  raw_app: boolean;
4063
4457
  bundle_secret?: string;
4458
+ labels?: Array<(string)>;
4064
4459
  };
4065
4460
  export type AppWithLastVersionWDraft = AppWithLastVersion & {
4066
4461
  draft_only?: boolean;
@@ -4077,10 +4472,9 @@ export type FlowVersion = {
4077
4472
  };
4078
4473
  export type SlackToken = {
4079
4474
  access_token: string;
4080
- team_id: string;
4081
- team_name: string;
4082
- bot: {
4083
- bot_access_token?: string;
4475
+ team?: {
4476
+ id: string;
4477
+ name: string;
4084
4478
  };
4085
4479
  };
4086
4480
  export type TokenResponse = {
@@ -4133,12 +4527,23 @@ export type DataTableSettings = {
4133
4527
  resource_type: 'postgresql' | 'instance';
4134
4528
  resource_path?: string;
4135
4529
  };
4136
- };
4137
- };
4138
- };
4139
- export type DataTableSchema = {
4140
- datatable_name: string;
4141
- /**
4530
+ /**
4531
+ * Fork origin info with schema snapshot
4532
+ */
4533
+ forked_from?: {
4534
+ /**
4535
+ * Schema snapshot at fork time
4536
+ */
4537
+ schema?: {
4538
+ [key: string]: unknown;
4539
+ };
4540
+ };
4541
+ };
4542
+ };
4543
+ };
4544
+ export type DataTableSchema = {
4545
+ datatable_name: string;
4546
+ /**
4142
4547
  * Hierarchical schema: schema_name -> table_name -> column_name -> compact_type (e.g. 'int4', 'text?', 'int4?=0')
4143
4548
  */
4144
4549
  schemas: {
@@ -4313,6 +4718,7 @@ export type ExportedInstanceGroup = {
4313
4718
  id?: string;
4314
4719
  scim_display_name?: string;
4315
4720
  external_id?: string;
4721
+ instance_role?: 'superadmin' | 'devops' | null;
4316
4722
  };
4317
4723
  export type JobSearchHit = {
4318
4724
  dancer?: string;
@@ -4436,7 +4842,7 @@ export type WorkspaceItemDiff = {
4436
4842
  /**
4437
4843
  * Type of the item
4438
4844
  */
4439
- kind: 'script' | 'flow' | 'app' | 'resource' | 'variable' | 'resource_type';
4845
+ kind: 'script' | 'flow' | 'app' | 'raw_app' | 'resource' | 'variable' | 'resource_type';
4440
4846
  /**
4441
4847
  * Path of the item in the workspace
4442
4848
  */
@@ -4625,7 +5031,7 @@ export type ProtectionRuleset = {
4625
5031
  * Configuration of protection restrictions
4626
5032
  */
4627
5033
  export type ProtectionRules = Array<ProtectionRuleKind>;
4628
- export type ProtectionRuleKind = 'DisableDirectDeployment' | 'DisableWorkspaceForking';
5034
+ export type ProtectionRuleKind = 'DisableDirectDeployment' | 'DisableWorkspaceForking' | 'RestrictDeployToDeployers';
4629
5035
  /**
4630
5036
  * Groups that can bypass this ruleset
4631
5037
  */
@@ -4634,7 +5040,42 @@ export type RuleBypasserGroups = Array<(string)>;
4634
5040
  * Users that can bypass this ruleset
4635
5041
  */
4636
5042
  export type RuleBypasserUsers = Array<(string)>;
4637
- export type NativeServiceName = 'nextcloud' | 'google';
5043
+ export type DeploymentRequestEligibleDeployer = {
5044
+ username: string;
5045
+ email: string;
5046
+ is_admin: boolean;
5047
+ };
5048
+ export type DeploymentRequestAssignee = {
5049
+ username: string;
5050
+ email: string;
5051
+ };
5052
+ export type DeploymentRequestComment = {
5053
+ id: number;
5054
+ parent_id?: number | null;
5055
+ author: string;
5056
+ author_email: string;
5057
+ body: string;
5058
+ anchor_kind?: string | null;
5059
+ anchor_path?: string | null;
5060
+ obsolete: boolean;
5061
+ created_at: string;
5062
+ };
5063
+ export type DeploymentRequest = {
5064
+ id: number;
5065
+ source_workspace_id: string;
5066
+ fork_workspace_id: string;
5067
+ requested_by: string;
5068
+ requested_by_email: string;
5069
+ requested_at: string;
5070
+ assignees: Array<DeploymentRequestAssignee>;
5071
+ comments: Array<DeploymentRequestComment>;
5072
+ };
5073
+ export type QuotaInfo = {
5074
+ used: number;
5075
+ limit: number;
5076
+ prunable: number;
5077
+ };
5078
+ export type NativeServiceName = 'nextcloud' | 'google' | 'github';
4638
5079
  /**
4639
5080
  * A native trigger stored in Windmill
4640
5081
  */
@@ -4666,6 +5107,10 @@ export type NativeTrigger = {
4666
5107
  * Error message if the trigger is in an error state
4667
5108
  */
4668
5109
  error?: string | null;
5110
+ /**
5111
+ * Short summary to be displayed when listed
5112
+ */
5113
+ summary?: string | null;
4669
5114
  };
4670
5115
  /**
4671
5116
  * Full trigger response containing both Windmill data and external service data
@@ -4698,6 +5143,10 @@ export type NativeTriggerWithExternal = {
4698
5143
  * Error message if the trigger is in an error state
4699
5144
  */
4700
5145
  error?: string | null;
5146
+ /**
5147
+ * Short summary to be displayed when listed
5148
+ */
5149
+ summary?: string | null;
4701
5150
  /**
4702
5151
  * Configuration data from the external service
4703
5152
  */
@@ -4760,6 +5209,10 @@ export type NativeTriggerData = {
4760
5209
  service_config: {
4761
5210
  [key: string]: unknown;
4762
5211
  };
5212
+ /**
5213
+ * Short summary to be displayed when listed
5214
+ */
5215
+ summary?: string | null;
4763
5216
  };
4764
5217
  /**
4765
5218
  * Response returned when a native trigger is created
@@ -4803,6 +5256,12 @@ export type SharedDriveEntry = {
4803
5256
  id: string;
4804
5257
  name: string;
4805
5258
  };
5259
+ export type GithubRepoEntry = {
5260
+ full_name: string;
5261
+ name: string;
5262
+ owner: string;
5263
+ private: boolean;
5264
+ };
4806
5265
  export type ParameterId = string;
4807
5266
  export type ParameterKey = string;
4808
5267
  export type ParameterWorkspaceId = string;
@@ -5093,6 +5552,7 @@ export type LoginData = {
5093
5552
  export type LoginResponse = string;
5094
5553
  export type LogoutResponse = string;
5095
5554
  export type IsSmtpConfiguredResponse = boolean;
5555
+ export type IsPasswordLoginDisabledResponse = boolean;
5096
5556
  export type RequestPasswordResetData = {
5097
5557
  /**
5098
5558
  * email to send password reset link to
@@ -5186,6 +5646,7 @@ export type GlobalUserUpdateData = {
5186
5646
  is_super_admin?: boolean;
5187
5647
  is_devops?: boolean;
5188
5648
  name?: string;
5649
+ disabled?: boolean;
5189
5650
  };
5190
5651
  };
5191
5652
  export type GlobalUserUpdateResponse = string;
@@ -5221,6 +5682,15 @@ export type GlobalUsersOverwriteData = {
5221
5682
  };
5222
5683
  export type GlobalUsersOverwriteResponse = string;
5223
5684
  export type GlobalUsersExportResponse = Array<ExportedUser>;
5685
+ export type ListExtJwtTokensData = {
5686
+ /**
5687
+ * only tokens used in the last 30 days
5688
+ */
5689
+ activeOnly?: boolean;
5690
+ page?: number;
5691
+ perPage?: number;
5692
+ };
5693
+ export type ListExtJwtTokensResponse = Array<ExternalJwtToken>;
5224
5694
  export type SubmitOnboardingDataData = {
5225
5695
  requestBody: {
5226
5696
  touch_point?: string;
@@ -5233,6 +5703,26 @@ export type DeleteUserData = {
5233
5703
  workspace: string;
5234
5704
  };
5235
5705
  export type DeleteUserResponse = string;
5706
+ export type OffboardPreviewData = {
5707
+ username: string;
5708
+ workspace: string;
5709
+ };
5710
+ export type OffboardPreviewResponse = OffboardPreview;
5711
+ export type OffboardWorkspaceUserData = {
5712
+ requestBody: OffboardRequest;
5713
+ username: string;
5714
+ workspace: string;
5715
+ };
5716
+ export type OffboardWorkspaceUserResponse = OffboardResponse;
5717
+ export type GlobalOffboardPreviewData = {
5718
+ email: string;
5719
+ };
5720
+ export type GlobalOffboardPreviewResponse = GlobalOffboardPreview;
5721
+ export type OffboardGlobalUserData = {
5722
+ email: string;
5723
+ requestBody: GlobalOffboardRequest;
5724
+ };
5725
+ export type OffboardGlobalUserResponse = OffboardResponse;
5236
5726
  export type ConvertUserToGroupData = {
5237
5727
  username: string;
5238
5728
  workspace: string;
@@ -5292,6 +5782,20 @@ export type DeclineInviteData = {
5292
5782
  };
5293
5783
  };
5294
5784
  export type DeclineInviteResponse = string;
5785
+ export type ImpersonateServiceAccountData = {
5786
+ requestBody: {
5787
+ username: string;
5788
+ };
5789
+ workspace: string;
5790
+ };
5791
+ export type ImpersonateServiceAccountResponse = string;
5792
+ export type ExitImpersonationData = {
5793
+ requestBody: {
5794
+ token: string;
5795
+ };
5796
+ workspace: string;
5797
+ };
5798
+ export type ExitImpersonationResponse = string;
5295
5799
  export type WhoisData = {
5296
5800
  username: string;
5297
5801
  workspace: string;
@@ -5417,6 +5921,22 @@ export type ImportInstallationData = {
5417
5921
  workspace: string;
5418
5922
  };
5419
5923
  export type ImportInstallationResponse = unknown;
5924
+ export type GhesInstallationCallbackData = {
5925
+ requestBody: {
5926
+ /**
5927
+ * The GitHub App installation ID from GHES
5928
+ */
5929
+ installation_id: number;
5930
+ };
5931
+ workspace: string;
5932
+ };
5933
+ export type GhesInstallationCallbackResponse = unknown;
5934
+ export type GetGhesConfigResponse = {
5935
+ base_url: string;
5936
+ app_slug: string;
5937
+ client_id: string;
5938
+ app_owner?: string | null;
5939
+ };
5420
5940
  export type ListWorkspacesResponse = Array<Workspace>;
5421
5941
  export type IsDomainAllowedResponse = boolean;
5422
5942
  export type ListUserWorkspacesResponse = UserWorkspaceList;
@@ -5512,6 +6032,13 @@ export type AddUserData = {
5512
6032
  workspace: string;
5513
6033
  };
5514
6034
  export type AddUserResponse = string;
6035
+ export type CreateServiceAccountData = {
6036
+ requestBody: {
6037
+ username: string;
6038
+ };
6039
+ workspace: string;
6040
+ };
6041
+ export type CreateServiceAccountResponse = string;
5515
6042
  export type DeleteInviteData = {
5516
6043
  /**
5517
6044
  * WorkspaceInvite
@@ -5683,6 +6210,14 @@ export type GetDependentsData = {
5683
6210
  workspace: string;
5684
6211
  };
5685
6212
  export type GetDependentsResponse = Array<DependencyDependent>;
6213
+ export type GetImportsData = {
6214
+ /**
6215
+ * The script path to get imports for
6216
+ */
6217
+ importerPath: string;
6218
+ workspace: string;
6219
+ };
6220
+ export type GetImportsResponse = Array<(string)>;
5686
6221
  export type GetDependentsAmountsData = {
5687
6222
  /**
5688
6223
  * List of imported paths to get dependents counts for
@@ -5871,7 +6406,20 @@ export type EditCopilotConfigData = {
5871
6406
  requestBody: AIConfig;
5872
6407
  workspace: string;
5873
6408
  };
5874
- export type EditCopilotConfigResponse = string;
6409
+ export type EditCopilotConfigResponse = {
6410
+ effective_ai_config: AIConfig;
6411
+ has_instance_ai_config: boolean;
6412
+ uses_instance_ai_config: boolean;
6413
+ instance_ai_summary?: InstanceAISummary;
6414
+ };
6415
+ export type GetCopilotSettingsStateData = {
6416
+ workspace: string;
6417
+ };
6418
+ export type GetCopilotSettingsStateResponse = {
6419
+ has_instance_ai_config: boolean;
6420
+ uses_instance_ai_config: boolean;
6421
+ instance_ai_summary?: InstanceAISummary;
6422
+ };
5875
6423
  export type GetCopilotInfoData = {
5876
6424
  workspace: string;
5877
6425
  };
@@ -5909,7 +6457,11 @@ export type ListDucklakesResponse = Array<(string)>;
5909
6457
  export type ListDataTablesData = {
5910
6458
  workspace: string;
5911
6459
  };
5912
- export type ListDataTablesResponse = Array<(string)>;
6460
+ export type ListDataTablesResponse = Array<{
6461
+ name: string;
6462
+ resource_type: 'postgres' | 'instance';
6463
+ resource_path: string;
6464
+ }>;
5913
6465
  export type ListDataTableSchemasData = {
5914
6466
  workspace: string;
5915
6467
  };
@@ -5934,6 +6486,109 @@ export type EditDataTableConfigData = {
5934
6486
  workspace: string;
5935
6487
  };
5936
6488
  export type EditDataTableConfigResponse = unknown;
6489
+ export type CreatePgDatabaseData = {
6490
+ /**
6491
+ * Create pg database request
6492
+ */
6493
+ requestBody: {
6494
+ /**
6495
+ * Datatable source to determine connection info: 'datatable://name' or '$res:path'
6496
+ */
6497
+ source: string;
6498
+ /**
6499
+ * Name for the new database
6500
+ */
6501
+ target_dbname: string;
6502
+ };
6503
+ workspace: string;
6504
+ };
6505
+ export type CreatePgDatabaseResponse = string;
6506
+ export type DropForkedDatatableDatabasesData = {
6507
+ requestBody: {
6508
+ datatable_names: Array<(string)>;
6509
+ };
6510
+ workspace: string;
6511
+ };
6512
+ export type DropForkedDatatableDatabasesResponse = Array<(string)>;
6513
+ export type ImportPgDatabaseData = {
6514
+ /**
6515
+ * Import pg database request
6516
+ */
6517
+ requestBody: {
6518
+ /**
6519
+ * Source database: 'datatable://name' or '$res:path'
6520
+ */
6521
+ source: string;
6522
+ /**
6523
+ * Target database: 'datatable://name' or '$res:path'
6524
+ */
6525
+ target: string;
6526
+ /**
6527
+ * Override the target database name
6528
+ */
6529
+ target_dbname_override?: string;
6530
+ fork_behavior: 'schema_only' | 'schema_and_data' | 'keep_original';
6531
+ };
6532
+ workspace: string;
6533
+ };
6534
+ export type ImportPgDatabaseResponse = string;
6535
+ export type ExportPgSchemaData = {
6536
+ /**
6537
+ * Export pg schema request
6538
+ */
6539
+ requestBody: {
6540
+ /**
6541
+ * Source database: 'datatable://name' or '$res:path'
6542
+ */
6543
+ source: string;
6544
+ };
6545
+ workspace: string;
6546
+ };
6547
+ export type ExportPgSchemaResponse = string;
6548
+ export type GetDatatableFullSchemaData = {
6549
+ requestBody: {
6550
+ /**
6551
+ * Source datatable, e.g. 'datatable://main'
6552
+ */
6553
+ source: string;
6554
+ };
6555
+ workspace: string;
6556
+ };
6557
+ export type GetDatatableFullSchemaResponse = {
6558
+ [key: string]: {
6559
+ [key: string]: {
6560
+ name: string;
6561
+ columns: Array<{
6562
+ name: string;
6563
+ datatype: string;
6564
+ primary_key?: boolean;
6565
+ default_value?: string;
6566
+ nullable?: boolean;
6567
+ }>;
6568
+ foreign_keys: Array<{
6569
+ target_table?: string;
6570
+ columns: Array<{
6571
+ source_column?: string;
6572
+ target_column?: string;
6573
+ }>;
6574
+ on_delete: string;
6575
+ on_update: string;
6576
+ fk_constraint_name?: string;
6577
+ }>;
6578
+ pk_constraint_name?: string;
6579
+ };
6580
+ };
6581
+ };
6582
+ export type GetGitSyncEnabledData = {
6583
+ workspace: string;
6584
+ };
6585
+ export type GetGitSyncEnabledResponse = {
6586
+ enabled?: boolean;
6587
+ reason?: string | null;
6588
+ max_repos?: number | null;
6589
+ user_count?: number | null;
6590
+ max_users?: number | null;
6591
+ };
5937
6592
  export type EditWorkspaceGitSyncConfigData = {
5938
6593
  /**
5939
6594
  * Workspace Git sync settings
@@ -6036,6 +6691,7 @@ export type GetWorkspaceDefaultAppData = {
6036
6691
  };
6037
6692
  export type GetWorkspaceDefaultAppResponse = {
6038
6693
  default_app_path?: string;
6694
+ default_app_raw?: boolean;
6039
6695
  };
6040
6696
  export type GetWorkspaceUsageData = {
6041
6697
  workspace: string;
@@ -6056,6 +6712,7 @@ export type GetUsedTriggersResponse = {
6056
6712
  email_used: boolean;
6057
6713
  nextcloud_used: boolean;
6058
6714
  google_used: boolean;
6715
+ github_used: boolean;
6059
6716
  };
6060
6717
  export type ListProtectionRulesData = {
6061
6718
  workspace: string;
@@ -6101,6 +6758,74 @@ export type DeleteProtectionRuleData = {
6101
6758
  workspace: string;
6102
6759
  };
6103
6760
  export type DeleteProtectionRuleResponse = string;
6761
+ export type ListDeploymentRequestEligibleDeployersData = {
6762
+ workspace: string;
6763
+ };
6764
+ export type ListDeploymentRequestEligibleDeployersResponse = Array<DeploymentRequestEligibleDeployer>;
6765
+ export type GetOpenDeploymentRequestData = {
6766
+ workspace: string;
6767
+ };
6768
+ export type GetOpenDeploymentRequestResponse = (DeploymentRequest) | null;
6769
+ export type CreateDeploymentRequestData = {
6770
+ requestBody: {
6771
+ /**
6772
+ * Usernames in the parent workspace. Must be admin or wm_deployers.
6773
+ */
6774
+ assignees: Array<(string)>;
6775
+ };
6776
+ workspace: string;
6777
+ };
6778
+ export type CreateDeploymentRequestResponse = DeploymentRequest;
6779
+ export type CancelDeploymentRequestData = {
6780
+ id: number;
6781
+ workspace: string;
6782
+ };
6783
+ export type CancelDeploymentRequestResponse = string;
6784
+ export type CloseDeploymentRequestMergedData = {
6785
+ id: number;
6786
+ workspace: string;
6787
+ };
6788
+ export type CloseDeploymentRequestMergedResponse = string;
6789
+ export type CreateDeploymentRequestCommentData = {
6790
+ id: number;
6791
+ requestBody: {
6792
+ body: string;
6793
+ parent_id?: number | null;
6794
+ anchor_kind?: string | null;
6795
+ anchor_path?: string | null;
6796
+ };
6797
+ workspace: string;
6798
+ };
6799
+ export type CreateDeploymentRequestCommentResponse = DeploymentRequestComment;
6800
+ export type LogAiChatData = {
6801
+ requestBody: {
6802
+ session_id: string;
6803
+ provider: string;
6804
+ model: string;
6805
+ mode: string;
6806
+ };
6807
+ workspace: string;
6808
+ };
6809
+ export type LogAiChatResponse = void;
6810
+ export type GetCloudQuotasData = {
6811
+ workspace: string;
6812
+ };
6813
+ export type GetCloudQuotasResponse = {
6814
+ scripts: QuotaInfo;
6815
+ flows: QuotaInfo;
6816
+ apps: QuotaInfo;
6817
+ variables: QuotaInfo;
6818
+ resources: QuotaInfo;
6819
+ };
6820
+ export type PruneVersionsData = {
6821
+ requestBody: {
6822
+ resource_type: 'scripts' | 'flows' | 'apps';
6823
+ };
6824
+ workspace: string;
6825
+ };
6826
+ export type PruneVersionsResponse = {
6827
+ pruned: number;
6828
+ };
6104
6829
  export type RefreshCustomInstanceUserPwdResponse = {
6105
6830
  [key: string]: unknown;
6106
6831
  };
@@ -6117,6 +6842,13 @@ export type SetupCustomInstanceDbData = {
6117
6842
  };
6118
6843
  };
6119
6844
  export type SetupCustomInstanceDbResponse = CustomInstanceDb;
6845
+ export type DropCustomInstanceDbData = {
6846
+ /**
6847
+ * The name of the database to drop
6848
+ */
6849
+ name: string;
6850
+ };
6851
+ export type DropCustomInstanceDbResponse = string;
6120
6852
  export type GetGlobalData = {
6121
6853
  key: string;
6122
6854
  };
@@ -6131,6 +6863,7 @@ export type SetGlobalData = {
6131
6863
  };
6132
6864
  };
6133
6865
  export type SetGlobalResponse = string;
6866
+ export type GetRuffConfigResponse = string;
6134
6867
  export type GetLocalResponse = unknown;
6135
6868
  export type TestSmtpData = {
6136
6869
  /**
@@ -6202,8 +6935,48 @@ export type TestObjectStorageConfigData = {
6202
6935
  };
6203
6936
  };
6204
6937
  export type TestObjectStorageConfigResponse = string;
6938
+ export type GetObjectStorageUsageResponse = {
6939
+ running: boolean;
6940
+ started_at: string;
6941
+ finished_at?: string | null;
6942
+ current_prefix?: string | null;
6943
+ scanned_objects: number;
6944
+ folders: Array<{
6945
+ prefix: string;
6946
+ size: number;
6947
+ partial?: boolean;
6948
+ }>;
6949
+ error?: string | null;
6950
+ } | null;
6951
+ export type ComputeObjectStorageUsageResponse = string;
6952
+ export type RunLogCleanupResponse = string;
6953
+ export type GetLogCleanupStatusResponse = {
6954
+ running: boolean;
6955
+ started_at: string;
6956
+ finished_at?: string | null;
6957
+ phase: string;
6958
+ total_service: number;
6959
+ processed_service: number;
6960
+ total_jobs: number;
6961
+ processed_jobs: number;
6962
+ s3_deleted: number;
6963
+ orphans_scanned: number;
6964
+ orphans_deleted: number;
6965
+ errors: number;
6966
+ last_error?: string | null;
6967
+ } | null;
6205
6968
  export type SendStatsResponse = string;
6206
- export type GetStatsResponse = string;
6969
+ export type RestartWorkerGroupData = {
6970
+ /**
6971
+ * the name of the worker group to restart
6972
+ */
6973
+ workerGroup: string;
6974
+ };
6975
+ export type RestartWorkerGroupResponse = string;
6976
+ export type GetStatsResponse = {
6977
+ signature?: string;
6978
+ data?: string;
6979
+ };
6207
6980
  export type GetLatestKeyRenewalAttemptResponse = {
6208
6981
  result: string;
6209
6982
  attempted_at: string;
@@ -6264,6 +7037,39 @@ export type MigrateSecretsToDatabaseData = {
6264
7037
  requestBody: VaultSettings;
6265
7038
  };
6266
7039
  export type MigrateSecretsToDatabaseResponse = SecretMigrationReport;
7040
+ export type TestAzureKvBackendData = {
7041
+ /**
7042
+ * Azure Key Vault settings to test
7043
+ */
7044
+ requestBody: AzureKeyVaultSettings;
7045
+ };
7046
+ export type TestAzureKvBackendResponse = string;
7047
+ export type MigrateSecretsToAzureKvData = {
7048
+ /**
7049
+ * Azure Key Vault settings for migration target
7050
+ */
7051
+ requestBody: AzureKeyVaultSettings;
7052
+ };
7053
+ export type MigrateSecretsToAzureKvResponse = SecretMigrationReport;
7054
+ export type MigrateSecretsFromAzureKvData = {
7055
+ /**
7056
+ * Azure Key Vault settings for migration source
7057
+ */
7058
+ requestBody: AzureKeyVaultSettings;
7059
+ };
7060
+ export type MigrateSecretsFromAzureKvResponse = SecretMigrationReport;
7061
+ export type TestAwsSmBackendData = {
7062
+ requestBody: AwsSecretsManagerSettings;
7063
+ };
7064
+ export type TestAwsSmBackendResponse = string;
7065
+ export type MigrateSecretsToAwsSmData = {
7066
+ requestBody: AwsSecretsManagerSettings;
7067
+ };
7068
+ export type MigrateSecretsToAwsSmResponse = SecretMigrationReport;
7069
+ export type MigrateSecretsFromAwsSmData = {
7070
+ requestBody: AwsSecretsManagerSettings;
7071
+ };
7072
+ export type MigrateSecretsFromAwsSmResponse = SecretMigrationReport;
6267
7073
  export type GetSecondaryStorageNamesData = {
6268
7074
  /**
6269
7075
  * If true, include "_default_" in the list if primary workspace storage is set
@@ -6422,6 +7228,10 @@ export type ListVariableData = {
6422
7228
  * pattern match filter for description field (case-insensitive)
6423
7229
  */
6424
7230
  description?: string;
7231
+ /**
7232
+ * Filter by label
7233
+ */
7234
+ label?: string;
6425
7235
  /**
6426
7236
  * which page to return (start at 1, default 1)
6427
7237
  */
@@ -6509,6 +7319,10 @@ export type CreateAccountData = {
6509
7319
  * MCP server URL for MCP OAuth token refresh
6510
7320
  */
6511
7321
  mcp_server_url?: string;
7322
+ /**
7323
+ * OAuth scopes to use for token refresh. Overrides instance-level scopes.
7324
+ */
7325
+ scopes?: Array<(string)>;
6512
7326
  };
6513
7327
  workspace: string;
6514
7328
  };
@@ -6701,6 +7515,10 @@ export type ListResourceData = {
6701
7515
  * pattern match filter for description field (case-insensitive)
6702
7516
  */
6703
7517
  description?: string;
7518
+ /**
7519
+ * Filter by label
7520
+ */
7521
+ label?: string;
6704
7522
  /**
6705
7523
  * which page to return (start at 1, default 1)
6706
7524
  */
@@ -6937,6 +7755,10 @@ export type ListFlowsData = {
6937
7755
  *
6938
7756
  */
6939
7757
  includeDraftOnly?: boolean;
7758
+ /**
7759
+ * Filter by label
7760
+ */
7761
+ label?: string;
6940
7762
  /**
6941
7763
  * order by desc order (default true)
6942
7764
  */
@@ -7168,6 +7990,10 @@ export type ListAppsData = {
7168
7990
  *
7169
7991
  */
7170
7992
  includeDraftOnly?: boolean;
7993
+ /**
7994
+ * Filter by label
7995
+ */
7996
+ label?: string;
7171
7997
  /**
7172
7998
  * order by desc order (default true)
7173
7999
  */
@@ -7219,6 +8045,7 @@ export type CreateAppData = {
7219
8045
  * When true and the caller is a member of the 'wm_deployers' group, preserves the original on_behalf_of value in the policy instead of overwriting it.
7220
8046
  */
7221
8047
  preserve_on_behalf_of?: boolean;
8048
+ labels?: Array<(string)>;
7222
8049
  };
7223
8050
  workspace: string;
7224
8051
  };
@@ -7240,6 +8067,7 @@ export type CreateAppRawData = {
7240
8067
  * When true and the caller is a member of the 'wm_deployers' group, preserves the original on_behalf_of value in the policy instead of overwriting it.
7241
8068
  */
7242
8069
  preserve_on_behalf_of?: boolean;
8070
+ labels?: Array<(string)>;
7243
8071
  };
7244
8072
  js?: string;
7245
8073
  css?: string;
@@ -7342,6 +8170,7 @@ export type UpdateAppData = {
7342
8170
  * When true and the caller is a member of the 'wm_deployers' group, preserves the original on_behalf_of value in the policy instead of overwriting it.
7343
8171
  */
7344
8172
  preserve_on_behalf_of?: boolean;
8173
+ labels?: Array<(string)>;
7345
8174
  };
7346
8175
  workspace: string;
7347
8176
  };
@@ -7362,6 +8191,7 @@ export type UpdateAppRawData = {
7362
8191
  * When true and the caller is a member of the 'wm_deployers' group, preserves the original on_behalf_of value in the policy instead of overwriting it.
7363
8192
  */
7364
8193
  preserve_on_behalf_of?: boolean;
8194
+ labels?: Array<(string)>;
7365
8195
  };
7366
8196
  js?: string;
7367
8197
  css?: string;
@@ -7566,6 +8396,10 @@ export type ListScriptsData = {
7566
8396
  *
7567
8397
  */
7568
8398
  kinds?: string;
8399
+ /**
8400
+ * Filter by label
8401
+ */
8402
+ label?: string;
7569
8403
  /**
7570
8404
  * Filter to only include scripts written in the given languages.
7571
8405
  * Accepts multiple values as a comma-separated list.
@@ -7743,6 +8577,14 @@ export type UpdateScriptHistoryData = {
7743
8577
  workspace: string;
7744
8578
  };
7745
8579
  export type UpdateScriptHistoryResponse = string;
8580
+ export type ListDedicatedWithDepsData = {
8581
+ workspace: string;
8582
+ };
8583
+ export type ListDedicatedWithDepsResponse = Array<{
8584
+ path: string;
8585
+ language: 'python3' | 'deno' | 'go' | 'bash' | 'powershell' | 'postgresql' | 'mysql' | 'bigquery' | 'snowflake' | 'mssql' | 'graphql' | 'nativets' | 'bun' | 'bunnative' | 'php' | 'rust' | 'ansible' | 'csharp' | 'oracledb' | 'duckdb' | 'java' | 'ruby';
8586
+ workspace_dep_names: Array<(string)>;
8587
+ }>;
7746
8588
  export type RawScriptByPathData = {
7747
8589
  path: string;
7748
8590
  workspace: string;
@@ -7780,40 +8622,99 @@ export type GetScriptDeploymentStatusResponse = {
7780
8622
  lock_error_logs?: string;
7781
8623
  job_id?: string;
7782
8624
  };
7783
- export type CreateDraftData = {
7784
- requestBody: {
7785
- path: string;
7786
- typ: 'flow' | 'script' | 'app';
7787
- value?: unknown;
7788
- };
7789
- workspace: string;
7790
- };
7791
- export type CreateDraftResponse = string;
7792
- export type DeleteDraftData = {
7793
- kind: 'script' | 'flow' | 'app';
8625
+ export type GetCiTestResultsData = {
8626
+ kind: 'script' | 'flow' | 'resource';
7794
8627
  path: string;
7795
8628
  workspace: string;
7796
8629
  };
7797
- export type DeleteDraftResponse = string;
7798
- export type GetCustomTagsData = {
7799
- showWorkspaceRestriction?: boolean;
7800
- };
7801
- export type GetCustomTagsResponse = Array<(string)>;
7802
- export type GetCustomTagsForWorkspaceData = {
8630
+ export type GetCiTestResultsResponse = Array<CiTestResult>;
8631
+ export type GetCiTestResultsBatchData = {
8632
+ requestBody: {
8633
+ items: Array<{
8634
+ path: string;
8635
+ kind: 'script' | 'flow' | 'resource';
8636
+ }>;
8637
+ };
7803
8638
  workspace: string;
7804
8639
  };
7805
- export type GetCustomTagsForWorkspaceResponse = Array<(string)>;
7806
- export type GeDefaultTagsResponse = Array<(string)>;
7807
- export type IsDefaultTagsPerWorkspaceResponse = boolean;
7808
- export type ListWorkersData = {
8640
+ export type GetCiTestResultsBatchResponse = {
8641
+ [key: string]: Array<CiTestResult>;
8642
+ };
8643
+ export type StoreRawScriptTempData = {
7809
8644
  /**
7810
- * which page to return (start at 1, default 1)
8645
+ * script content to store
7811
8646
  */
7812
- page?: number;
8647
+ requestBody: string;
8648
+ workspace: string;
8649
+ };
8650
+ export type StoreRawScriptTempResponse = string;
8651
+ export type DiffRawScriptsWithDeployedData = {
7813
8652
  /**
7814
- * number of items to return for a given page (default 30, max 100)
8653
+ * scripts and workspace deps to diff against deployed versions
7815
8654
  */
7816
- perPage?: number;
8655
+ requestBody: {
8656
+ /**
8657
+ * map of script path to SHA256 content hash
8658
+ */
8659
+ scripts: {
8660
+ [key: string]: (string);
8661
+ };
8662
+ /**
8663
+ * workspace dependencies to diff
8664
+ */
8665
+ workspace_deps?: Array<{
8666
+ /**
8667
+ * CLI path (e.g. dependencies/package.json)
8668
+ */
8669
+ path: string;
8670
+ language: ScriptLang;
8671
+ /**
8672
+ * named workspace dependency (null for default)
8673
+ */
8674
+ name?: string;
8675
+ /**
8676
+ * SHA256 content hash
8677
+ */
8678
+ hash: string;
8679
+ }>;
8680
+ };
8681
+ workspace: string;
8682
+ };
8683
+ export type DiffRawScriptsWithDeployedResponse = Array<(string)>;
8684
+ export type CreateDraftData = {
8685
+ requestBody: {
8686
+ path: string;
8687
+ typ: 'flow' | 'script' | 'app';
8688
+ value?: unknown;
8689
+ };
8690
+ workspace: string;
8691
+ };
8692
+ export type CreateDraftResponse = string;
8693
+ export type DeleteDraftData = {
8694
+ kind: 'script' | 'flow' | 'app';
8695
+ path: string;
8696
+ workspace: string;
8697
+ };
8698
+ export type DeleteDraftResponse = string;
8699
+ export type GetCustomTagsData = {
8700
+ showWorkspaceRestriction?: boolean;
8701
+ };
8702
+ export type GetCustomTagsResponse = Array<(string)>;
8703
+ export type GetCustomTagsForWorkspaceData = {
8704
+ workspace: string;
8705
+ };
8706
+ export type GetCustomTagsForWorkspaceResponse = Array<(string)>;
8707
+ export type GeDefaultTagsResponse = Array<(string)>;
8708
+ export type IsDefaultTagsPerWorkspaceResponse = boolean;
8709
+ export type ListWorkersData = {
8710
+ /**
8711
+ * which page to return (start at 1, default 1)
8712
+ */
8713
+ page?: number;
8714
+ /**
8715
+ * number of items to return for a given page (default 30, max 100)
8716
+ */
8717
+ perPage?: number;
7817
8718
  /**
7818
8719
  * number of seconds the worker must have had a last ping more recent of (default to 300)
7819
8720
  */
@@ -9483,6 +10384,11 @@ export type GetJobLogsData = {
9483
10384
  workspace: string;
9484
10385
  };
9485
10386
  export type GetJobLogsResponse = string;
10387
+ export type GetFlowAllLogsData = {
10388
+ id: string;
10389
+ workspace: string;
10390
+ };
10391
+ export type GetFlowAllLogsResponse = string;
9486
10392
  export type GetCompletedJobLogsTailData = {
9487
10393
  id: string;
9488
10394
  workspace: string;
@@ -9523,6 +10429,7 @@ export type GetJobUpdatesResponse = {
9523
10429
  workflow_as_code_status?: WorkflowStatus;
9524
10430
  };
9525
10431
  export type GetJobUpdatesSseData = {
10432
+ fast?: boolean;
9526
10433
  getProgress?: boolean;
9527
10434
  id: string;
9528
10435
  logOffset?: number;
@@ -9680,6 +10587,65 @@ export type GetTeamsApprovalPayloadData = {
9680
10587
  workspace: string;
9681
10588
  };
9682
10589
  export type GetTeamsApprovalPayloadResponse = unknown;
10590
+ export type ResumeSuspendedData = {
10591
+ jobId: string;
10592
+ requestBody: {
10593
+ /**
10594
+ * payload to send to the resumed job
10595
+ */
10596
+ payload?: unknown;
10597
+ /**
10598
+ * approval token for unauthenticated access
10599
+ */
10600
+ approval_token?: string;
10601
+ /**
10602
+ * whether to approve (true) or cancel (false) the job
10603
+ */
10604
+ approved?: boolean;
10605
+ };
10606
+ workspace: string;
10607
+ };
10608
+ export type ResumeSuspendedResponse = string;
10609
+ export type GetApprovalInfoData = {
10610
+ jobId: string;
10611
+ /**
10612
+ * approval token for unauthenticated access
10613
+ */
10614
+ token?: string;
10615
+ workspace: string;
10616
+ };
10617
+ export type GetApprovalInfoResponse = {
10618
+ flow_id: string;
10619
+ /**
10620
+ * form schema for the approval step
10621
+ */
10622
+ form_schema?: unknown;
10623
+ /**
10624
+ * description of the approval step
10625
+ */
10626
+ description?: unknown;
10627
+ approval_conditions?: {
10628
+ user_auth_required: boolean;
10629
+ user_groups_required: Array<(string)>;
10630
+ self_approval_disabled: boolean;
10631
+ };
10632
+ /**
10633
+ * whether the current user/token holder can approve
10634
+ */
10635
+ can_approve: boolean;
10636
+ /**
10637
+ * whether user authentication is required to approve
10638
+ */
10639
+ user_auth_required: boolean;
10640
+ /**
10641
+ * whether to hide the cancel button in the UI
10642
+ */
10643
+ hide_cancel?: boolean;
10644
+ approvers: Array<{
10645
+ resume_id: number;
10646
+ approver: string;
10647
+ }>;
10648
+ };
9683
10649
  export type ResumeSuspendedJobGetData = {
9684
10650
  approver?: string;
9685
10651
  id: string;
@@ -9928,11 +10894,21 @@ export type ListConversationMessagesData = {
9928
10894
  workspace: string;
9929
10895
  };
9930
10896
  export type ListConversationMessagesResponse = Array<FlowConversationMessage>;
10897
+ export type ListPathAutocompletePathsData = {
10898
+ workspace: string;
10899
+ };
10900
+ export type ListPathAutocompletePathsResponse = {
10901
+ paths: Array<(string)>;
10902
+ };
9931
10903
  export type ListRawAppsData = {
9932
10904
  /**
9933
10905
  * filter by exact matching user creator. Supports comma-separated list (e.g. 'alice,bob') and negation by prefixing all values with '!' (e.g. '!alice,!bob')
9934
10906
  */
9935
10907
  createdBy?: string;
10908
+ /**
10909
+ * Filter by label
10910
+ */
10911
+ label?: string;
9936
10912
  /**
9937
10913
  * order by desc order (default true)
9938
10914
  */
@@ -10075,6 +11051,10 @@ export type ListSchedulesData = {
10075
11051
  * filter schedules by whether they target a flow
10076
11052
  */
10077
11053
  isFlow?: boolean;
11054
+ /**
11055
+ * Filter by label
11056
+ */
11057
+ label?: string;
10078
11058
  /**
10079
11059
  * which page to return (start at 1, default 1)
10080
11060
  */
@@ -10185,6 +11165,10 @@ export type GetHttpTriggerData = {
10185
11165
  export type GetHttpTriggerResponse = HttpTrigger;
10186
11166
  export type ListHttpTriggersData = {
10187
11167
  isFlow?: boolean;
11168
+ /**
11169
+ * Filter by label
11170
+ */
11171
+ label?: string;
10188
11172
  /**
10189
11173
  * which page to return (start at 1, default 1)
10190
11174
  */
@@ -10256,6 +11240,10 @@ export type GetWebsocketTriggerData = {
10256
11240
  export type GetWebsocketTriggerResponse = WebsocketTrigger;
10257
11241
  export type ListWebsocketTriggersData = {
10258
11242
  isFlow?: boolean;
11243
+ /**
11244
+ * Filter by label
11245
+ */
11246
+ label?: string;
10259
11247
  /**
10260
11248
  * which page to return (start at 1, default 1)
10261
11249
  */
@@ -10329,6 +11317,10 @@ export type GetKafkaTriggerData = {
10329
11317
  export type GetKafkaTriggerResponse = KafkaTrigger;
10330
11318
  export type ListKafkaTriggersData = {
10331
11319
  isFlow?: boolean;
11320
+ /**
11321
+ * Filter by label
11322
+ */
11323
+ label?: string;
10332
11324
  /**
10333
11325
  * which page to return (start at 1, default 1)
10334
11326
  */
@@ -10420,6 +11412,10 @@ export type GetNatsTriggerData = {
10420
11412
  export type GetNatsTriggerResponse = NatsTrigger;
10421
11413
  export type ListNatsTriggersData = {
10422
11414
  isFlow?: boolean;
11415
+ /**
11416
+ * Filter by label
11417
+ */
11418
+ label?: string;
10423
11419
  /**
10424
11420
  * which page to return (start at 1, default 1)
10425
11421
  */
@@ -10493,6 +11489,10 @@ export type GetSqsTriggerData = {
10493
11489
  export type GetSqsTriggerResponse = SqsTrigger;
10494
11490
  export type ListSqsTriggersData = {
10495
11491
  isFlow?: boolean;
11492
+ /**
11493
+ * Filter by label
11494
+ */
11495
+ label?: string;
10496
11496
  /**
10497
11497
  * which page to return (start at 1, default 1)
10498
11498
  */
@@ -10642,6 +11642,10 @@ export type ListNativeTriggersData = {
10642
11642
  * filter by is_flow
10643
11643
  */
10644
11644
  isFlow?: boolean;
11645
+ /**
11646
+ * Filter by label
11647
+ */
11648
+ label?: string;
10645
11649
  /**
10646
11650
  * which page to return (start at 1, default 1)
10647
11651
  */
@@ -10704,6 +11708,10 @@ export type ListGoogleSharedDrivesData = {
10704
11708
  workspace: string;
10705
11709
  };
10706
11710
  export type ListGoogleSharedDrivesResponse = Array<SharedDriveEntry>;
11711
+ export type ListGithubReposData = {
11712
+ workspace: string;
11713
+ };
11714
+ export type ListGithubReposResponse = Array<GithubRepoEntry>;
10707
11715
  export type NativeTriggerWebhookData = {
10708
11716
  /**
10709
11717
  * The internal database ID of the trigger
@@ -10748,6 +11756,10 @@ export type GetMqttTriggerData = {
10748
11756
  export type GetMqttTriggerResponse = MqttTrigger;
10749
11757
  export type ListMqttTriggersData = {
10750
11758
  isFlow?: boolean;
11759
+ /**
11760
+ * Filter by label
11761
+ */
11762
+ label?: string;
10751
11763
  /**
10752
11764
  * which page to return (start at 1, default 1)
10753
11765
  */
@@ -10821,6 +11833,10 @@ export type GetGcpTriggerData = {
10821
11833
  export type GetGcpTriggerResponse = GcpTrigger;
10822
11834
  export type ListGcpTriggersData = {
10823
11835
  isFlow?: boolean;
11836
+ /**
11837
+ * Filter by label
11838
+ */
11839
+ label?: string;
10824
11840
  /**
10825
11841
  * which page to return (start at 1, default 1)
10826
11842
  */
@@ -11012,6 +12028,10 @@ export type GetPostgresTriggerData = {
11012
12028
  export type GetPostgresTriggerResponse = PostgresTrigger;
11013
12029
  export type ListPostgresTriggersData = {
11014
12030
  isFlow?: boolean;
12031
+ /**
12032
+ * Filter by label
12033
+ */
12034
+ label?: string;
11015
12035
  /**
11016
12036
  * which page to return (start at 1, default 1)
11017
12037
  */
@@ -11083,6 +12103,10 @@ export type GetEmailTriggerData = {
11083
12103
  export type GetEmailTriggerResponse = EmailTrigger;
11084
12104
  export type ListEmailTriggersData = {
11085
12105
  isFlow?: boolean;
12106
+ /**
12107
+ * Filter by label
12108
+ */
12109
+ label?: string;
11086
12110
  /**
11087
12111
  * which page to return (start at 1, default 1)
11088
12112
  */
@@ -11129,7 +12153,7 @@ export type ListInstanceGroupsWithWorkspacesResponse = Array<InstanceGroupWithWo
11129
12153
  export type GetInstanceGroupData = {
11130
12154
  name: string;
11131
12155
  };
11132
- export type GetInstanceGroupResponse = InstanceGroup;
12156
+ export type GetInstanceGroupResponse = InstanceGroupWithWorkspaces;
11133
12157
  export type CreateInstanceGroupData = {
11134
12158
  /**
11135
12159
  * create instance group
@@ -11147,6 +12171,10 @@ export type UpdateInstanceGroupData = {
11147
12171
  */
11148
12172
  requestBody: {
11149
12173
  new_summary: string;
12174
+ /**
12175
+ * Instance-level role for group members. 'superadmin', 'devops', 'user' or empty to clear.
12176
+ */
12177
+ instance_role?: string | null;
11150
12178
  };
11151
12179
  };
11152
12180
  export type UpdateInstanceGroupResponse = string;
@@ -11304,6 +12332,7 @@ export type CreateFolderData = {
11304
12332
  summary?: string;
11305
12333
  owners?: Array<(string)>;
11306
12334
  extra_perms?: unknown;
12335
+ default_permissioned_as?: FolderDefaultPermissionedAs;
11307
12336
  };
11308
12337
  workspace: string;
11309
12338
  };
@@ -11317,6 +12346,7 @@ export type UpdateFolderData = {
11317
12346
  summary?: string;
11318
12347
  owners?: Array<(string)>;
11319
12348
  extra_perms?: unknown;
12349
+ default_permissioned_as?: FolderDefaultPermissionedAs;
11320
12350
  };
11321
12351
  workspace: string;
11322
12352
  };
@@ -11425,6 +12455,17 @@ export type ListAutoscalingEventsData = {
11425
12455
  export type ListAutoscalingEventsResponse = Array<AutoscalingEvent>;
11426
12456
  export type NativeKubernetesAutoscalingHealthcheckResponse = unknown;
11427
12457
  export type ListAvailablePythonVersionsResponse = Array<(string)>;
12458
+ export type ListAllWorkspaceDependenciesResponse = Array<{
12459
+ workspace_id: string;
12460
+ name?: string;
12461
+ language: ScriptLang;
12462
+ }>;
12463
+ export type ListAllDedicatedWithDepsResponse = Array<{
12464
+ workspace_id: string;
12465
+ path: string;
12466
+ language: ScriptLang;
12467
+ workspace_dep_names: Array<(string)>;
12468
+ }>;
11428
12469
  export type CreateAgentTokenData = {
11429
12470
  /**
11430
12471
  * agent token
@@ -12064,6 +13105,10 @@ export type CountSearchLogsIndexResponse = {
12064
13105
  [key: string]: unknown;
12065
13106
  };
12066
13107
  };
13108
+ export type GetIndexDiskStorageSizesResponse = {
13109
+ job_index_disk_size_bytes?: number | null;
13110
+ log_index_disk_size_bytes?: number | null;
13111
+ };
12067
13112
  export type ClearIndexData = {
12068
13113
  idxName: 'JobIndex' | 'ServiceLogIndex';
12069
13114
  };
@@ -12483,6 +13528,16 @@ export type $OpenApiTs = {
12483
13528
  };
12484
13529
  };
12485
13530
  };
13531
+ '/auth/is_password_login_disabled': {
13532
+ get: {
13533
+ res: {
13534
+ /**
13535
+ * returns true if password login is disabled
13536
+ */
13537
+ 200: boolean;
13538
+ };
13539
+ };
13540
+ };
12486
13541
  '/auth/request_password_reset': {
12487
13542
  post: {
12488
13543
  req: {
@@ -12667,6 +13722,7 @@ export type $OpenApiTs = {
12667
13722
  is_super_admin?: boolean;
12668
13723
  is_devops?: boolean;
12669
13724
  name?: string;
13725
+ disabled?: boolean;
12670
13726
  };
12671
13727
  };
12672
13728
  res: {
@@ -12754,6 +13810,24 @@ export type $OpenApiTs = {
12754
13810
  };
12755
13811
  };
12756
13812
  };
13813
+ '/users/ext_jwt_tokens': {
13814
+ get: {
13815
+ req: {
13816
+ /**
13817
+ * only tokens used in the last 30 days
13818
+ */
13819
+ activeOnly?: boolean;
13820
+ page?: number;
13821
+ perPage?: number;
13822
+ };
13823
+ res: {
13824
+ /**
13825
+ * list of external JWT tokens
13826
+ */
13827
+ 200: Array<ExternalJwtToken>;
13828
+ };
13829
+ };
13830
+ };
12757
13831
  '/users/onboarding': {
12758
13832
  post: {
12759
13833
  req: {
@@ -12784,6 +13858,62 @@ export type $OpenApiTs = {
12784
13858
  };
12785
13859
  };
12786
13860
  };
13861
+ '/w/{workspace}/users/offboard_preview/{username}': {
13862
+ get: {
13863
+ req: {
13864
+ username: string;
13865
+ workspace: string;
13866
+ };
13867
+ res: {
13868
+ /**
13869
+ * offboard preview with object counts
13870
+ */
13871
+ 200: OffboardPreview;
13872
+ };
13873
+ };
13874
+ };
13875
+ '/w/{workspace}/users/offboard/{username}': {
13876
+ post: {
13877
+ req: {
13878
+ requestBody: OffboardRequest;
13879
+ username: string;
13880
+ workspace: string;
13881
+ };
13882
+ res: {
13883
+ /**
13884
+ * offboard response with conflicts or summary
13885
+ */
13886
+ 200: OffboardResponse;
13887
+ };
13888
+ };
13889
+ };
13890
+ '/users/offboard_preview/{email}': {
13891
+ get: {
13892
+ req: {
13893
+ email: string;
13894
+ };
13895
+ res: {
13896
+ /**
13897
+ * per-workspace offboard previews
13898
+ */
13899
+ 200: GlobalOffboardPreview;
13900
+ };
13901
+ };
13902
+ };
13903
+ '/users/offboard/{email}': {
13904
+ post: {
13905
+ req: {
13906
+ email: string;
13907
+ requestBody: GlobalOffboardRequest;
13908
+ };
13909
+ res: {
13910
+ /**
13911
+ * offboard result
13912
+ */
13913
+ 200: OffboardResponse;
13914
+ };
13915
+ };
13916
+ };
12787
13917
  '/w/{workspace}/users/convert_to_group/{username}': {
12788
13918
  post: {
12789
13919
  req: {
@@ -12958,6 +14088,38 @@ export type $OpenApiTs = {
12958
14088
  };
12959
14089
  };
12960
14090
  };
14091
+ '/w/{workspace}/users/impersonate_service_account': {
14092
+ post: {
14093
+ req: {
14094
+ requestBody: {
14095
+ username: string;
14096
+ };
14097
+ workspace: string;
14098
+ };
14099
+ res: {
14100
+ /**
14101
+ * impersonation token
14102
+ */
14103
+ 201: string;
14104
+ };
14105
+ };
14106
+ };
14107
+ '/w/{workspace}/users/exit_impersonation': {
14108
+ post: {
14109
+ req: {
14110
+ requestBody: {
14111
+ token: string;
14112
+ };
14113
+ workspace: string;
14114
+ };
14115
+ res: {
14116
+ /**
14117
+ * exited impersonation
14118
+ */
14119
+ 200: string;
14120
+ };
14121
+ };
14122
+ };
12961
14123
  '/w/{workspace}/users/whois/{username}': {
12962
14124
  get: {
12963
14125
  req: {
@@ -13237,33 +14399,67 @@ export type $OpenApiTs = {
13237
14399
  };
13238
14400
  };
13239
14401
  };
13240
- '/workspaces/list': {
13241
- get: {
14402
+ '/w/{workspace}/github_app/ghes_installation_callback': {
14403
+ post: {
14404
+ req: {
14405
+ requestBody: {
14406
+ /**
14407
+ * The GitHub App installation ID from GHES
14408
+ */
14409
+ installation_id: number;
14410
+ };
14411
+ workspace: string;
14412
+ };
13242
14413
  res: {
13243
14414
  /**
13244
- * all workspaces
14415
+ * GHES installation registered successfully
13245
14416
  */
13246
- 200: Array<Workspace>;
14417
+ 200: unknown;
13247
14418
  };
13248
14419
  };
13249
14420
  };
13250
- '/workspaces/allowed_domain_auto_invite': {
14421
+ '/github_app/ghes_config': {
13251
14422
  get: {
13252
14423
  res: {
13253
14424
  /**
13254
- * domain allowed or not
14425
+ * GHES app configuration
13255
14426
  */
13256
- 200: boolean;
14427
+ 200: {
14428
+ base_url: string;
14429
+ app_slug: string;
14430
+ client_id: string;
14431
+ app_owner?: string | null;
14432
+ };
13257
14433
  };
13258
14434
  };
13259
14435
  };
13260
- '/workspaces/users': {
14436
+ '/workspaces/list': {
13261
14437
  get: {
13262
14438
  res: {
13263
14439
  /**
13264
- * workspace with associated username
14440
+ * all workspaces
13265
14441
  */
13266
- 200: UserWorkspaceList;
14442
+ 200: Array<Workspace>;
14443
+ };
14444
+ };
14445
+ };
14446
+ '/workspaces/allowed_domain_auto_invite': {
14447
+ get: {
14448
+ res: {
14449
+ /**
14450
+ * domain allowed or not
14451
+ */
14452
+ 200: boolean;
14453
+ };
14454
+ };
14455
+ };
14456
+ '/workspaces/users': {
14457
+ get: {
14458
+ res: {
14459
+ /**
14460
+ * workspace with associated username
14461
+ */
14462
+ 200: UserWorkspaceList;
13267
14463
  };
13268
14464
  };
13269
14465
  };
@@ -13449,6 +14645,22 @@ export type $OpenApiTs = {
13449
14645
  };
13450
14646
  };
13451
14647
  };
14648
+ '/w/{workspace}/workspaces/create_service_account': {
14649
+ post: {
14650
+ req: {
14651
+ requestBody: {
14652
+ username: string;
14653
+ };
14654
+ workspace: string;
14655
+ };
14656
+ res: {
14657
+ /**
14658
+ * service account created
14659
+ */
14660
+ 201: string;
14661
+ };
14662
+ };
14663
+ };
13452
14664
  '/w/{workspace}/workspaces/delete_invite': {
13453
14665
  post: {
13454
14666
  req: {
@@ -13807,6 +15019,23 @@ export type $OpenApiTs = {
13807
15019
  };
13808
15020
  };
13809
15021
  };
15022
+ '/w/{workspace}/workspaces/get_imports/{importer_path}': {
15023
+ get: {
15024
+ req: {
15025
+ /**
15026
+ * The script path to get imports for
15027
+ */
15028
+ importerPath: string;
15029
+ workspace: string;
15030
+ };
15031
+ res: {
15032
+ /**
15033
+ * list of imported script paths
15034
+ */
15035
+ 200: Array<(string)>;
15036
+ };
15037
+ };
15038
+ };
13810
15039
  '/w/{workspace}/workspaces/get_dependents_amounts': {
13811
15040
  post: {
13812
15041
  req: {
@@ -14141,7 +15370,29 @@ export type $OpenApiTs = {
14141
15370
  /**
14142
15371
  * status
14143
15372
  */
14144
- 200: string;
15373
+ 200: {
15374
+ effective_ai_config: AIConfig;
15375
+ has_instance_ai_config: boolean;
15376
+ uses_instance_ai_config: boolean;
15377
+ instance_ai_summary?: InstanceAISummary;
15378
+ };
15379
+ };
15380
+ };
15381
+ };
15382
+ '/w/{workspace}/workspaces/get_copilot_settings_state': {
15383
+ get: {
15384
+ req: {
15385
+ workspace: string;
15386
+ };
15387
+ res: {
15388
+ /**
15389
+ * status
15390
+ */
15391
+ 200: {
15392
+ has_instance_ai_config: boolean;
15393
+ uses_instance_ai_config: boolean;
15394
+ instance_ai_summary?: InstanceAISummary;
15395
+ };
14145
15396
  };
14146
15397
  };
14147
15398
  };
@@ -14233,7 +15484,11 @@ export type $OpenApiTs = {
14233
15484
  /**
14234
15485
  * status
14235
15486
  */
14236
- 200: Array<(string)>;
15487
+ 200: Array<{
15488
+ name: string;
15489
+ resource_type: 'postgres' | 'instance';
15490
+ resource_path: string;
15491
+ }>;
14237
15492
  };
14238
15493
  };
14239
15494
  };
@@ -14288,6 +15543,163 @@ export type $OpenApiTs = {
14288
15543
  };
14289
15544
  };
14290
15545
  };
15546
+ '/w/{workspace}/workspaces/create_pg_database': {
15547
+ post: {
15548
+ req: {
15549
+ /**
15550
+ * Create pg database request
15551
+ */
15552
+ requestBody: {
15553
+ /**
15554
+ * Datatable source to determine connection info: 'datatable://name' or '$res:path'
15555
+ */
15556
+ source: string;
15557
+ /**
15558
+ * Name for the new database
15559
+ */
15560
+ target_dbname: string;
15561
+ };
15562
+ workspace: string;
15563
+ };
15564
+ res: {
15565
+ /**
15566
+ * status
15567
+ */
15568
+ 200: string;
15569
+ };
15570
+ };
15571
+ };
15572
+ '/w/{workspace}/workspaces/drop_forked_datatable_databases': {
15573
+ post: {
15574
+ req: {
15575
+ requestBody: {
15576
+ datatable_names: Array<(string)>;
15577
+ };
15578
+ workspace: string;
15579
+ };
15580
+ res: {
15581
+ /**
15582
+ * list of errors (empty if all succeeded)
15583
+ */
15584
+ 200: Array<(string)>;
15585
+ };
15586
+ };
15587
+ };
15588
+ '/w/{workspace}/workspaces/import_pg_database': {
15589
+ post: {
15590
+ req: {
15591
+ /**
15592
+ * Import pg database request
15593
+ */
15594
+ requestBody: {
15595
+ /**
15596
+ * Source database: 'datatable://name' or '$res:path'
15597
+ */
15598
+ source: string;
15599
+ /**
15600
+ * Target database: 'datatable://name' or '$res:path'
15601
+ */
15602
+ target: string;
15603
+ /**
15604
+ * Override the target database name
15605
+ */
15606
+ target_dbname_override?: string;
15607
+ fork_behavior: 'schema_only' | 'schema_and_data' | 'keep_original';
15608
+ };
15609
+ workspace: string;
15610
+ };
15611
+ res: {
15612
+ /**
15613
+ * status
15614
+ */
15615
+ 200: string;
15616
+ };
15617
+ };
15618
+ };
15619
+ '/w/{workspace}/workspaces/export_pg_schema': {
15620
+ post: {
15621
+ req: {
15622
+ /**
15623
+ * Export pg schema request
15624
+ */
15625
+ requestBody: {
15626
+ /**
15627
+ * Source database: 'datatable://name' or '$res:path'
15628
+ */
15629
+ source: string;
15630
+ };
15631
+ workspace: string;
15632
+ };
15633
+ res: {
15634
+ /**
15635
+ * schema dump
15636
+ */
15637
+ 200: string;
15638
+ };
15639
+ };
15640
+ };
15641
+ '/w/{workspace}/workspaces/get_datatable_full_schema': {
15642
+ post: {
15643
+ req: {
15644
+ requestBody: {
15645
+ /**
15646
+ * Source datatable, e.g. 'datatable://main'
15647
+ */
15648
+ source: string;
15649
+ };
15650
+ workspace: string;
15651
+ };
15652
+ res: {
15653
+ /**
15654
+ * Schema as { schema_name: { table_name: TableEditorValues } }
15655
+ */
15656
+ 200: {
15657
+ [key: string]: {
15658
+ [key: string]: {
15659
+ name: string;
15660
+ columns: Array<{
15661
+ name: string;
15662
+ datatype: string;
15663
+ primary_key?: boolean;
15664
+ default_value?: string;
15665
+ nullable?: boolean;
15666
+ }>;
15667
+ foreign_keys: Array<{
15668
+ target_table?: string;
15669
+ columns: Array<{
15670
+ source_column?: string;
15671
+ target_column?: string;
15672
+ }>;
15673
+ on_delete: string;
15674
+ on_update: string;
15675
+ fk_constraint_name?: string;
15676
+ }>;
15677
+ pk_constraint_name?: string;
15678
+ };
15679
+ };
15680
+ };
15681
+ };
15682
+ };
15683
+ };
15684
+ '/w/{workspace}/workspaces/git_sync_enabled': {
15685
+ get: {
15686
+ req: {
15687
+ workspace: string;
15688
+ };
15689
+ res: {
15690
+ /**
15691
+ * Git sync availability status
15692
+ */
15693
+ 200: {
15694
+ enabled?: boolean;
15695
+ reason?: string | null;
15696
+ max_repos?: number | null;
15697
+ user_count?: number | null;
15698
+ max_users?: number | null;
15699
+ };
15700
+ };
15701
+ };
15702
+ };
14291
15703
  '/w/{workspace}/workspaces/edit_git_sync_config': {
14292
15704
  post: {
14293
15705
  req: {
@@ -14482,6 +15894,7 @@ export type $OpenApiTs = {
14482
15894
  */
14483
15895
  200: {
14484
15896
  default_app_path?: string;
15897
+ default_app_raw?: boolean;
14485
15898
  };
14486
15899
  };
14487
15900
  };
@@ -14520,6 +15933,7 @@ export type $OpenApiTs = {
14520
15933
  email_used: boolean;
14521
15934
  nextcloud_used: boolean;
14522
15935
  google_used: boolean;
15936
+ github_used: boolean;
14523
15937
  };
14524
15938
  };
14525
15939
  };
@@ -14612,6 +16026,167 @@ export type $OpenApiTs = {
14612
16026
  };
14613
16027
  };
14614
16028
  };
16029
+ '/w/{workspace}/deployment_request/eligible_deployers': {
16030
+ get: {
16031
+ req: {
16032
+ workspace: string;
16033
+ };
16034
+ res: {
16035
+ /**
16036
+ * list of eligible deployers
16037
+ */
16038
+ 200: Array<DeploymentRequestEligibleDeployer>;
16039
+ };
16040
+ };
16041
+ };
16042
+ '/w/{workspace}/deployment_request/open': {
16043
+ get: {
16044
+ req: {
16045
+ workspace: string;
16046
+ };
16047
+ res: {
16048
+ /**
16049
+ * the open request or null if none exists
16050
+ */
16051
+ 200: (DeploymentRequest) | null;
16052
+ };
16053
+ };
16054
+ };
16055
+ '/w/{workspace}/deployment_request': {
16056
+ post: {
16057
+ req: {
16058
+ requestBody: {
16059
+ /**
16060
+ * Usernames in the parent workspace. Must be admin or wm_deployers.
16061
+ */
16062
+ assignees: Array<(string)>;
16063
+ };
16064
+ workspace: string;
16065
+ };
16066
+ res: {
16067
+ /**
16068
+ * request created
16069
+ */
16070
+ 200: DeploymentRequest;
16071
+ /**
16072
+ * invalid assignees
16073
+ */
16074
+ 400: unknown;
16075
+ /**
16076
+ * a deployment request is already open for this fork
16077
+ */
16078
+ 409: unknown;
16079
+ };
16080
+ };
16081
+ };
16082
+ '/w/{workspace}/deployment_request/{id}/cancel': {
16083
+ post: {
16084
+ req: {
16085
+ id: number;
16086
+ workspace: string;
16087
+ };
16088
+ res: {
16089
+ /**
16090
+ * cancelled
16091
+ */
16092
+ 200: string;
16093
+ };
16094
+ };
16095
+ };
16096
+ '/w/{workspace}/deployment_request/{id}/close_merged': {
16097
+ post: {
16098
+ req: {
16099
+ id: number;
16100
+ workspace: string;
16101
+ };
16102
+ res: {
16103
+ /**
16104
+ * closed
16105
+ */
16106
+ 200: string;
16107
+ };
16108
+ };
16109
+ };
16110
+ '/w/{workspace}/deployment_request/{id}/comment': {
16111
+ post: {
16112
+ req: {
16113
+ id: number;
16114
+ requestBody: {
16115
+ body: string;
16116
+ parent_id?: number | null;
16117
+ anchor_kind?: string | null;
16118
+ anchor_path?: string | null;
16119
+ };
16120
+ workspace: string;
16121
+ };
16122
+ res: {
16123
+ /**
16124
+ * comment created
16125
+ */
16126
+ 200: DeploymentRequestComment;
16127
+ /**
16128
+ * invalid input or request closed
16129
+ */
16130
+ 400: unknown;
16131
+ };
16132
+ };
16133
+ };
16134
+ '/w/{workspace}/workspaces/log_chat': {
16135
+ post: {
16136
+ req: {
16137
+ requestBody: {
16138
+ session_id: string;
16139
+ provider: string;
16140
+ model: string;
16141
+ mode: string;
16142
+ };
16143
+ workspace: string;
16144
+ };
16145
+ res: {
16146
+ /**
16147
+ * logged
16148
+ */
16149
+ 204: void;
16150
+ };
16151
+ };
16152
+ };
16153
+ '/w/{workspace}/workspaces/cloud_quotas': {
16154
+ get: {
16155
+ req: {
16156
+ workspace: string;
16157
+ };
16158
+ res: {
16159
+ /**
16160
+ * cloud quota usage and limits
16161
+ */
16162
+ 200: {
16163
+ scripts: QuotaInfo;
16164
+ flows: QuotaInfo;
16165
+ apps: QuotaInfo;
16166
+ variables: QuotaInfo;
16167
+ resources: QuotaInfo;
16168
+ };
16169
+ };
16170
+ };
16171
+ };
16172
+ '/w/{workspace}/workspaces/prune_versions': {
16173
+ post: {
16174
+ req: {
16175
+ requestBody: {
16176
+ resource_type: 'scripts' | 'flows' | 'apps';
16177
+ };
16178
+ workspace: string;
16179
+ };
16180
+ res: {
16181
+ /**
16182
+ * number of pruned versions
16183
+ */
16184
+ 200: {
16185
+ pruned: number;
16186
+ };
16187
+ };
16188
+ };
16189
+ };
14615
16190
  '/settings/refresh_custom_instance_user_pwd': {
14616
16191
  post: {
14617
16192
  res: {
@@ -14655,6 +16230,22 @@ export type $OpenApiTs = {
14655
16230
  };
14656
16231
  };
14657
16232
  };
16233
+ '/settings/drop_custom_instance_pg_database/{name}': {
16234
+ post: {
16235
+ req: {
16236
+ /**
16237
+ * The name of the database to drop
16238
+ */
16239
+ name: string;
16240
+ };
16241
+ res: {
16242
+ /**
16243
+ * status
16244
+ */
16245
+ 200: string;
16246
+ };
16247
+ };
16248
+ };
14658
16249
  '/settings/global/{key}': {
14659
16250
  get: {
14660
16251
  req: {
@@ -14685,6 +16276,16 @@ export type $OpenApiTs = {
14685
16276
  };
14686
16277
  };
14687
16278
  };
16279
+ '/settings_u/ruff_config': {
16280
+ get: {
16281
+ res: {
16282
+ /**
16283
+ * ruff.toml content (may be empty)
16284
+ */
16285
+ 200: string;
16286
+ };
16287
+ };
16288
+ };
14688
16289
  '/settings/local': {
14689
16290
  get: {
14690
16291
  res: {
@@ -14828,6 +16429,70 @@ export type $OpenApiTs = {
14828
16429
  };
14829
16430
  };
14830
16431
  };
16432
+ '/settings/object_storage_usage': {
16433
+ get: {
16434
+ res: {
16435
+ /**
16436
+ * current or last storage-usage computation state
16437
+ */
16438
+ 200: {
16439
+ running: boolean;
16440
+ started_at: string;
16441
+ finished_at?: string | null;
16442
+ current_prefix?: string | null;
16443
+ scanned_objects: number;
16444
+ folders: Array<{
16445
+ prefix: string;
16446
+ size: number;
16447
+ partial?: boolean;
16448
+ }>;
16449
+ error?: string | null;
16450
+ } | null;
16451
+ };
16452
+ };
16453
+ post: {
16454
+ res: {
16455
+ /**
16456
+ * computation started
16457
+ */
16458
+ 202: string;
16459
+ };
16460
+ };
16461
+ };
16462
+ '/settings/run_log_cleanup': {
16463
+ post: {
16464
+ res: {
16465
+ /**
16466
+ * cleanup started
16467
+ */
16468
+ 202: string;
16469
+ };
16470
+ };
16471
+ };
16472
+ '/settings/log_cleanup_status': {
16473
+ get: {
16474
+ res: {
16475
+ /**
16476
+ * current or last log cleanup status (null if never run)
16477
+ */
16478
+ 200: {
16479
+ running: boolean;
16480
+ started_at: string;
16481
+ finished_at?: string | null;
16482
+ phase: string;
16483
+ total_service: number;
16484
+ processed_service: number;
16485
+ total_jobs: number;
16486
+ processed_jobs: number;
16487
+ s3_deleted: number;
16488
+ orphans_scanned: number;
16489
+ orphans_deleted: number;
16490
+ errors: number;
16491
+ last_error?: string | null;
16492
+ } | null;
16493
+ };
16494
+ };
16495
+ };
14831
16496
  '/settings/send_stats': {
14832
16497
  post: {
14833
16498
  res: {
@@ -14838,13 +16503,32 @@ export type $OpenApiTs = {
14838
16503
  };
14839
16504
  };
14840
16505
  };
16506
+ '/settings/restart_worker_group/{worker_group}': {
16507
+ post: {
16508
+ req: {
16509
+ /**
16510
+ * the name of the worker group to restart
16511
+ */
16512
+ workerGroup: string;
16513
+ };
16514
+ res: {
16515
+ /**
16516
+ * restart signal sent
16517
+ */
16518
+ 200: string;
16519
+ };
16520
+ };
16521
+ };
14841
16522
  '/settings/get_stats': {
14842
16523
  get: {
14843
16524
  res: {
14844
16525
  /**
14845
- * base64-encoded encrypted telemetry blob
16526
+ * telemetry stats JSON with signature
14846
16527
  */
14847
- 200: string;
16528
+ 200: {
16529
+ signature?: string;
16530
+ data?: string;
16531
+ };
14848
16532
  };
14849
16533
  };
14850
16534
  };
@@ -15014,6 +16698,93 @@ export type $OpenApiTs = {
15014
16698
  };
15015
16699
  };
15016
16700
  };
16701
+ '/settings/test_azure_kv_backend': {
16702
+ post: {
16703
+ req: {
16704
+ /**
16705
+ * Azure Key Vault settings to test
16706
+ */
16707
+ requestBody: AzureKeyVaultSettings;
16708
+ };
16709
+ res: {
16710
+ /**
16711
+ * connection successful
16712
+ */
16713
+ 200: string;
16714
+ };
16715
+ };
16716
+ };
16717
+ '/settings/migrate_secrets_to_azure_kv': {
16718
+ post: {
16719
+ req: {
16720
+ /**
16721
+ * Azure Key Vault settings for migration target
16722
+ */
16723
+ requestBody: AzureKeyVaultSettings;
16724
+ };
16725
+ res: {
16726
+ /**
16727
+ * migration report
16728
+ */
16729
+ 200: SecretMigrationReport;
16730
+ };
16731
+ };
16732
+ };
16733
+ '/settings/migrate_secrets_from_azure_kv': {
16734
+ post: {
16735
+ req: {
16736
+ /**
16737
+ * Azure Key Vault settings for migration source
16738
+ */
16739
+ requestBody: AzureKeyVaultSettings;
16740
+ };
16741
+ res: {
16742
+ /**
16743
+ * migration report
16744
+ */
16745
+ 200: SecretMigrationReport;
16746
+ };
16747
+ };
16748
+ };
16749
+ '/settings/test_aws_sm_backend': {
16750
+ post: {
16751
+ req: {
16752
+ requestBody: AwsSecretsManagerSettings;
16753
+ };
16754
+ res: {
16755
+ /**
16756
+ * connection test result
16757
+ */
16758
+ 200: string;
16759
+ };
16760
+ };
16761
+ };
16762
+ '/settings/migrate_secrets_to_aws_sm': {
16763
+ post: {
16764
+ req: {
16765
+ requestBody: AwsSecretsManagerSettings;
16766
+ };
16767
+ res: {
16768
+ /**
16769
+ * migration report
16770
+ */
16771
+ 200: SecretMigrationReport;
16772
+ };
16773
+ };
16774
+ };
16775
+ '/settings/migrate_secrets_from_aws_sm': {
16776
+ post: {
16777
+ req: {
16778
+ requestBody: AwsSecretsManagerSettings;
16779
+ };
16780
+ res: {
16781
+ /**
16782
+ * migration report
16783
+ */
16784
+ 200: SecretMigrationReport;
16785
+ };
16786
+ };
16787
+ };
15017
16788
  '/w/{workspace}/workspaces/get_secondary_storage_names': {
15018
16789
  get: {
15019
16790
  req: {
@@ -15317,7 +17088,11 @@ export type $OpenApiTs = {
15317
17088
  /**
15318
17089
  * pattern match filter for description field (case-insensitive)
15319
17090
  */
15320
- description?: string;
17091
+ description?: string;
17092
+ /**
17093
+ * Filter by label
17094
+ */
17095
+ label?: string;
15321
17096
  /**
15322
17097
  * which page to return (start at 1, default 1)
15323
17098
  */
@@ -15450,6 +17225,10 @@ export type $OpenApiTs = {
15450
17225
  * MCP server URL for MCP OAuth token refresh
15451
17226
  */
15452
17227
  mcp_server_url?: string;
17228
+ /**
17229
+ * OAuth scopes to use for token refresh. Overrides instance-level scopes.
17230
+ */
17231
+ scopes?: Array<(string)>;
15453
17232
  };
15454
17233
  workspace: string;
15455
17234
  };
@@ -15822,6 +17601,10 @@ export type $OpenApiTs = {
15822
17601
  * pattern match filter for description field (case-insensitive)
15823
17602
  */
15824
17603
  description?: string;
17604
+ /**
17605
+ * Filter by label
17606
+ */
17607
+ label?: string;
15825
17608
  /**
15826
17609
  * which page to return (start at 1, default 1)
15827
17610
  */
@@ -16256,6 +18039,10 @@ export type $OpenApiTs = {
16256
18039
  *
16257
18040
  */
16258
18041
  includeDraftOnly?: boolean;
18042
+ /**
18043
+ * Filter by label
18044
+ */
18045
+ label?: string;
16259
18046
  /**
16260
18047
  * order by desc order (default true)
16261
18048
  */
@@ -16694,6 +18481,10 @@ export type $OpenApiTs = {
16694
18481
  *
16695
18482
  */
16696
18483
  includeDraftOnly?: boolean;
18484
+ /**
18485
+ * Filter by label
18486
+ */
18487
+ label?: string;
16697
18488
  /**
16698
18489
  * order by desc order (default true)
16699
18490
  */
@@ -16754,6 +18545,7 @@ export type $OpenApiTs = {
16754
18545
  * When true and the caller is a member of the 'wm_deployers' group, preserves the original on_behalf_of value in the policy instead of overwriting it.
16755
18546
  */
16756
18547
  preserve_on_behalf_of?: boolean;
18548
+ labels?: Array<(string)>;
16757
18549
  };
16758
18550
  workspace: string;
16759
18551
  };
@@ -16784,6 +18576,7 @@ export type $OpenApiTs = {
16784
18576
  * When true and the caller is a member of the 'wm_deployers' group, preserves the original on_behalf_of value in the policy instead of overwriting it.
16785
18577
  */
16786
18578
  preserve_on_behalf_of?: boolean;
18579
+ labels?: Array<(string)>;
16787
18580
  };
16788
18581
  js?: string;
16789
18582
  css?: string;
@@ -17021,6 +18814,7 @@ export type $OpenApiTs = {
17021
18814
  * When true and the caller is a member of the 'wm_deployers' group, preserves the original on_behalf_of value in the policy instead of overwriting it.
17022
18815
  */
17023
18816
  preserve_on_behalf_of?: boolean;
18817
+ labels?: Array<(string)>;
17024
18818
  };
17025
18819
  workspace: string;
17026
18820
  };
@@ -17050,6 +18844,7 @@ export type $OpenApiTs = {
17050
18844
  * When true and the caller is a member of the 'wm_deployers' group, preserves the original on_behalf_of value in the policy instead of overwriting it.
17051
18845
  */
17052
18846
  preserve_on_behalf_of?: boolean;
18847
+ labels?: Array<(string)>;
17053
18848
  };
17054
18849
  js?: string;
17055
18850
  css?: string;
@@ -17362,6 +19157,10 @@ export type $OpenApiTs = {
17362
19157
  *
17363
19158
  */
17364
19159
  kinds?: string;
19160
+ /**
19161
+ * Filter by label
19162
+ */
19163
+ label?: string;
17365
19164
  /**
17366
19165
  * Filter to only include scripts written in the given languages.
17367
19166
  * Accepts multiple values as a comma-separated list.
@@ -17690,6 +19489,23 @@ export type $OpenApiTs = {
17690
19489
  };
17691
19490
  };
17692
19491
  };
19492
+ '/w/{workspace}/scripts/list_dedicated_with_deps': {
19493
+ get: {
19494
+ req: {
19495
+ workspace: string;
19496
+ };
19497
+ res: {
19498
+ /**
19499
+ * list of dedicated scripts with their workspace dependency names
19500
+ */
19501
+ 200: Array<{
19502
+ path: string;
19503
+ language: 'python3' | 'deno' | 'go' | 'bash' | 'powershell' | 'postgresql' | 'mysql' | 'bigquery' | 'snowflake' | 'mssql' | 'graphql' | 'nativets' | 'bun' | 'bunnative' | 'php' | 'rust' | 'ansible' | 'csharp' | 'oracledb' | 'duckdb' | 'java' | 'ruby';
19504
+ workspace_dep_names: Array<(string)>;
19505
+ }>;
19506
+ };
19507
+ };
19508
+ };
17693
19509
  '/w/{workspace}/scripts/raw/p/{path}': {
17694
19510
  get: {
17695
19511
  req: {
@@ -17781,6 +19597,101 @@ export type $OpenApiTs = {
17781
19597
  };
17782
19598
  };
17783
19599
  };
19600
+ '/w/{workspace}/scripts/ci_test_results/{kind}/{path}': {
19601
+ get: {
19602
+ req: {
19603
+ kind: 'script' | 'flow' | 'resource';
19604
+ path: string;
19605
+ workspace: string;
19606
+ };
19607
+ res: {
19608
+ /**
19609
+ * CI test results
19610
+ */
19611
+ 200: Array<CiTestResult>;
19612
+ };
19613
+ };
19614
+ };
19615
+ '/w/{workspace}/scripts/ci_test_results_batch': {
19616
+ post: {
19617
+ req: {
19618
+ requestBody: {
19619
+ items: Array<{
19620
+ path: string;
19621
+ kind: 'script' | 'flow' | 'resource';
19622
+ }>;
19623
+ };
19624
+ workspace: string;
19625
+ };
19626
+ res: {
19627
+ /**
19628
+ * CI test results by item key
19629
+ */
19630
+ 200: {
19631
+ [key: string]: Array<CiTestResult>;
19632
+ };
19633
+ };
19634
+ };
19635
+ };
19636
+ '/w/{workspace}/scripts/raw_temp/store': {
19637
+ post: {
19638
+ req: {
19639
+ /**
19640
+ * script content to store
19641
+ */
19642
+ requestBody: string;
19643
+ workspace: string;
19644
+ };
19645
+ res: {
19646
+ /**
19647
+ * hash of stored content
19648
+ */
19649
+ 200: string;
19650
+ };
19651
+ };
19652
+ };
19653
+ '/w/{workspace}/scripts/raw_temp/diff': {
19654
+ post: {
19655
+ req: {
19656
+ /**
19657
+ * scripts and workspace deps to diff against deployed versions
19658
+ */
19659
+ requestBody: {
19660
+ /**
19661
+ * map of script path to SHA256 content hash
19662
+ */
19663
+ scripts: {
19664
+ [key: string]: (string);
19665
+ };
19666
+ /**
19667
+ * workspace dependencies to diff
19668
+ */
19669
+ workspace_deps?: Array<{
19670
+ /**
19671
+ * CLI path (e.g. dependencies/package.json)
19672
+ */
19673
+ path: string;
19674
+ language: ScriptLang;
19675
+ /**
19676
+ * named workspace dependency (null for default)
19677
+ */
19678
+ name?: string;
19679
+ /**
19680
+ * SHA256 content hash
19681
+ */
19682
+ hash: string;
19683
+ }>;
19684
+ };
19685
+ workspace: string;
19686
+ };
19687
+ res: {
19688
+ /**
19689
+ * list of paths that differ from deployed versions
19690
+ */
19691
+ 200: Array<(string)>;
19692
+ };
19693
+ };
19694
+ };
17784
19695
  '/w/{workspace}/drafts/create': {
17785
19696
  post: {
17786
19697
  req: {
@@ -20075,6 +21986,20 @@ export type $OpenApiTs = {
20075
21986
  };
20076
21987
  };
20077
21988
  };
21989
+ '/w/{workspace}/jobs_u/get_flow_all_logs/{id}': {
21990
+ get: {
21991
+ req: {
21992
+ id: string;
21993
+ workspace: string;
21994
+ };
21995
+ res: {
21996
+ /**
21997
+ * concatenated logs of all flow steps
21998
+ */
21999
+ 200: string;
22000
+ };
22001
+ };
22002
+ };
20078
22003
  '/w/{workspace}/jobs_u/get_completed_logs_tail/{id}': {
20079
22004
  get: {
20080
22005
  req: {
@@ -20153,6 +22078,7 @@ export type $OpenApiTs = {
20153
22078
  '/w/{workspace}/jobs_u/getupdate_sse/{id}': {
20154
22079
  get: {
20155
22080
  req: {
22081
+ fast?: boolean;
20156
22082
  getProgress?: boolean;
20157
22083
  id: string;
20158
22084
  logOffset?: number;
@@ -20461,6 +22387,83 @@ export type $OpenApiTs = {
20461
22387
  };
20462
22388
  };
20463
22389
  };
22390
+ '/w/{workspace}/jobs_u/flow/resume_suspended/{job_id}': {
22391
+ post: {
22392
+ req: {
22393
+ jobId: string;
22394
+ requestBody: {
22395
+ /**
22396
+ * payload to send to the resumed job
22397
+ */
22398
+ payload?: unknown;
22399
+ /**
22400
+ * approval token for unauthenticated access
22401
+ */
22402
+ approval_token?: string;
22403
+ /**
22404
+ * whether to approve (true) or cancel (false) the job
22405
+ */
22406
+ approved?: boolean;
22407
+ };
22408
+ workspace: string;
22409
+ };
22410
+ res: {
22411
+ /**
22412
+ * job resumed
22413
+ */
22414
+ 201: string;
22415
+ };
22416
+ };
22417
+ };
22418
+ '/w/{workspace}/jobs_u/flow/approval_info/{job_id}': {
22419
+ get: {
22420
+ req: {
22421
+ jobId: string;
22422
+ /**
22423
+ * approval token for unauthenticated access
22424
+ */
22425
+ token?: string;
22426
+ workspace: string;
22427
+ };
22428
+ res: {
22429
+ /**
22430
+ * approval info
22431
+ */
22432
+ 200: {
22433
+ flow_id: string;
22434
+ /**
22435
+ * form schema for the approval step
22436
+ */
22437
+ form_schema?: unknown;
22438
+ /**
22439
+ * description of the approval step
22440
+ */
22441
+ description?: unknown;
22442
+ approval_conditions?: {
22443
+ user_auth_required: boolean;
22444
+ user_groups_required: Array<(string)>;
22445
+ self_approval_disabled: boolean;
22446
+ };
22447
+ /**
22448
+ * whether the current user/token holder can approve
22449
+ */
22450
+ can_approve: boolean;
22451
+ /**
22452
+ * whether user authentication is required to approve
22453
+ */
22454
+ user_auth_required: boolean;
22455
+ /**
22456
+ * whether to hide the cancel button in the UI
22457
+ */
22458
+ hide_cancel?: boolean;
22459
+ approvers: Array<{
22460
+ resume_id: number;
22461
+ approver: string;
22462
+ }>;
22463
+ };
22464
+ };
22465
+ };
22466
+ };
20464
22467
  '/w/{workspace}/jobs_u/resume/{id}/{resume_id}/{signature}': {
20465
22468
  get: {
20466
22469
  req: {
@@ -20811,6 +22814,21 @@ export type $OpenApiTs = {
20811
22814
  };
20812
22815
  };
20813
22816
  };
22817
+ '/w/{workspace}/path_autocomplete/list_paths': {
22818
+ get: {
22819
+ req: {
22820
+ workspace: string;
22821
+ };
22822
+ res: {
22823
+ /**
22824
+ * deduplicated path list, sorted lexicographically
22825
+ */
22826
+ 200: {
22827
+ paths: Array<(string)>;
22828
+ };
22829
+ };
22830
+ };
22831
+ };
20814
22832
  '/w/{workspace}/raw_apps/list': {
20815
22833
  get: {
20816
22834
  req: {
@@ -20818,6 +22836,10 @@ export type $OpenApiTs = {
20818
22836
  * filter by exact matching user creator. Supports comma-separated list (e.g. 'alice,bob') and negation by prefixing all values with '!' (e.g. '!alice,!bob')
20819
22837
  */
20820
22838
  createdBy?: string;
22839
+ /**
22840
+ * Filter by label
22841
+ */
22842
+ label?: string;
20821
22843
  /**
20822
22844
  * order by desc order (default true)
20823
22845
  */
@@ -21050,6 +23072,10 @@ export type $OpenApiTs = {
21050
23072
  * filter schedules by whether they target a flow
21051
23073
  */
21052
23074
  isFlow?: boolean;
23075
+ /**
23076
+ * Filter by label
23077
+ */
23078
+ label?: string;
21053
23079
  /**
21054
23080
  * which page to return (start at 1, default 1)
21055
23081
  */
@@ -21250,6 +23276,10 @@ export type $OpenApiTs = {
21250
23276
  get: {
21251
23277
  req: {
21252
23278
  isFlow?: boolean;
23279
+ /**
23280
+ * Filter by label
23281
+ */
23282
+ label?: string;
21253
23283
  /**
21254
23284
  * which page to return (start at 1, default 1)
21255
23285
  */
@@ -21393,6 +23423,10 @@ export type $OpenApiTs = {
21393
23423
  get: {
21394
23424
  req: {
21395
23425
  isFlow?: boolean;
23426
+ /**
23427
+ * Filter by label
23428
+ */
23429
+ label?: string;
21396
23430
  /**
21397
23431
  * which page to return (start at 1, default 1)
21398
23432
  */
@@ -21538,6 +23572,10 @@ export type $OpenApiTs = {
21538
23572
  get: {
21539
23573
  req: {
21540
23574
  isFlow?: boolean;
23575
+ /**
23576
+ * Filter by label
23577
+ */
23578
+ label?: string;
21541
23579
  /**
21542
23580
  * which page to return (start at 1, default 1)
21543
23581
  */
@@ -21719,6 +23757,10 @@ export type $OpenApiTs = {
21719
23757
  get: {
21720
23758
  req: {
21721
23759
  isFlow?: boolean;
23760
+ /**
23761
+ * Filter by label
23762
+ */
23763
+ label?: string;
21722
23764
  /**
21723
23765
  * which page to return (start at 1, default 1)
21724
23766
  */
@@ -21864,6 +23906,10 @@ export type $OpenApiTs = {
21864
23906
  get: {
21865
23907
  req: {
21866
23908
  isFlow?: boolean;
23909
+ /**
23910
+ * Filter by label
23911
+ */
23912
+ label?: string;
21867
23913
  /**
21868
23914
  * which page to return (start at 1, default 1)
21869
23915
  */
@@ -22157,6 +24203,10 @@ export type $OpenApiTs = {
22157
24203
  * filter by is_flow
22158
24204
  */
22159
24205
  isFlow?: boolean;
24206
+ /**
24207
+ * Filter by label
24208
+ */
24209
+ label?: string;
22160
24210
  /**
22161
24211
  * which page to return (start at 1, default 1)
22162
24212
  */
@@ -22280,6 +24330,19 @@ export type $OpenApiTs = {
22280
24330
  };
22281
24331
  };
22282
24332
  };
24333
+ '/w/{workspace}/native_triggers/github/repos': {
24334
+ get: {
24335
+ req: {
24336
+ workspace: string;
24337
+ };
24338
+ res: {
24339
+ /**
24340
+ * list of GitHub repositories
24341
+ */
24342
+ 200: Array<GithubRepoEntry>;
24343
+ };
24344
+ };
24345
+ };
22283
24346
  '/native_triggers/{service_name}/w/{workspace_id}/webhook/{internal_id}': {
22284
24347
  post: {
22285
24348
  req: {
@@ -22371,6 +24434,10 @@ export type $OpenApiTs = {
22371
24434
  get: {
22372
24435
  req: {
22373
24436
  isFlow?: boolean;
24437
+ /**
24438
+ * Filter by label
24439
+ */
24440
+ label?: string;
22374
24441
  /**
22375
24442
  * which page to return (start at 1, default 1)
22376
24443
  */
@@ -22516,6 +24583,10 @@ export type $OpenApiTs = {
22516
24583
  get: {
22517
24584
  req: {
22518
24585
  isFlow?: boolean;
24586
+ /**
24587
+ * Filter by label
24588
+ */
24589
+ label?: string;
22519
24590
  /**
22520
24591
  * which page to return (start at 1, default 1)
22521
24592
  */
@@ -22914,6 +24985,10 @@ export type $OpenApiTs = {
22914
24985
  get: {
22915
24986
  req: {
22916
24987
  isFlow?: boolean;
24988
+ /**
24989
+ * Filter by label
24990
+ */
24991
+ label?: string;
22917
24992
  /**
22918
24993
  * which page to return (start at 1, default 1)
22919
24994
  */
@@ -23057,6 +25132,10 @@ export type $OpenApiTs = {
23057
25132
  get: {
23058
25133
  req: {
23059
25134
  isFlow?: boolean;
25135
+ /**
25136
+ * Filter by label
25137
+ */
25138
+ label?: string;
23060
25139
  /**
23061
25140
  * which page to return (start at 1, default 1)
23062
25141
  */
@@ -23161,7 +25240,7 @@ export type $OpenApiTs = {
23161
25240
  /**
23162
25241
  * instance group
23163
25242
  */
23164
- 200: InstanceGroup;
25243
+ 200: InstanceGroupWithWorkspaces;
23165
25244
  };
23166
25245
  };
23167
25246
  };
@@ -23193,6 +25272,10 @@ export type $OpenApiTs = {
23193
25272
  */
23194
25273
  requestBody: {
23195
25274
  new_summary: string;
25275
+ /**
25276
+ * Instance-level role for group members. 'superadmin', 'devops', 'user' or empty to clear.
25277
+ */
25278
+ instance_role?: string | null;
23196
25279
  };
23197
25280
  };
23198
25281
  res: {
@@ -23503,6 +25586,7 @@ export type $OpenApiTs = {
23503
25586
  summary?: string;
23504
25587
  owners?: Array<(string)>;
23505
25588
  extra_perms?: unknown;
25589
+ default_permissioned_as?: FolderDefaultPermissionedAs;
23506
25590
  };
23507
25591
  workspace: string;
23508
25592
  };
@@ -23525,6 +25609,7 @@ export type $OpenApiTs = {
23525
25609
  summary?: string;
23526
25610
  owners?: Array<(string)>;
23527
25611
  extra_perms?: unknown;
25612
+ default_permissioned_as?: FolderDefaultPermissionedAs;
23528
25613
  };
23529
25614
  workspace: string;
23530
25615
  };
@@ -23777,6 +25862,35 @@ export type $OpenApiTs = {
23777
25862
  };
23778
25863
  };
23779
25864
  };
25865
+ '/configs/list_all_workspace_dependencies': {
25866
+ get: {
25867
+ res: {
25868
+ /**
25869
+ * a list of workspace dependency summaries
25870
+ */
25871
+ 200: Array<{
25872
+ workspace_id: string;
25873
+ name?: string;
25874
+ language: ScriptLang;
25875
+ }>;
25876
+ };
25877
+ };
25878
+ };
25879
+ '/configs/list_all_dedicated_with_deps': {
25880
+ get: {
25881
+ res: {
25882
+ /**
25883
+ * a list of dedicated scripts with workspace dependencies
25884
+ */
25885
+ 200: Array<{
25886
+ workspace_id: string;
25887
+ path: string;
25888
+ language: ScriptLang;
25889
+ workspace_dep_names: Array<(string)>;
25890
+ }>;
25891
+ };
25892
+ };
25893
+ };
23780
25894
  '/agent_workers/create_agent_token': {
23781
25895
  post: {
23782
25896
  req: {
@@ -24918,6 +27032,19 @@ export type $OpenApiTs = {
24918
27032
  };
24919
27033
  };
24920
27034
  };
27035
+ '/srch/index/storage/disk': {
27036
+ get: {
27037
+ res: {
27038
+ /**
27039
+ * disk storage sizes for each index
27040
+ */
27041
+ 200: {
27042
+ job_index_disk_size_bytes?: number | null;
27043
+ log_index_disk_size_bytes?: number | null;
27044
+ };
27045
+ };
27046
+ };
27047
+ };
24921
27048
  '/indexer/delete/{idx_name}': {
24922
27049
  delete: {
24923
27050
  req: {