@goauthentik/api 2025.10.0-rc1-1758298561 → 2025.10.0-rc1-1758664464

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 (176) hide show
  1. package/.openapi-generator/FILES +2 -1
  2. package/dist/esm/models/AppEnum.d.ts +2 -0
  3. package/dist/esm/models/AppEnum.d.ts.map +1 -1
  4. package/dist/esm/models/AppEnum.js +2 -0
  5. package/dist/esm/models/AppEnum.js.map +1 -1
  6. package/dist/esm/models/AuthenticatedSessionAsn.d.ts +1 -1
  7. package/dist/esm/models/AuthenticatedSessionAsn.d.ts.map +1 -1
  8. package/dist/esm/models/AuthenticatedSessionGeoIp.d.ts +4 -4
  9. package/dist/esm/models/AuthenticatedSessionGeoIp.d.ts.map +1 -1
  10. package/dist/esm/models/Endpoint.d.ts +3 -3
  11. package/dist/esm/models/Endpoint.d.ts.map +1 -1
  12. package/dist/esm/models/Endpoint.js +3 -3
  13. package/dist/esm/models/Endpoint.js.map +1 -1
  14. package/dist/esm/models/EndpointAuthModeEnum.d.ts +27 -0
  15. package/dist/esm/models/EndpointAuthModeEnum.d.ts.map +1 -0
  16. package/dist/esm/models/EndpointAuthModeEnum.js +53 -0
  17. package/dist/esm/models/EndpointAuthModeEnum.js.map +1 -0
  18. package/dist/esm/models/EndpointRequest.d.ts +3 -3
  19. package/dist/esm/models/EndpointRequest.d.ts.map +1 -1
  20. package/dist/esm/models/EndpointRequest.js +3 -3
  21. package/dist/esm/models/EndpointRequest.js.map +1 -1
  22. package/dist/esm/models/PatchedEndpointRequest.d.ts +3 -3
  23. package/dist/esm/models/PatchedEndpointRequest.d.ts.map +1 -1
  24. package/dist/esm/models/PatchedEndpointRequest.js +3 -3
  25. package/dist/esm/models/PatchedEndpointRequest.js.map +1 -1
  26. package/dist/esm/models/PatchedRadiusProviderRequest.d.ts +6 -0
  27. package/dist/esm/models/PatchedRadiusProviderRequest.d.ts.map +1 -1
  28. package/dist/esm/models/PatchedRadiusProviderRequest.js +2 -0
  29. package/dist/esm/models/PatchedRadiusProviderRequest.js.map +1 -1
  30. package/dist/esm/models/PatchedSCIMProviderRequest.d.ts +21 -0
  31. package/dist/esm/models/PatchedSCIMProviderRequest.d.ts.map +1 -1
  32. package/dist/esm/models/PatchedSCIMProviderRequest.js +7 -0
  33. package/dist/esm/models/PatchedSCIMProviderRequest.js.map +1 -1
  34. package/dist/esm/models/PatchedUserOAuthSourceConnectionRequest.d.ts +6 -0
  35. package/dist/esm/models/PatchedUserOAuthSourceConnectionRequest.d.ts.map +1 -1
  36. package/dist/esm/models/PatchedUserOAuthSourceConnectionRequest.js +2 -0
  37. package/dist/esm/models/PatchedUserOAuthSourceConnectionRequest.js.map +1 -1
  38. package/dist/esm/models/RadiusOutpostConfig.d.ts +6 -0
  39. package/dist/esm/models/RadiusOutpostConfig.d.ts.map +1 -1
  40. package/dist/esm/models/RadiusOutpostConfig.js +2 -0
  41. package/dist/esm/models/RadiusOutpostConfig.js.map +1 -1
  42. package/dist/esm/models/RadiusProvider.d.ts +6 -0
  43. package/dist/esm/models/RadiusProvider.d.ts.map +1 -1
  44. package/dist/esm/models/RadiusProvider.js +2 -0
  45. package/dist/esm/models/RadiusProvider.js.map +1 -1
  46. package/dist/esm/models/RadiusProviderRequest.d.ts +6 -0
  47. package/dist/esm/models/RadiusProviderRequest.d.ts.map +1 -1
  48. package/dist/esm/models/RadiusProviderRequest.js +2 -0
  49. package/dist/esm/models/RadiusProviderRequest.js.map +1 -1
  50. package/dist/esm/models/SCIMAuthenticationModeEnum.d.ts +27 -0
  51. package/dist/esm/models/SCIMAuthenticationModeEnum.d.ts.map +1 -0
  52. package/dist/esm/models/SCIMAuthenticationModeEnum.js +53 -0
  53. package/dist/esm/models/SCIMAuthenticationModeEnum.js.map +1 -0
  54. package/dist/esm/models/SCIMProvider.d.ts +22 -1
  55. package/dist/esm/models/SCIMProvider.d.ts.map +1 -1
  56. package/dist/esm/models/SCIMProvider.js +8 -3
  57. package/dist/esm/models/SCIMProvider.js.map +1 -1
  58. package/dist/esm/models/SCIMProviderRequest.d.ts +22 -1
  59. package/dist/esm/models/SCIMProviderRequest.d.ts.map +1 -1
  60. package/dist/esm/models/SCIMProviderRequest.js +8 -3
  61. package/dist/esm/models/SCIMProviderRequest.js.map +1 -1
  62. package/dist/esm/models/UserOAuthSourceConnection.d.ts +6 -0
  63. package/dist/esm/models/UserOAuthSourceConnection.d.ts.map +1 -1
  64. package/dist/esm/models/UserOAuthSourceConnection.js +2 -0
  65. package/dist/esm/models/UserOAuthSourceConnection.js.map +1 -1
  66. package/dist/esm/models/UserOAuthSourceConnectionRequest.d.ts +6 -0
  67. package/dist/esm/models/UserOAuthSourceConnectionRequest.d.ts.map +1 -1
  68. package/dist/esm/models/UserOAuthSourceConnectionRequest.js +2 -0
  69. package/dist/esm/models/UserOAuthSourceConnectionRequest.js.map +1 -1
  70. package/dist/esm/models/index.d.ts +2 -1
  71. package/dist/esm/models/index.d.ts.map +1 -1
  72. package/dist/esm/models/index.js +2 -1
  73. package/dist/esm/models/index.js.map +1 -1
  74. package/dist/models/AppEnum.d.ts +2 -0
  75. package/dist/models/AppEnum.d.ts.map +1 -1
  76. package/dist/models/AppEnum.js +2 -0
  77. package/dist/models/AppEnum.js.map +1 -1
  78. package/dist/models/AuthenticatedSessionAsn.d.ts +1 -1
  79. package/dist/models/AuthenticatedSessionAsn.d.ts.map +1 -1
  80. package/dist/models/AuthenticatedSessionGeoIp.d.ts +4 -4
  81. package/dist/models/AuthenticatedSessionGeoIp.d.ts.map +1 -1
  82. package/dist/models/Endpoint.d.ts +3 -3
  83. package/dist/models/Endpoint.d.ts.map +1 -1
  84. package/dist/models/Endpoint.js +3 -3
  85. package/dist/models/Endpoint.js.map +1 -1
  86. package/dist/models/EndpointAuthModeEnum.d.ts +27 -0
  87. package/dist/models/EndpointAuthModeEnum.d.ts.map +1 -0
  88. package/dist/models/EndpointAuthModeEnum.js +53 -0
  89. package/dist/models/EndpointAuthModeEnum.js.map +1 -0
  90. package/dist/models/EndpointRequest.d.ts +3 -3
  91. package/dist/models/EndpointRequest.d.ts.map +1 -1
  92. package/dist/models/EndpointRequest.js +3 -3
  93. package/dist/models/EndpointRequest.js.map +1 -1
  94. package/dist/models/PatchedEndpointRequest.d.ts +3 -3
  95. package/dist/models/PatchedEndpointRequest.d.ts.map +1 -1
  96. package/dist/models/PatchedEndpointRequest.js +3 -3
  97. package/dist/models/PatchedEndpointRequest.js.map +1 -1
  98. package/dist/models/PatchedRadiusProviderRequest.d.ts +6 -0
  99. package/dist/models/PatchedRadiusProviderRequest.d.ts.map +1 -1
  100. package/dist/models/PatchedRadiusProviderRequest.js +2 -0
  101. package/dist/models/PatchedRadiusProviderRequest.js.map +1 -1
  102. package/dist/models/PatchedSCIMProviderRequest.d.ts +21 -0
  103. package/dist/models/PatchedSCIMProviderRequest.d.ts.map +1 -1
  104. package/dist/models/PatchedSCIMProviderRequest.js +7 -0
  105. package/dist/models/PatchedSCIMProviderRequest.js.map +1 -1
  106. package/dist/models/PatchedUserOAuthSourceConnectionRequest.d.ts +6 -0
  107. package/dist/models/PatchedUserOAuthSourceConnectionRequest.d.ts.map +1 -1
  108. package/dist/models/PatchedUserOAuthSourceConnectionRequest.js +2 -0
  109. package/dist/models/PatchedUserOAuthSourceConnectionRequest.js.map +1 -1
  110. package/dist/models/RadiusOutpostConfig.d.ts +6 -0
  111. package/dist/models/RadiusOutpostConfig.d.ts.map +1 -1
  112. package/dist/models/RadiusOutpostConfig.js +2 -0
  113. package/dist/models/RadiusOutpostConfig.js.map +1 -1
  114. package/dist/models/RadiusProvider.d.ts +6 -0
  115. package/dist/models/RadiusProvider.d.ts.map +1 -1
  116. package/dist/models/RadiusProvider.js +2 -0
  117. package/dist/models/RadiusProvider.js.map +1 -1
  118. package/dist/models/RadiusProviderRequest.d.ts +6 -0
  119. package/dist/models/RadiusProviderRequest.d.ts.map +1 -1
  120. package/dist/models/RadiusProviderRequest.js +2 -0
  121. package/dist/models/RadiusProviderRequest.js.map +1 -1
  122. package/dist/models/SCIMAuthenticationModeEnum.d.ts +27 -0
  123. package/dist/models/SCIMAuthenticationModeEnum.d.ts.map +1 -0
  124. package/dist/models/SCIMAuthenticationModeEnum.js +53 -0
  125. package/dist/models/SCIMAuthenticationModeEnum.js.map +1 -0
  126. package/dist/models/SCIMProvider.d.ts +22 -1
  127. package/dist/models/SCIMProvider.d.ts.map +1 -1
  128. package/dist/models/SCIMProvider.js +8 -3
  129. package/dist/models/SCIMProvider.js.map +1 -1
  130. package/dist/models/SCIMProviderRequest.d.ts +22 -1
  131. package/dist/models/SCIMProviderRequest.d.ts.map +1 -1
  132. package/dist/models/SCIMProviderRequest.js +8 -3
  133. package/dist/models/SCIMProviderRequest.js.map +1 -1
  134. package/dist/models/UserOAuthSourceConnection.d.ts +6 -0
  135. package/dist/models/UserOAuthSourceConnection.d.ts.map +1 -1
  136. package/dist/models/UserOAuthSourceConnection.js +2 -0
  137. package/dist/models/UserOAuthSourceConnection.js.map +1 -1
  138. package/dist/models/UserOAuthSourceConnectionRequest.d.ts +6 -0
  139. package/dist/models/UserOAuthSourceConnectionRequest.d.ts.map +1 -1
  140. package/dist/models/UserOAuthSourceConnectionRequest.js +2 -0
  141. package/dist/models/UserOAuthSourceConnectionRequest.js.map +1 -1
  142. package/dist/models/index.d.ts +2 -1
  143. package/dist/models/index.d.ts.map +1 -1
  144. package/dist/models/index.js +2 -1
  145. package/dist/models/index.js.map +1 -1
  146. package/dist/tsconfig.esm.tsbuildinfo +1 -1
  147. package/package.json +1 -1
  148. package/src/models/AppEnum.ts +2 -0
  149. package/src/models/AuthenticatedSessionAsn.ts +1 -1
  150. package/src/models/AuthenticatedSessionGeoIp.ts +4 -4
  151. package/src/models/Endpoint.ts +10 -10
  152. package/src/models/EndpointAuthModeEnum.ts +54 -0
  153. package/src/models/EndpointRequest.ts +10 -10
  154. package/src/models/PatchedEndpointRequest.ts +10 -10
  155. package/src/models/PatchedRadiusProviderRequest.ts +8 -0
  156. package/src/models/PatchedSCIMProviderRequest.ts +31 -0
  157. package/src/models/PatchedUserOAuthSourceConnectionRequest.ts +8 -0
  158. package/src/models/RadiusOutpostConfig.ts +8 -0
  159. package/src/models/RadiusProvider.ts +8 -0
  160. package/src/models/RadiusProviderRequest.ts +8 -0
  161. package/src/models/SCIMAuthenticationModeEnum.ts +54 -0
  162. package/src/models/SCIMProvider.ts +33 -3
  163. package/src/models/SCIMProviderRequest.ts +33 -3
  164. package/src/models/UserOAuthSourceConnection.ts +8 -0
  165. package/src/models/UserOAuthSourceConnectionRequest.ts +8 -0
  166. package/src/models/index.ts +2 -1
  167. package/tsconfig.tsbuildinfo +1 -1
  168. package/dist/esm/models/AuthModeEnum.d.ts +0 -27
  169. package/dist/esm/models/AuthModeEnum.d.ts.map +0 -1
  170. package/dist/esm/models/AuthModeEnum.js +0 -53
  171. package/dist/esm/models/AuthModeEnum.js.map +0 -1
  172. package/dist/models/AuthModeEnum.d.ts +0 -27
  173. package/dist/models/AuthModeEnum.d.ts.map +0 -1
  174. package/dist/models/AuthModeEnum.js +0 -53
  175. package/dist/models/AuthModeEnum.js.map +0 -1
  176. package/src/models/AuthModeEnum.ts +0 -54
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goauthentik/api",
3
- "version": "2025.10.0-rc1-1758298561",
3
+ "version": "2025.10.0-rc1-1758664464",
4
4
  "description": "OpenAPI client for @goauthentik/api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -80,6 +80,8 @@ export const AppEnum = {
