@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
|
@@ -35,6 +35,8 @@ function instanceOfGroupOAuthSourceConnection(value) {
|
|
|
35
35
|
return false;
|
|
36
36
|
if (!('created' in value) || value['created'] === undefined)
|
|
37
37
|
return false;
|
|
38
|
+
if (!('lastUpdated' in value) || value['lastUpdated'] === undefined)
|
|
39
|
+
return false;
|
|
38
40
|
return true;
|
|
39
41
|
}
|
|
40
42
|
function GroupOAuthSourceConnectionFromJSON(json) {
|
|
@@ -51,6 +53,7 @@ function GroupOAuthSourceConnectionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
51
53
|
'sourceObj': (0, Source_1.SourceFromJSON)(json['source_obj']),
|
|
52
54
|
'identifier': json['identifier'],
|
|
53
55
|
'created': (new Date(json['created'])),
|
|
56
|
+
'lastUpdated': (new Date(json['last_updated'])),
|
|
54
57
|
};
|
|
55
58
|
}
|
|
56
59
|
function GroupOAuthSourceConnectionToJSON(json) {
|
|
@@ -52,6 +52,12 @@ export interface GroupPlexSourceConnection {
|
|
|
52
52
|
* @memberof GroupPlexSourceConnection
|
|
53
53
|
*/
|
|
54
54
|
readonly created: Date;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {Date}
|
|
58
|
+
* @memberof GroupPlexSourceConnection
|
|
59
|
+
*/
|
|
60
|
+
readonly lastUpdated: Date;
|
|
55
61
|
}
|
|
56
62
|
/**
|
|
57
63
|
* Check if a given object implements the GroupPlexSourceConnection interface.
|
|
@@ -60,4 +66,4 @@ export declare function instanceOfGroupPlexSourceConnection(value: object): valu
|
|
|
60
66
|
export declare function GroupPlexSourceConnectionFromJSON(json: any): GroupPlexSourceConnection;
|
|
61
67
|
export declare function GroupPlexSourceConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupPlexSourceConnection;
|
|
62
68
|
export declare function GroupPlexSourceConnectionToJSON(json: any): GroupPlexSourceConnection;
|
|
63
|
-
export declare function GroupPlexSourceConnectionToJSONTyped(value?: Omit<GroupPlexSourceConnection, 'pk' | 'source_obj' | 'created'> | null, ignoreDiscriminator?: boolean): any;
|
|
69
|
+
export declare function GroupPlexSourceConnectionToJSONTyped(value?: Omit<GroupPlexSourceConnection, 'pk' | 'source_obj' | 'created' | 'last_updated'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -35,6 +35,8 @@ function instanceOfGroupPlexSourceConnection(value) {
|
|
|
35
35
|
return false;
|
|
36
36
|
if (!('created' in value) || value['created'] === undefined)
|
|
37
37
|
return false;
|
|
38
|
+
if (!('lastUpdated' in value) || value['lastUpdated'] === undefined)
|
|
39
|
+
return false;
|
|
38
40
|
return true;
|
|
39
41
|
}
|
|
40
42
|
function GroupPlexSourceConnectionFromJSON(json) {
|
|
@@ -51,6 +53,7 @@ function GroupPlexSourceConnectionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
51
53
|
'sourceObj': (0, Source_1.SourceFromJSON)(json['source_obj']),
|
|
52
54
|
'identifier': json['identifier'],
|
|
53
55
|
'created': (new Date(json['created'])),
|
|
56
|
+
'lastUpdated': (new Date(json['last_updated'])),
|
|
54
57
|
};
|
|
55
58
|
}
|
|
56
59
|
function GroupPlexSourceConnectionToJSON(json) {
|
|
@@ -52,6 +52,12 @@ export interface GroupSAMLSourceConnection {
|
|
|
52
52
|
* @memberof GroupSAMLSourceConnection
|
|
53
53
|
*/
|
|
54
54
|
readonly created: Date;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {Date}
|
|
58
|
+
* @memberof GroupSAMLSourceConnection
|
|
59
|
+
*/
|
|
60
|
+
readonly lastUpdated: Date;
|
|
55
61
|
}
|
|
56
62
|
/**
|
|
57
63
|
* Check if a given object implements the GroupSAMLSourceConnection interface.
|
|
@@ -60,4 +66,4 @@ export declare function instanceOfGroupSAMLSourceConnection(value: object): valu
|
|
|
60
66
|
export declare function GroupSAMLSourceConnectionFromJSON(json: any): GroupSAMLSourceConnection;
|
|
61
67
|
export declare function GroupSAMLSourceConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupSAMLSourceConnection;
|
|
62
68
|
export declare function GroupSAMLSourceConnectionToJSON(json: any): GroupSAMLSourceConnection;
|
|
63
|
-
export declare function GroupSAMLSourceConnectionToJSONTyped(value?: Omit<GroupSAMLSourceConnection, 'pk' | 'source_obj' | 'created'> | null, ignoreDiscriminator?: boolean): any;
|
|
69
|
+
export declare function GroupSAMLSourceConnectionToJSONTyped(value?: Omit<GroupSAMLSourceConnection, 'pk' | 'source_obj' | 'created' | 'last_updated'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -35,6 +35,8 @@ function instanceOfGroupSAMLSourceConnection(value) {
|
|
|
35
35
|
return false;
|
|
36
36
|
if (!('created' in value) || value['created'] === undefined)
|
|
37
37
|
return false;
|
|
38
|
+
if (!('lastUpdated' in value) || value['lastUpdated'] === undefined)
|
|
39
|
+
return false;
|
|
38
40
|
return true;
|
|
39
41
|
}
|
|
40
42
|
function GroupSAMLSourceConnectionFromJSON(json) {
|
|
@@ -51,6 +53,7 @@ function GroupSAMLSourceConnectionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
51
53
|
'sourceObj': (0, Source_1.SourceFromJSON)(json['source_obj']),
|
|
52
54
|
'identifier': json['identifier'],
|
|
53
55
|
'created': (new Date(json['created'])),
|
|
56
|
+
'lastUpdated': (new Date(json['last_updated'])),
|
|
54
57
|
};
|
|
55
58
|
}
|
|
56
59
|
function GroupSAMLSourceConnectionToJSON(json) {
|
|
@@ -52,6 +52,12 @@ export interface GroupSourceConnection {
|
|
|
52
52
|
* @memberof GroupSourceConnection
|
|
53
53
|
*/
|
|
54
54
|
readonly created: Date;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {Date}
|
|
58
|
+
* @memberof GroupSourceConnection
|
|
59
|
+
*/
|
|
60
|
+
readonly lastUpdated: Date;
|
|
55
61
|
}
|
|
56
62
|
/**
|
|
57
63
|
* Check if a given object implements the GroupSourceConnection interface.
|
|
@@ -60,4 +66,4 @@ export declare function instanceOfGroupSourceConnection(value: object): value is
|
|
|
60
66
|
export declare function GroupSourceConnectionFromJSON(json: any): GroupSourceConnection;
|
|
61
67
|
export declare function GroupSourceConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupSourceConnection;
|
|
62
68
|
export declare function GroupSourceConnectionToJSON(json: any): GroupSourceConnection;
|
|
63
|
-
export declare function GroupSourceConnectionToJSONTyped(value?: Omit<GroupSourceConnection, 'pk' | 'source_obj' | 'created'> | null, ignoreDiscriminator?: boolean): any;
|
|
69
|
+
export declare function GroupSourceConnectionToJSONTyped(value?: Omit<GroupSourceConnection, 'pk' | 'source_obj' | 'created' | 'last_updated'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -35,6 +35,8 @@ function instanceOfGroupSourceConnection(value) {
|
|
|
35
35
|
return false;
|
|
36
36
|
if (!('created' in value) || value['created'] === undefined)
|
|
37
37
|
return false;
|
|
38
|
+
if (!('lastUpdated' in value) || value['lastUpdated'] === undefined)
|
|
39
|
+
return false;
|
|
38
40
|
return true;
|
|
39
41
|
}
|
|
40
42
|
function GroupSourceConnectionFromJSON(json) {
|
|
@@ -51,6 +53,7 @@ function GroupSourceConnectionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
51
53
|
'sourceObj': (0, Source_1.SourceFromJSON)(json['source_obj']),
|
|
52
54
|
'identifier': json['identifier'],
|
|
53
55
|
'created': (new Date(json['created'])),
|
|
56
|
+
'lastUpdated': (new Date(json['last_updated'])),
|
|
54
57
|
};
|
|
55
58
|
}
|
|
56
59
|
function GroupSourceConnectionToJSON(json) {
|
|
@@ -27,6 +27,12 @@ export interface PatchedUserSourceConnectionRequest {
|
|
|
27
27
|
* @memberof PatchedUserSourceConnectionRequest
|
|
28
28
|
*/
|
|
29
29
|
source?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PatchedUserSourceConnectionRequest
|
|
34
|
+
*/
|
|
35
|
+
identifier?: string;
|
|
30
36
|
}
|
|
31
37
|
/**
|
|
32
38
|
* Check if a given object implements the PatchedUserSourceConnectionRequest interface.
|
|
@@ -34,6 +34,7 @@ function PatchedUserSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminat
|
|
|
34
34
|
return {
|
|
35
35
|
'user': json['user'] == null ? undefined : json['user'],
|
|
36
36
|
'source': json['source'] == null ? undefined : json['source'],
|
|
37
|
+
'identifier': json['identifier'] == null ? undefined : json['identifier'],
|
|
37
38
|
};
|
|
38
39
|
}
|
|
39
40
|
function PatchedUserSourceConnectionRequestToJSON(json) {
|
|
@@ -46,5 +47,6 @@ function PatchedUserSourceConnectionRequestToJSONTyped(value, ignoreDiscriminato
|
|
|
46
47
|
return {
|
|
47
48
|
'user': value['user'],
|
|
48
49
|
'source': value['source'],
|
|
50
|
+
'identifier': value['identifier'],
|
|
49
51
|
};
|
|
50
52
|
}
|
package/dist/models/User.d.ts
CHANGED
|
@@ -47,6 +47,12 @@ export interface User {
|
|
|
47
47
|
* @memberof User
|
|
48
48
|
*/
|
|
49
49
|
lastLogin?: Date | null;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {Date}
|
|
53
|
+
* @memberof User
|
|
54
|
+
*/
|
|
55
|
+
readonly dateJoined: Date;
|
|
50
56
|
/**
|
|
51
57
|
*
|
|
52
58
|
* @type {boolean}
|
|
@@ -123,4 +129,4 @@ export declare function instanceOfUser(value: object): value is User;
|
|
|
123
129
|
export declare function UserFromJSON(json: any): User;
|
|
124
130
|
export declare function UserFromJSONTyped(json: any, ignoreDiscriminator: boolean): User;
|
|
125
131
|
export declare function UserToJSON(json: any): User;
|
|
126
|
-
export declare function UserToJSONTyped(value?: Omit<User, 'pk' | 'is_superuser' | 'groups_obj' | 'avatar' | 'uid' | 'uuid' | 'password_change_date'> | null, ignoreDiscriminator?: boolean): any;
|
|
132
|
+
export declare function UserToJSONTyped(value?: Omit<User, 'pk' | 'date_joined' | 'is_superuser' | 'groups_obj' | 'avatar' | 'uid' | 'uuid' | 'password_change_date'> | null, ignoreDiscriminator?: boolean): any;
|
package/dist/models/User.js
CHANGED
|
@@ -30,6 +30,8 @@ function instanceOfUser(value) {
|
|
|
30
30
|
return false;
|
|
31
31
|
if (!('name' in value) || value['name'] === undefined)
|
|
32
32
|
return false;
|
|
33
|
+
if (!('dateJoined' in value) || value['dateJoined'] === undefined)
|
|
34
|
+
return false;
|
|
33
35
|
if (!('isSuperuser' in value) || value['isSuperuser'] === undefined)
|
|
34
36
|
return false;
|
|
35
37
|
if (!('groupsObj' in value) || value['groupsObj'] === undefined)
|
|
@@ -57,6 +59,7 @@ function UserFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
57
59
|
'name': json['name'],
|
|
58
60
|
'isActive': json['is_active'] == null ? undefined : json['is_active'],
|
|
59
61
|
'lastLogin': json['last_login'] == null ? undefined : (new Date(json['last_login'])),
|
|
62
|
+
'dateJoined': (new Date(json['date_joined'])),
|
|
60
63
|
'isSuperuser': json['is_superuser'],
|
|
61
64
|
'groups': json['groups'] == null ? undefined : json['groups'],
|
|
62
65
|
'groupsObj': (json['groups_obj'] == null ? null : json['groups_obj'].map(UserGroup_1.UserGroupFromJSON)),
|
|
@@ -40,6 +40,12 @@ export interface UserKerberosSourceConnection {
|
|
|
40
40
|
* @memberof UserKerberosSourceConnection
|
|
41
41
|
*/
|
|
42
42
|
readonly sourceObj: Source;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof UserKerberosSourceConnection
|
|
47
|
+
*/
|
|
48
|
+
identifier: string;
|
|
43
49
|
/**
|
|
44
50
|
*
|
|
45
51
|
* @type {Date}
|
|
@@ -48,10 +54,10 @@ export interface UserKerberosSourceConnection {
|
|
|
48
54
|
readonly created: Date;
|
|
49
55
|
/**
|
|
50
56
|
*
|
|
51
|
-
* @type {
|
|
57
|
+
* @type {Date}
|
|
52
58
|
* @memberof UserKerberosSourceConnection
|
|
53
59
|
*/
|
|
54
|
-
|
|
60
|
+
readonly lastUpdated: Date;
|
|
55
61
|
}
|
|
56
62
|
/**
|
|
57
63
|
* Check if a given object implements the UserKerberosSourceConnection interface.
|
|
@@ -60,4 +66,4 @@ export declare function instanceOfUserKerberosSourceConnection(value: object): v
|
|
|
60
66
|
export declare function UserKerberosSourceConnectionFromJSON(json: any): UserKerberosSourceConnection;
|
|
61
67
|
export declare function UserKerberosSourceConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserKerberosSourceConnection;
|
|
62
68
|
export declare function UserKerberosSourceConnectionToJSON(json: any): UserKerberosSourceConnection;
|
|
63
|
-
export declare function UserKerberosSourceConnectionToJSONTyped(value?: Omit<UserKerberosSourceConnection, 'pk' | 'source_obj' | 'created'> | null, ignoreDiscriminator?: boolean): any;
|
|
69
|
+
export declare function UserKerberosSourceConnectionToJSONTyped(value?: Omit<UserKerberosSourceConnection, 'pk' | 'source_obj' | 'created' | 'last_updated'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -31,9 +31,11 @@ function instanceOfUserKerberosSourceConnection(value) {
|
|
|
31
31
|
return false;
|
|
32
32
|
if (!('sourceObj' in value) || value['sourceObj'] === undefined)
|
|
33
33
|
return false;
|
|
34
|
+
if (!('identifier' in value) || value['identifier'] === undefined)
|
|
35
|
+
return false;
|
|
34
36
|
if (!('created' in value) || value['created'] === undefined)
|
|
35
37
|
return false;
|
|
36
|
-
if (!('
|
|
38
|
+
if (!('lastUpdated' in value) || value['lastUpdated'] === undefined)
|
|
37
39
|
return false;
|
|
38
40
|
return true;
|
|
39
41
|
}
|
|
@@ -49,8 +51,9 @@ function UserKerberosSourceConnectionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
49
51
|
'user': json['user'],
|
|
50
52
|
'source': json['source'],
|
|
51
53
|
'sourceObj': (0, Source_1.SourceFromJSON)(json['source_obj']),
|
|
52
|
-
'created': (new Date(json['created'])),
|
|
53
54
|
'identifier': json['identifier'],
|
|
55
|
+
'created': (new Date(json['created'])),
|
|
56
|
+
'lastUpdated': (new Date(json['last_updated'])),
|
|
54
57
|
};
|
|
55
58
|
}
|
|
56
59
|
function UserKerberosSourceConnectionToJSON(json) {
|
|
@@ -40,6 +40,12 @@ export interface UserOAuthSourceConnection {
|
|
|
40
40
|
* @memberof UserOAuthSourceConnection
|
|
41
41
|
*/
|
|
42
42
|
readonly sourceObj: Source;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof UserOAuthSourceConnection
|
|
47
|
+
*/
|
|
48
|
+
identifier: string;
|
|
43
49
|
/**
|
|
44
50
|
*
|
|
45
51
|
* @type {Date}
|
|
@@ -48,10 +54,10 @@ export interface UserOAuthSourceConnection {
|
|
|
48
54
|
readonly created: Date;
|
|
49
55
|
/**
|
|
50
56
|
*
|
|
51
|
-
* @type {
|
|
57
|
+
* @type {Date}
|
|
52
58
|
* @memberof UserOAuthSourceConnection
|
|
53
59
|
*/
|
|
54
|
-
|
|
60
|
+
readonly lastUpdated: Date;
|
|
55
61
|
}
|
|
56
62
|
/**
|
|
57
63
|
* Check if a given object implements the UserOAuthSourceConnection interface.
|
|
@@ -60,4 +66,4 @@ export declare function instanceOfUserOAuthSourceConnection(value: object): valu
|
|
|
60
66
|
export declare function UserOAuthSourceConnectionFromJSON(json: any): UserOAuthSourceConnection;
|
|
61
67
|
export declare function UserOAuthSourceConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserOAuthSourceConnection;
|
|
62
68
|
export declare function UserOAuthSourceConnectionToJSON(json: any): UserOAuthSourceConnection;
|
|
63
|
-
export declare function UserOAuthSourceConnectionToJSONTyped(value?: Omit<UserOAuthSourceConnection, 'pk' | 'source_obj' | 'created'> | null, ignoreDiscriminator?: boolean): any;
|
|
69
|
+
export declare function UserOAuthSourceConnectionToJSONTyped(value?: Omit<UserOAuthSourceConnection, 'pk' | 'source_obj' | 'created' | 'last_updated'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -31,9 +31,11 @@ function instanceOfUserOAuthSourceConnection(value) {
|
|
|
31
31
|
return false;
|
|
32
32
|
if (!('sourceObj' in value) || value['sourceObj'] === undefined)
|
|
33
33
|
return false;
|
|
34
|
+
if (!('identifier' in value) || value['identifier'] === undefined)
|
|
35
|
+
return false;
|
|
34
36
|
if (!('created' in value) || value['created'] === undefined)
|
|
35
37
|
return false;
|
|
36
|
-
if (!('
|
|
38
|
+
if (!('lastUpdated' in value) || value['lastUpdated'] === undefined)
|
|
37
39
|
return false;
|
|
38
40
|
return true;
|
|
39
41
|
}
|
|
@@ -49,8 +51,9 @@ function UserOAuthSourceConnectionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
49
51
|
'user': json['user'],
|
|
50
52
|
'source': json['source'],
|
|
51
53
|
'sourceObj': (0, Source_1.SourceFromJSON)(json['source_obj']),
|
|
52
|
-
'created': (new Date(json['created'])),
|
|
53
54
|
'identifier': json['identifier'],
|
|
55
|
+
'created': (new Date(json['created'])),
|
|
56
|
+
'lastUpdated': (new Date(json['last_updated'])),
|
|
54
57
|
};
|
|
55
58
|
}
|
|
56
59
|
function UserOAuthSourceConnectionToJSON(json) {
|
|
@@ -40,6 +40,12 @@ export interface UserPlexSourceConnection {
|
|
|
40
40
|
* @memberof UserPlexSourceConnection
|
|
41
41
|
*/
|
|
42
42
|
readonly sourceObj: Source;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof UserPlexSourceConnection
|
|
47
|
+
*/
|
|
48
|
+
identifier: string;
|
|
43
49
|
/**
|
|
44
50
|
*
|
|
45
51
|
* @type {Date}
|
|
@@ -48,10 +54,10 @@ export interface UserPlexSourceConnection {
|
|
|
48
54
|
readonly created: Date;
|
|
49
55
|
/**
|
|
50
56
|
*
|
|
51
|
-
* @type {
|
|
57
|
+
* @type {Date}
|
|
52
58
|
* @memberof UserPlexSourceConnection
|
|
53
59
|
*/
|
|
54
|
-
|
|
60
|
+
readonly lastUpdated: Date;
|
|
55
61
|
}
|
|
56
62
|
/**
|
|
57
63
|
* Check if a given object implements the UserPlexSourceConnection interface.
|
|
@@ -60,4 +66,4 @@ export declare function instanceOfUserPlexSourceConnection(value: object): value
|
|
|
60
66
|
export declare function UserPlexSourceConnectionFromJSON(json: any): UserPlexSourceConnection;
|
|
61
67
|
export declare function UserPlexSourceConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserPlexSourceConnection;
|
|
62
68
|
export declare function UserPlexSourceConnectionToJSON(json: any): UserPlexSourceConnection;
|
|
63
|
-
export declare function UserPlexSourceConnectionToJSONTyped(value?: Omit<UserPlexSourceConnection, 'pk' | 'source_obj' | 'created'> | null, ignoreDiscriminator?: boolean): any;
|
|
69
|
+
export declare function UserPlexSourceConnectionToJSONTyped(value?: Omit<UserPlexSourceConnection, 'pk' | 'source_obj' | 'created' | 'last_updated'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -31,9 +31,11 @@ function instanceOfUserPlexSourceConnection(value) {
|
|
|
31
31
|
return false;
|
|
32
32
|
if (!('sourceObj' in value) || value['sourceObj'] === undefined)
|
|
33
33
|
return false;
|
|
34
|
+
if (!('identifier' in value) || value['identifier'] === undefined)
|
|
35
|
+
return false;
|
|
34
36
|
if (!('created' in value) || value['created'] === undefined)
|
|
35
37
|
return false;
|
|
36
|
-
if (!('
|
|
38
|
+
if (!('lastUpdated' in value) || value['lastUpdated'] === undefined)
|
|
37
39
|
return false;
|
|
38
40
|
return true;
|
|
39
41
|
}
|
|
@@ -49,8 +51,9 @@ function UserPlexSourceConnectionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
49
51
|
'user': json['user'],
|
|
50
52
|
'source': json['source'],
|
|
51
53
|
'sourceObj': (0, Source_1.SourceFromJSON)(json['source_obj']),
|
|
52
|
-
'created': (new Date(json['created'])),
|
|
53
54
|
'identifier': json['identifier'],
|
|
55
|
+
'created': (new Date(json['created'])),
|
|
56
|
+
'lastUpdated': (new Date(json['last_updated'])),
|
|
54
57
|
};
|
|
55
58
|
}
|
|
56
59
|
function UserPlexSourceConnectionToJSON(json) {
|
|
@@ -40,6 +40,12 @@ export interface UserSAMLSourceConnection {
|
|
|
40
40
|
* @memberof UserSAMLSourceConnection
|
|
41
41
|
*/
|
|
42
42
|
readonly sourceObj: Source;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof UserSAMLSourceConnection
|
|
47
|
+
*/
|
|
48
|
+
identifier: string;
|
|
43
49
|
/**
|
|
44
50
|
*
|
|
45
51
|
* @type {Date}
|
|
@@ -48,10 +54,10 @@ export interface UserSAMLSourceConnection {
|
|
|
48
54
|
readonly created: Date;
|
|
49
55
|
/**
|
|
50
56
|
*
|
|
51
|
-
* @type {
|
|
57
|
+
* @type {Date}
|
|
52
58
|
* @memberof UserSAMLSourceConnection
|
|
53
59
|
*/
|
|
54
|
-
|
|
60
|
+
readonly lastUpdated: Date;
|
|
55
61
|
}
|
|
56
62
|
/**
|
|
57
63
|
* Check if a given object implements the UserSAMLSourceConnection interface.
|
|
@@ -60,4 +66,4 @@ export declare function instanceOfUserSAMLSourceConnection(value: object): value
|
|
|
60
66
|
export declare function UserSAMLSourceConnectionFromJSON(json: any): UserSAMLSourceConnection;
|
|
61
67
|
export declare function UserSAMLSourceConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserSAMLSourceConnection;
|
|
62
68
|
export declare function UserSAMLSourceConnectionToJSON(json: any): UserSAMLSourceConnection;
|
|
63
|
-
export declare function UserSAMLSourceConnectionToJSONTyped(value?: Omit<UserSAMLSourceConnection, 'pk' | 'source_obj' | 'created'> | null, ignoreDiscriminator?: boolean): any;
|
|
69
|
+
export declare function UserSAMLSourceConnectionToJSONTyped(value?: Omit<UserSAMLSourceConnection, 'pk' | 'source_obj' | 'created' | 'last_updated'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -31,9 +31,11 @@ function instanceOfUserSAMLSourceConnection(value) {
|
|
|
31
31
|
return false;
|
|
32
32
|
if (!('sourceObj' in value) || value['sourceObj'] === undefined)
|
|
33
33
|
return false;
|
|
34
|
+
if (!('identifier' in value) || value['identifier'] === undefined)
|
|
35
|
+
return false;
|
|
34
36
|
if (!('created' in value) || value['created'] === undefined)
|
|
35
37
|
return false;
|
|
36
|
-
if (!('
|
|
38
|
+
if (!('lastUpdated' in value) || value['lastUpdated'] === undefined)
|
|
37
39
|
return false;
|
|
38
40
|
return true;
|
|
39
41
|
}
|
|
@@ -49,8 +51,9 @@ function UserSAMLSourceConnectionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
49
51
|
'user': json['user'],
|
|
50
52
|
'source': json['source'],
|
|
51
53
|
'sourceObj': (0, Source_1.SourceFromJSON)(json['source_obj']),
|
|
52
|
-
'created': (new Date(json['created'])),
|
|
53
54
|
'identifier': json['identifier'],
|
|
55
|
+
'created': (new Date(json['created'])),
|
|
56
|
+
'lastUpdated': (new Date(json['last_updated'])),
|
|
54
57
|
};
|
|
55
58
|
}
|
|
56
59
|
function UserSAMLSourceConnectionToJSON(json) {
|
|
@@ -40,12 +40,24 @@ export interface UserSourceConnection {
|
|
|
40
40
|
* @memberof UserSourceConnection
|
|
41
41
|
*/
|
|
42
42
|
readonly sourceObj: Source;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof UserSourceConnection
|
|
47
|
+
*/
|
|
48
|
+
identifier: string;
|
|
43
49
|
/**
|
|
44
50
|
*
|
|
45
51
|
* @type {Date}
|
|
46
52
|
* @memberof UserSourceConnection
|
|
47
53
|
*/
|
|
48
54
|
readonly created: Date;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {Date}
|
|
58
|
+
* @memberof UserSourceConnection
|
|
59
|
+
*/
|
|
60
|
+
readonly lastUpdated: Date;
|
|
49
61
|
}
|
|
50
62
|
/**
|
|
51
63
|
* Check if a given object implements the UserSourceConnection interface.
|
|
@@ -54,4 +66,4 @@ export declare function instanceOfUserSourceConnection(value: object): value is
|
|
|
54
66
|
export declare function UserSourceConnectionFromJSON(json: any): UserSourceConnection;
|
|
55
67
|
export declare function UserSourceConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserSourceConnection;
|
|
56
68
|
export declare function UserSourceConnectionToJSON(json: any): UserSourceConnection;
|
|
57
|
-
export declare function UserSourceConnectionToJSONTyped(value?: Omit<UserSourceConnection, 'pk' | 'source_obj' | 'created'> | null, ignoreDiscriminator?: boolean): any;
|
|
69
|
+
export declare function UserSourceConnectionToJSONTyped(value?: Omit<UserSourceConnection, 'pk' | 'source_obj' | 'created' | 'last_updated'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -31,8 +31,12 @@ function instanceOfUserSourceConnection(value) {
|
|
|
31
31
|
return false;
|
|
32
32
|
if (!('sourceObj' in value) || value['sourceObj'] === undefined)
|
|
33
33
|
return false;
|
|
34
|
+
if (!('identifier' in value) || value['identifier'] === undefined)
|
|
35
|
+
return false;
|
|
34
36
|
if (!('created' in value) || value['created'] === undefined)
|
|
35
37
|
return false;
|
|
38
|
+
if (!('lastUpdated' in value) || value['lastUpdated'] === undefined)
|
|
39
|
+
return false;
|
|
36
40
|
return true;
|
|
37
41
|
}
|
|
38
42
|
function UserSourceConnectionFromJSON(json) {
|
|
@@ -47,7 +51,9 @@ function UserSourceConnectionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
47
51
|
'user': json['user'],
|
|
48
52
|
'source': json['source'],
|
|
49
53
|
'sourceObj': (0, Source_1.SourceFromJSON)(json['source_obj']),
|
|
54
|
+
'identifier': json['identifier'],
|
|
50
55
|
'created': (new Date(json['created'])),
|
|
56
|
+
'lastUpdated': (new Date(json['last_updated'])),
|
|
51
57
|
};
|
|
52
58
|
}
|
|
53
59
|
function UserSourceConnectionToJSON(json) {
|
|
@@ -60,5 +66,6 @@ function UserSourceConnectionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
60
66
|
return {
|
|
61
67
|
'user': value['user'],
|
|
62
68
|
'source': value['source'],
|
|
69
|
+
'identifier': value['identifier'],
|
|
63
70
|
};
|
|
64
71
|
}
|
|
@@ -27,6 +27,12 @@ export interface UserSourceConnectionRequest {
|
|
|
27
27
|
* @memberof UserSourceConnectionRequest
|
|
28
28
|
*/
|
|
29
29
|
source: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UserSourceConnectionRequest
|
|
34
|
+
*/
|
|
35
|
+
identifier: string;
|
|
30
36
|
}
|
|
31
37
|
/**
|
|
32
38
|
* Check if a given object implements the UserSourceConnectionRequest interface.
|
|
@@ -26,6 +26,8 @@ function instanceOfUserSourceConnectionRequest(value) {
|
|
|
26
26
|
return false;
|
|
27
27
|
if (!('source' in value) || value['source'] === undefined)
|
|
28
28
|
return false;
|
|
29
|
+
if (!('identifier' in value) || value['identifier'] === undefined)
|
|
30
|
+
return false;
|
|
29
31
|
return true;
|
|
30
32
|
}
|
|
31
33
|
function UserSourceConnectionRequestFromJSON(json) {
|
|
@@ -38,6 +40,7 @@ function UserSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
40
|
return {
|
|
39
41
|
'user': json['user'],
|
|
40
42
|
'source': json['source'],
|
|
43
|
+
'identifier': json['identifier'],
|
|
41
44
|
};
|
|
42
45
|
}
|
|
43
46
|
function UserSourceConnectionRequestToJSON(json) {
|
|
@@ -50,5 +53,6 @@ function UserSourceConnectionRequestToJSONTyped(value, ignoreDiscriminator = fal
|
|
|
50
53
|
return {
|
|
51
54
|
'user': value['user'],
|
|
52
55
|
'source': value['source'],
|
|
56
|
+
'identifier': value['identifier'],
|
|
53
57
|
};
|
|
54
58
|
}
|
package/package.json
CHANGED
|
@@ -63,6 +63,12 @@ export interface GroupKerberosSourceConnection {
|
|
|
63
63
|
* @memberof GroupKerberosSourceConnection
|
|
64
64
|
*/
|
|
65
65
|
readonly created: Date;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {Date}
|
|
69
|
+
* @memberof GroupKerberosSourceConnection
|
|
70
|
+
*/
|
|
71
|
+
readonly lastUpdated: Date;
|
|
66
72
|
}
|
|
67
73
|
|
|
68
74
|
/**
|
|
@@ -75,6 +81,7 @@ export function instanceOfGroupKerberosSourceConnection(value: object): value is
|
|
|
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 GroupKerberosSourceConnectionFromJSONTyped(json: any, ignoreDisc
|
|
|
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 GroupKerberosSourceConnectionToJSON(json: any): GroupKerberosSou
|
|
|
101
109
|
return GroupKerberosSourceConnectionToJSONTyped(json, false);
|
|
102
110
|
}
|
|
103
111
|
|
|
104
|
-
export function GroupKerberosSourceConnectionToJSONTyped(value?: Omit<GroupKerberosSourceConnection, 'pk'|'source_obj'|'created'> | null, ignoreDiscriminator: boolean = false): any {
|
|
112
|
+
export function GroupKerberosSourceConnectionToJSONTyped(value?: Omit<GroupKerberosSourceConnection, '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 GroupOAuthSourceConnection {
|
|
|
63
63
|
* @memberof GroupOAuthSourceConnection
|
|
64
64
|
*/
|
|
65
65
|
readonly created: Date;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {Date}
|
|
69
|
+
* @memberof GroupOAuthSourceConnection
|
|
70
|
+
*/
|
|
71
|
+
readonly lastUpdated: Date;
|
|
66
72
|
}
|
|
67
73
|
|
|
68
74
|
/**
|
|
@@ -75,6 +81,7 @@ export function instanceOfGroupOAuthSourceConnection(value: object): value is Gr
|
|
|
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 GroupOAuthSourceConnectionFromJSONTyped(json: any, ignoreDiscrim
|
|
|
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 GroupOAuthSourceConnectionToJSON(json: any): GroupOAuthSourceCon
|
|
|
101
109
|
return GroupOAuthSourceConnectionToJSONTyped(json, false);
|
|
102
110
|
}
|
|
103
111
|
|
|
104
|
-
export function GroupOAuthSourceConnectionToJSONTyped(value?: Omit<GroupOAuthSourceConnection, 'pk'|'source_obj'|'created'> | null, ignoreDiscriminator: boolean = false): any {
|
|
112
|
+
export function GroupOAuthSourceConnectionToJSONTyped(value?: Omit<GroupOAuthSourceConnection, '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 GroupPlexSourceConnection {
|
|
|
63
63
|
* @memberof GroupPlexSourceConnection
|
|
64
64
|
*/
|
|
65
65
|
readonly created: Date;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {Date}
|
|
69
|
+
* @memberof GroupPlexSourceConnection
|
|
70
|
+
*/
|
|
71
|
+
readonly lastUpdated: Date;
|
|
66
72
|
}
|
|
67
73
|
|
|
68
74
|
/**
|
|
@@ -75,6 +81,7 @@ export function instanceOfGroupPlexSourceConnection(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 GroupPlexSourceConnectionFromJSONTyped(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 GroupPlexSourceConnectionToJSON(json: any): GroupPlexSourceConne
|
|
|
101
109
|
return GroupPlexSourceConnectionToJSONTyped(json, false);
|
|
102
110
|
}
|
|
103
111
|
|
|
104
|
-
export function GroupPlexSourceConnectionToJSONTyped(value?: Omit<GroupPlexSourceConnection, 'pk'|'source_obj'|'created'> | null, ignoreDiscriminator: boolean = false): any {
|
|
112
|
+
export function GroupPlexSourceConnectionToJSONTyped(value?: Omit<GroupPlexSourceConnection, 'pk'|'source_obj'|'created'|'last_updated'> | null, ignoreDiscriminator: boolean = false): any {
|
|
105
113
|
if (value == null) {
|
|
106
114
|
return value;
|
|
107
115
|
}
|