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
|
@@ -16,20 +16,14 @@ def _get_kwargs(
|
|
|
16
16
|
connection_id: 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/{graph_id}/connections/{connection_id}",
|
|
32
|
-
"cookies": cookies,
|
|
33
27
|
}
|
|
34
28
|
|
|
35
29
|
_kwargs["headers"] = headers
|
|
@@ -82,7 +76,6 @@ def sync_detailed(
|
|
|
82
76
|
*,
|
|
83
77
|
client: AuthenticatedClient,
|
|
84
78
|
authorization: Union[None, Unset, str] = UNSET,
|
|
85
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
86
79
|
) -> Response[Union[ConnectionResponse, ErrorResponse, HTTPValidationError]]:
|
|
87
80
|
"""Get Connection
|
|
88
81
|
|
|
@@ -101,7 +94,6 @@ def sync_detailed(
|
|
|
101
94
|
graph_id (str): Graph database identifier
|
|
102
95
|
connection_id (str): Unique connection identifier
|
|
103
96
|
authorization (Union[None, Unset, str]):
|
|
104
|
-
auth_token (Union[None, Unset, str]):
|
|
105
97
|
|
|
106
98
|
Raises:
|
|
107
99
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -115,7 +107,6 @@ def sync_detailed(
|
|
|
115
107
|
graph_id=graph_id,
|
|
116
108
|
connection_id=connection_id,
|
|
117
109
|
authorization=authorization,
|
|
118
|
-
auth_token=auth_token,
|
|
119
110
|
)
|
|
120
111
|
|
|
121
112
|
response = client.get_httpx_client().request(
|
|
@@ -131,7 +122,6 @@ def sync(
|
|
|
131
122
|
*,
|
|
132
123
|
client: AuthenticatedClient,
|
|
133
124
|
authorization: Union[None, Unset, str] = UNSET,
|
|
134
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
135
125
|
) -> Optional[Union[ConnectionResponse, ErrorResponse, HTTPValidationError]]:
|
|
136
126
|
"""Get Connection
|
|
137
127
|
|
|
@@ -150,7 +140,6 @@ def sync(
|
|
|
150
140
|
graph_id (str): Graph database identifier
|
|
151
141
|
connection_id (str): Unique connection identifier
|
|
152
142
|
authorization (Union[None, Unset, str]):
|
|
153
|
-
auth_token (Union[None, Unset, str]):
|
|
154
143
|
|
|
155
144
|
Raises:
|
|
156
145
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -165,7 +154,6 @@ def sync(
|
|
|
165
154
|
connection_id=connection_id,
|
|
166
155
|
client=client,
|
|
167
156
|
authorization=authorization,
|
|
168
|
-
auth_token=auth_token,
|
|
169
157
|
).parsed
|
|
170
158
|
|
|
171
159
|
|
|
@@ -175,7 +163,6 @@ async def asyncio_detailed(
|
|
|
175
163
|
*,
|
|
176
164
|
client: AuthenticatedClient,
|
|
177
165
|
authorization: Union[None, Unset, str] = UNSET,
|
|
178
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
179
166
|
) -> Response[Union[ConnectionResponse, ErrorResponse, HTTPValidationError]]:
|
|
180
167
|
"""Get Connection
|
|
181
168
|
|
|
@@ -194,7 +181,6 @@ async def asyncio_detailed(
|
|
|
194
181
|
graph_id (str): Graph database identifier
|
|
195
182
|
connection_id (str): Unique connection identifier
|
|
196
183
|
authorization (Union[None, Unset, str]):
|
|
197
|
-
auth_token (Union[None, Unset, str]):
|
|
198
184
|
|
|
199
185
|
Raises:
|
|
200
186
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -208,7 +194,6 @@ async def asyncio_detailed(
|
|
|
208
194
|
graph_id=graph_id,
|
|
209
195
|
connection_id=connection_id,
|
|
210
196
|
authorization=authorization,
|
|
211
|
-
auth_token=auth_token,
|
|
212
197
|
)
|
|
213
198
|
|
|
214
199
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -222,7 +207,6 @@ async def asyncio(
|
|
|
222
207
|
*,
|
|
223
208
|
client: AuthenticatedClient,
|
|
224
209
|
authorization: Union[None, Unset, str] = UNSET,
|
|
225
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
226
210
|
) -> Optional[Union[ConnectionResponse, ErrorResponse, HTTPValidationError]]:
|
|
227
211
|
"""Get Connection
|
|
228
212
|
|
|
@@ -241,7 +225,6 @@ async def asyncio(
|
|
|
241
225
|
graph_id (str): Graph database identifier
|
|
242
226
|
connection_id (str): Unique connection identifier
|
|
243
227
|
authorization (Union[None, Unset, str]):
|
|
244
|
-
auth_token (Union[None, Unset, str]):
|
|
245
228
|
|
|
246
229
|
Raises:
|
|
247
230
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -257,6 +240,5 @@ async def asyncio(
|
|
|
257
240
|
connection_id=connection_id,
|
|
258
241
|
client=client,
|
|
259
242
|
authorization=authorization,
|
|
260
|
-
auth_token=auth_token,
|
|
261
243
|
)
|
|
262
244
|
).parsed
|
|
@@ -15,20 +15,14 @@ def _get_kwargs(
|
|
|
15
15
|
graph_id: str,
|
|
16
16
|
*,
|
|
17
17
|
authorization: Union[None, Unset, str] = UNSET,
|
|
18
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
19
18
|
) -> dict[str, Any]:
|
|
20
19
|
headers: dict[str, Any] = {}
|
|
21
20
|
if not isinstance(authorization, Unset):
|
|
22
21
|
headers["authorization"] = authorization
|
|
23
22
|
|
|
24
|
-
cookies = {}
|
|
25
|
-
if auth_token is not UNSET:
|
|
26
|
-
cookies["auth-token"] = auth_token
|
|
27
|
-
|
|
28
23
|
_kwargs: dict[str, Any] = {
|
|
29
24
|
"method": "get",
|
|
30
25
|
"url": f"/v1/{graph_id}/connections/options",
|
|
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[ConnectionOptionsResponse, ErrorResponse, HTTPValidationError]]:
|
|
81
74
|
"""List Connection Options
|
|
82
75
|
|
|
@@ -104,7 +97,6 @@ def sync_detailed(
|
|
|
104
97
|
Args:
|
|
105
98
|
graph_id (str): Graph database identifier
|
|
106
99
|
authorization (Union[None, Unset, str]):
|
|
107
|
-
auth_token (Union[None, Unset, str]):
|
|
108
100
|
|
|
109
101
|
Raises:
|
|
110
102
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -117,7 +109,6 @@ def sync_detailed(
|
|
|
117
109
|
kwargs = _get_kwargs(
|
|
118
110
|
graph_id=graph_id,
|
|
119
111
|
authorization=authorization,
|
|
120
|
-
auth_token=auth_token,
|
|
121
112
|
)
|
|
122
113
|
|
|
123
114
|
response = client.get_httpx_client().request(
|
|
@@ -132,7 +123,6 @@ def sync(
|
|
|
132
123
|
*,
|
|
133
124
|
client: AuthenticatedClient,
|
|
134
125
|
authorization: Union[None, Unset, str] = UNSET,
|
|
135
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
136
126
|
) -> Optional[Union[ConnectionOptionsResponse, ErrorResponse, HTTPValidationError]]:
|
|
137
127
|
"""List Connection Options
|
|
138
128
|
|
|
@@ -160,7 +150,6 @@ def sync(
|
|
|
160
150
|
Args:
|
|
161
151
|
graph_id (str): Graph database identifier
|
|
162
152
|
authorization (Union[None, Unset, str]):
|
|
163
|
-
auth_token (Union[None, Unset, str]):
|
|
164
153
|
|
|
165
154
|
Raises:
|
|
166
155
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -174,7 +163,6 @@ def sync(
|
|
|
174
163
|
graph_id=graph_id,
|
|
175
164
|
client=client,
|
|
176
165
|
authorization=authorization,
|
|
177
|
-
auth_token=auth_token,
|
|
178
166
|
).parsed
|
|
179
167
|
|
|
180
168
|
|
|
@@ -183,7 +171,6 @@ async def asyncio_detailed(
|
|
|
183
171
|
*,
|
|
184
172
|
client: AuthenticatedClient,
|
|
185
173
|
authorization: Union[None, Unset, str] = UNSET,
|
|
186
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
187
174
|
) -> Response[Union[ConnectionOptionsResponse, ErrorResponse, HTTPValidationError]]:
|
|
188
175
|
"""List Connection Options
|
|
189
176
|
|
|
@@ -211,7 +198,6 @@ async def asyncio_detailed(
|
|
|
211
198
|
Args:
|
|
212
199
|
graph_id (str): Graph database identifier
|
|
213
200
|
authorization (Union[None, Unset, str]):
|
|
214
|
-
auth_token (Union[None, Unset, str]):
|
|
215
201
|
|
|
216
202
|
Raises:
|
|
217
203
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -224,7 +210,6 @@ async def asyncio_detailed(
|
|
|
224
210
|
kwargs = _get_kwargs(
|
|
225
211
|
graph_id=graph_id,
|
|
226
212
|
authorization=authorization,
|
|
227
|
-
auth_token=auth_token,
|
|
228
213
|
)
|
|
229
214
|
|
|
230
215
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -237,7 +222,6 @@ async def asyncio(
|
|
|
237
222
|
*,
|
|
238
223
|
client: AuthenticatedClient,
|
|
239
224
|
authorization: Union[None, Unset, str] = UNSET,
|
|
240
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
241
225
|
) -> Optional[Union[ConnectionOptionsResponse, ErrorResponse, HTTPValidationError]]:
|
|
242
226
|
"""List Connection Options
|
|
243
227
|
|
|
@@ -265,7 +249,6 @@ async def asyncio(
|
|
|
265
249
|
Args:
|
|
266
250
|
graph_id (str): Graph database identifier
|
|
267
251
|
authorization (Union[None, Unset, str]):
|
|
268
|
-
auth_token (Union[None, Unset, str]):
|
|
269
252
|
|
|
270
253
|
Raises:
|
|
271
254
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -280,6 +263,5 @@ async def asyncio(
|
|
|
280
263
|
graph_id=graph_id,
|
|
281
264
|
client=client,
|
|
282
265
|
authorization=authorization,
|
|
283
|
-
auth_token=auth_token,
|
|
284
266
|
)
|
|
285
267
|
).parsed
|
|
@@ -16,20 +16,14 @@ def _get_kwargs(
|
|
|
16
16
|
*,
|
|
17
17
|
body: OAuthInitRequest,
|
|
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": "post",
|
|
31
26
|
"url": f"/v1/{graph_id}/connections/oauth/init",
|
|
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: OAuthInitRequest,
|
|
76
70
|
authorization: Union[None, Unset, str] = UNSET,
|
|
77
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
78
71
|
) -> Response[Union[HTTPValidationError, OAuthInitResponse]]:
|
|
79
72
|
"""Init Oauth
|
|
80
73
|
|
|
@@ -86,7 +79,6 @@ def sync_detailed(
|
|
|
86
79
|
Args:
|
|
87
80
|
graph_id (str): Graph database identifier
|
|
88
81
|
authorization (Union[None, Unset, str]):
|
|
89
|
-
auth_token (Union[None, Unset, str]):
|
|
90
82
|
body (OAuthInitRequest): Request to initiate OAuth flow.
|
|
91
83
|
|
|
92
84
|
Raises:
|
|
@@ -101,7 +93,6 @@ def sync_detailed(
|
|
|
101
93
|
graph_id=graph_id,
|
|
102
94
|
body=body,
|
|
103
95
|
authorization=authorization,
|
|
104
|
-
auth_token=auth_token,
|
|
105
96
|
)
|
|
106
97
|
|
|
107
98
|
response = client.get_httpx_client().request(
|
|
@@ -117,7 +108,6 @@ def sync(
|
|
|
117
108
|
client: AuthenticatedClient,
|
|
118
109
|
body: OAuthInitRequest,
|
|
119
110
|
authorization: Union[None, Unset, str] = UNSET,
|
|
120
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
121
111
|
) -> Optional[Union[HTTPValidationError, OAuthInitResponse]]:
|
|
122
112
|
"""Init Oauth
|
|
123
113
|
|
|
@@ -129,7 +119,6 @@ def sync(
|
|
|
129
119
|
Args:
|
|
130
120
|
graph_id (str): Graph database identifier
|
|
131
121
|
authorization (Union[None, Unset, str]):
|
|
132
|
-
auth_token (Union[None, Unset, str]):
|
|
133
122
|
body (OAuthInitRequest): Request to initiate OAuth flow.
|
|
134
123
|
|
|
135
124
|
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
|
|
|
@@ -155,7 +143,6 @@ async def asyncio_detailed(
|
|
|
155
143
|
client: AuthenticatedClient,
|
|
156
144
|
body: OAuthInitRequest,
|
|
157
145
|
authorization: Union[None, Unset, str] = UNSET,
|
|
158
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
159
146
|
) -> Response[Union[HTTPValidationError, OAuthInitResponse]]:
|
|
160
147
|
"""Init Oauth
|
|
161
148
|
|
|
@@ -167,7 +154,6 @@ async def asyncio_detailed(
|
|
|
167
154
|
Args:
|
|
168
155
|
graph_id (str): Graph database identifier
|
|
169
156
|
authorization (Union[None, Unset, str]):
|
|
170
|
-
auth_token (Union[None, Unset, str]):
|
|
171
157
|
body (OAuthInitRequest): Request to initiate OAuth flow.
|
|
172
158
|
|
|
173
159
|
Raises:
|
|
@@ -182,7 +168,6 @@ async def asyncio_detailed(
|
|
|
182
168
|
graph_id=graph_id,
|
|
183
169
|
body=body,
|
|
184
170
|
authorization=authorization,
|
|
185
|
-
auth_token=auth_token,
|
|
186
171
|
)
|
|
187
172
|
|
|
188
173
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -196,7 +181,6 @@ async def asyncio(
|
|
|
196
181
|
client: AuthenticatedClient,
|
|
197
182
|
body: OAuthInitRequest,
|
|
198
183
|
authorization: Union[None, Unset, str] = UNSET,
|
|
199
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
200
184
|
) -> Optional[Union[HTTPValidationError, OAuthInitResponse]]:
|
|
201
185
|
"""Init Oauth
|
|
202
186
|
|
|
@@ -208,7 +192,6 @@ async def asyncio(
|
|
|
208
192
|
Args:
|
|
209
193
|
graph_id (str): Graph database identifier
|
|
210
194
|
authorization (Union[None, Unset, str]):
|
|
211
|
-
auth_token (Union[None, Unset, str]):
|
|
212
195
|
body (OAuthInitRequest): Request to initiate OAuth flow.
|
|
213
196
|
|
|
214
197
|
Raises:
|
|
@@ -225,6 +208,5 @@ async def asyncio(
|
|
|
225
208
|
client=client,
|
|
226
209
|
body=body,
|
|
227
210
|
authorization=authorization,
|
|
228
|
-
auth_token=auth_token,
|
|
229
211
|
)
|
|
230
212
|
).parsed
|
|
@@ -18,16 +18,11 @@ def _get_kwargs(
|
|
|
18
18
|
entity_id: Union[None, Unset, str] = UNSET,
|
|
19
19
|
provider: Union[ListConnectionsProviderType0, None, Unset] = UNSET,
|
|
20
20
|
authorization: Union[None, Unset, str] = UNSET,
|
|
21
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
22
21
|
) -> dict[str, Any]:
|
|
23
22
|
headers: dict[str, Any] = {}
|
|
24
23
|
if not isinstance(authorization, Unset):
|
|
25
24
|
headers["authorization"] = authorization
|
|
26
25
|
|
|
27
|
-
cookies = {}
|
|
28
|
-
if auth_token is not UNSET:
|
|
29
|
-
cookies["auth-token"] = auth_token
|
|
30
|
-
|
|
31
26
|
params: dict[str, Any] = {}
|
|
32
27
|
|
|
33
28
|
json_entity_id: Union[None, Unset, str]
|
|
@@ -52,7 +47,6 @@ def _get_kwargs(
|
|
|
52
47
|
"method": "get",
|
|
53
48
|
"url": f"/v1/{graph_id}/connections",
|
|
54
49
|
"params": params,
|
|
55
|
-
"cookies": cookies,
|
|
56
50
|
}
|
|
57
51
|
|
|
58
52
|
_kwargs["headers"] = headers
|
|
@@ -107,7 +101,6 @@ def sync_detailed(
|
|
|
107
101
|
entity_id: Union[None, Unset, str] = UNSET,
|
|
108
102
|
provider: Union[ListConnectionsProviderType0, None, Unset] = UNSET,
|
|
109
103
|
authorization: Union[None, Unset, str] = UNSET,
|
|
110
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
111
104
|
) -> Response[Union[ErrorResponse, HTTPValidationError, list["ConnectionResponse"]]]:
|
|
112
105
|
"""List Connections
|
|
113
106
|
|
|
@@ -131,7 +124,6 @@ def sync_detailed(
|
|
|
131
124
|
entity_id (Union[None, Unset, str]): Filter by entity ID
|
|
132
125
|
provider (Union[ListConnectionsProviderType0, None, Unset]): Filter by provider type
|
|
133
126
|
authorization (Union[None, Unset, str]):
|
|
134
|
-
auth_token (Union[None, Unset, str]):
|
|
135
127
|
|
|
136
128
|
Raises:
|
|
137
129
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -146,7 +138,6 @@ def sync_detailed(
|
|
|
146
138
|
entity_id=entity_id,
|
|
147
139
|
provider=provider,
|
|
148
140
|
authorization=authorization,
|
|
149
|
-
auth_token=auth_token,
|
|
150
141
|
)
|
|
151
142
|
|
|
152
143
|
response = client.get_httpx_client().request(
|
|
@@ -163,7 +154,6 @@ def sync(
|
|
|
163
154
|
entity_id: Union[None, Unset, str] = UNSET,
|
|
164
155
|
provider: Union[ListConnectionsProviderType0, None, Unset] = UNSET,
|
|
165
156
|
authorization: Union[None, Unset, str] = UNSET,
|
|
166
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
167
157
|
) -> Optional[Union[ErrorResponse, HTTPValidationError, list["ConnectionResponse"]]]:
|
|
168
158
|
"""List Connections
|
|
169
159
|
|
|
@@ -187,7 +177,6 @@ def sync(
|
|
|
187
177
|
entity_id (Union[None, Unset, str]): Filter by entity ID
|
|
188
178
|
provider (Union[ListConnectionsProviderType0, None, Unset]): Filter by provider type
|
|
189
179
|
authorization (Union[None, Unset, str]):
|
|
190
|
-
auth_token (Union[None, Unset, str]):
|
|
191
180
|
|
|
192
181
|
Raises:
|
|
193
182
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -203,7 +192,6 @@ def sync(
|
|
|
203
192
|
entity_id=entity_id,
|
|
204
193
|
provider=provider,
|
|
205
194
|
authorization=authorization,
|
|
206
|
-
auth_token=auth_token,
|
|
207
195
|
).parsed
|
|
208
196
|
|
|
209
197
|
|
|
@@ -214,7 +202,6 @@ async def asyncio_detailed(
|
|
|
214
202
|
entity_id: Union[None, Unset, str] = UNSET,
|
|
215
203
|
provider: Union[ListConnectionsProviderType0, None, Unset] = UNSET,
|
|
216
204
|
authorization: Union[None, Unset, str] = UNSET,
|
|
217
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
218
205
|
) -> Response[Union[ErrorResponse, HTTPValidationError, list["ConnectionResponse"]]]:
|
|
219
206
|
"""List Connections
|
|
220
207
|
|
|
@@ -238,7 +225,6 @@ async def asyncio_detailed(
|
|
|
238
225
|
entity_id (Union[None, Unset, str]): Filter by entity ID
|
|
239
226
|
provider (Union[ListConnectionsProviderType0, None, Unset]): Filter by provider type
|
|
240
227
|
authorization (Union[None, Unset, str]):
|
|
241
|
-
auth_token (Union[None, Unset, str]):
|
|
242
228
|
|
|
243
229
|
Raises:
|
|
244
230
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -253,7 +239,6 @@ async def asyncio_detailed(
|
|
|
253
239
|
entity_id=entity_id,
|
|
254
240
|
provider=provider,
|
|
255
241
|
authorization=authorization,
|
|
256
|
-
auth_token=auth_token,
|
|
257
242
|
)
|
|
258
243
|
|
|
259
244
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -268,7 +253,6 @@ async def asyncio(
|
|
|
268
253
|
entity_id: Union[None, Unset, str] = UNSET,
|
|
269
254
|
provider: Union[ListConnectionsProviderType0, None, Unset] = UNSET,
|
|
270
255
|
authorization: Union[None, Unset, str] = UNSET,
|
|
271
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
272
256
|
) -> Optional[Union[ErrorResponse, HTTPValidationError, list["ConnectionResponse"]]]:
|
|
273
257
|
"""List Connections
|
|
274
258
|
|
|
@@ -292,7 +276,6 @@ async def asyncio(
|
|
|
292
276
|
entity_id (Union[None, Unset, str]): Filter by entity ID
|
|
293
277
|
provider (Union[ListConnectionsProviderType0, None, Unset]): Filter by provider type
|
|
294
278
|
authorization (Union[None, Unset, str]):
|
|
295
|
-
auth_token (Union[None, Unset, str]):
|
|
296
279
|
|
|
297
280
|
Raises:
|
|
298
281
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -309,6 +292,5 @@ async def asyncio(
|
|
|
309
292
|
entity_id=entity_id,
|
|
310
293
|
provider=provider,
|
|
311
294
|
authorization=authorization,
|
|
312
|
-
auth_token=auth_token,
|
|
313
295
|
)
|
|
314
296
|
).parsed
|
|
@@ -17,20 +17,14 @@ def _get_kwargs(
|
|
|
17
17
|
*,
|
|
18
18
|
body: OAuthCallbackRequest,
|
|
19
19
|
authorization: Union[None, Unset, str] = UNSET,
|
|
20
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
21
20
|
) -> dict[str, Any]:
|
|
22
21
|
headers: dict[str, Any] = {}
|
|
23
22
|
if not isinstance(authorization, Unset):
|
|
24
23
|
headers["authorization"] = authorization
|
|
25
24
|
|
|
26
|
-
cookies = {}
|
|
27
|
-
if auth_token is not UNSET:
|
|
28
|
-
cookies["auth-token"] = auth_token
|
|
29
|
-
|
|
30
25
|
_kwargs: dict[str, Any] = {
|
|
31
26
|
"method": "post",
|
|
32
27
|
"url": f"/v1/{graph_id}/connections/oauth/callback/{provider}",
|
|
33
|
-
"cookies": cookies,
|
|
34
28
|
}
|
|
35
29
|
|
|
36
30
|
_kwargs["json"] = body.to_dict()
|
|
@@ -91,7 +85,6 @@ def sync_detailed(
|
|
|
91
85
|
client: AuthenticatedClient,
|
|
92
86
|
body: OAuthCallbackRequest,
|
|
93
87
|
authorization: Union[None, Unset, str] = UNSET,
|
|
94
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
95
88
|
) -> Response[Union[Any, ErrorResponse, HTTPValidationError]]:
|
|
96
89
|
"""OAuth Callback
|
|
97
90
|
|
|
@@ -108,7 +101,7 @@ def sync_detailed(
|
|
|
108
101
|
- **QuickBooks**: Accounting data integration
|
|
109
102
|
|
|
110
103
|
Security measures:
|
|
111
|
-
- State validation prevents
|
|
104
|
+
- State validation prevents session hijacking
|
|
112
105
|
- User context is verified
|
|
113
106
|
- Tokens are encrypted before storage
|
|
114
107
|
- Full audit trail is maintained
|
|
@@ -119,7 +112,6 @@ def sync_detailed(
|
|
|
119
112
|
graph_id (str): Graph database identifier
|
|
120
113
|
provider (str): OAuth provider name
|
|
121
114
|
authorization (Union[None, Unset, str]):
|
|
122
|
-
auth_token (Union[None, Unset, str]):
|
|
123
115
|
body (OAuthCallbackRequest): OAuth callback parameters.
|
|
124
116
|
|
|
125
117
|
Raises:
|
|
@@ -135,7 +127,6 @@ def sync_detailed(
|
|
|
135
127
|
provider=provider,
|
|
136
128
|
body=body,
|
|
137
129
|
authorization=authorization,
|
|
138
|
-
auth_token=auth_token,
|
|
139
130
|
)
|
|
140
131
|
|
|
141
132
|
response = client.get_httpx_client().request(
|
|
@@ -152,7 +143,6 @@ def sync(
|
|
|
152
143
|
client: AuthenticatedClient,
|
|
153
144
|
body: OAuthCallbackRequest,
|
|
154
145
|
authorization: Union[None, Unset, str] = UNSET,
|
|
155
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
156
146
|
) -> Optional[Union[Any, ErrorResponse, HTTPValidationError]]:
|
|
157
147
|
"""OAuth Callback
|
|
158
148
|
|
|
@@ -169,7 +159,7 @@ def sync(
|
|
|
169
159
|
- **QuickBooks**: Accounting data integration
|
|
170
160
|
|
|
171
161
|
Security measures:
|
|
172
|
-
- State validation prevents
|
|
162
|
+
- State validation prevents session hijacking
|
|
173
163
|
- User context is verified
|
|
174
164
|
- Tokens are encrypted before storage
|
|
175
165
|
- Full audit trail is maintained
|
|
@@ -180,7 +170,6 @@ def sync(
|
|
|
180
170
|
graph_id (str): Graph database identifier
|
|
181
171
|
provider (str): OAuth provider name
|
|
182
172
|
authorization (Union[None, Unset, str]):
|
|
183
|
-
auth_token (Union[None, Unset, str]):
|
|
184
173
|
body (OAuthCallbackRequest): OAuth callback parameters.
|
|
185
174
|
|
|
186
175
|
Raises:
|
|
@@ -197,7 +186,6 @@ def sync(
|
|
|
197
186
|
client=client,
|
|
198
187
|
body=body,
|
|
199
188
|
authorization=authorization,
|
|
200
|
-
auth_token=auth_token,
|
|
201
189
|
).parsed
|
|
202
190
|
|
|
203
191
|
|
|
@@ -208,7 +196,6 @@ async def asyncio_detailed(
|
|
|
208
196
|
client: AuthenticatedClient,
|
|
209
197
|
body: OAuthCallbackRequest,
|
|
210
198
|
authorization: Union[None, Unset, str] = UNSET,
|
|
211
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
212
199
|
) -> Response[Union[Any, ErrorResponse, HTTPValidationError]]:
|
|
213
200
|
"""OAuth Callback
|
|
214
201
|
|
|
@@ -225,7 +212,7 @@ async def asyncio_detailed(
|
|
|
225
212
|
- **QuickBooks**: Accounting data integration
|
|
226
213
|
|
|
227
214
|
Security measures:
|
|
228
|
-
- State validation prevents
|
|
215
|
+
- State validation prevents session hijacking
|
|
229
216
|
- User context is verified
|
|
230
217
|
- Tokens are encrypted before storage
|
|
231
218
|
- Full audit trail is maintained
|
|
@@ -236,7 +223,6 @@ async def asyncio_detailed(
|
|
|
236
223
|
graph_id (str): Graph database identifier
|
|
237
224
|
provider (str): OAuth provider name
|
|
238
225
|
authorization (Union[None, Unset, str]):
|
|
239
|
-
auth_token (Union[None, Unset, str]):
|
|
240
226
|
body (OAuthCallbackRequest): OAuth callback parameters.
|
|
241
227
|
|
|
242
228
|
Raises:
|
|
@@ -252,7 +238,6 @@ async def asyncio_detailed(
|
|
|
252
238
|
provider=provider,
|
|
253
239
|
body=body,
|
|
254
240
|
authorization=authorization,
|
|
255
|
-
auth_token=auth_token,
|
|
256
241
|
)
|
|
257
242
|
|
|
258
243
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -267,7 +252,6 @@ async def asyncio(
|
|
|
267
252
|
client: AuthenticatedClient,
|
|
268
253
|
body: OAuthCallbackRequest,
|
|
269
254
|
authorization: Union[None, Unset, str] = UNSET,
|
|
270
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
271
255
|
) -> Optional[Union[Any, ErrorResponse, HTTPValidationError]]:
|
|
272
256
|
"""OAuth Callback
|
|
273
257
|
|
|
@@ -284,7 +268,7 @@ async def asyncio(
|
|
|
284
268
|
- **QuickBooks**: Accounting data integration
|
|
285
269
|
|
|
286
270
|
Security measures:
|
|
287
|
-
- State validation prevents
|
|
271
|
+
- State validation prevents session hijacking
|
|
288
272
|
- User context is verified
|
|
289
273
|
- Tokens are encrypted before storage
|
|
290
274
|
- Full audit trail is maintained
|
|
@@ -295,7 +279,6 @@ async def asyncio(
|
|
|
295
279
|
graph_id (str): Graph database identifier
|
|
296
280
|
provider (str): OAuth provider name
|
|
297
281
|
authorization (Union[None, Unset, str]):
|
|
298
|
-
auth_token (Union[None, Unset, str]):
|
|
299
282
|
body (OAuthCallbackRequest): OAuth callback parameters.
|
|
300
283
|
|
|
301
284
|
Raises:
|
|
@@ -313,6 +296,5 @@ async def asyncio(
|
|
|
313
296
|
client=client,
|
|
314
297
|
body=body,
|
|
315
298
|
authorization=authorization,
|
|
316
|
-
auth_token=auth_token,
|
|
317
299
|
)
|
|
318
300
|
).parsed
|