80
80
  AuthentikEnterprisePoliciesUniquePassword: 'authentik.enterprise.policies.unique_password',
81
81
  AuthentikEnterpriseProvidersGoogleWorkspace: 'authentik.enterprise.providers.google_workspace',
82
82
  AuthentikEnterpriseProvidersMicrosoftEntra: 'authentik.enterprise.providers.microsoft_entra',
83
+ AuthentikEnterpriseProvidersRadius: 'authentik.enterprise.providers.radius',
84
+ AuthentikEnterpriseProvidersScim: 'authentik.enterprise.providers.scim',
83
85
  AuthentikEnterpriseProvidersSsf: 'authentik.enterprise.providers.ssf',
84
86
  AuthentikEnterpriseSearch: 'authentik.enterprise.search',
85
87
  AuthentikEnterpriseStagesAuthenticatorEndpointGdtc: 'authentik.enterprise.stages.authenticator_endpoint_gdtc',
@@ -24,7 +24,7 @@ export interface AuthenticatedSessionAsn {
24
24
  * @type {number}
25
25
  * @memberof AuthenticatedSessionAsn
26
26
  */
27
- asn: number;
27
+ asn: number | null;
28
28
  /**
29
29
  *
30
30
  * @type {string}
@@ -24,25 +24,25 @@ export interface AuthenticatedSessionGeoIp {
24
24
  * @type {string}
25
25
  * @memberof AuthenticatedSessionGeoIp
26
26
  */
27
- continent: string;
27
+ continent: string | null;
28
28
  /**
29
29
  *
30
30
  * @type {string}
31
31
  * @memberof AuthenticatedSessionGeoIp
32
32
  */
33
- country: string;
33
+ country: string | null;
34
34
  /**
35
35
  *
36
36
  * @type {number}
37
37
  * @memberof AuthenticatedSessionGeoIp
38
38
  */
39
- lat: number;
39
+ lat: number | null;
40
40
  /**
41
41
  *
42
42
  * @type {number}
43
43
  * @memberof AuthenticatedSessionGeoIp
44
44
  */
45
- _long: number;
45
+ _long: number | null;
46
46
  /**
47
47
  *
48
48
  * @type {string}
@@ -13,13 +13,13 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
- import type { AuthModeEnum } from './AuthModeEnum';
16
+ import type { EndpointAuthModeEnum } from './EndpointAuthModeEnum';
17
17
  import {
18
- AuthModeEnumFromJSON,
19
- AuthModeEnumFromJSONTyped,
20
- AuthModeEnumToJSON,
21
- AuthModeEnumToJSONTyped,
22
- } from './AuthModeEnum';
18
+ EndpointAuthModeEnumFromJSON,
19
+ EndpointAuthModeEnumFromJSONTyped,
20
+ EndpointAuthModeEnumToJSON,
21
+ EndpointAuthModeEnumToJSONTyped,
22
+ } from './EndpointAuthModeEnum';
23
23
  import type { ProtocolEnum } from './ProtocolEnum';
24
24
  import {
25
25
  ProtocolEnumFromJSON,
@@ -91,10 +91,10 @@ export interface Endpoint {
91
91
  propertyMappings?: Array<string>;
92
92
  /**
93
93
  *
94
- * @type {AuthModeEnum}
94
+ * @type {EndpointAuthModeEnum}
95
95
  * @memberof Endpoint
96
96
  */
97
- authMode: AuthModeEnum;
97
+ authMode: EndpointAuthModeEnum;
98
98
  /**
99
99
  * Build actual launch URL (the provider itself does not have one, just
100
100
  * individual endpoints)
@@ -145,7 +145,7 @@ export function EndpointFromJSONTyped(json: any, ignoreDiscriminator: boolean):
145
145
  'host': json['host'],
146
146
  'settings': json['settings'] == null ? undefined : json['settings'],
147
147
  'propertyMappings': json['property_mappings'] == null ? undefined : json['property_mappings'],
148
- 'authMode': AuthModeEnumFromJSON(json['auth_mode']),
148
+ 'authMode': EndpointAuthModeEnumFromJSON(json['auth_mode']),
149
149
  'launchUrl': json['launch_url'],
150
150
  'maximumConnections': json['maximum_connections'] == null ? undefined : json['maximum_connections'],
151
151
  };
@@ -168,7 +168,7 @@ export function EndpointToJSONTyped(value?: Omit<Endpoint, 'pk'|'provider_obj'|'
168
168
  'host': value['host'],
169
169
  'settings': value['settings'],
170
170
  'property_mappings': value['propertyMappings'],
171
- 'auth_mode': AuthModeEnumToJSON(value['authMode']),
171
+ 'auth_mode': EndpointAuthModeEnumToJSON(value['authMode']),
172
172
  'maximum_connections': value['maximumConnections'],
173
173
  };
174
174
  }
@@ -0,0 +1,54 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2025.10.0-rc1
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
+
16
+ /**
17
+ *
18
+ * @export
19
+ */
20
+ export const EndpointAuthModeEnum = {
21
+ Static: 'static',
22
+ Prompt: 'prompt',
23
+ UnknownDefaultOpenApi: '11184809'
24
+ } as const;
25
+ export type EndpointAuthModeEnum = typeof EndpointAuthModeEnum[keyof typeof EndpointAuthModeEnum];
26
+
27
+
28
+ export function instanceOfEndpointAuthModeEnum(value: any): boolean {
29
+ for (const key in EndpointAuthModeEnum) {
30
+ if (Object.prototype.hasOwnProperty.call(EndpointAuthModeEnum, key)) {
31
+ if (EndpointAuthModeEnum[key as keyof typeof EndpointAuthModeEnum] === value) {
32
+ return true;
33
+ }
34
+ }
35
+ }
36
+ return false;
37
+ }
38
+
39
+ export function EndpointAuthModeEnumFromJSON(json: any): EndpointAuthModeEnum {
40
+ return EndpointAuthModeEnumFromJSONTyped(json, false);
41
+ }
42
+
43
+ export function EndpointAuthModeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): EndpointAuthModeEnum {
44
+ return json as EndpointAuthModeEnum;
45
+ }
46
+
47
+ export function EndpointAuthModeEnumToJSON(value?: EndpointAuthModeEnum | null): any {
48
+ return value as any;
49
+ }
50
+
51
+ export function EndpointAuthModeEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): EndpointAuthModeEnum {
52
+ return value as EndpointAuthModeEnum;
53
+ }
54
+
@@ -13,13 +13,13 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
- import type { AuthModeEnum } from './AuthModeEnum';
16
+ import type { EndpointAuthModeEnum } from './EndpointAuthModeEnum';
17
17
  import {
18
- AuthModeEnumFromJSON,
19
- AuthModeEnumFromJSONTyped,
20
- AuthModeEnumToJSON,
21
- AuthModeEnumToJSONTyped,
22
- } from './AuthModeEnum';
18
+ EndpointAuthModeEnumFromJSON,
19
+ EndpointAuthModeEnumFromJSONTyped,
20
+ EndpointAuthModeEnumToJSON,
21
+ EndpointAuthModeEnumToJSONTyped,
22
+ } from './EndpointAuthModeEnum';
23
23
  import type { ProtocolEnum } from './ProtocolEnum';
