@goauthentik/api 2025.10.0-rc1-1758282683 → 2025.10.0-rc1-1758642738

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 (148) hide show
  1. package/.openapi-generator/FILES +2 -1
  2. package/dist/apis/RbacApi.d.ts +0 -2
  3. package/dist/apis/RbacApi.d.ts.map +1 -1
  4. package/dist/apis/RbacApi.js +0 -2
  5. package/dist/apis/RbacApi.js.map +1 -1
  6. package/dist/esm/apis/RbacApi.d.ts +0 -2
  7. package/dist/esm/apis/RbacApi.d.ts.map +1 -1
  8. package/dist/esm/apis/RbacApi.js +0 -2
  9. package/dist/esm/apis/RbacApi.js.map +1 -1
  10. package/dist/esm/models/AppEnum.d.ts +1 -0
  11. package/dist/esm/models/AppEnum.d.ts.map +1 -1
  12. package/dist/esm/models/AppEnum.js +1 -0
  13. package/dist/esm/models/AppEnum.js.map +1 -1
  14. package/dist/esm/models/Endpoint.d.ts +3 -3
  15. package/dist/esm/models/Endpoint.d.ts.map +1 -1
  16. package/dist/esm/models/Endpoint.js +3 -3
  17. package/dist/esm/models/Endpoint.js.map +1 -1
  18. package/dist/esm/models/EndpointAuthModeEnum.d.ts +27 -0
  19. package/dist/esm/models/EndpointAuthModeEnum.d.ts.map +1 -0
  20. package/dist/esm/models/EndpointAuthModeEnum.js +53 -0
  21. package/dist/esm/models/EndpointAuthModeEnum.js.map +1 -0
  22. package/dist/esm/models/EndpointRequest.d.ts +3 -3
  23. package/dist/esm/models/EndpointRequest.d.ts.map +1 -1
  24. package/dist/esm/models/EndpointRequest.js +3 -3
  25. package/dist/esm/models/EndpointRequest.js.map +1 -1
  26. package/dist/esm/models/ModelEnum.d.ts +0 -1
  27. package/dist/esm/models/ModelEnum.d.ts.map +1 -1
  28. package/dist/esm/models/ModelEnum.js +0 -1
  29. package/dist/esm/models/ModelEnum.js.map +1 -1
  30. package/dist/esm/models/PatchedEndpointRequest.d.ts +3 -3
  31. package/dist/esm/models/PatchedEndpointRequest.d.ts.map +1 -1
  32. package/dist/esm/models/PatchedEndpointRequest.js +3 -3
  33. package/dist/esm/models/PatchedEndpointRequest.js.map +1 -1
  34. package/dist/esm/models/PatchedSCIMProviderRequest.d.ts +21 -0
  35. package/dist/esm/models/PatchedSCIMProviderRequest.d.ts.map +1 -1
  36. package/dist/esm/models/PatchedSCIMProviderRequest.js +7 -0
  37. package/dist/esm/models/PatchedSCIMProviderRequest.js.map +1 -1
  38. package/dist/esm/models/PatchedUserOAuthSourceConnectionRequest.d.ts +6 -0
  39. package/dist/esm/models/PatchedUserOAuthSourceConnectionRequest.d.ts.map +1 -1
  40. package/dist/esm/models/PatchedUserOAuthSourceConnectionRequest.js +2 -0
  41. package/dist/esm/models/PatchedUserOAuthSourceConnectionRequest.js.map +1 -1
  42. package/dist/esm/models/SCIMAuthenticationModeEnum.d.ts +27 -0
  43. package/dist/esm/models/SCIMAuthenticationModeEnum.d.ts.map +1 -0
  44. package/dist/esm/models/SCIMAuthenticationModeEnum.js +53 -0
  45. package/dist/esm/models/SCIMAuthenticationModeEnum.js.map +1 -0
  46. package/dist/esm/models/SCIMProvider.d.ts +22 -1
  47. package/dist/esm/models/SCIMProvider.d.ts.map +1 -1
  48. package/dist/esm/models/SCIMProvider.js +8 -3
  49. package/dist/esm/models/SCIMProvider.js.map +1 -1
  50. package/dist/esm/models/SCIMProviderRequest.d.ts +22 -1
  51. package/dist/esm/models/SCIMProviderRequest.d.ts.map +1 -1
  52. package/dist/esm/models/SCIMProviderRequest.js +8 -3
  53. package/dist/esm/models/SCIMProviderRequest.js.map +1 -1
  54. package/dist/esm/models/UserOAuthSourceConnection.d.ts +6 -0
  55. package/dist/esm/models/UserOAuthSourceConnection.d.ts.map +1 -1
  56. package/dist/esm/models/UserOAuthSourceConnection.js +2 -0
  57. package/dist/esm/models/UserOAuthSourceConnection.js.map +1 -1
  58. package/dist/esm/models/UserOAuthSourceConnectionRequest.d.ts +6 -0
  59. package/dist/esm/models/UserOAuthSourceConnectionRequest.d.ts.map +1 -1
  60. package/dist/esm/models/UserOAuthSourceConnectionRequest.js +2 -0
  61. package/dist/esm/models/UserOAuthSourceConnectionRequest.js.map +1 -1
  62. package/dist/esm/models/index.d.ts +2 -1
  63. package/dist/esm/models/index.d.ts.map +1 -1
  64. package/dist/esm/models/index.js +2 -1
  65. package/dist/esm/models/index.js.map +1 -1
  66. package/dist/models/AppEnum.d.ts +1 -0
  67. package/dist/models/AppEnum.d.ts.map +1 -1
  68. package/dist/models/AppEnum.js +1 -0
  69. package/dist/models/AppEnum.js.map +1 -1
  70. package/dist/models/Endpoint.d.ts +3 -3
  71. package/dist/models/Endpoint.d.ts.map +1 -1
  72. package/dist/models/Endpoint.js +3 -3
  73. package/dist/models/Endpoint.js.map +1 -1
  74. package/dist/models/EndpointAuthModeEnum.d.ts +27 -0
  75. package/dist/models/EndpointAuthModeEnum.d.ts.map +1 -0
  76. package/dist/models/EndpointAuthModeEnum.js +53 -0
  77. package/dist/models/EndpointAuthModeEnum.js.map +1 -0
  78. package/dist/models/EndpointRequest.d.ts +3 -3
  79. package/dist/models/EndpointRequest.d.ts.map +1 -1
  80. package/dist/models/EndpointRequest.js +3 -3
  81. package/dist/models/EndpointRequest.js.map +1 -1
  82. package/dist/models/ModelEnum.d.ts +0 -1
  83. package/dist/models/ModelEnum.d.ts.map +1 -1
  84. package/dist/models/ModelEnum.js +0 -1
  85. package/dist/models/ModelEnum.js.map +1 -1
  86. package/dist/models/PatchedEndpointRequest.d.ts +3 -3
  87. package/dist/models/PatchedEndpointRequest.d.ts.map +1 -1
  88. package/dist/models/PatchedEndpointRequest.js +3 -3
  89. package/dist/models/PatchedEndpointRequest.js.map +1 -1
  90. package/dist/models/PatchedSCIMProviderRequest.d.ts +21 -0
  91. package/dist/models/PatchedSCIMProviderRequest.d.ts.map +1 -1
  92. package/dist/models/PatchedSCIMProviderRequest.js +7 -0
  93. package/dist/models/PatchedSCIMProviderRequest.js.map +1 -1
  94. package/dist/models/PatchedUserOAuthSourceConnectionRequest.d.ts +6 -0
  95. package/dist/models/PatchedUserOAuthSourceConnectionRequest.d.ts.map +1 -1
  96. package/dist/models/PatchedUserOAuthSourceConnectionRequest.js +2 -0
  97. package/dist/models/PatchedUserOAuthSourceConnectionRequest.js.map +1 -1
  98. package/dist/models/SCIMAuthenticationModeEnum.d.ts +27 -0
  99. package/dist/models/SCIMAuthenticationModeEnum.d.ts.map +1 -0
  100. package/dist/models/SCIMAuthenticationModeEnum.js +53 -0
  101. package/dist/models/SCIMAuthenticationModeEnum.js.map +1 -0
  102. package/dist/models/SCIMProvider.d.ts +22 -1
  103. package/dist/models/SCIMProvider.d.ts.map +1 -1
  104. package/dist/models/SCIMProvider.js +8 -3
  105. package/dist/models/SCIMProvider.js.map +1 -1
  106. package/dist/models/SCIMProviderRequest.d.ts +22 -1
  107. package/dist/models/SCIMProviderRequest.d.ts.map +1 -1
  108. package/dist/models/SCIMProviderRequest.js +8 -3
  109. package/dist/models/SCIMProviderRequest.js.map +1 -1
  110. package/dist/models/UserOAuthSourceConnection.d.ts +6 -0
  111. package/dist/models/UserOAuthSourceConnection.d.ts.map +1 -1
  112. package/dist/models/UserOAuthSourceConnection.js +2 -0
  113. package/dist/models/UserOAuthSourceConnection.js.map +1 -1
  114. package/dist/models/UserOAuthSourceConnectionRequest.d.ts +6 -0
  115. package/dist/models/UserOAuthSourceConnectionRequest.d.ts.map +1 -1
  116. package/dist/models/UserOAuthSourceConnectionRequest.js +2 -0
  117. package/dist/models/UserOAuthSourceConnectionRequest.js.map +1 -1
  118. package/dist/models/index.d.ts +2 -1
  119. package/dist/models/index.d.ts.map +1 -1
  120. package/dist/models/index.js +2 -1
  121. package/dist/models/index.js.map +1 -1
  122. package/dist/tsconfig.esm.tsbuildinfo +1 -1
  123. package/package.json +1 -1
  124. package/src/apis/RbacApi.ts +0 -2
  125. package/src/models/AppEnum.ts +1 -0
  126. package/src/models/Endpoint.ts +10 -10
  127. package/src/models/EndpointAuthModeEnum.ts +54 -0
  128. package/src/models/EndpointRequest.ts +10 -10
  129. package/src/models/ModelEnum.ts +0 -1
  130. package/src/models/PatchedEndpointRequest.ts +10 -10
  131. package/src/models/PatchedSCIMProviderRequest.ts +31 -0
  132. package/src/models/PatchedUserOAuthSourceConnectionRequest.ts +8 -0
  133. package/src/models/SCIMAuthenticationModeEnum.ts +54 -0
  134. package/src/models/SCIMProvider.ts +33 -3
  135. package/src/models/SCIMProviderRequest.ts +33 -3
  136. package/src/models/UserOAuthSourceConnection.ts +8 -0
  137. package/src/models/UserOAuthSourceConnectionRequest.ts +8 -0
  138. package/src/models/index.ts +2 -1
  139. package/tsconfig.tsbuildinfo +1 -1
  140. package/dist/esm/models/AuthModeEnum.d.ts +0 -27
  141. package/dist/esm/models/AuthModeEnum.d.ts.map +0 -1
  142. package/dist/esm/models/AuthModeEnum.js +0 -53
  143. package/dist/esm/models/AuthModeEnum.js.map +0 -1
  144. package/dist/models/AuthModeEnum.d.ts +0 -27
  145. package/dist/models/AuthModeEnum.d.ts.map +0 -1
  146. package/dist/models/AuthModeEnum.js +0 -53
  147. package/dist/models/AuthModeEnum.js.map +0 -1
  148. 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-1758282683",
