windmill-client 1.294.0 → 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
|
/**
|
|
@@ -449,6 +449,21 @@ export declare class WorkspaceService {
|
|
|
449
449
|
static getDefaultScripts({ workspace, }: {
|
|
450
450
|
workspace: string;
|
|
451
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>;
|
|
452
467
|
/**
|
|
453
468
|
* retrieves the encryption key for this workspace
|
|
454
469
|
* @returns any status
|
|
@@ -531,6 +531,22 @@ class WorkspaceService {
|
|
|
531
531
|
},
|
|
532
532
|
});
|
|
533
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
|
+
}
|
|
534
550
|
/**
|
|
535
551
|
* retrieves the encryption key for this workspace
|
|
536
552
|
* @returns any status
|