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.

Files changed (145) hide show
  1. robosystems_client/api/agent/auto_select_agent.py +10 -4
  2. robosystems_client/api/agent/batch_process_queries.py +9 -4
  3. robosystems_client/api/agent/execute_specific_agent.py +11 -4
  4. robosystems_client/api/agent/get_agent_metadata.py +4 -1
  5. robosystems_client/api/agent/list_agents.py +4 -1
  6. robosystems_client/api/agent/recommend_agent.py +4 -1
  7. robosystems_client/api/auth/check_password_strength.py +2 -0
  8. robosystems_client/api/auth/complete_sso_auth.py +3 -0
  9. robosystems_client/api/auth/forgot_password.py +6 -3
  10. robosystems_client/api/auth/generate_sso_token.py +3 -0
  11. robosystems_client/api/auth/get_captcha_config.py +1 -0
  12. robosystems_client/api/auth/get_current_auth_user.py +3 -0
  13. robosystems_client/api/auth/get_password_policy.py +1 -0
  14. robosystems_client/api/auth/login_user.py +7 -3
  15. robosystems_client/api/auth/logout_user.py +2 -0
  16. robosystems_client/api/auth/refresh_auth_session.py +3 -0
  17. robosystems_client/api/auth/register_user.py +11 -6
  18. robosystems_client/api/auth/resend_verification_email.py +8 -3
  19. robosystems_client/api/auth/reset_password.py +3 -0
  20. robosystems_client/api/auth/sso_token_exchange.py +7 -3
  21. robosystems_client/api/auth/validate_reset_token.py +2 -0
  22. robosystems_client/api/auth/verify_email.py +3 -0
  23. robosystems_client/api/backup/create_backup.py +14 -8
  24. robosystems_client/api/backup/get_backup_download_url.py +9 -4
  25. robosystems_client/api/backup/get_backup_stats.py +3 -1
  26. robosystems_client/api/backup/list_backups.py +7 -5
  27. robosystems_client/api/backup/restore_backup.py +27 -8
  28. robosystems_client/api/connections/create_connection.py +14 -8
  29. robosystems_client/api/connections/create_link_token.py +9 -4
  30. robosystems_client/api/connections/delete_connection.py +13 -8
  31. robosystems_client/api/connections/exchange_link_token.py +9 -4
  32. robosystems_client/api/connections/get_connection.py +9 -4
  33. robosystems_client/api/connections/get_connection_options.py +8 -4
  34. robosystems_client/api/connections/init_o_auth.py +3 -1
  35. robosystems_client/api/connections/list_connections.py +8 -4
  36. robosystems_client/api/connections/oauth_callback.py +10 -4
  37. robosystems_client/api/connections/sync_connection.py +13 -8
  38. robosystems_client/api/graph_analytics/get_graph_metrics.py +13 -8
  39. robosystems_client/api/graph_analytics/get_graph_usage_stats.py +12 -8
  40. robosystems_client/api/graph_billing/get_current_graph_bill.py +9 -4
  41. robosystems_client/api/graph_billing/get_graph_billing_history.py +9 -4
  42. robosystems_client/api/graph_billing/get_graph_monthly_bill.py +10 -4
  43. robosystems_client/api/graph_billing/get_graph_usage_details.py +10 -4
  44. robosystems_client/api/graph_credits/check_credit_balance.py +9 -4
  45. robosystems_client/api/graph_credits/check_storage_limits.py +9 -4
  46. robosystems_client/api/graph_credits/get_credit_summary.py +9 -4
  47. robosystems_client/api/graph_credits/get_storage_usage.py +8 -4
  48. robosystems_client/api/graph_credits/list_credit_transactions.py +9 -4
  49. robosystems_client/api/graph_health/get_database_health.py +9 -4
  50. robosystems_client/api/graph_info/get_database_info.py +9 -4
  51. robosystems_client/api/graph_limits/get_graph_limits.py +9 -4
  52. robosystems_client/api/{create → graphs}/create_graph.py +7 -5
  53. robosystems_client/api/{create → graphs}/get_available_extensions.py +2 -1
  54. robosystems_client/api/{user/get_user_graphs.py → graphs/get_graphs.py} +3 -1
  55. robosystems_client/api/{user/select_user_graph.py → graphs/select_graph.py} +13 -8
  56. robosystems_client/api/mcp/call_mcp_tool.py +18 -8
  57. robosystems_client/api/mcp/list_mcp_tools.py +12 -8
  58. robosystems_client/api/operations/cancel_operation.py +9 -3
  59. robosystems_client/api/operations/get_operation_status.py +8 -3
  60. robosystems_client/api/operations/stream_operation_events.py +8 -3
  61. robosystems_client/api/query/execute_cypher_query.py +49 -16
  62. robosystems_client/api/schema/export_graph_schema.py +3 -1
  63. robosystems_client/api/schema/{get_graph_schema_info.py → get_graph_schema.py} +37 -47
  64. robosystems_client/api/schema/validate_schema.py +10 -5
  65. robosystems_client/api/service_offerings/get_service_offerings.py +2 -0
  66. robosystems_client/api/status/get_service_status.py +1 -0
  67. robosystems_client/api/subgraphs/create_subgraph.py +3 -1
  68. robosystems_client/api/subgraphs/delete_subgraph.py +15 -7
  69. robosystems_client/api/subgraphs/get_subgraph_info.py +14 -7
  70. robosystems_client/api/subgraphs/get_subgraph_quota.py +10 -4
  71. robosystems_client/api/subgraphs/list_subgraphs.py +3 -1
  72. robosystems_client/api/tables/delete_file_v1_graphs_graph_id_tables_files_file_id_delete.py +287 -0
  73. robosystems_client/api/tables/get_file_info_v1_graphs_graph_id_tables_files_file_id_get.py +283 -0
  74. robosystems_client/api/tables/get_upload_url_v1_graphs_graph_id_tables_table_name_files_post.py +260 -0
  75. robosystems_client/api/tables/ingest_tables_v1_graphs_graph_id_tables_ingest_post.py +251 -0
  76. robosystems_client/api/tables/list_table_files_v1_graphs_graph_id_tables_table_name_files_get.py +283 -0
  77. robosystems_client/api/{backup/export_backup.py → tables/list_tables_v1_graphs_graph_id_tables_get.py} +36 -36
  78. robosystems_client/api/{schema/list_schema_extensions.py → tables/query_tables_v1_graphs_graph_id_tables_query_post.py} +67 -43
  79. robosystems_client/api/tables/update_file_v1_graphs_graph_id_tables_files_file_id_patch.py +306 -0
  80. robosystems_client/api/user/create_user_api_key.py +2 -0
  81. robosystems_client/api/user/get_all_credit_summaries.py +6 -3
  82. robosystems_client/api/user/get_current_user.py +2 -0
  83. robosystems_client/api/user/list_user_api_keys.py +2 -0
  84. robosystems_client/api/user/revoke_user_api_key.py +7 -3
  85. robosystems_client/api/user/update_user.py +2 -0
  86. robosystems_client/api/user/update_user_api_key.py +2 -0
  87. robosystems_client/api/user/update_user_password.py +8 -3
  88. robosystems_client/api/user_analytics/get_detailed_user_analytics.py +2 -0
  89. robosystems_client/api/user_analytics/get_user_usage_overview.py +2 -0
  90. robosystems_client/api/user_limits/get_all_shared_repository_limits.py +2 -0
  91. robosystems_client/api/user_limits/get_shared_repository_limits.py +6 -4
  92. robosystems_client/api/user_limits/get_user_limits.py +3 -0
  93. robosystems_client/api/user_limits/get_user_usage.py +2 -0
  94. robosystems_client/api/user_subscriptions/cancel_shared_repository_subscription.py +11 -6
  95. robosystems_client/api/user_subscriptions/get_repository_credits.py +7 -3
  96. robosystems_client/api/user_subscriptions/get_shared_repository_credits.py +7 -3
  97. robosystems_client/api/user_subscriptions/get_user_shared_subscriptions.py +7 -3
  98. robosystems_client/api/user_subscriptions/subscribe_to_shared_repository.py +8 -3
  99. robosystems_client/api/user_subscriptions/upgrade_shared_repository_subscription.py +12 -6
  100. robosystems_client/extensions/README.md +1 -212
  101. robosystems_client/extensions/__init__.py +12 -28
  102. robosystems_client/extensions/extensions.py +3 -17
  103. robosystems_client/extensions/operation_client.py +12 -4
  104. robosystems_client/extensions/query_client.py +38 -24
  105. robosystems_client/extensions/sse_client.py +11 -0
  106. robosystems_client/extensions/table_ingest_client.py +466 -0
  107. robosystems_client/models/__init__.py +39 -31
  108. robosystems_client/models/api_key_info.py +20 -0
  109. robosystems_client/models/backup_restore_request.py +1 -12
  110. robosystems_client/models/bulk_ingest_request.py +50 -0
  111. robosystems_client/models/bulk_ingest_response.py +137 -0
  112. robosystems_client/models/create_api_key_request.py +20 -0
  113. robosystems_client/models/create_graph_request.py +4 -3
  114. 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
  115. robosystems_client/models/file_update_request.py +62 -0
  116. robosystems_client/models/file_upload_request.py +51 -0
  117. robosystems_client/models/file_upload_response.py +83 -0
  118. 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
  119. robosystems_client/models/{copy_response_error_details_type_0.py → get_graph_schema_response_getgraphschema.py} +5 -5
  120. 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
  121. robosystems_client/models/table_info.py +107 -0
  122. robosystems_client/models/table_ingest_result.py +107 -0
  123. robosystems_client/models/table_list_response.py +81 -0
  124. robosystems_client/models/table_query_request.py +40 -0
  125. robosystems_client/models/table_query_response.py +92 -0
  126. 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
  127. {robosystems_client-0.1.18.dist-info → robosystems_client-0.2.0.dist-info}/METADATA +15 -3
  128. {robosystems_client-0.1.18.dist-info → robosystems_client-0.2.0.dist-info}/RECORD +132 -127
  129. robosystems_client/api/auth/sso_login.py +0 -177
  130. robosystems_client/api/copy/copy_data_to_graph.py +0 -486
  131. robosystems_client/extensions/copy_client.py +0 -479
  132. robosystems_client/models/copy_response.py +0 -275
  133. robosystems_client/models/copy_response_status.py +0 -11
  134. robosystems_client/models/data_frame_copy_request.py +0 -125
  135. robosystems_client/models/data_frame_copy_request_format.py +0 -10
  136. robosystems_client/models/s3_copy_request.py +0 -378
  137. robosystems_client/models/s3_copy_request_file_format.py +0 -12
  138. robosystems_client/models/s3_copy_request_s3_url_style_type_0.py +0 -9
  139. robosystems_client/models/url_copy_request.py +0 -157
  140. robosystems_client/models/url_copy_request_file_format.py +0 -10
  141. robosystems_client/models/url_copy_request_headers_type_0.py +0 -44
  142. /robosystems_client/api/{copy → graphs}/__init__.py +0 -0
  143. /robosystems_client/api/{create → tables}/__init__.py +0 -0
  144. {robosystems_client-0.1.18.dist-info → robosystems_client-0.2.0.dist-info}/WHEEL +0 -0
  145. {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": "get",
42
- "url": f"/v1/{graph_id}/backups",
42
+ "url": f"/v1/graphs/{graph_id}/backups",
43
43
  "params": params,
44
44
  }
