windmill-components 1.687.0 → 1.695.1

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 (264) hide show
  1. package/package/components/ArgInput.svelte +2 -0
  2. package/package/components/AutoscalingConfigEditor.svelte +18 -4
  3. package/package/components/CompareWorkspaces.svelte +206 -157
  4. package/package/components/DatatableSchemaDiff.svelte +2 -2
  5. package/package/components/Dev.svelte +401 -85
  6. package/package/components/EditableSchemaForm.svelte +4 -0
  7. package/package/components/ErrorOrRecoveryHandler.svelte +2 -2
  8. package/package/components/FlowPreviewContent.svelte +32 -30
  9. package/package/components/FlowRestartButton.svelte +143 -61
  10. package/package/components/FlowRestartButton.svelte.d.ts +37 -0
  11. package/package/components/FlowStatusViewer.svelte +15 -1
  12. package/package/components/FlowStatusViewer.svelte.d.ts +10 -2
  13. package/package/components/FlowStatusViewerInner.svelte +1 -2
  14. package/package/components/FlowStatusViewerInner.svelte.d.ts +6 -2
  15. package/package/components/ForkConflictModal.svelte +57 -0
  16. package/package/components/ForkConflictModal.svelte.d.ts +3 -0
  17. package/package/components/GitRepoViewer.svelte +251 -97
  18. package/package/components/InputTransformSchemaForm.svelte +1 -1
  19. package/package/components/InstanceSettings.svelte +36 -16
  20. package/package/components/Login.svelte +113 -28
  21. package/package/components/Login.svelte.d.ts +1 -0
  22. package/package/components/Path.svelte +7 -1
  23. package/package/components/Path.svelte.d.ts +1 -1
  24. package/package/components/RunsPage.svelte +2 -1
  25. package/package/components/S3FilePickerInner.svelte +89 -89
  26. package/package/components/ScriptEditor.svelte +18 -5
  27. package/package/components/ShareModal.svelte.d.ts +1 -1
  28. package/package/components/apps/components/helpers/RunnableComponent.svelte.d.ts +3 -0
  29. package/package/components/apps/components/helpers/executeRunnable.js +2 -1
  30. package/package/components/apps/editor/AppReportsDrawerInner.svelte +1 -1
  31. package/package/components/apps/editor/appPolicy.js +2 -1
  32. package/package/components/apps/editor/commonAppUtils.d.ts +3 -0
  33. package/package/components/apps/editor/inlineScriptsPanel/CacheTtlPopup.svelte +1 -1
  34. package/package/components/apps/editor/inlineScriptsPanel/InlineScriptEditor.svelte +7 -0
  35. package/package/components/apps/editor/inlineScriptsPanel/TagPopup.svelte +49 -0
  36. package/package/components/apps/editor/inlineScriptsPanel/TagPopup.svelte.d.ts +9 -0
  37. package/package/components/apps/inputType.d.ts +1 -0
  38. package/package/components/apps/sharedTypes.d.ts +1 -0
  39. package/package/components/auditLogs/AuditLogsFilters.svelte +8 -3
  40. package/package/components/common/fileUpload/S3ArgInput.svelte +12 -10
  41. package/package/components/common/fileUpload/S3ArgInput.svelte.d.ts +2 -0
  42. package/package/components/copilot/chat/AIChatDisplay.svelte +5 -36
  43. package/package/components/copilot/chat/AIChatInput.svelte +56 -47
  44. package/package/components/copilot/chat/AIChatManager.svelte.js +48 -46
  45. package/package/components/copilot/chat/ContextElementBadge.svelte +6 -4
  46. package/package/components/copilot/chat/app/core.d.ts +12 -20
  47. package/package/components/copilot/chat/app/core.js +103 -160
  48. package/package/components/copilot/chat/app/core.test.js +234 -9
  49. package/package/components/copilot/chat/context.js +44 -0
  50. package/package/components/copilot/chat/flow/FlowAIChat.svelte +5 -3
  51. package/package/components/copilot/chat/flow/core.d.ts +2 -1
  52. package/package/components/copilot/chat/flow/core.js +48 -21
  53. package/package/components/copilot/chat/flow/helperUtils.d.ts +5 -2
  54. package/package/components/copilot/chat/flow/helperUtils.js +33 -1
  55. package/package/components/copilot/chat/flow/helperUtils.test.js +116 -1
  56. package/package/components/copilot/chat/flow/openFlow.json +1 -1
  57. package/package/components/copilot/chat/flow/openFlowZod.gen.js +24 -0
  58. package/package/components/copilot/chat/script/core.js +3 -0
  59. package/package/components/copilot/chat/shared.d.ts +6 -0
  60. package/package/components/copilot/chat/shared.js +22 -1
  61. package/package/components/copilot/chat/shared.test.d.ts +1 -0
  62. package/package/components/copilot/chat/shared.test.js +412 -0
  63. package/package/components/copilot/chat/workspaceTools.d.ts +7 -0
  64. package/package/components/copilot/chat/workspaceTools.js +239 -0
  65. package/package/components/copilot/chat/workspaceToolsZod.gen.d.ts +1295 -0
  66. package/package/components/copilot/chat/workspaceToolsZod.gen.js +424 -0
  67. package/package/components/copilot/lib.js +3 -1
  68. package/package/components/copilot/lib.test.d.ts +1 -0
  69. package/package/components/copilot/lib.test.js +19 -0
  70. package/package/components/copilot/modelConfig.d.ts +3 -0
  71. package/package/components/copilot/modelConfig.js +10 -0
  72. package/package/components/flows/FlowProgressBar.svelte +5 -2
  73. package/package/components/flows/content/FlowModuleComponent.svelte +636 -599
  74. package/package/components/flows/conversations/FlowChatManager.svelte.js +21 -10
  75. package/package/components/flows/flowStateUtils.svelte.js +5 -1
  76. package/package/components/flows/map/FlowModuleSchemaMap.svelte +3 -2
  77. package/package/components/flows/map/FlowModuleSchemaMap.svelte.d.ts +1 -0
  78. package/package/components/git_sync/GitSyncContext.svelte.js +0 -2
  79. package/package/components/graph/FlowGraphV2.svelte +7 -3
  80. package/package/components/graph/FlowGraphV2.svelte.d.ts +1 -0
  81. package/package/components/graph/renderers/triggers/TriggersBadge.svelte +3 -0
  82. package/package/components/home/deploy_ui.js +1 -1
  83. package/package/components/icons/AzureIcon.svelte +12 -25
  84. package/package/components/icons/AzureIcon.svelte.d.ts +3 -2
  85. package/package/components/instanceSettings.js +24 -0
  86. package/package/components/mcp/McpScopeSelector.svelte +119 -9
  87. package/package/components/mcp/McpScopeSelector.svelte.d.ts +1 -0
  88. package/package/components/offboarding-utils.js +2 -0
  89. package/package/components/progressBar/ProgressBar.svelte +9 -5
  90. package/package/components/progressBar/ProgressBar.svelte.d.ts +1 -0
  91. package/package/components/raw_apps/DeleteAfterUsePopup.svelte +52 -0
  92. package/package/components/raw_apps/DeleteAfterUsePopup.svelte.d.ts +9 -0
  93. package/package/components/raw_apps/RawAppBackgroundRunner.svelte +5 -1
  94. package/package/components/raw_apps/RawAppEditor.svelte +159 -102
  95. package/package/components/raw_apps/RawAppInlineScriptEditor.svelte +9 -3
  96. package/package/components/raw_apps/RawAppInlineScriptEditor.svelte.d.ts +2 -1
  97. package/package/components/raw_apps/RawAppInlineScriptRunnable.svelte +1 -0
  98. package/package/components/raw_apps/RawAppInlineScriptRunnable.svelte.d.ts +1 -0
  99. package/package/components/raw_apps/RawAppInputsSpecEditor.svelte +48 -5
  100. package/package/components/raw_apps/RawAppSharedUiDrawer.svelte +129 -0
  101. package/package/components/raw_apps/RawAppSharedUiDrawer.svelte.d.ts +5 -0
  102. package/package/components/raw_apps/RawAppSidebar.svelte +12 -0
  103. package/package/components/raw_apps/dataTableRefUtils.d.ts +7 -0
  104. package/package/components/raw_apps/dataTableRefUtils.js +34 -0
  105. package/package/components/raw_apps/dataTableRefUtils.test.d.ts +1 -0
  106. package/package/components/raw_apps/dataTableRefUtils.test.js +29 -0
  107. package/package/components/raw_apps/rawAppPolicy.d.ts +1 -0
  108. package/package/components/raw_apps/rawAppPolicy.js +17 -2
  109. package/package/components/resources/resourceTypesFilter.d.ts +19 -0
  110. package/package/components/resources/resourceTypesFilter.js +21 -0
  111. package/package/components/restartFromStepPath.d.ts +39 -0
  112. package/package/components/restartFromStepPath.js +89 -0
  113. package/package/components/runs/JobDetailFieldConfig.d.ts +1 -0
  114. package/package/components/runs/JobDetailFieldConfig.js +57 -10
  115. package/package/components/runs/JobDetailHeader.svelte +24 -3
  116. package/package/components/runs/runsFilter.d.ts +1 -1
  117. package/package/components/schema/FlowPropertyEditor.svelte +30 -1
  118. package/package/components/schema/FlowPropertyEditor.svelte.d.ts +5 -2
  119. package/package/components/search/GlobalSearchModal.svelte +8 -1
  120. package/package/components/select/Select.svelte +1 -1
  121. package/package/components/settings/CreateToken.svelte +48 -77
  122. package/package/components/settings/EditTokenScopesModal.svelte +57 -0
  123. package/package/components/settings/EditTokenScopesModal.svelte.d.ts +10 -0
  124. package/package/components/settings/ScopesPicker.svelte +43 -0
  125. package/package/components/settings/ScopesPicker.svelte.d.ts +11 -0
  126. package/package/components/settings/TokensTable.svelte +51 -15
  127. package/package/components/sidebar/OperatorMenu.svelte +6 -0
  128. package/package/components/sidebar/SidebarContent.svelte +11 -1
  129. package/package/components/triggers/AddTriggersButton.svelte +6 -0
  130. package/package/components/triggers/CaptureWrapper.svelte +19 -1
  131. package/package/components/triggers/TriggerEditorToolbar.svelte.d.ts +1 -1
  132. package/package/components/triggers/TriggerModeToggle.svelte +36 -7
  133. package/package/components/triggers/TriggerModeToggle.svelte.d.ts +1 -1
  134. package/package/components/triggers/TriggerSuspendedJobsModal.svelte.d.ts +1 -1
  135. package/package/components/triggers/TriggersEditor.svelte +5 -1
  136. package/package/components/triggers/TriggersWrapper.svelte +10 -0
  137. package/package/components/triggers/azure/AzureCapture.svelte +41 -0
  138. package/package/components/triggers/azure/AzureCapture.svelte.d.ts +44 -0
  139. package/package/components/triggers/azure/AzureTriggerEditor.svelte +20 -0
  140. package/package/components/triggers/azure/AzureTriggerEditor.svelte.d.ts +9 -0
  141. package/package/components/triggers/azure/AzureTriggerEditorConfigSection.svelte +301 -0
  142. package/package/components/triggers/azure/AzureTriggerEditorConfigSection.svelte.d.ts +16 -0
  143. package/package/components/triggers/azure/AzureTriggerEditorInner.svelte +422 -0
  144. package/package/components/triggers/azure/AzureTriggerEditorInner.svelte.d.ts +25 -0
  145. package/package/components/triggers/azure/AzureTriggerPanel.svelte +55 -0
  146. package/package/components/triggers/azure/AzureTriggerPanel.svelte.d.ts +10 -0
  147. package/{dist/sharedUtils/components/triggers/kafka → package/components/triggers/azure}/utils.d.ts +1 -1
  148. package/package/components/triggers/azure/utils.js +56 -0
  149. package/package/components/triggers/email/EmailTriggerEditorInner.svelte +2 -0
  150. package/package/components/triggers/gcp/GcpTriggerEditorInner.svelte +9 -3
  151. package/package/components/triggers/http/RouteEditorInner.svelte +2 -0
  152. package/package/components/triggers/kafka/KafkaTriggerEditorInner.svelte +9 -3
  153. package/package/components/triggers/mqtt/MqttTriggerEditorInner.svelte +9 -3
  154. package/package/components/triggers/nats/NatsTriggerEditorInner.svelte +9 -3
  155. package/package/components/triggers/postgres/PostgresTriggerEditorInner.svelte +9 -3
  156. package/package/components/triggers/schedules/ScheduleEditorInner.svelte +9 -3
  157. package/package/components/triggers/sqs/SqsTriggerEditorInner.svelte +9 -3
  158. package/package/components/triggers/triggers.svelte.d.ts +1 -0
  159. package/package/components/triggers/triggers.svelte.js +23 -1
  160. package/package/components/triggers/utils.js +20 -0
  161. package/package/components/triggers/websocket/WebsocketTriggerEditorInner.svelte +9 -3
  162. package/package/components/triggers.d.ts +1 -1
  163. package/package/components/useNestedRestartState.svelte.d.ts +56 -0
  164. package/package/components/useNestedRestartState.svelte.js +320 -0
  165. package/package/components/workspaceSettings/SharedUiSettings.svelte +175 -0
  166. package/package/components/workspaceSettings/SharedUiSettings.svelte.d.ts +3 -0
  167. package/package/gen/core/OpenAPI.js +1 -1
  168. package/package/gen/schemas.gen.d.ts +294 -24
  169. package/package/gen/schemas.gen.js +297 -25
  170. package/package/gen/services.gen.d.ts +247 -4
  171. package/package/gen/services.gen.js +498 -7
  172. package/package/gen/types.gen.d.ts +990 -37
  173. package/package/hubPaths.json +2 -5
  174. package/package/infer.d.ts +1 -1
  175. package/package/infer.js +37 -51
  176. package/package/mcpEndpointTools.js +60 -4
  177. package/package/script_helpers.js +17 -0
  178. package/package/stores.d.ts +7 -0
  179. package/package/stores.js +6 -1
  180. package/package/system_prompts/index.d.ts +1 -0
  181. package/package/system_prompts/index.js +8 -0
  182. package/package/system_prompts/prompts.d.ts +16 -13
  183. package/package/system_prompts/prompts.js +653 -43
  184. package/package/templates/ci_test_bun.ts.template +8 -0
  185. package/package/templates/ci_test_python.py.template +8 -0
  186. package/package/utils/forkConflict.d.ts +26 -0
  187. package/package/utils/forkConflict.js +56 -0
  188. package/package/utils_deployable.d.ts +164 -121
  189. package/package/utils_deployable.js +61 -11
  190. package/package/utils_workspace_deploy.js +3 -1
  191. package/package.json +29 -5
  192. package/dist/sharedUtils/assets/tokens/colorTokensConfig.d.ts +0 -2
  193. package/dist/sharedUtils/base.d.ts +0 -1
  194. package/dist/sharedUtils/cloud.d.ts +0 -1
  195. package/dist/sharedUtils/common.d.ts +0 -111
  196. package/dist/sharedUtils/components/apps/components/display/dbtable/queries/count.d.ts +0 -5
  197. package/dist/sharedUtils/components/apps/components/display/dbtable/queries/delete.d.ts +0 -5
  198. package/dist/sharedUtils/components/apps/components/display/dbtable/queries/insert.d.ts +0 -5
  199. package/dist/sharedUtils/components/apps/components/display/dbtable/queries/select.d.ts +0 -13
  200. package/dist/sharedUtils/components/apps/components/display/dbtable/queries/update.d.ts +0 -11
  201. package/dist/sharedUtils/components/apps/components/display/dbtable/utils.d.ts +0 -95
  202. package/dist/sharedUtils/components/apps/editor/appPolicy.d.ts +0 -6
  203. package/dist/sharedUtils/components/apps/editor/appUtilsCore.d.ts +0 -7
  204. package/dist/sharedUtils/components/apps/editor/appUtilsS3.d.ts +0 -33
  205. package/dist/sharedUtils/components/apps/editor/commonAppUtils.d.ts +0 -10
  206. package/dist/sharedUtils/components/apps/editor/component/components.d.ts +0 -5371
  207. package/dist/sharedUtils/components/apps/editor/component/default-codes.d.ts +0 -3
  208. package/dist/sharedUtils/components/apps/editor/component/index.d.ts +0 -3
  209. package/dist/sharedUtils/components/apps/editor/component/sets.d.ts +0 -7
  210. package/dist/sharedUtils/components/apps/editor/componentsPanel/componentDefaultProps.d.ts +0 -3
  211. package/dist/sharedUtils/components/apps/gridUtils.d.ts +0 -14
  212. package/dist/sharedUtils/components/apps/inputType.d.ts +0 -178
  213. package/dist/sharedUtils/components/apps/rx.d.ts +0 -29
  214. package/dist/sharedUtils/components/apps/sharedTypes.d.ts +0 -21
  215. package/dist/sharedUtils/components/apps/types.d.ts +0 -274
  216. package/dist/sharedUtils/components/assets/lib.d.ts +0 -25
  217. package/dist/sharedUtils/components/common/alert/model.d.ts +0 -2
  218. package/dist/sharedUtils/components/common/badge/model.d.ts +0 -8
  219. package/dist/sharedUtils/components/common/button/model.d.ts +0 -45
  220. package/dist/sharedUtils/components/common/fileInput/model.d.ts +0 -1
  221. package/dist/sharedUtils/components/common/index.d.ts +0 -24
  222. package/dist/sharedUtils/components/common/skeleton/model.d.ts +0 -21
  223. package/dist/sharedUtils/components/dbTypes.d.ts +0 -14
  224. package/dist/sharedUtils/components/diff_drawer.d.ts +0 -26
  225. package/dist/sharedUtils/components/ducklake.d.ts +0 -1
  226. package/dist/sharedUtils/components/flows/scheduleUtils.d.ts +0 -7
  227. package/dist/sharedUtils/components/icons/index.d.ts +0 -101
  228. package/dist/sharedUtils/components/random_positive_adjetive.d.ts +0 -1
  229. package/dist/sharedUtils/components/raw_apps/rawAppPolicy.d.ts +0 -10
  230. package/dist/sharedUtils/components/raw_apps/utils.d.ts +0 -15
  231. package/dist/sharedUtils/components/triggers/email/utils.d.ts +0 -4
  232. package/dist/sharedUtils/components/triggers/gcp/utils.d.ts +0 -2
  233. package/dist/sharedUtils/components/triggers/http/utils.d.ts +0 -11
  234. package/dist/sharedUtils/components/triggers/mqtt/utils.d.ts +0 -2
  235. package/dist/sharedUtils/components/triggers/nats/utils.d.ts +0 -2
  236. package/dist/sharedUtils/components/triggers/postgres/utils.d.ts +0 -8
  237. package/dist/sharedUtils/components/triggers/sqs/utils.d.ts +0 -2
  238. package/dist/sharedUtils/components/triggers/triggers.svelte.d.ts +0 -32
  239. package/dist/sharedUtils/components/triggers/utils.d.ts +0 -80
  240. package/dist/sharedUtils/components/triggers/websocket/utils.d.ts +0 -2
  241. package/dist/sharedUtils/components/triggers.d.ts +0 -20
  242. package/dist/sharedUtils/gen/core/ApiError.d.ts +0 -10
  243. package/dist/sharedUtils/gen/core/ApiRequestOptions.d.ts +0 -13
  244. package/dist/sharedUtils/gen/core/ApiResult.d.ts +0 -7
  245. package/dist/sharedUtils/gen/core/CancelablePromise.d.ts +0 -26
  246. package/dist/sharedUtils/gen/core/OpenAPI.d.ts +0 -27
  247. package/dist/sharedUtils/gen/core/request.d.ts +0 -29
  248. package/dist/sharedUtils/gen/index.d.ts +0 -6
  249. package/dist/sharedUtils/gen/schemas.gen.d.ts +0 -7036
  250. package/dist/sharedUtils/gen/services.gen.d.ts +0 -6047
  251. package/dist/sharedUtils/gen/types.gen.d.ts +0 -21881
  252. package/dist/sharedUtils/history.svelte.d.ts +0 -9
  253. package/dist/sharedUtils/hub.d.ts +0 -49
  254. package/dist/sharedUtils/jsr.json +0 -6
  255. package/dist/sharedUtils/lib.d.ts +0 -5
  256. package/dist/sharedUtils/lib.es.js +0 -1588
  257. package/dist/sharedUtils/package.json +0 -12
  258. package/dist/sharedUtils/schema.d.ts +0 -3
  259. package/dist/sharedUtils/stores.d.ts +0 -97
  260. package/dist/sharedUtils/svelte5Utils.svelte.d.ts +0 -80
  261. package/dist/sharedUtils/toast.d.ts +0 -8
  262. package/dist/sharedUtils/utils.d.ts +0 -265
  263. package/package/components/copilot/chat/flow/openFlowZod.js +0 -24
  264. /package/package/components/copilot/chat/flow/{openFlowZod.d.ts → openFlowZod.gen.d.ts} +0 -0
