windmill-components 1.677.1 → 1.695.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 (552) hide show
  1. package/package/components/AppConnectInner.svelte +6 -0
  2. package/package/components/ArgInput.svelte +2 -0
  3. package/package/components/AutoscalingConfigEditor.svelte +18 -4
  4. package/package/components/CiTestResults.svelte +64 -0
  5. package/package/components/CiTestResults.svelte.d.ts +7 -0
  6. package/package/components/CompareWorkspaces.svelte +741 -484
  7. package/package/components/DBManager.svelte +35 -4
  8. package/package/components/DBManager.svelte.d.ts +2 -0
  9. package/package/components/DBManagerContent.svelte +3 -1
  10. package/package/components/DBManagerContent.svelte.d.ts +3 -0
  11. package/package/components/DBManagerDrawer.svelte +145 -3
  12. package/package/components/DBTableEditor.svelte +14 -4
  13. package/package/components/DatatablePicker.svelte +2 -5
  14. package/package/components/DatatableSchemaDiff.svelte +531 -0
  15. package/package/components/DatatableSchemaDiff.svelte.d.ts +29 -0
  16. package/package/components/DedicatedWorkersSelector.svelte +4 -2
  17. package/package/components/DefaultTagsInner.svelte +42 -2
  18. package/package/components/DeployWorkspaceDrawer.svelte +1 -1
  19. package/package/components/Dev.svelte +407 -74
  20. package/package/components/EditableSchemaForm.svelte +4 -0
  21. package/package/components/Editor.svelte +1 -1
  22. package/package/components/EditorBar.svelte +1 -1
  23. package/package/components/EditorBar.svelte.d.ts +1 -1
  24. package/package/components/ErrorOrRecoveryHandler.svelte +2 -2
  25. package/package/components/FlowPreviewContent.svelte +32 -30
  26. package/package/components/FlowRestartButton.svelte +143 -61
  27. package/package/components/FlowRestartButton.svelte.d.ts +37 -0
  28. package/package/components/FlowStatusViewer.svelte +15 -1
  29. package/package/components/FlowStatusViewer.svelte.d.ts +10 -2
  30. package/package/components/FlowStatusViewerInner.svelte +270 -222
  31. package/package/components/FlowStatusViewerInner.svelte.d.ts +6 -2
  32. package/package/components/FlowTimeline.svelte +1 -1
  33. package/package/components/FolderEditor.svelte +189 -4
  34. package/package/components/ForkConflictModal.svelte +57 -0
  35. package/package/components/ForkConflictModal.svelte.d.ts +3 -0
  36. package/package/components/ForkWorkspaceBanner.svelte +82 -11
  37. package/package/components/GitRepoViewer.svelte +251 -97
  38. package/package/components/GlobalUserOffboardingModal.svelte +293 -0
  39. package/package/components/GlobalUserOffboardingModal.svelte.d.ts +10 -0
  40. package/package/components/InputTransformSchemaForm.svelte +1 -1
  41. package/package/components/InstanceSettings.svelte +58 -19
  42. package/package/components/Login.svelte +133 -36
  43. package/package/components/Login.svelte.d.ts +1 -0
  44. package/package/components/ModuleTest.svelte +2 -1
  45. package/package/components/NoMainFuncBadge.svelte +1 -1
  46. package/package/components/OffboardItemsBox.svelte +56 -0
  47. package/package/components/OffboardItemsBox.svelte.d.ts +12 -0
  48. package/package/components/OffboardReassignControls.svelte +47 -0
  49. package/package/components/OffboardReassignControls.svelte.d.ts +20 -0
  50. package/package/components/OffboardWorkspaceSection.svelte +110 -0
  51. package/package/components/OffboardWorkspaceSection.svelte.d.ts +24 -0
  52. package/package/components/OnBehalfOfSelector.svelte +21 -3
  53. package/package/components/OnBehalfOfSelector.svelte.d.ts +7 -0
  54. package/package/components/Path.svelte +7 -1
  55. package/package/components/Path.svelte.d.ts +1 -1
  56. package/package/components/QueueAlerts.svelte +10 -10
  57. package/package/components/ResourcePicker.svelte +2 -2
  58. package/package/components/RunsPage.svelte +2 -1
  59. package/package/components/S3FilePickerInner.svelte +89 -89
  60. package/package/components/ScriptBuilder.svelte +52 -11
  61. package/package/components/ScriptEditor.svelte +19 -8
  62. package/package/components/ScriptEditor.svelte.d.ts +1 -1
  63. package/package/components/ShareModal.svelte +236 -98
  64. package/package/components/ShareModal.svelte.d.ts +1 -1
  65. package/package/components/SuperadminSettingsInner.svelte +362 -315
  66. package/package/components/UserOffboardingModal.svelte +238 -0
  67. package/package/components/UserOffboardingModal.svelte.d.ts +10 -0
  68. package/package/components/WorkspaceDeployLayout.svelte +3 -3
  69. package/package/components/WorkspaceDeployLayout.svelte.d.ts +1 -0
  70. package/package/components/apps/components/helpers/RunnableComponent.svelte.d.ts +3 -0
  71. package/package/components/apps/components/helpers/executeRunnable.js +2 -1
  72. package/package/components/apps/editor/AppReportsDrawerInner.svelte +1 -1
  73. package/package/components/apps/editor/appPolicy.js +2 -1
  74. package/package/components/apps/editor/commonAppUtils.d.ts +3 -0
  75. package/package/components/apps/editor/inlineScriptsPanel/CacheTtlPopup.svelte +1 -1
  76. package/package/components/apps/editor/inlineScriptsPanel/InlineScriptEditor.svelte +7 -0
  77. package/package/components/apps/editor/inlineScriptsPanel/InlineScriptRunnableByPath.svelte +4 -2
  78. package/package/components/apps/editor/inlineScriptsPanel/TagPopup.svelte +49 -0
  79. package/package/components/apps/editor/inlineScriptsPanel/TagPopup.svelte.d.ts +9 -0
  80. package/package/components/apps/editor/settingsPanel/mainInput/RunnableSelector.svelte +12 -0
  81. package/package/components/apps/inputType.d.ts +1 -0
  82. package/package/components/apps/sharedTypes.d.ts +1 -0
  83. package/package/components/assets/AssetsDropdownButton.svelte +1 -1
  84. package/package/components/auditLogs/AuditLogsFilters.svelte +8 -3
  85. package/package/components/common/confirmationModal/ConfirmationModal.svelte +1 -1
  86. package/package/components/common/fileUpload/S3ArgInput.svelte +12 -10
  87. package/package/components/common/fileUpload/S3ArgInput.svelte.d.ts +2 -0
  88. package/package/components/common/table/AppRow.svelte +3 -3
  89. package/package/components/common/table/FlowRow.svelte +3 -3
  90. package/package/components/common/table/RawAppRow.svelte +4 -4
  91. package/package/components/common/table/Row.svelte +6 -2
  92. package/package/components/common/table/ScriptRow.svelte +11 -3
  93. package/package/components/copilot/chat/AIChatDisplay.svelte +5 -36
  94. package/package/components/copilot/chat/AIChatInput.svelte +56 -47
  95. package/package/components/copilot/chat/AIChatManager.svelte.js +50 -48
  96. package/package/components/copilot/chat/ContextElementBadge.svelte +6 -4
  97. package/package/components/copilot/chat/anthropic.d.ts +7 -1
  98. package/package/components/copilot/chat/anthropic.js +5 -2
  99. package/package/components/copilot/chat/app/core.d.ts +12 -20
  100. package/package/components/copilot/chat/app/core.js +230 -159
  101. package/package/components/copilot/chat/app/core.test.js +417 -0
  102. package/package/components/copilot/chat/chatLoop.d.ts +3 -0
  103. package/package/components/copilot/chat/chatLoop.js +13 -5
  104. package/package/components/copilot/chat/context.js +44 -0
  105. package/package/components/copilot/chat/flow/FlowAIChat.svelte +57 -76
  106. package/package/components/copilot/chat/flow/core.d.ts +14 -3
  107. package/package/components/copilot/chat/flow/core.js +494 -116
  108. package/package/components/copilot/chat/flow/helperUtils.d.ts +22 -0
  109. package/package/components/copilot/chat/flow/helperUtils.js +100 -0
  110. package/package/components/copilot/chat/flow/helperUtils.test.js +231 -0
  111. package/package/components/copilot/chat/flow/inlineScriptsUtils.d.ts +5 -24
  112. package/package/components/copilot/chat/flow/inlineScriptsUtils.js +30 -55
  113. package/package/components/copilot/chat/flow/openFlow.json +1 -1
  114. package/package/components/copilot/chat/flow/openFlowZod.gen.js +24 -0
  115. package/package/components/copilot/chat/flow/utils.test.js +59 -0
  116. package/package/components/copilot/chat/openai-responses.d.ts +7 -1
  117. package/package/components/copilot/chat/openai-responses.js +5 -2
  118. package/package/components/copilot/chat/script/core.js +3 -0
  119. package/package/components/copilot/chat/shared.d.ts +7 -2
  120. package/package/components/copilot/chat/shared.js +116 -53
  121. package/package/components/copilot/chat/shared.test.d.ts +1 -0
  122. package/package/components/copilot/chat/shared.test.js +412 -0
  123. package/package/components/copilot/chat/tokenUsage.d.ts +23 -0
  124. package/package/components/copilot/chat/tokenUsage.js +42 -0
  125. package/package/components/copilot/chat/workspaceTools.d.ts +7 -0
  126. package/package/components/copilot/chat/workspaceTools.js +239 -0
  127. package/package/components/copilot/chat/workspaceToolsZod.gen.d.ts +1295 -0
  128. package/package/components/copilot/chat/workspaceToolsZod.gen.js +424 -0
  129. package/package/components/copilot/lib.d.ts +5 -1
  130. package/package/components/copilot/lib.js +24 -6
  131. package/package/components/copilot/lib.test.d.ts +1 -0
  132. package/package/components/copilot/lib.test.js +19 -0
  133. package/package/components/copilot/modelConfig.d.ts +3 -0
  134. package/package/components/copilot/modelConfig.js +10 -0
  135. package/package/components/deploymentRequest/DeploymentRequestPanel.svelte +337 -0
  136. package/package/components/deploymentRequest/DeploymentRequestPanel.svelte.d.ts +15 -0
  137. package/package/components/details/CopyableCodeBlock.svelte +18 -8
  138. package/package/components/details/CopyableCodeBlock.svelte.d.ts +1 -0
  139. package/package/components/flows/FlowAssetsHandler.svelte +19 -21
  140. package/package/components/flows/FlowProgressBar.svelte +5 -2
  141. package/package/components/flows/agentToolTree.d.ts +17 -0
  142. package/package/components/flows/agentToolTree.js +114 -0
  143. package/package/components/flows/agentToolTree.test.d.ts +1 -0
  144. package/package/components/flows/agentToolTree.test.js +86 -0
  145. package/package/components/flows/agentToolUtils.d.ts +0 -5
  146. package/package/components/flows/agentToolUtils.js +0 -49
  147. package/package/components/flows/content/FlowLoop.svelte +7 -4
  148. package/package/components/flows/content/FlowModuleComponent.svelte +636 -599
  149. package/package/components/flows/content/FlowModuleDeleteAfterUse.svelte +15 -7
  150. package/package/components/flows/content/FlowSettings.svelte +29 -0
  151. package/package/components/flows/conversations/FlowChatManager.svelte.js +21 -10
  152. package/package/components/flows/dfs.d.ts +6 -2
  153. package/package/components/flows/dfs.js +19 -11
  154. package/package/components/flows/flowDeleteController.d.ts +32 -0
  155. package/package/components/flows/flowDeleteController.js +54 -0
  156. package/package/components/flows/flowDeleteController.test.d.ts +1 -0
  157. package/package/components/flows/flowDeleteController.test.js +121 -0
  158. package/package/components/flows/flowDeleteUtils.d.ts +48 -0
  159. package/package/components/flows/flowDeleteUtils.js +150 -0
  160. package/package/components/flows/flowDeleteUtils.test.d.ts +1 -0
  161. package/package/components/flows/flowDeleteUtils.test.js +131 -0
  162. package/package/components/flows/flowDiff.d.ts +2 -47
  163. package/package/components/flows/flowDiff.js +16 -293
  164. package/package/components/flows/flowDiff.testUtils.d.ts +8 -0
  165. package/package/components/flows/flowDiff.testUtils.js +26 -0
  166. package/package/components/flows/flowDiffManager.svelte.js +20 -75
  167. package/package/components/flows/flowDiffManager.svelte.test.js +103 -2
  168. package/package/components/flows/flowExplorer.d.ts +4 -0
  169. package/package/components/flows/flowExplorer.js +7 -30
  170. package/package/components/flows/flowState.d.ts +1 -0
  171. package/package/components/flows/flowStateUtils.svelte.js +11 -2
  172. package/package/components/flows/flowTree.d.ts +91 -0
  173. package/package/components/flows/flowTree.js +326 -0
  174. package/package/components/flows/flowTree.test.d.ts +1 -0
  175. package/package/components/flows/flowTree.test.js +236 -0
  176. package/package/components/flows/map/FlowJobsMenu.svelte +36 -30
  177. package/package/components/flows/map/FlowModuleSchemaItem.svelte +1 -1
  178. package/package/components/flows/map/FlowModuleSchemaMap.svelte +73 -229
  179. package/package/components/flows/map/FlowModuleSchemaMap.svelte.d.ts +1 -2
  180. package/package/components/flows/pickers/PickHubScriptQuick.svelte +2 -2
  181. package/package/components/flows/previousResults.js +13 -41
  182. package/package/components/flows/previousResults.test.d.ts +1 -0
  183. package/package/components/flows/previousResults.test.js +65 -0
  184. package/package/components/flows/propPicker/OutputPicker.svelte +2 -1
  185. package/package/components/flows/propPicker/OutputPickerInner.svelte +41 -4
  186. package/package/components/flows/propPicker/StepHistory.svelte +9 -1
  187. package/package/components/git_sync/GitSyncContext.svelte.js +11 -7
  188. package/package/components/git_sync/GitSyncRepositoryCard.svelte +2 -29
  189. package/package/components/git_sync/PullWorkspaceModal.svelte +6 -7
  190. package/package/components/graph/FlowGraphV2.svelte +8 -4
  191. package/package/components/graph/FlowGraphV2.svelte.d.ts +2 -0
  192. package/package/components/graph/groupedModulesProxy.svelte.d.ts +10 -0
  193. package/package/components/graph/groupedModulesProxy.svelte.js +17 -1
  194. package/package/components/graph/renderers/triggers/TriggersBadge.svelte +8 -2
  195. package/package/components/home/HomeConnectDrawer.svelte +125 -0
  196. package/package/components/home/HomeConnectDrawer.svelte.d.ts +5 -0
  197. package/package/components/home/deploy_ui.js +1 -1
  198. package/package/components/icons/AzureIcon.svelte +12 -25
  199. package/package/components/icons/AzureIcon.svelte.d.ts +3 -2
  200. package/package/components/icons/GithubIcon.svelte +4 -4
  201. package/package/components/icons/GithubIcon.svelte.d.ts +5 -2
  202. package/package/components/instanceSettings/ExternalJwtTokens.svelte +85 -0
  203. package/package/components/instanceSettings/ExternalJwtTokens.svelte.d.ts +12 -0
  204. package/package/components/instanceSettings/GhesAppSettings.svelte +17 -0
  205. package/package/components/instanceSettings/IndexerMemorySettings.svelte +56 -29
  206. package/package/components/instanceSettings/SecretBackendConfig.svelte +9 -2
  207. package/package/components/instanceSettings.d.ts +1 -0
  208. package/package/components/instanceSettings.js +66 -8
  209. package/package/components/mcp/McpScopeSelector.svelte +119 -9
  210. package/package/components/mcp/McpScopeSelector.svelte.d.ts +1 -0
  211. package/package/components/offboarding-utils.d.ts +11 -0
  212. package/package/components/offboarding-utils.js +102 -0
  213. package/package/components/progressBar/ProgressBar.svelte +9 -5
  214. package/package/components/progressBar/ProgressBar.svelte.d.ts +1 -0
  215. package/package/components/raw_apps/DeleteAfterUsePopup.svelte +52 -0
  216. package/package/components/raw_apps/DeleteAfterUsePopup.svelte.d.ts +9 -0
  217. package/package/components/raw_apps/RawAppBackgroundRunner.svelte +5 -1
  218. package/package/components/raw_apps/RawAppDataTableDrawer.svelte +1 -1
  219. package/package/components/raw_apps/RawAppEditor.svelte +186 -102
  220. package/package/components/raw_apps/RawAppEditorHeader.svelte +6 -1
  221. package/package/components/raw_apps/RawAppEditorHeader.svelte.d.ts +1 -0
  222. package/package/components/raw_apps/RawAppInlineScriptEditor.svelte +9 -3
  223. package/package/components/raw_apps/RawAppInlineScriptEditor.svelte.d.ts +2 -1
  224. package/package/components/raw_apps/RawAppInlineScriptRunnable.svelte +1 -0
  225. package/package/components/raw_apps/RawAppInlineScriptRunnable.svelte.d.ts +1 -0
  226. package/package/components/raw_apps/RawAppInputsSpecEditor.svelte +48 -5
  227. package/package/components/raw_apps/RawAppSharedUiDrawer.svelte +129 -0
  228. package/package/components/raw_apps/RawAppSharedUiDrawer.svelte.d.ts +5 -0
  229. package/package/components/raw_apps/RawAppSidebar.svelte +12 -0
  230. package/package/components/raw_apps/RawAppYamlEditor.svelte +81 -0
  231. package/package/components/raw_apps/RawAppYamlEditor.svelte.d.ts +20 -0
  232. package/package/components/raw_apps/dataTableRefUtils.d.ts +7 -0
  233. package/package/components/raw_apps/dataTableRefUtils.js +34 -0
  234. package/package/components/raw_apps/dataTableRefUtils.test.d.ts +1 -0
  235. package/package/components/raw_apps/dataTableRefUtils.test.js +29 -0
  236. package/package/components/raw_apps/datatableUtils.svelte.js +1 -1
  237. package/package/components/raw_apps/rawAppPolicy.d.ts +1 -0
  238. package/package/components/raw_apps/rawAppPolicy.js +17 -2
  239. package/package/components/resources/resourceTypesFilter.d.ts +19 -0
  240. package/package/components/resources/resourceTypesFilter.js +21 -0
  241. package/package/components/restartFromStepPath.d.ts +39 -0
  242. package/package/components/restartFromStepPath.js +89 -0
  243. package/package/components/runs/JobDetailFieldConfig.d.ts +1 -0
  244. package/package/components/runs/JobDetailFieldConfig.js +57 -10
  245. package/package/components/runs/JobDetailHeader.svelte +24 -3
  246. package/package/components/runs/runsFilter.d.ts +1 -1
  247. package/package/components/schema/FlowPropertyEditor.svelte +30 -1
  248. package/package/components/schema/FlowPropertyEditor.svelte.d.ts +5 -2
  249. package/package/components/script_builder.d.ts +1 -1
  250. package/package/components/search/GlobalSearchModal.svelte +8 -1
  251. package/package/components/select/Select.svelte +3 -2
  252. package/package/components/select/Select.svelte.d.ts +1 -0
  253. package/package/components/settings/CreateToken.svelte +91 -71
  254. package/package/components/settings/CreateToken.svelte.d.ts +3 -0
  255. package/package/components/settings/EditTokenScopesModal.svelte +57 -0
  256. package/package/components/settings/EditTokenScopesModal.svelte.d.ts +10 -0
  257. package/package/components/settings/ScopesPicker.svelte +43 -0
  258. package/package/components/settings/ScopesPicker.svelte.d.ts +11 -0
  259. package/package/components/settings/TokensTable.svelte +51 -15
  260. package/package/components/settings/WorkspaceUserSettings.svelte +34 -28
  261. package/package/components/sidebar/OperatorMenu.svelte +6 -0
  262. package/package/components/sidebar/SidebarContent.svelte +68 -2
  263. package/package/components/sidebar/WorkspaceMenu.svelte +8 -4
  264. package/package/components/triggers/AddTriggersButton.svelte +17 -0
  265. package/package/components/triggers/CaptureWrapper.svelte +19 -1
  266. package/package/components/triggers/PermissionedAsLine.svelte +37 -3
  267. package/package/components/triggers/PermissionedAsLine.svelte.d.ts +6 -0
  268. package/package/components/triggers/TriggerEditorToolbar.svelte.d.ts +1 -1
  269. package/package/components/triggers/TriggerModeToggle.svelte +36 -7
  270. package/package/components/triggers/TriggerModeToggle.svelte.d.ts +1 -1
  271. package/package/components/triggers/TriggerSuspendedJobsModal.svelte.d.ts +1 -1
  272. package/package/components/triggers/TriggersEditor.svelte +10 -2
  273. package/package/components/triggers/TriggersWrapper.svelte +20 -0
  274. package/package/components/triggers/azure/AzureCapture.svelte +41 -0
  275. package/package/components/triggers/azure/AzureCapture.svelte.d.ts +44 -0
  276. package/package/components/triggers/azure/AzureTriggerEditor.svelte +20 -0
  277. package/package/components/triggers/azure/AzureTriggerEditor.svelte.d.ts +9 -0
  278. package/package/components/triggers/azure/AzureTriggerEditorConfigSection.svelte +301 -0
  279. package/package/components/triggers/azure/AzureTriggerEditorConfigSection.svelte.d.ts +16 -0
  280. package/package/components/triggers/azure/AzureTriggerEditorInner.svelte +422 -0
  281. package/package/components/triggers/azure/AzureTriggerEditorInner.svelte.d.ts +25 -0
  282. package/package/components/triggers/azure/AzureTriggerPanel.svelte +55 -0
  283. package/package/components/triggers/azure/AzureTriggerPanel.svelte.d.ts +10 -0
  284. package/{dist/sharedUtils/components/triggers/kafka → package/components/triggers/azure}/utils.d.ts +1 -1
  285. package/package/components/triggers/azure/utils.js +56 -0
  286. package/package/components/triggers/email/EmailTriggerEditorInner.svelte +15 -11
  287. package/package/components/triggers/gcp/GcpTriggerEditorInner.svelte +22 -14
  288. package/package/components/triggers/http/RouteEditorConfigSection.svelte +15 -7
  289. package/package/components/triggers/http/RouteEditorInner.svelte +16 -14
  290. package/package/components/triggers/http/RoutesGenerator.svelte +6 -1
  291. package/package/components/triggers/http/RoutesPanel.svelte +1 -1
  292. package/package/components/triggers/http/utils.d.ts +1 -1
  293. package/package/components/triggers/http/utils.js +2 -2
  294. package/package/components/triggers/kafka/KafkaTriggerEditorInner.svelte +22 -14
  295. package/package/components/triggers/mqtt/MqttTriggerEditorInner.svelte +22 -14
  296. package/package/components/triggers/native/NativeTriggerEditor.svelte +3 -0
  297. package/package/components/triggers/native/services/github/GitHubTriggerForm.svelte +118 -0
  298. package/package/components/triggers/native/services/github/GitHubTriggerForm.svelte.d.ts +17 -0
  299. package/package/components/triggers/native/utils.js +14 -0
  300. package/package/components/triggers/nats/NatsTriggerEditor.svelte.d.ts +4 -3
  301. package/package/components/triggers/nats/NatsTriggerEditorInner.svelte +22 -14
  302. package/package/components/triggers/postgres/PostgresTriggerEditor.svelte.d.ts +4 -3
  303. package/package/components/triggers/postgres/PostgresTriggerEditorInner.svelte +22 -14
  304. package/package/components/triggers/schedules/ScheduleEditorInner.svelte +22 -14
  305. package/package/components/triggers/sqs/SqsTriggerEditor.svelte.d.ts +4 -3
  306. package/package/components/triggers/sqs/SqsTriggerEditorInner.svelte +22 -14
  307. package/package/components/triggers/triggers.svelte.d.ts +1 -0
  308. package/package/components/triggers/triggers.svelte.js +24 -1
  309. package/package/components/triggers/utils.js +47 -6
  310. package/package/components/triggers/websocket/WebsocketTriggerEditorInner.svelte +22 -14
  311. package/package/components/triggers.d.ts +1 -1
  312. package/package/components/useFolderDefaultPermissionedAs.svelte.d.ts +13 -0
  313. package/package/components/useFolderDefaultPermissionedAs.svelte.js +63 -0
  314. package/package/components/useNestedRestartState.svelte.d.ts +56 -0
  315. package/package/components/useNestedRestartState.svelte.js +320 -0
  316. package/package/components/workspaceSettings/CreateWorkspace.svelte +16 -677
  317. package/package/components/workspaceSettings/CreateWorkspaceInner.svelte +604 -0
  318. package/package/components/workspaceSettings/CreateWorkspaceInner.svelte.d.ts +7 -0
  319. package/package/components/workspaceSettings/CustomInstanceDbSelect.svelte +27 -25
  320. package/package/components/workspaceSettings/CustomInstanceDbWizardModal.svelte +46 -8
  321. package/package/components/workspaceSettings/DataTableSettings.svelte +27 -22
  322. package/package/components/workspaceSettings/DucklakeSettings.svelte +1 -1
  323. package/package/components/workspaceSettings/ForkDatatableSection.svelte +228 -0
  324. package/package/components/workspaceSettings/ForkDatatableSection.svelte.d.ts +28 -0
  325. package/package/components/workspaceSettings/GitSyncFilterSettings.svelte +8 -2
  326. package/package/components/workspaceSettings/RulesetEditor.svelte +27 -2
  327. package/package/components/workspaceSettings/SharedUiSettings.svelte +175 -0
  328. package/package/components/workspaceSettings/SharedUiSettings.svelte.d.ts +3 -0
  329. package/package/components/workspaceSettings/VolumeStorageSettings.svelte +1 -1
  330. package/package/components/workspaceSettings/WorkspaceIntegrations.svelte +17 -1
  331. package/package/consts.d.ts +3 -0
  332. package/package/consts.js +10 -0
  333. package/package/gen/core/OpenAPI.js +1 -1
  334. package/package/gen/schemas.gen.d.ts +795 -59
  335. package/package/gen/schemas.gen.js +801 -60
  336. package/package/gen/services.gen.d.ts +475 -5
  337. package/package/gen/services.gen.js +976 -23
  338. package/package/gen/types.gen.d.ts +1865 -75
  339. package/package/githubApp.js +5 -1
  340. package/package/hubPaths.json +2 -8
  341. package/package/infer.d.ts +1 -1
  342. package/package/infer.js +50 -52
  343. package/package/infer.svelte.js +10 -1
  344. package/package/mcpEndpointTools.js +60 -4
  345. package/package/monaco_workers/sqlTypePlugin.worker.d.ts +10 -0
  346. package/package/monaco_workers/sqlTypePlugin.worker.js +39 -0
  347. package/package/script_helpers.d.ts +8 -2
  348. package/package/script_helpers.js +31 -0
  349. package/package/stores.d.ts +11 -0
  350. package/package/stores.js +6 -0
  351. package/package/system_prompts/index.d.ts +1 -0
  352. package/package/system_prompts/index.js +8 -0
  353. package/package/system_prompts/prompts.d.ts +17 -13
  354. package/package/system_prompts/prompts.js +921 -61
  355. package/package/templates/ci_test_bun.ts.template +27 -0
  356. package/package/templates/ci_test_python.py.template +26 -0
  357. package/package/utils/forkConflict.d.ts +26 -0
  358. package/package/utils/forkConflict.js +56 -0
  359. package/package/utils_deployable.d.ts +164 -121
  360. package/package/utils_deployable.js +61 -11
  361. package/package/utils_workspace_deploy.d.ts +8 -8
  362. package/package/utils_workspace_deploy.js +89 -421
  363. package/package.json +30 -6
  364. package/dist/sharedUtils/assets/tokens/colorTokensConfig.d.ts +0 -2
  365. package/dist/sharedUtils/base.d.ts +0 -1
  366. package/dist/sharedUtils/cloud.d.ts +0 -1
  367. package/dist/sharedUtils/common.d.ts +0 -111
  368. package/dist/sharedUtils/components/apps/components/display/dbtable/queries/count.d.ts +0 -5
  369. package/dist/sharedUtils/components/apps/components/display/dbtable/queries/delete.d.ts +0 -5
  370. package/dist/sharedUtils/components/apps/components/display/dbtable/queries/insert.d.ts +0 -5
  371. package/dist/sharedUtils/components/apps/components/display/dbtable/queries/select.d.ts +0 -13
  372. package/dist/sharedUtils/components/apps/components/display/dbtable/queries/update.d.ts +0 -11
  373. package/dist/sharedUtils/components/apps/components/display/dbtable/utils.d.ts +0 -95
  374. package/dist/sharedUtils/components/apps/editor/appPolicy.d.ts +0 -6
  375. package/dist/sharedUtils/components/apps/editor/appUtilsCore.d.ts +0 -7
  376. package/dist/sharedUtils/components/apps/editor/appUtilsS3.d.ts +0 -33
  377. package/dist/sharedUtils/components/apps/editor/commonAppUtils.d.ts +0 -10
  378. package/dist/sharedUtils/components/apps/editor/component/components.d.ts +0 -5371
  379. package/dist/sharedUtils/components/apps/editor/component/default-codes.d.ts +0 -3
  380. package/dist/sharedUtils/components/apps/editor/component/index.d.ts +0 -3
  381. package/dist/sharedUtils/components/apps/editor/component/sets.d.ts +0 -7
  382. package/dist/sharedUtils/components/apps/editor/componentsPanel/componentDefaultProps.d.ts +0 -3
  383. package/dist/sharedUtils/components/apps/gridUtils.d.ts +0 -14
  384. package/dist/sharedUtils/components/apps/inputType.d.ts +0 -178
  385. package/dist/sharedUtils/components/apps/rx.d.ts +0 -29
  386. package/dist/sharedUtils/components/apps/sharedTypes.d.ts +0 -21
  387. package/dist/sharedUtils/components/apps/types.d.ts +0 -274
  388. package/dist/sharedUtils/components/assets/lib.d.ts +0 -25
  389. package/dist/sharedUtils/components/common/alert/model.d.ts +0 -2
  390. package/dist/sharedUtils/components/common/badge/model.d.ts +0 -8
  391. package/dist/sharedUtils/components/common/button/model.d.ts +0 -45
  392. package/dist/sharedUtils/components/common/fileInput/model.d.ts +0 -1
  393. package/dist/sharedUtils/components/common/index.d.ts +0 -24
  394. package/dist/sharedUtils/components/common/skeleton/model.d.ts +0 -21
  395. package/dist/sharedUtils/components/dbTypes.d.ts +0 -14
  396. package/dist/sharedUtils/components/diff_drawer.d.ts +0 -26
  397. package/dist/sharedUtils/components/ducklake.d.ts +0 -1
  398. package/dist/sharedUtils/components/flows/scheduleUtils.d.ts +0 -7
  399. package/dist/sharedUtils/components/icons/index.d.ts +0 -101
  400. package/dist/sharedUtils/components/random_positive_adjetive.d.ts +0 -1
  401. package/dist/sharedUtils/components/raw_apps/rawAppPolicy.d.ts +0 -10
  402. package/dist/sharedUtils/components/raw_apps/utils.d.ts +0 -15
  403. package/dist/sharedUtils/components/triggers/email/utils.d.ts +0 -4
  404. package/dist/sharedUtils/components/triggers/gcp/utils.d.ts +0 -2
  405. package/dist/sharedUtils/components/triggers/http/utils.d.ts +0 -11
  406. package/dist/sharedUtils/components/triggers/mqtt/utils.d.ts +0 -2
  407. package/dist/sharedUtils/components/triggers/nats/utils.d.ts +0 -2
  408. package/dist/sharedUtils/components/triggers/postgres/utils.d.ts +0 -8
  409. package/dist/sharedUtils/components/triggers/sqs/utils.d.ts +0 -2
  410. package/dist/sharedUtils/components/triggers/triggers.svelte.d.ts +0 -32
  411. package/dist/sharedUtils/components/triggers/utils.d.ts +0 -80
  412. package/dist/sharedUtils/components/triggers/websocket/utils.d.ts +0 -2
  413. package/dist/sharedUtils/components/triggers.d.ts +0 -20
  414. package/dist/sharedUtils/gen/core/ApiError.d.ts +0 -10
  415. package/dist/sharedUtils/gen/core/ApiRequestOptions.d.ts +0 -13
  416. package/dist/sharedUtils/gen/core/ApiResult.d.ts +0 -7
  417. package/dist/sharedUtils/gen/core/CancelablePromise.d.ts +0 -26
  418. package/dist/sharedUtils/gen/core/OpenAPI.d.ts +0 -27
  419. package/dist/sharedUtils/gen/core/request.d.ts +0 -29
  420. package/dist/sharedUtils/gen/index.d.ts +0 -6
  421. package/dist/sharedUtils/gen/schemas.gen.d.ts +0 -7036
  422. package/dist/sharedUtils/gen/services.gen.d.ts +0 -6047
  423. package/dist/sharedUtils/gen/types.gen.d.ts +0 -21881
  424. package/dist/sharedUtils/history.svelte.d.ts +0 -9
  425. package/dist/sharedUtils/hub.d.ts +0 -49
  426. package/dist/sharedUtils/jsr.json +0 -6
  427. package/dist/sharedUtils/lib.d.ts +0 -5
  428. package/dist/sharedUtils/lib.es.js +0 -1588
  429. package/dist/sharedUtils/package.json +0 -12
  430. package/dist/sharedUtils/schema.d.ts +0 -3
  431. package/dist/sharedUtils/stores.d.ts +0 -97
  432. package/dist/sharedUtils/svelte5Utils.svelte.d.ts +0 -80
  433. package/dist/sharedUtils/toast.d.ts +0 -8
  434. package/dist/sharedUtils/utils.d.ts +0 -265
  435. package/package/components/copilot/chat/__tests__/app/appChat.eval.test.js +0 -153
  436. package/package/components/copilot/chat/__tests__/app/appEvalComparison.d.ts +0 -21
  437. package/package/components/copilot/chat/__tests__/app/appEvalComparison.js +0 -136
  438. package/package/components/copilot/chat/__tests__/app/appEvalHelpers.d.ts +0 -15
  439. package/package/components/copilot/chat/__tests__/app/appEvalHelpers.js +0 -107
  440. package/package/components/copilot/chat/__tests__/app/appEvalRunner.d.ts +0 -50
  441. package/package/components/copilot/chat/__tests__/app/appEvalRunner.js +0 -93
  442. package/package/components/copilot/chat/__tests__/app/appFixtureLoader.d.ts +0 -29
  443. package/package/components/copilot/chat/__tests__/app/appFixtureLoader.js +0 -134
  444. package/package/components/copilot/chat/__tests__/app/appResultsWriter.d.ts +0 -30
  445. package/package/components/copilot/chat/__tests__/app/appResultsWriter.js +0 -197
  446. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/createFolder/main.d.ts +0 -10
  447. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/createFolder/main.js +0 -9
  448. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/createFolder/meta.json +0 -4
  449. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/deleteItem/main.d.ts +0 -6
  450. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/deleteItem/main.js +0 -5
  451. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/deleteItem/meta.json +0 -4
  452. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/listFiles/main.d.ts +0 -12
  453. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/listFiles/main.js +0 -14
  454. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/listFiles/meta.json +0 -4
  455. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/listFolders/main.d.ts +0 -8
  456. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/listFolders/main.js +0 -25
  457. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/listFolders/meta.json +0 -4
  458. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/moveItem/main.d.ts +0 -7
  459. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/moveItem/main.js +0 -5
  460. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/moveItem/meta.json +0 -4
  461. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/renameItem/main.d.ts +0 -8
  462. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/renameItem/main.js +0 -5
  463. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/renameItem/meta.json +0 -4
  464. package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/components/Breadcrumb.d.ts +0 -10
  465. package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/components/Breadcrumb.tsx +0 -26
  466. package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/components/FileItem.d.ts +0 -10
  467. package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/components/FileItem.tsx +0 -79
  468. package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/components/FileList.d.ts +0 -10
  469. package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/components/FileList.tsx +0 -46
  470. package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/components/FolderTree.d.ts +0 -10
  471. package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/components/FolderTree.tsx +0 -56
  472. package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/components/Toolbar.d.ts +0 -6
  473. package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/components/Toolbar.tsx +0 -59
  474. package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/index.d.ts +0 -16
  475. package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/index.tsx +0 -119
  476. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/addToCart/main.d.ts +0 -15
  477. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/addToCart/main.js +0 -14
  478. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/addToCart/meta.json +0 -4
  479. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/calculateTotal/main.d.ts +0 -14
  480. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/calculateTotal/main.js +0 -5
  481. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/calculateTotal/meta.json +0 -4
  482. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/getProducts/main.d.ts +0 -6
  483. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/getProducts/main.js +0 -41
  484. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/getProducts/meta.json +0 -4
  485. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/removeFromCart/main.d.ts +0 -15
  486. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/removeFromCart/main.js +0 -3
  487. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/removeFromCart/meta.json +0 -4
  488. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/frontend/components/Cart.d.ts +0 -9
  489. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/frontend/components/Cart.tsx +0 -51
  490. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/frontend/components/ProductCard.d.ts +0 -8
  491. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/frontend/components/ProductCard.tsx +0 -27
  492. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/frontend/components/ProductList.d.ts +0 -8
  493. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/frontend/components/ProductList.tsx +0 -18
  494. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/frontend/index.d.ts +0 -12
  495. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/frontend/index.tsx +0 -81
  496. package/package/components/copilot/chat/__tests__/app/initial/test1_counter_app/backend/decrementCounter/main.d.ts +0 -3
  497. package/package/components/copilot/chat/__tests__/app/initial/test1_counter_app/backend/decrementCounter/main.js +0 -3
  498. package/package/components/copilot/chat/__tests__/app/initial/test1_counter_app/backend/decrementCounter/meta.json +0 -4
  499. package/package/components/copilot/chat/__tests__/app/initial/test1_counter_app/backend/incrementCounter/main.d.ts +0 -3
  500. package/package/components/copilot/chat/__tests__/app/initial/test1_counter_app/backend/incrementCounter/main.js +0 -3
  501. package/package/components/copilot/chat/__tests__/app/initial/test1_counter_app/backend/incrementCounter/meta.json +0 -4
  502. package/package/components/copilot/chat/__tests__/app/initial/test1_counter_app/frontend/index.d.ts +0 -2
  503. package/package/components/copilot/chat/__tests__/app/initial/test1_counter_app/frontend/index.tsx +0 -38
  504. package/package/components/copilot/chat/__tests__/app/variants/baseline.d.ts +0 -6
  505. package/package/components/copilot/chat/__tests__/app/variants/baseline.js +0 -10
  506. package/package/components/copilot/chat/__tests__/app/variants/index.d.ts +0 -3
  507. package/package/components/copilot/chat/__tests__/app/variants/index.js +0 -3
  508. package/package/components/copilot/chat/__tests__/app/variants/streamlined.d.ts +0 -6
  509. package/package/components/copilot/chat/__tests__/app/variants/streamlined.js +0 -137
  510. package/package/components/copilot/chat/__tests__/flow/expected/test1.json +0 -134
  511. package/package/components/copilot/chat/__tests__/flow/expected/test2.json +0 -183
  512. package/package/components/copilot/chat/__tests__/flow/expected/test3.json +0 -204
  513. package/package/components/copilot/chat/__tests__/flow/expected/test4.json +0 -175
  514. package/package/components/copilot/chat/__tests__/flow/expected/test5_modify_simple.json +0 -68
  515. package/package/components/copilot/chat/__tests__/flow/expected/test6_modify_medium.json +0 -142
  516. package/package/components/copilot/chat/__tests__/flow/expected/test7_modify_complex.json +0 -136
  517. package/package/components/copilot/chat/__tests__/flow/flowChat.eval.test.js +0 -294
  518. package/package/components/copilot/chat/__tests__/flow/flowEvalComparison.d.ts +0 -17
  519. package/package/components/copilot/chat/__tests__/flow/flowEvalComparison.js +0 -49
  520. package/package/components/copilot/chat/__tests__/flow/flowEvalHelpers.d.ts +0 -12
  521. package/package/components/copilot/chat/__tests__/flow/flowEvalHelpers.js +0 -79
  522. package/package/components/copilot/chat/__tests__/flow/flowEvalRunner.d.ts +0 -50
  523. package/package/components/copilot/chat/__tests__/flow/flowEvalRunner.js +0 -102
  524. package/package/components/copilot/chat/__tests__/flow/initial/test5_initial.json +0 -53
  525. package/package/components/copilot/chat/__tests__/flow/initial/test6_initial.json +0 -68
  526. package/package/components/copilot/chat/__tests__/flow/initial/test7_initial.json +0 -120
  527. package/package/components/copilot/chat/__tests__/flow/variants/baseline.d.ts +0 -6
  528. package/package/components/copilot/chat/__tests__/flow/variants/baseline.js +0 -10
  529. package/package/components/copilot/chat/__tests__/flow/variants/index.d.ts +0 -3
  530. package/package/components/copilot/chat/__tests__/flow/variants/index.js +0 -3
  531. package/package/components/copilot/chat/__tests__/flow/variants/minimal-single-tool.d.ts +0 -15
  532. package/package/components/copilot/chat/__tests__/flow/variants/minimal-single-tool.js +0 -388
  533. package/package/components/copilot/chat/__tests__/shared/baseEvalRunner.d.ts +0 -45
  534. package/package/components/copilot/chat/__tests__/shared/baseEvalRunner.js +0 -121
  535. package/package/components/copilot/chat/__tests__/shared/baseLLMEvaluator.d.ts +0 -28
  536. package/package/components/copilot/chat/__tests__/shared/baseLLMEvaluator.js +0 -96
  537. package/package/components/copilot/chat/__tests__/shared/baseResultsWriter.d.ts +0 -32
  538. package/package/components/copilot/chat/__tests__/shared/baseResultsWriter.js +0 -130
  539. package/package/components/copilot/chat/__tests__/shared/baseVariants.d.ts +0 -45
  540. package/package/components/copilot/chat/__tests__/shared/baseVariants.js +0 -57
  541. package/package/components/copilot/chat/__tests__/shared/index.d.ts +0 -10
  542. package/package/components/copilot/chat/__tests__/shared/index.js +0 -5
  543. package/package/components/copilot/chat/__tests__/shared/types.d.ts +0 -105
  544. package/package/components/copilot/chat/__tests__/shared/types.js +0 -9
  545. package/package/components/copilot/chat/flow/openFlowZod.js +0 -24
  546. package/package/components/copilot/chat/flow/utils.d.ts +0 -14
  547. package/package/components/copilot/chat/flow/utils.js +0 -108
  548. package/package/components/flows/agentToolUtils.test.js +0 -55
  549. /package/package/components/copilot/chat/{__tests__/app/appChat.eval.test.d.ts → app/core.test.d.ts} +0 -0
  550. /package/package/components/copilot/chat/{__tests__/flow/flowChat.eval.test.d.ts → flow/helperUtils.test.d.ts} +0 -0
  551. /package/package/components/copilot/chat/flow/{openFlowZod.d.ts → openFlowZod.gen.d.ts} +0 -0
  552. /package/package/components/{flows/agentToolUtils.test.d.ts → copilot/chat/flow/utils.test.d.ts} +0 -0
