windmill-client 1.371.3 → 1.372.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/services.gen.d.ts +2 -0
- package/dist/services.gen.js +5 -1
- package/dist/types.gen.d.ts +18 -0
- package/package.json +1 -1
package/dist/core/OpenAPI.js
CHANGED
package/dist/services.gen.d.ts
CHANGED
|
@@ -913,6 +913,8 @@ export declare class VariableService {
|
|
|
913
913
|
* @param data The data for the request.
|
|
914
914
|
* @param data.workspace
|
|
915
915
|
* @param data.pathStart
|
|
916
|
+
* @param data.page which page to return (start at 1, default 1)
|
|
917
|
+
* @param data.perPage number of items to return for a given page (default 30, max 100)
|
|
916
918
|
* @returns ListableVariable variable list
|
|
917
919
|
* @throws ApiError
|
|
918
920
|
*/
|
package/dist/services.gen.js
CHANGED
|
@@ -1809,6 +1809,8 @@ class VariableService {
|
|
|
1809
1809
|
* @param data The data for the request.
|
|
1810
1810
|
* @param data.workspace
|
|
1811
1811
|
* @param data.pathStart
|
|
1812
|
+
* @param data.page which page to return (start at 1, default 1)
|
|
1813
|
+
* @param data.perPage number of items to return for a given page (default 30, max 100)
|
|
1812
1814
|
* @returns ListableVariable variable list
|
|
1813
1815
|
* @throws ApiError
|
|
1814
1816
|
*/
|
|
@@ -1820,7 +1822,9 @@ class VariableService {
|
|
|
1820
1822
|
workspace: data.workspace
|
|
1821
1823
|
},
|
|
1822
1824
|
query: {
|
|
1823
|
-
path_start: data.pathStart
|
|
1825
|
+
path_start: data.pathStart,
|
|
1826
|
+
page: data.page,
|
|
1827
|
+
per_page: data.perPage
|
|
1824
1828
|
}
|
|
1825
1829
|
});
|
|
1826
1830
|
}
|
package/dist/types.gen.d.ts
CHANGED
|
@@ -253,6 +253,7 @@ export type ListableVariable = {
|
|
|
253
253
|
refresh_error?: string;
|
|
254
254
|
is_linked?: boolean;
|
|
255
255
|
is_refreshed?: boolean;
|
|
256
|
+
expires_at?: string;
|
|
256
257
|
};
|
|
257
258
|
export type ContextualVariable = {
|
|
258
259
|
name: string;
|
|
@@ -267,6 +268,7 @@ export type CreateVariable = {
|
|
|
267
268
|
description: string;
|
|
268
269
|
account?: number;
|
|
269
270
|
is_oauth?: boolean;
|
|
271
|
+
expires_at?: string;
|
|
270
272
|
};
|
|
271
273
|
export type EditVariable = {
|
|
272
274
|
path?: string;
|
|
@@ -1877,7 +1879,15 @@ export type ExistsVariableData = {
|
|
|
1877
1879
|
};
|
|
1878
1880
|
export type ExistsVariableResponse = boolean;
|
|
1879
1881
|
export type ListVariableData = {
|
|
1882
|
+
/**
|
|
1883
|
+
* which page to return (start at 1, default 1)
|
|
1884
|
+
*/
|
|
1885
|
+
page?: number;
|
|
1880
1886
|
pathStart?: string;
|
|
1887
|
+
/**
|
|
1888
|
+
* number of items to return for a given page (default 30, max 100)
|
|
1889
|
+
*/
|
|
1890
|
+
perPage?: number;
|
|
1881
1891
|
workspace: string;
|
|
1882
1892
|
};
|
|
1883
1893
|
export type ListVariableResponse = Array<ListableVariable>;
|
|
@@ -6371,7 +6381,15 @@ export type $OpenApiTs = {
|
|
|
6371
6381
|
'/w/{workspace}/variables/list': {
|
|
6372
6382
|
get: {
|
|
6373
6383
|
req: {
|
|
6384
|
+
/**
|
|
6385
|
+
* which page to return (start at 1, default 1)
|
|
6386
|
+
*/
|
|
6387
|
+
page?: number;
|
|
6374
6388
|
pathStart?: string;
|
|
6389
|
+
/**
|
|
6390
|
+
* number of items to return for a given page (default 30, max 100)
|
|
6391
|
+
*/
|
|
6392
|
+
perPage?: number;
|
|
6375
6393
|
workspace: string;
|
|
6376
6394
|
};
|
|
6377
6395
|
res: {
|