authentik-client 2025.10.3__py3-none-any.whl → 2025.12.0rc1__py3-none-any.whl

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 (870) hide show
  1. authentik_client/__init__.py +156 -30
  2. authentik_client/api/__init__.py +2 -0
  3. authentik_client/api/admin_api.py +1170 -3
  4. authentik_client/api/authenticators_api.py +85 -85
  5. authentik_client/api/core_api.py +2815 -2648
  6. authentik_client/api/crypto_api.py +20 -2
  7. authentik_client/api/endpoints_api.py +14082 -0
  8. authentik_client/api/enterprise_api.py +1 -1
  9. authentik_client/api/events_api.py +442 -1
  10. authentik_client/api/flows_api.py +1 -607
  11. authentik_client/api/managed_api.py +1 -1
  12. authentik_client/api/oauth2_api.py +1 -1
  13. authentik_client/api/outposts_api.py +1 -1
  14. authentik_client/api/policies_api.py +1 -1
  15. authentik_client/api/propertymappings_api.py +1 -1
  16. authentik_client/api/providers_api.py +6 -6
  17. authentik_client/api/rac_api.py +1 -1
  18. authentik_client/api/rbac_api.py +701 -3588
  19. authentik_client/api/reports_api.py +887 -0
  20. authentik_client/api/root_api.py +1 -1
  21. authentik_client/api/schema_api.py +1 -1
  22. authentik_client/api/sources_api.py +2559 -2869
  23. authentik_client/api/ssf_api.py +1 -1
  24. authentik_client/api/stages_api.py +2030 -1
  25. authentik_client/api/tasks_api.py +1 -1
  26. authentik_client/api/tenants_api.py +1 -1
  27. authentik_client/api_client.py +2 -2
  28. authentik_client/configuration.py +9 -5
  29. authentik_client/exceptions.py +1 -1
  30. authentik_client/models/__init__.py +76 -15
  31. authentik_client/models/access_denied_challenge.py +1 -1
  32. authentik_client/models/{file_path_request.py → agent_authentication_response.py} +7 -8
  33. authentik_client/models/agent_config.py +130 -0
  34. authentik_client/models/agent_connector.py +142 -0
  35. authentik_client/models/agent_connector_request.py +126 -0
  36. authentik_client/models/agent_psso_device_registration_request.py +95 -0
  37. authentik_client/models/agent_psso_device_registration_response.py +98 -0
  38. authentik_client/models/agent_psso_user_registration_request.py +93 -0
  39. authentik_client/models/agent_token_response.py +90 -0
  40. authentik_client/models/alg_enum.py +1 -1
  41. authentik_client/models/app.py +1 -1
  42. authentik_client/models/app_enum.py +6 -1
  43. authentik_client/models/apple_challenge_response_request.py +1 -1
  44. authentik_client/models/apple_login_challenge.py +1 -1
  45. authentik_client/models/application.py +10 -8
  46. authentik_client/models/application_entitlement.py +1 -1
  47. authentik_client/models/application_entitlement_request.py +1 -1
  48. authentik_client/models/application_request.py +5 -3
  49. authentik_client/models/auth_type_enum.py +1 -1
  50. authentik_client/models/authenticated_session.py +1 -1
  51. authentik_client/models/authenticated_session_asn.py +1 -1
  52. authentik_client/models/authenticated_session_geo_ip.py +1 -1
  53. authentik_client/models/authenticated_session_user_agent.py +1 -1
  54. authentik_client/models/authenticated_session_user_agent_device.py +1 -1
  55. authentik_client/models/authenticated_session_user_agent_os.py +1 -1
  56. authentik_client/models/authenticated_session_user_agent_user_agent.py +1 -1
  57. authentik_client/models/authentication_enum.py +1 -1
  58. authentik_client/models/authenticator_attachment_enum.py +1 -1
  59. authentik_client/models/authenticator_duo_challenge.py +1 -1
  60. authentik_client/models/authenticator_duo_challenge_response_request.py +1 -1
  61. authentik_client/models/authenticator_duo_stage.py +4 -2
  62. authentik_client/models/authenticator_duo_stage_device_import_response.py +1 -1
  63. authentik_client/models/authenticator_duo_stage_manual_device_import_request.py +1 -1
  64. authentik_client/models/authenticator_duo_stage_request.py +2 -12
  65. authentik_client/models/authenticator_email_challenge.py +1 -1
  66. authentik_client/models/authenticator_email_challenge_response_request.py +1 -1
  67. authentik_client/models/authenticator_email_stage.py +4 -2
  68. authentik_client/models/authenticator_email_stage_request.py +2 -12
  69. authentik_client/models/authenticator_endpoint_gdtc_stage.py +4 -2
  70. authentik_client/models/authenticator_endpoint_gdtc_stage_request.py +2 -12
  71. authentik_client/models/authenticator_sms_challenge.py +1 -1
  72. authentik_client/models/authenticator_sms_challenge_response_request.py +1 -1
  73. authentik_client/models/authenticator_sms_stage.py +4 -2
  74. authentik_client/models/authenticator_sms_stage_request.py +2 -12
  75. authentik_client/models/authenticator_static_challenge.py +1 -1
  76. authentik_client/models/authenticator_static_challenge_response_request.py +1 -1
  77. authentik_client/models/authenticator_static_stage.py +4 -2
  78. authentik_client/models/authenticator_static_stage_request.py +2 -12
  79. authentik_client/models/authenticator_totp_challenge.py +1 -1
  80. authentik_client/models/authenticator_totp_challenge_response_request.py +1 -1
  81. authentik_client/models/authenticator_totp_stage.py +4 -2
  82. authentik_client/models/authenticator_totp_stage_request.py +2 -12
  83. authentik_client/models/authenticator_validate_stage.py +4 -2
  84. authentik_client/models/authenticator_validate_stage_request.py +2 -12
  85. authentik_client/models/authenticator_validation_challenge.py +1 -1
  86. authentik_client/models/authenticator_validation_challenge_response_request.py +1 -1
  87. authentik_client/models/authenticator_web_authn_challenge.py +1 -1
  88. authentik_client/models/authenticator_web_authn_challenge_response_request.py +1 -1
  89. authentik_client/models/authenticator_web_authn_stage.py +4 -2
  90. authentik_client/models/authenticator_web_authn_stage_request.py +2 -12
  91. authentik_client/models/authorization_code_auth_method_enum.py +1 -1
  92. authentik_client/models/auto_submit_challenge_response_request.py +1 -1
  93. authentik_client/models/autosubmit_challenge.py +1 -1
  94. authentik_client/models/backends_enum.py +1 -1
  95. authentik_client/models/binding_type_enum.py +1 -1
  96. authentik_client/models/blueprint_file.py +1 -1
  97. authentik_client/models/blueprint_instance.py +1 -1
  98. authentik_client/models/blueprint_instance_request.py +1 -1
  99. authentik_client/models/blueprint_instance_status_enum.py +1 -1
  100. authentik_client/models/brand.py +1 -1
  101. authentik_client/models/brand_request.py +1 -1
  102. authentik_client/models/cache.py +1 -1
  103. authentik_client/models/capabilities_enum.py +1 -1
  104. authentik_client/models/captcha_challenge.py +1 -1
  105. authentik_client/models/captcha_challenge_response_request.py +1 -1
  106. authentik_client/models/captcha_stage.py +4 -2
  107. authentik_client/models/captcha_stage_request.py +2 -12
  108. authentik_client/models/cert_attribute_enum.py +1 -1
  109. authentik_client/models/certificate_data.py +1 -1
  110. authentik_client/models/certificate_generation_request.py +1 -1
  111. authentik_client/models/certificate_key_pair.py +9 -8
  112. authentik_client/models/certificate_key_pair_request.py +1 -1
  113. authentik_client/models/challenge_types.py +38 -24
  114. authentik_client/models/client_type_enum.py +1 -1
  115. authentik_client/models/compatibility_mode_enum.py +1 -1
  116. authentik_client/models/config.py +1 -1
  117. authentik_client/models/connection_token.py +1 -1
  118. authentik_client/models/connection_token_request.py +1 -1
  119. authentik_client/models/connector.py +109 -0
  120. authentik_client/models/consent_challenge.py +1 -1
  121. authentik_client/models/consent_challenge_response_request.py +1 -1
  122. authentik_client/models/consent_permission.py +1 -1
  123. authentik_client/models/consent_stage.py +4 -2
  124. authentik_client/models/consent_stage_mode_enum.py +1 -1
  125. authentik_client/models/consent_stage_request.py +2 -12
  126. authentik_client/models/content_type.py +98 -0
  127. authentik_client/models/contextual_flow_info.py +1 -1
  128. authentik_client/models/contextual_flow_info_layout_enum.py +1 -1
  129. authentik_client/models/country_code_enum.py +1 -1
  130. authentik_client/models/current_brand.py +1 -1
  131. authentik_client/models/current_brand_flags.py +1 -1
  132. authentik_client/models/{extra_user_object_permission.py → data_export.py} +36 -39
  133. authentik_client/models/delivery_method_enum.py +1 -1
  134. authentik_client/models/denied_action_enum.py +1 -1
  135. authentik_client/models/deny_stage.py +4 -2
  136. authentik_client/models/deny_stage_request.py +2 -12
  137. authentik_client/models/detailed_country.py +1 -1
  138. authentik_client/models/detailed_country_field.py +1 -1
  139. authentik_client/models/device.py +1 -1
  140. authentik_client/models/device_access_group.py +93 -0
  141. authentik_client/models/{extra_role_object_permission_request.py → device_access_group_request.py} +8 -8
  142. authentik_client/models/device_challenge.py +1 -1
  143. authentik_client/models/device_challenge_request.py +1 -1
  144. authentik_client/models/device_classes_enum.py +1 -1
  145. authentik_client/models/device_connection.py +112 -0
  146. authentik_client/models/device_fact_snapshot.py +109 -0
  147. authentik_client/models/device_facts.py +196 -0
  148. authentik_client/models/device_facts_os_family.py +44 -0
  149. authentik_client/models/device_facts_request.py +196 -0
  150. authentik_client/models/device_group.py +90 -0
  151. authentik_client/models/{patched_extra_user_object_permission_request.py → device_group_request.py} +10 -8
  152. authentik_client/models/device_summary.py +92 -0
  153. authentik_client/models/device_user.py +94 -0
  154. authentik_client/models/device_user_binding.py +168 -0
  155. authentik_client/models/device_user_binding_request.py +123 -0
  156. authentik_client/models/device_user_request.py +95 -0
  157. authentik_client/models/digest_algorithm_enum.py +1 -1
  158. authentik_client/models/digits_enum.py +1 -1
  159. authentik_client/models/disk.py +98 -0
  160. authentik_client/models/disk_request.py +99 -0
  161. authentik_client/models/docker_service_connection.py +1 -1
  162. authentik_client/models/docker_service_connection_request.py +1 -1
  163. authentik_client/models/domain.py +1 -1
  164. authentik_client/models/domain_request.py +1 -1
  165. authentik_client/models/dummy_challenge.py +1 -1
  166. authentik_client/models/dummy_challenge_response_request.py +1 -1
  167. authentik_client/models/dummy_policy.py +1 -1
  168. authentik_client/models/dummy_policy_request.py +1 -1
  169. authentik_client/models/dummy_stage.py +4 -2
  170. authentik_client/models/dummy_stage_request.py +2 -12
  171. authentik_client/models/duo_device.py +1 -1
  172. authentik_client/models/duo_device_enrollment_status.py +1 -1
  173. authentik_client/models/duo_device_request.py +1 -1
  174. authentik_client/models/duo_response_enum.py +1 -1
  175. authentik_client/models/email_challenge.py +1 -1
  176. authentik_client/models/email_challenge_response_request.py +1 -1
  177. authentik_client/models/email_device.py +1 -1
  178. authentik_client/models/email_device_request.py +1 -1
  179. authentik_client/models/email_stage.py +4 -2
  180. authentik_client/models/email_stage_request.py +2 -12
  181. authentik_client/models/endpoint.py +1 -1
  182. authentik_client/models/endpoint_agent_challenge.py +117 -0
  183. authentik_client/models/endpoint_agent_challenge_response_request.py +96 -0
  184. authentik_client/models/endpoint_auth_mode_enum.py +1 -1
  185. authentik_client/models/endpoint_device.py +45 -9
  186. authentik_client/models/endpoint_device_details.py +146 -0
  187. authentik_client/models/endpoint_device_request.py +33 -8
  188. authentik_client/models/endpoint_request.py +1 -1
  189. authentik_client/models/endpoint_stage.py +134 -0
  190. authentik_client/models/endpoint_stage_request.py +95 -0
  191. authentik_client/models/{extra_user_object_permission_request.py → enroll_request.py} +10 -8
  192. authentik_client/models/enrollment_token.py +120 -0
  193. authentik_client/models/enrollment_token_request.py +109 -0
  194. authentik_client/models/error_detail.py +1 -1
  195. authentik_client/models/error_reporting_config.py +1 -1
  196. authentik_client/models/event.py +1 -1
  197. authentik_client/models/event_actions.py +2 -1
  198. authentik_client/models/event_matcher_policy.py +1 -1
  199. authentik_client/models/event_matcher_policy_request.py +1 -1
  200. authentik_client/models/event_request.py +1 -1
  201. authentik_client/models/event_top_per_user.py +1 -1
  202. authentik_client/models/event_volume.py +1 -1
  203. authentik_client/models/events_requested_enum.py +1 -1
  204. authentik_client/models/expiring_base_grant_model.py +1 -1
  205. authentik_client/models/expression_policy.py +1 -1
  206. authentik_client/models/expression_policy_request.py +1 -1
  207. authentik_client/models/extra_role_object_permission.py +3 -3
  208. authentik_client/models/file_list.py +92 -0
  209. authentik_client/models/flow.py +7 -5
  210. authentik_client/models/flow_challenge_response_request.py +35 -21
  211. authentik_client/models/flow_designation_enum.py +1 -1
  212. authentik_client/models/flow_diagram.py +1 -1
  213. authentik_client/models/flow_error_challenge.py +1 -1
  214. authentik_client/models/flow_import_result.py +1 -1
  215. authentik_client/models/flow_inspection.py +1 -1
  216. authentik_client/models/flow_inspector_plan.py +1 -1
  217. authentik_client/models/flow_layout_enum.py +1 -1
  218. authentik_client/models/flow_request.py +6 -4
  219. authentik_client/models/flow_set.py +6 -6
  220. authentik_client/models/flow_stage_binding.py +1 -1
  221. authentik_client/models/flow_stage_binding_request.py +1 -1
  222. authentik_client/models/footer_link.py +1 -1
  223. authentik_client/models/frame_challenge.py +1 -1
  224. authentik_client/models/frame_challenge_response_request.py +1 -1
  225. authentik_client/models/generic_error.py +1 -1
  226. authentik_client/models/geo_ip_policy.py +1 -1
  227. authentik_client/models/geo_ip_policy_request.py +1 -1
  228. authentik_client/models/geoip_binding_enum.py +1 -1
  229. authentik_client/models/global_task_status.py +1 -1
  230. authentik_client/models/google_endpoint_device.py +92 -0
  231. authentik_client/models/google_endpoint_device_request.py +92 -0
  232. authentik_client/models/google_workspace_provider.py +6 -2
  233. authentik_client/models/google_workspace_provider_group.py +1 -1
  234. authentik_client/models/google_workspace_provider_group_request.py +1 -1
  235. authentik_client/models/google_workspace_provider_mapping.py +1 -1
  236. authentik_client/models/google_workspace_provider_mapping_request.py +1 -1
  237. authentik_client/models/google_workspace_provider_request.py +6 -2
  238. authentik_client/models/google_workspace_provider_user.py +1 -1
  239. authentik_client/models/google_workspace_provider_user_request.py +1 -1
  240. authentik_client/models/group.py +23 -19
  241. authentik_client/models/group_kerberos_source_connection.py +1 -1
  242. authentik_client/models/group_kerberos_source_connection_request.py +1 -1
  243. authentik_client/models/group_ldap_source_connection.py +1 -1
  244. authentik_client/models/group_ldap_source_connection_request.py +1 -1
  245. authentik_client/models/group_matching_mode_enum.py +1 -1
  246. authentik_client/models/group_o_auth_source_connection.py +1 -1
  247. authentik_client/models/group_o_auth_source_connection_request.py +1 -1
  248. authentik_client/models/group_plex_source_connection.py +1 -1
  249. authentik_client/models/group_plex_source_connection_request.py +1 -1
  250. authentik_client/models/group_request.py +5 -12
  251. authentik_client/models/group_saml_source_connection.py +1 -1
  252. authentik_client/models/group_saml_source_connection_request.py +1 -1
  253. authentik_client/models/group_source_connection.py +1 -1
  254. authentik_client/models/group_source_connection_request.py +1 -1
  255. authentik_client/models/group_telegram_source_connection.py +1 -1
  256. authentik_client/models/group_telegram_source_connection_request.py +1 -1
  257. authentik_client/models/hardware.py +98 -0
  258. authentik_client/models/hardware_request.py +99 -0
  259. authentik_client/models/identification_challenge.py +10 -3
  260. authentik_client/models/identification_challenge_response_request.py +16 -4
  261. authentik_client/models/identification_stage.py +13 -4
  262. authentik_client/models/identification_stage_request.py +10 -13
  263. authentik_client/models/iframe_logout_challenge.py +1 -1
  264. authentik_client/models/iframe_logout_challenge_response_request.py +1 -1
  265. authentik_client/models/impersonation_request.py +1 -1
  266. authentik_client/models/initial_permissions.py +2 -5
  267. authentik_client/models/initial_permissions_request.py +2 -5
  268. authentik_client/models/install_id.py +1 -1
  269. authentik_client/models/intent_enum.py +1 -1
  270. authentik_client/models/invalid_response_action_enum.py +1 -1
  271. authentik_client/models/invitation.py +2 -2
  272. authentik_client/models/invitation_request.py +2 -2
  273. authentik_client/models/invitation_stage.py +4 -2
  274. authentik_client/models/invitation_stage_request.py +2 -12
  275. authentik_client/models/issuer_mode_enum.py +1 -1
  276. authentik_client/models/kadmin_type_enum.py +1 -1
  277. authentik_client/models/kerberos_source.py +13 -6
  278. authentik_client/models/kerberos_source_property_mapping.py +1 -1
  279. authentik_client/models/kerberos_source_property_mapping_request.py +1 -1
  280. authentik_client/models/kerberos_source_request.py +11 -4
  281. authentik_client/models/{initial_permissions_mode_enum.py → key_type_enum.py} +9 -6
  282. authentik_client/models/kubernetes_service_connection.py +1 -1
  283. authentik_client/models/kubernetes_service_connection_request.py +1 -1
  284. authentik_client/models/last_task_status_enum.py +1 -1
  285. authentik_client/models/ldap_check_access.py +1 -1
  286. authentik_client/models/ldap_debug.py +1 -1
  287. authentik_client/models/ldap_outpost_config.py +1 -1
  288. authentik_client/models/ldap_provider.py +1 -1
  289. authentik_client/models/ldap_provider_request.py +1 -1
  290. authentik_client/models/ldap_source.py +13 -6
  291. authentik_client/models/ldap_source_property_mapping.py +1 -1
  292. authentik_client/models/ldap_source_property_mapping_request.py +1 -1
  293. authentik_client/models/ldap_source_request.py +11 -4
  294. authentik_client/models/ldapapi_access_mode.py +1 -1
  295. authentik_client/models/license.py +1 -1
  296. authentik_client/models/license_flags_enum.py +1 -1
  297. authentik_client/models/license_forecast.py +1 -1
  298. authentik_client/models/license_request.py +1 -1
  299. authentik_client/models/license_summary.py +1 -1
  300. authentik_client/models/license_summary_status_enum.py +1 -1
  301. authentik_client/models/link.py +1 -1
  302. authentik_client/models/log_event.py +1 -1
  303. authentik_client/models/log_level_enum.py +1 -1
  304. authentik_client/models/login_challenge_types.py +1 -1
  305. authentik_client/models/login_source.py +5 -3
  306. authentik_client/models/matching_mode_enum.py +1 -1
  307. authentik_client/models/mdm_config_request.py +92 -0
  308. authentik_client/models/mdm_config_response.py +92 -0
  309. authentik_client/models/metadata.py +1 -1
  310. authentik_client/models/microsoft_entra_provider.py +7 -2
  311. authentik_client/models/microsoft_entra_provider_group.py +1 -1
  312. authentik_client/models/microsoft_entra_provider_group_request.py +1 -1
  313. authentik_client/models/microsoft_entra_provider_mapping.py +1 -1
  314. authentik_client/models/microsoft_entra_provider_mapping_request.py +1 -1
  315. authentik_client/models/microsoft_entra_provider_request.py +6 -2
  316. authentik_client/models/microsoft_entra_provider_user.py +1 -1
  317. authentik_client/models/microsoft_entra_provider_user_request.py +1 -1
  318. authentik_client/models/model_enum.py +8 -1
  319. authentik_client/models/model_request.py +1 -1
  320. authentik_client/models/mutual_tls_stage.py +6 -4
  321. authentik_client/models/mutual_tls_stage_request.py +4 -14
  322. authentik_client/models/native_logout_challenge.py +1 -1
  323. authentik_client/models/native_logout_challenge_response_request.py +1 -1
  324. authentik_client/models/network.py +102 -0
  325. authentik_client/models/network_binding_enum.py +1 -1
  326. authentik_client/models/network_interface.py +94 -0
  327. authentik_client/models/network_interface_request.py +95 -0
  328. authentik_client/models/network_request.py +103 -0
  329. authentik_client/models/not_configured_action_enum.py +1 -1
  330. authentik_client/models/notification.py +18 -3
  331. authentik_client/models/notification_request.py +18 -3
  332. authentik_client/models/notification_rule.py +1 -1
  333. authentik_client/models/notification_rule_request.py +1 -1
  334. authentik_client/models/notification_transport.py +1 -1
  335. authentik_client/models/notification_transport_mode_enum.py +1 -1
  336. authentik_client/models/notification_transport_request.py +1 -1
  337. authentik_client/models/notification_transport_test.py +1 -1
  338. authentik_client/models/notification_webhook_mapping.py +1 -1
  339. authentik_client/models/notification_webhook_mapping_request.py +1 -1
  340. authentik_client/models/o_auth2_provider.py +1 -1
  341. authentik_client/models/o_auth2_provider_logout_method_enum.py +1 -1
  342. authentik_client/models/o_auth2_provider_request.py +1 -1
  343. authentik_client/models/o_auth2_provider_setup_urls.py +1 -1
  344. authentik_client/models/o_auth_device_code_challenge.py +1 -1
  345. authentik_client/models/o_auth_device_code_challenge_response_request.py +1 -1
  346. authentik_client/models/o_auth_device_code_finish_challenge.py +1 -1
  347. authentik_client/models/o_auth_device_code_finish_challenge_response_request.py +1 -1
  348. authentik_client/models/o_auth_source.py +12 -8
  349. authentik_client/models/o_auth_source_property_mapping.py +1 -1
  350. authentik_client/models/o_auth_source_property_mapping_request.py +1 -1
  351. authentik_client/models/o_auth_source_request.py +7 -3
  352. authentik_client/models/open_id_connect_configuration.py +1 -1
  353. authentik_client/models/operating_system.py +95 -0
  354. authentik_client/models/operating_system_request.py +96 -0
  355. authentik_client/models/outgoing_sync_delete_action.py +1 -1
  356. authentik_client/models/outpost.py +1 -1
  357. authentik_client/models/outpost_default_config.py +1 -1
  358. authentik_client/models/outpost_health.py +1 -1
  359. authentik_client/models/outpost_request.py +1 -1
  360. authentik_client/models/outpost_type_enum.py +1 -1
  361. authentik_client/models/{paginated_user_assigned_object_permission_list.py → paginated_agent_connector_list.py} +8 -8
  362. authentik_client/models/paginated_application_entitlement_list.py +1 -1
  363. authentik_client/models/paginated_application_list.py +1 -1
  364. authentik_client/models/paginated_authenticated_session_list.py +1 -1
  365. authentik_client/models/paginated_authenticator_duo_stage_list.py +1 -1
  366. authentik_client/models/paginated_authenticator_email_stage_list.py +1 -1
  367. authentik_client/models/paginated_authenticator_endpoint_gdtc_stage_list.py +1 -1
  368. authentik_client/models/paginated_authenticator_sms_stage_list.py +1 -1
  369. authentik_client/models/paginated_authenticator_static_stage_list.py +1 -1
  370. authentik_client/models/paginated_authenticator_totp_stage_list.py +1 -1
  371. authentik_client/models/paginated_authenticator_validate_stage_list.py +1 -1
  372. authentik_client/models/paginated_authenticator_web_authn_stage_list.py +1 -1
  373. authentik_client/models/paginated_blueprint_instance_list.py +1 -1
  374. authentik_client/models/paginated_brand_list.py +1 -1
  375. authentik_client/models/paginated_captcha_stage_list.py +1 -1
  376. authentik_client/models/paginated_certificate_key_pair_list.py +1 -1
  377. authentik_client/models/paginated_connection_token_list.py +1 -1
  378. authentik_client/models/{paginated_extra_user_object_permission_list.py → paginated_connector_list.py} +11 -9
  379. authentik_client/models/paginated_consent_stage_list.py +1 -1
  380. authentik_client/models/paginated_data_export_list.py +104 -0
  381. authentik_client/models/paginated_deny_stage_list.py +1 -1
  382. authentik_client/models/paginated_device_access_group_list.py +104 -0
  383. authentik_client/models/paginated_device_user_binding_list.py +104 -0
  384. authentik_client/models/paginated_docker_service_connection_list.py +1 -1
  385. authentik_client/models/paginated_domain_list.py +1 -1
  386. authentik_client/models/paginated_dummy_policy_list.py +1 -1
  387. authentik_client/models/paginated_dummy_stage_list.py +1 -1
  388. authentik_client/models/paginated_duo_device_list.py +1 -1
  389. authentik_client/models/paginated_email_device_list.py +1 -1
  390. authentik_client/models/paginated_email_stage_list.py +1 -1
  391. authentik_client/models/paginated_endpoint_device_list.py +1 -1
  392. authentik_client/models/paginated_endpoint_list.py +1 -1
  393. authentik_client/models/paginated_endpoint_stage_list.py +104 -0
  394. authentik_client/models/paginated_enrollment_token_list.py +104 -0
  395. authentik_client/models/paginated_event_list.py +1 -1
  396. authentik_client/models/paginated_event_matcher_policy_list.py +1 -1
  397. authentik_client/models/paginated_expiring_base_grant_model_list.py +1 -1
  398. authentik_client/models/paginated_expression_policy_list.py +1 -1
  399. authentik_client/models/paginated_extra_role_object_permission_list.py +1 -1
  400. authentik_client/models/paginated_flow_list.py +1 -1
  401. authentik_client/models/paginated_flow_stage_binding_list.py +1 -1
  402. authentik_client/models/paginated_geo_ip_policy_list.py +1 -1
  403. authentik_client/models/paginated_google_endpoint_device_list.py +104 -0
  404. authentik_client/models/paginated_google_workspace_provider_group_list.py +1 -1
  405. authentik_client/models/paginated_google_workspace_provider_list.py +1 -1
  406. authentik_client/models/paginated_google_workspace_provider_mapping_list.py +1 -1
  407. authentik_client/models/paginated_google_workspace_provider_user_list.py +1 -1
  408. authentik_client/models/paginated_group_kerberos_source_connection_list.py +1 -1
  409. authentik_client/models/paginated_group_ldap_source_connection_list.py +1 -1
  410. authentik_client/models/paginated_group_list.py +1 -1
  411. authentik_client/models/paginated_group_o_auth_source_connection_list.py +1 -1
  412. authentik_client/models/paginated_group_plex_source_connection_list.py +1 -1
  413. authentik_client/models/paginated_group_saml_source_connection_list.py +1 -1
  414. authentik_client/models/paginated_group_source_connection_list.py +1 -1
  415. authentik_client/models/paginated_group_telegram_source_connection_list.py +1 -1
  416. authentik_client/models/paginated_identification_stage_list.py +1 -1
  417. authentik_client/models/paginated_initial_permissions_list.py +1 -1
  418. authentik_client/models/paginated_invitation_list.py +1 -1
  419. authentik_client/models/paginated_invitation_stage_list.py +1 -1
  420. authentik_client/models/paginated_kerberos_source_list.py +1 -1
  421. authentik_client/models/paginated_kerberos_source_property_mapping_list.py +1 -1
  422. authentik_client/models/paginated_kubernetes_service_connection_list.py +1 -1
  423. authentik_client/models/paginated_ldap_outpost_config_list.py +1 -1
  424. authentik_client/models/paginated_ldap_provider_list.py +1 -1
  425. authentik_client/models/paginated_ldap_source_list.py +1 -1
  426. authentik_client/models/paginated_ldap_source_property_mapping_list.py +1 -1
  427. authentik_client/models/paginated_license_list.py +1 -1
  428. authentik_client/models/paginated_microsoft_entra_provider_group_list.py +1 -1
  429. authentik_client/models/paginated_microsoft_entra_provider_list.py +1 -1
  430. authentik_client/models/paginated_microsoft_entra_provider_mapping_list.py +1 -1
  431. authentik_client/models/paginated_microsoft_entra_provider_user_list.py +1 -1
  432. authentik_client/models/paginated_mutual_tls_stage_list.py +1 -1
  433. authentik_client/models/paginated_notification_list.py +1 -1
  434. authentik_client/models/paginated_notification_rule_list.py +1 -1
  435. authentik_client/models/paginated_notification_transport_list.py +1 -1
  436. authentik_client/models/paginated_notification_webhook_mapping_list.py +1 -1
  437. authentik_client/models/paginated_o_auth2_provider_list.py +1 -1
  438. authentik_client/models/paginated_o_auth_source_list.py +1 -1
  439. authentik_client/models/paginated_o_auth_source_property_mapping_list.py +1 -1
  440. authentik_client/models/paginated_outpost_list.py +1 -1
  441. authentik_client/models/paginated_password_expiry_policy_list.py +1 -1
  442. authentik_client/models/paginated_password_policy_list.py +1 -1
  443. authentik_client/models/paginated_password_stage_list.py +1 -1
  444. authentik_client/models/paginated_permission_list.py +1 -1
  445. authentik_client/models/paginated_plex_source_list.py +1 -1
  446. authentik_client/models/paginated_plex_source_property_mapping_list.py +1 -1
  447. authentik_client/models/paginated_policy_binding_list.py +1 -1
  448. authentik_client/models/paginated_policy_list.py +1 -1
  449. authentik_client/models/paginated_prompt_list.py +1 -1
  450. authentik_client/models/paginated_prompt_stage_list.py +1 -1
  451. authentik_client/models/paginated_property_mapping_list.py +1 -1
  452. authentik_client/models/paginated_provider_list.py +1 -1
  453. authentik_client/models/paginated_proxy_outpost_config_list.py +1 -1
  454. authentik_client/models/paginated_proxy_provider_list.py +1 -1
  455. authentik_client/models/paginated_rac_property_mapping_list.py +1 -1
  456. authentik_client/models/paginated_rac_provider_list.py +1 -1
  457. authentik_client/models/paginated_radius_outpost_config_list.py +1 -1
  458. authentik_client/models/paginated_radius_provider_list.py +1 -1
  459. authentik_client/models/paginated_radius_provider_property_mapping_list.py +1 -1
  460. authentik_client/models/paginated_redirect_stage_list.py +1 -1
  461. authentik_client/models/paginated_reputation_list.py +1 -1
  462. authentik_client/models/paginated_reputation_policy_list.py +1 -1
  463. authentik_client/models/paginated_role_assigned_object_permission_list.py +1 -1
  464. authentik_client/models/paginated_role_list.py +1 -1
  465. authentik_client/models/paginated_saml_property_mapping_list.py +1 -1
  466. authentik_client/models/paginated_saml_provider_list.py +1 -1
  467. authentik_client/models/paginated_saml_source_list.py +1 -1
  468. authentik_client/models/paginated_saml_source_property_mapping_list.py +1 -1
  469. authentik_client/models/paginated_schedule_list.py +1 -1
  470. authentik_client/models/paginated_scim_mapping_list.py +1 -1
  471. authentik_client/models/paginated_scim_provider_group_list.py +1 -1
  472. authentik_client/models/paginated_scim_provider_list.py +1 -1
  473. authentik_client/models/paginated_scim_provider_user_list.py +1 -1
  474. authentik_client/models/paginated_scim_source_group_list.py +1 -1
  475. authentik_client/models/paginated_scim_source_list.py +1 -1
  476. authentik_client/models/paginated_scim_source_property_mapping_list.py +1 -1
  477. authentik_client/models/paginated_scim_source_user_list.py +1 -1
  478. authentik_client/models/paginated_scope_mapping_list.py +1 -1
  479. authentik_client/models/paginated_service_connection_list.py +1 -1
  480. authentik_client/models/paginated_sms_device_list.py +1 -1
  481. authentik_client/models/paginated_source_list.py +1 -1
  482. authentik_client/models/paginated_source_stage_list.py +1 -1
  483. authentik_client/models/paginated_ssf_provider_list.py +1 -1
  484. authentik_client/models/paginated_ssf_stream_list.py +1 -1
  485. authentik_client/models/paginated_stage_list.py +1 -1
  486. authentik_client/models/paginated_static_device_list.py +1 -1
  487. authentik_client/models/paginated_task_list.py +1 -1
  488. authentik_client/models/paginated_telegram_source_list.py +1 -1
  489. authentik_client/models/paginated_telegram_source_property_mapping_list.py +1 -1
  490. authentik_client/models/paginated_tenant_list.py +1 -1
  491. authentik_client/models/paginated_token_list.py +1 -1
  492. authentik_client/models/paginated_token_model_list.py +1 -1
  493. authentik_client/models/paginated_totp_device_list.py +1 -1
  494. authentik_client/models/paginated_unique_password_policy_list.py +1 -1
  495. authentik_client/models/paginated_user_consent_list.py +1 -1
  496. authentik_client/models/paginated_user_delete_stage_list.py +1 -1
  497. authentik_client/models/paginated_user_kerberos_source_connection_list.py +1 -1
  498. authentik_client/models/paginated_user_ldap_source_connection_list.py +1 -1
  499. authentik_client/models/paginated_user_list.py +1 -1
  500. authentik_client/models/paginated_user_login_stage_list.py +1 -1
  501. authentik_client/models/paginated_user_logout_stage_list.py +1 -1
  502. authentik_client/models/paginated_user_o_auth_source_connection_list.py +1 -1
  503. authentik_client/models/paginated_user_plex_source_connection_list.py +1 -1
  504. authentik_client/models/paginated_user_saml_source_connection_list.py +1 -1
  505. authentik_client/models/paginated_user_source_connection_list.py +1 -1
  506. authentik_client/models/paginated_user_telegram_source_connection_list.py +1 -1
  507. authentik_client/models/paginated_user_write_stage_list.py +1 -1
  508. authentik_client/models/paginated_web_authn_device_list.py +1 -1
  509. authentik_client/models/paginated_web_authn_device_type_list.py +1 -1
  510. authentik_client/models/pagination.py +1 -1
  511. authentik_client/models/partial_group.py +2 -18
  512. authentik_client/models/partial_user.py +1 -1
  513. authentik_client/models/password_challenge.py +1 -1
  514. authentik_client/models/password_challenge_response_request.py +1 -1
  515. authentik_client/models/password_expiry_policy.py +1 -1
  516. authentik_client/models/password_expiry_policy_request.py +1 -1
  517. authentik_client/models/password_policy.py +1 -1
  518. authentik_client/models/password_policy_request.py +1 -1
  519. authentik_client/models/password_stage.py +4 -2
  520. authentik_client/models/password_stage_request.py +2 -12
  521. authentik_client/models/patched_agent_connector_request.py +126 -0
  522. authentik_client/models/patched_application_entitlement_request.py +1 -1
  523. authentik_client/models/patched_application_request.py +5 -3
  524. authentik_client/models/patched_authenticator_duo_stage_request.py +2 -12
  525. authentik_client/models/patched_authenticator_email_stage_request.py +2 -12
  526. authentik_client/models/patched_authenticator_endpoint_gdtc_stage_request.py +2 -12
  527. authentik_client/models/patched_authenticator_sms_stage_request.py +2 -12
  528. authentik_client/models/patched_authenticator_static_stage_request.py +2 -12
  529. authentik_client/models/patched_authenticator_totp_stage_request.py +2 -12
  530. authentik_client/models/patched_authenticator_validate_stage_request.py +2 -12
  531. authentik_client/models/patched_authenticator_web_authn_stage_request.py +2 -12
  532. authentik_client/models/patched_blueprint_instance_request.py +1 -1
  533. authentik_client/models/patched_brand_request.py +1 -1
  534. authentik_client/models/patched_captcha_stage_request.py +2 -12
  535. authentik_client/models/patched_certificate_key_pair_request.py +1 -1
  536. authentik_client/models/patched_connection_token_request.py +1 -1
  537. authentik_client/models/patched_consent_stage_request.py +2 -12
  538. authentik_client/models/patched_deny_stage_request.py +2 -12
  539. authentik_client/models/{patched_extra_role_object_permission_request.py → patched_device_access_group_request.py} +8 -8
  540. authentik_client/models/patched_device_user_binding_request.py +123 -0
  541. authentik_client/models/patched_docker_service_connection_request.py +1 -1
  542. authentik_client/models/patched_domain_request.py +1 -1
  543. authentik_client/models/patched_dummy_policy_request.py +1 -1
  544. authentik_client/models/patched_dummy_stage_request.py +2 -12
  545. authentik_client/models/patched_duo_device_request.py +1 -1
  546. authentik_client/models/patched_email_device_request.py +1 -1
  547. authentik_client/models/patched_email_stage_request.py +2 -12
  548. authentik_client/models/patched_endpoint_device_request.py +33 -8
  549. authentik_client/models/patched_endpoint_request.py +1 -1
  550. authentik_client/models/patched_endpoint_stage_request.py +95 -0
  551. authentik_client/models/patched_enrollment_token_request.py +109 -0
  552. authentik_client/models/patched_event_matcher_policy_request.py +1 -1
  553. authentik_client/models/patched_event_request.py +1 -1
  554. authentik_client/models/patched_expression_policy_request.py +1 -1
  555. authentik_client/models/patched_flow_request.py +6 -4
  556. authentik_client/models/patched_flow_stage_binding_request.py +1 -1
  557. authentik_client/models/patched_geo_ip_policy_request.py +1 -1
  558. authentik_client/models/patched_google_endpoint_device_request.py +92 -0
  559. authentik_client/models/patched_google_workspace_provider_mapping_request.py +1 -1
  560. authentik_client/models/patched_google_workspace_provider_request.py +6 -2
  561. authentik_client/models/patched_group_kerberos_source_connection_request.py +1 -1
  562. authentik_client/models/patched_group_ldap_source_connection_request.py +1 -1
  563. authentik_client/models/patched_group_o_auth_source_connection_request.py +1 -1
  564. authentik_client/models/patched_group_plex_source_connection_request.py +1 -1
  565. authentik_client/models/patched_group_request.py +5 -12
  566. authentik_client/models/patched_group_saml_source_connection_request.py +1 -1
  567. authentik_client/models/patched_group_source_connection_request.py +1 -1
  568. authentik_client/models/patched_group_telegram_source_connection_request.py +1 -1
  569. authentik_client/models/patched_identification_stage_request.py +10 -13
  570. authentik_client/models/patched_initial_permissions_request.py +2 -5
  571. authentik_client/models/patched_invitation_request.py +2 -2
  572. authentik_client/models/patched_invitation_stage_request.py +2 -12
  573. authentik_client/models/patched_kerberos_source_property_mapping_request.py +1 -1
  574. authentik_client/models/patched_kerberos_source_request.py +11 -4
  575. authentik_client/models/patched_kubernetes_service_connection_request.py +1 -1
  576. authentik_client/models/patched_ldap_provider_request.py +1 -1
  577. authentik_client/models/patched_ldap_source_property_mapping_request.py +1 -1
  578. authentik_client/models/patched_ldap_source_request.py +11 -4
  579. authentik_client/models/patched_license_request.py +1 -1
  580. authentik_client/models/patched_microsoft_entra_provider_mapping_request.py +1 -1
  581. authentik_client/models/patched_microsoft_entra_provider_request.py +6 -2
  582. authentik_client/models/patched_mutual_tls_stage_request.py +4 -14
  583. authentik_client/models/patched_notification_request.py +18 -3
  584. authentik_client/models/patched_notification_rule_request.py +1 -1
  585. authentik_client/models/patched_notification_transport_request.py +1 -1
  586. authentik_client/models/patched_notification_webhook_mapping_request.py +1 -1
  587. authentik_client/models/patched_o_auth2_provider_request.py +1 -1
  588. authentik_client/models/patched_o_auth_source_property_mapping_request.py +1 -1
  589. authentik_client/models/patched_o_auth_source_request.py +7 -3
  590. authentik_client/models/patched_outpost_request.py +1 -1
  591. authentik_client/models/patched_password_expiry_policy_request.py +1 -1
  592. authentik_client/models/patched_password_policy_request.py +1 -1
  593. authentik_client/models/patched_password_stage_request.py +2 -12
  594. authentik_client/models/patched_permission_assign_request.py +1 -1
  595. authentik_client/models/patched_plex_source_property_mapping_request.py +1 -1
  596. authentik_client/models/patched_plex_source_request.py +8 -4
  597. authentik_client/models/patched_policy_binding_request.py +1 -1
  598. authentik_client/models/patched_prompt_request.py +1 -1
  599. authentik_client/models/patched_prompt_stage_request.py +2 -12
  600. authentik_client/models/patched_proxy_provider_request.py +1 -1
  601. authentik_client/models/patched_rac_property_mapping_request.py +1 -1
  602. authentik_client/models/patched_rac_provider_request.py +1 -1
  603. authentik_client/models/patched_radius_provider_property_mapping_request.py +1 -1
  604. authentik_client/models/patched_radius_provider_request.py +1 -1
  605. authentik_client/models/patched_redirect_stage_request.py +2 -12
  606. authentik_client/models/patched_reputation_policy_request.py +1 -1
  607. authentik_client/models/patched_role_request.py +1 -1
  608. authentik_client/models/patched_saml_property_mapping_request.py +1 -1
  609. authentik_client/models/patched_saml_provider_request.py +1 -1
  610. authentik_client/models/patched_saml_source_property_mapping_request.py +1 -1
  611. authentik_client/models/patched_saml_source_request.py +7 -3
  612. authentik_client/models/patched_schedule_request.py +1 -1
  613. authentik_client/models/patched_scim_mapping_request.py +1 -1
  614. authentik_client/models/patched_scim_provider_request.py +8 -2
  615. authentik_client/models/patched_scim_source_group_request.py +1 -1
  616. authentik_client/models/patched_scim_source_property_mapping_request.py +1 -1
  617. authentik_client/models/patched_scim_source_request.py +2 -2
  618. authentik_client/models/patched_scim_source_user_request.py +1 -1
  619. authentik_client/models/patched_scope_mapping_request.py +1 -1
  620. authentik_client/models/patched_settings_request.py +6 -2
  621. authentik_client/models/patched_settings_request_flags.py +1 -1
  622. authentik_client/models/patched_sms_device_request.py +1 -1
  623. authentik_client/models/patched_source_stage_request.py +2 -12
  624. authentik_client/models/patched_ssf_provider_request.py +1 -1
  625. authentik_client/models/patched_static_device_request.py +1 -1
  626. authentik_client/models/patched_telegram_source_property_mapping_request.py +1 -1
  627. authentik_client/models/patched_telegram_source_request.py +8 -4
  628. authentik_client/models/patched_tenant_request.py +1 -1
  629. authentik_client/models/patched_token_request.py +1 -1
  630. authentik_client/models/patched_totp_device_request.py +1 -1
  631. authentik_client/models/patched_unique_password_policy_request.py +1 -1
  632. authentik_client/models/patched_user_delete_stage_request.py +3 -13
  633. authentik_client/models/patched_user_kerberos_source_connection_request.py +1 -1
  634. authentik_client/models/patched_user_ldap_source_connection_request.py +1 -1
  635. authentik_client/models/patched_user_login_stage_request.py +2 -12
  636. authentik_client/models/patched_user_logout_stage_request.py +3 -13
  637. authentik_client/models/patched_user_o_auth_source_connection_request.py +1 -1
  638. authentik_client/models/patched_user_plex_source_connection_request.py +1 -1
  639. authentik_client/models/patched_user_request.py +4 -2
  640. authentik_client/models/patched_user_saml_source_connection_request.py +1 -1
  641. authentik_client/models/patched_user_source_connection_request.py +1 -1
  642. authentik_client/models/patched_user_telegram_source_connection_request.py +1 -1
  643. authentik_client/models/patched_user_write_stage_request.py +2 -12
  644. authentik_client/models/patched_web_authn_device_request.py +1 -1
  645. authentik_client/models/permission.py +1 -1
  646. authentik_client/models/permission_assign_request.py +1 -1
  647. authentik_client/models/permission_assign_result.py +1 -1
  648. authentik_client/models/pkce_method_enum.py +1 -1
  649. authentik_client/models/plex_authentication_challenge.py +1 -1
  650. authentik_client/models/plex_authentication_challenge_response_request.py +1 -1
  651. authentik_client/models/plex_source.py +9 -5
  652. authentik_client/models/plex_source_property_mapping.py +1 -1
  653. authentik_client/models/plex_source_property_mapping_request.py +1 -1
  654. authentik_client/models/plex_source_request.py +8 -4
  655. authentik_client/models/plex_token_redeem_request.py +1 -1
  656. authentik_client/models/policy.py +1 -1
  657. authentik_client/models/policy_binding.py +1 -1
  658. authentik_client/models/policy_binding_request.py +1 -1
  659. authentik_client/models/policy_engine_mode.py +1 -1
  660. authentik_client/models/policy_test_request.py +1 -1
  661. authentik_client/models/policy_test_result.py +1 -1
  662. authentik_client/models/process.py +92 -0
  663. authentik_client/models/process_request.py +93 -0
  664. authentik_client/models/prompt.py +1 -1
  665. authentik_client/models/prompt_challenge.py +1 -1
  666. authentik_client/models/prompt_challenge_response_request.py +1 -1
  667. authentik_client/models/prompt_choice.py +1 -1
  668. authentik_client/models/prompt_request.py +1 -1
  669. authentik_client/models/prompt_stage.py +4 -2
  670. authentik_client/models/prompt_stage_request.py +2 -12
  671. authentik_client/models/prompt_type_enum.py +1 -1
  672. authentik_client/models/property_mapping.py +1 -1
  673. authentik_client/models/property_mapping_preview.py +1 -1
  674. authentik_client/models/property_mapping_test_request.py +1 -1
  675. authentik_client/models/property_mapping_test_result.py +1 -1
  676. authentik_client/models/protocol_enum.py +1 -1
  677. authentik_client/models/provider.py +1 -1
  678. authentik_client/models/provider_enum.py +1 -1
  679. authentik_client/models/provider_model_enum.py +1 -1
  680. authentik_client/models/provider_type_enum.py +3 -1
  681. authentik_client/models/proxy_mode.py +1 -1
  682. authentik_client/models/proxy_outpost_config.py +1 -1
  683. authentik_client/models/proxy_provider.py +1 -1
  684. authentik_client/models/proxy_provider_request.py +1 -1
  685. authentik_client/models/rac_property_mapping.py +1 -1
  686. authentik_client/models/rac_property_mapping_request.py +1 -1
  687. authentik_client/models/rac_provider.py +1 -1
  688. authentik_client/models/rac_provider_request.py +1 -1
  689. authentik_client/models/radius_check_access.py +1 -1
  690. authentik_client/models/radius_outpost_config.py +1 -1
  691. authentik_client/models/radius_provider.py +1 -1
  692. authentik_client/models/radius_provider_property_mapping.py +1 -1
  693. authentik_client/models/radius_provider_property_mapping_request.py +1 -1
  694. authentik_client/models/radius_provider_request.py +1 -1
  695. authentik_client/models/redirect_challenge.py +1 -1
  696. authentik_client/models/redirect_challenge_response_request.py +1 -1
  697. authentik_client/models/redirect_stage.py +4 -2
  698. authentik_client/models/redirect_stage_mode_enum.py +1 -1
  699. authentik_client/models/redirect_stage_request.py +2 -12
  700. authentik_client/models/redirect_uri.py +1 -1
  701. authentik_client/models/redirect_uri_request.py +1 -1
  702. authentik_client/models/{group_child.py → related_group.py} +5 -5
  703. authentik_client/models/reputation.py +1 -1
  704. authentik_client/models/reputation_policy.py +1 -1
  705. authentik_client/models/reputation_policy_request.py +1 -1
  706. authentik_client/models/requested_by.py +100 -0
  707. authentik_client/models/resident_key_requirement_enum.py +1 -1
  708. authentik_client/models/role.py +1 -1
  709. authentik_client/models/role_assigned_object_permission.py +20 -10
  710. authentik_client/models/{user_object_permission.py → role_model_permission.py} +6 -8
  711. authentik_client/models/role_object_permission.py +1 -1
  712. authentik_client/models/role_request.py +1 -1
  713. authentik_client/models/saml_bindings_enum.py +1 -1
  714. authentik_client/models/saml_metadata.py +1 -1
  715. authentik_client/models/saml_name_id_policy_enum.py +1 -1
  716. authentik_client/models/saml_property_mapping.py +1 -1
  717. authentik_client/models/saml_property_mapping_request.py +1 -1
  718. authentik_client/models/saml_provider.py +1 -1
  719. authentik_client/models/saml_provider_logout_method_enum.py +1 -1
  720. authentik_client/models/saml_provider_request.py +1 -1
  721. authentik_client/models/saml_source.py +9 -5
  722. authentik_client/models/saml_source_property_mapping.py +1 -1
  723. authentik_client/models/saml_source_property_mapping_request.py +1 -1
  724. authentik_client/models/saml_source_request.py +7 -3
  725. authentik_client/models/schedule.py +1 -1
  726. authentik_client/models/schedule_request.py +1 -1
  727. authentik_client/models/scim_authentication_mode_enum.py +1 -1
  728. authentik_client/models/scim_mapping.py +1 -1
  729. authentik_client/models/scim_mapping_request.py +1 -1
  730. authentik_client/models/scim_provider.py +9 -2
  731. authentik_client/models/scim_provider_group.py +1 -1
  732. authentik_client/models/scim_provider_group_request.py +1 -1
  733. authentik_client/models/scim_provider_request.py +8 -2
  734. authentik_client/models/scim_provider_user.py +1 -1
  735. authentik_client/models/scim_provider_user_request.py +1 -1
  736. authentik_client/models/scim_source.py +2 -2
  737. authentik_client/models/scim_source_group.py +1 -1
  738. authentik_client/models/scim_source_group_request.py +1 -1
  739. authentik_client/models/scim_source_property_mapping.py +1 -1
  740. authentik_client/models/scim_source_property_mapping_request.py +1 -1
  741. authentik_client/models/scim_source_request.py +2 -2
  742. authentik_client/models/scim_source_user.py +1 -1
  743. authentik_client/models/scim_source_user_request.py +1 -1
  744. authentik_client/models/scope_mapping.py +1 -1
  745. authentik_client/models/scope_mapping_request.py +1 -1
  746. authentik_client/models/selectable_stage.py +1 -1
  747. authentik_client/models/service_connection.py +1 -1
  748. authentik_client/models/service_connection_state.py +1 -1
  749. authentik_client/models/session_end_challenge.py +1 -1
  750. authentik_client/models/session_user.py +1 -1
  751. authentik_client/models/settings.py +6 -2
  752. authentik_client/models/settings_request.py +6 -2
  753. authentik_client/models/severity_enum.py +1 -1
  754. authentik_client/models/shell_challenge.py +1 -1
  755. authentik_client/models/signature_algorithm_enum.py +1 -1
  756. authentik_client/models/sms_device.py +1 -1
  757. authentik_client/models/sms_device_request.py +1 -1
  758. authentik_client/models/software.py +94 -0
  759. authentik_client/models/software_request.py +95 -0
  760. authentik_client/models/source.py +13 -9
  761. authentik_client/models/source_stage.py +4 -2
  762. authentik_client/models/source_stage_request.py +2 -12
  763. authentik_client/models/source_type.py +1 -1
  764. authentik_client/models/ssf_provider.py +1 -1
  765. authentik_client/models/ssf_provider_request.py +1 -1
  766. authentik_client/models/ssf_stream.py +1 -1
  767. authentik_client/models/stage.py +5 -3
  768. authentik_client/models/{mutual_tls_stage_mode_enum.py → stage_mode_enum.py} +4 -4
  769. authentik_client/models/stage_prompt.py +1 -1
  770. authentik_client/models/state_enum.py +1 -1
  771. authentik_client/models/static_device.py +1 -1
  772. authentik_client/models/static_device_request.py +1 -1
  773. authentik_client/models/static_device_token.py +1 -1
  774. authentik_client/models/sub_mode_enum.py +1 -1
  775. authentik_client/models/sync_object_model_enum.py +1 -1
  776. authentik_client/models/sync_object_request.py +1 -1
  777. authentik_client/models/sync_object_result.py +1 -1
  778. authentik_client/models/sync_outgoing_trigger_mode_enum.py +39 -0
  779. authentik_client/models/sync_status.py +1 -1
  780. authentik_client/models/system_info.py +1 -1
  781. authentik_client/models/system_info_runtime.py +1 -1
  782. authentik_client/models/task.py +1 -1
  783. authentik_client/models/task_aggregated_status_enum.py +1 -1
  784. authentik_client/models/telegram_auth_request.py +101 -0
  785. authentik_client/models/telegram_challenge_response_request.py +5 -5
  786. authentik_client/models/telegram_login_challenge.py +1 -1
  787. authentik_client/models/telegram_source.py +12 -8
  788. authentik_client/models/telegram_source_property_mapping.py +1 -1
  789. authentik_client/models/telegram_source_property_mapping_request.py +1 -1
  790. authentik_client/models/telegram_source_request.py +8 -4
  791. authentik_client/models/tenant.py +1 -1
  792. authentik_client/models/tenant_admin_group_request_request.py +1 -1
  793. authentik_client/models/tenant_recovery_key_request_request.py +1 -1
  794. authentik_client/models/tenant_recovery_key_response.py +1 -1
  795. authentik_client/models/tenant_request.py +1 -1
  796. authentik_client/models/token.py +1 -1
  797. authentik_client/models/token_model.py +1 -1
  798. authentik_client/models/token_request.py +1 -1
  799. authentik_client/models/token_set_key_request.py +2 -2
  800. authentik_client/models/token_view.py +1 -1
  801. authentik_client/models/totp_device.py +1 -1
  802. authentik_client/models/totp_device_request.py +1 -1
  803. authentik_client/models/transaction_application_request.py +1 -1
  804. authentik_client/models/transaction_application_response.py +1 -1
  805. authentik_client/models/transaction_policy_binding_request.py +1 -1
  806. authentik_client/models/type_create.py +5 -3
  807. authentik_client/models/ui_theme_enum.py +1 -1
  808. authentik_client/models/unique_password_policy.py +1 -1
  809. authentik_client/models/unique_password_policy_request.py +1 -1
  810. authentik_client/models/used_by.py +1 -1
  811. authentik_client/models/used_by_action_enum.py +2 -1
  812. authentik_client/models/user.py +21 -2
  813. authentik_client/models/user_account_request.py +1 -1
  814. authentik_client/models/user_account_serializer_for_role_request.py +88 -0
  815. authentik_client/models/user_attribute_enum.py +1 -1
  816. authentik_client/models/user_consent.py +1 -1
  817. authentik_client/models/user_creation_mode_enum.py +1 -1
  818. authentik_client/models/user_delete_stage.py +5 -3
  819. authentik_client/models/user_delete_stage_request.py +4 -14
  820. authentik_client/models/user_fields_enum.py +1 -1
  821. authentik_client/models/user_kerberos_source_connection.py +1 -1
  822. authentik_client/models/user_kerberos_source_connection_request.py +1 -1
  823. authentik_client/models/user_ldap_source_connection.py +1 -1
  824. authentik_client/models/user_ldap_source_connection_request.py +1 -1
  825. authentik_client/models/user_login_challenge.py +1 -1
  826. authentik_client/models/user_login_challenge_response_request.py +1 -1
  827. authentik_client/models/user_login_stage.py +4 -2
  828. authentik_client/models/user_login_stage_request.py +2 -12
  829. authentik_client/models/user_logout_stage.py +5 -3
  830. authentik_client/models/user_logout_stage_request.py +4 -14
  831. authentik_client/models/user_matching_mode_enum.py +1 -1
  832. authentik_client/models/user_o_auth_source_connection.py +1 -1
  833. authentik_client/models/user_o_auth_source_connection_request.py +1 -1
  834. authentik_client/models/user_password_set_request.py +1 -1
  835. authentik_client/models/user_path.py +1 -1
  836. authentik_client/models/user_plex_source_connection.py +1 -1
  837. authentik_client/models/user_plex_source_connection_request.py +1 -1
  838. authentik_client/models/user_request.py +4 -2
  839. authentik_client/models/user_saml_source_connection.py +1 -1
  840. authentik_client/models/user_saml_source_connection_request.py +1 -1
  841. authentik_client/models/user_self.py +14 -2
  842. authentik_client/models/user_self_groups.py +1 -1
  843. authentik_client/models/user_self_roles.py +94 -0
  844. authentik_client/models/user_service_account_request.py +1 -1
  845. authentik_client/models/user_service_account_response.py +1 -1
  846. authentik_client/models/user_setting.py +1 -1
  847. authentik_client/models/user_source_connection.py +1 -1
  848. authentik_client/models/user_source_connection_request.py +1 -1
  849. authentik_client/models/user_telegram_source_connection.py +1 -1
  850. authentik_client/models/user_telegram_source_connection_request.py +1 -1
  851. authentik_client/models/user_type_enum.py +1 -1
  852. authentik_client/models/user_verification_enum.py +1 -1
  853. authentik_client/models/user_write_stage.py +4 -2
  854. authentik_client/models/user_write_stage_request.py +2 -12
  855. authentik_client/models/validation_error.py +1 -1
  856. authentik_client/models/version.py +1 -1
  857. authentik_client/models/version_history.py +1 -1
  858. authentik_client/models/web_authn_device.py +1 -1
  859. authentik_client/models/web_authn_device_request.py +1 -1
  860. authentik_client/models/web_authn_device_type.py +1 -1
  861. authentik_client/models/worker.py +1 -1
  862. authentik_client/rest.py +1 -1
  863. {authentik_client-2025.10.3.dist-info → authentik_client-2025.12.0rc1.dist-info}/METADATA +147 -36
  864. authentik_client-2025.12.0rc1.dist-info/RECORD +869 -0
  865. authentik_client/models/flow_set_request.py +0 -114
  866. authentik_client/models/user_assigned_object_permission.py +0 -132
  867. authentik_client-2025.10.3.dist-info/RECORD +0 -806
  868. {authentik_client-2025.10.3.dist-info → authentik_client-2025.12.0rc1.dist-info}/WHEEL +0 -0
  869. {authentik_client-2025.10.3.dist-info → authentik_client-2025.12.0rc1.dist-info}/licenses/LICENSE +0 -0
  870. {authentik_client-2025.10.3.dist-info → authentik_client-2025.12.0rc1.dist-info}/top_level.txt +0 -0
