windmill-client
Advanced tools
Comparing version 1.178.1 to 1.179.0
@@ -6,3 +6,3 @@ "use strict"; | ||
BASE: '/api', | ||
VERSION: '1.178.1', | ||
VERSION: '1.179.0', | ||
WITH_CREDENTIALS: false, | ||
@@ -9,0 +9,0 @@ CREDENTIALS: 'include', |
@@ -88,3 +88,3 @@ export type AuditLog = { | ||
WORKSPACES_EDIT_WEBHOOK = "workspaces.edit_webhook", | ||
WORKSPACES_EDIT_OPENAI_RESOURCE_PATH = "workspaces.edit_openai_resource_path", | ||
WORKSPACES_EDIT_COPILOT_CONFIG = "workspaces.edit_copilot_config", | ||
WORKSPACES_EDIT_ERROR_HANDLER = "workspaces.edit_error_handler", | ||
@@ -91,0 +91,0 @@ WORKSPACES_CREATE = "workspaces.create", |
@@ -88,3 +88,3 @@ "use strict"; | ||
operation["WORKSPACES_EDIT_WEBHOOK"] = "workspaces.edit_webhook"; | ||
operation["WORKSPACES_EDIT_OPENAI_RESOURCE_PATH"] = "workspaces.edit_openai_resource_path"; | ||
operation["WORKSPACES_EDIT_COPILOT_CONFIG"] = "workspaces.edit_copilot_config"; | ||
operation["WORKSPACES_EDIT_ERROR_HANDLER"] = "workspaces.edit_error_handler"; | ||
@@ -91,0 +91,0 @@ operation["WORKSPACES_CREATE"] = "workspaces.create"; |
@@ -138,2 +138,23 @@ import type { EditWorkspaceUser } from '../models/EditWorkspaceUser'; | ||
/** | ||
* get tutorial progress | ||
* @returns any tutorial progress | ||
* @throws ApiError | ||
*/ | ||
static getTutorialProgress(): CancelablePromise<{ | ||
progress?: number; | ||
}>; | ||
/** | ||
* update tutorial progress | ||
* @returns string tutorial progress | ||
* @throws ApiError | ||
*/ | ||
static updateTutorialProgress({ requestBody, }: { | ||
/** | ||
* progress update | ||
*/ | ||
requestBody: { | ||
progress?: number; | ||
}; | ||
}): CancelablePromise<string>; | ||
/** | ||
* get current usage outside of premium workspaces | ||
@@ -140,0 +161,0 @@ * @returns number free usage |
@@ -174,2 +174,26 @@ "use strict"; | ||
/** | ||
* get tutorial progress | ||
* @returns any tutorial progress | ||
* @throws ApiError | ||
*/ | ||
static getTutorialProgress() { | ||
return (0, request_1.request)(OpenAPI_1.OpenAPI, { | ||
method: 'GET', | ||
url: '/users/tutorial_progress', | ||
}); | ||
} | ||
/** | ||
* update tutorial progress | ||
* @returns string tutorial progress | ||
* @throws ApiError | ||
*/ | ||
static updateTutorialProgress({ requestBody, }) { | ||
return (0, request_1.request)(OpenAPI_1.OpenAPI, { | ||
method: 'POST', | ||
url: '/users/tutorial_progress', | ||
body: requestBody, | ||
mediaType: 'application/json', | ||
}); | ||
} | ||
/** | ||
* get current usage outside of premium workspaces | ||
@@ -176,0 +200,0 @@ * @returns number free usage |
@@ -175,2 +175,3 @@ import type { CreateWorkspace } from '../models/CreateWorkspace'; | ||
openai_resource_path?: string; | ||
code_completion_enabled: boolean; | ||
error_handler?: string; | ||
@@ -253,23 +254,27 @@ }>; | ||
/** | ||
* edit OpenAI resource path | ||
* edit copilot config | ||
* @returns string status | ||
* @throws ApiError | ||
*/ | ||
static editOpenaiResourcePath({ workspace, requestBody, }: { | ||
static editCopilotConfig({ workspace, requestBody, }: { | ||
workspace: string; | ||
/** | ||
* WorkspaceOpenaiResourcePath | ||
* WorkspaceCopilotConfig | ||
*/ | ||
requestBody: { | ||
openai_resource_path?: string; | ||
code_completion_enabled: boolean; | ||
}; | ||
}): CancelablePromise<string>; | ||
/** | ||
* OpenAI resource path exists | ||
* @returns boolean status | ||
* get copilot info | ||
* @returns any status | ||
* @throws ApiError | ||
*/ | ||
static existsOpenaiResourcePath({ workspace, }: { | ||
static getCopilotInfo({ workspace, }: { | ||
workspace: string; | ||
}): CancelablePromise<boolean>; | ||
}): CancelablePromise<{ | ||
exists_openai_resource_path: boolean; | ||
code_completion_enabled: boolean; | ||
}>; | ||
/** | ||
@@ -276,0 +281,0 @@ * edit error handler |
@@ -305,10 +305,10 @@ "use strict"; | ||
/** | ||
* edit OpenAI resource path | ||
* edit copilot config | ||
* @returns string status | ||
* @throws ApiError | ||
*/ | ||
static editOpenaiResourcePath({ workspace, requestBody, }) { | ||
static editCopilotConfig({ workspace, requestBody, }) { | ||
return (0, request_1.request)(OpenAPI_1.OpenAPI, { | ||
method: 'POST', | ||
url: '/w/{workspace}/workspaces/edit_openai_resource_path', | ||
url: '/w/{workspace}/workspaces/edit_copilot_config', | ||
path: { | ||
@@ -322,10 +322,10 @@ 'workspace': workspace, | ||
/** | ||
* OpenAI resource path exists | ||
* @returns boolean status | ||
* get copilot info | ||
* @returns any status | ||
* @throws ApiError | ||
*/ | ||
static existsOpenaiResourcePath({ workspace, }) { | ||
static getCopilotInfo({ workspace, }) { | ||
return (0, request_1.request)(OpenAPI_1.OpenAPI, { | ||
method: 'GET', | ||
url: '/w/{workspace}/workspaces/exists_openai_resource_path', | ||
url: '/w/{workspace}/workspaces/get_copilot_info', | ||
path: { | ||
@@ -332,0 +332,0 @@ 'workspace': workspace, |
{ | ||
"name": "windmill-client", | ||
"description": "Windmill SDK client for browsers and Node.js", | ||
"version": "1.178.1", | ||
"version": "1.179.0", | ||
"author": "Ruben Fiszel", | ||
@@ -6,0 +6,0 @@ "license": "Apache 2.0", |
351586
10856