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
|
subscription_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": "delete",
|
|
29
24
|
"url": f"/v1/user/subscriptions/shared-repositories/{subscription_id}",
|
|
30
|
-
"cookies": cookies,
|
|
31
25
|
}
|
|
32
26
|
|
|
33
27
|
_kwargs["headers"] = headers
|
|
@@ -76,7 +70,6 @@ def sync_detailed(
|
|
|
76
70
|
*,
|
|
77
71
|
client: AuthenticatedClient,
|
|
78
72
|
authorization: Union[None, Unset, str] = UNSET,
|
|
79
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
80
73
|
) -> Response[Union[Any, CancellationResponse, HTTPValidationError]]:
|
|
81
74
|
"""Cancel Subscription
|
|
82
75
|
|
|
@@ -85,7 +78,6 @@ def sync_detailed(
|
|
|
85
78
|
Args:
|
|
86
79
|
subscription_id (str):
|
|
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
|
subscription_id=subscription_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[Any, CancellationResponse, HTTPValidationError]]:
|
|
118
108
|
"""Cancel Subscription
|
|
119
109
|
|
|
@@ -122,7 +112,6 @@ def sync(
|
|
|
122
112
|
Args:
|
|
123
113
|
subscription_id (str):
|
|
124
114
|
authorization (Union[None, Unset, str]):
|
|
125
|
-
auth_token (Union[None, Unset, str]):
|
|
126
115
|
|
|
127
116
|
Raises:
|
|
128
117
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -136,7 +125,6 @@ def sync(
|
|
|
136
125
|
subscription_id=subscription_id,
|
|
137
126
|
client=client,
|
|
138
127
|
authorization=authorization,
|
|
139
|
-
auth_token=auth_token,
|
|
140
128
|
).parsed
|
|
141
129
|
|
|
142
130
|
|
|
@@ -145,7 +133,6 @@ async def asyncio_detailed(
|
|
|
145
133
|
*,
|
|
146
134
|
client: AuthenticatedClient,
|
|
147
135
|
authorization: Union[None, Unset, str] = UNSET,
|
|
148
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
149
136
|
) -> Response[Union[Any, CancellationResponse, HTTPValidationError]]:
|
|
150
137
|
"""Cancel Subscription
|
|
151
138
|
|
|
@@ -154,7 +141,6 @@ async def asyncio_detailed(
|
|
|
154
141
|
Args:
|
|
155
142
|
subscription_id (str):
|
|
156
143
|
authorization (Union[None, Unset, str]):
|
|
157
|
-
auth_token (Union[None, Unset, str]):
|
|
158
144
|
|
|
159
145
|
Raises:
|
|
160
146
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -167,7 +153,6 @@ async def asyncio_detailed(
|
|
|
167
153
|
kwargs = _get_kwargs(
|
|
168
154
|
subscription_id=subscription_id,
|
|
169
155
|
authorization=authorization,
|
|
170
|
-
auth_token=auth_token,
|
|
171
156
|
)
|
|
172
157
|
|
|
173
158
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -180,7 +165,6 @@ async def asyncio(
|
|
|
180
165
|
*,
|
|
181
166
|
client: AuthenticatedClient,
|
|
182
167
|
authorization: Union[None, Unset, str] = UNSET,
|
|
183
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
184
168
|
) -> Optional[Union[Any, CancellationResponse, HTTPValidationError]]:
|
|
185
169
|
"""Cancel Subscription
|
|
186
170
|
|
|
@@ -189,7 +173,6 @@ async def asyncio(
|
|
|
189
173
|
Args:
|
|
190
174
|
subscription_id (str):
|
|
191
175
|
authorization (Union[None, Unset, str]):
|
|
192
|
-
auth_token (Union[None, Unset, str]):
|
|
193
176
|
|
|
194
177
|
Raises:
|
|
195
178
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -204,6 +187,5 @@ async def asyncio(
|
|
|
204
187
|
subscription_id=subscription_id,
|
|
205
188
|
client=client,
|
|
206
189
|
authorization=authorization,
|
|
207
|
-
auth_token=auth_token,
|
|
208
190
|
)
|
|
209
191
|
).parsed
|
|
@@ -14,20 +14,14 @@ def _get_kwargs(
|
|
|
14
14
|
repository: 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/user/subscriptions/shared-repositories/credits/{repository}",
|
|
30
|
-
"cookies": cookies,
|
|
31
25
|
}
|
|
32
26
|
|
|
33
27
|
_kwargs["headers"] = headers
|
|
@@ -73,7 +67,6 @@ def sync_detailed(
|
|
|
73
67
|
*,
|
|
74
68
|
client: AuthenticatedClient,
|
|
75
69
|
authorization: Union[None, Unset, str] = UNSET,
|
|
76
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
77
70
|
) -> Response[Union[Any, HTTPValidationError, RepositoryCreditsResponse]]:
|
|
78
71
|
"""Get Repository Credits
|
|
79
72
|
|
|
@@ -82,7 +75,6 @@ def sync_detailed(
|
|
|
82
75
|
Args:
|
|
83
76
|
repository (str):
|
|
84
77
|
authorization (Union[None, Unset, str]):
|
|
85
|
-
auth_token (Union[None, Unset, str]):
|
|
86
78
|
|
|
87
79
|
Raises:
|
|
88
80
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -95,7 +87,6 @@ def sync_detailed(
|
|
|
95
87
|
kwargs = _get_kwargs(
|
|
96
88
|
repository=repository,
|
|
97
89
|
authorization=authorization,
|
|
98
|
-
auth_token=auth_token,
|
|
99
90
|
)
|
|
100
91
|
|
|
101
92
|
response = client.get_httpx_client().request(
|
|
@@ -110,7 +101,6 @@ def sync(
|
|
|
110
101
|
*,
|
|
111
102
|
client: AuthenticatedClient,
|
|
112
103
|
authorization: Union[None, Unset, str] = UNSET,
|
|
113
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
114
104
|
) -> Optional[Union[Any, HTTPValidationError, RepositoryCreditsResponse]]:
|
|
115
105
|
"""Get Repository Credits
|
|
116
106
|
|
|
@@ -119,7 +109,6 @@ def sync(
|
|
|
119
109
|
Args:
|
|
120
110
|
repository (str):
|
|
121
111
|
authorization (Union[None, Unset, str]):
|
|
122
|
-
auth_token (Union[None, Unset, str]):
|
|
123
112
|
|
|
124
113
|
Raises:
|
|
125
114
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -133,7 +122,6 @@ def sync(
|
|
|
133
122
|
repository=repository,
|
|
134
123
|
client=client,
|
|
135
124
|
authorization=authorization,
|
|
136
|
-
auth_token=auth_token,
|
|
137
125
|
).parsed
|
|
138
126
|
|
|
139
127
|
|
|
@@ -142,7 +130,6 @@ async def asyncio_detailed(
|
|
|
142
130
|
*,
|
|
143
131
|
client: AuthenticatedClient,
|
|
144
132
|
authorization: Union[None, Unset, str] = UNSET,
|
|
145
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
146
133
|
) -> Response[Union[Any, HTTPValidationError, RepositoryCreditsResponse]]:
|
|
147
134
|
"""Get Repository Credits
|
|
148
135
|
|
|
@@ -151,7 +138,6 @@ async def asyncio_detailed(
|
|
|
151
138
|
Args:
|
|
152
139
|
repository (str):
|
|
153
140
|
authorization (Union[None, Unset, str]):
|
|
154
|
-
auth_token (Union[None, Unset, str]):
|
|
155
141
|
|
|
156
142
|
Raises:
|
|
157
143
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -164,7 +150,6 @@ async def asyncio_detailed(
|
|
|
164
150
|
kwargs = _get_kwargs(
|
|
165
151
|
repository=repository,
|
|
166
152
|
authorization=authorization,
|
|
167
|
-
auth_token=auth_token,
|
|
168
153
|
)
|
|
169
154
|
|
|
170
155
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -177,7 +162,6 @@ async def asyncio(
|
|
|
177
162
|
*,
|
|
178
163
|
client: AuthenticatedClient,
|
|
179
164
|
authorization: Union[None, Unset, str] = UNSET,
|
|
180
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
181
165
|
) -> Optional[Union[Any, HTTPValidationError, RepositoryCreditsResponse]]:
|
|
182
166
|
"""Get Repository Credits
|
|
183
167
|
|
|
@@ -186,7 +170,6 @@ async def asyncio(
|
|
|
186
170
|
Args:
|
|
187
171
|
repository (str):
|
|
188
172
|
authorization (Union[None, Unset, str]):
|
|
189
|
-
auth_token (Union[None, Unset, str]):
|
|
190
173
|
|
|
191
174
|
Raises:
|
|
192
175
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -201,6 +184,5 @@ async def asyncio(
|
|
|
201
184
|
repository=repository,
|
|
202
185
|
client=client,
|
|
203
186
|
authorization=authorization,
|
|
204
|
-
auth_token=auth_token,
|
|
205
187
|
)
|
|
206
188
|
).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/subscriptions/shared-repositories/credits",
|
|
29
|
-
"cookies": cookies,
|
|
30
24
|
}
|
|
31
25
|
|
|
32
26
|
_kwargs["headers"] = headers
|
|
@@ -71,7 +65,6 @@ def sync_detailed(
|
|
|
71
65
|
*,
|
|
72
66
|
client: AuthenticatedClient,
|
|
73
67
|
authorization: Union[None, Unset, str] = UNSET,
|
|
74
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
75
68
|
) -> Response[Union[Any, CreditsSummaryResponse, HTTPValidationError]]:
|
|
76
69
|
"""Get Credit Balances
|
|
77
70
|
|
|
@@ -79,7 +72,6 @@ def sync_detailed(
|
|
|
79
72
|
|
|
80
73
|
Args:
|
|
81
74
|
authorization (Union[None, Unset, str]):
|
|
82
|
-
auth_token (Union[None, Unset, str]):
|
|
83
75
|
|
|
84
76
|
Raises:
|
|
85
77
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -91,7 +83,6 @@ def sync_detailed(
|
|
|
91
83
|
|
|
92
84
|
kwargs = _get_kwargs(
|
|
93
85
|
authorization=authorization,
|
|
94
|
-
auth_token=auth_token,
|
|
95
86
|
)
|
|
96
87
|
|
|
97
88
|
response = client.get_httpx_client().request(
|
|
@@ -105,7 +96,6 @@ def sync(
|
|
|
105
96
|
*,
|
|
106
97
|
client: AuthenticatedClient,
|
|
107
98
|
authorization: Union[None, Unset, str] = UNSET,
|
|
108
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
109
99
|
) -> Optional[Union[Any, CreditsSummaryResponse, HTTPValidationError]]:
|
|
110
100
|
"""Get Credit Balances
|
|
111
101
|
|
|
@@ -113,7 +103,6 @@ def sync(
|
|
|
113
103
|
|
|
114
104
|
Args:
|
|
115
105
|
authorization (Union[None, Unset, str]):
|
|
116
|
-
auth_token (Union[None, Unset, str]):
|
|
117
106
|
|
|
118
107
|
Raises:
|
|
119
108
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -126,7 +115,6 @@ def sync(
|
|
|
126
115
|
return sync_detailed(
|
|
127
116
|
client=client,
|
|
128
117
|
authorization=authorization,
|
|
129
|
-
auth_token=auth_token,
|
|
130
118
|
).parsed
|
|
131
119
|
|
|
132
120
|
|
|
@@ -134,7 +122,6 @@ async def asyncio_detailed(
|
|
|
134
122
|
*,
|
|
135
123
|
client: AuthenticatedClient,
|
|
136
124
|
authorization: Union[None, Unset, str] = UNSET,
|
|
137
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
138
125
|
) -> Response[Union[Any, CreditsSummaryResponse, HTTPValidationError]]:
|
|
139
126
|
"""Get Credit Balances
|
|
140
127
|
|
|
@@ -142,7 +129,6 @@ async def asyncio_detailed(
|
|
|
142
129
|
|
|
143
130
|
Args:
|
|
144
131
|
authorization (Union[None, Unset, str]):
|
|
145
|
-
auth_token (Union[None, Unset, str]):
|
|
146
132
|
|
|
147
133
|
Raises:
|
|
148
134
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -154,7 +140,6 @@ async def asyncio_detailed(
|
|
|
154
140
|
|
|
155
141
|
kwargs = _get_kwargs(
|
|
156
142
|
authorization=authorization,
|
|
157
|
-
auth_token=auth_token,
|
|
158
143
|
)
|
|
159
144
|
|
|
160
145
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -166,7 +151,6 @@ async def asyncio(
|
|
|
166
151
|
*,
|
|
167
152
|
client: AuthenticatedClient,
|
|
168
153
|
authorization: Union[None, Unset, str] = UNSET,
|
|
169
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
170
154
|
) -> Optional[Union[Any, CreditsSummaryResponse, HTTPValidationError]]:
|
|
171
155
|
"""Get Credit Balances
|
|
172
156
|
|
|
@@ -174,7 +158,6 @@ async def asyncio(
|
|
|
174
158
|
|
|
175
159
|
Args:
|
|
176
160
|
authorization (Union[None, Unset, str]):
|
|
177
|
-
auth_token (Union[None, Unset, str]):
|
|
178
161
|
|
|
179
162
|
Raises:
|
|
180
163
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -188,6 +171,5 @@ async def asyncio(
|
|
|
188
171
|
await asyncio_detailed(
|
|
189
172
|
client=client,
|
|
190
173
|
authorization=authorization,
|
|
191
|
-
auth_token=auth_token,
|
|
192
174
|
)
|
|
193
175
|
).parsed
|
|
@@ -14,16 +14,11 @@ def _get_kwargs(
|
|
|
14
14
|
*,
|
|
15
15
|
active_only: Union[Unset, bool] = True,
|
|
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
|
params: dict[str, Any] = {}
|
|
28
23
|
|
|
29
24
|
params["active_only"] = active_only
|
|
@@ -34,7 +29,6 @@ def _get_kwargs(
|
|
|
34
29
|
"method": "get",
|
|
35
30
|
"url": "/v1/user/subscriptions/shared-repositories",
|
|
36
31
|
"params": params,
|
|
37
|
-
"cookies": cookies,
|
|
38
32
|
}
|
|
39
33
|
|
|
40
34
|
_kwargs["headers"] = headers
|
|
@@ -80,7 +74,6 @@ def sync_detailed(
|
|
|
80
74
|
client: AuthenticatedClient,
|
|
81
75
|
active_only: Union[Unset, bool] = True,
|
|
82
76
|
authorization: Union[None, Unset, str] = UNSET,
|
|
83
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
84
77
|
) -> Response[Union[Any, HTTPValidationError, UserSubscriptionsResponse]]:
|
|
85
78
|
"""Get User Subscriptions
|
|
86
79
|
|
|
@@ -89,7 +82,6 @@ def sync_detailed(
|
|
|
89
82
|
Args:
|
|
90
83
|
active_only (Union[Unset, bool]): Only return active subscriptions Default: True.
|
|
91
84
|
authorization (Union[None, Unset, str]):
|
|
92
|
-
auth_token (Union[None, Unset, str]):
|
|
93
85
|
|
|
94
86
|
Raises:
|
|
95
87
|
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
|
kwargs = _get_kwargs(
|
|
103
95
|
active_only=active_only,
|
|
104
96
|
authorization=authorization,
|
|
105
|
-
auth_token=auth_token,
|
|
106
97
|
)
|
|
107
98
|
|
|
108
99
|
response = client.get_httpx_client().request(
|
|
@@ -117,7 +108,6 @@ def sync(
|
|
|
117
108
|
client: AuthenticatedClient,
|
|
118
109
|
active_only: Union[Unset, bool] = True,
|
|
119
110
|
authorization: Union[None, Unset, str] = UNSET,
|
|
120
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
121
111
|
) -> Optional[Union[Any, HTTPValidationError, UserSubscriptionsResponse]]:
|
|
122
112
|
"""Get User Subscriptions
|
|
123
113
|
|
|
@@ -126,7 +116,6 @@ def sync(
|
|
|
126
116
|
Args:
|
|
127
117
|
active_only (Union[Unset, bool]): Only return active subscriptions Default: True.
|
|
128
118
|
authorization (Union[None, Unset, str]):
|
|
129
|
-
auth_token (Union[None, Unset, str]):
|
|
130
119
|
|
|
131
120
|
Raises:
|
|
132
121
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -140,7 +129,6 @@ def sync(
|
|
|
140
129
|
client=client,
|
|
141
130
|
active_only=active_only,
|
|
142
131
|
authorization=authorization,
|
|
143
|
-
auth_token=auth_token,
|
|
144
132
|
).parsed
|
|
145
133
|
|
|
146
134
|
|
|
@@ -149,7 +137,6 @@ async def asyncio_detailed(
|
|
|
149
137
|
client: AuthenticatedClient,
|
|
150
138
|
active_only: Union[Unset, bool] = True,
|
|
151
139
|
authorization: Union[None, Unset, str] = UNSET,
|
|
152
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
153
140
|
) -> Response[Union[Any, HTTPValidationError, UserSubscriptionsResponse]]:
|
|
154
141
|
"""Get User Subscriptions
|
|
155
142
|
|
|
@@ -158,7 +145,6 @@ async def asyncio_detailed(
|
|
|
158
145
|
Args:
|
|
159
146
|
active_only (Union[Unset, bool]): Only return active subscriptions Default: True.
|
|
160
147
|
authorization (Union[None, Unset, str]):
|
|
161
|
-
auth_token (Union[None, Unset, str]):
|
|
162
148
|
|
|
163
149
|
Raises:
|
|
164
150
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -171,7 +157,6 @@ async def asyncio_detailed(
|
|
|
171
157
|
kwargs = _get_kwargs(
|
|
172
158
|
active_only=active_only,
|
|
173
159
|
authorization=authorization,
|
|
174
|
-
auth_token=auth_token,
|
|
175
160
|
)
|
|
176
161
|
|
|
177
162
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -184,7 +169,6 @@ async def asyncio(
|
|
|
184
169
|
client: AuthenticatedClient,
|
|
185
170
|
active_only: Union[Unset, bool] = True,
|
|
186
171
|
authorization: Union[None, Unset, str] = UNSET,
|
|
187
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
188
172
|
) -> Optional[Union[Any, HTTPValidationError, UserSubscriptionsResponse]]:
|
|
189
173
|
"""Get User Subscriptions
|
|
190
174
|
|
|
@@ -193,7 +177,6 @@ async def asyncio(
|
|
|
193
177
|
Args:
|
|
194
178
|
active_only (Union[Unset, bool]): Only return active subscriptions Default: True.
|
|
195
179
|
authorization (Union[None, Unset, str]):
|
|
196
|
-
auth_token (Union[None, Unset, str]):
|
|
197
180
|
|
|
198
181
|
Raises:
|
|
199
182
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -208,6 +191,5 @@ async def asyncio(
|
|
|
208
191
|
client=client,
|
|
209
192
|
active_only=active_only,
|
|
210
193
|
authorization=authorization,
|
|
211
|
-
auth_token=auth_token,
|
|
212
194
|
)
|
|
213
195
|
).parsed
|
|
@@ -15,20 +15,14 @@ def _get_kwargs(
|
|
|
15
15
|
*,
|
|
16
16
|
body: SubscriptionRequest,
|
|
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/subscriptions/shared-repositories/subscribe",
|
|
31
|
-
"cookies": cookies,
|
|
32
26
|
}
|
|
33
27
|
|
|
34
28
|
_kwargs["json"] = body.to_dict()
|
|
@@ -81,7 +75,6 @@ def sync_detailed(
|
|
|
81
75
|
client: AuthenticatedClient,
|
|
82
76
|
body: SubscriptionRequest,
|
|
83
77
|
authorization: Union[None, Unset, str] = UNSET,
|
|
84
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
85
78
|
) -> Response[Union[Any, HTTPValidationError, SubscriptionResponse]]:
|
|
86
79
|
"""Subscribe to Shared Repository
|
|
87
80
|
|
|
@@ -89,7 +82,6 @@ def sync_detailed(
|
|
|
89
82
|
|
|
90
83
|
Args:
|
|
91
84
|
authorization (Union[None, Unset, str]):
|
|
92
|
-
auth_token (Union[None, Unset, str]):
|
|
93
85
|
body (SubscriptionRequest): Request to create a new subscription.
|
|
94
86
|
|
|
95
87
|
Raises:
|
|
@@ -103,7 +95,6 @@ def sync_detailed(
|
|
|
103
95
|
kwargs = _get_kwargs(
|
|
104
96
|
body=body,
|
|
105
97
|
authorization=authorization,
|
|
106
|
-
auth_token=auth_token,
|
|
107
98
|
)
|
|
108
99
|
|
|
109
100
|
response = client.get_httpx_client().request(
|
|
@@ -118,7 +109,6 @@ def sync(
|
|
|
118
109
|
client: AuthenticatedClient,
|
|
119
110
|
body: SubscriptionRequest,
|
|
120
111
|
authorization: Union[None, Unset, str] = UNSET,
|
|
121
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
122
112
|
) -> Optional[Union[Any, HTTPValidationError, SubscriptionResponse]]:
|
|
123
113
|
"""Subscribe to Shared Repository
|
|
124
114
|
|
|
@@ -126,7 +116,6 @@ def sync(
|
|
|
126
116
|
|
|
127
117
|
Args:
|
|
128
118
|
authorization (Union[None, Unset, str]):
|
|
129
|
-
auth_token (Union[None, Unset, str]):
|
|
130
119
|
body (SubscriptionRequest): Request to create a new subscription.
|
|
131
120
|
|
|
132
121
|
Raises:
|
|
@@ -141,7 +130,6 @@ def sync(
|
|
|
141
130
|
client=client,
|
|
142
131
|
body=body,
|
|
143
132
|
authorization=authorization,
|
|
144
|
-
auth_token=auth_token,
|
|
145
133
|
).parsed
|
|
146
134
|
|
|
147
135
|
|
|
@@ -150,7 +138,6 @@ async def asyncio_detailed(
|
|
|
150
138
|
client: AuthenticatedClient,
|
|
151
139
|
body: SubscriptionRequest,
|
|
152
140
|
authorization: Union[None, Unset, str] = UNSET,
|
|
153
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
154
141
|
) -> Response[Union[Any, HTTPValidationError, SubscriptionResponse]]:
|
|
155
142
|
"""Subscribe to Shared Repository
|
|
156
143
|
|
|
@@ -158,7 +145,6 @@ async def asyncio_detailed(
|
|
|
158
145
|
|
|
159
146
|
Args:
|
|
160
147
|
authorization (Union[None, Unset, str]):
|
|
161
|
-
auth_token (Union[None, Unset, str]):
|
|
162
148
|
body (SubscriptionRequest): Request to create a new subscription.
|
|
163
149
|
|
|
164
150
|
Raises:
|
|
@@ -172,7 +158,6 @@ async def asyncio_detailed(
|
|
|
172
158
|
kwargs = _get_kwargs(
|
|
173
159
|
body=body,
|
|
174
160
|
authorization=authorization,
|
|
175
|
-
auth_token=auth_token,
|
|
176
161
|
)
|
|
177
162
|
|
|
178
163
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -185,7 +170,6 @@ async def asyncio(
|
|
|
185
170
|
client: AuthenticatedClient,
|
|
186
171
|
body: SubscriptionRequest,
|
|
187
172
|
authorization: Union[None, Unset, str] = UNSET,
|
|
188
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
189
173
|
) -> Optional[Union[Any, HTTPValidationError, SubscriptionResponse]]:
|
|
190
174
|
"""Subscribe to Shared Repository
|
|
191
175
|
|
|
@@ -193,7 +177,6 @@ async def asyncio(
|
|
|
193
177
|
|
|
194
178
|
Args:
|
|
195
179
|
authorization (Union[None, Unset, str]):
|
|
196
|
-
auth_token (Union[None, Unset, str]):
|
|
197
180
|
body (SubscriptionRequest): Request to create a new subscription.
|
|
198
181
|
|
|
199
182
|
Raises:
|
|
@@ -209,6 +192,5 @@ async def asyncio(
|
|
|
209
192
|
client=client,
|
|
210
193
|
body=body,
|
|
211
194
|
authorization=authorization,
|
|
212
|
-
auth_token=auth_token,
|
|
213
195
|
)
|
|
214
196
|
).parsed
|
|
@@ -15,20 +15,14 @@ def _get_kwargs(
|
|
|
15
15
|
*,
|
|
16
16
|
body: TierUpgradeRequest,
|
|
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": "put",
|
|
30
25
|
"url": f"/v1/user/subscriptions/shared-repositories/{subscription_id}/upgrade",
|
|
31
|
-
"cookies": cookies,
|
|
32
26
|
}
|
|
33
27
|
|
|
34
28
|
_kwargs["json"] = body.to_dict()
|
|
@@ -84,7 +78,6 @@ def sync_detailed(
|
|
|
84
78
|
client: AuthenticatedClient,
|
|
85
79
|
body: TierUpgradeRequest,
|
|
86
80
|
authorization: Union[None, Unset, str] = UNSET,
|
|
87
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
88
81
|
) -> Response[Union[Any, HTTPValidationError]]:
|
|
89
82
|
"""Upgrade Subscription Tier
|
|
90
83
|
|
|
@@ -93,7 +86,6 @@ def sync_detailed(
|
|
|
93
86
|
Args:
|
|
94
87
|
subscription_id (str):
|
|
95
88
|
authorization (Union[None, Unset, str]):
|
|
96
|
-
auth_token (Union[None, Unset, str]):
|
|
97
89
|
body (TierUpgradeRequest): Request to upgrade subscription tier.
|
|
98
90
|
|
|
99
91
|
Raises:
|
|
@@ -108,7 +100,6 @@ def sync_detailed(
|
|
|
108
100
|
subscription_id=subscription_id,
|
|
109
101
|
body=body,
|
|
110
102
|
authorization=authorization,
|
|
111
|
-
auth_token=auth_token,
|
|
112
103
|
)
|
|
113
104
|
|
|
114
105
|
response = client.get_httpx_client().request(
|
|
@@ -124,7 +115,6 @@ def sync(
|
|
|
124
115
|
client: AuthenticatedClient,
|
|
125
116
|
body: TierUpgradeRequest,
|
|
126
117
|
authorization: Union[None, Unset, str] = UNSET,
|
|
127
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
128
118
|
) -> Optional[Union[Any, HTTPValidationError]]:
|
|
129
119
|
"""Upgrade Subscription Tier
|
|
130
120
|
|
|
@@ -133,7 +123,6 @@ def sync(
|
|
|
133
123
|
Args:
|
|
134
124
|
subscription_id (str):
|
|
135
125
|
authorization (Union[None, Unset, str]):
|
|
136
|
-
auth_token (Union[None, Unset, str]):
|
|
137
126
|
body (TierUpgradeRequest): Request to upgrade subscription tier.
|
|
138
127
|
|
|
139
128
|
Raises:
|
|
@@ -149,7 +138,6 @@ def sync(
|
|
|
149
138
|
client=client,
|
|
150
139
|
body=body,
|
|
151
140
|
authorization=authorization,
|
|
152
|
-
auth_token=auth_token,
|
|
153
141
|
).parsed
|
|
154
142
|
|
|
155
143
|
|
|
@@ -159,7 +147,6 @@ async def asyncio_detailed(
|
|
|
159
147
|
client: AuthenticatedClient,
|
|
160
148
|
body: TierUpgradeRequest,
|
|
161
149
|
authorization: Union[None, Unset, str] = UNSET,
|
|
162
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
163
150
|
) -> Response[Union[Any, HTTPValidationError]]:
|
|
164
151
|
"""Upgrade Subscription Tier
|
|
165
152
|
|
|
@@ -168,7 +155,6 @@ async def asyncio_detailed(
|
|
|
168
155
|
Args:
|
|
169
156
|
subscription_id (str):
|
|
170
157
|
authorization (Union[None, Unset, str]):
|
|
171
|
-
auth_token (Union[None, Unset, str]):
|
|
172
158
|
body (TierUpgradeRequest): Request to upgrade subscription tier.
|
|
173
159
|
|
|
174
160
|
Raises:
|
|
@@ -183,7 +169,6 @@ async def asyncio_detailed(
|
|
|
183
169
|
subscription_id=subscription_id,
|
|
184
170
|
body=body,
|
|
185
171
|
authorization=authorization,
|
|
186
|
-
auth_token=auth_token,
|
|
187
172
|
)
|
|
188
173
|
|
|
189
174
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -197,7 +182,6 @@ async def asyncio(
|
|
|
197
182
|
client: AuthenticatedClient,
|
|
198
183
|
body: TierUpgradeRequest,
|
|
199
184
|
authorization: Union[None, Unset, str] = UNSET,
|
|
200
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
201
185
|
) -> Optional[Union[Any, HTTPValidationError]]:
|
|
202
186
|
"""Upgrade Subscription Tier
|
|
203
187
|
|
|
@@ -206,7 +190,6 @@ async def asyncio(
|
|
|
206
190
|
Args:
|
|
207
191
|
subscription_id (str):
|
|
208
192
|
authorization (Union[None, Unset, str]):
|
|
209
|
-
auth_token (Union[None, Unset, str]):
|
|
210
193
|
body (TierUpgradeRequest): Request to upgrade subscription tier.
|
|
211
194
|
|
|
212
195
|
Raises:
|
|
@@ -223,6 +206,5 @@ async def asyncio(
|
|
|
223
206
|
client=client,
|
|
224
207
|
body=body,
|
|
225
208
|
authorization=authorization,
|
|
226
|
-
auth_token=auth_token,
|
|
227
209
|
)
|
|
228
210
|
).parsed
|