24
24
  import {
25
25
  ProtocolEnumFromJSON,
@@ -72,10 +72,10 @@ export interface EndpointRequest {
72
72
  propertyMappings?: Array<string>;
73
73
  /**
74
74
  *
75
- * @type {AuthModeEnum}
75
+ * @type {EndpointAuthModeEnum}
76
76
  * @memberof EndpointRequest
77
77
  */
78
- authMode: AuthModeEnum;
78
+ authMode: EndpointAuthModeEnum;
79
79
  /**
80
80
  *
81
81
  * @type {number}
@@ -114,7 +114,7 @@ export function EndpointRequestFromJSONTyped(json: any, ignoreDiscriminator: boo
114
114
  'host': json['host'],
115
115
  'settings': json['settings'] == null ? undefined : json['settings'],
116
116
  'propertyMappings': json['property_mappings'] == null ? undefined : json['property_mappings'],
117
- 'authMode': AuthModeEnumFromJSON(json['auth_mode']),
117
+ 'authMode': EndpointAuthModeEnumFromJSON(json['auth_mode']),
118
118
  'maximumConnections': json['maximum_connections'] == null ? undefined : json['maximum_connections'],
119
119
  };
120
120
  }
@@ -136,7 +136,7 @@ export function EndpointRequestToJSONTyped(value?: EndpointRequest | null, ignor
136
136
  'host': value['host'],
137
137
  'settings': value['settings'],
138
138
  'property_mappings': value['propertyMappings'],
139
- 'auth_mode': AuthModeEnumToJSON(value['authMode']),
139
+ 'auth_mode': EndpointAuthModeEnumToJSON(value['authMode']),
140
140
  'maximum_connections': value['maximumConnections'],
141
141
  };
142
142
  }
@@ -13,13 +13,13 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
- import type { AuthModeEnum } from './AuthModeEnum';
16
+ import type { EndpointAuthModeEnum } from './EndpointAuthModeEnum';
17
17
  import {
18
- AuthModeEnumFromJSON,
19
- AuthModeEnumFromJSONTyped,
20
- AuthModeEnumToJSON,
21
- AuthModeEnumToJSONTyped,
22
- } from './AuthModeEnum';
18
+ EndpointAuthModeEnumFromJSON,
19
+ EndpointAuthModeEnumFromJSONTyped,
20
+ EndpointAuthModeEnumToJSON,
21
+ EndpointAuthModeEnumToJSONTyped,
22
+ } from './EndpointAuthModeEnum';
23
23
  import type { ProtocolEnum } from './ProtocolEnum';
24
24
  import {
25
25
  ProtocolEnumFromJSON,
@@ -72,10 +72,10 @@ export interface PatchedEndpointRequest {
72
72
  propertyMappings?: Array<string>;
73
73
  /**
74
74
  *
75
- * @type {AuthModeEnum}
75
+ * @type {EndpointAuthModeEnum}
76
76
  * @memberof PatchedEndpointRequest
77
77
  */
78
- authMode?: AuthModeEnum;
78
+ authMode?: EndpointAuthModeEnum;
79
79
  /**
80
80
  *
81
81
  * @type {number}
@@ -109,7 +109,7 @@ export function PatchedEndpointRequestFromJSONTyped(json: any, ignoreDiscriminat
109
109
  'host': json['host'] == null ? undefined : json['host'],
110
110
  'settings': json['settings'] == null ? undefined : json['settings'],
111
111
  'propertyMappings': json['property_mappings'] == null ? undefined : json['property_mappings'],
112
- 'authMode': json['auth_mode'] == null ? undefined : AuthModeEnumFromJSON(json['auth_mode']),
112
+ 'authMode': json['auth_mode'] == null ? undefined : EndpointAuthModeEnumFromJSON(json['auth_mode']),
113
113
  'maximumConnections': json['maximum_connections'] == null ? undefined : json['maximum_connections'],
114
114
  };
115
115
  }
@@ -131,7 +131,7 @@ export function PatchedEndpointRequestToJSONTyped(value?: PatchedEndpointRequest
131
131
  'host': value['host'],
132
132
  'settings': value['settings'],
133
133
  'property_mappings': value['propertyMappings'],
134
- 'auth_mode': AuthModeEnumToJSON(value['authMode']),
134
+ 'auth_mode': EndpointAuthModeEnumToJSON(value['authMode']),
135
135
  'maximum_connections': value['maximumConnections'],
136
136
  };
137
137
  }
@@ -67,6 +67,12 @@ export interface PatchedRadiusProviderRequest {
67
67
  * @memberof PatchedRadiusProviderRequest
68
68
  */
69
69
  mfaSupport?: boolean;
70
+ /**
71
+ *
72
+ * @type {string}
73
+ * @memberof PatchedRadiusProviderRequest
74
+ */
75
+ certificate?: string | null;
70
76
  }
71
77
 
72
78
  /**
@@ -94,6 +100,7 @@ export function PatchedRadiusProviderRequestFromJSONTyped(json: any, ignoreDiscr
94
100
  'clientNetworks': json['client_networks'] == null ? undefined : json['client_networks'],
95
101
  'sharedSecret': json['shared_secret'] == null ? undefined : json['shared_secret'],
96
102
  'mfaSupport': json['mfa_support'] == null ? undefined : json['mfa_support'],
103
+ 'certificate': json['certificate'] == null ? undefined : json['certificate'],
97
104
  };
98
105
  }
99
106
 
@@ -116,6 +123,7 @@ export function PatchedRadiusProviderRequestToJSONTyped(value?: PatchedRadiusPro
116
123
  'client_networks': value['clientNetworks'],
117
124
  'shared_secret': value['sharedSecret'],
118
125
  'mfa_support': value['mfaSupport'],
126
+ 'certificate': value['certificate'],
119
127
  };
120
128
  }
121
129
 
@@ -20,6 +20,13 @@ import {
20
20
  CompatibilityModeEnumToJSON,
21
21
  CompatibilityModeEnumToJSONTyped,
22
22
  } from './CompatibilityModeEnum';
23
+ import type { SCIMAuthenticationModeEnum } from './SCIMAuthenticationModeEnum';
24
+ import {
25
+ SCIMAuthenticationModeEnumFromJSON,
26
+ SCIMAuthenticationModeEnumFromJSONTyped,
27
+ SCIMAuthenticationModeEnumToJSON,
28
+ SCIMAuthenticationModeEnumToJSONTyped,
29
+ } from './SCIMAuthenticationModeEnum';
23
30
 
24
31
  /**
25
32
  * SCIMProvider Serializer
@@ -63,6 +70,24 @@ export interface PatchedSCIMProviderRequest {
63
70
  * @memberof PatchedSCIMProviderRequest
64
71
  */
65
72
  token?: string;
73
+ /**
74
+ *
75
+ * @type {SCIMAuthenticationModeEnum}
76
+ * @memberof PatchedSCIMProviderRequest
77
+ */
78
+ authMode?: SCIMAuthenticationModeEnum;
79
+ /**
80
+ * OAuth Source used for authentication
81
+ * @type {string}
82
+ * @memberof PatchedSCIMProviderRequest
83
+ */
84
+ authOauth?: string | null;
85
+ /**
86
+ * Additional OAuth parameters, such as grant_type
87
+ * @type {{ [key: string]: any; }}
88
+ * @memberof PatchedSCIMProviderRequest
89
+ */
90
+ authOauthParams?: { [key: string]: any; };
66
91
  /**
67
92
  * Alter authentik behavior for vendor-specific SCIM implementations.
68
93
  * @type {CompatibilityModeEnum}
@@ -114,6 +139,9 @@ export function PatchedSCIMProviderRequestFromJSONTyped(json: any, ignoreDiscrim
114
139
  'url': json['url'] == null ? undefined : json['url'],
115
140
  'verifyCertificates': json['verify_certificates'] == null ? undefined : json['verify_certificates'],
116
141
  'token': json['token'] == null ? undefined : json['token'],
142
+ 'authMode': json['auth_mode'] == null ? undefined : SCIMAuthenticationModeEnumFromJSON(json['auth_mode']),
143
+ 'authOauth': json['auth_oauth'] == null ? undefined : json['auth_oauth'],
144
+ 'authOauthParams': json['auth_oauth_params'] == null ? undefined : json['auth_oauth_params'],
117
145
  'compatibilityMode': json['compatibility_mode'] == null ? undefined : CompatibilityModeEnumFromJSON(json['compatibility_mode']),
118
146
  'excludeUsersServiceAccount': json['exclude_users_service_account'] == null ? undefined : json['exclude_users_service_account'],
119
147
  'filterGroup': json['filter_group'] == null ? undefined : json['filter_group'],
@@ -138,6 +166,9 @@ export function PatchedSCIMProviderRequestToJSONTyped(value?: PatchedSCIMProvide
138
166
  'url': value['url'],
139
167
  'verify_certificates': value['verifyCertificates'],
140
168
  'token': value['token'],
169
+ 'auth_mode': SCIMAuthenticationModeEnumToJSON(value['authMode']),
170
+ 'auth_oauth': value['authOauth'],
171
+ 'auth_oauth_params': value['authOauthParams'],
141
172
  'compatibility_mode': CompatibilityModeEnumToJSON(value['compatibilityMode']),
142
173
  'exclude_users_service_account': value['excludeUsersServiceAccount'],
143
174
  'filter_group': value['filterGroup'],
@@ -43,6 +43,12 @@ export interface PatchedUserOAuthSourceConnectionRequest {
43
43
  * @memberof PatchedUserOAuthSourceConnectionRequest
44
44
  */
45
45
  accessToken?: string | null;
46
+ /**
47
+ *
48
+ * @type {Date}
49
+ * @memberof PatchedUserOAuthSourceConnectionRequest
50
+ */
51
+ expires?: Date;
46
52
  }
