windmill-client 1.293.1 → 1.295.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
CHANGED
|
@@ -729,9 +729,10 @@ export declare class JobService {
|
|
|
729
729
|
* @returns Job job details
|
|
730
730
|
* @throws ApiError
|
|
731
731
|
*/
|
|
732
|
-
static getJob({ workspace, id, }: {
|
|
732
|
+
static getJob({ workspace, id, noLogs, }: {
|
|
733
733
|
workspace: string;
|
|
734
734
|
id: string;
|
|
735
|
+
noLogs?: boolean;
|
|
735
736
|
}): CancelablePromise<Job>;
|
|
736
737
|
/**
|
|
737
738
|
* get root job id
|
|
@@ -765,6 +766,7 @@ export declare class JobService {
|
|
|
765
766
|
running?: boolean;
|
|
766
767
|
completed?: boolean;
|
|
767
768
|
new_logs?: string;
|
|
769
|
+
log_offset?: number;
|
|
768
770
|
mem_peak?: number;
|
|
769
771
|
flow_status?: WorkflowStatusRecord;
|
|
770
772
|
}>;
|
|
@@ -480,7 +480,7 @@ class JobService {
|
|
|
480
480
|
* @returns Job job details
|
|
481
481
|
* @throws ApiError
|
|
482
482
|
*/
|
|
483
|
-
static getJob({ workspace, id, }) {
|
|
483
|
+
static getJob({ workspace, id, noLogs, }) {
|
|
484
484
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
485
485
|
method: 'GET',
|
|
486
486
|
url: '/w/{workspace}/jobs_u/get/{id}',
|
|
@@ -488,6 +488,9 @@ class JobService {
|
|
|
488
488
|
'workspace': workspace,
|
|
489
489
|
'id': id,
|
|
490
490
|
},
|
|
491
|
+
query: {
|
|
492
|
+
'no_logs': noLogs,
|
|
493
|
+
},
|
|
491
494
|
});
|
|
492
495
|
}
|
|
493
496
|
/**
|
|
@@ -157,6 +157,37 @@ export declare class WorkspaceService {
|
|
|
157
157
|
static leaveWorkspace({ workspace, }: {
|
|
158
158
|
workspace: string;
|
|
159
159
|
}): CancelablePromise<string>;
|
|
160
|
+
/**
|
|
161
|
+
* get workspace name
|
|
162
|
+
* @returns string status
|
|
163
|
+
* @throws ApiError
|
|
164
|
+
*/
|
|
165
|
+
static getWorkspaceName({ workspace, }: {
|
|
166
|
+
workspace: string;
|
|
167
|
+
}): CancelablePromise<string>;
|
|
168
|
+
/**
|
|
169
|
+
* change workspace name
|
|
170
|
+
* @returns string status
|
|
171
|
+
* @throws ApiError
|
|
172
|
+
*/
|
|
173
|
+
static changeWorkspaceName({ workspace, requestBody, }: {
|
|
174
|
+
workspace: string;
|
|
175
|
+
requestBody?: {
|
|
176
|
+
new_name?: string;
|
|
177
|
+
};
|
|
178
|
+
}): CancelablePromise<string>;
|
|
179
|
+
/**
|
|
180
|
+
* change workspace id
|
|
181
|
+
* @returns string status
|
|
182
|
+
* @throws ApiError
|
|
183
|
+
*/
|
|
184
|
+
static changeWorkspaceId({ workspace, requestBody, }: {
|
|
185
|
+
workspace: string;
|
|
186
|
+
requestBody?: {
|
|
187
|
+
new_id?: string;
|
|
188
|
+
new_name?: string;
|
|
189
|
+
};
|
|
190
|
+
}): CancelablePromise<string>;
|
|
160
191
|
/**
|
|
161
192
|
* list pending invites for a workspace
|
|
162
193
|
* @returns WorkspaceInvite user
|
|
@@ -418,6 +449,21 @@ export declare class WorkspaceService {
|
|
|
418
449
|
static getDefaultScripts({ workspace, }: {
|
|
419
450
|
workspace: string;
|
|
420
451
|
}): CancelablePromise<WorkspaceDefaultScripts>;
|
|
452
|
+
/**
|
|
453
|
+
* set environment variable
|
|
454
|
+
* @returns string status
|
|
455
|
+
* @throws ApiError
|
|
456
|
+
*/
|
|
457
|
+
static setEnvironmentVariable({ workspace, requestBody, }: {
|
|
458
|
+
workspace: string;
|
|
459
|
+
/**
|
|
460
|
+
* Workspace default app
|
|
461
|
+
*/
|
|
462
|
+
requestBody: {
|
|
463
|
+
name: string;
|
|
464
|
+
value?: string;
|
|
465
|
+
};
|
|
466
|
+
}): CancelablePromise<string>;
|
|
421
467
|
/**
|
|
422
468
|
* retrieves the encryption key for this workspace
|
|
423
469
|
* @returns any status
|
|
@@ -195,6 +195,52 @@ class WorkspaceService {
|
|
|
195
195
|
},
|
|
196
196
|
});
|
|
197
197
|
}
|
|
198
|
+
/**
|
|
199
|
+
* get workspace name
|
|
200
|
+
* @returns string status
|
|
201
|
+
* @throws ApiError
|
|
202
|
+
*/
|
|
203
|
+
static getWorkspaceName({ workspace, }) {
|
|
204
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
205
|
+
method: 'GET',
|
|
206
|
+
url: '/w/{workspace}/workspaces/get_workspace_name',
|
|
207
|
+
path: {
|
|
208
|
+
'workspace': workspace,
|
|
209
|
+
},
|
|
210
|
+
});
|
|
211
|
+
}
|
|
212
|
+
/**
|
|
213
|
+
* change workspace name
|
|
214
|
+
* @returns string status
|
|
215
|
+
* @throws ApiError
|
|
216
|
+
*/
|
|
217
|
+
static changeWorkspaceName({ workspace, requestBody, }) {
|
|
218
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
219
|
+
method: 'POST',
|
|
220
|
+
url: '/w/{workspace}/workspaces/change_workspace_name',
|
|
221
|
+
path: {
|
|
222
|
+
'workspace': workspace,
|
|
223
|
+
},
|
|
224
|
+
body: requestBody,
|
|
225
|
+
mediaType: 'application/json',
|
|
226
|
+
});
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* change workspace id
|
|
230
|
+
* @returns string status
|
|
231
|
+
* @throws ApiError
|
|
232
|
+
*/
|
|
233
|
+
static changeWorkspaceId({ workspace, requestBody, }) {
|
|
234
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
235
|
+
method: 'POST',
|
|
236
|
+
url: '/w/{workspace}/workspaces/change_workspace_id',
|
|
237
|
+
path: {
|
|
238
|
+
'workspace': workspace,
|
|
239
|
+
},
|
|
240
|
+
body: requestBody,
|
|
241
|
+
mediaType: 'application/json',
|
|
242
|
+
});
|
|
243
|
+
}
|
|
198
244
|
/**
|
|
199
245
|
* list pending invites for a workspace
|
|
200
246
|
* @returns WorkspaceInvite user
|
|
@@ -485,6 +531,22 @@ class WorkspaceService {
|
|
|
485
531
|
},
|
|
486
532
|
});
|
|
487
533
|
}
|
|
534
|
+
/**
|
|
535
|
+
* set environment variable
|
|
536
|
+
* @returns string status
|
|
537
|
+
* @throws ApiError
|
|
538
|
+
*/
|
|
539
|
+
static setEnvironmentVariable({ workspace, requestBody, }) {
|
|
540
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
541
|
+
method: 'POST',
|
|
542
|
+
url: '/w/{workspace}/workspaces/set_environment_variable',
|
|
543
|
+
path: {
|
|
544
|
+
'workspace': workspace,
|
|
545
|
+
},
|
|
546
|
+
body: requestBody,
|
|
547
|
+
mediaType: 'application/json',
|
|
548
|
+
});
|
|
549
|
+
}
|
|
488
550
|
/**
|
|
489
551
|
* retrieves the encryption key for this workspace
|
|
490
552
|
* @returns any status
|