@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,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 { InitialPermissions } from './InitialPermissions';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface PaginatedInitialPermissionsList
18
+ */
19
+ export interface PaginatedInitialPermissionsList {
20
+ /**
21
+ *
22
+ * @type {Pagination}
23
+ * @memberof PaginatedInitialPermissionsList
24
+ */
25
+ pagination: Pagination;
26
+ /**
27
+ *
28
+ * @type {Array<InitialPermissions>}
29
+ * @memberof PaginatedInitialPermissionsList
30
+ */
31
+ results: Array<InitialPermissions>;
32
+ }
33
+ /**
34
+ * Check if a given object implements the PaginatedInitialPermissionsList interface.
35
+ */
36
+ export declare function instanceOfPaginatedInitialPermissionsList(value: object): value is PaginatedInitialPermissionsList;
37
+ export declare function PaginatedInitialPermissionsListFromJSON(json: any): PaginatedInitialPermissionsList;
38
+ export declare function PaginatedInitialPermissionsListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedInitialPermissionsList;
39
+ export declare function PaginatedInitialPermissionsListToJSON(json: any): PaginatedInitialPermissionsList;
40
+ export declare function PaginatedInitialPermissionsListToJSONTyped(value?: PaginatedInitialPermissionsList | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,49 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2025.2.4
8
+ * Contact: hello@goauthentik.io
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { PaginationFromJSON, PaginationToJSON, } from './Pagination';
15
+ import { InitialPermissionsFromJSON, InitialPermissionsToJSON, } from './InitialPermissions';
16
+ /**
17
+ * Check if a given object implements the PaginatedInitialPermissionsList interface.
18
+ */
19
+ export function instanceOfPaginatedInitialPermissionsList(value) {
20
+ if (!('pagination' in value) || value['pagination'] === undefined)
21
+ return false;
22
+ if (!('results' in value) || value['results'] === undefined)
23
+ return false;
24
+ return true;
25
+ }
26
+ export function PaginatedInitialPermissionsListFromJSON(json) {
27
+ return PaginatedInitialPermissionsListFromJSONTyped(json, false);
28
+ }
29
+ export function PaginatedInitialPermissionsListFromJSONTyped(json, ignoreDiscriminator) {
30
+ if (json == null) {
31
+ return json;
32
+ }
33
+ return {
34
+ 'pagination': PaginationFromJSON(json['pagination']),
35
+ 'results': (json['results'].map(InitialPermissionsFromJSON)),
36
+ };
37
+ }
38
+ export function PaginatedInitialPermissionsListToJSON(json) {
39
+ return PaginatedInitialPermissionsListToJSONTyped(json, false);
40
+ }
41
+ export function PaginatedInitialPermissionsListToJSONTyped(value, ignoreDiscriminator = false) {
42
+ if (value == null) {
43
+ return value;
44
+ }
45
+ return {
46
+ 'pagination': PaginationToJSON(value['pagination']),
47
+ 'results': (value['results'].map(InitialPermissionsToJSON)),
48
+ };
49
+ }
@@ -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,49 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2025.2.4
8
+ * Contact: hello@goauthentik.io
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { PaginationFromJSON, PaginationToJSON, } from './Pagination';
15
+ import { UserLDAPSourceConnectionFromJSON, UserLDAPSourceConnectionToJSON, } from './UserLDAPSourceConnection';
16
+ /**
17
+ * Check if a given object implements the PaginatedUserLDAPSourceConnectionList interface.
18
+ */
19
+ export function instanceOfPaginatedUserLDAPSourceConnectionList(value) {
20
+ if (!('pagination' in value) || value['pagination'] === undefined)
21
+ return false;
22
+ if (!('results' in value) || value['results'] === undefined)
23
+ return false;
24
+ return true;
25
+ }
26
+ export function PaginatedUserLDAPSourceConnectionListFromJSON(json) {
27
+ return PaginatedUserLDAPSourceConnectionListFromJSONTyped(json, false);
28
+ }
29
+ export function PaginatedUserLDAPSourceConnectionListFromJSONTyped(json, ignoreDiscriminator) {
30
+ if (json == null) {
31
+ return json;
32
+ }
33
+ return {
34
+ 'pagination': PaginationFromJSON(json['pagination']),
35
+ 'results': (json['results'].map(UserLDAPSourceConnectionFromJSON)),
36
+ };
37
+ }
38
+ export function PaginatedUserLDAPSourceConnectionListToJSON(json) {
39
+ return PaginatedUserLDAPSourceConnectionListToJSONTyped(json, false);
40
+ }
41
+ export function PaginatedUserLDAPSourceConnectionListToJSONTyped(value, ignoreDiscriminator = false) {
42
+ if (value == null) {
43
+ return value;
44
+ }
45
+ return {
46
+ 'pagination': PaginationToJSON(value['pagination']),
47
+ 'results': (value['results'].map(UserLDAPSourceConnectionToJSON)),
48
+ };
49
+ }
@@ -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,45 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2025.2.4
8
+ * Contact: hello@goauthentik.io
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the PatchedGroupLDAPSourceConnectionRequest interface.
16
+ */
17
+ export function instanceOfPatchedGroupLDAPSourceConnectionRequest(value) {
18
+ return true;
19
+ }
20
+ export function PatchedGroupLDAPSourceConnectionRequestFromJSON(json) {
21
+ return PatchedGroupLDAPSourceConnectionRequestFromJSONTyped(json, false);
22
+ }
23
+ export function PatchedGroupLDAPSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'group': json['group'] == null ? undefined : json['group'],
29
+ 'source': json['source'] == null ? undefined : json['source'],
30
+ 'identifier': json['identifier'] == null ? undefined : json['identifier'],
31
+ };
32
+ }
33
+ export function PatchedGroupLDAPSourceConnectionRequestToJSON(json) {
34
+ return PatchedGroupLDAPSourceConnectionRequestToJSONTyped(json, false);
35
+ }
36
+ export function PatchedGroupLDAPSourceConnectionRequestToJSONTyped(value, ignoreDiscriminator = false) {
37
+ if (value == null) {
38
+ return value;
39
+ }
40
+ return {
41
+ 'group': value['group'],
42
+ 'source': value['source'],
43
+ 'identifier': value['identifier'],
44
+ };
45
+ }
@@ -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,48 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2025.2.4
8
+ * Contact: hello@goauthentik.io
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { InitialPermissionsModeEnumFromJSON, InitialPermissionsModeEnumToJSON, } from './InitialPermissionsModeEnum';
15
+ /**
16
+ * Check if a given object implements the PatchedInitialPermissionsRequest interface.
17
+ */
18
+ export function instanceOfPatchedInitialPermissionsRequest(value) {
19
+ return true;
20
+ }
21
+ export function PatchedInitialPermissionsRequestFromJSON(json) {
22
+ return PatchedInitialPermissionsRequestFromJSONTyped(json, false);
23
+ }
24
+ export function PatchedInitialPermissionsRequestFromJSONTyped(json, ignoreDiscriminator) {
25
+ if (json == null) {
26
+ return json;
27
+ }
28
+ return {
29
+ 'name': json['name'] == null ? undefined : json['name'],
30
+ 'mode': json['mode'] == null ? undefined : InitialPermissionsModeEnumFromJSON(json['mode']),
31
+ 'role': json['role'] == null ? undefined : json['role'],
32
+ 'permissions': json['permissions'] == null ? undefined : json['permissions'],
33
+ };
34
+ }
35
+ export function PatchedInitialPermissionsRequestToJSON(json) {
36
+ return PatchedInitialPermissionsRequestToJSONTyped(json, false);
37
+ }
38
+ export function PatchedInitialPermissionsRequestToJSONTyped(value, ignoreDiscriminator = false) {
39
+ if (value == null) {
40
+ return value;
41
+ }
42
+ return {
43
+ 'name': value['name'],
44
+ 'mode': InitialPermissionsModeEnumToJSON(value['mode']),
45
+ 'role': value['role'],
46
+ 'permissions': value['permissions'],
47
+ };
48
+ }
@@ -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}
@@ -30,6 +30,8 @@ export function PatchedSettingsRequestFromJSONTyped(json, ignoreDiscriminator) {
30
30
  'defaultUserChangeEmail': json['default_user_change_email'] == null ? undefined : json['default_user_change_email'],
31
31
  'defaultUserChangeUsername': json['default_user_change_username'] == null ? undefined : json['default_user_change_username'],
32
32
  'eventRetention': json['event_retention'] == null ? undefined : json['event_retention'],
33
+ 'reputationLowerLimit': json['reputation_lower_limit'] == null ? undefined : json['reputation_lower_limit'],
34
+ 'reputationUpperLimit': json['reputation_upper_limit'] == null ? undefined : json['reputation_upper_limit'],
33
35
  'footerLinks': json['footer_links'] == null ? undefined : json['footer_links'],
34
36
  'gdprCompliance': json['gdpr_compliance'] == null ? undefined : json['gdpr_compliance'],
35
37
  'impersonation': json['impersonation'] == null ? undefined : json['impersonation'],
@@ -51,6 +53,8 @@ export function PatchedSettingsRequestToJSONTyped(value, ignoreDiscriminator = f
51
53
  'default_user_change_email': value['defaultUserChangeEmail'],
52
54
  'default_user_change_username': value['defaultUserChangeUsername'],
53
55
  'event_retention': value['eventRetention'],
56
+ 'reputation_lower_limit': value['reputationLowerLimit'],
57
+ 'reputation_upper_limit': value['reputationUpperLimit'],
54
58
  'footer_links': value['footerLinks'],
55
59
  'gdpr_compliance': value['gdprCompliance'],
56
60
  'impersonation': value['impersonation'],
@@ -0,0 +1,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,45 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2025.2.4
8
+ * Contact: hello@goauthentik.io
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the PatchedUserLDAPSourceConnectionRequest interface.
16
+ */
17
+ export function instanceOfPatchedUserLDAPSourceConnectionRequest(value) {
18
+ return true;
19
+ }
20
+ export function PatchedUserLDAPSourceConnectionRequestFromJSON(json) {
21
+ return PatchedUserLDAPSourceConnectionRequestFromJSONTyped(json, false);
22
+ }
23
+ export function PatchedUserLDAPSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'user': json['user'] == null ? undefined : json['user'],
29
+ 'source': json['source'] == null ? undefined : json['source'],
30
+ 'identifier': json['identifier'] == null ? undefined : json['identifier'],
31
+ };
32
+ }
33
+ export function PatchedUserLDAPSourceConnectionRequestToJSON(json) {
34
+ return PatchedUserLDAPSourceConnectionRequestToJSONTyped(json, false);
35
+ }
36
+ export function PatchedUserLDAPSourceConnectionRequestToJSONTyped(value, ignoreDiscriminator = false) {
37
+ if (value == null) {
38
+ return value;
39
+ }
40
+ return {
41
+ 'user': value['user'],
42
+ 'source': value['source'],
43
+ 'identifier': value['identifier'],
44
+ };
45
+ }
@@ -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,47 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2025.2.4
8
+ * Contact: hello@goauthentik.io
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the PermissionRequest interface.
16
+ */
17
+ export function instanceOfPermissionRequest(value) {
18
+ if (!('name' in value) || value['name'] === undefined)
19
+ return false;
20
+ if (!('codename' in value) || value['codename'] === undefined)
21
+ return false;
22
+ return true;
23
+ }
24
+ export function PermissionRequestFromJSON(json) {
25
+ return PermissionRequestFromJSONTyped(json, false);
26
+ }
27
+ export function PermissionRequestFromJSONTyped(json, ignoreDiscriminator) {
28
+ if (json == null) {
29
+ return json;
30
+ }
31
+ return {
32
+ 'name': json['name'],
33
+ 'codename': json['codename'],
34
+ };
35
+ }
36
+ export function PermissionRequestToJSON(json) {
37
+ return PermissionRequestToJSONTyped(json, false);
38
+ }
39
+ export function PermissionRequestToJSONTyped(value, ignoreDiscriminator = false) {
40
+ if (value == null) {
41
+ return value;
42
+ }
43
+ return {
44
+ 'name': value['name'],
45
+ 'codename': value['codename'],
46
+ };
47
+ }
@@ -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}
@@ -30,6 +30,8 @@ export function SettingsFromJSONTyped(json, ignoreDiscriminator) {
30
30
  'defaultUserChangeEmail': json['default_user_change_email'] == null ? undefined : json['default_user_change_email'],
31
31
  'defaultUserChangeUsername': json['default_user_change_username'] == null ? undefined : json['default_user_change_username'],
32
32
  'eventRetention': json['event_retention'] == null ? undefined : json['event_retention'],
33
+ 'reputationLowerLimit': json['reputation_lower_limit'] == null ? undefined : json['reputation_lower_limit'],
34
+ 'reputationUpperLimit': json['reputation_upper_limit'] == null ? undefined : json['reputation_upper_limit'],
33
35
  'footerLinks': json['footer_links'] == null ? undefined : json['footer_links'],
34
36
  'gdprCompliance': json['gdpr_compliance'] == null ? undefined : json['gdpr_compliance'],
35
37
  'impersonation': json['impersonation'] == null ? undefined : json['impersonation'],
@@ -51,6 +53,8 @@ export function SettingsToJSONTyped(value, ignoreDiscriminator = false) {
51
53
  'default_user_change_email': value['defaultUserChangeEmail'],
52
54
  'default_user_change_username': value['defaultUserChangeUsername'],
53
55
  'event_retention': value['eventRetention'],
56
+ 'reputation_lower_limit': value['reputationLowerLimit'],
57
+ 'reputation_upper_limit': value['reputationUpperLimit'],
54
58
  'footer_links': value['footerLinks'],
55
59
  'gdpr_compliance': value['gdprCompliance'],
56
60
  'impersonation': value['impersonation'],
@@ -45,6 +45,18 @@ export interface SettingsRequest {
45
45
  * @memberof SettingsRequest
46
46
  */
47
47
  eventRetention?: string;
48
+ /**
49
+ * Reputation cannot decrease lower than this value. Zero or negative.
50
+ * @type {number}
51
+ * @memberof SettingsRequest
52
+ */
53
+ reputationLowerLimit?: number;
54
+ /**
55
+ * Reputation cannot increase higher than this value. Zero or positive.
56
+ * @type {number}
57
+ * @memberof SettingsRequest
58
+ */
59
+ reputationUpperLimit?: number;
48
60
  /**
49
61
  * The option configures the footer links on the flow executor pages.
50
62
  * @type {any}
@@ -30,6 +30,8 @@ export function SettingsRequestFromJSONTyped(json, ignoreDiscriminator) {
30
30
  'defaultUserChangeEmail': json['default_user_change_email'] == null ? undefined : json['default_user_change_email'],
31
31
  'defaultUserChangeUsername': json['default_user_change_username'] == null ? undefined : json['default_user_change_username'],
32
32
  'eventRetention': json['event_retention'] == null ? undefined : json['event_retention'],
33
+ 'reputationLowerLimit': json['reputation_lower_limit'] == null ? undefined : json['reputation_lower_limit'],
34
+ 'reputationUpperLimit': json['reputation_upper_limit'] == null ? undefined : json['reputation_upper_limit'],
33
35
  'footerLinks': json['footer_links'] == null ? undefined : json['footer_links'],
34
36
  'gdprCompliance': json['gdpr_compliance'] == null ? undefined : json['gdpr_compliance'],
35
37
  'impersonation': json['impersonation'] == null ? undefined : json['impersonation'],
@@ -51,6 +53,8 @@ export function SettingsRequestToJSONTyped(value, ignoreDiscriminator = false) {
51
53
  'default_user_change_email': value['defaultUserChangeEmail'],
52
54
  'default_user_change_username': value['defaultUserChangeUsername'],
53
55
  'event_retention': value['eventRetention'],
56
+ 'reputation_lower_limit': value['reputationLowerLimit'],
57
+ 'reputation_upper_limit': value['reputationUpperLimit'],
54
58
  'footer_links': value['footerLinks'],
55
59
  'gdpr_compliance': value['gdprCompliance'],
56
60
  'impersonation': value['impersonation'],