@@ -83,6 +83,10 @@ export type FlowValue = {
83
83
  */
84
84
  cache_ttl?: number;
85
85
  cache_ignore_s3_path?: boolean;
86
+ /**
87
+ * If set, delete the flow job's args, result and logs after this many seconds following job completion
88
+ */
89
+ delete_after_secs?: number;
86
90
  /**
87
91
  * Environment variables available to all steps. Values can be strings, JSON values, or special references: '$var:path' (workspace variable) or '$res:path' (resource).
88
92
  */
@@ -240,9 +244,9 @@ export type FlowModule = {
240
244
  */
241
245
  timeout?: InputTransform;
242
246
  /**
243
- * If 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
244
248
  */
245
- delete_after_use?: boolean;
249
+ delete_after_secs?: number;
246
250
  /**
247
251
  * Short description of what this step does
248
252
  */
@@ -740,6 +744,10 @@ export type AiAgent = {
740
744
  };
741
745
  }>;
742
746
  type: 'aiagent';
747
+ /**
748
+ * If true, this AI agent step does not persist its assistant or tool messages to the flow conversation when chat mode is enabled.
749
+ */
750
+ omit_output_from_conversation?: boolean;
743
751
  /**
744
752
  * If true, the agent can execute multiple tool calls in parallel
745
753
  */
@@ -875,6 +883,12 @@ export type FlowNote = {
875
883
  */
876
884
  contained_node_ids?: Array<(string)>;
877
885
  };
886
+ export type CiTestResult = {
887
+ test_script_path: string;
888
+ job_id?: string | null;
889
+ status?: string | null;
890
+ started_at?: string | null;
891
+ };
878
892
  /**
879
893
  * Health status response (cached with 5s TTL)
880
894
  */
@@ -1117,6 +1131,10 @@ export type VaultSettings = {
1117
1131
  * Static Vault token for testing/development (optional, if provided this is used instead of JWT authentication)
1118
1132
  */
1119
1133
  token?: string;
1134
+ /**
1135
+ * Skip TLS certificate verification when connecting to Vault. Only use for self-signed certificates in development environments.
1136
+ */
1137
+ skip_ssl_verify?: boolean;
1120
1138
  };
1121
1139
  export type AzureKeyVaultSettings = {
1122
1140
  /**
@@ -1257,6 +1275,10 @@ export type FlowConversationMessage = {
1257
1275
  * When the message was created
1258
1276
  */
1259
1277
  created_at: string;
1278
+ /**
1279
+ * Monotonic cursor assigned when the message is inserted
1280
+ */
1281
+ created_seq: number;
1260
1282
  /**
1261
1283
  * The step name that produced that message
1262
1284
  */
@@ -1411,7 +1433,10 @@ export type Script = {
1411
1433
  priority?: number;
1412
1434
  restart_unless_cancelled?: boolean;
1413
1435
  timeout?: number;
1414
- delete_after_use?: boolean;
1436
+ /**
1437
+ * If set, delete the job's args, result and logs after this many seconds following job completion
1438
+ */
1439
+ delete_after_secs?: number;
1415
1440
  visible_to_runner_only?: boolean;
1416
1441
  auto_kind?: string;
1417
1442
  codebase?: string;
@@ -1450,7 +1475,10 @@ export type NewScript = {
1450
1475
  priority?: number;
1451
1476
  restart_unless_cancelled?: boolean;
1452
1477
  timeout?: number;
1453
- delete_after_use?: boolean;
1478
+ /**
1479
+ * If set, delete the job's args, result and logs after this many seconds following job completion
1480
+ */
1481
+ delete_after_secs?: number;
1454
1482
  deployment_message?: string;
1455
1483
  concurrency_key?: string;
1456
1484
  debounce_key?: string;
@@ -1802,6 +1830,109 @@ export type EditWorkspaceUser = {
1802
1830
  operator?: boolean;
1803
1831
  disabled?: boolean;
1804
1832
  };
1833
+ export type OffboardAffectedPaths = {
1834
+ scripts?: Array<(string)>;
1835
+ flows?: Array<(string)>;
1836
+ apps?: Array<(string)>;
1837
+ resources?: Array<(string)>;
1838
+ variables?: Array<(string)>;
1839
+ schedules?: Array<(string)>;
1840
+ triggers?: {
1841
+ [key: string]: Array<(string)>;
1842
+ };
1843
+ };
1844
+ export type OffboardPreview = {
1845
+ /**
1846
+ * Objects under u/{username}/ that will be reassigned
1847
+ */
1848
+ owned: OffboardAffectedPaths;
1849
+ /**
1850
+ * Objects not under the user's path but that execute on behalf of this user (permissioned_as/on_behalf_of will be updated)
1851
+ */
1852
+ executing_on_behalf: OffboardAffectedPaths;
1853
+ /**
1854
+ * Scripts/flows/apps/resources whose content or value references this user's paths (may break after reassignment)
1855
+ */
1856
+ referencing: OffboardAffectedPaths;
1857
+ /**
1858
+ * Tokens owned by this user (will be deleted)
1859
+ */
1860
+ tokens: Array<OffboardTokenInfo>;
1861
+ /**
1862
+ * HTTP triggers under the user's path (webhook URLs will change)
1863
+ */
1864
+ http_triggers: number;
1865
+ /**
1866
+ * Email triggers under the user's path (email addresses will change)
1867
+ */
1868
+ email_triggers: number;
1869
+ };
1870
+ export type OffboardTokenInfo = {
1871
+ label: string;
1872
+ scopes: Array<(string)>;
1873
+ expiration?: string;
1874
+ };
1875
+ export type OffboardRequest = {
1876
+ /**
1877
+ * Target for reassignment: 'u/{username}' or 'f/{folder}'
1878
+ */
1879
+ reassign_to: string;
1880
+ /**
1881
+ * Required when reassign_to is a folder. The username whose identity will be used as permissioned_as for schedules and triggers.
1882
+ */
1883
+ new_on_behalf_of_user?: string;
1884
+ /**
1885
+ * Whether to also remove the user from the workspace
1886
+ */
1887
+ delete_user?: boolean;
1888
+ };
1889
+ export type OffboardResponse = {
1890
+ /**
1891
+ * List of path conflicts that block the offboarding. Empty on success.
1892
+ */
1893
+ conflicts?: Array<(string)>;
1894
+ summary?: OffboardSummary;
1895
+ };
1896
+ export type OffboardSummary = {
1897
+ scripts_reassigned: number;
1898
+ flows_reassigned: number;
1899
+ apps_reassigned: number;
1900
+ resources_reassigned: number;
1901
+ variables_reassigned: number;
1902
+ schedules_reassigned: number;
1903
+ triggers_reassigned: number;
1904
+ drafts_deleted: number;
1905
+ };
1906
+ export type GlobalOffboardPreview = {
1907
+ workspaces: Array<WorkspaceOffboardPreview>;
1908
+ };
1909
+ export type WorkspaceOffboardPreview = {
1910
+ workspace_id: string;
1911
+ username: string;
1912
+ preview: OffboardPreview;
1913
+ };
1914
+ export type GlobalOffboardRequest = {
1915
+ /**
1916
+ * Map of workspace_id to reassignment config
1917
+ */
1918
+ reassignments?: {
1919
+ [key: string]: WorkspaceReassignment;
1920
+ };
1921
+ /**
1922
+ * Whether to also remove the user from the instance
1923
+ */
1924
+ delete_user?: boolean;
1925
+ };
1926
+ export type WorkspaceReassignment = {
1927
+ /**
1928
+ * Target: 'u/{username}' or 'f/{folder}'
1929
+ */
1930
+ reassign_to: string;
1931
+ /**
1932
+ * Required when reassign_to is a folder. Username to use as permissioned_as.
1933
+ */
1934
+ new_on_behalf_of_user?: string;
1935
+ };
1805
1936
  export type TruncatedToken = {
1806
1937
  label?: string;
1807
1938
  expiration?: string;
@@ -1810,6 +1941,18 @@ export type TruncatedToken = {
1810
1941
  last_used_at: string;
1811
1942
  scopes?: Array<(string)>;
1812
1943
  email?: string;
1944
+ workspace_id?: string;
1945
+ };
1946
+ export type ExternalJwtToken = {
1947
+ jwt_hash: number;
1948
+ email: string;
1949
+ username: string;
1950
+ is_admin: boolean;
1951
+ is_operator: boolean;
1952
+ workspace_id?: string;
1953
+ label?: string;
1954
+ scopes?: Array<(string)>;
1955
+ last_used_at: string;
1813
1956
  };
1814
1957
  export type NewToken = {
1815
1958
  label?: string;
@@ -2089,7 +2232,7 @@ export type EditResourceType = {
2089
2232
  };
2090
2233
  export type Schedule = {
2091
2234
  /**
2092
- * The unique path identifier for this schedule
2235
+ * The unique Windmill path for this schedule. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`.
2093
2236
  */
2094
2237
  path: string;
2095
2238
  /**
@@ -2211,7 +2354,7 @@ export type ScheduleWJobs = Schedule & {
2211
2354
  export type ErrorHandler = 'custom' | 'slack' | 'teams' | 'email';
2212
2355
  export type NewSchedule = {
2213
2356
  /**
2214
- * The unique path identifier for this schedule
2357
+ * The unique Windmill path for this schedule. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`.
2215
2358
  */
2216
2359
  path: string;
2217
2360
  /**
@@ -2388,14 +2531,14 @@ export type EditSchedule = {
2388
2531
  /**
2389
2532
  * job trigger kind (schedule, http, websocket...)
2390
2533
  */
2391
- export type JobTriggerKind = 'webhook' | 'default_email' | 'email' | 'schedule' | 'http' | 'websocket' | 'postgres' | 'kafka' | 'nats' | 'mqtt' | 'sqs' | 'gcp' | 'google';
2534
+ export type JobTriggerKind = 'webhook' | 'default_email' | 'email' | 'schedule' | 'http' | 'websocket' | 'postgres' | 'kafka' | 'nats' | 'mqtt' | 'sqs' | 'gcp' | 'azure' | 'google' | 'github';
2392
2535
  /**
2393
2536
  * job trigger mode
2394
2537
  */
2395
2538
  export type TriggerMode = 'enabled' | 'disabled' | 'suspended';
2396
2539
  export type TriggerExtraProperty = {
2397
2540
  /**
2398
- * The unique path identifier for this trigger
2541
+ * The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.
2399
2542
  */
2400
2543
  path: string;
2401
2544
  /**
@@ -2550,7 +2693,7 @@ export type HttpTrigger = TriggerExtraProperty & {
2550
2693
  };
2551
2694
  export type NewHttpTrigger = {
2552
2695
  /**
2553
- * The unique path identifier for this trigger
2696
+ * The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.
2554
2697
  */
2555
2698
  path: string;
2556
2699
  /**
@@ -2651,7 +2794,7 @@ export type NewHttpTrigger = {
2651
2794
  };
2652
2795
  export type EditHttpTrigger = {
2653
2796
  /**
2654
- * The unique path identifier for this trigger
2797
+ * The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.
2655
2798
  */
2656
2799
  path: string;
2657
2800
  /**
@@ -2764,9 +2907,11 @@ export type TriggersCount = {
2764
2907
  nats_count?: number;
2765
2908
  mqtt_count?: number;
2766
2909
  gcp_count?: number;
2910
+ azure_count?: number;
2767
2911
  sqs_count?: number;
2768
2912
  nextcloud_count?: number;
2769
2913
  google_count?: number;
2914
+ github_count?: number;
2770
2915
  };
2771
2916
  export type WebsocketHeartbeat = {
2772
2917
  /**
@@ -2845,7 +2990,7 @@ export type WebsocketTrigger = TriggerExtraProperty & {
2845
2990
  };
2846
2991
  export type NewWebsocketTrigger = {
2847
2992
  /**
2848
- * The unique path identifier for this trigger
2993
+ * The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.
2849
2994
  */
2850
2995
  path: string;
2851
2996
  /**
@@ -2920,7 +3065,7 @@ export type EditWebsocketTrigger = {
2920
3065
  */
2921
3066
  url: string;
2922
3067
  /**
2923
- * The unique path identifier for this trigger
3068
+ * The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.
2924
3069
  */
2925
3070
  path: string;
2926
3071
  /**
@@ -3083,7 +3228,7 @@ export type NewMqttTrigger = {
3083
3228
  */
3084
3229
  client_version?: MqttClientVersion | null;
3085
3230
  /**
3086
- * The unique path identifier for this trigger
3231
+ * The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.
3087
3232
  */
3088
3233
  path: string;
3089
3234
  /**
@@ -3143,7 +3288,7 @@ export type EditMqttTrigger = {
3143
3288
  */
3144
3289
  client_version?: MqttClientVersion | null;
3145
3290
  /**
3146
- * The unique path identifier for this trigger
3291
+ * The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.
3147
3292
  */
3148
3293
  path: string;
3149
3294
  /**
@@ -3266,7 +3411,7 @@ export type GcpTriggerData = {
3266
3411
  delivery_type?: DeliveryType;
3267
3412
  delivery_config?: PushConfig | null;
3268
3413
  /**
3269
- * The unique path identifier for this trigger.
3414
+ * The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.
3270
3415
  */
3271
3416
  path: string;
3272
3417
  /**
@@ -3314,6 +3459,86 @@ export type GetAllTopicSubscription = {
3314
3459
  export type DeleteGcpSubscription = {
3315
3460
  subscription_id: string;
3316
3461
  };
3462
+ /**
3463
+ * Azure Event Grid trigger mode.
3464
+ */
3465
+ export type AzureMode = 'basic_push' | 'namespace_push' | 'namespace_pull';
3466
+ /**
3467
+ * An ARM resource the service principal can see.
3468
+ */
3469
+ export type AzureArmResource = {
3470
+ id: string;
3471
+ name: string;
3472
+ location?: string;
3473
+ type: string;
3474
+ };
3475
+ export type AzureDeleteSubscription = {
3476
+ azure_mode: AzureMode;
3477
+ scope_resource_id: string;
3478
+ topic_name?: string | null;
3479
+ subscription_name: string;
3480
+ };
3481
+ /**
3482
+ * An Azure Event Grid trigger that executes a script or flow when events arrive.
3483
+ */
3484
+ export type AzureTrigger = TriggerExtraProperty & {
3485
+ azure_resource_path: string;
3486
+ azure_mode: AzureMode;
3487
+ /**
3488
+ * ARM resource ID of the topic (basic) or namespace (namespace modes).
3489
+ */
3490
+ scope_resource_id: string;
3491
+ /**
3492
+ * Topic name within the namespace (namespace modes only).
3493
+ */
3494
+ topic_name?: string | null;
3495
+ subscription_name: string;
3496
+ event_type_filters?: Array<(string)> | null;
3497
+ server_id?: string;
3498
+ last_server_ping?: string;
3499
+ error?: string;
3500
+ error_handler_path?: string;
3501
+ error_handler_args?: ScriptArgs;
3502
+ retry?: Retry;
3503
+ };
3504
+ /**
3505
+ * Data for creating or updating an Azure Event Grid trigger.
3506
+ */
3507
+ export type AzureTriggerData = {
3508
+ azure_resource_path: string;
3509
+ azure_mode: AzureMode;
3510
+ scope_resource_id: string;
3511
+ topic_name?: string | null;
3512
+ subscription_name: string;
3513
+ /**
3514
+ * Base URL for push delivery endpoints (push modes only).
3515
+ */
3516
+ base_endpoint?: string;
3517
+ event_type_filters?: Array<(string)>;
3518
+ /**
3519
+ * The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.
3520
+ */
3521
+ path: string;
3522
+ script_path: string;
3523
+ is_flow: boolean;
3524
+ mode?: TriggerMode;
3525
+ error_handler_path?: string;
3526
+ error_handler_args?: ScriptArgs;
3527
+ retry?: Retry;
3528
+ permissioned_as?: string;
3529
+ preserve_permissioned_as?: boolean;
3530
+ labels?: Array<(string)>;
3531
+ };
3532
+ export type TestAzureConnection = {
3533
+ azure_resource_path: string;
3534
+ };
3535
+ export type AzureListTopics = {
3536
+ scope_resource_id: string;
3537
+ };
3538
+ export type AzureListSubscriptions = {
3539
+ scope_resource_id: string;
3540
+ topic_name: string;
3541
+ };
3317
3542
  export type AwsAuthResourceType = 'oidc' | 'credentials';
3318
3543
  export type SqsTrigger = TriggerExtraProperty & {
3319
3544
  /**
@@ -3397,7 +3622,7 @@ export type NewSqsTrigger = {
3397
3622
  */
3398
3623
  message_attributes?: Array<(string)> | null;
3399
3624
  /**
3400
- * The unique path identifier for this trigger
3625
+ * The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.
3401
3626
  */
3402
3627
  path: string;
3403
3628
  /**
@@ -3449,7 +3674,7 @@ export type EditSqsTrigger = {
3449
3674
  */
3450
3675
  message_attributes?: Array<(string)> | null;
3451
3676
  /**
3452
- * The unique path identifier for this trigger
3677
+ * The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.
3453
3678
  */
3454
3679
  path: string;
3455
3680
  /**
@@ -3557,7 +3782,7 @@ export type NewPostgresTrigger = {
3557
3782
  */
3558
3783
  publication_name?: string;
3559
3784
  /**
3560
- * The unique path identifier for this trigger
3785
+ * The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.
3561
3786
  */
3562
3787
  path: string;
3563
3788
  /**
@@ -3609,7 +3834,7 @@ export type EditPostgresTrigger = {
3609
3834
  */
3610
3835
  publication_name: string;
3611
3836
  /**
3612
- * The unique path identifier for this trigger
3837
+ * The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.
3613
3838
  */
3614
3839
  path: string;
3615
3840
  /**
@@ -3707,7 +3932,7 @@ export type KafkaTrigger = TriggerExtraProperty & {
3707
3932
  };
3708
3933
  export type NewKafkaTrigger = {
3709
3934
  /**
3710
- * The unique path identifier for this trigger
3935
+ * The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.
3711
3936
  */
3712
3937
  path: string;
3713
3938
  /**
@@ -3799,7 +4024,7 @@ export type EditKafkaTrigger = {
3799
4024
  */
3800
4025
  auto_commit?: boolean;
3801
4026
  /**
3802
- * The unique path identifier for this trigger
4027
+ * The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.
3803
4028
  */
3804
4029
  path: string;
3805
4030
  /**
@@ -3880,7 +4105,7 @@ export type NatsTrigger = TriggerExtraProperty & {
3880
4105
  };
3881
4106
  export type NewNatsTrigger = {
3882
4107
  /**
3883
- * The unique path identifier for this trigger
4108
+ * The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.
3884
4109
  */
3885
4110
  path: string;
3886
4111
  /**
@@ -3956,7 +4181,7 @@ export type EditNatsTrigger = {
3956
4181
  */
3957
4182
  subjects: Array<(string)>;
3958
4183
  /**
3959
- * The unique path identifier for this trigger
4184
+ * The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.
3960
4185
  */
3961
4186
  path: string;
3962
4187
  /**
@@ -4070,7 +4295,24 @@ export type Folder = {
4070
4295
  summary?: string;
4071
4296
  created_by?: string;
4072
4297
  edited_at?: string;
4298
+ default_permissioned_as?: FolderDefaultPermissionedAs;
4073
4299
  };
4300
+ /**
4301
+ * 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.
4302
+ *
4303
+ */
4304
+ export type FolderDefaultPermissionedAs = Array<{
4305
+ /**
4306
+ * 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}`.
4307
+ *
4308
+ */
4309
+ path_glob: string;
4310
+ /**
4311
+ * Target identity the matched item should be permissioned as. Must be `u/<username>`, `g/<groupname>`, or an email that exists in this workspace.
4312
+ *
4313
+ */
4314
+ permissioned_as: string;
4315
+ }>;
4074
4316
  export type WorkerPing = {
4075
4317
  worker: string;
4076
4318
  worker_instance: string;
@@ -4117,6 +4359,16 @@ export type CreateWorkspaceFork = {
4117
4359
  id: string;
4118
4360
  name: string;
4119
4361
  color?: string;
4362
+ forked_datatables?: Array<{
4363
+ /**
4364
+ * Datatable name
4365
+ */
4366
+ name: string;
4367
+ /**
4368
+ * New database name for the fork
4369
+ */
4370
+ new_dbname: string;
4371
+ }>;
4120
4372
  };
4121
4373
  export type Workspace = {
4122
4374
  id: string;
@@ -4213,8 +4465,22 @@ export type FlowPreview = {
4213
4465
  export type RestartedFrom = {
4214
4466
  flow_job_id?: string;
4215
4467
  step_id?: string;
4468
+ /**
4469
+ * 0-based iteration index for ForLoop / branch index for BranchAll. Iterations 0..n-1 are preserved; iteration n is restarted.
4470
+ */
4216
4471
  branch_or_iteration_n?: number;
4217
4472
  flow_version?: number;
4473
+ /**
4474
+ * For BranchOne nested restart — the branch that was originally chosen, used to lock branch evaluation.
4475
+ */
4476
+ branch_chosen?: {
4477
+ type?: 'default' | 'branch';
4478
+ branch?: number;
4479
+ };
4480
+ /**
4481
+ * When set, the worker spawns the child for `step_id` as a `RestartedFlow` against `nested.flow_job_id` instead of fresh-launching it.
4482
+ */
4483
+ nested?: RestartedFrom;
4218
4484
  };
4219
4485
  export type Policy = {
4220
4486
  triggerables?: {
@@ -4310,10 +4576,9 @@ export type FlowVersion = {
4310
4576
  };
4311
4577
  export type SlackToken = {
4312
4578
  access_token: string;
4313
- team_id: string;
4314
- team_name: string;
4315
- bot: {
4316
- bot_access_token?: string;
4579
+ team?: {
4580
+ id: string;
4581
+ name: string;
4317
4582
  };
4318
4583
  };
4319
4584
  export type TokenResponse = {
@@ -4366,6 +4631,17 @@ export type DataTableSettings = {
4366
4631
  resource_type: 'postgresql' | 'instance';
4367
4632
  resource_path?: string;
4368
4633
  };
4634
+ /**
4635
+ * Fork origin info with schema snapshot
4636
+ */
4637
+ forked_from?: {
4638
+ /**
4639
+ * Schema snapshot at fork time
4640
+ */
4641
+ schema?: {
4642
+ [key: string]: unknown;
4643
+ };
4644
+ };
4369
4645
  };
4370
4646
  };
4371
4647
  };
@@ -4383,6 +4659,27 @@ export type DataTableSchema = {
4383
4659
  };
4384
4660
  error?: string;
4385
4661
  };
4662
+ export type DataTableTables = {
4663
+ datatable_name: string;
4664
+ /**
4665
+ * Hierarchical metadata: schema_name -> table_names
4666
+ */
4667
+ schemas: {
4668
+ [key: string]: Array<(string)>;
4669
+ };
4670
+ error?: string;
4671
+ };
4672
+ export type DataTableTableSchema = {
4673
+ datatable_name: string;
4674
+ schema_name: string;
4675
+ table_name: string;
4676
+ /**
4677
+ * Columns in this table: column_name -> compact_type
4678
+ */
4679
+ columns: {
4680
+ [key: string]: (string);
4681
+ };
4682
+ };
4386
4683
  export type DynamicInputData = {
4387
4684
  /**
4388
4685
  * Name of the function to execute for dynamic select
@@ -4455,7 +4752,6 @@ export type GitRepositorySettings = {
4455
4752
  git_repo_resource_path: string;
4456
4753
  use_individual_branch?: boolean;
4457
4754
  group_by_folder?: boolean;
4458
- force_branch?: string;
4459
4755
  collapsed?: boolean;
4460
4756
  settings?: {
4461
4757
  include_path?: Array<(string)>;
@@ -4588,7 +4884,7 @@ export type CriticalAlert = {
4588
4884
  */
4589
4885
  workspace_id?: string | null;
4590
4886
  };
4591
- export type CaptureTriggerKind = 'webhook' | 'http' | 'websocket' | 'kafka' | 'default_email' | 'nats' | 'postgres' | 'sqs' | 'mqtt' | 'gcp' | 'email';
4887
+ export type CaptureTriggerKind = 'webhook' | 'http' | 'websocket' | 'kafka' | 'default_email' | 'nats' | 'postgres' | 'sqs' | 'mqtt' | 'gcp' | 'azure' | 'email';
4592
4888
  export type Capture = {
4593
4889
  trigger_kind: CaptureTriggerKind;
4594
4890
  main_args: unknown;
@@ -4859,7 +5155,7 @@ export type ProtectionRuleset = {
4859
5155
  * Configuration of protection restrictions
4860
5156
  */
4861
5157
  export type ProtectionRules = Array<ProtectionRuleKind>;
4862
- export type ProtectionRuleKind = 'DisableDirectDeployment' | 'DisableWorkspaceForking';
5158
+ export type ProtectionRuleKind = 'DisableDirectDeployment' | 'DisableWorkspaceForking' | 'RestrictDeployToDeployers';
4863
5159
  /**
4864
5160
  * Groups that can bypass this ruleset
4865
5161
  */
@@ -4868,12 +5164,42 @@ export type RuleBypasserGroups = Array<(string)>;
4868
5164
  * Users that can bypass this ruleset
4869
5165
  */
4870
5166
  export type RuleBypasserUsers = Array<(string)>;
5167
+ export type DeploymentRequestEligibleDeployer = {
5168
+ username: string;
5169
+ email: string;
5170
+ is_admin: boolean;
5171
+ };
5172
+ export type DeploymentRequestAssignee = {
5173
+ username: string;
5174
+ email: string;
5175
+ };
5176
+ export type DeploymentRequestComment = {
5177
+ id: number;
5178
+ parent_id?: number | null;
5179
+ author: string;
5180
+ author_email: string;
5181
+ body: string;
5182
+ anchor_kind?: string | null;
5183
+ anchor_path?: string | null;
5184
+ obsolete: boolean;
5185
+ created_at: string;
5186
+ };
5187
+ export type DeploymentRequest = {
5188
+ id: number;
5189
+ source_workspace_id: string;
5190
+ fork_workspace_id: string;
5191
+ requested_by: string;
5192
+ requested_by_email: string;
5193
+ requested_at: string;
5194
+ assignees: Array<DeploymentRequestAssignee>;
5195
+ comments: Array<DeploymentRequestComment>;
5196
+ };
4871
5197
  export type QuotaInfo = {
4872
5198
  used: number;
4873
5199
  limit: number;
4874
5200
  prunable: number;
4875
5201
  };
4876
- export type NativeServiceName = 'nextcloud' | 'google';
5202
+ export type NativeServiceName = 'nextcloud' | 'google' | 'github';
4877
5203
  /**
4878
5204
  * A native trigger stored in Windmill
4879
5205
  */
@@ -5054,6 +5380,12 @@ export type SharedDriveEntry = {
5054
5380
  id: string;
5055
5381
  name: string;
5056
5382
  };
5383
+ export type GithubRepoEntry = {
5384
+ full_name: string;
5385
+ name: string;
5386
+ owner: string;
5387
+ private: boolean;
5388
+ };
5057
5389
  export type ParameterId = string;
5058
5390
  export type ParameterKey = string;
5059
5391
  export type ParameterWorkspaceId = string;
@@ -5344,6 +5676,7 @@ export type LoginData = {
5344
5676
  export type LoginResponse = string;
5345
5677
  export type LogoutResponse = string;
5346
5678
  export type IsSmtpConfiguredResponse = boolean;
5679
+ export type IsPasswordLoginDisabledResponse = boolean;
5347
5680
  export type RequestPasswordResetData = {
5348
5681
  /**
5349
5682
  * email to send password reset link to
@@ -5473,6 +5806,15 @@ export type GlobalUsersOverwriteData = {
5473
5806
  };
5474
5807
  export type GlobalUsersOverwriteResponse = string;
5475
5808
  export type GlobalUsersExportResponse = Array<ExportedUser>;
5809
+ export type ListExtJwtTokensData = {
5810
+ /**
5811
+ * only tokens used in the last 30 days
5812
+ */
5813
+ activeOnly?: boolean;
5814
+ page?: number;
5815
+ perPage?: number;
5816
+ };
5817
+ export type ListExtJwtTokensResponse = Array<ExternalJwtToken>;
5476
5818
  export type SubmitOnboardingDataData = {
5477
5819
  requestBody: {
5478
5820
  touch_point?: string;
@@ -5485,6 +5827,26 @@ export type DeleteUserData = {
5485
5827
  workspace: string;
5486
5828
  };
5487
5829
  export type DeleteUserResponse = string;
5830
+ export type OffboardPreviewData = {
5831
+ username: string;
5832
+ workspace: string;
5833
+ };
5834
+ export type OffboardPreviewResponse = OffboardPreview;
5835
+ export type OffboardWorkspaceUserData = {
5836
+ requestBody: OffboardRequest;
5837
+ username: string;
5838
+ workspace: string;
5839
+ };
5840
+ export type OffboardWorkspaceUserResponse = OffboardResponse;
5841
+ export type GlobalOffboardPreviewData = {
5842
+ email: string;
5843
+ };
5844
+ export type GlobalOffboardPreviewResponse = GlobalOffboardPreview;
5845
+ export type OffboardGlobalUserData = {
5846
+ email: string;
5847
+ requestBody: GlobalOffboardRequest;
5848
+ };
5849
+ export type OffboardGlobalUserResponse = OffboardResponse;
5488
5850
  export type ConvertUserToGroupData = {
5489
5851
  username: string;
5490
5852
  workspace: string;
@@ -5617,6 +5979,16 @@ export type DeleteTokenData = {
5617
5979
  tokenPrefix: string;
5618
5980
  };
5619
5981
  export type DeleteTokenResponse = string;
5982
+ export type UpdateTokenScopesData = {
5983
+ /**
5984
+ * new scopes (null or omitted = full access)
5985
+ */
5986
+ requestBody: {
5987
+ scopes?: Array<(string)> | null;
5988
+ };
5989
+ tokenPrefix: string;
5990
+ };
5991
+ export type UpdateTokenScopesResponse = string;
5620
5992
  export type ListTokensData = {
5621
5993
  excludeEphemeral?: boolean;
5622
5994
  /**
@@ -5697,6 +6069,7 @@ export type GetGhesConfigResponse = {
5697
6069
  base_url: string;
5698
6070
  app_slug: string;
5699
6071
  client_id: string;
6072
+ app_owner?: string | null;
5700
6073
  };
5701
6074
  export type ListWorkspacesResponse = Array<Workspace>;
5702
6075
  export type IsDomainAllowedResponse = boolean;
@@ -5880,6 +6253,21 @@ export type ListPendingInvitesData = {
5880
6253
  workspace: string;
5881
6254
  };
5882
6255
  export type ListPendingInvitesResponse = Array<WorkspaceInvite>;
6256
+ export type GetPublicSettingsData = {
6257
+ workspace: string;
6258
+ };
6259
+ export type GetPublicSettingsResponse = {
6260
+ workspace_id: string;
6261
+ slack_name?: string;
6262
+ slack_team_id?: string;
6263
+ teams_team_id?: string;
6264
+ teams_team_name?: string;
6265
+ teams_team_guid?: string;
6266
+ large_file_storage?: LargeFileStorage;
6267
+ datatable?: DataTableSettings;
6268
+ deploy_ui?: WorkspaceDeployUISettings;
6269
+ mute_critical_alerts?: boolean;
6270
+ };
5883
6271
  export type GetSettingsData = {
5884
6272
  workspace: string;
5885
6273
  };
@@ -6090,6 +6478,21 @@ export type ConnectTeamsData = {
6090
6478
  workspace: string;
6091
6479
  };
6092
6480
  export type ConnectTeamsResponse = string;
6481
+ export type ConnectSlackData = {
6482
+ /**
6483
+ * connect slack with a pre-minted bot token
6484
+ */
6485
+ requestBody: {
6486
+ /**
6487
+ * xoxb-... bot token obtained at api.slack.com/apps
6488
+ */
6489
+ bot_token: string;
6490
+ team_id: string;
6491
+ team_name: string;
6492
+ };
6493
+ workspace: string;
6494
+ };
6495
+ export type ConnectSlackResponse = unknown;
6093
6496
  export type RunSlackMessageTestJobData = {
6094
6497
  /**
6095
6498
  * path to hub script to run and its corresponding args
@@ -6218,11 +6621,26 @@ export type ListDucklakesResponse = Array<(string)>;
6218
6621
  export type ListDataTablesData = {
6219
6622
  workspace: string;
6220
6623
  };
6221
- export type ListDataTablesResponse = Array<(string)>;
6624
+ export type ListDataTablesResponse = Array<{
6625
+ name: string;
6626
+ resource_type: 'postgres' | 'instance';
6627
+ resource_path: string;
6628
+ }>;
6222
6629
  export type ListDataTableSchemasData = {
6223
6630
  workspace: string;
6224
6631
  };
6225
6632
  export type ListDataTableSchemasResponse = Array<DataTableSchema>;
6633
+ export type ListDataTableTablesData = {
6634
+ workspace: string;
6635
+ };
6636
+ export type ListDataTableTablesResponse = Array<DataTableTables>;
6637
+ export type GetDataTableTableSchemaData = {
6638
+ datatableName: string;
6639
+ schemaName: string;
6640
+ tableName: string;
6641
+ workspace: string;
6642
+ };
6643
+ export type GetDataTableTableSchemaResponse = DataTableTableSchema;
6226
6644
  export type EditDucklakeConfigData = {
6227
6645
  /**
6228
6646
  * Ducklake settings
@@ -6243,43 +6661,136 @@ export type EditDataTableConfigData = {
6243
6661
  workspace: string;
6244
6662
  };
6245
6663
  export type EditDataTableConfigResponse = unknown;
6246
- export type GetGitSyncEnabledData = {
6247
- workspace: string;
6248
- };
6249
- export type GetGitSyncEnabledResponse = {
6250
- enabled?: boolean;
6251
- reason?: string | null;
6252
- max_repos?: number | null;
6253
- user_count?: number | null;
6254
- max_users?: number | null;
6255
- };
6256
- export type EditWorkspaceGitSyncConfigData = {
6664
+ export type CreatePgDatabaseData = {
6257
6665
  /**
6258
- * Workspace Git sync settings
6666
+ * Create pg database request
6259
6667
  */
6260
6668
  requestBody: {
6261
- git_sync_settings?: WorkspaceGitSyncSettings;
6669
+ /**
6670
+ * Datatable source to determine connection info: 'datatable://name' or '$res:path'
6671
+ */
6672
+ source: string;
6673
+ /**
6674
+ * Name for the new database
6675
+ */
6676
+ target_dbname: string;
6262
6677
  };
6263
6678
  workspace: string;
6264
6679
  };
6265
- export type EditWorkspaceGitSyncConfigResponse = unknown;
6266
- export type EditGitSyncRepositoryData = {
6267
- /**
6268
- * Git sync repository settings to add or update
6269
- */
6680
+ export type CreatePgDatabaseResponse = string;
6681
+ export type DropForkedDatatableDatabasesData = {
6270
6682
  requestBody: {
6271
- /**
6272
- * The resource path of the git repository to update
6273
- */
6274
- git_repo_resource_path: string;
6275
- repository: GitRepositorySettings;
6683
+ datatable_names: Array<(string)>;
6276
6684
  };
6277
6685
  workspace: string;
6278
6686
  };
6279
- export type EditGitSyncRepositoryResponse = unknown;
6280
- export type DeleteGitSyncRepositoryData = {
6687
+ export type DropForkedDatatableDatabasesResponse = Array<(string)>;
6688
+ export type ImportPgDatabaseData = {
6281
6689
  /**
6282
- * Git sync repository to delete
6690
+ * Import pg database request
6691
+ */
6692
+ requestBody: {
6693
+ /**
6694
+ * Source database: 'datatable://name' or '$res:path'
6695
+ */
6696
+ source: string;
6697
+ /**
6698
+ * Target database: 'datatable://name' or '$res:path'
6699
+ */
6700
+ target: string;
6701
+ /**
6702
+ * Override the target database name
6703
+ */
6704
+ target_dbname_override?: string;
6705
+ fork_behavior: 'schema_only' | 'schema_and_data' | 'keep_original';
6706
+ };
6707
+ workspace: string;
6708
+ };
6709
+ export type ImportPgDatabaseResponse = string;
6710
+ export type ExportPgSchemaData = {
6711
+ /**
6712
+ * Export pg schema request
6713
+ */
6714
+ requestBody: {
6715
+ /**
6716
+ * Source database: 'datatable://name' or '$res:path'
6717
+ */
6718
+ source: string;
6719
+ };
6720
+ workspace: string;
6721
+ };
6722
+ export type ExportPgSchemaResponse = string;
6723
+ export type GetDatatableFullSchemaData = {
6724
+ requestBody: {
6725
+ /**
6726
+ * Source datatable, e.g. 'datatable://main'
6727
+ */
6728
+ source: string;
6729
+ };
6730
+ workspace: string;
6731
+ };
6732
+ export type GetDatatableFullSchemaResponse = {
6733
+ [key: string]: {
6734
+ [key: string]: {
6735
+ name: string;
6736
+ columns: Array<{
6737
+ name: string;
6738
+ datatype: string;
6739
+ primary_key?: boolean;
6740
+ default_value?: string;
6741
+ nullable?: boolean;
6742
+ }>;
6743
+ foreign_keys: Array<{
6744
+ target_table?: string;
6745
+ columns: Array<{
6746
+ source_column?: string;
6747
+ target_column?: string;
6748
+ }>;
6749
+ on_delete: string;
6750
+ on_update: string;
6751
+ fk_constraint_name?: string;
6752
+ }>;
6753
+ pk_constraint_name?: string;
6754
+ };
6755
+ };
6756
+ };
6757
+ export type GetGitSyncEnabledData = {
6758
+ workspace: string;
6759
+ };
6760
+ export type GetGitSyncEnabledResponse = {
6761
+ enabled?: boolean;
6762
+ reason?: string | null;
6763
+ max_repos?: number | null;
6764
+ user_count?: number | null;
6765
+ max_users?: number | null;
6766
+ };
6767
+ export type EditWorkspaceGitSyncConfigData = {
6768
+ /**
6769
+ * Workspace Git sync settings
6770
+ */
6771
+ requestBody: {
6772
+ git_sync_settings?: WorkspaceGitSyncSettings;
6773
+ };
6774
+ workspace: string;
6775
+ };
6776
+ export type EditWorkspaceGitSyncConfigResponse = unknown;
6777
+ export type EditGitSyncRepositoryData = {
6778
+ /**
6779
+ * Git sync repository settings to add or update
6780
+ */
6781
+ requestBody: {
6782
+ /**
6783
+ * The resource path of the git repository to update
6784
+ */
6785
+ git_repo_resource_path: string;
6786
+ repository: GitRepositorySettings;
6787
+ };
6788
+ workspace: string;
6789
+ };
6790
+ export type EditGitSyncRepositoryResponse = unknown;
6791
+ export type DeleteGitSyncRepositoryData = {
6792
+ /**
6793
+ * Git sync repository to delete
6283
6794
  */
6284
6795
  requestBody: {
6285
6796
  /**
@@ -6372,10 +6883,12 @@ export type GetUsedTriggersResponse = {
6372
6883
  postgres_used: boolean;
6373
6884
  mqtt_used: boolean;
6374
6885
  gcp_used: boolean;
6886
+ azure_used: boolean;
6375
6887
  sqs_used: boolean;
6376
6888
  email_used: boolean;
6377
6889
  nextcloud_used: boolean;
6378
6890
  google_used: boolean;
6891
+ github_used: boolean;
6379
6892
  };
6380
6893
  export type ListProtectionRulesData = {
6381
6894
  workspace: string;
@@ -6421,6 +6934,45 @@ export type DeleteProtectionRuleData = {
6421
6934
  workspace: string;
6422
6935
  };
6423
6936
  export type DeleteProtectionRuleResponse = string;
6937
+ export type ListDeploymentRequestEligibleDeployersData = {
6938
+ workspace: string;
6939
+ };
6940
+ export type ListDeploymentRequestEligibleDeployersResponse = Array<DeploymentRequestEligibleDeployer>;
6941
+ export type GetOpenDeploymentRequestData = {
6942
+ workspace: string;
6943
+ };
6944
+ export type GetOpenDeploymentRequestResponse = (DeploymentRequest) | null;
6945
+ export type CreateDeploymentRequestData = {
6946
+ requestBody: {
6947
+ /**
6948
+ * Usernames in the parent workspace. Must be admin or wm_deployers.
6949
+ */
6950
+ assignees: Array<(string)>;
6951
+ };
6952
+ workspace: string;
6953
+ };
6954
+ export type CreateDeploymentRequestResponse = DeploymentRequest;
6955
+ export type CancelDeploymentRequestData = {
6956
+ id: number;
6957
+ workspace: string;
6958
+ };
6959
+ export type CancelDeploymentRequestResponse = string;
6960
+ export type CloseDeploymentRequestMergedData = {
6961
+ id: number;
6962
+ workspace: string;
6963
+ };
6964
+ export type CloseDeploymentRequestMergedResponse = string;
6965
+ export type CreateDeploymentRequestCommentData = {
6966
+ id: number;
6967
+ requestBody: {
6968
+ body: string;
6969
+ parent_id?: number | null;
6970
+ anchor_kind?: string | null;
6971
+ anchor_path?: string | null;
6972
+ };
6973
+ workspace: string;
6974
+ };
6975
+ export type CreateDeploymentRequestCommentResponse = DeploymentRequestComment;
6424
6976
  export type LogAiChatData = {
6425
6977
  requestBody: {
6426
6978
  session_id: string;
@@ -6450,6 +7002,44 @@ export type PruneVersionsData = {
6450
7002
  export type PruneVersionsResponse = {
6451
7003
  pruned: number;
6452
7004
  };
7005
+ export type GetSharedUiData = {
7006
+ workspace: string;
7007
+ };
7008
+ export type GetSharedUiResponse = {
7009
+ files: {
7010
+ [key: string]: (string);
7011
+ };
7012
+ version: number;
7013
+ edited_at: string;
7014
+ edited_by: string;
7015
+ };
7016
+ export type ListSharedUiData = {
7017
+ workspace: string;
7018
+ };
7019
+ export type ListSharedUiResponse = {
7020
+ paths: Array<(string)>;
7021
+ sizes: {
7022
+ [key: string]: (number);
7023
+ };
7024
+ version: number;
7025
+ edited_at: string;
7026
+ edited_by: string;
7027
+ };
7028
+ export type GetSharedUiVersionData = {
7029
+ workspace: string;
7030
+ };
7031
+ export type GetSharedUiVersionResponse = {
7032
+ version: number;
7033
+ };
7034
+ export type UpdateSharedUiData = {
7035
+ requestBody: {
7036
+ files: {
7037
+ [key: string]: (string);
7038
+ };
7039
+ };
7040
+ workspace: string;
7041
+ };
7042
+ export type UpdateSharedUiResponse = string;
6453
7043
  export type RefreshCustomInstanceUserPwdResponse = {
6454
7044
  [key: string]: unknown;
6455
7045
  };
@@ -6466,6 +7056,13 @@ export type SetupCustomInstanceDbData = {
6466
7056
  };
6467
7057
  };
6468
7058
  export type SetupCustomInstanceDbResponse = CustomInstanceDb;
7059
+ export type DropCustomInstanceDbData = {
7060
+ /**
7061
+ * The name of the database to drop
7062
+ */
7063
+ name: string;
7064
+ };
7065
+ export type DropCustomInstanceDbResponse = string;
6469
7066
  export type GetGlobalData = {
6470
7067
  key: string;
6471
7068
  };
@@ -6480,6 +7077,7 @@ export type SetGlobalData = {
6480
7077
  };
6481
7078
  };
6482
7079
  export type SetGlobalResponse = string;
7080
+ export type GetRuffConfigResponse = string;
6483
7081
  export type GetLocalResponse = unknown;
6484
7082
  export type TestSmtpData = {
6485
7083
  /**
@@ -6896,6 +7494,20 @@ export type ConnectSlackCallbackInstanceData = {
6896
7494
  };
6897
7495
  };
6898
7496
  export type ConnectSlackCallbackInstanceResponse = string;
7497
+ export type ConnectSlackInstanceData = {
7498
+ /**
7499
+ * connect slack at the instance level with a pre-minted bot token
7500
+ */
7501
+ requestBody: {
7502
+ /**
7503
+ * xoxb-... bot token obtained at api.slack.com/apps
7504
+ */
7505
+ bot_token: string;
7506
+ team_id: string;
7507
+ team_name: string;
7508
+ };
7509
+ };
7510
+ export type ConnectSlackInstanceResponse = unknown;
6899
7511
  export type ConnectCallbackData = {
6900
7512
  clientName: string;
6901
7513
  /**
@@ -6998,6 +7610,10 @@ export type ListOauthLoginsResponse = {
6998
7610
  display_name?: string;
6999
7611
  }>;
7000
7612
  saml?: string;
7613
+ /**
7614
+ * provider type to auto-redirect to on login (oauth key or "saml")
7615
+ */
7616
+ auto_login?: string;
7001
7617
  };
7002
7618
  export type ListOauthConnectsResponse = Array<(string)>;
7003
7619
  export type GetOauthConnectData = {
@@ -7847,6 +8463,7 @@ export type ExecuteComponentData = {
7847
8463
  path?: string;
7848
8464
  lock?: string;
7849
8465
  cache_ttl?: number;
8466
+ tag?: string;
7850
8467
  };
7851
8468
  id?: number;
7852
8469
  force_viewer_static_fields?: {
@@ -7856,6 +8473,8 @@ export type ExecuteComponentData = {
7856
8473
  [key: string]: unknown;
7857
8474
  };
7858
8475
  force_viewer_allow_user_resources?: Array<(string)>;
8476
+ force_viewer_sensitive_inputs?: Array<(string)>;
8477
+ force_viewer_delete_after_secs?: number;
7859
8478
  /**
7860
8479
  * Runnable query parameters
7861
8480
  */
@@ -8238,6 +8857,24 @@ export type GetScriptDeploymentStatusResponse = {
8238
8857
  lock_error_logs?: string;
8239
8858
  job_id?: string;
8240
8859
  };
8860
+ export type GetCiTestResultsData = {
8861
+ kind: 'script' | 'flow' | 'resource';
8862
+ path: string;
8863
+ workspace: string;
8864
+ };
8865
+ export type GetCiTestResultsResponse = Array<CiTestResult>;
8866
+ export type GetCiTestResultsBatchData = {
8867
+ requestBody: {
8868
+ items: Array<{
8869
+ path: string;
8870
+ kind: 'script' | 'flow' | 'resource';
8871
+ }>;
8872
+ };
8873
+ workspace: string;
8874
+ };
8875
+ export type GetCiTestResultsBatchResponse = {
8876
+ [key: string]: Array<CiTestResult>;
8877
+ };
8241
8878
  export type StoreRawScriptTempData = {
8242
8879
  /**
8243
8880
  * script content to store
@@ -9111,17 +9748,30 @@ export type RestartFlowAtStepData = {
9111
9748
  */
9112
9749
  requestBody: {
9113
9750
  /**
9114
- * step id to restart the flow from
9751
+ * top-level step id to restart the flow from (or the outermost container when restarting at a nested step)
9115
9752
  */
9116
9753
  step_id: string;
9117
9754
  /**
9118
- * for branchall or loop, the iteration at which the flow should restart (optional)
9755
+ * for branchall or loop at the top level, the iteration at which the flow should restart (optional)
9119
9756
  */
9120
9757
  branch_or_iteration_n?: number;
9121
9758
  /**
9122
9759
  * specific flow version to use for restart (optional, uses current version if not specified)
9123
9760
  */
9124
9761
  flow_version?: number;
9762
+ /**
9763
+ * path of additional steps to descend into AFTER `step_id`. Each entry represents one level of nesting inside the spawned child of the previous level's container (BranchOne / sequential ForLoop iteration / Subflow). When non-empty, the actual restart point is the LAST entry's step_id.
9764
+ */
9765
+ nested_path?: Array<{
9766
+ /**
9767
+ * step id at this nesting level
9768
+ */
9769
+ step_id: string;
9770
+ /**
9771
+ * for ForLoop containers, the iteration to restart at (0-based; iterations 0..n-1 are preserved)
9772
+ */
9773
+ branch_or_iteration_n?: number;
9774
+ }>;
9125
9775
  };
9126
9776
  /**
9127
9777
  * when to schedule this job (leave empty for immediate run)
@@ -9266,6 +9916,28 @@ export type RunRawScriptDependenciesData = {
9266
9916
  export type RunRawScriptDependenciesResponse = {
9267
9917
  lock: string;
9268
9918
  };
9919
+ export type RunRawScriptDependenciesAsyncData = {
9920
+ /**
9921
+ * raw script content
9922
+ */
9923
+ requestBody: {
9924
+ raw_scripts: Array<RawScriptForDependencies>;
9925
+ entrypoint: string;
9926
+ };
9927
+ workspace: string;
9928
+ };
9929
+ export type RunRawScriptDependenciesAsyncResponse = string;
9930
+ export type RunFlowDependenciesAsyncData = {
9931
+ /**
9932
+ * flow value and path
9933
+ */
9934
+ requestBody: {
9935
+ path: string;
9936
+ flow_value: FlowValue;
9937
+ };
9938
+ workspace: string;
9939
+ };
9940
+ export type RunFlowDependenciesAsyncResponse = string;
9269
9941
  export type RunFlowPreviewData = {
9270
9942
  /**
9271
9943
  * List of headers's keys (separated with ',') whove value are added to the args
@@ -9663,6 +10335,7 @@ export type ListFilteredQueueUuidsData = {
9663
10335
  };
9664
10336
  export type ListFilteredQueueUuidsResponse = Array<(string)>;
9665
10337
  export type CancelSelectionData = {
10338
+ allWorkspaces?: boolean;
9666
10339
  forceCancel?: boolean;
9667
10340
  /**
9668
10341
  * uuids of the jobs to cancel
@@ -9965,6 +10638,10 @@ export type CountJobsByTagResponse = Array<{
9965
10638
  count: number;
9966
10639
  }>;
9967
10640
  export type GetJobData = {
10641
+ /**
10642
+ * Approval token granting read access to the job when not logged in. The token must be the one issued for this job's flow (i.e. the flow id used when generating the approval URL).
10643
+ */
10644
+ approvalToken?: string;
9968
10645
  id: string;
9969
10646
  noCode?: boolean;
9970
10647
  noLogs?: boolean;
@@ -9982,6 +10659,11 @@ export type GetJobLogsData = {
9982
10659
  workspace: string;
9983
10660
  };
9984
10661
  export type GetJobLogsResponse = string;
10662
+ export type GetFlowAllLogsData = {
10663
+ id: string;
10664
+ workspace: string;
10665
+ };
10666
+ export type GetFlowAllLogsResponse = string;
9985
10667
  export type GetCompletedJobLogsTailData = {
9986
10668
  id: string;
9987
10669
  workspace: string;
@@ -10469,9 +11151,9 @@ export type DeleteFlowConversationData = {
10469
11151
  export type DeleteFlowConversationResponse = string;
10470
11152
  export type ListConversationMessagesData = {
10471
11153
  /**
10472
- * id to fetch only the messages after that id
11154
+ * Message sequence cursor to fetch only the messages after that cursor
10473
11155
  */
10474
- afterId?: string;
11156
+ afterSeq?: number;
10475
11157
  /**
10476
11158
  * conversation id
10477
11159
  */
@@ -10608,6 +11290,11 @@ export type SetScheduleEnabledData = {
10608
11290
  */
10609
11291
  requestBody: {
10610
11292
  enabled: boolean;
11293
+ /**
11294
+ * Bypass the parent-state conflict warning when enabling a schedule in a fork whose parent has the same path enabled.
11295
+ *
11296
+ */
11297
+ force?: boolean;
10611
11298
  };
10612
11299
  workspace: string;
10613
11300
  };
@@ -10800,6 +11487,11 @@ export type SetHttpTriggerModeData = {
10800
11487
  path: string;
10801
11488
  requestBody: {
10802
11489
  mode: TriggerMode;
11490
+ /**
11491
+ * Bypass the parent-state conflict warning when enabling a trigger in a fork whose parent has the same path enabled.
11492
+ *
11493
+ */
11494
+ force?: boolean;
10803
11495
  };
10804
11496
  workspace: string;
10805
11497
  };
@@ -10865,6 +11557,11 @@ export type SetWebsocketTriggerModeData = {
10865
11557
  */
10866
11558
  requestBody: {
10867
11559
  mode: TriggerMode;
11560
+ /**
11561
+ * Bypass the parent-state conflict warning when enabling a trigger in a fork whose parent has the same path enabled.
11562
+ *
11563
+ */
11564
+ force?: boolean;
10868
11565
  };
10869
11566
  workspace: string;
10870
11567
  };
@@ -10942,6 +11639,11 @@ export type SetKafkaTriggerModeData = {
10942
11639
  */
10943
11640
  requestBody: {
10944
11641
  mode: TriggerMode;
11642
+ /**
11643
+ * Bypass the parent-state conflict warning when enabling a trigger in a fork whose parent has the same path enabled.
11644
+ *
11645
+ */
11646
+ force?: boolean;
10945
11647
  };
10946
11648
  workspace: string;
10947
11649
  };
@@ -11037,6 +11739,11 @@ export type SetNatsTriggerModeData = {
11037
11739
  */
11038
11740
  requestBody: {
11039
11741
  mode: TriggerMode;
11742
+ /**
11743
+ * Bypass the parent-state conflict warning when enabling a trigger in a fork whose parent has the same path enabled.
11744
+ *
11745
+ */
11746
+ force?: boolean;
11040
11747
  };
11041
11748
  workspace: string;
11042
11749
  };
@@ -11114,6 +11821,11 @@ export type SetSqsTriggerModeData = {
11114
11821
  */
11115
11822
  requestBody: {
11116
11823
  mode: TriggerMode;
11824
+ /**
11825
+ * Bypass the parent-state conflict warning when enabling a trigger in a fork whose parent has the same path enabled.
11826
+ *
11827
+ */
11828
+ force?: boolean;
11117
11829
  };
11118
11830
  workspace: string;
11119
11831
  };
@@ -11301,6 +12013,10 @@ export type ListGoogleSharedDrivesData = {
11301
12013
  workspace: string;
11302
12014
  };
11303
12015
  export type ListGoogleSharedDrivesResponse = Array<SharedDriveEntry>;
12016
+ export type ListGithubReposData = {
12017
+ workspace: string;
12018
+ };
12019
+ export type ListGithubReposResponse = Array<GithubRepoEntry>;
11304
12020
  export type NativeTriggerWebhookData = {
11305
12021
  /**
11306
12022
  * The internal database ID of the trigger
@@ -11377,6 +12093,11 @@ export type SetMqttTriggerModeData = {
11377
12093
  */
11378
12094
  requestBody: {
11379
12095
  mode: TriggerMode;
12096
+ /**
12097
+ * Bypass the parent-state conflict warning when enabling a trigger in a fork whose parent has the same path enabled.
12098
+ *
12099
+ */
12100
+ force?: boolean;
11380
12101
  };
11381
12102
  workspace: string;
11382
12103
  };
@@ -11454,6 +12175,11 @@ export type SetGcpTriggerModeData = {
11454
12175
  */
11455
12176
  requestBody: {
11456
12177
  mode: TriggerMode;
12178
+ /**
12179
+ * Bypass the parent-state conflict warning when enabling a trigger in a fork whose parent has the same path enabled.
12180
+ *
12181
+ */
12182
+ force?: boolean;
11457
12183
  };
11458
12184
  workspace: string;
11459
12185
  };
@@ -11493,6 +12219,100 @@ export type ListAllTgoogleTopicSubscriptionsData = {
11493
12219
  workspace: string;
11494
12220
  };
11495
12221
  export type ListAllTgoogleTopicSubscriptionsResponse = Array<(string)>;
12222
+ export type CreateAzureTriggerData = {
12223
+ requestBody: AzureTriggerData;
12224
+ workspace: string;
12225
+ };
12226
+ export type CreateAzureTriggerResponse = string;
12227
+ export type UpdateAzureTriggerData = {
12228
+ path: string;
12229
+ requestBody: AzureTriggerData;
12230
+ workspace: string;
12231
+ };
12232
+ export type UpdateAzureTriggerResponse = string;
12233
+ export type DeleteAzureTriggerData = {
12234
+ path: string;
12235
+ workspace: string;
12236
+ };
12237
+ export type DeleteAzureTriggerResponse = string;
12238
+ export type GetAzureTriggerData = {
12239
+ path: string;
12240
+ workspace: string;
12241
+ };
12242
+ export type GetAzureTriggerResponse = AzureTrigger;
12243
+ export type ListAzureTriggersData = {
12244
+ isFlow?: boolean;
12245
+ /**
12246
+ * which page to return (start at 1, default 1)
12247
+ */
12248
+ page?: number;
12249
+ /**
12250
+ * filter by exact path
12251
+ */
12252
+ path?: string;
12253
+ pathStart?: string;
12254
+ /**
12255
+ * number of items to return for a given page (default 30, max 100)
12256
+ */
12257
+ perPage?: number;
12258
+ workspace: string;
12259
+ };
12260
+ export type ListAzureTriggersResponse = Array<AzureTrigger>;
12261
+ export type ExistsAzureTriggerData = {
12262
+ path: string;
12263
+ workspace: string;
12264
+ };
12265
+ export type ExistsAzureTriggerResponse = boolean;
12266
+ export type SetAzureTriggerModeData = {
12267
+ path: string;
12268
+ requestBody: {
12269
+ mode: TriggerMode;
12270
+ /**
12271
+ * Bypass the parent-state conflict warning when enabling a trigger in a fork whose parent has the same path enabled.
12272
+ *
12273
+ */
12274
+ force?: boolean;
12275
+ };
12276
+ workspace: string;
12277
+ };
12278
+ export type SetAzureTriggerModeResponse = string;
12279
+ export type TestAzureConnectionData = {
12280
+ requestBody: TestAzureConnection;
12281
+ workspace: string;
12282
+ };
12283
+ export type TestAzureConnectionResponse = string;
12284
+ export type ListAzureNamespaceTopicsData = {
12285
+ path: string;
12286
+ requestBody: AzureListTopics;
12287
+ workspace: string;
12288
+ };
12289
+ export type ListAzureNamespaceTopicsResponse = Array<{
12290
+ [key: string]: unknown;
12291
+ }>;
12292
+ export type ListAzureNamespaceSubscriptionsData = {
12293
+ path: string;
12294
+ requestBody: AzureListSubscriptions;
12295
+ workspace: string;
12296
+ };
12297
+ export type ListAzureNamespaceSubscriptionsResponse = Array<{
12298
+ [key: string]: unknown;
12299
+ }>;
12300
+ export type DeleteAzureSubscriptionData = {
12301
+ path: string;
12302
+ requestBody: AzureDeleteSubscription;
12303
+ workspace: string;
12304
+ };
12305
+ export type DeleteAzureSubscriptionResponse = string;
12306
+ export type ListAzureNamespacesData = {
12307
+ path: string;
12308
+ workspace: string;
12309
+ };
12310
+ export type ListAzureNamespacesResponse = Array<AzureArmResource>;
12311
+ export type ListAzureBasicTopicsData = {
12312
+ path: string;
12313
+ workspace: string;
12314
+ };
12315
+ export type ListAzureBasicTopicsResponse = Array<AzureArmResource>;
11496
12316
  export type GetPostgresVersionData = {
11497
12317
  path: string;
11498
12318
  workspace: string;
@@ -11649,8 +12469,13 @@ export type SetPostgresTriggerModeData = {
11649
12469
  */
11650
12470
  requestBody: {
11651
12471
  mode: TriggerMode;
11652
- };
11653
- workspace: string;
12472
+ /**
12473
+ * Bypass the parent-state conflict warning when enabling a trigger in a fork whose parent has the same path enabled.
12474
+ *
12475
+ */
12476
+ force?: boolean;
12477
+ };
12478
+ workspace: string;
11654
12479
  };
11655
12480
  export type SetPostgresTriggerModeResponse = string;
11656
12481
  export type TestPostgresConnectionData = {
@@ -11733,6 +12558,11 @@ export type SetEmailTriggerModeData = {
11733
12558
  path: string;
11734
12559
  requestBody: {
11735
12560
  mode: TriggerMode;
12561
+ /**
12562
+ * Bypass the parent-state conflict warning when enabling a trigger in a fork whose parent has the same path enabled.
12563
+ *
12564
+ */
12565
+ force?: boolean;
11736
12566
  };
11737
12567
  workspace: string;
11738
12568
  };
@@ -11921,6 +12751,7 @@ export type CreateFolderData = {
11921
12751
  summary?: string;
11922
12752
  owners?: Array<(string)>;
11923
12753
  extra_perms?: unknown;
12754
+ default_permissioned_as?: FolderDefaultPermissionedAs;
11924
12755
  };
11925
12756
  workspace: string;
11926
12757
  };
@@ -11934,6 +12765,7 @@ export type UpdateFolderData = {
11934
12765
  summary?: string;
11935
12766
  owners?: Array<(string)>;
11936
12767
  extra_perms?: unknown;
12768
+ default_permissioned_as?: FolderDefaultPermissionedAs;
11937
12769
  };
11938
12770
  workspace: string;
11939
12771
  };
@@ -12118,7 +12950,7 @@ export type ListBlacklistedAgentTokensResponse = Array<{
12118
12950
  }>;
12119
12951
  export type GetMinVersionResponse = string;
12120
12952
  export type GetGranularAclsData = {
12121
- kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app' | 'http_trigger' | 'websocket_trigger' | 'kafka_trigger' | 'nats_trigger' | 'postgres_trigger' | 'mqtt_trigger' | 'gcp_trigger' | 'sqs_trigger' | 'email_trigger' | 'volume';
12953
+ kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app' | 'http_trigger' | 'websocket_trigger' | 'kafka_trigger' | 'nats_trigger' | 'postgres_trigger' | 'mqtt_trigger' | 'gcp_trigger' | 'azure_trigger' | 'sqs_trigger' | 'email_trigger' | 'volume';
12122
12954
  path: string;
12123
12955
  workspace: string;
12124
12956
  };
@@ -12126,7 +12958,7 @@ export type GetGranularAclsResponse = {
12126
12958
  [key: string]: (boolean);
12127
12959
  };
12128
12960
  export type AddGranularAclsData = {
12129
- kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app' | 'http_trigger' | 'websocket_trigger' | 'kafka_trigger' | 'nats_trigger' | 'postgres_trigger' | 'mqtt_trigger' | 'gcp_trigger' | 'sqs_trigger' | 'email_trigger' | 'volume';
12961
+ kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app' | 'http_trigger' | 'websocket_trigger' | 'kafka_trigger' | 'nats_trigger' | 'postgres_trigger' | 'mqtt_trigger' | 'gcp_trigger' | 'azure_trigger' | 'sqs_trigger' | 'email_trigger' | 'volume';
12130
12962
  path: string;
12131
12963
  /**
12132
12964
  * acl to add
@@ -12139,7 +12971,7 @@ export type AddGranularAclsData = {
12139
12971
  };
12140
12972
  export type AddGranularAclsResponse = string;
12141
12973
  export type RemoveGranularAclsData = {
12142
- kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app' | 'http_trigger' | 'websocket_trigger' | 'kafka_trigger' | 'nats_trigger' | 'postgres_trigger' | 'mqtt_trigger' | 'gcp_trigger' | 'sqs_trigger' | 'email_trigger' | 'volume';
12974
+ kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app' | 'http_trigger' | 'websocket_trigger' | 'kafka_trigger' | 'nats_trigger' | 'postgres_trigger' | 'mqtt_trigger' | 'gcp_trigger' | 'azure_trigger' | 'sqs_trigger' | 'email_trigger' | 'volume';
12143
12975
  path: string;
12144
12976
  /**
12145
12977
  * acl to add
@@ -12444,6 +13276,13 @@ export type CheckS3FolderExistsData = {
12444
13276
  * S3 file key to check (e.g., gitrepos/{workspace_id}/u/user/resource/{commit_hash})
12445
13277
  */
12446
13278
  fileKey: string;
13279
+ /**
13280
+ * If provided, the folder is only considered to exist when this exact
13281
+ * sentinel file is present under file_key. Lets callers distinguish a
13282
+ * fully populated folder from a partial upload.
13283
+ *
13284
+ */
13285
+ markerFile?: string;
12447
13286
  workspace: string;
12448
13287
  };
12449
13288
  export type CheckS3FolderExistsResponse = {
@@ -13115,6 +13954,16 @@ export type $OpenApiTs = {
13115
13954
  };
13116
13955
  };
13117
13956
  };
13957
+ '/auth/is_password_login_disabled': {
13958
+ get: {
13959
+ res: {
13960
+ /**
13961
+ * returns true if password login is disabled
13962
+ */
13963
+ 200: boolean;
13964
+ };
13965
+ };
13966
+ };
13118
13967
  '/auth/request_password_reset': {
13119
13968
  post: {
13120
13969
  req: {
@@ -13387,6 +14236,24 @@ export type $OpenApiTs = {
13387
14236
  };
13388
14237
  };
13389
14238
  };
14239
+ '/users/ext_jwt_tokens': {
14240
+ get: {
14241
+ req: {
14242
+ /**
14243
+ * only tokens used in the last 30 days
14244
+ */
14245
+ activeOnly?: boolean;
14246
+ page?: number;
14247
+ perPage?: number;
14248
+ };
14249
+ res: {
14250
+ /**
14251
+ * list of external JWT tokens
14252
+ */
14253
+ 200: Array<ExternalJwtToken>;
14254
+ };
14255
+ };
14256
+ };
13390
14257
  '/users/onboarding': {
13391
14258
  post: {
13392
14259
  req: {
@@ -13417,6 +14284,62 @@ export type $OpenApiTs = {
13417
14284
  };
13418
14285
  };
13419
14286
  };
14287
+ '/w/{workspace}/users/offboard_preview/{username}': {
14288
+ get: {
14289
+ req: {
14290
+ username: string;
14291
+ workspace: string;
14292
+ };
14293
+ res: {
14294
+ /**
14295
+ * offboard preview with object counts
14296
+ */
14297
+ 200: OffboardPreview;
14298
+ };
14299
+ };
14300
+ };
14301
+ '/w/{workspace}/users/offboard/{username}': {
14302
+ post: {
14303
+ req: {
14304
+ requestBody: OffboardRequest;
14305
+ username: string;
14306
+ workspace: string;
14307
+ };
14308
+ res: {
14309
+ /**
14310
+ * offboard response with conflicts or summary
14311
+ */
14312
+ 200: OffboardResponse;
14313
+ };
14314
+ };
14315
+ };
14316
+ '/users/offboard_preview/{email}': {
14317
+ get: {
14318
+ req: {
14319
+ email: string;
14320
+ };
14321
+ res: {
14322
+ /**
14323
+ * per-workspace offboard previews
14324
+ */
14325
+ 200: GlobalOffboardPreview;
14326
+ };
14327
+ };
14328
+ };
14329
+ '/users/offboard/{email}': {
14330
+ post: {
14331
+ req: {
14332
+ email: string;
14333
+ requestBody: GlobalOffboardRequest;
14334
+ };
14335
+ res: {
14336
+ /**
14337
+ * offboard result
14338
+ */
14339
+ 200: OffboardResponse;
14340
+ };
14341
+ };
14342
+ };
13420
14343
  '/w/{workspace}/users/convert_to_group/{username}': {
13421
14344
  post: {
13422
14345
  req: {
@@ -13772,6 +14695,25 @@ export type $OpenApiTs = {
13772
14695
  };
13773
14696
  };
13774
14697
  };
14698
+ '/users/tokens/update_scopes/{token_prefix}': {
14699
+ post: {
14700
+ req: {
14701
+ /**
14702
+ * new scopes (null or omitted = full access)
14703
+ */
14704
+ requestBody: {
14705
+ scopes?: Array<(string)> | null;
14706
+ };
14707
+ tokenPrefix: string;
14708
+ };
14709
+ res: {
14710
+ /**
14711
+ * scopes updated
14712
+ */
14713
+ 200: string;
14714
+ };
14715
+ };
14716
+ };
13775
14717
  '/users/tokens/list': {
13776
14718
  get: {
13777
14719
  req: {
@@ -13931,6 +14873,7 @@ export type $OpenApiTs = {
13931
14873
  base_url: string;
13932
14874
  app_slug: string;
13933
14875
  client_id: string;
14876
+ app_owner?: string | null;
13934
14877
  };
13935
14878
  };
13936
14879
  };
@@ -14360,6 +15303,30 @@ export type $OpenApiTs = {
14360
15303
  };
14361
15304
  };
14362
15305
  };
15306
+ '/w/{workspace}/workspaces/get_public_settings': {
15307
+ get: {
15308
+ req: {
15309
+ workspace: string;
15310
+ };
15311
+ res: {
15312
+ /**
15313
+ * status
15314
+ */
15315
+ 200: {
15316
+ workspace_id: string;
15317
+ slack_name?: string;
15318
+ slack_team_id?: string;
15319
+ teams_team_id?: string;
15320
+ teams_team_name?: string;
15321
+ teams_team_guid?: string;
15322
+ large_file_storage?: LargeFileStorage;
15323
+ datatable?: DataTableSettings;
15324
+ deploy_ui?: WorkspaceDeployUISettings;
15325
+ mute_critical_alerts?: boolean;
15326
+ };
15327
+ };
15328
+ };
15329
+ };
14363
15330
  '/w/{workspace}/workspaces/get_settings': {
14364
15331
  get: {
14365
15332
  req: {
@@ -14735,6 +15702,30 @@ export type $OpenApiTs = {
14735
15702
  };
14736
15703
  };
14737
15704
  };
15705
+ '/w/{workspace}/workspaces/connect_slack': {
15706
+ post: {
15707
+ req: {
15708
+ /**
15709
+ * connect slack with a pre-minted bot token
15710
+ */
15711
+ requestBody: {
15712
+ /**
15713
+ * xoxb-... bot token obtained at api.slack.com/apps
15714
+ */
15715
+ bot_token: string;
15716
+ team_id: string;
15717
+ team_name: string;
15718
+ };
15719
+ workspace: string;
15720
+ };
15721
+ res: {
15722
+ /**
15723
+ * status
15724
+ */
15725
+ 200: unknown;
15726
+ };
15727
+ };
15728
+ };
14738
15729
  '/w/{workspace}/workspaces/run_slack_message_test_job': {
14739
15730
  post: {
14740
15731
  req: {
@@ -14986,7 +15977,11 @@ export type $OpenApiTs = {
14986
15977
  /**
14987
15978
  * status
14988
15979
  */
14989
- 200: Array<(string)>;
15980
+ 200: Array<{
15981
+ name: string;
15982
+ resource_type: 'postgres' | 'instance';
15983
+ resource_path: string;
15984
+ }>;
14990
15985
  };
14991
15986
  };
14992
15987
  };
@@ -15003,6 +15998,35 @@ export type $OpenApiTs = {
15003
15998
  };
15004
15999
  };
15005
16000
  };
16001
+ '/w/{workspace}/workspaces/list_datatable_tables': {
16002
+ get: {
16003
+ req: {
16004
+ workspace: string;
16005
+ };
16006
+ res: {
16007
+ /**
16008
+ * table metadata of all datatables
16009
+ */
16010
+ 200: Array<DataTableTables>;
16011
+ };
16012
+ };
16013
+ };
16014
+ '/w/{workspace}/workspaces/get_datatable_table_schema': {
16015
+ get: {
16016
+ req: {
16017
+ datatableName: string;
16018
+ schemaName: string;
16019
+ tableName: string;
16020
+ workspace: string;
16021
+ };
16022
+ res: {
16023
+ /**
16024
+ * schema of one datatable table
16025
+ */
16026
+ 200: DataTableTableSchema;
16027
+ };
16028
+ };
16029
+ };
15006
16030
  '/w/{workspace}/workspaces/edit_ducklake_config': {
15007
16031
  post: {
15008
16032
  req: {
@@ -15041,6 +16065,144 @@ export type $OpenApiTs = {
15041
16065
  };
15042
16066
  };
15043
16067
  };
16068
+ '/w/{workspace}/workspaces/create_pg_database': {
16069
+ post: {
16070
+ req: {
16071
+ /**
16072
+ * Create pg database request
16073
+ */
16074
+ requestBody: {
16075
+ /**
16076
+ * Datatable source to determine connection info: 'datatable://name' or '$res:path'
16077
+ */
16078
+ source: string;
16079
+ /**
16080
+ * Name for the new database
16081
+ */
16082
+ target_dbname: string;
16083
+ };
16084
+ workspace: string;
16085
+ };
16086
+ res: {
16087
+ /**
16088
+ * status
16089
+ */
16090
+ 200: string;
16091
+ };
16092
+ };
16093
+ };
16094
+ '/w/{workspace}/workspaces/drop_forked_datatable_databases': {
16095
+ post: {
16096
+ req: {
16097
+ requestBody: {
16098
+ datatable_names: Array<(string)>;
16099
+ };
16100
+ workspace: string;
16101
+ };
16102
+ res: {
16103
+ /**
16104
+ * list of errors (empty if all succeeded)
16105
+ */
16106
+ 200: Array<(string)>;
16107
+ };
16108
+ };
16109
+ };
16110
+ '/w/{workspace}/workspaces/import_pg_database': {
16111
+ post: {
16112
+ req: {
16113
+ /**
16114
+ * Import pg database request
16115
+ */
16116
+ requestBody: {
16117
+ /**
16118
+ * Source database: 'datatable://name' or '$res:path'
16119
+ */
16120
+ source: string;
16121
+ /**
16122
+ * Target database: 'datatable://name' or '$res:path'
16123
+ */
16124
+ target: string;
16125
+ /**
16126
+ * Override the target database name
16127
+ */
16128
+ target_dbname_override?: string;
16129
+ fork_behavior: 'schema_only' | 'schema_and_data' | 'keep_original';
16130
+ };
16131
+ workspace: string;
16132
+ };
16133
+ res: {
16134
+ /**
16135
+ * status
16136
+ */
16137
+ 200: string;
16138
+ };
16139
+ };
16140
+ };
16141
+ '/w/{workspace}/workspaces/export_pg_schema': {
16142
+ post: {
16143
+ req: {
16144
+ /**
16145
+ * Export pg schema request
16146
+ */
16147
+ requestBody: {
16148
+ /**
16149
+ * Source database: 'datatable://name' or '$res:path'
16150
+ */
16151
+ source: string;
16152
+ };
16153
+ workspace: string;
16154
+ };
16155
+ res: {
16156
+ /**
16157
+ * schema dump
16158
+ */
16159
+ 200: string;
16160
+ };
16161
+ };
16162
+ };
16163
+ '/w/{workspace}/workspaces/get_datatable_full_schema': {
16164
+ post: {
16165
+ req: {
16166
+ requestBody: {
16167
+ /**
16168
+ * Source datatable, e.g. 'datatable://main'
16169
+ */
16170
+ source: string;
16171
+ };
16172
+ workspace: string;
16173
+ };
16174
+ res: {
16175
+ /**
16176
+ * Schema as { schema_name: { table_name: TableEditorValues } }
16177
+ */
16178
+ 200: {
16179
+ [key: string]: {
16180
+ [key: string]: {
16181
+ name: string;
16182
+ columns: Array<{
16183
+ name: string;
16184
+ datatype: string;
16185
+ primary_key?: boolean;
16186
+ default_value?: string;
16187
+ nullable?: boolean;
16188
+ }>;
16189
+ foreign_keys: Array<{
16190
+ target_table?: string;
16191
+ columns: Array<{
16192
+ source_column?: string;
16193
+ target_column?: string;
16194
+ }>;
16195
+ on_delete: string;
16196
+ on_update: string;
16197
+ fk_constraint_name?: string;
16198
+ }>;
16199
+ pk_constraint_name?: string;
16200
+ };
16201
+ };
16202
+ };
16203
+ };
16204
+ };
16205
+ };
15044
16206
  '/w/{workspace}/workspaces/git_sync_enabled': {
15045
16207
  get: {
15046
16208
  req: {
@@ -15289,10 +16451,12 @@ export type $OpenApiTs = {
15289
16451
  postgres_used: boolean;
15290
16452
  mqtt_used: boolean;
15291
16453
  gcp_used: boolean;
16454
+ azure_used: boolean;
15292
16455
  sqs_used: boolean;
15293
16456
  email_used: boolean;
15294
16457
  nextcloud_used: boolean;
15295
16458
  google_used: boolean;
16459
+ github_used: boolean;
15296
16460
  };
15297
16461
  };
15298
16462
  };
@@ -15385,6 +16549,111 @@ export type $OpenApiTs = {
15385
16549
  };
15386
16550
  };
15387
16551
  };
16552
+ '/w/{workspace}/deployment_request/eligible_deployers': {
16553
+ get: {
16554
+ req: {
16555
+ workspace: string;
16556
+ };
16557
+ res: {
16558
+ /**
16559
+ * list of eligible deployers
16560
+ */
16561
+ 200: Array<DeploymentRequestEligibleDeployer>;
16562
+ };
16563
+ };
16564
+ };
16565
+ '/w/{workspace}/deployment_request/open': {
16566
+ get: {
16567
+ req: {
16568
+ workspace: string;
16569
+ };
16570
+ res: {
16571
+ /**
16572
+ * the open request or null if none exists
16573
+ */
16574
+ 200: (DeploymentRequest) | null;
16575
+ };
16576
+ };
16577
+ };
16578
+ '/w/{workspace}/deployment_request': {
16579
+ post: {
16580
+ req: {
16581
+ requestBody: {
16582
+ /**
16583
+ * Usernames in the parent workspace. Must be admin or wm_deployers.
16584
+ */
16585
+ assignees: Array<(string)>;
16586
+ };
16587
+ workspace: string;
16588
+ };
16589
+ res: {
16590
+ /**
16591
+ * request created
16592
+ */
16593
+ 200: DeploymentRequest;
16594
+ /**
16595
+ * invalid assignees
16596
+ */
16597
+ 400: unknown;
16598
+ /**
16599
+ * a deployment request is already open for this fork
16600
+ */
16601
+ 409: unknown;
16602
+ };
16603
+ };
16604
+ };
16605
+ '/w/{workspace}/deployment_request/{id}/cancel': {
16606
+ post: {
16607
+ req: {
16608
+ id: number;
16609
+ workspace: string;
16610
+ };
16611
+ res: {
16612
+ /**
16613
+ * cancelled
16614
+ */
16615
+ 200: string;
16616
+ };
16617
+ };
16618
+ };
16619
+ '/w/{workspace}/deployment_request/{id}/close_merged': {
16620
+ post: {
16621
+ req: {
16622
+ id: number;
16623
+ workspace: string;
16624
+ };
16625
+ res: {
16626
+ /**
16627
+ * closed
16628
+ */
16629
+ 200: string;
16630
+ };
16631
+ };
16632
+ };
16633
+ '/w/{workspace}/deployment_request/{id}/comment': {
16634
+ post: {
16635
+ req: {
16636
+ id: number;
16637
+ requestBody: {
16638
+ body: string;
16639
+ parent_id?: number | null;
16640
+ anchor_kind?: string | null;
16641
+ anchor_path?: string | null;
16642
+ };
16643
+ workspace: string;
16644
+ };
16645
+ res: {
16646
+ /**
16647
+ * comment created
16648
+ */
16649
+ 200: DeploymentRequestComment;
16650
+ /**
16651
+ * invalid input or request closed
16652
+ */
16653
+ 400: unknown;
16654
+ };
16655
+ };
16656
+ };
15388
16657
  '/w/{workspace}/workspaces/log_chat': {
15389
16658
  post: {
15390
16659
  req: {
@@ -15441,6 +16710,80 @@ export type $OpenApiTs = {
15441
16710
  };
15442
16711
  };
15443
16712
  };
16713
+ '/w/{workspace}/shared_ui/get': {
16714
+ get: {
16715
+ req: {
16716
+ workspace: string;
16717
+ };
16718
+ res: {
16719
+ /**
16720
+ * shared UI content
16721
+ */
16722
+ 200: {
16723
+ files: {
16724
+ [key: string]: (string);
16725
+ };
16726
+ version: number;
16727
+ edited_at: string;
16728
+ edited_by: string;
16729
+ };
16730
+ };
16731
+ };
16732
+ };
16733
+ '/w/{workspace}/shared_ui/list': {
16734
+ get: {
16735
+ req: {
16736
+ workspace: string;
16737
+ };
16738
+ res: {
16739
+ /**
16740
+ * shared UI listing
16741
+ */
16742
+ 200: {
16743
+ paths: Array<(string)>;
16744
+ sizes: {
16745
+ [key: string]: (number);
16746
+ };
16747
+ version: number;
16748
+ edited_at: string;
16749
+ edited_by: string;
16750
+ };
16751
+ };
16752
+ };
16753
+ };
16754
+ '/w/{workspace}/shared_ui/version': {
16755
+ get: {
16756
+ req: {
16757
+ workspace: string;
16758
+ };
16759
+ res: {
16760
+ /**
16761
+ * shared UI version
16762
+ */
16763
+ 200: {
16764
+ version: number;
16765
+ };
16766
+ };
16767
+ };
16768
+ };
16769
+ '/w/{workspace}/shared_ui': {
16770
+ put: {
16771
+ req: {
16772
+ requestBody: {
16773
+ files: {
16774
+ [key: string]: (string);
16775
+ };
16776
+ };
16777
+ workspace: string;
16778
+ };
16779
+ res: {
16780
+ /**
16781
+ * updated
16782
+ */
16783
+ 200: string;
16784
+ };
16785
+ };
16786
+ };
15444
16787
  '/settings/refresh_custom_instance_user_pwd': {
15445
16788
  post: {
15446
16789
  res: {
@@ -15484,6 +16827,22 @@ export type $OpenApiTs = {
15484
16827
  };
15485
16828
  };
15486
16829
  };
16830
+ '/settings/drop_custom_instance_pg_database/{name}': {
16831
+ post: {
16832
+ req: {
16833
+ /**
16834
+ * The name of the database to drop
16835
+ */
16836
+ name: string;
16837
+ };
16838
+ res: {
16839
+ /**
16840
+ * status
16841
+ */
16842
+ 200: string;
16843
+ };
16844
+ };
16845
+ };
15487
16846
  '/settings/global/{key}': {
15488
16847
  get: {
15489
16848
  req: {
@@ -15514,6 +16873,16 @@ export type $OpenApiTs = {
15514
16873
  };
15515
16874
  };
15516
16875
  };
16876
+ '/settings_u/ruff_config': {
16877
+ get: {
16878
+ res: {
16879
+ /**
16880
+ * ruff.toml content (may be empty)
16881
+ */
16882
+ 200: string;
16883
+ };
16884
+ };
16885
+ };
15517
16886
  '/settings/local': {
15518
16887
  get: {
15519
16888
  res: {
@@ -16403,6 +17772,29 @@ export type $OpenApiTs = {
16403
17772
  };
16404
17773
  };
16405
17774
  };
17775
+ '/oauth/connect_slack_instance': {
17776
+ post: {
17777
+ req: {
17778
+ /**
17779
+ * connect slack at the instance level with a pre-minted bot token
17780
+ */
17781
+ requestBody: {
17782
+ /**
17783
+ * xoxb-... bot token obtained at api.slack.com/apps
17784
+ */
17785
+ bot_token: string;
17786
+ team_id: string;
17787
+ team_name: string;
17788
+ };
17789
+ };
17790
+ res: {
17791
+ /**
17792
+ * status
17793
+ */
17794
+ 200: unknown;
17795
+ };
17796
+ };
17797
+ };
16406
17798
  '/oauth/connect_callback/{client_name}': {
16407
17799
  post: {
16408
17800
  req: {
@@ -16574,6 +17966,10 @@ export type $OpenApiTs = {
16574
17966
  display_name?: string;
16575
17967
  }>;
16576
17968
  saml?: string;
17969
+ /**
17970
+ * provider type to auto-redirect to on login (oauth key or "saml")
17971
+ */
17972
+ auto_login?: string;
16577
17973
  };
16578
17974
  };
16579
17975
  };
@@ -18139,6 +19535,7 @@ export type $OpenApiTs = {
18139
19535
  path?: string;
18140
19536
  lock?: string;
18141
19537
  cache_ttl?: number;
19538
+ tag?: string;
18142
19539
  };
18143
19540
  id?: number;
18144
19541
  force_viewer_static_fields?: {
@@ -18148,6 +19545,8 @@ export type $OpenApiTs = {
18148
19545
  [key: string]: unknown;
18149
19546
  };
18150
19547
  force_viewer_allow_user_resources?: Array<(string)>;
19548
+ force_viewer_sensitive_inputs?: Array<(string)>;
19549
+ force_viewer_delete_after_secs?: number;
18151
19550
  /**
18152
19551
  * Runnable query parameters
18153
19552
  */
@@ -18825,6 +20224,42 @@ export type $OpenApiTs = {
18825
20224
  };
18826
20225
  };
18827
20226
  };
20227
+ '/w/{workspace}/scripts/ci_test_results/{kind}/{path}': {
20228
+ get: {
20229
+ req: {
20230
+ kind: 'script' | 'flow' | 'resource';
20231
+ path: string;
20232
+ workspace: string;
20233
+ };
20234
+ res: {
20235
+ /**
20236
+ * CI test results
20237
+ */
20238
+ 200: Array<CiTestResult>;
20239
+ };
20240
+ };
20241
+ };
20242
+ '/w/{workspace}/scripts/ci_test_results_batch': {
20243
+ post: {
20244
+ req: {
20245
+ requestBody: {
20246
+ items: Array<{
20247
+ path: string;
20248
+ kind: 'script' | 'flow' | 'resource';
20249
+ }>;
20250
+ };
20251
+ workspace: string;
20252
+ };
20253
+ res: {
20254
+ /**
20255
+ * CI test results by item key
20256
+ */
20257
+ 200: {
20258
+ [key: string]: Array<CiTestResult>;
20259
+ };
20260
+ };
20261
+ };
20262
+ };
18828
20263
  '/w/{workspace}/scripts/raw_temp/store': {
18829
20264
  post: {
18830
20265
  req: {
@@ -20021,17 +21456,30 @@ export type $OpenApiTs = {
20021
21456
  */
20022
21457
  requestBody: {
20023
21458
  /**
20024
- * step id to restart the flow from
21459
+ * top-level step id to restart the flow from (or the outermost container when restarting at a nested step)
20025
21460
  */
20026
21461
  step_id: string;
20027
21462
  /**
20028
- * for branchall or loop, the iteration at which the flow should restart (optional)
21463
+ * for branchall or loop at the top level, the iteration at which the flow should restart (optional)
20029
21464
  */
20030
21465
  branch_or_iteration_n?: number;
20031
21466
  /**
20032
21467
  * specific flow version to use for restart (optional, uses current version if not specified)
20033
21468
  */
20034
21469
  flow_version?: number;
21470
+ /**
21471
+ * path of additional steps to descend into AFTER `step_id`. Each entry represents one level of nesting inside the spawned child of the previous level's container (BranchOne / sequential ForLoop iteration / Subflow). When non-empty, the actual restart point is the LAST entry's step_id.
21472
+ */
21473
+ nested_path?: Array<{
21474
+ /**
21475
+ * step id at this nesting level
21476
+ */
21477
+ step_id: string;
21478
+ /**
21479
+ * for ForLoop containers, the iteration to restart at (0-based; iterations 0..n-1 are preserved)
21480
+ */
21481
+ branch_or_iteration_n?: number;
21482
+ }>;
20035
21483
  };
20036
21484
  /**
20037
21485
  * when to schedule this job (leave empty for immediate run)
@@ -20255,6 +21703,46 @@ export type $OpenApiTs = {
20255
21703
  };
20256
21704
  };
20257
21705
  };
21706
+ '/w/{workspace}/jobs/run/dependencies_async': {
21707
+ post: {
21708
+ req: {
21709
+ /**
21710
+ * raw script content
21711
+ */
21712
+ requestBody: {
21713
+ raw_scripts: Array<RawScriptForDependencies>;
21714
+ entrypoint: string;
21715
+ };
21716
+ workspace: string;
21717
+ };
21718
+ res: {
21719
+ /**
21720
+ * dependency job created
21721
+ */
21722
+ 201: string;
21723
+ };
21724
+ };
21725
+ };
21726
+ '/w/{workspace}/jobs/run/flow_dependencies_async': {
21727
+ post: {
21728
+ req: {
21729
+ /**
21730
+ * flow value and path
21731
+ */
21732
+ requestBody: {
21733
+ path: string;
21734
+ flow_value: FlowValue;
21735
+ };
21736
+ workspace: string;
21737
+ };
21738
+ res: {
21739
+ /**
21740
+ * flow dependencies job created
21741
+ */
21742
+ 201: string;
21743
+ };
21744
+ };
21745
+ };
20258
21746
  '/w/{workspace}/jobs/run/preview_flow': {
20259
21747
  post: {
20260
21748
  req: {
@@ -20735,6 +22223,7 @@ export type $OpenApiTs = {
20735
22223
  '/w/{workspace}/jobs/queue/cancel_selection': {
20736
22224
  post: {
20737
22225
  req: {
22226
+ allWorkspaces?: boolean;
20738
22227
  forceCancel?: boolean;
20739
22228
  /**
20740
22229
  * uuids of the jobs to cancel
@@ -21136,6 +22625,10 @@ export type $OpenApiTs = {
21136
22625
  '/w/{workspace}/jobs_u/get/{id}': {
21137
22626
  get: {
21138
22627
  req: {
22628
+ /**
22629
+ * Approval token granting read access to the job when not logged in. The token must be the one issued for this job's flow (i.e. the flow id used when generating the approval URL).
22630
+ */
22631
+ approvalToken?: string;
21139
22632
  id: string;
21140
22633
  noCode?: boolean;
21141
22634
  noLogs?: boolean;
@@ -21178,6 +22671,20 @@ export type $OpenApiTs = {
21178
22671
  };
21179
22672
  };
21180
22673
  };
22674
+ '/w/{workspace}/jobs_u/get_flow_all_logs/{id}': {
22675
+ get: {
22676
+ req: {
22677
+ id: string;
22678
+ workspace: string;
22679
+ };
22680
+ res: {
22681
+ /**
22682
+ * concatenated logs of all flow steps
22683
+ */
22684
+ 200: string;
22685
+ };
22686
+ };
22687
+ };
21181
22688
  '/w/{workspace}/jobs_u/get_completed_logs_tail/{id}': {
21182
22689
  get: {
21183
22690
  req: {
@@ -21967,9 +23474,9 @@ export type $OpenApiTs = {
21967
23474
  get: {
21968
23475
  req: {
21969
23476
  /**
21970
- * id to fetch only the messages after that id
23477
+ * Message sequence cursor to fetch only the messages after that cursor
21971
23478
  */
21972
- afterId?: string;
23479
+ afterSeq?: number;
21973
23480
  /**
21974
23481
  * conversation id
21975
23482
  */
@@ -22178,6 +23685,11 @@ export type $OpenApiTs = {
22178
23685
  */
22179
23686
  requestBody: {
22180
23687
  enabled: boolean;
23688
+ /**
23689
+ * Bypass the parent-state conflict warning when enabling a schedule in a fork whose parent has the same path enabled.
23690
+ *
23691
+ */
23692
+ force?: boolean;
22181
23693
  };
22182
23694
  workspace: string;
22183
23695
  };
@@ -22523,6 +24035,11 @@ export type $OpenApiTs = {
22523
24035
  path: string;
22524
24036
  requestBody: {
22525
24037
  mode: TriggerMode;
24038
+ /**
24039
+ * Bypass the parent-state conflict warning when enabling a trigger in a fork whose parent has the same path enabled.
24040
+ *
24041
+ */
24042
+ force?: boolean;
22526
24043
  };
22527
24044
  workspace: string;
22528
24045
  };
@@ -22651,6 +24168,11 @@ export type $OpenApiTs = {
22651
24168
  */
22652
24169
  requestBody: {
22653
24170
  mode: TriggerMode;
24171
+ /**
24172
+ * Bypass the parent-state conflict warning when enabling a trigger in a fork whose parent has the same path enabled.
24173
+ *
24174
+ */
24175
+ force?: boolean;
22654
24176
  };
22655
24177
  workspace: string;
22656
24178
  };
@@ -22800,6 +24322,11 @@ export type $OpenApiTs = {
22800
24322
  */
22801
24323
  requestBody: {
22802
24324
  mode: TriggerMode;
24325
+ /**
24326
+ * Bypass the parent-state conflict warning when enabling a trigger in a fork whose parent has the same path enabled.
24327
+ *
24328
+ */
24329
+ force?: boolean;
22803
24330
  };
22804
24331
  workspace: string;
22805
24332
  };
@@ -22985,6 +24512,11 @@ export type $OpenApiTs = {
22985
24512
  */
22986
24513
  requestBody: {
22987
24514
  mode: TriggerMode;
24515
+ /**
24516
+ * Bypass the parent-state conflict warning when enabling a trigger in a fork whose parent has the same path enabled.
24517
+ *
24518
+ */
24519
+ force?: boolean;
22988
24520
  };
22989
24521
  workspace: string;
22990
24522
  };
@@ -23134,6 +24666,11 @@ export type $OpenApiTs = {
23134
24666
  */
23135
24667
  requestBody: {
23136
24668
  mode: TriggerMode;
24669
+ /**
24670
+ * Bypass the parent-state conflict warning when enabling a trigger in a fork whose parent has the same path enabled.
24671
+ *
24672
+ */
24673
+ force?: boolean;
23137
24674
  };
23138
24675
  workspace: string;
23139
24676
  };
@@ -23508,6 +25045,19 @@ export type $OpenApiTs = {
23508
25045
  };
23509
25046
  };
23510
25047
  };
25048
+ '/w/{workspace}/native_triggers/github/repos': {
25049
+ get: {
25050
+ req: {
25051
+ workspace: string;
25052
+ };
25053
+ res: {
25054
+ /**
25055
+ * list of GitHub repositories
25056
+ */
25057
+ 200: Array<GithubRepoEntry>;
25058
+ };
25059
+ };
25060
+ };
23511
25061
  '/native_triggers/{service_name}/w/{workspace_id}/webhook/{internal_id}': {
23512
25062
  post: {
23513
25063
  req: {
@@ -23649,6 +25199,11 @@ export type $OpenApiTs = {
23649
25199
  */
23650
25200
  requestBody: {
23651
25201
  mode: TriggerMode;
25202
+ /**
25203
+ * Bypass the parent-state conflict warning when enabling a trigger in a fork whose parent has the same path enabled.
25204
+ *
25205
+ */
25206
+ force?: boolean;
23652
25207
  };
23653
25208
  workspace: string;
23654
25209
  };
@@ -23798,6 +25353,11 @@ export type $OpenApiTs = {
23798
25353
  */
23799
25354
  requestBody: {
23800
25355
  mode: TriggerMode;
25356
+ /**
25357
+ * Bypass the parent-state conflict warning when enabling a trigger in a fork whose parent has the same path enabled.
25358
+ *
25359
+ */
25360
+ force?: boolean;
23801
25361
  };
23802
25362
  workspace: string;
23803
25363
  };
@@ -23880,6 +25440,217 @@ export type $OpenApiTs = {
23880
25440
  };
23881
25441
  };
23882
25442
  };
25443
+ '/w/{workspace}/azure_triggers/create': {
25444
+ post: {
25445
+ req: {
25446
+ requestBody: AzureTriggerData;
25447
+ workspace: string;
25448
+ };
25449
+ res: {
25450
+ /**
25451
+ * azure trigger created
25452
+ */
25453
+ 201: string;
25454
+ };
25455
+ };
25456
+ };
25457
+ '/w/{workspace}/azure_triggers/update/{path}': {
25458
+ post: {
25459
+ req: {
25460
+ path: string;
25461
+ requestBody: AzureTriggerData;
25462
+ workspace: string;
25463
+ };
25464
+ res: {
25465
+ /**
25466
+ * azure trigger updated
25467
+ */
25468
+ 200: string;
25469
+ };
25470
+ };
25471
+ };
25472
+ '/w/{workspace}/azure_triggers/delete/{path}': {
25473
+ delete: {
25474
+ req: {
25475
+ path: string;
25476
+ workspace: string;
25477
+ };
25478
+ res: {
25479
+ /**
25480
+ * azure trigger deleted
25481
+ */
25482
+ 200: string;
25483
+ };
25484
+ };
25485
+ };
25486
+ '/w/{workspace}/azure_triggers/get/{path}': {
25487
+ get: {
25488
+ req: {
25489
+ path: string;
25490
+ workspace: string;
25491
+ };
25492
+ res: {
25493
+ /**
25494
+ * azure trigger
25495
+ */
25496
+ 200: AzureTrigger;
25497
+ };
25498
+ };
25499
+ };
25500
+ '/w/{workspace}/azure_triggers/list': {
25501
+ get: {
25502
+ req: {
25503
+ isFlow?: boolean;
25504
+ /**
25505
+ * which page to return (start at 1, default 1)
25506
+ */
25507
+ page?: number;
25508
+ /**
25509
+ * filter by exact path
25510
+ */
25511
+ path?: string;
25512
+ pathStart?: string;
25513
+ /**
25514
+ * number of items to return for a given page (default 30, max 100)
25515
+ */
25516
+ perPage?: number;
25517
+ workspace: string;
25518
+ };
25519
+ res: {
25520
+ /**
25521
+ * azure trigger list
25522
+ */
25523
+ 200: Array<AzureTrigger>;
25524
+ };
25525
+ };
25526
+ };
25527
+ '/w/{workspace}/azure_triggers/exists/{path}': {
25528
+ get: {
25529
+ req: {
25530
+ path: string;
25531
+ workspace: string;
25532
+ };
25533
+ res: {
25534
+ /**
25535
+ * true/false
25536
+ */
25537
+ 200: boolean;
25538
+ };
25539
+ };
25540
+ };
25541
+ '/w/{workspace}/azure_triggers/setmode/{path}': {
25542
+ post: {
25543
+ req: {
25544
+ path: string;
25545
+ requestBody: {
25546
+ mode: TriggerMode;
25547
+ /**
25548
+ * Bypass the parent-state conflict warning when enabling a trigger in a fork whose parent has the same path enabled.
25549
+ *
25550
+ */
25551
+ force?: boolean;
25552
+ };
25553
+ workspace: string;
25554
+ };
25555
+ res: {
25556
+ /**
25557
+ * trigger mode updated
25558
+ */
25559
+ 200: string;
25560
+ };
25561
+ };
25562
+ };
25563
+ '/w/{workspace}/azure_triggers/test': {
25564
+ post: {
25565
+ req: {
25566
+ requestBody: TestAzureConnection;
25567
+ workspace: string;
25568
+ };
25569
+ res: {
25570
+ /**
25571
+ * connection successful
25572
+ */
25573
+ 200: string;
25574
+ };
25575
+ };
25576
+ };
25577
+ '/w/{workspace}/azure_triggers/namespaces/topics/list/{path}': {
25578
+ post: {
25579
+ req: {
25580
+ path: string;
25581
+ requestBody: AzureListTopics;
25582
+ workspace: string;
25583
+ };
25584
+ res: {
25585
+ /**
25586
+ * topic list
25587
+ */
25588
+ 200: Array<{
25589
+ [key: string]: unknown;
25590
+ }>;
25591
+ };
25592
+ };
25593
+ };
25594
+ '/w/{workspace}/azure_triggers/namespaces/subscriptions/list/{path}': {
25595
+ post: {
25596
+ req: {
25597
+ path: string;
25598
+ requestBody: AzureListSubscriptions;
25599
+ workspace: string;
25600
+ };
25601
+ res: {
25602
+ /**
25603
+ * subscription list
25604
+ */
25605
+ 200: Array<{
25606
+ [key: string]: unknown;
25607
+ }>;
25608
+ };
25609
+ };
25610
+ };
25611
+ '/w/{workspace}/azure_triggers/subscriptions/delete/{path}': {
25612
+ delete: {
25613
+ req: {
25614
+ path: string;
25615
+ requestBody: AzureDeleteSubscription;
25616
+ workspace: string;
25617
+ };
25618
+ res: {
25619
+ /**
25620
+ * subscription deleted
25621
+ */
25622
+ 200: string;
25623
+ };
25624
+ };
25625
+ };
25626
+ '/w/{workspace}/azure_triggers/namespaces/list/{path}': {
25627
+ post: {
25628
+ req: {
25629
+ path: string;
25630
+ workspace: string;
25631
+ };
25632
+ res: {
25633
+ /**
25634
+ * namespace list
25635
+ */
25636
+ 200: Array<AzureArmResource>;
25637
+ };
25638
+ };
25639
+ };
25640
+ '/w/{workspace}/azure_triggers/basic/topics/list/{path}': {
25641
+ post: {
25642
+ req: {
25643
+ path: string;
25644
+ workspace: string;
25645
+ };
25646
+ res: {
25647
+ /**
25648
+ * topic list
25649
+ */
25650
+ 200: Array<AzureArmResource>;
25651
+ };
25652
+ };
25653
+ };
23883
25654
  '/w/{workspace}/postgres_triggers/postgres/version/{path}': {
23884
25655
  get: {
23885
25656
  req: {
@@ -24200,6 +25971,11 @@ export type $OpenApiTs = {
24200
25971
  */
24201
25972
  requestBody: {
24202
25973
  mode: TriggerMode;
25974
+ /**
25975
+ * Bypass the parent-state conflict warning when enabling a trigger in a fork whose parent has the same path enabled.
25976
+ *
25977
+ */
25978
+ force?: boolean;
24203
25979
  };
24204
25980
  workspace: string;
24205
25981
  };
@@ -24365,6 +26141,11 @@ export type $OpenApiTs = {
24365
26141
  path: string;
24366
26142
  requestBody: {
24367
26143
  mode: TriggerMode;
26144
+ /**
26145
+ * Bypass the parent-state conflict warning when enabling a trigger in a fork whose parent has the same path enabled.
26146
+ *
26147
+ */
26148
+ force?: boolean;
24368
26149
  };
24369
26150
  workspace: string;
24370
26151
  };
@@ -24751,6 +26532,7 @@ export type $OpenApiTs = {
24751
26532
  summary?: string;
24752
26533
  owners?: Array<(string)>;
24753
26534
  extra_perms?: unknown;
26535
+ default_permissioned_as?: FolderDefaultPermissionedAs;
24754
26536
  };
24755
26537
  workspace: string;
24756
26538
  };
@@ -24773,6 +26555,7 @@ export type $OpenApiTs = {
24773
26555
  summary?: string;
24774
26556
  owners?: Array<(string)>;
24775
26557
  extra_perms?: unknown;
26558
+ default_permissioned_as?: FolderDefaultPermissionedAs;
24776
26559
  };
24777
26560
  workspace: string;
24778
26561
  };
@@ -25166,7 +26949,7 @@ export type $OpenApiTs = {
25166
26949
  '/w/{workspace}/acls/get/{kind}/{path}': {
25167
26950
  get: {
25168
26951
  req: {
25169
- kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app' | 'http_trigger' | 'websocket_trigger' | 'kafka_trigger' | 'nats_trigger' | 'postgres_trigger' | 'mqtt_trigger' | 'gcp_trigger' | 'sqs_trigger' | 'email_trigger' | 'volume';
26952
+ kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app' | 'http_trigger' | 'websocket_trigger' | 'kafka_trigger' | 'nats_trigger' | 'postgres_trigger' | 'mqtt_trigger' | 'gcp_trigger' | 'azure_trigger' | 'sqs_trigger' | 'email_trigger' | 'volume';
25170
26953
  path: string;
25171
26954
  workspace: string;
25172
26955
  };
@@ -25183,7 +26966,7 @@ export type $OpenApiTs = {
25183
26966
  '/w/{workspace}/acls/add/{kind}/{path}': {
25184
26967
  post: {
25185
26968
  req: {
25186
- kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app' | 'http_trigger' | 'websocket_trigger' | 'kafka_trigger' | 'nats_trigger' | 'postgres_trigger' | 'mqtt_trigger' | 'gcp_trigger' | 'sqs_trigger' | 'email_trigger' | 'volume';
26969
+ kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app' | 'http_trigger' | 'websocket_trigger' | 'kafka_trigger' | 'nats_trigger' | 'postgres_trigger' | 'mqtt_trigger' | 'gcp_trigger' | 'azure_trigger' | 'sqs_trigger' | 'email_trigger' | 'volume';
25187
26970
  path: string;
25188
26971
  /**
25189
26972
  * acl to add
@@ -25205,7 +26988,7 @@ export type $OpenApiTs = {
25205
26988
  '/w/{workspace}/acls/remove/{kind}/{path}': {
25206
26989
  post: {
25207
26990
  req: {
25208
- kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app' | 'http_trigger' | 'websocket_trigger' | 'kafka_trigger' | 'nats_trigger' | 'postgres_trigger' | 'mqtt_trigger' | 'gcp_trigger' | 'sqs_trigger' | 'email_trigger' | 'volume';
26991
+ kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app' | 'http_trigger' | 'websocket_trigger' | 'kafka_trigger' | 'nats_trigger' | 'postgres_trigger' | 'mqtt_trigger' | 'gcp_trigger' | 'azure_trigger' | 'sqs_trigger' | 'email_trigger' | 'volume';
25209
26992
  path: string;
25210
26993
  /**
25211
26994
  * acl to add
@@ -25760,6 +27543,13 @@ export type $OpenApiTs = {
25760
27543
  * S3 file key to check (e.g., gitrepos/{workspace_id}/u/user/resource/{commit_hash})
25761
27544
  */
25762
27545
  fileKey: string;
27546
+ /**
27547
+ * If provided, the folder is only considered to exist when this exact
27548
+ * sentinel file is present under file_key. Lets callers distinguish a
27549
+ * fully populated folder from a partial upload.
27550
+ *
27551
+ */
27552
+ markerFile?: string;
25763
27553
  workspace: string;
25764
27554
  };
25765
27555
  res: {