robosystems-client 0.1.16__py3-none-any.whl → 0.1.18__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 (109) hide show
  1. robosystems_client/__init__.py +15 -4
  2. robosystems_client/api/agent/auto_select_agent.py +24 -17
  3. robosystems_client/api/agent/batch_process_queries.py +24 -17
  4. robosystems_client/api/agent/execute_specific_agent.py +24 -17
  5. robosystems_client/api/agent/get_agent_metadata.py +24 -17
  6. robosystems_client/api/agent/list_agents.py +20 -18
  7. robosystems_client/api/agent/recommend_agent.py +24 -17
  8. robosystems_client/api/auth/forgot_password.py +191 -0
  9. robosystems_client/api/auth/generate_sso_token.py +18 -0
  10. robosystems_client/api/auth/get_current_auth_user.py +4 -22
  11. robosystems_client/api/auth/logout_user.py +17 -17
  12. robosystems_client/api/auth/{refresh_session.py → refresh_auth_session.py} +21 -21
  13. robosystems_client/api/auth/resend_verification_email.py +222 -0
  14. robosystems_client/api/auth/reset_password.py +177 -0
  15. robosystems_client/api/auth/validate_reset_token.py +171 -0
  16. robosystems_client/api/auth/verify_email.py +177 -0
  17. robosystems_client/api/backup/create_backup.py +24 -17
  18. robosystems_client/api/backup/export_backup.py +24 -17
  19. robosystems_client/api/backup/get_backup_download_url.py +20 -18
  20. robosystems_client/api/backup/get_backup_stats.py +24 -17
  21. robosystems_client/api/backup/list_backups.py +20 -18
  22. robosystems_client/api/backup/restore_backup.py +24 -17
  23. robosystems_client/api/connections/create_connection.py +24 -17
  24. robosystems_client/api/connections/create_link_token.py +24 -17
  25. robosystems_client/api/connections/delete_connection.py +24 -17
  26. robosystems_client/api/connections/exchange_link_token.py +24 -17
  27. robosystems_client/api/connections/get_connection.py +24 -17
  28. robosystems_client/api/connections/get_connection_options.py +24 -17
  29. robosystems_client/api/connections/init_o_auth.py +24 -17
  30. robosystems_client/api/connections/list_connections.py +20 -18
  31. robosystems_client/api/connections/oauth_callback.py +28 -21
  32. robosystems_client/api/connections/sync_connection.py +24 -17
  33. robosystems_client/api/copy/copy_data_to_graph.py +24 -17
  34. robosystems_client/api/create/create_graph.py +24 -17
  35. robosystems_client/api/graph_analytics/get_graph_metrics.py +24 -17
  36. robosystems_client/api/graph_analytics/get_graph_usage_stats.py +20 -18
  37. robosystems_client/api/graph_billing/get_current_graph_bill.py +24 -17
  38. robosystems_client/api/graph_billing/get_graph_billing_history.py +20 -18
  39. robosystems_client/api/graph_billing/get_graph_monthly_bill.py +24 -17
  40. robosystems_client/api/graph_billing/get_graph_usage_details.py +20 -18
  41. robosystems_client/api/graph_credits/check_credit_balance.py +20 -18
  42. robosystems_client/api/graph_credits/check_storage_limits.py +24 -17
  43. robosystems_client/api/graph_credits/get_credit_summary.py +24 -17
  44. robosystems_client/api/graph_credits/get_storage_usage.py +20 -18
  45. robosystems_client/api/graph_credits/list_credit_transactions.py +20 -18
  46. robosystems_client/api/graph_health/get_database_health.py +24 -17
  47. robosystems_client/api/graph_info/get_database_info.py +24 -17
  48. robosystems_client/api/graph_limits/get_graph_limits.py +24 -17
  49. robosystems_client/api/mcp/call_mcp_tool.py +20 -18
  50. robosystems_client/api/mcp/list_mcp_tools.py +24 -17
  51. robosystems_client/api/operations/cancel_operation.py +24 -17
  52. robosystems_client/api/operations/get_operation_status.py +24 -17
  53. robosystems_client/api/operations/stream_operation_events.py +20 -18
  54. robosystems_client/api/query/execute_cypher_query.py +20 -18
  55. robosystems_client/api/schema/export_graph_schema.py +20 -18
  56. robosystems_client/api/schema/get_graph_schema_info.py +24 -17
  57. robosystems_client/api/schema/list_schema_extensions.py +24 -17
  58. robosystems_client/api/schema/validate_schema.py +24 -17
  59. robosystems_client/api/subgraphs/create_subgraph.py +24 -17
  60. robosystems_client/api/subgraphs/delete_subgraph.py +24 -17
  61. robosystems_client/api/subgraphs/get_subgraph_info.py +24 -17
  62. robosystems_client/api/subgraphs/get_subgraph_quota.py +24 -17
  63. robosystems_client/api/subgraphs/list_subgraphs.py +24 -17
  64. robosystems_client/api/user/create_user_api_key.py +24 -17
  65. robosystems_client/api/user/get_all_credit_summaries.py +24 -17
  66. robosystems_client/api/user/get_current_user.py +24 -17
  67. robosystems_client/api/user/get_user_graphs.py +24 -17
  68. robosystems_client/api/user/list_user_api_keys.py +24 -17
  69. robosystems_client/api/user/revoke_user_api_key.py +24 -17
  70. robosystems_client/api/user/select_user_graph.py +24 -17
  71. robosystems_client/api/user/update_user.py +24 -17
  72. robosystems_client/api/user/update_user_api_key.py +24 -17
  73. robosystems_client/api/user/update_user_password.py +24 -17
  74. robosystems_client/api/user_analytics/get_detailed_user_analytics.py +20 -18
  75. robosystems_client/api/user_analytics/get_user_usage_overview.py +24 -17
  76. robosystems_client/api/user_limits/get_all_shared_repository_limits.py +24 -17
  77. robosystems_client/api/user_limits/get_shared_repository_limits.py +24 -17
  78. robosystems_client/api/user_limits/get_user_limits.py +24 -17
  79. robosystems_client/api/user_limits/get_user_usage.py +24 -17
  80. robosystems_client/api/user_subscriptions/cancel_shared_repository_subscription.py +24 -17
  81. robosystems_client/api/user_subscriptions/get_repository_credits.py +24 -17
  82. robosystems_client/api/user_subscriptions/get_shared_repository_credits.py +24 -17
  83. robosystems_client/api/user_subscriptions/get_user_shared_subscriptions.py +20 -18
  84. robosystems_client/api/user_subscriptions/subscribe_to_shared_repository.py +24 -17
  85. robosystems_client/api/user_subscriptions/upgrade_shared_repository_subscription.py +24 -17
  86. robosystems_client/extensions/__init__.py +70 -0
  87. robosystems_client/extensions/auth_integration.py +14 -1
  88. robosystems_client/extensions/copy_client.py +32 -22
  89. robosystems_client/extensions/dataframe_utils.py +455 -0
  90. robosystems_client/extensions/extensions.py +16 -0
  91. robosystems_client/extensions/operation_client.py +43 -21
  92. robosystems_client/extensions/query_client.py +109 -12
  93. robosystems_client/extensions/tests/test_dataframe_utils.py +334 -0
  94. robosystems_client/extensions/tests/test_integration.py +1 -1
  95. robosystems_client/extensions/tests/test_token_utils.py +274 -0
  96. robosystems_client/extensions/token_utils.py +417 -0
  97. robosystems_client/extensions/utils.py +32 -2
  98. robosystems_client/models/__init__.py +16 -0
  99. robosystems_client/models/email_verification_request.py +60 -0
  100. robosystems_client/models/forgot_password_request.py +60 -0
  101. robosystems_client/models/forgot_password_response_forgotpassword.py +44 -0
  102. robosystems_client/models/resend_verification_email_response_resendverificationemail.py +44 -0
  103. robosystems_client/models/reset_password_request.py +68 -0
  104. robosystems_client/models/reset_password_validate_response.py +82 -0
  105. robosystems_client-0.1.18.dist-info/METADATA +89 -0
  106. {robosystems_client-0.1.16.dist-info → robosystems_client-0.1.18.dist-info}/RECORD +108 -92
  107. robosystems_client-0.1.18.dist-info/licenses/LICENSE +21 -0
  108. robosystems_client-0.1.16.dist-info/METADATA +0 -302
  109. {robosystems_client-0.1.16.dist-info → robosystems_client-0.1.18.dist-info}/WHEEL +0 -0
@@ -15,21 +15,28 @@ def _get_kwargs(
15
15
  graph_id: str,
16
16
  *,
17
17
  body: BackupRestoreRequest,
18
+ token: Union[None, Unset, str] = UNSET,
18
19
  authorization: Union[None, Unset, str] = UNSET,
19
- auth_token: Union[None, Unset, str] = UNSET,
20
20
  ) -> dict[str, Any]:
21
21
  headers: dict[str, Any] = {}
22
22
  if not isinstance(authorization, Unset):
23
23
  headers["authorization"] = authorization
24
24
 
25
- cookies = {}
26
- if auth_token is not UNSET:
27
- cookies["auth-token"] = auth_token
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}
28
35
 
29
36
  _kwargs: dict[str, Any] = {
30
37
  "method": "post",
31
38
  "url": f"/v1/{graph_id}/backups/restore",
32
- "cookies": cookies,
39
+ "params": params,
33
40
  }
34
41
 
35
42
  _kwargs["json"] = body.to_dict()
@@ -88,8 +95,8 @@ def sync_detailed(
88
95
  *,
89
96
  client: AuthenticatedClient,
90
97
  body: BackupRestoreRequest,
98
+ token: Union[None, Unset, str] = UNSET,
91
99
  authorization: Union[None, Unset, str] = UNSET,
92
- auth_token: Union[None, Unset, str] = UNSET,
93
100
  ) -> Response[Union[Any, ErrorResponse, HTTPValidationError]]:
94
101
  """Restore Encrypted Backup
95
102
 
@@ -138,8 +145,8 @@ def sync_detailed(
138
145
 
139
146
  Args:
140
147
  graph_id (str): Graph database identifier
148
+ token (Union[None, Unset, str]): JWT token for SSE authentication
141
149
  authorization (Union[None, Unset, str]):
142
- auth_token (Union[None, Unset, str]):
143
150
  body (BackupRestoreRequest): Request model for restoring from a backup.
144
151
 
145
152
  Raises:
@@ -153,8 +160,8 @@ def sync_detailed(
153
160
  kwargs = _get_kwargs(
154
161
  graph_id=graph_id,
155
162
  body=body,
163
+ token=token,
156
164
  authorization=authorization,
157
- auth_token=auth_token,
158
165
  )
159
166
 
160
167
  response = client.get_httpx_client().request(
@@ -169,8 +176,8 @@ def sync(
169
176
  *,
170
177
  client: AuthenticatedClient,
171
178
  body: BackupRestoreRequest,
179
+ token: Union[None, Unset, str] = UNSET,
172
180
  authorization: Union[None, Unset, str] = UNSET,
173
- auth_token: Union[None, Unset, str] = UNSET,
174
181
  ) -> Optional[Union[Any, ErrorResponse, HTTPValidationError]]:
175
182
  """Restore Encrypted Backup
176
183
 
