@goauthentik/api 2025.10.0-rc1-1759234079 → 2025.10.0-rc1-1759846759

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 (283) hide show
  1. package/.openapi-generator/FILES +18 -0
  2. package/dist/apis/PropertymappingsApi.d.ts +86 -1
  3. package/dist/apis/PropertymappingsApi.d.ts.map +1 -1
  4. package/dist/apis/PropertymappingsApi.js +255 -0
  5. package/dist/apis/PropertymappingsApi.js.map +1 -1
  6. package/dist/apis/RbacApi.d.ts +8 -0
  7. package/dist/apis/RbacApi.d.ts.map +1 -1
  8. package/dist/apis/RbacApi.js +8 -0
  9. package/dist/apis/RbacApi.js.map +1 -1
  10. package/dist/apis/SourcesApi.d.ts +293 -1
  11. package/dist/apis/SourcesApi.d.ts.map +1 -1
  12. package/dist/apis/SourcesApi.js +853 -42
  13. package/dist/apis/SourcesApi.js.map +1 -1
  14. package/dist/apis/TasksApi.d.ts +6 -0
  15. package/dist/apis/TasksApi.d.ts.map +1 -1
  16. package/dist/apis/TasksApi.js +6 -0
  17. package/dist/apis/TasksApi.js.map +1 -1
  18. package/dist/esm/apis/PropertymappingsApi.d.ts +86 -1
  19. package/dist/esm/apis/PropertymappingsApi.d.ts.map +1 -1
  20. package/dist/esm/apis/PropertymappingsApi.js +255 -0
  21. package/dist/esm/apis/PropertymappingsApi.js.map +1 -1
  22. package/dist/esm/apis/RbacApi.d.ts +8 -0
  23. package/dist/esm/apis/RbacApi.d.ts.map +1 -1
  24. package/dist/esm/apis/RbacApi.js +8 -0
  25. package/dist/esm/apis/RbacApi.js.map +1 -1
  26. package/dist/esm/apis/SourcesApi.d.ts +293 -1
  27. package/dist/esm/apis/SourcesApi.d.ts.map +1 -1
  28. package/dist/esm/apis/SourcesApi.js +853 -42
  29. package/dist/esm/apis/SourcesApi.js.map +1 -1
  30. package/dist/esm/apis/TasksApi.d.ts +6 -0
  31. package/dist/esm/apis/TasksApi.d.ts.map +1 -1
  32. package/dist/esm/apis/TasksApi.js +6 -0
  33. package/dist/esm/apis/TasksApi.js.map +1 -1
  34. package/dist/esm/models/AppEnum.d.ts +2 -0
  35. package/dist/esm/models/AppEnum.d.ts.map +1 -1
  36. package/dist/esm/models/AppEnum.js +2 -0
  37. package/dist/esm/models/AppEnum.js.map +1 -1
  38. package/dist/esm/models/ChallengeTypes.d.ts +3 -0
  39. package/dist/esm/models/ChallengeTypes.d.ts.map +1 -1
  40. package/dist/esm/models/ChallengeTypes.js +5 -0
  41. package/dist/esm/models/ChallengeTypes.js.map +1 -1
  42. package/dist/esm/models/FlowChallengeResponseRequest.d.ts +3 -0
  43. package/dist/esm/models/FlowChallengeResponseRequest.d.ts.map +1 -1
  44. package/dist/esm/models/FlowChallengeResponseRequest.js +5 -0
  45. package/dist/esm/models/FlowChallengeResponseRequest.js.map +1 -1
  46. package/dist/esm/models/GroupTelegramSourceConnection.d.ts +70 -0
  47. package/dist/esm/models/GroupTelegramSourceConnection.d.ts.map +1 -0
  48. package/dist/esm/models/GroupTelegramSourceConnection.js +72 -0
  49. package/dist/esm/models/GroupTelegramSourceConnection.js.map +1 -0
  50. package/dist/esm/models/GroupTelegramSourceConnectionRequest.d.ts +45 -0
  51. package/dist/esm/models/GroupTelegramSourceConnectionRequest.d.ts.map +1 -0
  52. package/dist/esm/models/GroupTelegramSourceConnectionRequest.js +59 -0
  53. package/dist/esm/models/GroupTelegramSourceConnectionRequest.js.map +1 -0
  54. package/dist/esm/models/LastTaskStatusEnum.d.ts +3 -0
  55. package/dist/esm/models/LastTaskStatusEnum.d.ts.map +1 -1
  56. package/dist/esm/models/LastTaskStatusEnum.js +3 -0
  57. package/dist/esm/models/LastTaskStatusEnum.js.map +1 -1
  58. package/dist/esm/models/LoginChallengeTypes.d.ts +3 -0
  59. package/dist/esm/models/LoginChallengeTypes.d.ts.map +1 -1
  60. package/dist/esm/models/LoginChallengeTypes.js +5 -0
  61. package/dist/esm/models/LoginChallengeTypes.js.map +1 -1
  62. package/dist/esm/models/ModelEnum.d.ts +4 -0
  63. package/dist/esm/models/ModelEnum.d.ts.map +1 -1
  64. package/dist/esm/models/ModelEnum.js +4 -0
  65. package/dist/esm/models/ModelEnum.js.map +1 -1
  66. package/dist/esm/models/PaginatedGroupTelegramSourceConnectionList.d.ts +49 -0
  67. package/dist/esm/models/PaginatedGroupTelegramSourceConnectionList.d.ts.map +1 -0
  68. package/dist/esm/models/PaginatedGroupTelegramSourceConnectionList.js +61 -0
  69. package/dist/esm/models/PaginatedGroupTelegramSourceConnectionList.js.map +1 -0
  70. package/dist/esm/models/PaginatedTelegramSourceList.d.ts +49 -0
  71. package/dist/esm/models/PaginatedTelegramSourceList.d.ts.map +1 -0
  72. package/dist/esm/models/PaginatedTelegramSourceList.js +61 -0
  73. package/dist/esm/models/PaginatedTelegramSourceList.js.map +1 -0
  74. package/dist/esm/models/PaginatedTelegramSourcePropertyMappingList.d.ts +49 -0
  75. package/dist/esm/models/PaginatedTelegramSourcePropertyMappingList.d.ts.map +1 -0
  76. package/dist/esm/models/PaginatedTelegramSourcePropertyMappingList.js +61 -0
  77. package/dist/esm/models/PaginatedTelegramSourcePropertyMappingList.js.map +1 -0
  78. package/dist/esm/models/PaginatedUserTelegramSourceConnectionList.d.ts +49 -0
  79. package/dist/esm/models/PaginatedUserTelegramSourceConnectionList.d.ts.map +1 -0
  80. package/dist/esm/models/PaginatedUserTelegramSourceConnectionList.js +61 -0
  81. package/dist/esm/models/PaginatedUserTelegramSourceConnectionList.js.map +1 -0
  82. package/dist/esm/models/PatchedGroupTelegramSourceConnectionRequest.d.ts +45 -0
  83. package/dist/esm/models/PatchedGroupTelegramSourceConnectionRequest.d.ts.map +1 -0
  84. package/dist/esm/models/PatchedGroupTelegramSourceConnectionRequest.js +53 -0
  85. package/dist/esm/models/PatchedGroupTelegramSourceConnectionRequest.js.map +1 -0
  86. package/dist/esm/models/PatchedTelegramSourcePropertyMappingRequest.d.ts +45 -0
  87. package/dist/esm/models/PatchedTelegramSourcePropertyMappingRequest.d.ts.map +1 -0
  88. package/dist/esm/models/PatchedTelegramSourcePropertyMappingRequest.js +53 -0
  89. package/dist/esm/models/PatchedTelegramSourcePropertyMappingRequest.js.map +1 -0
  90. package/dist/esm/models/PatchedTelegramSourceRequest.d.ts +113 -0
  91. package/dist/esm/models/PatchedTelegramSourceRequest.d.ts.map +1 -0
  92. package/dist/esm/models/PatchedTelegramSourceRequest.js +77 -0
  93. package/dist/esm/models/PatchedTelegramSourceRequest.js.map +1 -0
  94. package/dist/esm/models/PatchedUserTelegramSourceConnectionRequest.d.ts +45 -0
  95. package/dist/esm/models/PatchedUserTelegramSourceConnectionRequest.d.ts.map +1 -0
  96. package/dist/esm/models/PatchedUserTelegramSourceConnectionRequest.js +53 -0
  97. package/dist/esm/models/PatchedUserTelegramSourceConnectionRequest.js.map +1 -0
  98. package/dist/esm/models/StateEnum.d.ts +3 -0
  99. package/dist/esm/models/StateEnum.d.ts.map +1 -1
  100. package/dist/esm/models/StateEnum.js +3 -0
  101. package/dist/esm/models/StateEnum.js.map +1 -1
  102. package/dist/esm/models/TaskAggregatedStatusEnum.d.ts +3 -0
  103. package/dist/esm/models/TaskAggregatedStatusEnum.d.ts.map +1 -1
  104. package/dist/esm/models/TaskAggregatedStatusEnum.js +3 -0
  105. package/dist/esm/models/TaskAggregatedStatusEnum.js.map +1 -1
  106. package/dist/esm/models/TelegramChallengeResponseRequest.d.ts +75 -0
  107. package/dist/esm/models/TelegramChallengeResponseRequest.d.ts.map +1 -0
  108. package/dist/esm/models/TelegramChallengeResponseRequest.js +69 -0
  109. package/dist/esm/models/TelegramChallengeResponseRequest.js.map +1 -0
  110. package/dist/esm/models/TelegramLoginChallenge.d.ts +61 -0
  111. package/dist/esm/models/TelegramLoginChallenge.d.ts.map +1 -0
  112. package/dist/esm/models/TelegramLoginChallenge.js +62 -0
  113. package/dist/esm/models/TelegramLoginChallenge.js.map +1 -0
  114. package/dist/esm/models/TelegramSource.d.ts +149 -0
  115. package/dist/esm/models/TelegramSource.d.ts.map +1 -0
  116. package/dist/esm/models/TelegramSource.js +104 -0
  117. package/dist/esm/models/TelegramSource.js.map +1 -0
  118. package/dist/esm/models/TelegramSourcePropertyMapping.d.ts +75 -0
  119. package/dist/esm/models/TelegramSourcePropertyMapping.d.ts.map +1 -0
  120. package/dist/esm/models/TelegramSourcePropertyMapping.js +72 -0
  121. package/dist/esm/models/TelegramSourcePropertyMapping.js.map +1 -0
  122. package/dist/esm/models/TelegramSourcePropertyMappingRequest.d.ts +45 -0
  123. package/dist/esm/models/TelegramSourcePropertyMappingRequest.d.ts.map +1 -0
  124. package/dist/esm/models/TelegramSourcePropertyMappingRequest.js +57 -0
  125. package/dist/esm/models/TelegramSourcePropertyMappingRequest.js.map +1 -0
  126. package/dist/esm/models/TelegramSourceRequest.d.ts +113 -0
  127. package/dist/esm/models/TelegramSourceRequest.d.ts.map +1 -0
  128. package/dist/esm/models/TelegramSourceRequest.js +87 -0
  129. package/dist/esm/models/TelegramSourceRequest.js.map +1 -0
  130. package/dist/esm/models/UserTelegramSourceConnection.d.ts +70 -0
  131. package/dist/esm/models/UserTelegramSourceConnection.d.ts.map +1 -0
  132. package/dist/esm/models/UserTelegramSourceConnection.js +72 -0
  133. package/dist/esm/models/UserTelegramSourceConnection.js.map +1 -0
  134. package/dist/esm/models/UserTelegramSourceConnectionRequest.d.ts +45 -0
  135. package/dist/esm/models/UserTelegramSourceConnectionRequest.d.ts.map +1 -0
  136. package/dist/esm/models/UserTelegramSourceConnectionRequest.js +59 -0
  137. package/dist/esm/models/UserTelegramSourceConnectionRequest.js.map +1 -0
  138. package/dist/esm/models/index.d.ts +18 -0
  139. package/dist/esm/models/index.d.ts.map +1 -1
  140. package/dist/esm/models/index.js +18 -0
  141. package/dist/esm/models/index.js.map +1 -1
  142. package/dist/models/AppEnum.d.ts +2 -0
  143. package/dist/models/AppEnum.d.ts.map +1 -1
  144. package/dist/models/AppEnum.js +2 -0
  145. package/dist/models/AppEnum.js.map +1 -1
  146. package/dist/models/ChallengeTypes.d.ts +3 -0
  147. package/dist/models/ChallengeTypes.d.ts.map +1 -1
  148. package/dist/models/ChallengeTypes.js +5 -0
  149. package/dist/models/ChallengeTypes.js.map +1 -1
  150. package/dist/models/FlowChallengeResponseRequest.d.ts +3 -0
  151. package/dist/models/FlowChallengeResponseRequest.d.ts.map +1 -1
  152. package/dist/models/FlowChallengeResponseRequest.js +5 -0
  153. package/dist/models/FlowChallengeResponseRequest.js.map +1 -1
  154. package/dist/models/GroupTelegramSourceConnection.d.ts +70 -0
  155. package/dist/models/GroupTelegramSourceConnection.d.ts.map +1 -0
  156. package/dist/models/GroupTelegramSourceConnection.js +72 -0
  157. package/dist/models/GroupTelegramSourceConnection.js.map +1 -0
  158. package/dist/models/GroupTelegramSourceConnectionRequest.d.ts +45 -0
  159. package/dist/models/GroupTelegramSourceConnectionRequest.d.ts.map +1 -0
  160. package/dist/models/GroupTelegramSourceConnectionRequest.js +59 -0
  161. package/dist/models/GroupTelegramSourceConnectionRequest.js.map +1 -0
  162. package/dist/models/LastTaskStatusEnum.d.ts +3 -0
  163. package/dist/models/LastTaskStatusEnum.d.ts.map +1 -1
  164. package/dist/models/LastTaskStatusEnum.js +3 -0
  165. package/dist/models/LastTaskStatusEnum.js.map +1 -1
  166. package/dist/models/LoginChallengeTypes.d.ts +3 -0
  167. package/dist/models/LoginChallengeTypes.d.ts.map +1 -1
  168. package/dist/models/LoginChallengeTypes.js +5 -0
  169. package/dist/models/LoginChallengeTypes.js.map +1 -1
  170. package/dist/models/ModelEnum.d.ts +4 -0
  171. package/dist/models/ModelEnum.d.ts.map +1 -1
  172. package/dist/models/ModelEnum.js +4 -0
  173. package/dist/models/ModelEnum.js.map +1 -1
  174. package/dist/models/PaginatedGroupTelegramSourceConnectionList.d.ts +49 -0
  175. package/dist/models/PaginatedGroupTelegramSourceConnectionList.d.ts.map +1 -0
  176. package/dist/models/PaginatedGroupTelegramSourceConnectionList.js +61 -0
  177. package/dist/models/PaginatedGroupTelegramSourceConnectionList.js.map +1 -0
  178. package/dist/models/PaginatedTelegramSourceList.d.ts +49 -0
  179. package/dist/models/PaginatedTelegramSourceList.d.ts.map +1 -0
  180. package/dist/models/PaginatedTelegramSourceList.js +61 -0
  181. package/dist/models/PaginatedTelegramSourceList.js.map +1 -0
  182. package/dist/models/PaginatedTelegramSourcePropertyMappingList.d.ts +49 -0
  183. package/dist/models/PaginatedTelegramSourcePropertyMappingList.d.ts.map +1 -0
  184. package/dist/models/PaginatedTelegramSourcePropertyMappingList.js +61 -0
  185. package/dist/models/PaginatedTelegramSourcePropertyMappingList.js.map +1 -0
  186. package/dist/models/PaginatedUserTelegramSourceConnectionList.d.ts +49 -0
  187. package/dist/models/PaginatedUserTelegramSourceConnectionList.d.ts.map +1 -0
  188. package/dist/models/PaginatedUserTelegramSourceConnectionList.js +61 -0
  189. package/dist/models/PaginatedUserTelegramSourceConnectionList.js.map +1 -0
  190. package/dist/models/PatchedGroupTelegramSourceConnectionRequest.d.ts +45 -0
  191. package/dist/models/PatchedGroupTelegramSourceConnectionRequest.d.ts.map +1 -0
  192. package/dist/models/PatchedGroupTelegramSourceConnectionRequest.js +53 -0
  193. package/dist/models/PatchedGroupTelegramSourceConnectionRequest.js.map +1 -0
  194. package/dist/models/PatchedTelegramSourcePropertyMappingRequest.d.ts +45 -0
  195. package/dist/models/PatchedTelegramSourcePropertyMappingRequest.d.ts.map +1 -0
  196. package/dist/models/PatchedTelegramSourcePropertyMappingRequest.js +53 -0
  197. package/dist/models/PatchedTelegramSourcePropertyMappingRequest.js.map +1 -0
  198. package/dist/models/PatchedTelegramSourceRequest.d.ts +113 -0
  199. package/dist/models/PatchedTelegramSourceRequest.d.ts.map +1 -0
  200. package/dist/models/PatchedTelegramSourceRequest.js +77 -0
  201. package/dist/models/PatchedTelegramSourceRequest.js.map +1 -0
  202. package/dist/models/PatchedUserTelegramSourceConnectionRequest.d.ts +45 -0
  203. package/dist/models/PatchedUserTelegramSourceConnectionRequest.d.ts.map +1 -0
  204. package/dist/models/PatchedUserTelegramSourceConnectionRequest.js +53 -0
  205. package/dist/models/PatchedUserTelegramSourceConnectionRequest.js.map +1 -0
  206. package/dist/models/StateEnum.d.ts +3 -0
  207. package/dist/models/StateEnum.d.ts.map +1 -1
  208. package/dist/models/StateEnum.js +3 -0
  209. package/dist/models/StateEnum.js.map +1 -1
  210. package/dist/models/TaskAggregatedStatusEnum.d.ts +3 -0
  211. package/dist/models/TaskAggregatedStatusEnum.d.ts.map +1 -1
  212. package/dist/models/TaskAggregatedStatusEnum.js +3 -0
  213. package/dist/models/TaskAggregatedStatusEnum.js.map +1 -1
  214. package/dist/models/TelegramChallengeResponseRequest.d.ts +75 -0
  215. package/dist/models/TelegramChallengeResponseRequest.d.ts.map +1 -0
  216. package/dist/models/TelegramChallengeResponseRequest.js +69 -0
  217. package/dist/models/TelegramChallengeResponseRequest.js.map +1 -0
  218. package/dist/models/TelegramLoginChallenge.d.ts +61 -0
  219. package/dist/models/TelegramLoginChallenge.d.ts.map +1 -0
  220. package/dist/models/TelegramLoginChallenge.js +62 -0
  221. package/dist/models/TelegramLoginChallenge.js.map +1 -0
  222. package/dist/models/TelegramSource.d.ts +149 -0
  223. package/dist/models/TelegramSource.d.ts.map +1 -0
  224. package/dist/models/TelegramSource.js +104 -0
  225. package/dist/models/TelegramSource.js.map +1 -0
  226. package/dist/models/TelegramSourcePropertyMapping.d.ts +75 -0
  227. package/dist/models/TelegramSourcePropertyMapping.d.ts.map +1 -0
  228. package/dist/models/TelegramSourcePropertyMapping.js +72 -0
  229. package/dist/models/TelegramSourcePropertyMapping.js.map +1 -0
  230. package/dist/models/TelegramSourcePropertyMappingRequest.d.ts +45 -0
  231. package/dist/models/TelegramSourcePropertyMappingRequest.d.ts.map +1 -0
  232. package/dist/models/TelegramSourcePropertyMappingRequest.js +57 -0
  233. package/dist/models/TelegramSourcePropertyMappingRequest.js.map +1 -0
  234. package/dist/models/TelegramSourceRequest.d.ts +113 -0
  235. package/dist/models/TelegramSourceRequest.d.ts.map +1 -0
  236. package/dist/models/TelegramSourceRequest.js +87 -0
  237. package/dist/models/TelegramSourceRequest.js.map +1 -0
  238. package/dist/models/UserTelegramSourceConnection.d.ts +70 -0
  239. package/dist/models/UserTelegramSourceConnection.d.ts.map +1 -0
  240. package/dist/models/UserTelegramSourceConnection.js +72 -0
  241. package/dist/models/UserTelegramSourceConnection.js.map +1 -0
  242. package/dist/models/UserTelegramSourceConnectionRequest.d.ts +45 -0
  243. package/dist/models/UserTelegramSourceConnectionRequest.d.ts.map +1 -0
  244. package/dist/models/UserTelegramSourceConnectionRequest.js +59 -0
  245. package/dist/models/UserTelegramSourceConnectionRequest.js.map +1 -0
  246. package/dist/models/index.d.ts +18 -0
  247. package/dist/models/index.d.ts.map +1 -1
  248. package/dist/models/index.js +18 -0
  249. package/dist/models/index.js.map +1 -1
  250. package/dist/tsconfig.esm.tsbuildinfo +1 -1
  251. package/package.json +1 -1
  252. package/src/apis/PropertymappingsApi.ts +397 -0
  253. package/src/apis/RbacApi.ts +8 -0
  254. package/src/apis/SourcesApi.ts +2484 -1232
  255. package/src/apis/TasksApi.ts +6 -0
  256. package/src/models/AppEnum.ts +2 -0
  257. package/src/models/ChallengeTypes.ts +12 -1
  258. package/src/models/FlowChallengeResponseRequest.ts +12 -1
  259. package/src/models/GroupTelegramSourceConnection.ts +124 -0
  260. package/src/models/GroupTelegramSourceConnectionRequest.ts +84 -0
  261. package/src/models/LastTaskStatusEnum.ts +3 -0
  262. package/src/models/LoginChallengeTypes.ts +12 -1
  263. package/src/models/ModelEnum.ts +4 -0
  264. package/src/models/PaginatedGroupTelegramSourceConnectionList.ts +99 -0
  265. package/src/models/PaginatedTelegramSourceList.ts +99 -0
  266. package/src/models/PaginatedTelegramSourcePropertyMappingList.ts +99 -0
  267. package/src/models/PaginatedUserTelegramSourceConnectionList.ts +99 -0
  268. package/src/models/PatchedGroupTelegramSourceConnectionRequest.ts +81 -0
  269. package/src/models/PatchedTelegramSourcePropertyMappingRequest.ts +81 -0
  270. package/src/models/PatchedTelegramSourceRequest.ts +186 -0
  271. package/src/models/PatchedUserTelegramSourceConnectionRequest.ts +81 -0
  272. package/src/models/StateEnum.ts +3 -0
  273. package/src/models/TaskAggregatedStatusEnum.ts +3 -0
  274. package/src/models/TelegramChallengeResponseRequest.ts +124 -0
  275. package/src/models/TelegramLoginChallenge.ts +114 -0
  276. package/src/models/TelegramSource.ts +238 -0
  277. package/src/models/TelegramSourcePropertyMapping.ts +123 -0
  278. package/src/models/TelegramSourcePropertyMappingRequest.ts +83 -0
  279. package/src/models/TelegramSourceRequest.ts +191 -0
  280. package/src/models/UserTelegramSourceConnection.ts +124 -0
  281. package/src/models/UserTelegramSourceConnectionRequest.ts +84 -0
  282. package/src/models/index.ts +18 -0
  283. package/tsconfig.tsbuildinfo +1 -1
