windmill-client 1.308.2 → 1.309.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.
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.OpenAPI = void 0;
4
4
  exports.OpenAPI = {
5
5
  BASE: '/api',
6
- VERSION: '1.308.2',
6
+ VERSION: '1.309.0',
7
7
  WITH_CREDENTIALS: false,
8
8
  CREDENTIALS: 'include',
9
9
  TOKEN: undefined,
@@ -7,7 +7,7 @@ export type AppWithLastVersion = {
7
7
  versions: Array<number>;
8
8
  created_by: string;
9
9
  created_at: string;
10
- value: any;
10
+ value: Record<string, any>;
11
11
  policy: Policy;
12
12
  execution_mode: AppWithLastVersion.execution_mode;
13
13
  extra_perms: Record<string, boolean>;
@@ -4,8 +4,7 @@ export type FlowMetadata = {
4
4
  edited_by: string;
5
5
  edited_at: string;
6
6
  archived: boolean;
7
- extra_perms: Record<string, any>;
8
- additionalProperties?: boolean;
7
+ extra_perms: Record<string, boolean>;
9
8
  starred?: boolean;
10
9
  draft_only?: boolean;
11
10
  tag?: string;
@@ -1,11 +1,12 @@
1
1
  import type { CompletedJob } from './CompletedJob';
2
2
  import type { QueuedJob } from './QueuedJob';
3
- export type Job = ((CompletedJob | QueuedJob) & {
3
+ export type Job = ((CompletedJob & {
4
4
  type?: Job.type;
5
- });
5
+ }) | (QueuedJob & {
6
+ type?: Job.type;
7
+ }));
6
8
  export declare namespace Job {
7
9
  enum type {
8
- COMPLETED_JOB = "CompletedJob",
9
- QUEUED_JOB = "QueuedJob"
10
+ COMPLETED_JOB = "CompletedJob"
10
11
  }
11
12
  }
@@ -6,6 +6,5 @@ var Job;
6
6
  let type;
7
7
  (function (type) {
8
8
  type["COMPLETED_JOB"] = "CompletedJob";
9
- type["QUEUED_JOB"] = "QueuedJob";
10
9
  })(type = Job.type || (Job.type = {}));
11
10
  })(Job || (exports.Job = Job = {}));
@@ -810,6 +810,15 @@ export declare class JobService {
810
810
  mem_peak?: number;
811
811
  flow_status?: WorkflowStatusRecord;
812
812
  }>;
813
+ /**
814
+ * get log file from object store
815
+ * @returns any job log
816
+ * @throws ApiError
817
+ */
818
+ static getLogFileFromStore({ workspace, path, }: {
819
+ workspace: string;
820
+ path: string;
821
+ }): CancelablePromise<any>;
813
822
  /**
814
823
  * get flow debug info
815
824
  * @returns any flow debug info details
@@ -552,6 +552,21 @@ class JobService {
552
552
  },
553
553
  });
554
554
  }
555
+ /**
556
+ * get log file from object store
557
+ * @returns any job log
558
+ * @throws ApiError
559
+ */
560
+ static getLogFileFromStore({ workspace, path, }) {
561
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
562
+ method: 'GET',
563
+ url: '/w/{workspace}/jobs_u/get_log_file/{path}',
564
+ path: {
565
+ 'workspace': workspace,
566
+ 'path': path,
567
+ },
568
+ });
569
+ }
555
570
  /**
556
571
  * get flow debug info
557
572
  * @returns any flow debug info details
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "windmill-client",
3
3
  "description": "Windmill SDK client for browsers and Node.js",
4
- "version": "1.308.2",
4
+ "version": "1.309.0",
5
5
  "author": "Ruben Fiszel",
6
6
  "license": "Apache 2.0",
7
7
  "devDependencies": {