windmill-components 1.306.10 → 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.
- package/package/autosize.js +6 -1
- package/package/common.d.ts +2 -2
- package/package/components/ApiConnectForm.svelte +2 -1
- package/package/components/AppConnect.svelte +1 -1
- package/package/components/DeployWorkspace.svelte +2 -2
- package/package/components/DeployWorkspace.svelte.d.ts +1 -1
- package/package/components/DeployWorkspaceDrawer.svelte.d.ts +2 -2
- package/package/components/Dev.svelte +2 -1
- package/package/components/DropdownV2.svelte +4 -1
- package/package/components/DropdownV2.svelte.d.ts +2 -2
- package/package/components/Editor.svelte +1 -1
- package/package/components/Editor.svelte.d.ts +2 -2
- package/package/components/EditorBar.svelte +25 -23
- package/package/components/EditorBar.svelte.d.ts +2 -3
- package/package/components/ErrorOrRecoveryHandler.svelte +2 -2
- package/package/components/ErrorOrRecoveryHandler.svelte.d.ts +1 -1
- package/package/components/FlowBuilder.svelte +6 -6
- package/package/components/FlowBuilder.svelte.d.ts +1 -1
- package/package/components/FlowLoopIterationPreview.svelte +1 -1
- package/package/components/FlowLoopIterationPreview.svelte.d.ts +1 -1
- package/package/components/FlowPreviewContent.svelte +1 -1
- package/package/components/FlowPreviewContent.svelte.d.ts +1 -1
- package/package/components/FlowStatusViewerInner.svelte +13 -15
- package/package/components/FlowStatusViewerInner.svelte.d.ts +1 -1
- package/package/components/FlowStatusWaitingForEvents.svelte +3 -3
- package/package/components/FlowStatusWaitingForEvents.svelte.d.ts +1 -1
- package/package/components/HighlightCode.svelte.d.ts +1 -1
- package/package/components/InstanceSettings.svelte +4 -2
- package/package/components/LogViewer.svelte +65 -20
- package/package/components/ModulePreview.svelte +2 -2
- package/package/components/ModulePreview.svelte.d.ts +2 -2
- package/package/components/ModuleStatus.svelte +6 -7
- package/package/components/ModuleStatus.svelte.d.ts +2 -2
- package/package/components/MoveDrawer.svelte.d.ts +2 -2
- package/package/components/ParqetTableRenderer.svelte +3 -3
- package/package/components/Path.svelte.d.ts +1 -1
- package/package/components/ResultJobLoader.svelte.d.ts +1 -1
- package/package/components/SavedInputs.svelte +6 -5
- package/package/components/ScheduleEditorInner.svelte +6 -6
- package/package/components/ScriptBuilder.svelte +9 -9
- package/package/components/ScriptBuilder.svelte.d.ts +1 -1
- package/package/components/ScriptEditor.svelte +1 -1
- package/package/components/ScriptEditor.svelte.d.ts +4 -4
- package/package/components/ScriptPicker.svelte +2 -2
- package/package/components/ScriptPicker.svelte.d.ts +2 -3
- package/package/components/ShareModal.svelte +1 -2
- package/package/components/ShareModal.svelte.d.ts +2 -2
- package/package/components/SuperadminSettings.svelte +1 -1
- package/package/components/TestConnection.svelte +2 -2
- package/package/components/TestJobLoader.svelte +1 -1
- package/package/components/TestJobLoader.svelte.d.ts +4 -4
- package/package/components/WorkspaceGroup.svelte +2 -2
- package/package/components/apps/components/display/AppText.svelte +2 -2
- package/package/components/apps/components/display/dbtable/AppDbExplorer.svelte +4 -0
- package/package/components/apps/components/display/dbtable/AppDbExplorer.svelte.d.ts +2 -0
- package/package/components/apps/components/display/dbtable/queries/count.js +1 -2
- package/package/components/apps/components/display/dbtable/queries/delete.js +20 -12
- package/package/components/apps/components/display/dbtable/queries/select.js +2 -1
- package/package/components/apps/components/display/dbtable/queries/update.js +20 -12
- package/package/components/apps/components/display/dbtable/utils.d.ts +2 -1
- package/package/components/apps/components/display/dbtable/utils.js +14 -13
- package/package/components/apps/components/display/table/AppAggridExplorerTable.svelte +75 -1
- package/package/components/apps/components/display/table/AppAggridExplorerTable.svelte.d.ts +2 -1
- package/package/components/apps/components/display/table/AppAggridTable.svelte +10 -28
- package/package/components/apps/components/display/table/AppAggridTableActions.svelte +2 -2
- package/package/components/apps/components/display/table/utils.js +0 -1
- package/package/components/apps/components/inputs/AppTextInput.svelte +1 -1
- package/package/components/apps/editor/AppEditorHeader.svelte +60 -45
- package/package/components/apps/editor/AppEditorHeader.svelte.d.ts +1 -1
- package/package/components/apps/editor/AppEditorTutorial.svelte +10 -6
- package/package/components/apps/editor/AppInputs.svelte +1 -1
- package/package/components/apps/editor/AppReportsDrawer.svelte +6 -4
- package/package/components/apps/editor/DeploymentHistory.svelte +1 -1
- package/package/components/apps/editor/PreviewToggle.svelte +10 -1
- package/package/components/apps/editor/SettingsPanel.svelte +6 -2
- package/package/components/apps/editor/appUtils.js +19 -7
- package/package/components/apps/editor/component/Component.svelte +1 -0
- package/package/components/apps/editor/component/ComponentCallbacks.svelte +4 -1
- package/package/components/apps/editor/component/components.d.ts +77 -70
- package/package/components/apps/editor/component/components.js +7 -1
- package/package/components/apps/editor/componentsPanel/CustomComponentRow.svelte +24 -21
- package/package/components/apps/editor/contextPanel/components/OutputHeader.svelte +6 -2
- package/package/components/apps/editor/contextPanel/components/TableActionsOutput.svelte +1 -1
- package/package/components/apps/editor/inlineScriptsPanel/CacheTtlPopup.svelte +5 -4
- package/package/components/apps/editor/inlineScriptsPanel/EmptyInlineScript.svelte +2 -3
- package/package/components/apps/editor/inlineScriptsPanel/InlineScriptEditor.svelte +20 -18
- package/package/components/apps/editor/inlineScriptsPanel/InlineScriptsPanel.svelte +1 -1
- package/package/components/apps/editor/inlineScriptsPanel/InlineScriptsPanelWithTable.svelte +1 -1
- package/package/components/apps/editor/inlineScriptsPanel/utils.js +3 -1
- package/package/components/apps/editor/settingsPanel/ComponentPanel.svelte +2 -0
- package/package/components/apps/editor/settingsPanel/mainInput/WorkspaceScriptList.svelte +1 -1
- package/package/components/apps/svelte-select/lib/Select.svelte.d.ts +2 -2
- package/package/components/apps/types.d.ts +1 -1
- package/package/components/apps/utils.js +3 -1
- package/package/components/auditLogs/AuditLogDetails.svelte +6 -4
- package/package/components/auditLogs/AuditLogDetails.svelte.d.ts +1 -1
- package/package/components/auditLogs/AuditLogsFilters.svelte +1 -1
- package/package/components/auditLogs/AuditLogsFilters.svelte.d.ts +1 -1
- package/package/components/build_workers.js +5 -5
- package/package/components/common/confirmationModal/UnsavedConfirmationModal.svelte +5 -2
- package/package/components/common/languageIcons/LanguageIcon.svelte +13 -12
- package/package/components/common/table/AppRow.svelte +1 -1
- package/package/components/common/table/Row.svelte.d.ts +1 -1
- package/package/components/copilot/FlowCopilotDrawer.svelte +6 -4
- package/package/components/copilot/ScriptGen.svelte +5 -5
- package/package/components/copilot/ScriptGen.svelte.d.ts +1 -1
- package/package/components/copilot/StepGen.svelte +1 -1
- package/package/components/copilot/flow.d.ts +3 -3
- package/package/components/copilot/flow.js +1 -1
- package/package/components/copilot/lib.d.ts +2 -2
- package/package/components/copilot/lib.js +1 -1
- package/package/components/details/WebhooksPanel.svelte +1 -1
- package/package/components/details/utils.d.ts +1 -1
- package/package/components/details/utils.js +1 -1
- package/package/components/flows/FlowProgressBar.svelte +3 -4
- package/package/components/flows/FlowProgressBar.svelte.d.ts +1 -1
- package/package/components/flows/content/FlowInputs.svelte +5 -8
- package/package/components/flows/content/FlowLoop.svelte.d.ts +1 -1
- package/package/components/flows/content/FlowModuleComponent.svelte.d.ts +1 -1
- package/package/components/flows/content/FlowModuleWrapper.svelte +5 -5
- package/package/components/flows/content/FlowWhileLoop.svelte +10 -3
- package/package/components/flows/content/FlowWhileLoop.svelte.d.ts +1 -1
- package/package/components/flows/content/ScriptEditorDrawer.svelte +2 -1
- package/package/components/flows/content/SuspendDrawer.svelte +5 -6
- package/package/components/flows/dfs.d.ts +1 -1
- package/package/components/flows/flowStateUtils.d.ts +2 -2
- package/package/components/flows/flowStateUtils.js +1 -1
- package/package/components/graph/FlowGraph.svelte +3 -3
- package/package/components/graph/model.d.ts +1 -1
- package/package/components/graph/util.d.ts +2 -2
- package/package/components/graph/util.js +5 -6
- package/package/components/home/ItemsList.svelte +1 -1
- package/package/components/home/ItemsList.svelte.d.ts +1 -1
- package/package/components/icons/VismaIcon.svelte +10 -0
- package/package/components/icons/VismaIcon.svelte.d.ts +17 -0
- package/package/components/icons/index.d.ts +2 -0
- package/package/components/icons/index.js +3 -1
- package/package/components/jobs/JobPreview.svelte +2 -2
- package/package/components/runs/JobLoader.svelte +26 -8
- package/package/components/runs/JobLoader.svelte.d.ts +1 -1
- package/package/components/runs/JobPreview.svelte +3 -3
- package/package/components/runs/QueuePopover.svelte +1 -1
- package/package/components/runs/RunsFilter.svelte.d.ts +1 -1
- package/package/components/scriptEditor/LogPanel.svelte +2 -2
- package/package/components/scriptEditor/LogPanel.svelte.d.ts +2 -2
- package/package/components/tutorials/FlowErrorHandler.svelte +1 -2
- package/package/components/tutorials/utils.js +1 -1
- package/package/gen/core/ApiError.d.ts +1 -1
- package/package/gen/core/ApiRequestOptions.d.ts +5 -5
- package/package/gen/core/ApiResult.d.ts +3 -3
- package/package/gen/core/CancelablePromise.d.ts +10 -4
- package/package/gen/core/CancelablePromise.js +38 -39
- package/package/gen/core/OpenAPI.d.ts +17 -6
- package/package/gen/core/OpenAPI.js +25 -5
- package/package/gen/core/request.d.ts +6 -7
- package/package/gen/core/request.js +77 -57
- package/package/gen/enums.gen.d.ts +149 -0
- package/package/gen/enums.gen.js +150 -0
- package/package/gen/index.d.ts +5 -178
- package/package/gen/index.js +5 -52
- package/package/gen/models/AppWithLastVersionWDraft.d.ts +2 -2
- package/package/gen/models/Flow.d.ts +1 -1
- package/package/gen/models/FlowModuleValue.d.ts +1 -1
- package/package/gen/models/FlowStatus.d.ts +2 -2
- package/package/gen/models/InputTransform.d.ts +1 -1
- package/package/gen/models/Job.d.ts +2 -2
- package/package/gen/models/MainArgSignature.d.ts +4 -4
- package/package/gen/models/NewScriptWithDraft.d.ts +2 -2
- package/package/gen/models/OpenFlowWPath.d.ts +2 -2
- package/package/gen/models/ScheduleWJobs.d.ts +2 -2
- package/package/gen/schemas.gen.d.ts +3155 -0
- package/package/gen/schemas.gen.js +3217 -0
- package/package/gen/services/AdminService.d.ts +3 -3
- package/package/gen/services/AdminService.js +12 -12
- package/package/gen/services/AppService.d.ts +16 -16
- package/package/gen/services/AppService.js +69 -69
- package/package/gen/services/AuditService.d.ts +2 -2
- package/package/gen/services/AuditService.js +15 -15
- package/package/gen/services/CaptureService.d.ts +3 -3
- package/package/gen/services/CaptureService.js +13 -13
- package/package/gen/services/ConcurrencyGroupsService.d.ts +1 -1
- package/package/gen/services/ConcurrencyGroupsService.js +4 -4
- package/package/gen/services/ConfigService.d.ts +3 -3
- package/package/gen/services/ConfigService.js +10 -10
- package/package/gen/services/DraftService.d.ts +2 -2
- package/package/gen/services/DraftService.js +8 -8
- package/package/gen/services/FavoriteService.d.ts +2 -2
- package/package/gen/services/FavoriteService.js +6 -6
- package/package/gen/services/FlowService.d.ts +21 -21
- package/package/gen/services/FlowService.js +58 -58
- package/package/gen/services/FolderService.d.ts +9 -9
- package/package/gen/services/FolderService.js +36 -36
- package/package/gen/services/GranularAclService.d.ts +3 -3
- package/package/gen/services/GranularAclService.js +15 -15
- package/package/gen/services/GroupService.d.ts +14 -14
- package/package/gen/services/GroupService.js +50 -50
- package/package/gen/services/HelpersService.d.ts +14 -14
- package/package/gen/services/HelpersService.js +70 -70
- package/package/gen/services/InputService.d.ts +5 -5
- package/package/gen/services/InputService.js +26 -26
- package/package/gen/services/IntegrationService.d.ts +1 -1
- package/package/gen/services/IntegrationService.js +3 -3
- package/package/gen/services/JobService.d.ts +51 -42
- package/package/gen/services/JobService.js +326 -311
- package/package/gen/services/MetricsService.d.ts +1 -1
- package/package/gen/services/MetricsService.js +4 -4
- package/package/gen/services/OauthService.d.ts +6 -6
- package/package/gen/services/OauthService.js +22 -22
- package/package/gen/services/OidcService.d.ts +1 -1
- package/package/gen/services/OidcService.js +4 -4
- package/package/gen/services/RawAppService.d.ts +6 -6
- package/package/gen/services/RawAppService.js +30 -30
- package/package/gen/services/ResourceService.d.ts +19 -19
- package/package/gen/services/ResourceService.js +77 -77
- package/package/gen/services/ScheduleService.d.ts +10 -10
- package/package/gen/services/ScheduleService.js +41 -41
- package/package/gen/services/ScriptService.d.ts +23 -23
- package/package/gen/services/ScriptService.js +104 -104
- package/package/gen/services/SettingService.d.ts +6 -6
- package/package/gen/services/SettingService.js +16 -16
- package/package/gen/services/SettingsService.js +4 -4
- package/package/gen/services/UserService.d.ts +26 -26
- package/package/gen/services/UserService.js +85 -85
- package/package/gen/services/VariableService.d.ts +9 -9
- package/package/gen/services/VariableService.js +36 -36
- package/package/gen/services/WorkerService.d.ts +2 -2
- package/package/gen/services/WorkerService.js +11 -11
- package/package/gen/services/WorkspaceService.d.ts +39 -39
- package/package/gen/services/WorkspaceService.js +118 -118
- package/package/gen/services.gen.d.ts +1928 -0
- package/package/gen/services.gen.js +5309 -0
- package/package/gen/types.gen.d.ts +6898 -0
- package/package/gen/types.gen.js +2 -0
- package/package/hub.d.ts +1 -1
- package/package/infer.d.ts +1 -1
- package/package/infer.js +2 -2
- package/package/script_helpers.d.ts +3 -3
- package/package/script_helpers.js +2 -2
- package/package/scripts.d.ts +2 -2
- package/package/scripts.js +20 -16
- package/package/stores.d.ts +1 -2
- package/package/utils.d.ts +1 -1
- package/package/utils.js +1 -1
- package/package.json +6 -6
|
@@ -0,0 +1,1928 @@
|
|
|
1
|
+
import type { CancelablePromise } from './core/CancelablePromise';
|
|
2
|
+
import type { $OpenApiTs } from './types.gen';
|
|
3
|
+
export declare class SettingsService {
|
|
4
|
+
/**
|
|
5
|
+
* get backend version
|
|
6
|
+
* @returns string git version of backend
|
|
7
|
+
* @throws ApiError
|
|
8
|
+
*/
|
|
9
|
+
static backendVersion(): CancelablePromise<$OpenApiTs['/version']['get']['res'][200]>;
|
|
10
|
+
/**
|
|
11
|
+
* is backend up to date
|
|
12
|
+
* @returns string is backend up to date
|
|
13
|
+
* @throws ApiError
|
|
14
|
+
*/
|
|
15
|
+
static backendUptodate(): CancelablePromise<$OpenApiTs['/uptodate']['get']['res'][200]>;
|
|
16
|
+
/**
|
|
17
|
+
* get license id
|
|
18
|
+
* @returns string get license id (empty if not ee)
|
|
19
|
+
* @throws ApiError
|
|
20
|
+
*/
|
|
21
|
+
static getLicenseId(): CancelablePromise<$OpenApiTs['/ee_license']['get']['res'][200]>;
|
|
22
|
+
/**
|
|
23
|
+
* get openapi yaml spec
|
|
24
|
+
* @returns string openapi yaml file content
|
|
25
|
+
* @throws ApiError
|
|
26
|
+
*/
|
|
27
|
+
static getOpenApiYaml(): CancelablePromise<$OpenApiTs['/openapi.yaml']['get']['res'][200]>;
|
|
28
|
+
}
|
|
29
|
+
export declare class AuditService {
|
|
30
|
+
/**
|
|
31
|
+
* get audit log (requires admin privilege)
|
|
32
|
+
* @returns AuditLog an audit log
|
|
33
|
+
* @throws ApiError
|
|
34
|
+
*/
|
|
35
|
+
static getAuditLog(data: $OpenApiTs['/w/{workspace}/audit/get/{id}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/audit/get/{id}']['get']['res'][200]>;
|
|
36
|
+
/**
|
|
37
|
+
* list audit logs (requires admin privilege)
|
|
38
|
+
* @returns AuditLog a list of audit logs
|
|
39
|
+
* @throws ApiError
|
|
40
|
+
*/
|
|
41
|
+
static listAuditLogs(data: $OpenApiTs['/w/{workspace}/audit/list']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/audit/list']['get']['res'][200]>;
|
|
42
|
+
}
|
|
43
|
+
export declare class UserService {
|
|
44
|
+
/**
|
|
45
|
+
* login with password
|
|
46
|
+
* @returns string Successfully authenticated. The session ID is returned in a cookie named `token` and as plaintext response. Preferred method of authorization is through the bearer token. The cookie is only for browser convenience.
|
|
47
|
+
*
|
|
48
|
+
* @throws ApiError
|
|
49
|
+
*/
|
|
50
|
+
static login(data: $OpenApiTs['/auth/login']['post']['req']): CancelablePromise<$OpenApiTs['/auth/login']['post']['res'][200]>;
|
|
51
|
+
/**
|
|
52
|
+
* logout
|
|
53
|
+
* @returns string clear cookies and clear token (if applicable)
|
|
54
|
+
* @throws ApiError
|
|
55
|
+
*/
|
|
56
|
+
static logout(): CancelablePromise<$OpenApiTs['/auth/logout']['post']['res'][200]>;
|
|
57
|
+
/**
|
|
58
|
+
* get user (require admin privilege)
|
|
59
|
+
* @returns User user created
|
|
60
|
+
* @throws ApiError
|
|
61
|
+
*/
|
|
62
|
+
static getUser(data: $OpenApiTs['/w/{workspace}/users/{username}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/users/{username}']['get']['res'][200]>;
|
|
63
|
+
/**
|
|
64
|
+
* update user (require admin privilege)
|
|
65
|
+
* @returns string edited user
|
|
66
|
+
* @throws ApiError
|
|
67
|
+
*/
|
|
68
|
+
static updateUser(data: $OpenApiTs['/w/{workspace}/users/update/{username}']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/users/update/{username}']['post']['res'][200]>;
|
|
69
|
+
/**
|
|
70
|
+
* is owner of path
|
|
71
|
+
* @returns boolean is owner
|
|
72
|
+
* @throws ApiError
|
|
73
|
+
*/
|
|
74
|
+
static isOwnerOfPath(data: $OpenApiTs['/w/{workspace}/users/is_owner/{path}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/users/is_owner/{path}']['get']['res'][200]>;
|
|
75
|
+
/**
|
|
76
|
+
* set password
|
|
77
|
+
* @returns string password set
|
|
78
|
+
* @throws ApiError
|
|
79
|
+
*/
|
|
80
|
+
static setPassword(data: $OpenApiTs['/users/setpassword']['post']['req']): CancelablePromise<$OpenApiTs['/users/setpassword']['post']['res'][200]>;
|
|
81
|
+
/**
|
|
82
|
+
* create user
|
|
83
|
+
* @returns string user created
|
|
84
|
+
* @throws ApiError
|
|
85
|
+
*/
|
|
86
|
+
static createUserGlobally(data: $OpenApiTs['/users/create']['post']['req']): CancelablePromise<$OpenApiTs['/users/create']['post']['res'][201]>;
|
|
87
|
+
/**
|
|
88
|
+
* global update user (require super admin)
|
|
89
|
+
* @returns string user updated
|
|
90
|
+
* @throws ApiError
|
|
91
|
+
*/
|
|
92
|
+
static globalUserUpdate(data: $OpenApiTs['/users/update/{email}']['post']['req']): CancelablePromise<$OpenApiTs['/users/update/{email}']['post']['res'][200]>;
|
|
93
|
+
/**
|
|
94
|
+
* global username info (require super admin)
|
|
95
|
+
* @returns unknown user renamed
|
|
96
|
+
* @throws ApiError
|
|
97
|
+
*/
|
|
98
|
+
static globalUsernameInfo(data: $OpenApiTs['/users/username_info/{email}']['get']['req']): CancelablePromise<$OpenApiTs['/users/username_info/{email}']['get']['res'][200]>;
|
|
99
|
+
/**
|
|
100
|
+
* global rename user (require super admin)
|
|
101
|
+
* @returns string user renamed
|
|
102
|
+
* @throws ApiError
|
|
103
|
+
*/
|
|
104
|
+
static globalUserRename(data: $OpenApiTs['/users/rename/{email}']['post']['req']): CancelablePromise<$OpenApiTs['/users/rename/{email}']['post']['res'][200]>;
|
|
105
|
+
/**
|
|
106
|
+
* global delete user (require super admin)
|
|
107
|
+
* @returns string user deleted
|
|
108
|
+
* @throws ApiError
|
|
109
|
+
*/
|
|
110
|
+
static globalUserDelete(data: $OpenApiTs['/users/delete/{email}']['delete']['req']): CancelablePromise<$OpenApiTs['/users/delete/{email}']['delete']['res'][200]>;
|
|
111
|
+
/**
|
|
112
|
+
* delete user (require admin privilege)
|
|
113
|
+
* @returns string delete user
|
|
114
|
+
* @throws ApiError
|
|
115
|
+
*/
|
|
116
|
+
static deleteUser(data: $OpenApiTs['/w/{workspace}/users/delete/{username}']['delete']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/users/delete/{username}']['delete']['res'][200]>;
|
|
117
|
+
/**
|
|
118
|
+
* get current user email (if logged in)
|
|
119
|
+
* @returns string user email
|
|
120
|
+
* @throws ApiError
|
|
121
|
+
*/
|
|
122
|
+
static getCurrentEmail(): CancelablePromise<$OpenApiTs['/users/email']['get']['res'][200]>;
|
|
123
|
+
/**
|
|
124
|
+
* refresh the current token
|
|
125
|
+
* @returns string free usage
|
|
126
|
+
* @throws ApiError
|
|
127
|
+
*/
|
|
128
|
+
static refreshUserToken(): CancelablePromise<$OpenApiTs['/users/refresh_token']['get']['res'][200]>;
|
|
129
|
+
/**
|
|
130
|
+
* get tutorial progress
|
|
131
|
+
* @returns unknown tutorial progress
|
|
132
|
+
* @throws ApiError
|
|
133
|
+
*/
|
|
134
|
+
static getTutorialProgress(): CancelablePromise<$OpenApiTs['/users/tutorial_progress']['get']['res'][200]>;
|
|
135
|
+
/**
|
|
136
|
+
* update tutorial progress
|
|
137
|
+
* @returns string tutorial progress
|
|
138
|
+
* @throws ApiError
|
|
139
|
+
*/
|
|
140
|
+
static updateTutorialProgress(data: $OpenApiTs['/users/tutorial_progress']['post']['req']): CancelablePromise<$OpenApiTs['/users/tutorial_progress']['post']['res'][200]>;
|
|
141
|
+
/**
|
|
142
|
+
* leave instance
|
|
143
|
+
* @returns string status
|
|
144
|
+
* @throws ApiError
|
|
145
|
+
*/
|
|
146
|
+
static leaveInstance(): CancelablePromise<$OpenApiTs['/users/leave_instance']['post']['res'][200]>;
|
|
147
|
+
/**
|
|
148
|
+
* get current usage outside of premium workspaces
|
|
149
|
+
* @returns number free usage
|
|
150
|
+
* @throws ApiError
|
|
151
|
+
*/
|
|
152
|
+
static getUsage(): CancelablePromise<$OpenApiTs['/users/usage']['get']['res'][200]>;
|
|
153
|
+
/**
|
|
154
|
+
* get all runnables in every workspace
|
|
155
|
+
* @returns unknown free all runnables
|
|
156
|
+
* @throws ApiError
|
|
157
|
+
*/
|
|
158
|
+
static getRunnable(): CancelablePromise<$OpenApiTs['/users/all_runnables']['get']['res'][200]>;
|
|
159
|
+
/**
|
|
160
|
+
* get current global whoami (if logged in)
|
|
161
|
+
* @returns GlobalUserInfo user email
|
|
162
|
+
* @throws ApiError
|
|
163
|
+
*/
|
|
164
|
+
static globalWhoami(): CancelablePromise<$OpenApiTs['/users/whoami']['get']['res'][200]>;
|
|
165
|
+
/**
|
|
166
|
+
* list all workspace invites
|
|
167
|
+
* @returns WorkspaceInvite list all workspace invites
|
|
168
|
+
* @throws ApiError
|
|
169
|
+
*/
|
|
170
|
+
static listWorkspaceInvites(): CancelablePromise<$OpenApiTs['/users/list_invites']['get']['res'][200]>;
|
|
171
|
+
/**
|
|
172
|
+
* whoami
|
|
173
|
+
* @returns User user
|
|
174
|
+
* @throws ApiError
|
|
175
|
+
*/
|
|
176
|
+
static whoami(data: $OpenApiTs['/w/{workspace}/users/whoami']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/users/whoami']['get']['res'][200]>;
|
|
177
|
+
/**
|
|
178
|
+
* accept invite to workspace
|
|
179
|
+
* @returns string status
|
|
180
|
+
* @throws ApiError
|
|
181
|
+
*/
|
|
182
|
+
static acceptInvite(data: $OpenApiTs['/users/accept_invite']['post']['req']): CancelablePromise<$OpenApiTs['/users/accept_invite']['post']['res'][200]>;
|
|
183
|
+
/**
|
|
184
|
+
* decline invite to workspace
|
|
185
|
+
* @returns string status
|
|
186
|
+
* @throws ApiError
|
|
187
|
+
*/
|
|
188
|
+
static declineInvite(data: $OpenApiTs['/users/decline_invite']['post']['req']): CancelablePromise<$OpenApiTs['/users/decline_invite']['post']['res'][200]>;
|
|
189
|
+
/**
|
|
190
|
+
* whois
|
|
191
|
+
* @returns User user
|
|
192
|
+
* @throws ApiError
|
|
193
|
+
*/
|
|
194
|
+
static whois(data: $OpenApiTs['/w/{workspace}/users/whois/{username}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/users/whois/{username}']['get']['res'][200]>;
|
|
195
|
+
/**
|
|
196
|
+
* exists email
|
|
197
|
+
* @returns boolean user
|
|
198
|
+
* @throws ApiError
|
|
199
|
+
*/
|
|
200
|
+
static existsEmail(data: $OpenApiTs['/users/exists/{email}']['get']['req']): CancelablePromise<$OpenApiTs['/users/exists/{email}']['get']['res'][200]>;
|
|
201
|
+
/**
|
|
202
|
+
* list all users as super admin (require to be super amdin)
|
|
203
|
+
* @returns GlobalUserInfo user
|
|
204
|
+
* @throws ApiError
|
|
205
|
+
*/
|
|
206
|
+
static listUsersAsSuperAdmin(data?: $OpenApiTs['/users/list_as_super_admin']['get']['req']): CancelablePromise<$OpenApiTs['/users/list_as_super_admin']['get']['res'][200]>;
|
|
207
|
+
/**
|
|
208
|
+
* list users
|
|
209
|
+
* @returns User user
|
|
210
|
+
* @throws ApiError
|
|
211
|
+
*/
|
|
212
|
+
static listUsers(data: $OpenApiTs['/w/{workspace}/users/list']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/users/list']['get']['res'][200]>;
|
|
213
|
+
/**
|
|
214
|
+
* list users usage
|
|
215
|
+
* @returns UserUsage user
|
|
216
|
+
* @throws ApiError
|
|
217
|
+
*/
|
|
218
|
+
static listUsersUsage(data: $OpenApiTs['/w/{workspace}/users/list_usage']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/users/list_usage']['get']['res'][200]>;
|
|
219
|
+
/**
|
|
220
|
+
* list usernames
|
|
221
|
+
* @returns string user
|
|
222
|
+
* @throws ApiError
|
|
223
|
+
*/
|
|
224
|
+
static listUsernames(data: $OpenApiTs['/w/{workspace}/users/list_usernames']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/users/list_usernames']['get']['res'][200]>;
|
|
225
|
+
/**
|
|
226
|
+
* create token
|
|
227
|
+
* @returns string token created
|
|
228
|
+
* @throws ApiError
|
|
229
|
+
*/
|
|
230
|
+
static createToken(data: $OpenApiTs['/users/tokens/create']['post']['req']): CancelablePromise<$OpenApiTs['/users/tokens/create']['post']['res'][201]>;
|
|
231
|
+
/**
|
|
232
|
+
* create token to impersonate a user (require superadmin)
|
|
233
|
+
* @returns string token created
|
|
234
|
+
* @throws ApiError
|
|
235
|
+
*/
|
|
236
|
+
static createTokenImpersonate(data: $OpenApiTs['/users/tokens/impersonate']['post']['req']): CancelablePromise<$OpenApiTs['/users/tokens/impersonate']['post']['res'][201]>;
|
|
237
|
+
/**
|
|
238
|
+
* delete token
|
|
239
|
+
* @returns string delete token
|
|
240
|
+
* @throws ApiError
|
|
241
|
+
*/
|
|
242
|
+
static deleteToken(data: $OpenApiTs['/users/tokens/delete/{token_prefix}']['delete']['req']): CancelablePromise<$OpenApiTs['/users/tokens/delete/{token_prefix}']['delete']['res'][200]>;
|
|
243
|
+
/**
|
|
244
|
+
* list token
|
|
245
|
+
* @returns TruncatedToken truncated token
|
|
246
|
+
* @throws ApiError
|
|
247
|
+
*/
|
|
248
|
+
static listTokens(data?: $OpenApiTs['/users/tokens/list']['get']['req']): CancelablePromise<$OpenApiTs['/users/tokens/list']['get']['res'][200]>;
|
|
249
|
+
/**
|
|
250
|
+
* login with oauth authorization flow
|
|
251
|
+
* @returns string Successfully authenticated. The session ID is returned in a cookie named `token` and as plaintext response. Preferred method of authorization is through the bearer token. The cookie is only for browser convenience.
|
|
252
|
+
*
|
|
253
|
+
* @throws ApiError
|
|
254
|
+
*/
|
|
255
|
+
static loginWithOauth(data: $OpenApiTs['/oauth/login_callback/{client_name}']['post']['req']): CancelablePromise<$OpenApiTs['/oauth/login_callback/{client_name}']['post']['res'][200]>;
|
|
256
|
+
}
|
|
257
|
+
export declare class AdminService {
|
|
258
|
+
/**
|
|
259
|
+
* get user (require admin privilege)
|
|
260
|
+
* @returns User user created
|
|
261
|
+
* @throws ApiError
|
|
262
|
+
*/
|
|
263
|
+
static getUser(data: $OpenApiTs['/w/{workspace}/users/{username}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/users/{username}']['get']['res'][200]>;
|
|
264
|
+
/**
|
|
265
|
+
* update user (require admin privilege)
|
|
266
|
+
* @returns string edited user
|
|
267
|
+
* @throws ApiError
|
|
268
|
+
*/
|
|
269
|
+
static updateUser(data: $OpenApiTs['/w/{workspace}/users/update/{username}']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/users/update/{username}']['post']['res'][200]>;
|
|
270
|
+
/**
|
|
271
|
+
* delete user (require admin privilege)
|
|
272
|
+
* @returns string delete user
|
|
273
|
+
* @throws ApiError
|
|
274
|
+
*/
|
|
275
|
+
static deleteUser(data: $OpenApiTs['/w/{workspace}/users/delete/{username}']['delete']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/users/delete/{username}']['delete']['res'][200]>;
|
|
276
|
+
}
|
|
277
|
+
export declare class WorkspaceService {
|
|
278
|
+
/**
|
|
279
|
+
* list all workspaces visible to me
|
|
280
|
+
* @returns Workspace all workspaces
|
|
281
|
+
* @throws ApiError
|
|
282
|
+
*/
|
|
283
|
+
static listWorkspaces(): CancelablePromise<$OpenApiTs['/workspaces/list']['get']['res'][200]>;
|
|
284
|
+
/**
|
|
285
|
+
* is domain allowed for auto invi
|
|
286
|
+
* @returns boolean domain allowed or not
|
|
287
|
+
* @throws ApiError
|
|
288
|
+
*/
|
|
289
|
+
static isDomainAllowed(): CancelablePromise<$OpenApiTs['/workspaces/allowed_domain_auto_invite']['get']['res'][200]>;
|
|
290
|
+
/**
|
|
291
|
+
* list all workspaces visible to me with user info
|
|
292
|
+
* @returns UserWorkspaceList workspace with associated username
|
|
293
|
+
* @throws ApiError
|
|
294
|
+
*/
|
|
295
|
+
static listUserWorkspaces(): CancelablePromise<$OpenApiTs['/workspaces/users']['get']['res'][200]>;
|
|
296
|
+
/**
|
|
297
|
+
* list all workspaces as super admin (require to be super admin)
|
|
298
|
+
* @returns Workspace workspaces
|
|
299
|
+
* @throws ApiError
|
|
300
|
+
*/
|
|
301
|
+
static listWorkspacesAsSuperAdmin(data?: $OpenApiTs['/workspaces/list_as_superadmin']['get']['req']): CancelablePromise<$OpenApiTs['/workspaces/list_as_superadmin']['get']['res'][200]>;
|
|
302
|
+
/**
|
|
303
|
+
* create workspace
|
|
304
|
+
* @returns string token created
|
|
305
|
+
* @throws ApiError
|
|
306
|
+
*/
|
|
307
|
+
static createWorkspace(data: $OpenApiTs['/workspaces/create']['post']['req']): CancelablePromise<$OpenApiTs['/workspaces/create']['post']['res'][201]>;
|
|
308
|
+
/**
|
|
309
|
+
* exists workspace
|
|
310
|
+
* @returns boolean status
|
|
311
|
+
* @throws ApiError
|
|
312
|
+
*/
|
|
313
|
+
static existsWorkspace(data: $OpenApiTs['/workspaces/exists']['post']['req']): CancelablePromise<$OpenApiTs['/workspaces/exists']['post']['res'][200]>;
|
|
314
|
+
/**
|
|
315
|
+
* exists username
|
|
316
|
+
* @returns boolean status
|
|
317
|
+
* @throws ApiError
|
|
318
|
+
*/
|
|
319
|
+
static existsUsername(data: $OpenApiTs['/workspaces/exists_username']['post']['req']): CancelablePromise<$OpenApiTs['/workspaces/exists_username']['post']['res'][200]>;
|
|
320
|
+
/**
|
|
321
|
+
* invite user to workspace
|
|
322
|
+
* @returns string status
|
|
323
|
+
* @throws ApiError
|
|
324
|
+
*/
|
|
325
|
+
static inviteUser(data: $OpenApiTs['/w/{workspace}/workspaces/invite_user']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/workspaces/invite_user']['post']['res'][200]>;
|
|
326
|
+
/**
|
|
327
|
+
* add user to workspace
|
|
328
|
+
* @returns string status
|
|
329
|
+
* @throws ApiError
|
|
330
|
+
*/
|
|
331
|
+
static addUser(data: $OpenApiTs['/w/{workspace}/workspaces/add_user']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/workspaces/add_user']['post']['res'][200]>;
|
|
332
|
+
/**
|
|
333
|
+
* delete user invite
|
|
334
|
+
* @returns string status
|
|
335
|
+
* @throws ApiError
|
|
336
|
+
*/
|
|
337
|
+
static deleteInvite(data: $OpenApiTs['/w/{workspace}/workspaces/delete_invite']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/workspaces/delete_invite']['post']['res'][200]>;
|
|
338
|
+
/**
|
|
339
|
+
* archive workspace
|
|
340
|
+
* @returns string status
|
|
341
|
+
* @throws ApiError
|
|
342
|
+
*/
|
|
343
|
+
static archiveWorkspace(data: $OpenApiTs['/w/{workspace}/workspaces/archive']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/workspaces/archive']['post']['res'][200]>;
|
|
344
|
+
/**
|
|
345
|
+
* unarchive workspace
|
|
346
|
+
* @returns string status
|
|
347
|
+
* @throws ApiError
|
|
348
|
+
*/
|
|
349
|
+
static unarchiveWorkspace(data: $OpenApiTs['/workspaces/unarchive/{workspace}']['post']['req']): CancelablePromise<$OpenApiTs['/workspaces/unarchive/{workspace}']['post']['res'][200]>;
|
|
350
|
+
/**
|
|
351
|
+
* delete workspace (require super admin)
|
|
352
|
+
* @returns string status
|
|
353
|
+
* @throws ApiError
|
|
354
|
+
*/
|
|
355
|
+
static deleteWorkspace(data: $OpenApiTs['/workspaces/delete/{workspace}']['delete']['req']): CancelablePromise<$OpenApiTs['/workspaces/delete/{workspace}']['delete']['res'][200]>;
|
|
356
|
+
/**
|
|
357
|
+
* leave workspace
|
|
358
|
+
* @returns string status
|
|
359
|
+
* @throws ApiError
|
|
360
|
+
*/
|
|
361
|
+
static leaveWorkspace(data: $OpenApiTs['/w/{workspace}/workspaces/leave']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/workspaces/leave']['post']['res'][200]>;
|
|
362
|
+
/**
|
|
363
|
+
* get workspace name
|
|
364
|
+
* @returns string status
|
|
365
|
+
* @throws ApiError
|
|
366
|
+
*/
|
|
367
|
+
static getWorkspaceName(data: $OpenApiTs['/w/{workspace}/workspaces/get_workspace_name']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/workspaces/get_workspace_name']['get']['res'][200]>;
|
|
368
|
+
/**
|
|
369
|
+
* change workspace name
|
|
370
|
+
* @returns string status
|
|
371
|
+
* @throws ApiError
|
|
372
|
+
*/
|
|
373
|
+
static changeWorkspaceName(data: $OpenApiTs['/w/{workspace}/workspaces/change_workspace_name']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/workspaces/change_workspace_name']['post']['res'][200]>;
|
|
374
|
+
/**
|
|
375
|
+
* change workspace id
|
|
376
|
+
* @returns string status
|
|
377
|
+
* @throws ApiError
|
|
378
|
+
*/
|
|
379
|
+
static changeWorkspaceId(data: $OpenApiTs['/w/{workspace}/workspaces/change_workspace_id']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/workspaces/change_workspace_id']['post']['res'][200]>;
|
|
380
|
+
/**
|
|
381
|
+
* list pending invites for a workspace
|
|
382
|
+
* @returns WorkspaceInvite user
|
|
383
|
+
* @throws ApiError
|
|
384
|
+
*/
|
|
385
|
+
static listPendingInvites(data: $OpenApiTs['/w/{workspace}/workspaces/list_pending_invites']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/workspaces/list_pending_invites']['get']['res'][200]>;
|
|
386
|
+
/**
|
|
387
|
+
* get settings
|
|
388
|
+
* @returns unknown status
|
|
389
|
+
* @throws ApiError
|
|
390
|
+
*/
|
|
391
|
+
static getSettings(data: $OpenApiTs['/w/{workspace}/workspaces/get_settings']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/workspaces/get_settings']['get']['res'][200]>;
|
|
392
|
+
/**
|
|
393
|
+
* get deploy to
|
|
394
|
+
* @returns unknown status
|
|
395
|
+
* @throws ApiError
|
|
396
|
+
*/
|
|
397
|
+
static getDeployTo(data: $OpenApiTs['/w/{workspace}/workspaces/get_deploy_to']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/workspaces/get_deploy_to']['get']['res'][200]>;
|
|
398
|
+
/**
|
|
399
|
+
* get if workspace is premium
|
|
400
|
+
* @returns boolean status
|
|
401
|
+
* @throws ApiError
|
|
402
|
+
*/
|
|
403
|
+
static getIsPremium(data: $OpenApiTs['/w/{workspace}/workspaces/is_premium']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/workspaces/is_premium']['get']['res'][200]>;
|
|
404
|
+
/**
|
|
405
|
+
* get premium info
|
|
406
|
+
* @returns unknown status
|
|
407
|
+
* @throws ApiError
|
|
408
|
+
*/
|
|
409
|
+
static getPremiumInfo(data: $OpenApiTs['/w/{workspace}/workspaces/premium_info']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/workspaces/premium_info']['get']['res'][200]>;
|
|
410
|
+
/**
|
|
411
|
+
* set automatic billing
|
|
412
|
+
* @returns string status
|
|
413
|
+
* @throws ApiError
|
|
414
|
+
*/
|
|
415
|
+
static setAutomaticBilling(data: $OpenApiTs['/w/{workspace}/workspaces/set_automatic_billing']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/workspaces/set_automatic_billing']['post']['res'][200]>;
|
|
416
|
+
/**
|
|
417
|
+
* edit slack command
|
|
418
|
+
* @returns string status
|
|
419
|
+
* @throws ApiError
|
|
420
|
+
*/
|
|
421
|
+
static editSlackCommand(data: $OpenApiTs['/w/{workspace}/workspaces/edit_slack_command']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/workspaces/edit_slack_command']['post']['res'][200]>;
|
|
422
|
+
/**
|
|
423
|
+
* run a job that sends a message to Slack
|
|
424
|
+
* @returns unknown status
|
|
425
|
+
* @throws ApiError
|
|
426
|
+
*/
|
|
427
|
+
static runSlackMessageTestJob(data: $OpenApiTs['/w/{workspace}/workspaces/run_slack_message_test_job']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/workspaces/run_slack_message_test_job']['post']['res'][200]>;
|
|
428
|
+
/**
|
|
429
|
+
* edit deploy to
|
|
430
|
+
* @returns string status
|
|
431
|
+
* @throws ApiError
|
|
432
|
+
*/
|
|
433
|
+
static editDeployTo(data: $OpenApiTs['/w/{workspace}/workspaces/edit_deploy_to']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/workspaces/edit_deploy_to']['post']['res'][200]>;
|
|
434
|
+
/**
|
|
435
|
+
* edit auto invite
|
|
436
|
+
* @returns string status
|
|
437
|
+
* @throws ApiError
|
|
438
|
+
*/
|
|
439
|
+
static editAutoInvite(data: $OpenApiTs['/w/{workspace}/workspaces/edit_auto_invite']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/workspaces/edit_auto_invite']['post']['res'][200]>;
|
|
440
|
+
/**
|
|
441
|
+
* edit webhook
|
|
442
|
+
* @returns string status
|
|
443
|
+
* @throws ApiError
|
|
444
|
+
*/
|
|
445
|
+
static editWebhook(data: $OpenApiTs['/w/{workspace}/workspaces/edit_webhook']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/workspaces/edit_webhook']['post']['res'][200]>;
|
|
446
|
+
/**
|
|
447
|
+
* edit copilot config
|
|
448
|
+
* @returns string status
|
|
449
|
+
* @throws ApiError
|
|
450
|
+
*/
|
|
451
|
+
static editCopilotConfig(data: $OpenApiTs['/w/{workspace}/workspaces/edit_copilot_config']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/workspaces/edit_copilot_config']['post']['res'][200]>;
|
|
452
|
+
/**
|
|
453
|
+
* get copilot info
|
|
454
|
+
* @returns unknown status
|
|
455
|
+
* @throws ApiError
|
|
456
|
+
*/
|
|
457
|
+
static getCopilotInfo(data: $OpenApiTs['/w/{workspace}/workspaces/get_copilot_info']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/workspaces/get_copilot_info']['get']['res'][200]>;
|
|
458
|
+
/**
|
|
459
|
+
* edit error handler
|
|
460
|
+
* @returns string status
|
|
461
|
+
* @throws ApiError
|
|
462
|
+
*/
|
|
463
|
+
static editErrorHandler(data: $OpenApiTs['/w/{workspace}/workspaces/edit_error_handler']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/workspaces/edit_error_handler']['post']['res'][200]>;
|
|
464
|
+
/**
|
|
465
|
+
* edit large file storage settings
|
|
466
|
+
* @returns unknown status
|
|
467
|
+
* @throws ApiError
|
|
468
|
+
*/
|
|
469
|
+
static editLargeFileStorageConfig(data: $OpenApiTs['/w/{workspace}/workspaces/edit_large_file_storage_config']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/workspaces/edit_large_file_storage_config']['post']['res'][200]>;
|
|
470
|
+
/**
|
|
471
|
+
* edit workspace git sync settings
|
|
472
|
+
* @returns unknown status
|
|
473
|
+
* @throws ApiError
|
|
474
|
+
*/
|
|
475
|
+
static editWorkspaceGitSyncConfig(data: $OpenApiTs['/w/{workspace}/workspaces/edit_git_sync_config']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/workspaces/edit_git_sync_config']['post']['res'][200]>;
|
|
476
|
+
/**
|
|
477
|
+
* edit default app for workspace
|
|
478
|
+
* @returns string status
|
|
479
|
+
* @throws ApiError
|
|
480
|
+
*/
|
|
481
|
+
static editWorkspaceDefaultApp(data: $OpenApiTs['/w/{workspace}/workspaces/edit_default_app']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/workspaces/edit_default_app']['post']['res'][200]>;
|
|
482
|
+
/**
|
|
483
|
+
* edit default scripts for workspace
|
|
484
|
+
* @returns string status
|
|
485
|
+
* @throws ApiError
|
|
486
|
+
*/
|
|
487
|
+
static editDefaultScripts(data: $OpenApiTs['/w/{workspace}/workspaces/default_scripts']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/workspaces/default_scripts']['post']['res'][200]>;
|
|
488
|
+
/**
|
|
489
|
+
* get default scripts for workspace
|
|
490
|
+
* @returns WorkspaceDefaultScripts status
|
|
491
|
+
* @throws ApiError
|
|
492
|
+
*/
|
|
493
|
+
static getDefaultScripts(data: $OpenApiTs['/w/{workspace}/workspaces/default_scripts']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/workspaces/default_scripts']['get']['res'][200]>;
|
|
494
|
+
/**
|
|
495
|
+
* set environment variable
|
|
496
|
+
* @returns string status
|
|
497
|
+
* @throws ApiError
|
|
498
|
+
*/
|
|
499
|
+
static setEnvironmentVariable(data: $OpenApiTs['/w/{workspace}/workspaces/set_environment_variable']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/workspaces/set_environment_variable']['post']['res'][200]>;
|
|
500
|
+
/**
|
|
501
|
+
* retrieves the encryption key for this workspace
|
|
502
|
+
* @returns unknown status
|
|
503
|
+
* @throws ApiError
|
|
504
|
+
*/
|
|
505
|
+
static getWorkspaceEncryptionKey(data: $OpenApiTs['/w/{workspace}/workspaces/encryption_key']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/workspaces/encryption_key']['get']['res'][200]>;
|
|
506
|
+
/**
|
|
507
|
+
* update the encryption key for this workspace
|
|
508
|
+
* @returns string status
|
|
509
|
+
* @throws ApiError
|
|
510
|
+
*/
|
|
511
|
+
static setWorkspaceEncryptionKey(data: $OpenApiTs['/w/{workspace}/workspaces/encryption_key']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/workspaces/encryption_key']['post']['res'][200]>;
|
|
512
|
+
/**
|
|
513
|
+
* get default app for workspace
|
|
514
|
+
* @returns unknown status
|
|
515
|
+
* @throws ApiError
|
|
516
|
+
*/
|
|
517
|
+
static getWorkspaceDefaultApp(data: $OpenApiTs['/w/{workspace}/workspaces/default_app']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/workspaces/default_app']['get']['res'][200]>;
|
|
518
|
+
/**
|
|
519
|
+
* get large file storage config
|
|
520
|
+
* @returns LargeFileStorage status
|
|
521
|
+
* @throws ApiError
|
|
522
|
+
*/
|
|
523
|
+
static getLargeFileStorageConfig(data: $OpenApiTs['/w/{workspace}/workspaces/get_large_file_storage_config']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/workspaces/get_large_file_storage_config']['get']['res'][200]>;
|
|
524
|
+
/**
|
|
525
|
+
* get usage
|
|
526
|
+
* @returns number usage
|
|
527
|
+
* @throws ApiError
|
|
528
|
+
*/
|
|
529
|
+
static getWorkspaceUsage(data: $OpenApiTs['/w/{workspace}/workspaces/usage']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/workspaces/usage']['get']['res'][200]>;
|
|
530
|
+
}
|
|
531
|
+
export declare class SettingService {
|
|
532
|
+
/**
|
|
533
|
+
* get global settings
|
|
534
|
+
* @returns unknown status
|
|
535
|
+
* @throws ApiError
|
|
536
|
+
*/
|
|
537
|
+
static getGlobal(data: $OpenApiTs['/settings/global/{key}']['get']['req']): CancelablePromise<$OpenApiTs['/settings/global/{key}']['get']['res'][200]>;
|
|
538
|
+
/**
|
|
539
|
+
* post global settings
|
|
540
|
+
* @returns string status
|
|
541
|
+
* @throws ApiError
|
|
542
|
+
*/
|
|
543
|
+
static setGlobal(data: $OpenApiTs['/settings/global/{key}']['post']['req']): CancelablePromise<$OpenApiTs['/settings/global/{key}']['post']['res'][200]>;
|
|
544
|
+
/**
|
|
545
|
+
* get local settings
|
|
546
|
+
* @returns unknown status
|
|
547
|
+
* @throws ApiError
|
|
548
|
+
*/
|
|
549
|
+
static getLocal(): CancelablePromise<$OpenApiTs['/settings/local']['get']['res'][200]>;
|
|
550
|
+
/**
|
|
551
|
+
* test smtp
|
|
552
|
+
* @returns string status
|
|
553
|
+
* @throws ApiError
|
|
554
|
+
*/
|
|
555
|
+
static testSmtp(data: $OpenApiTs['/settings/test_smtp']['post']['req']): CancelablePromise<$OpenApiTs['/settings/test_smtp']['post']['res'][200]>;
|
|
556
|
+
/**
|
|
557
|
+
* test license key
|
|
558
|
+
* @returns string status
|
|
559
|
+
* @throws ApiError
|
|
560
|
+
*/
|
|
561
|
+
static testLicenseKey(data: $OpenApiTs['/settings/test_license_key']['post']['req']): CancelablePromise<$OpenApiTs['/settings/test_license_key']['post']['res'][200]>;
|
|
562
|
+
/**
|
|
563
|
+
* test object storage config
|
|
564
|
+
* @returns string status
|
|
565
|
+
* @throws ApiError
|
|
566
|
+
*/
|
|
567
|
+
static testObjectStorageConfig(data: $OpenApiTs['/settings/test_object_storage_config']['post']['req']): CancelablePromise<$OpenApiTs['/settings/test_object_storage_config']['post']['res'][200]>;
|
|
568
|
+
/**
|
|
569
|
+
* send stats
|
|
570
|
+
* @returns string status
|
|
571
|
+
* @throws ApiError
|
|
572
|
+
*/
|
|
573
|
+
static sendStats(): CancelablePromise<$OpenApiTs['/settings/send_stats']['post']['res'][200]>;
|
|
574
|
+
/**
|
|
575
|
+
* test metadata
|
|
576
|
+
* @returns string status
|
|
577
|
+
* @throws ApiError
|
|
578
|
+
*/
|
|
579
|
+
static testMetadata(data: $OpenApiTs['/saml/test_metadata']['post']['req']): CancelablePromise<$OpenApiTs['/saml/test_metadata']['post']['res'][200]>;
|
|
580
|
+
}
|
|
581
|
+
export declare class OidcService {
|
|
582
|
+
/**
|
|
583
|
+
* get OIDC token (ee only)
|
|
584
|
+
* @returns string new oidc token
|
|
585
|
+
* @throws ApiError
|
|
586
|
+
*/
|
|
587
|
+
static getOidcToken(data: $OpenApiTs['/w/{workspace}/oidc/token/{audience}']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/oidc/token/{audience}']['post']['res'][200]>;
|
|
588
|
+
}
|
|
589
|
+
export declare class VariableService {
|
|
590
|
+
/**
|
|
591
|
+
* create variable
|
|
592
|
+
* @returns string variable created
|
|
593
|
+
* @throws ApiError
|
|
594
|
+
*/
|
|
595
|
+
static createVariable(data: $OpenApiTs['/w/{workspace}/variables/create']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/variables/create']['post']['res'][201]>;
|
|
596
|
+
/**
|
|
597
|
+
* encrypt value
|
|
598
|
+
* @returns string encrypted value
|
|
599
|
+
* @throws ApiError
|
|
600
|
+
*/
|
|
601
|
+
static encryptValue(data: $OpenApiTs['/w/{workspace}/variables/encrypt']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/variables/encrypt']['post']['res'][200]>;
|
|
602
|
+
/**
|
|
603
|
+
* delete variable
|
|
604
|
+
* @returns string variable deleted
|
|
605
|
+
* @throws ApiError
|
|
606
|
+
*/
|
|
607
|
+
static deleteVariable(data: $OpenApiTs['/w/{workspace}/variables/delete/{path}']['delete']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/variables/delete/{path}']['delete']['res'][200]>;
|
|
608
|
+
/**
|
|
609
|
+
* update variable
|
|
610
|
+
* @returns string variable updated
|
|
611
|
+
* @throws ApiError
|
|
612
|
+
*/
|
|
613
|
+
static updateVariable(data: $OpenApiTs['/w/{workspace}/variables/update/{path}']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/variables/update/{path}']['post']['res'][200]>;
|
|
614
|
+
/**
|
|
615
|
+
* get variable
|
|
616
|
+
* @returns ListableVariable variable
|
|
617
|
+
* @throws ApiError
|
|
618
|
+
*/
|
|
619
|
+
static getVariable(data: $OpenApiTs['/w/{workspace}/variables/get/{path}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/variables/get/{path}']['get']['res'][200]>;
|
|
620
|
+
/**
|
|
621
|
+
* get variable value
|
|
622
|
+
* @returns string variable
|
|
623
|
+
* @throws ApiError
|
|
624
|
+
*/
|
|
625
|
+
static getVariableValue(data: $OpenApiTs['/w/{workspace}/variables/get_value/{path}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/variables/get_value/{path}']['get']['res'][200]>;
|
|
626
|
+
/**
|
|
627
|
+
* does variable exists at path
|
|
628
|
+
* @returns boolean variable
|
|
629
|
+
* @throws ApiError
|
|
630
|
+
*/
|
|
631
|
+
static existsVariable(data: $OpenApiTs['/w/{workspace}/variables/exists/{path}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/variables/exists/{path}']['get']['res'][200]>;
|
|
632
|
+
/**
|
|
633
|
+
* list variables
|
|
634
|
+
* @returns ListableVariable variable list
|
|
635
|
+
* @throws ApiError
|
|
636
|
+
*/
|
|
637
|
+
static listVariable(data: $OpenApiTs['/w/{workspace}/variables/list']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/variables/list']['get']['res'][200]>;
|
|
638
|
+
/**
|
|
639
|
+
* list contextual variables
|
|
640
|
+
* @returns ContextualVariable contextual variable list
|
|
641
|
+
* @throws ApiError
|
|
642
|
+
*/
|
|
643
|
+
static listContextualVariables(data: $OpenApiTs['/w/{workspace}/variables/list_contextual']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/variables/list_contextual']['get']['res'][200]>;
|
|
644
|
+
}
|
|
645
|
+
export declare class OauthService {
|
|
646
|
+
/**
|
|
647
|
+
* connect slack callback
|
|
648
|
+
* @returns string slack token
|
|
649
|
+
* @throws ApiError
|
|
650
|
+
*/
|
|
651
|
+
static connectSlackCallback(data: $OpenApiTs['/w/{workspace}/oauth/connect_slack_callback']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/oauth/connect_slack_callback']['post']['res'][200]>;
|
|
652
|
+
/**
|
|
653
|
+
* connect callback
|
|
654
|
+
* @returns TokenResponse oauth token
|
|
655
|
+
* @throws ApiError
|
|
656
|
+
*/
|
|
657
|
+
static connectCallback(data: $OpenApiTs['/oauth/connect_callback/{client_name}']['post']['req']): CancelablePromise<$OpenApiTs['/oauth/connect_callback/{client_name}']['post']['res'][200]>;
|
|
658
|
+
/**
|
|
659
|
+
* create OAuth account
|
|
660
|
+
* @returns string account set
|
|
661
|
+
* @throws ApiError
|
|
662
|
+
*/
|
|
663
|
+
static createAccount(data: $OpenApiTs['/w/{workspace}/oauth/create_account']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/oauth/create_account']['post']['res'][200]>;
|
|
664
|
+
/**
|
|
665
|
+
* refresh token
|
|
666
|
+
* @returns string token refreshed
|
|
667
|
+
* @throws ApiError
|
|
668
|
+
*/
|
|
669
|
+
static refreshToken(data: $OpenApiTs['/w/{workspace}/oauth/refresh_token/{id}']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/oauth/refresh_token/{id}']['post']['res'][200]>;
|
|
670
|
+
/**
|
|
671
|
+
* disconnect account
|
|
672
|
+
* @returns string disconnected client
|
|
673
|
+
* @throws ApiError
|
|
674
|
+
*/
|
|
675
|
+
static disconnectAccount(data: $OpenApiTs['/w/{workspace}/oauth/disconnect/{id}']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/oauth/disconnect/{id}']['post']['res'][200]>;
|
|
676
|
+
/**
|
|
677
|
+
* disconnect slack
|
|
678
|
+
* @returns string disconnected slack
|
|
679
|
+
* @throws ApiError
|
|
680
|
+
*/
|
|
681
|
+
static disconnectSlack(data: $OpenApiTs['/w/{workspace}/oauth/disconnect_slack']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/oauth/disconnect_slack']['post']['res'][200]>;
|
|
682
|
+
/**
|
|
683
|
+
* list oauth logins
|
|
684
|
+
* @returns unknown list of oauth and saml login clients
|
|
685
|
+
* @throws ApiError
|
|
686
|
+
*/
|
|
687
|
+
static listOauthLogins(): CancelablePromise<$OpenApiTs['/oauth/list_logins']['get']['res'][200]>;
|
|
688
|
+
/**
|
|
689
|
+
* list oauth connects
|
|
690
|
+
* @returns unknown list of oauth connects clients
|
|
691
|
+
* @throws ApiError
|
|
692
|
+
*/
|
|
693
|
+
static listOauthConnects(): CancelablePromise<$OpenApiTs['/oauth/list_connects']['get']['res'][200]>;
|
|
694
|
+
}
|
|
695
|
+
export declare class ResourceService {
|
|
696
|
+
/**
|
|
697
|
+
* create resource
|
|
698
|
+
* @returns string resource created
|
|
699
|
+
* @throws ApiError
|
|
700
|
+
*/
|
|
701
|
+
static createResource(data: $OpenApiTs['/w/{workspace}/resources/create']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/resources/create']['post']['res'][201]>;
|
|
702
|
+
/**
|
|
703
|
+
* delete resource
|
|
704
|
+
* @returns string resource deleted
|
|
705
|
+
* @throws ApiError
|
|
706
|
+
*/
|
|
707
|
+
static deleteResource(data: $OpenApiTs['/w/{workspace}/resources/delete/{path}']['delete']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/resources/delete/{path}']['delete']['res'][200]>;
|
|
708
|
+
/**
|
|
709
|
+
* update resource
|
|
710
|
+
* @returns string resource updated
|
|
711
|
+
* @throws ApiError
|
|
712
|
+
*/
|
|
713
|
+
static updateResource(data: $OpenApiTs['/w/{workspace}/resources/update/{path}']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/resources/update/{path}']['post']['res'][200]>;
|
|
714
|
+
/**
|
|
715
|
+
* update resource value
|
|
716
|
+
* @returns string resource value updated
|
|
717
|
+
* @throws ApiError
|
|
718
|
+
*/
|
|
719
|
+
static updateResourceValue(data: $OpenApiTs['/w/{workspace}/resources/update_value/{path}']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/resources/update_value/{path}']['post']['res'][200]>;
|
|
720
|
+
/**
|
|
721
|
+
* get resource
|
|
722
|
+
* @returns Resource resource
|
|
723
|
+
* @throws ApiError
|
|
724
|
+
*/
|
|
725
|
+
static getResource(data: $OpenApiTs['/w/{workspace}/resources/get/{path}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/resources/get/{path}']['get']['res'][200]>;
|
|
726
|
+
/**
|
|
727
|
+
* get resource interpolated (variables and resources are fully unrolled)
|
|
728
|
+
* @returns unknown resource value
|
|
729
|
+
* @throws ApiError
|
|
730
|
+
*/
|
|
731
|
+
static getResourceValueInterpolated(data: $OpenApiTs['/w/{workspace}/resources/get_value_interpolated/{path}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/resources/get_value_interpolated/{path}']['get']['res'][200]>;
|
|
732
|
+
/**
|
|
733
|
+
* get resource value
|
|
734
|
+
* @returns unknown resource value
|
|
735
|
+
* @throws ApiError
|
|
736
|
+
*/
|
|
737
|
+
static getResourceValue(data: $OpenApiTs['/w/{workspace}/resources/get_value/{path}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/resources/get_value/{path}']['get']['res'][200]>;
|
|
738
|
+
/**
|
|
739
|
+
* does resource exists
|
|
740
|
+
* @returns boolean does resource exists
|
|
741
|
+
* @throws ApiError
|
|
742
|
+
*/
|
|
743
|
+
static existsResource(data: $OpenApiTs['/w/{workspace}/resources/exists/{path}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/resources/exists/{path}']['get']['res'][200]>;
|
|
744
|
+
/**
|
|
745
|
+
* list resources
|
|
746
|
+
* @returns ListableResource resource list
|
|
747
|
+
* @throws ApiError
|
|
748
|
+
*/
|
|
749
|
+
static listResource(data: $OpenApiTs['/w/{workspace}/resources/list']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/resources/list']['get']['res'][200]>;
|
|
750
|
+
/**
|
|
751
|
+
* list resources for search
|
|
752
|
+
* @returns unknown resource list
|
|
753
|
+
* @throws ApiError
|
|
754
|
+
*/
|
|
755
|
+
static listSearchResource(data: $OpenApiTs['/w/{workspace}/resources/list_search']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/resources/list_search']['get']['res'][200]>;
|
|
756
|
+
/**
|
|
757
|
+
* list resource names
|
|
758
|
+
* @returns unknown resource list names
|
|
759
|
+
* @throws ApiError
|
|
760
|
+
*/
|
|
761
|
+
static listResourceNames(data: $OpenApiTs['/w/{workspace}/resources/list_names/{name}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/resources/list_names/{name}']['get']['res'][200]>;
|
|
762
|
+
/**
|
|
763
|
+
* create resource_type
|
|
764
|
+
* @returns string resource_type created
|
|
765
|
+
* @throws ApiError
|
|
766
|
+
*/
|
|
767
|
+
static createResourceType(data: $OpenApiTs['/w/{workspace}/resources/type/create']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/resources/type/create']['post']['res'][201]>;
|
|
768
|
+
/**
|
|
769
|
+
* delete resource_type
|
|
770
|
+
* @returns string resource_type deleted
|
|
771
|
+
* @throws ApiError
|
|
772
|
+
*/
|
|
773
|
+
static deleteResourceType(data: $OpenApiTs['/w/{workspace}/resources/type/delete/{path}']['delete']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/resources/type/delete/{path}']['delete']['res'][200]>;
|
|
774
|
+
/**
|
|
775
|
+
* update resource_type
|
|
776
|
+
* @returns string resource_type updated
|
|
777
|
+
* @throws ApiError
|
|
778
|
+
*/
|
|
779
|
+
static updateResourceType(data: $OpenApiTs['/w/{workspace}/resources/type/update/{path}']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/resources/type/update/{path}']['post']['res'][200]>;
|
|
780
|
+
/**
|
|
781
|
+
* get resource_type
|
|
782
|
+
* @returns ResourceType resource_type deleted
|
|
783
|
+
* @throws ApiError
|
|
784
|
+
*/
|
|
785
|
+
static getResourceType(data: $OpenApiTs['/w/{workspace}/resources/type/get/{path}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/resources/type/get/{path}']['get']['res'][200]>;
|
|
786
|
+
/**
|
|
787
|
+
* does resource_type exists
|
|
788
|
+
* @returns boolean does resource_type exist
|
|
789
|
+
* @throws ApiError
|
|
790
|
+
*/
|
|
791
|
+
static existsResourceType(data: $OpenApiTs['/w/{workspace}/resources/type/exists/{path}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/resources/type/exists/{path}']['get']['res'][200]>;
|
|
792
|
+
/**
|
|
793
|
+
* list resource_types
|
|
794
|
+
* @returns ResourceType resource_type list
|
|
795
|
+
* @throws ApiError
|
|
796
|
+
*/
|
|
797
|
+
static listResourceType(data: $OpenApiTs['/w/{workspace}/resources/type/list']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/resources/type/list']['get']['res'][200]>;
|
|
798
|
+
/**
|
|
799
|
+
* list resource_types names
|
|
800
|
+
* @returns string resource_type list
|
|
801
|
+
* @throws ApiError
|
|
802
|
+
*/
|
|
803
|
+
static listResourceTypeNames(data: $OpenApiTs['/w/{workspace}/resources/type/listnames']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/resources/type/listnames']['get']['res'][200]>;
|
|
804
|
+
/**
|
|
805
|
+
* query resource types by similarity
|
|
806
|
+
* @returns unknown resource type details
|
|
807
|
+
* @throws ApiError
|
|
808
|
+
*/
|
|
809
|
+
static queryResourceTypes(data: $OpenApiTs['/w/{workspace}/embeddings/query_resource_types']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/embeddings/query_resource_types']['get']['res'][200]>;
|
|
810
|
+
}
|
|
811
|
+
export declare class IntegrationService {
|
|
812
|
+
/**
|
|
813
|
+
* list hub integrations
|
|
814
|
+
* @returns unknown integrations details
|
|
815
|
+
* @throws ApiError
|
|
816
|
+
*/
|
|
817
|
+
static listHubIntegrations(data?: $OpenApiTs['/integrations/hub/list']['get']['req']): CancelablePromise<$OpenApiTs['/integrations/hub/list']['get']['res'][200]>;
|
|
818
|
+
}
|
|
819
|
+
export declare class FlowService {
|
|
820
|
+
/**
|
|
821
|
+
* list all hub flows
|
|
822
|
+
* @returns unknown hub flows list
|
|
823
|
+
* @throws ApiError
|
|
824
|
+
*/
|
|
825
|
+
static listHubFlows(): CancelablePromise<$OpenApiTs['/flows/hub/list']['get']['res'][200]>;
|
|
826
|
+
/**
|
|
827
|
+
* get hub flow by id
|
|
828
|
+
* @returns unknown flow
|
|
829
|
+
* @throws ApiError
|
|
830
|
+
*/
|
|
831
|
+
static getHubFlowById(data: $OpenApiTs['/flows/hub/get/{id}']['get']['req']): CancelablePromise<$OpenApiTs['/flows/hub/get/{id}']['get']['res'][200]>;
|
|
832
|
+
/**
|
|
833
|
+
* list all flow paths
|
|
834
|
+
* @returns string list of flow paths
|
|
835
|
+
* @throws ApiError
|
|
836
|
+
*/
|
|
837
|
+
static listFlowPaths(data: $OpenApiTs['/w/{workspace}/flows/list_paths']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/flows/list_paths']['get']['res'][200]>;
|
|
838
|
+
/**
|
|
839
|
+
* list flows for search
|
|
840
|
+
* @returns unknown flow list
|
|
841
|
+
* @throws ApiError
|
|
842
|
+
*/
|
|
843
|
+
static listSearchFlow(data: $OpenApiTs['/w/{workspace}/flows/list_search']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/flows/list_search']['get']['res'][200]>;
|
|
844
|
+
/**
|
|
845
|
+
* list all flows
|
|
846
|
+
* @returns unknown All flow
|
|
847
|
+
* @throws ApiError
|
|
848
|
+
*/
|
|
849
|
+
static listFlows(data: $OpenApiTs['/w/{workspace}/flows/list']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/flows/list']['get']['res'][200]>;
|
|
850
|
+
/**
|
|
851
|
+
* get flow by path
|
|
852
|
+
* @returns Flow flow details
|
|
853
|
+
* @throws ApiError
|
|
854
|
+
*/
|
|
855
|
+
static getFlowByPath(data: $OpenApiTs['/w/{workspace}/flows/get/{path}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/flows/get/{path}']['get']['res'][200]>;
|
|
856
|
+
/**
|
|
857
|
+
* Toggle ON and OFF the workspace error handler for a given flow
|
|
858
|
+
* @returns string error handler toggled
|
|
859
|
+
* @throws ApiError
|
|
860
|
+
*/
|
|
861
|
+
static toggleWorkspaceErrorHandlerForFlow(data: $OpenApiTs['/w/{workspace}/flows/toggle_workspace_error_handler/{path}']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/flows/toggle_workspace_error_handler/{path}']['post']['res'][200]>;
|
|
862
|
+
/**
|
|
863
|
+
* get flow by path with draft
|
|
864
|
+
* @returns unknown flow details with draft
|
|
865
|
+
* @throws ApiError
|
|
866
|
+
*/
|
|
867
|
+
static getFlowByPathWithDraft(data: $OpenApiTs['/w/{workspace}/flows/get/draft/{path}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/flows/get/draft/{path}']['get']['res'][200]>;
|
|
868
|
+
/**
|
|
869
|
+
* exists flow by path
|
|
870
|
+
* @returns boolean flow details
|
|
871
|
+
* @throws ApiError
|
|
872
|
+
*/
|
|
873
|
+
static existsFlowByPath(data: $OpenApiTs['/w/{workspace}/flows/exists/{path}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/flows/exists/{path}']['get']['res'][200]>;
|
|
874
|
+
/**
|
|
875
|
+
* create flow
|
|
876
|
+
* @returns string flow created
|
|
877
|
+
* @throws ApiError
|
|
878
|
+
*/
|
|
879
|
+
static createFlow(data: $OpenApiTs['/w/{workspace}/flows/create']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/flows/create']['post']['res'][201]>;
|
|
880
|
+
/**
|
|
881
|
+
* update flow
|
|
882
|
+
* @returns string flow updated
|
|
883
|
+
* @throws ApiError
|
|
884
|
+
*/
|
|
885
|
+
static updateFlow(data: $OpenApiTs['/w/{workspace}/flows/update/{path}']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/flows/update/{path}']['post']['res'][200]>;
|
|
886
|
+
/**
|
|
887
|
+
* archive flow by path
|
|
888
|
+
* @returns string flow archived
|
|
889
|
+
* @throws ApiError
|
|
890
|
+
*/
|
|
891
|
+
static archiveFlowByPath(data: $OpenApiTs['/w/{workspace}/flows/archive/{path}']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/flows/archive/{path}']['post']['res'][200]>;
|
|
892
|
+
/**
|
|
893
|
+
* delete flow by path
|
|
894
|
+
* @returns string flow delete
|
|
895
|
+
* @throws ApiError
|
|
896
|
+
*/
|
|
897
|
+
static deleteFlowByPath(data: $OpenApiTs['/w/{workspace}/flows/delete/{path}']['delete']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/flows/delete/{path}']['delete']['res'][200]>;
|
|
898
|
+
/**
|
|
899
|
+
* list inputs for previous completed flow jobs
|
|
900
|
+
* @returns Input input history for completed jobs with this flow path
|
|
901
|
+
* @throws ApiError
|
|
902
|
+
*/
|
|
903
|
+
static getFlowInputHistoryByPath(data: $OpenApiTs['/w/{workspace}/flows/input_history/p/{path}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/flows/input_history/p/{path}']['get']['res'][200]>;
|
|
904
|
+
}
|
|
905
|
+
export declare class AppService {
|
|
906
|
+
/**
|
|
907
|
+
* list all hub apps
|
|
908
|
+
* @returns unknown hub apps list
|
|
909
|
+
* @throws ApiError
|
|
910
|
+
*/
|
|
911
|
+
static listHubApps(): CancelablePromise<$OpenApiTs['/apps/hub/list']['get']['res'][200]>;
|
|
912
|
+
/**
|
|
913
|
+
* get hub app by id
|
|
914
|
+
* @returns unknown app
|
|
915
|
+
* @throws ApiError
|
|
916
|
+
*/
|
|
917
|
+
static getHubAppById(data: $OpenApiTs['/apps/hub/get/{id}']['get']['req']): CancelablePromise<$OpenApiTs['/apps/hub/get/{id}']['get']['res'][200]>;
|
|
918
|
+
/**
|
|
919
|
+
* list apps for search
|
|
920
|
+
* @returns unknown app list
|
|
921
|
+
* @throws ApiError
|
|
922
|
+
*/
|
|
923
|
+
static listSearchApp(data: $OpenApiTs['/w/{workspace}/apps/list_search']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/apps/list_search']['get']['res'][200]>;
|
|
924
|
+
/**
|
|
925
|
+
* list all apps
|
|
926
|
+
* @returns ListableApp All apps
|
|
927
|
+
* @throws ApiError
|
|
928
|
+
*/
|
|
929
|
+
static listApps(data: $OpenApiTs['/w/{workspace}/apps/list']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/apps/list']['get']['res'][200]>;
|
|
930
|
+
/**
|
|
931
|
+
* create app
|
|
932
|
+
* @returns string app created
|
|
933
|
+
* @throws ApiError
|
|
934
|
+
*/
|
|
935
|
+
static createApp(data: $OpenApiTs['/w/{workspace}/apps/create']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/apps/create']['post']['res'][201]>;
|
|
936
|
+
/**
|
|
937
|
+
* does an app exisst at path
|
|
938
|
+
* @returns boolean app exists
|
|
939
|
+
* @throws ApiError
|
|
940
|
+
*/
|
|
941
|
+
static existsApp(data: $OpenApiTs['/w/{workspace}/apps/exists/{path}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/apps/exists/{path}']['get']['res'][200]>;
|
|
942
|
+
/**
|
|
943
|
+
* get app by path
|
|
944
|
+
* @returns AppWithLastVersion app details
|
|
945
|
+
* @throws ApiError
|
|
946
|
+
*/
|
|
947
|
+
static getAppByPath(data: $OpenApiTs['/w/{workspace}/apps/get/p/{path}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/apps/get/p/{path}']['get']['res'][200]>;
|
|
948
|
+
/**
|
|
949
|
+
* get app by path with draft
|
|
950
|
+
* @returns AppWithLastVersionWDraft app details with draft
|
|
951
|
+
* @throws ApiError
|
|
952
|
+
*/
|
|
953
|
+
static getAppByPathWithDraft(data: $OpenApiTs['/w/{workspace}/apps/get/draft/{path}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/apps/get/draft/{path}']['get']['res'][200]>;
|
|
954
|
+
/**
|
|
955
|
+
* get app history by path
|
|
956
|
+
* @returns AppHistory app history
|
|
957
|
+
* @throws ApiError
|
|
958
|
+
*/
|
|
959
|
+
static getAppHistoryByPath(data: $OpenApiTs['/w/{workspace}/apps/history/p/{path}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/apps/history/p/{path}']['get']['res'][200]>;
|
|
960
|
+
/**
|
|
961
|
+
* update app history
|
|
962
|
+
* @returns string success
|
|
963
|
+
* @throws ApiError
|
|
964
|
+
*/
|
|
965
|
+
static updateAppHistory(data: $OpenApiTs['/w/{workspace}/apps/history_update/a/{id}/v/{version}']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/apps/history_update/a/{id}/v/{version}']['post']['res'][200]>;
|
|
966
|
+
/**
|
|
967
|
+
* get public app by secret
|
|
968
|
+
* @returns AppWithLastVersion app details
|
|
969
|
+
* @throws ApiError
|
|
970
|
+
*/
|
|
971
|
+
static getPublicAppBySecret(data: $OpenApiTs['/w/{workspace}/apps_u/public_app/{path}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/apps_u/public_app/{path}']['get']['res'][200]>;
|
|
972
|
+
/**
|
|
973
|
+
* get public resource
|
|
974
|
+
* @returns unknown resource value
|
|
975
|
+
* @throws ApiError
|
|
976
|
+
*/
|
|
977
|
+
static getPublicResource(data: $OpenApiTs['/w/{workspace}/apps_u/public_resource/{path}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/apps_u/public_resource/{path}']['get']['res'][200]>;
|
|
978
|
+
/**
|
|
979
|
+
* get public secret of app
|
|
980
|
+
* @returns string app secret
|
|
981
|
+
* @throws ApiError
|
|
982
|
+
*/
|
|
983
|
+
static getPublicSecretOfApp(data: $OpenApiTs['/w/{workspace}/apps/secret_of/{path}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/apps/secret_of/{path}']['get']['res'][200]>;
|
|
984
|
+
/**
|
|
985
|
+
* get app by version
|
|
986
|
+
* @returns AppWithLastVersion app details
|
|
987
|
+
* @throws ApiError
|
|
988
|
+
*/
|
|
989
|
+
static getAppByVersion(data: $OpenApiTs['/w/{workspace}/apps/get/v/{id}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/apps/get/v/{id}']['get']['res'][200]>;
|
|
990
|
+
/**
|
|
991
|
+
* delete app
|
|
992
|
+
* @returns string app deleted
|
|
993
|
+
* @throws ApiError
|
|
994
|
+
*/
|
|
995
|
+
static deleteApp(data: $OpenApiTs['/w/{workspace}/apps/delete/{path}']['delete']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/apps/delete/{path}']['delete']['res'][200]>;
|
|
996
|
+
/**
|
|
997
|
+
* update app
|
|
998
|
+
* @returns string app updated
|
|
999
|
+
* @throws ApiError
|
|
1000
|
+
*/
|
|
1001
|
+
static updateApp(data: $OpenApiTs['/w/{workspace}/apps/update/{path}']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/apps/update/{path}']['post']['res'][200]>;
|
|
1002
|
+
/**
|
|
1003
|
+
* executeComponent
|
|
1004
|
+
* @returns string job uuid
|
|
1005
|
+
* @throws ApiError
|
|
1006
|
+
*/
|
|
1007
|
+
static executeComponent(data: $OpenApiTs['/w/{workspace}/apps_u/execute_component/{path}']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/apps_u/execute_component/{path}']['post']['res'][200]>;
|
|
1008
|
+
}
|
|
1009
|
+
export declare class ScriptService {
|
|
1010
|
+
/**
|
|
1011
|
+
* get hub script content by path
|
|
1012
|
+
* @returns string script details
|
|
1013
|
+
* @throws ApiError
|
|
1014
|
+
*/
|
|
1015
|
+
static getHubScriptContentByPath(data: $OpenApiTs['/scripts/hub/get/{path}']['get']['req']): CancelablePromise<$OpenApiTs['/scripts/hub/get/{path}']['get']['res'][200]>;
|
|
1016
|
+
/**
|
|
1017
|
+
* get full hub script by path
|
|
1018
|
+
* @returns unknown script details
|
|
1019
|
+
* @throws ApiError
|
|
1020
|
+
*/
|
|
1021
|
+
static getHubScriptByPath(data: $OpenApiTs['/scripts/hub/get_full/{path}']['get']['req']): CancelablePromise<$OpenApiTs['/scripts/hub/get_full/{path}']['get']['res'][200]>;
|
|
1022
|
+
/**
|
|
1023
|
+
* get top hub scripts
|
|
1024
|
+
* @returns unknown hub scripts list
|
|
1025
|
+
* @throws ApiError
|
|
1026
|
+
*/
|
|
1027
|
+
static getTopHubScripts(data?: $OpenApiTs['/scripts/hub/top']['get']['req']): CancelablePromise<$OpenApiTs['/scripts/hub/top']['get']['res'][200]>;
|
|
1028
|
+
/**
|
|
1029
|
+
* query hub scripts by similarity
|
|
1030
|
+
* @returns unknown script details
|
|
1031
|
+
* @throws ApiError
|
|
1032
|
+
*/
|
|
1033
|
+
static queryHubScripts(data: $OpenApiTs['/embeddings/query_hub_scripts']['get']['req']): CancelablePromise<$OpenApiTs['/embeddings/query_hub_scripts']['get']['res'][200]>;
|
|
1034
|
+
/**
|
|
1035
|
+
* list scripts for search
|
|
1036
|
+
* @returns unknown script list
|
|
1037
|
+
* @throws ApiError
|
|
1038
|
+
*/
|
|
1039
|
+
static listSearchScript(data: $OpenApiTs['/w/{workspace}/scripts/list_search']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/scripts/list_search']['get']['res'][200]>;
|
|
1040
|
+
/**
|
|
1041
|
+
* list all scripts
|
|
1042
|
+
* @returns Script All scripts
|
|
1043
|
+
* @throws ApiError
|
|
1044
|
+
*/
|
|
1045
|
+
static listScripts(data: $OpenApiTs['/w/{workspace}/scripts/list']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/scripts/list']['get']['res'][200]>;
|
|
1046
|
+
/**
|
|
1047
|
+
* list all scripts paths
|
|
1048
|
+
* @returns string list of script paths
|
|
1049
|
+
* @throws ApiError
|
|
1050
|
+
*/
|
|
1051
|
+
static listScriptPaths(data: $OpenApiTs['/w/{workspace}/scripts/list_paths']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/scripts/list_paths']['get']['res'][200]>;
|
|
1052
|
+
/**
|
|
1053
|
+
* create script
|
|
1054
|
+
* @returns string script created
|
|
1055
|
+
* @throws ApiError
|
|
1056
|
+
*/
|
|
1057
|
+
static createScript(data: $OpenApiTs['/w/{workspace}/scripts/create']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/scripts/create']['post']['res'][201]>;
|
|
1058
|
+
/**
|
|
1059
|
+
* Toggle ON and OFF the workspace error handler for a given script
|
|
1060
|
+
* @returns string error handler toggled
|
|
1061
|
+
* @throws ApiError
|
|
1062
|
+
*/
|
|
1063
|
+
static toggleWorkspaceErrorHandlerForScript(data: $OpenApiTs['/w/{workspace}/scripts/toggle_workspace_error_handler/p/{path}']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/scripts/toggle_workspace_error_handler/p/{path}']['post']['res'][200]>;
|
|
1064
|
+
/**
|
|
1065
|
+
* archive script by path
|
|
1066
|
+
* @returns string script archived
|
|
1067
|
+
* @throws ApiError
|
|
1068
|
+
*/
|
|
1069
|
+
static archiveScriptByPath(data: $OpenApiTs['/w/{workspace}/scripts/archive/p/{path}']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/scripts/archive/p/{path}']['post']['res'][200]>;
|
|
1070
|
+
/**
|
|
1071
|
+
* archive script by hash
|
|
1072
|
+
* @returns Script script details
|
|
1073
|
+
* @throws ApiError
|
|
1074
|
+
*/
|
|
1075
|
+
static archiveScriptByHash(data: $OpenApiTs['/w/{workspace}/scripts/archive/h/{hash}']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/scripts/archive/h/{hash}']['post']['res'][200]>;
|
|
1076
|
+
/**
|
|
1077
|
+
* delete script by hash (erase content but keep hash, require admin)
|
|
1078
|
+
* @returns Script script details
|
|
1079
|
+
* @throws ApiError
|
|
1080
|
+
*/
|
|
1081
|
+
static deleteScriptByHash(data: $OpenApiTs['/w/{workspace}/scripts/delete/h/{hash}']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/scripts/delete/h/{hash}']['post']['res'][200]>;
|
|
1082
|
+
/**
|
|
1083
|
+
* delete all scripts at a given path (require admin)
|
|
1084
|
+
* @returns string script path
|
|
1085
|
+
* @throws ApiError
|
|
1086
|
+
*/
|
|
1087
|
+
static deleteScriptByPath(data: $OpenApiTs['/w/{workspace}/scripts/delete/p/{path}']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/scripts/delete/p/{path}']['post']['res'][200]>;
|
|
1088
|
+
/**
|
|
1089
|
+
* get script by path
|
|
1090
|
+
* @returns Script script details
|
|
1091
|
+
* @throws ApiError
|
|
1092
|
+
*/
|
|
1093
|
+
static getScriptByPath(data: $OpenApiTs['/w/{workspace}/scripts/get/p/{path}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/scripts/get/p/{path}']['get']['res'][200]>;
|
|
1094
|
+
/**
|
|
1095
|
+
* get script by path with draft
|
|
1096
|
+
* @returns NewScriptWithDraft script details
|
|
1097
|
+
* @throws ApiError
|
|
1098
|
+
*/
|
|
1099
|
+
static getScriptByPathWithDraft(data: $OpenApiTs['/w/{workspace}/scripts/get/draft/{path}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/scripts/get/draft/{path}']['get']['res'][200]>;
|
|
1100
|
+
/**
|
|
1101
|
+
* get history of a script by path
|
|
1102
|
+
* @returns ScriptHistory script history
|
|
1103
|
+
* @throws ApiError
|
|
1104
|
+
*/
|
|
1105
|
+
static getScriptHistoryByPath(data: $OpenApiTs['/w/{workspace}/scripts/history/p/{path}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/scripts/history/p/{path}']['get']['res'][200]>;
|
|
1106
|
+
/**
|
|
1107
|
+
* update history of a script
|
|
1108
|
+
* @returns string success
|
|
1109
|
+
* @throws ApiError
|
|
1110
|
+
*/
|
|
1111
|
+
static updateScriptHistory(data: $OpenApiTs['/w/{workspace}/scripts/history_update/h/{hash}/p/{path}']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/scripts/history_update/h/{hash}/p/{path}']['post']['res'][200]>;
|
|
1112
|
+
/**
|
|
1113
|
+
* raw script by path
|
|
1114
|
+
* @returns string script content
|
|
1115
|
+
* @throws ApiError
|
|
1116
|
+
*/
|
|
1117
|
+
static rawScriptByPath(data: $OpenApiTs['/w/{workspace}/scripts/raw/p/{path}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/scripts/raw/p/{path}']['get']['res'][200]>;
|
|
1118
|
+
/**
|
|
1119
|
+
* raw script by path with a token (mostly used by lsp to be used with import maps to resolve scripts)
|
|
1120
|
+
* @returns string script content
|
|
1121
|
+
* @throws ApiError
|
|
1122
|
+
*/
|
|
1123
|
+
static rawScriptByPathTokened(data: $OpenApiTs['/scripts_u/tokened_raw/{workspace}/{token}/{path}']['get']['req']): CancelablePromise<$OpenApiTs['/scripts_u/tokened_raw/{workspace}/{token}/{path}']['get']['res'][200]>;
|
|
1124
|
+
/**
|
|
1125
|
+
* exists script by path
|
|
1126
|
+
* @returns boolean does it exists
|
|
1127
|
+
* @throws ApiError
|
|
1128
|
+
*/
|
|
1129
|
+
static existsScriptByPath(data: $OpenApiTs['/w/{workspace}/scripts/exists/p/{path}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/scripts/exists/p/{path}']['get']['res'][200]>;
|
|
1130
|
+
/**
|
|
1131
|
+
* get script by hash
|
|
1132
|
+
* @returns Script script details
|
|
1133
|
+
* @throws ApiError
|
|
1134
|
+
*/
|
|
1135
|
+
static getScriptByHash(data: $OpenApiTs['/w/{workspace}/scripts/get/h/{hash}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/scripts/get/h/{hash}']['get']['res'][200]>;
|
|
1136
|
+
/**
|
|
1137
|
+
* raw script by hash
|
|
1138
|
+
* @returns string script content
|
|
1139
|
+
* @throws ApiError
|
|
1140
|
+
*/
|
|
1141
|
+
static rawScriptByHash(data: $OpenApiTs['/w/{workspace}/scripts/raw/h/{path}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/scripts/raw/h/{path}']['get']['res'][200]>;
|
|
1142
|
+
/**
|
|
1143
|
+
* get script deployment status
|
|
1144
|
+
* @returns unknown script details
|
|
1145
|
+
* @throws ApiError
|
|
1146
|
+
*/
|
|
1147
|
+
static getScriptDeploymentStatus(data: $OpenApiTs['/w/{workspace}/scripts/deployment_status/h/{hash}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/scripts/deployment_status/h/{hash}']['get']['res'][200]>;
|
|
1148
|
+
}
|
|
1149
|
+
export declare class DraftService {
|
|
1150
|
+
/**
|
|
1151
|
+
* create draft
|
|
1152
|
+
* @returns string draft created
|
|
1153
|
+
* @throws ApiError
|
|
1154
|
+
*/
|
|
1155
|
+
static createDraft(data: $OpenApiTs['/w/{workspace}/drafts/create']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/drafts/create']['post']['res'][201]>;
|
|
1156
|
+
/**
|
|
1157
|
+
* delete draft
|
|
1158
|
+
* @returns string draft deleted
|
|
1159
|
+
* @throws ApiError
|
|
1160
|
+
*/
|
|
1161
|
+
static deleteDraft(data: $OpenApiTs['/w/{workspace}/drafts/delete/{kind}/{path}']['delete']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/drafts/delete/{kind}/{path}']['delete']['res'][200]>;
|
|
1162
|
+
}
|
|
1163
|
+
export declare class WorkerService {
|
|
1164
|
+
/**
|
|
1165
|
+
* get all instance custom tags (tags are used to dispatch jobs to different worker groups)
|
|
1166
|
+
* @returns string list of custom tags
|
|
1167
|
+
* @throws ApiError
|
|
1168
|
+
*/
|
|
1169
|
+
static getCustomTags(): CancelablePromise<$OpenApiTs['/workers/custom_tags']['get']['res'][200]>;
|
|
1170
|
+
/**
|
|
1171
|
+
* get all instance default tags
|
|
1172
|
+
* @returns string list of default tags
|
|
1173
|
+
* @throws ApiError
|
|
1174
|
+
*/
|
|
1175
|
+
static geDefaultTags(): CancelablePromise<$OpenApiTs['/workers/get_default_tags']['get']['res'][200]>;
|
|
1176
|
+
/**
|
|
1177
|
+
* is default tags per workspace
|
|
1178
|
+
* @returns boolean is the default tags per workspace
|
|
1179
|
+
* @throws ApiError
|
|
1180
|
+
*/
|
|
1181
|
+
static isDefaultTagsPerWorkspace(): CancelablePromise<$OpenApiTs['/workers/is_default_tags_per_workspace']['get']['res'][200]>;
|
|
1182
|
+
/**
|
|
1183
|
+
* list workers
|
|
1184
|
+
* @returns WorkerPing a list of workers
|
|
1185
|
+
* @throws ApiError
|
|
1186
|
+
*/
|
|
1187
|
+
static listWorkers(data?: $OpenApiTs['/workers/list']['get']['req']): CancelablePromise<$OpenApiTs['/workers/list']['get']['res'][200]>;
|
|
1188
|
+
/**
|
|
1189
|
+
* exists worker with tag
|
|
1190
|
+
* @returns boolean whether a worker with the tag exists
|
|
1191
|
+
* @throws ApiError
|
|
1192
|
+
*/
|
|
1193
|
+
static existsWorkerWithTag(data: $OpenApiTs['/workers/exists_worker_with_tag']['get']['req']): CancelablePromise<$OpenApiTs['/workers/exists_worker_with_tag']['get']['res'][200]>;
|
|
1194
|
+
}
|
|
1195
|
+
export declare class JobService {
|
|
1196
|
+
/**
|
|
1197
|
+
* run script by path
|
|
1198
|
+
* @returns string job created
|
|
1199
|
+
* @throws ApiError
|
|
1200
|
+
*/
|
|
1201
|
+
static runScriptByPath(data: $OpenApiTs['/w/{workspace}/jobs/run/p/{path}']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/jobs/run/p/{path}']['post']['res'][201]>;
|
|
1202
|
+
/**
|
|
1203
|
+
* run script by path in openai format
|
|
1204
|
+
* @returns unknown job result
|
|
1205
|
+
* @throws ApiError
|
|
1206
|
+
*/
|
|
1207
|
+
static openaiSyncScriptByPath(data: $OpenApiTs['/w/{workspace}/jobs/openai_sync/p/{path}']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/jobs/openai_sync/p/{path}']['post']['res'][200]>;
|
|
1208
|
+
/**
|
|
1209
|
+
* run script by path
|
|
1210
|
+
* @returns unknown job result
|
|
1211
|
+
* @throws ApiError
|
|
1212
|
+
*/
|
|
1213
|
+
static runWaitResultScriptByPath(data: $OpenApiTs['/w/{workspace}/jobs/run_wait_result/p/{path}']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/jobs/run_wait_result/p/{path}']['post']['res'][200]>;
|
|
1214
|
+
/**
|
|
1215
|
+
* run script by path with get
|
|
1216
|
+
* @returns unknown job result
|
|
1217
|
+
* @throws ApiError
|
|
1218
|
+
*/
|
|
1219
|
+
static runWaitResultScriptByPathGet(data: $OpenApiTs['/w/{workspace}/jobs/run_wait_result/p/{path}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/jobs/run_wait_result/p/{path}']['get']['res'][200]>;
|
|
1220
|
+
/**
|
|
1221
|
+
* run flow by path and wait until completion in openai format
|
|
1222
|
+
* @returns unknown job result
|
|
1223
|
+
* @throws ApiError
|
|
1224
|
+
*/
|
|
1225
|
+
static openaiSyncFlowByPath(data: $OpenApiTs['/w/{workspace}/jobs/openai_sync/f/{path}']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/jobs/openai_sync/f/{path}']['post']['res'][200]>;
|
|
1226
|
+
/**
|
|
1227
|
+
* run flow by path and wait until completion
|
|
1228
|
+
* @returns unknown job result
|
|
1229
|
+
* @throws ApiError
|
|
1230
|
+
*/
|
|
1231
|
+
static runWaitResultFlowByPath(data: $OpenApiTs['/w/{workspace}/jobs/run_wait_result/f/{path}']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/jobs/run_wait_result/f/{path}']['post']['res'][200]>;
|
|
1232
|
+
/**
|
|
1233
|
+
* get job result by id
|
|
1234
|
+
* @returns unknown job result
|
|
1235
|
+
* @throws ApiError
|
|
1236
|
+
*/
|
|
1237
|
+
static resultById(data: $OpenApiTs['/w/{workspace}/jobs/result_by_id/{flow_job_id}/{node_id}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/jobs/result_by_id/{flow_job_id}/{node_id}']['get']['res'][200]>;
|
|
1238
|
+
/**
|
|
1239
|
+
* run flow by path
|
|
1240
|
+
* @returns string job created
|
|
1241
|
+
* @throws ApiError
|
|
1242
|
+
*/
|
|
1243
|
+
static runFlowByPath(data: $OpenApiTs['/w/{workspace}/jobs/run/f/{path}']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/jobs/run/f/{path}']['post']['res'][201]>;
|
|
1244
|
+
/**
|
|
1245
|
+
* restart a completed flow at a given step
|
|
1246
|
+
* @returns string job created
|
|
1247
|
+
* @throws ApiError
|
|
1248
|
+
*/
|
|
1249
|
+
static restartFlowAtStep(data: $OpenApiTs['/w/{workspace}/jobs/restart/f/{id}/from/{step_id}/{branch_or_iteration_n}']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/jobs/restart/f/{id}/from/{step_id}/{branch_or_iteration_n}']['post']['res'][201]>;
|
|
1250
|
+
/**
|
|
1251
|
+
* run script by hash
|
|
1252
|
+
* @returns string job created
|
|
1253
|
+
* @throws ApiError
|
|
1254
|
+
*/
|
|
1255
|
+
static runScriptByHash(data: $OpenApiTs['/w/{workspace}/jobs/run/h/{hash}']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/jobs/run/h/{hash}']['post']['res'][201]>;
|
|
1256
|
+
/**
|
|
1257
|
+
* run script preview
|
|
1258
|
+
* @returns string job created
|
|
1259
|
+
* @throws ApiError
|
|
1260
|
+
*/
|
|
1261
|
+
static runScriptPreview(data: $OpenApiTs['/w/{workspace}/jobs/run/preview']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/jobs/run/preview']['post']['res'][201]>;
|
|
1262
|
+
/**
|
|
1263
|
+
* run code-workflow task
|
|
1264
|
+
* @returns string job created
|
|
1265
|
+
* @throws ApiError
|
|
1266
|
+
*/
|
|
1267
|
+
static runCodeWorkflowTask(data: $OpenApiTs['/w/{workspace}/jobs/workflow_as_code/{job_id}/{entrypoint}']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/jobs/workflow_as_code/{job_id}/{entrypoint}']['post']['res'][201]>;
|
|
1268
|
+
/**
|
|
1269
|
+
* run a one-off dependencies job
|
|
1270
|
+
* @returns unknown dependency job result
|
|
1271
|
+
* @throws ApiError
|
|
1272
|
+
*/
|
|
1273
|
+
static runRawScriptDependencies(data: $OpenApiTs['/w/{workspace}/jobs/run/dependencies']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/jobs/run/dependencies']['post']['res'][201]>;
|
|
1274
|
+
/**
|
|
1275
|
+
* run flow preview
|
|
1276
|
+
* @returns string job created
|
|
1277
|
+
* @throws ApiError
|
|
1278
|
+
*/
|
|
1279
|
+
static runFlowPreview(data: $OpenApiTs['/w/{workspace}/jobs/run/preview_flow']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/jobs/run/preview_flow']['post']['res'][201]>;
|
|
1280
|
+
/**
|
|
1281
|
+
* list all queued jobs
|
|
1282
|
+
* @returns QueuedJob All queued jobs
|
|
1283
|
+
* @throws ApiError
|
|
1284
|
+
*/
|
|
1285
|
+
static listQueue(data: $OpenApiTs['/w/{workspace}/jobs/queue/list']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/jobs/queue/list']['get']['res'][200]>;
|
|
1286
|
+
/**
|
|
1287
|
+
* get queue count
|
|
1288
|
+
* @returns unknown queue count
|
|
1289
|
+
* @throws ApiError
|
|
1290
|
+
*/
|
|
1291
|
+
static getQueueCount(data: $OpenApiTs['/w/{workspace}/jobs/queue/count']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/jobs/queue/count']['get']['res'][200]>;
|
|
1292
|
+
/**
|
|
1293
|
+
* get completed count
|
|
1294
|
+
* @returns unknown completed count
|
|
1295
|
+
* @throws ApiError
|
|
1296
|
+
*/
|
|
1297
|
+
static getCompletedCount(data: $OpenApiTs['/w/{workspace}/jobs/completed/count']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/jobs/completed/count']['get']['res'][200]>;
|
|
1298
|
+
/**
|
|
1299
|
+
* cancel all jobs
|
|
1300
|
+
* @returns string uuids of canceled jobs
|
|
1301
|
+
* @throws ApiError
|
|
1302
|
+
*/
|
|
1303
|
+
static cancelAll(data: $OpenApiTs['/w/{workspace}/jobs/queue/cancel_all']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/jobs/queue/cancel_all']['post']['res'][200]>;
|
|
1304
|
+
/**
|
|
1305
|
+
* list all completed jobs
|
|
1306
|
+
* @returns CompletedJob All completed jobs
|
|
1307
|
+
* @throws ApiError
|
|
1308
|
+
*/
|
|
1309
|
+
static listCompletedJobs(data: $OpenApiTs['/w/{workspace}/jobs/completed/list']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/jobs/completed/list']['get']['res'][200]>;
|
|
1310
|
+
/**
|
|
1311
|
+
* list all jobs
|
|
1312
|
+
* @returns Job All jobs
|
|
1313
|
+
* @throws ApiError
|
|
1314
|
+
*/
|
|
1315
|
+
static listJobs(data: $OpenApiTs['/w/{workspace}/jobs/list']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/jobs/list']['get']['res'][200]>;
|
|
1316
|
+
/**
|
|
1317
|
+
* get db clock
|
|
1318
|
+
* @returns number the timestamp of the db that can be used to compute the drift
|
|
1319
|
+
* @throws ApiError
|
|
1320
|
+
*/
|
|
1321
|
+
static getDbClock(): CancelablePromise<$OpenApiTs['/jobs/db_clock']['get']['res'][200]>;
|
|
1322
|
+
/**
|
|
1323
|
+
* get job
|
|
1324
|
+
* @returns Job job details
|
|
1325
|
+
* @throws ApiError
|
|
1326
|
+
*/
|
|
1327
|
+
static getJob(data: $OpenApiTs['/w/{workspace}/jobs_u/get/{id}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/jobs_u/get/{id}']['get']['res'][200]>;
|
|
1328
|
+
/**
|
|
1329
|
+
* get root job id
|
|
1330
|
+
* @returns string get root job id
|
|
1331
|
+
* @throws ApiError
|
|
1332
|
+
*/
|
|
1333
|
+
static getRootJobId(data: $OpenApiTs['/w/{workspace}/jobs_u/get_root_job_id/{id}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/jobs_u/get_root_job_id/{id}']['get']['res'][200]>;
|
|
1334
|
+
/**
|
|
1335
|
+
* get job logs
|
|
1336
|
+
* @returns string job details
|
|
1337
|
+
* @throws ApiError
|
|
1338
|
+
*/
|
|
1339
|
+
static getJobLogs(data: $OpenApiTs['/w/{workspace}/jobs_u/get_logs/{id}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/jobs_u/get_logs/{id}']['get']['res'][200]>;
|
|
1340
|
+
/**
|
|
1341
|
+
* get job updates
|
|
1342
|
+
* @returns unknown job details
|
|
1343
|
+
* @throws ApiError
|
|
1344
|
+
*/
|
|
1345
|
+
static getJobUpdates(data: $OpenApiTs['/w/{workspace}/jobs_u/getupdate/{id}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/jobs_u/getupdate/{id}']['get']['res'][200]>;
|
|
1346
|
+
/**
|
|
1347
|
+
* get log file from object store
|
|
1348
|
+
* @returns unknown job log
|
|
1349
|
+
* @throws ApiError
|
|
1350
|
+
*/
|
|
1351
|
+
static getLogFileFromStore(data: $OpenApiTs['/w/{workspace}/jobs_u/get_log_file/{path}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/jobs_u/get_log_file/{path}']['get']['res'][200]>;
|
|
1352
|
+
/**
|
|
1353
|
+
* get flow debug info
|
|
1354
|
+
* @returns unknown flow debug info details
|
|
1355
|
+
* @throws ApiError
|
|
1356
|
+
*/
|
|
1357
|
+
static getFlowDebugInfo(data: $OpenApiTs['/w/{workspace}/jobs_u/get_flow_debug_info/{id}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/jobs_u/get_flow_debug_info/{id}']['get']['res'][200]>;
|
|
1358
|
+
/**
|
|
1359
|
+
* get completed job
|
|
1360
|
+
* @returns CompletedJob job details
|
|
1361
|
+
* @throws ApiError
|
|
1362
|
+
*/
|
|
1363
|
+
static getCompletedJob(data: $OpenApiTs['/w/{workspace}/jobs_u/completed/get/{id}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/jobs_u/completed/get/{id}']['get']['res'][200]>;
|
|
1364
|
+
/**
|
|
1365
|
+
* get completed job result
|
|
1366
|
+
* @returns unknown result
|
|
1367
|
+
* @throws ApiError
|
|
1368
|
+
*/
|
|
1369
|
+
static getCompletedJobResult(data: $OpenApiTs['/w/{workspace}/jobs_u/completed/get_result/{id}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/jobs_u/completed/get_result/{id}']['get']['res'][200]>;
|
|
1370
|
+
/**
|
|
1371
|
+
* get completed job result if job is completed
|
|
1372
|
+
* @returns unknown result
|
|
1373
|
+
* @throws ApiError
|
|
1374
|
+
*/
|
|
1375
|
+
static getCompletedJobResultMaybe(data: $OpenApiTs['/w/{workspace}/jobs_u/completed/get_result_maybe/{id}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/jobs_u/completed/get_result_maybe/{id}']['get']['res'][200]>;
|
|
1376
|
+
/**
|
|
1377
|
+
* delete completed job (erase content but keep run id)
|
|
1378
|
+
* @returns CompletedJob job details
|
|
1379
|
+
* @throws ApiError
|
|
1380
|
+
*/
|
|
1381
|
+
static deleteCompletedJob(data: $OpenApiTs['/w/{workspace}/jobs/completed/delete/{id}']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/jobs/completed/delete/{id}']['post']['res'][200]>;
|
|
1382
|
+
/**
|
|
1383
|
+
* cancel queued job
|
|
1384
|
+
* @returns string job canceled
|
|
1385
|
+
* @throws ApiError
|
|
1386
|
+
*/
|
|
1387
|
+
static cancelQueuedJob(data: $OpenApiTs['/w/{workspace}/jobs_u/queue/cancel/{id}']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/jobs_u/queue/cancel/{id}']['post']['res'][200]>;
|
|
1388
|
+
/**
|
|
1389
|
+
* cancel all queued jobs for persistent script
|
|
1390
|
+
* @returns string persistent job scaled down to zero
|
|
1391
|
+
* @throws ApiError
|
|
1392
|
+
*/
|
|
1393
|
+
static cancelPersistentQueuedJobs(data: $OpenApiTs['/w/{workspace}/jobs_u/queue/cancel_persistent/{path}']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/jobs_u/queue/cancel_persistent/{path}']['post']['res'][200]>;
|
|
1394
|
+
/**
|
|
1395
|
+
* force cancel queued job
|
|
1396
|
+
* @returns string job canceled
|
|
1397
|
+
* @throws ApiError
|
|
1398
|
+
*/
|
|
1399
|
+
static forceCancelQueuedJob(data: $OpenApiTs['/w/{workspace}/jobs_u/queue/force_cancel/{id}']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/jobs_u/queue/force_cancel/{id}']['post']['res'][200]>;
|
|
1400
|
+
/**
|
|
1401
|
+
* create an HMac signature given a job id and a resume id
|
|
1402
|
+
* @returns string job signature
|
|
1403
|
+
* @throws ApiError
|
|
1404
|
+
*/
|
|
1405
|
+
static createJobSignature(data: $OpenApiTs['/w/{workspace}/jobs/job_signature/{id}/{resume_id}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/jobs/job_signature/{id}/{resume_id}']['get']['res'][200]>;
|
|
1406
|
+
/**
|
|
1407
|
+
* get resume urls given a job_id, resume_id and a nonce to resume a flow
|
|
1408
|
+
* @returns unknown url endpoints
|
|
1409
|
+
* @throws ApiError
|
|
1410
|
+
*/
|
|
1411
|
+
static getResumeUrls(data: $OpenApiTs['/w/{workspace}/jobs/resume_urls/{id}/{resume_id}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/jobs/resume_urls/{id}/{resume_id}']['get']['res'][200]>;
|
|
1412
|
+
/**
|
|
1413
|
+
* resume a job for a suspended flow
|
|
1414
|
+
* @returns string job resumed
|
|
1415
|
+
* @throws ApiError
|
|
1416
|
+
*/
|
|
1417
|
+
static resumeSuspendedJobGet(data: $OpenApiTs['/w/{workspace}/jobs_u/resume/{id}/{resume_id}/{signature}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/jobs_u/resume/{id}/{resume_id}/{signature}']['get']['res'][201]>;
|
|
1418
|
+
/**
|
|
1419
|
+
* resume a job for a suspended flow
|
|
1420
|
+
* @returns string job resumed
|
|
1421
|
+
* @throws ApiError
|
|
1422
|
+
*/
|
|
1423
|
+
static resumeSuspendedJobPost(data: $OpenApiTs['/w/{workspace}/jobs_u/resume/{id}/{resume_id}/{signature}']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/jobs_u/resume/{id}/{resume_id}/{signature}']['post']['res'][201]>;
|
|
1424
|
+
/**
|
|
1425
|
+
* set flow user state at a given key
|
|
1426
|
+
* @returns string flow user state updated
|
|
1427
|
+
* @throws ApiError
|
|
1428
|
+
*/
|
|
1429
|
+
static setFlowUserState(data: $OpenApiTs['/w/{workspace}/jobs/flow/user_states/{id}/{key}']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/jobs/flow/user_states/{id}/{key}']['post']['res'][200]>;
|
|
1430
|
+
/**
|
|
1431
|
+
* get flow user state at a given key
|
|
1432
|
+
* @returns unknown flow user state updated
|
|
1433
|
+
* @throws ApiError
|
|
1434
|
+
*/
|
|
1435
|
+
static getFlowUserState(data: $OpenApiTs['/w/{workspace}/jobs/flow/user_states/{id}/{key}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/jobs/flow/user_states/{id}/{key}']['get']['res'][200]>;
|
|
1436
|
+
/**
|
|
1437
|
+
* resume a job for a suspended flow as an owner
|
|
1438
|
+
* @returns string job resumed
|
|
1439
|
+
* @throws ApiError
|
|
1440
|
+
*/
|
|
1441
|
+
static resumeSuspendedFlowAsOwner(data: $OpenApiTs['/w/{workspace}/jobs/flow/resume/{id}']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/jobs/flow/resume/{id}']['post']['res'][201]>;
|
|
1442
|
+
/**
|
|
1443
|
+
* cancel a job for a suspended flow
|
|
1444
|
+
* @returns string job canceled
|
|
1445
|
+
* @throws ApiError
|
|
1446
|
+
*/
|
|
1447
|
+
static cancelSuspendedJobGet(data: $OpenApiTs['/w/{workspace}/jobs_u/cancel/{id}/{resume_id}/{signature}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/jobs_u/cancel/{id}/{resume_id}/{signature}']['get']['res'][201]>;
|
|
1448
|
+
/**
|
|
1449
|
+
* cancel a job for a suspended flow
|
|
1450
|
+
* @returns string job canceled
|
|
1451
|
+
* @throws ApiError
|
|
1452
|
+
*/
|
|
1453
|
+
static cancelSuspendedJobPost(data: $OpenApiTs['/w/{workspace}/jobs_u/cancel/{id}/{resume_id}/{signature}']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/jobs_u/cancel/{id}/{resume_id}/{signature}']['post']['res'][201]>;
|
|
1454
|
+
/**
|
|
1455
|
+
* get parent flow job of suspended job
|
|
1456
|
+
* @returns unknown parent flow details
|
|
1457
|
+
* @throws ApiError
|
|
1458
|
+
*/
|
|
1459
|
+
static getSuspendedJobFlow(data: $OpenApiTs['/w/{workspace}/jobs_u/get_flow/{id}/{resume_id}/{signature}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/jobs_u/get_flow/{id}/{resume_id}/{signature}']['get']['res'][200]>;
|
|
1460
|
+
}
|
|
1461
|
+
export declare class RawAppService {
|
|
1462
|
+
/**
|
|
1463
|
+
* list all raw apps
|
|
1464
|
+
* @returns ListableRawApp All raw apps
|
|
1465
|
+
* @throws ApiError
|
|
1466
|
+
*/
|
|
1467
|
+
static listRawApps(data: $OpenApiTs['/w/{workspace}/raw_apps/list']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/raw_apps/list']['get']['res'][200]>;
|
|
1468
|
+
/**
|
|
1469
|
+
* does an app exisst at path
|
|
1470
|
+
* @returns boolean app exists
|
|
1471
|
+
* @throws ApiError
|
|
1472
|
+
*/
|
|
1473
|
+
static existsRawApp(data: $OpenApiTs['/w/{workspace}/raw_apps/exists/{path}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/raw_apps/exists/{path}']['get']['res'][200]>;
|
|
1474
|
+
/**
|
|
1475
|
+
* get app by path
|
|
1476
|
+
* @returns string app details
|
|
1477
|
+
* @throws ApiError
|
|
1478
|
+
*/
|
|
1479
|
+
static getRawAppData(data: $OpenApiTs['/w/{workspace}/apps/get_data/{version}/{path}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/apps/get_data/{version}/{path}']['get']['res'][200]>;
|
|
1480
|
+
/**
|
|
1481
|
+
* create raw app
|
|
1482
|
+
* @returns string raw app created
|
|
1483
|
+
* @throws ApiError
|
|
1484
|
+
*/
|
|
1485
|
+
static createRawApp(data: $OpenApiTs['/w/{workspace}/raw_apps/create']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/raw_apps/create']['post']['res'][201]>;
|
|
1486
|
+
/**
|
|
1487
|
+
* update app
|
|
1488
|
+
* @returns string app updated
|
|
1489
|
+
* @throws ApiError
|
|
1490
|
+
*/
|
|
1491
|
+
static updateRawApp(data: $OpenApiTs['/w/{workspace}/raw_apps/update/{path}']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/raw_apps/update/{path}']['post']['res'][200]>;
|
|
1492
|
+
/**
|
|
1493
|
+
* delete raw app
|
|
1494
|
+
* @returns string app deleted
|
|
1495
|
+
* @throws ApiError
|
|
1496
|
+
*/
|
|
1497
|
+
static deleteRawApp(data: $OpenApiTs['/w/{workspace}/raw_apps/delete/{path}']['delete']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/raw_apps/delete/{path}']['delete']['res'][200]>;
|
|
1498
|
+
}
|
|
1499
|
+
export declare class ScheduleService {
|
|
1500
|
+
/**
|
|
1501
|
+
* preview schedule
|
|
1502
|
+
* @returns string List of 5 estimated upcoming execution events (in UTC)
|
|
1503
|
+
* @throws ApiError
|
|
1504
|
+
*/
|
|
1505
|
+
static previewSchedule(data: $OpenApiTs['/schedules/preview']['post']['req']): CancelablePromise<$OpenApiTs['/schedules/preview']['post']['res'][200]>;
|
|
1506
|
+
/**
|
|
1507
|
+
* create schedule
|
|
1508
|
+
* @returns string schedule created
|
|
1509
|
+
* @throws ApiError
|
|
1510
|
+
*/
|
|
1511
|
+
static createSchedule(data: $OpenApiTs['/w/{workspace}/schedules/create']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/schedules/create']['post']['res'][201]>;
|
|
1512
|
+
/**
|
|
1513
|
+
* update schedule
|
|
1514
|
+
* @returns string schedule updated
|
|
1515
|
+
* @throws ApiError
|
|
1516
|
+
*/
|
|
1517
|
+
static updateSchedule(data: $OpenApiTs['/w/{workspace}/schedules/update/{path}']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/schedules/update/{path}']['post']['res'][200]>;
|
|
1518
|
+
/**
|
|
1519
|
+
* set enabled schedule
|
|
1520
|
+
* @returns string schedule enabled set
|
|
1521
|
+
* @throws ApiError
|
|
1522
|
+
*/
|
|
1523
|
+
static setScheduleEnabled(data: $OpenApiTs['/w/{workspace}/schedules/setenabled/{path}']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/schedules/setenabled/{path}']['post']['res'][200]>;
|
|
1524
|
+
/**
|
|
1525
|
+
* delete schedule
|
|
1526
|
+
* @returns string schedule deleted
|
|
1527
|
+
* @throws ApiError
|
|
1528
|
+
*/
|
|
1529
|
+
static deleteSchedule(data: $OpenApiTs['/w/{workspace}/schedules/delete/{path}']['delete']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/schedules/delete/{path}']['delete']['res'][200]>;
|
|
1530
|
+
/**
|
|
1531
|
+
* get schedule
|
|
1532
|
+
* @returns Schedule schedule deleted
|
|
1533
|
+
* @throws ApiError
|
|
1534
|
+
*/
|
|
1535
|
+
static getSchedule(data: $OpenApiTs['/w/{workspace}/schedules/get/{path}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/schedules/get/{path}']['get']['res'][200]>;
|
|
1536
|
+
/**
|
|
1537
|
+
* does schedule exists
|
|
1538
|
+
* @returns boolean schedule exists
|
|
1539
|
+
* @throws ApiError
|
|
1540
|
+
*/
|
|
1541
|
+
static existsSchedule(data: $OpenApiTs['/w/{workspace}/schedules/exists/{path}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/schedules/exists/{path}']['get']['res'][200]>;
|
|
1542
|
+
/**
|
|
1543
|
+
* list schedules
|
|
1544
|
+
* @returns Schedule schedule list
|
|
1545
|
+
* @throws ApiError
|
|
1546
|
+
*/
|
|
1547
|
+
static listSchedules(data: $OpenApiTs['/w/{workspace}/schedules/list']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/schedules/list']['get']['res'][200]>;
|
|
1548
|
+
/**
|
|
1549
|
+
* list schedules with last 20 jobs
|
|
1550
|
+
* @returns ScheduleWJobs schedule list
|
|
1551
|
+
* @throws ApiError
|
|
1552
|
+
*/
|
|
1553
|
+
static listSchedulesWithJobs(data: $OpenApiTs['/w/{workspace}/schedules/list_with_jobs']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/schedules/list_with_jobs']['get']['res'][200]>;
|
|
1554
|
+
/**
|
|
1555
|
+
* Set default error or recoevery handler
|
|
1556
|
+
* @returns unknown default error handler set
|
|
1557
|
+
* @throws ApiError
|
|
1558
|
+
*/
|
|
1559
|
+
static setDefaultErrorOrRecoveryHandler(data: $OpenApiTs['/w/{workspace}/schedules/setdefaulthandler']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/schedules/setdefaulthandler']['post']['res'][201]>;
|
|
1560
|
+
}
|
|
1561
|
+
export declare class GroupService {
|
|
1562
|
+
/**
|
|
1563
|
+
* list instance groups
|
|
1564
|
+
* @returns InstanceGroup instance group list
|
|
1565
|
+
* @throws ApiError
|
|
1566
|
+
*/
|
|
1567
|
+
static listInstanceGroups(): CancelablePromise<$OpenApiTs['/groups/list']['get']['res'][200]>;
|
|
1568
|
+
/**
|
|
1569
|
+
* get instance group
|
|
1570
|
+
* @returns InstanceGroup instance group
|
|
1571
|
+
* @throws ApiError
|
|
1572
|
+
*/
|
|
1573
|
+
static getInstanceGroup(data: $OpenApiTs['/groups/get/{name}']['get']['req']): CancelablePromise<$OpenApiTs['/groups/get/{name}']['get']['res'][200]>;
|
|
1574
|
+
/**
|
|
1575
|
+
* create instance group
|
|
1576
|
+
* @returns string instance group created
|
|
1577
|
+
* @throws ApiError
|
|
1578
|
+
*/
|
|
1579
|
+
static createInstanceGroup(data: $OpenApiTs['/groups/create']['post']['req']): CancelablePromise<$OpenApiTs['/groups/create']['post']['res'][200]>;
|
|
1580
|
+
/**
|
|
1581
|
+
* update instance group
|
|
1582
|
+
* @returns string instance group updated
|
|
1583
|
+
* @throws ApiError
|
|
1584
|
+
*/
|
|
1585
|
+
static updateInstanceGroup(data: $OpenApiTs['/groups/update/{name}']['post']['req']): CancelablePromise<$OpenApiTs['/groups/update/{name}']['post']['res'][200]>;
|
|
1586
|
+
/**
|
|
1587
|
+
* delete instance group
|
|
1588
|
+
* @returns string instance group deleted
|
|
1589
|
+
* @throws ApiError
|
|
1590
|
+
*/
|
|
1591
|
+
static deleteInstanceGroup(data: $OpenApiTs['/groups/delete/{name}']['delete']['req']): CancelablePromise<$OpenApiTs['/groups/delete/{name}']['delete']['res'][200]>;
|
|
1592
|
+
/**
|
|
1593
|
+
* add user to instance group
|
|
1594
|
+
* @returns string user added to instance group
|
|
1595
|
+
* @throws ApiError
|
|
1596
|
+
*/
|
|
1597
|
+
static addUserToInstanceGroup(data: $OpenApiTs['/groups/adduser/{name}']['post']['req']): CancelablePromise<$OpenApiTs['/groups/adduser/{name}']['post']['res'][200]>;
|
|
1598
|
+
/**
|
|
1599
|
+
* remove user from instance group
|
|
1600
|
+
* @returns string user removed from instance group
|
|
1601
|
+
* @throws ApiError
|
|
1602
|
+
*/
|
|
1603
|
+
static removeUserFromInstanceGroup(data: $OpenApiTs['/groups/removeuser/{name}']['post']['req']): CancelablePromise<$OpenApiTs['/groups/removeuser/{name}']['post']['res'][200]>;
|
|
1604
|
+
/**
|
|
1605
|
+
* list groups
|
|
1606
|
+
* @returns Group group list
|
|
1607
|
+
* @throws ApiError
|
|
1608
|
+
*/
|
|
1609
|
+
static listGroups(data: $OpenApiTs['/w/{workspace}/groups/list']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/groups/list']['get']['res'][200]>;
|
|
1610
|
+
/**
|
|
1611
|
+
* list group names
|
|
1612
|
+
* @returns string group list
|
|
1613
|
+
* @throws ApiError
|
|
1614
|
+
*/
|
|
1615
|
+
static listGroupNames(data: $OpenApiTs['/w/{workspace}/groups/listnames']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/groups/listnames']['get']['res'][200]>;
|
|
1616
|
+
/**
|
|
1617
|
+
* create group
|
|
1618
|
+
* @returns string group created
|
|
1619
|
+
* @throws ApiError
|
|
1620
|
+
*/
|
|
1621
|
+
static createGroup(data: $OpenApiTs['/w/{workspace}/groups/create']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/groups/create']['post']['res'][200]>;
|
|
1622
|
+
/**
|
|
1623
|
+
* update group
|
|
1624
|
+
* @returns string group updated
|
|
1625
|
+
* @throws ApiError
|
|
1626
|
+
*/
|
|
1627
|
+
static updateGroup(data: $OpenApiTs['/w/{workspace}/groups/update/{name}']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/groups/update/{name}']['post']['res'][200]>;
|
|
1628
|
+
/**
|
|
1629
|
+
* delete group
|
|
1630
|
+
* @returns string group deleted
|
|
1631
|
+
* @throws ApiError
|
|
1632
|
+
*/
|
|
1633
|
+
static deleteGroup(data: $OpenApiTs['/w/{workspace}/groups/delete/{name}']['delete']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/groups/delete/{name}']['delete']['res'][200]>;
|
|
1634
|
+
/**
|
|
1635
|
+
* get group
|
|
1636
|
+
* @returns Group group
|
|
1637
|
+
* @throws ApiError
|
|
1638
|
+
*/
|
|
1639
|
+
static getGroup(data: $OpenApiTs['/w/{workspace}/groups/get/{name}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/groups/get/{name}']['get']['res'][200]>;
|
|
1640
|
+
/**
|
|
1641
|
+
* add user to group
|
|
1642
|
+
* @returns string user added to group
|
|
1643
|
+
* @throws ApiError
|
|
1644
|
+
*/
|
|
1645
|
+
static addUserToGroup(data: $OpenApiTs['/w/{workspace}/groups/adduser/{name}']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/groups/adduser/{name}']['post']['res'][200]>;
|
|
1646
|
+
/**
|
|
1647
|
+
* remove user to group
|
|
1648
|
+
* @returns string user removed from group
|
|
1649
|
+
* @throws ApiError
|
|
1650
|
+
*/
|
|
1651
|
+
static removeUserToGroup(data: $OpenApiTs['/w/{workspace}/groups/removeuser/{name}']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/groups/removeuser/{name}']['post']['res'][200]>;
|
|
1652
|
+
}
|
|
1653
|
+
export declare class FolderService {
|
|
1654
|
+
/**
|
|
1655
|
+
* list folders
|
|
1656
|
+
* @returns Folder folder list
|
|
1657
|
+
* @throws ApiError
|
|
1658
|
+
*/
|
|
1659
|
+
static listFolders(data: $OpenApiTs['/w/{workspace}/folders/list']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/folders/list']['get']['res'][200]>;
|
|
1660
|
+
/**
|
|
1661
|
+
* list folder names
|
|
1662
|
+
* @returns string folder list
|
|
1663
|
+
* @throws ApiError
|
|
1664
|
+
*/
|
|
1665
|
+
static listFolderNames(data: $OpenApiTs['/w/{workspace}/folders/listnames']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/folders/listnames']['get']['res'][200]>;
|
|
1666
|
+
/**
|
|
1667
|
+
* create folder
|
|
1668
|
+
* @returns string folder created
|
|
1669
|
+
* @throws ApiError
|
|
1670
|
+
*/
|
|
1671
|
+
static createFolder(data: $OpenApiTs['/w/{workspace}/folders/create']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/folders/create']['post']['res'][200]>;
|
|
1672
|
+
/**
|
|
1673
|
+
* update folder
|
|
1674
|
+
* @returns string folder updated
|
|
1675
|
+
* @throws ApiError
|
|
1676
|
+
*/
|
|
1677
|
+
static updateFolder(data: $OpenApiTs['/w/{workspace}/folders/update/{name}']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/folders/update/{name}']['post']['res'][200]>;
|
|
1678
|
+
/**
|
|
1679
|
+
* delete folder
|
|
1680
|
+
* @returns string folder deleted
|
|
1681
|
+
* @throws ApiError
|
|
1682
|
+
*/
|
|
1683
|
+
static deleteFolder(data: $OpenApiTs['/w/{workspace}/folders/delete/{name}']['delete']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/folders/delete/{name}']['delete']['res'][200]>;
|
|
1684
|
+
/**
|
|
1685
|
+
* get folder
|
|
1686
|
+
* @returns Folder folder
|
|
1687
|
+
* @throws ApiError
|
|
1688
|
+
*/
|
|
1689
|
+
static getFolder(data: $OpenApiTs['/w/{workspace}/folders/get/{name}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/folders/get/{name}']['get']['res'][200]>;
|
|
1690
|
+
/**
|
|
1691
|
+
* get folder usage
|
|
1692
|
+
* @returns unknown folder
|
|
1693
|
+
* @throws ApiError
|
|
1694
|
+
*/
|
|
1695
|
+
static getFolderUsage(data: $OpenApiTs['/w/{workspace}/folders/getusage/{name}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/folders/getusage/{name}']['get']['res'][200]>;
|
|
1696
|
+
/**
|
|
1697
|
+
* add owner to folder
|
|
1698
|
+
* @returns string owner added to folder
|
|
1699
|
+
* @throws ApiError
|
|
1700
|
+
*/
|
|
1701
|
+
static addOwnerToFolder(data: $OpenApiTs['/w/{workspace}/folders/addowner/{name}']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/folders/addowner/{name}']['post']['res'][200]>;
|
|
1702
|
+
/**
|
|
1703
|
+
* remove owner to folder
|
|
1704
|
+
* @returns string owner removed from folder
|
|
1705
|
+
* @throws ApiError
|
|
1706
|
+
*/
|
|
1707
|
+
static removeOwnerToFolder(data: $OpenApiTs['/w/{workspace}/folders/removeowner/{name}']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/folders/removeowner/{name}']['post']['res'][200]>;
|
|
1708
|
+
}
|
|
1709
|
+
export declare class ConfigService {
|
|
1710
|
+
/**
|
|
1711
|
+
* list worker groups
|
|
1712
|
+
* @returns unknown a list of worker group configs
|
|
1713
|
+
* @throws ApiError
|
|
1714
|
+
*/
|
|
1715
|
+
static listWorkerGroups(): CancelablePromise<$OpenApiTs['/configs/list_worker_groups']['get']['res'][200]>;
|
|
1716
|
+
/**
|
|
1717
|
+
* get config
|
|
1718
|
+
* @returns unknown a config
|
|
1719
|
+
* @throws ApiError
|
|
1720
|
+
*/
|
|
1721
|
+
static getConfig(data: $OpenApiTs['/configs/get/{name}']['get']['req']): CancelablePromise<$OpenApiTs['/configs/get/{name}']['get']['res'][200]>;
|
|
1722
|
+
/**
|
|
1723
|
+
* Update config
|
|
1724
|
+
* @returns string Update a worker group
|
|
1725
|
+
* @throws ApiError
|
|
1726
|
+
*/
|
|
1727
|
+
static updateConfig(data: $OpenApiTs['/configs/update/{name}']['post']['req']): CancelablePromise<$OpenApiTs['/configs/update/{name}']['post']['res'][200]>;
|
|
1728
|
+
/**
|
|
1729
|
+
* Delete Config
|
|
1730
|
+
* @returns string Delete config
|
|
1731
|
+
* @throws ApiError
|
|
1732
|
+
*/
|
|
1733
|
+
static deleteConfig(data: $OpenApiTs['/configs/update/{name}']['delete']['req']): CancelablePromise<$OpenApiTs['/configs/update/{name}']['delete']['res'][200]>;
|
|
1734
|
+
}
|
|
1735
|
+
export declare class GranularAclService {
|
|
1736
|
+
/**
|
|
1737
|
+
* get granular acls
|
|
1738
|
+
* @returns boolean acls
|
|
1739
|
+
* @throws ApiError
|
|
1740
|
+
*/
|
|
1741
|
+
static getGranularAcls(data: $OpenApiTs['/w/{workspace}/acls/get/{kind}/{path}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/acls/get/{kind}/{path}']['get']['res'][200]>;
|
|
1742
|
+
/**
|
|
1743
|
+
* add granular acls
|
|
1744
|
+
* @returns string granular acl added
|
|
1745
|
+
* @throws ApiError
|
|
1746
|
+
*/
|
|
1747
|
+
static addGranularAcls(data: $OpenApiTs['/w/{workspace}/acls/add/{kind}/{path}']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/acls/add/{kind}/{path}']['post']['res'][200]>;
|
|
1748
|
+
/**
|
|
1749
|
+
* remove granular acls
|
|
1750
|
+
* @returns string granular acl removed
|
|
1751
|
+
* @throws ApiError
|
|
1752
|
+
*/
|
|
1753
|
+
static removeGranularAcls(data: $OpenApiTs['/w/{workspace}/acls/remove/{kind}/{path}']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/acls/remove/{kind}/{path}']['post']['res'][200]>;
|
|
1754
|
+
}
|
|
1755
|
+
export declare class CaptureService {
|
|
1756
|
+
/**
|
|
1757
|
+
* update flow preview capture
|
|
1758
|
+
* @returns void flow preview captured
|
|
1759
|
+
* @throws ApiError
|
|
1760
|
+
*/
|
|
1761
|
+
static updateCapture(data: $OpenApiTs['/w/{workspace}/capture_u/{path}']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/capture_u/{path}']['post']['res'][204]>;
|
|
1762
|
+
/**
|
|
1763
|
+
* create flow preview capture
|
|
1764
|
+
* @returns unknown flow preview capture created
|
|
1765
|
+
* @throws ApiError
|
|
1766
|
+
*/
|
|
1767
|
+
static createCapture(data: $OpenApiTs['/w/{workspace}/capture/{path}']['put']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/capture/{path}']['put']['res'][201]>;
|
|
1768
|
+
/**
|
|
1769
|
+
* get flow preview capture
|
|
1770
|
+
* @returns unknown captured flow preview
|
|
1771
|
+
* @throws ApiError
|
|
1772
|
+
*/
|
|
1773
|
+
static getCapture(data: $OpenApiTs['/w/{workspace}/capture/{path}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/capture/{path}']['get']['res'][200]>;
|
|
1774
|
+
}
|
|
1775
|
+
export declare class FavoriteService {
|
|
1776
|
+
/**
|
|
1777
|
+
* star item
|
|
1778
|
+
* @returns unknown star item
|
|
1779
|
+
* @throws ApiError
|
|
1780
|
+
*/
|
|
1781
|
+
static star(data: $OpenApiTs['/w/{workspace}/favorites/star']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/favorites/star']['post']['res'][200]>;
|
|
1782
|
+
/**
|
|
1783
|
+
* unstar item
|
|
1784
|
+
* @returns unknown unstar item
|
|
1785
|
+
* @throws ApiError
|
|
1786
|
+
*/
|
|
1787
|
+
static unstar(data: $OpenApiTs['/w/{workspace}/favorites/unstar']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/favorites/unstar']['post']['res'][200]>;
|
|
1788
|
+
}
|
|
1789
|
+
export declare class InputService {
|
|
1790
|
+
/**
|
|
1791
|
+
* List Inputs used in previously completed jobs
|
|
1792
|
+
* @returns Input Input history for completed jobs
|
|
1793
|
+
* @throws ApiError
|
|
1794
|
+
*/
|
|
1795
|
+
static getInputHistory(data: $OpenApiTs['/w/{workspace}/inputs/history']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/inputs/history']['get']['res'][200]>;
|
|
1796
|
+
/**
|
|
1797
|
+
* List saved Inputs for a Runnable
|
|
1798
|
+
* @returns Input Saved Inputs for a Runnable
|
|
1799
|
+
* @throws ApiError
|
|
1800
|
+
*/
|
|
1801
|
+
static listInputs(data: $OpenApiTs['/w/{workspace}/inputs/list']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/inputs/list']['get']['res'][200]>;
|
|
1802
|
+
/**
|
|
1803
|
+
* Create an Input for future use in a script or flow
|
|
1804
|
+
* @returns string Input created
|
|
1805
|
+
* @throws ApiError
|
|
1806
|
+
*/
|
|
1807
|
+
static createInput(data: $OpenApiTs['/w/{workspace}/inputs/create']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/inputs/create']['post']['res'][201]>;
|
|
1808
|
+
/**
|
|
1809
|
+
* Update an Input
|
|
1810
|
+
* @returns string Input updated
|
|
1811
|
+
* @throws ApiError
|
|
1812
|
+
*/
|
|
1813
|
+
static updateInput(data: $OpenApiTs['/w/{workspace}/inputs/update']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/inputs/update']['post']['res'][201]>;
|
|
1814
|
+
/**
|
|
1815
|
+
* Delete a Saved Input
|
|
1816
|
+
* @returns string Input deleted
|
|
1817
|
+
* @throws ApiError
|
|
1818
|
+
*/
|
|
1819
|
+
static deleteInput(data: $OpenApiTs['/w/{workspace}/inputs/delete/{input}']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/inputs/delete/{input}']['post']['res'][200]>;
|
|
1820
|
+
}
|
|
1821
|
+
export declare class HelpersService {
|
|
1822
|
+
/**
|
|
1823
|
+
* Converts an S3 resource to the set of instructions necessary to connect DuckDB to an S3 bucket
|
|
1824
|
+
* @returns unknown Connection settings
|
|
1825
|
+
* @throws ApiError
|
|
1826
|
+
*/
|
|
1827
|
+
static duckdbConnectionSettings(data: $OpenApiTs['/w/{workspace}/job_helpers/duckdb_connection_settings']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/job_helpers/duckdb_connection_settings']['post']['res'][200]>;
|
|
1828
|
+
/**
|
|
1829
|
+
* Converts an S3 resource to the set of instructions necessary to connect DuckDB to an S3 bucket
|
|
1830
|
+
* @returns unknown Connection settings
|
|
1831
|
+
* @throws ApiError
|
|
1832
|
+
*/
|
|
1833
|
+
static duckdbConnectionSettingsV2(data: $OpenApiTs['/w/{workspace}/job_helpers/v2/duckdb_connection_settings']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/job_helpers/v2/duckdb_connection_settings']['post']['res'][200]>;
|
|
1834
|
+
/**
|
|
1835
|
+
* Converts an S3 resource to the set of arguments necessary to connect Polars to an S3 bucket
|
|
1836
|
+
* @returns unknown Connection settings
|
|
1837
|
+
* @throws ApiError
|
|
1838
|
+
*/
|
|
1839
|
+
static polarsConnectionSettings(data: $OpenApiTs['/w/{workspace}/job_helpers/polars_connection_settings']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/job_helpers/polars_connection_settings']['post']['res'][200]>;
|
|
1840
|
+
/**
|
|
1841
|
+
* Converts an S3 resource to the set of arguments necessary to connect Polars to an S3 bucket
|
|
1842
|
+
* @returns unknown Connection settings
|
|
1843
|
+
* @throws ApiError
|
|
1844
|
+
*/
|
|
1845
|
+
static polarsConnectionSettingsV2(data: $OpenApiTs['/w/{workspace}/job_helpers/v2/polars_connection_settings']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/job_helpers/v2/polars_connection_settings']['post']['res'][200]>;
|
|
1846
|
+
/**
|
|
1847
|
+
* Returns the s3 resource associated to the provided path, or the workspace default S3 resource
|
|
1848
|
+
* @returns S3Resource Connection settings
|
|
1849
|
+
* @throws ApiError
|
|
1850
|
+
*/
|
|
1851
|
+
static s3ResourceInfo(data: $OpenApiTs['/w/{workspace}/job_helpers/v2/s3_resource_info']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/job_helpers/v2/s3_resource_info']['post']['res'][200]>;
|
|
1852
|
+
/**
|
|
1853
|
+
* Test connection to the workspace datasets storage
|
|
1854
|
+
* @returns unknown Connection settings
|
|
1855
|
+
* @throws ApiError
|
|
1856
|
+
*/
|
|
1857
|
+
static datasetStorageTestConnection(data: $OpenApiTs['/w/{workspace}/job_helpers/test_connection']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/job_helpers/test_connection']['get']['res'][200]>;
|
|
1858
|
+
/**
|
|
1859
|
+
* List the file keys available in the workspace files storage (S3)
|
|
1860
|
+
* @returns unknown List of file keys
|
|
1861
|
+
* @throws ApiError
|
|
1862
|
+
*/
|
|
1863
|
+
static listStoredFiles(data: $OpenApiTs['/w/{workspace}/job_helpers/list_stored_files']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/job_helpers/list_stored_files']['get']['res'][200]>;
|
|
1864
|
+
/**
|
|
1865
|
+
* Load metadata of the file
|
|
1866
|
+
* @returns WindmillFileMetadata FileMetadata
|
|
1867
|
+
* @throws ApiError
|
|
1868
|
+
*/
|
|
1869
|
+
static loadFileMetadata(data: $OpenApiTs['/w/{workspace}/job_helpers/load_file_metadata']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/job_helpers/load_file_metadata']['get']['res'][200]>;
|
|
1870
|
+
/**
|
|
1871
|
+
* Load a preview of the file
|
|
1872
|
+
* @returns WindmillFilePreview FilePreview
|
|
1873
|
+
* @throws ApiError
|
|
1874
|
+
*/
|
|
1875
|
+
static loadFilePreview(data: $OpenApiTs['/w/{workspace}/job_helpers/load_file_preview']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/job_helpers/load_file_preview']['get']['res'][200]>;
|
|
1876
|
+
/**
|
|
1877
|
+
* Load a preview of a parquet file
|
|
1878
|
+
* @returns unknown Parquet Preview
|
|
1879
|
+
* @throws ApiError
|
|
1880
|
+
*/
|
|
1881
|
+
static loadParquetPreview(data: $OpenApiTs['/w/{workspace}/job_helpers/load_parquet_preview/{path}']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/job_helpers/load_parquet_preview/{path}']['get']['res'][200]>;
|
|
1882
|
+
/**
|
|
1883
|
+
* Permanently delete file from S3
|
|
1884
|
+
* @returns unknown Confirmation
|
|
1885
|
+
* @throws ApiError
|
|
1886
|
+
*/
|
|
1887
|
+
static deleteS3File(data: $OpenApiTs['/w/{workspace}/job_helpers/delete_s3_file']['delete']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/job_helpers/delete_s3_file']['delete']['res'][200]>;
|
|
1888
|
+
/**
|
|
1889
|
+
* Move a S3 file from one path to the other within the same bucket
|
|
1890
|
+
* @returns unknown Confirmation
|
|
1891
|
+
* @throws ApiError
|
|
1892
|
+
*/
|
|
1893
|
+
static moveS3File(data: $OpenApiTs['/w/{workspace}/job_helpers/move_s3_file']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/job_helpers/move_s3_file']['get']['res'][200]>;
|
|
1894
|
+
/**
|
|
1895
|
+
* Upload file to S3 bucket
|
|
1896
|
+
* @returns unknown File upload status
|
|
1897
|
+
* @throws ApiError
|
|
1898
|
+
*/
|
|
1899
|
+
static fileUpload(data: $OpenApiTs['/w/{workspace}/job_helpers/upload_s3_file']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/job_helpers/upload_s3_file']['post']['res'][200]>;
|
|
1900
|
+
/**
|
|
1901
|
+
* Download file to S3 bucket
|
|
1902
|
+
* @returns binary Chunk of the downloaded file
|
|
1903
|
+
* @throws ApiError
|
|
1904
|
+
*/
|
|
1905
|
+
static fileDownload(data: $OpenApiTs['/w/{workspace}/job_helpers/download_s3_file']['get']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/job_helpers/download_s3_file']['get']['res'][200]>;
|
|
1906
|
+
}
|
|
1907
|
+
export declare class MetricsService {
|
|
1908
|
+
/**
|
|
1909
|
+
* get job metrics
|
|
1910
|
+
* @returns unknown job details
|
|
1911
|
+
* @throws ApiError
|
|
1912
|
+
*/
|
|
1913
|
+
static getJobMetrics(data: $OpenApiTs['/w/{workspace}/job_metrics/get/{id}']['post']['req']): CancelablePromise<$OpenApiTs['/w/{workspace}/job_metrics/get/{id}']['post']['res'][200]>;
|
|
1914
|
+
}
|
|
1915
|
+
export declare class ConcurrencyGroupsService {
|
|
1916
|
+
/**
|
|
1917
|
+
* List all concurrency groups
|
|
1918
|
+
* @returns ConcurrencyGroup all concurrency groups
|
|
1919
|
+
* @throws ApiError
|
|
1920
|
+
*/
|
|
1921
|
+
static listConcurrencyGroups(): CancelablePromise<$OpenApiTs['/concurrency_groups/list']['get']['res'][200]>;
|
|
1922
|
+
/**
|
|
1923
|
+
* Delete concurrency group
|
|
1924
|
+
* @returns unknown concurrency group removed
|
|
1925
|
+
* @throws ApiError
|
|
1926
|
+
*/
|
|
1927
|
+
static deleteConcurrencyGroup(data: $OpenApiTs['/concurrency_groups/{concurrency_id}']['delete']['req']): CancelablePromise<$OpenApiTs['/concurrency_groups/{concurrency_id}']['delete']['res'][200]>;
|
|
1928
|
+
}
|