hyperstack 1.46.1a0__py3-none-any.whl → 1.46.2a0__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.
- hyperstack/__init__.py +1 -1
- hyperstack/api/auth_api.py +69 -69
- hyperstack/api_client.py +1 -1
- hyperstack/configuration.py +1 -1
- hyperstack/models/generate_update_api_key_payload.py +3 -2
- {hyperstack-1.46.1a0.dist-info → hyperstack-1.46.2a0.dist-info}/METADATA +1 -1
- {hyperstack-1.46.1a0.dist-info → hyperstack-1.46.2a0.dist-info}/RECORD +9 -9
- {hyperstack-1.46.1a0.dist-info → hyperstack-1.46.2a0.dist-info}/WHEEL +0 -0
- {hyperstack-1.46.1a0.dist-info → hyperstack-1.46.2a0.dist-info}/top_level.txt +0 -0
hyperstack/__init__.py
CHANGED
hyperstack/api/auth_api.py
CHANGED
|
@@ -570,7 +570,7 @@ class AuthApi:
|
|
|
570
570
|
|
|
571
571
|
|
|
572
572
|
@validate_call
|
|
573
|
-
def
|
|
573
|
+
def get_user_mfa_status(
|
|
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
|
-
) ->
|
|
588
|
-
"""
|
|
587
|
+
) -> MFAStatusResponse:
|
|
588
|
+
"""Get MFA status for authenticated user
|
|
589
589
|
|
|
590
|
-
|
|
590
|
+
Retrieve the Multi-Factor Authentication (MFA) status for the currentlyauthenticated user. Includes whether MFA is enabled.
|
|
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.
|
|
614
|
+
_param = self._get_user_mfa_status_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': "
|
|
623
|
-
'400': "ErrorResponseModel",
|
|
622
|
+
'200': "MFAStatusResponse",
|
|
624
623
|
'401': "ErrorResponseModel",
|
|
625
|
-
'
|
|
624
|
+
'404': "ErrorResponseModel",
|
|
625
|
+
'500': "ErrorResponseModel",
|
|
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
|
|
639
|
+
def get_user_mfa_status_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[
|
|
654
|
-
"""
|
|
653
|
+
) -> ApiResponse[MFAStatusResponse]:
|
|
654
|
+
"""Get MFA status for authenticated user
|
|
655
655
|
|
|
656
|
-
|
|
656
|
+
Retrieve the Multi-Factor Authentication (MFA) status for the currentlyauthenticated user. Includes whether MFA is enabled.
|
|
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.
|
|
680
|
+
_param = self._get_user_mfa_status_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': "
|
|
689
|
-
'400': "ErrorResponseModel",
|
|
688
|
+
'200': "MFAStatusResponse",
|
|
690
689
|
'401': "ErrorResponseModel",
|
|
691
|
-
'
|
|
690
|
+
'404': "ErrorResponseModel",
|
|
691
|
+
'500': "ErrorResponseModel",
|
|
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
|
|
705
|
+
def get_user_mfa_status_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
|
-
"""
|
|
720
|
+
"""Get MFA status for authenticated user
|
|
721
721
|
|
|
722
|
-
|
|
722
|
+
Retrieve the Multi-Factor Authentication (MFA) status for the currentlyauthenticated user. Includes whether MFA is enabled.
|
|
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.
|
|
746
|
+
_param = self._get_user_mfa_status_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': "
|
|
755
|
-
'400': "ErrorResponseModel",
|
|
754
|
+
'200': "MFAStatusResponse",
|
|
756
755
|
'401': "ErrorResponseModel",
|
|
757
|
-
'
|
|
756
|
+
'404': "ErrorResponseModel",
|
|
757
|
+
'500': "ErrorResponseModel",
|
|
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
|
|
766
|
+
def _get_user_mfa_status_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',
|
|
811
|
+
resource_path='/auth/me/mfa',
|
|
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
|
|
828
|
+
def get_user_organizations(
|
|
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
|
-
) ->
|
|
843
|
-
"""Get
|
|
842
|
+
) -> UserOrganizationsResponse:
|
|
843
|
+
"""Get User Organizations
|
|
844
844
|
|
|
845
|
-
Retrieve the
|
|
845
|
+
Retrieve the organizations associated with a user by their user ID. This endpoint is useful for understanding the user's organizational affiliations.
|
|
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.
|
|
869
|
+
_param = self._get_user_organizations_serialize(
|
|
870
870
|
_request_auth=_request_auth,
|
|
871
871
|
_content_type=_content_type,
|
|
872
872
|
_headers=_headers,
|
|
@@ -874,10 +874,11 @@ class AuthApi:
|
|
|
874
874
|
)
|
|
875
875
|
|
|
876
876
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
877
|
-
'200': "
|
|
877
|
+
'200': "UserOrganizationsResponse",
|
|
878
|
+
'400': "ErrorResponseModel",
|
|
878
879
|
'401': "ErrorResponseModel",
|
|
879
880
|
'404': "ErrorResponseModel",
|
|
880
|
-
'500':
|
|
881
|
+
'500': None,
|
|
881
882
|
}
|
|
882
883
|
response_data = self.api_client.call_api(
|
|
883
884
|
*_param,
|
|
@@ -891,7 +892,7 @@ class AuthApi:
|
|
|
891
892
|
|
|
892
893
|
|
|
893
894
|
@validate_call
|
|
894
|
-
def
|
|
895
|
+
def get_user_organizations_with_http_info(
|
|
895
896
|
self,
|
|
896
897
|
_request_timeout: Union[
|
|
897
898
|
None,
|
|
@@ -905,10 +906,10 @@ class AuthApi:
|
|
|
905
906
|
_content_type: Optional[StrictStr] = None,
|
|
906
907
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
907
908
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
908
|
-
) -> ApiResponse[
|
|
909
|
-
"""Get
|
|
909
|
+
) -> ApiResponse[UserOrganizationsResponse]:
|
|
910
|
+
"""Get User Organizations
|
|
910
911
|
|
|
911
|
-
Retrieve the
|
|
912
|
+
Retrieve the organizations associated with a user by their user ID. This endpoint is useful for understanding the user's organizational affiliations.
|
|
912
913
|
|
|
913
914
|
:param _request_timeout: timeout setting for this request. If one
|
|
914
915
|
number provided, it will be total request
|
|
@@ -932,7 +933,7 @@ class AuthApi:
|
|
|
932
933
|
:return: Returns the result object.
|
|
933
934
|
""" # noqa: E501
|
|
934
935
|
|
|
935
|
-
_param = self.
|
|
936
|
+
_param = self._get_user_organizations_serialize(
|
|
936
937
|
_request_auth=_request_auth,
|
|
937
938
|
_content_type=_content_type,
|
|
938
939
|
_headers=_headers,
|
|
@@ -940,10 +941,11 @@ class AuthApi:
|
|
|
940
941
|
)
|
|
941
942
|
|
|
942
943
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
943
|
-
'200': "
|
|
944
|
+
'200': "UserOrganizationsResponse",
|
|
945
|
+
'400': "ErrorResponseModel",
|
|
944
946
|
'401': "ErrorResponseModel",
|
|
945
947
|
'404': "ErrorResponseModel",
|
|
946
|
-
'500':
|
|
948
|
+
'500': None,
|
|
947
949
|
}
|
|
948
950
|
response_data = self.api_client.call_api(
|
|
949
951
|
*_param,
|
|
@@ -957,7 +959,7 @@ class AuthApi:
|
|
|
957
959
|
|
|
958
960
|
|
|
959
961
|
@validate_call
|
|
960
|
-
def
|
|
962
|
+
def get_user_organizations_without_preload_content(
|
|
961
963
|
self,
|
|
962
964
|
_request_timeout: Union[
|
|
963
965
|
None,
|
|
@@ -972,9 +974,9 @@ class AuthApi:
|
|
|
972
974
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
973
975
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
974
976
|
) -> RESTResponseType:
|
|
975
|
-
"""Get
|
|
977
|
+
"""Get User Organizations
|
|
976
978
|
|
|
977
|
-
Retrieve the
|
|
979
|
+
Retrieve the organizations associated with a user by their user ID. This endpoint is useful for understanding the user's organizational affiliations.
|
|
978
980
|
|
|
979
981
|
:param _request_timeout: timeout setting for this request. If one
|
|
980
982
|
number provided, it will be total request
|
|
@@ -998,7 +1000,7 @@ class AuthApi:
|
|
|
998
1000
|
:return: Returns the result object.
|
|
999
1001
|
""" # noqa: E501
|
|
1000
1002
|
|
|
1001
|
-
_param = self.
|
|
1003
|
+
_param = self._get_user_organizations_serialize(
|
|
1002
1004
|
_request_auth=_request_auth,
|
|
1003
1005
|
_content_type=_content_type,
|
|
1004
1006
|
_headers=_headers,
|
|
@@ -1006,10 +1008,11 @@ class AuthApi:
|
|
|
1006
1008
|
)
|
|
1007
1009
|
|
|
1008
1010
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1009
|
-
'200': "
|
|
1011
|
+
'200': "UserOrganizationsResponse",
|
|
1012
|
+
'400': "ErrorResponseModel",
|
|
1010
1013
|
'401': "ErrorResponseModel",
|
|
1011
1014
|
'404': "ErrorResponseModel",
|
|
1012
|
-
'500':
|
|
1015
|
+
'500': None,
|
|
1013
1016
|
}
|
|
1014
1017
|
response_data = self.api_client.call_api(
|
|
1015
1018
|
*_param,
|
|
@@ -1018,7 +1021,7 @@ class AuthApi:
|
|
|
1018
1021
|
return response_data.response
|
|
1019
1022
|
|
|
1020
1023
|
|
|
1021
|
-
def
|
|
1024
|
+
def _get_user_organizations_serialize(
|
|
1022
1025
|
self,
|
|
1023
1026
|
_request_auth,
|
|
1024
1027
|
_content_type,
|
|
@@ -1063,7 +1066,7 @@ class AuthApi:
|
|
|
1063
1066
|
|
|
1064
1067
|
return self.api_client.param_serialize(
|
|
1065
1068
|
method='GET',
|
|
1066
|
-
resource_path='/auth/me/
|
|
1069
|
+
resource_path='/auth/me/organizations',
|
|
1067
1070
|
path_params=_path_params,
|
|
1068
1071
|
query_params=_query_params,
|
|
1069
1072
|
header_params=_header_params,
|
|
@@ -1080,7 +1083,7 @@ class AuthApi:
|
|
|
1080
1083
|
|
|
1081
1084
|
|
|
1082
1085
|
@validate_call
|
|
1083
|
-
def
|
|
1086
|
+
def retrieve_authenticated_user_details(
|
|
1084
1087
|
self,
|
|
1085
1088
|
_request_timeout: Union[
|
|
1086
1089
|
None,
|
|
@@ -1094,10 +1097,10 @@ class AuthApi:
|
|
|
1094
1097
|
_content_type: Optional[StrictStr] = None,
|
|
1095
1098
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1096
1099
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1097
|
-
) ->
|
|
1098
|
-
"""
|
|
1100
|
+
) -> AuthUserInfoResponseModel:
|
|
1101
|
+
"""Retrieve Authenticated User Details
|
|
1099
1102
|
|
|
1100
|
-
|
|
1103
|
+
Retrieves detailed information about the currently authenticated user. For additional information, [**click here**](https://docs...cloud/docs/api-reference/auth-resources/auth).
|
|
1101
1104
|
|
|
1102
1105
|
:param _request_timeout: timeout setting for this request. If one
|
|
1103
1106
|
number provided, it will be total request
|
|
@@ -1121,7 +1124,7 @@ class AuthApi:
|
|
|
1121
1124
|
:return: Returns the result object.
|
|
1122
1125
|
""" # noqa: E501
|
|
1123
1126
|
|
|
1124
|
-
_param = self.
|
|
1127
|
+
_param = self._retrieve_authenticated_user_details_serialize(
|
|
1125
1128
|
_request_auth=_request_auth,
|
|
1126
1129
|
_content_type=_content_type,
|
|
1127
1130
|
_headers=_headers,
|
|
@@ -1129,10 +1132,9 @@ class AuthApi:
|
|
|
1129
1132
|
)
|
|
1130
1133
|
|
|
1131
1134
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1132
|
-
'200': "
|
|
1135
|
+
'200': "AuthUserInfoResponseModel",
|
|
1133
1136
|
'400': "ErrorResponseModel",
|
|
1134
1137
|
'401': "ErrorResponseModel",
|
|
1135
|
-
'404': "ErrorResponseModel",
|
|
1136
1138
|
'500': None,
|
|
1137
1139
|
}
|
|
1138
1140
|
response_data = self.api_client.call_api(
|
|
@@ -1147,7 +1149,7 @@ class AuthApi:
|
|
|
1147
1149
|
|
|
1148
1150
|
|
|
1149
1151
|
@validate_call
|
|
1150
|
-
def
|
|
1152
|
+
def retrieve_authenticated_user_details_with_http_info(
|
|
1151
1153
|
self,
|
|
1152
1154
|
_request_timeout: Union[
|
|
1153
1155
|
None,
|
|
@@ -1161,10 +1163,10 @@ class AuthApi:
|
|
|
1161
1163
|
_content_type: Optional[StrictStr] = None,
|
|
1162
1164
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1163
1165
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1164
|
-
) -> ApiResponse[
|
|
1165
|
-
"""
|
|
1166
|
+
) -> ApiResponse[AuthUserInfoResponseModel]:
|
|
1167
|
+
"""Retrieve Authenticated User Details
|
|
1166
1168
|
|
|
1167
|
-
|
|
1169
|
+
Retrieves detailed information about the currently authenticated user. For additional information, [**click here**](https://docs...cloud/docs/api-reference/auth-resources/auth).
|
|
1168
1170
|
|
|
1169
1171
|
:param _request_timeout: timeout setting for this request. If one
|
|
1170
1172
|
number provided, it will be total request
|
|
@@ -1188,7 +1190,7 @@ class AuthApi:
|
|
|
1188
1190
|
:return: Returns the result object.
|
|
1189
1191
|
""" # noqa: E501
|
|
1190
1192
|
|
|
1191
|
-
_param = self.
|
|
1193
|
+
_param = self._retrieve_authenticated_user_details_serialize(
|
|
1192
1194
|
_request_auth=_request_auth,
|
|
1193
1195
|
_content_type=_content_type,
|
|
1194
1196
|
_headers=_headers,
|
|
@@ -1196,10 +1198,9 @@ class AuthApi:
|
|
|
1196
1198
|
)
|
|
1197
1199
|
|
|
1198
1200
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1199
|
-
'200': "
|
|
1201
|
+
'200': "AuthUserInfoResponseModel",
|
|
1200
1202
|
'400': "ErrorResponseModel",
|
|
1201
1203
|
'401': "ErrorResponseModel",
|
|
1202
|
-
'404': "ErrorResponseModel",
|
|
1203
1204
|
'500': None,
|
|
1204
1205
|
}
|
|
1205
1206
|
response_data = self.api_client.call_api(
|
|
@@ -1214,7 +1215,7 @@ class AuthApi:
|
|
|
1214
1215
|
|
|
1215
1216
|
|
|
1216
1217
|
@validate_call
|
|
1217
|
-
def
|
|
1218
|
+
def retrieve_authenticated_user_details_without_preload_content(
|
|
1218
1219
|
self,
|
|
1219
1220
|
_request_timeout: Union[
|
|
1220
1221
|
None,
|
|
@@ -1229,9 +1230,9 @@ class AuthApi:
|
|
|
1229
1230
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1230
1231
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1231
1232
|
) -> RESTResponseType:
|
|
1232
|
-
"""
|
|
1233
|
+
"""Retrieve Authenticated User Details
|
|
1233
1234
|
|
|
1234
|
-
|
|
1235
|
+
Retrieves detailed information about the currently authenticated user. For additional information, [**click here**](https://docs...cloud/docs/api-reference/auth-resources/auth).
|
|
1235
1236
|
|
|
1236
1237
|
:param _request_timeout: timeout setting for this request. If one
|
|
1237
1238
|
number provided, it will be total request
|
|
@@ -1255,7 +1256,7 @@ class AuthApi:
|
|
|
1255
1256
|
:return: Returns the result object.
|
|
1256
1257
|
""" # noqa: E501
|
|
1257
1258
|
|
|
1258
|
-
_param = self.
|
|
1259
|
+
_param = self._retrieve_authenticated_user_details_serialize(
|
|
1259
1260
|
_request_auth=_request_auth,
|
|
1260
1261
|
_content_type=_content_type,
|
|
1261
1262
|
_headers=_headers,
|
|
@@ -1263,10 +1264,9 @@ class AuthApi:
|
|
|
1263
1264
|
)
|
|
1264
1265
|
|
|
1265
1266
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1266
|
-
'200': "
|
|
1267
|
+
'200': "AuthUserInfoResponseModel",
|
|
1267
1268
|
'400': "ErrorResponseModel",
|
|
1268
1269
|
'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
|
|
1279
|
+
def _retrieve_authenticated_user_details_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',
|
|
1325
1325
|
path_params=_path_params,
|
|
1326
1326
|
query_params=_query_params,
|
|
1327
1327
|
header_params=_header_params,
|
hyperstack/api_client.py
CHANGED
|
@@ -90,7 +90,7 @@ class ApiClient:
|
|
|
90
90
|
self.default_headers[header_name] = header_value
|
|
91
91
|
self.cookie = cookie
|
|
92
92
|
# Set default User-Agent.
|
|
93
|
-
self.user_agent = 'OpenAPI-Generator/v1.46.
|
|
93
|
+
self.user_agent = 'OpenAPI-Generator/v1.46.2-alpha/python'
|
|
94
94
|
self.client_side_validation = configuration.client_side_validation
|
|
95
95
|
|
|
96
96
|
def __enter__(self):
|
hyperstack/configuration.py
CHANGED
|
@@ -524,7 +524,7 @@ conf = hyperstack.Configuration(
|
|
|
524
524
|
"OS: {env}\n"\
|
|
525
525
|
"Python Version: {pyversion}\n"\
|
|
526
526
|
"Version of the API: 1.0\n"\
|
|
527
|
-
"SDK Package Version: v1.46.
|
|
527
|
+
"SDK Package Version: v1.46.2-alpha".\
|
|
528
528
|
format(env=sys.platform, pyversion=sys.version)
|
|
529
529
|
|
|
530
530
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -17,8 +17,9 @@ import pprint
|
|
|
17
17
|
import re # noqa: F401
|
|
18
18
|
import json
|
|
19
19
|
|
|
20
|
-
from pydantic import BaseModel, ConfigDict, StrictStr
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
21
21
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
|
+
from typing_extensions import Annotated
|
|
22
23
|
from typing import Optional, Set
|
|
23
24
|
from typing_extensions import Self
|
|
24
25
|
|
|
@@ -27,7 +28,7 @@ class GenerateUpdateApiKeyPayload(BaseModel):
|
|
|
27
28
|
GenerateUpdateApiKeyPayload
|
|
28
29
|
""" # noqa: E501
|
|
29
30
|
description: Optional[StrictStr] = None
|
|
30
|
-
name:
|
|
31
|
+
name: Annotated[str, Field(min_length=1, strict=True, max_length=200)]
|
|
31
32
|
__properties: ClassVar[List[str]] = ["description", "name"]
|
|
32
33
|
|
|
33
34
|
model_config = ConfigDict(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
hyperstack/__init__.py,sha256=
|
|
2
|
-
hyperstack/api_client.py,sha256=
|
|
1
|
+
hyperstack/__init__.py,sha256=kIo5Ifzu8s1OQ-KHBdDTjpDu36YV4BShaTwi-TVSIDE,24470
|
|
2
|
+
hyperstack/api_client.py,sha256=SWA1uAF9fvguy-pIBCYUM_j4QLSoQXzQt2duIsVpLro,27660
|
|
3
3
|
hyperstack/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
|
4
|
-
hyperstack/configuration.py,sha256=
|
|
4
|
+
hyperstack/configuration.py,sha256=vVRlT7epQ_NSYaXRS7sXqwTnQXMYZ4nFUCe_7vHzGhk,18804
|
|
5
5
|
hyperstack/exceptions.py,sha256=WNUju20ADFYpDuZnq5o9FKSoa9N5nsCkMPNaK_VUrNM,6230
|
|
6
6
|
hyperstack/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
7
|
hyperstack/rest.py,sha256=ewQJgH66o4QmU-YgavYnTiOvGqjLOHbd43ENkvfdsLA,9656
|
|
@@ -9,7 +9,7 @@ hyperstack/api/__init__.py,sha256=ijUgfgXMsYG4GnUItv7S7ia7JfErtwtSOsHQyva-_gE,20
|
|
|
9
9
|
hyperstack/api/alive_api.py,sha256=yiglqtlKPwNh3W8a-pqDgEUiQpRABvx8QUAi_T39yvs,19528
|
|
10
10
|
hyperstack/api/api_key_api.py,sha256=6YfLqUpFP0svonJlrdmuh6bnVo14zn20ONXhxECjDBI,45295
|
|
11
11
|
hyperstack/api/assigning_member_role_api.py,sha256=dqfP49KEbwcDbPjxNP2UuqGvnFQrGJTILAZynWd4Lxs,24809
|
|
12
|
-
hyperstack/api/auth_api.py,sha256=
|
|
12
|
+
hyperstack/api/auth_api.py,sha256=oJG0pp1K0RxA0Ggkt7ekwv5XWTRByNhCxCpqCf4o3NA,52603
|
|
13
13
|
hyperstack/api/beta_access_api.py,sha256=jgAbh6X2QRxKTO6-h4bg41_Rg85CTZGznQTF4s8eLGc,32970
|
|
14
14
|
hyperstack/api/billing_api.py,sha256=DoDA2EJu-dNW71n96GPlE0BOyUcZGQcCEi-6FL-jZPM,498801
|
|
15
15
|
hyperstack/api/calculate_api.py,sha256=f2Xax5JIB2r-q7ma5YuPnoVyGMon8fv637IspnyVdwM,12509
|
|
@@ -161,7 +161,7 @@ hyperstack/models/flavor_item_get_response.py,sha256=nwbo2hcfdxNIfaxRe5na63V7cr1
|
|
|
161
161
|
hyperstack/models/flavor_label_fields.py,sha256=8JsONEWWHmqkQI28mUckF-DwFp6ClNPOmMgAcu-Iygo,2858
|
|
162
162
|
hyperstack/models/flavor_list_response.py,sha256=0JVnRBTh29js3QuXJM3NArwTTe9hLvZVHWmZ45Jghu0,3455
|
|
163
163
|
hyperstack/models/flavor_object_fields.py,sha256=s2BaG5RLQd6dZv9Cy3GOt6PqLXXvdRJGH1EH350Zlug,3160
|
|
164
|
-
hyperstack/models/generate_update_api_key_payload.py,sha256=
|
|
164
|
+
hyperstack/models/generate_update_api_key_payload.py,sha256=2Qhx-Wq3-kNH7WtcJavyfwIlDAYfC4EufLoUNcMtbDE,3004
|
|
165
165
|
hyperstack/models/generate_update_api_key_response_model.py,sha256=PQQNanGya_5JdiPvMkeWbrsRfSHkbNs60kCc7K_qZdw,3323
|
|
166
166
|
hyperstack/models/get_api_keys_response_model.py,sha256=bwOuCy2D977Km_ghV2AD40NAWBgC_ohGX5TT_e8XFZs,3486
|
|
167
167
|
hyperstack/models/get_credit_and_threshold_info.py,sha256=gsq93bTZReixu_3hCdNCIIGlw_FpF-ikbDLrcc44U80,3126
|
|
@@ -351,7 +351,7 @@ hyperstack/models/volumes_fields.py,sha256=5c5YBJBmFbTSI_O00V9enZ_zEeRh4hZHtlf3h
|
|
|
351
351
|
hyperstack/models/voucher.py,sha256=tAFBUSIrUHfpK2Rj5w964wfaWW6aJhoq4AjDUdC6gVU,2958
|
|
352
352
|
hyperstack/models/voucher_redeem_response_schema.py,sha256=xvfvnnR1a_CpIpgenFHrDJbbHl27Rn_AASHz-QD7TE0,3400
|
|
353
353
|
hyperstack/models/workload_billing_history_response.py,sha256=mXMmbg5JxL0oOdZ0rUuBlKxbSxPf8MhN1WluraZoyVU,3544
|
|
354
|
-
hyperstack-1.46.
|
|
355
|
-
hyperstack-1.46.
|
|
356
|
-
hyperstack-1.46.
|
|
357
|
-
hyperstack-1.46.
|
|
354
|
+
hyperstack-1.46.2a0.dist-info/METADATA,sha256=Ki7_QzSL5uw1AjszOE9xuq5NdwZYiZCPIByuqLBvE04,918
|
|
355
|
+
hyperstack-1.46.2a0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
356
|
+
hyperstack-1.46.2a0.dist-info/top_level.txt,sha256=njn3-XmjCMziM6_3QadnDQbqsVh2KYw4J1IysqyY0HI,11
|
|
357
|
+
hyperstack-1.46.2a0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|