windmill-components 1.665.0 → 1.677.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 (254) hide show
  1. package/dist/sharedUtils/assets/tokens/colorTokensConfig.d.ts +2 -0
  2. package/dist/sharedUtils/base.d.ts +1 -0
  3. package/dist/sharedUtils/cloud.d.ts +1 -0
  4. package/dist/sharedUtils/common.d.ts +111 -0
  5. package/dist/sharedUtils/components/apps/components/display/dbtable/queries/count.d.ts +5 -0
  6. package/dist/sharedUtils/components/apps/components/display/dbtable/queries/delete.d.ts +5 -0
  7. package/dist/sharedUtils/components/apps/components/display/dbtable/queries/insert.d.ts +5 -0
  8. package/dist/sharedUtils/components/apps/components/display/dbtable/queries/select.d.ts +13 -0
  9. package/dist/sharedUtils/components/apps/components/display/dbtable/queries/update.d.ts +11 -0
  10. package/dist/sharedUtils/components/apps/components/display/dbtable/utils.d.ts +95 -0
  11. package/dist/sharedUtils/components/apps/editor/appPolicy.d.ts +6 -0
  12. package/dist/sharedUtils/components/apps/editor/appUtilsCore.d.ts +7 -0
  13. package/dist/sharedUtils/components/apps/editor/appUtilsS3.d.ts +33 -0
  14. package/dist/sharedUtils/components/apps/editor/commonAppUtils.d.ts +10 -0
  15. package/dist/sharedUtils/components/apps/editor/component/components.d.ts +5371 -0
  16. package/dist/sharedUtils/components/apps/editor/component/default-codes.d.ts +3 -0
  17. package/dist/sharedUtils/components/apps/editor/component/index.d.ts +3 -0
  18. package/dist/sharedUtils/components/apps/editor/component/sets.d.ts +7 -0
  19. package/dist/sharedUtils/components/apps/editor/componentsPanel/componentDefaultProps.d.ts +3 -0
  20. package/dist/sharedUtils/components/apps/gridUtils.d.ts +14 -0
  21. package/dist/sharedUtils/components/apps/inputType.d.ts +178 -0
  22. package/dist/sharedUtils/components/apps/rx.d.ts +29 -0
  23. package/dist/sharedUtils/components/apps/sharedTypes.d.ts +21 -0
  24. package/dist/sharedUtils/components/apps/types.d.ts +274 -0
  25. package/dist/sharedUtils/components/assets/lib.d.ts +25 -0
  26. package/dist/sharedUtils/components/common/alert/model.d.ts +2 -0
  27. package/dist/sharedUtils/components/common/badge/model.d.ts +8 -0
  28. package/dist/sharedUtils/components/common/button/model.d.ts +45 -0
  29. package/dist/sharedUtils/components/common/fileInput/model.d.ts +1 -0
  30. package/dist/sharedUtils/components/common/index.d.ts +24 -0
  31. package/dist/sharedUtils/components/common/skeleton/model.d.ts +21 -0
  32. package/dist/sharedUtils/components/dbTypes.d.ts +14 -0
  33. package/dist/sharedUtils/components/diff_drawer.d.ts +26 -0
  34. package/dist/sharedUtils/components/ducklake.d.ts +1 -0
  35. package/dist/sharedUtils/components/flows/scheduleUtils.d.ts +7 -0
  36. package/dist/sharedUtils/components/icons/index.d.ts +101 -0
  37. package/dist/sharedUtils/components/random_positive_adjetive.d.ts +1 -0
  38. package/dist/sharedUtils/components/raw_apps/rawAppPolicy.d.ts +10 -0
  39. package/dist/sharedUtils/components/raw_apps/utils.d.ts +15 -0
  40. package/dist/sharedUtils/components/triggers/email/utils.d.ts +4 -0
  41. package/dist/sharedUtils/components/triggers/gcp/utils.d.ts +2 -0
  42. package/dist/sharedUtils/components/triggers/http/utils.d.ts +11 -0
  43. package/dist/sharedUtils/components/triggers/kafka/utils.d.ts +2 -0
  44. package/dist/sharedUtils/components/triggers/mqtt/utils.d.ts +2 -0
  45. package/dist/sharedUtils/components/triggers/nats/utils.d.ts +2 -0
  46. package/dist/sharedUtils/components/triggers/postgres/utils.d.ts +8 -0
  47. package/dist/sharedUtils/components/triggers/sqs/utils.d.ts +2 -0
  48. package/dist/sharedUtils/components/triggers/triggers.svelte.d.ts +32 -0
  49. package/dist/sharedUtils/components/triggers/utils.d.ts +80 -0
  50. package/dist/sharedUtils/components/triggers/websocket/utils.d.ts +2 -0
  51. package/dist/sharedUtils/components/triggers.d.ts +20 -0
  52. package/dist/sharedUtils/gen/core/ApiError.d.ts +10 -0
  53. package/dist/sharedUtils/gen/core/ApiRequestOptions.d.ts +13 -0
  54. package/dist/sharedUtils/gen/core/ApiResult.d.ts +7 -0
  55. package/dist/sharedUtils/gen/core/CancelablePromise.d.ts +26 -0
  56. package/dist/sharedUtils/gen/core/OpenAPI.d.ts +27 -0
  57. package/dist/sharedUtils/gen/core/request.d.ts +29 -0
  58. package/dist/sharedUtils/gen/index.d.ts +6 -0
  59. package/dist/sharedUtils/gen/schemas.gen.d.ts +7036 -0
  60. package/dist/sharedUtils/gen/services.gen.d.ts +6047 -0
  61. package/dist/sharedUtils/gen/types.gen.d.ts +21881 -0
  62. package/dist/sharedUtils/history.svelte.d.ts +9 -0
  63. package/dist/sharedUtils/hub.d.ts +49 -0
  64. package/dist/sharedUtils/jsr.json +6 -0
  65. package/dist/sharedUtils/lib.d.ts +5 -0
  66. package/dist/sharedUtils/lib.es.js +1588 -0
  67. package/dist/sharedUtils/package.json +12 -0
  68. package/dist/sharedUtils/schema.d.ts +3 -0
  69. package/dist/sharedUtils/stores.d.ts +97 -0
  70. package/dist/sharedUtils/svelte5Utils.svelte.d.ts +80 -0
  71. package/dist/sharedUtils/toast.d.ts +8 -0
  72. package/dist/sharedUtils/utils.d.ts +265 -0
  73. package/package/components/AddUser.svelte +67 -34
  74. package/package/components/AppConnectInner.svelte +9 -1
  75. package/package/components/ArgInfo.svelte +9 -1
  76. package/package/components/ArgInput.svelte +21 -1
  77. package/package/components/CompareWorkspaces.svelte +11 -2
  78. package/package/components/DedicatedWorkersSelector.svelte +262 -247
  79. package/package/components/DefaultTagsInner.svelte +40 -2
  80. package/package/components/DeployWorkspace.svelte +13 -0
  81. package/package/components/DiffEditor.svelte +44 -1
  82. package/package/components/EditableSchemaForm.svelte +5 -2
  83. package/package/components/EditableSchemaForm.svelte.d.ts +1 -0
  84. package/package/components/Editor.svelte +5 -1
  85. package/package/components/EditorBar.svelte +12 -3
  86. package/package/components/FilterSearchbar.svelte +26 -2
  87. package/package/components/FlowBuilder.svelte +6 -3
  88. package/package/components/FlowGraphDiffViewer.svelte +16 -17
  89. package/package/components/FlowGraphViewer.svelte +20 -6
  90. package/package/components/FlowGraphViewer.svelte.d.ts +2 -0
  91. package/package/components/FlowGraphViewerStep.svelte +14 -32
  92. package/package/components/FlowMetadata.svelte +4 -1
  93. package/package/components/FlowPreviewContent.svelte +2 -0
  94. package/package/components/FlowStatusWaitingForEvents.svelte +25 -4
  95. package/package/components/HighlightCode.svelte +3 -0
  96. package/package/components/InstanceSetting.svelte +9 -25
  97. package/package/components/InstanceSettings.svelte +16 -0
  98. package/package/components/LabelsInput.svelte +149 -0
  99. package/package/components/LabelsInput.svelte.d.ts +8 -0
  100. package/package/components/Login.svelte +6 -1
  101. package/package/components/ObjectStoreConfigSettings.svelte +273 -1
  102. package/package/components/OktaSetting.svelte +6 -5
  103. package/package/components/Password.svelte +74 -20
  104. package/package/components/Password.svelte.d.ts +1 -0
  105. package/package/components/PasswordArgInput.svelte +2 -2
  106. package/package/components/PasswordArgInput.svelte.d.ts +1 -0
  107. package/package/components/Path.svelte +8 -10
  108. package/package/components/PathNameAutocomplete.svelte +308 -0
  109. package/package/components/PathNameAutocomplete.svelte.d.ts +27 -0
  110. package/package/components/PowerShellCommonParams.svelte +84 -0
  111. package/package/components/PowerShellCommonParams.svelte.d.ts +6 -0
  112. package/package/components/Range.svelte +8 -3
  113. package/package/components/ResourceEditor.svelte +6 -2
  114. package/package/components/RunForm.svelte +71 -7
  115. package/package/components/RunForm.svelte.d.ts +2 -1
  116. package/package/components/ScriptBuilder.svelte +7 -3
  117. package/package/components/ScriptEditor.svelte +221 -187
  118. package/package/components/ScriptEditor.svelte.d.ts +1 -1
  119. package/package/components/ScriptSchema.svelte +1 -1
  120. package/package/components/StringTypeNarrowing.svelte +1 -1
  121. package/package/components/StringTypeNarrowing.svelte.d.ts +1 -1
  122. package/package/components/SummaryPathDisplay.svelte +32 -10
  123. package/package/components/SummaryPathDisplay.svelte.d.ts +2 -1
  124. package/package/components/VariableEditor.svelte +9 -2
  125. package/package/components/WorkerGroup.svelte +47 -2
  126. package/package/components/apps/editor/DeploymentHistory.svelte +112 -13
  127. package/package/components/apps/editor/inlineScriptsPanel/InlineScriptRunnableByPath.svelte +135 -35
  128. package/package/components/apps/editor/inlineScriptsPanel/InlineScriptRunnableByPath.svelte.d.ts +3 -1
  129. package/package/components/apps/editor/settingsPanel/mainInput/RunnableSelector.svelte +11 -35
  130. package/package/components/apps/editor/settingsPanel/mainInput/runnableSelectorUtils.d.ts +10 -0
  131. package/package/components/apps/editor/settingsPanel/mainInput/runnableSelectorUtils.js +14 -0
  132. package/package/components/apps/editor/settingsPanel/mainInput/runnableSelectorUtils.test.d.ts +1 -0
  133. package/package/components/apps/editor/settingsPanel/mainInput/runnableSelectorUtils.test.js +34 -0
  134. package/package/components/assets/AssetButtons.svelte +21 -25
  135. package/package/components/assets/AssetsUsageDrawer.svelte +7 -9
  136. package/package/components/common/fileUpload/FileUpload.svelte +6 -2
  137. package/package/components/common/languageIcons/LanguageIcon.svelte +3 -0
  138. package/package/components/common/table/AppRow.svelte +18 -0
  139. package/package/components/common/table/FlowRow.svelte +18 -0
  140. package/package/components/common/table/ScriptRow.svelte +18 -0
  141. package/package/components/copilot/chat/AIChatManager.svelte.js +3 -3
  142. package/package/components/copilot/chat/flow/openFlow.json +1 -1
  143. package/package/components/copilot/chat/flow/openFlowZod.js +3 -3
  144. package/package/components/custom_ui.d.ts +2 -0
  145. package/package/components/details/DetailPageHeader.svelte +2 -2
  146. package/package/components/details/DetailPageHeader.svelte.d.ts +2 -1
  147. package/package/components/flows/agentToolUtils.d.ts +5 -0
  148. package/package/components/flows/agentToolUtils.js +49 -0
  149. package/package/components/flows/agentToolUtils.test.d.ts +1 -0
  150. package/package/components/flows/agentToolUtils.test.js +55 -0
  151. package/package/components/flows/content/FlowInput.svelte +2 -0
  152. package/package/components/flows/content/FlowInputsQuick.svelte +1 -1
  153. package/package/components/flows/content/FlowLoop.svelte +5 -12
  154. package/package/components/flows/content/FlowModuleScript.svelte +5 -3
  155. package/package/components/flows/content/FlowPathViewer.svelte +2 -2
  156. package/package/components/flows/content/FlowPathViewer.svelte.d.ts +1 -0
  157. package/package/components/flows/content/FlowSettings.svelte +2 -0
  158. package/package/components/flows/content/FlowWhileLoop.svelte +5 -12
  159. package/package/components/flows/flowInfers.js +8 -3
  160. package/package/components/flows/map/FlowModuleSchemaMap.svelte +49 -9
  161. package/package/components/flows/pickers/PickHubScriptQuick.svelte +5 -3
  162. package/package/components/flows/pickers/PickHubScriptQuick.svelte.d.ts +1 -1
  163. package/package/components/flows/scheduleUtils.js +2 -1
  164. package/package/components/graph/FlowGraphV2.svelte +13 -1
  165. package/package/components/graph/WacDiagram.svelte +96 -0
  166. package/package/components/graph/WacDiagram.svelte.d.ts +7 -0
  167. package/package/components/graph/noteEditor.svelte.d.ts +1 -1
  168. package/package/components/graph/noteEditor.svelte.js +12 -1
  169. package/package/components/graph/noteUtils.svelte.d.ts +1 -1
  170. package/package/components/graph/noteUtils.svelte.js +9 -2
  171. package/package/components/graph/renderers/edges/WacEdge.svelte +41 -0
  172. package/package/components/graph/renderers/edges/WacEdge.svelte.d.ts +4 -0
  173. package/package/components/graph/renderers/nodes/WacControlNode.svelte +51 -0
  174. package/package/components/graph/renderers/nodes/WacControlNode.svelte.d.ts +9 -0
  175. package/package/components/graph/renderers/nodes/WacStepNode.svelte +35 -0
  176. package/package/components/graph/renderers/nodes/WacStepNode.svelte.d.ts +9 -0
  177. package/package/components/graph/wacDagLayout.d.ts +10 -0
  178. package/package/components/graph/wacDagLayout.js +120 -0
  179. package/package/components/graph/wacToFlow.js +1 -1
  180. package/package/components/home/ItemsList.svelte +28 -4
  181. package/package/components/icons/RIcon.svelte +32 -0
  182. package/package/components/icons/RIcon.svelte.d.ts +7 -0
  183. package/package/components/instanceSettings/DbHealth.svelte +723 -0
  184. package/package/components/instanceSettings/DbHealth.svelte.d.ts +3 -0
  185. package/package/components/instanceSettings/SecretBackendConfig.svelte +343 -304
  186. package/package/components/instanceSettings/SmtpSettings.svelte +8 -0
  187. package/package/components/instanceSettings.js +14 -5
  188. package/package/components/mcp/McpScopeSelector.svelte +82 -16
  189. package/package/components/moveRenameManager.d.ts +1 -0
  190. package/package/components/moveRenameManager.js +7 -4
  191. package/package/components/raw_apps/RawAppInlineScriptRunnable.svelte +14 -1
  192. package/package/components/raw_apps/rawAppPolicy.js +3 -2
  193. package/package/components/raw_apps/utils.test.d.ts +1 -0
  194. package/package/components/raw_apps/utils.test.js +38 -0
  195. package/package/components/recording/ScriptRecordingReplay.svelte +0 -1
  196. package/package/components/resources/resourcesFilter.d.ts +15 -2
  197. package/package/components/resources/resourcesFilter.js +11 -2
  198. package/package/components/runs/JobDetailFieldConfig.js +5 -3
  199. package/package/components/runs/JobDetailHeader.svelte +5 -2
  200. package/package/components/runs/JobRunsPreview.svelte +1 -0
  201. package/package/components/runs/RunBadges.svelte +7 -4
  202. package/package/components/runs/RunRow.svelte +7 -7
  203. package/package/components/schedules/schedulesFilter.d.ts +15 -2
  204. package/package/components/schedules/schedulesFilter.js +11 -2
  205. package/package/components/schema/EditableSchemaWrapper.svelte +6 -8
  206. package/package/components/schema/PropertyEditor.svelte +22 -1
  207. package/package/components/schema/PropertyEditor.svelte.d.ts +1 -0
  208. package/package/components/schema/editable_schema_wrapper.d.ts +1 -0
  209. package/package/components/secretArgUtils.d.ts +7 -0
  210. package/package/components/secretArgUtils.js +45 -0
  211. package/package/components/settings/WorkspaceUserSettings.svelte +359 -286
  212. package/package/components/sidebar/OperatorMenu.svelte +215 -197
  213. package/package/components/triggers/CaptureWrapper.svelte +1 -1
  214. package/package/components/triggers/TriggerFilters.svelte +17 -5
  215. package/package/components/triggers/TriggerFilters.svelte.d.ts +2 -1
  216. package/package/components/triggers/kafka/KafkaCapture.svelte +6 -2
  217. package/package/components/triggers/kafka/KafkaCapture.svelte.d.ts +1 -1
  218. package/package/components/triggers/kafka/KafkaTriggerEditorInner.svelte +5 -1
  219. package/package/components/triggers/kafka/utils.js +1 -0
  220. package/package/components/triggers/schedules/ScheduleEditorInner.svelte +6 -0
  221. package/package/components/triggers/websocket/WebsocketTriggerEditorInner.svelte +87 -1
  222. package/package/components/triggers/websocket/utils.js +2 -0
  223. package/package/components/variables/variablesFilter.d.ts +15 -2
  224. package/package/components/variables/variablesFilter.js +11 -2
  225. package/package/components/worker_group.js +1 -0
  226. package/package/components/workspaceSettings/DucklakeSettings.svelte +33 -41
  227. package/package/consts.d.ts +1 -0
  228. package/package/consts.js +1 -0
  229. package/package/editorLangUtils.d.ts +1 -1
  230. package/package/editorLangUtils.js +2 -0
  231. package/package/forLater.js +4 -0
  232. package/package/gen/core/OpenAPI.js +1 -1
  233. package/package/gen/schemas.gen.d.ts +94 -294
  234. package/package/gen/schemas.gen.js +94 -294
  235. package/package/gen/services.gen.d.ts +5 -121
  236. package/package/gen/services.gen.js +5 -237
  237. package/package/gen/types.gen.d.ts +91 -715
  238. package/package/hubPaths.json +6 -3
  239. package/package/infer.d.ts +55 -0
  240. package/package/infer.js +131 -0
  241. package/package/infer.svelte.js +2 -0
  242. package/package/mcpEndpointTools.js +213 -22
  243. package/package/script_helpers.d.ts +3 -0
  244. package/package/script_helpers.js +26 -0
  245. package/package/scripts.d.ts +2 -1
  246. package/package/scripts.js +15 -3
  247. package/package/stores.d.ts +2 -0
  248. package/package/system_prompts/prompts.d.ts +6 -5
  249. package/package/system_prompts/prompts.js +188 -29
  250. package/package/user.js +5 -1
  251. package/package/utils.js +21 -0
  252. package/package/utils_deployable.d.ts +7 -0
  253. package/package/utils_workspace_deploy.js +36 -8
  254. package/package.json +6 -5