45
45
 
@@ -54,10 +54,12 @@ def _parse_response(
54
54
  response_200 = BackupListResponse.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:
@@ -84,7 +86,7 @@ def sync_detailed(
84
86
  token: Union[None, Unset, str] = UNSET,
85
87
  authorization: Union[None, Unset, str] = UNSET,
86
88
  ) -> Response[Union[BackupListResponse, HTTPValidationError]]:
87
- """List Kuzu graph backups
89
+ """List graph database backups
88
90
 
89
91
  List all backups for the specified graph database
90
92
 
@@ -127,7 +129,7 @@ def sync(
127
129
  token: Union[None, Unset, str] = UNSET,
128
130
  authorization: Union[None, Unset, str] = UNSET,
129
131
  ) -> Optional[Union[BackupListResponse, HTTPValidationError]]:
130
- """List Kuzu graph backups
132
+ """List graph database backups
131
133
 
132
134
  List all backups for the specified graph database
133
135
 
@@ -165,7 +167,7 @@ async def asyncio_detailed(
165
167
  token: Union[None, Unset, str] = UNSET,
166
168
  authorization: Union[None, Unset, str] = UNSET,
167
169
  ) -> Response[Union[BackupListResponse, HTTPValidationError]]:
168
- """List Kuzu graph backups
170
+ """List graph database backups
169
171
 
170
172
  List all backups for the specified graph database
171
173
 
@@ -206,7 +208,7 @@ async def asyncio(
206
208
  token: Union[None, Unset, str] = UNSET,
207
209
  authorization: Union[None, Unset, str] = UNSET,
208
210
  ) -> Optional[Union[BackupListResponse, HTTPValidationError]]:
209
- """List Kuzu graph backups
211
+ """List graph database backups
210
212
 
211
213
  List all backups for the specified graph database
212
214
 
@@ -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/{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 Kuzu database from an encrypted backup:
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 Kuzu database from an encrypted backup:
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 Kuzu database from an encrypted backup:
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 Kuzu database from an encrypted backup:
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,
@@ -36,7 +36,7 @@ def _get_kwargs(
36
36
 
37
37
  _kwargs: dict[str, Any] = {
38
38
  "method": "post",
39
- "url": f"/v1/{graph_id}/connections",
39
+ "url": f"/v1/graphs/{graph_id}/connections",
40
40
  "params": params,
41
41
  }
42
42
 
@@ -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 FREE - no credit consumption required.
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 FREE - no credit consumption required.
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 FREE - no credit consumption required.
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 FREE - no credit consumption required.
304
+ This operation is included - no credit consumption required.
299
305
 
300
306
  Args:
301
307
  graph_id (str): Graph database identifier
@@ -35,7 +35,7 @@ def _get_kwargs(
35
35
 
36
36
  _kwargs: dict[str, Any] = {
37
37
  "method": "post",
38
- "url": f"/v1/{graph_id}/connections/link/token",
38
+ "url": f"/v1/graphs/{graph_id}/connections/link/token",
39
39
  "params": params,
40
40
  }
41
41
 
@@ -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:
@@ -35,7 +35,7 @@ def _get_kwargs(
35
35
 
36
36
  _kwargs: dict[str, Any] = {
37
37
  "method": "delete",
38
- "url": f"/v1/{graph_id}/connections/{connection_id}",
38
+ "url": f"/v1/graphs/{graph_id}/connections/{connection_id}",
39
39
  "params": params,
40
40
  }
41
41
 
@@ -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 FREE - no credit consumption required.
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 FREE - no credit consumption required.
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 FREE - no credit consumption required.
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 FREE - no credit consumption required.
256
+ This operation is included - no credit consumption required.
252
257
 
253
258
  Only users with admin role can delete connections.
254
259
 
@@ -35,7 +35,7 @@ def _get_kwargs(
35
35
 
36
36
  _kwargs: dict[str, Any] = {
37
37
  "method": "post",
38
- "url": f"/v1/{graph_id}/connections/link/exchange",
38
+ "url": f"/v1/graphs/{graph_id}/connections/link/exchange",
39
39
  "params": params,
40
40
  }
41
41
 
@@ -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:
@@ -35,7 +35,7 @@ def _get_kwargs(
35
35
 
36
36
  _kwargs: dict[str, Any] = {
37
37
  "method": "get",
38
- "url": f"/v1/{graph_id}/connections/{connection_id}",
38
+ "url": f"/v1/graphs/{graph_id}/connections/{connection_id}",
39
39
  "params": params,
40
40
  }
41
41
 
@@ -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:
@@ -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}/connections/options",
37
+ "url": f"/v1/graphs/{graph_id}/connections/options",
38
38
  "params": params,
39
39
  }
40
40
 
@@ -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:
@@ -35,7 +35,7 @@ def _get_kwargs(
35
35
 
36
36
  _kwargs: dict[str, Any] = {
37
37
  "method": "post",
38
- "url": f"/v1/{graph_id}/connections/oauth/init",
38
+ "url": f"/v1/graphs/{graph_id}/connections/oauth/init",
39
39
  "params": params,
40
40
  }
41
41
 
@@ -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:
@@ -53,7 +53,7 @@ def _get_kwargs(
53
53
 
54
54
  _kwargs: dict[str, Any] = {
55
55
  "method": "get",
56
- "url": f"/v1/{graph_id}/connections",
56
+ "url": f"/v1/graphs/{graph_id}/connections",
57
57
  "params": params,
58
58
  }
59
59
 
@@ -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:
@@ -36,7 +36,7 @@ def _get_kwargs(
36
36
 
37
37
  _kwargs: dict[str, Any] = {
38
38
  "method": "post",
39
- "url": f"/v1/{graph_id}/connections/oauth/callback/{provider}",
39
+ "url": f"/v1/graphs/{graph_id}/connections/oauth/callback/{provider}",
40
40
  "params": params,
41
41
  }
42
42
 
@@ -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: