@goauthentik/api 2025.2.4-1744288676 → 2025.2.4-1744640358
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 +8 -0
- package/dist/apis/CoreApi.d.ts +2 -2
- package/dist/apis/CoreApi.js +6 -6
- package/dist/apis/RbacApi.d.ts +4 -0
- package/dist/apis/RbacApi.js +4 -0
- package/dist/apis/SourcesApi.d.ts +169 -1
- package/dist/apis/SourcesApi.js +536 -0
- package/dist/esm/apis/CoreApi.d.ts +2 -2
- package/dist/esm/apis/CoreApi.js +6 -6
- package/dist/esm/apis/RbacApi.d.ts +4 -0
- package/dist/esm/apis/RbacApi.js +4 -0
- package/dist/esm/apis/SourcesApi.d.ts +169 -1
- package/dist/esm/apis/SourcesApi.js +537 -1
- package/dist/esm/models/AuthenticatedSession.d.ts +4 -4
- package/dist/esm/models/AuthenticatedSession.js +6 -5
- package/dist/esm/models/GroupLDAPSourceConnection.d.ts +69 -0
- package/dist/esm/models/GroupLDAPSourceConnection.js +64 -0
- package/dist/esm/models/GroupLDAPSourceConnectionRequest.d.ts +44 -0
- package/dist/esm/models/GroupLDAPSourceConnectionRequest.js +51 -0
- package/dist/esm/models/ModelEnum.d.ts +2 -0
- package/dist/esm/models/ModelEnum.js +2 -0
- package/dist/esm/models/PaginatedGroupLDAPSourceConnectionList.d.ts +40 -0
- package/dist/esm/models/PaginatedGroupLDAPSourceConnectionList.js +49 -0
- package/dist/esm/models/PaginatedUserLDAPSourceConnectionList.d.ts +40 -0
- package/dist/esm/models/PaginatedUserLDAPSourceConnectionList.js +49 -0
- package/dist/esm/models/PatchedGroupLDAPSourceConnectionRequest.d.ts +44 -0
- package/dist/esm/models/PatchedGroupLDAPSourceConnectionRequest.js +45 -0
- package/dist/esm/models/PatchedSettingsRequest.d.ts +12 -0
- package/dist/esm/models/PatchedSettingsRequest.js +4 -0
- package/dist/esm/models/PatchedUserLDAPSourceConnectionRequest.d.ts +44 -0
- package/dist/esm/models/PatchedUserLDAPSourceConnectionRequest.js +45 -0
- package/dist/esm/models/Settings.d.ts +12 -0
- package/dist/esm/models/Settings.js +4 -0
- package/dist/esm/models/SettingsRequest.d.ts +12 -0
- package/dist/esm/models/SettingsRequest.js +4 -0
- package/dist/esm/models/UserLDAPSourceConnection.d.ts +69 -0
- package/dist/esm/models/UserLDAPSourceConnection.js +64 -0
- package/dist/esm/models/UserLDAPSourceConnectionRequest.d.ts +44 -0
- package/dist/esm/models/UserLDAPSourceConnectionRequest.js +51 -0
- package/dist/esm/models/index.d.ts +8 -0
- package/dist/esm/models/index.js +8 -0
- package/dist/models/AuthenticatedSession.d.ts +4 -4
- package/dist/models/AuthenticatedSession.js +6 -5
- package/dist/models/GroupLDAPSourceConnection.d.ts +69 -0
- package/dist/models/GroupLDAPSourceConnection.js +71 -0
- package/dist/models/GroupLDAPSourceConnectionRequest.d.ts +44 -0
- package/dist/models/GroupLDAPSourceConnectionRequest.js +58 -0
- package/dist/models/ModelEnum.d.ts +2 -0
- package/dist/models/ModelEnum.js +2 -0
- package/dist/models/PaginatedGroupLDAPSourceConnectionList.d.ts +40 -0
- package/dist/models/PaginatedGroupLDAPSourceConnectionList.js +56 -0
- package/dist/models/PaginatedUserLDAPSourceConnectionList.d.ts +40 -0
- package/dist/models/PaginatedUserLDAPSourceConnectionList.js +56 -0
- package/dist/models/PatchedGroupLDAPSourceConnectionRequest.d.ts +44 -0
- package/dist/models/PatchedGroupLDAPSourceConnectionRequest.js +52 -0
- package/dist/models/PatchedSettingsRequest.d.ts +12 -0
- package/dist/models/PatchedSettingsRequest.js +4 -0
- package/dist/models/PatchedUserLDAPSourceConnectionRequest.d.ts +44 -0
- package/dist/models/PatchedUserLDAPSourceConnectionRequest.js +52 -0
- package/dist/models/Settings.d.ts +12 -0
- package/dist/models/Settings.js +4 -0
- package/dist/models/SettingsRequest.d.ts +12 -0
- package/dist/models/SettingsRequest.js +4 -0
- package/dist/models/UserLDAPSourceConnection.d.ts +69 -0
- package/dist/models/UserLDAPSourceConnection.js +71 -0
- package/dist/models/UserLDAPSourceConnectionRequest.d.ts +44 -0
- package/dist/models/UserLDAPSourceConnectionRequest.js +58 -0
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.js +8 -0
- package/package.json +1 -1
- package/src/apis/CoreApi.ts +10 -10
- package/src/apis/RbacApi.ts +4 -0
- package/src/apis/SourcesApi.ts +1929 -1197
- package/src/models/AuthenticatedSession.ts +8 -9
- package/src/models/GroupLDAPSourceConnection.ts +124 -0
- package/src/models/GroupLDAPSourceConnectionRequest.ts +84 -0
- package/src/models/ModelEnum.ts +2 -0
- package/src/models/PaginatedGroupLDAPSourceConnectionList.ts +90 -0
- package/src/models/PaginatedUserLDAPSourceConnectionList.ts +90 -0
- package/src/models/PatchedGroupLDAPSourceConnectionRequest.ts +81 -0
- package/src/models/PatchedSettingsRequest.ts +16 -0
- package/src/models/PatchedUserLDAPSourceConnectionRequest.ts +81 -0
- package/src/models/Settings.ts +16 -0
- package/src/models/SettingsRequest.ts +16 -0
- package/src/models/UserLDAPSourceConnection.ts +124 -0
- package/src/models/UserLDAPSourceConnectionRequest.ts +84 -0
- package/src/models/index.ts +8 -0
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2025.2.4
|
|
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 GroupLDAPSourceConnection
|
|
17
|
+
*/
|
|
18
|
+
export interface GroupLDAPSourceConnection {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof GroupLDAPSourceConnection
|
|
23
|
+
*/
|
|
24
|
+
readonly pk: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof GroupLDAPSourceConnection
|
|
29
|
+
*/
|
|
30
|
+
group: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof GroupLDAPSourceConnection
|
|
35
|
+
*/
|
|
36
|
+
source: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Source}
|
|
40
|
+
* @memberof GroupLDAPSourceConnection
|
|
41
|
+
*/
|
|
42
|
+
readonly sourceObj: Source;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof GroupLDAPSourceConnection
|
|
47
|
+
*/
|
|
48
|
+
identifier: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {Date}
|
|
52
|
+
* @memberof GroupLDAPSourceConnection
|
|
53
|
+
*/
|
|
54
|
+
readonly created: Date;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {Date}
|
|
58
|
+
* @memberof GroupLDAPSourceConnection
|
|
59
|
+
*/
|
|
60
|
+
readonly lastUpdated: Date;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Check if a given object implements the GroupLDAPSourceConnection interface.
|
|
64
|
+
*/
|
|
65
|
+
export declare function instanceOfGroupLDAPSourceConnection(value: object): value is GroupLDAPSourceConnection;
|
|
66
|
+
export declare function GroupLDAPSourceConnectionFromJSON(json: any): GroupLDAPSourceConnection;
|
|
67
|
+
export declare function GroupLDAPSourceConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupLDAPSourceConnection;
|
|
68
|
+
export declare function GroupLDAPSourceConnectionToJSON(json: any): GroupLDAPSourceConnection;
|
|
69
|
+
export declare function GroupLDAPSourceConnectionToJSONTyped(value?: Omit<GroupLDAPSourceConnection, '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.4
|
|
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 GroupLDAPSourceConnection interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfGroupLDAPSourceConnection(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 GroupLDAPSourceConnectionFromJSON(json) {
|
|
36
|
+
return GroupLDAPSourceConnectionFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function GroupLDAPSourceConnectionFromJSONTyped(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 GroupLDAPSourceConnectionToJSON(json) {
|
|
53
|
+
return GroupLDAPSourceConnectionToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
export function GroupLDAPSourceConnectionToJSONTyped(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.4
|
|
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 GroupLDAPSourceConnectionRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface GroupLDAPSourceConnectionRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GroupLDAPSourceConnectionRequest
|
|
22
|
+
*/
|
|
23
|
+
group: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GroupLDAPSourceConnectionRequest
|
|
28
|
+
*/
|
|
29
|
+
source: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof GroupLDAPSourceConnectionRequest
|
|
34
|
+
*/
|
|
35
|
+
identifier: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the GroupLDAPSourceConnectionRequest interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfGroupLDAPSourceConnectionRequest(value: object): value is GroupLDAPSourceConnectionRequest;
|
|
41
|
+
export declare function GroupLDAPSourceConnectionRequestFromJSON(json: any): GroupLDAPSourceConnectionRequest;
|
|
42
|
+
export declare function GroupLDAPSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupLDAPSourceConnectionRequest;
|
|
43
|
+
export declare function GroupLDAPSourceConnectionRequestToJSON(json: any): GroupLDAPSourceConnectionRequest;
|
|
44
|
+
export declare function GroupLDAPSourceConnectionRequestToJSONTyped(value?: GroupLDAPSourceConnectionRequest | 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.4
|
|
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 GroupLDAPSourceConnectionRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfGroupLDAPSourceConnectionRequest(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 GroupLDAPSourceConnectionRequestFromJSON(json) {
|
|
27
|
+
return GroupLDAPSourceConnectionRequestFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function GroupLDAPSourceConnectionRequestFromJSONTyped(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 GroupLDAPSourceConnectionRequestToJSON(json) {
|
|
40
|
+
return GroupLDAPSourceConnectionRequestToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function GroupLDAPSourceConnectionRequestToJSONTyped(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
|
+
}
|
|
@@ -49,6 +49,8 @@ export declare const ModelEnum: {
|
|
|
49
49
|
readonly AuthentikSourcesKerberosGroupkerberossourceconnection: "authentik_sources_kerberos.groupkerberossourceconnection";
|
|
50
50
|
readonly AuthentikSourcesLdapLdapsource: "authentik_sources_ldap.ldapsource";
|
|
51
51
|
readonly AuthentikSourcesLdapLdapsourcepropertymapping: "authentik_sources_ldap.ldapsourcepropertymapping";
|
|
52
|
+
readonly AuthentikSourcesLdapUserldapsourceconnection: "authentik_sources_ldap.userldapsourceconnection";
|
|
53
|
+
readonly AuthentikSourcesLdapGroupldapsourceconnection: "authentik_sources_ldap.groupldapsourceconnection";
|
|
52
54
|
readonly AuthentikSourcesOauthOauthsource: "authentik_sources_oauth.oauthsource";
|
|
53
55
|
readonly AuthentikSourcesOauthOauthsourcepropertymapping: "authentik_sources_oauth.oauthsourcepropertymapping";
|
|
54
56
|
readonly AuthentikSourcesOauthUseroauthsourceconnection: "authentik_sources_oauth.useroauthsourceconnection";
|
|
@@ -51,6 +51,8 @@ export const ModelEnum = {
|
|
|
51
51
|
AuthentikSourcesKerberosGroupkerberossourceconnection: 'authentik_sources_kerberos.groupkerberossourceconnection',
|
|
52
52
|
AuthentikSourcesLdapLdapsource: 'authentik_sources_ldap.ldapsource',
|
|
53
53
|
AuthentikSourcesLdapLdapsourcepropertymapping: 'authentik_sources_ldap.ldapsourcepropertymapping',
|
|
54
|
+
AuthentikSourcesLdapUserldapsourceconnection: 'authentik_sources_ldap.userldapsourceconnection',
|
|
55
|
+
AuthentikSourcesLdapGroupldapsourceconnection: 'authentik_sources_ldap.groupldapsourceconnection',
|
|
54
56
|
AuthentikSourcesOauthOauthsource: 'authentik_sources_oauth.oauthsource',
|
|
55
57
|
AuthentikSourcesOauthOauthsourcepropertymapping: 'authentik_sources_oauth.oauthsourcepropertymapping',
|
|
56
58
|
AuthentikSourcesOauthUseroauthsourceconnection: 'authentik_sources_oauth.useroauthsourceconnection',
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2025.2.4
|
|
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 { GroupLDAPSourceConnection } from './GroupLDAPSourceConnection';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaginatedGroupLDAPSourceConnectionList
|
|
18
|
+
*/
|
|
19
|
+
export interface PaginatedGroupLDAPSourceConnectionList {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Pagination}
|
|
23
|
+
* @memberof PaginatedGroupLDAPSourceConnectionList
|
|
24
|
+
*/
|
|
25
|
+
pagination: Pagination;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<GroupLDAPSourceConnection>}
|
|
29
|
+
* @memberof PaginatedGroupLDAPSourceConnectionList
|
|
30
|
+
*/
|
|
31
|
+
results: Array<GroupLDAPSourceConnection>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PaginatedGroupLDAPSourceConnectionList interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfPaginatedGroupLDAPSourceConnectionList(value: object): value is PaginatedGroupLDAPSourceConnectionList;
|
|
37
|
+
export declare function PaginatedGroupLDAPSourceConnectionListFromJSON(json: any): PaginatedGroupLDAPSourceConnectionList;
|
|
38
|
+
export declare function PaginatedGroupLDAPSourceConnectionListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedGroupLDAPSourceConnectionList;
|
|
39
|
+
export declare function PaginatedGroupLDAPSourceConnectionListToJSON(json: any): PaginatedGroupLDAPSourceConnectionList;
|
|
40
|
+
export declare function PaginatedGroupLDAPSourceConnectionListToJSONTyped(value?: PaginatedGroupLDAPSourceConnectionList | 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.4
|
|
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 { GroupLDAPSourceConnectionFromJSON, GroupLDAPSourceConnectionToJSON, } from './GroupLDAPSourceConnection';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the PaginatedGroupLDAPSourceConnectionList interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfPaginatedGroupLDAPSourceConnectionList(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 PaginatedGroupLDAPSourceConnectionListFromJSON(json) {
|
|
27
|
+
return PaginatedGroupLDAPSourceConnectionListFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function PaginatedGroupLDAPSourceConnectionListFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'pagination': PaginationFromJSON(json['pagination']),
|
|
35
|
+
'results': (json['results'].map(GroupLDAPSourceConnectionFromJSON)),
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export function PaginatedGroupLDAPSourceConnectionListToJSON(json) {
|
|
39
|
+
return PaginatedGroupLDAPSourceConnectionListToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
export function PaginatedGroupLDAPSourceConnectionListToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'pagination': PaginationToJSON(value['pagination']),
|
|
47
|
+
'results': (value['results'].map(GroupLDAPSourceConnectionToJSON)),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2025.2.4
|
|
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 { UserLDAPSourceConnection } from './UserLDAPSourceConnection';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaginatedUserLDAPSourceConnectionList
|
|
18
|
+
*/
|
|
19
|
+
export interface PaginatedUserLDAPSourceConnectionList {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Pagination}
|
|
23
|
+
* @memberof PaginatedUserLDAPSourceConnectionList
|
|
24
|
+
*/
|
|
25
|
+
pagination: Pagination;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<UserLDAPSourceConnection>}
|
|
29
|
+
* @memberof PaginatedUserLDAPSourceConnectionList
|
|
30
|
+
*/
|
|
31
|
+
results: Array<UserLDAPSourceConnection>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PaginatedUserLDAPSourceConnectionList interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfPaginatedUserLDAPSourceConnectionList(value: object): value is PaginatedUserLDAPSourceConnectionList;
|
|
37
|
+
export declare function PaginatedUserLDAPSourceConnectionListFromJSON(json: any): PaginatedUserLDAPSourceConnectionList;
|
|
38
|
+
export declare function PaginatedUserLDAPSourceConnectionListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedUserLDAPSourceConnectionList;
|
|
39
|
+
export declare function PaginatedUserLDAPSourceConnectionListToJSON(json: any): PaginatedUserLDAPSourceConnectionList;
|
|
40
|
+
export declare function PaginatedUserLDAPSourceConnectionListToJSONTyped(value?: PaginatedUserLDAPSourceConnectionList | 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.4
|
|
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 { UserLDAPSourceConnectionFromJSON, UserLDAPSourceConnectionToJSON, } from './UserLDAPSourceConnection';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the PaginatedUserLDAPSourceConnectionList interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfPaginatedUserLDAPSourceConnectionList(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 PaginatedUserLDAPSourceConnectionListFromJSON(json) {
|
|
27
|
+
return PaginatedUserLDAPSourceConnectionListFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function PaginatedUserLDAPSourceConnectionListFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'pagination': PaginationFromJSON(json['pagination']),
|
|
35
|
+
'results': (json['results'].map(UserLDAPSourceConnectionFromJSON)),
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export function PaginatedUserLDAPSourceConnectionListToJSON(json) {
|
|
39
|
+
return PaginatedUserLDAPSourceConnectionListToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
export function PaginatedUserLDAPSourceConnectionListToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'pagination': PaginationToJSON(value['pagination']),
|
|
47
|
+
'results': (value['results'].map(UserLDAPSourceConnectionToJSON)),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2025.2.4
|
|
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 PatchedGroupLDAPSourceConnectionRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface PatchedGroupLDAPSourceConnectionRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PatchedGroupLDAPSourceConnectionRequest
|
|
22
|
+
*/
|
|
23
|
+
group?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PatchedGroupLDAPSourceConnectionRequest
|
|
28
|
+
*/
|
|
29
|
+
source?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PatchedGroupLDAPSourceConnectionRequest
|
|
34
|
+
*/
|
|
35
|
+
identifier?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the PatchedGroupLDAPSourceConnectionRequest interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfPatchedGroupLDAPSourceConnectionRequest(value: object): value is PatchedGroupLDAPSourceConnectionRequest;
|
|
41
|
+
export declare function PatchedGroupLDAPSourceConnectionRequestFromJSON(json: any): PatchedGroupLDAPSourceConnectionRequest;
|
|
42
|
+
export declare function PatchedGroupLDAPSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedGroupLDAPSourceConnectionRequest;
|
|
43
|
+
export declare function PatchedGroupLDAPSourceConnectionRequestToJSON(json: any): PatchedGroupLDAPSourceConnectionRequest;
|
|
44
|
+
export declare function PatchedGroupLDAPSourceConnectionRequestToJSONTyped(value?: PatchedGroupLDAPSourceConnectionRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2025.2.4
|
|
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 PatchedGroupLDAPSourceConnectionRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfPatchedGroupLDAPSourceConnectionRequest(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function PatchedGroupLDAPSourceConnectionRequestFromJSON(json) {
|
|
21
|
+
return PatchedGroupLDAPSourceConnectionRequestFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function PatchedGroupLDAPSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'group': json['group'] == null ? undefined : json['group'],
|
|
29
|
+
'source': json['source'] == null ? undefined : json['source'],
|
|
30
|
+
'identifier': json['identifier'] == null ? undefined : json['identifier'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function PatchedGroupLDAPSourceConnectionRequestToJSON(json) {
|
|
34
|
+
return PatchedGroupLDAPSourceConnectionRequestToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function PatchedGroupLDAPSourceConnectionRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'group': value['group'],
|
|
42
|
+
'source': value['source'],
|
|
43
|
+
'identifier': value['identifier'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
@@ -45,6 +45,18 @@ export interface PatchedSettingsRequest {
|
|
|
45
45
|
* @memberof PatchedSettingsRequest
|
|
46
46
|
*/
|
|
47
47
|
eventRetention?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Reputation cannot decrease lower than this value. Zero or negative.
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof PatchedSettingsRequest
|
|
52
|
+
*/
|
|
53
|
+
reputationLowerLimit?: number;
|
|
54
|
+
/**
|
|
55
|
+
* Reputation cannot increase higher than this value. Zero or positive.
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof PatchedSettingsRequest
|
|
58
|
+
*/
|
|
59
|
+
reputationUpperLimit?: number;
|
|
48
60
|
/**
|
|
49
61
|
* The option configures the footer links on the flow executor pages.
|
|
50
62
|
* @type {any}
|
|
@@ -30,6 +30,8 @@ export function PatchedSettingsRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
30
30
|
'defaultUserChangeEmail': json['default_user_change_email'] == null ? undefined : json['default_user_change_email'],
|
|
31
31
|
'defaultUserChangeUsername': json['default_user_change_username'] == null ? undefined : json['default_user_change_username'],
|
|
32
32
|
'eventRetention': json['event_retention'] == null ? undefined : json['event_retention'],
|
|
33
|
+
'reputationLowerLimit': json['reputation_lower_limit'] == null ? undefined : json['reputation_lower_limit'],
|
|
34
|
+
'reputationUpperLimit': json['reputation_upper_limit'] == null ? undefined : json['reputation_upper_limit'],
|
|
33
35
|
'footerLinks': json['footer_links'] == null ? undefined : json['footer_links'],
|
|
34
36
|
'gdprCompliance': json['gdpr_compliance'] == null ? undefined : json['gdpr_compliance'],
|
|
35
37
|
'impersonation': json['impersonation'] == null ? undefined : json['impersonation'],
|
|
@@ -51,6 +53,8 @@ export function PatchedSettingsRequestToJSONTyped(value, ignoreDiscriminator = f
|
|
|
51
53
|
'default_user_change_email': value['defaultUserChangeEmail'],
|
|
52
54
|
'default_user_change_username': value['defaultUserChangeUsername'],
|
|
53
55
|
'event_retention': value['eventRetention'],
|
|
56
|
+
'reputation_lower_limit': value['reputationLowerLimit'],
|
|
57
|
+
'reputation_upper_limit': value['reputationUpperLimit'],
|
|
54
58
|
'footer_links': value['footerLinks'],
|
|
55
59
|
'gdpr_compliance': value['gdprCompliance'],
|
|
56
60
|
'impersonation': value['impersonation'],
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2025.2.4
|
|
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
|
+
* User source connection
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PatchedUserLDAPSourceConnectionRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface PatchedUserLDAPSourceConnectionRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof PatchedUserLDAPSourceConnectionRequest
|
|
22
|
+
*/
|
|
23
|
+
user?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PatchedUserLDAPSourceConnectionRequest
|
|
28
|
+
*/
|
|
29
|
+
source?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PatchedUserLDAPSourceConnectionRequest
|
|
34
|
+
*/
|
|
35
|
+
identifier?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the PatchedUserLDAPSourceConnectionRequest interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfPatchedUserLDAPSourceConnectionRequest(value: object): value is PatchedUserLDAPSourceConnectionRequest;
|
|
41
|
+
export declare function PatchedUserLDAPSourceConnectionRequestFromJSON(json: any): PatchedUserLDAPSourceConnectionRequest;
|
|
42
|
+
export declare function PatchedUserLDAPSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedUserLDAPSourceConnectionRequest;
|
|
43
|
+
export declare function PatchedUserLDAPSourceConnectionRequestToJSON(json: any): PatchedUserLDAPSourceConnectionRequest;
|
|
44
|
+
export declare function PatchedUserLDAPSourceConnectionRequestToJSONTyped(value?: PatchedUserLDAPSourceConnectionRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2025.2.4
|
|
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 PatchedUserLDAPSourceConnectionRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfPatchedUserLDAPSourceConnectionRequest(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function PatchedUserLDAPSourceConnectionRequestFromJSON(json) {
|
|
21
|
+
return PatchedUserLDAPSourceConnectionRequestFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function PatchedUserLDAPSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'user': json['user'] == null ? undefined : json['user'],
|
|
29
|
+
'source': json['source'] == null ? undefined : json['source'],
|
|
30
|
+
'identifier': json['identifier'] == null ? undefined : json['identifier'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function PatchedUserLDAPSourceConnectionRequestToJSON(json) {
|
|
34
|
+
return PatchedUserLDAPSourceConnectionRequestToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function PatchedUserLDAPSourceConnectionRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'user': value['user'],
|
|
42
|
+
'source': value['source'],
|
|
43
|
+
'identifier': value['identifier'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
@@ -45,6 +45,18 @@ export interface Settings {
|
|
|
45
45
|
* @memberof Settings
|
|
46
46
|
*/
|
|
47
47
|
eventRetention?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Reputation cannot decrease lower than this value. Zero or negative.
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof Settings
|
|
52
|
+
*/
|
|
53
|
+
reputationLowerLimit?: number;
|
|
54
|
+
/**
|
|
55
|
+
* Reputation cannot increase higher than this value. Zero or positive.
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof Settings
|
|
58
|
+
*/
|
|
59
|
+
reputationUpperLimit?: number;
|
|
48
60
|
/**
|
|
49
61
|
* The option configures the footer links on the flow executor pages.
|
|
50
62
|
* @type {any}
|