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
|
@@ -16,20 +16,14 @@ def _get_kwargs(
|
|
|
16
16
|
*,
|
|
17
17
|
body: UpdatePasswordRequest,
|
|
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": "put",
|
|
31
26
|
"url": "/v1/user/password",
|
|
32
|
-
"cookies": cookies,
|
|
33
27
|
}
|
|
34
28
|
|
|
35
29
|
_kwargs["json"] = body.to_dict()
|
|
@@ -85,7 +79,6 @@ def sync_detailed(
|
|
|
85
79
|
client: AuthenticatedClient,
|
|
86
80
|
body: UpdatePasswordRequest,
|
|
87
81
|
authorization: Union[None, Unset, str] = UNSET,
|
|
88
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
89
82
|
) -> Response[Union[ErrorResponse, HTTPValidationError, SuccessResponse]]:
|
|
90
83
|
"""Update Password
|
|
91
84
|
|
|
@@ -93,7 +86,6 @@ def sync_detailed(
|
|
|
93
86
|
|
|
94
87
|
Args:
|
|
95
88
|
authorization (Union[None, Unset, str]):
|
|
96
|
-
auth_token (Union[None, Unset, str]):
|
|
97
89
|
body (UpdatePasswordRequest): Request model for updating user password.
|
|
98
90
|
|
|
99
91
|
Raises:
|
|
@@ -107,7 +99,6 @@ def sync_detailed(
|
|
|
107
99
|
kwargs = _get_kwargs(
|
|
108
100
|
body=body,
|
|
109
101
|
authorization=authorization,
|
|
110
|
-
auth_token=auth_token,
|
|
111
102
|
)
|
|
112
103
|
|
|
113
104
|
response = client.get_httpx_client().request(
|
|
@@ -122,7 +113,6 @@ def sync(
|
|
|
122
113
|
client: AuthenticatedClient,
|
|
123
114
|
body: UpdatePasswordRequest,
|
|
124
115
|
authorization: Union[None, Unset, str] = UNSET,
|
|
125
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
126
116
|
) -> Optional[Union[ErrorResponse, HTTPValidationError, SuccessResponse]]:
|
|
127
117
|
"""Update Password
|
|
128
118
|
|
|
@@ -130,7 +120,6 @@ def sync(
|
|
|
130
120
|
|
|
131
121
|
Args:
|
|
132
122
|
authorization (Union[None, Unset, str]):
|
|
133
|
-
auth_token (Union[None, Unset, str]):
|
|
134
123
|
body (UpdatePasswordRequest): Request model for updating user password.
|
|
135
124
|
|
|
136
125
|
Raises:
|
|
@@ -145,7 +134,6 @@ def sync(
|
|
|
145
134
|
client=client,
|
|
146
135
|
body=body,
|
|
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
|
client: AuthenticatedClient,
|
|
155
143
|
body: UpdatePasswordRequest,
|
|
156
144
|
authorization: Union[None, Unset, str] = UNSET,
|
|
157
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
158
145
|
) -> Response[Union[ErrorResponse, HTTPValidationError, SuccessResponse]]:
|
|
159
146
|
"""Update Password
|
|
160
147
|
|
|
@@ -162,7 +149,6 @@ async def asyncio_detailed(
|
|
|
162
149
|
|
|
163
150
|
Args:
|
|
164
151
|
authorization (Union[None, Unset, str]):
|
|
165
|
-
auth_token (Union[None, Unset, str]):
|
|
166
152
|
body (UpdatePasswordRequest): Request model for updating user password.
|
|
167
153
|
|
|
168
154
|
Raises:
|
|
@@ -176,7 +162,6 @@ async def asyncio_detailed(
|
|
|
176
162
|
kwargs = _get_kwargs(
|
|
177
163
|
body=body,
|
|
178
164
|
authorization=authorization,
|
|
179
|
-
auth_token=auth_token,
|
|
180
165
|
)
|
|
181
166
|
|
|
182
167
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -189,7 +174,6 @@ async def asyncio(
|
|
|
189
174
|
client: AuthenticatedClient,
|
|
190
175
|
body: UpdatePasswordRequest,
|
|
191
176
|
authorization: Union[None, Unset, str] = UNSET,
|
|
192
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
193
177
|
) -> Optional[Union[ErrorResponse, HTTPValidationError, SuccessResponse]]:
|
|
194
178
|
"""Update Password
|
|
195
179
|
|
|
@@ -197,7 +181,6 @@ async def asyncio(
|
|
|
197
181
|
|
|
198
182
|
Args:
|
|
199
183
|
authorization (Union[None, Unset, str]):
|
|
200
|
-
auth_token (Union[None, Unset, str]):
|
|
201
184
|
body (UpdatePasswordRequest): Request model for updating user password.
|
|
202
185
|
|
|
203
186
|
Raises:
|
|
@@ -213,6 +196,5 @@ async def asyncio(
|
|
|
213
196
|
client=client,
|
|
214
197
|
body=body,
|
|
215
198
|
authorization=authorization,
|
|
216
|
-
auth_token=auth_token,
|
|
217
199
|
)
|
|
218
200
|
).parsed
|
|
@@ -15,16 +15,11 @@ def _get_kwargs(
|
|
|
15
15
|
include_api_stats: Union[Unset, bool] = True,
|
|
16
16
|
include_recent_activity: Union[Unset, bool] = True,
|
|
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
|
params: dict[str, Any] = {}
|
|
29
24
|
|
|
30
25
|
params["include_api_stats"] = include_api_stats
|
|
@@ -37,7 +32,6 @@ def _get_kwargs(
|
|
|
37
32
|
"method": "get",
|
|
38
33
|
"url": "/v1/user/analytics/detailed",
|
|
39
34
|
"params": params,
|
|
40
|
-
"cookies": cookies,
|
|
41
35
|
}
|
|
42
36
|
|
|
43
37
|
_kwargs["headers"] = headers
|
|
@@ -78,7 +72,6 @@ def sync_detailed(
|
|
|
78
72
|
include_api_stats: Union[Unset, bool] = True,
|
|
79
73
|
include_recent_activity: Union[Unset, bool] = True,
|
|
80
74
|
authorization: Union[None, Unset, str] = UNSET,
|
|
81
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
82
75
|
) -> Response[Union[HTTPValidationError, UserAnalyticsResponse]]:
|
|
83
76
|
"""Get Detailed User Analytics
|
|
84
77
|
|
|
@@ -88,7 +81,6 @@ def sync_detailed(
|
|
|
88
81
|
include_api_stats (Union[Unset, bool]): Include API usage statistics Default: True.
|
|
89
82
|
include_recent_activity (Union[Unset, bool]): Include recent activity Default: True.
|
|
90
83
|
authorization (Union[None, Unset, str]):
|
|
91
|
-
auth_token (Union[None, Unset, str]):
|
|
92
84
|
|
|
93
85
|
Raises:
|
|
94
86
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -102,7 +94,6 @@ def sync_detailed(
|
|
|
102
94
|
include_api_stats=include_api_stats,
|
|
103
95
|
include_recent_activity=include_recent_activity,
|
|
104
96
|
authorization=authorization,
|
|
105
|
-
auth_token=auth_token,
|
|
106
97
|
)
|
|
107
98
|
|
|
108
99
|
response = client.get_httpx_client().request(
|
|
@@ -118,7 +109,6 @@ def sync(
|
|
|
118
109
|
include_api_stats: Union[Unset, bool] = True,
|
|
119
110
|
include_recent_activity: Union[Unset, bool] = True,
|
|
120
111
|
authorization: Union[None, Unset, str] = UNSET,
|
|
121
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
122
112
|
) -> Optional[Union[HTTPValidationError, UserAnalyticsResponse]]:
|
|
123
113
|
"""Get Detailed User Analytics
|
|
124
114
|
|
|
@@ -128,7 +118,6 @@ def sync(
|
|
|
128
118
|
include_api_stats (Union[Unset, bool]): Include API usage statistics Default: True.
|
|
129
119
|
include_recent_activity (Union[Unset, bool]): Include recent activity Default: True.
|
|
130
120
|
authorization (Union[None, Unset, str]):
|
|
131
|
-
auth_token (Union[None, Unset, str]):
|
|
132
121
|
|
|
133
122
|
Raises:
|
|
134
123
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -143,7 +132,6 @@ def sync(
|
|
|
143
132
|
include_api_stats=include_api_stats,
|
|
144
133
|
include_recent_activity=include_recent_activity,
|
|
145
134
|
authorization=authorization,
|
|
146
|
-
auth_token=auth_token,
|
|
147
135
|
).parsed
|
|
148
136
|
|
|
149
137
|
|
|
@@ -153,7 +141,6 @@ async def asyncio_detailed(
|
|
|
153
141
|
include_api_stats: Union[Unset, bool] = True,
|
|
154
142
|
include_recent_activity: Union[Unset, bool] = True,
|
|
155
143
|
authorization: Union[None, Unset, str] = UNSET,
|
|
156
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
157
144
|
) -> Response[Union[HTTPValidationError, UserAnalyticsResponse]]:
|
|
158
145
|
"""Get Detailed User Analytics
|
|
159
146
|
|
|
@@ -163,7 +150,6 @@ async def asyncio_detailed(
|
|
|
163
150
|
include_api_stats (Union[Unset, bool]): Include API usage statistics Default: True.
|
|
164
151
|
include_recent_activity (Union[Unset, bool]): Include recent activity Default: True.
|
|
165
152
|
authorization (Union[None, Unset, str]):
|
|
166
|
-
auth_token (Union[None, Unset, str]):
|
|
167
153
|
|
|
168
154
|
Raises:
|
|
169
155
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -177,7 +163,6 @@ async def asyncio_detailed(
|
|
|
177
163
|
include_api_stats=include_api_stats,
|
|
178
164
|
include_recent_activity=include_recent_activity,
|
|
179
165
|
authorization=authorization,
|
|
180
|
-
auth_token=auth_token,
|
|
181
166
|
)
|
|
182
167
|
|
|
183
168
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -191,7 +176,6 @@ async def asyncio(
|
|
|
191
176
|
include_api_stats: Union[Unset, bool] = True,
|
|
192
177
|
include_recent_activity: Union[Unset, bool] = True,
|
|
193
178
|
authorization: Union[None, Unset, str] = UNSET,
|
|
194
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
195
179
|
) -> Optional[Union[HTTPValidationError, UserAnalyticsResponse]]:
|
|
196
180
|
"""Get Detailed User Analytics
|
|
197
181
|
|
|
@@ -201,7 +185,6 @@ async def asyncio(
|
|
|
201
185
|
include_api_stats (Union[Unset, bool]): Include API usage statistics Default: True.
|
|
202
186
|
include_recent_activity (Union[Unset, bool]): Include recent activity Default: True.
|
|
203
187
|
authorization (Union[None, Unset, str]):
|
|
204
|
-
auth_token (Union[None, Unset, str]):
|
|
205
188
|
|
|
206
189
|
Raises:
|
|
207
190
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -217,6 +200,5 @@ async def asyncio(
|
|
|
217
200
|
include_api_stats=include_api_stats,
|
|
218
201
|
include_recent_activity=include_recent_activity,
|
|
219
202
|
authorization=authorization,
|
|
220
|
-
auth_token=auth_token,
|
|
221
203
|
)
|
|
222
204
|
).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/analytics/overview",
|
|
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, UserUsageSummaryResponse]]:
|
|
70
63
|
"""Get User Usage Overview
|
|
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, UserUsageSummaryResponse]]:
|
|
104
94
|
"""Get User Usage Overview
|
|
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, UserUsageSummaryResponse]]:
|
|
133
120
|
"""Get User Usage Overview
|
|
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, UserUsageSummaryResponse]]:
|
|
165
149
|
"""Get User Usage Overview
|
|
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
|
|
@@ -15,20 +15,14 @@ from ...types import UNSET, Response, Unset
|
|
|
15
15
|
def _get_kwargs(
|
|
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": "/v1/user/limits/shared-repositories/summary",
|
|
31
|
-
"cookies": cookies,
|
|
32
26
|
}
|
|
33
27
|
|
|
34
28
|
_kwargs["headers"] = headers
|
|
@@ -81,7 +75,6 @@ def sync_detailed(
|
|
|
81
75
|
*,
|
|
82
76
|
client: AuthenticatedClient,
|
|
83
77
|
authorization: Union[None, Unset, str] = UNSET,
|
|
84
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
85
78
|
) -> Response[
|
|
86
79
|
Union[
|
|
87
80
|
GetAllSharedRepositoryLimitsResponseGetallsharedrepositorylimits,
|
|
@@ -94,7 +87,6 @@ def sync_detailed(
|
|
|
94
87
|
|
|
95
88
|
Args:
|
|
96
89
|
authorization (Union[None, Unset, str]):
|
|
97
|
-
auth_token (Union[None, Unset, str]):
|
|
98
90
|
|
|
99
91
|
Raises:
|
|
100
92
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -106,7 +98,6 @@ def sync_detailed(
|
|
|
106
98
|
|
|
107
99
|
kwargs = _get_kwargs(
|
|
108
100
|
authorization=authorization,
|
|
109
|
-
auth_token=auth_token,
|
|
110
101
|
)
|
|
111
102
|
|
|
112
103
|
response = client.get_httpx_client().request(
|
|
@@ -120,7 +111,6 @@ def sync(
|
|
|
120
111
|
*,
|
|
121
112
|
client: AuthenticatedClient,
|
|
122
113
|
authorization: Union[None, Unset, str] = UNSET,
|
|
123
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
124
114
|
) -> Optional[
|
|
125
115
|
Union[
|
|
126
116
|
GetAllSharedRepositoryLimitsResponseGetallsharedrepositorylimits,
|
|
@@ -133,7 +123,6 @@ def sync(
|
|
|
133
123
|
|
|
134
124
|
Args:
|
|
135
125
|
authorization (Union[None, Unset, str]):
|
|
136
|
-
auth_token (Union[None, Unset, str]):
|
|
137
126
|
|
|
138
127
|
Raises:
|
|
139
128
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -146,7 +135,6 @@ def sync(
|
|
|
146
135
|
return sync_detailed(
|
|
147
136
|
client=client,
|
|
148
137
|
authorization=authorization,
|
|
149
|
-
auth_token=auth_token,
|
|
150
138
|
).parsed
|
|
151
139
|
|
|
152
140
|
|
|
@@ -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[
|
|
159
146
|
Union[
|
|
160
147
|
GetAllSharedRepositoryLimitsResponseGetallsharedrepositorylimits,
|
|
@@ -167,7 +154,6 @@ async def asyncio_detailed(
|
|
|
167
154
|
|
|
168
155
|
Args:
|
|
169
156
|
authorization (Union[None, Unset, str]):
|
|
170
|
-
auth_token (Union[None, Unset, str]):
|
|
171
157
|
|
|
172
158
|
Raises:
|
|
173
159
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -179,7 +165,6 @@ async def asyncio_detailed(
|
|
|
179
165
|
|
|
180
166
|
kwargs = _get_kwargs(
|
|
181
167
|
authorization=authorization,
|
|
182
|
-
auth_token=auth_token,
|
|
183
168
|
)
|
|
184
169
|
|
|
185
170
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -191,7 +176,6 @@ async def asyncio(
|
|
|
191
176
|
*,
|
|
192
177
|
client: AuthenticatedClient,
|
|
193
178
|
authorization: Union[None, Unset, str] = UNSET,
|
|
194
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
195
179
|
) -> Optional[
|
|
196
180
|
Union[
|
|
197
181
|
GetAllSharedRepositoryLimitsResponseGetallsharedrepositorylimits,
|
|
@@ -204,7 +188,6 @@ async def asyncio(
|
|
|
204
188
|
|
|
205
189
|
Args:
|
|
206
190
|
authorization (Union[None, Unset, str]):
|
|
207
|
-
auth_token (Union[None, Unset, str]):
|
|
208
191
|
|
|
209
192
|
Raises:
|
|
210
193
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -218,6 +201,5 @@ async def asyncio(
|
|
|
218
201
|
await asyncio_detailed(
|
|
219
202
|
client=client,
|
|
220
203
|
authorization=authorization,
|
|
221
|
-
auth_token=auth_token,
|
|
222
204
|
)
|
|
223
205
|
).parsed
|
|
@@ -16,20 +16,14 @@ def _get_kwargs(
|
|
|
16
16
|
repository: str,
|
|
17
17
|
*,
|
|
18
18
|
authorization: Union[None, Unset, str] = UNSET,
|
|
19
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
20
19
|
) -> dict[str, Any]:
|
|
21
20
|
headers: dict[str, Any] = {}
|
|
22
21
|
if not isinstance(authorization, Unset):
|
|
23
22
|
headers["authorization"] = authorization
|
|
24
23
|
|
|
25
|
-
cookies = {}
|
|
26
|
-
if auth_token is not UNSET:
|
|
27
|
-
cookies["auth-token"] = auth_token
|
|
28
|
-
|
|
29
24
|
_kwargs: dict[str, Any] = {
|
|
30
25
|
"method": "get",
|
|
31
26
|
"url": f"/v1/user/limits/shared-repositories/{repository}",
|
|
32
|
-
"cookies": cookies,
|
|
33
27
|
}
|
|
34
28
|
|
|
35
29
|
_kwargs["headers"] = headers
|
|
@@ -75,7 +69,6 @@ def sync_detailed(
|
|
|
75
69
|
*,
|
|
76
70
|
client: AuthenticatedClient,
|
|
77
71
|
authorization: Union[None, Unset, str] = UNSET,
|
|
78
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
79
72
|
) -> Response[
|
|
80
73
|
Union[GetSharedRepositoryLimitsResponseGetsharedrepositorylimits, HTTPValidationError]
|
|
81
74
|
]:
|
|
@@ -94,7 +87,6 @@ def sync_detailed(
|
|
|
94
87
|
Args:
|
|
95
88
|
repository (str): Repository name (e.g., 'sec')
|
|
96
89
|
authorization (Union[None, Unset, str]):
|
|
97
|
-
auth_token (Union[None, Unset, str]):
|
|
98
90
|
|
|
99
91
|
Raises:
|
|
100
92
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -107,7 +99,6 @@ def sync_detailed(
|
|
|
107
99
|
kwargs = _get_kwargs(
|
|
108
100
|
repository=repository,
|
|
109
101
|
authorization=authorization,
|
|
110
|
-
auth_token=auth_token,
|
|
111
102
|
)
|
|
112
103
|
|
|
113
104
|
response = client.get_httpx_client().request(
|
|
@@ -122,7 +113,6 @@ def sync(
|
|
|
122
113
|
*,
|
|
123
114
|
client: AuthenticatedClient,
|
|
124
115
|
authorization: Union[None, Unset, str] = UNSET,
|
|
125
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
126
116
|
) -> Optional[
|
|
127
117
|
Union[GetSharedRepositoryLimitsResponseGetsharedrepositorylimits, HTTPValidationError]
|
|
128
118
|
]:
|
|
@@ -141,7 +131,6 @@ def sync(
|
|
|
141
131
|
Args:
|
|
142
132
|
repository (str): Repository name (e.g., 'sec')
|
|
143
133
|
authorization (Union[None, Unset, str]):
|
|
144
|
-
auth_token (Union[None, Unset, str]):
|
|
145
134
|
|
|
146
135
|
Raises:
|
|
147
136
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -155,7 +144,6 @@ def sync(
|
|
|
155
144
|
repository=repository,
|
|
156
145
|
client=client,
|
|
157
146
|
authorization=authorization,
|
|
158
|
-
auth_token=auth_token,
|
|
159
147
|
).parsed
|
|
160
148
|
|
|
161
149
|
|
|
@@ -164,7 +152,6 @@ async def asyncio_detailed(
|
|
|
164
152
|
*,
|
|
165
153
|
client: AuthenticatedClient,
|
|
166
154
|
authorization: Union[None, Unset, str] = UNSET,
|
|
167
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
168
155
|
) -> Response[
|
|
169
156
|
Union[GetSharedRepositoryLimitsResponseGetsharedrepositorylimits, HTTPValidationError]
|
|
170
157
|
]:
|
|
@@ -183,7 +170,6 @@ async def asyncio_detailed(
|
|
|
183
170
|
Args:
|
|
184
171
|
repository (str): Repository name (e.g., 'sec')
|
|
185
172
|
authorization (Union[None, Unset, str]):
|
|
186
|
-
auth_token (Union[None, Unset, str]):
|
|
187
173
|
|
|
188
174
|
Raises:
|
|
189
175
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -196,7 +182,6 @@ async def asyncio_detailed(
|
|
|
196
182
|
kwargs = _get_kwargs(
|
|
197
183
|
repository=repository,
|
|
198
184
|
authorization=authorization,
|
|
199
|
-
auth_token=auth_token,
|
|
200
185
|
)
|
|
201
186
|
|
|
202
187
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -209,7 +194,6 @@ async def asyncio(
|
|
|
209
194
|
*,
|
|
210
195
|
client: AuthenticatedClient,
|
|
211
196
|
authorization: Union[None, Unset, str] = UNSET,
|
|
212
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
213
197
|
) -> Optional[
|
|
214
198
|
Union[GetSharedRepositoryLimitsResponseGetsharedrepositorylimits, HTTPValidationError]
|
|
215
199
|
]:
|
|
@@ -228,7 +212,6 @@ async def asyncio(
|
|
|
228
212
|
Args:
|
|
229
213
|
repository (str): Repository name (e.g., 'sec')
|
|
230
214
|
authorization (Union[None, Unset, str]):
|
|
231
|
-
auth_token (Union[None, Unset, str]):
|
|
232
215
|
|
|
233
216
|
Raises:
|
|
234
217
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -243,6 +226,5 @@ async def asyncio(
|
|
|
243
226
|
repository=repository,
|
|
244
227
|
client=client,
|
|
245
228
|
authorization=authorization,
|
|
246
|
-
auth_token=auth_token,
|
|
247
229
|
)
|
|
248
230
|
).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/limits",
|
|
29
|
-
"cookies": cookies,
|
|
30
24
|
}
|
|
31
25
|
|
|
32
26
|
_kwargs["headers"] = headers
|
|
@@ -68,7 +62,6 @@ def sync_detailed(
|
|
|
68
62
|
*,
|
|
69
63
|
client: AuthenticatedClient,
|
|
70
64
|
authorization: Union[None, Unset, str] = UNSET,
|
|
71
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
72
65
|
) -> Response[Union[Any, HTTPValidationError, UserLimitsResponse]]:
|
|
73
66
|
"""Get user limits
|
|
74
67
|
|
|
@@ -76,7 +69,6 @@ def sync_detailed(
|
|
|
76
69
|
|
|
77
70
|
Args:
|
|
78
71
|
authorization (Union[None, Unset, str]):
|
|
79
|
-
auth_token (Union[None, Unset, str]):
|
|
80
72
|
|
|
81
73
|
Raises:
|
|
82
74
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -88,7 +80,6 @@ def sync_detailed(
|
|
|
88
80
|
|
|
89
81
|
kwargs = _get_kwargs(
|
|
90
82
|
authorization=authorization,
|
|
91
|
-
auth_token=auth_token,
|
|
92
83
|
)
|
|
93
84
|
|
|
94
85
|
response = client.get_httpx_client().request(
|
|
@@ -102,7 +93,6 @@ def sync(
|
|
|
102
93
|
*,
|
|
103
94
|
client: AuthenticatedClient,
|
|
104
95
|
authorization: Union[None, Unset, str] = UNSET,
|
|
105
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
106
96
|
) -> Optional[Union[Any, HTTPValidationError, UserLimitsResponse]]:
|
|
107
97
|
"""Get user limits
|
|
108
98
|
|
|
@@ -110,7 +100,6 @@ def sync(
|
|
|
110
100
|
|
|
111
101
|
Args:
|
|
112
102
|
authorization (Union[None, Unset, str]):
|
|
113
|
-
auth_token (Union[None, Unset, str]):
|
|
114
103
|
|
|
115
104
|
Raises:
|
|
116
105
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -123,7 +112,6 @@ def sync(
|
|
|
123
112
|
return sync_detailed(
|
|
124
113
|
client=client,
|
|
125
114
|
authorization=authorization,
|
|
126
|
-
auth_token=auth_token,
|
|
127
115
|
).parsed
|
|
128
116
|
|
|
129
117
|
|
|
@@ -131,7 +119,6 @@ async def asyncio_detailed(
|
|
|
131
119
|
*,
|
|
132
120
|
client: AuthenticatedClient,
|
|
133
121
|
authorization: Union[None, Unset, str] = UNSET,
|
|
134
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
135
122
|
) -> Response[Union[Any, HTTPValidationError, UserLimitsResponse]]:
|
|
136
123
|
"""Get user limits
|
|
137
124
|
|
|
@@ -139,7 +126,6 @@ async def asyncio_detailed(
|
|
|
139
126
|
|
|
140
127
|
Args:
|
|
141
128
|
authorization (Union[None, Unset, str]):
|
|
142
|
-
auth_token (Union[None, Unset, str]):
|
|
143
129
|
|
|
144
130
|
Raises:
|
|
145
131
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -151,7 +137,6 @@ async def asyncio_detailed(
|
|
|
151
137
|
|
|
152
138
|
kwargs = _get_kwargs(
|
|
153
139
|
authorization=authorization,
|
|
154
|
-
auth_token=auth_token,
|
|
155
140
|
)
|
|
156
141
|
|
|
157
142
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -163,7 +148,6 @@ async def asyncio(
|
|
|
163
148
|
*,
|
|
164
149
|
client: AuthenticatedClient,
|
|
165
150
|
authorization: Union[None, Unset, str] = UNSET,
|
|
166
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
167
151
|
) -> Optional[Union[Any, HTTPValidationError, UserLimitsResponse]]:
|
|
168
152
|
"""Get user limits
|
|
169
153
|
|
|
@@ -171,7 +155,6 @@ async def asyncio(
|
|
|
171
155
|
|
|
172
156
|
Args:
|
|
173
157
|
authorization (Union[None, Unset, str]):
|
|
174
|
-
auth_token (Union[None, Unset, str]):
|
|
175
158
|
|
|
176
159
|
Raises:
|
|
177
160
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -185,6 +168,5 @@ async def asyncio(
|
|
|
185
168
|
await asyncio_detailed(
|
|
186
169
|
client=client,
|
|
187
170
|
authorization=authorization,
|
|
188
|
-
auth_token=auth_token,
|
|
189
171
|
)
|
|
190
172
|
).parsed
|