robosystems-client 0.2.15__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 +23 -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 +13 -13
- robosystems_client/api/graph_info/get_database_info.py +13 -13
- robosystems_client/api/graph_limits/get_graph_limits.py +13 -13
- 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 +32 -32
- robosystems_client/api/mcp/list_mcp_tools.py +13 -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 +74 -62
- robosystems_client/api/schema/export_graph_schema.py +35 -35
- robosystems_client/api/schema/get_graph_schema.py +13 -13
- robosystems_client/api/schema/validate_schema.py +13 -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 +64 -28
- robosystems_client/api/subgraphs/delete_subgraph.py +13 -13
- robosystems_client/api/subgraphs/get_subgraph_info.py +13 -13
- 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 +13 -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.15.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 -380
- robosystems_client/api/tables/ingest_tables.py +0 -456
- 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.15.dist-info/RECORD +0 -396
- {robosystems_client-0.2.15.dist-info → robosystems_client-0.2.16.dist-info}/WHEEL +0 -0
- {robosystems_client-0.2.15.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, cast
|
|
3
3
|
|
|
4
4
|
import httpx
|
|
5
5
|
|
|
@@ -24,8 +24,8 @@ def _get_kwargs(
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
def _parse_response(
|
|
27
|
-
*, client:
|
|
28
|
-
) ->
|
|
27
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
28
|
+
) -> Any | CancelOperationResponseCanceloperation | HTTPValidationError | None:
|
|
29
29
|
if response.status_code == 200:
|
|
30
30
|
response_200 = CancelOperationResponseCanceloperation.from_dict(response.json())
|
|
31
31
|
|
|
@@ -59,8 +59,8 @@ def _parse_response(
|
|
|
59
59
|
|
|
60
60
|
|
|
61
61
|
def _build_response(
|
|
62
|
-
*, client:
|
|
63
|
-
) -> Response[
|
|
62
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
63
|
+
) -> Response[Any | CancelOperationResponseCanceloperation | HTTPValidationError]:
|
|
64
64
|
return Response(
|
|
65
65
|
status_code=HTTPStatus(response.status_code),
|
|
66
66
|
content=response.content,
|
|
@@ -73,7 +73,7 @@ def sync_detailed(
|
|
|
73
73
|
operation_id: str,
|
|
74
74
|
*,
|
|
75
75
|
client: AuthenticatedClient,
|
|
76
|
-
) -> Response[
|
|
76
|
+
) -> Response[Any | CancelOperationResponseCanceloperation | HTTPValidationError]:
|
|
77
77
|
"""Cancel Operation
|
|
78
78
|
|
|
79
79
|
Cancel a pending or running operation.
|
|
@@ -94,7 +94,7 @@ def sync_detailed(
|
|
|
94
94
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
95
95
|
|
|
96
96
|
Returns:
|
|
97
|
-
Response[
|
|
97
|
+
Response[Any | CancelOperationResponseCanceloperation | HTTPValidationError]
|
|
98
98
|
"""
|
|
99
99
|
|
|
100
100
|
kwargs = _get_kwargs(
|
|
@@ -112,7 +112,7 @@ def sync(
|
|
|
112
112
|
operation_id: str,
|
|
113
113
|
*,
|
|
114
114
|
client: AuthenticatedClient,
|
|
115
|
-
) ->
|
|
115
|
+
) -> Any | CancelOperationResponseCanceloperation | HTTPValidationError | None:
|
|
116
116
|
"""Cancel Operation
|
|
117
117
|
|
|
118
118
|
Cancel a pending or running operation.
|
|
@@ -133,7 +133,7 @@ def sync(
|
|
|
133
133
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
134
134
|
|
|
135
135
|
Returns:
|
|
136
|
-
|
|
136
|
+
Any | CancelOperationResponseCanceloperation | HTTPValidationError
|
|
137
137
|
"""
|
|
138
138
|
|
|
139
139
|
return sync_detailed(
|
|
@@ -146,7 +146,7 @@ async def asyncio_detailed(
|
|
|
146
146
|
operation_id: str,
|
|
147
147
|
*,
|
|
148
148
|
client: AuthenticatedClient,
|
|
149
|
-
) -> Response[
|
|
149
|
+
) -> Response[Any | CancelOperationResponseCanceloperation | HTTPValidationError]:
|
|
150
150
|
"""Cancel Operation
|
|
151
151
|
|
|
152
152
|
Cancel a pending or running operation.
|
|
@@ -167,7 +167,7 @@ async def asyncio_detailed(
|
|
|
167
167
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
168
168
|
|
|
169
169
|
Returns:
|
|
170
|
-
Response[
|
|
170
|
+
Response[Any | CancelOperationResponseCanceloperation | HTTPValidationError]
|
|
171
171
|
"""
|
|
172
172
|
|
|
173
173
|
kwargs = _get_kwargs(
|
|
@@ -183,7 +183,7 @@ async def asyncio(
|
|
|
183
183
|
operation_id: str,
|
|
184
184
|
*,
|
|
185
185
|
client: AuthenticatedClient,
|
|
186
|
-
) ->
|
|
186
|
+
) -> Any | CancelOperationResponseCanceloperation | HTTPValidationError | None:
|
|
187
187
|
"""Cancel Operation
|
|
188
188
|
|
|
189
189
|
Cancel a pending or running operation.
|
|
@@ -204,7 +204,7 @@ async def asyncio(
|
|
|
204
204
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
205
205
|
|
|
206
206
|
Returns:
|
|
207
|
-
|
|
207
|
+
Any | CancelOperationResponseCanceloperation | HTTPValidationError
|
|
208
208
|
"""
|
|
209
209
|
|
|
210
210
|
return (
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from http import HTTPStatus
|
|
2
|
-
from typing import Any,
|
|
2
|
+
from typing import Any, cast
|
|
3
3
|
|
|
4
4
|
import httpx
|
|
5
5
|
|
|
@@ -24,10 +24,8 @@ def _get_kwargs(
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
def _parse_response(
|
|
27
|
-
*, client:
|
|
28
|
-
) ->
|
|
29
|
-
Union[Any, GetOperationStatusResponseGetoperationstatus, HTTPValidationError]
|
|
30
|
-
]:
|
|
27
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
28
|
+
) -> Any | GetOperationStatusResponseGetoperationstatus | HTTPValidationError | None:
|
|
31
29
|
if response.status_code == 200:
|
|
32
30
|
response_200 = GetOperationStatusResponseGetoperationstatus.from_dict(
|
|
33
31
|
response.json()
|
|
@@ -59,10 +57,8 @@ def _parse_response(
|
|
|
59
57
|
|
|
60
58
|
|
|
61
59
|
def _build_response(
|
|
62
|
-
*, client:
|
|
63
|
-
) -> Response[
|
|
64
|
-
Union[Any, GetOperationStatusResponseGetoperationstatus, HTTPValidationError]
|
|
65
|
-
]:
|
|
60
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
61
|
+
) -> Response[Any | GetOperationStatusResponseGetoperationstatus | HTTPValidationError]:
|
|
66
62
|
return Response(
|
|
67
63
|
status_code=HTTPStatus(response.status_code),
|
|
68
64
|
content=response.content,
|
|
@@ -75,9 +71,7 @@ def sync_detailed(
|
|
|
75
71
|
operation_id: str,
|
|
76
72
|
*,
|
|
77
73
|
client: AuthenticatedClient,
|
|
78
|
-
) -> Response[
|
|
79
|
-
Union[Any, GetOperationStatusResponseGetoperationstatus, HTTPValidationError]
|
|
80
|
-
]:
|
|
74
|
+
) -> Response[Any | GetOperationStatusResponseGetoperationstatus | HTTPValidationError]:
|
|
81
75
|
"""Get Operation Status
|
|
82
76
|
|
|
83
77
|
Get current status and metadata for an operation.
|
|
@@ -102,7 +96,7 @@ def sync_detailed(
|
|
|
102
96
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
103
97
|
|
|
104
98
|
Returns:
|
|
105
|
-
Response[
|
|
99
|
+
Response[Any | GetOperationStatusResponseGetoperationstatus | HTTPValidationError]
|
|
106
100
|
"""
|
|
107
101
|
|
|
108
102
|
kwargs = _get_kwargs(
|
|
@@ -120,9 +114,7 @@ def sync(
|
|
|
120
114
|
operation_id: str,
|
|
121
115
|
*,
|
|
122
116
|
client: AuthenticatedClient,
|
|
123
|
-
) ->
|
|
124
|
-
Union[Any, GetOperationStatusResponseGetoperationstatus, HTTPValidationError]
|
|
125
|
-
]:
|
|
117
|
+
) -> Any | GetOperationStatusResponseGetoperationstatus | HTTPValidationError | None:
|
|
126
118
|
"""Get Operation Status
|
|
127
119
|
|
|
128
120
|
Get current status and metadata for an operation.
|
|
@@ -147,7 +139,7 @@ def sync(
|
|
|
147
139
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
148
140
|
|
|
149
141
|
Returns:
|
|
150
|
-
|
|
142
|
+
Any | GetOperationStatusResponseGetoperationstatus | HTTPValidationError
|
|
151
143
|
"""
|
|
152
144
|
|
|
153
145
|
return sync_detailed(
|
|
@@ -160,9 +152,7 @@ async def asyncio_detailed(
|
|
|
160
152
|
operation_id: str,
|
|
161
153
|
*,
|
|
162
154
|
client: AuthenticatedClient,
|
|
163
|
-
) -> Response[
|
|
164
|
-
Union[Any, GetOperationStatusResponseGetoperationstatus, HTTPValidationError]
|
|
165
|
-
]:
|
|
155
|
+
) -> Response[Any | GetOperationStatusResponseGetoperationstatus | HTTPValidationError]:
|
|
166
156
|
"""Get Operation Status
|
|
167
157
|
|
|
168
158
|
Get current status and metadata for an operation.
|
|
@@ -187,7 +177,7 @@ async def asyncio_detailed(
|
|
|
187
177
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
188
178
|
|
|
189
179
|
Returns:
|
|
190
|
-
Response[
|
|
180
|
+
Response[Any | GetOperationStatusResponseGetoperationstatus | HTTPValidationError]
|
|
191
181
|
"""
|
|
192
182
|
|
|
193
183
|
kwargs = _get_kwargs(
|
|
@@ -203,9 +193,7 @@ async def asyncio(
|
|
|
203
193
|
operation_id: str,
|
|
204
194
|
*,
|
|
205
195
|
client: AuthenticatedClient,
|
|
206
|
-
) ->
|
|
207
|
-
Union[Any, GetOperationStatusResponseGetoperationstatus, HTTPValidationError]
|
|
208
|
-
]:
|
|
196
|
+
) -> Any | GetOperationStatusResponseGetoperationstatus | HTTPValidationError | None:
|
|
209
197
|
"""Get Operation Status
|
|
210
198
|
|
|
211
199
|
Get current status and metadata for an operation.
|
|
@@ -230,7 +218,7 @@ async def asyncio(
|
|
|
230
218
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
231
219
|
|
|
232
220
|
Returns:
|
|
233
|
-
|
|
221
|
+
Any | GetOperationStatusResponseGetoperationstatus | HTTPValidationError
|
|
234
222
|
"""
|
|
235
223
|
|
|
236
224
|
return (
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from http import HTTPStatus
|
|
2
|
-
from typing import Any,
|
|
2
|
+
from typing import Any, cast
|
|
3
3
|
|
|
4
4
|
import httpx
|
|
5
5
|
|
|
@@ -12,9 +12,9 @@ from ...types import UNSET, Response, Unset
|
|
|
12
12
|
def _get_kwargs(
|
|
13
13
|
operation_id: str,
|
|
14
14
|
*,
|
|
15
|
-
from_sequence:
|
|
16
|
-
token:
|
|
17
|
-
authorization:
|
|
15
|
+
from_sequence: int | Unset = 0,
|
|
16
|
+
token: None | str | Unset = UNSET,
|
|
17
|
+
authorization: None | str | Unset = UNSET,
|
|
18
18
|
) -> dict[str, Any]:
|
|
19
19
|
headers: dict[str, Any] = {}
|
|
20
20
|
if not isinstance(authorization, Unset):
|
|
@@ -24,7 +24,7 @@ def _get_kwargs(
|
|
|
24
24
|
|
|
25
25
|
params["from_sequence"] = from_sequence
|
|
26
26
|
|
|
27
|
-
json_token:
|
|
27
|
+
json_token: None | str | Unset
|
|
28
28
|
if isinstance(token, Unset):
|
|
29
29
|
json_token = UNSET
|
|
30
30
|
else:
|
|
@@ -44,8 +44,8 @@ def _get_kwargs(
|
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
def _parse_response(
|
|
47
|
-
*, client:
|
|
48
|
-
) ->
|
|
47
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
48
|
+
) -> Any | HTTPValidationError | None:
|
|
49
49
|
if response.status_code == 200:
|
|
50
50
|
response_200 = response.json()
|
|
51
51
|
return response_200
|
|
@@ -74,8 +74,8 @@ def _parse_response(
|
|
|
74
74
|
|
|
75
75
|
|
|
76
76
|
def _build_response(
|
|
77
|
-
*, client:
|
|
78
|
-
) -> Response[
|
|
77
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
78
|
+
) -> Response[Any | HTTPValidationError]:
|
|
79
79
|
return Response(
|
|
80
80
|
status_code=HTTPStatus(response.status_code),
|
|
81
81
|
content=response.content,
|
|
@@ -88,10 +88,10 @@ def sync_detailed(
|
|
|
88
88
|
operation_id: str,
|
|
89
89
|
*,
|
|
90
90
|
client: AuthenticatedClient,
|
|
91
|
-
from_sequence:
|
|
92
|
-
token:
|
|
93
|
-
authorization:
|
|
94
|
-
) -> Response[
|
|
91
|
+
from_sequence: int | Unset = 0,
|
|
92
|
+
token: None | str | Unset = UNSET,
|
|
93
|
+
authorization: None | str | Unset = UNSET,
|
|
94
|
+
) -> Response[Any | HTTPValidationError]:
|
|
95
95
|
"""Stream Operation Events
|
|
96
96
|
|
|
97
97
|
Stream real-time events for an operation using Server-Sent Events (SSE).
|
|
@@ -144,17 +144,17 @@ def sync_detailed(
|
|
|
144
144
|
|
|
145
145
|
Args:
|
|
146
146
|
operation_id (str): Operation identifier from initial submission
|
|
147
|
-
from_sequence (
|
|
147
|
+
from_sequence (int | Unset): Start streaming from this sequence number (0 = from
|
|
148
148
|
beginning) Default: 0.
|
|
149
|
-
token (
|
|
150
|
-
authorization (
|
|
149
|
+
token (None | str | Unset): JWT token for SSE authentication
|
|
150
|
+
authorization (None | str | Unset):
|
|
151
151
|
|
|
152
152
|
Raises:
|
|
153
153
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
154
154
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
155
155
|
|
|
156
156
|
Returns:
|
|
157
|
-
Response[
|
|
157
|
+
Response[Any | HTTPValidationError]
|
|
158
158
|
"""
|
|
159
159
|
|
|
160
160
|
kwargs = _get_kwargs(
|
|
@@ -175,10 +175,10 @@ def sync(
|
|
|
175
175
|
operation_id: str,
|
|
176
176
|
*,
|
|
177
177
|
client: AuthenticatedClient,
|
|
178
|
-
from_sequence:
|
|
179
|
-
token:
|
|
180
|
-
authorization:
|
|
181
|
-
) ->
|
|
178
|
+
from_sequence: int | Unset = 0,
|
|
179
|
+
token: None | str | Unset = UNSET,
|
|
180
|
+
authorization: None | str | Unset = UNSET,
|
|
181
|
+
) -> Any | HTTPValidationError | None:
|
|
182
182
|
"""Stream Operation Events
|
|
183
183
|
|
|
184
184
|
Stream real-time events for an operation using Server-Sent Events (SSE).
|
|
@@ -231,17 +231,17 @@ def sync(
|
|
|
231
231
|
|
|
232
232
|
Args:
|
|
233
233
|
operation_id (str): Operation identifier from initial submission
|
|
234
|
-
from_sequence (
|
|
234
|
+
from_sequence (int | Unset): Start streaming from this sequence number (0 = from
|
|
235
235
|
beginning) Default: 0.
|
|
236
|
-
token (
|
|
237
|
-
authorization (
|
|
236
|
+
token (None | str | Unset): JWT token for SSE authentication
|
|
237
|
+
authorization (None | str | Unset):
|
|
238
238
|
|
|
239
239
|
Raises:
|
|
240
240
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
241
241
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
242
242
|
|
|
243
243
|
Returns:
|
|
244
|
-
|
|
244
|
+
Any | HTTPValidationError
|
|
245
245
|
"""
|
|
246
246
|
|
|
247
247
|
return sync_detailed(
|
|
@@ -257,10 +257,10 @@ async def asyncio_detailed(
|
|
|
257
257
|
operation_id: str,
|
|
258
258
|
*,
|
|
259
259
|
client: AuthenticatedClient,
|
|
260
|
-
from_sequence:
|
|
261
|
-
token:
|
|
262
|
-
authorization:
|
|
263
|
-
) -> Response[
|
|
260
|
+
from_sequence: int | Unset = 0,
|
|
261
|
+
token: None | str | Unset = UNSET,
|
|
262
|
+
authorization: None | str | Unset = UNSET,
|
|
263
|
+
) -> Response[Any | HTTPValidationError]:
|
|
264
264
|
"""Stream Operation Events
|
|
265
265
|
|
|
266
266
|
Stream real-time events for an operation using Server-Sent Events (SSE).
|
|
@@ -313,17 +313,17 @@ async def asyncio_detailed(
|
|
|
313
313
|
|
|
314
314
|
Args:
|
|
315
315
|
operation_id (str): Operation identifier from initial submission
|
|
316
|
-
from_sequence (
|
|
316
|
+
from_sequence (int | Unset): Start streaming from this sequence number (0 = from
|
|
317
317
|
beginning) Default: 0.
|
|
318
|
-
token (
|
|
319
|
-
authorization (
|
|
318
|
+
token (None | str | Unset): JWT token for SSE authentication
|
|
319
|
+
authorization (None | str | Unset):
|
|
320
320
|
|
|
321
321
|
Raises:
|
|
322
322
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
323
323
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
324
324
|
|
|
325
325
|
Returns:
|
|
326
|
-
Response[
|
|
326
|
+
Response[Any | HTTPValidationError]
|
|
327
327
|
"""
|
|
328
328
|
|
|
329
329
|
kwargs = _get_kwargs(
|
|
@@ -342,10 +342,10 @@ async def asyncio(
|
|
|
342
342
|
operation_id: str,
|
|
343
343
|
*,
|
|
344
344
|
client: AuthenticatedClient,
|
|
345
|
-
from_sequence:
|
|
346
|
-
token:
|
|
347
|
-
authorization:
|
|
348
|
-
) ->
|
|
345
|
+
from_sequence: int | Unset = 0,
|
|
346
|
+
token: None | str | Unset = UNSET,
|
|
347
|
+
authorization: None | str | Unset = UNSET,
|
|
348
|
+
) -> Any | HTTPValidationError | None:
|
|
349
349
|
"""Stream Operation Events
|
|
350
350
|
|
|
351
351
|
Stream real-time events for an operation using Server-Sent Events (SSE).
|
|
@@ -398,17 +398,17 @@ async def asyncio(
|
|
|
398
398
|
|
|
399
399
|
Args:
|
|
400
400
|
operation_id (str): Operation identifier from initial submission
|
|
401
|
-
from_sequence (
|
|
401
|
+
from_sequence (int | Unset): Start streaming from this sequence number (0 = from
|
|
402
402
|
beginning) Default: 0.
|
|
403
|
-
token (
|
|
404
|
-
authorization (
|
|
403
|
+
token (None | str | Unset): JWT token for SSE authentication
|
|
404
|
+
authorization (None | str | Unset):
|
|
405
405
|
|
|
406
406
|
Raises:
|
|
407
407
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
408
408
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
409
409
|
|
|
410
410
|
Returns:
|
|
411
|
-
|
|
411
|
+
Any | HTTPValidationError
|
|
412
412
|
"""
|
|
413
413
|
|
|
414
414
|
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
|
|
|
@@ -31,8 +31,8 @@ def _get_kwargs(
|
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
def _parse_response(
|
|
34
|
-
*, client:
|
|
35
|
-
) ->
|
|
34
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
35
|
+
) -> HTTPValidationError | OrgDetailResponse | None:
|
|
36
36
|
if response.status_code == 201:
|
|
37
37
|
response_201 = OrgDetailResponse.from_dict(response.json())
|
|
38
38
|
|
|
@@ -50,8 +50,8 @@ def _parse_response(
|
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
def _build_response(
|
|
53
|
-
*, client:
|
|
54
|
-
) -> Response[
|
|
53
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
54
|
+
) -> Response[HTTPValidationError | OrgDetailResponse]:
|
|
55
55
|
return Response(
|
|
56
56
|
status_code=HTTPStatus(response.status_code),
|
|
57
57
|
content=response.content,
|
|
@@ -64,7 +64,7 @@ def sync_detailed(
|
|
|
64
64
|
*,
|
|
65
65
|
client: AuthenticatedClient,
|
|
66
66
|
body: CreateOrgRequest,
|
|
67
|
-
) -> Response[
|
|
67
|
+
) -> Response[HTTPValidationError | OrgDetailResponse]:
|
|
68
68
|
"""Create Organization
|
|
69
69
|
|
|
70
70
|
Create a new organization. The creating user becomes the owner.
|
|
@@ -77,7 +77,7 @@ def sync_detailed(
|
|
|
77
77
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
78
78
|
|
|
79
79
|
Returns:
|
|
80
|
-
Response[
|
|
80
|
+
Response[HTTPValidationError | OrgDetailResponse]
|
|
81
81
|
"""
|
|
82
82
|
|
|
83
83
|
kwargs = _get_kwargs(
|
|
@@ -95,7 +95,7 @@ def sync(
|
|
|
95
95
|
*,
|
|
96
96
|
client: AuthenticatedClient,
|
|
97
97
|
body: CreateOrgRequest,
|
|
98
|
-
) ->
|
|
98
|
+
) -> HTTPValidationError | OrgDetailResponse | None:
|
|
99
99
|
"""Create Organization
|
|
100
100
|
|
|
101
101
|
Create a new organization. The creating user becomes the owner.
|
|
@@ -108,7 +108,7 @@ def sync(
|
|
|
108
108
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
109
109
|
|
|
110
110
|
Returns:
|
|
111
|
-
|
|
111
|
+
HTTPValidationError | OrgDetailResponse
|
|
112
112
|
"""
|
|
113
113
|
|
|
114
114
|
return sync_detailed(
|
|
@@ -121,7 +121,7 @@ async def asyncio_detailed(
|
|
|
121
121
|
*,
|
|
122
122
|
client: AuthenticatedClient,
|
|
123
123
|
body: CreateOrgRequest,
|
|
124
|
-
) -> Response[
|
|
124
|
+
) -> Response[HTTPValidationError | OrgDetailResponse]:
|
|
125
125
|
"""Create Organization
|
|
126
126
|
|
|
127
127
|
Create a new organization. The creating user becomes the owner.
|
|
@@ -134,7 +134,7 @@ async def asyncio_detailed(
|
|
|
134
134
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
135
135
|
|
|
136
136
|
Returns:
|
|
137
|
-
Response[
|
|
137
|
+
Response[HTTPValidationError | OrgDetailResponse]
|
|
138
138
|
"""
|
|
139
139
|
|
|
140
140
|
kwargs = _get_kwargs(
|
|
@@ -150,7 +150,7 @@ async def asyncio(
|
|
|
150
150
|
*,
|
|
151
151
|
client: AuthenticatedClient,
|
|
152
152
|
body: CreateOrgRequest,
|
|
153
|
-
) ->
|
|
153
|
+
) -> HTTPValidationError | OrgDetailResponse | None:
|
|
154
154
|
"""Create Organization
|
|
155
155
|
|
|
156
156
|
Create a new organization. The creating user becomes the owner.
|
|
@@ -163,7 +163,7 @@ async def asyncio(
|
|
|
163
163
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
164
164
|
|
|
165
165
|
Returns:
|
|
166
|
-
|
|
166
|
+
HTTPValidationError | OrgDetailResponse
|
|
167
167
|
"""
|
|
168
168
|
|
|
169
169
|
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
|
|
|
@@ -22,8 +22,8 @@ def _get_kwargs(
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
def _parse_response(
|
|
25
|
-
*, client:
|
|
26
|
-
) ->
|
|
25
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
26
|
+
) -> HTTPValidationError | OrgDetailResponse | None:
|
|
27
27
|
if response.status_code == 200:
|
|
28
28
|
response_200 = OrgDetailResponse.from_dict(response.json())
|
|
29
29
|
|
|
@@ -41,8 +41,8 @@ def _parse_response(
|
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
def _build_response(
|
|
44
|
-
*, client:
|
|
45
|
-
) -> Response[
|
|
44
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
45
|
+
) -> Response[HTTPValidationError | OrgDetailResponse]:
|
|
46
46
|
return Response(
|
|
47
47
|
status_code=HTTPStatus(response.status_code),
|
|
48
48
|
content=response.content,
|
|
@@ -55,7 +55,7 @@ def sync_detailed(
|
|
|
55
55
|
org_id: str,
|
|
56
56
|
*,
|
|
57
57
|
client: AuthenticatedClient,
|
|
58
|
-
) -> Response[
|
|
58
|
+
) -> Response[HTTPValidationError | OrgDetailResponse]:
|
|
59
59
|
"""Get Organization
|
|
60
60
|
|
|
61
61
|
Get detailed information about an organization.
|
|
@@ -68,7 +68,7 @@ def sync_detailed(
|
|
|
68
68
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
69
69
|
|
|
70
70
|
Returns:
|
|
71
|
-
Response[
|
|
71
|
+
Response[HTTPValidationError | OrgDetailResponse]
|
|
72
72
|
"""
|
|
73
73
|
|
|
74
74
|
kwargs = _get_kwargs(
|
|
@@ -86,7 +86,7 @@ def sync(
|
|
|
86
86
|
org_id: str,
|
|
87
87
|
*,
|
|
88
88
|
client: AuthenticatedClient,
|
|
89
|
-
) ->
|
|
89
|
+
) -> HTTPValidationError | OrgDetailResponse | None:
|
|
90
90
|
"""Get Organization
|
|
91
91
|
|
|
92
92
|
Get detailed information about an organization.
|
|
@@ -99,7 +99,7 @@ def sync(
|
|
|
99
99
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
100
100
|
|
|
101
101
|
Returns:
|
|
102
|
-
|
|
102
|
+
HTTPValidationError | OrgDetailResponse
|
|
103
103
|
"""
|
|
104
104
|
|
|
105
105
|
return sync_detailed(
|
|
@@ -112,7 +112,7 @@ async def asyncio_detailed(
|
|
|
112
112
|
org_id: str,
|
|
113
113
|
*,
|
|
114
114
|
client: AuthenticatedClient,
|
|
115
|
-
) -> Response[
|
|
115
|
+
) -> Response[HTTPValidationError | OrgDetailResponse]:
|
|
116
116
|
"""Get Organization
|
|
117
117
|
|
|
118
118
|
Get detailed information about an organization.
|
|
@@ -125,7 +125,7 @@ async def asyncio_detailed(
|
|
|
125
125
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
126
126
|
|
|
127
127
|
Returns:
|
|
128
|
-
Response[
|
|
128
|
+
Response[HTTPValidationError | OrgDetailResponse]
|
|
129
129
|
"""
|
|
130
130
|
|
|
131
131
|
kwargs = _get_kwargs(
|
|
@@ -141,7 +141,7 @@ async def asyncio(
|
|
|
141
141
|
org_id: str,
|
|
142
142
|
*,
|
|
143
143
|
client: AuthenticatedClient,
|
|
144
|
-
) ->
|
|
144
|
+
) -> HTTPValidationError | OrgDetailResponse | None:
|
|
145
145
|
"""Get Organization
|
|
146
146
|
|
|
147
147
|
Get detailed information about an organization.
|
|
@@ -154,7 +154,7 @@ async def asyncio(
|
|
|
154
154
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
155
155
|
|
|
156
156
|
Returns:
|
|
157
|
-
|
|
157
|
+
HTTPValidationError | OrgDetailResponse
|
|
158
158
|
"""
|
|
159
159
|
|
|
160
160
|
return (
|