@goauthentik/api 2025.2.4-1744288676 → 2025.2.4-1744646168

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (117) hide show
  1. package/.openapi-generator/FILES +14 -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 +90 -1
  5. package/dist/apis/RbacApi.js +271 -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 +90 -1
  11. package/dist/esm/apis/RbacApi.js +272 -1
  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/InitialPermissions.d.ts +64 -0
  21. package/dist/esm/models/InitialPermissions.js +61 -0
  22. package/dist/esm/models/InitialPermissionsModeEnum.d.ts +26 -0
  23. package/dist/esm/models/InitialPermissionsModeEnum.js +44 -0
  24. package/dist/esm/models/InitialPermissionsRequest.d.ts +51 -0
  25. package/dist/esm/models/InitialPermissionsRequest.js +54 -0
  26. package/dist/esm/models/ModelEnum.d.ts +3 -0
  27. package/dist/esm/models/ModelEnum.js +3 -0
  28. package/dist/esm/models/PaginatedGroupLDAPSourceConnectionList.d.ts +40 -0
  29. package/dist/esm/models/PaginatedGroupLDAPSourceConnectionList.js +49 -0
  30. package/dist/esm/models/PaginatedInitialPermissionsList.d.ts +40 -0
  31. package/dist/esm/models/PaginatedInitialPermissionsList.js +49 -0
  32. package/dist/esm/models/PaginatedUserLDAPSourceConnectionList.d.ts +40 -0
  33. package/dist/esm/models/PaginatedUserLDAPSourceConnectionList.js +49 -0
  34. package/dist/esm/models/PatchedGroupLDAPSourceConnectionRequest.d.ts +44 -0
  35. package/dist/esm/models/PatchedGroupLDAPSourceConnectionRequest.js +45 -0
  36. package/dist/esm/models/PatchedInitialPermissionsRequest.d.ts +51 -0
  37. package/dist/esm/models/PatchedInitialPermissionsRequest.js +48 -0
  38. package/dist/esm/models/PatchedSettingsRequest.d.ts +12 -0
  39. package/dist/esm/models/PatchedSettingsRequest.js +4 -0
  40. package/dist/esm/models/PatchedUserLDAPSourceConnectionRequest.d.ts +44 -0
  41. package/dist/esm/models/PatchedUserLDAPSourceConnectionRequest.js +45 -0
  42. package/dist/esm/models/PermissionRequest.d.ts +38 -0
  43. package/dist/esm/models/PermissionRequest.js +47 -0
  44. package/dist/esm/models/Settings.d.ts +12 -0
  45. package/dist/esm/models/Settings.js +4 -0
  46. package/dist/esm/models/SettingsRequest.d.ts +12 -0
  47. package/dist/esm/models/SettingsRequest.js +4 -0
  48. package/dist/esm/models/UserLDAPSourceConnection.d.ts +69 -0
  49. package/dist/esm/models/UserLDAPSourceConnection.js +64 -0
  50. package/dist/esm/models/UserLDAPSourceConnectionRequest.d.ts +44 -0
  51. package/dist/esm/models/UserLDAPSourceConnectionRequest.js +51 -0
  52. package/dist/esm/models/index.d.ts +14 -0
  53. package/dist/esm/models/index.js +14 -0
  54. package/dist/models/AuthenticatedSession.d.ts +4 -4
  55. package/dist/models/AuthenticatedSession.js +6 -5
  56. package/dist/models/GroupLDAPSourceConnection.d.ts +69 -0
  57. package/dist/models/GroupLDAPSourceConnection.js +71 -0
  58. package/dist/models/GroupLDAPSourceConnectionRequest.d.ts +44 -0
  59. package/dist/models/GroupLDAPSourceConnectionRequest.js +58 -0
  60. package/dist/models/InitialPermissions.d.ts +64 -0
  61. package/dist/models/InitialPermissions.js +68 -0
  62. package/dist/models/InitialPermissionsModeEnum.d.ts +26 -0
  63. package/dist/models/InitialPermissionsModeEnum.js +52 -0
  64. package/dist/models/InitialPermissionsRequest.d.ts +51 -0
  65. package/dist/models/InitialPermissionsRequest.js +61 -0
  66. package/dist/models/ModelEnum.d.ts +3 -0
  67. package/dist/models/ModelEnum.js +3 -0
  68. package/dist/models/PaginatedGroupLDAPSourceConnectionList.d.ts +40 -0
  69. package/dist/models/PaginatedGroupLDAPSourceConnectionList.js +56 -0
  70. package/dist/models/PaginatedInitialPermissionsList.d.ts +40 -0
  71. package/dist/models/PaginatedInitialPermissionsList.js +56 -0
  72. package/dist/models/PaginatedUserLDAPSourceConnectionList.d.ts +40 -0
  73. package/dist/models/PaginatedUserLDAPSourceConnectionList.js +56 -0
  74. package/dist/models/PatchedGroupLDAPSourceConnectionRequest.d.ts +44 -0
  75. package/dist/models/PatchedGroupLDAPSourceConnectionRequest.js +52 -0
  76. package/dist/models/PatchedInitialPermissionsRequest.d.ts +51 -0
  77. package/dist/models/PatchedInitialPermissionsRequest.js +55 -0
  78. package/dist/models/PatchedSettingsRequest.d.ts +12 -0
  79. package/dist/models/PatchedSettingsRequest.js +4 -0
  80. package/dist/models/PatchedUserLDAPSourceConnectionRequest.d.ts +44 -0
  81. package/dist/models/PatchedUserLDAPSourceConnectionRequest.js +52 -0
  82. package/dist/models/PermissionRequest.d.ts +38 -0
  83. package/dist/models/PermissionRequest.js +54 -0
  84. package/dist/models/Settings.d.ts +12 -0
  85. package/dist/models/Settings.js +4 -0
  86. package/dist/models/SettingsRequest.d.ts +12 -0
  87. package/dist/models/SettingsRequest.js +4 -0
  88. package/dist/models/UserLDAPSourceConnection.d.ts +69 -0
  89. package/dist/models/UserLDAPSourceConnection.js +71 -0
  90. package/dist/models/UserLDAPSourceConnectionRequest.d.ts +44 -0
  91. package/dist/models/UserLDAPSourceConnectionRequest.js +58 -0
  92. package/dist/models/index.d.ts +14 -0
  93. package/dist/models/index.js +14 -0
  94. package/package.json +1 -1
  95. package/src/apis/CoreApi.ts +10 -10
  96. package/src/apis/RbacApi.ts +367 -0
  97. package/src/apis/SourcesApi.ts +1929 -1197
  98. package/src/models/AuthenticatedSession.ts +8 -9
  99. package/src/models/GroupLDAPSourceConnection.ts +124 -0
  100. package/src/models/GroupLDAPSourceConnectionRequest.ts +84 -0
  101. package/src/models/InitialPermissions.ts +125 -0
  102. package/src/models/InitialPermissionsModeEnum.ts +54 -0
  103. package/src/models/InitialPermissionsRequest.ts +102 -0
  104. package/src/models/ModelEnum.ts +3 -0
  105. package/src/models/PaginatedGroupLDAPSourceConnectionList.ts +90 -0
  106. package/src/models/PaginatedInitialPermissionsList.ts +90 -0
  107. package/src/models/PaginatedUserLDAPSourceConnectionList.ts +90 -0
  108. package/src/models/PatchedGroupLDAPSourceConnectionRequest.ts +81 -0
  109. package/src/models/PatchedInitialPermissionsRequest.ts +99 -0
  110. package/src/models/PatchedSettingsRequest.ts +16 -0
  111. package/src/models/PatchedUserLDAPSourceConnectionRequest.ts +81 -0
  112. package/src/models/PermissionRequest.ts +75 -0
  113. package/src/models/Settings.ts +16 -0
  114. package/src/models/SettingsRequest.ts +16 -0
  115. package/src/models/UserLDAPSourceConnection.ts +124 -0
  116. package/src/models/UserLDAPSourceConnectionRequest.ts +84 -0
  117. package/src/models/index.ts +14 -0
