robosystems-client 0.2.3__py3-none-any.whl → 0.2.5__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 (104) hide show
  1. robosystems_client/api/agent/auto_select_agent.py +1 -41
  2. robosystems_client/api/agent/batch_process_queries.py +1 -41
  3. robosystems_client/api/agent/execute_specific_agent.py +1 -41
  4. robosystems_client/api/agent/get_agent_metadata.py +5 -49
  5. robosystems_client/api/agent/list_agents.py +4 -42
  6. robosystems_client/api/agent/recommend_agent.py +5 -45
  7. robosystems_client/api/auth/generate_sso_token.py +0 -18
  8. robosystems_client/api/auth/get_current_auth_user.py +14 -74
  9. robosystems_client/api/auth/logout_user.py +14 -50
  10. robosystems_client/api/auth/refresh_auth_session.py +14 -50
  11. robosystems_client/api/auth/resend_verification_email.py +14 -74
  12. robosystems_client/api/backup/create_backup.py +5 -45
  13. robosystems_client/api/backup/get_backup_download_url.py +4 -42
  14. robosystems_client/api/backup/get_backup_stats.py +5 -49
  15. robosystems_client/api/backup/list_backups.py +4 -42
  16. robosystems_client/api/backup/restore_backup.py +5 -45
  17. robosystems_client/api/connections/create_connection.py +5 -45
  18. robosystems_client/api/connections/create_link_token.py +5 -45
  19. robosystems_client/api/connections/delete_connection.py +5 -49
  20. robosystems_client/api/connections/exchange_link_token.py +5 -45
  21. robosystems_client/api/connections/get_connection.py +5 -49
  22. robosystems_client/api/connections/get_connection_options.py +5 -49
  23. robosystems_client/api/connections/init_o_auth.py +5 -45
  24. robosystems_client/api/connections/list_connections.py +4 -42
  25. robosystems_client/api/connections/oauth_callback.py +5 -45
  26. robosystems_client/api/connections/sync_connection.py +5 -45
  27. robosystems_client/api/graph_analytics/get_graph_metrics.py +5 -49
  28. robosystems_client/api/graph_analytics/get_graph_usage_stats.py +4 -42
  29. robosystems_client/api/graph_billing/get_current_graph_bill.py +5 -49
  30. robosystems_client/api/graph_billing/get_graph_billing_history.py +4 -42
  31. robosystems_client/api/graph_billing/get_graph_monthly_bill.py +5 -49
  32. robosystems_client/api/graph_billing/get_graph_usage_details.py +4 -42
  33. robosystems_client/api/graph_credits/check_credit_balance.py +0 -38
  34. robosystems_client/api/graph_credits/check_storage_limits.py +1 -45
  35. robosystems_client/api/graph_credits/get_credit_summary.py +1 -45
  36. robosystems_client/api/graph_credits/get_storage_usage.py +0 -38
  37. robosystems_client/api/graph_credits/list_credit_transactions.py +4 -42
  38. robosystems_client/api/graph_health/get_database_health.py +5 -49
  39. robosystems_client/api/graph_info/get_database_info.py +5 -49
  40. robosystems_client/api/graph_limits/get_graph_limits.py +5 -49
  41. robosystems_client/api/graphs/create_graph.py +21 -57
  42. robosystems_client/api/graphs/get_available_extensions.py +131 -15
  43. robosystems_client/api/graphs/get_graphs.py +154 -79
  44. robosystems_client/api/graphs/select_graph.py +117 -49
  45. robosystems_client/api/mcp/call_mcp_tool.py +24 -47
  46. robosystems_client/api/mcp/list_mcp_tools.py +13 -61
  47. robosystems_client/api/operations/cancel_operation.py +1 -45
  48. robosystems_client/api/operations/get_operation_status.py +1 -45
  49. robosystems_client/api/query/execute_cypher_query.py +69 -53
  50. robosystems_client/api/schema/export_graph_schema.py +223 -65
  51. robosystems_client/api/schema/get_graph_schema.py +137 -79
  52. robosystems_client/api/schema/validate_schema.py +5 -45
  53. robosystems_client/api/subgraphs/create_subgraph.py +5 -45
  54. robosystems_client/api/subgraphs/delete_subgraph.py +5 -45
  55. robosystems_client/api/subgraphs/get_subgraph_info.py +5 -49
  56. robosystems_client/api/subgraphs/get_subgraph_quota.py +5 -49
  57. robosystems_client/api/subgraphs/list_subgraphs.py +5 -49
  58. robosystems_client/api/tables/delete_file.py +181 -301
  59. robosystems_client/api/tables/get_file_info.py +117 -265
  60. robosystems_client/api/tables/get_upload_url.py +193 -389
  61. robosystems_client/api/tables/ingest_tables.py +277 -465
  62. robosystems_client/api/tables/list_table_files.py +193 -373
  63. robosystems_client/api/tables/list_tables.py +189 -361
  64. robosystems_client/api/tables/query_tables.py +85 -141
  65. robosystems_client/api/tables/update_file_status.py +205 -349
  66. robosystems_client/api/user/create_user_api_key.py +1 -41
  67. robosystems_client/api/user/get_all_credit_summaries.py +14 -111
  68. robosystems_client/api/user/get_current_user.py +14 -75
  69. robosystems_client/api/user/list_user_api_keys.py +14 -75
  70. robosystems_client/api/user/revoke_user_api_key.py +1 -45
  71. robosystems_client/api/user/update_user.py +1 -41
  72. robosystems_client/api/user/update_user_api_key.py +1 -41
  73. robosystems_client/api/user/update_user_password.py +1 -41
  74. robosystems_client/api/user_analytics/get_detailed_user_analytics.py +0 -38
  75. robosystems_client/api/user_analytics/get_user_usage_overview.py +14 -75
  76. robosystems_client/api/user_limits/get_all_shared_repository_limits.py +14 -105
  77. robosystems_client/api/user_limits/get_shared_repository_limits.py +1 -45
  78. robosystems_client/api/user_limits/get_user_limits.py +14 -75
  79. robosystems_client/api/user_limits/get_user_usage.py +14 -75
  80. robosystems_client/api/user_subscriptions/cancel_shared_repository_subscription.py +1 -45
  81. robosystems_client/api/user_subscriptions/get_repository_credits.py +1 -45
  82. robosystems_client/api/user_subscriptions/get_shared_repository_credits.py +14 -75
  83. robosystems_client/api/user_subscriptions/get_user_shared_subscriptions.py +0 -38
  84. robosystems_client/api/user_subscriptions/subscribe_to_shared_repository.py +1 -41
  85. robosystems_client/api/user_subscriptions/upgrade_shared_repository_subscription.py +1 -41
  86. robosystems_client/extensions/__init__.py +8 -1
  87. robosystems_client/extensions/auth_integration.py +1 -2
  88. robosystems_client/extensions/query_client.py +3 -2
  89. robosystems_client/extensions/sse_client.py +1 -1
  90. robosystems_client/extensions/table_ingest_client.py +5 -0
  91. robosystems_client/extensions/utils.py +2 -2
  92. robosystems_client/models/__init__.py +4 -4
  93. robosystems_client/models/auth_response.py +40 -0
  94. robosystems_client/models/create_graph_request.py +4 -3
  95. robosystems_client/models/cypher_query_request.py +5 -22
  96. robosystems_client/models/schema_export_response.py +4 -2
  97. robosystems_client/models/schema_info_response.py +77 -0
  98. robosystems_client/models/{get_graph_schema_response_getgraphschema.py → schema_info_response_schema.py} +6 -6
  99. robosystems_client/models/schema_validation_response.py +7 -6
  100. robosystems_client/models/table_query_request.py +37 -2
  101. {robosystems_client-0.2.3.dist-info → robosystems_client-0.2.5.dist-info}/METADATA +2 -4
  102. {robosystems_client-0.2.3.dist-info → robosystems_client-0.2.5.dist-info}/RECORD +104 -103
  103. {robosystems_client-0.2.3.dist-info → robosystems_client-0.2.5.dist-info}/WHEEL +0 -0
  104. {robosystems_client-0.2.3.dist-info → robosystems_client-0.2.5.dist-info}/licenses/LICENSE +0 -0
@@ -9,35 +9,19 @@ from ...models.connection_response import ConnectionResponse
9
9
  from ...models.create_connection_request import CreateConnectionRequest
10
10
  from ...models.error_response import ErrorResponse
11
11
  from ...models.http_validation_error import HTTPValidationError
12
- from ...types import UNSET, Response, Unset
12
+ from ...types import Response
13
13
 
14
14
 
15
15
  def _get_kwargs(
16
16
  graph_id: str,
17
17
  *,
18
18
  body: CreateConnectionRequest,
19
- token: Union[None, Unset, str] = UNSET,
20
- authorization: Union[None, Unset, str] = UNSET,
21
19
  ) -> dict[str, Any]:
22
20
  headers: dict[str, Any] = {}
23
- if not isinstance(authorization, Unset):
24
- headers["authorization"] = authorization
25
-
26
- params: dict[str, Any] = {}
27
-
28
- json_token: Union[None, Unset, str]
29
- if isinstance(token, Unset):
30
- json_token = UNSET
31
- else:
32
- json_token = token
33
- params["token"] = json_token
34
-
35
- params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
36
21
 
37
22
  _kwargs: dict[str, Any] = {
38
23
  "method": "post",
39
24
  "url": f"/v1/graphs/{graph_id}/connections",
40
- "params": params,
41
25
  }