47
53
 
48
54
  /**
@@ -66,6 +72,7 @@ export function PatchedUserOAuthSourceConnectionRequestFromJSONTyped(json: any,
66
72
  'source': json['source'] == null ? undefined : json['source'],
67
73
  'identifier': json['identifier'] == null ? undefined : json['identifier'],
68
74
  'accessToken': json['access_token'] == null ? undefined : json['access_token'],
75
+ 'expires': json['expires'] == null ? undefined : (new Date(json['expires'])),
69
76
  };
70
77
  }
71
78
 
@@ -84,6 +91,7 @@ export function PatchedUserOAuthSourceConnectionRequestToJSONTyped(value?: Patch
84
91
  'source': value['source'],
85
92
  'identifier': value['identifier'],
86
93
  'access_token': value['accessToken'],
94
+ 'expires': value['expires'] == null ? undefined : ((value['expires']).toISOString()),
87
95
  };
88
96
  }
89
97
 
@@ -61,6 +61,12 @@ export interface RadiusOutpostConfig {
61
61
  * @memberof RadiusOutpostConfig
62
62
  */
63
63
  mfaSupport?: boolean;
64
+ /**
65
+ *
66
+ * @type {string}
67
+ * @memberof RadiusOutpostConfig
68
+ */
69
+ certificate?: string | null;
64
70
  }
