Skip to content

Commit 92b66ef

Browse files
committed
MINOR: Add filters and document and some utility routes (#710)
* add folder:id/document route and visa validation attachment * add filter on first level * add document advanced filters and folder-tree route * remove uselesss unpacking operator
1 parent 6b62830 commit 92b66ef

File tree

14 files changed

+773
-60
lines changed

14 files changed

+773
-60
lines changed

.openapi-generator/FILES

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ docs/ViewSetupHintsRequest.md
231231
docs/Viewpoint.md
232232
docs/ViewpointRequest.md
233233
docs/Visa.md
234+
docs/VisaAttachment.md
234235
docs/VisaComment.md
235236
docs/VisaCommentRequest.md
236237
docs/VisaRequest.md
@@ -482,6 +483,7 @@ src/model/ViewSetupHintsRequest.js
482483
src/model/Viewpoint.js
483484
src/model/ViewpointRequest.js
484485
src/model/Visa.js
486+
src/model/VisaAttachment.js
485487
src/model/VisaComment.js
486488
src/model/VisaCommentRequest.js
487489
src/model/VisaRequest.js
@@ -728,6 +730,7 @@ test/model/ViewSetupHintsRequest.spec.js
728730
test/model/Viewpoint.spec.js
729731
test/model/ViewpointRequest.spec.js
730732
test/model/Visa.spec.js
733+
test/model/VisaAttachment.spec.js
731734
test/model/VisaComment.spec.js
732735
test/model/VisaCommentRequest.spec.js
733736
test/model/VisaRequest.spec.js

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@ Class | Method | HTTP request | Description
255255
*bimdata.CollaborationApi* | [**getDocumentHistories**](docs/CollaborationApi.md#getDocumentHistories) | **GET** /cloud/{cloud_pk}/project/{project_pk}/document/{document_pk}/history | Retrieve all document histories
256256
*bimdata.CollaborationApi* | [**getDocuments**](docs/CollaborationApi.md#getDocuments) | **GET** /cloud/{cloud_pk}/project/{project_pk}/document | Retrieve all documents
257257
*bimdata.CollaborationApi* | [**getFolder**](docs/CollaborationApi.md#getFolder) | **GET** /cloud/{cloud_pk}/project/{project_pk}/folder/{id} | Retrieve a folder
258+
*bimdata.CollaborationApi* | [**getFolderDocuments**](docs/CollaborationApi.md#getFolderDocuments) | **GET** /cloud/{cloud_pk}/project/{project_pk}/folder/{folder_pk}/document | Get all documents of a folder
258259
*bimdata.CollaborationApi* | [**getFolderProjectUsers**](docs/CollaborationApi.md#getFolderProjectUsers) | **GET** /cloud/{cloud_pk}/project/{project_pk}/folder/{folder_pk}/user | Retrieve all users in a project with the permission on the folder
259260
*bimdata.CollaborationApi* | [**getFolders**](docs/CollaborationApi.md#getFolders) | **GET** /cloud/{cloud_pk}/project/{project_pk}/folder | Retrieve all folders
260261
*bimdata.CollaborationApi* | [**getGroup**](docs/CollaborationApi.md#getGroup) | **GET** /cloud/{cloud_pk}/project/{project_pk}/me/group/{id} | Retrieve a group
@@ -266,6 +267,7 @@ Class | Method | HTTP request | Description
266267
*bimdata.CollaborationApi* | [**getProjectAccessTokens**](docs/CollaborationApi.md#getProjectAccessTokens) | **GET** /cloud/{cloud_pk}/project/{project_pk}/access-token | Retrieve all tokens created for this project
267268
*bimdata.CollaborationApi* | [**getProjectCreatorVisas**](docs/CollaborationApi.md#getProjectCreatorVisas) | **GET** /cloud/{cloud_pk}/project/{project_pk}/me/visa/creator | List visas created by user
268269
*bimdata.CollaborationApi* | [**getProjectDMSTree**](docs/CollaborationApi.md#getProjectDMSTree) | **GET** /cloud/{cloud_pk}/project/{id}/dms-tree | Retrieve the complete DMS tree
270+
*bimdata.CollaborationApi* | [**getProjectFolderTree**](docs/CollaborationApi.md#getProjectFolderTree) | **GET** /cloud/{cloud_pk}/project/{id}/folder-trees | Retrieve folder tree of the project
269271
*bimdata.CollaborationApi* | [**getProjectFolderTreeSerializers**](docs/CollaborationApi.md#getProjectFolderTreeSerializers) | **GET** /cloud/{cloud_pk}/project/folder-trees | Retrieve folder tree for all projects
270272
*bimdata.CollaborationApi* | [**getProjectInvitations**](docs/CollaborationApi.md#getProjectInvitations) | **GET** /cloud/{cloud_pk}/project/{project_pk}/invitation | Retrieve all pending invitations in the project
271273
*bimdata.CollaborationApi* | [**getProjectSize**](docs/CollaborationApi.md#getProjectSize) | **GET** /cloud/{cloud_pk}/project/{id}/size | Get size of all model files in the project
@@ -856,6 +858,7 @@ Class | Method | HTTP request | Description
856858
- [bimdata.Viewpoint](docs/Viewpoint.md)
857859
- [bimdata.ViewpointRequest](docs/ViewpointRequest.md)
858860
- [bimdata.Visa](docs/Visa.md)
861+
- [bimdata.VisaAttachment](docs/VisaAttachment.md)
859862
- [bimdata.VisaComment](docs/VisaComment.md)
860863
- [bimdata.VisaCommentRequest](docs/VisaCommentRequest.md)
861864
- [bimdata.VisaRequest](docs/VisaRequest.md)

docs/CollaborationApi.md

Lines changed: 255 additions & 17 deletions
Large diffs are not rendered by default.

docs/FolderTree.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**children** | [**[FolderTree]**](FolderTree.md) | |
7+
**id** | **Number** | |
88
**name** | **String** | |
9+
**children** | [**[FolderTree]**](FolderTree.md) | |
910

1011

docs/Visa.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
99
**validationsInError** | **[Number]** | Validation IDs where one or more validators have no longer access to the visa document. | [readonly]
1010
**creator** | [**UserProject**](UserProject.md) | | [readonly]
1111
**documentId** | **Number** | | [readonly]
12-
**status** | **String** | * `O` - opened * `A` - paused * `C` - closed | [readonly]
12+
**status** | **String** | * `O` - opened * `P` - paused * `C` - closed | [readonly]
1313
**description** | **String** | Description of the visa | [optional]
1414
**comments** | [**[VisaComment]**](VisaComment.md) | | [readonly]
1515
**deadline** | **Date** | | [optional]
@@ -23,7 +23,7 @@ Name | Type | Description | Notes
2323

2424
* `O` (value: `"O"`)
2525

26-
* `A` (value: `"A"`)
26+
* `P` (value: `"P"`)
2727

2828
* `C` (value: `"C"`)
2929

docs/VisaAttachment.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# bimdata.VisaAttachment
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**attachment** | **String** | | [optional]
8+
9+

0 commit comments

Comments
 (0)