@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,89 @@
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
+ import { exists, mapValues } from '../runtime';
16
+ /**
17
+ * RACPropertyMapping Serializer
18
+ * @export
19
+ * @interface PatchedRACPropertyMappingRequest
20
+ */
21
+ export interface PatchedRACPropertyMappingRequest {
22
+ /**
23
+ * 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.
24
+ * @type {string}
25
+ * @memberof PatchedRACPropertyMappingRequest
26
+ */
27
+ managed?: string | null;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof PatchedRACPropertyMappingRequest
32
+ */
33
+ name?: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof PatchedRACPropertyMappingRequest
38
+ */
39
+ expression?: string;
40
+ /**
41
+ *
42
+ * @type {{ [key: string]: any; }}
43
+ * @memberof PatchedRACPropertyMappingRequest
44
+ */
45
+ staticSettings?: { [key: string]: any; };
46
+ }
47
+
48
+ /**
49
+ * Check if a given object implements the PatchedRACPropertyMappingRequest interface.
50
+ */
51
+ export function instanceOfPatchedRACPropertyMappingRequest(value: object): boolean {
52
+ let isInstance = true;
53
+
54
+ return isInstance;
55
+ }
56
+
57
+ export function PatchedRACPropertyMappingRequestFromJSON(json: any): PatchedRACPropertyMappingRequest {
58
+ return PatchedRACPropertyMappingRequestFromJSONTyped(json, false);
59
+ }
60
+
61
+ export function PatchedRACPropertyMappingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedRACPropertyMappingRequest {
62
+ if ((json === undefined) || (json === null)) {
63
+ return json;
64
+ }
65
+ return {
66
+
67
+ 'managed': !exists(json, 'managed') ? undefined : json['managed'],
68
+ 'name': !exists(json, 'name') ? undefined : json['name'],
69
+ 'expression': !exists(json, 'expression') ? undefined : json['expression'],
70
+ 'staticSettings': !exists(json, 'static_settings') ? undefined : json['static_settings'],
71
+ };
72
+ }
73
+
74
+ export function PatchedRACPropertyMappingRequestToJSON(value?: PatchedRACPropertyMappingRequest | null): any {
75
+ if (value === undefined) {
76
+ return undefined;
77
+ }
78
+ if (value === null) {
79
+ return null;
80
+ }
81
+ return {
82
+
83
+ 'managed': value.managed,
84
+ 'name': value.name,
85
+ 'expression': value.expression,
86
+ 'static_settings': value.staticSettings,
87
+ };
88
+ }
89
+
@@ -0,0 +1,105 @@
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
+ import { exists, mapValues } from '../runtime';
16
+ /**
17
+ * RACProvider Serializer
18
+ * @export
19
+ * @interface PatchedRACProviderRequest
20
+ */
21
+ export interface PatchedRACProviderRequest {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof PatchedRACProviderRequest
26
+ */
27
+ name?: string;
28
+ /**
29
+ * Flow used for authentication when the associated application is accessed by an un-authenticated user.
30
+ * @type {string}
31
+ * @memberof PatchedRACProviderRequest
32
+ */
33
+ authenticationFlow?: string | null;
34
+ /**
35
+ * Flow used when authorizing this provider.
36
+ * @type {string}
37
+ * @memberof PatchedRACProviderRequest
38
+ */
39
+ authorizationFlow?: string;
40
+ /**
41
+ *
42
+ * @type {Array<string>}
43
+ * @memberof PatchedRACProviderRequest
44
+ */
45
+ propertyMappings?: Array<string>;
46
+ /**
47
+ *
48
+ * @type {any}
49
+ * @memberof PatchedRACProviderRequest
50
+ */
51
+ settings?: any | null;
52
+ /**
53
+ * 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)
54
+ * @type {string}
55
+ * @memberof PatchedRACProviderRequest
56
+ */
57
+ connectionExpiry?: string;
58
+ }
59
+
60
+ /**
61
+ * Check if a given object implements the PatchedRACProviderRequest interface.
62
+ */
63
+ export function instanceOfPatchedRACProviderRequest(value: object): boolean {
64
+ let isInstance = true;
65
+
66
+ return isInstance;
67
+ }
68
+
69
+ export function PatchedRACProviderRequestFromJSON(json: any): PatchedRACProviderRequest {
70
+ return PatchedRACProviderRequestFromJSONTyped(json, false);
71
+ }
72
+
73
+ export function PatchedRACProviderRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedRACProviderRequest {
74
+ if ((json === undefined) || (json === null)) {
75
+ return json;
76
+ }
77
+ return {
78
+
79
+ 'name': !exists(json, 'name') ? undefined : json['name'],
80
+ 'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
81
+ 'authorizationFlow': !exists(json, 'authorization_flow') ? undefined : json['authorization_flow'],
82
+ 'propertyMappings': !exists(json, 'property_mappings') ? undefined : json['property_mappings'],
83
+ 'settings': !exists(json, 'settings') ? undefined : json['settings'],
84
+ 'connectionExpiry': !exists(json, 'connection_expiry') ? undefined : json['connection_expiry'],
85
+ };
86
+ }
87
+
88
+ export function PatchedRACProviderRequestToJSON(value?: PatchedRACProviderRequest | null): any {
89
+ if (value === undefined) {
90
+ return undefined;
91
+ }
92
+ if (value === null) {
93
+ return null;
94
+ }
95
+ return {
96
+
97
+ 'name': value.name,
98
+ 'authentication_flow': value.authenticationFlow,
99
+ 'authorization_flow': value.authorizationFlow,
100
+ 'property_mappings': value.propertyMappings,
101
+ 'settings': value.settings,
102
+ 'connection_expiry': value.connectionExpiry,
103
+ };
104
+ }
105
+
@@ -19,6 +19,18 @@ import {
19
19
  FlowSetRequestFromJSONTyped,
20
20
  FlowSetRequestToJSON,
21
21
  } from './FlowSetRequest';
