@goauthentik/api 2024.8.3-1729167001 → 2024.8.3-1729699127

Sign up to get free protection for your applications and to get access to all the features.
Files changed (185) hide show
  1. package/.openapi-generator/FILES +25 -0
  2. package/dist/apis/AuthenticatorsApi.d.ts +110 -1
  3. package/dist/apis/AuthenticatorsApi.js +347 -0
  4. package/dist/apis/PropertymappingsApi.d.ts +86 -1
  5. package/dist/apis/PropertymappingsApi.js +271 -0
  6. package/dist/apis/RbacApi.d.ts +10 -0
  7. package/dist/apis/RbacApi.js +10 -0
  8. package/dist/apis/SourcesApi.d.ts +257 -1
  9. package/dist/apis/SourcesApi.js +841 -28
  10. package/dist/apis/StagesApi.d.ts +85 -1
  11. package/dist/apis/StagesApi.js +268 -0
  12. package/dist/esm/apis/AuthenticatorsApi.d.ts +110 -1
  13. package/dist/esm/apis/AuthenticatorsApi.js +348 -1
  14. package/dist/esm/apis/PropertymappingsApi.d.ts +86 -1
  15. package/dist/esm/apis/PropertymappingsApi.js +272 -1
  16. package/dist/esm/apis/RbacApi.d.ts +10 -0
  17. package/dist/esm/apis/RbacApi.js +10 -0
  18. package/dist/esm/apis/SourcesApi.d.ts +257 -1
  19. package/dist/esm/apis/SourcesApi.js +842 -29
  20. package/dist/esm/apis/StagesApi.d.ts +85 -1
  21. package/dist/esm/apis/StagesApi.js +269 -1
  22. package/dist/esm/models/AppEnum.d.ts +2 -0
  23. package/dist/esm/models/AppEnum.js +2 -0
  24. package/dist/esm/models/AuthenticatorEndpointGDTCStage.d.ts +86 -0
  25. package/dist/esm/models/AuthenticatorEndpointGDTCStage.js +64 -0
  26. package/dist/esm/models/AuthenticatorEndpointGDTCStageRequest.d.ts +56 -0
  27. package/dist/esm/models/AuthenticatorEndpointGDTCStageRequest.js +54 -0
  28. package/dist/esm/models/BackendsEnum.d.ts +1 -0
  29. package/dist/esm/models/BackendsEnum.js +1 -0
  30. package/dist/esm/models/ChallengeTypes.d.ts +3 -0
  31. package/dist/esm/models/ChallengeTypes.js +5 -0
  32. package/dist/esm/models/Device.d.ts +2 -2
  33. package/dist/esm/models/EndpointDevice.d.ts +37 -0
  34. package/dist/esm/models/EndpointDevice.js +46 -0
  35. package/dist/esm/models/EndpointDeviceRequest.d.ts +37 -0
  36. package/dist/esm/models/EndpointDeviceRequest.js +46 -0
  37. package/dist/esm/models/FlowChallengeResponseRequest.d.ts +4 -1
  38. package/dist/esm/models/FlowChallengeResponseRequest.js +5 -0
  39. package/dist/esm/models/FrameChallenge.d.ts +65 -0
  40. package/dist/esm/models/FrameChallenge.js +56 -0
  41. package/dist/esm/models/FrameChallengeResponseRequest.d.ts +31 -0
  42. package/dist/esm/models/FrameChallengeResponseRequest.js +43 -0
  43. package/dist/esm/models/GroupKerberosSourceConnection.d.ts +56 -0
  44. package/dist/esm/models/GroupKerberosSourceConnection.js +50 -0
  45. package/dist/esm/models/KerberosSource.d.ts +198 -0
  46. package/dist/esm/models/KerberosSource.js +103 -0
  47. package/dist/esm/models/KerberosSourcePropertyMapping.d.ts +73 -0
  48. package/dist/esm/models/KerberosSourcePropertyMapping.js +59 -0
  49. package/dist/esm/models/KerberosSourcePropertyMappingRequest.d.ts +43 -0
  50. package/dist/esm/models/KerberosSourcePropertyMappingRequest.js +49 -0
  51. package/dist/esm/models/KerberosSourceRequest.d.ts +166 -0
  52. package/dist/esm/models/KerberosSourceRequest.js +93 -0
  53. package/dist/esm/models/KerberosSyncStatus.d.ts +38 -0
  54. package/dist/esm/models/KerberosSyncStatus.js +44 -0
  55. package/dist/esm/models/ModelEnum.d.ts +5 -0
  56. package/dist/esm/models/ModelEnum.js +5 -0
  57. package/dist/esm/models/PaginatedAuthenticatorEndpointGDTCStageList.d.ts +39 -0
  58. package/dist/esm/models/PaginatedAuthenticatorEndpointGDTCStageList.js +48 -0
  59. package/dist/esm/models/PaginatedEndpointDeviceList.d.ts +39 -0
  60. package/dist/esm/models/PaginatedEndpointDeviceList.js +48 -0
  61. package/dist/esm/models/PaginatedGroupKerberosSourceConnectionList.d.ts +39 -0
  62. package/dist/esm/models/PaginatedGroupKerberosSourceConnectionList.js +48 -0
  63. package/dist/esm/models/PaginatedKerberosSourceList.d.ts +39 -0
  64. package/dist/esm/models/PaginatedKerberosSourceList.js +48 -0
  65. package/dist/esm/models/PaginatedKerberosSourcePropertyMappingList.d.ts +39 -0
  66. package/dist/esm/models/PaginatedKerberosSourcePropertyMappingList.js +48 -0
  67. package/dist/esm/models/PaginatedUserKerberosSourceConnectionList.d.ts +39 -0
  68. package/dist/esm/models/PaginatedUserKerberosSourceConnectionList.js +48 -0
  69. package/dist/esm/models/PatchedAuthenticatorEndpointGDTCStageRequest.d.ts +56 -0
  70. package/dist/esm/models/PatchedAuthenticatorEndpointGDTCStageRequest.js +52 -0
  71. package/dist/esm/models/PatchedEndpointDeviceRequest.d.ts +37 -0
  72. package/dist/esm/models/PatchedEndpointDeviceRequest.js +45 -0
  73. package/dist/esm/models/PatchedKerberosSourcePropertyMappingRequest.d.ts +43 -0
  74. package/dist/esm/models/PatchedKerberosSourcePropertyMappingRequest.js +47 -0
  75. package/dist/esm/models/PatchedKerberosSourceRequest.d.ts +166 -0
  76. package/dist/esm/models/PatchedKerberosSourceRequest.js +90 -0
  77. package/dist/esm/models/PatchedUserKerberosSourceConnectionRequest.d.ts +37 -0
  78. package/dist/esm/models/PatchedUserKerberosSourceConnectionRequest.js +45 -0
  79. package/dist/esm/models/UserKerberosSourceConnection.d.ts +56 -0
  80. package/dist/esm/models/UserKerberosSourceConnection.js +53 -0
  81. package/dist/esm/models/UserKerberosSourceConnectionRequest.d.ts +37 -0
  82. package/dist/esm/models/UserKerberosSourceConnectionRequest.js +46 -0
  83. package/dist/esm/models/index.d.ts +25 -0
  84. package/dist/esm/models/index.js +25 -0
  85. package/dist/models/AppEnum.d.ts +2 -0
  86. package/dist/models/AppEnum.js +2 -0
  87. package/dist/models/AuthenticatorEndpointGDTCStage.d.ts +86 -0
  88. package/dist/models/AuthenticatorEndpointGDTCStage.js +71 -0
  89. package/dist/models/AuthenticatorEndpointGDTCStageRequest.d.ts +56 -0
  90. package/dist/models/AuthenticatorEndpointGDTCStageRequest.js +61 -0
  91. package/dist/models/BackendsEnum.d.ts +1 -0
  92. package/dist/models/BackendsEnum.js +1 -0
  93. package/dist/models/ChallengeTypes.d.ts +3 -0
  94. package/dist/models/ChallengeTypes.js +5 -0
  95. package/dist/models/Device.d.ts +2 -2
  96. package/dist/models/EndpointDevice.d.ts +37 -0
  97. package/dist/models/EndpointDevice.js +53 -0
  98. package/dist/models/EndpointDeviceRequest.d.ts +37 -0
  99. package/dist/models/EndpointDeviceRequest.js +53 -0
  100. package/dist/models/FlowChallengeResponseRequest.d.ts +4 -1
  101. package/dist/models/FlowChallengeResponseRequest.js +5 -0
  102. package/dist/models/FrameChallenge.d.ts +65 -0
  103. package/dist/models/FrameChallenge.js +63 -0
  104. package/dist/models/FrameChallengeResponseRequest.d.ts +31 -0
  105. package/dist/models/FrameChallengeResponseRequest.js +50 -0
  106. package/dist/models/GroupKerberosSourceConnection.d.ts +56 -0
  107. package/dist/models/GroupKerberosSourceConnection.js +57 -0
  108. package/dist/models/KerberosSource.d.ts +198 -0
  109. package/dist/models/KerberosSource.js +110 -0
  110. package/dist/models/KerberosSourcePropertyMapping.d.ts +73 -0
  111. package/dist/models/KerberosSourcePropertyMapping.js +66 -0
  112. package/dist/models/KerberosSourcePropertyMappingRequest.d.ts +43 -0
  113. package/dist/models/KerberosSourcePropertyMappingRequest.js +56 -0
  114. package/dist/models/KerberosSourceRequest.d.ts +166 -0
  115. package/dist/models/KerberosSourceRequest.js +100 -0
  116. package/dist/models/KerberosSyncStatus.d.ts +38 -0
  117. package/dist/models/KerberosSyncStatus.js +51 -0
  118. package/dist/models/ModelEnum.d.ts +5 -0
  119. package/dist/models/ModelEnum.js +5 -0
  120. package/dist/models/PaginatedAuthenticatorEndpointGDTCStageList.d.ts +39 -0
  121. package/dist/models/PaginatedAuthenticatorEndpointGDTCStageList.js +55 -0
  122. package/dist/models/PaginatedEndpointDeviceList.d.ts +39 -0
  123. package/dist/models/PaginatedEndpointDeviceList.js +55 -0
  124. package/dist/models/PaginatedGroupKerberosSourceConnectionList.d.ts +39 -0
  125. package/dist/models/PaginatedGroupKerberosSourceConnectionList.js +55 -0
  126. package/dist/models/PaginatedKerberosSourceList.d.ts +39 -0
  127. package/dist/models/PaginatedKerberosSourceList.js +55 -0
  128. package/dist/models/PaginatedKerberosSourcePropertyMappingList.d.ts +39 -0
  129. package/dist/models/PaginatedKerberosSourcePropertyMappingList.js +55 -0
  130. package/dist/models/PaginatedUserKerberosSourceConnectionList.d.ts +39 -0
  131. package/dist/models/PaginatedUserKerberosSourceConnectionList.js +55 -0
  132. package/dist/models/PatchedAuthenticatorEndpointGDTCStageRequest.d.ts +56 -0
  133. package/dist/models/PatchedAuthenticatorEndpointGDTCStageRequest.js +59 -0
  134. package/dist/models/PatchedEndpointDeviceRequest.d.ts +37 -0
  135. package/dist/models/PatchedEndpointDeviceRequest.js +52 -0
  136. package/dist/models/PatchedKerberosSourcePropertyMappingRequest.d.ts +43 -0
  137. package/dist/models/PatchedKerberosSourcePropertyMappingRequest.js +54 -0
  138. package/dist/models/PatchedKerberosSourceRequest.d.ts +166 -0
  139. package/dist/models/PatchedKerberosSourceRequest.js +97 -0
  140. package/dist/models/PatchedUserKerberosSourceConnectionRequest.d.ts +37 -0
  141. package/dist/models/PatchedUserKerberosSourceConnectionRequest.js +52 -0
  142. package/dist/models/UserKerberosSourceConnection.d.ts +56 -0
  143. package/dist/models/UserKerberosSourceConnection.js +60 -0
  144. package/dist/models/UserKerberosSourceConnectionRequest.d.ts +37 -0
  145. package/dist/models/UserKerberosSourceConnectionRequest.js +53 -0
  146. package/dist/models/index.d.ts +25 -0
  147. package/dist/models/index.js +25 -0
  148. package/package.json +1 -1
  149. package/src/apis/AuthenticatorsApi.ts +444 -0
  150. package/src/apis/PropertymappingsApi.ts +350 -0
  151. package/src/apis/RbacApi.ts +10 -0
  152. package/src/apis/SourcesApi.ts +1200 -153
  153. package/src/apis/StagesApi.ts +345 -0
  154. package/src/models/AppEnum.ts +2 -0
  155. package/src/models/AuthenticatorEndpointGDTCStage.ts +146 -0
  156. package/src/models/AuthenticatorEndpointGDTCStageRequest.ts +106 -0
  157. package/src/models/BackendsEnum.ts +1 -0
  158. package/src/models/ChallengeTypes.ts +12 -1
  159. package/src/models/Device.ts +2 -2
  160. package/src/models/EndpointDevice.ts +74 -0
  161. package/src/models/EndpointDeviceRequest.ts +74 -0
  162. package/src/models/FlowChallengeResponseRequest.ts +12 -1
  163. package/src/models/FrameChallenge.ts +120 -0
  164. package/src/models/FrameChallengeResponseRequest.ts +65 -0
  165. package/src/models/GroupKerberosSourceConnection.ts +104 -0
  166. package/src/models/KerberosSource.ts +303 -0
  167. package/src/models/KerberosSourcePropertyMapping.ts +123 -0
  168. package/src/models/KerberosSourcePropertyMappingRequest.ts +83 -0
  169. package/src/models/KerberosSourceRequest.ts +263 -0
  170. package/src/models/KerberosSyncStatus.ts +80 -0
  171. package/src/models/ModelEnum.ts +5 -0
  172. package/src/models/PaginatedAuthenticatorEndpointGDTCStageList.ts +88 -0
  173. package/src/models/PaginatedEndpointDeviceList.ts +88 -0
  174. package/src/models/PaginatedGroupKerberosSourceConnectionList.ts +88 -0
  175. package/src/models/PaginatedKerberosSourceList.ts +88 -0
  176. package/src/models/PaginatedKerberosSourcePropertyMappingList.ts +88 -0
  177. package/src/models/PaginatedUserKerberosSourceConnectionList.ts +88 -0
  178. package/src/models/PatchedAuthenticatorEndpointGDTCStageRequest.ts +104 -0
  179. package/src/models/PatchedEndpointDeviceRequest.ts +73 -0
  180. package/src/models/PatchedKerberosSourcePropertyMappingRequest.ts +81 -0
  181. package/src/models/PatchedKerberosSourceRequest.ts +260 -0
  182. package/src/models/PatchedUserKerberosSourceConnectionRequest.ts +73 -0
  183. package/src/models/UserKerberosSourceConnection.ts +106 -0
  184. package/src/models/UserKerberosSourceConnectionRequest.ts +75 -0
  185. package/src/models/index.ts +25 -0