65
71
 
66
72
  /**
@@ -91,6 +97,7 @@ export function RadiusOutpostConfigFromJSONTyped(json: any, ignoreDiscriminator:
91
97
  'clientNetworks': json['client_networks'] == null ? undefined : json['client_networks'],
92
98
  'sharedSecret': json['shared_secret'] == null ? undefined : json['shared_secret'],
93
99
  'mfaSupport': json['mfa_support'] == null ? undefined : json['mfa_support'],
100
+ 'certificate': json['certificate'] == null ? undefined : json['certificate'],
94
101
  };
95
102
  }
96
103
 
@@ -111,6 +118,7 @@ export function RadiusOutpostConfigToJSONTyped(value?: Omit<RadiusOutpostConfig,
111
118
  'client_networks': value['clientNetworks'],
112
119
  'shared_secret': value['sharedSecret'],
113
120
  'mfa_support': value['mfaSupport'],
121
+ 'certificate': value['certificate'],
114
122
  };
115
123
  }
116
124
 
@@ -127,6 +127,12 @@ export interface RadiusProvider {
127
127
  * @memberof RadiusProvider
128
128
  */
129
129
  mfaSupport?: boolean;
130
+ /**
131
+ *
132
+ * @type {string}
133
+ * @memberof RadiusProvider
134
+ */
135
+ certificate?: string | null;
130
136
  }
