@goauthentik/api 2025.2.4-1744288676 → 2025.2.4-1744646168
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 +14 -0
- package/dist/apis/CoreApi.d.ts +2 -2
- package/dist/apis/CoreApi.js +6 -6
- package/dist/apis/RbacApi.d.ts +90 -1
- package/dist/apis/RbacApi.js +271 -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 +90 -1
- package/dist/esm/apis/RbacApi.js +272 -1
- 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/InitialPermissions.d.ts +64 -0
- package/dist/esm/models/InitialPermissions.js +61 -0
- package/dist/esm/models/InitialPermissionsModeEnum.d.ts +26 -0
- package/dist/esm/models/InitialPermissionsModeEnum.js +44 -0
- package/dist/esm/models/InitialPermissionsRequest.d.ts +51 -0
- package/dist/esm/models/InitialPermissionsRequest.js +54 -0
- package/dist/esm/models/ModelEnum.d.ts +3 -0
- package/dist/esm/models/ModelEnum.js +3 -0
- package/dist/esm/models/PaginatedGroupLDAPSourceConnectionList.d.ts +40 -0
- package/dist/esm/models/PaginatedGroupLDAPSourceConnectionList.js +49 -0
- package/dist/esm/models/PaginatedInitialPermissionsList.d.ts +40 -0
- package/dist/esm/models/PaginatedInitialPermissionsList.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/PatchedInitialPermissionsRequest.d.ts +51 -0
- package/dist/esm/models/PatchedInitialPermissionsRequest.js +48 -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/PermissionRequest.d.ts +38 -0
- package/dist/esm/models/PermissionRequest.js +47 -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 +14 -0
- package/dist/esm/models/index.js +14 -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/InitialPermissions.d.ts +64 -0
- package/dist/models/InitialPermissions.js +68 -0
- package/dist/models/InitialPermissionsModeEnum.d.ts +26 -0
- package/dist/models/InitialPermissionsModeEnum.js +52 -0
- package/dist/models/InitialPermissionsRequest.d.ts +51 -0
- package/dist/models/InitialPermissionsRequest.js +61 -0
- package/dist/models/ModelEnum.d.ts +3 -0
- package/dist/models/ModelEnum.js +3 -0
- package/dist/models/PaginatedGroupLDAPSourceConnectionList.d.ts +40 -0
- package/dist/models/PaginatedGroupLDAPSourceConnectionList.js +56 -0
- package/dist/models/PaginatedInitialPermissionsList.d.ts +40 -0
- package/dist/models/PaginatedInitialPermissionsList.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/PatchedInitialPermissionsRequest.d.ts +51 -0
- package/dist/models/PatchedInitialPermissionsRequest.js +55 -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/PermissionRequest.d.ts +38 -0
- package/dist/models/PermissionRequest.js +54 -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 +14 -0
- package/dist/models/index.js +14 -0
- package/package.json +1 -1
- package/src/apis/CoreApi.ts +10 -10
- package/src/apis/RbacApi.ts +367 -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/InitialPermissions.ts +125 -0
- package/src/models/InitialPermissionsModeEnum.ts +54 -0
- package/src/models/InitialPermissionsRequest.ts +102 -0
- package/src/models/ModelEnum.ts +3 -0
- package/src/models/PaginatedGroupLDAPSourceConnectionList.ts +90 -0
- package/src/models/PaginatedInitialPermissionsList.ts +90 -0
- package/src/models/PaginatedUserLDAPSourceConnectionList.ts +90 -0
- package/src/models/PatchedGroupLDAPSourceConnectionRequest.ts +81 -0
- package/src/models/PatchedInitialPermissionsRequest.ts +99 -0
- package/src/models/PatchedSettingsRequest.ts +16 -0
- package/src/models/PatchedUserLDAPSourceConnectionRequest.ts +81 -0
- package/src/models/PermissionRequest.ts +75 -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 +14 -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
|
+
* User source connection
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UserLDAPSourceConnection
|
|
17
|
+
*/
|
|
18
|
+
export interface UserLDAPSourceConnection {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof UserLDAPSourceConnection
|
|
23
|
+
*/
|
|
24
|
+
readonly pk: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof UserLDAPSourceConnection
|
|
29
|
+
*/
|
|
30
|
+
user: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof UserLDAPSourceConnection
|
|
35
|
+
*/
|
|
36
|
+
source: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Source}
|
|
40
|
+
* @memberof UserLDAPSourceConnection
|
|
41
|
+
*/
|
|
42
|
+
readonly sourceObj: Source;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof UserLDAPSourceConnection
|
|
47
|
+
*/
|
|
48
|
+
identifier: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {Date}
|
|
52
|
+
* @memberof UserLDAPSourceConnection
|
|
53
|
+
*/
|
|
54
|
+
readonly created: Date;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {Date}
|
|
58
|
+
* @memberof UserLDAPSourceConnection
|
|
59
|
+
*/
|
|
60
|
+
readonly lastUpdated: Date;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Check if a given object implements the UserLDAPSourceConnection interface.
|
|
64
|
+
*/
|
|
65
|
+
export declare function instanceOfUserLDAPSourceConnection(value: object): value is UserLDAPSourceConnection;
|
|
66
|
+
export declare function UserLDAPSourceConnectionFromJSON(json: any): UserLDAPSourceConnection;
|
|
67
|
+
export declare function UserLDAPSourceConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserLDAPSourceConnection;
|
|
68
|
+
export declare function UserLDAPSourceConnectionToJSON(json: any): UserLDAPSourceConnection;
|
|
69
|
+
export declare function UserLDAPSourceConnectionToJSONTyped(value?: Omit<UserLDAPSourceConnection, '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 UserLDAPSourceConnection interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfUserLDAPSourceConnection(value) {
|
|
19
|
+
if (!('pk' in value) || value['pk'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('user' in value) || value['user'] === 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 UserLDAPSourceConnectionFromJSON(json) {
|
|
36
|
+
return UserLDAPSourceConnectionFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function UserLDAPSourceConnectionFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'pk': json['pk'],
|
|
44
|
+
'user': json['user'],
|
|
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 UserLDAPSourceConnectionToJSON(json) {
|
|
53
|
+
return UserLDAPSourceConnectionToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
export function UserLDAPSourceConnectionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'user': value['user'],
|
|
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
|
+
* User source connection
|
|
14
|
+
* @export
|
|
15
|
+
* @interface UserLDAPSourceConnectionRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface UserLDAPSourceConnectionRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof UserLDAPSourceConnectionRequest
|
|
22
|
+
*/
|
|
23
|
+
user: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UserLDAPSourceConnectionRequest
|
|
28
|
+
*/
|
|
29
|
+
source: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UserLDAPSourceConnectionRequest
|
|
34
|
+
*/
|
|
35
|
+
identifier: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the UserLDAPSourceConnectionRequest interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfUserLDAPSourceConnectionRequest(value: object): value is UserLDAPSourceConnectionRequest;
|
|
41
|
+
export declare function UserLDAPSourceConnectionRequestFromJSON(json: any): UserLDAPSourceConnectionRequest;
|
|
42
|
+
export declare function UserLDAPSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserLDAPSourceConnectionRequest;
|
|
43
|
+
export declare function UserLDAPSourceConnectionRequestToJSON(json: any): UserLDAPSourceConnectionRequest;
|
|
44
|
+
export declare function UserLDAPSourceConnectionRequestToJSONTyped(value?: UserLDAPSourceConnectionRequest | 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 UserLDAPSourceConnectionRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfUserLDAPSourceConnectionRequest(value) {
|
|
18
|
+
if (!('user' in value) || value['user'] === 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 UserLDAPSourceConnectionRequestFromJSON(json) {
|
|
27
|
+
return UserLDAPSourceConnectionRequestFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function UserLDAPSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'user': json['user'],
|
|
35
|
+
'source': json['source'],
|
|
36
|
+
'identifier': json['identifier'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export function UserLDAPSourceConnectionRequestToJSON(json) {
|
|
40
|
+
return UserLDAPSourceConnectionRequestToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function UserLDAPSourceConnectionRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'user': value['user'],
|
|
48
|
+
'source': value['source'],
|
|
49
|
+
'identifier': value['identifier'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -174,6 +174,8 @@ export * from './GoogleWorkspaceProviderUserRequest';
|
|
|
174
174
|
export * from './Group';
|
|
175
175
|
export * from './GroupKerberosSourceConnection';
|
|
176
176
|
export * from './GroupKerberosSourceConnectionRequest';
|
|
177
|
+
export * from './GroupLDAPSourceConnection';
|
|
178
|
+
export * from './GroupLDAPSourceConnectionRequest';
|
|
177
179
|
export * from './GroupMatchingModeEnum';
|
|
178
180
|
export * from './GroupMember';
|
|
179
181
|
export * from './GroupMemberRequest';
|
|
@@ -191,6 +193,9 @@ export * from './IdentificationChallengeResponseRequest';
|
|
|
191
193
|
export * from './IdentificationStage';
|
|
192
194
|
export * from './IdentificationStageRequest';
|
|
193
195
|
export * from './ImpersonationRequest';
|
|
196
|
+
export * from './InitialPermissions';
|
|
197
|
+
export * from './InitialPermissionsModeEnum';
|
|
198
|
+
export * from './InitialPermissionsRequest';
|
|
194
199
|
export * from './InstallID';
|
|
195
200
|
export * from './IntentEnum';
|
|
196
201
|
export * from './InvalidResponseActionEnum';
|
|
@@ -313,12 +318,14 @@ export * from './PaginatedGoogleWorkspaceProviderList';
|
|
|
313
318
|
export * from './PaginatedGoogleWorkspaceProviderMappingList';
|
|
314
319
|
export * from './PaginatedGoogleWorkspaceProviderUserList';
|
|
315
320
|
export * from './PaginatedGroupKerberosSourceConnectionList';
|
|
321
|
+
export * from './PaginatedGroupLDAPSourceConnectionList';
|
|
316
322
|
export * from './PaginatedGroupList';
|
|
317
323
|
export * from './PaginatedGroupOAuthSourceConnectionList';
|
|
318
324
|
export * from './PaginatedGroupPlexSourceConnectionList';
|
|
319
325
|
export * from './PaginatedGroupSAMLSourceConnectionList';
|
|
320
326
|
export * from './PaginatedGroupSourceConnectionList';
|
|
321
327
|
export * from './PaginatedIdentificationStageList';
|
|
328
|
+
export * from './PaginatedInitialPermissionsList';
|
|
322
329
|
export * from './PaginatedInvitationList';
|
|
323
330
|
export * from './PaginatedInvitationStageList';
|
|
324
331
|
export * from './PaginatedKerberosSourceList';
|
|
@@ -395,6 +402,7 @@ export * from './PaginatedUserAssignedObjectPermissionList';
|
|
|
395
402
|
export * from './PaginatedUserConsentList';
|
|
396
403
|
export * from './PaginatedUserDeleteStageList';
|
|
397
404
|
export * from './PaginatedUserKerberosSourceConnectionList';
|
|
405
|
+
export * from './PaginatedUserLDAPSourceConnectionList';
|
|
398
406
|
export * from './PaginatedUserList';
|
|
399
407
|
export * from './PaginatedUserLoginStageList';
|
|
400
408
|
export * from './PaginatedUserLogoutStageList';
|
|
@@ -451,12 +459,14 @@ export * from './PatchedGeoIPPolicyRequest';
|
|
|
451
459
|
export * from './PatchedGoogleWorkspaceProviderMappingRequest';
|
|
452
460
|
export * from './PatchedGoogleWorkspaceProviderRequest';
|
|
453
461
|
export * from './PatchedGroupKerberosSourceConnectionRequest';
|
|
462
|
+
export * from './PatchedGroupLDAPSourceConnectionRequest';
|
|
454
463
|
export * from './PatchedGroupOAuthSourceConnectionRequest';
|
|
455
464
|
export * from './PatchedGroupPlexSourceConnectionRequest';
|
|
456
465
|
export * from './PatchedGroupRequest';
|
|
457
466
|
export * from './PatchedGroupSAMLSourceConnectionRequest';
|
|
458
467
|
export * from './PatchedGroupSourceConnectionRequest';
|
|
459
468
|
export * from './PatchedIdentificationStageRequest';
|
|
469
|
+
export * from './PatchedInitialPermissionsRequest';
|
|
460
470
|
export * from './PatchedInvitationRequest';
|
|
461
471
|
export * from './PatchedInvitationStageRequest';
|
|
462
472
|
export * from './PatchedKerberosSourcePropertyMappingRequest';
|
|
@@ -514,6 +524,7 @@ export * from './PatchedTenantRequest';
|
|
|
514
524
|
export * from './PatchedTokenRequest';
|
|
515
525
|
export * from './PatchedUserDeleteStageRequest';
|
|
516
526
|
export * from './PatchedUserKerberosSourceConnectionRequest';
|
|
527
|
+
export * from './PatchedUserLDAPSourceConnectionRequest';
|
|
517
528
|
export * from './PatchedUserLoginStageRequest';
|
|
518
529
|
export * from './PatchedUserLogoutStageRequest';
|
|
519
530
|
export * from './PatchedUserOAuthSourceConnectionRequest';
|
|
@@ -526,6 +537,7 @@ export * from './PatchedWebAuthnDeviceRequest';
|
|
|
526
537
|
export * from './Permission';
|
|
527
538
|
export * from './PermissionAssignRequest';
|
|
528
539
|
export * from './PermissionAssignResult';
|
|
540
|
+
export * from './PermissionRequest';
|
|
529
541
|
export * from './PlexAuthenticationChallenge';
|
|
530
542
|
export * from './PlexAuthenticationChallengeResponseRequest';
|
|
531
543
|
export * from './PlexSource';
|
|
@@ -682,6 +694,8 @@ export * from './UserGroup';
|
|
|
682
694
|
export * from './UserGroupRequest';
|
|
683
695
|
export * from './UserKerberosSourceConnection';
|
|
684
696
|
export * from './UserKerberosSourceConnectionRequest';
|
|
697
|
+
export * from './UserLDAPSourceConnection';
|
|
698
|
+
export * from './UserLDAPSourceConnectionRequest';
|
|
685
699
|
export * from './UserLoginChallenge';
|
|
686
700
|
export * from './UserLoginChallengeResponseRequest';
|
|
687
701
|
export * from './UserLoginStage';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -176,6 +176,8 @@ export * from './GoogleWorkspaceProviderUserRequest';
|
|
|
176
176
|
export * from './Group';
|
|
177
177
|
export * from './GroupKerberosSourceConnection';
|
|
178
178
|
export * from './GroupKerberosSourceConnectionRequest';
|
|
179
|
+
export * from './GroupLDAPSourceConnection';
|
|
180
|
+
export * from './GroupLDAPSourceConnectionRequest';
|
|
179
181
|
export * from './GroupMatchingModeEnum';
|
|
180
182
|
export * from './GroupMember';
|
|
181
183
|
export * from './GroupMemberRequest';
|
|
@@ -193,6 +195,9 @@ export * from './IdentificationChallengeResponseRequest';
|
|
|
193
195
|
export * from './IdentificationStage';
|
|
194
196
|
export * from './IdentificationStageRequest';
|
|
195
197
|
export * from './ImpersonationRequest';
|
|
198
|
+
export * from './InitialPermissions';
|
|
199
|
+
export * from './InitialPermissionsModeEnum';
|
|
200
|
+
export * from './InitialPermissionsRequest';
|
|
196
201
|
export * from './InstallID';
|
|
197
202
|
export * from './IntentEnum';
|
|
198
203
|
export * from './InvalidResponseActionEnum';
|
|
@@ -315,12 +320,14 @@ export * from './PaginatedGoogleWorkspaceProviderList';
|
|
|
315
320
|
export * from './PaginatedGoogleWorkspaceProviderMappingList';
|
|
316
321
|
export * from './PaginatedGoogleWorkspaceProviderUserList';
|
|
317
322
|
export * from './PaginatedGroupKerberosSourceConnectionList';
|
|
323
|
+
export * from './PaginatedGroupLDAPSourceConnectionList';
|
|
318
324
|
export * from './PaginatedGroupList';
|
|
319
325
|
export * from './PaginatedGroupOAuthSourceConnectionList';
|
|
320
326
|
export * from './PaginatedGroupPlexSourceConnectionList';
|
|
321
327
|
export * from './PaginatedGroupSAMLSourceConnectionList';
|
|
322
328
|
export * from './PaginatedGroupSourceConnectionList';
|
|
323
329
|
export * from './PaginatedIdentificationStageList';
|
|
330
|
+
export * from './PaginatedInitialPermissionsList';
|
|
324
331
|
export * from './PaginatedInvitationList';
|
|
325
332
|
export * from './PaginatedInvitationStageList';
|
|
326
333
|
export * from './PaginatedKerberosSourceList';
|
|
@@ -397,6 +404,7 @@ export * from './PaginatedUserAssignedObjectPermissionList';
|
|
|
397
404
|
export * from './PaginatedUserConsentList';
|
|
398
405
|
export * from './PaginatedUserDeleteStageList';
|
|
399
406
|
export * from './PaginatedUserKerberosSourceConnectionList';
|
|
407
|
+
export * from './PaginatedUserLDAPSourceConnectionList';
|
|
400
408
|
export * from './PaginatedUserList';
|
|
401
409
|
export * from './PaginatedUserLoginStageList';
|
|
402
410
|
export * from './PaginatedUserLogoutStageList';
|
|
@@ -453,12 +461,14 @@ export * from './PatchedGeoIPPolicyRequest';
|
|
|
453
461
|
export * from './PatchedGoogleWorkspaceProviderMappingRequest';
|
|
454
462
|
export * from './PatchedGoogleWorkspaceProviderRequest';
|
|
455
463
|
export * from './PatchedGroupKerberosSourceConnectionRequest';
|
|
464
|
+
export * from './PatchedGroupLDAPSourceConnectionRequest';
|
|
456
465
|
export * from './PatchedGroupOAuthSourceConnectionRequest';
|
|
457
466
|
export * from './PatchedGroupPlexSourceConnectionRequest';
|
|
458
467
|
export * from './PatchedGroupRequest';
|
|
459
468
|
export * from './PatchedGroupSAMLSourceConnectionRequest';
|
|
460
469
|
export * from './PatchedGroupSourceConnectionRequest';
|
|
461
470
|
export * from './PatchedIdentificationStageRequest';
|
|
471
|
+
export * from './PatchedInitialPermissionsRequest';
|
|
462
472
|
export * from './PatchedInvitationRequest';
|
|
463
473
|
export * from './PatchedInvitationStageRequest';
|
|
464
474
|
export * from './PatchedKerberosSourcePropertyMappingRequest';
|
|
@@ -516,6 +526,7 @@ export * from './PatchedTenantRequest';
|
|
|
516
526
|
export * from './PatchedTokenRequest';
|
|
517
527
|
export * from './PatchedUserDeleteStageRequest';
|
|
518
528
|
export * from './PatchedUserKerberosSourceConnectionRequest';
|
|
529
|
+
export * from './PatchedUserLDAPSourceConnectionRequest';
|
|
519
530
|
export * from './PatchedUserLoginStageRequest';
|
|
520
531
|
export * from './PatchedUserLogoutStageRequest';
|
|
521
532
|
export * from './PatchedUserOAuthSourceConnectionRequest';
|
|
@@ -528,6 +539,7 @@ export * from './PatchedWebAuthnDeviceRequest';
|
|
|
528
539
|
export * from './Permission';
|
|
529
540
|
export * from './PermissionAssignRequest';
|
|
530
541
|
export * from './PermissionAssignResult';
|
|
542
|
+
export * from './PermissionRequest';
|
|
531
543
|
export * from './PlexAuthenticationChallenge';
|
|
532
544
|
export * from './PlexAuthenticationChallengeResponseRequest';
|
|
533
545
|
export * from './PlexSource';
|
|
@@ -684,6 +696,8 @@ export * from './UserGroup';
|
|
|
684
696
|
export * from './UserGroupRequest';
|
|
685
697
|
export * from './UserKerberosSourceConnection';
|
|
686
698
|
export * from './UserKerberosSourceConnectionRequest';
|
|
699
|
+
export * from './UserLDAPSourceConnection';
|
|
700
|
+
export * from './UserLDAPSourceConnectionRequest';
|
|
687
701
|
export * from './UserLoginChallenge';
|
|
688
702
|
export * from './UserLoginChallengeResponseRequest';
|
|
689
703
|
export * from './UserLoginStage';
|
|
@@ -59,13 +59,13 @@ export interface AuthenticatedSession {
|
|
|
59
59
|
* @type {string}
|
|
60
60
|
* @memberof AuthenticatedSession
|
|
61
61
|
*/
|
|
62
|
-
lastIp: string;
|
|
62
|
+
readonly lastIp: string;
|
|
63
63
|
/**
|
|
64
64
|
*
|
|
65
65
|
* @type {string}
|
|
66
66
|
* @memberof AuthenticatedSession
|
|
67
67
|
*/
|
|
68
|
-
lastUserAgent
|
|
68
|
+
readonly lastUserAgent: string;
|
|
69
69
|
/**
|
|
70
70
|
*
|
|
71
71
|
* @type {Date}
|
|
@@ -77,7 +77,7 @@ export interface AuthenticatedSession {
|
|
|
77
77
|
* @type {Date}
|
|
78
78
|
* @memberof AuthenticatedSession
|
|
79
79
|
*/
|
|
80
|
-
expires
|
|
80
|
+
readonly expires: Date;
|
|
81
81
|
}
|
|
82
82
|
/**
|
|
83
83
|
* Check if a given object implements the AuthenticatedSession interface.
|
|
@@ -86,4 +86,4 @@ export declare function instanceOfAuthenticatedSession(value: object): value is
|
|
|
86
86
|
export declare function AuthenticatedSessionFromJSON(json: any): AuthenticatedSession;
|
|
87
87
|
export declare function AuthenticatedSessionFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticatedSession;
|
|
88
88
|
export declare function AuthenticatedSessionToJSON(json: any): AuthenticatedSession;
|
|
89
|
-
export declare function AuthenticatedSessionToJSONTyped(value?: Omit<AuthenticatedSession, 'current' | 'last_used'> | null, ignoreDiscriminator?: boolean): any;
|
|
89
|
+
export declare function AuthenticatedSessionToJSONTyped(value?: Omit<AuthenticatedSession, 'current' | 'last_ip' | 'last_user_agent' | 'last_used' | 'expires'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -37,8 +37,12 @@ function instanceOfAuthenticatedSession(value) {
|
|
|
37
37
|
return false;
|
|
38
38
|
if (!('lastIp' in value) || value['lastIp'] === undefined)
|
|
39
39
|
return false;
|
|
40
|
+
if (!('lastUserAgent' in value) || value['lastUserAgent'] === undefined)
|
|
41
|
+
return false;
|
|
40
42
|
if (!('lastUsed' in value) || value['lastUsed'] === undefined)
|
|
41
43
|
return false;
|
|
44
|
+
if (!('expires' in value) || value['expires'] === undefined)
|
|
45
|
+
return false;
|
|
42
46
|
return true;
|
|
43
47
|
}
|
|
44
48
|
function AuthenticatedSessionFromJSON(json) {
|
|
@@ -56,9 +60,9 @@ function AuthenticatedSessionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
56
60
|
'asn': (0, AuthenticatedSessionAsn_1.AuthenticatedSessionAsnFromJSON)(json['asn']),
|
|
57
61
|
'user': json['user'],
|
|
58
62
|
'lastIp': json['last_ip'],
|
|
59
|
-
'lastUserAgent': json['last_user_agent']
|
|
63
|
+
'lastUserAgent': json['last_user_agent'],
|
|
60
64
|
'lastUsed': (new Date(json['last_used'])),
|
|
61
|
-
'expires':
|
|
65
|
+
'expires': (new Date(json['expires'])),
|
|
62
66
|
};
|
|
63
67
|
}
|
|
64
68
|
function AuthenticatedSessionToJSON(json) {
|
|
@@ -74,8 +78,5 @@ function AuthenticatedSessionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
74
78
|
'geo_ip': (0, AuthenticatedSessionGeoIp_1.AuthenticatedSessionGeoIpToJSON)(value['geoIp']),
|
|
75
79
|
'asn': (0, AuthenticatedSessionAsn_1.AuthenticatedSessionAsnToJSON)(value['asn']),
|
|
76
80
|
'user': value['user'],
|
|
77
|
-
'last_ip': value['lastIp'],
|
|
78
|
-
'last_user_agent': value['lastUserAgent'],
|
|
79
|
-
'expires': value['expires'] == null ? undefined : (value['expires'].toISOString()),
|
|
80
81
|
};
|
|
81
82
|
}
|
|
@@ -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,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* authentik
|
|
6
|
+
* Making authentication simple.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2025.2.4
|
|
9
|
+
* Contact: hello@goauthentik.io
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfGroupLDAPSourceConnection = instanceOfGroupLDAPSourceConnection;
|
|
17
|
+
exports.GroupLDAPSourceConnectionFromJSON = GroupLDAPSourceConnectionFromJSON;
|
|
18
|
+
exports.GroupLDAPSourceConnectionFromJSONTyped = GroupLDAPSourceConnectionFromJSONTyped;
|
|
19
|
+
exports.GroupLDAPSourceConnectionToJSON = GroupLDAPSourceConnectionToJSON;
|
|
20
|
+
exports.GroupLDAPSourceConnectionToJSONTyped = GroupLDAPSourceConnectionToJSONTyped;
|
|
21
|
+
const Source_1 = require("./Source");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the GroupLDAPSourceConnection interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfGroupLDAPSourceConnection(value) {
|
|
26
|
+
if (!('pk' in value) || value['pk'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('group' in value) || value['group'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('source' in value) || value['source'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('sourceObj' in value) || value['sourceObj'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('identifier' in value) || value['identifier'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('created' in value) || value['created'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('lastUpdated' in value) || value['lastUpdated'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
function GroupLDAPSourceConnectionFromJSON(json) {
|
|
43
|
+
return GroupLDAPSourceConnectionFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function GroupLDAPSourceConnectionFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
if (json == null) {
|
|
47
|
+
return json;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'pk': json['pk'],
|
|
51
|
+
'group': json['group'],
|
|
52
|
+
'source': json['source'],
|
|
53
|
+
'sourceObj': (0, Source_1.SourceFromJSON)(json['source_obj']),
|
|
54
|
+
'identifier': json['identifier'],
|
|
55
|
+
'created': (new Date(json['created'])),
|
|
56
|
+
'lastUpdated': (new Date(json['last_updated'])),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
function GroupLDAPSourceConnectionToJSON(json) {
|
|
60
|
+
return GroupLDAPSourceConnectionToJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
function GroupLDAPSourceConnectionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
63
|
+
if (value == null) {
|
|
64
|
+
return value;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
'group': value['group'],
|
|
68
|
+
'source': value['source'],
|
|
69
|
+
'identifier': value['identifier'],
|
|
70
|
+
};
|
|
71
|
+
}
|
|
@@ -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;
|