@@ -5,7 +5,7 @@
5
5
 
6
6
  Making authentication simple.
7
7
 
8
- The version of the OpenAPI document: 2025.10.3
8
+ The version of the OpenAPI document: 2025.12.0-rc1
9
9
  Contact: hello@goauthentik.io
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -17,14 +17,16 @@ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
17
17
  from typing import Any, Dict, List, Optional, Tuple, Union
18
18
  from typing_extensions import Annotated
19
19
 
20
- from pydantic import Field, StrictInt, StrictStr
21
- from typing import List, Optional
20
+ from pydantic import Field, StrictBool, StrictBytes, StrictInt, StrictStr, field_validator
21
+ from typing import List, Optional, Tuple, Union
22
22
  from typing_extensions import Annotated
23
23
  from authentik_client.models.app import App
24
+ from authentik_client.models.file_list import FileList
24
25
  from authentik_client.models.patched_settings_request import PatchedSettingsRequest
25
26
  from authentik_client.models.settings import Settings
26
27
  from authentik_client.models.settings_request import SettingsRequest
27
28
  from authentik_client.models.system_info import SystemInfo
29
+ from authentik_client.models.used_by import UsedBy
28
30
  from authentik_client.models.version import Version
29
31
  from authentik_client.models.version_history import VersionHistory
