windmill-client 1.178.1 → 1.179.0
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/dist/core/OpenAPI.js +1 -1
- package/dist/models/AuditLog.d.ts +1 -1
- package/dist/models/AuditLog.js +1 -1
- package/dist/services/UserService.d.ts +21 -0
- package/dist/services/UserService.js +24 -0
- package/dist/services/WorkspaceService.d.ts +12 -7
- package/dist/services/WorkspaceService.js +7 -7
- package/package.json +1 -1
package/dist/core/OpenAPI.js
CHANGED
|
@@ -85,7 +85,7 @@ export declare namespace AuditLog {
|
|
|
85
85
|
WORKSPACES_EDIT_DEPLOY_TO = "workspaces.edit_deploy_to",
|
|
86
86
|
WORKSPACES_EDIT_AUTO_INVITE_DOMAIN = "workspaces.edit_auto_invite_domain",
|
|
87
87
|
WORKSPACES_EDIT_WEBHOOK = "workspaces.edit_webhook",
|
|
88
|
-
|
|
88
|
+
WORKSPACES_EDIT_COPILOT_CONFIG = "workspaces.edit_copilot_config",
|
|
89
89
|
WORKSPACES_EDIT_ERROR_HANDLER = "workspaces.edit_error_handler",
|
|
90
90
|
WORKSPACES_CREATE = "workspaces.create",
|
|
91
91
|
WORKSPACES_UPDATE = "workspaces.update",
|
package/dist/models/AuditLog.js
CHANGED
|
@@ -85,7 +85,7 @@ var AuditLog;
|
|
|
85
85
|
operation["WORKSPACES_EDIT_DEPLOY_TO"] = "workspaces.edit_deploy_to";
|
|
86
86
|
operation["WORKSPACES_EDIT_AUTO_INVITE_DOMAIN"] = "workspaces.edit_auto_invite_domain";
|
|
87
87
|
operation["WORKSPACES_EDIT_WEBHOOK"] = "workspaces.edit_webhook";
|
|
88
|
-
operation["
|
|
88
|
+
operation["WORKSPACES_EDIT_COPILOT_CONFIG"] = "workspaces.edit_copilot_config";
|
|
89
89
|
operation["WORKSPACES_EDIT_ERROR_HANDLER"] = "workspaces.edit_error_handler";
|
|
90
90
|
operation["WORKSPACES_CREATE"] = "workspaces.create";
|
|
91
91
|
operation["WORKSPACES_UPDATE"] = "workspaces.update";
|
|
@@ -134,6 +134,27 @@ export declare class UserService {
|
|
|
134
134
|
* @throws ApiError
|
|
135
135
|
*/
|
|
136
136
|
static refreshUserToken(): CancelablePromise<string>;
|
|
137
|
+
/**
|
|
138
|
+
* get tutorial progress
|
|
139
|
+
* @returns any tutorial progress
|
|
140
|
+
* @throws ApiError
|
|
141
|
+
*/
|
|
142
|
+
static getTutorialProgress(): CancelablePromise<{
|
|
143
|
+
progress?: number;
|
|
144
|
+
}>;
|
|
145
|
+
/**
|
|
146
|
+
* update tutorial progress
|
|
147
|
+
* @returns string tutorial progress
|
|
148
|
+
* @throws ApiError
|
|
149
|
+
*/
|
|
150
|
+
static updateTutorialProgress({ requestBody, }: {
|
|
151
|
+
/**
|
|
152
|
+
* progress update
|
|
153
|
+
*/
|
|
154
|
+
requestBody: {
|
|
155
|
+
progress?: number;
|
|
156
|
+
};
|
|
157
|
+
}): CancelablePromise<string>;
|
|
137
158
|
/**
|
|
138
159
|
* get current usage outside of premium workspaces
|
|
139
160
|
* @returns number free usage
|
|
@@ -170,6 +170,30 @@ class UserService {
|
|
|
170
170
|
url: '/users/refresh_token',
|
|
171
171
|
});
|
|
172
172
|
}
|
|
173
|
+
/**
|
|
174
|
+
* get tutorial progress
|
|
175
|
+
* @returns any tutorial progress
|
|
176
|
+
* @throws ApiError
|
|
177
|
+
*/
|
|
178
|
+
static getTutorialProgress() {
|
|
179
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
180
|
+
method: 'GET',
|
|
181
|
+
url: '/users/tutorial_progress',
|
|
182
|
+
});
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* update tutorial progress
|
|
186
|
+
* @returns string tutorial progress
|
|
187
|
+
* @throws ApiError
|
|
188
|
+
*/
|
|
189
|
+
static updateTutorialProgress({ requestBody, }) {
|
|
190
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
191
|
+
method: 'POST',
|
|
192
|
+
url: '/users/tutorial_progress',
|
|
193
|
+
body: requestBody,
|
|
194
|
+
mediaType: 'application/json',
|
|
195
|
+
});
|
|
196
|
+
}
|
|
173
197
|
/**
|
|
174
198
|
* get current usage outside of premium workspaces
|
|
175
199
|
* @returns number free usage
|
|
@@ -172,6 +172,7 @@ export declare class WorkspaceService {
|
|
|
172
172
|
webhook?: string;
|
|
173
173
|
deploy_to?: string;
|
|
174
174
|
openai_resource_path?: string;
|
|
175
|
+
code_completion_enabled: boolean;
|
|
175
176
|
error_handler?: string;
|
|
176
177
|
}>;
|
|
177
178
|
/**
|
|
@@ -249,27 +250,31 @@ export declare class WorkspaceService {
|
|
|
249
250
|
};
|
|
250
251
|
}): CancelablePromise<string>;
|
|
251
252
|
/**
|
|
252
|
-
* edit
|
|
253
|
+
* edit copilot config
|
|
253
254
|
* @returns string status
|
|
254
255
|
* @throws ApiError
|
|
255
256
|
*/
|
|
256
|
-
static
|
|
257
|
+
static editCopilotConfig({ workspace, requestBody, }: {
|
|
257
258
|
workspace: string;
|
|
258
259
|
/**
|
|
259
|
-
*
|
|
260
|
+
* WorkspaceCopilotConfig
|
|
260
261
|
*/
|
|
261
262
|
requestBody: {
|
|
262
263
|
openai_resource_path?: string;
|
|
264
|
+
code_completion_enabled: boolean;
|
|
263
265
|
};
|
|
264
266
|
}): CancelablePromise<string>;
|
|
265
267
|
/**
|
|
266
|
-
*
|
|
267
|
-
* @returns
|
|
268
|
+
* get copilot info
|
|
269
|
+
* @returns any status
|
|
268
270
|
* @throws ApiError
|
|
269
271
|
*/
|
|
270
|
-
static
|
|
272
|
+
static getCopilotInfo({ workspace, }: {
|
|
271
273
|
workspace: string;
|
|
272
|
-
}): CancelablePromise<
|
|
274
|
+
}): CancelablePromise<{
|
|
275
|
+
exists_openai_resource_path: boolean;
|
|
276
|
+
code_completion_enabled: boolean;
|
|
277
|
+
}>;
|
|
273
278
|
/**
|
|
274
279
|
* edit error handler
|
|
275
280
|
* @returns string status
|
|
@@ -302,14 +302,14 @@ class WorkspaceService {
|
|
|
302
302
|
});
|
|
303
303
|
}
|
|
304
304
|
/**
|
|
305
|
-
* edit
|
|
305
|
+
* edit copilot config
|
|
306
306
|
* @returns string status
|
|
307
307
|
* @throws ApiError
|
|
308
308
|
*/
|
|
309
|
-
static
|
|
309
|
+
static editCopilotConfig({ workspace, requestBody, }) {
|
|
310
310
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
311
311
|
method: 'POST',
|
|
312
|
-
url: '/w/{workspace}/workspaces/
|
|
312
|
+
url: '/w/{workspace}/workspaces/edit_copilot_config',
|
|
313
313
|
path: {
|
|
314
314
|
'workspace': workspace,
|
|
315
315
|
},
|
|
@@ -318,14 +318,14 @@ class WorkspaceService {
|
|
|
318
318
|
});
|
|
319
319
|
}
|
|
320
320
|
/**
|
|
321
|
-
*
|
|
322
|
-
* @returns
|
|
321
|
+
* get copilot info
|
|
322
|
+
* @returns any status
|
|
323
323
|
* @throws ApiError
|
|
324
324
|
*/
|
|
325
|
-
static
|
|
325
|
+
static getCopilotInfo({ workspace, }) {
|
|
326
326
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
327
327
|
method: 'GET',
|
|
328
|
-
url: '/w/{workspace}/workspaces/
|
|
328
|
+
url: '/w/{workspace}/workspaces/get_copilot_info',
|
|
329
329
|
path: {
|
|
330
330
|
'workspace': workspace,
|
|
331
331
|
},
|