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
|
@@ -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
|
|
|
@@ -17,14 +17,16 @@ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
|
17
17
|
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
18
18
|
from typing_extensions import Annotated
|
|
19
19
|
|
|
20
|
-
from pydantic import Field, StrictInt, StrictStr
|
|
21
|
-
from typing import List, Optional
|
|
20
|
+
from pydantic import Field, StrictBool, StrictBytes, StrictInt, StrictStr, field_validator
|
|
21
|
+
from typing import List, Optional, Tuple, Union
|
|
22
22
|
from typing_extensions import Annotated
|
|
23
23
|
from authentik_client.models.app import App
|
|
24
|
+
from authentik_client.models.file_list import FileList
|
|
24
25
|
from authentik_client.models.patched_settings_request import PatchedSettingsRequest
|
|
25
26
|
from authentik_client.models.settings import Settings
|
|
26
27
|
from authentik_client.models.settings_request import SettingsRequest
|
|
27
28
|
from authentik_client.models.system_info import SystemInfo
|
|
29
|
+
from authentik_client.models.used_by import UsedBy
|
|
28
30
|
from authentik_client.models.version import Version
|
|
29
31
|
from authentik_client.models.version_history import VersionHistory
|
|
30
32
|
|
|
@@ -298,6 +300,1171 @@ class AdminApi:
|
|
|
298
300
|
|
|
299
301
|
|
|
300
302
|
|
|
303
|
+
@validate_call
|
|
304
|
+
def admin_file_create(
|
|
305
|
+
self,
|
|
306
|
+
file: Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]],
|
|
307
|
+
name: Optional[StrictStr] = None,
|
|
308
|
+
usage: Optional[Annotated[str, Field(min_length=1, strict=True)]] = None,
|
|
309
|
+
_request_timeout: Union[
|
|
310
|
+
None,
|
|
311
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
312
|
+
Tuple[
|
|
313
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
314
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
315
|
+
]
|
|
316
|
+
] = None,
|
|
317
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
318
|
+
_content_type: Optional[StrictStr] = None,
|
|
319
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
320
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
321
|
+
) -> None:
|
|
322
|
+
"""admin_file_create
|
|
323
|
+
|
|
324
|
+
Upload file to storage backend.
|
|
325
|
+
|
|
326
|
+
:param file: (required)
|
|
327
|
+
:type file: bytearray
|
|
328
|
+
:param name:
|
|
329
|
+
:type name: str
|
|
330
|
+
:param usage:
|
|
331
|
+
:type usage: str
|
|
332
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
333
|
+
number provided, it will be total request
|
|
334
|
+
timeout. It can also be a pair (tuple) of
|
|
335
|
+
(connection, read) timeouts.
|
|
336
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
337
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
338
|
+
request; this effectively ignores the
|
|
339
|
+
authentication in the spec for a single request.
|
|
340
|
+
:type _request_auth: dict, optional
|
|
341
|
+
:param _content_type: force content-type for the request.
|
|
342
|
+
:type _content_type: str, Optional
|
|
343
|
+
:param _headers: set to override the headers for a single
|
|
344
|
+
request; this effectively ignores the headers
|
|
345
|
+
in the spec for a single request.
|
|
346
|
+
:type _headers: dict, optional
|
|
347
|
+
:param _host_index: set to override the host_index for a single
|
|
348
|
+
request; this effectively ignores the host_index
|
|
349
|
+
in the spec for a single request.
|
|
350
|
+
:type _host_index: int, optional
|
|
351
|
+
:return: Returns the result object.
|
|
352
|
+
""" # noqa: E501
|
|
353
|
+
|
|
354
|
+
_param = self._admin_file_create_serialize(
|
|
355
|
+
file=file,
|
|
356
|
+
name=name,
|
|
357
|
+
usage=usage,
|
|
358
|
+
_request_auth=_request_auth,
|
|
359
|
+
_content_type=_content_type,
|
|
360
|
+
_headers=_headers,
|
|
361
|
+
_host_index=_host_index
|
|
362
|
+
)
|
|
363
|
+
|
|
364
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
365
|
+
'200': None,
|
|
366
|
+
'400': "ValidationError",
|
|
367
|
+
'403': "GenericError",
|
|
368
|
+
}
|
|
369
|
+
response_data = self.api_client.call_api(
|
|
370
|
+
*_param,
|
|
371
|
+
_request_timeout=_request_timeout
|
|
372
|
+
)
|
|
373
|
+
response_data.read()
|
|
374
|
+
return self.api_client.response_deserialize(
|
|
375
|
+
response_data=response_data,
|
|
376
|
+
response_types_map=_response_types_map,
|
|
377
|
+
).data
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
@validate_call
|
|
381
|
+
def admin_file_create_with_http_info(
|
|
382
|
+
self,
|
|
383
|
+
file: Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]],
|
|
384
|
+
name: Optional[StrictStr] = None,
|
|
385
|
+
usage: Optional[Annotated[str, Field(min_length=1, strict=True)]] = None,
|
|
386
|
+
_request_timeout: Union[
|
|
387
|
+
None,
|
|
388
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
389
|
+
Tuple[
|
|
390
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
391
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
392
|
+
]
|
|
393
|
+
] = None,
|
|
394
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
395
|
+
_content_type: Optional[StrictStr] = None,
|
|
396
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
397
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
398
|
+
) -> ApiResponse[None]:
|
|
399
|
+
"""admin_file_create
|
|
400
|
+
|
|
401
|
+
Upload file to storage backend.
|
|
402
|
+
|
|
403
|
+
:param file: (required)
|
|
404
|
+
:type file: bytearray
|
|
405
|
+
:param name:
|
|
406
|
+
:type name: str
|
|
407
|
+
:param usage:
|
|
408
|
+
:type usage: str
|
|
409
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
410
|
+
number provided, it will be total request
|
|
411
|
+
timeout. It can also be a pair (tuple) of
|
|
412
|
+
(connection, read) timeouts.
|
|
413
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
414
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
415
|
+
request; this effectively ignores the
|
|
416
|
+
authentication in the spec for a single request.
|
|
417
|
+
:type _request_auth: dict, optional
|
|
418
|
+
:param _content_type: force content-type for the request.
|
|
419
|
+
:type _content_type: str, Optional
|
|
420
|
+
:param _headers: set to override the headers for a single
|
|
421
|
+
request; this effectively ignores the headers
|
|
422
|
+
in the spec for a single request.
|
|
423
|
+
:type _headers: dict, optional
|
|
424
|
+
:param _host_index: set to override the host_index for a single
|
|
425
|
+
request; this effectively ignores the host_index
|
|
426
|
+
in the spec for a single request.
|
|
427
|
+
:type _host_index: int, optional
|
|
428
|
+
:return: Returns the result object.
|
|
429
|
+
""" # noqa: E501
|
|
430
|
+
|
|
431
|
+
_param = self._admin_file_create_serialize(
|
|
432
|
+
file=file,
|
|
433
|
+
name=name,
|
|
434
|
+
usage=usage,
|
|
435
|
+
_request_auth=_request_auth,
|
|
436
|
+
_content_type=_content_type,
|
|
437
|
+
_headers=_headers,
|
|
438
|
+
_host_index=_host_index
|
|
439
|
+
)
|
|
440
|
+
|
|
441
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
442
|
+
'200': None,
|
|
443
|
+
'400': "ValidationError",
|
|
444
|
+
'403': "GenericError",
|
|
445
|
+
}
|
|
446
|
+
response_data = self.api_client.call_api(
|
|
447
|
+
*_param,
|
|
448
|
+
_request_timeout=_request_timeout
|
|
449
|
+
)
|
|
450
|
+
response_data.read()
|
|
451
|
+
return self.api_client.response_deserialize(
|
|
452
|
+
response_data=response_data,
|
|
453
|
+
response_types_map=_response_types_map,
|
|
454
|
+
)
|
|
455
|
+
|
|
456
|
+
|
|
457
|
+
@validate_call
|
|
458
|
+
def admin_file_create_without_preload_content(
|
|
459
|
+
self,
|
|
460
|
+
file: Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]],
|
|
461
|
+
name: Optional[StrictStr] = None,
|
|
462
|
+
usage: Optional[Annotated[str, Field(min_length=1, strict=True)]] = None,
|
|
463
|
+
_request_timeout: Union[
|
|
464
|
+
None,
|
|
465
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
466
|
+
Tuple[
|
|
467
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
468
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
469
|
+
]
|
|
470
|
+
] = None,
|
|
471
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
472
|
+
_content_type: Optional[StrictStr] = None,
|
|
473
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
474
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
475
|
+
) -> RESTResponseType:
|
|
476
|
+
"""admin_file_create
|
|
477
|
+
|
|
478
|
+
Upload file to storage backend.
|
|
479
|
+
|
|
480
|
+
:param file: (required)
|
|
481
|
+
:type file: bytearray
|
|
482
|
+
:param name:
|
|
483
|
+
:type name: str
|
|
484
|
+
:param usage:
|
|
485
|
+
:type usage: str
|
|
486
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
487
|
+
number provided, it will be total request
|
|
488
|
+
timeout. It can also be a pair (tuple) of
|
|
489
|
+
(connection, read) timeouts.
|
|
490
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
491
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
492
|
+
request; this effectively ignores the
|
|
493
|
+
authentication in the spec for a single request.
|
|
494
|
+
:type _request_auth: dict, optional
|
|
495
|
+
:param _content_type: force content-type for the request.
|
|
496
|
+
:type _content_type: str, Optional
|
|
497
|
+
:param _headers: set to override the headers for a single
|
|
498
|
+
request; this effectively ignores the headers
|
|
499
|
+
in the spec for a single request.
|
|
500
|
+
:type _headers: dict, optional
|
|
501
|
+
:param _host_index: set to override the host_index for a single
|
|
502
|
+
request; this effectively ignores the host_index
|
|
503
|
+
in the spec for a single request.
|
|
504
|
+
:type _host_index: int, optional
|
|
505
|
+
:return: Returns the result object.
|
|
506
|
+
""" # noqa: E501
|
|
507
|
+
|
|
508
|
+
_param = self._admin_file_create_serialize(
|
|
509
|
+
file=file,
|
|
510
|
+
name=name,
|
|
511
|
+
usage=usage,
|
|
512
|
+
_request_auth=_request_auth,
|
|
513
|
+
_content_type=_content_type,
|
|
514
|
+
_headers=_headers,
|
|
515
|
+
_host_index=_host_index
|
|
516
|
+
)
|
|
517
|
+
|
|
518
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
519
|
+
'200': None,
|
|
520
|
+
'400': "ValidationError",
|
|
521
|
+
'403': "GenericError",
|
|
522
|
+
}
|
|
523
|
+
response_data = self.api_client.call_api(
|
|
524
|
+
*_param,
|
|
525
|
+
_request_timeout=_request_timeout
|
|
526
|
+
)
|
|
527
|
+
return response_data.response
|
|
528
|
+
|
|
529
|
+
|
|
530
|
+
def _admin_file_create_serialize(
|
|
531
|
+
self,
|
|
532
|
+
file,
|
|
533
|
+
name,
|
|
534
|
+
usage,
|
|
535
|
+
_request_auth,
|
|
536
|
+
_content_type,
|
|
537
|
+
_headers,
|
|
538
|
+
_host_index,
|
|
539
|
+
) -> RequestSerialized:
|
|
540
|
+
|
|
541
|
+
_host = None
|
|
542
|
+
|
|
543
|
+
_collection_formats: Dict[str, str] = {
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
_path_params: Dict[str, str] = {}
|
|
547
|
+
_query_params: List[Tuple[str, str]] = []
|
|
548
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
549
|
+
_form_params: List[Tuple[str, str]] = []
|
|
550
|
+
_files: Dict[
|
|
551
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
552
|
+
] = {}
|
|
553
|
+
_body_params: Optional[bytes] = None
|
|
554
|
+
|
|
555
|
+
# process the path parameters
|
|
556
|
+
# process the query parameters
|
|
557
|
+
# process the header parameters
|
|
558
|
+
# process the form parameters
|
|
559
|
+
if file is not None:
|
|
560
|
+
_files['file'] = file
|
|
561
|
+
if name is not None:
|
|
562
|
+
_form_params.append(('name', name))
|
|
563
|
+
if usage is not None:
|
|
564
|
+
_form_params.append(('usage', usage))
|
|
565
|
+
# process the body parameter
|
|
566
|
+
|
|
567
|
+
|
|
568
|
+
# set the HTTP header `Accept`
|
|
569
|
+
if 'Accept' not in _header_params:
|
|
570
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
571
|
+
[
|
|
572
|
+
'application/json'
|
|
573
|
+
]
|
|
574
|
+
)
|
|
575
|
+
|
|
576
|
+
# set the HTTP header `Content-Type`
|
|
577
|
+
if _content_type:
|
|
578
|
+
_header_params['Content-Type'] = _content_type
|
|
579
|
+
else:
|
|
580
|
+
_default_content_type = (
|
|
581
|
+
self.api_client.select_header_content_type(
|
|
582
|
+
[
|
|
583
|
+
'multipart/form-data'
|
|
584
|
+
]
|
|
585
|
+
)
|
|
586
|
+
)
|
|
587
|
+
if _default_content_type is not None:
|
|
588
|
+
_header_params['Content-Type'] = _default_content_type
|
|
589
|
+
|
|
590
|
+
# authentication setting
|
|
591
|
+
_auth_settings: List[str] = [
|
|
592
|
+
'authentik'
|
|
593
|
+
]
|
|
594
|
+
|
|
595
|
+
return self.api_client.param_serialize(
|
|
596
|
+
method='POST',
|
|
597
|
+
resource_path='/admin/file/',
|
|
598
|
+
path_params=_path_params,
|
|
599
|
+
query_params=_query_params,
|
|
600
|
+
header_params=_header_params,
|
|
601
|
+
body=_body_params,
|
|
602
|
+
post_params=_form_params,
|
|
603
|
+
files=_files,
|
|
604
|
+
auth_settings=_auth_settings,
|
|
605
|
+
collection_formats=_collection_formats,
|
|
606
|
+
_host=_host,
|
|
607
|
+
_request_auth=_request_auth
|
|
608
|
+
)
|
|
609
|
+
|
|
610
|
+
|
|
611
|
+
|
|
612
|
+
|
|
613
|
+
@validate_call
|
|
614
|
+
def admin_file_destroy(
|
|
615
|
+
self,
|
|
616
|
+
name: Optional[StrictStr] = None,
|
|
617
|
+
usage: Optional[Annotated[str, Field(min_length=1, strict=True)]] = None,
|
|
618
|
+
_request_timeout: Union[
|
|
619
|
+
None,
|
|
620
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
621
|
+
Tuple[
|
|
622
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
623
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
624
|
+
]
|
|
625
|
+
] = None,
|
|
626
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
627
|
+
_content_type: Optional[StrictStr] = None,
|
|
628
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
629
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
630
|
+
) -> None:
|
|
631
|
+
"""admin_file_destroy
|
|
632
|
+
|
|
633
|
+
Delete file from storage backend.
|
|
634
|
+
|
|
635
|
+
:param name:
|
|
636
|
+
:type name: str
|
|
637
|
+
:param usage:
|
|
638
|
+
:type usage: str
|
|
639
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
640
|
+
number provided, it will be total request
|
|
641
|
+
timeout. It can also be a pair (tuple) of
|
|
642
|
+
(connection, read) timeouts.
|
|
643
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
644
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
645
|
+
request; this effectively ignores the
|
|
646
|
+
authentication in the spec for a single request.
|
|
647
|
+
:type _request_auth: dict, optional
|
|
648
|
+
:param _content_type: force content-type for the request.
|
|
649
|
+
:type _content_type: str, Optional
|
|
650
|
+
:param _headers: set to override the headers for a single
|
|
651
|
+
request; this effectively ignores the headers
|
|
652
|
+
in the spec for a single request.
|
|
653
|
+
:type _headers: dict, optional
|
|
654
|
+
:param _host_index: set to override the host_index for a single
|
|
655
|
+
request; this effectively ignores the host_index
|
|
656
|
+
in the spec for a single request.
|
|
657
|
+
:type _host_index: int, optional
|
|
658
|
+
:return: Returns the result object.
|
|
659
|
+
""" # noqa: E501
|
|
660
|
+
|
|
661
|
+
_param = self._admin_file_destroy_serialize(
|
|
662
|
+
name=name,
|
|
663
|
+
usage=usage,
|
|
664
|
+
_request_auth=_request_auth,
|
|
665
|
+
_content_type=_content_type,
|
|
666
|
+
_headers=_headers,
|
|
667
|
+
_host_index=_host_index
|
|
668
|
+
)
|
|
669
|
+
|
|
670
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
671
|
+
'200': None,
|
|
672
|
+
'400': "ValidationError",
|
|
673
|
+
'403': "GenericError",
|
|
674
|
+
}
|
|
675
|
+
response_data = self.api_client.call_api(
|
|
676
|
+
*_param,
|
|
677
|
+
_request_timeout=_request_timeout
|
|
678
|
+
)
|
|
679
|
+
response_data.read()
|
|
680
|
+
return self.api_client.response_deserialize(
|
|
681
|
+
response_data=response_data,
|
|
682
|
+
response_types_map=_response_types_map,
|
|
683
|
+
).data
|
|
684
|
+
|
|
685
|
+
|
|
686
|
+
@validate_call
|
|
687
|
+
def admin_file_destroy_with_http_info(
|
|
688
|
+
self,
|
|
689
|
+
name: Optional[StrictStr] = None,
|
|
690
|
+
usage: Optional[Annotated[str, Field(min_length=1, strict=True)]] = None,
|
|
691
|
+
_request_timeout: Union[
|
|
692
|
+
None,
|
|
693
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
694
|
+
Tuple[
|
|
695
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
696
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
697
|
+
]
|
|
698
|
+
] = None,
|
|
699
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
700
|
+
_content_type: Optional[StrictStr] = None,
|
|
701
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
702
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
703
|
+
) -> ApiResponse[None]:
|
|
704
|
+
"""admin_file_destroy
|
|
705
|
+
|
|
706
|
+
Delete file from storage backend.
|
|
707
|
+
|
|
708
|
+
:param name:
|
|
709
|
+
:type name: str
|
|
710
|
+
:param usage:
|
|
711
|
+
:type usage: str
|
|
712
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
713
|
+
number provided, it will be total request
|
|
714
|
+
timeout. It can also be a pair (tuple) of
|
|
715
|
+
(connection, read) timeouts.
|
|
716
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
717
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
718
|
+
request; this effectively ignores the
|
|
719
|
+
authentication in the spec for a single request.
|
|
720
|
+
:type _request_auth: dict, optional
|
|
721
|
+
:param _content_type: force content-type for the request.
|
|
722
|
+
:type _content_type: str, Optional
|
|
723
|
+
:param _headers: set to override the headers for a single
|
|
724
|
+
request; this effectively ignores the headers
|
|
725
|
+
in the spec for a single request.
|
|
726
|
+
:type _headers: dict, optional
|
|
727
|
+
:param _host_index: set to override the host_index for a single
|
|
728
|
+
request; this effectively ignores the host_index
|
|
729
|
+
in the spec for a single request.
|
|
730
|
+
:type _host_index: int, optional
|
|
731
|
+
:return: Returns the result object.
|
|
732
|
+
""" # noqa: E501
|
|
733
|
+
|
|
734
|
+
_param = self._admin_file_destroy_serialize(
|
|
735
|
+
name=name,
|
|
736
|
+
usage=usage,
|
|
737
|
+
_request_auth=_request_auth,
|
|
738
|
+
_content_type=_content_type,
|
|
739
|
+
_headers=_headers,
|
|
740
|
+
_host_index=_host_index
|
|
741
|
+
)
|
|
742
|
+
|
|
743
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
744
|
+
'200': None,
|
|
745
|
+
'400': "ValidationError",
|
|
746
|
+
'403': "GenericError",
|
|
747
|
+
}
|
|
748
|
+
response_data = self.api_client.call_api(
|
|
749
|
+
*_param,
|
|
750
|
+
_request_timeout=_request_timeout
|
|
751
|
+
)
|
|
752
|
+
response_data.read()
|
|
753
|
+
return self.api_client.response_deserialize(
|
|
754
|
+
response_data=response_data,
|
|
755
|
+
response_types_map=_response_types_map,
|
|
756
|
+
)
|
|
757
|
+
|
|
758
|
+
|
|
759
|
+
@validate_call
|
|
760
|
+
def admin_file_destroy_without_preload_content(
|
|
761
|
+
self,
|
|
762
|
+
name: Optional[StrictStr] = None,
|
|
763
|
+
usage: Optional[Annotated[str, Field(min_length=1, strict=True)]] = None,
|
|
764
|
+
_request_timeout: Union[
|
|
765
|
+
None,
|
|
766
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
767
|
+
Tuple[
|
|
768
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
769
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
770
|
+
]
|
|
771
|
+
] = None,
|
|
772
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
773
|
+
_content_type: Optional[StrictStr] = None,
|
|
774
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
775
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
776
|
+
) -> RESTResponseType:
|
|
777
|
+
"""admin_file_destroy
|
|
778
|
+
|
|
779
|
+
Delete file from storage backend.
|
|
780
|
+
|
|
781
|
+
:param name:
|
|
782
|
+
:type name: str
|
|
783
|
+
:param usage:
|
|
784
|
+
:type usage: str
|
|
785
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
786
|
+
number provided, it will be total request
|
|
787
|
+
timeout. It can also be a pair (tuple) of
|
|
788
|
+
(connection, read) timeouts.
|
|
789
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
790
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
791
|
+
request; this effectively ignores the
|
|
792
|
+
authentication in the spec for a single request.
|
|
793
|
+
:type _request_auth: dict, optional
|
|
794
|
+
:param _content_type: force content-type for the request.
|
|
795
|
+
:type _content_type: str, Optional
|
|
796
|
+
:param _headers: set to override the headers for a single
|
|
797
|
+
request; this effectively ignores the headers
|
|
798
|
+
in the spec for a single request.
|
|
799
|
+
:type _headers: dict, optional
|
|
800
|
+
:param _host_index: set to override the host_index for a single
|
|
801
|
+
request; this effectively ignores the host_index
|
|
802
|
+
in the spec for a single request.
|
|
803
|
+
:type _host_index: int, optional
|
|
804
|
+
:return: Returns the result object.
|
|
805
|
+
""" # noqa: E501
|
|
806
|
+
|
|
807
|
+
_param = self._admin_file_destroy_serialize(
|
|
808
|
+
name=name,
|
|
809
|
+
usage=usage,
|
|
810
|
+
_request_auth=_request_auth,
|
|
811
|
+
_content_type=_content_type,
|
|
812
|
+
_headers=_headers,
|
|
813
|
+
_host_index=_host_index
|
|
814
|
+
)
|
|
815
|
+
|
|
816
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
817
|
+
'200': None,
|
|
818
|
+
'400': "ValidationError",
|
|
819
|
+
'403': "GenericError",
|
|
820
|
+
}
|
|
821
|
+
response_data = self.api_client.call_api(
|
|
822
|
+
*_param,
|
|
823
|
+
_request_timeout=_request_timeout
|
|
824
|
+
)
|
|
825
|
+
return response_data.response
|
|
826
|
+
|
|
827
|
+
|
|
828
|
+
def _admin_file_destroy_serialize(
|
|
829
|
+
self,
|
|
830
|
+
name,
|
|
831
|
+
usage,
|
|
832
|
+
_request_auth,
|
|
833
|
+
_content_type,
|
|
834
|
+
_headers,
|
|
835
|
+
_host_index,
|
|
836
|
+
) -> RequestSerialized:
|
|
837
|
+
|
|
838
|
+
_host = None
|
|
839
|
+
|
|
840
|
+
_collection_formats: Dict[str, str] = {
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
_path_params: Dict[str, str] = {}
|
|
844
|
+
_query_params: List[Tuple[str, str]] = []
|
|
845
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
846
|
+
_form_params: List[Tuple[str, str]] = []
|
|
847
|
+
_files: Dict[
|
|
848
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
849
|
+
] = {}
|
|
850
|
+
_body_params: Optional[bytes] = None
|
|
851
|
+
|
|
852
|
+
# process the path parameters
|
|
853
|
+
# process the query parameters
|
|
854
|
+
if name is not None:
|
|
855
|
+
|
|
856
|
+
_query_params.append(('name', name))
|
|
857
|
+
|
|
858
|
+
if usage is not None:
|
|
859
|
+
|
|
860
|
+
_query_params.append(('usage', usage))
|
|
861
|
+
|
|
862
|
+
# process the header parameters
|
|
863
|
+
# process the form parameters
|
|
864
|
+
# process the body parameter
|
|
865
|
+
|
|
866
|
+
|
|
867
|
+
# set the HTTP header `Accept`
|
|
868
|
+
if 'Accept' not in _header_params:
|
|
869
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
870
|
+
[
|
|
871
|
+
'application/json'
|
|
872
|
+
]
|
|
873
|
+
)
|
|
874
|
+
|
|
875
|
+
|
|
876
|
+
# authentication setting
|
|
877
|
+
_auth_settings: List[str] = [
|
|
878
|
+
'authentik'
|
|
879
|
+
]
|
|
880
|
+
|
|
881
|
+
return self.api_client.param_serialize(
|
|
882
|
+
method='DELETE',
|
|
883
|
+
resource_path='/admin/file/',
|
|
884
|
+
path_params=_path_params,
|
|
885
|
+
query_params=_query_params,
|
|
886
|
+
header_params=_header_params,
|
|
887
|
+
body=_body_params,
|
|
888
|
+
post_params=_form_params,
|
|
889
|
+
files=_files,
|
|
890
|
+
auth_settings=_auth_settings,
|
|
891
|
+
collection_formats=_collection_formats,
|
|
892
|
+
_host=_host,
|
|
893
|
+
_request_auth=_request_auth
|
|
894
|
+
)
|
|
895
|
+
|
|
896
|
+
|
|
897
|
+
|
|
898
|
+
|
|
899
|
+
@validate_call
|
|
900
|
+
def admin_file_list(
|
|
901
|
+
self,
|
|
902
|
+
manageable_only: Optional[StrictBool] = None,
|
|
903
|
+
search: Annotated[Optional[StrictStr], Field(description="A search term.")] = None,
|
|
904
|
+
usage: Optional[Annotated[str, Field(min_length=1, strict=True)]] = None,
|
|
905
|
+
_request_timeout: Union[
|
|
906
|
+
None,
|
|
907
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
908
|
+
Tuple[
|
|
909
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
910
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
911
|
+
]
|
|
912
|
+
] = None,
|
|
913
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
914
|
+
_content_type: Optional[StrictStr] = None,
|
|
915
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
916
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
917
|
+
) -> List[FileList]:
|
|
918
|
+
"""admin_file_list
|
|
919
|
+
|
|
920
|
+
List files from storage backend.
|
|
921
|
+
|
|
922
|
+
:param manageable_only:
|
|
923
|
+
:type manageable_only: bool
|
|
924
|
+
:param search: A search term.
|
|
925
|
+
:type search: str
|
|
926
|
+
:param usage:
|
|
927
|
+
:type usage: str
|
|
928
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
929
|
+
number provided, it will be total request
|
|
930
|
+
timeout. It can also be a pair (tuple) of
|
|
931
|
+
(connection, read) timeouts.
|
|
932
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
933
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
934
|
+
request; this effectively ignores the
|
|
935
|
+
authentication in the spec for a single request.
|
|
936
|
+
:type _request_auth: dict, optional
|
|
937
|
+
:param _content_type: force content-type for the request.
|
|
938
|
+
:type _content_type: str, Optional
|
|
939
|
+
:param _headers: set to override the headers for a single
|
|
940
|
+
request; this effectively ignores the headers
|
|
941
|
+
in the spec for a single request.
|
|
942
|
+
:type _headers: dict, optional
|
|
943
|
+
:param _host_index: set to override the host_index for a single
|
|
944
|
+
request; this effectively ignores the host_index
|
|
945
|
+
in the spec for a single request.
|
|
946
|
+
:type _host_index: int, optional
|
|
947
|
+
:return: Returns the result object.
|
|
948
|
+
""" # noqa: E501
|
|
949
|
+
|
|
950
|
+
_param = self._admin_file_list_serialize(
|
|
951
|
+
manageable_only=manageable_only,
|
|
952
|
+
search=search,
|
|
953
|
+
usage=usage,
|
|
954
|
+
_request_auth=_request_auth,
|
|
955
|
+
_content_type=_content_type,
|
|
956
|
+
_headers=_headers,
|
|
957
|
+
_host_index=_host_index
|
|
958
|
+
)
|
|
959
|
+
|
|
960
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
961
|
+
'200': "List[FileList]",
|
|
962
|
+
'400': "ValidationError",
|
|
963
|
+
'403': "GenericError",
|
|
964
|
+
}
|
|
965
|
+
response_data = self.api_client.call_api(
|
|
966
|
+
*_param,
|
|
967
|
+
_request_timeout=_request_timeout
|
|
968
|
+
)
|
|
969
|
+
response_data.read()
|
|
970
|
+
return self.api_client.response_deserialize(
|
|
971
|
+
response_data=response_data,
|
|
972
|
+
response_types_map=_response_types_map,
|
|
973
|
+
).data
|
|
974
|
+
|
|
975
|
+
|
|
976
|
+
@validate_call
|
|
977
|
+
def admin_file_list_with_http_info(
|
|
978
|
+
self,
|
|
979
|
+
manageable_only: Optional[StrictBool] = None,
|
|
980
|
+
search: Annotated[Optional[StrictStr], Field(description="A search term.")] = None,
|
|
981
|
+
usage: Optional[Annotated[str, Field(min_length=1, strict=True)]] = None,
|
|
982
|
+
_request_timeout: Union[
|
|
983
|
+
None,
|
|
984
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
985
|
+
Tuple[
|
|
986
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
987
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
988
|
+
]
|
|
989
|
+
] = None,
|
|
990
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
991
|
+
_content_type: Optional[StrictStr] = None,
|
|
992
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
993
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
994
|
+
) -> ApiResponse[List[FileList]]:
|
|
995
|
+
"""admin_file_list
|
|
996
|
+
|
|
997
|
+
List files from storage backend.
|
|
998
|
+
|
|
999
|
+
:param manageable_only:
|
|
1000
|
+
:type manageable_only: bool
|
|
1001
|
+
:param search: A search term.
|
|
1002
|
+
:type search: str
|
|
1003
|
+
:param usage:
|
|
1004
|
+
:type usage: str
|
|
1005
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1006
|
+
number provided, it will be total request
|
|
1007
|
+
timeout. It can also be a pair (tuple) of
|
|
1008
|
+
(connection, read) timeouts.
|
|
1009
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1010
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1011
|
+
request; this effectively ignores the
|
|
1012
|
+
authentication in the spec for a single request.
|
|
1013
|
+
:type _request_auth: dict, optional
|
|
1014
|
+
:param _content_type: force content-type for the request.
|
|
1015
|
+
:type _content_type: str, Optional
|
|
1016
|
+
:param _headers: set to override the headers for a single
|
|
1017
|
+
request; this effectively ignores the headers
|
|
1018
|
+
in the spec for a single request.
|
|
1019
|
+
:type _headers: dict, optional
|
|
1020
|
+
:param _host_index: set to override the host_index for a single
|
|
1021
|
+
request; this effectively ignores the host_index
|
|
1022
|
+
in the spec for a single request.
|
|
1023
|
+
:type _host_index: int, optional
|
|
1024
|
+
:return: Returns the result object.
|
|
1025
|
+
""" # noqa: E501
|
|
1026
|
+
|
|
1027
|
+
_param = self._admin_file_list_serialize(
|
|
1028
|
+
manageable_only=manageable_only,
|
|
1029
|
+
search=search,
|
|
1030
|
+
usage=usage,
|
|
1031
|
+
_request_auth=_request_auth,
|
|
1032
|
+
_content_type=_content_type,
|
|
1033
|
+
_headers=_headers,
|
|
1034
|
+
_host_index=_host_index
|
|
1035
|
+
)
|
|
1036
|
+
|
|
1037
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1038
|
+
'200': "List[FileList]",
|
|
1039
|
+
'400': "ValidationError",
|
|
1040
|
+
'403': "GenericError",
|
|
1041
|
+
}
|
|
1042
|
+
response_data = self.api_client.call_api(
|
|
1043
|
+
*_param,
|
|
1044
|
+
_request_timeout=_request_timeout
|
|
1045
|
+
)
|
|
1046
|
+
response_data.read()
|
|
1047
|
+
return self.api_client.response_deserialize(
|
|
1048
|
+
response_data=response_data,
|
|
1049
|
+
response_types_map=_response_types_map,
|
|
1050
|
+
)
|
|
1051
|
+
|
|
1052
|
+
|
|
1053
|
+
@validate_call
|
|
1054
|
+
def admin_file_list_without_preload_content(
|
|
1055
|
+
self,
|
|
1056
|
+
manageable_only: Optional[StrictBool] = None,
|
|
1057
|
+
search: Annotated[Optional[StrictStr], Field(description="A search term.")] = None,
|
|
1058
|
+
usage: Optional[Annotated[str, Field(min_length=1, strict=True)]] = None,
|
|
1059
|
+
_request_timeout: Union[
|
|
1060
|
+
None,
|
|
1061
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1062
|
+
Tuple[
|
|
1063
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1064
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1065
|
+
]
|
|
1066
|
+
] = None,
|
|
1067
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1068
|
+
_content_type: Optional[StrictStr] = None,
|
|
1069
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1070
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1071
|
+
) -> RESTResponseType:
|
|
1072
|
+
"""admin_file_list
|
|
1073
|
+
|
|
1074
|
+
List files from storage backend.
|
|
1075
|
+
|
|
1076
|
+
:param manageable_only:
|
|
1077
|
+
:type manageable_only: bool
|
|
1078
|
+
:param search: A search term.
|
|
1079
|
+
:type search: str
|
|
1080
|
+
:param usage:
|
|
1081
|
+
:type usage: str
|
|
1082
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1083
|
+
number provided, it will be total request
|
|
1084
|
+
timeout. It can also be a pair (tuple) of
|
|
1085
|
+
(connection, read) timeouts.
|
|
1086
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1087
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1088
|
+
request; this effectively ignores the
|
|
1089
|
+
authentication in the spec for a single request.
|
|
1090
|
+
:type _request_auth: dict, optional
|
|
1091
|
+
:param _content_type: force content-type for the request.
|
|
1092
|
+
:type _content_type: str, Optional
|
|
1093
|
+
:param _headers: set to override the headers for a single
|
|
1094
|
+
request; this effectively ignores the headers
|
|
1095
|
+
in the spec for a single request.
|
|
1096
|
+
:type _headers: dict, optional
|
|
1097
|
+
:param _host_index: set to override the host_index for a single
|
|
1098
|
+
request; this effectively ignores the host_index
|
|
1099
|
+
in the spec for a single request.
|
|
1100
|
+
:type _host_index: int, optional
|
|
1101
|
+
:return: Returns the result object.
|
|
1102
|
+
""" # noqa: E501
|
|
1103
|
+
|
|
1104
|
+
_param = self._admin_file_list_serialize(
|
|
1105
|
+
manageable_only=manageable_only,
|
|
1106
|
+
search=search,
|
|
1107
|
+
usage=usage,
|
|
1108
|
+
_request_auth=_request_auth,
|
|
1109
|
+
_content_type=_content_type,
|
|
1110
|
+
_headers=_headers,
|
|
1111
|
+
_host_index=_host_index
|
|
1112
|
+
)
|
|
1113
|
+
|
|
1114
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1115
|
+
'200': "List[FileList]",
|
|
1116
|
+
'400': "ValidationError",
|
|
1117
|
+
'403': "GenericError",
|
|
1118
|
+
}
|
|
1119
|
+
response_data = self.api_client.call_api(
|
|
1120
|
+
*_param,
|
|
1121
|
+
_request_timeout=_request_timeout
|
|
1122
|
+
)
|
|
1123
|
+
return response_data.response
|
|
1124
|
+
|
|
1125
|
+
|
|
1126
|
+
def _admin_file_list_serialize(
|
|
1127
|
+
self,
|
|
1128
|
+
manageable_only,
|
|
1129
|
+
search,
|
|
1130
|
+
usage,
|
|
1131
|
+
_request_auth,
|
|
1132
|
+
_content_type,
|
|
1133
|
+
_headers,
|
|
1134
|
+
_host_index,
|
|
1135
|
+
) -> RequestSerialized:
|
|
1136
|
+
|
|
1137
|
+
_host = None
|
|
1138
|
+
|
|
1139
|
+
_collection_formats: Dict[str, str] = {
|
|
1140
|
+
}
|
|
1141
|
+
|
|
1142
|
+
_path_params: Dict[str, str] = {}
|
|
1143
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1144
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1145
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1146
|
+
_files: Dict[
|
|
1147
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1148
|
+
] = {}
|
|
1149
|
+
_body_params: Optional[bytes] = None
|
|
1150
|
+
|
|
1151
|
+
# process the path parameters
|
|
1152
|
+
# process the query parameters
|
|
1153
|
+
if manageable_only is not None:
|
|
1154
|
+
|
|
1155
|
+
_query_params.append(('manageable_only', manageable_only))
|
|
1156
|
+
|
|
1157
|
+
if search is not None:
|
|
1158
|
+
|
|
1159
|
+
_query_params.append(('search', search))
|
|
1160
|
+
|
|
1161
|
+
if usage is not None:
|
|
1162
|
+
|
|
1163
|
+
_query_params.append(('usage', usage))
|
|
1164
|
+
|
|
1165
|
+
# process the header parameters
|
|
1166
|
+
# process the form parameters
|
|
1167
|
+
# process the body parameter
|
|
1168
|
+
|
|
1169
|
+
|
|
1170
|
+
# set the HTTP header `Accept`
|
|
1171
|
+
if 'Accept' not in _header_params:
|
|
1172
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1173
|
+
[
|
|
1174
|
+
'application/json'
|
|
1175
|
+
]
|
|
1176
|
+
)
|
|
1177
|
+
|
|
1178
|
+
|
|
1179
|
+
# authentication setting
|
|
1180
|
+
_auth_settings: List[str] = [
|
|
1181
|
+
'authentik'
|
|
1182
|
+
]
|
|
1183
|
+
|
|
1184
|
+
return self.api_client.param_serialize(
|
|
1185
|
+
method='GET',
|
|
1186
|
+
resource_path='/admin/file/',
|
|
1187
|
+
path_params=_path_params,
|
|
1188
|
+
query_params=_query_params,
|
|
1189
|
+
header_params=_header_params,
|
|
1190
|
+
body=_body_params,
|
|
1191
|
+
post_params=_form_params,
|
|
1192
|
+
files=_files,
|
|
1193
|
+
auth_settings=_auth_settings,
|
|
1194
|
+
collection_formats=_collection_formats,
|
|
1195
|
+
_host=_host,
|
|
1196
|
+
_request_auth=_request_auth
|
|
1197
|
+
)
|
|
1198
|
+
|
|
1199
|
+
|
|
1200
|
+
|
|
1201
|
+
|
|
1202
|
+
@validate_call
|
|
1203
|
+
def admin_file_used_by_list(
|
|
1204
|
+
self,
|
|
1205
|
+
name: Optional[StrictStr] = None,
|
|
1206
|
+
_request_timeout: Union[
|
|
1207
|
+
None,
|
|
1208
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1209
|
+
Tuple[
|
|
1210
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1211
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1212
|
+
]
|
|
1213
|
+
] = None,
|
|
1214
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1215
|
+
_content_type: Optional[StrictStr] = None,
|
|
1216
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1217
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1218
|
+
) -> List[UsedBy]:
|
|
1219
|
+
"""admin_file_used_by_list
|
|
1220
|
+
|
|
1221
|
+
|
|
1222
|
+
:param name:
|
|
1223
|
+
:type name: str
|
|
1224
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1225
|
+
number provided, it will be total request
|
|
1226
|
+
timeout. It can also be a pair (tuple) of
|
|
1227
|
+
(connection, read) timeouts.
|
|
1228
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1229
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1230
|
+
request; this effectively ignores the
|
|
1231
|
+
authentication in the spec for a single request.
|
|
1232
|
+
:type _request_auth: dict, optional
|
|
1233
|
+
:param _content_type: force content-type for the request.
|
|
1234
|
+
:type _content_type: str, Optional
|
|
1235
|
+
:param _headers: set to override the headers for a single
|
|
1236
|
+
request; this effectively ignores the headers
|
|
1237
|
+
in the spec for a single request.
|
|
1238
|
+
:type _headers: dict, optional
|
|
1239
|
+
:param _host_index: set to override the host_index for a single
|
|
1240
|
+
request; this effectively ignores the host_index
|
|
1241
|
+
in the spec for a single request.
|
|
1242
|
+
:type _host_index: int, optional
|
|
1243
|
+
:return: Returns the result object.
|
|
1244
|
+
""" # noqa: E501
|
|
1245
|
+
|
|
1246
|
+
_param = self._admin_file_used_by_list_serialize(
|
|
1247
|
+
name=name,
|
|
1248
|
+
_request_auth=_request_auth,
|
|
1249
|
+
_content_type=_content_type,
|
|
1250
|
+
_headers=_headers,
|
|
1251
|
+
_host_index=_host_index
|
|
1252
|
+
)
|
|
1253
|
+
|
|
1254
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1255
|
+
'200': "List[UsedBy]",
|
|
1256
|
+
'400': "ValidationError",
|
|
1257
|
+
'403': "GenericError",
|
|
1258
|
+
}
|
|
1259
|
+
response_data = self.api_client.call_api(
|
|
1260
|
+
*_param,
|
|
1261
|
+
_request_timeout=_request_timeout
|
|
1262
|
+
)
|
|
1263
|
+
response_data.read()
|
|
1264
|
+
return self.api_client.response_deserialize(
|
|
1265
|
+
response_data=response_data,
|
|
1266
|
+
response_types_map=_response_types_map,
|
|
1267
|
+
).data
|
|
1268
|
+
|
|
1269
|
+
|
|
1270
|
+
@validate_call
|
|
1271
|
+
def admin_file_used_by_list_with_http_info(
|
|
1272
|
+
self,
|
|
1273
|
+
name: Optional[StrictStr] = None,
|
|
1274
|
+
_request_timeout: Union[
|
|
1275
|
+
None,
|
|
1276
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1277
|
+
Tuple[
|
|
1278
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1279
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1280
|
+
]
|
|
1281
|
+
] = None,
|
|
1282
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1283
|
+
_content_type: Optional[StrictStr] = None,
|
|
1284
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1285
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1286
|
+
) -> ApiResponse[List[UsedBy]]:
|
|
1287
|
+
"""admin_file_used_by_list
|
|
1288
|
+
|
|
1289
|
+
|
|
1290
|
+
:param name:
|
|
1291
|
+
:type name: str
|
|
1292
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1293
|
+
number provided, it will be total request
|
|
1294
|
+
timeout. It can also be a pair (tuple) of
|
|
1295
|
+
(connection, read) timeouts.
|
|
1296
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1297
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1298
|
+
request; this effectively ignores the
|
|
1299
|
+
authentication in the spec for a single request.
|
|
1300
|
+
:type _request_auth: dict, optional
|
|
1301
|
+
:param _content_type: force content-type for the request.
|
|
1302
|
+
:type _content_type: str, Optional
|
|
1303
|
+
:param _headers: set to override the headers for a single
|
|
1304
|
+
request; this effectively ignores the headers
|
|
1305
|
+
in the spec for a single request.
|
|
1306
|
+
:type _headers: dict, optional
|
|
1307
|
+
:param _host_index: set to override the host_index for a single
|
|
1308
|
+
request; this effectively ignores the host_index
|
|
1309
|
+
in the spec for a single request.
|
|
1310
|
+
:type _host_index: int, optional
|
|
1311
|
+
:return: Returns the result object.
|
|
1312
|
+
""" # noqa: E501
|
|
1313
|
+
|
|
1314
|
+
_param = self._admin_file_used_by_list_serialize(
|
|
1315
|
+
name=name,
|
|
1316
|
+
_request_auth=_request_auth,
|
|
1317
|
+
_content_type=_content_type,
|
|
1318
|
+
_headers=_headers,
|
|
1319
|
+
_host_index=_host_index
|
|
1320
|
+
)
|
|
1321
|
+
|
|
1322
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1323
|
+
'200': "List[UsedBy]",
|
|
1324
|
+
'400': "ValidationError",
|
|
1325
|
+
'403': "GenericError",
|
|
1326
|
+
}
|
|
1327
|
+
response_data = self.api_client.call_api(
|
|
1328
|
+
*_param,
|
|
1329
|
+
_request_timeout=_request_timeout
|
|
1330
|
+
)
|
|
1331
|
+
response_data.read()
|
|
1332
|
+
return self.api_client.response_deserialize(
|
|
1333
|
+
response_data=response_data,
|
|
1334
|
+
response_types_map=_response_types_map,
|
|
1335
|
+
)
|
|
1336
|
+
|
|
1337
|
+
|
|
1338
|
+
@validate_call
|
|
1339
|
+
def admin_file_used_by_list_without_preload_content(
|
|
1340
|
+
self,
|
|
1341
|
+
name: Optional[StrictStr] = None,
|
|
1342
|
+
_request_timeout: Union[
|
|
1343
|
+
None,
|
|
1344
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1345
|
+
Tuple[
|
|
1346
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1347
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1348
|
+
]
|
|
1349
|
+
] = None,
|
|
1350
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1351
|
+
_content_type: Optional[StrictStr] = None,
|
|
1352
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1353
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1354
|
+
) -> RESTResponseType:
|
|
1355
|
+
"""admin_file_used_by_list
|
|
1356
|
+
|
|
1357
|
+
|
|
1358
|
+
:param name:
|
|
1359
|
+
:type name: str
|
|
1360
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1361
|
+
number provided, it will be total request
|
|
1362
|
+
timeout. It can also be a pair (tuple) of
|
|
1363
|
+
(connection, read) timeouts.
|
|
1364
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1365
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1366
|
+
request; this effectively ignores the
|
|
1367
|
+
authentication in the spec for a single request.
|
|
1368
|
+
:type _request_auth: dict, optional
|
|
1369
|
+
:param _content_type: force content-type for the request.
|
|
1370
|
+
:type _content_type: str, Optional
|
|
1371
|
+
:param _headers: set to override the headers for a single
|
|
1372
|
+
request; this effectively ignores the headers
|
|
1373
|
+
in the spec for a single request.
|
|
1374
|
+
:type _headers: dict, optional
|
|
1375
|
+
:param _host_index: set to override the host_index for a single
|
|
1376
|
+
request; this effectively ignores the host_index
|
|
1377
|
+
in the spec for a single request.
|
|
1378
|
+
:type _host_index: int, optional
|
|
1379
|
+
:return: Returns the result object.
|
|
1380
|
+
""" # noqa: E501
|
|
1381
|
+
|
|
1382
|
+
_param = self._admin_file_used_by_list_serialize(
|
|
1383
|
+
name=name,
|
|
1384
|
+
_request_auth=_request_auth,
|
|
1385
|
+
_content_type=_content_type,
|
|
1386
|
+
_headers=_headers,
|
|
1387
|
+
_host_index=_host_index
|
|
1388
|
+
)
|
|
1389
|
+
|
|
1390
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1391
|
+
'200': "List[UsedBy]",
|
|
1392
|
+
'400': "ValidationError",
|
|
1393
|
+
'403': "GenericError",
|
|
1394
|
+
}
|
|
1395
|
+
response_data = self.api_client.call_api(
|
|
1396
|
+
*_param,
|
|
1397
|
+
_request_timeout=_request_timeout
|
|
1398
|
+
)
|
|
1399
|
+
return response_data.response
|
|
1400
|
+
|
|
1401
|
+
|
|
1402
|
+
def _admin_file_used_by_list_serialize(
|
|
1403
|
+
self,
|
|
1404
|
+
name,
|
|
1405
|
+
_request_auth,
|
|
1406
|
+
_content_type,
|
|
1407
|
+
_headers,
|
|
1408
|
+
_host_index,
|
|
1409
|
+
) -> RequestSerialized:
|
|
1410
|
+
|
|
1411
|
+
_host = None
|
|
1412
|
+
|
|
1413
|
+
_collection_formats: Dict[str, str] = {
|
|
1414
|
+
}
|
|
1415
|
+
|
|
1416
|
+
_path_params: Dict[str, str] = {}
|
|
1417
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1418
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1419
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1420
|
+
_files: Dict[
|
|
1421
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1422
|
+
] = {}
|
|
1423
|
+
_body_params: Optional[bytes] = None
|
|
1424
|
+
|
|
1425
|
+
# process the path parameters
|
|
1426
|
+
# process the query parameters
|
|
1427
|
+
if name is not None:
|
|
1428
|
+
|
|
1429
|
+
_query_params.append(('name', name))
|
|
1430
|
+
|
|
1431
|
+
# process the header parameters
|
|
1432
|
+
# process the form parameters
|
|
1433
|
+
# process the body parameter
|
|
1434
|
+
|
|
1435
|
+
|
|
1436
|
+
# set the HTTP header `Accept`
|
|
1437
|
+
if 'Accept' not in _header_params:
|
|
1438
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1439
|
+
[
|
|
1440
|
+
'application/json'
|
|
1441
|
+
]
|
|
1442
|
+
)
|
|
1443
|
+
|
|
1444
|
+
|
|
1445
|
+
# authentication setting
|
|
1446
|
+
_auth_settings: List[str] = [
|
|
1447
|
+
'authentik'
|
|
1448
|
+
]
|
|
1449
|
+
|
|
1450
|
+
return self.api_client.param_serialize(
|
|
1451
|
+
method='GET',
|
|
1452
|
+
resource_path='/admin/file/used_by/',
|
|
1453
|
+
path_params=_path_params,
|
|
1454
|
+
query_params=_query_params,
|
|
1455
|
+
header_params=_header_params,
|
|
1456
|
+
body=_body_params,
|
|
1457
|
+
post_params=_form_params,
|
|
1458
|
+
files=_files,
|
|
1459
|
+
auth_settings=_auth_settings,
|
|
1460
|
+
collection_formats=_collection_formats,
|
|
1461
|
+
_host=_host,
|
|
1462
|
+
_request_auth=_request_auth
|
|
1463
|
+
)
|
|
1464
|
+
|
|
1465
|
+
|
|
1466
|
+
|
|
1467
|
+
|
|
301
1468
|
@validate_call
|
|
302
1469
|
def admin_models_list(
|
|
303
1470
|
self,
|