3
+ "version": "2025.10.0-rc1-1758642738",
4
4
  "description": "OpenAPI client for @goauthentik/api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -2006,7 +2006,6 @@ export const RbacPermissionsAssignedByRolesListModelEnum = {
2006
2006
  AuthentikStagesAuthenticatorWebauthnWebauthndevice: 'authentik_stages_authenticator_webauthn.webauthndevice',
2007
2007
  AuthentikStagesCaptchaCaptchastage: 'authentik_stages_captcha.captchastage',
2008
2008
  AuthentikStagesConsentConsentstage: 'authentik_stages_consent.consentstage',
2009
- AuthentikStagesConsentUserconsent: 'authentik_stages_consent.userconsent',
2010
2009
  AuthentikStagesDenyDenystage: 'authentik_stages_deny.denystage',
2011
2010
  AuthentikStagesDummyDummystage: 'authentik_stages_dummy.dummystage',
2012
2011
  AuthentikStagesEmailEmailstage: 'authentik_stages_email.emailstage',
@@ -2118,7 +2117,6 @@ export const RbacPermissionsAssignedByUsersListModelEnum = {
2118
2117
  AuthentikStagesAuthenticatorWebauthnWebauthndevice: 'authentik_stages_authenticator_webauthn.webauthndevice',
2119
2118
  AuthentikStagesCaptchaCaptchastage: 'authentik_stages_captcha.captchastage',
2120
2119
  AuthentikStagesConsentConsentstage: 'authentik_stages_consent.consentstage',
2121
- AuthentikStagesConsentUserconsent: 'authentik_stages_consent.userconsent',
2122
2120
  AuthentikStagesDenyDenystage: 'authentik_stages_deny.denystage',
2123
2121
  AuthentikStagesDummyDummystage: 'authentik_stages_dummy.dummystage',
2124
2122
  AuthentikStagesEmailEmailstage: 'authentik_stages_email.emailstage',
@@ -80,6 +80,7 @@ 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
+ AuthentikEnterpriseProvidersScim: 'authentik.enterprise.providers.scim',
83
84
  AuthentikEnterpriseProvidersSsf: 'authentik.enterprise.providers.ssf',
84
85
  AuthentikEnterpriseSearch: 'authentik.enterprise.search',
85
86
  AuthentikEnterpriseStagesAuthenticatorEndpointGdtc: 'authentik.enterprise.stages.authenticator_endpoint_gdtc',
@@ -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
  }
