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
@@ -0,0 +1,117 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ authentik
5
+
6
+ Making authentication simple.
7
+
8
+ The version of the OpenAPI document: 2025.12.0-rc1
9
+ Contact: hello@goauthentik.io
10
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
11
+
12
+ Do not edit the class manually.
13
+ """ # noqa: E501
14
+
15
+
16
+ from __future__ import annotations
17
+ import pprint
18
+ import re # noqa: F401
19
+ import json
20
+
21
+ from pydantic import BaseModel, ConfigDict, StrictInt, StrictStr
22
+ from typing import Any, ClassVar, Dict, List, Optional
23
+ from authentik_client.models.contextual_flow_info import ContextualFlowInfo
24
+ from authentik_client.models.error_detail import ErrorDetail
25
+ from typing import Optional, Set
26
+ from typing_extensions import Self
27
+
28
+ class EndpointAgentChallenge(BaseModel):
29
+ """
30
+ Signed challenge for authentik agent to respond to
31
+ """ # noqa: E501
32
+ flow_info: Optional[ContextualFlowInfo] = None
33
+ component: Optional[StrictStr] = 'ak-stage-endpoint-agent'
34
+ response_errors: Optional[Dict[str, List[ErrorDetail]]] = None
35
+ challenge: StrictStr
36
+ challenge_idle_timeout: StrictInt
37
+ __properties: ClassVar[List[str]] = ["flow_info", "component", "response_errors", "challenge", "challenge_idle_timeout"]
38
+
39
+ model_config = ConfigDict(
40
+ populate_by_name=True,
41
+ validate_assignment=True,
42
+ protected_namespaces=(),
43
+ )
44
+
45
+
46
+ def to_str(self) -> str:
47
+ """Returns the string representation of the model using alias"""
48
+ return pprint.pformat(self.model_dump(by_alias=True))
49
+
50
+ def to_json(self) -> str:
51
+ """Returns the JSON representation of the model using alias"""
52
+ # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
53
+ return json.dumps(self.to_dict())
54
+
55
+ @classmethod
56
+ def from_json(cls, json_str: str) -> Optional[Self]:
57
+ """Create an instance of EndpointAgentChallenge from a JSON string"""
58
+ return cls.from_dict(json.loads(json_str))
59
+
60
+ def to_dict(self) -> Dict[str, Any]:
61
+ """Return the dictionary representation of the model using alias.
62
+
63
+ This has the following differences from calling pydantic's
64
+ `self.model_dump(by_alias=True)`:
65
+
66
+ * `None` is only added to the output dict for nullable fields that
67
+ were set at model initialization. Other fields with value `None`
68
+ are ignored.
69
+ """
70
+ excluded_fields: Set[str] = set([
71
+ ])
72
+
73
+ _dict = self.model_dump(
74
+ by_alias=True,
75
+ exclude=excluded_fields,
76
+ exclude_none=True,
77
+ )
78
+ # override the default output from pydantic by calling `to_dict()` of flow_info
79
+ if self.flow_info:
80
+ _dict['flow_info'] = self.flow_info.to_dict()
81
+ # override the default output from pydantic by calling `to_dict()` of each value in response_errors (dict of array)
82
+ _field_dict_of_array = {}
83
+ if self.response_errors:
84
+ for _key_response_errors in self.response_errors:
85
+ if self.response_errors[_key_response_errors] is not None:
86
+ _field_dict_of_array[_key_response_errors] = [
87
+ _item.to_dict() for _item in self.response_errors[_key_response_errors]
88
+ ]
89
+ _dict['response_errors'] = _field_dict_of_array
90
+ return _dict
91
+
92
+ @classmethod
93
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
94
+ """Create an instance of EndpointAgentChallenge from a dict"""
95
+ if obj is None:
96
+ return None
97
+
98
+ if not isinstance(obj, dict):
99
+ return cls.model_validate(obj)
100
+
101
+ _obj = cls.model_validate({
102
+ "flow_info": ContextualFlowInfo.from_dict(obj["flow_info"]) if obj.get("flow_info") is not None else None,
103
+ "component": obj.get("component") if obj.get("component") is not None else 'ak-stage-endpoint-agent',
104
+ "response_errors": dict(
105
+ (_k,
106
+ [ErrorDetail.from_dict(_item) for _item in _v]
107
+ if _v is not None
108
+ else None
109
+ )
110
+ for _k, _v in obj.get("response_errors", {}).items()
111
+ ),
112
+ "challenge": obj.get("challenge"),
113
+ "challenge_idle_timeout": obj.get("challenge_idle_timeout")
114
+ })
115
+ return _obj
116
+
117
+
@@ -0,0 +1,96 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ authentik
5
+
6
+ Making authentication simple.
7
+
8
+ The version of the OpenAPI document: 2025.12.0-rc1
9
+ Contact: hello@goauthentik.io
10
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
11
+
12
+ Do not edit the class manually.
13
+ """ # noqa: E501
14
+
15
+
16
+ from __future__ import annotations
17
+ import pprint
18
+ import re # noqa: F401
19
+ import json
20
+
21
+ from pydantic import BaseModel, ConfigDict, Field
22
+ from typing import Any, ClassVar, Dict, List, Optional
23
+ from typing_extensions import Annotated
24
+ from typing import Optional, Set
25
+ from typing_extensions import Self
26
+
27
+ class EndpointAgentChallengeResponseRequest(BaseModel):
28
+ """
29
+ Response to signed challenge
30
+ """ # noqa: E501
31
+ component: Optional[Annotated[str, Field(min_length=1, strict=True)]] = 'ak-stage-endpoint-agent'
32
+ response: Optional[Annotated[str, Field(min_length=1, strict=True)]] = None
33
+ __properties: ClassVar[List[str]] = ["component", "response"]
34
+
35
+ model_config = ConfigDict(
36
+ populate_by_name=True,
37
+ validate_assignment=True,
38
+ protected_namespaces=(),
39
+ )
40
+
41
+
42
+ def to_str(self) -> str:
43
+ """Returns the string representation of the model using alias"""
44
+ return pprint.pformat(self.model_dump(by_alias=True))
45
+
46
+ def to_json(self) -> str:
47
+ """Returns the JSON representation of the model using alias"""
48
+ # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
49
+ return json.dumps(self.to_dict())
50
+
51
+ @classmethod
52
+ def from_json(cls, json_str: str) -> Optional[Self]:
53
+ """Create an instance of EndpointAgentChallengeResponseRequest from a JSON string"""
54
+ return cls.from_dict(json.loads(json_str))
55
+
56
+ def to_dict(self) -> Dict[str, Any]:
57
+ """Return the dictionary representation of the model using alias.
58
+
59
+ This has the following differences from calling pydantic's
60
+ `self.model_dump(by_alias=True)`:
61
+
62
+ * `None` is only added to the output dict for nullable fields that
63
+ were set at model initialization. Other fields with value `None`
64
+ are ignored.
65
+ """
66
+ excluded_fields: Set[str] = set([
67
+ ])
68
+
69
+ _dict = self.model_dump(
70
+ by_alias=True,
71
+ exclude=excluded_fields,
72
+ exclude_none=True,
73
+ )
74
+ # set to None if response (nullable) is None
75
+ # and model_fields_set contains the field
76
+ if self.response is None and "response" in self.model_fields_set:
77
+ _dict['response'] = None
78
+
79
+ return _dict
80
+
81
+ @classmethod
82
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
83
+ """Create an instance of EndpointAgentChallengeResponseRequest from a dict"""
84
+ if obj is None:
85
+ return None
86
+
87
+ if not isinstance(obj, dict):
88
+ return cls.model_validate(obj)
89
+
90
+ _obj = cls.model_validate({
91
+ "component": obj.get("component") if obj.get("component") is not None else 'ak-stage-endpoint-agent',
92
+ "response": obj.get("response")
93
+ })
94
+ return _obj
95
+
96
+
@@ -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
 
