robosystems-client 0.2.2__py3-none-any.whl → 0.2.4__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.

Files changed (121) hide show
  1. robosystems_client/api/agent/auto_select_agent.py +1 -41
  2. robosystems_client/api/agent/batch_process_queries.py +1 -41
  3. robosystems_client/api/agent/execute_specific_agent.py +1 -41
  4. robosystems_client/api/agent/get_agent_metadata.py +5 -49
  5. robosystems_client/api/agent/list_agents.py +4 -42
  6. robosystems_client/api/agent/recommend_agent.py +5 -45
  7. robosystems_client/api/auth/generate_sso_token.py +0 -18
  8. robosystems_client/api/auth/get_current_auth_user.py +14 -74
  9. robosystems_client/api/auth/logout_user.py +14 -50
  10. robosystems_client/api/auth/refresh_auth_session.py +14 -50
  11. robosystems_client/api/auth/resend_verification_email.py +14 -74
  12. robosystems_client/api/backup/create_backup.py +5 -45
  13. robosystems_client/api/backup/get_backup_download_url.py +4 -42
  14. robosystems_client/api/backup/get_backup_stats.py +5 -49
  15. robosystems_client/api/backup/list_backups.py +4 -42
  16. robosystems_client/api/backup/restore_backup.py +5 -45
  17. robosystems_client/api/connections/create_connection.py +5 -45
  18. robosystems_client/api/connections/create_link_token.py +5 -45
  19. robosystems_client/api/connections/delete_connection.py +5 -49
  20. robosystems_client/api/connections/exchange_link_token.py +5 -45
  21. robosystems_client/api/connections/get_connection.py +5 -49
  22. robosystems_client/api/connections/get_connection_options.py +5 -49
  23. robosystems_client/api/connections/init_o_auth.py +5 -45
  24. robosystems_client/api/connections/list_connections.py +4 -42
  25. robosystems_client/api/connections/oauth_callback.py +5 -45
  26. robosystems_client/api/connections/sync_connection.py +5 -45
  27. robosystems_client/api/graph_analytics/get_graph_metrics.py +5 -49
  28. robosystems_client/api/graph_analytics/get_graph_usage_stats.py +4 -42
  29. robosystems_client/api/graph_billing/get_current_graph_bill.py +5 -49
  30. robosystems_client/api/graph_billing/get_graph_billing_history.py +4 -42
  31. robosystems_client/api/graph_billing/get_graph_monthly_bill.py +5 -49
  32. robosystems_client/api/graph_billing/get_graph_usage_details.py +4 -42
  33. robosystems_client/api/graph_credits/check_credit_balance.py +0 -38
  34. robosystems_client/api/graph_credits/check_storage_limits.py +1 -45
  35. robosystems_client/api/graph_credits/get_credit_summary.py +1 -45
  36. robosystems_client/api/graph_credits/get_storage_usage.py +0 -38
  37. robosystems_client/api/graph_credits/list_credit_transactions.py +4 -42
  38. robosystems_client/api/graph_health/get_database_health.py +5 -49
  39. robosystems_client/api/graph_info/get_database_info.py +5 -49
  40. robosystems_client/api/graph_limits/get_graph_limits.py +5 -49
  41. robosystems_client/api/graphs/create_graph.py +21 -57
  42. robosystems_client/api/graphs/get_available_extensions.py +131 -15
  43. robosystems_client/api/graphs/get_graphs.py +154 -79
  44. robosystems_client/api/graphs/select_graph.py +117 -49
  45. robosystems_client/api/mcp/call_mcp_tool.py +24 -47
  46. robosystems_client/api/mcp/list_mcp_tools.py +13 -61
  47. robosystems_client/api/operations/cancel_operation.py +1 -45
  48. robosystems_client/api/operations/get_operation_status.py +1 -45
  49. robosystems_client/api/query/execute_cypher_query.py +68 -57
  50. robosystems_client/api/schema/export_graph_schema.py +223 -65
  51. robosystems_client/api/schema/get_graph_schema.py +137 -79
  52. robosystems_client/api/schema/validate_schema.py +5 -45
  53. robosystems_client/api/subgraphs/create_subgraph.py +5 -45
  54. robosystems_client/api/subgraphs/delete_subgraph.py +5 -45
  55. robosystems_client/api/subgraphs/get_subgraph_info.py +5 -49
  56. robosystems_client/api/subgraphs/get_subgraph_quota.py +5 -49
  57. robosystems_client/api/subgraphs/list_subgraphs.py +5 -49
  58. robosystems_client/api/tables/delete_file.py +317 -0
  59. robosystems_client/api/tables/get_file_info.py +249 -0
  60. robosystems_client/api/tables/get_upload_url.py +352 -0
  61. robosystems_client/api/tables/ingest_tables.py +428 -0
  62. robosystems_client/api/tables/list_table_files.py +329 -0
  63. robosystems_client/api/tables/list_tables.py +316 -0
  64. robosystems_client/api/tables/query_tables.py +431 -0
  65. robosystems_client/api/tables/update_file_status.py +395 -0
  66. robosystems_client/api/user/create_user_api_key.py +1 -41
  67. robosystems_client/api/user/get_all_credit_summaries.py +14 -111
  68. robosystems_client/api/user/get_current_user.py +14 -75
  69. robosystems_client/api/user/list_user_api_keys.py +14 -75
  70. robosystems_client/api/user/revoke_user_api_key.py +1 -45
  71. robosystems_client/api/user/update_user.py +1 -41
  72. robosystems_client/api/user/update_user_api_key.py +1 -41
  73. robosystems_client/api/user/update_user_password.py +1 -41
  74. robosystems_client/api/user_analytics/get_detailed_user_analytics.py +0 -38
  75. robosystems_client/api/user_analytics/get_user_usage_overview.py +14 -75
  76. robosystems_client/api/user_limits/get_all_shared_repository_limits.py +14 -105
  77. robosystems_client/api/user_limits/get_shared_repository_limits.py +1 -45
  78. robosystems_client/api/user_limits/get_user_limits.py +14 -75
  79. robosystems_client/api/user_limits/get_user_usage.py +14 -75
  80. robosystems_client/api/user_subscriptions/cancel_shared_repository_subscription.py +1 -45
  81. robosystems_client/api/user_subscriptions/get_repository_credits.py +1 -45
  82. robosystems_client/api/user_subscriptions/get_shared_repository_credits.py +14 -75
  83. robosystems_client/api/user_subscriptions/get_user_shared_subscriptions.py +0 -38
  84. robosystems_client/api/user_subscriptions/subscribe_to_shared_repository.py +1 -41
  85. robosystems_client/api/user_subscriptions/upgrade_shared_repository_subscription.py +1 -41
  86. robosystems_client/extensions/__init__.py +8 -1
  87. robosystems_client/extensions/auth_integration.py +1 -2
  88. robosystems_client/extensions/graph_client.py +5 -0
  89. robosystems_client/extensions/query_client.py +3 -2
  90. robosystems_client/extensions/sse_client.py +1 -1
  91. robosystems_client/extensions/table_ingest_client.py +36 -40
  92. robosystems_client/extensions/utils.py +2 -2
  93. robosystems_client/models/__init__.py +17 -21
  94. robosystems_client/models/create_graph_request.py +15 -3
  95. robosystems_client/models/cypher_query_request.py +5 -22
  96. robosystems_client/models/{delete_file_v1_graphs_graph_id_tables_files_file_id_delete_response_delete_file_v1_graphs_graph_id_tables_files_file_id_delete.py → delete_file_response.py} +45 -9
  97. robosystems_client/models/file_info.py +169 -0
  98. robosystems_client/models/file_status_update.py +41 -0
  99. robosystems_client/models/get_file_info_response.py +205 -0
  100. robosystems_client/models/list_table_files_response.py +105 -0
  101. robosystems_client/models/schema_export_response.py +4 -2
  102. robosystems_client/models/schema_info_response.py +77 -0
  103. robosystems_client/models/{get_graph_schema_response_getgraphschema.py → schema_info_response_schema.py} +6 -6
  104. robosystems_client/models/schema_validation_response.py +7 -6
  105. robosystems_client/models/table_query_request.py +37 -2
  106. robosystems_client/models/{get_file_info_v1_graphs_graph_id_tables_files_file_id_get_response_get_file_info_v1_graphs_graph_id_tables_files_file_id_get.py → update_file_status_response_updatefilestatus.py} +5 -8
  107. {robosystems_client-0.2.2.dist-info → robosystems_client-0.2.4.dist-info}/METADATA +2 -4
  108. {robosystems_client-0.2.2.dist-info → robosystems_client-0.2.4.dist-info}/RECORD +110 -108
  109. robosystems_client/api/tables/delete_file_v1_graphs_graph_id_tables_files_file_id_delete.py +0 -287
  110. robosystems_client/api/tables/get_file_info_v1_graphs_graph_id_tables_files_file_id_get.py +0 -283
  111. robosystems_client/api/tables/get_upload_url_v1_graphs_graph_id_tables_table_name_files_post.py +0 -260
  112. robosystems_client/api/tables/ingest_tables_v1_graphs_graph_id_tables_ingest_post.py +0 -251
  113. robosystems_client/api/tables/list_table_files_v1_graphs_graph_id_tables_table_name_files_get.py +0 -283
  114. robosystems_client/api/tables/list_tables_v1_graphs_graph_id_tables_get.py +0 -224
  115. robosystems_client/api/tables/query_tables_v1_graphs_graph_id_tables_query_post.py +0 -247
  116. robosystems_client/api/tables/update_file_v1_graphs_graph_id_tables_files_file_id_patch.py +0 -306
  117. robosystems_client/models/file_update_request.py +0 -62
  118. robosystems_client/models/list_table_files_v1_graphs_graph_id_tables_table_name_files_get_response_list_table_files_v1_graphs_graph_id_tables_table_name_files_get.py +0 -47
  119. robosystems_client/models/update_file_v1_graphs_graph_id_tables_files_file_id_patch_response_update_file_v1_graphs_graph_id_tables_files_file_id_patch.py +0 -47
  120. {robosystems_client-0.2.2.dist-info → robosystems_client-0.2.4.dist-info}/WHEEL +0 -0
  121. {robosystems_client-0.2.2.dist-info → robosystems_client-0.2.4.dist-info}/licenses/LICENSE +0 -0
