robosystems-client 0.1.19__py3-none-any.whl → 0.2.1__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 +9 -3
- robosystems_client/api/agent/batch_process_queries.py +8 -3
- robosystems_client/api/agent/execute_specific_agent.py +10 -3
- robosystems_client/api/agent/get_agent_metadata.py +3 -0
- robosystems_client/api/agent/list_agents.py +3 -0
- robosystems_client/api/agent/recommend_agent.py +3 -0
- 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 +13 -7
- robosystems_client/api/backup/get_backup_download_url.py +8 -3
- robosystems_client/api/backup/get_backup_stats.py +2 -0
- robosystems_client/api/backup/list_backups.py +6 -4
- robosystems_client/api/backup/restore_backup.py +27 -8
- robosystems_client/api/connections/create_connection.py +13 -7
- robosystems_client/api/connections/create_link_token.py +8 -3
- robosystems_client/api/connections/delete_connection.py +12 -7
- robosystems_client/api/connections/exchange_link_token.py +8 -3
- robosystems_client/api/connections/get_connection.py +8 -3
- robosystems_client/api/connections/get_connection_options.py +7 -3
- robosystems_client/api/connections/init_o_auth.py +2 -0
- robosystems_client/api/connections/list_connections.py +7 -3
- robosystems_client/api/connections/oauth_callback.py +9 -3
- robosystems_client/api/connections/sync_connection.py +12 -7
- robosystems_client/api/graph_analytics/get_graph_metrics.py +12 -7
- robosystems_client/api/graph_analytics/get_graph_usage_stats.py +11 -7
- robosystems_client/api/graph_billing/get_current_graph_bill.py +8 -3
- robosystems_client/api/graph_billing/get_graph_billing_history.py +8 -3
- robosystems_client/api/graph_billing/get_graph_monthly_bill.py +9 -3
- robosystems_client/api/graph_billing/get_graph_usage_details.py +9 -3
- robosystems_client/api/graph_credits/check_credit_balance.py +8 -3
- robosystems_client/api/graph_credits/check_storage_limits.py +8 -3
- robosystems_client/api/graph_credits/get_credit_summary.py +8 -3
- robosystems_client/api/graph_credits/get_storage_usage.py +7 -3
- robosystems_client/api/graph_credits/list_credit_transactions.py +8 -3
- robosystems_client/api/graph_health/get_database_health.py +8 -3
- robosystems_client/api/graph_info/get_database_info.py +8 -3
- robosystems_client/api/graph_limits/get_graph_limits.py +8 -3
- robosystems_client/api/graphs/create_graph.py +6 -4
- robosystems_client/api/graphs/get_available_extensions.py +1 -0
- robosystems_client/api/graphs/get_graphs.py +2 -0
- robosystems_client/api/graphs/select_graph.py +8 -3
- robosystems_client/api/mcp/call_mcp_tool.py +17 -7
- robosystems_client/api/mcp/list_mcp_tools.py +11 -7
- 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 +48 -15
- robosystems_client/api/schema/export_graph_schema.py +2 -0
- robosystems_client/api/schema/{get_graph_schema_info.py → get_graph_schema.py} +37 -47
- robosystems_client/api/schema/validate_schema.py +9 -4
- 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 +2 -0
- robosystems_client/api/subgraphs/delete_subgraph.py +14 -6
- robosystems_client/api/subgraphs/get_subgraph_info.py +13 -6
- robosystems_client/api/subgraphs/get_subgraph_quota.py +9 -3
- robosystems_client/api/subgraphs/list_subgraphs.py +2 -0
- 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 -29
- 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_graph_request.py +4 -3
- robosystems_client/models/delete_file_v1_graphs_graph_id_tables_files_file_id_delete_response_delete_file_v1_graphs_graph_id_tables_files_file_id_delete.py +47 -0
- 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.19.dist-info → robosystems_client-0.2.1.dist-info}/METADATA +25 -12
- {robosystems_client-0.1.19.dist-info → robosystems_client-0.2.1.dist-info}/RECORD +129 -122
- 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 → tables}/__init__.py +0 -0
- {robosystems_client-0.1.19.dist-info → robosystems_client-0.2.1.dist-info}/WHEEL +0 -0
- {robosystems_client-0.1.19.dist-info → robosystems_client-0.2.1.dist-info}/licenses/LICENSE +0 -0
|
@@ -13,6 +13,7 @@ from ...types import UNSET, Response, Unset
|
|
|
13
13
|
|
|
14
14
|
def _get_kwargs(
|
|
15
15
|
graph_id: str,
|
|
16
|
+
backup_id: str,
|
|
16
17
|
*,
|
|
17
18
|
body: BackupRestoreRequest,
|
|
18
19
|
token: Union[None, Unset, str] = UNSET,
|
|
@@ -35,7 +36,7 @@ def _get_kwargs(
|
|
|
35
36
|
|
|
36
37
|
_kwargs: dict[str, Any] = {
|
|
37
38
|
"method": "post",
|
|
38
|
-
"url": f"/v1/graphs/{graph_id}/backups/restore",
|
|
39
|
+
"url": f"/v1/graphs/{graph_id}/backups/{backup_id}/restore",
|
|
39
40
|
"params": params,
|
|
40
41
|
}
|
|
41
42
|
|
|
@@ -53,26 +54,32 @@ def _parse_response(
|
|
|
53
54
|
if response.status_code == 202:
|
|
54
55
|
response_202 = response.json()
|
|
55
56
|
return response_202
|
|
57
|
+
|
|
56
58
|
if response.status_code == 400:
|
|
57
59
|
response_400 = ErrorResponse.from_dict(response.json())
|
|
58
60
|
|
|
59
61
|
return response_400
|
|
62
|
+
|
|
60
63
|
if response.status_code == 403:
|
|
61
64
|
response_403 = ErrorResponse.from_dict(response.json())
|
|
62
65
|
|
|
63
66
|
return response_403
|
|
67
|
+
|
|
64
68
|
if response.status_code == 404:
|
|
65
69
|
response_404 = ErrorResponse.from_dict(response.json())
|
|
66
70
|
|
|
67
71
|
return response_404
|
|
68
|
-
if response.status_code == 500:
|
|
69
|
-
response_500 = ErrorResponse.from_dict(response.json())
|
|
70
72
|
|
|
71
|
-
return response_500
|
|
72
73
|
if response.status_code == 422:
|
|
73
74
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
74
75
|
|
|
75
76
|
return response_422
|
|
77
|
+
|
|
78
|
+
if response.status_code == 500:
|
|
79
|
+
response_500 = ErrorResponse.from_dict(response.json())
|
|
80
|
+
|
|
81
|
+
return response_500
|
|
82
|
+
|
|
76
83
|
if client.raise_on_unexpected_status:
|
|
77
84
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
78
85
|
else:
|
|
@@ -92,6 +99,7 @@ def _build_response(
|
|
|
92
99
|
|
|
93
100
|
def sync_detailed(
|
|
94
101
|
graph_id: str,
|
|
102
|
+
backup_id: str,
|
|
95
103
|
*,
|
|
96
104
|
client: AuthenticatedClient,
|
|
97
105
|
body: BackupRestoreRequest,
|
|
@@ -102,7 +110,7 @@ def sync_detailed(
|
|
|
102
110
|
|
|
103
111
|
Restore a graph database from an encrypted backup.
|
|
104
112
|
|
|
105
|
-
Restores a complete
|
|
113
|
+
Restores a complete graph database from an encrypted backup:
|
|
106
114
|
- **Format**: Only full_dump backups can be restored
|
|
107
115
|
- **Encryption**: Only encrypted backups can be restored (security requirement)
|
|
108
116
|
- **System Backup**: Creates automatic backup of existing database before restore
|
|
@@ -145,6 +153,7 @@ def sync_detailed(
|
|
|
145
153
|
|
|
146
154
|
Args:
|
|
147
155
|
graph_id (str): Graph database identifier
|
|
156
|
+
backup_id (str): Backup identifier
|
|
148
157
|
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
149
158
|
authorization (Union[None, Unset, str]):
|
|
150
159
|
body (BackupRestoreRequest): Request model for restoring from a backup.
|
|
@@ -159,6 +168,7 @@ def sync_detailed(
|
|
|
159
168
|
|
|
160
169
|
kwargs = _get_kwargs(
|
|
161
170
|
graph_id=graph_id,
|
|
171
|
+
backup_id=backup_id,
|
|
162
172
|
body=body,
|
|
163
173
|
token=token,
|
|
164
174
|
authorization=authorization,
|
|
@@ -173,6 +183,7 @@ def sync_detailed(
|
|
|
173
183
|
|
|
174
184
|
def sync(
|
|
175
185
|
graph_id: str,
|
|
186
|
+
backup_id: str,
|
|
176
187
|
*,
|
|
177
188
|
client: AuthenticatedClient,
|
|
178
189
|
body: BackupRestoreRequest,
|
|
@@ -183,7 +194,7 @@ def sync(
|
|
|
183
194
|
|
|
184
195
|
Restore a graph database from an encrypted backup.
|
|
185
196
|
|
|
186
|
-
Restores a complete
|
|
197
|
+
Restores a complete graph database from an encrypted backup:
|
|
187
198
|
- **Format**: Only full_dump backups can be restored
|
|
188
199
|
- **Encryption**: Only encrypted backups can be restored (security requirement)
|
|
189
200
|
- **System Backup**: Creates automatic backup of existing database before restore
|
|
@@ -226,6 +237,7 @@ def sync(
|
|
|
226
237
|
|
|
227
238
|
Args:
|
|
228
239
|
graph_id (str): Graph database identifier
|
|
240
|
+
backup_id (str): Backup identifier
|
|
229
241
|
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
230
242
|
authorization (Union[None, Unset, str]):
|
|
231
243
|
body (BackupRestoreRequest): Request model for restoring from a backup.
|
|
@@ -240,6 +252,7 @@ def sync(
|
|
|
240
252
|
|
|
241
253
|
return sync_detailed(
|
|
242
254
|
graph_id=graph_id,
|
|
255
|
+
backup_id=backup_id,
|
|
243
256
|
client=client,
|
|
244
257
|
body=body,
|
|
245
258
|
token=token,
|
|
@@ -249,6 +262,7 @@ def sync(
|
|
|
249
262
|
|
|
250
263
|
async def asyncio_detailed(
|
|
251
264
|
graph_id: str,
|
|
265
|
+
backup_id: str,
|
|
252
266
|
*,
|
|
253
267
|
client: AuthenticatedClient,
|
|
254
268
|
body: BackupRestoreRequest,
|
|
@@ -259,7 +273,7 @@ async def asyncio_detailed(
|
|
|
259
273
|
|
|
260
274
|
Restore a graph database from an encrypted backup.
|
|
261
275
|
|
|
262
|
-
Restores a complete
|
|
276
|
+
Restores a complete graph database from an encrypted backup:
|
|
263
277
|
- **Format**: Only full_dump backups can be restored
|
|
264
278
|
- **Encryption**: Only encrypted backups can be restored (security requirement)
|
|
265
279
|
- **System Backup**: Creates automatic backup of existing database before restore
|
|
@@ -302,6 +316,7 @@ async def asyncio_detailed(
|
|
|
302
316
|
|
|
303
317
|
Args:
|
|
304
318
|
graph_id (str): Graph database identifier
|
|
319
|
+
backup_id (str): Backup identifier
|
|
305
320
|
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
306
321
|
authorization (Union[None, Unset, str]):
|
|
307
322
|
body (BackupRestoreRequest): Request model for restoring from a backup.
|
|
@@ -316,6 +331,7 @@ async def asyncio_detailed(
|
|
|
316
331
|
|
|
317
332
|
kwargs = _get_kwargs(
|
|
318
333
|
graph_id=graph_id,
|
|
334
|
+
backup_id=backup_id,
|
|
319
335
|
body=body,
|
|
320
336
|
token=token,
|
|
321
337
|
authorization=authorization,
|
|
@@ -328,6 +344,7 @@ async def asyncio_detailed(
|
|
|
328
344
|
|
|
329
345
|
async def asyncio(
|
|
330
346
|
graph_id: str,
|
|
347
|
+
backup_id: str,
|
|
331
348
|
*,
|
|
332
349
|
client: AuthenticatedClient,
|
|
333
350
|
body: BackupRestoreRequest,
|
|
@@ -338,7 +355,7 @@ async def asyncio(
|
|
|
338
355
|
|
|
339
356
|
Restore a graph database from an encrypted backup.
|
|
340
357
|
|
|
341
|
-
Restores a complete
|
|
358
|
+
Restores a complete graph database from an encrypted backup:
|
|
342
359
|
- **Format**: Only full_dump backups can be restored
|
|
343
360
|
- **Encryption**: Only encrypted backups can be restored (security requirement)
|
|
344
361
|
- **System Backup**: Creates automatic backup of existing database before restore
|
|
@@ -381,6 +398,7 @@ async def asyncio(
|
|
|
381
398
|
|
|
382
399
|
Args:
|
|
383
400
|
graph_id (str): Graph database identifier
|
|
401
|
+
backup_id (str): Backup identifier
|
|
384
402
|
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
385
403
|
authorization (Union[None, Unset, str]):
|
|
386
404
|
body (BackupRestoreRequest): Request model for restoring from a backup.
|
|
@@ -396,6 +414,7 @@ async def asyncio(
|
|
|
396
414
|
return (
|
|
397
415
|
await asyncio_detailed(
|
|
398
416
|
graph_id=graph_id,
|
|
417
|
+
backup_id=backup_id,
|
|
399
418
|
client=client,
|
|
400
419
|
body=body,
|
|
401
420
|
token=token,
|
|
@@ -55,26 +55,32 @@ def _parse_response(
|
|
|
55
55
|
response_201 = ConnectionResponse.from_dict(response.json())
|
|
56
56
|
|
|
57
57
|
return response_201
|
|
58
|
+
|
|
58
59
|
if response.status_code == 400:
|
|
59
60
|
response_400 = ErrorResponse.from_dict(response.json())
|
|
60
61
|
|
|
61
62
|
return response_400
|
|
63
|
+
|
|
62
64
|
if response.status_code == 403:
|
|
63
65
|
response_403 = ErrorResponse.from_dict(response.json())
|
|
64
66
|
|
|
65
67
|
return response_403
|
|
68
|
+
|
|
66
69
|
if response.status_code == 409:
|
|
67
70
|
response_409 = ErrorResponse.from_dict(response.json())
|
|
68
71
|
|
|
69
72
|
return response_409
|
|
70
|
-
if response.status_code == 500:
|
|
71
|
-
response_500 = ErrorResponse.from_dict(response.json())
|
|
72
73
|
|
|
73
|
-
return response_500
|
|
74
74
|
if response.status_code == 422:
|
|
75
75
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
76
76
|
|
|
77
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
|
+
|
|
78
84
|
if client.raise_on_unexpected_status:
|
|
79
85
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
80
86
|
else:
|
|
@@ -122,7 +128,7 @@ def sync_detailed(
|
|
|
122
128
|
- Exchange public token for access
|
|
123
129
|
|
|
124
130
|
Note:
|
|
125
|
-
This operation is
|
|
131
|
+
This operation is included - no credit consumption required.
|
|
126
132
|
|
|
127
133
|
Args:
|
|
128
134
|
graph_id (str): Graph database identifier
|
|
@@ -182,7 +188,7 @@ def sync(
|
|
|
182
188
|
- Exchange public token for access
|
|
183
189
|
|
|
184
190
|
Note:
|
|
185
|
-
This operation is
|
|
191
|
+
This operation is included - no credit consumption required.
|
|
186
192
|
|
|
187
193
|
Args:
|
|
188
194
|
graph_id (str): Graph database identifier
|
|
@@ -237,7 +243,7 @@ async def asyncio_detailed(
|
|
|
237
243
|
- Exchange public token for access
|
|
238
244
|
|
|
239
245
|
Note:
|
|
240
|
-
This operation is
|
|
246
|
+
This operation is included - no credit consumption required.
|
|
241
247
|
|
|
242
248
|
Args:
|
|
243
249
|
graph_id (str): Graph database identifier
|
|
@@ -295,7 +301,7 @@ async def asyncio(
|
|
|
295
301
|
- Exchange public token for access
|
|
296
302
|
|
|
297
303
|
Note:
|
|
298
|
-
This operation is
|
|
304
|
+
This operation is included - no credit consumption required.
|
|
299
305
|
|
|
300
306
|
Args:
|
|
301
307
|
graph_id (str): Graph database identifier
|
|
@@ -53,22 +53,27 @@ def _parse_response(
|
|
|
53
53
|
if response.status_code == 200:
|
|
54
54
|
response_200 = response.json()
|
|
55
55
|
return response_200
|
|
56
|
+
|
|
56
57
|
if response.status_code == 400:
|
|
57
58
|
response_400 = ErrorResponse.from_dict(response.json())
|
|
58
59
|
|
|
59
60
|
return response_400
|
|
61
|
+
|
|
60
62
|
if response.status_code == 404:
|
|
61
63
|
response_404 = ErrorResponse.from_dict(response.json())
|
|
62
64
|
|
|
63
65
|
return response_404
|
|
64
|
-
if response.status_code == 500:
|
|
65
|
-
response_500 = ErrorResponse.from_dict(response.json())
|
|
66
66
|
|
|
67
|
-
return response_500
|
|
68
67
|
if response.status_code == 422:
|
|
69
68
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
70
69
|
|
|
71
70
|
return response_422
|
|
71
|
+
|
|
72
|
+
if response.status_code == 500:
|
|
73
|
+
response_500 = ErrorResponse.from_dict(response.json())
|
|
74
|
+
|
|
75
|
+
return response_500
|
|
76
|
+
|
|
72
77
|
if client.raise_on_unexpected_status:
|
|
73
78
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
74
79
|
else:
|
|
@@ -50,22 +50,27 @@ def _parse_response(
|
|
|
50
50
|
response_200 = SuccessResponse.from_dict(response.json())
|
|
51
51
|
|
|
52
52
|
return response_200
|
|
53
|
+
|
|
53
54
|
if response.status_code == 403:
|
|
54
55
|
response_403 = ErrorResponse.from_dict(response.json())
|
|
55
56
|
|
|
56
57
|
return response_403
|
|
58
|
+
|
|
57
59
|
if response.status_code == 404:
|
|
58
60
|
response_404 = ErrorResponse.from_dict(response.json())
|
|
59
61
|
|
|
60
62
|
return response_404
|
|
61
|
-
if response.status_code == 500:
|
|
62
|
-
response_500 = ErrorResponse.from_dict(response.json())
|
|
63
63
|
|
|
64
|
-
return response_500
|
|
65
64
|
if response.status_code == 422:
|
|
66
65
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
67
66
|
|
|
68
67
|
return response_422
|
|
68
|
+
|
|
69
|
+
if response.status_code == 500:
|
|
70
|
+
response_500 = ErrorResponse.from_dict(response.json())
|
|
71
|
+
|
|
72
|
+
return response_500
|
|
73
|
+
|
|
69
74
|
if client.raise_on_unexpected_status:
|
|
70
75
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
71
76
|
else:
|
|
@@ -102,7 +107,7 @@ def sync_detailed(
|
|
|
102
107
|
- Revokes stored credentials
|
|
103
108
|
|
|
104
109
|
Note:
|
|
105
|
-
This operation is
|
|
110
|
+
This operation is included - no credit consumption required.
|
|
106
111
|
|
|
107
112
|
Only users with admin role can delete connections.
|
|
108
113
|
|
|
@@ -153,7 +158,7 @@ def sync(
|
|
|
153
158
|
- Revokes stored credentials
|
|
154
159
|
|
|
155
160
|
Note:
|
|
156
|
-
This operation is
|
|
161
|
+
This operation is included - no credit consumption required.
|
|
157
162
|
|
|
158
163
|
Only users with admin role can delete connections.
|
|
159
164
|
|
|
@@ -199,7 +204,7 @@ async def asyncio_detailed(
|
|
|
199
204
|
- Revokes stored credentials
|
|
200
205
|
|
|
201
206
|
Note:
|
|
202
|
-
This operation is
|
|
207
|
+
This operation is included - no credit consumption required.
|
|
203
208
|
|
|
204
209
|
Only users with admin role can delete connections.
|
|
205
210
|
|
|
@@ -248,7 +253,7 @@ async def asyncio(
|
|
|
248
253
|
- Revokes stored credentials
|
|
249
254
|
|
|
250
255
|
Note:
|
|
251
|
-
This operation is
|
|
256
|
+
This operation is included - no credit consumption required.
|
|
252
257
|
|
|
253
258
|
Only users with admin role can delete connections.
|
|
254
259
|
|
|
@@ -53,22 +53,27 @@ def _parse_response(
|
|
|
53
53
|
if response.status_code == 200:
|
|
54
54
|
response_200 = response.json()
|
|
55
55
|
return response_200
|
|
56
|
+
|
|
56
57
|
if response.status_code == 400:
|
|
57
58
|
response_400 = ErrorResponse.from_dict(response.json())
|
|
58
59
|
|
|
59
60
|
return response_400
|
|
61
|
+
|
|
60
62
|
if response.status_code == 404:
|
|
61
63
|
response_404 = ErrorResponse.from_dict(response.json())
|
|
62
64
|
|
|
63
65
|
return response_404
|
|
64
|
-
if response.status_code == 500:
|
|
65
|
-
response_500 = ErrorResponse.from_dict(response.json())
|
|
66
66
|
|
|
67
|
-
return response_500
|
|
68
67
|
if response.status_code == 422:
|
|
69
68
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
70
69
|
|
|
71
70
|
return response_422
|
|
71
|
+
|
|
72
|
+
if response.status_code == 500:
|
|
73
|
+
response_500 = ErrorResponse.from_dict(response.json())
|
|
74
|
+
|
|
75
|
+
return response_500
|
|
76
|
+
|
|
72
77
|
if client.raise_on_unexpected_status:
|
|
73
78
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
74
79
|
else:
|
|
@@ -50,22 +50,27 @@ def _parse_response(
|
|
|
50
50
|
response_200 = ConnectionResponse.from_dict(response.json())
|
|
51
51
|
|
|
52
52
|
return response_200
|
|
53
|
+
|
|
53
54
|
if response.status_code == 403:
|
|
54
55
|
response_403 = ErrorResponse.from_dict(response.json())
|
|
55
56
|
|
|
56
57
|
return response_403
|
|
58
|
+
|
|
57
59
|
if response.status_code == 404:
|
|
58
60
|
response_404 = ErrorResponse.from_dict(response.json())
|
|
59
61
|
|
|
60
62
|
return response_404
|
|
61
|
-
if response.status_code == 500:
|
|
62
|
-
response_500 = ErrorResponse.from_dict(response.json())
|
|
63
63
|
|
|
64
|
-
return response_500
|
|
65
64
|
if response.status_code == 422:
|
|
66
65
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
67
66
|
|
|
68
67
|
return response_422
|
|
68
|
+
|
|
69
|
+
if response.status_code == 500:
|
|
70
|
+
response_500 = ErrorResponse.from_dict(response.json())
|
|
71
|
+
|
|
72
|
+
return response_500
|
|
73
|
+
|
|
69
74
|
if client.raise_on_unexpected_status:
|
|
70
75
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
71
76
|
else:
|
|
@@ -49,18 +49,22 @@ def _parse_response(
|
|
|
49
49
|
response_200 = ConnectionOptionsResponse.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
|
|
56
|
-
if response.status_code == 500:
|
|
57
|
-
response_500 = ErrorResponse.from_dict(response.json())
|
|
58
57
|
|
|
59
|
-
return response_500
|
|
60
58
|
if response.status_code == 422:
|
|
61
59
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
62
60
|
|
|
63
61
|
return response_422
|
|
62
|
+
|
|
63
|
+
if response.status_code == 500:
|
|
64
|
+
response_500 = ErrorResponse.from_dict(response.json())
|
|
65
|
+
|
|
66
|
+
return response_500
|
|
67
|
+
|
|
64
68
|
if client.raise_on_unexpected_status:
|
|
65
69
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
66
70
|
else:
|
|
@@ -54,10 +54,12 @@ def _parse_response(
|
|
|
54
54
|
response_200 = OAuthInitResponse.from_dict(response.json())
|
|
55
55
|
|
|
56
56
|
return response_200
|
|
57
|
+
|
|
57
58
|
if response.status_code == 422:
|
|
58
59
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
59
60
|
|
|
60
61
|
return response_422
|
|
62
|
+
|
|
61
63
|
if client.raise_on_unexpected_status:
|
|
62
64
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
63
65
|
else:
|
|
@@ -73,18 +73,22 @@ def _parse_response(
|
|
|
73
73
|
response_200.append(response_200_item)
|
|
74
74
|
|
|
75
75
|
return response_200
|
|
76
|
+
|
|
76
77
|
if response.status_code == 403:
|
|
77
78
|
response_403 = ErrorResponse.from_dict(response.json())
|
|
78
79
|
|
|
79
80
|
return response_403
|
|
80
|
-
if response.status_code == 500:
|
|
81
|
-
response_500 = ErrorResponse.from_dict(response.json())
|
|
82
81
|
|
|
83
|
-
return response_500
|
|
84
82
|
if response.status_code == 422:
|
|
85
83
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
86
84
|
|
|
87
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
|
+
|
|
88
92
|
if client.raise_on_unexpected_status:
|
|
89
93
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
90
94
|
else:
|
|
@@ -54,26 +54,32 @@ def _parse_response(
|
|
|
54
54
|
if response.status_code == 200:
|
|
55
55
|
response_200 = response.json()
|
|
56
56
|
return response_200
|
|
57
|
+
|
|
57
58
|
if response.status_code == 400:
|
|
58
59
|
response_400 = ErrorResponse.from_dict(response.json())
|
|
59
60
|
|
|
60
61
|
return response_400
|
|
62
|
+
|
|
61
63
|
if response.status_code == 403:
|
|
62
64
|
response_403 = ErrorResponse.from_dict(response.json())
|
|
63
65
|
|
|
64
66
|
return response_403
|
|
67
|
+
|
|
65
68
|
if response.status_code == 404:
|
|
66
69
|
response_404 = ErrorResponse.from_dict(response.json())
|
|
67
70
|
|
|
68
71
|
return response_404
|
|
69
|
-
if response.status_code == 500:
|
|
70
|
-
response_500 = ErrorResponse.from_dict(response.json())
|
|
71
72
|
|
|
72
|
-
return response_500
|
|
73
73
|
if response.status_code == 422:
|
|
74
74
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
75
75
|
|
|
76
76
|
return response_422
|
|
77
|
+
|
|
78
|
+
if response.status_code == 500:
|
|
79
|
+
response_500 = ErrorResponse.from_dict(response.json())
|
|
80
|
+
|
|
81
|
+
return response_500
|
|
82
|
+
|
|
77
83
|
if client.raise_on_unexpected_status:
|
|
78
84
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
79
85
|
else:
|
|
@@ -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
|
|
|
@@ -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
|