@@ -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
+ }
@@ -0,0 +1,51 @@
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 { InitialPermissionsModeEnum } from './InitialPermissionsModeEnum';
13
+ /**
14
+ * InitialPermissions serializer
15
+ * @export
16
+ * @interface PatchedInitialPermissionsRequest
17
+ */
18
+ export interface PatchedInitialPermissionsRequest {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof PatchedInitialPermissionsRequest
23
+ */
24
+ name?: string;
25
+ /**
26
+ *
27
+ * @type {InitialPermissionsModeEnum}
28
+ * @memberof PatchedInitialPermissionsRequest
29
+ */
30
+ mode?: InitialPermissionsModeEnum;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof PatchedInitialPermissionsRequest
35
+ */
36
+ role?: string;
37
+ /**
38
+ *
39
+ * @type {Array<number>}
40
+ * @memberof PatchedInitialPermissionsRequest
41
+ */
42
+ permissions?: Array<number>;
43
+ }
44
+ /**
45
+ * Check if a given object implements the PatchedInitialPermissionsRequest interface.
46
+ */
47
+ export declare function instanceOfPatchedInitialPermissionsRequest(value: object): value is PatchedInitialPermissionsRequest;
48
+ export declare function PatchedInitialPermissionsRequestFromJSON(json: any): PatchedInitialPermissionsRequest;
49
+ export declare function PatchedInitialPermissionsRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedInitialPermissionsRequest;
50
+ export declare function PatchedInitialPermissionsRequestToJSON(json: any): PatchedInitialPermissionsRequest;
51
+ export declare function PatchedInitialPermissionsRequestToJSONTyped(value?: PatchedInitialPermissionsRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,55 @@
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.instanceOfPatchedInitialPermissionsRequest = instanceOfPatchedInitialPermissionsRequest;
17
+ exports.PatchedInitialPermissionsRequestFromJSON = PatchedInitialPermissionsRequestFromJSON;
18
+ exports.PatchedInitialPermissionsRequestFromJSONTyped = PatchedInitialPermissionsRequestFromJSONTyped;
19
+ exports.PatchedInitialPermissionsRequestToJSON = PatchedInitialPermissionsRequestToJSON;
20
+ exports.PatchedInitialPermissionsRequestToJSONTyped = PatchedInitialPermissionsRequestToJSONTyped;
21
+ const InitialPermissionsModeEnum_1 = require("./InitialPermissionsModeEnum");
22
+ /**
23
+ * Check if a given object implements the PatchedInitialPermissionsRequest interface.
24
+ */
25
+ function instanceOfPatchedInitialPermissionsRequest(value) {
26
+ return true;
27
+ }
28
+ function PatchedInitialPermissionsRequestFromJSON(json) {
29
+ return PatchedInitialPermissionsRequestFromJSONTyped(json, false);
30
+ }
31
+ function PatchedInitialPermissionsRequestFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'name': json['name'] == null ? undefined : json['name'],
37
+ 'mode': json['mode'] == null ? undefined : (0, InitialPermissionsModeEnum_1.InitialPermissionsModeEnumFromJSON)(json['mode']),
38
+ 'role': json['role'] == null ? undefined : json['role'],
39
+ 'permissions': json['permissions'] == null ? undefined : json['permissions'],
40
+ };
41
+ }
42
+ function PatchedInitialPermissionsRequestToJSON(json) {
43
+ return PatchedInitialPermissionsRequestToJSONTyped(json, false);
44
+ }
45
+ function PatchedInitialPermissionsRequestToJSONTyped(value, ignoreDiscriminator = false) {
46
+ if (value == null) {
47
+ return value;
48
+ }
49
+ return {
50
+ 'name': value['name'],
51
+ 'mode': (0, InitialPermissionsModeEnum_1.InitialPermissionsModeEnumToJSON)(value['mode']),
52
+ 'role': value['role'],
53
+ 'permissions': value['permissions'],
54
+ };
55
+ }
@@ -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
+ }
@@ -0,0 +1,38 @@
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
+ * Global permission
14
+ * @export
15
+ * @interface PermissionRequest
16
+ */
17
+ export interface PermissionRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof PermissionRequest
22
+ */
23
+ name: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof PermissionRequest
28
+ */
29
+ codename: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the PermissionRequest interface.
33
+ */
34
+ export declare function instanceOfPermissionRequest(value: object): value is PermissionRequest;
35
+ export declare function PermissionRequestFromJSON(json: any): PermissionRequest;
36
+ export declare function PermissionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PermissionRequest;
37
+ export declare function PermissionRequestToJSON(json: any): PermissionRequest;
38
+ export declare function PermissionRequestToJSONTyped(value?: PermissionRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,54 @@
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.instanceOfPermissionRequest = instanceOfPermissionRequest;
17
+ exports.PermissionRequestFromJSON = PermissionRequestFromJSON;
18
+ exports.PermissionRequestFromJSONTyped = PermissionRequestFromJSONTyped;
19
+ exports.PermissionRequestToJSON = PermissionRequestToJSON;
20
+ exports.PermissionRequestToJSONTyped = PermissionRequestToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the PermissionRequest interface.
23
+ */
24
+ function instanceOfPermissionRequest(value) {
25
+ if (!('name' in value) || value['name'] === undefined)
26
+ return false;
27
+ if (!('codename' in value) || value['codename'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function PermissionRequestFromJSON(json) {
32
+ return PermissionRequestFromJSONTyped(json, false);
33
+ }
34
+ function PermissionRequestFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'name': json['name'],
40
+ 'codename': json['codename'],
41
+ };
42
+ }
43
+ function PermissionRequestToJSON(json) {
44
+ return PermissionRequestToJSONTyped(json, false);
45
+ }
46
+ function PermissionRequestToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'name': value['name'],
52
+ 'codename': value['codename'],
53
+ };
54
+ }
@@ -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;