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
|
@@ -15,20 +15,14 @@ def _get_kwargs(
|
|
|
15
15
|
*,
|
|
16
16
|
body: TierUpgradeRequest,
|
|
17
17
|
authorization: Union[None, Unset, str] = UNSET,
|
|
18
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
19
18
|
) -> dict[str, Any]:
|
|
20
19
|
headers: dict[str, Any] = {}
|
|
21
20
|
if not isinstance(authorization, Unset):
|
|
22
21
|
headers["authorization"] = authorization
|
|
23
22
|
|
|
24
|
-
cookies = {}
|
|
25
|
-
if auth_token is not UNSET:
|
|
26
|
-
cookies["auth-token"] = auth_token
|
|
27
|
-
|
|
28
23
|
_kwargs: dict[str, Any] = {
|
|
29
24
|
"method": "put",
|
|
30
25
|
"url": f"/v1/user/subscriptions/shared-repositories/{subscription_id}/upgrade",
|
|
31
|
-
"cookies": cookies,
|
|
32
26
|
}
|
|
33
27
|
|
|
34
28
|
_kwargs["json"] = body.to_dict()
|
|
@@ -84,7 +78,6 @@ def sync_detailed(
|
|
|
84
78
|
client: AuthenticatedClient,
|
|
85
79
|
body: TierUpgradeRequest,
|
|
86
80
|
authorization: Union[None, Unset, str] = UNSET,
|
|
87
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
88
81
|
) -> Response[Union[Any, HTTPValidationError]]:
|
|
89
82
|
"""Upgrade Subscription Tier
|
|
90
83
|
|
|
@@ -93,7 +86,6 @@ def sync_detailed(
|
|
|
93
86
|
Args:
|
|
94
87
|
subscription_id (str):
|
|
95
88
|
authorization (Union[None, Unset, str]):
|
|
96
|
-
auth_token (Union[None, Unset, str]):
|
|
97
89
|
body (TierUpgradeRequest): Request to upgrade subscription tier.
|
|
98
90
|
|
|
99
91
|
Raises:
|
|
@@ -108,7 +100,6 @@ def sync_detailed(
|
|
|
108
100
|
subscription_id=subscription_id,
|
|
109
101
|
body=body,
|
|
110
102
|
authorization=authorization,
|
|
111
|
-
auth_token=auth_token,
|
|
112
103
|
)
|
|
113
104
|
|
|
114
105
|
response = client.get_httpx_client().request(
|
|
@@ -124,7 +115,6 @@ def sync(
|
|
|
124
115
|
client: AuthenticatedClient,
|
|
125
116
|
body: TierUpgradeRequest,
|
|
126
117
|
authorization: Union[None, Unset, str] = UNSET,
|
|
127
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
128
118
|
) -> Optional[Union[Any, HTTPValidationError]]:
|
|
129
119
|
"""Upgrade Subscription Tier
|
|
130
120
|
|
|
@@ -133,7 +123,6 @@ def sync(
|
|
|
133
123
|
Args:
|
|
134
124
|
subscription_id (str):
|
|
135
125
|
authorization (Union[None, Unset, str]):
|
|
136
|
-
auth_token (Union[None, Unset, str]):
|
|
137
126
|
body (TierUpgradeRequest): Request to upgrade subscription tier.
|
|
138
127
|
|
|
139
128
|
Raises:
|
|
@@ -149,7 +138,6 @@ def sync(
|
|
|
149
138
|
client=client,
|
|
150
139
|
body=body,
|
|
151
140
|
authorization=authorization,
|
|
152
|
-
auth_token=auth_token,
|
|
153
141
|
).parsed
|
|
154
142
|
|
|
155
143
|
|
|
@@ -159,7 +147,6 @@ async def asyncio_detailed(
|
|
|
159
147
|
client: AuthenticatedClient,
|
|
160
148
|
body: TierUpgradeRequest,
|
|
161
149
|
authorization: Union[None, Unset, str] = UNSET,
|
|
162
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
163
150
|
) -> Response[Union[Any, HTTPValidationError]]:
|
|
164
151
|
"""Upgrade Subscription Tier
|
|
165
152
|
|
|
@@ -168,7 +155,6 @@ async def asyncio_detailed(
|
|
|
168
155
|
Args:
|
|
169
156
|
subscription_id (str):
|
|
170
157
|
authorization (Union[None, Unset, str]):
|
|
171
|
-
auth_token (Union[None, Unset, str]):
|
|
172
158
|
body (TierUpgradeRequest): Request to upgrade subscription tier.
|
|
173
159
|
|
|
174
160
|
Raises:
|
|
@@ -183,7 +169,6 @@ async def asyncio_detailed(
|
|
|
183
169
|
subscription_id=subscription_id,
|
|
184
170
|
body=body,
|
|
185
171
|
authorization=authorization,
|
|
186
|
-
auth_token=auth_token,
|
|
187
172
|
)
|
|
188
173
|
|
|
189
174
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -197,7 +182,6 @@ async def asyncio(
|
|
|
197
182
|
client: AuthenticatedClient,
|
|
198
183
|
body: TierUpgradeRequest,
|
|
199
184
|
authorization: Union[None, Unset, str] = UNSET,
|
|
200
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
201
185
|
) -> Optional[Union[Any, HTTPValidationError]]:
|
|
202
186
|
"""Upgrade Subscription Tier
|
|
203
187
|
|
|
@@ -206,7 +190,6 @@ async def asyncio(
|
|
|
206
190
|
Args:
|
|
207
191
|
subscription_id (str):
|
|
208
192
|
authorization (Union[None, Unset, str]):
|
|
209
|
-
auth_token (Union[None, Unset, str]):
|
|
210
193
|
body (TierUpgradeRequest): Request to upgrade subscription tier.
|
|
211
194
|
|
|
212
195
|
Raises:
|
|
@@ -223,6 +206,5 @@ async def asyncio(
|
|
|
223
206
|
client=client,
|
|
224
207
|
body=body,
|
|
225
208
|
authorization=authorization,
|
|
226
|
-
auth_token=auth_token,
|
|
227
209
|
)
|
|
228
210
|
).parsed
|
|
@@ -2,11 +2,26 @@
|
|
|
2
2
|
|
|
3
3
|
from .account_info import AccountInfo
|
|
4
4
|
from .add_on_credit_info import AddOnCreditInfo
|
|
5
|
+
from .agent_list_response import AgentListResponse
|
|
6
|
+
from .agent_list_response_agents import AgentListResponseAgents
|
|
7
|
+
from .agent_list_response_agents_additional_property import (
|
|
8
|
+
AgentListResponseAgentsAdditionalProperty,
|
|
9
|
+
)
|
|
5
10
|
from .agent_message import AgentMessage
|
|
11
|
+
from .agent_metadata_response import AgentMetadataResponse
|
|
12
|
+
from .agent_mode import AgentMode
|
|
13
|
+
from .agent_recommendation import AgentRecommendation
|
|
14
|
+
from .agent_recommendation_request import AgentRecommendationRequest
|
|
15
|
+
from .agent_recommendation_request_context_type_0 import (
|
|
16
|
+
AgentRecommendationRequestContextType0,
|
|
17
|
+
)
|
|
18
|
+
from .agent_recommendation_response import AgentRecommendationResponse
|
|
6
19
|
from .agent_request import AgentRequest
|
|
7
20
|
from .agent_request_context_type_0 import AgentRequestContextType0
|
|
8
21
|
from .agent_response import AgentResponse
|
|
22
|
+
from .agent_response_error_details_type_0 import AgentResponseErrorDetailsType0
|
|
9
23
|
from .agent_response_metadata_type_0 import AgentResponseMetadataType0
|
|
24
|
+
from .agent_response_tokens_used_type_0 import AgentResponseTokensUsedType0
|
|
10
25
|
from .api_key_info import APIKeyInfo
|
|
11
26
|
from .api_keys_response import APIKeysResponse
|
|
12
27
|
from .auth_response import AuthResponse
|
|
@@ -19,6 +34,8 @@ from .backup_response import BackupResponse
|
|
|
19
34
|
from .backup_restore_request import BackupRestoreRequest
|
|
20
35
|
from .backup_stats_response import BackupStatsResponse
|
|
21
36
|
from .backup_stats_response_backup_formats import BackupStatsResponseBackupFormats
|
|
37
|
+
from .batch_agent_request import BatchAgentRequest
|
|
38
|
+
from .batch_agent_response import BatchAgentResponse
|
|
22
39
|
from .cancel_operation_response_canceloperation import (
|
|
23
40
|
CancelOperationResponseCanceloperation,
|
|
24
41
|
)
|
|
@@ -46,8 +63,8 @@ from .create_subgraph_request_metadata_type_0 import CreateSubgraphRequestMetada
|
|
|
46
63
|
from .credit_summary import CreditSummary
|
|
47
64
|
from .credit_summary_response import CreditSummaryResponse
|
|
48
65
|
from .credits_summary_response import CreditsSummaryResponse
|
|
49
|
-
from .
|
|
50
|
-
|
|
66
|
+
from .credits_summary_response_credits_by_addon_type_0_item import (
|
|
67
|
+
CreditsSummaryResponseCreditsByAddonType0Item,
|
|
51
68
|
)
|
|
52
69
|
from .custom_schema_definition import CustomSchemaDefinition
|
|
53
70
|
from .custom_schema_definition_metadata import CustomSchemaDefinitionMetadata
|
|
@@ -68,6 +85,7 @@ from .detailed_transactions_response_date_range import (
|
|
|
68
85
|
DetailedTransactionsResponseDateRange,
|
|
69
86
|
)
|
|
70
87
|
from .detailed_transactions_response_summary import DetailedTransactionsResponseSummary
|
|
88
|
+
from .email_verification_request import EmailVerificationRequest
|
|
71
89
|
from .enhanced_credit_transaction_response import EnhancedCreditTransactionResponse
|
|
72
90
|
from .enhanced_credit_transaction_response_metadata import (
|
|
73
91
|
EnhancedCreditTransactionResponseMetadata,
|
|
@@ -75,6 +93,10 @@ from .enhanced_credit_transaction_response_metadata import (
|
|
|
75
93
|
from .error_response import ErrorResponse
|
|
76
94
|
from .exchange_token_request import ExchangeTokenRequest
|
|
77
95
|
from .exchange_token_request_metadata_type_0 import ExchangeTokenRequestMetadataType0
|
|
96
|
+
from .forgot_password_request import ForgotPasswordRequest
|
|
97
|
+
from .forgot_password_response_forgotpassword import (
|
|
98
|
+
ForgotPasswordResponseForgotpassword,
|
|
99
|
+
)
|
|
78
100
|
from .get_all_credit_summaries_response_getallcreditsummaries import (
|
|
79
101
|
GetAllCreditSummariesResponseGetallcreditsummaries,
|
|
80
102
|
)
|
|
@@ -168,6 +190,11 @@ from .register_request import RegisterRequest
|
|
|
168
190
|
from .repository_credits_response import RepositoryCreditsResponse
|
|
169
191
|
from .repository_plan import RepositoryPlan
|
|
170
192
|
from .repository_type import RepositoryType
|
|
193
|
+
from .resend_verification_email_response_resendverificationemail import (
|
|
194
|
+
ResendVerificationEmailResponseResendverificationemail,
|
|
195
|
+
)
|
|
196
|
+
from .reset_password_request import ResetPasswordRequest
|
|
197
|
+
from .reset_password_validate_response import ResetPasswordValidateResponse
|
|
171
198
|
from .response_mode import ResponseMode
|
|
172
199
|
from .s3_copy_request import S3CopyRequest
|
|
173
200
|
from .s3_copy_request_file_format import S3CopyRequestFileFormat
|
|
@@ -187,6 +214,7 @@ from .schema_validation_response_compatibility_type_0 import (
|
|
|
187
214
|
)
|
|
188
215
|
from .schema_validation_response_stats_type_0 import SchemaValidationResponseStatsType0
|
|
189
216
|
from .sec_connection_config import SECConnectionConfig
|
|
217
|
+
from .selection_criteria import SelectionCriteria
|
|
190
218
|
from .sso_complete_request import SSOCompleteRequest
|
|
191
219
|
from .sso_exchange_request import SSOExchangeRequest
|
|
192
220
|
from .sso_exchange_response import SSOExchangeResponse
|
|
@@ -243,11 +271,22 @@ from .validation_error import ValidationError
|
|
|
243
271
|
__all__ = (
|
|
244
272
|
"AccountInfo",
|
|
245
273
|
"AddOnCreditInfo",
|
|
274
|
+
"AgentListResponse",
|
|
275
|
+
"AgentListResponseAgents",
|
|
276
|
+
"AgentListResponseAgentsAdditionalProperty",
|
|
246
277
|
"AgentMessage",
|
|
278
|
+
"AgentMetadataResponse",
|
|
279
|
+
"AgentMode",
|
|
280
|
+
"AgentRecommendation",
|
|
281
|
+
"AgentRecommendationRequest",
|
|
282
|
+
"AgentRecommendationRequestContextType0",
|
|
283
|
+
"AgentRecommendationResponse",
|
|
247
284
|
"AgentRequest",
|
|
248
285
|
"AgentRequestContextType0",
|
|
249
286
|
"AgentResponse",
|
|
287
|
+
"AgentResponseErrorDetailsType0",
|
|
250
288
|
"AgentResponseMetadataType0",
|
|
289
|
+
"AgentResponseTokensUsedType0",
|
|
251
290
|
"APIKeyInfo",
|
|
252
291
|
"APIKeysResponse",
|
|
253
292
|
"AuthResponse",
|
|
@@ -260,6 +299,8 @@ __all__ = (
|
|
|
260
299
|
"BackupRestoreRequest",
|
|
261
300
|
"BackupStatsResponse",
|
|
262
301
|
"BackupStatsResponseBackupFormats",
|
|
302
|
+
"BatchAgentRequest",
|
|
303
|
+
"BatchAgentResponse",
|
|
263
304
|
"CancellationResponse",
|
|
264
305
|
"CancelOperationResponseCanceloperation",
|
|
265
306
|
"CheckCreditBalanceResponseCheckcreditbalance",
|
|
@@ -281,7 +322,7 @@ __all__ = (
|
|
|
281
322
|
"CreateSubgraphRequest",
|
|
282
323
|
"CreateSubgraphRequestMetadataType0",
|
|
283
324
|
"CreditsSummaryResponse",
|
|
284
|
-
"
|
|
325
|
+
"CreditsSummaryResponseCreditsByAddonType0Item",
|
|
285
326
|
"CreditSummary",
|
|
286
327
|
"CreditSummaryResponse",
|
|
287
328
|
"CustomSchemaDefinition",
|
|
@@ -299,11 +340,14 @@ __all__ = (
|
|
|
299
340
|
"DetailedTransactionsResponse",
|
|
300
341
|
"DetailedTransactionsResponseDateRange",
|
|
301
342
|
"DetailedTransactionsResponseSummary",
|
|
343
|
+
"EmailVerificationRequest",
|
|
302
344
|
"EnhancedCreditTransactionResponse",
|
|
303
345
|
"EnhancedCreditTransactionResponseMetadata",
|
|
304
346
|
"ErrorResponse",
|
|
305
347
|
"ExchangeTokenRequest",
|
|
306
348
|
"ExchangeTokenRequestMetadataType0",
|
|
349
|
+
"ForgotPasswordRequest",
|
|
350
|
+
"ForgotPasswordResponseForgotpassword",
|
|
307
351
|
"GetAllCreditSummariesResponseGetallcreditsummaries",
|
|
308
352
|
"GetAllSharedRepositoryLimitsResponseGetallsharedrepositorylimits",
|
|
309
353
|
"GetBackupDownloadUrlResponseGetbackupdownloadurl",
|
|
@@ -361,6 +405,9 @@ __all__ = (
|
|
|
361
405
|
"RepositoryCreditsResponse",
|
|
362
406
|
"RepositoryPlan",
|
|
363
407
|
"RepositoryType",
|
|
408
|
+
"ResendVerificationEmailResponseResendverificationemail",
|
|
409
|
+
"ResetPasswordRequest",
|
|
410
|
+
"ResetPasswordValidateResponse",
|
|
364
411
|
"ResponseMode",
|
|
365
412
|
"S3CopyRequest",
|
|
366
413
|
"S3CopyRequestFileFormat",
|
|
@@ -374,6 +421,7 @@ __all__ = (
|
|
|
374
421
|
"SchemaValidationResponseCompatibilityType0",
|
|
375
422
|
"SchemaValidationResponseStatsType0",
|
|
376
423
|
"SECConnectionConfig",
|
|
424
|
+
"SelectionCriteria",
|
|
377
425
|
"SSOCompleteRequest",
|
|
378
426
|
"SSOExchangeRequest",
|
|
379
427
|
"SSOExchangeResponse",
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
from collections.abc import Mapping
|
|
2
|
+
from typing import TYPE_CHECKING, Any, TypeVar
|
|
3
|
+
|
|
4
|
+
from attrs import define as _attrs_define
|
|
5
|
+
from attrs import field as _attrs_field
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from ..models.agent_list_response_agents import AgentListResponseAgents
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
T = TypeVar("T", bound="AgentListResponse")
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
@_attrs_define
|
|
15
|
+
class AgentListResponse:
|
|
16
|
+
"""Response for listing available agents.
|
|
17
|
+
|
|
18
|
+
Attributes:
|
|
19
|
+
agents (AgentListResponseAgents): Dictionary of available agents with metadata
|
|
20
|
+
total (int): Total number of agents
|
|
21
|
+
"""
|
|
22
|
+
|
|
23
|
+
agents: "AgentListResponseAgents"
|
|
24
|
+
total: int
|
|
25
|
+
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
26
|
+
|
|
27
|
+
def to_dict(self) -> dict[str, Any]:
|
|
28
|
+
agents = self.agents.to_dict()
|
|
29
|
+
|
|
30
|
+
total = self.total
|
|
31
|
+
|
|
32
|
+
field_dict: dict[str, Any] = {}
|
|
33
|
+
field_dict.update(self.additional_properties)
|
|
34
|
+
field_dict.update(
|
|
35
|
+
{
|
|
36
|
+
"agents": agents,
|
|
37
|
+
"total": total,
|
|
38
|
+
}
|
|
39
|
+
)
|
|
40
|
+
|
|
41
|
+
return field_dict
|
|
42
|
+
|
|
43
|
+
@classmethod
|
|
44
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
45
|
+
from ..models.agent_list_response_agents import AgentListResponseAgents
|
|
46
|
+
|
|
47
|
+
d = dict(src_dict)
|
|
48
|
+
agents = AgentListResponseAgents.from_dict(d.pop("agents"))
|
|
49
|
+
|
|
50
|
+
total = d.pop("total")
|
|
51
|
+
|
|
52
|
+
agent_list_response = cls(
|
|
53
|
+
agents=agents,
|
|
54
|
+
total=total,
|
|
55
|
+
)
|
|
56
|
+
|
|
57
|
+
agent_list_response.additional_properties = d
|
|
58
|
+
return agent_list_response
|
|
59
|
+
|
|
60
|
+
@property
|
|
61
|
+
def additional_keys(self) -> list[str]:
|
|
62
|
+
return list(self.additional_properties.keys())
|
|
63
|
+
|
|
64
|
+
def __getitem__(self, key: str) -> Any:
|
|
65
|
+
return self.additional_properties[key]
|
|
66
|
+
|
|
67
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
68
|
+
self.additional_properties[key] = value
|
|
69
|
+
|
|
70
|
+
def __delitem__(self, key: str) -> None:
|
|
71
|
+
del self.additional_properties[key]
|
|
72
|
+
|
|
73
|
+
def __contains__(self, key: str) -> bool:
|
|
74
|
+
return key in self.additional_properties
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
from collections.abc import Mapping
|
|
2
|
+
from typing import TYPE_CHECKING, Any, TypeVar
|
|
3
|
+
|
|
4
|
+
from attrs import define as _attrs_define
|
|
5
|
+
from attrs import field as _attrs_field
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from ..models.agent_list_response_agents_additional_property import (
|
|
9
|
+
AgentListResponseAgentsAdditionalProperty,
|
|
10
|
+
)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
T = TypeVar("T", bound="AgentListResponseAgents")
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
@_attrs_define
|
|
17
|
+
class AgentListResponseAgents:
|
|
18
|
+
"""Dictionary of available agents with metadata"""
|
|
19
|
+
|
|
20
|
+
additional_properties: dict[str, "AgentListResponseAgentsAdditionalProperty"] = (
|
|
21
|
+
_attrs_field(init=False, factory=dict)
|
|
22
|
+
)
|
|
23
|
+
|
|
24
|
+
def to_dict(self) -> dict[str, Any]:
|
|
25
|
+
field_dict: dict[str, Any] = {}
|
|
26
|
+
for prop_name, prop in self.additional_properties.items():
|
|
27
|
+
field_dict[prop_name] = prop.to_dict()
|
|
28
|
+
|
|
29
|
+
return field_dict
|
|
30
|
+
|
|
31
|
+
@classmethod
|
|
32
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
33
|
+
from ..models.agent_list_response_agents_additional_property import (
|
|
34
|
+
AgentListResponseAgentsAdditionalProperty,
|
|
35
|
+
)
|
|
36
|
+
|
|
37
|
+
d = dict(src_dict)
|
|
38
|
+
agent_list_response_agents = cls()
|
|
39
|
+
|
|
40
|
+
additional_properties = {}
|
|
41
|
+
for prop_name, prop_dict in d.items():
|
|
42
|
+
additional_property = AgentListResponseAgentsAdditionalProperty.from_dict(
|
|
43
|
+
prop_dict
|
|
44
|
+
)
|
|
45
|
+
|
|
46
|
+
additional_properties[prop_name] = additional_property
|
|
47
|
+
|
|
48
|
+
agent_list_response_agents.additional_properties = additional_properties
|
|
49
|
+
return agent_list_response_agents
|
|
50
|
+
|
|
51
|
+
@property
|
|
52
|
+
def additional_keys(self) -> list[str]:
|
|
53
|
+
return list(self.additional_properties.keys())
|
|
54
|
+
|
|
55
|
+
def __getitem__(self, key: str) -> "AgentListResponseAgentsAdditionalProperty":
|
|
56
|
+
return self.additional_properties[key]
|
|
57
|
+
|
|
58
|
+
def __setitem__(
|
|
59
|
+
self, key: str, value: "AgentListResponseAgentsAdditionalProperty"
|
|
60
|
+
) -> None:
|
|
61
|
+
self.additional_properties[key] = value
|
|
62
|
+
|
|
63
|
+
def __delitem__(self, key: str) -> None:
|
|
64
|
+
del self.additional_properties[key]
|
|
65
|
+
|
|
66
|
+
def __contains__(self, key: str) -> bool:
|
|
67
|
+
return key in self.additional_properties
|
|
@@ -4,11 +4,11 @@ from typing import Any, TypeVar
|
|
|
4
4
|
from attrs import define as _attrs_define
|
|
5
5
|
from attrs import field as _attrs_field
|
|
6
6
|
|
|
7
|
-
T = TypeVar("T", bound="
|
|
7
|
+
T = TypeVar("T", bound="AgentListResponseAgentsAdditionalProperty")
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
@_attrs_define
|
|
11
|
-
class
|
|
11
|
+
class AgentListResponseAgentsAdditionalProperty:
|
|
12
12
|
""" """
|
|
13
13
|
|
|
14
14
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
@@ -22,10 +22,10 @@ class CreditsSummaryResponseCreditsByAddonItem:
|
|
|
22
22
|
@classmethod
|
|
23
23
|
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
24
24
|
d = dict(src_dict)
|
|
25
|
-
|
|
25
|
+
agent_list_response_agents_additional_property = cls()
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
return
|
|
27
|
+
agent_list_response_agents_additional_property.additional_properties = d
|
|
28
|
+
return agent_list_response_agents_additional_property
|
|
29
29
|
|
|
30
30
|
@property
|
|
31
31
|
def additional_keys(self) -> list[str]:
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
+
import datetime
|
|
1
2
|
from collections.abc import Mapping
|
|
2
|
-
from typing import Any, TypeVar
|
|
3
|
+
from typing import Any, TypeVar, Union, cast
|
|
3
4
|
|
|
4
5
|
from attrs import define as _attrs_define
|
|
5
6
|
from attrs import field as _attrs_field
|
|
7
|
+
from dateutil.parser import isoparse
|
|
8
|
+
|
|
9
|
+
from ..types import UNSET, Unset
|
|
6
10
|
|
|
7
11
|
T = TypeVar("T", bound="AgentMessage")
|
|
8
12
|
|
|
@@ -14,10 +18,12 @@ class AgentMessage:
|
|
|
14
18
|
Attributes:
|
|
15
19
|
role (str): Message role (user/assistant)
|
|
16
20
|
content (str): Message content
|
|
21
|
+
timestamp (Union[None, Unset, datetime.datetime]): Message timestamp
|
|
17
22
|
"""
|
|
18
23
|
|
|
19
24
|
role: str
|
|
20
25
|
content: str
|
|
26
|
+
timestamp: Union[None, Unset, datetime.datetime] = UNSET
|
|
21
27
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
22
28
|
|
|
23
29
|
def to_dict(self) -> dict[str, Any]:
|
|
@@ -25,6 +31,14 @@ class AgentMessage:
|
|
|
25
31
|
|
|
26
32
|
content = self.content
|
|
27
33
|
|
|
34
|
+
timestamp: Union[None, Unset, str]
|
|
35
|
+
if isinstance(self.timestamp, Unset):
|
|
36
|
+
timestamp = UNSET
|
|
37
|
+
elif isinstance(self.timestamp, datetime.datetime):
|
|
38
|
+
timestamp = self.timestamp.isoformat()
|
|
39
|
+
else:
|
|
40
|
+
timestamp = self.timestamp
|
|
41
|
+
|
|
28
42
|
field_dict: dict[str, Any] = {}
|
|
29
43
|
field_dict.update(self.additional_properties)
|
|
30
44
|
field_dict.update(
|
|
@@ -33,6 +47,8 @@ class AgentMessage:
|
|
|
33
47
|
"content": content,
|
|
34
48
|
}
|
|
35
49
|
)
|
|
50
|
+
if timestamp is not UNSET:
|
|
51
|
+
field_dict["timestamp"] = timestamp
|
|
36
52
|
|
|
37
53
|
return field_dict
|
|
38
54
|
|
|
@@ -43,9 +59,27 @@ class AgentMessage:
|
|
|
43
59
|
|
|
44
60
|
content = d.pop("content")
|
|
45
61
|
|
|
62
|
+
def _parse_timestamp(data: object) -> Union[None, Unset, datetime.datetime]:
|
|
63
|
+
if data is None:
|
|
64
|
+
return data
|
|
65
|
+
if isinstance(data, Unset):
|
|
66
|
+
return data
|
|
67
|
+
try:
|
|
68
|
+
if not isinstance(data, str):
|
|
69
|
+
raise TypeError()
|
|
70
|
+
timestamp_type_0 = isoparse(data)
|
|
71
|
+
|
|
72
|
+
return timestamp_type_0
|
|
73
|
+
except: # noqa: E722
|
|
74
|
+
pass
|
|
75
|
+
return cast(Union[None, Unset, datetime.datetime], data)
|
|
76
|
+
|
|
77
|
+
timestamp = _parse_timestamp(d.pop("timestamp", UNSET))
|
|
78
|
+
|
|
46
79
|
agent_message = cls(
|
|
47
80
|
role=role,
|
|
48
81
|
content=content,
|
|
82
|
+
timestamp=timestamp,
|
|
49
83
|
)
|
|
50
84
|
|
|
51
85
|
agent_message.additional_properties = d
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
from collections.abc import Mapping
|
|
2
|
+
from typing import Any, TypeVar, Union, cast
|
|
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="AgentMetadataResponse")
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
@_attrs_define
|
|
13
|
+
class AgentMetadataResponse:
|
|
14
|
+
"""Response for agent metadata.
|
|
15
|
+
|
|
16
|
+
Attributes:
|
|
17
|
+
name (str): Agent name
|
|
18
|
+
description (str): Agent description
|
|
19
|
+
version (str): Agent version
|
|
20
|
+
capabilities (list[str]): Agent capabilities
|
|
21
|
+
supported_modes (list[str]): Supported execution modes
|
|
22
|
+
requires_credits (bool): Whether agent requires credits
|
|
23
|
+
author (Union[None, Unset, str]): Agent author
|
|
24
|
+
tags (Union[Unset, list[str]]): Agent tags
|
|
25
|
+
"""
|
|
26
|
+
|
|
27
|
+
name: str
|
|
28
|
+
description: str
|
|
29
|
+
version: str
|
|
30
|
+
capabilities: list[str]
|
|
31
|
+
supported_modes: list[str]
|
|
32
|
+
requires_credits: bool
|
|
33
|
+
author: Union[None, Unset, str] = UNSET
|
|
34
|
+
tags: Union[Unset, list[str]] = UNSET
|
|
35
|
+
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
36
|
+
|
|
37
|
+
def to_dict(self) -> dict[str, Any]:
|
|
38
|
+
name = self.name
|
|
39
|
+
|
|
40
|
+
description = self.description
|
|
41
|
+
|
|
42
|
+
version = self.version
|
|
43
|
+
|
|
44
|
+
capabilities = self.capabilities
|
|
45
|
+
|
|
46
|
+
supported_modes = self.supported_modes
|
|
47
|
+
|
|
48
|
+
requires_credits = self.requires_credits
|
|
49
|
+
|
|
50
|
+
author: Union[None, Unset, str]
|
|
51
|
+
if isinstance(self.author, Unset):
|
|
52
|
+
author = UNSET
|
|
53
|
+
else:
|
|
54
|
+
author = self.author
|
|
55
|
+
|
|
56
|
+
tags: Union[Unset, list[str]] = UNSET
|
|
57
|
+
if not isinstance(self.tags, Unset):
|
|
58
|
+
tags = self.tags
|
|
59
|
+
|
|
60
|
+
field_dict: dict[str, Any] = {}
|
|
61
|
+
field_dict.update(self.additional_properties)
|
|
62
|
+
field_dict.update(
|
|
63
|
+
{
|
|
64
|
+
"name": name,
|
|
65
|
+
"description": description,
|
|
66
|
+
"version": version,
|
|
67
|
+
"capabilities": capabilities,
|
|
68
|
+
"supported_modes": supported_modes,
|
|
69
|
+
"requires_credits": requires_credits,
|
|
70
|
+
}
|
|
71
|
+
)
|
|
72
|
+
if author is not UNSET:
|
|
73
|
+
field_dict["author"] = author
|
|
74
|
+
if tags is not UNSET:
|
|
75
|
+
field_dict["tags"] = tags
|
|
76
|
+
|
|
77
|
+
return field_dict
|
|
78
|
+
|
|
79
|
+
@classmethod
|
|
80
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
81
|
+
d = dict(src_dict)
|
|
82
|
+
name = d.pop("name")
|
|
83
|
+
|
|
84
|
+
description = d.pop("description")
|
|
85
|
+
|
|
86
|
+
version = d.pop("version")
|
|
87
|
+
|
|
88
|
+
capabilities = cast(list[str], d.pop("capabilities"))
|
|
89
|
+
|
|
90
|
+
supported_modes = cast(list[str], d.pop("supported_modes"))
|
|
91
|
+
|
|
92
|
+
requires_credits = d.pop("requires_credits")
|
|
93
|
+
|
|
94
|
+
def _parse_author(data: object) -> Union[None, Unset, str]:
|
|
95
|
+
if data is None:
|
|
96
|
+
return data
|
|
97
|
+
if isinstance(data, Unset):
|
|
98
|
+
return data
|
|
99
|
+
return cast(Union[None, Unset, str], data)
|
|
100
|
+
|
|
101
|
+
author = _parse_author(d.pop("author", UNSET))
|
|
102
|
+
|
|
103
|
+
tags = cast(list[str], d.pop("tags", UNSET))
|
|
104
|
+
|
|
105
|
+
agent_metadata_response = cls(
|
|
106
|
+
name=name,
|
|
107
|
+
description=description,
|
|
108
|
+
version=version,
|
|
109
|
+
capabilities=capabilities,
|
|
110
|
+
supported_modes=supported_modes,
|
|
111
|
+
requires_credits=requires_credits,
|
|
112
|
+
author=author,
|
|
113
|
+
tags=tags,
|
|
114
|
+
)
|
|
115
|
+
|
|
116
|
+
agent_metadata_response.additional_properties = d
|
|
117
|
+
return agent_metadata_response
|
|
118
|
+
|
|
119
|
+
@property
|
|
120
|
+
def additional_keys(self) -> list[str]:
|
|
121
|
+
return list(self.additional_properties.keys())
|
|
122
|
+
|
|
123
|
+
def __getitem__(self, key: str) -> Any:
|
|
124
|
+
return self.additional_properties[key]
|
|
125
|
+
|
|
126
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
127
|
+
self.additional_properties[key] = value
|
|
128
|
+
|
|
129
|
+
def __delitem__(self, key: str) -> None:
|
|
130
|
+
del self.additional_properties[key]
|
|
131
|
+
|
|
132
|
+
def __contains__(self, key: str) -> bool:
|
|
133
|
+
return key in self.additional_properties
|