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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (283) hide show
  1. package/.openapi-generator/FILES +18 -0
  2. package/dist/apis/PropertymappingsApi.d.ts +86 -1
  3. package/dist/apis/PropertymappingsApi.d.ts.map +1 -1
  4. package/dist/apis/PropertymappingsApi.js +255 -0
  5. package/dist/apis/PropertymappingsApi.js.map +1 -1
  6. package/dist/apis/RbacApi.d.ts +8 -0
  7. package/dist/apis/RbacApi.d.ts.map +1 -1
  8. package/dist/apis/RbacApi.js +8 -0
  9. package/dist/apis/RbacApi.js.map +1 -1
  10. package/dist/apis/SourcesApi.d.ts +293 -1
  11. package/dist/apis/SourcesApi.d.ts.map +1 -1
  12. package/dist/apis/SourcesApi.js +853 -42
  13. package/dist/apis/SourcesApi.js.map +1 -1
  14. package/dist/apis/TasksApi.d.ts +6 -0
  15. package/dist/apis/TasksApi.d.ts.map +1 -1
  16. package/dist/apis/TasksApi.js +6 -0
  17. package/dist/apis/TasksApi.js.map +1 -1
  18. package/dist/esm/apis/PropertymappingsApi.d.ts +86 -1
  19. package/dist/esm/apis/PropertymappingsApi.d.ts.map +1 -1
  20. package/dist/esm/apis/PropertymappingsApi.js +255 -0
  21. package/dist/esm/apis/PropertymappingsApi.js.map +1 -1
  22. package/dist/esm/apis/RbacApi.d.ts +8 -0
  23. package/dist/esm/apis/RbacApi.d.ts.map +1 -1
  24. package/dist/esm/apis/RbacApi.js +8 -0
  25. package/dist/esm/apis/RbacApi.js.map +1 -1
  26. package/dist/esm/apis/SourcesApi.d.ts +293 -1
  27. package/dist/esm/apis/SourcesApi.d.ts.map +1 -1
  28. package/dist/esm/apis/SourcesApi.js +853 -42
  29. package/dist/esm/apis/SourcesApi.js.map +1 -1
  30. package/dist/esm/apis/TasksApi.d.ts +6 -0
  31. package/dist/esm/apis/TasksApi.d.ts.map +1 -1
  32. package/dist/esm/apis/TasksApi.js +6 -0
  33. package/dist/esm/apis/TasksApi.js.map +1 -1
  34. package/dist/esm/models/AppEnum.d.ts +2 -0
  35. package/dist/esm/models/AppEnum.d.ts.map +1 -1
  36. package/dist/esm/models/AppEnum.js +2 -0
  37. package/dist/esm/models/AppEnum.js.map +1 -1
  38. package/dist/esm/models/ChallengeTypes.d.ts +3 -0
  39. package/dist/esm/models/ChallengeTypes.d.ts.map +1 -1
  40. package/dist/esm/models/ChallengeTypes.js +5 -0
  41. package/dist/esm/models/ChallengeTypes.js.map +1 -1
  42. package/dist/esm/models/FlowChallengeResponseRequest.d.ts +3 -0
  43. package/dist/esm/models/FlowChallengeResponseRequest.d.ts.map +1 -1
  44. package/dist/esm/models/FlowChallengeResponseRequest.js +5 -0
  45. package/dist/esm/models/FlowChallengeResponseRequest.js.map +1 -1
  46. package/dist/esm/models/GroupTelegramSourceConnection.d.ts +70 -0
  47. package/dist/esm/models/GroupTelegramSourceConnection.d.ts.map +1 -0
  48. package/dist/esm/models/GroupTelegramSourceConnection.js +72 -0
  49. package/dist/esm/models/GroupTelegramSourceConnection.js.map +1 -0
  50. package/dist/esm/models/GroupTelegramSourceConnectionRequest.d.ts +45 -0
  51. package/dist/esm/models/GroupTelegramSourceConnectionRequest.d.ts.map +1 -0
  52. package/dist/esm/models/GroupTelegramSourceConnectionRequest.js +59 -0
  53. package/dist/esm/models/GroupTelegramSourceConnectionRequest.js.map +1 -0
  54. package/dist/esm/models/LastTaskStatusEnum.d.ts +3 -0
  55. package/dist/esm/models/LastTaskStatusEnum.d.ts.map +1 -1
  56. package/dist/esm/models/LastTaskStatusEnum.js +3 -0
  57. package/dist/esm/models/LastTaskStatusEnum.js.map +1 -1
  58. package/dist/esm/models/LoginChallengeTypes.d.ts +3 -0
  59. package/dist/esm/models/LoginChallengeTypes.d.ts.map +1 -1
  60. package/dist/esm/models/LoginChallengeTypes.js +5 -0
  61. package/dist/esm/models/LoginChallengeTypes.js.map +1 -1
  62. package/dist/esm/models/ModelEnum.d.ts +4 -0
  63. package/dist/esm/models/ModelEnum.d.ts.map +1 -1
  64. package/dist/esm/models/ModelEnum.js +4 -0
  65. package/dist/esm/models/ModelEnum.js.map +1 -1
  66. package/dist/esm/models/PaginatedGroupTelegramSourceConnectionList.d.ts +49 -0
  67. package/dist/esm/models/PaginatedGroupTelegramSourceConnectionList.d.ts.map +1 -0
  68. package/dist/esm/models/PaginatedGroupTelegramSourceConnectionList.js +61 -0
  69. package/dist/esm/models/PaginatedGroupTelegramSourceConnectionList.js.map +1 -0
  70. package/dist/esm/models/PaginatedTelegramSourceList.d.ts +49 -0
  71. package/dist/esm/models/PaginatedTelegramSourceList.d.ts.map +1 -0
  72. package/dist/esm/models/PaginatedTelegramSourceList.js +61 -0
  73. package/dist/esm/models/PaginatedTelegramSourceList.js.map +1 -0
  74. package/dist/esm/models/PaginatedTelegramSourcePropertyMappingList.d.ts +49 -0
  75. package/dist/esm/models/PaginatedTelegramSourcePropertyMappingList.d.ts.map +1 -0
  76. package/dist/esm/models/PaginatedTelegramSourcePropertyMappingList.js +61 -0
  77. package/dist/esm/models/PaginatedTelegramSourcePropertyMappingList.js.map +1 -0
  78. package/dist/esm/models/PaginatedUserTelegramSourceConnectionList.d.ts +49 -0
  79. package/dist/esm/models/PaginatedUserTelegramSourceConnectionList.d.ts.map +1 -0
  80. package/dist/esm/models/PaginatedUserTelegramSourceConnectionList.js +61 -0
  81. package/dist/esm/models/PaginatedUserTelegramSourceConnectionList.js.map +1 -0
  82. package/dist/esm/models/PatchedGroupTelegramSourceConnectionRequest.d.ts +45 -0
  83. package/dist/esm/models/PatchedGroupTelegramSourceConnectionRequest.d.ts.map +1 -0
  84. package/dist/esm/models/PatchedGroupTelegramSourceConnectionRequest.js +53 -0
  85. package/dist/esm/models/PatchedGroupTelegramSourceConnectionRequest.js.map +1 -0
  86. package/dist/esm/models/PatchedTelegramSourcePropertyMappingRequest.d.ts +45 -0
  87. package/dist/esm/models/PatchedTelegramSourcePropertyMappingRequest.d.ts.map +1 -0
  88. package/dist/esm/models/PatchedTelegramSourcePropertyMappingRequest.js +53 -0
  89. package/dist/esm/models/PatchedTelegramSourcePropertyMappingRequest.js.map +1 -0
  90. package/dist/esm/models/PatchedTelegramSourceRequest.d.ts +113 -0
  91. package/dist/esm/models/PatchedTelegramSourceRequest.d.ts.map +1 -0
  92. package/dist/esm/models/PatchedTelegramSourceRequest.js +77 -0
  93. package/dist/esm/models/PatchedTelegramSourceRequest.js.map +1 -0
  94. package/dist/esm/models/PatchedUserTelegramSourceConnectionRequest.d.ts +45 -0
  95. package/dist/esm/models/PatchedUserTelegramSourceConnectionRequest.d.ts.map +1 -0
  96. package/dist/esm/models/PatchedUserTelegramSourceConnectionRequest.js +53 -0
  97. package/dist/esm/models/PatchedUserTelegramSourceConnectionRequest.js.map +1 -0
  98. package/dist/esm/models/StateEnum.d.ts +3 -0
  99. package/dist/esm/models/StateEnum.d.ts.map +1 -1
  100. package/dist/esm/models/StateEnum.js +3 -0
  101. package/dist/esm/models/StateEnum.js.map +1 -1
  102. package/dist/esm/models/TaskAggregatedStatusEnum.d.ts +3 -0
  103. package/dist/esm/models/TaskAggregatedStatusEnum.d.ts.map +1 -1
  104. package/dist/esm/models/TaskAggregatedStatusEnum.js +3 -0
  105. package/dist/esm/models/TaskAggregatedStatusEnum.js.map +1 -1
  106. package/dist/esm/models/TelegramChallengeResponseRequest.d.ts +75 -0
  107. package/dist/esm/models/TelegramChallengeResponseRequest.d.ts.map +1 -0
  108. package/dist/esm/models/TelegramChallengeResponseRequest.js +69 -0
  109. package/dist/esm/models/TelegramChallengeResponseRequest.js.map +1 -0
  110. package/dist/esm/models/TelegramLoginChallenge.d.ts +61 -0
  111. package/dist/esm/models/TelegramLoginChallenge.d.ts.map +1 -0
  112. package/dist/esm/models/TelegramLoginChallenge.js +62 -0
  113. package/dist/esm/models/TelegramLoginChallenge.js.map +1 -0
  114. package/dist/esm/models/TelegramSource.d.ts +149 -0
  115. package/dist/esm/models/TelegramSource.d.ts.map +1 -0
  116. package/dist/esm/models/TelegramSource.js +104 -0
  117. package/dist/esm/models/TelegramSource.js.map +1 -0
  118. package/dist/esm/models/TelegramSourcePropertyMapping.d.ts +75 -0
  119. package/dist/esm/models/TelegramSourcePropertyMapping.d.ts.map +1 -0
  120. package/dist/esm/models/TelegramSourcePropertyMapping.js +72 -0
  121. package/dist/esm/models/TelegramSourcePropertyMapping.js.map +1 -0
  122. package/dist/esm/models/TelegramSourcePropertyMappingRequest.d.ts +45 -0
  123. package/dist/esm/models/TelegramSourcePropertyMappingRequest.d.ts.map +1 -0
  124. package/dist/esm/models/TelegramSourcePropertyMappingRequest.js +57 -0
  125. package/dist/esm/models/TelegramSourcePropertyMappingRequest.js.map +1 -0
  126. package/dist/esm/models/TelegramSourceRequest.d.ts +113 -0
  127. package/dist/esm/models/TelegramSourceRequest.d.ts.map +1 -0
  128. package/dist/esm/models/TelegramSourceRequest.js +87 -0
  129. package/dist/esm/models/TelegramSourceRequest.js.map +1 -0
  130. package/dist/esm/models/UserTelegramSourceConnection.d.ts +70 -0
  131. package/dist/esm/models/UserTelegramSourceConnection.d.ts.map +1 -0
  132. package/dist/esm/models/UserTelegramSourceConnection.js +72 -0
  133. package/dist/esm/models/UserTelegramSourceConnection.js.map +1 -0
  134. package/dist/esm/models/UserTelegramSourceConnectionRequest.d.ts +45 -0
  135. package/dist/esm/models/UserTelegramSourceConnectionRequest.d.ts.map +1 -0
  136. package/dist/esm/models/UserTelegramSourceConnectionRequest.js +59 -0
  137. package/dist/esm/models/UserTelegramSourceConnectionRequest.js.map +1 -0
  138. package/dist/esm/models/index.d.ts +18 -0
  139. package/dist/esm/models/index.d.ts.map +1 -1
  140. package/dist/esm/models/index.js +18 -0
  141. package/dist/esm/models/index.js.map +1 -1
  142. package/dist/models/AppEnum.d.ts +2 -0
  143. package/dist/models/AppEnum.d.ts.map +1 -1
  144. package/dist/models/AppEnum.js +2 -0
  145. package/dist/models/AppEnum.js.map +1 -1
  146. package/dist/models/ChallengeTypes.d.ts +3 -0
  147. package/dist/models/ChallengeTypes.d.ts.map +1 -1
  148. package/dist/models/ChallengeTypes.js +5 -0
  149. package/dist/models/ChallengeTypes.js.map +1 -1
  150. package/dist/models/FlowChallengeResponseRequest.d.ts +3 -0
  151. package/dist/models/FlowChallengeResponseRequest.d.ts.map +1 -1
  152. package/dist/models/FlowChallengeResponseRequest.js +5 -0
  153. package/dist/models/FlowChallengeResponseRequest.js.map +1 -1
  154. package/dist/models/GroupTelegramSourceConnection.d.ts +70 -0
  155. package/dist/models/GroupTelegramSourceConnection.d.ts.map +1 -0
  156. package/dist/models/GroupTelegramSourceConnection.js +72 -0
  157. package/dist/models/GroupTelegramSourceConnection.js.map +1 -0
  158. package/dist/models/GroupTelegramSourceConnectionRequest.d.ts +45 -0
  159. package/dist/models/GroupTelegramSourceConnectionRequest.d.ts.map +1 -0
  160. package/dist/models/GroupTelegramSourceConnectionRequest.js +59 -0
  161. package/dist/models/GroupTelegramSourceConnectionRequest.js.map +1 -0
  162. package/dist/models/LastTaskStatusEnum.d.ts +3 -0
  163. package/dist/models/LastTaskStatusEnum.d.ts.map +1 -1
  164. package/dist/models/LastTaskStatusEnum.js +3 -0
  165. package/dist/models/LastTaskStatusEnum.js.map +1 -1
  166. package/dist/models/LoginChallengeTypes.d.ts +3 -0
  167. package/dist/models/LoginChallengeTypes.d.ts.map +1 -1
  168. package/dist/models/LoginChallengeTypes.js +5 -0
  169. package/dist/models/LoginChallengeTypes.js.map +1 -1
  170. package/dist/models/ModelEnum.d.ts +4 -0
  171. package/dist/models/ModelEnum.d.ts.map +1 -1
  172. package/dist/models/ModelEnum.js +4 -0
  173. package/dist/models/ModelEnum.js.map +1 -1
  174. package/dist/models/PaginatedGroupTelegramSourceConnectionList.d.ts +49 -0
  175. package/dist/models/PaginatedGroupTelegramSourceConnectionList.d.ts.map +1 -0
  176. package/dist/models/PaginatedGroupTelegramSourceConnectionList.js +61 -0
  177. package/dist/models/PaginatedGroupTelegramSourceConnectionList.js.map +1 -0
  178. package/dist/models/PaginatedTelegramSourceList.d.ts +49 -0
  179. package/dist/models/PaginatedTelegramSourceList.d.ts.map +1 -0
  180. package/dist/models/PaginatedTelegramSourceList.js +61 -0
  181. package/dist/models/PaginatedTelegramSourceList.js.map +1 -0
  182. package/dist/models/PaginatedTelegramSourcePropertyMappingList.d.ts +49 -0
  183. package/dist/models/PaginatedTelegramSourcePropertyMappingList.d.ts.map +1 -0
  184. package/dist/models/PaginatedTelegramSourcePropertyMappingList.js +61 -0
  185. package/dist/models/PaginatedTelegramSourcePropertyMappingList.js.map +1 -0
  186. package/dist/models/PaginatedUserTelegramSourceConnectionList.d.ts +49 -0
  187. package/dist/models/PaginatedUserTelegramSourceConnectionList.d.ts.map +1 -0
  188. package/dist/models/PaginatedUserTelegramSourceConnectionList.js +61 -0
  189. package/dist/models/PaginatedUserTelegramSourceConnectionList.js.map +1 -0
  190. package/dist/models/PatchedGroupTelegramSourceConnectionRequest.d.ts +45 -0
  191. package/dist/models/PatchedGroupTelegramSourceConnectionRequest.d.ts.map +1 -0
  192. package/dist/models/PatchedGroupTelegramSourceConnectionRequest.js +53 -0
  193. package/dist/models/PatchedGroupTelegramSourceConnectionRequest.js.map +1 -0
  194. package/dist/models/PatchedTelegramSourcePropertyMappingRequest.d.ts +45 -0
  195. package/dist/models/PatchedTelegramSourcePropertyMappingRequest.d.ts.map +1 -0
  196. package/dist/models/PatchedTelegramSourcePropertyMappingRequest.js +53 -0
  197. package/dist/models/PatchedTelegramSourcePropertyMappingRequest.js.map +1 -0
  198. package/dist/models/PatchedTelegramSourceRequest.d.ts +113 -0
  199. package/dist/models/PatchedTelegramSourceRequest.d.ts.map +1 -0
  200. package/dist/models/PatchedTelegramSourceRequest.js +77 -0
  201. package/dist/models/PatchedTelegramSourceRequest.js.map +1 -0
  202. package/dist/models/PatchedUserTelegramSourceConnectionRequest.d.ts +45 -0
  203. package/dist/models/PatchedUserTelegramSourceConnectionRequest.d.ts.map +1 -0
  204. package/dist/models/PatchedUserTelegramSourceConnectionRequest.js +53 -0
  205. package/dist/models/PatchedUserTelegramSourceConnectionRequest.js.map +1 -0
  206. package/dist/models/StateEnum.d.ts +3 -0
  207. package/dist/models/StateEnum.d.ts.map +1 -1
  208. package/dist/models/StateEnum.js +3 -0
  209. package/dist/models/StateEnum.js.map +1 -1
  210. package/dist/models/TaskAggregatedStatusEnum.d.ts +3 -0
  211. package/dist/models/TaskAggregatedStatusEnum.d.ts.map +1 -1
  212. package/dist/models/TaskAggregatedStatusEnum.js +3 -0
  213. package/dist/models/TaskAggregatedStatusEnum.js.map +1 -1
  214. package/dist/models/TelegramChallengeResponseRequest.d.ts +75 -0
  215. package/dist/models/TelegramChallengeResponseRequest.d.ts.map +1 -0
  216. package/dist/models/TelegramChallengeResponseRequest.js +69 -0
  217. package/dist/models/TelegramChallengeResponseRequest.js.map +1 -0
  218. package/dist/models/TelegramLoginChallenge.d.ts +61 -0
  219. package/dist/models/TelegramLoginChallenge.d.ts.map +1 -0
  220. package/dist/models/TelegramLoginChallenge.js +62 -0
  221. package/dist/models/TelegramLoginChallenge.js.map +1 -0
  222. package/dist/models/TelegramSource.d.ts +149 -0
  223. package/dist/models/TelegramSource.d.ts.map +1 -0
  224. package/dist/models/TelegramSource.js +104 -0
  225. package/dist/models/TelegramSource.js.map +1 -0
  226. package/dist/models/TelegramSourcePropertyMapping.d.ts +75 -0
  227. package/dist/models/TelegramSourcePropertyMapping.d.ts.map +1 -0
  228. package/dist/models/TelegramSourcePropertyMapping.js +72 -0
  229. package/dist/models/TelegramSourcePropertyMapping.js.map +1 -0
  230. package/dist/models/TelegramSourcePropertyMappingRequest.d.ts +45 -0
  231. package/dist/models/TelegramSourcePropertyMappingRequest.d.ts.map +1 -0
  232. package/dist/models/TelegramSourcePropertyMappingRequest.js +57 -0
  233. package/dist/models/TelegramSourcePropertyMappingRequest.js.map +1 -0
  234. package/dist/models/TelegramSourceRequest.d.ts +113 -0
  235. package/dist/models/TelegramSourceRequest.d.ts.map +1 -0
  236. package/dist/models/TelegramSourceRequest.js +87 -0
  237. package/dist/models/TelegramSourceRequest.js.map +1 -0
  238. package/dist/models/UserTelegramSourceConnection.d.ts +70 -0
  239. package/dist/models/UserTelegramSourceConnection.d.ts.map +1 -0
  240. package/dist/models/UserTelegramSourceConnection.js +72 -0
  241. package/dist/models/UserTelegramSourceConnection.js.map +1 -0
  242. package/dist/models/UserTelegramSourceConnectionRequest.d.ts +45 -0
  243. package/dist/models/UserTelegramSourceConnectionRequest.d.ts.map +1 -0
  244. package/dist/models/UserTelegramSourceConnectionRequest.js +59 -0
  245. package/dist/models/UserTelegramSourceConnectionRequest.js.map +1 -0
  246. package/dist/models/index.d.ts +18 -0
  247. package/dist/models/index.d.ts.map +1 -1
  248. package/dist/models/index.js +18 -0
  249. package/dist/models/index.js.map +1 -1
  250. package/dist/tsconfig.esm.tsbuildinfo +1 -1
  251. package/package.json +1 -1
  252. package/src/apis/PropertymappingsApi.ts +397 -0
  253. package/src/apis/RbacApi.ts +8 -0
  254. package/src/apis/SourcesApi.ts +2484 -1232
  255. package/src/apis/TasksApi.ts +6 -0
  256. package/src/models/AppEnum.ts +2 -0
  257. package/src/models/ChallengeTypes.ts +12 -1
  258. package/src/models/FlowChallengeResponseRequest.ts +12 -1
  259. package/src/models/GroupTelegramSourceConnection.ts +124 -0
  260. package/src/models/GroupTelegramSourceConnectionRequest.ts +84 -0
  261. package/src/models/LastTaskStatusEnum.ts +3 -0
  262. package/src/models/LoginChallengeTypes.ts +12 -1
  263. package/src/models/ModelEnum.ts +4 -0
  264. package/src/models/PaginatedGroupTelegramSourceConnectionList.ts +99 -0
  265. package/src/models/PaginatedTelegramSourceList.ts +99 -0
  266. package/src/models/PaginatedTelegramSourcePropertyMappingList.ts +99 -0
  267. package/src/models/PaginatedUserTelegramSourceConnectionList.ts +99 -0
  268. package/src/models/PatchedGroupTelegramSourceConnectionRequest.ts +81 -0
  269. package/src/models/PatchedTelegramSourcePropertyMappingRequest.ts +81 -0
  270. package/src/models/PatchedTelegramSourceRequest.ts +186 -0
  271. package/src/models/PatchedUserTelegramSourceConnectionRequest.ts +81 -0
  272. package/src/models/StateEnum.ts +3 -0
  273. package/src/models/TaskAggregatedStatusEnum.ts +3 -0
  274. package/src/models/TelegramChallengeResponseRequest.ts +124 -0
  275. package/src/models/TelegramLoginChallenge.ts +114 -0
  276. package/src/models/TelegramSource.ts +238 -0
  277. package/src/models/TelegramSourcePropertyMapping.ts +123 -0
  278. package/src/models/TelegramSourcePropertyMappingRequest.ts +83 -0
  279. package/src/models/TelegramSourceRequest.ts +191 -0
  280. package/src/models/UserTelegramSourceConnection.ts +124 -0
  281. package/src/models/UserTelegramSourceConnectionRequest.ts +84 -0
  282. package/src/models/index.ts +18 -0
  283. package/tsconfig.tsbuildinfo +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goauthentik/api",