@@ -96,7 +96,6 @@ export const ModelEnum = {
96
96
  AuthentikStagesAuthenticatorWebauthnWebauthndevice: 'authentik_stages_authenticator_webauthn.webauthndevice',
97
97
  AuthentikStagesCaptchaCaptchastage: 'authentik_stages_captcha.captchastage',
98
98
  AuthentikStagesConsentConsentstage: 'authentik_stages_consent.consentstage',
99
- AuthentikStagesConsentUserconsent: 'authentik_stages_consent.userconsent',
100
99
  AuthentikStagesDenyDenystage: 'authentik_stages_deny.denystage',
101
100
  AuthentikStagesDummyDummystage: 'authentik_stages_dummy.dummystage',
102
101
  AuthentikStagesEmailEmailstage: 'authentik_stages_email.emailstage',
@@ -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
  }
@@ -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
 
@@ -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'],
@@ -69,6 +69,12 @@ export interface UserOAuthSourceConnection {
69
69
  * @memberof UserOAuthSourceConnection
70
70
  */
71
71
  readonly lastUpdated: Date;
72
+ /**
73
+ *
74
+ * @type {Date}
75
+ * @memberof UserOAuthSourceConnection
76
+ */
77
+ expires?: Date;
72
78
  }
73
79
 
74
80
  /**
@@ -102,6 +108,7 @@ export function UserOAuthSourceConnectionFromJSONTyped(json: any, ignoreDiscrimi
102
108
  'identifier': json['identifier'],
103
109
  'created': (new Date(json['created'])),
104
110
  'lastUpdated': (new Date(json['last_updated'])),
111
+ 'expires': json['expires'] == null ? undefined : (new Date(json['expires'])),
105
112
  };
106
113
  }
107
114
 
@@ -119,6 +126,7 @@ export function UserOAuthSourceConnectionToJSONTyped(value?: Omit<UserOAuthSourc
119
126
  'user': value['user'],
120
127
  'source': value['source'],
121
128
  'identifier': value['identifier'],
129
+ 'expires': value['expires'] == null ? undefined : ((value['expires']).toISOString()),
122
130
  };
123
131
  }
124
132
 
@@ -43,6 +43,12 @@ export interface UserOAuthSourceConnectionRequest {
43
43
  * @memberof UserOAuthSourceConnectionRequest
44
44
  */