@@ -61,7 +61,7 @@ export const $FlowValue = {
61
61
  description: 'Time window in seconds for concurrent_limit'
62
62
  },
63
63
  debounce_delay_s: {
64
- type: 'integer',
64
+ type: 'number',
65
65
  description: 'Delay in seconds to debounce flow executions'
66
66
  },
67
67
  debounce_key: {
@@ -76,11 +76,11 @@ export const $FlowValue = {
76
76
  }
77
77
  },
78
78
  max_total_debouncing_time: {
79
- type: 'integer',
79
+ type: 'number',
80
80
  description: 'Maximum total time in seconds that a job can be debounced'
81
81
  },
82
82
  max_total_debounces_amount: {
83
- type: 'integer',
83
+ type: 'number',
84
84
  description: 'Maximum number of times a job can be debounced'
85
85
  },
86
86
  skip_expr: {
@@ -117,42 +117,6 @@ export const $FlowValue = {
117
117
  items: {
118
118
  '$ref': '#/components/schemas/FlowNote'
119
119
  }
120
- },
121
- groups: {
122
- type: 'array',
123
- description: 'Semantic groups of modules for organizational purposes',
124
- items: {
125
- type: 'object',
126
- description: 'A semantic group of flow modules for organizational purposes. Does not affect execution — modules remain in their original position in the flow. Groups provide naming and collapsibility in the editor. Members are computed dynamically from all nodes on paths between start_id and end_id.',
127
- properties: {
128
- summary: {
129
- type: 'string',
130
- description: 'Display name for this group'
131
- },
132
- note: {
133
- type: 'string',
134
- description: 'Markdown note shown below the group header'
135
- },
136
- autocollapse: {
137
- type: 'boolean',
138
- default: false,
139
- description: 'If true, this group is collapsed by default in the flow editor. UI hint only.'
140
- },
141
- start_id: {
142
- type: 'string',
143
- description: 'ID of the first flow module in this group (topological entry point)'
144
- },
145
- end_id: {
146
- type: 'string',
147
- description: 'ID of the last flow module in this group (topological exit point)'
148
- },
149
- color: {
150
- type: 'string',
151
- description: 'Color for the group in the flow editor'
152
- }
153
- },
154
- required: ['start_id', 'end_id']
155
- }
156
120
  }
157
121
  },
