@goauthentik/api 2022.3.3-1648933813 → 2022.3.3-1649702663

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 (292) hide show
  1. package/.openapi-generator/FILES +2 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/dist/apis/CoreApi.d.ts +22 -10
  4. package/dist/apis/CoreApi.js +43 -10
  5. package/dist/apis/EventsApi.d.ts +24 -24
  6. package/dist/apis/EventsApi.js +21 -27
  7. package/dist/apis/FlowsApi.d.ts +27 -27
  8. package/dist/apis/FlowsApi.js +24 -30
  9. package/dist/apis/PoliciesApi.d.ts +83 -83
  10. package/dist/apis/PoliciesApi.js +81 -85
  11. package/dist/apis/ProvidersApi.d.ts +56 -56
  12. package/dist/apis/ProvidersApi.js +49 -63
  13. package/dist/apis/SchemaApi.d.ts +109 -109
  14. package/dist/apis/SchemaApi.js +107 -111
  15. package/dist/apis/SourcesApi.d.ts +88 -88
  16. package/dist/apis/SourcesApi.js +78 -98
  17. package/dist/apis/StagesApi.d.ts +78 -78
  18. package/dist/apis/StagesApi.js +69 -87
  19. package/dist/esm/apis/CoreApi.d.ts +22 -10
  20. package/dist/esm/apis/CoreApi.js +44 -11
  21. package/dist/esm/apis/EventsApi.d.ts +24 -24
  22. package/dist/esm/apis/EventsApi.js +21 -27
  23. package/dist/esm/apis/FlowsApi.d.ts +27 -27
  24. package/dist/esm/apis/FlowsApi.js +24 -30
  25. package/dist/esm/apis/PoliciesApi.d.ts +83 -83
  26. package/dist/esm/apis/PoliciesApi.js +81 -85
  27. package/dist/esm/apis/ProvidersApi.d.ts +56 -56
  28. package/dist/esm/apis/ProvidersApi.js +49 -63
  29. package/dist/esm/apis/SchemaApi.d.ts +109 -109
  30. package/dist/esm/apis/SchemaApi.js +107 -111
  31. package/dist/esm/apis/SourcesApi.d.ts +88 -88
  32. package/dist/esm/apis/SourcesApi.js +78 -98
  33. package/dist/esm/apis/StagesApi.d.ts +78 -78
  34. package/dist/esm/apis/StagesApi.js +69 -87
  35. package/dist/esm/models/AppEnum.d.ts +49 -49
  36. package/dist/esm/models/AppEnum.js +48 -50
  37. package/dist/esm/models/Application.d.ts +1 -1
  38. package/dist/esm/models/Application.js +2 -3
  39. package/dist/esm/models/ApplicationRequest.d.ts +0 -7
  40. package/dist/esm/models/ApplicationRequest.js +0 -3
  41. package/dist/esm/models/AuthTypeEnum.d.ts +5 -5
  42. package/dist/esm/models/AuthTypeEnum.js +4 -6
  43. package/dist/esm/models/AuthenticatorAttachmentEnum.d.ts +5 -5
  44. package/dist/esm/models/AuthenticatorAttachmentEnum.js +4 -6
  45. package/dist/esm/models/BackendsEnum.d.ts +6 -6
  46. package/dist/esm/models/BackendsEnum.js +5 -7
  47. package/dist/esm/models/BindingTypeEnum.d.ts +6 -6
  48. package/dist/esm/models/BindingTypeEnum.js +5 -7
  49. package/dist/esm/models/CapabilitiesEnum.d.ts +5 -5
  50. package/dist/esm/models/CapabilitiesEnum.js +4 -6
  51. package/dist/esm/models/ChallengeChoices.d.ts +6 -6
  52. package/dist/esm/models/ChallengeChoices.js +5 -7
  53. package/dist/esm/models/ClientTypeEnum.d.ts +5 -5
  54. package/dist/esm/models/ClientTypeEnum.js +4 -6
  55. package/dist/esm/models/ConsentStageModeEnum.d.ts +6 -6
  56. package/dist/esm/models/ConsentStageModeEnum.js +5 -7
  57. package/dist/esm/models/DeviceClassesEnum.d.ts +8 -8
  58. package/dist/esm/models/DeviceClassesEnum.js +7 -9
  59. package/dist/esm/models/DigestAlgorithmEnum.d.ts +7 -7
  60. package/dist/esm/models/DigestAlgorithmEnum.js +6 -8
  61. package/dist/esm/models/DigitsEnum.d.ts +5 -5
  62. package/dist/esm/models/DigitsEnum.js +4 -6
  63. package/dist/esm/models/EventActions.d.ts +30 -30
  64. package/dist/esm/models/EventActions.js +29 -31
  65. package/dist/esm/models/FlowDesignationEnum.d.ts +10 -10
  66. package/dist/esm/models/FlowDesignationEnum.js +9 -11
  67. package/dist/esm/models/IntentEnum.d.ts +7 -7
  68. package/dist/esm/models/IntentEnum.js +6 -8
  69. package/dist/esm/models/InvalidResponseActionEnum.d.ts +6 -6
  70. package/dist/esm/models/InvalidResponseActionEnum.js +5 -7
  71. package/dist/esm/models/IssuerModeEnum.d.ts +5 -5
  72. package/dist/esm/models/IssuerModeEnum.js +4 -6
  73. package/dist/esm/models/NameIdPolicyEnum.d.ts +8 -8
  74. package/dist/esm/models/NameIdPolicyEnum.js +7 -9
  75. package/dist/esm/models/NotConfiguredActionEnum.d.ts +6 -6
  76. package/dist/esm/models/NotConfiguredActionEnum.js +5 -7
  77. package/dist/esm/models/NotificationTransportModeEnum.d.ts +6 -6
  78. package/dist/esm/models/NotificationTransportModeEnum.js +5 -7
  79. package/dist/esm/models/OutpostTypeEnum.d.ts +5 -5
  80. package/dist/esm/models/OutpostTypeEnum.js +4 -6
  81. package/dist/esm/models/PatchedApplicationRequest.d.ts +0 -7
  82. package/dist/esm/models/PatchedApplicationRequest.js +0 -3
  83. package/dist/esm/models/PatchedTenantRequest.d.ts +8 -0
  84. package/dist/esm/models/PatchedTenantRequest.js +2 -0
  85. package/dist/esm/models/PatchedTokenRequest.d.ts +0 -7
  86. package/dist/esm/models/PatchedTokenRequest.js +0 -3
  87. package/dist/esm/models/PolicyEngineMode.d.ts +5 -5
  88. package/dist/esm/models/PolicyEngineMode.js +4 -6
  89. package/dist/esm/models/PromptTypeEnum.d.ts +16 -16
  90. package/dist/esm/models/PromptTypeEnum.js +15 -17
  91. package/dist/esm/models/ProviderEnum.d.ts +5 -5
  92. package/dist/esm/models/ProviderEnum.js +4 -6
  93. package/dist/esm/models/ProviderTypeEnum.d.ts +14 -14
  94. package/dist/esm/models/ProviderTypeEnum.js +13 -15
  95. package/dist/esm/models/ProxyMode.d.ts +6 -6
  96. package/dist/esm/models/ProxyMode.js +5 -7
  97. package/dist/esm/models/ResidentKeyRequirementEnum.d.ts +6 -6
  98. package/dist/esm/models/ResidentKeyRequirementEnum.js +5 -7
  99. package/dist/esm/models/SearchModeEnum.d.ts +5 -5
  100. package/dist/esm/models/SearchModeEnum.js +4 -6
  101. package/dist/esm/models/SeverityEnum.d.ts +6 -6
  102. package/dist/esm/models/SeverityEnum.js +5 -7
  103. package/dist/esm/models/SignatureAlgorithmEnum.d.ts +8 -8
  104. package/dist/esm/models/SignatureAlgorithmEnum.js +7 -9
  105. package/dist/esm/models/SpBindingEnum.d.ts +5 -5
  106. package/dist/esm/models/SpBindingEnum.js +4 -6
  107. package/dist/esm/models/StatusEnum.d.ts +7 -7
  108. package/dist/esm/models/StatusEnum.js +6 -8
  109. package/dist/esm/models/SubModeEnum.d.ts +7 -7
  110. package/dist/esm/models/SubModeEnum.js +6 -8
  111. package/dist/esm/models/Tenant.d.ts +8 -0
  112. package/dist/esm/models/Tenant.js +2 -0
  113. package/dist/esm/models/TenantRequest.d.ts +8 -0
  114. package/dist/esm/models/TenantRequest.js +2 -0
  115. package/dist/esm/models/Token.d.ts +1 -1
  116. package/dist/esm/models/Token.js +2 -3
  117. package/dist/esm/models/TokenRequest.d.ts +0 -7
  118. package/dist/esm/models/TokenRequest.js +0 -3
  119. package/dist/esm/models/TokenSetKeyRequest.d.ts +27 -0
  120. package/dist/esm/models/TokenSetKeyRequest.js +35 -0
  121. package/dist/esm/models/UsedByActionEnum.d.ts +7 -7
  122. package/dist/esm/models/UsedByActionEnum.js +6 -8
  123. package/dist/esm/models/UserFieldsEnum.d.ts +6 -6
  124. package/dist/esm/models/UserFieldsEnum.js +5 -7
  125. package/dist/esm/models/UserMatchingModeEnum.d.ts +8 -8
  126. package/dist/esm/models/UserMatchingModeEnum.js +7 -9
  127. package/dist/esm/models/UserSelf.d.ts +2 -3
  128. package/dist/esm/models/UserSelf.js +1 -2
  129. package/dist/esm/models/UserVerificationEnum.d.ts +6 -6
  130. package/dist/esm/models/UserVerificationEnum.js +5 -7
  131. package/dist/esm/models/index.d.ts +1 -0
  132. package/dist/esm/models/index.js +1 -0
  133. package/dist/esm/runtime.js +1 -0
  134. package/dist/models/AppEnum.d.ts +49 -49
  135. package/dist/models/AppEnum.js +48 -50
  136. package/dist/models/Application.d.ts +1 -1
  137. package/dist/models/Application.js +1 -2
  138. package/dist/models/ApplicationRequest.d.ts +0 -7
  139. package/dist/models/ApplicationRequest.js +0 -3
  140. package/dist/models/AuthTypeEnum.d.ts +5 -5
  141. package/dist/models/AuthTypeEnum.js +4 -6
  142. package/dist/models/AuthenticatorAttachmentEnum.d.ts +5 -5
  143. package/dist/models/AuthenticatorAttachmentEnum.js +4 -6
  144. package/dist/models/BackendsEnum.d.ts +6 -6
  145. package/dist/models/BackendsEnum.js +5 -7
  146. package/dist/models/BindingTypeEnum.d.ts +6 -6
  147. package/dist/models/BindingTypeEnum.js +5 -7
  148. package/dist/models/CapabilitiesEnum.d.ts +5 -5
  149. package/dist/models/CapabilitiesEnum.js +4 -6
  150. package/dist/models/ChallengeChoices.d.ts +6 -6
  151. package/dist/models/ChallengeChoices.js +5 -7
  152. package/dist/models/ClientTypeEnum.d.ts +5 -5
  153. package/dist/models/ClientTypeEnum.js +4 -6
  154. package/dist/models/ConsentStageModeEnum.d.ts +6 -6
  155. package/dist/models/ConsentStageModeEnum.js +5 -7
  156. package/dist/models/DeviceClassesEnum.d.ts +8 -8
  157. package/dist/models/DeviceClassesEnum.js +7 -9
  158. package/dist/models/DigestAlgorithmEnum.d.ts +7 -7
  159. package/dist/models/DigestAlgorithmEnum.js +6 -8
  160. package/dist/models/DigitsEnum.d.ts +5 -5
  161. package/dist/models/DigitsEnum.js +4 -6
  162. package/dist/models/EventActions.d.ts +30 -30
  163. package/dist/models/EventActions.js +29 -31
  164. package/dist/models/FlowDesignationEnum.d.ts +10 -10
  165. package/dist/models/FlowDesignationEnum.js +9 -11
  166. package/dist/models/IntentEnum.d.ts +7 -7
  167. package/dist/models/IntentEnum.js +6 -8
  168. package/dist/models/InvalidResponseActionEnum.d.ts +6 -6
  169. package/dist/models/InvalidResponseActionEnum.js +5 -7
  170. package/dist/models/IssuerModeEnum.d.ts +5 -5
  171. package/dist/models/IssuerModeEnum.js +4 -6
  172. package/dist/models/NameIdPolicyEnum.d.ts +8 -8
  173. package/dist/models/NameIdPolicyEnum.js +7 -9
  174. package/dist/models/NotConfiguredActionEnum.d.ts +6 -6
  175. package/dist/models/NotConfiguredActionEnum.js +5 -7
  176. package/dist/models/NotificationTransportModeEnum.d.ts +6 -6
  177. package/dist/models/NotificationTransportModeEnum.js +5 -7
  178. package/dist/models/OutpostTypeEnum.d.ts +5 -5
  179. package/dist/models/OutpostTypeEnum.js +4 -6
  180. package/dist/models/PatchedApplicationRequest.d.ts +0 -7
  181. package/dist/models/PatchedApplicationRequest.js +0 -3
  182. package/dist/models/PatchedTenantRequest.d.ts +8 -0
  183. package/dist/models/PatchedTenantRequest.js +2 -0
  184. package/dist/models/PatchedTokenRequest.d.ts +0 -7
  185. package/dist/models/PatchedTokenRequest.js +0 -3
  186. package/dist/models/PolicyEngineMode.d.ts +5 -5
  187. package/dist/models/PolicyEngineMode.js +4 -6
  188. package/dist/models/PromptTypeEnum.d.ts +16 -16
  189. package/dist/models/PromptTypeEnum.js +15 -17
  190. package/dist/models/ProviderEnum.d.ts +5 -5
  191. package/dist/models/ProviderEnum.js +4 -6
  192. package/dist/models/ProviderTypeEnum.d.ts +14 -14
  193. package/dist/models/ProviderTypeEnum.js +13 -15
  194. package/dist/models/ProxyMode.d.ts +6 -6
  195. package/dist/models/ProxyMode.js +5 -7
  196. package/dist/models/ResidentKeyRequirementEnum.d.ts +6 -6
  197. package/dist/models/ResidentKeyRequirementEnum.js +5 -7
  198. package/dist/models/SearchModeEnum.d.ts +5 -5
  199. package/dist/models/SearchModeEnum.js +4 -6
  200. package/dist/models/SeverityEnum.d.ts +6 -6
  201. package/dist/models/SeverityEnum.js +5 -7
  202. package/dist/models/SignatureAlgorithmEnum.d.ts +8 -8
  203. package/dist/models/SignatureAlgorithmEnum.js +7 -9
  204. package/dist/models/SpBindingEnum.d.ts +5 -5
  205. package/dist/models/SpBindingEnum.js +4 -6
  206. package/dist/models/StatusEnum.d.ts +7 -7
  207. package/dist/models/StatusEnum.js +6 -8
  208. package/dist/models/SubModeEnum.d.ts +7 -7
  209. package/dist/models/SubModeEnum.js +6 -8
  210. package/dist/models/Tenant.d.ts +8 -0
  211. package/dist/models/Tenant.js +2 -0
  212. package/dist/models/TenantRequest.d.ts +8 -0
  213. package/dist/models/TenantRequest.js +2 -0
  214. package/dist/models/Token.d.ts +1 -1
  215. package/dist/models/Token.js +1 -2
  216. package/dist/models/TokenRequest.d.ts +0 -7
  217. package/dist/models/TokenRequest.js +0 -3
  218. package/dist/models/TokenSetKeyRequest.d.ts +27 -0
  219. package/dist/models/TokenSetKeyRequest.js +41 -0
  220. package/dist/models/UsedByActionEnum.d.ts +7 -7
  221. package/dist/models/UsedByActionEnum.js +6 -8
  222. package/dist/models/UserFieldsEnum.d.ts +6 -6
  223. package/dist/models/UserFieldsEnum.js +5 -7
  224. package/dist/models/UserMatchingModeEnum.d.ts +8 -8
  225. package/dist/models/UserMatchingModeEnum.js +7 -9
  226. package/dist/models/UserSelf.d.ts +2 -3
  227. package/dist/models/UserSelf.js +1 -2
  228. package/dist/models/UserVerificationEnum.d.ts +6 -6
  229. package/dist/models/UserVerificationEnum.js +5 -7
  230. package/dist/models/index.d.ts +1 -0
  231. package/dist/models/index.js +1 -0
  232. package/dist/runtime.js +1 -0
  233. package/package.json +17 -1
  234. package/src/apis/CoreApi.ts +58 -9
  235. package/src/apis/EventsApi.ts +27 -24
  236. package/src/apis/FlowsApi.ts +30 -27
  237. package/src/apis/PoliciesApi.ts +85 -83
  238. package/src/apis/ProvidersApi.ts +63 -56
  239. package/src/apis/SchemaApi.ts +111 -109
  240. package/src/apis/SourcesApi.ts +98 -88
  241. package/src/apis/StagesApi.ts +87 -78
  242. package/src/models/AppEnum.ts +52 -49
  243. package/src/models/Application.ts +2 -3
  244. package/src/models/ApplicationRequest.ts +0 -14
  245. package/src/models/AuthTypeEnum.ts +8 -5
  246. package/src/models/AuthenticatorAttachmentEnum.ts +8 -5
  247. package/src/models/BackendsEnum.ts +9 -6
  248. package/src/models/BindingTypeEnum.ts +9 -6
  249. package/src/models/CapabilitiesEnum.ts +8 -5
  250. package/src/models/ChallengeChoices.ts +9 -6
  251. package/src/models/ClientTypeEnum.ts +8 -5
  252. package/src/models/ConsentStageModeEnum.ts +9 -6
  253. package/src/models/DeviceClassesEnum.ts +11 -8
  254. package/src/models/DigestAlgorithmEnum.ts +10 -7
  255. package/src/models/DigitsEnum.ts +8 -5
  256. package/src/models/EventActions.ts +33 -30
  257. package/src/models/FlowDesignationEnum.ts +13 -10
  258. package/src/models/IntentEnum.ts +10 -7
  259. package/src/models/InvalidResponseActionEnum.ts +9 -6
  260. package/src/models/IssuerModeEnum.ts +8 -5
  261. package/src/models/NameIdPolicyEnum.ts +11 -8
  262. package/src/models/NotConfiguredActionEnum.ts +9 -6
  263. package/src/models/NotificationTransportModeEnum.ts +9 -6
  264. package/src/models/OutpostTypeEnum.ts +8 -5
  265. package/src/models/PatchedApplicationRequest.ts +0 -14
  266. package/src/models/PatchedTenantRequest.ts +8 -0
  267. package/src/models/PatchedTokenRequest.ts +0 -14
  268. package/src/models/PolicyEngineMode.ts +8 -5
  269. package/src/models/PromptTypeEnum.ts +19 -16
  270. package/src/models/ProviderEnum.ts +8 -5
  271. package/src/models/ProviderTypeEnum.ts +17 -14
  272. package/src/models/ProxyMode.ts +9 -6
  273. package/src/models/ResidentKeyRequirementEnum.ts +9 -6
  274. package/src/models/SearchModeEnum.ts +8 -5
  275. package/src/models/SeverityEnum.ts +9 -6
  276. package/src/models/SignatureAlgorithmEnum.ts +11 -8
  277. package/src/models/SpBindingEnum.ts +8 -5
  278. package/src/models/StatusEnum.ts +10 -7
  279. package/src/models/SubModeEnum.ts +10 -7
  280. package/src/models/Tenant.ts +8 -0
  281. package/src/models/TenantRequest.ts +8 -0
  282. package/src/models/Token.ts +2 -3
  283. package/src/models/TokenRequest.ts +0 -14
  284. package/src/models/TokenSetKeyRequest.ts +56 -0
  285. package/src/models/UsedByActionEnum.ts +10 -7
  286. package/src/models/UserFieldsEnum.ts +9 -6
  287. package/src/models/UserMatchingModeEnum.ts +11 -8
  288. package/src/models/UserSelf.ts +3 -5
  289. package/src/models/UserVerificationEnum.ts +9 -6
  290. package/src/models/index.ts +1 -0
  291. package/src/runtime.ts +2 -0
  292. package/tsconfig.esm.json +7 -1
