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
 
@@ -51,6 +51,8 @@ from authentik_client.models.dummy_stage_request import DummyStageRequest
51
51
  from authentik_client.models.duo_device_enrollment_status import DuoDeviceEnrollmentStatus
52
52
  from authentik_client.models.email_stage import EmailStage
53
53
  from authentik_client.models.email_stage_request import EmailStageRequest
54
+ from authentik_client.models.endpoint_stage import EndpointStage
55
+ from authentik_client.models.endpoint_stage_request import EndpointStageRequest
54
56
  from authentik_client.models.identification_stage import IdentificationStage
55
57
  from authentik_client.models.identification_stage_request import IdentificationStageRequest
56
58
  from authentik_client.models.invitation import Invitation
@@ -72,6 +74,7 @@ from authentik_client.models.paginated_consent_stage_list import PaginatedConsen
72
74
  from authentik_client.models.paginated_deny_stage_list import PaginatedDenyStageList
73
75
  from authentik_client.models.paginated_dummy_stage_list import PaginatedDummyStageList
74
76
  from authentik_client.models.paginated_email_stage_list import PaginatedEmailStageList
77
+ from authentik_client.models.paginated_endpoint_stage_list import PaginatedEndpointStageList
75
78
  from authentik_client.models.paginated_identification_stage_list import PaginatedIdentificationStageList
76
79
  from authentik_client.models.paginated_invitation_list import PaginatedInvitationList
77
80
  from authentik_client.models.paginated_invitation_stage_list import PaginatedInvitationStageList
@@ -102,6 +105,7 @@ from authentik_client.models.patched_consent_stage_request import PatchedConsent
102
105
  from authentik_client.models.patched_deny_stage_request import PatchedDenyStageRequest
103
106
  from authentik_client.models.patched_dummy_stage_request import PatchedDummyStageRequest
104
107
  from authentik_client.models.patched_email_stage_request import PatchedEmailStageRequest
108
+ from authentik_client.models.patched_endpoint_stage_request import PatchedEndpointStageRequest
105
109
  from authentik_client.models.patched_identification_stage_request import PatchedIdentificationStageRequest
106
110
  from authentik_client.models.patched_invitation_request import PatchedInvitationRequest
107
111
  from authentik_client.models.patched_invitation_stage_request import PatchedInvitationStageRequest
@@ -30796,6 +30800,2014 @@ class StagesApi:
30796
30800
 
30797
30801
 
30798
30802
 
