windmill-components 1.306.13 → 1.309.2

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 (242) hide show
  1. package/package/autosize.js +6 -1
  2. package/package/common.d.ts +2 -2
  3. package/package/components/ApiConnectForm.svelte +2 -1
  4. package/package/components/AppConnect.svelte +1 -1
  5. package/package/components/DeployWorkspace.svelte +2 -2
  6. package/package/components/DeployWorkspace.svelte.d.ts +1 -1
  7. package/package/components/DeployWorkspaceDrawer.svelte.d.ts +2 -2
  8. package/package/components/Dev.svelte +2 -1
  9. package/package/components/DropdownV2.svelte +4 -1
  10. package/package/components/DropdownV2.svelte.d.ts +2 -2
  11. package/package/components/Editor.svelte +1 -1
  12. package/package/components/Editor.svelte.d.ts +2 -2
  13. package/package/components/EditorBar.svelte +25 -23
  14. package/package/components/EditorBar.svelte.d.ts +2 -3
  15. package/package/components/ErrorOrRecoveryHandler.svelte +2 -2
  16. package/package/components/ErrorOrRecoveryHandler.svelte.d.ts +1 -1
  17. package/package/components/FlowBuilder.svelte +5 -5
  18. package/package/components/FlowBuilder.svelte.d.ts +0 -1
  19. package/package/components/FlowLoopIterationPreview.svelte +1 -1
  20. package/package/components/FlowLoopIterationPreview.svelte.d.ts +1 -1
  21. package/package/components/FlowPreviewContent.svelte +1 -1
  22. package/package/components/FlowPreviewContent.svelte.d.ts +1 -1
  23. package/package/components/FlowStatusViewerInner.svelte +13 -15
  24. package/package/components/FlowStatusViewerInner.svelte.d.ts +1 -1
  25. package/package/components/FlowStatusWaitingForEvents.svelte +3 -3
  26. package/package/components/FlowStatusWaitingForEvents.svelte.d.ts +1 -1
  27. package/package/components/HighlightCode.svelte.d.ts +1 -1
  28. package/package/components/InstanceSettings.svelte +4 -2
  29. package/package/components/LogViewer.svelte +65 -20
  30. package/package/components/ModulePreview.svelte +2 -2
  31. package/package/components/ModulePreview.svelte.d.ts +2 -2
  32. package/package/components/ModuleStatus.svelte +6 -7
  33. package/package/components/ModuleStatus.svelte.d.ts +2 -2
  34. package/package/components/MoveDrawer.svelte.d.ts +2 -2
  35. package/package/components/ParqetTableRenderer.svelte +3 -3
  36. package/package/components/Path.svelte.d.ts +1 -1
  37. package/package/components/ResultJobLoader.svelte.d.ts +1 -1
  38. package/package/components/SavedInputs.svelte +6 -5
  39. package/package/components/ScheduleEditorInner.svelte +6 -6
  40. package/package/components/ScriptBuilder.svelte +9 -9
  41. package/package/components/ScriptBuilder.svelte.d.ts +1 -1
  42. package/package/components/ScriptEditor.svelte +1 -1
  43. package/package/components/ScriptEditor.svelte.d.ts +4 -4
  44. package/package/components/ScriptPicker.svelte +2 -2
  45. package/package/components/ScriptPicker.svelte.d.ts +2 -3
  46. package/package/components/ShareModal.svelte +1 -2
  47. package/package/components/ShareModal.svelte.d.ts +2 -2
  48. package/package/components/SuperadminSettings.svelte +1 -1
  49. package/package/components/TestConnection.svelte +2 -2
  50. package/package/components/TestJobLoader.svelte +1 -1
  51. package/package/components/TestJobLoader.svelte.d.ts +4 -4
  52. package/package/components/WorkspaceGroup.svelte +2 -2
  53. package/package/components/apps/components/display/AppText.svelte +2 -2
  54. package/package/components/apps/components/display/dbtable/AppDbExplorer.svelte +4 -0
  55. package/package/components/apps/components/display/dbtable/AppDbExplorer.svelte.d.ts +2 -0
  56. package/package/components/apps/components/display/dbtable/queries/count.js +1 -2
  57. package/package/components/apps/components/display/dbtable/queries/delete.js +20 -12
  58. package/package/components/apps/components/display/dbtable/queries/select.js +2 -1
  59. package/package/components/apps/components/display/dbtable/queries/update.js +20 -12
  60. package/package/components/apps/components/display/dbtable/utils.d.ts +2 -1
  61. package/package/components/apps/components/display/dbtable/utils.js +14 -13
  62. package/package/components/apps/components/display/table/AppAggridExplorerTable.svelte +75 -1
  63. package/package/components/apps/components/display/table/AppAggridExplorerTable.svelte.d.ts +2 -1
  64. package/package/components/apps/components/display/table/AppAggridTable.svelte +10 -28
  65. package/package/components/apps/components/display/table/AppAggridTableActions.svelte +2 -2
  66. package/package/components/apps/components/display/table/utils.js +0 -1
  67. package/package/components/apps/components/inputs/AppTextInput.svelte +1 -1
  68. package/package/components/apps/editor/AppEditorHeader.svelte +60 -45
  69. package/package/components/apps/editor/AppEditorHeader.svelte.d.ts +1 -1
  70. package/package/components/apps/editor/AppEditorTutorial.svelte +10 -6
  71. package/package/components/apps/editor/AppInputs.svelte +1 -1
  72. package/package/components/apps/editor/AppReportsDrawer.svelte +6 -4
  73. package/package/components/apps/editor/DeploymentHistory.svelte +1 -1
  74. package/package/components/apps/editor/PreviewToggle.svelte +10 -1
  75. package/package/components/apps/editor/SettingsPanel.svelte +6 -2
  76. package/package/components/apps/editor/appUtils.js +19 -7
  77. package/package/components/apps/editor/component/Component.svelte +1 -0
  78. package/package/components/apps/editor/component/ComponentCallbacks.svelte +4 -1
  79. package/package/components/apps/editor/component/components.d.ts +77 -70
  80. package/package/components/apps/editor/component/components.js +7 -1
  81. package/package/components/apps/editor/componentsPanel/CustomComponentRow.svelte +24 -21
  82. package/package/components/apps/editor/contextPanel/components/OutputHeader.svelte +6 -2
  83. package/package/components/apps/editor/contextPanel/components/TableActionsOutput.svelte +1 -1
  84. package/package/components/apps/editor/inlineScriptsPanel/CacheTtlPopup.svelte +5 -4
  85. package/package/components/apps/editor/inlineScriptsPanel/EmptyInlineScript.svelte +2 -3
  86. package/package/components/apps/editor/inlineScriptsPanel/InlineScriptEditor.svelte +20 -18
  87. package/package/components/apps/editor/inlineScriptsPanel/InlineScriptsPanel.svelte +1 -1
  88. package/package/components/apps/editor/inlineScriptsPanel/InlineScriptsPanelWithTable.svelte +1 -1
  89. package/package/components/apps/editor/inlineScriptsPanel/utils.js +3 -1
  90. package/package/components/apps/editor/settingsPanel/ComponentPanel.svelte +2 -0
  91. package/package/components/apps/editor/settingsPanel/mainInput/WorkspaceScriptList.svelte +1 -1
  92. package/package/components/apps/svelte-select/lib/Select.svelte.d.ts +2 -2
  93. package/package/components/apps/types.d.ts +1 -1
  94. package/package/components/apps/utils.js +3 -1
  95. package/package/components/auditLogs/AuditLogDetails.svelte +6 -4
  96. package/package/components/auditLogs/AuditLogDetails.svelte.d.ts +1 -1
  97. package/package/components/auditLogs/AuditLogsFilters.svelte +1 -1
  98. package/package/components/auditLogs/AuditLogsFilters.svelte.d.ts +1 -1
  99. package/package/components/common/languageIcons/LanguageIcon.svelte +13 -12
  100. package/package/components/common/table/AppRow.svelte +1 -1
  101. package/package/components/common/table/Row.svelte.d.ts +1 -1
  102. package/package/components/copilot/FlowCopilotDrawer.svelte +6 -4
  103. package/package/components/copilot/ScriptGen.svelte +5 -5
  104. package/package/components/copilot/ScriptGen.svelte.d.ts +1 -1
  105. package/package/components/copilot/StepGen.svelte +1 -1
  106. package/package/components/copilot/flow.d.ts +3 -3
  107. package/package/components/copilot/flow.js +1 -1
  108. package/package/components/copilot/lib.d.ts +2 -2
  109. package/package/components/copilot/lib.js +1 -1
  110. package/package/components/details/WebhooksPanel.svelte +1 -1
  111. package/package/components/details/utils.d.ts +1 -1
  112. package/package/components/details/utils.js +1 -1
  113. package/package/components/flows/FlowProgressBar.svelte +3 -4
  114. package/package/components/flows/FlowProgressBar.svelte.d.ts +1 -1
  115. package/package/components/flows/content/FlowInputs.svelte +5 -8
  116. package/package/components/flows/content/FlowLoop.svelte.d.ts +1 -1
  117. package/package/components/flows/content/FlowModuleComponent.svelte.d.ts +1 -1
  118. package/package/components/flows/content/FlowModuleWrapper.svelte +5 -5
  119. package/package/components/flows/content/FlowWhileLoop.svelte +10 -3
  120. package/package/components/flows/content/FlowWhileLoop.svelte.d.ts +1 -1
  121. package/package/components/flows/content/ScriptEditorDrawer.svelte +2 -1
  122. package/package/components/flows/content/SuspendDrawer.svelte +5 -6
  123. package/package/components/flows/dfs.d.ts +1 -1
  124. package/package/components/flows/flowStateUtils.d.ts +2 -2
  125. package/package/components/flows/flowStateUtils.js +1 -1
  126. package/package/components/graph/FlowGraph.svelte +3 -3
  127. package/package/components/graph/model.d.ts +1 -1
  128. package/package/components/graph/util.d.ts +2 -2
  129. package/package/components/graph/util.js +5 -6
  130. package/package/components/home/ItemsList.svelte +1 -1
  131. package/package/components/home/ItemsList.svelte.d.ts +1 -1
  132. package/package/components/icons/VismaIcon.svelte +10 -0
  133. package/package/components/icons/VismaIcon.svelte.d.ts +17 -0
  134. package/package/components/icons/index.d.ts +2 -0
  135. package/package/components/icons/index.js +3 -1
  136. package/package/components/jobs/JobPreview.svelte +2 -2
  137. package/package/components/runs/JobLoader.svelte +26 -8
  138. package/package/components/runs/JobLoader.svelte.d.ts +1 -1
  139. package/package/components/runs/JobPreview.svelte +3 -3
  140. package/package/components/runs/QueuePopover.svelte +1 -1
  141. package/package/components/runs/RunsFilter.svelte.d.ts +1 -1
  142. package/package/components/scriptEditor/LogPanel.svelte +2 -2
  143. package/package/components/scriptEditor/LogPanel.svelte.d.ts +2 -2
  144. package/package/components/tutorials/FlowErrorHandler.svelte +1 -2
  145. package/package/components/tutorials/utils.js +1 -1
  146. package/package/gen/core/ApiError.d.ts +1 -1
  147. package/package/gen/core/ApiRequestOptions.d.ts +5 -5
  148. package/package/gen/core/ApiResult.d.ts +3 -3
  149. package/package/gen/core/CancelablePromise.d.ts +10 -4
  150. package/package/gen/core/CancelablePromise.js +38 -39
  151. package/package/gen/core/OpenAPI.d.ts +17 -6
  152. package/package/gen/core/OpenAPI.js +25 -5
  153. package/package/gen/core/request.d.ts +6 -7
  154. package/package/gen/core/request.js +77 -57
  155. package/package/gen/enums.gen.d.ts +149 -0
  156. package/package/gen/enums.gen.js +150 -0
  157. package/package/gen/index.d.ts +5 -178
  158. package/package/gen/index.js +5 -52
  159. package/package/gen/models/AppWithLastVersionWDraft.d.ts +2 -2
  160. package/package/gen/models/Flow.d.ts +1 -1
  161. package/package/gen/models/FlowModuleValue.d.ts +1 -1
  162. package/package/gen/models/FlowStatus.d.ts +2 -2
  163. package/package/gen/models/InputTransform.d.ts +1 -1
  164. package/package/gen/models/Job.d.ts +2 -2
  165. package/package/gen/models/MainArgSignature.d.ts +4 -4
  166. package/package/gen/models/NewScriptWithDraft.d.ts +2 -2
  167. package/package/gen/models/OpenFlowWPath.d.ts +2 -2
  168. package/package/gen/models/ScheduleWJobs.d.ts +2 -2
  169. package/package/gen/schemas.gen.d.ts +3155 -0
  170. package/package/gen/schemas.gen.js +3217 -0
  171. package/package/gen/services/AdminService.d.ts +3 -3
  172. package/package/gen/services/AdminService.js +12 -12
  173. package/package/gen/services/AppService.d.ts +16 -16
  174. package/package/gen/services/AppService.js +69 -69
  175. package/package/gen/services/AuditService.d.ts +2 -2
  176. package/package/gen/services/AuditService.js +15 -15
  177. package/package/gen/services/CaptureService.d.ts +3 -3
  178. package/package/gen/services/CaptureService.js +13 -13
  179. package/package/gen/services/ConcurrencyGroupsService.d.ts +1 -1
  180. package/package/gen/services/ConcurrencyGroupsService.js +4 -4
  181. package/package/gen/services/ConfigService.d.ts +3 -3
  182. package/package/gen/services/ConfigService.js +10 -10
  183. package/package/gen/services/DraftService.d.ts +2 -2
  184. package/package/gen/services/DraftService.js +8 -8
  185. package/package/gen/services/FavoriteService.d.ts +2 -2
  186. package/package/gen/services/FavoriteService.js +6 -6
  187. package/package/gen/services/FlowService.d.ts +21 -21
  188. package/package/gen/services/FlowService.js +58 -58
  189. package/package/gen/services/FolderService.d.ts +9 -9
  190. package/package/gen/services/FolderService.js +36 -36
  191. package/package/gen/services/GranularAclService.d.ts +3 -3
  192. package/package/gen/services/GranularAclService.js +15 -15
  193. package/package/gen/services/GroupService.d.ts +14 -14
  194. package/package/gen/services/GroupService.js +50 -50
  195. package/package/gen/services/HelpersService.d.ts +14 -14
  196. package/package/gen/services/HelpersService.js +70 -70
  197. package/package/gen/services/InputService.d.ts +5 -5
  198. package/package/gen/services/InputService.js +26 -26
  199. package/package/gen/services/IntegrationService.d.ts +1 -1
  200. package/package/gen/services/IntegrationService.js +3 -3
  201. package/package/gen/services/JobService.d.ts +51 -42
  202. package/package/gen/services/JobService.js +326 -311
  203. package/package/gen/services/MetricsService.d.ts +1 -1
  204. package/package/gen/services/MetricsService.js +4 -4
  205. package/package/gen/services/OauthService.d.ts +6 -6
  206. package/package/gen/services/OauthService.js +22 -22
  207. package/package/gen/services/OidcService.d.ts +1 -1
  208. package/package/gen/services/OidcService.js +4 -4
  209. package/package/gen/services/RawAppService.d.ts +6 -6
  210. package/package/gen/services/RawAppService.js +30 -30
  211. package/package/gen/services/ResourceService.d.ts +19 -19
  212. package/package/gen/services/ResourceService.js +77 -77
  213. package/package/gen/services/ScheduleService.d.ts +10 -10
  214. package/package/gen/services/ScheduleService.js +41 -41
  215. package/package/gen/services/ScriptService.d.ts +23 -23
  216. package/package/gen/services/ScriptService.js +104 -104
  217. package/package/gen/services/SettingService.d.ts +6 -6
  218. package/package/gen/services/SettingService.js +16 -16
  219. package/package/gen/services/SettingsService.js +4 -4
  220. package/package/gen/services/UserService.d.ts +26 -26
  221. package/package/gen/services/UserService.js +85 -85
  222. package/package/gen/services/VariableService.d.ts +9 -9
  223. package/package/gen/services/VariableService.js +36 -36
  224. package/package/gen/services/WorkerService.d.ts +2 -2
  225. package/package/gen/services/WorkerService.js +11 -11
  226. package/package/gen/services/WorkspaceService.d.ts +39 -39
  227. package/package/gen/services/WorkspaceService.js +118 -118
  228. package/package/gen/services.gen.d.ts +1928 -0
  229. package/package/gen/services.gen.js +5309 -0
  230. package/package/gen/types.gen.d.ts +6898 -0
  231. package/package/gen/types.gen.js +2 -0
  232. package/package/hub.d.ts +1 -1
  233. package/package/infer.d.ts +1 -1
  234. package/package/infer.js +2 -2
  235. package/package/script_helpers.d.ts +3 -3
  236. package/package/script_helpers.js +2 -2
  237. package/package/scripts.d.ts +2 -2
  238. package/package/scripts.js +20 -16
  239. package/package/stores.d.ts +1 -2
  240. package/package/utils.d.ts +1 -1
  241. package/package/utils.js +1 -1
  242. package/package.json +6 -6
