robosystems-client 0.1.16__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 (109) hide show
  1. robosystems_client/__init__.py +15 -4
  2. robosystems_client/api/agent/auto_select_agent.py +24 -17
  3. robosystems_client/api/agent/batch_process_queries.py +24 -17
  4. robosystems_client/api/agent/execute_specific_agent.py +24 -17
  5. robosystems_client/api/agent/get_agent_metadata.py +24 -17
  6. robosystems_client/api/agent/list_agents.py +20 -18
  7. robosystems_client/api/agent/recommend_agent.py +24 -17
  8. robosystems_client/api/auth/forgot_password.py +191 -0
  9. robosystems_client/api/auth/generate_sso_token.py +18 -0
  10. robosystems_client/api/auth/get_current_auth_user.py +4 -22
  11. robosystems_client/api/auth/logout_user.py +17 -17
  12. robosystems_client/api/auth/{refresh_session.py → refresh_auth_session.py} +21 -21
  13. robosystems_client/api/auth/resend_verification_email.py +222 -0
  14. robosystems_client/api/auth/reset_password.py +177 -0
  15. robosystems_client/api/auth/validate_reset_token.py +171 -0
  16. robosystems_client/api/auth/verify_email.py +177 -0
  17. robosystems_client/api/backup/create_backup.py +24 -17
  18. robosystems_client/api/backup/export_backup.py +24 -17
  19. robosystems_client/api/backup/get_backup_download_url.py +20 -18
  20. robosystems_client/api/backup/get_backup_stats.py +24 -17
  21. robosystems_client/api/backup/list_backups.py +20 -18
  22. robosystems_client/api/backup/restore_backup.py +24 -17
  23. robosystems_client/api/connections/create_connection.py +24 -17
  24. robosystems_client/api/connections/create_link_token.py +24 -17
  25. robosystems_client/api/connections/delete_connection.py +24 -17
  26. robosystems_client/api/connections/exchange_link_token.py +24 -17
  27. robosystems_client/api/connections/get_connection.py +24 -17
  28. robosystems_client/api/connections/get_connection_options.py +24 -17
  29. robosystems_client/api/connections/init_o_auth.py +24 -17
  30. robosystems_client/api/connections/list_connections.py +20 -18
  31. robosystems_client/api/connections/oauth_callback.py +28 -21
  32. robosystems_client/api/connections/sync_connection.py +24 -17
  33. robosystems_client/api/copy/copy_data_to_graph.py +24 -17
  34. robosystems_client/api/create/create_graph.py +24 -17
  35. robosystems_client/api/graph_analytics/get_graph_metrics.py +24 -17
  36. robosystems_client/api/graph_analytics/get_graph_usage_stats.py +20 -18
  37. robosystems_client/api/graph_billing/get_current_graph_bill.py +24 -17
  38. robosystems_client/api/graph_billing/get_graph_billing_history.py +20 -18
  39. robosystems_client/api/graph_billing/get_graph_monthly_bill.py +24 -17
  40. robosystems_client/api/graph_billing/get_graph_usage_details.py +20 -18
  41. robosystems_client/api/graph_credits/check_credit_balance.py +20 -18
  42. robosystems_client/api/graph_credits/check_storage_limits.py +24 -17
  43. robosystems_client/api/graph_credits/get_credit_summary.py +24 -17
  44. robosystems_client/api/graph_credits/get_storage_usage.py +20 -18
  45. robosystems_client/api/graph_credits/list_credit_transactions.py +20 -18
  46. robosystems_client/api/graph_health/get_database_health.py +24 -17
  47. robosystems_client/api/graph_info/get_database_info.py +24 -17
  48. robosystems_client/api/graph_limits/get_graph_limits.py +24 -17
  49. robosystems_client/api/mcp/call_mcp_tool.py +20 -18
  50. robosystems_client/api/mcp/list_mcp_tools.py +24 -17
  51. robosystems_client/api/operations/cancel_operation.py +24 -17
  52. robosystems_client/api/operations/get_operation_status.py +24 -17
  53. robosystems_client/api/operations/stream_operation_events.py +20 -18
  54. robosystems_client/api/query/execute_cypher_query.py +20 -18
  55. robosystems_client/api/schema/export_graph_schema.py +20 -18
  56. robosystems_client/api/schema/get_graph_schema_info.py +24 -17
  57. robosystems_client/api/schema/list_schema_extensions.py +24 -17
  58. robosystems_client/api/schema/validate_schema.py +24 -17
  59. robosystems_client/api/subgraphs/create_subgraph.py +24 -17
  60. robosystems_client/api/subgraphs/delete_subgraph.py +24 -17
  61. robosystems_client/api/subgraphs/get_subgraph_info.py +24 -17
  62. robosystems_client/api/subgraphs/get_subgraph_quota.py +24 -17
  63. robosystems_client/api/subgraphs/list_subgraphs.py +24 -17
  64. robosystems_client/api/user/create_user_api_key.py +24 -17
  65. robosystems_client/api/user/get_all_credit_summaries.py +24 -17
  66. robosystems_client/api/user/get_current_user.py +24 -17
  67. robosystems_client/api/user/get_user_graphs.py +24 -17
  68. robosystems_client/api/user/list_user_api_keys.py +24 -17
  69. robosystems_client/api/user/revoke_user_api_key.py +24 -17
  70. robosystems_client/api/user/select_user_graph.py +24 -17
  71. robosystems_client/api/user/update_user.py +24 -17
  72. robosystems_client/api/user/update_user_api_key.py +24 -17
  73. robosystems_client/api/user/update_user_password.py +24 -17
  74. robosystems_client/api/user_analytics/get_detailed_user_analytics.py +20 -18
  75. robosystems_client/api/user_analytics/get_user_usage_overview.py +24 -17
  76. robosystems_client/api/user_limits/get_all_shared_repository_limits.py +24 -17
  77. robosystems_client/api/user_limits/get_shared_repository_limits.py +24 -17
  78. robosystems_client/api/user_limits/get_user_limits.py +24 -17
  79. robosystems_client/api/user_limits/get_user_usage.py +24 -17
  80. robosystems_client/api/user_subscriptions/cancel_shared_repository_subscription.py +24 -17
  81. robosystems_client/api/user_subscriptions/get_repository_credits.py +24 -17
  82. robosystems_client/api/user_subscriptions/get_shared_repository_credits.py +24 -17
  83. robosystems_client/api/user_subscriptions/get_user_shared_subscriptions.py +20 -18
  84. robosystems_client/api/user_subscriptions/subscribe_to_shared_repository.py +24 -17
  85. robosystems_client/api/user_subscriptions/upgrade_shared_repository_subscription.py +24 -17
  86. robosystems_client/extensions/__init__.py +70 -0
  87. robosystems_client/extensions/auth_integration.py +14 -1
  88. robosystems_client/extensions/copy_client.py +32 -22
  89. robosystems_client/extensions/dataframe_utils.py +455 -0
  90. robosystems_client/extensions/extensions.py +16 -0
  91. robosystems_client/extensions/operation_client.py +43 -21
  92. robosystems_client/extensions/query_client.py +109 -12
  93. robosystems_client/extensions/tests/test_dataframe_utils.py +334 -0
  94. robosystems_client/extensions/tests/test_integration.py +1 -1
  95. robosystems_client/extensions/tests/test_token_utils.py +274 -0
  96. robosystems_client/extensions/token_utils.py +417 -0
  97. robosystems_client/extensions/utils.py +32 -2
  98. robosystems_client/models/__init__.py +16 -0
  99. robosystems_client/models/email_verification_request.py +60 -0
  100. robosystems_client/models/forgot_password_request.py +60 -0
  101. robosystems_client/models/forgot_password_response_forgotpassword.py +44 -0
  102. robosystems_client/models/resend_verification_email_response_resendverificationemail.py +44 -0
  103. robosystems_client/models/reset_password_request.py +68 -0
  104. robosystems_client/models/reset_password_validate_response.py +82 -0
  105. robosystems_client-0.1.18.dist-info/METADATA +89 -0
  106. {robosystems_client-0.1.16.dist-info → robosystems_client-0.1.18.dist-info}/RECORD +108 -92
  107. robosystems_client-0.1.18.dist-info/licenses/LICENSE +21 -0
  108. robosystems_client-0.1.16.dist-info/METADATA +0 -302
  109. {robosystems_client-0.1.16.dist-info → robosystems_client-0.1.18.dist-info}/WHEEL +0 -0
