windmill-components 1.306.13 → 1.309.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +5 -5
- package/package/components/FlowBuilder.svelte.d.ts +0 -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/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
|
@@ -6,14 +6,14 @@ export class CaptureService {
|
|
|
6
6
|
* @returns void
|
|
7
7
|
* @throws ApiError
|
|
8
8
|
*/
|
|
9
|
-
static updateCapture({ workspace, path
|
|
9
|
+
static updateCapture({ workspace, path }) {
|
|
10
10
|
return __request(OpenAPI, {
|
|
11
11
|
method: 'POST',
|
|
12
12
|
url: '/w/{workspace}/capture_u/{path}',
|
|
13
13
|
path: {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
14
|
+
workspace: workspace,
|
|
15
|
+
path: path
|
|
16
|
+
}
|
|
17
17
|
});
|
|
18
18
|
}
|
|
19
19
|
/**
|
|
@@ -21,14 +21,14 @@ export class CaptureService {
|
|
|
21
21
|
* @returns any flow preview capture created
|
|
22
22
|
* @throws ApiError
|
|
23
23
|
*/
|
|
24
|
-
static createCapture({ workspace, path
|
|
24
|
+
static createCapture({ workspace, path }) {
|
|
25
25
|
return __request(OpenAPI, {
|
|
26
26
|
method: 'PUT',
|
|
27
27
|
url: '/w/{workspace}/capture/{path}',
|
|
28
28
|
path: {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}
|
|
29
|
+
workspace: workspace,
|
|
30
|
+
path: path
|
|
31
|
+
}
|
|
32
32
|
});
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
@@ -36,17 +36,17 @@ export class CaptureService {
|
|
|
36
36
|
* @returns any captured flow preview
|
|
37
37
|
* @throws ApiError
|
|
38
38
|
*/
|
|
39
|
-
static getCapture({ workspace, path
|
|
39
|
+
static getCapture({ workspace, path }) {
|
|
40
40
|
return __request(OpenAPI, {
|
|
41
41
|
method: 'GET',
|
|
42
42
|
url: '/w/{workspace}/capture/{path}',
|
|
43
43
|
path: {
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
workspace: workspace,
|
|
45
|
+
path: path
|
|
46
46
|
},
|
|
47
47
|
errors: {
|
|
48
|
-
404: `capture does not exist for this flow
|
|
49
|
-
}
|
|
48
|
+
404: `capture does not exist for this flow`
|
|
49
|
+
}
|
|
50
50
|
});
|
|
51
51
|
}
|
|
52
52
|
}
|
|
@@ -12,7 +12,7 @@ export declare class ConcurrencyGroupsService {
|
|
|
12
12
|
* @returns any concurrency group removed
|
|
13
13
|
* @throws ApiError
|
|
14
14
|
*/
|
|
15
|
-
static deleteConcurrencyGroup({ concurrencyId
|
|
15
|
+
static deleteConcurrencyGroup({ concurrencyId }: {
|
|
16
16
|
concurrencyId: string;
|
|
17
17
|
}): CancelablePromise<any>;
|
|
18
18
|
}
|
|
@@ -9,7 +9,7 @@ export class ConcurrencyGroupsService {
|
|
|
9
9
|
static listConcurrencyGroups() {
|
|
10
10
|
return __request(OpenAPI, {
|
|
11
11
|
method: 'GET',
|
|
12
|
-
url: '/concurrency_groups/list'
|
|
12
|
+
url: '/concurrency_groups/list'
|
|
13
13
|
});
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
@@ -17,13 +17,13 @@ export class ConcurrencyGroupsService {
|
|
|
17
17
|
* @returns any concurrency group removed
|
|
18
18
|
* @throws ApiError
|
|
19
19
|
*/
|
|
20
|
-
static deleteConcurrencyGroup({ concurrencyId
|
|
20
|
+
static deleteConcurrencyGroup({ concurrencyId }) {
|
|
21
21
|
return __request(OpenAPI, {
|
|
22
22
|
method: 'DELETE',
|
|
23
23
|
url: '/concurrency_groups/{concurrency_id}',
|
|
24
24
|
path: {
|
|
25
|
-
|
|
26
|
-
}
|
|
25
|
+
concurrency_id: concurrencyId
|
|
26
|
+
}
|
|
27
27
|
});
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -14,7 +14,7 @@ export declare class ConfigService {
|
|
|
14
14
|
* @returns any a config
|
|
15
15
|
* @throws ApiError
|
|
16
16
|
*/
|
|
17
|
-
static getConfig({ name
|
|
17
|
+
static getConfig({ name }: {
|
|
18
18
|
name: string;
|
|
19
19
|
}): CancelablePromise<any>;
|
|
20
20
|
/**
|
|
@@ -22,7 +22,7 @@ export declare class ConfigService {
|
|
|
22
22
|
* @returns string Update a worker group
|
|
23
23
|
* @throws ApiError
|
|
24
24
|
*/
|
|
25
|
-
static updateConfig({ name, requestBody
|
|
25
|
+
static updateConfig({ name, requestBody }: {
|
|
26
26
|
name: string;
|
|
27
27
|
/**
|
|
28
28
|
* worker group
|
|
@@ -34,7 +34,7 @@ export declare class ConfigService {
|
|
|
34
34
|
* @returns string Delete config
|
|
35
35
|
* @throws ApiError
|
|
36
36
|
*/
|
|
37
|
-
static deleteConfig({ name
|
|
37
|
+
static deleteConfig({ name }: {
|
|
38
38
|
name: string;
|
|
39
39
|
}): CancelablePromise<string>;
|
|
40
40
|
}
|
|
@@ -9,7 +9,7 @@ export class ConfigService {
|
|
|
9
9
|
static listWorkerGroups() {
|
|
10
10
|
return __request(OpenAPI, {
|
|
11
11
|
method: 'GET',
|
|
12
|
-
url: '/configs/list_worker_groups'
|
|
12
|
+
url: '/configs/list_worker_groups'
|
|
13
13
|
});
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
@@ -17,13 +17,13 @@ export class ConfigService {
|
|
|
17
17
|
* @returns any a config
|
|
18
18
|
* @throws ApiError
|
|
19
19
|
*/
|
|
20
|
-
static getConfig({ name
|
|
20
|
+
static getConfig({ name }) {
|
|
21
21
|
return __request(OpenAPI, {
|
|
22
22
|
method: 'GET',
|
|
23
23
|
url: '/configs/get/{name}',
|
|
24
24
|
path: {
|
|
25
|
-
|
|
26
|
-
}
|
|
25
|
+
name: name
|
|
26
|
+
}
|
|
27
27
|
});
|
|
28
28
|
}
|
|
29
29
|
/**
|
|
@@ -31,15 +31,15 @@ export class ConfigService {
|
|
|
31
31
|
* @returns string Update a worker group
|
|
32
32
|
* @throws ApiError
|
|
33
33
|
*/
|
|
34
|
-
static updateConfig({ name, requestBody
|
|
34
|
+
static updateConfig({ name, requestBody }) {
|
|
35
35
|
return __request(OpenAPI, {
|
|
36
36
|
method: 'POST',
|
|
37
37
|
url: '/configs/update/{name}',
|
|
38
38
|
path: {
|
|
39
|
-
|
|
39
|
+
name: name
|
|
40
40
|
},
|
|
41
41
|
body: requestBody,
|
|
42
|
-
mediaType: 'application/json'
|
|
42
|
+
mediaType: 'application/json'
|
|
43
43
|
});
|
|
44
44
|
}
|
|
45
45
|
/**
|
|
@@ -47,13 +47,13 @@ export class ConfigService {
|
|
|
47
47
|
* @returns string Delete config
|
|
48
48
|
* @throws ApiError
|
|
49
49
|
*/
|
|
50
|
-
static deleteConfig({ name
|
|
50
|
+
static deleteConfig({ name }) {
|
|
51
51
|
return __request(OpenAPI, {
|
|
52
52
|
method: 'DELETE',
|
|
53
53
|
url: '/configs/update/{name}',
|
|
54
54
|
path: {
|
|
55
|
-
|
|
56
|
-
}
|
|
55
|
+
name: name
|
|
56
|
+
}
|
|
57
57
|
});
|
|
58
58
|
}
|
|
59
59
|
}
|
|
@@ -5,7 +5,7 @@ export declare class DraftService {
|
|
|
5
5
|
* @returns string draft created
|
|
6
6
|
* @throws ApiError
|
|
7
7
|
*/
|
|
8
|
-
static createDraft({ workspace, requestBody
|
|
8
|
+
static createDraft({ workspace, requestBody }: {
|
|
9
9
|
workspace: string;
|
|
10
10
|
requestBody: {
|
|
11
11
|
path: string;
|
|
@@ -18,7 +18,7 @@ export declare class DraftService {
|
|
|
18
18
|
* @returns string draft deleted
|
|
19
19
|
* @throws ApiError
|
|
20
20
|
*/
|
|
21
|
-
static deleteDraft({ workspace, kind, path
|
|
21
|
+
static deleteDraft({ workspace, kind, path }: {
|
|
22
22
|
workspace: string;
|
|
23
23
|
kind: 'script' | 'flow' | 'app';
|
|
24
24
|
path: string;
|
|
@@ -6,15 +6,15 @@ export class DraftService {
|
|
|
6
6
|
* @returns string draft created
|
|
7
7
|
* @throws ApiError
|
|
8
8
|
*/
|
|
9
|
-
static createDraft({ workspace, requestBody
|
|
9
|
+
static createDraft({ workspace, requestBody }) {
|
|
10
10
|
return __request(OpenAPI, {
|
|
11
11
|
method: 'POST',
|
|
12
12
|
url: '/w/{workspace}/drafts/create',
|
|
13
13
|
path: {
|
|
14
|
-
|
|
14
|
+
workspace: workspace
|
|
15
15
|
},
|
|
16
16
|
body: requestBody,
|
|
17
|
-
mediaType: 'application/json'
|
|
17
|
+
mediaType: 'application/json'
|
|
18
18
|
});
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
@@ -22,15 +22,15 @@ export class DraftService {
|
|
|
22
22
|
* @returns string draft deleted
|
|
23
23
|
* @throws ApiError
|
|
24
24
|
*/
|
|
25
|
-
static deleteDraft({ workspace, kind, path
|
|
25
|
+
static deleteDraft({ workspace, kind, path }) {
|
|
26
26
|
return __request(OpenAPI, {
|
|
27
27
|
method: 'DELETE',
|
|
28
28
|
url: '/w/{workspace}/drafts/delete/{kind}/{path}',
|
|
29
29
|
path: {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
}
|
|
30
|
+
workspace: workspace,
|
|
31
|
+
kind: kind,
|
|
32
|
+
path: path
|
|
33
|
+
}
|
|
34
34
|
});
|
|
35
35
|
}
|
|
36
36
|
}
|
|
@@ -5,7 +5,7 @@ export declare class FavoriteService {
|
|
|
5
5
|
* @returns any star item
|
|
6
6
|
* @throws ApiError
|
|
7
7
|
*/
|
|
8
|
-
static star({ workspace, requestBody
|
|
8
|
+
static star({ workspace, requestBody }: {
|
|
9
9
|
workspace: string;
|
|
10
10
|
requestBody?: {
|
|
11
11
|
path?: string;
|
|
@@ -17,7 +17,7 @@ export declare class FavoriteService {
|
|
|
17
17
|
* @returns any unstar item
|
|
18
18
|
* @throws ApiError
|
|
19
19
|
*/
|
|
20
|
-
static unstar({ workspace, requestBody
|
|
20
|
+
static unstar({ workspace, requestBody }: {
|
|
21
21
|
workspace: string;
|
|
22
22
|
requestBody?: {
|
|
23
23
|
path?: string;
|
|
@@ -6,15 +6,15 @@ export class FavoriteService {
|
|
|
6
6
|
* @returns any star item
|
|
7
7
|
* @throws ApiError
|
|
8
8
|
*/
|
|
9
|
-
static star({ workspace, requestBody
|
|
9
|
+
static star({ workspace, requestBody }) {
|
|
10
10
|
return __request(OpenAPI, {
|
|
11
11
|
method: 'POST',
|
|
12
12
|
url: '/w/{workspace}/favorites/star',
|
|
13
13
|
path: {
|
|
14
|
-
|
|
14
|
+
workspace: workspace
|
|
15
15
|
},
|
|
16
16
|
body: requestBody,
|
|
17
|
-
mediaType: 'application/json'
|
|
17
|
+
mediaType: 'application/json'
|
|
18
18
|
});
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
@@ -22,15 +22,15 @@ export class FavoriteService {
|
|
|
22
22
|
* @returns any unstar item
|
|
23
23
|
* @throws ApiError
|
|
24
24
|
*/
|
|
25
|
-
static unstar({ workspace, requestBody
|
|
25
|
+
static unstar({ workspace, requestBody }) {
|
|
26
26
|
return __request(OpenAPI, {
|
|
27
27
|
method: 'POST',
|
|
28
28
|
url: '/w/{workspace}/favorites/unstar',
|
|
29
29
|
path: {
|
|
30
|
-
|
|
30
|
+
workspace: workspace
|
|
31
31
|
},
|
|
32
32
|
body: requestBody,
|
|
33
|
-
mediaType: 'application/json'
|
|
33
|
+
mediaType: 'application/json'
|
|
34
34
|
});
|
|
35
35
|
}
|
|
36
36
|
}
|
|
@@ -24,7 +24,7 @@ export declare class FlowService {
|
|
|
24
24
|
* @returns any flow
|
|
25
25
|
* @throws ApiError
|
|
26
26
|
*/
|
|
27
|
-
static getHubFlowById({ id
|
|
27
|
+
static getHubFlowById({ id }: {
|
|
28
28
|
id: number;
|
|
29
29
|
}): CancelablePromise<{
|
|
30
30
|
flow?: OpenFlow;
|
|
@@ -34,7 +34,7 @@ export declare class FlowService {
|
|
|
34
34
|
* @returns string list of flow paths
|
|
35
35
|
* @throws ApiError
|
|
36
36
|
*/
|
|
37
|
-
static listFlowPaths({ workspace
|
|
37
|
+
static listFlowPaths({ workspace }: {
|
|
38
38
|
workspace: string;
|
|
39
39
|
}): CancelablePromise<Array<string>>;
|
|
40
40
|
/**
|
|
@@ -42,7 +42,7 @@ export declare class FlowService {
|
|
|
42
42
|
* @returns any flow list
|
|
43
43
|
* @throws ApiError
|
|
44
44
|
*/
|
|
45
|
-
static listSearchFlow({ workspace
|
|
45
|
+
static listSearchFlow({ workspace }: {
|
|
46
46
|
workspace: string;
|
|
47
47
|
}): CancelablePromise<Array<{
|
|
48
48
|
path: string;
|
|
@@ -53,7 +53,7 @@ export declare class FlowService {
|
|
|
53
53
|
* @returns any All flow
|
|
54
54
|
* @throws ApiError
|
|
55
55
|
*/
|
|
56
|
-
static listFlows({ workspace, page, perPage, orderDesc, createdBy, pathStart, pathExact, showArchived, starredOnly
|
|
56
|
+
static listFlows({ workspace, page, perPage, orderDesc, createdBy, pathStart, pathExact, showArchived, starredOnly }: {
|
|
57
57
|
workspace: string;
|
|
58
58
|
/**
|
|
59
59
|
* which page to return (start at 1, default 1)
|
|
@@ -93,16 +93,16 @@ export declare class FlowService {
|
|
|
93
93
|
*
|
|
94
94
|
*/
|
|
95
95
|
starredOnly?: boolean;
|
|
96
|
-
}): CancelablePromise<Array<
|
|
96
|
+
}): CancelablePromise<Array<Flow & {
|
|
97
97
|
has_draft?: boolean;
|
|
98
98
|
draft_only?: boolean;
|
|
99
|
-
}
|
|
99
|
+
}>>;
|
|
100
100
|
/**
|
|
101
101
|
* get flow by path
|
|
102
102
|
* @returns Flow flow details
|
|
103
103
|
* @throws ApiError
|
|
104
104
|
*/
|
|
105
|
-
static getFlowByPath({ workspace, path
|
|
105
|
+
static getFlowByPath({ workspace, path }: {
|
|
106
106
|
workspace: string;
|
|
107
107
|
path: string;
|
|
108
108
|
}): CancelablePromise<Flow>;
|
|
@@ -111,7 +111,7 @@ export declare class FlowService {
|
|
|
111
111
|
* @returns string error handler toggled
|
|
112
112
|
* @throws ApiError
|
|
113
113
|
*/
|
|
114
|
-
static toggleWorkspaceErrorHandlerForFlow({ workspace, path, requestBody
|
|
114
|
+
static toggleWorkspaceErrorHandlerForFlow({ workspace, path, requestBody }: {
|
|
115
115
|
workspace: string;
|
|
116
116
|
path: string;
|
|
117
117
|
/**
|
|
@@ -126,18 +126,18 @@ export declare class FlowService {
|
|
|
126
126
|
* @returns any flow details with draft
|
|
127
127
|
* @throws ApiError
|
|
128
128
|
*/
|
|
129
|
-
static getFlowByPathWithDraft({ workspace, path
|
|
129
|
+
static getFlowByPathWithDraft({ workspace, path }: {
|
|
130
130
|
workspace: string;
|
|
131
131
|
path: string;
|
|
132
|
-
}): CancelablePromise<
|
|
132
|
+
}): CancelablePromise<Flow & {
|
|
133
133
|
draft?: Flow;
|
|
134
|
-
}
|
|
134
|
+
}>;
|
|
135
135
|
/**
|
|
136
136
|
* exists flow by path
|
|
137
137
|
* @returns boolean flow details
|
|
138
138
|
* @throws ApiError
|
|
139
139
|
*/
|
|
140
|
-
static existsFlowByPath({ workspace, path
|
|
140
|
+
static existsFlowByPath({ workspace, path }: {
|
|
141
141
|
workspace: string;
|
|
142
142
|
path: string;
|
|
143
143
|
}): CancelablePromise<boolean>;
|
|
@@ -146,37 +146,37 @@ export declare class FlowService {
|
|
|
146
146
|
* @returns string flow created
|
|
147
147
|
* @throws ApiError
|
|
148
148
|
*/
|
|
149
|
-
static createFlow({ workspace, requestBody
|
|
149
|
+
static createFlow({ workspace, requestBody }: {
|
|
150
150
|
workspace: string;
|
|
151
151
|
/**
|
|
152
152
|
* Partially filled flow
|
|
153
153
|
*/
|
|
154
|
-
requestBody:
|
|
154
|
+
requestBody: OpenFlowWPath & {
|
|
155
155
|
draft_only?: boolean;
|
|
156
156
|
deployment_message?: string;
|
|
157
|
-
}
|
|
157
|
+
};
|
|
158
158
|
}): CancelablePromise<string>;
|
|
159
159
|
/**
|
|
160
160
|
* update flow
|
|
161
161
|
* @returns string flow updated
|
|
162
162
|
* @throws ApiError
|
|
163
163
|
*/
|
|
164
|
-
static updateFlow({ workspace, path, requestBody
|
|
164
|
+
static updateFlow({ workspace, path, requestBody }: {
|
|
165
165
|
workspace: string;
|
|
166
166
|
path: string;
|
|
167
167
|
/**
|
|
168
168
|
* Partially filled flow
|
|
169
169
|
*/
|
|
170
|
-
requestBody:
|
|
170
|
+
requestBody: OpenFlowWPath & {
|
|
171
171
|
deployment_message?: string;
|
|
172
|
-
}
|
|
172
|
+
};
|
|
173
173
|
}): CancelablePromise<string>;
|
|
174
174
|
/**
|
|
175
175
|
* archive flow by path
|
|
176
176
|
* @returns string flow archived
|
|
177
177
|
* @throws ApiError
|
|
178
178
|
*/
|
|
179
|
-
static archiveFlowByPath({ workspace, path, requestBody
|
|
179
|
+
static archiveFlowByPath({ workspace, path, requestBody }: {
|
|
180
180
|
workspace: string;
|
|
181
181
|
path: string;
|
|
182
182
|
/**
|
|
@@ -191,7 +191,7 @@ export declare class FlowService {
|
|
|
191
191
|
* @returns string flow delete
|
|
192
192
|
* @throws ApiError
|
|
193
193
|
*/
|
|
194
|
-
static deleteFlowByPath({ workspace, path
|
|
194
|
+
static deleteFlowByPath({ workspace, path }: {
|
|
195
195
|
workspace: string;
|
|
196
196
|
path: string;
|
|
197
197
|
}): CancelablePromise<string>;
|
|
@@ -200,7 +200,7 @@ export declare class FlowService {
|
|
|
200
200
|
* @returns Input input history for completed jobs with this flow path
|
|
201
201
|
* @throws ApiError
|
|
202
202
|
*/
|
|
203
|
-
static getFlowInputHistoryByPath({ workspace, path, page, perPage
|
|
203
|
+
static getFlowInputHistoryByPath({ workspace, path, page, perPage }: {
|
|
204
204
|
workspace: string;
|
|
205
205
|
path: string;
|
|
206
206
|
/**
|