windmill-client 1.186.0 → 1.187.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.186.0',
6
+ VERSION: '1.187.0',
7
7
  WITH_CREDENTIALS: false,
8
8
  CREDENTIALS: 'include',
9
9
  TOKEN: undefined,
package/dist/index.d.ts CHANGED
@@ -37,6 +37,7 @@ export { FlowStatusModule } from './models/FlowStatusModule';
37
37
  export type { FlowValue } from './models/FlowValue';
38
38
  export type { Folder } from './models/Folder';
39
39
  export type { ForloopFlow } from './models/ForloopFlow';
40
+ export type { GetStarted } from './models/GetStarted';
40
41
  export { GlobalUserInfo } from './models/GlobalUserInfo';
41
42
  export type { Graphql } from './models/Graphql';
42
43
  export type { Group } from './models/Group';
@@ -0,0 +1 @@
1
+ export type GetStarted = boolean;
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ /* generated using openapi-typescript-codegen -- do no edit */
3
+ /* istanbul ignore file */
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -648,12 +648,14 @@ export declare class JobService {
648
648
  * @returns any result
649
649
  * @throws ApiError
650
650
  */
651
- static getCompletedJobResultMaybe({ workspace, id, }: {
651
+ static getCompletedJobResultMaybe({ workspace, id, getStarted, }: {
652
652
  workspace: string;
653
653
  id: string;
654
+ getStarted?: boolean;
654
655
  }): CancelablePromise<{
655
656
  completed: boolean;
656
657
  result: any;
658
+ started?: boolean;
657
659
  }>;
658
660
  /**
659
661
  * delete completed job (erase content but keep run id)
@@ -483,7 +483,7 @@ class JobService {
483
483
  * @returns any result
484
484
  * @throws ApiError
485
485
  */
486
- static getCompletedJobResultMaybe({ workspace, id, }) {
486
+ static getCompletedJobResultMaybe({ workspace, id, getStarted, }) {
487
487
  return (0, request_1.request)(OpenAPI_1.OpenAPI, {
488
488
  method: 'GET',
489
489
  url: '/w/{workspace}/jobs_u/completed/get_result_maybe/{id}',
@@ -491,6 +491,9 @@ class JobService {
491
491
  'workspace': workspace,
492
492
  'id': id,
493
493
  },
494
+ query: {
495
+ 'get_started': getStarted,
496
+ },
494
497
  });
495
498
  }
496
499
  /**
@@ -49,8 +49,8 @@ export declare class ScriptService {
49
49
  ask_id: number;
50
50
  summary: string;
51
51
  app: string;
52
- approved: boolean;
53
- kind: 'script' | 'failure' | 'trigger' | 'command' | 'approval';
52
+ version_id: number;
53
+ kind: 'script' | 'failure' | 'trigger' | 'approval';
54
54
  votes: number;
55
55
  views: number;
56
56
  }>;
@@ -83,7 +83,7 @@ export declare class ScriptService {
83
83
  version_id: number;
84
84
  summary: string;
85
85
  app: string;
86
- kind: 'script' | 'failure' | 'trigger' | 'command' | 'approval';
86
+ kind: 'script' | 'failure' | 'trigger' | 'approval';
87
87
  score: number;
88
88
  }>>;
89
89
  /**
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.186.0",
4
+ "version": "1.187.0",
5
5
  "author": "Ruben Fiszel",
6
6
  "license": "Apache 2.0",
7
7
  "devDependencies": {