@goauthentik/api 2025.2.3-1744036568 → 2025.2.3-1744118790
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/GroupKerberosSourceConnection.d.ts +7 -1
- package/dist/esm/models/GroupKerberosSourceConnection.js +3 -0
- package/dist/esm/models/GroupOAuthSourceConnection.d.ts +7 -1
- package/dist/esm/models/GroupOAuthSourceConnection.js +3 -0
- package/dist/esm/models/GroupPlexSourceConnection.d.ts +7 -1
- package/dist/esm/models/GroupPlexSourceConnection.js +3 -0
- package/dist/esm/models/GroupSAMLSourceConnection.d.ts +7 -1
- package/dist/esm/models/GroupSAMLSourceConnection.js +3 -0
- package/dist/esm/models/GroupSourceConnection.d.ts +7 -1
- package/dist/esm/models/GroupSourceConnection.js +3 -0
- package/dist/esm/models/PatchedUserSourceConnectionRequest.d.ts +6 -0
- package/dist/esm/models/PatchedUserSourceConnectionRequest.js +2 -0
- package/dist/esm/models/User.d.ts +7 -1
- package/dist/esm/models/User.js +3 -0
- package/dist/esm/models/UserKerberosSourceConnection.d.ts +9 -3
- package/dist/esm/models/UserKerberosSourceConnection.js +5 -2
- package/dist/esm/models/UserOAuthSourceConnection.d.ts +9 -3
- package/dist/esm/models/UserOAuthSourceConnection.js +5 -2
- package/dist/esm/models/UserPlexSourceConnection.d.ts +9 -3
- package/dist/esm/models/UserPlexSourceConnection.js +5 -2
- package/dist/esm/models/UserSAMLSourceConnection.d.ts +9 -3
- package/dist/esm/models/UserSAMLSourceConnection.js +5 -2
- package/dist/esm/models/UserSourceConnection.d.ts +13 -1
- package/dist/esm/models/UserSourceConnection.js +7 -0
- package/dist/esm/models/UserSourceConnectionRequest.d.ts +6 -0
- package/dist/esm/models/UserSourceConnectionRequest.js +4 -0
- package/dist/models/GroupKerberosSourceConnection.d.ts +7 -1
- package/dist/models/GroupKerberosSourceConnection.js +3 -0
- package/dist/models/GroupOAuthSourceConnection.d.ts +7 -1
- package/dist/models/GroupOAuthSourceConnection.js +3 -0
- package/dist/models/GroupPlexSourceConnection.d.ts +7 -1
- package/dist/models/GroupPlexSourceConnection.js +3 -0
- package/dist/models/GroupSAMLSourceConnection.d.ts +7 -1
- package/dist/models/GroupSAMLSourceConnection.js +3 -0
- package/dist/models/GroupSourceConnection.d.ts +7 -1
- package/dist/models/GroupSourceConnection.js +3 -0
- package/dist/models/PatchedUserSourceConnectionRequest.d.ts +6 -0
- package/dist/models/PatchedUserSourceConnectionRequest.js +2 -0
- package/dist/models/User.d.ts +7 -1
- package/dist/models/User.js +3 -0
- package/dist/models/UserKerberosSourceConnection.d.ts +9 -3
- package/dist/models/UserKerberosSourceConnection.js +5 -2
- package/dist/models/UserOAuthSourceConnection.d.ts +9 -3
- package/dist/models/UserOAuthSourceConnection.js +5 -2
- package/dist/models/UserPlexSourceConnection.d.ts +9 -3
- package/dist/models/UserPlexSourceConnection.js +5 -2
- package/dist/models/UserSAMLSourceConnection.d.ts +9 -3
- package/dist/models/UserSAMLSourceConnection.js +5 -2
- package/dist/models/UserSourceConnection.d.ts +13 -1
- package/dist/models/UserSourceConnection.js +7 -0
- package/dist/models/UserSourceConnectionRequest.d.ts +6 -0
- package/dist/models/UserSourceConnectionRequest.js +4 -0
- package/package.json +1 -1
- package/src/models/GroupKerberosSourceConnection.ts +9 -1
- package/src/models/GroupOAuthSourceConnection.ts +9 -1
- package/src/models/GroupPlexSourceConnection.ts +9 -1
- package/src/models/GroupSAMLSourceConnection.ts +9 -1
- package/src/models/GroupSourceConnection.ts +9 -1
- package/src/models/PatchedUserSourceConnectionRequest.ts +8 -0
- package/src/models/User.ts +9 -1
- package/src/models/UserKerberosSourceConnection.ts +13 -5
- package/src/models/UserOAuthSourceConnection.ts +13 -5
- package/src/models/UserPlexSourceConnection.ts +13 -5
- package/src/models/UserSAMLSourceConnection.ts +13 -5
- package/src/models/UserSourceConnection.ts +18 -1
- package/src/models/UserSourceConnectionRequest.ts +9 -0
|
@@ -63,6 +63,12 @@ export interface GroupSAMLSourceConnection {
|
|
|
63
63
|
* @memberof GroupSAMLSourceConnection
|
|
64
64
|
*/
|
|
65
65
|
readonly created: Date;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {Date}
|
|
69
|
+
* @memberof GroupSAMLSourceConnection
|
|
70
|
+
*/
|
|
71
|
+
readonly lastUpdated: Date;
|
|
66
72
|
}
|
|
67
73
|
|
|
68
74
|
/**
|
|
@@ -75,6 +81,7 @@ export function instanceOfGroupSAMLSourceConnection(value: object): value is Gro
|
|
|
75
81
|
if (!('sourceObj' in value) || value['sourceObj'] === undefined) return false;
|
|
76
82
|
if (!('identifier' in value) || value['identifier'] === undefined) return false;
|
|
77
83
|
if (!('created' in value) || value['created'] === undefined) return false;
|
|
84
|
+
if (!('lastUpdated' in value) || value['lastUpdated'] === undefined) return false;
|
|
78
85
|
return true;
|
|
79
86
|
}
|
|
80
87
|
|
|
@@ -94,6 +101,7 @@ export function GroupSAMLSourceConnectionFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
94
101
|
'sourceObj': SourceFromJSON(json['source_obj']),
|
|
95
102
|
'identifier': json['identifier'],
|
|
96
103
|
'created': (new Date(json['created'])),
|
|
104
|
+
'lastUpdated': (new Date(json['last_updated'])),
|
|
97
105
|
};
|
|
98
106
|
}
|
|
99
107
|
|
|
@@ -101,7 +109,7 @@ export function GroupSAMLSourceConnectionToJSON(json: any): GroupSAMLSourceConne
|
|
|
101
109
|
return GroupSAMLSourceConnectionToJSONTyped(json, false);
|
|
102
110
|
}
|
|
103
111
|
|
|
104
|
-
export function GroupSAMLSourceConnectionToJSONTyped(value?: Omit<GroupSAMLSourceConnection, 'pk'|'source_obj'|'created'> | null, ignoreDiscriminator: boolean = false): any {
|
|
112
|
+
export function GroupSAMLSourceConnectionToJSONTyped(value?: Omit<GroupSAMLSourceConnection, 'pk'|'source_obj'|'created'|'last_updated'> | null, ignoreDiscriminator: boolean = false): any {
|
|
105
113
|
if (value == null) {
|
|
106
114
|
return value;
|
|
107
115
|
}
|
|
@@ -63,6 +63,12 @@ export interface GroupSourceConnection {
|
|
|
63
63
|
* @memberof GroupSourceConnection
|
|
64
64
|
*/
|
|
65
65
|
readonly created: Date;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {Date}
|
|
69
|
+
* @memberof GroupSourceConnection
|
|
70
|
+
*/
|
|
71
|
+
readonly lastUpdated: Date;
|
|
66
72
|
}
|
|
67
73
|
|
|
68
74
|
/**
|
|
@@ -75,6 +81,7 @@ export function instanceOfGroupSourceConnection(value: object): value is GroupSo
|
|
|
75
81
|
if (!('sourceObj' in value) || value['sourceObj'] === undefined) return false;
|
|
76
82
|
if (!('identifier' in value) || value['identifier'] === undefined) return false;
|
|
77
83
|
if (!('created' in value) || value['created'] === undefined) return false;
|
|
84
|
+
if (!('lastUpdated' in value) || value['lastUpdated'] === undefined) return false;
|
|
78
85
|
return true;
|
|
79
86
|
}
|
|
80
87
|
|
|
@@ -94,6 +101,7 @@ export function GroupSourceConnectionFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
94
101
|
'sourceObj': SourceFromJSON(json['source_obj']),
|
|
95
102
|
'identifier': json['identifier'],
|
|
96
103
|
'created': (new Date(json['created'])),
|
|
104
|
+
'lastUpdated': (new Date(json['last_updated'])),
|
|
97
105
|
};
|
|
98
106
|
}
|
|
99
107
|
|
|
@@ -101,7 +109,7 @@ export function GroupSourceConnectionToJSON(json: any): GroupSourceConnection {
|
|
|
101
109
|
return GroupSourceConnectionToJSONTyped(json, false);
|
|
102
110
|
}
|
|
103
111
|
|
|
104
|
-
export function GroupSourceConnectionToJSONTyped(value?: Omit<GroupSourceConnection, 'pk'|'source_obj'|'created'> | null, ignoreDiscriminator: boolean = false): any {
|
|
112
|
+
export function GroupSourceConnectionToJSONTyped(value?: Omit<GroupSourceConnection, 'pk'|'source_obj'|'created'|'last_updated'> | null, ignoreDiscriminator: boolean = false): any {
|
|
105
113
|
if (value == null) {
|
|
106
114
|
return value;
|
|
107
115
|
}
|
|
@@ -31,6 +31,12 @@ export interface PatchedUserSourceConnectionRequest {
|
|
|
31
31
|
* @memberof PatchedUserSourceConnectionRequest
|
|
32
32
|
*/
|
|
33
33
|
source?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof PatchedUserSourceConnectionRequest
|
|
38
|
+
*/
|
|
39
|
+
identifier?: string;
|
|
34
40
|
}
|
|
35
41
|
|
|
36
42
|
/**
|
|
@@ -52,6 +58,7 @@ export function PatchedUserSourceConnectionRequestFromJSONTyped(json: any, ignor
|
|
|
52
58
|
|
|
53
59
|
'user': json['user'] == null ? undefined : json['user'],
|
|
54
60
|
'source': json['source'] == null ? undefined : json['source'],
|
|
61
|
+
'identifier': json['identifier'] == null ? undefined : json['identifier'],
|
|
55
62
|
};
|
|
56
63
|
}
|
|
57
64
|
|
|
@@ -68,6 +75,7 @@ export function PatchedUserSourceConnectionRequestToJSONTyped(value?: PatchedUse
|
|
|
68
75
|
|
|
69
76
|
'user': value['user'],
|
|
70
77
|
'source': value['source'],
|
|
78
|
+
'identifier': value['identifier'],
|
|
71
79
|
};
|
|
72
80
|
}
|
|
73
81
|
|
package/src/models/User.ts
CHANGED
|
@@ -64,6 +64,12 @@ export interface User {
|
|
|
64
64
|
* @memberof User
|
|
65
65
|
*/
|
|
66
66
|
lastLogin?: Date | null;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {Date}
|
|
70
|
+
* @memberof User
|
|
71
|
+
*/
|
|
72
|
+
readonly dateJoined: Date;
|
|
67
73
|
/**
|
|
68
74
|
*
|
|
69
75
|
* @type {boolean}
|
|
@@ -141,6 +147,7 @@ export function instanceOfUser(value: object): value is User {
|
|
|
141
147
|
if (!('pk' in value) || value['pk'] === undefined) return false;
|
|
142
148
|
if (!('username' in value) || value['username'] === undefined) return false;
|
|
143
149
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
150
|
+
if (!('dateJoined' in value) || value['dateJoined'] === undefined) return false;
|
|
144
151
|
if (!('isSuperuser' in value) || value['isSuperuser'] === undefined) return false;
|
|
145
152
|
if (!('groupsObj' in value) || value['groupsObj'] === undefined) return false;
|
|
146
153
|
if (!('avatar' in value) || value['avatar'] === undefined) return false;
|
|
@@ -165,6 +172,7 @@ export function UserFromJSONTyped(json: any, ignoreDiscriminator: boolean): User
|
|
|
165
172
|
'name': json['name'],
|
|
166
173
|
'isActive': json['is_active'] == null ? undefined : json['is_active'],
|
|
167
174
|
'lastLogin': json['last_login'] == null ? undefined : (new Date(json['last_login'])),
|
|
175
|
+
'dateJoined': (new Date(json['date_joined'])),
|
|
168
176
|
'isSuperuser': json['is_superuser'],
|
|
169
177
|
'groups': json['groups'] == null ? undefined : json['groups'],
|
|
170
178
|
'groupsObj': (json['groups_obj'] == null ? null : (json['groups_obj'] as Array<any>).map(UserGroupFromJSON)),
|
|
@@ -183,7 +191,7 @@ export function UserToJSON(json: any): User {
|
|
|
183
191
|
return UserToJSONTyped(json, false);
|
|
184
192
|
}
|
|
185
193
|
|
|
186
|
-
export function UserToJSONTyped(value?: Omit<User, 'pk'|'is_superuser'|'groups_obj'|'avatar'|'uid'|'uuid'|'password_change_date'> | null, ignoreDiscriminator: boolean = false): any {
|
|
194
|
+
export function UserToJSONTyped(value?: Omit<User, 'pk'|'date_joined'|'is_superuser'|'groups_obj'|'avatar'|'uid'|'uuid'|'password_change_date'> | null, ignoreDiscriminator: boolean = false): any {
|
|
187
195
|
if (value == null) {
|
|
188
196
|
return value;
|
|
189
197
|
}
|
|
@@ -51,6 +51,12 @@ export interface UserKerberosSourceConnection {
|
|
|
51
51
|
* @memberof UserKerberosSourceConnection
|
|
52
52
|
*/
|
|
53
53
|
readonly sourceObj: Source;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof UserKerberosSourceConnection
|
|
58
|
+
*/
|
|
59
|
+
identifier: string;
|
|
54
60
|
/**
|
|
55
61
|
*
|
|
56
62
|
* @type {Date}
|
|
@@ -59,10 +65,10 @@ export interface UserKerberosSourceConnection {
|
|
|
59
65
|
readonly created: Date;
|
|
60
66
|
/**
|
|
61
67
|
*
|
|
62
|
-
* @type {
|
|
68
|
+
* @type {Date}
|
|
63
69
|
* @memberof UserKerberosSourceConnection
|
|
64
70
|
*/
|
|
65
|
-
|
|
71
|
+
readonly lastUpdated: Date;
|
|
66
72
|
}
|
|
67
73
|
|
|
68
74
|
/**
|
|
@@ -73,8 +79,9 @@ export function instanceOfUserKerberosSourceConnection(value: object): value is
|
|
|
73
79
|
if (!('user' in value) || value['user'] === undefined) return false;
|
|
74
80
|
if (!('source' in value) || value['source'] === undefined) return false;
|
|
75
81
|
if (!('sourceObj' in value) || value['sourceObj'] === undefined) return false;
|
|
76
|
-
if (!('created' in value) || value['created'] === undefined) return false;
|
|
77
82
|
if (!('identifier' in value) || value['identifier'] === undefined) return false;
|
|
83
|
+
if (!('created' in value) || value['created'] === undefined) return false;
|
|
84
|
+
if (!('lastUpdated' in value) || value['lastUpdated'] === undefined) return false;
|
|
78
85
|
return true;
|
|
79
86
|
}
|
|
80
87
|
|
|
@@ -92,8 +99,9 @@ export function UserKerberosSourceConnectionFromJSONTyped(json: any, ignoreDiscr
|
|
|
92
99
|
'user': json['user'],
|
|
93
100
|
'source': json['source'],
|
|
94
101
|
'sourceObj': SourceFromJSON(json['source_obj']),
|
|
95
|
-
'created': (new Date(json['created'])),
|
|
96
102
|
'identifier': json['identifier'],
|
|
103
|
+
'created': (new Date(json['created'])),
|
|
104
|
+
'lastUpdated': (new Date(json['last_updated'])),
|
|
97
105
|
};
|
|
98
106
|
}
|
|
99
107
|
|
|
@@ -101,7 +109,7 @@ export function UserKerberosSourceConnectionToJSON(json: any): UserKerberosSourc
|
|
|
101
109
|
return UserKerberosSourceConnectionToJSONTyped(json, false);
|
|
102
110
|
}
|
|
103
111
|
|
|
104
|
-
export function UserKerberosSourceConnectionToJSONTyped(value?: Omit<UserKerberosSourceConnection, 'pk'|'source_obj'|'created'> | null, ignoreDiscriminator: boolean = false): any {
|
|
112
|
+
export function UserKerberosSourceConnectionToJSONTyped(value?: Omit<UserKerberosSourceConnection, 'pk'|'source_obj'|'created'|'last_updated'> | null, ignoreDiscriminator: boolean = false): any {
|
|
105
113
|
if (value == null) {
|
|
106
114
|
return value;
|
|
107
115
|
}
|
|
@@ -51,6 +51,12 @@ export interface UserOAuthSourceConnection {
|
|
|
51
51
|
* @memberof UserOAuthSourceConnection
|
|
52
52
|
*/
|
|
53
53
|
readonly sourceObj: Source;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof UserOAuthSourceConnection
|
|
58
|
+
*/
|
|
59
|
+
identifier: string;
|
|
54
60
|
/**
|
|
55
61
|
*
|
|
56
62
|
* @type {Date}
|
|
@@ -59,10 +65,10 @@ export interface UserOAuthSourceConnection {
|
|
|
59
65
|
readonly created: Date;
|
|
60
66
|
/**
|
|
61
67
|
*
|
|
62
|
-
* @type {
|
|
68
|
+
* @type {Date}
|
|
63
69
|
* @memberof UserOAuthSourceConnection
|
|
64
70
|
*/
|
|
65
|
-
|
|
71
|
+
readonly lastUpdated: Date;
|
|
66
72
|
}
|
|
67
73
|
|
|
68
74
|
/**
|
|
@@ -73,8 +79,9 @@ export function instanceOfUserOAuthSourceConnection(value: object): value is Use
|
|
|
73
79
|
if (!('user' in value) || value['user'] === undefined) return false;
|
|
74
80
|
if (!('source' in value) || value['source'] === undefined) return false;
|
|
75
81
|
if (!('sourceObj' in value) || value['sourceObj'] === undefined) return false;
|
|
76
|
-
if (!('created' in value) || value['created'] === undefined) return false;
|
|
77
82
|
if (!('identifier' in value) || value['identifier'] === undefined) return false;
|
|
83
|
+
if (!('created' in value) || value['created'] === undefined) return false;
|
|
84
|
+
if (!('lastUpdated' in value) || value['lastUpdated'] === undefined) return false;
|
|
78
85
|
return true;
|
|
79
86
|
}
|
|
80
87
|
|
|
@@ -92,8 +99,9 @@ export function UserOAuthSourceConnectionFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
92
99
|
'user': json['user'],
|
|
93
100
|
'source': json['source'],
|
|
94
101
|
'sourceObj': SourceFromJSON(json['source_obj']),
|
|
95
|
-
'created': (new Date(json['created'])),
|
|
96
102
|
'identifier': json['identifier'],
|
|
103
|
+
'created': (new Date(json['created'])),
|
|
104
|
+
'lastUpdated': (new Date(json['last_updated'])),
|
|
97
105
|
};
|
|
98
106
|
}
|
|
99
107
|
|
|
@@ -101,7 +109,7 @@ export function UserOAuthSourceConnectionToJSON(json: any): UserOAuthSourceConne
|
|
|
101
109
|
return UserOAuthSourceConnectionToJSONTyped(json, false);
|
|
102
110
|
}
|
|
103
111
|
|
|
104
|
-
export function UserOAuthSourceConnectionToJSONTyped(value?: Omit<UserOAuthSourceConnection, 'pk'|'source_obj'|'created'> | null, ignoreDiscriminator: boolean = false): any {
|
|
112
|
+
export function UserOAuthSourceConnectionToJSONTyped(value?: Omit<UserOAuthSourceConnection, 'pk'|'source_obj'|'created'|'last_updated'> | null, ignoreDiscriminator: boolean = false): any {
|
|
105
113
|
if (value == null) {
|
|
106
114
|
return value;
|
|
107
115
|
}
|
|
@@ -51,6 +51,12 @@ export interface UserPlexSourceConnection {
|
|
|
51
51
|
* @memberof UserPlexSourceConnection
|
|
52
52
|
*/
|
|
53
53
|
readonly sourceObj: Source;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof UserPlexSourceConnection
|
|
58
|
+
*/
|
|
59
|
+
identifier: string;
|
|
54
60
|
/**
|
|
55
61
|
*
|
|
56
62
|
* @type {Date}
|
|
@@ -59,10 +65,10 @@ export interface UserPlexSourceConnection {
|
|
|
59
65
|
readonly created: Date;
|
|
60
66
|
/**
|
|
61
67
|
*
|
|
62
|
-
* @type {
|
|
68
|
+
* @type {Date}
|
|
63
69
|
* @memberof UserPlexSourceConnection
|
|
64
70
|
*/
|
|
65
|
-
|
|
71
|
+
readonly lastUpdated: Date;
|
|
66
72
|
}
|
|
67
73
|
|
|
68
74
|
/**
|
|
@@ -73,8 +79,9 @@ export function instanceOfUserPlexSourceConnection(value: object): value is User
|
|
|
73
79
|
if (!('user' in value) || value['user'] === undefined) return false;
|
|
74
80
|
if (!('source' in value) || value['source'] === undefined) return false;
|
|
75
81
|
if (!('sourceObj' in value) || value['sourceObj'] === undefined) return false;
|
|
76
|
-
if (!('created' in value) || value['created'] === undefined) return false;
|
|
77
82
|
if (!('identifier' in value) || value['identifier'] === undefined) return false;
|
|
83
|
+
if (!('created' in value) || value['created'] === undefined) return false;
|
|
84
|
+
if (!('lastUpdated' in value) || value['lastUpdated'] === undefined) return false;
|
|
78
85
|
return true;
|
|
79
86
|
}
|
|
80
87
|
|
|
@@ -92,8 +99,9 @@ export function UserPlexSourceConnectionFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
92
99
|
'user': json['user'],
|
|
93
100
|
'source': json['source'],
|
|
94
101
|
'sourceObj': SourceFromJSON(json['source_obj']),
|
|
95
|
-
'created': (new Date(json['created'])),
|
|
96
102
|
'identifier': json['identifier'],
|
|
103
|
+
'created': (new Date(json['created'])),
|
|
104
|
+
'lastUpdated': (new Date(json['last_updated'])),
|
|
97
105
|
};
|
|
98
106
|
}
|
|
99
107
|
|
|
@@ -101,7 +109,7 @@ export function UserPlexSourceConnectionToJSON(json: any): UserPlexSourceConnect
|
|
|
101
109
|
return UserPlexSourceConnectionToJSONTyped(json, false);
|
|
102
110
|
}
|
|
103
111
|
|
|
104
|
-
export function UserPlexSourceConnectionToJSONTyped(value?: Omit<UserPlexSourceConnection, 'pk'|'source_obj'|'created'> | null, ignoreDiscriminator: boolean = false): any {
|
|
112
|
+
export function UserPlexSourceConnectionToJSONTyped(value?: Omit<UserPlexSourceConnection, 'pk'|'source_obj'|'created'|'last_updated'> | null, ignoreDiscriminator: boolean = false): any {
|
|
105
113
|
if (value == null) {
|
|
106
114
|
return value;
|
|
107
115
|
}
|
|
@@ -51,6 +51,12 @@ export interface UserSAMLSourceConnection {
|
|
|
51
51
|
* @memberof UserSAMLSourceConnection
|
|
52
52
|
*/
|
|
53
53
|
readonly sourceObj: Source;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof UserSAMLSourceConnection
|
|
58
|
+
*/
|
|
59
|
+
identifier: string;
|
|
54
60
|
/**
|
|
55
61
|
*
|
|
56
62
|
* @type {Date}
|
|
@@ -59,10 +65,10 @@ export interface UserSAMLSourceConnection {
|
|
|
59
65
|
readonly created: Date;
|
|
60
66
|
/**
|
|
61
67
|
*
|
|
62
|
-
* @type {
|
|
68
|
+
* @type {Date}
|
|
63
69
|
* @memberof UserSAMLSourceConnection
|
|
64
70
|
*/
|
|
65
|
-
|
|
71
|
+
readonly lastUpdated: Date;
|
|
66
72
|
}
|
|
67
73
|
|
|
68
74
|
/**
|
|
@@ -73,8 +79,9 @@ export function instanceOfUserSAMLSourceConnection(value: object): value is User
|
|
|
73
79
|
if (!('user' in value) || value['user'] === undefined) return false;
|
|
74
80
|
if (!('source' in value) || value['source'] === undefined) return false;
|
|
75
81
|
if (!('sourceObj' in value) || value['sourceObj'] === undefined) return false;
|
|
76
|
-
if (!('created' in value) || value['created'] === undefined) return false;
|
|
77
82
|
if (!('identifier' in value) || value['identifier'] === undefined) return false;
|
|
83
|
+
if (!('created' in value) || value['created'] === undefined) return false;
|
|
84
|
+
if (!('lastUpdated' in value) || value['lastUpdated'] === undefined) return false;
|
|
78
85
|
return true;
|
|
79
86
|
}
|
|
80
87
|
|
|
@@ -92,8 +99,9 @@ export function UserSAMLSourceConnectionFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
92
99
|
'user': json['user'],
|
|
93
100
|
'source': json['source'],
|
|
94
101
|
'sourceObj': SourceFromJSON(json['source_obj']),
|
|
95
|
-
'created': (new Date(json['created'])),
|
|
96
102
|
'identifier': json['identifier'],
|
|
103
|
+
'created': (new Date(json['created'])),
|
|
104
|
+
'lastUpdated': (new Date(json['last_updated'])),
|
|
97
105
|
};
|
|
98
106
|
}
|
|
99
107
|
|
|
@@ -101,7 +109,7 @@ export function UserSAMLSourceConnectionToJSON(json: any): UserSAMLSourceConnect
|
|
|
101
109
|
return UserSAMLSourceConnectionToJSONTyped(json, false);
|
|
102
110
|
}
|
|
103
111
|
|
|
104
|
-
export function UserSAMLSourceConnectionToJSONTyped(value?: Omit<UserSAMLSourceConnection, 'pk'|'source_obj'|'created'> | null, ignoreDiscriminator: boolean = false): any {
|
|
112
|
+
export function UserSAMLSourceConnectionToJSONTyped(value?: Omit<UserSAMLSourceConnection, 'pk'|'source_obj'|'created'|'last_updated'> | null, ignoreDiscriminator: boolean = false): any {
|
|
105
113
|
if (value == null) {
|
|
106
114
|
return value;
|
|
107
115
|
}
|
|
@@ -51,12 +51,24 @@ export interface UserSourceConnection {
|
|
|
51
51
|
* @memberof UserSourceConnection
|
|
52
52
|
*/
|
|
53
53
|
readonly sourceObj: Source;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof UserSourceConnection
|
|
58
|
+
*/
|
|
59
|
+
identifier: string;
|
|
54
60
|
/**
|
|
55
61
|
*
|
|
56
62
|
* @type {Date}
|
|
57
63
|
* @memberof UserSourceConnection
|
|
58
64
|
*/
|
|
59
65
|
readonly created: Date;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {Date}
|
|
69
|
+
* @memberof UserSourceConnection
|
|
70
|
+
*/
|
|
71
|
+
readonly lastUpdated: Date;
|
|
60
72
|
}
|
|
61
73
|
|
|
62
74
|
/**
|
|
@@ -67,7 +79,9 @@ export function instanceOfUserSourceConnection(value: object): value is UserSour
|
|
|
67
79
|
if (!('user' in value) || value['user'] === undefined) return false;
|
|
68
80
|
if (!('source' in value) || value['source'] === undefined) return false;
|
|
69
81
|
if (!('sourceObj' in value) || value['sourceObj'] === undefined) return false;
|
|
82
|
+
if (!('identifier' in value) || value['identifier'] === undefined) return false;
|
|
70
83
|
if (!('created' in value) || value['created'] === undefined) return false;
|
|
84
|
+
if (!('lastUpdated' in value) || value['lastUpdated'] === undefined) return false;
|
|
71
85
|
return true;
|
|
72
86
|
}
|
|
73
87
|
|
|
@@ -85,7 +99,9 @@ export function UserSourceConnectionFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
85
99
|
'user': json['user'],
|
|
86
100
|
'source': json['source'],
|
|
87
101
|
'sourceObj': SourceFromJSON(json['source_obj']),
|
|
102
|
+
'identifier': json['identifier'],
|
|
88
103
|
'created': (new Date(json['created'])),
|
|
104
|
+
'lastUpdated': (new Date(json['last_updated'])),
|
|
89
105
|
};
|
|
90
106
|
}
|
|
91
107
|
|
|
@@ -93,7 +109,7 @@ export function UserSourceConnectionToJSON(json: any): UserSourceConnection {
|
|
|
93
109
|
return UserSourceConnectionToJSONTyped(json, false);
|
|
94
110
|
}
|
|
95
111
|
|
|
96
|
-
export function UserSourceConnectionToJSONTyped(value?: Omit<UserSourceConnection, 'pk'|'source_obj'|'created'> | null, ignoreDiscriminator: boolean = false): any {
|
|
112
|
+
export function UserSourceConnectionToJSONTyped(value?: Omit<UserSourceConnection, 'pk'|'source_obj'|'created'|'last_updated'> | null, ignoreDiscriminator: boolean = false): any {
|
|
97
113
|
if (value == null) {
|
|
98
114
|
return value;
|
|
99
115
|
}
|
|
@@ -102,6 +118,7 @@ export function UserSourceConnectionToJSONTyped(value?: Omit<UserSourceConnectio
|
|
|
102
118
|
|
|
103
119
|
'user': value['user'],
|
|
104
120
|
'source': value['source'],
|
|
121
|
+
'identifier': value['identifier'],
|
|
105
122
|
};
|
|
106
123
|
}
|
|
107
124
|
|
|
@@ -31,6 +31,12 @@ export interface UserSourceConnectionRequest {
|
|
|
31
31
|
* @memberof UserSourceConnectionRequest
|
|
32
32
|
*/
|
|
33
33
|
source: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof UserSourceConnectionRequest
|
|
38
|
+
*/
|
|
39
|
+
identifier: string;
|
|
34
40
|
}
|
|
35
41
|
|
|
36
42
|
/**
|
|
@@ -39,6 +45,7 @@ export interface UserSourceConnectionRequest {
|
|
|
39
45
|
export function instanceOfUserSourceConnectionRequest(value: object): value is UserSourceConnectionRequest {
|
|
40
46
|
if (!('user' in value) || value['user'] === undefined) return false;
|
|
41
47
|
if (!('source' in value) || value['source'] === undefined) return false;
|
|
48
|
+
if (!('identifier' in value) || value['identifier'] === undefined) return false;
|
|
42
49
|
return true;
|
|
43
50
|
}
|
|
44
51
|
|
|
@@ -54,6 +61,7 @@ export function UserSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscri
|
|
|
54
61
|
|
|
55
62
|
'user': json['user'],
|
|
56
63
|
'source': json['source'],
|
|
64
|
+
'identifier': json['identifier'],
|
|
57
65
|
};
|
|
58
66
|
}
|
|
59
67
|
|
|
@@ -70,6 +78,7 @@ export function UserSourceConnectionRequestToJSONTyped(value?: UserSourceConnect
|
|
|
70
78
|
|
|
71
79
|
'user': value['user'],
|
|
72
80
|
'source': value['source'],
|
|
81
|
+
'identifier': value['identifier'],
|
|
73
82
|
};
|
|
74
83
|
}
|
|
75
84
|
|