robosystems-client 0.1.16__py3-none-any.whl → 0.1.17__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of robosystems-client might be problematic. Click here for more details.
- robosystems_client/api/agent/auto_select_agent.py +0 -18
- robosystems_client/api/agent/batch_process_queries.py +0 -18
- robosystems_client/api/agent/execute_specific_agent.py +0 -18
- robosystems_client/api/agent/get_agent_metadata.py +0 -18
- robosystems_client/api/agent/list_agents.py +0 -18
- robosystems_client/api/agent/recommend_agent.py +0 -18
- robosystems_client/api/auth/forgot_password.py +191 -0
- robosystems_client/api/auth/generate_sso_token.py +18 -0
- robosystems_client/api/auth/get_current_auth_user.py +4 -22
- robosystems_client/api/auth/logout_user.py +17 -17
- robosystems_client/api/auth/{refresh_session.py → refresh_auth_session.py} +21 -21
- robosystems_client/api/auth/resend_verification_email.py +222 -0
- robosystems_client/api/auth/reset_password.py +177 -0
- robosystems_client/api/auth/validate_reset_token.py +171 -0
- robosystems_client/api/auth/verify_email.py +177 -0
- robosystems_client/api/backup/create_backup.py +0 -18
- robosystems_client/api/backup/export_backup.py +0 -18
- robosystems_client/api/backup/get_backup_download_url.py +0 -18
- robosystems_client/api/backup/get_backup_stats.py +0 -18
- robosystems_client/api/backup/list_backups.py +0 -18
- robosystems_client/api/backup/restore_backup.py +0 -18
- robosystems_client/api/connections/create_connection.py +0 -18
- robosystems_client/api/connections/create_link_token.py +0 -18
- robosystems_client/api/connections/delete_connection.py +0 -18
- robosystems_client/api/connections/exchange_link_token.py +0 -18
- robosystems_client/api/connections/get_connection.py +0 -18
- robosystems_client/api/connections/get_connection_options.py +0 -18
- robosystems_client/api/connections/init_o_auth.py +0 -18
- robosystems_client/api/connections/list_connections.py +0 -18
- robosystems_client/api/connections/oauth_callback.py +4 -22
- robosystems_client/api/connections/sync_connection.py +0 -18
- robosystems_client/api/copy/copy_data_to_graph.py +0 -18
- robosystems_client/api/create/create_graph.py +0 -18
- robosystems_client/api/graph_analytics/get_graph_metrics.py +0 -18
- robosystems_client/api/graph_analytics/get_graph_usage_stats.py +0 -18
- robosystems_client/api/graph_billing/get_current_graph_bill.py +0 -18
- robosystems_client/api/graph_billing/get_graph_billing_history.py +0 -18
- robosystems_client/api/graph_billing/get_graph_monthly_bill.py +0 -18
- robosystems_client/api/graph_billing/get_graph_usage_details.py +0 -18
- robosystems_client/api/graph_credits/check_credit_balance.py +0 -18
- robosystems_client/api/graph_credits/check_storage_limits.py +0 -18
- robosystems_client/api/graph_credits/get_credit_summary.py +0 -18
- robosystems_client/api/graph_credits/get_storage_usage.py +0 -18
- robosystems_client/api/graph_credits/list_credit_transactions.py +0 -18
- robosystems_client/api/graph_health/get_database_health.py +0 -18
- robosystems_client/api/graph_info/get_database_info.py +0 -18
- robosystems_client/api/graph_limits/get_graph_limits.py +0 -18
- robosystems_client/api/mcp/call_mcp_tool.py +0 -18
- robosystems_client/api/mcp/list_mcp_tools.py +0 -18
- robosystems_client/api/operations/cancel_operation.py +0 -18
- robosystems_client/api/operations/get_operation_status.py +0 -18
- robosystems_client/api/operations/stream_operation_events.py +0 -18
- robosystems_client/api/query/execute_cypher_query.py +0 -18
- robosystems_client/api/schema/export_graph_schema.py +0 -18
- robosystems_client/api/schema/get_graph_schema_info.py +0 -18
- robosystems_client/api/schema/list_schema_extensions.py +0 -18
- robosystems_client/api/schema/validate_schema.py +0 -18
- robosystems_client/api/subgraphs/create_subgraph.py +0 -18
- robosystems_client/api/subgraphs/delete_subgraph.py +0 -18
- robosystems_client/api/subgraphs/get_subgraph_info.py +0 -18
- robosystems_client/api/subgraphs/get_subgraph_quota.py +0 -18
- robosystems_client/api/subgraphs/list_subgraphs.py +0 -18
- robosystems_client/api/user/create_user_api_key.py +0 -18
- robosystems_client/api/user/get_all_credit_summaries.py +0 -18
- robosystems_client/api/user/get_current_user.py +0 -18
- robosystems_client/api/user/get_user_graphs.py +0 -18
- robosystems_client/api/user/list_user_api_keys.py +0 -18
- robosystems_client/api/user/revoke_user_api_key.py +0 -18
- robosystems_client/api/user/select_user_graph.py +0 -18
- robosystems_client/api/user/update_user.py +0 -18
- robosystems_client/api/user/update_user_api_key.py +0 -18
- robosystems_client/api/user/update_user_password.py +0 -18
- robosystems_client/api/user_analytics/get_detailed_user_analytics.py +0 -18
- robosystems_client/api/user_analytics/get_user_usage_overview.py +0 -18
- robosystems_client/api/user_limits/get_all_shared_repository_limits.py +0 -18
- robosystems_client/api/user_limits/get_shared_repository_limits.py +0 -18
- robosystems_client/api/user_limits/get_user_limits.py +0 -18
- robosystems_client/api/user_limits/get_user_usage.py +0 -18
- robosystems_client/api/user_subscriptions/cancel_shared_repository_subscription.py +0 -18
- robosystems_client/api/user_subscriptions/get_repository_credits.py +0 -18
- robosystems_client/api/user_subscriptions/get_shared_repository_credits.py +0 -18
- robosystems_client/api/user_subscriptions/get_user_shared_subscriptions.py +0 -18
- robosystems_client/api/user_subscriptions/subscribe_to_shared_repository.py +0 -18
- robosystems_client/api/user_subscriptions/upgrade_shared_repository_subscription.py +0 -18
- robosystems_client/models/__init__.py +16 -0
- robosystems_client/models/email_verification_request.py +60 -0
- robosystems_client/models/forgot_password_request.py +60 -0
- robosystems_client/models/forgot_password_response_forgotpassword.py +44 -0
- robosystems_client/models/resend_verification_email_response_resendverificationemail.py +44 -0
- robosystems_client/models/reset_password_request.py +68 -0
- robosystems_client/models/reset_password_validate_response.py +82 -0
- robosystems_client-0.1.17.dist-info/METADATA +89 -0
- {robosystems_client-0.1.16.dist-info → robosystems_client-0.1.17.dist-info}/RECORD +95 -83
- robosystems_client-0.1.17.dist-info/licenses/LICENSE +21 -0
- robosystems_client-0.1.16.dist-info/METADATA +0 -302
- {robosystems_client-0.1.16.dist-info → robosystems_client-0.1.17.dist-info}/WHEEL +0 -0
|
@@ -16,16 +16,11 @@ def _get_kwargs(
|
|
|
16
16
|
limit: Union[Unset, int] = 50,
|
|
17
17
|
offset: Union[Unset, int] = 0,
|
|
18
18
|
authorization: Union[None, Unset, str] = UNSET,
|
|
19
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
20
19
|
) -> dict[str, Any]:
|
|
21
20
|
headers: dict[str, Any] = {}
|
|
22
21
|
if not isinstance(authorization, Unset):
|
|
23
22
|
headers["authorization"] = authorization
|
|
24
23
|
|
|
25
|
-
cookies = {}
|
|
26
|
-
if auth_token is not UNSET:
|
|
27
|
-
cookies["auth-token"] = auth_token
|
|
28
|
-
|
|
29
24
|
params: dict[str, Any] = {}
|
|
30
25
|
|
|
31
26
|
params["limit"] = limit
|
|
@@ -38,7 +33,6 @@ def _get_kwargs(
|
|
|
38
33
|
"method": "get",
|
|
39
34
|
"url": f"/v1/{graph_id}/backups",
|
|
40
35
|
"params": params,
|
|
41
|
-
"cookies": cookies,
|
|
42
36
|
}
|
|
43
37
|
|
|
44
38
|
_kwargs["headers"] = headers
|
|
@@ -80,7 +74,6 @@ def sync_detailed(
|
|
|
80
74
|
limit: Union[Unset, int] = 50,
|
|
81
75
|
offset: Union[Unset, int] = 0,
|
|
82
76
|
authorization: Union[None, Unset, str] = UNSET,
|
|
83
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
84
77
|
) -> Response[Union[BackupListResponse, HTTPValidationError]]:
|
|
85
78
|
"""List Kuzu graph backups
|
|
86
79
|
|
|
@@ -91,7 +84,6 @@ def sync_detailed(
|
|
|
91
84
|
limit (Union[Unset, int]): Maximum number of backups to return Default: 50.
|
|
92
85
|
offset (Union[Unset, int]): Number of backups to skip Default: 0.
|
|
93
86
|
authorization (Union[None, Unset, str]):
|
|
94
|
-
auth_token (Union[None, Unset, str]):
|
|
95
87
|
|
|
96
88
|
Raises:
|
|
97
89
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -106,7 +98,6 @@ def sync_detailed(
|
|
|
106
98
|
limit=limit,
|
|
107
99
|
offset=offset,
|
|
108
100
|
authorization=authorization,
|
|
109
|
-
auth_token=auth_token,
|
|
110
101
|
)
|
|
111
102
|
|
|
112
103
|
response = client.get_httpx_client().request(
|
|
@@ -123,7 +114,6 @@ def sync(
|
|
|
123
114
|
limit: Union[Unset, int] = 50,
|
|
124
115
|
offset: Union[Unset, int] = 0,
|
|
125
116
|
authorization: Union[None, Unset, str] = UNSET,
|
|
126
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
127
117
|
) -> Optional[Union[BackupListResponse, HTTPValidationError]]:
|
|
128
118
|
"""List Kuzu graph backups
|
|
129
119
|
|
|
@@ -134,7 +124,6 @@ def sync(
|
|
|
134
124
|
limit (Union[Unset, int]): Maximum number of backups to return Default: 50.
|
|
135
125
|
offset (Union[Unset, int]): Number of backups to skip Default: 0.
|
|
136
126
|
authorization (Union[None, Unset, str]):
|
|
137
|
-
auth_token (Union[None, Unset, str]):
|
|
138
127
|
|
|
139
128
|
Raises:
|
|
140
129
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -150,7 +139,6 @@ def sync(
|
|
|
150
139
|
limit=limit,
|
|
151
140
|
offset=offset,
|
|
152
141
|
authorization=authorization,
|
|
153
|
-
auth_token=auth_token,
|
|
154
142
|
).parsed
|
|
155
143
|
|
|
156
144
|
|
|
@@ -161,7 +149,6 @@ async def asyncio_detailed(
|
|
|
161
149
|
limit: Union[Unset, int] = 50,
|
|
162
150
|
offset: Union[Unset, int] = 0,
|
|
163
151
|
authorization: Union[None, Unset, str] = UNSET,
|
|
164
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
165
152
|
) -> Response[Union[BackupListResponse, HTTPValidationError]]:
|
|
166
153
|
"""List Kuzu graph backups
|
|
167
154
|
|
|
@@ -172,7 +159,6 @@ async def asyncio_detailed(
|
|
|
172
159
|
limit (Union[Unset, int]): Maximum number of backups to return Default: 50.
|
|
173
160
|
offset (Union[Unset, int]): Number of backups to skip Default: 0.
|
|
174
161
|
authorization (Union[None, Unset, str]):
|
|
175
|
-
auth_token (Union[None, Unset, str]):
|
|
176
162
|
|
|
177
163
|
Raises:
|
|
178
164
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -187,7 +173,6 @@ async def asyncio_detailed(
|
|
|
187
173
|
limit=limit,
|
|
188
174
|
offset=offset,
|
|
189
175
|
authorization=authorization,
|
|
190
|
-
auth_token=auth_token,
|
|
191
176
|
)
|
|
192
177
|
|
|
193
178
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -202,7 +187,6 @@ async def asyncio(
|
|
|
202
187
|
limit: Union[Unset, int] = 50,
|
|
203
188
|
offset: Union[Unset, int] = 0,
|
|
204
189
|
authorization: Union[None, Unset, str] = UNSET,
|
|
205
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
206
190
|
) -> Optional[Union[BackupListResponse, HTTPValidationError]]:
|
|
207
191
|
"""List Kuzu graph backups
|
|
208
192
|
|
|
@@ -213,7 +197,6 @@ async def asyncio(
|
|
|
213
197
|
limit (Union[Unset, int]): Maximum number of backups to return Default: 50.
|
|
214
198
|
offset (Union[Unset, int]): Number of backups to skip Default: 0.
|
|
215
199
|
authorization (Union[None, Unset, str]):
|
|
216
|
-
auth_token (Union[None, Unset, str]):
|
|
217
200
|
|
|
218
201
|
Raises:
|
|
219
202
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -230,6 +213,5 @@ async def asyncio(
|
|
|
230
213
|
limit=limit,
|
|
231
214
|
offset=offset,
|
|
232
215
|
authorization=authorization,
|
|
233
|
-
auth_token=auth_token,
|
|
234
216
|
)
|
|
235
217
|
).parsed
|
|
@@ -16,20 +16,14 @@ def _get_kwargs(
|
|
|
16
16
|
*,
|
|
17
17
|
body: BackupRestoreRequest,
|
|
18
18
|
authorization: Union[None, Unset, str] = UNSET,
|
|
19
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
20
19
|
) -> dict[str, Any]:
|
|
21
20
|
headers: dict[str, Any] = {}
|
|
22
21
|
if not isinstance(authorization, Unset):
|
|
23
22
|
headers["authorization"] = authorization
|
|
24
23
|
|
|
25
|
-
cookies = {}
|
|
26
|
-
if auth_token is not UNSET:
|
|
27
|
-
cookies["auth-token"] = auth_token
|
|
28
|
-
|
|
29
24
|
_kwargs: dict[str, Any] = {
|
|
30
25
|
"method": "post",
|
|
31
26
|
"url": f"/v1/{graph_id}/backups/restore",
|
|
32
|
-
"cookies": cookies,
|
|
33
27
|
}
|
|
34
28
|
|
|
35
29
|
_kwargs["json"] = body.to_dict()
|
|
@@ -89,7 +83,6 @@ def sync_detailed(
|
|
|
89
83
|
client: AuthenticatedClient,
|
|
90
84
|
body: BackupRestoreRequest,
|
|
91
85
|
authorization: Union[None, Unset, str] = UNSET,
|
|
92
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
93
86
|
) -> Response[Union[Any, ErrorResponse, HTTPValidationError]]:
|
|
94
87
|
"""Restore Encrypted Backup
|
|
95
88
|
|
|
@@ -139,7 +132,6 @@ def sync_detailed(
|
|
|
139
132
|
Args:
|
|
140
133
|
graph_id (str): Graph database identifier
|
|
141
134
|
authorization (Union[None, Unset, str]):
|
|
142
|
-
auth_token (Union[None, Unset, str]):
|
|
143
135
|
body (BackupRestoreRequest): Request model for restoring from a backup.
|
|
144
136
|
|
|
145
137
|
Raises:
|
|
@@ -154,7 +146,6 @@ def sync_detailed(
|
|
|
154
146
|
graph_id=graph_id,
|
|
155
147
|
body=body,
|
|
156
148
|
authorization=authorization,
|
|
157
|
-
auth_token=auth_token,
|
|
158
149
|
)
|
|
159
150
|
|
|
160
151
|
response = client.get_httpx_client().request(
|
|
@@ -170,7 +161,6 @@ def sync(
|
|
|
170
161
|
client: AuthenticatedClient,
|
|
171
162
|
body: BackupRestoreRequest,
|
|
172
163
|
authorization: Union[None, Unset, str] = UNSET,
|
|
173
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
174
164
|
) -> Optional[Union[Any, ErrorResponse, HTTPValidationError]]:
|
|
175
165
|
"""Restore Encrypted Backup
|
|
176
166
|
|
|
@@ -220,7 +210,6 @@ def sync(
|
|
|
220
210
|
Args:
|
|
221
211
|
graph_id (str): Graph database identifier
|
|
222
212
|
authorization (Union[None, Unset, str]):
|
|
223
|
-
auth_token (Union[None, Unset, str]):
|
|
224
213
|
body (BackupRestoreRequest): Request model for restoring from a backup.
|
|
225
214
|
|
|
226
215
|
Raises:
|
|
@@ -236,7 +225,6 @@ def sync(
|
|
|
236
225
|
client=client,
|
|
237
226
|
body=body,
|
|
238
227
|
authorization=authorization,
|
|
239
|
-
auth_token=auth_token,
|
|
240
228
|
).parsed
|
|
241
229
|
|
|
242
230
|
|
|
@@ -246,7 +234,6 @@ async def asyncio_detailed(
|
|
|
246
234
|
client: AuthenticatedClient,
|
|
247
235
|
body: BackupRestoreRequest,
|
|
248
236
|
authorization: Union[None, Unset, str] = UNSET,
|
|
249
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
250
237
|
) -> Response[Union[Any, ErrorResponse, HTTPValidationError]]:
|
|
251
238
|
"""Restore Encrypted Backup
|
|
252
239
|
|
|
@@ -296,7 +283,6 @@ async def asyncio_detailed(
|
|
|
296
283
|
Args:
|
|
297
284
|
graph_id (str): Graph database identifier
|
|
298
285
|
authorization (Union[None, Unset, str]):
|
|
299
|
-
auth_token (Union[None, Unset, str]):
|
|
300
286
|
body (BackupRestoreRequest): Request model for restoring from a backup.
|
|
301
287
|
|
|
302
288
|
Raises:
|
|
@@ -311,7 +297,6 @@ async def asyncio_detailed(
|
|
|
311
297
|
graph_id=graph_id,
|
|
312
298
|
body=body,
|
|
313
299
|
authorization=authorization,
|
|
314
|
-
auth_token=auth_token,
|
|
315
300
|
)
|
|
316
301
|
|
|
317
302
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -325,7 +310,6 @@ async def asyncio(
|
|
|
325
310
|
client: AuthenticatedClient,
|
|
326
311
|
body: BackupRestoreRequest,
|
|
327
312
|
authorization: Union[None, Unset, str] = UNSET,
|
|
328
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
329
313
|
) -> Optional[Union[Any, ErrorResponse, HTTPValidationError]]:
|
|
330
314
|
"""Restore Encrypted Backup
|
|
331
315
|
|
|
@@ -375,7 +359,6 @@ async def asyncio(
|
|
|
375
359
|
Args:
|
|
376
360
|
graph_id (str): Graph database identifier
|
|
377
361
|
authorization (Union[None, Unset, str]):
|
|
378
|
-
auth_token (Union[None, Unset, str]):
|
|
379
362
|
body (BackupRestoreRequest): Request model for restoring from a backup.
|
|
380
363
|
|
|
381
364
|
Raises:
|
|
@@ -392,6 +375,5 @@ async def asyncio(
|
|
|
392
375
|
client=client,
|
|
393
376
|
body=body,
|
|
394
377
|
authorization=authorization,
|
|
395
|
-
auth_token=auth_token,
|
|
396
378
|
)
|
|
397
379
|
).parsed
|
|
@@ -17,20 +17,14 @@ def _get_kwargs(
|
|
|
17
17
|
*,
|
|
18
18
|
body: CreateConnectionRequest,
|
|
19
19
|
authorization: Union[None, Unset, str] = UNSET,
|
|
20
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
21
20
|
) -> dict[str, Any]:
|
|
22
21
|
headers: dict[str, Any] = {}
|
|
23
22
|
if not isinstance(authorization, Unset):
|
|
24
23
|
headers["authorization"] = authorization
|
|
25
24
|
|
|
26
|
-
cookies = {}
|
|
27
|
-
if auth_token is not UNSET:
|
|
28
|
-
cookies["auth-token"] = auth_token
|
|
29
|
-
|
|
30
25
|
_kwargs: dict[str, Any] = {
|
|
31
26
|
"method": "post",
|
|
32
27
|
"url": f"/v1/{graph_id}/connections",
|
|
33
|
-
"cookies": cookies,
|
|
34
28
|
}
|
|
35
29
|
|
|
36
30
|
_kwargs["json"] = body.to_dict()
|
|
@@ -91,7 +85,6 @@ def sync_detailed(
|
|
|
91
85
|
client: AuthenticatedClient,
|
|
92
86
|
body: CreateConnectionRequest,
|
|
93
87
|
authorization: Union[None, Unset, str] = UNSET,
|
|
94
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
95
88
|
) -> Response[Union[ConnectionResponse, ErrorResponse, HTTPValidationError]]:
|
|
96
89
|
"""Create Connection
|
|
97
90
|
|
|
@@ -120,7 +113,6 @@ def sync_detailed(
|
|
|
120
113
|
Args:
|
|
121
114
|
graph_id (str): Graph database identifier
|
|
122
115
|
authorization (Union[None, Unset, str]):
|
|
123
|
-
auth_token (Union[None, Unset, str]):
|
|
124
116
|
body (CreateConnectionRequest): Request to create a new connection.
|
|
125
117
|
|
|
126
118
|
Raises:
|
|
@@ -135,7 +127,6 @@ def sync_detailed(
|
|
|
135
127
|
graph_id=graph_id,
|
|
136
128
|
body=body,
|
|
137
129
|
authorization=authorization,
|
|
138
|
-
auth_token=auth_token,
|
|
139
130
|
)
|
|
140
131
|
|
|
141
132
|
response = client.get_httpx_client().request(
|
|
@@ -151,7 +142,6 @@ def sync(
|
|
|
151
142
|
client: AuthenticatedClient,
|
|
152
143
|
body: CreateConnectionRequest,
|
|
153
144
|
authorization: Union[None, Unset, str] = UNSET,
|
|
154
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
155
145
|
) -> Optional[Union[ConnectionResponse, ErrorResponse, HTTPValidationError]]:
|
|
156
146
|
"""Create Connection
|
|
157
147
|
|
|
@@ -180,7 +170,6 @@ def sync(
|
|
|
180
170
|
Args:
|
|
181
171
|
graph_id (str): Graph database identifier
|
|
182
172
|
authorization (Union[None, Unset, str]):
|
|
183
|
-
auth_token (Union[None, Unset, str]):
|
|
184
173
|
body (CreateConnectionRequest): Request to create a new connection.
|
|
185
174
|
|
|
186
175
|
Raises:
|
|
@@ -196,7 +185,6 @@ def sync(
|
|
|
196
185
|
client=client,
|
|
197
186
|
body=body,
|
|
198
187
|
authorization=authorization,
|
|
199
|
-
auth_token=auth_token,
|
|
200
188
|
).parsed
|
|
201
189
|
|
|
202
190
|
|
|
@@ -206,7 +194,6 @@ async def asyncio_detailed(
|
|
|
206
194
|
client: AuthenticatedClient,
|
|
207
195
|
body: CreateConnectionRequest,
|
|
208
196
|
authorization: Union[None, Unset, str] = UNSET,
|
|
209
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
210
197
|
) -> Response[Union[ConnectionResponse, ErrorResponse, HTTPValidationError]]:
|
|
211
198
|
"""Create Connection
|
|
212
199
|
|
|
@@ -235,7 +222,6 @@ async def asyncio_detailed(
|
|
|
235
222
|
Args:
|
|
236
223
|
graph_id (str): Graph database identifier
|
|
237
224
|
authorization (Union[None, Unset, str]):
|
|
238
|
-
auth_token (Union[None, Unset, str]):
|
|
239
225
|
body (CreateConnectionRequest): Request to create a new connection.
|
|
240
226
|
|
|
241
227
|
Raises:
|
|
@@ -250,7 +236,6 @@ async def asyncio_detailed(
|
|
|
250
236
|
graph_id=graph_id,
|
|
251
237
|
body=body,
|
|
252
238
|
authorization=authorization,
|
|
253
|
-
auth_token=auth_token,
|
|
254
239
|
)
|
|
255
240
|
|
|
256
241
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -264,7 +249,6 @@ async def asyncio(
|
|
|
264
249
|
client: AuthenticatedClient,
|
|
265
250
|
body: CreateConnectionRequest,
|
|
266
251
|
authorization: Union[None, Unset, str] = UNSET,
|
|
267
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
268
252
|
) -> Optional[Union[ConnectionResponse, ErrorResponse, HTTPValidationError]]:
|
|
269
253
|
"""Create Connection
|
|
270
254
|
|
|
@@ -293,7 +277,6 @@ async def asyncio(
|
|
|
293
277
|
Args:
|
|
294
278
|
graph_id (str): Graph database identifier
|
|
295
279
|
authorization (Union[None, Unset, str]):
|
|
296
|
-
auth_token (Union[None, Unset, str]):
|
|
297
280
|
body (CreateConnectionRequest): Request to create a new connection.
|
|
298
281
|
|
|
299
282
|
Raises:
|
|
@@ -310,6 +293,5 @@ async def asyncio(
|
|
|
310
293
|
client=client,
|
|
311
294
|
body=body,
|
|
312
295
|
authorization=authorization,
|
|
313
|
-
auth_token=auth_token,
|
|
314
296
|
)
|
|
315
297
|
).parsed
|
|
@@ -16,20 +16,14 @@ def _get_kwargs(
|
|
|
16
16
|
*,
|
|
17
17
|
body: LinkTokenRequest,
|
|
18
18
|
authorization: Union[None, Unset, str] = UNSET,
|
|
19
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
20
19
|
) -> dict[str, Any]:
|
|
21
20
|
headers: dict[str, Any] = {}
|
|
22
21
|
if not isinstance(authorization, Unset):
|
|
23
22
|
headers["authorization"] = authorization
|
|
24
23
|
|
|
25
|
-
cookies = {}
|
|
26
|
-
if auth_token is not UNSET:
|
|
27
|
-
cookies["auth-token"] = auth_token
|
|
28
|
-
|
|
29
24
|
_kwargs: dict[str, Any] = {
|
|
30
25
|
"method": "post",
|
|
31
26
|
"url": f"/v1/{graph_id}/connections/link/token",
|
|
32
|
-
"cookies": cookies,
|
|
33
27
|
}
|
|
34
28
|
|
|
35
29
|
_kwargs["json"] = body.to_dict()
|
|
@@ -85,7 +79,6 @@ def sync_detailed(
|
|
|
85
79
|
client: AuthenticatedClient,
|
|
86
80
|
body: LinkTokenRequest,
|
|
87
81
|
authorization: Union[None, Unset, str] = UNSET,
|
|
88
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
89
82
|
) -> Response[Union[Any, ErrorResponse, HTTPValidationError]]:
|
|
90
83
|
"""Create Link Token
|
|
91
84
|
|
|
@@ -107,7 +100,6 @@ def sync_detailed(
|
|
|
107
100
|
Args:
|
|
108
101
|
graph_id (str): Graph database identifier
|
|
109
102
|
authorization (Union[None, Unset, str]):
|
|
110
|
-
auth_token (Union[None, Unset, str]):
|
|
111
103
|
body (LinkTokenRequest): Request to create a link token for embedded authentication.
|
|
112
104
|
|
|
113
105
|
Raises:
|
|
@@ -122,7 +114,6 @@ def sync_detailed(
|
|
|
122
114
|
graph_id=graph_id,
|
|
123
115
|
body=body,
|
|
124
116
|
authorization=authorization,
|
|
125
|
-
auth_token=auth_token,
|
|
126
117
|
)
|
|
127
118
|
|
|
128
119
|
response = client.get_httpx_client().request(
|
|
@@ -138,7 +129,6 @@ def sync(
|
|
|
138
129
|
client: AuthenticatedClient,
|
|
139
130
|
body: LinkTokenRequest,
|
|
140
131
|
authorization: Union[None, Unset, str] = UNSET,
|
|
141
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
142
132
|
) -> Optional[Union[Any, ErrorResponse, HTTPValidationError]]:
|
|
143
133
|
"""Create Link Token
|
|
144
134
|
|
|
@@ -160,7 +150,6 @@ def sync(
|
|
|
160
150
|
Args:
|
|
161
151
|
graph_id (str): Graph database identifier
|
|
162
152
|
authorization (Union[None, Unset, str]):
|
|
163
|
-
auth_token (Union[None, Unset, str]):
|
|
164
153
|
body (LinkTokenRequest): Request to create a link token for embedded authentication.
|
|
165
154
|
|
|
166
155
|
Raises:
|
|
@@ -176,7 +165,6 @@ def sync(
|
|
|
176
165
|
client=client,
|
|
177
166
|
body=body,
|
|
178
167
|
authorization=authorization,
|
|
179
|
-
auth_token=auth_token,
|
|
180
168
|
).parsed
|
|
181
169
|
|
|
182
170
|
|
|
@@ -186,7 +174,6 @@ async def asyncio_detailed(
|
|
|
186
174
|
client: AuthenticatedClient,
|
|
187
175
|
body: LinkTokenRequest,
|
|
188
176
|
authorization: Union[None, Unset, str] = UNSET,
|
|
189
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
190
177
|
) -> Response[Union[Any, ErrorResponse, HTTPValidationError]]:
|
|
191
178
|
"""Create Link Token
|
|
192
179
|
|
|
@@ -208,7 +195,6 @@ async def asyncio_detailed(
|
|
|
208
195
|
Args:
|
|
209
196
|
graph_id (str): Graph database identifier
|
|
210
197
|
authorization (Union[None, Unset, str]):
|
|
211
|
-
auth_token (Union[None, Unset, str]):
|
|
212
198
|
body (LinkTokenRequest): Request to create a link token for embedded authentication.
|
|
213
199
|
|
|
214
200
|
Raises:
|
|
@@ -223,7 +209,6 @@ async def asyncio_detailed(
|
|
|
223
209
|
graph_id=graph_id,
|
|
224
210
|
body=body,
|
|
225
211
|
authorization=authorization,
|
|
226
|
-
auth_token=auth_token,
|
|
227
212
|
)
|
|
228
213
|
|
|
229
214
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -237,7 +222,6 @@ async def asyncio(
|
|
|
237
222
|
client: AuthenticatedClient,
|
|
238
223
|
body: LinkTokenRequest,
|
|
239
224
|
authorization: Union[None, Unset, str] = UNSET,
|
|
240
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
241
225
|
) -> Optional[Union[Any, ErrorResponse, HTTPValidationError]]:
|
|
242
226
|
"""Create Link Token
|
|
243
227
|
|
|
@@ -259,7 +243,6 @@ async def asyncio(
|
|
|
259
243
|
Args:
|
|
260
244
|
graph_id (str): Graph database identifier
|
|
261
245
|
authorization (Union[None, Unset, str]):
|
|
262
|
-
auth_token (Union[None, Unset, str]):
|
|
263
246
|
body (LinkTokenRequest): Request to create a link token for embedded authentication.
|
|
264
247
|
|
|
265
248
|
Raises:
|
|
@@ -276,6 +259,5 @@ async def asyncio(
|
|
|
276
259
|
client=client,
|
|
277
260
|
body=body,
|
|
278
261
|
authorization=authorization,
|
|
279
|
-
auth_token=auth_token,
|
|
280
262
|
)
|
|
281
263
|
).parsed
|
|
@@ -16,20 +16,14 @@ def _get_kwargs(
|
|
|
16
16
|
connection_id: str,
|
|
17
17
|
*,
|
|
18
18
|
authorization: Union[None, Unset, str] = UNSET,
|
|
19
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
20
19
|
) -> dict[str, Any]:
|
|
21
20
|
headers: dict[str, Any] = {}
|
|
22
21
|
if not isinstance(authorization, Unset):
|
|
23
22
|
headers["authorization"] = authorization
|
|
24
23
|
|
|
25
|
-
cookies = {}
|
|
26
|
-
if auth_token is not UNSET:
|
|
27
|
-
cookies["auth-token"] = auth_token
|
|
28
|
-
|
|
29
24
|
_kwargs: dict[str, Any] = {
|
|
30
25
|
"method": "delete",
|
|
31
26
|
"url": f"/v1/{graph_id}/connections/{connection_id}",
|
|
32
|
-
"cookies": cookies,
|
|
33
27
|
}
|
|
34
28
|
|
|
35
29
|
_kwargs["headers"] = headers
|
|
@@ -82,7 +76,6 @@ def sync_detailed(
|
|
|
82
76
|
*,
|
|
83
77
|
client: AuthenticatedClient,
|
|
84
78
|
authorization: Union[None, Unset, str] = UNSET,
|
|
85
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
86
79
|
) -> Response[Union[ErrorResponse, HTTPValidationError, SuccessResponse]]:
|
|
87
80
|
"""Delete Connection
|
|
88
81
|
|
|
@@ -103,7 +96,6 @@ def sync_detailed(
|
|
|
103
96
|
graph_id (str): Graph database identifier
|
|
104
97
|
connection_id (str): Connection identifier
|
|
105
98
|
authorization (Union[None, Unset, str]):
|
|
106
|
-
auth_token (Union[None, Unset, str]):
|
|
107
99
|
|
|
108
100
|
Raises:
|
|
109
101
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -117,7 +109,6 @@ def sync_detailed(
|
|
|
117
109
|
graph_id=graph_id,
|
|
118
110
|
connection_id=connection_id,
|
|
119
111
|
authorization=authorization,
|
|
120
|
-
auth_token=auth_token,
|
|
121
112
|
)
|
|
122
113
|
|
|
123
114
|
response = client.get_httpx_client().request(
|
|
@@ -133,7 +124,6 @@ def sync(
|
|
|
133
124
|
*,
|
|
134
125
|
client: AuthenticatedClient,
|
|
135
126
|
authorization: Union[None, Unset, str] = UNSET,
|
|
136
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
137
127
|
) -> Optional[Union[ErrorResponse, HTTPValidationError, SuccessResponse]]:
|
|
138
128
|
"""Delete Connection
|
|
139
129
|
|
|
@@ -154,7 +144,6 @@ def sync(
|
|
|
154
144
|
graph_id (str): Graph database identifier
|
|
155
145
|
connection_id (str): Connection identifier
|
|
156
146
|
authorization (Union[None, Unset, str]):
|
|
157
|
-
auth_token (Union[None, Unset, str]):
|
|
158
147
|
|
|
159
148
|
Raises:
|
|
160
149
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -169,7 +158,6 @@ def sync(
|
|
|
169
158
|
connection_id=connection_id,
|
|
170
159
|
client=client,
|
|
171
160
|
authorization=authorization,
|
|
172
|
-
auth_token=auth_token,
|
|
173
161
|
).parsed
|
|
174
162
|
|
|
175
163
|
|
|
@@ -179,7 +167,6 @@ async def asyncio_detailed(
|
|
|
179
167
|
*,
|
|
180
168
|
client: AuthenticatedClient,
|
|
181
169
|
authorization: Union[None, Unset, str] = UNSET,
|
|
182
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
183
170
|
) -> Response[Union[ErrorResponse, HTTPValidationError, SuccessResponse]]:
|
|
184
171
|
"""Delete Connection
|
|
185
172
|
|
|
@@ -200,7 +187,6 @@ async def asyncio_detailed(
|
|
|
200
187
|
graph_id (str): Graph database identifier
|
|
201
188
|
connection_id (str): Connection identifier
|
|
202
189
|
authorization (Union[None, Unset, str]):
|
|
203
|
-
auth_token (Union[None, Unset, str]):
|
|
204
190
|
|
|
205
191
|
Raises:
|
|
206
192
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -214,7 +200,6 @@ async def asyncio_detailed(
|
|
|
214
200
|
graph_id=graph_id,
|
|
215
201
|
connection_id=connection_id,
|
|
216
202
|
authorization=authorization,
|
|
217
|
-
auth_token=auth_token,
|
|
218
203
|
)
|
|
219
204
|
|
|
220
205
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -228,7 +213,6 @@ async def asyncio(
|
|
|
228
213
|
*,
|
|
229
214
|
client: AuthenticatedClient,
|
|
230
215
|
authorization: Union[None, Unset, str] = UNSET,
|
|
231
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
232
216
|
) -> Optional[Union[ErrorResponse, HTTPValidationError, SuccessResponse]]:
|
|
233
217
|
"""Delete Connection
|
|
234
218
|
|
|
@@ -249,7 +233,6 @@ async def asyncio(
|
|
|
249
233
|
graph_id (str): Graph database identifier
|
|
250
234
|
connection_id (str): Connection identifier
|
|
251
235
|
authorization (Union[None, Unset, str]):
|
|
252
|
-
auth_token (Union[None, Unset, str]):
|
|
253
236
|
|
|
254
237
|
Raises:
|
|
255
238
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -265,6 +248,5 @@ async def asyncio(
|
|
|
265
248
|
connection_id=connection_id,
|
|
266
249
|
client=client,
|
|
267
250
|
authorization=authorization,
|
|
268
|
-
auth_token=auth_token,
|
|
269
251
|
)
|
|
270
252
|
).parsed
|
|
@@ -16,20 +16,14 @@ def _get_kwargs(
|
|
|
16
16
|
*,
|
|
17
17
|
body: ExchangeTokenRequest,
|
|
18
18
|
authorization: Union[None, Unset, str] = UNSET,
|
|
19
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
20
19
|
) -> dict[str, Any]:
|
|
21
20
|
headers: dict[str, Any] = {}
|
|
22
21
|
if not isinstance(authorization, Unset):
|
|
23
22
|
headers["authorization"] = authorization
|
|
24
23
|
|
|
25
|
-
cookies = {}
|
|
26
|
-
if auth_token is not UNSET:
|
|
27
|
-
cookies["auth-token"] = auth_token
|
|
28
|
-
|
|
29
24
|
_kwargs: dict[str, Any] = {
|
|
30
25
|
"method": "post",
|
|
31
26
|
"url": f"/v1/{graph_id}/connections/link/exchange",
|
|
32
|
-
"cookies": cookies,
|
|
33
27
|
}
|
|
34
28
|
|
|
35
29
|
_kwargs["json"] = body.to_dict()
|
|
@@ -85,7 +79,6 @@ def sync_detailed(
|
|
|
85
79
|
client: AuthenticatedClient,
|
|
86
80
|
body: ExchangeTokenRequest,
|
|
87
81
|
authorization: Union[None, Unset, str] = UNSET,
|
|
88
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
89
82
|
) -> Response[Union[Any, ErrorResponse, HTTPValidationError]]:
|
|
90
83
|
"""Exchange Link Token
|
|
91
84
|
|
|
@@ -112,7 +105,6 @@ def sync_detailed(
|
|
|
112
105
|
Args:
|
|
113
106
|
graph_id (str): Graph database identifier
|
|
114
107
|
authorization (Union[None, Unset, str]):
|
|
115
|
-
auth_token (Union[None, Unset, str]):
|
|
116
108
|
body (ExchangeTokenRequest): Exchange temporary token for permanent credentials.
|
|
117
109
|
|
|
118
110
|
Raises:
|
|
@@ -127,7 +119,6 @@ def sync_detailed(
|
|
|
127
119
|
graph_id=graph_id,
|
|
128
120
|
body=body,
|
|
129
121
|
authorization=authorization,
|
|
130
|
-
auth_token=auth_token,
|
|
131
122
|
)
|
|
132
123
|
|
|
133
124
|
response = client.get_httpx_client().request(
|
|
@@ -143,7 +134,6 @@ def sync(
|
|
|
143
134
|
client: AuthenticatedClient,
|
|
144
135
|
body: ExchangeTokenRequest,
|
|
145
136
|
authorization: Union[None, Unset, str] = UNSET,
|
|
146
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
147
137
|
) -> Optional[Union[Any, ErrorResponse, HTTPValidationError]]:
|
|
148
138
|
"""Exchange Link Token
|
|
149
139
|
|
|
@@ -170,7 +160,6 @@ def sync(
|
|
|
170
160
|
Args:
|
|
171
161
|
graph_id (str): Graph database identifier
|
|
172
162
|
authorization (Union[None, Unset, str]):
|
|
173
|
-
auth_token (Union[None, Unset, str]):
|
|
174
163
|
body (ExchangeTokenRequest): Exchange temporary token for permanent credentials.
|
|
175
164
|
|
|
176
165
|
Raises:
|
|
@@ -186,7 +175,6 @@ def sync(
|
|
|
186
175
|
client=client,
|
|
187
176
|
body=body,
|
|
188
177
|
authorization=authorization,
|
|
189
|
-
auth_token=auth_token,
|
|
190
178
|
).parsed
|
|
191
179
|
|
|
192
180
|
|
|
@@ -196,7 +184,6 @@ async def asyncio_detailed(
|
|
|
196
184
|
client: AuthenticatedClient,
|
|
197
185
|
body: ExchangeTokenRequest,
|
|
198
186
|
authorization: Union[None, Unset, str] = UNSET,
|
|
199
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
200
187
|
) -> Response[Union[Any, ErrorResponse, HTTPValidationError]]:
|
|
201
188
|
"""Exchange Link Token
|
|
202
189
|
|
|
@@ -223,7 +210,6 @@ async def asyncio_detailed(
|
|
|
223
210
|
Args:
|
|
224
211
|
graph_id (str): Graph database identifier
|
|
225
212
|
authorization (Union[None, Unset, str]):
|
|
226
|
-
auth_token (Union[None, Unset, str]):
|
|
227
213
|
body (ExchangeTokenRequest): Exchange temporary token for permanent credentials.
|
|
228
214
|
|
|
229
215
|
Raises:
|
|
@@ -238,7 +224,6 @@ async def asyncio_detailed(
|
|
|
238
224
|
graph_id=graph_id,
|
|
239
225
|
body=body,
|
|
240
226
|
authorization=authorization,
|
|
241
|
-
auth_token=auth_token,
|
|
242
227
|
)
|
|
243
228
|
|
|
244
229
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -252,7 +237,6 @@ async def asyncio(
|
|
|
252
237
|
client: AuthenticatedClient,
|
|
253
238
|
body: ExchangeTokenRequest,
|
|
254
239
|
authorization: Union[None, Unset, str] = UNSET,
|
|
255
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
256
240
|
) -> Optional[Union[Any, ErrorResponse, HTTPValidationError]]:
|
|
257
241
|
"""Exchange Link Token
|
|
258
242
|
|
|
@@ -279,7 +263,6 @@ async def asyncio(
|
|
|
279
263
|
Args:
|
|
280
264
|
graph_id (str): Graph database identifier
|
|
281
265
|
authorization (Union[None, Unset, str]):
|
|
282
|
-
auth_token (Union[None, Unset, str]):
|
|
283
266
|
body (ExchangeTokenRequest): Exchange temporary token for permanent credentials.
|
|
284
267
|
|
|
285
268
|
Raises:
|
|
@@ -296,6 +279,5 @@ async def asyncio(
|
|
|
296
279
|
client=client,
|
|
297
280
|
body=body,
|
|
298
281
|
authorization=authorization,
|
|
299
|
-
auth_token=auth_token,
|
|
300
282
|
)
|
|
301
283
|
).parsed
|