@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
@@ -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
+ }
@@ -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
+ }
@@ -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;
@@ -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.instanceOfPatchedUserLDAPSourceConnectionRequest = instanceOfPatchedUserLDAPSourceConnectionRequest;
17
+ exports.PatchedUserLDAPSourceConnectionRequestFromJSON = PatchedUserLDAPSourceConnectionRequestFromJSON;
18
+ exports.PatchedUserLDAPSourceConnectionRequestFromJSONTyped = PatchedUserLDAPSourceConnectionRequestFromJSONTyped;
19
+ exports.PatchedUserLDAPSourceConnectionRequestToJSON = PatchedUserLDAPSourceConnectionRequestToJSON;
20
+ exports.PatchedUserLDAPSourceConnectionRequestToJSONTyped = PatchedUserLDAPSourceConnectionRequestToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the PatchedUserLDAPSourceConnectionRequest interface.
23
+ */
24
+ function instanceOfPatchedUserLDAPSourceConnectionRequest(value) {
25
+ return true;
26
+ }
27
+ function PatchedUserLDAPSourceConnectionRequestFromJSON(json) {
28
+ return PatchedUserLDAPSourceConnectionRequestFromJSONTyped(json, false);
29
+ }
30
+ function PatchedUserLDAPSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'user': json['user'] == null ? undefined : json['user'],
36
+ 'source': json['source'] == null ? undefined : json['source'],
37
+ 'identifier': json['identifier'] == null ? undefined : json['identifier'],
38
+ };
39
+ }
40
+ function PatchedUserLDAPSourceConnectionRequestToJSON(json) {
41
+ return PatchedUserLDAPSourceConnectionRequestToJSONTyped(json, false);
42
+ }
43
+ function PatchedUserLDAPSourceConnectionRequestToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'user': value['user'],
49
+ 'source': value['source'],
50
+ 'identifier': value['identifier'],
51
+ };
52
+ }
@@ -45,6 +45,18 @@ export interface Settings {
45
45
  * @memberof Settings
46
46
  */
47
47
  eventRetention?: string;
48
+ /**
49
+ * Reputation cannot decrease lower than this value. Zero or negative.
50
+ * @type {number}
51
+ * @memberof Settings
52
+ */
53
+ reputationLowerLimit?: number;
54
+ /**
55
+ * Reputation cannot increase higher than this value. Zero or positive.
56
+ * @type {number}
57
+ * @memberof Settings
58
+ */
59
+ reputationUpperLimit?: number;
48
60
  /**
49
61
  * The option configures the footer links on the flow executor pages.
50
62
  * @type {any}
@@ -37,6 +37,8 @@ function SettingsFromJSONTyped(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 SettingsToJSONTyped(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'],
@@ -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}
@@ -37,6 +37,8 @@ function SettingsRequestFromJSONTyped(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 SettingsRequestToJSONTyped(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,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;