windmill-client 1.351.0 → 1.352.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.
@@ -39,7 +39,7 @@ exports.OpenAPI = {
39
39
  PASSWORD: undefined,
40
40
  TOKEN: getEnv("WM_TOKEN"),
41
41
  USERNAME: undefined,
42
- VERSION: '1.351.0',
42
+ VERSION: '1.352.0',
43
43
  WITH_CREDENTIALS: true,
44
44
  interceptors: {
45
45
  request: new Interceptors(),
@@ -890,6 +890,7 @@ export declare class VariableService {
890
890
  * list variables
891
891
  * @param data The data for the request.
892
892
  * @param data.workspace
893
+ * @param data.pathStart
893
894
  * @returns ListableVariable variable list
894
895
  * @throws ApiError
895
896
  */
@@ -1064,6 +1065,7 @@ export declare class ResourceService {
1064
1065
  * @param data.perPage number of items to return for a given page (default 30, max 100)
1065
1066
  * @param data.resourceType resource_types to list from, separated by ',',
1066
1067
  * @param data.resourceTypeExclude resource_types to not list from, separated by ',',
1068
+ * @param data.pathStart
1067
1069
  * @returns ListableResource resource list
1068
1070
  * @throws ApiError
1069
1071
  */
@@ -2583,6 +2585,7 @@ export declare class ScheduleService {
2583
2585
  * @param data.args filter on jobs containing those args as a json subset (@> in postgres)
2584
2586
  * @param data.path filter by path
2585
2587
  * @param data.isFlow
2588
+ * @param data.pathStart
2586
2589
  * @returns Schedule schedule list
2587
2590
  * @throws ApiError
2588
2591
  */
@@ -1767,6 +1767,7 @@ class VariableService {
1767
1767
  * list variables
1768
1768
  * @param data The data for the request.
1769
1769
  * @param data.workspace
1770
+ * @param data.pathStart
1770
1771
  * @returns ListableVariable variable list
1771
1772
  * @throws ApiError
1772
1773
  */
@@ -1776,6 +1777,9 @@ class VariableService {
1776
1777
  url: '/w/{workspace}/variables/list',
1777
1778
  path: {
1778
1779
  workspace: data.workspace
1780
+ },
1781
+ query: {
1782
+ path_start: data.pathStart
1779
1783
  }
1780
1784
  });
1781
1785
  }
@@ -2118,6 +2122,7 @@ class ResourceService {
2118
2122
  * @param data.perPage number of items to return for a given page (default 30, max 100)
2119
2123
  * @param data.resourceType resource_types to list from, separated by ',',
2120
2124
  * @param data.resourceTypeExclude resource_types to not list from, separated by ',',
2125
+ * @param data.pathStart
2121
2126
  * @returns ListableResource resource list
2122
2127
  * @throws ApiError
2123
2128
  */
@@ -2132,7 +2137,8 @@ class ResourceService {
2132
2137
  page: data.page,
2133
2138
  per_page: data.perPage,
2134
2139
  resource_type: data.resourceType,
2135
- resource_type_exclude: data.resourceTypeExclude
2140
+ resource_type_exclude: data.resourceTypeExclude,
2141
+ path_start: data.pathStart
2136
2142
  }
2137
2143
  });
2138
2144
  }
@@ -5185,6 +5191,7 @@ class ScheduleService {
5185
5191
  * @param data.args filter on jobs containing those args as a json subset (@> in postgres)
5186
5192
  * @param data.path filter by path
5187
5193
  * @param data.isFlow
5194
+ * @param data.pathStart
5188
5195
  * @returns Schedule schedule list
5189
5196
  * @throws ApiError
5190
5197
  */
@@ -5200,7 +5207,8 @@ class ScheduleService {
5200
5207
  per_page: data.perPage,
5201
5208
  args: data.args,
5202
5209
  path: data.path,
5203
- is_flow: data.isFlow
5210
+ is_flow: data.isFlow,
5211
+ path_start: data.pathStart
5204
5212
  }
5205
5213
  });
5206
5214
  }
@@ -359,6 +359,8 @@ export type Resource = {
359
359
  extra_perms?: {
360
360
  [key: string]: (boolean);
361
361
  };
362
+ created_by?: string;
363
+ edited_at?: string;
362
364
  };
