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

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 (247) 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/esm/apis/PropertymappingsApi.d.ts +86 -1
  15. package/dist/esm/apis/PropertymappingsApi.d.ts.map +1 -1
  16. package/dist/esm/apis/PropertymappingsApi.js +255 -0
  17. package/dist/esm/apis/PropertymappingsApi.js.map +1 -1
  18. package/dist/esm/apis/RbacApi.d.ts +8 -0
  19. package/dist/esm/apis/RbacApi.d.ts.map +1 -1
  20. package/dist/esm/apis/RbacApi.js +8 -0
  21. package/dist/esm/apis/RbacApi.js.map +1 -1
  22. package/dist/esm/apis/SourcesApi.d.ts +293 -1
  23. package/dist/esm/apis/SourcesApi.d.ts.map +1 -1
  24. package/dist/esm/apis/SourcesApi.js +853 -42
  25. package/dist/esm/apis/SourcesApi.js.map +1 -1
  26. package/dist/esm/models/AppEnum.d.ts +1 -0
  27. package/dist/esm/models/AppEnum.d.ts.map +1 -1
  28. package/dist/esm/models/AppEnum.js +1 -0
  29. package/dist/esm/models/AppEnum.js.map +1 -1
  30. package/dist/esm/models/ChallengeTypes.d.ts +3 -0
  31. package/dist/esm/models/ChallengeTypes.d.ts.map +1 -1
  32. package/dist/esm/models/ChallengeTypes.js +5 -0
  33. package/dist/esm/models/ChallengeTypes.js.map +1 -1
  34. package/dist/esm/models/FlowChallengeResponseRequest.d.ts +3 -0
  35. package/dist/esm/models/FlowChallengeResponseRequest.d.ts.map +1 -1
  36. package/dist/esm/models/FlowChallengeResponseRequest.js +5 -0
  37. package/dist/esm/models/FlowChallengeResponseRequest.js.map +1 -1
  38. package/dist/esm/models/GroupTelegramSourceConnection.d.ts +70 -0
  39. package/dist/esm/models/GroupTelegramSourceConnection.d.ts.map +1 -0
  40. package/dist/esm/models/GroupTelegramSourceConnection.js +72 -0
  41. package/dist/esm/models/GroupTelegramSourceConnection.js.map +1 -0
  42. package/dist/esm/models/GroupTelegramSourceConnectionRequest.d.ts +45 -0
  43. package/dist/esm/models/GroupTelegramSourceConnectionRequest.d.ts.map +1 -0
  44. package/dist/esm/models/GroupTelegramSourceConnectionRequest.js +59 -0
  45. package/dist/esm/models/GroupTelegramSourceConnectionRequest.js.map +1 -0
  46. package/dist/esm/models/LoginChallengeTypes.d.ts +3 -0
  47. package/dist/esm/models/LoginChallengeTypes.d.ts.map +1 -1
  48. package/dist/esm/models/LoginChallengeTypes.js +5 -0
  49. package/dist/esm/models/LoginChallengeTypes.js.map +1 -1
  50. package/dist/esm/models/ModelEnum.d.ts +4 -0
  51. package/dist/esm/models/ModelEnum.d.ts.map +1 -1
  52. package/dist/esm/models/ModelEnum.js +4 -0
  53. package/dist/esm/models/ModelEnum.js.map +1 -1
  54. package/dist/esm/models/PaginatedGroupTelegramSourceConnectionList.d.ts +49 -0
  55. package/dist/esm/models/PaginatedGroupTelegramSourceConnectionList.d.ts.map +1 -0
  56. package/dist/esm/models/PaginatedGroupTelegramSourceConnectionList.js +61 -0
  57. package/dist/esm/models/PaginatedGroupTelegramSourceConnectionList.js.map +1 -0
  58. package/dist/esm/models/PaginatedTelegramSourceList.d.ts +49 -0
  59. package/dist/esm/models/PaginatedTelegramSourceList.d.ts.map +1 -0
  60. package/dist/esm/models/PaginatedTelegramSourceList.js +61 -0
  61. package/dist/esm/models/PaginatedTelegramSourceList.js.map +1 -0
  62. package/dist/esm/models/PaginatedTelegramSourcePropertyMappingList.d.ts +49 -0
  63. package/dist/esm/models/PaginatedTelegramSourcePropertyMappingList.d.ts.map +1 -0
  64. package/dist/esm/models/PaginatedTelegramSourcePropertyMappingList.js +61 -0
  65. package/dist/esm/models/PaginatedTelegramSourcePropertyMappingList.js.map +1 -0
  66. package/dist/esm/models/PaginatedUserTelegramSourceConnectionList.d.ts +49 -0
  67. package/dist/esm/models/PaginatedUserTelegramSourceConnectionList.d.ts.map +1 -0
  68. package/dist/esm/models/PaginatedUserTelegramSourceConnectionList.js +61 -0
  69. package/dist/esm/models/PaginatedUserTelegramSourceConnectionList.js.map +1 -0
  70. package/dist/esm/models/PatchedGroupTelegramSourceConnectionRequest.d.ts +45 -0
  71. package/dist/esm/models/PatchedGroupTelegramSourceConnectionRequest.d.ts.map +1 -0
  72. package/dist/esm/models/PatchedGroupTelegramSourceConnectionRequest.js +53 -0
  73. package/dist/esm/models/PatchedGroupTelegramSourceConnectionRequest.js.map +1 -0
  74. package/dist/esm/models/PatchedTelegramSourcePropertyMappingRequest.d.ts +45 -0
  75. package/dist/esm/models/PatchedTelegramSourcePropertyMappingRequest.d.ts.map +1 -0
  76. package/dist/esm/models/PatchedTelegramSourcePropertyMappingRequest.js +53 -0
  77. package/dist/esm/models/PatchedTelegramSourcePropertyMappingRequest.js.map +1 -0
  78. package/dist/esm/models/PatchedTelegramSourceRequest.d.ts +113 -0
  79. package/dist/esm/models/PatchedTelegramSourceRequest.d.ts.map +1 -0
  80. package/dist/esm/models/PatchedTelegramSourceRequest.js +77 -0
  81. package/dist/esm/models/PatchedTelegramSourceRequest.js.map +1 -0
  82. package/dist/esm/models/PatchedUserTelegramSourceConnectionRequest.d.ts +45 -0
  83. package/dist/esm/models/PatchedUserTelegramSourceConnectionRequest.d.ts.map +1 -0
  84. package/dist/esm/models/PatchedUserTelegramSourceConnectionRequest.js +53 -0
  85. package/dist/esm/models/PatchedUserTelegramSourceConnectionRequest.js.map +1 -0
  86. package/dist/esm/models/TelegramChallengeResponseRequest.d.ts +75 -0
  87. package/dist/esm/models/TelegramChallengeResponseRequest.d.ts.map +1 -0
  88. package/dist/esm/models/TelegramChallengeResponseRequest.js +69 -0
  89. package/dist/esm/models/TelegramChallengeResponseRequest.js.map +1 -0
  90. package/dist/esm/models/TelegramLoginChallenge.d.ts +61 -0
  91. package/dist/esm/models/TelegramLoginChallenge.d.ts.map +1 -0
  92. package/dist/esm/models/TelegramLoginChallenge.js +62 -0
  93. package/dist/esm/models/TelegramLoginChallenge.js.map +1 -0
  94. package/dist/esm/models/TelegramSource.d.ts +149 -0
  95. package/dist/esm/models/TelegramSource.d.ts.map +1 -0
  96. package/dist/esm/models/TelegramSource.js +104 -0
  97. package/dist/esm/models/TelegramSource.js.map +1 -0
  98. package/dist/esm/models/TelegramSourcePropertyMapping.d.ts +75 -0
  99. package/dist/esm/models/TelegramSourcePropertyMapping.d.ts.map +1 -0
  100. package/dist/esm/models/TelegramSourcePropertyMapping.js +72 -0
  101. package/dist/esm/models/TelegramSourcePropertyMapping.js.map +1 -0
  102. package/dist/esm/models/TelegramSourcePropertyMappingRequest.d.ts +45 -0
  103. package/dist/esm/models/TelegramSourcePropertyMappingRequest.d.ts.map +1 -0
  104. package/dist/esm/models/TelegramSourcePropertyMappingRequest.js +57 -0
  105. package/dist/esm/models/TelegramSourcePropertyMappingRequest.js.map +1 -0
  106. package/dist/esm/models/TelegramSourceRequest.d.ts +113 -0
  107. package/dist/esm/models/TelegramSourceRequest.d.ts.map +1 -0
  108. package/dist/esm/models/TelegramSourceRequest.js +87 -0
  109. package/dist/esm/models/TelegramSourceRequest.js.map +1 -0
  110. package/dist/esm/models/UserTelegramSourceConnection.d.ts +70 -0
  111. package/dist/esm/models/UserTelegramSourceConnection.d.ts.map +1 -0
  112. package/dist/esm/models/UserTelegramSourceConnection.js +72 -0
  113. package/dist/esm/models/UserTelegramSourceConnection.js.map +1 -0
  114. package/dist/esm/models/UserTelegramSourceConnectionRequest.d.ts +45 -0
  115. package/dist/esm/models/UserTelegramSourceConnectionRequest.d.ts.map +1 -0
  116. package/dist/esm/models/UserTelegramSourceConnectionRequest.js +59 -0
  117. package/dist/esm/models/UserTelegramSourceConnectionRequest.js.map +1 -0
  118. package/dist/esm/models/index.d.ts +18 -0
  119. package/dist/esm/models/index.d.ts.map +1 -1
  120. package/dist/esm/models/index.js +18 -0
  121. package/dist/esm/models/index.js.map +1 -1
  122. package/dist/models/AppEnum.d.ts +1 -0
  123. package/dist/models/AppEnum.d.ts.map +1 -1
  124. package/dist/models/AppEnum.js +1 -0
  125. package/dist/models/AppEnum.js.map +1 -1
  126. package/dist/models/ChallengeTypes.d.ts +3 -0
  127. package/dist/models/ChallengeTypes.d.ts.map +1 -1
  128. package/dist/models/ChallengeTypes.js +5 -0
  129. package/dist/models/ChallengeTypes.js.map +1 -1
  130. package/dist/models/FlowChallengeResponseRequest.d.ts +3 -0
  131. package/dist/models/FlowChallengeResponseRequest.d.ts.map +1 -1
  132. package/dist/models/FlowChallengeResponseRequest.js +5 -0
  133. package/dist/models/FlowChallengeResponseRequest.js.map +1 -1
  134. package/dist/models/GroupTelegramSourceConnection.d.ts +70 -0
  135. package/dist/models/GroupTelegramSourceConnection.d.ts.map +1 -0
  136. package/dist/models/GroupTelegramSourceConnection.js +72 -0
  137. package/dist/models/GroupTelegramSourceConnection.js.map +1 -0
  138. package/dist/models/GroupTelegramSourceConnectionRequest.d.ts +45 -0
  139. package/dist/models/GroupTelegramSourceConnectionRequest.d.ts.map +1 -0
  140. package/dist/models/GroupTelegramSourceConnectionRequest.js +59 -0
  141. package/dist/models/GroupTelegramSourceConnectionRequest.js.map +1 -0
  142. package/dist/models/LoginChallengeTypes.d.ts +3 -0
  143. package/dist/models/LoginChallengeTypes.d.ts.map +1 -1
  144. package/dist/models/LoginChallengeTypes.js +5 -0
  145. package/dist/models/LoginChallengeTypes.js.map +1 -1
  146. package/dist/models/ModelEnum.d.ts +4 -0
  147. package/dist/models/ModelEnum.d.ts.map +1 -1
  148. package/dist/models/ModelEnum.js +4 -0
  149. package/dist/models/ModelEnum.js.map +1 -1
  150. package/dist/models/PaginatedGroupTelegramSourceConnectionList.d.ts +49 -0
  151. package/dist/models/PaginatedGroupTelegramSourceConnectionList.d.ts.map +1 -0
  152. package/dist/models/PaginatedGroupTelegramSourceConnectionList.js +61 -0
  153. package/dist/models/PaginatedGroupTelegramSourceConnectionList.js.map +1 -0
  154. package/dist/models/PaginatedTelegramSourceList.d.ts +49 -0
  155. package/dist/models/PaginatedTelegramSourceList.d.ts.map +1 -0
  156. package/dist/models/PaginatedTelegramSourceList.js +61 -0
  157. package/dist/models/PaginatedTelegramSourceList.js.map +1 -0
  158. package/dist/models/PaginatedTelegramSourcePropertyMappingList.d.ts +49 -0
  159. package/dist/models/PaginatedTelegramSourcePropertyMappingList.d.ts.map +1 -0
  160. package/dist/models/PaginatedTelegramSourcePropertyMappingList.js +61 -0
  161. package/dist/models/PaginatedTelegramSourcePropertyMappingList.js.map +1 -0
  162. package/dist/models/PaginatedUserTelegramSourceConnectionList.d.ts +49 -0
  163. package/dist/models/PaginatedUserTelegramSourceConnectionList.d.ts.map +1 -0
  164. package/dist/models/PaginatedUserTelegramSourceConnectionList.js +61 -0
  165. package/dist/models/PaginatedUserTelegramSourceConnectionList.js.map +1 -0
  166. package/dist/models/PatchedGroupTelegramSourceConnectionRequest.d.ts +45 -0
  167. package/dist/models/PatchedGroupTelegramSourceConnectionRequest.d.ts.map +1 -0
  168. package/dist/models/PatchedGroupTelegramSourceConnectionRequest.js +53 -0
  169. package/dist/models/PatchedGroupTelegramSourceConnectionRequest.js.map +1 -0
  170. package/dist/models/PatchedTelegramSourcePropertyMappingRequest.d.ts +45 -0
  171. package/dist/models/PatchedTelegramSourcePropertyMappingRequest.d.ts.map +1 -0
  172. package/dist/models/PatchedTelegramSourcePropertyMappingRequest.js +53 -0
  173. package/dist/models/PatchedTelegramSourcePropertyMappingRequest.js.map +1 -0
  174. package/dist/models/PatchedTelegramSourceRequest.d.ts +113 -0
  175. package/dist/models/PatchedTelegramSourceRequest.d.ts.map +1 -0
  176. package/dist/models/PatchedTelegramSourceRequest.js +77 -0
  177. package/dist/models/PatchedTelegramSourceRequest.js.map +1 -0
  178. package/dist/models/PatchedUserTelegramSourceConnectionRequest.d.ts +45 -0
  179. package/dist/models/PatchedUserTelegramSourceConnectionRequest.d.ts.map +1 -0
  180. package/dist/models/PatchedUserTelegramSourceConnectionRequest.js +53 -0
  181. package/dist/models/PatchedUserTelegramSourceConnectionRequest.js.map +1 -0
  182. package/dist/models/TelegramChallengeResponseRequest.d.ts +75 -0
  183. package/dist/models/TelegramChallengeResponseRequest.d.ts.map +1 -0
  184. package/dist/models/TelegramChallengeResponseRequest.js +69 -0
  185. package/dist/models/TelegramChallengeResponseRequest.js.map +1 -0
  186. package/dist/models/TelegramLoginChallenge.d.ts +61 -0
  187. package/dist/models/TelegramLoginChallenge.d.ts.map +1 -0
  188. package/dist/models/TelegramLoginChallenge.js +62 -0
  189. package/dist/models/TelegramLoginChallenge.js.map +1 -0
  190. package/dist/models/TelegramSource.d.ts +149 -0
  191. package/dist/models/TelegramSource.d.ts.map +1 -0
  192. package/dist/models/TelegramSource.js +104 -0
  193. package/dist/models/TelegramSource.js.map +1 -0
  194. package/dist/models/TelegramSourcePropertyMapping.d.ts +75 -0
  195. package/dist/models/TelegramSourcePropertyMapping.d.ts.map +1 -0
  196. package/dist/models/TelegramSourcePropertyMapping.js +72 -0
  197. package/dist/models/TelegramSourcePropertyMapping.js.map +1 -0
  198. package/dist/models/TelegramSourcePropertyMappingRequest.d.ts +45 -0
  199. package/dist/models/TelegramSourcePropertyMappingRequest.d.ts.map +1 -0
  200. package/dist/models/TelegramSourcePropertyMappingRequest.js +57 -0
  201. package/dist/models/TelegramSourcePropertyMappingRequest.js.map +1 -0
  202. package/dist/models/TelegramSourceRequest.d.ts +113 -0
  203. package/dist/models/TelegramSourceRequest.d.ts.map +1 -0
  204. package/dist/models/TelegramSourceRequest.js +87 -0
  205. package/dist/models/TelegramSourceRequest.js.map +1 -0
  206. package/dist/models/UserTelegramSourceConnection.d.ts +70 -0
  207. package/dist/models/UserTelegramSourceConnection.d.ts.map +1 -0
  208. package/dist/models/UserTelegramSourceConnection.js +72 -0
  209. package/dist/models/UserTelegramSourceConnection.js.map +1 -0
  210. package/dist/models/UserTelegramSourceConnectionRequest.d.ts +45 -0
  211. package/dist/models/UserTelegramSourceConnectionRequest.d.ts.map +1 -0
  212. package/dist/models/UserTelegramSourceConnectionRequest.js +59 -0
  213. package/dist/models/UserTelegramSourceConnectionRequest.js.map +1 -0
  214. package/dist/models/index.d.ts +18 -0
  215. package/dist/models/index.d.ts.map +1 -1
  216. package/dist/models/index.js +18 -0
  217. package/dist/models/index.js.map +1 -1
  218. package/dist/tsconfig.esm.tsbuildinfo +1 -1
  219. package/package.json +1 -1
  220. package/src/apis/PropertymappingsApi.ts +397 -0
  221. package/src/apis/RbacApi.ts +8 -0
  222. package/src/apis/SourcesApi.ts +2484 -1232
  223. package/src/models/AppEnum.ts +1 -0
  224. package/src/models/ChallengeTypes.ts +12 -1
  225. package/src/models/FlowChallengeResponseRequest.ts +12 -1
  226. package/src/models/GroupTelegramSourceConnection.ts +124 -0
  227. package/src/models/GroupTelegramSourceConnectionRequest.ts +84 -0
  228. package/src/models/LoginChallengeTypes.ts +12 -1
  229. package/src/models/ModelEnum.ts +4 -0
  230. package/src/models/PaginatedGroupTelegramSourceConnectionList.ts +99 -0
  231. package/src/models/PaginatedTelegramSourceList.ts +99 -0
  232. package/src/models/PaginatedTelegramSourcePropertyMappingList.ts +99 -0
  233. package/src/models/PaginatedUserTelegramSourceConnectionList.ts +99 -0
  234. package/src/models/PatchedGroupTelegramSourceConnectionRequest.ts +81 -0
  235. package/src/models/PatchedTelegramSourcePropertyMappingRequest.ts +81 -0
  236. package/src/models/PatchedTelegramSourceRequest.ts +186 -0
  237. package/src/models/PatchedUserTelegramSourceConnectionRequest.ts +81 -0
  238. package/src/models/TelegramChallengeResponseRequest.ts +124 -0
  239. package/src/models/TelegramLoginChallenge.ts +114 -0
  240. package/src/models/TelegramSource.ts +238 -0
  241. package/src/models/TelegramSourcePropertyMapping.ts +123 -0
  242. package/src/models/TelegramSourcePropertyMappingRequest.ts +83 -0
  243. package/src/models/TelegramSourceRequest.ts +191 -0
  244. package/src/models/UserTelegramSourceConnection.ts +124 -0
  245. package/src/models/UserTelegramSourceConnectionRequest.ts +84 -0
  246. package/src/models/index.ts +18 -0
  247. package/tsconfig.tsbuildinfo +1 -1