131
137
 
132
138
  /**
@@ -177,6 +183,7 @@ export function RadiusProviderFromJSONTyped(json: any, ignoreDiscriminator: bool
177
183
  'sharedSecret': json['shared_secret'] == null ? undefined : json['shared_secret'],
178
184
  'outpostSet': json['outpost_set'],
179
185
  'mfaSupport': json['mfa_support'] == null ? undefined : json['mfa_support'],
186
+ 'certificate': json['certificate'] == null ? undefined : json['certificate'],
180
187
  };
181
188
  }
182
189
 
@@ -199,6 +206,7 @@ export function RadiusProviderToJSONTyped(value?: Omit<RadiusProvider, 'pk'|'com
199
206
  'client_networks': value['clientNetworks'],
200
207
  'shared_secret': value['sharedSecret'],
201
208
  'mfa_support': value['mfaSupport'],
209
+ 'certificate': value['certificate'],
202
210
  };
203
211
  }
204
212
 
@@ -67,6 +67,12 @@ export interface RadiusProviderRequest {
67
67
  * @memberof RadiusProviderRequest
68
68
  */
69
69
  mfaSupport?: boolean;
70
+ /**
71
+ *
72
+ * @type {string}
73
+ * @memberof RadiusProviderRequest
74
+ */
75
+ certificate?: string | null;
70
76
  }