30803
+ @validate_call
30804
+ def stages_endpoints_create(
30805
+ self,
30806
+ endpoint_stage_request: EndpointStageRequest,
30807
+ _request_timeout: Union[
30808
+ None,
30809
+ Annotated[StrictFloat, Field(gt=0)],
30810
+ Tuple[
30811
+ Annotated[StrictFloat, Field(gt=0)],
30812
+ Annotated[StrictFloat, Field(gt=0)]
30813
+ ]
30814
+ ] = None,
30815
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
30816
+ _content_type: Optional[StrictStr] = None,
30817
+ _headers: Optional[Dict[StrictStr, Any]] = None,
30818
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
30819
+ ) -> EndpointStage:
30820
+ """stages_endpoints_create
30821
+
30822
+ EndpointStage Viewset
30823
+
30824
+ :param endpoint_stage_request: (required)
30825
+ :type endpoint_stage_request: EndpointStageRequest
30826
+ :param _request_timeout: timeout setting for this request. If one
30827
+ number provided, it will be total request
30828
+ timeout. It can also be a pair (tuple) of
30829
+ (connection, read) timeouts.
30830
+ :type _request_timeout: int, tuple(int, int), optional
30831
+ :param _request_auth: set to override the auth_settings for an a single
30832
+ request; this effectively ignores the
30833
+ authentication in the spec for a single request.
30834
+ :type _request_auth: dict, optional
30835
+ :param _content_type: force content-type for the request.
30836
+ :type _content_type: str, Optional
30837
+ :param _headers: set to override the headers for a single
30838
+ request; this effectively ignores the headers
30839
+ in the spec for a single request.
30840
+ :type _headers: dict, optional
30841
+ :param _host_index: set to override the host_index for a single
30842
+ request; this effectively ignores the host_index
30843
+ in the spec for a single request.
30844
+ :type _host_index: int, optional
30845
+ :return: Returns the result object.
30846
+ """ # noqa: E501
30847
+
30848
+ _param = self._stages_endpoints_create_serialize(
30849
+ endpoint_stage_request=endpoint_stage_request,
30850
+ _request_auth=_request_auth,
30851
+ _content_type=_content_type,
30852
+ _headers=_headers,
30853
+ _host_index=_host_index
30854
+ )
30855
+
30856
+ _response_types_map: Dict[str, Optional[str]] = {
30857
+ '201': "EndpointStage",
30858
+ '400': "ValidationError",
30859
+ '403': "GenericError",
30860
+ }
30861
+ response_data = self.api_client.call_api(
30862
+ *_param,
30863
+ _request_timeout=_request_timeout
30864
+ )
30865
+ response_data.read()
30866
+ return self.api_client.response_deserialize(
30867
+ response_data=response_data,
30868
+ response_types_map=_response_types_map,
30869
+ ).data
30870
+
30871
+
30872
+ @validate_call
30873
+ def stages_endpoints_create_with_http_info(
30874
+ self,
30875
+ endpoint_stage_request: EndpointStageRequest,
30876
+ _request_timeout: Union[
30877
+ None,
30878
+ Annotated[StrictFloat, Field(gt=0)],
30879
+ Tuple[
30880
+ Annotated[StrictFloat, Field(gt=0)],
30881
+ Annotated[StrictFloat, Field(gt=0)]
30882
+ ]
30883
+ ] = None,
30884
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
30885
+ _content_type: Optional[StrictStr] = None,
30886
+ _headers: Optional[Dict[StrictStr, Any]] = None,
30887
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
30888
+ ) -> ApiResponse[EndpointStage]:
30889
+ """stages_endpoints_create
30890
+
30891
+ EndpointStage Viewset
30892
+
30893
+ :param endpoint_stage_request: (required)
30894
+ :type endpoint_stage_request: EndpointStageRequest
30895
+ :param _request_timeout: timeout setting for this request. If one
30896
+ number provided, it will be total request
30897
+ timeout. It can also be a pair (tuple) of
30898
+ (connection, read) timeouts.
30899
+ :type _request_timeout: int, tuple(int, int), optional
30900
+ :param _request_auth: set to override the auth_settings for an a single
30901
+ request; this effectively ignores the
30902
+ authentication in the spec for a single request.
30903
+ :type _request_auth: dict, optional
30904
+ :param _content_type: force content-type for the request.
30905
+ :type _content_type: str, Optional
30906
+ :param _headers: set to override the headers for a single
30907
+ request; this effectively ignores the headers
30908
+ in the spec for a single request.
30909
+ :type _headers: dict, optional
30910
+ :param _host_index: set to override the host_index for a single
30911
+ request; this effectively ignores the host_index
30912
+ in the spec for a single request.
30913
+ :type _host_index: int, optional
30914
+ :return: Returns the result object.
30915
+ """ # noqa: E501
30916
+
30917
+ _param = self._stages_endpoints_create_serialize(
30918
+ endpoint_stage_request=endpoint_stage_request,
30919
+ _request_auth=_request_auth,
30920
+ _content_type=_content_type,
30921
+ _headers=_headers,
30922
+ _host_index=_host_index
30923
+ )
30924
+
30925
+ _response_types_map: Dict[str, Optional[str]] = {
30926
+ '201': "EndpointStage",
30927
+ '400': "ValidationError",
30928
+ '403': "GenericError",
30929
+ }
30930
+ response_data = self.api_client.call_api(
30931
+ *_param,
30932
+ _request_timeout=_request_timeout
30933
+ )
30934
+ response_data.read()
30935
+ return self.api_client.response_deserialize(
30936
+ response_data=response_data,
30937
+ response_types_map=_response_types_map,
30938
+ )
30939
+
30940
+
30941
+ @validate_call
30942
+ def stages_endpoints_create_without_preload_content(
30943
+ self,
30944
+ endpoint_stage_request: EndpointStageRequest,
30945
+ _request_timeout: Union[
30946
+ None,
30947
+ Annotated[StrictFloat, Field(gt=0)],
30948
+ Tuple[
30949
+ Annotated[StrictFloat, Field(gt=0)],
30950
+ Annotated[StrictFloat, Field(gt=0)]
30951
+ ]
30952
+ ] = None,
30953
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
30954
+ _content_type: Optional[StrictStr] = None,
30955
+ _headers: Optional[Dict[StrictStr, Any]] = None,
30956
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
30957
+ ) -> RESTResponseType:
30958
+ """stages_endpoints_create
30959
+
30960
+ EndpointStage Viewset
30961
+
30962
+ :param endpoint_stage_request: (required)
30963
+ :type endpoint_stage_request: EndpointStageRequest
30964
+ :param _request_timeout: timeout setting for this request. If one
30965
+ number provided, it will be total request
30966
+ timeout. It can also be a pair (tuple) of
30967
+ (connection, read) timeouts.
30968
+ :type _request_timeout: int, tuple(int, int), optional
30969
+ :param _request_auth: set to override the auth_settings for an a single
30970
+ request; this effectively ignores the
30971
+ authentication in the spec for a single request.
30972
+ :type _request_auth: dict, optional
30973
+ :param _content_type: force content-type for the request.
30974
+ :type _content_type: str, Optional
30975
+ :param _headers: set to override the headers for a single
30976
+ request; this effectively ignores the headers
30977
+ in the spec for a single request.
30978
+ :type _headers: dict, optional
30979
+ :param _host_index: set to override the host_index for a single
30980
+ request; this effectively ignores the host_index
30981
+ in the spec for a single request.
30982
+ :type _host_index: int, optional
30983
+ :return: Returns the result object.
30984
+ """ # noqa: E501
30985
+
30986
+ _param = self._stages_endpoints_create_serialize(
30987
+ endpoint_stage_request=endpoint_stage_request,
30988
+ _request_auth=_request_auth,
30989
+ _content_type=_content_type,
30990
+ _headers=_headers,
30991
+ _host_index=_host_index
30992
+ )
30993
+
30994
+ _response_types_map: Dict[str, Optional[str]] = {
30995
+ '201': "EndpointStage",
30996
+ '400': "ValidationError",
30997
+ '403': "GenericError",
30998
+ }
30999
+ response_data = self.api_client.call_api(
31000
+ *_param,
31001
+ _request_timeout=_request_timeout
31002
+ )
31003
+ return response_data.response
31004
+
31005
+
31006
+ def _stages_endpoints_create_serialize(
31007
+ self,
31008
+ endpoint_stage_request,
31009
+ _request_auth,
31010
+ _content_type,
31011
+ _headers,
31012
+ _host_index,
31013
+ ) -> RequestSerialized:
31014
+
31015
+ _host = None
31016
+
31017
+ _collection_formats: Dict[str, str] = {
31018
+ }
31019
+
31020
+ _path_params: Dict[str, str] = {}
31021
+ _query_params: List[Tuple[str, str]] = []
31022
+ _header_params: Dict[str, Optional[str]] = _headers or {}
31023
+ _form_params: List[Tuple[str, str]] = []
31024
+ _files: Dict[
31025
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
31026
+ ] = {}
31027
+ _body_params: Optional[bytes] = None
31028
+
31029
+ # process the path parameters
31030
+ # process the query parameters
31031
+ # process the header parameters
31032
+ # process the form parameters
31033
+ # process the body parameter
31034
+ if endpoint_stage_request is not None:
31035
+ _body_params = endpoint_stage_request
31036
+
31037
+
31038
+ # set the HTTP header `Accept`
31039
+ if 'Accept' not in _header_params:
31040
+ _header_params['Accept'] = self.api_client.select_header_accept(
31041
+ [
31042
+ 'application/json'
31043
+ ]
31044
+ )
31045
+
31046
+ # set the HTTP header `Content-Type`
31047
+ if _content_type:
31048
+ _header_params['Content-Type'] = _content_type
31049
+ else:
31050
+ _default_content_type = (
31051
+ self.api_client.select_header_content_type(
31052
+ [
31053
+ 'application/json'
31054
+ ]
31055
+ )
31056
+ )
31057
+ if _default_content_type is not None:
31058
+ _header_params['Content-Type'] = _default_content_type
31059
+
31060
+ # authentication setting
31061
+ _auth_settings: List[str] = [
31062
+ 'authentik'
31063
+ ]
31064
+
31065
+ return self.api_client.param_serialize(
31066
+ method='POST',
31067
+ resource_path='/stages/endpoints/',
31068
+ path_params=_path_params,
31069
+ query_params=_query_params,
31070
+ header_params=_header_params,
31071
+ body=_body_params,
31072
+ post_params=_form_params,
31073
+ files=_files,
31074
+ auth_settings=_auth_settings,
31075
+ collection_formats=_collection_formats,
31076
+ _host=_host,
31077
+ _request_auth=_request_auth
31078
+ )
31079
+
31080
+
31081
+
31082
+
31083
+ @validate_call
31084
+ def stages_endpoints_destroy(
31085
+ self,
31086
+ stage_uuid: Annotated[UUID, Field(description="A UUID string identifying this Endpoint Stage.")],
31087
+ _request_timeout: Union[
31088
+ None,
31089
+ Annotated[StrictFloat, Field(gt=0)],
31090
+ Tuple[
31091
+ Annotated[StrictFloat, Field(gt=0)],
31092
+ Annotated[StrictFloat, Field(gt=0)]
31093
+ ]
31094
+ ] = None,
31095
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
31096
+ _content_type: Optional[StrictStr] = None,
31097
+ _headers: Optional[Dict[StrictStr, Any]] = None,
31098
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
31099
+ ) -> None:
31100
+ """stages_endpoints_destroy
31101
+
31102
+ EndpointStage Viewset
31103
+
31104
+ :param stage_uuid: A UUID string identifying this Endpoint Stage. (required)
31105
+ :type stage_uuid: str
31106
+ :param _request_timeout: timeout setting for this request. If one
31107
+ number provided, it will be total request
31108
+ timeout. It can also be a pair (tuple) of
31109
+ (connection, read) timeouts.
31110
+ :type _request_timeout: int, tuple(int, int), optional
31111
+ :param _request_auth: set to override the auth_settings for an a single
31112
+ request; this effectively ignores the
31113
+ authentication in the spec for a single request.
31114
+ :type _request_auth: dict, optional
31115
+ :param _content_type: force content-type for the request.
31116
+ :type _content_type: str, Optional
31117
+ :param _headers: set to override the headers for a single
31118
+ request; this effectively ignores the headers
31119
+ in the spec for a single request.
31120
+ :type _headers: dict, optional
31121
+ :param _host_index: set to override the host_index for a single
31122
+ request; this effectively ignores the host_index
31123
+ in the spec for a single request.
31124
+ :type _host_index: int, optional
31125
+ :return: Returns the result object.
31126
+ """ # noqa: E501
31127
+
31128
+ _param = self._stages_endpoints_destroy_serialize(
31129
+ stage_uuid=stage_uuid,
31130
+ _request_auth=_request_auth,
31131
+ _content_type=_content_type,
31132
+ _headers=_headers,
31133
+ _host_index=_host_index
31134
+ )
31135
+
31136
+ _response_types_map: Dict[str, Optional[str]] = {
31137
+ '204': None,
31138
+ '400': "ValidationError",
31139
+ '403': "GenericError",
31140
+ }
31141
+ response_data = self.api_client.call_api(
31142
+ *_param,
31143
+ _request_timeout=_request_timeout
31144
+ )
31145
+ response_data.read()
31146
+ return self.api_client.response_deserialize(
31147
+ response_data=response_data,
31148
+ response_types_map=_response_types_map,
31149
+ ).data
31150
+
31151
+
31152
+ @validate_call
31153
+ def stages_endpoints_destroy_with_http_info(
31154
+ self,
31155
+ stage_uuid: Annotated[UUID, Field(description="A UUID string identifying this Endpoint Stage.")],
31156
+ _request_timeout: Union[
31157
+ None,
31158
+ Annotated[StrictFloat, Field(gt=0)],
31159
+ Tuple[
31160
+ Annotated[StrictFloat, Field(gt=0)],
31161
+ Annotated[StrictFloat, Field(gt=0)]
31162
+ ]
31163
+ ] = None,
31164
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
31165
+ _content_type: Optional[StrictStr] = None,
31166
+ _headers: Optional[Dict[StrictStr, Any]] = None,
31167
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
31168
+ ) -> ApiResponse[None]:
31169
+ """stages_endpoints_destroy
31170
+
31171
+ EndpointStage Viewset
31172
+
31173
+ :param stage_uuid: A UUID string identifying this Endpoint Stage. (required)
31174
+ :type stage_uuid: str
31175
+ :param _request_timeout: timeout setting for this request. If one
31176
+ number provided, it will be total request
31177
+ timeout. It can also be a pair (tuple) of
31178
+ (connection, read) timeouts.
31179
+ :type _request_timeout: int, tuple(int, int), optional
31180
+ :param _request_auth: set to override the auth_settings for an a single
31181
+ request; this effectively ignores the
31182
+ authentication in the spec for a single request.
31183
+ :type _request_auth: dict, optional
31184
+ :param _content_type: force content-type for the request.
31185
+ :type _content_type: str, Optional
31186
+ :param _headers: set to override the headers for a single
31187
+ request; this effectively ignores the headers
31188
+ in the spec for a single request.
31189
+ :type _headers: dict, optional
31190
+ :param _host_index: set to override the host_index for a single
31191
+ request; this effectively ignores the host_index
31192
+ in the spec for a single request.
31193
+ :type _host_index: int, optional
31194
+ :return: Returns the result object.
31195
+ """ # noqa: E501
31196
+
31197
+ _param = self._stages_endpoints_destroy_serialize(
31198
+ stage_uuid=stage_uuid,
31199
+ _request_auth=_request_auth,
31200
+ _content_type=_content_type,
31201
+ _headers=_headers,
31202
+ _host_index=_host_index
31203
+ )
31204
+
31205
+ _response_types_map: Dict[str, Optional[str]] = {
31206
+ '204': None,
31207
+ '400': "ValidationError",
31208
+ '403': "GenericError",
31209
+ }
31210
+ response_data = self.api_client.call_api(
31211
+ *_param,
31212
+ _request_timeout=_request_timeout
31213
+ )
31214
+ response_data.read()
31215
+ return self.api_client.response_deserialize(
31216
+ response_data=response_data,
31217
+ response_types_map=_response_types_map,
31218
+ )
31219
+
31220
+
31221
+ @validate_call
31222
+ def stages_endpoints_destroy_without_preload_content(
31223
+ self,
31224
+ stage_uuid: Annotated[UUID, Field(description="A UUID string identifying this Endpoint Stage.")],
31225
+ _request_timeout: Union[
31226
+ None,
31227
+ Annotated[StrictFloat, Field(gt=0)],
31228
+ Tuple[
31229
+ Annotated[StrictFloat, Field(gt=0)],
31230
+ Annotated[StrictFloat, Field(gt=0)]
31231
+ ]
31232
+ ] = None,
31233
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
31234
+ _content_type: Optional[StrictStr] = None,
31235
+ _headers: Optional[Dict[StrictStr, Any]] = None,
31236
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
31237
+ ) -> RESTResponseType:
31238
+ """stages_endpoints_destroy
31239
+
31240
+ EndpointStage Viewset
31241
+
31242
+ :param stage_uuid: A UUID string identifying this Endpoint Stage. (required)
31243
+ :type stage_uuid: str
31244
+ :param _request_timeout: timeout setting for this request. If one
31245
+ number provided, it will be total request
31246
+ timeout. It can also be a pair (tuple) of
31247
+ (connection, read) timeouts.
31248
+ :type _request_timeout: int, tuple(int, int), optional
31249
+ :param _request_auth: set to override the auth_settings for an a single
31250
+ request; this effectively ignores the
31251
+ authentication in the spec for a single request.
31252
+ :type _request_auth: dict, optional
31253
+ :param _content_type: force content-type for the request.
31254
+ :type _content_type: str, Optional
31255
+ :param _headers: set to override the headers for a single
31256
+ request; this effectively ignores the headers
31257
+ in the spec for a single request.
31258
+ :type _headers: dict, optional
31259
+ :param _host_index: set to override the host_index for a single
31260
+ request; this effectively ignores the host_index
31261
+ in the spec for a single request.
31262
+ :type _host_index: int, optional
31263
+ :return: Returns the result object.
31264
+ """ # noqa: E501
31265
+
31266
+ _param = self._stages_endpoints_destroy_serialize(
31267
+ stage_uuid=stage_uuid,
31268
+ _request_auth=_request_auth,
31269
+ _content_type=_content_type,
31270
+ _headers=_headers,
31271
+ _host_index=_host_index
31272
+ )
31273
+
31274
+ _response_types_map: Dict[str, Optional[str]] = {
31275
+ '204': None,
31276
+ '400': "ValidationError",
31277
+ '403': "GenericError",
31278
+ }
31279
+ response_data = self.api_client.call_api(
31280
+ *_param,
31281
+ _request_timeout=_request_timeout
31282
+ )
31283
+ return response_data.response
31284
+
31285
+
31286
+ def _stages_endpoints_destroy_serialize(
31287
+ self,
31288
+ stage_uuid,
31289
+ _request_auth,
31290
+ _content_type,
31291
+ _headers,
31292
+ _host_index,
31293
+ ) -> RequestSerialized:
31294
+
31295
+ _host = None
31296
+
31297
+ _collection_formats: Dict[str, str] = {
31298
+ }
31299
+
31300
+ _path_params: Dict[str, str] = {}
31301
+ _query_params: List[Tuple[str, str]] = []
31302
+ _header_params: Dict[str, Optional[str]] = _headers or {}
31303
+ _form_params: List[Tuple[str, str]] = []
31304
+ _files: Dict[
31305
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
31306
+ ] = {}
31307
+ _body_params: Optional[bytes] = None
31308
+
31309
+ # process the path parameters
31310
+ if stage_uuid is not None:
31311
+ _path_params['stage_uuid'] = stage_uuid
31312
+ # process the query parameters
31313
+ # process the header parameters
31314
+ # process the form parameters
31315
+ # process the body parameter
31316
+
31317
+
31318
+ # set the HTTP header `Accept`
31319
+ if 'Accept' not in _header_params:
31320
+ _header_params['Accept'] = self.api_client.select_header_accept(
31321
+ [
31322
+ 'application/json'
31323
+ ]
31324
+ )
31325
+
31326
+
31327
+ # authentication setting
31328
+ _auth_settings: List[str] = [
31329
+ 'authentik'
31330
+ ]
31331
+
31332
+ return self.api_client.param_serialize(
31333
+ method='DELETE',
31334
+ resource_path='/stages/endpoints/{stage_uuid}/',
31335
+ path_params=_path_params,
31336
+ query_params=_query_params,
31337
+ header_params=_header_params,
31338
+ body=_body_params,
31339
+ post_params=_form_params,
31340
+ files=_files,
31341
+ auth_settings=_auth_settings,
31342
+ collection_formats=_collection_formats,
31343
+ _host=_host,
31344
+ _request_auth=_request_auth
31345
+ )
31346
+
31347
+
31348
+
31349
+
31350
+ @validate_call
31351
+ def stages_endpoints_list(
31352
+ self,
31353
+ name: Optional[StrictStr] = None,
31354
+ ordering: Annotated[Optional[StrictStr], Field(description="Which field to use when ordering the results.")] = None,
31355
+ page: Annotated[Optional[StrictInt], Field(description="A page number within the paginated result set.")] = None,
31356
+ page_size: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
31357
+ search: Annotated[Optional[StrictStr], Field(description="A search term.")] = None,
31358
+ _request_timeout: Union[
31359
+ None,
31360
+ Annotated[StrictFloat, Field(gt=0)],
31361
+ Tuple[
31362
+ Annotated[StrictFloat, Field(gt=0)],
31363
+ Annotated[StrictFloat, Field(gt=0)]
31364
+ ]
31365
+ ] = None,
31366
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
31367
+ _content_type: Optional[StrictStr] = None,
31368
+ _headers: Optional[Dict[StrictStr, Any]] = None,
31369
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
31370
+ ) -> PaginatedEndpointStageList:
31371
+ """stages_endpoints_list
31372
+
31373
+ EndpointStage Viewset
31374
+
31375
+ :param name:
31376
+ :type name: str
31377
+ :param ordering: Which field to use when ordering the results.
31378
+ :type ordering: str
31379
+ :param page: A page number within the paginated result set.
31380
+ :type page: int
31381
+ :param page_size: Number of results to return per page.
31382
+ :type page_size: int
31383
+ :param search: A search term.
31384
+ :type search: str
31385
+ :param _request_timeout: timeout setting for this request. If one
31386
+ number provided, it will be total request
31387
+ timeout. It can also be a pair (tuple) of
31388
+ (connection, read) timeouts.
31389
+ :type _request_timeout: int, tuple(int, int), optional
31390
+ :param _request_auth: set to override the auth_settings for an a single
31391
+ request; this effectively ignores the
31392
+ authentication in the spec for a single request.
31393
+ :type _request_auth: dict, optional
31394
+ :param _content_type: force content-type for the request.
31395
+ :type _content_type: str, Optional
31396
+ :param _headers: set to override the headers for a single
31397
+ request; this effectively ignores the headers
31398
+ in the spec for a single request.
31399
+ :type _headers: dict, optional
31400
+ :param _host_index: set to override the host_index for a single
31401
+ request; this effectively ignores the host_index
31402
+ in the spec for a single request.
31403
+ :type _host_index: int, optional
31404
+ :return: Returns the result object.
31405
+ """ # noqa: E501
31406
+
31407
+ _param = self._stages_endpoints_list_serialize(
31408
+ name=name,
31409
+ ordering=ordering,
31410
+ page=page,
31411
+ page_size=page_size,
31412
+ search=search,
31413
+ _request_auth=_request_auth,
31414
+ _content_type=_content_type,
31415
+ _headers=_headers,
31416
+ _host_index=_host_index
31417
+ )
31418
+
31419
+ _response_types_map: Dict[str, Optional[str]] = {
31420
+ '200': "PaginatedEndpointStageList",
31421
+ '400': "ValidationError",
31422
+ '403': "GenericError",
31423
+ }
31424
+ response_data = self.api_client.call_api(
31425
+ *_param,
31426
+ _request_timeout=_request_timeout
31427
+ )
31428
+ response_data.read()
31429
+ return self.api_client.response_deserialize(
31430
+ response_data=response_data,
31431
+ response_types_map=_response_types_map,
31432
+ ).data
31433
+
31434
+
31435
+ @validate_call
31436
+ def stages_endpoints_list_with_http_info(
31437
+ self,
31438
+ name: Optional[StrictStr] = None,
31439
+ ordering: Annotated[Optional[StrictStr], Field(description="Which field to use when ordering the results.")] = None,
31440
+ page: Annotated[Optional[StrictInt], Field(description="A page number within the paginated result set.")] = None,
31441
+ page_size: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
31442
+ search: Annotated[Optional[StrictStr], Field(description="A search term.")] = None,
31443
+ _request_timeout: Union[
31444
+ None,
31445
+ Annotated[StrictFloat, Field(gt=0)],
31446
+ Tuple[
31447
+ Annotated[StrictFloat, Field(gt=0)],
31448
+ Annotated[StrictFloat, Field(gt=0)]
31449
+ ]
31450
+ ] = None,
31451
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
31452
+ _content_type: Optional[StrictStr] = None,
31453
+ _headers: Optional[Dict[StrictStr, Any]] = None,
31454
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
31455
+ ) -> ApiResponse[PaginatedEndpointStageList]:
31456
+ """stages_endpoints_list
31457
+
31458
+ EndpointStage Viewset
31459
+
31460
+ :param name:
31461
+ :type name: str
31462
+ :param ordering: Which field to use when ordering the results.
31463
+ :type ordering: str
31464
+ :param page: A page number within the paginated result set.
31465
+ :type page: int
31466
+ :param page_size: Number of results to return per page.
31467
+ :type page_size: int
31468
+ :param search: A search term.
31469
+ :type search: str
31470
+ :param _request_timeout: timeout setting for this request. If one
31471
+ number provided, it will be total request
31472
+ timeout. It can also be a pair (tuple) of
31473
+ (connection, read) timeouts.
31474
+ :type _request_timeout: int, tuple(int, int), optional
31475
+ :param _request_auth: set to override the auth_settings for an a single
31476
+ request; this effectively ignores the
31477
+ authentication in the spec for a single request.
31478
+ :type _request_auth: dict, optional
31479
+ :param _content_type: force content-type for the request.
31480
+ :type _content_type: str, Optional
31481
+ :param _headers: set to override the headers for a single
31482
+ request; this effectively ignores the headers
31483
+ in the spec for a single request.
31484
+ :type _headers: dict, optional
31485
+ :param _host_index: set to override the host_index for a single
31486
+ request; this effectively ignores the host_index
31487
+ in the spec for a single request.
31488
+ :type _host_index: int, optional
31489
+ :return: Returns the result object.
31490
+ """ # noqa: E501
31491
+
31492
+ _param = self._stages_endpoints_list_serialize(
31493
+ name=name,
31494
+ ordering=ordering,
31495
+ page=page,
31496
+ page_size=page_size,
31497
+ search=search,
31498
+ _request_auth=_request_auth,
31499
+ _content_type=_content_type,
31500
+ _headers=_headers,
31501
+ _host_index=_host_index
31502
+ )
31503
+
31504
+ _response_types_map: Dict[str, Optional[str]] = {
31505
+ '200': "PaginatedEndpointStageList",
31506
+ '400': "ValidationError",
31507
+ '403': "GenericError",
31508
+ }
31509
+ response_data = self.api_client.call_api(
31510
+ *_param,
31511
+ _request_timeout=_request_timeout
31512
+ )
31513
+ response_data.read()
31514
+ return self.api_client.response_deserialize(
31515
+ response_data=response_data,
31516
+ response_types_map=_response_types_map,
31517
+ )
31518
+
31519
+
31520
+ @validate_call
31521
+ def stages_endpoints_list_without_preload_content(
31522
+ self,
31523
+ name: Optional[StrictStr] = None,
31524
+ ordering: Annotated[Optional[StrictStr], Field(description="Which field to use when ordering the results.")] = None,
31525
+ page: Annotated[Optional[StrictInt], Field(description="A page number within the paginated result set.")] = None,
31526
+ page_size: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
31527
+ search: Annotated[Optional[StrictStr], Field(description="A search term.")] = None,
31528
+ _request_timeout: Union[
31529
+ None,
31530
+ Annotated[StrictFloat, Field(gt=0)],
31531
+ Tuple[
31532
+ Annotated[StrictFloat, Field(gt=0)],
31533
+ Annotated[StrictFloat, Field(gt=0)]
31534
+ ]
31535
+ ] = None,
31536
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
31537
+ _content_type: Optional[StrictStr] = None,
31538
+ _headers: Optional[Dict[StrictStr, Any]] = None,
31539
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
31540
+ ) -> RESTResponseType:
31541
+ """stages_endpoints_list
31542
+
31543
+ EndpointStage Viewset
31544
+
31545
+ :param name:
31546
+ :type name: str
31547
+ :param ordering: Which field to use when ordering the results.
31548
+ :type ordering: str
31549
+ :param page: A page number within the paginated result set.
31550
+ :type page: int
31551
+ :param page_size: Number of results to return per page.
31552
+ :type page_size: int
31553
+ :param search: A search term.
31554
+ :type search: str
31555
+ :param _request_timeout: timeout setting for this request. If one
31556
+ number provided, it will be total request
31557
+ timeout. It can also be a pair (tuple) of
31558
+ (connection, read) timeouts.
31559
+ :type _request_timeout: int, tuple(int, int), optional
31560
+ :param _request_auth: set to override the auth_settings for an a single
31561
+ request; this effectively ignores the
31562
+ authentication in the spec for a single request.
31563
+ :type _request_auth: dict, optional
31564
+ :param _content_type: force content-type for the request.
31565
+ :type _content_type: str, Optional
31566
+ :param _headers: set to override the headers for a single
31567
+ request; this effectively ignores the headers
31568
+ in the spec for a single request.
31569
+ :type _headers: dict, optional
31570
+ :param _host_index: set to override the host_index for a single
31571
+ request; this effectively ignores the host_index
31572
+ in the spec for a single request.
31573
+ :type _host_index: int, optional
31574
+ :return: Returns the result object.
31575
+ """ # noqa: E501
31576
+
31577
+ _param = self._stages_endpoints_list_serialize(
31578
+ name=name,
31579
+ ordering=ordering,
31580
+ page=page,
31581
+ page_size=page_size,
31582
+ search=search,
31583
+ _request_auth=_request_auth,
31584
+ _content_type=_content_type,
31585
+ _headers=_headers,
31586
+ _host_index=_host_index
31587
+ )
31588
+
31589
+ _response_types_map: Dict[str, Optional[str]] = {
31590
+ '200': "PaginatedEndpointStageList",
31591
+ '400': "ValidationError",
31592
+ '403': "GenericError",
31593
+ }
31594
+ response_data = self.api_client.call_api(
31595
+ *_param,
31596
+ _request_timeout=_request_timeout
31597
+ )
31598
+ return response_data.response
31599
+
31600
+
31601
+ def _stages_endpoints_list_serialize(
31602
+ self,
31603
+ name,
31604
+ ordering,
31605
+ page,
31606
+ page_size,
31607
+ search,
31608
+ _request_auth,
31609
+ _content_type,
31610
+ _headers,
31611
+ _host_index,
31612
+ ) -> RequestSerialized:
31613
+
31614
+ _host = None
31615
+
31616
+ _collection_formats: Dict[str, str] = {
31617
+ }
31618
+
31619
+ _path_params: Dict[str, str] = {}
31620
+ _query_params: List[Tuple[str, str]] = []
31621
+ _header_params: Dict[str, Optional[str]] = _headers or {}
31622
+ _form_params: List[Tuple[str, str]] = []
31623
+ _files: Dict[
31624
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
31625
+ ] = {}
31626
+ _body_params: Optional[bytes] = None
31627
+
31628
+ # process the path parameters
31629
+ # process the query parameters
31630
+ if name is not None:
31631
+
31632
+ _query_params.append(('name', name))
31633
+
31634
+ if ordering is not None:
31635
+
31636
+ _query_params.append(('ordering', ordering))
31637
+
31638
+ if page is not None:
31639
+
31640
+ _query_params.append(('page', page))
31641
+
31642
+ if page_size is not None:
31643
+
31644
+ _query_params.append(('page_size', page_size))
31645
+
31646
+ if search is not None:
31647
+
31648
+ _query_params.append(('search', search))
31649
+
31650
+ # process the header parameters
31651
+ # process the form parameters
31652
+ # process the body parameter
31653
+
31654
+
31655
+ # set the HTTP header `Accept`
31656
+ if 'Accept' not in _header_params:
31657
+ _header_params['Accept'] = self.api_client.select_header_accept(
31658
+ [
31659
+ 'application/json'
31660
+ ]
31661
+ )
31662
+
31663
+
31664
+ # authentication setting
31665
+ _auth_settings: List[str] = [
31666
+ 'authentik'
31667
+ ]
31668
+
31669
+ return self.api_client.param_serialize(
31670
+ method='GET',
31671
+ resource_path='/stages/endpoints/',
31672
+ path_params=_path_params,
31673
+ query_params=_query_params,
31674
+ header_params=_header_params,
31675
+ body=_body_params,
31676
+ post_params=_form_params,
31677
+ files=_files,
31678
+ auth_settings=_auth_settings,
31679
+ collection_formats=_collection_formats,
31680
+ _host=_host,
31681
+ _request_auth=_request_auth
31682
+ )
31683
+
31684
+
31685
+
31686
+
31687
+ @validate_call
31688
+ def stages_endpoints_partial_update(
31689
+ self,
31690
+ stage_uuid: Annotated[UUID, Field(description="A UUID string identifying this Endpoint Stage.")],
31691
+ patched_endpoint_stage_request: Optional[PatchedEndpointStageRequest] = None,
31692
+ _request_timeout: Union[
31693
+ None,
31694
+ Annotated[StrictFloat, Field(gt=0)],
31695
+ Tuple[
31696
+ Annotated[StrictFloat, Field(gt=0)],
31697
+ Annotated[StrictFloat, Field(gt=0)]
31698
+ ]
31699
+ ] = None,
31700
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
31701
+ _content_type: Optional[StrictStr] = None,
31702
+ _headers: Optional[Dict[StrictStr, Any]] = None,
31703
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
31704
+ ) -> EndpointStage:
31705
+ """stages_endpoints_partial_update
31706
+
31707
+ EndpointStage Viewset
31708
+
31709
+ :param stage_uuid: A UUID string identifying this Endpoint Stage. (required)
31710
+ :type stage_uuid: str
31711
+ :param patched_endpoint_stage_request:
31712
+ :type patched_endpoint_stage_request: PatchedEndpointStageRequest
31713
+ :param _request_timeout: timeout setting for this request. If one
31714
+ number provided, it will be total request
31715
+ timeout. It can also be a pair (tuple) of
31716
+ (connection, read) timeouts.
31717
+ :type _request_timeout: int, tuple(int, int), optional
31718
+ :param _request_auth: set to override the auth_settings for an a single
31719
+ request; this effectively ignores the
31720
+ authentication in the spec for a single request.
31721
+ :type _request_auth: dict, optional
31722
+ :param _content_type: force content-type for the request.
31723
+ :type _content_type: str, Optional
31724
+ :param _headers: set to override the headers for a single
31725
+ request; this effectively ignores the headers
31726
+ in the spec for a single request.
31727
+ :type _headers: dict, optional
31728
+ :param _host_index: set to override the host_index for a single
31729
+ request; this effectively ignores the host_index
31730
+ in the spec for a single request.
31731
+ :type _host_index: int, optional
31732
+ :return: Returns the result object.
31733
+ """ # noqa: E501
31734
+
31735
+ _param = self._stages_endpoints_partial_update_serialize(
31736
+ stage_uuid=stage_uuid,
31737
+ patched_endpoint_stage_request=patched_endpoint_stage_request,
31738
+ _request_auth=_request_auth,
31739
+ _content_type=_content_type,
31740
+ _headers=_headers,
31741
+ _host_index=_host_index
31742
+ )
31743
+
31744
+ _response_types_map: Dict[str, Optional[str]] = {
31745
+ '200': "EndpointStage",
31746
+ '400': "ValidationError",
31747
+ '403': "GenericError",
31748
+ }
31749
+ response_data = self.api_client.call_api(
31750
+ *_param,
31751
+ _request_timeout=_request_timeout
31752
+ )
31753
+ response_data.read()
31754
+ return self.api_client.response_deserialize(
31755
+ response_data=response_data,
31756
+ response_types_map=_response_types_map,
31757
+ ).data
31758
+
31759
+
31760
+ @validate_call
31761
+ def stages_endpoints_partial_update_with_http_info(
31762
+ self,
31763
+ stage_uuid: Annotated[UUID, Field(description="A UUID string identifying this Endpoint Stage.")],
31764
+ patched_endpoint_stage_request: Optional[PatchedEndpointStageRequest] = None,
31765
+ _request_timeout: Union[
31766
+ None,
31767
+ Annotated[StrictFloat, Field(gt=0)],
31768
+ Tuple[
31769
+ Annotated[StrictFloat, Field(gt=0)],
31770
+ Annotated[StrictFloat, Field(gt=0)]
31771
+ ]
31772
+ ] = None,
31773
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
31774
+ _content_type: Optional[StrictStr] = None,
31775
+ _headers: Optional[Dict[StrictStr, Any]] = None,
31776
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
31777
+ ) -> ApiResponse[EndpointStage]:
31778
+ """stages_endpoints_partial_update
31779
+
31780
+ EndpointStage Viewset
31781
+
31782
+ :param stage_uuid: A UUID string identifying this Endpoint Stage. (required)
31783
+ :type stage_uuid: str
31784
+ :param patched_endpoint_stage_request:
31785
+ :type patched_endpoint_stage_request: PatchedEndpointStageRequest
31786
+ :param _request_timeout: timeout setting for this request. If one
31787
+ number provided, it will be total request
31788
+ timeout. It can also be a pair (tuple) of
31789
+ (connection, read) timeouts.
31790
+ :type _request_timeout: int, tuple(int, int), optional
31791
+ :param _request_auth: set to override the auth_settings for an a single
31792
+ request; this effectively ignores the
31793
+ authentication in the spec for a single request.
31794
+ :type _request_auth: dict, optional
31795
+ :param _content_type: force content-type for the request.
31796
+ :type _content_type: str, Optional
31797
+ :param _headers: set to override the headers for a single
31798
+ request; this effectively ignores the headers
31799
+ in the spec for a single request.
31800
+ :type _headers: dict, optional
31801
+ :param _host_index: set to override the host_index for a single
31802
+ request; this effectively ignores the host_index
31803
+ in the spec for a single request.
31804
+ :type _host_index: int, optional
31805
+ :return: Returns the result object.
31806
+ """ # noqa: E501
31807
+
31808
+ _param = self._stages_endpoints_partial_update_serialize(
31809
+ stage_uuid=stage_uuid,
31810
+ patched_endpoint_stage_request=patched_endpoint_stage_request,
31811
+ _request_auth=_request_auth,
31812
+ _content_type=_content_type,
31813
+ _headers=_headers,
31814
+ _host_index=_host_index
31815
+ )
31816
+
31817
+ _response_types_map: Dict[str, Optional[str]] = {
31818
+ '200': "EndpointStage",
31819
+ '400': "ValidationError",
31820
+ '403': "GenericError",
31821
+ }
31822
+ response_data = self.api_client.call_api(
31823
+ *_param,
31824
+ _request_timeout=_request_timeout
31825
+ )
31826
+ response_data.read()
31827
+ return self.api_client.response_deserialize(
31828
+ response_data=response_data,
31829
+ response_types_map=_response_types_map,
31830
+ )
31831
+
31832
+
31833
+ @validate_call
31834
+ def stages_endpoints_partial_update_without_preload_content(
31835
+ self,
31836
+ stage_uuid: Annotated[UUID, Field(description="A UUID string identifying this Endpoint Stage.")],
31837
+ patched_endpoint_stage_request: Optional[PatchedEndpointStageRequest] = None,
31838
+ _request_timeout: Union[
31839
+ None,
31840
+ Annotated[StrictFloat, Field(gt=0)],
31841
+ Tuple[
31842
+ Annotated[StrictFloat, Field(gt=0)],
31843
+ Annotated[StrictFloat, Field(gt=0)]
31844
+ ]
31845
+ ] = None,
31846
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
31847
+ _content_type: Optional[StrictStr] = None,
31848
+ _headers: Optional[Dict[StrictStr, Any]] = None,
31849
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
31850
+ ) -> RESTResponseType:
31851
+ """stages_endpoints_partial_update
31852
+
31853
+ EndpointStage Viewset
31854
+
31855
+ :param stage_uuid: A UUID string identifying this Endpoint Stage. (required)
31856
+ :type stage_uuid: str
31857
+ :param patched_endpoint_stage_request:
31858
+ :type patched_endpoint_stage_request: PatchedEndpointStageRequest
31859
+ :param _request_timeout: timeout setting for this request. If one
31860
+ number provided, it will be total request
31861
+ timeout. It can also be a pair (tuple) of
31862
+ (connection, read) timeouts.
31863
+ :type _request_timeout: int, tuple(int, int), optional
31864
+ :param _request_auth: set to override the auth_settings for an a single
31865
+ request; this effectively ignores the
31866
+ authentication in the spec for a single request.
31867
+ :type _request_auth: dict, optional
31868
+ :param _content_type: force content-type for the request.
31869
+ :type _content_type: str, Optional
31870
+ :param _headers: set to override the headers for a single
31871
+ request; this effectively ignores the headers
31872
+ in the spec for a single request.
31873
+ :type _headers: dict, optional
31874
+ :param _host_index: set to override the host_index for a single
31875
+ request; this effectively ignores the host_index
31876
+ in the spec for a single request.
31877
+ :type _host_index: int, optional
31878
+ :return: Returns the result object.
31879
+ """ # noqa: E501
31880
+
31881
+ _param = self._stages_endpoints_partial_update_serialize(
31882
+ stage_uuid=stage_uuid,
31883
+ patched_endpoint_stage_request=patched_endpoint_stage_request,
31884
+ _request_auth=_request_auth,
31885
+ _content_type=_content_type,
31886
+ _headers=_headers,
31887
+ _host_index=_host_index
31888
+ )
31889
+
31890
+ _response_types_map: Dict[str, Optional[str]] = {
31891
+ '200': "EndpointStage",
31892
+ '400': "ValidationError",
31893
+ '403': "GenericError",
31894
+ }
31895
+ response_data = self.api_client.call_api(
31896
+ *_param,
31897
+ _request_timeout=_request_timeout
31898
+ )
31899
+ return response_data.response
31900
+
31901
+
31902
+ def _stages_endpoints_partial_update_serialize(
31903
+ self,
31904
+ stage_uuid,
31905
+ patched_endpoint_stage_request,
31906
+ _request_auth,
31907
+ _content_type,
31908
+ _headers,
31909
+ _host_index,
31910
+ ) -> RequestSerialized:
31911
+
31912
+ _host = None
31913
+
31914
+ _collection_formats: Dict[str, str] = {
31915
+ }
31916
+
31917
+ _path_params: Dict[str, str] = {}
31918
+ _query_params: List[Tuple[str, str]] = []
31919
+ _header_params: Dict[str, Optional[str]] = _headers or {}
31920
+ _form_params: List[Tuple[str, str]] = []
31921
+ _files: Dict[
31922
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
31923
+ ] = {}
31924
+ _body_params: Optional[bytes] = None
31925
+
31926
+ # process the path parameters
31927
+ if stage_uuid is not None:
31928
+ _path_params['stage_uuid'] = stage_uuid
31929
+ # process the query parameters
31930
+ # process the header parameters
31931
+ # process the form parameters
31932
+ # process the body parameter
31933
+ if patched_endpoint_stage_request is not None:
31934
+ _body_params = patched_endpoint_stage_request
31935
+
31936
+
31937
+ # set the HTTP header `Accept`
31938
+ if 'Accept' not in _header_params:
31939
+ _header_params['Accept'] = self.api_client.select_header_accept(
31940
+ [
31941
+ 'application/json'
31942
+ ]
31943
+ )
31944
+
31945
+ # set the HTTP header `Content-Type`
31946
+ if _content_type:
31947
+ _header_params['Content-Type'] = _content_type
31948
+ else:
31949
+ _default_content_type = (
31950
+ self.api_client.select_header_content_type(
31951
+ [
31952
+ 'application/json'
31953
+ ]
31954
+ )
31955
+ )
31956
+ if _default_content_type is not None:
31957
+ _header_params['Content-Type'] = _default_content_type
31958
+
31959
+ # authentication setting
31960
+ _auth_settings: List[str] = [
31961
+ 'authentik'
31962
+ ]
31963
+
31964
+ return self.api_client.param_serialize(
31965
+ method='PATCH',
31966
+ resource_path='/stages/endpoints/{stage_uuid}/',
31967
+ path_params=_path_params,
31968
+ query_params=_query_params,
31969
+ header_params=_header_params,
31970
+ body=_body_params,
31971
+ post_params=_form_params,
31972
+ files=_files,
31973
+ auth_settings=_auth_settings,
31974
+ collection_formats=_collection_formats,
31975
+ _host=_host,
31976
+ _request_auth=_request_auth
31977
+ )
31978
+
31979
+
31980
+
31981
+
31982
+ @validate_call
31983
+ def stages_endpoints_retrieve(
31984
+ self,
31985
+ stage_uuid: Annotated[UUID, Field(description="A UUID string identifying this Endpoint Stage.")],
31986
+ _request_timeout: Union[
31987
+ None,
31988
+ Annotated[StrictFloat, Field(gt=0)],
31989
+ Tuple[
31990
+ Annotated[StrictFloat, Field(gt=0)],
31991
+ Annotated[StrictFloat, Field(gt=0)]
31992
+ ]
31993
+ ] = None,
31994
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
31995
+ _content_type: Optional[StrictStr] = None,
31996
+ _headers: Optional[Dict[StrictStr, Any]] = None,
31997
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
31998
+ ) -> EndpointStage:
31999
+ """stages_endpoints_retrieve
32000
+
32001
+ EndpointStage Viewset
32002
+
32003
+ :param stage_uuid: A UUID string identifying this Endpoint Stage. (required)
32004
+ :type stage_uuid: str
32005
+ :param _request_timeout: timeout setting for this request. If one
32006
+ number provided, it will be total request
32007
+ timeout. It can also be a pair (tuple) of
32008
+ (connection, read) timeouts.
32009
+ :type _request_timeout: int, tuple(int, int), optional
32010
+ :param _request_auth: set to override the auth_settings for an a single
32011
+ request; this effectively ignores the
32012
+ authentication in the spec for a single request.
32013
+ :type _request_auth: dict, optional
32014
+ :param _content_type: force content-type for the request.
32015
+ :type _content_type: str, Optional
32016
+ :param _headers: set to override the headers for a single
32017
+ request; this effectively ignores the headers
32018
+ in the spec for a single request.
32019
+ :type _headers: dict, optional
32020
+ :param _host_index: set to override the host_index for a single
32021
+ request; this effectively ignores the host_index
32022
+ in the spec for a single request.
32023
+ :type _host_index: int, optional
32024
+ :return: Returns the result object.
32025
+ """ # noqa: E501
32026
+
32027
+ _param = self._stages_endpoints_retrieve_serialize(
32028
+ stage_uuid=stage_uuid,
32029
+ _request_auth=_request_auth,
32030
+ _content_type=_content_type,
32031
+ _headers=_headers,
32032
+ _host_index=_host_index
32033
+ )
32034
+
32035
+ _response_types_map: Dict[str, Optional[str]] = {
32036
+ '200': "EndpointStage",
32037
+ '400': "ValidationError",
32038
+ '403': "GenericError",
32039
+ }
32040
+ response_data = self.api_client.call_api(
32041
+ *_param,
32042
+ _request_timeout=_request_timeout
32043
+ )
32044
+ response_data.read()
32045
+ return self.api_client.response_deserialize(
32046
+ response_data=response_data,
32047
+ response_types_map=_response_types_map,
32048
+ ).data
32049
+
32050
+
32051
+ @validate_call
32052
+ def stages_endpoints_retrieve_with_http_info(
32053
+ self,
32054
+ stage_uuid: Annotated[UUID, Field(description="A UUID string identifying this Endpoint Stage.")],
32055
+ _request_timeout: Union[
32056
+ None,
32057
+ Annotated[StrictFloat, Field(gt=0)],
32058
+ Tuple[
32059
+ Annotated[StrictFloat, Field(gt=0)],
32060
+ Annotated[StrictFloat, Field(gt=0)]
32061
+ ]
32062
+ ] = None,
32063
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
32064
+ _content_type: Optional[StrictStr] = None,
32065
+ _headers: Optional[Dict[StrictStr, Any]] = None,
32066
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
32067
+ ) -> ApiResponse[EndpointStage]:
32068
+ """stages_endpoints_retrieve
32069
+
32070
+ EndpointStage Viewset
32071
+
32072
+ :param stage_uuid: A UUID string identifying this Endpoint Stage. (required)
32073
+ :type stage_uuid: str
32074
+ :param _request_timeout: timeout setting for this request. If one
32075
+ number provided, it will be total request
32076
+ timeout. It can also be a pair (tuple) of
32077
+ (connection, read) timeouts.
32078
+ :type _request_timeout: int, tuple(int, int), optional
32079
+ :param _request_auth: set to override the auth_settings for an a single
32080
+ request; this effectively ignores the
32081
+ authentication in the spec for a single request.
32082
+ :type _request_auth: dict, optional
32083
+ :param _content_type: force content-type for the request.
32084
+ :type _content_type: str, Optional
32085
+ :param _headers: set to override the headers for a single
32086
+ request; this effectively ignores the headers
32087
+ in the spec for a single request.
32088
+ :type _headers: dict, optional
32089
+ :param _host_index: set to override the host_index for a single
32090
+ request; this effectively ignores the host_index
32091
+ in the spec for a single request.
32092
+ :type _host_index: int, optional
32093
+ :return: Returns the result object.
32094
+ """ # noqa: E501
32095
+
32096
+ _param = self._stages_endpoints_retrieve_serialize(
32097
+ stage_uuid=stage_uuid,
32098
+ _request_auth=_request_auth,
32099
+ _content_type=_content_type,
32100
+ _headers=_headers,
32101
+ _host_index=_host_index
32102
+ )
32103
+
32104
+ _response_types_map: Dict[str, Optional[str]] = {
32105
+ '200': "EndpointStage",
32106
+ '400': "ValidationError",
32107
+ '403': "GenericError",
32108
+ }
32109
+ response_data = self.api_client.call_api(
32110
+ *_param,
32111
+ _request_timeout=_request_timeout
32112
+ )
32113
+ response_data.read()
32114
+ return self.api_client.response_deserialize(
32115
+ response_data=response_data,
32116
+ response_types_map=_response_types_map,
32117
+ )
32118
+
32119
+
32120
+ @validate_call
32121
+ def stages_endpoints_retrieve_without_preload_content(
32122
+ self,
32123
+ stage_uuid: Annotated[UUID, Field(description="A UUID string identifying this Endpoint Stage.")],
32124
+ _request_timeout: Union[
32125
+ None,
32126
+ Annotated[StrictFloat, Field(gt=0)],
32127
+ Tuple[
32128
+ Annotated[StrictFloat, Field(gt=0)],
32129
+ Annotated[StrictFloat, Field(gt=0)]
32130
+ ]
32131
+ ] = None,
32132
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
32133
+ _content_type: Optional[StrictStr] = None,
32134
+ _headers: Optional[Dict[StrictStr, Any]] = None,
32135
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
32136
+ ) -> RESTResponseType:
32137
+ """stages_endpoints_retrieve
32138
+
32139
+ EndpointStage Viewset
32140
+
32141
+ :param stage_uuid: A UUID string identifying this Endpoint Stage. (required)
32142
+ :type stage_uuid: str
32143
+ :param _request_timeout: timeout setting for this request. If one
32144
+ number provided, it will be total request
32145
+ timeout. It can also be a pair (tuple) of
32146
+ (connection, read) timeouts.
32147
+ :type _request_timeout: int, tuple(int, int), optional
32148
+ :param _request_auth: set to override the auth_settings for an a single
32149
+ request; this effectively ignores the
32150
+ authentication in the spec for a single request.
32151
+ :type _request_auth: dict, optional
32152
+ :param _content_type: force content-type for the request.
32153
+ :type _content_type: str, Optional
32154
+ :param _headers: set to override the headers for a single
32155
+ request; this effectively ignores the headers
32156
+ in the spec for a single request.
32157
+ :type _headers: dict, optional
32158
+ :param _host_index: set to override the host_index for a single
32159
+ request; this effectively ignores the host_index
32160
+ in the spec for a single request.
32161
+ :type _host_index: int, optional
32162
+ :return: Returns the result object.
32163
+ """ # noqa: E501
32164
+
32165
+ _param = self._stages_endpoints_retrieve_serialize(
32166
+ stage_uuid=stage_uuid,
32167
+ _request_auth=_request_auth,
32168
+ _content_type=_content_type,
32169
+ _headers=_headers,
32170
+ _host_index=_host_index
32171
+ )
32172
+
32173
+ _response_types_map: Dict[str, Optional[str]] = {
32174
+ '200': "EndpointStage",
32175
+ '400': "ValidationError",
32176
+ '403': "GenericError",
32177
+ }
32178
+ response_data = self.api_client.call_api(
32179
+ *_param,
32180
+ _request_timeout=_request_timeout
32181
+ )
32182
+ return response_data.response
32183
+
32184
+
32185
+ def _stages_endpoints_retrieve_serialize(
32186
+ self,
32187
+ stage_uuid,
32188
+ _request_auth,
32189
+ _content_type,
32190
+ _headers,
32191
+ _host_index,
32192
+ ) -> RequestSerialized:
32193
+
32194
+ _host = None
32195
+
32196
+ _collection_formats: Dict[str, str] = {
32197
+ }
32198
+
32199
+ _path_params: Dict[str, str] = {}
32200
+ _query_params: List[Tuple[str, str]] = []
32201
+ _header_params: Dict[str, Optional[str]] = _headers or {}
32202
+ _form_params: List[Tuple[str, str]] = []
32203
+ _files: Dict[
32204
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
32205
+ ] = {}
32206
+ _body_params: Optional[bytes] = None
32207
+
32208
+ # process the path parameters
32209
+ if stage_uuid is not None:
32210
+ _path_params['stage_uuid'] = stage_uuid
32211
+ # process the query parameters
32212
+ # process the header parameters
32213
+ # process the form parameters
32214
+ # process the body parameter
32215
+
32216
+
32217
+ # set the HTTP header `Accept`
32218
+ if 'Accept' not in _header_params:
32219
+ _header_params['Accept'] = self.api_client.select_header_accept(
32220
+ [
32221
+ 'application/json'
32222
+ ]
32223
+ )
32224
+
32225
+
32226
+ # authentication setting
32227
+ _auth_settings: List[str] = [
32228
+ 'authentik'
32229
+ ]
32230
+
32231
+ return self.api_client.param_serialize(
32232
+ method='GET',
32233
+ resource_path='/stages/endpoints/{stage_uuid}/',
32234
+ path_params=_path_params,
32235
+ query_params=_query_params,
32236
+ header_params=_header_params,
32237
+ body=_body_params,
32238
+ post_params=_form_params,
32239
+ files=_files,
32240
+ auth_settings=_auth_settings,
32241
+ collection_formats=_collection_formats,
32242
+ _host=_host,
32243
+ _request_auth=_request_auth
32244
+ )
32245
+
32246
+
32247
+
32248
+
32249
+ @validate_call
32250
+ def stages_endpoints_update(
32251
+ self,
32252
+ stage_uuid: Annotated[UUID, Field(description="A UUID string identifying this Endpoint Stage.")],
32253
+ endpoint_stage_request: EndpointStageRequest,
32254
+ _request_timeout: Union[
32255
+ None,
32256
+ Annotated[StrictFloat, Field(gt=0)],
32257
+ Tuple[
32258
+ Annotated[StrictFloat, Field(gt=0)],
32259
+ Annotated[StrictFloat, Field(gt=0)]
32260
+ ]
32261
+ ] = None,
32262
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
32263
+ _content_type: Optional[StrictStr] = None,
32264
+ _headers: Optional[Dict[StrictStr, Any]] = None,
32265
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
32266
+ ) -> EndpointStage:
32267
+ """stages_endpoints_update
32268
+
32269
+ EndpointStage Viewset
32270
+
32271
+ :param stage_uuid: A UUID string identifying this Endpoint Stage. (required)
32272
+ :type stage_uuid: str
32273
+ :param endpoint_stage_request: (required)
32274
+ :type endpoint_stage_request: EndpointStageRequest
32275
+ :param _request_timeout: timeout setting for this request. If one
32276
+ number provided, it will be total request
32277
+ timeout. It can also be a pair (tuple) of
32278
+ (connection, read) timeouts.
32279
+ :type _request_timeout: int, tuple(int, int), optional
32280
+ :param _request_auth: set to override the auth_settings for an a single
32281
+ request; this effectively ignores the
32282
+ authentication in the spec for a single request.
32283
+ :type _request_auth: dict, optional
32284
+ :param _content_type: force content-type for the request.
32285
+ :type _content_type: str, Optional
32286
+ :param _headers: set to override the headers for a single
32287
+ request; this effectively ignores the headers
32288
+ in the spec for a single request.
32289
+ :type _headers: dict, optional
32290
+ :param _host_index: set to override the host_index for a single
32291
+ request; this effectively ignores the host_index
32292
+ in the spec for a single request.
32293
+ :type _host_index: int, optional
32294
+ :return: Returns the result object.
32295
+ """ # noqa: E501
32296
+
32297
+ _param = self._stages_endpoints_update_serialize(
32298
+ stage_uuid=stage_uuid,
32299
+ endpoint_stage_request=endpoint_stage_request,
32300
+ _request_auth=_request_auth,
32301
+ _content_type=_content_type,
32302
+ _headers=_headers,
32303
+ _host_index=_host_index
32304
+ )
32305
+
32306
+ _response_types_map: Dict[str, Optional[str]] = {
32307
+ '200': "EndpointStage",
32308
+ '400': "ValidationError",
32309
+ '403': "GenericError",
32310
+ }
32311
+ response_data = self.api_client.call_api(
32312
+ *_param,
32313
+ _request_timeout=_request_timeout
32314
+ )
32315
+ response_data.read()
32316
+ return self.api_client.response_deserialize(
32317
+ response_data=response_data,
32318
+ response_types_map=_response_types_map,
32319
+ ).data
32320
+
32321
+
32322
+ @validate_call
32323
+ def stages_endpoints_update_with_http_info(
32324
+ self,
32325
+ stage_uuid: Annotated[UUID, Field(description="A UUID string identifying this Endpoint Stage.")],
32326
+ endpoint_stage_request: EndpointStageRequest,
32327
+ _request_timeout: Union[
32328
+ None,
32329
+ Annotated[StrictFloat, Field(gt=0)],
32330
+ Tuple[
32331
+ Annotated[StrictFloat, Field(gt=0)],
32332
+ Annotated[StrictFloat, Field(gt=0)]
32333
+ ]
32334
+ ] = None,
32335
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
32336
+ _content_type: Optional[StrictStr] = None,
32337
+ _headers: Optional[Dict[StrictStr, Any]] = None,
32338
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
32339
+ ) -> ApiResponse[EndpointStage]:
32340
+ """stages_endpoints_update
32341
+
32342
+ EndpointStage Viewset
32343
+
32344
+ :param stage_uuid: A UUID string identifying this Endpoint Stage. (required)
32345
+ :type stage_uuid: str
32346
+ :param endpoint_stage_request: (required)
32347
+ :type endpoint_stage_request: EndpointStageRequest
32348
+ :param _request_timeout: timeout setting for this request. If one
32349
+ number provided, it will be total request
32350
+ timeout. It can also be a pair (tuple) of
32351
+ (connection, read) timeouts.
32352
+ :type _request_timeout: int, tuple(int, int), optional
32353
+ :param _request_auth: set to override the auth_settings for an a single
32354
+ request; this effectively ignores the
32355
+ authentication in the spec for a single request.
32356
+ :type _request_auth: dict, optional
32357
+ :param _content_type: force content-type for the request.
32358
+ :type _content_type: str, Optional
32359
+ :param _headers: set to override the headers for a single
32360
+ request; this effectively ignores the headers
32361
+ in the spec for a single request.
32362
+ :type _headers: dict, optional
32363
+ :param _host_index: set to override the host_index for a single
32364
+ request; this effectively ignores the host_index
32365
+ in the spec for a single request.
32366
+ :type _host_index: int, optional
32367
+ :return: Returns the result object.
32368
+ """ # noqa: E501
32369
+
32370
+ _param = self._stages_endpoints_update_serialize(
32371
+ stage_uuid=stage_uuid,
32372
+ endpoint_stage_request=endpoint_stage_request,
32373
+ _request_auth=_request_auth,
32374
+ _content_type=_content_type,
32375
+ _headers=_headers,
32376
+ _host_index=_host_index
32377
+ )
32378
+
32379
+ _response_types_map: Dict[str, Optional[str]] = {
32380
+ '200': "EndpointStage",
32381
+ '400': "ValidationError",
32382
+ '403': "GenericError",
32383
+ }
32384
+ response_data = self.api_client.call_api(
32385
+ *_param,
32386
+ _request_timeout=_request_timeout
32387
+ )
32388
+ response_data.read()
32389
+ return self.api_client.response_deserialize(
32390
+ response_data=response_data,
32391
+ response_types_map=_response_types_map,
32392
+ )
32393
+
32394
+
32395
+ @validate_call
32396
+ def stages_endpoints_update_without_preload_content(
32397
+ self,
32398
+ stage_uuid: Annotated[UUID, Field(description="A UUID string identifying this Endpoint Stage.")],
32399
+ endpoint_stage_request: EndpointStageRequest,
32400
+ _request_timeout: Union[
32401
+ None,
32402
+ Annotated[StrictFloat, Field(gt=0)],
32403
+ Tuple[
32404
+ Annotated[StrictFloat, Field(gt=0)],
32405
+ Annotated[StrictFloat, Field(gt=0)]
32406
+ ]
32407
+ ] = None,
32408
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
32409
+ _content_type: Optional[StrictStr] = None,
32410
+ _headers: Optional[Dict[StrictStr, Any]] = None,
32411
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
32412
+ ) -> RESTResponseType:
32413
+ """stages_endpoints_update
32414
+
32415
+ EndpointStage Viewset
32416
+
32417
+ :param stage_uuid: A UUID string identifying this Endpoint Stage. (required)
32418
+ :type stage_uuid: str
32419
+ :param endpoint_stage_request: (required)
32420
+ :type endpoint_stage_request: EndpointStageRequest
32421
+ :param _request_timeout: timeout setting for this request. If one
32422
+ number provided, it will be total request
32423
+ timeout. It can also be a pair (tuple) of
32424
+ (connection, read) timeouts.
32425
+ :type _request_timeout: int, tuple(int, int), optional
32426
+ :param _request_auth: set to override the auth_settings for an a single
32427
+ request; this effectively ignores the
32428
+ authentication in the spec for a single request.
32429
+ :type _request_auth: dict, optional
32430
+ :param _content_type: force content-type for the request.
32431
+ :type _content_type: str, Optional
32432
+ :param _headers: set to override the headers for a single
32433
+ request; this effectively ignores the headers
32434
+ in the spec for a single request.
32435
+ :type _headers: dict, optional
32436
+ :param _host_index: set to override the host_index for a single
32437
+ request; this effectively ignores the host_index
32438
+ in the spec for a single request.
32439
+ :type _host_index: int, optional
32440
+ :return: Returns the result object.
32441
+ """ # noqa: E501
32442
+
32443
+ _param = self._stages_endpoints_update_serialize(
32444
+ stage_uuid=stage_uuid,
32445
+ endpoint_stage_request=endpoint_stage_request,
32446
+ _request_auth=_request_auth,
32447
+ _content_type=_content_type,
32448
+ _headers=_headers,
32449
+ _host_index=_host_index
32450
+ )
32451
+
32452
+ _response_types_map: Dict[str, Optional[str]] = {
32453
+ '200': "EndpointStage",
32454
+ '400': "ValidationError",
32455
+ '403': "GenericError",
32456
+ }
32457
+ response_data = self.api_client.call_api(
32458
+ *_param,
32459
+ _request_timeout=_request_timeout
32460
+ )
32461
+ return response_data.response
32462
+
32463
+
32464
+ def _stages_endpoints_update_serialize(
32465
+ self,
32466
+ stage_uuid,
32467
+ endpoint_stage_request,
32468
+ _request_auth,
32469
+ _content_type,
32470
+ _headers,
32471
+ _host_index,
32472
+ ) -> RequestSerialized:
32473
+
32474
+ _host = None
32475
+
32476
+ _collection_formats: Dict[str, str] = {
32477
+ }
32478
+
32479
+ _path_params: Dict[str, str] = {}
32480
+ _query_params: List[Tuple[str, str]] = []
32481
+ _header_params: Dict[str, Optional[str]] = _headers or {}
32482
+ _form_params: List[Tuple[str, str]] = []
32483
+ _files: Dict[
32484
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
32485
+ ] = {}
32486
+ _body_params: Optional[bytes] = None
32487
+
32488
+ # process the path parameters
32489
+ if stage_uuid is not None:
32490
+ _path_params['stage_uuid'] = stage_uuid
32491
+ # process the query parameters
32492
+ # process the header parameters
32493
+ # process the form parameters
32494
+ # process the body parameter
32495
+ if endpoint_stage_request is not None:
32496
+ _body_params = endpoint_stage_request
32497
+
32498
+
32499
+ # set the HTTP header `Accept`
32500
+ if 'Accept' not in _header_params:
32501
+ _header_params['Accept'] = self.api_client.select_header_accept(
32502
+ [
32503
+ 'application/json'
32504
+ ]
32505
+ )
32506
+
32507
+ # set the HTTP header `Content-Type`
32508
+ if _content_type:
32509
+ _header_params['Content-Type'] = _content_type
32510
+ else:
32511
+ _default_content_type = (
32512
+ self.api_client.select_header_content_type(
32513
+ [
32514
+ 'application/json'
32515
+ ]
32516
+ )
32517
+ )
32518
+ if _default_content_type is not None:
32519
+ _header_params['Content-Type'] = _default_content_type
32520
+
32521
+ # authentication setting
32522
+ _auth_settings: List[str] = [
32523
+ 'authentik'
32524
+ ]
32525
+
32526
+ return self.api_client.param_serialize(
32527
+ method='PUT',
32528
+ resource_path='/stages/endpoints/{stage_uuid}/',
32529
+ path_params=_path_params,
32530
+ query_params=_query_params,
32531
+ header_params=_header_params,
32532
+ body=_body_params,
32533
+ post_params=_form_params,
32534
+ files=_files,
32535
+ auth_settings=_auth_settings,
32536
+ collection_formats=_collection_formats,
32537
+ _host=_host,
32538
+ _request_auth=_request_auth
32539
+ )
32540
+
32541
+
32542
+
32543
+
32544
+ @validate_call
32545
+ def stages_endpoints_used_by_list(
32546
+ self,
32547
+ stage_uuid: Annotated[UUID, Field(description="A UUID string identifying this Endpoint Stage.")],
32548
+ _request_timeout: Union[
32549
+ None,
32550
+ Annotated[StrictFloat, Field(gt=0)],
32551
+ Tuple[
32552
+ Annotated[StrictFloat, Field(gt=0)],
32553
+ Annotated[StrictFloat, Field(gt=0)]
32554
+ ]
32555
+ ] = None,
32556
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
32557
+ _content_type: Optional[StrictStr] = None,
32558
+ _headers: Optional[Dict[StrictStr, Any]] = None,
32559
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
32560
+ ) -> List[UsedBy]:
32561
+ """stages_endpoints_used_by_list
32562
+
32563
+ Get a list of all objects that use this object
32564
+
32565
+ :param stage_uuid: A UUID string identifying this Endpoint Stage. (required)
32566
+ :type stage_uuid: str
32567
+ :param _request_timeout: timeout setting for this request. If one
32568
+ number provided, it will be total request
32569
+ timeout. It can also be a pair (tuple) of
32570
+ (connection, read) timeouts.
32571
+ :type _request_timeout: int, tuple(int, int), optional
32572
+ :param _request_auth: set to override the auth_settings for an a single
32573
+ request; this effectively ignores the
32574
+ authentication in the spec for a single request.
32575
+ :type _request_auth: dict, optional
32576
+ :param _content_type: force content-type for the request.
32577
+ :type _content_type: str, Optional
32578
+ :param _headers: set to override the headers for a single
32579
+ request; this effectively ignores the headers
32580
+ in the spec for a single request.
32581
+ :type _headers: dict, optional
32582
+ :param _host_index: set to override the host_index for a single
32583
+ request; this effectively ignores the host_index
32584
+ in the spec for a single request.
32585
+ :type _host_index: int, optional
32586
+ :return: Returns the result object.
32587
+ """ # noqa: E501
32588
+
32589
+ _param = self._stages_endpoints_used_by_list_serialize(
32590
+ stage_uuid=stage_uuid,
32591
+ _request_auth=_request_auth,
32592
+ _content_type=_content_type,
32593
+ _headers=_headers,
32594
+ _host_index=_host_index
32595
+ )
32596
+
32597
+ _response_types_map: Dict[str, Optional[str]] = {
32598
+ '200': "List[UsedBy]",
32599
+ '400': "ValidationError",
32600
+ '403': "GenericError",
32601
+ }
32602
+ response_data = self.api_client.call_api(
32603
+ *_param,
32604
+ _request_timeout=_request_timeout
32605
+ )
32606
+ response_data.read()
32607
+ return self.api_client.response_deserialize(
32608
+ response_data=response_data,
32609
+ response_types_map=_response_types_map,
32610
+ ).data
32611
+
32612
+
32613
+ @validate_call
32614
+ def stages_endpoints_used_by_list_with_http_info(
32615
+ self,
32616
+ stage_uuid: Annotated[UUID, Field(description="A UUID string identifying this Endpoint Stage.")],
32617
+ _request_timeout: Union[
32618
+ None,
32619
+ Annotated[StrictFloat, Field(gt=0)],
32620
+ Tuple[
32621
+ Annotated[StrictFloat, Field(gt=0)],
32622
+ Annotated[StrictFloat, Field(gt=0)]
32623
+ ]
32624
+ ] = None,
32625
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
32626
+ _content_type: Optional[StrictStr] = None,
32627
+ _headers: Optional[Dict[StrictStr, Any]] = None,
32628
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
32629
+ ) -> ApiResponse[List[UsedBy]]:
32630
+ """stages_endpoints_used_by_list
32631
+
32632
+ Get a list of all objects that use this object
32633
+
32634
+ :param stage_uuid: A UUID string identifying this Endpoint Stage. (required)
32635
+ :type stage_uuid: str
32636
+ :param _request_timeout: timeout setting for this request. If one
32637
+ number provided, it will be total request
32638
+ timeout. It can also be a pair (tuple) of
32639
+ (connection, read) timeouts.
32640
+ :type _request_timeout: int, tuple(int, int), optional
32641
+ :param _request_auth: set to override the auth_settings for an a single
32642
+ request; this effectively ignores the
32643
+ authentication in the spec for a single request.
32644
+ :type _request_auth: dict, optional
32645
+ :param _content_type: force content-type for the request.
32646
+ :type _content_type: str, Optional
32647
+ :param _headers: set to override the headers for a single
32648
+ request; this effectively ignores the headers
32649
+ in the spec for a single request.
32650
+ :type _headers: dict, optional
32651
+ :param _host_index: set to override the host_index for a single
32652
+ request; this effectively ignores the host_index
32653
+ in the spec for a single request.
32654
+ :type _host_index: int, optional
32655
+ :return: Returns the result object.
32656
+ """ # noqa: E501
32657
+
32658
+ _param = self._stages_endpoints_used_by_list_serialize(
32659
+ stage_uuid=stage_uuid,
32660
+ _request_auth=_request_auth,
32661
+ _content_type=_content_type,
32662
+ _headers=_headers,
32663
+ _host_index=_host_index
32664
+ )
32665
+
32666
+ _response_types_map: Dict[str, Optional[str]] = {
32667
+ '200': "List[UsedBy]",
32668
+ '400': "ValidationError",
32669
+ '403': "GenericError",
32670
+ }
32671
+ response_data = self.api_client.call_api(
32672
+ *_param,
32673
+ _request_timeout=_request_timeout
32674
+ )
32675
+ response_data.read()
32676
+ return self.api_client.response_deserialize(
32677
+ response_data=response_data,
32678
+ response_types_map=_response_types_map,
32679
+ )
32680
+
32681
+
32682
+ @validate_call
32683
+ def stages_endpoints_used_by_list_without_preload_content(
32684
+ self,
32685
+ stage_uuid: Annotated[UUID, Field(description="A UUID string identifying this Endpoint Stage.")],
32686
+ _request_timeout: Union[
32687
+ None,
32688
+ Annotated[StrictFloat, Field(gt=0)],
32689
+ Tuple[
32690
+ Annotated[StrictFloat, Field(gt=0)],
32691
+ Annotated[StrictFloat, Field(gt=0)]
32692
+ ]
32693
+ ] = None,
32694
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
32695
+ _content_type: Optional[StrictStr] = None,
32696
+ _headers: Optional[Dict[StrictStr, Any]] = None,
32697
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
32698
+ ) -> RESTResponseType:
32699
+ """stages_endpoints_used_by_list
32700
+
32701
+ Get a list of all objects that use this object
32702
+
32703
+ :param stage_uuid: A UUID string identifying this Endpoint Stage. (required)
32704
+ :type stage_uuid: str
32705
+ :param _request_timeout: timeout setting for this request. If one
32706
+ number provided, it will be total request
32707
+ timeout. It can also be a pair (tuple) of
32708
+ (connection, read) timeouts.
32709
+ :type _request_timeout: int, tuple(int, int), optional
32710
+ :param _request_auth: set to override the auth_settings for an a single
32711
+ request; this effectively ignores the
32712
+ authentication in the spec for a single request.
32713
+ :type _request_auth: dict, optional
32714
+ :param _content_type: force content-type for the request.
32715
+ :type _content_type: str, Optional
32716
+ :param _headers: set to override the headers for a single
32717
+ request; this effectively ignores the headers
32718
+ in the spec for a single request.
32719
+ :type _headers: dict, optional
32720
+ :param _host_index: set to override the host_index for a single
32721
+ request; this effectively ignores the host_index
32722
+ in the spec for a single request.
32723
+ :type _host_index: int, optional
32724
+ :return: Returns the result object.
32725
+ """ # noqa: E501
32726
+
32727
+ _param = self._stages_endpoints_used_by_list_serialize(
32728
+ stage_uuid=stage_uuid,
32729
+ _request_auth=_request_auth,
32730
+ _content_type=_content_type,
32731
+ _headers=_headers,
32732
+ _host_index=_host_index
32733
+ )
32734
+
32735
+ _response_types_map: Dict[str, Optional[str]] = {
32736
+ '200': "List[UsedBy]",
32737
+ '400': "ValidationError",
32738
+ '403': "GenericError",
32739
+ }
32740
+ response_data = self.api_client.call_api(
32741
+ *_param,
32742
+ _request_timeout=_request_timeout
32743
+ )
32744
+ return response_data.response
32745
+
32746
+
32747
+ def _stages_endpoints_used_by_list_serialize(
32748
+ self,
32749
+ stage_uuid,
32750
+ _request_auth,
32751
+ _content_type,
32752
+ _headers,
32753
+ _host_index,
32754
+ ) -> RequestSerialized:
32755
+
32756
+ _host = None
32757
+
32758
+ _collection_formats: Dict[str, str] = {
32759
+ }
32760
+
32761
+ _path_params: Dict[str, str] = {}
32762
+ _query_params: List[Tuple[str, str]] = []
32763
+ _header_params: Dict[str, Optional[str]] = _headers or {}
32764
+ _form_params: List[Tuple[str, str]] = []
32765
+ _files: Dict[
32766
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
32767
+ ] = {}
32768
+ _body_params: Optional[bytes] = None
32769
+
32770
+ # process the path parameters
32771
+ if stage_uuid is not None:
32772
+ _path_params['stage_uuid'] = stage_uuid
32773
+ # process the query parameters
32774
+ # process the header parameters
32775
+ # process the form parameters
32776
+ # process the body parameter
32777
+
32778
+
32779
+ # set the HTTP header `Accept`
32780
+ if 'Accept' not in _header_params:
32781
+ _header_params['Accept'] = self.api_client.select_header_accept(
32782
+ [
32783
+ 'application/json'
32784
+ ]
32785
+ )
32786
+
32787
+
32788
+ # authentication setting
32789
+ _auth_settings: List[str] = [
32790
+ 'authentik'
32791
+ ]
32792
+
32793
+ return self.api_client.param_serialize(
32794
+ method='GET',
32795
+ resource_path='/stages/endpoints/{stage_uuid}/used_by/',
32796
+ path_params=_path_params,
32797
+ query_params=_query_params,
32798
+ header_params=_header_params,
32799
+ body=_body_params,
32800
+ post_params=_form_params,
32801
+ files=_files,
32802
+ auth_settings=_auth_settings,
32803
+ collection_formats=_collection_formats,
32804
+ _host=_host,
32805
+ _request_auth=_request_auth
32806
+ )
32807
+
32808
+
32809
+
32810
+
30799
32811
  @validate_call
