robosystems-client 0.2.14__py3-none-any.whl → 0.2.16__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.
Potentially problematic release.
This version of robosystems-client might be problematic. Click here for more details.
- robosystems_client/api/agent/auto_select_agent.py +51 -27
- robosystems_client/api/agent/batch_process_queries.py +13 -13
- robosystems_client/api/agent/execute_specific_agent.py +23 -27
- robosystems_client/api/agent/get_agent_metadata.py +13 -13
- robosystems_client/api/agent/list_agents.py +23 -23
- robosystems_client/api/agent/recommend_agent.py +13 -13
- robosystems_client/api/auth/check_password_strength.py +17 -17
- robosystems_client/api/auth/complete_sso_auth.py +17 -17
- robosystems_client/api/auth/forgot_password.py +17 -23
- robosystems_client/api/auth/generate_sso_token.py +26 -26
- robosystems_client/api/auth/get_captcha_config.py +6 -6
- robosystems_client/api/auth/get_current_auth_user.py +17 -17
- robosystems_client/api/auth/get_password_policy.py +10 -10
- robosystems_client/api/auth/login_user.py +17 -17
- robosystems_client/api/auth/logout_user.py +10 -10
- robosystems_client/api/auth/refresh_auth_session.py +17 -17
- robosystems_client/api/auth/register_user.py +17 -17
- robosystems_client/api/auth/resend_verification_email.py +17 -29
- robosystems_client/api/auth/reset_password.py +17 -17
- robosystems_client/api/auth/sso_token_exchange.py +17 -17
- robosystems_client/api/auth/validate_reset_token.py +17 -17
- robosystems_client/api/auth/verify_email.py +17 -17
- robosystems_client/api/backup/create_backup.py +13 -13
- robosystems_client/api/backup/get_backup_download_url.py +22 -22
- robosystems_client/api/backup/get_backup_stats.py +13 -13
- robosystems_client/api/backup/list_backups.py +31 -31
- robosystems_client/api/backup/restore_backup.py +13 -13
- robosystems_client/api/billing/cancel_org_subscription.py +13 -13
- robosystems_client/api/billing/create_checkout_session.py +13 -13
- robosystems_client/api/billing/create_portal_session.py +13 -13
- robosystems_client/api/billing/get_checkout_status.py +13 -13
- robosystems_client/api/billing/get_org_billing_customer.py +13 -13
- robosystems_client/api/billing/get_org_subscription.py +13 -13
- robosystems_client/api/billing/get_org_upcoming_invoice.py +16 -16
- robosystems_client/api/billing/list_org_invoices.py +22 -22
- robosystems_client/api/billing/list_org_subscriptions.py +13 -13
- robosystems_client/api/connections/create_connection.py +13 -13
- robosystems_client/api/connections/create_link_token.py +13 -13
- robosystems_client/api/connections/delete_connection.py +13 -13
- robosystems_client/api/connections/exchange_link_token.py +13 -13
- robosystems_client/api/connections/get_connection.py +13 -13
- robosystems_client/api/connections/get_connection_options.py +13 -13
- robosystems_client/api/connections/init_o_auth.py +13 -13
- robosystems_client/api/connections/list_connections.py +33 -33
- robosystems_client/api/connections/oauth_callback.py +13 -13
- robosystems_client/api/connections/sync_connection.py +13 -19
- robosystems_client/api/credits_/check_credit_balance.py +38 -45
- robosystems_client/api/credits_/check_storage_limits.py +13 -13
- robosystems_client/api/credits_/get_credit_summary.py +13 -13
- robosystems_client/api/credits_/get_storage_usage.py +28 -28
- robosystems_client/api/credits_/list_credit_transactions.py +71 -71
- robosystems_client/api/files/__init__.py +1 -0
- robosystems_client/api/files/create_file_upload.py +311 -0
- robosystems_client/api/files/delete_file.py +354 -0
- robosystems_client/api/files/get_file.py +329 -0
- robosystems_client/api/files/list_files.py +346 -0
- robosystems_client/api/files/update_file.py +320 -0
- robosystems_client/api/graph_health/get_database_health.py +41 -13
- robosystems_client/api/graph_info/get_database_info.py +41 -13
- robosystems_client/api/graph_limits/get_graph_limits.py +17 -17
- robosystems_client/api/graphs/create_graph.py +13 -13
- robosystems_client/api/graphs/get_available_extensions.py +13 -13
- robosystems_client/api/graphs/get_available_graph_tiers.py +22 -22
- robosystems_client/api/graphs/get_graphs.py +13 -13
- robosystems_client/api/graphs/select_graph.py +13 -13
- robosystems_client/api/materialization/__init__.py +1 -0
- robosystems_client/api/materialization/get_materialization_status.py +272 -0
- robosystems_client/api/materialization/materialize_graph.py +416 -0
- robosystems_client/api/mcp/call_mcp_tool.py +60 -32
- robosystems_client/api/mcp/list_mcp_tools.py +41 -13
- robosystems_client/api/operations/cancel_operation.py +13 -13
- robosystems_client/api/operations/get_operation_status.py +13 -25
- robosystems_client/api/operations/stream_operation_events.py +41 -41
- robosystems_client/api/org/create_org.py +13 -13
- robosystems_client/api/org/get_org.py +13 -13
- robosystems_client/api/org/list_org_graphs.py +13 -13
- robosystems_client/api/org/list_user_orgs.py +6 -6
- robosystems_client/api/org/update_org.py +13 -13
- robosystems_client/api/org_members/invite_org_member.py +13 -13
- robosystems_client/api/org_members/list_org_members.py +13 -13
- robosystems_client/api/org_members/remove_org_member.py +13 -13
- robosystems_client/api/org_members/update_org_member_role.py +13 -13
- robosystems_client/api/org_usage/get_org_limits.py +13 -13
- robosystems_client/api/org_usage/get_org_usage.py +22 -22
- robosystems_client/api/query/execute_cypher_query.py +98 -62
- robosystems_client/api/schema/export_graph_schema.py +35 -35
- robosystems_client/api/schema/get_graph_schema.py +45 -13
- robosystems_client/api/schema/validate_schema.py +41 -13
- robosystems_client/api/service_offerings/get_service_offerings.py +17 -17
- robosystems_client/api/status/get_service_status.py +10 -10
- robosystems_client/api/subgraphs/create_subgraph.py +84 -24
- robosystems_client/api/subgraphs/delete_subgraph.py +51 -27
- robosystems_client/api/subgraphs/get_subgraph_info.py +47 -27
- robosystems_client/api/subgraphs/get_subgraph_quota.py +13 -13
- robosystems_client/api/subgraphs/list_subgraphs.py +13 -13
- robosystems_client/api/subscriptions/create_repository_subscription.py +13 -13
- robosystems_client/api/subscriptions/get_graph_subscription.py +13 -13
- robosystems_client/api/subscriptions/upgrade_subscription.py +13 -13
- robosystems_client/api/tables/list_tables.py +13 -13
- robosystems_client/api/tables/query_tables.py +37 -13
- robosystems_client/api/usage/get_graph_metrics.py +13 -13
- robosystems_client/api/usage/get_graph_usage_analytics.py +66 -66
- robosystems_client/api/user/create_user_api_key.py +13 -13
- robosystems_client/api/user/get_current_user.py +6 -6
- robosystems_client/api/user/list_user_api_keys.py +6 -6
- robosystems_client/api/user/revoke_user_api_key.py +13 -13
- robosystems_client/api/user/update_user.py +13 -13
- robosystems_client/api/user/update_user_api_key.py +13 -13
- robosystems_client/api/user/update_user_password.py +13 -13
- robosystems_client/api/views/__init__.py +1 -0
- robosystems_client/api/views/create_view.py +245 -0
- robosystems_client/api/views/save_view.py +299 -0
- robosystems_client/client.py +13 -13
- robosystems_client/extensions/__init__.py +39 -0
- robosystems_client/extensions/element_mapping_client.py +585 -0
- robosystems_client/extensions/subgraph_workspace_client.py +744 -0
- robosystems_client/extensions/table_ingest_client.py +24 -23
- robosystems_client/extensions/view_builder_client.py +617 -0
- robosystems_client/models/__init__.py +34 -10
- robosystems_client/models/account_info.py +2 -0
- robosystems_client/models/agent_list_response.py +3 -1
- robosystems_client/models/agent_list_response_agents.py +5 -3
- robosystems_client/models/agent_list_response_agents_additional_property.py +2 -0
- robosystems_client/models/agent_message.py +9 -7
- robosystems_client/models/agent_metadata_response.py +11 -9
- robosystems_client/models/agent_recommendation.py +8 -6
- robosystems_client/models/agent_recommendation_request.py +9 -7
- robosystems_client/models/agent_recommendation_request_context_type_0.py +2 -0
- robosystems_client/models/agent_recommendation_response.py +4 -2
- robosystems_client/models/agent_request.py +41 -40
- robosystems_client/models/agent_request_context_type_0.py +2 -0
- robosystems_client/models/agent_response.py +42 -44
- robosystems_client/models/agent_response_error_details_type_0.py +2 -0
- robosystems_client/models/agent_response_metadata_type_0.py +2 -0
- robosystems_client/models/agent_response_tokens_used_type_0.py +2 -0
- robosystems_client/models/api_key_info.py +18 -16
- robosystems_client/models/api_keys_response.py +4 -2
- robosystems_client/models/auth_response.py +26 -24
- robosystems_client/models/auth_response_org_type_0.py +2 -0
- robosystems_client/models/auth_response_user.py +2 -0
- robosystems_client/models/available_extension.py +5 -3
- robosystems_client/models/available_extensions_response.py +4 -2
- robosystems_client/models/available_graph_tiers_response.py +4 -2
- robosystems_client/models/backup_create_request.py +18 -16
- robosystems_client/models/backup_download_url_response.py +2 -0
- robosystems_client/models/backup_limits.py +2 -0
- robosystems_client/models/backup_list_response.py +4 -2
- robosystems_client/models/backup_response.py +13 -11
- robosystems_client/models/backup_restore_request.py +7 -6
- robosystems_client/models/backup_stats_response.py +9 -7
- robosystems_client/models/backup_stats_response_backup_formats.py +2 -0
- robosystems_client/models/batch_agent_request.py +7 -5
- robosystems_client/models/batch_agent_response.py +4 -2
- robosystems_client/models/billing_customer.py +10 -8
- robosystems_client/models/cancel_operation_response_canceloperation.py +2 -0
- robosystems_client/models/check_credit_balance_response_checkcreditbalance.py +2 -0
- robosystems_client/models/checkout_response.py +22 -20
- robosystems_client/models/checkout_status_response.py +19 -17
- robosystems_client/models/connection_options_response.py +4 -2
- robosystems_client/models/connection_provider_info.py +26 -24
- robosystems_client/models/connection_response.py +14 -12
- robosystems_client/models/connection_response_metadata.py +2 -0
- robosystems_client/models/copy_operation_limits.py +2 -0
- robosystems_client/models/create_api_key_request.py +13 -11
- robosystems_client/models/create_api_key_response.py +3 -1
- robosystems_client/models/create_checkout_request.py +3 -1
- robosystems_client/models/create_checkout_request_resource_config.py +2 -0
- robosystems_client/models/create_connection_request.py +21 -21
- robosystems_client/models/create_graph_request.py +25 -25
- robosystems_client/models/create_org_request.py +7 -5
- robosystems_client/models/create_repository_subscription_request.py +2 -0
- robosystems_client/models/create_subgraph_request.py +30 -19
- robosystems_client/models/create_subgraph_request_metadata_type_0.py +2 -0
- robosystems_client/models/create_view_request.py +141 -0
- robosystems_client/models/credit_limits.py +2 -0
- robosystems_client/models/credit_summary.py +3 -1
- robosystems_client/models/credit_summary_operation_breakdown.py +2 -0
- robosystems_client/models/credit_summary_response.py +8 -6
- robosystems_client/models/custom_schema_definition.py +39 -33
- robosystems_client/models/custom_schema_definition_metadata.py +2 -0
- robosystems_client/models/custom_schema_definition_nodes_item.py +2 -0
- robosystems_client/models/custom_schema_definition_relationships_item.py +2 -0
- robosystems_client/models/cypher_query_request.py +15 -13
- robosystems_client/models/cypher_query_request_parameters_type_0.py +2 -0
- robosystems_client/models/database_health_response.py +21 -19
- robosystems_client/models/database_info_response.py +13 -11
- robosystems_client/models/delete_file_response.py +54 -1
- robosystems_client/models/delete_subgraph_request.py +12 -10
- robosystems_client/models/delete_subgraph_response.py +13 -11
- robosystems_client/models/detailed_transactions_response.py +6 -4
- robosystems_client/models/detailed_transactions_response_date_range.py +2 -0
- robosystems_client/models/detailed_transactions_response_summary.py +5 -3
- robosystems_client/models/email_verification_request.py +2 -0
- robosystems_client/models/enhanced_credit_transaction_response.py +24 -22
- robosystems_client/models/enhanced_credit_transaction_response_metadata.py +2 -0
- robosystems_client/models/enhanced_file_status_layers.py +83 -0
- robosystems_client/models/error_response.py +19 -17
- robosystems_client/models/exchange_token_request.py +9 -7
- robosystems_client/models/exchange_token_request_metadata_type_0.py +2 -0
- robosystems_client/models/execute_cypher_query_response_200.py +25 -21
- robosystems_client/models/execute_cypher_query_response_200_data_item.py +2 -0
- robosystems_client/models/fact_detail.py +109 -0
- robosystems_client/models/file_info.py +18 -16
- robosystems_client/models/file_layer_status.py +123 -0
- robosystems_client/models/file_status_update.py +14 -0
- robosystems_client/models/file_upload_request.py +25 -3
- robosystems_client/models/file_upload_response.py +2 -0
- robosystems_client/models/forgot_password_request.py +2 -0
- robosystems_client/models/forgot_password_response_forgotpassword.py +2 -0
- robosystems_client/models/get_current_auth_user_response_getcurrentauthuser.py +2 -0
- robosystems_client/models/get_file_info_response.py +62 -21
- robosystems_client/models/get_operation_status_response_getoperationstatus.py +2 -0
- robosystems_client/models/get_storage_usage_response_getstorageusage.py +2 -0
- robosystems_client/models/graph_info.py +10 -8
- robosystems_client/models/graph_limits_response.py +14 -12
- robosystems_client/models/graph_metadata.py +14 -12
- robosystems_client/models/graph_metrics_response.py +17 -15
- robosystems_client/models/graph_metrics_response_estimated_size.py +2 -0
- robosystems_client/models/graph_metrics_response_health_status.py +2 -0
- robosystems_client/models/graph_metrics_response_node_counts.py +2 -0
- robosystems_client/models/graph_metrics_response_relationship_counts.py +2 -0
- robosystems_client/models/graph_subscription_response.py +28 -26
- robosystems_client/models/graph_subscription_tier.py +15 -13
- robosystems_client/models/graph_subscriptions.py +5 -3
- robosystems_client/models/graph_tier_backup.py +2 -0
- robosystems_client/models/graph_tier_copy_operations.py +2 -0
- robosystems_client/models/graph_tier_info.py +15 -13
- robosystems_client/models/graph_tier_instance.py +2 -0
- robosystems_client/models/graph_tier_limits.py +10 -8
- robosystems_client/models/graph_usage_response.py +32 -30
- robosystems_client/models/graph_usage_response_recent_events_item.py +2 -0
- robosystems_client/models/health_status.py +9 -7
- robosystems_client/models/health_status_details_type_0.py +2 -0
- robosystems_client/models/http_validation_error.py +12 -8
- robosystems_client/models/initial_entity_data.py +38 -36
- robosystems_client/models/invite_member_request.py +9 -7
- robosystems_client/models/invoice.py +35 -33
- robosystems_client/models/invoice_line_item.py +13 -11
- robosystems_client/models/invoices_response.py +4 -2
- robosystems_client/models/link_token_request.py +21 -23
- robosystems_client/models/link_token_request_options_type_0.py +2 -0
- robosystems_client/models/list_org_graphs_response_200_item.py +2 -0
- robosystems_client/models/list_subgraphs_response.py +15 -13
- robosystems_client/models/list_table_files_response.py +27 -11
- robosystems_client/models/login_request.py +2 -0
- robosystems_client/models/logout_user_response_logoutuser.py +2 -0
- robosystems_client/models/{bulk_ingest_request.py → materialize_request.py} +25 -15
- robosystems_client/models/materialize_response.py +131 -0
- robosystems_client/models/materialize_status_response.py +172 -0
- robosystems_client/models/mcp_tool_call.py +7 -5
- robosystems_client/models/mcp_tool_call_arguments.py +2 -0
- robosystems_client/models/mcp_tools_response.py +4 -2
- robosystems_client/models/mcp_tools_response_tools_item.py +2 -0
- robosystems_client/models/o_auth_callback_request.py +18 -16
- robosystems_client/models/o_auth_init_request.py +14 -12
- robosystems_client/models/o_auth_init_request_additional_params_type_0.py +2 -0
- robosystems_client/models/o_auth_init_response.py +2 -0
- robosystems_client/models/offering_repository_plan.py +9 -7
- robosystems_client/models/offering_repository_plan_rate_limits_type_0.py +8 -8
- robosystems_client/models/operation_costs.py +4 -2
- robosystems_client/models/operation_costs_ai_operations.py +2 -0
- robosystems_client/models/operation_costs_token_pricing.py +5 -3
- robosystems_client/models/org_detail_response.py +13 -11
- robosystems_client/models/org_detail_response_graphs_item.py +2 -0
- robosystems_client/models/org_detail_response_limits_type_0.py +2 -0
- robosystems_client/models/org_detail_response_members_item.py +2 -0
- robosystems_client/models/org_limits_response.py +3 -1
- robosystems_client/models/org_limits_response_current_usage.py +2 -0
- robosystems_client/models/org_list_response.py +4 -2
- robosystems_client/models/org_member_list_response.py +4 -2
- robosystems_client/models/org_member_response.py +2 -0
- robosystems_client/models/org_response.py +2 -0
- robosystems_client/models/org_usage_response.py +7 -5
- robosystems_client/models/org_usage_response_daily_trend_item.py +2 -0
- robosystems_client/models/org_usage_response_graph_details_item.py +2 -0
- robosystems_client/models/org_usage_summary.py +18 -16
- robosystems_client/models/password_check_request.py +8 -6
- robosystems_client/models/password_check_response.py +3 -1
- robosystems_client/models/password_check_response_character_types.py +2 -0
- robosystems_client/models/password_policy_response.py +3 -1
- robosystems_client/models/password_policy_response_policy.py +2 -0
- robosystems_client/models/payment_method.py +23 -21
- robosystems_client/models/performance_insights.py +5 -3
- robosystems_client/models/performance_insights_operation_stats.py +2 -0
- robosystems_client/models/performance_insights_slow_queries_item.py +2 -0
- robosystems_client/models/plaid_connection_config.py +30 -30
- robosystems_client/models/plaid_connection_config_accounts_type_0_item.py +2 -0
- robosystems_client/models/plaid_connection_config_institution_type_0.py +2 -0
- robosystems_client/models/portal_session_response.py +2 -0
- robosystems_client/models/query_limits.py +2 -0
- robosystems_client/models/quick_books_connection_config.py +13 -11
- robosystems_client/models/rate_limits.py +2 -0
- robosystems_client/models/register_request.py +8 -6
- robosystems_client/models/repository_info.py +4 -2
- robosystems_client/models/repository_subscriptions.py +4 -2
- robosystems_client/models/resend_verification_email_response_resendverificationemail.py +2 -0
- robosystems_client/models/reset_password_request.py +2 -0
- robosystems_client/models/reset_password_validate_response.py +8 -6
- robosystems_client/models/save_view_request.py +138 -0
- robosystems_client/models/save_view_response.py +181 -0
- robosystems_client/models/schema_export_response.py +16 -14
- robosystems_client/models/schema_export_response_data_stats_type_0.py +2 -0
- robosystems_client/models/schema_export_response_schema_definition_type_0.py +2 -0
- robosystems_client/models/schema_info_response.py +3 -1
- robosystems_client/models/schema_info_response_schema.py +2 -0
- robosystems_client/models/schema_validation_request.py +18 -17
- robosystems_client/models/schema_validation_request_schema_definition_type_0.py +2 -0
- robosystems_client/models/schema_validation_response.py +28 -33
- robosystems_client/models/schema_validation_response_compatibility_type_0.py +2 -0
- robosystems_client/models/schema_validation_response_stats_type_0.py +2 -0
- robosystems_client/models/sec_connection_config.py +8 -6
- robosystems_client/models/selection_criteria.py +19 -17
- robosystems_client/models/service_offering_summary.py +2 -0
- robosystems_client/models/service_offerings_response.py +6 -4
- robosystems_client/models/sso_complete_request.py +2 -0
- robosystems_client/models/sso_exchange_request.py +8 -6
- robosystems_client/models/sso_exchange_response.py +2 -0
- robosystems_client/models/sso_token_response.py +2 -0
- robosystems_client/models/storage_info.py +4 -2
- robosystems_client/models/storage_info_included_per_tier.py +2 -0
- robosystems_client/models/storage_info_overage_pricing.py +2 -0
- robosystems_client/models/storage_limit_response.py +9 -7
- robosystems_client/models/storage_limits.py +8 -6
- robosystems_client/models/storage_summary.py +2 -0
- robosystems_client/models/structure_detail.py +85 -0
- robosystems_client/models/subgraph_quota_response.py +23 -21
- robosystems_client/models/subgraph_response.py +35 -35
- robosystems_client/models/subgraph_response_metadata_type_0.py +2 -0
- robosystems_client/models/subgraph_summary.py +14 -12
- robosystems_client/models/success_response.py +11 -9
- robosystems_client/models/success_response_data_type_0.py +2 -0
- robosystems_client/models/sync_connection_request.py +11 -9
- robosystems_client/models/sync_connection_request_sync_options_type_0.py +2 -0
- robosystems_client/models/sync_connection_response_syncconnection.py +2 -0
- robosystems_client/models/table_info.py +12 -10
- robosystems_client/models/table_list_response.py +4 -2
- robosystems_client/models/table_query_request.py +9 -7
- robosystems_client/models/table_query_response.py +2 -0
- robosystems_client/models/token_pricing.py +2 -0
- robosystems_client/models/transaction_summary_response.py +13 -11
- robosystems_client/models/upcoming_invoice.py +10 -8
- robosystems_client/models/update_api_key_request.py +13 -11
- robosystems_client/models/{update_file_status_response_updatefilestatus.py → update_file_response_updatefile.py} +7 -5
- robosystems_client/models/update_member_role_request.py +2 -0
- robosystems_client/models/update_org_request.py +14 -12
- robosystems_client/models/update_password_request.py +2 -0
- robosystems_client/models/update_user_request.py +13 -11
- robosystems_client/models/upgrade_subscription_request.py +2 -0
- robosystems_client/models/user_graphs_response.py +10 -8
- robosystems_client/models/user_response.py +22 -18
- robosystems_client/models/validation_error.py +8 -6
- robosystems_client/models/view_axis_config.py +276 -0
- robosystems_client/models/view_axis_config_element_labels_type_0.py +46 -0
- robosystems_client/models/view_axis_config_member_labels_type_0.py +46 -0
- robosystems_client/models/view_config.py +127 -0
- robosystems_client/models/view_source.py +144 -0
- robosystems_client/models/view_source_type.py +9 -0
- robosystems_client/types.py +9 -9
- {robosystems_client-0.2.14.dist-info → robosystems_client-0.2.16.dist-info}/METADATA +1 -1
- robosystems_client-0.2.16.dist-info/RECORD +418 -0
- robosystems_client/api/tables/delete_file.py +0 -317
- robosystems_client/api/tables/get_file_info.py +0 -249
- robosystems_client/api/tables/get_upload_url.py +0 -352
- robosystems_client/api/tables/ingest_tables.py +0 -428
- robosystems_client/api/tables/list_table_files.py +0 -329
- robosystems_client/api/tables/update_file_status.py +0 -395
- robosystems_client/models/bulk_ingest_response.py +0 -137
- robosystems_client/models/table_ingest_result.py +0 -107
- robosystems_client-0.2.14.dist-info/RECORD +0 -396
- {robosystems_client-0.2.14.dist-info → robosystems_client-0.2.16.dist-info}/WHEEL +0 -0
- {robosystems_client-0.2.14.dist-info → robosystems_client-0.2.16.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from http import HTTPStatus
|
|
2
|
-
from typing import Any
|
|
2
|
+
from typing import Any
|
|
3
3
|
|
|
4
4
|
import httpx
|
|
5
5
|
|
|
@@ -13,7 +13,7 @@ from ...types import UNSET, Response, Unset
|
|
|
13
13
|
|
|
14
14
|
def _get_kwargs(
|
|
15
15
|
*,
|
|
16
|
-
auth_token:
|
|
16
|
+
auth_token: None | str | Unset = UNSET,
|
|
17
17
|
) -> dict[str, Any]:
|
|
18
18
|
cookies = {}
|
|
19
19
|
if auth_token is not UNSET:
|
|
@@ -29,8 +29,8 @@ def _get_kwargs(
|
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
def _parse_response(
|
|
32
|
-
*, client:
|
|
33
|
-
) ->
|
|
32
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
33
|
+
) -> ErrorResponse | HTTPValidationError | SSOTokenResponse | None:
|
|
34
34
|
if response.status_code == 200:
|
|
35
35
|
response_200 = SSOTokenResponse.from_dict(response.json())
|
|
36
36
|
|
|
@@ -53,8 +53,8 @@ def _parse_response(
|
|
|
53
53
|
|
|
54
54
|
|
|
55
55
|
def _build_response(
|
|
56
|
-
*, client:
|
|
57
|
-
) -> Response[
|
|
56
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
57
|
+
) -> Response[ErrorResponse | HTTPValidationError | SSOTokenResponse]:
|
|
58
58
|
return Response(
|
|
59
59
|
status_code=HTTPStatus(response.status_code),
|
|
60
60
|
content=response.content,
|
|
@@ -65,22 +65,22 @@ def _build_response(
|
|
|
65
65
|
|
|
66
66
|
def sync_detailed(
|
|
67
67
|
*,
|
|
68
|
-
client:
|
|
69
|
-
auth_token:
|
|
70
|
-
) -> Response[
|
|
68
|
+
client: AuthenticatedClient | Client,
|
|
69
|
+
auth_token: None | str | Unset = UNSET,
|
|
70
|
+
) -> Response[ErrorResponse | HTTPValidationError | SSOTokenResponse]:
|
|
71
71
|
"""Generate SSO Token
|
|
72
72
|
|
|
73
73
|
Generate a temporary SSO token for cross-app authentication.
|
|
74
74
|
|
|
75
75
|
Args:
|
|
76
|
-
auth_token (
|
|
76
|
+
auth_token (None | str | Unset):
|
|
77
77
|
|
|
78
78
|
Raises:
|
|
79
79
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
80
80
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
81
81
|
|
|
82
82
|
Returns:
|
|
83
|
-
Response[
|
|
83
|
+
Response[ErrorResponse | HTTPValidationError | SSOTokenResponse]
|
|
84
84
|
"""
|
|
85
85
|
|
|
86
86
|
kwargs = _get_kwargs(
|
|
@@ -96,22 +96,22 @@ def sync_detailed(
|
|
|
96
96
|
|
|
97
97
|
def sync(
|
|
98
98
|
*,
|
|
99
|
-
client:
|
|
100
|
-
auth_token:
|
|
101
|
-
) ->
|
|
99
|
+
client: AuthenticatedClient | Client,
|
|
100
|
+
auth_token: None | str | Unset = UNSET,
|
|
101
|
+
) -> ErrorResponse | HTTPValidationError | SSOTokenResponse | None:
|
|
102
102
|
"""Generate SSO Token
|
|
103
103
|
|
|
104
104
|
Generate a temporary SSO token for cross-app authentication.
|
|
105
105
|
|
|
106
106
|
Args:
|
|
107
|
-
auth_token (
|
|
107
|
+
auth_token (None | str | Unset):
|
|
108
108
|
|
|
109
109
|
Raises:
|
|
110
110
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
111
111
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
112
112
|
|
|
113
113
|
Returns:
|
|
114
|
-
|
|
114
|
+
ErrorResponse | HTTPValidationError | SSOTokenResponse
|
|
115
115
|
"""
|
|
116
116
|
|
|
117
117
|
return sync_detailed(
|
|
@@ -122,22 +122,22 @@ def sync(
|
|
|
122
122
|
|
|
123
123
|
async def asyncio_detailed(
|
|
124
124
|
*,
|
|
125
|
-
client:
|
|
126
|
-
auth_token:
|
|
127
|
-
) -> Response[
|
|
125
|
+
client: AuthenticatedClient | Client,
|
|
126
|
+
auth_token: None | str | Unset = UNSET,
|
|
127
|
+
) -> Response[ErrorResponse | HTTPValidationError | SSOTokenResponse]:
|
|
128
128
|
"""Generate SSO Token
|
|
129
129
|
|
|
130
130
|
Generate a temporary SSO token for cross-app authentication.
|
|
131
131
|
|
|
132
132
|
Args:
|
|
133
|
-
auth_token (
|
|
133
|
+
auth_token (None | str | Unset):
|
|
134
134
|
|
|
135
135
|
Raises:
|
|
136
136
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
137
137
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
138
138
|
|
|
139
139
|
Returns:
|
|
140
|
-
Response[
|
|
140
|
+
Response[ErrorResponse | HTTPValidationError | SSOTokenResponse]
|
|
141
141
|
"""
|
|
142
142
|
|
|
143
143
|
kwargs = _get_kwargs(
|
|
@@ -151,22 +151,22 @@ async def asyncio_detailed(
|
|
|
151
151
|
|
|
152
152
|
async def asyncio(
|
|
153
153
|
*,
|
|
154
|
-
client:
|
|
155
|
-
auth_token:
|
|
156
|
-
) ->
|
|
154
|
+
client: AuthenticatedClient | Client,
|
|
155
|
+
auth_token: None | str | Unset = UNSET,
|
|
156
|
+
) -> ErrorResponse | HTTPValidationError | SSOTokenResponse | None:
|
|
157
157
|
"""Generate SSO Token
|
|
158
158
|
|
|
159
159
|
Generate a temporary SSO token for cross-app authentication.
|
|
160
160
|
|
|
161
161
|
Args:
|
|
162
|
-
auth_token (
|
|
162
|
+
auth_token (None | str | Unset):
|
|
163
163
|
|
|
164
164
|
Raises:
|
|
165
165
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
166
166
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
167
167
|
|
|
168
168
|
Returns:
|
|
169
|
-
|
|
169
|
+
ErrorResponse | HTTPValidationError | SSOTokenResponse
|
|
170
170
|
"""
|
|
171
171
|
|
|
172
172
|
return (
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from http import HTTPStatus
|
|
2
|
-
from typing import Any
|
|
2
|
+
from typing import Any
|
|
3
3
|
|
|
4
4
|
import httpx
|
|
5
5
|
|
|
@@ -18,8 +18,8 @@ def _get_kwargs() -> dict[str, Any]:
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
def _parse_response(
|
|
21
|
-
*, client:
|
|
22
|
-
) ->
|
|
21
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
22
|
+
) -> Any | None:
|
|
23
23
|
if response.status_code == 200:
|
|
24
24
|
return None
|
|
25
25
|
|
|
@@ -30,7 +30,7 @@ def _parse_response(
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def _build_response(
|
|
33
|
-
*, client:
|
|
33
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
34
34
|
) -> Response[Any]:
|
|
35
35
|
return Response(
|
|
36
36
|
status_code=HTTPStatus(response.status_code),
|
|
@@ -42,7 +42,7 @@ def _build_response(
|
|
|
42
42
|
|
|
43
43
|
def sync_detailed(
|
|
44
44
|
*,
|
|
45
|
-
client:
|
|
45
|
+
client: AuthenticatedClient | Client,
|
|
46
46
|
) -> Response[Any]:
|
|
47
47
|
"""Get CAPTCHA Configuration
|
|
48
48
|
|
|
@@ -67,7 +67,7 @@ def sync_detailed(
|
|
|
67
67
|
|
|
68
68
|
async def asyncio_detailed(
|
|
69
69
|
*,
|
|
70
|
-
client:
|
|
70
|
+
client: AuthenticatedClient | Client,
|
|
71
71
|
) -> Response[Any]:
|
|
72
72
|
"""Get CAPTCHA Configuration
|
|
73
73
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from http import HTTPStatus
|
|
2
|
-
from typing import Any
|
|
2
|
+
from typing import Any
|
|
3
3
|
|
|
4
4
|
import httpx
|
|
5
5
|
|
|
@@ -22,8 +22,8 @@ def _get_kwargs() -> dict[str, Any]:
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
def _parse_response(
|
|
25
|
-
*, client:
|
|
26
|
-
) ->
|
|
25
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
26
|
+
) -> ErrorResponse | GetCurrentAuthUserResponseGetcurrentauthuser | None:
|
|
27
27
|
if response.status_code == 200:
|
|
28
28
|
response_200 = GetCurrentAuthUserResponseGetcurrentauthuser.from_dict(
|
|
29
29
|
response.json()
|
|
@@ -43,8 +43,8 @@ def _parse_response(
|
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
def _build_response(
|
|
46
|
-
*, client:
|
|
47
|
-
) -> Response[
|
|
46
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
47
|
+
) -> Response[ErrorResponse | GetCurrentAuthUserResponseGetcurrentauthuser]:
|
|
48
48
|
return Response(
|
|
49
49
|
status_code=HTTPStatus(response.status_code),
|
|
50
50
|
content=response.content,
|
|
@@ -55,8 +55,8 @@ def _build_response(
|
|
|
55
55
|
|
|
56
56
|
def sync_detailed(
|
|
57
57
|
*,
|
|
58
|
-
client:
|
|
59
|
-
) -> Response[
|
|
58
|
+
client: AuthenticatedClient | Client,
|
|
59
|
+
) -> Response[ErrorResponse | GetCurrentAuthUserResponseGetcurrentauthuser]:
|
|
60
60
|
"""Get Current User
|
|
61
61
|
|
|
62
62
|
Get the currently authenticated user.
|
|
@@ -66,7 +66,7 @@ def sync_detailed(
|
|
|
66
66
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
67
67
|
|
|
68
68
|
Returns:
|
|
69
|
-
Response[
|
|
69
|
+
Response[ErrorResponse | GetCurrentAuthUserResponseGetcurrentauthuser]
|
|
70
70
|
"""
|
|
71
71
|
|
|
72
72
|
kwargs = _get_kwargs()
|
|
@@ -80,8 +80,8 @@ def sync_detailed(
|
|
|
80
80
|
|
|
81
81
|
def sync(
|
|
82
82
|
*,
|
|
83
|
-
client:
|
|
84
|
-
) ->
|
|
83
|
+
client: AuthenticatedClient | Client,
|
|
84
|
+
) -> ErrorResponse | GetCurrentAuthUserResponseGetcurrentauthuser | None:
|
|
85
85
|
"""Get Current User
|
|
86
86
|
|
|
87
87
|
Get the currently authenticated user.
|
|
@@ -91,7 +91,7 @@ def sync(
|
|
|
91
91
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
92
92
|
|
|
93
93
|
Returns:
|
|
94
|
-
|
|
94
|
+
ErrorResponse | GetCurrentAuthUserResponseGetcurrentauthuser
|
|
95
95
|
"""
|
|
96
96
|
|
|
97
97
|
return sync_detailed(
|
|
@@ -101,8 +101,8 @@ def sync(
|
|
|
101
101
|
|
|
102
102
|
async def asyncio_detailed(
|
|
103
103
|
*,
|
|
104
|
-
client:
|
|
105
|
-
) -> Response[
|
|
104
|
+
client: AuthenticatedClient | Client,
|
|
105
|
+
) -> Response[ErrorResponse | GetCurrentAuthUserResponseGetcurrentauthuser]:
|
|
106
106
|
"""Get Current User
|
|
107
107
|
|
|
108
108
|
Get the currently authenticated user.
|
|
@@ -112,7 +112,7 @@ async def asyncio_detailed(
|
|
|
112
112
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
113
113
|
|
|
114
114
|
Returns:
|
|
115
|
-
Response[
|
|
115
|
+
Response[ErrorResponse | GetCurrentAuthUserResponseGetcurrentauthuser]
|
|
116
116
|
"""
|
|
117
117
|
|
|
118
118
|
kwargs = _get_kwargs()
|
|
@@ -124,8 +124,8 @@ async def asyncio_detailed(
|
|
|
124
124
|
|
|
125
125
|
async def asyncio(
|
|
126
126
|
*,
|
|
127
|
-
client:
|
|
128
|
-
) ->
|
|
127
|
+
client: AuthenticatedClient | Client,
|
|
128
|
+
) -> ErrorResponse | GetCurrentAuthUserResponseGetcurrentauthuser | None:
|
|
129
129
|
"""Get Current User
|
|
130
130
|
|
|
131
131
|
Get the currently authenticated user.
|
|
@@ -135,7 +135,7 @@ async def asyncio(
|
|
|
135
135
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
136
136
|
|
|
137
137
|
Returns:
|
|
138
|
-
|
|
138
|
+
ErrorResponse | GetCurrentAuthUserResponseGetcurrentauthuser
|
|
139
139
|
"""
|
|
140
140
|
|
|
141
141
|
return (
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from http import HTTPStatus
|
|
2
|
-
from typing import Any
|
|
2
|
+
from typing import Any
|
|
3
3
|
|
|
4
4
|
import httpx
|
|
5
5
|
|
|
@@ -19,8 +19,8 @@ def _get_kwargs() -> dict[str, Any]:
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
def _parse_response(
|
|
22
|
-
*, client:
|
|
23
|
-
) ->
|
|
22
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
23
|
+
) -> PasswordPolicyResponse | None:
|
|
24
24
|
if response.status_code == 200:
|
|
25
25
|
response_200 = PasswordPolicyResponse.from_dict(response.json())
|
|
26
26
|
|
|
@@ -33,7 +33,7 @@ def _parse_response(
|
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
def _build_response(
|
|
36
|
-
*, client:
|
|
36
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
37
37
|
) -> Response[PasswordPolicyResponse]:
|
|
38
38
|
return Response(
|
|
39
39
|
status_code=HTTPStatus(response.status_code),
|
|
@@ -45,7 +45,7 @@ def _build_response(
|
|
|
45
45
|
|
|
46
46
|
def sync_detailed(
|
|
47
47
|
*,
|
|
48
|
-
client:
|
|
48
|
+
client: AuthenticatedClient | Client,
|
|
49
49
|
) -> Response[PasswordPolicyResponse]:
|
|
50
50
|
"""Get Password Policy
|
|
51
51
|
|
|
@@ -70,8 +70,8 @@ def sync_detailed(
|
|
|
70
70
|
|
|
71
71
|
def sync(
|
|
72
72
|
*,
|
|
73
|
-
client:
|
|
74
|
-
) ->
|
|
73
|
+
client: AuthenticatedClient | Client,
|
|
74
|
+
) -> PasswordPolicyResponse | None:
|
|
75
75
|
"""Get Password Policy
|
|
76
76
|
|
|
77
77
|
Get current password policy requirements for frontend validation
|
|
@@ -91,7 +91,7 @@ def sync(
|
|
|
91
91
|
|
|
92
92
|
async def asyncio_detailed(
|
|
93
93
|
*,
|
|
94
|
-
client:
|
|
94
|
+
client: AuthenticatedClient | Client,
|
|
95
95
|
) -> Response[PasswordPolicyResponse]:
|
|
96
96
|
"""Get Password Policy
|
|
97
97
|
|
|
@@ -114,8 +114,8 @@ async def asyncio_detailed(
|
|
|
114
114
|
|
|
115
115
|
async def asyncio(
|
|
116
116
|
*,
|
|
117
|
-
client:
|
|
118
|
-
) ->
|
|
117
|
+
client: AuthenticatedClient | Client,
|
|
118
|
+
) -> PasswordPolicyResponse | None:
|
|
119
119
|
"""Get Password Policy
|
|
120
120
|
|
|
121
121
|
Get current password policy requirements for frontend validation
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from http import HTTPStatus
|
|
2
|
-
from typing import Any
|
|
2
|
+
from typing import Any
|
|
3
3
|
|
|
4
4
|
import httpx
|
|
5
5
|
|
|
@@ -32,8 +32,8 @@ def _get_kwargs(
|
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
def _parse_response(
|
|
35
|
-
*, client:
|
|
36
|
-
) ->
|
|
35
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
36
|
+
) -> AuthResponse | ErrorResponse | HTTPValidationError | None:
|
|
37
37
|
if response.status_code == 200:
|
|
38
38
|
response_200 = AuthResponse.from_dict(response.json())
|
|
39
39
|
|
|
@@ -61,8 +61,8 @@ def _parse_response(
|
|
|
61
61
|
|
|
62
62
|
|
|
63
63
|
def _build_response(
|
|
64
|
-
*, client:
|
|
65
|
-
) -> Response[
|
|
64
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
65
|
+
) -> Response[AuthResponse | ErrorResponse | HTTPValidationError]:
|
|
66
66
|
return Response(
|
|
67
67
|
status_code=HTTPStatus(response.status_code),
|
|
68
68
|
content=response.content,
|
|
@@ -73,9 +73,9 @@ def _build_response(
|
|
|
73
73
|
|
|
74
74
|
def sync_detailed(
|
|
75
75
|
*,
|
|
76
|
-
client:
|
|
76
|
+
client: AuthenticatedClient | Client,
|
|
77
77
|
body: LoginRequest,
|
|
78
|
-
) -> Response[
|
|
78
|
+
) -> Response[AuthResponse | ErrorResponse | HTTPValidationError]:
|
|
79
79
|
"""User Login
|
|
80
80
|
|
|
81
81
|
Authenticate user with email and password.
|
|
@@ -88,7 +88,7 @@ def sync_detailed(
|
|
|
88
88
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
89
89
|
|
|
90
90
|
Returns:
|
|
91
|
-
Response[
|
|
91
|
+
Response[AuthResponse | ErrorResponse | HTTPValidationError]
|
|
92
92
|
"""
|
|
93
93
|
|
|
94
94
|
kwargs = _get_kwargs(
|
|
@@ -104,9 +104,9 @@ def sync_detailed(
|
|
|
104
104
|
|
|
105
105
|
def sync(
|
|
106
106
|
*,
|
|
107
|
-
client:
|
|
107
|
+
client: AuthenticatedClient | Client,
|
|
108
108
|
body: LoginRequest,
|
|
109
|
-
) ->
|
|
109
|
+
) -> AuthResponse | ErrorResponse | HTTPValidationError | None:
|
|
110
110
|
"""User Login
|
|
111
111
|
|
|
112
112
|
Authenticate user with email and password.
|
|
@@ -119,7 +119,7 @@ def sync(
|
|
|
119
119
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
120
120
|
|
|
121
121
|
Returns:
|
|
122
|
-
|
|
122
|
+
AuthResponse | ErrorResponse | HTTPValidationError
|
|
123
123
|
"""
|
|
124
124
|
|
|
125
125
|
return sync_detailed(
|
|
@@ -130,9 +130,9 @@ def sync(
|
|
|
130
130
|
|
|
131
131
|
async def asyncio_detailed(
|
|
132
132
|
*,
|
|
133
|
-
client:
|
|
133
|
+
client: AuthenticatedClient | Client,
|
|
134
134
|
body: LoginRequest,
|
|
135
|
-
) -> Response[
|
|
135
|
+
) -> Response[AuthResponse | ErrorResponse | HTTPValidationError]:
|
|
136
136
|
"""User Login
|
|
137
137
|
|
|
138
138
|
Authenticate user with email and password.
|
|
@@ -145,7 +145,7 @@ async def asyncio_detailed(
|
|
|
145
145
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
146
146
|
|
|
147
147
|
Returns:
|
|
148
|
-
Response[
|
|
148
|
+
Response[AuthResponse | ErrorResponse | HTTPValidationError]
|
|
149
149
|
"""
|
|
150
150
|
|
|
151
151
|
kwargs = _get_kwargs(
|
|
@@ -159,9 +159,9 @@ async def asyncio_detailed(
|
|
|
159
159
|
|
|
160
160
|
async def asyncio(
|
|
161
161
|
*,
|
|
162
|
-
client:
|
|
162
|
+
client: AuthenticatedClient | Client,
|
|
163
163
|
body: LoginRequest,
|
|
164
|
-
) ->
|
|
164
|
+
) -> AuthResponse | ErrorResponse | HTTPValidationError | None:
|
|
165
165
|
"""User Login
|
|
166
166
|
|
|
167
167
|
Authenticate user with email and password.
|
|
@@ -174,7 +174,7 @@ async def asyncio(
|
|
|
174
174
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
175
175
|
|
|
176
176
|
Returns:
|
|
177
|
-
|
|
177
|
+
AuthResponse | ErrorResponse | HTTPValidationError
|
|
178
178
|
"""
|
|
179
179
|
|
|
180
180
|
return (
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from http import HTTPStatus
|
|
2
|
-
from typing import Any
|
|
2
|
+
from typing import Any
|
|
3
3
|
|
|
4
4
|
import httpx
|
|
5
5
|
|
|
@@ -19,8 +19,8 @@ def _get_kwargs() -> dict[str, Any]:
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
def _parse_response(
|
|
22
|
-
*, client:
|
|
23
|
-
) ->
|
|
22
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
23
|
+
) -> LogoutUserResponseLogoutuser | None:
|
|
24
24
|
if response.status_code == 200:
|
|
25
25
|
response_200 = LogoutUserResponseLogoutuser.from_dict(response.json())
|
|
26
26
|
|
|
@@ -33,7 +33,7 @@ def _parse_response(
|
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
def _build_response(
|
|
36
|
-
*, client:
|
|
36
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
37
37
|
) -> Response[LogoutUserResponseLogoutuser]:
|
|
38
38
|
return Response(
|
|
39
39
|
status_code=HTTPStatus(response.status_code),
|
|
@@ -45,7 +45,7 @@ def _build_response(
|
|
|
45
45
|
|
|
46
46
|
def sync_detailed(
|
|
47
47
|
*,
|
|
48
|
-
client:
|
|
48
|
+
client: AuthenticatedClient | Client,
|
|
49
49
|
) -> Response[LogoutUserResponseLogoutuser]:
|
|
50
50
|
"""User Logout
|
|
51
51
|
|
|
@@ -70,8 +70,8 @@ def sync_detailed(
|
|
|
70
70
|
|
|
71
71
|
def sync(
|
|
72
72
|
*,
|
|
73
|
-
client:
|
|
74
|
-
) ->
|
|
73
|
+
client: AuthenticatedClient | Client,
|
|
74
|
+
) -> LogoutUserResponseLogoutuser | None:
|
|
75
75
|
"""User Logout
|
|
76
76
|
|
|
77
77
|
Logout user and invalidate session.
|
|
@@ -91,7 +91,7 @@ def sync(
|
|
|
91
91
|
|
|
92
92
|
async def asyncio_detailed(
|
|
93
93
|
*,
|
|
94
|
-
client:
|
|
94
|
+
client: AuthenticatedClient | Client,
|
|
95
95
|
) -> Response[LogoutUserResponseLogoutuser]:
|
|
96
96
|
"""User Logout
|
|
97
97
|
|
|
@@ -114,8 +114,8 @@ async def asyncio_detailed(
|
|
|
114
114
|
|
|
115
115
|
async def asyncio(
|
|
116
116
|
*,
|
|
117
|
-
client:
|
|
118
|
-
) ->
|
|
117
|
+
client: AuthenticatedClient | Client,
|
|
118
|
+
) -> LogoutUserResponseLogoutuser | None:
|
|
119
119
|
"""User Logout
|
|
120
120
|
|
|
121
121
|
Logout user and invalidate session.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from http import HTTPStatus
|
|
2
|
-
from typing import Any
|
|
2
|
+
from typing import Any
|
|
3
3
|
|
|
4
4
|
import httpx
|
|
5
5
|
|
|
@@ -20,8 +20,8 @@ def _get_kwargs() -> dict[str, Any]:
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
def _parse_response(
|
|
23
|
-
*, client:
|
|
24
|
-
) ->
|
|
23
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
24
|
+
) -> AuthResponse | ErrorResponse | None:
|
|
25
25
|
if response.status_code == 200:
|
|
26
26
|
response_200 = AuthResponse.from_dict(response.json())
|
|
27
27
|
|
|
@@ -39,8 +39,8 @@ def _parse_response(
|
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
def _build_response(
|
|
42
|
-
*, client:
|
|
43
|
-
) -> Response[
|
|
42
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
43
|
+
) -> Response[AuthResponse | ErrorResponse]:
|
|
44
44
|
return Response(
|
|
45
45
|
status_code=HTTPStatus(response.status_code),
|
|
46
46
|
content=response.content,
|
|
@@ -51,8 +51,8 @@ def _build_response(
|
|
|
51
51
|
|
|
52
52
|
def sync_detailed(
|
|
53
53
|
*,
|
|
54
|
-
client:
|
|
55
|
-
) -> Response[
|
|
54
|
+
client: AuthenticatedClient | Client,
|
|
55
|
+
) -> Response[AuthResponse | ErrorResponse]:
|
|
56
56
|
"""Refresh Session
|
|
57
57
|
|
|
58
58
|
Refresh authentication session with a new JWT token.
|
|
@@ -62,7 +62,7 @@ def sync_detailed(
|
|
|
62
62
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
63
63
|
|
|
64
64
|
Returns:
|
|
65
|
-
Response[
|
|
65
|
+
Response[AuthResponse | ErrorResponse]
|
|
66
66
|
"""
|
|
67
67
|
|
|
68
68
|
kwargs = _get_kwargs()
|
|
@@ -76,8 +76,8 @@ def sync_detailed(
|
|
|
76
76
|
|
|
77
77
|
def sync(
|
|
78
78
|
*,
|
|
79
|
-
client:
|
|
80
|
-
) ->
|
|
79
|
+
client: AuthenticatedClient | Client,
|
|
80
|
+
) -> AuthResponse | ErrorResponse | None:
|
|
81
81
|
"""Refresh Session
|
|
82
82
|
|
|
83
83
|
Refresh authentication session with a new JWT token.
|
|
@@ -87,7 +87,7 @@ def sync(
|
|
|
87
87
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
88
88
|
|
|
89
89
|
Returns:
|
|
90
|
-
|
|
90
|
+
AuthResponse | ErrorResponse
|
|
91
91
|
"""
|
|
92
92
|
|
|
93
93
|
return sync_detailed(
|
|
@@ -97,8 +97,8 @@ def sync(
|
|
|
97
97
|
|
|
98
98
|
async def asyncio_detailed(
|
|
99
99
|
*,
|
|
100
|
-
client:
|
|
101
|
-
) -> Response[
|
|
100
|
+
client: AuthenticatedClient | Client,
|
|
101
|
+
) -> Response[AuthResponse | ErrorResponse]:
|
|
102
102
|
"""Refresh Session
|
|
103
103
|
|
|
104
104
|
Refresh authentication session with a new JWT token.
|
|
@@ -108,7 +108,7 @@ async def asyncio_detailed(
|
|
|
108
108
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
109
109
|
|
|
110
110
|
Returns:
|
|
111
|
-
Response[
|
|
111
|
+
Response[AuthResponse | ErrorResponse]
|
|
112
112
|
"""
|
|
113
113
|
|
|
114
114
|
kwargs = _get_kwargs()
|
|
@@ -120,8 +120,8 @@ async def asyncio_detailed(
|
|
|
120
120
|
|
|
121
121
|
async def asyncio(
|
|
122
122
|
*,
|
|
123
|
-
client:
|
|
124
|
-
) ->
|
|
123
|
+
client: AuthenticatedClient | Client,
|
|
124
|
+
) -> AuthResponse | ErrorResponse | None:
|
|
125
125
|
"""Refresh Session
|
|
126
126
|
|
|
127
127
|
Refresh authentication session with a new JWT token.
|
|
@@ -131,7 +131,7 @@ async def asyncio(
|
|
|
131
131
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
132
132
|
|
|
133
133
|
Returns:
|
|
134
|
-
|
|
134
|
+
AuthResponse | ErrorResponse
|
|
135
135
|
"""
|
|
136
136
|
|
|
137
137
|
return (
|