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
|
@@ -14,20 +14,14 @@ def _get_kwargs(
|
|
|
14
14
|
graph_id: str,
|
|
15
15
|
*,
|
|
16
16
|
authorization: Union[None, Unset, str] = UNSET,
|
|
17
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
18
17
|
) -> dict[str, Any]:
|
|
19
18
|
headers: dict[str, Any] = {}
|
|
20
19
|
if not isinstance(authorization, Unset):
|
|
21
20
|
headers["authorization"] = authorization
|
|
22
21
|
|
|
23
|
-
cookies = {}
|
|
24
|
-
if auth_token is not UNSET:
|
|
25
|
-
cookies["auth-token"] = auth_token
|
|
26
|
-
|
|
27
22
|
_kwargs: dict[str, Any] = {
|
|
28
23
|
"method": "get",
|
|
29
24
|
"url": f"/v1/{graph_id}/subgraphs/quota",
|
|
30
|
-
"cookies": cookies,
|
|
31
25
|
}
|
|
32
26
|
|
|
33
27
|
_kwargs["headers"] = headers
|
|
@@ -79,7 +73,6 @@ def sync_detailed(
|
|
|
79
73
|
*,
|
|
80
74
|
client: AuthenticatedClient,
|
|
81
75
|
authorization: Union[None, Unset, str] = UNSET,
|
|
82
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
83
76
|
) -> Response[Union[Any, HTTPValidationError, SubgraphQuotaResponse]]:
|
|
84
77
|
"""Get Subgraph Quota
|
|
85
78
|
|
|
@@ -104,7 +97,6 @@ def sync_detailed(
|
|
|
104
97
|
Args:
|
|
105
98
|
graph_id (str): Parent graph identifier
|
|
106
99
|
authorization (Union[None, Unset, str]):
|
|
107
|
-
auth_token (Union[None, Unset, str]):
|
|
108
100
|
|
|
109
101
|
Raises:
|
|
110
102
|
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
|
kwargs = _get_kwargs(
|
|
118
110
|
graph_id=graph_id,
|
|
119
111
|
authorization=authorization,
|
|
120
|
-
auth_token=auth_token,
|
|
121
112
|
)
|
|
122
113
|
|
|
123
114
|
response = client.get_httpx_client().request(
|
|
@@ -132,7 +123,6 @@ def sync(
|
|
|
132
123
|
*,
|
|
133
124
|
client: AuthenticatedClient,
|
|
134
125
|
authorization: Union[None, Unset, str] = UNSET,
|
|
135
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
136
126
|
) -> Optional[Union[Any, HTTPValidationError, SubgraphQuotaResponse]]:
|
|
137
127
|
"""Get Subgraph Quota
|
|
138
128
|
|
|
@@ -157,7 +147,6 @@ def sync(
|
|
|
157
147
|
Args:
|
|
158
148
|
graph_id (str): Parent graph identifier
|
|
159
149
|
authorization (Union[None, Unset, str]):
|
|
160
|
-
auth_token (Union[None, Unset, str]):
|
|
161
150
|
|
|
162
151
|
Raises:
|
|
163
152
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -171,7 +160,6 @@ def sync(
|
|
|
171
160
|
graph_id=graph_id,
|
|
172
161
|
client=client,
|
|
173
162
|
authorization=authorization,
|
|
174
|
-
auth_token=auth_token,
|
|
175
163
|
).parsed
|
|
176
164
|
|
|
177
165
|
|
|
@@ -180,7 +168,6 @@ async def asyncio_detailed(
|
|
|
180
168
|
*,
|
|
181
169
|
client: AuthenticatedClient,
|
|
182
170
|
authorization: Union[None, Unset, str] = UNSET,
|
|
183
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
184
171
|
) -> Response[Union[Any, HTTPValidationError, SubgraphQuotaResponse]]:
|
|
185
172
|
"""Get Subgraph Quota
|
|
186
173
|
|
|
@@ -205,7 +192,6 @@ async def asyncio_detailed(
|
|
|
205
192
|
Args:
|
|
206
193
|
graph_id (str): Parent graph identifier
|
|
207
194
|
authorization (Union[None, Unset, str]):
|
|
208
|
-
auth_token (Union[None, Unset, str]):
|
|
209
195
|
|
|
210
196
|
Raises:
|
|
211
197
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -218,7 +204,6 @@ async def asyncio_detailed(
|
|
|
218
204
|
kwargs = _get_kwargs(
|
|
219
205
|
graph_id=graph_id,
|
|
220
206
|
authorization=authorization,
|
|
221
|
-
auth_token=auth_token,
|
|
222
207
|
)
|
|
223
208
|
|
|
224
209
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -231,7 +216,6 @@ async def asyncio(
|
|
|
231
216
|
*,
|
|
232
217
|
client: AuthenticatedClient,
|
|
233
218
|
authorization: Union[None, Unset, str] = UNSET,
|
|
234
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
235
219
|
) -> Optional[Union[Any, HTTPValidationError, SubgraphQuotaResponse]]:
|
|
236
220
|
"""Get Subgraph Quota
|
|
237
221
|
|
|
@@ -256,7 +240,6 @@ async def asyncio(
|
|
|
256
240
|
Args:
|
|
257
241
|
graph_id (str): Parent graph identifier
|
|
258
242
|
authorization (Union[None, Unset, str]):
|
|
259
|
-
auth_token (Union[None, Unset, str]):
|
|
260
243
|
|
|
261
244
|
Raises:
|
|
262
245
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -271,6 +254,5 @@ async def asyncio(
|
|
|
271
254
|
graph_id=graph_id,
|
|
272
255
|
client=client,
|
|
273
256
|
authorization=authorization,
|
|
274
|
-
auth_token=auth_token,
|
|
275
257
|
)
|
|
276
258
|
).parsed
|
|
@@ -14,20 +14,14 @@ def _get_kwargs(
|
|
|
14
14
|
graph_id: str,
|
|
15
15
|
*,
|
|
16
16
|
authorization: Union[None, Unset, str] = UNSET,
|
|
17
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
18
17
|
) -> dict[str, Any]:
|
|
19
18
|
headers: dict[str, Any] = {}
|
|
20
19
|
if not isinstance(authorization, Unset):
|
|
21
20
|
headers["authorization"] = authorization
|
|
22
21
|
|
|
23
|
-
cookies = {}
|
|
24
|
-
if auth_token is not UNSET:
|
|
25
|
-
cookies["auth-token"] = auth_token
|
|
26
|
-
|
|
27
22
|
_kwargs: dict[str, Any] = {
|
|
28
23
|
"method": "get",
|
|
29
24
|
"url": f"/v1/{graph_id}/subgraphs",
|
|
30
|
-
"cookies": cookies,
|
|
31
25
|
}
|
|
32
26
|
|
|
33
27
|
_kwargs["headers"] = headers
|
|
@@ -67,7 +61,6 @@ def sync_detailed(
|
|
|
67
61
|
*,
|
|
68
62
|
client: AuthenticatedClient,
|
|
69
63
|
authorization: Union[None, Unset, str] = UNSET,
|
|
70
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
71
64
|
) -> Response[Union[HTTPValidationError, ListSubgraphsResponse]]:
|
|
72
65
|
"""List Subgraphs
|
|
73
66
|
|
|
@@ -85,7 +78,6 @@ def sync_detailed(
|
|
|
85
78
|
Args:
|
|
86
79
|
graph_id (str): Parent graph ID (e.g., 'kg1a2b3c4d5')
|
|
87
80
|
authorization (Union[None, Unset, str]):
|
|
88
|
-
auth_token (Union[None, Unset, str]):
|
|
89
81
|
|
|
90
82
|
Raises:
|
|
91
83
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -98,7 +90,6 @@ def sync_detailed(
|
|
|
98
90
|
kwargs = _get_kwargs(
|
|
99
91
|
graph_id=graph_id,
|
|
100
92
|
authorization=authorization,
|
|
101
|
-
auth_token=auth_token,
|
|
102
93
|
)
|
|
103
94
|
|
|
104
95
|
response = client.get_httpx_client().request(
|
|
@@ -113,7 +104,6 @@ def sync(
|
|
|
113
104
|
*,
|
|
114
105
|
client: AuthenticatedClient,
|
|
115
106
|
authorization: Union[None, Unset, str] = UNSET,
|
|
116
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
117
107
|
) -> Optional[Union[HTTPValidationError, ListSubgraphsResponse]]:
|
|
118
108
|
"""List Subgraphs
|
|
119
109
|
|
|
@@ -131,7 +121,6 @@ def sync(
|
|
|
131
121
|
Args:
|
|
132
122
|
graph_id (str): Parent graph ID (e.g., 'kg1a2b3c4d5')
|
|
133
123
|
authorization (Union[None, Unset, str]):
|
|
134
|
-
auth_token (Union[None, Unset, str]):
|
|
135
124
|
|
|
136
125
|
Raises:
|
|
137
126
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -145,7 +134,6 @@ def sync(
|
|
|
145
134
|
graph_id=graph_id,
|
|
146
135
|
client=client,
|
|
147
136
|
authorization=authorization,
|
|
148
|
-
auth_token=auth_token,
|
|
149
137
|
).parsed
|
|
150
138
|
|
|
151
139
|
|
|
@@ -154,7 +142,6 @@ async def asyncio_detailed(
|
|
|
154
142
|
*,
|
|
155
143
|
client: AuthenticatedClient,
|
|
156
144
|
authorization: Union[None, Unset, str] = UNSET,
|
|
157
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
158
145
|
) -> Response[Union[HTTPValidationError, ListSubgraphsResponse]]:
|
|
159
146
|
"""List Subgraphs
|
|
160
147
|
|
|
@@ -172,7 +159,6 @@ async def asyncio_detailed(
|
|
|
172
159
|
Args:
|
|
173
160
|
graph_id (str): Parent graph ID (e.g., 'kg1a2b3c4d5')
|
|
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.
|
|
@@ -185,7 +171,6 @@ async def asyncio_detailed(
|
|
|
185
171
|
kwargs = _get_kwargs(
|
|
186
172
|
graph_id=graph_id,
|
|
187
173
|
authorization=authorization,
|
|
188
|
-
auth_token=auth_token,
|
|
189
174
|
)
|
|
190
175
|
|
|
191
176
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -198,7 +183,6 @@ async def asyncio(
|
|
|
198
183
|
*,
|
|
199
184
|
client: AuthenticatedClient,
|
|
200
185
|
authorization: Union[None, Unset, str] = UNSET,
|
|
201
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
202
186
|
) -> Optional[Union[HTTPValidationError, ListSubgraphsResponse]]:
|
|
203
187
|
"""List Subgraphs
|
|
204
188
|
|
|
@@ -216,7 +200,6 @@ async def asyncio(
|
|
|
216
200
|
Args:
|
|
217
201
|
graph_id (str): Parent graph ID (e.g., 'kg1a2b3c4d5')
|
|
218
202
|
authorization (Union[None, Unset, str]):
|
|
219
|
-
auth_token (Union[None, Unset, str]):
|
|
220
203
|
|
|
221
204
|
Raises:
|
|
222
205
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -231,6 +214,5 @@ async def asyncio(
|
|
|
231
214
|
graph_id=graph_id,
|
|
232
215
|
client=client,
|
|
233
216
|
authorization=authorization,
|
|
234
|
-
auth_token=auth_token,
|
|
235
217
|
)
|
|
236
218
|
).parsed
|
|
@@ -15,20 +15,14 @@ def _get_kwargs(
|
|
|
15
15
|
*,
|
|
16
16
|
body: CreateAPIKeyRequest,
|
|
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": "post",
|
|
30
25
|
"url": "/v1/user/api-keys",
|
|
31
|
-
"cookies": cookies,
|
|
32
26
|
}
|
|
33
27
|
|
|
34
28
|
_kwargs["json"] = body.to_dict()
|
|
@@ -72,7 +66,6 @@ def sync_detailed(
|
|
|
72
66
|
client: AuthenticatedClient,
|
|
73
67
|
body: CreateAPIKeyRequest,
|
|
74
68
|
authorization: Union[None, Unset, str] = UNSET,
|
|
75
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
76
69
|
) -> Response[Union[CreateAPIKeyResponse, HTTPValidationError]]:
|
|
77
70
|
"""Create API Key
|
|
78
71
|
|
|
@@ -80,7 +73,6 @@ def sync_detailed(
|
|
|
80
73
|
|
|
81
74
|
Args:
|
|
82
75
|
authorization (Union[None, Unset, str]):
|
|
83
|
-
auth_token (Union[None, Unset, str]):
|
|
84
76
|
body (CreateAPIKeyRequest): Request model for creating a new API key.
|
|
85
77
|
|
|
86
78
|
Raises:
|
|
@@ -94,7 +86,6 @@ def sync_detailed(
|
|
|
94
86
|
kwargs = _get_kwargs(
|
|
95
87
|
body=body,
|
|
96
88
|
authorization=authorization,
|
|
97
|
-
auth_token=auth_token,
|
|
98
89
|
)
|
|
99
90
|
|
|
100
91
|
response = client.get_httpx_client().request(
|
|
@@ -109,7 +100,6 @@ def sync(
|
|
|
109
100
|
client: AuthenticatedClient,
|
|
110
101
|
body: CreateAPIKeyRequest,
|
|
111
102
|
authorization: Union[None, Unset, str] = UNSET,
|
|
112
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
113
103
|
) -> Optional[Union[CreateAPIKeyResponse, HTTPValidationError]]:
|
|
114
104
|
"""Create API Key
|
|
115
105
|
|
|
@@ -117,7 +107,6 @@ def sync(
|
|
|
117
107
|
|
|
118
108
|
Args:
|
|
119
109
|
authorization (Union[None, Unset, str]):
|
|
120
|
-
auth_token (Union[None, Unset, str]):
|
|
121
110
|
body (CreateAPIKeyRequest): Request model for creating a new API key.
|
|
122
111
|
|
|
123
112
|
Raises:
|
|
@@ -132,7 +121,6 @@ def sync(
|
|
|
132
121
|
client=client,
|
|
133
122
|
body=body,
|
|
134
123
|
authorization=authorization,
|
|
135
|
-
auth_token=auth_token,
|
|
136
124
|
).parsed
|
|
137
125
|
|
|
138
126
|
|
|
@@ -141,7 +129,6 @@ async def asyncio_detailed(
|
|
|
141
129
|
client: AuthenticatedClient,
|
|
142
130
|
body: CreateAPIKeyRequest,
|
|
143
131
|
authorization: Union[None, Unset, str] = UNSET,
|
|
144
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
145
132
|
) -> Response[Union[CreateAPIKeyResponse, HTTPValidationError]]:
|
|
146
133
|
"""Create API Key
|
|
147
134
|
|
|
@@ -149,7 +136,6 @@ async def asyncio_detailed(
|
|
|
149
136
|
|
|
150
137
|
Args:
|
|
151
138
|
authorization (Union[None, Unset, str]):
|
|
152
|
-
auth_token (Union[None, Unset, str]):
|
|
153
139
|
body (CreateAPIKeyRequest): Request model for creating a new API key.
|
|
154
140
|
|
|
155
141
|
Raises:
|
|
@@ -163,7 +149,6 @@ async def asyncio_detailed(
|
|
|
163
149
|
kwargs = _get_kwargs(
|
|
164
150
|
body=body,
|
|
165
151
|
authorization=authorization,
|
|
166
|
-
auth_token=auth_token,
|
|
167
152
|
)
|
|
168
153
|
|
|
169
154
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -176,7 +161,6 @@ async def asyncio(
|
|
|
176
161
|
client: AuthenticatedClient,
|
|
177
162
|
body: CreateAPIKeyRequest,
|
|
178
163
|
authorization: Union[None, Unset, str] = UNSET,
|
|
179
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
180
164
|
) -> Optional[Union[CreateAPIKeyResponse, HTTPValidationError]]:
|
|
181
165
|
"""Create API Key
|
|
182
166
|
|
|
@@ -184,7 +168,6 @@ async def asyncio(
|
|
|
184
168
|
|
|
185
169
|
Args:
|
|
186
170
|
authorization (Union[None, Unset, str]):
|
|
187
|
-
auth_token (Union[None, Unset, str]):
|
|
188
171
|
body (CreateAPIKeyRequest): Request model for creating a new API key.
|
|
189
172
|
|
|
190
173
|
Raises:
|
|
@@ -200,6 +183,5 @@ async def asyncio(
|
|
|
200
183
|
client=client,
|
|
201
184
|
body=body,
|
|
202
185
|
authorization=authorization,
|
|
203
|
-
auth_token=auth_token,
|
|
204
186
|
)
|
|
205
187
|
).parsed
|
|
@@ -16,20 +16,14 @@ from ...types import UNSET, Response, Unset
|
|
|
16
16
|
def _get_kwargs(
|
|
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": "get",
|
|
31
26
|
"url": "/v1/user/credits",
|
|
32
|
-
"cookies": cookies,
|
|
33
27
|
}
|
|
34
28
|
|
|
35
29
|
_kwargs["headers"] = headers
|
|
@@ -86,7 +80,6 @@ def sync_detailed(
|
|
|
86
80
|
*,
|
|
87
81
|
client: AuthenticatedClient,
|
|
88
82
|
authorization: Union[None, Unset, str] = UNSET,
|
|
89
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
90
83
|
) -> Response[
|
|
91
84
|
Union[
|
|
92
85
|
ErrorResponse,
|
|
@@ -106,7 +99,6 @@ def sync_detailed(
|
|
|
106
99
|
|
|
107
100
|
Args:
|
|
108
101
|
authorization (Union[None, Unset, str]):
|
|
109
|
-
auth_token (Union[None, Unset, str]):
|
|
110
102
|
|
|
111
103
|
Raises:
|
|
112
104
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -118,7 +110,6 @@ def sync_detailed(
|
|
|
118
110
|
|
|
119
111
|
kwargs = _get_kwargs(
|
|
120
112
|
authorization=authorization,
|
|
121
|
-
auth_token=auth_token,
|
|
122
113
|
)
|
|
123
114
|
|
|
124
115
|
response = client.get_httpx_client().request(
|
|
@@ -132,7 +123,6 @@ def sync(
|
|
|
132
123
|
*,
|
|
133
124
|
client: AuthenticatedClient,
|
|
134
125
|
authorization: Union[None, Unset, str] = UNSET,
|
|
135
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
136
126
|
) -> Optional[
|
|
137
127
|
Union[
|
|
138
128
|
ErrorResponse,
|
|
@@ -152,7 +142,6 @@ def sync(
|
|
|
152
142
|
|
|
153
143
|
Args:
|
|
154
144
|
authorization (Union[None, Unset, str]):
|
|
155
|
-
auth_token (Union[None, Unset, str]):
|
|
156
145
|
|
|
157
146
|
Raises:
|
|
158
147
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -165,7 +154,6 @@ def sync(
|
|
|
165
154
|
return sync_detailed(
|
|
166
155
|
client=client,
|
|
167
156
|
authorization=authorization,
|
|
168
|
-
auth_token=auth_token,
|
|
169
157
|
).parsed
|
|
170
158
|
|
|
171
159
|
|
|
@@ -173,7 +161,6 @@ async def asyncio_detailed(
|
|
|
173
161
|
*,
|
|
174
162
|
client: AuthenticatedClient,
|
|
175
163
|
authorization: Union[None, Unset, str] = UNSET,
|
|
176
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
177
164
|
) -> Response[
|
|
178
165
|
Union[
|
|
179
166
|
ErrorResponse,
|
|
@@ -193,7 +180,6 @@ async def asyncio_detailed(
|
|
|
193
180
|
|
|
194
181
|
Args:
|
|
195
182
|
authorization (Union[None, Unset, str]):
|
|
196
|
-
auth_token (Union[None, Unset, str]):
|
|
197
183
|
|
|
198
184
|
Raises:
|
|
199
185
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -205,7 +191,6 @@ async def asyncio_detailed(
|
|
|
205
191
|
|
|
206
192
|
kwargs = _get_kwargs(
|
|
207
193
|
authorization=authorization,
|
|
208
|
-
auth_token=auth_token,
|
|
209
194
|
)
|
|
210
195
|
|
|
211
196
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -217,7 +202,6 @@ async def asyncio(
|
|
|
217
202
|
*,
|
|
218
203
|
client: AuthenticatedClient,
|
|
219
204
|
authorization: Union[None, Unset, str] = UNSET,
|
|
220
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
221
205
|
) -> Optional[
|
|
222
206
|
Union[
|
|
223
207
|
ErrorResponse,
|
|
@@ -237,7 +221,6 @@ async def asyncio(
|
|
|
237
221
|
|
|
238
222
|
Args:
|
|
239
223
|
authorization (Union[None, Unset, str]):
|
|
240
|
-
auth_token (Union[None, Unset, str]):
|
|
241
224
|
|
|
242
225
|
Raises:
|
|
243
226
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -251,6 +234,5 @@ async def asyncio(
|
|
|
251
234
|
await asyncio_detailed(
|
|
252
235
|
client=client,
|
|
253
236
|
authorization=authorization,
|
|
254
|
-
auth_token=auth_token,
|
|
255
237
|
)
|
|
256
238
|
).parsed
|
|
@@ -13,20 +13,14 @@ from ...types import UNSET, Response, Unset
|
|
|
13
13
|
def _get_kwargs(
|
|
14
14
|
*,
|
|
15
15
|
authorization: Union[None, Unset, str] = UNSET,
|
|
16
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
17
16
|
) -> dict[str, Any]:
|
|
18
17
|
headers: dict[str, Any] = {}
|
|
19
18
|
if not isinstance(authorization, Unset):
|
|
20
19
|
headers["authorization"] = authorization
|
|
21
20
|
|
|
22
|
-
cookies = {}
|
|
23
|
-
if auth_token is not UNSET:
|
|
24
|
-
cookies["auth-token"] = auth_token
|
|
25
|
-
|
|
26
21
|
_kwargs: dict[str, Any] = {
|
|
27
22
|
"method": "get",
|
|
28
23
|
"url": "/v1/user",
|
|
29
|
-
"cookies": cookies,
|
|
30
24
|
}
|
|
31
25
|
|
|
32
26
|
_kwargs["headers"] = headers
|
|
@@ -65,7 +59,6 @@ def sync_detailed(
|
|
|
65
59
|
*,
|
|
66
60
|
client: AuthenticatedClient,
|
|
67
61
|
authorization: Union[None, Unset, str] = UNSET,
|
|
68
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
69
62
|
) -> Response[Union[HTTPValidationError, UserResponse]]:
|
|
70
63
|
"""Get Current User
|
|
71
64
|
|
|
@@ -73,7 +66,6 @@ def sync_detailed(
|
|
|
73
66
|
|
|
74
67
|
Args:
|
|
75
68
|
authorization (Union[None, Unset, str]):
|
|
76
|
-
auth_token (Union[None, Unset, str]):
|
|
77
69
|
|
|
78
70
|
Raises:
|
|
79
71
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -85,7 +77,6 @@ def sync_detailed(
|
|
|
85
77
|
|
|
86
78
|
kwargs = _get_kwargs(
|
|
87
79
|
authorization=authorization,
|
|
88
|
-
auth_token=auth_token,
|
|
89
80
|
)
|
|
90
81
|
|
|
91
82
|
response = client.get_httpx_client().request(
|
|
@@ -99,7 +90,6 @@ def sync(
|
|
|
99
90
|
*,
|
|
100
91
|
client: AuthenticatedClient,
|
|
101
92
|
authorization: Union[None, Unset, str] = UNSET,
|
|
102
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
103
93
|
) -> Optional[Union[HTTPValidationError, UserResponse]]:
|
|
104
94
|
"""Get Current User
|
|
105
95
|
|
|
@@ -107,7 +97,6 @@ def sync(
|
|
|
107
97
|
|
|
108
98
|
Args:
|
|
109
99
|
authorization (Union[None, Unset, str]):
|
|
110
|
-
auth_token (Union[None, Unset, str]):
|
|
111
100
|
|
|
112
101
|
Raises:
|
|
113
102
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -120,7 +109,6 @@ def sync(
|
|
|
120
109
|
return sync_detailed(
|
|
121
110
|
client=client,
|
|
122
111
|
authorization=authorization,
|
|
123
|
-
auth_token=auth_token,
|
|
124
112
|
).parsed
|
|
125
113
|
|
|
126
114
|
|
|
@@ -128,7 +116,6 @@ async def asyncio_detailed(
|
|
|
128
116
|
*,
|
|
129
117
|
client: AuthenticatedClient,
|
|
130
118
|
authorization: Union[None, Unset, str] = UNSET,
|
|
131
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
132
119
|
) -> Response[Union[HTTPValidationError, UserResponse]]:
|
|
133
120
|
"""Get Current User
|
|
134
121
|
|
|
@@ -136,7 +123,6 @@ async def asyncio_detailed(
|
|
|
136
123
|
|
|
137
124
|
Args:
|
|
138
125
|
authorization (Union[None, Unset, str]):
|
|
139
|
-
auth_token (Union[None, Unset, str]):
|
|
140
126
|
|
|
141
127
|
Raises:
|
|
142
128
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -148,7 +134,6 @@ async def asyncio_detailed(
|
|
|
148
134
|
|
|
149
135
|
kwargs = _get_kwargs(
|
|
150
136
|
authorization=authorization,
|
|
151
|
-
auth_token=auth_token,
|
|
152
137
|
)
|
|
153
138
|
|
|
154
139
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -160,7 +145,6 @@ async def asyncio(
|
|
|
160
145
|
*,
|
|
161
146
|
client: AuthenticatedClient,
|
|
162
147
|
authorization: Union[None, Unset, str] = UNSET,
|
|
163
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
164
148
|
) -> Optional[Union[HTTPValidationError, UserResponse]]:
|
|
165
149
|
"""Get Current User
|
|
166
150
|
|
|
@@ -168,7 +152,6 @@ async def asyncio(
|
|
|
168
152
|
|
|
169
153
|
Args:
|
|
170
154
|
authorization (Union[None, Unset, str]):
|
|
171
|
-
auth_token (Union[None, Unset, str]):
|
|
172
155
|
|
|
173
156
|
Raises:
|
|
174
157
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -182,6 +165,5 @@ async def asyncio(
|
|
|
182
165
|
await asyncio_detailed(
|
|
183
166
|
client=client,
|
|
184
167
|
authorization=authorization,
|
|
185
|
-
auth_token=auth_token,
|
|
186
168
|
)
|
|
187
169
|
).parsed
|
|
@@ -13,20 +13,14 @@ from ...types import UNSET, Response, Unset
|
|
|
13
13
|
def _get_kwargs(
|
|
14
14
|
*,
|
|
15
15
|
authorization: Union[None, Unset, str] = UNSET,
|
|
16
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
17
16
|
) -> dict[str, Any]:
|
|
18
17
|
headers: dict[str, Any] = {}
|
|
19
18
|
if not isinstance(authorization, Unset):
|
|
20
19
|
headers["authorization"] = authorization
|
|
21
20
|
|
|
22
|
-
cookies = {}
|
|
23
|
-
if auth_token is not UNSET:
|
|
24
|
-
cookies["auth-token"] = auth_token
|
|
25
|
-
|
|
26
21
|
_kwargs: dict[str, Any] = {
|
|
27
22
|
"method": "get",
|
|
28
23
|
"url": "/v1/user/graphs",
|
|
29
|
-
"cookies": cookies,
|
|
30
24
|
}
|
|
31
25
|
|
|
32
26
|
_kwargs["headers"] = headers
|
|
@@ -65,7 +59,6 @@ def sync_detailed(
|
|
|
65
59
|
*,
|
|
66
60
|
client: AuthenticatedClient,
|
|
67
61
|
authorization: Union[None, Unset, str] = UNSET,
|
|
68
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
69
62
|
) -> Response[Union[HTTPValidationError, UserGraphsResponse]]:
|
|
70
63
|
"""Get User Graphs
|
|
71
64
|
|
|
@@ -73,7 +66,6 @@ def sync_detailed(
|
|
|
73
66
|
|
|
74
67
|
Args:
|
|
75
68
|
authorization (Union[None, Unset, str]):
|
|
76
|
-
auth_token (Union[None, Unset, str]):
|
|
77
69
|
|
|
78
70
|
Raises:
|
|
79
71
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -85,7 +77,6 @@ def sync_detailed(
|
|
|
85
77
|
|
|
86
78
|
kwargs = _get_kwargs(
|
|
87
79
|
authorization=authorization,
|
|
88
|
-
auth_token=auth_token,
|
|
89
80
|
)
|
|
90
81
|
|
|
91
82
|
response = client.get_httpx_client().request(
|
|
@@ -99,7 +90,6 @@ def sync(
|
|
|
99
90
|
*,
|
|
100
91
|
client: AuthenticatedClient,
|
|
101
92
|
authorization: Union[None, Unset, str] = UNSET,
|
|
102
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
103
93
|
) -> Optional[Union[HTTPValidationError, UserGraphsResponse]]:
|
|
104
94
|
"""Get User Graphs
|
|
105
95
|
|
|
@@ -107,7 +97,6 @@ def sync(
|
|
|
107
97
|
|
|
108
98
|
Args:
|
|
109
99
|
authorization (Union[None, Unset, str]):
|
|
110
|
-
auth_token (Union[None, Unset, str]):
|
|
111
100
|
|
|
112
101
|
Raises:
|
|
113
102
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -120,7 +109,6 @@ def sync(
|
|
|
120
109
|
return sync_detailed(
|
|
121
110
|
client=client,
|
|
122
111
|
authorization=authorization,
|
|
123
|
-
auth_token=auth_token,
|
|
124
112
|
).parsed
|
|
125
113
|
|
|
126
114
|
|
|
@@ -128,7 +116,6 @@ async def asyncio_detailed(
|
|
|
128
116
|
*,
|
|
129
117
|
client: AuthenticatedClient,
|
|
130
118
|
authorization: Union[None, Unset, str] = UNSET,
|
|
131
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
132
119
|
) -> Response[Union[HTTPValidationError, UserGraphsResponse]]:
|
|
133
120
|
"""Get User Graphs
|
|
134
121
|
|
|
@@ -136,7 +123,6 @@ async def asyncio_detailed(
|
|
|
136
123
|
|
|
137
124
|
Args:
|
|
138
125
|
authorization (Union[None, Unset, str]):
|
|
139
|
-
auth_token (Union[None, Unset, str]):
|
|
140
126
|
|
|
141
127
|
Raises:
|
|
142
128
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -148,7 +134,6 @@ async def asyncio_detailed(
|
|
|
148
134
|
|
|
149
135
|
kwargs = _get_kwargs(
|
|
150
136
|
authorization=authorization,
|
|
151
|
-
auth_token=auth_token,
|
|
152
137
|
)
|
|
153
138
|
|
|
154
139
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -160,7 +145,6 @@ async def asyncio(
|
|
|
160
145
|
*,
|
|
161
146
|
client: AuthenticatedClient,
|
|
162
147
|
authorization: Union[None, Unset, str] = UNSET,
|
|
163
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
164
148
|
) -> Optional[Union[HTTPValidationError, UserGraphsResponse]]:
|
|
165
149
|
"""Get User Graphs
|
|
166
150
|
|
|
@@ -168,7 +152,6 @@ async def asyncio(
|
|
|
168
152
|
|
|
169
153
|
Args:
|
|
170
154
|
authorization (Union[None, Unset, str]):
|
|
171
|
-
auth_token (Union[None, Unset, str]):
|
|
172
155
|
|
|
173
156
|
Raises:
|
|
174
157
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -182,6 +165,5 @@ async def asyncio(
|
|
|
182
165
|
await asyncio_detailed(
|
|
183
166
|
client=client,
|
|
184
167
|
authorization=authorization,
|
|
185
|
-
auth_token=auth_token,
|
|
186
168
|
)
|
|
187
169
|
).parsed
|