robosystems-client 0.1.15__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.

Files changed (130) hide show
  1. robosystems_client/api/agent/auto_select_agent.py +246 -0
  2. robosystems_client/api/agent/batch_process_queries.py +261 -0
  3. robosystems_client/api/agent/execute_specific_agent.py +258 -0
  4. robosystems_client/api/agent/get_agent_metadata.py +238 -0
  5. robosystems_client/api/agent/list_agents.py +246 -0
  6. robosystems_client/api/agent/recommend_agent.py +255 -0
  7. robosystems_client/api/auth/forgot_password.py +191 -0
  8. robosystems_client/api/auth/generate_sso_token.py +18 -0
  9. robosystems_client/api/auth/get_current_auth_user.py +4 -22
  10. robosystems_client/api/auth/logout_user.py +17 -17
  11. robosystems_client/api/auth/{refresh_session.py → refresh_auth_session.py} +21 -21
  12. robosystems_client/api/auth/resend_verification_email.py +222 -0
  13. robosystems_client/api/auth/reset_password.py +177 -0
  14. robosystems_client/api/auth/validate_reset_token.py +171 -0
  15. robosystems_client/api/auth/verify_email.py +177 -0
  16. robosystems_client/api/backup/create_backup.py +0 -18
  17. robosystems_client/api/backup/export_backup.py +0 -18
  18. robosystems_client/api/backup/get_backup_download_url.py +0 -18
  19. robosystems_client/api/backup/get_backup_stats.py +0 -18
  20. robosystems_client/api/backup/list_backups.py +0 -18
  21. robosystems_client/api/backup/restore_backup.py +0 -18
  22. robosystems_client/api/connections/create_connection.py +0 -18
  23. robosystems_client/api/connections/create_link_token.py +0 -18
  24. robosystems_client/api/connections/delete_connection.py +0 -18
  25. robosystems_client/api/connections/exchange_link_token.py +0 -18
  26. robosystems_client/api/connections/get_connection.py +0 -18
  27. robosystems_client/api/connections/get_connection_options.py +0 -18
  28. robosystems_client/api/connections/init_o_auth.py +0 -18
  29. robosystems_client/api/connections/list_connections.py +0 -18
  30. robosystems_client/api/connections/oauth_callback.py +4 -22
  31. robosystems_client/api/connections/sync_connection.py +0 -18
  32. robosystems_client/api/copy/copy_data_to_graph.py +0 -18
  33. robosystems_client/api/create/create_graph.py +0 -18
  34. robosystems_client/api/graph_analytics/get_graph_metrics.py +0 -18
  35. robosystems_client/api/graph_analytics/get_graph_usage_stats.py +0 -18
  36. robosystems_client/api/graph_billing/get_current_graph_bill.py +0 -18
  37. robosystems_client/api/graph_billing/get_graph_billing_history.py +0 -18
  38. robosystems_client/api/graph_billing/get_graph_monthly_bill.py +0 -18
  39. robosystems_client/api/graph_billing/get_graph_usage_details.py +0 -18
  40. robosystems_client/api/graph_credits/check_credit_balance.py +14 -28
  41. robosystems_client/api/graph_credits/check_storage_limits.py +0 -18
  42. robosystems_client/api/graph_credits/get_credit_summary.py +0 -18
  43. robosystems_client/api/graph_credits/get_storage_usage.py +0 -18
  44. robosystems_client/api/graph_credits/list_credit_transactions.py +0 -18
  45. robosystems_client/api/graph_health/get_database_health.py +0 -18
  46. robosystems_client/api/graph_info/get_database_info.py +0 -18
  47. robosystems_client/api/graph_limits/get_graph_limits.py +0 -18
  48. robosystems_client/api/mcp/call_mcp_tool.py +0 -18
  49. robosystems_client/api/mcp/list_mcp_tools.py +0 -18
  50. robosystems_client/api/operations/cancel_operation.py +0 -18
  51. robosystems_client/api/operations/get_operation_status.py +0 -18
  52. robosystems_client/api/operations/stream_operation_events.py +0 -18
  53. robosystems_client/api/query/execute_cypher_query.py +0 -18
  54. robosystems_client/api/schema/export_graph_schema.py +0 -18
  55. robosystems_client/api/schema/get_graph_schema_info.py +0 -18
  56. robosystems_client/api/schema/list_schema_extensions.py +0 -18
  57. robosystems_client/api/schema/validate_schema.py +0 -18
  58. robosystems_client/api/subgraphs/create_subgraph.py +0 -18
  59. robosystems_client/api/subgraphs/delete_subgraph.py +0 -18
  60. robosystems_client/api/subgraphs/get_subgraph_info.py +0 -18
  61. robosystems_client/api/subgraphs/get_subgraph_quota.py +0 -18
  62. robosystems_client/api/subgraphs/list_subgraphs.py +0 -18
  63. robosystems_client/api/user/create_user_api_key.py +0 -18
  64. robosystems_client/api/user/get_all_credit_summaries.py +0 -18
  65. robosystems_client/api/user/get_current_user.py +0 -18
  66. robosystems_client/api/user/get_user_graphs.py +0 -18
  67. robosystems_client/api/user/list_user_api_keys.py +0 -18
  68. robosystems_client/api/user/revoke_user_api_key.py +0 -18
  69. robosystems_client/api/user/select_user_graph.py +0 -18
  70. robosystems_client/api/user/update_user.py +0 -18
  71. robosystems_client/api/user/update_user_api_key.py +0 -18
  72. robosystems_client/api/user/update_user_password.py +0 -18
  73. robosystems_client/api/user_analytics/get_detailed_user_analytics.py +0 -18
  74. robosystems_client/api/user_analytics/get_user_usage_overview.py +0 -18
  75. robosystems_client/api/user_limits/get_all_shared_repository_limits.py +0 -18
  76. robosystems_client/api/user_limits/get_shared_repository_limits.py +0 -18
  77. robosystems_client/api/user_limits/get_user_limits.py +0 -18
  78. robosystems_client/api/user_limits/get_user_usage.py +0 -18
  79. robosystems_client/api/user_subscriptions/cancel_shared_repository_subscription.py +0 -18
  80. robosystems_client/api/user_subscriptions/get_repository_credits.py +0 -18
  81. robosystems_client/api/user_subscriptions/get_shared_repository_credits.py +0 -18
  82. robosystems_client/api/user_subscriptions/get_user_shared_subscriptions.py +0 -18
  83. robosystems_client/api/user_subscriptions/subscribe_to_shared_repository.py +0 -18
  84. robosystems_client/api/user_subscriptions/upgrade_shared_repository_subscription.py +0 -18
  85. robosystems_client/models/__init__.py +51 -3
  86. robosystems_client/models/agent_list_response.py +74 -0
  87. robosystems_client/models/agent_list_response_agents.py +67 -0
  88. robosystems_client/models/{credits_summary_response_credits_by_addon_item.py → agent_list_response_agents_additional_property.py} +5 -5
  89. robosystems_client/models/agent_message.py +35 -1
  90. robosystems_client/models/agent_metadata_response.py +133 -0
  91. robosystems_client/models/agent_mode.py +11 -0
  92. robosystems_client/models/agent_recommendation.py +106 -0
  93. robosystems_client/models/agent_recommendation_request.py +108 -0
  94. robosystems_client/models/agent_recommendation_request_context_type_0.py +44 -0
  95. robosystems_client/models/agent_recommendation_response.py +82 -0
  96. robosystems_client/models/agent_request.py +110 -6
  97. robosystems_client/models/agent_response.py +161 -11
  98. robosystems_client/models/agent_response_error_details_type_0.py +44 -0
  99. robosystems_client/models/agent_response_tokens_used_type_0.py +44 -0
  100. robosystems_client/models/auth_response.py +20 -6
  101. robosystems_client/models/batch_agent_request.py +85 -0
  102. robosystems_client/models/batch_agent_response.py +90 -0
  103. robosystems_client/models/credit_summary.py +35 -9
  104. robosystems_client/models/credits_summary_response.py +47 -21
  105. robosystems_client/models/credits_summary_response_credits_by_addon_type_0_item.py +44 -0
  106. robosystems_client/models/custom_schema_definition.py +7 -14
  107. robosystems_client/models/custom_schema_definition_metadata.py +1 -6
  108. robosystems_client/models/database_health_response.py +11 -11
  109. robosystems_client/models/database_info_response.py +13 -14
  110. robosystems_client/models/email_verification_request.py +60 -0
  111. robosystems_client/models/error_response.py +4 -8
  112. robosystems_client/models/forgot_password_request.py +60 -0
  113. robosystems_client/models/forgot_password_response_forgotpassword.py +44 -0
  114. robosystems_client/models/graph_metadata.py +4 -5
  115. robosystems_client/models/health_status.py +2 -2
  116. robosystems_client/models/repository_credits_response.py +43 -16
  117. robosystems_client/models/resend_verification_email_response_resendverificationemail.py +44 -0
  118. robosystems_client/models/reset_password_request.py +68 -0
  119. robosystems_client/models/reset_password_validate_response.py +82 -0
  120. robosystems_client/models/schema_export_response.py +5 -8
  121. robosystems_client/models/schema_validation_request.py +3 -5
  122. robosystems_client/models/schema_validation_response.py +5 -5
  123. robosystems_client/models/selection_criteria.py +122 -0
  124. robosystems_client/models/success_response.py +1 -1
  125. robosystems_client-0.1.17.dist-info/METADATA +89 -0
  126. {robosystems_client-0.1.15.dist-info → robosystems_client-0.1.17.dist-info}/RECORD +128 -97
  127. robosystems_client-0.1.17.dist-info/licenses/LICENSE +21 -0
  128. robosystems_client/api/agent/query_financial_agent.py +0 -423
  129. robosystems_client-0.1.15.dist-info/METADATA +0 -302
  130. {robosystems_client-0.1.15.dist-info → robosystems_client-0.1.17.dist-info}/WHEEL +0 -0