42
26
 
43
27
  _kwargs["json"] = body.to_dict()
@@ -103,8 +87,6 @@ def sync_detailed(
103
87
  *,
104
88
  client: AuthenticatedClient,
105
89
  body: CreateConnectionRequest,
106
- token: Union[None, Unset, str] = UNSET,
107
- authorization: Union[None, Unset, str] = UNSET,
108
90
  ) -> Response[Union[ConnectionResponse, ErrorResponse, HTTPValidationError]]:
109
91
  """Create Connection
110
92
 
@@ -131,9 +113,7 @@ def sync_detailed(
131
113
  This operation is included - no credit consumption required.
132
114
 
133
115
  Args:
134
- graph_id (str): Graph database identifier
135
- token (Union[None, Unset, str]): JWT token for SSE authentication
136
- authorization (Union[None, Unset, str]):
116
+ graph_id (str):
137
117
  body (CreateConnectionRequest): Request to create a new connection.
138
118
 
139
119
  Raises:
@@ -147,8 +127,6 @@ def sync_detailed(
147
127
  kwargs = _get_kwargs(
148
128
  graph_id=graph_id,
149
129
  body=body,
150
- token=token,
151
- authorization=authorization,
152
130
  )
153
131
 
154
132
  response = client.get_httpx_client().request(
@@ -163,8 +141,6 @@ def sync(
163
141
  *,
164
142
  client: AuthenticatedClient,
165
143
  body: CreateConnectionRequest,
166
- token: Union[None, Unset, str] = UNSET,
167
- authorization: Union[None, Unset, str] = UNSET,
168
144
  ) -> Optional[Union[ConnectionResponse, ErrorResponse, HTTPValidationError]]:
169
145
  """Create Connection
170
146
 