@@ -10,37 +10,17 @@ from ...models.get_current_graph_bill_response_getcurrentgraphbill import (
10
10
  GetCurrentGraphBillResponseGetcurrentgraphbill,
11
11
  )
12
12
  from ...models.http_validation_error import HTTPValidationError
13
- from ...types import UNSET, Response, Unset
13
+ from ...types import Response
14
14
 
15
15
 
16
16
  def _get_kwargs(
17
17
  graph_id: str,
18
- *,
19
- token: Union[None, Unset, str] = UNSET,
20
- authorization: Union[None, Unset, str] = UNSET,
21
18
  ) -> dict[str, Any]:
22
- headers: dict[str, Any] = {}
23
- if not isinstance(authorization, Unset):
24
- headers["authorization"] = authorization
25
-
26
- params: dict[str, Any] = {}
27
-
28
- json_token: Union[None, Unset, str]
29
- if isinstance(token, Unset):
30
- json_token = UNSET
31
- else:
32
- json_token = token
33
- params["token"] = json_token
34
-
35
- params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
36
-
37
19
  _kwargs: dict[str, Any] = {
38
20
  "method": "get",
39
21
  "url": f"/v1/graphs/{graph_id}/billing/current",
40
- "params": params,
41
22
  }
42
23
 
43
- _kwargs["headers"] = headers
44
24
  return _kwargs
