@goauthentik/api 2025.2.3-1743464496 → 2025.2.3-1744041717
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/.openapi-generator/FILES +4 -0
- package/dist/apis/SourcesApi.d.ts +145 -49
- package/dist/apis/SourcesApi.js +356 -48
- package/dist/esm/apis/SourcesApi.d.ts +145 -49
- package/dist/esm/apis/SourcesApi.js +357 -49
- package/dist/esm/models/GroupKerberosSourceConnection.d.ts +8 -2
- package/dist/esm/models/GroupKerberosSourceConnection.js +3 -0
- package/dist/esm/models/GroupKerberosSourceConnectionRequest.d.ts +1 -1
- package/dist/esm/models/GroupOAuthSourceConnection.d.ts +8 -2
- package/dist/esm/models/GroupOAuthSourceConnection.js +3 -0
- package/dist/esm/models/GroupOAuthSourceConnectionRequest.d.ts +1 -1
- package/dist/esm/models/GroupPlexSourceConnection.d.ts +8 -2
- package/dist/esm/models/GroupPlexSourceConnection.js +3 -0
- package/dist/esm/models/GroupPlexSourceConnectionRequest.d.ts +1 -1
- package/dist/esm/models/GroupSAMLSourceConnection.d.ts +8 -2
- package/dist/esm/models/GroupSAMLSourceConnection.js +3 -0
- package/dist/esm/models/GroupSAMLSourceConnectionRequest.d.ts +1 -1
- package/dist/esm/models/GroupSourceConnection.d.ts +69 -0
- package/dist/esm/models/GroupSourceConnection.js +64 -0
- package/dist/esm/models/GroupSourceConnectionRequest.d.ts +44 -0
- package/dist/esm/models/GroupSourceConnectionRequest.js +51 -0
- package/dist/esm/models/PaginatedGroupSourceConnectionList.d.ts +40 -0
- package/dist/esm/models/PaginatedGroupSourceConnectionList.js +49 -0
- package/dist/esm/models/PatchedGroupKerberosSourceConnectionRequest.d.ts +1 -1
- package/dist/esm/models/PatchedGroupOAuthSourceConnectionRequest.d.ts +1 -1
- package/dist/esm/models/PatchedGroupPlexSourceConnectionRequest.d.ts +1 -1
- package/dist/esm/models/PatchedGroupSAMLSourceConnectionRequest.d.ts +1 -1
- package/dist/esm/models/PatchedGroupSourceConnectionRequest.d.ts +44 -0
- package/dist/esm/models/PatchedGroupSourceConnectionRequest.js +45 -0
- package/dist/esm/models/PatchedUserKerberosSourceConnectionRequest.d.ts +1 -1
- package/dist/esm/models/PatchedUserOAuthSourceConnectionRequest.d.ts +1 -1
- package/dist/esm/models/PatchedUserPlexSourceConnectionRequest.d.ts +1 -1
- package/dist/esm/models/PatchedUserSAMLSourceConnectionRequest.d.ts +1 -1
- package/dist/esm/models/PatchedUserSourceConnectionRequest.d.ts +6 -0
- package/dist/esm/models/PatchedUserSourceConnectionRequest.js +2 -0
- package/dist/esm/models/UserKerberosSourceConnection.d.ts +10 -4
- package/dist/esm/models/UserKerberosSourceConnection.js +5 -2
- package/dist/esm/models/UserKerberosSourceConnectionRequest.d.ts +1 -1
- package/dist/esm/models/UserOAuthSourceConnection.d.ts +10 -4
- package/dist/esm/models/UserOAuthSourceConnection.js +5 -2
- package/dist/esm/models/UserOAuthSourceConnectionRequest.d.ts +1 -1
- package/dist/esm/models/UserPlexSourceConnection.d.ts +10 -4
- package/dist/esm/models/UserPlexSourceConnection.js +5 -2
- package/dist/esm/models/UserPlexSourceConnectionRequest.d.ts +1 -1
- package/dist/esm/models/UserSAMLSourceConnection.d.ts +10 -4
- package/dist/esm/models/UserSAMLSourceConnection.js +5 -2
- package/dist/esm/models/UserSAMLSourceConnectionRequest.d.ts +1 -1
- 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/esm/models/index.d.ts +4 -0
- package/dist/esm/models/index.js +4 -0
- package/dist/models/GroupKerberosSourceConnection.d.ts +8 -2
- package/dist/models/GroupKerberosSourceConnection.js +3 -0
- package/dist/models/GroupKerberosSourceConnectionRequest.d.ts +1 -1
- package/dist/models/GroupOAuthSourceConnection.d.ts +8 -2
- package/dist/models/GroupOAuthSourceConnection.js +3 -0
- package/dist/models/GroupOAuthSourceConnectionRequest.d.ts +1 -1
- package/dist/models/GroupPlexSourceConnection.d.ts +8 -2
- package/dist/models/GroupPlexSourceConnection.js +3 -0
- package/dist/models/GroupPlexSourceConnectionRequest.d.ts +1 -1
- package/dist/models/GroupSAMLSourceConnection.d.ts +8 -2
- package/dist/models/GroupSAMLSourceConnection.js +3 -0
- package/dist/models/GroupSAMLSourceConnectionRequest.d.ts +1 -1
- package/dist/models/GroupSourceConnection.d.ts +69 -0
- package/dist/models/GroupSourceConnection.js +71 -0
- package/dist/models/GroupSourceConnectionRequest.d.ts +44 -0
- package/dist/models/GroupSourceConnectionRequest.js +58 -0
- package/dist/models/PaginatedGroupSourceConnectionList.d.ts +40 -0
- package/dist/models/PaginatedGroupSourceConnectionList.js +56 -0
- package/dist/models/PatchedGroupKerberosSourceConnectionRequest.d.ts +1 -1
- package/dist/models/PatchedGroupOAuthSourceConnectionRequest.d.ts +1 -1
- package/dist/models/PatchedGroupPlexSourceConnectionRequest.d.ts +1 -1
- package/dist/models/PatchedGroupSAMLSourceConnectionRequest.d.ts +1 -1
- package/dist/models/PatchedGroupSourceConnectionRequest.d.ts +44 -0
- package/dist/models/PatchedGroupSourceConnectionRequest.js +52 -0
- package/dist/models/PatchedUserKerberosSourceConnectionRequest.d.ts +1 -1
- package/dist/models/PatchedUserOAuthSourceConnectionRequest.d.ts +1 -1
- package/dist/models/PatchedUserPlexSourceConnectionRequest.d.ts +1 -1
- package/dist/models/PatchedUserSAMLSourceConnectionRequest.d.ts +1 -1
- package/dist/models/PatchedUserSourceConnectionRequest.d.ts +6 -0
- package/dist/models/PatchedUserSourceConnectionRequest.js +2 -0
- package/dist/models/UserKerberosSourceConnection.d.ts +10 -4
- package/dist/models/UserKerberosSourceConnection.js +5 -2
- package/dist/models/UserKerberosSourceConnectionRequest.d.ts +1 -1
- package/dist/models/UserOAuthSourceConnection.d.ts +10 -4
- package/dist/models/UserOAuthSourceConnection.js +5 -2
- package/dist/models/UserOAuthSourceConnectionRequest.d.ts +1 -1
- package/dist/models/UserPlexSourceConnection.d.ts +10 -4
- package/dist/models/UserPlexSourceConnection.js +5 -2
- package/dist/models/UserPlexSourceConnectionRequest.d.ts +1 -1
- package/dist/models/UserSAMLSourceConnection.d.ts +10 -4
- package/dist/models/UserSAMLSourceConnection.js +5 -2
- package/dist/models/UserSAMLSourceConnectionRequest.d.ts +1 -1
- 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/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/package.json +1 -1
- package/src/apis/SourcesApi.ts +467 -48
- package/src/models/GroupKerberosSourceConnection.ts +10 -2
- package/src/models/GroupKerberosSourceConnectionRequest.ts +1 -1
- package/src/models/GroupOAuthSourceConnection.ts +10 -2
- package/src/models/GroupOAuthSourceConnectionRequest.ts +1 -1
- package/src/models/GroupPlexSourceConnection.ts +10 -2
- package/src/models/GroupPlexSourceConnectionRequest.ts +1 -1
- package/src/models/GroupSAMLSourceConnection.ts +10 -2
- package/src/models/GroupSAMLSourceConnectionRequest.ts +1 -1
- package/src/models/GroupSourceConnection.ts +124 -0
- package/src/models/GroupSourceConnectionRequest.ts +84 -0
- package/src/models/PaginatedGroupSourceConnectionList.ts +90 -0
- package/src/models/PatchedGroupKerberosSourceConnectionRequest.ts +1 -1
- package/src/models/PatchedGroupOAuthSourceConnectionRequest.ts +1 -1
- package/src/models/PatchedGroupPlexSourceConnectionRequest.ts +1 -1
- package/src/models/PatchedGroupSAMLSourceConnectionRequest.ts +1 -1
- package/src/models/PatchedGroupSourceConnectionRequest.ts +81 -0
- package/src/models/PatchedUserKerberosSourceConnectionRequest.ts +1 -1
- package/src/models/PatchedUserOAuthSourceConnectionRequest.ts +1 -1
- package/src/models/PatchedUserPlexSourceConnectionRequest.ts +1 -1
- package/src/models/PatchedUserSAMLSourceConnectionRequest.ts +1 -1
- package/src/models/PatchedUserSourceConnectionRequest.ts +8 -0
- package/src/models/UserKerberosSourceConnection.ts +14 -6
- package/src/models/UserKerberosSourceConnectionRequest.ts +1 -1
- package/src/models/UserOAuthSourceConnection.ts +14 -6
- package/src/models/UserOAuthSourceConnectionRequest.ts +1 -1
- package/src/models/UserPlexSourceConnection.ts +14 -6
- package/src/models/UserPlexSourceConnectionRequest.ts +1 -1
- package/src/models/UserSAMLSourceConnection.ts +14 -6
- package/src/models/UserSAMLSourceConnectionRequest.ts +1 -1
- package/src/models/UserSourceConnection.ts +18 -1
- package/src/models/UserSourceConnectionRequest.ts +9 -0
- package/src/models/index.ts +4 -0
|
@@ -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
|
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
} from './Source';
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* User source connection
|
|
26
26
|
* @export
|
|
27
27
|
* @interface UserKerberosSourceConnection
|
|
28
28
|
*/
|
|
@@ -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
|
}
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
} from './Source';
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* User source connection
|
|
26
26
|
* @export
|
|
27
27
|
* @interface UserOAuthSourceConnection
|
|
28
28
|
*/
|
|
@@ -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
|
}
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
} from './Source';
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* User source connection
|
|
26
26
|
* @export
|
|
27
27
|
* @interface UserPlexSourceConnection
|
|
28
28
|
*/
|
|
@@ -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
|
}
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
} from './Source';
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* User source connection
|
|
26
26
|
* @export
|
|
27
27
|
* @interface UserSAMLSourceConnection
|
|
28
28
|
*/
|
|
@@ -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
|
|
package/src/models/index.ts
CHANGED
|
@@ -186,6 +186,8 @@ export * from './GroupPlexSourceConnectionRequest';
|
|
|
186
186
|
export * from './GroupRequest';
|
|
187
187
|
export * from './GroupSAMLSourceConnection';
|
|
188
188
|
export * from './GroupSAMLSourceConnectionRequest';
|
|
189
|
+
export * from './GroupSourceConnection';
|
|
190
|
+
export * from './GroupSourceConnectionRequest';
|
|
189
191
|
export * from './IdentificationChallenge';
|
|
190
192
|
export * from './IdentificationChallengeResponseRequest';
|
|
191
193
|
export * from './IdentificationStage';
|
|
@@ -317,6 +319,7 @@ export * from './PaginatedGroupList';
|
|
|
317
319
|
export * from './PaginatedGroupOAuthSourceConnectionList';
|
|
318
320
|
export * from './PaginatedGroupPlexSourceConnectionList';
|
|
319
321
|
export * from './PaginatedGroupSAMLSourceConnectionList';
|
|
322
|
+
export * from './PaginatedGroupSourceConnectionList';
|
|
320
323
|
export * from './PaginatedIdentificationStageList';
|
|
321
324
|
export * from './PaginatedInvitationList';
|
|
322
325
|
export * from './PaginatedInvitationStageList';
|
|
@@ -454,6 +457,7 @@ export * from './PatchedGroupOAuthSourceConnectionRequest';
|
|
|
454
457
|
export * from './PatchedGroupPlexSourceConnectionRequest';
|
|
455
458
|
export * from './PatchedGroupRequest';
|
|
456
459
|
export * from './PatchedGroupSAMLSourceConnectionRequest';
|
|
460
|
+
export * from './PatchedGroupSourceConnectionRequest';
|
|
457
461
|
export * from './PatchedIdentificationStageRequest';
|
|
458
462
|
export * from './PatchedInvitationRequest';
|
|
459
463
|
export * from './PatchedInvitationStageRequest';
|