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,20 +13,14 @@ from ...types import UNSET, Response, Unset
13
13
  def _get_kwargs(
14
14
  *,
15
15
  authorization: Union[None, Unset, str] = UNSET,
16
- auth_token: Union[None, Unset, str] = UNSET,
17
16
  ) -> dict[str, Any]:
18
17
  headers: dict[str, Any] = {}
19
18
  if not isinstance(authorization, Unset):
20
19
  headers["authorization"] = authorization
21
20
 
22
- cookies = {}
23
- if auth_token is not UNSET:
24
- cookies["auth-token"] = auth_token
25
-
26
21
  _kwargs: dict[str, Any] = {
27
22
  "method": "get",
28
23
  "url": "/v1/user/limits/usage",
29
- "cookies": cookies,
30
24
  }
31
25
 
32
26
  _kwargs["headers"] = headers
@@ -65,7 +59,6 @@ def sync_detailed(
65
59
  *,
66
60
  client: AuthenticatedClient,
67
61
  authorization: Union[None, Unset, str] = UNSET,
68
- auth_token: Union[None, Unset, str] = UNSET,
69
62
  ) -> Response[Union[HTTPValidationError, UserUsageResponse]]:
70
63
  """Get user usage statistics
71
64
 
@@ -73,7 +66,6 @@ def sync_detailed(
73
66
 
74
67
  Args:
75
68
  authorization (Union[None, Unset, str]):
76
- auth_token (Union[None, Unset, str]):
77
69
 
78
70
  Raises:
79
71
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -85,7 +77,6 @@ def sync_detailed(
85
77
 
86
78
  kwargs = _get_kwargs(
87
79
  authorization=authorization,
88
- auth_token=auth_token,
89
80
  )
90
81
 
91
82
  response = client.get_httpx_client().request(
@@ -99,7 +90,6 @@ def sync(
99
90
  *,
100
91
  client: AuthenticatedClient,
101
92
  authorization: Union[None, Unset, str] = UNSET,
102
- auth_token: Union[None, Unset, str] = UNSET,
103
93
  ) -> Optional[Union[HTTPValidationError, UserUsageResponse]]:
104
94
  """Get user usage statistics
105
95
 
