@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,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 NameIdPolicyEnum {
21
- _11nameidFormatemailAddress = 'urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress',
22
- _20nameidFormatpersistent = 'urn:oasis:names:tc:SAML:2.0:nameid-format:persistent',
23
- _20nameidFormatX509SubjectName = 'urn:oasis:names:tc:SAML:2.0:nameid-format:X509SubjectName',
24
- _20nameidFormatWindowsDomainQualifiedName = 'urn:oasis:names:tc:SAML:2.0:nameid-format:WindowsDomainQualifiedName',
25
- _20nameidFormattransient = 'urn:oasis:names:tc:SAML:2.0:nameid-format:transient'
26
- }
20
+ export const NameIdPolicyEnum = {
21
+ _11nameidFormatemailAddress: 'urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress',
22
+ _20nameidFormatpersistent: 'urn:oasis:names:tc:SAML:2.0:nameid-format:persistent',
23
+ _20nameidFormatX509SubjectName: 'urn:oasis:names:tc:SAML:2.0:nameid-format:X509SubjectName',
24
+ _20nameidFormatWindowsDomainQualifiedName: 'urn:oasis:names:tc:SAML:2.0:nameid-format:WindowsDomainQualifiedName',
25
+ _20nameidFormattransient: 'urn:oasis:names:tc:SAML:2.0:nameid-format:transient'
26
+ } as const;
27
+
28
+ export type NameIdPolicyEnum = typeof NameIdPolicyEnum[keyof typeof NameIdPolicyEnum];
29
+
27
30
 
