Skip to content

Commit 3b24ba9

Browse files
committed
SDK Release v1.46.2-alpha
1 parent d8f7c37 commit 3b24ba9

13 files changed

Lines changed: 127 additions & 126 deletions

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ To contribute, please raise an issue with a bug report, feature request, feedbac
88
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
99

1010
- API version: 1.0
11-
- Package version: v1.46.1-alpha
11+
- Package version: v1.46.2-alpha
1212
- Generator version: 7.10.0
1313
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
1414

@@ -122,9 +122,9 @@ Class | Method | HTTP request | Description
122122
*AssigningMemberRoleApi* | [**remove_rbac_role_from_user**](docs/AssigningMemberRoleApi.md#remove_rbac_role_from_user) | **DELETE** /auth/users/{user_id}/roles | Remove RBAC Role From User
123123
*AuthApi* | [**change_organization_for_token**](docs/AuthApi.md#change_organization_for_token) | **GET** /auth/token/change-org/{org_id} |
124124
*AuthApi* | [**disable_mfa**](docs/AuthApi.md#disable_mfa) | **GET** /auth/me/mfa/disable |
125-
*AuthApi* | [**get_authenticated_user**](docs/AuthApi.md#get_authenticated_user) | **GET** /auth/me | Retrieve Authenticated User Details
126125
*AuthApi* | [**get_user_mfa_status**](docs/AuthApi.md#get_user_mfa_status) | **GET** /auth/me/mfa | Get MFA status for authenticated user
127126
*AuthApi* | [**get_user_organizations**](docs/AuthApi.md#get_user_organizations) | **GET** /auth/me/organizations | Get User Organizations
127+
*AuthApi* | [**retrieve_authenticated_user_details**](docs/AuthApi.md#retrieve_authenticated_user_details) | **GET** /auth/me | Retrieve Authenticated User Details
128128
*BetaAccessApi* | [**create_beta_access_request**](docs/BetaAccessApi.md#create_beta_access_request) | **POST** /auth/beta-access/requests | Create a new beta access request
129129
*BetaAccessApi* | [**get_beta_access_requests**](docs/BetaAccessApi.md#get_beta_access_requests) | **GET** /auth/beta-access/requests/{program} | Check the status of beta access requests
130130
*BetaAccessApi* | [**get_beta_access_status**](docs/BetaAccessApi.md#get_beta_access_status) | **GET** /auth/beta-access/requests | Check the status of all beta access requests

docs/AuthApi.md

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ Method | HTTP request | Description
66
------------- | ------------- | -------------
77
[**change_organization_for_token**](AuthApi.md#change_organization_for_token) | **GET** /auth/token/change-org/{org_id} |
88
[**disable_mfa**](AuthApi.md#disable_mfa) | **GET** /auth/me/mfa/disable |
9-
[**get_authenticated_user**](AuthApi.md#get_authenticated_user) | **GET** /auth/me | Retrieve Authenticated User Details
109
[**get_user_mfa_status**](AuthApi.md#get_user_mfa_status) | **GET** /auth/me/mfa | Get MFA status for authenticated user
1110
[**get_user_organizations**](AuthApi.md#get_user_organizations) | **GET** /auth/me/organizations | Get User Organizations
11+
[**retrieve_authenticated_user_details**](AuthApi.md#retrieve_authenticated_user_details) | **GET** /auth/me | Retrieve Authenticated User Details
1212

1313

1414
# **change_organization_for_token**
@@ -170,20 +170,20 @@ This endpoint does not need any parameter.
170170

171171
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
172172

173-
# **get_authenticated_user**
174-
> AuthUserInfoResponseModel get_authenticated_user()
173+
# **get_user_mfa_status**
174+
> MFAStatusResponse get_user_mfa_status()
175175
176-
Retrieve Authenticated User Details
176+
Get MFA status for authenticated user
177177

178-
Retrieves detailed information about the currently authenticated user. For additional information, [**click here**](https://docs.hyperstack.cloud/docs/api-reference/auth-resources/auth).
178+
Retrieve the Multi-Factor Authentication (MFA) status for the currentlyauthenticated user. Includes whether MFA is enabled.
179179

180180
### Example
181181

182182
* Api Key Authentication (apiKey):
183183

184184
```python
185185
import hyperstack
186-
from hyperstack.models.auth_user_info_response_model import AuthUserInfoResponseModel
186+
from hyperstack.models.mfa_status_response import MFAStatusResponse
187187
from hyperstack.rest import ApiException
188188
from pprint import pprint
189189

@@ -210,12 +210,12 @@ with hyperstack.ApiClient(configuration) as api_client:
210210
api_instance = hyperstack.AuthApi(api_client)
211211

212212
try:
213-
# Retrieve Authenticated User Details
214-
api_response = api_instance.get_authenticated_user()
215-
print("The response of AuthApi->get_authenticated_user:\n")
213+
# Get MFA status for authenticated user
214+
api_response = api_instance.get_user_mfa_status()
215+
print("The response of AuthApi->get_user_mfa_status:\n")
216216
pprint(api_response)
217217
except Exception as e:
218-
print("Exception when calling AuthApi->get_authenticated_user: %s\n" % e)
218+
print("Exception when calling AuthApi->get_user_mfa_status: %s\n" % e)
219219
```
220220

221221

@@ -226,7 +226,7 @@ This endpoint does not need any parameter.
226226

227227
### Return type
228228

229-
[**AuthUserInfoResponseModel**](AuthUserInfoResponseModel.md)
229+
[**MFAStatusResponse**](MFAStatusResponse.md)
230230

231231
### Authorization
232232

@@ -241,27 +241,27 @@ This endpoint does not need any parameter.
241241

242242
| Status code | Description | Response headers |
243243
|-------------|-------------|------------------|
244-
**200** | User Information | - |
245-
**400** | Bad Request | - |
244+
**200** | MFA Status | - |
246245
**401** | Unauthorized | - |
246+
**404** | User not found | - |
247247
**500** | Internal Server Error | - |
248248

249249
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
250250

251-
# **get_user_mfa_status**
252-
> MFAStatusResponse get_user_mfa_status()
251+
# **get_user_organizations**
252+
> UserOrganizationsResponse get_user_organizations()
253253
254-
Get MFA status for authenticated user
254+
Get User Organizations
255255

256-
Retrieve the Multi-Factor Authentication (MFA) status for the currentlyauthenticated user. Includes whether MFA is enabled.
256+
Retrieve the organizations associated with a user by their user ID. This endpoint is useful for understanding the user's organizational affiliations.
257257

258258
### Example
259259

260260
* Api Key Authentication (apiKey):
261261

262262
```python
263263
import hyperstack
264-
from hyperstack.models.mfa_status_response import MFAStatusResponse
264+
from hyperstack.models.user_organizations_response import UserOrganizationsResponse
265265
from hyperstack.rest import ApiException
266266
from pprint import pprint
267267

@@ -288,12 +288,12 @@ with hyperstack.ApiClient(configuration) as api_client:
288288
api_instance = hyperstack.AuthApi(api_client)
289289

290290
try:
291-
# Get MFA status for authenticated user
292-
api_response = api_instance.get_user_mfa_status()
293-
print("The response of AuthApi->get_user_mfa_status:\n")
291+
# Get User Organizations
292+
api_response = api_instance.get_user_organizations()
293+
print("The response of AuthApi->get_user_organizations:\n")
294294
pprint(api_response)
295295
except Exception as e:
296-
print("Exception when calling AuthApi->get_user_mfa_status: %s\n" % e)
296+
print("Exception when calling AuthApi->get_user_organizations: %s\n" % e)
297297
```
298298

299299

@@ -304,7 +304,7 @@ This endpoint does not need any parameter.
304304

305305
### Return type
306306

307-
[**MFAStatusResponse**](MFAStatusResponse.md)
307+
[**UserOrganizationsResponse**](UserOrganizationsResponse.md)
308308

309309
### Authorization
310310

@@ -319,27 +319,28 @@ This endpoint does not need any parameter.
319319

320320
| Status code | Description | Response headers |
321321
|-------------|-------------|------------------|
322-
**200** | MFA Status | - |
322+
**200** | Success | - |
323+
**400** | Bad Request | - |
323324
**401** | Unauthorized | - |
324-
**404** | User not found | - |
325+
**404** | Not Found | - |
325326
**500** | Internal Server Error | - |
326327

327328
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
328329

329-
# **get_user_organizations**
330-
> UserOrganizationsResponse get_user_organizations()
330+
# **retrieve_authenticated_user_details**
331+
> AuthUserInfoResponseModel retrieve_authenticated_user_details()
331332
332-
Get User Organizations
333+
Retrieve Authenticated User Details
333334

334-
Retrieve the organizations associated with a user by their user ID. This endpoint is useful for understanding the user's organizational affiliations.
335+
Retrieves detailed information about the currently authenticated user. For additional information, [**click here**](https://docs.hyperstack.cloud/docs/api-reference/auth-resources/auth).
335336

336337
### Example
337338

338339
* Api Key Authentication (apiKey):
339340

340341
```python
341342
import hyperstack
342-
from hyperstack.models.user_organizations_response import UserOrganizationsResponse
343+
from hyperstack.models.auth_user_info_response_model import AuthUserInfoResponseModel
343344
from hyperstack.rest import ApiException
344345
from pprint import pprint
345346

@@ -366,12 +367,12 @@ with hyperstack.ApiClient(configuration) as api_client:
366367
api_instance = hyperstack.AuthApi(api_client)
367368

368369
try:
369-
# Get User Organizations
370-
api_response = api_instance.get_user_organizations()
371-
print("The response of AuthApi->get_user_organizations:\n")
370+
# Retrieve Authenticated User Details
371+
api_response = api_instance.retrieve_authenticated_user_details()
372+
print("The response of AuthApi->retrieve_authenticated_user_details:\n")
372373
pprint(api_response)
373374
except Exception as e:
374-
print("Exception when calling AuthApi->get_user_organizations: %s\n" % e)
375+
print("Exception when calling AuthApi->retrieve_authenticated_user_details: %s\n" % e)
375376
```
376377

377378

@@ -382,7 +383,7 @@ This endpoint does not need any parameter.
382383

383384
### Return type
384385

385-
[**UserOrganizationsResponse**](UserOrganizationsResponse.md)
386+
[**AuthUserInfoResponseModel**](AuthUserInfoResponseModel.md)
386387

387388
### Authorization
388389

@@ -397,10 +398,9 @@ This endpoint does not need any parameter.
397398

398399
| Status code | Description | Response headers |
399400
|-------------|-------------|------------------|
400-
**200** | Success | - |
401+
**200** | User Information | - |
401402
**400** | Bad Request | - |
402403
**401** | Unauthorized | - |
403-
**404** | Not Found | - |
404404
**500** | Internal Server Error | - |
405405

406406
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

hyperstack/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
""" # noqa: E501
1515

1616

17-
__version__ = "v1.46.1-alpha"
17+
__version__ = "v1.46.2-alpha"
1818

1919
# import apis into sdk package
2020
from .api.calculate_api import CalculateApi

hyperstack/__init__.py.bak

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
""" # noqa: E501
1515

1616

17-
__version__ = "v1.46.1-alpha"
17+
__version__ = "v1.46.2-alpha"
1818

1919
# import apis into sdk package
2020
from hyperstack.api.calculate_api import CalculateApi

0 commit comments

Comments
 (0)