windmill-components 1.677.0 → 1.687.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (358) hide show
  1. package/package/components/AppConnectInner.svelte +6 -0
  2. package/package/components/CiTestResults.svelte +64 -0
  3. package/package/components/CiTestResults.svelte.d.ts +7 -0
  4. package/package/components/CompareWorkspaces.svelte +626 -418
  5. package/package/components/DBManager.svelte +35 -4
  6. package/package/components/DBManager.svelte.d.ts +2 -0
  7. package/package/components/DBManagerContent.svelte +3 -1
  8. package/package/components/DBManagerContent.svelte.d.ts +3 -0
  9. package/package/components/DBManagerDrawer.svelte +145 -3
  10. package/package/components/DBTableEditor.svelte +14 -4
  11. package/package/components/DatatablePicker.svelte +2 -5
  12. package/package/components/DatatableSchemaDiff.svelte +531 -0
  13. package/package/components/DatatableSchemaDiff.svelte.d.ts +29 -0
  14. package/package/components/DedicatedWorkersSelector.svelte +4 -2
  15. package/package/components/DefaultTagsInner.svelte +42 -2
  16. package/package/components/DeployWorkspaceDrawer.svelte +1 -1
  17. package/package/components/Dev.svelte +20 -3
  18. package/package/components/Editor.svelte +1 -1
  19. package/package/components/EditorBar.svelte +1 -1
  20. package/package/components/EditorBar.svelte.d.ts +1 -1
  21. package/package/components/FlowStatusViewerInner.svelte +269 -220
  22. package/package/components/FlowTimeline.svelte +1 -1
  23. package/package/components/FolderEditor.svelte +189 -4
  24. package/package/components/ForkWorkspaceBanner.svelte +82 -11
  25. package/package/components/GlobalUserOffboardingModal.svelte +293 -0
  26. package/package/components/GlobalUserOffboardingModal.svelte.d.ts +10 -0
  27. package/package/components/InstanceSettings.svelte +22 -3
  28. package/package/components/Login.svelte +22 -10
  29. package/package/components/ModuleTest.svelte +2 -1
  30. package/package/components/NoMainFuncBadge.svelte +1 -1
  31. package/package/components/OffboardItemsBox.svelte +56 -0
  32. package/package/components/OffboardItemsBox.svelte.d.ts +12 -0
  33. package/package/components/OffboardReassignControls.svelte +47 -0
  34. package/package/components/OffboardReassignControls.svelte.d.ts +20 -0
  35. package/package/components/OffboardWorkspaceSection.svelte +110 -0
  36. package/package/components/OffboardWorkspaceSection.svelte.d.ts +24 -0
  37. package/package/components/OnBehalfOfSelector.svelte +21 -3
  38. package/package/components/OnBehalfOfSelector.svelte.d.ts +7 -0
  39. package/package/components/QueueAlerts.svelte +10 -10
  40. package/package/components/ResourcePicker.svelte +2 -2
  41. package/package/components/ScriptBuilder.svelte +52 -11
  42. package/package/components/ScriptEditor.svelte +1 -3
  43. package/package/components/ScriptEditor.svelte.d.ts +1 -1
  44. package/package/components/ShareModal.svelte +236 -98
  45. package/package/components/SuperadminSettingsInner.svelte +362 -315
  46. package/package/components/UserOffboardingModal.svelte +238 -0
  47. package/package/components/UserOffboardingModal.svelte.d.ts +10 -0
  48. package/package/components/WorkspaceDeployLayout.svelte +3 -3
  49. package/package/components/WorkspaceDeployLayout.svelte.d.ts +1 -0
  50. package/package/components/apps/editor/inlineScriptsPanel/InlineScriptRunnableByPath.svelte +4 -2
  51. package/package/components/apps/editor/settingsPanel/mainInput/RunnableSelector.svelte +12 -0
  52. package/package/components/assets/AssetsDropdownButton.svelte +1 -1
  53. package/package/components/common/confirmationModal/ConfirmationModal.svelte +1 -1
  54. package/package/components/common/table/AppRow.svelte +3 -3
  55. package/package/components/common/table/FlowRow.svelte +3 -3
  56. package/package/components/common/table/RawAppRow.svelte +4 -4
  57. package/package/components/common/table/Row.svelte +6 -2
  58. package/package/components/common/table/ScriptRow.svelte +11 -3
  59. package/package/components/copilot/chat/AIChatManager.svelte.js +2 -2
  60. package/package/components/copilot/chat/anthropic.d.ts +7 -1
  61. package/package/components/copilot/chat/anthropic.js +5 -2
  62. package/package/components/copilot/chat/app/core.js +129 -1
  63. package/package/components/copilot/chat/app/core.test.js +192 -0
  64. package/package/components/copilot/chat/chatLoop.d.ts +3 -0
  65. package/package/components/copilot/chat/chatLoop.js +13 -5
  66. package/package/components/copilot/chat/flow/FlowAIChat.svelte +55 -76
  67. package/package/components/copilot/chat/flow/core.d.ts +13 -3
  68. package/package/components/copilot/chat/flow/core.js +467 -116
  69. package/package/components/copilot/chat/flow/helperUtils.d.ts +19 -0
  70. package/package/components/copilot/chat/flow/helperUtils.js +68 -0
  71. package/package/components/copilot/chat/flow/helperUtils.test.js +116 -0
  72. package/package/components/copilot/chat/flow/inlineScriptsUtils.d.ts +5 -24
  73. package/package/components/copilot/chat/flow/inlineScriptsUtils.js +30 -55
  74. package/package/components/copilot/chat/flow/utils.test.js +59 -0
  75. package/package/components/copilot/chat/openai-responses.d.ts +7 -1
  76. package/package/components/copilot/chat/openai-responses.js +5 -2
  77. package/package/components/copilot/chat/shared.d.ts +1 -2
  78. package/package/components/copilot/chat/shared.js +94 -52
  79. package/package/components/copilot/chat/tokenUsage.d.ts +23 -0
  80. package/package/components/copilot/chat/tokenUsage.js +42 -0
  81. package/package/components/copilot/lib.d.ts +5 -1
  82. package/package/components/copilot/lib.js +21 -5
  83. package/package/components/deploymentRequest/DeploymentRequestPanel.svelte +337 -0
  84. package/package/components/deploymentRequest/DeploymentRequestPanel.svelte.d.ts +15 -0
  85. package/package/components/details/CopyableCodeBlock.svelte +18 -8
  86. package/package/components/details/CopyableCodeBlock.svelte.d.ts +1 -0
  87. package/package/components/flows/FlowAssetsHandler.svelte +19 -21
  88. package/package/components/flows/agentToolTree.d.ts +17 -0
  89. package/package/components/flows/agentToolTree.js +114 -0
  90. package/package/components/flows/agentToolTree.test.d.ts +1 -0
  91. package/package/components/flows/agentToolTree.test.js +86 -0
  92. package/package/components/flows/agentToolUtils.d.ts +0 -5
  93. package/package/components/flows/agentToolUtils.js +0 -49
  94. package/package/components/flows/content/FlowLoop.svelte +7 -4
  95. package/package/components/flows/content/FlowModuleDeleteAfterUse.svelte +15 -7
  96. package/package/components/flows/content/FlowSettings.svelte +29 -0
  97. package/package/components/flows/dfs.d.ts +6 -2
  98. package/package/components/flows/dfs.js +19 -11
  99. package/package/components/flows/flowDeleteController.d.ts +32 -0
  100. package/package/components/flows/flowDeleteController.js +54 -0
  101. package/package/components/flows/flowDeleteController.test.d.ts +1 -0
  102. package/package/components/flows/flowDeleteController.test.js +121 -0
  103. package/package/components/flows/flowDeleteUtils.d.ts +48 -0
  104. package/package/components/flows/flowDeleteUtils.js +150 -0
  105. package/package/components/flows/flowDeleteUtils.test.d.ts +1 -0
  106. package/package/components/flows/flowDeleteUtils.test.js +131 -0
  107. package/package/components/flows/flowDiff.d.ts +2 -47
  108. package/package/components/flows/flowDiff.js +16 -293
  109. package/package/components/flows/flowDiff.testUtils.d.ts +8 -0
  110. package/package/components/flows/flowDiff.testUtils.js +26 -0
  111. package/package/components/flows/flowDiffManager.svelte.js +20 -75
  112. package/package/components/flows/flowDiffManager.svelte.test.js +103 -2
  113. package/package/components/flows/flowExplorer.d.ts +4 -0
  114. package/package/components/flows/flowExplorer.js +7 -30
  115. package/package/components/flows/flowState.d.ts +1 -0
  116. package/package/components/flows/flowStateUtils.svelte.js +6 -1
  117. package/package/components/flows/flowStore.svelte.d.ts +1 -1
  118. package/package/components/flows/flowTree.d.ts +91 -0
  119. package/package/components/flows/flowTree.js +326 -0
  120. package/package/components/flows/flowTree.test.d.ts +1 -0
  121. package/package/components/flows/flowTree.test.js +236 -0
  122. package/package/components/flows/map/FlowJobsMenu.svelte +36 -30
  123. package/package/components/flows/map/FlowModuleSchemaItem.svelte +1 -1
  124. package/package/components/flows/map/FlowModuleSchemaMap.svelte +70 -227
  125. package/package/components/flows/map/FlowModuleSchemaMap.svelte.d.ts +0 -2
  126. package/package/components/flows/pickers/PickHubScriptQuick.svelte +2 -2
  127. package/package/components/flows/pickers/PickHubScriptQuick.svelte.d.ts +1 -1
  128. package/package/components/flows/previousResults.js +13 -41
  129. package/package/components/flows/previousResults.test.d.ts +1 -0
  130. package/package/components/flows/previousResults.test.js +65 -0
  131. package/package/components/flows/propPicker/OutputPicker.svelte +2 -1
  132. package/package/components/flows/propPicker/OutputPickerInner.svelte +41 -4
  133. package/package/components/flows/propPicker/StepHistory.svelte +9 -1
  134. package/package/components/git_sync/GitSyncContext.svelte.js +11 -5
  135. package/package/components/git_sync/GitSyncRepositoryCard.svelte +2 -29
  136. package/package/components/git_sync/PullWorkspaceModal.svelte +6 -7
  137. package/package/components/graph/FlowGraphV2.svelte +2 -2
  138. package/package/components/graph/FlowGraphV2.svelte.d.ts +1 -0
  139. package/package/components/graph/groupedModulesProxy.svelte.d.ts +10 -0
  140. package/package/components/graph/groupedModulesProxy.svelte.js +17 -1
  141. package/package/components/graph/renderers/triggers/TriggersBadge.svelte +5 -2
  142. package/package/components/home/HomeConnectDrawer.svelte +125 -0
  143. package/package/components/home/HomeConnectDrawer.svelte.d.ts +5 -0
  144. package/package/components/icons/GithubIcon.svelte +4 -4
  145. package/package/components/icons/GithubIcon.svelte.d.ts +5 -2
  146. package/package/components/instanceSettings/ExternalJwtTokens.svelte +85 -0
  147. package/package/components/instanceSettings/ExternalJwtTokens.svelte.d.ts +12 -0
  148. package/package/components/instanceSettings/GhesAppSettings.svelte +17 -0
  149. package/package/components/instanceSettings/IndexerMemorySettings.svelte +56 -29
  150. package/package/components/instanceSettings/SecretBackendConfig.svelte +9 -2
  151. package/package/components/instanceSettings.d.ts +1 -0
  152. package/package/components/instanceSettings.js +42 -8
  153. package/package/components/offboarding-utils.d.ts +11 -0
  154. package/package/components/offboarding-utils.js +100 -0
  155. package/package/components/raw_apps/RawAppDataTableDrawer.svelte +1 -1
  156. package/package/components/raw_apps/RawAppEditor.svelte +27 -0
  157. package/package/components/raw_apps/RawAppEditorHeader.svelte +6 -1
  158. package/package/components/raw_apps/RawAppEditorHeader.svelte.d.ts +1 -0
  159. package/package/components/raw_apps/RawAppYamlEditor.svelte +81 -0
  160. package/package/components/raw_apps/RawAppYamlEditor.svelte.d.ts +20 -0
  161. package/package/components/raw_apps/datatableUtils.svelte.js +1 -1
  162. package/package/components/runs/runsFilter.d.ts +1 -1
  163. package/package/components/script_builder.d.ts +1 -1
  164. package/package/components/select/Select.svelte +2 -1
  165. package/package/components/select/Select.svelte.d.ts +1 -0
  166. package/package/components/settings/CreateToken.svelte +113 -64
  167. package/package/components/settings/CreateToken.svelte.d.ts +3 -0
  168. package/package/components/settings/WorkspaceUserSettings.svelte +34 -28
  169. package/package/components/sidebar/SidebarContent.svelte +58 -2
  170. package/package/components/sidebar/WorkspaceMenu.svelte +8 -4
  171. package/package/components/triggers/AddTriggersButton.svelte +11 -0
  172. package/package/components/triggers/PermissionedAsLine.svelte +37 -3
  173. package/package/components/triggers/PermissionedAsLine.svelte.d.ts +6 -0
  174. package/package/components/triggers/TriggersEditor.svelte +5 -1
  175. package/package/components/triggers/TriggersWrapper.svelte +10 -0
  176. package/package/components/triggers/email/EmailTriggerEditorInner.svelte +13 -11
  177. package/package/components/triggers/gcp/GcpTriggerEditorInner.svelte +13 -11
  178. package/package/components/triggers/http/RouteEditorConfigSection.svelte +15 -7
  179. package/package/components/triggers/http/RouteEditorInner.svelte +14 -14
  180. package/package/components/triggers/http/RoutesGenerator.svelte +6 -1
  181. package/package/components/triggers/http/RoutesPanel.svelte +1 -1
  182. package/package/components/triggers/http/utils.d.ts +1 -1
  183. package/package/components/triggers/http/utils.js +2 -2
  184. package/package/components/triggers/kafka/KafkaTriggerEditorInner.svelte +13 -11
  185. package/package/components/triggers/mqtt/MqttEditorConfigSection.svelte.d.ts +1 -1
  186. package/package/components/triggers/mqtt/MqttTriggerEditorInner.svelte +13 -11
  187. package/package/components/triggers/native/NativeTriggerEditor.svelte +3 -0
  188. package/package/components/triggers/native/services/github/GitHubTriggerForm.svelte +118 -0
  189. package/package/components/triggers/native/services/github/GitHubTriggerForm.svelte.d.ts +17 -0
  190. package/package/components/triggers/native/utils.js +14 -0
  191. package/package/components/triggers/nats/NatsTriggerEditor.svelte.d.ts +4 -3
  192. package/package/components/triggers/nats/NatsTriggerEditorInner.svelte +13 -11
  193. package/package/components/triggers/postgres/PostgresTriggerEditor.svelte.d.ts +4 -3
  194. package/package/components/triggers/postgres/PostgresTriggerEditorInner.svelte +13 -11
  195. package/package/components/triggers/schedules/ScheduleEditorInner.svelte +13 -11
  196. package/package/components/triggers/sqs/SqsTriggerEditor.svelte.d.ts +4 -3
  197. package/package/components/triggers/sqs/SqsTriggerEditorInner.svelte +13 -11
  198. package/package/components/triggers/triggers.svelte.js +1 -0
  199. package/package/components/triggers/utils.js +27 -6
  200. package/package/components/triggers/websocket/WebsocketTriggerEditorInner.svelte +13 -11
  201. package/package/components/triggers.d.ts +1 -1
  202. package/package/components/useFolderDefaultPermissionedAs.svelte.d.ts +13 -0
  203. package/package/components/useFolderDefaultPermissionedAs.svelte.js +63 -0
  204. package/package/components/workspaceSettings/CreateWorkspace.svelte +16 -677
  205. package/package/components/workspaceSettings/CreateWorkspaceInner.svelte +604 -0
  206. package/package/components/workspaceSettings/CreateWorkspaceInner.svelte.d.ts +7 -0
  207. package/package/components/workspaceSettings/CustomInstanceDbSelect.svelte +27 -25
  208. package/package/components/workspaceSettings/CustomInstanceDbWizardModal.svelte +46 -8
  209. package/package/components/workspaceSettings/DataTableSettings.svelte +27 -22
  210. package/package/components/workspaceSettings/DucklakeSettings.svelte +1 -1
  211. package/package/components/workspaceSettings/ForkDatatableSection.svelte +228 -0
  212. package/package/components/workspaceSettings/ForkDatatableSection.svelte.d.ts +28 -0
  213. package/package/components/workspaceSettings/GitSyncFilterSettings.svelte +8 -2
  214. package/package/components/workspaceSettings/RulesetEditor.svelte +27 -2
  215. package/package/components/workspaceSettings/VolumeStorageSettings.svelte +1 -1
  216. package/package/components/workspaceSettings/WorkspaceIntegrations.svelte +17 -1
  217. package/package/consts.d.ts +3 -0
  218. package/package/consts.js +10 -0
  219. package/package/gen/core/OpenAPI.js +1 -1
  220. package/package/gen/schemas.gen.d.ts +1172 -164
  221. package/package/gen/schemas.gen.js +1168 -157
  222. package/package/gen/services.gen.d.ts +511 -6
  223. package/package/gen/services.gen.js +1023 -23
  224. package/package/gen/types.gen.d.ts +2278 -151
  225. package/package/githubApp.js +5 -1
  226. package/package/hubPaths.json +1 -4
  227. package/package/infer.js +13 -1
  228. package/package/infer.svelte.js +10 -1
  229. package/package/monaco_workers/sqlTypePlugin.worker.d.ts +10 -0
  230. package/package/monaco_workers/sqlTypePlugin.worker.js +39 -0
  231. package/package/script_helpers.d.ts +8 -2
  232. package/package/script_helpers.js +14 -0
  233. package/package/stores.d.ts +4 -0
  234. package/package/stores.js +1 -0
  235. package/package/system_prompts/prompts.d.ts +4 -3
  236. package/package/system_prompts/prompts.js +270 -20
  237. package/package/templates/ci_test_bun.ts.template +19 -0
  238. package/package/templates/ci_test_python.py.template +18 -0
  239. package/package/utils_deployable.d.ts +11 -7
  240. package/package/utils_workspace_deploy.d.ts +8 -8
  241. package/package/utils_workspace_deploy.js +86 -420
  242. package/package.json +4 -4
  243. package/package/components/copilot/chat/__tests__/app/appChat.eval.test.js +0 -153
  244. package/package/components/copilot/chat/__tests__/app/appEvalComparison.d.ts +0 -21
  245. package/package/components/copilot/chat/__tests__/app/appEvalComparison.js +0 -136
  246. package/package/components/copilot/chat/__tests__/app/appEvalHelpers.d.ts +0 -15
  247. package/package/components/copilot/chat/__tests__/app/appEvalHelpers.js +0 -107
  248. package/package/components/copilot/chat/__tests__/app/appEvalRunner.d.ts +0 -50
  249. package/package/components/copilot/chat/__tests__/app/appEvalRunner.js +0 -93
  250. package/package/components/copilot/chat/__tests__/app/appFixtureLoader.d.ts +0 -29
  251. package/package/components/copilot/chat/__tests__/app/appFixtureLoader.js +0 -134
  252. package/package/components/copilot/chat/__tests__/app/appResultsWriter.d.ts +0 -30
  253. package/package/components/copilot/chat/__tests__/app/appResultsWriter.js +0 -197
  254. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/createFolder/main.d.ts +0 -10
  255. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/createFolder/main.js +0 -9
  256. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/createFolder/meta.json +0 -4
  257. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/deleteItem/main.d.ts +0 -6
  258. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/deleteItem/main.js +0 -5
  259. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/deleteItem/meta.json +0 -4
  260. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/listFiles/main.d.ts +0 -12
  261. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/listFiles/main.js +0 -14
  262. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/listFiles/meta.json +0 -4
  263. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/listFolders/main.d.ts +0 -8
  264. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/listFolders/main.js +0 -25
  265. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/listFolders/meta.json +0 -4
  266. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/moveItem/main.d.ts +0 -7
  267. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/moveItem/main.js +0 -5
  268. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/moveItem/meta.json +0 -4
  269. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/renameItem/main.d.ts +0 -8
  270. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/renameItem/main.js +0 -5
  271. package/package/components/copilot/chat/__tests__/app/initial/file_manager/backend/renameItem/meta.json +0 -4
  272. package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/components/Breadcrumb.d.ts +0 -10
  273. package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/components/Breadcrumb.tsx +0 -26
  274. package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/components/FileItem.d.ts +0 -10
  275. package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/components/FileItem.tsx +0 -79
  276. package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/components/FileList.d.ts +0 -10
  277. package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/components/FileList.tsx +0 -46
  278. package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/components/FolderTree.d.ts +0 -10
  279. package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/components/FolderTree.tsx +0 -56
  280. package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/components/Toolbar.d.ts +0 -6
  281. package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/components/Toolbar.tsx +0 -59
  282. package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/index.d.ts +0 -16
  283. package/package/components/copilot/chat/__tests__/app/initial/file_manager/frontend/index.tsx +0 -119
  284. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/addToCart/main.d.ts +0 -15
  285. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/addToCart/main.js +0 -14
  286. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/addToCart/meta.json +0 -4
  287. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/calculateTotal/main.d.ts +0 -14
  288. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/calculateTotal/main.js +0 -5
  289. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/calculateTotal/meta.json +0 -4
  290. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/getProducts/main.d.ts +0 -6
  291. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/getProducts/main.js +0 -41
  292. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/getProducts/meta.json +0 -4
  293. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/removeFromCart/main.d.ts +0 -15
  294. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/removeFromCart/main.js +0 -3
  295. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/backend/removeFromCart/meta.json +0 -4
  296. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/frontend/components/Cart.d.ts +0 -9
  297. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/frontend/components/Cart.tsx +0 -51
  298. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/frontend/components/ProductCard.d.ts +0 -8
  299. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/frontend/components/ProductCard.tsx +0 -27
  300. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/frontend/components/ProductList.d.ts +0 -8
  301. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/frontend/components/ProductList.tsx +0 -18
  302. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/frontend/index.d.ts +0 -12
  303. package/package/components/copilot/chat/__tests__/app/initial/shopping_cart/frontend/index.tsx +0 -81
  304. package/package/components/copilot/chat/__tests__/app/initial/test1_counter_app/backend/decrementCounter/main.d.ts +0 -3
  305. package/package/components/copilot/chat/__tests__/app/initial/test1_counter_app/backend/decrementCounter/main.js +0 -3
  306. package/package/components/copilot/chat/__tests__/app/initial/test1_counter_app/backend/decrementCounter/meta.json +0 -4
  307. package/package/components/copilot/chat/__tests__/app/initial/test1_counter_app/backend/incrementCounter/main.d.ts +0 -3
  308. package/package/components/copilot/chat/__tests__/app/initial/test1_counter_app/backend/incrementCounter/main.js +0 -3
  309. package/package/components/copilot/chat/__tests__/app/initial/test1_counter_app/backend/incrementCounter/meta.json +0 -4
  310. package/package/components/copilot/chat/__tests__/app/initial/test1_counter_app/frontend/index.d.ts +0 -2
  311. package/package/components/copilot/chat/__tests__/app/initial/test1_counter_app/frontend/index.tsx +0 -38
  312. package/package/components/copilot/chat/__tests__/app/variants/baseline.d.ts +0 -6
  313. package/package/components/copilot/chat/__tests__/app/variants/baseline.js +0 -10
  314. package/package/components/copilot/chat/__tests__/app/variants/index.d.ts +0 -3
  315. package/package/components/copilot/chat/__tests__/app/variants/index.js +0 -3
  316. package/package/components/copilot/chat/__tests__/app/variants/streamlined.d.ts +0 -6
  317. package/package/components/copilot/chat/__tests__/app/variants/streamlined.js +0 -137
  318. package/package/components/copilot/chat/__tests__/flow/expected/test1.json +0 -134
  319. package/package/components/copilot/chat/__tests__/flow/expected/test2.json +0 -183
  320. package/package/components/copilot/chat/__tests__/flow/expected/test3.json +0 -204
  321. package/package/components/copilot/chat/__tests__/flow/expected/test4.json +0 -175
  322. package/package/components/copilot/chat/__tests__/flow/expected/test5_modify_simple.json +0 -68
  323. package/package/components/copilot/chat/__tests__/flow/expected/test6_modify_medium.json +0 -142
  324. package/package/components/copilot/chat/__tests__/flow/expected/test7_modify_complex.json +0 -136
  325. package/package/components/copilot/chat/__tests__/flow/flowChat.eval.test.js +0 -294
  326. package/package/components/copilot/chat/__tests__/flow/flowEvalComparison.d.ts +0 -17
  327. package/package/components/copilot/chat/__tests__/flow/flowEvalComparison.js +0 -49
  328. package/package/components/copilot/chat/__tests__/flow/flowEvalHelpers.d.ts +0 -12
  329. package/package/components/copilot/chat/__tests__/flow/flowEvalHelpers.js +0 -79
  330. package/package/components/copilot/chat/__tests__/flow/flowEvalRunner.d.ts +0 -50
  331. package/package/components/copilot/chat/__tests__/flow/flowEvalRunner.js +0 -102
  332. package/package/components/copilot/chat/__tests__/flow/initial/test5_initial.json +0 -53
  333. package/package/components/copilot/chat/__tests__/flow/initial/test6_initial.json +0 -68
  334. package/package/components/copilot/chat/__tests__/flow/initial/test7_initial.json +0 -120
  335. package/package/components/copilot/chat/__tests__/flow/variants/baseline.d.ts +0 -6
  336. package/package/components/copilot/chat/__tests__/flow/variants/baseline.js +0 -10
  337. package/package/components/copilot/chat/__tests__/flow/variants/index.d.ts +0 -3
  338. package/package/components/copilot/chat/__tests__/flow/variants/index.js +0 -3
  339. package/package/components/copilot/chat/__tests__/flow/variants/minimal-single-tool.d.ts +0 -15
  340. package/package/components/copilot/chat/__tests__/flow/variants/minimal-single-tool.js +0 -388
  341. package/package/components/copilot/chat/__tests__/shared/baseEvalRunner.d.ts +0 -45
  342. package/package/components/copilot/chat/__tests__/shared/baseEvalRunner.js +0 -121
  343. package/package/components/copilot/chat/__tests__/shared/baseLLMEvaluator.d.ts +0 -28
  344. package/package/components/copilot/chat/__tests__/shared/baseLLMEvaluator.js +0 -96
  345. package/package/components/copilot/chat/__tests__/shared/baseResultsWriter.d.ts +0 -32
  346. package/package/components/copilot/chat/__tests__/shared/baseResultsWriter.js +0 -130
  347. package/package/components/copilot/chat/__tests__/shared/baseVariants.d.ts +0 -45
  348. package/package/components/copilot/chat/__tests__/shared/baseVariants.js +0 -57
  349. package/package/components/copilot/chat/__tests__/shared/index.d.ts +0 -10
  350. package/package/components/copilot/chat/__tests__/shared/index.js +0 -5
  351. package/package/components/copilot/chat/__tests__/shared/types.d.ts +0 -105
  352. package/package/components/copilot/chat/__tests__/shared/types.js +0 -9
  353. package/package/components/copilot/chat/flow/utils.d.ts +0 -14
  354. package/package/components/copilot/chat/flow/utils.js +0 -108
  355. package/package/components/flows/agentToolUtils.test.js +0 -55
  356. /package/package/components/copilot/chat/{__tests__/app/appChat.eval.test.d.ts → app/core.test.d.ts} +0 -0
  357. /package/package/components/copilot/chat/{__tests__/flow/flowChat.eval.test.d.ts → flow/helperUtils.test.d.ts} +0 -0
  358. /package/package/components/{flows/agentToolUtils.test.d.ts → copilot/chat/flow/utils.test.d.ts} +0 -0
