@goauthentik/api 2025.2.4-1744139776 → 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 (102) 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 +170 -1
  7. package/dist/apis/SourcesApi.js +539 -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 +170 -1
  13. package/dist/esm/apis/SourcesApi.js +540 -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/LDAPSource.d.ts +6 -0
  21. package/dist/esm/models/LDAPSource.js +2 -0
  22. package/dist/esm/models/LDAPSourceRequest.d.ts +6 -0
  23. package/dist/esm/models/LDAPSourceRequest.js +2 -0
  24. package/dist/esm/models/ModelEnum.d.ts +2 -0
  25. package/dist/esm/models/ModelEnum.js +2 -0
  26. package/dist/esm/models/PaginatedGroupLDAPSourceConnectionList.d.ts +40 -0
  27. package/dist/esm/models/PaginatedGroupLDAPSourceConnectionList.js +49 -0
  28. package/dist/esm/models/PaginatedUserLDAPSourceConnectionList.d.ts +40 -0
  29. package/dist/esm/models/PaginatedUserLDAPSourceConnectionList.js +49 -0
  30. package/dist/esm/models/PatchedGroupLDAPSourceConnectionRequest.d.ts +44 -0
  31. package/dist/esm/models/PatchedGroupLDAPSourceConnectionRequest.js +45 -0
  32. package/dist/esm/models/PatchedLDAPSourceRequest.d.ts +6 -0
  33. package/dist/esm/models/PatchedLDAPSourceRequest.js +2 -0
  34. package/dist/esm/models/PatchedSettingsRequest.d.ts +12 -0
  35. package/dist/esm/models/PatchedSettingsRequest.js +4 -0
  36. package/dist/esm/models/PatchedUserLDAPSourceConnectionRequest.d.ts +44 -0
  37. package/dist/esm/models/PatchedUserLDAPSourceConnectionRequest.js +45 -0
  38. package/dist/esm/models/Settings.d.ts +12 -0
  39. package/dist/esm/models/Settings.js +4 -0
  40. package/dist/esm/models/SettingsRequest.d.ts +12 -0
  41. package/dist/esm/models/SettingsRequest.js +4 -0
  42. package/dist/esm/models/UserLDAPSourceConnection.d.ts +69 -0
  43. package/dist/esm/models/UserLDAPSourceConnection.js +64 -0
  44. package/dist/esm/models/UserLDAPSourceConnectionRequest.d.ts +44 -0
  45. package/dist/esm/models/UserLDAPSourceConnectionRequest.js +51 -0
  46. package/dist/esm/models/index.d.ts +8 -0
  47. package/dist/esm/models/index.js +8 -0
  48. package/dist/models/AuthenticatedSession.d.ts +4 -4
  49. package/dist/models/AuthenticatedSession.js +6 -5
  50. package/dist/models/GroupLDAPSourceConnection.d.ts +69 -0
  51. package/dist/models/GroupLDAPSourceConnection.js +71 -0
  52. package/dist/models/GroupLDAPSourceConnectionRequest.d.ts +44 -0
  53. package/dist/models/GroupLDAPSourceConnectionRequest.js +58 -0
  54. package/dist/models/LDAPSource.d.ts +6 -0
  55. package/dist/models/LDAPSource.js +2 -0
  56. package/dist/models/LDAPSourceRequest.d.ts +6 -0
  57. package/dist/models/LDAPSourceRequest.js +2 -0
  58. package/dist/models/ModelEnum.d.ts +2 -0
  59. package/dist/models/ModelEnum.js +2 -0
  60. package/dist/models/PaginatedGroupLDAPSourceConnectionList.d.ts +40 -0
  61. package/dist/models/PaginatedGroupLDAPSourceConnectionList.js +56 -0
  62. package/dist/models/PaginatedUserLDAPSourceConnectionList.d.ts +40 -0
  63. package/dist/models/PaginatedUserLDAPSourceConnectionList.js +56 -0
  64. package/dist/models/PatchedGroupLDAPSourceConnectionRequest.d.ts +44 -0
  65. package/dist/models/PatchedGroupLDAPSourceConnectionRequest.js +52 -0
  66. package/dist/models/PatchedLDAPSourceRequest.d.ts +6 -0
  67. package/dist/models/PatchedLDAPSourceRequest.js +2 -0
  68. package/dist/models/PatchedSettingsRequest.d.ts +12 -0
  69. package/dist/models/PatchedSettingsRequest.js +4 -0
  70. package/dist/models/PatchedUserLDAPSourceConnectionRequest.d.ts +44 -0
  71. package/dist/models/PatchedUserLDAPSourceConnectionRequest.js +52 -0
  72. package/dist/models/Settings.d.ts +12 -0
  73. package/dist/models/Settings.js +4 -0
  74. package/dist/models/SettingsRequest.d.ts +12 -0
  75. package/dist/models/SettingsRequest.js +4 -0
  76. package/dist/models/UserLDAPSourceConnection.d.ts +69 -0
  77. package/dist/models/UserLDAPSourceConnection.js +71 -0
  78. package/dist/models/UserLDAPSourceConnectionRequest.d.ts +44 -0
  79. package/dist/models/UserLDAPSourceConnectionRequest.js +58 -0
  80. package/dist/models/index.d.ts +8 -0
  81. package/dist/models/index.js +8 -0
  82. package/package.json +1 -1
  83. package/src/apis/CoreApi.ts +10 -10
  84. package/src/apis/RbacApi.ts +4 -0
  85. package/src/apis/SourcesApi.ts +1932 -1195
  86. package/src/models/AuthenticatedSession.ts +8 -9
  87. package/src/models/GroupLDAPSourceConnection.ts +124 -0
  88. package/src/models/GroupLDAPSourceConnectionRequest.ts +84 -0
  89. package/src/models/LDAPSource.ts +8 -0
  90. package/src/models/LDAPSourceRequest.ts +8 -0
  91. package/src/models/ModelEnum.ts +2 -0
  92. package/src/models/PaginatedGroupLDAPSourceConnectionList.ts +90 -0
  93. package/src/models/PaginatedUserLDAPSourceConnectionList.ts +90 -0
  94. package/src/models/PatchedGroupLDAPSourceConnectionRequest.ts +81 -0
  95. package/src/models/PatchedLDAPSourceRequest.ts +8 -0
  96. package/src/models/PatchedSettingsRequest.ts +16 -0
  97. package/src/models/PatchedUserLDAPSourceConnectionRequest.ts +81 -0
  98. package/src/models/Settings.ts +16 -0
  99. package/src/models/SettingsRequest.ts +16 -0
  100. package/src/models/UserLDAPSourceConnection.ts +124 -0
  101. package/src/models/UserLDAPSourceConnectionRequest.ts +84 -0
  102. package/src/models/index.ts +8 -0
