|
45 | 45 | from bimdata_api_client.model.patched_folder_without_children_request import PatchedFolderWithoutChildrenRequest |
46 | 46 | from bimdata_api_client.model.patched_group_folder_request import PatchedGroupFolderRequest |
47 | 47 | from bimdata_api_client.model.patched_group_request import PatchedGroupRequest |
48 | | -from bimdata_api_client.model.patched_project_access_token_request import PatchedProjectAccessTokenRequest |
49 | 48 | from bimdata_api_client.model.patched_project_request import PatchedProjectRequest |
50 | 49 | from bimdata_api_client.model.patched_tag_request import PatchedTagRequest |
51 | 50 | from bimdata_api_client.model.patched_user_cloud_update_request import PatchedUserCloudUpdateRequest |
@@ -6790,80 +6789,6 @@ def __init__(self, api_client=None): |
6790 | 6789 | }, |
6791 | 6790 | api_client=api_client |
6792 | 6791 | ) |
6793 | | - self.update_project_access_token_endpoint = _Endpoint( |
6794 | | - settings={ |
6795 | | - 'response_type': (ProjectAccessToken,), |
6796 | | - 'auth': [ |
6797 | | - 'ApiKey', |
6798 | | - 'BIMData_Connect', |
6799 | | - 'BIMData_Connect', |
6800 | | - 'Bearer' |
6801 | | - ], |
6802 | | - 'endpoint_path': '/cloud/{cloud_pk}/project/{project_pk}/access-token/{token}', |
6803 | | - 'operation_id': 'update_project_access_token', |
6804 | | - 'http_method': 'PATCH', |
6805 | | - 'servers': None, |
6806 | | - }, |
6807 | | - params_map={ |
6808 | | - 'all': [ |
6809 | | - 'cloud_pk', |
6810 | | - 'project_pk', |
6811 | | - 'token', |
6812 | | - 'patched_project_access_token_request', |
6813 | | - ], |
6814 | | - 'required': [ |
6815 | | - 'cloud_pk', |
6816 | | - 'project_pk', |
6817 | | - 'token', |
6818 | | - ], |
6819 | | - 'nullable': [ |
6820 | | - ], |
6821 | | - 'enum': [ |
6822 | | - ], |
6823 | | - 'validation': [ |
6824 | | - ] |
6825 | | - }, |
6826 | | - root_map={ |
6827 | | - 'validations': { |
6828 | | - }, |
6829 | | - 'allowed_values': { |
6830 | | - }, |
6831 | | - 'openapi_types': { |
6832 | | - 'cloud_pk': |
6833 | | - (int,), |
6834 | | - 'project_pk': |
6835 | | - (int,), |
6836 | | - 'token': |
6837 | | - (str,), |
6838 | | - 'patched_project_access_token_request': |
6839 | | - (PatchedProjectAccessTokenRequest,), |
6840 | | - }, |
6841 | | - 'attribute_map': { |
6842 | | - 'cloud_pk': 'cloud_pk', |
6843 | | - 'project_pk': 'project_pk', |
6844 | | - 'token': 'token', |
6845 | | - }, |
6846 | | - 'location_map': { |
6847 | | - 'cloud_pk': 'path', |
6848 | | - 'project_pk': 'path', |
6849 | | - 'token': 'path', |
6850 | | - 'patched_project_access_token_request': 'body', |
6851 | | - }, |
6852 | | - 'collection_format_map': { |
6853 | | - } |
6854 | | - }, |
6855 | | - headers_map={ |
6856 | | - 'accept': [ |
6857 | | - 'application/json' |
6858 | | - ], |
6859 | | - 'content_type': [ |
6860 | | - 'application/json', |
6861 | | - 'application/x-www-form-urlencoded', |
6862 | | - 'multipart/form-data' |
6863 | | - ] |
6864 | | - }, |
6865 | | - api_client=api_client |
6866 | | - ) |
6867 | 6792 | self.update_project_user_endpoint = _Endpoint( |
6868 | 6793 | settings={ |
6869 | 6794 | 'response_type': (UserProject,), |
@@ -8373,7 +8298,7 @@ def create_document( |
8373 | 8298 | ): |
8374 | 8299 | """Create a document # noqa: E501 |
8375 | 8300 |
|
8376 | | - Create a document. If the document is one of {'POINT_CLOUD', 'OBJ', 'DWG', 'IFC', 'DXF', 'GLTF'}, a model will be created and attached to this document Required scopes: document:write # noqa: E501 |
| 8301 | + Create a document. If the document is one of {'OBJ', 'DWG', 'IFC', 'GLTF', 'DXF', 'POINT_CLOUD'}, a model will be created and attached to this document Required scopes: document:write # noqa: E501 |
8377 | 8302 | This method makes a synchronous HTTP request by default. To make an |
8378 | 8303 | asynchronous HTTP request, please pass async_req=True |
8379 | 8304 |
|
@@ -15918,93 +15843,6 @@ def update_project( |
15918 | 15843 | id |
15919 | 15844 | return self.update_project_endpoint.call_with_http_info(**kwargs) |
15920 | 15845 |
|
15921 | | - def update_project_access_token( |
15922 | | - self, |
15923 | | - cloud_pk, |
15924 | | - project_pk, |
15925 | | - token, |
15926 | | - **kwargs |
15927 | | - ): |
15928 | | - """Update some fields of a token # noqa: E501 |
15929 | | - |
15930 | | - You can update the expiration date field Required scopes: org:manage # noqa: E501 |
15931 | | - This method makes a synchronous HTTP request by default. To make an |
15932 | | - asynchronous HTTP request, please pass async_req=True |
15933 | | - |
15934 | | - >>> thread = api.update_project_access_token(cloud_pk, project_pk, token, async_req=True) |
15935 | | - >>> result = thread.get() |
15936 | | - |
15937 | | - Args: |
15938 | | - cloud_pk (int): A unique integer value identifying this cloud. |
15939 | | - project_pk (int): A unique integer value identifying this project. |
15940 | | - token (str): |
15941 | | - |
15942 | | - Keyword Args: |
15943 | | - patched_project_access_token_request (PatchedProjectAccessTokenRequest): [optional] |
15944 | | - _return_http_data_only (bool): response data without head status |
15945 | | - code and headers. Default is True. |
15946 | | - _preload_content (bool): if False, the urllib3.HTTPResponse object |
15947 | | - will be returned without reading/decoding response data. |
15948 | | - Default is True. |
15949 | | - _request_timeout (int/float/tuple): timeout setting for this request. If |
15950 | | - one number provided, it will be total request timeout. It can also |
15951 | | - be a pair (tuple) of (connection, read) timeouts. |
15952 | | - Default is None. |
15953 | | - _check_input_type (bool): specifies if type checking |
15954 | | - should be done one the data sent to the server. |
15955 | | - Default is True. |
15956 | | - _check_return_type (bool): specifies if type checking |
15957 | | - should be done one the data received from the server. |
15958 | | - Default is True. |
15959 | | - _spec_property_naming (bool): True if the variable names in the input data |
15960 | | - are serialized names, as specified in the OpenAPI document. |
15961 | | - False if the variable names in the input data |
15962 | | - are pythonic names, e.g. snake case (default) |
15963 | | - _content_type (str/None): force body content-type. |
15964 | | - Default is None and content-type will be predicted by allowed |
15965 | | - content-types and body. |
15966 | | - _host_index (int/None): specifies the index of the server |
15967 | | - that we want to use. |
15968 | | - Default is read from the configuration. |
15969 | | - async_req (bool): execute request asynchronously |
15970 | | - |
15971 | | - Returns: |
15972 | | - ProjectAccessToken |
15973 | | - If the method is called asynchronously, returns the request |
15974 | | - thread. |
15975 | | - """ |
15976 | | - kwargs['async_req'] = kwargs.get( |
15977 | | - 'async_req', False |
15978 | | - ) |
15979 | | - kwargs['_return_http_data_only'] = kwargs.get( |
15980 | | - '_return_http_data_only', True |
15981 | | - ) |
15982 | | - kwargs['_preload_content'] = kwargs.get( |
15983 | | - '_preload_content', True |
15984 | | - ) |
15985 | | - kwargs['_request_timeout'] = kwargs.get( |
15986 | | - '_request_timeout', None |
15987 | | - ) |
15988 | | - kwargs['_check_input_type'] = kwargs.get( |
15989 | | - '_check_input_type', True |
15990 | | - ) |
15991 | | - kwargs['_check_return_type'] = kwargs.get( |
15992 | | - '_check_return_type', True |
15993 | | - ) |
15994 | | - kwargs['_spec_property_naming'] = kwargs.get( |
15995 | | - '_spec_property_naming', False |
15996 | | - ) |
15997 | | - kwargs['_content_type'] = kwargs.get( |
15998 | | - '_content_type') |
15999 | | - kwargs['_host_index'] = kwargs.get('_host_index') |
16000 | | - kwargs['cloud_pk'] = \ |
16001 | | - cloud_pk |
16002 | | - kwargs['project_pk'] = \ |
16003 | | - project_pk |
16004 | | - kwargs['token'] = \ |
16005 | | - token |
16006 | | - return self.update_project_access_token_endpoint.call_with_http_info(**kwargs) |
16007 | | - |
16008 | 15846 | def update_project_user( |
16009 | 15847 | self, |
16010 | 15848 | cloud_pk, |
|
0 commit comments