45
45
  accessToken?: string | null;
46
+ /**
47
+ *
48
+ * @type {Date}
49
+ * @memberof UserOAuthSourceConnectionRequest
50
+ */
51
+ expires?: Date;
46
52
  }
47
53
 
48
54
  /**
@@ -69,6 +75,7 @@ export function UserOAuthSourceConnectionRequestFromJSONTyped(json: any, ignoreD
69
75
  'source': json['source'],
70
76
  'identifier': json['identifier'],
71
77
  'accessToken': json['access_token'] == null ? undefined : json['access_token'],
78
+ 'expires': json['expires'] == null ? undefined : (new Date(json['expires'])),
72
79
  };
73
80
  }
74
81
 
@@ -87,6 +94,7 @@ export function UserOAuthSourceConnectionRequestToJSONTyped(value?: UserOAuthSou
87
94
  'source': value['source'],
88
95
  'identifier': value['identifier'],
89
96
  'access_token': value['accessToken'],
97
+ 'expires': value['expires'] == null ? undefined : ((value['expires']).toISOString()),
90
98
  };
91
99
  }
92
100
 
@@ -10,7 +10,6 @@ export * from './Application';
10
10
  export * from './ApplicationEntitlement';
11
11
  export * from './ApplicationEntitlementRequest';
12
12
  export * from './ApplicationRequest';
13
- export * from './AuthModeEnum';
14
13
  export * from './AuthTypeEnum';
15
14
  export * from './AuthenticatedSession';
16
15
  export * from './AuthenticatedSessionAsn';
@@ -126,6 +125,7 @@ export * from './EmailDeviceRequest';
126
125
  export * from './EmailStage';
127
126
  export * from './EmailStageRequest';
128
127
  export * from './Endpoint';
128
+ export * from './EndpointAuthModeEnum';
129
129
  export * from './EndpointDevice';
130
130
  export * from './EndpointDeviceRequest';
131
131
  export * from './EndpointRequest';
@@ -622,6 +622,7 @@ export * from './SAMLSource';
622
622
  export * from './SAMLSourcePropertyMapping';
623
623
  export * from './SAMLSourcePropertyMappingRequest';
624
624
  export * from './SAMLSourceRequest';
625
+ export * from './SCIMAuthenticationModeEnum';
625
626
  export * from './SCIMMapping';
626
627
  export * from './SCIMMappingRequest';
627
628
  export * from './SCIMProvider';