158
122
  required: ['modules']
@@ -227,8 +191,7 @@ export const $StopAfterIf = {
227
191
  },
228
192
  error_message: {
229
193
  type: 'string',
230
- nullable: true,
231
- description: 'Custom error message when stopping with an error. Mutually exclusive with skip_if_stopped. If set to a non-empty string, the flow stops with this error. If empty string, a default error message is used. If null or omitted, no error is raised.'
194
+ description: 'Custom error message shown when stopping'
232
195
  }
233
196
  },
234
197
  required: ['expr']
@@ -354,35 +317,6 @@ export const $FlowModule = {
354
317
  retry: {
355
318
  description: 'Retry configuration if this step fails',
356
319
  '$ref': '#/components/schemas/Retry'
357
- },
358
- debouncing: {
359
- description: 'Debounce configuration for this step (EE only)',
360
- type: 'object',
361
- properties: {
362
- debounce_delay_s: {
363
- type: 'integer',
364
- description: "Delay in seconds to debounce this step's executions across flow runs"
365
- },
366
- debounce_key: {
367
- type: 'string',
368
- description: 'Expression to group debounced executions. Supports $workspace and $args[name]. Default: $workspace/flow/<flow_path>-<step_id>'
369
- },
370
- debounce_args_to_accumulate: {
371
- type: 'array',
372
- description: 'Array-type arguments to accumulate across debounced executions',
373
- items: {
374
- type: 'string'
375
- }
376
- },
377
- max_total_debouncing_time: {
378
- type: 'integer',
379
- description: 'Maximum total time in seconds before forced execution'
380
- },
381
- max_total_debounces_amount: {
382
- type: 'integer',
383
- description: 'Maximum number of debounces before forced execution'
384
- }
385
- }
386
320
  }
387
321
  },