@@ -13,8 +13,13 @@ from ...types import UNSET, Response, Unset
13
13
 
14
14
  def _get_kwargs(
15
15
  *,
16
+ authorization: Union[None, Unset, str] = UNSET,
16
17
  auth_token: Union[None, Unset, str] = UNSET,
17
18
  ) -> dict[str, Any]:
19
+ headers: dict[str, Any] = {}
20
+ if not isinstance(authorization, Unset):
21
+ headers["authorization"] = authorization
22
+
18
23
  cookies = {}
19
24
  if auth_token is not UNSET:
20
25
  cookies["auth-token"] = auth_token
@@ -25,6 +30,7 @@ def _get_kwargs(
25
30
  "cookies": cookies,
26
31
  }
27
32
 
33
+ _kwargs["headers"] = headers
28
34
  return _kwargs
29
35
 
30
36
 
@@ -63,6 +69,7 @@ def _build_response(
63
69
  def sync_detailed(
64
70
  *,
65
71
  client: Union[AuthenticatedClient, Client],
72
+ authorization: Union[None, Unset, str] = UNSET,
66
73
  auth_token: Union[None, Unset, str] = UNSET,
67
74
  ) -> Response[Union[ErrorResponse, HTTPValidationError, SSOTokenResponse]]:
68
75
  """Generate SSO Token
@@ -70,6 +77,7 @@ def sync_detailed(
70
77
  Generate a temporary SSO token for cross-app authentication.
71
78
 
72
79
  Args:
80
+ authorization (Union[None, Unset, str]):
73
81
  auth_token (Union[None, Unset, str]):
74
82
 
75
83
  Raises:
@@ -81,6 +89,7 @@ def sync_detailed(
81
89
  """
82
90
 
83
91
  kwargs = _get_kwargs(
92
+ authorization=authorization,
84
93
  auth_token=auth_token,
85
94
  )
86
95
 
@@ -94,6 +103,7 @@ def sync_detailed(
94
103
  def sync(
95
104
  *,
96
105
  client: Union[AuthenticatedClient, Client],
106
+ authorization: Union[None, Unset, str] = UNSET,
97
107
  auth_token: Union[None, Unset, str] = UNSET,
98
108
  ) -> Optional[Union[ErrorResponse, HTTPValidationError, SSOTokenResponse]]:
99
109
  """Generate SSO Token
@@ -101,6 +111,7 @@ def sync(
101
111
  Generate a temporary SSO token for cross-app authentication.
102
112
 
103
113
  Args:
114
+ authorization (Union[None, Unset, str]):
104
115
  auth_token (Union[None, Unset, str]):
105
116
 
106
117
  Raises:
@@ -113,6 +124,7 @@ def sync(
113
124
 
114
125
  return sync_detailed(
115
126
  client=client,
127
+ authorization=authorization,
116
128
  auth_token=auth_token,
117
129
  ).parsed
118
130
 
@@ -120,6 +132,7 @@ def sync(
120
132
  async def asyncio_detailed(
121
133
  *,
122
134
  client: Union[AuthenticatedClient, Client],
135
+ authorization: Union[None, Unset, str] = UNSET,
123
136
  auth_token: Union[None, Unset, str] = UNSET,
124
137
  ) -> Response[Union[ErrorResponse, HTTPValidationError, SSOTokenResponse]]:
125
138
  """Generate SSO Token
@@ -127,6 +140,7 @@ async def asyncio_detailed(
127
140
  Generate a temporary SSO token for cross-app authentication.
128
141
 
129
142
  Args:
143
+ authorization (Union[None, Unset, str]):
130
144
  auth_token (Union[None, Unset, str]):
131
145
 
132
146
  Raises:
@@ -138,6 +152,7 @@ async def asyncio_detailed(
138
152
  """
139
153
 
140
154
  kwargs = _get_kwargs(
155
+ authorization=authorization,
141
156
  auth_token=auth_token,
142
157
  )
143
158
 
@@ -149,6 +164,7 @@ async def asyncio_detailed(
149
164
  async def asyncio(
150
165
  *,
151
166
  client: Union[AuthenticatedClient, Client],
167
+ authorization: Union[None, Unset, str] = UNSET,
152
168
  auth_token: Union[None, Unset, str] = UNSET,
153
169
  ) -> Optional[Union[ErrorResponse, HTTPValidationError, SSOTokenResponse]]:
154
170
  """Generate SSO Token
@@ -156,6 +172,7 @@ async def asyncio(
156
172
  Generate a temporary SSO token for cross-app authentication.
157
173
 
158
174
  Args:
175
+ authorization (Union[None, Unset, str]):
159
176
  auth_token (Union[None, Unset, str]):
160
177
 
161
178
  Raises:
@@ -169,6 +186,7 @@ async def asyncio(
169
186
  return (
170
187
  await asyncio_detailed(
171
188
  client=client,
189
+ authorization=authorization,
172
190
  auth_token=auth_token,
173
191
  )
174
192
  ).parsed
@@ -16,20 +16,14 @@ from ...types import UNSET, Response, Unset
16
16
  def _get_kwargs(
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": "/v1/auth/me",
32
- "cookies": cookies,
33
27
  }
34
28
 
35
29
  _kwargs["headers"] = headers
@@ -82,7 +76,6 @@ def sync_detailed(
82
76
  *,
83
77
  client: Union[AuthenticatedClient, Client],
84
78
  authorization: Union[None, Unset, str] = UNSET,
85
- auth_token: Union[None, Unset, str] = UNSET,
86
79
  ) -> Response[
87
80
  Union[
88
81
  ErrorResponse, GetCurrentAuthUserResponseGetcurrentauthuser, HTTPValidationError
@@ -90,11 +83,10 @@ def sync_detailed(
90
83
  ]:
91
84
  """Get Current User
92
85
 
93
- Get current authenticated user from session.
86
+ Get the currently authenticated user.
94
87
 
95
88
  Args:
96
89
  authorization (Union[None, Unset, str]):
97
- auth_token (Union[None, Unset, str]):
98
90
 
99
91
  Raises:
100
92
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -106,7 +98,6 @@ def sync_detailed(
106
98
 
107
99
  kwargs = _get_kwargs(
108
100
  authorization=authorization,
109
- auth_token=auth_token,
110
101
  )
111
102
 
112
103
  response = client.get_httpx_client().request(
@@ -120,7 +111,6 @@ def sync(
120
111
  *,
121
112
  client: Union[AuthenticatedClient, Client],
122
113
  authorization: Union[None, Unset, str] = UNSET,
123
- auth_token: Union[None, Unset, str] = UNSET,
124
114
  ) -> Optional[
125
115
  Union[
126
116
  ErrorResponse, GetCurrentAuthUserResponseGetcurrentauthuser, HTTPValidationError
@@ -128,11 +118,10 @@ def sync(
128
118
  ]:
129
119
  """Get Current User
130
120
 
131
- Get current authenticated user from session.
121
+ Get the currently authenticated user.
132
122
 
133
123
  Args:
134
124
  authorization (Union[None, Unset, str]):
135
- auth_token (Union[None, Unset, str]):
136
125
 
137
126
  Raises:
138
127
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -145,7 +134,6 @@ def sync(
145
134
  return sync_detailed(
146
135
  client=client,
147
136
  authorization=authorization,
148
- auth_token=auth_token,
149
137
  ).parsed
150
138
 
151
139
 
@@ -153,7 +141,6 @@ async def asyncio_detailed(
153
141
  *,
154
142
  client: Union[AuthenticatedClient, Client],
155
143
  authorization: Union[None, Unset, str] = UNSET,
156
- auth_token: Union[None, Unset, str] = UNSET,
157
144
  ) -> Response[
158
145
  Union[
159
146
  ErrorResponse, GetCurrentAuthUserResponseGetcurrentauthuser, HTTPValidationError
@@ -161,11 +148,10 @@ async def asyncio_detailed(
161
148
  ]:
162
149
  """Get Current User
163
150
 
164
- Get current authenticated user from session.
151
+ Get the currently authenticated user.
165
152
 
166
153
  Args:
167
154
  authorization (Union[None, Unset, str]):
168
- auth_token (Union[None, Unset, str]):
169
155
 
170
156
  Raises:
171
157
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -177,7 +163,6 @@ async def asyncio_detailed(
177
163
 
178
164
  kwargs = _get_kwargs(
179
165
  authorization=authorization,
180
- auth_token=auth_token,
181
166
  )
182
167
 
183
168
  response = await client.get_async_httpx_client().request(**kwargs)
@@ -189,7 +174,6 @@ async def asyncio(
189
174
  *,
190
175
  client: Union[AuthenticatedClient, Client],
191
176
  authorization: Union[None, Unset, str] = UNSET,
192
- auth_token: Union[None, Unset, str] = UNSET,
193
177
  ) -> Optional[
194
178
  Union[
195
179
  ErrorResponse, GetCurrentAuthUserResponseGetcurrentauthuser, HTTPValidationError
@@ -197,11 +181,10 @@ async def asyncio(
197
181
  ]:
198
182
  """Get Current User
199
183
 
200
- Get current authenticated user from session.
184
+ Get the currently authenticated user.
201
185
 
202
186
  Args:
203
187
  authorization (Union[None, Unset, str]):
204
- auth_token (Union[None, Unset, str]):
205
188
 
206
189
  Raises:
207
190
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -215,6 +198,5 @@ async def asyncio(
215
198
  await asyncio_detailed(
216
199
  client=client,
217
200
  authorization=authorization,
218
- auth_token=auth_token,
219
201
  )
220
202
  ).parsed
@@ -12,18 +12,18 @@ from ...types import UNSET, Response, Unset
12
12
 
13
13
  def _get_kwargs(
14
14
  *,
15
- auth_token: Union[None, Unset, str] = UNSET,
15
+ authorization: Union[None, Unset, str] = UNSET,
16
16
  ) -> dict[str, Any]:
17
- cookies = {}
18
- if auth_token is not UNSET:
19
- cookies["auth-token"] = auth_token
17
+ headers: dict[str, Any] = {}
18
+ if not isinstance(authorization, Unset):
19
+ headers["authorization"] = authorization
20
20
 
21
21
  _kwargs: dict[str, Any] = {
22
22
  "method": "post",
23
23
  "url": "/v1/auth/logout",
24
- "cookies": cookies,
25
24
  }
26
25
 
26
+ _kwargs["headers"] = headers
27
27
  return _kwargs
28
28
 
29
29
 
@@ -58,14 +58,14 @@ def _build_response(
58
58
  def sync_detailed(
59
59
  *,
60
60
  client: Union[AuthenticatedClient, Client],
61
- auth_token: Union[None, Unset, str] = UNSET,
61
+ authorization: Union[None, Unset, str] = UNSET,
62
62
  ) -> Response[Union[HTTPValidationError, LogoutUserResponseLogoutuser]]:
63
63
  """User Logout
64
64
 
65
65
  Logout user and invalidate session.
66
66
 
67
67
  Args:
68
- auth_token (Union[None, Unset, str]):
68
+ authorization (Union[None, Unset, str]):
69
69
 
70
70
  Raises:
71
71
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -76,7 +76,7 @@ def sync_detailed(
76
76
  """
77
77
 
78
78
  kwargs = _get_kwargs(
79
- auth_token=auth_token,
79
+ authorization=authorization,
80
80
  )
81
81
 
82
82
  response = client.get_httpx_client().request(
@@ -89,14 +89,14 @@ def sync_detailed(
89
89
  def sync(
90
90
  *,
91
91
  client: Union[AuthenticatedClient, Client],
92
- auth_token: Union[None, Unset, str] = UNSET,
92
+ authorization: Union[None, Unset, str] = UNSET,
93
93
  ) -> Optional[Union[HTTPValidationError, LogoutUserResponseLogoutuser]]:
94
94
  """User Logout
95
95
 
96
96
  Logout user and invalidate session.
97
97
 
98
98
  Args:
99
- auth_token (Union[None, Unset, str]):
99
+ authorization (Union[None, Unset, str]):
100
100
 
101
101
  Raises:
102
102
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -108,21 +108,21 @@ def sync(
108
108
 
109
109
  return sync_detailed(
110
110
  client=client,
111
- auth_token=auth_token,
111
+ authorization=authorization,
112
112
  ).parsed
113
113
 
114
114
 
115
115
  async def asyncio_detailed(
116
116
  *,
117
117
  client: Union[AuthenticatedClient, Client],
118
- auth_token: Union[None, Unset, str] = UNSET,
118
+ authorization: Union[None, Unset, str] = UNSET,
119
119
  ) -> Response[Union[HTTPValidationError, LogoutUserResponseLogoutuser]]:
120
120
  """User Logout
121
121
 
122
122
  Logout user and invalidate session.
123
123
 
124
124
  Args:
125
- auth_token (Union[None, Unset, str]):
125
+ authorization (Union[None, Unset, str]):
126
126
 
127
127
  Raises:
128
128
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -133,7 +133,7 @@ async def asyncio_detailed(
133
133
  """
134
134
 
135
135
  kwargs = _get_kwargs(
136
- auth_token=auth_token,
136
+ authorization=authorization,
137
137
  )
138
138
 
139
139
  response = await client.get_async_httpx_client().request(**kwargs)
@@ -144,14 +144,14 @@ async def asyncio_detailed(
144
144
  async def asyncio(
145
145
  *,
146
146
  client: Union[AuthenticatedClient, Client],
147
- auth_token: Union[None, Unset, str] = UNSET,
147
+ authorization: Union[None, Unset, str] = UNSET,
148
148
  ) -> Optional[Union[HTTPValidationError, LogoutUserResponseLogoutuser]]:
149
149
  """User Logout
150
150
 
151
151
  Logout user and invalidate session.
152
152
 
153
153
  Args:
154
- auth_token (Union[None, Unset, str]):
154
+ authorization (Union[None, Unset, str]):
155
155
 
156
156
  Raises:
157
157
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -164,6 +164,6 @@ async def asyncio(
164
164
  return (
165
165
  await asyncio_detailed(
166
166
  client=client,
167
- auth_token=auth_token,
167
+ authorization=authorization,
168
168
  )
169
169
  ).parsed
@@ -13,18 +13,18 @@ from ...types import UNSET, Response, Unset
13
13
 
14
14
  def _get_kwargs(
15
15
  *,
16
- auth_token: Union[None, Unset, str] = UNSET,
16
+ authorization: Union[None, Unset, str] = UNSET,
17
17
  ) -> dict[str, Any]:
18
- cookies = {}
19
- if auth_token is not UNSET:
20
- cookies["auth-token"] = auth_token
18
+ headers: dict[str, Any] = {}
19
+ if not isinstance(authorization, Unset):
20
+ headers["authorization"] = authorization
21
21
 
22
22
  _kwargs: dict[str, Any] = {
23
23
  "method": "post",
24
24
  "url": "/v1/auth/refresh",
25
- "cookies": cookies,
26
25
  }
27
26
 
27
+ _kwargs["headers"] = headers
28
28
  return _kwargs
29
29
 
30
30
 
@@ -63,14 +63,14 @@ def _build_response(
63
63
  def sync_detailed(
64
64
  *,
65
65
  client: Union[AuthenticatedClient, Client],
66
- auth_token: Union[None, Unset, str] = UNSET,
66
+ authorization: Union[None, Unset, str] = UNSET,
67
67
  ) -> Response[Union[AuthResponse, ErrorResponse, HTTPValidationError]]:
68
68
  """Refresh Session
69
69
 
70
- Refresh user session and extend authentication token.
70
+ Refresh authentication session with a new JWT token.
71
71
 
72
72
  Args:
73
- auth_token (Union[None, Unset, str]):
73
+ authorization (Union[None, Unset, str]):
74
74
 
75
75
  Raises:
76
76
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -81,7 +81,7 @@ def sync_detailed(
81
81
  """
82
82
 
83
83
  kwargs = _get_kwargs(
84
- auth_token=auth_token,
84
+ authorization=authorization,
85
85
  )
86
86
 
87
87
  response = client.get_httpx_client().request(
@@ -94,14 +94,14 @@ def sync_detailed(
94
94
  def sync(
95
95
  *,
96
96
  client: Union[AuthenticatedClient, Client],
97
- auth_token: Union[None, Unset, str] = UNSET,
97
+ authorization: Union[None, Unset, str] = UNSET,
98
98
  ) -> Optional[Union[AuthResponse, ErrorResponse, HTTPValidationError]]:
99
99
  """Refresh Session
100
100
 
101
- Refresh user session and extend authentication token.
101
+ Refresh authentication session with a new JWT token.
102
102
 
103
103
  Args:
104
- auth_token (Union[None, Unset, str]):
104
+ authorization (Union[None, Unset, str]):
105
105
 
106
106
  Raises:
107
107
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -113,21 +113,21 @@ def sync(
113
113
 
114
114
  return sync_detailed(
115
115
  client=client,
116
- auth_token=auth_token,
116
+ authorization=authorization,
117
117
  ).parsed
118
118
 
119
119
 
120
120
  async def asyncio_detailed(
121
121
  *,
122
122
  client: Union[AuthenticatedClient, Client],
123
- auth_token: Union[None, Unset, str] = UNSET,
123
+ authorization: Union[None, Unset, str] = UNSET,
124
124
  ) -> Response[Union[AuthResponse, ErrorResponse, HTTPValidationError]]:
125
125
  """Refresh Session
126
126
 
127
- Refresh user session and extend authentication token.
127
+ Refresh authentication session with a new JWT token.
128
128
 
129
129
  Args:
130
- auth_token (Union[None, Unset, str]):
130
+ authorization (Union[None, Unset, str]):
131
131
 
132
132
  Raises:
133
133
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -138,7 +138,7 @@ async def asyncio_detailed(
138
138
  """
139
139
 
140
140
  kwargs = _get_kwargs(
141
- auth_token=auth_token,
141
+ authorization=authorization,
142
142
  )
143
143
 
144
144
  response = await client.get_async_httpx_client().request(**kwargs)
@@ -149,14 +149,14 @@ async def asyncio_detailed(
149
149
  async def asyncio(
150
150
  *,
151
151
  client: Union[AuthenticatedClient, Client],
152
- auth_token: Union[None, Unset, str] = UNSET,
152
+ authorization: Union[None, Unset, str] = UNSET,
153
153
  ) -> Optional[Union[AuthResponse, ErrorResponse, HTTPValidationError]]:
154
154
  """Refresh Session
155
155
 
156
- Refresh user session and extend authentication token.
156
+ Refresh authentication session with a new JWT token.
157
157
 
158
158
  Args:
159
- auth_token (Union[None, Unset, str]):
159
+ authorization (Union[None, Unset, str]):
160
160
 
161
161
  Raises:
162
162
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -169,6 +169,6 @@ async def asyncio(
169
169
  return (
170
170
  await asyncio_detailed(
171
171
  client=client,
172
- auth_token=auth_token,
172
+ authorization=authorization,
173
173
  )
174
174
  ).parsed