@goauthentik/api 2023.10.5-1703167718 → 2023.10.5-1703968412

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 (167) hide show
  1. package/.openapi-generator/FILES +17 -0
  2. package/dist/apis/PropertymappingsApi.d.ts +85 -1
  3. package/dist/apis/PropertymappingsApi.js +240 -0
  4. package/dist/apis/ProvidersApi.d.ts +85 -1
  5. package/dist/apis/ProvidersApi.js +240 -0
  6. package/dist/apis/RacApi.d.ts +103 -0
  7. package/dist/apis/RacApi.js +276 -0
  8. package/dist/apis/RbacApi.d.ts +6 -0
  9. package/dist/apis/RbacApi.js +6 -0
  10. package/dist/apis/SchemaApi.d.ts +0 -1
  11. package/dist/apis/SchemaApi.js +0 -1
  12. package/dist/apis/StagesApi.d.ts +24 -0
  13. package/dist/apis/StagesApi.js +27 -1
  14. package/dist/apis/index.d.ts +1 -0
  15. package/dist/apis/index.js +1 -0
  16. package/dist/esm/apis/PropertymappingsApi.d.ts +85 -1
  17. package/dist/esm/apis/PropertymappingsApi.js +241 -1
  18. package/dist/esm/apis/ProvidersApi.d.ts +85 -1
  19. package/dist/esm/apis/ProvidersApi.js +241 -1
  20. package/dist/esm/apis/RacApi.d.ts +103 -0
  21. package/dist/esm/apis/RacApi.js +272 -0
  22. package/dist/esm/apis/RbacApi.d.ts +6 -0
  23. package/dist/esm/apis/RbacApi.js +6 -0
  24. package/dist/esm/apis/SchemaApi.d.ts +0 -1
  25. package/dist/esm/apis/SchemaApi.js +0 -1
  26. package/dist/esm/apis/StagesApi.d.ts +24 -0
  27. package/dist/esm/apis/StagesApi.js +26 -0
  28. package/dist/esm/apis/index.d.ts +1 -0
  29. package/dist/esm/apis/index.js +1 -0
  30. package/dist/esm/models/AppEnum.d.ts +2 -0
  31. package/dist/esm/models/AppEnum.js +2 -0
  32. package/dist/esm/models/AuthModeEnum.d.ts +25 -0
  33. package/dist/esm/models/AuthModeEnum.js +32 -0
  34. package/dist/esm/models/Endpoint.d.ts +89 -0
  35. package/dist/esm/models/Endpoint.js +69 -0
  36. package/dist/esm/models/EndpointRequest.d.ts +69 -0
  37. package/dist/esm/models/EndpointRequest.js +62 -0
  38. package/dist/esm/models/GeoipBindingEnum.d.ts +29 -0
  39. package/dist/esm/models/GeoipBindingEnum.js +36 -0
  40. package/dist/esm/models/ModelEnum.d.ts +6 -0
  41. package/dist/esm/models/ModelEnum.js +6 -0
  42. package/dist/esm/models/ModelRequest.d.ts +3 -0
  43. package/dist/esm/models/ModelRequest.js +5 -0
  44. package/dist/esm/models/NetworkBindingEnum.d.ts +29 -0
  45. package/dist/esm/models/NetworkBindingEnum.js +36 -0
  46. package/dist/esm/models/OutpostTypeEnum.d.ts +2 -0
  47. package/dist/esm/models/OutpostTypeEnum.js +2 -0
  48. package/dist/esm/models/PaginatedEndpointList.d.ts +39 -0
  49. package/dist/esm/models/PaginatedEndpointList.js +48 -0
  50. package/dist/esm/models/PaginatedRACPropertyMappingList.d.ts +39 -0
  51. package/dist/esm/models/PaginatedRACPropertyMappingList.js +48 -0
  52. package/dist/esm/models/PaginatedRACProviderList.d.ts +39 -0
  53. package/dist/esm/models/PaginatedRACProviderList.js +48 -0
  54. package/dist/esm/models/PatchedEndpointRequest.d.ts +69 -0
  55. package/dist/esm/models/PatchedEndpointRequest.js +57 -0
  56. package/dist/esm/models/PatchedRACPropertyMappingRequest.d.ts +51 -0
  57. package/dist/esm/models/PatchedRACPropertyMappingRequest.js +49 -0
  58. package/dist/esm/models/PatchedRACProviderRequest.d.ts +61 -0
  59. package/dist/esm/models/PatchedRACProviderRequest.js +53 -0
  60. package/dist/esm/models/PatchedUserLoginStageRequest.d.ts +14 -0
  61. package/dist/esm/models/PatchedUserLoginStageRequest.js +6 -0
  62. package/dist/esm/models/ProtocolEnum.d.ts +27 -0
  63. package/dist/esm/models/ProtocolEnum.js +34 -0
  64. package/dist/esm/models/ProviderModelEnum.d.ts +2 -0
  65. package/dist/esm/models/ProviderModelEnum.js +2 -0
  66. package/dist/esm/models/ProviderTypeEnum.d.ts +2 -2
  67. package/dist/esm/models/ProviderTypeEnum.js +2 -2
  68. package/dist/esm/models/RACPropertyMapping.d.ts +81 -0
  69. package/dist/esm/models/RACPropertyMapping.js +61 -0
  70. package/dist/esm/models/RACPropertyMappingRequest.d.ts +51 -0
  71. package/dist/esm/models/RACPropertyMappingRequest.js +51 -0
  72. package/dist/esm/models/RACProvider.d.ts +121 -0
  73. package/dist/esm/models/RACProvider.js +75 -0
  74. package/dist/esm/models/RACProviderRequest.d.ts +61 -0
  75. package/dist/esm/models/RACProviderRequest.js +55 -0
  76. package/dist/esm/models/UserLoginStage.d.ts +14 -0
  77. package/dist/esm/models/UserLoginStage.js +6 -0
  78. package/dist/esm/models/UserLoginStageRequest.d.ts +14 -0
  79. package/dist/esm/models/UserLoginStageRequest.js +6 -0
  80. package/dist/esm/models/index.d.ts +16 -0
  81. package/dist/esm/models/index.js +16 -0
  82. package/dist/models/AppEnum.d.ts +2 -0
  83. package/dist/models/AppEnum.js +2 -0
  84. package/dist/models/AuthModeEnum.d.ts +25 -0
  85. package/dist/models/AuthModeEnum.js +38 -0
  86. package/dist/models/Endpoint.d.ts +89 -0
  87. package/dist/models/Endpoint.js +76 -0
  88. package/dist/models/EndpointRequest.d.ts +69 -0
  89. package/dist/models/EndpointRequest.js +69 -0
  90. package/dist/models/GeoipBindingEnum.d.ts +29 -0
  91. package/dist/models/GeoipBindingEnum.js +42 -0
  92. package/dist/models/ModelEnum.d.ts +6 -0
  93. package/dist/models/ModelEnum.js +6 -0
  94. package/dist/models/ModelRequest.d.ts +3 -0
  95. package/dist/models/ModelRequest.js +5 -0
  96. package/dist/models/NetworkBindingEnum.d.ts +29 -0
  97. package/dist/models/NetworkBindingEnum.js +42 -0
  98. package/dist/models/OutpostTypeEnum.d.ts +2 -0
  99. package/dist/models/OutpostTypeEnum.js +2 -0
  100. package/dist/models/PaginatedEndpointList.d.ts +39 -0
  101. package/dist/models/PaginatedEndpointList.js +55 -0
  102. package/dist/models/PaginatedRACPropertyMappingList.d.ts +39 -0
  103. package/dist/models/PaginatedRACPropertyMappingList.js +55 -0
  104. package/dist/models/PaginatedRACProviderList.d.ts +39 -0
  105. package/dist/models/PaginatedRACProviderList.js +55 -0
  106. package/dist/models/PatchedEndpointRequest.d.ts +69 -0
  107. package/dist/models/PatchedEndpointRequest.js +64 -0
  108. package/dist/models/PatchedRACPropertyMappingRequest.d.ts +51 -0
  109. package/dist/models/PatchedRACPropertyMappingRequest.js +56 -0
  110. package/dist/models/PatchedRACProviderRequest.d.ts +61 -0
  111. package/dist/models/PatchedRACProviderRequest.js +60 -0
  112. package/dist/models/PatchedUserLoginStageRequest.d.ts +14 -0
  113. package/dist/models/PatchedUserLoginStageRequest.js +6 -0
  114. package/dist/models/ProtocolEnum.d.ts +27 -0
  115. package/dist/models/ProtocolEnum.js +40 -0
  116. package/dist/models/ProviderModelEnum.d.ts +2 -0
  117. package/dist/models/ProviderModelEnum.js +2 -0
  118. package/dist/models/ProviderTypeEnum.d.ts +2 -2
  119. package/dist/models/ProviderTypeEnum.js +2 -2
  120. package/dist/models/RACPropertyMapping.d.ts +81 -0
  121. package/dist/models/RACPropertyMapping.js +68 -0
  122. package/dist/models/RACPropertyMappingRequest.d.ts +51 -0
  123. package/dist/models/RACPropertyMappingRequest.js +58 -0
  124. package/dist/models/RACProvider.d.ts +121 -0
  125. package/dist/models/RACProvider.js +82 -0
  126. package/dist/models/RACProviderRequest.d.ts +61 -0
  127. package/dist/models/RACProviderRequest.js +62 -0
  128. package/dist/models/UserLoginStage.d.ts +14 -0
  129. package/dist/models/UserLoginStage.js +6 -0
  130. package/dist/models/UserLoginStageRequest.d.ts +14 -0
  131. package/dist/models/UserLoginStageRequest.js +6 -0
  132. package/dist/models/index.d.ts +16 -0
  133. package/dist/models/index.js +16 -0
  134. package/package.json +1 -1
  135. package/src/apis/PropertymappingsApi.ts +317 -0
  136. package/src/apis/ProvidersApi.ts +317 -0
  137. package/src/apis/RacApi.ts +358 -0
  138. package/src/apis/RbacApi.ts +6 -0
  139. package/src/apis/SchemaApi.ts +0 -1
  140. package/src/apis/StagesApi.ts +32 -0
  141. package/src/apis/index.ts +1 -0
  142. package/src/models/AppEnum.ts +2 -0
  143. package/src/models/AuthModeEnum.ts +40 -0
  144. package/src/models/Endpoint.ts +162 -0
  145. package/src/models/EndpointRequest.ts +131 -0
  146. package/src/models/GeoipBindingEnum.ts +44 -0
  147. package/src/models/ModelEnum.ts +6 -0
  148. package/src/models/ModelRequest.ts +12 -1
  149. package/src/models/NetworkBindingEnum.ts +44 -0
  150. package/src/models/OutpostTypeEnum.ts +2 -0
  151. package/src/models/PaginatedEndpointList.ts +88 -0
  152. package/src/models/PaginatedRACPropertyMappingList.ts +88 -0
  153. package/src/models/PaginatedRACProviderList.ts +88 -0
  154. package/src/models/PatchedEndpointRequest.ts +126 -0
  155. package/src/models/PatchedRACPropertyMappingRequest.ts +89 -0
  156. package/src/models/PatchedRACProviderRequest.ts +105 -0
  157. package/src/models/PatchedUserLoginStageRequest.ts +28 -0
  158. package/src/models/ProtocolEnum.ts +42 -0
  159. package/src/models/ProviderModelEnum.ts +2 -0
  160. package/src/models/ProviderTypeEnum.ts +2 -2
  161. package/src/models/RACPropertyMapping.ts +131 -0
  162. package/src/models/RACPropertyMappingRequest.ts +91 -0
  163. package/src/models/RACProvider.ts +187 -0
  164. package/src/models/RACProviderRequest.ts +107 -0
  165. package/src/models/UserLoginStage.ts +28 -0
  166. package/src/models/UserLoginStageRequest.ts +28 -0
  167. package/src/models/index.ts +16 -0
