robosystems-client 0.1.15__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 +246 -0
- robosystems_client/api/agent/batch_process_queries.py +261 -0
- robosystems_client/api/agent/execute_specific_agent.py +258 -0
- robosystems_client/api/agent/get_agent_metadata.py +238 -0
- robosystems_client/api/agent/list_agents.py +246 -0
- robosystems_client/api/agent/recommend_agent.py +255 -0
- 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 +14 -28
- 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 +51 -3
- robosystems_client/models/agent_list_response.py +74 -0
- robosystems_client/models/agent_list_response_agents.py +67 -0
- robosystems_client/models/{credits_summary_response_credits_by_addon_item.py → agent_list_response_agents_additional_property.py} +5 -5
- robosystems_client/models/agent_message.py +35 -1
- robosystems_client/models/agent_metadata_response.py +133 -0
- robosystems_client/models/agent_mode.py +11 -0
- robosystems_client/models/agent_recommendation.py +106 -0
- robosystems_client/models/agent_recommendation_request.py +108 -0
- robosystems_client/models/agent_recommendation_request_context_type_0.py +44 -0
- robosystems_client/models/agent_recommendation_response.py +82 -0
- robosystems_client/models/agent_request.py +110 -6
- robosystems_client/models/agent_response.py +161 -11
- robosystems_client/models/agent_response_error_details_type_0.py +44 -0
- robosystems_client/models/agent_response_tokens_used_type_0.py +44 -0
- robosystems_client/models/auth_response.py +20 -6
- robosystems_client/models/batch_agent_request.py +85 -0
- robosystems_client/models/batch_agent_response.py +90 -0
- robosystems_client/models/credit_summary.py +35 -9
- robosystems_client/models/credits_summary_response.py +47 -21
- robosystems_client/models/credits_summary_response_credits_by_addon_type_0_item.py +44 -0
- robosystems_client/models/custom_schema_definition.py +7 -14
- robosystems_client/models/custom_schema_definition_metadata.py +1 -6
- robosystems_client/models/database_health_response.py +11 -11
- robosystems_client/models/database_info_response.py +13 -14
- robosystems_client/models/email_verification_request.py +60 -0
- robosystems_client/models/error_response.py +4 -8
- robosystems_client/models/forgot_password_request.py +60 -0
- robosystems_client/models/forgot_password_response_forgotpassword.py +44 -0
- robosystems_client/models/graph_metadata.py +4 -5
- robosystems_client/models/health_status.py +2 -2
- robosystems_client/models/repository_credits_response.py +43 -16
- 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/models/schema_export_response.py +5 -8
- robosystems_client/models/schema_validation_request.py +3 -5
- robosystems_client/models/schema_validation_response.py +5 -5
- robosystems_client/models/selection_criteria.py +122 -0
- robosystems_client/models/success_response.py +1 -1
- robosystems_client-0.1.17.dist-info/METADATA +89 -0
- {robosystems_client-0.1.15.dist-info → robosystems_client-0.1.17.dist-info}/RECORD +128 -97
- robosystems_client-0.1.17.dist-info/licenses/LICENSE +21 -0
- robosystems_client/api/agent/query_financial_agent.py +0 -423
- robosystems_client-0.1.15.dist-info/METADATA +0 -302
- {robosystems_client-0.1.15.dist-info → robosystems_client-0.1.17.dist-info}/WHEEL +0 -0
|
@@ -18,16 +18,11 @@ def _get_kwargs(
|
|
|
18
18
|
*,
|
|
19
19
|
months: Union[Unset, int] = 6,
|
|
20
20
|
authorization: Union[None, Unset, str] = UNSET,
|
|
21
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
22
21
|
) -> dict[str, Any]:
|
|
23
22
|
headers: dict[str, Any] = {}
|
|
24
23
|
if not isinstance(authorization, Unset):
|
|
25
24
|
headers["authorization"] = authorization
|
|
26
25
|
|
|
27
|
-
cookies = {}
|
|
28
|
-
if auth_token is not UNSET:
|
|
29
|
-
cookies["auth-token"] = auth_token
|
|
30
|
-
|
|
31
26
|
params: dict[str, Any] = {}
|
|
32
27
|
|
|
33
28
|
params["months"] = months
|
|
@@ -38,7 +33,6 @@ def _get_kwargs(
|
|
|
38
33
|
"method": "get",
|
|
39
34
|
"url": f"/v1/{graph_id}/billing/history",
|
|
40
35
|
"params": params,
|
|
41
|
-
"cookies": cookies,
|
|
42
36
|
}
|
|
43
37
|
|
|
44
38
|
_kwargs["headers"] = headers
|
|
@@ -105,7 +99,6 @@ def sync_detailed(
|
|
|
105
99
|
client: AuthenticatedClient,
|
|
106
100
|
months: Union[Unset, int] = 6,
|
|
107
101
|
authorization: Union[None, Unset, str] = UNSET,
|
|
108
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
109
102
|
) -> Response[
|
|
110
103
|
Union[
|
|
111
104
|
ErrorResponse,
|
|
@@ -135,7 +128,6 @@ def sync_detailed(
|
|
|
135
128
|
graph_id (str): Graph database identifier
|
|
136
129
|
months (Union[Unset, int]): Number of months to retrieve (1-24) Default: 6.
|
|
137
130
|
authorization (Union[None, Unset, str]):
|
|
138
|
-
auth_token (Union[None, Unset, str]):
|
|
139
131
|
|
|
140
132
|
Raises:
|
|
141
133
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -149,7 +141,6 @@ def sync_detailed(
|
|
|
149
141
|
graph_id=graph_id,
|
|
150
142
|
months=months,
|
|
151
143
|
authorization=authorization,
|
|
152
|
-
auth_token=auth_token,
|
|
153
144
|
)
|
|
154
145
|
|
|
155
146
|
response = client.get_httpx_client().request(
|
|
@@ -165,7 +156,6 @@ def sync(
|
|
|
165
156
|
client: AuthenticatedClient,
|
|
166
157
|
months: Union[Unset, int] = 6,
|
|
167
158
|
authorization: Union[None, Unset, str] = UNSET,
|
|
168
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
169
159
|
) -> Optional[
|
|
170
160
|
Union[
|
|
171
161
|
ErrorResponse,
|
|
@@ -195,7 +185,6 @@ def sync(
|
|
|
195
185
|
graph_id (str): Graph database identifier
|
|
196
186
|
months (Union[Unset, int]): Number of months to retrieve (1-24) Default: 6.
|
|
197
187
|
authorization (Union[None, Unset, str]):
|
|
198
|
-
auth_token (Union[None, Unset, str]):
|
|
199
188
|
|
|
200
189
|
Raises:
|
|
201
190
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -210,7 +199,6 @@ def sync(
|
|
|
210
199
|
client=client,
|
|
211
200
|
months=months,
|
|
212
201
|
authorization=authorization,
|
|
213
|
-
auth_token=auth_token,
|
|
214
202
|
).parsed
|
|
215
203
|
|
|
216
204
|
|
|
@@ -220,7 +208,6 @@ async def asyncio_detailed(
|
|
|
220
208
|
client: AuthenticatedClient,
|
|
221
209
|
months: Union[Unset, int] = 6,
|
|
222
210
|
authorization: Union[None, Unset, str] = UNSET,
|
|
223
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
224
211
|
) -> Response[
|
|
225
212
|
Union[
|
|
226
213
|
ErrorResponse,
|
|
@@ -250,7 +237,6 @@ async def asyncio_detailed(
|
|
|
250
237
|
graph_id (str): Graph database identifier
|
|
251
238
|
months (Union[Unset, int]): Number of months to retrieve (1-24) Default: 6.
|
|
252
239
|
authorization (Union[None, Unset, str]):
|
|
253
|
-
auth_token (Union[None, Unset, str]):
|
|
254
240
|
|
|
255
241
|
Raises:
|
|
256
242
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -264,7 +250,6 @@ async def asyncio_detailed(
|
|
|
264
250
|
graph_id=graph_id,
|
|
265
251
|
months=months,
|
|
266
252
|
authorization=authorization,
|
|
267
|
-
auth_token=auth_token,
|
|
268
253
|
)
|
|
269
254
|
|
|
270
255
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -278,7 +263,6 @@ async def asyncio(
|
|
|
278
263
|
client: AuthenticatedClient,
|
|
279
264
|
months: Union[Unset, int] = 6,
|
|
280
265
|
authorization: Union[None, Unset, str] = UNSET,
|
|
281
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
282
266
|
) -> Optional[
|
|
283
267
|
Union[
|
|
284
268
|
ErrorResponse,
|
|
@@ -308,7 +292,6 @@ async def asyncio(
|
|
|
308
292
|
graph_id (str): Graph database identifier
|
|
309
293
|
months (Union[Unset, int]): Number of months to retrieve (1-24) Default: 6.
|
|
310
294
|
authorization (Union[None, Unset, str]):
|
|
311
|
-
auth_token (Union[None, Unset, str]):
|
|
312
295
|
|
|
313
296
|
Raises:
|
|
314
297
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -324,6 +307,5 @@ async def asyncio(
|
|
|
324
307
|
client=client,
|
|
325
308
|
months=months,
|
|
326
309
|
authorization=authorization,
|
|
327
|
-
auth_token=auth_token,
|
|
328
310
|
)
|
|
329
311
|
).parsed
|
|
@@ -19,20 +19,14 @@ def _get_kwargs(
|
|
|
19
19
|
month: int,
|
|
20
20
|
*,
|
|
21
21
|
authorization: Union[None, Unset, str] = UNSET,
|
|
22
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
23
22
|
) -> dict[str, Any]:
|
|
24
23
|
headers: dict[str, Any] = {}
|
|
25
24
|
if not isinstance(authorization, Unset):
|
|
26
25
|
headers["authorization"] = authorization
|
|
27
26
|
|
|
28
|
-
cookies = {}
|
|
29
|
-
if auth_token is not UNSET:
|
|
30
|
-
cookies["auth-token"] = auth_token
|
|
31
|
-
|
|
32
27
|
_kwargs: dict[str, Any] = {
|
|
33
28
|
"method": "get",
|
|
34
29
|
"url": f"/v1/{graph_id}/billing/history/{year}/{month}",
|
|
35
|
-
"cookies": cookies,
|
|
36
30
|
}
|
|
37
31
|
|
|
38
32
|
_kwargs["headers"] = headers
|
|
@@ -100,7 +94,6 @@ def sync_detailed(
|
|
|
100
94
|
*,
|
|
101
95
|
client: AuthenticatedClient,
|
|
102
96
|
authorization: Union[None, Unset, str] = UNSET,
|
|
103
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
104
97
|
) -> Response[
|
|
105
98
|
Union[
|
|
106
99
|
ErrorResponse, GetGraphMonthlyBillResponseGetgraphmonthlybill, HTTPValidationError
|
|
@@ -126,7 +119,6 @@ def sync_detailed(
|
|
|
126
119
|
year (int): Year (2024-2030)
|
|
127
120
|
month (int): Month (1-12)
|
|
128
121
|
authorization (Union[None, Unset, str]):
|
|
129
|
-
auth_token (Union[None, Unset, str]):
|
|
130
122
|
|
|
131
123
|
Raises:
|
|
132
124
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -141,7 +133,6 @@ def sync_detailed(
|
|
|
141
133
|
year=year,
|
|
142
134
|
month=month,
|
|
143
135
|
authorization=authorization,
|
|
144
|
-
auth_token=auth_token,
|
|
145
136
|
)
|
|
146
137
|
|
|
147
138
|
response = client.get_httpx_client().request(
|
|
@@ -158,7 +149,6 @@ def sync(
|
|
|
158
149
|
*,
|
|
159
150
|
client: AuthenticatedClient,
|
|
160
151
|
authorization: Union[None, Unset, str] = UNSET,
|
|
161
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
162
152
|
) -> Optional[
|
|
163
153
|
Union[
|
|
164
154
|
ErrorResponse, GetGraphMonthlyBillResponseGetgraphmonthlybill, HTTPValidationError
|
|
@@ -184,7 +174,6 @@ def sync(
|
|
|
184
174
|
year (int): Year (2024-2030)
|
|
185
175
|
month (int): Month (1-12)
|
|
186
176
|
authorization (Union[None, Unset, str]):
|
|
187
|
-
auth_token (Union[None, Unset, str]):
|
|
188
177
|
|
|
189
178
|
Raises:
|
|
190
179
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -200,7 +189,6 @@ def sync(
|
|
|
200
189
|
month=month,
|
|
201
190
|
client=client,
|
|
202
191
|
authorization=authorization,
|
|
203
|
-
auth_token=auth_token,
|
|
204
192
|
).parsed
|
|
205
193
|
|
|
206
194
|
|
|
@@ -211,7 +199,6 @@ async def asyncio_detailed(
|
|
|
211
199
|
*,
|
|
212
200
|
client: AuthenticatedClient,
|
|
213
201
|
authorization: Union[None, Unset, str] = UNSET,
|
|
214
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
215
202
|
) -> Response[
|
|
216
203
|
Union[
|
|
217
204
|
ErrorResponse, GetGraphMonthlyBillResponseGetgraphmonthlybill, HTTPValidationError
|
|
@@ -237,7 +224,6 @@ async def asyncio_detailed(
|
|
|
237
224
|
year (int): Year (2024-2030)
|
|
238
225
|
month (int): Month (1-12)
|
|
239
226
|
authorization (Union[None, Unset, str]):
|
|
240
|
-
auth_token (Union[None, Unset, str]):
|
|
241
227
|
|
|
242
228
|
Raises:
|
|
243
229
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -252,7 +238,6 @@ async def asyncio_detailed(
|
|
|
252
238
|
year=year,
|
|
253
239
|
month=month,
|
|
254
240
|
authorization=authorization,
|
|
255
|
-
auth_token=auth_token,
|
|
256
241
|
)
|
|
257
242
|
|
|
258
243
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -267,7 +252,6 @@ async def asyncio(
|
|
|
267
252
|
*,
|
|
268
253
|
client: AuthenticatedClient,
|
|
269
254
|
authorization: Union[None, Unset, str] = UNSET,
|
|
270
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
271
255
|
) -> Optional[
|
|
272
256
|
Union[
|
|
273
257
|
ErrorResponse, GetGraphMonthlyBillResponseGetgraphmonthlybill, HTTPValidationError
|
|
@@ -293,7 +277,6 @@ async def asyncio(
|
|
|
293
277
|
year (int): Year (2024-2030)
|
|
294
278
|
month (int): Month (1-12)
|
|
295
279
|
authorization (Union[None, Unset, str]):
|
|
296
|
-
auth_token (Union[None, Unset, str]):
|
|
297
280
|
|
|
298
281
|
Raises:
|
|
299
282
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -310,6 +293,5 @@ async def asyncio(
|
|
|
310
293
|
month=month,
|
|
311
294
|
client=client,
|
|
312
295
|
authorization=authorization,
|
|
313
|
-
auth_token=auth_token,
|
|
314
296
|
)
|
|
315
297
|
).parsed
|
|
@@ -19,16 +19,11 @@ def _get_kwargs(
|
|
|
19
19
|
year: Union[None, Unset, int] = UNSET,
|
|
20
20
|
month: Union[None, Unset, int] = UNSET,
|
|
21
21
|
authorization: Union[None, Unset, str] = UNSET,
|
|
22
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
23
22
|
) -> dict[str, Any]:
|
|
24
23
|
headers: dict[str, Any] = {}
|
|
25
24
|
if not isinstance(authorization, Unset):
|
|
26
25
|
headers["authorization"] = authorization
|
|
27
26
|
|
|
28
|
-
cookies = {}
|
|
29
|
-
if auth_token is not UNSET:
|
|
30
|
-
cookies["auth-token"] = auth_token
|
|
31
|
-
|
|
32
27
|
params: dict[str, Any] = {}
|
|
33
28
|
|
|
34
29
|
json_year: Union[None, Unset, int]
|
|
@@ -51,7 +46,6 @@ def _get_kwargs(
|
|
|
51
46
|
"method": "get",
|
|
52
47
|
"url": f"/v1/{graph_id}/billing/usage",
|
|
53
48
|
"params": params,
|
|
54
|
-
"cookies": cookies,
|
|
55
49
|
}
|
|
56
50
|
|
|
57
51
|
_kwargs["headers"] = headers
|
|
@@ -119,7 +113,6 @@ def sync_detailed(
|
|
|
119
113
|
year: Union[None, Unset, int] = UNSET,
|
|
120
114
|
month: Union[None, Unset, int] = UNSET,
|
|
121
115
|
authorization: Union[None, Unset, str] = UNSET,
|
|
122
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
123
116
|
) -> Response[
|
|
124
117
|
Union[
|
|
125
118
|
ErrorResponse, GetGraphUsageDetailsResponseGetgraphusagedetails, HTTPValidationError
|
|
@@ -149,7 +142,6 @@ def sync_detailed(
|
|
|
149
142
|
year (Union[None, Unset, int]): Year (defaults to current)
|
|
150
143
|
month (Union[None, Unset, int]): Month (defaults to current)
|
|
151
144
|
authorization (Union[None, Unset, str]):
|
|
152
|
-
auth_token (Union[None, Unset, str]):
|
|
153
145
|
|
|
154
146
|
Raises:
|
|
155
147
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -164,7 +156,6 @@ def sync_detailed(
|
|
|
164
156
|
year=year,
|
|
165
157
|
month=month,
|
|
166
158
|
authorization=authorization,
|
|
167
|
-
auth_token=auth_token,
|
|
168
159
|
)
|
|
169
160
|
|
|
170
161
|
response = client.get_httpx_client().request(
|
|
@@ -181,7 +172,6 @@ def sync(
|
|
|
181
172
|
year: Union[None, Unset, int] = UNSET,
|
|
182
173
|
month: Union[None, Unset, int] = UNSET,
|
|
183
174
|
authorization: Union[None, Unset, str] = UNSET,
|
|
184
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
185
175
|
) -> Optional[
|
|
186
176
|
Union[
|
|
187
177
|
ErrorResponse, GetGraphUsageDetailsResponseGetgraphusagedetails, HTTPValidationError
|
|
@@ -211,7 +201,6 @@ def sync(
|
|
|
211
201
|
year (Union[None, Unset, int]): Year (defaults to current)
|
|
212
202
|
month (Union[None, Unset, int]): Month (defaults to current)
|
|
213
203
|
authorization (Union[None, Unset, str]):
|
|
214
|
-
auth_token (Union[None, Unset, str]):
|
|
215
204
|
|
|
216
205
|
Raises:
|
|
217
206
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -227,7 +216,6 @@ def sync(
|
|
|
227
216
|
year=year,
|
|
228
217
|
month=month,
|
|
229
218
|
authorization=authorization,
|
|
230
|
-
auth_token=auth_token,
|
|
231
219
|
).parsed
|
|
232
220
|
|
|
233
221
|
|
|
@@ -238,7 +226,6 @@ async def asyncio_detailed(
|
|
|
238
226
|
year: Union[None, Unset, int] = UNSET,
|
|
239
227
|
month: Union[None, Unset, int] = UNSET,
|
|
240
228
|
authorization: Union[None, Unset, str] = UNSET,
|
|
241
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
242
229
|
) -> Response[
|
|
243
230
|
Union[
|
|
244
231
|
ErrorResponse, GetGraphUsageDetailsResponseGetgraphusagedetails, HTTPValidationError
|
|
@@ -268,7 +255,6 @@ async def asyncio_detailed(
|
|
|
268
255
|
year (Union[None, Unset, int]): Year (defaults to current)
|
|
269
256
|
month (Union[None, Unset, int]): Month (defaults to current)
|
|
270
257
|
authorization (Union[None, Unset, str]):
|
|
271
|
-
auth_token (Union[None, Unset, str]):
|
|
272
258
|
|
|
273
259
|
Raises:
|
|
274
260
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -283,7 +269,6 @@ async def asyncio_detailed(
|
|
|
283
269
|
year=year,
|
|
284
270
|
month=month,
|
|
285
271
|
authorization=authorization,
|
|
286
|
-
auth_token=auth_token,
|
|
287
272
|
)
|
|
288
273
|
|
|
289
274
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -298,7 +283,6 @@ async def asyncio(
|
|
|
298
283
|
year: Union[None, Unset, int] = UNSET,
|
|
299
284
|
month: Union[None, Unset, int] = UNSET,
|
|
300
285
|
authorization: Union[None, Unset, str] = UNSET,
|
|
301
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
302
286
|
) -> Optional[
|
|
303
287
|
Union[
|
|
304
288
|
ErrorResponse, GetGraphUsageDetailsResponseGetgraphusagedetails, HTTPValidationError
|
|
@@ -328,7 +312,6 @@ async def asyncio(
|
|
|
328
312
|
year (Union[None, Unset, int]): Year (defaults to current)
|
|
329
313
|
month (Union[None, Unset, int]): Month (defaults to current)
|
|
330
314
|
authorization (Union[None, Unset, str]):
|
|
331
|
-
auth_token (Union[None, Unset, str]):
|
|
332
315
|
|
|
333
316
|
Raises:
|
|
334
317
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -345,6 +328,5 @@ async def asyncio(
|
|
|
345
328
|
year=year,
|
|
346
329
|
month=month,
|
|
347
330
|
authorization=authorization,
|
|
348
|
-
auth_token=auth_token,
|
|
349
331
|
)
|
|
350
332
|
).parsed
|
|
@@ -17,23 +17,18 @@ def _get_kwargs(
|
|
|
17
17
|
graph_id: str,
|
|
18
18
|
*,
|
|
19
19
|
operation_type: str,
|
|
20
|
-
base_cost: Union[None, Unset, float] = UNSET,
|
|
20
|
+
base_cost: Union[None, Unset, float, str] = UNSET,
|
|
21
21
|
authorization: Union[None, Unset, str] = UNSET,
|
|
22
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
23
22
|
) -> dict[str, Any]:
|
|
24
23
|
headers: dict[str, Any] = {}
|
|
25
24
|
if not isinstance(authorization, Unset):
|
|
26
25
|
headers["authorization"] = authorization
|
|
27
26
|
|
|
28
|
-
cookies = {}
|
|
29
|
-
if auth_token is not UNSET:
|
|
30
|
-
cookies["auth-token"] = auth_token
|
|
31
|
-
|
|
32
27
|
params: dict[str, Any] = {}
|
|
33
28
|
|
|
34
29
|
params["operation_type"] = operation_type
|
|
35
30
|
|
|
36
|
-
json_base_cost: Union[None, Unset, float]
|
|
31
|
+
json_base_cost: Union[None, Unset, float, str]
|
|
37
32
|
if isinstance(base_cost, Unset):
|
|
38
33
|
json_base_cost = UNSET
|
|
39
34
|
else:
|
|
@@ -46,7 +41,6 @@ def _get_kwargs(
|
|
|
46
41
|
"method": "get",
|
|
47
42
|
"url": f"/v1/{graph_id}/credits/balance/check",
|
|
48
43
|
"params": params,
|
|
49
|
-
"cookies": cookies,
|
|
50
44
|
}
|
|
51
45
|
|
|
52
46
|
_kwargs["headers"] = headers
|
|
@@ -108,9 +102,8 @@ def sync_detailed(
|
|
|
108
102
|
*,
|
|
109
103
|
client: AuthenticatedClient,
|
|
110
104
|
operation_type: str,
|
|
111
|
-
base_cost: Union[None, Unset, float] = UNSET,
|
|
105
|
+
base_cost: Union[None, Unset, float, str] = UNSET,
|
|
112
106
|
authorization: Union[None, Unset, str] = UNSET,
|
|
113
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
114
107
|
) -> Response[
|
|
115
108
|
Union[
|
|
116
109
|
CheckCreditBalanceResponseCheckcreditbalance, ErrorResponse, HTTPValidationError
|
|
@@ -133,9 +126,9 @@ def sync_detailed(
|
|
|
133
126
|
Args:
|
|
134
127
|
graph_id (str): Graph database identifier
|
|
135
128
|
operation_type (str): Type of operation to check
|
|
136
|
-
base_cost (Union[None, Unset, float]): Custom base cost (uses default if not
|
|
129
|
+
base_cost (Union[None, Unset, float, str]): Custom base cost (uses default if not
|
|
130
|
+
provided)
|
|
137
131
|
authorization (Union[None, Unset, str]):
|
|
138
|
-
auth_token (Union[None, Unset, str]):
|
|
139
132
|
|
|
140
133
|
Raises:
|
|
141
134
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -150,7 +143,6 @@ def sync_detailed(
|
|
|
150
143
|
operation_type=operation_type,
|
|
151
144
|
base_cost=base_cost,
|
|
152
145
|
authorization=authorization,
|
|
153
|
-
auth_token=auth_token,
|
|
154
146
|
)
|
|
155
147
|
|
|
156
148
|
response = client.get_httpx_client().request(
|
|
@@ -165,9 +157,8 @@ def sync(
|
|
|
165
157
|
*,
|
|
166
158
|
client: AuthenticatedClient,
|
|
167
159
|
operation_type: str,
|
|
168
|
-
base_cost: Union[None, Unset, float] = UNSET,
|
|
160
|
+
base_cost: Union[None, Unset, float, str] = UNSET,
|
|
169
161
|
authorization: Union[None, Unset, str] = UNSET,
|
|
170
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
171
162
|
) -> Optional[
|
|
172
163
|
Union[
|
|
173
164
|
CheckCreditBalanceResponseCheckcreditbalance, ErrorResponse, HTTPValidationError
|
|
@@ -190,9 +181,9 @@ def sync(
|
|
|
190
181
|
Args:
|
|
191
182
|
graph_id (str): Graph database identifier
|
|
192
183
|
operation_type (str): Type of operation to check
|
|
193
|
-
base_cost (Union[None, Unset, float]): Custom base cost (uses default if not
|
|
184
|
+
base_cost (Union[None, Unset, float, str]): Custom base cost (uses default if not
|
|
185
|
+
provided)
|
|
194
186
|
authorization (Union[None, Unset, str]):
|
|
195
|
-
auth_token (Union[None, Unset, str]):
|
|
196
187
|
|
|
197
188
|
Raises:
|
|
198
189
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -208,7 +199,6 @@ def sync(
|
|
|
208
199
|
operation_type=operation_type,
|
|
209
200
|
base_cost=base_cost,
|
|
210
201
|
authorization=authorization,
|
|
211
|
-
auth_token=auth_token,
|
|
212
202
|
).parsed
|
|
213
203
|
|
|
214
204
|
|
|
@@ -217,9 +207,8 @@ async def asyncio_detailed(
|
|
|
217
207
|
*,
|
|
218
208
|
client: AuthenticatedClient,
|
|
219
209
|
operation_type: str,
|
|
220
|
-
base_cost: Union[None, Unset, float] = UNSET,
|
|
210
|
+
base_cost: Union[None, Unset, float, str] = UNSET,
|
|
221
211
|
authorization: Union[None, Unset, str] = UNSET,
|
|
222
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
223
212
|
) -> Response[
|
|
224
213
|
Union[
|
|
225
214
|
CheckCreditBalanceResponseCheckcreditbalance, ErrorResponse, HTTPValidationError
|
|
@@ -242,9 +231,9 @@ async def asyncio_detailed(
|
|
|
242
231
|
Args:
|
|
243
232
|
graph_id (str): Graph database identifier
|
|
244
233
|
operation_type (str): Type of operation to check
|
|
245
|
-
base_cost (Union[None, Unset, float]): Custom base cost (uses default if not
|
|
234
|
+
base_cost (Union[None, Unset, float, str]): Custom base cost (uses default if not
|
|
235
|
+
provided)
|
|
246
236
|
authorization (Union[None, Unset, str]):
|
|
247
|
-
auth_token (Union[None, Unset, str]):
|
|
248
237
|
|
|
249
238
|
Raises:
|
|
250
239
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -259,7 +248,6 @@ async def asyncio_detailed(
|
|
|
259
248
|
operation_type=operation_type,
|
|
260
249
|
base_cost=base_cost,
|
|
261
250
|
authorization=authorization,
|
|
262
|
-
auth_token=auth_token,
|
|
263
251
|
)
|
|
264
252
|
|
|
265
253
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -272,9 +260,8 @@ async def asyncio(
|
|
|
272
260
|
*,
|
|
273
261
|
client: AuthenticatedClient,
|
|
274
262
|
operation_type: str,
|
|
275
|
-
base_cost: Union[None, Unset, float] = UNSET,
|
|
263
|
+
base_cost: Union[None, Unset, float, str] = UNSET,
|
|
276
264
|
authorization: Union[None, Unset, str] = UNSET,
|
|
277
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
278
265
|
) -> Optional[
|
|
279
266
|
Union[
|
|
280
267
|
CheckCreditBalanceResponseCheckcreditbalance, ErrorResponse, HTTPValidationError
|
|
@@ -297,9 +284,9 @@ async def asyncio(
|
|
|
297
284
|
Args:
|
|
298
285
|
graph_id (str): Graph database identifier
|
|
299
286
|
operation_type (str): Type of operation to check
|
|
300
|
-
base_cost (Union[None, Unset, float]): Custom base cost (uses default if not
|
|
287
|
+
base_cost (Union[None, Unset, float, str]): Custom base cost (uses default if not
|
|
288
|
+
provided)
|
|
301
289
|
authorization (Union[None, Unset, str]):
|
|
302
|
-
auth_token (Union[None, Unset, str]):
|
|
303
290
|
|
|
304
291
|
Raises:
|
|
305
292
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -316,6 +303,5 @@ async def asyncio(
|
|
|
316
303
|
operation_type=operation_type,
|
|
317
304
|
base_cost=base_cost,
|
|
318
305
|
authorization=authorization,
|
|
319
|
-
auth_token=auth_token,
|
|
320
306
|
)
|
|
321
307
|
).parsed
|
|
@@ -15,20 +15,14 @@ def _get_kwargs(
|
|
|
15
15
|
graph_id: str,
|
|
16
16
|
*,
|
|
17
17
|
authorization: Union[None, Unset, str] = UNSET,
|
|
18
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
19
18
|
) -> dict[str, Any]:
|
|
20
19
|
headers: dict[str, Any] = {}
|
|
21
20
|
if not isinstance(authorization, Unset):
|
|
22
21
|
headers["authorization"] = authorization
|
|
23
22
|
|
|
24
|
-
cookies = {}
|
|
25
|
-
if auth_token is not UNSET:
|
|
26
|
-
cookies["auth-token"] = auth_token
|
|
27
|
-
|
|
28
23
|
_kwargs: dict[str, Any] = {
|
|
29
24
|
"method": "get",
|
|
30
25
|
"url": f"/v1/{graph_id}/credits/storage/limits",
|
|
31
|
-
"cookies": cookies,
|
|
32
26
|
}
|
|
33
27
|
|
|
34
28
|
_kwargs["headers"] = headers
|
|
@@ -80,7 +74,6 @@ def sync_detailed(
|
|
|
80
74
|
*,
|
|
81
75
|
client: AuthenticatedClient,
|
|
82
76
|
authorization: Union[None, Unset, str] = UNSET,
|
|
83
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
84
77
|
) -> Response[Union[ErrorResponse, HTTPValidationError, StorageLimitResponse]]:
|
|
85
78
|
"""Check Storage Limits
|
|
86
79
|
|
|
@@ -98,7 +91,6 @@ def sync_detailed(
|
|
|
98
91
|
Args:
|
|
99
92
|
graph_id (str): Graph database identifier
|
|
100
93
|
authorization (Union[None, Unset, str]):
|
|
101
|
-
auth_token (Union[None, Unset, str]):
|
|
102
94
|
|
|
103
95
|
Raises:
|
|
104
96
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -111,7 +103,6 @@ def sync_detailed(
|
|
|
111
103
|
kwargs = _get_kwargs(
|
|
112
104
|
graph_id=graph_id,
|
|
113
105
|
authorization=authorization,
|
|
114
|
-
auth_token=auth_token,
|
|
115
106
|
)
|
|
116
107
|
|
|
117
108
|
response = client.get_httpx_client().request(
|
|
@@ -126,7 +117,6 @@ def sync(
|
|
|
126
117
|
*,
|
|
127
118
|
client: AuthenticatedClient,
|
|
128
119
|
authorization: Union[None, Unset, str] = UNSET,
|
|
129
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
130
120
|
) -> Optional[Union[ErrorResponse, HTTPValidationError, StorageLimitResponse]]:
|
|
131
121
|
"""Check Storage Limits
|
|
132
122
|
|
|
@@ -144,7 +134,6 @@ def sync(
|
|
|
144
134
|
Args:
|
|
145
135
|
graph_id (str): Graph database identifier
|
|
146
136
|
authorization (Union[None, Unset, str]):
|
|
147
|
-
auth_token (Union[None, Unset, str]):
|
|
148
137
|
|
|
149
138
|
Raises:
|
|
150
139
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -158,7 +147,6 @@ def sync(
|
|
|
158
147
|
graph_id=graph_id,
|
|
159
148
|
client=client,
|
|
160
149
|
authorization=authorization,
|
|
161
|
-
auth_token=auth_token,
|
|
162
150
|
).parsed
|
|
163
151
|
|
|
164
152
|
|
|
@@ -167,7 +155,6 @@ async def asyncio_detailed(
|
|
|
167
155
|
*,
|
|
168
156
|
client: AuthenticatedClient,
|
|
169
157
|
authorization: Union[None, Unset, str] = UNSET,
|
|
170
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
171
158
|
) -> Response[Union[ErrorResponse, HTTPValidationError, StorageLimitResponse]]:
|
|
172
159
|
"""Check Storage Limits
|
|
173
160
|
|
|
@@ -185,7 +172,6 @@ async def asyncio_detailed(
|
|
|
185
172
|
Args:
|
|
186
173
|
graph_id (str): Graph database identifier
|
|
187
174
|
authorization (Union[None, Unset, str]):
|
|
188
|
-
auth_token (Union[None, Unset, str]):
|
|
189
175
|
|
|
190
176
|
Raises:
|
|
191
177
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -198,7 +184,6 @@ async def asyncio_detailed(
|
|
|
198
184
|
kwargs = _get_kwargs(
|
|
199
185
|
graph_id=graph_id,
|
|
200
186
|
authorization=authorization,
|
|
201
|
-
auth_token=auth_token,
|
|
202
187
|
)
|
|
203
188
|
|
|
204
189
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -211,7 +196,6 @@ async def asyncio(
|
|
|
211
196
|
*,
|
|
212
197
|
client: AuthenticatedClient,
|
|
213
198
|
authorization: Union[None, Unset, str] = UNSET,
|
|
214
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
215
199
|
) -> Optional[Union[ErrorResponse, HTTPValidationError, StorageLimitResponse]]:
|
|
216
200
|
"""Check Storage Limits
|
|
217
201
|
|
|
@@ -229,7 +213,6 @@ async def asyncio(
|
|
|
229
213
|
Args:
|
|
230
214
|
graph_id (str): Graph database identifier
|
|
231
215
|
authorization (Union[None, Unset, str]):
|
|
232
|
-
auth_token (Union[None, Unset, str]):
|
|
233
216
|
|
|
234
217
|
Raises:
|
|
235
218
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -244,6 +227,5 @@ async def asyncio(
|
|
|
244
227
|
graph_id=graph_id,
|
|
245
228
|
client=client,
|
|
246
229
|
authorization=authorization,
|
|
247
|
-
auth_token=auth_token,
|
|
248
230
|
)
|
|
249
231
|
).parsed
|