hyperstack 1.43.0a0__py3-none-any.whl → 1.46.1a0__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.
Files changed (47) hide show
  1. hyperstack/__init__.py +7 -2
  2. hyperstack/api/__init__.py +2 -1
  3. hyperstack/api/alive_api.py +10 -10
  4. hyperstack/api/api_key_api.py +7 -7
  5. hyperstack/api/auth_api.py +69 -69
  6. hyperstack/api/beta_access_api.py +50 -50
  7. hyperstack/api/billing_api.py +1659 -1659
  8. hyperstack/api/calculate_api.py +7 -7
  9. hyperstack/api/callbacks_api.py +21 -21
  10. hyperstack/api/cluster_events_api.py +7 -7
  11. hyperstack/api/clusters_api.py +669 -370
  12. hyperstack/api/compliance_api.py +21 -21
  13. hyperstack/api/credit_api.py +7 -7
  14. hyperstack/api/customer_contract_api.py +139 -139
  15. hyperstack/api/dashboard_api.py +7 -7
  16. hyperstack/api/deployment_api.py +7 -7
  17. hyperstack/api/environment_api.py +107 -107
  18. hyperstack/api/{admin_api.py → fip_exclusions_api.py} +44 -28
  19. hyperstack/api/firewall_attachment_api.py +7 -7
  20. hyperstack/api/firewalls_api.py +145 -145
  21. hyperstack/api/floating_ip_api.py +14 -14
  22. hyperstack/api/image_api.py +14 -14
  23. hyperstack/api/payment_api.py +102 -102
  24. hyperstack/api/profile_api.py +56 -56
  25. hyperstack/api/snapshot_events_api.py +7 -7
  26. hyperstack/api/snapshots_api.py +167 -167
  27. hyperstack/api/stock_api.py +7 -7
  28. hyperstack/api/template_api.py +76 -76
  29. hyperstack/api/user_api.py +76 -76
  30. hyperstack/api/user_detail_choice_api.py +10 -10
  31. hyperstack/api/virtual_machine_api.py +799 -782
  32. hyperstack/api/virtual_machine_events_api.py +7 -7
  33. hyperstack/api/vnc_url_api.py +53 -53
  34. hyperstack/api/volume_api.py +77 -77
  35. hyperstack/api/volume_attachment_api.py +21 -21
  36. hyperstack/api/vouchers_api.py +326 -0
  37. hyperstack/api_client.py +1 -1
  38. hyperstack/configuration.py +1 -1
  39. hyperstack/models/__init__.py +4 -0
  40. hyperstack/models/delete_cluster_nodes_fields.py +87 -0
  41. hyperstack/models/redeem_voucher_payload.py +87 -0
  42. hyperstack/models/voucher.py +91 -0
  43. hyperstack/models/voucher_redeem_response_schema.py +95 -0
  44. {hyperstack-1.43.0a0.dist-info → hyperstack-1.46.1a0.dist-info}/METADATA +1 -1
  45. {hyperstack-1.43.0a0.dist-info → hyperstack-1.46.1a0.dist-info}/RECORD +47 -42
  46. {hyperstack-1.43.0a0.dist-info → hyperstack-1.46.1a0.dist-info}/WHEEL +0 -0
  47. {hyperstack-1.43.0a0.dist-info → hyperstack-1.46.1a0.dist-info}/top_level.txt +0 -0