@@ -0,0 +1,53 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2023.10.5
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
+ import { exists } from '../runtime';
15
+ /**
16
+ * Check if a given object implements the PatchedRACProviderRequest interface.
17
+ */
18
+ export function instanceOfPatchedRACProviderRequest(value) {
19
+ let isInstance = true;
20
+ return isInstance;
21
+ }
22
+ export function PatchedRACProviderRequestFromJSON(json) {
23
+ return PatchedRACProviderRequestFromJSONTyped(json, false);
24
+ }
25
+ export function PatchedRACProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
26
+ if ((json === undefined) || (json === null)) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'name': !exists(json, 'name') ? undefined : json['name'],
31
+ 'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
32
+ 'authorizationFlow': !exists(json, 'authorization_flow') ? undefined : json['authorization_flow'],
33
+ 'propertyMappings': !exists(json, 'property_mappings') ? undefined : json['property_mappings'],
34
+ 'settings': !exists(json, 'settings') ? undefined : json['settings'],
35
+ 'connectionExpiry': !exists(json, 'connection_expiry') ? undefined : json['connection_expiry'],
36
+ };
37
+ }
38
+ export function PatchedRACProviderRequestToJSON(value) {
39
+ if (value === undefined) {
40
+ return undefined;
41
+ }
42
+ if (value === null) {
43
+ return null;
44
+ }
45
+ return {
46
+ 'name': value.name,
47
+ 'authentication_flow': value.authenticationFlow,
48
+ 'authorization_flow': value.authorizationFlow,
49
+ 'property_mappings': value.propertyMappings,
50
+ 'settings': value.settings,
51
+ 'connection_expiry': value.connectionExpiry,
52
+ };
53
+ }
@@ -10,6 +10,8 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { FlowSetRequest } from './FlowSetRequest';
13
+ import type { GeoipBindingEnum } from './GeoipBindingEnum';
14
+ import type { NetworkBindingEnum } from './NetworkBindingEnum';
13
15
  /**
14
16
  * UserLoginStage Serializer
15
17
  * @export
@@ -46,6 +48,18 @@ export interface PatchedUserLoginStageRequest {
46
48
  * @memberof PatchedUserLoginStageRequest
47
49
  */
48
50
  rememberMeOffset?: string;
51
+ /**
52
+ *
53
+ * @type {NetworkBindingEnum}
54
+ * @memberof PatchedUserLoginStageRequest
55
+ */
56
+ networkBinding?: NetworkBindingEnum;
57
+ /**
58
+ *
59
+ * @type {GeoipBindingEnum}
60
+ * @memberof PatchedUserLoginStageRequest
61
+ */
62
+ geoipBinding?: GeoipBindingEnum;
49
63
  }
50
64
  /**
51
65
  * Check if a given object implements the PatchedUserLoginStageRequest interface.
@@ -13,6 +13,8 @@
13
13
  */
14
14
  import { exists } from '../runtime';
15
15
  import { FlowSetRequestFromJSON, FlowSetRequestToJSON, } from './FlowSetRequest';
16
+ import { GeoipBindingEnumFromJSON, GeoipBindingEnumToJSON, } from './GeoipBindingEnum';
17
+ import { NetworkBindingEnumFromJSON, NetworkBindingEnumToJSON, } from './NetworkBindingEnum';
16
18
  /**
17
19
  * Check if a given object implements the PatchedUserLoginStageRequest interface.
18
20
  */
@@ -33,6 +35,8 @@ export function PatchedUserLoginStageRequestFromJSONTyped(json, ignoreDiscrimina
33
35
  'sessionDuration': !exists(json, 'session_duration') ? undefined : json['session_duration'],
34
36
  'terminateOtherSessions': !exists(json, 'terminate_other_sessions') ? undefined : json['terminate_other_sessions'],
35
37
  'rememberMeOffset': !exists(json, 'remember_me_offset') ? undefined : json['remember_me_offset'],
38
+ 'networkBinding': !exists(json, 'network_binding') ? undefined : NetworkBindingEnumFromJSON(json['network_binding']),
39
+ 'geoipBinding': !exists(json, 'geoip_binding') ? undefined : GeoipBindingEnumFromJSON(json['geoip_binding']),
36
40
  };