@@ -219,8 +226,8 @@ def sync(
219
226
 
220
227
  Args:
221
228
  graph_id (str): Graph database identifier
229
+ token (Union[None, Unset, str]): JWT token for SSE authentication
222
230
  authorization (Union[None, Unset, str]):
223
- auth_token (Union[None, Unset, str]):
224
231
  body (BackupRestoreRequest): Request model for restoring from a backup.
225
232
 
226
233
  Raises:
@@ -235,8 +242,8 @@ def sync(
235
242
  graph_id=graph_id,
236
243
  client=client,
237
244
  body=body,
245
+ token=token,
238
246
  authorization=authorization,
239
- auth_token=auth_token,
240
247
  ).parsed
241
248
 
242
249
 
@@ -245,8 +252,8 @@ async def asyncio_detailed(
245
252
  *,
246
253
  client: AuthenticatedClient,
247
254
  body: BackupRestoreRequest,
255
+ token: Union[None, Unset, str] = UNSET,
248
256
  authorization: Union[None, Unset, str] = UNSET,
249
- auth_token: Union[None, Unset, str] = UNSET,
250
257
  ) -> Response[Union[Any, ErrorResponse, HTTPValidationError]]:
251
258
  """Restore Encrypted Backup
252
259
 
@@ -295,8 +302,8 @@ async def asyncio_detailed(
295
302
 
296
303
  Args:
297
304
  graph_id (str): Graph database identifier
305
+ token (Union[None, Unset, str]): JWT token for SSE authentication
298
306
  authorization (Union[None, Unset, str]):
299
- auth_token (Union[None, Unset, str]):
300
307
  body (BackupRestoreRequest): Request model for restoring from a backup.
301
308
 
302
309
  Raises:
@@ -310,8 +317,8 @@ async def asyncio_detailed(
310
317
  kwargs = _get_kwargs(
311
318
  graph_id=graph_id,
312
319
  body=body,
320
+ token=token,
313
321
  authorization=authorization,
314
- auth_token=auth_token,
315
322
  )
316
323
 
317
324
  response = await client.get_async_httpx_client().request(**kwargs)
@@ -324,8 +331,8 @@ async def asyncio(
324
331
  *,
325
332
  client: AuthenticatedClient,
326
333
  body: BackupRestoreRequest,
334
+ token: Union[None, Unset, str] = UNSET,
327
335
  authorization: Union[None, Unset, str] = UNSET,
328
- auth_token: Union[None, Unset, str] = UNSET,
329
336
  ) -> Optional[Union[Any, ErrorResponse, HTTPValidationError]]:
330
337
  """Restore Encrypted Backup
331
338
 
@@ -374,8 +381,8 @@ async def asyncio(
374
381
 
375
382
  Args:
376
383
  graph_id (str): Graph database identifier
384
+ token (Union[None, Unset, str]): JWT token for SSE authentication
377
385
  authorization (Union[None, Unset, str]):
378
- auth_token (Union[None, Unset, str]):
379
386
  body (BackupRestoreRequest): Request model for restoring from a backup.
380
387
 
381
388
  Raises:
@@ -391,7 +398,7 @@ async def asyncio(
391
398
  graph_id=graph_id,
392
399
  client=client,
393
400
  body=body,
401
+ token=token,
394
402
  authorization=authorization,
395
- auth_token=auth_token,
396
403
  )
397
404
  ).parsed
@@ -16,21 +16,28 @@ def _get_kwargs(
16
16
  graph_id: str,
17
17
  *,
18
18
  body: CreateConnectionRequest,
19
+ token: Union[None, Unset, str] = UNSET,
19
20
  authorization: Union[None, Unset, str] = UNSET,
20
- auth_token: Union[None, Unset, str] = UNSET,
21
21
  ) -> dict[str, Any]:
22
22
  headers: dict[str, Any] = {}
23
23
  if not isinstance(authorization, Unset):
24
24
  headers["authorization"] = authorization
25
25
 
26
- cookies = {}
27
- if auth_token is not UNSET:
28
- cookies["auth-token"] = auth_token
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}
29
36
 
30
37
  _kwargs: dict[str, Any] = {
31
38
  "method": "post",
32
39
  "url": f"/v1/{graph_id}/connections",
33
- "cookies": cookies,
40
+ "params": params,
34
41
  }
35
42
 
36
43
  _kwargs["json"] = body.to_dict()
@@ -90,8 +97,8 @@ def sync_detailed(
90
97
  *,
91
98
  client: AuthenticatedClient,
92
99
  body: CreateConnectionRequest,
100
+ token: Union[None, Unset, str] = UNSET,
93
101
  authorization: Union[None, Unset, str] = UNSET,
94
- auth_token: Union[None, Unset, str] = UNSET,
95
102
  ) -> Response[Union[ConnectionResponse, ErrorResponse, HTTPValidationError]]:
96
103
  """Create Connection
97
104
 
@@ -119,8 +126,8 @@ def sync_detailed(
119
126
 
120
127
  Args:
121
128
  graph_id (str): Graph database identifier
129
+ token (Union[None, Unset, str]): JWT token for SSE authentication
122
130
  authorization (Union[None, Unset, str]):
123
- auth_token (Union[None, Unset, str]):
124
131
  body (CreateConnectionRequest): Request to create a new connection.
125
132
 
126
133
  Raises:
@@ -134,8 +141,8 @@ def sync_detailed(
134
141
  kwargs = _get_kwargs(
135
142
  graph_id=graph_id,
136
143
  body=body,
144
+ token=token,
137
145
  authorization=authorization,
138
- auth_token=auth_token,
139
146
  )
140
147
 
141
148
  response = client.get_httpx_client().request(
@@ -150,8 +157,8 @@ def sync(
150
157
  *,
151
158
  client: AuthenticatedClient,
152
159
  body: CreateConnectionRequest,
160
+ token: Union[None, Unset, str] = UNSET,
153
161
  authorization: Union[None, Unset, str] = UNSET,
154
- auth_token: Union[None, Unset, str] = UNSET,
155
162
  ) -> Optional[Union[ConnectionResponse, ErrorResponse, HTTPValidationError]]:
156
163
  """Create Connection
157
164
 
@@ -179,8 +186,8 @@ def sync(
179
186
 
180
187
  Args:
181
188
  graph_id (str): Graph database identifier
189
+ token (Union[None, Unset, str]): JWT token for SSE authentication
182
190
  authorization (Union[None, Unset, str]):
183
- auth_token (Union[None, Unset, str]):
184
191
  body (CreateConnectionRequest): Request to create a new connection.
185
192
 
186
193
  Raises:
@@ -195,8 +202,8 @@ def sync(
195
202
  graph_id=graph_id,
196
203
  client=client,
197
204
  body=body,
205
+ token=token,
198
206
  authorization=authorization,
199
- auth_token=auth_token,
200
207
  ).parsed
201
208
 
202
209
 
@@ -205,8 +212,8 @@ async def asyncio_detailed(
205
212
  *,
206
213
  client: AuthenticatedClient,
207
214
  body: CreateConnectionRequest,
215
+ token: Union[None, Unset, str] = UNSET,
208
216
  authorization: Union[None, Unset, str] = UNSET,
209
- auth_token: Union[None, Unset, str] = UNSET,
210
217
  ) -> Response[Union[ConnectionResponse, ErrorResponse, HTTPValidationError]]:
211
218
  """Create Connection
212
219
 
@@ -234,8 +241,8 @@ async def asyncio_detailed(
234
241
 
235
242
  Args:
236
243
  graph_id (str): Graph database identifier
244
+ token (Union[None, Unset, str]): JWT token for SSE authentication
237
245
  authorization (Union[None, Unset, str]):
238
- auth_token (Union[None, Unset, str]):
239
246
  body (CreateConnectionRequest): Request to create a new connection.
240
247
 
241
248
  Raises:
@@ -249,8 +256,8 @@ async def asyncio_detailed(
249
256
  kwargs = _get_kwargs(
250
257
  graph_id=graph_id,
251
258
  body=body,
259
+ token=token,
252
260
  authorization=authorization,
253
- auth_token=auth_token,
254
261
  )
255
262
 
256
263
  response = await client.get_async_httpx_client().request(**kwargs)
@@ -263,8 +270,8 @@ async def asyncio(
263
270
  *,
264
271
  client: AuthenticatedClient,
265
272
  body: CreateConnectionRequest,
273
+ token: Union[None, Unset, str] = UNSET,
266
274
  authorization: Union[None, Unset, str] = UNSET,
267
- auth_token: Union[None, Unset, str] = UNSET,
268
275
  ) -> Optional[Union[ConnectionResponse, ErrorResponse, HTTPValidationError]]:
269
276
  """Create Connection
270
277
 
@@ -292,8 +299,8 @@ async def asyncio(
292
299
 
293
300
  Args:
294
301
  graph_id (str): Graph database identifier
302
+ token (Union[None, Unset, str]): JWT token for SSE authentication
295
303
  authorization (Union[None, Unset, str]):
296
- auth_token (Union[None, Unset, str]):
297
304
  body (CreateConnectionRequest): Request to create a new connection.
298
305
 
299
306
  Raises:
@@ -309,7 +316,7 @@ async def asyncio(
309
316
  graph_id=graph_id,
310
317
  client=client,
311
318
  body=body,
319
+ token=token,
312
320
  authorization=authorization,
313
- auth_token=auth_token,
314
321
  )
315
322
  ).parsed
@@ -15,21 +15,28 @@ def _get_kwargs(
15
15
  graph_id: str,
16
16
  *,
17
17
  body: LinkTokenRequest,
18
+ token: Union[None, Unset, str] = UNSET,
18
19
  authorization: Union[None, Unset, str] = UNSET,
19
- auth_token: Union[None, Unset, str] = UNSET,
20
20
  ) -> dict[str, Any]:
21
21
  headers: dict[str, Any] = {}
22
22
  if not isinstance(authorization, Unset):
23
23
  headers["authorization"] = authorization
24
24
 
25
- cookies = {}
26
- if auth_token is not UNSET:
27
- cookies["auth-token"] = auth_token
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}
28
35
 
