robosystems-client 0.1.17__py3-none-any.whl → 0.1.18__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 (92) hide show
  1. robosystems_client/__init__.py +15 -4
  2. robosystems_client/api/agent/auto_select_agent.py +25 -0
  3. robosystems_client/api/agent/batch_process_queries.py +25 -0
  4. robosystems_client/api/agent/execute_specific_agent.py +25 -0
  5. robosystems_client/api/agent/get_agent_metadata.py +25 -0
  6. robosystems_client/api/agent/list_agents.py +20 -0
  7. robosystems_client/api/agent/recommend_agent.py +25 -0
  8. robosystems_client/api/backup/create_backup.py +25 -0
  9. robosystems_client/api/backup/export_backup.py +25 -0
  10. robosystems_client/api/backup/get_backup_download_url.py +20 -0
  11. robosystems_client/api/backup/get_backup_stats.py +25 -0
  12. robosystems_client/api/backup/list_backups.py +20 -0
  13. robosystems_client/api/backup/restore_backup.py +25 -0
  14. robosystems_client/api/connections/create_connection.py +25 -0
  15. robosystems_client/api/connections/create_link_token.py +25 -0
  16. robosystems_client/api/connections/delete_connection.py +25 -0
  17. robosystems_client/api/connections/exchange_link_token.py +25 -0
  18. robosystems_client/api/connections/get_connection.py +25 -0
  19. robosystems_client/api/connections/get_connection_options.py +25 -0
  20. robosystems_client/api/connections/init_o_auth.py +25 -0
  21. robosystems_client/api/connections/list_connections.py +20 -0
  22. robosystems_client/api/connections/oauth_callback.py +25 -0
  23. robosystems_client/api/connections/sync_connection.py +25 -0
  24. robosystems_client/api/copy/copy_data_to_graph.py +25 -0
  25. robosystems_client/api/create/create_graph.py +25 -0
  26. robosystems_client/api/graph_analytics/get_graph_metrics.py +25 -0
  27. robosystems_client/api/graph_analytics/get_graph_usage_stats.py +20 -0
  28. robosystems_client/api/graph_billing/get_current_graph_bill.py +25 -0
  29. robosystems_client/api/graph_billing/get_graph_billing_history.py +20 -0
  30. robosystems_client/api/graph_billing/get_graph_monthly_bill.py +25 -0
  31. robosystems_client/api/graph_billing/get_graph_usage_details.py +20 -0
  32. robosystems_client/api/graph_credits/check_credit_balance.py +20 -0
  33. robosystems_client/api/graph_credits/check_storage_limits.py +25 -0
  34. robosystems_client/api/graph_credits/get_credit_summary.py +25 -0
  35. robosystems_client/api/graph_credits/get_storage_usage.py +20 -0
  36. robosystems_client/api/graph_credits/list_credit_transactions.py +20 -0
  37. robosystems_client/api/graph_health/get_database_health.py +25 -0
  38. robosystems_client/api/graph_info/get_database_info.py +25 -0
  39. robosystems_client/api/graph_limits/get_graph_limits.py +25 -0
  40. robosystems_client/api/mcp/call_mcp_tool.py +20 -0
  41. robosystems_client/api/mcp/list_mcp_tools.py +25 -0
  42. robosystems_client/api/operations/cancel_operation.py +25 -0
  43. robosystems_client/api/operations/get_operation_status.py +25 -0
  44. robosystems_client/api/operations/stream_operation_events.py +20 -0
  45. robosystems_client/api/query/execute_cypher_query.py +20 -0
  46. robosystems_client/api/schema/export_graph_schema.py +20 -0
  47. robosystems_client/api/schema/get_graph_schema_info.py +25 -0
  48. robosystems_client/api/schema/list_schema_extensions.py +25 -0
  49. robosystems_client/api/schema/validate_schema.py +25 -0
  50. robosystems_client/api/subgraphs/create_subgraph.py +25 -0
  51. robosystems_client/api/subgraphs/delete_subgraph.py +25 -0
  52. robosystems_client/api/subgraphs/get_subgraph_info.py +25 -0
  53. robosystems_client/api/subgraphs/get_subgraph_quota.py +25 -0
  54. robosystems_client/api/subgraphs/list_subgraphs.py +25 -0
  55. robosystems_client/api/user/create_user_api_key.py +25 -0
  56. robosystems_client/api/user/get_all_credit_summaries.py +25 -0
  57. robosystems_client/api/user/get_current_user.py +25 -0
  58. robosystems_client/api/user/get_user_graphs.py +25 -0
  59. robosystems_client/api/user/list_user_api_keys.py +25 -0
  60. robosystems_client/api/user/revoke_user_api_key.py +25 -0
  61. robosystems_client/api/user/select_user_graph.py +25 -0
  62. robosystems_client/api/user/update_user.py +25 -0
  63. robosystems_client/api/user/update_user_api_key.py +25 -0
  64. robosystems_client/api/user/update_user_password.py +25 -0
  65. robosystems_client/api/user_analytics/get_detailed_user_analytics.py +20 -0
  66. robosystems_client/api/user_analytics/get_user_usage_overview.py +25 -0
  67. robosystems_client/api/user_limits/get_all_shared_repository_limits.py +25 -0
  68. robosystems_client/api/user_limits/get_shared_repository_limits.py +25 -0
  69. robosystems_client/api/user_limits/get_user_limits.py +25 -0
  70. robosystems_client/api/user_limits/get_user_usage.py +25 -0
  71. robosystems_client/api/user_subscriptions/cancel_shared_repository_subscription.py +25 -0
  72. robosystems_client/api/user_subscriptions/get_repository_credits.py +25 -0
  73. robosystems_client/api/user_subscriptions/get_shared_repository_credits.py +25 -0
  74. robosystems_client/api/user_subscriptions/get_user_shared_subscriptions.py +20 -0
  75. robosystems_client/api/user_subscriptions/subscribe_to_shared_repository.py +25 -0
  76. robosystems_client/api/user_subscriptions/upgrade_shared_repository_subscription.py +25 -0
  77. robosystems_client/extensions/__init__.py +70 -0
  78. robosystems_client/extensions/auth_integration.py +14 -1
  79. robosystems_client/extensions/copy_client.py +32 -22
  80. robosystems_client/extensions/dataframe_utils.py +455 -0
  81. robosystems_client/extensions/extensions.py +16 -0
  82. robosystems_client/extensions/operation_client.py +43 -21
  83. robosystems_client/extensions/query_client.py +109 -12
  84. robosystems_client/extensions/tests/test_dataframe_utils.py +334 -0
  85. robosystems_client/extensions/tests/test_integration.py +1 -1
  86. robosystems_client/extensions/tests/test_token_utils.py +274 -0
  87. robosystems_client/extensions/token_utils.py +417 -0
  88. robosystems_client/extensions/utils.py +32 -2
  89. {robosystems_client-0.1.17.dist-info → robosystems_client-0.1.18.dist-info}/METADATA +1 -1
  90. {robosystems_client-0.1.17.dist-info → robosystems_client-0.1.18.dist-info}/RECORD +92 -88
  91. {robosystems_client-0.1.17.dist-info → robosystems_client-0.1.18.dist-info}/WHEEL +0 -0
  92. {robosystems_client-0.1.17.dist-info → robosystems_client-0.1.18.dist-info}/licenses/LICENSE +0 -0