@@ -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;
@@ -0,0 +1,58 @@
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.instanceOfGroupLDAPSourceConnectionRequest = instanceOfGroupLDAPSourceConnectionRequest;
17
+ exports.GroupLDAPSourceConnectionRequestFromJSON = GroupLDAPSourceConnectionRequestFromJSON;
18
+ exports.GroupLDAPSourceConnectionRequestFromJSONTyped = GroupLDAPSourceConnectionRequestFromJSONTyped;
19
+ exports.GroupLDAPSourceConnectionRequestToJSON = GroupLDAPSourceConnectionRequestToJSON;
20
+ exports.GroupLDAPSourceConnectionRequestToJSONTyped = GroupLDAPSourceConnectionRequestToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the GroupLDAPSourceConnectionRequest interface.
23
+ */
24
+ function instanceOfGroupLDAPSourceConnectionRequest(value) {
25
+ if (!('group' in value) || value['group'] === undefined)
26
+ return false;
27
+ if (!('source' in value) || value['source'] === undefined)
28
+ return false;
29
+ if (!('identifier' in value) || value['identifier'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function GroupLDAPSourceConnectionRequestFromJSON(json) {
34
+ return GroupLDAPSourceConnectionRequestFromJSONTyped(json, false);
35
+ }
36
+ function GroupLDAPSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'group': json['group'],
42
+ 'source': json['source'],
43
+ 'identifier': json['identifier'],
44
+ };
45
+ }
46
+ function GroupLDAPSourceConnectionRequestToJSON(json) {
47
+ return GroupLDAPSourceConnectionRequestToJSONTyped(json, false);
48
+ }
49
+ function GroupLDAPSourceConnectionRequestToJSONTyped(value, ignoreDiscriminator = false) {
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ 'group': value['group'],
55
+ 'source': value['source'],
56
+ 'identifier': value['identifier'],
57
+ };
58
+ }
@@ -237,6 +237,12 @@ export interface LDAPSource {
237
237
  [key: string]: string;
238
238
  };
239
239
  } | null;
240
+ /**
241
+ * Lookup group membership based on a user attribute instead of a group attribute. This allows nested group resolution on systems like FreeIPA and Active Directory
242
+ * @type {boolean}
243
+ * @memberof LDAPSource
244
+ */
245
+ lookupGroupsFromUser?: boolean;
240
246
  }