@@ -0,0 +1,75 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2025.10.0-rc1
6
+ * Contact: hello@goauthentik.io
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Base class for all challenge responses
14
+ * @export
15
+ * @interface TelegramChallengeResponseRequest
16
+ */
17
+ export interface TelegramChallengeResponseRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof TelegramChallengeResponseRequest
22
+ */
23
+ component?: string;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof TelegramChallengeResponseRequest
28
+ */
29
+ id: number;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof TelegramChallengeResponseRequest
34
+ */
35
+ firstName?: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof TelegramChallengeResponseRequest
40
+ */
41
+ lastName?: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof TelegramChallengeResponseRequest
46
+ */
47
+ username?: string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof TelegramChallengeResponseRequest
52
+ */
53
+ photoUrl?: string;
54
+ /**
55
+ *
56
+ * @type {number}
57
+ * @memberof TelegramChallengeResponseRequest
58
+ */
59
+ authDate: number;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof TelegramChallengeResponseRequest
64
+ */
65
+ hash: string;
66
+ }
67
+ /**
68
+ * Check if a given object implements the TelegramChallengeResponseRequest interface.
69
+ */
70
+ export declare function instanceOfTelegramChallengeResponseRequest(value: object): value is TelegramChallengeResponseRequest;
71
+ export declare function TelegramChallengeResponseRequestFromJSON(json: any): TelegramChallengeResponseRequest;
72
+ export declare function TelegramChallengeResponseRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): TelegramChallengeResponseRequest;
73
+ export declare function TelegramChallengeResponseRequestToJSON(json: any): TelegramChallengeResponseRequest;
74
+ export declare function TelegramChallengeResponseRequestToJSONTyped(value?: TelegramChallengeResponseRequest | null, ignoreDiscriminator?: boolean): any;
75
+ //# sourceMappingURL=TelegramChallengeResponseRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TelegramChallengeResponseRequest.d.ts","sourceRoot":"","sources":["../../src/models/TelegramChallengeResponseRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,gCAAgC;IAC7C;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,wBAAgB,0CAA0C,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gCAAgC,CAKnH;AAED,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,GAAG,GAAG,gCAAgC,CAEpG;AAED,wBAAgB,6CAA6C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,gCAAgC,CAevI;AAED,wBAAgB,sCAAsC,CAAC,IAAI,EAAE,GAAG,GAAG,gCAAgC,CAElG;AAED,wBAAgB,2CAA2C,CAAC,KAAK,CAAC,EAAE,gCAAgC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAgBtJ"}
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * authentik
6
+ * Making authentication simple.
7
+ *
8
+ * The version of the OpenAPI document: 2025.10.0-rc1
9
+ * Contact: hello@goauthentik.io
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfTelegramChallengeResponseRequest = instanceOfTelegramChallengeResponseRequest;
17
+ exports.TelegramChallengeResponseRequestFromJSON = TelegramChallengeResponseRequestFromJSON;
18
+ exports.TelegramChallengeResponseRequestFromJSONTyped = TelegramChallengeResponseRequestFromJSONTyped;
19
+ exports.TelegramChallengeResponseRequestToJSON = TelegramChallengeResponseRequestToJSON;
20
+ exports.TelegramChallengeResponseRequestToJSONTyped = TelegramChallengeResponseRequestToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the TelegramChallengeResponseRequest interface.
23
+ */
24
+ function instanceOfTelegramChallengeResponseRequest(value) {
25
+ if (!('id' in value) || value['id'] === undefined)
26
+ return false;
27
+ if (!('authDate' in value) || value['authDate'] === undefined)
28
+ return false;
29
+ if (!('hash' in value) || value['hash'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function TelegramChallengeResponseRequestFromJSON(json) {
34
+ return TelegramChallengeResponseRequestFromJSONTyped(json, false);
35
+ }
36
+ function TelegramChallengeResponseRequestFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'component': json['component'] == null ? undefined : json['component'],
42
+ 'id': json['id'],
43
+ 'firstName': json['first_name'] == null ? undefined : json['first_name'],
44
+ 'lastName': json['last_name'] == null ? undefined : json['last_name'],
45
+ 'username': json['username'] == null ? undefined : json['username'],
46
+ 'photoUrl': json['photo_url'] == null ? undefined : json['photo_url'],
47
+ 'authDate': json['auth_date'],
48
+ 'hash': json['hash'],
49
+ };
50
+ }
51
+ function TelegramChallengeResponseRequestToJSON(json) {
52
+ return TelegramChallengeResponseRequestToJSONTyped(json, false);
53
+ }
54
+ function TelegramChallengeResponseRequestToJSONTyped(value, ignoreDiscriminator = false) {
55
+ if (value == null) {
56
+ return value;
57
+ }
58
+ return {
59
+ 'component': value['component'],
60
+ 'id': value['id'],
61
+ 'first_name': value['firstName'],
62
+ 'last_name': value['lastName'],
63
+ 'username': value['username'],
64
+ 'photo_url': value['photoUrl'],
65
+ 'auth_date': value['authDate'],
66
+ 'hash': value['hash'],
67
+ };
68
+ }
69
+ //# sourceMappingURL=TelegramChallengeResponseRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TelegramChallengeResponseRequest.js","sourceRoot":"","sources":["../../src/models/TelegramChallengeResponseRequest.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA8DH,gGAKC;AAED,4FAEC;AAED,sGAeC;AAED,wFAEC;AAED,kGAgBC;AAnDD;;GAEG;AACH,SAAgB,0CAA0C,CAAC,KAAa;IACpE,IAAI,CAAC,CAAC,IAAI,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChE,IAAI,CAAC,CAAC,UAAU,IAAI,KAAK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C,CAAC,IAAS;IAC5D,OAAO,2CAA2C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACpE,CAAC;AAED,SAAgB,2CAA2C,CAAC,KAA+C,EAAE,sBAA+B,KAAK;IAC7I,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC;QACjB,YAAY,EAAE,KAAK,CAAC,WAAW,CAAC;QAChC,WAAW,EAAE,KAAK,CAAC,UAAU,CAAC;QAC9B,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,WAAW,EAAE,KAAK,CAAC,UAAU,CAAC;QAC9B,WAAW,EAAE,KAAK,CAAC,UAAU,CAAC;QAC9B,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;KACxB,CAAC;AACN,CAAC"}
@@ -0,0 +1,61 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2025.10.0-rc1
6
+ * Contact: hello@goauthentik.io
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { ErrorDetail } from './ErrorDetail';
13
+ import type { ContextualFlowInfo } from './ContextualFlowInfo';
14
+ /**
15
+ * Base login challenge for Identification stage
16
+ * @export
17
+ * @interface TelegramLoginChallenge
18
+ */
19
+ export interface TelegramLoginChallenge {
20
+ /**
21
+ *
22
+ * @type {ContextualFlowInfo}
23
+ * @memberof TelegramLoginChallenge
24
+ */
25
+ flowInfo?: ContextualFlowInfo;
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof TelegramLoginChallenge
30
+ */
31
+ component?: string;
32
+ /**
33
+ *
34
+ * @type {{ [key: string]: Array<ErrorDetail>; }}
35
+ * @memberof TelegramLoginChallenge
36
+ */
37
+ responseErrors?: {
38
+ [key: string]: Array<ErrorDetail>;
39
+ };
40
+ /**
41
+ * Telegram bot username
42
+ * @type {string}
43
+ * @memberof TelegramLoginChallenge
44
+ */
45
+ botUsername: string;
46
+ /**
47
+ *
48
+ * @type {boolean}
49
+ * @memberof TelegramLoginChallenge
50
+ */
51
+ requestMessageAccess: boolean;
52
+ }
53
+ /**
54
+ * Check if a given object implements the TelegramLoginChallenge interface.
55
+ */
56
+ export declare function instanceOfTelegramLoginChallenge(value: object): value is TelegramLoginChallenge;
57
+ export declare function TelegramLoginChallengeFromJSON(json: any): TelegramLoginChallenge;
58
+ export declare function TelegramLoginChallengeFromJSONTyped(json: any, ignoreDiscriminator: boolean): TelegramLoginChallenge;
59
+ export declare function TelegramLoginChallengeToJSON(json: any): TelegramLoginChallenge;
60
+ export declare function TelegramLoginChallengeToJSONTyped(value?: TelegramLoginChallenge | null, ignoreDiscriminator?: boolean): any;
61
+ //# sourceMappingURL=TelegramLoginChallenge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TelegramLoginChallenge.d.ts","sourceRoot":"","sources":["../../src/models/TelegramLoginChallenge.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAOjD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAQ/D;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,kBAAkB,CAAC;IAC9B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,cAAc,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,KAAK,CAAC,WAAW,CAAC,CAAC;KAAE,CAAC;IACxD;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,oBAAoB,EAAE,OAAO,CAAC;CACjC;AAED;;GAEG;AACH,wBAAgB,gCAAgC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,sBAAsB,CAI/F;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,GAAG,sBAAsB,CAEhF;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,sBAAsB,CAYnH;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,sBAAsB,CAE9E;AAED,wBAAgB,iCAAiC,CAAC,KAAK,CAAC,EAAE,sBAAsB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAalI"}
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * authentik
6
+ * Making authentication simple.
7
+ *
8
+ * The version of the OpenAPI document: 2025.10.0-rc1
9
+ * Contact: hello@goauthentik.io
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfTelegramLoginChallenge = instanceOfTelegramLoginChallenge;
17
+ exports.TelegramLoginChallengeFromJSON = TelegramLoginChallengeFromJSON;
18
+ exports.TelegramLoginChallengeFromJSONTyped = TelegramLoginChallengeFromJSONTyped;
19
+ exports.TelegramLoginChallengeToJSON = TelegramLoginChallengeToJSON;
20
+ exports.TelegramLoginChallengeToJSONTyped = TelegramLoginChallengeToJSONTyped;
21
+ const ContextualFlowInfo_1 = require("./ContextualFlowInfo");
22
+ /**
23
+ * Check if a given object implements the TelegramLoginChallenge interface.
24
+ */
25
+ function instanceOfTelegramLoginChallenge(value) {
26
+ if (!('botUsername' in value) || value['botUsername'] === undefined)
27
+ return false;
28
+ if (!('requestMessageAccess' in value) || value['requestMessageAccess'] === undefined)
29
+ return false;
30
+ return true;
31
+ }
32
+ function TelegramLoginChallengeFromJSON(json) {
33
+ return TelegramLoginChallengeFromJSONTyped(json, false);
34
+ }
35
+ function TelegramLoginChallengeFromJSONTyped(json, ignoreDiscriminator) {
36
+ if (json == null) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'flowInfo': json['flow_info'] == null ? undefined : (0, ContextualFlowInfo_1.ContextualFlowInfoFromJSON)(json['flow_info']),
41
+ 'component': json['component'] == null ? undefined : json['component'],
42
+ 'responseErrors': json['response_errors'] == null ? undefined : json['response_errors'],
43
+ 'botUsername': json['bot_username'],
44
+ 'requestMessageAccess': json['request_message_access'],
45
+ };
46
+ }
47
+ function TelegramLoginChallengeToJSON(json) {
48
+ return TelegramLoginChallengeToJSONTyped(json, false);
49
+ }
50
+ function TelegramLoginChallengeToJSONTyped(value, ignoreDiscriminator = false) {
51
+ if (value == null) {
52
+ return value;
53
+ }
54
+ return {
55
+ 'flow_info': (0, ContextualFlowInfo_1.ContextualFlowInfoToJSON)(value['flowInfo']),
56
+ 'component': value['component'],
57
+ 'response_errors': value['responseErrors'],
58
+ 'bot_username': value['botUsername'],
59
+ 'request_message_access': value['requestMessageAccess'],
60
+ };
61
+ }
62
+ //# sourceMappingURL=TelegramLoginChallenge.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TelegramLoginChallenge.js","sourceRoot":"","sources":["../../src/models/TelegramLoginChallenge.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA2DH,4EAIC;AAED,wEAEC;AAED,kFAYC;AAED,oEAEC;AAED,8EAaC;AAzFD,6DAK8B;AAwC9B;;GAEG;AACH,SAAgB,gCAAgC,CAAC,KAAa;IAC1D,IAAI,CAAC,CAAC,aAAa,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,aAAa,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAClF,IAAI,CAAC,CAAC,sBAAsB,IAAI,KAAK,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KAAK,CAAC,gBAAgB,CAAC;QAC1C,cAAc,EAAE,KAAK,CAAC,aAAa,CAAC;QACpC,wBAAwB,EAAE,KAAK,CAAC,sBAAsB,CAAC;KAC1D,CAAC;AACN,CAAC"}
@@ -0,0 +1,149 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2025.10.0-rc1
6
+ * Contact: hello@goauthentik.io
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { PolicyEngineMode } from './PolicyEngineMode';
13
+ import type { UserMatchingModeEnum } from './UserMatchingModeEnum';
14
+ /**
15
+ * Source Serializer
16
+ * @export
17
+ * @interface TelegramSource
18
+ */
19
+ export interface TelegramSource {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof TelegramSource
24
+ */
25
+ readonly pk: string;
26
+ /**
27
+ * Source's display Name.
28
+ * @type {string}
29
+ * @memberof TelegramSource
30
+ */
31
+ name: string;
32
+ /**
33
+ * Internal source name, used in URLs.
34
+ * @type {string}
35
+ * @memberof TelegramSource
36
+ */
37
+ slug: string;
38
+ /**
39
+ *
40
+ * @type {boolean}
41
+ * @memberof TelegramSource
42
+ */
43
+ enabled?: boolean;
44
+ /**
45
+ * Flow to use when authenticating existing users.
46
+ * @type {string}
47
+ * @memberof TelegramSource
48
+ */
49
+ authenticationFlow?: string | null;
50
+ /**
51
+ * Flow to use when enrolling new users.
52
+ * @type {string}
53
+ * @memberof TelegramSource
54
+ */
55
+ enrollmentFlow?: string | null;
56
+ /**
57
+ *
58
+ * @type {Array<string>}
59
+ * @memberof TelegramSource
60
+ */
61
+ userPropertyMappings?: Array<string>;
62
+ /**
63
+ *
64
+ * @type {Array<string>}
65
+ * @memberof TelegramSource
66
+ */
67
+ groupPropertyMappings?: Array<string>;
68
+ /**
69
+ * Get object component so that we know how to edit the object
70
+ * @type {string}
71
+ * @memberof TelegramSource
72
+ */
73
+ readonly component: string;
74
+ /**
75
+ * Return object's verbose_name
76
+ * @type {string}
77
+ * @memberof TelegramSource
78
+ */
79
+ readonly verboseName: string;
80
+ /**
81
+ * Return object's plural verbose_name
82
+ * @type {string}
83
+ * @memberof TelegramSource
84
+ */
85
+ readonly verboseNamePlural: string;
86
+ /**
87
+ * Return internal model name
88
+ * @type {string}
89
+ * @memberof TelegramSource
90
+ */
91
+ readonly metaModelName: string;
92
+ /**
93
+ *
94
+ * @type {PolicyEngineMode}
95
+ * @memberof TelegramSource
96
+ */
97
+ policyEngineMode?: PolicyEngineMode;
98
+ /**
99
+ * How the source determines if an existing user should be authenticated or a new user enrolled.
100
+ * @type {UserMatchingModeEnum}
101
+ * @memberof TelegramSource
102
+ */
103
+ userMatchingMode?: UserMatchingModeEnum;
104
+ /**
105
+ * 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.
106
+ * @type {string}
107
+ * @memberof TelegramSource
108
+ */
109
+ readonly managed: string | null;
110
+ /**
111
+ *
112
+ * @type {string}
113
+ * @memberof TelegramSource
114
+ */
115
+ userPathTemplate?: string;
116
+ /**
117
+ *
118
+ * @type {string}
119
+ * @memberof TelegramSource
120
+ */
121
+ readonly icon: string | null;
122
+ /**
123
+ * Telegram bot username
124
+ * @type {string}
125
+ * @memberof TelegramSource
126
+ */
127
+ botUsername: string;
128
+ /**
129
+ * Request access to send messages from your bot.
130
+ * @type {boolean}
131
+ * @memberof TelegramSource
132
+ */
133
+ requestMessageAccess?: boolean;
134
+ /**
135
+ * Flow used before authentication.
136
+ * @type {string}
137
+ * @memberof TelegramSource
138
+ */
139
+ preAuthenticationFlow: string;
140
+ }
141
+ /**
142
+ * Check if a given object implements the TelegramSource interface.
143
+ */
144
+ export declare function instanceOfTelegramSource(value: object): value is TelegramSource;
145
+ export declare function TelegramSourceFromJSON(json: any): TelegramSource;
146
+ export declare function TelegramSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): TelegramSource;
147
+ export declare function TelegramSourceToJSON(json: any): TelegramSource;
148
+ export declare function TelegramSourceToJSONTyped(value?: Omit<TelegramSource, 'pk' | 'component' | 'verbose_name' | 'verbose_name_plural' | 'meta_model_name' | 'managed' | 'icon'> | null, ignoreDiscriminator?: boolean): any;
149
+ //# sourceMappingURL=TelegramSource.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TelegramSource.d.ts","sourceRoot":"","sources":["../../src/models/TelegramSource.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAO3D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAQnE;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC3B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACrC;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtC;;;;OAIG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,oBAAoB,CAAC;IACxC;;;;OAIG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;CACjC;AAID;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,cAAc,CAa/E;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAEhE;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,cAAc,CA2BnG;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAE9D;AAED,wBAAgB,yBAAyB,CAAC,KAAK,CAAC,EAAE,IAAI,CAAC,cAAc,EAAE,IAAI,GAAC,WAAW,GAAC,cAAc,GAAC,qBAAqB,GAAC,iBAAiB,GAAC,SAAS,GAAC,MAAM,CAAC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAqBlN"}
@@ -0,0 +1,104 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * authentik
6
+ * Making authentication simple.
7
+ *
8
+ * The version of the OpenAPI document: 2025.10.0-rc1
9
+ * Contact: hello@goauthentik.io
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfTelegramSource = instanceOfTelegramSource;
17
+ exports.TelegramSourceFromJSON = TelegramSourceFromJSON;
18
+ exports.TelegramSourceFromJSONTyped = TelegramSourceFromJSONTyped;
19
+ exports.TelegramSourceToJSON = TelegramSourceToJSON;
20
+ exports.TelegramSourceToJSONTyped = TelegramSourceToJSONTyped;
21
+ const PolicyEngineMode_1 = require("./PolicyEngineMode");
22
+ const UserMatchingModeEnum_1 = require("./UserMatchingModeEnum");
23
+ /**
24
+ * Check if a given object implements the TelegramSource interface.
25
+ */
26
+ function instanceOfTelegramSource(value) {
27
+ if (!('pk' in value) || value['pk'] === undefined)
28
+ return false;
29
+ if (!('name' in value) || value['name'] === undefined)
30
+ return false;
31
+ if (!('slug' in value) || value['slug'] === undefined)
32
+ return false;
33
+ if (!('component' in value) || value['component'] === undefined)
34
+ return false;
35
+ if (!('verboseName' in value) || value['verboseName'] === undefined)
36
+ return false;
37
+ if (!('verboseNamePlural' in value) || value['verboseNamePlural'] === undefined)
38
+ return false;
39
+ if (!('metaModelName' in value) || value['metaModelName'] === undefined)
40
+ return false;
41
+ if (!('managed' in value) || value['managed'] === undefined)
42
+ return false;
43
+ if (!('icon' in value) || value['icon'] === undefined)
44
+ return false;
45
+ if (!('botUsername' in value) || value['botUsername'] === undefined)
46
+ return false;
47
+ if (!('preAuthenticationFlow' in value) || value['preAuthenticationFlow'] === undefined)
48
+ return false;
49
+ return true;
50
+ }
51
+ function TelegramSourceFromJSON(json) {
52
+ return TelegramSourceFromJSONTyped(json, false);
53
+ }
54
+ function TelegramSourceFromJSONTyped(json, ignoreDiscriminator) {
55
+ if (json == null) {
56
+ return json;
57
+ }
58
+ return {
59
+ 'pk': json['pk'],
60
+ 'name': json['name'],
61
+ 'slug': json['slug'],
62
+ 'enabled': json['enabled'] == null ? undefined : json['enabled'],
63
+ 'authenticationFlow': json['authentication_flow'] == null ? undefined : json['authentication_flow'],
64
+ 'enrollmentFlow': json['enrollment_flow'] == null ? undefined : json['enrollment_flow'],
65
+ 'userPropertyMappings': json['user_property_mappings'] == null ? undefined : json['user_property_mappings'],
66
+ 'groupPropertyMappings': json['group_property_mappings'] == null ? undefined : json['group_property_mappings'],
67
+ 'component': json['component'],
68
+ 'verboseName': json['verbose_name'],
69
+ 'verboseNamePlural': json['verbose_name_plural'],
70
+ 'metaModelName': json['meta_model_name'],
71
+ 'policyEngineMode': json['policy_engine_mode'] == null ? undefined : (0, PolicyEngineMode_1.PolicyEngineModeFromJSON)(json['policy_engine_mode']),
72
+ 'userMatchingMode': json['user_matching_mode'] == null ? undefined : (0, UserMatchingModeEnum_1.UserMatchingModeEnumFromJSON)(json['user_matching_mode']),
73
+ 'managed': json['managed'],
74
+ 'userPathTemplate': json['user_path_template'] == null ? undefined : json['user_path_template'],
75
+ 'icon': json['icon'],
76
+ 'botUsername': json['bot_username'],
77
+ 'requestMessageAccess': json['request_message_access'] == null ? undefined : json['request_message_access'],
78
+ 'preAuthenticationFlow': json['pre_authentication_flow'],
79
+ };
80
+ }
81
+ function TelegramSourceToJSON(json) {
82
+ return TelegramSourceToJSONTyped(json, false);
83
+ }
84
+ function TelegramSourceToJSONTyped(value, ignoreDiscriminator = false) {
85
+ if (value == null) {
86
+ return value;
87
+ }
88
+ return {
89
+ 'name': value['name'],
90
+ 'slug': value['slug'],
91
+ 'enabled': value['enabled'],
92
+ 'authentication_flow': value['authenticationFlow'],
93
+ 'enrollment_flow': value['enrollmentFlow'],
94
+ 'user_property_mappings': value['userPropertyMappings'],
95
+ 'group_property_mappings': value['groupPropertyMappings'],
96
+ 'policy_engine_mode': (0, PolicyEngineMode_1.PolicyEngineModeToJSON)(value['policyEngineMode']),
97
+ 'user_matching_mode': (0, UserMatchingModeEnum_1.UserMatchingModeEnumToJSON)(value['userMatchingMode']),
98
+ 'user_path_template': value['userPathTemplate'],
99
+ 'bot_username': value['botUsername'],
100
+ 'request_message_access': value['requestMessageAccess'],
101
+ 'pre_authentication_flow': value['preAuthenticationFlow'],
102
+ };
103
+ }
104
+ //# sourceMappingURL=TelegramSource.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TelegramSource.js","sourceRoot":"","sources":["../../src/models/TelegramSource.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAuJH,4DAaC;AAED,wDAEC;AAED,kEA2BC;AAED,oDAEC;AAED,8DAqBC;AA5ND,yDAK4B;AAE5B,iEAKgC;AAoIhC;;GAEG;AACH,SAAgB,wBAAwB,CAAC,KAAa;IAClD,IAAI,CAAC,CAAC,IAAI,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChE,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,IAAI,CAAC,CAAC,WAAW,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,WAAW,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC9E,IAAI,CAAC,CAAC,aAAa,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,aAAa,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAClF,IAAI,CAAC,CAAC,mBAAmB,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,mBAAmB,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC9F,IAAI,CAAC,CAAC,eAAe,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,eAAe,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACtF,IAAI,CAAC,CAAC,SAA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,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAClD,CAAC;AAED,SAAgB,yBAAyB,CAAC,KAA6H,EAAE,sBAA+B,KAAK;IACzM,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;QAC3B,qBAAqB,EAAE,KAAK,CAAC,oBAAoB,CAAC;QAClD,iBAAiB,EAAE,KAAK,CAAC,gBAAgB,CAAC;QAC1C,wBAAwB,EAAE,KAAK,CAAC,sBAAsB,CAAC;QACvD,yBAAyB,EAAE,KAAK,CAAC,uBAAuB,CAAC;QACzD,oBAAoB,EAAE,IAAA,yCAAsB,EAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC;QACvE,oBAAoB,EAAE,IAAA,iDAA0B,EAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC;QAC3E,oBAAoB,EAAE,KAAK,CAAC,kBAAkB,CAAC;QAC/C,cAAc,EAAE,KAAK,CAAC,aAAa,CAAC;QACpC,wBAAwB,EAAE,KAAK,CAAC,sBAAsB,CAAC;QACvD,yBAAyB,EAAE,KAAK,CAAC,uBAAuB,CAAC;KAC5D,CAAC;AACN,CAAC"}
@@ -0,0 +1,75 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2025.10.0-rc1
6
+ * Contact: hello@goauthentik.io
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * TelegramSourcePropertyMapping Serializer
14
+ * @export
15
+ * @interface TelegramSourcePropertyMapping
16
+ */
17
+ export interface TelegramSourcePropertyMapping {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof TelegramSourcePropertyMapping
22
+ */
23
+ readonly pk: string;
24
+ /**
25
+ * Objects that are managed by authentik. These objects are created and updated automatically. This flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
26
+ * @type {string}
27
+ * @memberof TelegramSourcePropertyMapping
28
+ */
29
+ managed?: string | null;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof TelegramSourcePropertyMapping
34
+ */
35
+ name: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof TelegramSourcePropertyMapping
40
+ */
41
+ expression: string;
42
+ /**
43
+ * Get object's component so that we know how to edit the object
44
+ * @type {string}
45
+ * @memberof TelegramSourcePropertyMapping
46
+ */
47
+ readonly component: string;
48
+ /**
49
+ * Return object's verbose_name
50
+ * @type {string}
51
+ * @memberof TelegramSourcePropertyMapping
52
+ */
53
+ readonly verboseName: string;
54
+ /**
55
+ * Return object's plural verbose_name
56
+ * @type {string}
57
+ * @memberof TelegramSourcePropertyMapping
58
+ */
59
+ readonly verboseNamePlural: string;
60
+ /**
61
+ * Return internal model name
62
+ * @type {string}
63
+ * @memberof TelegramSourcePropertyMapping
64
+ */
65
+ readonly metaModelName: string;
66
+ }
67
+ /**
68
+ * Check if a given object implements the TelegramSourcePropertyMapping interface.
69
+ */
70
+ export declare function instanceOfTelegramSourcePropertyMapping(value: object): value is TelegramSourcePropertyMapping;
71
+ export declare function TelegramSourcePropertyMappingFromJSON(json: any): TelegramSourcePropertyMapping;
72
+ export declare function TelegramSourcePropertyMappingFromJSONTyped(json: any, ignoreDiscriminator: boolean): TelegramSourcePropertyMapping;
73
+ export declare function TelegramSourcePropertyMappingToJSON(json: any): TelegramSourcePropertyMapping;
74
+ export declare function TelegramSourcePropertyMappingToJSONTyped(value?: Omit<TelegramSourcePropertyMapping, 'pk' | 'component' | 'verbose_name' | 'verbose_name_plural' | 'meta_model_name'> | null, ignoreDiscriminator?: boolean): any;
75
+ //# sourceMappingURL=TelegramSourcePropertyMapping.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TelegramSourcePropertyMapping.d.ts","sourceRoot":"","sources":["../../src/models/TelegramSourcePropertyMapping.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,6BAA6B;IAC1C;;;;OAIG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;CAClC;AAED;;GAEG;AACH,wBAAgB,uCAAuC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,6BAA6B,CAS7G;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,GAAG,6BAA6B,CAE9F;AAED,wBAAgB,0CAA0C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,6BAA6B,CAejI;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,GAAG,6BAA6B,CAE5F;AAED,wBAAgB,wCAAwC,CAAC,KAAK,CAAC,EAAE,IAAI,CAAC,6BAA6B,EAAE,IAAI,GAAC,WAAW,GAAC,cAAc,GAAC,qBAAqB,GAAC,iBAAiB,CAAC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAW/N"}