windmill-client 1.179.1 → 1.181.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.179.1',
6
+ VERSION: '1.181.0',
7
7
  WITH_CREDENTIALS: false,
8
8
  CREDENTIALS: 'include',
9
9
  TOKEN: undefined,
@@ -32,6 +32,17 @@ export declare class AppService {
32
32
  value: any;
33
33
  };
34
34
  }>;
35
+ /**
36
+ * list apps for search
37
+ * @returns any app list
38
+ * @throws ApiError
39
+ */
40
+ static listSearchApp({ workspace, }: {
41
+ workspace: string;
42
+ }): CancelablePromise<Array<{
43
+ path: string;
44
+ value: any;
45
+ }>>;
35
46
  /**
36
47
  * list all available apps
37
48
  * @returns ListableApp All available apps
@@ -29,6 +29,20 @@ class AppService {
29
29
  },
30
30
  });
31
31
  }
32
+ /**
33
+ * list apps for search
34
+ * @returns any app list
35
+ * @throws ApiError
36
+ */
37
+ static listSearchApp({ workspace, }) {
38
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
39
+ method: 'GET',
40
+ url: '/w/{workspace}/apps/list_search',
41
+ path: {
42
+ 'workspace': workspace,
43
+ },
44
+ });
45
+ }
32
46
  /**
33
47
  * list all available apps
34
48
  * @returns ListableApp All available apps
@@ -37,6 +37,17 @@ export declare class FlowService {
37
37
  static listFlowPaths({ workspace, }: {
38
38
  workspace: string;
39
39
  }): CancelablePromise<Array<string>>;
40
+ /**
41
+ * list flows for search
42
+ * @returns any flow list
43
+ * @throws ApiError
44
+ */
45
+ static listSearchFlow({ workspace, }: {
46
+ workspace: string;
47
+ }): CancelablePromise<Array<{
48
+ path: string;
49
+ value: any;
50
+ }>>;
40
51
  /**
41
52
  * list all available flows
42
53
  * @returns any All available flow
@@ -43,6 +43,20 @@ class FlowService {
43
43
  },
44
44
  });
45
45
  }
46
+ /**
47
+ * list flows for search
48
+ * @returns any flow list
49
+ * @throws ApiError
50
+ */
51
+ static listSearchFlow({ workspace, }) {
52
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
53
+ method: 'GET',
54
+ url: '/w/{workspace}/flows/list_search',
55
+ path: {
56
+ 'workspace': workspace,
57
+ },
58
+ });
59
+ }
46
60
  /**
47
61
  * list all available flows
48
62
  * @returns any All available flow
@@ -70,9 +70,13 @@ export declare class ResourceService {
70
70
  * @returns any resource value
71
71
  * @throws ApiError
72
72
  */
73
- static getResourceValueInterpolated({ workspace, path, }: {
73
+ static getResourceValueInterpolated({ workspace, path, jobId, }: {
74
74
  workspace: string;
75
75
  path: string;
76
+ /**
77
+ * job id
78
+ */
79
+ jobId?: string;
76
80
  }): CancelablePromise<any>;
77
81
  /**
78
82
  * get resource value
@@ -116,6 +120,17 @@ export declare class ResourceService {
116
120
  */
117
121
  resourceTypeExclude?: string;
118
122
  }): CancelablePromise<Array<ListableResource>>;
123
+ /**
124
+ * list resources for search
125
+ * @returns any resource list
126
+ * @throws ApiError
127
+ */
128
+ static listSearchResource({ workspace, }: {
129
+ workspace: string;
130
+ }): CancelablePromise<Array<{
131
+ path: string;
132
+ value: any;
133
+ }>>;
119
134
  /**
120
135
  * list resource names
121
136
  * @returns any resource list names
@@ -92,7 +92,7 @@ class ResourceService {
92
92
  * @returns any resource value
93
93
  * @throws ApiError
94
94
  */
95
- static getResourceValueInterpolated({ workspace, path, }) {
95
+ static getResourceValueInterpolated({ workspace, path, jobId, }) {
96
96
  return (0, request_1.request)(OpenAPI_1.OpenAPI, {
97
97
  method: 'GET',
98
98
  url: '/w/{workspace}/resources/get_value_interpolated/{path}',
@@ -100,6 +100,9 @@ class ResourceService {
100
100
  'workspace': workspace,
101
101
  'path': path,
102
102
  },
103
+ query: {
104
+ 'job_id': jobId,
105
+ },
103
106
  });
104
107
  }
105
108
  /**
@@ -152,6 +155,20 @@ class ResourceService {
152
155
  },
153
156
  });
154
157
  }
158
+ /**
159
+ * list resources for search
160
+ * @returns any resource list
161
+ * @throws ApiError
162
+ */
163
+ static listSearchResource({ workspace, }) {
164
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
165
+ method: 'GET',
166
+ url: '/w/{workspace}/resources/list_search',
167
+ path: {
168
+ 'workspace': workspace,
169
+ },
170
+ });
171
+ }
155
172
  /**
156
173
  * list resource names
157
174
  * @returns any resource list names
@@ -63,6 +63,17 @@ export declare class ScriptService {
63
63
  }): CancelablePromise<Array<{
64
64
  id: string;
65
65
  }>>;
66
+ /**
67
+ * list scripts for search
68
+ * @returns any script list
69
+ * @throws ApiError
70
+ */
71
+ static listSearchScript({ workspace, }: {
72
+ workspace: string;
73
+ }): CancelablePromise<Array<{
74
+ path: string;
75
+ content: string;
76
+ }>>;
66
77
  /**
67
78
  * list all available scripts
68
79
  * @returns Script All available scripts
@@ -59,6 +59,20 @@ class ScriptService {
59
59
  },
60
60
  });
61
61
  }
62
+ /**
63
+ * list scripts for search
64
+ * @returns any script list
65
+ * @throws ApiError
66
+ */
67
+ static listSearchScript({ workspace, }) {
68
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
69
+ method: 'GET',
70
+ url: '/w/{workspace}/scripts/list_search',
71
+ path: {
72
+ 'workspace': workspace,
73
+ },
74
+ });
75
+ }
62
76
  /**
63
77
  * list all available scripts
64
78
  * @returns Script All available scripts
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.179.1",
4
+ "version": "1.181.0",
5
5
  "author": "Ruben Fiszel",
6
6
  "license": "Apache 2.0",
7
7
  "devDependencies": {