@@ -14,30 +14,32 @@ 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
- auth_token: Union[None, Unset, str] = UNSET,
19
19
  ) -> dict[str, Any]:
20
20
  headers: dict[str, Any] = {}
21
21
  if not isinstance(authorization, Unset):
22
22
  headers["authorization"] = authorization
23
23
 
24
- cookies = {}
25
- if auth_token is not UNSET:
26
- cookies["auth-token"] = auth_token
27
-
28
24
  params: dict[str, Any] = {}
29
25
 
30
26
  params["include_api_stats"] = include_api_stats
31
27
 
32
28
  params["include_recent_activity"] = include_recent_activity
33
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
+
34
37
  params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
35
38
 
36
39
  _kwargs: dict[str, Any] = {
37
40
  "method": "get",
38
41
  "url": "/v1/user/analytics/detailed",
39
42
  "params": params,
40
- "cookies": cookies,
41
43
  }
42
44
 
43
45
  _kwargs["headers"] = headers
@@ -77,8 +79,8 @@ def sync_detailed(
77
79
  client: AuthenticatedClient,
78
80
  include_api_stats: Union[Unset, bool] = True,
79
81
  include_recent_activity: Union[Unset, bool] = True,
82
+ token: Union[None, Unset, str] = UNSET,
80
83
  authorization: Union[None, Unset, str] = UNSET,
81
- auth_token: Union[None, Unset, str] = UNSET,
82
84
  ) -> Response[Union[HTTPValidationError, UserAnalyticsResponse]]:
