@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
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { Source } from './Source';
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Group Source Connection
|
|
15
15
|
* @export
|
|
16
16
|
* @interface GroupKerberosSourceConnection
|
|
17
17
|
*/
|
|
@@ -52,6 +52,12 @@ export interface GroupKerberosSourceConnection {
|
|
|
52
52
|
* @memberof GroupKerberosSourceConnection
|
|
53
53
|
*/
|
|
54
54
|
readonly created: Date;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {Date}
|
|
58
|
+
* @memberof GroupKerberosSourceConnection
|
|
59
|
+
*/
|
|
60
|
+
readonly lastUpdated: Date;
|
|
55
61
|
}
|
|
56
62
|
/**
|
|
57
63
|
* Check if a given object implements the GroupKerberosSourceConnection interface.
|
|
@@ -60,4 +66,4 @@ export declare function instanceOfGroupKerberosSourceConnection(value: object):
|
|
|
60
66
|
export declare function GroupKerberosSourceConnectionFromJSON(json: any): GroupKerberosSourceConnection;
|
|
61
67
|
export declare function GroupKerberosSourceConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupKerberosSourceConnection;
|
|
62
68
|
export declare function GroupKerberosSourceConnectionToJSON(json: any): GroupKerberosSourceConnection;
|
|
63
|
-
export declare function GroupKerberosSourceConnectionToJSONTyped(value?: Omit<GroupKerberosSourceConnection, 'pk' | 'source_obj' | 'created'> | null, ignoreDiscriminator?: boolean): any;
|
|
69
|
+
export declare function GroupKerberosSourceConnectionToJSONTyped(value?: Omit<GroupKerberosSourceConnection, 'pk' | 'source_obj' | 'created' | 'last_updated'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -28,6 +28,8 @@ export function instanceOfGroupKerberosSourceConnection(value) {
|
|
|
28
28
|
return false;
|
|
29
29
|
if (!('created' in value) || value['created'] === undefined)
|
|
30
30
|
return false;
|
|
31
|
+
if (!('lastUpdated' in value) || value['lastUpdated'] === undefined)
|
|
32
|
+
return false;
|
|
31
33
|
return true;
|
|
32
34
|
}
|
|
33
35
|
export function GroupKerberosSourceConnectionFromJSON(json) {
|
|
@@ -44,6 +46,7 @@ export function GroupKerberosSourceConnectionFromJSONTyped(json, ignoreDiscrimin
|
|
|
44
46
|
'sourceObj': SourceFromJSON(json['source_obj']),
|
|
45
47
|
'identifier': json['identifier'],
|
|
46
48
|
'created': (new Date(json['created'])),
|
|
49
|
+
'lastUpdated': (new Date(json['last_updated'])),
|
|
47
50
|
};
|
|
48
51
|
}
|
|
49
52
|
export function GroupKerberosSourceConnectionToJSON(json) {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { Source } from './Source';
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Group Source Connection
|
|
15
15
|
* @export
|
|
16
16
|
* @interface GroupOAuthSourceConnection
|
|
17
17
|
*/
|
|
@@ -52,6 +52,12 @@ export interface GroupOAuthSourceConnection {
|
|
|
52
52
|
* @memberof GroupOAuthSourceConnection
|
|
53
53
|
*/
|
|
54
54
|
readonly created: Date;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {Date}
|
|
58
|
+
* @memberof GroupOAuthSourceConnection
|
|
59
|
+
*/
|
|
60
|
+
readonly lastUpdated: Date;
|
|
55
61
|
}
|
|
56
62
|
/**
|
|
57
63
|
* Check if a given object implements the GroupOAuthSourceConnection interface.
|
|
@@ -60,4 +66,4 @@ export declare function instanceOfGroupOAuthSourceConnection(value: object): val
|
|
|
60
66
|
export declare function GroupOAuthSourceConnectionFromJSON(json: any): GroupOAuthSourceConnection;
|
|
61
67
|
export declare function GroupOAuthSourceConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupOAuthSourceConnection;
|
|
62
68
|
export declare function GroupOAuthSourceConnectionToJSON(json: any): GroupOAuthSourceConnection;
|
|
63
|
-
export declare function GroupOAuthSourceConnectionToJSONTyped(value?: Omit<GroupOAuthSourceConnection, 'pk' | 'source_obj' | 'created'> | null, ignoreDiscriminator?: boolean): any;
|
|
69
|
+
export declare function GroupOAuthSourceConnectionToJSONTyped(value?: Omit<GroupOAuthSourceConnection, 'pk' | 'source_obj' | 'created' | 'last_updated'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -28,6 +28,8 @@ export function instanceOfGroupOAuthSourceConnection(value) {
|
|
|
28
28
|
return false;
|
|
29
29
|
if (!('created' in value) || value['created'] === undefined)
|
|
30
30
|
return false;
|
|
31
|
+
if (!('lastUpdated' in value) || value['lastUpdated'] === undefined)
|
|
32
|
+
return false;
|
|
31
33
|
return true;
|
|
32
34
|
}
|
|
33
35
|
export function GroupOAuthSourceConnectionFromJSON(json) {
|
|
@@ -44,6 +46,7 @@ export function GroupOAuthSourceConnectionFromJSONTyped(json, ignoreDiscriminato
|
|
|
44
46
|
'sourceObj': SourceFromJSON(json['source_obj']),
|
|
45
47
|
'identifier': json['identifier'],
|
|
46
48
|
'created': (new Date(json['created'])),
|
|
49
|
+
'lastUpdated': (new Date(json['last_updated'])),
|
|
47
50
|
};
|
|
48
51
|
}
|
|
49
52
|
export function GroupOAuthSourceConnectionToJSON(json) {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { Source } from './Source';
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Group Source Connection
|
|
15
15
|
* @export
|
|
16
16
|
* @interface GroupPlexSourceConnection
|
|
17
17
|
*/
|
|
@@ -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;
|
|
@@ -28,6 +28,8 @@ export function instanceOfGroupPlexSourceConnection(value) {
|
|
|
28
28
|
return false;
|
|
29
29
|
if (!('created' in value) || value['created'] === undefined)
|
|
30
30
|
return false;
|
|
31
|
+
if (!('lastUpdated' in value) || value['lastUpdated'] === undefined)
|
|
32
|
+
return false;
|
|
31
33
|
return true;
|
|
32
34
|
}
|
|
33
35
|
export function GroupPlexSourceConnectionFromJSON(json) {
|
|
@@ -44,6 +46,7 @@ export function GroupPlexSourceConnectionFromJSONTyped(json, ignoreDiscriminator
|
|
|
44
46
|
'sourceObj': SourceFromJSON(json['source_obj']),
|
|
45
47
|
'identifier': json['identifier'],
|
|
46
48
|
'created': (new Date(json['created'])),
|
|
49
|
+
'lastUpdated': (new Date(json['last_updated'])),
|
|
47
50
|
};
|
|
48
51
|
}
|
|
49
52
|
export function GroupPlexSourceConnectionToJSON(json) {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { Source } from './Source';
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Group Source Connection
|
|
15
15
|
* @export
|
|
16
16
|
* @interface GroupSAMLSourceConnection
|
|
17
17
|
*/
|
|
@@ -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;
|
|
@@ -28,6 +28,8 @@ export function instanceOfGroupSAMLSourceConnection(value) {
|
|
|
28
28
|
return false;
|
|
29
29
|
if (!('created' in value) || value['created'] === undefined)
|
|
30
30
|
return false;
|
|
31
|
+
if (!('lastUpdated' in value) || value['lastUpdated'] === undefined)
|
|
32
|
+
return false;
|
|
31
33
|
return true;
|
|
32
34
|
}
|
|
33
35
|
export function GroupSAMLSourceConnectionFromJSON(json) {
|
|
@@ -44,6 +46,7 @@ export function GroupSAMLSourceConnectionFromJSONTyped(json, ignoreDiscriminator
|
|
|
44
46
|
'sourceObj': SourceFromJSON(json['source_obj']),
|
|
45
47
|
'identifier': json['identifier'],
|
|
46
48
|
'created': (new Date(json['created'])),
|
|
49
|
+
'lastUpdated': (new Date(json['last_updated'])),
|
|
47
50
|
};
|
|
48
51
|
}
|
|
49
52
|
export function GroupSAMLSourceConnectionToJSON(json) {
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2025.2.3
|
|
6
|
+
* Contact: hello@goauthentik.io
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Source } from './Source';
|
|
13
|
+
/**
|
|
14
|
+
* Group Source Connection
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GroupSourceConnection
|
|
17
|
+
*/
|
|
18
|
+
export interface GroupSourceConnection {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof GroupSourceConnection
|
|
23
|
+
*/
|
|
24
|
+
readonly pk: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof GroupSourceConnection
|
|
29
|
+
*/
|
|
30
|
+
group: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof GroupSourceConnection
|
|
35
|
+
*/
|
|
36
|
+
source: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Source}
|
|
40
|
+
* @memberof GroupSourceConnection
|
|
41
|
+
*/
|
|
42
|
+
readonly sourceObj: Source;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof GroupSourceConnection
|
|
47
|
+
*/
|
|
48
|
+
identifier: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {Date}
|
|
52
|
+
* @memberof GroupSourceConnection
|
|
53
|
+
*/
|
|
54
|
+
readonly created: Date;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {Date}
|
|
58
|
+
* @memberof GroupSourceConnection
|
|
59
|
+
*/
|
|
60
|
+
readonly lastUpdated: Date;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Check if a given object implements the GroupSourceConnection interface.
|
|
64
|
+
*/
|
|
65
|
+
export declare function instanceOfGroupSourceConnection(value: object): value is GroupSourceConnection;
|
|
66
|
+
export declare function GroupSourceConnectionFromJSON(json: any): GroupSourceConnection;
|
|
67
|
+
export declare function GroupSourceConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupSourceConnection;
|
|
68
|
+
export declare function GroupSourceConnectionToJSON(json: any): GroupSourceConnection;
|
|
69
|
+
export declare function GroupSourceConnectionToJSONTyped(value?: Omit<GroupSourceConnection, 'pk' | 'source_obj' | 'created' | 'last_updated'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,64 @@
|
|
|
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
|
+
import { SourceFromJSON, } from './Source';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the GroupSourceConnection interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfGroupSourceConnection(value) {
|
|
19
|
+
if (!('pk' in value) || value['pk'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('group' in value) || value['group'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('source' in value) || value['source'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('sourceObj' in value) || value['sourceObj'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('identifier' in value) || value['identifier'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('created' in value) || value['created'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('lastUpdated' in value) || value['lastUpdated'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
export function GroupSourceConnectionFromJSON(json) {
|
|
36
|
+
return GroupSourceConnectionFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function GroupSourceConnectionFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'pk': json['pk'],
|
|
44
|
+
'group': json['group'],
|
|
45
|
+
'source': json['source'],
|
|
46
|
+
'sourceObj': SourceFromJSON(json['source_obj']),
|
|
47
|
+
'identifier': json['identifier'],
|
|
48
|
+
'created': (new Date(json['created'])),
|
|
49
|
+
'lastUpdated': (new Date(json['last_updated'])),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
export function GroupSourceConnectionToJSON(json) {
|
|
53
|
+
return GroupSourceConnectionToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
export function GroupSourceConnectionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'group': value['group'],
|
|
61
|
+
'source': value['source'],
|
|
62
|
+
'identifier': value['identifier'],
|
|
63
|
+
};
|
|
64
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2025.2.3
|
|
6
|
+
* Contact: hello@goauthentik.io
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Group Source Connection
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GroupSourceConnectionRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface GroupSourceConnectionRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GroupSourceConnectionRequest
|
|
22
|
+
*/
|
|
23
|
+
group: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GroupSourceConnectionRequest
|
|
28
|
+
*/
|
|
29
|
+
source: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof GroupSourceConnectionRequest
|
|
34
|
+
*/
|
|
35
|
+
identifier: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the GroupSourceConnectionRequest interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfGroupSourceConnectionRequest(value: object): value is GroupSourceConnectionRequest;
|
|
41
|
+
export declare function GroupSourceConnectionRequestFromJSON(json: any): GroupSourceConnectionRequest;
|
|
42
|
+
export declare function GroupSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupSourceConnectionRequest;
|
|
43
|
+
export declare function GroupSourceConnectionRequestToJSON(json: any): GroupSourceConnectionRequest;
|
|
44
|
+
export declare function GroupSourceConnectionRequestToJSONTyped(value?: GroupSourceConnectionRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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
|
+
* Check if a given object implements the GroupSourceConnectionRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfGroupSourceConnectionRequest(value) {
|
|
18
|
+
if (!('group' in value) || value['group'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('source' in value) || value['source'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('identifier' in value) || value['identifier'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function GroupSourceConnectionRequestFromJSON(json) {
|
|
27
|
+
return GroupSourceConnectionRequestFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function GroupSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'group': json['group'],
|
|
35
|
+
'source': json['source'],
|
|
36
|
+
'identifier': json['identifier'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export function GroupSourceConnectionRequestToJSON(json) {
|
|
40
|
+
return GroupSourceConnectionRequestToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function GroupSourceConnectionRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'group': value['group'],
|
|
48
|
+
'source': value['source'],
|
|
49
|
+
'identifier': value['identifier'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2025.2.3
|
|
6
|
+
* Contact: hello@goauthentik.io
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Pagination } from './Pagination';
|
|
13
|
+
import type { GroupSourceConnection } from './GroupSourceConnection';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaginatedGroupSourceConnectionList
|
|
18
|
+
*/
|
|
19
|
+
export interface PaginatedGroupSourceConnectionList {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Pagination}
|
|
23
|
+
* @memberof PaginatedGroupSourceConnectionList
|
|
24
|
+
*/
|
|
25
|
+
pagination: Pagination;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<GroupSourceConnection>}
|
|
29
|
+
* @memberof PaginatedGroupSourceConnectionList
|
|
30
|
+
*/
|
|
31
|
+
results: Array<GroupSourceConnection>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PaginatedGroupSourceConnectionList interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfPaginatedGroupSourceConnectionList(value: object): value is PaginatedGroupSourceConnectionList;
|
|
37
|
+
export declare function PaginatedGroupSourceConnectionListFromJSON(json: any): PaginatedGroupSourceConnectionList;
|
|
38
|
+
export declare function PaginatedGroupSourceConnectionListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedGroupSourceConnectionList;
|
|
39
|
+
export declare function PaginatedGroupSourceConnectionListToJSON(json: any): PaginatedGroupSourceConnectionList;
|
|
40
|
+
export declare function PaginatedGroupSourceConnectionListToJSONTyped(value?: PaginatedGroupSourceConnectionList | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,49 @@
|
|
|
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
|
+
import { PaginationFromJSON, PaginationToJSON, } from './Pagination';
|
|
15
|
+
import { GroupSourceConnectionFromJSON, GroupSourceConnectionToJSON, } from './GroupSourceConnection';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the PaginatedGroupSourceConnectionList interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfPaginatedGroupSourceConnectionList(value) {
|
|
20
|
+
if (!('pagination' in value) || value['pagination'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('results' in value) || value['results'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function PaginatedGroupSourceConnectionListFromJSON(json) {
|
|
27
|
+
return PaginatedGroupSourceConnectionListFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function PaginatedGroupSourceConnectionListFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'pagination': PaginationFromJSON(json['pagination']),
|
|
35
|
+
'results': (json['results'].map(GroupSourceConnectionFromJSON)),
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export function PaginatedGroupSourceConnectionListToJSON(json) {
|
|
39
|
+
return PaginatedGroupSourceConnectionListToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
export function PaginatedGroupSourceConnectionListToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'pagination': PaginationToJSON(value['pagination']),
|
|
47
|
+
'results': (value['results'].map(GroupSourceConnectionToJSON)),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2025.2.3
|
|
6
|
+
* Contact: hello@goauthentik.io
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Group Source Connection
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PatchedGroupSourceConnectionRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface PatchedGroupSourceConnectionRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PatchedGroupSourceConnectionRequest
|
|
22
|
+
*/
|
|
23
|
+
group?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PatchedGroupSourceConnectionRequest
|
|
28
|
+
*/
|
|
29
|
+
source?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PatchedGroupSourceConnectionRequest
|
|
34
|
+
*/
|
|
35
|
+
identifier?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the PatchedGroupSourceConnectionRequest interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfPatchedGroupSourceConnectionRequest(value: object): value is PatchedGroupSourceConnectionRequest;
|
|
41
|
+
export declare function PatchedGroupSourceConnectionRequestFromJSON(json: any): PatchedGroupSourceConnectionRequest;
|
|
42
|
+
export declare function PatchedGroupSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedGroupSourceConnectionRequest;
|
|
43
|
+
export declare function PatchedGroupSourceConnectionRequestToJSON(json: any): PatchedGroupSourceConnectionRequest;
|
|
44
|
+
export declare function PatchedGroupSourceConnectionRequestToJSONTyped(value?: PatchedGroupSourceConnectionRequest | null, ignoreDiscriminator?: boolean): any;
|