robosystems-client 0.1.15__py3-none-any.whl → 0.1.17__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 +246 -0
- robosystems_client/api/agent/batch_process_queries.py +261 -0
- robosystems_client/api/agent/execute_specific_agent.py +258 -0
- robosystems_client/api/agent/get_agent_metadata.py +238 -0
- robosystems_client/api/agent/list_agents.py +246 -0
- robosystems_client/api/agent/recommend_agent.py +255 -0
- robosystems_client/api/auth/forgot_password.py +191 -0
- robosystems_client/api/auth/generate_sso_token.py +18 -0
- robosystems_client/api/auth/get_current_auth_user.py +4 -22
- robosystems_client/api/auth/logout_user.py +17 -17
- robosystems_client/api/auth/{refresh_session.py → refresh_auth_session.py} +21 -21
- robosystems_client/api/auth/resend_verification_email.py +222 -0
- robosystems_client/api/auth/reset_password.py +177 -0
- robosystems_client/api/auth/validate_reset_token.py +171 -0
- robosystems_client/api/auth/verify_email.py +177 -0
- robosystems_client/api/backup/create_backup.py +0 -18
- robosystems_client/api/backup/export_backup.py +0 -18
- robosystems_client/api/backup/get_backup_download_url.py +0 -18
- robosystems_client/api/backup/get_backup_stats.py +0 -18
- robosystems_client/api/backup/list_backups.py +0 -18
- robosystems_client/api/backup/restore_backup.py +0 -18
- robosystems_client/api/connections/create_connection.py +0 -18
- robosystems_client/api/connections/create_link_token.py +0 -18
- robosystems_client/api/connections/delete_connection.py +0 -18
- robosystems_client/api/connections/exchange_link_token.py +0 -18
- robosystems_client/api/connections/get_connection.py +0 -18
- robosystems_client/api/connections/get_connection_options.py +0 -18
- robosystems_client/api/connections/init_o_auth.py +0 -18
- robosystems_client/api/connections/list_connections.py +0 -18
- robosystems_client/api/connections/oauth_callback.py +4 -22
- robosystems_client/api/connections/sync_connection.py +0 -18
- robosystems_client/api/copy/copy_data_to_graph.py +0 -18
- robosystems_client/api/create/create_graph.py +0 -18
- robosystems_client/api/graph_analytics/get_graph_metrics.py +0 -18
- robosystems_client/api/graph_analytics/get_graph_usage_stats.py +0 -18
- robosystems_client/api/graph_billing/get_current_graph_bill.py +0 -18
- robosystems_client/api/graph_billing/get_graph_billing_history.py +0 -18
- robosystems_client/api/graph_billing/get_graph_monthly_bill.py +0 -18
- robosystems_client/api/graph_billing/get_graph_usage_details.py +0 -18
- robosystems_client/api/graph_credits/check_credit_balance.py +14 -28
- robosystems_client/api/graph_credits/check_storage_limits.py +0 -18
- robosystems_client/api/graph_credits/get_credit_summary.py +0 -18
- robosystems_client/api/graph_credits/get_storage_usage.py +0 -18
- robosystems_client/api/graph_credits/list_credit_transactions.py +0 -18
- robosystems_client/api/graph_health/get_database_health.py +0 -18
- robosystems_client/api/graph_info/get_database_info.py +0 -18
- robosystems_client/api/graph_limits/get_graph_limits.py +0 -18
- robosystems_client/api/mcp/call_mcp_tool.py +0 -18
- robosystems_client/api/mcp/list_mcp_tools.py +0 -18
- robosystems_client/api/operations/cancel_operation.py +0 -18
- robosystems_client/api/operations/get_operation_status.py +0 -18
- robosystems_client/api/operations/stream_operation_events.py +0 -18
- robosystems_client/api/query/execute_cypher_query.py +0 -18
- robosystems_client/api/schema/export_graph_schema.py +0 -18
- robosystems_client/api/schema/get_graph_schema_info.py +0 -18
- robosystems_client/api/schema/list_schema_extensions.py +0 -18
- robosystems_client/api/schema/validate_schema.py +0 -18
- robosystems_client/api/subgraphs/create_subgraph.py +0 -18
- robosystems_client/api/subgraphs/delete_subgraph.py +0 -18
- robosystems_client/api/subgraphs/get_subgraph_info.py +0 -18
- robosystems_client/api/subgraphs/get_subgraph_quota.py +0 -18
- robosystems_client/api/subgraphs/list_subgraphs.py +0 -18
- robosystems_client/api/user/create_user_api_key.py +0 -18
- robosystems_client/api/user/get_all_credit_summaries.py +0 -18
- robosystems_client/api/user/get_current_user.py +0 -18
- robosystems_client/api/user/get_user_graphs.py +0 -18
- robosystems_client/api/user/list_user_api_keys.py +0 -18
- robosystems_client/api/user/revoke_user_api_key.py +0 -18
- robosystems_client/api/user/select_user_graph.py +0 -18
- robosystems_client/api/user/update_user.py +0 -18
- robosystems_client/api/user/update_user_api_key.py +0 -18
- robosystems_client/api/user/update_user_password.py +0 -18
- robosystems_client/api/user_analytics/get_detailed_user_analytics.py +0 -18
- robosystems_client/api/user_analytics/get_user_usage_overview.py +0 -18
- robosystems_client/api/user_limits/get_all_shared_repository_limits.py +0 -18
- robosystems_client/api/user_limits/get_shared_repository_limits.py +0 -18
- robosystems_client/api/user_limits/get_user_limits.py +0 -18
- robosystems_client/api/user_limits/get_user_usage.py +0 -18
- robosystems_client/api/user_subscriptions/cancel_shared_repository_subscription.py +0 -18
- robosystems_client/api/user_subscriptions/get_repository_credits.py +0 -18
- robosystems_client/api/user_subscriptions/get_shared_repository_credits.py +0 -18
- robosystems_client/api/user_subscriptions/get_user_shared_subscriptions.py +0 -18
- robosystems_client/api/user_subscriptions/subscribe_to_shared_repository.py +0 -18
- robosystems_client/api/user_subscriptions/upgrade_shared_repository_subscription.py +0 -18
- robosystems_client/models/__init__.py +51 -3
- robosystems_client/models/agent_list_response.py +74 -0
- robosystems_client/models/agent_list_response_agents.py +67 -0
- robosystems_client/models/{credits_summary_response_credits_by_addon_item.py → agent_list_response_agents_additional_property.py} +5 -5
- robosystems_client/models/agent_message.py +35 -1
- robosystems_client/models/agent_metadata_response.py +133 -0
- robosystems_client/models/agent_mode.py +11 -0
- robosystems_client/models/agent_recommendation.py +106 -0
- robosystems_client/models/agent_recommendation_request.py +108 -0
- robosystems_client/models/agent_recommendation_request_context_type_0.py +44 -0
- robosystems_client/models/agent_recommendation_response.py +82 -0
- robosystems_client/models/agent_request.py +110 -6
- robosystems_client/models/agent_response.py +161 -11
- robosystems_client/models/agent_response_error_details_type_0.py +44 -0
- robosystems_client/models/agent_response_tokens_used_type_0.py +44 -0
- robosystems_client/models/auth_response.py +20 -6
- robosystems_client/models/batch_agent_request.py +85 -0
- robosystems_client/models/batch_agent_response.py +90 -0
- robosystems_client/models/credit_summary.py +35 -9
- robosystems_client/models/credits_summary_response.py +47 -21
- robosystems_client/models/credits_summary_response_credits_by_addon_type_0_item.py +44 -0
- robosystems_client/models/custom_schema_definition.py +7 -14
- robosystems_client/models/custom_schema_definition_metadata.py +1 -6
- robosystems_client/models/database_health_response.py +11 -11
- robosystems_client/models/database_info_response.py +13 -14
- robosystems_client/models/email_verification_request.py +60 -0
- robosystems_client/models/error_response.py +4 -8
- robosystems_client/models/forgot_password_request.py +60 -0
- robosystems_client/models/forgot_password_response_forgotpassword.py +44 -0
- robosystems_client/models/graph_metadata.py +4 -5
- robosystems_client/models/health_status.py +2 -2
- robosystems_client/models/repository_credits_response.py +43 -16
- robosystems_client/models/resend_verification_email_response_resendverificationemail.py +44 -0
- robosystems_client/models/reset_password_request.py +68 -0
- robosystems_client/models/reset_password_validate_response.py +82 -0
- robosystems_client/models/schema_export_response.py +5 -8
- robosystems_client/models/schema_validation_request.py +3 -5
- robosystems_client/models/schema_validation_response.py +5 -5
- robosystems_client/models/selection_criteria.py +122 -0
- robosystems_client/models/success_response.py +1 -1
- robosystems_client-0.1.17.dist-info/METADATA +89 -0
- {robosystems_client-0.1.15.dist-info → robosystems_client-0.1.17.dist-info}/RECORD +128 -97
- robosystems_client-0.1.17.dist-info/licenses/LICENSE +21 -0
- robosystems_client/api/agent/query_financial_agent.py +0 -423
- robosystems_client-0.1.15.dist-info/METADATA +0 -302
- {robosystems_client-0.1.15.dist-info → robosystems_client-0.1.17.dist-info}/WHEEL +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from collections.abc import Mapping
|
|
2
|
-
from typing import TYPE_CHECKING, Any, TypeVar, Union
|
|
2
|
+
from typing import TYPE_CHECKING, Any, TypeVar, Union, cast
|
|
3
3
|
|
|
4
4
|
from attrs import define as _attrs_define
|
|
5
5
|
from attrs import field as _attrs_field
|
|
@@ -8,8 +8,8 @@ from ..types import UNSET, Unset
|
|
|
8
8
|
|
|
9
9
|
if TYPE_CHECKING:
|
|
10
10
|
from ..models.add_on_credit_info import AddOnCreditInfo
|
|
11
|
-
from ..models.
|
|
12
|
-
|
|
11
|
+
from ..models.credits_summary_response_credits_by_addon_type_0_item import (
|
|
12
|
+
CreditsSummaryResponseCreditsByAddonType0Item,
|
|
13
13
|
)
|
|
14
14
|
|
|
15
15
|
|
|
@@ -24,16 +24,16 @@ class CreditsSummaryResponse:
|
|
|
24
24
|
add_ons (list['AddOnCreditInfo']): Credits breakdown by add-on
|
|
25
25
|
total_credits (float): Total credits remaining across all subscriptions
|
|
26
26
|
addon_count (int): Number of active add-ons
|
|
27
|
-
credits_by_addon (Union[Unset, list['
|
|
28
|
-
breakdown by add-on
|
|
27
|
+
credits_by_addon (Union[None, Unset, list['CreditsSummaryResponseCreditsByAddonType0Item']]): Legacy field -
|
|
28
|
+
Credits breakdown by add-on
|
|
29
29
|
"""
|
|
30
30
|
|
|
31
31
|
add_ons: list["AddOnCreditInfo"]
|
|
32
32
|
total_credits: float
|
|
33
33
|
addon_count: int
|
|
34
|
-
credits_by_addon: Union[
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
credits_by_addon: Union[
|
|
35
|
+
None, Unset, list["CreditsSummaryResponseCreditsByAddonType0Item"]
|
|
36
|
+
] = UNSET
|
|
37
37
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
38
38
|
|
|
39
39
|
def to_dict(self) -> dict[str, Any]:
|
|
@@ -46,12 +46,17 @@ class CreditsSummaryResponse:
|
|
|
46
46
|
|
|
47
47
|
addon_count = self.addon_count
|
|
48
48
|
|
|
49
|
-
credits_by_addon: Union[Unset, list[dict[str, Any]]]
|
|
50
|
-
if
|
|
49
|
+
credits_by_addon: Union[None, Unset, list[dict[str, Any]]]
|
|
50
|
+
if isinstance(self.credits_by_addon, Unset):
|
|
51
|
+
credits_by_addon = UNSET
|
|
52
|
+
elif isinstance(self.credits_by_addon, list):
|
|
51
53
|
credits_by_addon = []
|
|
52
|
-
for
|
|
53
|
-
|
|
54
|
-
credits_by_addon.append(
|
|
54
|
+
for credits_by_addon_type_0_item_data in self.credits_by_addon:
|
|
55
|
+
credits_by_addon_type_0_item = credits_by_addon_type_0_item_data.to_dict()
|
|
56
|
+
credits_by_addon.append(credits_by_addon_type_0_item)
|
|
57
|
+
|
|
58
|
+
else:
|
|
59
|
+
credits_by_addon = self.credits_by_addon
|
|
55
60
|
|
|
56
61
|
field_dict: dict[str, Any] = {}
|
|
57
62
|
field_dict.update(self.additional_properties)
|
|
@@ -70,8 +75,8 @@ class CreditsSummaryResponse:
|
|
|
70
75
|
@classmethod
|
|
71
76
|
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
72
77
|
from ..models.add_on_credit_info import AddOnCreditInfo
|
|
73
|
-
from ..models.
|
|
74
|
-
|
|
78
|
+
from ..models.credits_summary_response_credits_by_addon_type_0_item import (
|
|
79
|
+
CreditsSummaryResponseCreditsByAddonType0Item,
|
|
75
80
|
)
|
|
76
81
|
|
|
77
82
|
d = dict(src_dict)
|
|
@@ -86,14 +91,35 @@ class CreditsSummaryResponse:
|
|
|
86
91
|
|
|
87
92
|
addon_count = d.pop("addon_count")
|
|
88
93
|
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
+
def _parse_credits_by_addon(
|
|
95
|
+
data: object,
|
|
96
|
+
) -> Union[None, Unset, list["CreditsSummaryResponseCreditsByAddonType0Item"]]:
|
|
97
|
+
if data is None:
|
|
98
|
+
return data
|
|
99
|
+
if isinstance(data, Unset):
|
|
100
|
+
return data
|
|
101
|
+
try:
|
|
102
|
+
if not isinstance(data, list):
|
|
103
|
+
raise TypeError()
|
|
104
|
+
credits_by_addon_type_0 = []
|
|
105
|
+
_credits_by_addon_type_0 = data
|
|
106
|
+
for credits_by_addon_type_0_item_data in _credits_by_addon_type_0:
|
|
107
|
+
credits_by_addon_type_0_item = (
|
|
108
|
+
CreditsSummaryResponseCreditsByAddonType0Item.from_dict(
|
|
109
|
+
credits_by_addon_type_0_item_data
|
|
110
|
+
)
|
|
111
|
+
)
|
|
112
|
+
|
|
113
|
+
credits_by_addon_type_0.append(credits_by_addon_type_0_item)
|
|
114
|
+
|
|
115
|
+
return credits_by_addon_type_0
|
|
116
|
+
except: # noqa: E722
|
|
117
|
+
pass
|
|
118
|
+
return cast(
|
|
119
|
+
Union[None, Unset, list["CreditsSummaryResponseCreditsByAddonType0Item"]], data
|
|
94
120
|
)
|
|
95
121
|
|
|
96
|
-
|
|
122
|
+
credits_by_addon = _parse_credits_by_addon(d.pop("credits_by_addon", UNSET))
|
|
97
123
|
|
|
98
124
|
credits_summary_response = cls(
|
|
99
125
|
add_ons=add_ons,
|
|
@@ -0,0 +1,44 @@
|
|
|
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="CreditsSummaryResponseCreditsByAddonType0Item")
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
@_attrs_define
|
|
11
|
+
class CreditsSummaryResponseCreditsByAddonType0Item:
|
|
12
|
+
""" """
|
|
13
|
+
|
|
14
|
+
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
15
|
+
|
|
16
|
+
def to_dict(self) -> dict[str, Any]:
|
|
17
|
+
field_dict: dict[str, Any] = {}
|
|
18
|
+
field_dict.update(self.additional_properties)
|
|
19
|
+
|
|
20
|
+
return field_dict
|
|
21
|
+
|
|
22
|
+
@classmethod
|
|
23
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
24
|
+
d = dict(src_dict)
|
|
25
|
+
credits_summary_response_credits_by_addon_type_0_item = cls()
|
|
26
|
+
|
|
27
|
+
credits_summary_response_credits_by_addon_type_0_item.additional_properties = d
|
|
28
|
+
return credits_summary_response_credits_by_addon_type_0_item
|
|
29
|
+
|
|
30
|
+
@property
|
|
31
|
+
def additional_keys(self) -> list[str]:
|
|
32
|
+
return list(self.additional_properties.keys())
|
|
33
|
+
|
|
34
|
+
def __getitem__(self, key: str) -> Any:
|
|
35
|
+
return self.additional_properties[key]
|
|
36
|
+
|
|
37
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
38
|
+
self.additional_properties[key] = value
|
|
39
|
+
|
|
40
|
+
def __delitem__(self, key: str) -> None:
|
|
41
|
+
del self.additional_properties[key]
|
|
42
|
+
|
|
43
|
+
def __contains__(self, key: str) -> bool:
|
|
44
|
+
return key in self.additional_properties
|
|
@@ -21,23 +21,16 @@ T = TypeVar("T", bound="CustomSchemaDefinition")
|
|
|
21
21
|
|
|
22
22
|
@_attrs_define
|
|
23
23
|
class CustomSchemaDefinition:
|
|
24
|
-
"""Custom schema definition for
|
|
24
|
+
"""Custom schema definition for custom graphs.
|
|
25
25
|
|
|
26
26
|
Attributes:
|
|
27
|
-
name (str): Schema name
|
|
28
|
-
version (Union[Unset, str]): Schema version Default: '1.0.0'.
|
|
29
|
-
description (Union[None, Unset, str]): Schema description
|
|
30
|
-
extends (Union[None, Unset, str]): Base schema to extend (e.g., 'base')
|
|
31
|
-
nodes (Union[Unset, list['CustomSchemaDefinitionNodesItem']]): List of node definitions with properties
|
|
32
|
-
[{'name': 'Product', 'properties': [{'name': 'sku', 'type': 'STRING', 'is_primary_key': True}, {'name': 'name',
|
|
33
|
-
'type': 'STRING', 'is_required': True}, {'name': 'price', 'type': 'DOUBLE'}, {'name': 'quantity', 'type':
|
|
34
|
-
'INT64'}]}, {'name': 'Warehouse', 'properties': [{'name': 'identifier', 'type': 'STRING', 'is_primary_key':
|
|
35
|
-
True}, {'name': 'location', 'type': 'STRING'}]}].
|
|
27
|
+
name (str): Schema name
|
|
28
|
+
version (Union[Unset, str]): Schema version Default: '1.0.0'.
|
|
29
|
+
description (Union[None, Unset, str]): Schema description
|
|
30
|
+
extends (Union[None, Unset, str]): Base schema to extend (e.g., 'base')
|
|
31
|
+
nodes (Union[Unset, list['CustomSchemaDefinitionNodesItem']]): List of node definitions with properties
|
|
36
32
|
relationships (Union[Unset, list['CustomSchemaDefinitionRelationshipsItem']]): List of relationship definitions
|
|
37
|
-
|
|
38
|
-
'to_node': 'Warehouse'}].
|
|
39
|
-
metadata (Union[Unset, CustomSchemaDefinitionMetadata]): Additional schema metadata Example: {'created_by':
|
|
40
|
-
'inventory_team', 'industry': 'retail'}.
|
|
33
|
+
metadata (Union[Unset, CustomSchemaDefinitionMetadata]): Additional schema metadata
|
|
41
34
|
"""
|
|
42
35
|
|
|
43
36
|
name: str
|
|
@@ -9,12 +9,7 @@ T = TypeVar("T", bound="CustomSchemaDefinitionMetadata")
|
|
|
9
9
|
|
|
10
10
|
@_attrs_define
|
|
11
11
|
class CustomSchemaDefinitionMetadata:
|
|
12
|
-
"""Additional schema metadata
|
|
13
|
-
|
|
14
|
-
Example:
|
|
15
|
-
{'created_by': 'inventory_team', 'industry': 'retail'}
|
|
16
|
-
|
|
17
|
-
"""
|
|
12
|
+
"""Additional schema metadata"""
|
|
18
13
|
|
|
19
14
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
20
15
|
|
|
@@ -14,17 +14,17 @@ class DatabaseHealthResponse:
|
|
|
14
14
|
"""Response model for database health check.
|
|
15
15
|
|
|
16
16
|
Attributes:
|
|
17
|
-
graph_id (str): Graph database identifier
|
|
18
|
-
status (str): Overall health status
|
|
19
|
-
connection_status (str): Database connection status
|
|
20
|
-
uptime_seconds (float): Database uptime in seconds
|
|
21
|
-
query_count_24h (int): Number of queries executed in last 24 hours
|
|
22
|
-
avg_query_time_ms (float): Average query execution time in milliseconds
|
|
23
|
-
error_rate_24h (float): Error rate in last 24 hours (percentage)
|
|
24
|
-
last_query_time (Union[None, Unset, str]): Timestamp of last query execution
|
|
25
|
-
memory_usage_mb (Union[None, Unset, float]): Memory usage in MB
|
|
26
|
-
storage_usage_mb (Union[None, Unset, float]): Storage usage in MB
|
|
27
|
-
alerts (Union[Unset, list[str]]): Active alerts or warnings
|
|
17
|
+
graph_id (str): Graph database identifier
|
|
18
|
+
status (str): Overall health status
|
|
19
|
+
connection_status (str): Database connection status
|
|
20
|
+
uptime_seconds (float): Database uptime in seconds
|
|
21
|
+
query_count_24h (int): Number of queries executed in last 24 hours
|
|
22
|
+
avg_query_time_ms (float): Average query execution time in milliseconds
|
|
23
|
+
error_rate_24h (float): Error rate in last 24 hours (percentage)
|
|
24
|
+
last_query_time (Union[None, Unset, str]): Timestamp of last query execution
|
|
25
|
+
memory_usage_mb (Union[None, Unset, float]): Memory usage in MB
|
|
26
|
+
storage_usage_mb (Union[None, Unset, float]): Storage usage in MB
|
|
27
|
+
alerts (Union[Unset, list[str]]): Active alerts or warnings
|
|
28
28
|
"""
|
|
29
29
|
|
|
30
30
|
graph_id: str
|
|
@@ -14,21 +14,20 @@ class DatabaseInfoResponse:
|
|
|
14
14
|
"""Response model for database information and statistics.
|
|
15
15
|
|
|
16
16
|
Attributes:
|
|
17
|
-
graph_id (str): Graph database identifier
|
|
18
|
-
database_name (str): Database name
|
|
19
|
-
database_size_bytes (int): Database size in bytes
|
|
20
|
-
database_size_mb (float): Database size in MB
|
|
21
|
-
node_count (int): Total number of nodes
|
|
22
|
-
relationship_count (int): Total number of relationships
|
|
23
|
-
node_labels (list[str]): List of node labels
|
|
24
|
-
relationship_types (list[str]): List of relationship types
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
last_modified (str): Last modification timestamp Example: 2024-01-15T10:30:00Z.
|
|
17
|
+
graph_id (str): Graph database identifier
|
|
18
|
+
database_name (str): Database name
|
|
19
|
+
database_size_bytes (int): Database size in bytes
|
|
20
|
+
database_size_mb (float): Database size in MB
|
|
21
|
+
node_count (int): Total number of nodes
|
|
22
|
+
relationship_count (int): Total number of relationships
|
|
23
|
+
node_labels (list[str]): List of node labels
|
|
24
|
+
relationship_types (list[str]): List of relationship types
|
|
25
|
+
created_at (str): Database creation timestamp
|
|
26
|
+
last_modified (str): Last modification timestamp
|
|
28
27
|
read_only (bool): Whether database is read-only
|
|
29
|
-
backup_count (int): Number of available backups
|
|
30
|
-
schema_version (Union[None, Unset, str]): Schema version
|
|
31
|
-
last_backup_date (Union[None, Unset, str]): Date of last backup
|
|
28
|
+
backup_count (int): Number of available backups
|
|
29
|
+
schema_version (Union[None, Unset, str]): Schema version
|
|
30
|
+
last_backup_date (Union[None, Unset, str]): Date of last backup
|
|
32
31
|
"""
|
|
33
32
|
|
|
34
33
|
graph_id: str
|
|
@@ -0,0 +1,60 @@
|
|
|
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="EmailVerificationRequest")
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
@_attrs_define
|
|
11
|
+
class EmailVerificationRequest:
|
|
12
|
+
"""Email verification request model.
|
|
13
|
+
|
|
14
|
+
Attributes:
|
|
15
|
+
token (str): Email verification token from email link
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
token: str
|
|
19
|
+
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
20
|
+
|
|
21
|
+
def to_dict(self) -> dict[str, Any]:
|
|
22
|
+
token = self.token
|
|
23
|
+
|
|
24
|
+
field_dict: dict[str, Any] = {}
|
|
25
|
+
field_dict.update(self.additional_properties)
|
|
26
|
+
field_dict.update(
|
|
27
|
+
{
|
|
28
|
+
"token": token,
|
|
29
|
+
}
|
|
30
|
+
)
|
|
31
|
+
|
|
32
|
+
return field_dict
|
|
33
|
+
|
|
34
|
+
@classmethod
|
|
35
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
36
|
+
d = dict(src_dict)
|
|
37
|
+
token = d.pop("token")
|
|
38
|
+
|
|
39
|
+
email_verification_request = cls(
|
|
40
|
+
token=token,
|
|
41
|
+
)
|
|
42
|
+
|
|
43
|
+
email_verification_request.additional_properties = d
|
|
44
|
+
return email_verification_request
|
|
45
|
+
|
|
46
|
+
@property
|
|
47
|
+
def additional_keys(self) -> list[str]:
|
|
48
|
+
return list(self.additional_properties.keys())
|
|
49
|
+
|
|
50
|
+
def __getitem__(self, key: str) -> Any:
|
|
51
|
+
return self.additional_properties[key]
|
|
52
|
+
|
|
53
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
54
|
+
self.additional_properties[key] = value
|
|
55
|
+
|
|
56
|
+
def __delitem__(self, key: str) -> None:
|
|
57
|
+
del self.additional_properties[key]
|
|
58
|
+
|
|
59
|
+
def __contains__(self, key: str) -> bool:
|
|
60
|
+
return key in self.additional_properties
|
|
@@ -23,14 +23,10 @@ class ErrorResponse:
|
|
|
23
23
|
'timestamp': '2024-01-01T00:00:00Z'}
|
|
24
24
|
|
|
25
25
|
Attributes:
|
|
26
|
-
detail (str): Human-readable error message explaining what went wrong
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
request_id (Union[None, Unset, str]): Unique request ID for tracking and debugging Example:
|
|
31
|
-
req_1234567890abcdef.
|
|
32
|
-
timestamp (Union[None, Unset, datetime.datetime]): Timestamp when the error occurred Example:
|
|
33
|
-
2024-01-01T00:00:00Z.
|
|
26
|
+
detail (str): Human-readable error message explaining what went wrong
|
|
27
|
+
code (Union[None, Unset, str]): Machine-readable error code for programmatic handling
|
|
28
|
+
request_id (Union[None, Unset, str]): Unique request ID for tracking and debugging
|
|
29
|
+
timestamp (Union[None, Unset, datetime.datetime]): Timestamp when the error occurred
|
|
34
30
|
"""
|
|
35
31
|
|
|
36
32
|
detail: str
|
|
@@ -0,0 +1,60 @@
|
|
|
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="ForgotPasswordRequest")
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
@_attrs_define
|
|
11
|
+
class ForgotPasswordRequest:
|
|
12
|
+
"""Forgot password request model.
|
|
13
|
+
|
|
14
|
+
Attributes:
|
|
15
|
+
email (str): Email address to send reset link
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
email: str
|
|
19
|
+
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
20
|
+
|
|
21
|
+
def to_dict(self) -> dict[str, Any]:
|
|
22
|
+
email = self.email
|
|
23
|
+
|
|
24
|
+
field_dict: dict[str, Any] = {}
|
|
25
|
+
field_dict.update(self.additional_properties)
|
|
26
|
+
field_dict.update(
|
|
27
|
+
{
|
|
28
|
+
"email": email,
|
|
29
|
+
}
|
|
30
|
+
)
|
|
31
|
+
|
|
32
|
+
return field_dict
|
|
33
|
+
|
|
34
|
+
@classmethod
|
|
35
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
36
|
+
d = dict(src_dict)
|
|
37
|
+
email = d.pop("email")
|
|
38
|
+
|
|
39
|
+
forgot_password_request = cls(
|
|
40
|
+
email=email,
|
|
41
|
+
)
|
|
42
|
+
|
|
43
|
+
forgot_password_request.additional_properties = d
|
|
44
|
+
return forgot_password_request
|
|
45
|
+
|
|
46
|
+
@property
|
|
47
|
+
def additional_keys(self) -> list[str]:
|
|
48
|
+
return list(self.additional_properties.keys())
|
|
49
|
+
|
|
50
|
+
def __getitem__(self, key: str) -> Any:
|
|
51
|
+
return self.additional_properties[key]
|
|
52
|
+
|
|
53
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
54
|
+
self.additional_properties[key] = value
|
|
55
|
+
|
|
56
|
+
def __delitem__(self, key: str) -> None:
|
|
57
|
+
del self.additional_properties[key]
|
|
58
|
+
|
|
59
|
+
def __contains__(self, key: str) -> bool:
|
|
60
|
+
return key in self.additional_properties
|
|
@@ -0,0 +1,44 @@
|
|
|
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="ForgotPasswordResponseForgotpassword")
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
@_attrs_define
|
|
11
|
+
class ForgotPasswordResponseForgotpassword:
|
|
12
|
+
""" """
|
|
13
|
+
|
|
14
|
+
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
15
|
+
|
|
16
|
+
def to_dict(self) -> dict[str, Any]:
|
|
17
|
+
field_dict: dict[str, Any] = {}
|
|
18
|
+
field_dict.update(self.additional_properties)
|
|
19
|
+
|
|
20
|
+
return field_dict
|
|
21
|
+
|
|
22
|
+
@classmethod
|
|
23
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
24
|
+
d = dict(src_dict)
|
|
25
|
+
forgot_password_response_forgotpassword = cls()
|
|
26
|
+
|
|
27
|
+
forgot_password_response_forgotpassword.additional_properties = d
|
|
28
|
+
return forgot_password_response_forgotpassword
|
|
29
|
+
|
|
30
|
+
@property
|
|
31
|
+
def additional_keys(self) -> list[str]:
|
|
32
|
+
return list(self.additional_properties.keys())
|
|
33
|
+
|
|
34
|
+
def __getitem__(self, key: str) -> Any:
|
|
35
|
+
return self.additional_properties[key]
|
|
36
|
+
|
|
37
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
38
|
+
self.additional_properties[key] = value
|
|
39
|
+
|
|
40
|
+
def __delitem__(self, key: str) -> None:
|
|
41
|
+
del self.additional_properties[key]
|
|
42
|
+
|
|
43
|
+
def __contains__(self, key: str) -> bool:
|
|
44
|
+
return key in self.additional_properties
|
|
@@ -14,11 +14,10 @@ class GraphMetadata:
|
|
|
14
14
|
"""Metadata for graph creation.
|
|
15
15
|
|
|
16
16
|
Attributes:
|
|
17
|
-
graph_name (str): Display name for the graph
|
|
18
|
-
description (Union[None, Unset, str]): Optional description
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
tags (Union[Unset, list[str]]): Tags for organizing graphs Example: ['production', 'inventory', 'retail'].
|
|
17
|
+
graph_name (str): Display name for the graph
|
|
18
|
+
description (Union[None, Unset, str]): Optional description
|
|
19
|
+
schema_extensions (Union[Unset, list[str]]): Schema extensions to enable
|
|
20
|
+
tags (Union[Unset, list[str]]): Tags for organizing graphs
|
|
22
21
|
"""
|
|
23
22
|
|
|
24
23
|
graph_name: str
|
|
@@ -20,8 +20,8 @@ class HealthStatus:
|
|
|
20
20
|
"""Health check status information.
|
|
21
21
|
|
|
22
22
|
Attributes:
|
|
23
|
-
status (str): Current health status
|
|
24
|
-
timestamp (datetime.datetime): Time of health check
|
|
23
|
+
status (str): Current health status
|
|
24
|
+
timestamp (datetime.datetime): Time of health check
|
|
25
25
|
details (Union['HealthStatusDetailsType0', None, Unset]): Additional health check details
|
|
26
26
|
"""
|
|
27
27
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from collections.abc import Mapping
|
|
2
|
-
from typing import TYPE_CHECKING, Any, TypeVar, Union
|
|
2
|
+
from typing import TYPE_CHECKING, Any, TypeVar, Union, cast
|
|
3
3
|
|
|
4
4
|
from attrs import define as _attrs_define
|
|
5
5
|
from attrs import field as _attrs_field
|
|
@@ -20,26 +20,36 @@ class RepositoryCreditsResponse:
|
|
|
20
20
|
Attributes:
|
|
21
21
|
repository (str): Repository identifier
|
|
22
22
|
has_access (bool): Whether user has access
|
|
23
|
-
message (Union[Unset, str]): Access message
|
|
24
|
-
credits_ (Union[
|
|
23
|
+
message (Union[None, Unset, str]): Access message
|
|
24
|
+
credits_ (Union['CreditSummary', None, Unset]): Credit summary if access available
|
|
25
25
|
"""
|
|
26
26
|
|
|
27
27
|
repository: str
|
|
28
28
|
has_access: bool
|
|
29
|
-
message: Union[Unset, str] = UNSET
|
|
30
|
-
credits_: Union[
|
|
29
|
+
message: Union[None, Unset, str] = UNSET
|
|
30
|
+
credits_: Union["CreditSummary", None, Unset] = UNSET
|
|
31
31
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
32
32
|
|
|
33
33
|
def to_dict(self) -> dict[str, Any]:
|
|
34
|
+
from ..models.credit_summary import CreditSummary
|
|
35
|
+
|
|
34
36
|
repository = self.repository
|
|
35
37
|
|
|
36
38
|
has_access = self.has_access
|
|
37
39
|
|
|
38
|
-
message
|
|
40
|
+
message: Union[None, Unset, str]
|
|
41
|
+
if isinstance(self.message, Unset):
|
|
42
|
+
message = UNSET
|
|
43
|
+
else:
|
|
44
|
+
message = self.message
|
|
39
45
|
|
|
40
|
-
credits_: Union[Unset, dict[str, Any]]
|
|
41
|
-
if
|
|
46
|
+
credits_: Union[None, Unset, dict[str, Any]]
|
|
47
|
+
if isinstance(self.credits_, Unset):
|
|
48
|
+
credits_ = UNSET
|
|
49
|
+
elif isinstance(self.credits_, CreditSummary):
|
|
42
50
|
credits_ = self.credits_.to_dict()
|
|
51
|
+
else:
|
|
52
|
+
credits_ = self.credits_
|
|
43
53
|
|
|
44
54
|
field_dict: dict[str, Any] = {}
|
|
45
55
|
field_dict.update(self.additional_properties)
|
|
@@ -65,14 +75,31 @@ class RepositoryCreditsResponse:
|
|
|
65
75
|
|
|
66
76
|
has_access = d.pop("has_access")
|
|
67
77
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
78
|
+
def _parse_message(data: object) -> Union[None, Unset, str]:
|
|
79
|
+
if data is None:
|
|
80
|
+
return data
|
|
81
|
+
if isinstance(data, Unset):
|
|
82
|
+
return data
|
|
83
|
+
return cast(Union[None, Unset, str], data)
|
|
84
|
+
|
|
85
|
+
message = _parse_message(d.pop("message", UNSET))
|
|
86
|
+
|
|
87
|
+
def _parse_credits_(data: object) -> Union["CreditSummary", None, Unset]:
|
|
88
|
+
if data is None:
|
|
89
|
+
return data
|
|
90
|
+
if isinstance(data, Unset):
|
|
91
|
+
return data
|
|
92
|
+
try:
|
|
93
|
+
if not isinstance(data, dict):
|
|
94
|
+
raise TypeError()
|
|
95
|
+
credits_type_0 = CreditSummary.from_dict(data)
|
|
96
|
+
|
|
97
|
+
return credits_type_0
|
|
98
|
+
except: # noqa: E722
|
|
99
|
+
pass
|
|
100
|
+
return cast(Union["CreditSummary", None, Unset], data)
|
|
101
|
+
|
|
102
|
+
credits_ = _parse_credits_(d.pop("credits", UNSET))
|
|
76
103
|
|
|
77
104
|
repository_credits_response = cls(
|
|
78
105
|
repository=repository,
|
|
@@ -0,0 +1,44 @@
|
|
|
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="ResendVerificationEmailResponseResendverificationemail")
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
@_attrs_define
|
|
11
|
+
class ResendVerificationEmailResponseResendverificationemail:
|
|
12
|
+
""" """
|
|
13
|
+
|
|
14
|
+
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
15
|
+
|
|
16
|
+
def to_dict(self) -> dict[str, Any]:
|
|
17
|
+
field_dict: dict[str, Any] = {}
|
|
18
|
+
field_dict.update(self.additional_properties)
|
|
19
|
+
|
|
20
|
+
return field_dict
|
|
21
|
+
|
|
22
|
+
@classmethod
|
|
23
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
24
|
+
d = dict(src_dict)
|
|
25
|
+
resend_verification_email_response_resendverificationemail = cls()
|
|
26
|
+
|
|
27
|
+
resend_verification_email_response_resendverificationemail.additional_properties = d
|
|
28
|
+
return resend_verification_email_response_resendverificationemail
|
|
29
|
+
|
|
30
|
+
@property
|
|
31
|
+
def additional_keys(self) -> list[str]:
|
|
32
|
+
return list(self.additional_properties.keys())
|
|
33
|
+
|
|
34
|
+
def __getitem__(self, key: str) -> Any:
|
|
35
|
+
return self.additional_properties[key]
|
|
36
|
+
|
|
37
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
38
|
+
self.additional_properties[key] = value
|
|
39
|
+
|
|
40
|
+
def __delitem__(self, key: str) -> None:
|
|
41
|
+
del self.additional_properties[key]
|
|
42
|
+
|
|
43
|
+
def __contains__(self, key: str) -> bool:
|
|
44
|
+
return key in self.additional_properties
|