windmill-client 1.168.2 → 1.168.3

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.168.2',
6
+ VERSION: '1.168.3',
7
7
  WITH_CREDENTIALS: false,
8
8
  CREDENTIALS: 'include',
9
9
  TOKEN: undefined,
@@ -116,6 +116,18 @@ export declare class ResourceService {
116
116
  */
117
117
  resourceTypeExclude?: string;
118
118
  }): CancelablePromise<Array<ListableResource>>;
119
+ /**
120
+ * list resource names
121
+ * @returns any resource list names
122
+ * @throws ApiError
123
+ */
124
+ static listResourceNames({ workspace, name, }: {
125
+ workspace: string;
126
+ name: string;
127
+ }): CancelablePromise<Array<{
128
+ name: string;
129
+ path: string;
130
+ }>>;
119
131
  /**
120
132
  * create resource_type
121
133
  * @returns string resource_type created
@@ -152,6 +152,21 @@ class ResourceService {
152
152
  },
153
153
  });
154
154
  }
155
+ /**
156
+ * list resource names
157
+ * @returns any resource list names
158
+ * @throws ApiError
159
+ */
160
+ static listResourceNames({ workspace, name, }) {
161
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
162
+ method: 'GET',
163
+ url: '/w/{workspace}/resources/list_names/{name}',
164
+ path: {
165
+ 'workspace': workspace,
166
+ 'name': name,
167
+ },
168
+ });
169
+ }
155
170
  /**
156
171
  * create resource_type
157
172
  * @returns string resource_type created
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.168.2",
4
+ "version": "1.168.3",
5
5
  "author": "Ruben Fiszel",
6
6
  "license": "Apache 2.0",
7
7
  "devDependencies": {