@@ -12,59 +12,62 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
+
15
16
  /**
16
17
  *
17
18
  * @export
18
- * @enum {string}
19
19
  */
20
- export enum AppEnum {
21
- Admin = 'authentik.admin',
22
- Api = 'authentik.api',
23
- Crypto = 'authentik.crypto',
24
- Events = 'authentik.events',
25
- Flows = 'authentik.flows',
26
- Lib = 'authentik.lib',
27
- Outposts = 'authentik.outposts',
28
- PoliciesDummy = 'authentik.policies.dummy',
29
- PoliciesEventMatcher = 'authentik.policies.event_matcher',
30
- PoliciesExpiry = 'authentik.policies.expiry',
31
- PoliciesExpression = 'authentik.policies.expression',
32
- PoliciesHibp = 'authentik.policies.hibp',
33
- PoliciesPassword = 'authentik.policies.password',
34
- PoliciesReputation = 'authentik.policies.reputation',
35
- Policies = 'authentik.policies',
36
- ProvidersLdap = 'authentik.providers.ldap',
37
- ProvidersOauth2 = 'authentik.providers.oauth2',
38
- ProvidersProxy = 'authentik.providers.proxy',
39
- ProvidersSaml = 'authentik.providers.saml',
40
- Recovery = 'authentik.recovery',
41
- SourcesLdap = 'authentik.sources.ldap',
42
- SourcesOauth = 'authentik.sources.oauth',
43
- SourcesPlex = 'authentik.sources.plex',
44
- SourcesSaml = 'authentik.sources.saml',
45
- StagesAuthenticatorDuo = 'authentik.stages.authenticator_duo',
46
- StagesAuthenticatorSms = 'authentik.stages.authenticator_sms',
47
- StagesAuthenticatorStatic = 'authentik.stages.authenticator_static',
48
- StagesAuthenticatorTotp = 'authentik.stages.authenticator_totp',
49
- StagesAuthenticatorValidate = 'authentik.stages.authenticator_validate',
50
- StagesAuthenticatorWebauthn = 'authentik.stages.authenticator_webauthn',
51
- StagesCaptcha = 'authentik.stages.captcha',
52
- StagesConsent = 'authentik.stages.consent',
53
- StagesDeny = 'authentik.stages.deny',
54
- StagesDummy = 'authentik.stages.dummy',
55
- StagesEmail = 'authentik.stages.email',
56
- StagesIdentification = 'authentik.stages.identification',
57
- StagesInvitation = 'authentik.stages.invitation',
58
- StagesPassword = 'authentik.stages.password',
59
- StagesPrompt = 'authentik.stages.prompt',
60
- StagesUserDelete = 'authentik.stages.user_delete',
61
- StagesUserLogin = 'authentik.stages.user_login',
62
- StagesUserLogout = 'authentik.stages.user_logout',
63
- StagesUserWrite = 'authentik.stages.user_write',
64
- Tenants = 'authentik.tenants',
65
- Managed = 'authentik.managed',
66
- Core = 'authentik.core'
67
- }
20
+ export const AppEnum = {
21
+ Admin: 'authentik.admin',
22
+ Api: 'authentik.api',
23
+ Crypto: 'authentik.crypto',
24
+ Events: 'authentik.events',
25
+ Flows: 'authentik.flows',
26
+ Lib: 'authentik.lib',
27
+ Outposts: 'authentik.outposts',
28
+ PoliciesDummy: 'authentik.policies.dummy',
29
+ PoliciesEventMatcher: 'authentik.policies.event_matcher',
30
+ PoliciesExpiry: 'authentik.policies.expiry',
31
+ PoliciesExpression: 'authentik.policies.expression',
32
+ PoliciesHibp: 'authentik.policies.hibp',
33
+ PoliciesPassword: 'authentik.policies.password',
34
+ PoliciesReputation: 'authentik.policies.reputation',
35
+ Policies: 'authentik.policies',
36
+ ProvidersLdap: 'authentik.providers.ldap',
37
+ ProvidersOauth2: 'authentik.providers.oauth2',
38
+ ProvidersProxy: 'authentik.providers.proxy',
39
+ ProvidersSaml: 'authentik.providers.saml',
40
+ Recovery: 'authentik.recovery',
41
+ SourcesLdap: 'authentik.sources.ldap',
42
+ SourcesOauth: 'authentik.sources.oauth',
43
+ SourcesPlex: 'authentik.sources.plex',
44
+ SourcesSaml: 'authentik.sources.saml',
45
+ StagesAuthenticatorDuo: 'authentik.stages.authenticator_duo',
46
+ StagesAuthenticatorSms: 'authentik.stages.authenticator_sms',
47
+ StagesAuthenticatorStatic: 'authentik.stages.authenticator_static',
48
+ StagesAuthenticatorTotp: 'authentik.stages.authenticator_totp',
49
+ StagesAuthenticatorValidate: 'authentik.stages.authenticator_validate',
50
+ StagesAuthenticatorWebauthn: 'authentik.stages.authenticator_webauthn',
51
+ StagesCaptcha: 'authentik.stages.captcha',
52
+ StagesConsent: 'authentik.stages.consent',
53
+ StagesDeny: 'authentik.stages.deny',
54
+ StagesDummy: 'authentik.stages.dummy',
55
+ StagesEmail: 'authentik.stages.email',
56
+ StagesIdentification: 'authentik.stages.identification',
57
+ StagesInvitation: 'authentik.stages.invitation',
58
+ StagesPassword: 'authentik.stages.password',
59
+ StagesPrompt: 'authentik.stages.prompt',
60
+ StagesUserDelete: 'authentik.stages.user_delete',
61
+ StagesUserLogin: 'authentik.stages.user_login',
62
+ StagesUserLogout: 'authentik.stages.user_logout',
63
+ StagesUserWrite: 'authentik.stages.user_write',
64
+ Tenants: 'authentik.tenants',
65
+ Managed: 'authentik.managed',
66
+ Core: 'authentik.core'
67
+ } as const;
68
+
69
+ export type AppEnum = typeof AppEnum[keyof typeof AppEnum];
70
+
68
71
 
