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
@@ -10,7 +10,7 @@ export declare class ScriptService {
10
10
  * @returns string script details
11
11
  * @throws ApiError
12
12
  */
13
- static getHubScriptContentByPath({ path, }: {
13
+ static getHubScriptContentByPath({ path }: {
14
14
  path: string;
15
15
  }): CancelablePromise<string>;
16
16
  /**
@@ -18,7 +18,7 @@ export declare class ScriptService {
18
18
  * @returns any script details
19
19
  * @throws ApiError
20
20
  */
21
- static getHubScriptByPath({ path, }: {
21
+ static getHubScriptByPath({ path }: {
22
22
  path: string;
23
23
  }): CancelablePromise<{
24
24
  content: string;
@@ -32,7 +32,7 @@ export declare class ScriptService {
32
32
  * @returns any hub scripts list
33
33
  * @throws ApiError
34
34
  */
35
- static getTopHubScripts({ limit, app, kind, }: {
35
+ static getTopHubScripts({ limit, app, kind }: {
36
36
  /**
37
37
  * query limit
38
38
  */
@@ -62,7 +62,7 @@ export declare class ScriptService {
62
62
  * @returns any script details
63
63
  * @throws ApiError
64
64
  */
65
- static queryHubScripts({ text, kind, limit, app, }: {
65
+ static queryHubScripts({ text, kind, limit, app }: {
66
66
  /**
67
67
  * query text
68
68
  */
@@ -93,7 +93,7 @@ export declare class ScriptService {
93
93
  * @returns any script list
94
94
  * @throws ApiError
95
95
  */
96
- static listSearchScript({ workspace, }: {
96
+ static listSearchScript({ workspace }: {
97
97
  workspace: string;
98
98
  }): CancelablePromise<Array<{
99
99
  path: string;
@@ -104,7 +104,7 @@ export declare class ScriptService {
104
104
  * @returns Script All scripts
105
105
  * @throws ApiError
106
106
  */
107
- static listScripts({ workspace, page, perPage, orderDesc, createdBy, pathStart, pathExact, firstParentHash, lastParentHash, parentHash, showArchived, isTemplate, kinds, starredOnly, }: {
107
+ static listScripts({ workspace, page, perPage, orderDesc, createdBy, pathStart, pathExact, firstParentHash, lastParentHash, parentHash, showArchived, isTemplate, kinds, starredOnly }: {
108
108
  workspace: string;
109
109
  /**
110
110
  * which page to return (start at 1, default 1)
@@ -185,7 +185,7 @@ export declare class ScriptService {
185
185
  * @returns string list of script paths
186
186
  * @throws ApiError
187
187
  */
188
- static listScriptPaths({ workspace, }: {
188
+ static listScriptPaths({ workspace }: {
189
189
  workspace: string;
190
190
  }): CancelablePromise<Array<string>>;
191
191
  /**
@@ -193,7 +193,7 @@ export declare class ScriptService {
193
193
  * @returns string script created
194
194
  * @throws ApiError
195
195
  */
196
- static createScript({ workspace, requestBody, }: {
196
+ static createScript({ workspace, requestBody }: {
197
197
  workspace: string;
198
198
  /**
199
199
  * Partially filled script
@@ -205,7 +205,7 @@ export declare class ScriptService {
205
205
  * @returns string error handler toggled
206
206
  * @throws ApiError
207
207
  */
208
- static toggleWorkspaceErrorHandlerForScript({ workspace, path, requestBody, }: {
208
+ static toggleWorkspaceErrorHandlerForScript({ workspace, path, requestBody }: {
209
209
  workspace: string;
210
210
  path: string;
211
211
  /**
@@ -220,7 +220,7 @@ export declare class ScriptService {
220
220
  * @returns string script archived
221
221
  * @throws ApiError
222
222
  */
223
- static archiveScriptByPath({ workspace, path, }: {
223
+ static archiveScriptByPath({ workspace, path }: {
224
224
  workspace: string;
225
225
  path: string;
226
226
  }): CancelablePromise<string>;
@@ -229,7 +229,7 @@ export declare class ScriptService {
229
229
  * @returns Script script details
230
230
  * @throws ApiError
231
231
  */
232
- static archiveScriptByHash({ workspace, hash, }: {
232
+ static archiveScriptByHash({ workspace, hash }: {
233
233
  workspace: string;
234
234
  hash: string;
235
235
  }): CancelablePromise<Script>;
@@ -238,7 +238,7 @@ export declare class ScriptService {
238
238
  * @returns Script script details
239
239
  * @throws ApiError
240
240
  */
241
- static deleteScriptByHash({ workspace, hash, }: {
241
+ static deleteScriptByHash({ workspace, hash }: {
242
242
  workspace: string;
243
243
  hash: string;
244
244
  }): CancelablePromise<Script>;
@@ -247,7 +247,7 @@ export declare class ScriptService {
247
247
  * @returns string script path
248
248
  * @throws ApiError
249
249
  */
250
- static deleteScriptByPath({ workspace, path, }: {
250
+ static deleteScriptByPath({ workspace, path }: {
251
251
  workspace: string;
252
252
  path: string;
253
253
  }): CancelablePromise<string>;
@@ -256,7 +256,7 @@ export declare class ScriptService {
256
256
  * @returns Script script details
257
257
  * @throws ApiError
258
258
  */
259
- static getScriptByPath({ workspace, path, }: {
259
+ static getScriptByPath({ workspace, path }: {
260
260
  workspace: string;
261
261
  path: string;
262
262
  }): CancelablePromise<Script>;
@@ -265,7 +265,7 @@ export declare class ScriptService {
265
265
  * @returns NewScriptWithDraft script details
266
266
  * @throws ApiError
267
267
  */
268
- static getScriptByPathWithDraft({ workspace, path, }: {
268
+ static getScriptByPathWithDraft({ workspace, path }: {
269
269
  workspace: string;
270
270
  path: string;
271
271
  }): CancelablePromise<NewScriptWithDraft>;
@@ -274,7 +274,7 @@ export declare class ScriptService {
274
274
  * @returns ScriptHistory script history
275
275
  * @throws ApiError
276
276
  */
277
- static getScriptHistoryByPath({ workspace, path, }: {
277
+ static getScriptHistoryByPath({ workspace, path }: {
278
278
  workspace: string;
279
279
  path: string;
280
280
  }): CancelablePromise<Array<ScriptHistory>>;
@@ -283,7 +283,7 @@ export declare class ScriptService {
283
283
  * @returns string success
284
284
  * @throws ApiError
285
285
  */
286
- static updateScriptHistory({ workspace, hash, path, requestBody, }: {
286
+ static updateScriptHistory({ workspace, hash, path, requestBody }: {
287
287
  workspace: string;
288
288
  hash: string;
289
289
  path: string;
@@ -299,7 +299,7 @@ export declare class ScriptService {
299
299
  * @returns string script content
300
300
  * @throws ApiError
301
301
  */
302
- static rawScriptByPath({ workspace, path, }: {
302
+ static rawScriptByPath({ workspace, path }: {
303
303
  workspace: string;
304
304
  path: string;
305
305
  }): CancelablePromise<string>;
@@ -308,7 +308,7 @@ export declare class ScriptService {
308
308
  * @returns string script content
309
309
  * @throws ApiError
310
310
  */
311
- static rawScriptByPathTokened({ workspace, token, path, }: {
311
+ static rawScriptByPathTokened({ workspace, token, path }: {
312
312
  workspace: string;
313
313
  token: string;
314
314
  path: string;
@@ -318,7 +318,7 @@ export declare class ScriptService {
318
318
  * @returns boolean does it exists
319
319
  * @throws ApiError
320
320
  */
321
- static existsScriptByPath({ workspace, path, }: {
321
+ static existsScriptByPath({ workspace, path }: {
322
322
  workspace: string;
323
323
  path: string;
324
324
  }): CancelablePromise<boolean>;
@@ -327,7 +327,7 @@ export declare class ScriptService {
327
327
  * @returns Script script details
328
328
  * @throws ApiError
329
329
  */
330
- static getScriptByHash({ workspace, hash, }: {
330
+ static getScriptByHash({ workspace, hash }: {
331
331
  workspace: string;
332
332
  hash: string;
333
333
  }): CancelablePromise<Script>;
@@ -336,7 +336,7 @@ export declare class ScriptService {
336
336
  * @returns string script content
337
337
  * @throws ApiError
338
338
  */
339
- static rawScriptByHash({ workspace, path, }: {
339
+ static rawScriptByHash({ workspace, path }: {
340
340
  workspace: string;
341
341
  path: string;
342
342
  }): CancelablePromise<string>;
@@ -345,7 +345,7 @@ export declare class ScriptService {
345
345
  * @returns any script details
346
346
  * @throws ApiError
347
347
  */
348
- static getScriptDeploymentStatus({ workspace, hash, }: {
348
+ static getScriptDeploymentStatus({ workspace, hash }: {
349
349
  workspace: string;
350
350
  hash: string;
351
351
  }): CancelablePromise<{
@@ -6,13 +6,13 @@ export class ScriptService {
6
6
  * @returns string script details
7
7
  * @throws ApiError
8
8
  */
9
- static getHubScriptContentByPath({ path, }) {
9
+ static getHubScriptContentByPath({ path }) {
10
10
  return __request(OpenAPI, {
11
11
  method: 'GET',
12
12
  url: '/scripts/hub/get/{path}',
13
13
  path: {
14
- 'path': path,
15
- },
14
+ path: path
15
+ }
16
16
  });
17
17
  }
18
18
  /**
@@ -20,13 +20,13 @@ export class ScriptService {
20
20
  * @returns any script details
21
21
  * @throws ApiError
22
22
  */
23
- static getHubScriptByPath({ path, }) {
23
+ static getHubScriptByPath({ path }) {
24
24
  return __request(OpenAPI, {
25
25
  method: 'GET',
26
26
  url: '/scripts/hub/get_full/{path}',
27
27
  path: {
28
- 'path': path,
29
- },
28
+ path: path
29
+ }
30
30
  });
31
31
  }
32
32
  /**
@@ -34,15 +34,15 @@ export class ScriptService {
34
34
  * @returns any hub scripts list
35
35
  * @throws ApiError
36
36
  */
37
- static getTopHubScripts({ limit, app, kind, }) {
37
+ static getTopHubScripts({ limit, app, kind }) {
38
38
  return __request(OpenAPI, {
39
39
  method: 'GET',
40
40
  url: '/scripts/hub/top',
41
41
  query: {
42
- 'limit': limit,
43
- 'app': app,
44
- 'kind': kind,
45
- },
42
+ limit: limit,
43
+ app: app,
44
+ kind: kind
45
+ }
46
46
  });
47
47
  }
48
48
  /**
@@ -50,16 +50,16 @@ export class ScriptService {
50
50
  * @returns any script details
51
51
  * @throws ApiError
52
52
  */
53
- static queryHubScripts({ text, kind, limit, app, }) {
53
+ static queryHubScripts({ text, kind, limit, app }) {
54
54
  return __request(OpenAPI, {
55
55
  method: 'GET',
56
56
  url: '/embeddings/query_hub_scripts',
57
57
  query: {
58
- 'text': text,
59
- 'kind': kind,
60
- 'limit': limit,
61
- 'app': app,
62
- },
58
+ text: text,
59
+ kind: kind,
60
+ limit: limit,
61
+ app: app
62
+ }
63
63
  });
64
64
  }
65
65
  /**
@@ -67,13 +67,13 @@ export class ScriptService {
67
67
  * @returns any script list
68
68
  * @throws ApiError
69
69
  */
70
- static listSearchScript({ workspace, }) {
70
+ static listSearchScript({ workspace }) {
71
71
  return __request(OpenAPI, {
72
72
  method: 'GET',
73
73
  url: '/w/{workspace}/scripts/list_search',
74
74
  path: {
75
- 'workspace': workspace,
76
- },
75
+ workspace: workspace
76
+ }
77
77
  });
78
78
  }
79
79
  /**
@@ -81,28 +81,28 @@ export class ScriptService {
81
81
  * @returns Script All scripts
82
82
  * @throws ApiError
83
83
  */
84
- static listScripts({ workspace, page, perPage, orderDesc, createdBy, pathStart, pathExact, firstParentHash, lastParentHash, parentHash, showArchived, isTemplate, kinds, starredOnly, }) {
84
+ static listScripts({ workspace, page, perPage, orderDesc, createdBy, pathStart, pathExact, firstParentHash, lastParentHash, parentHash, showArchived, isTemplate, kinds, starredOnly }) {
85
85
  return __request(OpenAPI, {
86
86
  method: 'GET',
87
87
  url: '/w/{workspace}/scripts/list',
88
88
  path: {
89
- 'workspace': workspace,
89
+ workspace: workspace
90
90
  },
91
91
  query: {
92
- 'page': page,
93
- 'per_page': perPage,
94
- 'order_desc': orderDesc,
95
- 'created_by': createdBy,
96
- 'path_start': pathStart,
97
- 'path_exact': pathExact,
98
- 'first_parent_hash': firstParentHash,
99
- 'last_parent_hash': lastParentHash,
100
- 'parent_hash': parentHash,
101
- 'show_archived': showArchived,
102
- 'is_template': isTemplate,
103
- 'kinds': kinds,
104
- 'starred_only': starredOnly,
105
- },
92
+ page: page,
93
+ per_page: perPage,
94
+ order_desc: orderDesc,
95
+ created_by: createdBy,
96
+ path_start: pathStart,
97
+ path_exact: pathExact,
98
+ first_parent_hash: firstParentHash,
99
+ last_parent_hash: lastParentHash,
100
+ parent_hash: parentHash,
101
+ show_archived: showArchived,
102
+ is_template: isTemplate,
103
+ kinds: kinds,
104
+ starred_only: starredOnly
105
+ }
106
106
  });
107
107
  }
108
108
  /**
@@ -110,13 +110,13 @@ export class ScriptService {
110
110
  * @returns string list of script paths
111
111
  * @throws ApiError
112
112
  */
113
- static listScriptPaths({ workspace, }) {
113
+ static listScriptPaths({ workspace }) {
114
114
  return __request(OpenAPI, {
115
115
  method: 'GET',
116
116
  url: '/w/{workspace}/scripts/list_paths',
117
117
  path: {
118
- 'workspace': workspace,
119
- },
118
+ workspace: workspace
119
+ }
120
120
  });
121
121
  }
122
122
  /**
@@ -124,15 +124,15 @@ export class ScriptService {
124
124
  * @returns string script created
125
125
  * @throws ApiError
126
126
  */
127
- static createScript({ workspace, requestBody, }) {
127
+ static createScript({ workspace, requestBody }) {
128
128
  return __request(OpenAPI, {
129
129
  method: 'POST',
130
130
  url: '/w/{workspace}/scripts/create',
131
131
  path: {
132
- 'workspace': workspace,
132
+ workspace: workspace
133
133
  },
134
134
  body: requestBody,
135
- mediaType: 'application/json',
135
+ mediaType: 'application/json'
136
136
  });
137
137
  }
138
138
  /**
@@ -140,16 +140,16 @@ export class ScriptService {
140
140
  * @returns string error handler toggled
141
141
  * @throws ApiError
142
142
  */
143
- static toggleWorkspaceErrorHandlerForScript({ workspace, path, requestBody, }) {
143
+ static toggleWorkspaceErrorHandlerForScript({ workspace, path, requestBody }) {
144
144
  return __request(OpenAPI, {
145
145
  method: 'POST',
146
146
  url: '/w/{workspace}/scripts/toggle_workspace_error_handler/p/{path}',
147
147
  path: {
148
- 'workspace': workspace,
149
- 'path': path,
148
+ workspace: workspace,
149
+ path: path
150
150
  },
151
151
  body: requestBody,
152
- mediaType: 'application/json',
152
+ mediaType: 'application/json'
153
153
  });
154
154
  }
155
155
  /**
@@ -157,14 +157,14 @@ export class ScriptService {
157
157
  * @returns string script archived
158
158
  * @throws ApiError
159
159
  */
160
- static archiveScriptByPath({ workspace, path, }) {
160
+ static archiveScriptByPath({ workspace, path }) {
161
161
  return __request(OpenAPI, {
162
162
  method: 'POST',
163
163
  url: '/w/{workspace}/scripts/archive/p/{path}',
164
164
  path: {
165
- 'workspace': workspace,
166
- 'path': path,
167
- },
165
+ workspace: workspace,
166
+ path: path
167
+ }
168
168
  });
169
169
  }
170
170
  /**
@@ -172,14 +172,14 @@ export class ScriptService {
172
172
  * @returns Script script details
173
173
  * @throws ApiError
174
174
  */
175
- static archiveScriptByHash({ workspace, hash, }) {
175
+ static archiveScriptByHash({ workspace, hash }) {
176
176
  return __request(OpenAPI, {
177
177
  method: 'POST',
178
178
  url: '/w/{workspace}/scripts/archive/h/{hash}',
179
179
  path: {
180
- 'workspace': workspace,
181
- 'hash': hash,
182
- },
180
+ workspace: workspace,
181
+ hash: hash
182
+ }
183
183
  });
184
184
  }
185
185
  /**
@@ -187,14 +187,14 @@ export class ScriptService {
187
187
  * @returns Script script details
188
188
  * @throws ApiError
189
189
  */
190
- static deleteScriptByHash({ workspace, hash, }) {
190
+ static deleteScriptByHash({ workspace, hash }) {
191
191
  return __request(OpenAPI, {
192
192
  method: 'POST',
193
193
  url: '/w/{workspace}/scripts/delete/h/{hash}',
194
194
  path: {
195
- 'workspace': workspace,
196
- 'hash': hash,
197
- },
195
+ workspace: workspace,
196
+ hash: hash
197
+ }
198
198
  });
199
199
  }
200
200
  /**
@@ -202,14 +202,14 @@ export class ScriptService {
202
202
  * @returns string script path
203
203
  * @throws ApiError
204
204
  */
205
- static deleteScriptByPath({ workspace, path, }) {
205
+ static deleteScriptByPath({ workspace, path }) {
206
206
  return __request(OpenAPI, {
207
207
  method: 'POST',
208
208
  url: '/w/{workspace}/scripts/delete/p/{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,14 +217,14 @@ export class ScriptService {
217
217
  * @returns Script script details
218
218
  * @throws ApiError
219
219
  */
220
- static getScriptByPath({ workspace, path, }) {
220
+ static getScriptByPath({ workspace, path }) {
221
221
  return __request(OpenAPI, {
222
222
  method: 'GET',
223
223
  url: '/w/{workspace}/scripts/get/p/{path}',
224
224
  path: {
225
- 'workspace': workspace,
226
- 'path': path,
227
- },
225
+ workspace: workspace,
226
+ path: path
227
+ }
228
228
  });
229
229
  }
230
230
  /**
@@ -232,14 +232,14 @@ export class ScriptService {
232
232
  * @returns NewScriptWithDraft script details
233
233
  * @throws ApiError
234
234
  */
235
- static getScriptByPathWithDraft({ workspace, path, }) {
235
+ static getScriptByPathWithDraft({ workspace, path }) {
236
236
  return __request(OpenAPI, {
237
237
  method: 'GET',
238
238
  url: '/w/{workspace}/scripts/get/draft/{path}',
239
239
  path: {
240
- 'workspace': workspace,
241
- 'path': path,
242
- },
240
+ workspace: workspace,
241
+ path: path
242
+ }
243
243
  });
244
244
  }
245
245
  /**
@@ -247,14 +247,14 @@ export class ScriptService {
247
247
  * @returns ScriptHistory script history
248
248
  * @throws ApiError
249
249
  */
250
- static getScriptHistoryByPath({ workspace, path, }) {
250
+ static getScriptHistoryByPath({ workspace, path }) {
251
251
  return __request(OpenAPI, {
252
252
  method: 'GET',
253
253
  url: '/w/{workspace}/scripts/history/p/{path}',
254
254
  path: {
255
- 'workspace': workspace,
256
- 'path': path,
257
- },
255
+ workspace: workspace,
256
+ path: path
257
+ }
258
258
  });
259
259
  }
260
260
  /**
@@ -262,17 +262,17 @@ export class ScriptService {
262
262
  * @returns string success
263
263
  * @throws ApiError
264
264
  */
265
- static updateScriptHistory({ workspace, hash, path, requestBody, }) {
265
+ static updateScriptHistory({ workspace, hash, path, requestBody }) {
266
266
  return __request(OpenAPI, {
267
267
  method: 'POST',
268
268
  url: '/w/{workspace}/scripts/history_update/h/{hash}/p/{path}',
269
269
  path: {
270
- 'workspace': workspace,
271
- 'hash': hash,
272
- 'path': path,
270
+ workspace: workspace,
271
+ hash: hash,
272
+ path: path
273
273
  },
274
274
  body: requestBody,
275
- mediaType: 'application/json',
275
+ mediaType: 'application/json'
276
276
  });
277
277
  }
278
278
  /**
@@ -280,14 +280,14 @@ export class ScriptService {
280
280
  * @returns string script content
281
281
  * @throws ApiError
282
282
  */
283
- static rawScriptByPath({ workspace, path, }) {
283
+ static rawScriptByPath({ workspace, path }) {
284
284
  return __request(OpenAPI, {
285
285
  method: 'GET',
286
286
  url: '/w/{workspace}/scripts/raw/p/{path}',
287
287
  path: {
288
- 'workspace': workspace,
289
- 'path': path,
290
- },
288
+ workspace: workspace,
289
+ path: path
290
+ }
291
291
  });
292
292
  }
293
293
  /**
@@ -295,15 +295,15 @@ export class ScriptService {
295
295
  * @returns string script content
296
296
  * @throws ApiError
297
297
  */
298
- static rawScriptByPathTokened({ workspace, token, path, }) {
298
+ static rawScriptByPathTokened({ workspace, token, path }) {
299
299
  return __request(OpenAPI, {
300
300
  method: 'GET',
301
301
  url: '/scripts_u/tokened_raw/{workspace}/{token}/{path}',
302
302
  path: {
303
- 'workspace': workspace,
304
- 'token': token,
305
- 'path': path,
306
- },
303
+ workspace: workspace,
304
+ token: token,
305
+ path: path
306
+ }
307
307
  });
308
308
  }
309
309
  /**
@@ -311,14 +311,14 @@ export class ScriptService {
311
311
  * @returns boolean does it exists
312
312
  * @throws ApiError
313
313
  */
314
- static existsScriptByPath({ workspace, path, }) {
314
+ static existsScriptByPath({ workspace, path }) {
315
315
  return __request(OpenAPI, {
316
316
  method: 'GET',
317
317
  url: '/w/{workspace}/scripts/exists/p/{path}',
318
318
  path: {
319
- 'workspace': workspace,
320
- 'path': path,
321
- },
319
+ workspace: workspace,
320
+ path: path
321
+ }
322
322
  });
323
323
  }
324
324
  /**
@@ -326,14 +326,14 @@ export class ScriptService {
326
326
  * @returns Script script details
327
327
  * @throws ApiError
328
328
  */
329
- static getScriptByHash({ workspace, hash, }) {
329
+ static getScriptByHash({ workspace, hash }) {
330
330
  return __request(OpenAPI, {
331
331
  method: 'GET',
332
332
  url: '/w/{workspace}/scripts/get/h/{hash}',
333
333
  path: {
334
- 'workspace': workspace,
335
- 'hash': hash,
336
- },
334
+ workspace: workspace,
335
+ hash: hash
336
+ }
337
337
  });
338
338
  }
339
339
  /**
@@ -341,14 +341,14 @@ export class ScriptService {
341
341
  * @returns string script content
342
342
  * @throws ApiError
343
343
  */
344
- static rawScriptByHash({ workspace, path, }) {
344
+ static rawScriptByHash({ workspace, path }) {
345
345
  return __request(OpenAPI, {
346
346
  method: 'GET',
347
347
  url: '/w/{workspace}/scripts/raw/h/{path}',
348
348
  path: {
349
- 'workspace': workspace,
350
- 'path': path,
351
- },
349
+ workspace: workspace,
350
+ path: path
351
+ }
352
352
  });
353
353
  }
354
354
  /**
@@ -356,14 +356,14 @@ export class ScriptService {
356
356
  * @returns any script details
357
357
  * @throws ApiError
358
358
  */
359
- static getScriptDeploymentStatus({ workspace, hash, }) {
359
+ static getScriptDeploymentStatus({ workspace, hash }) {
360
360
  return __request(OpenAPI, {
361
361
  method: 'GET',
362
362
  url: '/w/{workspace}/scripts/deployment_status/h/{hash}',
363
363
  path: {
364
- 'workspace': workspace,
365
- 'hash': hash,
366
- },
364
+ workspace: workspace,
365
+ hash: hash
366
+ }
367
367
  });
368
368
  }
369
369
  }