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,18 +6,18 @@ export class ResourceService {
6
6
  * @returns string resource created
7
7
  * @throws ApiError
8
8
  */
9
- static createResource({ workspace, requestBody, updateIfExists, }) {
9
+ static createResource({ workspace, requestBody, updateIfExists }) {
10
10
  return __request(OpenAPI, {
11
11
  method: 'POST',
12
12
  url: '/w/{workspace}/resources/create',
13
13
  path: {
14
- 'workspace': workspace,
14
+ workspace: workspace
15
15
  },
16
16
  query: {
17
- 'update_if_exists': updateIfExists,
17
+ update_if_exists: updateIfExists
18
18
  },
19
19
  body: requestBody,
20
- mediaType: 'application/json',
20
+ mediaType: 'application/json'
21
21
  });
22
22
  }
23
23
  /**
@@ -25,14 +25,14 @@ export class ResourceService {
25
25
  * @returns string resource deleted
26
26
  * @throws ApiError
27
27
  */
28
- static deleteResource({ workspace, path, }) {
28
+ static deleteResource({ workspace, path }) {
29
29
  return __request(OpenAPI, {
30
30
  method: 'DELETE',
31
31
  url: '/w/{workspace}/resources/delete/{path}',
32
32
  path: {
33
- 'workspace': workspace,
34
- 'path': path,
35
- },
33
+ workspace: workspace,
34
+ path: path
35
+ }
36
36
  });
37
37
  }
38
38
  /**
@@ -40,16 +40,16 @@ export class ResourceService {
40
40
  * @returns string resource updated
41
41
  * @throws ApiError
42
42
  */
43
- static updateResource({ workspace, path, requestBody, }) {
43
+ static updateResource({ workspace, path, requestBody }) {
44
44
  return __request(OpenAPI, {
45
45
  method: 'POST',
46
46
  url: '/w/{workspace}/resources/update/{path}',
47
47
  path: {
48
- 'workspace': workspace,
49
- 'path': path,
48
+ workspace: workspace,
49
+ path: path
50
50
  },
51
51
  body: requestBody,
52
- mediaType: 'application/json',
52
+ mediaType: 'application/json'
53
53
  });
54
54
  }
55
55
  /**
@@ -57,16 +57,16 @@ export class ResourceService {
57
57
  * @returns string resource value updated
58
58
  * @throws ApiError
59
59
  */
60
- static updateResourceValue({ workspace, path, requestBody, }) {
60
+ static updateResourceValue({ workspace, path, requestBody }) {
61
61
  return __request(OpenAPI, {
62
62
  method: 'POST',
63
63
  url: '/w/{workspace}/resources/update_value/{path}',
64
64
  path: {
65
- 'workspace': workspace,
66
- 'path': path,
65
+ workspace: workspace,
66
+ path: path
67
67
  },
68
68
  body: requestBody,
69
- mediaType: 'application/json',
69
+ mediaType: 'application/json'
70
70
  });
71
71
  }
72
72
  /**
@@ -74,14 +74,14 @@ export class ResourceService {
74
74
  * @returns Resource resource
75
75
  * @throws ApiError
76
76
  */
77
- static getResource({ workspace, path, }) {
77
+ static getResource({ workspace, path }) {
78
78
  return __request(OpenAPI, {
79
79
  method: 'GET',
80
80
  url: '/w/{workspace}/resources/get/{path}',
81
81
  path: {
82
- 'workspace': workspace,
83
- 'path': path,
84
- },
82
+ workspace: workspace,
83
+ path: path
84
+ }
85
85
  });
86
86
  }
87
87
  /**
@@ -89,17 +89,17 @@ export class ResourceService {
89
89
  * @returns any resource value
90
90
  * @throws ApiError
91
91
  */
92
- static getResourceValueInterpolated({ workspace, path, jobId, }) {
92
+ static getResourceValueInterpolated({ workspace, path, jobId }) {
93
93
  return __request(OpenAPI, {
94
94
  method: 'GET',
95
95
  url: '/w/{workspace}/resources/get_value_interpolated/{path}',
96
96
  path: {
97
- 'workspace': workspace,
98
- 'path': path,
97
+ workspace: workspace,
98
+ path: path
99
99
  },
100
100
  query: {
101
- 'job_id': jobId,
102
- },
101
+ job_id: jobId
102
+ }
103
103
  });
104
104
  }
105
105
  /**
@@ -107,14 +107,14 @@ export class ResourceService {
107
107
  * @returns any resource value
108
108
  * @throws ApiError
109
109
  */
110
- static getResourceValue({ workspace, path, }) {
110
+ static getResourceValue({ workspace, path }) {
111
111
  return __request(OpenAPI, {
112
112
  method: 'GET',
113
113
  url: '/w/{workspace}/resources/get_value/{path}',
114
114
  path: {
115
- 'workspace': workspace,
116
- 'path': path,
117
- },
115
+ workspace: workspace,
116
+ path: path
117
+ }
118
118
  });
119
119
  }
120
120
  /**
@@ -122,14 +122,14 @@ export class ResourceService {
122
122
  * @returns boolean does resource exists
123
123
  * @throws ApiError
124
124
  */
125
- static existsResource({ workspace, path, }) {
125
+ static existsResource({ workspace, path }) {
126
126
  return __request(OpenAPI, {
127
127
  method: 'GET',
128
128
  url: '/w/{workspace}/resources/exists/{path}',
129
129
  path: {
130
- 'workspace': workspace,
131
- 'path': path,
132
- },
130
+ workspace: workspace,
131
+ path: path
132
+ }
133
133
  });
134
134
  }
135
135
  /**
@@ -137,19 +137,19 @@ export class ResourceService {
137
137
  * @returns ListableResource resource list
138
138
  * @throws ApiError
139
139
  */
140
- static listResource({ workspace, page, perPage, resourceType, resourceTypeExclude, }) {
140
+ static listResource({ workspace, page, perPage, resourceType, resourceTypeExclude }) {
141
141
  return __request(OpenAPI, {
142
142
  method: 'GET',
143
143
  url: '/w/{workspace}/resources/list',
144
144
  path: {
145
- 'workspace': workspace,
145
+ workspace: workspace
146
146
  },
147
147
  query: {
148
- 'page': page,
149
- 'per_page': perPage,
150
- 'resource_type': resourceType,
151
- 'resource_type_exclude': resourceTypeExclude,
152
- },
148
+ page: page,
149
+ per_page: perPage,
150
+ resource_type: resourceType,
151
+ resource_type_exclude: resourceTypeExclude
152
+ }
153
153
  });
154
154
  }
155
155
  /**
@@ -157,13 +157,13 @@ export class ResourceService {
157
157
  * @returns any resource list
158
158
  * @throws ApiError
159
159
  */
160
- static listSearchResource({ workspace, }) {
160
+ static listSearchResource({ workspace }) {
161
161
  return __request(OpenAPI, {
162
162
  method: 'GET',
163
163
  url: '/w/{workspace}/resources/list_search',
164
164
  path: {
165
- 'workspace': workspace,
166
- },
165
+ workspace: workspace
166
+ }
167
167
  });
168
168
  }
169
169
  /**
@@ -171,14 +171,14 @@ export class ResourceService {
171
171
  * @returns any resource list names
172
172
  * @throws ApiError
173
173
  */
174
- static listResourceNames({ workspace, name, }) {
174
+ static listResourceNames({ workspace, name }) {
175
175
  return __request(OpenAPI, {
176
176
  method: 'GET',
177
177
  url: '/w/{workspace}/resources/list_names/{name}',
178
178
  path: {
179
- 'workspace': workspace,
180
- 'name': name,
181
- },
179
+ workspace: workspace,
180
+ name: name
181
+ }
182
182
  });
183
183
  }
184
184
  /**
@@ -186,15 +186,15 @@ export class ResourceService {
186
186
  * @returns string resource_type created
187
187
  * @throws ApiError
188
188
  */
189
- static createResourceType({ workspace, requestBody, }) {
189
+ static createResourceType({ workspace, requestBody }) {
190
190
  return __request(OpenAPI, {
191
191
  method: 'POST',
192
192
  url: '/w/{workspace}/resources/type/create',
193
193
  path: {
194
- 'workspace': workspace,
194
+ workspace: workspace
195
195
  },
196
196
  body: requestBody,
197
- mediaType: 'application/json',
197
+ mediaType: 'application/json'
198
198
  });
199
199
  }
200
200
  /**
@@ -202,14 +202,14 @@ export class ResourceService {
202
202
  * @returns string resource_type deleted
203
203
  * @throws ApiError
204
204
  */
205
- static deleteResourceType({ workspace, path, }) {
205
+ static deleteResourceType({ workspace, path }) {
206
206
  return __request(OpenAPI, {
207
207
  method: 'DELETE',
208
208
  url: '/w/{workspace}/resources/type/delete/{path}',
209
209
  path: {
210
- 'workspace': workspace,
211
- 'path': path,
212
- },
210
+ workspace: workspace,
211
+ path: path
212
+ }
213
213
  });
214
214
  }
215
215
  /**
@@ -217,16 +217,16 @@ export class ResourceService {
217
217
  * @returns string resource_type updated
218
218
  * @throws ApiError
219
219
  */
220
- static updateResourceType({ workspace, path, requestBody, }) {
220
+ static updateResourceType({ workspace, path, requestBody }) {
221
221
  return __request(OpenAPI, {
222
222
  method: 'POST',
223
223
  url: '/w/{workspace}/resources/type/update/{path}',
224
224
  path: {
225
- 'workspace': workspace,
226
- 'path': path,
225
+ workspace: workspace,
226
+ path: path
227
227
  },
228
228
  body: requestBody,
229
- mediaType: 'application/json',
229
+ mediaType: 'application/json'
230
230
  });
231
231
  }
232
232
  /**
@@ -234,14 +234,14 @@ export class ResourceService {
234
234
  * @returns ResourceType resource_type deleted
235
235
  * @throws ApiError
236
236
  */
237
- static getResourceType({ workspace, path, }) {
237
+ static getResourceType({ workspace, path }) {
238
238
  return __request(OpenAPI, {
239
239
  method: 'GET',
240
240
  url: '/w/{workspace}/resources/type/get/{path}',
241
241
  path: {
242
- 'workspace': workspace,
243
- 'path': path,
244
- },
242
+ workspace: workspace,
243
+ path: path
244
+ }
245
245
  });
246
246
  }
247
247
  /**
@@ -249,14 +249,14 @@ export class ResourceService {
249
249
  * @returns boolean does resource_type exist
250
250
  * @throws ApiError
251
251
  */
252
- static existsResourceType({ workspace, path, }) {
252
+ static existsResourceType({ workspace, path }) {
253
253
  return __request(OpenAPI, {
254
254
  method: 'GET',
255
255
  url: '/w/{workspace}/resources/type/exists/{path}',
256
256
  path: {
257
- 'workspace': workspace,
258
- 'path': path,
259
- },
257
+ workspace: workspace,
258
+ path: path
259
+ }
260
260
  });
261
261
  }
262
262
  /**
@@ -264,13 +264,13 @@ export class ResourceService {
264
264
  * @returns ResourceType resource_type list
265
265
  * @throws ApiError
266
266
  */
267
- static listResourceType({ workspace, }) {
267
+ static listResourceType({ workspace }) {
268
268
  return __request(OpenAPI, {
269
269
  method: 'GET',
270
270
  url: '/w/{workspace}/resources/type/list',
271
271
  path: {
272
- 'workspace': workspace,
273
- },
272
+ workspace: workspace
273
+ }
274
274
  });
275
275
  }
276
276
  /**
@@ -278,13 +278,13 @@ export class ResourceService {
278
278
  * @returns string resource_type list
279
279
  * @throws ApiError
280
280
  */
281
- static listResourceTypeNames({ workspace, }) {
281
+ static listResourceTypeNames({ workspace }) {
282
282
  return __request(OpenAPI, {
283
283
  method: 'GET',
284
284
  url: '/w/{workspace}/resources/type/listnames',
285
285
  path: {
286
- 'workspace': workspace,
287
- },
286
+ workspace: workspace
287
+ }
288
288
  });
289
289
  }
290
290
  /**
@@ -292,17 +292,17 @@ export class ResourceService {
292
292
  * @returns any resource type details
293
293
  * @throws ApiError
294
294
  */
295
- static queryResourceTypes({ workspace, text, limit, }) {
295
+ static queryResourceTypes({ workspace, text, limit }) {
296
296
  return __request(OpenAPI, {
297
297
  method: 'GET',
298
298
  url: '/w/{workspace}/embeddings/query_resource_types',
299
299
  path: {
300
- 'workspace': workspace,
300
+ workspace: workspace
301
301
  },
302
302
  query: {
303
- 'text': text,
304
- 'limit': limit,
305
- },
303
+ text: text,
304
+ limit: limit
305
+ }
306
306
  });
307
307
  }
308
308
  }
@@ -9,7 +9,7 @@ export declare class ScheduleService {
9
9
  * @returns string List of 5 estimated upcoming execution events (in UTC)
10
10
  * @throws ApiError
11
11
  */
12
- static previewSchedule({ requestBody, }: {
12
+ static previewSchedule({ requestBody }: {
13
13
  /**
14
14
  * schedule
15
15
  */
@@ -23,7 +23,7 @@ export declare class ScheduleService {
23
23
  * @returns string schedule created
24
24
  * @throws ApiError
25
25
  */
26
- static createSchedule({ workspace, requestBody, }: {
26
+ static createSchedule({ workspace, requestBody }: {
27
27
  workspace: string;
28
28
  /**
29
29
  * new schedule
@@ -35,7 +35,7 @@ export declare class ScheduleService {
35
35
  * @returns string schedule updated
36
36
  * @throws ApiError
37
37
  */
38
- static updateSchedule({ workspace, path, requestBody, }: {
38
+ static updateSchedule({ workspace, path, requestBody }: {
39
39
  workspace: string;
40
40
  path: string;
41
41
  /**
@@ -48,7 +48,7 @@ export declare class ScheduleService {
48
48
  * @returns string schedule enabled set
49
49
  * @throws ApiError
50
50
  */
51
- static setScheduleEnabled({ workspace, path, requestBody, }: {
51
+ static setScheduleEnabled({ workspace, path, requestBody }: {
52
52
  workspace: string;
53
53
  path: string;
54
54
  /**
@@ -63,7 +63,7 @@ export declare class ScheduleService {
63
63
  * @returns string schedule deleted
64
64
  * @throws ApiError
65
65
  */
66
- static deleteSchedule({ workspace, path, }: {
66
+ static deleteSchedule({ workspace, path }: {
67
67
  workspace: string;
68
68
  path: string;
69
69
  }): CancelablePromise<string>;
@@ -72,7 +72,7 @@ export declare class ScheduleService {
72
72
  * @returns Schedule schedule deleted
73
73
  * @throws ApiError
74
74
  */
75
- static getSchedule({ workspace, path, }: {
75
+ static getSchedule({ workspace, path }: {
76
76
  workspace: string;
77
77
  path: string;
78
78
  }): CancelablePromise<Schedule>;
@@ -81,7 +81,7 @@ export declare class ScheduleService {
81
81
  * @returns boolean schedule exists
82
82
  * @throws ApiError
83
83
  */
84
- static existsSchedule({ workspace, path, }: {
84
+ static existsSchedule({ workspace, path }: {
85
85
  workspace: string;
86
86
  path: string;
87
87
  }): CancelablePromise<boolean>;
@@ -90,7 +90,7 @@ export declare class ScheduleService {
90
90
  * @returns Schedule schedule list
91
91
  * @throws ApiError
92
92
  */
93
- static listSchedules({ workspace, page, perPage, args, path, isFlow, }: {
93
+ static listSchedules({ workspace, page, perPage, args, path, isFlow }: {
94
94
  workspace: string;
95
95
  /**
96
96
  * which page to return (start at 1, default 1)
@@ -115,7 +115,7 @@ export declare class ScheduleService {
115
115
  * @returns ScheduleWJobs schedule list
116
116
  * @throws ApiError
117
117
  */
118
- static listSchedulesWithJobs({ workspace, page, perPage, }: {
118
+ static listSchedulesWithJobs({ workspace, page, perPage }: {
119
119
  workspace: string;
120
120
  /**
121
121
  * which page to return (start at 1, default 1)
@@ -131,7 +131,7 @@ export declare class ScheduleService {
131
131
  * @returns any default error handler set
132
132
  * @throws ApiError
133
133
  */
134
- static setDefaultErrorOrRecoveryHandler({ workspace, requestBody, }: {
134
+ static setDefaultErrorOrRecoveryHandler({ workspace, requestBody }: {
135
135
  workspace: string;
136
136
  /**
137
137
  * Handler description
@@ -6,12 +6,12 @@ export class ScheduleService {
6
6
  * @returns string List of 5 estimated upcoming execution events (in UTC)
7
7
  * @throws ApiError
8
8
  */
9
- static previewSchedule({ requestBody, }) {
9
+ static previewSchedule({ requestBody }) {
10
10
  return __request(OpenAPI, {
11
11
  method: 'POST',
12
12
  url: '/schedules/preview',
13
13
  body: requestBody,
14
- mediaType: 'application/json',
14
+ mediaType: 'application/json'
15
15
  });
16
16
  }
17
17
  /**
@@ -19,15 +19,15 @@ export class ScheduleService {
19
19
  * @returns string schedule created
20
20
  * @throws ApiError
21
21
  */
22
- static createSchedule({ workspace, requestBody, }) {
22
+ static createSchedule({ workspace, requestBody }) {
23
23
  return __request(OpenAPI, {
24
24
  method: 'POST',
25
25
  url: '/w/{workspace}/schedules/create',
26
26
  path: {
27
- 'workspace': workspace,
27
+ workspace: workspace
28
28
  },
29
29
  body: requestBody,
30
- mediaType: 'application/json',
30
+ mediaType: 'application/json'
31
31
  });
32
32
  }
33
33
  /**
@@ -35,16 +35,16 @@ export class ScheduleService {
35
35
  * @returns string schedule updated
36
36
  * @throws ApiError
37
37
  */
38
- static updateSchedule({ workspace, path, requestBody, }) {
38
+ static updateSchedule({ workspace, path, requestBody }) {
39
39
  return __request(OpenAPI, {
40
40
  method: 'POST',
41
41
  url: '/w/{workspace}/schedules/update/{path}',
42
42
  path: {
43
- 'workspace': workspace,
44
- 'path': path,
43
+ workspace: workspace,
44
+ path: path
45
45
  },
46
46
  body: requestBody,
47
- mediaType: 'application/json',
47
+ mediaType: 'application/json'
48
48
  });
49
49
  }
50
50
  /**
@@ -52,16 +52,16 @@ export class ScheduleService {
52
52
  * @returns string schedule enabled set
53
53
  * @throws ApiError
54
54
  */
55
- static setScheduleEnabled({ workspace, path, requestBody, }) {
55
+ static setScheduleEnabled({ workspace, path, requestBody }) {
56
56
  return __request(OpenAPI, {
57
57
  method: 'POST',
58
58
  url: '/w/{workspace}/schedules/setenabled/{path}',
59
59
  path: {
60
- 'workspace': workspace,
61
- 'path': path,
60
+ workspace: workspace,
61
+ path: path
62
62
  },
63
63
  body: requestBody,
64
- mediaType: 'application/json',
64
+ mediaType: 'application/json'
65
65
  });
66
66
  }
67
67
  /**
@@ -69,14 +69,14 @@ export class ScheduleService {
69
69
  * @returns string schedule deleted
70
70
  * @throws ApiError
71
71
  */
72
- static deleteSchedule({ workspace, path, }) {
72
+ static deleteSchedule({ workspace, path }) {
73
73
  return __request(OpenAPI, {
74
74
  method: 'DELETE',
75
75
  url: '/w/{workspace}/schedules/delete/{path}',
76
76
  path: {
77
- 'workspace': workspace,
78
- 'path': path,
79
- },
77
+ workspace: workspace,
78
+ path: path
79
+ }
80
80
  });
81
81
  }
82
82
  /**
@@ -84,14 +84,14 @@ export class ScheduleService {
84
84
  * @returns Schedule schedule deleted
85
85
  * @throws ApiError
86
86
  */
87
- static getSchedule({ workspace, path, }) {
87
+ static getSchedule({ workspace, path }) {
88
88
  return __request(OpenAPI, {
89
89
  method: 'GET',
90
90
  url: '/w/{workspace}/schedules/get/{path}',
91
91
  path: {
92
- 'workspace': workspace,
93
- 'path': path,
94
- },
92
+ workspace: workspace,
93
+ path: path
94
+ }
95
95
  });
96
96
  }
97
97
  /**
@@ -99,14 +99,14 @@ export class ScheduleService {
99
99
  * @returns boolean schedule exists
100
100
  * @throws ApiError
101
101
  */
102
- static existsSchedule({ workspace, path, }) {
102
+ static existsSchedule({ workspace, path }) {
103
103
  return __request(OpenAPI, {
104
104
  method: 'GET',
105
105
  url: '/w/{workspace}/schedules/exists/{path}',
106
106
  path: {
107
- 'workspace': workspace,
108
- 'path': path,
109
- },
107
+ workspace: workspace,
108
+ path: path
109
+ }
110
110
  });
111
111
  }
112
112
  /**
@@ -114,20 +114,20 @@ export class ScheduleService {
114
114
  * @returns Schedule schedule list
115
115
  * @throws ApiError
116
116
  */
117
- static listSchedules({ workspace, page, perPage, args, path, isFlow, }) {
117
+ static listSchedules({ workspace, page, perPage, args, path, isFlow }) {
118
118
  return __request(OpenAPI, {
119
119
  method: 'GET',
120
120
  url: '/w/{workspace}/schedules/list',
121
121
  path: {
122
- 'workspace': workspace,
122
+ workspace: workspace
123
123
  },
124
124
  query: {
125
- 'page': page,
126
- 'per_page': perPage,
127
- 'args': args,
128
- 'path': path,
129
- 'is_flow': isFlow,
130
- },
125
+ page: page,
126
+ per_page: perPage,
127
+ args: args,
128
+ path: path,
129
+ is_flow: isFlow
130
+ }
131
131
  });
132
132
  }
133
133
  /**
@@ -135,17 +135,17 @@ export class ScheduleService {
135
135
  * @returns ScheduleWJobs schedule list
136
136
  * @throws ApiError
137
137
  */
138
- static listSchedulesWithJobs({ workspace, page, perPage, }) {
138
+ static listSchedulesWithJobs({ workspace, page, perPage }) {
139
139
  return __request(OpenAPI, {
140
140
  method: 'GET',
141
141
  url: '/w/{workspace}/schedules/list_with_jobs',
142
142
  path: {
143
- 'workspace': workspace,
143
+ workspace: workspace
144
144
  },
145
145
  query: {
146
- 'page': page,
147
- 'per_page': perPage,
148
- },
146
+ page: page,
147
+ per_page: perPage
148
+ }
149
149
  });
150
150
  }
151
151
  /**
@@ -153,15 +153,15 @@ export class ScheduleService {
153
153
  * @returns any default error handler set
154
154
  * @throws ApiError
155
155
  */
156
- static setDefaultErrorOrRecoveryHandler({ workspace, requestBody, }) {
156
+ static setDefaultErrorOrRecoveryHandler({ workspace, requestBody }) {
157
157
  return __request(OpenAPI, {
158
158
  method: 'POST',
159
159
  url: '/w/{workspace}/schedules/setdefaulthandler',
160
160
  path: {
161
- 'workspace': workspace,
161
+ workspace: workspace
162
162
  },
163
163
  body: requestBody,
164
- mediaType: 'application/json',
164
+ mediaType: 'application/json'
165
165
  });
166
166
  }
167
167
  }