diff --git a/bimdata_api_client/api/collaboration_api.py b/bimdata_api_client/api/collaboration_api.py index 6f51c4a..f40bfac 100644 --- a/bimdata_api_client/api/collaboration_api.py +++ b/bimdata_api_client/api/collaboration_api.py @@ -3457,6 +3457,7 @@ def __init__(self, api_client=None): 'file_name__contains', 'file_name__endswith', 'file_name__startswith', + 'has__visa', 'name', 'name__contains', 'name__endswith', @@ -3467,7 +3468,10 @@ def __init__(self, api_client=None): 'visa__creator_email', 'visa__deadline_after', 'visa__deadline_before', + 'visa__past__deadline', + 'visa__past__deadline__strict', 'visa__status', + 'visa__status__strict', 'visa__validation_status', 'visa__validator_email', ], @@ -3481,6 +3485,7 @@ def __init__(self, api_client=None): ], 'enum': [ 'visa__status', + 'visa__status__strict', ], 'validation': [ 'size_max', @@ -3503,6 +3508,12 @@ def __init__(self, api_client=None): 'allowed_values': { ('visa__status',): { + "C": "C", + "O": "O", + "P": "P" + }, + ('visa__status__strict',): { + "C": "C", "O": "O", "P": "P" @@ -3535,6 +3546,8 @@ def __init__(self, api_client=None): (str,), 'file_name__startswith': (str,), + 'has__visa': + (bool,), 'name': (str,), 'name__contains': @@ -3555,8 +3568,14 @@ def __init__(self, api_client=None): (date,), 'visa__deadline_before': (date,), + 'visa__past__deadline': + (bool,), + 'visa__past__deadline__strict': + (bool,), 'visa__status': (str,), + 'visa__status__strict': + (str,), 'visa__validation_status': (str,), 'visa__validator_email': @@ -3576,6 +3595,7 @@ def __init__(self, api_client=None): 'file_name__contains': 'file_name__contains', 'file_name__endswith': 'file_name__endswith', 'file_name__startswith': 'file_name__startswith', + 'has__visa': 'has__visa', 'name': 'name', 'name__contains': 'name__contains', 'name__endswith': 'name__endswith', @@ -3586,7 +3606,10 @@ def __init__(self, api_client=None): 'visa__creator_email': 'visa__creator_email', 'visa__deadline_after': 'visa__deadline_after', 'visa__deadline_before': 'visa__deadline_before', + 'visa__past__deadline': 'visa__past__deadline', + 'visa__past__deadline__strict': 'visa__past__deadline__strict', 'visa__status': 'visa__status', + 'visa__status__strict': 'visa__status__strict', 'visa__validation_status': 'visa__validation_status', 'visa__validator_email': 'visa__validator_email', }, @@ -3604,6 +3627,7 @@ def __init__(self, api_client=None): 'file_name__contains': 'query', 'file_name__endswith': 'query', 'file_name__startswith': 'query', + 'has__visa': 'query', 'name': 'query', 'name__contains': 'query', 'name__endswith': 'query', @@ -3614,7 +3638,10 @@ def __init__(self, api_client=None): 'visa__creator_email': 'query', 'visa__deadline_after': 'query', 'visa__deadline_before': 'query', + 'visa__past__deadline': 'query', + 'visa__past__deadline__strict': 'query', 'visa__status': 'query', + 'visa__status__strict': 'query', 'visa__validation_status': 'query', 'visa__validator_email': 'query', }, @@ -3726,6 +3753,7 @@ def __init__(self, api_client=None): 'file_name__contains', 'file_name__endswith', 'file_name__startswith', + 'has__visa', 'name', 'name__contains', 'name__endswith', @@ -3736,7 +3764,10 @@ def __init__(self, api_client=None): 'visa__creator_email', 'visa__deadline_after', 'visa__deadline_before', + 'visa__past__deadline', + 'visa__past__deadline__strict', 'visa__status', + 'visa__status__strict', 'visa__validation_status', 'visa__validator_email', ], @@ -3751,6 +3782,7 @@ def __init__(self, api_client=None): ], 'enum': [ 'visa__status', + 'visa__status__strict', ], 'validation': [ 'size_max', @@ -3773,6 +3805,12 @@ def __init__(self, api_client=None): 'allowed_values': { ('visa__status',): { + "C": "C", + "O": "O", + "P": "P" + }, + ('visa__status__strict',): { + "C": "C", "O": "O", "P": "P" @@ -3807,6 +3845,8 @@ def __init__(self, api_client=None): (str,), 'file_name__startswith': (str,), + 'has__visa': + (bool,), 'name': (str,), 'name__contains': @@ -3827,8 +3867,14 @@ def __init__(self, api_client=None): (date,), 'visa__deadline_before': (date,), + 'visa__past__deadline': + (bool,), + 'visa__past__deadline__strict': + (bool,), 'visa__status': (str,), + 'visa__status__strict': + (str,), 'visa__validation_status': (str,), 'visa__validator_email': @@ -3849,6 +3895,7 @@ def __init__(self, api_client=None): 'file_name__contains': 'file_name__contains', 'file_name__endswith': 'file_name__endswith', 'file_name__startswith': 'file_name__startswith', + 'has__visa': 'has__visa', 'name': 'name', 'name__contains': 'name__contains', 'name__endswith': 'name__endswith', @@ -3859,7 +3906,10 @@ def __init__(self, api_client=None): 'visa__creator_email': 'visa__creator_email', 'visa__deadline_after': 'visa__deadline_after', 'visa__deadline_before': 'visa__deadline_before', + 'visa__past__deadline': 'visa__past__deadline', + 'visa__past__deadline__strict': 'visa__past__deadline__strict', 'visa__status': 'visa__status', + 'visa__status__strict': 'visa__status__strict', 'visa__validation_status': 'visa__validation_status', 'visa__validator_email': 'visa__validator_email', }, @@ -3878,6 +3928,7 @@ def __init__(self, api_client=None): 'file_name__contains': 'query', 'file_name__endswith': 'query', 'file_name__startswith': 'query', + 'has__visa': 'query', 'name': 'query', 'name__contains': 'query', 'name__endswith': 'query', @@ -3888,7 +3939,10 @@ def __init__(self, api_client=None): 'visa__creator_email': 'query', 'visa__deadline_after': 'query', 'visa__deadline_before': 'query', + 'visa__past__deadline': 'query', + 'visa__past__deadline__strict': 'query', 'visa__status': 'query', + 'visa__status__strict': 'query', 'visa__validation_status': 'query', 'visa__validator_email': 'query', }, @@ -4546,6 +4600,11 @@ def __init__(self, api_client=None): 'all': [ 'cloud_pk', 'project_pk', + 'deadline_after', + 'deadline_before', + 'has__past_deadline', + 'status', + 'validation_status', ], 'required': [ 'cloud_pk', @@ -4554,6 +4613,7 @@ def __init__(self, api_client=None): 'nullable': [ ], 'enum': [ + 'status', ], 'validation': [ ] @@ -4562,20 +4622,46 @@ def __init__(self, api_client=None): 'validations': { }, 'allowed_values': { + ('status',): { + + "C": "C", + "O": "O", + "P": "P" + }, }, 'openapi_types': { 'cloud_pk': (int,), 'project_pk': (int,), + 'deadline_after': + (date,), + 'deadline_before': + (date,), + 'has__past_deadline': + (bool,), + 'status': + (str,), + 'validation_status': + (str,), }, 'attribute_map': { 'cloud_pk': 'cloud_pk', 'project_pk': 'project_pk', + 'deadline_after': 'deadline_after', + 'deadline_before': 'deadline_before', + 'has__past_deadline': 'has__past_deadline', + 'status': 'status', + 'validation_status': 'validation_status', }, 'location_map': { 'cloud_pk': 'path', 'project_pk': 'path', + 'deadline_after': 'query', + 'deadline_before': 'query', + 'has__past_deadline': 'query', + 'status': 'query', + 'validation_status': 'query', }, 'collection_format_map': { } @@ -5040,6 +5126,11 @@ def __init__(self, api_client=None): 'all': [ 'cloud_pk', 'project_pk', + 'deadline_after', + 'deadline_before', + 'has__past_deadline', + 'status', + 'validation_status', ], 'required': [ 'cloud_pk', @@ -5048,6 +5139,7 @@ def __init__(self, api_client=None): 'nullable': [ ], 'enum': [ + 'status', ], 'validation': [ ] @@ -5056,20 +5148,46 @@ def __init__(self, api_client=None): 'validations': { }, 'allowed_values': { + ('status',): { + + "C": "C", + "O": "O", + "P": "P" + }, }, 'openapi_types': { 'cloud_pk': (int,), 'project_pk': (int,), + 'deadline_after': + (date,), + 'deadline_before': + (date,), + 'has__past_deadline': + (bool,), + 'status': + (str,), + 'validation_status': + (str,), }, 'attribute_map': { 'cloud_pk': 'cloud_pk', 'project_pk': 'project_pk', + 'deadline_after': 'deadline_after', + 'deadline_before': 'deadline_before', + 'has__past_deadline': 'has__past_deadline', + 'status': 'status', + 'validation_status': 'validation_status', }, 'location_map': { 'cloud_pk': 'path', 'project_pk': 'path', + 'deadline_after': 'query', + 'deadline_before': 'query', + 'has__past_deadline': 'query', + 'status': 'query', + 'validation_status': 'query', }, 'collection_format_map': { } @@ -8741,7 +8859,7 @@ def create_document( ): """Create a document # noqa: E501 - Create a document. If the document is one of {'POINT_CLOUD', 'DWG', 'IFC', 'DXF', 'GLTF', 'OBJ'}, a model will be created and attached to this document Required scopes: document:write # noqa: E501 + Create a document. If the document is one of {'POINT_CLOUD', 'DXF', 'DWG', 'GLTF', 'OBJ', 'IFC'}, a model will be created and attached to this document Required scopes: document:write # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -11928,6 +12046,7 @@ def get_documents( file_name__contains (str): [optional] file_name__endswith (str): [optional] file_name__startswith (str): [optional] + has__visa (bool): [optional] name (str): [optional] name__contains (str): [optional] name__endswith (str): [optional] @@ -11938,7 +12057,10 @@ def get_documents( visa__creator_email (str): [optional] visa__deadline_after (date): [optional] visa__deadline_before (date): [optional] - visa__status (str): * `O` - opened * `P` - paused * `C` - closed. [optional] + visa__past__deadline (bool): if True, Get documents that have at least one visa opened with a deadline in past. [optional] + visa__past__deadline__strict (bool): if True, Get documents that *only* have visa opened with a deadline in past. [optional] + visa__status (str): Get documents that have at least one visa in the requested status * `O` - opened * `P` - paused * `C` - closed. [optional] + visa__status__strict (str): Get documents that *exclusively* have visa in the requested status * `O` - opened * `P` - paused * `C` - closed. [optional] visa__validation_status (str): [optional] visa__validator_email (str): [optional] _return_http_data_only (bool): response data without head status @@ -12122,6 +12244,7 @@ def get_folder_documents( file_name__contains (str): [optional] file_name__endswith (str): [optional] file_name__startswith (str): [optional] + has__visa (bool): [optional] name (str): [optional] name__contains (str): [optional] name__endswith (str): [optional] @@ -12132,7 +12255,10 @@ def get_folder_documents( visa__creator_email (str): [optional] visa__deadline_after (date): [optional] visa__deadline_before (date): [optional] - visa__status (str): * `O` - opened * `P` - paused * `C` - closed. [optional] + visa__past__deadline (bool): if True, Get documents that have at least one visa opened with a deadline in past. [optional] + visa__past__deadline__strict (bool): if True, Get documents that *only* have visa opened with a deadline in past. [optional] + visa__status (str): Get documents that have at least one visa in the requested status * `O` - opened * `P` - paused * `C` - closed. [optional] + visa__status__strict (str): Get documents that *exclusively* have visa in the requested status * `O` - opened * `P` - paused * `C` - closed. [optional] visa__validation_status (str): [optional] visa__validator_email (str): [optional] _return_http_data_only (bool): response data without head status @@ -13055,6 +13181,11 @@ def get_project_creator_visas( project_pk (int): A unique integer value identifying this project. Keyword Args: + deadline_after (date): [optional] + deadline_before (date): [optional] + has__past_deadline (bool): [optional] + status (str): * `O` - opened * `P` - paused * `C` - closed. [optional] + validation_status (str): [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -13711,6 +13842,11 @@ def get_project_validator_visas( project_pk (int): A unique integer value identifying this project. Keyword Args: + deadline_after (date): [optional] + deadline_before (date): [optional] + has__past_deadline (bool): [optional] + status (str): * `O` - opened * `P` - paused * `C` - closed. [optional] + validation_status (str): [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/bimdata_api_client/model/label.py b/bimdata_api_client/model/label.py index 12872e0..f8cb859 100644 --- a/bimdata_api_client/model/label.py +++ b/bimdata_api_client/model/label.py @@ -87,7 +87,6 @@ def openapi_types(): return { 'id': (int,), # noqa: E501 'label': (str,), # noqa: E501 - 'project': (int,), # noqa: E501 } @cached_property @@ -98,7 +97,6 @@ def discriminator(): attribute_map = { 'id': 'id', # noqa: E501 'label': 'label', # noqa: E501 - 'project': 'project', # noqa: E501 } read_only_vars = { @@ -147,7 +145,6 @@ def _from_openapi_data(cls, id, label, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - project (int): This field is automatically provided by the route, you don't need to provide it in the body. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -233,7 +230,6 @@ def __init__(self, label, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - project (int): This field is automatically provided by the route, you don't need to provide it in the body. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/bimdata_api_client/model/priority.py b/bimdata_api_client/model/priority.py index 7746937..b3011c2 100644 --- a/bimdata_api_client/model/priority.py +++ b/bimdata_api_client/model/priority.py @@ -91,7 +91,6 @@ def openapi_types(): 'id': (int,), # noqa: E501 'priority': (str,), # noqa: E501 'color': (str, none_type,), # noqa: E501 - 'project': (int,), # noqa: E501 } @cached_property @@ -103,7 +102,6 @@ def discriminator(): 'id': 'id', # noqa: E501 'priority': 'priority', # noqa: E501 'color': 'color', # noqa: E501 - 'project': 'project', # noqa: E501 } read_only_vars = { @@ -153,7 +151,6 @@ def _from_openapi_data(cls, id, priority, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) color (str, none_type): [optional] # noqa: E501 - project (int): This field is automatically provided by the route, you don't need to provide it in the body. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -240,7 +237,6 @@ def __init__(self, priority, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) color (str, none_type): [optional] # noqa: E501 - project (int): This field is automatically provided by the route, you don't need to provide it in the body. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/bimdata_api_client/model/stage.py b/bimdata_api_client/model/stage.py index d809a84..3b30a2f 100644 --- a/bimdata_api_client/model/stage.py +++ b/bimdata_api_client/model/stage.py @@ -87,7 +87,6 @@ def openapi_types(): return { 'id': (int,), # noqa: E501 'stage': (str,), # noqa: E501 - 'project': (int,), # noqa: E501 } @cached_property @@ -98,7 +97,6 @@ def discriminator(): attribute_map = { 'id': 'id', # noqa: E501 'stage': 'stage', # noqa: E501 - 'project': 'project', # noqa: E501 } read_only_vars = { @@ -147,7 +145,6 @@ def _from_openapi_data(cls, id, stage, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - project (int): This field is automatically provided by the route, you don't need to provide it in the body. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -233,7 +230,6 @@ def __init__(self, stage, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - project (int): This field is automatically provided by the route, you don't need to provide it in the body. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/bimdata_api_client/model/topic_status.py b/bimdata_api_client/model/topic_status.py index 5018508..ac22091 100644 --- a/bimdata_api_client/model/topic_status.py +++ b/bimdata_api_client/model/topic_status.py @@ -91,7 +91,6 @@ def openapi_types(): 'id': (int,), # noqa: E501 'topic_status': (str,), # noqa: E501 'color': (str, none_type,), # noqa: E501 - 'project': (int,), # noqa: E501 } @cached_property @@ -103,7 +102,6 @@ def discriminator(): 'id': 'id', # noqa: E501 'topic_status': 'topic_status', # noqa: E501 'color': 'color', # noqa: E501 - 'project': 'project', # noqa: E501 } read_only_vars = { @@ -153,7 +151,6 @@ def _from_openapi_data(cls, id, topic_status, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) color (str, none_type): [optional] # noqa: E501 - project (int): This field is automatically provided by the route, you don't need to provide it in the body. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -240,7 +237,6 @@ def __init__(self, topic_status, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) color (str, none_type): [optional] # noqa: E501 - project (int): This field is automatically provided by the route, you don't need to provide it in the body. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/bimdata_api_client/model/topic_type.py b/bimdata_api_client/model/topic_type.py index 30815f7..b518420 100644 --- a/bimdata_api_client/model/topic_type.py +++ b/bimdata_api_client/model/topic_type.py @@ -87,7 +87,6 @@ def openapi_types(): return { 'id': (int,), # noqa: E501 'topic_type': (str,), # noqa: E501 - 'project': (int,), # noqa: E501 } @cached_property @@ -98,7 +97,6 @@ def discriminator(): attribute_map = { 'id': 'id', # noqa: E501 'topic_type': 'topic_type', # noqa: E501 - 'project': 'project', # noqa: E501 } read_only_vars = { @@ -147,7 +145,6 @@ def _from_openapi_data(cls, id, topic_type, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - project (int): This field is automatically provided by the route, you don't need to provide it in the body. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -233,7 +230,6 @@ def __init__(self, topic_type, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - project (int): This field is automatically provided by the route, you don't need to provide it in the body. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/bimdata_api_client/model/write_folder_request.py b/bimdata_api_client/model/write_folder_request.py index 3f4caff..c115ba1 100644 --- a/bimdata_api_client/model/write_folder_request.py +++ b/bimdata_api_client/model/write_folder_request.py @@ -96,8 +96,8 @@ def openapi_types(): """ return { 'name': (str,), # noqa: E501 - 'default_permission': (int,), # noqa: E501 'parent_id': (int, none_type,), # noqa: E501 + 'default_permission': (int,), # noqa: E501 'children': ([WriteFolderRequest], none_type,), # noqa: E501 } @@ -108,8 +108,8 @@ def discriminator(): attribute_map = { 'name': 'name', # noqa: E501 - 'default_permission': 'default_permission', # noqa: E501 'parent_id': 'parent_id', # noqa: E501 + 'default_permission': 'default_permission', # noqa: E501 'children': 'children', # noqa: E501 } @@ -157,8 +157,8 @@ def _from_openapi_data(cls, name, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - default_permission (int): Permission for a Folder * `1` - denied * `50` - read_only * `100` - read_write. [optional] # noqa: E501 parent_id (int, none_type): [optional] # noqa: E501 + default_permission (int): Permission for a Folder * `1` - denied * `50` - read_only * `100` - read_write. [optional] # noqa: E501 children ([WriteFolderRequest], none_type): [optional] # noqa: E501 """ @@ -245,8 +245,8 @@ def __init__(self, name, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - default_permission (int): Permission for a Folder * `1` - denied * `50` - read_only * `100` - read_write. [optional] # noqa: E501 parent_id (int, none_type): [optional] # noqa: E501 + default_permission (int): Permission for a Folder * `1` - denied * `50` - read_only * `100` - read_write. [optional] # noqa: E501 children ([WriteFolderRequest], none_type): [optional] # noqa: E501 """ diff --git a/docs/CollaborationApi.md b/docs/CollaborationApi.md index c837bcd..adb0d84 100644 --- a/docs/CollaborationApi.md +++ b/docs/CollaborationApi.md @@ -1482,9 +1482,9 @@ with bimdata_api_client.ApiClient(configuration) as api_client: id = 1 # int | A unique integer value identifying this project. write_folder_request = [ WriteFolderRequest( + parent_id=1, name="name_example", default_permission=1, - parent_id=1, children=[ WriteFolderRequest(), ], @@ -1541,7 +1541,7 @@ Name | Type | Description | Notes Create a document -Create a document. If the document is one of {'POINT_CLOUD', 'DWG', 'IFC', 'DXF', 'GLTF', 'OBJ'}, a model will be created and attached to this document Required scopes: document:write +Create a document. If the document is one of {'POINT_CLOUD', 'DXF', 'DWG', 'GLTF', 'OBJ', 'IFC'}, a model will be created and attached to this document Required scopes: document:write ### Example @@ -5653,6 +5653,7 @@ with bimdata_api_client.ApiClient(configuration) as api_client: file_name__contains = "file_name__contains_example" # str | (optional) file_name__endswith = "file_name__endswith_example" # str | (optional) file_name__startswith = "file_name__startswith_example" # str | (optional) + has__visa = True # bool | (optional) name = "name_example" # str | (optional) name__contains = "name__contains_example" # str | (optional) name__endswith = "name__endswith_example" # str | (optional) @@ -5665,7 +5666,10 @@ with bimdata_api_client.ApiClient(configuration) as api_client: visa__creator_email = "visa__creator_email_example" # str | (optional) visa__deadline_after = dateutil_parser('1970-01-01').date() # date | (optional) visa__deadline_before = dateutil_parser('1970-01-01').date() # date | (optional) - visa__status = "C" # str | * `O` - opened * `P` - paused * `C` - closed (optional) + visa__past__deadline = True # bool | if True, Get documents that have at least one visa opened with a deadline in past (optional) + visa__past__deadline__strict = True # bool | if True, Get documents that *only* have visa opened with a deadline in past (optional) + visa__status = "C" # str | Get documents that have at least one visa in the requested status * `O` - opened * `P` - paused * `C` - closed (optional) + visa__status__strict = "C" # str | Get documents that *exclusively* have visa in the requested status * `O` - opened * `P` - paused * `C` - closed (optional) visa__validation_status = "visa__validation_status_example" # str | (optional) visa__validator_email = "visa__validator_email_example" # str | (optional) @@ -5681,7 +5685,7 @@ with bimdata_api_client.ApiClient(configuration) as api_client: # and optional values try: # Retrieve all documents - api_response = api_instance.get_documents(cloud_pk, project_pk, created_after=created_after, created_before=created_before, creator_email=creator_email, description=description, description__contains=description__contains, description__endswith=description__endswith, description__startswith=description__startswith, file_name=file_name, file_name__contains=file_name__contains, file_name__endswith=file_name__endswith, file_name__startswith=file_name__startswith, name=name, name__contains=name__contains, name__endswith=name__endswith, name__startswith=name__startswith, size_max=size_max, size_min=size_min, tags=tags, visa__creator_email=visa__creator_email, visa__deadline_after=visa__deadline_after, visa__deadline_before=visa__deadline_before, visa__status=visa__status, visa__validation_status=visa__validation_status, visa__validator_email=visa__validator_email) + api_response = api_instance.get_documents(cloud_pk, project_pk, created_after=created_after, created_before=created_before, creator_email=creator_email, description=description, description__contains=description__contains, description__endswith=description__endswith, description__startswith=description__startswith, file_name=file_name, file_name__contains=file_name__contains, file_name__endswith=file_name__endswith, file_name__startswith=file_name__startswith, has__visa=has__visa, name=name, name__contains=name__contains, name__endswith=name__endswith, name__startswith=name__startswith, size_max=size_max, size_min=size_min, tags=tags, visa__creator_email=visa__creator_email, visa__deadline_after=visa__deadline_after, visa__deadline_before=visa__deadline_before, visa__past__deadline=visa__past__deadline, visa__past__deadline__strict=visa__past__deadline__strict, visa__status=visa__status, visa__status__strict=visa__status__strict, visa__validation_status=visa__validation_status, visa__validator_email=visa__validator_email) pprint(api_response) except bimdata_api_client.ApiException as e: print("Exception when calling CollaborationApi->get_documents: %s\n" % e) @@ -5705,6 +5709,7 @@ Name | Type | Description | Notes **file_name__contains** | **str**| | [optional] **file_name__endswith** | **str**| | [optional] **file_name__startswith** | **str**| | [optional] + **has__visa** | **bool**| | [optional] **name** | **str**| | [optional] **name__contains** | **str**| | [optional] **name__endswith** | **str**| | [optional] @@ -5715,7 +5720,10 @@ Name | Type | Description | Notes **visa__creator_email** | **str**| | [optional] **visa__deadline_after** | **date**| | [optional] **visa__deadline_before** | **date**| | [optional] - **visa__status** | **str**| * `O` - opened * `P` - paused * `C` - closed | [optional] + **visa__past__deadline** | **bool**| if True, Get documents that have at least one visa opened with a deadline in past | [optional] + **visa__past__deadline__strict** | **bool**| if True, Get documents that *only* have visa opened with a deadline in past | [optional] + **visa__status** | **str**| Get documents that have at least one visa in the requested status * `O` - opened * `P` - paused * `C` - closed | [optional] + **visa__status__strict** | **str**| Get documents that *exclusively* have visa in the requested status * `O` - opened * `P` - paused * `C` - closed | [optional] **visa__validation_status** | **str**| | [optional] **visa__validator_email** | **str**| | [optional] @@ -5924,6 +5932,7 @@ with bimdata_api_client.ApiClient(configuration) as api_client: file_name__contains = "file_name__contains_example" # str | (optional) file_name__endswith = "file_name__endswith_example" # str | (optional) file_name__startswith = "file_name__startswith_example" # str | (optional) + has__visa = True # bool | (optional) name = "name_example" # str | (optional) name__contains = "name__contains_example" # str | (optional) name__endswith = "name__endswith_example" # str | (optional) @@ -5936,7 +5945,10 @@ with bimdata_api_client.ApiClient(configuration) as api_client: visa__creator_email = "visa__creator_email_example" # str | (optional) visa__deadline_after = dateutil_parser('1970-01-01').date() # date | (optional) visa__deadline_before = dateutil_parser('1970-01-01').date() # date | (optional) - visa__status = "C" # str | * `O` - opened * `P` - paused * `C` - closed (optional) + visa__past__deadline = True # bool | if True, Get documents that have at least one visa opened with a deadline in past (optional) + visa__past__deadline__strict = True # bool | if True, Get documents that *only* have visa opened with a deadline in past (optional) + visa__status = "C" # str | Get documents that have at least one visa in the requested status * `O` - opened * `P` - paused * `C` - closed (optional) + visa__status__strict = "C" # str | Get documents that *exclusively* have visa in the requested status * `O` - opened * `P` - paused * `C` - closed (optional) visa__validation_status = "visa__validation_status_example" # str | (optional) visa__validator_email = "visa__validator_email_example" # str | (optional) @@ -5952,7 +5964,7 @@ with bimdata_api_client.ApiClient(configuration) as api_client: # and optional values try: # Get all documents of a folder - api_response = api_instance.get_folder_documents(cloud_pk, folder_pk, project_pk, created_after=created_after, created_before=created_before, creator_email=creator_email, description=description, description__contains=description__contains, description__endswith=description__endswith, description__startswith=description__startswith, file_name=file_name, file_name__contains=file_name__contains, file_name__endswith=file_name__endswith, file_name__startswith=file_name__startswith, name=name, name__contains=name__contains, name__endswith=name__endswith, name__startswith=name__startswith, size_max=size_max, size_min=size_min, tags=tags, visa__creator_email=visa__creator_email, visa__deadline_after=visa__deadline_after, visa__deadline_before=visa__deadline_before, visa__status=visa__status, visa__validation_status=visa__validation_status, visa__validator_email=visa__validator_email) + api_response = api_instance.get_folder_documents(cloud_pk, folder_pk, project_pk, created_after=created_after, created_before=created_before, creator_email=creator_email, description=description, description__contains=description__contains, description__endswith=description__endswith, description__startswith=description__startswith, file_name=file_name, file_name__contains=file_name__contains, file_name__endswith=file_name__endswith, file_name__startswith=file_name__startswith, has__visa=has__visa, name=name, name__contains=name__contains, name__endswith=name__endswith, name__startswith=name__startswith, size_max=size_max, size_min=size_min, tags=tags, visa__creator_email=visa__creator_email, visa__deadline_after=visa__deadline_after, visa__deadline_before=visa__deadline_before, visa__past__deadline=visa__past__deadline, visa__past__deadline__strict=visa__past__deadline__strict, visa__status=visa__status, visa__status__strict=visa__status__strict, visa__validation_status=visa__validation_status, visa__validator_email=visa__validator_email) pprint(api_response) except bimdata_api_client.ApiException as e: print("Exception when calling CollaborationApi->get_folder_documents: %s\n" % e) @@ -5977,6 +5989,7 @@ Name | Type | Description | Notes **file_name__contains** | **str**| | [optional] **file_name__endswith** | **str**| | [optional] **file_name__startswith** | **str**| | [optional] + **has__visa** | **bool**| | [optional] **name** | **str**| | [optional] **name__contains** | **str**| | [optional] **name__endswith** | **str**| | [optional] @@ -5987,7 +6000,10 @@ Name | Type | Description | Notes **visa__creator_email** | **str**| | [optional] **visa__deadline_after** | **date**| | [optional] **visa__deadline_before** | **date**| | [optional] - **visa__status** | **str**| * `O` - opened * `P` - paused * `C` - closed | [optional] + **visa__past__deadline** | **bool**| if True, Get documents that have at least one visa opened with a deadline in past | [optional] + **visa__past__deadline__strict** | **bool**| if True, Get documents that *only* have visa opened with a deadline in past | [optional] + **visa__status** | **str**| Get documents that have at least one visa in the requested status * `O` - opened * `P` - paused * `C` - closed | [optional] + **visa__status__strict** | **str**| Get documents that *exclusively* have visa in the requested status * `O` - opened * `P` - paused * `C` - closed | [optional] **visa__validation_status** | **str**| | [optional] **visa__validator_email** | **str**| | [optional] @@ -7129,6 +7145,11 @@ with bimdata_api_client.ApiClient(configuration) as api_client: api_instance = collaboration_api.CollaborationApi(api_client) cloud_pk = 1 # int | A unique integer value identifying this cloud. project_pk = 1 # int | A unique integer value identifying this project. + deadline_after = dateutil_parser('1970-01-01').date() # date | (optional) + deadline_before = dateutil_parser('1970-01-01').date() # date | (optional) + has__past_deadline = True # bool | (optional) + status = "C" # str | * `O` - opened * `P` - paused * `C` - closed (optional) + validation_status = "validation_status_example" # str | (optional) # example passing only required values which don't have defaults set try: @@ -7137,6 +7158,15 @@ with bimdata_api_client.ApiClient(configuration) as api_client: pprint(api_response) except bimdata_api_client.ApiException as e: print("Exception when calling CollaborationApi->get_project_creator_visas: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # List visas created by user + api_response = api_instance.get_project_creator_visas(cloud_pk, project_pk, deadline_after=deadline_after, deadline_before=deadline_before, has__past_deadline=has__past_deadline, status=status, validation_status=validation_status) + pprint(api_response) + except bimdata_api_client.ApiException as e: + print("Exception when calling CollaborationApi->get_project_creator_visas: %s\n" % e) ``` @@ -7146,6 +7176,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **cloud_pk** | **int**| A unique integer value identifying this cloud. | **project_pk** | **int**| A unique integer value identifying this project. | + **deadline_after** | **date**| | [optional] + **deadline_before** | **date**| | [optional] + **has__past_deadline** | **bool**| | [optional] + **status** | **str**| * `O` - opened * `P` - paused * `C` - closed | [optional] + **validation_status** | **str**| | [optional] ### Return type @@ -7979,6 +8014,11 @@ with bimdata_api_client.ApiClient(configuration) as api_client: api_instance = collaboration_api.CollaborationApi(api_client) cloud_pk = 1 # int | A unique integer value identifying this cloud. project_pk = 1 # int | A unique integer value identifying this project. + deadline_after = dateutil_parser('1970-01-01').date() # date | (optional) + deadline_before = dateutil_parser('1970-01-01').date() # date | (optional) + has__past_deadline = True # bool | (optional) + status = "C" # str | * `O` - opened * `P` - paused * `C` - closed (optional) + validation_status = "validation_status_example" # str | (optional) # example passing only required values which don't have defaults set try: @@ -7987,6 +8027,15 @@ with bimdata_api_client.ApiClient(configuration) as api_client: pprint(api_response) except bimdata_api_client.ApiException as e: print("Exception when calling CollaborationApi->get_project_validator_visas: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # List visas where user is a validator + api_response = api_instance.get_project_validator_visas(cloud_pk, project_pk, deadline_after=deadline_after, deadline_before=deadline_before, has__past_deadline=has__past_deadline, status=status, validation_status=validation_status) + pprint(api_response) + except bimdata_api_client.ApiException as e: + print("Exception when calling CollaborationApi->get_project_validator_visas: %s\n" % e) ``` @@ -7996,6 +8045,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **cloud_pk** | **int**| A unique integer value identifying this cloud. | **project_pk** | **int**| A unique integer value identifying this project. | + **deadline_after** | **date**| | [optional] + **deadline_before** | **date**| | [optional] + **has__past_deadline** | **bool**| | [optional] + **status** | **str**| * `O` - opened * `P` - paused * `C` - closed | [optional] + **validation_status** | **str**| | [optional] ### Return type diff --git a/docs/Label.md b/docs/Label.md index bc61a2b..fadad27 100644 --- a/docs/Label.md +++ b/docs/Label.md @@ -6,7 +6,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **int** | | [readonly] **label** | **str** | | -**project** | **int** | This field is automatically provided by the route, you don't need to provide it in the body | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Priority.md b/docs/Priority.md index 0437dec..4c1ffb5 100644 --- a/docs/Priority.md +++ b/docs/Priority.md @@ -7,7 +7,6 @@ Name | Type | Description | Notes **id** | **int** | | [readonly] **priority** | **str** | | **color** | **str, none_type** | | [optional] -**project** | **int** | This field is automatically provided by the route, you don't need to provide it in the body | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Stage.md b/docs/Stage.md index 2734e4e..a825f30 100644 --- a/docs/Stage.md +++ b/docs/Stage.md @@ -6,7 +6,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **int** | | [readonly] **stage** | **str** | | -**project** | **int** | This field is automatically provided by the route, you don't need to provide it in the body | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/TopicStatus.md b/docs/TopicStatus.md index fb51982..eb3db73 100644 --- a/docs/TopicStatus.md +++ b/docs/TopicStatus.md @@ -7,7 +7,6 @@ Name | Type | Description | Notes **id** | **int** | | [readonly] **topic_status** | **str** | | **color** | **str, none_type** | | [optional] -**project** | **int** | This field is automatically provided by the route, you don't need to provide it in the body | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/TopicType.md b/docs/TopicType.md index 0dee41f..c9d01ee 100644 --- a/docs/TopicType.md +++ b/docs/TopicType.md @@ -6,7 +6,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **int** | | [readonly] **topic_type** | **str** | | -**project** | **int** | This field is automatically provided by the route, you don't need to provide it in the body | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WriteFolderRequest.md b/docs/WriteFolderRequest.md index bb1c73a..04415e6 100644 --- a/docs/WriteFolderRequest.md +++ b/docs/WriteFolderRequest.md @@ -5,8 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **str** | Name of the folder | -**default_permission** | **int** | Permission for a Folder * `1` - denied * `50` - read_only * `100` - read_write | [optional] **parent_id** | **int, none_type** | | [optional] +**default_permission** | **int** | Permission for a Folder * `1` - denied * `50` - read_only * `100` - read_write | [optional] **children** | [**[WriteFolderRequest], none_type**](WriteFolderRequest.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]