robosystems-client 0.1.17__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.
- robosystems_client/__init__.py +15 -4
- robosystems_client/api/agent/auto_select_agent.py +25 -0
- robosystems_client/api/agent/batch_process_queries.py +25 -0
- robosystems_client/api/agent/execute_specific_agent.py +25 -0
- robosystems_client/api/agent/get_agent_metadata.py +25 -0
- robosystems_client/api/agent/list_agents.py +20 -0
- robosystems_client/api/agent/recommend_agent.py +25 -0
- robosystems_client/api/backup/create_backup.py +25 -0
- robosystems_client/api/backup/export_backup.py +25 -0
- robosystems_client/api/backup/get_backup_download_url.py +20 -0
- robosystems_client/api/backup/get_backup_stats.py +25 -0
- robosystems_client/api/backup/list_backups.py +20 -0
- robosystems_client/api/backup/restore_backup.py +25 -0
- robosystems_client/api/connections/create_connection.py +25 -0
- robosystems_client/api/connections/create_link_token.py +25 -0
- robosystems_client/api/connections/delete_connection.py +25 -0
- robosystems_client/api/connections/exchange_link_token.py +25 -0
- robosystems_client/api/connections/get_connection.py +25 -0
- robosystems_client/api/connections/get_connection_options.py +25 -0
- robosystems_client/api/connections/init_o_auth.py +25 -0
- robosystems_client/api/connections/list_connections.py +20 -0
- robosystems_client/api/connections/oauth_callback.py +25 -0
- robosystems_client/api/connections/sync_connection.py +25 -0
- robosystems_client/api/copy/copy_data_to_graph.py +25 -0
- robosystems_client/api/create/create_graph.py +25 -0
- robosystems_client/api/graph_analytics/get_graph_metrics.py +25 -0
- robosystems_client/api/graph_analytics/get_graph_usage_stats.py +20 -0
- robosystems_client/api/graph_billing/get_current_graph_bill.py +25 -0
- robosystems_client/api/graph_billing/get_graph_billing_history.py +20 -0
- robosystems_client/api/graph_billing/get_graph_monthly_bill.py +25 -0
- robosystems_client/api/graph_billing/get_graph_usage_details.py +20 -0
- robosystems_client/api/graph_credits/check_credit_balance.py +20 -0
- robosystems_client/api/graph_credits/check_storage_limits.py +25 -0
- robosystems_client/api/graph_credits/get_credit_summary.py +25 -0
- robosystems_client/api/graph_credits/get_storage_usage.py +20 -0
- robosystems_client/api/graph_credits/list_credit_transactions.py +20 -0
- robosystems_client/api/graph_health/get_database_health.py +25 -0
- robosystems_client/api/graph_info/get_database_info.py +25 -0
- robosystems_client/api/graph_limits/get_graph_limits.py +25 -0
- robosystems_client/api/mcp/call_mcp_tool.py +20 -0
- robosystems_client/api/mcp/list_mcp_tools.py +25 -0
- robosystems_client/api/operations/cancel_operation.py +25 -0
- robosystems_client/api/operations/get_operation_status.py +25 -0
- robosystems_client/api/operations/stream_operation_events.py +20 -0
- robosystems_client/api/query/execute_cypher_query.py +20 -0
- robosystems_client/api/schema/export_graph_schema.py +20 -0
- robosystems_client/api/schema/get_graph_schema_info.py +25 -0
- robosystems_client/api/schema/list_schema_extensions.py +25 -0
- robosystems_client/api/schema/validate_schema.py +25 -0
- robosystems_client/api/subgraphs/create_subgraph.py +25 -0
- robosystems_client/api/subgraphs/delete_subgraph.py +25 -0
- robosystems_client/api/subgraphs/get_subgraph_info.py +25 -0
- robosystems_client/api/subgraphs/get_subgraph_quota.py +25 -0
- robosystems_client/api/subgraphs/list_subgraphs.py +25 -0
- robosystems_client/api/user/create_user_api_key.py +25 -0
- robosystems_client/api/user/get_all_credit_summaries.py +25 -0
- robosystems_client/api/user/get_current_user.py +25 -0
- robosystems_client/api/user/get_user_graphs.py +25 -0
- robosystems_client/api/user/list_user_api_keys.py +25 -0
- robosystems_client/api/user/revoke_user_api_key.py +25 -0
- robosystems_client/api/user/select_user_graph.py +25 -0
- robosystems_client/api/user/update_user.py +25 -0
- robosystems_client/api/user/update_user_api_key.py +25 -0
- robosystems_client/api/user/update_user_password.py +25 -0
- robosystems_client/api/user_analytics/get_detailed_user_analytics.py +20 -0
- robosystems_client/api/user_analytics/get_user_usage_overview.py +25 -0
- robosystems_client/api/user_limits/get_all_shared_repository_limits.py +25 -0
- robosystems_client/api/user_limits/get_shared_repository_limits.py +25 -0
- robosystems_client/api/user_limits/get_user_limits.py +25 -0
- robosystems_client/api/user_limits/get_user_usage.py +25 -0
- robosystems_client/api/user_subscriptions/cancel_shared_repository_subscription.py +25 -0
- robosystems_client/api/user_subscriptions/get_repository_credits.py +25 -0
- robosystems_client/api/user_subscriptions/get_shared_repository_credits.py +25 -0
- robosystems_client/api/user_subscriptions/get_user_shared_subscriptions.py +20 -0
- robosystems_client/api/user_subscriptions/subscribe_to_shared_repository.py +25 -0
- robosystems_client/api/user_subscriptions/upgrade_shared_repository_subscription.py +25 -0
- robosystems_client/extensions/__init__.py +70 -0
- robosystems_client/extensions/auth_integration.py +14 -1
- robosystems_client/extensions/copy_client.py +32 -22
- robosystems_client/extensions/dataframe_utils.py +455 -0
- robosystems_client/extensions/extensions.py +16 -0
- robosystems_client/extensions/operation_client.py +43 -21
- robosystems_client/extensions/query_client.py +109 -12
- robosystems_client/extensions/tests/test_dataframe_utils.py +334 -0
- robosystems_client/extensions/tests/test_integration.py +1 -1
- robosystems_client/extensions/tests/test_token_utils.py +274 -0
- robosystems_client/extensions/token_utils.py +417 -0
- robosystems_client/extensions/utils.py +32 -2
- {robosystems_client-0.1.17.dist-info → robosystems_client-0.1.18.dist-info}/METADATA +1 -1
- {robosystems_client-0.1.17.dist-info → robosystems_client-0.1.18.dist-info}/RECORD +92 -88
- {robosystems_client-0.1.17.dist-info → robosystems_client-0.1.18.dist-info}/WHEEL +0 -0
- {robosystems_client-0.1.17.dist-info → robosystems_client-0.1.18.dist-info}/licenses/LICENSE +0 -0
|
@@ -14,15 +14,28 @@ from ...types import UNSET, Response, Unset
|
|
|
14
14
|
def _get_kwargs(
|
|
15
15
|
graph_id: str,
|
|
16
16
|
*,
|
|
17
|
+
token: Union[None, Unset, str] = UNSET,
|
|
17
18
|
authorization: Union[None, Unset, str] = UNSET,
|
|
18
19
|
) -> dict[str, Any]:
|
|
19
20
|
headers: dict[str, Any] = {}
|
|
20
21
|
if not isinstance(authorization, Unset):
|
|
21
22
|
headers["authorization"] = authorization
|
|
22
23
|
|
|
24
|
+
params: dict[str, Any] = {}
|
|
25
|
+
|
|
26
|
+
json_token: Union[None, Unset, str]
|
|
27
|
+
if isinstance(token, Unset):
|
|
28
|
+
json_token = UNSET
|
|
29
|
+
else:
|
|
30
|
+
json_token = token
|
|
31
|
+
params["token"] = json_token
|
|
32
|
+
|
|
33
|
+
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
34
|
+
|
|
23
35
|
_kwargs: dict[str, Any] = {
|
|
24
36
|
"method": "get",
|
|
25
37
|
"url": f"/v1/{graph_id}/credits/summary",
|
|
38
|
+
"params": params,
|
|
26
39
|
}
|
|
27
40
|
|
|
28
41
|
_kwargs["headers"] = headers
|
|
@@ -73,6 +86,7 @@ def sync_detailed(
|
|
|
73
86
|
graph_id: str,
|
|
74
87
|
*,
|
|
75
88
|
client: AuthenticatedClient,
|
|
89
|
+
token: Union[None, Unset, str] = UNSET,
|
|
76
90
|
authorization: Union[None, Unset, str] = UNSET,
|
|
77
91
|
) -> Response[Union[CreditSummaryResponse, ErrorResponse, HTTPValidationError]]:
|
|
78
92
|
"""Get Credit Summary
|
|
@@ -89,6 +103,7 @@ def sync_detailed(
|
|
|
89
103
|
|
|
90
104
|
Args:
|
|
91
105
|
graph_id (str): Graph database identifier
|
|
106
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
92
107
|
authorization (Union[None, Unset, str]):
|
|
93
108
|
|
|
94
109
|
Raises:
|
|
@@ -101,6 +116,7 @@ def sync_detailed(
|
|
|
101
116
|
|
|
102
117
|
kwargs = _get_kwargs(
|
|
103
118
|
graph_id=graph_id,
|
|
119
|
+
token=token,
|
|
104
120
|
authorization=authorization,
|
|
105
121
|
)
|
|
106
122
|
|
|
@@ -115,6 +131,7 @@ def sync(
|
|
|
115
131
|
graph_id: str,
|
|
116
132
|
*,
|
|
117
133
|
client: AuthenticatedClient,
|
|
134
|
+
token: Union[None, Unset, str] = UNSET,
|
|
118
135
|
authorization: Union[None, Unset, str] = UNSET,
|
|
119
136
|
) -> Optional[Union[CreditSummaryResponse, ErrorResponse, HTTPValidationError]]:
|
|
120
137
|
"""Get Credit Summary
|
|
@@ -131,6 +148,7 @@ def sync(
|
|
|
131
148
|
|
|
132
149
|
Args:
|
|
133
150
|
graph_id (str): Graph database identifier
|
|
151
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
134
152
|
authorization (Union[None, Unset, str]):
|
|
135
153
|
|
|
136
154
|
Raises:
|
|
@@ -144,6 +162,7 @@ def sync(
|
|
|
144
162
|
return sync_detailed(
|
|
145
163
|
graph_id=graph_id,
|
|
146
164
|
client=client,
|
|
165
|
+
token=token,
|
|
147
166
|
authorization=authorization,
|
|
148
167
|
).parsed
|
|
149
168
|
|
|
@@ -152,6 +171,7 @@ async def asyncio_detailed(
|
|
|
152
171
|
graph_id: str,
|
|
153
172
|
*,
|
|
154
173
|
client: AuthenticatedClient,
|
|
174
|
+
token: Union[None, Unset, str] = UNSET,
|
|
155
175
|
authorization: Union[None, Unset, str] = UNSET,
|
|
156
176
|
) -> Response[Union[CreditSummaryResponse, ErrorResponse, HTTPValidationError]]:
|
|
157
177
|
"""Get Credit Summary
|
|
@@ -168,6 +188,7 @@ async def asyncio_detailed(
|
|
|
168
188
|
|
|
169
189
|
Args:
|
|
170
190
|
graph_id (str): Graph database identifier
|
|
191
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
171
192
|
authorization (Union[None, Unset, str]):
|
|
172
193
|
|
|
173
194
|
Raises:
|
|
@@ -180,6 +201,7 @@ async def asyncio_detailed(
|
|
|
180
201
|
|
|
181
202
|
kwargs = _get_kwargs(
|
|
182
203
|
graph_id=graph_id,
|
|
204
|
+
token=token,
|
|
183
205
|
authorization=authorization,
|
|
184
206
|
)
|
|
185
207
|
|
|
@@ -192,6 +214,7 @@ async def asyncio(
|
|
|
192
214
|
graph_id: str,
|
|
193
215
|
*,
|
|
194
216
|
client: AuthenticatedClient,
|
|
217
|
+
token: Union[None, Unset, str] = UNSET,
|
|
195
218
|
authorization: Union[None, Unset, str] = UNSET,
|
|
196
219
|
) -> Optional[Union[CreditSummaryResponse, ErrorResponse, HTTPValidationError]]:
|
|
197
220
|
"""Get Credit Summary
|
|
@@ -208,6 +231,7 @@ async def asyncio(
|
|
|
208
231
|
|
|
209
232
|
Args:
|
|
210
233
|
graph_id (str): Graph database identifier
|
|
234
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
211
235
|
authorization (Union[None, Unset, str]):
|
|
212
236
|
|
|
213
237
|
Raises:
|
|
@@ -222,6 +246,7 @@ async def asyncio(
|
|
|
222
246
|
await asyncio_detailed(
|
|
223
247
|
graph_id=graph_id,
|
|
224
248
|
client=client,
|
|
249
|
+
token=token,
|
|
225
250
|
authorization=authorization,
|
|
226
251
|
)
|
|
227
252
|
).parsed
|
|
@@ -17,6 +17,7 @@ def _get_kwargs(
|
|
|
17
17
|
graph_id: str,
|
|
18
18
|
*,
|
|
19
19
|
days: Union[Unset, int] = 30,
|
|
20
|
+
token: Union[None, Unset, str] = UNSET,
|
|
20
21
|
authorization: Union[None, Unset, str] = UNSET,
|
|
21
22
|
) -> dict[str, Any]:
|
|
22
23
|
headers: dict[str, Any] = {}
|
|
@@ -27,6 +28,13 @@ def _get_kwargs(
|
|
|
27
28
|
|
|
28
29
|
params["days"] = days
|
|
29
30
|
|
|
31
|
+
json_token: Union[None, Unset, str]
|
|
32
|
+
if isinstance(token, Unset):
|
|
33
|
+
json_token = UNSET
|
|
34
|
+
else:
|
|
35
|
+
json_token = token
|
|
36
|
+
params["token"] = json_token
|
|
37
|
+
|
|
30
38
|
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
31
39
|
|
|
32
40
|
_kwargs: dict[str, Any] = {
|
|
@@ -84,6 +92,7 @@ def sync_detailed(
|
|
|
84
92
|
*,
|
|
85
93
|
client: AuthenticatedClient,
|
|
86
94
|
days: Union[Unset, int] = 30,
|
|
95
|
+
token: Union[None, Unset, str] = UNSET,
|
|
87
96
|
authorization: Union[None, Unset, str] = UNSET,
|
|
88
97
|
) -> Response[
|
|
89
98
|
Union[ErrorResponse, GetStorageUsageResponseGetstorageusage, HTTPValidationError]
|
|
@@ -104,6 +113,7 @@ def sync_detailed(
|
|
|
104
113
|
Args:
|
|
105
114
|
graph_id (str): Graph database identifier
|
|
106
115
|
days (Union[Unset, int]): Number of days of history to return Default: 30.
|
|
116
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
107
117
|
authorization (Union[None, Unset, str]):
|
|
108
118
|
|
|
109
119
|
Raises:
|
|
@@ -117,6 +127,7 @@ def sync_detailed(
|
|
|
117
127
|
kwargs = _get_kwargs(
|
|
118
128
|
graph_id=graph_id,
|
|
119
129
|
days=days,
|
|
130
|
+
token=token,
|
|
120
131
|
authorization=authorization,
|
|
121
132
|
)
|
|
122
133
|
|
|
@@ -132,6 +143,7 @@ def sync(
|
|
|
132
143
|
*,
|
|
133
144
|
client: AuthenticatedClient,
|
|
134
145
|
days: Union[Unset, int] = 30,
|
|
146
|
+
token: Union[None, Unset, str] = UNSET,
|
|
135
147
|
authorization: Union[None, Unset, str] = UNSET,
|
|
136
148
|
) -> Optional[
|
|
137
149
|
Union[ErrorResponse, GetStorageUsageResponseGetstorageusage, HTTPValidationError]
|
|
@@ -152,6 +164,7 @@ def sync(
|
|
|
152
164
|
Args:
|
|
153
165
|
graph_id (str): Graph database identifier
|
|
154
166
|
days (Union[Unset, int]): Number of days of history to return Default: 30.
|
|
167
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
155
168
|
authorization (Union[None, Unset, str]):
|
|
156
169
|
|
|
157
170
|
Raises:
|
|
@@ -166,6 +179,7 @@ def sync(
|
|
|
166
179
|
graph_id=graph_id,
|
|
167
180
|
client=client,
|
|
168
181
|
days=days,
|
|
182
|
+
token=token,
|
|
169
183
|
authorization=authorization,
|
|
170
184
|
).parsed
|
|
171
185
|
|
|
@@ -175,6 +189,7 @@ async def asyncio_detailed(
|
|
|
175
189
|
*,
|
|
176
190
|
client: AuthenticatedClient,
|
|
177
191
|
days: Union[Unset, int] = 30,
|
|
192
|
+
token: Union[None, Unset, str] = UNSET,
|
|
178
193
|
authorization: Union[None, Unset, str] = UNSET,
|
|
179
194
|
) -> Response[
|
|
180
195
|
Union[ErrorResponse, GetStorageUsageResponseGetstorageusage, HTTPValidationError]
|
|
@@ -195,6 +210,7 @@ async def asyncio_detailed(
|
|
|
195
210
|
Args:
|
|
196
211
|
graph_id (str): Graph database identifier
|
|
197
212
|
days (Union[Unset, int]): Number of days of history to return Default: 30.
|
|
213
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
198
214
|
authorization (Union[None, Unset, str]):
|
|
199
215
|
|
|
200
216
|
Raises:
|
|
@@ -208,6 +224,7 @@ async def asyncio_detailed(
|
|
|
208
224
|
kwargs = _get_kwargs(
|
|
209
225
|
graph_id=graph_id,
|
|
210
226
|
days=days,
|
|
227
|
+
token=token,
|
|
211
228
|
authorization=authorization,
|
|
212
229
|
)
|
|
213
230
|
|
|
@@ -221,6 +238,7 @@ async def asyncio(
|
|
|
221
238
|
*,
|
|
222
239
|
client: AuthenticatedClient,
|
|
223
240
|
days: Union[Unset, int] = 30,
|
|
241
|
+
token: Union[None, Unset, str] = UNSET,
|
|
224
242
|
authorization: Union[None, Unset, str] = UNSET,
|
|
225
243
|
) -> Optional[
|
|
226
244
|
Union[ErrorResponse, GetStorageUsageResponseGetstorageusage, HTTPValidationError]
|
|
@@ -241,6 +259,7 @@ async def asyncio(
|
|
|
241
259
|
Args:
|
|
242
260
|
graph_id (str): Graph database identifier
|
|
243
261
|
days (Union[Unset, int]): Number of days of history to return Default: 30.
|
|
262
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
244
263
|
authorization (Union[None, Unset, str]):
|
|
245
264
|
|
|
246
265
|
Raises:
|
|
@@ -256,6 +275,7 @@ async def asyncio(
|
|
|
256
275
|
graph_id=graph_id,
|
|
257
276
|
client=client,
|
|
258
277
|
days=days,
|
|
278
|
+
token=token,
|
|
259
279
|
authorization=authorization,
|
|
260
280
|
)
|
|
261
281
|
).parsed
|
|
@@ -20,6 +20,7 @@ def _get_kwargs(
|
|
|
20
20
|
end_date: Union[None, Unset, str] = UNSET,
|
|
21
21
|
limit: Union[Unset, int] = 100,
|
|
22
22
|
offset: Union[Unset, int] = 0,
|
|
23
|
+
token: Union[None, Unset, str] = UNSET,
|
|
23
24
|
authorization: Union[None, Unset, str] = UNSET,
|
|
24
25
|
) -> dict[str, Any]:
|
|
25
26
|
headers: dict[str, Any] = {}
|
|
@@ -60,6 +61,13 @@ def _get_kwargs(
|
|
|
60
61
|
|
|
61
62
|
params["offset"] = offset
|
|
62
63
|
|
|
64
|
+
json_token: Union[None, Unset, str]
|
|
65
|
+
if isinstance(token, Unset):
|
|
66
|
+
json_token = UNSET
|
|
67
|
+
else:
|
|
68
|
+
json_token = token
|
|
69
|
+
params["token"] = json_token
|
|
70
|
+
|
|
63
71
|
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
64
72
|
|
|
65
73
|
_kwargs: dict[str, Any] = {
|
|
@@ -122,6 +130,7 @@ def sync_detailed(
|
|
|
122
130
|
end_date: Union[None, Unset, str] = UNSET,
|
|
123
131
|
limit: Union[Unset, int] = 100,
|
|
124
132
|
offset: Union[Unset, int] = 0,
|
|
133
|
+
token: Union[None, Unset, str] = UNSET,
|
|
125
134
|
authorization: Union[None, Unset, str] = UNSET,
|
|
126
135
|
) -> Response[Union[DetailedTransactionsResponse, ErrorResponse, HTTPValidationError]]:
|
|
127
136
|
"""List Credit Transactions
|
|
@@ -152,6 +161,7 @@ def sync_detailed(
|
|
|
152
161
|
end_date (Union[None, Unset, str]): End date for filtering (ISO format: YYYY-MM-DD)
|
|
153
162
|
limit (Union[Unset, int]): Maximum number of transactions to return Default: 100.
|
|
154
163
|
offset (Union[Unset, int]): Number of transactions to skip Default: 0.
|
|
164
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
155
165
|
authorization (Union[None, Unset, str]):
|
|
156
166
|
|
|
157
167
|
Raises:
|
|
@@ -170,6 +180,7 @@ def sync_detailed(
|
|
|
170
180
|
end_date=end_date,
|
|
171
181
|
limit=limit,
|
|
172
182
|
offset=offset,
|
|
183
|
+
token=token,
|
|
173
184
|
authorization=authorization,
|
|
174
185
|
)
|
|
175
186
|
|
|
@@ -190,6 +201,7 @@ def sync(
|
|
|
190
201
|
end_date: Union[None, Unset, str] = UNSET,
|
|
191
202
|
limit: Union[Unset, int] = 100,
|
|
192
203
|
offset: Union[Unset, int] = 0,
|
|
204
|
+
token: Union[None, Unset, str] = UNSET,
|
|
193
205
|
authorization: Union[None, Unset, str] = UNSET,
|
|
194
206
|
) -> Optional[Union[DetailedTransactionsResponse, ErrorResponse, HTTPValidationError]]:
|
|
195
207
|
"""List Credit Transactions
|
|
@@ -220,6 +232,7 @@ def sync(
|
|
|
220
232
|
end_date (Union[None, Unset, str]): End date for filtering (ISO format: YYYY-MM-DD)
|
|
221
233
|
limit (Union[Unset, int]): Maximum number of transactions to return Default: 100.
|
|
222
234
|
offset (Union[Unset, int]): Number of transactions to skip Default: 0.
|
|
235
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
223
236
|
authorization (Union[None, Unset, str]):
|
|
224
237
|
|
|
225
238
|
Raises:
|
|
@@ -239,6 +252,7 @@ def sync(
|
|
|
239
252
|
end_date=end_date,
|
|
240
253
|
limit=limit,
|
|
241
254
|
offset=offset,
|
|
255
|
+
token=token,
|
|
242
256
|
authorization=authorization,
|
|
243
257
|
).parsed
|
|
244
258
|
|
|
@@ -253,6 +267,7 @@ async def asyncio_detailed(
|
|
|
253
267
|
end_date: Union[None, Unset, str] = UNSET,
|
|
254
268
|
limit: Union[Unset, int] = 100,
|
|
255
269
|
offset: Union[Unset, int] = 0,
|
|
270
|
+
token: Union[None, Unset, str] = UNSET,
|
|
256
271
|
authorization: Union[None, Unset, str] = UNSET,
|
|
257
272
|
) -> Response[Union[DetailedTransactionsResponse, ErrorResponse, HTTPValidationError]]:
|
|
258
273
|
"""List Credit Transactions
|
|
@@ -283,6 +298,7 @@ async def asyncio_detailed(
|
|
|
283
298
|
end_date (Union[None, Unset, str]): End date for filtering (ISO format: YYYY-MM-DD)
|
|
284
299
|
limit (Union[Unset, int]): Maximum number of transactions to return Default: 100.
|
|
285
300
|
offset (Union[Unset, int]): Number of transactions to skip Default: 0.
|
|
301
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
286
302
|
authorization (Union[None, Unset, str]):
|
|
287
303
|
|
|
288
304
|
Raises:
|
|
@@ -301,6 +317,7 @@ async def asyncio_detailed(
|
|
|
301
317
|
end_date=end_date,
|
|
302
318
|
limit=limit,
|
|
303
319
|
offset=offset,
|
|
320
|
+
token=token,
|
|
304
321
|
authorization=authorization,
|
|
305
322
|
)
|
|
306
323
|
|
|
@@ -319,6 +336,7 @@ async def asyncio(
|
|
|
319
336
|
end_date: Union[None, Unset, str] = UNSET,
|
|
320
337
|
limit: Union[Unset, int] = 100,
|
|
321
338
|
offset: Union[Unset, int] = 0,
|
|
339
|
+
token: Union[None, Unset, str] = UNSET,
|
|
322
340
|
authorization: Union[None, Unset, str] = UNSET,
|
|
323
341
|
) -> Optional[Union[DetailedTransactionsResponse, ErrorResponse, HTTPValidationError]]:
|
|
324
342
|
"""List Credit Transactions
|
|
@@ -349,6 +367,7 @@ async def asyncio(
|
|
|
349
367
|
end_date (Union[None, Unset, str]): End date for filtering (ISO format: YYYY-MM-DD)
|
|
350
368
|
limit (Union[Unset, int]): Maximum number of transactions to return Default: 100.
|
|
351
369
|
offset (Union[Unset, int]): Number of transactions to skip Default: 0.
|
|
370
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
352
371
|
authorization (Union[None, Unset, str]):
|
|
353
372
|
|
|
354
373
|
Raises:
|
|
@@ -369,6 +388,7 @@ async def asyncio(
|
|
|
369
388
|
end_date=end_date,
|
|
370
389
|
limit=limit,
|
|
371
390
|
offset=offset,
|
|
391
|
+
token=token,
|
|
372
392
|
authorization=authorization,
|
|
373
393
|
)
|
|
374
394
|
).parsed
|
|
@@ -13,15 +13,28 @@ from ...types import UNSET, Response, Unset
|
|
|
13
13
|
def _get_kwargs(
|
|
14
14
|
graph_id: str,
|
|
15
15
|
*,
|
|
16
|
+
token: Union[None, Unset, str] = UNSET,
|
|
16
17
|
authorization: Union[None, Unset, str] = UNSET,
|
|
17
18
|
) -> dict[str, Any]:
|
|
18
19
|
headers: dict[str, Any] = {}
|
|
19
20
|
if not isinstance(authorization, Unset):
|
|
20
21
|
headers["authorization"] = authorization
|
|
21
22
|
|
|
23
|
+
params: dict[str, Any] = {}
|
|
24
|
+
|
|
25
|
+
json_token: Union[None, Unset, str]
|
|
26
|
+
if isinstance(token, Unset):
|
|
27
|
+
json_token = UNSET
|
|
28
|
+
else:
|
|
29
|
+
json_token = token
|
|
30
|
+
params["token"] = json_token
|
|
31
|
+
|
|
32
|
+
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
33
|
+
|
|
22
34
|
_kwargs: dict[str, Any] = {
|
|
23
35
|
"method": "get",
|
|
24
36
|
"url": f"/v1/{graph_id}/health",
|
|
37
|
+
"params": params,
|
|
25
38
|
}
|
|
26
39
|
|
|
27
40
|
_kwargs["headers"] = headers
|
|
@@ -69,6 +82,7 @@ def sync_detailed(
|
|
|
69
82
|
graph_id: str,
|
|
70
83
|
*,
|
|
71
84
|
client: AuthenticatedClient,
|
|
85
|
+
token: Union[None, Unset, str] = UNSET,
|
|
72
86
|
authorization: Union[None, Unset, str] = UNSET,
|
|
73
87
|
) -> Response[Union[Any, DatabaseHealthResponse, HTTPValidationError]]:
|
|
74
88
|
"""Database Health Check
|
|
@@ -93,6 +107,7 @@ def sync_detailed(
|
|
|
93
107
|
|
|
94
108
|
Args:
|
|
95
109
|
graph_id (str): Graph database identifier
|
|
110
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
96
111
|
authorization (Union[None, Unset, str]):
|
|
97
112
|
|
|
98
113
|
Raises:
|
|
@@ -105,6 +120,7 @@ def sync_detailed(
|
|
|
105
120
|
|
|
106
121
|
kwargs = _get_kwargs(
|
|
107
122
|
graph_id=graph_id,
|
|
123
|
+
token=token,
|
|
108
124
|
authorization=authorization,
|
|
109
125
|
)
|
|
110
126
|
|
|
@@ -119,6 +135,7 @@ def sync(
|
|
|
119
135
|
graph_id: str,
|
|
120
136
|
*,
|
|
121
137
|
client: AuthenticatedClient,
|
|
138
|
+
token: Union[None, Unset, str] = UNSET,
|
|
122
139
|
authorization: Union[None, Unset, str] = UNSET,
|
|
123
140
|
) -> Optional[Union[Any, DatabaseHealthResponse, HTTPValidationError]]:
|
|
124
141
|
"""Database Health Check
|
|
@@ -143,6 +160,7 @@ def sync(
|
|
|
143
160
|
|
|
144
161
|
Args:
|
|
145
162
|
graph_id (str): Graph database identifier
|
|
163
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
146
164
|
authorization (Union[None, Unset, str]):
|
|
147
165
|
|
|
148
166
|
Raises:
|
|
@@ -156,6 +174,7 @@ def sync(
|
|
|
156
174
|
return sync_detailed(
|
|
157
175
|
graph_id=graph_id,
|
|
158
176
|
client=client,
|
|
177
|
+
token=token,
|
|
159
178
|
authorization=authorization,
|
|
160
179
|
).parsed
|
|
161
180
|
|
|
@@ -164,6 +183,7 @@ async def asyncio_detailed(
|
|
|
164
183
|
graph_id: str,
|
|
165
184
|
*,
|
|
166
185
|
client: AuthenticatedClient,
|
|
186
|
+
token: Union[None, Unset, str] = UNSET,
|
|
167
187
|
authorization: Union[None, Unset, str] = UNSET,
|
|
168
188
|
) -> Response[Union[Any, DatabaseHealthResponse, HTTPValidationError]]:
|
|
169
189
|
"""Database Health Check
|
|
@@ -188,6 +208,7 @@ async def asyncio_detailed(
|
|
|
188
208
|
|
|
189
209
|
Args:
|
|
190
210
|
graph_id (str): Graph database identifier
|
|
211
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
191
212
|
authorization (Union[None, Unset, str]):
|
|
192
213
|
|
|
193
214
|
Raises:
|
|
@@ -200,6 +221,7 @@ async def asyncio_detailed(
|
|
|
200
221
|
|
|
201
222
|
kwargs = _get_kwargs(
|
|
202
223
|
graph_id=graph_id,
|
|
224
|
+
token=token,
|
|
203
225
|
authorization=authorization,
|
|
204
226
|
)
|
|
205
227
|
|
|
@@ -212,6 +234,7 @@ async def asyncio(
|
|
|
212
234
|
graph_id: str,
|
|
213
235
|
*,
|
|
214
236
|
client: AuthenticatedClient,
|
|
237
|
+
token: Union[None, Unset, str] = UNSET,
|
|
215
238
|
authorization: Union[None, Unset, str] = UNSET,
|
|
216
239
|
) -> Optional[Union[Any, DatabaseHealthResponse, HTTPValidationError]]:
|
|
217
240
|
"""Database Health Check
|
|
@@ -236,6 +259,7 @@ async def asyncio(
|
|
|
236
259
|
|
|
237
260
|
Args:
|
|
238
261
|
graph_id (str): Graph database identifier
|
|
262
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
239
263
|
authorization (Union[None, Unset, str]):
|
|
240
264
|
|
|
241
265
|
Raises:
|
|
@@ -250,6 +274,7 @@ async def asyncio(
|
|
|
250
274
|
await asyncio_detailed(
|
|
251
275
|
graph_id=graph_id,
|
|
252
276
|
client=client,
|
|
277
|
+
token=token,
|
|
253
278
|
authorization=authorization,
|
|
254
279
|
)
|
|
255
280
|
).parsed
|
|
@@ -13,15 +13,28 @@ from ...types import UNSET, Response, Unset
|
|
|
13
13
|
def _get_kwargs(
|
|
14
14
|
graph_id: str,
|
|
15
15
|
*,
|
|
16
|
+
token: Union[None, Unset, str] = UNSET,
|
|
16
17
|
authorization: Union[None, Unset, str] = UNSET,
|
|
17
18
|
) -> dict[str, Any]:
|
|
18
19
|
headers: dict[str, Any] = {}
|
|
19
20
|
if not isinstance(authorization, Unset):
|
|
20
21
|
headers["authorization"] = authorization
|
|
21
22
|
|
|
23
|
+
params: dict[str, Any] = {}
|
|
24
|
+
|
|
25
|
+
json_token: Union[None, Unset, str]
|
|
26
|
+
if isinstance(token, Unset):
|
|
27
|
+
json_token = UNSET
|
|
28
|
+
else:
|
|
29
|
+
json_token = token
|
|
30
|
+
params["token"] = json_token
|
|
31
|
+
|
|
32
|
+
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
33
|
+
|
|
22
34
|
_kwargs: dict[str, Any] = {
|
|
23
35
|
"method": "get",
|
|
24
36
|
"url": f"/v1/{graph_id}/info",
|
|
37
|
+
"params": params,
|
|
25
38
|
}
|
|
26
39
|
|
|
27
40
|
_kwargs["headers"] = headers
|
|
@@ -69,6 +82,7 @@ def sync_detailed(
|
|
|
69
82
|
graph_id: str,
|
|
70
83
|
*,
|
|
71
84
|
client: AuthenticatedClient,
|
|
85
|
+
token: Union[None, Unset, str] = UNSET,
|
|
72
86
|
authorization: Union[None, Unset, str] = UNSET,
|
|
73
87
|
) -> Response[Union[Any, DatabaseInfoResponse, HTTPValidationError]]:
|
|
74
88
|
"""Database Information
|
|
@@ -94,6 +108,7 @@ def sync_detailed(
|
|
|
94
108
|
|
|
95
109
|
Args:
|
|
96
110
|
graph_id (str): Graph database identifier
|
|
111
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
97
112
|
authorization (Union[None, Unset, str]):
|
|
98
113
|
|
|
99
114
|
Raises:
|
|
@@ -106,6 +121,7 @@ def sync_detailed(
|
|
|
106
121
|
|
|
107
122
|
kwargs = _get_kwargs(
|
|
108
123
|
graph_id=graph_id,
|
|
124
|
+
token=token,
|
|
109
125
|
authorization=authorization,
|
|
110
126
|
)
|
|
111
127
|
|
|
@@ -120,6 +136,7 @@ def sync(
|
|
|
120
136
|
graph_id: str,
|
|
121
137
|
*,
|
|
122
138
|
client: AuthenticatedClient,
|
|
139
|
+
token: Union[None, Unset, str] = UNSET,
|
|
123
140
|
authorization: Union[None, Unset, str] = UNSET,
|
|
124
141
|
) -> Optional[Union[Any, DatabaseInfoResponse, HTTPValidationError]]:
|
|
125
142
|
"""Database Information
|
|
@@ -145,6 +162,7 @@ def sync(
|
|
|
145
162
|
|
|
146
163
|
Args:
|
|
147
164
|
graph_id (str): Graph database identifier
|
|
165
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
148
166
|
authorization (Union[None, Unset, str]):
|
|
149
167
|
|
|
150
168
|
Raises:
|
|
@@ -158,6 +176,7 @@ def sync(
|
|
|
158
176
|
return sync_detailed(
|
|
159
177
|
graph_id=graph_id,
|
|
160
178
|
client=client,
|
|
179
|
+
token=token,
|
|
161
180
|
authorization=authorization,
|
|
162
181
|
).parsed
|
|
163
182
|
|
|
@@ -166,6 +185,7 @@ async def asyncio_detailed(
|
|
|
166
185
|
graph_id: str,
|
|
167
186
|
*,
|
|
168
187
|
client: AuthenticatedClient,
|
|
188
|
+
token: Union[None, Unset, str] = UNSET,
|
|
169
189
|
authorization: Union[None, Unset, str] = UNSET,
|
|
170
190
|
) -> Response[Union[Any, DatabaseInfoResponse, HTTPValidationError]]:
|
|
171
191
|
"""Database Information
|
|
@@ -191,6 +211,7 @@ async def asyncio_detailed(
|
|
|
191
211
|
|
|
192
212
|
Args:
|
|
193
213
|
graph_id (str): Graph database identifier
|
|
214
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
194
215
|
authorization (Union[None, Unset, str]):
|
|
195
216
|
|
|
196
217
|
Raises:
|
|
@@ -203,6 +224,7 @@ async def asyncio_detailed(
|
|
|
203
224
|
|
|
204
225
|
kwargs = _get_kwargs(
|
|
205
226
|
graph_id=graph_id,
|
|
227
|
+
token=token,
|
|
206
228
|
authorization=authorization,
|
|
207
229
|
)
|
|
208
230
|
|
|
@@ -215,6 +237,7 @@ async def asyncio(
|
|
|
215
237
|
graph_id: str,
|
|
216
238
|
*,
|
|
217
239
|
client: AuthenticatedClient,
|
|
240
|
+
token: Union[None, Unset, str] = UNSET,
|
|
218
241
|
authorization: Union[None, Unset, str] = UNSET,
|
|
219
242
|
) -> Optional[Union[Any, DatabaseInfoResponse, HTTPValidationError]]:
|
|
220
243
|
"""Database Information
|
|
@@ -240,6 +263,7 @@ async def asyncio(
|
|
|
240
263
|
|
|
241
264
|
Args:
|
|
242
265
|
graph_id (str): Graph database identifier
|
|
266
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
243
267
|
authorization (Union[None, Unset, str]):
|
|
244
268
|
|
|
245
269
|
Raises:
|
|
@@ -254,6 +278,7 @@ async def asyncio(
|
|
|
254
278
|
await asyncio_detailed(
|
|
255
279
|
graph_id=graph_id,
|
|
256
280
|
client=client,
|
|
281
|
+
token=token,
|
|
257
282
|
authorization=authorization,
|
|
258
283
|
)
|
|
259
284
|
).parsed
|
|
@@ -15,15 +15,28 @@ from ...types import UNSET, Response, Unset
|
|
|
15
15
|
def _get_kwargs(
|
|
16
16
|
graph_id: str,
|
|
17
17
|
*,
|
|
18
|
+
token: Union[None, Unset, str] = UNSET,
|
|
18
19
|
authorization: Union[None, Unset, str] = UNSET,
|
|
19
20
|
) -> dict[str, Any]:
|
|
20
21
|
headers: dict[str, Any] = {}
|
|
21
22
|
if not isinstance(authorization, Unset):
|
|
22
23
|
headers["authorization"] = authorization
|
|
23
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
|
+
|
|
24
36
|
_kwargs: dict[str, Any] = {
|
|
25
37
|
"method": "get",
|
|
26
38
|
"url": f"/v1/{graph_id}/limits",
|
|
39
|
+
"params": params,
|
|
27
40
|
}
|
|
28
41
|
|
|
29
42
|
_kwargs["headers"] = headers
|
|
@@ -71,6 +84,7 @@ def sync_detailed(
|
|
|
71
84
|
graph_id: str,
|
|
72
85
|
*,
|
|
73
86
|
client: AuthenticatedClient,
|
|
87
|
+
token: Union[None, Unset, str] = UNSET,
|
|
74
88
|
authorization: Union[None, Unset, str] = UNSET,
|
|
75
89
|
) -> Response[Union[Any, GetGraphLimitsResponseGetgraphlimits, HTTPValidationError]]:
|
|
76
90
|
"""Get Graph Operational Limits
|
|
@@ -91,6 +105,7 @@ def sync_detailed(
|
|
|
91
105
|
|
|
92
106
|
Args:
|
|
93
107
|
graph_id (str): Graph database identifier (user graph or shared repository)
|
|
108
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
94
109
|
authorization (Union[None, Unset, str]):
|
|
95
110
|
|
|
96
111
|
Raises:
|
|
@@ -103,6 +118,7 @@ def sync_detailed(
|
|
|
103
118
|
|
|
104
119
|
kwargs = _get_kwargs(
|
|
105
120
|
graph_id=graph_id,
|
|
121
|
+
token=token,
|
|
106
122
|
authorization=authorization,
|
|
107
123
|
)
|
|
108
124
|
|
|
@@ -117,6 +133,7 @@ def sync(
|
|
|
117
133
|
graph_id: str,
|
|
118
134
|
*,
|
|
119
135
|
client: AuthenticatedClient,
|
|
136
|
+
token: Union[None, Unset, str] = UNSET,
|
|
120
137
|
authorization: Union[None, Unset, str] = UNSET,
|
|
121
138
|
) -> Optional[Union[Any, GetGraphLimitsResponseGetgraphlimits, HTTPValidationError]]:
|
|
122
139
|
"""Get Graph Operational Limits
|
|
@@ -137,6 +154,7 @@ def sync(
|
|
|
137
154
|
|
|
138
155
|
Args:
|
|
139
156
|
graph_id (str): Graph database identifier (user graph or shared repository)
|
|
157
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
140
158
|
authorization (Union[None, Unset, str]):
|
|
141
159
|
|
|
142
160
|
Raises:
|
|
@@ -150,6 +168,7 @@ def sync(
|
|
|
150
168
|
return sync_detailed(
|
|
151
169
|
graph_id=graph_id,
|
|
152
170
|
client=client,
|
|
171
|
+
token=token,
|
|
153
172
|
authorization=authorization,
|
|
154
173
|
).parsed
|
|
155
174
|
|
|
@@ -158,6 +177,7 @@ async def asyncio_detailed(
|
|
|
158
177
|
graph_id: str,
|
|
159
178
|
*,
|
|
160
179
|
client: AuthenticatedClient,
|
|
180
|
+
token: Union[None, Unset, str] = UNSET,
|
|
161
181
|
authorization: Union[None, Unset, str] = UNSET,
|
|
162
182
|
) -> Response[Union[Any, GetGraphLimitsResponseGetgraphlimits, HTTPValidationError]]:
|
|
163
183
|
"""Get Graph Operational Limits
|
|
@@ -178,6 +198,7 @@ async def asyncio_detailed(
|
|
|
178
198
|
|
|
179
199
|
Args:
|
|
180
200
|
graph_id (str): Graph database identifier (user graph or shared repository)
|
|
201
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
181
202
|
authorization (Union[None, Unset, str]):
|
|
182
203
|
|
|
183
204
|
Raises:
|
|
@@ -190,6 +211,7 @@ async def asyncio_detailed(
|
|
|
190
211
|
|
|
191
212
|
kwargs = _get_kwargs(
|
|
192
213
|
graph_id=graph_id,
|
|
214
|
+
token=token,
|
|
193
215
|
authorization=authorization,
|
|
194
216
|
)
|
|
195
217
|
|
|
@@ -202,6 +224,7 @@ async def asyncio(
|
|
|
202
224
|
graph_id: str,
|
|
203
225
|
*,
|
|
204
226
|
client: AuthenticatedClient,
|
|
227
|
+
token: Union[None, Unset, str] = UNSET,
|
|
205
228
|
authorization: Union[None, Unset, str] = UNSET,
|
|
206
229
|
) -> Optional[Union[Any, GetGraphLimitsResponseGetgraphlimits, HTTPValidationError]]:
|
|
207
230
|
"""Get Graph Operational Limits
|
|
@@ -222,6 +245,7 @@ async def asyncio(
|
|
|
222
245
|
|
|
223
246
|
Args:
|
|
224
247
|
graph_id (str): Graph database identifier (user graph or shared repository)
|
|
248
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
225
249
|
authorization (Union[None, Unset, str]):
|
|
226
250
|
|
|
227
251
|
Raises:
|
|
@@ -236,6 +260,7 @@ async def asyncio(
|
|
|
236
260
|
await asyncio_detailed(
|
|
237
261
|
graph_id=graph_id,
|
|
238
262
|
client=client,
|
|
263
|
+
token=token,
|
|
239
264
|
authorization=authorization,
|
|
240
265
|
)
|
|
241
266
|
).parsed
|