@@ -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
 
@@ -18,20 +18,29 @@ import pprint
18
18
  import re # noqa: F401
19
19
  import json
20
20
 
21
- from pydantic import BaseModel, ConfigDict, Field
21
+ from datetime import datetime
22
+ from pydantic import BaseModel, ConfigDict, StrictBool, StrictStr
22
23
  from typing import Any, ClassVar, Dict, List, Optional
23
- from typing_extensions import Annotated
24
24
  from uuid import UUID
25
+ from authentik_client.models.device_access_group import DeviceAccessGroup
26
+ from authentik_client.models.device_fact_snapshot import DeviceFactSnapshot
25
27
  from typing import Optional, Set
26
28
  from typing_extensions import Self
27
29
 
28
30
  class EndpointDevice(BaseModel):
29
31
  """
30
- Serializer for Endpoint authenticator devices
32
+ EndpointDevice
31
33
  """ # noqa: E501
32
- pk: Optional[UUID] = None
33
- name: Annotated[str, Field(strict=True, max_length=64)] = Field(description="The human-readable name of this device.")
34
- __properties: ClassVar[List[str]] = ["pk", "name"]
34
+ device_uuid: Optional[UUID] = None
35
+ pbm_uuid: UUID
36
+ name: StrictStr
37
+ access_group: Optional[UUID] = None
38
+ access_group_obj: Optional[DeviceAccessGroup] = None
39
+ expiring: Optional[StrictBool] = None
40
+ expires: Optional[datetime] = None
41
+ facts: DeviceFactSnapshot
42
+ attributes: Optional[Dict[str, Any]] = None
43
+ __properties: ClassVar[List[str]] = ["device_uuid", "pbm_uuid", "name", "access_group", "access_group_obj", "expiring", "expires", "facts", "attributes"]
35
44
 