30800
32812
  def stages_identification_create(
30801
32813
  self,
@@ -31359,6 +33371,7 @@ class StagesApi:
31359
33371
  search: Annotated[Optional[StrictStr], Field(description="A search term.")] = None,
31360
33372
  show_matched_user: Optional[StrictBool] = None,
31361
33373
  show_source_labels: Optional[StrictBool] = None,
33374
+ webauthn_stage: Optional[UUID] = None,
31362
33375
  _request_timeout: Union[
31363
33376
  None,
31364
33377
  Annotated[StrictFloat, Field(gt=0)],
@@ -31402,6 +33415,8 @@ class StagesApi:
31402
33415
  :type show_matched_user: bool
31403
33416
  :param show_source_labels:
31404
33417
  :type show_source_labels: bool
33418
+ :param webauthn_stage:
33419
+ :type webauthn_stage: str
31405
33420
  :param _request_timeout: timeout setting for this request. If one
31406
33421
  number provided, it will be total request
31407
33422
  timeout. It can also be a pair (tuple) of
@@ -31438,6 +33453,7 @@ class StagesApi:
31438
33453
  search=search,
31439
33454
  show_matched_user=show_matched_user,
31440
33455
  show_source_labels=show_source_labels,
33456
+ webauthn_stage=webauthn_stage,
31441
33457
  _request_auth=_request_auth,
31442
33458
  _content_type=_content_type,
31443
33459
  _headers=_headers,
@@ -31476,6 +33492,7 @@ class StagesApi:
31476
33492
  search: Annotated[Optional[StrictStr], Field(description="A search term.")] = None,
31477
33493
  show_matched_user: Optional[StrictBool] = None,
31478
33494
  show_source_labels: Optional[StrictBool] = None,
33495
+ webauthn_stage: Optional[UUID] = None,
31479
33496
  _request_timeout: Union[
31480
33497
  None,
31481
33498
  Annotated[StrictFloat, Field(gt=0)],
@@ -31519,6 +33536,8 @@ class StagesApi:
31519
33536
  :type show_matched_user: bool
31520
33537
  :param show_source_labels:
31521
33538
  :type show_source_labels: bool
33539
+ :param webauthn_stage:
33540
+ :type webauthn_stage: str
31522
33541
  :param _request_timeout: timeout setting for this request. If one
31523
33542
  number provided, it will be total request
31524
33543
  timeout. It can also be a pair (tuple) of
@@ -31555,6 +33574,7 @@ class StagesApi:
31555
33574
  search=search,
31556
33575
  show_matched_user=show_matched_user,
31557
33576
  show_source_labels=show_source_labels,
33577
+ webauthn_stage=webauthn_stage,
31558
33578
  _request_auth=_request_auth,
31559
33579
  _content_type=_content_type,
31560
33580
  _headers=_headers,
@@ -31593,6 +33613,7 @@ class StagesApi:
31593
33613
  search: Annotated[Optional[StrictStr], Field(description="A search term.")] = None,
31594
33614
  show_matched_user: Optional[StrictBool] = None,
31595
33615
  show_source_labels: Optional[StrictBool] = None,
33616
+ webauthn_stage: Optional[UUID] = None,
31596
33617
  _request_timeout: Union[
31597
33618
  None,
31598
33619
  Annotated[StrictFloat, Field(gt=0)],
@@ -31636,6 +33657,8 @@ class StagesApi:
31636
33657
  :type show_matched_user: bool
31637
33658
  :param show_source_labels:
31638
33659
  :type show_source_labels: bool
33660
+ :param webauthn_stage:
33661
+ :type webauthn_stage: str
31639
33662
  :param _request_timeout: timeout setting for this request. If one
31640
33663
  number provided, it will be total request
31641
33664
  timeout. It can also be a pair (tuple) of
@@ -31672,6 +33695,7 @@ class StagesApi:
31672
33695
  search=search,
31673
33696
  show_matched_user=show_matched_user,
31674
33697
  show_source_labels=show_source_labels,
33698
+ webauthn_stage=webauthn_stage,
31675
33699
  _request_auth=_request_auth,
31676
33700
  _content_type=_content_type,
31677
33701
  _headers=_headers,
@@ -31705,6 +33729,7 @@ class StagesApi:
31705
33729
  search,
31706
33730
  show_matched_user,
31707
33731
  show_source_labels,
33732
+ webauthn_stage,
31708
33733
  _request_auth,
31709
33734
  _content_type,
31710
33735
  _headers,
@@ -31779,6 +33804,10 @@ class StagesApi:
31779
33804
 
31780
33805
  _query_params.append(('show_source_labels', show_source_labels))
31781
33806
 
33807
+ if webauthn_stage is not None:
33808
+
33809
+ _query_params.append(('webauthn_stage', webauthn_stage))
33810
+
31782
33811
  # process the header parameters
31783
33812
  # process the form parameters
31784
33813
  # process the body parameter