71
77
 
72
78
  /**
@@ -97,6 +103,7 @@ export function RadiusProviderRequestFromJSONTyped(json: any, ignoreDiscriminato
97
103
  'clientNetworks': json['client_networks'] == null ? undefined : json['client_networks'],
98
104
  'sharedSecret': json['shared_secret'] == null ? undefined : json['shared_secret'],
99
105
  'mfaSupport': json['mfa_support'] == null ? undefined : json['mfa_support'],
106
+ 'certificate': json['certificate'] == null ? undefined : json['certificate'],
100
107
  };
101
108
  }
102
109
 
@@ -119,6 +126,7 @@ export function RadiusProviderRequestToJSONTyped(value?: RadiusProviderRequest |
119
126
  'client_networks': value['clientNetworks'],
120
127
  'shared_secret': value['sharedSecret'],
121
128
  'mfa_support': value['mfaSupport'],
129
+ 'certificate': value['certificate'],
122
130
  };
123
131
  }
124
132
 
@@ -0,0 +1,54 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2025.10.0-rc1
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
+
16
+ /**
17
+ *
18
+ * @export
19
+ */
20
+ export const SCIMAuthenticationModeEnum = {
21
+ Token: 'token',
22
+ Oauth: 'oauth',
23
+ UnknownDefaultOpenApi: '11184809'
24
+ } as const;
25
+ export type SCIMAuthenticationModeEnum = typeof SCIMAuthenticationModeEnum[keyof typeof SCIMAuthenticationModeEnum];
26
+
27
+
28
+ export function instanceOfSCIMAuthenticationModeEnum(value: any): boolean {
29
+ for (const key in SCIMAuthenticationModeEnum) {
30
+ if (Object.prototype.hasOwnProperty.call(SCIMAuthenticationModeEnum, key)) {
31
+ if (SCIMAuthenticationModeEnum[key as keyof typeof SCIMAuthenticationModeEnum] === value) {
32
+ return true;
33
+ }
34
+ }
35
+ }
36
+ return false;
37
+ }
38
+
39
+ export function SCIMAuthenticationModeEnumFromJSON(json: any): SCIMAuthenticationModeEnum {
40
+ return SCIMAuthenticationModeEnumFromJSONTyped(json, false);
41
+ }
42
+
43
+ export function SCIMAuthenticationModeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): SCIMAuthenticationModeEnum {
44
+ return json as SCIMAuthenticationModeEnum;
45
+ }
46
+
47
+ export function SCIMAuthenticationModeEnumToJSON(value?: SCIMAuthenticationModeEnum | null): any {
48
+ return value as any;
49
+ }
50
+
51
+ export function SCIMAuthenticationModeEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): SCIMAuthenticationModeEnum {
52
+ return value as SCIMAuthenticationModeEnum;
53
+ }
54
+
@@ -20,6 +20,13 @@ import {
20
20
  CompatibilityModeEnumToJSON,
21
21
  CompatibilityModeEnumToJSONTyped,
22
22
  } from './CompatibilityModeEnum';
23
+ import type { SCIMAuthenticationModeEnum } from './SCIMAuthenticationModeEnum';
24
+ import {
25
+ SCIMAuthenticationModeEnumFromJSON,
26
+ SCIMAuthenticationModeEnumFromJSONTyped,
27
+ SCIMAuthenticationModeEnumToJSON,
28
+ SCIMAuthenticationModeEnumToJSONTyped,
29
+ } from './SCIMAuthenticationModeEnum';
23
30
 
24
31
  /**
25
32
  * SCIMProvider Serializer
@@ -104,7 +111,25 @@ export interface SCIMProvider {
104
111
  * @type {string}
105
112
  * @memberof SCIMProvider
106
113
  */
