@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.
Files changed (87) hide show
  1. package/.openapi-generator/FILES +8 -0
  2. package/dist/apis/CoreApi.d.ts +2 -2
  3. package/dist/apis/CoreApi.js +6 -6
  4. package/dist/apis/RbacApi.d.ts +4 -0
  5. package/dist/apis/RbacApi.js +4 -0
  6. package/dist/apis/SourcesApi.d.ts +169 -1
  7. package/dist/apis/SourcesApi.js +536 -0
  8. package/dist/esm/apis/CoreApi.d.ts +2 -2
  9. package/dist/esm/apis/CoreApi.js +6 -6
  10. package/dist/esm/apis/RbacApi.d.ts +4 -0
  11. package/dist/esm/apis/RbacApi.js +4 -0
  12. package/dist/esm/apis/SourcesApi.d.ts +169 -1
  13. package/dist/esm/apis/SourcesApi.js +537 -1
  14. package/dist/esm/models/AuthenticatedSession.d.ts +4 -4
  15. package/dist/esm/models/AuthenticatedSession.js +6 -5
  16. package/dist/esm/models/GroupLDAPSourceConnection.d.ts +69 -0
  17. package/dist/esm/models/GroupLDAPSourceConnection.js +64 -0
  18. package/dist/esm/models/GroupLDAPSourceConnectionRequest.d.ts +44 -0
  19. package/dist/esm/models/GroupLDAPSourceConnectionRequest.js +51 -0
  20. package/dist/esm/models/ModelEnum.d.ts +2 -0
  21. package/dist/esm/models/ModelEnum.js +2 -0
  22. package/dist/esm/models/PaginatedGroupLDAPSourceConnectionList.d.ts +40 -0
  23. package/dist/esm/models/PaginatedGroupLDAPSourceConnectionList.js +49 -0
  24. package/dist/esm/models/PaginatedUserLDAPSourceConnectionList.d.ts +40 -0
  25. package/dist/esm/models/PaginatedUserLDAPSourceConnectionList.js +49 -0
  26. package/dist/esm/models/PatchedGroupLDAPSourceConnectionRequest.d.ts +44 -0
  27. package/dist/esm/models/PatchedGroupLDAPSourceConnectionRequest.js +45 -0
  28. package/dist/esm/models/PatchedSettingsRequest.d.ts +12 -0
  29. package/dist/esm/models/PatchedSettingsRequest.js +4 -0
  30. package/dist/esm/models/PatchedUserLDAPSourceConnectionRequest.d.ts +44 -0
  31. package/dist/esm/models/PatchedUserLDAPSourceConnectionRequest.js +45 -0
  32. package/dist/esm/models/Settings.d.ts +12 -0
  33. package/dist/esm/models/Settings.js +4 -0
  34. package/dist/esm/models/SettingsRequest.d.ts +12 -0
  35. package/dist/esm/models/SettingsRequest.js +4 -0
  36. package/dist/esm/models/UserLDAPSourceConnection.d.ts +69 -0
  37. package/dist/esm/models/UserLDAPSourceConnection.js +64 -0
  38. package/dist/esm/models/UserLDAPSourceConnectionRequest.d.ts +44 -0
  39. package/dist/esm/models/UserLDAPSourceConnectionRequest.js +51 -0
  40. package/dist/esm/models/index.d.ts +8 -0
  41. package/dist/esm/models/index.js +8 -0
  42. package/dist/models/AuthenticatedSession.d.ts +4 -4
  43. package/dist/models/AuthenticatedSession.js +6 -5
  44. package/dist/models/GroupLDAPSourceConnection.d.ts +69 -0
  45. package/dist/models/GroupLDAPSourceConnection.js +71 -0
  46. package/dist/models/GroupLDAPSourceConnectionRequest.d.ts +44 -0
  47. package/dist/models/GroupLDAPSourceConnectionRequest.js +58 -0
  48. package/dist/models/ModelEnum.d.ts +2 -0
  49. package/dist/models/ModelEnum.js +2 -0
  50. package/dist/models/PaginatedGroupLDAPSourceConnectionList.d.ts +40 -0
  51. package/dist/models/PaginatedGroupLDAPSourceConnectionList.js +56 -0
  52. package/dist/models/PaginatedUserLDAPSourceConnectionList.d.ts +40 -0
  53. package/dist/models/PaginatedUserLDAPSourceConnectionList.js +56 -0
  54. package/dist/models/PatchedGroupLDAPSourceConnectionRequest.d.ts +44 -0
  55. package/dist/models/PatchedGroupLDAPSourceConnectionRequest.js +52 -0
  56. package/dist/models/PatchedSettingsRequest.d.ts +12 -0
  57. package/dist/models/PatchedSettingsRequest.js +4 -0
  58. package/dist/models/PatchedUserLDAPSourceConnectionRequest.d.ts +44 -0
  59. package/dist/models/PatchedUserLDAPSourceConnectionRequest.js +52 -0
  60. package/dist/models/Settings.d.ts +12 -0
  61. package/dist/models/Settings.js +4 -0
  62. package/dist/models/SettingsRequest.d.ts +12 -0
  63. package/dist/models/SettingsRequest.js +4 -0
  64. package/dist/models/UserLDAPSourceConnection.d.ts +69 -0
  65. package/dist/models/UserLDAPSourceConnection.js +71 -0
  66. package/dist/models/UserLDAPSourceConnectionRequest.d.ts +44 -0
  67. package/dist/models/UserLDAPSourceConnectionRequest.js +58 -0
  68. package/dist/models/index.d.ts +8 -0
  69. package/dist/models/index.js +8 -0
  70. package/package.json +1 -1
  71. package/src/apis/CoreApi.ts +10 -10
  72. package/src/apis/RbacApi.ts +4 -0
  73. package/src/apis/SourcesApi.ts +1929 -1197
  74. package/src/models/AuthenticatedSession.ts +8 -9
  75. package/src/models/GroupLDAPSourceConnection.ts +124 -0
  76. package/src/models/GroupLDAPSourceConnectionRequest.ts +84 -0
  77. package/src/models/ModelEnum.ts +2 -0
  78. package/src/models/PaginatedGroupLDAPSourceConnectionList.ts +90 -0
  79. package/src/models/PaginatedUserLDAPSourceConnectionList.ts +90 -0
  80. package/src/models/PatchedGroupLDAPSourceConnectionRequest.ts +81 -0
  81. package/src/models/PatchedSettingsRequest.ts +16 -0
  82. package/src/models/PatchedUserLDAPSourceConnectionRequest.ts +81 -0
  83. package/src/models/Settings.ts +16 -0
  84. package/src/models/SettingsRequest.ts +16 -0
  85. package/src/models/UserLDAPSourceConnection.ts +124 -0
  86. package/src/models/UserLDAPSourceConnectionRequest.ts +84 -0
  87. package/src/models/index.ts +8 -0
