@goauthentik/api 2021.9.5-1633425132 → 2021.9.5-1633429910

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.
@@ -9,7 +9,6 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { Group } from './';
13
12
  /**
14
13
  * User Serializer for information a user can retrieve about themselves and
15
14
  * update about themselves
@@ -49,10 +48,10 @@ export interface UserSelf {
49
48
  readonly isSuperuser: boolean;
50
49
  /**
51
50
  *
52
- * @type {Array<Group>}
51
+ * @type {Array<string>}
53
52
  * @memberof UserSelf
54
53
  */
55
- readonly groups: Array<Group>;
54
+ readonly groups: Array<string>;
56
55
  /**
57
56
  *
58
57
  * @type {string}
@@ -12,7 +12,6 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import { exists } from '../runtime';
15
- import { GroupFromJSON, } from './';
16
15
  export function UserSelfFromJSON(json) {
17
16
  return UserSelfFromJSONTyped(json, false);
18
17
  }
@@ -26,7 +25,7 @@ export function UserSelfFromJSONTyped(json, ignoreDiscriminator) {
26
25
  'name': json['name'],
27
26
  'isActive': json['is_active'],
28
27
  'isSuperuser': json['is_superuser'],
29
- 'groups': (json['groups'].map(GroupFromJSON)),
28
+ 'groups': json['groups'],
30
29
  'email': !exists(json, 'email') ? undefined : json['email'],
31
30
  'avatar': json['avatar'],
32
31
  'uid': json['uid'],
@@ -9,7 +9,6 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { Group } from './';
13
12
  /**
14
13
  * User Serializer for information a user can retrieve about themselves and
15
14
  * update about themselves
@@ -49,10 +48,10 @@ export interface UserSelf {
49
48
  readonly isSuperuser: boolean;
50
49
  /**
51
50
  *
52
- * @type {Array<Group>}
51
+ * @type {Array<string>}
53
52
  * @memberof UserSelf
54
53
  */
55
- readonly groups: Array<Group>;
54
+ readonly groups: Array<string>;
56
55
  /**
57
56
  *
58
57
  * @type {string}
@@ -15,7 +15,6 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.UserSelfToJSON = exports.UserSelfFromJSONTyped = exports.UserSelfFromJSON = void 0;
17
17
  const runtime_1 = require("../runtime");
18
- const _1 = require("./");
19
18
  function UserSelfFromJSON(json) {
20
19
  return UserSelfFromJSONTyped(json, false);
21
20
  }
@@ -30,7 +29,7 @@ function UserSelfFromJSONTyped(json, ignoreDiscriminator) {
30
29
  'name': json['name'],
31
30
  'isActive': json['is_active'],
32
31
  'isSuperuser': json['is_superuser'],
33
- 'groups': (json['groups'].map(_1.GroupFromJSON)),
32
+ 'groups': json['groups'],
34
33
  'email': !runtime_1.exists(json, 'email') ? undefined : json['email'],
35
34
  'avatar': json['avatar'],
36
35
  'uid': json['uid'],
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name": "@goauthentik/api", "version": "2021.9.5-1633425132", "description": "OpenAPI client for @goauthentik/api", "author": "OpenAPI-Generator", "main": "./dist/index.js", "typings": "./dist/index.d.ts", "scripts": {"build": "tsc && tsc --project tsconfig.esm.json", "prepare": "npm run build"}, "devDependencies": {"typescript": "^3.9.5"}, "license": "GPL-3.0-only", "module": "./dist/esm/index.js", "sideEffects": false}
1
+ {"name": "@goauthentik/api", "version": "2021.9.5-1633429910", "description": "OpenAPI client for @goauthentik/api", "author": "OpenAPI-Generator", "main": "./dist/index.js", "typings": "./dist/index.d.ts", "scripts": {"build": "tsc && tsc --project tsconfig.esm.json", "prepare": "npm run build"}, "devDependencies": {"typescript": "^3.9.5"}, "license": "GPL-3.0-only", "module": "./dist/esm/index.js", "sideEffects": false}
@@ -13,13 +13,6 @@
13
13
  */
14
14
 
15
15
  import { exists, mapValues } from '../runtime';
16
- import {
17
- Group,
18
- GroupFromJSON,
19
- GroupFromJSONTyped,
20
- GroupToJSON,
21
- } from './';
22
-
23
16
  /**
24
17
  * User Serializer for information a user can retrieve about themselves and
25
18
  * update about themselves
@@ -59,10 +52,10 @@ export interface UserSelf {
59
52
  readonly isSuperuser: boolean;
60
53
  /**
61
54
  *
62
- * @type {Array<Group>}
55
+ * @type {Array<string>}
63
56
  * @memberof UserSelf
64
57
  */
65
- readonly groups: Array<Group>;
58
+ readonly groups: Array<string>;
66
59
  /**
67
60
  *
68
61
  * @type {string}
@@ -98,7 +91,7 @@ export function UserSelfFromJSONTyped(json: any, ignoreDiscriminator: boolean):
98
91
  'name': json['name'],
99
92
  'isActive': json['is_active'],
100
93
  'isSuperuser': json['is_superuser'],
101
- 'groups': ((json['groups'] as Array<any>).map(GroupFromJSON)),
94
+ 'groups': json['groups'],
102
95
  'email': !exists(json, 'email') ? undefined : json['email'],
103
96
  'avatar': json['avatar'],
104
97
  'uid': json['uid'],