hyperstack/__init__.py CHANGED
@@ -14,14 +14,14 @@
14
14
  """ # noqa: E501
15
15
 
16
16
 
17
- __version__ = "v1.43.0-alpha"
17
+ __version__ = "v1.46.1-alpha"
18
18
 
19
19
  # import apis into sdk package
20
20
  from .api.calculate_api import CalculateApi
21
21
  from .api.customer_contract_api import CustomerContractApi
22
+ from .api.fip_exclusions_api import FIPExclusionsApi
22
23
  from .api.pricebook_api import PricebookApi
23
24
  from .api.snapshots_api import SnapshotsApi
24
- from .api.admin_api import AdminApi
25
25
  from .api.alive_api import AliveApi
26
26
  from .api.api_key_api import ApiKeyApi
27
27
  from .api.assigning_member_role_api import AssigningMemberRoleApi
@@ -64,6 +64,7 @@ from .api.virtual_machine_events_api import VirtualMachineEventsApi
64
64
  from .api.vnc_url_api import VncUrlApi
65
65
  from .api.volume_api import VolumeApi
66
66
  from .api.volume_attachment_api import VolumeAttachmentApi
67
+ from .api.vouchers_api import VouchersApi
67
68
 
68
69
  # import ApiClient
69
70
  from .api_response import ApiResponse
@@ -156,6 +157,7 @@ from .models.customer_contract_detail_response_model import CustomerContractDeta
156
157
  from .models.customer_contract_fields import CustomerContractFields
157
158
  from .models.dashboard_info_response import DashboardInfoResponse
158
159
  from .models.data_synthesis_billing_history_details_response_schema import DataSynthesisBillingHistoryDetailsResponseSchema
160
+ from .models.delete_cluster_nodes_fields import DeleteClusterNodesFields
159
161
  from .models.deployment_fields import DeploymentFields
160
162
  from .models.deployment_fields_for_start_deployments import DeploymentFieldsForStartDeployments
161
163
  from .models.deployments import Deployments
@@ -272,6 +274,7 @@ from .models.rbac_role_detail_response_model import RbacRoleDetailResponseModel
272
274
  from .models.rbac_role_detail_response_model_fixed import RbacRoleDetailResponseModelFixed
273
275
  from .models.rbac_role_field import RbacRoleField
274
276
  from .models.rbac_role_fields import RbacRoleFields
277
+ from .models.redeem_voucher_payload import RedeemVoucherPayload
275
278
  from .models.region_fields import RegionFields
276
279
  from .models.regions import Regions
277
280
  from .models.remove_member_from_organization_response_model import RemoveMemberFromOrganizationResponseModel
@@ -368,4 +371,6 @@ from .models.volume_overview_fields import VolumeOverviewFields
368
371
  from .models.volume_types import VolumeTypes
369
372
  from .models.volumes import Volumes
370
373
  from .models.volumes_fields import VolumesFields
374
+ from .models.voucher import Voucher
375
+ from .models.voucher_redeem_response_schema import VoucherRedeemResponseSchema
371
376
  from .models.workload_billing_history_response import WorkloadBillingHistoryResponse
@@ -3,9 +3,9 @@
3
3
  # import apis into api package
4
4
  from .calculate_api import CalculateApi
5
5
  from .customer_contract_api import CustomerContractApi
6
+ from .fip_exclusions_api import FIPExclusionsApi
6
7
  from .pricebook_api import PricebookApi
7
8
  from .snapshots_api import SnapshotsApi
8
- from .admin_api import AdminApi
9
9
  from .alive_api import AliveApi
10
10
  from .api_key_api import ApiKeyApi
11
11
  from .assigning_member_role_api import AssigningMemberRoleApi
@@ -48,4 +48,5 @@ from .virtual_machine_events_api import VirtualMachineEventsApi
48
48
  from .vnc_url_api import VncUrlApi
49
49
  from .volume_api import VolumeApi
50
50
  from .volume_attachment_api import VolumeAttachmentApi
51
+ from .vouchers_api import VouchersApi
51
52
 
@@ -275,7 +275,7 @@ class AliveApi:
275
275
 
276
276
 
277
277
  @validate_call
278
- def get_doc(
278
+ def get_alive_doc(
279
279
  self,
280
280
  _request_timeout: Union[
281
281
  None,
@@ -290,7 +290,7 @@ class AliveApi:
290
290
  _headers: Optional[Dict[StrictStr, Any]] = None,
291
291
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
292
292
  ) -> None:
293
- """get_doc
293
+ """get_alive_doc
294
294
 
295
295
 
296
296
  :param _request_timeout: timeout setting for this request. If one
@@ -315,7 +315,7 @@ class AliveApi:
315
315
  :return: Returns the result object.
316
316
  """ # noqa: E501
317
317
 