3
- "version": "2025.10.0-rc1-1759234079",
3
+ "version": "2025.10.0-rc1-1759846759",
4
4
  "description": "OpenAPI client for @goauthentik/api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -43,6 +43,7 @@ import type {
43
43
  PaginatedSCIMMappingList,
44
44
  PaginatedSCIMSourcePropertyMappingList,
45
45
  PaginatedScopeMappingList,
46
+ PaginatedTelegramSourcePropertyMappingList,
46
47
  PatchedGoogleWorkspaceProviderMappingRequest,
47
48
  PatchedKerberosSourcePropertyMappingRequest,
48
49
  PatchedLDAPSourcePropertyMappingRequest,
@@ -57,6 +58,7 @@ import type {
57
58
  PatchedSCIMMappingRequest,
58
59
  PatchedSCIMSourcePropertyMappingRequest,
59
60
  PatchedScopeMappingRequest,
61
+ PatchedTelegramSourcePropertyMappingRequest,
60
62
  PlexSourcePropertyMapping,
61
63
  PlexSourcePropertyMappingRequest,
62
64
  PropertyMapping,
@@ -76,6 +78,8 @@ import type {
76
78
  SCIMSourcePropertyMappingRequest,
77
79
  ScopeMapping,
78
80
  ScopeMappingRequest,
81
+ TelegramSourcePropertyMapping,
82
+ TelegramSourcePropertyMappingRequest,
79
83
  TypeCreate,
80
84
  UsedBy,
81
85
  ValidationError,
@@ -137,6 +141,8 @@ import {
137
141
  PaginatedSCIMSourcePropertyMappingListToJSON,
138
142
  PaginatedScopeMappingListFromJSON,
139
143
  PaginatedScopeMappingListToJSON,
144
+ PaginatedTelegramSourcePropertyMappingListFromJSON,
145
+ PaginatedTelegramSourcePropertyMappingListToJSON,
140
146
  PatchedGoogleWorkspaceProviderMappingRequestFromJSON,
141
147
  PatchedGoogleWorkspaceProviderMappingRequestToJSON,
142
148
  PatchedKerberosSourcePropertyMappingRequestFromJSON,
@@ -165,6 +171,8 @@ import {
165
171
  PatchedSCIMSourcePropertyMappingRequestToJSON,
166
172
  PatchedScopeMappingRequestFromJSON,
167
173
  PatchedScopeMappingRequestToJSON,
174
+ PatchedTelegramSourcePropertyMappingRequestFromJSON,
175
+ PatchedTelegramSourcePropertyMappingRequestToJSON,
168
176
  PlexSourcePropertyMappingFromJSON,
169
177
  PlexSourcePropertyMappingToJSON,
170
178
  PlexSourcePropertyMappingRequestFromJSON,
@@ -203,6 +211,10 @@ import {
203
211
  ScopeMappingToJSON,
204
212
  ScopeMappingRequestFromJSON,
205
213
  ScopeMappingRequestToJSON,
214
+ TelegramSourcePropertyMappingFromJSON,
215
+ TelegramSourcePropertyMappingToJSON,
216
+ TelegramSourcePropertyMappingRequestFromJSON,
217
+ TelegramSourcePropertyMappingRequestToJSON,
206
218
  TypeCreateFromJSON,
207
219
  TypeCreateToJSON,
208
220
  UsedByFromJSON,
@@ -745,6 +757,42 @@ export interface PropertymappingsSourceScimUsedByListRequest {
745
757
  pmUuid: string;
746
758
  }
747
759
 
760
+ export interface PropertymappingsSourceTelegramCreateRequest {
761
+ telegramSourcePropertyMappingRequest: TelegramSourcePropertyMappingRequest;
762
+ }
763
+
764
+ export interface PropertymappingsSourceTelegramDestroyRequest {
765
+ pmUuid: string;
766
+ }
767
+
768
+ export interface PropertymappingsSourceTelegramListRequest {
769
+ managed?: Array<string>;
770
+ managedIsnull?: boolean;
771
+ name?: string;
772
+ ordering?: string;
773
+ page?: number;
774
+ pageSize?: number;
775
+ search?: string;
776
+ }
777
+
778
+ export interface PropertymappingsSourceTelegramPartialUpdateRequest {
779
+ pmUuid: string;
780
+ patchedTelegramSourcePropertyMappingRequest?: PatchedTelegramSourcePropertyMappingRequest;
781
+ }
782
+
783
+ export interface PropertymappingsSourceTelegramRetrieveRequest {
784
+ pmUuid: string;
785
+ }
786
+
787
+ export interface PropertymappingsSourceTelegramUpdateRequest {
788
+ pmUuid: string;
789
+ telegramSourcePropertyMappingRequest: TelegramSourcePropertyMappingRequest;
790
+ }
791
+
792
+ export interface PropertymappingsSourceTelegramUsedByListRequest {
793
+ pmUuid: string;
794
+ }
795
+
748
796
  /**
749
797
  *
750
798
  */
@@ -5932,4 +5980,353 @@ export class PropertymappingsApi extends runtime.BaseAPI {
5932
5980
  return await response.value();
5933
5981
  }
5934
5982
 
5983
+ /**
5984
+ * TelegramSourcePropertyMapping Viewset
5985
+ */
5986
+ async propertymappingsSourceTelegramCreateRaw(requestParameters: PropertymappingsSourceTelegramCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TelegramSourcePropertyMapping>> {
5987
+ if (requestParameters['telegramSourcePropertyMappingRequest'] == null) {
5988
+ throw new runtime.RequiredError(
5989
+ 'telegramSourcePropertyMappingRequest',
5990
+ 'Required parameter "telegramSourcePropertyMappingRequest" was null or undefined when calling propertymappingsSourceTelegramCreate().'
5991
+ );
5992
+ }
5993
+
5994
+ const queryParameters: any = {};
5995
+
5996
+ const headerParameters: runtime.HTTPHeaders = {};
5997
+
5998
+ headerParameters['Content-Type'] = 'application/json';
5999
+
6000
+ if (this.configuration && this.configuration.accessToken) {
6001
+ const token = this.configuration.accessToken;
6002
+ const tokenString = await token("authentik", []);
6003
+
6004
+ if (tokenString) {
6005
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
6006
+ }
6007
+ }
6008
+
6009
+ let urlPath = `/propertymappings/source/telegram/`;
6010
+
6011
+ const response = await this.request({
6012
+ path: urlPath,
6013
+ method: 'POST',
6014
+ headers: headerParameters,
6015
+ query: queryParameters,
6016
+ body: TelegramSourcePropertyMappingRequestToJSON(requestParameters['telegramSourcePropertyMappingRequest']),
6017
+ }, initOverrides);
6018
+
6019
+ return new runtime.JSONApiResponse(response, (jsonValue) => TelegramSourcePropertyMappingFromJSON(jsonValue));
6020
+ }
6021
+
6022
+ /**
6023
+ * TelegramSourcePropertyMapping Viewset
6024
+ */
6025
+ async propertymappingsSourceTelegramCreate(requestParameters: PropertymappingsSourceTelegramCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TelegramSourcePropertyMapping> {
6026
+ const response = await this.propertymappingsSourceTelegramCreateRaw(requestParameters, initOverrides);
6027
+ return await response.value();
6028
+ }
6029
+
6030
+ /**
6031
+ * TelegramSourcePropertyMapping Viewset
6032
+ */
6033
+ async propertymappingsSourceTelegramDestroyRaw(requestParameters: PropertymappingsSourceTelegramDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
6034
+ if (requestParameters['pmUuid'] == null) {
6035
+ throw new runtime.RequiredError(
6036
+ 'pmUuid',
6037
+ 'Required parameter "pmUuid" was null or undefined when calling propertymappingsSourceTelegramDestroy().'
6038
+ );
6039
+ }
6040
+
6041
+ const queryParameters: any = {};
6042
+
6043
+ const headerParameters: runtime.HTTPHeaders = {};
6044
+
6045
+ if (this.configuration && this.configuration.accessToken) {
6046
+ const token = this.configuration.accessToken;
6047
+ const tokenString = await token("authentik", []);
6048
+
6049
+ if (tokenString) {
6050
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
6051
+ }
6052
+ }
6053
+
6054
+ let urlPath = `/propertymappings/source/telegram/{pm_uuid}/`;
6055
+ urlPath = urlPath.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters['pmUuid'])));
6056
+
6057
+ const response = await this.request({
6058
+ path: urlPath,
6059
+ method: 'DELETE',
6060
+ headers: headerParameters,
6061
+ query: queryParameters,
6062
+ }, initOverrides);
6063
+
6064
+ return new runtime.VoidApiResponse(response);
6065
+ }
6066
+
6067
+ /**
6068
+ * TelegramSourcePropertyMapping Viewset
6069
+ */
6070
+ async propertymappingsSourceTelegramDestroy(requestParameters: PropertymappingsSourceTelegramDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
6071
+ await this.propertymappingsSourceTelegramDestroyRaw(requestParameters, initOverrides);
6072
+ }
6073
+
6074
+ /**
6075
+ * TelegramSourcePropertyMapping Viewset
6076
+ */
6077
+ async propertymappingsSourceTelegramListRaw(requestParameters: PropertymappingsSourceTelegramListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedTelegramSourcePropertyMappingList>> {
6078
+ const queryParameters: any = {};
6079
+
6080
+ if (requestParameters['managed'] != null) {
6081
+ queryParameters['managed'] = requestParameters['managed'];
6082
+ }
6083
+
6084
+ if (requestParameters['managedIsnull'] != null) {
6085
+ queryParameters['managed__isnull'] = requestParameters['managedIsnull'];
6086
+ }
6087
+
6088
+ if (requestParameters['name'] != null) {
6089
+ queryParameters['name'] = requestParameters['name'];
6090
+ }
6091
+
6092
+ if (requestParameters['ordering'] != null) {
6093
+ queryParameters['ordering'] = requestParameters['ordering'];
6094
+ }
6095
+
6096
+ if (requestParameters['page'] != null) {
6097
+ queryParameters['page'] = requestParameters['page'];
6098
+ }
6099
+
6100
+ if (requestParameters['pageSize'] != null) {
6101
+ queryParameters['page_size'] = requestParameters['pageSize'];
6102
+ }
6103
+
6104
+ if (requestParameters['search'] != null) {
6105
+ queryParameters['search'] = requestParameters['search'];
6106
+ }
6107
+
6108
+ const headerParameters: runtime.HTTPHeaders = {};
6109
+
6110
+ if (this.configuration && this.configuration.accessToken) {
6111
+ const token = this.configuration.accessToken;
6112
+ const tokenString = await token("authentik", []);
6113
+
6114
+ if (tokenString) {
6115
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
6116
+ }
6117
+ }
6118
+
6119
+ let urlPath = `/propertymappings/source/telegram/`;
6120
+
6121
+ const response = await this.request({
6122
+ path: urlPath,
6123
+ method: 'GET',
6124
+ headers: headerParameters,
6125
+ query: queryParameters,
6126
+ }, initOverrides);
6127
+
6128
+ return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedTelegramSourcePropertyMappingListFromJSON(jsonValue));
6129
+ }
6130
+
6131
+ /**
6132
+ * TelegramSourcePropertyMapping Viewset
6133
+ */
6134
+ async propertymappingsSourceTelegramList(requestParameters: PropertymappingsSourceTelegramListRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedTelegramSourcePropertyMappingList> {
6135
+ const response = await this.propertymappingsSourceTelegramListRaw(requestParameters, initOverrides);
6136
+ return await response.value();
6137
+ }
6138
+
6139
+ /**
6140
+ * TelegramSourcePropertyMapping Viewset
6141
+ */
6142
+ async propertymappingsSourceTelegramPartialUpdateRaw(requestParameters: PropertymappingsSourceTelegramPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TelegramSourcePropertyMapping>> {
6143
+ if (requestParameters['pmUuid'] == null) {
6144
+ throw new runtime.RequiredError(
6145
+ 'pmUuid',
6146
+ 'Required parameter "pmUuid" was null or undefined when calling propertymappingsSourceTelegramPartialUpdate().'
6147
+ );
6148
+ }
6149
+
6150
+ const queryParameters: any = {};
6151
+
6152
+ const headerParameters: runtime.HTTPHeaders = {};
6153
+
6154
+ headerParameters['Content-Type'] = 'application/json';
6155
+
6156
+ if (this.configuration && this.configuration.accessToken) {
6157
+ const token = this.configuration.accessToken;
6158
+ const tokenString = await token("authentik", []);
6159
+
6160
+ if (tokenString) {
6161
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
6162
+ }
6163
+ }
6164
+
6165
+ let urlPath = `/propertymappings/source/telegram/{pm_uuid}/`;
6166
+ urlPath = urlPath.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters['pmUuid'])));
6167
+
6168
+ const response = await this.request({
6169
+ path: urlPath,
6170
+ method: 'PATCH',
6171
+ headers: headerParameters,
6172
+ query: queryParameters,
6173
+ body: PatchedTelegramSourcePropertyMappingRequestToJSON(requestParameters['patchedTelegramSourcePropertyMappingRequest']),
6174
+ }, initOverrides);
6175
+
6176
+ return new runtime.JSONApiResponse(response, (jsonValue) => TelegramSourcePropertyMappingFromJSON(jsonValue));
6177
+ }
6178
+
6179
+ /**
6180
+ * TelegramSourcePropertyMapping Viewset
6181
+ */
6182
+ async propertymappingsSourceTelegramPartialUpdate(requestParameters: PropertymappingsSourceTelegramPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TelegramSourcePropertyMapping> {
6183
+ const response = await this.propertymappingsSourceTelegramPartialUpdateRaw(requestParameters, initOverrides);
6184
+ return await response.value();
6185
+ }
6186
+
6187
+ /**
6188
+ * TelegramSourcePropertyMapping Viewset
6189
+ */
6190
+ async propertymappingsSourceTelegramRetrieveRaw(requestParameters: PropertymappingsSourceTelegramRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TelegramSourcePropertyMapping>> {
6191
+ if (requestParameters['pmUuid'] == null) {
6192
+ throw new runtime.RequiredError(
6193
+ 'pmUuid',
6194
+ 'Required parameter "pmUuid" was null or undefined when calling propertymappingsSourceTelegramRetrieve().'
6195
+ );
6196
+ }
6197
+
6198
+ const queryParameters: any = {};
6199
+
6200
+ const headerParameters: runtime.HTTPHeaders = {};
6201
+
6202
+ if (this.configuration && this.configuration.accessToken) {
6203
+ const token = this.configuration.accessToken;
6204
+ const tokenString = await token("authentik", []);
6205
+
6206
+ if (tokenString) {
6207
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
6208
+ }
6209
+ }
6210
+
6211
+ let urlPath = `/propertymappings/source/telegram/{pm_uuid}/`;
6212
+ urlPath = urlPath.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters['pmUuid'])));
6213
+
6214
+ const response = await this.request({
6215
+ path: urlPath,
6216
+ method: 'GET',
6217
+ headers: headerParameters,
6218
+ query: queryParameters,
6219
+ }, initOverrides);
6220
+
6221
+ return new runtime.JSONApiResponse(response, (jsonValue) => TelegramSourcePropertyMappingFromJSON(jsonValue));
6222
+ }
6223
+
6224
+ /**
6225
+ * TelegramSourcePropertyMapping Viewset
6226
+ */
6227
+ async propertymappingsSourceTelegramRetrieve(requestParameters: PropertymappingsSourceTelegramRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TelegramSourcePropertyMapping> {
6228
+ const response = await this.propertymappingsSourceTelegramRetrieveRaw(requestParameters, initOverrides);
6229
+ return await response.value();
6230
+ }
6231
+
6232
+ /**
6233
+ * TelegramSourcePropertyMapping Viewset
6234
+ */
6235
+ async propertymappingsSourceTelegramUpdateRaw(requestParameters: PropertymappingsSourceTelegramUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TelegramSourcePropertyMapping>> {
6236
+ if (requestParameters['pmUuid'] == null) {
6237
+ throw new runtime.RequiredError(
6238
+ 'pmUuid',
6239
+ 'Required parameter "pmUuid" was null or undefined when calling propertymappingsSourceTelegramUpdate().'
6240
+ );
6241
+ }
6242
+
6243
+ if (requestParameters['telegramSourcePropertyMappingRequest'] == null) {
6244
+ throw new runtime.RequiredError(
6245
+ 'telegramSourcePropertyMappingRequest',
6246
+ 'Required parameter "telegramSourcePropertyMappingRequest" was null or undefined when calling propertymappingsSourceTelegramUpdate().'
6247
+ );
6248
+ }
6249
+
6250
+ const queryParameters: any = {};
6251
+
6252
+ const headerParameters: runtime.HTTPHeaders = {};
6253
+
6254
+ headerParameters['Content-Type'] = 'application/json';
6255
+
6256
+ if (this.configuration && this.configuration.accessToken) {
6257
+ const token = this.configuration.accessToken;
6258
+ const tokenString = await token("authentik", []);
6259
+
6260
+ if (tokenString) {
6261
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
6262
+ }
6263
+ }
6264
+
6265
+ let urlPath = `/propertymappings/source/telegram/{pm_uuid}/`;
6266
+ urlPath = urlPath.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters['pmUuid'])));
6267
+
6268
+ const response = await this.request({
6269
+ path: urlPath,
6270
+ method: 'PUT',
6271
+ headers: headerParameters,
6272
+ query: queryParameters,
6273
+ body: TelegramSourcePropertyMappingRequestToJSON(requestParameters['telegramSourcePropertyMappingRequest']),
6274
+ }, initOverrides);
6275
+
6276
+ return new runtime.JSONApiResponse(response, (jsonValue) => TelegramSourcePropertyMappingFromJSON(jsonValue));
6277
+ }
6278
+
6279
+ /**
6280
+ * TelegramSourcePropertyMapping Viewset
6281
+ */
6282
+ async propertymappingsSourceTelegramUpdate(requestParameters: PropertymappingsSourceTelegramUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TelegramSourcePropertyMapping> {
6283
+ const response = await this.propertymappingsSourceTelegramUpdateRaw(requestParameters, initOverrides);
6284
+ return await response.value();
6285
+ }
6286
+
6287
+ /**
6288
+ * Get a list of all objects that use this object
6289
+ */
6290
+ async propertymappingsSourceTelegramUsedByListRaw(requestParameters: PropertymappingsSourceTelegramUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<UsedBy>>> {
6291
+ if (requestParameters['pmUuid'] == null) {
6292
+ throw new runtime.RequiredError(
6293
+ 'pmUuid',
6294
+ 'Required parameter "pmUuid" was null or undefined when calling propertymappingsSourceTelegramUsedByList().'
6295
+ );
6296
+ }
6297
+
6298
+ const queryParameters: any = {};
6299
+
6300
+ const headerParameters: runtime.HTTPHeaders = {};
6301
+
6302
+ if (this.configuration && this.configuration.accessToken) {
6303
+ const token = this.configuration.accessToken;
6304
+ const tokenString = await token("authentik", []);
6305
+
6306
+ if (tokenString) {
6307
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
6308
+ }
6309
+ }
6310
+
6311
+ let urlPath = `/propertymappings/source/telegram/{pm_uuid}/used_by/`;
6312
+ urlPath = urlPath.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters['pmUuid'])));
6313
+
6314
+ const response = await this.request({
6315
+ path: urlPath,
6316
+ method: 'GET',
6317
+ headers: headerParameters,
6318
+ query: queryParameters,
6319
+ }, initOverrides);
6320
+
6321
+ return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(UsedByFromJSON));
6322
+ }
6323
+
6324
+ /**
6325
+ * Get a list of all objects that use this object
6326
+ */
6327
+ async propertymappingsSourceTelegramUsedByList(requestParameters: PropertymappingsSourceTelegramUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<UsedBy>> {
6328
+ const response = await this.propertymappingsSourceTelegramUsedByListRaw(requestParameters, initOverrides);
6329
+ return await response.value();
6330
+ }
6331
+
5935
6332
  }
