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.
- authentik_client/__init__.py +156 -30
- authentik_client/api/__init__.py +2 -0
- authentik_client/api/admin_api.py +1170 -3
- authentik_client/api/authenticators_api.py +85 -85
- authentik_client/api/core_api.py +2815 -2648
- authentik_client/api/crypto_api.py +20 -2
- authentik_client/api/endpoints_api.py +14082 -0
- authentik_client/api/enterprise_api.py +1 -1
- authentik_client/api/events_api.py +442 -1
- authentik_client/api/flows_api.py +1 -607
- authentik_client/api/managed_api.py +1 -1
- authentik_client/api/oauth2_api.py +1 -1
- authentik_client/api/outposts_api.py +1 -1
- authentik_client/api/policies_api.py +1 -1
- authentik_client/api/propertymappings_api.py +1 -1
- authentik_client/api/providers_api.py +6 -6
- authentik_client/api/rac_api.py +1 -1
- authentik_client/api/rbac_api.py +701 -3588
- authentik_client/api/reports_api.py +887 -0
- authentik_client/api/root_api.py +1 -1
- authentik_client/api/schema_api.py +1 -1
- authentik_client/api/sources_api.py +2559 -2869
- authentik_client/api/ssf_api.py +1 -1
- authentik_client/api/stages_api.py +2030 -1
- authentik_client/api/tasks_api.py +1 -1
- authentik_client/api/tenants_api.py +1 -1
- authentik_client/api_client.py +2 -2
- authentik_client/configuration.py +9 -5
- authentik_client/exceptions.py +1 -1
- authentik_client/models/__init__.py +76 -15
- authentik_client/models/access_denied_challenge.py +1 -1
- authentik_client/models/{file_path_request.py → agent_authentication_response.py} +7 -8
- authentik_client/models/agent_config.py +130 -0
- authentik_client/models/agent_connector.py +142 -0
- authentik_client/models/agent_connector_request.py +126 -0
- authentik_client/models/agent_psso_device_registration_request.py +95 -0
- authentik_client/models/agent_psso_device_registration_response.py +98 -0
- authentik_client/models/agent_psso_user_registration_request.py +93 -0
- authentik_client/models/agent_token_response.py +90 -0
- authentik_client/models/alg_enum.py +1 -1
- authentik_client/models/app.py +1 -1
- authentik_client/models/app_enum.py +6 -1
- authentik_client/models/apple_challenge_response_request.py +1 -1
- authentik_client/models/apple_login_challenge.py +1 -1
- authentik_client/models/application.py +10 -8
- authentik_client/models/application_entitlement.py +1 -1
- authentik_client/models/application_entitlement_request.py +1 -1
- authentik_client/models/application_request.py +5 -3
- authentik_client/models/auth_type_enum.py +1 -1
- authentik_client/models/authenticated_session.py +1 -1
- authentik_client/models/authenticated_session_asn.py +1 -1
- authentik_client/models/authenticated_session_geo_ip.py +1 -1
- authentik_client/models/authenticated_session_user_agent.py +1 -1
- authentik_client/models/authenticated_session_user_agent_device.py +1 -1
- authentik_client/models/authenticated_session_user_agent_os.py +1 -1
- authentik_client/models/authenticated_session_user_agent_user_agent.py +1 -1
- authentik_client/models/authentication_enum.py +1 -1
- authentik_client/models/authenticator_attachment_enum.py +1 -1
- authentik_client/models/authenticator_duo_challenge.py +1 -1
- authentik_client/models/authenticator_duo_challenge_response_request.py +1 -1
- authentik_client/models/authenticator_duo_stage.py +4 -2
- authentik_client/models/authenticator_duo_stage_device_import_response.py +1 -1
- authentik_client/models/authenticator_duo_stage_manual_device_import_request.py +1 -1
- authentik_client/models/authenticator_duo_stage_request.py +2 -12
- authentik_client/models/authenticator_email_challenge.py +1 -1
- authentik_client/models/authenticator_email_challenge_response_request.py +1 -1
- authentik_client/models/authenticator_email_stage.py +4 -2
- authentik_client/models/authenticator_email_stage_request.py +2 -12
- authentik_client/models/authenticator_endpoint_gdtc_stage.py +4 -2
- authentik_client/models/authenticator_endpoint_gdtc_stage_request.py +2 -12
- authentik_client/models/authenticator_sms_challenge.py +1 -1
- authentik_client/models/authenticator_sms_challenge_response_request.py +1 -1
- authentik_client/models/authenticator_sms_stage.py +4 -2
- authentik_client/models/authenticator_sms_stage_request.py +2 -12
- authentik_client/models/authenticator_static_challenge.py +1 -1
- authentik_client/models/authenticator_static_challenge_response_request.py +1 -1
- authentik_client/models/authenticator_static_stage.py +4 -2
- authentik_client/models/authenticator_static_stage_request.py +2 -12
- authentik_client/models/authenticator_totp_challenge.py +1 -1
- authentik_client/models/authenticator_totp_challenge_response_request.py +1 -1
- authentik_client/models/authenticator_totp_stage.py +4 -2
- authentik_client/models/authenticator_totp_stage_request.py +2 -12
- authentik_client/models/authenticator_validate_stage.py +4 -2
- authentik_client/models/authenticator_validate_stage_request.py +2 -12
- authentik_client/models/authenticator_validation_challenge.py +1 -1
- authentik_client/models/authenticator_validation_challenge_response_request.py +1 -1
- authentik_client/models/authenticator_web_authn_challenge.py +1 -1
- authentik_client/models/authenticator_web_authn_challenge_response_request.py +1 -1
- authentik_client/models/authenticator_web_authn_stage.py +4 -2
- authentik_client/models/authenticator_web_authn_stage_request.py +2 -12
- authentik_client/models/authorization_code_auth_method_enum.py +1 -1
- authentik_client/models/auto_submit_challenge_response_request.py +1 -1
- authentik_client/models/autosubmit_challenge.py +1 -1
- authentik_client/models/backends_enum.py +1 -1
- authentik_client/models/binding_type_enum.py +1 -1
- authentik_client/models/blueprint_file.py +1 -1
- authentik_client/models/blueprint_instance.py +1 -1
- authentik_client/models/blueprint_instance_request.py +1 -1
- authentik_client/models/blueprint_instance_status_enum.py +1 -1
- authentik_client/models/brand.py +1 -1
- authentik_client/models/brand_request.py +1 -1
- authentik_client/models/cache.py +1 -1
- authentik_client/models/capabilities_enum.py +1 -1
- authentik_client/models/captcha_challenge.py +1 -1
- authentik_client/models/captcha_challenge_response_request.py +1 -1
- authentik_client/models/captcha_stage.py +4 -2
- authentik_client/models/captcha_stage_request.py +2 -12
- authentik_client/models/cert_attribute_enum.py +1 -1
- authentik_client/models/certificate_data.py +1 -1
- authentik_client/models/certificate_generation_request.py +1 -1
- authentik_client/models/certificate_key_pair.py +9 -8
- authentik_client/models/certificate_key_pair_request.py +1 -1
- authentik_client/models/challenge_types.py +38 -24
- authentik_client/models/client_type_enum.py +1 -1
- authentik_client/models/compatibility_mode_enum.py +1 -1
- authentik_client/models/config.py +1 -1
- authentik_client/models/connection_token.py +1 -1
- authentik_client/models/connection_token_request.py +1 -1
- authentik_client/models/connector.py +109 -0
- authentik_client/models/consent_challenge.py +1 -1
- authentik_client/models/consent_challenge_response_request.py +1 -1
- authentik_client/models/consent_permission.py +1 -1
- authentik_client/models/consent_stage.py +4 -2
- authentik_client/models/consent_stage_mode_enum.py +1 -1
- authentik_client/models/consent_stage_request.py +2 -12
- authentik_client/models/content_type.py +98 -0
- authentik_client/models/contextual_flow_info.py +1 -1
- authentik_client/models/contextual_flow_info_layout_enum.py +1 -1
- authentik_client/models/country_code_enum.py +1 -1
- authentik_client/models/current_brand.py +1 -1
- authentik_client/models/current_brand_flags.py +1 -1
- authentik_client/models/{extra_user_object_permission.py → data_export.py} +36 -39
- authentik_client/models/delivery_method_enum.py +1 -1
- authentik_client/models/denied_action_enum.py +1 -1
- authentik_client/models/deny_stage.py +4 -2
- authentik_client/models/deny_stage_request.py +2 -12
- authentik_client/models/detailed_country.py +1 -1
- authentik_client/models/detailed_country_field.py +1 -1
- authentik_client/models/device.py +1 -1
- authentik_client/models/device_access_group.py +93 -0
- authentik_client/models/{extra_role_object_permission_request.py → device_access_group_request.py} +8 -8
- authentik_client/models/device_challenge.py +1 -1
- authentik_client/models/device_challenge_request.py +1 -1
- authentik_client/models/device_classes_enum.py +1 -1
- authentik_client/models/device_connection.py +112 -0
- authentik_client/models/device_fact_snapshot.py +109 -0
- authentik_client/models/device_facts.py +196 -0
- authentik_client/models/device_facts_os_family.py +44 -0
- authentik_client/models/device_facts_request.py +196 -0
- authentik_client/models/device_group.py +90 -0
- authentik_client/models/{patched_extra_user_object_permission_request.py → device_group_request.py} +10 -8
- authentik_client/models/device_summary.py +92 -0
- authentik_client/models/device_user.py +94 -0
- authentik_client/models/device_user_binding.py +168 -0
- authentik_client/models/device_user_binding_request.py +123 -0
- authentik_client/models/device_user_request.py +95 -0
- authentik_client/models/digest_algorithm_enum.py +1 -1
- authentik_client/models/digits_enum.py +1 -1
- authentik_client/models/disk.py +98 -0
- authentik_client/models/disk_request.py +99 -0
- authentik_client/models/docker_service_connection.py +1 -1
- authentik_client/models/docker_service_connection_request.py +1 -1
- authentik_client/models/domain.py +1 -1
- authentik_client/models/domain_request.py +1 -1
- authentik_client/models/dummy_challenge.py +1 -1
- authentik_client/models/dummy_challenge_response_request.py +1 -1
- authentik_client/models/dummy_policy.py +1 -1
- authentik_client/models/dummy_policy_request.py +1 -1
- authentik_client/models/dummy_stage.py +4 -2
- authentik_client/models/dummy_stage_request.py +2 -12
- authentik_client/models/duo_device.py +1 -1
- authentik_client/models/duo_device_enrollment_status.py +1 -1
- authentik_client/models/duo_device_request.py +1 -1
- authentik_client/models/duo_response_enum.py +1 -1
- authentik_client/models/email_challenge.py +1 -1
- authentik_client/models/email_challenge_response_request.py +1 -1
- authentik_client/models/email_device.py +1 -1
- authentik_client/models/email_device_request.py +1 -1
- authentik_client/models/email_stage.py +4 -2
- authentik_client/models/email_stage_request.py +2 -12
- authentik_client/models/endpoint.py +1 -1
- authentik_client/models/endpoint_agent_challenge.py +117 -0
- authentik_client/models/endpoint_agent_challenge_response_request.py +96 -0
- authentik_client/models/endpoint_auth_mode_enum.py +1 -1
- authentik_client/models/endpoint_device.py +45 -9
- authentik_client/models/endpoint_device_details.py +146 -0
- authentik_client/models/endpoint_device_request.py +33 -8
- authentik_client/models/endpoint_request.py +1 -1
- authentik_client/models/endpoint_stage.py +134 -0
- authentik_client/models/endpoint_stage_request.py +95 -0
- authentik_client/models/{extra_user_object_permission_request.py → enroll_request.py} +10 -8
- authentik_client/models/enrollment_token.py +120 -0
- authentik_client/models/enrollment_token_request.py +109 -0
- authentik_client/models/error_detail.py +1 -1
- authentik_client/models/error_reporting_config.py +1 -1
- authentik_client/models/event.py +1 -1
- authentik_client/models/event_actions.py +2 -1
- authentik_client/models/event_matcher_policy.py +1 -1
- authentik_client/models/event_matcher_policy_request.py +1 -1
- authentik_client/models/event_request.py +1 -1
- authentik_client/models/event_top_per_user.py +1 -1
- authentik_client/models/event_volume.py +1 -1
- authentik_client/models/events_requested_enum.py +1 -1
- authentik_client/models/expiring_base_grant_model.py +1 -1
- authentik_client/models/expression_policy.py +1 -1
- authentik_client/models/expression_policy_request.py +1 -1
- authentik_client/models/extra_role_object_permission.py +3 -3
- authentik_client/models/file_list.py +92 -0
- authentik_client/models/flow.py +7 -5
- authentik_client/models/flow_challenge_response_request.py +35 -21
- authentik_client/models/flow_designation_enum.py +1 -1
- authentik_client/models/flow_diagram.py +1 -1
- authentik_client/models/flow_error_challenge.py +1 -1
- authentik_client/models/flow_import_result.py +1 -1
- authentik_client/models/flow_inspection.py +1 -1
- authentik_client/models/flow_inspector_plan.py +1 -1
- authentik_client/models/flow_layout_enum.py +1 -1
- authentik_client/models/flow_request.py +6 -4
- authentik_client/models/flow_set.py +6 -6
- authentik_client/models/flow_stage_binding.py +1 -1
- authentik_client/models/flow_stage_binding_request.py +1 -1
- authentik_client/models/footer_link.py +1 -1
- authentik_client/models/frame_challenge.py +1 -1
- authentik_client/models/frame_challenge_response_request.py +1 -1
- authentik_client/models/generic_error.py +1 -1
- authentik_client/models/geo_ip_policy.py +1 -1
- authentik_client/models/geo_ip_policy_request.py +1 -1
- authentik_client/models/geoip_binding_enum.py +1 -1
- authentik_client/models/global_task_status.py +1 -1
- authentik_client/models/google_endpoint_device.py +92 -0
- authentik_client/models/google_endpoint_device_request.py +92 -0
- authentik_client/models/google_workspace_provider.py +6 -2
- authentik_client/models/google_workspace_provider_group.py +1 -1
- authentik_client/models/google_workspace_provider_group_request.py +1 -1
- authentik_client/models/google_workspace_provider_mapping.py +1 -1
- authentik_client/models/google_workspace_provider_mapping_request.py +1 -1
- authentik_client/models/google_workspace_provider_request.py +6 -2
- authentik_client/models/google_workspace_provider_user.py +1 -1
- authentik_client/models/google_workspace_provider_user_request.py +1 -1
- authentik_client/models/group.py +23 -19
- authentik_client/models/group_kerberos_source_connection.py +1 -1
- authentik_client/models/group_kerberos_source_connection_request.py +1 -1
- authentik_client/models/group_ldap_source_connection.py +1 -1
- authentik_client/models/group_ldap_source_connection_request.py +1 -1
- authentik_client/models/group_matching_mode_enum.py +1 -1
- authentik_client/models/group_o_auth_source_connection.py +1 -1
- authentik_client/models/group_o_auth_source_connection_request.py +1 -1
- authentik_client/models/group_plex_source_connection.py +1 -1
- authentik_client/models/group_plex_source_connection_request.py +1 -1
- authentik_client/models/group_request.py +5 -12
- authentik_client/models/group_saml_source_connection.py +1 -1
- authentik_client/models/group_saml_source_connection_request.py +1 -1
- authentik_client/models/group_source_connection.py +1 -1
- authentik_client/models/group_source_connection_request.py +1 -1
- authentik_client/models/group_telegram_source_connection.py +1 -1
- authentik_client/models/group_telegram_source_connection_request.py +1 -1
- authentik_client/models/hardware.py +98 -0
- authentik_client/models/hardware_request.py +99 -0
- authentik_client/models/identification_challenge.py +10 -3
- authentik_client/models/identification_challenge_response_request.py +16 -4
- authentik_client/models/identification_stage.py +13 -4
- authentik_client/models/identification_stage_request.py +10 -13
- authentik_client/models/iframe_logout_challenge.py +1 -1
- authentik_client/models/iframe_logout_challenge_response_request.py +1 -1
- authentik_client/models/impersonation_request.py +1 -1
- authentik_client/models/initial_permissions.py +2 -5
- authentik_client/models/initial_permissions_request.py +2 -5
- authentik_client/models/install_id.py +1 -1
- authentik_client/models/intent_enum.py +1 -1
- authentik_client/models/invalid_response_action_enum.py +1 -1
- authentik_client/models/invitation.py +2 -2
- authentik_client/models/invitation_request.py +2 -2
- authentik_client/models/invitation_stage.py +4 -2
- authentik_client/models/invitation_stage_request.py +2 -12
- authentik_client/models/issuer_mode_enum.py +1 -1
- authentik_client/models/kadmin_type_enum.py +1 -1
- authentik_client/models/kerberos_source.py +13 -6
- authentik_client/models/kerberos_source_property_mapping.py +1 -1
- authentik_client/models/kerberos_source_property_mapping_request.py +1 -1
- authentik_client/models/kerberos_source_request.py +11 -4
- authentik_client/models/{initial_permissions_mode_enum.py → key_type_enum.py} +9 -6
- authentik_client/models/kubernetes_service_connection.py +1 -1
- authentik_client/models/kubernetes_service_connection_request.py +1 -1
- authentik_client/models/last_task_status_enum.py +1 -1
- authentik_client/models/ldap_check_access.py +1 -1
- authentik_client/models/ldap_debug.py +1 -1
- authentik_client/models/ldap_outpost_config.py +1 -1
- authentik_client/models/ldap_provider.py +1 -1
- authentik_client/models/ldap_provider_request.py +1 -1
- authentik_client/models/ldap_source.py +13 -6
- authentik_client/models/ldap_source_property_mapping.py +1 -1
- authentik_client/models/ldap_source_property_mapping_request.py +1 -1
- authentik_client/models/ldap_source_request.py +11 -4
- authentik_client/models/ldapapi_access_mode.py +1 -1
- authentik_client/models/license.py +1 -1
- authentik_client/models/license_flags_enum.py +1 -1
- authentik_client/models/license_forecast.py +1 -1
- authentik_client/models/license_request.py +1 -1
- authentik_client/models/license_summary.py +1 -1
- authentik_client/models/license_summary_status_enum.py +1 -1
- authentik_client/models/link.py +1 -1
- authentik_client/models/log_event.py +1 -1
- authentik_client/models/log_level_enum.py +1 -1
- authentik_client/models/login_challenge_types.py +1 -1
- authentik_client/models/login_source.py +5 -3
- authentik_client/models/matching_mode_enum.py +1 -1
- authentik_client/models/mdm_config_request.py +92 -0
- authentik_client/models/mdm_config_response.py +92 -0
- authentik_client/models/metadata.py +1 -1
- authentik_client/models/microsoft_entra_provider.py +7 -2
- authentik_client/models/microsoft_entra_provider_group.py +1 -1
- authentik_client/models/microsoft_entra_provider_group_request.py +1 -1
- authentik_client/models/microsoft_entra_provider_mapping.py +1 -1
- authentik_client/models/microsoft_entra_provider_mapping_request.py +1 -1
- authentik_client/models/microsoft_entra_provider_request.py +6 -2
- authentik_client/models/microsoft_entra_provider_user.py +1 -1
- authentik_client/models/microsoft_entra_provider_user_request.py +1 -1
- authentik_client/models/model_enum.py +8 -1
- authentik_client/models/model_request.py +1 -1
- authentik_client/models/mutual_tls_stage.py +6 -4
- authentik_client/models/mutual_tls_stage_request.py +4 -14
- authentik_client/models/native_logout_challenge.py +1 -1
- authentik_client/models/native_logout_challenge_response_request.py +1 -1
- authentik_client/models/network.py +102 -0
- authentik_client/models/network_binding_enum.py +1 -1
- authentik_client/models/network_interface.py +94 -0
- authentik_client/models/network_interface_request.py +95 -0
- authentik_client/models/network_request.py +103 -0
- authentik_client/models/not_configured_action_enum.py +1 -1
- authentik_client/models/notification.py +18 -3
- authentik_client/models/notification_request.py +18 -3
- authentik_client/models/notification_rule.py +1 -1
- authentik_client/models/notification_rule_request.py +1 -1
- authentik_client/models/notification_transport.py +1 -1
- authentik_client/models/notification_transport_mode_enum.py +1 -1
- authentik_client/models/notification_transport_request.py +1 -1
- authentik_client/models/notification_transport_test.py +1 -1
- authentik_client/models/notification_webhook_mapping.py +1 -1
- authentik_client/models/notification_webhook_mapping_request.py +1 -1
- authentik_client/models/o_auth2_provider.py +1 -1
- authentik_client/models/o_auth2_provider_logout_method_enum.py +1 -1
- authentik_client/models/o_auth2_provider_request.py +1 -1
- authentik_client/models/o_auth2_provider_setup_urls.py +1 -1
- authentik_client/models/o_auth_device_code_challenge.py +1 -1
- authentik_client/models/o_auth_device_code_challenge_response_request.py +1 -1
- authentik_client/models/o_auth_device_code_finish_challenge.py +1 -1
- authentik_client/models/o_auth_device_code_finish_challenge_response_request.py +1 -1
- authentik_client/models/o_auth_source.py +12 -8
- authentik_client/models/o_auth_source_property_mapping.py +1 -1
- authentik_client/models/o_auth_source_property_mapping_request.py +1 -1
- authentik_client/models/o_auth_source_request.py +7 -3
- authentik_client/models/open_id_connect_configuration.py +1 -1
- authentik_client/models/operating_system.py +95 -0
- authentik_client/models/operating_system_request.py +96 -0
- authentik_client/models/outgoing_sync_delete_action.py +1 -1
- authentik_client/models/outpost.py +1 -1
- authentik_client/models/outpost_default_config.py +1 -1
- authentik_client/models/outpost_health.py +1 -1
- authentik_client/models/outpost_request.py +1 -1
- authentik_client/models/outpost_type_enum.py +1 -1
- authentik_client/models/{paginated_user_assigned_object_permission_list.py → paginated_agent_connector_list.py} +8 -8
- authentik_client/models/paginated_application_entitlement_list.py +1 -1
- authentik_client/models/paginated_application_list.py +1 -1
- authentik_client/models/paginated_authenticated_session_list.py +1 -1
- authentik_client/models/paginated_authenticator_duo_stage_list.py +1 -1
- authentik_client/models/paginated_authenticator_email_stage_list.py +1 -1
- authentik_client/models/paginated_authenticator_endpoint_gdtc_stage_list.py +1 -1
- authentik_client/models/paginated_authenticator_sms_stage_list.py +1 -1
- authentik_client/models/paginated_authenticator_static_stage_list.py +1 -1
- authentik_client/models/paginated_authenticator_totp_stage_list.py +1 -1
- authentik_client/models/paginated_authenticator_validate_stage_list.py +1 -1
- authentik_client/models/paginated_authenticator_web_authn_stage_list.py +1 -1
- authentik_client/models/paginated_blueprint_instance_list.py +1 -1
- authentik_client/models/paginated_brand_list.py +1 -1
- authentik_client/models/paginated_captcha_stage_list.py +1 -1
- authentik_client/models/paginated_certificate_key_pair_list.py +1 -1
- authentik_client/models/paginated_connection_token_list.py +1 -1
- authentik_client/models/{paginated_extra_user_object_permission_list.py → paginated_connector_list.py} +11 -9
- authentik_client/models/paginated_consent_stage_list.py +1 -1
- authentik_client/models/paginated_data_export_list.py +104 -0
- authentik_client/models/paginated_deny_stage_list.py +1 -1
- authentik_client/models/paginated_device_access_group_list.py +104 -0
- authentik_client/models/paginated_device_user_binding_list.py +104 -0
- authentik_client/models/paginated_docker_service_connection_list.py +1 -1
- authentik_client/models/paginated_domain_list.py +1 -1
- authentik_client/models/paginated_dummy_policy_list.py +1 -1
- authentik_client/models/paginated_dummy_stage_list.py +1 -1
- authentik_client/models/paginated_duo_device_list.py +1 -1
- authentik_client/models/paginated_email_device_list.py +1 -1
- authentik_client/models/paginated_email_stage_list.py +1 -1
- authentik_client/models/paginated_endpoint_device_list.py +1 -1
- authentik_client/models/paginated_endpoint_list.py +1 -1
- authentik_client/models/paginated_endpoint_stage_list.py +104 -0
- authentik_client/models/paginated_enrollment_token_list.py +104 -0
- authentik_client/models/paginated_event_list.py +1 -1
- authentik_client/models/paginated_event_matcher_policy_list.py +1 -1
- authentik_client/models/paginated_expiring_base_grant_model_list.py +1 -1
- authentik_client/models/paginated_expression_policy_list.py +1 -1
- authentik_client/models/paginated_extra_role_object_permission_list.py +1 -1
- authentik_client/models/paginated_flow_list.py +1 -1
- authentik_client/models/paginated_flow_stage_binding_list.py +1 -1
- authentik_client/models/paginated_geo_ip_policy_list.py +1 -1
- authentik_client/models/paginated_google_endpoint_device_list.py +104 -0
- authentik_client/models/paginated_google_workspace_provider_group_list.py +1 -1
- authentik_client/models/paginated_google_workspace_provider_list.py +1 -1
- authentik_client/models/paginated_google_workspace_provider_mapping_list.py +1 -1
- authentik_client/models/paginated_google_workspace_provider_user_list.py +1 -1
- authentik_client/models/paginated_group_kerberos_source_connection_list.py +1 -1
- authentik_client/models/paginated_group_ldap_source_connection_list.py +1 -1
- authentik_client/models/paginated_group_list.py +1 -1
- authentik_client/models/paginated_group_o_auth_source_connection_list.py +1 -1
- authentik_client/models/paginated_group_plex_source_connection_list.py +1 -1
- authentik_client/models/paginated_group_saml_source_connection_list.py +1 -1
- authentik_client/models/paginated_group_source_connection_list.py +1 -1
- authentik_client/models/paginated_group_telegram_source_connection_list.py +1 -1
- authentik_client/models/paginated_identification_stage_list.py +1 -1
- authentik_client/models/paginated_initial_permissions_list.py +1 -1
- authentik_client/models/paginated_invitation_list.py +1 -1
- authentik_client/models/paginated_invitation_stage_list.py +1 -1
- authentik_client/models/paginated_kerberos_source_list.py +1 -1
- authentik_client/models/paginated_kerberos_source_property_mapping_list.py +1 -1
- authentik_client/models/paginated_kubernetes_service_connection_list.py +1 -1
- authentik_client/models/paginated_ldap_outpost_config_list.py +1 -1
- authentik_client/models/paginated_ldap_provider_list.py +1 -1
- authentik_client/models/paginated_ldap_source_list.py +1 -1
- authentik_client/models/paginated_ldap_source_property_mapping_list.py +1 -1
- authentik_client/models/paginated_license_list.py +1 -1
- authentik_client/models/paginated_microsoft_entra_provider_group_list.py +1 -1
- authentik_client/models/paginated_microsoft_entra_provider_list.py +1 -1
- authentik_client/models/paginated_microsoft_entra_provider_mapping_list.py +1 -1
- authentik_client/models/paginated_microsoft_entra_provider_user_list.py +1 -1
- authentik_client/models/paginated_mutual_tls_stage_list.py +1 -1
- authentik_client/models/paginated_notification_list.py +1 -1
- authentik_client/models/paginated_notification_rule_list.py +1 -1
- authentik_client/models/paginated_notification_transport_list.py +1 -1
- authentik_client/models/paginated_notification_webhook_mapping_list.py +1 -1
- authentik_client/models/paginated_o_auth2_provider_list.py +1 -1
- authentik_client/models/paginated_o_auth_source_list.py +1 -1
- authentik_client/models/paginated_o_auth_source_property_mapping_list.py +1 -1
- authentik_client/models/paginated_outpost_list.py +1 -1
- authentik_client/models/paginated_password_expiry_policy_list.py +1 -1
- authentik_client/models/paginated_password_policy_list.py +1 -1
- authentik_client/models/paginated_password_stage_list.py +1 -1
- authentik_client/models/paginated_permission_list.py +1 -1
- authentik_client/models/paginated_plex_source_list.py +1 -1
- authentik_client/models/paginated_plex_source_property_mapping_list.py +1 -1
- authentik_client/models/paginated_policy_binding_list.py +1 -1
- authentik_client/models/paginated_policy_list.py +1 -1
- authentik_client/models/paginated_prompt_list.py +1 -1
- authentik_client/models/paginated_prompt_stage_list.py +1 -1
- authentik_client/models/paginated_property_mapping_list.py +1 -1
- authentik_client/models/paginated_provider_list.py +1 -1
- authentik_client/models/paginated_proxy_outpost_config_list.py +1 -1
- authentik_client/models/paginated_proxy_provider_list.py +1 -1
- authentik_client/models/paginated_rac_property_mapping_list.py +1 -1
- authentik_client/models/paginated_rac_provider_list.py +1 -1
- authentik_client/models/paginated_radius_outpost_config_list.py +1 -1
- authentik_client/models/paginated_radius_provider_list.py +1 -1
- authentik_client/models/paginated_radius_provider_property_mapping_list.py +1 -1
- authentik_client/models/paginated_redirect_stage_list.py +1 -1
- authentik_client/models/paginated_reputation_list.py +1 -1
- authentik_client/models/paginated_reputation_policy_list.py +1 -1
- authentik_client/models/paginated_role_assigned_object_permission_list.py +1 -1
- authentik_client/models/paginated_role_list.py +1 -1
- authentik_client/models/paginated_saml_property_mapping_list.py +1 -1
- authentik_client/models/paginated_saml_provider_list.py +1 -1
- authentik_client/models/paginated_saml_source_list.py +1 -1
- authentik_client/models/paginated_saml_source_property_mapping_list.py +1 -1
- authentik_client/models/paginated_schedule_list.py +1 -1
- authentik_client/models/paginated_scim_mapping_list.py +1 -1
- authentik_client/models/paginated_scim_provider_group_list.py +1 -1
- authentik_client/models/paginated_scim_provider_list.py +1 -1
- authentik_client/models/paginated_scim_provider_user_list.py +1 -1
- authentik_client/models/paginated_scim_source_group_list.py +1 -1
- authentik_client/models/paginated_scim_source_list.py +1 -1
- authentik_client/models/paginated_scim_source_property_mapping_list.py +1 -1
- authentik_client/models/paginated_scim_source_user_list.py +1 -1
- authentik_client/models/paginated_scope_mapping_list.py +1 -1
- authentik_client/models/paginated_service_connection_list.py +1 -1
- authentik_client/models/paginated_sms_device_list.py +1 -1
- authentik_client/models/paginated_source_list.py +1 -1
- authentik_client/models/paginated_source_stage_list.py +1 -1
- authentik_client/models/paginated_ssf_provider_list.py +1 -1
- authentik_client/models/paginated_ssf_stream_list.py +1 -1
- authentik_client/models/paginated_stage_list.py +1 -1
- authentik_client/models/paginated_static_device_list.py +1 -1
- authentik_client/models/paginated_task_list.py +1 -1
- authentik_client/models/paginated_telegram_source_list.py +1 -1
- authentik_client/models/paginated_telegram_source_property_mapping_list.py +1 -1
- authentik_client/models/paginated_tenant_list.py +1 -1
- authentik_client/models/paginated_token_list.py +1 -1
- authentik_client/models/paginated_token_model_list.py +1 -1
- authentik_client/models/paginated_totp_device_list.py +1 -1
- authentik_client/models/paginated_unique_password_policy_list.py +1 -1
- authentik_client/models/paginated_user_consent_list.py +1 -1
- authentik_client/models/paginated_user_delete_stage_list.py +1 -1
- authentik_client/models/paginated_user_kerberos_source_connection_list.py +1 -1
- authentik_client/models/paginated_user_ldap_source_connection_list.py +1 -1
- authentik_client/models/paginated_user_list.py +1 -1
- authentik_client/models/paginated_user_login_stage_list.py +1 -1
- authentik_client/models/paginated_user_logout_stage_list.py +1 -1
- authentik_client/models/paginated_user_o_auth_source_connection_list.py +1 -1
- authentik_client/models/paginated_user_plex_source_connection_list.py +1 -1
- authentik_client/models/paginated_user_saml_source_connection_list.py +1 -1
- authentik_client/models/paginated_user_source_connection_list.py +1 -1
- authentik_client/models/paginated_user_telegram_source_connection_list.py +1 -1
- authentik_client/models/paginated_user_write_stage_list.py +1 -1
- authentik_client/models/paginated_web_authn_device_list.py +1 -1
- authentik_client/models/paginated_web_authn_device_type_list.py +1 -1
- authentik_client/models/pagination.py +1 -1
- authentik_client/models/partial_group.py +2 -18
- authentik_client/models/partial_user.py +1 -1
- authentik_client/models/password_challenge.py +1 -1
- authentik_client/models/password_challenge_response_request.py +1 -1
- authentik_client/models/password_expiry_policy.py +1 -1
- authentik_client/models/password_expiry_policy_request.py +1 -1
- authentik_client/models/password_policy.py +1 -1
- authentik_client/models/password_policy_request.py +1 -1
- authentik_client/models/password_stage.py +4 -2
- authentik_client/models/password_stage_request.py +2 -12
- authentik_client/models/patched_agent_connector_request.py +126 -0
- authentik_client/models/patched_application_entitlement_request.py +1 -1
- authentik_client/models/patched_application_request.py +5 -3
- authentik_client/models/patched_authenticator_duo_stage_request.py +2 -12
- authentik_client/models/patched_authenticator_email_stage_request.py +2 -12
- authentik_client/models/patched_authenticator_endpoint_gdtc_stage_request.py +2 -12
- authentik_client/models/patched_authenticator_sms_stage_request.py +2 -12
- authentik_client/models/patched_authenticator_static_stage_request.py +2 -12
- authentik_client/models/patched_authenticator_totp_stage_request.py +2 -12
- authentik_client/models/patched_authenticator_validate_stage_request.py +2 -12
- authentik_client/models/patched_authenticator_web_authn_stage_request.py +2 -12
- authentik_client/models/patched_blueprint_instance_request.py +1 -1
- authentik_client/models/patched_brand_request.py +1 -1
- authentik_client/models/patched_captcha_stage_request.py +2 -12
- authentik_client/models/patched_certificate_key_pair_request.py +1 -1
- authentik_client/models/patched_connection_token_request.py +1 -1
- authentik_client/models/patched_consent_stage_request.py +2 -12
- authentik_client/models/patched_deny_stage_request.py +2 -12
- authentik_client/models/{patched_extra_role_object_permission_request.py → patched_device_access_group_request.py} +8 -8
- authentik_client/models/patched_device_user_binding_request.py +123 -0
- authentik_client/models/patched_docker_service_connection_request.py +1 -1
- authentik_client/models/patched_domain_request.py +1 -1
- authentik_client/models/patched_dummy_policy_request.py +1 -1
- authentik_client/models/patched_dummy_stage_request.py +2 -12
- authentik_client/models/patched_duo_device_request.py +1 -1
- authentik_client/models/patched_email_device_request.py +1 -1
- authentik_client/models/patched_email_stage_request.py +2 -12
- authentik_client/models/patched_endpoint_device_request.py +33 -8
- authentik_client/models/patched_endpoint_request.py +1 -1
- authentik_client/models/patched_endpoint_stage_request.py +95 -0
- authentik_client/models/patched_enrollment_token_request.py +109 -0
- authentik_client/models/patched_event_matcher_policy_request.py +1 -1
- authentik_client/models/patched_event_request.py +1 -1
- authentik_client/models/patched_expression_policy_request.py +1 -1
- authentik_client/models/patched_flow_request.py +6 -4
- authentik_client/models/patched_flow_stage_binding_request.py +1 -1
- authentik_client/models/patched_geo_ip_policy_request.py +1 -1
- authentik_client/models/patched_google_endpoint_device_request.py +92 -0
- authentik_client/models/patched_google_workspace_provider_mapping_request.py +1 -1
- authentik_client/models/patched_google_workspace_provider_request.py +6 -2
- authentik_client/models/patched_group_kerberos_source_connection_request.py +1 -1
- authentik_client/models/patched_group_ldap_source_connection_request.py +1 -1
- authentik_client/models/patched_group_o_auth_source_connection_request.py +1 -1
- authentik_client/models/patched_group_plex_source_connection_request.py +1 -1
- authentik_client/models/patched_group_request.py +5 -12
- authentik_client/models/patched_group_saml_source_connection_request.py +1 -1
- authentik_client/models/patched_group_source_connection_request.py +1 -1
- authentik_client/models/patched_group_telegram_source_connection_request.py +1 -1
- authentik_client/models/patched_identification_stage_request.py +10 -13
- authentik_client/models/patched_initial_permissions_request.py +2 -5
- authentik_client/models/patched_invitation_request.py +2 -2
- authentik_client/models/patched_invitation_stage_request.py +2 -12
- authentik_client/models/patched_kerberos_source_property_mapping_request.py +1 -1
- authentik_client/models/patched_kerberos_source_request.py +11 -4
- authentik_client/models/patched_kubernetes_service_connection_request.py +1 -1
- authentik_client/models/patched_ldap_provider_request.py +1 -1
- authentik_client/models/patched_ldap_source_property_mapping_request.py +1 -1
- authentik_client/models/patched_ldap_source_request.py +11 -4
- authentik_client/models/patched_license_request.py +1 -1
- authentik_client/models/patched_microsoft_entra_provider_mapping_request.py +1 -1
- authentik_client/models/patched_microsoft_entra_provider_request.py +6 -2
- authentik_client/models/patched_mutual_tls_stage_request.py +4 -14
- authentik_client/models/patched_notification_request.py +18 -3
- authentik_client/models/patched_notification_rule_request.py +1 -1
- authentik_client/models/patched_notification_transport_request.py +1 -1
- authentik_client/models/patched_notification_webhook_mapping_request.py +1 -1
- authentik_client/models/patched_o_auth2_provider_request.py +1 -1
- authentik_client/models/patched_o_auth_source_property_mapping_request.py +1 -1
- authentik_client/models/patched_o_auth_source_request.py +7 -3
- authentik_client/models/patched_outpost_request.py +1 -1
- authentik_client/models/patched_password_expiry_policy_request.py +1 -1
- authentik_client/models/patched_password_policy_request.py +1 -1
- authentik_client/models/patched_password_stage_request.py +2 -12
- authentik_client/models/patched_permission_assign_request.py +1 -1
- authentik_client/models/patched_plex_source_property_mapping_request.py +1 -1
- authentik_client/models/patched_plex_source_request.py +8 -4
- authentik_client/models/patched_policy_binding_request.py +1 -1
- authentik_client/models/patched_prompt_request.py +1 -1
- authentik_client/models/patched_prompt_stage_request.py +2 -12
- authentik_client/models/patched_proxy_provider_request.py +1 -1
- authentik_client/models/patched_rac_property_mapping_request.py +1 -1
- authentik_client/models/patched_rac_provider_request.py +1 -1
- authentik_client/models/patched_radius_provider_property_mapping_request.py +1 -1
- authentik_client/models/patched_radius_provider_request.py +1 -1
- authentik_client/models/patched_redirect_stage_request.py +2 -12
- authentik_client/models/patched_reputation_policy_request.py +1 -1
- authentik_client/models/patched_role_request.py +1 -1
- authentik_client/models/patched_saml_property_mapping_request.py +1 -1
- authentik_client/models/patched_saml_provider_request.py +1 -1
- authentik_client/models/patched_saml_source_property_mapping_request.py +1 -1
- authentik_client/models/patched_saml_source_request.py +7 -3
- authentik_client/models/patched_schedule_request.py +1 -1
- authentik_client/models/patched_scim_mapping_request.py +1 -1
- authentik_client/models/patched_scim_provider_request.py +8 -2
- authentik_client/models/patched_scim_source_group_request.py +1 -1
- authentik_client/models/patched_scim_source_property_mapping_request.py +1 -1
- authentik_client/models/patched_scim_source_request.py +2 -2
- authentik_client/models/patched_scim_source_user_request.py +1 -1
- authentik_client/models/patched_scope_mapping_request.py +1 -1
- authentik_client/models/patched_settings_request.py +6 -2
- authentik_client/models/patched_settings_request_flags.py +1 -1
- authentik_client/models/patched_sms_device_request.py +1 -1
- authentik_client/models/patched_source_stage_request.py +2 -12
- authentik_client/models/patched_ssf_provider_request.py +1 -1
- authentik_client/models/patched_static_device_request.py +1 -1
- authentik_client/models/patched_telegram_source_property_mapping_request.py +1 -1
- authentik_client/models/patched_telegram_source_request.py +8 -4
- authentik_client/models/patched_tenant_request.py +1 -1
- authentik_client/models/patched_token_request.py +1 -1
- authentik_client/models/patched_totp_device_request.py +1 -1
- authentik_client/models/patched_unique_password_policy_request.py +1 -1
- authentik_client/models/patched_user_delete_stage_request.py +3 -13
- authentik_client/models/patched_user_kerberos_source_connection_request.py +1 -1
- authentik_client/models/patched_user_ldap_source_connection_request.py +1 -1
- authentik_client/models/patched_user_login_stage_request.py +2 -12
- authentik_client/models/patched_user_logout_stage_request.py +3 -13
- authentik_client/models/patched_user_o_auth_source_connection_request.py +1 -1
- authentik_client/models/patched_user_plex_source_connection_request.py +1 -1
- authentik_client/models/patched_user_request.py +4 -2
- authentik_client/models/patched_user_saml_source_connection_request.py +1 -1
- authentik_client/models/patched_user_source_connection_request.py +1 -1
- authentik_client/models/patched_user_telegram_source_connection_request.py +1 -1
- authentik_client/models/patched_user_write_stage_request.py +2 -12
- authentik_client/models/patched_web_authn_device_request.py +1 -1
- authentik_client/models/permission.py +1 -1
- authentik_client/models/permission_assign_request.py +1 -1
- authentik_client/models/permission_assign_result.py +1 -1
- authentik_client/models/pkce_method_enum.py +1 -1
- authentik_client/models/plex_authentication_challenge.py +1 -1
- authentik_client/models/plex_authentication_challenge_response_request.py +1 -1
- authentik_client/models/plex_source.py +9 -5
- authentik_client/models/plex_source_property_mapping.py +1 -1
- authentik_client/models/plex_source_property_mapping_request.py +1 -1
- authentik_client/models/plex_source_request.py +8 -4
- authentik_client/models/plex_token_redeem_request.py +1 -1
- authentik_client/models/policy.py +1 -1
- authentik_client/models/policy_binding.py +1 -1
- authentik_client/models/policy_binding_request.py +1 -1
- authentik_client/models/policy_engine_mode.py +1 -1
- authentik_client/models/policy_test_request.py +1 -1
- authentik_client/models/policy_test_result.py +1 -1
- authentik_client/models/process.py +92 -0
- authentik_client/models/process_request.py +93 -0
- authentik_client/models/prompt.py +1 -1
- authentik_client/models/prompt_challenge.py +1 -1
- authentik_client/models/prompt_challenge_response_request.py +1 -1
- authentik_client/models/prompt_choice.py +1 -1
- authentik_client/models/prompt_request.py +1 -1
- authentik_client/models/prompt_stage.py +4 -2
- authentik_client/models/prompt_stage_request.py +2 -12
- authentik_client/models/prompt_type_enum.py +1 -1
- authentik_client/models/property_mapping.py +1 -1
- authentik_client/models/property_mapping_preview.py +1 -1
- authentik_client/models/property_mapping_test_request.py +1 -1
- authentik_client/models/property_mapping_test_result.py +1 -1
- authentik_client/models/protocol_enum.py +1 -1
- authentik_client/models/provider.py +1 -1
- authentik_client/models/provider_enum.py +1 -1
- authentik_client/models/provider_model_enum.py +1 -1
- authentik_client/models/provider_type_enum.py +3 -1
- authentik_client/models/proxy_mode.py +1 -1
- authentik_client/models/proxy_outpost_config.py +1 -1
- authentik_client/models/proxy_provider.py +1 -1
- authentik_client/models/proxy_provider_request.py +1 -1
- authentik_client/models/rac_property_mapping.py +1 -1
- authentik_client/models/rac_property_mapping_request.py +1 -1
- authentik_client/models/rac_provider.py +1 -1
- authentik_client/models/rac_provider_request.py +1 -1
- authentik_client/models/radius_check_access.py +1 -1
- authentik_client/models/radius_outpost_config.py +1 -1
- authentik_client/models/radius_provider.py +1 -1
- authentik_client/models/radius_provider_property_mapping.py +1 -1
- authentik_client/models/radius_provider_property_mapping_request.py +1 -1
- authentik_client/models/radius_provider_request.py +1 -1
- authentik_client/models/redirect_challenge.py +1 -1
- authentik_client/models/redirect_challenge_response_request.py +1 -1
- authentik_client/models/redirect_stage.py +4 -2
- authentik_client/models/redirect_stage_mode_enum.py +1 -1
- authentik_client/models/redirect_stage_request.py +2 -12
- authentik_client/models/redirect_uri.py +1 -1
- authentik_client/models/redirect_uri_request.py +1 -1
- authentik_client/models/{group_child.py → related_group.py} +5 -5
- authentik_client/models/reputation.py +1 -1
- authentik_client/models/reputation_policy.py +1 -1
- authentik_client/models/reputation_policy_request.py +1 -1
- authentik_client/models/requested_by.py +100 -0
- authentik_client/models/resident_key_requirement_enum.py +1 -1
- authentik_client/models/role.py +1 -1
- authentik_client/models/role_assigned_object_permission.py +20 -10
- authentik_client/models/{user_object_permission.py → role_model_permission.py} +6 -8
- authentik_client/models/role_object_permission.py +1 -1
- authentik_client/models/role_request.py +1 -1
- authentik_client/models/saml_bindings_enum.py +1 -1
- authentik_client/models/saml_metadata.py +1 -1
- authentik_client/models/saml_name_id_policy_enum.py +1 -1
- authentik_client/models/saml_property_mapping.py +1 -1
- authentik_client/models/saml_property_mapping_request.py +1 -1
- authentik_client/models/saml_provider.py +1 -1
- authentik_client/models/saml_provider_logout_method_enum.py +1 -1
- authentik_client/models/saml_provider_request.py +1 -1
- authentik_client/models/saml_source.py +9 -5
- authentik_client/models/saml_source_property_mapping.py +1 -1
- authentik_client/models/saml_source_property_mapping_request.py +1 -1
- authentik_client/models/saml_source_request.py +7 -3
- authentik_client/models/schedule.py +1 -1
- authentik_client/models/schedule_request.py +1 -1
- authentik_client/models/scim_authentication_mode_enum.py +1 -1
- authentik_client/models/scim_mapping.py +1 -1
- authentik_client/models/scim_mapping_request.py +1 -1
- authentik_client/models/scim_provider.py +9 -2
- authentik_client/models/scim_provider_group.py +1 -1
- authentik_client/models/scim_provider_group_request.py +1 -1
- authentik_client/models/scim_provider_request.py +8 -2
- authentik_client/models/scim_provider_user.py +1 -1
- authentik_client/models/scim_provider_user_request.py +1 -1
- authentik_client/models/scim_source.py +2 -2
- authentik_client/models/scim_source_group.py +1 -1
- authentik_client/models/scim_source_group_request.py +1 -1
- authentik_client/models/scim_source_property_mapping.py +1 -1
- authentik_client/models/scim_source_property_mapping_request.py +1 -1
- authentik_client/models/scim_source_request.py +2 -2
- authentik_client/models/scim_source_user.py +1 -1
- authentik_client/models/scim_source_user_request.py +1 -1
- authentik_client/models/scope_mapping.py +1 -1
- authentik_client/models/scope_mapping_request.py +1 -1
- authentik_client/models/selectable_stage.py +1 -1
- authentik_client/models/service_connection.py +1 -1
- authentik_client/models/service_connection_state.py +1 -1
- authentik_client/models/session_end_challenge.py +1 -1
- authentik_client/models/session_user.py +1 -1
- authentik_client/models/settings.py +6 -2
- authentik_client/models/settings_request.py +6 -2
- authentik_client/models/severity_enum.py +1 -1
- authentik_client/models/shell_challenge.py +1 -1
- authentik_client/models/signature_algorithm_enum.py +1 -1
- authentik_client/models/sms_device.py +1 -1
- authentik_client/models/sms_device_request.py +1 -1
- authentik_client/models/software.py +94 -0
- authentik_client/models/software_request.py +95 -0
- authentik_client/models/source.py +13 -9
- authentik_client/models/source_stage.py +4 -2
- authentik_client/models/source_stage_request.py +2 -12
- authentik_client/models/source_type.py +1 -1
- authentik_client/models/ssf_provider.py +1 -1
- authentik_client/models/ssf_provider_request.py +1 -1
- authentik_client/models/ssf_stream.py +1 -1
- authentik_client/models/stage.py +5 -3
- authentik_client/models/{mutual_tls_stage_mode_enum.py → stage_mode_enum.py} +4 -4
- authentik_client/models/stage_prompt.py +1 -1
- authentik_client/models/state_enum.py +1 -1
- authentik_client/models/static_device.py +1 -1
- authentik_client/models/static_device_request.py +1 -1
- authentik_client/models/static_device_token.py +1 -1
- authentik_client/models/sub_mode_enum.py +1 -1
- authentik_client/models/sync_object_model_enum.py +1 -1
- authentik_client/models/sync_object_request.py +1 -1
- authentik_client/models/sync_object_result.py +1 -1
- authentik_client/models/sync_outgoing_trigger_mode_enum.py +39 -0
- authentik_client/models/sync_status.py +1 -1
- authentik_client/models/system_info.py +1 -1
- authentik_client/models/system_info_runtime.py +1 -1
- authentik_client/models/task.py +1 -1
- authentik_client/models/task_aggregated_status_enum.py +1 -1
- authentik_client/models/telegram_auth_request.py +101 -0
- authentik_client/models/telegram_challenge_response_request.py +5 -5
- authentik_client/models/telegram_login_challenge.py +1 -1
- authentik_client/models/telegram_source.py +12 -8
- authentik_client/models/telegram_source_property_mapping.py +1 -1
- authentik_client/models/telegram_source_property_mapping_request.py +1 -1
- authentik_client/models/telegram_source_request.py +8 -4
- authentik_client/models/tenant.py +1 -1
- authentik_client/models/tenant_admin_group_request_request.py +1 -1
- authentik_client/models/tenant_recovery_key_request_request.py +1 -1
- authentik_client/models/tenant_recovery_key_response.py +1 -1
- authentik_client/models/tenant_request.py +1 -1
- authentik_client/models/token.py +1 -1
- authentik_client/models/token_model.py +1 -1
- authentik_client/models/token_request.py +1 -1
- authentik_client/models/token_set_key_request.py +2 -2
- authentik_client/models/token_view.py +1 -1
- authentik_client/models/totp_device.py +1 -1
- authentik_client/models/totp_device_request.py +1 -1
- authentik_client/models/transaction_application_request.py +1 -1
- authentik_client/models/transaction_application_response.py +1 -1
- authentik_client/models/transaction_policy_binding_request.py +1 -1
- authentik_client/models/type_create.py +5 -3
- authentik_client/models/ui_theme_enum.py +1 -1
- authentik_client/models/unique_password_policy.py +1 -1
- authentik_client/models/unique_password_policy_request.py +1 -1
- authentik_client/models/used_by.py +1 -1
- authentik_client/models/used_by_action_enum.py +2 -1
- authentik_client/models/user.py +21 -2
- authentik_client/models/user_account_request.py +1 -1
- authentik_client/models/user_account_serializer_for_role_request.py +88 -0
- authentik_client/models/user_attribute_enum.py +1 -1
- authentik_client/models/user_consent.py +1 -1
- authentik_client/models/user_creation_mode_enum.py +1 -1
- authentik_client/models/user_delete_stage.py +5 -3
- authentik_client/models/user_delete_stage_request.py +4 -14
- authentik_client/models/user_fields_enum.py +1 -1
- authentik_client/models/user_kerberos_source_connection.py +1 -1
- authentik_client/models/user_kerberos_source_connection_request.py +1 -1
- authentik_client/models/user_ldap_source_connection.py +1 -1
- authentik_client/models/user_ldap_source_connection_request.py +1 -1
- authentik_client/models/user_login_challenge.py +1 -1
- authentik_client/models/user_login_challenge_response_request.py +1 -1
- authentik_client/models/user_login_stage.py +4 -2
- authentik_client/models/user_login_stage_request.py +2 -12
- authentik_client/models/user_logout_stage.py +5 -3
- authentik_client/models/user_logout_stage_request.py +4 -14
- authentik_client/models/user_matching_mode_enum.py +1 -1
- authentik_client/models/user_o_auth_source_connection.py +1 -1
- authentik_client/models/user_o_auth_source_connection_request.py +1 -1
- authentik_client/models/user_password_set_request.py +1 -1
- authentik_client/models/user_path.py +1 -1
- authentik_client/models/user_plex_source_connection.py +1 -1
- authentik_client/models/user_plex_source_connection_request.py +1 -1
- authentik_client/models/user_request.py +4 -2
- authentik_client/models/user_saml_source_connection.py +1 -1
- authentik_client/models/user_saml_source_connection_request.py +1 -1
- authentik_client/models/user_self.py +14 -2
- authentik_client/models/user_self_groups.py +1 -1
- authentik_client/models/user_self_roles.py +94 -0
- authentik_client/models/user_service_account_request.py +1 -1
- authentik_client/models/user_service_account_response.py +1 -1
- authentik_client/models/user_setting.py +1 -1
- authentik_client/models/user_source_connection.py +1 -1
- authentik_client/models/user_source_connection_request.py +1 -1
- authentik_client/models/user_telegram_source_connection.py +1 -1
- authentik_client/models/user_telegram_source_connection_request.py +1 -1
- authentik_client/models/user_type_enum.py +1 -1
- authentik_client/models/user_verification_enum.py +1 -1
- authentik_client/models/user_write_stage.py +4 -2
- authentik_client/models/user_write_stage_request.py +2 -12
- authentik_client/models/validation_error.py +1 -1
- authentik_client/models/version.py +1 -1
- authentik_client/models/version_history.py +1 -1
- authentik_client/models/web_authn_device.py +1 -1
- authentik_client/models/web_authn_device_request.py +1 -1
- authentik_client/models/web_authn_device_type.py +1 -1
- authentik_client/models/worker.py +1 -1
- authentik_client/rest.py +1 -1
- {authentik_client-2025.10.3.dist-info → authentik_client-2025.12.0rc1.dist-info}/METADATA +147 -36
- authentik_client-2025.12.0rc1.dist-info/RECORD +869 -0
- authentik_client/models/flow_set_request.py +0 -114
- authentik_client/models/user_assigned_object_permission.py +0 -132
- authentik_client-2025.10.3.dist-info/RECORD +0 -806
- {authentik_client-2025.10.3.dist-info → authentik_client-2025.12.0rc1.dist-info}/WHEEL +0 -0
- {authentik_client-2025.10.3.dist-info → authentik_client-2025.12.0rc1.dist-info}/licenses/LICENSE +0 -0
- {authentik_client-2025.10.3.dist-info → authentik_client-2025.12.0rc1.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
authentik
|
|
5
|
+
|
|
6
|
+
Making authentication simple.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 2025.12.0-rc1
|
|
9
|
+
Contact: hello@goauthentik.io
|
|
10
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
|
+
|
|
12
|
+
Do not edit the class manually.
|
|
13
|
+
""" # noqa: E501
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
from __future__ import annotations
|
|
17
|
+
import pprint
|
|
18
|
+
import re # noqa: F401
|
|
19
|
+
import json
|
|
20
|
+
|
|
21
|
+
from pydantic import BaseModel, ConfigDict, StrictInt, StrictStr
|
|
22
|
+
from typing import Any, ClassVar, Dict, List, Optional
|
|
23
|
+
from authentik_client.models.contextual_flow_info import ContextualFlowInfo
|
|
24
|
+
from authentik_client.models.error_detail import ErrorDetail
|
|
25
|
+
from typing import Optional, Set
|
|
26
|
+
from typing_extensions import Self
|
|
27
|
+
|
|
28
|
+
class EndpointAgentChallenge(BaseModel):
|
|
29
|
+
"""
|
|
30
|
+
Signed challenge for authentik agent to respond to
|
|
31
|
+
""" # noqa: E501
|
|
32
|
+
flow_info: Optional[ContextualFlowInfo] = None
|
|
33
|
+
component: Optional[StrictStr] = 'ak-stage-endpoint-agent'
|
|
34
|
+
response_errors: Optional[Dict[str, List[ErrorDetail]]] = None
|
|
35
|
+
challenge: StrictStr
|
|
36
|
+
challenge_idle_timeout: StrictInt
|
|
37
|
+
__properties: ClassVar[List[str]] = ["flow_info", "component", "response_errors", "challenge", "challenge_idle_timeout"]
|
|
38
|
+
|
|
39
|
+
model_config = ConfigDict(
|
|
40
|
+
populate_by_name=True,
|
|
41
|
+
validate_assignment=True,
|
|
42
|
+
protected_namespaces=(),
|
|
43
|
+
)
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
def to_str(self) -> str:
|
|
47
|
+
"""Returns the string representation of the model using alias"""
|
|
48
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
49
|
+
|
|
50
|
+
def to_json(self) -> str:
|
|
51
|
+
"""Returns the JSON representation of the model using alias"""
|
|
52
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
53
|
+
return json.dumps(self.to_dict())
|
|
54
|
+
|
|
55
|
+
@classmethod
|
|
56
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
57
|
+
"""Create an instance of EndpointAgentChallenge from a JSON string"""
|
|
58
|
+
return cls.from_dict(json.loads(json_str))
|
|
59
|
+
|
|
60
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
61
|
+
"""Return the dictionary representation of the model using alias.
|
|
62
|
+
|
|
63
|
+
This has the following differences from calling pydantic's
|
|
64
|
+
`self.model_dump(by_alias=True)`:
|
|
65
|
+
|
|
66
|
+
* `None` is only added to the output dict for nullable fields that
|
|
67
|
+
were set at model initialization. Other fields with value `None`
|
|
68
|
+
are ignored.
|
|
69
|
+
"""
|
|
70
|
+
excluded_fields: Set[str] = set([
|
|
71
|
+
])
|
|
72
|
+
|
|
73
|
+
_dict = self.model_dump(
|
|
74
|
+
by_alias=True,
|
|
75
|
+
exclude=excluded_fields,
|
|
76
|
+
exclude_none=True,
|
|
77
|
+
)
|
|
78
|
+
# override the default output from pydantic by calling `to_dict()` of flow_info
|
|
79
|
+
if self.flow_info:
|
|
80
|
+
_dict['flow_info'] = self.flow_info.to_dict()
|
|
81
|
+
# override the default output from pydantic by calling `to_dict()` of each value in response_errors (dict of array)
|
|
82
|
+
_field_dict_of_array = {}
|
|
83
|
+
if self.response_errors:
|
|
84
|
+
for _key_response_errors in self.response_errors:
|
|
85
|
+
if self.response_errors[_key_response_errors] is not None:
|
|
86
|
+
_field_dict_of_array[_key_response_errors] = [
|
|
87
|
+
_item.to_dict() for _item in self.response_errors[_key_response_errors]
|
|
88
|
+
]
|
|
89
|
+
_dict['response_errors'] = _field_dict_of_array
|
|
90
|
+
return _dict
|
|
91
|
+
|
|
92
|
+
@classmethod
|
|
93
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
94
|
+
"""Create an instance of EndpointAgentChallenge from a dict"""
|
|
95
|
+
if obj is None:
|
|
96
|
+
return None
|
|
97
|
+
|
|
98
|
+
if not isinstance(obj, dict):
|
|
99
|
+
return cls.model_validate(obj)
|
|
100
|
+
|
|
101
|
+
_obj = cls.model_validate({
|
|
102
|
+
"flow_info": ContextualFlowInfo.from_dict(obj["flow_info"]) if obj.get("flow_info") is not None else None,
|
|
103
|
+
"component": obj.get("component") if obj.get("component") is not None else 'ak-stage-endpoint-agent',
|
|
104
|
+
"response_errors": dict(
|
|
105
|
+
(_k,
|
|
106
|
+
[ErrorDetail.from_dict(_item) for _item in _v]
|
|
107
|
+
if _v is not None
|
|
108
|
+
else None
|
|
109
|
+
)
|
|
110
|
+
for _k, _v in obj.get("response_errors", {}).items()
|
|
111
|
+
),
|
|
112
|
+
"challenge": obj.get("challenge"),
|
|
113
|
+
"challenge_idle_timeout": obj.get("challenge_idle_timeout")
|
|
114
|
+
})
|
|
115
|
+
return _obj
|
|
116
|
+
|
|
117
|
+
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
authentik
|
|
5
|
+
|
|
6
|
+
Making authentication simple.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 2025.12.0-rc1
|
|
9
|
+
Contact: hello@goauthentik.io
|
|
10
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
|
+
|
|
12
|
+
Do not edit the class manually.
|
|
13
|
+
""" # noqa: E501
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
from __future__ import annotations
|
|
17
|
+
import pprint
|
|
18
|
+
import re # noqa: F401
|
|
19
|
+
import json
|
|
20
|
+
|
|
21
|
+
from pydantic import BaseModel, ConfigDict, Field
|
|
22
|
+
from typing import Any, ClassVar, Dict, List, Optional
|
|
23
|
+
from typing_extensions import Annotated
|
|
24
|
+
from typing import Optional, Set
|
|
25
|
+
from typing_extensions import Self
|
|
26
|
+
|
|
27
|
+
class EndpointAgentChallengeResponseRequest(BaseModel):
|
|
28
|
+
"""
|
|
29
|
+
Response to signed challenge
|
|
30
|
+
""" # noqa: E501
|
|
31
|
+
component: Optional[Annotated[str, Field(min_length=1, strict=True)]] = 'ak-stage-endpoint-agent'
|
|
32
|
+
response: Optional[Annotated[str, Field(min_length=1, strict=True)]] = None
|
|
33
|
+
__properties: ClassVar[List[str]] = ["component", "response"]
|
|
34
|
+
|
|
35
|
+
model_config = ConfigDict(
|
|
36
|
+
populate_by_name=True,
|
|
37
|
+
validate_assignment=True,
|
|
38
|
+
protected_namespaces=(),
|
|
39
|
+
)
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
def to_str(self) -> str:
|
|
43
|
+
"""Returns the string representation of the model using alias"""
|
|
44
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
45
|
+
|
|
46
|
+
def to_json(self) -> str:
|
|
47
|
+
"""Returns the JSON representation of the model using alias"""
|
|
48
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
49
|
+
return json.dumps(self.to_dict())
|
|
50
|
+
|
|
51
|
+
@classmethod
|
|
52
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
53
|
+
"""Create an instance of EndpointAgentChallengeResponseRequest from a JSON string"""
|
|
54
|
+
return cls.from_dict(json.loads(json_str))
|
|
55
|
+
|
|
56
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
57
|
+
"""Return the dictionary representation of the model using alias.
|
|
58
|
+
|
|
59
|
+
This has the following differences from calling pydantic's
|
|
60
|
+
`self.model_dump(by_alias=True)`:
|
|
61
|
+
|
|
62
|
+
* `None` is only added to the output dict for nullable fields that
|
|
63
|
+
were set at model initialization. Other fields with value `None`
|
|
64
|
+
are ignored.
|
|
65
|
+
"""
|
|
66
|
+
excluded_fields: Set[str] = set([
|
|
67
|
+
])
|
|
68
|
+
|
|
69
|
+
_dict = self.model_dump(
|
|
70
|
+
by_alias=True,
|
|
71
|
+
exclude=excluded_fields,
|
|
72
|
+
exclude_none=True,
|
|
73
|
+
)
|
|
74
|
+
# set to None if response (nullable) is None
|
|
75
|
+
# and model_fields_set contains the field
|
|
76
|
+
if self.response is None and "response" in self.model_fields_set:
|
|
77
|
+
_dict['response'] = None
|
|
78
|
+
|
|
79
|
+
return _dict
|
|
80
|
+
|
|
81
|
+
@classmethod
|
|
82
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
83
|
+
"""Create an instance of EndpointAgentChallengeResponseRequest from a dict"""
|
|
84
|
+
if obj is None:
|
|
85
|
+
return None
|
|
86
|
+
|
|
87
|
+
if not isinstance(obj, dict):
|
|
88
|
+
return cls.model_validate(obj)
|
|
89
|
+
|
|
90
|
+
_obj = cls.model_validate({
|
|
91
|
+
"component": obj.get("component") if obj.get("component") is not None else 'ak-stage-endpoint-agent',
|
|
92
|
+
"response": obj.get("response")
|
|
93
|
+
})
|
|
94
|
+
return _obj
|
|
95
|
+
|
|
96
|
+
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Making authentication simple.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 2025.
|
|
8
|
+
The version of the OpenAPI document: 2025.12.0-rc1
|
|
9
9
|
Contact: hello@goauthentik.io
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -18,20 +18,29 @@ import pprint
|
|
|
18
18
|
import re # noqa: F401
|
|
19
19
|
import json
|
|
20
20
|
|
|
21
|
-
from
|
|
21
|
+
from datetime import datetime
|
|
22
|
+
from pydantic import BaseModel, ConfigDict, StrictBool, StrictStr
|
|
22
23
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
23
|
-
from typing_extensions import Annotated
|
|
24
24
|
from uuid import UUID
|
|
25
|
+
from authentik_client.models.device_access_group import DeviceAccessGroup
|
|
26
|
+
from authentik_client.models.device_fact_snapshot import DeviceFactSnapshot
|
|
25
27
|
from typing import Optional, Set
|
|
26
28
|
from typing_extensions import Self
|
|
27
29
|
|
|
28
30
|
class EndpointDevice(BaseModel):
|
|
29
31
|
"""
|
|
30
|
-
|
|
32
|
+
EndpointDevice
|
|
31
33
|
""" # noqa: E501
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
34
|
+
device_uuid: Optional[UUID] = None
|
|
35
|
+
pbm_uuid: UUID
|
|
36
|
+
name: StrictStr
|
|
37
|
+
access_group: Optional[UUID] = None
|
|
38
|
+
access_group_obj: Optional[DeviceAccessGroup] = None
|
|
39
|
+
expiring: Optional[StrictBool] = None
|
|
40
|
+
expires: Optional[datetime] = None
|
|
41
|
+
facts: DeviceFactSnapshot
|
|
42
|
+
attributes: Optional[Dict[str, Any]] = None
|
|
43
|
+
__properties: ClassVar[List[str]] = ["device_uuid", "pbm_uuid", "name", "access_group", "access_group_obj", "expiring", "expires", "facts", "attributes"]
|
|
35
44
|
|
|
36
45
|
model_config = ConfigDict(
|
|
37
46
|
populate_by_name=True,
|
|
@@ -63,8 +72,12 @@ class EndpointDevice(BaseModel):
|
|
|
63
72
|
* `None` is only added to the output dict for nullable fields that
|
|
64
73
|
were set at model initialization. Other fields with value `None`
|
|
65
74
|
are ignored.
|
|
75
|
+
* OpenAPI `readOnly` fields are excluded.
|
|
76
|
+
* OpenAPI `readOnly` fields are excluded.
|
|
66
77
|
"""
|
|
67
78
|
excluded_fields: Set[str] = set([
|
|
79
|
+
"pbm_uuid",
|
|
80
|
+
"facts",
|
|
68
81
|
])
|
|
69
82
|
|
|
70
83
|
_dict = self.model_dump(
|
|
@@ -72,6 +85,22 @@ class EndpointDevice(BaseModel):
|
|
|
72
85
|
exclude=excluded_fields,
|
|
73
86
|
exclude_none=True,
|
|
74
87
|
)
|
|
88
|
+
# override the default output from pydantic by calling `to_dict()` of access_group_obj
|
|
89
|
+
if self.access_group_obj:
|
|
90
|
+
_dict['access_group_obj'] = self.access_group_obj.to_dict()
|
|
91
|
+
# override the default output from pydantic by calling `to_dict()` of facts
|
|
92
|
+
if self.facts:
|
|
93
|
+
_dict['facts'] = self.facts.to_dict()
|
|
94
|
+
# set to None if access_group (nullable) is None
|
|
95
|
+
# and model_fields_set contains the field
|
|
96
|
+
if self.access_group is None and "access_group" in self.model_fields_set:
|
|
97
|
+
_dict['access_group'] = None
|
|
98
|
+
|
|
99
|
+
# set to None if expires (nullable) is None
|
|
100
|
+
# and model_fields_set contains the field
|
|
101
|
+
if self.expires is None and "expires" in self.model_fields_set:
|
|
102
|
+
_dict['expires'] = None
|
|
103
|
+
|
|
75
104
|
return _dict
|
|
76
105
|
|
|
77
106
|
@classmethod
|
|
@@ -84,8 +113,15 @@ class EndpointDevice(BaseModel):
|
|
|
84
113
|
return cls.model_validate(obj)
|
|
85
114
|
|
|
86
115
|
_obj = cls.model_validate({
|
|
87
|
-
"
|
|
88
|
-
"
|
|
116
|
+
"device_uuid": obj.get("device_uuid"),
|
|
117
|
+
"pbm_uuid": obj.get("pbm_uuid"),
|
|
118
|
+
"name": obj.get("name"),
|
|
119
|
+
"access_group": obj.get("access_group"),
|
|
120
|
+
"access_group_obj": DeviceAccessGroup.from_dict(obj["access_group_obj"]) if obj.get("access_group_obj") is not None else None,
|
|
121
|
+
"expiring": obj.get("expiring"),
|
|
122
|
+
"expires": obj.get("expires"),
|
|
123
|
+
"facts": DeviceFactSnapshot.from_dict(obj["facts"]) if obj.get("facts") is not None else None,
|
|
124
|
+
"attributes": obj.get("attributes")
|
|
89
125
|
})
|
|
90
126
|
return _obj
|
|
91
127
|
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
authentik
|
|
5
|
+
|
|
6
|
+
Making authentication simple.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 2025.12.0-rc1
|
|
9
|
+
Contact: hello@goauthentik.io
|
|
10
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
|
+
|
|
12
|
+
Do not edit the class manually.
|
|
13
|
+
""" # noqa: E501
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
from __future__ import annotations
|
|
17
|
+
import pprint
|
|
18
|
+
import re # noqa: F401
|
|
19
|
+
import json
|
|
20
|
+
|
|
21
|
+
from datetime import datetime
|
|
22
|
+
from pydantic import BaseModel, ConfigDict, StrictBool, StrictStr
|
|
23
|
+
from typing import Any, ClassVar, Dict, List, Optional
|
|
24
|
+
from uuid import UUID
|
|
25
|
+
from authentik_client.models.device_access_group import DeviceAccessGroup
|
|
26
|
+
from authentik_client.models.device_connection import DeviceConnection
|
|
27
|
+
from authentik_client.models.device_fact_snapshot import DeviceFactSnapshot
|
|
28
|
+
from typing import Optional, Set
|
|
29
|
+
from typing_extensions import Self
|
|
30
|
+
|
|
31
|
+
class EndpointDeviceDetails(BaseModel):
|
|
32
|
+
"""
|
|
33
|
+
EndpointDeviceDetails
|
|
34
|
+
""" # noqa: E501
|
|
35
|
+
device_uuid: Optional[UUID] = None
|
|
36
|
+
pbm_uuid: UUID
|
|
37
|
+
name: StrictStr
|
|
38
|
+
access_group: Optional[UUID] = None
|
|
39
|
+
access_group_obj: Optional[DeviceAccessGroup] = None
|
|
40
|
+
expiring: Optional[StrictBool] = None
|
|
41
|
+
expires: Optional[datetime] = None
|
|
42
|
+
facts: DeviceFactSnapshot
|
|
43
|
+
attributes: Optional[Dict[str, Any]] = None
|
|
44
|
+
connections_obj: List[DeviceConnection]
|
|
45
|
+
policies: List[UUID]
|
|
46
|
+
connections: List[UUID]
|
|
47
|
+
__properties: ClassVar[List[str]] = ["device_uuid", "pbm_uuid", "name", "access_group", "access_group_obj", "expiring", "expires", "facts", "attributes", "connections_obj", "policies", "connections"]
|
|
48
|
+
|
|
49
|
+
model_config = ConfigDict(
|
|
50
|
+
populate_by_name=True,
|
|
51
|
+
validate_assignment=True,
|
|
52
|
+
protected_namespaces=(),
|
|
53
|
+
)
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
def to_str(self) -> str:
|
|
57
|
+
"""Returns the string representation of the model using alias"""
|
|
58
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
59
|
+
|
|
60
|
+
def to_json(self) -> str:
|
|
61
|
+
"""Returns the JSON representation of the model using alias"""
|
|
62
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
63
|
+
return json.dumps(self.to_dict())
|
|
64
|
+
|
|
65
|
+
@classmethod
|
|
66
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
67
|
+
"""Create an instance of EndpointDeviceDetails from a JSON string"""
|
|
68
|
+
return cls.from_dict(json.loads(json_str))
|
|
69
|
+
|
|
70
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
71
|
+
"""Return the dictionary representation of the model using alias.
|
|
72
|
+
|
|
73
|
+
This has the following differences from calling pydantic's
|
|
74
|
+
`self.model_dump(by_alias=True)`:
|
|
75
|
+
|
|
76
|
+
* `None` is only added to the output dict for nullable fields that
|
|
77
|
+
were set at model initialization. Other fields with value `None`
|
|
78
|
+
are ignored.
|
|
79
|
+
* OpenAPI `readOnly` fields are excluded.
|
|
80
|
+
* OpenAPI `readOnly` fields are excluded.
|
|
81
|
+
* OpenAPI `readOnly` fields are excluded.
|
|
82
|
+
* OpenAPI `readOnly` fields are excluded.
|
|
83
|
+
"""
|
|
84
|
+
excluded_fields: Set[str] = set([
|
|
85
|
+
"pbm_uuid",
|
|
86
|
+
"facts",
|
|
87
|
+
"policies",
|
|
88
|
+
"connections",
|
|
89
|
+
])
|
|
90
|
+
|
|
91
|
+
_dict = self.model_dump(
|
|
92
|
+
by_alias=True,
|
|
93
|
+
exclude=excluded_fields,
|
|
94
|
+
exclude_none=True,
|
|
95
|
+
)
|
|
96
|
+
# override the default output from pydantic by calling `to_dict()` of access_group_obj
|
|
97
|
+
if self.access_group_obj:
|
|
98
|
+
_dict['access_group_obj'] = self.access_group_obj.to_dict()
|
|
99
|
+
# override the default output from pydantic by calling `to_dict()` of facts
|
|
100
|
+
if self.facts:
|
|
101
|
+
_dict['facts'] = self.facts.to_dict()
|
|
102
|
+
# override the default output from pydantic by calling `to_dict()` of each item in connections_obj (list)
|
|
103
|
+
_items = []
|
|
104
|
+
if self.connections_obj:
|
|
105
|
+
for _item_connections_obj in self.connections_obj:
|
|
106
|
+
if _item_connections_obj:
|
|
107
|
+
_items.append(_item_connections_obj.to_dict())
|
|
108
|
+
_dict['connections_obj'] = _items
|
|
109
|
+
# set to None if access_group (nullable) is None
|
|
110
|
+
# and model_fields_set contains the field
|
|
111
|
+
if self.access_group is None and "access_group" in self.model_fields_set:
|
|
112
|
+
_dict['access_group'] = None
|
|
113
|
+
|
|
114
|
+
# set to None if expires (nullable) is None
|
|
115
|
+
# and model_fields_set contains the field
|
|
116
|
+
if self.expires is None and "expires" in self.model_fields_set:
|
|
117
|
+
_dict['expires'] = None
|
|
118
|
+
|
|
119
|
+
return _dict
|
|
120
|
+
|
|
121
|
+
@classmethod
|
|
122
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
123
|
+
"""Create an instance of EndpointDeviceDetails from a dict"""
|
|
124
|
+
if obj is None:
|
|
125
|
+
return None
|
|
126
|
+
|
|
127
|
+
if not isinstance(obj, dict):
|
|
128
|
+
return cls.model_validate(obj)
|
|
129
|
+
|
|
130
|
+
_obj = cls.model_validate({
|
|
131
|
+
"device_uuid": obj.get("device_uuid"),
|
|
132
|
+
"pbm_uuid": obj.get("pbm_uuid"),
|
|
133
|
+
"name": obj.get("name"),
|
|
134
|
+
"access_group": obj.get("access_group"),
|
|
135
|
+
"access_group_obj": DeviceAccessGroup.from_dict(obj["access_group_obj"]) if obj.get("access_group_obj") is not None else None,
|
|
136
|
+
"expiring": obj.get("expiring"),
|
|
137
|
+
"expires": obj.get("expires"),
|
|
138
|
+
"facts": DeviceFactSnapshot.from_dict(obj["facts"]) if obj.get("facts") is not None else None,
|
|
139
|
+
"attributes": obj.get("attributes"),
|
|
140
|
+
"connections_obj": [DeviceConnection.from_dict(_item) for _item in obj["connections_obj"]] if obj.get("connections_obj") is not None else None,
|
|
141
|
+
"policies": obj.get("policies"),
|
|
142
|
+
"connections": obj.get("connections")
|
|
143
|
+
})
|
|
144
|
+
return _obj
|
|
145
|
+
|
|
146
|
+
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Making authentication simple.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 2025.
|
|
8
|
+
The version of the OpenAPI document: 2025.12.0-rc1
|
|
9
9
|
Contact: hello@goauthentik.io
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -18,20 +18,27 @@ import pprint
|
|
|
18
18
|
import re # noqa: F401
|
|
19
19
|
import json
|
|
20
20
|
|
|
21
|
-
from
|
|
21
|
+
from datetime import datetime
|
|
22
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictBool
|
|
22
23
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
23
24
|
from typing_extensions import Annotated
|
|
24
25
|
from uuid import UUID
|
|
26
|
+
from authentik_client.models.device_access_group_request import DeviceAccessGroupRequest
|
|
25
27
|
from typing import Optional, Set
|
|
26
28
|
from typing_extensions import Self
|
|
27
29
|
|
|
28
30
|
class EndpointDeviceRequest(BaseModel):
|
|
29
31
|
"""
|
|
30
|
-
|
|
32
|
+
EndpointDeviceRequest
|
|
31
33
|
""" # noqa: E501
|
|
32
|
-
|
|
33
|
-
name: Annotated[str, Field(min_length=1, strict=True
|
|
34
|
-
|
|
34
|
+
device_uuid: Optional[UUID] = None
|
|
35
|
+
name: Annotated[str, Field(min_length=1, strict=True)]
|
|
36
|
+
access_group: Optional[UUID] = None
|
|
37
|
+
access_group_obj: Optional[DeviceAccessGroupRequest] = None
|
|
38
|
+
expiring: Optional[StrictBool] = None
|
|
39
|
+
expires: Optional[datetime] = None
|
|
40
|
+
attributes: Optional[Dict[str, Any]] = None
|
|
41
|
+
__properties: ClassVar[List[str]] = ["device_uuid", "name", "access_group", "access_group_obj", "expiring", "expires", "attributes"]
|
|
35
42
|
|
|
36
43
|
model_config = ConfigDict(
|
|
37
44
|
populate_by_name=True,
|
|
@@ -72,6 +79,19 @@ class EndpointDeviceRequest(BaseModel):
|
|
|
72
79
|
exclude=excluded_fields,
|
|
73
80
|
exclude_none=True,
|
|
74
81
|
)
|
|
82
|
+
# override the default output from pydantic by calling `to_dict()` of access_group_obj
|
|
83
|
+
if self.access_group_obj:
|
|
84
|
+
_dict['access_group_obj'] = self.access_group_obj.to_dict()
|
|
85
|
+
# set to None if access_group (nullable) is None
|
|
86
|
+
# and model_fields_set contains the field
|
|
87
|
+
if self.access_group is None and "access_group" in self.model_fields_set:
|
|
88
|
+
_dict['access_group'] = None
|
|
89
|
+
|
|
90
|
+
# set to None if expires (nullable) is None
|
|
91
|
+
# and model_fields_set contains the field
|
|
92
|
+
if self.expires is None and "expires" in self.model_fields_set:
|
|
93
|
+
_dict['expires'] = None
|
|
94
|
+
|
|
75
95
|
return _dict
|
|
76
96
|
|
|
77
97
|
@classmethod
|
|
@@ -84,8 +104,13 @@ class EndpointDeviceRequest(BaseModel):
|
|
|
84
104
|
return cls.model_validate(obj)
|
|
85
105
|
|
|
86
106
|
_obj = cls.model_validate({
|
|
87
|
-
"
|
|
88
|
-
"name": obj.get("name")
|
|
107
|
+
"device_uuid": obj.get("device_uuid"),
|
|
108
|
+
"name": obj.get("name"),
|
|
109
|
+
"access_group": obj.get("access_group"),
|
|
110
|
+
"access_group_obj": DeviceAccessGroupRequest.from_dict(obj["access_group_obj"]) if obj.get("access_group_obj") is not None else None,
|
|
111
|
+
"expiring": obj.get("expiring"),
|
|
112
|
+
"expires": obj.get("expires"),
|
|
113
|
+
"attributes": obj.get("attributes")
|
|
89
114
|
})
|
|
90
115
|
return _obj
|
|
91
116
|
|