363
365
  export type ListableResource = {
364
366
  workspace_id?: string;
@@ -375,12 +377,16 @@ export type ListableResource = {
375
377
  is_linked: boolean;
376
378
  is_refreshed: boolean;
377
379
  account?: number;
380
+ created_by?: string;
381
+ edited_at?: string;
378
382
  };
379
383
  export type ResourceType = {
380
384
  workspace_id?: string;
381
385
  name: string;
382
386
  schema?: unknown;
383
387
  description?: string;
388
+ created_by?: string;
389
+ edited_at?: string;
384
390
  };
385
391
  export type EditResourceType = {
386
392
  schema?: unknown;
@@ -478,6 +484,9 @@ export type Folder = {
478
484
  extra_perms: {
479
485
  [key: string]: (boolean);
480
486
  };
487
+ summary?: string;
488
+ created_by?: string;
489
+ edited_at?: string;
481
490
  };
482
491
  export type WorkerPing = {
483
492
  worker: string;
@@ -1807,6 +1816,7 @@ export type ExistsVariableData = {
1807
1816
  };
1808
1817
  export type ExistsVariableResponse = boolean;
1809
1818
  export type ListVariableData = {
1819
+ pathStart?: string;
1810
1820
  workspace: string;
1811
1821
  };
1812
1822
  export type ListVariableResponse = Array<ListableVariable>;
@@ -1948,6 +1958,7 @@ export type ListResourceData = {
1948
1958
  * which page to return (start at 1, default 1)
1949
1959
  */
1950
1960
  page?: number;
1961
+ pathStart?: string;
1951
1962
  /**
1952
1963
  * number of items to return for a given page (default 30, max 100)
1953
1964
  */
@@ -3909,6 +3920,7 @@ export type ListSchedulesData = {
3909
3920
  * filter by path
3910
3921
  */
3911
3922
  path?: string;
3923
+ pathStart?: string;
3912
3924
  /**
3913
3925
  * number of items to return for a given page (default 30, max 100)
3914
3926
  */
@@ -4095,6 +4107,7 @@ export type CreateFolderData = {
4095
4107
  */
4096
4108
  requestBody: {
4097
4109
  name: string;
4110
+ summary?: string;
4098
4111
  owners?: Array<(string)>;
4099
4112
  extra_perms?: unknown;
4100
4113
  };
@@ -4107,6 +4120,7 @@ export type UpdateFolderData = {
4107
4120
  * update folder
4108
4121
  */
4109
4122
  requestBody: {
4123
+ summary?: string;
4110
4124
  owners?: Array<(string)>;
4111
4125
  extra_perms?: unknown;
4112
4126
  };
@@ -6152,6 +6166,7 @@ export type $OpenApiTs = {
6152
6166
  '/w/{workspace}/variables/list': {
6153
6167
  get: {
6154
6168
  req: {
6169
+ pathStart?: string;
6155
6170
  workspace: string;
6156
6171
  };
6157
6172
  res: {
@@ -6464,6 +6479,7 @@ export type $OpenApiTs = {
6464
6479
  * which page to return (start at 1, default 1)
6465
6480
  */
6466
6481
  page?: number;
6482
+ pathStart?: string;
6467
6483
  /**
6468
6484
  * number of items to return for a given page (default 30, max 100)
6469
6485
  */
@@ -9614,6 +9630,7 @@ export type $OpenApiTs = {
9614
9630
  * filter by path
9615
9631
  */
9616
9632
  path?: string;
9633
+ pathStart?: string;
9617
9634
  /**
9618
9635
  * number of items to return for a given page (default 30, max 100)
9619
9636
  */
@@ -9980,6 +9997,7 @@ export type $OpenApiTs = {
9980
9997
  */
9981
9998
  requestBody: {
9982
9999
  name: string;
10000
+ summary?: string;
9983
10001
  owners?: Array<(string)>;
9984
10002
  extra_perms?: unknown;
9985
10003
  };
@@ -10001,6 +10019,7 @@ export type $OpenApiTs = {
10001
10019
  * update folder
10002
10020
  */
10003
10021
  requestBody: {
10022
+ summary?: string;
10004
10023
  owners?: Array<(string)>;
10005
10024
  extra_perms?: unknown;
10006
10025
  };
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.351.0",
4
+ "version": "1.352.0",
5
5
  "author": "Ruben Fiszel",
6
6
  "license": "Apache 2.0",
7
7
  "devDependencies": {