37
41
  }
38
42
  export function PatchedUserLoginStageRequestToJSON(value) {
@@ -48,5 +52,7 @@ export function PatchedUserLoginStageRequestToJSON(value) {
48
52
  'session_duration': value.sessionDuration,
49
53
  'terminate_other_sessions': value.terminateOtherSessions,
50
54
  'remember_me_offset': value.rememberMeOffset,
55
+ 'network_binding': NetworkBindingEnumToJSON(value.networkBinding),
56
+ 'geoip_binding': GeoipBindingEnumToJSON(value.geoipBinding),
51
57
  };
52
58
  }
@@ -0,0 +1,27 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2023.10.5
6
+ * Contact: hello@goauthentik.io
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * * `rdp` - Rdp
14
+ * * `vnc` - Vnc
15
+ * * `ssh` - Ssh
16
+ * @export
17
+ */
18
+ export declare const ProtocolEnum: {
19
+ readonly Rdp: "rdp";
20
+ readonly Vnc: "vnc";
21
+ readonly Ssh: "ssh";
22
+ readonly UnknownDefaultOpenApi: "11184809";
23
+ };
24
+ export type ProtocolEnum = typeof ProtocolEnum[keyof typeof ProtocolEnum];
25
+ export declare function ProtocolEnumFromJSON(json: any): ProtocolEnum;
26
+ export declare function ProtocolEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProtocolEnum;
27
+ export declare function ProtocolEnumToJSON(value?: ProtocolEnum | null): any;
@@ -0,0 +1,34 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2023.10.5
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
+ * * `rdp` - Rdp
16
+ * * `vnc` - Vnc
17
+ * * `ssh` - Ssh
18
+ * @export
19
+ */
20
+ export const ProtocolEnum = {
21
+ Rdp: 'rdp',
22
+ Vnc: 'vnc',
23
+ Ssh: 'ssh',
24
+ UnknownDefaultOpenApi: '11184809'
25
+ };
26
+ export function ProtocolEnumFromJSON(json) {
27
+ return ProtocolEnumFromJSONTyped(json, false);
28
+ }
29
+ export function ProtocolEnumFromJSONTyped(json, ignoreDiscriminator) {
30
+ return json;
31
+ }
32
+ export function ProtocolEnumToJSON(value) {
33
+ return value;
34
+ }
@@ -13,6 +13,7 @@
13
13
  * * `authentik_providers_ldap.ldapprovider` - authentik_providers_ldap.ldapprovider