45
25
 
46
26
 
@@ -103,8 +83,6 @@ def sync_detailed(
103
83
  graph_id: str,
104
84
  *,
105
85
  client: AuthenticatedClient,
106
- token: Union[None, Unset, str] = UNSET,
107
- authorization: Union[None, Unset, str] = UNSET,
108
86
  ) -> Response[
109
87
  Union[
110
88
  ErrorResponse, GetCurrentGraphBillResponseGetcurrentgraphbill, HTTPValidationError
@@ -126,9 +104,7 @@ def sync_detailed(
126
104
  ℹ️ No credits are consumed for viewing billing information.
127
105
 
128
106
  Args:
129
- graph_id (str): Graph database identifier
130
- token (Union[None, Unset, str]): JWT token for SSE authentication
131
- authorization (Union[None, Unset, str]):
107
+ graph_id (str):
132
108
 
133
109
  Raises:
134
110
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -140,8 +116,6 @@ def sync_detailed(
140
116
 
141
117
  kwargs = _get_kwargs(
142
118
  graph_id=graph_id,
143
- token=token,
144
- authorization=authorization,
145
119
  )
146
120
 
147
121
  response = client.get_httpx_client().request(
@@ -155,8 +129,6 @@ def sync(
155
129
  graph_id: str,
156
130
  *,
157
131
  client: AuthenticatedClient,
158
- token: Union[None, Unset, str] = UNSET,
159
- authorization: Union[None, Unset, str] = UNSET,
160
132
  ) -> Optional[
161
133
  Union[
162
134
  ErrorResponse, GetCurrentGraphBillResponseGetcurrentgraphbill, HTTPValidationError
@@ -178,9 +150,7 @@ def sync(
178
150
  ℹ️ No credits are consumed for viewing billing information.
179
151
 
180
152
  Args:
181
- graph_id (str): Graph database identifier
182
- token (Union[None, Unset, str]): JWT token for SSE authentication
183
- authorization (Union[None, Unset, str]):
153
+ graph_id (str):
184
154
 
185
155
  Raises:
186
156
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -193,8 +163,6 @@ def sync(
193
163
  return sync_detailed(
194
164
  graph_id=graph_id,
195
165
  client=client,
196
- token=token,
197
- authorization=authorization,
198
166
  ).parsed
199
167
 
200
168
 
@@ -202,8 +170,6 @@ async def asyncio_detailed(
202
170
  graph_id: str,
203
171
  *,
204
172
  client: AuthenticatedClient,
205
- token: Union[None, Unset, str] = UNSET,
206
- authorization: Union[None, Unset, str] = UNSET,
207
173
  ) -> Response[
208
174
  Union[
209
175
  ErrorResponse, GetCurrentGraphBillResponseGetcurrentgraphbill, HTTPValidationError
@@ -225,9 +191,7 @@ async def asyncio_detailed(
225
191
  ℹ️ No credits are consumed for viewing billing information.
226
192
 
227
193
  Args:
228
- graph_id (str): Graph database identifier
229
- token (Union[None, Unset, str]): JWT token for SSE authentication
230
- authorization (Union[None, Unset, str]):
194
+ graph_id (str):
231
195
 
232
196
  Raises:
233
197
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -239,8 +203,6 @@ async def asyncio_detailed(
239
203
 
240
204
  kwargs = _get_kwargs(
241
205
  graph_id=graph_id,
242
- token=token,
243
- authorization=authorization,
244
206
  )
245
207
 
246
208
  response = await client.get_async_httpx_client().request(**kwargs)
@@ -252,8 +214,6 @@ async def asyncio(
252
214
  graph_id: str,
253
215
  *,
254
216
  client: AuthenticatedClient,
255
- token: Union[None, Unset, str] = UNSET,
256
- authorization: Union[None, Unset, str] = UNSET,
257
217
  ) -> Optional[
258
218
  Union[
259
219
  ErrorResponse, GetCurrentGraphBillResponseGetcurrentgraphbill, HTTPValidationError
@@ -275,9 +235,7 @@ async def asyncio(
275
235
  ℹ️ No credits are consumed for viewing billing information.
276
236
 
277
237
  Args:
278
- graph_id (str): Graph database identifier
279
- token (Union[None, Unset, str]): JWT token for SSE authentication
280
- authorization (Union[None, Unset, str]):
238
+ graph_id (str):
281
239
 
282
240
  Raises:
283
241
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -291,7 +249,5 @@ async def asyncio(
291
249
  await asyncio_detailed(
292
250
  graph_id=graph_id,
293
251
  client=client,
294
- token=token,
295
- authorization=authorization,
296
252
  )
297
253
  ).parsed
@@ -17,24 +17,11 @@ def _get_kwargs(
17
17
  graph_id: str,
18
18
  *,
19
19
  months: Union[Unset, int] = 6,
20
- token: Union[None, Unset, str] = UNSET,
21
- authorization: Union[None, Unset, str] = UNSET,
22
20
  ) -> dict[str, Any]:
23
- headers: dict[str, Any] = {}
24
- if not isinstance(authorization, Unset):
25
- headers["authorization"] = authorization
26
-
27
21
  params: dict[str, Any] = {}
28
22
 
29
23
  params["months"] = months
30
24
 
31
- json_token: Union[None, Unset, str]
32
- if isinstance(token, Unset):
33
- json_token = UNSET
34
- else:
35
- json_token = token
36
- params["token"] = json_token
37
-
38
25
  params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
39
26
 
40
27
  _kwargs: dict[str, Any] = {
@@ -43,7 +30,6 @@ def _get_kwargs(
43
30
  "params": params,
44
31
  }
45
32
 
46
- _kwargs["headers"] = headers
47
33
  return _kwargs
48
34
 
49
35
 
@@ -111,8 +97,6 @@ def sync_detailed(
111
97
  *,
112
98
  client: AuthenticatedClient,
113
99
  months: Union[Unset, int] = 6,
114
- token: Union[None, Unset, str] = UNSET,
115
- authorization: Union[None, Unset, str] = UNSET,
116
100
  ) -> Response[
117
101
  Union[
118
102
  ErrorResponse,
@@ -139,10 +123,8 @@ def sync_detailed(
139
123
  ℹ️ No credits are consumed for viewing billing history.
140
124
 
141
125
  Args:
142
- graph_id (str): Graph database identifier
126
+ graph_id (str):
143
127
  months (Union[Unset, int]): Number of months to retrieve (1-24) Default: 6.
144
- token (Union[None, Unset, str]): JWT token for SSE authentication
145
- authorization (Union[None, Unset, str]):
146
128
 
147
129
  Raises:
148
130
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -155,8 +137,6 @@ def sync_detailed(
155
137
  kwargs = _get_kwargs(
156
138
  graph_id=graph_id,
157
139
  months=months,
158
- token=token,
159
- authorization=authorization,
160
140
  )
161
141
 
162
142
  response = client.get_httpx_client().request(
@@ -171,8 +151,6 @@ def sync(
171
151
  *,
172
152
  client: AuthenticatedClient,
173
153
  months: Union[Unset, int] = 6,
174
- token: Union[None, Unset, str] = UNSET,
175
- authorization: Union[None, Unset, str] = UNSET,
176
154
  ) -> Optional[
177
155
  Union[
178
156
  ErrorResponse,
@@ -199,10 +177,8 @@ def sync(
199
177
  ℹ️ No credits are consumed for viewing billing history.
200
178
 
201
179
  Args:
202
- graph_id (str): Graph database identifier
180
+ graph_id (str):
203
181
  months (Union[Unset, int]): Number of months to retrieve (1-24) Default: 6.
204
- token (Union[None, Unset, str]): JWT token for SSE authentication
205
- authorization (Union[None, Unset, str]):
206
182
 
207
183
  Raises:
208
184
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -216,8 +192,6 @@ def sync(
216
192
  graph_id=graph_id,
217
193
  client=client,
218
194
  months=months,
219
- token=token,
220
- authorization=authorization,
221
195
  ).parsed
222
196
 
223
197
 
@@ -226,8 +200,6 @@ async def asyncio_detailed(
226
200
  *,
227
201
  client: AuthenticatedClient,
228
202
  months: Union[Unset, int] = 6,
229
- token: Union[None, Unset, str] = UNSET,
230
- authorization: Union[None, Unset, str] = UNSET,
231
203
  ) -> Response[
232
204
  Union[
233
205
  ErrorResponse,
@@ -254,10 +226,8 @@ async def asyncio_detailed(
254
226
  ℹ️ No credits are consumed for viewing billing history.
255
227
 
256
228
  Args:
257
- graph_id (str): Graph database identifier
229
+ graph_id (str):
258
230
  months (Union[Unset, int]): Number of months to retrieve (1-24) Default: 6.
259
- token (Union[None, Unset, str]): JWT token for SSE authentication
260
- authorization (Union[None, Unset, str]):
261
231
 
262
232
  Raises:
263
233
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -270,8 +240,6 @@ async def asyncio_detailed(
270
240
  kwargs = _get_kwargs(
271
241
  graph_id=graph_id,
272
242
  months=months,
273
- token=token,
274
- authorization=authorization,
275
243
  )
276
244
 
277
245
  response = await client.get_async_httpx_client().request(**kwargs)
@@ -284,8 +252,6 @@ async def asyncio(
284
252
  *,
285
253
  client: AuthenticatedClient,
286
254
  months: Union[Unset, int] = 6,
287
- token: Union[None, Unset, str] = UNSET,
288
- authorization: Union[None, Unset, str] = UNSET,
289
255
  ) -> Optional[
290
256
  Union[
291
257
  ErrorResponse,
@@ -312,10 +278,8 @@ async def asyncio(
312
278
  ℹ️ No credits are consumed for viewing billing history.
313
279
 
314
280
  Args:
315
- graph_id (str): Graph database identifier
281
+ graph_id (str):
316
282
  months (Union[Unset, int]): Number of months to retrieve (1-24) Default: 6.
317
- token (Union[None, Unset, str]): JWT token for SSE authentication
318
- authorization (Union[None, Unset, str]):
319
283
 
320
284
  Raises:
321
285
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -330,7 +294,5 @@ async def asyncio(
330
294
  graph_id=graph_id,
331
295
  client=client,
332
296
  months=months,
333
- token=token,
334
- authorization=authorization,
335
297
  )
336
298
  ).parsed
@@ -10,39 +10,19 @@ from ...models.get_graph_monthly_bill_response_getgraphmonthlybill import (
10
10
  GetGraphMonthlyBillResponseGetgraphmonthlybill,
11
11
  )
12
12
  from ...models.http_validation_error import HTTPValidationError
13
- from ...types import UNSET, Response, Unset
13
+ from ...types import Response
14
14
 
15
15
 
16
16
  def _get_kwargs(
17
17
  graph_id: str,
18
18
  year: int,
19
19
  month: int,
20
- *,
21
- token: Union[None, Unset, str] = UNSET,
22
- authorization: Union[None, Unset, str] = UNSET,
23
20
  ) -> dict[str, Any]:
24
- headers: dict[str, Any] = {}
25
- if not isinstance(authorization, Unset):
26
- headers["authorization"] = authorization
27
-
28
- params: dict[str, Any] = {}
29
-
30
- json_token: Union[None, Unset, str]
31
- if isinstance(token, Unset):
32
- json_token = UNSET
33
- else:
34
- json_token = token
35
- params["token"] = json_token
36
-
37
- params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
38
-
39
21
  _kwargs: dict[str, Any] = {
40
22
  "method": "get",
41
23
  "url": f"/v1/graphs/{graph_id}/billing/history/{year}/{month}",
42
- "params": params,
43
24
  }
44
25
 
45
- _kwargs["headers"] = headers
46
26
  return _kwargs
47
27
 
48
28
 
@@ -112,8 +92,6 @@ def sync_detailed(
112
92
  month: int,
113
93
  *,
114
94
  client: AuthenticatedClient,
115
- token: Union[None, Unset, str] = UNSET,
116
- authorization: Union[None, Unset, str] = UNSET,
117
95
  ) -> Response[
118
96
  Union[
119
97
  ErrorResponse, GetGraphMonthlyBillResponseGetgraphmonthlybill, HTTPValidationError
@@ -135,11 +113,9 @@ def sync_detailed(
135
113
  ℹ️ No credits are consumed for viewing billing history.
136
114
 
137
115
  Args:
138
- graph_id (str): Graph database identifier
116
+ graph_id (str):
139
117
  year (int): Year (2024-2030)
140
118
  month (int): Month (1-12)
141
- token (Union[None, Unset, str]): JWT token for SSE authentication
142
- authorization (Union[None, Unset, str]):
143
119
 
144
120
  Raises:
145
121
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -153,8 +129,6 @@ def sync_detailed(
153
129
  graph_id=graph_id,
154
130
  year=year,
155
131
  month=month,
156
- token=token,
157
- authorization=authorization,
158
132
  )
159
133
 
160
134
  response = client.get_httpx_client().request(
@@ -170,8 +144,6 @@ def sync(
170
144
  month: int,
171
145
  *,
172
146
  client: AuthenticatedClient,
173
- token: Union[None, Unset, str] = UNSET,
174
- authorization: Union[None, Unset, str] = UNSET,
175
147
  ) -> Optional[
176
148
  Union[
177
149
  ErrorResponse, GetGraphMonthlyBillResponseGetgraphmonthlybill, HTTPValidationError
@@ -193,11 +165,9 @@ def sync(
193
165
  ℹ️ No credits are consumed for viewing billing history.
194
166
 
195
167
  Args:
196
- graph_id (str): Graph database identifier
168
+ graph_id (str):
197
169
  year (int): Year (2024-2030)
198
170
  month (int): Month (1-12)
199
- token (Union[None, Unset, str]): JWT token for SSE authentication
200
- authorization (Union[None, Unset, str]):
201
171
 
202
172
  Raises:
203
173
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -212,8 +182,6 @@ def sync(
212
182
  year=year,
213
183
  month=month,
214
184
  client=client,
215
- token=token,
216
- authorization=authorization,
217
185
  ).parsed
218
186
 
219
187
 
@@ -223,8 +191,6 @@ async def asyncio_detailed(
223
191
  month: int,
224
192
  *,
225
193
  client: AuthenticatedClient,
226
- token: Union[None, Unset, str] = UNSET,
227
- authorization: Union[None, Unset, str] = UNSET,
228
194
  ) -> Response[
229
195
  Union[
230
196
  ErrorResponse, GetGraphMonthlyBillResponseGetgraphmonthlybill, HTTPValidationError
@@ -246,11 +212,9 @@ async def asyncio_detailed(
246
212
  ℹ️ No credits are consumed for viewing billing history.
247
213
 
248
214
  Args:
249
- graph_id (str): Graph database identifier
215
+ graph_id (str):
250
216
  year (int): Year (2024-2030)
251
217
  month (int): Month (1-12)
252
- token (Union[None, Unset, str]): JWT token for SSE authentication
253
- authorization (Union[None, Unset, str]):
254
218
 
255
219
  Raises:
256
220
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -264,8 +228,6 @@ async def asyncio_detailed(
264
228
  graph_id=graph_id,
265
229
  year=year,
266
230
  month=month,
267
- token=token,
268
- authorization=authorization,
269
231
  )
270
232
 
271
233
  response = await client.get_async_httpx_client().request(**kwargs)
@@ -279,8 +241,6 @@ async def asyncio(
279
241
  month: int,
280
242
  *,
281
243
  client: AuthenticatedClient,
282
- token: Union[None, Unset, str] = UNSET,
283
- authorization: Union[None, Unset, str] = UNSET,
284
244
  ) -> Optional[
285
245
  Union[
286
246
  ErrorResponse, GetGraphMonthlyBillResponseGetgraphmonthlybill, HTTPValidationError
@@ -302,11 +262,9 @@ async def asyncio(
302
262
  ℹ️ No credits are consumed for viewing billing history.
303
263
 
304
264
  Args:
305
- graph_id (str): Graph database identifier
265
+ graph_id (str):
306
266
  year (int): Year (2024-2030)
307
267
  month (int): Month (1-12)
308
- token (Union[None, Unset, str]): JWT token for SSE authentication
309
- authorization (Union[None, Unset, str]):
310
268
 
311
269
  Raises:
312
270
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -322,7 +280,5 @@ async def asyncio(
322
280
  year=year,
323
281
  month=month,
324
282
  client=client,
325
- token=token,
326
- authorization=authorization,
327
283
  )
328
284
  ).parsed
@@ -18,13 +18,7 @@ def _get_kwargs(
18
18
  *,
19
19
  year: Union[None, Unset, int] = UNSET,
20
20
  month: Union[None, Unset, int] = UNSET,
21
- token: Union[None, Unset, str] = UNSET,
22
- authorization: Union[None, Unset, str] = UNSET,
23
21
  ) -> dict[str, Any]:
24
- headers: dict[str, Any] = {}
25
- if not isinstance(authorization, Unset):
26
- headers["authorization"] = authorization
27
-
28
22
  params: dict[str, Any] = {}
29
23
 
30
24
  json_year: Union[None, Unset, int]
@@ -41,13 +35,6 @@ def _get_kwargs(
41
35
  json_month = month
42
36
  params["month"] = json_month
43
37
 
44
- json_token: Union[None, Unset, str]
45
- if isinstance(token, Unset):
46
- json_token = UNSET
47
- else:
48
- json_token = token
49
- params["token"] = json_token
50
-
51
38
  params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
52
39
 
53
40
  _kwargs: dict[str, Any] = {
@@ -56,7 +43,6 @@ def _get_kwargs(
56
43
  "params": params,
57
44
  }
58
45
 
59
- _kwargs["headers"] = headers
60
46
  return _kwargs
61
47
 
62
48
 
@@ -126,8 +112,6 @@ def sync_detailed(
126
112
  client: AuthenticatedClient,
127
113
  year: Union[None, Unset, int] = UNSET,
128
114
  month: Union[None, Unset, int] = UNSET,
129
- token: Union[None, Unset, str] = UNSET,
130
- authorization: Union[None, Unset, str] = UNSET,
131
115
  ) -> Response[
132
116
  Union[
133
117
  ErrorResponse, GetGraphUsageDetailsResponseGetgraphusagedetails, HTTPValidationError
@@ -153,11 +137,9 @@ def sync_detailed(
153
137
  ℹ️ No credits are consumed for viewing usage details.
154
138
 
155
139
  Args:
156
- graph_id (str): Graph database identifier
140
+ graph_id (str):
157
141
  year (Union[None, Unset, int]): Year (defaults to current)
158
142
  month (Union[None, Unset, int]): Month (defaults to current)
159
- token (Union[None, Unset, str]): JWT token for SSE authentication
160
- authorization (Union[None, Unset, str]):
161
143
 
162
144
  Raises:
163
145
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -171,8 +153,6 @@ def sync_detailed(
171
153
  graph_id=graph_id,
172
154
  year=year,
173
155
  month=month,
174
- token=token,
175
- authorization=authorization,
176
156
  )
177
157
 
178
158
  response = client.get_httpx_client().request(
@@ -188,8 +168,6 @@ def sync(
188
168
  client: AuthenticatedClient,
189
169
  year: Union[None, Unset, int] = UNSET,
190
170
  month: Union[None, Unset, int] = UNSET,
191
- token: Union[None, Unset, str] = UNSET,
192
- authorization: Union[None, Unset, str] = UNSET,
193
171
  ) -> Optional[
194
172
  Union[
195
173
  ErrorResponse, GetGraphUsageDetailsResponseGetgraphusagedetails, HTTPValidationError
@@ -215,11 +193,9 @@ def sync(
215
193
  ℹ️ No credits are consumed for viewing usage details.
216
194
 
217
195
  Args:
218
- graph_id (str): Graph database identifier
196
+ graph_id (str):
219
197
  year (Union[None, Unset, int]): Year (defaults to current)
220
198
  month (Union[None, Unset, int]): Month (defaults to current)
221
- token (Union[None, Unset, str]): JWT token for SSE authentication
222
- authorization (Union[None, Unset, str]):
223
199
 
224
200
  Raises:
225
201
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -234,8 +210,6 @@ def sync(
234
210
  client=client,
235
211
  year=year,
236
212
  month=month,
237
- token=token,
238
- authorization=authorization,
239
213
  ).parsed
240
214
 
241
215
 
@@ -245,8 +219,6 @@ async def asyncio_detailed(
245
219
  client: AuthenticatedClient,
246
220
  year: Union[None, Unset, int] = UNSET,
247
221
  month: Union[None, Unset, int] = UNSET,
248
- token: Union[None, Unset, str] = UNSET,
249
- authorization: Union[None, Unset, str] = UNSET,
250
222
  ) -> Response[
251
223
  Union[
252
224
  ErrorResponse, GetGraphUsageDetailsResponseGetgraphusagedetails, HTTPValidationError
@@ -272,11 +244,9 @@ async def asyncio_detailed(
272
244
  ℹ️ No credits are consumed for viewing usage details.
273
245
 
274
246
  Args:
275
- graph_id (str): Graph database identifier
247
+ graph_id (str):
276
248
  year (Union[None, Unset, int]): Year (defaults to current)
277
249
  month (Union[None, Unset, int]): Month (defaults to current)
278
- token (Union[None, Unset, str]): JWT token for SSE authentication
279
- authorization (Union[None, Unset, str]):
280
250
 
281
251
  Raises:
282
252
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -290,8 +260,6 @@ async def asyncio_detailed(
290
260
  graph_id=graph_id,
291
261
  year=year,
292
262
  month=month,
293
- token=token,
294
- authorization=authorization,
295
263
  )
296
264
 
297
265
  response = await client.get_async_httpx_client().request(**kwargs)
@@ -305,8 +273,6 @@ async def asyncio(
305
273
  client: AuthenticatedClient,
306
274
  year: Union[None, Unset, int] = UNSET,
307
275
  month: Union[None, Unset, int] = UNSET,
308
- token: Union[None, Unset, str] = UNSET,
309
- authorization: Union[None, Unset, str] = UNSET,
310
276
  ) -> Optional[
311
277
  Union[
312
278
  ErrorResponse, GetGraphUsageDetailsResponseGetgraphusagedetails, HTTPValidationError
@@ -332,11 +298,9 @@ async def asyncio(
332
298
  ℹ️ No credits are consumed for viewing usage details.
333
299
 
334
300
  Args:
335
- graph_id (str): Graph database identifier
301
+ graph_id (str):
336
302
  year (Union[None, Unset, int]): Year (defaults to current)
337
303
  month (Union[None, Unset, int]): Month (defaults to current)
338
- token (Union[None, Unset, str]): JWT token for SSE authentication
339
- authorization (Union[None, Unset, str]):
340
304
 
341
305
  Raises:
342
306
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -352,7 +316,5 @@ async def asyncio(
352
316
  client=client,
353
317
  year=year,
354
318
  month=month,
355
- token=token,
356
- authorization=authorization,
357
319
  )
358
320
  ).parsed