windmill-client 1.371.3 → 1.371.4

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.
@@ -39,7 +39,7 @@ exports.OpenAPI = {
39
39
  PASSWORD: undefined,
40
40
  TOKEN: getEnv("WM_TOKEN"),
41
41
  USERNAME: undefined,
42
- VERSION: '1.371.3',
42
+ VERSION: '1.371.4',
43
43
  WITH_CREDENTIALS: true,
44
44
  interceptors: {
45
45
  request: new Interceptors(),
@@ -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
  */
@@ -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
  }
@@ -1877,7 +1877,15 @@ export type ExistsVariableData = {
1877
1877
  };
1878
1878
  export type ExistsVariableResponse = boolean;
1879
1879
  export type ListVariableData = {
1880
+ /**
1881
+ * which page to return (start at 1, default 1)
1882
+ */
1883
+ page?: number;
1880
1884
  pathStart?: string;
1885
+ /**
1886
+ * number of items to return for a given page (default 30, max 100)
1887
+ */
1888
+ perPage?: number;
1881
1889
  workspace: string;
1882
1890
  };
1883
1891
  export type ListVariableResponse = Array<ListableVariable>;
@@ -6371,7 +6379,15 @@ export type $OpenApiTs = {
6371
6379
  '/w/{workspace}/variables/list': {
6372
6380
  get: {
6373
6381
  req: {
6382
+ /**
6383
+ * which page to return (start at 1, default 1)
6384
+ */
6385
+ page?: number;
6374
6386
  pathStart?: string;
6387
+ /**
6388
+ * number of items to return for a given page (default 30, max 100)
6389
+ */
6390
+ perPage?: number;
6375
6391
  workspace: string;
6376
6392
  };
6377
6393
  res: {
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.371.3",
4
+ "version": "1.371.4",
5
5
  "author": "Ruben Fiszel",
6
6
  "license": "Apache 2.0",
7
7
  "devDependencies": {