@@ -107,7 +97,6 @@ def sync(
107
97
 
108
98
  Args:
109
99
  authorization (Union[None, Unset, str]):
110
- auth_token (Union[None, Unset, str]):
111
100
 
112
101
  Raises:
113
102
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -120,7 +109,6 @@ def sync(
120
109
  return sync_detailed(
121
110
  client=client,
122
111
  authorization=authorization,
123
- auth_token=auth_token,
124
112
  ).parsed
125
113
 
126
114
 
@@ -128,7 +116,6 @@ async def asyncio_detailed(
128
116
  *,
129
117
  client: AuthenticatedClient,
130
118
  authorization: Union[None, Unset, str] = UNSET,
131
- auth_token: Union[None, Unset, str] = UNSET,
132
119
  ) -> Response[Union[HTTPValidationError, UserUsageResponse]]:
133
120
  """Get user usage statistics
134
121
 
@@ -136,7 +123,6 @@ async def asyncio_detailed(
136
123
 
137
124
  Args:
138
125
  authorization (Union[None, Unset, str]):
139
- auth_token (Union[None, Unset, str]):
140
126
 
141
127
  Raises:
142
128
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -148,7 +134,6 @@ async def asyncio_detailed(
148
134
 
149
135
  kwargs = _get_kwargs(
150
136
  authorization=authorization,
151
- auth_token=auth_token,
152
137
  )
153
138
 
154
139
  response = await client.get_async_httpx_client().request(**kwargs)
@@ -160,7 +145,6 @@ async def asyncio(
160
145
  *,
161
146
  client: AuthenticatedClient,
162
147
  authorization: Union[None, Unset, str] = UNSET,
163
- auth_token: Union[None, Unset, str] = UNSET,
164
148
  ) -> Optional[Union[HTTPValidationError, UserUsageResponse]]:
165
149
  """Get user usage statistics
166
150
 
@@ -168,7 +152,6 @@ async def asyncio(
168
152
 
169
153
  Args:
170
154
  authorization (Union[None, Unset, str]):
171
- auth_token (Union[None, Unset, str]):
172
155
 
173
156
  Raises:
174
157
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -182,6 +165,5 @@ async def asyncio(
182
165
  await asyncio_detailed(
183
166
  client=client,
184
167
  authorization=authorization,
185
- auth_token=auth_token,
186
168
  )
187
169
  ).parsed
@@ -14,20 +14,14 @@ def _get_kwargs(
14
14
  subscription_id: str,
15
15
  *,
16
16
  authorization: Union[None, Unset, str] = UNSET,
17
- auth_token: Union[None, Unset, str] = UNSET,
18
17
  ) -> dict[str, Any]:
19
18
  headers: dict[str, Any] = {}
20
19
  if not isinstance(authorization, Unset):
21
20
  headers["authorization"] = authorization
22
21
 
23
- cookies = {}
24
- if auth_token is not UNSET:
25
- cookies["auth-token"] = auth_token
26
-
27
22
  _kwargs: dict[str, Any] = {
28
23
  "method": "delete",
29
24
  "url": f"/v1/user/subscriptions/shared-repositories/{subscription_id}",
30
- "cookies": cookies,
31
25
  }
32
26
 
33
27
  _kwargs["headers"] = headers
@@ -76,7 +70,6 @@ def sync_detailed(
76
70
  *,
77
71
  client: AuthenticatedClient,
78
72
  authorization: Union[None, Unset, str] = UNSET,
79
- auth_token: Union[None, Unset, str] = UNSET,
80
73
  ) -> Response[Union[Any, CancellationResponse, HTTPValidationError]]:
81
74
  """Cancel Subscription
82
75
 
@@ -85,7 +78,6 @@ def sync_detailed(
85
78
  Args:
86
79
  subscription_id (str):
87
80
  authorization (Union[None, Unset, str]):
88
- auth_token (Union[None, Unset, str]):
89
81
 
90
82
  Raises:
91
83
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -98,7 +90,6 @@ def sync_detailed(
98
90
  kwargs = _get_kwargs(
99
91
  subscription_id=subscription_id,
100
92
  authorization=authorization,
101
- auth_token=auth_token,
102
93
  )
103
94
 
104
95
  response = client.get_httpx_client().request(
@@ -113,7 +104,6 @@ def sync(
113
104
  *,
114
105
  client: AuthenticatedClient,
115
106
  authorization: Union[None, Unset, str] = UNSET,
116
- auth_token: Union[None, Unset, str] = UNSET,
117
107
  ) -> Optional[Union[Any, CancellationResponse, HTTPValidationError]]:
118
108
  """Cancel Subscription
119
109
 
@@ -122,7 +112,6 @@ def sync(
122
112
  Args:
123
113
  subscription_id (str):
124
114
  authorization (Union[None, Unset, str]):
125
- auth_token (Union[None, Unset, str]):
126
115
 
127
116
  Raises:
128
117
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -136,7 +125,6 @@ def sync(
136
125
  subscription_id=subscription_id,
137
126
  client=client,
138
127
  authorization=authorization,
139
- auth_token=auth_token,
140
128
  ).parsed
141
129
 
142
130
 
@@ -145,7 +133,6 @@ async def asyncio_detailed(
145
133
  *,
146
134
  client: AuthenticatedClient,
147
135
  authorization: Union[None, Unset, str] = UNSET,
148
- auth_token: Union[None, Unset, str] = UNSET,
149
136
  ) -> Response[Union[Any, CancellationResponse, HTTPValidationError]]:
150
137
  """Cancel Subscription
151
138
 
@@ -154,7 +141,6 @@ async def asyncio_detailed(
154
141
  Args:
155
142
  subscription_id (str):
156
143
  authorization (Union[None, Unset, str]):
157
- auth_token (Union[None, Unset, str]):
158
144
 
159
145
  Raises:
160
146
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -167,7 +153,6 @@ async def asyncio_detailed(
167
153
  kwargs = _get_kwargs(
168
154
  subscription_id=subscription_id,
169
155
  authorization=authorization,
170
- auth_token=auth_token,
171
156
  )
172
157
 
173
158
  response = await client.get_async_httpx_client().request(**kwargs)
@@ -180,7 +165,6 @@ async def asyncio(
180
165
  *,
181
166
  client: AuthenticatedClient,
182
167
  authorization: Union[None, Unset, str] = UNSET,
183
- auth_token: Union[None, Unset, str] = UNSET,
184
168
  ) -> Optional[Union[Any, CancellationResponse, HTTPValidationError]]:
185
169
  """Cancel Subscription
186
170
 
@@ -189,7 +173,6 @@ async def asyncio(
189
173
  Args:
190
174
  subscription_id (str):
191
175
  authorization (Union[None, Unset, str]):
192
- auth_token (Union[None, Unset, str]):
193
176
 
194
177
  Raises:
195
178
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -204,6 +187,5 @@ async def asyncio(
204
187
  subscription_id=subscription_id,
205
188
  client=client,
206
189
  authorization=authorization,
207
- auth_token=auth_token,
208
190
  )
209
191
  ).parsed
@@ -14,20 +14,14 @@ def _get_kwargs(
14
14
  repository: str,
15
15
  *,
16
16
  authorization: Union[None, Unset, str] = UNSET,
17
- auth_token: Union[None, Unset, str] = UNSET,
18
17
  ) -> dict[str, Any]:
19
18
  headers: dict[str, Any] = {}
20
19
  if not isinstance(authorization, Unset):
21
20
  headers["authorization"] = authorization
22
21
 
23
- cookies = {}
24
- if auth_token is not UNSET:
25
- cookies["auth-token"] = auth_token
26
-
27
22
  _kwargs: dict[str, Any] = {
28
23
  "method": "get",
29
24
  "url": f"/v1/user/subscriptions/shared-repositories/credits/{repository}",
30
- "cookies": cookies,
31
25
  }
32
26
 
33
27
  _kwargs["headers"] = headers
@@ -73,7 +67,6 @@ def sync_detailed(
73
67
  *,
74
68
  client: AuthenticatedClient,
75
69
  authorization: Union[None, Unset, str] = UNSET,
76
- auth_token: Union[None, Unset, str] = UNSET,
77
70
  ) -> Response[Union[Any, HTTPValidationError, RepositoryCreditsResponse]]:
78
71
  """Get Repository Credits
79
72
 
@@ -82,7 +75,6 @@ def sync_detailed(
82
75
  Args:
83
76
  repository (str):
84
77
  authorization (Union[None, Unset, str]):
85
- auth_token (Union[None, Unset, str]):
86
78
 
87
79
  Raises:
88
80
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -95,7 +87,6 @@ def sync_detailed(
95
87
  kwargs = _get_kwargs(
96
88
  repository=repository,
97
89
  authorization=authorization,
98
- auth_token=auth_token,
99
90
  )
100
91
 
101
92
  response = client.get_httpx_client().request(
@@ -110,7 +101,6 @@ def sync(
110
101
  *,
111
102
  client: AuthenticatedClient,
112
103
  authorization: Union[None, Unset, str] = UNSET,
113
- auth_token: Union[None, Unset, str] = UNSET,
114
104
  ) -> Optional[Union[Any, HTTPValidationError, RepositoryCreditsResponse]]:
115
105
  """Get Repository Credits
116
106
 
@@ -119,7 +109,6 @@ def sync(
119
109
  Args:
120
110
  repository (str):
121
111
  authorization (Union[None, Unset, str]):
122
- auth_token (Union[None, Unset, str]):
123
112
 
124
113
  Raises:
125
114
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -133,7 +122,6 @@ def sync(
133
122
  repository=repository,
134
123
  client=client,
135
124
  authorization=authorization,
136
- auth_token=auth_token,
137
125
  ).parsed
138
126
 
139
127
 
@@ -142,7 +130,6 @@ async def asyncio_detailed(
142
130
  *,
143
131
  client: AuthenticatedClient,
144
132
  authorization: Union[None, Unset, str] = UNSET,
145
- auth_token: Union[None, Unset, str] = UNSET,
146
133
  ) -> Response[Union[Any, HTTPValidationError, RepositoryCreditsResponse]]:
147
134
  """Get Repository Credits
148
135
 
@@ -151,7 +138,6 @@ async def asyncio_detailed(
151
138
  Args:
152
139
  repository (str):
153
140
  authorization (Union[None, Unset, str]):
154
- auth_token (Union[None, Unset, str]):
155
141
 
156
142
  Raises:
157
143
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -164,7 +150,6 @@ async def asyncio_detailed(
164
150
  kwargs = _get_kwargs(
165
151
  repository=repository,
166
152
  authorization=authorization,
167
- auth_token=auth_token,
168
153
  )
169
154
 
170
155
  response = await client.get_async_httpx_client().request(**kwargs)
@@ -177,7 +162,6 @@ async def asyncio(
177
162
  *,
178
163
  client: AuthenticatedClient,
179
164
  authorization: Union[None, Unset, str] = UNSET,
180
- auth_token: Union[None, Unset, str] = UNSET,
181
165
  ) -> Optional[Union[Any, HTTPValidationError, RepositoryCreditsResponse]]:
182
166
  """Get Repository Credits
183
167
 
@@ -186,7 +170,6 @@ async def asyncio(
186
170
  Args:
187
171
  repository (str):
188
172
  authorization (Union[None, Unset, str]):
189
- auth_token (Union[None, Unset, str]):
190
173
 
191
174
  Raises:
192
175
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -201,6 +184,5 @@ async def asyncio(
201
184
  repository=repository,
202
185
  client=client,
203
186
  authorization=authorization,
204
- auth_token=auth_token,
205
187
  )
206
188
  ).parsed
@@ -13,20 +13,14 @@ from ...types import UNSET, Response, Unset
13
13
  def _get_kwargs(
14
14
  *,
15
15
  authorization: Union[None, Unset, str] = UNSET,
16
- auth_token: Union[None, Unset, str] = UNSET,
17
16
  ) -> dict[str, Any]:
18
17
  headers: dict[str, Any] = {}
19
18
  if not isinstance(authorization, Unset):
20
19
  headers["authorization"] = authorization
21
20
 
22
- cookies = {}
23
- if auth_token is not UNSET:
24
- cookies["auth-token"] = auth_token
25
-
26
21
  _kwargs: dict[str, Any] = {
27
22
  "method": "get",
28
23
  "url": "/v1/user/subscriptions/shared-repositories/credits",
29
- "cookies": cookies,
30
24
  }
31
25
 
32
26
  _kwargs["headers"] = headers
@@ -71,7 +65,6 @@ def sync_detailed(
71
65
  *,
72
66
  client: AuthenticatedClient,
73
67
  authorization: Union[None, Unset, str] = UNSET,
74
- auth_token: Union[None, Unset, str] = UNSET,
75
68
  ) -> Response[Union[Any, CreditsSummaryResponse, HTTPValidationError]]:
76
69
  """Get Credit Balances
77
70
 
@@ -79,7 +72,6 @@ def sync_detailed(
79
72
 
80
73
  Args:
81
74
  authorization (Union[None, Unset, str]):
82
- auth_token (Union[None, Unset, str]):
83
75
 
84
76
  Raises:
85
77
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -91,7 +83,6 @@ def sync_detailed(
91
83
 
92
84
  kwargs = _get_kwargs(
93
85
  authorization=authorization,
94
- auth_token=auth_token,
95
86
  )
96
87
 
97
88
  response = client.get_httpx_client().request(
@@ -105,7 +96,6 @@ def sync(
105
96
  *,
106
97
  client: AuthenticatedClient,
107
98
  authorization: Union[None, Unset, str] = UNSET,
108
- auth_token: Union[None, Unset, str] = UNSET,
109
99
  ) -> Optional[Union[Any, CreditsSummaryResponse, HTTPValidationError]]:
110
100
  """Get Credit Balances
111
101
 
@@ -113,7 +103,6 @@ def sync(
113
103
 
114
104
  Args:
115
105
  authorization (Union[None, Unset, str]):
116
- auth_token (Union[None, Unset, str]):
117
106
 
118
107
  Raises:
119
108
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -126,7 +115,6 @@ def sync(
126
115
  return sync_detailed(
127
116
  client=client,
128
117
  authorization=authorization,
129
- auth_token=auth_token,
130
118
  ).parsed
131
119
 
132
120
 
@@ -134,7 +122,6 @@ async def asyncio_detailed(
134
122
  *,
135
123
  client: AuthenticatedClient,
136
124
  authorization: Union[None, Unset, str] = UNSET,
137
- auth_token: Union[None, Unset, str] = UNSET,
138
125
  ) -> Response[Union[Any, CreditsSummaryResponse, HTTPValidationError]]:
139
126
  """Get Credit Balances
140
127
 
@@ -142,7 +129,6 @@ async def asyncio_detailed(
142
129
 
143
130
  Args:
144
131
  authorization (Union[None, Unset, str]):
145
- auth_token (Union[None, Unset, str]):
146
132
 
147
133
  Raises:
148
134
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -154,7 +140,6 @@ async def asyncio_detailed(
154
140
 
155
141
  kwargs = _get_kwargs(
156
142
  authorization=authorization,
157
- auth_token=auth_token,
158
143
  )
159
144
 
160
145
  response = await client.get_async_httpx_client().request(**kwargs)
@@ -166,7 +151,6 @@ async def asyncio(
166
151
  *,
167
152
  client: AuthenticatedClient,
168
153
  authorization: Union[None, Unset, str] = UNSET,
169
- auth_token: Union[None, Unset, str] = UNSET,
170
154
  ) -> Optional[Union[Any, CreditsSummaryResponse, HTTPValidationError]]:
171
155
  """Get Credit Balances
172
156
 
@@ -174,7 +158,6 @@ async def asyncio(
174
158
 
175
159
  Args:
176
160
  authorization (Union[None, Unset, str]):
177
- auth_token (Union[None, Unset, str]):
178
161
 
179
162
  Raises:
180
163
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -188,6 +171,5 @@ async def asyncio(
188
171
  await asyncio_detailed(
189
172
  client=client,
190
173
  authorization=authorization,
191
- auth_token=auth_token,
192
174
  )
193
175
  ).parsed
@@ -14,16 +14,11 @@ def _get_kwargs(
14
14
  *,
15
15
  active_only: Union[Unset, bool] = True,
16
16
  authorization: Union[None, Unset, str] = UNSET,
17
- auth_token: Union[None, Unset, str] = UNSET,
18
17
  ) -> dict[str, Any]:
19
18
  headers: dict[str, Any] = {}
20
19
  if not isinstance(authorization, Unset):
21
20
  headers["authorization"] = authorization
22
21
 
23
- cookies = {}
24
- if auth_token is not UNSET:
25
- cookies["auth-token"] = auth_token
26
-
27
22
  params: dict[str, Any] = {}
28
23
 
29
24
  params["active_only"] = active_only
@@ -34,7 +29,6 @@ def _get_kwargs(
34
29
  "method": "get",
35
30
  "url": "/v1/user/subscriptions/shared-repositories",
36
31
  "params": params,
37
- "cookies": cookies,
38
32
  }
39
33
 
40
34
  _kwargs["headers"] = headers
@@ -80,7 +74,6 @@ def sync_detailed(
80
74
  client: AuthenticatedClient,
81
75
  active_only: Union[Unset, bool] = True,
82
76
  authorization: Union[None, Unset, str] = UNSET,
83
- auth_token: Union[None, Unset, str] = UNSET,
84
77
  ) -> Response[Union[Any, HTTPValidationError, UserSubscriptionsResponse]]:
85
78
  """Get User Subscriptions
86
79
 
@@ -89,7 +82,6 @@ def sync_detailed(
89
82
  Args:
90
83
  active_only (Union[Unset, bool]): Only return active subscriptions Default: True.
91
84
  authorization (Union[None, Unset, str]):
92
- auth_token (Union[None, Unset, str]):
93
85
 
94
86
  Raises:
95
87
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -102,7 +94,6 @@ def sync_detailed(
102
94
  kwargs = _get_kwargs(
103
95
  active_only=active_only,
104
96
  authorization=authorization,
105
- auth_token=auth_token,
106
97
  )
107
98
 
108
99
  response = client.get_httpx_client().request(
@@ -117,7 +108,6 @@ def sync(
117
108
  client: AuthenticatedClient,
118
109
  active_only: Union[Unset, bool] = True,
119
110
  authorization: Union[None, Unset, str] = UNSET,
120
- auth_token: Union[None, Unset, str] = UNSET,
121
111
  ) -> Optional[Union[Any, HTTPValidationError, UserSubscriptionsResponse]]:
122
112
  """Get User Subscriptions
123
113
 
@@ -126,7 +116,6 @@ def sync(
126
116
  Args:
127
117
  active_only (Union[Unset, bool]): Only return active subscriptions Default: True.
128
118
  authorization (Union[None, Unset, str]):
129
- auth_token (Union[None, Unset, str]):
130
119
 
131
120
  Raises:
132
121
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -140,7 +129,6 @@ def sync(
140
129
  client=client,
141
130
  active_only=active_only,
142
131
  authorization=authorization,
143
- auth_token=auth_token,
144
132
  ).parsed
145
133
 
146
134
 
@@ -149,7 +137,6 @@ async def asyncio_detailed(
149
137
  client: AuthenticatedClient,
150
138
  active_only: Union[Unset, bool] = True,
151
139
  authorization: Union[None, Unset, str] = UNSET,
152
- auth_token: Union[None, Unset, str] = UNSET,
153
140
  ) -> Response[Union[Any, HTTPValidationError, UserSubscriptionsResponse]]:
154
141
  """Get User Subscriptions
155
142
 
@@ -158,7 +145,6 @@ async def asyncio_detailed(
158
145
  Args:
159
146
  active_only (Union[Unset, bool]): Only return active subscriptions Default: True.
160
147
  authorization (Union[None, Unset, str]):
161
- auth_token (Union[None, Unset, str]):
162
148
 
163
149
  Raises:
164
150
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -171,7 +157,6 @@ async def asyncio_detailed(
171
157
  kwargs = _get_kwargs(
172
158
  active_only=active_only,
173
159
  authorization=authorization,
174
- auth_token=auth_token,
175
160
  )
176
161
 
177
162
  response = await client.get_async_httpx_client().request(**kwargs)
@@ -184,7 +169,6 @@ async def asyncio(
184
169
  client: AuthenticatedClient,
185
170
  active_only: Union[Unset, bool] = True,
186
171
  authorization: Union[None, Unset, str] = UNSET,
187
- auth_token: Union[None, Unset, str] = UNSET,
188
172
  ) -> Optional[Union[Any, HTTPValidationError, UserSubscriptionsResponse]]:
189
173
  """Get User Subscriptions
190
174
 
@@ -193,7 +177,6 @@ async def asyncio(
193
177
  Args:
194
178
  active_only (Union[Unset, bool]): Only return active subscriptions Default: True.
195
179
  authorization (Union[None, Unset, str]):
196
- auth_token (Union[None, Unset, str]):
197
180
 
198
181
  Raises:
199
182
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -208,6 +191,5 @@ async def asyncio(
208
191
  client=client,
209
192
  active_only=active_only,
210
193
  authorization=authorization,
211
- auth_token=auth_token,
212
194
  )
213
195
  ).parsed
@@ -15,20 +15,14 @@ def _get_kwargs(
15
15
  *,
16
16
  body: SubscriptionRequest,
17
17
  authorization: Union[None, Unset, str] = UNSET,
18
- auth_token: Union[None, Unset, str] = UNSET,
19
18
  ) -> dict[str, Any]:
20
19
  headers: dict[str, Any] = {}
21
20
  if not isinstance(authorization, Unset):
22
21
  headers["authorization"] = authorization
23
22
 
24
- cookies = {}
25
- if auth_token is not UNSET:
26
- cookies["auth-token"] = auth_token
27
-
28
23
  _kwargs: dict[str, Any] = {
29
24
  "method": "post",
30
25
  "url": "/v1/user/subscriptions/shared-repositories/subscribe",
31
- "cookies": cookies,
32
26
  }
33
27
 
34
28
  _kwargs["json"] = body.to_dict()
@@ -81,7 +75,6 @@ def sync_detailed(
81
75
  client: AuthenticatedClient,
82
76
  body: SubscriptionRequest,
83
77
  authorization: Union[None, Unset, str] = UNSET,
84
- auth_token: Union[None, Unset, str] = UNSET,
85
78
  ) -> Response[Union[Any, HTTPValidationError, SubscriptionResponse]]:
86
79
  """Subscribe to Shared Repository
87
80
 
@@ -89,7 +82,6 @@ def sync_detailed(
89
82
 
90
83
  Args:
91
84
  authorization (Union[None, Unset, str]):
92
- auth_token (Union[None, Unset, str]):
93
85
  body (SubscriptionRequest): Request to create a new subscription.
94
86
 
95
87
  Raises:
@@ -103,7 +95,6 @@ def sync_detailed(
103
95
  kwargs = _get_kwargs(
104
96
  body=body,
105
97
  authorization=authorization,
106
- auth_token=auth_token,
107
98
  )
108
99
 
109
100
  response = client.get_httpx_client().request(
@@ -118,7 +109,6 @@ def sync(
118
109
  client: AuthenticatedClient,
119
110
  body: SubscriptionRequest,
120
111
  authorization: Union[None, Unset, str] = UNSET,
121
- auth_token: Union[None, Unset, str] = UNSET,
122
112
  ) -> Optional[Union[Any, HTTPValidationError, SubscriptionResponse]]:
123
113
  """Subscribe to Shared Repository
124
114
 
@@ -126,7 +116,6 @@ def sync(
126
116
 
127
117
  Args:
128
118
  authorization (Union[None, Unset, str]):
129
- auth_token (Union[None, Unset, str]):
130
119
  body (SubscriptionRequest): Request to create a new subscription.
131
120
 
132
121
  Raises:
@@ -141,7 +130,6 @@ def sync(
141
130
  client=client,
142
131
  body=body,
143
132
  authorization=authorization,
144
- auth_token=auth_token,
145
133
  ).parsed
146
134
 
147
135
 
@@ -150,7 +138,6 @@ async def asyncio_detailed(
150
138
  client: AuthenticatedClient,
151
139
  body: SubscriptionRequest,
152
140
  authorization: Union[None, Unset, str] = UNSET,
153
- auth_token: Union[None, Unset, str] = UNSET,
154
141
  ) -> Response[Union[Any, HTTPValidationError, SubscriptionResponse]]:
155
142
  """Subscribe to Shared Repository
156
143
 
@@ -158,7 +145,6 @@ async def asyncio_detailed(
158
145
 
159
146
  Args:
160
147
  authorization (Union[None, Unset, str]):
161
- auth_token (Union[None, Unset, str]):
162
148
  body (SubscriptionRequest): Request to create a new subscription.
163
149
 
164
150
  Raises:
@@ -172,7 +158,6 @@ async def asyncio_detailed(
172
158
  kwargs = _get_kwargs(
173
159
  body=body,
174
160
  authorization=authorization,
175
- auth_token=auth_token,
176
161
  )
177
162
 
178
163
  response = await client.get_async_httpx_client().request(**kwargs)
@@ -185,7 +170,6 @@ async def asyncio(
185
170
  client: AuthenticatedClient,
186
171
  body: SubscriptionRequest,
187
172
  authorization: Union[None, Unset, str] = UNSET,
188
- auth_token: Union[None, Unset, str] = UNSET,
189
173
  ) -> Optional[Union[Any, HTTPValidationError, SubscriptionResponse]]:
190
174
  """Subscribe to Shared Repository
191
175
 
@@ -193,7 +177,6 @@ async def asyncio(
193
177
 
194
178
  Args:
195
179
  authorization (Union[None, Unset, str]):
196
- auth_token (Union[None, Unset, str]):
197
180
  body (SubscriptionRequest): Request to create a new subscription.
198
181
 
199
182
  Raises:
@@ -209,6 +192,5 @@ async def asyncio(
209
192
  client=client,
210
193
  body=body,
211
194
  authorization=authorization,
212
- auth_token=auth_token,
213
195
  )
214
196
  ).parsed