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
|
@@ -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/api-keys",
|
|
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[APIKeysResponse, HTTPValidationError]]:
|
|
70
63
|
"""List API Keys
|
|
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[APIKeysResponse, HTTPValidationError]]:
|
|
104
94
|
"""List API Keys
|
|
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[APIKeysResponse, HTTPValidationError]]:
|
|
133
120
|
"""List API Keys
|
|
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[APIKeysResponse, HTTPValidationError]]:
|
|
165
149
|
"""List API Keys
|
|
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 @@ def _get_kwargs(
|
|
|
15
15
|
api_key_id: str,
|
|
16
16
|
*,
|
|
17
17
|
authorization: Union[None, Unset, str] = UNSET,
|
|
18
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
19
18
|
) -> dict[str, Any]:
|
|
20
19
|
headers: dict[str, Any] = {}
|
|
21
20
|
if not isinstance(authorization, Unset):
|
|
22
21
|
headers["authorization"] = authorization
|
|
23
22
|
|
|
24
|
-
cookies = {}
|
|
25
|
-
if auth_token is not UNSET:
|
|
26
|
-
cookies["auth-token"] = auth_token
|
|
27
|
-
|
|
28
23
|
_kwargs: dict[str, Any] = {
|
|
29
24
|
"method": "delete",
|
|
30
25
|
"url": f"/v1/user/api-keys/{api_key_id}",
|
|
31
|
-
"cookies": cookies,
|
|
32
26
|
}
|
|
33
27
|
|
|
34
28
|
_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[ErrorResponse, HTTPValidationError, SuccessResponse]]:
|
|
81
74
|
"""Revoke API Key
|
|
82
75
|
|
|
@@ -85,7 +78,6 @@ def sync_detailed(
|
|
|
85
78
|
Args:
|
|
86
79
|
api_key_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
|
api_key_id=api_key_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[ErrorResponse, HTTPValidationError, SuccessResponse]]:
|
|
118
108
|
"""Revoke API Key
|
|
119
109
|
|
|
@@ -122,7 +112,6 @@ def sync(
|
|
|
122
112
|
Args:
|
|
123
113
|
api_key_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
|
api_key_id=api_key_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[ErrorResponse, HTTPValidationError, SuccessResponse]]:
|
|
150
137
|
"""Revoke API Key
|
|
151
138
|
|
|
@@ -154,7 +141,6 @@ async def asyncio_detailed(
|
|
|
154
141
|
Args:
|
|
155
142
|
api_key_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
|
api_key_id=api_key_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[ErrorResponse, HTTPValidationError, SuccessResponse]]:
|
|
185
169
|
"""Revoke API Key
|
|
186
170
|
|
|
@@ -189,7 +173,6 @@ async def asyncio(
|
|
|
189
173
|
Args:
|
|
190
174
|
api_key_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
|
api_key_id=api_key_id,
|
|
205
188
|
client=client,
|
|
206
189
|
authorization=authorization,
|
|
207
|
-
auth_token=auth_token,
|
|
208
190
|
)
|
|
209
191
|
).parsed
|
|
@@ -15,20 +15,14 @@ def _get_kwargs(
|
|
|
15
15
|
graph_id: str,
|
|
16
16
|
*,
|
|
17
17
|
authorization: Union[None, Unset, str] = UNSET,
|
|
18
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
19
18
|
) -> dict[str, Any]:
|
|
20
19
|
headers: dict[str, Any] = {}
|
|
21
20
|
if not isinstance(authorization, Unset):
|
|
22
21
|
headers["authorization"] = authorization
|
|
23
22
|
|
|
24
|
-
cookies = {}
|
|
25
|
-
if auth_token is not UNSET:
|
|
26
|
-
cookies["auth-token"] = auth_token
|
|
27
|
-
|
|
28
23
|
_kwargs: dict[str, Any] = {
|
|
29
24
|
"method": "post",
|
|
30
25
|
"url": f"/v1/user/graphs/{graph_id}/select",
|
|
31
|
-
"cookies": cookies,
|
|
32
26
|
}
|
|
33
27
|
|
|
34
28
|
_kwargs["headers"] = headers
|
|
@@ -80,7 +74,6 @@ def sync_detailed(
|
|
|
80
74
|
*,
|
|
81
75
|
client: AuthenticatedClient,
|
|
82
76
|
authorization: Union[None, Unset, str] = UNSET,
|
|
83
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
84
77
|
) -> Response[Union[ErrorResponse, HTTPValidationError, SuccessResponse]]:
|
|
85
78
|
"""Select User Graph
|
|
86
79
|
|
|
@@ -89,7 +82,6 @@ def sync_detailed(
|
|
|
89
82
|
Args:
|
|
90
83
|
graph_id (str):
|
|
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
|
graph_id=graph_id,
|
|
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
|
*,
|
|
118
109
|
client: AuthenticatedClient,
|
|
119
110
|
authorization: Union[None, Unset, str] = UNSET,
|
|
120
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
121
111
|
) -> Optional[Union[ErrorResponse, HTTPValidationError, SuccessResponse]]:
|
|
122
112
|
"""Select User Graph
|
|
123
113
|
|
|
@@ -126,7 +116,6 @@ def sync(
|
|
|
126
116
|
Args:
|
|
127
117
|
graph_id (str):
|
|
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
|
graph_id=graph_id,
|
|
141
130
|
client=client,
|
|
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
|
*,
|
|
150
138
|
client: AuthenticatedClient,
|
|
151
139
|
authorization: Union[None, Unset, str] = UNSET,
|
|
152
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
153
140
|
) -> Response[Union[ErrorResponse, HTTPValidationError, SuccessResponse]]:
|
|
154
141
|
"""Select User Graph
|
|
155
142
|
|
|
@@ -158,7 +145,6 @@ async def asyncio_detailed(
|
|
|
158
145
|
Args:
|
|
159
146
|
graph_id (str):
|
|
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
|
graph_id=graph_id,
|
|
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
|
*,
|
|
185
170
|
client: AuthenticatedClient,
|
|
186
171
|
authorization: Union[None, Unset, str] = UNSET,
|
|
187
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
188
172
|
) -> Optional[Union[ErrorResponse, HTTPValidationError, SuccessResponse]]:
|
|
189
173
|
"""Select User Graph
|
|
190
174
|
|
|
@@ -193,7 +177,6 @@ async def asyncio(
|
|
|
193
177
|
Args:
|
|
194
178
|
graph_id (str):
|
|
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
|
graph_id=graph_id,
|
|
209
192
|
client=client,
|
|
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: UpdateUserRequest,
|
|
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": "/v1/user",
|
|
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: UpdateUserRequest,
|
|
74
68
|
authorization: Union[None, Unset, str] = UNSET,
|
|
75
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
76
69
|
) -> Response[Union[HTTPValidationError, UserResponse]]:
|
|
77
70
|
"""Update User Profile
|
|
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 (UpdateUserRequest): Request model for updating user profile.
|
|
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: UpdateUserRequest,
|
|
111
102
|
authorization: Union[None, Unset, str] = UNSET,
|
|
112
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
113
103
|
) -> Optional[Union[HTTPValidationError, UserResponse]]:
|
|
114
104
|
"""Update User Profile
|
|
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 (UpdateUserRequest): Request model for updating user profile.
|
|
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: UpdateUserRequest,
|
|
143
131
|
authorization: Union[None, Unset, str] = UNSET,
|
|
144
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
145
132
|
) -> Response[Union[HTTPValidationError, UserResponse]]:
|
|
146
133
|
"""Update User Profile
|
|
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 (UpdateUserRequest): Request model for updating user profile.
|
|
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: UpdateUserRequest,
|
|
178
163
|
authorization: Union[None, Unset, str] = UNSET,
|
|
179
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
180
164
|
) -> Optional[Union[HTTPValidationError, UserResponse]]:
|
|
181
165
|
"""Update User Profile
|
|
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 (UpdateUserRequest): Request model for updating user profile.
|
|
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 @@ def _get_kwargs(
|
|
|
16
16
|
*,
|
|
17
17
|
body: UpdateAPIKeyRequest,
|
|
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": f"/v1/user/api-keys/{api_key_id}",
|
|
32
|
-
"cookies": cookies,
|
|
33
27
|
}
|
|
34
28
|
|
|
35
29
|
_kwargs["json"] = body.to_dict()
|
|
@@ -74,7 +68,6 @@ def sync_detailed(
|
|
|
74
68
|
client: AuthenticatedClient,
|
|
75
69
|
body: UpdateAPIKeyRequest,
|
|
76
70
|
authorization: Union[None, Unset, str] = UNSET,
|
|
77
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
78
71
|
) -> Response[Union[APIKeyInfo, HTTPValidationError]]:
|
|
79
72
|
"""Update API Key
|
|
80
73
|
|
|
@@ -83,7 +76,6 @@ def sync_detailed(
|
|
|
83
76
|
Args:
|
|
84
77
|
api_key_id (str):
|
|
85
78
|
authorization (Union[None, Unset, str]):
|
|
86
|
-
auth_token (Union[None, Unset, str]):
|
|
87
79
|
body (UpdateAPIKeyRequest): Request model for updating an API key.
|
|
88
80
|
|
|
89
81
|
Raises:
|
|
@@ -98,7 +90,6 @@ def sync_detailed(
|
|
|
98
90
|
api_key_id=api_key_id,
|
|
99
91
|
body=body,
|
|
100
92
|
authorization=authorization,
|
|
101
|
-
auth_token=auth_token,
|
|
102
93
|
)
|
|
103
94
|
|
|
104
95
|
response = client.get_httpx_client().request(
|
|
@@ -114,7 +105,6 @@ def sync(
|
|
|
114
105
|
client: AuthenticatedClient,
|
|
115
106
|
body: UpdateAPIKeyRequest,
|
|
116
107
|
authorization: Union[None, Unset, str] = UNSET,
|
|
117
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
118
108
|
) -> Optional[Union[APIKeyInfo, HTTPValidationError]]:
|
|
119
109
|
"""Update API Key
|
|
120
110
|
|
|
@@ -123,7 +113,6 @@ def sync(
|
|
|
123
113
|
Args:
|
|
124
114
|
api_key_id (str):
|
|
125
115
|
authorization (Union[None, Unset, str]):
|
|
126
|
-
auth_token (Union[None, Unset, str]):
|
|
127
116
|
body (UpdateAPIKeyRequest): Request model for updating an API key.
|
|
128
117
|
|
|
129
118
|
Raises:
|
|
@@ -139,7 +128,6 @@ def sync(
|
|
|
139
128
|
client=client,
|
|
140
129
|
body=body,
|
|
141
130
|
authorization=authorization,
|
|
142
|
-
auth_token=auth_token,
|
|
143
131
|
).parsed
|
|
144
132
|
|
|
145
133
|
|
|
@@ -149,7 +137,6 @@ async def asyncio_detailed(
|
|
|
149
137
|
client: AuthenticatedClient,
|
|
150
138
|
body: UpdateAPIKeyRequest,
|
|
151
139
|
authorization: Union[None, Unset, str] = UNSET,
|
|
152
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
153
140
|
) -> Response[Union[APIKeyInfo, HTTPValidationError]]:
|
|
154
141
|
"""Update API Key
|
|
155
142
|
|
|
@@ -158,7 +145,6 @@ async def asyncio_detailed(
|
|
|
158
145
|
Args:
|
|
159
146
|
api_key_id (str):
|
|
160
147
|
authorization (Union[None, Unset, str]):
|
|
161
|
-
auth_token (Union[None, Unset, str]):
|
|
162
148
|
body (UpdateAPIKeyRequest): Request model for updating an API key.
|
|
163
149
|
|
|
164
150
|
Raises:
|
|
@@ -173,7 +159,6 @@ async def asyncio_detailed(
|
|
|
173
159
|
api_key_id=api_key_id,
|
|
174
160
|
body=body,
|
|
175
161
|
authorization=authorization,
|
|
176
|
-
auth_token=auth_token,
|
|
177
162
|
)
|
|
178
163
|
|
|
179
164
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -187,7 +172,6 @@ async def asyncio(
|
|
|
187
172
|
client: AuthenticatedClient,
|
|
188
173
|
body: UpdateAPIKeyRequest,
|
|
189
174
|
authorization: Union[None, Unset, str] = UNSET,
|
|
190
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
191
175
|
) -> Optional[Union[APIKeyInfo, HTTPValidationError]]:
|
|
192
176
|
"""Update API Key
|
|
193
177
|
|
|
@@ -196,7 +180,6 @@ async def asyncio(
|
|
|
196
180
|
Args:
|
|
197
181
|
api_key_id (str):
|
|
198
182
|
authorization (Union[None, Unset, str]):
|
|
199
|
-
auth_token (Union[None, Unset, str]):
|
|
200
183
|
body (UpdateAPIKeyRequest): Request model for updating an API key.
|
|
201
184
|
|
|
202
185
|
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
|
|
@@ -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
|