107
- token: string;
114
+ token?: string;
115
+ /**
116
+ *
117
+ * @type {SCIMAuthenticationModeEnum}
118
+ * @memberof SCIMProvider
119
+ */
120
+ authMode?: SCIMAuthenticationModeEnum;
121
+ /**
122
+ * OAuth Source used for authentication
123
+ * @type {string}
124
+ * @memberof SCIMProvider
125
+ */
126
+ authOauth?: string | null;
127
+ /**
128
+ * Additional OAuth parameters, such as grant_type
129
+ * @type {{ [key: string]: any; }}
130
+ * @memberof SCIMProvider
131
+ */
132
+ authOauthParams?: { [key: string]: any; };
108
133
  /**
109
134
  * Alter authentik behavior for vendor-specific SCIM implementations.
110
135
  * @type {CompatibilityModeEnum}
@@ -146,7 +171,6 @@ export function instanceOfSCIMProvider(value: object): value is SCIMProvider {
146
171
  if (!('verboseNamePlural' in value) || value['verboseNamePlural'] === undefined) return false;
147
172
  if (!('metaModelName' in value) || value['metaModelName'] === undefined) return false;
148
173
  if (!('url' in value) || value['url'] === undefined) return false;
149
- if (!('token' in value) || value['token'] === undefined) return false;
150
174
  return true;
151
175
  }
152
176
 
@@ -172,7 +196,10 @@ export function SCIMProviderFromJSONTyped(json: any, ignoreDiscriminator: boolea
172
196
  'metaModelName': json['meta_model_name'],
173
197
  'url': json['url'],
174
198
  'verifyCertificates': json['verify_certificates'] == null ? undefined : json['verify_certificates'],
175
- 'token': json['token'],
199
+ 'token': json['token'] == null ? undefined : json['token'],
200
+ 'authMode': json['auth_mode'] == null ? undefined : SCIMAuthenticationModeEnumFromJSON(json['auth_mode']),
201
+ 'authOauth': json['auth_oauth'] == null ? undefined : json['auth_oauth'],
202
+ 'authOauthParams': json['auth_oauth_params'] == null ? undefined : json['auth_oauth_params'],
176
203
  'compatibilityMode': json['compatibility_mode'] == null ? undefined : CompatibilityModeEnumFromJSON(json['compatibility_mode']),
177
204
  'excludeUsersServiceAccount': json['exclude_users_service_account'] == null ? undefined : json['exclude_users_service_account'],
178
205
  'filterGroup': json['filter_group'] == null ? undefined : json['filter_group'],
@@ -197,6 +224,9 @@ export function SCIMProviderToJSONTyped(value?: Omit<SCIMProvider, 'pk'|'compone
197
224
  'url': value['url'],
198
225
  'verify_certificates': value['verifyCertificates'],
199
226
  'token': value['token'],
227
+ 'auth_mode': SCIMAuthenticationModeEnumToJSON(value['authMode']),
228
+ 'auth_oauth': value['authOauth'],
229
+ 'auth_oauth_params': value['authOauthParams'],
200
230
  'compatibility_mode': CompatibilityModeEnumToJSON(value['compatibilityMode']),
201
231
  'exclude_users_service_account': value['excludeUsersServiceAccount'],
202
232
  'filter_group': value['filterGroup'],
@@ -20,6 +20,13 @@ import {
20
20
  CompatibilityModeEnumToJSON,
21
21
  CompatibilityModeEnumToJSONTyped,
22
22
  } from './CompatibilityModeEnum';
23
+ import type { SCIMAuthenticationModeEnum } from './SCIMAuthenticationModeEnum';
24
+ import {
25
+ SCIMAuthenticationModeEnumFromJSON,
26
+ SCIMAuthenticationModeEnumFromJSONTyped,
27
+ SCIMAuthenticationModeEnumToJSON,
28
+ SCIMAuthenticationModeEnumToJSONTyped,
29
+ } from './SCIMAuthenticationModeEnum';
23
30
 
24
31
  /**
25
32
  * SCIMProvider Serializer
@@ -62,7 +69,25 @@ export interface SCIMProviderRequest {
62
69
  * @type {string}
63
70
  * @memberof SCIMProviderRequest
64
71
  */
65
- token: string;
72
+ token?: string;
73
+ /**
74
+ *
75
+ * @type {SCIMAuthenticationModeEnum}
76
+ * @memberof SCIMProviderRequest
77
+ */
78
+ authMode?: SCIMAuthenticationModeEnum;
79
+ /**
80
+ * OAuth Source used for authentication
81
+ * @type {string}
82
+ * @memberof SCIMProviderRequest
83
+ */
84
+ authOauth?: string | null;
85
+ /**
86
+ * Additional OAuth parameters, such as grant_type
87
+ * @type {{ [key: string]: any; }}
88
+ * @memberof SCIMProviderRequest
89
+ */
90
+ authOauthParams?: { [key: string]: any; };
66
91
  /**
67
92
  * Alter authentik behavior for vendor-specific SCIM implementations.
68
93
  * @type {CompatibilityModeEnum}
@@ -97,7 +122,6 @@ export interface SCIMProviderRequest {
97
122
  export function instanceOfSCIMProviderRequest(value: object): value is SCIMProviderRequest {
98
123
  if (!('name' in value) || value['name'] === undefined) return false;
99
124
  if (!('url' in value) || value['url'] === undefined) return false;
100
- if (!('token' in value) || value['token'] === undefined) return false;
101
125
  return true;
102
126
  }
103
127
 
@@ -116,7 +140,10 @@ export function SCIMProviderRequestFromJSONTyped(json: any, ignoreDiscriminator:
116
140
  'propertyMappingsGroup': json['property_mappings_group'] == null ? undefined : json['property_mappings_group'],
117
141
  'url': json['url'],
118
142
  'verifyCertificates': json['verify_certificates'] == null ? undefined : json['verify_certificates'],
119
- 'token': json['token'],
143
+ 'token': json['token'] == null ? undefined : json['token'],
144
+ 'authMode': json['auth_mode'] == null ? undefined : SCIMAuthenticationModeEnumFromJSON(json['auth_mode']),
145
+ 'authOauth': json['auth_oauth'] == null ? undefined : json['auth_oauth'],
146
+ 'authOauthParams': json['auth_oauth_params'] == null ? undefined : json['auth_oauth_params'],
120
147
  'compatibilityMode': json['compatibility_mode'] == null ? undefined : CompatibilityModeEnumFromJSON(json['compatibility_mode']),
121
148
  'excludeUsersServiceAccount': json['exclude_users_service_account'] == null ? undefined : json['exclude_users_service_account'],
122
149
  'filterGroup': json['filter_group'] == null ? undefined : json['filter_group'],
@@ -141,6 +168,9 @@ export function SCIMProviderRequestToJSONTyped(value?: SCIMProviderRequest | nul
141
168
  'url': value['url'],
142
169
  'verify_certificates': value['verifyCertificates'],
143
170
  'token': value['token'],
171
+ 'auth_mode': SCIMAuthenticationModeEnumToJSON(value['authMode']),
172
+ 'auth_oauth': value['authOauth'],
173
+ 'auth_oauth_params': value['authOauthParams'],
144
174
  'compatibility_mode': CompatibilityModeEnumToJSON(value['compatibilityMode']),
145
175
  'exclude_users_service_account': value['excludeUsersServiceAccount'],
146
176
  'filter_group': value['filterGroup'],