windmill-components 1.542.5 → 1.555.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 (399) hide show
  1. package/package/aiStore.d.ts +13 -0
  2. package/package/aiStore.js +70 -0
  3. package/package/common.d.ts +6 -2
  4. package/package/components/AIAgentLogViewer.svelte +1 -1
  5. package/package/components/AIProviderPicker.svelte +25 -8
  6. package/package/components/ArgEnum.svelte +17 -7
  7. package/package/components/ArgEnum.svelte.d.ts +1 -0
  8. package/package/components/ArgInput.svelte +257 -188
  9. package/package/components/ArgInput.svelte.d.ts +4 -1
  10. package/package/components/ArrayTypeNarrowing.svelte +38 -32
  11. package/package/components/AutoscalingEvents.svelte +21 -5
  12. package/package/components/AutoscalingEvents.svelte.d.ts +4 -18
  13. package/package/components/ChannelSelector.svelte +92 -18
  14. package/package/components/ChannelSelector.svelte.d.ts +2 -0
  15. package/package/components/ConnectionSection.svelte +12 -1
  16. package/package/components/DateTimeInput.svelte +8 -6
  17. package/package/components/DeployButton.svelte +1 -1
  18. package/package/components/Dev.svelte +24 -9
  19. package/package/components/Dev.svelte.d.ts +23 -1
  20. package/package/components/DisplayResult.svelte +36 -23
  21. package/package/components/DropdownV2.svelte +8 -2
  22. package/package/components/DropdownV2.svelte.d.ts +1 -0
  23. package/package/components/DynamicInput.svelte +10 -10
  24. package/package/components/EditableSchemaForm.svelte +28 -13
  25. package/package/components/Editor.svelte +2 -1
  26. package/package/components/EditorSettings.svelte +5 -5
  27. package/package/components/EditorSettings.svelte.d.ts +4 -18
  28. package/package/components/ErrorOrRecoveryHandler.svelte +14 -20
  29. package/package/components/FakeMonacoPlaceHolder.svelte +4 -2
  30. package/package/components/FakeMonacoPlaceHolder.svelte.d.ts +1 -0
  31. package/package/components/FieldHeader.svelte +5 -7
  32. package/package/components/FirstStepInputs.svelte +1 -1
  33. package/package/components/FlowHistoryJobPicker.svelte +3 -0
  34. package/package/components/FlowHistoryJobPicker.svelte.d.ts +1 -0
  35. package/package/components/FlowJobResult.svelte +5 -5
  36. package/package/components/FlowLogRow.svelte +2 -2
  37. package/package/components/FlowLogViewer.svelte +228 -57
  38. package/package/components/FlowLogViewer.svelte.d.ts +16 -5
  39. package/package/components/FlowLogViewerWrapper.svelte +56 -3
  40. package/package/components/FlowLogViewerWrapper.svelte.d.ts +4 -3
  41. package/package/components/FlowLoopIterationPreview.svelte +4 -4
  42. package/package/components/FlowLoopIterationPreview.svelte.d.ts +1 -1
  43. package/package/components/FlowMetadata.svelte +3 -4
  44. package/package/components/FlowMetadata.svelte.d.ts +4 -18
  45. package/package/components/FlowPlugConnect.svelte +8 -2
  46. package/package/components/FlowPlugConnect.svelte.d.ts +1 -0
  47. package/package/components/FlowPreviewContent.svelte +121 -94
  48. package/package/components/FlowPreviewContent.svelte.d.ts +3 -3
  49. package/package/components/FlowStatusViewer.svelte +63 -59
  50. package/package/components/FlowStatusViewer.svelte.d.ts +2 -2
  51. package/package/components/FlowStatusViewerInner.svelte +186 -94
  52. package/package/components/FlowStatusViewerInner.svelte.d.ts +10 -3
  53. package/package/components/FlowTimeline.svelte +110 -131
  54. package/package/components/FlowTimeline.svelte.d.ts +13 -4
  55. package/package/components/FlowTimelineBar.svelte +227 -0
  56. package/package/components/FlowTimelineBar.svelte.d.ts +24 -0
  57. package/package/components/FolderEditor.svelte +6 -7
  58. package/package/components/GroupEditor.svelte +148 -141
  59. package/package/components/GroupEditor.svelte.d.ts +5 -4
  60. package/package/components/InputTransformForm.svelte +193 -71
  61. package/package/components/InputTransformForm.svelte.d.ts +3 -0
  62. package/package/components/InputTransformSchemaForm.svelte +10 -5
  63. package/package/components/InputTransformSchemaForm.svelte.d.ts +2 -0
  64. package/package/components/InstanceSetting.svelte +34 -51
  65. package/package/components/InstanceSettings.svelte +12 -21
  66. package/package/components/JobArgs.svelte +15 -16
  67. package/package/components/JobArgs.svelte.d.ts +4 -18
  68. package/package/components/JobLoader.svelte +23 -42
  69. package/package/components/JobLoader.svelte.d.ts +2 -0
  70. package/package/components/JobStatus.svelte +1 -1
  71. package/package/components/JobStatus.svelte.d.ts +4 -18
  72. package/package/components/JsonEditor.svelte +18 -9
  73. package/package/components/JsonEditor.svelte.d.ts +1 -1
  74. package/package/components/JsonInputs.svelte +1 -1
  75. package/package/components/ModulePreviewForm.svelte +23 -19
  76. package/package/components/ModulePreviewResultViewer.svelte +1 -7
  77. package/package/components/NextcloudSetting.svelte +6 -1
  78. package/package/components/NumberTypeNarrowing.svelte +32 -16
  79. package/package/components/ObjectStoreConfigSettings.svelte +27 -19
  80. package/package/components/Password.svelte +7 -11
  81. package/package/components/Password.svelte.d.ts +5 -20
  82. package/package/components/PasswordArgInput.svelte +35 -15
  83. package/package/components/PasswordArgInput.svelte.d.ts +4 -18
  84. package/package/components/Path.svelte +2 -8
  85. package/package/components/Path.svelte.d.ts +1 -1
  86. package/package/components/QueuePosition.svelte +6 -2
  87. package/package/components/ResourceEditor.svelte +3 -10
  88. package/package/components/ResourcePicker.svelte +85 -72
  89. package/package/components/ResourcePicker.svelte.d.ts +2 -0
  90. package/package/components/RunChart.svelte +1 -1
  91. package/package/components/RunForm.svelte +16 -21
  92. package/package/components/S3ArrayHelperButton.svelte +18 -0
  93. package/package/components/S3ArrayHelperButton.svelte.d.ts +9 -0
  94. package/package/components/S3FilePicker.svelte +1 -1
  95. package/package/components/SchemaForm.svelte +18 -10
  96. package/package/components/SchemaForm.svelte.d.ts +7 -1
  97. package/package/components/SchemaFormWithArgPicker.svelte +1 -1
  98. package/package/components/ScriptBuilder.svelte +2 -2
  99. package/package/components/ScriptEditor.svelte +9 -9
  100. package/package/components/ScriptEditor.svelte.d.ts +1 -1
  101. package/package/components/ShareModal.svelte +4 -4
  102. package/package/components/SimpleEditor.svelte +6 -2
  103. package/package/components/SimpleEditor.svelte.d.ts +3 -0
  104. package/package/components/StringTypeNarrowing.svelte +44 -25
  105. package/package/components/StringTypeNarrowing.svelte.d.ts +1 -1
  106. package/package/components/SuperadminSettingsInner.svelte +3 -3
  107. package/package/components/TeamSelector.svelte +83 -37
  108. package/package/components/TeamSelector.svelte.d.ts +0 -1
  109. package/package/components/TemplateEditor.svelte +18 -9
  110. package/package/components/Toast.svelte +2 -7
  111. package/package/components/Toast.svelte.d.ts +4 -18
  112. package/package/components/Toggle.svelte +17 -7
  113. package/package/components/ToggleHubWorkspaceQuick.svelte +3 -3
  114. package/package/components/WorkerGroup.svelte +2 -14
  115. package/package/components/apps/components/buttons/AppButton.svelte +66 -38
  116. package/package/components/apps/components/display/dbtable/InsertRow.svelte +32 -2
  117. package/package/components/apps/components/display/dbtable/queries/insert.js +2 -1
  118. package/package/components/apps/components/display/dbtable/utils.d.ts +8 -8
  119. package/package/components/apps/components/display/table/AppAggridInfiniteTable.svelte +13 -4
  120. package/package/components/apps/components/display/table/SyncColumnDefs.svelte +2 -2
  121. package/package/components/apps/components/display/table/utils.js +14 -4
  122. package/package/components/apps/components/helpers/RefreshButton.svelte +5 -1
  123. package/package/components/apps/components/helpers/RunnableComponent.svelte +3 -5
  124. package/package/components/apps/components/helpers/RunnableWrapper.svelte.d.ts +1 -0
  125. package/package/components/apps/components/inputs/currency/CurrencyInput.svelte +2 -1
  126. package/package/components/apps/components/layout/AppTabs.svelte +116 -71
  127. package/package/components/apps/components/layout/AppTabs.svelte.d.ts +1 -0
  128. package/package/components/apps/editor/AppEditorHeader.svelte +33 -271
  129. package/package/components/apps/editor/AppEditorHeaderDeploy.svelte +233 -0
  130. package/package/components/apps/editor/AppEditorHeaderDeploy.svelte.d.ts +18 -0
  131. package/package/components/apps/editor/AppEditorHeaderDeployInitialDraft.svelte +47 -0
  132. package/package/components/apps/editor/AppEditorHeaderDeployInitialDraft.svelte.d.ts +8 -0
  133. package/package/components/apps/editor/GridEditor.svelte +7 -2
  134. package/package/components/apps/editor/appDeploy.svelte.d.ts +1 -0
  135. package/package/components/apps/editor/appDeploy.svelte.js +6 -0
  136. package/package/components/apps/editor/appUtils.d.ts +1 -0
  137. package/package/components/apps/editor/appUtils.js +30 -1
  138. package/package/components/apps/editor/component/ComponentInner.svelte +1 -0
  139. package/package/components/apps/editor/component/ComponentNavigation.svelte +3 -1
  140. package/package/components/apps/editor/component/components.d.ts +19 -4
  141. package/package/components/apps/editor/component/components.js +23 -3
  142. package/package/components/apps/editor/contextPanel/ComponentOutputViewer.svelte +1 -1
  143. package/package/components/apps/editor/inlineScriptsPanel/EmptyInlineScript.svelte +6 -4
  144. package/package/components/apps/editor/inlineScriptsPanel/InlineScriptEditor.svelte.d.ts +1 -1
  145. package/package/components/apps/editor/inlineScriptsPanel/InlineScriptEditorDrawer.svelte.d.ts +1 -1
  146. package/package/components/apps/editor/inlineScriptsPanel/InlineScriptRunnableByPath.svelte.d.ts +1 -1
  147. package/package/components/apps/editor/settingsPanel/ComponentPanel.svelte +2 -0
  148. package/package/components/apps/editor/settingsPanel/GridTab.svelte +19 -1
  149. package/package/components/apps/editor/settingsPanel/GridTab.svelte.d.ts +3 -1
  150. package/package/components/apps/editor/settingsPanel/GridTabHidden.svelte +52 -0
  151. package/package/components/apps/editor/settingsPanel/GridTabHidden.svelte.d.ts +9 -0
  152. package/package/components/apps/editor/settingsPanel/InputsSpecEditor.svelte +58 -8
  153. package/package/components/auditLogs/AuditLogsFilters.svelte +7 -1
  154. package/package/components/auditLogs/AuditLogsTable.svelte +17 -7
  155. package/package/components/auditLogs/AuditLogsTable.svelte.d.ts +1 -0
  156. package/package/components/common/CloseButton.svelte +2 -2
  157. package/package/components/common/CloseButton.svelte.d.ts +1 -0
  158. package/package/components/common/ResizeTransitionWrapper.svelte +39 -0
  159. package/package/components/common/ResizeTransitionWrapper.svelte.d.ts +12 -0
  160. package/package/components/common/badge/CountBadge.svelte +29 -0
  161. package/package/components/common/badge/CountBadge.svelte.d.ts +8 -0
  162. package/package/components/common/button/Button.svelte +1 -0
  163. package/package/components/common/button/ConnectionButton.svelte +6 -1
  164. package/package/components/common/button/ConnectionButton.svelte.d.ts +2 -0
  165. package/package/components/common/button/RefreshButton.svelte +8 -4
  166. package/package/components/common/button/RefreshButton.svelte.d.ts +3 -0
  167. package/package/components/common/calendarPicker/CalendarPicker.svelte +1 -1
  168. package/package/components/common/fileInput/FileInput.svelte +7 -6
  169. package/package/components/common/fileUpload/S3ArgInput.svelte +11 -9
  170. package/package/components/common/fileUpload/S3ArgInput.svelte.d.ts +1 -0
  171. package/package/components/common/layout/List.svelte +3 -7
  172. package/package/components/common/layout/List.svelte.d.ts +7 -29
  173. package/package/components/common/popup/PopupV2.svelte +14 -25
  174. package/package/components/common/popup/PopupV2.svelte.d.ts +4 -2
  175. package/package/components/common/table/ScriptRow.svelte +22 -2
  176. package/package/components/common/toggleButton-v2/ToggleButton.svelte +17 -26
  177. package/package/components/common/toggleButton-v2/ToggleButton.svelte.d.ts +16 -30
  178. package/package/components/common/toggleButton-v2/ToggleButtonGroup.svelte +1 -1
  179. package/package/components/common/toggleButton-v2/ToggleButtonMore.svelte +3 -3
  180. package/package/components/common/toggleButton-v2/ToggleButtonMore.svelte.d.ts +1 -0
  181. package/package/components/copilot/CodeCompletionStatus.svelte +2 -1
  182. package/package/components/copilot/CronGen.svelte +1 -1
  183. package/package/components/copilot/FlowCopilotInputsModal.svelte +26 -23
  184. package/package/components/copilot/FlowInlineScriptAIButton.svelte +2 -2
  185. package/package/components/copilot/IteratorGen.svelte +30 -25
  186. package/package/components/copilot/IteratorGen.svelte.d.ts +8 -7
  187. package/package/components/copilot/MetadataGen.svelte +4 -3
  188. package/package/components/copilot/PredicateGen.svelte +15 -12
  189. package/package/components/copilot/PredicateGen.svelte.d.ts +5 -4
  190. package/package/components/copilot/RegexGen.svelte +1 -1
  191. package/package/components/copilot/ScriptFix.svelte +1 -1
  192. package/package/components/copilot/ScriptGen.svelte +2 -1
  193. package/package/components/copilot/StepGenQuick.svelte +15 -16
  194. package/package/components/copilot/StepGenQuick.svelte.d.ts +14 -13
  195. package/package/components/copilot/StepInputGen.svelte +50 -36
  196. package/package/components/copilot/StepInputGen.svelte.d.ts +13 -10
  197. package/package/components/copilot/StepInputsGen.svelte +18 -19
  198. package/package/components/copilot/StepInputsGen.svelte.d.ts +4 -18
  199. package/package/components/copilot/autocomplete/Autocompletor.js +1 -1
  200. package/package/components/copilot/autocomplete/request.js +1 -1
  201. package/package/components/copilot/chat/AIChat.svelte +2 -1
  202. package/package/components/copilot/chat/AIChatManager.svelte.js +5 -3
  203. package/package/components/copilot/chat/AiChatLayout.svelte +2 -1
  204. package/package/components/copilot/chat/ProviderModelSelector.svelte +11 -10
  205. package/package/components/copilot/chat/ProviderModelSelector.svelte.d.ts +2 -17
  206. package/package/components/copilot/chat/flow/FlowAIButton.svelte +1 -1
  207. package/package/components/copilot/chat/flow/FlowAIChat.svelte +4 -2
  208. package/package/components/copilot/chat/script/core.d.ts +4 -4
  209. package/package/components/copilot/chat/script/core.js +95 -35
  210. package/package/components/copilot/chat/shared.js +2 -1
  211. package/package/components/copilot/lib.d.ts +1 -0
  212. package/package/components/copilot/lib.js +7 -3
  213. package/package/components/custom_ui.d.ts +1 -0
  214. package/package/components/details/DetailPageLayout.svelte +3 -2
  215. package/package/components/details/DetailPageLayout.svelte.d.ts +1 -0
  216. package/package/components/flows/CreateActionsFlow.svelte +1 -1
  217. package/package/components/flows/FlowChatInterface.svelte +404 -0
  218. package/package/components/flows/FlowChatInterface.svelte.d.ts +19 -0
  219. package/package/components/flows/FlowChatMessage.svelte +41 -0
  220. package/package/components/flows/FlowChatMessage.svelte.d.ts +9 -0
  221. package/package/components/flows/FlowConversationsSidebar.svelte +213 -0
  222. package/package/components/flows/FlowConversationsSidebar.svelte.d.ts +15 -0
  223. package/package/components/flows/FlowEditor.svelte.d.ts +1 -1
  224. package/package/components/flows/FlowModuleIcon.svelte +10 -10
  225. package/package/components/flows/FlowProgressBar.svelte +16 -16
  226. package/package/components/flows/FlowProgressBar.svelte.d.ts +7 -22
  227. package/package/components/flows/common/FlowCard.svelte +10 -2
  228. package/package/components/flows/common/FlowCard.svelte.d.ts +1 -0
  229. package/package/components/flows/common/FlowCardHeader.svelte +2 -1
  230. package/package/components/flows/common/FlowCardHeader.svelte.d.ts +1 -0
  231. package/package/components/flows/content/DynamicInputHelpBox.svelte +4 -4
  232. package/package/components/flows/content/FlowEditorPanel.svelte.d.ts +1 -1
  233. package/package/components/flows/content/FlowInput.svelte +381 -259
  234. package/package/components/flows/content/FlowInput.svelte.d.ts +1 -1
  235. package/package/components/flows/content/FlowInputsQuick.svelte +56 -34
  236. package/package/components/flows/content/FlowInputsQuick.svelte.d.ts +3 -2
  237. package/package/components/flows/content/FlowModuleComponent.svelte +29 -11
  238. package/package/components/flows/flowInfers.d.ts +60 -0
  239. package/package/components/flows/flowInfers.js +72 -40
  240. package/package/components/flows/{flowStore.d.ts → flowStore.svelte.d.ts} +5 -1
  241. package/package/components/flows/header/FlowPreviewButtons.svelte +1 -1
  242. package/package/components/flows/map/FlowErrorHandlerItem.svelte +4 -2
  243. package/package/components/flows/map/FlowErrorHandlerItem.svelte.d.ts +1 -0
  244. package/package/components/flows/map/FlowJobsMenu.svelte +3 -3
  245. package/package/components/flows/map/FlowJobsMenu.svelte.d.ts +1 -1
  246. package/package/components/flows/map/FlowModuleSchemaItem.svelte +1 -1
  247. package/package/components/flows/map/FlowModuleSchemaMap.svelte +5 -2
  248. package/package/components/flows/map/FlowStickyNode.svelte +2 -2
  249. package/package/components/flows/map/FlowStickyNode.svelte.d.ts +1 -0
  250. package/package/components/flows/map/InsertModuleButton.svelte +8 -15
  251. package/package/components/flows/map/InsertModuleButton.svelte.d.ts +4 -4
  252. package/package/components/flows/map/InsertModuleInner.svelte +19 -20
  253. package/package/components/flows/map/InsertModuleInner.svelte.d.ts +2 -2
  254. package/package/components/flows/map/MapItem.svelte +1 -1
  255. package/package/components/flows/map/VirtualItem.svelte +1 -2
  256. package/package/components/flows/pickers/PickHubScriptQuick.svelte +43 -52
  257. package/package/components/flows/pickers/PickHubScriptQuick.svelte.d.ts +2 -1
  258. package/package/components/flows/pickers/WorkspaceScriptPickerQuick.svelte +41 -26
  259. package/package/components/flows/pickers/WorkspaceScriptPickerQuick.svelte.d.ts +1 -0
  260. package/package/components/flows/propPicker/OutputPicker.svelte +2 -0
  261. package/package/components/flows/propPicker/PropPickerWrapper.svelte +1 -15
  262. package/package/components/git_sync/DetectionFlow.svelte +33 -44
  263. package/package/components/git_sync/DetectionFlow.svelte.d.ts +1 -0
  264. package/package/components/git_sync/GitSyncContext.svelte.d.ts +22 -0
  265. package/package/components/git_sync/GitSyncContext.svelte.js +145 -5
  266. package/package/components/git_sync/GitSyncModeDisplay.svelte +14 -0
  267. package/package/components/git_sync/GitSyncModeDisplay.svelte.d.ts +9 -0
  268. package/package/components/git_sync/GitSyncRepositoryCard.svelte +365 -253
  269. package/package/components/git_sync/GitSyncRepositoryCard.svelte.d.ts +10 -1
  270. package/package/components/git_sync/GitSyncSection.svelte +134 -14
  271. package/package/components/git_sync/PullWorkspaceModal.svelte +24 -32
  272. package/package/components/git_sync/PushWorkspaceModal.svelte +24 -32
  273. package/package/components/graph/FlowGraphV2.svelte +2 -1
  274. package/package/components/graph/FlowGraphV2.svelte.d.ts +1 -0
  275. package/package/components/graph/graphBuilder.svelte.d.ts +2 -0
  276. package/package/components/graph/graphBuilder.svelte.js +1 -0
  277. package/package/components/graph/model.d.ts +5 -5
  278. package/package/components/graph/renderers/edges/BaseEdge.svelte +1 -0
  279. package/package/components/graph/renderers/edges/EmptyEdge.svelte +3 -10
  280. package/package/components/graph/renderers/edges/EmptyEdge.svelte.d.ts +4 -18
  281. package/package/components/graph/renderers/nodes/AIToolNode.svelte +2 -2
  282. package/package/components/graph/renderers/nodes/InputNode.svelte +13 -2
  283. package/package/components/graph/renderers/nodes/NewAIToolNode.svelte +5 -10
  284. package/package/components/graph/renderers/triggers/TriggersBadge.svelte +2 -27
  285. package/package/components/home/ItemsList.svelte +1 -1
  286. package/package/components/instanceSettings.js +17 -0
  287. package/package/components/jobs/JobProgressBar.svelte +27 -21
  288. package/package/components/jobs/JobProgressBar.svelte.d.ts +9 -24
  289. package/package/components/meltComponents/MenuSingleItem.svelte +3 -8
  290. package/package/components/meltComponents/MenuSingleItem.svelte.d.ts +0 -3
  291. package/package/components/meltComponents/Popover.svelte +3 -2
  292. package/package/components/meltComponents/Popover.svelte.d.ts +1 -0
  293. package/package/components/meltComponents/Tooltip.svelte +1 -1
  294. package/package/components/progressBar/ProgressBar.svelte +39 -53
  295. package/package/components/progressBar/ProgressBar.svelte.d.ts +11 -26
  296. package/package/components/raw_apps/FileEditorIcon.svelte +1 -1
  297. package/package/components/raw_apps/FileEditorIcon.svelte.d.ts +4 -18
  298. package/package/components/raw_apps/RawAppBackgroundRunner.svelte +2 -8
  299. package/package/components/raw_apps/RawAppBackgroundRunner.svelte.d.ts +4 -18
  300. package/package/components/raw_apps/RawAppEditor.svelte +6 -7
  301. package/package/components/raw_apps/RawAppEditorHeader.svelte +48 -301
  302. package/package/components/raw_apps/RawAppEditorHeader.svelte.d.ts +18 -19
  303. package/package/components/raw_apps/RawAppInlineScriptEditor.svelte +10 -16
  304. package/package/components/raw_apps/RawAppInlineScriptEditor.svelte.d.ts +13 -13
  305. package/package/components/raw_apps/RawAppInlineScriptPanelList.svelte +8 -11
  306. package/package/components/raw_apps/RawAppInlineScriptPanelList.svelte.d.ts +1 -2
  307. package/package/components/raw_apps/RawAppInlineScriptRunnable.svelte +0 -1
  308. package/package/components/raw_apps/RawAppInlineScriptsPanel.svelte +7 -13
  309. package/package/components/raw_apps/RawAppInlineScriptsPanel.svelte.d.ts +8 -8
  310. package/package/components/raw_apps/RawAppPreview.svelte +3 -7
  311. package/package/components/raw_apps/RawAppPreview.svelte.d.ts +5 -19
  312. package/package/components/raw_apps/utils.d.ts +1 -1
  313. package/package/components/raw_apps/utils.js +3 -3
  314. package/package/components/runs/JobsLoader.svelte +1 -1
  315. package/package/components/runs/NoWorkerWithTagWarning.svelte +3 -3
  316. package/package/components/runs/NoWorkerWithTagWarning.svelte.d.ts +1 -1
  317. package/package/components/runs/RunOption.svelte +2 -2
  318. package/package/components/runs/RunsFilter.svelte +15 -12
  319. package/package/components/runs/RunsFilter.svelte.d.ts +1 -1
  320. package/package/components/schema/AddPropertyV2.svelte +7 -4
  321. package/package/components/schema/EditableSchemaDrawer.svelte +19 -18
  322. package/package/components/schema/FlowPropertyEditor.svelte +9 -2
  323. package/package/components/schema/FlowPropertyEditor.svelte.d.ts +1 -1
  324. package/package/components/schema/PropertyEditor.svelte +22 -26
  325. package/package/components/schema/PropertyEditor.svelte.d.ts +1 -1
  326. package/package/components/schema/SchemaFormDND.svelte +3 -2
  327. package/package/components/schema/SchemaFormDND.svelte.d.ts +1 -0
  328. package/package/components/select/DraggableTags.svelte +2 -2
  329. package/package/components/select/MultiSelect.svelte +15 -9
  330. package/package/components/select/MultiSelect.svelte.d.ts +1 -0
  331. package/package/components/select/Select.svelte +12 -5
  332. package/package/components/select/Select.svelte.d.ts +11 -0
  333. package/package/components/select/SelectDropdown.svelte +98 -46
  334. package/package/components/select/SelectDropdown.svelte.d.ts +10 -0
  335. package/package/components/select/utils.svelte.js +2 -0
  336. package/package/components/settings/CreateToken.svelte +76 -49
  337. package/package/components/settings/WorkspaceUserSettings.svelte +111 -17
  338. package/package/components/sidebar/CriticalAlertTable.svelte +2 -1
  339. package/package/components/sidebar/Linkify.svelte +14 -0
  340. package/package/components/sidebar/Linkify.svelte.d.ts +5 -0
  341. package/package/components/sidebar/MenuLink.svelte +2 -1
  342. package/package/components/sidebar/MenuLink.svelte.d.ts +1 -0
  343. package/package/components/sidebar/SidebarContent.svelte +27 -27
  344. package/package/components/sidebar/WorkspaceMenu.svelte +8 -3
  345. package/package/components/table/Cell.svelte +7 -14
  346. package/package/components/table/Cell.svelte.d.ts +13 -35
  347. package/package/components/table/tableUtils.js +1 -1
  348. package/package/components/text_input/TextInput.svelte +30 -0
  349. package/package/components/text_input/TextInput.svelte.d.ts +17 -0
  350. package/package/components/triggers/AddTriggersButton.svelte +1 -0
  351. package/package/components/triggers/TriggersEditor.svelte +11 -1
  352. package/package/components/triggers/gcp/GcpTriggerEditorConfigSection.svelte +1 -1
  353. package/package/components/triggers/gcp/GcpTriggerEditorConfigSection.svelte.d.ts +2 -1
  354. package/package/components/triggers/gcp/GcpTriggerEditorInner.svelte +28 -5
  355. package/package/components/triggers/gcp/utils.js +1 -0
  356. package/package/components/triggers/schedules/ScheduleEditorInner.svelte +1 -0
  357. package/package/components/triggers/triggers.svelte.d.ts +1 -1
  358. package/package/components/triggers/triggers.svelte.js +8 -4
  359. package/package/components/triggers/webhook/WebhooksConfigSection.svelte +143 -63
  360. package/package/components/triggers/websocket/WebsocketTriggerEditorInner.svelte +22 -0
  361. package/package/components/triggers/websocket/utils.js +1 -0
  362. package/package/components/tutorials/FlowBuilderTutorialErrorHandler.svelte +2 -2
  363. package/package/components/tutorials/FlowBuilderTutorialForLoop.svelte +3 -0
  364. package/package/components/tutorials/FlowBuilderTutorialSimpleFlow.svelte +49 -17
  365. package/package/components/tutorials/Tutorial.svelte +9 -0
  366. package/package/components/tutorials/Tutorial.svelte.d.ts +1 -0
  367. package/package/components/tutorials/app/AppTutorial.svelte +41 -57
  368. package/package/components/tutorials/app/BackgroundRunnablesTutorial.svelte +3 -5
  369. package/package/components/tutorials/app/ConnectionTutorial.svelte +2 -2
  370. package/package/components/tutorials/utils.js +2 -154
  371. package/package/components/vscode.js +16 -8
  372. package/package/components/workspaceSettings/AISettings.svelte +12 -5
  373. package/package/components/workspaceSettings/AISettings.svelte.d.ts +2 -1
  374. package/package/components/workspaceSettings/CreateWorkspace.svelte +2 -2
  375. package/package/components/workspaceSettings/DucklakeSettings.svelte +64 -7
  376. package/package/components/workspaceSettings/ModelTokenLimits.svelte +165 -0
  377. package/package/components/workspaceSettings/ModelTokenLimits.svelte.d.ts +8 -0
  378. package/package/components/workspaceSettings/StorageSettings.svelte +147 -77
  379. package/package/editorUtils.d.ts +1 -1
  380. package/package/gen/core/OpenAPI.js +1 -1
  381. package/package/gen/schemas.gen.d.ts +223 -17
  382. package/package/gen/schemas.gen.js +226 -17
  383. package/package/gen/services.gen.d.ts +221 -27
  384. package/package/gen/services.gen.js +440 -48
  385. package/package/gen/types.gen.d.ts +1067 -218
  386. package/package/hubPaths.json +2 -1
  387. package/package/script_helpers.js +5 -5
  388. package/package/services/JobManager.js +14 -9
  389. package/package/stores.d.ts +4 -12
  390. package/package/stores.js +5 -65
  391. package/package/timelineCompute.svelte.d.ts +21 -0
  392. package/package/timelineCompute.svelte.js +113 -0
  393. package/package/toast.js +2 -1
  394. package/package/utils.d.ts +16 -8
  395. package/package/utils.js +65 -12
  396. package/package/workspace_settings.d.ts +13 -8
  397. package/package/workspace_settings.js +46 -11
  398. package/package.json +4 -4
  399. /package/package/components/flows/{flowStore.js → flowStore.svelte.js} +0 -0