83
85
  """Get Detailed User Analytics
84
86
 
@@ -87,8 +89,8 @@ def sync_detailed(
87
89
  Args:
88
90
  include_api_stats (Union[Unset, bool]): Include API usage statistics Default: True.
89
91
  include_recent_activity (Union[Unset, bool]): Include recent activity Default: True.
92
+ token (Union[None, Unset, str]): JWT token for SSE authentication
90
93
  authorization (Union[None, Unset, str]):
91
- auth_token (Union[None, Unset, str]):
92
94
 
93
95
  Raises:
94
96
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -101,8 +103,8 @@ def sync_detailed(
101
103
  kwargs = _get_kwargs(
102
104
  include_api_stats=include_api_stats,
103
105
  include_recent_activity=include_recent_activity,
106
+ token=token,
104
107
  authorization=authorization,
105
- auth_token=auth_token,
106
108
  )
107
109
 
108
110
  response = client.get_httpx_client().request(
@@ -117,8 +119,8 @@ def sync(
117
119
  client: AuthenticatedClient,
118
120
  include_api_stats: Union[Unset, bool] = True,
119
121
  include_recent_activity: Union[Unset, bool] = True,
122
+ token: Union[None, Unset, str] = UNSET,
120
123
  authorization: Union[None, Unset, str] = UNSET,
121
- auth_token: Union[None, Unset, str] = UNSET,
122
124
  ) -> Optional[Union[HTTPValidationError, UserAnalyticsResponse]]:
123
125
  """Get Detailed User Analytics
124
126
 
