@goauthentik/api 2024.10.5-1734022840 → 2024.10.5-1734524927
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 +10 -0
- package/dist/apis/SourcesApi.d.ts +21 -5
- package/dist/apis/SourcesApi.js +51 -6
- package/dist/esm/apis/SourcesApi.d.ts +21 -5
- package/dist/esm/apis/SourcesApi.js +52 -7
- package/dist/esm/models/GroupKerberosSourceConnection.d.ts +9 -3
- package/dist/esm/models/GroupKerberosSourceConnection.js +8 -2
- package/dist/esm/models/GroupKerberosSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/GroupKerberosSourceConnectionRequest.js +49 -0
- package/dist/esm/models/GroupOAuthSourceConnection.d.ts +9 -3
- package/dist/esm/models/GroupOAuthSourceConnection.js +8 -2
- package/dist/esm/models/GroupOAuthSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/GroupOAuthSourceConnectionRequest.js +49 -0
- package/dist/esm/models/GroupPlexSourceConnection.d.ts +9 -3
- package/dist/esm/models/GroupPlexSourceConnection.js +8 -2
- package/dist/esm/models/GroupPlexSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/GroupPlexSourceConnectionRequest.js +49 -0
- package/dist/esm/models/GroupSAMLSourceConnection.d.ts +9 -3
- package/dist/esm/models/GroupSAMLSourceConnection.js +8 -2
- package/dist/esm/models/GroupSAMLSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/GroupSAMLSourceConnectionRequest.js +49 -0
- package/dist/esm/models/PatchedGroupKerberosSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/PatchedGroupKerberosSourceConnectionRequest.js +47 -0
- package/dist/esm/models/PatchedGroupOAuthSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/PatchedGroupOAuthSourceConnectionRequest.js +47 -0
- package/dist/esm/models/PatchedGroupPlexSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/PatchedGroupPlexSourceConnectionRequest.js +47 -0
- package/dist/esm/models/PatchedGroupSAMLSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/PatchedGroupSAMLSourceConnectionRequest.js +47 -0
- package/dist/esm/models/PatchedUserKerberosSourceConnectionRequest.d.ts +6 -0
- package/dist/esm/models/PatchedUserKerberosSourceConnectionRequest.js +2 -0
- package/dist/esm/models/PatchedUserOAuthSourceConnectionRequest.d.ts +12 -0
- package/dist/esm/models/PatchedUserOAuthSourceConnectionRequest.js +4 -0
- package/dist/esm/models/PatchedUserPlexSourceConnectionRequest.d.ts +12 -0
- package/dist/esm/models/PatchedUserPlexSourceConnectionRequest.js +4 -0
- package/dist/esm/models/PatchedUserSAMLSourceConnectionRequest.d.ts +12 -0
- package/dist/esm/models/PatchedUserSAMLSourceConnectionRequest.js +4 -0
- package/dist/esm/models/PatchedUserSourceConnectionRequest.d.ts +37 -0
- package/dist/esm/models/PatchedUserSourceConnectionRequest.js +45 -0
- package/dist/esm/models/UserKerberosSourceConnection.d.ts +7 -1
- package/dist/esm/models/UserKerberosSourceConnection.js +4 -1
- package/dist/esm/models/UserKerberosSourceConnectionRequest.d.ts +6 -0
- package/dist/esm/models/UserKerberosSourceConnectionRequest.js +3 -0
- package/dist/esm/models/UserOAuthSourceConnection.d.ts +8 -2
- package/dist/esm/models/UserOAuthSourceConnection.js +5 -1
- package/dist/esm/models/UserOAuthSourceConnectionRequest.d.ts +12 -0
- package/dist/esm/models/UserOAuthSourceConnectionRequest.js +6 -0
- package/dist/esm/models/UserPlexSourceConnection.d.ts +8 -2
- package/dist/esm/models/UserPlexSourceConnection.js +5 -1
- package/dist/esm/models/UserPlexSourceConnectionRequest.d.ts +12 -0
- package/dist/esm/models/UserPlexSourceConnectionRequest.js +6 -0
- package/dist/esm/models/UserSAMLSourceConnection.d.ts +8 -2
- package/dist/esm/models/UserSAMLSourceConnection.js +5 -1
- package/dist/esm/models/UserSAMLSourceConnectionRequest.d.ts +12 -0
- package/dist/esm/models/UserSAMLSourceConnectionRequest.js +6 -0
- package/dist/esm/models/UserSourceConnection.d.ts +9 -3
- package/dist/esm/models/UserSourceConnection.js +7 -2
- package/dist/esm/models/UserSourceConnectionRequest.d.ts +37 -0
- package/dist/esm/models/UserSourceConnectionRequest.js +46 -0
- package/dist/esm/models/index.d.ts +10 -0
- package/dist/esm/models/index.js +10 -0
- package/dist/models/GroupKerberosSourceConnection.d.ts +9 -3
- package/dist/models/GroupKerberosSourceConnection.js +8 -2
- package/dist/models/GroupKerberosSourceConnectionRequest.d.ts +43 -0
- package/dist/models/GroupKerberosSourceConnectionRequest.js +56 -0
- package/dist/models/GroupOAuthSourceConnection.d.ts +9 -3
- package/dist/models/GroupOAuthSourceConnection.js +8 -2
- package/dist/models/GroupOAuthSourceConnectionRequest.d.ts +43 -0
- package/dist/models/GroupOAuthSourceConnectionRequest.js +56 -0
- package/dist/models/GroupPlexSourceConnection.d.ts +9 -3
- package/dist/models/GroupPlexSourceConnection.js +8 -2
- package/dist/models/GroupPlexSourceConnectionRequest.d.ts +43 -0
- package/dist/models/GroupPlexSourceConnectionRequest.js +56 -0
- package/dist/models/GroupSAMLSourceConnection.d.ts +9 -3
- package/dist/models/GroupSAMLSourceConnection.js +8 -2
- package/dist/models/GroupSAMLSourceConnectionRequest.d.ts +43 -0
- package/dist/models/GroupSAMLSourceConnectionRequest.js +56 -0
- package/dist/models/PatchedGroupKerberosSourceConnectionRequest.d.ts +43 -0
- package/dist/models/PatchedGroupKerberosSourceConnectionRequest.js +54 -0
- package/dist/models/PatchedGroupOAuthSourceConnectionRequest.d.ts +43 -0
- package/dist/models/PatchedGroupOAuthSourceConnectionRequest.js +54 -0
- package/dist/models/PatchedGroupPlexSourceConnectionRequest.d.ts +43 -0
- package/dist/models/PatchedGroupPlexSourceConnectionRequest.js +54 -0
- package/dist/models/PatchedGroupSAMLSourceConnectionRequest.d.ts +43 -0
- package/dist/models/PatchedGroupSAMLSourceConnectionRequest.js +54 -0
- package/dist/models/PatchedUserKerberosSourceConnectionRequest.d.ts +6 -0
- package/dist/models/PatchedUserKerberosSourceConnectionRequest.js +2 -0
- package/dist/models/PatchedUserOAuthSourceConnectionRequest.d.ts +12 -0
- package/dist/models/PatchedUserOAuthSourceConnectionRequest.js +4 -0
- package/dist/models/PatchedUserPlexSourceConnectionRequest.d.ts +12 -0
- package/dist/models/PatchedUserPlexSourceConnectionRequest.js +4 -0
- package/dist/models/PatchedUserSAMLSourceConnectionRequest.d.ts +12 -0
- package/dist/models/PatchedUserSAMLSourceConnectionRequest.js +4 -0
- package/dist/models/PatchedUserSourceConnectionRequest.d.ts +37 -0
- package/dist/models/PatchedUserSourceConnectionRequest.js +52 -0
- package/dist/models/UserKerberosSourceConnection.d.ts +7 -1
- package/dist/models/UserKerberosSourceConnection.js +4 -1
- package/dist/models/UserKerberosSourceConnectionRequest.d.ts +6 -0
- package/dist/models/UserKerberosSourceConnectionRequest.js +3 -0
- package/dist/models/UserOAuthSourceConnection.d.ts +8 -2
- package/dist/models/UserOAuthSourceConnection.js +5 -1
- package/dist/models/UserOAuthSourceConnectionRequest.d.ts +12 -0
- package/dist/models/UserOAuthSourceConnectionRequest.js +6 -0
- package/dist/models/UserPlexSourceConnection.d.ts +8 -2
- package/dist/models/UserPlexSourceConnection.js +5 -1
- package/dist/models/UserPlexSourceConnectionRequest.d.ts +12 -0
- package/dist/models/UserPlexSourceConnectionRequest.js +6 -0
- package/dist/models/UserSAMLSourceConnection.d.ts +8 -2
- package/dist/models/UserSAMLSourceConnection.js +5 -1
- package/dist/models/UserSAMLSourceConnectionRequest.d.ts +12 -0
- package/dist/models/UserSAMLSourceConnectionRequest.js +6 -0
- package/dist/models/UserSourceConnection.d.ts +9 -3
- package/dist/models/UserSourceConnection.js +7 -2
- package/dist/models/UserSourceConnectionRequest.d.ts +37 -0
- package/dist/models/UserSourceConnectionRequest.js +53 -0
- package/dist/models/index.d.ts +10 -0
- package/dist/models/index.js +10 -0
- package/package.json +1 -1
- package/src/apis/SourcesApi.ts +118 -6
- package/src/models/GroupKerberosSourceConnection.ts +15 -4
- package/src/models/GroupKerberosSourceConnectionRequest.ts +84 -0
- package/src/models/GroupOAuthSourceConnection.ts +15 -4
- package/src/models/GroupOAuthSourceConnectionRequest.ts +84 -0
- package/src/models/GroupPlexSourceConnection.ts +15 -4
- package/src/models/GroupPlexSourceConnectionRequest.ts +84 -0
- package/src/models/GroupSAMLSourceConnection.ts +15 -4
- package/src/models/GroupSAMLSourceConnectionRequest.ts +84 -0
- package/src/models/PatchedGroupKerberosSourceConnectionRequest.ts +81 -0
- package/src/models/PatchedGroupOAuthSourceConnectionRequest.ts +81 -0
- package/src/models/PatchedGroupPlexSourceConnectionRequest.ts +81 -0
- package/src/models/PatchedGroupSAMLSourceConnectionRequest.ts +81 -0
- package/src/models/PatchedUserKerberosSourceConnectionRequest.ts +8 -0
- package/src/models/PatchedUserOAuthSourceConnectionRequest.ts +16 -0
- package/src/models/PatchedUserPlexSourceConnectionRequest.ts +16 -0
- package/src/models/PatchedUserSAMLSourceConnectionRequest.ts +16 -0
- package/src/models/PatchedUserSourceConnectionRequest.ts +73 -0
- package/src/models/UserKerberosSourceConnection.ts +11 -2
- package/src/models/UserKerberosSourceConnectionRequest.ts +9 -0
- package/src/models/UserOAuthSourceConnection.ts +13 -3
- package/src/models/UserOAuthSourceConnectionRequest.ts +18 -0
- package/src/models/UserPlexSourceConnection.ts +13 -3
- package/src/models/UserPlexSourceConnectionRequest.ts +18 -0
- package/src/models/UserSAMLSourceConnection.ts +13 -3
- package/src/models/UserSAMLSourceConnectionRequest.ts +18 -0
- package/src/models/UserSourceConnection.ts +14 -4
- package/src/models/UserSourceConnectionRequest.ts +75 -0
- package/src/models/index.ts +10 -0
|
@@ -37,19 +37,25 @@ export interface GroupOAuthSourceConnection {
|
|
|
37
37
|
* @type {string}
|
|
38
38
|
* @memberof GroupOAuthSourceConnection
|
|
39
39
|
*/
|
|
40
|
-
|
|
40
|
+
group: string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof GroupOAuthSourceConnection
|
|
45
|
+
*/
|
|
46
|
+
source: string;
|
|
41
47
|
/**
|
|
42
48
|
*
|
|
43
49
|
* @type {Source}
|
|
44
50
|
* @memberof GroupOAuthSourceConnection
|
|
45
51
|
*/
|
|
46
|
-
readonly
|
|
52
|
+
readonly sourceObj: Source;
|
|
47
53
|
/**
|
|
48
54
|
*
|
|
49
55
|
* @type {string}
|
|
50
56
|
* @memberof GroupOAuthSourceConnection
|
|
51
57
|
*/
|
|
52
|
-
|
|
58
|
+
identifier: string;
|
|
53
59
|
/**
|
|
54
60
|
*
|
|
55
61
|
* @type {Date}
|
|
@@ -66,6 +72,7 @@ export function instanceOfGroupOAuthSourceConnection(value: object): boolean {
|
|
|
66
72
|
isInstance = isInstance && "pk" in value;
|
|
67
73
|
isInstance = isInstance && "group" in value;
|
|
68
74
|
isInstance = isInstance && "source" in value;
|
|
75
|
+
isInstance = isInstance && "sourceObj" in value;
|
|
69
76
|
isInstance = isInstance && "identifier" in value;
|
|
70
77
|
isInstance = isInstance && "created" in value;
|
|
71
78
|
|
|
@@ -84,7 +91,8 @@ export function GroupOAuthSourceConnectionFromJSONTyped(json: any, ignoreDiscrim
|
|
|
84
91
|
|
|
85
92
|
'pk': json['pk'],
|
|
86
93
|
'group': json['group'],
|
|
87
|
-
'source':
|
|
94
|
+
'source': json['source'],
|
|
95
|
+
'sourceObj': SourceFromJSON(json['source_obj']),
|
|
88
96
|
'identifier': json['identifier'],
|
|
89
97
|
'created': (new Date(json['created'])),
|
|
90
98
|
};
|
|
@@ -99,6 +107,9 @@ export function GroupOAuthSourceConnectionToJSON(value?: GroupOAuthSourceConnect
|
|
|
99
107
|
}
|
|
100
108
|
return {
|
|
101
109
|
|
|
110
|
+
'group': value.group,
|
|
111
|
+
'source': value.source,
|
|
112
|
+
'identifier': value.identifier,
|
|
102
113
|
};
|
|
103
114
|
}
|
|
104
115
|
|
|
@@ -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: 2024.10.5
|
|
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 { exists, mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
* OAuth Group-Source connection Serializer
|
|
18
|
+
* @export
|
|
19
|
+
* @interface GroupOAuthSourceConnectionRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface GroupOAuthSourceConnectionRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof GroupOAuthSourceConnectionRequest
|
|
26
|
+
*/
|
|
27
|
+
group: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof GroupOAuthSourceConnectionRequest
|
|
32
|
+
*/
|
|
33
|
+
source: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof GroupOAuthSourceConnectionRequest
|
|
38
|
+
*/
|
|
39
|
+
identifier: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the GroupOAuthSourceConnectionRequest interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfGroupOAuthSourceConnectionRequest(value: object): boolean {
|
|
46
|
+
let isInstance = true;
|
|
47
|
+
isInstance = isInstance && "group" in value;
|
|
48
|
+
isInstance = isInstance && "source" in value;
|
|
49
|
+
isInstance = isInstance && "identifier" in value;
|
|
50
|
+
|
|
51
|
+
return isInstance;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export function GroupOAuthSourceConnectionRequestFromJSON(json: any): GroupOAuthSourceConnectionRequest {
|
|
55
|
+
return GroupOAuthSourceConnectionRequestFromJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function GroupOAuthSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupOAuthSourceConnectionRequest {
|
|
59
|
+
if ((json === undefined) || (json === null)) {
|
|
60
|
+
return json;
|
|
61
|
+
}
|
|
62
|
+
return {
|
|
63
|
+
|
|
64
|
+
'group': json['group'],
|
|
65
|
+
'source': json['source'],
|
|
66
|
+
'identifier': json['identifier'],
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function GroupOAuthSourceConnectionRequestToJSON(value?: GroupOAuthSourceConnectionRequest | null): any {
|
|
71
|
+
if (value === undefined) {
|
|
72
|
+
return undefined;
|
|
73
|
+
}
|
|
74
|
+
if (value === null) {
|
|
75
|
+
return null;
|
|
76
|
+
}
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'group': value.group,
|
|
80
|
+
'source': value.source,
|
|
81
|
+
'identifier': value.identifier,
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
@@ -37,19 +37,25 @@ export interface GroupPlexSourceConnection {
|
|
|
37
37
|
* @type {string}
|
|
38
38
|
* @memberof GroupPlexSourceConnection
|
|
39
39
|
*/
|
|
40
|
-
|
|
40
|
+
group: string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof GroupPlexSourceConnection
|
|
45
|
+
*/
|
|
46
|
+
source: string;
|
|
41
47
|
/**
|
|
42
48
|
*
|
|
43
49
|
* @type {Source}
|
|
44
50
|
* @memberof GroupPlexSourceConnection
|
|
45
51
|
*/
|
|
46
|
-
readonly
|
|
52
|
+
readonly sourceObj: Source;
|
|
47
53
|
/**
|
|
48
54
|
*
|
|
49
55
|
* @type {string}
|
|
50
56
|
* @memberof GroupPlexSourceConnection
|
|
51
57
|
*/
|
|
52
|
-
|
|
58
|
+
identifier: string;
|
|
53
59
|
/**
|
|
54
60
|
*
|
|
55
61
|
* @type {Date}
|
|
@@ -66,6 +72,7 @@ export function instanceOfGroupPlexSourceConnection(value: object): boolean {
|
|
|
66
72
|
isInstance = isInstance && "pk" in value;
|
|
67
73
|
isInstance = isInstance && "group" in value;
|
|
68
74
|
isInstance = isInstance && "source" in value;
|
|
75
|
+
isInstance = isInstance && "sourceObj" in value;
|
|
69
76
|
isInstance = isInstance && "identifier" in value;
|
|
70
77
|
isInstance = isInstance && "created" in value;
|
|
71
78
|
|
|
@@ -84,7 +91,8 @@ export function GroupPlexSourceConnectionFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
84
91
|
|
|
85
92
|
'pk': json['pk'],
|
|
86
93
|
'group': json['group'],
|
|
87
|
-
'source':
|
|
94
|
+
'source': json['source'],
|
|
95
|
+
'sourceObj': SourceFromJSON(json['source_obj']),
|
|
88
96
|
'identifier': json['identifier'],
|
|
89
97
|
'created': (new Date(json['created'])),
|
|
90
98
|
};
|
|
@@ -99,6 +107,9 @@ export function GroupPlexSourceConnectionToJSON(value?: GroupPlexSourceConnectio
|
|
|
99
107
|
}
|
|
100
108
|
return {
|
|
101
109
|
|
|
110
|
+
'group': value.group,
|
|
111
|
+
'source': value.source,
|
|
112
|
+
'identifier': value.identifier,
|
|
102
113
|
};
|
|
103
114
|
}
|
|
104
115
|
|
|
@@ -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: 2024.10.5
|
|
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 { exists, mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
* Plex Group-Source connection Serializer
|
|
18
|
+
* @export
|
|
19
|
+
* @interface GroupPlexSourceConnectionRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface GroupPlexSourceConnectionRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof GroupPlexSourceConnectionRequest
|
|
26
|
+
*/
|
|
27
|
+
group: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof GroupPlexSourceConnectionRequest
|
|
32
|
+
*/
|
|
33
|
+
source: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof GroupPlexSourceConnectionRequest
|
|
38
|
+
*/
|
|
39
|
+
identifier: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the GroupPlexSourceConnectionRequest interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfGroupPlexSourceConnectionRequest(value: object): boolean {
|
|
46
|
+
let isInstance = true;
|
|
47
|
+
isInstance = isInstance && "group" in value;
|
|
48
|
+
isInstance = isInstance && "source" in value;
|
|
49
|
+
isInstance = isInstance && "identifier" in value;
|
|
50
|
+
|
|
51
|
+
return isInstance;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export function GroupPlexSourceConnectionRequestFromJSON(json: any): GroupPlexSourceConnectionRequest {
|
|
55
|
+
return GroupPlexSourceConnectionRequestFromJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function GroupPlexSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupPlexSourceConnectionRequest {
|
|
59
|
+
if ((json === undefined) || (json === null)) {
|
|
60
|
+
return json;
|
|
61
|
+
}
|
|
62
|
+
return {
|
|
63
|
+
|
|
64
|
+
'group': json['group'],
|
|
65
|
+
'source': json['source'],
|
|
66
|
+
'identifier': json['identifier'],
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function GroupPlexSourceConnectionRequestToJSON(value?: GroupPlexSourceConnectionRequest | null): any {
|
|
71
|
+
if (value === undefined) {
|
|
72
|
+
return undefined;
|
|
73
|
+
}
|
|
74
|
+
if (value === null) {
|
|
75
|
+
return null;
|
|
76
|
+
}
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'group': value.group,
|
|
80
|
+
'source': value.source,
|
|
81
|
+
'identifier': value.identifier,
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
@@ -37,19 +37,25 @@ export interface GroupSAMLSourceConnection {
|
|
|
37
37
|
* @type {string}
|
|
38
38
|
* @memberof GroupSAMLSourceConnection
|
|
39
39
|
*/
|
|
40
|
-
|
|
40
|
+
group: string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof GroupSAMLSourceConnection
|
|
45
|
+
*/
|
|
46
|
+
source: string;
|
|
41
47
|
/**
|
|
42
48
|
*
|
|
43
49
|
* @type {Source}
|
|
44
50
|
* @memberof GroupSAMLSourceConnection
|
|
45
51
|
*/
|
|
46
|
-
readonly
|
|
52
|
+
readonly sourceObj: Source;
|
|
47
53
|
/**
|
|
48
54
|
*
|
|
49
55
|
* @type {string}
|
|
50
56
|
* @memberof GroupSAMLSourceConnection
|
|
51
57
|
*/
|
|
52
|
-
|
|
58
|
+
identifier: string;
|
|
53
59
|
/**
|
|
54
60
|
*
|
|
55
61
|
* @type {Date}
|
|
@@ -66,6 +72,7 @@ export function instanceOfGroupSAMLSourceConnection(value: object): boolean {
|
|
|
66
72
|
isInstance = isInstance && "pk" in value;
|
|
67
73
|
isInstance = isInstance && "group" in value;
|
|
68
74
|
isInstance = isInstance && "source" in value;
|
|
75
|
+
isInstance = isInstance && "sourceObj" in value;
|
|
69
76
|
isInstance = isInstance && "identifier" in value;
|
|
70
77
|
isInstance = isInstance && "created" in value;
|
|
71
78
|
|
|
@@ -84,7 +91,8 @@ export function GroupSAMLSourceConnectionFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
84
91
|
|
|
85
92
|
'pk': json['pk'],
|
|
86
93
|
'group': json['group'],
|
|
87
|
-
'source':
|
|
94
|
+
'source': json['source'],
|
|
95
|
+
'sourceObj': SourceFromJSON(json['source_obj']),
|
|
88
96
|
'identifier': json['identifier'],
|
|
89
97
|
'created': (new Date(json['created'])),
|
|
90
98
|
};
|
|
@@ -99,6 +107,9 @@ export function GroupSAMLSourceConnectionToJSON(value?: GroupSAMLSourceConnectio
|
|
|
99
107
|
}
|
|
100
108
|
return {
|
|
101
109
|
|
|
110
|
+
'group': value.group,
|
|
111
|
+
'source': value.source,
|
|
112
|
+
'identifier': value.identifier,
|
|
102
113
|
};
|
|
103
114
|
}
|
|
104
115
|
|
|
@@ -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: 2024.10.5
|
|
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 { exists, mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
* OAuth Group-Source connection Serializer
|
|
18
|
+
* @export
|
|
19
|
+
* @interface GroupSAMLSourceConnectionRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface GroupSAMLSourceConnectionRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof GroupSAMLSourceConnectionRequest
|
|
26
|
+
*/
|
|
27
|
+
group: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof GroupSAMLSourceConnectionRequest
|
|
32
|
+
*/
|
|
33
|
+
source: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof GroupSAMLSourceConnectionRequest
|
|
38
|
+
*/
|
|
39
|
+
identifier: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the GroupSAMLSourceConnectionRequest interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfGroupSAMLSourceConnectionRequest(value: object): boolean {
|
|
46
|
+
let isInstance = true;
|
|
47
|
+
isInstance = isInstance && "group" in value;
|
|
48
|
+
isInstance = isInstance && "source" in value;
|
|
49
|
+
isInstance = isInstance && "identifier" in value;
|
|
50
|
+
|
|
51
|
+
return isInstance;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export function GroupSAMLSourceConnectionRequestFromJSON(json: any): GroupSAMLSourceConnectionRequest {
|
|
55
|
+
return GroupSAMLSourceConnectionRequestFromJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function GroupSAMLSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupSAMLSourceConnectionRequest {
|
|
59
|
+
if ((json === undefined) || (json === null)) {
|
|
60
|
+
return json;
|
|
61
|
+
}
|
|
62
|
+
return {
|
|
63
|
+
|
|
64
|
+
'group': json['group'],
|
|
65
|
+
'source': json['source'],
|
|
66
|
+
'identifier': json['identifier'],
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function GroupSAMLSourceConnectionRequestToJSON(value?: GroupSAMLSourceConnectionRequest | null): any {
|
|
71
|
+
if (value === undefined) {
|
|
72
|
+
return undefined;
|
|
73
|
+
}
|
|
74
|
+
if (value === null) {
|
|
75
|
+
return null;
|
|
76
|
+
}
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'group': value.group,
|
|
80
|
+
'source': value.source,
|
|
81
|
+
'identifier': value.identifier,
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
@@ -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: 2024.10.5
|
|
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 { exists, mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
* OAuth Group-Source connection Serializer
|
|
18
|
+
* @export
|
|
19
|
+
* @interface PatchedGroupKerberosSourceConnectionRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface PatchedGroupKerberosSourceConnectionRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof PatchedGroupKerberosSourceConnectionRequest
|
|
26
|
+
*/
|
|
27
|
+
group?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof PatchedGroupKerberosSourceConnectionRequest
|
|
32
|
+
*/
|
|
33
|
+
source?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof PatchedGroupKerberosSourceConnectionRequest
|
|
38
|
+
*/
|
|
39
|
+
identifier?: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the PatchedGroupKerberosSourceConnectionRequest interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfPatchedGroupKerberosSourceConnectionRequest(value: object): boolean {
|
|
46
|
+
let isInstance = true;
|
|
47
|
+
|
|
48
|
+
return isInstance;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function PatchedGroupKerberosSourceConnectionRequestFromJSON(json: any): PatchedGroupKerberosSourceConnectionRequest {
|
|
52
|
+
return PatchedGroupKerberosSourceConnectionRequestFromJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function PatchedGroupKerberosSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedGroupKerberosSourceConnectionRequest {
|
|
56
|
+
if ((json === undefined) || (json === null)) {
|
|
57
|
+
return json;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
|
|
61
|
+
'group': !exists(json, 'group') ? undefined : json['group'],
|
|
62
|
+
'source': !exists(json, 'source') ? undefined : json['source'],
|
|
63
|
+
'identifier': !exists(json, 'identifier') ? undefined : json['identifier'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function PatchedGroupKerberosSourceConnectionRequestToJSON(value?: PatchedGroupKerberosSourceConnectionRequest | null): any {
|
|
68
|
+
if (value === undefined) {
|
|
69
|
+
return undefined;
|
|
70
|
+
}
|
|
71
|
+
if (value === null) {
|
|
72
|
+
return null;
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'group': value.group,
|
|
77
|
+
'source': value.source,
|
|
78
|
+
'identifier': value.identifier,
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
|
@@ -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: 2024.10.5
|
|
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 { exists, mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
* OAuth Group-Source connection Serializer
|
|
18
|
+
* @export
|
|
19
|
+
* @interface PatchedGroupOAuthSourceConnectionRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface PatchedGroupOAuthSourceConnectionRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof PatchedGroupOAuthSourceConnectionRequest
|
|
26
|
+
*/
|
|
27
|
+
group?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof PatchedGroupOAuthSourceConnectionRequest
|
|
32
|
+
*/
|
|
33
|
+
source?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof PatchedGroupOAuthSourceConnectionRequest
|
|
38
|
+
*/
|
|
39
|
+
identifier?: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the PatchedGroupOAuthSourceConnectionRequest interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfPatchedGroupOAuthSourceConnectionRequest(value: object): boolean {
|
|
46
|
+
let isInstance = true;
|
|
47
|
+
|
|
48
|
+
return isInstance;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function PatchedGroupOAuthSourceConnectionRequestFromJSON(json: any): PatchedGroupOAuthSourceConnectionRequest {
|
|
52
|
+
return PatchedGroupOAuthSourceConnectionRequestFromJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function PatchedGroupOAuthSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedGroupOAuthSourceConnectionRequest {
|
|
56
|
+
if ((json === undefined) || (json === null)) {
|
|
57
|
+
return json;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
|
|
61
|
+
'group': !exists(json, 'group') ? undefined : json['group'],
|
|
62
|
+
'source': !exists(json, 'source') ? undefined : json['source'],
|
|
63
|
+
'identifier': !exists(json, 'identifier') ? undefined : json['identifier'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function PatchedGroupOAuthSourceConnectionRequestToJSON(value?: PatchedGroupOAuthSourceConnectionRequest | null): any {
|
|
68
|
+
if (value === undefined) {
|
|
69
|
+
return undefined;
|
|
70
|
+
}
|
|
71
|
+
if (value === null) {
|
|
72
|
+
return null;
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'group': value.group,
|
|
77
|
+
'source': value.source,
|
|
78
|
+
'identifier': value.identifier,
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
|
@@ -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: 2024.10.5
|
|
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 { exists, mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
* Plex Group-Source connection Serializer
|
|
18
|
+
* @export
|
|
19
|
+
* @interface PatchedGroupPlexSourceConnectionRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface PatchedGroupPlexSourceConnectionRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof PatchedGroupPlexSourceConnectionRequest
|
|
26
|
+
*/
|
|
27
|
+
group?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof PatchedGroupPlexSourceConnectionRequest
|
|
32
|
+
*/
|
|
33
|
+
source?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof PatchedGroupPlexSourceConnectionRequest
|
|
38
|
+
*/
|
|
39
|
+
identifier?: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the PatchedGroupPlexSourceConnectionRequest interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfPatchedGroupPlexSourceConnectionRequest(value: object): boolean {
|
|
46
|
+
let isInstance = true;
|
|
47
|
+
|
|
48
|
+
return isInstance;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function PatchedGroupPlexSourceConnectionRequestFromJSON(json: any): PatchedGroupPlexSourceConnectionRequest {
|
|
52
|
+
return PatchedGroupPlexSourceConnectionRequestFromJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function PatchedGroupPlexSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedGroupPlexSourceConnectionRequest {
|
|
56
|
+
if ((json === undefined) || (json === null)) {
|
|
57
|
+
return json;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
|
|
61
|
+
'group': !exists(json, 'group') ? undefined : json['group'],
|
|
62
|
+
'source': !exists(json, 'source') ? undefined : json['source'],
|
|
63
|
+
'identifier': !exists(json, 'identifier') ? undefined : json['identifier'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function PatchedGroupPlexSourceConnectionRequestToJSON(value?: PatchedGroupPlexSourceConnectionRequest | null): any {
|
|
68
|
+
if (value === undefined) {
|
|
69
|
+
return undefined;
|
|
70
|
+
}
|
|
71
|
+
if (value === null) {
|
|
72
|
+
return null;
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'group': value.group,
|
|
77
|
+
'source': value.source,
|
|
78
|
+
'identifier': value.identifier,
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|