@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
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
} from './Source';
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Group Source Connection
|
|
26
26
|
* @export
|
|
27
27
|
* @interface GroupKerberosSourceConnection
|
|
28
28
|
*/
|
|
@@ -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
|
}
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
} from './Source';
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Group Source Connection
|
|
26
26
|
* @export
|
|
27
27
|
* @interface GroupOAuthSourceConnection
|
|
28
28
|
*/
|
|
@@ -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
|
}
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
} from './Source';
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Group Source Connection
|
|
26
26
|
* @export
|
|
27
27
|
* @interface GroupPlexSourceConnection
|
|
28
28
|
*/
|
|
@@ -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
|
}
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
} from './Source';
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Group Source Connection
|
|
26
26
|
* @export
|
|
27
27
|
* @interface GroupSAMLSourceConnection
|
|
28
28
|
*/
|
|
@@ -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
|
}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2025.2.3
|
|
8
|
+
* Contact: hello@goauthentik.io
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { Source } from './Source';
|
|
17
|
+
import {
|
|
18
|
+
SourceFromJSON,
|
|
19
|
+
SourceFromJSONTyped,
|
|
20
|
+
SourceToJSON,
|
|
21
|
+
SourceToJSONTyped,
|
|
22
|
+
} from './Source';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Group Source Connection
|
|
26
|
+
* @export
|
|
27
|
+
* @interface GroupSourceConnection
|
|
28
|
+
*/
|
|
29
|
+
export interface GroupSourceConnection {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof GroupSourceConnection
|
|
34
|
+
*/
|
|
35
|
+
readonly pk: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof GroupSourceConnection
|
|
40
|
+
*/
|
|
41
|
+
group: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof GroupSourceConnection
|
|
46
|
+
*/
|
|
47
|
+
source: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {Source}
|
|
51
|
+
* @memberof GroupSourceConnection
|
|
52
|
+
*/
|
|
53
|
+
readonly sourceObj: Source;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof GroupSourceConnection
|
|
58
|
+
*/
|
|
59
|
+
identifier: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {Date}
|
|
63
|
+
* @memberof GroupSourceConnection
|
|
64
|
+
*/
|
|
65
|
+
readonly created: Date;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {Date}
|
|
69
|
+
* @memberof GroupSourceConnection
|
|
70
|
+
*/
|
|
71
|
+
readonly lastUpdated: Date;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Check if a given object implements the GroupSourceConnection interface.
|
|
76
|
+
*/
|
|
77
|
+
export function instanceOfGroupSourceConnection(value: object): value is GroupSourceConnection {
|
|
78
|
+
if (!('pk' in value) || value['pk'] === undefined) return false;
|
|
79
|
+
if (!('group' in value) || value['group'] === undefined) return false;
|
|
80
|
+
if (!('source' in value) || value['source'] === undefined) return false;
|
|
81
|
+
if (!('sourceObj' in value) || value['sourceObj'] === undefined) return false;
|
|
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;
|
|
85
|
+
return true;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export function GroupSourceConnectionFromJSON(json: any): GroupSourceConnection {
|
|
89
|
+
return GroupSourceConnectionFromJSONTyped(json, false);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export function GroupSourceConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupSourceConnection {
|
|
93
|
+
if (json == null) {
|
|
94
|
+
return json;
|
|
95
|
+
}
|
|
96
|
+
return {
|
|
97
|
+
|
|
98
|
+
'pk': json['pk'],
|
|
99
|
+
'group': json['group'],
|
|
100
|
+
'source': json['source'],
|
|
101
|
+
'sourceObj': SourceFromJSON(json['source_obj']),
|
|
102
|
+
'identifier': json['identifier'],
|
|
103
|
+
'created': (new Date(json['created'])),
|
|
104
|
+
'lastUpdated': (new Date(json['last_updated'])),
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export function GroupSourceConnectionToJSON(json: any): GroupSourceConnection {
|
|
109
|
+
return GroupSourceConnectionToJSONTyped(json, false);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
export function GroupSourceConnectionToJSONTyped(value?: Omit<GroupSourceConnection, 'pk'|'source_obj'|'created'|'last_updated'> | null, ignoreDiscriminator: boolean = false): any {
|
|
113
|
+
if (value == null) {
|
|
114
|
+
return value;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
return {
|
|
118
|
+
|
|
119
|
+
'group': value['group'],
|
|
120
|
+
'source': value['source'],
|
|
121
|
+
'identifier': value['identifier'],
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2025.2.3
|
|
8
|
+
* Contact: hello@goauthentik.io
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
* Group Source Connection
|
|
18
|
+
* @export
|
|
19
|
+
* @interface GroupSourceConnectionRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface GroupSourceConnectionRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof GroupSourceConnectionRequest
|
|
26
|
+
*/
|
|
27
|
+
group: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof GroupSourceConnectionRequest
|
|
32
|
+
*/
|
|
33
|
+
source: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof GroupSourceConnectionRequest
|
|
38
|
+
*/
|
|
39
|
+
identifier: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the GroupSourceConnectionRequest interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfGroupSourceConnectionRequest(value: object): value is GroupSourceConnectionRequest {
|
|
46
|
+
if (!('group' in value) || value['group'] === undefined) return false;
|
|
47
|
+
if (!('source' in value) || value['source'] === undefined) return false;
|
|
48
|
+
if (!('identifier' in value) || value['identifier'] === undefined) return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function GroupSourceConnectionRequestFromJSON(json: any): GroupSourceConnectionRequest {
|
|
53
|
+
return GroupSourceConnectionRequestFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function GroupSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupSourceConnectionRequest {
|
|
57
|
+
if (json == null) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'group': json['group'],
|
|
63
|
+
'source': json['source'],
|
|
64
|
+
'identifier': json['identifier'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function GroupSourceConnectionRequestToJSON(json: any): GroupSourceConnectionRequest {
|
|
69
|
+
return GroupSourceConnectionRequestToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function GroupSourceConnectionRequestToJSONTyped(value?: GroupSourceConnectionRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'group': value['group'],
|
|
80
|
+
'source': value['source'],
|
|
81
|
+
'identifier': value['identifier'],
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2025.2.3
|
|
8
|
+
* Contact: hello@goauthentik.io
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { Pagination } from './Pagination';
|
|
17
|
+
import {
|
|
18
|
+
PaginationFromJSON,
|
|
19
|
+
PaginationFromJSONTyped,
|
|
20
|
+
PaginationToJSON,
|
|
21
|
+
PaginationToJSONTyped,
|
|
22
|
+
} from './Pagination';
|
|
23
|
+
import type { GroupSourceConnection } from './GroupSourceConnection';
|
|
24
|
+
import {
|
|
25
|
+
GroupSourceConnectionFromJSON,
|
|
26
|
+
GroupSourceConnectionFromJSONTyped,
|
|
27
|
+
GroupSourceConnectionToJSON,
|
|
28
|
+
GroupSourceConnectionToJSONTyped,
|
|
29
|
+
} from './GroupSourceConnection';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
* @interface PaginatedGroupSourceConnectionList
|
|
35
|
+
*/
|
|
36
|
+
export interface PaginatedGroupSourceConnectionList {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Pagination}
|
|
40
|
+
* @memberof PaginatedGroupSourceConnectionList
|
|
41
|
+
*/
|
|
42
|
+
pagination: Pagination;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {Array<GroupSourceConnection>}
|
|
46
|
+
* @memberof PaginatedGroupSourceConnectionList
|
|
47
|
+
*/
|
|
48
|
+
results: Array<GroupSourceConnection>;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the PaginatedGroupSourceConnectionList interface.
|
|
53
|
+
*/
|
|
54
|
+
export function instanceOfPaginatedGroupSourceConnectionList(value: object): value is PaginatedGroupSourceConnectionList {
|
|
55
|
+
if (!('pagination' in value) || value['pagination'] === undefined) return false;
|
|
56
|
+
if (!('results' in value) || value['results'] === undefined) return false;
|
|
57
|
+
return true;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function PaginatedGroupSourceConnectionListFromJSON(json: any): PaginatedGroupSourceConnectionList {
|
|
61
|
+
return PaginatedGroupSourceConnectionListFromJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function PaginatedGroupSourceConnectionListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedGroupSourceConnectionList {
|
|
65
|
+
if (json == null) {
|
|
66
|
+
return json;
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
|
|
70
|
+
'pagination': PaginationFromJSON(json['pagination']),
|
|
71
|
+
'results': ((json['results'] as Array<any>).map(GroupSourceConnectionFromJSON)),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function PaginatedGroupSourceConnectionListToJSON(json: any): PaginatedGroupSourceConnectionList {
|
|
76
|
+
return PaginatedGroupSourceConnectionListToJSONTyped(json, false);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function PaginatedGroupSourceConnectionListToJSONTyped(value?: PaginatedGroupSourceConnectionList | null, ignoreDiscriminator: boolean = false): any {
|
|
80
|
+
if (value == null) {
|
|
81
|
+
return value;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
return {
|
|
85
|
+
|
|
86
|
+
'pagination': PaginationToJSON(value['pagination']),
|
|
87
|
+
'results': ((value['results'] as Array<any>).map(GroupSourceConnectionToJSON)),
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2025.2.3
|
|
8
|
+
* Contact: hello@goauthentik.io
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
* Group Source Connection
|
|
18
|
+
* @export
|
|
19
|
+
* @interface PatchedGroupSourceConnectionRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface PatchedGroupSourceConnectionRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof PatchedGroupSourceConnectionRequest
|
|
26
|
+
*/
|
|
27
|
+
group?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof PatchedGroupSourceConnectionRequest
|
|
32
|
+
*/
|
|
33
|
+
source?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof PatchedGroupSourceConnectionRequest
|
|
38
|
+
*/
|
|
39
|
+
identifier?: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the PatchedGroupSourceConnectionRequest interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfPatchedGroupSourceConnectionRequest(value: object): value is PatchedGroupSourceConnectionRequest {
|
|
46
|
+
return true;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function PatchedGroupSourceConnectionRequestFromJSON(json: any): PatchedGroupSourceConnectionRequest {
|
|
50
|
+
return PatchedGroupSourceConnectionRequestFromJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function PatchedGroupSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedGroupSourceConnectionRequest {
|
|
54
|
+
if (json == null) {
|
|
55
|
+
return json;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
|
|
59
|
+
'group': json['group'] == null ? undefined : json['group'],
|
|
60
|
+
'source': json['source'] == null ? undefined : json['source'],
|
|
61
|
+
'identifier': json['identifier'] == null ? undefined : json['identifier'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function PatchedGroupSourceConnectionRequestToJSON(json: any): PatchedGroupSourceConnectionRequest {
|
|
66
|
+
return PatchedGroupSourceConnectionRequestToJSONTyped(json, false);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function PatchedGroupSourceConnectionRequestToJSONTyped(value?: PatchedGroupSourceConnectionRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
70
|
+
if (value == null) {
|
|
71
|
+
return value;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'group': value['group'],
|
|
77
|
+
'source': value['source'],
|
|
78
|
+
'identifier': value['identifier'],
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|