@@ -127,8 +129,8 @@ def sync(
127
129
  Args:
128
130
  include_api_stats (Union[Unset, bool]): Include API usage statistics Default: True.
129
131
  include_recent_activity (Union[Unset, bool]): Include recent activity Default: True.
132
+ token (Union[None, Unset, str]): JWT token for SSE authentication
130
133
  authorization (Union[None, Unset, str]):
131
- auth_token (Union[None, Unset, str]):
132
134
 
133
135
  Raises:
134
136
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -142,8 +144,8 @@ def sync(
142
144
  client=client,
143
145
  include_api_stats=include_api_stats,
144
146
  include_recent_activity=include_recent_activity,
147
+ token=token,
145
148
  authorization=authorization,
146
- auth_token=auth_token,
147
149
  ).parsed
148
150
 
149
151
 
@@ -152,8 +154,8 @@ async def asyncio_detailed(
152
154
  client: AuthenticatedClient,
153
155
  include_api_stats: Union[Unset, bool] = True,
154
156
  include_recent_activity: Union[Unset, bool] = True,
157
+ token: Union[None, Unset, str] = UNSET,
155
158
  authorization: Union[None, Unset, str] = UNSET,
156
- auth_token: Union[None, Unset, str] = UNSET,
157
159
  ) -> Response[Union[HTTPValidationError, UserAnalyticsResponse]]:
158
160
  """Get Detailed User Analytics
159
161
 
@@ -162,8 +164,8 @@ async def asyncio_detailed(
162
164
  Args:
163
165
  include_api_stats (Union[Unset, bool]): Include API usage statistics Default: True.
164
166
  include_recent_activity (Union[Unset, bool]): Include recent activity Default: True.
167
+ token (Union[None, Unset, str]): JWT token for SSE authentication
165
168
  authorization (Union[None, Unset, str]):
166
- auth_token (Union[None, Unset, str]):
167
169
 
168
170
  Raises:
169
171
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -176,8 +178,8 @@ async def asyncio_detailed(
176
178
  kwargs = _get_kwargs(
177
179
  include_api_stats=include_api_stats,
178
180
  include_recent_activity=include_recent_activity,
181
+ token=token,
179
182
  authorization=authorization,
180
- auth_token=auth_token,
181
183
  )
182
184
 
183
185
  response = await client.get_async_httpx_client().request(**kwargs)
@@ -190,8 +192,8 @@ async def asyncio(
190
192
  client: AuthenticatedClient,
191
193
  include_api_stats: Union[Unset, bool] = True,
192
194
  include_recent_activity: Union[Unset, bool] = True,
195
+ token: Union[None, Unset, str] = UNSET,
193
196
  authorization: Union[None, Unset, str] = UNSET,
194
- auth_token: Union[None, Unset, str] = UNSET,
195
197
  ) -> Optional[Union[HTTPValidationError, UserAnalyticsResponse]]:
196
198
  """Get Detailed User Analytics
197
199
 
@@ -200,8 +202,8 @@ async def asyncio(
200
202
  Args:
201
203
  include_api_stats (Union[Unset, bool]): Include API usage statistics Default: True.
202
204
  include_recent_activity (Union[Unset, bool]): Include recent activity Default: True.
205
+ token (Union[None, Unset, str]): JWT token for SSE authentication
203
206
  authorization (Union[None, Unset, str]):
204
- auth_token (Union[None, Unset, str]):
205
207
 
206
208
  Raises:
207
209
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -216,7 +218,7 @@ async def asyncio(
216
218
  client=client,
217
219
  include_api_stats=include_api_stats,
218
220
  include_recent_activity=include_recent_activity,
221
+ token=token,
219
222
  authorization=authorization,
220
- auth_token=auth_token,
221
223
  )
222
224
  ).parsed
@@ -12,21 +12,28 @@ from ...types import UNSET, Response, Unset
12
12
 
13
13
  def _get_kwargs(
14
14
  *,
15
+ token: Union[None, Unset, str] = UNSET,
15
16
  authorization: Union[None, Unset, str] = UNSET,
16
- auth_token: Union[None, Unset, str] = UNSET,
17
17
  ) -> dict[str, Any]:
18
18
  headers: dict[str, Any] = {}
19
19
  if not isinstance(authorization, Unset):
20
20
  headers["authorization"] = authorization
21
21
 
22
- cookies = {}
23
- if auth_token is not UNSET:
24
- cookies["auth-token"] = auth_token
22
+ params: dict[str, Any] = {}
23
+
24
+ json_token: Union[None, Unset, str]
25
+ if isinstance(token, Unset):
26
+ json_token = UNSET
27
+ else:
28
+ json_token = token
29
+ params["token"] = json_token
30
+
31
+ params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
25
32
 
26
33
  _kwargs: dict[str, Any] = {
27
34
  "method": "get",
28
35
  "url": "/v1/user/analytics/overview",
29
- "cookies": cookies,
36
+ "params": params,
30
37
  }
31
38
 
32
39
  _kwargs["headers"] = headers
@@ -64,16 +71,16 @@ def _build_response(
64
71
  def sync_detailed(
65
72
  *,
66
73
  client: AuthenticatedClient,
74
+ token: Union[None, Unset, str] = UNSET,
67
75
  authorization: Union[None, Unset, str] = UNSET,
68
- auth_token: Union[None, Unset, str] = UNSET,
69
76
  ) -> Response[Union[HTTPValidationError, UserUsageSummaryResponse]]:
70
77
  """Get User Usage Overview
71
78
 
72
79
  Get a high-level overview of usage statistics for the current user.
73
80
 
74
81
  Args:
82
+ token (Union[None, Unset, str]): JWT token for SSE authentication
75
83
  authorization (Union[None, Unset, str]):
76
- auth_token (Union[None, Unset, str]):
77
84
 
78
85
  Raises:
79
86
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -84,8 +91,8 @@ def sync_detailed(
84
91
  """
85
92
 
86
93
  kwargs = _get_kwargs(
94
+ token=token,
87
95
  authorization=authorization,
88
- auth_token=auth_token,
89
96
  )
90
97
 
91
98
  response = client.get_httpx_client().request(
@@ -98,16 +105,16 @@ def sync_detailed(
98
105
  def sync(
99
106
  *,
100
107
  client: AuthenticatedClient,
108
+ token: Union[None, Unset, str] = UNSET,
101
109
  authorization: Union[None, Unset, str] = UNSET,
102
- auth_token: Union[None, Unset, str] = UNSET,
103
110
  ) -> Optional[Union[HTTPValidationError, UserUsageSummaryResponse]]:
104
111
  """Get User Usage Overview
105
112
 
106
113
  Get a high-level overview of usage statistics for the current user.
107
114
 
108
115
  Args:
116
+ token (Union[None, Unset, str]): JWT token for SSE authentication
109
117
  authorization (Union[None, Unset, str]):
110
- auth_token (Union[None, Unset, str]):
111
118
 
112
119
  Raises:
113
120
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -119,24 +126,24 @@ def sync(
119
126
 
120
127
  return sync_detailed(
121
128
  client=client,
129
+ token=token,
122
130
  authorization=authorization,
123
- auth_token=auth_token,
124
131
  ).parsed
125
132
 
126
133
 
127
134
  async def asyncio_detailed(
128
135
  *,
129
136
  client: AuthenticatedClient,
137
+ token: Union[None, Unset, str] = UNSET,
130
138
  authorization: Union[None, Unset, str] = UNSET,
131
- auth_token: Union[None, Unset, str] = UNSET,
132
139
  ) -> Response[Union[HTTPValidationError, UserUsageSummaryResponse]]:
133
140
  """Get User Usage Overview
134
141
 
135
142
  Get a high-level overview of usage statistics for the current user.
136
143
 
137
144
  Args:
145
+ token (Union[None, Unset, str]): JWT token for SSE authentication
138
146
  authorization (Union[None, Unset, str]):
139
- auth_token (Union[None, Unset, str]):
140
147
 
141
148
  Raises:
142
149
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -147,8 +154,8 @@ async def asyncio_detailed(
147
154
  """
148
155
 
149
156
  kwargs = _get_kwargs(
157
+ token=token,
150
158
  authorization=authorization,
151
- auth_token=auth_token,
152
159
  )
153
160
 
154
161
  response = await client.get_async_httpx_client().request(**kwargs)
@@ -159,16 +166,16 @@ async def asyncio_detailed(
159
166
  async def asyncio(
160
167
  *,
161
168
  client: AuthenticatedClient,
169
+ token: Union[None, Unset, str] = UNSET,
162
170
  authorization: Union[None, Unset, str] = UNSET,
163
- auth_token: Union[None, Unset, str] = UNSET,
164
171
  ) -> Optional[Union[HTTPValidationError, UserUsageSummaryResponse]]:
165
172
  """Get User Usage Overview
166
173
 
167
174
  Get a high-level overview of usage statistics for the current user.
168
175
 
169
176
  Args:
177
+ token (Union[None, Unset, str]): JWT token for SSE authentication
170
178
  authorization (Union[None, Unset, str]):
171
- auth_token (Union[None, Unset, str]):
172
179
 
173
180
  Raises:
174
181
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -181,7 +188,7 @@ async def asyncio(
181
188
  return (
182
189
  await asyncio_detailed(
183
190
  client=client,
191
+ token=token,
184
192
  authorization=authorization,
185
- auth_token=auth_token,
186
193
  )
187
194
  ).parsed
@@ -14,21 +14,28 @@ from ...types import UNSET, Response, Unset
14
14
 
15
15
  def _get_kwargs(
16
16
  *,
17
+ token: Union[None, Unset, str] = UNSET,
17
18
  authorization: Union[None, Unset, str] = UNSET,
18
- auth_token: Union[None, Unset, str] = UNSET,
19
19
  ) -> dict[str, Any]:
20
20
  headers: dict[str, Any] = {}
21
21
  if not isinstance(authorization, Unset):
22
22
  headers["authorization"] = authorization
23
23
 
24
- cookies = {}
25
- if auth_token is not UNSET:
26
- cookies["auth-token"] = auth_token
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}
27
34
 
28
35
  _kwargs: dict[str, Any] = {
29
36
  "method": "get",
30
37
  "url": "/v1/user/limits/shared-repositories/summary",
31
- "cookies": cookies,
38
+ "params": params,
32
39
  }
33
40
 
34
41
  _kwargs["headers"] = headers
@@ -80,8 +87,8 @@ def _build_response(
80
87
  def sync_detailed(
81
88
  *,
82
89
  client: AuthenticatedClient,
90
+ token: Union[None, Unset, str] = UNSET,
83
91
  authorization: Union[None, Unset, str] = UNSET,
84
- auth_token: Union[None, Unset, str] = UNSET,
85
92
  ) -> Response[
86
93
  Union[
87
94
  GetAllSharedRepositoryLimitsResponseGetallsharedrepositorylimits,
@@ -93,8 +100,8 @@ def sync_detailed(
93
100
  Get rate limit status for all shared repositories the user has access to.
94
101
 
95
102
  Args:
103
+ token (Union[None, Unset, str]): JWT token for SSE authentication
96
104
  authorization (Union[None, Unset, str]):
97
- auth_token (Union[None, Unset, str]):
98
105
 
99
106
  Raises:
100
107
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -105,8 +112,8 @@ def sync_detailed(
105
112
  """
106
113
 
107
114
  kwargs = _get_kwargs(
115
+ token=token,
108
116
  authorization=authorization,
109
- auth_token=auth_token,
110
117
  )
111
118
 
112
119
  response = client.get_httpx_client().request(
@@ -119,8 +126,8 @@ def sync_detailed(
119
126
  def sync(
120
127
  *,
121
128
  client: AuthenticatedClient,
129
+ token: Union[None, Unset, str] = UNSET,
122
130
  authorization: Union[None, Unset, str] = UNSET,
123
- auth_token: Union[None, Unset, str] = UNSET,
124
131
  ) -> Optional[
125
132
  Union[
126
133
  GetAllSharedRepositoryLimitsResponseGetallsharedrepositorylimits,
@@ -132,8 +139,8 @@ def sync(
132
139
  Get rate limit status for all shared repositories the user has access to.
133
140
 
134
141
  Args:
142
+ token (Union[None, Unset, str]): JWT token for SSE authentication
135
143
  authorization (Union[None, Unset, str]):
136
- auth_token (Union[None, Unset, str]):
137
144
 
138
145
  Raises:
139
146
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -145,16 +152,16 @@ def sync(
145
152
 
146
153
  return sync_detailed(
147
154
  client=client,
155
+ token=token,
148
156
  authorization=authorization,
149
- auth_token=auth_token,
150
157
  ).parsed
151
158
 
152
159
 
153
160
  async def asyncio_detailed(
154
161
  *,
155
162
  client: AuthenticatedClient,
163
+ token: Union[None, Unset, str] = UNSET,
156
164
  authorization: Union[None, Unset, str] = UNSET,
157
- auth_token: Union[None, Unset, str] = UNSET,
158
165
  ) -> Response[
159
166
  Union[
160
167
  GetAllSharedRepositoryLimitsResponseGetallsharedrepositorylimits,
@@ -166,8 +173,8 @@ async def asyncio_detailed(
166
173
  Get rate limit status for all shared repositories the user has access to.
167
174
 
168
175
  Args:
176
+ token (Union[None, Unset, str]): JWT token for SSE authentication
169
177
  authorization (Union[None, Unset, str]):
170
- auth_token (Union[None, Unset, str]):
171
178
 
172
179
  Raises:
173
180
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -178,8 +185,8 @@ async def asyncio_detailed(
178
185
  """
179
186
 
180
187
  kwargs = _get_kwargs(
188
+ token=token,
181
189
  authorization=authorization,
182
- auth_token=auth_token,
183
190
  )
184
191
 
185
192
  response = await client.get_async_httpx_client().request(**kwargs)
@@ -190,8 +197,8 @@ async def asyncio_detailed(
190
197
  async def asyncio(
191
198
  *,
192
199
  client: AuthenticatedClient,
200
+ token: Union[None, Unset, str] = UNSET,
193
201
  authorization: Union[None, Unset, str] = UNSET,
194
- auth_token: Union[None, Unset, str] = UNSET,
195
202
  ) -> Optional[
196
203
  Union[
197
204
  GetAllSharedRepositoryLimitsResponseGetallsharedrepositorylimits,
@@ -203,8 +210,8 @@ async def asyncio(
203
210
  Get rate limit status for all shared repositories the user has access to.
204
211
 
205
212
  Args:
213
+ token (Union[None, Unset, str]): JWT token for SSE authentication
206
214
  authorization (Union[None, Unset, str]):
207
- auth_token (Union[None, Unset, str]):
208
215
 
209
216
  Raises:
210
217
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -217,7 +224,7 @@ async def asyncio(
217
224
  return (
218
225
  await asyncio_detailed(
219
226
  client=client,
227
+ token=token,
220
228
  authorization=authorization,
221
- auth_token=auth_token,
222
229
  )
223
230
  ).parsed
@@ -15,21 +15,28 @@ from ...types import UNSET, Response, Unset
15
15
  def _get_kwargs(
16
16
  repository: str,
17
17
  *,
18
+ token: Union[None, Unset, str] = UNSET,
18
19
  authorization: Union[None, Unset, str] = UNSET,
19
- auth_token: Union[None, Unset, str] = UNSET,
20
20
  ) -> dict[str, Any]:
21
21
  headers: dict[str, Any] = {}
22
22
  if not isinstance(authorization, Unset):
23
23
  headers["authorization"] = authorization
24
24
 
25
- cookies = {}
26
- if auth_token is not UNSET:
27
- cookies["auth-token"] = auth_token
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}
28
35
 
29
36
  _kwargs: dict[str, Any] = {
30
37
  "method": "get",
31
38
  "url": f"/v1/user/limits/shared-repositories/{repository}",
32
- "cookies": cookies,
39
+ "params": params,
33
40
  }
34
41
 
35
42
  _kwargs["headers"] = headers
@@ -74,8 +81,8 @@ def sync_detailed(
74
81
  repository: str,
75
82
  *,
76
83
  client: AuthenticatedClient,
84
+ token: Union[None, Unset, str] = UNSET,
77
85
  authorization: Union[None, Unset, str] = UNSET,
78
- auth_token: Union[None, Unset, str] = UNSET,
79
86
  ) -> Response[
80
87
  Union[GetSharedRepositoryLimitsResponseGetsharedrepositorylimits, HTTPValidationError]
81
88
  ]:
@@ -93,8 +100,8 @@ def sync_detailed(
93
100
 
94
101
  Args:
95
102
  repository (str): Repository name (e.g., 'sec')
103
+ token (Union[None, Unset, str]): JWT token for SSE authentication
96
104
  authorization (Union[None, Unset, str]):
97
- auth_token (Union[None, Unset, str]):
98
105
 
99
106
  Raises:
100
107
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -106,8 +113,8 @@ def sync_detailed(
106
113
 
107
114
  kwargs = _get_kwargs(
108
115
  repository=repository,
116
+ token=token,
109
117
  authorization=authorization,
110
- auth_token=auth_token,
111
118
  )
112
119
 
113
120
  response = client.get_httpx_client().request(
@@ -121,8 +128,8 @@ def sync(
121
128
  repository: str,
122
129
  *,
123
130
  client: AuthenticatedClient,
131
+ token: Union[None, Unset, str] = UNSET,
124
132
  authorization: Union[None, Unset, str] = UNSET,
125
- auth_token: Union[None, Unset, str] = UNSET,
126
133
  ) -> Optional[
127
134
  Union[GetSharedRepositoryLimitsResponseGetsharedrepositorylimits, HTTPValidationError]
128
135
  ]:
@@ -140,8 +147,8 @@ def sync(
140
147
 
141
148
  Args:
142
149
  repository (str): Repository name (e.g., 'sec')
150
+ token (Union[None, Unset, str]): JWT token for SSE authentication
143
151
  authorization (Union[None, Unset, str]):
144
- auth_token (Union[None, Unset, str]):
145
152
 
146
153
  Raises:
147
154
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -154,8 +161,8 @@ def sync(
154
161
  return sync_detailed(
155
162
  repository=repository,
156
163
  client=client,
164
+ token=token,
157
165
  authorization=authorization,
158
- auth_token=auth_token,
159
166
  ).parsed
160
167
 
161
168
 
@@ -163,8 +170,8 @@ async def asyncio_detailed(
163
170
  repository: str,
164
171
  *,
165
172
  client: AuthenticatedClient,
173
+ token: Union[None, Unset, str] = UNSET,
166
174
  authorization: Union[None, Unset, str] = UNSET,
167
- auth_token: Union[None, Unset, str] = UNSET,
168
175
  ) -> Response[
169
176
  Union[GetSharedRepositoryLimitsResponseGetsharedrepositorylimits, HTTPValidationError]
170
177
  ]:
@@ -182,8 +189,8 @@ async def asyncio_detailed(
182
189
 
183
190
  Args:
184
191
  repository (str): Repository name (e.g., 'sec')
192
+ token (Union[None, Unset, str]): JWT token for SSE authentication
185
193
  authorization (Union[None, Unset, str]):
186
- auth_token (Union[None, Unset, str]):
187
194
 
188
195
  Raises:
189
196
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -195,8 +202,8 @@ async def asyncio_detailed(
195
202
 
196
203
  kwargs = _get_kwargs(
197
204
  repository=repository,
205
+ token=token,
198
206
  authorization=authorization,
199
- auth_token=auth_token,
200
207
  )
201
208
 
202
209
  response = await client.get_async_httpx_client().request(**kwargs)
@@ -208,8 +215,8 @@ async def asyncio(
208
215
  repository: str,
209
216
  *,
210
217
  client: AuthenticatedClient,
218
+ token: Union[None, Unset, str] = UNSET,
211
219
  authorization: Union[None, Unset, str] = UNSET,
212
- auth_token: Union[None, Unset, str] = UNSET,
213
220
  ) -> Optional[
214
221
  Union[GetSharedRepositoryLimitsResponseGetsharedrepositorylimits, HTTPValidationError]
215
222
  ]:
@@ -227,8 +234,8 @@ async def asyncio(
227
234
 
228
235
  Args:
229
236
  repository (str): Repository name (e.g., 'sec')
237
+ token (Union[None, Unset, str]): JWT token for SSE authentication
230
238
  authorization (Union[None, Unset, str]):
231
- auth_token (Union[None, Unset, str]):
232
239
 
233
240
  Raises:
234
241
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -242,7 +249,7 @@ async def asyncio(
242
249
  await asyncio_detailed(
243
250
  repository=repository,
244
251
  client=client,
252
+ token=token,
245
253
  authorization=authorization,
246
- auth_token=auth_token,
247
254
  )
248
255
  ).parsed