@goauthentik/api 2023.8.3-1696802918 → 2023.8.3-1696847703

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.
@@ -103,6 +103,12 @@ export interface User {
103
103
  * @memberof User
104
104
  */
105
105
  type?: UserTypeEnum;
106
+ /**
107
+ *
108
+ * @type {string}
109
+ * @memberof User
110
+ */
111
+ readonly uuid: string;
106
112
  }
107
113
  /**
108
114
  * Check if a given object implements the User interface.
@@ -26,6 +26,7 @@ export function instanceOfUser(value) {
26
26
  isInstance = isInstance && "groupsObj" in value;
27
27
  isInstance = isInstance && "avatar" in value;
28
28
  isInstance = isInstance && "uid" in value;
29
+ isInstance = isInstance && "uuid" in value;
29
30
  return isInstance;
30
31
  }
31
32
  export function UserFromJSON(json) {
@@ -50,6 +51,7 @@ export function UserFromJSONTyped(json, ignoreDiscriminator) {
50
51
  'uid': json['uid'],
51
52
  'path': !exists(json, 'path') ? undefined : json['path'],
52
53
  'type': !exists(json, 'type') ? undefined : UserTypeEnumFromJSON(json['type']),
54
+ 'uuid': json['uuid'],
53
55
  };
54
56
  }
55
57
  export function UserToJSON(value) {
@@ -103,6 +103,12 @@ export interface User {
103
103
  * @memberof User
104
104
  */
105
105
  type?: UserTypeEnum;
106
+ /**
107
+ *
108
+ * @type {string}
109
+ * @memberof User
110
+ */
111
+ readonly uuid: string;
106
112
  }
107
113
  /**
108
114
  * Check if a given object implements the User interface.
@@ -29,6 +29,7 @@ function instanceOfUser(value) {
29
29
  isInstance = isInstance && "groupsObj" in value;
30
30
  isInstance = isInstance && "avatar" in value;
31
31
  isInstance = isInstance && "uid" in value;
32
+ isInstance = isInstance && "uuid" in value;
32
33
  return isInstance;
33
34
  }
34
35
  exports.instanceOfUser = instanceOfUser;
@@ -55,6 +56,7 @@ function UserFromJSONTyped(json, ignoreDiscriminator) {
55
56
  'uid': json['uid'],
56
57
  'path': !(0, runtime_1.exists)(json, 'path') ? undefined : json['path'],
57
58
  'type': !(0, runtime_1.exists)(json, 'type') ? undefined : (0, UserTypeEnum_1.UserTypeEnumFromJSON)(json['type']),
59
+ 'uuid': json['uuid'],
58
60
  };
59
61
  }
60
62
  exports.UserFromJSONTyped = UserFromJSONTyped;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goauthentik/api",
3
- "version": "2023.8.3-1696802918",
3
+ "version": "2023.8.3-1696847703",
4
4
  "description": "OpenAPI client for @goauthentik/api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -116,6 +116,12 @@ export interface User {
116
116
  * @memberof User
117
117
  */
118
118
  type?: UserTypeEnum;
119
+ /**
120
+ *
121
+ * @type {string}
122
+ * @memberof User
123
+ */
124
+ readonly uuid: string;
119
125
  }
120
126
 
121
127
  /**
@@ -130,6 +136,7 @@ export function instanceOfUser(value: object): boolean {
130
136
  isInstance = isInstance && "groupsObj" in value;
131
137
  isInstance = isInstance && "avatar" in value;
132
138
  isInstance = isInstance && "uid" in value;
139
+ isInstance = isInstance && "uuid" in value;
133
140
 
134
141
  return isInstance;
135
142
  }
@@ -158,6 +165,7 @@ export function UserFromJSONTyped(json: any, ignoreDiscriminator: boolean): User
158
165
  'uid': json['uid'],
159
166
  'path': !exists(json, 'path') ? undefined : json['path'],
160
167
  'type': !exists(json, 'type') ? undefined : UserTypeEnumFromJSON(json['type']),
168
+ 'uuid': json['uuid'],
161
169
  };
162
170
  }
163
171