28
31
  export function NameIdPolicyEnumFromJSON(json: any): NameIdPolicyEnum {
29
32
  return NameIdPolicyEnumFromJSONTyped(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 NotConfiguredActionEnum {
21
- Skip = 'skip',
22
- Deny = 'deny',
23
- Configure = 'configure'
24
- }
20
+ export const NotConfiguredActionEnum = {
21
+ Skip: 'skip',
22
+ Deny: 'deny',
23
+ Configure: 'configure'
24
+ } as const;
25
+
26
+ export type NotConfiguredActionEnum = typeof NotConfiguredActionEnum[keyof typeof NotConfiguredActionEnum];
27
+
25
28
 
26
29
  export function NotConfiguredActionEnumFromJSON(json: any): NotConfiguredActionEnum {
27
30
  return NotConfiguredActionEnumFromJSONTyped(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 NotificationTransportModeEnum {
21
- Webhook = 'webhook',
22
- WebhookSlack = 'webhook_slack',
23
- Email = 'email'
24
- }
20
+ export const NotificationTransportModeEnum = {
21
+ Webhook: 'webhook',
22
+ WebhookSlack: 'webhook_slack',
23
+ Email: 'email'
24
+ } as const;
25
+
26
+ export type NotificationTransportModeEnum = typeof NotificationTransportModeEnum[keyof typeof NotificationTransportModeEnum];
27
+
25
28
 
26
29
  export function NotificationTransportModeEnumFromJSON(json: any): NotificationTransportModeEnum {
27
30
  return NotificationTransportModeEnumFromJSONTyped(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 OutpostTypeEnum {
21
- Proxy = 'proxy',
22
- Ldap = 'ldap'
23
- }
20
+ export const OutpostTypeEnum = {
21
+ Proxy: 'proxy',
22
+ Ldap: 'ldap'
23
+ } as const;
24
+
25
+ export type OutpostTypeEnum = typeof OutpostTypeEnum[keyof typeof OutpostTypeEnum];
26
+
24
27
 
25
28
  export function OutpostTypeEnumFromJSON(json: any): OutpostTypeEnum {
26
29
  return OutpostTypeEnumFromJSONTyped(json, false);
@@ -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 PatchedApplicationRequest {
50
44
  * @memberof PatchedApplicationRequest
51
45
  */
52
46
  provider?: number | null;
53
- /**
54
- *
55
- * @type {ProviderRequest}
56
- * @memberof PatchedApplicationRequest
57
- */
58
- providerObj?: ProviderRequest;
59
47
  /**
60
48
  *
61
49
  * @type {string}
@@ -101,7 +89,6 @@ export function PatchedApplicationRequestFromJSONTyped(json: any, ignoreDiscrimi
101
89
  'name': !exists(json, 'name') ? undefined : json['name'],
102
90
  'slug': !exists(json, 'slug') ? undefined : 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 PatchedApplicationRequestToJSON(value?: PatchedApplicationReques
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,
@@ -91,6 +91,12 @@ export interface PatchedTenantRequest {
91
91
  * @memberof PatchedTenantRequest
92
92
  */
93
93
  webCertificate?: string | null;
94
+ /**
95
+ *
96
+ * @type {{ [key: string]: any; }}
97
+ * @memberof PatchedTenantRequest
98
+ */
99
+ attributes?: { [key: string]: any; };
94
100
  }
95
101
 
96
102
  export function PatchedTenantRequestFromJSON(json: any): PatchedTenantRequest {
@@ -115,6 +121,7 @@ export function PatchedTenantRequestFromJSONTyped(json: any, ignoreDiscriminator
115
121
  'flowUserSettings': !exists(json, 'flow_user_settings') ? undefined : json['flow_user_settings'],
116
122
  'eventRetention': !exists(json, 'event_retention') ? undefined : json['event_retention'],
117
123
  'webCertificate': !exists(json, 'web_certificate') ? undefined : json['web_certificate'],
124
+ 'attributes': !exists(json, 'attributes') ? undefined : json['attributes'],
118
125
  };
119
126
  }
120
127
 
@@ -139,6 +146,7 @@ export function PatchedTenantRequestToJSON(value?: PatchedTenantRequest | null):
139
146
  'flow_user_settings': value.flowUserSettings,
140
147
  'event_retention': value.eventRetention,
141
148
  'web_certificate': value.webCertificate,
149
+ 'attributes': value.attributes,
142
150
  };
143
151
  }
144
152
 
@@ -19,12 +19,6 @@ import {
19
19
  IntentEnumFromJSONTyped,
20
20
  IntentEnumToJSON,
21
21
  } from './IntentEnum';
22
- import {
23
- UserRequest,
24
- UserRequestFromJSON,
25
- UserRequestFromJSONTyped,
26
- UserRequestToJSON,
27
- } from './UserRequest';
28
22
 
29
23
  /**
30
24
  * Token Serializer
@@ -56,12 +50,6 @@ export interface PatchedTokenRequest {
56
50
  * @memberof PatchedTokenRequest
57
51
  */
58
52
  user?: number;
59
- /**
60
- *
61
- * @type {UserRequest}
62
- * @memberof PatchedTokenRequest
63
- */
64
- userObj?: UserRequest;
65
53
  /**
66
54
  *
67
55
  * @type {string}
@@ -96,7 +84,6 @@ export function PatchedTokenRequestFromJSONTyped(json: any, ignoreDiscriminator:
96
84
  'identifier': !exists(json, 'identifier') ? undefined : json['identifier'],
97
85
  'intent': !exists(json, 'intent') ? undefined : IntentEnumFromJSON(json['intent']),
98
86
  'user': !exists(json, 'user') ? undefined : json['user'],
99
- 'userObj': !exists(json, 'user_obj') ? undefined : UserRequestFromJSON(json['user_obj']),
100
87
  'description': !exists(json, 'description') ? undefined : json['description'],
101
88
  'expires': !exists(json, 'expires') ? undefined : (new Date(json['expires'])),
102
89
  'expiring': !exists(json, 'expiring') ? undefined : json['expiring'],
@@ -116,7 +103,6 @@ export function PatchedTokenRequestToJSON(value?: PatchedTokenRequest | null): a
116
103
  'identifier': value.identifier,
117
104
  'intent': IntentEnumToJSON(value.intent),
118
105
  'user': value.user,
119
- 'user_obj': UserRequestToJSON(value.userObj),
120
106
  'description': value.description,
121
107
  'expires': value.expires === undefined ? undefined : (value.expires.toISOString()),
122
108
  'expiring': value.expiring,
@@ -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 PolicyEngineMode {
21
- All = 'all',
22
- Any = 'any'
23
- }
20
+ export const PolicyEngineMode = {
21
+ All: 'all',
22
+ Any: 'any'
23
+ } as const;
24
+
25
+ export type PolicyEngineMode = typeof PolicyEngineMode[keyof typeof PolicyEngineMode];
26
+
24
27
 
25
28
  export function PolicyEngineModeFromJSON(json: any): PolicyEngineMode {
26
29
  return PolicyEngineModeFromJSONTyped(json, false);
@@ -12,26 +12,29 @@
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 PromptTypeEnum {
21
- Text = 'text',
22
- TextReadOnly = 'text_read_only',
23
- Username = 'username',
24
- Email = 'email',
25
- Password = 'password',
26
- Number = 'number',
27
- Checkbox = 'checkbox',
28
- Date = 'date',
29
- DateTime = 'date-time',
30
- Separator = 'separator',
31
- Hidden = 'hidden',
32
- Static = 'static',
33
- AkLocale = 'ak-locale'
34
- }
20
+ export const PromptTypeEnum = {
21
+ Text: 'text',
22
+ TextReadOnly: 'text_read_only',
23
+ Username: 'username',
24
+ Email: 'email',
25
+ Password: 'password',
26
+ Number: 'number',
27
+ Checkbox: 'checkbox',
28
+ Date: 'date',
29
+ DateTime: 'date-time',
30
+ Separator: 'separator',
31
+ Hidden: 'hidden',
32
+ Static: 'static',
33
+ AkLocale: 'ak-locale'
34
+ } as const;
35
+
36
+ export type PromptTypeEnum = typeof PromptTypeEnum[keyof typeof PromptTypeEnum];
37
+
35
38
 
36
39
  export function PromptTypeEnumFromJSON(json: any): PromptTypeEnum {
37
40
  return PromptTypeEnumFromJSONTyped(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 ProviderEnum {
21
- Twilio = 'twilio',
22
- Generic = 'generic'
23
- }
20
+ export const ProviderEnum = {
21
+ Twilio: 'twilio',
22
+ Generic: 'generic'
23
+ } as const;
24
+
25
+ export type ProviderEnum = typeof ProviderEnum[keyof typeof ProviderEnum];
26
+
24
27
 
25
28
  export function ProviderEnumFromJSON(json: any): ProviderEnum {
26
29
  return ProviderEnumFromJSONTyped(json, false);
@@ -12,24 +12,27 @@
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 ProviderTypeEnum {
21
- Apple = 'apple',
22
- Azuread = 'azuread',
23
- Discord = 'discord',
24
- Facebook = 'facebook',
25
- Github = 'github',
26
- Google = 'google',
27
- Openidconnect = 'openidconnect',
28
- Okta = 'okta',
29
- Reddit = 'reddit',
30
- Twitter = 'twitter',
31
- Mailcow = 'mailcow'
32
- }
20
+ export const ProviderTypeEnum = {
21
+ Apple: 'apple',
22
+ Azuread: 'azuread',
23
+ Discord: 'discord',
24
+ Facebook: 'facebook',
25
+ Github: 'github',
26
+ Google: 'google',
27
+ Openidconnect: 'openidconnect',
28
+ Okta: 'okta',
29
+ Reddit: 'reddit',
30
+ Twitter: 'twitter',
31
+ Mailcow: 'mailcow'
32
+ } as const;
33
+
34
+ export type ProviderTypeEnum = typeof ProviderTypeEnum[keyof typeof ProviderTypeEnum];
35
+
33
36
 
34
37
  export function ProviderTypeEnumFromJSON(json: any): ProviderTypeEnum {
35
38
  return ProviderTypeEnumFromJSONTyped(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 ProxyMode {
21
- Proxy = 'proxy',
22
- ForwardSingle = 'forward_single',
23
- ForwardDomain = 'forward_domain'
24
- }
20
+ export const ProxyMode = {
21
+ Proxy: 'proxy',
22
+ ForwardSingle: 'forward_single',
23
+ ForwardDomain: 'forward_domain'
24
+ } as const;
25
+
26
+ export type ProxyMode = typeof ProxyMode[keyof typeof ProxyMode];
27
+
25
28
 
26
29
  export function ProxyModeFromJSON(json: any): ProxyMode {
27
30
  return ProxyModeFromJSONTyped(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 ResidentKeyRequirementEnum {
21
- Discouraged = 'discouraged',
22
- Preferred = 'preferred',
23
- Required = 'required'
24
- }
20
+ export const ResidentKeyRequirementEnum = {
21
+ Discouraged: 'discouraged',
22
+ Preferred: 'preferred',
23
+ Required: 'required'
24
+ } as const;
25
+
26
+ export type ResidentKeyRequirementEnum = typeof ResidentKeyRequirementEnum[keyof typeof ResidentKeyRequirementEnum];
27
+
25
28
 
26
29
  export function ResidentKeyRequirementEnumFromJSON(json: any): ResidentKeyRequirementEnum {
27
30
  return ResidentKeyRequirementEnumFromJSONTyped(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 SearchModeEnum {
21
- Direct = 'direct',
22
- Cached = 'cached'
23
- }
20
+ export const SearchModeEnum = {
21
+ Direct: 'direct',
22
+ Cached: 'cached'
23
+ } as const;
24
+
25
+ export type SearchModeEnum = typeof SearchModeEnum[keyof typeof SearchModeEnum];
26
+
24
27
 
25
28
  export function SearchModeEnumFromJSON(json: any): SearchModeEnum {
26
29
  return SearchModeEnumFromJSONTyped(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 SeverityEnum {
21
- Notice = 'notice',
22
- Warning = 'warning',
23
- Alert = 'alert'
24
- }
20
+ export const SeverityEnum = {
21
+ Notice: 'notice',
22
+ Warning: 'warning',
23
+ Alert: 'alert'
24
+ } as const;
25
+
26
+ export type SeverityEnum = typeof SeverityEnum[keyof typeof SeverityEnum];
27
+
25
28
 
26
29
  export function SeverityEnumFromJSON(json: any): SeverityEnum {
27
30
  return SeverityEnumFromJSONTyped(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 SignatureAlgorithmEnum {
21
- _200009XmldsigrsaSha1 = 'http://www.w3.org/2000/09/xmldsig#rsa-sha1',
22
- _200104XmldsigMorersaSha256 = 'http://www.w3.org/2001/04/xmldsig-more#rsa-sha256',
23
- _200104XmldsigMorersaSha384 = 'http://www.w3.org/2001/04/xmldsig-more#rsa-sha384',
24
- _200104XmldsigMorersaSha512 = 'http://www.w3.org/2001/04/xmldsig-more#rsa-sha512',
25
- _200009XmldsigdsaSha1 = 'http://www.w3.org/2000/09/xmldsig#dsa-sha1'
26
- }
20
+ export const SignatureAlgorithmEnum = {
21
+ _200009XmldsigrsaSha1: 'http://www.w3.org/2000/09/xmldsig#rsa-sha1',
22
+ _200104XmldsigMorersaSha256: 'http://www.w3.org/2001/04/xmldsig-more#rsa-sha256',
23
+ _200104XmldsigMorersaSha384: 'http://www.w3.org/2001/04/xmldsig-more#rsa-sha384',
24
+ _200104XmldsigMorersaSha512: 'http://www.w3.org/2001/04/xmldsig-more#rsa-sha512',
25
+ _200009XmldsigdsaSha1: 'http://www.w3.org/2000/09/xmldsig#dsa-sha1'
26
+ } as const;
27
+
28
+ export type SignatureAlgorithmEnum = typeof SignatureAlgorithmEnum[keyof typeof SignatureAlgorithmEnum];
29
+
27
30
 
28
31
  export function SignatureAlgorithmEnumFromJSON(json: any): SignatureAlgorithmEnum {
29
32
  return SignatureAlgorithmEnumFromJSONTyped(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 SpBindingEnum {
21
- Redirect = 'redirect',
22
- Post = 'post'
23
- }
20
+ export const SpBindingEnum = {
21
+ Redirect: 'redirect',
22
+ Post: 'post'
23
+ } as const;
24
+
25
+ export type SpBindingEnum = typeof SpBindingEnum[keyof typeof SpBindingEnum];
26
+
24
27
 
25
28
  export function SpBindingEnumFromJSON(json: any): SpBindingEnum {
26
29
  return SpBindingEnumFromJSONTyped(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 StatusEnum {
21
- Successful = 'SUCCESSFUL',
22
- Warning = 'WARNING',
23
- Error = 'ERROR',
24
- Unknown = 'UNKNOWN'
25
- }
20
+ export const StatusEnum = {
21
+ Successful: 'SUCCESSFUL',
22
+ Warning: 'WARNING',
23
+ Error: 'ERROR',
24
+ Unknown: 'UNKNOWN'
25
+ } as const;
26
+
27
+ export type StatusEnum = typeof StatusEnum[keyof typeof StatusEnum];
28
+
26
29
 
27
30
  export function StatusEnumFromJSON(json: any): StatusEnum {
28
31
  return StatusEnumFromJSONTyped(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 SubModeEnum {
21
- HashedUserId = 'hashed_user_id',
22
- UserUsername = 'user_username',
23
- UserEmail = 'user_email',
24
- UserUpn = 'user_upn'
25
- }
20
+ export const SubModeEnum = {
21
+ HashedUserId: 'hashed_user_id',
22
+ UserUsername: 'user_username',
23
+ UserEmail: 'user_email',
24
+ UserUpn: 'user_upn'
25
+ } as const;
26
+
27
+ export type SubModeEnum = typeof SubModeEnum[keyof typeof SubModeEnum];
28
+
26
29
 
27
30
  export function SubModeEnumFromJSON(json: any): SubModeEnum {
28
31
  return SubModeEnumFromJSONTyped(json, false);
@@ -97,6 +97,12 @@ export interface Tenant {
97
97
  * @memberof Tenant
98
98
  */
99
99
  webCertificate?: string | null;
100
+ /**
101
+ *
102
+ * @type {{ [key: string]: any; }}
103
+ * @memberof Tenant
104
+ */
105
+ attributes?: { [key: string]: any; };
100
106
  }
101
107
 
102
108
  export function TenantFromJSON(json: any): Tenant {
@@ -122,6 +128,7 @@ export function TenantFromJSONTyped(json: any, ignoreDiscriminator: boolean): Te
122
128
  'flowUserSettings': !exists(json, 'flow_user_settings') ? undefined : json['flow_user_settings'],
123
129
  'eventRetention': !exists(json, 'event_retention') ? undefined : json['event_retention'],
124
130
  'webCertificate': !exists(json, 'web_certificate') ? undefined : json['web_certificate'],
131
+ 'attributes': !exists(json, 'attributes') ? undefined : json['attributes'],
125
132
  };
126
133
  }
127
134
 
@@ -146,6 +153,7 @@ export function TenantToJSON(value?: Tenant | null): any {
146
153
  'flow_user_settings': value.flowUserSettings,
147
154
  'event_retention': value.eventRetention,
148
155
  'web_certificate': value.webCertificate,
156
+ 'attributes': value.attributes,
149
157
  };
150
158
  }
151
159
 
@@ -91,6 +91,12 @@ export interface TenantRequest {
91
91
  * @memberof TenantRequest
92
92
  */
93
93
  webCertificate?: string | null;
94
+ /**
95
+ *
96
+ * @type {{ [key: string]: any; }}
97
+ * @memberof TenantRequest
98
+ */
99
+ attributes?: { [key: string]: any; };
94
100
  }
95
101
 
96
102
  export function TenantRequestFromJSON(json: any): TenantRequest {
@@ -115,6 +121,7 @@ export function TenantRequestFromJSONTyped(json: any, ignoreDiscriminator: boole
115
121
  'flowUserSettings': !exists(json, 'flow_user_settings') ? undefined : json['flow_user_settings'],
116
122
  'eventRetention': !exists(json, 'event_retention') ? undefined : json['event_retention'],
117
123
  'webCertificate': !exists(json, 'web_certificate') ? undefined : json['web_certificate'],
124
+ 'attributes': !exists(json, 'attributes') ? undefined : json['attributes'],
118
125
  };
119
126
  }
120
127
 
@@ -139,6 +146,7 @@ export function TenantRequestToJSON(value?: TenantRequest | null): any {
139
146
  'flow_user_settings': value.flowUserSettings,
140
147
  'event_retention': value.eventRetention,
141
148
  'web_certificate': value.webCertificate,
149
+ 'attributes': value.attributes,
142
150
  };
143
151
  }
144
152
 
@@ -67,7 +67,7 @@ export interface Token {
67
67
  * @type {User}
68
68
  * @memberof Token
69
69
  */
70
- userObj?: User;
70
+ readonly userObj: User | null;
71
71
  /**
72
72
  *
73
73
  * @type {string}
@@ -103,7 +103,7 @@ export function TokenFromJSONTyped(json: any, ignoreDiscriminator: boolean): Tok
103
103
  'identifier': json['identifier'],
104
104
  'intent': !exists(json, 'intent') ? undefined : IntentEnumFromJSON(json['intent']),
105
105
  'user': !exists(json, 'user') ? undefined : json['user'],
106
- 'userObj': !exists(json, 'user_obj') ? undefined : UserFromJSON(json['user_obj']),
106
+ 'userObj': UserFromJSON(json['user_obj']),
107
107
  'description': !exists(json, 'description') ? undefined : json['description'],
108
108
  'expires': !exists(json, 'expires') ? undefined : (new Date(json['expires'])),
109
109
  'expiring': !exists(json, 'expiring') ? undefined : json['expiring'],
@@ -123,7 +123,6 @@ export function TokenToJSON(value?: Token | null): any {
123
123
  'identifier': value.identifier,
124
124
  'intent': IntentEnumToJSON(value.intent),
125
125
  'user': value.user,
126
- 'user_obj': UserToJSON(value.userObj),
127
126
  'description': value.description,
128
127
  'expires': value.expires === undefined ? undefined : (value.expires.toISOString()),
129
128
  'expiring': value.expiring,