@@ -1990,6 +1990,10 @@ export const RbacPermissionsAssignedByRolesListModelEnum = {
1990
1990
  AuthentikSourcesSamlUsersamlsourceconnection: 'authentik_sources_saml.usersamlsourceconnection',
1991
1991
  AuthentikSourcesScimScimsource: 'authentik_sources_scim.scimsource',
1992
1992
  AuthentikSourcesScimScimsourcepropertymapping: 'authentik_sources_scim.scimsourcepropertymapping',
1993
+ AuthentikSourcesTelegramGrouptelegramsourceconnection: 'authentik_sources_telegram.grouptelegramsourceconnection',
1994
+ AuthentikSourcesTelegramTelegramsource: 'authentik_sources_telegram.telegramsource',
1995
+ AuthentikSourcesTelegramTelegramsourcepropertymapping: 'authentik_sources_telegram.telegramsourcepropertymapping',
1996
+ AuthentikSourcesTelegramUsertelegramsourceconnection: 'authentik_sources_telegram.usertelegramsourceconnection',
1993
1997
  AuthentikStagesAuthenticatorDuoAuthenticatorduostage: 'authentik_stages_authenticator_duo.authenticatorduostage',
1994
1998
  AuthentikStagesAuthenticatorDuoDuodevice: 'authentik_stages_authenticator_duo.duodevice',
1995
1999
  AuthentikStagesAuthenticatorEmailAuthenticatoremailstage: 'authentik_stages_authenticator_email.authenticatoremailstage',
@@ -2101,6 +2105,10 @@ export const RbacPermissionsAssignedByUsersListModelEnum = {
2101
2105
  AuthentikSourcesSamlUsersamlsourceconnection: 'authentik_sources_saml.usersamlsourceconnection',
2102
2106
  AuthentikSourcesScimScimsource: 'authentik_sources_scim.scimsource',
2103
2107
  AuthentikSourcesScimScimsourcepropertymapping: 'authentik_sources_scim.scimsourcepropertymapping',
2108
+ AuthentikSourcesTelegramGrouptelegramsourceconnection: 'authentik_sources_telegram.grouptelegramsourceconnection',
2109
+ AuthentikSourcesTelegramTelegramsource: 'authentik_sources_telegram.telegramsource',
2110
+ AuthentikSourcesTelegramTelegramsourcepropertymapping: 'authentik_sources_telegram.telegramsourcepropertymapping',
2111
+ AuthentikSourcesTelegramUsertelegramsourceconnection: 'authentik_sources_telegram.usertelegramsourceconnection',
2104
2112
  AuthentikStagesAuthenticatorDuoAuthenticatorduostage: 'authentik_stages_authenticator_duo.authenticatorduostage',
2105
2113
  AuthentikStagesAuthenticatorDuoDuodevice: 'authentik_stages_authenticator_duo.duodevice',
2106
2114
  AuthentikStagesAuthenticatorEmailAuthenticatoremailstage: 'authentik_stages_authenticator_email.authenticatoremailstage',