241
247
  /**
242
248
  * Check if a given object implements the LDAPSource interface.
@@ -94,6 +94,7 @@ function LDAPSourceFromJSONTyped(json, ignoreDiscriminator) {
94
94
  'syncGroups': json['sync_groups'] == null ? undefined : json['sync_groups'],
95
95
  'syncParentGroup': json['sync_parent_group'] == null ? undefined : json['sync_parent_group'],
96
96
  'connectivity': json['connectivity'],
97
+ 'lookupGroupsFromUser': json['lookup_groups_from_user'] == null ? undefined : json['lookup_groups_from_user'],
97
98
  };
98
99
  }
99
100
  function LDAPSourceToJSON(json) {
@@ -132,5 +133,6 @@ function LDAPSourceToJSONTyped(value, ignoreDiscriminator = false) {
132
133
  'sync_users_password': value['syncUsersPassword'],
133
134
  'sync_groups': value['syncGroups'],
134
135
  'sync_parent_group': value['syncParentGroup'],
136
+ 'lookup_groups_from_user': value['lookupGroupsFromUser'],
135
137
  };
136
138
  }
@@ -191,6 +191,12 @@ export interface LDAPSourceRequest {
191
191
  * @memberof LDAPSourceRequest
192
192
  */
193
193
  syncParentGroup?: string | null;
194
+ /**
195
+ * Lookup group membership based on a user attribute instead of a group attribute. This allows nested group resolution on systems like FreeIPA and Active Directory
196
+ * @type {boolean}
197
+ * @memberof LDAPSourceRequest
198
+ */
199
+ lookupGroupsFromUser?: boolean;
194
200
  }