69
72
  export function AppEnumFromJSON(json: any): AppEnum {
70
73
  return AppEnumFromJSONTyped(json, false);
@@ -61,7 +61,7 @@ export interface Application {
61
61
  * @type {Provider}
62
62
  * @memberof Application
63
63
  */
64
- providerObj?: Provider;
64
+ readonly providerObj: Provider | null;
65
65
  /**
66
66
  *
67
67
  * @type {string}
@@ -120,7 +120,7 @@ export function ApplicationFromJSONTyped(json: any, ignoreDiscriminator: boolean
120
120
  'name': json['name'],
121
121
  'slug': json['slug'],
122
122
  'provider': !exists(json, 'provider') ? undefined : json['provider'],
123
- 'providerObj': !exists(json, 'provider_obj') ? undefined : ProviderFromJSON(json['provider_obj']),
123
+ 'providerObj': ProviderFromJSON(json['provider_obj']),
124
124
  'launchUrl': json['launch_url'],
125
125
  'metaLaunchUrl': !exists(json, 'meta_launch_url') ? undefined : json['meta_launch_url'],
126
126
  'metaIcon': json['meta_icon'],
@@ -143,7 +143,6 @@ export function ApplicationToJSON(value?: Application | null): any {
143
143
  'name': value.name,
144
144
  'slug': value.slug,
145
145
  'provider': value.provider,
146
- 'provider_obj': ProviderToJSON(value.providerObj),
147
146
  'meta_launch_url': value.metaLaunchUrl,
148
147
  'meta_description': value.metaDescription,
149
148
  'meta_publisher': value.metaPublisher,
@@ -19,12 +19,6 @@ import {
19
19
  PolicyEngineModeFromJSONTyped,
20
20
  PolicyEngineModeToJSON,
21
21
  } from './PolicyEngineMode';
22
- import {
23
- ProviderRequest,
24
- ProviderRequestFromJSON,
25
- ProviderRequestFromJSONTyped,
26
- ProviderRequestToJSON,
27
- } from './ProviderRequest';
28
22
 
29
23
  /**
30
24
  * Application Serializer
@@ -50,12 +44,6 @@ export interface ApplicationRequest {
50
44
  * @memberof ApplicationRequest
51
45
  */
52
46
  provider?: number | null;
53
- /**
54
- *
55
- * @type {ProviderRequest}
56
- * @memberof ApplicationRequest
57
- */
58
- providerObj?: ProviderRequest;
59
47
  /**
60
48
  *
61
49
  * @type {string}
@@ -101,7 +89,6 @@ export function ApplicationRequestFromJSONTyped(json: any, ignoreDiscriminator:
101
89
  'name': json['name'],
102
90
  'slug': json['slug'],
103
91
  'provider': !exists(json, 'provider') ? undefined : json['provider'],
104
- 'providerObj': !exists(json, 'provider_obj') ? undefined : ProviderRequestFromJSON(json['provider_obj']),
105
92
  'metaLaunchUrl': !exists(json, 'meta_launch_url') ? undefined : json['meta_launch_url'],
106
93
  'metaDescription': !exists(json, 'meta_description') ? undefined : json['meta_description'],
107
94
  'metaPublisher': !exists(json, 'meta_publisher') ? undefined : json['meta_publisher'],
@@ -122,7 +109,6 @@ export function ApplicationRequestToJSON(value?: ApplicationRequest | null): any
122
109
  'name': value.name,
123
110
  'slug': value.slug,
124
111
  'provider': value.provider,
125
- 'provider_obj': ProviderRequestToJSON(value.providerObj),
126
112
  'meta_launch_url': value.metaLaunchUrl,
127
113
  'meta_description': value.metaDescription,
128
114
  'meta_publisher': value.metaPublisher,
@@ -12,15 +12,18 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
+
15
16
  /**
16
17
  *
17
18
  * @export
18
- * @enum {string}
19
19
  */
20
- export enum AuthTypeEnum {
21
- Basic = 'basic',
22
- Bearer = 'bearer'
23
- }
20
+ export const AuthTypeEnum = {
21
+ Basic: 'basic',
22
+ Bearer: 'bearer'
23
+ } as const;
24
+
25
+ export type AuthTypeEnum = typeof AuthTypeEnum[keyof typeof AuthTypeEnum];
26
+
24
27
 
25
28
  export function AuthTypeEnumFromJSON(json: any): AuthTypeEnum {
26
29
  return AuthTypeEnumFromJSONTyped(json, false);
@@ -12,15 +12,18 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
+
15
16
  /**
16
17
  *
17
18
  * @export
18
- * @enum {string}
19
19
  */
20
- export enum AuthenticatorAttachmentEnum {
21
- Platform = 'platform',
22
- CrossPlatform = 'cross-platform'
23
- }
20
+ export const AuthenticatorAttachmentEnum = {
21
+ Platform: 'platform',
22
+ CrossPlatform: 'cross-platform'
23
+ } as const;
24
+
25
+ export type AuthenticatorAttachmentEnum = typeof AuthenticatorAttachmentEnum[keyof typeof AuthenticatorAttachmentEnum];
26
+
24
27
 
25
28
  export function AuthenticatorAttachmentEnumFromJSON(json: any): AuthenticatorAttachmentEnum {
26
29
  return AuthenticatorAttachmentEnumFromJSONTyped(json, false);
@@ -12,16 +12,19 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
+
15
16
  /**
16
17
  *
17
18
  * @export
18
- * @enum {string}
19
19
  */
20
- export enum BackendsEnum {
21
- CoreAuthInbuiltBackend = 'authentik.core.auth.InbuiltBackend',
22
- CoreAuthTokenBackend = 'authentik.core.auth.TokenBackend',
23
- SourcesLdapAuthLdapBackend = 'authentik.sources.ldap.auth.LDAPBackend'
24
- }
20
+ export const BackendsEnum = {
21
+ CoreAuthInbuiltBackend: 'authentik.core.auth.InbuiltBackend',
22
+ CoreAuthTokenBackend: 'authentik.core.auth.TokenBackend',
23
+ SourcesLdapAuthLdapBackend: 'authentik.sources.ldap.auth.LDAPBackend'
24
+ } as const;
25
+
26
+ export type BackendsEnum = typeof BackendsEnum[keyof typeof BackendsEnum];
27
+
25
28
 
26
29
  export function BackendsEnumFromJSON(json: any): BackendsEnum {
27
30
  return BackendsEnumFromJSONTyped(json, false);
@@ -12,16 +12,19 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
+
15
16
  /**
16
17
  *
17
18
  * @export
18
- * @enum {string}
19
19
  */
20
- export enum BindingTypeEnum {
21
- Redirect = 'REDIRECT',
22
- Post = 'POST',
23
- PostAuto = 'POST_AUTO'
24
- }
20
+ export const BindingTypeEnum = {
21
+ Redirect: 'REDIRECT',
22
+ Post: 'POST',
23
+ PostAuto: 'POST_AUTO'
24
+ } as const;
25
+
26
+ export type BindingTypeEnum = typeof BindingTypeEnum[keyof typeof BindingTypeEnum];
27
+
25
28
 
26
29
  export function BindingTypeEnumFromJSON(json: any): BindingTypeEnum {
27
30
  return BindingTypeEnumFromJSONTyped(json, false);
@@ -12,15 +12,18 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
+
15
16
  /**
16
17
  *
17
18
  * @export
18
- * @enum {string}
19
19
  */
20
- export enum CapabilitiesEnum {
21
- SaveMedia = 'can_save_media',
22
- GeoIp = 'can_geo_ip'
23
- }
20
+ export const CapabilitiesEnum = {
21
+ SaveMedia: 'can_save_media',
22
+ GeoIp: 'can_geo_ip'
23
+ } as const;
24
+
25
+ export type CapabilitiesEnum = typeof CapabilitiesEnum[keyof typeof CapabilitiesEnum];
26
+
24
27
 
25
28
  export function CapabilitiesEnumFromJSON(json: any): CapabilitiesEnum {
26
29
  return CapabilitiesEnumFromJSONTyped(json, false);
@@ -12,16 +12,19 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
+
15
16
  /**
16
17
  *
17
18
  * @export
18
- * @enum {string}
19
19
  */
20
- export enum ChallengeChoices {
21
- Native = 'native',
22
- Shell = 'shell',
23
- Redirect = 'redirect'
24
- }
20
+ export const ChallengeChoices = {
21
+ Native: 'native',
22
+ Shell: 'shell',
23
+ Redirect: 'redirect'
24
+ } as const;
25
+
26
+ export type ChallengeChoices = typeof ChallengeChoices[keyof typeof ChallengeChoices];
27
+
25
28
 
26
29
  export function ChallengeChoicesFromJSON(json: any): ChallengeChoices {
27
30
  return ChallengeChoicesFromJSONTyped(json, false);
@@ -12,15 +12,18 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
+
15
16
  /**
16
17
  *
17
18
  * @export
18
- * @enum {string}
19
19
  */
20
- export enum ClientTypeEnum {
21
- Confidential = 'confidential',
22
- Public = 'public'
23
- }
20
+ export const ClientTypeEnum = {
21
+ Confidential: 'confidential',
22
+ Public: 'public'
23
+ } as const;
24
+
25
+ export type ClientTypeEnum = typeof ClientTypeEnum[keyof typeof ClientTypeEnum];
26
+
24
27
 
25
28
  export function ClientTypeEnumFromJSON(json: any): ClientTypeEnum {
26
29
  return ClientTypeEnumFromJSONTyped(json, false);
@@ -12,16 +12,19 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
+
15
16
  /**
16
17
  *
17
18
  * @export
18
- * @enum {string}
19
19
  */
20
- export enum ConsentStageModeEnum {
21
- AlwaysRequire = 'always_require',
22
- Permanent = 'permanent',
23
- Expiring = 'expiring'
24
- }
20
+ export const ConsentStageModeEnum = {
21
+ AlwaysRequire: 'always_require',
22
+ Permanent: 'permanent',
23
+ Expiring: 'expiring'
24
+ } as const;
25
+
26
+ export type ConsentStageModeEnum = typeof ConsentStageModeEnum[keyof typeof ConsentStageModeEnum];
27
+
25
28
 
26
29
  export function ConsentStageModeEnumFromJSON(json: any): ConsentStageModeEnum {
27
30
  return ConsentStageModeEnumFromJSONTyped(json, false);
@@ -12,18 +12,21 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
+
15
16
  /**
16
17
  *
17
18
  * @export
18
- * @enum {string}
19
19
  */
20
- export enum DeviceClassesEnum {
21
- Static = 'static',
22
- Totp = 'totp',
23
- Webauthn = 'webauthn',
24
- Duo = 'duo',
25
- Sms = 'sms'
26
- }
20
+ export const DeviceClassesEnum = {
21
+ Static: 'static',
22
+ Totp: 'totp',
23
+ Webauthn: 'webauthn',
24
+ Duo: 'duo',
25
+ Sms: 'sms'
26
+ } as const;
27
+
28
+ export type DeviceClassesEnum = typeof DeviceClassesEnum[keyof typeof DeviceClassesEnum];
29
+
27
30
 
28
31
  export function DeviceClassesEnumFromJSON(json: any): DeviceClassesEnum {
29
32
  return DeviceClassesEnumFromJSONTyped(json, false);
@@ -12,17 +12,20 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
+
15
16
  /**
16
17
  *
17
18
  * @export
18
- * @enum {string}
19
19
  */
20
- export enum DigestAlgorithmEnum {
21
- _200009Xmldsigsha1 = 'http://www.w3.org/2000/09/xmldsig#sha1',
22
- _200104Xmlencsha256 = 'http://www.w3.org/2001/04/xmlenc#sha256',
23
- _200104XmldsigMoresha384 = 'http://www.w3.org/2001/04/xmldsig-more#sha384',
24
- _200104Xmlencsha512 = 'http://www.w3.org/2001/04/xmlenc#sha512'
25
- }
20
+ export const DigestAlgorithmEnum = {
21
+ _200009Xmldsigsha1: 'http://www.w3.org/2000/09/xmldsig#sha1',
22
+ _200104Xmlencsha256: 'http://www.w3.org/2001/04/xmlenc#sha256',
23
+ _200104XmldsigMoresha384: 'http://www.w3.org/2001/04/xmldsig-more#sha384',
24
+ _200104Xmlencsha512: 'http://www.w3.org/2001/04/xmlenc#sha512'
25
+ } as const;
26
+
27
+ export type DigestAlgorithmEnum = typeof DigestAlgorithmEnum[keyof typeof DigestAlgorithmEnum];
28
+
26
29
 
27
30
  export function DigestAlgorithmEnumFromJSON(json: any): DigestAlgorithmEnum {
28
31
  return DigestAlgorithmEnumFromJSONTyped(json, false);
@@ -12,15 +12,18 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
+
15
16
  /**
16
17
  *
17
18
  * @export
18
- * @enum {string}
19
19
  */
20
- export enum DigitsEnum {
21
- NUMBER_6 = 6,
22
- NUMBER_8 = 8
23
- }
20
+ export const DigitsEnum = {
21
+ NUMBER_6: 6,
22
+ NUMBER_8: 8
23
+ } as const;
24
+
25
+ export type DigitsEnum = typeof DigitsEnum[keyof typeof DigitsEnum];
26
+
24
27
 
25
28
  export function DigitsEnumFromJSON(json: any): DigitsEnum {
26
29
  return DigitsEnumFromJSONTyped(json, false);
@@ -12,40 +12,43 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
+
15
16
  /**
16
17
  *
17
18
  * @export
18
- * @enum {string}
19
19
  */
20
- export enum EventActions {
21
- Login = 'login',
22
- LoginFailed = 'login_failed',
23
- Logout = 'logout',
24
- UserWrite = 'user_write',
25
- SuspiciousRequest = 'suspicious_request',
26
- PasswordSet = 'password_set',
27
- SecretView = 'secret_view',
28
- SecretRotate = 'secret_rotate',
29
- InvitationUsed = 'invitation_used',
30
- AuthorizeApplication = 'authorize_application',
31
- SourceLinked = 'source_linked',
32
- ImpersonationStarted = 'impersonation_started',
33
- ImpersonationEnded = 'impersonation_ended',
34
- FlowExecution = 'flow_execution',
35
- PolicyExecution = 'policy_execution',
36
- PolicyException = 'policy_exception',
37
- PropertyMappingException = 'property_mapping_exception',
38
- SystemTaskExecution = 'system_task_execution',
39
- SystemTaskException = 'system_task_exception',
40
- SystemException = 'system_exception',
41
- ConfigurationError = 'configuration_error',
42
- ModelCreated = 'model_created',
43
- ModelUpdated = 'model_updated',
44
- ModelDeleted = 'model_deleted',
45
- EmailSent = 'email_sent',
46
- UpdateAvailable = 'update_available',
47
- Custom = 'custom_'
48
- }
20
+ export const EventActions = {
21
+ Login: 'login',
22
+ LoginFailed: 'login_failed',
23
+ Logout: 'logout',
24
+ UserWrite: 'user_write',
25
+ SuspiciousRequest: 'suspicious_request',
26
+ PasswordSet: 'password_set',
27
+ SecretView: 'secret_view',
28
+ SecretRotate: 'secret_rotate',
29
+ InvitationUsed: 'invitation_used',
30
+ AuthorizeApplication: 'authorize_application',
31
+ SourceLinked: 'source_linked',
32
+ ImpersonationStarted: 'impersonation_started',
33
+ ImpersonationEnded: 'impersonation_ended',
34
+ FlowExecution: 'flow_execution',
35
+ PolicyExecution: 'policy_execution',
36
+ PolicyException: 'policy_exception',
37
+ PropertyMappingException: 'property_mapping_exception',
38
+ SystemTaskExecution: 'system_task_execution',
39
+ SystemTaskException: 'system_task_exception',
40
+ SystemException: 'system_exception',
41
+ ConfigurationError: 'configuration_error',
42
+ ModelCreated: 'model_created',
43
+ ModelUpdated: 'model_updated',
44
+ ModelDeleted: 'model_deleted',
45
+ EmailSent: 'email_sent',
46
+ UpdateAvailable: 'update_available',
47
+ Custom: 'custom_'
48
+ } as const;
49
+
50
+ export type EventActions = typeof EventActions[keyof typeof EventActions];
51
+
49
52
 
50
53
  export function EventActionsFromJSON(json: any): EventActions {
51
54
  return EventActionsFromJSONTyped(json, false);
@@ -12,20 +12,23 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
+
15
16
  /**
16
17
  *
17
18
  * @export
18
- * @enum {string}
19
19
  */
20
- export enum FlowDesignationEnum {
21
- Authentication = 'authentication',
22
- Authorization = 'authorization',
23
- Invalidation = 'invalidation',
24
- Enrollment = 'enrollment',
25
- Unenrollment = 'unenrollment',
26
- Recovery = 'recovery',
27
- StageConfiguration = 'stage_configuration'
28
- }
20
+ export const FlowDesignationEnum = {
21
+ Authentication: 'authentication',
22
+ Authorization: 'authorization',
23
+ Invalidation: 'invalidation',
24
+ Enrollment: 'enrollment',
25
+ Unenrollment: 'unenrollment',
26
+ Recovery: 'recovery',
27
+ StageConfiguration: 'stage_configuration'
28
+ } as const;
29
+
30
+ export type FlowDesignationEnum = typeof FlowDesignationEnum[keyof typeof FlowDesignationEnum];
31
+
29
32
 
30
33
  export function FlowDesignationEnumFromJSON(json: any): FlowDesignationEnum {
31
34
  return FlowDesignationEnumFromJSONTyped(json, false);
@@ -12,17 +12,20 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
+
15
16
  /**
16
17
  *
17
18
  * @export
18
- * @enum {string}
19
19
  */
20
- export enum IntentEnum {
21
- Verification = 'verification',
22
- Api = 'api',
23
- Recovery = 'recovery',
24
- AppPassword = 'app_password'
25
- }
20
+ export const IntentEnum = {
21
+ Verification: 'verification',
22
+ Api: 'api',
23
+ Recovery: 'recovery',
24
+ AppPassword: 'app_password'
25
+ } as const;
26
+
27
+ export type IntentEnum = typeof IntentEnum[keyof typeof IntentEnum];
28
+
26
29
 
27
30
  export function IntentEnumFromJSON(json: any): IntentEnum {
28
31
  return IntentEnumFromJSONTyped(json, false);
@@ -12,16 +12,19 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
+
15
16
  /**
16
17
  *
17
18
  * @export
18
- * @enum {string}
19
19
  */
20
- export enum InvalidResponseActionEnum {
21
- Retry = 'retry',
22
- Restart = 'restart',
23
- RestartWithContext = 'restart_with_context'
24
- }
20
+ export const InvalidResponseActionEnum = {
21
+ Retry: 'retry',
22
+ Restart: 'restart',
23
+ RestartWithContext: 'restart_with_context'
24
+ } as const;
25
+
26
+ export type InvalidResponseActionEnum = typeof InvalidResponseActionEnum[keyof typeof InvalidResponseActionEnum];
27
+
25
28
 
26
29
  export function InvalidResponseActionEnumFromJSON(json: any): InvalidResponseActionEnum {
27
30
  return InvalidResponseActionEnumFromJSONTyped(json, false);
@@ -12,15 +12,18 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
+
15
16
  /**
16
17
  *
17
18
  * @export
18
- * @enum {string}
19
19
  */
20
- export enum IssuerModeEnum {
21
- Global = 'global',
22
- PerProvider = 'per_provider'
23
- }
20
+ export const IssuerModeEnum = {
21
+ Global: 'global',
22
+ PerProvider: 'per_provider'
23
+ } as const;
24
+
25
+ export type IssuerModeEnum = typeof IssuerModeEnum[keyof typeof IssuerModeEnum];
26
+
24
27
 
25
28
  export function IssuerModeEnumFromJSON(json: any): IssuerModeEnum {
26
29
  return IssuerModeEnumFromJSONTyped(json, false);