@@ -0,0 +1,124 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2025.10.0-rc1
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 { mapValues } from '../runtime';
16
+ /**
17
+ * Base class for all challenge responses
18
+ * @export
19
+ * @interface TelegramChallengeResponseRequest
20
+ */
21
+ export interface TelegramChallengeResponseRequest {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof TelegramChallengeResponseRequest
26
+ */
27
+ component?: string;
28
+ /**
29
+ *
30
+ * @type {number}
31
+ * @memberof TelegramChallengeResponseRequest
32
+ */
33
+ id: number;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof TelegramChallengeResponseRequest
38
+ */
39
+ firstName?: string;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof TelegramChallengeResponseRequest
44
+ */
45
+ lastName?: string;
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof TelegramChallengeResponseRequest
50
+ */
51
+ username?: string;
52
+ /**
53
+ *
54
+ * @type {string}
55
+ * @memberof TelegramChallengeResponseRequest
56
+ */
57
+ photoUrl?: string;
58
+ /**
59
+ *
60
+ * @type {number}
61
+ * @memberof TelegramChallengeResponseRequest
62
+ */
63
+ authDate: number;
64
+ /**
65
+ *
66
+ * @type {string}
67
+ * @memberof TelegramChallengeResponseRequest
68
+ */
69
+ hash: string;
70
+ }
71
+
72
+ /**
73
+ * Check if a given object implements the TelegramChallengeResponseRequest interface.
74
+ */
75
+ export function instanceOfTelegramChallengeResponseRequest(value: object): value is TelegramChallengeResponseRequest {
76
+ if (!('id' in value) || value['id'] === undefined) return false;
77
+ if (!('authDate' in value) || value['authDate'] === undefined) return false;
78
+ if (!('hash' in value) || value['hash'] === undefined) return false;
79
+ return true;
80
+ }
81
+
82
+ export function TelegramChallengeResponseRequestFromJSON(json: any): TelegramChallengeResponseRequest {
83
+ return TelegramChallengeResponseRequestFromJSONTyped(json, false);
84
+ }
85
+
86
+ export function TelegramChallengeResponseRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): TelegramChallengeResponseRequest {
87
+ if (json == null) {
88
+ return json;
89
+ }
90
+ return {
91
+
92
+ 'component': json['component'] == null ? undefined : json['component'],
93
+ 'id': json['id'],
94
+ 'firstName': json['first_name'] == null ? undefined : json['first_name'],
95
+ 'lastName': json['last_name'] == null ? undefined : json['last_name'],
96
+ 'username': json['username'] == null ? undefined : json['username'],
97
+ 'photoUrl': json['photo_url'] == null ? undefined : json['photo_url'],
98
+ 'authDate': json['auth_date'],
99
+ 'hash': json['hash'],
100
+ };
101
+ }
102
+
103
+ export function TelegramChallengeResponseRequestToJSON(json: any): TelegramChallengeResponseRequest {
104
+ return TelegramChallengeResponseRequestToJSONTyped(json, false);
105
+ }
106
+
107
+ export function TelegramChallengeResponseRequestToJSONTyped(value?: TelegramChallengeResponseRequest | null, ignoreDiscriminator: boolean = false): any {
108
+ if (value == null) {
109
+ return value;
110
+ }
111
+
112
+ return {
113
+
114
+ 'component': value['component'],
115
+ 'id': value['id'],
116
+ 'first_name': value['firstName'],
117
+ 'last_name': value['lastName'],
118
+ 'username': value['username'],
119
+ 'photo_url': value['photoUrl'],
120
+ 'auth_date': value['authDate'],
121
+ 'hash': value['hash'],
122
+ };
123
+ }
124
+
@@ -0,0 +1,114 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2025.10.0-rc1
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 { mapValues } from '../runtime';
16
+ import type { ErrorDetail } from './ErrorDetail';
17
+ import {
18
+ ErrorDetailFromJSON,
19
+ ErrorDetailFromJSONTyped,
20
+ ErrorDetailToJSON,
21
+ ErrorDetailToJSONTyped,
22
+ } from './ErrorDetail';
23
+ import type { ContextualFlowInfo } from './ContextualFlowInfo';
24
+ import {
25
+ ContextualFlowInfoFromJSON,
26
+ ContextualFlowInfoFromJSONTyped,
27
+ ContextualFlowInfoToJSON,
28
+ ContextualFlowInfoToJSONTyped,
29
+ } from './ContextualFlowInfo';
30
+
31
+ /**
32
+ * Base login challenge for Identification stage
33
+ * @export
34
+ * @interface TelegramLoginChallenge
35
+ */
36
+ export interface TelegramLoginChallenge {
37
+ /**
38
+ *
39
+ * @type {ContextualFlowInfo}
40
+ * @memberof TelegramLoginChallenge
41
+ */
42
+ flowInfo?: ContextualFlowInfo;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof TelegramLoginChallenge
47
+ */
48
+ component?: string;
49
+ /**
50
+ *
51
+ * @type {{ [key: string]: Array<ErrorDetail>; }}
52
+ * @memberof TelegramLoginChallenge
53
+ */
54
+ responseErrors?: { [key: string]: Array<ErrorDetail>; };
55
+ /**
56
+ * Telegram bot username
57
+ * @type {string}
58
+ * @memberof TelegramLoginChallenge
59
+ */
60
+ botUsername: string;
61
+ /**
62
+ *
63
+ * @type {boolean}
64
+ * @memberof TelegramLoginChallenge
65
+ */
66
+ requestMessageAccess: boolean;
67
+ }
68
+
69
+ /**
70
+ * Check if a given object implements the TelegramLoginChallenge interface.
71
+ */
72
+ export function instanceOfTelegramLoginChallenge(value: object): value is TelegramLoginChallenge {
73
+ if (!('botUsername' in value) || value['botUsername'] === undefined) return false;
74
+ if (!('requestMessageAccess' in value) || value['requestMessageAccess'] === undefined) return false;
75
+ return true;
76
+ }
77
+
78
+ export function TelegramLoginChallengeFromJSON(json: any): TelegramLoginChallenge {
79
+ return TelegramLoginChallengeFromJSONTyped(json, false);
80
+ }
81
+
82
+ export function TelegramLoginChallengeFromJSONTyped(json: any, ignoreDiscriminator: boolean): TelegramLoginChallenge {
83
+ if (json == null) {
84
+ return json;
85
+ }
86
+ return {
87
+
88
+ 'flowInfo': json['flow_info'] == null ? undefined : ContextualFlowInfoFromJSON(json['flow_info']),
89
+ 'component': json['component'] == null ? undefined : json['component'],
90
+ 'responseErrors': json['response_errors'] == null ? undefined : json['response_errors'],
91
+ 'botUsername': json['bot_username'],
92
+ 'requestMessageAccess': json['request_message_access'],
93
+ };
94
+ }
95
+
96
+ export function TelegramLoginChallengeToJSON(json: any): TelegramLoginChallenge {
97
+ return TelegramLoginChallengeToJSONTyped(json, false);
98
+ }
99
+
100
+ export function TelegramLoginChallengeToJSONTyped(value?: TelegramLoginChallenge | null, ignoreDiscriminator: boolean = false): any {
101
+ if (value == null) {
102
+ return value;
103
+ }
104
+
105
+ return {
106
+
107
+ 'flow_info': ContextualFlowInfoToJSON(value['flowInfo']),
108
+ 'component': value['component'],
109
+ 'response_errors': value['responseErrors'],
110
+ 'bot_username': value['botUsername'],
111
+ 'request_message_access': value['requestMessageAccess'],
112
+ };
113
+ }
114
+
@@ -0,0 +1,238 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2025.10.0-rc1
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 { mapValues } from '../runtime';
16
+ import type { PolicyEngineMode } from './PolicyEngineMode';
17
+ import {
18
+ PolicyEngineModeFromJSON,
19
+ PolicyEngineModeFromJSONTyped,
20
+ PolicyEngineModeToJSON,
21
+ PolicyEngineModeToJSONTyped,
22
+ } from './PolicyEngineMode';
23
+ import type { UserMatchingModeEnum } from './UserMatchingModeEnum';
24
+ import {
25
+ UserMatchingModeEnumFromJSON,
26
+ UserMatchingModeEnumFromJSONTyped,
27
+ UserMatchingModeEnumToJSON,
28
+ UserMatchingModeEnumToJSONTyped,
29
+ } from './UserMatchingModeEnum';
30
+
31
+ /**
32
+ * Source Serializer
33
+ * @export
34
+ * @interface TelegramSource
35
+ */
36
+ export interface TelegramSource {
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof TelegramSource
41
+ */
42
+ readonly pk: string;
43
+ /**
44
+ * Source's display Name.
45
+ * @type {string}
46
+ * @memberof TelegramSource
47
+ */
48
+ name: string;
49
+ /**
50
+ * Internal source name, used in URLs.
51
+ * @type {string}
52
+ * @memberof TelegramSource
53
+ */
54
+ slug: string;
55
+ /**
56
+ *
57
+ * @type {boolean}
58
+ * @memberof TelegramSource
59
+ */
60
+ enabled?: boolean;
61
+ /**
62
+ * Flow to use when authenticating existing users.
63
+ * @type {string}
64
+ * @memberof TelegramSource
65
+ */
66
+ authenticationFlow?: string | null;
67
+ /**
68
+ * Flow to use when enrolling new users.
69
+ * @type {string}
70
+ * @memberof TelegramSource
71
+ */
72
+ enrollmentFlow?: string | null;
73
+ /**
74
+ *
75
+ * @type {Array<string>}
76
+ * @memberof TelegramSource
77
+ */
78
+ userPropertyMappings?: Array<string>;
79
+ /**
80
+ *
81
+ * @type {Array<string>}
82
+ * @memberof TelegramSource
83
+ */
84
+ groupPropertyMappings?: Array<string>;
85
+ /**
86
+ * Get object component so that we know how to edit the object
87
+ * @type {string}
88
+ * @memberof TelegramSource
89
+ */
90
+ readonly component: string;
91
+ /**
92
+ * Return object's verbose_name
93
+ * @type {string}
94
+ * @memberof TelegramSource
95
+ */
96
+ readonly verboseName: string;
97
+ /**
98
+ * Return object's plural verbose_name
99
+ * @type {string}
100
+ * @memberof TelegramSource
101
+ */
102
+ readonly verboseNamePlural: string;
103
+ /**
104
+ * Return internal model name
105
+ * @type {string}
106
+ * @memberof TelegramSource
107
+ */
108
+ readonly metaModelName: string;
109
+ /**
110
+ *
111
+ * @type {PolicyEngineMode}
112
+ * @memberof TelegramSource
113
+ */
114
+ policyEngineMode?: PolicyEngineMode;
115
+ /**
116
+ * How the source determines if an existing user should be authenticated or a new user enrolled.
117
+ * @type {UserMatchingModeEnum}
118
+ * @memberof TelegramSource
119
+ */
120
+ userMatchingMode?: UserMatchingModeEnum;
121
+ /**
122
+ * 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.
123
+ * @type {string}
124
+ * @memberof TelegramSource
125
+ */
126
+ readonly managed: string | null;
127
+ /**
128
+ *
129
+ * @type {string}
130
+ * @memberof TelegramSource
131
+ */
132
+ userPathTemplate?: string;
133
+ /**
134
+ *
135
+ * @type {string}
136
+ * @memberof TelegramSource
137
+ */
138
+ readonly icon: string | null;
139
+ /**
140
+ * Telegram bot username
141
+ * @type {string}
142
+ * @memberof TelegramSource
143
+ */
144
+ botUsername: string;
145
+ /**
146
+ * Request access to send messages from your bot.
147
+ * @type {boolean}
148
+ * @memberof TelegramSource
149
+ */
150
+ requestMessageAccess?: boolean;
151
+ /**
152
+ * Flow used before authentication.
153
+ * @type {string}
154
+ * @memberof TelegramSource
155
+ */
156
+ preAuthenticationFlow: string;
157
+ }
158
+
159
+
160
+
161
+ /**
162
+ * Check if a given object implements the TelegramSource interface.
163
+ */
164
+ export function instanceOfTelegramSource(value: object): value is TelegramSource {
165
+ if (!('pk' in value) || value['pk'] === undefined) return false;
166
+ if (!('name' in value) || value['name'] === undefined) return false;
167
+ if (!('slug' in value) || value['slug'] === undefined) return false;
168
+ if (!('component' in value) || value['component'] === undefined) return false;
169
+ if (!('verboseName' in value) || value['verboseName'] === undefined) return false;
170
+ if (!('verboseNamePlural' in value) || value['verboseNamePlural'] === undefined) return false;
171
+ if (!('metaModelName' in value) || value['metaModelName'] === undefined) return false;
172
+ if (!('managed' in value) || value['managed'] === undefined) return false;
173
+ if (!('icon' in value) || value['icon'] === undefined) return false;
174
+ if (!('botUsername' in value) || value['botUsername'] === undefined) return false;
175
+ if (!('preAuthenticationFlow' in value) || value['preAuthenticationFlow'] === undefined) return false;
176
+ return true;
177
+ }
178
+
179
+ export function TelegramSourceFromJSON(json: any): TelegramSource {
180
+ return TelegramSourceFromJSONTyped(json, false);
181
+ }
182
+
183
+ export function TelegramSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): TelegramSource {
184
+ if (json == null) {
185
+ return json;
186
+ }
187
+ return {
188
+
189
+ 'pk': json['pk'],
190
+ 'name': json['name'],
191
+ 'slug': json['slug'],
192
+ 'enabled': json['enabled'] == null ? undefined : json['enabled'],
193
+ 'authenticationFlow': json['authentication_flow'] == null ? undefined : json['authentication_flow'],
194
+ 'enrollmentFlow': json['enrollment_flow'] == null ? undefined : json['enrollment_flow'],
195
+ 'userPropertyMappings': json['user_property_mappings'] == null ? undefined : json['user_property_mappings'],
196
+ 'groupPropertyMappings': json['group_property_mappings'] == null ? undefined : json['group_property_mappings'],
197
+ 'component': json['component'],
198
+ 'verboseName': json['verbose_name'],
199
+ 'verboseNamePlural': json['verbose_name_plural'],
200
+ 'metaModelName': json['meta_model_name'],
201
+ 'policyEngineMode': json['policy_engine_mode'] == null ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
202
+ 'userMatchingMode': json['user_matching_mode'] == null ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
203
+ 'managed': json['managed'],
204
+ 'userPathTemplate': json['user_path_template'] == null ? undefined : json['user_path_template'],
205
+ 'icon': json['icon'],
206
+ 'botUsername': json['bot_username'],
207
+ 'requestMessageAccess': json['request_message_access'] == null ? undefined : json['request_message_access'],
208
+ 'preAuthenticationFlow': json['pre_authentication_flow'],
209
+ };
210
+ }
211
+
212
+ export function TelegramSourceToJSON(json: any): TelegramSource {
213
+ return TelegramSourceToJSONTyped(json, false);
214
+ }
215
+
216
+ export function TelegramSourceToJSONTyped(value?: Omit<TelegramSource, 'pk'|'component'|'verbose_name'|'verbose_name_plural'|'meta_model_name'|'managed'|'icon'> | null, ignoreDiscriminator: boolean = false): any {
217
+ if (value == null) {
218
+ return value;
219
+ }
220
+
221
+ return {
222
+
223
+ 'name': value['name'],
224
+ 'slug': value['slug'],
225
+ 'enabled': value['enabled'],
226
+ 'authentication_flow': value['authenticationFlow'],
227
+ 'enrollment_flow': value['enrollmentFlow'],
228
+ 'user_property_mappings': value['userPropertyMappings'],
229
+ 'group_property_mappings': value['groupPropertyMappings'],
230
+ 'policy_engine_mode': PolicyEngineModeToJSON(value['policyEngineMode']),
231
+ 'user_matching_mode': UserMatchingModeEnumToJSON(value['userMatchingMode']),
232
+ 'user_path_template': value['userPathTemplate'],
233
+ 'bot_username': value['botUsername'],
234
+ 'request_message_access': value['requestMessageAccess'],
235
+ 'pre_authentication_flow': value['preAuthenticationFlow'],
236
+ };
237
+ }
238
+
@@ -0,0 +1,123 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2025.10.0-rc1
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 { mapValues } from '../runtime';
16
+ /**
17
+ * TelegramSourcePropertyMapping Serializer
18
+ * @export
19
+ * @interface TelegramSourcePropertyMapping
20
+ */
21
+ export interface TelegramSourcePropertyMapping {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof TelegramSourcePropertyMapping
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 TelegramSourcePropertyMapping
32
+ */
33
+ managed?: string | null;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof TelegramSourcePropertyMapping
38
+ */
39
+ name: string;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof TelegramSourcePropertyMapping
44
+ */
45
+ expression: string;
46
+ /**
47
+ * Get object's component so that we know how to edit the object
48
+ * @type {string}
49
+ * @memberof TelegramSourcePropertyMapping
50
+ */
51
+ readonly component: string;
52
+ /**
53
+ * Return object's verbose_name
54
+ * @type {string}
55
+ * @memberof TelegramSourcePropertyMapping
56
+ */
57
+ readonly verboseName: string;
58
+ /**
59
+ * Return object's plural verbose_name
60
+ * @type {string}
61
+ * @memberof TelegramSourcePropertyMapping
62
+ */
63
+ readonly verboseNamePlural: string;
64
+ /**
65
+ * Return internal model name
66
+ * @type {string}
67
+ * @memberof TelegramSourcePropertyMapping
68
+ */
69
+ readonly metaModelName: string;
70
+ }
71
+
72
+ /**
73
+ * Check if a given object implements the TelegramSourcePropertyMapping interface.
74
+ */
75
+ export function instanceOfTelegramSourcePropertyMapping(value: object): value is TelegramSourcePropertyMapping {
76
+ if (!('pk' in value) || value['pk'] === undefined) return false;
77
+ if (!('name' in value) || value['name'] === undefined) return false;
78
+ if (!('expression' in value) || value['expression'] === undefined) return false;
79
+ if (!('component' in value) || value['component'] === undefined) return false;
80
+ if (!('verboseName' in value) || value['verboseName'] === undefined) return false;
81
+ if (!('verboseNamePlural' in value) || value['verboseNamePlural'] === undefined) return false;
82
+ if (!('metaModelName' in value) || value['metaModelName'] === undefined) return false;
83
+ return true;
84
+ }
85
+
86
+ export function TelegramSourcePropertyMappingFromJSON(json: any): TelegramSourcePropertyMapping {
87
+ return TelegramSourcePropertyMappingFromJSONTyped(json, false);
88
+ }
89
+
90
+ export function TelegramSourcePropertyMappingFromJSONTyped(json: any, ignoreDiscriminator: boolean): TelegramSourcePropertyMapping {
91
+ if (json == null) {
92
+ return json;
93
+ }
94
+ return {
95
+
96
+ 'pk': json['pk'],
97
+ 'managed': json['managed'] == null ? undefined : json['managed'],
98
+ 'name': json['name'],
99
+ 'expression': json['expression'],
100
+ 'component': json['component'],
101
+ 'verboseName': json['verbose_name'],
102
+ 'verboseNamePlural': json['verbose_name_plural'],
103
+ 'metaModelName': json['meta_model_name'],
104
+ };
105
+ }
106
+
107
+ export function TelegramSourcePropertyMappingToJSON(json: any): TelegramSourcePropertyMapping {
108
+ return TelegramSourcePropertyMappingToJSONTyped(json, false);
109
+ }
110
+
111
+ export function TelegramSourcePropertyMappingToJSONTyped(value?: Omit<TelegramSourcePropertyMapping, 'pk'|'component'|'verbose_name'|'verbose_name_plural'|'meta_model_name'> | null, ignoreDiscriminator: boolean = false): any {
112
+ if (value == null) {
113
+ return value;
114
+ }
115
+
116
+ return {
117
+
118
+ 'managed': value['managed'],
119
+ 'name': value['name'],
120
+ 'expression': value['expression'],
121
+ };
122
+ }
123
+
@@ -0,0 +1,83 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2025.10.0-rc1
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 { mapValues } from '../runtime';
16
+ /**
17
+ * TelegramSourcePropertyMapping Serializer
18
+ * @export
19
+ * @interface TelegramSourcePropertyMappingRequest
20
+ */
21
+ export interface TelegramSourcePropertyMappingRequest {
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 TelegramSourcePropertyMappingRequest
26
+ */
27
+ managed?: string | null;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof TelegramSourcePropertyMappingRequest
32
+ */
33
+ name: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof TelegramSourcePropertyMappingRequest
38
+ */
39
+ expression: string;
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the TelegramSourcePropertyMappingRequest interface.
44
+ */
45
+ export function instanceOfTelegramSourcePropertyMappingRequest(value: object): value is TelegramSourcePropertyMappingRequest {
46
+ if (!('name' in value) || value['name'] === undefined) return false;
47
+ if (!('expression' in value) || value['expression'] === undefined) return false;
48
+ return true;
49
+ }
50
+
51
+ export function TelegramSourcePropertyMappingRequestFromJSON(json: any): TelegramSourcePropertyMappingRequest {
52
+ return TelegramSourcePropertyMappingRequestFromJSONTyped(json, false);
53
+ }
54
+
55
+ export function TelegramSourcePropertyMappingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): TelegramSourcePropertyMappingRequest {
56
+ if (json == null) {
57
+ return json;
58
+ }
59
+ return {
60
+
61
+ 'managed': json['managed'] == null ? undefined : json['managed'],
62
+ 'name': json['name'],
63
+ 'expression': json['expression'],
64
+ };
65
+ }
66
+
67
+ export function TelegramSourcePropertyMappingRequestToJSON(json: any): TelegramSourcePropertyMappingRequest {
68
+ return TelegramSourcePropertyMappingRequestToJSONTyped(json, false);
69
+ }
70
+
71
+ export function TelegramSourcePropertyMappingRequestToJSONTyped(value?: TelegramSourcePropertyMappingRequest | null, ignoreDiscriminator: boolean = false): any {
72
+ if (value == null) {
73
+ return value;
74
+ }
75
+
76
+ return {
77
+
78
+ 'managed': value['managed'],
79
+ 'name': value['name'],
80
+ 'expression': value['expression'],
81
+ };
82
+ }
83
+