@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.
package/dist/esm/models/User.js
CHANGED
|
@@ -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) {
|
package/dist/models/User.d.ts
CHANGED
package/dist/models/User.js
CHANGED
|
@@ -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
package/src/models/User.ts
CHANGED
|
@@ -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
|
|