@@ -18,6 +18,10 @@ export type FlowValue = {
18
18
  cache_ttl?: number;
19
19
  priority?: number;
20
20
  early_return?: string;
21
+ /**
22
+ * Whether this flow accepts chat-style input
23
+ */
24
+ chat_input_enabled?: boolean;
21
25
  };
22
26
  export type Retry = {
23
27
  constant?: {
@@ -193,6 +197,10 @@ export type FlowStatusModule = {
193
197
  };
194
198
  flow_jobs?: Array<(string)>;
195
199
  flow_jobs_success?: Array<(boolean)>;
200
+ flow_jobs_duration?: {
201
+ started_at?: Array<(string)>;
202
+ duration_ms?: Array<(number)>;
203
+ };
196
204
  branch_chosen?: {
197
205
  type: 'branch' | 'default';
198
206
  branch?: number;
@@ -217,6 +225,62 @@ export type FlowStatusModule = {
217
225
  })>;
218
226
  agent_actions_success?: Array<(boolean)>;
219
227
  };
228
+ export type FlowConversation = {
229
+ /**
230
+ * Unique identifier for the conversation
231
+ */
232
+ id: string;
233
+ /**
234
+ * The workspace ID where the conversation belongs
235
+ */
236
+ workspace_id: string;
237
+ /**
238
+ * Path of the flow this conversation is for
239
+ */
240
+ flow_path: string;
241
+ /**
242
+ * Optional title for the conversation
243
+ */
244
+ title?: string | null;
245
+ /**
246
+ * When the conversation was created
247
+ */
248
+ created_at: string;
249
+ /**
250
+ * When the conversation was last updated
251
+ */
252
+ updated_at: string;
253
+ /**
254
+ * Username who created the conversation
255
+ */
256
+ created_by: string;
257
+ };
258
+ export type FlowConversationMessage = {
259
+ /**
260
+ * Unique identifier for the message
261
+ */
262
+ id: string;
263
+ /**
264
+ * The conversation this message belongs to
265
+ */
266
+ conversation_id: string;
267
+ /**
268
+ * Type of the message
269
+ */
270
+ message_type: 'user' | 'assistant' | 'system';
271
+ /**
272
+ * The message content
273
+ */
274
+ content: string;
275
+ /**
276
+ * Associated job ID if this message came from a flow run
277
+ */
278
+ job_id?: string | null;
279
+ /**
280
+ * When the message was created
281
+ */
282
+ created_at: string;
283
+ };
220
284
  export type EndpointTool = {
221
285
  /**
222
286
  * The tool name/operation ID
@@ -276,6 +340,9 @@ export type AIConfig = {
276
340
  custom_prompts?: {
277
341
  [key: string]: (string);
278
342
  };
343
+ max_tokens_per_model?: {
344
+ [key: string]: (number);
345
+ };
279
346
  };
280
347
  export type Alert = {
281
348
  name: string;
@@ -638,6 +705,7 @@ export type EditVariable = {
638
705
  description?: string;
639
706
  };
640
707
  export type AuditLog = {
708
+ workspace_id: string;
641
709
  id: number;
642
710
  timestamp: string;
643
711
  username: string;
@@ -1158,6 +1226,7 @@ export type WebsocketTrigger = TriggerExtraProperty & {
1158
1226
  initial_messages?: Array<WebsocketTriggerInitialMessage>;
1159
1227
  url_runnable_args?: ScriptArgs;
1160
1228
  can_return_message: boolean;
1229
+ can_return_error_result: boolean;
1161
1230
  error_handler_path?: string;
1162
1231
  error_handler_args?: ScriptArgs;
1163
1232
  retry?: Retry;
@@ -1175,6 +1244,7 @@ export type NewWebsocketTrigger = {
1175
1244
  initial_messages?: Array<WebsocketTriggerInitialMessage>;
1176
1245
  url_runnable_args?: ScriptArgs;
1177
1246
  can_return_message: boolean;
1247
+ can_return_error_result: boolean;
1178
1248
  error_handler_path?: string;
1179
1249
  error_handler_args?: ScriptArgs;
1180
1250
  retry?: Retry;
@@ -1191,6 +1261,7 @@ export type EditWebsocketTrigger = {
1191
1261
  initial_messages?: Array<WebsocketTriggerInitialMessage>;
1192
1262
  url_runnable_args?: ScriptArgs;
1193
1263
  can_return_message: boolean;
1264
+ can_return_error_result: boolean;
1194
1265
  error_handler_path?: string;
1195
1266
  error_handler_args?: ScriptArgs;
1196
1267
  retry?: Retry;
@@ -1300,6 +1371,10 @@ export type GcpTriggerData = {
1300
1371
  is_flow: boolean;
1301
1372
  enabled?: boolean;
1302
1373
  auto_acknowledge_msg?: boolean;
1374
+ /**
1375
+ * Time in seconds within which the message must be acknowledged. If not provided, defaults to the subscription's acknowledgment deadline (600 seconds).
1376
+ */
1377
+ ack_deadline?: number;
1303
1378
  error_handler_path?: string;
1304
1379
  error_handler_args?: ScriptArgs;
1305
1380
  retry?: Retry;
@@ -1582,6 +1657,7 @@ export type UserWorkspaceList = {
1582
1657
  operator_settings?: OperatorSettings;
1583
1658
  parent_workspace_id?: string | null;
1584
1659
  created_by?: string | null;
1660
+ disabled: boolean;
1585
1661
  }>;
1586
1662
  };
1587
1663
  export type CreateWorkspace = {
@@ -1605,6 +1681,13 @@ export type Workspace = {
1605
1681
  color?: string;
1606
1682
  parent_workspace_id?: string | null;
1607
1683
  };
1684
+ export type DependencyMap = {
1685
+ workspace_id?: string | null;
1686
+ importer_path?: string | null;
1687
+ importer_kind?: string | null;
1688
+ imported_path?: string | null;
1689
+ importer_node_id?: string | null;
1690
+ };
1608
1691
  export type WorkspaceInvite = {
1609
1692
  workspace_id: string;
1610
1693
  email: string;
@@ -1782,6 +1865,7 @@ export type LargeFileStorage = {
1782
1865
  azure_blob_resource_path?: string;
1783
1866
  gcs_resource_path?: string;
1784
1867
  public_resource?: boolean;
1868
+ advanced_permissions?: Array<S3PermissionRule>;
1785
1869
  secondary_storage?: {
1786
1870
  [key: string]: {
1787
1871
  type?: 'S3Storage' | 'AzureBlobStorage' | 'AzureWorkloadIdentity' | 'S3AwsOidc' | 'GoogleCloudStorage';
@@ -1806,6 +1890,33 @@ export type DucklakeSettings = {
1806
1890
  };
1807
1891
  };
1808
1892
  };
1893
+ export type DynamicInputData = {
1894
+ /**
1895
+ * Name of the function to execute for dynamic select
1896
+ */
1897
+ entrypoint_function: string;
1898
+ /**
1899
+ * Arguments to pass to the function
1900
+ */
1901
+ args?: {
1902
+ [key: string]: unknown;
1903
+ };
1904
+ runnable_ref: {
1905
+ source: 'deployed';
1906
+ /**
1907
+ * Path to the deployed script or flow
1908
+ */
1909
+ path: string;
1910
+ runnable_kind: RunnableKind;
1911
+ } | {
1912
+ source: 'inline';
1913
+ /**
1914
+ * Code content for inline execution
1915
+ */
1916
+ code: string;
1917
+ language?: ScriptLang;
1918
+ };
1919
+ };
1809
1920
  export type WindmillLargeFile = {
1810
1921
  s3: string;
1811
1922
  };
@@ -1842,6 +1953,10 @@ export type WorkspaceDefaultScripts = {
1842
1953
  hidden?: Array<(string)>;
1843
1954
  default_script_content?: unknown;
1844
1955
  };
1956
+ export type S3PermissionRule = {
1957
+ pattern: string;
1958
+ allow: string;
1959
+ };
1845
1960
  export type GitRepositorySettings = {
1846
1961
  script_path: string;
1847
1962
  git_repo_resource_path: string;
@@ -1856,10 +1971,6 @@ export type GitRepositorySettings = {
1856
1971
  };
1857
1972
  exclude_types_override?: Array<GitSyncObjectType>;
1858
1973
  };
1859
- export type UploadFilePart = {
1860
- part_number: number;
1861
- tag: string;
1862
- };
1863
1974
  export type MetricMetadata = {
1864
1975
  id: string;
1865
1976
  name?: string;
@@ -2165,6 +2276,10 @@ export type ParameterIncludeHeader = string;
2165
2276
  *
2166
2277
  */
2167
2278
  export type ParameterQueueLimit = string;
2279
+ /**
2280
+ * skip the preprocessor
2281
+ */
2282
+ export type ParameterSkipPreprocessor = boolean;
2168
2283
  /**
2169
2284
  * The base64 encoded payload that has been encoded as a JSON. e.g how to encode such payload encodeURIComponent
2170
2285
  * `encodeURIComponent(btoa(JSON.stringify({a: 2})))`
@@ -2460,6 +2575,11 @@ export type DeleteUserData = {
2460
2575
  workspace: string;
2461
2576
  };
2462
2577
  export type DeleteUserResponse = string;
2578
+ export type ConvertUserToGroupData = {
2579
+ username: string;
2580
+ workspace: string;
2581
+ };
2582
+ export type ConvertUserToGroupResponse = string;
2463
2583
  export type GetCurrentEmailResponse = string;
2464
2584
  export type RefreshUserTokenData = {
2465
2585
  ifExpiringInLessThanS?: number;
@@ -2483,7 +2603,6 @@ export type GetRunnableResponse = {
2483
2603
  workspace: string;
2484
2604
  endpoint_async: string;
2485
2605
  endpoint_sync: string;
2486
- endpoint_openai_sync: string;
2487
2606
  summary: string;
2488
2607
  description?: string;
2489
2608
  kind: string;
@@ -2855,6 +2974,14 @@ export type SetThresholdAlertData = {
2855
2974
  workspace: string;
2856
2975
  };
2857
2976
  export type SetThresholdAlertResponse = string;
2977
+ export type RebuildDependencyMapData = {
2978
+ workspace: string;
2979
+ };
2980
+ export type RebuildDependencyMapResponse = string;
2981
+ export type GetDependencyMapData = {
2982
+ workspace: string;
2983
+ };
2984
+ export type GetDependencyMapResponse = Array<DependencyMap>;
2858
2985
  export type EditSlackCommandData = {
2859
2986
  /**
2860
2987
  * WorkspaceInvite
@@ -2876,6 +3003,10 @@ export type EditTeamsCommandData = {
2876
3003
  };
2877
3004
  export type EditTeamsCommandResponse = string;
2878
3005
  export type ListAvailableTeamsIdsData = {
3006
+ /**
3007
+ * Search teams by name
3008
+ */
3009
+ search?: string;
2879
3010
  workspace: string;
2880
3011
  };
2881
3012
  export type ListAvailableTeamsIdsResponse = Array<{
@@ -2883,13 +3014,19 @@ export type ListAvailableTeamsIdsResponse = Array<{
2883
3014
  team_id?: string;
2884
3015
  }>;
2885
3016
  export type ListAvailableTeamsChannelsData = {
3017
+ /**
3018
+ * Search channels by name
3019
+ */
3020
+ search?: string;
3021
+ /**
3022
+ * Microsoft Teams team ID
3023
+ */
3024
+ teamId: string;
2886
3025
  workspace: string;
2887
3026
  };
2888
3027
  export type ListAvailableTeamsChannelsResponse = Array<{
2889
3028
  channel_name?: string;
2890
3029
  channel_id?: string;
2891
- service_url?: string;
2892
- tenant_id?: string;
2893
3030
  }>;
2894
3031
  export type ConnectTeamsData = {
2895
3032
  /**
@@ -3450,7 +3587,10 @@ export type CreateAccountData = {
3450
3587
  * code endpoint
3451
3588
  */
3452
3589
  requestBody: {
3453
- refresh_token?: string;
3590
+ /**
3591
+ * OAuth refresh token. For authorization_code flow, this contains the actual refresh token. For client_credentials flow, this must be set to an empty string.
3592
+ */
3593
+ refresh_token: string;
3454
3594
  expires_in: number;
3455
3595
  client: string;
3456
3596
  grant_type?: string;
@@ -3540,7 +3680,6 @@ export type GetOauthConnectResponse = {
3540
3680
  scopes?: Array<(string)>;
3541
3681
  grant_types?: Array<(string)>;
3542
3682
  };
3543
- export type SyncTeamsResponse = Array<TeamInfo>;
3544
3683
  export type SendMessageToConversationData = {
3545
3684
  requestBody: {
3546
3685
  /**
@@ -4132,6 +4271,11 @@ export type GetPublicSecretOfAppData = {
4132
4271
  workspace: string;
4133
4272
  };
4134
4273
  export type GetPublicSecretOfAppResponse = string;
4274
+ export type GetPublicSecretOfLatestVersionOfAppData = {
4275
+ path: string;
4276
+ workspace: string;
4277
+ };
4278
+ export type GetPublicSecretOfLatestVersionOfAppResponse = string;
4135
4279
  export type GetAppByVersionData = {
4136
4280
  id: number;
4137
4281
  workspace: string;
@@ -4683,34 +4827,6 @@ export type RunScriptByPathData = {
4683
4827
  workspace: string;
4684
4828
  };
4685
4829
  export type RunScriptByPathResponse = string;
4686
- export type OpenaiSyncScriptByPathData = {
4687
- /**
4688
- * List of headers's keys (separated with ',') whove value are added to the args
4689
- * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
4690
- *
4691
- */
4692
- includeHeader?: string;
4693
- /**
4694
- * The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)
4695
- */
4696
- jobId?: string;
4697
- /**
4698
- * The parent job that is at the origin and responsible for the execution of this script if any
4699
- */
4700
- parentJob?: string;
4701
- path: string;
4702
- /**
4703
- * The maximum size of the queue for which the request would get rejected if that job would push it above that limit
4704
- *
4705
- */
4706
- queueLimit?: string;
4707
- /**
4708
- * script args
4709
- */
4710
- requestBody: ScriptArgs;
4711
- workspace: string;
4712
- };
4713
- export type OpenaiSyncScriptByPathResponse = unknown;
4714
4830
  export type RunWaitResultScriptByPathData = {
4715
4831
  /**
4716
4832
  * Override the cache time to live (in seconds). Can not be used to disable caching, only override with a new cache ttl
@@ -4740,6 +4856,10 @@ export type RunWaitResultScriptByPathData = {
4740
4856
  * script args
4741
4857
  */
4742
4858
  requestBody: ScriptArgs;
4859
+ /**
4860
+ * skip the preprocessor
4861
+ */
4862
+ skipPreprocessor?: boolean;
4743
4863
  /**
4744
4864
  * Override the tag to use
4745
4865
  */
@@ -4778,6 +4898,10 @@ export type RunWaitResultScriptByPathGetData = {
4778
4898
  *
4779
4899
  */
4780
4900
  queueLimit?: string;
4901
+ /**
4902
+ * skip the preprocessor
4903
+ */
4904
+ skipPreprocessor?: boolean;
4781
4905
  /**
4782
4906
  * Override the tag to use
4783
4907
  */
@@ -4785,7 +4909,7 @@ export type RunWaitResultScriptByPathGetData = {
4785
4909
  workspace: string;
4786
4910
  };
4787
4911
  export type RunWaitResultScriptByPathGetResponse = unknown;
4788
- export type OpenaiSyncFlowByPathData = {
4912
+ export type RunWaitResultFlowByPathData = {
4789
4913
  /**
4790
4914
  * List of headers's keys (separated with ',') whove value are added to the args
4791
4915
  * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
@@ -4796,6 +4920,10 @@ export type OpenaiSyncFlowByPathData = {
4796
4920
  * The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)
4797
4921
  */
4798
4922
  jobId?: string;
4923
+ /**
4924
+ * memory ID for chat-enabled flows
4925
+ */
4926
+ memoryId?: string;
4799
4927
  path: string;
4800
4928
  /**
4801
4929
  * The maximum size of the queue for which the request would get rejected if that job would push it above that limit
@@ -4806,10 +4934,14 @@ export type OpenaiSyncFlowByPathData = {
4806
4934
  * script args
4807
4935
  */
4808
4936
  requestBody: ScriptArgs;
4937
+ /**
4938
+ * skip the preprocessor
4939
+ */
4940
+ skipPreprocessor?: boolean;
4809
4941
  workspace: string;
4810
4942
  };
4811
- export type OpenaiSyncFlowByPathResponse = unknown;
4812
- export type RunWaitResultFlowByPathData = {
4943
+ export type RunWaitResultFlowByPathResponse = unknown;
4944
+ export type RunAndStreamFlowByPathData = {
4813
4945
  /**
4814
4946
  * List of headers's keys (separated with ',') whove value are added to the args
4815
4947
  * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
@@ -4820,110 +4952,80 @@ export type RunWaitResultFlowByPathData = {
4820
4952
  * The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)
4821
4953
  */
4822
4954
  jobId?: string;
4955
+ /**
4956
+ * memory ID for chat-enabled flows
4957
+ */
4958
+ memoryId?: string;
4823
4959
  path: string;
4960
+ /**
4961
+ * delay between polling for job updates in milliseconds
4962
+ */
4963
+ pollDelayMs?: number;
4824
4964
  /**
4825
4965
  * The maximum size of the queue for which the request would get rejected if that job would push it above that limit
4826
4966
  *
4827
4967
  */
4828
4968
  queueLimit?: string;
4829
4969
  /**
4830
- * script args
4970
+ * flow args
4831
4971
  */
4832
4972
  requestBody: ScriptArgs;
4973
+ /**
4974
+ * skip the preprocessor
4975
+ */
4976
+ skipPreprocessor?: boolean;
4833
4977
  workspace: string;
4834
4978
  };
4835
- export type RunWaitResultFlowByPathResponse = unknown;
4836
- export type ResultByIdData = {
4837
- flowJobId: string;
4838
- nodeId: string;
4839
- workspace: string;
4840
- };
4841
- export type ResultByIdResponse = unknown;
4842
- export type RunFlowByPathData = {
4979
+ export type RunAndStreamFlowByPathResponse = string;
4980
+ export type RunAndStreamFlowByPathGetData = {
4843
4981
  /**
4844
4982
  * List of headers's keys (separated with ',') whove value are added to the args
4845
4983
  * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
4846
4984
  *
4847
4985
  */
4848
4986
  includeHeader?: string;
4849
- /**
4850
- * make the run invisible to the the flow owner (default false)
4851
- */
4852
- invisibleToOwner?: boolean;
4853
4987
  /**
4854
4988
  * The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)
4855
4989
  */
4856
4990
  jobId?: string;
4857
4991
  /**
4858
- * The parent job that is at the origin and responsible for the execution of this script if any
4992
+ * memory ID for chat-enabled flows
4859
4993
  */
4860
- parentJob?: string;
4994
+ memoryId?: string;
4861
4995
  path: string;
4862
4996
  /**
4863
- * flow args
4997
+ * The base64 encoded payload that has been encoded as a JSON. e.g how to encode such payload encodeURIComponent
4998
+ * `encodeURIComponent(btoa(JSON.stringify({a: 2})))`
4999
+ *
4864
5000
  */
4865
- requestBody: ScriptArgs;
5001
+ payload?: string;
4866
5002
  /**
4867
- * when to schedule this job (leave empty for immediate run)
5003
+ * delay between polling for job updates in milliseconds
4868
5004
  */
4869
- scheduledFor?: string;
5005
+ pollDelayMs?: number;
4870
5006
  /**
4871
- * schedule the script to execute in the number of seconds starting now
5007
+ * The maximum size of the queue for which the request would get rejected if that job would push it above that limit
5008
+ *
4872
5009
  */
4873
- scheduledInSecs?: number;
5010
+ queueLimit?: string;
4874
5011
  /**
4875
5012
  * skip the preprocessor
4876
5013
  */
4877
5014
  skipPreprocessor?: boolean;
4878
- /**
4879
- * Override the tag to use
4880
- */
4881
- tag?: string;
4882
- workspace: string;
4883
- };
4884
- export type RunFlowByPathResponse = string;
4885
- export type BatchReRunJobsData = {
4886
- /**
4887
- * list of job ids to re run and arg tranforms
4888
- */
4889
- requestBody: {
4890
- job_ids: Array<(string)>;
4891
- script_options_by_path: {
4892
- [key: string]: {
4893
- input_transforms?: {
4894
- [key: string]: InputTransform;
4895
- };
4896
- use_latest_version?: boolean;
4897
- };
4898
- };
4899
- flow_options_by_path: {
4900
- [key: string]: {
4901
- input_transforms?: {
4902
- [key: string]: InputTransform;
4903
- };
4904
- use_latest_version?: boolean;
4905
- };
4906
- };
4907
- };
4908
5015
  workspace: string;
4909
5016
  };
4910
- export type BatchReRunJobsResponse = string;
4911
- export type RestartFlowAtStepData = {
5017
+ export type RunAndStreamFlowByPathGetResponse = string;
5018
+ export type RunAndStreamScriptByPathData = {
4912
5019
  /**
4913
- * for branchall or loop, the iteration at which the flow should restart
5020
+ * Override the cache time to live (in seconds). Can not be used to disable caching, only override with a new cache ttl
4914
5021
  */
4915
- branchOrIterationN: number;
4916
- id: string;
5022
+ cacheTtl?: string;
4917
5023
  /**
4918
5024
  * List of headers's keys (separated with ',') whove value are added to the args
4919
5025
  * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
4920
5026
  *
4921
5027
  */
4922
5028
  includeHeader?: string;
4923
- /**
4924
- * make the run invisible to the the flow owner (default false)
4925
- */
4926
- invisibleToOwner?: boolean;
4927
5029
  /**
4928
5030
  * The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)
4929
5031
  */
@@ -4932,45 +5034,42 @@ export type RestartFlowAtStepData = {
4932
5034
  * The parent job that is at the origin and responsible for the execution of this script if any
4933
5035
  */
4934
5036
  parentJob?: string;
5037
+ path: string;
4935
5038
  /**
4936
- * flow args
5039
+ * delay between polling for job updates in milliseconds
4937
5040
  */
4938
- requestBody: ScriptArgs;
5041
+ pollDelayMs?: number;
4939
5042
  /**
4940
- * when to schedule this job (leave empty for immediate run)
5043
+ * The maximum size of the queue for which the request would get rejected if that job would push it above that limit
5044
+ *
4941
5045
  */
4942
- scheduledFor?: string;
5046
+ queueLimit?: string;
4943
5047
  /**
4944
- * schedule the script to execute in the number of seconds starting now
5048
+ * script args
4945
5049
  */
4946
- scheduledInSecs?: number;
5050
+ requestBody: ScriptArgs;
4947
5051
  /**
4948
- * step id to restart the flow from
5052
+ * skip the preprocessor
4949
5053
  */
4950
- stepId: string;
5054
+ skipPreprocessor?: boolean;
4951
5055
  /**
4952
5056
  * Override the tag to use
4953
5057
  */
4954
5058
  tag?: string;
4955
5059
  workspace: string;
4956
5060
  };
4957
- export type RestartFlowAtStepResponse = string;
4958
- export type RunScriptByHashData = {
5061
+ export type RunAndStreamScriptByPathResponse = string;
5062
+ export type RunAndStreamScriptByPathGetData = {
4959
5063
  /**
4960
5064
  * Override the cache time to live (in seconds). Can not be used to disable caching, only override with a new cache ttl
4961
5065
  */
4962
5066
  cacheTtl?: string;
4963
- hash: string;
4964
5067
  /**
4965
5068
  * List of headers's keys (separated with ',') whove value are added to the args
4966
5069
  * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
4967
5070
  *
4968
5071
  */
4969
5072
  includeHeader?: string;
4970
- /**
4971
- * make the run invisible to the the script owner (default false)
4972
- */
4973
- invisibleToOwner?: boolean;
4974
5073
  /**
4975
5074
  * The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)
4976
5075
  */
@@ -4979,20 +5078,22 @@ export type RunScriptByHashData = {
4979
5078
  * The parent job that is at the origin and responsible for the execution of this script if any
4980
5079
  */
4981
5080
  parentJob?: string;
5081
+ path: string;
4982
5082
  /**
4983
- * Partially filled args
5083
+ * The base64 encoded payload that has been encoded as a JSON. e.g how to encode such payload encodeURIComponent
5084
+ * `encodeURIComponent(btoa(JSON.stringify({a: 2})))`
5085
+ *
4984
5086
  */
4985
- requestBody: {
4986
- [key: string]: unknown;
4987
- };
5087
+ payload?: string;
4988
5088
  /**
4989
- * when to schedule this job (leave empty for immediate run)
5089
+ * delay between polling for job updates in milliseconds
4990
5090
  */
4991
- scheduledFor?: string;
5091
+ pollDelayMs?: number;
4992
5092
  /**
4993
- * schedule the script to execute in the number of seconds starting now
5093
+ * The maximum size of the queue for which the request would get rejected if that job would push it above that limit
5094
+ *
4994
5095
  */
4995
- scheduledInSecs?: number;
5096
+ queueLimit?: string;
4996
5097
  /**
4997
5098
  * skip the preprocessor
4998
5099
  */
@@ -5003,24 +5104,289 @@ export type RunScriptByHashData = {
5003
5104
  tag?: string;
5004
5105
  workspace: string;
5005
5106
  };
5006
- export type RunScriptByHashResponse = string;
5007
- export type RunScriptPreviewData = {
5107
+ export type RunAndStreamScriptByPathGetResponse = string;
5108
+ export type RunAndStreamScriptByHashData = {
5109
+ /**
5110
+ * Override the cache time to live (in seconds). Can not be used to disable caching, only override with a new cache ttl
5111
+ */
5112
+ cacheTtl?: string;
5113
+ hash: string;
5008
5114
  /**
5009
5115
  * List of headers's keys (separated with ',') whove value are added to the args
5010
5116
  * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
5011
5117
  *
5012
5118
  */
5013
5119
  includeHeader?: string;
5014
- /**
5015
- * make the run invisible to the the script owner (default false)
5016
- */
5017
- invisibleToOwner?: boolean;
5018
5120
  /**
5019
5121
  * The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)
5020
5122
  */
5021
5123
  jobId?: string;
5022
5124
  /**
5023
- * preview
5125
+ * The parent job that is at the origin and responsible for the execution of this script if any
5126
+ */
5127
+ parentJob?: string;
5128
+ /**
5129
+ * delay between polling for job updates in milliseconds
5130
+ */
5131
+ pollDelayMs?: number;
5132
+ /**
5133
+ * The maximum size of the queue for which the request would get rejected if that job would push it above that limit
5134
+ *
5135
+ */
5136
+ queueLimit?: string;
5137
+ /**
5138
+ * script args
5139
+ */
5140
+ requestBody: ScriptArgs;
5141
+ /**
5142
+ * skip the preprocessor
5143
+ */
5144
+ skipPreprocessor?: boolean;
5145
+ /**
5146
+ * Override the tag to use
5147
+ */
5148
+ tag?: string;
5149
+ workspace: string;
5150
+ };
5151
+ export type RunAndStreamScriptByHashResponse = string;
5152
+ export type RunAndStreamScriptByHashGetData = {
5153
+ /**
5154
+ * Override the cache time to live (in seconds). Can not be used to disable caching, only override with a new cache ttl
5155
+ */
5156
+ cacheTtl?: string;
5157
+ hash: string;
5158
+ /**
5159
+ * List of headers's keys (separated with ',') whove value are added to the args
5160
+ * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
5161
+ *
5162
+ */
5163
+ includeHeader?: string;
5164
+ /**
5165
+ * The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)
5166
+ */
5167
+ jobId?: string;
5168
+ /**
5169
+ * The parent job that is at the origin and responsible for the execution of this script if any
5170
+ */
5171
+ parentJob?: string;
5172
+ /**
5173
+ * The base64 encoded payload that has been encoded as a JSON. e.g how to encode such payload encodeURIComponent
5174
+ * `encodeURIComponent(btoa(JSON.stringify({a: 2})))`
5175
+ *
5176
+ */
5177
+ payload?: string;
5178
+ /**
5179
+ * delay between polling for job updates in milliseconds
5180
+ */
5181
+ pollDelayMs?: number;
5182
+ /**
5183
+ * The maximum size of the queue for which the request would get rejected if that job would push it above that limit
5184
+ *
5185
+ */
5186
+ queueLimit?: string;
5187
+ /**
5188
+ * skip the preprocessor
5189
+ */
5190
+ skipPreprocessor?: boolean;
5191
+ /**
5192
+ * Override the tag to use
5193
+ */
5194
+ tag?: string;
5195
+ workspace: string;
5196
+ };
5197
+ export type RunAndStreamScriptByHashGetResponse = string;
5198
+ export type ResultByIdData = {
5199
+ flowJobId: string;
5200
+ nodeId: string;
5201
+ workspace: string;
5202
+ };
5203
+ export type ResultByIdResponse = unknown;
5204
+ export type RunFlowByPathData = {
5205
+ /**
5206
+ * List of headers's keys (separated with ',') whove value are added to the args
5207
+ * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
5208
+ *
5209
+ */
5210
+ includeHeader?: string;
5211
+ /**
5212
+ * make the run invisible to the the flow owner (default false)
5213
+ */
5214
+ invisibleToOwner?: boolean;
5215
+ /**
5216
+ * The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)
5217
+ */
5218
+ jobId?: string;
5219
+ /**
5220
+ * memory ID for chat-enabled flows
5221
+ */
5222
+ memoryId?: string;
5223
+ /**
5224
+ * The parent job that is at the origin and responsible for the execution of this script if any
5225
+ */
5226
+ parentJob?: string;
5227
+ path: string;
5228
+ /**
5229
+ * flow args
5230
+ */
5231
+ requestBody: ScriptArgs;
5232
+ /**
5233
+ * when to schedule this job (leave empty for immediate run)
5234
+ */
5235
+ scheduledFor?: string;
5236
+ /**
5237
+ * schedule the script to execute in the number of seconds starting now
5238
+ */
5239
+ scheduledInSecs?: number;
5240
+ /**
5241
+ * skip the preprocessor
5242
+ */
5243
+ skipPreprocessor?: boolean;
5244
+ /**
5245
+ * Override the tag to use
5246
+ */
5247
+ tag?: string;
5248
+ workspace: string;
5249
+ };
5250
+ export type RunFlowByPathResponse = string;
5251
+ export type BatchReRunJobsData = {
5252
+ /**
5253
+ * list of job ids to re run and arg tranforms
5254
+ */
5255
+ requestBody: {
5256
+ job_ids: Array<(string)>;
5257
+ script_options_by_path: {
5258
+ [key: string]: {
5259
+ input_transforms?: {
5260
+ [key: string]: InputTransform;
5261
+ };
5262
+ use_latest_version?: boolean;
5263
+ };
5264
+ };
5265
+ flow_options_by_path: {
5266
+ [key: string]: {
5267
+ input_transforms?: {
5268
+ [key: string]: InputTransform;
5269
+ };
5270
+ use_latest_version?: boolean;
5271
+ };
5272
+ };
5273
+ };
5274
+ workspace: string;
5275
+ };
5276
+ export type BatchReRunJobsResponse = string;
5277
+ export type RestartFlowAtStepData = {
5278
+ /**
5279
+ * for branchall or loop, the iteration at which the flow should restart
5280
+ */
5281
+ branchOrIterationN: number;
5282
+ id: string;
5283
+ /**
5284
+ * List of headers's keys (separated with ',') whove value are added to the args
5285
+ * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
5286
+ *
5287
+ */
5288
+ includeHeader?: string;
5289
+ /**
5290
+ * make the run invisible to the the flow owner (default false)
5291
+ */
5292
+ invisibleToOwner?: boolean;
5293
+ /**
5294
+ * The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)
5295
+ */
5296
+ jobId?: string;
5297
+ /**
5298
+ * The parent job that is at the origin and responsible for the execution of this script if any
5299
+ */
5300
+ parentJob?: string;
5301
+ /**
5302
+ * flow args
5303
+ */
5304
+ requestBody: ScriptArgs;
5305
+ /**
5306
+ * when to schedule this job (leave empty for immediate run)
5307
+ */
5308
+ scheduledFor?: string;
5309
+ /**
5310
+ * schedule the script to execute in the number of seconds starting now
5311
+ */
5312
+ scheduledInSecs?: number;
5313
+ /**
5314
+ * step id to restart the flow from
5315
+ */
5316
+ stepId: string;
5317
+ /**
5318
+ * Override the tag to use
5319
+ */
5320
+ tag?: string;
5321
+ workspace: string;
5322
+ };
5323
+ export type RestartFlowAtStepResponse = string;
5324
+ export type RunScriptByHashData = {
5325
+ /**
5326
+ * Override the cache time to live (in seconds). Can not be used to disable caching, only override with a new cache ttl
5327
+ */
5328
+ cacheTtl?: string;
5329
+ hash: string;
5330
+ /**
5331
+ * List of headers's keys (separated with ',') whove value are added to the args
5332
+ * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
5333
+ *
5334
+ */
5335
+ includeHeader?: string;
5336
+ /**
5337
+ * make the run invisible to the the script owner (default false)
5338
+ */
5339
+ invisibleToOwner?: boolean;
5340
+ /**
5341
+ * The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)
5342
+ */
5343
+ jobId?: string;
5344
+ /**
5345
+ * The parent job that is at the origin and responsible for the execution of this script if any
5346
+ */
5347
+ parentJob?: string;
5348
+ /**
5349
+ * Partially filled args
5350
+ */
5351
+ requestBody: {
5352
+ [key: string]: unknown;
5353
+ };
5354
+ /**
5355
+ * when to schedule this job (leave empty for immediate run)
5356
+ */
5357
+ scheduledFor?: string;
5358
+ /**
5359
+ * schedule the script to execute in the number of seconds starting now
5360
+ */
5361
+ scheduledInSecs?: number;
5362
+ /**
5363
+ * skip the preprocessor
5364
+ */
5365
+ skipPreprocessor?: boolean;
5366
+ /**
5367
+ * Override the tag to use
5368
+ */
5369
+ tag?: string;
5370
+ workspace: string;
5371
+ };
5372
+ export type RunScriptByHashResponse = string;
5373
+ export type RunScriptPreviewData = {
5374
+ /**
5375
+ * List of headers's keys (separated with ',') whove value are added to the args
5376
+ * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
5377
+ *
5378
+ */
5379
+ includeHeader?: string;
5380
+ /**
5381
+ * make the run invisible to the the script owner (default false)
5382
+ */
5383
+ invisibleToOwner?: boolean;
5384
+ /**
5385
+ * The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)
5386
+ */
5387
+ jobId?: string;
5388
+ /**
5389
+ * preview
5024
5390
  */
5025
5391
  requestBody: Preview;
5026
5392
  workspace: string;
@@ -5087,6 +5453,14 @@ export type RunFlowPreviewAndWaitResultData = {
5087
5453
  workspace: string;
5088
5454
  };
5089
5455
  export type RunFlowPreviewAndWaitResultResponse = unknown;
5456
+ export type RunDynamicSelectData = {
5457
+ /**
5458
+ * dynamic select request
5459
+ */
5460
+ requestBody: DynamicInputData;
5461
+ workspace: string;
5462
+ };
5463
+ export type RunDynamicSelectResponse = string;
5090
5464
  export type ListQueueData = {
5091
5465
  /**
5092
5466
  * allow wildcards (*) in the filter of label, tag, worker
@@ -5426,6 +5800,7 @@ export type ListFilteredQueueUuidsData = {
5426
5800
  };
5427
5801
  export type ListFilteredQueueUuidsResponse = Array<(string)>;
5428
5802
  export type CancelSelectionData = {
5803
+ forceCancel?: boolean;
5429
5804
  /**
5430
5805
  * uuids of the jobs to cancel
5431
5806
  */
@@ -5700,6 +6075,14 @@ export type GetJobArgsData = {
5700
6075
  workspace: string;
5701
6076
  };
5702
6077
  export type GetJobArgsResponse = unknown;
6078
+ export type GetStartedAtByIdsData = {
6079
+ /**
6080
+ * ids
6081
+ */
6082
+ requestBody: Array<(string)>;
6083
+ workspace: string;
6084
+ };
6085
+ export type GetStartedAtByIdsResponse = Array<(string)>;
5703
6086
  export type GetJobUpdatesData = {
5704
6087
  getProgress?: boolean;
5705
6088
  id: string;
@@ -6058,6 +6441,46 @@ export type ListExtendedJobsData = {
6058
6441
  workspace: string;
6059
6442
  };
6060
6443
  export type ListExtendedJobsResponse = ExtendedJobs;
6444
+ export type ListFlowConversationsData = {
6445
+ /**
6446
+ * filter conversations by flow path
6447
+ */
6448
+ flowPath?: string;
6449
+ /**
6450
+ * which page to return (start at 1, default 1)
6451
+ */
6452
+ page?: number;
6453
+ /**
6454
+ * number of items to return for a given page (default 30, max 100)
6455
+ */
6456
+ perPage?: number;
6457
+ workspace: string;
6458
+ };
6459
+ export type ListFlowConversationsResponse = Array<FlowConversation>;
6460
+ export type DeleteFlowConversationData = {
6461
+ /**
6462
+ * conversation id
6463
+ */
6464
+ conversationId: string;
6465
+ workspace: string;
6466
+ };
6467
+ export type DeleteFlowConversationResponse = string;
6468
+ export type ListConversationMessagesData = {
6469
+ /**
6470
+ * conversation id
6471
+ */
6472
+ conversationId: string;
6473
+ /**
6474
+ * which page to return (start at 1, default 1)
6475
+ */
6476
+ page?: number;
6477
+ /**
6478
+ * number of items to return for a given page (default 30, max 100)
6479
+ */
6480
+ perPage?: number;
6481
+ workspace: string;
6482
+ };
6483
+ export type ListConversationMessagesResponse = Array<FlowConversationMessage>;
6061
6484
  export type ListRawAppsData = {
6062
6485
  /**
6063
6486
  * mask to filter exact matching user creator
@@ -7271,6 +7694,14 @@ export type DeleteConfigData = {
7271
7694
  export type DeleteConfigResponse = string;
7272
7695
  export type ListConfigsResponse = Array<Config>;
7273
7696
  export type ListAutoscalingEventsData = {
7697
+ /**
7698
+ * which page to return (start at 1, default 1)
7699
+ */
7700
+ page?: number;
7701
+ /**
7702
+ * number of items to return for a given page (default 30, max 100)
7703
+ */
7704
+ perPage?: number;
7274
7705
  workerGroup: string;
7275
7706
  };
7276
7707
  export type ListAutoscalingEventsResponse = Array<AutoscalingEvent>;
@@ -8259,7 +8690,21 @@ export type $OpenApiTs = {
8259
8690
  };
8260
8691
  res: {
8261
8692
  /**
8262
- * delete user
8693
+ * delete user
8694
+ */
8695
+ 200: string;
8696
+ };
8697
+ };
8698
+ };
8699
+ '/w/{workspace}/users/convert_to_group/{username}': {
8700
+ post: {
8701
+ req: {
8702
+ username: string;
8703
+ workspace: string;
8704
+ };
8705
+ res: {
8706
+ /**
8707
+ * convert user to group user
8263
8708
  */
8264
8709
  200: string;
8265
8710
  };
@@ -8346,7 +8791,6 @@ export type $OpenApiTs = {
8346
8791
  workspace: string;
8347
8792
  endpoint_async: string;
8348
8793
  endpoint_sync: string;
8349
- endpoint_openai_sync: string;
8350
8794
  summary: string;
8351
8795
  description?: string;
8352
8796
  kind: string;
@@ -9170,6 +9614,32 @@ export type $OpenApiTs = {
9170
9614
  };
9171
9615
  };
9172
9616
  };
9617
+ '/w/{workspace}/workspaces/rebuild_dependency_map': {
9618
+ post: {
9619
+ req: {
9620
+ workspace: string;
9621
+ };
9622
+ res: {
9623
+ /**
9624
+ * status
9625
+ */
9626
+ 200: string;
9627
+ };
9628
+ };
9629
+ };
9630
+ '/w/{workspace}/workspaces/get_dependency_map': {
9631
+ get: {
9632
+ req: {
9633
+ workspace: string;
9634
+ };
9635
+ res: {
9636
+ /**
9637
+ * dmap
9638
+ */
9639
+ 200: Array<DependencyMap>;
9640
+ };
9641
+ };
9642
+ };
9173
9643
  '/w/{workspace}/workspaces/edit_slack_command': {
9174
9644
  post: {
9175
9645
  req: {
@@ -9211,6 +9681,10 @@ export type $OpenApiTs = {
9211
9681
  '/w/{workspace}/workspaces/available_teams_ids': {
9212
9682
  get: {
9213
9683
  req: {
9684
+ /**
9685
+ * Search teams by name
9686
+ */
9687
+ search?: string;
9214
9688
  workspace: string;
9215
9689
  };
9216
9690
  res: {
@@ -9227,17 +9701,23 @@ export type $OpenApiTs = {
9227
9701
  '/w/{workspace}/workspaces/available_teams_channels': {
9228
9702
  get: {
9229
9703
  req: {
9704
+ /**
9705
+ * Search channels by name
9706
+ */
9707
+ search?: string;
9708
+ /**
9709
+ * Microsoft Teams team ID
9710
+ */
9711
+ teamId: string;
9230
9712
  workspace: string;
9231
9713
  };
9232
9714
  res: {
9233
9715
  /**
9234
- * status
9716
+ * List of channels for the specified team
9235
9717
  */
9236
9718
  200: Array<{
9237
9719
  channel_name?: string;
9238
9720
  channel_id?: string;
9239
- service_url?: string;
9240
- tenant_id?: string;
9241
9721
  }>;
9242
9722
  };
9243
9723
  };
@@ -10382,7 +10862,10 @@ export type $OpenApiTs = {
10382
10862
  * code endpoint
10383
10863
  */
10384
10864
  requestBody: {
10385
- refresh_token?: string;
10865
+ /**
10866
+ * OAuth refresh token. For authorization_code flow, this contains the actual refresh token. For client_credentials flow, this must be set to an empty string.
10867
+ */
10868
+ refresh_token: string;
10386
10869
  expires_in: number;
10387
10870
  client: string;
10388
10871
  grant_type?: string;
@@ -10551,16 +11034,6 @@ export type $OpenApiTs = {
10551
11034
  };
10552
11035
  };
10553
11036
  };
10554
- '/teams/sync': {
10555
- post: {
10556
- res: {
10557
- /**
10558
- * Teams information successfully synchronized
10559
- */
10560
- 200: Array<TeamInfo>;
10561
- };
10562
- };
10563
- };
10564
11037
  '/teams/activities': {
10565
11038
  post: {
10566
11039
  req: {
@@ -11710,6 +12183,20 @@ export type $OpenApiTs = {
11710
12183
  };
11711
12184
  };
11712
12185
  };
12186
+ '/w/{workspace}/apps/secret_of_latest_version/{path}': {
12187
+ get: {
12188
+ req: {
12189
+ path: string;
12190
+ workspace: string;
12191
+ };
12192
+ res: {
12193
+ /**
12194
+ * app secret
12195
+ */
12196
+ 200: string;
12197
+ };
12198
+ };
12199
+ };
11713
12200
  '/w/{workspace}/apps/get/v/{id}': {
11714
12201
  get: {
11715
12202
  req: {
@@ -12616,94 +13103,276 @@ export type $OpenApiTs = {
12616
13103
  /**
12617
13104
  * queue running counts
12618
13105
  */
12619
- 200: {
12620
- [key: string]: (number);
12621
- };
12622
- };
12623
- };
12624
- };
12625
- '/w/{workspace}/jobs/list_selected_job_groups': {
12626
- post: {
12627
- req: {
13106
+ 200: {
13107
+ [key: string]: (number);
13108
+ };
13109
+ };
13110
+ };
13111
+ };
13112
+ '/w/{workspace}/jobs/list_selected_job_groups': {
13113
+ post: {
13114
+ req: {
13115
+ /**
13116
+ * script args
13117
+ */
13118
+ requestBody: Array<(string)>;
13119
+ workspace: string;
13120
+ };
13121
+ res: {
13122
+ /**
13123
+ * result
13124
+ */
13125
+ 200: Array<{
13126
+ kind: 'script' | 'flow';
13127
+ script_path: string;
13128
+ latest_schema: {
13129
+ [key: string]: unknown;
13130
+ };
13131
+ schemas: Array<{
13132
+ schema: {
13133
+ [key: string]: unknown;
13134
+ };
13135
+ script_hash: string;
13136
+ job_ids: Array<(string)>;
13137
+ }>;
13138
+ }>;
13139
+ };
13140
+ };
13141
+ };
13142
+ '/w/{workspace}/jobs/run/p/{path}': {
13143
+ post: {
13144
+ req: {
13145
+ /**
13146
+ * Override the cache time to live (in seconds). Can not be used to disable caching, only override with a new cache ttl
13147
+ */
13148
+ cacheTtl?: string;
13149
+ /**
13150
+ * make the run invisible to the the script owner (default false)
13151
+ */
13152
+ invisibleToOwner?: boolean;
13153
+ /**
13154
+ * The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)
13155
+ */
13156
+ jobId?: string;
13157
+ /**
13158
+ * The parent job that is at the origin and responsible for the execution of this script if any
13159
+ */
13160
+ parentJob?: string;
13161
+ path: string;
13162
+ /**
13163
+ * script args
13164
+ */
13165
+ requestBody: ScriptArgs;
13166
+ /**
13167
+ * when to schedule this job (leave empty for immediate run)
13168
+ */
13169
+ scheduledFor?: string;
13170
+ /**
13171
+ * schedule the script to execute in the number of seconds starting now
13172
+ */
13173
+ scheduledInSecs?: number;
13174
+ /**
13175
+ * skip the preprocessor
13176
+ */
13177
+ skipPreprocessor?: boolean;
13178
+ /**
13179
+ * Override the tag to use
13180
+ */
13181
+ tag?: string;
13182
+ workspace: string;
13183
+ };
13184
+ res: {
13185
+ /**
13186
+ * job created
13187
+ */
13188
+ 201: string;
13189
+ };
13190
+ };
13191
+ };
13192
+ '/w/{workspace}/jobs/run_wait_result/p/{path}': {
13193
+ post: {
13194
+ req: {
13195
+ /**
13196
+ * Override the cache time to live (in seconds). Can not be used to disable caching, only override with a new cache ttl
13197
+ */
13198
+ cacheTtl?: string;
13199
+ /**
13200
+ * List of headers's keys (separated with ',') whove value are added to the args
13201
+ * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
13202
+ *
13203
+ */
13204
+ includeHeader?: string;
13205
+ /**
13206
+ * The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)
13207
+ */
13208
+ jobId?: string;
13209
+ /**
13210
+ * The parent job that is at the origin and responsible for the execution of this script if any
13211
+ */
13212
+ parentJob?: string;
13213
+ path: string;
13214
+ /**
13215
+ * The maximum size of the queue for which the request would get rejected if that job would push it above that limit
13216
+ *
13217
+ */
13218
+ queueLimit?: string;
13219
+ /**
13220
+ * script args
13221
+ */
13222
+ requestBody: ScriptArgs;
13223
+ /**
13224
+ * skip the preprocessor
13225
+ */
13226
+ skipPreprocessor?: boolean;
13227
+ /**
13228
+ * Override the tag to use
13229
+ */
13230
+ tag?: string;
13231
+ workspace: string;
13232
+ };
13233
+ res: {
13234
+ /**
13235
+ * job result
13236
+ */
13237
+ 200: unknown;
13238
+ };
13239
+ };
13240
+ get: {
13241
+ req: {
13242
+ /**
13243
+ * Override the cache time to live (in seconds). Can not be used to disable caching, only override with a new cache ttl
13244
+ */
13245
+ cacheTtl?: string;
13246
+ /**
13247
+ * List of headers's keys (separated with ',') whove value are added to the args
13248
+ * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
13249
+ *
13250
+ */
13251
+ includeHeader?: string;
13252
+ /**
13253
+ * The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)
13254
+ */
13255
+ jobId?: string;
13256
+ /**
13257
+ * The parent job that is at the origin and responsible for the execution of this script if any
13258
+ */
13259
+ parentJob?: string;
13260
+ path: string;
13261
+ /**
13262
+ * The base64 encoded payload that has been encoded as a JSON. e.g how to encode such payload encodeURIComponent
13263
+ * `encodeURIComponent(btoa(JSON.stringify({a: 2})))`
13264
+ *
13265
+ */
13266
+ payload?: string;
13267
+ /**
13268
+ * The maximum size of the queue for which the request would get rejected if that job would push it above that limit
13269
+ *
13270
+ */
13271
+ queueLimit?: string;
13272
+ /**
13273
+ * skip the preprocessor
13274
+ */
13275
+ skipPreprocessor?: boolean;
13276
+ /**
13277
+ * Override the tag to use
13278
+ */
13279
+ tag?: string;
13280
+ workspace: string;
13281
+ };
13282
+ res: {
13283
+ /**
13284
+ * job result
13285
+ */
13286
+ 200: unknown;
13287
+ };
13288
+ };
13289
+ };
13290
+ '/w/{workspace}/jobs/run_wait_result/f/{path}': {
13291
+ post: {
13292
+ req: {
13293
+ /**
13294
+ * List of headers's keys (separated with ',') whove value are added to the args
13295
+ * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
13296
+ *
13297
+ */
13298
+ includeHeader?: string;
13299
+ /**
13300
+ * The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)
13301
+ */
13302
+ jobId?: string;
13303
+ /**
13304
+ * memory ID for chat-enabled flows
13305
+ */
13306
+ memoryId?: string;
13307
+ path: string;
13308
+ /**
13309
+ * The maximum size of the queue for which the request would get rejected if that job would push it above that limit
13310
+ *
13311
+ */
13312
+ queueLimit?: string;
12628
13313
  /**
12629
13314
  * script args
12630
13315
  */
12631
- requestBody: Array<(string)>;
13316
+ requestBody: ScriptArgs;
13317
+ /**
13318
+ * skip the preprocessor
13319
+ */
13320
+ skipPreprocessor?: boolean;
12632
13321
  workspace: string;
12633
13322
  };
12634
13323
  res: {
12635
13324
  /**
12636
- * result
13325
+ * job result
12637
13326
  */
12638
- 200: Array<{
12639
- kind: 'script' | 'flow';
12640
- script_path: string;
12641
- latest_schema: {
12642
- [key: string]: unknown;
12643
- };
12644
- schemas: Array<{
12645
- schema: {
12646
- [key: string]: unknown;
12647
- };
12648
- script_hash: string;
12649
- job_ids: Array<(string)>;
12650
- }>;
12651
- }>;
13327
+ 200: unknown;
12652
13328
  };
12653
13329
  };
12654
13330
  };
12655
- '/w/{workspace}/jobs/run/p/{path}': {
13331
+ '/w/{workspace}/jobs/run_and_stream/f/{path}': {
12656
13332
  post: {
12657
13333
  req: {
12658
13334
  /**
12659
- * Override the cache time to live (in seconds). Can not be used to disable caching, only override with a new cache ttl
12660
- */
12661
- cacheTtl?: string;
12662
- /**
12663
- * make the run invisible to the the script owner (default false)
13335
+ * List of headers's keys (separated with ',') whove value are added to the args
13336
+ * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
13337
+ *
12664
13338
  */
12665
- invisibleToOwner?: boolean;
13339
+ includeHeader?: string;
12666
13340
  /**
12667
13341
  * The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)
12668
13342
  */
12669
13343
  jobId?: string;
12670
13344
  /**
12671
- * The parent job that is at the origin and responsible for the execution of this script if any
13345
+ * memory ID for chat-enabled flows
12672
13346
  */
12673
- parentJob?: string;
13347
+ memoryId?: string;
12674
13348
  path: string;
12675
13349
  /**
12676
- * script args
13350
+ * delay between polling for job updates in milliseconds
12677
13351
  */
12678
- requestBody: ScriptArgs;
13352
+ pollDelayMs?: number;
12679
13353
  /**
12680
- * when to schedule this job (leave empty for immediate run)
13354
+ * The maximum size of the queue for which the request would get rejected if that job would push it above that limit
13355
+ *
12681
13356
  */
12682
- scheduledFor?: string;
13357
+ queueLimit?: string;
12683
13358
  /**
12684
- * schedule the script to execute in the number of seconds starting now
13359
+ * flow args
12685
13360
  */
12686
- scheduledInSecs?: number;
13361
+ requestBody: ScriptArgs;
12687
13362
  /**
12688
13363
  * skip the preprocessor
12689
13364
  */
12690
13365
  skipPreprocessor?: boolean;
12691
- /**
12692
- * Override the tag to use
12693
- */
12694
- tag?: string;
12695
13366
  workspace: string;
12696
13367
  };
12697
13368
  res: {
12698
13369
  /**
12699
- * job created
13370
+ * server-sent events stream of job updates
12700
13371
  */
12701
- 201: string;
13372
+ 200: string;
12702
13373
  };
12703
13374
  };
12704
- };
12705
- '/w/{workspace}/jobs/openai_sync/p/{path}': {
12706
- post: {
13375
+ get: {
12707
13376
  req: {
12708
13377
  /**
12709
13378
  * List of headers's keys (separated with ',') whove value are added to the args
@@ -12716,30 +13385,40 @@ export type $OpenApiTs = {
12716
13385
  */
12717
13386
  jobId?: string;
12718
13387
  /**
12719
- * The parent job that is at the origin and responsible for the execution of this script if any
13388
+ * memory ID for chat-enabled flows
12720
13389
  */
12721
- parentJob?: string;
13390
+ memoryId?: string;
12722
13391
  path: string;
13392
+ /**
13393
+ * The base64 encoded payload that has been encoded as a JSON. e.g how to encode such payload encodeURIComponent
13394
+ * `encodeURIComponent(btoa(JSON.stringify({a: 2})))`
13395
+ *
13396
+ */
13397
+ payload?: string;
13398
+ /**
13399
+ * delay between polling for job updates in milliseconds
13400
+ */
13401
+ pollDelayMs?: number;
12723
13402
  /**
12724
13403
  * The maximum size of the queue for which the request would get rejected if that job would push it above that limit
12725
13404
  *
12726
13405
  */
12727
13406
  queueLimit?: string;
12728
13407
  /**
12729
- * script args
13408
+ * skip the preprocessor
12730
13409
  */
12731
- requestBody: ScriptArgs;
13410
+ skipPreprocessor?: boolean;
12732
13411
  workspace: string;
12733
13412
  };
12734
13413
  res: {
12735
13414
  /**
12736
- * job result
13415
+ * server-sent events stream of job updates
12737
13416
  */
12738
- 200: unknown;
13417
+ 200: string;
12739
13418
  };
12740
13419
  };
12741
13420
  };
12742
- '/w/{workspace}/jobs/run_wait_result/p/{path}': {
13421
+ '/w/{workspace}/jobs/run_and_stream/p/{path}': {
12743
13422
  post: {
12744
13423
  req: {
12745
13424
  /**
@@ -12761,6 +13440,10 @@ export type $OpenApiTs = {
12761
13440
  */
12762
13441
  parentJob?: string;
12763
13442
  path: string;
13443
+ /**
13444
+ * delay between polling for job updates in milliseconds
13445
+ */
13446
+ pollDelayMs?: number;
12764
13447
  /**
12765
13448
  * The maximum size of the queue for which the request would get rejected if that job would push it above that limit
12766
13449
  *
@@ -12770,6 +13453,10 @@ export type $OpenApiTs = {
12770
13453
  * script args
12771
13454
  */
12772
13455
  requestBody: ScriptArgs;
13456
+ /**
13457
+ * skip the preprocessor
13458
+ */
13459
+ skipPreprocessor?: boolean;
12773
13460
  /**
12774
13461
  * Override the tag to use
12775
13462
  */
@@ -12778,9 +13465,9 @@ export type $OpenApiTs = {
12778
13465
  };
12779
13466
  res: {
12780
13467
  /**
12781
- * job result
13468
+ * server-sent events stream of job updates
12782
13469
  */
12783
- 200: unknown;
13470
+ 200: string;
12784
13471
  };
12785
13472
  };
12786
13473
  get: {
@@ -12810,11 +13497,19 @@ export type $OpenApiTs = {
12810
13497
  *
12811
13498
  */
12812
13499
  payload?: string;
13500
+ /**
13501
+ * delay between polling for job updates in milliseconds
13502
+ */
13503
+ pollDelayMs?: number;
12813
13504
  /**
12814
13505
  * The maximum size of the queue for which the request would get rejected if that job would push it above that limit
12815
13506
  *
12816
13507
  */
12817
13508
  queueLimit?: string;
13509
+ /**
13510
+ * skip the preprocessor
13511
+ */
13512
+ skipPreprocessor?: boolean;
12818
13513
  /**
12819
13514
  * Override the tag to use
12820
13515
  */
@@ -12823,15 +13518,20 @@ export type $OpenApiTs = {
12823
13518
  };
12824
13519
  res: {
12825
13520
  /**
12826
- * job result
13521
+ * server-sent events stream of job updates
12827
13522
  */
12828
- 200: unknown;
13523
+ 200: string;
12829
13524
  };
12830
13525
  };
12831
13526
  };
12832
- '/w/{workspace}/jobs/openai_sync/f/{path}': {
13527
+ '/w/{workspace}/jobs/run_and_stream/h/{hash}': {
12833
13528
  post: {
12834
13529
  req: {
13530
+ /**
13531
+ * Override the cache time to live (in seconds). Can not be used to disable caching, only override with a new cache ttl
13532
+ */
13533
+ cacheTtl?: string;
13534
+ hash: string;
12835
13535
  /**
12836
13536
  * List of headers's keys (separated with ',') whove value are added to the args
12837
13537
  * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
@@ -12842,7 +13542,14 @@ export type $OpenApiTs = {
12842
13542
  * The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)
12843
13543
  */
12844
13544
  jobId?: string;
12845
- path: string;
13545
+ /**
13546
+ * The parent job that is at the origin and responsible for the execution of this script if any
13547
+ */
13548
+ parentJob?: string;
13549
+ /**
13550
+ * delay between polling for job updates in milliseconds
13551
+ */
13552
+ pollDelayMs?: number;
12846
13553
  /**
12847
13554
  * The maximum size of the queue for which the request would get rejected if that job would push it above that limit
12848
13555
  *
@@ -12852,19 +13559,30 @@ export type $OpenApiTs = {
12852
13559
  * script args
12853
13560
  */
12854
13561
  requestBody: ScriptArgs;
13562
+ /**
13563
+ * skip the preprocessor
13564
+ */
13565
+ skipPreprocessor?: boolean;
13566
+ /**
13567
+ * Override the tag to use
13568
+ */
13569
+ tag?: string;
12855
13570
  workspace: string;
12856
13571
  };
12857
13572
  res: {
12858
13573
  /**
12859
- * job result
13574
+ * server-sent events stream of job updates
12860
13575
  */
12861
- 200: unknown;
13576
+ 200: string;
12862
13577
  };
12863
13578
  };
12864
- };
12865
- '/w/{workspace}/jobs/run_wait_result/f/{path}': {
12866
- post: {
13579
+ get: {
12867
13580
  req: {
13581
+ /**
13582
+ * Override the cache time to live (in seconds). Can not be used to disable caching, only override with a new cache ttl
13583
+ */
13584
+ cacheTtl?: string;
13585
+ hash: string;
12868
13586
  /**
12869
13587
  * List of headers's keys (separated with ',') whove value are added to the args
12870
13588
  * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
@@ -12875,23 +13593,40 @@ export type $OpenApiTs = {
12875
13593
  * The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)
12876
13594
  */
12877
13595
  jobId?: string;
12878
- path: string;
13596
+ /**
13597
+ * The parent job that is at the origin and responsible for the execution of this script if any
13598
+ */
13599
+ parentJob?: string;
13600
+ /**
13601
+ * The base64 encoded payload that has been encoded as a JSON. e.g how to encode such payload encodeURIComponent
13602
+ * `encodeURIComponent(btoa(JSON.stringify({a: 2})))`
13603
+ *
13604
+ */
13605
+ payload?: string;
13606
+ /**
13607
+ * delay between polling for job updates in milliseconds
13608
+ */
13609
+ pollDelayMs?: number;
12879
13610
  /**
12880
13611
  * The maximum size of the queue for which the request would get rejected if that job would push it above that limit
12881
13612
  *
12882
13613
  */
12883
13614
  queueLimit?: string;
12884
13615
  /**
12885
- * script args
13616
+ * skip the preprocessor
12886
13617
  */
12887
- requestBody: ScriptArgs;
13618
+ skipPreprocessor?: boolean;
13619
+ /**
13620
+ * Override the tag to use
13621
+ */
13622
+ tag?: string;
12888
13623
  workspace: string;
12889
13624
  };
12890
13625
  res: {
12891
13626
  /**
12892
- * job result
13627
+ * server-sent events stream of job updates
12893
13628
  */
12894
- 200: unknown;
13629
+ 200: string;
12895
13630
  };
12896
13631
  };
12897
13632
  };
@@ -12927,6 +13662,10 @@ export type $OpenApiTs = {
12927
13662
  * The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)
12928
13663
  */
12929
13664
  jobId?: string;
13665
+ /**
13666
+ * memory ID for chat-enabled flows
13667
+ */
13668
+ memoryId?: string;
12930
13669
  /**
12931
13670
  * The parent job that is at the origin and responsible for the execution of this script if any
12932
13671
  */
@@ -13248,6 +13987,23 @@ export type $OpenApiTs = {
13248
13987
  };
13249
13988
  };
13250
13989
  };
13990
+ '/w/{workspace}/jobs/run/dynamic_select': {
13991
+ post: {
13992
+ req: {
13993
+ /**
13994
+ * dynamic select request
13995
+ */
13996
+ requestBody: DynamicInputData;
13997
+ workspace: string;
13998
+ };
13999
+ res: {
14000
+ /**
14001
+ * dynamic select job created
14002
+ */
14003
+ 201: string;
14004
+ };
14005
+ };
14006
+ };
13251
14007
  '/w/{workspace}/jobs/queue/list': {
13252
14008
  get: {
13253
14009
  req: {
@@ -13643,6 +14399,7 @@ export type $OpenApiTs = {
13643
14399
  '/w/{workspace}/jobs/queue/cancel_selection': {
13644
14400
  post: {
13645
14401
  req: {
14402
+ forceCancel?: boolean;
13646
14403
  /**
13647
14404
  * uuids of the jobs to cancel
13648
14405
  */
@@ -14005,6 +14762,23 @@ export type $OpenApiTs = {
14005
14762
  };
14006
14763
  };
14007
14764
  };
14765
+ '/w/{workspace}/jobs_u/queue/get_started_at_by_ids': {
14766
+ post: {
14767
+ req: {
14768
+ /**
14769
+ * ids
14770
+ */
14771
+ requestBody: Array<(string)>;
14772
+ workspace: string;
14773
+ };
14774
+ res: {
14775
+ /**
14776
+ * started at by ids
14777
+ */
14778
+ 200: Array<(string)>;
14779
+ };
14780
+ };
14781
+ };
14008
14782
  '/w/{workspace}/jobs_u/getupdate/{id}': {
14009
14783
  get: {
14010
14784
  req: {
@@ -14591,6 +15365,73 @@ export type $OpenApiTs = {
14591
15365
  };
14592
15366
  };
14593
15367
  };
15368
+ '/w/{workspace}/flow_conversations/list': {
15369
+ get: {
15370
+ req: {
15371
+ /**
15372
+ * filter conversations by flow path
15373
+ */
15374
+ flowPath?: string;
15375
+ /**
15376
+ * which page to return (start at 1, default 1)
15377
+ */
15378
+ page?: number;
15379
+ /**
15380
+ * number of items to return for a given page (default 30, max 100)
15381
+ */
15382
+ perPage?: number;
15383
+ workspace: string;
15384
+ };
15385
+ res: {
15386
+ /**
15387
+ * flow conversations list
15388
+ */
15389
+ 200: Array<FlowConversation>;
15390
+ };
15391
+ };
15392
+ };
15393
+ '/w/{workspace}/flow_conversations/delete/{conversation_id}': {
15394
+ delete: {
15395
+ req: {
15396
+ /**
15397
+ * conversation id
15398
+ */
15399
+ conversationId: string;
15400
+ workspace: string;
15401
+ };
15402
+ res: {
15403
+ /**
15404
+ * flow conversation deleted
15405
+ */
15406
+ 200: string;
15407
+ };
15408
+ };
15409
+ };
15410
+ '/w/{workspace}/flow_conversations/{conversation_id}/messages': {
15411
+ get: {
15412
+ req: {
15413
+ /**
15414
+ * conversation id
15415
+ */
15416
+ conversationId: string;
15417
+ /**
15418
+ * which page to return (start at 1, default 1)
15419
+ */
15420
+ page?: number;
15421
+ /**
15422
+ * number of items to return for a given page (default 30, max 100)
15423
+ */
15424
+ perPage?: number;
15425
+ workspace: string;
15426
+ };
15427
+ res: {
15428
+ /**
15429
+ * conversation messages
15430
+ */
15431
+ 200: Array<FlowConversationMessage>;
15432
+ };
15433
+ };
15434
+ };
14594
15435
  '/w/{workspace}/raw_apps/list': {
14595
15436
  get: {
14596
15437
  req: {
@@ -17037,6 +17878,14 @@ export type $OpenApiTs = {
17037
17878
  '/configs/list_autoscaling_events/{worker_group}': {
17038
17879
  get: {
17039
17880
  req: {
17881
+ /**
17882
+ * which page to return (start at 1, default 1)
17883
+ */
17884
+ page?: number;
17885
+ /**
17886
+ * number of items to return for a given page (default 30, max 100)
17887
+ */
17888
+ perPage?: number;
17040
17889
  workerGroup: string;
17041
17890
  };
17042
17891
  res: {