@@ -191,9 +167,7 @@ def sync(
191
167
  This operation is included - no credit consumption required.
192
168
 
193
169
  Args:
194
- graph_id (str): Graph database identifier
195
- token (Union[None, Unset, str]): JWT token for SSE authentication
196
- authorization (Union[None, Unset, str]):
170
+ graph_id (str):
197
171
  body (CreateConnectionRequest): Request to create a new connection.
198
172
 
199
173
  Raises:
@@ -208,8 +182,6 @@ def sync(
208
182
  graph_id=graph_id,
209
183
  client=client,
210
184
  body=body,
211
- token=token,
212
- authorization=authorization,
213
185
  ).parsed
214
186
 
215
187
 
@@ -218,8 +190,6 @@ async def asyncio_detailed(
218
190
  *,
219
191
  client: AuthenticatedClient,
220
192
  body: CreateConnectionRequest,
221
- token: Union[None, Unset, str] = UNSET,
222
- authorization: Union[None, Unset, str] = UNSET,
223
193
  ) -> Response[Union[ConnectionResponse, ErrorResponse, HTTPValidationError]]:
224
194
  """Create Connection
225
195
 
@@ -246,9 +216,7 @@ async def asyncio_detailed(
246
216
  This operation is included - no credit consumption required.
247
217
 
248
218
  Args:
249
- graph_id (str): Graph database identifier
250
- token (Union[None, Unset, str]): JWT token for SSE authentication
251
- authorization (Union[None, Unset, str]):
219
+ graph_id (str):
252
220
  body (CreateConnectionRequest): Request to create a new connection.
253
221
 
254
222
  Raises:
@@ -262,8 +230,6 @@ async def asyncio_detailed(
262
230
  kwargs = _get_kwargs(
263
231
  graph_id=graph_id,
264
232
  body=body,
265
- token=token,
266
- authorization=authorization,
267
233
  )
268
234
 
269
235
  response = await client.get_async_httpx_client().request(**kwargs)
@@ -276,8 +242,6 @@ async def asyncio(
276
242
  *,
277
243
  client: AuthenticatedClient,
278
244
  body: CreateConnectionRequest,
279
- token: Union[None, Unset, str] = UNSET,
280
- authorization: Union[None, Unset, str] = UNSET,
281
245
  ) -> Optional[Union[ConnectionResponse, ErrorResponse, HTTPValidationError]]:
282
246
  """Create Connection
283
247
 
@@ -304,9 +268,7 @@ async def asyncio(
304
268
  This operation is included - no credit consumption required.
305
269
 
306
270
  Args:
307
- graph_id (str): Graph database identifier
308
- token (Union[None, Unset, str]): JWT token for SSE authentication
309
- authorization (Union[None, Unset, str]):
271
+ graph_id (str):
310
272
  body (CreateConnectionRequest): Request to create a new connection.
311
273
 
312
274
  Raises:
@@ -322,7 +284,5 @@ async def asyncio(
322
284
  graph_id=graph_id,
323
285
  client=client,
324
286
  body=body,
325
- token=token,
326
- authorization=authorization,
327
287
  )
328
288
  ).parsed
@@ -8,35 +8,19 @@ from ...client import AuthenticatedClient, Client
8
8
  from ...models.error_response import ErrorResponse
9
9
  from ...models.http_validation_error import HTTPValidationError
10
10
  from ...models.link_token_request import LinkTokenRequest
11
- from ...types import UNSET, Response, Unset
11
+ from ...types import Response
12
12
 
13
13
 
14
14
  def _get_kwargs(
15
15
  graph_id: str,
16
16
  *,
17
17
  body: LinkTokenRequest,
18
- token: Union[None, Unset, str] = UNSET,
19
- authorization: Union[None, Unset, str] = UNSET,
20
18
  ) -> dict[str, Any]:
21
19
  headers: dict[str, Any] = {}
22
- if not isinstance(authorization, Unset):
23
- headers["authorization"] = authorization
24
-
25
- params: dict[str, Any] = {}
26
-
27
- json_token: Union[None, Unset, str]
28
- if isinstance(token, Unset):
29
- json_token = UNSET
30
- else:
31
- json_token = token
32
- params["token"] = json_token
33
-
34
- params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
35
20
 
36
21
  _kwargs: dict[str, Any] = {
37
22
  "method": "post",
38
23
  "url": f"/v1/graphs/{graph_id}/connections/link/token",
39
- "params": params,
40
24
  }
41
25
 
42
26
  _kwargs["json"] = body.to_dict()
@@ -96,8 +80,6 @@ def sync_detailed(
96
80
  *,
97
81
  client: AuthenticatedClient,
98
82
  body: LinkTokenRequest,
99
- token: Union[None, Unset, str] = UNSET,
100
- authorization: Union[None, Unset, str] = UNSET,
101
83
  ) -> Response[Union[Any, ErrorResponse, HTTPValidationError]]:
102
84
  """Create Link Token
103
85
 
@@ -117,9 +99,7 @@ def sync_detailed(
117
99
  No credits are consumed for creating link tokens.
118
100
 
119
101
  Args:
120
- graph_id (str): Graph database identifier
121
- token (Union[None, Unset, str]): JWT token for SSE authentication
122
- authorization (Union[None, Unset, str]):
102
+ graph_id (str):
123
103
  body (LinkTokenRequest): Request to create a link token for embedded authentication.
124
104
 
125
105
  Raises:
@@ -133,8 +113,6 @@ def sync_detailed(
133
113
  kwargs = _get_kwargs(
134
114
  graph_id=graph_id,
135
115
  body=body,
136
- token=token,
137
- authorization=authorization,
138
116
  )
139
117
 
140
118
  response = client.get_httpx_client().request(
@@ -149,8 +127,6 @@ def sync(
149
127
  *,
150
128
  client: AuthenticatedClient,
151
129
  body: LinkTokenRequest,
152
- token: Union[None, Unset, str] = UNSET,
153
- authorization: Union[None, Unset, str] = UNSET,
154
130
  ) -> Optional[Union[Any, ErrorResponse, HTTPValidationError]]:
155
131
  """Create Link Token
156
132
 
@@ -170,9 +146,7 @@ def sync(
170
146
  No credits are consumed for creating link tokens.
171
147
 
172
148
  Args:
173
- graph_id (str): Graph database identifier
174
- token (Union[None, Unset, str]): JWT token for SSE authentication
175
- authorization (Union[None, Unset, str]):
149
+ graph_id (str):
176
150
  body (LinkTokenRequest): Request to create a link token for embedded authentication.
177
151
 
178
152
  Raises:
@@ -187,8 +161,6 @@ def sync(
187
161
  graph_id=graph_id,
188
162
  client=client,
189
163
  body=body,
190
- token=token,
191
- authorization=authorization,
192
164
  ).parsed
193
165
 
194
166
 
@@ -197,8 +169,6 @@ async def asyncio_detailed(
197
169
  *,
198
170
  client: AuthenticatedClient,
199
171
  body: LinkTokenRequest,
200
- token: Union[None, Unset, str] = UNSET,
201
- authorization: Union[None, Unset, str] = UNSET,
202
172
  ) -> Response[Union[Any, ErrorResponse, HTTPValidationError]]:
203
173
  """Create Link Token
204
174
 
@@ -218,9 +188,7 @@ async def asyncio_detailed(
218
188
  No credits are consumed for creating link tokens.
219
189
 
220
190
  Args:
221
- graph_id (str): Graph database identifier
222
- token (Union[None, Unset, str]): JWT token for SSE authentication
223
- authorization (Union[None, Unset, str]):
191
+ graph_id (str):
224
192
  body (LinkTokenRequest): Request to create a link token for embedded authentication.
225
193
 
226
194
  Raises:
@@ -234,8 +202,6 @@ async def asyncio_detailed(
234
202
  kwargs = _get_kwargs(
235
203
  graph_id=graph_id,
236
204
  body=body,
237
- token=token,
238
- authorization=authorization,
239
205
  )
240
206
 
241
207
  response = await client.get_async_httpx_client().request(**kwargs)
@@ -248,8 +214,6 @@ async def asyncio(
248
214
  *,
249
215
  client: AuthenticatedClient,
250
216
  body: LinkTokenRequest,
251
- token: Union[None, Unset, str] = UNSET,
252
- authorization: Union[None, Unset, str] = UNSET,
253
217
  ) -> Optional[Union[Any, ErrorResponse, HTTPValidationError]]:
254
218
  """Create Link Token
255
219
 
@@ -269,9 +233,7 @@ async def asyncio(
269
233
  No credits are consumed for creating link tokens.
270
234
 
271
235
  Args:
272
- graph_id (str): Graph database identifier
273
- token (Union[None, Unset, str]): JWT token for SSE authentication
274
- authorization (Union[None, Unset, str]):
236
+ graph_id (str):
275
237
  body (LinkTokenRequest): Request to create a link token for embedded authentication.
276
238
 
277
239
  Raises:
@@ -287,7 +249,5 @@ async def asyncio(
287
249
  graph_id=graph_id,
288
250
  client=client,
289
251
  body=body,
290
- token=token,
291
- authorization=authorization,
292
252
  )
293
253
  ).parsed
@@ -8,38 +8,18 @@ from ...client import AuthenticatedClient, Client
8
8
  from ...models.error_response import ErrorResponse
9
9
  from ...models.http_validation_error import HTTPValidationError
10
10
  from ...models.success_response import SuccessResponse
11
- from ...types import UNSET, Response, Unset
11
+ from ...types import Response
12
12
 
13
13
 
14
14
  def _get_kwargs(
15
15
  graph_id: str,
16
16
  connection_id: str,
17
- *,
18
- token: Union[None, Unset, str] = UNSET,
19
- authorization: Union[None, Unset, str] = UNSET,
20
17
  ) -> dict[str, Any]:
21
- headers: dict[str, Any] = {}
22
- if not isinstance(authorization, Unset):
23
- headers["authorization"] = authorization
24
-
25
- params: dict[str, Any] = {}
26
-
27
- json_token: Union[None, Unset, str]
28
- if isinstance(token, Unset):
29
- json_token = UNSET
30
- else:
31
- json_token = token
32
- params["token"] = json_token
33
-
34
- params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
35
-
36
18
  _kwargs: dict[str, Any] = {
37
19
  "method": "delete",
38
20
  "url": f"/v1/graphs/{graph_id}/connections/{connection_id}",
39
- "params": params,
40
21
  }
41
22
 
42
- _kwargs["headers"] = headers
43
23
  return _kwargs
44
24
 
45
25
 
@@ -93,8 +73,6 @@ def sync_detailed(
93
73
  connection_id: str,
94
74
  *,
95
75
  client: AuthenticatedClient,
96
- token: Union[None, Unset, str] = UNSET,
97
- authorization: Union[None, Unset, str] = UNSET,
98
76
  ) -> Response[Union[ErrorResponse, HTTPValidationError, SuccessResponse]]:
99
77
  """Delete Connection
100
78
 
@@ -112,10 +90,8 @@ def sync_detailed(
112
90
  Only users with admin role can delete connections.
113
91
 
114
92
  Args:
115
- graph_id (str): Graph database identifier
93
+ graph_id (str):
116
94
  connection_id (str): Connection identifier
117
- token (Union[None, Unset, str]): JWT token for SSE authentication
118
- authorization (Union[None, Unset, str]):
119
95
 
120
96
  Raises:
121
97
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -128,8 +104,6 @@ def sync_detailed(
128
104
  kwargs = _get_kwargs(
129
105
  graph_id=graph_id,
130
106
  connection_id=connection_id,
131
- token=token,
132
- authorization=authorization,
133
107
  )
134
108
 
135
109
  response = client.get_httpx_client().request(
@@ -144,8 +118,6 @@ def sync(
144
118
  connection_id: str,
145
119
  *,
146
120
  client: AuthenticatedClient,
147
- token: Union[None, Unset, str] = UNSET,
148
- authorization: Union[None, Unset, str] = UNSET,
149
121
  ) -> Optional[Union[ErrorResponse, HTTPValidationError, SuccessResponse]]:
150
122
  """Delete Connection
151
123
 
@@ -163,10 +135,8 @@ def sync(
163
135
  Only users with admin role can delete connections.
164
136
 
165
137
  Args:
166
- graph_id (str): Graph database identifier
138
+ graph_id (str):
167
139
  connection_id (str): Connection identifier
168
- token (Union[None, Unset, str]): JWT token for SSE authentication
169
- authorization (Union[None, Unset, str]):
170
140
 
171
141
  Raises:
172
142
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -180,8 +150,6 @@ def sync(
180
150
  graph_id=graph_id,
181
151
  connection_id=connection_id,
182
152
  client=client,
183
- token=token,
184
- authorization=authorization,
185
153
  ).parsed
186
154
 
187
155
 
@@ -190,8 +158,6 @@ async def asyncio_detailed(
190
158
  connection_id: str,
191
159
  *,
192
160
  client: AuthenticatedClient,
193
- token: Union[None, Unset, str] = UNSET,
194
- authorization: Union[None, Unset, str] = UNSET,
195
161
  ) -> Response[Union[ErrorResponse, HTTPValidationError, SuccessResponse]]:
196
162
  """Delete Connection
197
163
 
@@ -209,10 +175,8 @@ async def asyncio_detailed(
209
175
  Only users with admin role can delete connections.
210
176
 
211
177
  Args:
212
- graph_id (str): Graph database identifier
178
+ graph_id (str):
213
179
  connection_id (str): Connection identifier
214
- token (Union[None, Unset, str]): JWT token for SSE authentication
215
- authorization (Union[None, Unset, str]):
216
180
 
217
181
  Raises:
218
182
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -225,8 +189,6 @@ async def asyncio_detailed(
225
189
  kwargs = _get_kwargs(
226
190
  graph_id=graph_id,
227
191
  connection_id=connection_id,
228
- token=token,
229
- authorization=authorization,
230
192
  )
231
193
 
232
194
  response = await client.get_async_httpx_client().request(**kwargs)
@@ -239,8 +201,6 @@ async def asyncio(
239
201
  connection_id: str,
240
202
  *,
241
203
  client: AuthenticatedClient,
242
- token: Union[None, Unset, str] = UNSET,
243
- authorization: Union[None, Unset, str] = UNSET,
244
204
  ) -> Optional[Union[ErrorResponse, HTTPValidationError, SuccessResponse]]:
245
205
  """Delete Connection
246
206
 
@@ -258,10 +218,8 @@ async def asyncio(
258
218
  Only users with admin role can delete connections.
259
219
 
260
220
  Args:
261
- graph_id (str): Graph database identifier
221
+ graph_id (str):
262
222
  connection_id (str): Connection identifier
263
- token (Union[None, Unset, str]): JWT token for SSE authentication
264
- authorization (Union[None, Unset, str]):
265
223
 
266
224
  Raises:
267
225
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -276,7 +234,5 @@ async def asyncio(
276
234
  graph_id=graph_id,
277
235
  connection_id=connection_id,
278
236
  client=client,
279
- token=token,
280
- authorization=authorization,
281
237
  )
282
238
  ).parsed
@@ -8,35 +8,19 @@ from ...client import AuthenticatedClient, Client
8
8
  from ...models.error_response import ErrorResponse
9
9
  from ...models.exchange_token_request import ExchangeTokenRequest
10
10
  from ...models.http_validation_error import HTTPValidationError
11
- from ...types import UNSET, Response, Unset
11
+ from ...types import Response
12
12
 
13
13
 
14
14
  def _get_kwargs(
15
15
  graph_id: str,
16
16
  *,
17
17
  body: ExchangeTokenRequest,
18
- token: Union[None, Unset, str] = UNSET,
19
- authorization: Union[None, Unset, str] = UNSET,
20
18
  ) -> dict[str, Any]:
21
19
  headers: dict[str, Any] = {}
22
- if not isinstance(authorization, Unset):
23
- headers["authorization"] = authorization
24
-
25
- params: dict[str, Any] = {}
26
-
27
- json_token: Union[None, Unset, str]
28
- if isinstance(token, Unset):
29
- json_token = UNSET
30
- else:
31
- json_token = token
32
- params["token"] = json_token
33
-
34
- params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
35
20
 
36
21
  _kwargs: dict[str, Any] = {
37
22
  "method": "post",
38
23
  "url": f"/v1/graphs/{graph_id}/connections/link/exchange",
39
- "params": params,
40
24
  }
41
25
 
42
26
  _kwargs["json"] = body.to_dict()
@@ -96,8 +80,6 @@ def sync_detailed(
96
80
  *,
97
81
  client: AuthenticatedClient,
98
82
  body: ExchangeTokenRequest,
99
- token: Union[None, Unset, str] = UNSET,
100
- authorization: Union[None, Unset, str] = UNSET,
101
83
  ) -> Response[Union[Any, ErrorResponse, HTTPValidationError]]:
102
84
  """Exchange Link Token
103
85
 
@@ -122,9 +104,7 @@ def sync_detailed(
122
104
  No credits are consumed for token exchange.
123
105
 
124
106
  Args:
125
- graph_id (str): Graph database identifier
126
- token (Union[None, Unset, str]): JWT token for SSE authentication
127
- authorization (Union[None, Unset, str]):
107
+ graph_id (str):
128
108
  body (ExchangeTokenRequest): Exchange temporary token for permanent credentials.
129
109
 
130
110
  Raises:
@@ -138,8 +118,6 @@ def sync_detailed(
138
118
  kwargs = _get_kwargs(
139
119
  graph_id=graph_id,
140
120
  body=body,
141
- token=token,
142
- authorization=authorization,
143
121
  )
144
122
 
145
123
  response = client.get_httpx_client().request(
@@ -154,8 +132,6 @@ def sync(
154
132
  *,
155
133
  client: AuthenticatedClient,
156
134
  body: ExchangeTokenRequest,
157
- token: Union[None, Unset, str] = UNSET,
158
- authorization: Union[None, Unset, str] = UNSET,
159
135
  ) -> Optional[Union[Any, ErrorResponse, HTTPValidationError]]:
160
136
  """Exchange Link Token
161
137
 
@@ -180,9 +156,7 @@ def sync(
180
156
  No credits are consumed for token exchange.
181
157
 
182
158
  Args:
183
- graph_id (str): Graph database identifier
184
- token (Union[None, Unset, str]): JWT token for SSE authentication
185
- authorization (Union[None, Unset, str]):
159
+ graph_id (str):
186
160
  body (ExchangeTokenRequest): Exchange temporary token for permanent credentials.
187
161
 
188
162
  Raises:
@@ -197,8 +171,6 @@ def sync(
197
171
  graph_id=graph_id,
198
172
  client=client,
199
173
  body=body,
200
- token=token,
201
- authorization=authorization,
202
174
  ).parsed
203
175
 
204
176
 
@@ -207,8 +179,6 @@ async def asyncio_detailed(
207
179
  *,
208
180
  client: AuthenticatedClient,
209
181
  body: ExchangeTokenRequest,
210
- token: Union[None, Unset, str] = UNSET,
211
- authorization: Union[None, Unset, str] = UNSET,
212
182
  ) -> Response[Union[Any, ErrorResponse, HTTPValidationError]]:
213
183
  """Exchange Link Token
214
184
 
@@ -233,9 +203,7 @@ async def asyncio_detailed(
233
203
  No credits are consumed for token exchange.
234
204
 
235
205
  Args:
236
- graph_id (str): Graph database identifier
237
- token (Union[None, Unset, str]): JWT token for SSE authentication
238
- authorization (Union[None, Unset, str]):
206
+ graph_id (str):
239
207
  body (ExchangeTokenRequest): Exchange temporary token for permanent credentials.
240
208
 
241
209
  Raises:
@@ -249,8 +217,6 @@ async def asyncio_detailed(
249
217
  kwargs = _get_kwargs(
250
218
  graph_id=graph_id,
251
219
  body=body,
252
- token=token,
253
- authorization=authorization,
254
220
  )
255
221
 
256
222
  response = await client.get_async_httpx_client().request(**kwargs)
@@ -263,8 +229,6 @@ async def asyncio(
263
229
  *,
264
230
  client: AuthenticatedClient,
265
231
  body: ExchangeTokenRequest,
266
- token: Union[None, Unset, str] = UNSET,
267
- authorization: Union[None, Unset, str] = UNSET,
268
232
  ) -> Optional[Union[Any, ErrorResponse, HTTPValidationError]]:
269
233
  """Exchange Link Token
270
234
 
@@ -289,9 +253,7 @@ async def asyncio(
289
253
  No credits are consumed for token exchange.
290
254
 
291
255
  Args:
292
- graph_id (str): Graph database identifier
293
- token (Union[None, Unset, str]): JWT token for SSE authentication
294
- authorization (Union[None, Unset, str]):
256
+ graph_id (str):
295
257
  body (ExchangeTokenRequest): Exchange temporary token for permanent credentials.
296
258
 
297
259
  Raises:
@@ -307,7 +269,5 @@ async def asyncio(
307
269
  graph_id=graph_id,
308
270
  client=client,
309
271
  body=body,
310
- token=token,
311
- authorization=authorization,
312
272
  )
313
273
  ).parsed