@@ -60,7 +60,7 @@ export declare const $FlowValue: {
60
60
  readonly description: "Time window in seconds for concurrent_limit";
61
61
  };
62
62
  readonly debounce_delay_s: {
63
- readonly type: "number";
63
+ readonly type: "integer";
64
64
  readonly description: "Delay in seconds to debounce flow executions";
65
65
  };
66
66
  readonly debounce_key: {
@@ -75,11 +75,11 @@ export declare const $FlowValue: {
75
75
  };
76
76
  };
77
77
  readonly max_total_debouncing_time: {
78
- readonly type: "number";
78
+ readonly type: "integer";
79
79
  readonly description: "Maximum total time in seconds that a job can be debounced";
80
80
  };
81
81
  readonly max_total_debounces_amount: {
82
- readonly type: "number";
82
+ readonly type: "integer";
83
83
  readonly description: "Maximum number of times a job can be debounced";
84
84
  };
85
85
  readonly skip_expr: {
@@ -93,6 +93,10 @@ export declare const $FlowValue: {
93
93
  readonly cache_ignore_s3_path: {
94
94
  readonly type: "boolean";
95
95
  };
96
+ readonly delete_after_secs: {
97
+ readonly type: "integer";
98
+ readonly description: "If set, delete the flow job's args, result and logs after this many seconds following job completion";
99
+ };
96
100
  readonly flow_env: {
97
101
  readonly type: "object";
98
102
  readonly description: "Environment variables available to all steps. Values can be strings, JSON values, or special references: '$var:path' (workspace variable) or '$res:path' (resource).";
@@ -117,6 +121,42 @@ export declare const $FlowValue: {
117
121
  readonly $ref: "#/components/schemas/FlowNote";
118
122
  };
119
123
  };
124
+ readonly groups: {
125
+ readonly type: "array";
126
+ readonly description: "Semantic groups of modules for organizational purposes";
127
+ readonly items: {
128
+ readonly type: "object";
129
+ readonly description: "A semantic group of flow modules for organizational purposes. Does not affect execution — modules remain in their original position in the flow. Groups provide naming and collapsibility in the editor. Members are computed dynamically from all nodes on paths between start_id and end_id.";
130
+ readonly properties: {
131
+ readonly summary: {
132
+ readonly type: "string";
133
+ readonly description: "Display name for this group";
134
+ };
135
+ readonly note: {
136
+ readonly type: "string";
137
+ readonly description: "Markdown note shown below the group header";
138
+ };
139
+ readonly autocollapse: {
140
+ readonly type: "boolean";
141
+ readonly default: false;
142
+ readonly description: "If true, this group is collapsed by default in the flow editor. UI hint only.";
143
+ };
144
+ readonly start_id: {
145
+ readonly type: "string";
146
+ readonly description: "ID of the first flow module in this group (topological entry point)";
147
+ };
148
+ readonly end_id: {
149
+ readonly type: "string";
150
+ readonly description: "ID of the last flow module in this group (topological exit point)";
151
+ };
152
+ readonly color: {
153
+ readonly type: "string";
154
+ readonly description: "Color for the group in the flow editor";
155
+ };
156
+ };
157
+ readonly required: readonly ["start_id", "end_id"];
158
+ };
159
+ };
120
160
  };
121
161
  readonly required: readonly ["modules"];
122
162
  };