22
+ import type { GeoipBindingEnum } from './GeoipBindingEnum';
23
+ import {
24
+ GeoipBindingEnumFromJSON,
25
+ GeoipBindingEnumFromJSONTyped,
26
+ GeoipBindingEnumToJSON,
27
+ } from './GeoipBindingEnum';
28
+ import type { NetworkBindingEnum } from './NetworkBindingEnum';
29
+ import {
30
+ NetworkBindingEnumFromJSON,
31
+ NetworkBindingEnumFromJSONTyped,
32
+ NetworkBindingEnumToJSON,
33
+ } from './NetworkBindingEnum';
22
34
 
23
35
  /**
24
36
  * UserLoginStage Serializer
@@ -56,6 +68,18 @@ export interface PatchedUserLoginStageRequest {
56
68
  * @memberof PatchedUserLoginStageRequest
57
69
  */
58
70
  rememberMeOffset?: string;
71
+ /**
72
+ *
73
+ * @type {NetworkBindingEnum}
74
+ * @memberof PatchedUserLoginStageRequest
75
+ */
76
+ networkBinding?: NetworkBindingEnum;
77
+ /**
78
+ *
79
+ * @type {GeoipBindingEnum}
80
+ * @memberof PatchedUserLoginStageRequest
81
+ */
82
+ geoipBinding?: GeoipBindingEnum;
59
83
  }
60
84
 
61
85
  /**
@@ -82,6 +106,8 @@ export function PatchedUserLoginStageRequestFromJSONTyped(json: any, ignoreDiscr
82
106
  'sessionDuration': !exists(json, 'session_duration') ? undefined : json['session_duration'],
83
107
  'terminateOtherSessions': !exists(json, 'terminate_other_sessions') ? undefined : json['terminate_other_sessions'],
84
108
  'rememberMeOffset': !exists(json, 'remember_me_offset') ? undefined : json['remember_me_offset'],
109
+ 'networkBinding': !exists(json, 'network_binding') ? undefined : NetworkBindingEnumFromJSON(json['network_binding']),
110
+ 'geoipBinding': !exists(json, 'geoip_binding') ? undefined : GeoipBindingEnumFromJSON(json['geoip_binding']),
85
111
  };
86
112
  }
87
113
 
@@ -99,6 +125,8 @@ export function PatchedUserLoginStageRequestToJSON(value?: PatchedUserLoginStage
99
125
  'session_duration': value.sessionDuration,
100
126
  'terminate_other_sessions': value.terminateOtherSessions,
101
127
  'remember_me_offset': value.rememberMeOffset,
128
+ 'network_binding': NetworkBindingEnumToJSON(value.networkBinding),
129
+ 'geoip_binding': GeoipBindingEnumToJSON(value.geoipBinding),
102
130
  };
103
131
  }
104
132
 
@@ -0,0 +1,42 @@
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
+
16
+ /**
17
+ * * `rdp` - Rdp
18
+ * * `vnc` - Vnc
19
+ * * `ssh` - Ssh
20
+ * @export
21
+ */
22
+ export const ProtocolEnum = {
23
+ Rdp: 'rdp',
24
+ Vnc: 'vnc',
25
+ Ssh: 'ssh',
26
+ UnknownDefaultOpenApi: '11184809'
27
+ } as const;
28
+ export type ProtocolEnum = typeof ProtocolEnum[keyof typeof ProtocolEnum];
29
+
30
+
31
+ export function ProtocolEnumFromJSON(json: any): ProtocolEnum {
32
+ return ProtocolEnumFromJSONTyped(json, false);
33
+ }
34
+
35
+ export function ProtocolEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProtocolEnum {
36
+ return json as ProtocolEnum;
37
+ }
38
+
39
+ export function ProtocolEnumToJSON(value?: ProtocolEnum | null): any {
40
+ return value as any;
41
+ }
42
+
@@ -17,6 +17,7 @@
17
17
  * * `authentik_providers_ldap.ldapprovider` - authentik_providers_ldap.ldapprovider