@@ -30,6 +30,8 @@ export function SettingsFromJSONTyped(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 SettingsToJSONTyped(value, ignoreDiscriminator = false) {
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'],
@@ -45,6 +45,18 @@ export interface SettingsRequest {
45
45
  * @memberof SettingsRequest
46
46
  */
47
47
  eventRetention?: string;
48
+ /**
49
+ * Reputation cannot decrease lower than this value. Zero or negative.
50
+ * @type {number}
51
+ * @memberof SettingsRequest
52
+ */
53
+ reputationLowerLimit?: number;
54
+ /**
55
+ * Reputation cannot increase higher than this value. Zero or positive.
56
+ * @type {number}
57
+ * @memberof SettingsRequest
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 SettingsRequestFromJSONTyped(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 SettingsRequestToJSONTyped(value, ignoreDiscriminator = false) {
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,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';
@@ -313,6 +315,7 @@ export * from './PaginatedGoogleWorkspaceProviderList';
313
315
  export * from './PaginatedGoogleWorkspaceProviderMappingList';
314
316
  export * from './PaginatedGoogleWorkspaceProviderUserList';
315
317
  export * from './PaginatedGroupKerberosSourceConnectionList';
318
+ export * from './PaginatedGroupLDAPSourceConnectionList';
316
319
  export * from './PaginatedGroupList';
317
320
  export * from './PaginatedGroupOAuthSourceConnectionList';
318
321
  export * from './PaginatedGroupPlexSourceConnectionList';
@@ -395,6 +398,7 @@ export * from './PaginatedUserAssignedObjectPermissionList';
395
398
  export * from './PaginatedUserConsentList';
396
399
  export * from './PaginatedUserDeleteStageList';
397
400
  export * from './PaginatedUserKerberosSourceConnectionList';
401
+ export * from './PaginatedUserLDAPSourceConnectionList';
398
402
  export * from './PaginatedUserList';
399
403
  export * from './PaginatedUserLoginStageList';
400
404
  export * from './PaginatedUserLogoutStageList';
@@ -451,6 +455,7 @@ export * from './PatchedGeoIPPolicyRequest';
451
455
  export * from './PatchedGoogleWorkspaceProviderMappingRequest';
452
456
  export * from './PatchedGoogleWorkspaceProviderRequest';
453
457
  export * from './PatchedGroupKerberosSourceConnectionRequest';
458
+ export * from './PatchedGroupLDAPSourceConnectionRequest';
454
459
  export * from './PatchedGroupOAuthSourceConnectionRequest';
455
460
  export * from './PatchedGroupPlexSourceConnectionRequest';
456
461
  export * from './PatchedGroupRequest';
@@ -514,6 +519,7 @@ export * from './PatchedTenantRequest';
514
519
  export * from './PatchedTokenRequest';
515
520
  export * from './PatchedUserDeleteStageRequest';
516
521
  export * from './PatchedUserKerberosSourceConnectionRequest';
522
+ export * from './PatchedUserLDAPSourceConnectionRequest';
517
523
  export * from './PatchedUserLoginStageRequest';
518
524
  export * from './PatchedUserLogoutStageRequest';
519
525
  export * from './PatchedUserOAuthSourceConnectionRequest';
@@ -682,6 +688,8 @@ export * from './UserGroup';
682
688
  export * from './UserGroupRequest';
683
689
  export * from './UserKerberosSourceConnection';
684
690
  export * from './UserKerberosSourceConnectionRequest';
691
+ export * from './UserLDAPSourceConnection';
692
+ export * from './UserLDAPSourceConnectionRequest';
685
693
  export * from './UserLoginChallenge';
686
694
  export * from './UserLoginChallengeResponseRequest';
687
695
  export * from './UserLoginStage';
@@ -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';
@@ -315,6 +317,7 @@ export * from './PaginatedGoogleWorkspaceProviderList';
315
317
  export * from './PaginatedGoogleWorkspaceProviderMappingList';
316
318
  export * from './PaginatedGoogleWorkspaceProviderUserList';
317
319
  export * from './PaginatedGroupKerberosSourceConnectionList';
320
+ export * from './PaginatedGroupLDAPSourceConnectionList';
318
321
  export * from './PaginatedGroupList';
319
322
  export * from './PaginatedGroupOAuthSourceConnectionList';
320
323
  export * from './PaginatedGroupPlexSourceConnectionList';
@@ -397,6 +400,7 @@ export * from './PaginatedUserAssignedObjectPermissionList';
397
400
  export * from './PaginatedUserConsentList';
398
401
  export * from './PaginatedUserDeleteStageList';
399
402
  export * from './PaginatedUserKerberosSourceConnectionList';
403
+ export * from './PaginatedUserLDAPSourceConnectionList';
400
404
  export * from './PaginatedUserList';
401
405
  export * from './PaginatedUserLoginStageList';
402
406
  export * from './PaginatedUserLogoutStageList';
@@ -453,6 +457,7 @@ export * from './PatchedGeoIPPolicyRequest';
453
457
  export * from './PatchedGoogleWorkspaceProviderMappingRequest';
454
458
  export * from './PatchedGoogleWorkspaceProviderRequest';
455
459
  export * from './PatchedGroupKerberosSourceConnectionRequest';
460
+ export * from './PatchedGroupLDAPSourceConnectionRequest';
456
461
  export * from './PatchedGroupOAuthSourceConnectionRequest';
457
462
  export * from './PatchedGroupPlexSourceConnectionRequest';
458
463
  export * from './PatchedGroupRequest';
@@ -516,6 +521,7 @@ export * from './PatchedTenantRequest';
516
521
  export * from './PatchedTokenRequest';
517
522
  export * from './PatchedUserDeleteStageRequest';
518
523
  export * from './PatchedUserKerberosSourceConnectionRequest';
524
+ export * from './PatchedUserLDAPSourceConnectionRequest';
519
525
  export * from './PatchedUserLoginStageRequest';
520
526
  export * from './PatchedUserLogoutStageRequest';
521
527
  export * from './PatchedUserOAuthSourceConnectionRequest';
@@ -684,6 +690,8 @@ export * from './UserGroup';
684
690
  export * from './UserGroupRequest';
685
691
  export * from './UserKerberosSourceConnection';
686
692
  export * from './UserKerberosSourceConnectionRequest';
693
+ export * from './UserLDAPSourceConnection';
694
+ export * from './UserLDAPSourceConnectionRequest';
687
695
  export * from './UserLoginChallenge';
688
696
  export * from './UserLoginChallengeResponseRequest';
689
697
  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?: string;
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?: Date | null;
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'] == null ? undefined : json['last_user_agent'],
63
+ 'lastUserAgent': json['last_user_agent'],
60
64
  'lastUsed': (new Date(json['last_used'])),
61
- 'expires': json['expires'] == null ? undefined : (new Date(json['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;