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.
- package/dist/core/OpenAPI.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/models/GetStarted.d.ts +1 -0
- package/dist/models/GetStarted.js +6 -0
- package/dist/services/JobService.d.ts +3 -1
- package/dist/services/JobService.js +4 -1
- package/dist/services/ScriptService.d.ts +3 -3
- package/package.json +1 -1
package/dist/core/OpenAPI.js
CHANGED
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;
|
|
@@ -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
|
-
|
|
53
|
-
kind: 'script' | 'failure' | 'trigger' | '
|
|
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' | '
|
|
86
|
+
kind: 'script' | 'failure' | 'trigger' | 'approval';
|
|
87
87
|
score: number;
|
|
88
88
|
}>>;
|
|
89
89
|
/**
|