@@ -6,14 +6,14 @@ export class CaptureService {
6
6
  * @returns void
7
7
  * @throws ApiError
8
8
  */
9
- static updateCapture({ workspace, path, }) {
9
+ static updateCapture({ workspace, path }) {
10
10
  return __request(OpenAPI, {
11
11
  method: 'POST',
12
12
  url: '/w/{workspace}/capture_u/{path}',
13
13
  path: {
14
- 'workspace': workspace,
15
- 'path': path,
16
- },
14
+ workspace: workspace,
15
+ path: path
16
+ }
17
17
  });
18
18
  }
19
19
  /**
@@ -21,14 +21,14 @@ export class CaptureService {
21
21
  * @returns any flow preview capture created
22
22
  * @throws ApiError
23
23
  */
24
- static createCapture({ workspace, path, }) {
24
+ static createCapture({ workspace, path }) {
25
25
  return __request(OpenAPI, {
26
26
  method: 'PUT',
27
27
  url: '/w/{workspace}/capture/{path}',
28
28
  path: {
29
- 'workspace': workspace,
30
- 'path': path,
31
- },
29
+ workspace: workspace,
30
+ path: path
31
+ }
32
32
  });
33
33
  }
34
34
  /**
@@ -36,17 +36,17 @@ export class CaptureService {
36
36
  * @returns any captured flow preview
37
37
  * @throws ApiError
38
38
  */
39
- static getCapture({ workspace, path, }) {
39
+ static getCapture({ workspace, path }) {
40
40
  return __request(OpenAPI, {
41
41
  method: 'GET',
42
42
  url: '/w/{workspace}/capture/{path}',
43
43
  path: {
44
- 'workspace': workspace,
45
- 'path': path,
44
+ workspace: workspace,
45
+ path: path
46
46
  },
47
47
  errors: {
48
- 404: `capture does not exist for this flow`,
49
- },
48
+ 404: `capture does not exist for this flow`
49
+ }
50
50
  });
51
51
  }
52
52
  }
