@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
@@ -49,6 +49,18 @@ export interface Settings {
49
49
  * @memberof Settings
50
50
  */
51
51
  eventRetention?: string;
52
+ /**
53
+ * Reputation cannot decrease lower than this value. Zero or negative.
54
+ * @type {number}
55
+ * @memberof Settings
56
+ */
57
+ reputationLowerLimit?: number;
58
+ /**
59
+ * Reputation cannot increase higher than this value. Zero or positive.
60
+ * @type {number}
61
+ * @memberof Settings
62
+ */
63
+ reputationUpperLimit?: number;
52
64
  /**
53
65
  * The option configures the footer links on the flow executor pages.
54
66
  * @type {any}
@@ -109,6 +121,8 @@ export function SettingsFromJSONTyped(json: any, ignoreDiscriminator: boolean):
109
121
  'defaultUserChangeEmail': json['default_user_change_email'] == null ? undefined : json['default_user_change_email'],
110
122
  'defaultUserChangeUsername': json['default_user_change_username'] == null ? undefined : json['default_user_change_username'],
111
123
  'eventRetention': json['event_retention'] == null ? undefined : json['event_retention'],
124
+ 'reputationLowerLimit': json['reputation_lower_limit'] == null ? undefined : json['reputation_lower_limit'],
125
+ 'reputationUpperLimit': json['reputation_upper_limit'] == null ? undefined : json['reputation_upper_limit'],
112
126
  'footerLinks': json['footer_links'] == null ? undefined : json['footer_links'],
113
127
  'gdprCompliance': json['gdpr_compliance'] == null ? undefined : json['gdpr_compliance'],
114
128
  'impersonation': json['impersonation'] == null ? undefined : json['impersonation'],
@@ -134,6 +148,8 @@ export function SettingsToJSONTyped(value?: Settings | null, ignoreDiscriminator
134
148
  'default_user_change_email': value['defaultUserChangeEmail'],
135
149
  'default_user_change_username': value['defaultUserChangeUsername'],
136
150
  'event_retention': value['eventRetention'],
151
+ 'reputation_lower_limit': value['reputationLowerLimit'],
152
+ 'reputation_upper_limit': value['reputationUpperLimit'],
137
153
  'footer_links': value['footerLinks'],
138
154
  'gdpr_compliance': value['gdprCompliance'],
139
155
  'impersonation': value['impersonation'],
@@ -49,6 +49,18 @@ export interface SettingsRequest {
49
49
  * @memberof SettingsRequest
50
50
  */
51
51
  eventRetention?: string;
52
+ /**
53
+ * Reputation cannot decrease lower than this value. Zero or negative.
54
+ * @type {number}
55
+ * @memberof SettingsRequest
56
+ */
57
+ reputationLowerLimit?: number;
58
+ /**
59
+ * Reputation cannot increase higher than this value. Zero or positive.
60
+ * @type {number}
61
+ * @memberof SettingsRequest
62
+ */
63
+ reputationUpperLimit?: number;
52
64
  /**
53
65
  * The option configures the footer links on the flow executor pages.
54
66
  * @type {any}
@@ -109,6 +121,8 @@ export function SettingsRequestFromJSONTyped(json: any, ignoreDiscriminator: boo
109
121
  'defaultUserChangeEmail': json['default_user_change_email'] == null ? undefined : json['default_user_change_email'],
110
122
  'defaultUserChangeUsername': json['default_user_change_username'] == null ? undefined : json['default_user_change_username'],
111
123
  'eventRetention': json['event_retention'] == null ? undefined : json['event_retention'],
124
+ 'reputationLowerLimit': json['reputation_lower_limit'] == null ? undefined : json['reputation_lower_limit'],
125
+ 'reputationUpperLimit': json['reputation_upper_limit'] == null ? undefined : json['reputation_upper_limit'],
112
126
  'footerLinks': json['footer_links'] == null ? undefined : json['footer_links'],
113
127
  'gdprCompliance': json['gdpr_compliance'] == null ? undefined : json['gdpr_compliance'],
114
128
  'impersonation': json['impersonation'] == null ? undefined : json['impersonation'],
@@ -134,6 +148,8 @@ export function SettingsRequestToJSONTyped(value?: SettingsRequest | null, ignor
134
148
  'default_user_change_email': value['defaultUserChangeEmail'],
135
149
  'default_user_change_username': value['defaultUserChangeUsername'],
136
150
  'event_retention': value['eventRetention'],
151
+ 'reputation_lower_limit': value['reputationLowerLimit'],
152
+ 'reputation_upper_limit': value['reputationUpperLimit'],
137
153
  'footer_links': value['footerLinks'],
138
154
  'gdpr_compliance': value['gdprCompliance'],
139
155
  'impersonation': value['impersonation'],
@@ -0,0 +1,124 @@
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
+ import { mapValues } from '../runtime';
16
+ import type { Source } from './Source';
17
+ import {
18
+ SourceFromJSON,
19
+ SourceFromJSONTyped,
20
+ SourceToJSON,
21
+ SourceToJSONTyped,
22
+ } from './Source';
23
+
24
+ /**
25
+ * User source connection
26
+ * @export
27
+ * @interface UserLDAPSourceConnection
28
+ */
29
+ export interface UserLDAPSourceConnection {
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof UserLDAPSourceConnection
34
+ */
35
+ readonly pk: number;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof UserLDAPSourceConnection
40
+ */
41
+ user: number;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof UserLDAPSourceConnection
46
+ */
47
+ source: string;
48
+ /**
49
+ *
50
+ * @type {Source}
51
+ * @memberof UserLDAPSourceConnection
52
+ */
53
+ readonly sourceObj: Source;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof UserLDAPSourceConnection
58
+ */
59
+ identifier: string;
60
+ /**
61
+ *
62
+ * @type {Date}
63
+ * @memberof UserLDAPSourceConnection
64
+ */
65
+ readonly created: Date;
66
+ /**
67
+ *
68
+ * @type {Date}
69
+ * @memberof UserLDAPSourceConnection
70
+ */
71
+ readonly lastUpdated: Date;
72
+ }
73
+
74
+ /**
75
+ * Check if a given object implements the UserLDAPSourceConnection interface.
76
+ */
77
+ export function instanceOfUserLDAPSourceConnection(value: object): value is UserLDAPSourceConnection {
78
+ if (!('pk' in value) || value['pk'] === undefined) return false;
79
+ if (!('user' in value) || value['user'] === undefined) return false;
80
+ if (!('source' in value) || value['source'] === undefined) return false;
81
+ if (!('sourceObj' in value) || value['sourceObj'] === undefined) return false;
82
+ if (!('identifier' in value) || value['identifier'] === undefined) return false;
83
+ if (!('created' in value) || value['created'] === undefined) return false;
84
+ if (!('lastUpdated' in value) || value['lastUpdated'] === undefined) return false;
85
+ return true;
86
+ }
87
+
88
+ export function UserLDAPSourceConnectionFromJSON(json: any): UserLDAPSourceConnection {
89
+ return UserLDAPSourceConnectionFromJSONTyped(json, false);
90
+ }
91
+
92
+ export function UserLDAPSourceConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserLDAPSourceConnection {
93
+ if (json == null) {
94
+ return json;
95
+ }
96
+ return {
97
+
98
+ 'pk': json['pk'],
99
+ 'user': json['user'],
100
+ 'source': json['source'],
101
+ 'sourceObj': SourceFromJSON(json['source_obj']),
102
+ 'identifier': json['identifier'],
103
+ 'created': (new Date(json['created'])),
104
+ 'lastUpdated': (new Date(json['last_updated'])),
105
+ };
106
+ }
107
+
108
+ export function UserLDAPSourceConnectionToJSON(json: any): UserLDAPSourceConnection {
109
+ return UserLDAPSourceConnectionToJSONTyped(json, false);
110
+ }
111
+
112
+ export function UserLDAPSourceConnectionToJSONTyped(value?: Omit<UserLDAPSourceConnection, 'pk'|'source_obj'|'created'|'last_updated'> | null, ignoreDiscriminator: boolean = false): any {
113
+ if (value == null) {
114
+ return value;
115
+ }
116
+
117
+ return {
118
+
119
+ 'user': value['user'],
120
+ 'source': value['source'],
121
+ 'identifier': value['identifier'],
122
+ };
123
+ }
124
+
@@ -0,0 +1,84 @@
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
+ import { mapValues } from '../runtime';
16
+ /**
17
+ * User source connection
18
+ * @export
19
+ * @interface UserLDAPSourceConnectionRequest
20
+ */
21
+ export interface UserLDAPSourceConnectionRequest {
22
+ /**
23
+ *
24
+ * @type {number}
25
+ * @memberof UserLDAPSourceConnectionRequest
26
+ */
27
+ user: number;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof UserLDAPSourceConnectionRequest
32
+ */
33
+ source: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof UserLDAPSourceConnectionRequest
38
+ */
39
+ identifier: string;
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the UserLDAPSourceConnectionRequest interface.
44
+ */
45
+ export function instanceOfUserLDAPSourceConnectionRequest(value: object): value is UserLDAPSourceConnectionRequest {
46
+ if (!('user' in value) || value['user'] === undefined) return false;
47
+ if (!('source' in value) || value['source'] === undefined) return false;
48
+ if (!('identifier' in value) || value['identifier'] === undefined) return false;
49
+ return true;
50
+ }
51
+
52
+ export function UserLDAPSourceConnectionRequestFromJSON(json: any): UserLDAPSourceConnectionRequest {
53
+ return UserLDAPSourceConnectionRequestFromJSONTyped(json, false);
54
+ }
55
+
56
+ export function UserLDAPSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserLDAPSourceConnectionRequest {
57
+ if (json == null) {
58
+ return json;
59
+ }
60
+ return {
61
+
62
+ 'user': json['user'],
63
+ 'source': json['source'],
64
+ 'identifier': json['identifier'],
65
+ };
66
+ }
67
+
68
+ export function UserLDAPSourceConnectionRequestToJSON(json: any): UserLDAPSourceConnectionRequest {
69
+ return UserLDAPSourceConnectionRequestToJSONTyped(json, false);
70
+ }
71
+
72
+ export function UserLDAPSourceConnectionRequestToJSONTyped(value?: UserLDAPSourceConnectionRequest | null, ignoreDiscriminator: boolean = false): any {
73
+ if (value == null) {
74
+ return value;
75
+ }
76
+
77
+ return {
78
+
79
+ 'user': value['user'],
80
+ 'source': value['source'],
81
+ 'identifier': value['identifier'],
82
+ };
83
+ }
84
+
@@ -176,6 +176,8 @@ export * from './GoogleWorkspaceProviderUserRequest';
176
176
  export * from './Group';
177
177
  export * from './GroupKerberosSourceConnection';
178
178
  export * from './GroupKerberosSourceConnectionRequest';
179
+ export * from './GroupLDAPSourceConnection';
180
+ export * from './GroupLDAPSourceConnectionRequest';
179
181
  export * from './GroupMatchingModeEnum';
180
182
  export * from './GroupMember';
181
183
  export * from './GroupMemberRequest';
@@ -315,6 +317,7 @@ export * from './PaginatedGoogleWorkspaceProviderList';
315
317
  export * from './PaginatedGoogleWorkspaceProviderMappingList';
316
318
  export * from './PaginatedGoogleWorkspaceProviderUserList';
317
319
  export * from './PaginatedGroupKerberosSourceConnectionList';
320
+ export * from './PaginatedGroupLDAPSourceConnectionList';
318
321
  export * from './PaginatedGroupList';
319
322
  export * from './PaginatedGroupOAuthSourceConnectionList';
320
323
  export * from './PaginatedGroupPlexSourceConnectionList';
@@ -397,6 +400,7 @@ export * from './PaginatedUserAssignedObjectPermissionList';
397
400
  export * from './PaginatedUserConsentList';
398
401
  export * from './PaginatedUserDeleteStageList';
399
402
  export * from './PaginatedUserKerberosSourceConnectionList';
403
+ export * from './PaginatedUserLDAPSourceConnectionList';
400
404
  export * from './PaginatedUserList';
401
405
  export * from './PaginatedUserLoginStageList';
402
406
  export * from './PaginatedUserLogoutStageList';
@@ -453,6 +457,7 @@ export * from './PatchedGeoIPPolicyRequest';
453
457
  export * from './PatchedGoogleWorkspaceProviderMappingRequest';
454
458
  export * from './PatchedGoogleWorkspaceProviderRequest';
455
459
  export * from './PatchedGroupKerberosSourceConnectionRequest';
460
+ export * from './PatchedGroupLDAPSourceConnectionRequest';
456
461
  export * from './PatchedGroupOAuthSourceConnectionRequest';
457
462
  export * from './PatchedGroupPlexSourceConnectionRequest';
458
463
  export * from './PatchedGroupRequest';
@@ -516,6 +521,7 @@ export * from './PatchedTenantRequest';
516
521
  export * from './PatchedTokenRequest';
517
522
  export * from './PatchedUserDeleteStageRequest';
518
523
  export * from './PatchedUserKerberosSourceConnectionRequest';
524
+ export * from './PatchedUserLDAPSourceConnectionRequest';
519
525
  export * from './PatchedUserLoginStageRequest';
520
526
  export * from './PatchedUserLogoutStageRequest';
521
527
  export * from './PatchedUserOAuthSourceConnectionRequest';
@@ -684,6 +690,8 @@ export * from './UserGroup';
684
690
  export * from './UserGroupRequest';
685
691
  export * from './UserKerberosSourceConnection';
686
692
  export * from './UserKerberosSourceConnectionRequest';
693
+ export * from './UserLDAPSourceConnection';
694
+ export * from './UserLDAPSourceConnectionRequest';
687
695
  export * from './UserLoginChallenge';
688
696
  export * from './UserLoginChallengeResponseRequest';
689
697
  export * from './UserLoginStage';