14
14
  * * `authentik_providers_oauth2.oauth2provider` - authentik_providers_oauth2.oauth2provider
15
15
  * * `authentik_providers_proxy.proxyprovider` - authentik_providers_proxy.proxyprovider
16
+ * * `authentik_providers_rac.racprovider` - authentik_providers_rac.racprovider
16
17
  * * `authentik_providers_radius.radiusprovider` - authentik_providers_radius.radiusprovider
17
18
  * * `authentik_providers_saml.samlprovider` - authentik_providers_saml.samlprovider
18
19
  * * `authentik_providers_scim.scimprovider` - authentik_providers_scim.scimprovider
@@ -22,6 +23,7 @@ export declare const ProviderModelEnum: {
22
23
  readonly LdapLdapprovider: "authentik_providers_ldap.ldapprovider";
23
24
  readonly Oauth2Oauth2provider: "authentik_providers_oauth2.oauth2provider";
24
25
  readonly ProxyProxyprovider: "authentik_providers_proxy.proxyprovider";
26
+ readonly RacRacprovider: "authentik_providers_rac.racprovider";
25
27
  readonly RadiusRadiusprovider: "authentik_providers_radius.radiusprovider";
26
28
  readonly SamlSamlprovider: "authentik_providers_saml.samlprovider";
27
29
  readonly ScimScimprovider: "authentik_providers_scim.scimprovider";
@@ -15,6 +15,7 @@
15
15
  * * `authentik_providers_ldap.ldapprovider` - authentik_providers_ldap.ldapprovider
16
16
  * * `authentik_providers_oauth2.oauth2provider` - authentik_providers_oauth2.oauth2provider
17
17
  * * `authentik_providers_proxy.proxyprovider` - authentik_providers_proxy.proxyprovider
18
+ * * `authentik_providers_rac.racprovider` - authentik_providers_rac.racprovider
18
19
  * * `authentik_providers_radius.radiusprovider` - authentik_providers_radius.radiusprovider
19
20
  * * `authentik_providers_saml.samlprovider` - authentik_providers_saml.samlprovider
20
21
  * * `authentik_providers_scim.scimprovider` - authentik_providers_scim.scimprovider
@@ -24,6 +25,7 @@ export const ProviderModelEnum = {
24
25
  LdapLdapprovider: 'authentik_providers_ldap.ldapprovider',
25
26
  Oauth2Oauth2provider: 'authentik_providers_oauth2.oauth2provider',
26
27
  ProxyProxyprovider: 'authentik_providers_proxy.proxyprovider',
28
+ RacRacprovider: 'authentik_providers_rac.racprovider',
27
29
  RadiusRadiusprovider: 'authentik_providers_radius.radiusprovider',
28
30
  SamlSamlprovider: 'authentik_providers_saml.samlprovider',
29
31
  ScimScimprovider: 'authentik_providers_scim.scimprovider',
@@ -11,13 +11,13 @@
11
11
  */
12
12
  /**
13
13
  * * `apple` - Apple
14
+ * * `openidconnect` - OpenID Connect
14
15
  * * `azuread` - Azure AD
15
16
  * * `discord` - Discord
16
17
  * * `facebook` - Facebook
17
18
  * * `github` - GitHub
18
19
  * * `google` - Google
19
20
  * * `mailcow` - Mailcow
20
- * * `openidconnect` - OpenID Connect
21
21
  * * `okta` - Okta
22
22
  * * `patreon` - Patreon
23
23
  * * `reddit` - Reddit
@@ -27,13 +27,13 @@
27
27
  */
28
28
  export declare const ProviderTypeEnum: {
29
29
  readonly Apple: "apple";
30
+ readonly Openidconnect: "openidconnect";
30
31
  readonly Azuread: "azuread";
31
32
  readonly Discord: "discord";
32
33
  readonly Facebook: "facebook";
33
34
  readonly Github: "github";
34
35
  readonly Google: "google";
35
36
  readonly Mailcow: "mailcow";
36
- readonly Openidconnect: "openidconnect";
37
37
  readonly Okta: "okta";
38
38
  readonly Patreon: "patreon";
39
39
  readonly Reddit: "reddit";
@@ -13,13 +13,13 @@
13
13
  */
14
14
  /**
15
15
  * * `apple` - Apple
16
+ * * `openidconnect` - OpenID Connect
16
17
  * * `azuread` - Azure AD
17
18
  * * `discord` - Discord
18
19
  * * `facebook` - Facebook
19
20
  * * `github` - GitHub
20
21
  * * `google` - Google
21
22
  * * `mailcow` - Mailcow
22
- * * `openidconnect` - OpenID Connect
23
23
  * * `okta` - Okta
24
24
  * * `patreon` - Patreon
25
25
  * * `reddit` - Reddit
@@ -29,13 +29,13 @@
29
29
  */
30
30
  export const ProviderTypeEnum = {
31
31
  Apple: 'apple',
32
+ Openidconnect: 'openidconnect',
32
33
  Azuread: 'azuread',
33
34
  Discord: 'discord',
34
35
  Facebook: 'facebook',
35
36
  Github: 'github',
36
37
  Google: 'google',
37
38
  Mailcow: 'mailcow',
38
- Openidconnect: 'openidconnect',
39
39
  Okta: 'okta',
40
40
  Patreon: 'patreon',
41
41
  Reddit: 'reddit',
@@ -0,0 +1,81 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2023.10.5
6
+ * Contact: hello@goauthentik.io
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * RACPropertyMapping Serializer
14
+ * @export
15
+ * @interface RACPropertyMapping
16
+ */
17
+ export interface RACPropertyMapping {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof RACPropertyMapping
22
+ */
23
+ readonly pk: string;
24
+ /**
25
+ * Objects that are managed by authentik. These objects are created and updated automatically. This flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
26
+ * @type {string}
27
+ * @memberof RACPropertyMapping
28
+ */
29
+ managed?: string | null;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof RACPropertyMapping
34
+ */
35
+ name: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof RACPropertyMapping
40
+ */
41
+ expression?: string;
42
+ /**
43
+ * Get object's component so that we know how to edit the object
44
+ * @type {string}
45
+ * @memberof RACPropertyMapping
46
+ */
47
+ readonly component: string;
48
+ /**
49
+ * Return object's verbose_name
50
+ * @type {string}
51
+ * @memberof RACPropertyMapping
52
+ */
53
+ readonly verboseName: string;
54
+ /**
55
+ * Return object's plural verbose_name
56
+ * @type {string}
57
+ * @memberof RACPropertyMapping
58
+ */
59
+ readonly verboseNamePlural: string;
60
+ /**
61
+ * Return internal model name
62
+ * @type {string}
63
+ * @memberof RACPropertyMapping
64
+ */
65
+ readonly metaModelName: string;
66
+ /**
67
+ *
68
+ * @type {{ [key: string]: any; }}
69
+ * @memberof RACPropertyMapping
70
+ */
71
+ staticSettings: {
72
+ [key: string]: any;
73
+ };
74
+ }
75
+ /**
76
+ * Check if a given object implements the RACPropertyMapping interface.
77
+ */
78
+ export declare function instanceOfRACPropertyMapping(value: object): boolean;
79
+ export declare function RACPropertyMappingFromJSON(json: any): RACPropertyMapping;
80
+ export declare function RACPropertyMappingFromJSONTyped(json: any, ignoreDiscriminator: boolean): RACPropertyMapping;
81
+ export declare function RACPropertyMappingToJSON(value?: RACPropertyMapping | null): any;
@@ -0,0 +1,61 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2023.10.5
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
+ import { exists } from '../runtime';
15
+ /**
16
+ * Check if a given object implements the RACPropertyMapping interface.
17
+ */
18
+ export function instanceOfRACPropertyMapping(value) {
19
+ let isInstance = true;
20
+ isInstance = isInstance && "pk" in value;
21
+ isInstance = isInstance && "name" in value;
22
+ isInstance = isInstance && "component" in value;
23
+ isInstance = isInstance && "verboseName" in value;
24
+ isInstance = isInstance && "verboseNamePlural" in value;
25
+ isInstance = isInstance && "metaModelName" in value;
26
+ isInstance = isInstance && "staticSettings" in value;
27
+ return isInstance;
28
+ }
29
+ export function RACPropertyMappingFromJSON(json) {
30
+ return RACPropertyMappingFromJSONTyped(json, false);
31
+ }
32
+ export function RACPropertyMappingFromJSONTyped(json, ignoreDiscriminator) {
33
+ if ((json === undefined) || (json === null)) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'pk': json['pk'],
38
+ 'managed': !exists(json, 'managed') ? undefined : json['managed'],
39
+ 'name': json['name'],
40
+ 'expression': !exists(json, 'expression') ? undefined : json['expression'],
41
+ 'component': json['component'],
42
+ 'verboseName': json['verbose_name'],
43
+ 'verboseNamePlural': json['verbose_name_plural'],
44
+ 'metaModelName': json['meta_model_name'],
45
+ 'staticSettings': json['static_settings'],
46
+ };
47
+ }
48
+ export function RACPropertyMappingToJSON(value) {
49
+ if (value === undefined) {
50
+ return undefined;
51
+ }
52
+ if (value === null) {
53
+ return null;
54
+ }
55
+ return {
56
+ 'managed': value.managed,
57
+ 'name': value.name,
58
+ 'expression': value.expression,
59
+ 'static_settings': value.staticSettings,
60
+ };
61
+ }
@@ -0,0 +1,51 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2023.10.5
6
+ * Contact: hello@goauthentik.io
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * RACPropertyMapping Serializer
14
+ * @export
15
+ * @interface RACPropertyMappingRequest
16
+ */
17
+ export interface RACPropertyMappingRequest {
18
+ /**
19
+ * Objects that are managed by authentik. These objects are created and updated automatically. This flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
20
+ * @type {string}
21
+ * @memberof RACPropertyMappingRequest
22
+ */
23
+ managed?: string | null;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof RACPropertyMappingRequest
28
+ */
29
+ name: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof RACPropertyMappingRequest
34
+ */
35
+ expression?: string;
36
+ /**
37
+ *
38
+ * @type {{ [key: string]: any; }}
39
+ * @memberof RACPropertyMappingRequest
40
+ */
41
+ staticSettings: {
42
+ [key: string]: any;
43
+ };
44
+ }
45
+ /**
46
+ * Check if a given object implements the RACPropertyMappingRequest interface.
47
+ */
48
+ export declare function instanceOfRACPropertyMappingRequest(value: object): boolean;
49
+ export declare function RACPropertyMappingRequestFromJSON(json: any): RACPropertyMappingRequest;
50
+ export declare function RACPropertyMappingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RACPropertyMappingRequest;
51
+ export declare function RACPropertyMappingRequestToJSON(value?: RACPropertyMappingRequest | null): any;
@@ -0,0 +1,51 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2023.10.5
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
+ import { exists } from '../runtime';
15
+ /**
16
+ * Check if a given object implements the RACPropertyMappingRequest interface.
17
+ */
18
+ export function instanceOfRACPropertyMappingRequest(value) {
19
+ let isInstance = true;
20
+ isInstance = isInstance && "name" in value;
21
+ isInstance = isInstance && "staticSettings" in value;
22
+ return isInstance;
23
+ }
24
+ export function RACPropertyMappingRequestFromJSON(json) {
25
+ return RACPropertyMappingRequestFromJSONTyped(json, false);
26
+ }
27
+ export function RACPropertyMappingRequestFromJSONTyped(json, ignoreDiscriminator) {
28
+ if ((json === undefined) || (json === null)) {
29
+ return json;
30
+ }
31
+ return {
32
+ 'managed': !exists(json, 'managed') ? undefined : json['managed'],
33
+ 'name': json['name'],
34
+ 'expression': !exists(json, 'expression') ? undefined : json['expression'],
35
+ 'staticSettings': json['static_settings'],
36
+ };
37
+ }
38
+ export function RACPropertyMappingRequestToJSON(value) {
39
+ if (value === undefined) {
40
+ return undefined;
41
+ }
42
+ if (value === null) {
43
+ return null;
44
+ }
45
+ return {
46
+ 'managed': value.managed,
47
+ 'name': value.name,
48
+ 'expression': value.expression,
49
+ 'static_settings': value.staticSettings,
50
+ };
51
+ }
@@ -0,0 +1,121 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2023.10.5
6
+ * Contact: hello@goauthentik.io
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * RACProvider Serializer
14
+ * @export
15
+ * @interface RACProvider
16
+ */
17
+ export interface RACProvider {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof RACProvider
22
+ */
23
+ readonly pk: number;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof RACProvider
28
+ */
29
+ name: string;
30
+ /**
31
+ * Flow used for authentication when the associated application is accessed by an un-authenticated user.
32
+ * @type {string}
33
+ * @memberof RACProvider
34
+ */
35
+ authenticationFlow?: string | null;
36
+ /**
37
+ * Flow used when authorizing this provider.
38
+ * @type {string}
39
+ * @memberof RACProvider
40
+ */
41
+ authorizationFlow: string;
42
+ /**
43
+ *
44
+ * @type {Array<string>}
45
+ * @memberof RACProvider
46
+ */
47
+ propertyMappings?: Array<string>;
48
+ /**
49
+ * Get object component so that we know how to edit the object
50
+ * @type {string}
51
+ * @memberof RACProvider
52
+ */
53
+ readonly component: string;
54
+ /**
55
+ * Internal application name, used in URLs.
56
+ * @type {string}
57
+ * @memberof RACProvider
58
+ */
59
+ readonly assignedApplicationSlug: string;
60
+ /**
61
+ * Application's display Name.
62
+ * @type {string}
63
+ * @memberof RACProvider
64
+ */
65
+ readonly assignedApplicationName: string;
66
+ /**
67
+ * Internal application name, used in URLs.
68
+ * @type {string}
69
+ * @memberof RACProvider
70
+ */
71
+ readonly assignedBackchannelApplicationSlug: string;
72
+ /**
73
+ * Application's display Name.
74
+ * @type {string}
75
+ * @memberof RACProvider
76
+ */
77
+ readonly assignedBackchannelApplicationName: string;
78
+ /**
79
+ * Return object's verbose_name
80
+ * @type {string}
81
+ * @memberof RACProvider
82
+ */
83
+ readonly verboseName: string;
84
+ /**
85
+ * Return object's plural verbose_name
86
+ * @type {string}
87
+ * @memberof RACProvider
88
+ */
89
+ readonly verboseNamePlural: string;
90
+ /**
91
+ * Return internal model name
92
+ * @type {string}
93
+ * @memberof RACProvider
94
+ */
95
+ readonly metaModelName: string;
96
+ /**
97
+ *
98
+ * @type {any}
99
+ * @memberof RACProvider
100
+ */
101
+ settings?: any | null;
102
+ /**
103
+ *
104
+ * @type {Array<string>}
105
+ * @memberof RACProvider
106
+ */
107
+ readonly outpostSet: Array<string>;
108
+ /**
109
+ * Determines how long a session lasts. Default of 0 means that the sessions lasts until the browser is closed. (Format: hours=-1;minutes=-2;seconds=-3)
110
+ * @type {string}
111
+ * @memberof RACProvider
112
+ */
113
+ connectionExpiry?: string;
114
+ }
115
+ /**
116
+ * Check if a given object implements the RACProvider interface.
117
+ */
118
+ export declare function instanceOfRACProvider(value: object): boolean;
119
+ export declare function RACProviderFromJSON(json: any): RACProvider;
120
+ export declare function RACProviderFromJSONTyped(json: any, ignoreDiscriminator: boolean): RACProvider;
121
+ export declare function RACProviderToJSON(value?: RACProvider | null): any;