@@ -190,7 +230,8 @@ export declare const $StopAfterIf: {
190
230
  };
191
231
  readonly error_message: {
192
232
  readonly type: "string";
193
- readonly description: "Custom error message shown when stopping";
233
+ readonly nullable: true;
234
+ readonly description: "Custom error message when stopping with an error. Mutually exclusive with skip_if_stopped. If set to a non-empty string, the flow stops with this error. If empty string, a default error message is used. If null or omitted, no error is raised.";
194
235
  };
195
236
  };
196
237
  readonly required: readonly ["expr"];
@@ -240,9 +281,9 @@ export declare const $FlowModule: {
240
281
  readonly description: "Maximum execution time in seconds (static value or expression)";
241
282
  readonly $ref: "#/components/schemas/InputTransform";
242
283
  };
243
- readonly delete_after_use: {
244
- readonly type: "boolean";
245
- readonly description: "If true, this step's result is deleted after use to save memory";
284
+ readonly delete_after_secs: {
285
+ readonly type: "integer";
286
+ readonly description: "If set, delete the step's args, result and logs after this many seconds following job completion";
246
287
  };
247
288
  readonly summary: {
248
289
  readonly type: "string";
@@ -317,6 +358,35 @@ export declare const $FlowModule: {
317
358
  readonly description: "Retry configuration if this step fails";
318
359
  readonly $ref: "#/components/schemas/Retry";
319
360
  };
361
+ readonly debouncing: {
362
+ readonly description: "Debounce configuration for this step (EE only)";
363
+ readonly type: "object";
364
+ readonly properties: {
365
+ readonly debounce_delay_s: {
366
+ readonly type: "integer";
367
+ readonly description: "Delay in seconds to debounce this step's executions across flow runs";
368
+ };
369
+ readonly debounce_key: {
370
+ readonly type: "string";
371
+ readonly description: "Expression to group debounced executions. Supports $workspace and $args[name]. Default: $workspace/flow/<flow_path>-<step_id>";
372
+ };
373
+ readonly debounce_args_to_accumulate: {
374
+ readonly type: "array";
375
+ readonly description: "Array-type arguments to accumulate across debounced executions";
376
+ readonly items: {
377
+ readonly type: "string";
378
+ };
379
+ };
380
+ readonly max_total_debouncing_time: {
381
+ readonly type: "integer";
382
+ readonly description: "Maximum total time in seconds before forced execution";
383
+ };
384
+ readonly max_total_debounces_amount: {
385
+ readonly type: "integer";
386
+ readonly description: "Maximum number of debounces before forced execution";
387
+ };
388
+ };
389
+ };
320
390
  };
321
391
  readonly required: readonly ["value", "id"];
322
392
  };
@@ -519,7 +589,7 @@ export declare const $RawScript: {
519
589
  readonly language: {
520
590
  readonly type: "string";
521
591
  readonly description: "Programming language for this script";
522
- readonly enum: readonly ["deno", "bun", "python3", "go", "bash", "powershell", "postgresql", "mysql", "bigquery", "snowflake", "mssql", "oracledb", "graphql", "nativets", "php", "rust", "ansible", "csharp", "nu", "java", "ruby", "duckdb"];
592
+ readonly enum: readonly ["deno", "bun", "python3", "go", "bash", "powershell", "postgresql", "mysql", "bigquery", "snowflake", "mssql", "oracledb", "graphql", "nativets", "php", "rust", "ansible", "csharp", "nu", "java", "ruby", "rlang", "duckdb"];
523
593
  };
524
594
  readonly path: {
525
595
  readonly type: "string";
@@ -892,11 +962,11 @@ export declare const $AiAgent: {
892
962
  }];
893
963
  readonly description: "JSON Schema object defining structured output format. Used when you need the AI to return data in a specific shape.\nSupports standard JSON Schema properties: type, properties, required, items, enum, pattern, minLength, maxLength, minimum, maximum, etc.\nExample: { type: 'object', properties: { name: { type: 'string' }, age: { type: 'integer' } }, required: ['name'] }\n";
894
964
  };