29
36
  _kwargs: dict[str, Any] = {
30
37
  "method": "post",
31
38
  "url": f"/v1/{graph_id}/connections/link/token",
32
- "cookies": cookies,
39
+ "params": params,
33
40
  }
34
41
 
35
42
  _kwargs["json"] = body.to_dict()
@@ -84,8 +91,8 @@ def sync_detailed(
84
91
  *,
85
92
  client: AuthenticatedClient,
86
93
  body: LinkTokenRequest,
94
+ token: Union[None, Unset, str] = UNSET,
87
95
  authorization: Union[None, Unset, str] = UNSET,
88
- auth_token: Union[None, Unset, str] = UNSET,
89
96
  ) -> Response[Union[Any, ErrorResponse, HTTPValidationError]]:
90
97
  """Create Link Token
91
98
 
@@ -106,8 +113,8 @@ def sync_detailed(
106
113
 
107
114
  Args:
108
115
  graph_id (str): Graph database identifier
116
+ token (Union[None, Unset, str]): JWT token for SSE authentication
109
117
  authorization (Union[None, Unset, str]):
110
- auth_token (Union[None, Unset, str]):
111
118
  body (LinkTokenRequest): Request to create a link token for embedded authentication.
112
119
 
113
120
  Raises:
@@ -121,8 +128,8 @@ def sync_detailed(
121
128
  kwargs = _get_kwargs(
122
129
  graph_id=graph_id,
123
130
  body=body,
131
+ token=token,
124
132
  authorization=authorization,
125
- auth_token=auth_token,
126
133
  )
127
134
 
128
135
  response = client.get_httpx_client().request(
@@ -137,8 +144,8 @@ def sync(
137
144
  *,
138
145
  client: AuthenticatedClient,
139
146
  body: LinkTokenRequest,
147
+ token: Union[None, Unset, str] = UNSET,
140
148
  authorization: Union[None, Unset, str] = UNSET,
141
- auth_token: Union[None, Unset, str] = UNSET,
142
149
  ) -> Optional[Union[Any, ErrorResponse, HTTPValidationError]]:
143
150
  """Create Link Token
144
151
 