18
18
  * * `authentik_providers_oauth2.oauth2provider` - authentik_providers_oauth2.oauth2provider
19
19
  * * `authentik_providers_proxy.proxyprovider` - authentik_providers_proxy.proxyprovider
20
+ * * `authentik_providers_rac.racprovider` - authentik_providers_rac.racprovider
20
21
  * * `authentik_providers_radius.radiusprovider` - authentik_providers_radius.radiusprovider
21
22
  * * `authentik_providers_saml.samlprovider` - authentik_providers_saml.samlprovider
22
23
  * * `authentik_providers_scim.scimprovider` - authentik_providers_scim.scimprovider
@@ -26,6 +27,7 @@ export const ProviderModelEnum = {
26
27
  LdapLdapprovider: 'authentik_providers_ldap.ldapprovider',
27
28
  Oauth2Oauth2provider: 'authentik_providers_oauth2.oauth2provider',
28
29
  ProxyProxyprovider: 'authentik_providers_proxy.proxyprovider',
30
+ RacRacprovider: 'authentik_providers_rac.racprovider',
29
31
  RadiusRadiusprovider: 'authentik_providers_radius.radiusprovider',
30
32
  SamlSamlprovider: 'authentik_providers_saml.samlprovider',
31
33
  ScimScimprovider: 'authentik_providers_scim.scimprovider',
@@ -15,13 +15,13 @@
15
15
 
16
16
  /**
17
17
  * * `apple` - Apple
18
+ * * `openidconnect` - OpenID Connect
18
19
  * * `azuread` - Azure AD
19
20
  * * `discord` - Discord
20
21
  * * `facebook` - Facebook
21
22
  * * `github` - GitHub
22
23
  * * `google` - Google
23
24
  * * `mailcow` - Mailcow
24
- * * `openidconnect` - OpenID Connect
25
25
  * * `okta` - Okta
26
26
  * * `patreon` - Patreon
27
27
  * * `reddit` - Reddit
@@ -31,13 +31,13 @@
31
31
  */
32
32
  export const ProviderTypeEnum = {
33
33
  Apple: 'apple',
34
+ Openidconnect: 'openidconnect',
34
35
  Azuread: 'azuread',
35
36
  Discord: 'discord',
36
37
  Facebook: 'facebook',
37
38
  Github: 'github',
38
39
  Google: 'google',
39
40
  Mailcow: 'mailcow',
40
- Openidconnect: 'openidconnect',
41
41
  Okta: 'okta',
42
42
  Patreon: 'patreon',
43
43
  Reddit: 'reddit',
@@ -0,0 +1,131 @@
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
+ import { exists, mapValues } from '../runtime';
16
+ /**
17
+ * RACPropertyMapping Serializer
18
+ * @export
19
+ * @interface RACPropertyMapping
20
+ */
21
+ export interface RACPropertyMapping {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof RACPropertyMapping
26
+ */
27
+ readonly pk: string;
28
+ /**
29
+ * 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.
30
+ * @type {string}
31
+ * @memberof RACPropertyMapping
32
+ */
33
+ managed?: string | null;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof RACPropertyMapping
38
+ */
39
+ name: string;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof RACPropertyMapping
44
+ */
45
+ expression?: string;
46
+ /**
47
+ * Get object's component so that we know how to edit the object
48
+ * @type {string}
49
+ * @memberof RACPropertyMapping
50
+ */
51
+ readonly component: string;
52
+ /**
53
+ * Return object's verbose_name
54
+ * @type {string}
55
+ * @memberof RACPropertyMapping
56
+ */
57
+ readonly verboseName: string;
58
+ /**
59
+ * Return object's plural verbose_name
60
+ * @type {string}
61
+ * @memberof RACPropertyMapping
62
+ */
63
+ readonly verboseNamePlural: string;
64
+ /**
65
+ * Return internal model name
66
+ * @type {string}
67
+ * @memberof RACPropertyMapping
68
+ */
69
+ readonly metaModelName: string;
70
+ /**
71
+ *
72
+ * @type {{ [key: string]: any; }}
73
+ * @memberof RACPropertyMapping
74
+ */
75
+ staticSettings: { [key: string]: any; };
76
+ }
77
+
78
+ /**
79
+ * Check if a given object implements the RACPropertyMapping interface.
80
+ */
81
+ export function instanceOfRACPropertyMapping(value: object): boolean {
82
+ let isInstance = true;
83
+ isInstance = isInstance && "pk" in value;
84
+ isInstance = isInstance && "name" in value;
85
+ isInstance = isInstance && "component" in value;
86
+ isInstance = isInstance && "verboseName" in value;
87
+ isInstance = isInstance && "verboseNamePlural" in value;
88
+ isInstance = isInstance && "metaModelName" in value;
89
+ isInstance = isInstance && "staticSettings" in value;
90
+
91
+ return isInstance;
92
+ }
93
+
94
+ export function RACPropertyMappingFromJSON(json: any): RACPropertyMapping {
95
+ return RACPropertyMappingFromJSONTyped(json, false);
96
+ }
97
+
98
+ export function RACPropertyMappingFromJSONTyped(json: any, ignoreDiscriminator: boolean): RACPropertyMapping {
99
+ if ((json === undefined) || (json === null)) {
100
+ return json;
101
+ }
102
+ return {
103
+
104
+ 'pk': json['pk'],
105
+ 'managed': !exists(json, 'managed') ? undefined : json['managed'],
106
+ 'name': json['name'],
107
+ 'expression': !exists(json, 'expression') ? undefined : json['expression'],
108
+ 'component': json['component'],
109
+ 'verboseName': json['verbose_name'],
110
+ 'verboseNamePlural': json['verbose_name_plural'],
111
+ 'metaModelName': json['meta_model_name'],
112
+ 'staticSettings': json['static_settings'],
113
+ };
114
+ }
115
+
116
+ export function RACPropertyMappingToJSON(value?: RACPropertyMapping | null): any {
117
+ if (value === undefined) {
118
+ return undefined;
119
+ }
120
+ if (value === null) {
121
+ return null;
122
+ }
123
+ return {
124
+
125
+ 'managed': value.managed,
126
+ 'name': value.name,
127
+ 'expression': value.expression,
128
+ 'static_settings': value.staticSettings,
129
+ };
130
+ }
131
+
@@ -0,0 +1,91 @@
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
+ import { exists, mapValues } from '../runtime';
16
+ /**
17
+ * RACPropertyMapping Serializer
18
+ * @export
19
+ * @interface RACPropertyMappingRequest
20
+ */
21
+ export interface RACPropertyMappingRequest {
22
+ /**
23
+ * 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.
24
+ * @type {string}
25
+ * @memberof RACPropertyMappingRequest
26
+ */
27
+ managed?: string | null;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof RACPropertyMappingRequest
32
+ */
33
+ name: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof RACPropertyMappingRequest
38
+ */
39
+ expression?: string;
40
+ /**
41
+ *
42
+ * @type {{ [key: string]: any; }}
43
+ * @memberof RACPropertyMappingRequest
44
+ */
45
+ staticSettings: { [key: string]: any; };
46
+ }
47
+
48
+ /**
49
+ * Check if a given object implements the RACPropertyMappingRequest interface.
50
+ */
51
+ export function instanceOfRACPropertyMappingRequest(value: object): boolean {
52
+ let isInstance = true;
53
+ isInstance = isInstance && "name" in value;
54
+ isInstance = isInstance && "staticSettings" in value;
55
+
56
+ return isInstance;
57
+ }
58
+
59
+ export function RACPropertyMappingRequestFromJSON(json: any): RACPropertyMappingRequest {
60
+ return RACPropertyMappingRequestFromJSONTyped(json, false);
61
+ }
62
+
63
+ export function RACPropertyMappingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RACPropertyMappingRequest {
64
+ if ((json === undefined) || (json === null)) {
65
+ return json;
66
+ }
67
+ return {
68
+
69
+ 'managed': !exists(json, 'managed') ? undefined : json['managed'],
70
+ 'name': json['name'],
71
+ 'expression': !exists(json, 'expression') ? undefined : json['expression'],
72
+ 'staticSettings': json['static_settings'],
73
+ };
74
+ }
75
+
76
+ export function RACPropertyMappingRequestToJSON(value?: RACPropertyMappingRequest | null): any {
77
+ if (value === undefined) {
78
+ return undefined;
79
+ }
80
+ if (value === null) {
81
+ return null;
82
+ }
83
+ return {
84
+
85
+ 'managed': value.managed,
86
+ 'name': value.name,
87
+ 'expression': value.expression,
88
+ 'static_settings': value.staticSettings,
89
+ };
90
+ }
91
+