@@ -14,15 +14,28 @@ from ...types import UNSET, Response, Unset
14
14
  def _get_kwargs(
15
15
  graph_id: str,
16
16
  *,
17
+ token: Union[None, Unset, str] = UNSET,
17
18
  authorization: Union[None, Unset, str] = UNSET,
18
19
  ) -> dict[str, Any]:
19
20
  headers: dict[str, Any] = {}
20
21
  if not isinstance(authorization, Unset):
21
22
  headers["authorization"] = authorization
22
23
 
24
+ params: dict[str, Any] = {}
25
+
26
+ json_token: Union[None, Unset, str]
27
+ if isinstance(token, Unset):
28
+ json_token = UNSET
29
+ else:
30
+ json_token = token
31
+ params["token"] = json_token
32
+
33
+ params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
34
+
23
35
  _kwargs: dict[str, Any] = {
24
36
  "method": "post",
25
37
  "url": f"/v1/user/graphs/{graph_id}/select",
38
+ "params": params,
26
39
  }
27
40
 
28
41
  _kwargs["headers"] = headers
@@ -73,6 +86,7 @@ def sync_detailed(
73
86
  graph_id: str,
74
87
  *,
75
88
  client: AuthenticatedClient,
89
+ token: Union[None, Unset, str] = UNSET,
76
90
  authorization: Union[None, Unset, str] = UNSET,
77
91
  ) -> Response[Union[ErrorResponse, HTTPValidationError, SuccessResponse]]:
78
92
  """Select User Graph
@@ -81,6 +95,7 @@ def sync_detailed(
81
95
 
82
96
  Args:
83
97
  graph_id (str):
98
+ token (Union[None, Unset, str]): JWT token for SSE authentication
84
99
  authorization (Union[None, Unset, str]):
85
100
 
86
101
  Raises:
@@ -93,6 +108,7 @@ def sync_detailed(
93
108
 
94
109
  kwargs = _get_kwargs(
95
110
  graph_id=graph_id,
111
+ token=token,
96
112
  authorization=authorization,
97
113
  )
98
114
 
@@ -107,6 +123,7 @@ def sync(
107
123
  graph_id: str,
108
124
  *,
109
125
  client: AuthenticatedClient,
126
+ token: Union[None, Unset, str] = UNSET,
110
127
  authorization: Union[None, Unset, str] = UNSET,
111
128
  ) -> Optional[Union[ErrorResponse, HTTPValidationError, SuccessResponse]]:
112
129
  """Select User Graph
@@ -115,6 +132,7 @@ def sync(
115
132
 
116
133
  Args:
117
134
  graph_id (str):
135
+ token (Union[None, Unset, str]): JWT token for SSE authentication
118
136
  authorization (Union[None, Unset, str]):
119
137
 
120
138
  Raises:
@@ -128,6 +146,7 @@ def sync(
128
146
  return sync_detailed(
129
147
  graph_id=graph_id,
130
148
  client=client,
149
+ token=token,
131
150
  authorization=authorization,
132
151
  ).parsed
133
152
 
@@ -136,6 +155,7 @@ async def asyncio_detailed(
136
155
  graph_id: str,
137
156
  *,
138
157
  client: AuthenticatedClient,
158
+ token: Union[None, Unset, str] = UNSET,
139
159
  authorization: Union[None, Unset, str] = UNSET,
140
160
  ) -> Response[Union[ErrorResponse, HTTPValidationError, SuccessResponse]]:
141
161
  """Select User Graph
@@ -144,6 +164,7 @@ async def asyncio_detailed(
144
164
 
145
165
  Args:
146
166
  graph_id (str):
167
+ token (Union[None, Unset, str]): JWT token for SSE authentication
147
168
  authorization (Union[None, Unset, str]):
148
169
 
149
170
  Raises:
@@ -156,6 +177,7 @@ async def asyncio_detailed(
156
177
 
157
178
  kwargs = _get_kwargs(
158
179
  graph_id=graph_id,
180
+ token=token,
159
181
  authorization=authorization,
160
182
  )
161
183
 
@@ -168,6 +190,7 @@ async def asyncio(
168
190
  graph_id: str,
169
191
  *,
170
192
  client: AuthenticatedClient,
193
+ token: Union[None, Unset, str] = UNSET,
171
194
  authorization: Union[None, Unset, str] = UNSET,
172
195
  ) -> Optional[Union[ErrorResponse, HTTPValidationError, SuccessResponse]]:
173
196
  """Select User Graph
@@ -176,6 +199,7 @@ async def asyncio(
176
199
 
177
200
  Args:
178
201
  graph_id (str):
202
+ token (Union[None, Unset, str]): JWT token for SSE authentication
179
203
  authorization (Union[None, Unset, str]):
180
204
 
181
205
  Raises:
@@ -190,6 +214,7 @@ async def asyncio(
190
214
  await asyncio_detailed(
191
215
  graph_id=graph_id,
192
216
  client=client,
217
+ token=token,
193
218
  authorization=authorization,
194
219
  )
195
220
  ).parsed
@@ -14,15 +14,28 @@ from ...types import UNSET, Response, Unset
14
14
  def _get_kwargs(
15
15
  *,
16
16
  body: UpdateUserRequest,
17
+ token: Union[None, Unset, str] = UNSET,
17
18
  authorization: Union[None, Unset, str] = UNSET,
18
19
  ) -> dict[str, Any]:
19
20
  headers: dict[str, Any] = {}
20
21
  if not isinstance(authorization, Unset):
21
22
  headers["authorization"] = authorization
22
23
 
24
+ params: dict[str, Any] = {}
25
+
26
+ json_token: Union[None, Unset, str]
27
+ if isinstance(token, Unset):
28
+ json_token = UNSET
29
+ else:
30
+ json_token = token
31
+ params["token"] = json_token
32
+
33
+ params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
34
+
23
35
  _kwargs: dict[str, Any] = {
24
36
  "method": "put",
25
37
  "url": "/v1/user",
38
+ "params": params,
26
39
  }
27
40
 
28
41
  _kwargs["json"] = body.to_dict()
@@ -65,6 +78,7 @@ def sync_detailed(
65
78
  *,
66
79
  client: AuthenticatedClient,
67
80
  body: UpdateUserRequest,
81
+ token: Union[None, Unset, str] = UNSET,
68
82
  authorization: Union[None, Unset, str] = UNSET,
69
83
  ) -> Response[Union[HTTPValidationError, UserResponse]]:
70
84
  """Update User Profile
@@ -72,6 +86,7 @@ def sync_detailed(
72
86
  Update the current user's profile information.
73
87
 
74
88
  Args:
89
+ token (Union[None, Unset, str]): JWT token for SSE authentication
75
90
  authorization (Union[None, Unset, str]):
76
91
  body (UpdateUserRequest): Request model for updating user profile.
77
92
 
@@ -85,6 +100,7 @@ def sync_detailed(
85
100
 
86
101
  kwargs = _get_kwargs(
87
102
  body=body,
103
+ token=token,
88
104
  authorization=authorization,
89
105
  )
90
106
 
@@ -99,6 +115,7 @@ def sync(
99
115
  *,
100
116
  client: AuthenticatedClient,
101
117
  body: UpdateUserRequest,
118
+ token: Union[None, Unset, str] = UNSET,
102
119
  authorization: Union[None, Unset, str] = UNSET,
103
120
  ) -> Optional[Union[HTTPValidationError, UserResponse]]:
104
121
  """Update User Profile
@@ -106,6 +123,7 @@ def sync(
106
123
  Update the current user's profile information.
107
124
 
108
125
  Args:
126
+ token (Union[None, Unset, str]): JWT token for SSE authentication
109
127
  authorization (Union[None, Unset, str]):
110
128
  body (UpdateUserRequest): Request model for updating user profile.
111
129
 
@@ -120,6 +138,7 @@ def sync(
120
138
  return sync_detailed(
121
139
  client=client,
122
140
  body=body,
141
+ token=token,
123
142
  authorization=authorization,
124
143
  ).parsed
125
144
 
@@ -128,6 +147,7 @@ async def asyncio_detailed(
128
147
  *,
129
148
  client: AuthenticatedClient,
130
149
  body: UpdateUserRequest,
150
+ token: Union[None, Unset, str] = UNSET,
131
151
  authorization: Union[None, Unset, str] = UNSET,
132
152
  ) -> Response[Union[HTTPValidationError, UserResponse]]:
133
153
  """Update User Profile
@@ -135,6 +155,7 @@ async def asyncio_detailed(
135
155
  Update the current user's profile information.
136
156
 
137
157
  Args:
158
+ token (Union[None, Unset, str]): JWT token for SSE authentication
138
159
  authorization (Union[None, Unset, str]):
139
160
  body (UpdateUserRequest): Request model for updating user profile.
140
161
 
@@ -148,6 +169,7 @@ async def asyncio_detailed(
148
169
 
149
170
  kwargs = _get_kwargs(
150
171
  body=body,
172
+ token=token,
151
173
  authorization=authorization,
152
174
  )
153
175
 
@@ -160,6 +182,7 @@ async def asyncio(
160
182
  *,
161
183
  client: AuthenticatedClient,
162
184
  body: UpdateUserRequest,
185
+ token: Union[None, Unset, str] = UNSET,
163
186
  authorization: Union[None, Unset, str] = UNSET,
164
187
  ) -> Optional[Union[HTTPValidationError, UserResponse]]:
165
188
  """Update User Profile
@@ -167,6 +190,7 @@ async def asyncio(
167
190
  Update the current user's profile information.
168
191
 
169
192
  Args:
193
+ token (Union[None, Unset, str]): JWT token for SSE authentication
170
194
  authorization (Union[None, Unset, str]):
171
195
  body (UpdateUserRequest): Request model for updating user profile.
172
196
 
@@ -182,6 +206,7 @@ async def asyncio(
182
206
  await asyncio_detailed(
183
207
  client=client,
184
208
  body=body,
209
+ token=token,
185
210
  authorization=authorization,
186
211
  )
187
212
  ).parsed
@@ -15,15 +15,28 @@ def _get_kwargs(
15
15
  api_key_id: str,
16
16
  *,
17
17
  body: UpdateAPIKeyRequest,
18
+ token: Union[None, Unset, str] = UNSET,
18
19
  authorization: Union[None, Unset, str] = UNSET,
19
20
  ) -> dict[str, Any]:
20
21
  headers: dict[str, Any] = {}
21
22
  if not isinstance(authorization, Unset):
22
23
  headers["authorization"] = authorization
23
24
 
25
+ params: dict[str, Any] = {}
26
+
27
+ json_token: Union[None, Unset, str]
28
+ if isinstance(token, Unset):
29
+ json_token = UNSET
30
+ else:
31
+ json_token = token
32
+ params["token"] = json_token
33
+
34
+ params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
35
+
24
36
  _kwargs: dict[str, Any] = {
25
37
  "method": "put",
26
38
  "url": f"/v1/user/api-keys/{api_key_id}",
39
+ "params": params,
27
40
  }
28
41
 
29
42
  _kwargs["json"] = body.to_dict()
@@ -67,6 +80,7 @@ def sync_detailed(
67
80
  *,
68
81
  client: AuthenticatedClient,
69
82
  body: UpdateAPIKeyRequest,
83
+ token: Union[None, Unset, str] = UNSET,
70
84
  authorization: Union[None, Unset, str] = UNSET,
71
85
  ) -> Response[Union[APIKeyInfo, HTTPValidationError]]:
72
86
  """Update API Key
@@ -75,6 +89,7 @@ def sync_detailed(
75
89
 
76
90
  Args:
77
91
  api_key_id (str):
92
+ token (Union[None, Unset, str]): JWT token for SSE authentication
78
93
  authorization (Union[None, Unset, str]):
79
94
  body (UpdateAPIKeyRequest): Request model for updating an API key.
80
95
 
@@ -89,6 +104,7 @@ def sync_detailed(
89
104
  kwargs = _get_kwargs(
90
105
  api_key_id=api_key_id,
91
106
  body=body,
107
+ token=token,
92
108
  authorization=authorization,
93
109
  )
94
110
 
@@ -104,6 +120,7 @@ def sync(
104
120
  *,
105
121
  client: AuthenticatedClient,
106
122
  body: UpdateAPIKeyRequest,
123
+ token: Union[None, Unset, str] = UNSET,
107
124
  authorization: Union[None, Unset, str] = UNSET,
108
125
  ) -> Optional[Union[APIKeyInfo, HTTPValidationError]]:
109
126
  """Update API Key
@@ -112,6 +129,7 @@ def sync(
112
129
 
113
130
  Args:
114
131
  api_key_id (str):
132
+ token (Union[None, Unset, str]): JWT token for SSE authentication
115
133
  authorization (Union[None, Unset, str]):
116
134
  body (UpdateAPIKeyRequest): Request model for updating an API key.
117
135
 
@@ -127,6 +145,7 @@ def sync(
127
145
  api_key_id=api_key_id,
128
146
  client=client,
129
147
  body=body,
148
+ token=token,
130
149
  authorization=authorization,
131
150
  ).parsed
132
151
 
@@ -136,6 +155,7 @@ async def asyncio_detailed(
136
155
  *,
137
156
  client: AuthenticatedClient,
138
157
  body: UpdateAPIKeyRequest,
158
+ token: Union[None, Unset, str] = UNSET,
139
159
  authorization: Union[None, Unset, str] = UNSET,
140
160
  ) -> Response[Union[APIKeyInfo, HTTPValidationError]]:
141
161
  """Update API Key
@@ -144,6 +164,7 @@ async def asyncio_detailed(
144
164
 
145
165
  Args:
146
166
  api_key_id (str):
167
+ token (Union[None, Unset, str]): JWT token for SSE authentication
147
168
  authorization (Union[None, Unset, str]):
148
169
  body (UpdateAPIKeyRequest): Request model for updating an API key.
149
170
 
@@ -158,6 +179,7 @@ async def asyncio_detailed(
158
179
  kwargs = _get_kwargs(
159
180
  api_key_id=api_key_id,
160
181
  body=body,
182
+ token=token,
161
183
  authorization=authorization,
162
184
  )
163
185
 
@@ -171,6 +193,7 @@ async def asyncio(
171
193
  *,
172
194
  client: AuthenticatedClient,
173
195
  body: UpdateAPIKeyRequest,
196
+ token: Union[None, Unset, str] = UNSET,
174
197
  authorization: Union[None, Unset, str] = UNSET,
175
198
  ) -> Optional[Union[APIKeyInfo, HTTPValidationError]]:
176
199
  """Update API Key
@@ -179,6 +202,7 @@ async def asyncio(
179
202
 
180
203
  Args:
181
204
  api_key_id (str):
205
+ token (Union[None, Unset, str]): JWT token for SSE authentication
182
206
  authorization (Union[None, Unset, str]):
183
207
  body (UpdateAPIKeyRequest): Request model for updating an API key.
184
208
 
@@ -195,6 +219,7 @@ async def asyncio(
195
219
  api_key_id=api_key_id,
196
220
  client=client,
197
221
  body=body,
222
+ token=token,
198
223
  authorization=authorization,
199
224
  )
200
225
  ).parsed
@@ -15,15 +15,28 @@ from ...types import UNSET, Response, Unset
15
15
  def _get_kwargs(
16
16
  *,
17
17
  body: UpdatePasswordRequest,
18
+ token: Union[None, Unset, str] = UNSET,
18
19
  authorization: Union[None, Unset, str] = UNSET,
19
20
  ) -> dict[str, Any]:
20
21
  headers: dict[str, Any] = {}
21
22
  if not isinstance(authorization, Unset):
22
23
  headers["authorization"] = authorization
23
24
 
25
+ params: dict[str, Any] = {}
26
+
27
+ json_token: Union[None, Unset, str]
28
+ if isinstance(token, Unset):
29
+ json_token = UNSET
30
+ else:
31
+ json_token = token
32
+ params["token"] = json_token
33
+
34
+ params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
35
+
24
36
  _kwargs: dict[str, Any] = {
25
37
  "method": "put",
26
38
  "url": "/v1/user/password",
39
+ "params": params,
27
40
  }
28
41
 
29
42
  _kwargs["json"] = body.to_dict()
@@ -78,6 +91,7 @@ def sync_detailed(
78
91
  *,
79
92
  client: AuthenticatedClient,
80
93
  body: UpdatePasswordRequest,
94
+ token: Union[None, Unset, str] = UNSET,
81
95
  authorization: Union[None, Unset, str] = UNSET,
82
96
  ) -> Response[Union[ErrorResponse, HTTPValidationError, SuccessResponse]]:
83
97
  """Update Password
@@ -85,6 +99,7 @@ def sync_detailed(
85
99
  Update the current user's password.
86
100
 
87
101
  Args:
102
+ token (Union[None, Unset, str]): JWT token for SSE authentication
88
103
  authorization (Union[None, Unset, str]):
89
104
  body (UpdatePasswordRequest): Request model for updating user password.
90
105
 
@@ -98,6 +113,7 @@ def sync_detailed(
98
113
 
99
114
  kwargs = _get_kwargs(
100
115
  body=body,
116
+ token=token,
101
117
  authorization=authorization,
102
118
  )
103
119
 
@@ -112,6 +128,7 @@ def sync(
112
128
  *,
113
129
  client: AuthenticatedClient,
114
130
  body: UpdatePasswordRequest,
131
+ token: Union[None, Unset, str] = UNSET,
115
132
  authorization: Union[None, Unset, str] = UNSET,
116
133
  ) -> Optional[Union[ErrorResponse, HTTPValidationError, SuccessResponse]]:
117
134
  """Update Password
@@ -119,6 +136,7 @@ def sync(
119
136
  Update the current user's password.
120
137
 
121
138
  Args:
139
+ token (Union[None, Unset, str]): JWT token for SSE authentication
122
140
  authorization (Union[None, Unset, str]):
123
141
  body (UpdatePasswordRequest): Request model for updating user password.
124
142
 
@@ -133,6 +151,7 @@ def sync(
133
151
  return sync_detailed(
134
152
  client=client,
135
153
  body=body,
154
+ token=token,
136
155
  authorization=authorization,
137
156
  ).parsed
138
157
 
@@ -141,6 +160,7 @@ async def asyncio_detailed(
141
160
  *,
142
161
  client: AuthenticatedClient,
143
162
  body: UpdatePasswordRequest,
163
+ token: Union[None, Unset, str] = UNSET,
144
164
  authorization: Union[None, Unset, str] = UNSET,
145
165
  ) -> Response[Union[ErrorResponse, HTTPValidationError, SuccessResponse]]:
146
166
  """Update Password
@@ -148,6 +168,7 @@ async def asyncio_detailed(
148
168
  Update the current user's password.
149
169
 
150
170
  Args:
171
+ token (Union[None, Unset, str]): JWT token for SSE authentication
151
172
  authorization (Union[None, Unset, str]):
152
173
  body (UpdatePasswordRequest): Request model for updating user password.
153
174
 
@@ -161,6 +182,7 @@ async def asyncio_detailed(
161
182
 
162
183
  kwargs = _get_kwargs(
163
184
  body=body,
185
+ token=token,
164
186
  authorization=authorization,
165
187
  )
166
188
 
@@ -173,6 +195,7 @@ async def asyncio(
173
195
  *,
174
196
  client: AuthenticatedClient,
175
197
  body: UpdatePasswordRequest,
198
+ token: Union[None, Unset, str] = UNSET,
176
199
  authorization: Union[None, Unset, str] = UNSET,
177
200
  ) -> Optional[Union[ErrorResponse, HTTPValidationError, SuccessResponse]]:
178
201
  """Update Password
@@ -180,6 +203,7 @@ async def asyncio(
180
203
  Update the current user's password.
181
204
 
182
205
  Args:
206
+ token (Union[None, Unset, str]): JWT token for SSE authentication
183
207
  authorization (Union[None, Unset, str]):
184
208
  body (UpdatePasswordRequest): Request model for updating user password.
185
209
 
@@ -195,6 +219,7 @@ async def asyncio(
195
219
  await asyncio_detailed(
196
220
  client=client,
197
221
  body=body,
222
+ token=token,
198
223
  authorization=authorization,
199
224
  )
200
225
  ).parsed
@@ -14,6 +14,7 @@ def _get_kwargs(
14
14
  *,
15
15
  include_api_stats: Union[Unset, bool] = True,
16
16
  include_recent_activity: Union[Unset, bool] = True,
17
+ token: Union[None, Unset, str] = UNSET,
17
18
  authorization: Union[None, Unset, str] = UNSET,
18
19
  ) -> dict[str, Any]:
19
20
  headers: dict[str, Any] = {}
@@ -26,6 +27,13 @@ def _get_kwargs(
26
27
 
27
28
  params["include_recent_activity"] = include_recent_activity
28
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
+
29
37
  params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
30
38
 
31
39
  _kwargs: dict[str, Any] = {
@@ -71,6 +79,7 @@ def sync_detailed(
71
79
  client: AuthenticatedClient,
72
80
  include_api_stats: Union[Unset, bool] = True,
73
81
  include_recent_activity: Union[Unset, bool] = True,
82
+ token: Union[None, Unset, str] = UNSET,
74
83
  authorization: Union[None, Unset, str] = UNSET,
75
84
  ) -> Response[Union[HTTPValidationError, UserAnalyticsResponse]]:
76
85
  """Get Detailed User Analytics
@@ -80,6 +89,7 @@ def sync_detailed(
80
89
  Args:
81
90
  include_api_stats (Union[Unset, bool]): Include API usage statistics Default: True.
82
91
  include_recent_activity (Union[Unset, bool]): Include recent activity Default: True.
92
+ token (Union[None, Unset, str]): JWT token for SSE authentication
83
93
  authorization (Union[None, Unset, str]):
84
94
 
85
95
  Raises:
@@ -93,6 +103,7 @@ def sync_detailed(
93
103
  kwargs = _get_kwargs(
94
104
  include_api_stats=include_api_stats,
95
105
  include_recent_activity=include_recent_activity,
106
+ token=token,
96
107
  authorization=authorization,
97
108
  )
98
109
 
@@ -108,6 +119,7 @@ def sync(
108
119
  client: AuthenticatedClient,
109
120
  include_api_stats: Union[Unset, bool] = True,
110
121
  include_recent_activity: Union[Unset, bool] = True,
122
+ token: Union[None, Unset, str] = UNSET,
111
123
  authorization: Union[None, Unset, str] = UNSET,
112
124
  ) -> Optional[Union[HTTPValidationError, UserAnalyticsResponse]]:
113
125
  """Get Detailed User Analytics
@@ -117,6 +129,7 @@ def sync(
117
129
  Args:
118
130
  include_api_stats (Union[Unset, bool]): Include API usage statistics Default: True.
119
131
  include_recent_activity (Union[Unset, bool]): Include recent activity Default: True.
132
+ token (Union[None, Unset, str]): JWT token for SSE authentication
120
133
  authorization (Union[None, Unset, str]):
121
134
 
122
135
  Raises:
@@ -131,6 +144,7 @@ def sync(
131
144
  client=client,
132
145
  include_api_stats=include_api_stats,
133
146
  include_recent_activity=include_recent_activity,
147
+ token=token,
134
148
  authorization=authorization,
135
149
  ).parsed
136
150
 
@@ -140,6 +154,7 @@ async def asyncio_detailed(
140
154
  client: AuthenticatedClient,
141
155
  include_api_stats: Union[Unset, bool] = True,
142
156
  include_recent_activity: Union[Unset, bool] = True,
157
+ token: Union[None, Unset, str] = UNSET,
143
158
  authorization: Union[None, Unset, str] = UNSET,
144
159
  ) -> Response[Union[HTTPValidationError, UserAnalyticsResponse]]:
145
160
  """Get Detailed User Analytics
@@ -149,6 +164,7 @@ async def asyncio_detailed(
149
164
  Args:
150
165
  include_api_stats (Union[Unset, bool]): Include API usage statistics Default: True.
151
166
  include_recent_activity (Union[Unset, bool]): Include recent activity Default: True.
167
+ token (Union[None, Unset, str]): JWT token for SSE authentication
152
168
  authorization (Union[None, Unset, str]):
153
169
 
154
170
  Raises:
@@ -162,6 +178,7 @@ async def asyncio_detailed(
162
178
  kwargs = _get_kwargs(
163
179
  include_api_stats=include_api_stats,
164
180
  include_recent_activity=include_recent_activity,
181
+ token=token,
165
182
  authorization=authorization,
166
183
  )
167
184
 
@@ -175,6 +192,7 @@ async def asyncio(
175
192
  client: AuthenticatedClient,
176
193
  include_api_stats: Union[Unset, bool] = True,
177
194
  include_recent_activity: Union[Unset, bool] = True,
195
+ token: Union[None, Unset, str] = UNSET,
178
196
  authorization: Union[None, Unset, str] = UNSET,
179
197
  ) -> Optional[Union[HTTPValidationError, UserAnalyticsResponse]]:
180
198
  """Get Detailed User Analytics
@@ -184,6 +202,7 @@ async def asyncio(
184
202
  Args:
185
203
  include_api_stats (Union[Unset, bool]): Include API usage statistics Default: True.
186
204
  include_recent_activity (Union[Unset, bool]): Include recent activity Default: True.
205
+ token (Union[None, Unset, str]): JWT token for SSE authentication
187
206
  authorization (Union[None, Unset, str]):
188
207
 
189
208
  Raises:
@@ -199,6 +218,7 @@ async def asyncio(
199
218
  client=client,
200
219
  include_api_stats=include_api_stats,
201
220
  include_recent_activity=include_recent_activity,
221
+ token=token,
202
222
  authorization=authorization,
203
223
  )
204
224
  ).parsed