318
- _param = self._get_doc_serialize(
318
+ _param = self._get_alive_doc_serialize(
319
319
  _request_auth=_request_auth,
320
320
  _content_type=_content_type,
321
321
  _headers=_headers,
@@ -337,7 +337,7 @@ class AliveApi:
337
337
 
338
338
 
339
339
  @validate_call
340
- def get_doc_with_http_info(
340
+ def get_alive_doc_with_http_info(
341
341
  self,
342
342
  _request_timeout: Union[
343
343
  None,
@@ -352,7 +352,7 @@ class AliveApi:
352
352
  _headers: Optional[Dict[StrictStr, Any]] = None,
353
353
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
354
354
  ) -> ApiResponse[None]:
355
- """get_doc
355
+ """get_alive_doc
356
356
 
357
357
 
358
358
  :param _request_timeout: timeout setting for this request. If one
@@ -377,7 +377,7 @@ class AliveApi:
377
377
  :return: Returns the result object.
378
378
  """ # noqa: E501
379
379
 
380
- _param = self._get_doc_serialize(
380
+ _param = self._get_alive_doc_serialize(
381
381
  _request_auth=_request_auth,
382
382
  _content_type=_content_type,
383
383
  _headers=_headers,
@@ -399,7 +399,7 @@ class AliveApi:
399
399
 
400
400
 
401
401
  @validate_call
402
- def get_doc_without_preload_content(
402
+ def get_alive_doc_without_preload_content(
403
403
  self,
404
404
  _request_timeout: Union[
405
405
  None,
@@ -414,7 +414,7 @@ class AliveApi:
414
414
  _headers: Optional[Dict[StrictStr, Any]] = None,
415
415
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
416
416
  ) -> RESTResponseType:
417
- """get_doc
417
+ """get_alive_doc
418
418
 
419
419
 
420
420
  :param _request_timeout: timeout setting for this request. If one
@@ -439,7 +439,7 @@ class AliveApi:
439
439
  :return: Returns the result object.
440
440
  """ # noqa: E501
441
441
 
442
- _param = self._get_doc_serialize(
442
+ _param = self._get_alive_doc_serialize(
443
443
  _request_auth=_request_auth,
444
444
  _content_type=_content_type,
445
445
  _headers=_headers,
@@ -456,7 +456,7 @@ class AliveApi:
456
456
  return response_data.response
457
457
 
458
458
 
459
- def _get_doc_serialize(
459
+ def _get_alive_doc_serialize(
460
460
  self,
461
461
  _request_auth,
462
462
  _content_type,
@@ -602,7 +602,7 @@ class ApiKeyApi:
602
602
 
603
603
 
604
604
  @validate_call
605
- def retrieve_api_key(
605
+ def get_api_key(
606
606
  self,
607
607
  _request_timeout: Union[
608
608
  None,
@@ -643,7 +643,7 @@ class ApiKeyApi:
643
643
  :return: Returns the result object.
644
644
  """ # noqa: E501
645
645
 
646
- _param = self._retrieve_api_key_serialize(
646
+ _param = self._get_api_key_serialize(
647
647
  _request_auth=_request_auth,
648
648
  _content_type=_content_type,
649
649
  _headers=_headers,
@@ -668,7 +668,7 @@ class ApiKeyApi:
668
668
 
669
669
 
670
670
  @validate_call
671
- def retrieve_api_key_with_http_info(
671
+ def get_api_key_with_http_info(
672
672
  self,
673
673
  _request_timeout: Union[
674
674
  None,
@@ -709,7 +709,7 @@ class ApiKeyApi:
709
709
  :return: Returns the result object.
710
710
  """ # noqa: E501
711
711
 
712
- _param = self._retrieve_api_key_serialize(
712
+ _param = self._get_api_key_serialize(
713
713
  _request_auth=_request_auth,
714
714
  _content_type=_content_type,
715
715
  _headers=_headers,
@@ -734,7 +734,7 @@ class ApiKeyApi:
734
734
 
735
735
 
736
736
  @validate_call
737
- def retrieve_api_key_without_preload_content(
737
+ def get_api_key_without_preload_content(
738
738
  self,
739
739
  _request_timeout: Union[
740
740
  None,
@@ -775,7 +775,7 @@ class ApiKeyApi:
775
775
  :return: Returns the result object.
776
776
  """ # noqa: E501
777
777
 
778
- _param = self._retrieve_api_key_serialize(
778
+ _param = self._get_api_key_serialize(
779
779
  _request_auth=_request_auth,
780
780
  _content_type=_content_type,
781
781
  _headers=_headers,
@@ -795,7 +795,7 @@ class ApiKeyApi:
795
795
  return response_data.response
796
796
 
797
797
 
798
- def _retrieve_api_key_serialize(
798
+ def _get_api_key_serialize(
799
799
  self,
800
800
  _request_auth,
801
801
  _content_type,
@@ -570,7 +570,7 @@ class AuthApi:
570
570
 
571
571
 
572
572
  @validate_call
573
- def get_user_mfa_status(
573
+ def get_authenticated_user(
574
574
  self,
575
575
  _request_timeout: Union[
576
576
  None,
@@ -584,10 +584,10 @@ class AuthApi:
584
584
  _content_type: Optional[StrictStr] = None,
585
585
  _headers: Optional[Dict[StrictStr, Any]] = None,
586
586
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
587
- ) -> MFAStatusResponse:
588
- """Get MFA status for authenticated user
587
+ ) -> AuthUserInfoResponseModel:
588
+ """Retrieve Authenticated User Details
589
589
 
590
- Retrieve the Multi-Factor Authentication (MFA) status for the currentlyauthenticated user. Includes whether MFA is enabled.
590
+ Retrieves detailed information about the currently authenticated user. For additional information, [**click here**](https://docs...cloud/docs/api-reference/auth-resources/auth).
591
591
 
592
592
  :param _request_timeout: timeout setting for this request. If one
593
593
  number provided, it will be total request
@@ -611,7 +611,7 @@ class AuthApi:
611
611
  :return: Returns the result object.
612
612
  """ # noqa: E501
613
613
 
614
- _param = self._get_user_mfa_status_serialize(
614
+ _param = self._get_authenticated_user_serialize(
615
615
  _request_auth=_request_auth,
616
616
  _content_type=_content_type,
617
617
  _headers=_headers,
@@ -619,10 +619,10 @@ class AuthApi:
619
619
  )
620
620
 
621
621
  _response_types_map: Dict[str, Optional[str]] = {
622
- '200': "MFAStatusResponse",
622
+ '200': "AuthUserInfoResponseModel",
623
+ '400': "ErrorResponseModel",
623
624
  '401': "ErrorResponseModel",
624
- '404': "ErrorResponseModel",
625
- '500': "ErrorResponseModel",
625
+ '500': None,
626
626
  }
627
627
  response_data = self.api_client.call_api(
628
628
  *_param,
@@ -636,7 +636,7 @@ class AuthApi:
636
636
 
637
637
 
638
638
  @validate_call
639
- def get_user_mfa_status_with_http_info(
639
+ def get_authenticated_user_with_http_info(
640
640
  self,
641
641
  _request_timeout: Union[
642
642
  None,
@@ -650,10 +650,10 @@ class AuthApi:
650
650
  _content_type: Optional[StrictStr] = None,
651
651
  _headers: Optional[Dict[StrictStr, Any]] = None,
652
652
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
653
- ) -> ApiResponse[MFAStatusResponse]:
654
- """Get MFA status for authenticated user
653
+ ) -> ApiResponse[AuthUserInfoResponseModel]:
654
+ """Retrieve Authenticated User Details
655
655
 
656
- Retrieve the Multi-Factor Authentication (MFA) status for the currentlyauthenticated user. Includes whether MFA is enabled.
656
+ Retrieves detailed information about the currently authenticated user. For additional information, [**click here**](https://docs...cloud/docs/api-reference/auth-resources/auth).
657
657
 
658
658
  :param _request_timeout: timeout setting for this request. If one
659
659
  number provided, it will be total request
@@ -677,7 +677,7 @@ class AuthApi:
677
677
  :return: Returns the result object.
678
678
  """ # noqa: E501
679
679
 
680
- _param = self._get_user_mfa_status_serialize(
680
+ _param = self._get_authenticated_user_serialize(
681
681
  _request_auth=_request_auth,
682
682
  _content_type=_content_type,
683
683
  _headers=_headers,
@@ -685,10 +685,10 @@ class AuthApi:
685
685
  )
686
686
 
687
687
  _response_types_map: Dict[str, Optional[str]] = {
688
- '200': "MFAStatusResponse",
688
+ '200': "AuthUserInfoResponseModel",
689
+ '400': "ErrorResponseModel",
689
690
  '401': "ErrorResponseModel",
690
- '404': "ErrorResponseModel",
691
- '500': "ErrorResponseModel",
691
+ '500': None,
692
692
  }
693
693
  response_data = self.api_client.call_api(
694
694
  *_param,
@@ -702,7 +702,7 @@ class AuthApi:
702
702
 
703
703
 
704
704
  @validate_call
705
- def get_user_mfa_status_without_preload_content(
705
+ def get_authenticated_user_without_preload_content(
706
706
  self,
707
707
  _request_timeout: Union[
708
708
  None,
@@ -717,9 +717,9 @@ class AuthApi:
717
717
  _headers: Optional[Dict[StrictStr, Any]] = None,
718
718
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
719
719
  ) -> RESTResponseType:
720
- """Get MFA status for authenticated user
720
+ """Retrieve Authenticated User Details
721
721
 
722
- Retrieve the Multi-Factor Authentication (MFA) status for the currentlyauthenticated user. Includes whether MFA is enabled.
722
+ Retrieves detailed information about the currently authenticated user. For additional information, [**click here**](https://docs...cloud/docs/api-reference/auth-resources/auth).
723
723
 
724
724
  :param _request_timeout: timeout setting for this request. If one
725
725
  number provided, it will be total request
@@ -743,7 +743,7 @@ class AuthApi:
743
743
  :return: Returns the result object.
744
744
  """ # noqa: E501
745
745
 
746
- _param = self._get_user_mfa_status_serialize(
746
+ _param = self._get_authenticated_user_serialize(
747
747
  _request_auth=_request_auth,
748
748
  _content_type=_content_type,
749
749
  _headers=_headers,
@@ -751,10 +751,10 @@ class AuthApi:
751
751
  )
752
752
 
753
753
  _response_types_map: Dict[str, Optional[str]] = {
754
- '200': "MFAStatusResponse",
754
+ '200': "AuthUserInfoResponseModel",
755
+ '400': "ErrorResponseModel",
755
756
  '401': "ErrorResponseModel",
756
- '404': "ErrorResponseModel",
757
- '500': "ErrorResponseModel",
757
+ '500': None,
758
758
  }
759
759
  response_data = self.api_client.call_api(
760
760
  *_param,
@@ -763,7 +763,7 @@ class AuthApi:
763
763
  return response_data.response
764
764
 
765
765
 
766
- def _get_user_mfa_status_serialize(
766
+ def _get_authenticated_user_serialize(
767
767
  self,
768
768
  _request_auth,
769
769
  _content_type,
@@ -808,7 +808,7 @@ class AuthApi:
808
808
 
809
809
  return self.api_client.param_serialize(
810
810
  method='GET',
811
- resource_path='/auth/me/mfa',
811
+ resource_path='/auth/me',
812
812
  path_params=_path_params,
813
813
  query_params=_query_params,
814
814
  header_params=_header_params,
@@ -825,7 +825,7 @@ class AuthApi:
825
825
 
826
826
 
827
827
  @validate_call
828
- def get_user_organizations(
828
+ def get_user_mfa_status(
829
829
  self,
830
830
  _request_timeout: Union[
831
831
  None,
@@ -839,10 +839,10 @@ class AuthApi:
839
839
  _content_type: Optional[StrictStr] = None,
840
840
  _headers: Optional[Dict[StrictStr, Any]] = None,
841
841
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
842
- ) -> UserOrganizationsResponse:
843
- """Get User Organizations
842
+ ) -> MFAStatusResponse:
843
+ """Get MFA status for authenticated user
844
844
 
845
- Retrieve the organizations associated with a user by their user ID. This endpoint is useful for understanding the user's organizational affiliations.
845
+ Retrieve the Multi-Factor Authentication (MFA) status for the currentlyauthenticated user. Includes whether MFA is enabled.
846
846
 
847
847
  :param _request_timeout: timeout setting for this request. If one
848
848
  number provided, it will be total request
@@ -866,7 +866,7 @@ class AuthApi:
866
866
  :return: Returns the result object.
867
867
  """ # noqa: E501
868
868
 
869
- _param = self._get_user_organizations_serialize(
869
+ _param = self._get_user_mfa_status_serialize(
870
870
  _request_auth=_request_auth,
871
871
  _content_type=_content_type,
872
872
  _headers=_headers,
@@ -874,11 +874,10 @@ class AuthApi:
874
874
  )
875
875
 
876
876
  _response_types_map: Dict[str, Optional[str]] = {
877
- '200': "UserOrganizationsResponse",
878
- '400': "ErrorResponseModel",
877
+ '200': "MFAStatusResponse",
879
878
  '401': "ErrorResponseModel",
880
879
  '404': "ErrorResponseModel",
881
- '500': None,
880
+ '500': "ErrorResponseModel",
882
881
  }
883
882
  response_data = self.api_client.call_api(
884
883
  *_param,
@@ -892,7 +891,7 @@ class AuthApi:
892
891
 
893
892
 
894
893
  @validate_call
895
- def get_user_organizations_with_http_info(
894
+ def get_user_mfa_status_with_http_info(
896
895
  self,
897
896
  _request_timeout: Union[
898
897
  None,
@@ -906,10 +905,10 @@ class AuthApi:
906
905
  _content_type: Optional[StrictStr] = None,
907
906
  _headers: Optional[Dict[StrictStr, Any]] = None,
908
907
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
909
- ) -> ApiResponse[UserOrganizationsResponse]:
910
- """Get User Organizations
908
+ ) -> ApiResponse[MFAStatusResponse]:
909
+ """Get MFA status for authenticated user
911
910
 
912
- Retrieve the organizations associated with a user by their user ID. This endpoint is useful for understanding the user's organizational affiliations.
911
+ Retrieve the Multi-Factor Authentication (MFA) status for the currentlyauthenticated user. Includes whether MFA is enabled.
913
912
 
914
913
  :param _request_timeout: timeout setting for this request. If one
915
914
  number provided, it will be total request
@@ -933,7 +932,7 @@ class AuthApi:
933
932
  :return: Returns the result object.
934
933
  """ # noqa: E501
935
934
 
936
- _param = self._get_user_organizations_serialize(
935
+ _param = self._get_user_mfa_status_serialize(
937
936
  _request_auth=_request_auth,
938
937
  _content_type=_content_type,
939
938
  _headers=_headers,
@@ -941,11 +940,10 @@ class AuthApi:
941
940
  )
942
941
 
943
942
  _response_types_map: Dict[str, Optional[str]] = {
944
- '200': "UserOrganizationsResponse",
945
- '400': "ErrorResponseModel",
943
+ '200': "MFAStatusResponse",
946
944
  '401': "ErrorResponseModel",
947
945
  '404': "ErrorResponseModel",
948
- '500': None,
946
+ '500': "ErrorResponseModel",
949
947
  }
950
948
  response_data = self.api_client.call_api(
951
949
  *_param,
@@ -959,7 +957,7 @@ class AuthApi:
959
957
 
960
958
 
961
959
  @validate_call
962
- def get_user_organizations_without_preload_content(
960
+ def get_user_mfa_status_without_preload_content(
963
961
  self,
964
962
  _request_timeout: Union[
965
963
  None,
@@ -974,9 +972,9 @@ class AuthApi:
974
972
  _headers: Optional[Dict[StrictStr, Any]] = None,
975
973
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
976
974
  ) -> RESTResponseType:
977
- """Get User Organizations
975
+ """Get MFA status for authenticated user
978
976
 
979
- Retrieve the organizations associated with a user by their user ID. This endpoint is useful for understanding the user's organizational affiliations.
977
+ Retrieve the Multi-Factor Authentication (MFA) status for the currentlyauthenticated user. Includes whether MFA is enabled.
980
978
 
981
979
  :param _request_timeout: timeout setting for this request. If one
982
980
  number provided, it will be total request
@@ -1000,7 +998,7 @@ class AuthApi:
1000
998
  :return: Returns the result object.
1001
999
  """ # noqa: E501
1002
1000
 
1003
- _param = self._get_user_organizations_serialize(
1001
+ _param = self._get_user_mfa_status_serialize(
1004
1002
  _request_auth=_request_auth,
1005
1003
  _content_type=_content_type,
1006
1004
  _headers=_headers,
@@ -1008,11 +1006,10 @@ class AuthApi:
1008
1006
  )
1009
1007
 
1010
1008
  _response_types_map: Dict[str, Optional[str]] = {
1011
- '200': "UserOrganizationsResponse",
1012
- '400': "ErrorResponseModel",
1009
+ '200': "MFAStatusResponse",
1013
1010
  '401': "ErrorResponseModel",
1014
1011
  '404': "ErrorResponseModel",
1015
- '500': None,
1012
+ '500': "ErrorResponseModel",
1016
1013
  }
1017
1014
  response_data = self.api_client.call_api(
1018
1015
  *_param,
@@ -1021,7 +1018,7 @@ class AuthApi:
1021
1018
  return response_data.response
1022
1019
 
1023
1020
 
1024
- def _get_user_organizations_serialize(
1021
+ def _get_user_mfa_status_serialize(
1025
1022
  self,
1026
1023
  _request_auth,
1027
1024
  _content_type,
@@ -1066,7 +1063,7 @@ class AuthApi:
1066
1063
 
1067
1064
  return self.api_client.param_serialize(
1068
1065
  method='GET',
1069
- resource_path='/auth/me/organizations',
1066
+ resource_path='/auth/me/mfa',
1070
1067
  path_params=_path_params,
1071
1068
  query_params=_query_params,
1072
1069
  header_params=_header_params,
@@ -1083,7 +1080,7 @@ class AuthApi:
1083
1080
 
1084
1081
 
1085
1082
  @validate_call
1086
- def retrieve_authenticated_user_details(
1083
+ def get_user_organizations(
1087
1084
  self,
1088
1085
  _request_timeout: Union[
1089
1086
  None,
@@ -1097,10 +1094,10 @@ class AuthApi:
1097
1094
  _content_type: Optional[StrictStr] = None,
1098
1095
  _headers: Optional[Dict[StrictStr, Any]] = None,
1099
1096
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1100
- ) -> AuthUserInfoResponseModel:
1101
- """Retrieve Authenticated User Details
1097
+ ) -> UserOrganizationsResponse:
1098
+ """Get User Organizations
1102
1099
 
1103
- Retrieves detailed information about the currently authenticated user. For additional information, [**click here**](https://docs...cloud/docs/api-reference/auth-resources/auth).
1100
+ Retrieve the organizations associated with a user by their user ID. This endpoint is useful for understanding the user's organizational affiliations.
1104
1101
 
1105
1102
  :param _request_timeout: timeout setting for this request. If one
1106
1103
  number provided, it will be total request
@@ -1124,7 +1121,7 @@ class AuthApi:
1124
1121
  :return: Returns the result object.
1125
1122
  """ # noqa: E501
1126
1123
 
1127
- _param = self._retrieve_authenticated_user_details_serialize(
1124
+ _param = self._get_user_organizations_serialize(
1128
1125
  _request_auth=_request_auth,
1129
1126
  _content_type=_content_type,
1130
1127
  _headers=_headers,
@@ -1132,9 +1129,10 @@ class AuthApi:
1132
1129
  )
1133
1130
 
1134
1131
  _response_types_map: Dict[str, Optional[str]] = {
1135
- '200': "AuthUserInfoResponseModel",
1132
+ '200': "UserOrganizationsResponse",
1136
1133
  '400': "ErrorResponseModel",
1137
1134
  '401': "ErrorResponseModel",
1135
+ '404': "ErrorResponseModel",
1138
1136
  '500': None,
1139
1137
  }
1140
1138
  response_data = self.api_client.call_api(
@@ -1149,7 +1147,7 @@ class AuthApi:
1149
1147
 
1150
1148
 
1151
1149
  @validate_call
1152
- def retrieve_authenticated_user_details_with_http_info(
1150
+ def get_user_organizations_with_http_info(
1153
1151
  self,
1154
1152
  _request_timeout: Union[
1155
1153
  None,
@@ -1163,10 +1161,10 @@ class AuthApi:
1163
1161
  _content_type: Optional[StrictStr] = None,
1164
1162
  _headers: Optional[Dict[StrictStr, Any]] = None,
1165
1163
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1166
- ) -> ApiResponse[AuthUserInfoResponseModel]:
1167
- """Retrieve Authenticated User Details
1164
+ ) -> ApiResponse[UserOrganizationsResponse]:
1165
+ """Get User Organizations
1168
1166
 
1169
- Retrieves detailed information about the currently authenticated user. For additional information, [**click here**](https://docs...cloud/docs/api-reference/auth-resources/auth).
1167
+ Retrieve the organizations associated with a user by their user ID. This endpoint is useful for understanding the user's organizational affiliations.
1170
1168
 
1171
1169
  :param _request_timeout: timeout setting for this request. If one
1172
1170
  number provided, it will be total request
@@ -1190,7 +1188,7 @@ class AuthApi:
1190
1188
  :return: Returns the result object.
1191
1189
  """ # noqa: E501
1192
1190
 
1193
- _param = self._retrieve_authenticated_user_details_serialize(
1191
+ _param = self._get_user_organizations_serialize(
1194
1192
  _request_auth=_request_auth,
1195
1193
  _content_type=_content_type,
1196
1194
  _headers=_headers,
@@ -1198,9 +1196,10 @@ class AuthApi:
1198
1196
  )
1199
1197
 
1200
1198
  _response_types_map: Dict[str, Optional[str]] = {
1201
- '200': "AuthUserInfoResponseModel",
1199
+ '200': "UserOrganizationsResponse",
1202
1200
  '400': "ErrorResponseModel",
1203
1201
  '401': "ErrorResponseModel",
1202
+ '404': "ErrorResponseModel",
1204
1203
  '500': None,
1205
1204
  }
1206
1205
  response_data = self.api_client.call_api(
@@ -1215,7 +1214,7 @@ class AuthApi:
1215
1214
 
1216
1215
 
1217
1216
  @validate_call
1218
- def retrieve_authenticated_user_details_without_preload_content(
1217
+ def get_user_organizations_without_preload_content(
1219
1218
  self,
1220
1219
  _request_timeout: Union[
1221
1220
  None,
@@ -1230,9 +1229,9 @@ class AuthApi:
1230
1229
  _headers: Optional[Dict[StrictStr, Any]] = None,
1231
1230
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1232
1231
  ) -> RESTResponseType:
1233
- """Retrieve Authenticated User Details
1232
+ """Get User Organizations
1234
1233
 
1235
- Retrieves detailed information about the currently authenticated user. For additional information, [**click here**](https://docs...cloud/docs/api-reference/auth-resources/auth).
1234
+ Retrieve the organizations associated with a user by their user ID. This endpoint is useful for understanding the user's organizational affiliations.
1236
1235
 
1237
1236
  :param _request_timeout: timeout setting for this request. If one
1238
1237
  number provided, it will be total request
@@ -1256,7 +1255,7 @@ class AuthApi:
1256
1255
  :return: Returns the result object.
1257
1256
  """ # noqa: E501
1258
1257
 
1259
- _param = self._retrieve_authenticated_user_details_serialize(
1258
+ _param = self._get_user_organizations_serialize(
1260
1259
  _request_auth=_request_auth,
1261
1260
  _content_type=_content_type,
1262
1261
  _headers=_headers,
@@ -1264,9 +1263,10 @@ class AuthApi:
1264
1263
  )
1265
1264
 
1266
1265
  _response_types_map: Dict[str, Optional[str]] = {
1267
- '200': "AuthUserInfoResponseModel",
1266
+ '200': "UserOrganizationsResponse",
1268
1267
  '400': "ErrorResponseModel",
1269
1268
  '401': "ErrorResponseModel",
1269
+ '404': "ErrorResponseModel",
1270
1270
  '500': None,
1271
1271
  }
1272
1272
  response_data = self.api_client.call_api(
@@ -1276,7 +1276,7 @@ class AuthApi:
1276
1276
  return response_data.response
1277
1277
 
1278
1278
 
1279
- def _retrieve_authenticated_user_details_serialize(
1279
+ def _get_user_organizations_serialize(
1280
1280
  self,
1281
1281
  _request_auth,
1282
1282
  _content_type,
@@ -1321,7 +1321,7 @@ class AuthApi:
1321
1321
 
1322
1322
  return self.api_client.param_serialize(
1323
1323
  method='GET',
1324
- resource_path='/auth/me',
1324
+ resource_path='/auth/me/organizations',
1325
1325
  path_params=_path_params,
1326
1326
  query_params=_query_params,
1327
1327
  header_params=_header_params,