895
- readonly user_images: {
965
+ readonly user_attachments: {
896
966
  readonly allOf: readonly [{
897
967
  readonly $ref: "#/components/schemas/InputTransform";
898
968
  }];
899
- readonly description: "Array of image references for vision-capable models.\nFormat: Array<{ bucket: string, key: string }> - S3 object references\nExample: [{ bucket: 'my-bucket', key: 'images/photo.jpg' }]\n";
969
+ readonly description: "Array of file references (images or PDFs) for the AI agent.\nFormat: Array<{ bucket: string, key: string }> - S3 object references\nExample: [{ bucket: 'my-bucket', key: 'documents/report.pdf' }]\n";
900
970
  };
901
971
  readonly max_completion_tokens: {
902
972
  readonly allOf: readonly [{
@@ -1328,6 +1398,29 @@ export declare const $FlowNote: {
1328
1398
  };
1329
1399
  readonly required: readonly ["id", "text", "color", "type"];
1330
1400
  };
1401
+ export declare const $CiTestResult: {
1402
+ readonly type: "object";
1403
+ readonly properties: {
1404
+ readonly test_script_path: {
1405
+ readonly type: "string";
1406
+ };
1407
+ readonly job_id: {
1408
+ readonly type: "string";
1409
+ readonly format: "uuid";
1410
+ readonly nullable: true;
1411
+ };
1412
+ readonly status: {
1413
+ readonly type: "string";
1414
+ readonly nullable: true;
1415
+ };
1416
+ readonly started_at: {
1417
+ readonly type: "string";
1418
+ readonly format: "date-time";
1419
+ readonly nullable: true;
1420
+ };
1421
+ };
1422
+ readonly required: readonly ["test_script_path"];
1423
+ };
1331
1424
  export declare const $HealthStatusResponse: {
1332
1425
  readonly type: "object";
1333
1426
  readonly description: "Health status response (cached with 5s TTL)";
@@ -1674,6 +1767,62 @@ export declare const $VaultSettings: {
1674
1767
  readonly type: "string";
1675
1768
  readonly description: "Static Vault token for testing/development (optional, if provided this is used instead of JWT authentication)";
1676
1769
  };
1770
+ readonly skip_ssl_verify: {
1771
+ readonly type: "boolean";
1772
+ readonly description: "Skip TLS certificate verification when connecting to Vault. Only use for self-signed certificates in development environments.";
1773
+ };
1774
+ };
1775
+ };
1776
+ export declare const $AzureKeyVaultSettings: {
1777
+ readonly type: "object";
1778
+ readonly required: readonly ["vault_url", "tenant_id", "client_id"];
1779
+ readonly properties: {
1780
+ readonly vault_url: {
1781
+ readonly type: "string";
1782
+ readonly description: "Azure Key Vault URL (e.g., https://myvault.vault.azure.net)";
1783
+ };
1784
+ readonly tenant_id: {
1785
+ readonly type: "string";
1786
+ readonly description: "Azure AD tenant ID";
1787
+ };
1788
+ readonly client_id: {
1789
+ readonly type: "string";
1790
+ readonly description: "Azure AD application (client) ID";
1791
+ };
1792
+ readonly client_secret: {
1793
+ readonly type: "string";
1794
+ readonly description: "Azure AD client secret";
1795
+ };
1796
+ readonly token: {
1797
+ readonly type: "string";
1798
+ readonly description: "Static Bearer token for testing/development (optional, if provided this is used instead of OAuth2 authentication)";
1799
+ };
1800
+ };
1801
+ };
1802
+ export declare const $AwsSecretsManagerSettings: {
1803
+ readonly type: "object";
1804
+ readonly required: readonly ["region"];
1805
+ readonly properties: {
1806
+ readonly region: {
1807
+ readonly type: "string";
1808
+ readonly description: "AWS region (e.g., us-east-1)";
1809
+ };
1810
+ readonly access_key_id: {
1811
+ readonly type: "string";
1812
+ readonly description: "AWS Access Key ID (optional, uses default credential chain if not provided)";
1813
+ };
1814
+ readonly secret_access_key: {
1815
+ readonly type: "string";
1816
+ readonly description: "AWS Secret Access Key (optional)";
1817
+ };
1818
+ readonly endpoint_url: {
1819
+ readonly type: "string";
1820
+ readonly description: "Custom endpoint URL for testing (e.g., LocalStack)";
1821
+ };
1822
+ readonly prefix: {
1823
+ readonly type: "string";
1824
+ readonly description: "Prefix for secret names (e.g., windmill/)";
1825
+ };
1677
1826
  };
1678
1827
  };
1679
1828
  export declare const $SecretMigrationFailure: {
@@ -1925,6 +2074,39 @@ export declare const $AIConfig: {
1925
2074
  };
1926
2075
  };
1927
2076
  };
2077
+ export declare const $InstanceAIProviderSummary: {
2078
+ readonly type: "object";
2079
+ readonly properties: {
2080
+ readonly provider: {
2081
+ readonly $ref: "#/components/schemas/AIProvider";
2082
+ };
2083
+ readonly models: {
2084
+ readonly type: "array";
2085
+ readonly items: {
2086
+ readonly type: "string";
2087
+ };
2088
+ };
2089
+ };
2090
+ readonly required: readonly ["provider", "models"];
2091
+ };
2092
+ export declare const $InstanceAISummary: {
2093
+ readonly type: "object";
2094
+ readonly properties: {
2095
+ readonly providers: {
2096
+ readonly type: "array";
2097
+ readonly items: {
2098
+ readonly $ref: "#/components/schemas/InstanceAIProviderSummary";
2099
+ };
2100
+ };
2101
+ readonly default_model: {
2102
+ readonly $ref: "#/components/schemas/AIProviderModel";
2103
+ };
2104
+ readonly code_completion_model: {
2105
+ readonly $ref: "#/components/schemas/AIProviderModel";
2106
+ };
2107
+ };
2108
+ readonly required: readonly ["providers"];
2109
+ };
1928
2110
  export declare const $Alert: {
1929
2111
  readonly type: "object";
1930
2112
  readonly properties: {
@@ -2142,14 +2324,15 @@ export declare const $Script: {
2142
2324
  readonly timeout: {
2143
2325
  readonly type: "integer";
2144
2326
  };
2145
- readonly delete_after_use: {
2146
- readonly type: "boolean";
2327
+ readonly delete_after_secs: {
2328
+ readonly type: "integer";
2329
+ readonly description: "If set, delete the job's args, result and logs after this many seconds following job completion";
2147
2330
  };
2148
2331
  readonly visible_to_runner_only: {
2149
2332
  readonly type: "boolean";
2150
2333
  };
2151
- readonly no_main_func: {
2152
- readonly type: "boolean";
2334
+ readonly auto_kind: {
2335
+ readonly type: "string";
2153
2336
  };
2154
2337
  readonly codebase: {
2155
2338
  readonly type: "string";
@@ -2160,8 +2343,23 @@ export declare const $Script: {
2160
2343
  readonly on_behalf_of_email: {
2161
2344
  readonly type: "string";
2162
2345
  };
2346
+ readonly modules: {
2347
+ readonly type: "object";
2348
+ readonly nullable: true;
2349
+ readonly description: "Additional script modules keyed by relative file path";
2350
+ readonly additionalProperties: {
2351
+ readonly $ref: "#/components/schemas/ScriptModule";
2352
+ };
2353
+ };
2354
+ readonly labels: {
2355
+ readonly type: "array";
2356
+ readonly items: {
2357
+ readonly type: "string";
2358
+ };
2359
+ readonly default: readonly [];
2360
+ };
2163
2361
  };
2164
- readonly required: readonly ["hash", "path", "summary", "description", "content", "created_by", "created_at", "archived", "deleted", "is_template", "extra_perms", "language", "kind", "starred", "no_main_func", "has_preprocessor"];
2362
+ readonly required: readonly ["hash", "path", "summary", "description", "content", "created_by", "created_at", "archived", "deleted", "is_template", "extra_perms", "language", "kind", "starred", "has_preprocessor"];
2165
2363
  };
2166
2364
  export declare const $NewScript: {
2167
2365
  readonly type: "object";
@@ -2236,8 +2434,9 @@ export declare const $NewScript: {
2236
2434
  readonly timeout: {
2237
2435
  readonly type: "integer";
2238
2436
  };
2239
- readonly delete_after_use: {
2240
- readonly type: "boolean";
2437
+ readonly delete_after_secs: {
2438
+ readonly type: "integer";
2439
+ readonly description: "If set, delete the job's args, result and logs after this many seconds following job completion";
2241
2440
  };
2242
2441
  readonly deployment_message: {
2243
2442
  readonly type: "string";
@@ -2266,8 +2465,8 @@ export declare const $NewScript: {
2266
2465
  readonly visible_to_runner_only: {
2267
2466
  readonly type: "boolean";
2268
2467
  };
2269
- readonly no_main_func: {
2270
- readonly type: "boolean";
2468
+ readonly auto_kind: {
2469
+ readonly type: "string";
2271
2470
  };
2272
2471
  readonly codebase: {
2273
2472
  readonly type: "string";
@@ -2305,6 +2504,20 @@ export declare const $NewScript: {
2305
2504
  };
2306
2505
  };
2307
2506
  };
2507
+ readonly modules: {
2508
+ readonly type: "object";
2509
+ readonly nullable: true;
2510
+ readonly description: "Additional script modules keyed by relative file path";
2511
+ readonly additionalProperties: {
2512
+ readonly $ref: "#/components/schemas/ScriptModule";
2513
+ };
2514
+ };
2515
+ readonly labels: {
2516
+ readonly type: "array";
2517
+ readonly items: {
2518
+ readonly type: "string";
2519
+ };
2520
+ };
2308
2521
  };
2309
2522
  readonly required: readonly ["path", "summary", "content", "language"];
2310
2523
  };
@@ -3049,6 +3262,9 @@ export declare const $User: {
3049
3262
  readonly $ref: "#/components/schemas/UserSource";
3050
3263
  }];
3051
3264
  };
3265
+ readonly is_service_account: {
3266
+ readonly type: "boolean";
3267
+ };
3052
3268
  };
3053
3269
  readonly required: readonly ["email", "username", "is_admin", "is_super_admin", "created_at", "operator", "disabled", "folders", "folders_owners"];
3054
3270
  };
@@ -3117,97 +3333,358 @@ export declare const $EditWorkspaceUser: {
3117
3333
  };
3118
3334
  };
3119
3335
  };
3120
- export declare const $TruncatedToken: {
3336
+ export declare const $OffboardAffectedPaths: {
3121
3337
  readonly type: "object";
3122
3338
  readonly properties: {
3123
- readonly label: {
3124
- readonly type: "string";
3339
+ readonly scripts: {
3340
+ readonly type: "array";
3341
+ readonly items: {
3342
+ readonly type: "string";
3343
+ };
3125
3344
  };
3126
- readonly expiration: {
3127
- readonly type: "string";
3128
- readonly format: "date-time";
3345
+ readonly flows: {
3346
+ readonly type: "array";
3347
+ readonly items: {
3348
+ readonly type: "string";
3349
+ };
3129
3350
  };
3130
- readonly token_prefix: {
3131
- readonly type: "string";
3351
+ readonly apps: {
3352
+ readonly type: "array";
3353
+ readonly items: {
3354
+ readonly type: "string";
3355
+ };
3132
3356
  };
3133
- readonly created_at: {
3134
- readonly type: "string";
3135
- readonly format: "date-time";
3357
+ readonly resources: {
3358
+ readonly type: "array";
3359
+ readonly items: {
3360
+ readonly type: "string";
3361
+ };
3136
3362
  };
3137
- readonly last_used_at: {
3138
- readonly type: "string";
3139
- readonly format: "date-time";
3363
+ readonly variables: {
3364
+ readonly type: "array";
3365
+ readonly items: {
3366
+ readonly type: "string";
3367
+ };
3140
3368
  };
3141
- readonly scopes: {
3369
+ readonly schedules: {
3142
3370
  readonly type: "array";
3143
3371
  readonly items: {
3144
3372
  readonly type: "string";
3145
3373
  };
3146
3374
  };
3147
- readonly email: {
3148
- readonly type: "string";
3375
+ readonly triggers: {
3376
+ readonly type: "object";
3377
+ readonly additionalProperties: {
3378
+ readonly type: "array";
3379
+ readonly items: {
3380
+ readonly type: "string";
3381
+ };
3382
+ };
3149
3383
  };
3150
3384
  };
3151
- readonly required: readonly ["token_prefix", "created_at", "last_used_at"];
3152
3385
  };
3153
- export declare const $NewToken: {
3386
+ export declare const $OffboardPreview: {
3154
3387
  readonly type: "object";
3155
3388
  readonly properties: {
3156
- readonly label: {
3157
- readonly type: "string";
3389
+ readonly owned: {
3390
+ readonly $ref: "#/components/schemas/OffboardAffectedPaths";
3391
+ readonly description: "Objects under u/{username}/ that will be reassigned";
3158
3392
  };
3159
- readonly expiration: {
3160
- readonly type: "string";
3161
- readonly format: "date-time";
3393
+ readonly executing_on_behalf: {
3394
+ readonly $ref: "#/components/schemas/OffboardAffectedPaths";
3395
+ readonly description: "Objects not under the user's path but that execute on behalf of this user (permissioned_as/on_behalf_of will be updated)";
3162
3396
  };
3163
- readonly scopes: {
3397
+ readonly referencing: {
3398
+ readonly $ref: "#/components/schemas/OffboardAffectedPaths";
3399
+ readonly description: "Scripts/flows/apps/resources whose content or value references this user's paths (may break after reassignment)";
3400
+ };
3401
+ readonly tokens: {
3164
3402
  readonly type: "array";
3165
3403
  readonly items: {
3166
- readonly type: "string";
3404
+ readonly $ref: "#/components/schemas/OffboardTokenInfo";
3167
3405
  };
3406
+ readonly description: "Tokens owned by this user (will be deleted)";
3168
3407
  };
3169
- readonly workspace_id: {
3170
- readonly type: "string";
3408
+ readonly http_triggers: {
3409
+ readonly type: "integer";
3410
+ readonly description: "HTTP triggers under the user's path (webhook URLs will change)";
3411
+ };
3412
+ readonly email_triggers: {
3413
+ readonly type: "integer";
3414
+ readonly description: "Email triggers under the user's path (email addresses will change)";
3171
3415
  };
3172
3416
  };
3417
+ readonly required: readonly ["owned", "executing_on_behalf", "referencing", "tokens", "http_triggers", "email_triggers"];
3173
3418
  };
3174
- export declare const $NewTokenImpersonate: {
3419
+ export declare const $OffboardTokenInfo: {
3175
3420
  readonly type: "object";
3176
3421
  readonly properties: {
3177
3422
  readonly label: {
3178
3423
  readonly type: "string";
3179
3424
  };
3180
- readonly expiration: {
3181
- readonly type: "string";
3182
- readonly format: "date-time";
3183
- };
3184
- readonly impersonate_email: {
3185
- readonly type: "string";
3425
+ readonly scopes: {
3426
+ readonly type: "array";
3427
+ readonly items: {
3428
+ readonly type: "string";
3429
+ };
3186
3430
  };
3187
- readonly workspace_id: {
3431
+ readonly expiration: {
3188
3432
  readonly type: "string";
3189
3433
  };
3190
3434
  };
3191
- readonly required: readonly ["impersonate_email"];
3435
+ readonly required: readonly ["label", "scopes"];
3192
3436
  };
3193
- export declare const $ListableVariable: {
3437
+ export declare const $OffboardRequest: {
3194
3438
  readonly type: "object";
3195
3439
  readonly properties: {
3196
- readonly workspace_id: {
3197
- readonly type: "string";
3198
- };
3199
- readonly path: {
3440
+ readonly reassign_to: {
3200
3441
  readonly type: "string";
3442
+ readonly description: "Target for reassignment: 'u/{username}' or 'f/{folder}'";
3201
3443
  };
3202
- readonly value: {
3444
+ readonly new_on_behalf_of_user: {
3203
3445
  readonly type: "string";
3446
+ readonly description: "Required when reassign_to is a folder. The username whose identity will be used as permissioned_as for schedules and triggers.";
3204
3447
  };
3205
- readonly is_secret: {
3448
+ readonly delete_user: {
3206
3449
  readonly type: "boolean";
3450
+ readonly default: true;
3451
+ readonly description: "Whether to also remove the user from the workspace";
3452
+ };
3453
+ };
3454
+ readonly required: readonly ["reassign_to"];
3455
+ };
3456
+ export declare const $OffboardResponse: {
3457
+ readonly type: "object";
3458
+ readonly properties: {
3459
+ readonly conflicts: {
3460
+ readonly type: "array";
3461
+ readonly items: {
3462
+ readonly type: "string";
3463
+ };
3464
+ readonly description: "List of path conflicts that block the offboarding. Empty on success.";
3465
+ };
3466
+ readonly summary: {
3467
+ readonly $ref: "#/components/schemas/OffboardSummary";
3468
+ };
3469
+ };
3470
+ };
3471
+ export declare const $OffboardSummary: {
3472
+ readonly type: "object";
3473
+ readonly properties: {
3474
+ readonly scripts_reassigned: {
3475
+ readonly type: "integer";
3476
+ };
3477
+ readonly flows_reassigned: {
3478
+ readonly type: "integer";
3479
+ };
3480
+ readonly apps_reassigned: {
3481
+ readonly type: "integer";
3482
+ };
3483
+ readonly resources_reassigned: {
3484
+ readonly type: "integer";
3485
+ };
3486
+ readonly variables_reassigned: {
3487
+ readonly type: "integer";
3488
+ };
3489
+ readonly schedules_reassigned: {
3490
+ readonly type: "integer";
3491
+ };
3492
+ readonly triggers_reassigned: {
3493
+ readonly type: "integer";
3494
+ };
3495
+ readonly drafts_deleted: {
3496
+ readonly type: "integer";
3497
+ };
3498
+ };
3499
+ readonly required: readonly ["scripts_reassigned", "flows_reassigned", "apps_reassigned", "resources_reassigned", "variables_reassigned", "schedules_reassigned", "triggers_reassigned", "drafts_deleted"];
3500
+ };
3501
+ export declare const $GlobalOffboardPreview: {
3502
+ readonly type: "object";
3503
+ readonly properties: {
3504
+ readonly workspaces: {
3505
+ readonly type: "array";
3506
+ readonly items: {
3507
+ readonly $ref: "#/components/schemas/WorkspaceOffboardPreview";
3508
+ };
3509
+ };
3510
+ };
3511
+ readonly required: readonly ["workspaces"];
3512
+ };
3513
+ export declare const $WorkspaceOffboardPreview: {
3514
+ readonly type: "object";
3515
+ readonly properties: {
3516
+ readonly workspace_id: {
3517
+ readonly type: "string";
3518
+ };
3519
+ readonly username: {
3520
+ readonly type: "string";
3521
+ };
3522
+ readonly preview: {
3523
+ readonly $ref: "#/components/schemas/OffboardPreview";
3524
+ };
3525
+ };
3526
+ readonly required: readonly ["workspace_id", "username", "preview"];
3527
+ };
3528
+ export declare const $GlobalOffboardRequest: {
3529
+ readonly type: "object";
3530
+ readonly properties: {
3531
+ readonly reassignments: {
3532
+ readonly type: "object";
3533
+ readonly additionalProperties: {
3534
+ readonly $ref: "#/components/schemas/WorkspaceReassignment";
3535
+ };
3536
+ readonly description: "Map of workspace_id to reassignment config";
3537
+ };
3538
+ readonly delete_user: {
3539
+ readonly type: "boolean";
3540
+ readonly default: true;
3541
+ readonly description: "Whether to also remove the user from the instance";
3542
+ };
3543
+ };
3544
+ };
3545
+ export declare const $WorkspaceReassignment: {
3546
+ readonly type: "object";
3547
+ readonly properties: {
3548
+ readonly reassign_to: {
3549
+ readonly type: "string";
3550
+ readonly description: "Target: 'u/{username}' or 'f/{folder}'";
3551
+ };
3552
+ readonly new_on_behalf_of_user: {
3553
+ readonly type: "string";
3554
+ readonly description: "Required when reassign_to is a folder. Username to use as permissioned_as.";
3555
+ };
3556
+ };
3557
+ readonly required: readonly ["reassign_to"];
3558
+ };
3559
+ export declare const $TruncatedToken: {
3560
+ readonly type: "object";
3561
+ readonly properties: {
3562
+ readonly label: {
3563
+ readonly type: "string";
3564
+ };
3565
+ readonly expiration: {
3566
+ readonly type: "string";
3567
+ readonly format: "date-time";
3568
+ };
3569
+ readonly token_prefix: {
3570
+ readonly type: "string";
3571
+ };
3572
+ readonly created_at: {
3573
+ readonly type: "string";
3574
+ readonly format: "date-time";
3575
+ };
3576
+ readonly last_used_at: {
3577
+ readonly type: "string";
3578
+ readonly format: "date-time";
3579
+ };
3580
+ readonly scopes: {
3581
+ readonly type: "array";
3582
+ readonly items: {
3583
+ readonly type: "string";
3584
+ };
3585
+ };
3586
+ readonly email: {
3587
+ readonly type: "string";
3588
+ };
3589
+ };
3590
+ readonly required: readonly ["token_prefix", "created_at", "last_used_at"];
3591
+ };
3592
+ export declare const $ExternalJwtToken: {
3593
+ readonly type: "object";
3594
+ readonly properties: {
3595
+ readonly jwt_hash: {
3596
+ readonly type: "integer";
3597
+ readonly format: "int64";
3598
+ };
3599
+ readonly email: {
3600
+ readonly type: "string";
3601
+ };
3602
+ readonly username: {
3603
+ readonly type: "string";
3604
+ };
3605
+ readonly is_admin: {
3606
+ readonly type: "boolean";
3607
+ };
3608
+ readonly is_operator: {
3609
+ readonly type: "boolean";
3610
+ };
3611
+ readonly workspace_id: {
3612
+ readonly type: "string";
3613
+ };
3614
+ readonly label: {
3615
+ readonly type: "string";
3616
+ };
3617
+ readonly scopes: {
3618
+ readonly type: "array";
3619
+ readonly items: {
3620
+ readonly type: "string";
3621
+ };
3622
+ };
3623
+ readonly last_used_at: {
3624
+ readonly type: "string";
3625
+ readonly format: "date-time";
3626
+ };
3627
+ };
3628
+ readonly required: readonly ["jwt_hash", "email", "username", "is_admin", "is_operator", "last_used_at"];
3629
+ };
3630
+ export declare const $NewToken: {
3631
+ readonly type: "object";
3632
+ readonly properties: {
3633
+ readonly label: {
3634
+ readonly type: "string";
3635
+ };
3636
+ readonly expiration: {
3637
+ readonly type: "string";
3638
+ readonly format: "date-time";
3639
+ };
3640
+ readonly scopes: {
3641
+ readonly type: "array";
3642
+ readonly items: {
3643
+ readonly type: "string";
3644
+ };
3645
+ };
3646
+ readonly workspace_id: {
3647
+ readonly type: "string";
3648
+ };
3649
+ };
3650
+ };
3651
+ export declare const $NewTokenImpersonate: {
3652
+ readonly type: "object";
3653
+ readonly properties: {
3654
+ readonly label: {
3655
+ readonly type: "string";
3656
+ };
3657
+ readonly expiration: {
3658
+ readonly type: "string";
3659
+ readonly format: "date-time";
3660
+ };
3661
+ readonly impersonate_email: {
3662
+ readonly type: "string";
3663
+ };
3664
+ readonly workspace_id: {
3665
+ readonly type: "string";
3666
+ };
3667
+ };
3668
+ readonly required: readonly ["impersonate_email"];
3669
+ };
3670
+ export declare const $ListableVariable: {
3671
+ readonly type: "object";
3672
+ readonly properties: {
3673
+ readonly workspace_id: {
3674
+ readonly type: "string";
3675
+ };
3676
+ readonly path: {
3677
+ readonly type: "string";
3678
+ };
3679
+ readonly value: {
3680
+ readonly type: "string";
3681
+ };
3682
+ readonly is_secret: {
3683
+ readonly type: "boolean";
3684
+ };
3685
+ readonly description: {
3686
+ readonly type: "string";
3207
3687
  };
3208
- readonly description: {
3209
- readonly type: "string";
3210
- };
3211
3688
  readonly account: {
3212
3689
  readonly type: "integer";
3213
3690
  };
@@ -3236,6 +3713,12 @@ export declare const $ListableVariable: {
3236
3713
  readonly type: "string";
3237
3714
  readonly format: "date-time";
3238
3715
  };
3716
+ readonly labels: {
3717
+ readonly type: "array";
3718
+ readonly items: {
3719
+ readonly type: "string";
3720
+ };
3721
+ };
3239
3722
  };
3240
3723
  readonly required: readonly ["workspace_id", "path", "is_secret", "extra_perms"];
3241
3724
  };
@@ -3289,6 +3772,12 @@ export declare const $CreateVariable: {
3289
3772
  readonly description: "The expiration date of the variable";
3290
3773
  readonly format: "date-time";
3291
3774
  };
3775
+ readonly labels: {
3776
+ readonly type: "array";
3777
+ readonly items: {
3778
+ readonly type: "string";
3779
+ };
3780
+ };
3292
3781
  };
3293
3782
  readonly required: readonly ["path", "value", "is_secret", "description"];
3294
3783
  };
@@ -3311,6 +3800,12 @@ export declare const $EditVariable: {
3311
3800
  readonly type: "string";
3312
3801
  readonly description: "The new description of the variable";
3313
3802
  };
3803
+ readonly labels: {
3804
+ readonly type: "array";
3805
+ readonly items: {
3806
+ readonly type: "string";
3807
+ };
3808
+ };
3314
3809
  };
3315
3810
  };
3316
3811
  export declare const $AuditLog: {
@@ -3463,8 +3958,8 @@ export declare const $MainArgSignature: {
3463
3958
  readonly required: readonly ["name", "typ"];
3464
3959
  };
3465
3960
  };
3466
- readonly no_main_func: {
3467
- readonly type: "boolean";
3961
+ readonly auto_kind: {
3962
+ readonly type: "string";
3468
3963
  readonly nullable: true;
3469
3964
  };
3470
3965
  readonly has_preprocessor: {
@@ -3472,11 +3967,30 @@ export declare const $MainArgSignature: {
3472
3967
  readonly nullable: true;
3473
3968
  };
3474
3969
  };
3475
- readonly required: readonly ["star_args", "start_kwargs", "args", "type", "error", "no_main_func", "has_preprocessor"];
3970
+ readonly required: readonly ["star_args", "start_kwargs", "args", "type", "error", "auto_kind", "has_preprocessor"];
3476
3971
  };
3477
3972
  export declare const $ScriptLang: {
3478
3973
  readonly type: "string";
3479
- readonly enum: readonly ["python3", "deno", "go", "bash", "powershell", "postgresql", "mysql", "bigquery", "snowflake", "mssql", "oracledb", "graphql", "nativets", "bun", "php", "rust", "ansible", "csharp", "nu", "java", "ruby", "duckdb", "bunnative"];
3974
+ readonly enum: readonly ["python3", "deno", "go", "bash", "powershell", "postgresql", "mysql", "bigquery", "snowflake", "mssql", "oracledb", "graphql", "nativets", "bun", "php", "rust", "ansible", "csharp", "nu", "java", "ruby", "rlang", "duckdb", "bunnative"];
3975
+ };
3976
+ export declare const $ScriptModule: {
3977
+ readonly type: "object";
3978
+ readonly description: "An additional module file associated with a script";
3979
+ readonly properties: {
3980
+ readonly content: {
3981
+ readonly type: "string";
3982
+ readonly description: "The source code content of this module";
3983
+ };
3984
+ readonly language: {
3985
+ readonly $ref: "#/components/schemas/ScriptLang";
3986
+ };
3987
+ readonly lock: {
3988
+ readonly type: "string";
3989
+ readonly nullable: true;
3990
+ readonly description: "Lock file content for this module's dependencies";
3991
+ };
3992
+ };
3993
+ readonly required: readonly ["content", "language"];
3480
3994
  };
3481
3995
  export declare const $Preview: {
3482
3996
  readonly type: "object";
@@ -3515,6 +4029,14 @@ export declare const $Preview: {
3515
4029
  readonly flow_path: {
3516
4030
  readonly type: "string";
3517
4031
  };
4032
+ readonly modules: {
4033
+ readonly type: "object";
4034
+ readonly nullable: true;
4035
+ readonly description: "Additional script modules keyed by relative file path";
4036
+ readonly additionalProperties: {
4037
+ readonly $ref: "#/components/schemas/ScriptModule";
4038
+ };
4039
+ };
3518
4040
  };
3519
4041
  readonly required: readonly ["args"];
3520
4042
  };
@@ -3592,6 +4114,12 @@ export declare const $CreateResource: {
3592
4114
  readonly type: "string";
3593
4115
  readonly description: "The resource_type associated with the resource";
3594
4116
  };
4117
+ readonly labels: {
4118
+ readonly type: "array";
4119
+ readonly items: {
4120
+ readonly type: "string";
4121
+ };
4122
+ };
3595
4123
  };
3596
4124
  readonly required: readonly ["path", "value", "resource_type"];
3597
4125
  };
@@ -3611,6 +4139,12 @@ export declare const $EditResource: {
3611
4139
  readonly type: "string";
3612
4140
  readonly description: "The new resource_type to be associated with the resource";
3613
4141
  };
4142
+ readonly labels: {
4143
+ readonly type: "array";
4144
+ readonly items: {
4145
+ readonly type: "string";
4146
+ };
4147
+ };
3614
4148
  };
3615
4149
  };
3616
4150
  export declare const $Resource: {
@@ -3645,6 +4179,12 @@ export declare const $Resource: {
3645
4179
  readonly type: "string";
3646
4180
  readonly format: "date-time";
3647
4181
  };
4182
+ readonly labels: {
4183
+ readonly type: "array";
4184
+ readonly items: {
4185
+ readonly type: "string";
4186
+ };
4187
+ };
3648
4188
  };
3649
4189
  readonly required: readonly ["path", "resource_type", "is_oauth"];
3650
4190
  };
@@ -3695,6 +4235,12 @@ export declare const $ListableResource: {
3695
4235
  readonly type: "string";
3696
4236
  readonly format: "date-time";
3697
4237
  };
4238
+ readonly labels: {
4239
+ readonly type: "array";
4240
+ readonly items: {
4241
+ readonly type: "string";
4242
+ };
4243
+ };
3698
4244
  };
3699
4245
  readonly required: readonly ["path", "resource_type", "is_oauth", "is_linked", "is_refreshed"];
3700
4246
  };
@@ -3790,6 +4336,10 @@ export declare const $Schedule: {
3790
4336
  readonly type: "string";
3791
4337
  readonly description: "Email of the user who owns this schedule, used for permissioned_as";
3792
4338
  };
4339
+ readonly permissioned_as: {
4340
+ readonly type: "string";
4341
+ readonly description: "The user or group this schedule runs as (e.g., 'u/admin' or 'g/mygroup')";
4342
+ };
3793
4343
  readonly error: {
3794
4344
  readonly type: "string";
3795
4345
  readonly nullable: true;
@@ -3880,8 +4430,15 @@ export declare const $Schedule: {
3880
4430
  readonly nullable: true;
3881
4431
  readonly description: "Path to a script that validates scheduled datetimes. Receives scheduled_for datetime and returns boolean to skip (true) or run (false)";
3882
4432
  };
4433
+ readonly labels: {
4434
+ readonly type: "array";
4435
+ readonly items: {
4436
+ readonly type: "string";
4437
+ };
4438
+ readonly default: readonly [];
4439
+ };
3883
4440
  };
3884
- readonly required: readonly ["path", "edited_by", "edited_at", "schedule", "script_path", "timezone", "extra_perms", "is_flow", "enabled", "email"];
4441
+ readonly required: readonly ["path", "edited_by", "edited_at", "schedule", "script_path", "timezone", "extra_perms", "is_flow", "enabled", "email", "permissioned_as"];
3885
4442
  };
3886
4443
  export declare const $ScheduleWJobs: {
3887
4444
  readonly allOf: readonly [{
@@ -4030,13 +4587,19 @@ export declare const $NewSchedule: {
4030
4587
  readonly nullable: true;
4031
4588
  readonly description: "Path to a script that validates scheduled datetimes. Receives scheduled_for datetime and returns boolean to skip (true) or run (false)";
4032
4589
  };
4033
- readonly email: {
4590
+ readonly permissioned_as: {
4034
4591
  readonly type: "string";
4035
- readonly description: "Email of the user who the scheduled jobs run as. Used during deployment to preserve the original schedule owner.";
4592
+ readonly description: "The user or group this schedule runs as. Used during deployment to preserve the original schedule owner.";
4036
4593
  };
4037
- readonly preserve_email: {
4594
+ readonly preserve_permissioned_as: {
4038
4595
  readonly type: "boolean";
4039
- readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.";
4596
+ readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.";
4597
+ };
4598
+ readonly labels: {
4599
+ readonly type: "array";
4600
+ readonly items: {
4601
+ readonly type: "string";
4602
+ };
4040
4603
  };
4041
4604
  };
4042
4605
  readonly required: readonly ["path", "schedule", "timezone", "script_path", "is_flow", "args"];
@@ -4141,13 +4704,21 @@ export declare const $EditSchedule: {
4141
4704
  readonly nullable: true;
4142
4705
  readonly description: "Path to a script that validates scheduled datetimes. Receives scheduled_for datetime and returns boolean to skip (true) or run (false)";
4143
4706
  };
4144
- readonly email: {
4707
+ readonly permissioned_as: {
4145
4708
  readonly type: "string";
4146
- readonly description: "Email of the user who the scheduled jobs run as. Used during deployment to preserve the original schedule owner.";
4709
+ readonly nullable: true;
4710
+ readonly description: "The user or group this schedule runs as (e.g., 'u/admin' or 'g/mygroup'). Only admins and wm_deployers can set this via preserve_permissioned_as.";
4147
4711
  };
4148
- readonly preserve_email: {
4712
+ readonly preserve_permissioned_as: {
4149
4713
  readonly type: "boolean";
4150
- readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.";
4714
+ readonly nullable: true;
4715
+ readonly description: "If true and user is admin/wm_deployers, preserve the provided permissioned_as instead of using the deploying user's identity";
4716
+ };
4717
+ readonly labels: {
4718
+ readonly type: "array";
4719
+ readonly items: {
4720
+ readonly type: "string";
4721
+ };
4151
4722
  };
4152
4723
  };
4153
4724
  readonly required: readonly ["schedule", "timezone", "args"];
@@ -4155,7 +4726,7 @@ export declare const $EditSchedule: {
4155
4726
  export declare const $JobTriggerKind: {
4156
4727
  readonly description: "job trigger kind (schedule, http, websocket...)";
4157
4728
  readonly type: "string";
4158
- readonly enum: readonly ["webhook", "default_email", "email", "schedule", "http", "websocket", "postgres", "kafka", "nats", "mqtt", "sqs", "gcp", "google"];
4729
+ readonly enum: readonly ["webhook", "default_email", "email", "schedule", "http", "websocket", "postgres", "kafka", "nats", "mqtt", "sqs", "gcp", "google", "github"];
4159
4730
  };
4160
4731
  export declare const $TriggerMode: {
4161
4732
  readonly description: "job trigger mode";
@@ -4173,9 +4744,9 @@ export declare const $TriggerExtraProperty: {
4173
4744
  readonly type: "string";
4174
4745
  readonly description: "Path to the script or flow to execute when triggered";
4175
4746
  };
4176
- readonly email: {
4747
+ readonly permissioned_as: {
4177
4748
  readonly type: "string";
4178
- readonly description: "Email of the user who owns this trigger, used for permissioned_as";
4749
+ readonly description: "The user or group this trigger runs as (permissioned_as)";
4179
4750
  };
4180
4751
  readonly extra_perms: {
4181
4752
  readonly type: "object";
@@ -4205,8 +4776,15 @@ export declare const $TriggerExtraProperty: {
4205
4776
  readonly $ref: "#/components/schemas/TriggerMode";
4206
4777
  readonly description: "Trigger mode (enabled/disabled)";
4207
4778
  };
4779
+ readonly labels: {
4780
+ readonly type: "array";
4781
+ readonly items: {
4782
+ readonly type: "string";
4783
+ };
4784
+ readonly default: readonly [];
4785
+ };
4208
4786
  };
4209
- readonly required: readonly ["path", "script_path", "email", "extra_perms", "workspace_id", "edited_by", "edited_at", "is_flow", "mode"];
4787
+ readonly required: readonly ["path", "script_path", "permissioned_as", "extra_perms", "workspace_id", "edited_by", "edited_at", "is_flow", "mode"];
4210
4788
  };
4211
4789
  export declare const $AuthenticationMethod: {
4212
4790
  readonly type: "string";
@@ -4524,13 +5102,19 @@ export declare const $NewHttpTrigger: {
4524
5102
  readonly $ref: "#/components/schemas/Retry";
4525
5103
  readonly description: "Retry configuration for failed executions";
4526
5104
  };
4527
- readonly email: {
5105
+ readonly permissioned_as: {
4528
5106
  readonly type: "string";
4529
- readonly description: "Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.";
5107
+ readonly description: "The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.";
4530
5108
  };
4531
- readonly preserve_email: {
5109
+ readonly preserve_permissioned_as: {
4532
5110
  readonly type: "boolean";
4533
- readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.";
5111
+ readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.";
5112
+ };
5113
+ readonly labels: {
5114
+ readonly type: "array";
5115
+ readonly items: {
5116
+ readonly type: "string";
5117
+ };
4534
5118
  };
4535
5119
  };
4536
5120
  readonly required: readonly ["path", "script_path", "route_path", "is_flow", "authentication_method", "http_method", "is_static_website"];
@@ -4633,13 +5217,19 @@ export declare const $EditHttpTrigger: {
4633
5217
  readonly $ref: "#/components/schemas/Retry";
4634
5218
  readonly description: "Retry configuration for failed executions";
4635
5219
  };
4636
- readonly email: {
5220
+ readonly permissioned_as: {
4637
5221
  readonly type: "string";
4638
- readonly description: "Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.";
5222
+ readonly description: "The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.";
4639
5223
  };
4640
- readonly preserve_email: {
5224
+ readonly preserve_permissioned_as: {
4641
5225
  readonly type: "boolean";
4642
- readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.";
5226
+ readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.";
5227
+ };
5228
+ readonly labels: {
5229
+ readonly type: "array";
5230
+ readonly items: {
5231
+ readonly type: "string";
5232
+ };
4643
5233
  };
4644
5234
  };
4645
5235
  readonly required: readonly ["path", "script_path", "is_flow", "kind", "authentication_method", "http_method", "is_static_website"];
@@ -4697,7 +5287,29 @@ export declare const $TriggersCount: {
4697
5287
  readonly google_count: {
4698
5288
  readonly type: "number";
4699
5289
  };
5290
+ readonly github_count: {
5291
+ readonly type: "number";
5292
+ };
5293
+ };
5294
+ };
5295
+ export declare const $WebsocketHeartbeat: {
5296
+ readonly type: "object";
5297
+ readonly properties: {
5298
+ readonly interval_secs: {
5299
+ readonly type: "integer";
5300
+ readonly minimum: 1;
5301
+ readonly description: "Interval in seconds between heartbeat messages";
5302
+ };
5303
+ readonly message: {
5304
+ readonly type: "string";
5305
+ readonly description: "Message to send as heartbeat. Use {{state}} as a placeholder for a value extracted from incoming messages (see state_field).";
5306
+ };
5307
+ readonly state_field: {
5308
+ readonly type: "string";
5309
+ readonly description: "Optional. Top-level JSON field to extract from incoming messages. The extracted value replaces {{state}} in the heartbeat message.";
5310
+ };
4700
5311
  };
5312
+ readonly required: readonly ["interval_secs", "message"];
4701
5313
  };
4702
5314
  export declare const $WebsocketTrigger: {
4703
5315
  readonly allOf: readonly [{
@@ -4736,6 +5348,12 @@ export declare const $WebsocketTrigger: {
4736
5348
  readonly required: readonly ["key", "value"];
4737
5349
  };
4738
5350
  };
5351
+ readonly filter_logic: {
5352
+ readonly type: "string";
5353
+ readonly enum: readonly ["and", "or"];
5354
+ readonly default: "and";
5355
+ readonly description: "Logic to apply when evaluating filters. 'and' requires all filters to match, 'or' requires any filter to match.";
5356
+ };
4739
5357
  readonly initial_messages: {
4740
5358
  readonly type: "array";
4741
5359
  readonly nullable: true;
@@ -4757,6 +5375,11 @@ export declare const $WebsocketTrigger: {
4757
5375
  readonly type: "boolean";
4758
5376
  readonly description: "If true, error results are sent back through the WebSocket";
4759
5377
  };
5378
+ readonly heartbeat: {
5379
+ readonly $ref: "#/components/schemas/WebsocketHeartbeat";
5380
+ readonly nullable: true;
5381
+ readonly description: "Optional periodic heartbeat message configuration";
5382
+ };
4760
5383
  readonly error_handler_path: {
4761
5384
  readonly type: "string";
4762
5385
  readonly description: "Path to a script or flow to run when the triggered job fails";
@@ -4808,6 +5431,12 @@ export declare const $NewWebsocketTrigger: {
4808
5431
  readonly required: readonly ["key", "value"];
4809
5432
  };
4810
5433
  };
5434
+ readonly filter_logic: {
5435
+ readonly type: "string";
5436
+ readonly enum: readonly ["and", "or"];
5437
+ readonly default: "and";
5438
+ readonly description: "Logic to apply when evaluating filters. 'and' requires all filters to match, 'or' requires any filter to match.";
5439
+ };
4811
5440
  readonly initial_messages: {
4812
5441
  readonly type: "array";
4813
5442
  readonly nullable: true;
@@ -4829,6 +5458,11 @@ export declare const $NewWebsocketTrigger: {
4829
5458
  readonly type: "boolean";
4830
5459
  readonly description: "If true, error results are sent back through the WebSocket";
4831
5460
  };
5461
+ readonly heartbeat: {
5462
+ readonly $ref: "#/components/schemas/WebsocketHeartbeat";
5463
+ readonly nullable: true;
5464
+ readonly description: "Optional periodic heartbeat message configuration";
5465
+ };
4832
5466
  readonly error_handler_path: {
4833
5467
  readonly type: "string";
4834
5468
  readonly description: "Path to a script or flow to run when the triggered job fails";
@@ -4841,13 +5475,19 @@ export declare const $NewWebsocketTrigger: {
4841
5475
  readonly description: "Retry configuration for failed executions";
4842
5476
  readonly $ref: "#/components/schemas/Retry";
4843
5477
  };
4844
- readonly email: {
5478
+ readonly permissioned_as: {
4845
5479
  readonly type: "string";
4846
- readonly description: "Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.";
5480
+ readonly description: "The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.";
4847
5481
  };
4848
- readonly preserve_email: {
5482
+ readonly preserve_permissioned_as: {
4849
5483
  readonly type: "boolean";
4850
- readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.";
5484
+ readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.";
5485
+ };
5486
+ readonly labels: {
5487
+ readonly type: "array";
5488
+ readonly items: {
5489
+ readonly type: "string";
5490
+ };
4851
5491
  };
4852
5492
  };
4853
5493
  readonly required: readonly ["path", "script_path", "url", "is_flow", "filters", "can_return_message", "can_return_error_result"];
@@ -4885,6 +5525,12 @@ export declare const $EditWebsocketTrigger: {
4885
5525
  readonly required: readonly ["key", "value"];
4886
5526
  };
4887
5527
  };
5528
+ readonly filter_logic: {
5529
+ readonly type: "string";
5530
+ readonly enum: readonly ["and", "or"];
5531
+ readonly default: "and";
5532
+ readonly description: "Logic to apply when evaluating filters. 'and' requires all filters to match, 'or' requires any filter to match.";
5533
+ };
4888
5534
  readonly initial_messages: {
4889
5535
  readonly type: "array";
4890
5536
  readonly nullable: true;
@@ -4906,6 +5552,11 @@ export declare const $EditWebsocketTrigger: {
4906
5552
  readonly type: "boolean";
4907
5553
  readonly description: "If true, error results are sent back through the WebSocket";
4908
5554
  };
5555
+ readonly heartbeat: {
5556
+ readonly $ref: "#/components/schemas/WebsocketHeartbeat";
5557
+ readonly nullable: true;
5558
+ readonly description: "Optional periodic heartbeat message configuration";
5559
+ };
4909
5560
  readonly error_handler_path: {
4910
5561
  readonly type: "string";
4911
5562
  readonly description: "Path to a script or flow to run when the triggered job fails";
@@ -4918,13 +5569,19 @@ export declare const $EditWebsocketTrigger: {
4918
5569
  readonly description: "Retry configuration for failed executions";
4919
5570
  readonly $ref: "#/components/schemas/Retry";
4920
5571
  };
4921
- readonly email: {
5572
+ readonly permissioned_as: {
4922
5573
  readonly type: "string";
4923
- readonly description: "Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.";
5574
+ readonly description: "The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.";
4924
5575
  };
4925
- readonly preserve_email: {
5576
+ readonly preserve_permissioned_as: {
4926
5577
  readonly type: "boolean";
4927
- readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.";
5578
+ readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.";
5579
+ };
5580
+ readonly labels: {
5581
+ readonly type: "array";
5582
+ readonly items: {
5583
+ readonly type: "string";
5584
+ };
4928
5585
  };
4929
5586
  };
4930
5587
  readonly required: readonly ["path", "script_path", "url", "is_flow", "filters", "can_return_message", "can_return_error_result"];
@@ -5128,13 +5785,19 @@ export declare const $NewMqttTrigger: {
5128
5785
  readonly $ref: "#/components/schemas/Retry";
5129
5786
  readonly description: "Retry configuration for failed executions";
5130
5787
  };
5131
- readonly email: {
5788
+ readonly permissioned_as: {
5132
5789
  readonly type: "string";
5133
- readonly description: "Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.";
5790
+ readonly description: "The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.";
5134
5791
  };
5135
- readonly preserve_email: {
5792
+ readonly preserve_permissioned_as: {
5136
5793
  readonly type: "boolean";
5137
- readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.";
5794
+ readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.";
5795
+ };
5796
+ readonly labels: {
5797
+ readonly type: "array";
5798
+ readonly items: {
5799
+ readonly type: "string";
5800
+ };
5138
5801
  };
5139
5802
  };
5140
5803
  readonly required: readonly ["path", "script_path", "is_flow", "subscribe_topics", "mqtt_resource_path"];
@@ -5200,13 +5863,19 @@ export declare const $EditMqttTrigger: {
5200
5863
  readonly $ref: "#/components/schemas/Retry";
5201
5864
  readonly description: "Retry configuration for failed executions";
5202
5865
  };
5203
- readonly email: {
5866
+ readonly permissioned_as: {
5204
5867
  readonly type: "string";
5205
- readonly description: "Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.";
5868
+ readonly description: "The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.";
5206
5869
  };
5207
- readonly preserve_email: {
5870
+ readonly preserve_permissioned_as: {
5208
5871
  readonly type: "boolean";
5209
- readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.";
5872
+ readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.";
5873
+ };
5874
+ readonly labels: {
5875
+ readonly type: "array";
5876
+ readonly items: {
5877
+ readonly type: "string";
5878
+ };
5210
5879
  };
5211
5880
  };
5212
5881
  readonly required: readonly ["path", "script_path", "is_flow", "enabled", "subscribe_topics", "mqtt_resource_path"];
@@ -5361,13 +6030,19 @@ export declare const $GcpTriggerData: {
5361
6030
  readonly $ref: "#/components/schemas/Retry";
5362
6031
  readonly description: "Retry configuration for failed executions.";
5363
6032
  };
5364
- readonly email: {
6033
+ readonly permissioned_as: {
5365
6034
  readonly type: "string";
5366
- readonly description: "Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.";
6035
+ readonly description: "The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.";
5367
6036
  };
5368
- readonly preserve_email: {
6037
+ readonly preserve_permissioned_as: {
5369
6038
  readonly type: "boolean";
5370
- readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.";
6039
+ readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.";
6040
+ };
6041
+ readonly labels: {
6042
+ readonly type: "array";
6043
+ readonly items: {
6044
+ readonly type: "string";
6045
+ };
5371
6046
  };
5372
6047
  };
5373
6048
  readonly required: readonly ["path", "script_path", "is_flow", "gcp_resource_path", "topic_id", "subscription_mode"];
@@ -5552,13 +6227,19 @@ export declare const $NewSqsTrigger: {
5552
6227
  readonly $ref: "#/components/schemas/Retry";
5553
6228
  readonly description: "Retry configuration for failed executions";
5554
6229
  };
5555
- readonly email: {
6230
+ readonly permissioned_as: {
5556
6231
  readonly type: "string";
5557
- readonly description: "Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.";
6232
+ readonly description: "The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.";
5558
6233
  };
5559
- readonly preserve_email: {
6234
+ readonly preserve_permissioned_as: {
5560
6235
  readonly type: "boolean";
5561
- readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.";
6236
+ readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.";
6237
+ };
6238
+ readonly labels: {
6239
+ readonly type: "array";
6240
+ readonly items: {
6241
+ readonly type: "string";
6242
+ };
5562
6243
  };
5563
6244
  };
5564
6245
  readonly required: readonly ["queue_url", "aws_resource_path", "path", "script_path", "is_flow", "aws_auth_resource_type"];
@@ -5613,13 +6294,19 @@ export declare const $EditSqsTrigger: {
5613
6294
  readonly $ref: "#/components/schemas/Retry";
5614
6295
  readonly description: "Retry configuration for failed executions";
5615
6296
  };
5616
- readonly email: {
6297
+ readonly permissioned_as: {
5617
6298
  readonly type: "string";
5618
- readonly description: "Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.";
6299
+ readonly description: "The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.";
5619
6300
  };
5620
- readonly preserve_email: {
6301
+ readonly preserve_permissioned_as: {
5621
6302
  readonly type: "boolean";
5622
- readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.";
6303
+ readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.";
6304
+ };
6305
+ readonly labels: {
6306
+ readonly type: "array";
6307
+ readonly items: {
6308
+ readonly type: "string";
6309
+ };
5623
6310
  };
5624
6311
  };
5625
6312
  readonly required: readonly ["queue_url", "aws_resource_path", "path", "script_path", "is_flow", "enabled", "aws_auth_resource_type"];
@@ -5808,13 +6495,19 @@ export declare const $NewPostgresTrigger: {
5808
6495
  readonly $ref: "#/components/schemas/Retry";
5809
6496
  readonly description: "Retry configuration for failed executions";
5810
6497
  };
5811
- readonly email: {
6498
+ readonly permissioned_as: {
5812
6499
  readonly type: "string";
5813
- readonly description: "Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.";
6500
+ readonly description: "The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.";
5814
6501
  };
5815
- readonly preserve_email: {
6502
+ readonly preserve_permissioned_as: {
5816
6503
  readonly type: "boolean";
5817
- readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.";
6504
+ readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.";
6505
+ };
6506
+ readonly labels: {
6507
+ readonly type: "array";
6508
+ readonly items: {
6509
+ readonly type: "string";
6510
+ };
5818
6511
  };
5819
6512
  };
5820
6513
  readonly required: readonly ["path", "script_path", "is_flow", "enabled", "postgres_resource_path"];
@@ -5865,13 +6558,19 @@ export declare const $EditPostgresTrigger: {
5865
6558
  readonly $ref: "#/components/schemas/Retry";
5866
6559
  readonly description: "Retry configuration for failed executions";
5867
6560
  };
5868
- readonly email: {
6561
+ readonly permissioned_as: {
5869
6562
  readonly type: "string";
5870
- readonly description: "Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.";
6563
+ readonly description: "The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.";
5871
6564
  };
5872
- readonly preserve_email: {
6565
+ readonly preserve_permissioned_as: {
5873
6566
  readonly type: "boolean";
5874
- readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.";
6567
+ readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.";
6568
+ };
6569
+ readonly labels: {
6570
+ readonly type: "array";
6571
+ readonly items: {
6572
+ readonly type: "string";
6573
+ };
5875
6574
  };
5876
6575
  };
5877
6576
  readonly required: readonly ["path", "script_path", "is_flow", "enabled", "postgres_resource_path", "publication_name", "replication_slot_name"];
@@ -5910,6 +6609,12 @@ export declare const $KafkaTrigger: {
5910
6609
  readonly required: readonly ["key", "value"];
5911
6610
  };
5912
6611
  };
6612
+ readonly filter_logic: {
6613
+ readonly type: "string";
6614
+ readonly enum: readonly ["and", "or"];
6615
+ readonly default: "and";
6616
+ readonly description: "Logic to apply when evaluating filters. 'and' requires all filters to match, 'or' requires any filter to match.";
6617
+ };
5913
6618
  readonly auto_offset_reset: {
5914
6619
  readonly type: "string";
5915
6620
  readonly enum: readonly ["latest", "earliest"];
@@ -5992,6 +6697,12 @@ export declare const $NewKafkaTrigger: {
5992
6697
  readonly required: readonly ["key", "value"];
5993
6698
  };
5994
6699
  };
6700
+ readonly filter_logic: {
6701
+ readonly type: "string";
6702
+ readonly enum: readonly ["and", "or"];
6703
+ readonly default: "and";
6704
+ readonly description: "Logic to apply when evaluating filters. 'and' requires all filters to match, 'or' requires any filter to match.";
6705
+ };
5995
6706
  readonly auto_offset_reset: {
5996
6707
  readonly type: "string";
5997
6708
  readonly enum: readonly ["latest", "earliest"];
@@ -6018,13 +6729,19 @@ export declare const $NewKafkaTrigger: {
6018
6729
  readonly $ref: "#/components/schemas/Retry";
6019
6730
  readonly description: "Retry configuration for failed executions";
6020
6731
  };
6021
- readonly email: {
6732
+ readonly permissioned_as: {
6022
6733
  readonly type: "string";
6023
- readonly description: "Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.";
6734
+ readonly description: "The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.";
6024
6735
  };
6025
- readonly preserve_email: {
6736
+ readonly preserve_permissioned_as: {
6026
6737
  readonly type: "boolean";
6027
- readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.";
6738
+ readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.";
6739
+ };
6740
+ readonly labels: {
6741
+ readonly type: "array";
6742
+ readonly items: {
6743
+ readonly type: "string";
6744
+ };
6028
6745
  };
6029
6746
  };
6030
6747
  readonly required: readonly ["path", "script_path", "is_flow", "kafka_resource_path", "group_id", "topics", "filters"];
@@ -6060,6 +6777,12 @@ export declare const $EditKafkaTrigger: {
6060
6777
  readonly required: readonly ["key", "value"];
6061
6778
  };
6062
6779
  };
6780
+ readonly filter_logic: {
6781
+ readonly type: "string";
6782
+ readonly enum: readonly ["and", "or"];
6783
+ readonly default: "and";
6784
+ readonly description: "Logic to apply when evaluating filters. 'and' requires all filters to match, 'or' requires any filter to match.";
6785
+ };
6063
6786
  readonly auto_offset_reset: {
6064
6787
  readonly type: "string";
6065
6788
  readonly enum: readonly ["latest", "earliest"];
@@ -6095,13 +6818,19 @@ export declare const $EditKafkaTrigger: {
6095
6818
  readonly $ref: "#/components/schemas/Retry";
6096
6819
  readonly description: "Retry configuration for failed executions";
6097
6820
  };
6098
- readonly email: {
6821
+ readonly permissioned_as: {
6099
6822
  readonly type: "string";
6100
- readonly description: "Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.";
6823
+ readonly description: "The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.";
6101
6824
  };
6102
- readonly preserve_email: {
6825
+ readonly preserve_permissioned_as: {
6103
6826
  readonly type: "boolean";
6104
- readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.";
6827
+ readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.";
6828
+ };
6829
+ readonly labels: {
6830
+ readonly type: "array";
6831
+ readonly items: {
6832
+ readonly type: "string";
6833
+ };
6105
6834
  };
6106
6835
  };
6107
6836
  readonly required: readonly ["path", "script_path", "kafka_resource_path", "group_id", "topics", "filters", "is_flow"];
@@ -6220,13 +6949,19 @@ export declare const $NewNatsTrigger: {
6220
6949
  readonly $ref: "#/components/schemas/Retry";
6221
6950
  readonly description: "Retry configuration for failed executions";
6222
6951
  };
6223
- readonly email: {
6952
+ readonly permissioned_as: {
6224
6953
  readonly type: "string";
6225
- readonly description: "Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.";
6954
+ readonly description: "The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.";
6226
6955
  };
6227
- readonly preserve_email: {
6956
+ readonly preserve_permissioned_as: {
6228
6957
  readonly type: "boolean";
6229
- readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.";
6958
+ readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.";
6959
+ };
6960
+ readonly labels: {
6961
+ readonly type: "array";
6962
+ readonly items: {
6963
+ readonly type: "string";
6964
+ };
6230
6965
  };
6231
6966
  };
6232
6967
  readonly required: readonly ["path", "script_path", "is_flow", "nats_resource_path", "use_jetstream", "subjects"];
@@ -6283,13 +7018,19 @@ export declare const $EditNatsTrigger: {
6283
7018
  readonly $ref: "#/components/schemas/Retry";
6284
7019
  readonly description: "Retry configuration for failed executions";
6285
7020
  };
6286
- readonly email: {
7021
+ readonly permissioned_as: {
6287
7022
  readonly type: "string";
6288
- readonly description: "Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.";
7023
+ readonly description: "The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.";
6289
7024
  };
6290
- readonly preserve_email: {
7025
+ readonly preserve_permissioned_as: {
6291
7026
  readonly type: "boolean";
6292
- readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.";
7027
+ readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.";
7028
+ };
7029
+ readonly labels: {
7030
+ readonly type: "array";
7031
+ readonly items: {
7032
+ readonly type: "string";
7033
+ };
6293
7034
  };
6294
7035
  };
6295
7036
  readonly required: readonly ["path", "script_path", "nats_resource_path", "use_jetstream", "subjects", "is_flow"];
@@ -6348,13 +7089,19 @@ export declare const $NewEmailTrigger: {
6348
7089
  readonly mode: {
6349
7090
  readonly $ref: "#/components/schemas/TriggerMode";
6350
7091
  };
6351
- readonly email: {
7092
+ readonly permissioned_as: {
6352
7093
  readonly type: "string";
6353
- readonly description: "Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.";
7094
+ readonly description: "The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.";
6354
7095
  };
6355
- readonly preserve_email: {
7096
+ readonly preserve_permissioned_as: {
6356
7097
  readonly type: "boolean";
6357
- readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.";
7098
+ readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.";
7099
+ };
7100
+ readonly labels: {
7101
+ readonly type: "array";
7102
+ readonly items: {
7103
+ readonly type: "string";
7104
+ };
6358
7105
  };
6359
7106
  };
6360
7107
  readonly required: readonly ["path", "script_path", "local_part", "is_flow"];
@@ -6386,13 +7133,19 @@ export declare const $EditEmailTrigger: {
6386
7133
  readonly retry: {
6387
7134
  readonly $ref: "#/components/schemas/Retry";
6388
7135
  };
6389
- readonly email: {
7136
+ readonly permissioned_as: {
6390
7137
  readonly type: "string";
6391
- readonly description: "Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.";
7138
+ readonly description: "The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.";
6392
7139
  };
6393
- readonly preserve_email: {
7140
+ readonly preserve_permissioned_as: {
6394
7141
  readonly type: "boolean";
6395
- readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.";
7142
+ readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.";
7143
+ };
7144
+ readonly labels: {
7145
+ readonly type: "array";
7146
+ readonly items: {
7147
+ readonly type: "string";
7148
+ };
6396
7149
  };
6397
7150
  };
6398
7151
  readonly required: readonly ["path", "script_path", "is_flow"];
@@ -6437,6 +7190,11 @@ export declare const $InstanceGroup: {
6437
7190
  readonly type: "string";
6438
7191
  };
6439
7192
  };
7193
+ readonly instance_role: {
7194
+ readonly type: "string";
7195
+ readonly nullable: true;
7196
+ readonly enum: readonly ["superadmin", "devops"];
7197
+ };
6440
7198
  };
6441
7199
  };
6442
7200
  export declare const $InstanceGroupWithWorkspaces: {
@@ -6455,6 +7213,11 @@ export declare const $InstanceGroupWithWorkspaces: {
6455
7213
  readonly type: "string";
6456
7214
  };
6457
7215
  };
7216
+ readonly instance_role: {
7217
+ readonly type: "string";
7218
+ readonly nullable: true;
7219
+ readonly enum: readonly ["superadmin", "devops"];
7220
+ };
6458
7221
  readonly workspaces: {
6459
7222
  readonly type: "array";
6460
7223
  readonly items: {
@@ -6506,9 +7269,30 @@ export declare const $Folder: {
6506
7269
  readonly type: "string";
6507
7270
  readonly format: "date-time";
6508
7271
  };
7272
+ readonly default_permissioned_as: {
7273
+ readonly $ref: "#/components/schemas/FolderDefaultPermissionedAs";
7274
+ };
6509
7275
  };
6510
7276
  readonly required: readonly ["name", "owners", "extra_perms"];
6511
7277
  };
7278
+ export declare const $FolderDefaultPermissionedAs: {
7279
+ readonly description: "Ordered list of rules applied at create-time when admins or `wm_deployers` members deploy items in this folder. The first rule whose `path_glob` matches the item path (relative to the folder root) wins, and its `permissioned_as` is used as the default.\n";
7280
+ readonly type: "array";
7281
+ readonly items: {
7282
+ readonly type: "object";
7283
+ readonly required: readonly ["path_glob", "permissioned_as"];
7284
+ readonly properties: {
7285
+ readonly path_glob: {
7286
+ readonly type: "string";
7287
+ readonly description: "Glob pattern evaluated against the item path *relative* to the folder root (e.g. \"jobs/**\" matches every item whose full path is `f/<folder>/jobs/...`). Supports `*`, `**`, `?`, `[abc]`, `{a,b}`.\n";
7288
+ };
7289
+ readonly permissioned_as: {
7290
+ readonly type: "string";
7291
+ readonly description: "Target identity the matched item should be permissioned as. Must be `u/<username>`, `g/<groupname>`, or an email that exists in this workspace.\n";
7292
+ };
7293
+ };
7294
+ };
7295
+ };
6512
7296
  export declare const $WorkerPing: {
6513
7297
  readonly type: "object";
6514
7298
  readonly properties: {
@@ -6656,6 +7440,23 @@ export declare const $CreateWorkspaceFork: {
6656
7440
  readonly color: {
6657
7441
  readonly type: "string";
6658
7442
  };
7443
+ readonly forked_datatables: {
7444
+ readonly type: "array";
7445
+ readonly items: {
7446
+ readonly type: "object";
7447
+ readonly required: readonly ["name", "new_dbname"];
7448
+ readonly properties: {
7449
+ readonly name: {
7450
+ readonly type: "string";
7451
+ readonly description: "Datatable name";
7452
+ };
7453
+ readonly new_dbname: {
7454
+ readonly type: "string";
7455
+ readonly description: "New database name for the fork";
7456
+ };
7457
+ };
7458
+ };
7459
+ };
6659
7460
  };
6660
7461
  readonly required: readonly ["id", "name", "parent_workspace_id"];
6661
7462
  };
@@ -6798,8 +7599,15 @@ export declare const $GlobalUserInfo: {
6798
7599
  readonly first_time_user: {
6799
7600
  readonly type: "boolean";
6800
7601
  };
7602
+ readonly role_source: {
7603
+ readonly type: "string";
7604
+ readonly enum: readonly ["manual", "instance_group"];
7605
+ };
7606
+ readonly disabled: {
7607
+ readonly type: "boolean";
7608
+ };
6801
7609
  };
6802
- readonly required: readonly ["email", "login_type", "super_admin", "verified", "first_time_user"];
7610
+ readonly required: readonly ["email", "login_type", "super_admin", "verified", "first_time_user", "role_source", "disabled"];
6803
7611
  };
6804
7612
  export declare const $Flow: {
6805
7613
  readonly allOf: readonly [{
@@ -6873,6 +7681,13 @@ export declare const $FlowMetadata: {
6873
7681
  readonly on_behalf_of_email: {
6874
7682
  readonly type: "string";
6875
7683
  };
7684
+ readonly labels: {
7685
+ readonly type: "array";
7686
+ readonly items: {
7687
+ readonly type: "string";
7688
+ };
7689
+ readonly default: readonly [];
7690
+ };
6876
7691
  };
6877
7692
  readonly required: readonly ["path", "edited_by", "edited_at", "archived", "extra_perms"];
6878
7693
  };
@@ -6910,6 +7725,12 @@ export declare const $OpenFlowWPath: {
6910
7725
  readonly type: "boolean";
6911
7726
  readonly description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original on_behalf_of_email value instead of overwriting it.";
6912
7727
  };
7728
+ readonly labels: {
7729
+ readonly type: "array";
7730
+ readonly items: {
7731
+ readonly type: "string";
7732
+ };
7733
+ };
6913
7734
  };
6914
7735
  readonly required: readonly ["path"];
6915
7736
  }];
@@ -7038,6 +7859,13 @@ export declare const $ListableApp: {
7038
7859
  readonly raw_app: {
7039
7860
  readonly type: "boolean";
7040
7861
  };
7862
+ readonly labels: {
7863
+ readonly type: "array";
7864
+ readonly items: {
7865
+ readonly type: "string";
7866
+ };
7867
+ readonly default: readonly [];
7868
+ };
7041
7869
  };
7042
7870
  readonly required: readonly ["id", "workspace_id", "path", "summary", "version", "extra_perms", "edited_at", "execution_mode"];
7043
7871
  };
@@ -7107,6 +7935,13 @@ export declare const $ListableRawApp: {
7107
7935
  readonly type: "string";
7108
7936
  readonly format: "date-time";
7109
7937
  };
7938
+ readonly labels: {
7939
+ readonly type: "array";
7940
+ readonly items: {
7941
+ readonly type: "string";
7942
+ };
7943
+ readonly default: readonly [];
7944
+ };
7110
7945
  };
7111
7946
  readonly required: readonly ["workspace_id", "path", "summary", "extra_perms", "version", "edited_at"];
7112
7947
  };
@@ -7161,6 +7996,13 @@ export declare const $AppWithLastVersion: {
7161
7996
  readonly bundle_secret: {
7162
7997
  readonly type: "string";
7163
7998
  };
7999
+ readonly labels: {
8000
+ readonly type: "array";
8001
+ readonly items: {
8002
+ readonly type: "string";
8003
+ };
8004
+ readonly default: readonly [];
8005
+ };
7164
8006
  };
7165
8007
  readonly required: readonly ["id", "workspace_id", "path", "summary", "versions", "created_by", "created_at", "value", "policy", "execution_mode", "extra_perms", "raw_app"];
7166
8008
  };
@@ -7211,22 +8053,20 @@ export declare const $SlackToken: {
7211
8053
  readonly access_token: {
7212
8054
  readonly type: "string";
7213
8055
  };
7214
- readonly team_id: {
7215
- readonly type: "string";
7216
- };
7217
- readonly team_name: {
7218
- readonly type: "string";
7219
- };
7220
- readonly bot: {
8056
+ readonly team: {
7221
8057
  readonly type: "object";
7222
8058
  readonly properties: {
7223
- readonly bot_access_token: {
8059
+ readonly id: {
8060
+ readonly type: "string";
8061
+ };
8062
+ readonly name: {
7224
8063
  readonly type: "string";
7225
8064
  };
7226
8065
  };
8066
+ readonly required: readonly ["id", "name"];
7227
8067
  };
7228
8068
  };
7229
- readonly required: readonly ["access_token", "team_id", "team_name", "bot"];
8069
+ readonly required: readonly ["access_token"];
7230
8070
  };
7231
8071
  export declare const $TokenResponse: {
7232
8072
  readonly type: "object";
@@ -7382,6 +8222,17 @@ export declare const $DataTableSettings: {
7382
8222
  };
7383
8223
  readonly required: readonly ["resource_type"];
7384
8224
  };
8225
+ readonly forked_from: {
8226
+ readonly type: "object";
8227
+ readonly description: "Fork origin info with schema snapshot";
8228
+ readonly properties: {
8229
+ readonly schema: {
8230
+ readonly type: "object";
8231
+ readonly description: "Schema snapshot at fork time";
8232
+ readonly additionalProperties: true;
8233
+ };
8234
+ };
8235
+ };
7385
8236
  };
7386
8237
  };
7387
8238
  };
@@ -7856,6 +8707,11 @@ export declare const $ExportedInstanceGroup: {
7856
8707
  readonly external_id: {
7857
8708
  readonly type: "string";
7858
8709
  };
8710
+ readonly instance_role: {
8711
+ readonly type: "string";
8712
+ readonly nullable: true;
8713
+ readonly enum: readonly ["superadmin", "devops"];
8714
+ };
7859
8715
  };
7860
8716
  readonly required: readonly ["name"];
7861
8717
  };
@@ -8053,7 +8909,7 @@ export declare const $WorkspaceItemDiff: {
8053
8909
  readonly properties: {
8054
8910
  readonly kind: {
8055
8911
  readonly type: "string";
8056
- readonly enum: readonly ["script", "flow", "app", "resource", "variable", "resource_type"];
8912
+ readonly enum: readonly ["script", "flow", "app", "raw_app", "resource", "variable", "resource_type"];
8057
8913
  readonly description: "Type of the item";
8058
8914
  };
8059
8915
  readonly path: {
@@ -8377,7 +9233,7 @@ export declare const $ProtectionRules: {
8377
9233
  };
8378
9234
  export declare const $ProtectionRuleKind: {
8379
9235
  readonly type: "string";
8380
- readonly enum: readonly ["DisableDirectDeployment", "DisableWorkspaceForking"];
9236
+ readonly enum: readonly ["DisableDirectDeployment", "DisableWorkspaceForking", "RestrictDeployToDeployers"];
8381
9237
  };
8382
9238
  export declare const $RuleBypasserGroups: {
8383
9239
  readonly type: "array";
@@ -8393,9 +9249,128 @@ export declare const $RuleBypasserUsers: {
8393
9249
  readonly type: "string";
8394
9250
  };
8395
9251
  };
9252
+ export declare const $DeploymentRequestEligibleDeployer: {
9253
+ readonly type: "object";
9254
+ readonly required: readonly ["username", "email", "is_admin"];
9255
+ readonly properties: {
9256
+ readonly username: {
9257
+ readonly type: "string";
9258
+ };
9259
+ readonly email: {
9260
+ readonly type: "string";
9261
+ };
9262
+ readonly is_admin: {
9263
+ readonly type: "boolean";
9264
+ };
9265
+ };
9266
+ };
9267
+ export declare const $DeploymentRequestAssignee: {
9268
+ readonly type: "object";
9269
+ readonly required: readonly ["username", "email"];
9270
+ readonly properties: {
9271
+ readonly username: {
9272
+ readonly type: "string";
9273
+ };
9274
+ readonly email: {
9275
+ readonly type: "string";
9276
+ };
9277
+ };
9278
+ };
9279
+ export declare const $DeploymentRequestComment: {
9280
+ readonly type: "object";
9281
+ readonly required: readonly ["id", "author", "author_email", "body", "obsolete", "created_at"];
9282
+ readonly properties: {
9283
+ readonly id: {
9284
+ readonly type: "integer";
9285
+ readonly format: "int64";
9286
+ };
9287
+ readonly parent_id: {
9288
+ readonly type: "integer";
9289
+ readonly format: "int64";
9290
+ readonly nullable: true;
9291
+ };
9292
+ readonly author: {
9293
+ readonly type: "string";
9294
+ };
9295
+ readonly author_email: {
9296
+ readonly type: "string";
9297
+ };
9298
+ readonly body: {
9299
+ readonly type: "string";
9300
+ };
9301
+ readonly anchor_kind: {
9302
+ readonly type: "string";
9303
+ readonly nullable: true;
9304
+ };
9305
+ readonly anchor_path: {
9306
+ readonly type: "string";
9307
+ readonly nullable: true;
9308
+ };
9309
+ readonly obsolete: {
9310
+ readonly type: "boolean";
9311
+ };
9312
+ readonly created_at: {
9313
+ readonly type: "string";
9314
+ readonly format: "date-time";
9315
+ };
9316
+ };
9317
+ };
9318
+ export declare const $DeploymentRequest: {
9319
+ readonly type: "object";
9320
+ readonly required: readonly ["id", "source_workspace_id", "fork_workspace_id", "requested_by", "requested_by_email", "requested_at", "assignees", "comments"];
9321
+ readonly properties: {
9322
+ readonly id: {
9323
+ readonly type: "integer";
9324
+ readonly format: "int64";
9325
+ };
9326
+ readonly source_workspace_id: {
9327
+ readonly type: "string";
9328
+ };
9329
+ readonly fork_workspace_id: {
9330
+ readonly type: "string";
9331
+ };
9332
+ readonly requested_by: {
9333
+ readonly type: "string";
9334
+ };
9335
+ readonly requested_by_email: {
9336
+ readonly type: "string";
9337
+ };
9338
+ readonly requested_at: {
9339
+ readonly type: "string";
9340
+ readonly format: "date-time";
9341
+ };
9342
+ readonly assignees: {
9343
+ readonly type: "array";
9344
+ readonly items: {
9345
+ readonly $ref: "#/components/schemas/DeploymentRequestAssignee";
9346
+ };
9347
+ };
9348
+ readonly comments: {
9349
+ readonly type: "array";
9350
+ readonly items: {
9351
+ readonly $ref: "#/components/schemas/DeploymentRequestComment";
9352
+ };
9353
+ };
9354
+ };
9355
+ };
9356
+ export declare const $QuotaInfo: {
9357
+ readonly type: "object";
9358
+ readonly properties: {
9359
+ readonly used: {
9360
+ readonly type: "integer";
9361
+ };
9362
+ readonly limit: {
9363
+ readonly type: "integer";
9364
+ };
9365
+ readonly prunable: {
9366
+ readonly type: "integer";
9367
+ };
9368
+ };
9369
+ readonly required: readonly ["used", "limit", "prunable"];
9370
+ };
8396
9371
  export declare const $NativeServiceName: {
8397
9372
  readonly type: "string";
8398
- readonly enum: readonly ["nextcloud", "google"];
9373
+ readonly enum: readonly ["nextcloud", "google", "github"];
8399
9374
  };
8400
9375
  export declare const $NativeTrigger: {
8401
9376
  readonly type: "object";
@@ -8430,6 +9405,11 @@ export declare const $NativeTrigger: {
8430
9405
  readonly nullable: true;
8431
9406
  readonly description: "Error message if the trigger is in an error state";
8432
9407
  };
9408
+ readonly summary: {
9409
+ readonly type: "string";
9410
+ readonly nullable: true;
9411
+ readonly description: "Short summary to be displayed when listed";
9412
+ };
8433
9413
  };
8434
9414
  readonly required: readonly ["external_id", "workspace_id", "service_name", "script_path", "is_flow", "service_config"];
8435
9415
  };
@@ -8466,6 +9446,11 @@ export declare const $NativeTriggerWithExternal: {
8466
9446
  readonly nullable: true;
8467
9447
  readonly description: "Error message if the trigger is in an error state";
8468
9448
  };
9449
+ readonly summary: {
9450
+ readonly type: "string";
9451
+ readonly nullable: true;
9452
+ readonly description: "Short summary to be displayed when listed";
9453
+ };
8469
9454
  readonly external_data: {
8470
9455
  readonly type: "object";
8471
9456
  readonly description: "Configuration data from the external service";
@@ -8560,6 +9545,11 @@ export declare const $NativeTriggerData: {
8560
9545
  readonly description: "Service-specific configuration (e.g., event types, filters)";
8561
9546
  readonly additionalProperties: true;
8562
9547
  };
9548
+ readonly summary: {
9549
+ readonly type: "string";
9550
+ readonly nullable: true;
9551
+ readonly description: "Short summary to be displayed when listed";
9552
+ };
8563
9553
  };
8564
9554
  readonly required: readonly ["script_path", "is_flow", "service_config"];
8565
9555
  };
@@ -8681,3 +9671,21 @@ export declare const $SharedDriveEntry: {
8681
9671
  };
8682
9672
  readonly required: readonly ["id", "name"];
8683
9673
  };
9674
+ export declare const $GithubRepoEntry: {
9675
+ readonly type: "object";
9676
+ readonly properties: {
9677
+ readonly full_name: {
9678
+ readonly type: "string";
9679
+ };
9680
+ readonly name: {
9681
+ readonly type: "string";
9682
+ };
9683
+ readonly owner: {
9684
+ readonly type: "string";
9685
+ };
9686
+ readonly private: {
9687
+ readonly type: "boolean";
9688
+ };
9689
+ };
9690
+ readonly required: readonly ["full_name", "name", "owner", "private"];
9691
+ };