@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
@@ -51,6 +51,7 @@ export const AppEnum = {
51
51
  AuthentikSourcesPlex: 'authentik.sources.plex',
52
52
  AuthentikSourcesSaml: 'authentik.sources.saml',
53
53
  AuthentikSourcesScim: 'authentik.sources.scim',
54
+ AuthentikSourcesTelegram: 'authentik.sources.telegram',
54
55
  AuthentikStagesAuthenticator: 'authentik.stages.authenticator',
55
56
  AuthentikStagesAuthenticatorDuo: 'authentik.stages.authenticator_duo',
56
57
  AuthentikStagesAuthenticatorEmail: 'authentik.stages.authenticator_email',
@@ -187,6 +187,13 @@ import {
187
187
  ShellChallengeFromJSONTyped,
188
188
  ShellChallengeToJSON,
189
189
  } from './ShellChallenge';
190
+ import type { TelegramLoginChallenge } from './TelegramLoginChallenge';
191
+ import {
192
+ instanceOfTelegramLoginChallenge,
193
+ TelegramLoginChallengeFromJSON,
194
+ TelegramLoginChallengeFromJSONTyped,
195
+ TelegramLoginChallengeToJSON,
196
+ } from './TelegramLoginChallenge';
190
197
  import type { UserLoginChallenge } from './UserLoginChallenge';
191
198
  import {
192
199
  instanceOfUserLoginChallenge,
@@ -200,7 +207,7 @@ import {
200
207
  *
201
208
  * @export
202
209
  */
203
- export type ChallengeTypes = { component: 'ak-provider-oauth2-device-code' } & OAuthDeviceCodeChallenge | { component: 'ak-provider-oauth2-device-code-finish' } & OAuthDeviceCodeFinishChallenge | { component: 'ak-source-oauth-apple' } & AppleLoginChallenge | { component: 'ak-source-plex' } & PlexAuthenticationChallenge | { component: 'ak-stage-access-denied' } & AccessDeniedChallenge | { component: 'ak-stage-authenticator-duo' } & AuthenticatorDuoChallenge | { component: 'ak-stage-authenticator-email' } & AuthenticatorEmailChallenge | { component: 'ak-stage-authenticator-sms' } & AuthenticatorSMSChallenge | { component: 'ak-stage-authenticator-static' } & AuthenticatorStaticChallenge | { component: 'ak-stage-authenticator-totp' } & AuthenticatorTOTPChallenge | { component: 'ak-stage-authenticator-validate' } & AuthenticatorValidationChallenge | { component: 'ak-stage-authenticator-webauthn' } & AuthenticatorWebAuthnChallenge | { component: 'ak-stage-autosubmit' } & AutosubmitChallenge | { component: 'ak-stage-captcha' } & CaptchaChallenge | { component: 'ak-stage-consent' } & ConsentChallenge | { component: 'ak-stage-dummy' } & DummyChallenge | { component: 'ak-stage-email' } & EmailChallenge | { component: 'ak-stage-flow-error' } & FlowErrorChallenge | { component: 'ak-stage-identification' } & IdentificationChallenge | { component: 'ak-stage-password' } & PasswordChallenge | { component: 'ak-stage-prompt' } & PromptChallenge | { component: 'ak-stage-session-end' } & SessionEndChallenge | { component: 'ak-stage-user-login' } & UserLoginChallenge | { component: 'xak-flow-frame' } & FrameChallenge | { component: 'xak-flow-redirect' } & RedirectChallenge | { component: 'xak-flow-shell' } & ShellChallenge;
210
+ export type ChallengeTypes = { component: 'ak-provider-oauth2-device-code' } & OAuthDeviceCodeChallenge | { component: 'ak-provider-oauth2-device-code-finish' } & OAuthDeviceCodeFinishChallenge | { component: 'ak-source-oauth-apple' } & AppleLoginChallenge | { component: 'ak-source-plex' } & PlexAuthenticationChallenge | { component: 'ak-source-telegram' } & TelegramLoginChallenge | { component: 'ak-stage-access-denied' } & AccessDeniedChallenge | { component: 'ak-stage-authenticator-duo' } & AuthenticatorDuoChallenge | { component: 'ak-stage-authenticator-email' } & AuthenticatorEmailChallenge | { component: 'ak-stage-authenticator-sms' } & AuthenticatorSMSChallenge | { component: 'ak-stage-authenticator-static' } & AuthenticatorStaticChallenge | { component: 'ak-stage-authenticator-totp' } & AuthenticatorTOTPChallenge | { component: 'ak-stage-authenticator-validate' } & AuthenticatorValidationChallenge | { component: 'ak-stage-authenticator-webauthn' } & AuthenticatorWebAuthnChallenge | { component: 'ak-stage-autosubmit' } & AutosubmitChallenge | { component: 'ak-stage-captcha' } & CaptchaChallenge | { component: 'ak-stage-consent' } & ConsentChallenge | { component: 'ak-stage-dummy' } & DummyChallenge | { component: 'ak-stage-email' } & EmailChallenge | { component: 'ak-stage-flow-error' } & FlowErrorChallenge | { component: 'ak-stage-identification' } & IdentificationChallenge | { component: 'ak-stage-password' } & PasswordChallenge | { component: 'ak-stage-prompt' } & PromptChallenge | { component: 'ak-stage-session-end' } & SessionEndChallenge | { component: 'ak-stage-user-login' } & UserLoginChallenge | { component: 'xak-flow-frame' } & FrameChallenge | { component: 'xak-flow-redirect' } & RedirectChallenge | { component: 'xak-flow-shell' } & ShellChallenge;
204
211
 
205
212
  export function ChallengeTypesFromJSON(json: any): ChallengeTypes {
206
213
  return ChallengeTypesFromJSONTyped(json, false);
@@ -219,6 +226,8 @@ export function ChallengeTypesFromJSONTyped(json: any, ignoreDiscriminator: bool
219
226
  return Object.assign({}, AppleLoginChallengeFromJSONTyped(json, true), { component: 'ak-source-oauth-apple' } as const);
220
227
  case 'ak-source-plex':
221
228
  return Object.assign({}, PlexAuthenticationChallengeFromJSONTyped(json, true), { component: 'ak-source-plex' } as const);
229
+ case 'ak-source-telegram':
230
+ return Object.assign({}, TelegramLoginChallengeFromJSONTyped(json, true), { component: 'ak-source-telegram' } as const);
222
231
  case 'ak-stage-access-denied':
223
232
  return Object.assign({}, AccessDeniedChallengeFromJSONTyped(json, true), { component: 'ak-stage-access-denied' } as const);
224
233
  case 'ak-stage-authenticator-duo':
@@ -285,6 +294,8 @@ export function ChallengeTypesToJSONTyped(value?: ChallengeTypes | null, ignoreD
285
294
  return Object.assign({}, AppleLoginChallengeToJSON(value), { component: 'ak-source-oauth-apple' } as const);
286
295
  case 'ak-source-plex':
287
296
  return Object.assign({}, PlexAuthenticationChallengeToJSON(value), { component: 'ak-source-plex' } as const);
297
+ case 'ak-source-telegram':
298
+ return Object.assign({}, TelegramLoginChallengeToJSON(value), { component: 'ak-source-telegram' } as const);
288
299
  case 'ak-stage-access-denied':
289
300
  return Object.assign({}, AccessDeniedChallengeToJSON(value), { component: 'ak-stage-access-denied' } as const);
290
301
  case 'ak-stage-authenticator-duo':
@@ -159,6 +159,13 @@ import {
159
159
  RedirectChallengeResponseRequestFromJSONTyped,
160
160
  RedirectChallengeResponseRequestToJSON,
161
161
  } from './RedirectChallengeResponseRequest';
162
+ import type { TelegramChallengeResponseRequest } from './TelegramChallengeResponseRequest';
163
+ import {
164
+ instanceOfTelegramChallengeResponseRequest,
165
+ TelegramChallengeResponseRequestFromJSON,
166
+ TelegramChallengeResponseRequestFromJSONTyped,
167
+ TelegramChallengeResponseRequestToJSON,
168
+ } from './TelegramChallengeResponseRequest';
162
169
  import type { UserLoginChallengeResponseRequest } from './UserLoginChallengeResponseRequest';
163
170
  import {
164
171
  instanceOfUserLoginChallengeResponseRequest,
@@ -172,7 +179,7 @@ import {
172
179
  *
173
180
  * @export
174
181
  */
175
- export type FlowChallengeResponseRequest = { component: 'ak-provider-oauth2-device-code' } & OAuthDeviceCodeChallengeResponseRequest | { component: 'ak-provider-oauth2-device-code-finish' } & OAuthDeviceCodeFinishChallengeResponseRequest | { component: 'ak-source-oauth-apple' } & AppleChallengeResponseRequest | { component: 'ak-source-plex' } & PlexAuthenticationChallengeResponseRequest | { component: 'ak-stage-authenticator-duo' } & AuthenticatorDuoChallengeResponseRequest | { component: 'ak-stage-authenticator-email' } & AuthenticatorEmailChallengeResponseRequest | { component: 'ak-stage-authenticator-sms' } & AuthenticatorSMSChallengeResponseRequest | { component: 'ak-stage-authenticator-static' } & AuthenticatorStaticChallengeResponseRequest | { component: 'ak-stage-authenticator-totp' } & AuthenticatorTOTPChallengeResponseRequest | { component: 'ak-stage-authenticator-validate' } & AuthenticatorValidationChallengeResponseRequest | { component: 'ak-stage-authenticator-webauthn' } & AuthenticatorWebAuthnChallengeResponseRequest | { component: 'ak-stage-autosubmit' } & AutoSubmitChallengeResponseRequest | { component: 'ak-stage-captcha' } & CaptchaChallengeResponseRequest | { component: 'ak-stage-consent' } & ConsentChallengeResponseRequest | { component: 'ak-stage-dummy' } & DummyChallengeResponseRequest | { component: 'ak-stage-email' } & EmailChallengeResponseRequest | { component: 'ak-stage-identification' } & IdentificationChallengeResponseRequest | { component: 'ak-stage-password' } & PasswordChallengeResponseRequest | { component: 'ak-stage-prompt' } & PromptChallengeResponseRequest | { component: 'ak-stage-user-login' } & UserLoginChallengeResponseRequest | { component: 'xak-flow-frame' } & FrameChallengeResponseRequest | { component: 'xak-flow-redirect' } & RedirectChallengeResponseRequest;
182
+ export type FlowChallengeResponseRequest = { component: 'ak-provider-oauth2-device-code' } & OAuthDeviceCodeChallengeResponseRequest | { component: 'ak-provider-oauth2-device-code-finish' } & OAuthDeviceCodeFinishChallengeResponseRequest | { component: 'ak-source-oauth-apple' } & AppleChallengeResponseRequest | { component: 'ak-source-plex' } & PlexAuthenticationChallengeResponseRequest | { component: 'ak-source-telegram' } & TelegramChallengeResponseRequest | { component: 'ak-stage-authenticator-duo' } & AuthenticatorDuoChallengeResponseRequest | { component: 'ak-stage-authenticator-email' } & AuthenticatorEmailChallengeResponseRequest | { component: 'ak-stage-authenticator-sms' } & AuthenticatorSMSChallengeResponseRequest | { component: 'ak-stage-authenticator-static' } & AuthenticatorStaticChallengeResponseRequest | { component: 'ak-stage-authenticator-totp' } & AuthenticatorTOTPChallengeResponseRequest | { component: 'ak-stage-authenticator-validate' } & AuthenticatorValidationChallengeResponseRequest | { component: 'ak-stage-authenticator-webauthn' } & AuthenticatorWebAuthnChallengeResponseRequest | { component: 'ak-stage-autosubmit' } & AutoSubmitChallengeResponseRequest | { component: 'ak-stage-captcha' } & CaptchaChallengeResponseRequest | { component: 'ak-stage-consent' } & ConsentChallengeResponseRequest | { component: 'ak-stage-dummy' } & DummyChallengeResponseRequest | { component: 'ak-stage-email' } & EmailChallengeResponseRequest | { component: 'ak-stage-identification' } & IdentificationChallengeResponseRequest | { component: 'ak-stage-password' } & PasswordChallengeResponseRequest | { component: 'ak-stage-prompt' } & PromptChallengeResponseRequest | { component: 'ak-stage-user-login' } & UserLoginChallengeResponseRequest | { component: 'xak-flow-frame' } & FrameChallengeResponseRequest | { component: 'xak-flow-redirect' } & RedirectChallengeResponseRequest;
176
183
 
177
184
  export function FlowChallengeResponseRequestFromJSON(json: any): FlowChallengeResponseRequest {
178
185
  return FlowChallengeResponseRequestFromJSONTyped(json, false);
@@ -191,6 +198,8 @@ export function FlowChallengeResponseRequestFromJSONTyped(json: any, ignoreDiscr
191
198
  return Object.assign({}, AppleChallengeResponseRequestFromJSONTyped(json, true), { component: 'ak-source-oauth-apple' } as const);
192
199
  case 'ak-source-plex':
193
200
  return Object.assign({}, PlexAuthenticationChallengeResponseRequestFromJSONTyped(json, true), { component: 'ak-source-plex' } as const);
201
+ case 'ak-source-telegram':
202
+ return Object.assign({}, TelegramChallengeResponseRequestFromJSONTyped(json, true), { component: 'ak-source-telegram' } as const);
194
203
  case 'ak-stage-authenticator-duo':
195
204
  return Object.assign({}, AuthenticatorDuoChallengeResponseRequestFromJSONTyped(json, true), { component: 'ak-stage-authenticator-duo' } as const);
196
205
  case 'ak-stage-authenticator-email':
@@ -249,6 +258,8 @@ export function FlowChallengeResponseRequestToJSONTyped(value?: FlowChallengeRes
249
258
  return Object.assign({}, AppleChallengeResponseRequestToJSON(value), { component: 'ak-source-oauth-apple' } as const);
250
259
  case 'ak-source-plex':
251
260
  return Object.assign({}, PlexAuthenticationChallengeResponseRequestToJSON(value), { component: 'ak-source-plex' } as const);
261
+ case 'ak-source-telegram':
262
+ return Object.assign({}, TelegramChallengeResponseRequestToJSON(value), { component: 'ak-source-telegram' } as const);
252
263
  case 'ak-stage-authenticator-duo':
253
264
  return Object.assign({}, AuthenticatorDuoChallengeResponseRequestToJSON(value), { component: 'ak-stage-authenticator-duo' } as const);
254
265
  case 'ak-stage-authenticator-email':
@@ -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
+ import type { Source } from './Source';
17
+ import {
18
+ SourceFromJSON,
19
+ SourceFromJSONTyped,
20
+ SourceToJSON,
21
+ SourceToJSONTyped,
22
+ } from './Source';
23
+
24
+ /**
25
+ * Group Source Connection
26
+ * @export
27
+ * @interface GroupTelegramSourceConnection
28
+ */
29
+ export interface GroupTelegramSourceConnection {
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof GroupTelegramSourceConnection
34
+ */
35
+ readonly pk: number;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof GroupTelegramSourceConnection
40
+ */
41
+ group: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof GroupTelegramSourceConnection
46
+ */
47
+ source: string;
48
+ /**
49
+ *
50
+ * @type {Source}
51
+ * @memberof GroupTelegramSourceConnection
52
+ */
53
+ readonly sourceObj: Source;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof GroupTelegramSourceConnection
58
+ */
59
+ identifier: string;
60
+ /**
61
+ *
62
+ * @type {Date}
63
+ * @memberof GroupTelegramSourceConnection
64
+ */
65
+ readonly created: Date;
66
+ /**
67
+ *
68
+ * @type {Date}
69
+ * @memberof GroupTelegramSourceConnection
70
+ */
71
+ readonly lastUpdated: Date;
72
+ }
73
+
74
+ /**
75
+ * Check if a given object implements the GroupTelegramSourceConnection interface.
76
+ */
77
+ export function instanceOfGroupTelegramSourceConnection(value: object): value is GroupTelegramSourceConnection {
78
+ if (!('pk' in value) || value['pk'] === undefined) return false;
79
+ if (!('group' in value) || value['group'] === undefined) return false;
80
+ if (!('source' in value) || value['source'] === undefined) return false;
81
+ if (!('sourceObj' in value) || value['sourceObj'] === undefined) return false;
82
+ if (!('identifier' in value) || value['identifier'] === undefined) return false;
83
+ if (!('created' in value) || value['created'] === undefined) return false;
84
+ if (!('lastUpdated' in value) || value['lastUpdated'] === undefined) return false;
85
+ return true;
86
+ }
87
+
88
+ export function GroupTelegramSourceConnectionFromJSON(json: any): GroupTelegramSourceConnection {
89
+ return GroupTelegramSourceConnectionFromJSONTyped(json, false);
90
+ }
91
+
92
+ export function GroupTelegramSourceConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupTelegramSourceConnection {
93
+ if (json == null) {
94
+ return json;
95
+ }
96
+ return {
97
+
98
+ 'pk': json['pk'],
99
+ 'group': json['group'],
100
+ 'source': json['source'],
101
+ 'sourceObj': SourceFromJSON(json['source_obj']),
102
+ 'identifier': json['identifier'],
103
+ 'created': (new Date(json['created'])),
104
+ 'lastUpdated': (new Date(json['last_updated'])),
105
+ };
106
+ }
107
+
108
+ export function GroupTelegramSourceConnectionToJSON(json: any): GroupTelegramSourceConnection {
109
+ return GroupTelegramSourceConnectionToJSONTyped(json, false);
110
+ }
111
+
112
+ export function GroupTelegramSourceConnectionToJSONTyped(value?: Omit<GroupTelegramSourceConnection, 'pk'|'source_obj'|'created'|'last_updated'> | null, ignoreDiscriminator: boolean = false): any {
113
+ if (value == null) {
114
+ return value;
115
+ }
116
+
117
+ return {
118
+
119
+ 'group': value['group'],
120
+ 'source': value['source'],
121
+ 'identifier': value['identifier'],
122
+ };
123
+ }
124
+
@@ -0,0 +1,84 @@
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
+ * Group Source Connection
18
+ * @export
19
+ * @interface GroupTelegramSourceConnectionRequest
20
+ */
21
+ export interface GroupTelegramSourceConnectionRequest {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof GroupTelegramSourceConnectionRequest
26
+ */
27
+ group: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof GroupTelegramSourceConnectionRequest
32
+ */
33
+ source: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof GroupTelegramSourceConnectionRequest
38
+ */
39
+ identifier: string;
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the GroupTelegramSourceConnectionRequest interface.
44
+ */
45
+ export function instanceOfGroupTelegramSourceConnectionRequest(value: object): value is GroupTelegramSourceConnectionRequest {
46
+ if (!('group' in value) || value['group'] === undefined) return false;
47
+ if (!('source' in value) || value['source'] === undefined) return false;
48
+ if (!('identifier' in value) || value['identifier'] === undefined) return false;
49
+ return true;
50
+ }
51
+
52
+ export function GroupTelegramSourceConnectionRequestFromJSON(json: any): GroupTelegramSourceConnectionRequest {
53
+ return GroupTelegramSourceConnectionRequestFromJSONTyped(json, false);
54
+ }
55
+
56
+ export function GroupTelegramSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupTelegramSourceConnectionRequest {
57
+ if (json == null) {
58
+ return json;
59
+ }
60
+ return {
61
+
62
+ 'group': json['group'],
63
+ 'source': json['source'],
64
+ 'identifier': json['identifier'],
65
+ };
66
+ }
67
+
68
+ export function GroupTelegramSourceConnectionRequestToJSON(json: any): GroupTelegramSourceConnectionRequest {
69
+ return GroupTelegramSourceConnectionRequestToJSONTyped(json, false);
70
+ }
71
+
72
+ export function GroupTelegramSourceConnectionRequestToJSONTyped(value?: GroupTelegramSourceConnectionRequest | null, ignoreDiscriminator: boolean = false): any {
73
+ if (value == null) {
74
+ return value;
75
+ }
76
+
77
+ return {
78
+
79
+ 'group': value['group'],
80
+ 'source': value['source'],
81
+ 'identifier': value['identifier'],
82
+ };
83
+ }
84
+
@@ -33,13 +33,20 @@ import {
33
33
  RedirectChallengeFromJSONTyped,
34
34
  RedirectChallengeToJSON,
35
35
  } from './RedirectChallenge';
36
+ import type { TelegramLoginChallenge } from './TelegramLoginChallenge';
37
+ import {
38
+ instanceOfTelegramLoginChallenge,
39
+ TelegramLoginChallengeFromJSON,
40
+ TelegramLoginChallengeFromJSONTyped,
41
+ TelegramLoginChallengeToJSON,
42
+ } from './TelegramLoginChallenge';
36
43
 
37
44
  /**
38
45
  * @type LoginChallengeTypes
39
46
  *
40
47
  * @export
41
48
  */
42
- export type LoginChallengeTypes = { component: 'ak-source-oauth-apple' } & AppleLoginChallenge | { component: 'ak-source-plex' } & PlexAuthenticationChallenge | { component: 'xak-flow-redirect' } & RedirectChallenge;
49
+ export type LoginChallengeTypes = { component: 'ak-source-oauth-apple' } & AppleLoginChallenge | { component: 'ak-source-plex' } & PlexAuthenticationChallenge | { component: 'ak-source-telegram' } & TelegramLoginChallenge | { component: 'xak-flow-redirect' } & RedirectChallenge;
43
50
 
44
51
  export function LoginChallengeTypesFromJSON(json: any): LoginChallengeTypes {
45
52
  return LoginChallengeTypesFromJSONTyped(json, false);
@@ -54,6 +61,8 @@ export function LoginChallengeTypesFromJSONTyped(json: any, ignoreDiscriminator:
54
61
  return Object.assign({}, AppleLoginChallengeFromJSONTyped(json, true), { component: 'ak-source-oauth-apple' } as const);
55
62
  case 'ak-source-plex':
56
63
  return Object.assign({}, PlexAuthenticationChallengeFromJSONTyped(json, true), { component: 'ak-source-plex' } as const);
64
+ case 'ak-source-telegram':
65
+ return Object.assign({}, TelegramLoginChallengeFromJSONTyped(json, true), { component: 'ak-source-telegram' } as const);
57
66
  case 'xak-flow-redirect':
58
67
  return Object.assign({}, RedirectChallengeFromJSONTyped(json, true), { component: 'xak-flow-redirect' } as const);
59
68
  default:
@@ -74,6 +83,8 @@ export function LoginChallengeTypesToJSONTyped(value?: LoginChallengeTypes | nul
74
83
  return Object.assign({}, AppleLoginChallengeToJSON(value), { component: 'ak-source-oauth-apple' } as const);
75
84
  case 'ak-source-plex':
76
85
  return Object.assign({}, PlexAuthenticationChallengeToJSON(value), { component: 'ak-source-plex' } as const);
86
+ case 'ak-source-telegram':
87
+ return Object.assign({}, TelegramLoginChallengeToJSON(value), { component: 'ak-source-telegram' } as const);
77
88
  case 'xak-flow-redirect':
78
89
  return Object.assign({}, RedirectChallengeToJSON(value), { component: 'xak-flow-redirect' } as const);
79
90
  default:
@@ -81,6 +81,10 @@ export const ModelEnum = {
81
81
  AuthentikSourcesSamlGroupsamlsourceconnection: 'authentik_sources_saml.groupsamlsourceconnection',
82
82
  AuthentikSourcesScimScimsource: 'authentik_sources_scim.scimsource',
83
83
  AuthentikSourcesScimScimsourcepropertymapping: 'authentik_sources_scim.scimsourcepropertymapping',
84
+ AuthentikSourcesTelegramTelegramsource: 'authentik_sources_telegram.telegramsource',
85
+ AuthentikSourcesTelegramTelegramsourcepropertymapping: 'authentik_sources_telegram.telegramsourcepropertymapping',
86
+ AuthentikSourcesTelegramUsertelegramsourceconnection: 'authentik_sources_telegram.usertelegramsourceconnection',
87
+ AuthentikSourcesTelegramGrouptelegramsourceconnection: 'authentik_sources_telegram.grouptelegramsourceconnection',
84
88
  AuthentikStagesAuthenticatorDuoAuthenticatorduostage: 'authentik_stages_authenticator_duo.authenticatorduostage',
85
89
  AuthentikStagesAuthenticatorDuoDuodevice: 'authentik_stages_authenticator_duo.duodevice',
86
90
  AuthentikStagesAuthenticatorEmailAuthenticatoremailstage: 'authentik_stages_authenticator_email.authenticatoremailstage',
@@ -0,0 +1,99 @@
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 { Pagination } from './Pagination';
17
+ import {
18
+ PaginationFromJSON,
19
+ PaginationFromJSONTyped,
20
+ PaginationToJSON,
21
+ PaginationToJSONTyped,
22
+ } from './Pagination';
23
+ import type { GroupTelegramSourceConnection } from './GroupTelegramSourceConnection';
24
+ import {
25
+ GroupTelegramSourceConnectionFromJSON,
26
+ GroupTelegramSourceConnectionFromJSONTyped,
27
+ GroupTelegramSourceConnectionToJSON,
28
+ GroupTelegramSourceConnectionToJSONTyped,
29
+ } from './GroupTelegramSourceConnection';
30
+
31
+ /**
32
+ *
33
+ * @export
34
+ * @interface PaginatedGroupTelegramSourceConnectionList
35
+ */
36
+ export interface PaginatedGroupTelegramSourceConnectionList {
37
+ /**
38
+ *
39
+ * @type {Pagination}
40
+ * @memberof PaginatedGroupTelegramSourceConnectionList
41
+ */
42
+ pagination: Pagination;
43
+ /**
44
+ *
45
+ * @type {Array<GroupTelegramSourceConnection>}
46
+ * @memberof PaginatedGroupTelegramSourceConnectionList
47
+ */
48
+ results: Array<GroupTelegramSourceConnection>;
49
+ /**
50
+ *
51
+ * @type {{ [key: string]: any; }}
52
+ * @memberof PaginatedGroupTelegramSourceConnectionList
53
+ */
54
+ autocomplete: { [key: string]: any; };
55
+ }
56
+
57
+ /**
58
+ * Check if a given object implements the PaginatedGroupTelegramSourceConnectionList interface.
59
+ */
60
+ export function instanceOfPaginatedGroupTelegramSourceConnectionList(value: object): value is PaginatedGroupTelegramSourceConnectionList {
61
+ if (!('pagination' in value) || value['pagination'] === undefined) return false;
62
+ if (!('results' in value) || value['results'] === undefined) return false;
63
+ if (!('autocomplete' in value) || value['autocomplete'] === undefined) return false;
64
+ return true;
65
+ }
66
+
67
+ export function PaginatedGroupTelegramSourceConnectionListFromJSON(json: any): PaginatedGroupTelegramSourceConnectionList {
68
+ return PaginatedGroupTelegramSourceConnectionListFromJSONTyped(json, false);
69
+ }
70
+
71
+ export function PaginatedGroupTelegramSourceConnectionListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedGroupTelegramSourceConnectionList {
72
+ if (json == null) {
73
+ return json;
74
+ }
75
+ return {
76
+
77
+ 'pagination': PaginationFromJSON(json['pagination']),
78
+ 'results': ((json['results'] as Array<any>).map(GroupTelegramSourceConnectionFromJSON)),
79
+ 'autocomplete': json['autocomplete'],
80
+ };
81
+ }
82
+
83
+ export function PaginatedGroupTelegramSourceConnectionListToJSON(json: any): PaginatedGroupTelegramSourceConnectionList {
84
+ return PaginatedGroupTelegramSourceConnectionListToJSONTyped(json, false);
85
+ }
86
+
87
+ export function PaginatedGroupTelegramSourceConnectionListToJSONTyped(value?: PaginatedGroupTelegramSourceConnectionList | null, ignoreDiscriminator: boolean = false): any {
88
+ if (value == null) {
89
+ return value;
90
+ }
91
+
92
+ return {
93
+
94
+ 'pagination': PaginationToJSON(value['pagination']),
95
+ 'results': ((value['results'] as Array<any>).map(GroupTelegramSourceConnectionToJSON)),
96
+ 'autocomplete': value['autocomplete'],
97
+ };
98
+ }
99
+
@@ -0,0 +1,99 @@
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 { Pagination } from './Pagination';
17
+ import {
18
+ PaginationFromJSON,
19
+ PaginationFromJSONTyped,
20
+ PaginationToJSON,
21
+ PaginationToJSONTyped,
22
+ } from './Pagination';
23
+ import type { TelegramSource } from './TelegramSource';
24
+ import {
25
+ TelegramSourceFromJSON,
26
+ TelegramSourceFromJSONTyped,
27
+ TelegramSourceToJSON,
28
+ TelegramSourceToJSONTyped,
29
+ } from './TelegramSource';
30
+
31
+ /**
32
+ *
33
+ * @export
34
+ * @interface PaginatedTelegramSourceList
35
+ */
36
+ export interface PaginatedTelegramSourceList {
37
+ /**
38
+ *
39
+ * @type {Pagination}
40
+ * @memberof PaginatedTelegramSourceList
41
+ */
42
+ pagination: Pagination;
43
+ /**
44
+ *
45
+ * @type {Array<TelegramSource>}
46
+ * @memberof PaginatedTelegramSourceList
47
+ */
48
+ results: Array<TelegramSource>;
49
+ /**
50
+ *
51
+ * @type {{ [key: string]: any; }}
52
+ * @memberof PaginatedTelegramSourceList
53
+ */
54
+ autocomplete: { [key: string]: any; };
55
+ }
56
+
57
+ /**
58
+ * Check if a given object implements the PaginatedTelegramSourceList interface.
59
+ */
60
+ export function instanceOfPaginatedTelegramSourceList(value: object): value is PaginatedTelegramSourceList {
61
+ if (!('pagination' in value) || value['pagination'] === undefined) return false;
62
+ if (!('results' in value) || value['results'] === undefined) return false;
63
+ if (!('autocomplete' in value) || value['autocomplete'] === undefined) return false;
64
+ return true;
65
+ }
66
+
67
+ export function PaginatedTelegramSourceListFromJSON(json: any): PaginatedTelegramSourceList {
68
+ return PaginatedTelegramSourceListFromJSONTyped(json, false);
69
+ }
70
+
71
+ export function PaginatedTelegramSourceListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedTelegramSourceList {
72
+ if (json == null) {
73
+ return json;
74
+ }
75
+ return {
76
+
77
+ 'pagination': PaginationFromJSON(json['pagination']),
78
+ 'results': ((json['results'] as Array<any>).map(TelegramSourceFromJSON)),
79
+ 'autocomplete': json['autocomplete'],
80
+ };
81
+ }
82
+
83
+ export function PaginatedTelegramSourceListToJSON(json: any): PaginatedTelegramSourceList {
84
+ return PaginatedTelegramSourceListToJSONTyped(json, false);
85
+ }
86
+
87
+ export function PaginatedTelegramSourceListToJSONTyped(value?: PaginatedTelegramSourceList | null, ignoreDiscriminator: boolean = false): any {
88
+ if (value == null) {
89
+ return value;
90
+ }
91
+
92
+ return {
93
+
94
+ 'pagination': PaginationToJSON(value['pagination']),
95
+ 'results': ((value['results'] as Array<any>).map(TelegramSourceToJSON)),
96
+ 'autocomplete': value['autocomplete'],
97
+ };
98
+ }
99
+
@@ -0,0 +1,99 @@
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 { Pagination } from './Pagination';
17
+ import {
18
+ PaginationFromJSON,
19
+ PaginationFromJSONTyped,
20
+ PaginationToJSON,
21
+ PaginationToJSONTyped,
22
+ } from './Pagination';
23
+ import type { TelegramSourcePropertyMapping } from './TelegramSourcePropertyMapping';
24
+ import {
25
+ TelegramSourcePropertyMappingFromJSON,
26
+ TelegramSourcePropertyMappingFromJSONTyped,
27
+ TelegramSourcePropertyMappingToJSON,
28
+ TelegramSourcePropertyMappingToJSONTyped,
29
+ } from './TelegramSourcePropertyMapping';
30
+
31
+ /**
32
+ *
33
+ * @export
34
+ * @interface PaginatedTelegramSourcePropertyMappingList
35
+ */
36
+ export interface PaginatedTelegramSourcePropertyMappingList {
37
+ /**
38
+ *
39
+ * @type {Pagination}
40
+ * @memberof PaginatedTelegramSourcePropertyMappingList
41
+ */
42
+ pagination: Pagination;
43
+ /**
44
+ *
45
+ * @type {Array<TelegramSourcePropertyMapping>}
46
+ * @memberof PaginatedTelegramSourcePropertyMappingList
47
+ */
48
+ results: Array<TelegramSourcePropertyMapping>;
49
+ /**
50
+ *
51
+ * @type {{ [key: string]: any; }}
52
+ * @memberof PaginatedTelegramSourcePropertyMappingList
53
+ */
54
+ autocomplete: { [key: string]: any; };
55
+ }
56
+
57
+ /**
58
+ * Check if a given object implements the PaginatedTelegramSourcePropertyMappingList interface.
59
+ */
60
+ export function instanceOfPaginatedTelegramSourcePropertyMappingList(value: object): value is PaginatedTelegramSourcePropertyMappingList {
61
+ if (!('pagination' in value) || value['pagination'] === undefined) return false;
62
+ if (!('results' in value) || value['results'] === undefined) return false;
63
+ if (!('autocomplete' in value) || value['autocomplete'] === undefined) return false;
64
+ return true;
65
+ }
66
+
67
+ export function PaginatedTelegramSourcePropertyMappingListFromJSON(json: any): PaginatedTelegramSourcePropertyMappingList {
68
+ return PaginatedTelegramSourcePropertyMappingListFromJSONTyped(json, false);
69
+ }
70
+
71
+ export function PaginatedTelegramSourcePropertyMappingListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedTelegramSourcePropertyMappingList {
72
+ if (json == null) {
73
+ return json;
74
+ }
75
+ return {
76
+
77
+ 'pagination': PaginationFromJSON(json['pagination']),
78
+ 'results': ((json['results'] as Array<any>).map(TelegramSourcePropertyMappingFromJSON)),
79
+ 'autocomplete': json['autocomplete'],
80
+ };
81
+ }
82
+
83
+ export function PaginatedTelegramSourcePropertyMappingListToJSON(json: any): PaginatedTelegramSourcePropertyMappingList {
84
+ return PaginatedTelegramSourcePropertyMappingListToJSONTyped(json, false);
85
+ }
86
+
87
+ export function PaginatedTelegramSourcePropertyMappingListToJSONTyped(value?: PaginatedTelegramSourcePropertyMappingList | null, ignoreDiscriminator: boolean = false): any {
88
+ if (value == null) {
89
+ return value;
90
+ }
91
+
92
+ return {
93
+
94
+ 'pagination': PaginationToJSON(value['pagination']),
95
+ 'results': ((value['results'] as Array<any>).map(TelegramSourcePropertyMappingToJSON)),
96
+ 'autocomplete': value['autocomplete'],
97
+ };
98
+ }
99
+