388
322
  required: ['value', 'id']
@@ -2074,39 +2008,6 @@ export const $AIConfig = {
2074
2008
  }
2075
2009
  }
2076
2010
  };
2077
- export const $InstanceAIProviderSummary = {
2078
- type: 'object',
2079
- properties: {
2080
- provider: {
2081
- '$ref': '#/components/schemas/AIProvider'
2082
- },
2083
- models: {
2084
- type: 'array',
2085
- items: {
2086
- type: 'string'
2087
- }
2088
- }
2089
- },
2090
- required: ['provider', 'models']
2091
- };
2092
- export const $InstanceAISummary = {
2093
- type: 'object',
2094
- properties: {
2095
- providers: {
2096
- type: 'array',
2097
- items: {
2098
- '$ref': '#/components/schemas/InstanceAIProviderSummary'
2099
- }
2100
- },
2101
- default_model: {
2102
- '$ref': '#/components/schemas/AIProviderModel'
2103
- },
2104
- code_completion_model: {
2105
- '$ref': '#/components/schemas/AIProviderModel'
2106
- }
2107
- },
2108
- required: ['providers']
2109
- };
2110
2011
  export const $Alert = {
2111
2012
  type: 'object',
2112
2013
  properties: {
@@ -2331,8 +2232,8 @@ export const $Script = {
2331
2232
  visible_to_runner_only: {
2332
2233
  type: 'boolean'
2333
2234
  },
2334
- auto_kind: {
2335
- type: 'string'
2235
+ no_main_func: {
2236
+ type: 'boolean'
2336
2237
  },
2337
2238
  codebase: {
2338
2239
  type: 'string'
@@ -2342,17 +2243,9 @@ export const $Script = {
2342
2243
  },
2343
2244
  on_behalf_of_email: {
2344
2245
  type: 'string'
2345
- },
2346
- modules: {
2347
- type: 'object',
2348
- nullable: true,
2349
- description: 'Additional script modules keyed by relative file path',
2350
- additionalProperties: {
2351
- '$ref': '#/components/schemas/ScriptModule'
2352
- }
2353
2246
  }
2354
2247
  },
2355
- required: ['hash', 'path', 'summary', 'description', 'content', 'created_by', 'created_at', 'archived', 'deleted', 'is_template', 'extra_perms', 'language', 'kind', 'starred', 'has_preprocessor']
2248
+ required: ['hash', 'path', 'summary', 'description', 'content', 'created_by', 'created_at', 'archived', 'deleted', 'is_template', 'extra_perms', 'language', 'kind', 'starred', 'no_main_func', 'has_preprocessor']
2356
2249
  };
2357
2250
  export const $NewScript = {
2358
2251
  type: 'object',
@@ -2457,8 +2350,8 @@ export const $NewScript = {
2457
2350
  visible_to_runner_only: {
2458
2351
  type: 'boolean'
2459
2352
  },
2460
- auto_kind: {
2461
- type: 'string'
2353
+ no_main_func: {
2354
+ type: 'boolean'
2462
2355
  },
2463
2356
  codebase: {
2464
2357
  type: 'string'
@@ -2495,14 +2388,6 @@ export const $NewScript = {
2495
2388
  }
2496
2389
  }
2497
2390
  }
2498
- },
2499
- modules: {
2500
- type: 'object',
2501
- nullable: true,
2502
- description: 'Additional script modules keyed by relative file path',
2503
- additionalProperties: {
2504
- '$ref': '#/components/schemas/ScriptModule'
2505
- }
2506
2391
  }
2507
2392
  },
2508
2393
  required: ['path', 'summary', 'content', 'language']
@@ -3692,8 +3577,8 @@ export const $MainArgSignature = {
3692
3577
  required: ['name', 'typ']
3693
3578
  }
3694
3579
  },
3695
- auto_kind: {
3696
- type: 'string',
3580
+ no_main_func: {
3581
+ type: 'boolean',
3697
3582
  nullable: true
3698
3583
  },
3699
3584
  has_preprocessor: {
@@ -3701,31 +3586,12 @@ export const $MainArgSignature = {
3701
3586
  nullable: true
3702
3587
  }
3703
3588
  },
3704
- required: ['star_args', 'start_kwargs', 'args', 'type', 'error', 'auto_kind', 'has_preprocessor']
3589
+ required: ['star_args', 'start_kwargs', 'args', 'type', 'error', 'no_main_func', 'has_preprocessor']
3705
3590
  };
3706
3591
  export const $ScriptLang = {
3707
3592
  type: 'string',
3708
3593
  enum: ['python3', 'deno', 'go', 'bash', 'powershell', 'postgresql', 'mysql', 'bigquery', 'snowflake', 'mssql', 'oracledb', 'graphql', 'nativets', 'bun', 'php', 'rust', 'ansible', 'csharp', 'nu', 'java', 'ruby', 'duckdb', 'bunnative']
3709
3594
  };
3710
- export const $ScriptModule = {
3711
- type: 'object',
3712
- description: 'An additional module file associated with a script',
3713
- properties: {
3714
- content: {
3715
- type: 'string',
3716
- description: 'The source code content of this module'
3717
- },
3718
- language: {
3719
- '$ref': '#/components/schemas/ScriptLang'
3720
- },
3721
- lock: {
3722
- type: 'string',
3723
- nullable: true,
3724
- description: "Lock file content for this module's dependencies"
3725
- }
3726
- },
3727
- required: ['content', 'language']
3728
- };
3729
3595
  export const $Preview = {
3730
3596
  type: 'object',
3731
3597
  properties: {
@@ -3762,14 +3628,6 @@ export const $Preview = {
3762
3628
  },
3763
3629
  flow_path: {
3764
3630
  type: 'string'
3765
- },
3766
- modules: {
3767
- type: 'object',
3768
- nullable: true,
3769
- description: 'Additional script modules keyed by relative file path',
3770
- additionalProperties: {
3771
- '$ref': '#/components/schemas/ScriptModule'
3772
- }
3773
3631
  }
3774
3632
  },
3775
3633
  required: ['args']
@@ -4046,10 +3904,6 @@ export const $Schedule = {
4046
3904
  type: 'string',
4047
3905
  description: 'Email of the user who owns this schedule, used for permissioned_as'
4048
3906
  },
4049
- permissioned_as: {
4050
- type: 'string',
4051
- description: "The user or group this schedule runs as (e.g., 'u/admin' or 'g/mygroup')"
4052
- },
4053
3907
  error: {
4054
3908
  type: 'string',
4055
3909
  nullable: true,
@@ -4141,7 +3995,7 @@ export const $Schedule = {
4141
3995
  description: 'Path to a script that validates scheduled datetimes. Receives scheduled_for datetime and returns boolean to skip (true) or run (false)'
4142
3996
  }
4143
3997
  },
4144
- required: ['path', 'edited_by', 'edited_at', 'schedule', 'script_path', 'timezone', 'extra_perms', 'is_flow', 'enabled', 'email', 'permissioned_as']
3998
+ required: ['path', 'edited_by', 'edited_at', 'schedule', 'script_path', 'timezone', 'extra_perms', 'is_flow', 'enabled', 'email']
4145
3999
  };
4146
4000
  export const $ScheduleWJobs = {
4147
4001
  allOf: [
@@ -4293,13 +4147,13 @@ export const $NewSchedule = {
4293
4147
  nullable: true,
4294
4148
  description: 'Path to a script that validates scheduled datetimes. Receives scheduled_for datetime and returns boolean to skip (true) or run (false)'
4295
4149
  },
4296
- permissioned_as: {
4150
+ email: {
4297
4151
  type: 'string',
4298
- description: 'The user or group this schedule runs as. Used during deployment to preserve the original schedule owner.'
4152
+ description: 'Email of the user who the scheduled jobs run as. Used during deployment to preserve the original schedule owner.'
4299
4153
  },
4300
- preserve_permissioned_as: {
4154
+ preserve_email: {
4301
4155
  type: 'boolean',
4302
- description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
4156
+ description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it."
4303
4157
  }
4304
4158
  },
4305
4159
  required: ['path', 'schedule', 'timezone', 'script_path', 'is_flow', 'args']
@@ -4404,15 +4258,13 @@ export const $EditSchedule = {
4404
4258
  nullable: true,
4405
4259
  description: 'Path to a script that validates scheduled datetimes. Receives scheduled_for datetime and returns boolean to skip (true) or run (false)'
4406
4260
  },
4407
- permissioned_as: {
4261
+ email: {
4408
4262
  type: 'string',
4409
- nullable: true,
4410
- description: "The user or group this schedule runs as (e.g., 'u/admin' or 'g/mygroup'). Only admins and wm_deployers can set this via preserve_permissioned_as."
4263
+ description: 'Email of the user who the scheduled jobs run as. Used during deployment to preserve the original schedule owner.'
4411
4264
  },
4412
- preserve_permissioned_as: {
4265
+ preserve_email: {
4413
4266
  type: 'boolean',
4414
- nullable: true,
4415
- description: "If true and user is admin/wm_deployers, preserve the provided permissioned_as instead of using the deploying user's identity"
4267
+ description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it."
4416
4268
  }
4417
4269
  },
4418
4270
  required: ['schedule', 'timezone', 'args']
@@ -4438,9 +4290,9 @@ export const $TriggerExtraProperty = {
4438
4290
  type: 'string',
4439
4291
  description: 'Path to the script or flow to execute when triggered'
4440
4292
  },
4441
- permissioned_as: {
4293
+ email: {
4442
4294
  type: 'string',
4443
- description: 'The user or group this trigger runs as (permissioned_as)'
4295
+ description: 'Email of the user who owns this trigger, used for permissioned_as'
4444
4296
  },
4445
4297
  extra_perms: {
4446
4298
  type: 'object',
@@ -4471,7 +4323,7 @@ export const $TriggerExtraProperty = {
4471
4323
  description: 'Trigger mode (enabled/disabled)'
4472
4324
  }
4473
4325
  },
4474
- required: ['path', 'script_path', 'permissioned_as', 'extra_perms', 'workspace_id', 'edited_by', 'edited_at', 'is_flow', 'mode']
4326
+ required: ['path', 'script_path', 'email', 'extra_perms', 'workspace_id', 'edited_by', 'edited_at', 'is_flow', 'mode']
4475
4327
  };
4476
4328
  export const $AuthenticationMethod = {
4477
4329
  type: 'string',
@@ -4791,13 +4643,13 @@ export const $NewHttpTrigger = {
4791
4643
  '$ref': '#/components/schemas/Retry',
4792
4644
  description: 'Retry configuration for failed executions'
4793
4645
  },
4794
- permissioned_as: {
4646
+ email: {
4795
4647
  type: 'string',
4796
- description: 'The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.'
4648
+ description: 'Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.'
4797
4649
  },
4798
- preserve_permissioned_as: {
4650
+ preserve_email: {
4799
4651
  type: 'boolean',
4800
- description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
4652
+ description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it."
4801
4653
  }
4802
4654
  },
4803
4655
  required: ['path', 'script_path', 'route_path', 'is_flow', 'authentication_method', 'http_method', 'is_static_website']
@@ -4900,13 +4752,13 @@ export const $EditHttpTrigger = {
4900
4752
  '$ref': '#/components/schemas/Retry',
4901
4753
  description: 'Retry configuration for failed executions'
4902
4754
  },
4903
- permissioned_as: {
4755
+ email: {
4904
4756
  type: 'string',
4905
- description: 'The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.'
4757
+ description: 'Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.'
4906
4758
  },
4907
- preserve_permissioned_as: {
4759
+ preserve_email: {
4908
4760
  type: 'boolean',
4909
- description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
4761
+ description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it."
4910
4762
  }
4911
4763
  },
4912
4764
  required: ['path', 'script_path', 'is_flow', 'kind', 'authentication_method', 'http_method', 'is_static_website']
@@ -5110,13 +4962,13 @@ export const $NewWebsocketTrigger = {
5110
4962
  description: 'Retry configuration for failed executions',
5111
4963
  '$ref': '#/components/schemas/Retry'
5112
4964
  },
5113
- permissioned_as: {
4965
+ email: {
5114
4966
  type: 'string',
5115
- description: 'The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.'
4967
+ description: 'Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.'
5116
4968
  },
5117
- preserve_permissioned_as: {
4969
+ preserve_email: {
5118
4970
  type: 'boolean',
5119
- description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
4971
+ description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it."
5120
4972
  }
5121
4973
  },
5122
4974
  required: ['path', 'script_path', 'url', 'is_flow', 'filters', 'can_return_message', 'can_return_error_result']
@@ -5187,13 +5039,13 @@ export const $EditWebsocketTrigger = {
5187
5039
  description: 'Retry configuration for failed executions',
5188
5040
  '$ref': '#/components/schemas/Retry'
5189
5041
  },
5190
- permissioned_as: {
5042
+ email: {
5191
5043
  type: 'string',
5192
- description: 'The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.'
5044
+ description: 'Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.'
5193
5045
  },
5194
- preserve_permissioned_as: {
5046
+ preserve_email: {
5195
5047
  type: 'boolean',
5196
- description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
5048
+ description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it."
5197
5049
  }
5198
5050
  },
5199
5051
  required: ['path', 'script_path', 'url', 'is_flow', 'filters', 'can_return_message', 'can_return_error_result']
@@ -5402,13 +5254,13 @@ export const $NewMqttTrigger = {
5402
5254
  '$ref': '#/components/schemas/Retry',
5403
5255
  description: 'Retry configuration for failed executions'
5404
5256
  },
5405
- permissioned_as: {
5257
+ email: {
5406
5258
  type: 'string',
5407
- description: 'The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.'
5259
+ description: 'Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.'
5408
5260
  },
5409
- preserve_permissioned_as: {
5261
+ preserve_email: {
5410
5262
  type: 'boolean',
5411
- description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
5263
+ description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it."
5412
5264
  }
5413
5265
  },
5414
5266
  required: ['path', 'script_path', 'is_flow', 'subscribe_topics', 'mqtt_resource_path']
@@ -5474,13 +5326,13 @@ export const $EditMqttTrigger = {
5474
5326
  '$ref': '#/components/schemas/Retry',
5475
5327
  description: 'Retry configuration for failed executions'
5476
5328
  },
5477
- permissioned_as: {
5329
+ email: {
5478
5330
  type: 'string',
5479
- description: 'The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.'
5331
+ description: 'Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.'
5480
5332
  },
5481
- preserve_permissioned_as: {
5333
+ preserve_email: {
5482
5334
  type: 'boolean',
5483
- description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
5335
+ description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it."
5484
5336
  }
5485
5337
  },
5486
5338
  required: ['path', 'script_path', 'is_flow', 'enabled', 'subscribe_topics', 'mqtt_resource_path']
@@ -5637,13 +5489,13 @@ export const $GcpTriggerData = {
5637
5489
  '$ref': '#/components/schemas/Retry',
5638
5490
  description: 'Retry configuration for failed executions.'
5639
5491
  },
5640
- permissioned_as: {
5492
+ email: {
5641
5493
  type: 'string',
5642
- description: 'The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.'
5494
+ description: 'Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.'
5643
5495
  },
5644
- preserve_permissioned_as: {
5496
+ preserve_email: {
5645
5497
  type: 'boolean',
5646
- description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
5498
+ description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it."
5647
5499
  }
5648
5500
  },
5649
5501
  required: ['path', 'script_path', 'is_flow', 'gcp_resource_path', 'topic_id', 'subscription_mode']
@@ -5830,13 +5682,13 @@ export const $NewSqsTrigger = {
5830
5682
  '$ref': '#/components/schemas/Retry',
5831
5683
  description: 'Retry configuration for failed executions'
5832
5684
  },
5833
- permissioned_as: {
5685
+ email: {
5834
5686
  type: 'string',
5835
- description: 'The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.'
5687
+ description: 'Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.'
5836
5688
  },
5837
- preserve_permissioned_as: {
5689
+ preserve_email: {
5838
5690
  type: 'boolean',
5839
- description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
5691
+ description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it."
5840
5692
  }
5841
5693
  },
5842
5694
  required: ['queue_url', 'aws_resource_path', 'path', 'script_path', 'is_flow', 'aws_auth_resource_type']
@@ -5891,13 +5743,13 @@ export const $EditSqsTrigger = {
5891
5743
  '$ref': '#/components/schemas/Retry',
5892
5744
  description: 'Retry configuration for failed executions'
5893
5745
  },
5894
- permissioned_as: {
5746
+ email: {
5895
5747
  type: 'string',
5896
- description: 'The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.'
5748
+ description: 'Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.'
5897
5749
  },
5898
- preserve_permissioned_as: {
5750
+ preserve_email: {
5899
5751
  type: 'boolean',
5900
- description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
5752
+ description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it."
5901
5753
  }
5902
5754
  },
5903
5755
  required: ['queue_url', 'aws_resource_path', 'path', 'script_path', 'is_flow', 'enabled', 'aws_auth_resource_type']
@@ -6088,13 +5940,13 @@ export const $NewPostgresTrigger = {
6088
5940
  '$ref': '#/components/schemas/Retry',
6089
5941
  description: 'Retry configuration for failed executions'
6090
5942
  },
6091
- permissioned_as: {
5943
+ email: {
6092
5944
  type: 'string',
6093
- description: 'The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.'
5945
+ description: 'Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.'
6094
5946
  },
6095
- preserve_permissioned_as: {
5947
+ preserve_email: {
6096
5948
  type: 'boolean',
6097
- description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
5949
+ description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it."
6098
5950
  }
6099
5951
  },
6100
5952
  required: ['path', 'script_path', 'is_flow', 'enabled', 'postgres_resource_path']
@@ -6145,13 +5997,13 @@ export const $EditPostgresTrigger = {
6145
5997
  '$ref': '#/components/schemas/Retry',
6146
5998
  description: 'Retry configuration for failed executions'
6147
5999
  },
6148
- permissioned_as: {
6000
+ email: {
6149
6001
  type: 'string',
6150
- description: 'The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.'
6002
+ description: 'Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.'
6151
6003
  },
6152
- preserve_permissioned_as: {
6004
+ preserve_email: {
6153
6005
  type: 'boolean',
6154
- description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
6006
+ description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it."
6155
6007
  }
6156
6008
  },
6157
6009
  required: ['path', 'script_path', 'is_flow', 'enabled', 'postgres_resource_path', 'publication_name', 'replication_slot_name']
@@ -6300,13 +6152,13 @@ export const $NewKafkaTrigger = {
6300
6152
  '$ref': '#/components/schemas/Retry',
6301
6153
  description: 'Retry configuration for failed executions'
6302
6154
  },
6303
- permissioned_as: {
6155
+ email: {
6304
6156
  type: 'string',
6305
- description: 'The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.'
6157
+ description: 'Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.'
6306
6158
  },
6307
- preserve_permissioned_as: {
6159
+ preserve_email: {
6308
6160
  type: 'boolean',
6309
- description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
6161
+ description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it."
6310
6162
  }
6311
6163
  },
6312
6164
  required: ['path', 'script_path', 'is_flow', 'kafka_resource_path', 'group_id', 'topics', 'filters']
@@ -6377,13 +6229,13 @@ export const $EditKafkaTrigger = {
6377
6229
  '$ref': '#/components/schemas/Retry',
6378
6230
  description: 'Retry configuration for failed executions'
6379
6231
  },
6380
- permissioned_as: {
6232
+ email: {
6381
6233
  type: 'string',
6382
- description: 'The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.'
6234
+ description: 'Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.'
6383
6235
  },
6384
- preserve_permissioned_as: {
6236
+ preserve_email: {
6385
6237
  type: 'boolean',
6386
- description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
6238
+ description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it."
6387
6239
  }
6388
6240
  },
6389
6241
  required: ['path', 'script_path', 'kafka_resource_path', 'group_id', 'topics', 'filters', 'is_flow']
@@ -6504,13 +6356,13 @@ export const $NewNatsTrigger = {
6504
6356
  '$ref': '#/components/schemas/Retry',
6505
6357
  description: 'Retry configuration for failed executions'
6506
6358
  },
6507
- permissioned_as: {
6359
+ email: {
6508
6360
  type: 'string',
6509
- description: 'The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.'
6361
+ description: 'Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.'
6510
6362
  },
6511
- preserve_permissioned_as: {
6363
+ preserve_email: {
6512
6364
  type: 'boolean',
6513
- description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
6365
+ description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it."
6514
6366
  }
6515
6367
  },
6516
6368
  required: ['path', 'script_path', 'is_flow', 'nats_resource_path', 'use_jetstream', 'subjects']
@@ -6567,13 +6419,13 @@ export const $EditNatsTrigger = {
6567
6419
  '$ref': '#/components/schemas/Retry',
6568
6420
  description: 'Retry configuration for failed executions'
6569
6421
  },
6570
- permissioned_as: {
6422
+ email: {
6571
6423
  type: 'string',
6572
- description: 'The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.'
6424
+ description: 'Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.'
6573
6425
  },
6574
- preserve_permissioned_as: {
6426
+ preserve_email: {
6575
6427
  type: 'boolean',
6576
- description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
6428
+ description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it."
6577
6429
  }
6578
6430
  },
6579
6431
  required: ['path', 'script_path', 'nats_resource_path', 'use_jetstream', 'subjects', 'is_flow']
@@ -6634,13 +6486,13 @@ export const $NewEmailTrigger = {
6634
6486
  mode: {
6635
6487
  '$ref': '#/components/schemas/TriggerMode'
6636
6488
  },
6637
- permissioned_as: {
6489
+ email: {
6638
6490
  type: 'string',
6639
- description: 'The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.'
6491
+ description: 'Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.'
6640
6492
  },
6641
- preserve_permissioned_as: {
6493
+ preserve_email: {
6642
6494
  type: 'boolean',
6643
- description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
6495
+ description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it."
6644
6496
  }
6645
6497
  },
6646
6498
  required: ['path', 'script_path', 'local_part', 'is_flow']
@@ -6672,13 +6524,13 @@ export const $EditEmailTrigger = {
6672
6524
  retry: {
6673
6525
  '$ref': '#/components/schemas/Retry'
6674
6526
  },
6675
- permissioned_as: {
6527
+ email: {
6676
6528
  type: 'string',
6677
- description: 'The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.'
6529
+ description: 'Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.'
6678
6530
  },
6679
- preserve_permissioned_as: {
6531
+ preserve_email: {
6680
6532
  type: 'boolean',
6681
- description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it."
6533
+ description: "When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it."
6682
6534
  }
6683
6535
  },
6684
6536
  required: ['path', 'script_path', 'is_flow']
@@ -6722,11 +6574,6 @@ export const $InstanceGroup = {
6722
6574
  items: {
6723
6575
  type: 'string'
6724
6576
  }
6725
- },
6726
- instance_role: {
6727
- type: 'string',
6728
- nullable: true,
6729
- enum: ['superadmin', 'devops']
6730
6577
  }
6731
6578
  }
6732
6579
  };
@@ -6746,11 +6593,6 @@ export const $InstanceGroupWithWorkspaces = {
6746
6593
  type: 'string'
6747
6594
  }
6748
6595
  },
6749
- instance_role: {
6750
- type: 'string',
6751
- nullable: true,
6752
- enum: ['superadmin', 'devops']
6753
- },
6754
6596
  workspaces: {
6755
6597
  type: 'array',
6756
6598
  items: {
@@ -7093,16 +6935,9 @@ export const $GlobalUserInfo = {
7093
6935
  },
7094
6936
  first_time_user: {
7095
6937
  type: 'boolean'
7096
- },
7097
- role_source: {
7098
- type: 'string',
7099
- enum: ['manual', 'instance_group']
7100
- },
7101
- disabled: {
7102
- type: 'boolean'
7103
6938
  }
7104
6939
  },
7105
- required: ['email', 'login_type', 'super_admin', 'verified', 'first_time_user', 'role_source', 'disabled']
6940
+ required: ['email', 'login_type', 'super_admin', 'verified', 'first_time_user']
7106
6941
  };
7107
6942
  export const $Flow = {
7108
6943
  allOf: [
@@ -8173,11 +8008,6 @@ export const $ExportedInstanceGroup = {
8173
8008
  },
8174
8009
  external_id: {
8175
8010
  type: 'string'
8176
- },
8177
- instance_role: {
8178
- type: 'string',
8179
- nullable: true,
8180
- enum: ['superadmin', 'devops']
8181
8011
  }
8182
8012
  },
8183
8013
  required: ['name']
@@ -8376,7 +8206,7 @@ export const $WorkspaceItemDiff = {
8376
8206
  properties: {
8377
8207
  kind: {
8378
8208
  type: 'string',
8379
- enum: ['script', 'flow', 'app', 'raw_app', 'resource', 'variable', 'resource_type'],
8209
+ enum: ['script', 'flow', 'app', 'resource', 'variable', 'resource_type'],
8380
8210
  description: 'Type of the item'
8381
8211
  },
8382
8212
  path: {
@@ -8716,21 +8546,6 @@ export const $RuleBypasserUsers = {
8716
8546
  type: 'string'
8717
8547
  }
8718
8548
  };
8719
- export const $QuotaInfo = {
8720
- type: 'object',
8721
- properties: {
8722
- used: {
8723
- type: 'integer'
8724
- },
8725
- limit: {
8726
- type: 'integer'
8727
- },
8728
- prunable: {
8729
- type: 'integer'
8730
- }
8731
- },
8732
- required: ['used', 'limit', 'prunable']
8733
- };
8734
8549
  export const $NativeServiceName = {
8735
8550
  type: 'string',
8736
8551
  enum: ['nextcloud', 'google']
@@ -8767,11 +8582,6 @@ export const $NativeTrigger = {
8767
8582
  type: 'string',
8768
8583
  nullable: true,
8769
8584
  description: 'Error message if the trigger is in an error state'
8770
- },
8771
- summary: {
8772
- type: 'string',
8773
- nullable: true,
8774
- description: 'Short summary to be displayed when listed'
8775
8585
  }
8776
8586
  },
8777
8587
  required: ['external_id', 'workspace_id', 'service_name', 'script_path', 'is_flow', 'service_config']
@@ -8809,11 +8619,6 @@ export const $NativeTriggerWithExternal = {
8809
8619
  nullable: true,
8810
8620
  description: 'Error message if the trigger is in an error state'
8811
8621
  },
8812
- summary: {
8813
- type: 'string',
8814
- nullable: true,
8815
- description: 'Short summary to be displayed when listed'
8816
- },
8817
8622
  external_data: {
8818
8623
  type: 'object',
8819
8624
  description: 'Configuration data from the external service',
@@ -8907,11 +8712,6 @@ export const $NativeTriggerData = {
8907
8712
  type: 'object',
8908
8713
  description: 'Service-specific configuration (e.g., event types, filters)',
8909
8714
  additionalProperties: true
8910
- },
8911
- summary: {
8912
- type: 'string',
8913
- nullable: true,
8914
- description: 'Short summary to be displayed when listed'
8915
8715
  }
8916
8716
  },
8917
8717
  required: ['script_path', 'is_flow', 'service_config']