195
201
  /**
196
202
  * Check if a given object implements the LDAPSourceRequest interface.
@@ -71,6 +71,7 @@ function LDAPSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
71
71
  'syncUsersPassword': json['sync_users_password'] == null ? undefined : json['sync_users_password'],
72
72
  'syncGroups': json['sync_groups'] == null ? undefined : json['sync_groups'],
73
73
  'syncParentGroup': json['sync_parent_group'] == null ? undefined : json['sync_parent_group'],
74
+ 'lookupGroupsFromUser': json['lookup_groups_from_user'] == null ? undefined : json['lookup_groups_from_user'],
74
75
  };
75
76
  }
76
77
  function LDAPSourceRequestToJSON(json) {
@@ -110,5 +111,6 @@ function LDAPSourceRequestToJSONTyped(value, ignoreDiscriminator = false) {
110
111
  'sync_users_password': value['syncUsersPassword'],
111
112
  'sync_groups': value['syncGroups'],
112
113
  'sync_parent_group': value['syncParentGroup'],
114
+ 'lookup_groups_from_user': value['lookupGroupsFromUser'],
113
115
  };
114
116
  }
@@ -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";
@@ -59,6 +59,8 @@ exports.ModelEnum = {
59
59
  AuthentikSourcesKerberosGroupkerberossourceconnection: 'authentik_sources_kerberos.groupkerberossourceconnection',
60
60
  AuthentikSourcesLdapLdapsource: 'authentik_sources_ldap.ldapsource',
61
61
  AuthentikSourcesLdapLdapsourcepropertymapping: 'authentik_sources_ldap.ldapsourcepropertymapping',
62
+ AuthentikSourcesLdapUserldapsourceconnection: 'authentik_sources_ldap.userldapsourceconnection',
63
+ AuthentikSourcesLdapGroupldapsourceconnection: 'authentik_sources_ldap.groupldapsourceconnection',
62
64
  AuthentikSourcesOauthOauthsource: 'authentik_sources_oauth.oauthsource',
63
65
  AuthentikSourcesOauthOauthsourcepropertymapping: 'authentik_sources_oauth.oauthsourcepropertymapping',
64
66
  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,56 @@
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.instanceOfPaginatedGroupLDAPSourceConnectionList = instanceOfPaginatedGroupLDAPSourceConnectionList;
17
+ exports.PaginatedGroupLDAPSourceConnectionListFromJSON = PaginatedGroupLDAPSourceConnectionListFromJSON;
18
+ exports.PaginatedGroupLDAPSourceConnectionListFromJSONTyped = PaginatedGroupLDAPSourceConnectionListFromJSONTyped;
19
+ exports.PaginatedGroupLDAPSourceConnectionListToJSON = PaginatedGroupLDAPSourceConnectionListToJSON;
20
+ exports.PaginatedGroupLDAPSourceConnectionListToJSONTyped = PaginatedGroupLDAPSourceConnectionListToJSONTyped;
21
+ const Pagination_1 = require("./Pagination");
22
+ const GroupLDAPSourceConnection_1 = require("./GroupLDAPSourceConnection");
23
+ /**
24
+ * Check if a given object implements the PaginatedGroupLDAPSourceConnectionList interface.
25
+ */
26
+ function instanceOfPaginatedGroupLDAPSourceConnectionList(value) {
27
+ if (!('pagination' in value) || value['pagination'] === undefined)
28
+ return false;
29
+ if (!('results' in value) || value['results'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function PaginatedGroupLDAPSourceConnectionListFromJSON(json) {
34
+ return PaginatedGroupLDAPSourceConnectionListFromJSONTyped(json, false);
35
+ }
36
+ function PaginatedGroupLDAPSourceConnectionListFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'pagination': (0, Pagination_1.PaginationFromJSON)(json['pagination']),
42
+ 'results': (json['results'].map(GroupLDAPSourceConnection_1.GroupLDAPSourceConnectionFromJSON)),
43
+ };
44
+ }
45
+ function PaginatedGroupLDAPSourceConnectionListToJSON(json) {
46
+ return PaginatedGroupLDAPSourceConnectionListToJSONTyped(json, false);
47
+ }
48
+ function PaginatedGroupLDAPSourceConnectionListToJSONTyped(value, ignoreDiscriminator = false) {
49
+ if (value == null) {
50
+ return value;
51
+ }
52
+ return {
53
+ 'pagination': (0, Pagination_1.PaginationToJSON)(value['pagination']),
54
+ 'results': (value['results'].map(GroupLDAPSourceConnection_1.GroupLDAPSourceConnectionToJSON)),
55
+ };
56
+ }
@@ -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,56 @@
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.instanceOfPaginatedUserLDAPSourceConnectionList = instanceOfPaginatedUserLDAPSourceConnectionList;
17
+ exports.PaginatedUserLDAPSourceConnectionListFromJSON = PaginatedUserLDAPSourceConnectionListFromJSON;
18
+ exports.PaginatedUserLDAPSourceConnectionListFromJSONTyped = PaginatedUserLDAPSourceConnectionListFromJSONTyped;
19
+ exports.PaginatedUserLDAPSourceConnectionListToJSON = PaginatedUserLDAPSourceConnectionListToJSON;
20
+ exports.PaginatedUserLDAPSourceConnectionListToJSONTyped = PaginatedUserLDAPSourceConnectionListToJSONTyped;
21
+ const Pagination_1 = require("./Pagination");
22
+ const UserLDAPSourceConnection_1 = require("./UserLDAPSourceConnection");
23
+ /**
24
+ * Check if a given object implements the PaginatedUserLDAPSourceConnectionList interface.
25
+ */
26
+ function instanceOfPaginatedUserLDAPSourceConnectionList(value) {
27
+ if (!('pagination' in value) || value['pagination'] === undefined)
28
+ return false;
29
+ if (!('results' in value) || value['results'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function PaginatedUserLDAPSourceConnectionListFromJSON(json) {
34
+ return PaginatedUserLDAPSourceConnectionListFromJSONTyped(json, false);
35
+ }
36
+ function PaginatedUserLDAPSourceConnectionListFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'pagination': (0, Pagination_1.PaginationFromJSON)(json['pagination']),
42
+ 'results': (json['results'].map(UserLDAPSourceConnection_1.UserLDAPSourceConnectionFromJSON)),
43
+ };
44
+ }
45
+ function PaginatedUserLDAPSourceConnectionListToJSON(json) {
46
+ return PaginatedUserLDAPSourceConnectionListToJSONTyped(json, false);
47
+ }
48
+ function PaginatedUserLDAPSourceConnectionListToJSONTyped(value, ignoreDiscriminator = false) {
49
+ if (value == null) {
50
+ return value;
51
+ }
52
+ return {
53
+ 'pagination': (0, Pagination_1.PaginationToJSON)(value['pagination']),
54
+ 'results': (value['results'].map(UserLDAPSourceConnection_1.UserLDAPSourceConnectionToJSON)),
55
+ };
56
+ }
@@ -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,52 @@
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.instanceOfPatchedGroupLDAPSourceConnectionRequest = instanceOfPatchedGroupLDAPSourceConnectionRequest;
17
+ exports.PatchedGroupLDAPSourceConnectionRequestFromJSON = PatchedGroupLDAPSourceConnectionRequestFromJSON;
18
+ exports.PatchedGroupLDAPSourceConnectionRequestFromJSONTyped = PatchedGroupLDAPSourceConnectionRequestFromJSONTyped;
19
+ exports.PatchedGroupLDAPSourceConnectionRequestToJSON = PatchedGroupLDAPSourceConnectionRequestToJSON;
20
+ exports.PatchedGroupLDAPSourceConnectionRequestToJSONTyped = PatchedGroupLDAPSourceConnectionRequestToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the PatchedGroupLDAPSourceConnectionRequest interface.
23
+ */
24
+ function instanceOfPatchedGroupLDAPSourceConnectionRequest(value) {
25
+ return true;
26
+ }
27
+ function PatchedGroupLDAPSourceConnectionRequestFromJSON(json) {
28
+ return PatchedGroupLDAPSourceConnectionRequestFromJSONTyped(json, false);
29
+ }
30
+ function PatchedGroupLDAPSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'group': json['group'] == null ? undefined : json['group'],
36
+ 'source': json['source'] == null ? undefined : json['source'],
37
+ 'identifier': json['identifier'] == null ? undefined : json['identifier'],
38
+ };
39
+ }
40
+ function PatchedGroupLDAPSourceConnectionRequestToJSON(json) {
41
+ return PatchedGroupLDAPSourceConnectionRequestToJSONTyped(json, false);
42
+ }
43
+ function PatchedGroupLDAPSourceConnectionRequestToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'group': value['group'],
49
+ 'source': value['source'],
50
+ 'identifier': value['identifier'],
51
+ };
52
+ }
@@ -191,6 +191,12 @@ export interface PatchedLDAPSourceRequest {
191
191
  * @memberof PatchedLDAPSourceRequest
192
192
  */
193
193
  syncParentGroup?: string | null;
194
+ /**
195
+ * Lookup group membership based on a user attribute instead of a group attribute. This allows nested group resolution on systems like FreeIPA and Active Directory
196
+ * @type {boolean}
197
+ * @memberof PatchedLDAPSourceRequest
198
+ */
199
+ lookupGroupsFromUser?: boolean;
194
200
  }
