windmill-client 1.413.1 → 1.414.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.413.1',
42
+ VERSION: '1.414.0',
43
43
  WITH_CREDENTIALS: true,
44
44
  interceptors: {
45
45
  request: new Interceptors(),
@@ -274,6 +274,7 @@ export declare class UserService {
274
274
  * @param data The data for the request.
275
275
  * @param data.page which page to return (start at 1, default 1)
276
276
  * @param data.perPage number of items to return for a given page (default 30, max 100)
277
+ * @param data.activeOnly filter only active users
277
278
  * @returns GlobalUserInfo user
278
279
  * @throws ApiError
279
280
  */
@@ -527,6 +527,7 @@ class UserService {
527
527
  * @param data The data for the request.
528
528
  * @param data.page which page to return (start at 1, default 1)
529
529
  * @param data.perPage number of items to return for a given page (default 30, max 100)
530
+ * @param data.activeOnly filter only active users
530
531
  * @returns GlobalUserInfo user
531
532
  * @throws ApiError
532
533
  */
@@ -536,7 +537,8 @@ class UserService {
536
537
  url: '/users/list_as_super_admin',
537
538
  query: {
538
539
  page: data.page,
539
- per_page: data.perPage
540
+ per_page: data.perPage,
541
+ active_only: data.activeOnly
540
542
  }
541
543
  });
542
544
  }
@@ -644,6 +644,7 @@ export type GlobalUserInfo = {
644
644
  name?: string;
645
645
  company?: string;
646
646
  username?: string;
647
+ operator_only?: boolean;
647
648
  };
648
649
  export type Flow = OpenFlow & FlowMetadata;
649
650
  export type ExtraPerms = {
@@ -1483,6 +1484,10 @@ export type ExistsEmailData = {
1483
1484
  };
1484
1485
  export type ExistsEmailResponse = boolean;
1485
1486
  export type ListUsersAsSuperAdminData = {
1487
+ /**
1488
+ * filter only active users
1489
+ */
1490
+ activeOnly?: boolean;
1486
1491
  /**
1487
1492
  * which page to return (start at 1, default 1)
1488
1493
  */
@@ -5639,6 +5644,10 @@ export type $OpenApiTs = {
5639
5644
  '/users/list_as_super_admin': {
5640
5645
  get: {
5641
5646
  req: {
5647
+ /**
5648
+ * filter only active users
5649
+ */
5650
+ activeOnly?: boolean;
5642
5651
  /**
5643
5652
  * which page to return (start at 1, default 1)
5644
5653
  */
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.413.1",
4
+ "version": "1.414.0",
5
5
  "author": "Ruben Fiszel",
6
6
  "license": "Apache 2.0",
7
7
  "devDependencies": {