36
45
  model_config = ConfigDict(
37
46
  populate_by_name=True,
@@ -63,8 +72,12 @@ class EndpointDevice(BaseModel):
63
72
  * `None` is only added to the output dict for nullable fields that
64
73
  were set at model initialization. Other fields with value `None`
65
74
  are ignored.
75
+ * OpenAPI `readOnly` fields are excluded.
76
+ * OpenAPI `readOnly` fields are excluded.
66
77
  """
67
78
  excluded_fields: Set[str] = set([
79
+ "pbm_uuid",
80
+ "facts",
68
81
  ])
69
82
 
70
83
  _dict = self.model_dump(
@@ -72,6 +85,22 @@ class EndpointDevice(BaseModel):
72
85
  exclude=excluded_fields,
73
86
  exclude_none=True,
74
87
  )
88
+ # override the default output from pydantic by calling `to_dict()` of access_group_obj
89
+ if self.access_group_obj:
90
+ _dict['access_group_obj'] = self.access_group_obj.to_dict()
91
+ # override the default output from pydantic by calling `to_dict()` of facts
92
+ if self.facts:
93
+ _dict['facts'] = self.facts.to_dict()
94
+ # set to None if access_group (nullable) is None
95
+ # and model_fields_set contains the field
96
+ if self.access_group is None and "access_group" in self.model_fields_set:
97
+ _dict['access_group'] = None
98
+
99
+ # set to None if expires (nullable) is None
100
+ # and model_fields_set contains the field
101
+ if self.expires is None and "expires" in self.model_fields_set:
102
+ _dict['expires'] = None
103
+
75
104
  return _dict
76
105
 
77
106
  @classmethod
@@ -84,8 +113,15 @@ class EndpointDevice(BaseModel):
84
113
  return cls.model_validate(obj)
85
114
 
86
115
  _obj = cls.model_validate({
87
- "pk": obj.get("pk"),
88
- "name": obj.get("name")
116
+ "device_uuid": obj.get("device_uuid"),
117
+ "pbm_uuid": obj.get("pbm_uuid"),
118
+ "name": obj.get("name"),
119
+ "access_group": obj.get("access_group"),
120
+ "access_group_obj": DeviceAccessGroup.from_dict(obj["access_group_obj"]) if obj.get("access_group_obj") is not None else None,
121
+ "expiring": obj.get("expiring"),
122
+ "expires": obj.get("expires"),
123
+ "facts": DeviceFactSnapshot.from_dict(obj["facts"]) if obj.get("facts") is not None else None,
124
+ "attributes": obj.get("attributes")
89
125
  })
90
126
  return _obj
91
127
 
@@ -0,0 +1,146 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ authentik
5
+
6
+ Making authentication simple.
7
+
8
+ The version of the OpenAPI document: 2025.12.0-rc1
9
+ Contact: hello@goauthentik.io
10
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
11
+
12
+ Do not edit the class manually.
13
+ """ # noqa: E501
14
+
15
+
16
+ from __future__ import annotations
17
+ import pprint
18
+ import re # noqa: F401
19
+ import json
20
+
21
+ from datetime import datetime
22
+ from pydantic import BaseModel, ConfigDict, StrictBool, StrictStr
23
+ from typing import Any, ClassVar, Dict, List, Optional
24
+ from uuid import UUID
25
+ from authentik_client.models.device_access_group import DeviceAccessGroup
26
+ from authentik_client.models.device_connection import DeviceConnection
27
+ from authentik_client.models.device_fact_snapshot import DeviceFactSnapshot
28
+ from typing import Optional, Set
29
+ from typing_extensions import Self
30
+
31
+ class EndpointDeviceDetails(BaseModel):
32
+ """
33
+ EndpointDeviceDetails
34
+ """ # noqa: E501
35
+ device_uuid: Optional[UUID] = None
36
+ pbm_uuid: UUID
37
+ name: StrictStr
38
+ access_group: Optional[UUID] = None
39
+ access_group_obj: Optional[DeviceAccessGroup] = None
40
+ expiring: Optional[StrictBool] = None
41
+ expires: Optional[datetime] = None
42
+ facts: DeviceFactSnapshot
43
+ attributes: Optional[Dict[str, Any]] = None
44
+ connections_obj: List[DeviceConnection]
45
+ policies: List[UUID]
46
+ connections: List[UUID]
47
+ __properties: ClassVar[List[str]] = ["device_uuid", "pbm_uuid", "name", "access_group", "access_group_obj", "expiring", "expires", "facts", "attributes", "connections_obj", "policies", "connections"]
48
+
49
+ model_config = ConfigDict(
50
+ populate_by_name=True,
51
+ validate_assignment=True,
52
+ protected_namespaces=(),
53
+ )
54
+
55
+
56
+ def to_str(self) -> str:
57
+ """Returns the string representation of the model using alias"""
58
+ return pprint.pformat(self.model_dump(by_alias=True))
59
+
60
+ def to_json(self) -> str:
61
+ """Returns the JSON representation of the model using alias"""
62
+ # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
63
+ return json.dumps(self.to_dict())
64
+
65
+ @classmethod
66
+ def from_json(cls, json_str: str) -> Optional[Self]:
67
+ """Create an instance of EndpointDeviceDetails from a JSON string"""
68
+ return cls.from_dict(json.loads(json_str))
69
+
70
+ def to_dict(self) -> Dict[str, Any]:
71
+ """Return the dictionary representation of the model using alias.
72
+
73
+ This has the following differences from calling pydantic's
74
+ `self.model_dump(by_alias=True)`:
75
+
76
+ * `None` is only added to the output dict for nullable fields that
77
+ were set at model initialization. Other fields with value `None`
78
+ are ignored.
79
+ * OpenAPI `readOnly` fields are excluded.
80
+ * OpenAPI `readOnly` fields are excluded.
81
+ * OpenAPI `readOnly` fields are excluded.
82
+ * OpenAPI `readOnly` fields are excluded.
83
+ """
84
+ excluded_fields: Set[str] = set([
85
+ "pbm_uuid",
86
+ "facts",
87
+ "policies",
88
+ "connections",
89
+ ])
90
+
91
+ _dict = self.model_dump(
92
+ by_alias=True,
93
+ exclude=excluded_fields,
94
+ exclude_none=True,
95
+ )
96
+ # override the default output from pydantic by calling `to_dict()` of access_group_obj
97
+ if self.access_group_obj:
98
+ _dict['access_group_obj'] = self.access_group_obj.to_dict()
99
+ # override the default output from pydantic by calling `to_dict()` of facts
100
+ if self.facts:
101
+ _dict['facts'] = self.facts.to_dict()
102
+ # override the default output from pydantic by calling `to_dict()` of each item in connections_obj (list)
103
+ _items = []
104
+ if self.connections_obj:
105
+ for _item_connections_obj in self.connections_obj:
106
+ if _item_connections_obj:
107
+ _items.append(_item_connections_obj.to_dict())
108
+ _dict['connections_obj'] = _items
109
+ # set to None if access_group (nullable) is None
110
+ # and model_fields_set contains the field
111
+ if self.access_group is None and "access_group" in self.model_fields_set:
112
+ _dict['access_group'] = None
113
+
114
+ # set to None if expires (nullable) is None
115
+ # and model_fields_set contains the field
116
+ if self.expires is None and "expires" in self.model_fields_set:
117
+ _dict['expires'] = None
118
+
119
+ return _dict
120
+
121
+ @classmethod
122
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
123
+ """Create an instance of EndpointDeviceDetails from a dict"""
124
+ if obj is None:
125
+ return None
126
+
127
+ if not isinstance(obj, dict):
128
+ return cls.model_validate(obj)
129
+
130
+ _obj = cls.model_validate({
131
+ "device_uuid": obj.get("device_uuid"),
132
+ "pbm_uuid": obj.get("pbm_uuid"),
133
+ "name": obj.get("name"),
134
+ "access_group": obj.get("access_group"),
135
+ "access_group_obj": DeviceAccessGroup.from_dict(obj["access_group_obj"]) if obj.get("access_group_obj") is not None else None,
136
+ "expiring": obj.get("expiring"),
137
+ "expires": obj.get("expires"),
138
+ "facts": DeviceFactSnapshot.from_dict(obj["facts"]) if obj.get("facts") is not None else None,
139
+ "attributes": obj.get("attributes"),
140
+ "connections_obj": [DeviceConnection.from_dict(_item) for _item in obj["connections_obj"]] if obj.get("connections_obj") is not None else None,
141
+ "policies": obj.get("policies"),
142
+ "connections": obj.get("connections")
143
+ })
144
+ return _obj
145
+
146
+
@@ -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
 
@@ -18,20 +18,27 @@ import pprint
18
18
  import re # noqa: F401
19
19
  import json
20
20
 
21
- from pydantic import BaseModel, ConfigDict, Field
21
+ from datetime import datetime
22
+ from pydantic import BaseModel, ConfigDict, Field, StrictBool
22
23
  from typing import Any, ClassVar, Dict, List, Optional
23
24
  from typing_extensions import Annotated
24
25
  from uuid import UUID
26
+ from authentik_client.models.device_access_group_request import DeviceAccessGroupRequest
25
27
  from typing import Optional, Set
26
28
  from typing_extensions import Self
27
29
 
28
30
  class EndpointDeviceRequest(BaseModel):
29
31
  """
30
- Serializer for Endpoint authenticator devices
32
+ EndpointDeviceRequest
31
33
  """ # noqa: E501
32
- pk: Optional[UUID] = None
33
- name: Annotated[str, Field(min_length=1, strict=True, max_length=64)] = Field(description="The human-readable name of this device.")
34
- __properties: ClassVar[List[str]] = ["pk", "name"]
34
+ device_uuid: Optional[UUID] = None
35
+ name: Annotated[str, Field(min_length=1, strict=True)]
36
+ access_group: Optional[UUID] = None
37
+ access_group_obj: Optional[DeviceAccessGroupRequest] = None
38
+ expiring: Optional[StrictBool] = None
39
+ expires: Optional[datetime] = None
40
+ attributes: Optional[Dict[str, Any]] = None
41
+ __properties: ClassVar[List[str]] = ["device_uuid", "name", "access_group", "access_group_obj", "expiring", "expires", "attributes"]
35
42
 
36
43
  model_config = ConfigDict(
37
44
  populate_by_name=True,
@@ -72,6 +79,19 @@ class EndpointDeviceRequest(BaseModel):
72
79
  exclude=excluded_fields,
73
80
  exclude_none=True,
74
81
  )
82
+ # override the default output from pydantic by calling `to_dict()` of access_group_obj
83
+ if self.access_group_obj:
84
+ _dict['access_group_obj'] = self.access_group_obj.to_dict()
85
+ # set to None if access_group (nullable) is None
86
+ # and model_fields_set contains the field
87
+ if self.access_group is None and "access_group" in self.model_fields_set:
88
+ _dict['access_group'] = None
89
+
90
+ # set to None if expires (nullable) is None
91
+ # and model_fields_set contains the field
92
+ if self.expires is None and "expires" in self.model_fields_set:
93
+ _dict['expires'] = None
94
+
75
95
  return _dict
76
96
 
77
97
  @classmethod
@@ -84,8 +104,13 @@ class EndpointDeviceRequest(BaseModel):
84
104
  return cls.model_validate(obj)
85
105
 
86
106
  _obj = cls.model_validate({
87
- "pk": obj.get("pk"),
88
- "name": obj.get("name")
107
+ "device_uuid": obj.get("device_uuid"),
108
+ "name": obj.get("name"),
109
+ "access_group": obj.get("access_group"),
110
+ "access_group_obj": DeviceAccessGroupRequest.from_dict(obj["access_group_obj"]) if obj.get("access_group_obj") is not None else None,
111
+ "expiring": obj.get("expiring"),
112
+ "expires": obj.get("expires"),
113
+ "attributes": obj.get("attributes")
89
114
  })
90
115
  return _obj
91
116
 
@@ -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