robosystems-client 0.1.18__py3-none-any.whl → 0.2.0__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 +10 -4
- robosystems_client/api/agent/batch_process_queries.py +9 -4
- robosystems_client/api/agent/execute_specific_agent.py +11 -4
- robosystems_client/api/agent/get_agent_metadata.py +4 -1
- robosystems_client/api/agent/list_agents.py +4 -1
- robosystems_client/api/agent/recommend_agent.py +4 -1
- robosystems_client/api/auth/check_password_strength.py +2 -0
- robosystems_client/api/auth/complete_sso_auth.py +3 -0
- robosystems_client/api/auth/forgot_password.py +6 -3
- robosystems_client/api/auth/generate_sso_token.py +3 -0
- robosystems_client/api/auth/get_captcha_config.py +1 -0
- robosystems_client/api/auth/get_current_auth_user.py +3 -0
- robosystems_client/api/auth/get_password_policy.py +1 -0
- robosystems_client/api/auth/login_user.py +7 -3
- robosystems_client/api/auth/logout_user.py +2 -0
- robosystems_client/api/auth/refresh_auth_session.py +3 -0
- robosystems_client/api/auth/register_user.py +11 -6
- robosystems_client/api/auth/resend_verification_email.py +8 -3
- robosystems_client/api/auth/reset_password.py +3 -0
- robosystems_client/api/auth/sso_token_exchange.py +7 -3
- robosystems_client/api/auth/validate_reset_token.py +2 -0
- robosystems_client/api/auth/verify_email.py +3 -0
- robosystems_client/api/backup/create_backup.py +14 -8
- robosystems_client/api/backup/get_backup_download_url.py +9 -4
- robosystems_client/api/backup/get_backup_stats.py +3 -1
- robosystems_client/api/backup/list_backups.py +7 -5
- robosystems_client/api/backup/restore_backup.py +27 -8
- robosystems_client/api/connections/create_connection.py +14 -8
- robosystems_client/api/connections/create_link_token.py +9 -4
- robosystems_client/api/connections/delete_connection.py +13 -8
- robosystems_client/api/connections/exchange_link_token.py +9 -4
- robosystems_client/api/connections/get_connection.py +9 -4
- robosystems_client/api/connections/get_connection_options.py +8 -4
- robosystems_client/api/connections/init_o_auth.py +3 -1
- robosystems_client/api/connections/list_connections.py +8 -4
- robosystems_client/api/connections/oauth_callback.py +10 -4
- robosystems_client/api/connections/sync_connection.py +13 -8
- robosystems_client/api/graph_analytics/get_graph_metrics.py +13 -8
- robosystems_client/api/graph_analytics/get_graph_usage_stats.py +12 -8
- robosystems_client/api/graph_billing/get_current_graph_bill.py +9 -4
- robosystems_client/api/graph_billing/get_graph_billing_history.py +9 -4
- robosystems_client/api/graph_billing/get_graph_monthly_bill.py +10 -4
- robosystems_client/api/graph_billing/get_graph_usage_details.py +10 -4
- robosystems_client/api/graph_credits/check_credit_balance.py +9 -4
- robosystems_client/api/graph_credits/check_storage_limits.py +9 -4
- robosystems_client/api/graph_credits/get_credit_summary.py +9 -4
- robosystems_client/api/graph_credits/get_storage_usage.py +8 -4
- robosystems_client/api/graph_credits/list_credit_transactions.py +9 -4
- robosystems_client/api/graph_health/get_database_health.py +9 -4
- robosystems_client/api/graph_info/get_database_info.py +9 -4
- robosystems_client/api/graph_limits/get_graph_limits.py +9 -4
- robosystems_client/api/{create → graphs}/create_graph.py +7 -5
- robosystems_client/api/{create → graphs}/get_available_extensions.py +2 -1
- robosystems_client/api/{user/get_user_graphs.py → graphs/get_graphs.py} +3 -1
- robosystems_client/api/{user/select_user_graph.py → graphs/select_graph.py} +13 -8
- robosystems_client/api/mcp/call_mcp_tool.py +18 -8
- robosystems_client/api/mcp/list_mcp_tools.py +12 -8
- robosystems_client/api/operations/cancel_operation.py +9 -3
- robosystems_client/api/operations/get_operation_status.py +8 -3
- robosystems_client/api/operations/stream_operation_events.py +8 -3
- robosystems_client/api/query/execute_cypher_query.py +49 -16
- robosystems_client/api/schema/export_graph_schema.py +3 -1
- robosystems_client/api/schema/{get_graph_schema_info.py → get_graph_schema.py} +37 -47
- robosystems_client/api/schema/validate_schema.py +10 -5
- robosystems_client/api/service_offerings/get_service_offerings.py +2 -0
- robosystems_client/api/status/get_service_status.py +1 -0
- robosystems_client/api/subgraphs/create_subgraph.py +3 -1
- robosystems_client/api/subgraphs/delete_subgraph.py +15 -7
- robosystems_client/api/subgraphs/get_subgraph_info.py +14 -7
- robosystems_client/api/subgraphs/get_subgraph_quota.py +10 -4
- robosystems_client/api/subgraphs/list_subgraphs.py +3 -1
- robosystems_client/api/tables/delete_file_v1_graphs_graph_id_tables_files_file_id_delete.py +287 -0
- robosystems_client/api/tables/get_file_info_v1_graphs_graph_id_tables_files_file_id_get.py +283 -0
- robosystems_client/api/tables/get_upload_url_v1_graphs_graph_id_tables_table_name_files_post.py +260 -0
- robosystems_client/api/tables/ingest_tables_v1_graphs_graph_id_tables_ingest_post.py +251 -0
- robosystems_client/api/tables/list_table_files_v1_graphs_graph_id_tables_table_name_files_get.py +283 -0
- robosystems_client/api/{backup/export_backup.py → tables/list_tables_v1_graphs_graph_id_tables_get.py} +36 -36
- robosystems_client/api/{schema/list_schema_extensions.py → tables/query_tables_v1_graphs_graph_id_tables_query_post.py} +67 -43
- robosystems_client/api/tables/update_file_v1_graphs_graph_id_tables_files_file_id_patch.py +306 -0
- robosystems_client/api/user/create_user_api_key.py +2 -0
- robosystems_client/api/user/get_all_credit_summaries.py +6 -3
- robosystems_client/api/user/get_current_user.py +2 -0
- robosystems_client/api/user/list_user_api_keys.py +2 -0
- robosystems_client/api/user/revoke_user_api_key.py +7 -3
- robosystems_client/api/user/update_user.py +2 -0
- robosystems_client/api/user/update_user_api_key.py +2 -0
- robosystems_client/api/user/update_user_password.py +8 -3
- robosystems_client/api/user_analytics/get_detailed_user_analytics.py +2 -0
- robosystems_client/api/user_analytics/get_user_usage_overview.py +2 -0
- robosystems_client/api/user_limits/get_all_shared_repository_limits.py +2 -0
- robosystems_client/api/user_limits/get_shared_repository_limits.py +6 -4
- robosystems_client/api/user_limits/get_user_limits.py +3 -0
- robosystems_client/api/user_limits/get_user_usage.py +2 -0
- robosystems_client/api/user_subscriptions/cancel_shared_repository_subscription.py +11 -6
- robosystems_client/api/user_subscriptions/get_repository_credits.py +7 -3
- robosystems_client/api/user_subscriptions/get_shared_repository_credits.py +7 -3
- robosystems_client/api/user_subscriptions/get_user_shared_subscriptions.py +7 -3
- robosystems_client/api/user_subscriptions/subscribe_to_shared_repository.py +8 -3
- robosystems_client/api/user_subscriptions/upgrade_shared_repository_subscription.py +12 -6
- robosystems_client/extensions/README.md +1 -212
- robosystems_client/extensions/__init__.py +12 -28
- robosystems_client/extensions/extensions.py +3 -17
- robosystems_client/extensions/operation_client.py +12 -4
- robosystems_client/extensions/query_client.py +38 -24
- robosystems_client/extensions/sse_client.py +11 -0
- robosystems_client/extensions/table_ingest_client.py +466 -0
- robosystems_client/models/__init__.py +39 -31
- robosystems_client/models/api_key_info.py +20 -0
- robosystems_client/models/backup_restore_request.py +1 -12
- robosystems_client/models/bulk_ingest_request.py +50 -0
- robosystems_client/models/bulk_ingest_response.py +137 -0
- robosystems_client/models/create_api_key_request.py +20 -0
- robosystems_client/models/create_graph_request.py +4 -3
- robosystems_client/models/{sso_login_request.py → delete_file_v1_graphs_graph_id_tables_files_file_id_delete_response_delete_file_v1_graphs_graph_id_tables_files_file_id_delete.py} +9 -22
- robosystems_client/models/file_update_request.py +62 -0
- robosystems_client/models/file_upload_request.py +51 -0
- robosystems_client/models/file_upload_response.py +83 -0
- robosystems_client/models/{get_graph_schema_info_response_getgraphschemainfo.py → get_file_info_v1_graphs_graph_id_tables_files_file_id_get_response_get_file_info_v1_graphs_graph_id_tables_files_file_id_get.py} +8 -5
- robosystems_client/models/{copy_response_error_details_type_0.py → get_graph_schema_response_getgraphschema.py} +5 -5
- robosystems_client/models/list_table_files_v1_graphs_graph_id_tables_table_name_files_get_response_list_table_files_v1_graphs_graph_id_tables_table_name_files_get.py +47 -0
- robosystems_client/models/table_info.py +107 -0
- robosystems_client/models/table_ingest_result.py +107 -0
- robosystems_client/models/table_list_response.py +81 -0
- robosystems_client/models/table_query_request.py +40 -0
- robosystems_client/models/table_query_response.py +92 -0
- robosystems_client/models/{list_schema_extensions_response_listschemaextensions.py → update_file_v1_graphs_graph_id_tables_files_file_id_patch_response_update_file_v1_graphs_graph_id_tables_files_file_id_patch.py} +8 -5
- {robosystems_client-0.1.18.dist-info → robosystems_client-0.2.0.dist-info}/METADATA +15 -3
- {robosystems_client-0.1.18.dist-info → robosystems_client-0.2.0.dist-info}/RECORD +132 -127
- robosystems_client/api/auth/sso_login.py +0 -177
- robosystems_client/api/copy/copy_data_to_graph.py +0 -486
- robosystems_client/extensions/copy_client.py +0 -479
- robosystems_client/models/copy_response.py +0 -275
- robosystems_client/models/copy_response_status.py +0 -11
- robosystems_client/models/data_frame_copy_request.py +0 -125
- robosystems_client/models/data_frame_copy_request_format.py +0 -10
- robosystems_client/models/s3_copy_request.py +0 -378
- robosystems_client/models/s3_copy_request_file_format.py +0 -12
- robosystems_client/models/s3_copy_request_s3_url_style_type_0.py +0 -9
- robosystems_client/models/url_copy_request.py +0 -157
- robosystems_client/models/url_copy_request_file_format.py +0 -10
- robosystems_client/models/url_copy_request_headers_type_0.py +0 -44
- /robosystems_client/api/{copy → graphs}/__init__.py +0 -0
- /robosystems_client/api/{create → tables}/__init__.py +0 -0
- {robosystems_client-0.1.18.dist-info → robosystems_client-0.2.0.dist-info}/WHEEL +0 -0
- {robosystems_client-0.1.18.dist-info → robosystems_client-0.2.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -39,7 +39,7 @@ def _get_kwargs(
|
|
|
39
39
|
|
|
40
40
|
_kwargs: dict[str, Any] = {
|
|
41
41
|
"method": "post",
|
|
42
|
-
"url": f"/v1/{graph_id}/connections/{connection_id}/sync",
|
|
42
|
+
"url": f"/v1/graphs/{graph_id}/connections/{connection_id}/sync",
|
|
43
43
|
"params": params,
|
|
44
44
|
}
|
|
45
45
|
|
|
@@ -60,22 +60,27 @@ def _parse_response(
|
|
|
60
60
|
response_200 = SyncConnectionResponseSyncconnection.from_dict(response.json())
|
|
61
61
|
|
|
62
62
|
return response_200
|
|
63
|
+
|
|
63
64
|
if response.status_code == 403:
|
|
64
65
|
response_403 = ErrorResponse.from_dict(response.json())
|
|
65
66
|
|
|
66
67
|
return response_403
|
|
68
|
+
|
|
67
69
|
if response.status_code == 404:
|
|
68
70
|
response_404 = ErrorResponse.from_dict(response.json())
|
|
69
71
|
|
|
70
72
|
return response_404
|
|
71
|
-
if response.status_code == 500:
|
|
72
|
-
response_500 = ErrorResponse.from_dict(response.json())
|
|
73
73
|
|
|
74
|
-
return response_500
|
|
75
74
|
if response.status_code == 422:
|
|
76
75
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
77
76
|
|
|
78
77
|
return response_422
|
|
78
|
+
|
|
79
|
+
if response.status_code == 500:
|
|
80
|
+
response_500 = ErrorResponse.from_dict(response.json())
|
|
81
|
+
|
|
82
|
+
return response_500
|
|
83
|
+
|
|
79
84
|
if client.raise_on_unexpected_status:
|
|
80
85
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
81
86
|
else:
|
|
@@ -129,7 +134,7 @@ def sync_detailed(
|
|
|
129
134
|
- Categorizes new transactions
|
|
130
135
|
|
|
131
136
|
Note:
|
|
132
|
-
This operation is
|
|
137
|
+
This operation is included - no credit consumption required.
|
|
133
138
|
|
|
134
139
|
Returns a task ID for monitoring sync progress.
|
|
135
140
|
|
|
@@ -197,7 +202,7 @@ def sync(
|
|
|
197
202
|
- Categorizes new transactions
|
|
198
203
|
|
|
199
204
|
Note:
|
|
200
|
-
This operation is
|
|
205
|
+
This operation is included - no credit consumption required.
|
|
201
206
|
|
|
202
207
|
Returns a task ID for monitoring sync progress.
|
|
203
208
|
|
|
@@ -260,7 +265,7 @@ async def asyncio_detailed(
|
|
|
260
265
|
- Categorizes new transactions
|
|
261
266
|
|
|
262
267
|
Note:
|
|
263
|
-
This operation is
|
|
268
|
+
This operation is included - no credit consumption required.
|
|
264
269
|
|
|
265
270
|
Returns a task ID for monitoring sync progress.
|
|
266
271
|
|
|
@@ -326,7 +331,7 @@ async def asyncio(
|
|
|
326
331
|
- Categorizes new transactions
|
|
327
332
|
|
|
328
333
|
Note:
|
|
329
|
-
This operation is
|
|
334
|
+
This operation is included - no credit consumption required.
|
|
330
335
|
|
|
331
336
|
Returns a task ID for monitoring sync progress.
|
|
332
337
|
|
|
@@ -34,7 +34,7 @@ def _get_kwargs(
|
|
|
34
34
|
|
|
35
35
|
_kwargs: dict[str, Any] = {
|
|
36
36
|
"method": "get",
|
|
37
|
-
"url": f"/v1/{graph_id}/analytics",
|
|
37
|
+
"url": f"/v1/graphs/{graph_id}/analytics",
|
|
38
38
|
"params": params,
|
|
39
39
|
}
|
|
40
40
|
|
|
@@ -49,22 +49,27 @@ def _parse_response(
|
|
|
49
49
|
response_200 = GraphMetricsResponse.from_dict(response.json())
|
|
50
50
|
|
|
51
51
|
return response_200
|
|
52
|
+
|
|
52
53
|
if response.status_code == 403:
|
|
53
54
|
response_403 = ErrorResponse.from_dict(response.json())
|
|
54
55
|
|
|
55
56
|
return response_403
|
|
57
|
+
|
|
56
58
|
if response.status_code == 404:
|
|
57
59
|
response_404 = ErrorResponse.from_dict(response.json())
|
|
58
60
|
|
|
59
61
|
return response_404
|
|
60
|
-
if response.status_code == 500:
|
|
61
|
-
response_500 = ErrorResponse.from_dict(response.json())
|
|
62
62
|
|
|
63
|
-
return response_500
|
|
64
63
|
if response.status_code == 422:
|
|
65
64
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
66
65
|
|
|
67
66
|
return response_422
|
|
67
|
+
|
|
68
|
+
if response.status_code == 500:
|
|
69
|
+
response_500 = ErrorResponse.from_dict(response.json())
|
|
70
|
+
|
|
71
|
+
return response_500
|
|
72
|
+
|
|
68
73
|
if client.raise_on_unexpected_status:
|
|
69
74
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
70
75
|
else:
|
|
@@ -107,7 +112,7 @@ def sync_detailed(
|
|
|
107
112
|
- Performance optimization
|
|
108
113
|
|
|
109
114
|
Note:
|
|
110
|
-
This operation is
|
|
115
|
+
This operation is included - no credit consumption required.
|
|
111
116
|
|
|
112
117
|
Args:
|
|
113
118
|
graph_id (str): The graph ID to get metrics for
|
|
@@ -160,7 +165,7 @@ def sync(
|
|
|
160
165
|
- Performance optimization
|
|
161
166
|
|
|
162
167
|
Note:
|
|
163
|
-
This operation is
|
|
168
|
+
This operation is included - no credit consumption required.
|
|
164
169
|
|
|
165
170
|
Args:
|
|
166
171
|
graph_id (str): The graph ID to get metrics for
|
|
@@ -208,7 +213,7 @@ async def asyncio_detailed(
|
|
|
208
213
|
- Performance optimization
|
|
209
214
|
|
|
210
215
|
Note:
|
|
211
|
-
This operation is
|
|
216
|
+
This operation is included - no credit consumption required.
|
|
212
217
|
|
|
213
218
|
Args:
|
|
214
219
|
graph_id (str): The graph ID to get metrics for
|
|
@@ -259,7 +264,7 @@ async def asyncio(
|
|
|
259
264
|
- Performance optimization
|
|
260
265
|
|
|
261
266
|
Note:
|
|
262
|
-
This operation is
|
|
267
|
+
This operation is included - no credit consumption required.
|
|
263
268
|
|
|
264
269
|
Args:
|
|
265
270
|
graph_id (str): The graph ID to get metrics for
|
|
@@ -37,7 +37,7 @@ def _get_kwargs(
|
|
|
37
37
|
|
|
38
38
|
_kwargs: dict[str, Any] = {
|
|
39
39
|
"method": "get",
|
|
40
|
-
"url": f"/v1/{graph_id}/analytics/usage",
|
|
40
|
+
"url": f"/v1/graphs/{graph_id}/analytics/usage",
|
|
41
41
|
"params": params,
|
|
42
42
|
}
|
|
43
43
|
|
|
@@ -52,18 +52,22 @@ def _parse_response(
|
|
|
52
52
|
response_200 = GraphUsageResponse.from_dict(response.json())
|
|
53
53
|
|
|
54
54
|
return response_200
|
|
55
|
+
|
|
55
56
|
if response.status_code == 403:
|
|
56
57
|
response_403 = ErrorResponse.from_dict(response.json())
|
|
57
58
|
|
|
58
59
|
return response_403
|
|
59
|
-
if response.status_code == 500:
|
|
60
|
-
response_500 = ErrorResponse.from_dict(response.json())
|
|
61
60
|
|
|
62
|
-
return response_500
|
|
63
61
|
if response.status_code == 422:
|
|
64
62
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
65
63
|
|
|
66
64
|
return response_422
|
|
65
|
+
|
|
66
|
+
if response.status_code == 500:
|
|
67
|
+
response_500 = ErrorResponse.from_dict(response.json())
|
|
68
|
+
|
|
69
|
+
return response_500
|
|
70
|
+
|
|
67
71
|
if client.raise_on_unexpected_status:
|
|
68
72
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
69
73
|
else:
|
|
@@ -113,7 +117,7 @@ def sync_detailed(
|
|
|
113
117
|
- Performance tuning
|
|
114
118
|
|
|
115
119
|
Note:
|
|
116
|
-
This operation is
|
|
120
|
+
This operation is included - no credit consumption required.
|
|
117
121
|
|
|
118
122
|
Args:
|
|
119
123
|
graph_id (str): The graph ID to get usage stats for
|
|
@@ -176,7 +180,7 @@ def sync(
|
|
|
176
180
|
- Performance tuning
|
|
177
181
|
|
|
178
182
|
Note:
|
|
179
|
-
This operation is
|
|
183
|
+
This operation is included - no credit consumption required.
|
|
180
184
|
|
|
181
185
|
Args:
|
|
182
186
|
graph_id (str): The graph ID to get usage stats for
|
|
@@ -234,7 +238,7 @@ async def asyncio_detailed(
|
|
|
234
238
|
- Performance tuning
|
|
235
239
|
|
|
236
240
|
Note:
|
|
237
|
-
This operation is
|
|
241
|
+
This operation is included - no credit consumption required.
|
|
238
242
|
|
|
239
243
|
Args:
|
|
240
244
|
graph_id (str): The graph ID to get usage stats for
|
|
@@ -295,7 +299,7 @@ async def asyncio(
|
|
|
295
299
|
- Performance tuning
|
|
296
300
|
|
|
297
301
|
Note:
|
|
298
|
-
This operation is
|
|
302
|
+
This operation is included - no credit consumption required.
|
|
299
303
|
|
|
300
304
|
Args:
|
|
301
305
|
graph_id (str): The graph ID to get usage stats for
|
|
@@ -36,7 +36,7 @@ def _get_kwargs(
|
|
|
36
36
|
|
|
37
37
|
_kwargs: dict[str, Any] = {
|
|
38
38
|
"method": "get",
|
|
39
|
-
"url": f"/v1/{graph_id}/billing/current",
|
|
39
|
+
"url": f"/v1/graphs/{graph_id}/billing/current",
|
|
40
40
|
"params": params,
|
|
41
41
|
}
|
|
42
42
|
|
|
@@ -57,22 +57,27 @@ def _parse_response(
|
|
|
57
57
|
)
|
|
58
58
|
|
|
59
59
|
return response_200
|
|
60
|
+
|
|
60
61
|
if response.status_code == 403:
|
|
61
62
|
response_403 = ErrorResponse.from_dict(response.json())
|
|
62
63
|
|
|
63
64
|
return response_403
|
|
65
|
+
|
|
64
66
|
if response.status_code == 404:
|
|
65
67
|
response_404 = ErrorResponse.from_dict(response.json())
|
|
66
68
|
|
|
67
69
|
return response_404
|
|
68
|
-
if response.status_code == 500:
|
|
69
|
-
response_500 = ErrorResponse.from_dict(response.json())
|
|
70
70
|
|
|
71
|
-
return response_500
|
|
72
71
|
if response.status_code == 422:
|
|
73
72
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
74
73
|
|
|
75
74
|
return response_422
|
|
75
|
+
|
|
76
|
+
if response.status_code == 500:
|
|
77
|
+
response_500 = ErrorResponse.from_dict(response.json())
|
|
78
|
+
|
|
79
|
+
return response_500
|
|
80
|
+
|
|
76
81
|
if client.raise_on_unexpected_status:
|
|
77
82
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
78
83
|
else:
|
|
@@ -39,7 +39,7 @@ def _get_kwargs(
|
|
|
39
39
|
|
|
40
40
|
_kwargs: dict[str, Any] = {
|
|
41
41
|
"method": "get",
|
|
42
|
-
"url": f"/v1/{graph_id}/billing/history",
|
|
42
|
+
"url": f"/v1/graphs/{graph_id}/billing/history",
|
|
43
43
|
"params": params,
|
|
44
44
|
}
|
|
45
45
|
|
|
@@ -62,22 +62,27 @@ def _parse_response(
|
|
|
62
62
|
)
|
|
63
63
|
|
|
64
64
|
return response_200
|
|
65
|
+
|
|
65
66
|
if response.status_code == 403:
|
|
66
67
|
response_403 = ErrorResponse.from_dict(response.json())
|
|
67
68
|
|
|
68
69
|
return response_403
|
|
70
|
+
|
|
69
71
|
if response.status_code == 404:
|
|
70
72
|
response_404 = ErrorResponse.from_dict(response.json())
|
|
71
73
|
|
|
72
74
|
return response_404
|
|
73
|
-
if response.status_code == 500:
|
|
74
|
-
response_500 = ErrorResponse.from_dict(response.json())
|
|
75
75
|
|
|
76
|
-
return response_500
|
|
77
76
|
if response.status_code == 422:
|
|
78
77
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
79
78
|
|
|
80
79
|
return response_422
|
|
80
|
+
|
|
81
|
+
if response.status_code == 500:
|
|
82
|
+
response_500 = ErrorResponse.from_dict(response.json())
|
|
83
|
+
|
|
84
|
+
return response_500
|
|
85
|
+
|
|
81
86
|
if client.raise_on_unexpected_status:
|
|
82
87
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
83
88
|
else:
|
|
@@ -38,7 +38,7 @@ def _get_kwargs(
|
|
|
38
38
|
|
|
39
39
|
_kwargs: dict[str, Any] = {
|
|
40
40
|
"method": "get",
|
|
41
|
-
"url": f"/v1/{graph_id}/billing/history/{year}/{month}",
|
|
41
|
+
"url": f"/v1/graphs/{graph_id}/billing/history/{year}/{month}",
|
|
42
42
|
"params": params,
|
|
43
43
|
}
|
|
44
44
|
|
|
@@ -59,26 +59,32 @@ def _parse_response(
|
|
|
59
59
|
)
|
|
60
60
|
|
|
61
61
|
return response_200
|
|
62
|
+
|
|
62
63
|
if response.status_code == 400:
|
|
63
64
|
response_400 = ErrorResponse.from_dict(response.json())
|
|
64
65
|
|
|
65
66
|
return response_400
|
|
67
|
+
|
|
66
68
|
if response.status_code == 403:
|
|
67
69
|
response_403 = ErrorResponse.from_dict(response.json())
|
|
68
70
|
|
|
69
71
|
return response_403
|
|
72
|
+
|
|
70
73
|
if response.status_code == 404:
|
|
71
74
|
response_404 = ErrorResponse.from_dict(response.json())
|
|
72
75
|
|
|
73
76
|
return response_404
|
|
74
|
-
if response.status_code == 500:
|
|
75
|
-
response_500 = ErrorResponse.from_dict(response.json())
|
|
76
77
|
|
|
77
|
-
return response_500
|
|
78
78
|
if response.status_code == 422:
|
|
79
79
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
80
80
|
|
|
81
81
|
return response_422
|
|
82
|
+
|
|
83
|
+
if response.status_code == 500:
|
|
84
|
+
response_500 = ErrorResponse.from_dict(response.json())
|
|
85
|
+
|
|
86
|
+
return response_500
|
|
87
|
+
|
|
82
88
|
if client.raise_on_unexpected_status:
|
|
83
89
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
84
90
|
else:
|
|
@@ -52,7 +52,7 @@ def _get_kwargs(
|
|
|
52
52
|
|
|
53
53
|
_kwargs: dict[str, Any] = {
|
|
54
54
|
"method": "get",
|
|
55
|
-
"url": f"/v1/{graph_id}/billing/usage",
|
|
55
|
+
"url": f"/v1/graphs/{graph_id}/billing/usage",
|
|
56
56
|
"params": params,
|
|
57
57
|
}
|
|
58
58
|
|
|
@@ -73,26 +73,32 @@ def _parse_response(
|
|
|
73
73
|
)
|
|
74
74
|
|
|
75
75
|
return response_200
|
|
76
|
+
|
|
76
77
|
if response.status_code == 400:
|
|
77
78
|
response_400 = ErrorResponse.from_dict(response.json())
|
|
78
79
|
|
|
79
80
|
return response_400
|
|
81
|
+
|
|
80
82
|
if response.status_code == 403:
|
|
81
83
|
response_403 = ErrorResponse.from_dict(response.json())
|
|
82
84
|
|
|
83
85
|
return response_403
|
|
86
|
+
|
|
84
87
|
if response.status_code == 404:
|
|
85
88
|
response_404 = ErrorResponse.from_dict(response.json())
|
|
86
89
|
|
|
87
90
|
return response_404
|
|
88
|
-
if response.status_code == 500:
|
|
89
|
-
response_500 = ErrorResponse.from_dict(response.json())
|
|
90
91
|
|
|
91
|
-
return response_500
|
|
92
92
|
if response.status_code == 422:
|
|
93
93
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
94
94
|
|
|
95
95
|
return response_422
|
|
96
|
+
|
|
97
|
+
if response.status_code == 500:
|
|
98
|
+
response_500 = ErrorResponse.from_dict(response.json())
|
|
99
|
+
|
|
100
|
+
return response_500
|
|
101
|
+
|
|
96
102
|
if client.raise_on_unexpected_status:
|
|
97
103
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
98
104
|
else:
|
|
@@ -47,7 +47,7 @@ def _get_kwargs(
|
|
|
47
47
|
|
|
48
48
|
_kwargs: dict[str, Any] = {
|
|
49
49
|
"method": "get",
|
|
50
|
-
"url": f"/v1/{graph_id}/credits/balance/check",
|
|
50
|
+
"url": f"/v1/graphs/{graph_id}/credits/balance/check",
|
|
51
51
|
"params": params,
|
|
52
52
|
}
|
|
53
53
|
|
|
@@ -68,22 +68,27 @@ def _parse_response(
|
|
|
68
68
|
)
|
|
69
69
|
|
|
70
70
|
return response_200
|
|
71
|
+
|
|
71
72
|
if response.status_code == 403:
|
|
72
73
|
response_403 = ErrorResponse.from_dict(response.json())
|
|
73
74
|
|
|
74
75
|
return response_403
|
|
76
|
+
|
|
75
77
|
if response.status_code == 404:
|
|
76
78
|
response_404 = ErrorResponse.from_dict(response.json())
|
|
77
79
|
|
|
78
80
|
return response_404
|
|
79
|
-
if response.status_code == 500:
|
|
80
|
-
response_500 = ErrorResponse.from_dict(response.json())
|
|
81
81
|
|
|
82
|
-
return response_500
|
|
83
82
|
if response.status_code == 422:
|
|
84
83
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
85
84
|
|
|
86
85
|
return response_422
|
|
86
|
+
|
|
87
|
+
if response.status_code == 500:
|
|
88
|
+
response_500 = ErrorResponse.from_dict(response.json())
|
|
89
|
+
|
|
90
|
+
return response_500
|
|
91
|
+
|
|
87
92
|
if client.raise_on_unexpected_status:
|
|
88
93
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
89
94
|
else:
|
|
@@ -34,7 +34,7 @@ def _get_kwargs(
|
|
|
34
34
|
|
|
35
35
|
_kwargs: dict[str, Any] = {
|
|
36
36
|
"method": "get",
|
|
37
|
-
"url": f"/v1/{graph_id}/credits/storage/limits",
|
|
37
|
+
"url": f"/v1/graphs/{graph_id}/credits/storage/limits",
|
|
38
38
|
"params": params,
|
|
39
39
|
}
|
|
40
40
|
|
|
@@ -49,22 +49,27 @@ def _parse_response(
|
|
|
49
49
|
response_200 = StorageLimitResponse.from_dict(response.json())
|
|
50
50
|
|
|
51
51
|
return response_200
|
|
52
|
+
|
|
52
53
|
if response.status_code == 403:
|
|
53
54
|
response_403 = ErrorResponse.from_dict(response.json())
|
|
54
55
|
|
|
55
56
|
return response_403
|
|
57
|
+
|
|
56
58
|
if response.status_code == 404:
|
|
57
59
|
response_404 = ErrorResponse.from_dict(response.json())
|
|
58
60
|
|
|
59
61
|
return response_404
|
|
60
|
-
if response.status_code == 500:
|
|
61
|
-
response_500 = ErrorResponse.from_dict(response.json())
|
|
62
62
|
|
|
63
|
-
return response_500
|
|
64
63
|
if response.status_code == 422:
|
|
65
64
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
66
65
|
|
|
67
66
|
return response_422
|
|
67
|
+
|
|
68
|
+
if response.status_code == 500:
|
|
69
|
+
response_500 = ErrorResponse.from_dict(response.json())
|
|
70
|
+
|
|
71
|
+
return response_500
|
|
72
|
+
|
|
68
73
|
if client.raise_on_unexpected_status:
|
|
69
74
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
70
75
|
else:
|
|
@@ -34,7 +34,7 @@ def _get_kwargs(
|
|
|
34
34
|
|
|
35
35
|
_kwargs: dict[str, Any] = {
|
|
36
36
|
"method": "get",
|
|
37
|
-
"url": f"/v1/{graph_id}/credits/summary",
|
|
37
|
+
"url": f"/v1/graphs/{graph_id}/credits/summary",
|
|
38
38
|
"params": params,
|
|
39
39
|
}
|
|
40
40
|
|
|
@@ -49,22 +49,27 @@ def _parse_response(
|
|
|
49
49
|
response_200 = CreditSummaryResponse.from_dict(response.json())
|
|
50
50
|
|
|
51
51
|
return response_200
|
|
52
|
+
|
|
52
53
|
if response.status_code == 403:
|
|
53
54
|
response_403 = ErrorResponse.from_dict(response.json())
|
|
54
55
|
|
|
55
56
|
return response_403
|
|
57
|
+
|
|
56
58
|
if response.status_code == 404:
|
|
57
59
|
response_404 = ErrorResponse.from_dict(response.json())
|
|
58
60
|
|
|
59
61
|
return response_404
|
|
60
|
-
if response.status_code == 500:
|
|
61
|
-
response_500 = ErrorResponse.from_dict(response.json())
|
|
62
62
|
|
|
63
|
-
return response_500
|
|
64
63
|
if response.status_code == 422:
|
|
65
64
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
66
65
|
|
|
67
66
|
return response_422
|
|
67
|
+
|
|
68
|
+
if response.status_code == 500:
|
|
69
|
+
response_500 = ErrorResponse.from_dict(response.json())
|
|
70
|
+
|
|
71
|
+
return response_500
|
|
72
|
+
|
|
68
73
|
if client.raise_on_unexpected_status:
|
|
69
74
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
70
75
|
else:
|
|
@@ -39,7 +39,7 @@ def _get_kwargs(
|
|
|
39
39
|
|
|
40
40
|
_kwargs: dict[str, Any] = {
|
|
41
41
|
"method": "get",
|
|
42
|
-
"url": f"/v1/{graph_id}/credits/storage/usage",
|
|
42
|
+
"url": f"/v1/graphs/{graph_id}/credits/storage/usage",
|
|
43
43
|
"params": params,
|
|
44
44
|
}
|
|
45
45
|
|
|
@@ -56,18 +56,22 @@ def _parse_response(
|
|
|
56
56
|
response_200 = GetStorageUsageResponseGetstorageusage.from_dict(response.json())
|
|
57
57
|
|
|
58
58
|
return response_200
|
|
59
|
+
|
|
59
60
|
if response.status_code == 403:
|
|
60
61
|
response_403 = ErrorResponse.from_dict(response.json())
|
|
61
62
|
|
|
62
63
|
return response_403
|
|
63
|
-
if response.status_code == 500:
|
|
64
|
-
response_500 = ErrorResponse.from_dict(response.json())
|
|
65
64
|
|
|
66
|
-
return response_500
|
|
67
65
|
if response.status_code == 422:
|
|
68
66
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
69
67
|
|
|
70
68
|
return response_422
|
|
69
|
+
|
|
70
|
+
if response.status_code == 500:
|
|
71
|
+
response_500 = ErrorResponse.from_dict(response.json())
|
|
72
|
+
|
|
73
|
+
return response_500
|
|
74
|
+
|
|
71
75
|
if client.raise_on_unexpected_status:
|
|
72
76
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
73
77
|
else:
|
|
@@ -72,7 +72,7 @@ def _get_kwargs(
|
|
|
72
72
|
|
|
73
73
|
_kwargs: dict[str, Any] = {
|
|
74
74
|
"method": "get",
|
|
75
|
-
"url": f"/v1/{graph_id}/credits/transactions",
|
|
75
|
+
"url": f"/v1/graphs/{graph_id}/credits/transactions",
|
|
76
76
|
"params": params,
|
|
77
77
|
}
|
|
78
78
|
|
|
@@ -87,22 +87,27 @@ def _parse_response(
|
|
|
87
87
|
response_200 = DetailedTransactionsResponse.from_dict(response.json())
|
|
88
88
|
|
|
89
89
|
return response_200
|
|
90
|
+
|
|
90
91
|
if response.status_code == 400:
|
|
91
92
|
response_400 = ErrorResponse.from_dict(response.json())
|
|
92
93
|
|
|
93
94
|
return response_400
|
|
95
|
+
|
|
94
96
|
if response.status_code == 403:
|
|
95
97
|
response_403 = ErrorResponse.from_dict(response.json())
|
|
96
98
|
|
|
97
99
|
return response_403
|
|
98
|
-
if response.status_code == 500:
|
|
99
|
-
response_500 = ErrorResponse.from_dict(response.json())
|
|
100
100
|
|
|
101
|
-
return response_500
|
|
102
101
|
if response.status_code == 422:
|
|
103
102
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
104
103
|
|
|
105
104
|
return response_422
|
|
105
|
+
|
|
106
|
+
if response.status_code == 500:
|
|
107
|
+
response_500 = ErrorResponse.from_dict(response.json())
|
|
108
|
+
|
|
109
|
+
return response_500
|
|
110
|
+
|
|
106
111
|
if client.raise_on_unexpected_status:
|
|
107
112
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
108
113
|
else:
|
|
@@ -33,7 +33,7 @@ def _get_kwargs(
|
|
|
33
33
|
|
|
34
34
|
_kwargs: dict[str, Any] = {
|
|
35
35
|
"method": "get",
|
|
36
|
-
"url": f"/v1/{graph_id}/health",
|
|
36
|
+
"url": f"/v1/graphs/{graph_id}/health",
|
|
37
37
|
"params": params,
|
|
38
38
|
}
|
|
39
39
|
|
|
@@ -48,19 +48,24 @@ def _parse_response(
|
|
|
48
48
|
response_200 = DatabaseHealthResponse.from_dict(response.json())
|
|
49
49
|
|
|
50
50
|
return response_200
|
|
51
|
+
|
|
51
52
|
if response.status_code == 403:
|
|
52
53
|
response_403 = cast(Any, None)
|
|
53
54
|
return response_403
|
|
55
|
+
|
|
54
56
|
if response.status_code == 404:
|
|
55
57
|
response_404 = cast(Any, None)
|
|
56
58
|
return response_404
|
|
57
|
-
|
|
58
|
-
response_500 = cast(Any, None)
|
|
59
|
-
return response_500
|
|
59
|
+
|
|
60
60
|
if response.status_code == 422:
|
|
61
61
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
62
62
|
|
|
63
63
|
return response_422
|
|
64
|
+
|
|
65
|
+
if response.status_code == 500:
|
|
66
|
+
response_500 = cast(Any, None)
|
|
67
|
+
return response_500
|
|
68
|
+
|
|
64
69
|
if client.raise_on_unexpected_status:
|
|
65
70
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
66
71
|
else:
|
|
@@ -33,7 +33,7 @@ def _get_kwargs(
|
|
|
33
33
|
|
|
34
34
|
_kwargs: dict[str, Any] = {
|
|
35
35
|
"method": "get",
|
|
36
|
-
"url": f"/v1/{graph_id}/info",
|
|
36
|
+
"url": f"/v1/graphs/{graph_id}/info",
|
|
37
37
|
"params": params,
|
|
38
38
|
}
|
|
39
39
|
|
|
@@ -48,19 +48,24 @@ def _parse_response(
|
|
|
48
48
|
response_200 = DatabaseInfoResponse.from_dict(response.json())
|
|
49
49
|
|
|
50
50
|
return response_200
|
|
51
|
+
|
|
51
52
|
if response.status_code == 403:
|
|
52
53
|
response_403 = cast(Any, None)
|
|
53
54
|
return response_403
|
|
55
|
+
|
|
54
56
|
if response.status_code == 404:
|
|
55
57
|
response_404 = cast(Any, None)
|
|
56
58
|
return response_404
|
|
57
|
-
|
|
58
|
-
response_500 = cast(Any, None)
|
|
59
|
-
return response_500
|
|
59
|
+
|
|
60
60
|
if response.status_code == 422:
|
|
61
61
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
62
62
|
|
|
63
63
|
return response_422
|
|
64
|
+
|
|
65
|
+
if response.status_code == 500:
|
|
66
|
+
response_500 = cast(Any, None)
|
|
67
|
+
return response_500
|
|
68
|
+
|
|
64
69
|
if client.raise_on_unexpected_status:
|
|
65
70
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
66
71
|
else:
|