@@ -744,6 +744,10 @@ export type AiAgent = {
744
744
  };
745
745
  }>;
746
746
  type: 'aiagent';
747
+ /**
748
+ * If true, this AI agent step does not persist its assistant or tool messages to the flow conversation when chat mode is enabled.
749
+ */
750
+ omit_output_from_conversation?: boolean;
747
751
  /**
748
752
  * If true, the agent can execute multiple tool calls in parallel
749
753
  */
@@ -1271,6 +1275,10 @@ export type FlowConversationMessage = {
1271
1275
  * When the message was created
1272
1276
  */
1273
1277
  created_at: string;
1278
+ /**
1279
+ * Monotonic cursor assigned when the message is inserted
1280
+ */
1281
+ created_seq: number;
1274
1282
  /**
1275
1283
  * The step name that produced that message
1276
1284
  */
@@ -1933,6 +1941,7 @@ export type TruncatedToken = {
1933
1941
  last_used_at: string;
1934
1942
  scopes?: Array<(string)>;
1935
1943
  email?: string;
1944
+ workspace_id?: string;
1936
1945
  };
1937
1946
  export type ExternalJwtToken = {
1938
1947
  jwt_hash: number;
@@ -2223,7 +2232,7 @@ export type EditResourceType = {
2223
2232
  };
2224
2233
  export type Schedule = {
2225
2234
  /**
2226
- * The unique path identifier for this schedule
2235
+ * The unique Windmill path for this schedule. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`.
2227
2236
  */
2228
2237
  path: string;
2229
2238
  /**
@@ -2345,7 +2354,7 @@ export type ScheduleWJobs = Schedule & {
2345
2354
  export type ErrorHandler = 'custom' | 'slack' | 'teams' | 'email';
2346
2355
  export type NewSchedule = {
2347
2356
  /**
2348
- * The unique path identifier for this schedule
2357
+ * The unique Windmill path for this schedule. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`.
2349
2358
  */
2350
2359
  path: string;
2351
2360
  /**
@@ -2522,14 +2531,14 @@ export type EditSchedule = {
2522
2531
  /**
2523
2532
  * job trigger kind (schedule, http, websocket...)
2524
2533
  */
2525
- export type JobTriggerKind = 'webhook' | 'default_email' | 'email' | 'schedule' | 'http' | 'websocket' | 'postgres' | 'kafka' | 'nats' | 'mqtt' | 'sqs' | 'gcp' | 'google' | 'github';
2534
+ export type JobTriggerKind = 'webhook' | 'default_email' | 'email' | 'schedule' | 'http' | 'websocket' | 'postgres' | 'kafka' | 'nats' | 'mqtt' | 'sqs' | 'gcp' | 'azure' | 'google' | 'github';
2526
2535
  /**
2527
2536
  * job trigger mode
2528
2537
  */
2529
2538
  export type TriggerMode = 'enabled' | 'disabled' | 'suspended';
2530
2539
  export type TriggerExtraProperty = {
2531
2540
  /**
2532
- * The unique path identifier for this trigger
2541
+ * The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.
2533
2542
  */
2534
2543
  path: string;
2535
2544
  /**
@@ -2684,7 +2693,7 @@ export type HttpTrigger = TriggerExtraProperty & {
2684
2693
  };
2685
2694
  export type NewHttpTrigger = {
2686
2695
  /**
2687
- * The unique path identifier for this trigger
2696
+ * The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.
2688
2697
  */
2689
2698
  path: string;
2690
2699
  /**
@@ -2785,7 +2794,7 @@ export type NewHttpTrigger = {
2785
2794
  };
2786
2795
  export type EditHttpTrigger = {
2787
2796
  /**
2788
- * The unique path identifier for this trigger
2797
+ * The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.
2789
2798
  */
2790
2799
  path: string;
2791
2800
  /**
@@ -2898,6 +2907,7 @@ export type TriggersCount = {
2898
2907
  nats_count?: number;
2899
2908
  mqtt_count?: number;
2900
2909
  gcp_count?: number;
2910
+ azure_count?: number;
2901
2911
  sqs_count?: number;
2902
2912
  nextcloud_count?: number;
2903
2913
  google_count?: number;
@@ -2980,7 +2990,7 @@ export type WebsocketTrigger = TriggerExtraProperty & {
2980
2990
  };
2981
2991
  export type NewWebsocketTrigger = {
2982
2992
  /**
2983
- * The unique path identifier for this trigger
2993
+ * The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.
2984
2994
  */
2985
2995
  path: string;
2986
2996
  /**
@@ -3055,7 +3065,7 @@ export type EditWebsocketTrigger = {
3055
3065
  */
3056
3066
  url: string;
3057
3067
  /**
3058
- * The unique path identifier for this trigger
3068
+ * The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.
3059
3069
  */
3060
3070
  path: string;
3061
3071
  /**
@@ -3218,7 +3228,7 @@ export type NewMqttTrigger = {
3218
3228
  */
3219
3229
  client_version?: MqttClientVersion | null;
3220
3230
  /**
3221
- * The unique path identifier for this trigger
3231
+ * The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.
3222
3232
  */
3223
3233
  path: string;
3224
3234
  /**
@@ -3278,7 +3288,7 @@ export type EditMqttTrigger = {
3278
3288
  */
3279
3289
  client_version?: MqttClientVersion | null;
3280
3290
  /**
3281
- * The unique path identifier for this trigger
3291
+ * The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.
3282
3292
  */
3283
3293
  path: string;
3284
3294
  /**
@@ -3401,7 +3411,7 @@ export type GcpTriggerData = {
3401
3411
  delivery_type?: DeliveryType;
3402
3412
  delivery_config?: PushConfig | null;
3403
3413
  /**
3404
- * The unique path identifier for this trigger.
3414
+ * The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.
3405
3415
  */
3406
3416
  path: string;
3407
3417
  /**
@@ -3449,6 +3459,86 @@ export type GetAllTopicSubscription = {
3449
3459
  export type DeleteGcpSubscription = {
3450
3460
  subscription_id: string;
3451
3461
  };
3462
+ /**
3463
+ * Azure Event Grid trigger mode.
3464
+ */
3465
+ export type AzureMode = 'basic_push' | 'namespace_push' | 'namespace_pull';
3466
+ /**
3467
+ * An ARM resource the service principal can see.
3468
+ */
3469
+ export type AzureArmResource = {
3470
+ id: string;
3471
+ name: string;
3472
+ location?: string;
3473
+ type: string;
3474
+ };
3475
+ export type AzureDeleteSubscription = {
3476
+ azure_mode: AzureMode;
3477
+ scope_resource_id: string;
3478
+ topic_name?: string | null;
3479
+ subscription_name: string;
3480
+ };
3481
+ /**
3482
+ * An Azure Event Grid trigger that executes a script or flow when events arrive.
3483
+ */
3484
+ export type AzureTrigger = TriggerExtraProperty & {
3485
+ azure_resource_path: string;
3486
+ azure_mode: AzureMode;
3487
+ /**
3488
+ * ARM resource ID of the topic (basic) or namespace (namespace modes).
3489
+ */
3490
+ scope_resource_id: string;
3491
+ /**
3492
+ * Topic name within the namespace (namespace modes only).
3493
+ */
3494
+ topic_name?: string | null;
3495
+ subscription_name: string;
3496
+ event_type_filters?: Array<(string)> | null;
3497
+ server_id?: string;
3498
+ last_server_ping?: string;
3499
+ error?: string;
3500
+ error_handler_path?: string;
3501
+ error_handler_args?: ScriptArgs;
3502
+ retry?: Retry;
3503
+ };
3504
+ /**
3505
+ * Data for creating or updating an Azure Event Grid trigger.
3506
+ */
3507
+ export type AzureTriggerData = {
3508
+ azure_resource_path: string;
3509
+ azure_mode: AzureMode;
3510
+ scope_resource_id: string;
3511
+ topic_name?: string | null;
3512
+ subscription_name: string;
3513
+ /**
3514
+ * Base URL for push delivery endpoints (push modes only).
3515
+ */
3516
+ base_endpoint?: string;
3517
+ event_type_filters?: Array<(string)>;
3518
+ /**
3519
+ * The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.
3520
+ */
3521
+ path: string;
3522
+ script_path: string;
3523
+ is_flow: boolean;
3524
+ mode?: TriggerMode;
3525
+ error_handler_path?: string;
3526
+ error_handler_args?: ScriptArgs;
3527
+ retry?: Retry;
3528
+ permissioned_as?: string;
3529
+ preserve_permissioned_as?: boolean;
3530
+ labels?: Array<(string)>;
3531
+ };
3532
+ export type TestAzureConnection = {
3533
+ azure_resource_path: string;
3534
+ };
3535
+ export type AzureListTopics = {
3536
+ scope_resource_id: string;
3537
+ };
3538
+ export type AzureListSubscriptions = {
3539
+ scope_resource_id: string;
3540
+ topic_name: string;
3541
+ };
3452
3542
  export type AwsAuthResourceType = 'oidc' | 'credentials';
3453
3543
  export type SqsTrigger = TriggerExtraProperty & {
3454
3544
  /**
@@ -3532,7 +3622,7 @@ export type NewSqsTrigger = {
3532
3622
  */
3533
3623
  message_attributes?: Array<(string)> | null;
3534
3624
  /**
3535
- * The unique path identifier for this trigger
3625
+ * The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.
3536
3626
  */
3537
3627
  path: string;
3538
3628
  /**
@@ -3584,7 +3674,7 @@ export type EditSqsTrigger = {
3584
3674
  */
3585
3675
  message_attributes?: Array<(string)> | null;
3586
3676
  /**
3587
- * The unique path identifier for this trigger
3677
+ * The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.
3588
3678
  */
3589
3679
  path: string;
3590
3680
  /**
@@ -3692,7 +3782,7 @@ export type NewPostgresTrigger = {
3692
3782
  */
3693
3783
  publication_name?: string;
3694
3784
  /**
3695
- * The unique path identifier for this trigger
3785
+ * The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.
3696
3786
  */
3697
3787
  path: string;
3698
3788
  /**
@@ -3744,7 +3834,7 @@ export type EditPostgresTrigger = {
3744
3834
  */
3745
3835
  publication_name: string;
3746
3836
  /**
3747
- * The unique path identifier for this trigger
3837
+ * The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.
3748
3838
  */
3749
3839
  path: string;
3750
3840
  /**
@@ -3842,7 +3932,7 @@ export type KafkaTrigger = TriggerExtraProperty & {
3842
3932
  };
3843
3933
  export type NewKafkaTrigger = {
3844
3934
  /**
3845
- * The unique path identifier for this trigger
3935
+ * The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.
3846
3936
  */
3847
3937
  path: string;
3848
3938
  /**
@@ -3934,7 +4024,7 @@ export type EditKafkaTrigger = {
3934
4024
  */
3935
4025
  auto_commit?: boolean;
3936
4026
  /**
3937
- * The unique path identifier for this trigger
4027
+ * The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.
3938
4028
  */
3939
4029
  path: string;
3940
4030
  /**
@@ -4015,7 +4105,7 @@ export type NatsTrigger = TriggerExtraProperty & {
4015
4105
  };
4016
4106
  export type NewNatsTrigger = {
4017
4107
  /**
4018
- * The unique path identifier for this trigger
4108
+ * The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.
4019
4109
  */
4020
4110
  path: string;
4021
4111
  /**
@@ -4091,7 +4181,7 @@ export type EditNatsTrigger = {
4091
4181
  */
4092
4182
  subjects: Array<(string)>;
4093
4183
  /**
4094
- * The unique path identifier for this trigger
4184
+ * The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.
4095
4185
  */
4096
4186
  path: string;
4097
4187
  /**
@@ -4375,8 +4465,22 @@ export type FlowPreview = {
4375
4465
  export type RestartedFrom = {
4376
4466
  flow_job_id?: string;
4377
4467
  step_id?: string;
4468
+ /**
4469
+ * 0-based iteration index for ForLoop / branch index for BranchAll. Iterations 0..n-1 are preserved; iteration n is restarted.
4470
+ */
4378
4471
  branch_or_iteration_n?: number;
4379
4472
  flow_version?: number;
4473
+ /**
4474
+ * For BranchOne nested restart — the branch that was originally chosen, used to lock branch evaluation.
4475
+ */
4476
+ branch_chosen?: {
4477
+ type?: 'default' | 'branch';
4478
+ branch?: number;
4479
+ };
4480
+ /**
4481
+ * When set, the worker spawns the child for `step_id` as a `RestartedFlow` against `nested.flow_job_id` instead of fresh-launching it.
4482
+ */
4483
+ nested?: RestartedFrom;
4380
4484
  };
4381
4485
  export type Policy = {
4382
4486
  triggerables?: {
@@ -4555,6 +4659,27 @@ export type DataTableSchema = {
4555
4659
  };
4556
4660
  error?: string;
4557
4661
  };
4662
+ export type DataTableTables = {
4663
+ datatable_name: string;
4664
+ /**
4665
+ * Hierarchical metadata: schema_name -> table_names
4666
+ */
4667
+ schemas: {
4668
+ [key: string]: Array<(string)>;
4669
+ };
4670
+ error?: string;
4671
+ };
4672
+ export type DataTableTableSchema = {
4673
+ datatable_name: string;
4674
+ schema_name: string;
4675
+ table_name: string;
4676
+ /**
4677
+ * Columns in this table: column_name -> compact_type
4678
+ */
4679
+ columns: {
4680
+ [key: string]: (string);
4681
+ };
4682
+ };
4558
4683
  export type DynamicInputData = {
4559
4684
  /**
4560
4685
  * Name of the function to execute for dynamic select
@@ -4627,7 +4752,6 @@ export type GitRepositorySettings = {
4627
4752
  git_repo_resource_path: string;
4628
4753
  use_individual_branch?: boolean;
4629
4754
  group_by_folder?: boolean;
4630
- force_branch?: string;
4631
4755
  collapsed?: boolean;
4632
4756
  settings?: {
4633
4757
  include_path?: Array<(string)>;
@@ -4760,7 +4884,7 @@ export type CriticalAlert = {
4760
4884
  */
4761
4885
  workspace_id?: string | null;
4762
4886
  };
4763
- export type CaptureTriggerKind = 'webhook' | 'http' | 'websocket' | 'kafka' | 'default_email' | 'nats' | 'postgres' | 'sqs' | 'mqtt' | 'gcp' | 'email';
4887
+ export type CaptureTriggerKind = 'webhook' | 'http' | 'websocket' | 'kafka' | 'default_email' | 'nats' | 'postgres' | 'sqs' | 'mqtt' | 'gcp' | 'azure' | 'email';
4764
4888
  export type Capture = {
4765
4889
  trigger_kind: CaptureTriggerKind;
4766
4890
  main_args: unknown;
@@ -5855,6 +5979,16 @@ export type DeleteTokenData = {
5855
5979
  tokenPrefix: string;
5856
5980
  };
5857
5981
  export type DeleteTokenResponse = string;
5982
+ export type UpdateTokenScopesData = {
5983
+ /**
5984
+ * new scopes (null or omitted = full access)
5985
+ */
5986
+ requestBody: {
5987
+ scopes?: Array<(string)> | null;
5988
+ };
5989
+ tokenPrefix: string;
5990
+ };
5991
+ export type UpdateTokenScopesResponse = string;
5858
5992
  export type ListTokensData = {
5859
5993
  excludeEphemeral?: boolean;
5860
5994
  /**
@@ -6119,6 +6253,21 @@ export type ListPendingInvitesData = {
6119
6253
  workspace: string;
6120
6254
  };
6121
6255
  export type ListPendingInvitesResponse = Array<WorkspaceInvite>;
6256
+ export type GetPublicSettingsData = {
6257
+ workspace: string;
6258
+ };
6259
+ export type GetPublicSettingsResponse = {
6260
+ workspace_id: string;
6261
+ slack_name?: string;
6262
+ slack_team_id?: string;
6263
+ teams_team_id?: string;
6264
+ teams_team_name?: string;
6265
+ teams_team_guid?: string;
6266
+ large_file_storage?: LargeFileStorage;
6267
+ datatable?: DataTableSettings;
6268
+ deploy_ui?: WorkspaceDeployUISettings;
6269
+ mute_critical_alerts?: boolean;
6270
+ };
6122
6271
  export type GetSettingsData = {
6123
6272
  workspace: string;
6124
6273
  };
@@ -6329,6 +6478,21 @@ export type ConnectTeamsData = {
6329
6478
  workspace: string;
6330
6479
  };
6331
6480
  export type ConnectTeamsResponse = string;
6481
+ export type ConnectSlackData = {
6482
+ /**
6483
+ * connect slack with a pre-minted bot token
6484
+ */
6485
+ requestBody: {
6486
+ /**
6487
+ * xoxb-... bot token obtained at api.slack.com/apps
6488
+ */
6489
+ bot_token: string;
6490
+ team_id: string;
6491
+ team_name: string;
6492
+ };
6493
+ workspace: string;
6494
+ };
6495
+ export type ConnectSlackResponse = unknown;
6332
6496
  export type RunSlackMessageTestJobData = {
6333
6497
  /**
6334
6498
  * path to hub script to run and its corresponding args
@@ -6466,6 +6630,17 @@ export type ListDataTableSchemasData = {
6466
6630
  workspace: string;
6467
6631
  };
6468
6632
  export type ListDataTableSchemasResponse = Array<DataTableSchema>;
6633
+ export type ListDataTableTablesData = {
6634
+ workspace: string;
6635
+ };
6636
+ export type ListDataTableTablesResponse = Array<DataTableTables>;
6637
+ export type GetDataTableTableSchemaData = {
6638
+ datatableName: string;
6639
+ schemaName: string;
6640
+ tableName: string;
6641
+ workspace: string;
6642
+ };
6643
+ export type GetDataTableTableSchemaResponse = DataTableTableSchema;
6469
6644
  export type EditDucklakeConfigData = {
6470
6645
  /**
6471
6646
  * Ducklake settings
@@ -6708,6 +6883,7 @@ export type GetUsedTriggersResponse = {
6708
6883
  postgres_used: boolean;
6709
6884
  mqtt_used: boolean;
6710
6885
  gcp_used: boolean;
6886
+ azure_used: boolean;
6711
6887
  sqs_used: boolean;
6712
6888
  email_used: boolean;
6713
6889
  nextcloud_used: boolean;
@@ -6826,6 +7002,44 @@ export type PruneVersionsData = {
6826
7002
  export type PruneVersionsResponse = {
6827
7003
  pruned: number;
6828
7004
  };
7005
+ export type GetSharedUiData = {
7006
+ workspace: string;
7007
+ };
7008
+ export type GetSharedUiResponse = {
7009
+ files: {
7010
+ [key: string]: (string);
7011
+ };
7012
+ version: number;
7013
+ edited_at: string;
7014
+ edited_by: string;
7015
+ };
7016
+ export type ListSharedUiData = {
7017
+ workspace: string;
7018
+ };
7019
+ export type ListSharedUiResponse = {
7020
+ paths: Array<(string)>;
7021
+ sizes: {
7022
+ [key: string]: (number);
7023
+ };
7024
+ version: number;
7025
+ edited_at: string;
7026
+ edited_by: string;
7027
+ };
7028
+ export type GetSharedUiVersionData = {
7029
+ workspace: string;
7030
+ };
7031
+ export type GetSharedUiVersionResponse = {
7032
+ version: number;
7033
+ };
7034
+ export type UpdateSharedUiData = {
7035
+ requestBody: {
7036
+ files: {
7037
+ [key: string]: (string);
7038
+ };
7039
+ };
7040
+ workspace: string;
7041
+ };
7042
+ export type UpdateSharedUiResponse = string;
6829
7043
  export type RefreshCustomInstanceUserPwdResponse = {
6830
7044
  [key: string]: unknown;
6831
7045
  };
@@ -7280,6 +7494,20 @@ export type ConnectSlackCallbackInstanceData = {
7280
7494
  };
7281
7495
  };
7282
7496
  export type ConnectSlackCallbackInstanceResponse = string;
7497
+ export type ConnectSlackInstanceData = {
7498
+ /**
7499
+ * connect slack at the instance level with a pre-minted bot token
7500
+ */
7501
+ requestBody: {
7502
+ /**
7503
+ * xoxb-... bot token obtained at api.slack.com/apps
7504
+ */
7505
+ bot_token: string;
7506
+ team_id: string;
7507
+ team_name: string;
7508
+ };
7509
+ };
7510
+ export type ConnectSlackInstanceResponse = unknown;
7283
7511
  export type ConnectCallbackData = {
7284
7512
  clientName: string;
7285
7513
  /**
@@ -7382,6 +7610,10 @@ export type ListOauthLoginsResponse = {
7382
7610
  display_name?: string;
7383
7611
  }>;
7384
7612
  saml?: string;
7613
+ /**
7614
+ * provider type to auto-redirect to on login (oauth key or "saml")
7615
+ */
7616
+ auto_login?: string;
7385
7617
  };
7386
7618
  export type ListOauthConnectsResponse = Array<(string)>;
7387
7619
  export type GetOauthConnectData = {
@@ -8231,6 +8463,7 @@ export type ExecuteComponentData = {
8231
8463
  path?: string;
8232
8464
  lock?: string;
8233
8465
  cache_ttl?: number;
8466
+ tag?: string;
8234
8467
  };
8235
8468
  id?: number;
8236
8469
  force_viewer_static_fields?: {
@@ -8240,6 +8473,8 @@ export type ExecuteComponentData = {
8240
8473
  [key: string]: unknown;
8241
8474
  };
8242
8475
  force_viewer_allow_user_resources?: Array<(string)>;
8476
+ force_viewer_sensitive_inputs?: Array<(string)>;
8477
+ force_viewer_delete_after_secs?: number;
8243
8478
  /**
8244
8479
  * Runnable query parameters
8245
8480
  */
@@ -9513,17 +9748,30 @@ export type RestartFlowAtStepData = {
9513
9748
  */
9514
9749
  requestBody: {
9515
9750
  /**
9516
- * step id to restart the flow from
9751
+ * top-level step id to restart the flow from (or the outermost container when restarting at a nested step)
9517
9752
  */
9518
9753
  step_id: string;
9519
9754
  /**
9520
- * for branchall or loop, the iteration at which the flow should restart (optional)
9755
+ * for branchall or loop at the top level, the iteration at which the flow should restart (optional)
9521
9756
  */
9522
9757
  branch_or_iteration_n?: number;
9523
9758
  /**
9524
9759
  * specific flow version to use for restart (optional, uses current version if not specified)
9525
9760
  */
9526
9761
  flow_version?: number;
9762
+ /**
9763
+ * path of additional steps to descend into AFTER `step_id`. Each entry represents one level of nesting inside the spawned child of the previous level's container (BranchOne / sequential ForLoop iteration / Subflow). When non-empty, the actual restart point is the LAST entry's step_id.
9764
+ */
9765
+ nested_path?: Array<{
9766
+ /**
9767
+ * step id at this nesting level
9768
+ */
9769
+ step_id: string;
9770
+ /**
9771
+ * for ForLoop containers, the iteration to restart at (0-based; iterations 0..n-1 are preserved)
9772
+ */
9773
+ branch_or_iteration_n?: number;
9774
+ }>;
9527
9775
  };
9528
9776
  /**
9529
9777
  * when to schedule this job (leave empty for immediate run)
@@ -9668,6 +9916,28 @@ export type RunRawScriptDependenciesData = {
9668
9916
  export type RunRawScriptDependenciesResponse = {
9669
9917
  lock: string;
9670
9918
  };
9919
+ export type RunRawScriptDependenciesAsyncData = {
9920
+ /**
9921
+ * raw script content
9922
+ */
9923
+ requestBody: {
9924
+ raw_scripts: Array<RawScriptForDependencies>;
9925
+ entrypoint: string;
9926
+ };
9927
+ workspace: string;
9928
+ };
9929
+ export type RunRawScriptDependenciesAsyncResponse = string;
9930
+ export type RunFlowDependenciesAsyncData = {
9931
+ /**
9932
+ * flow value and path
9933
+ */
9934
+ requestBody: {
9935
+ path: string;
9936
+ flow_value: FlowValue;
9937
+ };
9938
+ workspace: string;
9939
+ };
9940
+ export type RunFlowDependenciesAsyncResponse = string;
9671
9941
  export type RunFlowPreviewData = {
9672
9942
  /**
9673
9943
  * List of headers's keys (separated with ',') whove value are added to the args
@@ -10065,6 +10335,7 @@ export type ListFilteredQueueUuidsData = {
10065
10335
  };
10066
10336
  export type ListFilteredQueueUuidsResponse = Array<(string)>;
10067
10337
  export type CancelSelectionData = {
10338
+ allWorkspaces?: boolean;
10068
10339
  forceCancel?: boolean;
10069
10340
  /**
10070
10341
  * uuids of the jobs to cancel
@@ -10367,6 +10638,10 @@ export type CountJobsByTagResponse = Array<{
10367
10638
  count: number;
10368
10639
  }>;
10369
10640
  export type GetJobData = {
10641
+ /**
10642
+ * Approval token granting read access to the job when not logged in. The token must be the one issued for this job's flow (i.e. the flow id used when generating the approval URL).
10643
+ */
10644
+ approvalToken?: string;
10370
10645
  id: string;
10371
10646
  noCode?: boolean;
10372
10647
  noLogs?: boolean;
@@ -10876,9 +11151,9 @@ export type DeleteFlowConversationData = {
10876
11151
  export type DeleteFlowConversationResponse = string;
10877
11152
  export type ListConversationMessagesData = {
10878
11153
  /**
10879
- * id to fetch only the messages after that id
11154
+ * Message sequence cursor to fetch only the messages after that cursor
10880
11155
  */
10881
- afterId?: string;
11156
+ afterSeq?: number;
10882
11157
  /**
10883
11158
  * conversation id
10884
11159
  */
@@ -11015,6 +11290,11 @@ export type SetScheduleEnabledData = {
11015
11290
  */
11016
11291
  requestBody: {
11017
11292
  enabled: boolean;
11293
+ /**
11294
+ * Bypass the parent-state conflict warning when enabling a schedule in a fork whose parent has the same path enabled.
11295
+ *
11296
+ */
11297
+ force?: boolean;
11018
11298
  };
11019
11299
  workspace: string;
11020
11300
  };
@@ -11207,6 +11487,11 @@ export type SetHttpTriggerModeData = {
11207
11487
  path: string;
11208
11488
  requestBody: {
11209
11489
  mode: TriggerMode;
11490
+ /**
11491
+ * Bypass the parent-state conflict warning when enabling a trigger in a fork whose parent has the same path enabled.
11492
+ *
11493
+ */
11494
+ force?: boolean;
11210
11495
  };
11211
11496
  workspace: string;
11212
11497
  };
@@ -11272,6 +11557,11 @@ export type SetWebsocketTriggerModeData = {
11272
11557
  */
11273
11558
  requestBody: {
11274
11559
  mode: TriggerMode;
11560
+ /**
11561
+ * Bypass the parent-state conflict warning when enabling a trigger in a fork whose parent has the same path enabled.
11562
+ *
11563
+ */
11564
+ force?: boolean;
11275
11565
  };
11276
11566
  workspace: string;
11277
11567
  };
@@ -11349,6 +11639,11 @@ export type SetKafkaTriggerModeData = {
11349
11639
  */
11350
11640
  requestBody: {
11351
11641
  mode: TriggerMode;
11642
+ /**
11643
+ * Bypass the parent-state conflict warning when enabling a trigger in a fork whose parent has the same path enabled.
11644
+ *
11645
+ */
11646
+ force?: boolean;
11352
11647
  };
11353
11648
  workspace: string;
11354
11649
  };
@@ -11444,6 +11739,11 @@ export type SetNatsTriggerModeData = {
11444
11739
  */
11445
11740
  requestBody: {
11446
11741
  mode: TriggerMode;
11742
+ /**
11743
+ * Bypass the parent-state conflict warning when enabling a trigger in a fork whose parent has the same path enabled.
11744
+ *
11745
+ */
11746
+ force?: boolean;
11447
11747
  };
11448
11748
  workspace: string;
11449
11749
  };
@@ -11521,6 +11821,11 @@ export type SetSqsTriggerModeData = {
11521
11821
  */
11522
11822
  requestBody: {
11523
11823
  mode: TriggerMode;
11824
+ /**
11825
+ * Bypass the parent-state conflict warning when enabling a trigger in a fork whose parent has the same path enabled.
11826
+ *
11827
+ */
11828
+ force?: boolean;
11524
11829
  };
11525
11830
  workspace: string;
11526
11831
  };
@@ -11788,6 +12093,11 @@ export type SetMqttTriggerModeData = {
11788
12093
  */
11789
12094
  requestBody: {
11790
12095
  mode: TriggerMode;
12096
+ /**
12097
+ * Bypass the parent-state conflict warning when enabling a trigger in a fork whose parent has the same path enabled.
12098
+ *
12099
+ */
12100
+ force?: boolean;
11791
12101
  };
11792
12102
  workspace: string;
11793
12103
  };
@@ -11865,6 +12175,11 @@ export type SetGcpTriggerModeData = {
11865
12175
  */
11866
12176
  requestBody: {
11867
12177
  mode: TriggerMode;
12178
+ /**
12179
+ * Bypass the parent-state conflict warning when enabling a trigger in a fork whose parent has the same path enabled.
12180
+ *
12181
+ */
12182
+ force?: boolean;
11868
12183
  };
11869
12184
  workspace: string;
11870
12185
  };
@@ -11904,6 +12219,100 @@ export type ListAllTgoogleTopicSubscriptionsData = {
11904
12219
  workspace: string;
11905
12220
  };
11906
12221
  export type ListAllTgoogleTopicSubscriptionsResponse = Array<(string)>;
12222
+ export type CreateAzureTriggerData = {
12223
+ requestBody: AzureTriggerData;
12224
+ workspace: string;
12225
+ };
12226
+ export type CreateAzureTriggerResponse = string;
12227
+ export type UpdateAzureTriggerData = {
12228
+ path: string;
12229
+ requestBody: AzureTriggerData;
12230
+ workspace: string;
12231
+ };
12232
+ export type UpdateAzureTriggerResponse = string;
12233
+ export type DeleteAzureTriggerData = {
12234
+ path: string;
12235
+ workspace: string;
12236
+ };
12237
+ export type DeleteAzureTriggerResponse = string;
12238
+ export type GetAzureTriggerData = {
12239
+ path: string;
12240
+ workspace: string;
12241
+ };
12242
+ export type GetAzureTriggerResponse = AzureTrigger;
12243
+ export type ListAzureTriggersData = {
12244
+ isFlow?: boolean;
12245
+ /**
12246
+ * which page to return (start at 1, default 1)
12247
+ */
12248
+ page?: number;
12249
+ /**
12250
+ * filter by exact path
12251
+ */
12252
+ path?: string;
12253
+ pathStart?: string;
12254
+ /**
12255
+ * number of items to return for a given page (default 30, max 100)
12256
+ */
12257
+ perPage?: number;
12258
+ workspace: string;
12259
+ };
12260
+ export type ListAzureTriggersResponse = Array<AzureTrigger>;
12261
+ export type ExistsAzureTriggerData = {
12262
+ path: string;
12263
+ workspace: string;
12264
+ };
12265
+ export type ExistsAzureTriggerResponse = boolean;
12266
+ export type SetAzureTriggerModeData = {
12267
+ path: string;
12268
+ requestBody: {
12269
+ mode: TriggerMode;
12270
+ /**
12271
+ * Bypass the parent-state conflict warning when enabling a trigger in a fork whose parent has the same path enabled.
12272
+ *
12273
+ */
12274
+ force?: boolean;
12275
+ };
12276
+ workspace: string;
12277
+ };
12278
+ export type SetAzureTriggerModeResponse = string;
12279
+ export type TestAzureConnectionData = {
12280
+ requestBody: TestAzureConnection;
12281
+ workspace: string;
12282
+ };
12283
+ export type TestAzureConnectionResponse = string;
12284
+ export type ListAzureNamespaceTopicsData = {
12285
+ path: string;
12286
+ requestBody: AzureListTopics;
12287
+ workspace: string;
12288
+ };
12289
+ export type ListAzureNamespaceTopicsResponse = Array<{
12290
+ [key: string]: unknown;
12291
+ }>;
12292
+ export type ListAzureNamespaceSubscriptionsData = {
12293
+ path: string;
12294
+ requestBody: AzureListSubscriptions;
12295
+ workspace: string;
12296
+ };
12297
+ export type ListAzureNamespaceSubscriptionsResponse = Array<{
12298
+ [key: string]: unknown;
12299
+ }>;
12300
+ export type DeleteAzureSubscriptionData = {
12301
+ path: string;
12302
+ requestBody: AzureDeleteSubscription;
12303
+ workspace: string;
12304
+ };
12305
+ export type DeleteAzureSubscriptionResponse = string;
12306
+ export type ListAzureNamespacesData = {
12307
+ path: string;
12308
+ workspace: string;
12309
+ };
12310
+ export type ListAzureNamespacesResponse = Array<AzureArmResource>;
12311
+ export type ListAzureBasicTopicsData = {
12312
+ path: string;
12313
+ workspace: string;
12314
+ };
12315
+ export type ListAzureBasicTopicsResponse = Array<AzureArmResource>;
11907
12316
  export type GetPostgresVersionData = {
11908
12317
  path: string;
11909
12318
  workspace: string;
@@ -12060,6 +12469,11 @@ export type SetPostgresTriggerModeData = {
12060
12469
  */
12061
12470
  requestBody: {
12062
12471
  mode: TriggerMode;
12472
+ /**
12473
+ * Bypass the parent-state conflict warning when enabling a trigger in a fork whose parent has the same path enabled.
12474
+ *
12475
+ */
12476
+ force?: boolean;
12063
12477
  };
12064
12478
  workspace: string;
12065
12479
  };
@@ -12144,6 +12558,11 @@ export type SetEmailTriggerModeData = {
12144
12558
  path: string;
12145
12559
  requestBody: {
12146
12560
  mode: TriggerMode;
12561
+ /**
12562
+ * Bypass the parent-state conflict warning when enabling a trigger in a fork whose parent has the same path enabled.
12563
+ *
12564
+ */
12565
+ force?: boolean;
12147
12566
  };
12148
12567
  workspace: string;
12149
12568
  };
@@ -12531,7 +12950,7 @@ export type ListBlacklistedAgentTokensResponse = Array<{
12531
12950
  }>;
12532
12951
  export type GetMinVersionResponse = string;
12533
12952
  export type GetGranularAclsData = {
12534
- kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app' | 'http_trigger' | 'websocket_trigger' | 'kafka_trigger' | 'nats_trigger' | 'postgres_trigger' | 'mqtt_trigger' | 'gcp_trigger' | 'sqs_trigger' | 'email_trigger' | 'volume';
12953
+ kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app' | 'http_trigger' | 'websocket_trigger' | 'kafka_trigger' | 'nats_trigger' | 'postgres_trigger' | 'mqtt_trigger' | 'gcp_trigger' | 'azure_trigger' | 'sqs_trigger' | 'email_trigger' | 'volume';
12535
12954
  path: string;
12536
12955
  workspace: string;
12537
12956
  };
@@ -12539,7 +12958,7 @@ export type GetGranularAclsResponse = {
12539
12958
  [key: string]: (boolean);
12540
12959
  };
12541
12960
  export type AddGranularAclsData = {
12542
- kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app' | 'http_trigger' | 'websocket_trigger' | 'kafka_trigger' | 'nats_trigger' | 'postgres_trigger' | 'mqtt_trigger' | 'gcp_trigger' | 'sqs_trigger' | 'email_trigger' | 'volume';
12961
+ kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app' | 'http_trigger' | 'websocket_trigger' | 'kafka_trigger' | 'nats_trigger' | 'postgres_trigger' | 'mqtt_trigger' | 'gcp_trigger' | 'azure_trigger' | 'sqs_trigger' | 'email_trigger' | 'volume';
12543
12962
  path: string;
12544
12963
  /**
12545
12964
  * acl to add
@@ -12552,7 +12971,7 @@ export type AddGranularAclsData = {
12552
12971
  };
12553
12972
  export type AddGranularAclsResponse = string;
12554
12973
  export type RemoveGranularAclsData = {
12555
- kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app' | 'http_trigger' | 'websocket_trigger' | 'kafka_trigger' | 'nats_trigger' | 'postgres_trigger' | 'mqtt_trigger' | 'gcp_trigger' | 'sqs_trigger' | 'email_trigger' | 'volume';
12974
+ kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app' | 'http_trigger' | 'websocket_trigger' | 'kafka_trigger' | 'nats_trigger' | 'postgres_trigger' | 'mqtt_trigger' | 'gcp_trigger' | 'azure_trigger' | 'sqs_trigger' | 'email_trigger' | 'volume';
12556
12975
  path: string;
12557
12976
  /**
12558
12977
  * acl to add
@@ -12857,8 +13276,15 @@ export type CheckS3FolderExistsData = {
12857
13276
  * S3 file key to check (e.g., gitrepos/{workspace_id}/u/user/resource/{commit_hash})
12858
13277
  */
12859
13278
  fileKey: string;
12860
- workspace: string;
12861
- };
13279
+ /**
13280
+ * If provided, the folder is only considered to exist when this exact
13281
+ * sentinel file is present under file_key. Lets callers distinguish a
13282
+ * fully populated folder from a partial upload.
13283
+ *
13284
+ */
13285
+ markerFile?: string;
13286
+ workspace: string;
13287
+ };
12862
13288
  export type CheckS3FolderExistsResponse = {
12863
13289
  /**
12864
13290
  * Whether the path exists
@@ -14269,6 +14695,25 @@ export type $OpenApiTs = {
14269
14695
  };
14270
14696
  };
14271
14697
  };
14698
+ '/users/tokens/update_scopes/{token_prefix}': {
14699
+ post: {
14700
+ req: {
14701
+ /**
14702
+ * new scopes (null or omitted = full access)
14703
+ */
14704
+ requestBody: {
14705
+ scopes?: Array<(string)> | null;
14706
+ };
14707
+ tokenPrefix: string;
14708
+ };
14709
+ res: {
14710
+ /**
14711
+ * scopes updated
14712
+ */
14713
+ 200: string;
14714
+ };
14715
+ };
14716
+ };
14272
14717
  '/users/tokens/list': {
14273
14718
  get: {
14274
14719
  req: {
@@ -14858,6 +15303,30 @@ export type $OpenApiTs = {
14858
15303
  };
14859
15304
  };
14860
15305
  };
15306
+ '/w/{workspace}/workspaces/get_public_settings': {
15307
+ get: {
15308
+ req: {
15309
+ workspace: string;
15310
+ };
15311
+ res: {
15312
+ /**
15313
+ * status
15314
+ */
15315
+ 200: {
15316
+ workspace_id: string;
15317
+ slack_name?: string;
15318
+ slack_team_id?: string;
15319
+ teams_team_id?: string;
15320
+ teams_team_name?: string;
15321
+ teams_team_guid?: string;
15322
+ large_file_storage?: LargeFileStorage;
15323
+ datatable?: DataTableSettings;
15324
+ deploy_ui?: WorkspaceDeployUISettings;
15325
+ mute_critical_alerts?: boolean;
15326
+ };
15327
+ };
15328
+ };
15329
+ };
14861
15330
  '/w/{workspace}/workspaces/get_settings': {
14862
15331
  get: {
14863
15332
  req: {
@@ -15233,6 +15702,30 @@ export type $OpenApiTs = {
15233
15702
  };
15234
15703
  };
15235
15704
  };
15705
+ '/w/{workspace}/workspaces/connect_slack': {
15706
+ post: {
15707
+ req: {
15708
+ /**
15709
+ * connect slack with a pre-minted bot token
15710
+ */
15711
+ requestBody: {
15712
+ /**
15713
+ * xoxb-... bot token obtained at api.slack.com/apps
15714
+ */
15715
+ bot_token: string;
15716
+ team_id: string;
15717
+ team_name: string;
15718
+ };
15719
+ workspace: string;
15720
+ };
15721
+ res: {
15722
+ /**
15723
+ * status
15724
+ */
15725
+ 200: unknown;
15726
+ };
15727
+ };
15728
+ };
15236
15729
  '/w/{workspace}/workspaces/run_slack_message_test_job': {
15237
15730
  post: {
15238
15731
  req: {
@@ -15505,6 +15998,35 @@ export type $OpenApiTs = {
15505
15998
  };
15506
15999
  };
15507
16000
  };
16001
+ '/w/{workspace}/workspaces/list_datatable_tables': {
16002
+ get: {
16003
+ req: {
16004
+ workspace: string;
16005
+ };
16006
+ res: {
16007
+ /**
16008
+ * table metadata of all datatables
16009
+ */
16010
+ 200: Array<DataTableTables>;
16011
+ };
16012
+ };
16013
+ };
16014
+ '/w/{workspace}/workspaces/get_datatable_table_schema': {
16015
+ get: {
16016
+ req: {
16017
+ datatableName: string;
16018
+ schemaName: string;
16019
+ tableName: string;
16020
+ workspace: string;
16021
+ };
16022
+ res: {
16023
+ /**
16024
+ * schema of one datatable table
16025
+ */
16026
+ 200: DataTableTableSchema;
16027
+ };
16028
+ };
16029
+ };
15508
16030
  '/w/{workspace}/workspaces/edit_ducklake_config': {
15509
16031
  post: {
15510
16032
  req: {
@@ -15929,6 +16451,7 @@ export type $OpenApiTs = {
15929
16451
  postgres_used: boolean;
15930
16452
  mqtt_used: boolean;
15931
16453
  gcp_used: boolean;
16454
+ azure_used: boolean;
15932
16455
  sqs_used: boolean;
15933
16456
  email_used: boolean;
15934
16457
  nextcloud_used: boolean;
@@ -16187,6 +16710,80 @@ export type $OpenApiTs = {
16187
16710
  };
16188
16711
  };
16189
16712
  };
16713
+ '/w/{workspace}/shared_ui/get': {
16714
+ get: {
16715
+ req: {
16716
+ workspace: string;
16717
+ };
16718
+ res: {
16719
+ /**
16720
+ * shared UI content
16721
+ */
16722
+ 200: {
16723
+ files: {
16724
+ [key: string]: (string);
16725
+ };
16726
+ version: number;
16727
+ edited_at: string;
16728
+ edited_by: string;
16729
+ };
16730
+ };
16731
+ };
16732
+ };
16733
+ '/w/{workspace}/shared_ui/list': {
16734
+ get: {
16735
+ req: {
16736
+ workspace: string;
16737
+ };
16738
+ res: {
16739
+ /**
16740
+ * shared UI listing
16741
+ */
16742
+ 200: {
16743
+ paths: Array<(string)>;
16744
+ sizes: {
16745
+ [key: string]: (number);
16746
+ };
16747
+ version: number;
16748
+ edited_at: string;
16749
+ edited_by: string;
16750
+ };
16751
+ };
16752
+ };
16753
+ };
16754
+ '/w/{workspace}/shared_ui/version': {
16755
+ get: {
16756
+ req: {
16757
+ workspace: string;
16758
+ };
16759
+ res: {
16760
+ /**
16761
+ * shared UI version
16762
+ */
16763
+ 200: {
16764
+ version: number;
16765
+ };
16766
+ };
16767
+ };
16768
+ };
16769
+ '/w/{workspace}/shared_ui': {
16770
+ put: {
16771
+ req: {
16772
+ requestBody: {
16773
+ files: {
16774
+ [key: string]: (string);
16775
+ };
16776
+ };
16777
+ workspace: string;
16778
+ };
16779
+ res: {
16780
+ /**
16781
+ * updated
16782
+ */
16783
+ 200: string;
16784
+ };
16785
+ };
16786
+ };
16190
16787
  '/settings/refresh_custom_instance_user_pwd': {
16191
16788
  post: {
16192
16789
  res: {
@@ -17175,6 +17772,29 @@ export type $OpenApiTs = {
17175
17772
  };
17176
17773
  };
17177
17774
  };
17775
+ '/oauth/connect_slack_instance': {
17776
+ post: {
17777
+ req: {
17778
+ /**
17779
+ * connect slack at the instance level with a pre-minted bot token
17780
+ */
17781
+ requestBody: {
17782
+ /**
17783
+ * xoxb-... bot token obtained at api.slack.com/apps
17784
+ */
17785
+ bot_token: string;
17786
+ team_id: string;
17787
+ team_name: string;
17788
+ };
17789
+ };
17790
+ res: {
17791
+ /**
17792
+ * status
17793
+ */
17794
+ 200: unknown;
17795
+ };
17796
+ };
17797
+ };
17178
17798
  '/oauth/connect_callback/{client_name}': {
17179
17799
  post: {
17180
17800
  req: {
@@ -17346,6 +17966,10 @@ export type $OpenApiTs = {
17346
17966
  display_name?: string;
17347
17967
  }>;
17348
17968
  saml?: string;
17969
+ /**
17970
+ * provider type to auto-redirect to on login (oauth key or "saml")
17971
+ */
17972
+ auto_login?: string;
17349
17973
  };
17350
17974
  };
17351
17975
  };
@@ -18911,6 +19535,7 @@ export type $OpenApiTs = {
18911
19535
  path?: string;
18912
19536
  lock?: string;
18913
19537
  cache_ttl?: number;
19538
+ tag?: string;
18914
19539
  };
18915
19540
  id?: number;
18916
19541
  force_viewer_static_fields?: {
@@ -18920,6 +19545,8 @@ export type $OpenApiTs = {
18920
19545
  [key: string]: unknown;
18921
19546
  };
18922
19547
  force_viewer_allow_user_resources?: Array<(string)>;
19548
+ force_viewer_sensitive_inputs?: Array<(string)>;
19549
+ force_viewer_delete_after_secs?: number;
18923
19550
  /**
18924
19551
  * Runnable query parameters
18925
19552
  */
@@ -20829,17 +21456,30 @@ export type $OpenApiTs = {
20829
21456
  */
20830
21457
  requestBody: {
20831
21458
  /**
20832
- * step id to restart the flow from
21459
+ * top-level step id to restart the flow from (or the outermost container when restarting at a nested step)
20833
21460
  */
20834
21461
  step_id: string;
20835
21462
  /**
20836
- * for branchall or loop, the iteration at which the flow should restart (optional)
21463
+ * for branchall or loop at the top level, the iteration at which the flow should restart (optional)
20837
21464
  */
20838
21465
  branch_or_iteration_n?: number;
20839
21466
  /**
20840
21467
  * specific flow version to use for restart (optional, uses current version if not specified)
20841
21468
  */
20842
21469
  flow_version?: number;
21470
+ /**
21471
+ * path of additional steps to descend into AFTER `step_id`. Each entry represents one level of nesting inside the spawned child of the previous level's container (BranchOne / sequential ForLoop iteration / Subflow). When non-empty, the actual restart point is the LAST entry's step_id.
21472
+ */
21473
+ nested_path?: Array<{
21474
+ /**
21475
+ * step id at this nesting level
21476
+ */
21477
+ step_id: string;
21478
+ /**
21479
+ * for ForLoop containers, the iteration to restart at (0-based; iterations 0..n-1 are preserved)
21480
+ */
21481
+ branch_or_iteration_n?: number;
21482
+ }>;
20843
21483
  };
20844
21484
  /**
20845
21485
  * when to schedule this job (leave empty for immediate run)
@@ -21063,6 +21703,46 @@ export type $OpenApiTs = {
21063
21703
  };
21064
21704
  };
21065
21705
  };
21706
+ '/w/{workspace}/jobs/run/dependencies_async': {
21707
+ post: {
21708
+ req: {
21709
+ /**
21710
+ * raw script content
21711
+ */
21712
+ requestBody: {
21713
+ raw_scripts: Array<RawScriptForDependencies>;
21714
+ entrypoint: string;
21715
+ };
21716
+ workspace: string;
21717
+ };
21718
+ res: {
21719
+ /**
21720
+ * dependency job created
21721
+ */
21722
+ 201: string;
21723
+ };
21724
+ };
21725
+ };
21726
+ '/w/{workspace}/jobs/run/flow_dependencies_async': {
21727
+ post: {
21728
+ req: {
21729
+ /**
21730
+ * flow value and path
21731
+ */
21732
+ requestBody: {
21733
+ path: string;
21734
+ flow_value: FlowValue;
21735
+ };
21736
+ workspace: string;
21737
+ };
21738
+ res: {
21739
+ /**
21740
+ * flow dependencies job created
21741
+ */
21742
+ 201: string;
21743
+ };
21744
+ };
21745
+ };
21066
21746
  '/w/{workspace}/jobs/run/preview_flow': {
21067
21747
  post: {
21068
21748
  req: {
@@ -21543,6 +22223,7 @@ export type $OpenApiTs = {
21543
22223
  '/w/{workspace}/jobs/queue/cancel_selection': {
21544
22224
  post: {
21545
22225
  req: {
22226
+ allWorkspaces?: boolean;
21546
22227
  forceCancel?: boolean;
21547
22228
  /**
21548
22229
  * uuids of the jobs to cancel
@@ -21944,6 +22625,10 @@ export type $OpenApiTs = {
21944
22625
  '/w/{workspace}/jobs_u/get/{id}': {
21945
22626
  get: {
21946
22627
  req: {
22628
+ /**
22629
+ * Approval token granting read access to the job when not logged in. The token must be the one issued for this job's flow (i.e. the flow id used when generating the approval URL).
22630
+ */
22631
+ approvalToken?: string;
21947
22632
  id: string;
21948
22633
  noCode?: boolean;
21949
22634
  noLogs?: boolean;
@@ -22789,9 +23474,9 @@ export type $OpenApiTs = {
22789
23474
  get: {
22790
23475
  req: {
22791
23476
  /**
22792
- * id to fetch only the messages after that id
23477
+ * Message sequence cursor to fetch only the messages after that cursor
22793
23478
  */
22794
- afterId?: string;
23479
+ afterSeq?: number;
22795
23480
  /**
22796
23481
  * conversation id
22797
23482
  */
@@ -23000,6 +23685,11 @@ export type $OpenApiTs = {
23000
23685
  */
23001
23686
  requestBody: {
23002
23687
  enabled: boolean;
23688
+ /**
23689
+ * Bypass the parent-state conflict warning when enabling a schedule in a fork whose parent has the same path enabled.
23690
+ *
23691
+ */
23692
+ force?: boolean;
23003
23693
  };
23004
23694
  workspace: string;
23005
23695
  };
@@ -23345,6 +24035,11 @@ export type $OpenApiTs = {
23345
24035
  path: string;
23346
24036
  requestBody: {
23347
24037
  mode: TriggerMode;
24038
+ /**
24039
+ * Bypass the parent-state conflict warning when enabling a trigger in a fork whose parent has the same path enabled.
24040
+ *
24041
+ */
24042
+ force?: boolean;
23348
24043
  };
23349
24044
  workspace: string;
23350
24045
  };
@@ -23473,6 +24168,11 @@ export type $OpenApiTs = {
23473
24168
  */
23474
24169
  requestBody: {
23475
24170
  mode: TriggerMode;
24171
+ /**
24172
+ * Bypass the parent-state conflict warning when enabling a trigger in a fork whose parent has the same path enabled.
24173
+ *
24174
+ */
24175
+ force?: boolean;
23476
24176
  };
23477
24177
  workspace: string;
23478
24178
  };
@@ -23622,6 +24322,11 @@ export type $OpenApiTs = {
23622
24322
  */
23623
24323
  requestBody: {
23624
24324
  mode: TriggerMode;
24325
+ /**
24326
+ * Bypass the parent-state conflict warning when enabling a trigger in a fork whose parent has the same path enabled.
24327
+ *
24328
+ */
24329
+ force?: boolean;
23625
24330
  };
23626
24331
  workspace: string;
23627
24332
  };
@@ -23807,6 +24512,11 @@ export type $OpenApiTs = {
23807
24512
  */
23808
24513
  requestBody: {
23809
24514
  mode: TriggerMode;
24515
+ /**
24516
+ * Bypass the parent-state conflict warning when enabling a trigger in a fork whose parent has the same path enabled.
24517
+ *
24518
+ */
24519
+ force?: boolean;
23810
24520
  };
23811
24521
  workspace: string;
23812
24522
  };
@@ -23956,6 +24666,11 @@ export type $OpenApiTs = {
23956
24666
  */
23957
24667
  requestBody: {
23958
24668
  mode: TriggerMode;
24669
+ /**
24670
+ * Bypass the parent-state conflict warning when enabling a trigger in a fork whose parent has the same path enabled.
24671
+ *
24672
+ */
24673
+ force?: boolean;
23959
24674
  };
23960
24675
  workspace: string;
23961
24676
  };
@@ -24484,6 +25199,11 @@ export type $OpenApiTs = {
24484
25199
  */
24485
25200
  requestBody: {
24486
25201
  mode: TriggerMode;
25202
+ /**
25203
+ * Bypass the parent-state conflict warning when enabling a trigger in a fork whose parent has the same path enabled.
25204
+ *
25205
+ */
25206
+ force?: boolean;
24487
25207
  };
24488
25208
  workspace: string;
24489
25209
  };
@@ -24633,6 +25353,11 @@ export type $OpenApiTs = {
24633
25353
  */
24634
25354
  requestBody: {
24635
25355
  mode: TriggerMode;
25356
+ /**
25357
+ * Bypass the parent-state conflict warning when enabling a trigger in a fork whose parent has the same path enabled.
25358
+ *
25359
+ */
25360
+ force?: boolean;
24636
25361
  };
24637
25362
  workspace: string;
24638
25363
  };
@@ -24715,6 +25440,217 @@ export type $OpenApiTs = {
24715
25440
  };
24716
25441
  };
24717
25442
  };
25443
+ '/w/{workspace}/azure_triggers/create': {
25444
+ post: {
25445
+ req: {
25446
+ requestBody: AzureTriggerData;
25447
+ workspace: string;
25448
+ };
25449
+ res: {
25450
+ /**
25451
+ * azure trigger created
25452
+ */
25453
+ 201: string;
25454
+ };
25455
+ };
25456
+ };
25457
+ '/w/{workspace}/azure_triggers/update/{path}': {
25458
+ post: {
25459
+ req: {
25460
+ path: string;
25461
+ requestBody: AzureTriggerData;
25462
+ workspace: string;
25463
+ };
25464
+ res: {
25465
+ /**
25466
+ * azure trigger updated
25467
+ */
25468
+ 200: string;
25469
+ };
25470
+ };
25471
+ };
25472
+ '/w/{workspace}/azure_triggers/delete/{path}': {
25473
+ delete: {
25474
+ req: {
25475
+ path: string;
25476
+ workspace: string;
25477
+ };
25478
+ res: {
25479
+ /**
25480
+ * azure trigger deleted
25481
+ */
25482
+ 200: string;
25483
+ };
25484
+ };
25485
+ };
25486
+ '/w/{workspace}/azure_triggers/get/{path}': {
25487
+ get: {
25488
+ req: {
25489
+ path: string;
25490
+ workspace: string;
25491
+ };
25492
+ res: {
25493
+ /**
25494
+ * azure trigger
25495
+ */
25496
+ 200: AzureTrigger;
25497
+ };
25498
+ };
25499
+ };
25500
+ '/w/{workspace}/azure_triggers/list': {
25501
+ get: {
25502
+ req: {
25503
+ isFlow?: boolean;
25504
+ /**
25505
+ * which page to return (start at 1, default 1)
25506
+ */
25507
+ page?: number;
25508
+ /**
25509
+ * filter by exact path
25510
+ */
25511
+ path?: string;
25512
+ pathStart?: string;
25513
+ /**
25514
+ * number of items to return for a given page (default 30, max 100)
25515
+ */
25516
+ perPage?: number;
25517
+ workspace: string;
25518
+ };
25519
+ res: {
25520
+ /**
25521
+ * azure trigger list
25522
+ */
25523
+ 200: Array<AzureTrigger>;
25524
+ };
25525
+ };
25526
+ };
25527
+ '/w/{workspace}/azure_triggers/exists/{path}': {
25528
+ get: {
25529
+ req: {
25530
+ path: string;
25531
+ workspace: string;
25532
+ };
25533
+ res: {
25534
+ /**
25535
+ * true/false
25536
+ */
25537
+ 200: boolean;
25538
+ };
25539
+ };
25540
+ };
25541
+ '/w/{workspace}/azure_triggers/setmode/{path}': {
25542
+ post: {
25543
+ req: {
25544
+ path: string;
25545
+ requestBody: {
25546
+ mode: TriggerMode;
25547
+ /**
25548
+ * Bypass the parent-state conflict warning when enabling a trigger in a fork whose parent has the same path enabled.
25549
+ *
25550
+ */
25551
+ force?: boolean;
25552
+ };
25553
+ workspace: string;
25554
+ };
25555
+ res: {
25556
+ /**
25557
+ * trigger mode updated
25558
+ */
25559
+ 200: string;
25560
+ };
25561
+ };
25562
+ };
25563
+ '/w/{workspace}/azure_triggers/test': {
25564
+ post: {
25565
+ req: {
25566
+ requestBody: TestAzureConnection;
25567
+ workspace: string;
25568
+ };
25569
+ res: {
25570
+ /**
25571
+ * connection successful
25572
+ */
25573
+ 200: string;
25574
+ };
25575
+ };
25576
+ };
25577
+ '/w/{workspace}/azure_triggers/namespaces/topics/list/{path}': {
25578
+ post: {
25579
+ req: {
25580
+ path: string;
25581
+ requestBody: AzureListTopics;
25582
+ workspace: string;
25583
+ };
25584
+ res: {
25585
+ /**
25586
+ * topic list
25587
+ */
25588
+ 200: Array<{
25589
+ [key: string]: unknown;
25590
+ }>;
25591
+ };
25592
+ };
25593
+ };
25594
+ '/w/{workspace}/azure_triggers/namespaces/subscriptions/list/{path}': {
25595
+ post: {
25596
+ req: {
25597
+ path: string;
25598
+ requestBody: AzureListSubscriptions;
25599
+ workspace: string;
25600
+ };
25601
+ res: {
25602
+ /**
25603
+ * subscription list
25604
+ */
25605
+ 200: Array<{
25606
+ [key: string]: unknown;
25607
+ }>;
25608
+ };
25609
+ };
25610
+ };
25611
+ '/w/{workspace}/azure_triggers/subscriptions/delete/{path}': {
25612
+ delete: {
25613
+ req: {
25614
+ path: string;
25615
+ requestBody: AzureDeleteSubscription;
25616
+ workspace: string;
25617
+ };
25618
+ res: {
25619
+ /**
25620
+ * subscription deleted
25621
+ */
25622
+ 200: string;
25623
+ };
25624
+ };
25625
+ };
25626
+ '/w/{workspace}/azure_triggers/namespaces/list/{path}': {
25627
+ post: {
25628
+ req: {
25629
+ path: string;
25630
+ workspace: string;
25631
+ };
25632
+ res: {
25633
+ /**
25634
+ * namespace list
25635
+ */
25636
+ 200: Array<AzureArmResource>;
25637
+ };
25638
+ };
25639
+ };
25640
+ '/w/{workspace}/azure_triggers/basic/topics/list/{path}': {
25641
+ post: {
25642
+ req: {
25643
+ path: string;
25644
+ workspace: string;
25645
+ };
25646
+ res: {
25647
+ /**
25648
+ * topic list
25649
+ */
25650
+ 200: Array<AzureArmResource>;
25651
+ };
25652
+ };
25653
+ };
24718
25654
  '/w/{workspace}/postgres_triggers/postgres/version/{path}': {
24719
25655
  get: {
24720
25656
  req: {
@@ -25035,6 +25971,11 @@ export type $OpenApiTs = {
25035
25971
  */
25036
25972
  requestBody: {
25037
25973
  mode: TriggerMode;
25974
+ /**
25975
+ * Bypass the parent-state conflict warning when enabling a trigger in a fork whose parent has the same path enabled.
25976
+ *
25977
+ */
25978
+ force?: boolean;
25038
25979
  };
25039
25980
  workspace: string;
25040
25981
  };
@@ -25200,6 +26141,11 @@ export type $OpenApiTs = {
25200
26141
  path: string;
25201
26142
  requestBody: {
25202
26143
  mode: TriggerMode;
26144
+ /**
26145
+ * Bypass the parent-state conflict warning when enabling a trigger in a fork whose parent has the same path enabled.
26146
+ *
26147
+ */
26148
+ force?: boolean;
25203
26149
  };
25204
26150
  workspace: string;
25205
26151
  };
@@ -26003,7 +26949,7 @@ export type $OpenApiTs = {
26003
26949
  '/w/{workspace}/acls/get/{kind}/{path}': {
26004
26950
  get: {
26005
26951
  req: {
26006
- kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app' | 'http_trigger' | 'websocket_trigger' | 'kafka_trigger' | 'nats_trigger' | 'postgres_trigger' | 'mqtt_trigger' | 'gcp_trigger' | 'sqs_trigger' | 'email_trigger' | 'volume';
26952
+ kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app' | 'http_trigger' | 'websocket_trigger' | 'kafka_trigger' | 'nats_trigger' | 'postgres_trigger' | 'mqtt_trigger' | 'gcp_trigger' | 'azure_trigger' | 'sqs_trigger' | 'email_trigger' | 'volume';
26007
26953
  path: string;
26008
26954
  workspace: string;
26009
26955
  };
@@ -26020,7 +26966,7 @@ export type $OpenApiTs = {
26020
26966
  '/w/{workspace}/acls/add/{kind}/{path}': {
26021
26967
  post: {
26022
26968
  req: {
26023
- kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app' | 'http_trigger' | 'websocket_trigger' | 'kafka_trigger' | 'nats_trigger' | 'postgres_trigger' | 'mqtt_trigger' | 'gcp_trigger' | 'sqs_trigger' | 'email_trigger' | 'volume';
26969
+ kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app' | 'http_trigger' | 'websocket_trigger' | 'kafka_trigger' | 'nats_trigger' | 'postgres_trigger' | 'mqtt_trigger' | 'gcp_trigger' | 'azure_trigger' | 'sqs_trigger' | 'email_trigger' | 'volume';
26024
26970
  path: string;
26025
26971
  /**
26026
26972
  * acl to add
@@ -26042,7 +26988,7 @@ export type $OpenApiTs = {
26042
26988
  '/w/{workspace}/acls/remove/{kind}/{path}': {
26043
26989
  post: {
26044
26990
  req: {
26045
- kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app' | 'http_trigger' | 'websocket_trigger' | 'kafka_trigger' | 'nats_trigger' | 'postgres_trigger' | 'mqtt_trigger' | 'gcp_trigger' | 'sqs_trigger' | 'email_trigger' | 'volume';
26991
+ kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app' | 'http_trigger' | 'websocket_trigger' | 'kafka_trigger' | 'nats_trigger' | 'postgres_trigger' | 'mqtt_trigger' | 'gcp_trigger' | 'azure_trigger' | 'sqs_trigger' | 'email_trigger' | 'volume';
26046
26992
  path: string;
26047
26993
  /**
26048
26994
  * acl to add
@@ -26597,6 +27543,13 @@ export type $OpenApiTs = {
26597
27543
  * S3 file key to check (e.g., gitrepos/{workspace_id}/u/user/resource/{commit_hash})
26598
27544
  */
26599
27545
  fileKey: string;
27546
+ /**
27547
+ * If provided, the folder is only considered to exist when this exact
27548
+ * sentinel file is present under file_key. Lets callers distinguish a
27549
+ * fully populated folder from a partial upload.
27550
+ *
27551
+ */
27552
+ markerFile?: string;
26600
27553
  workspace: string;
26601
27554
  };
26602
27555
  res: {