195
201
  /**
196
202
  * Check if a given object implements the PatchedLDAPSourceRequest interface.
@@ -63,6 +63,7 @@ function PatchedLDAPSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
63
63
  'syncUsersPassword': json['sync_users_password'] == null ? undefined : json['sync_users_password'],
64
64
  'syncGroups': json['sync_groups'] == null ? undefined : json['sync_groups'],
65
65
  'syncParentGroup': json['sync_parent_group'] == null ? undefined : json['sync_parent_group'],
66
+ 'lookupGroupsFromUser': json['lookup_groups_from_user'] == null ? undefined : json['lookup_groups_from_user'],
66
67
  };
67
68
  }
68
69
  function PatchedLDAPSourceRequestToJSON(json) {
@@ -102,5 +103,6 @@ function PatchedLDAPSourceRequestToJSONTyped(value, ignoreDiscriminator = false)
102
103
  'sync_users_password': value['syncUsersPassword'],
103
104
  'sync_groups': value['syncGroups'],
104
105
  'sync_parent_group': value['syncParentGroup'],
106
+ 'lookup_groups_from_user': value['lookupGroupsFromUser'],
105
107
  };
106
108
  }
@@ -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}
@@ -37,6 +37,8 @@ function PatchedSettingsRequestFromJSONTyped(json, ignoreDiscriminator) {
37
37
  'defaultUserChangeEmail': json['default_user_change_email'] == null ? undefined : json['default_user_change_email'],
38
38
  'defaultUserChangeUsername': json['default_user_change_username'] == null ? undefined : json['default_user_change_username'],
39
39
  'eventRetention': json['event_retention'] == null ? undefined : json['event_retention'],
40
+ 'reputationLowerLimit': json['reputation_lower_limit'] == null ? undefined : json['reputation_lower_limit'],
41
+ 'reputationUpperLimit': json['reputation_upper_limit'] == null ? undefined : json['reputation_upper_limit'],
40
42
  'footerLinks': json['footer_links'] == null ? undefined : json['footer_links'],
41
43
  'gdprCompliance': json['gdpr_compliance'] == null ? undefined : json['gdpr_compliance'],
42
44
  'impersonation': json['impersonation'] == null ? undefined : json['impersonation'],
@@ -58,6 +60,8 @@ function PatchedSettingsRequestToJSONTyped(value, ignoreDiscriminator = false) {
58
60
  'default_user_change_email': value['defaultUserChangeEmail'],
59
61
  'default_user_change_username': value['defaultUserChangeUsername'],
60
62
  'event_retention': value['eventRetention'],
63
+ 'reputation_lower_limit': value['reputationLowerLimit'],
64
+ 'reputation_upper_limit': value['reputationUpperLimit'],
61
65
  'footer_links': value['footerLinks'],
62
66
  'gdpr_compliance': value['gdprCompliance'],
63
67
  '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;