robosystems-client 0.1.9__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/__init__.py +14 -0
- robosystems_client/api/__init__.py +1 -0
- robosystems_client/api/agent/__init__.py +1 -0
- robosystems_client/api/agent/query_financial_agent.py +423 -0
- robosystems_client/api/auth/__init__.py +1 -0
- robosystems_client/api/auth/check_password_strength.py +172 -0
- robosystems_client/api/auth/complete_sso_auth.py +177 -0
- robosystems_client/api/auth/generate_sso_token.py +174 -0
- robosystems_client/api/auth/get_captcha_config.py +87 -0
- robosystems_client/api/auth/get_current_auth_user.py +220 -0
- robosystems_client/api/auth/get_password_policy.py +134 -0
- robosystems_client/api/auth/login_user.py +181 -0
- robosystems_client/api/auth/logout_user.py +169 -0
- robosystems_client/api/auth/refresh_session.py +174 -0
- robosystems_client/api/auth/register_user.py +189 -0
- robosystems_client/api/auth/sso_login.py +177 -0
- robosystems_client/api/auth/sso_token_exchange.py +181 -0
- robosystems_client/api/backup/__init__.py +1 -0
- robosystems_client/api/backup/create_backup.py +401 -0
- robosystems_client/api/backup/export_backup.py +225 -0
- robosystems_client/api/backup/get_backup_download_url.py +258 -0
- robosystems_client/api/backup/get_backup_stats.py +182 -0
- robosystems_client/api/backup/kuzu_backup_health.py +202 -0
- robosystems_client/api/backup/list_backups.py +217 -0
- robosystems_client/api/backup/restore_backup.py +401 -0
- robosystems_client/api/billing/__init__.py +1 -0
- robosystems_client/api/billing/get_available_subscription_plans_v1_graph_id_billing_available_plans_get.py +198 -0
- robosystems_client/api/billing/get_credit_billing_info_v1_graph_id_billing_credits_get.py +210 -0
- robosystems_client/api/billing/get_current_graph_bill.py +285 -0
- robosystems_client/api/billing/get_graph_billing_history.py +329 -0
- robosystems_client/api/billing/get_graph_monthly_bill.py +315 -0
- robosystems_client/api/billing/get_graph_pricing_info_v1_graph_id_billing_pricing_get.py +198 -0
- robosystems_client/api/billing/get_graph_subscription_v1_graph_id_billing_subscription_get.py +198 -0
- robosystems_client/api/billing/get_graph_usage_details.py +350 -0
- robosystems_client/api/billing/upgrade_graph_subscription_v1_graph_id_billing_subscription_upgrade_post.py +216 -0
- robosystems_client/api/connections/__init__.py +1 -0
- robosystems_client/api/connections/create_connection.py +327 -0
- robosystems_client/api/connections/create_link_token.py +281 -0
- robosystems_client/api/connections/delete_connection.py +278 -0
- robosystems_client/api/connections/exchange_link_token.py +301 -0
- robosystems_client/api/connections/get_connection.py +262 -0
- robosystems_client/api/connections/get_connection_options.py +285 -0
- robosystems_client/api/connections/init_o_auth.py +230 -0
- robosystems_client/api/connections/list_connections.py +314 -0
- robosystems_client/api/connections/oauth_callback.py +318 -0
- robosystems_client/api/connections/sync_connection.py +362 -0
- robosystems_client/api/create/__init__.py +1 -0
- robosystems_client/api/create/create_graph.py +375 -0
- robosystems_client/api/create/get_available_extensions.py +134 -0
- robosystems_client/api/credits_/__init__.py +1 -0
- robosystems_client/api/credits_/check_credit_balance.py +299 -0
- robosystems_client/api/credits_/check_storage_limits.py +249 -0
- robosystems_client/api/credits_/get_credit_summary.py +245 -0
- robosystems_client/api/credits_/get_storage_usage.py +279 -0
- robosystems_client/api/credits_/list_credit_transactions.py +392 -0
- robosystems_client/api/graph_analytics/__init__.py +1 -0
- robosystems_client/api/graph_analytics/get_graph_metrics.py +285 -0
- robosystems_client/api/graph_analytics/get_graph_usage_stats.py +329 -0
- robosystems_client/api/graph_status/__init__.py +1 -0
- robosystems_client/api/graph_status/get_database_health.py +273 -0
- robosystems_client/api/graph_status/get_database_info.py +277 -0
- robosystems_client/api/mcp/__init__.py +1 -0
- robosystems_client/api/mcp/call_mcp_tool.py +432 -0
- robosystems_client/api/mcp/list_mcp_tools.py +265 -0
- robosystems_client/api/operations/__init__.py +1 -0
- robosystems_client/api/operations/cancel_operation.py +246 -0
- robosystems_client/api/operations/get_operation_status.py +273 -0
- robosystems_client/api/operations/stream_operation_events.py +415 -0
- robosystems_client/api/query/__init__.py +1 -0
- robosystems_client/api/query/execute_cypher_query.py +482 -0
- robosystems_client/api/schema/__init__.py +1 -0
- robosystems_client/api/schema/export_graph_schema.py +239 -0
- robosystems_client/api/schema/get_graph_schema_info.py +277 -0
- robosystems_client/api/schema/list_schema_extensions.py +216 -0
- robosystems_client/api/schema/validate_schema.py +326 -0
- robosystems_client/api/service_offerings/__init__.py +1 -0
- robosystems_client/api/service_offerings/get_service_offerings.py +197 -0
- robosystems_client/api/status/__init__.py +1 -0
- robosystems_client/api/status/get_mcp_health.py +136 -0
- robosystems_client/api/status/get_service_status.py +134 -0
- robosystems_client/api/user/__init__.py +1 -0
- robosystems_client/api/user/create_user_api_key.py +205 -0
- robosystems_client/api/user/get_all_credit_summaries.py +256 -0
- robosystems_client/api/user/get_current_user.py +187 -0
- robosystems_client/api/user/get_user_graphs.py +187 -0
- robosystems_client/api/user/list_user_api_keys.py +187 -0
- robosystems_client/api/user/revoke_user_api_key.py +209 -0
- robosystems_client/api/user/select_user_graph.py +213 -0
- robosystems_client/api/user/update_user.py +205 -0
- robosystems_client/api/user/update_user_api_key.py +218 -0
- robosystems_client/api/user/update_user_password.py +218 -0
- robosystems_client/api/user_analytics/__init__.py +1 -0
- robosystems_client/api/user_analytics/get_detailed_user_analytics.py +222 -0
- robosystems_client/api/user_analytics/get_user_usage_overview.py +187 -0
- robosystems_client/api/user_limits/__init__.py +1 -0
- robosystems_client/api/user_limits/get_user_limits.py +190 -0
- robosystems_client/api/user_limits/get_user_usage.py +187 -0
- robosystems_client/api/user_subscriptions/__init__.py +1 -0
- robosystems_client/api/user_subscriptions/cancel_shared_repository_subscription.py +209 -0
- robosystems_client/api/user_subscriptions/get_repository_credits.py +206 -0
- robosystems_client/api/user_subscriptions/get_shared_repository_credits.py +193 -0
- robosystems_client/api/user_subscriptions/get_user_shared_subscriptions.py +213 -0
- robosystems_client/api/user_subscriptions/subscribe_to_shared_repository.py +214 -0
- robosystems_client/api/user_subscriptions/upgrade_shared_repository_subscription.py +228 -0
- robosystems_client/client.py +278 -0
- robosystems_client/errors.py +16 -0
- robosystems_client/extensions/README.md +611 -0
- robosystems_client/extensions/__init__.py +108 -0
- robosystems_client/extensions/auth_integration.py +210 -0
- robosystems_client/extensions/extensions.py +170 -0
- robosystems_client/extensions/operation_client.py +368 -0
- robosystems_client/extensions/query_client.py +375 -0
- robosystems_client/extensions/sse_client.py +520 -0
- robosystems_client/extensions/tests/__init__.py +1 -0
- robosystems_client/extensions/tests/test_integration.py +490 -0
- robosystems_client/extensions/tests/test_unit.py +560 -0
- robosystems_client/extensions/utils.py +526 -0
- robosystems_client/models/__init__.py +379 -0
- robosystems_client/models/account_info.py +79 -0
- robosystems_client/models/add_on_credit_info.py +119 -0
- robosystems_client/models/agent_message.py +68 -0
- robosystems_client/models/agent_request.py +132 -0
- robosystems_client/models/agent_request_context_type_0.py +44 -0
- robosystems_client/models/agent_response.py +132 -0
- robosystems_client/models/agent_response_metadata_type_0.py +44 -0
- robosystems_client/models/api_key_info.py +134 -0
- robosystems_client/models/api_keys_response.py +74 -0
- robosystems_client/models/auth_response.py +82 -0
- robosystems_client/models/auth_response_user.py +44 -0
- robosystems_client/models/available_extension.py +78 -0
- robosystems_client/models/available_extensions_response.py +73 -0
- robosystems_client/models/backup_create_request.py +117 -0
- robosystems_client/models/backup_export_request.py +72 -0
- robosystems_client/models/backup_list_response.py +90 -0
- robosystems_client/models/backup_response.py +200 -0
- robosystems_client/models/backup_restore_request.py +81 -0
- robosystems_client/models/backup_stats_response.py +156 -0
- robosystems_client/models/backup_stats_response_backup_formats.py +44 -0
- robosystems_client/models/cancel_operation_response_canceloperation.py +44 -0
- robosystems_client/models/cancellation_response.py +76 -0
- robosystems_client/models/check_credit_balance_response_checkcreditbalance.py +44 -0
- robosystems_client/models/connection_options_response.py +82 -0
- robosystems_client/models/connection_provider_info.py +203 -0
- robosystems_client/models/connection_provider_info_auth_type.py +11 -0
- robosystems_client/models/connection_provider_info_provider.py +10 -0
- robosystems_client/models/connection_response.py +149 -0
- robosystems_client/models/connection_response_metadata.py +44 -0
- robosystems_client/models/connection_response_provider.py +10 -0
- robosystems_client/models/create_api_key_request.py +82 -0
- robosystems_client/models/create_api_key_response.py +74 -0
- robosystems_client/models/create_connection_request.py +179 -0
- robosystems_client/models/create_connection_request_provider.py +10 -0
- robosystems_client/models/create_graph_request.py +183 -0
- robosystems_client/models/credit_check_request.py +82 -0
- robosystems_client/models/credit_summary.py +128 -0
- robosystems_client/models/credit_summary_response.py +140 -0
- robosystems_client/models/credits_summary_response.py +122 -0
- robosystems_client/models/credits_summary_response_credits_by_addon_item.py +44 -0
- robosystems_client/models/custom_schema_definition.py +194 -0
- robosystems_client/models/custom_schema_definition_metadata.py +49 -0
- robosystems_client/models/custom_schema_definition_nodes_item.py +44 -0
- robosystems_client/models/custom_schema_definition_relationships_item.py +44 -0
- robosystems_client/models/cypher_query_request.py +128 -0
- robosystems_client/models/cypher_query_request_parameters_type_0.py +44 -0
- robosystems_client/models/database_health_response.py +181 -0
- robosystems_client/models/database_info_response.py +191 -0
- robosystems_client/models/detailed_transactions_response.py +124 -0
- robosystems_client/models/detailed_transactions_response_date_range.py +44 -0
- robosystems_client/models/detailed_transactions_response_summary.py +59 -0
- robosystems_client/models/enhanced_credit_transaction_response.py +192 -0
- robosystems_client/models/enhanced_credit_transaction_response_metadata.py +44 -0
- robosystems_client/models/error_response.py +145 -0
- robosystems_client/models/exchange_token_request.py +116 -0
- robosystems_client/models/exchange_token_request_metadata_type_0.py +44 -0
- robosystems_client/models/get_all_credit_summaries_response_getallcreditsummaries.py +44 -0
- robosystems_client/models/get_backup_download_url_response_getbackupdownloadurl.py +44 -0
- robosystems_client/models/get_current_auth_user_response_getcurrentauthuser.py +44 -0
- robosystems_client/models/get_current_graph_bill_response_getcurrentgraphbill.py +44 -0
- robosystems_client/models/get_graph_billing_history_response_getgraphbillinghistory.py +44 -0
- robosystems_client/models/get_graph_monthly_bill_response_getgraphmonthlybill.py +44 -0
- robosystems_client/models/get_graph_schema_info_response_getgraphschemainfo.py +44 -0
- robosystems_client/models/get_graph_usage_details_response_getgraphusagedetails.py +44 -0
- robosystems_client/models/get_mcp_health_response_getmcphealth.py +44 -0
- robosystems_client/models/get_operation_status_response_getoperationstatus.py +44 -0
- robosystems_client/models/get_storage_usage_response_getstorageusage.py +44 -0
- robosystems_client/models/graph_info.py +92 -0
- robosystems_client/models/graph_metadata.py +105 -0
- robosystems_client/models/graph_metrics_response.py +188 -0
- robosystems_client/models/graph_metrics_response_estimated_size.py +44 -0
- robosystems_client/models/graph_metrics_response_health_status.py +44 -0
- robosystems_client/models/graph_metrics_response_node_counts.py +44 -0
- robosystems_client/models/graph_metrics_response_relationship_counts.py +44 -0
- robosystems_client/models/graph_usage_response.py +116 -0
- robosystems_client/models/graph_usage_response_query_statistics.py +44 -0
- robosystems_client/models/graph_usage_response_recent_activity.py +44 -0
- robosystems_client/models/graph_usage_response_storage_usage.py +44 -0
- robosystems_client/models/health_status.py +110 -0
- robosystems_client/models/health_status_details_type_0.py +44 -0
- robosystems_client/models/http_validation_error.py +75 -0
- robosystems_client/models/initial_entity_data.py +212 -0
- robosystems_client/models/kuzu_backup_health_response_kuzubackuphealth.py +44 -0
- robosystems_client/models/link_token_request.py +174 -0
- robosystems_client/models/link_token_request_options_type_0.py +44 -0
- robosystems_client/models/link_token_request_provider_type_0.py +10 -0
- robosystems_client/models/list_connections_provider_type_0.py +10 -0
- robosystems_client/models/list_schema_extensions_response_listschemaextensions.py +44 -0
- robosystems_client/models/login_request.py +68 -0
- robosystems_client/models/logout_user_response_logoutuser.py +44 -0
- robosystems_client/models/mcp_tool_call.py +84 -0
- robosystems_client/models/mcp_tool_call_arguments.py +44 -0
- robosystems_client/models/mcp_tools_response.py +74 -0
- robosystems_client/models/mcp_tools_response_tools_item.py +44 -0
- robosystems_client/models/o_auth_callback_request.py +130 -0
- robosystems_client/models/o_auth_init_request.py +128 -0
- robosystems_client/models/o_auth_init_request_additional_params_type_0.py +44 -0
- robosystems_client/models/o_auth_init_response.py +78 -0
- robosystems_client/models/password_check_request.py +82 -0
- robosystems_client/models/password_check_response.py +112 -0
- robosystems_client/models/password_check_response_character_types.py +44 -0
- robosystems_client/models/password_policy_response.py +66 -0
- robosystems_client/models/password_policy_response_policy.py +44 -0
- robosystems_client/models/plaid_connection_config.py +209 -0
- robosystems_client/models/plaid_connection_config_accounts_type_0_item.py +44 -0
- robosystems_client/models/plaid_connection_config_institution_type_0.py +44 -0
- robosystems_client/models/quick_books_connection_config.py +92 -0
- robosystems_client/models/register_request.py +98 -0
- robosystems_client/models/repository_credits_response.py +101 -0
- robosystems_client/models/repository_plan.py +10 -0
- robosystems_client/models/repository_type.py +10 -0
- robosystems_client/models/response_mode.py +11 -0
- robosystems_client/models/schema_export_response.py +163 -0
- robosystems_client/models/schema_export_response_data_stats_type_0.py +44 -0
- robosystems_client/models/schema_export_response_schema_definition_type_0.py +44 -0
- robosystems_client/models/schema_validation_request.py +142 -0
- robosystems_client/models/schema_validation_request_schema_definition_type_0.py +44 -0
- robosystems_client/models/schema_validation_response.py +227 -0
- robosystems_client/models/schema_validation_response_compatibility_type_0.py +44 -0
- robosystems_client/models/schema_validation_response_stats_type_0.py +44 -0
- robosystems_client/models/sec_connection_config.py +82 -0
- robosystems_client/models/sso_complete_request.py +60 -0
- robosystems_client/models/sso_exchange_request.py +90 -0
- robosystems_client/models/sso_exchange_response.py +78 -0
- robosystems_client/models/sso_login_request.py +60 -0
- robosystems_client/models/sso_token_response.py +78 -0
- robosystems_client/models/storage_limit_response.py +149 -0
- robosystems_client/models/subscription_info.py +180 -0
- robosystems_client/models/subscription_info_metadata.py +44 -0
- robosystems_client/models/subscription_request.py +89 -0
- robosystems_client/models/subscription_response.py +82 -0
- robosystems_client/models/success_response.py +112 -0
- robosystems_client/models/success_response_data_type_0.py +44 -0
- robosystems_client/models/sync_connection_request.py +106 -0
- robosystems_client/models/sync_connection_request_sync_options_type_0.py +44 -0
- robosystems_client/models/sync_connection_response_syncconnection.py +44 -0
- robosystems_client/models/tier_upgrade_request.py +62 -0
- robosystems_client/models/transaction_summary_response.py +126 -0
- robosystems_client/models/update_api_key_request.py +92 -0
- robosystems_client/models/update_password_request.py +76 -0
- robosystems_client/models/update_user_request.py +92 -0
- robosystems_client/models/upgrade_subscription_request.py +82 -0
- robosystems_client/models/user_analytics_response.py +132 -0
- robosystems_client/models/user_analytics_response_api_usage.py +44 -0
- robosystems_client/models/user_analytics_response_graph_usage.py +44 -0
- robosystems_client/models/user_analytics_response_limits.py +44 -0
- robosystems_client/models/user_analytics_response_recent_activity_item.py +44 -0
- robosystems_client/models/user_analytics_response_user_info.py +44 -0
- robosystems_client/models/user_graph_summary.py +134 -0
- robosystems_client/models/user_graphs_response.py +96 -0
- robosystems_client/models/user_limits_response.py +95 -0
- robosystems_client/models/user_response.py +132 -0
- robosystems_client/models/user_subscriptions_response.py +90 -0
- robosystems_client/models/user_usage_response.py +90 -0
- robosystems_client/models/user_usage_response_graphs.py +44 -0
- robosystems_client/models/user_usage_summary_response.py +130 -0
- robosystems_client/models/user_usage_summary_response_usage_vs_limits.py +44 -0
- robosystems_client/models/validation_error.py +88 -0
- robosystems_client/py.typed +1 -0
- robosystems_client/sdk-config.yaml +5 -0
- robosystems_client/types.py +54 -0
- robosystems_client-0.1.9.dist-info/METADATA +302 -0
- robosystems_client-0.1.9.dist-info/RECORD +282 -0
- robosystems_client-0.1.9.dist-info/WHEEL +4 -0
|
@@ -0,0 +1,379 @@
|
|
|
1
|
+
"""Contains all the data models used in inputs/outputs"""
|
|
2
|
+
|
|
3
|
+
from .account_info import AccountInfo
|
|
4
|
+
from .add_on_credit_info import AddOnCreditInfo
|
|
5
|
+
from .agent_message import AgentMessage
|
|
6
|
+
from .agent_request import AgentRequest
|
|
7
|
+
from .agent_request_context_type_0 import AgentRequestContextType0
|
|
8
|
+
from .agent_response import AgentResponse
|
|
9
|
+
from .agent_response_metadata_type_0 import AgentResponseMetadataType0
|
|
10
|
+
from .api_key_info import APIKeyInfo
|
|
11
|
+
from .api_keys_response import APIKeysResponse
|
|
12
|
+
from .auth_response import AuthResponse
|
|
13
|
+
from .auth_response_user import AuthResponseUser
|
|
14
|
+
from .available_extension import AvailableExtension
|
|
15
|
+
from .available_extensions_response import AvailableExtensionsResponse
|
|
16
|
+
from .backup_create_request import BackupCreateRequest
|
|
17
|
+
from .backup_export_request import BackupExportRequest
|
|
18
|
+
from .backup_list_response import BackupListResponse
|
|
19
|
+
from .backup_response import BackupResponse
|
|
20
|
+
from .backup_restore_request import BackupRestoreRequest
|
|
21
|
+
from .backup_stats_response import BackupStatsResponse
|
|
22
|
+
from .backup_stats_response_backup_formats import BackupStatsResponseBackupFormats
|
|
23
|
+
from .cancel_operation_response_canceloperation import (
|
|
24
|
+
CancelOperationResponseCanceloperation,
|
|
25
|
+
)
|
|
26
|
+
from .cancellation_response import CancellationResponse
|
|
27
|
+
from .check_credit_balance_response_checkcreditbalance import (
|
|
28
|
+
CheckCreditBalanceResponseCheckcreditbalance,
|
|
29
|
+
)
|
|
30
|
+
from .connection_options_response import ConnectionOptionsResponse
|
|
31
|
+
from .connection_provider_info import ConnectionProviderInfo
|
|
32
|
+
from .connection_provider_info_auth_type import ConnectionProviderInfoAuthType
|
|
33
|
+
from .connection_provider_info_provider import ConnectionProviderInfoProvider
|
|
34
|
+
from .connection_response import ConnectionResponse
|
|
35
|
+
from .connection_response_metadata import ConnectionResponseMetadata
|
|
36
|
+
from .connection_response_provider import ConnectionResponseProvider
|
|
37
|
+
from .create_api_key_request import CreateAPIKeyRequest
|
|
38
|
+
from .create_api_key_response import CreateAPIKeyResponse
|
|
39
|
+
from .create_connection_request import CreateConnectionRequest
|
|
40
|
+
from .create_connection_request_provider import CreateConnectionRequestProvider
|
|
41
|
+
from .create_graph_request import CreateGraphRequest
|
|
42
|
+
from .credit_check_request import CreditCheckRequest
|
|
43
|
+
from .credit_summary import CreditSummary
|
|
44
|
+
from .credit_summary_response import CreditSummaryResponse
|
|
45
|
+
from .credits_summary_response import CreditsSummaryResponse
|
|
46
|
+
from .credits_summary_response_credits_by_addon_item import (
|
|
47
|
+
CreditsSummaryResponseCreditsByAddonItem,
|
|
48
|
+
)
|
|
49
|
+
from .custom_schema_definition import CustomSchemaDefinition
|
|
50
|
+
from .custom_schema_definition_metadata import CustomSchemaDefinitionMetadata
|
|
51
|
+
from .custom_schema_definition_nodes_item import CustomSchemaDefinitionNodesItem
|
|
52
|
+
from .custom_schema_definition_relationships_item import (
|
|
53
|
+
CustomSchemaDefinitionRelationshipsItem,
|
|
54
|
+
)
|
|
55
|
+
from .cypher_query_request import CypherQueryRequest
|
|
56
|
+
from .cypher_query_request_parameters_type_0 import CypherQueryRequestParametersType0
|
|
57
|
+
from .database_health_response import DatabaseHealthResponse
|
|
58
|
+
from .database_info_response import DatabaseInfoResponse
|
|
59
|
+
from .detailed_transactions_response import DetailedTransactionsResponse
|
|
60
|
+
from .detailed_transactions_response_date_range import (
|
|
61
|
+
DetailedTransactionsResponseDateRange,
|
|
62
|
+
)
|
|
63
|
+
from .detailed_transactions_response_summary import DetailedTransactionsResponseSummary
|
|
64
|
+
from .enhanced_credit_transaction_response import EnhancedCreditTransactionResponse
|
|
65
|
+
from .enhanced_credit_transaction_response_metadata import (
|
|
66
|
+
EnhancedCreditTransactionResponseMetadata,
|
|
67
|
+
)
|
|
68
|
+
from .error_response import ErrorResponse
|
|
69
|
+
from .exchange_token_request import ExchangeTokenRequest
|
|
70
|
+
from .exchange_token_request_metadata_type_0 import ExchangeTokenRequestMetadataType0
|
|
71
|
+
from .get_all_credit_summaries_response_getallcreditsummaries import (
|
|
72
|
+
GetAllCreditSummariesResponseGetallcreditsummaries,
|
|
73
|
+
)
|
|
74
|
+
from .get_backup_download_url_response_getbackupdownloadurl import (
|
|
75
|
+
GetBackupDownloadUrlResponseGetbackupdownloadurl,
|
|
76
|
+
)
|
|
77
|
+
from .get_current_auth_user_response_getcurrentauthuser import (
|
|
78
|
+
GetCurrentAuthUserResponseGetcurrentauthuser,
|
|
79
|
+
)
|
|
80
|
+
from .get_current_graph_bill_response_getcurrentgraphbill import (
|
|
81
|
+
GetCurrentGraphBillResponseGetcurrentgraphbill,
|
|
82
|
+
)
|
|
83
|
+
from .get_graph_billing_history_response_getgraphbillinghistory import (
|
|
84
|
+
GetGraphBillingHistoryResponseGetgraphbillinghistory,
|
|
85
|
+
)
|
|
86
|
+
from .get_graph_monthly_bill_response_getgraphmonthlybill import (
|
|
87
|
+
GetGraphMonthlyBillResponseGetgraphmonthlybill,
|
|
88
|
+
)
|
|
89
|
+
from .get_graph_schema_info_response_getgraphschemainfo import (
|
|
90
|
+
GetGraphSchemaInfoResponseGetgraphschemainfo,
|
|
91
|
+
)
|
|
92
|
+
from .get_graph_usage_details_response_getgraphusagedetails import (
|
|
93
|
+
GetGraphUsageDetailsResponseGetgraphusagedetails,
|
|
94
|
+
)
|
|
95
|
+
from .get_mcp_health_response_getmcphealth import GetMCPHealthResponseGetmcphealth
|
|
96
|
+
from .get_operation_status_response_getoperationstatus import (
|
|
97
|
+
GetOperationStatusResponseGetoperationstatus,
|
|
98
|
+
)
|
|
99
|
+
from .get_storage_usage_response_getstorageusage import (
|
|
100
|
+
GetStorageUsageResponseGetstorageusage,
|
|
101
|
+
)
|
|
102
|
+
from .graph_info import GraphInfo
|
|
103
|
+
from .graph_metadata import GraphMetadata
|
|
104
|
+
from .graph_metrics_response import GraphMetricsResponse
|
|
105
|
+
from .graph_metrics_response_estimated_size import GraphMetricsResponseEstimatedSize
|
|
106
|
+
from .graph_metrics_response_health_status import GraphMetricsResponseHealthStatus
|
|
107
|
+
from .graph_metrics_response_node_counts import GraphMetricsResponseNodeCounts
|
|
108
|
+
from .graph_metrics_response_relationship_counts import (
|
|
109
|
+
GraphMetricsResponseRelationshipCounts,
|
|
110
|
+
)
|
|
111
|
+
from .graph_usage_response import GraphUsageResponse
|
|
112
|
+
from .graph_usage_response_query_statistics import GraphUsageResponseQueryStatistics
|
|
113
|
+
from .graph_usage_response_recent_activity import GraphUsageResponseRecentActivity
|
|
114
|
+
from .graph_usage_response_storage_usage import GraphUsageResponseStorageUsage
|
|
115
|
+
from .health_status import HealthStatus
|
|
116
|
+
from .health_status_details_type_0 import HealthStatusDetailsType0
|
|
117
|
+
from .http_validation_error import HTTPValidationError
|
|
118
|
+
from .initial_entity_data import InitialEntityData
|
|
119
|
+
from .kuzu_backup_health_response_kuzubackuphealth import (
|
|
120
|
+
KuzuBackupHealthResponseKuzubackuphealth,
|
|
121
|
+
)
|
|
122
|
+
from .link_token_request import LinkTokenRequest
|
|
123
|
+
from .link_token_request_options_type_0 import LinkTokenRequestOptionsType0
|
|
124
|
+
from .link_token_request_provider_type_0 import LinkTokenRequestProviderType0
|
|
125
|
+
from .list_connections_provider_type_0 import ListConnectionsProviderType0
|
|
126
|
+
from .list_schema_extensions_response_listschemaextensions import (
|
|
127
|
+
ListSchemaExtensionsResponseListschemaextensions,
|
|
128
|
+
)
|
|
129
|
+
from .login_request import LoginRequest
|
|
130
|
+
from .logout_user_response_logoutuser import LogoutUserResponseLogoutuser
|
|
131
|
+
from .mcp_tool_call import MCPToolCall
|
|
132
|
+
from .mcp_tool_call_arguments import MCPToolCallArguments
|
|
133
|
+
from .mcp_tools_response import MCPToolsResponse
|
|
134
|
+
from .mcp_tools_response_tools_item import MCPToolsResponseToolsItem
|
|
135
|
+
from .o_auth_callback_request import OAuthCallbackRequest
|
|
136
|
+
from .o_auth_init_request import OAuthInitRequest
|
|
137
|
+
from .o_auth_init_request_additional_params_type_0 import (
|
|
138
|
+
OAuthInitRequestAdditionalParamsType0,
|
|
139
|
+
)
|
|
140
|
+
from .o_auth_init_response import OAuthInitResponse
|
|
141
|
+
from .password_check_request import PasswordCheckRequest
|
|
142
|
+
from .password_check_response import PasswordCheckResponse
|
|
143
|
+
from .password_check_response_character_types import PasswordCheckResponseCharacterTypes
|
|
144
|
+
from .password_policy_response import PasswordPolicyResponse
|
|
145
|
+
from .password_policy_response_policy import PasswordPolicyResponsePolicy
|
|
146
|
+
from .plaid_connection_config import PlaidConnectionConfig
|
|
147
|
+
from .plaid_connection_config_accounts_type_0_item import (
|
|
148
|
+
PlaidConnectionConfigAccountsType0Item,
|
|
149
|
+
)
|
|
150
|
+
from .plaid_connection_config_institution_type_0 import (
|
|
151
|
+
PlaidConnectionConfigInstitutionType0,
|
|
152
|
+
)
|
|
153
|
+
from .quick_books_connection_config import QuickBooksConnectionConfig
|
|
154
|
+
from .register_request import RegisterRequest
|
|
155
|
+
from .repository_credits_response import RepositoryCreditsResponse
|
|
156
|
+
from .repository_plan import RepositoryPlan
|
|
157
|
+
from .repository_type import RepositoryType
|
|
158
|
+
from .response_mode import ResponseMode
|
|
159
|
+
from .schema_export_response import SchemaExportResponse
|
|
160
|
+
from .schema_export_response_data_stats_type_0 import SchemaExportResponseDataStatsType0
|
|
161
|
+
from .schema_export_response_schema_definition_type_0 import (
|
|
162
|
+
SchemaExportResponseSchemaDefinitionType0,
|
|
163
|
+
)
|
|
164
|
+
from .schema_validation_request import SchemaValidationRequest
|
|
165
|
+
from .schema_validation_request_schema_definition_type_0 import (
|
|
166
|
+
SchemaValidationRequestSchemaDefinitionType0,
|
|
167
|
+
)
|
|
168
|
+
from .schema_validation_response import SchemaValidationResponse
|
|
169
|
+
from .schema_validation_response_compatibility_type_0 import (
|
|
170
|
+
SchemaValidationResponseCompatibilityType0,
|
|
171
|
+
)
|
|
172
|
+
from .schema_validation_response_stats_type_0 import SchemaValidationResponseStatsType0
|
|
173
|
+
from .sec_connection_config import SECConnectionConfig
|
|
174
|
+
from .sso_complete_request import SSOCompleteRequest
|
|
175
|
+
from .sso_exchange_request import SSOExchangeRequest
|
|
176
|
+
from .sso_exchange_response import SSOExchangeResponse
|
|
177
|
+
from .sso_login_request import SSOLoginRequest
|
|
178
|
+
from .sso_token_response import SSOTokenResponse
|
|
179
|
+
from .storage_limit_response import StorageLimitResponse
|
|
180
|
+
from .subscription_info import SubscriptionInfo
|
|
181
|
+
from .subscription_info_metadata import SubscriptionInfoMetadata
|
|
182
|
+
from .subscription_request import SubscriptionRequest
|
|
183
|
+
from .subscription_response import SubscriptionResponse
|
|
184
|
+
from .success_response import SuccessResponse
|
|
185
|
+
from .success_response_data_type_0 import SuccessResponseDataType0
|
|
186
|
+
from .sync_connection_request import SyncConnectionRequest
|
|
187
|
+
from .sync_connection_request_sync_options_type_0 import (
|
|
188
|
+
SyncConnectionRequestSyncOptionsType0,
|
|
189
|
+
)
|
|
190
|
+
from .sync_connection_response_syncconnection import (
|
|
191
|
+
SyncConnectionResponseSyncconnection,
|
|
192
|
+
)
|
|
193
|
+
from .tier_upgrade_request import TierUpgradeRequest
|
|
194
|
+
from .transaction_summary_response import TransactionSummaryResponse
|
|
195
|
+
from .update_api_key_request import UpdateAPIKeyRequest
|
|
196
|
+
from .update_password_request import UpdatePasswordRequest
|
|
197
|
+
from .update_user_request import UpdateUserRequest
|
|
198
|
+
from .upgrade_subscription_request import UpgradeSubscriptionRequest
|
|
199
|
+
from .user_analytics_response import UserAnalyticsResponse
|
|
200
|
+
from .user_analytics_response_api_usage import UserAnalyticsResponseApiUsage
|
|
201
|
+
from .user_analytics_response_graph_usage import UserAnalyticsResponseGraphUsage
|
|
202
|
+
from .user_analytics_response_limits import UserAnalyticsResponseLimits
|
|
203
|
+
from .user_analytics_response_recent_activity_item import (
|
|
204
|
+
UserAnalyticsResponseRecentActivityItem,
|
|
205
|
+
)
|
|
206
|
+
from .user_analytics_response_user_info import UserAnalyticsResponseUserInfo
|
|
207
|
+
from .user_graph_summary import UserGraphSummary
|
|
208
|
+
from .user_graphs_response import UserGraphsResponse
|
|
209
|
+
from .user_limits_response import UserLimitsResponse
|
|
210
|
+
from .user_response import UserResponse
|
|
211
|
+
from .user_subscriptions_response import UserSubscriptionsResponse
|
|
212
|
+
from .user_usage_response import UserUsageResponse
|
|
213
|
+
from .user_usage_response_graphs import UserUsageResponseGraphs
|
|
214
|
+
from .user_usage_summary_response import UserUsageSummaryResponse
|
|
215
|
+
from .user_usage_summary_response_usage_vs_limits import (
|
|
216
|
+
UserUsageSummaryResponseUsageVsLimits,
|
|
217
|
+
)
|
|
218
|
+
from .validation_error import ValidationError
|
|
219
|
+
|
|
220
|
+
__all__ = (
|
|
221
|
+
"AccountInfo",
|
|
222
|
+
"AddOnCreditInfo",
|
|
223
|
+
"AgentMessage",
|
|
224
|
+
"AgentRequest",
|
|
225
|
+
"AgentRequestContextType0",
|
|
226
|
+
"AgentResponse",
|
|
227
|
+
"AgentResponseMetadataType0",
|
|
228
|
+
"APIKeyInfo",
|
|
229
|
+
"APIKeysResponse",
|
|
230
|
+
"AuthResponse",
|
|
231
|
+
"AuthResponseUser",
|
|
232
|
+
"AvailableExtension",
|
|
233
|
+
"AvailableExtensionsResponse",
|
|
234
|
+
"BackupCreateRequest",
|
|
235
|
+
"BackupExportRequest",
|
|
236
|
+
"BackupListResponse",
|
|
237
|
+
"BackupResponse",
|
|
238
|
+
"BackupRestoreRequest",
|
|
239
|
+
"BackupStatsResponse",
|
|
240
|
+
"BackupStatsResponseBackupFormats",
|
|
241
|
+
"CancellationResponse",
|
|
242
|
+
"CancelOperationResponseCanceloperation",
|
|
243
|
+
"CheckCreditBalanceResponseCheckcreditbalance",
|
|
244
|
+
"ConnectionOptionsResponse",
|
|
245
|
+
"ConnectionProviderInfo",
|
|
246
|
+
"ConnectionProviderInfoAuthType",
|
|
247
|
+
"ConnectionProviderInfoProvider",
|
|
248
|
+
"ConnectionResponse",
|
|
249
|
+
"ConnectionResponseMetadata",
|
|
250
|
+
"ConnectionResponseProvider",
|
|
251
|
+
"CreateAPIKeyRequest",
|
|
252
|
+
"CreateAPIKeyResponse",
|
|
253
|
+
"CreateConnectionRequest",
|
|
254
|
+
"CreateConnectionRequestProvider",
|
|
255
|
+
"CreateGraphRequest",
|
|
256
|
+
"CreditCheckRequest",
|
|
257
|
+
"CreditsSummaryResponse",
|
|
258
|
+
"CreditsSummaryResponseCreditsByAddonItem",
|
|
259
|
+
"CreditSummary",
|
|
260
|
+
"CreditSummaryResponse",
|
|
261
|
+
"CustomSchemaDefinition",
|
|
262
|
+
"CustomSchemaDefinitionMetadata",
|
|
263
|
+
"CustomSchemaDefinitionNodesItem",
|
|
264
|
+
"CustomSchemaDefinitionRelationshipsItem",
|
|
265
|
+
"CypherQueryRequest",
|
|
266
|
+
"CypherQueryRequestParametersType0",
|
|
267
|
+
"DatabaseHealthResponse",
|
|
268
|
+
"DatabaseInfoResponse",
|
|
269
|
+
"DetailedTransactionsResponse",
|
|
270
|
+
"DetailedTransactionsResponseDateRange",
|
|
271
|
+
"DetailedTransactionsResponseSummary",
|
|
272
|
+
"EnhancedCreditTransactionResponse",
|
|
273
|
+
"EnhancedCreditTransactionResponseMetadata",
|
|
274
|
+
"ErrorResponse",
|
|
275
|
+
"ExchangeTokenRequest",
|
|
276
|
+
"ExchangeTokenRequestMetadataType0",
|
|
277
|
+
"GetAllCreditSummariesResponseGetallcreditsummaries",
|
|
278
|
+
"GetBackupDownloadUrlResponseGetbackupdownloadurl",
|
|
279
|
+
"GetCurrentAuthUserResponseGetcurrentauthuser",
|
|
280
|
+
"GetCurrentGraphBillResponseGetcurrentgraphbill",
|
|
281
|
+
"GetGraphBillingHistoryResponseGetgraphbillinghistory",
|
|
282
|
+
"GetGraphMonthlyBillResponseGetgraphmonthlybill",
|
|
283
|
+
"GetGraphSchemaInfoResponseGetgraphschemainfo",
|
|
284
|
+
"GetGraphUsageDetailsResponseGetgraphusagedetails",
|
|
285
|
+
"GetMCPHealthResponseGetmcphealth",
|
|
286
|
+
"GetOperationStatusResponseGetoperationstatus",
|
|
287
|
+
"GetStorageUsageResponseGetstorageusage",
|
|
288
|
+
"GraphInfo",
|
|
289
|
+
"GraphMetadata",
|
|
290
|
+
"GraphMetricsResponse",
|
|
291
|
+
"GraphMetricsResponseEstimatedSize",
|
|
292
|
+
"GraphMetricsResponseHealthStatus",
|
|
293
|
+
"GraphMetricsResponseNodeCounts",
|
|
294
|
+
"GraphMetricsResponseRelationshipCounts",
|
|
295
|
+
"GraphUsageResponse",
|
|
296
|
+
"GraphUsageResponseQueryStatistics",
|
|
297
|
+
"GraphUsageResponseRecentActivity",
|
|
298
|
+
"GraphUsageResponseStorageUsage",
|
|
299
|
+
"HealthStatus",
|
|
300
|
+
"HealthStatusDetailsType0",
|
|
301
|
+
"HTTPValidationError",
|
|
302
|
+
"InitialEntityData",
|
|
303
|
+
"KuzuBackupHealthResponseKuzubackuphealth",
|
|
304
|
+
"LinkTokenRequest",
|
|
305
|
+
"LinkTokenRequestOptionsType0",
|
|
306
|
+
"LinkTokenRequestProviderType0",
|
|
307
|
+
"ListConnectionsProviderType0",
|
|
308
|
+
"ListSchemaExtensionsResponseListschemaextensions",
|
|
309
|
+
"LoginRequest",
|
|
310
|
+
"LogoutUserResponseLogoutuser",
|
|
311
|
+
"MCPToolCall",
|
|
312
|
+
"MCPToolCallArguments",
|
|
313
|
+
"MCPToolsResponse",
|
|
314
|
+
"MCPToolsResponseToolsItem",
|
|
315
|
+
"OAuthCallbackRequest",
|
|
316
|
+
"OAuthInitRequest",
|
|
317
|
+
"OAuthInitRequestAdditionalParamsType0",
|
|
318
|
+
"OAuthInitResponse",
|
|
319
|
+
"PasswordCheckRequest",
|
|
320
|
+
"PasswordCheckResponse",
|
|
321
|
+
"PasswordCheckResponseCharacterTypes",
|
|
322
|
+
"PasswordPolicyResponse",
|
|
323
|
+
"PasswordPolicyResponsePolicy",
|
|
324
|
+
"PlaidConnectionConfig",
|
|
325
|
+
"PlaidConnectionConfigAccountsType0Item",
|
|
326
|
+
"PlaidConnectionConfigInstitutionType0",
|
|
327
|
+
"QuickBooksConnectionConfig",
|
|
328
|
+
"RegisterRequest",
|
|
329
|
+
"RepositoryCreditsResponse",
|
|
330
|
+
"RepositoryPlan",
|
|
331
|
+
"RepositoryType",
|
|
332
|
+
"ResponseMode",
|
|
333
|
+
"SchemaExportResponse",
|
|
334
|
+
"SchemaExportResponseDataStatsType0",
|
|
335
|
+
"SchemaExportResponseSchemaDefinitionType0",
|
|
336
|
+
"SchemaValidationRequest",
|
|
337
|
+
"SchemaValidationRequestSchemaDefinitionType0",
|
|
338
|
+
"SchemaValidationResponse",
|
|
339
|
+
"SchemaValidationResponseCompatibilityType0",
|
|
340
|
+
"SchemaValidationResponseStatsType0",
|
|
341
|
+
"SECConnectionConfig",
|
|
342
|
+
"SSOCompleteRequest",
|
|
343
|
+
"SSOExchangeRequest",
|
|
344
|
+
"SSOExchangeResponse",
|
|
345
|
+
"SSOLoginRequest",
|
|
346
|
+
"SSOTokenResponse",
|
|
347
|
+
"StorageLimitResponse",
|
|
348
|
+
"SubscriptionInfo",
|
|
349
|
+
"SubscriptionInfoMetadata",
|
|
350
|
+
"SubscriptionRequest",
|
|
351
|
+
"SubscriptionResponse",
|
|
352
|
+
"SuccessResponse",
|
|
353
|
+
"SuccessResponseDataType0",
|
|
354
|
+
"SyncConnectionRequest",
|
|
355
|
+
"SyncConnectionRequestSyncOptionsType0",
|
|
356
|
+
"SyncConnectionResponseSyncconnection",
|
|
357
|
+
"TierUpgradeRequest",
|
|
358
|
+
"TransactionSummaryResponse",
|
|
359
|
+
"UpdateAPIKeyRequest",
|
|
360
|
+
"UpdatePasswordRequest",
|
|
361
|
+
"UpdateUserRequest",
|
|
362
|
+
"UpgradeSubscriptionRequest",
|
|
363
|
+
"UserAnalyticsResponse",
|
|
364
|
+
"UserAnalyticsResponseApiUsage",
|
|
365
|
+
"UserAnalyticsResponseGraphUsage",
|
|
366
|
+
"UserAnalyticsResponseLimits",
|
|
367
|
+
"UserAnalyticsResponseRecentActivityItem",
|
|
368
|
+
"UserAnalyticsResponseUserInfo",
|
|
369
|
+
"UserGraphsResponse",
|
|
370
|
+
"UserGraphSummary",
|
|
371
|
+
"UserLimitsResponse",
|
|
372
|
+
"UserResponse",
|
|
373
|
+
"UserSubscriptionsResponse",
|
|
374
|
+
"UserUsageResponse",
|
|
375
|
+
"UserUsageResponseGraphs",
|
|
376
|
+
"UserUsageSummaryResponse",
|
|
377
|
+
"UserUsageSummaryResponseUsageVsLimits",
|
|
378
|
+
"ValidationError",
|
|
379
|
+
)
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
from collections.abc import Mapping
|
|
2
|
+
from typing import Any, TypeVar
|
|
3
|
+
|
|
4
|
+
from attrs import define as _attrs_define
|
|
5
|
+
from attrs import field as _attrs_field
|
|
6
|
+
|
|
7
|
+
T = TypeVar("T", bound="AccountInfo")
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
@_attrs_define
|
|
11
|
+
class AccountInfo:
|
|
12
|
+
"""Provider account information.
|
|
13
|
+
|
|
14
|
+
Example:
|
|
15
|
+
{'provider': 'github', 'provider_account_id': '12345', 'provider_type': 'oauth'}
|
|
16
|
+
|
|
17
|
+
Attributes:
|
|
18
|
+
provider (str): Authentication provider ID (e.g., 'github', 'google')
|
|
19
|
+
provider_type (str): Type of provider
|
|
20
|
+
provider_account_id (str): Account ID at the provider
|
|
21
|
+
"""
|
|
22
|
+
|
|
23
|
+
provider: str
|
|
24
|
+
provider_type: str
|
|
25
|
+
provider_account_id: str
|
|
26
|
+
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
27
|
+
|
|
28
|
+
def to_dict(self) -> dict[str, Any]:
|
|
29
|
+
provider = self.provider
|
|
30
|
+
|
|
31
|
+
provider_type = self.provider_type
|
|
32
|
+
|
|
33
|
+
provider_account_id = self.provider_account_id
|
|
34
|
+
|
|
35
|
+
field_dict: dict[str, Any] = {}
|
|
36
|
+
field_dict.update(self.additional_properties)
|
|
37
|
+
field_dict.update(
|
|
38
|
+
{
|
|
39
|
+
"provider": provider,
|
|
40
|
+
"provider_type": provider_type,
|
|
41
|
+
"provider_account_id": provider_account_id,
|
|
42
|
+
}
|
|
43
|
+
)
|
|
44
|
+
|
|
45
|
+
return field_dict
|
|
46
|
+
|
|
47
|
+
@classmethod
|
|
48
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
49
|
+
d = dict(src_dict)
|
|
50
|
+
provider = d.pop("provider")
|
|
51
|
+
|
|
52
|
+
provider_type = d.pop("provider_type")
|
|
53
|
+
|
|
54
|
+
provider_account_id = d.pop("provider_account_id")
|
|
55
|
+
|
|
56
|
+
account_info = cls(
|
|
57
|
+
provider=provider,
|
|
58
|
+
provider_type=provider_type,
|
|
59
|
+
provider_account_id=provider_account_id,
|
|
60
|
+
)
|
|
61
|
+
|
|
62
|
+
account_info.additional_properties = d
|
|
63
|
+
return account_info
|
|
64
|
+
|
|
65
|
+
@property
|
|
66
|
+
def additional_keys(self) -> list[str]:
|
|
67
|
+
return list(self.additional_properties.keys())
|
|
68
|
+
|
|
69
|
+
def __getitem__(self, key: str) -> Any:
|
|
70
|
+
return self.additional_properties[key]
|
|
71
|
+
|
|
72
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
73
|
+
self.additional_properties[key] = value
|
|
74
|
+
|
|
75
|
+
def __delitem__(self, key: str) -> None:
|
|
76
|
+
del self.additional_properties[key]
|
|
77
|
+
|
|
78
|
+
def __contains__(self, key: str) -> bool:
|
|
79
|
+
return key in self.additional_properties
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
from collections.abc import Mapping
|
|
2
|
+
from typing import Any, TypeVar, Union
|
|
3
|
+
|
|
4
|
+
from attrs import define as _attrs_define
|
|
5
|
+
from attrs import field as _attrs_field
|
|
6
|
+
|
|
7
|
+
from ..types import UNSET, Unset
|
|
8
|
+
|
|
9
|
+
T = TypeVar("T", bound="AddOnCreditInfo")
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
@_attrs_define
|
|
13
|
+
class AddOnCreditInfo:
|
|
14
|
+
"""Credit information for a specific add-on.
|
|
15
|
+
|
|
16
|
+
Attributes:
|
|
17
|
+
subscription_id (str): Subscription ID
|
|
18
|
+
addon_type (str): Add-on type (e.g., sec_data)
|
|
19
|
+
name (str): Display name of the add-on
|
|
20
|
+
tier (str): Subscription tier
|
|
21
|
+
credits_remaining (float): Credits remaining
|
|
22
|
+
credits_allocated (float): Monthly credit allocation
|
|
23
|
+
credits_consumed (float): Credits consumed this month
|
|
24
|
+
rollover_amount (Union[Unset, float]): Credits rolled over from previous month Default: 0.0.
|
|
25
|
+
"""
|
|
26
|
+
|
|
27
|
+
subscription_id: str
|
|
28
|
+
addon_type: str
|
|
29
|
+
name: str
|
|
30
|
+
tier: str
|
|
31
|
+
credits_remaining: float
|
|
32
|
+
credits_allocated: float
|
|
33
|
+
credits_consumed: float
|
|
34
|
+
rollover_amount: Union[Unset, float] = 0.0
|
|
35
|
+
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
36
|
+
|
|
37
|
+
def to_dict(self) -> dict[str, Any]:
|
|
38
|
+
subscription_id = self.subscription_id
|
|
39
|
+
|
|
40
|
+
addon_type = self.addon_type
|
|
41
|
+
|
|
42
|
+
name = self.name
|
|
43
|
+
|
|
44
|
+
tier = self.tier
|
|
45
|
+
|
|
46
|
+
credits_remaining = self.credits_remaining
|
|
47
|
+
|
|
48
|
+
credits_allocated = self.credits_allocated
|
|
49
|
+
|
|
50
|
+
credits_consumed = self.credits_consumed
|
|
51
|
+
|
|
52
|
+
rollover_amount = self.rollover_amount
|
|
53
|
+
|
|
54
|
+
field_dict: dict[str, Any] = {}
|
|
55
|
+
field_dict.update(self.additional_properties)
|
|
56
|
+
field_dict.update(
|
|
57
|
+
{
|
|
58
|
+
"subscription_id": subscription_id,
|
|
59
|
+
"addon_type": addon_type,
|
|
60
|
+
"name": name,
|
|
61
|
+
"tier": tier,
|
|
62
|
+
"credits_remaining": credits_remaining,
|
|
63
|
+
"credits_allocated": credits_allocated,
|
|
64
|
+
"credits_consumed": credits_consumed,
|
|
65
|
+
}
|
|
66
|
+
)
|
|
67
|
+
if rollover_amount is not UNSET:
|
|
68
|
+
field_dict["rollover_amount"] = rollover_amount
|
|
69
|
+
|
|
70
|
+
return field_dict
|
|
71
|
+
|
|
72
|
+
@classmethod
|
|
73
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
74
|
+
d = dict(src_dict)
|
|
75
|
+
subscription_id = d.pop("subscription_id")
|
|
76
|
+
|
|
77
|
+
addon_type = d.pop("addon_type")
|
|
78
|
+
|
|
79
|
+
name = d.pop("name")
|
|
80
|
+
|
|
81
|
+
tier = d.pop("tier")
|
|
82
|
+
|
|
83
|
+
credits_remaining = d.pop("credits_remaining")
|
|
84
|
+
|
|
85
|
+
credits_allocated = d.pop("credits_allocated")
|
|
86
|
+
|
|
87
|
+
credits_consumed = d.pop("credits_consumed")
|
|
88
|
+
|
|
89
|
+
rollover_amount = d.pop("rollover_amount", UNSET)
|
|
90
|
+
|
|
91
|
+
add_on_credit_info = cls(
|
|
92
|
+
subscription_id=subscription_id,
|
|
93
|
+
addon_type=addon_type,
|
|
94
|
+
name=name,
|
|
95
|
+
tier=tier,
|
|
96
|
+
credits_remaining=credits_remaining,
|
|
97
|
+
credits_allocated=credits_allocated,
|
|
98
|
+
credits_consumed=credits_consumed,
|
|
99
|
+
rollover_amount=rollover_amount,
|
|
100
|
+
)
|
|
101
|
+
|
|
102
|
+
add_on_credit_info.additional_properties = d
|
|
103
|
+
return add_on_credit_info
|
|
104
|
+
|
|
105
|
+
@property
|
|
106
|
+
def additional_keys(self) -> list[str]:
|
|
107
|
+
return list(self.additional_properties.keys())
|
|
108
|
+
|
|
109
|
+
def __getitem__(self, key: str) -> Any:
|
|
110
|
+
return self.additional_properties[key]
|
|
111
|
+
|
|
112
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
113
|
+
self.additional_properties[key] = value
|
|
114
|
+
|
|
115
|
+
def __delitem__(self, key: str) -> None:
|
|
116
|
+
del self.additional_properties[key]
|
|
117
|
+
|
|
118
|
+
def __contains__(self, key: str) -> bool:
|
|
119
|
+
return key in self.additional_properties
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
from collections.abc import Mapping
|
|
2
|
+
from typing import Any, TypeVar
|
|
3
|
+
|
|
4
|
+
from attrs import define as _attrs_define
|
|
5
|
+
from attrs import field as _attrs_field
|
|
6
|
+
|
|
7
|
+
T = TypeVar("T", bound="AgentMessage")
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
@_attrs_define
|
|
11
|
+
class AgentMessage:
|
|
12
|
+
"""Message in conversation history.
|
|
13
|
+
|
|
14
|
+
Attributes:
|
|
15
|
+
role (str): Message role (user/assistant)
|
|
16
|
+
content (str): Message content
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
role: str
|
|
20
|
+
content: str
|
|
21
|
+
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
22
|
+
|
|
23
|
+
def to_dict(self) -> dict[str, Any]:
|
|
24
|
+
role = self.role
|
|
25
|
+
|
|
26
|
+
content = self.content
|
|
27
|
+
|
|
28
|
+
field_dict: dict[str, Any] = {}
|
|
29
|
+
field_dict.update(self.additional_properties)
|
|
30
|
+
field_dict.update(
|
|
31
|
+
{
|
|
32
|
+
"role": role,
|
|
33
|
+
"content": content,
|
|
34
|
+
}
|
|
35
|
+
)
|
|
36
|
+
|
|
37
|
+
return field_dict
|
|
38
|
+
|
|
39
|
+
@classmethod
|
|
40
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
41
|
+
d = dict(src_dict)
|
|
42
|
+
role = d.pop("role")
|
|
43
|
+
|
|
44
|
+
content = d.pop("content")
|
|
45
|
+
|
|
46
|
+
agent_message = cls(
|
|
47
|
+
role=role,
|
|
48
|
+
content=content,
|
|
49
|
+
)
|
|
50
|
+
|
|
51
|
+
agent_message.additional_properties = d
|
|
52
|
+
return agent_message
|
|
53
|
+
|
|
54
|
+
@property
|
|
55
|
+
def additional_keys(self) -> list[str]:
|
|
56
|
+
return list(self.additional_properties.keys())
|
|
57
|
+
|
|
58
|
+
def __getitem__(self, key: str) -> Any:
|
|
59
|
+
return self.additional_properties[key]
|
|
60
|
+
|
|
61
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
62
|
+
self.additional_properties[key] = value
|
|
63
|
+
|
|
64
|
+
def __delitem__(self, key: str) -> None:
|
|
65
|
+
del self.additional_properties[key]
|
|
66
|
+
|
|
67
|
+
def __contains__(self, key: str) -> bool:
|
|
68
|
+
return key in self.additional_properties
|