@@ -12,7 +12,7 @@ export declare class ConcurrencyGroupsService {
12
12
  * @returns any concurrency group removed
13
13
  * @throws ApiError
14
14
  */
15
- static deleteConcurrencyGroup({ concurrencyId, }: {
15
+ static deleteConcurrencyGroup({ concurrencyId }: {
16
16
  concurrencyId: string;
17
17
  }): CancelablePromise<any>;
18
18
  }
@@ -9,7 +9,7 @@ export class ConcurrencyGroupsService {
9
9
  static listConcurrencyGroups() {
10
10
  return __request(OpenAPI, {
11
11
  method: 'GET',
12
- url: '/concurrency_groups/list',
12
+ url: '/concurrency_groups/list'
13
13
  });
14
14
  }
15
15
  /**
@@ -17,13 +17,13 @@ export class ConcurrencyGroupsService {
17
17
  * @returns any concurrency group removed
18
18
  * @throws ApiError
19
19
  */
20
- static deleteConcurrencyGroup({ concurrencyId, }) {
20
+ static deleteConcurrencyGroup({ concurrencyId }) {
21
21
  return __request(OpenAPI, {
22
22
  method: 'DELETE',
23
23
  url: '/concurrency_groups/{concurrency_id}',
24
24
  path: {
25
- 'concurrency_id': concurrencyId,
26
- },
25
+ concurrency_id: concurrencyId
26
+ }
27
27
  });
28
28
  }
29
29
  }
@@ -14,7 +14,7 @@ export declare class ConfigService {
14
14
  * @returns any a config
15
15
  * @throws ApiError
16
16
  */
17
- static getConfig({ name, }: {
17
+ static getConfig({ name }: {
18
18
  name: string;
19
19
  }): CancelablePromise<any>;
20
20
  /**
@@ -22,7 +22,7 @@ export declare class ConfigService {
22
22
  * @returns string Update a worker group
23
23
  * @throws ApiError
24
24
  */
25
- static updateConfig({ name, requestBody, }: {
25
+ static updateConfig({ name, requestBody }: {
26
26
  name: string;
27
27
  /**
28
28
  * worker group
@@ -34,7 +34,7 @@ export declare class ConfigService {
34
34
  * @returns string Delete config
35
35
  * @throws ApiError
36
36
  */
37
- static deleteConfig({ name, }: {
37
+ static deleteConfig({ name }: {
38
38
  name: string;
39
39
  }): CancelablePromise<string>;
40
40
  }
@@ -9,7 +9,7 @@ export class ConfigService {
9
9
  static listWorkerGroups() {
10
10
  return __request(OpenAPI, {
11
11
  method: 'GET',
12
- url: '/configs/list_worker_groups',
12
+ url: '/configs/list_worker_groups'
13
13
  });
14
14
  }
15
15
  /**
@@ -17,13 +17,13 @@ export class ConfigService {
17
17
  * @returns any a config
18
18
  * @throws ApiError
19
19
  */
20
- static getConfig({ name, }) {
20
+ static getConfig({ name }) {
21
21
  return __request(OpenAPI, {
22
22
  method: 'GET',
23
23
  url: '/configs/get/{name}',
24
24
  path: {
25
- 'name': name,
26
- },
25
+ name: name
26
+ }
27
27
  });
28
28
  }
29
29
  /**
@@ -31,15 +31,15 @@ export class ConfigService {
31
31
  * @returns string Update a worker group
32
32
  * @throws ApiError
33
33
  */
34
- static updateConfig({ name, requestBody, }) {
34
+ static updateConfig({ name, requestBody }) {
35
35
  return __request(OpenAPI, {
36
36
  method: 'POST',
37
37
  url: '/configs/update/{name}',
38
38
  path: {
39
- 'name': name,
39
+ name: name
40
40
  },
41
41
  body: requestBody,
42
- mediaType: 'application/json',
42
+ mediaType: 'application/json'
43
43
  });
44
44
  }
45
45
  /**
@@ -47,13 +47,13 @@ export class ConfigService {
47
47
  * @returns string Delete config
48
48
  * @throws ApiError
49
49
  */
50
- static deleteConfig({ name, }) {
50
+ static deleteConfig({ name }) {
51
51
  return __request(OpenAPI, {
52
52
  method: 'DELETE',
53
53
  url: '/configs/update/{name}',
54
54
  path: {
55
- 'name': name,
56
- },
55
+ name: name
56
+ }
57
57
  });
58
58
  }
59
59
  }
@@ -5,7 +5,7 @@ export declare class DraftService {
5
5
  * @returns string draft created
6
6
  * @throws ApiError
7
7
  */
8
- static createDraft({ workspace, requestBody, }: {
8
+ static createDraft({ workspace, requestBody }: {
9
9
  workspace: string;
10
10
  requestBody: {
11
11
  path: string;
@@ -18,7 +18,7 @@ export declare class DraftService {
18
18
  * @returns string draft deleted
19
19
  * @throws ApiError
20
20
  */
21
- static deleteDraft({ workspace, kind, path, }: {
21
+ static deleteDraft({ workspace, kind, path }: {
22
22
  workspace: string;
23
23
  kind: 'script' | 'flow' | 'app';
24
24
  path: string;
@@ -6,15 +6,15 @@ export class DraftService {
6
6
  * @returns string draft created
7
7
  * @throws ApiError
8
8
  */
9
- static createDraft({ workspace, requestBody, }) {
9
+ static createDraft({ workspace, requestBody }) {
10
10
  return __request(OpenAPI, {
11
11
  method: 'POST',
12
12
  url: '/w/{workspace}/drafts/create',
13
13
  path: {
14
- 'workspace': workspace,
14
+ workspace: workspace
15
15
  },
16
16
  body: requestBody,
17
- mediaType: 'application/json',
17
+ mediaType: 'application/json'
18
18
  });
19
19
  }
20
20
  /**
@@ -22,15 +22,15 @@ export class DraftService {
22
22
  * @returns string draft deleted
23
23
  * @throws ApiError
24
24
  */
25
- static deleteDraft({ workspace, kind, path, }) {
25
+ static deleteDraft({ workspace, kind, path }) {
26
26
  return __request(OpenAPI, {
27
27
  method: 'DELETE',
28
28
  url: '/w/{workspace}/drafts/delete/{kind}/{path}',
29
29
  path: {
30
- 'workspace': workspace,
31
- 'kind': kind,
32
- 'path': path,
33
- },
30
+ workspace: workspace,
31
+ kind: kind,
32
+ path: path
33
+ }
34
34
  });
35
35
  }
36
36
  }
@@ -5,7 +5,7 @@ export declare class FavoriteService {
5
5
  * @returns any star item
6
6
  * @throws ApiError
7
7
  */
8
- static star({ workspace, requestBody, }: {
8
+ static star({ workspace, requestBody }: {
9
9
  workspace: string;
10
10
  requestBody?: {
11
11
  path?: string;
@@ -17,7 +17,7 @@ export declare class FavoriteService {
17
17
  * @returns any unstar item
18
18
  * @throws ApiError
19
19
  */
20
- static unstar({ workspace, requestBody, }: {
20
+ static unstar({ workspace, requestBody }: {
21
21
  workspace: string;
22
22
  requestBody?: {
23
23
  path?: string;
@@ -6,15 +6,15 @@ export class FavoriteService {
6
6
  * @returns any star item
7
7
  * @throws ApiError
8
8
  */
9
- static star({ workspace, requestBody, }) {
9
+ static star({ workspace, requestBody }) {
10
10
  return __request(OpenAPI, {
11
11
  method: 'POST',
12
12
  url: '/w/{workspace}/favorites/star',
13
13
  path: {
14
- 'workspace': workspace,
14
+ workspace: workspace
15
15
  },
16
16
  body: requestBody,
17
- mediaType: 'application/json',
17
+ mediaType: 'application/json'
18
18
  });
19
19
  }
20
20
  /**
@@ -22,15 +22,15 @@ export class FavoriteService {
22
22
  * @returns any unstar item
23
23
  * @throws ApiError
24
24
  */
25
- static unstar({ workspace, requestBody, }) {
25
+ static unstar({ workspace, requestBody }) {
26
26
  return __request(OpenAPI, {
27
27
  method: 'POST',
28
28
  url: '/w/{workspace}/favorites/unstar',
29
29
  path: {
30
- 'workspace': workspace,
30
+ workspace: workspace
31
31
  },
32
32
  body: requestBody,
33
- mediaType: 'application/json',
33
+ mediaType: 'application/json'
34
34
  });
35
35
  }
36
36
  }
@@ -24,7 +24,7 @@ export declare class FlowService {
24
24
  * @returns any flow
25
25
  * @throws ApiError
26
26
  */
27
- static getHubFlowById({ id, }: {
27
+ static getHubFlowById({ id }: {
28
28
  id: number;
29
29
  }): CancelablePromise<{
30
30
  flow?: OpenFlow;
@@ -34,7 +34,7 @@ export declare class FlowService {
34
34
  * @returns string list of flow paths
35
35
  * @throws ApiError
36
36
  */
37
- static listFlowPaths({ workspace, }: {
37
+ static listFlowPaths({ workspace }: {
38
38
  workspace: string;
39
39
  }): CancelablePromise<Array<string>>;
40
40
  /**
@@ -42,7 +42,7 @@ export declare class FlowService {
42
42
  * @returns any flow list
43
43
  * @throws ApiError
44
44
  */
45
- static listSearchFlow({ workspace, }: {
45
+ static listSearchFlow({ workspace }: {
46
46
  workspace: string;
47
47
  }): CancelablePromise<Array<{
48
48
  path: string;
@@ -53,7 +53,7 @@ export declare class FlowService {
53
53
  * @returns any All flow
54
54
  * @throws ApiError
55
55
  */
56
- static listFlows({ workspace, page, perPage, orderDesc, createdBy, pathStart, pathExact, showArchived, starredOnly, }: {
56
+ static listFlows({ workspace, page, perPage, orderDesc, createdBy, pathStart, pathExact, showArchived, starredOnly }: {
57
57
  workspace: string;
58
58
  /**
59
59
  * which page to return (start at 1, default 1)
@@ -93,16 +93,16 @@ export declare class FlowService {
93
93
  *
94
94
  */
95
95
  starredOnly?: boolean;
96
- }): CancelablePromise<Array<(Flow & {
96
+ }): CancelablePromise<Array<Flow & {
97
97
  has_draft?: boolean;
98
98
  draft_only?: boolean;
99
- })>>;
99
+ }>>;
100
100
  /**
101
101
  * get flow by path
102
102
  * @returns Flow flow details
103
103
  * @throws ApiError
104
104
  */
105
- static getFlowByPath({ workspace, path, }: {
105
+ static getFlowByPath({ workspace, path }: {
106
106
  workspace: string;
107
107
  path: string;
108
108
  }): CancelablePromise<Flow>;
@@ -111,7 +111,7 @@ export declare class FlowService {
111
111
  * @returns string error handler toggled
112
112
  * @throws ApiError
113
113
  */
114
- static toggleWorkspaceErrorHandlerForFlow({ workspace, path, requestBody, }: {
114
+ static toggleWorkspaceErrorHandlerForFlow({ workspace, path, requestBody }: {
115
115
  workspace: string;
116
116
  path: string;
117
117
  /**
@@ -126,18 +126,18 @@ export declare class FlowService {
126
126
  * @returns any flow details with draft
127
127
  * @throws ApiError
128
128
  */
129
- static getFlowByPathWithDraft({ workspace, path, }: {
129
+ static getFlowByPathWithDraft({ workspace, path }: {
130
130
  workspace: string;
131
131
  path: string;
132
- }): CancelablePromise<(Flow & {
132
+ }): CancelablePromise<Flow & {
133
133
  draft?: Flow;
134
- })>;
134
+ }>;
135
135
  /**
136
136
  * exists flow by path
137
137
  * @returns boolean flow details
138
138
  * @throws ApiError
139
139
  */
140
- static existsFlowByPath({ workspace, path, }: {
140
+ static existsFlowByPath({ workspace, path }: {
141
141
  workspace: string;
142
142
  path: string;
143
143
  }): CancelablePromise<boolean>;
@@ -146,37 +146,37 @@ export declare class FlowService {
146
146
  * @returns string flow created
147
147
  * @throws ApiError
148
148
  */
149
- static createFlow({ workspace, requestBody, }: {
149
+ static createFlow({ workspace, requestBody }: {
150
150
  workspace: string;
151
151
  /**
152
152
  * Partially filled flow
153
153
  */
154
- requestBody: (OpenFlowWPath & {
154
+ requestBody: OpenFlowWPath & {
155
155
  draft_only?: boolean;
156
156
  deployment_message?: string;
157
- });
157
+ };
158
158
  }): CancelablePromise<string>;
159
159
  /**
160
160
  * update flow
161
161
  * @returns string flow updated
162
162
  * @throws ApiError
163
163
  */
164
- static updateFlow({ workspace, path, requestBody, }: {
164
+ static updateFlow({ workspace, path, requestBody }: {
165
165
  workspace: string;
166
166
  path: string;
167
167
  /**
168
168
  * Partially filled flow
169
169
  */
170
- requestBody: (OpenFlowWPath & {
170
+ requestBody: OpenFlowWPath & {
171
171
  deployment_message?: string;
172
- });
172
+ };
173
173
  }): CancelablePromise<string>;
174
174
  /**
175
175
  * archive flow by path
176
176
  * @returns string flow archived
177
177
  * @throws ApiError
178
178
  */
179
- static archiveFlowByPath({ workspace, path, requestBody, }: {
179
+ static archiveFlowByPath({ workspace, path, requestBody }: {
180
180
  workspace: string;
181
181
  path: string;
182
182
  /**
@@ -191,7 +191,7 @@ export declare class FlowService {
191
191
  * @returns string flow delete
192
192
  * @throws ApiError
193
193
  */
194
- static deleteFlowByPath({ workspace, path, }: {
194
+ static deleteFlowByPath({ workspace, path }: {
195
195
  workspace: string;
196
196
  path: string;
197
197
  }): CancelablePromise<string>;
@@ -200,7 +200,7 @@ export declare class FlowService {
200
200
  * @returns Input input history for completed jobs with this flow path
201
201
  * @throws ApiError
202
202
  */
203
- static getFlowInputHistoryByPath({ workspace, path, page, perPage, }: {
203
+ static getFlowInputHistoryByPath({ workspace, path, page, perPage }: {
204
204
  workspace: string;
205
205
  path: string;
206
206
  /**