@@ -159,8 +166,8 @@ def sync(
159
166
 
160
167
  Args:
161
168
  graph_id (str): Graph database identifier
169
+ token (Union[None, Unset, str]): JWT token for SSE authentication
162
170
  authorization (Union[None, Unset, str]):
163
- auth_token (Union[None, Unset, str]):
164
171
  body (LinkTokenRequest): Request to create a link token for embedded authentication.
165
172
 
166
173
  Raises:
@@ -175,8 +182,8 @@ def sync(
175
182
  graph_id=graph_id,
176
183
  client=client,
177
184
  body=body,
185
+ token=token,
178
186
  authorization=authorization,
179
- auth_token=auth_token,
180
187
  ).parsed
181
188
 
182
189
 
@@ -185,8 +192,8 @@ async def asyncio_detailed(
185
192
  *,
186
193
  client: AuthenticatedClient,
187
194
  body: LinkTokenRequest,
195
+ token: Union[None, Unset, str] = UNSET,
188
196
  authorization: Union[None, Unset, str] = UNSET,
189
- auth_token: Union[None, Unset, str] = UNSET,
190
197
  ) -> Response[Union[Any, ErrorResponse, HTTPValidationError]]:
191
198
  """Create Link Token
192
199
 
@@ -207,8 +214,8 @@ async def asyncio_detailed(
207
214
 
208
215
  Args:
209
216
  graph_id (str): Graph database identifier
217
+ token (Union[None, Unset, str]): JWT token for SSE authentication
210
218
  authorization (Union[None, Unset, str]):
211
- auth_token (Union[None, Unset, str]):
212
219
  body (LinkTokenRequest): Request to create a link token for embedded authentication.
213
220
 
214
221
  Raises:
@@ -222,8 +229,8 @@ async def asyncio_detailed(
222
229
  kwargs = _get_kwargs(
223
230
  graph_id=graph_id,
224
231
  body=body,
232
+ token=token,
225
233
  authorization=authorization,
226
- auth_token=auth_token,
227
234
  )
228
235
 
229
236
  response = await client.get_async_httpx_client().request(**kwargs)
@@ -236,8 +243,8 @@ async def asyncio(
236
243
  *,
237
244
  client: AuthenticatedClient,
238
245
  body: LinkTokenRequest,
246
+ token: Union[None, Unset, str] = UNSET,
239
247
  authorization: Union[None, Unset, str] = UNSET,
240
- auth_token: Union[None, Unset, str] = UNSET,
241
248
  ) -> Optional[Union[Any, ErrorResponse, HTTPValidationError]]:
242
249
  """Create Link Token
243
250
 
@@ -258,8 +265,8 @@ async def asyncio(
258
265
 
259
266
  Args:
260
267
  graph_id (str): Graph database identifier
268
+ token (Union[None, Unset, str]): JWT token for SSE authentication
261
269
  authorization (Union[None, Unset, str]):
262
- auth_token (Union[None, Unset, str]):
263
270
  body (LinkTokenRequest): Request to create a link token for embedded authentication.
264
271
 
265
272
  Raises:
@@ -275,7 +282,7 @@ async def asyncio(
275
282
  graph_id=graph_id,
276
283
  client=client,
277
284
  body=body,
285
+ token=token,
278
286
  authorization=authorization,
279
- auth_token=auth_token,
280
287
  )
281
288
  ).parsed
@@ -15,21 +15,28 @@ def _get_kwargs(
15
15
  graph_id: str,
16
16
  connection_id: str,
17
17
  *,
18
+ token: Union[None, Unset, str] = UNSET,
18
19
  authorization: Union[None, Unset, str] = UNSET,
19
- auth_token: Union[None, Unset, str] = UNSET,
20
20
  ) -> dict[str, Any]:
21
21
  headers: dict[str, Any] = {}
22
22
  if not isinstance(authorization, Unset):
23
23
  headers["authorization"] = authorization
24
24
 
25
- cookies = {}
26
- if auth_token is not UNSET:
27
- cookies["auth-token"] = auth_token
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}
28
35
 
29
36
  _kwargs: dict[str, Any] = {
30
37
  "method": "delete",
31
38
  "url": f"/v1/{graph_id}/connections/{connection_id}",
32
- "cookies": cookies,
39
+ "params": params,
33
40
  }
34
41
 
35
42
  _kwargs["headers"] = headers
@@ -81,8 +88,8 @@ def sync_detailed(
81
88
  connection_id: str,
82
89
  *,
83
90
  client: AuthenticatedClient,
91
+ token: Union[None, Unset, str] = UNSET,
84
92
  authorization: Union[None, Unset, str] = UNSET,
85
- auth_token: Union[None, Unset, str] = UNSET,
86
93
  ) -> Response[Union[ErrorResponse, HTTPValidationError, SuccessResponse]]:
87
94
  """Delete Connection
88
95
 
@@ -102,8 +109,8 @@ def sync_detailed(
102
109
  Args:
103
110
  graph_id (str): Graph database identifier
104
111
  connection_id (str): Connection identifier
112
+ token (Union[None, Unset, str]): JWT token for SSE authentication
105
113
  authorization (Union[None, Unset, str]):
106
- auth_token (Union[None, Unset, str]):
107
114
 
108
115
  Raises:
109
116
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -116,8 +123,8 @@ def sync_detailed(
116
123
  kwargs = _get_kwargs(
117
124
  graph_id=graph_id,
118
125
  connection_id=connection_id,
126
+ token=token,
119
127
  authorization=authorization,
120
- auth_token=auth_token,
121
128
  )
122
129
 
123
130
  response = client.get_httpx_client().request(
@@ -132,8 +139,8 @@ def sync(
132
139
  connection_id: str,
133
140
  *,
134
141
  client: AuthenticatedClient,
142
+ token: Union[None, Unset, str] = UNSET,
135
143
  authorization: Union[None, Unset, str] = UNSET,
136
- auth_token: Union[None, Unset, str] = UNSET,
137
144
  ) -> Optional[Union[ErrorResponse, HTTPValidationError, SuccessResponse]]:
138
145
  """Delete Connection
139
146
 
@@ -153,8 +160,8 @@ def sync(
153
160
  Args:
154
161
  graph_id (str): Graph database identifier
155
162
  connection_id (str): Connection identifier
163
+ token (Union[None, Unset, str]): JWT token for SSE authentication
156
164
  authorization (Union[None, Unset, str]):
157
- auth_token (Union[None, Unset, str]):
158
165
 
159
166
  Raises:
160
167
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -168,8 +175,8 @@ def sync(
168
175
  graph_id=graph_id,
169
176
  connection_id=connection_id,
170
177
  client=client,
178
+ token=token,
171
179
  authorization=authorization,
172
- auth_token=auth_token,
173
180
  ).parsed
174
181
 
175
182
 
@@ -178,8 +185,8 @@ async def asyncio_detailed(
178
185
  connection_id: str,
179
186
  *,
180
187
  client: AuthenticatedClient,
188
+ token: Union[None, Unset, str] = UNSET,
181
189
  authorization: Union[None, Unset, str] = UNSET,
182
- auth_token: Union[None, Unset, str] = UNSET,
183
190
  ) -> Response[Union[ErrorResponse, HTTPValidationError, SuccessResponse]]:
184
191
  """Delete Connection
185
192
 
@@ -199,8 +206,8 @@ async def asyncio_detailed(
199
206
  Args:
200
207
  graph_id (str): Graph database identifier
201
208
  connection_id (str): Connection identifier
209
+ token (Union[None, Unset, str]): JWT token for SSE authentication
202
210
  authorization (Union[None, Unset, str]):
203
- auth_token (Union[None, Unset, str]):
204
211
 
205
212
  Raises:
206
213
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -213,8 +220,8 @@ async def asyncio_detailed(
213
220
  kwargs = _get_kwargs(
214
221
  graph_id=graph_id,
215
222
  connection_id=connection_id,
223
+ token=token,
216
224
  authorization=authorization,
217
- auth_token=auth_token,
218
225
  )
219
226
 
220
227
  response = await client.get_async_httpx_client().request(**kwargs)
@@ -227,8 +234,8 @@ async def asyncio(
227
234
  connection_id: str,
228
235
  *,
229
236
  client: AuthenticatedClient,
237
+ token: Union[None, Unset, str] = UNSET,
230
238
  authorization: Union[None, Unset, str] = UNSET,
231
- auth_token: Union[None, Unset, str] = UNSET,
232
239
  ) -> Optional[Union[ErrorResponse, HTTPValidationError, SuccessResponse]]:
233
240
  """Delete Connection
234
241
 
@@ -248,8 +255,8 @@ async def asyncio(
248
255
  Args:
249
256
  graph_id (str): Graph database identifier
250
257
  connection_id (str): Connection identifier
258
+ token (Union[None, Unset, str]): JWT token for SSE authentication
251
259
  authorization (Union[None, Unset, str]):
252
- auth_token (Union[None, Unset, str]):
253
260
 
254
261
  Raises:
255
262
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -264,7 +271,7 @@ async def asyncio(
264
271
  graph_id=graph_id,
265
272
  connection_id=connection_id,
266
273
  client=client,
274
+ token=token,
267
275
  authorization=authorization,
268
- auth_token=auth_token,
269
276
  )
270
277
  ).parsed