windmill-client 1.358.1 → 1.360.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/client.d.ts CHANGED
@@ -19,7 +19,7 @@ export declare function getWorkspace(): string;
19
19
  */
20
20
  export declare function getResource(path?: string, undefinedIfEmpty?: boolean): Promise<any>;
21
21
  /**
22
- * Get a resource value by path
22
+ * Get the true root job id
23
23
  * @param jobId job id to get the root job id from (default to current job)
24
24
  * @returns root job id
25
25
  */
package/dist/client.js CHANGED
@@ -87,7 +87,7 @@ function getResource(path, undefinedIfEmpty) {
87
87
  }
88
88
  exports.getResource = getResource;
89
89
  /**
90
- * Get a resource value by path
90
+ * Get the true root job id
91
91
  * @param jobId job id to get the root job id from (default to current job)
92
92
  * @returns root job id
93
93
  */
@@ -39,7 +39,7 @@ exports.OpenAPI = {
39
39
  PASSWORD: undefined,
40
40
  TOKEN: getEnv("WM_TOKEN"),
41
41
  USERNAME: undefined,
42
- VERSION: '1.358.1',
42
+ VERSION: '1.360.0',
43
43
  WITH_CREDENTIALS: true,
44
44
  interceptors: {
45
45
  request: new Interceptors(),
@@ -3027,6 +3027,8 @@ export declare class InputService {
3027
3027
  * @param data The data for the request.
3028
3028
  * @param data.workspace
3029
3029
  * @param data.jobOrInputId
3030
+ * @param data.input
3031
+ * @param data.allowLarge
3030
3032
  * @returns unknown args
3031
3033
  * @throws ApiError
3032
3034
  */
@@ -6092,6 +6092,8 @@ class InputService {
6092
6092
  * @param data The data for the request.
6093
6093
  * @param data.workspace
6094
6094
  * @param data.jobOrInputId
6095
+ * @param data.input
6096
+ * @param data.allowLarge
6095
6097
  * @returns unknown args
6096
6098
  * @throws ApiError
6097
6099
  */
@@ -6102,6 +6104,10 @@ class InputService {
6102
6104
  path: {
6103
6105
  workspace: data.workspace,
6104
6106
  jobOrInputId: data.jobOrInputId
6107
+ },
6108
+ query: {
6109
+ input: data.input,
6110
+ allow_large: data.allowLarge
6105
6111
  }
6106
6112
  });
6107
6113
  }
@@ -89,9 +89,6 @@ export type ScriptArgs = {
89
89
  export type Input = {
90
90
  id: string;
91
91
  name: string;
92
- args: {
93
- [key: string]: unknown;
94
- };
95
92
  created_by: string;
96
93
  created_at: string;
97
94
  is_public: boolean;
@@ -4363,6 +4360,8 @@ export type GetInputHistoryData = {
4363
4360
  };
4364
4361
  export type GetInputHistoryResponse = Array<Input>;
4365
4362
  export type GetArgsFromHistoryOrSavedInputData = {
4363
+ allowLarge?: boolean;
4364
+ input?: boolean;
4366
4365
  jobOrInputId: string;
4367
4366
  workspace: string;
4368
4367
  };
@@ -10549,6 +10548,8 @@ export type $OpenApiTs = {
10549
10548
  '/w/{workspace}/inputs/{jobOrInputId}/args': {
10550
10549
  get: {
10551
10550
  req: {
10551
+ allowLarge?: boolean;
10552
+ input?: boolean;
10552
10553
  jobOrInputId: string;
10553
10554
  workspace: string;
10554
10555
  };
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.358.1",
4
+ "version": "1.360.0",
5
5
  "author": "Ruben Fiszel",
6
6
  "license": "Apache 2.0",
7
7
  "devDependencies": {