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
|
@@ -7,7 +7,7 @@ export declare class AdminService {
|
|
|
7
7
|
* @returns User user created
|
|
8
8
|
* @throws ApiError
|
|
9
9
|
*/
|
|
10
|
-
static getUser({ workspace, username
|
|
10
|
+
static getUser({ workspace, username }: {
|
|
11
11
|
workspace: string;
|
|
12
12
|
username: string;
|
|
13
13
|
}): CancelablePromise<User>;
|
|
@@ -16,7 +16,7 @@ export declare class AdminService {
|
|
|
16
16
|
* @returns string edited user
|
|
17
17
|
* @throws ApiError
|
|
18
18
|
*/
|
|
19
|
-
static updateUser({ workspace, username, requestBody
|
|
19
|
+
static updateUser({ workspace, username, requestBody }: {
|
|
20
20
|
workspace: string;
|
|
21
21
|
username: string;
|
|
22
22
|
/**
|
|
@@ -29,7 +29,7 @@ export declare class AdminService {
|
|
|
29
29
|
* @returns string delete user
|
|
30
30
|
* @throws ApiError
|
|
31
31
|
*/
|
|
32
|
-
static deleteUser({ workspace, username
|
|
32
|
+
static deleteUser({ workspace, username }: {
|
|
33
33
|
workspace: string;
|
|
34
34
|
username: string;
|
|
35
35
|
}): CancelablePromise<string>;
|
|
@@ -6,14 +6,14 @@ export class AdminService {
|
|
|
6
6
|
* @returns User user created
|
|
7
7
|
* @throws ApiError
|
|
8
8
|
*/
|
|
9
|
-
static getUser({ workspace, username
|
|
9
|
+
static getUser({ workspace, username }) {
|
|
10
10
|
return __request(OpenAPI, {
|
|
11
11
|
method: 'GET',
|
|
12
12
|
url: '/w/{workspace}/users/{username}',
|
|
13
13
|
path: {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
14
|
+
workspace: workspace,
|
|
15
|
+
username: username
|
|
16
|
+
}
|
|
17
17
|
});
|
|
18
18
|
}
|
|
19
19
|
/**
|
|
@@ -21,16 +21,16 @@ export class AdminService {
|
|
|
21
21
|
* @returns string edited user
|
|
22
22
|
* @throws ApiError
|
|
23
23
|
*/
|
|
24
|
-
static updateUser({ workspace, username, requestBody
|
|
24
|
+
static updateUser({ workspace, username, requestBody }) {
|
|
25
25
|
return __request(OpenAPI, {
|
|
26
26
|
method: 'POST',
|
|
27
27
|
url: '/w/{workspace}/users/update/{username}',
|
|
28
28
|
path: {
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
workspace: workspace,
|
|
30
|
+
username: username
|
|
31
31
|
},
|
|
32
32
|
body: requestBody,
|
|
33
|
-
mediaType: 'application/json'
|
|
33
|
+
mediaType: 'application/json'
|
|
34
34
|
});
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
@@ -38,14 +38,14 @@ export class AdminService {
|
|
|
38
38
|
* @returns string delete user
|
|
39
39
|
* @throws ApiError
|
|
40
40
|
*/
|
|
41
|
-
static deleteUser({ workspace, username
|
|
41
|
+
static deleteUser({ workspace, username }) {
|
|
42
42
|
return __request(OpenAPI, {
|
|
43
43
|
method: 'DELETE',
|
|
44
44
|
url: '/w/{workspace}/users/delete/{username}',
|
|
45
45
|
path: {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
}
|
|
46
|
+
workspace: workspace,
|
|
47
|
+
username: username
|
|
48
|
+
}
|
|
49
49
|
});
|
|
50
50
|
}
|
|
51
51
|
}
|
|
@@ -25,7 +25,7 @@ export declare class AppService {
|
|
|
25
25
|
* @returns any app
|
|
26
26
|
* @throws ApiError
|
|
27
27
|
*/
|
|
28
|
-
static getHubAppById({ id
|
|
28
|
+
static getHubAppById({ id }: {
|
|
29
29
|
id: number;
|
|
30
30
|
}): CancelablePromise<{
|
|
31
31
|
app: {
|
|
@@ -38,7 +38,7 @@ export declare class AppService {
|
|
|
38
38
|
* @returns any app list
|
|
39
39
|
* @throws ApiError
|
|
40
40
|
*/
|
|
41
|
-
static listSearchApp({ workspace
|
|
41
|
+
static listSearchApp({ workspace }: {
|
|
42
42
|
workspace: string;
|
|
43
43
|
}): CancelablePromise<Array<{
|
|
44
44
|
path: string;
|
|
@@ -49,7 +49,7 @@ export declare class AppService {
|
|
|
49
49
|
* @returns ListableApp All apps
|
|
50
50
|
* @throws ApiError
|
|
51
51
|
*/
|
|
52
|
-
static listApps({ workspace, page, perPage, orderDesc, createdBy, pathStart, pathExact, starredOnly
|
|
52
|
+
static listApps({ workspace, page, perPage, orderDesc, createdBy, pathStart, pathExact, starredOnly }: {
|
|
53
53
|
workspace: string;
|
|
54
54
|
/**
|
|
55
55
|
* which page to return (start at 1, default 1)
|
|
@@ -87,7 +87,7 @@ export declare class AppService {
|
|
|
87
87
|
* @returns string app created
|
|
88
88
|
* @throws ApiError
|
|
89
89
|
*/
|
|
90
|
-
static createApp({ workspace, requestBody
|
|
90
|
+
static createApp({ workspace, requestBody }: {
|
|
91
91
|
workspace: string;
|
|
92
92
|
/**
|
|
93
93
|
* new app
|
|
@@ -106,7 +106,7 @@ export declare class AppService {
|
|
|
106
106
|
* @returns boolean app exists
|
|
107
107
|
* @throws ApiError
|
|
108
108
|
*/
|
|
109
|
-
static existsApp({ workspace, path
|
|
109
|
+
static existsApp({ workspace, path }: {
|
|
110
110
|
workspace: string;
|
|
111
111
|
path: string;
|
|
112
112
|
}): CancelablePromise<boolean>;
|
|
@@ -115,7 +115,7 @@ export declare class AppService {
|
|
|
115
115
|
* @returns AppWithLastVersion app details
|
|
116
116
|
* @throws ApiError
|
|
117
117
|
*/
|
|
118
|
-
static getAppByPath({ workspace, path
|
|
118
|
+
static getAppByPath({ workspace, path }: {
|
|
119
119
|
workspace: string;
|
|
120
120
|
path: string;
|
|
121
121
|
}): CancelablePromise<AppWithLastVersion>;
|
|
@@ -124,7 +124,7 @@ export declare class AppService {
|
|
|
124
124
|
* @returns AppWithLastVersionWDraft app details with draft
|
|
125
125
|
* @throws ApiError
|
|
126
126
|
*/
|
|
127
|
-
static getAppByPathWithDraft({ workspace, path
|
|
127
|
+
static getAppByPathWithDraft({ workspace, path }: {
|
|
128
128
|
workspace: string;
|
|
129
129
|
path: string;
|
|
130
130
|
}): CancelablePromise<AppWithLastVersionWDraft>;
|
|
@@ -133,7 +133,7 @@ export declare class AppService {
|
|
|
133
133
|
* @returns AppHistory app history
|
|
134
134
|
* @throws ApiError
|
|
135
135
|
*/
|
|
136
|
-
static getAppHistoryByPath({ workspace, path
|
|
136
|
+
static getAppHistoryByPath({ workspace, path }: {
|
|
137
137
|
workspace: string;
|
|
138
138
|
path: string;
|
|
139
139
|
}): CancelablePromise<Array<AppHistory>>;
|
|
@@ -142,7 +142,7 @@ export declare class AppService {
|
|
|
142
142
|
* @returns string success
|
|
143
143
|
* @throws ApiError
|
|
144
144
|
*/
|
|
145
|
-
static updateAppHistory({ workspace, id, version, requestBody
|
|
145
|
+
static updateAppHistory({ workspace, id, version, requestBody }: {
|
|
146
146
|
workspace: string;
|
|
147
147
|
id: number;
|
|
148
148
|
version: number;
|
|
@@ -158,7 +158,7 @@ export declare class AppService {
|
|
|
158
158
|
* @returns AppWithLastVersion app details
|
|
159
159
|
* @throws ApiError
|
|
160
160
|
*/
|
|
161
|
-
static getPublicAppBySecret({ workspace, path
|
|
161
|
+
static getPublicAppBySecret({ workspace, path }: {
|
|
162
162
|
workspace: string;
|
|
163
163
|
path: string;
|
|
164
164
|
}): CancelablePromise<AppWithLastVersion>;
|
|
@@ -167,7 +167,7 @@ export declare class AppService {
|
|
|
167
167
|
* @returns any resource value
|
|
168
168
|
* @throws ApiError
|
|
169
169
|
*/
|
|
170
|
-
static getPublicResource({ workspace, path
|
|
170
|
+
static getPublicResource({ workspace, path }: {
|
|
171
171
|
workspace: string;
|
|
172
172
|
path: string;
|
|
173
173
|
}): CancelablePromise<any>;
|
|
@@ -176,7 +176,7 @@ export declare class AppService {
|
|
|
176
176
|
* @returns string app secret
|
|
177
177
|
* @throws ApiError
|
|
178
178
|
*/
|
|
179
|
-
static getPublicSecretOfApp({ workspace, path
|
|
179
|
+
static getPublicSecretOfApp({ workspace, path }: {
|
|
180
180
|
workspace: string;
|
|
181
181
|
path: string;
|
|
182
182
|
}): CancelablePromise<string>;
|
|
@@ -185,7 +185,7 @@ export declare class AppService {
|
|
|
185
185
|
* @returns AppWithLastVersion app details
|
|
186
186
|
* @throws ApiError
|
|
187
187
|
*/
|
|
188
|
-
static getAppByVersion({ workspace, id
|
|
188
|
+
static getAppByVersion({ workspace, id }: {
|
|
189
189
|
workspace: string;
|
|
190
190
|
id: number;
|
|
191
191
|
}): CancelablePromise<AppWithLastVersion>;
|
|
@@ -194,7 +194,7 @@ export declare class AppService {
|
|
|
194
194
|
* @returns string app deleted
|
|
195
195
|
* @throws ApiError
|
|
196
196
|
*/
|
|
197
|
-
static deleteApp({ workspace, path
|
|
197
|
+
static deleteApp({ workspace, path }: {
|
|
198
198
|
workspace: string;
|
|
199
199
|
path: string;
|
|
200
200
|
}): CancelablePromise<string>;
|
|
@@ -203,7 +203,7 @@ export declare class AppService {
|
|
|
203
203
|
* @returns string app updated
|
|
204
204
|
* @throws ApiError
|
|
205
205
|
*/
|
|
206
|
-
static updateApp({ workspace, path, requestBody
|
|
206
|
+
static updateApp({ workspace, path, requestBody }: {
|
|
207
207
|
workspace: string;
|
|
208
208
|
path: string;
|
|
209
209
|
/**
|
|
@@ -222,7 +222,7 @@ export declare class AppService {
|
|
|
222
222
|
* @returns string job uuid
|
|
223
223
|
* @throws ApiError
|
|
224
224
|
*/
|
|
225
|
-
static executeComponent({ workspace, path, requestBody
|
|
225
|
+
static executeComponent({ workspace, path, requestBody }: {
|
|
226
226
|
workspace: string;
|
|
227
227
|
path: string;
|
|
228
228
|
/**
|
|
@@ -9,7 +9,7 @@ export class AppService {
|
|
|
9
9
|
static listHubApps() {
|
|
10
10
|
return __request(OpenAPI, {
|
|
11
11
|
method: 'GET',
|
|
12
|
-
url: '/apps/hub/list'
|
|
12
|
+
url: '/apps/hub/list'
|
|
13
13
|
});
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
@@ -17,13 +17,13 @@ export class AppService {
|
|
|
17
17
|
* @returns any app
|
|
18
18
|
* @throws ApiError
|
|
19
19
|
*/
|
|
20
|
-
static getHubAppById({ id
|
|
20
|
+
static getHubAppById({ id }) {
|
|
21
21
|
return __request(OpenAPI, {
|
|
22
22
|
method: 'GET',
|
|
23
23
|
url: '/apps/hub/get/{id}',
|
|
24
24
|
path: {
|
|
25
|
-
|
|
26
|
-
}
|
|
25
|
+
id: id
|
|
26
|
+
}
|
|
27
27
|
});
|
|
28
28
|
}
|
|
29
29
|
/**
|
|
@@ -31,13 +31,13 @@ export class AppService {
|
|
|
31
31
|
* @returns any app list
|
|
32
32
|
* @throws ApiError
|
|
33
33
|
*/
|
|
34
|
-
static listSearchApp({ workspace
|
|
34
|
+
static listSearchApp({ workspace }) {
|
|
35
35
|
return __request(OpenAPI, {
|
|
36
36
|
method: 'GET',
|
|
37
37
|
url: '/w/{workspace}/apps/list_search',
|
|
38
38
|
path: {
|
|
39
|
-
|
|
40
|
-
}
|
|
39
|
+
workspace: workspace
|
|
40
|
+
}
|
|
41
41
|
});
|
|
42
42
|
}
|
|
43
43
|
/**
|
|
@@ -45,22 +45,22 @@ export class AppService {
|
|
|
45
45
|
* @returns ListableApp All apps
|
|
46
46
|
* @throws ApiError
|
|
47
47
|
*/
|
|
48
|
-
static listApps({ workspace, page, perPage, orderDesc, createdBy, pathStart, pathExact, starredOnly
|
|
48
|
+
static listApps({ workspace, page, perPage, orderDesc, createdBy, pathStart, pathExact, starredOnly }) {
|
|
49
49
|
return __request(OpenAPI, {
|
|
50
50
|
method: 'GET',
|
|
51
51
|
url: '/w/{workspace}/apps/list',
|
|
52
52
|
path: {
|
|
53
|
-
|
|
53
|
+
workspace: workspace
|
|
54
54
|
},
|
|
55
55
|
query: {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
}
|
|
56
|
+
page: page,
|
|
57
|
+
per_page: perPage,
|
|
58
|
+
order_desc: orderDesc,
|
|
59
|
+
created_by: createdBy,
|
|
60
|
+
path_start: pathStart,
|
|
61
|
+
path_exact: pathExact,
|
|
62
|
+
starred_only: starredOnly
|
|
63
|
+
}
|
|
64
64
|
});
|
|
65
65
|
}
|
|
66
66
|
/**
|
|
@@ -68,15 +68,15 @@ export class AppService {
|
|
|
68
68
|
* @returns string app created
|
|
69
69
|
* @throws ApiError
|
|
70
70
|
*/
|
|
71
|
-
static createApp({ workspace, requestBody
|
|
71
|
+
static createApp({ workspace, requestBody }) {
|
|
72
72
|
return __request(OpenAPI, {
|
|
73
73
|
method: 'POST',
|
|
74
74
|
url: '/w/{workspace}/apps/create',
|
|
75
75
|
path: {
|
|
76
|
-
|
|
76
|
+
workspace: workspace
|
|
77
77
|
},
|
|
78
78
|
body: requestBody,
|
|
79
|
-
mediaType: 'application/json'
|
|
79
|
+
mediaType: 'application/json'
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
/**
|
|
@@ -84,14 +84,14 @@ export class AppService {
|
|
|
84
84
|
* @returns boolean app exists
|
|
85
85
|
* @throws ApiError
|
|
86
86
|
*/
|
|
87
|
-
static existsApp({ workspace, path
|
|
87
|
+
static existsApp({ workspace, path }) {
|
|
88
88
|
return __request(OpenAPI, {
|
|
89
89
|
method: 'GET',
|
|
90
90
|
url: '/w/{workspace}/apps/exists/{path}',
|
|
91
91
|
path: {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
}
|
|
92
|
+
workspace: workspace,
|
|
93
|
+
path: path
|
|
94
|
+
}
|
|
95
95
|
});
|
|
96
96
|
}
|
|
97
97
|
/**
|
|
@@ -99,14 +99,14 @@ export class AppService {
|
|
|
99
99
|
* @returns AppWithLastVersion app details
|
|
100
100
|
* @throws ApiError
|
|
101
101
|
*/
|
|
102
|
-
static getAppByPath({ workspace, path
|
|
102
|
+
static getAppByPath({ workspace, path }) {
|
|
103
103
|
return __request(OpenAPI, {
|
|
104
104
|
method: 'GET',
|
|
105
105
|
url: '/w/{workspace}/apps/get/p/{path}',
|
|
106
106
|
path: {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
}
|
|
107
|
+
workspace: workspace,
|
|
108
|
+
path: path
|
|
109
|
+
}
|
|
110
110
|
});
|
|
111
111
|
}
|
|
112
112
|
/**
|
|
@@ -114,14 +114,14 @@ export class AppService {
|
|
|
114
114
|
* @returns AppWithLastVersionWDraft app details with draft
|
|
115
115
|
* @throws ApiError
|
|
116
116
|
*/
|
|
117
|
-
static getAppByPathWithDraft({ workspace, path
|
|
117
|
+
static getAppByPathWithDraft({ workspace, path }) {
|
|
118
118
|
return __request(OpenAPI, {
|
|
119
119
|
method: 'GET',
|
|
120
120
|
url: '/w/{workspace}/apps/get/draft/{path}',
|
|
121
121
|
path: {
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
}
|
|
122
|
+
workspace: workspace,
|
|
123
|
+
path: path
|
|
124
|
+
}
|
|
125
125
|
});
|
|
126
126
|
}
|
|
127
127
|
/**
|
|
@@ -129,14 +129,14 @@ export class AppService {
|
|
|
129
129
|
* @returns AppHistory app history
|
|
130
130
|
* @throws ApiError
|
|
131
131
|
*/
|
|
132
|
-
static getAppHistoryByPath({ workspace, path
|
|
132
|
+
static getAppHistoryByPath({ workspace, path }) {
|
|
133
133
|
return __request(OpenAPI, {
|
|
134
134
|
method: 'GET',
|
|
135
135
|
url: '/w/{workspace}/apps/history/p/{path}',
|
|
136
136
|
path: {
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
}
|
|
137
|
+
workspace: workspace,
|
|
138
|
+
path: path
|
|
139
|
+
}
|
|
140
140
|
});
|
|
141
141
|
}
|
|
142
142
|
/**
|
|
@@ -144,17 +144,17 @@ export class AppService {
|
|
|
144
144
|
* @returns string success
|
|
145
145
|
* @throws ApiError
|
|
146
146
|
*/
|
|
147
|
-
static updateAppHistory({ workspace, id, version, requestBody
|
|
147
|
+
static updateAppHistory({ workspace, id, version, requestBody }) {
|
|
148
148
|
return __request(OpenAPI, {
|
|
149
149
|
method: 'POST',
|
|
150
150
|
url: '/w/{workspace}/apps/history_update/a/{id}/v/{version}',
|
|
151
151
|
path: {
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
152
|
+
workspace: workspace,
|
|
153
|
+
id: id,
|
|
154
|
+
version: version
|
|
155
155
|
},
|
|
156
156
|
body: requestBody,
|
|
157
|
-
mediaType: 'application/json'
|
|
157
|
+
mediaType: 'application/json'
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
160
|
/**
|
|
@@ -162,14 +162,14 @@ export class AppService {
|
|
|
162
162
|
* @returns AppWithLastVersion app details
|
|
163
163
|
* @throws ApiError
|
|
164
164
|
*/
|
|
165
|
-
static getPublicAppBySecret({ workspace, path
|
|
165
|
+
static getPublicAppBySecret({ workspace, path }) {
|
|
166
166
|
return __request(OpenAPI, {
|
|
167
167
|
method: 'GET',
|
|
168
168
|
url: '/w/{workspace}/apps_u/public_app/{path}',
|
|
169
169
|
path: {
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
}
|
|
170
|
+
workspace: workspace,
|
|
171
|
+
path: path
|
|
172
|
+
}
|
|
173
173
|
});
|
|
174
174
|
}
|
|
175
175
|
/**
|
|
@@ -177,14 +177,14 @@ export class AppService {
|
|
|
177
177
|
* @returns any resource value
|
|
178
178
|
* @throws ApiError
|
|
179
179
|
*/
|
|
180
|
-
static getPublicResource({ workspace, path
|
|
180
|
+
static getPublicResource({ workspace, path }) {
|
|
181
181
|
return __request(OpenAPI, {
|
|
182
182
|
method: 'GET',
|
|
183
183
|
url: '/w/{workspace}/apps_u/public_resource/{path}',
|
|
184
184
|
path: {
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
}
|
|
185
|
+
workspace: workspace,
|
|
186
|
+
path: path
|
|
187
|
+
}
|
|
188
188
|
});
|
|
189
189
|
}
|
|
190
190
|
/**
|
|
@@ -192,14 +192,14 @@ export class AppService {
|
|
|
192
192
|
* @returns string app secret
|
|
193
193
|
* @throws ApiError
|
|
194
194
|
*/
|
|
195
|
-
static getPublicSecretOfApp({ workspace, path
|
|
195
|
+
static getPublicSecretOfApp({ workspace, path }) {
|
|
196
196
|
return __request(OpenAPI, {
|
|
197
197
|
method: 'GET',
|
|
198
198
|
url: '/w/{workspace}/apps/secret_of/{path}',
|
|
199
199
|
path: {
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
}
|
|
200
|
+
workspace: workspace,
|
|
201
|
+
path: path
|
|
202
|
+
}
|
|
203
203
|
});
|
|
204
204
|
}
|
|
205
205
|
/**
|
|
@@ -207,14 +207,14 @@ export class AppService {
|
|
|
207
207
|
* @returns AppWithLastVersion app details
|
|
208
208
|
* @throws ApiError
|
|
209
209
|
*/
|
|
210
|
-
static getAppByVersion({ workspace, id
|
|
210
|
+
static getAppByVersion({ workspace, id }) {
|
|
211
211
|
return __request(OpenAPI, {
|
|
212
212
|
method: 'GET',
|
|
213
213
|
url: '/w/{workspace}/apps/get/v/{id}',
|
|
214
214
|
path: {
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
}
|
|
215
|
+
workspace: workspace,
|
|
216
|
+
id: id
|
|
217
|
+
}
|
|
218
218
|
});
|
|
219
219
|
}
|
|
220
220
|
/**
|
|
@@ -222,14 +222,14 @@ export class AppService {
|
|
|
222
222
|
* @returns string app deleted
|
|
223
223
|
* @throws ApiError
|
|
224
224
|
*/
|
|
225
|
-
static deleteApp({ workspace, path
|
|
225
|
+
static deleteApp({ workspace, path }) {
|
|
226
226
|
return __request(OpenAPI, {
|
|
227
227
|
method: 'DELETE',
|
|
228
228
|
url: '/w/{workspace}/apps/delete/{path}',
|
|
229
229
|
path: {
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
}
|
|
230
|
+
workspace: workspace,
|
|
231
|
+
path: path
|
|
232
|
+
}
|
|
233
233
|
});
|
|
234
234
|
}
|
|
235
235
|
/**
|
|
@@ -237,16 +237,16 @@ export class AppService {
|
|
|
237
237
|
* @returns string app updated
|
|
238
238
|
* @throws ApiError
|
|
239
239
|
*/
|
|
240
|
-
static updateApp({ workspace, path, requestBody
|
|
240
|
+
static updateApp({ workspace, path, requestBody }) {
|
|
241
241
|
return __request(OpenAPI, {
|
|
242
242
|
method: 'POST',
|
|
243
243
|
url: '/w/{workspace}/apps/update/{path}',
|
|
244
244
|
path: {
|
|
245
|
-
|
|
246
|
-
|
|
245
|
+
workspace: workspace,
|
|
246
|
+
path: path
|
|
247
247
|
},
|
|
248
248
|
body: requestBody,
|
|
249
|
-
mediaType: 'application/json'
|
|
249
|
+
mediaType: 'application/json'
|
|
250
250
|
});
|
|
251
251
|
}
|
|
252
252
|
/**
|
|
@@ -254,16 +254,16 @@ export class AppService {
|
|
|
254
254
|
* @returns string job uuid
|
|
255
255
|
* @throws ApiError
|
|
256
256
|
*/
|
|
257
|
-
static executeComponent({ workspace, path, requestBody
|
|
257
|
+
static executeComponent({ workspace, path, requestBody }) {
|
|
258
258
|
return __request(OpenAPI, {
|
|
259
259
|
method: 'POST',
|
|
260
260
|
url: '/w/{workspace}/apps_u/execute_component/{path}',
|
|
261
261
|
path: {
|
|
262
|
-
|
|
263
|
-
|
|
262
|
+
workspace: workspace,
|
|
263
|
+
path: path
|
|
264
264
|
},
|
|
265
265
|
body: requestBody,
|
|
266
|
-
mediaType: 'application/json'
|
|
266
|
+
mediaType: 'application/json'
|
|
267
267
|
});
|
|
268
268
|
}
|
|
269
269
|
}
|
|
@@ -6,7 +6,7 @@ export declare class AuditService {
|
|
|
6
6
|
* @returns AuditLog an audit log
|
|
7
7
|
* @throws ApiError
|
|
8
8
|
*/
|
|
9
|
-
static getAuditLog({ workspace, id
|
|
9
|
+
static getAuditLog({ workspace, id }: {
|
|
10
10
|
workspace: string;
|
|
11
11
|
id: number;
|
|
12
12
|
}): CancelablePromise<AuditLog>;
|
|
@@ -15,7 +15,7 @@ export declare class AuditService {
|
|
|
15
15
|
* @returns AuditLog a list of audit logs
|
|
16
16
|
* @throws ApiError
|
|
17
17
|
*/
|
|
18
|
-
static listAuditLogs({ workspace, page, perPage, before, after, username, operation, resource, actionKind
|
|
18
|
+
static listAuditLogs({ workspace, page, perPage, before, after, username, operation, resource, actionKind }: {
|
|
19
19
|
workspace: string;
|
|
20
20
|
/**
|
|
21
21
|
* which page to return (start at 1, default 1)
|
|
@@ -6,14 +6,14 @@ export class AuditService {
|
|
|
6
6
|
* @returns AuditLog an audit log
|
|
7
7
|
* @throws ApiError
|
|
8
8
|
*/
|
|
9
|
-
static getAuditLog({ workspace, id
|
|
9
|
+
static getAuditLog({ workspace, id }) {
|
|
10
10
|
return __request(OpenAPI, {
|
|
11
11
|
method: 'GET',
|
|
12
12
|
url: '/w/{workspace}/audit/get/{id}',
|
|
13
13
|
path: {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
14
|
+
workspace: workspace,
|
|
15
|
+
id: id
|
|
16
|
+
}
|
|
17
17
|
});
|
|
18
18
|
}
|
|
19
19
|
/**
|
|
@@ -21,23 +21,23 @@ export class AuditService {
|
|
|
21
21
|
* @returns AuditLog a list of audit logs
|
|
22
22
|
* @throws ApiError
|
|
23
23
|
*/
|
|
24
|
-
static listAuditLogs({ workspace, page, perPage, before, after, username, operation, resource, actionKind
|
|
24
|
+
static listAuditLogs({ workspace, page, perPage, before, after, username, operation, resource, actionKind }) {
|
|
25
25
|
return __request(OpenAPI, {
|
|
26
26
|
method: 'GET',
|
|
27
27
|
url: '/w/{workspace}/audit/list',
|
|
28
28
|
path: {
|
|
29
|
-
|
|
29
|
+
workspace: workspace
|
|
30
30
|
},
|
|
31
31
|
query: {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
}
|
|
32
|
+
page: page,
|
|
33
|
+
per_page: perPage,
|
|
34
|
+
before: before,
|
|
35
|
+
after: after,
|
|
36
|
+
username: username,
|
|
37
|
+
operation: operation,
|
|
38
|
+
resource: resource,
|
|
39
|
+
action_kind: actionKind
|
|
40
|
+
}
|
|
41
41
|
});
|
|
42
42
|
}
|
|
43
43
|
}
|
|
@@ -5,7 +5,7 @@ export declare class CaptureService {
|
|
|
5
5
|
* @returns void
|
|
6
6
|
* @throws ApiError
|
|
7
7
|
*/
|
|
8
|
-
static updateCapture({ workspace, path
|
|
8
|
+
static updateCapture({ workspace, path }: {
|
|
9
9
|
workspace: string;
|
|
10
10
|
path: string;
|
|
11
11
|
}): CancelablePromise<void>;
|
|
@@ -14,7 +14,7 @@ export declare class CaptureService {
|
|
|
14
14
|
* @returns any flow preview capture created
|
|
15
15
|
* @throws ApiError
|
|
16
16
|
*/
|
|
17
|
-
static createCapture({ workspace, path
|
|
17
|
+
static createCapture({ workspace, path }: {
|
|
18
18
|
workspace: string;
|
|
19
19
|
path: string;
|
|
20
20
|
}): CancelablePromise<any>;
|
|
@@ -23,7 +23,7 @@ export declare class CaptureService {
|
|
|
23
23
|
* @returns any captured flow preview
|
|
24
24
|
* @throws ApiError
|
|
25
25
|
*/
|
|
26
|
-
static getCapture({ workspace, path
|
|
26
|
+
static getCapture({ workspace, path }: {
|
|
27
27
|
workspace: string;
|
|
28
28
|
path: string;
|
|
29
29
|
}): CancelablePromise<any>;
|