30
32
 
@@ -298,6 +300,1171 @@ class AdminApi:
298
300
 
299
301
 
300
302
 
303
+ @validate_call
304
+ def admin_file_create(
305
+ self,
306
+ file: Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]],
307
+ name: Optional[StrictStr] = None,
308
+ usage: Optional[Annotated[str, Field(min_length=1, strict=True)]] = None,
309
+ _request_timeout: Union[
310
+ None,
311
+ Annotated[StrictFloat, Field(gt=0)],
312
+ Tuple[
313
+ Annotated[StrictFloat, Field(gt=0)],
314
+ Annotated[StrictFloat, Field(gt=0)]
315
+ ]
316
+ ] = None,
317
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
318
+ _content_type: Optional[StrictStr] = None,
319
+ _headers: Optional[Dict[StrictStr, Any]] = None,
320
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
321
+ ) -> None:
322
+ """admin_file_create
323
+
324
+ Upload file to storage backend.
325
+
326
+ :param file: (required)
327
+ :type file: bytearray
328
+ :param name:
329
+ :type name: str
330
+ :param usage:
331
+ :type usage: str
332
+ :param _request_timeout: timeout setting for this request. If one
333
+ number provided, it will be total request
334
+ timeout. It can also be a pair (tuple) of
335
+ (connection, read) timeouts.
336
+ :type _request_timeout: int, tuple(int, int), optional
337
+ :param _request_auth: set to override the auth_settings for an a single
338
+ request; this effectively ignores the
339
+ authentication in the spec for a single request.
340
+ :type _request_auth: dict, optional
341
+ :param _content_type: force content-type for the request.
342
+ :type _content_type: str, Optional
343
+ :param _headers: set to override the headers for a single
344
+ request; this effectively ignores the headers
345
+ in the spec for a single request.
346
+ :type _headers: dict, optional
347
+ :param _host_index: set to override the host_index for a single
348
+ request; this effectively ignores the host_index
349
+ in the spec for a single request.
350
+ :type _host_index: int, optional
351
+ :return: Returns the result object.
352
+ """ # noqa: E501
353
+
354
+ _param = self._admin_file_create_serialize(
355
+ file=file,
356
+ name=name,
357
+ usage=usage,
358
+ _request_auth=_request_auth,
359
+ _content_type=_content_type,
360
+ _headers=_headers,
361
+ _host_index=_host_index
362
+ )
363
+
364
+ _response_types_map: Dict[str, Optional[str]] = {
365
+ '200': None,
366
+ '400': "ValidationError",
367
+ '403': "GenericError",
368
+ }
369
+ response_data = self.api_client.call_api(
370
+ *_param,
371
+ _request_timeout=_request_timeout
372
+ )
373
+ response_data.read()
374
+ return self.api_client.response_deserialize(
375
+ response_data=response_data,
376
+ response_types_map=_response_types_map,
377
+ ).data
378
+
379
+
380
+ @validate_call
381
+ def admin_file_create_with_http_info(
382
+ self,
383
+ file: Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]],
384
+ name: Optional[StrictStr] = None,
385
+ usage: Optional[Annotated[str, Field(min_length=1, strict=True)]] = None,
386
+ _request_timeout: Union[
387
+ None,
388
+ Annotated[StrictFloat, Field(gt=0)],
389
+ Tuple[
390
+ Annotated[StrictFloat, Field(gt=0)],
391
+ Annotated[StrictFloat, Field(gt=0)]
392
+ ]
393
+ ] = None,
394
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
395
+ _content_type: Optional[StrictStr] = None,
396
+ _headers: Optional[Dict[StrictStr, Any]] = None,
397
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
398
+ ) -> ApiResponse[None]:
399
+ """admin_file_create
400
+
401
+ Upload file to storage backend.
402
+
403
+ :param file: (required)
404
+ :type file: bytearray
405
+ :param name:
406
+ :type name: str
407
+ :param usage:
408
+ :type usage: str
409
+ :param _request_timeout: timeout setting for this request. If one
410
+ number provided, it will be total request
411
+ timeout. It can also be a pair (tuple) of
412
+ (connection, read) timeouts.
413
+ :type _request_timeout: int, tuple(int, int), optional
414
+ :param _request_auth: set to override the auth_settings for an a single
415
+ request; this effectively ignores the
416
+ authentication in the spec for a single request.
417
+ :type _request_auth: dict, optional
418
+ :param _content_type: force content-type for the request.
419
+ :type _content_type: str, Optional
420
+ :param _headers: set to override the headers for a single
421
+ request; this effectively ignores the headers
422
+ in the spec for a single request.
423
+ :type _headers: dict, optional
424
+ :param _host_index: set to override the host_index for a single
425
+ request; this effectively ignores the host_index
426
+ in the spec for a single request.
427
+ :type _host_index: int, optional
428
+ :return: Returns the result object.
429
+ """ # noqa: E501
430
+
431
+ _param = self._admin_file_create_serialize(
432
+ file=file,
433
+ name=name,
434
+ usage=usage,
435
+ _request_auth=_request_auth,
436
+ _content_type=_content_type,
437
+ _headers=_headers,
438
+ _host_index=_host_index
439
+ )
440
+
441
+ _response_types_map: Dict[str, Optional[str]] = {
442
+ '200': None,
443
+ '400': "ValidationError",
444
+ '403': "GenericError",
445
+ }
446
+ response_data = self.api_client.call_api(
447
+ *_param,
448
+ _request_timeout=_request_timeout
449
+ )
450
+ response_data.read()
451
+ return self.api_client.response_deserialize(
452
+ response_data=response_data,
453
+ response_types_map=_response_types_map,
454
+ )
455
+
456
+
457
+ @validate_call
458
+ def admin_file_create_without_preload_content(
459
+ self,
460
+ file: Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]],
461
+ name: Optional[StrictStr] = None,
462
+ usage: Optional[Annotated[str, Field(min_length=1, strict=True)]] = None,
463
+ _request_timeout: Union[
464
+ None,
465
+ Annotated[StrictFloat, Field(gt=0)],
466
+ Tuple[
467
+ Annotated[StrictFloat, Field(gt=0)],
468
+ Annotated[StrictFloat, Field(gt=0)]
469
+ ]
470
+ ] = None,
471
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
472
+ _content_type: Optional[StrictStr] = None,
473
+ _headers: Optional[Dict[StrictStr, Any]] = None,
474
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
475
+ ) -> RESTResponseType:
476
+ """admin_file_create
477
+
478
+ Upload file to storage backend.
479
+
480
+ :param file: (required)
481
+ :type file: bytearray
482
+ :param name:
483
+ :type name: str
484
+ :param usage:
485
+ :type usage: str
486
+ :param _request_timeout: timeout setting for this request. If one
487
+ number provided, it will be total request
488
+ timeout. It can also be a pair (tuple) of
489
+ (connection, read) timeouts.
490
+ :type _request_timeout: int, tuple(int, int), optional
491
+ :param _request_auth: set to override the auth_settings for an a single
492
+ request; this effectively ignores the
493
+ authentication in the spec for a single request.
494
+ :type _request_auth: dict, optional
495
+ :param _content_type: force content-type for the request.
496
+ :type _content_type: str, Optional
497
+ :param _headers: set to override the headers for a single
498
+ request; this effectively ignores the headers
499
+ in the spec for a single request.
500
+ :type _headers: dict, optional
501
+ :param _host_index: set to override the host_index for a single
502
+ request; this effectively ignores the host_index
503
+ in the spec for a single request.
504
+ :type _host_index: int, optional
505
+ :return: Returns the result object.
506
+ """ # noqa: E501
507
+
508
+ _param = self._admin_file_create_serialize(
509
+ file=file,
510
+ name=name,
511
+ usage=usage,
512
+ _request_auth=_request_auth,
513
+ _content_type=_content_type,
514
+ _headers=_headers,
515
+ _host_index=_host_index
516
+ )
517
+
518
+ _response_types_map: Dict[str, Optional[str]] = {
519
+ '200': None,
520
+ '400': "ValidationError",
521
+ '403': "GenericError",
522
+ }
523
+ response_data = self.api_client.call_api(
524
+ *_param,
525
+ _request_timeout=_request_timeout
526
+ )
527
+ return response_data.response
528
+
529
+
530
+ def _admin_file_create_serialize(
531
+ self,
532
+ file,
533
+ name,
534
+ usage,
535
+ _request_auth,
536
+ _content_type,
537
+ _headers,
538
+ _host_index,
539
+ ) -> RequestSerialized:
540
+
541
+ _host = None
542
+
543
+ _collection_formats: Dict[str, str] = {
544
+ }
545
+
546
+ _path_params: Dict[str, str] = {}
547
+ _query_params: List[Tuple[str, str]] = []
548
+ _header_params: Dict[str, Optional[str]] = _headers or {}
549
+ _form_params: List[Tuple[str, str]] = []
550
+ _files: Dict[
551
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
552
+ ] = {}
553
+ _body_params: Optional[bytes] = None
554
+
555
+ # process the path parameters
556
+ # process the query parameters
557
+ # process the header parameters
558
+ # process the form parameters
559
+ if file is not None:
560
+ _files['file'] = file
561
+ if name is not None:
562
+ _form_params.append(('name', name))
563
+ if usage is not None:
564
+ _form_params.append(('usage', usage))
565
+ # process the body parameter
566
+
567
+
568
+ # set the HTTP header `Accept`
569
+ if 'Accept' not in _header_params:
570
+ _header_params['Accept'] = self.api_client.select_header_accept(
571
+ [
572
+ 'application/json'
573
+ ]
574
+ )
575
+
576
+ # set the HTTP header `Content-Type`
577
+ if _content_type:
578
+ _header_params['Content-Type'] = _content_type
579
+ else:
580
+ _default_content_type = (
581
+ self.api_client.select_header_content_type(
582
+ [
583
+ 'multipart/form-data'
584
+ ]
585
+ )
586
+ )
587
+ if _default_content_type is not None:
588
+ _header_params['Content-Type'] = _default_content_type
589
+
590
+ # authentication setting
591
+ _auth_settings: List[str] = [
592
+ 'authentik'
593
+ ]
594
+
595
+ return self.api_client.param_serialize(
596
+ method='POST',
597
+ resource_path='/admin/file/',
598
+ path_params=_path_params,
599
+ query_params=_query_params,
600
+ header_params=_header_params,
601
+ body=_body_params,
602
+ post_params=_form_params,
603
+ files=_files,
604
+ auth_settings=_auth_settings,
605
+ collection_formats=_collection_formats,
606
+ _host=_host,
607
+ _request_auth=_request_auth
608
+ )
609
+
610
+
611
+
612
+
613
+ @validate_call
614
+ def admin_file_destroy(
615
+ self,
616
+ name: Optional[StrictStr] = None,
617
+ usage: Optional[Annotated[str, Field(min_length=1, strict=True)]] = None,
618
+ _request_timeout: Union[
619
+ None,
620
+ Annotated[StrictFloat, Field(gt=0)],
621
+ Tuple[
622
+ Annotated[StrictFloat, Field(gt=0)],
623
+ Annotated[StrictFloat, Field(gt=0)]
624
+ ]
625
+ ] = None,
626
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
627
+ _content_type: Optional[StrictStr] = None,
628
+ _headers: Optional[Dict[StrictStr, Any]] = None,
629
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
630
+ ) -> None:
631
+ """admin_file_destroy
632
+
633
+ Delete file from storage backend.
634
+
635
+ :param name:
636
+ :type name: str
637
+ :param usage:
638
+ :type usage: str
639
+ :param _request_timeout: timeout setting for this request. If one
640
+ number provided, it will be total request
641
+ timeout. It can also be a pair (tuple) of
642
+ (connection, read) timeouts.
643
+ :type _request_timeout: int, tuple(int, int), optional
644
+ :param _request_auth: set to override the auth_settings for an a single
645
+ request; this effectively ignores the
646
+ authentication in the spec for a single request.
647
+ :type _request_auth: dict, optional
648
+ :param _content_type: force content-type for the request.
649
+ :type _content_type: str, Optional
650
+ :param _headers: set to override the headers for a single
651
+ request; this effectively ignores the headers
652
+ in the spec for a single request.
653
+ :type _headers: dict, optional
654
+ :param _host_index: set to override the host_index for a single
655
+ request; this effectively ignores the host_index
656
+ in the spec for a single request.
657
+ :type _host_index: int, optional
658
+ :return: Returns the result object.
659
+ """ # noqa: E501
660
+
661
+ _param = self._admin_file_destroy_serialize(
662
+ name=name,
663
+ usage=usage,
664
+ _request_auth=_request_auth,
665
+ _content_type=_content_type,
666
+ _headers=_headers,
667
+ _host_index=_host_index
668
+ )
669
+
670
+ _response_types_map: Dict[str, Optional[str]] = {
671
+ '200': None,
672
+ '400': "ValidationError",
673
+ '403': "GenericError",
674
+ }
675
+ response_data = self.api_client.call_api(
676
+ *_param,
677
+ _request_timeout=_request_timeout
678
+ )
679
+ response_data.read()
680
+ return self.api_client.response_deserialize(
681
+ response_data=response_data,
682
+ response_types_map=_response_types_map,
683
+ ).data
684
+
685
+
686
+ @validate_call
687
+ def admin_file_destroy_with_http_info(
688
+ self,
689
+ name: Optional[StrictStr] = None,
690
+ usage: Optional[Annotated[str, Field(min_length=1, strict=True)]] = None,
691
+ _request_timeout: Union[
692
+ None,
693
+ Annotated[StrictFloat, Field(gt=0)],
694
+ Tuple[
695
+ Annotated[StrictFloat, Field(gt=0)],
696
+ Annotated[StrictFloat, Field(gt=0)]
697
+ ]
698
+ ] = None,
699
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
700
+ _content_type: Optional[StrictStr] = None,
701
+ _headers: Optional[Dict[StrictStr, Any]] = None,
702
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
703
+ ) -> ApiResponse[None]:
704
+ """admin_file_destroy
705
+
706
+ Delete file from storage backend.
707
+
708
+ :param name:
709
+ :type name: str
710
+ :param usage:
711
+ :type usage: str
712
+ :param _request_timeout: timeout setting for this request. If one
713
+ number provided, it will be total request
714
+ timeout. It can also be a pair (tuple) of
715
+ (connection, read) timeouts.
716
+ :type _request_timeout: int, tuple(int, int), optional
717
+ :param _request_auth: set to override the auth_settings for an a single
718
+ request; this effectively ignores the
719
+ authentication in the spec for a single request.
720
+ :type _request_auth: dict, optional
721
+ :param _content_type: force content-type for the request.
722
+ :type _content_type: str, Optional
723
+ :param _headers: set to override the headers for a single
724
+ request; this effectively ignores the headers
725
+ in the spec for a single request.
726
+ :type _headers: dict, optional
727
+ :param _host_index: set to override the host_index for a single
728
+ request; this effectively ignores the host_index
729
+ in the spec for a single request.
730
+ :type _host_index: int, optional
731
+ :return: Returns the result object.
732
+ """ # noqa: E501
733
+
734
+ _param = self._admin_file_destroy_serialize(
735
+ name=name,
736
+ usage=usage,
737
+ _request_auth=_request_auth,
738
+ _content_type=_content_type,
739
+ _headers=_headers,
740
+ _host_index=_host_index
741
+ )
742
+
743
+ _response_types_map: Dict[str, Optional[str]] = {
744
+ '200': None,
745
+ '400': "ValidationError",
746
+ '403': "GenericError",
747
+ }
748
+ response_data = self.api_client.call_api(
749
+ *_param,
750
+ _request_timeout=_request_timeout
751
+ )
752
+ response_data.read()
753
+ return self.api_client.response_deserialize(
754
+ response_data=response_data,
755
+ response_types_map=_response_types_map,
756
+ )
757
+
758
+
759
+ @validate_call
760
+ def admin_file_destroy_without_preload_content(
761
+ self,
762
+ name: Optional[StrictStr] = None,
763
+ usage: Optional[Annotated[str, Field(min_length=1, strict=True)]] = None,
764
+ _request_timeout: Union[
765
+ None,
766
+ Annotated[StrictFloat, Field(gt=0)],
767
+ Tuple[
768
+ Annotated[StrictFloat, Field(gt=0)],
769
+ Annotated[StrictFloat, Field(gt=0)]
770
+ ]
771
+ ] = None,
772
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
773
+ _content_type: Optional[StrictStr] = None,
774
+ _headers: Optional[Dict[StrictStr, Any]] = None,
775
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
776
+ ) -> RESTResponseType:
777
+ """admin_file_destroy
778
+
779
+ Delete file from storage backend.
780
+
781
+ :param name:
782
+ :type name: str
783
+ :param usage:
784
+ :type usage: str
785
+ :param _request_timeout: timeout setting for this request. If one
786
+ number provided, it will be total request
787
+ timeout. It can also be a pair (tuple) of
788
+ (connection, read) timeouts.
789
+ :type _request_timeout: int, tuple(int, int), optional
790
+ :param _request_auth: set to override the auth_settings for an a single
791
+ request; this effectively ignores the
792
+ authentication in the spec for a single request.
793
+ :type _request_auth: dict, optional
794
+ :param _content_type: force content-type for the request.
795
+ :type _content_type: str, Optional
796
+ :param _headers: set to override the headers for a single
797
+ request; this effectively ignores the headers
798
+ in the spec for a single request.
799
+ :type _headers: dict, optional
800
+ :param _host_index: set to override the host_index for a single
801
+ request; this effectively ignores the host_index
802
+ in the spec for a single request.
803
+ :type _host_index: int, optional
804
+ :return: Returns the result object.
805
+ """ # noqa: E501
806
+
807
+ _param = self._admin_file_destroy_serialize(
808
+ name=name,
809
+ usage=usage,
810
+ _request_auth=_request_auth,
811
+ _content_type=_content_type,
812
+ _headers=_headers,
813
+ _host_index=_host_index
814
+ )
815
+
816
+ _response_types_map: Dict[str, Optional[str]] = {
817
+ '200': None,
818
+ '400': "ValidationError",
819
+ '403': "GenericError",
820
+ }
821
+ response_data = self.api_client.call_api(
822
+ *_param,
823
+ _request_timeout=_request_timeout
824
+ )
825
+ return response_data.response
826
+
827
+
828
+ def _admin_file_destroy_serialize(
829
+ self,
830
+ name,
831
+ usage,
832
+ _request_auth,
833
+ _content_type,
834
+ _headers,
835
+ _host_index,
836
+ ) -> RequestSerialized:
837
+
838
+ _host = None
839
+
840
+ _collection_formats: Dict[str, str] = {
841
+ }
842
+
843
+ _path_params: Dict[str, str] = {}
844
+ _query_params: List[Tuple[str, str]] = []
845
+ _header_params: Dict[str, Optional[str]] = _headers or {}
846
+ _form_params: List[Tuple[str, str]] = []
847
+ _files: Dict[
848
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
849
+ ] = {}
850
+ _body_params: Optional[bytes] = None
851
+
852
+ # process the path parameters
853
+ # process the query parameters
854
+ if name is not None:
855
+
856
+ _query_params.append(('name', name))
857
+
858
+ if usage is not None:
859
+
860
+ _query_params.append(('usage', usage))
861
+
862
+ # process the header parameters
863
+ # process the form parameters
864
+ # process the body parameter
865
+
866
+
867
+ # set the HTTP header `Accept`
868
+ if 'Accept' not in _header_params:
869
+ _header_params['Accept'] = self.api_client.select_header_accept(
870
+ [
871
+ 'application/json'
872
+ ]
873
+ )
874
+
875
+
876
+ # authentication setting
877
+ _auth_settings: List[str] = [
878
+ 'authentik'
879
+ ]
880
+
881
+ return self.api_client.param_serialize(
882
+ method='DELETE',
883
+ resource_path='/admin/file/',
884
+ path_params=_path_params,
885
+ query_params=_query_params,
886
+ header_params=_header_params,
887
+ body=_body_params,
888
+ post_params=_form_params,
889
+ files=_files,
890
+ auth_settings=_auth_settings,
891
+ collection_formats=_collection_formats,
892
+ _host=_host,
893
+ _request_auth=_request_auth
894
+ )
895
+
896
+
897
+
898
+
899
+ @validate_call
900
+ def admin_file_list(
901
+ self,
902
+ manageable_only: Optional[StrictBool] = None,
903
+ search: Annotated[Optional[StrictStr], Field(description="A search term.")] = None,
904
+ usage: Optional[Annotated[str, Field(min_length=1, strict=True)]] = None,
905
+ _request_timeout: Union[
906
+ None,
907
+ Annotated[StrictFloat, Field(gt=0)],
908
+ Tuple[
909
+ Annotated[StrictFloat, Field(gt=0)],
910
+ Annotated[StrictFloat, Field(gt=0)]
911
+ ]
912
+ ] = None,
913
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
914
+ _content_type: Optional[StrictStr] = None,
915
+ _headers: Optional[Dict[StrictStr, Any]] = None,
916
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
917
+ ) -> List[FileList]:
918
+ """admin_file_list
919
+
920
+ List files from storage backend.
921
+
922
+ :param manageable_only:
923
+ :type manageable_only: bool
924
+ :param search: A search term.
925
+ :type search: str
926
+ :param usage:
927
+ :type usage: str
928
+ :param _request_timeout: timeout setting for this request. If one
929
+ number provided, it will be total request
930
+ timeout. It can also be a pair (tuple) of
931
+ (connection, read) timeouts.
932
+ :type _request_timeout: int, tuple(int, int), optional
933
+ :param _request_auth: set to override the auth_settings for an a single
934
+ request; this effectively ignores the
935
+ authentication in the spec for a single request.
936
+ :type _request_auth: dict, optional
937
+ :param _content_type: force content-type for the request.
938
+ :type _content_type: str, Optional
939
+ :param _headers: set to override the headers for a single
940
+ request; this effectively ignores the headers
941
+ in the spec for a single request.
942
+ :type _headers: dict, optional
943
+ :param _host_index: set to override the host_index for a single
944
+ request; this effectively ignores the host_index
945
+ in the spec for a single request.
946
+ :type _host_index: int, optional
947
+ :return: Returns the result object.
948
+ """ # noqa: E501
949
+
950
+ _param = self._admin_file_list_serialize(
951
+ manageable_only=manageable_only,
952
+ search=search,
953
+ usage=usage,
954
+ _request_auth=_request_auth,
955
+ _content_type=_content_type,
956
+ _headers=_headers,
957
+ _host_index=_host_index
958
+ )
959
+
960
+ _response_types_map: Dict[str, Optional[str]] = {
961
+ '200': "List[FileList]",
962
+ '400': "ValidationError",
963
+ '403': "GenericError",
964
+ }
965
+ response_data = self.api_client.call_api(
966
+ *_param,
967
+ _request_timeout=_request_timeout
968
+ )
969
+ response_data.read()
970
+ return self.api_client.response_deserialize(
971
+ response_data=response_data,
972
+ response_types_map=_response_types_map,
973
+ ).data
974
+
975
+
976
+ @validate_call
977
+ def admin_file_list_with_http_info(
978
+ self,
979
+ manageable_only: Optional[StrictBool] = None,
980
+ search: Annotated[Optional[StrictStr], Field(description="A search term.")] = None,
981
+ usage: Optional[Annotated[str, Field(min_length=1, strict=True)]] = None,
982
+ _request_timeout: Union[
983
+ None,
984
+ Annotated[StrictFloat, Field(gt=0)],
985
+ Tuple[
986
+ Annotated[StrictFloat, Field(gt=0)],
987
+ Annotated[StrictFloat, Field(gt=0)]
988
+ ]
989
+ ] = None,
990
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
991
+ _content_type: Optional[StrictStr] = None,
992
+ _headers: Optional[Dict[StrictStr, Any]] = None,
993
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
994
+ ) -> ApiResponse[List[FileList]]:
995
+ """admin_file_list
996
+
997
+ List files from storage backend.
998
+
999
+ :param manageable_only:
1000
+ :type manageable_only: bool
1001
+ :param search: A search term.
1002
+ :type search: str
1003
+ :param usage:
1004
+ :type usage: str
1005
+ :param _request_timeout: timeout setting for this request. If one
1006
+ number provided, it will be total request
1007
+ timeout. It can also be a pair (tuple) of
1008
+ (connection, read) timeouts.
1009
+ :type _request_timeout: int, tuple(int, int), optional
1010
+ :param _request_auth: set to override the auth_settings for an a single
1011
+ request; this effectively ignores the
1012
+ authentication in the spec for a single request.
1013
+ :type _request_auth: dict, optional
1014
+ :param _content_type: force content-type for the request.
1015
+ :type _content_type: str, Optional
1016
+ :param _headers: set to override the headers for a single
1017
+ request; this effectively ignores the headers
1018
+ in the spec for a single request.
1019
+ :type _headers: dict, optional
1020
+ :param _host_index: set to override the host_index for a single
1021
+ request; this effectively ignores the host_index
1022
+ in the spec for a single request.
1023
+ :type _host_index: int, optional
1024
+ :return: Returns the result object.
1025
+ """ # noqa: E501
1026
+
1027
+ _param = self._admin_file_list_serialize(
1028
+ manageable_only=manageable_only,
1029
+ search=search,
1030
+ usage=usage,
1031
+ _request_auth=_request_auth,
1032
+ _content_type=_content_type,
1033
+ _headers=_headers,
1034
+ _host_index=_host_index
1035
+ )
1036
+
1037
+ _response_types_map: Dict[str, Optional[str]] = {
1038
+ '200': "List[FileList]",
1039
+ '400': "ValidationError",
1040
+ '403': "GenericError",
1041
+ }
1042
+ response_data = self.api_client.call_api(
1043
+ *_param,
1044
+ _request_timeout=_request_timeout
1045
+ )
1046
+ response_data.read()
1047
+ return self.api_client.response_deserialize(
1048
+ response_data=response_data,
1049
+ response_types_map=_response_types_map,
1050
+ )
1051
+
1052
+
1053
+ @validate_call
1054
+ def admin_file_list_without_preload_content(
1055
+ self,
1056
+ manageable_only: Optional[StrictBool] = None,
1057
+ search: Annotated[Optional[StrictStr], Field(description="A search term.")] = None,
1058
+ usage: Optional[Annotated[str, Field(min_length=1, strict=True)]] = None,
1059
+ _request_timeout: Union[
1060
+ None,
1061
+ Annotated[StrictFloat, Field(gt=0)],
1062
+ Tuple[
1063
+ Annotated[StrictFloat, Field(gt=0)],
1064
+ Annotated[StrictFloat, Field(gt=0)]
1065
+ ]
1066
+ ] = None,
1067
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1068
+ _content_type: Optional[StrictStr] = None,
1069
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1070
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1071
+ ) -> RESTResponseType:
1072
+ """admin_file_list
1073
+
1074
+ List files from storage backend.
1075
+
1076
+ :param manageable_only:
1077
+ :type manageable_only: bool
1078
+ :param search: A search term.
1079
+ :type search: str
1080
+ :param usage:
1081
+ :type usage: str
1082
+ :param _request_timeout: timeout setting for this request. If one
1083
+ number provided, it will be total request
1084
+ timeout. It can also be a pair (tuple) of
1085
+ (connection, read) timeouts.
1086
+ :type _request_timeout: int, tuple(int, int), optional
1087
+ :param _request_auth: set to override the auth_settings for an a single
1088
+ request; this effectively ignores the
1089
+ authentication in the spec for a single request.
1090
+ :type _request_auth: dict, optional
1091
+ :param _content_type: force content-type for the request.
1092
+ :type _content_type: str, Optional
1093
+ :param _headers: set to override the headers for a single
1094
+ request; this effectively ignores the headers
1095
+ in the spec for a single request.
1096
+ :type _headers: dict, optional
1097
+ :param _host_index: set to override the host_index for a single
1098
+ request; this effectively ignores the host_index
1099
+ in the spec for a single request.
1100
+ :type _host_index: int, optional
1101
+ :return: Returns the result object.
1102
+ """ # noqa: E501
1103
+
1104
+ _param = self._admin_file_list_serialize(
1105
+ manageable_only=manageable_only,
1106
+ search=search,
1107
+ usage=usage,
1108
+ _request_auth=_request_auth,
1109
+ _content_type=_content_type,
1110
+ _headers=_headers,
1111
+ _host_index=_host_index
1112
+ )
1113
+
1114
+ _response_types_map: Dict[str, Optional[str]] = {
1115
+ '200': "List[FileList]",
1116
+ '400': "ValidationError",
1117
+ '403': "GenericError",
1118
+ }
1119
+ response_data = self.api_client.call_api(
1120
+ *_param,
1121
+ _request_timeout=_request_timeout
1122
+ )
1123
+ return response_data.response
1124
+
1125
+
1126
+ def _admin_file_list_serialize(
1127
+ self,
1128
+ manageable_only,
1129
+ search,
1130
+ usage,
1131
+ _request_auth,
1132
+ _content_type,
1133
+ _headers,
1134
+ _host_index,
1135
+ ) -> RequestSerialized:
1136
+
1137
+ _host = None
1138
+
1139
+ _collection_formats: Dict[str, str] = {
1140
+ }
1141
+
1142
+ _path_params: Dict[str, str] = {}
1143
+ _query_params: List[Tuple[str, str]] = []
1144
+ _header_params: Dict[str, Optional[str]] = _headers or {}
1145
+ _form_params: List[Tuple[str, str]] = []
1146
+ _files: Dict[
1147
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1148
+ ] = {}
1149
+ _body_params: Optional[bytes] = None
1150
+
1151
+ # process the path parameters
1152
+ # process the query parameters
1153
+ if manageable_only is not None:
1154
+
1155
+ _query_params.append(('manageable_only', manageable_only))
1156
+
1157
+ if search is not None:
1158
+
1159
+ _query_params.append(('search', search))
1160
+
1161
+ if usage is not None:
1162
+
1163
+ _query_params.append(('usage', usage))
1164
+
1165
+ # process the header parameters
1166
+ # process the form parameters
1167
+ # process the body parameter
1168
+
1169
+
1170
+ # set the HTTP header `Accept`
1171
+ if 'Accept' not in _header_params:
1172
+ _header_params['Accept'] = self.api_client.select_header_accept(
1173
+ [
1174
+ 'application/json'
1175
+ ]
1176
+ )
1177
+
1178
+
1179
+ # authentication setting
1180
+ _auth_settings: List[str] = [
1181
+ 'authentik'
1182
+ ]
1183
+
1184
+ return self.api_client.param_serialize(
1185
+ method='GET',
1186
+ resource_path='/admin/file/',
1187
+ path_params=_path_params,
1188
+ query_params=_query_params,
1189
+ header_params=_header_params,
1190
+ body=_body_params,
1191
+ post_params=_form_params,
1192
+ files=_files,
1193
+ auth_settings=_auth_settings,
1194
+ collection_formats=_collection_formats,
1195
+ _host=_host,
1196
+ _request_auth=_request_auth
1197
+ )
1198
+
1199
+
1200
+
1201
+
1202
+ @validate_call
1203
+ def admin_file_used_by_list(
1204
+ self,
1205
+ name: Optional[StrictStr] = None,
1206
+ _request_timeout: Union[
1207
+ None,
1208
+ Annotated[StrictFloat, Field(gt=0)],
1209
+ Tuple[
1210
+ Annotated[StrictFloat, Field(gt=0)],
1211
+ Annotated[StrictFloat, Field(gt=0)]
1212
+ ]
1213
+ ] = None,
1214
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1215
+ _content_type: Optional[StrictStr] = None,
1216
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1217
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1218
+ ) -> List[UsedBy]:
1219
+ """admin_file_used_by_list
1220
+
1221
+
1222
+ :param name:
1223
+ :type name: str
1224
+ :param _request_timeout: timeout setting for this request. If one
1225
+ number provided, it will be total request
1226
+ timeout. It can also be a pair (tuple) of
1227
+ (connection, read) timeouts.
1228
+ :type _request_timeout: int, tuple(int, int), optional
1229
+ :param _request_auth: set to override the auth_settings for an a single
1230
+ request; this effectively ignores the
1231
+ authentication in the spec for a single request.
1232
+ :type _request_auth: dict, optional
1233
+ :param _content_type: force content-type for the request.
1234
+ :type _content_type: str, Optional
1235
+ :param _headers: set to override the headers for a single
1236
+ request; this effectively ignores the headers
1237
+ in the spec for a single request.
1238
+ :type _headers: dict, optional
1239
+ :param _host_index: set to override the host_index for a single
1240
+ request; this effectively ignores the host_index
1241
+ in the spec for a single request.
1242
+ :type _host_index: int, optional
1243
+ :return: Returns the result object.
1244
+ """ # noqa: E501
1245
+
1246
+ _param = self._admin_file_used_by_list_serialize(
1247
+ name=name,
1248
+ _request_auth=_request_auth,
1249
+ _content_type=_content_type,
1250
+ _headers=_headers,
1251
+ _host_index=_host_index
1252
+ )
1253
+
1254
+ _response_types_map: Dict[str, Optional[str]] = {
1255
+ '200': "List[UsedBy]",
1256
+ '400': "ValidationError",
1257
+ '403': "GenericError",
1258
+ }
1259
+ response_data = self.api_client.call_api(
1260
+ *_param,
1261
+ _request_timeout=_request_timeout
1262
+ )
1263
+ response_data.read()
1264
+ return self.api_client.response_deserialize(
1265
+ response_data=response_data,
1266
+ response_types_map=_response_types_map,
1267
+ ).data
1268
+
1269
+
1270
+ @validate_call
1271
+ def admin_file_used_by_list_with_http_info(
1272
+ self,
1273
+ name: Optional[StrictStr] = None,
1274
+ _request_timeout: Union[
1275
+ None,
1276
+ Annotated[StrictFloat, Field(gt=0)],
1277
+ Tuple[
1278
+ Annotated[StrictFloat, Field(gt=0)],
1279
+ Annotated[StrictFloat, Field(gt=0)]
1280
+ ]
1281
+ ] = None,
1282
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1283
+ _content_type: Optional[StrictStr] = None,
1284
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1285
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1286
+ ) -> ApiResponse[List[UsedBy]]:
1287
+ """admin_file_used_by_list
1288
+
1289
+
1290
+ :param name:
1291
+ :type name: str
1292
+ :param _request_timeout: timeout setting for this request. If one
1293
+ number provided, it will be total request
1294
+ timeout. It can also be a pair (tuple) of
1295
+ (connection, read) timeouts.
1296
+ :type _request_timeout: int, tuple(int, int), optional
1297
+ :param _request_auth: set to override the auth_settings for an a single
1298
+ request; this effectively ignores the
1299
+ authentication in the spec for a single request.
1300
+ :type _request_auth: dict, optional
1301
+ :param _content_type: force content-type for the request.
1302
+ :type _content_type: str, Optional
1303
+ :param _headers: set to override the headers for a single
1304
+ request; this effectively ignores the headers
1305
+ in the spec for a single request.
1306
+ :type _headers: dict, optional
1307
+ :param _host_index: set to override the host_index for a single
1308
+ request; this effectively ignores the host_index
1309
+ in the spec for a single request.
1310
+ :type _host_index: int, optional
1311
+ :return: Returns the result object.
1312
+ """ # noqa: E501
1313
+
1314
+ _param = self._admin_file_used_by_list_serialize(
1315
+ name=name,
1316
+ _request_auth=_request_auth,
1317
+ _content_type=_content_type,
1318
+ _headers=_headers,
1319
+ _host_index=_host_index
1320
+ )
1321
+
1322
+ _response_types_map: Dict[str, Optional[str]] = {
1323
+ '200': "List[UsedBy]",
1324
+ '400': "ValidationError",
1325
+ '403': "GenericError",
1326
+ }
1327
+ response_data = self.api_client.call_api(
1328
+ *_param,
1329
+ _request_timeout=_request_timeout
1330
+ )
1331
+ response_data.read()
1332
+ return self.api_client.response_deserialize(
1333
+ response_data=response_data,
1334
+ response_types_map=_response_types_map,
1335
+ )
1336
+
1337
+
1338
+ @validate_call
1339
+ def admin_file_used_by_list_without_preload_content(
1340
+ self,
1341
+ name: Optional[StrictStr] = None,
1342
+ _request_timeout: Union[
1343
+ None,
1344
+ Annotated[StrictFloat, Field(gt=0)],
1345
+ Tuple[
1346
+ Annotated[StrictFloat, Field(gt=0)],
1347
+ Annotated[StrictFloat, Field(gt=0)]
1348
+ ]
1349
+ ] = None,
1350
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1351
+ _content_type: Optional[StrictStr] = None,
1352
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1353
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1354
+ ) -> RESTResponseType:
1355
+ """admin_file_used_by_list
1356
+
1357
+
1358
+ :param name:
1359
+ :type name: str
1360
+ :param _request_timeout: timeout setting for this request. If one
1361
+ number provided, it will be total request
1362
+ timeout. It can also be a pair (tuple) of
1363
+ (connection, read) timeouts.
1364
+ :type _request_timeout: int, tuple(int, int), optional
1365
+ :param _request_auth: set to override the auth_settings for an a single
1366
+ request; this effectively ignores the
1367
+ authentication in the spec for a single request.
1368
+ :type _request_auth: dict, optional
1369
+ :param _content_type: force content-type for the request.
1370
+ :type _content_type: str, Optional
1371
+ :param _headers: set to override the headers for a single
1372
+ request; this effectively ignores the headers
1373
+ in the spec for a single request.
1374
+ :type _headers: dict, optional
1375
+ :param _host_index: set to override the host_index for a single
1376
+ request; this effectively ignores the host_index
1377
+ in the spec for a single request.
1378
+ :type _host_index: int, optional
1379
+ :return: Returns the result object.
1380
+ """ # noqa: E501
1381
+
1382
+ _param = self._admin_file_used_by_list_serialize(
1383
+ name=name,
1384
+ _request_auth=_request_auth,
1385
+ _content_type=_content_type,
1386
+ _headers=_headers,
1387
+ _host_index=_host_index
1388
+ )
1389
+
1390
+ _response_types_map: Dict[str, Optional[str]] = {
1391
+ '200': "List[UsedBy]",
1392
+ '400': "ValidationError",
1393
+ '403': "GenericError",
1394
+ }
1395
+ response_data = self.api_client.call_api(
1396
+ *_param,
1397
+ _request_timeout=_request_timeout
1398
+ )
1399
+ return response_data.response
1400
+
1401
+
1402
+ def _admin_file_used_by_list_serialize(
1403
+ self,
1404
+ name,
1405
+ _request_auth,
1406
+ _content_type,
1407
+ _headers,
1408
+ _host_index,
1409
+ ) -> RequestSerialized:
1410
+
1411
+ _host = None
1412
+
1413
+ _collection_formats: Dict[str, str] = {
1414
+ }
1415
+
1416
+ _path_params: Dict[str, str] = {}
1417
+ _query_params: List[Tuple[str, str]] = []
1418
+ _header_params: Dict[str, Optional[str]] = _headers or {}
1419
+ _form_params: List[Tuple[str, str]] = []
1420
+ _files: Dict[
1421
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1422
+ ] = {}
1423
+ _body_params: Optional[bytes] = None
1424
+
1425
+ # process the path parameters
1426
+ # process the query parameters
1427
+ if name is not None:
1428
+
1429
+ _query_params.append(('name', name))
1430
+
1431
+ # process the header parameters
1432
+ # process the form parameters
1433
+ # process the body parameter
1434
+
1435
+
1436
+ # set the HTTP header `Accept`
1437
+ if 'Accept' not in _header_params:
1438
+ _header_params['Accept'] = self.api_client.select_header_accept(
1439
+ [
1440
+ 'application/json'
1441
+ ]
1442
+ )
1443
+
1444
+
1445
+ # authentication setting
1446
+ _auth_settings: List[str] = [
1447
+ 'authentik'
1448
+ ]
1449
+
1450
+ return self.api_client.param_serialize(
1451
+ method='GET',
1452
+ resource_path='/admin/file/used_by/',
1453
+ path_params=_path_params,
1454
+ query_params=_query_params,
1455
+ header_params=_header_params,
1456
+ body=_body_params,
1457
+ post_params=_form_params,
1458
+ files=_files,
1459
+ auth_settings=_auth_settings,
1460
+ collection_formats=_collection_formats,
1461
+ _host=_host,
1462
+ _request_auth=_request_auth
1463
+ )
1464
+
1465
+
1466
+
1467
+
301
1468
  @validate_call
302
1469
  def admin_models_list(
303
1470
  self,