@@ -0,0 +1,88 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2024.8.3
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
+ import type { KerberosSource } from './KerberosSource';
17
+ import {
18
+ KerberosSourceFromJSON,
19
+ KerberosSourceFromJSONTyped,
20
+ KerberosSourceToJSON,
21
+ } from './KerberosSource';
22
+ import type { Pagination } from './Pagination';
23
+ import {
24
+ PaginationFromJSON,
25
+ PaginationFromJSONTyped,
26
+ PaginationToJSON,
27
+ } from './Pagination';
28
+
29
+ /**
30
+ *
31
+ * @export
32
+ * @interface PaginatedKerberosSourceList
33
+ */
34
+ export interface PaginatedKerberosSourceList {
35
+ /**
36
+ *
37
+ * @type {Pagination}
38
+ * @memberof PaginatedKerberosSourceList
39
+ */
40
+ pagination: Pagination;
41
+ /**
42
+ *
43
+ * @type {Array<KerberosSource>}
44
+ * @memberof PaginatedKerberosSourceList
45
+ */
46
+ results: Array<KerberosSource>;
47
+ }
48
+
49
+ /**
50
+ * Check if a given object implements the PaginatedKerberosSourceList interface.
51
+ */
52
+ export function instanceOfPaginatedKerberosSourceList(value: object): boolean {
53
+ let isInstance = true;
54
+ isInstance = isInstance && "pagination" in value;
55
+ isInstance = isInstance && "results" in value;
56
+
57
+ return isInstance;
58
+ }
59
+
60
+ export function PaginatedKerberosSourceListFromJSON(json: any): PaginatedKerberosSourceList {
61
+ return PaginatedKerberosSourceListFromJSONTyped(json, false);
62
+ }
63
+
64
+ export function PaginatedKerberosSourceListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedKerberosSourceList {
65
+ if ((json === undefined) || (json === null)) {
66
+ return json;
67
+ }
68
+ return {
69
+
70
+ 'pagination': PaginationFromJSON(json['pagination']),
71
+ 'results': ((json['results'] as Array<any>).map(KerberosSourceFromJSON)),
72
+ };
73
+ }
74
+
75
+ export function PaginatedKerberosSourceListToJSON(value?: PaginatedKerberosSourceList | null): any {
76
+ if (value === undefined) {
77
+ return undefined;
78
+ }
79
+ if (value === null) {
80
+ return null;
81
+ }
82
+ return {
83
+
84
+ 'pagination': PaginationToJSON(value.pagination),
85
+ 'results': ((value.results as Array<any>).map(KerberosSourceToJSON)),
86
+ };
87
+ }
88
+
@@ -0,0 +1,88 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2024.8.3
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
+ import type { KerberosSourcePropertyMapping } from './KerberosSourcePropertyMapping';
17
+ import {
18
+ KerberosSourcePropertyMappingFromJSON,
19
+ KerberosSourcePropertyMappingFromJSONTyped,
20
+ KerberosSourcePropertyMappingToJSON,
21
+ } from './KerberosSourcePropertyMapping';
22
+ import type { Pagination } from './Pagination';
23
+ import {
24
+ PaginationFromJSON,
25
+ PaginationFromJSONTyped,
26
+ PaginationToJSON,
27
+ } from './Pagination';
28
+
29
+ /**
30
+ *
31
+ * @export
32
+ * @interface PaginatedKerberosSourcePropertyMappingList
33
+ */
34
+ export interface PaginatedKerberosSourcePropertyMappingList {
35
+ /**
36
+ *
37
+ * @type {Pagination}
38
+ * @memberof PaginatedKerberosSourcePropertyMappingList
39
+ */
40
+ pagination: Pagination;
41
+ /**
42
+ *
43
+ * @type {Array<KerberosSourcePropertyMapping>}
44
+ * @memberof PaginatedKerberosSourcePropertyMappingList
45
+ */
46
+ results: Array<KerberosSourcePropertyMapping>;
47
+ }
48
+
49
+ /**
50
+ * Check if a given object implements the PaginatedKerberosSourcePropertyMappingList interface.
51
+ */
52
+ export function instanceOfPaginatedKerberosSourcePropertyMappingList(value: object): boolean {
53
+ let isInstance = true;
54
+ isInstance = isInstance && "pagination" in value;
55
+ isInstance = isInstance && "results" in value;
56
+
57
+ return isInstance;
58
+ }
59
+
60
+ export function PaginatedKerberosSourcePropertyMappingListFromJSON(json: any): PaginatedKerberosSourcePropertyMappingList {
61
+ return PaginatedKerberosSourcePropertyMappingListFromJSONTyped(json, false);
62
+ }
63
+
64
+ export function PaginatedKerberosSourcePropertyMappingListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedKerberosSourcePropertyMappingList {
65
+ if ((json === undefined) || (json === null)) {
66
+ return json;
67
+ }
68
+ return {
69
+
70
+ 'pagination': PaginationFromJSON(json['pagination']),
71
+ 'results': ((json['results'] as Array<any>).map(KerberosSourcePropertyMappingFromJSON)),
72
+ };
73
+ }
74
+
75
+ export function PaginatedKerberosSourcePropertyMappingListToJSON(value?: PaginatedKerberosSourcePropertyMappingList | null): any {
76
+ if (value === undefined) {
77
+ return undefined;
78
+ }
79
+ if (value === null) {
80
+ return null;
81
+ }
82
+ return {
83
+
84
+ 'pagination': PaginationToJSON(value.pagination),
85
+ 'results': ((value.results as Array<any>).map(KerberosSourcePropertyMappingToJSON)),
86
+ };
87
+ }
88
+
@@ -0,0 +1,88 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2024.8.3
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
+ import type { Pagination } from './Pagination';
17
+ import {
18
+ PaginationFromJSON,
19
+ PaginationFromJSONTyped,
20
+ PaginationToJSON,
21
+ } from './Pagination';
22
+ import type { UserKerberosSourceConnection } from './UserKerberosSourceConnection';
23
+ import {
24
+ UserKerberosSourceConnectionFromJSON,
25
+ UserKerberosSourceConnectionFromJSONTyped,
26
+ UserKerberosSourceConnectionToJSON,
27
+ } from './UserKerberosSourceConnection';
28
+
29
+ /**
30
+ *
31
+ * @export
32
+ * @interface PaginatedUserKerberosSourceConnectionList
33
+ */
34
+ export interface PaginatedUserKerberosSourceConnectionList {
35
+ /**
36
+ *
37
+ * @type {Pagination}
38
+ * @memberof PaginatedUserKerberosSourceConnectionList
39
+ */
40
+ pagination: Pagination;
41
+ /**
42
+ *
43
+ * @type {Array<UserKerberosSourceConnection>}
44
+ * @memberof PaginatedUserKerberosSourceConnectionList
45
+ */
46
+ results: Array<UserKerberosSourceConnection>;
47
+ }
48
+
49
+ /**
50
+ * Check if a given object implements the PaginatedUserKerberosSourceConnectionList interface.
51
+ */
52
+ export function instanceOfPaginatedUserKerberosSourceConnectionList(value: object): boolean {
53
+ let isInstance = true;
54
+ isInstance = isInstance && "pagination" in value;
55
+ isInstance = isInstance && "results" in value;
56
+
57
+ return isInstance;
58
+ }
59
+
60
+ export function PaginatedUserKerberosSourceConnectionListFromJSON(json: any): PaginatedUserKerberosSourceConnectionList {
61
+ return PaginatedUserKerberosSourceConnectionListFromJSONTyped(json, false);
62
+ }
63
+
64
+ export function PaginatedUserKerberosSourceConnectionListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedUserKerberosSourceConnectionList {
65
+ if ((json === undefined) || (json === null)) {
66
+ return json;
67
+ }
68
+ return {
69
+
70
+ 'pagination': PaginationFromJSON(json['pagination']),
71
+ 'results': ((json['results'] as Array<any>).map(UserKerberosSourceConnectionFromJSON)),
72
+ };
73
+ }
74
+
75
+ export function PaginatedUserKerberosSourceConnectionListToJSON(value?: PaginatedUserKerberosSourceConnectionList | null): any {
76
+ if (value === undefined) {
77
+ return undefined;
78
+ }
79
+ if (value === null) {
80
+ return null;
81
+ }
82
+ return {
83
+
84
+ 'pagination': PaginationToJSON(value.pagination),
85
+ 'results': ((value.results as Array<any>).map(UserKerberosSourceConnectionToJSON)),
86
+ };
87
+ }
88
+
@@ -0,0 +1,104 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2024.8.3
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
+ import type { FlowSetRequest } from './FlowSetRequest';
17
+ import {
18
+ FlowSetRequestFromJSON,
19
+ FlowSetRequestFromJSONTyped,
20
+ FlowSetRequestToJSON,
21
+ } from './FlowSetRequest';
22
+
23
+ /**
24
+ * AuthenticatorEndpointGDTCStage Serializer
25
+ * @export
26
+ * @interface PatchedAuthenticatorEndpointGDTCStageRequest
27
+ */
28
+ export interface PatchedAuthenticatorEndpointGDTCStageRequest {
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof PatchedAuthenticatorEndpointGDTCStageRequest
33
+ */
34
+ name?: string;
35
+ /**
36
+ *
37
+ * @type {Array<FlowSetRequest>}
38
+ * @memberof PatchedAuthenticatorEndpointGDTCStageRequest
39
+ */
40
+ flowSet?: Array<FlowSetRequest>;
41
+ /**
42
+ * Flow used by an authenticated user to configure this Stage. If empty, user will not be able to configure this stage.
43
+ * @type {string}
44
+ * @memberof PatchedAuthenticatorEndpointGDTCStageRequest
45
+ */
46
+ configureFlow?: string | null;
47
+ /**
48
+ *
49
+ * @type {string}
50
+ * @memberof PatchedAuthenticatorEndpointGDTCStageRequest
51
+ */
52
+ friendlyName?: string | null;
53
+ /**
54
+ *
55
+ * @type {any}
56
+ * @memberof PatchedAuthenticatorEndpointGDTCStageRequest
57
+ */
58
+ credentials?: any | null;
59
+ }
60
+
61
+ /**
62
+ * Check if a given object implements the PatchedAuthenticatorEndpointGDTCStageRequest interface.
63
+ */
64
+ export function instanceOfPatchedAuthenticatorEndpointGDTCStageRequest(value: object): boolean {
65
+ let isInstance = true;
66
+
67
+ return isInstance;
68
+ }
69
+
70
+ export function PatchedAuthenticatorEndpointGDTCStageRequestFromJSON(json: any): PatchedAuthenticatorEndpointGDTCStageRequest {
71
+ return PatchedAuthenticatorEndpointGDTCStageRequestFromJSONTyped(json, false);
72
+ }
73
+
74
+ export function PatchedAuthenticatorEndpointGDTCStageRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedAuthenticatorEndpointGDTCStageRequest {
75
+ if ((json === undefined) || (json === null)) {
76
+ return json;
77
+ }
78
+ return {
79
+
80
+ 'name': !exists(json, 'name') ? undefined : json['name'],
81
+ 'flowSet': !exists(json, 'flow_set') ? undefined : ((json['flow_set'] as Array<any>).map(FlowSetRequestFromJSON)),
82
+ 'configureFlow': !exists(json, 'configure_flow') ? undefined : json['configure_flow'],
83
+ 'friendlyName': !exists(json, 'friendly_name') ? undefined : json['friendly_name'],
84
+ 'credentials': !exists(json, 'credentials') ? undefined : json['credentials'],
85
+ };
86
+ }
87
+
88
+ export function PatchedAuthenticatorEndpointGDTCStageRequestToJSON(value?: PatchedAuthenticatorEndpointGDTCStageRequest | 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
+ 'flow_set': value.flowSet === undefined ? undefined : ((value.flowSet as Array<any>).map(FlowSetRequestToJSON)),
99
+ 'configure_flow': value.configureFlow,
100
+ 'friendly_name': value.friendlyName,
101
+ 'credentials': value.credentials,
102
+ };
103
+ }
104
+
@@ -0,0 +1,73 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2024.8.3
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
+ * Serializer for Endpoint authenticator devices
18
+ * @export
19
+ * @interface PatchedEndpointDeviceRequest
20
+ */
21
+ export interface PatchedEndpointDeviceRequest {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof PatchedEndpointDeviceRequest
26
+ */
27
+ pk?: string;
28
+ /**
29
+ * The human-readable name of this device.
30
+ * @type {string}
31
+ * @memberof PatchedEndpointDeviceRequest
32
+ */
33
+ name?: string;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the PatchedEndpointDeviceRequest interface.
38
+ */
39
+ export function instanceOfPatchedEndpointDeviceRequest(value: object): boolean {
40
+ let isInstance = true;
41
+
42
+ return isInstance;
43
+ }
44
+
45
+ export function PatchedEndpointDeviceRequestFromJSON(json: any): PatchedEndpointDeviceRequest {
46
+ return PatchedEndpointDeviceRequestFromJSONTyped(json, false);
47
+ }
48
+
49
+ export function PatchedEndpointDeviceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedEndpointDeviceRequest {
50
+ if ((json === undefined) || (json === null)) {
51
+ return json;
52
+ }
53
+ return {
54
+
55
+ 'pk': !exists(json, 'pk') ? undefined : json['pk'],
56
+ 'name': !exists(json, 'name') ? undefined : json['name'],
57
+ };
58
+ }
59
+
60
+ export function PatchedEndpointDeviceRequestToJSON(value?: PatchedEndpointDeviceRequest | null): any {
61
+ if (value === undefined) {
62
+ return undefined;
63
+ }
64
+ if (value === null) {
65
+ return null;
66
+ }
67
+ return {
68
+
69
+ 'pk': value.pk,
70
+ 'name': value.name,
71
+ };
72
+ }
73
+
@@ -0,0 +1,81 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2024.8.3
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
+ * Kerberos PropertyMapping Serializer
18
+ * @export
19
+ * @interface PatchedKerberosSourcePropertyMappingRequest
20
+ */
21
+ export interface PatchedKerberosSourcePropertyMappingRequest {
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 PatchedKerberosSourcePropertyMappingRequest
26
+ */
27
+ managed?: string | null;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof PatchedKerberosSourcePropertyMappingRequest
32
+ */
33
+ name?: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof PatchedKerberosSourcePropertyMappingRequest
38
+ */
39
+ expression?: string;
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the PatchedKerberosSourcePropertyMappingRequest interface.
44
+ */
45
+ export function instanceOfPatchedKerberosSourcePropertyMappingRequest(value: object): boolean {
46
+ let isInstance = true;
47
+
48
+ return isInstance;
49
+ }
50
+
51
+ export function PatchedKerberosSourcePropertyMappingRequestFromJSON(json: any): PatchedKerberosSourcePropertyMappingRequest {
52
+ return PatchedKerberosSourcePropertyMappingRequestFromJSONTyped(json, false);
53
+ }
54
+
55
+ export function PatchedKerberosSourcePropertyMappingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedKerberosSourcePropertyMappingRequest {
56
+ if ((json === undefined) || (json === null)) {
57
+ return json;
58
+ }
59
+ return {
60
+
61
+ 'managed': !exists(json, 'managed') ? undefined : json['managed'],
62
+ 'name': !exists(json, 'name') ? undefined : json['name'],
63
+ 'expression': !exists(json, 'expression') ? undefined : json['expression'],
64
+ };
65
+ }
66
+
67
+ export function PatchedKerberosSourcePropertyMappingRequestToJSON(value?: PatchedKerberosSourcePropertyMappingRequest | null): any {
68
+ if (value === undefined) {
69
+ return undefined;
70
+ }
71
+ if (value === null) {
72
+ return null;
73
+ }
74
+ return {
75
+
76
+ 'managed': value.managed,
77
+ 'name': value.name,
78
+ 'expression': value.expression,
79
+ };
80
+ }
81
+