Skip to content
This repository was archived by the owner on Nov 18, 2025. It is now read-only.

Commit 8cbb45b

Browse files
committed
MINOR: add user deletion route, add IFC layers routes, add element/simple representation, add IFC Systems routes, add IFC errors route, fix some malformed operationId
1 parent f5d6d49 commit 8cbb45b

59 files changed

Lines changed: 4591 additions & 473 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 28 additions & 3 deletions
Large diffs are not rendered by default.

docs/ClientUser.md

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

docs/Cloud.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
88
**name** | **String** | Name of the cloud |
99
**features** | [**[Feature]**](Feature.md) | | [optional]
1010
**creator** | [**User**](User.md) | | [optional]
11+
**creatorApp** | [**ClientUser**](ClientUser.md) | | [optional]
1112
**isDefault** | **Boolean** | | [optional]
1213
**createdAt** | **Date** | Creation date | [optional]
1314
**image** | **String** | | [optional]

docs/Element.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@ Name | Type | Description | Notes
1010
**attributes** | [**PropertySet**](PropertySet.md) | | [optional]
1111
**propertySets** | [**[PropertySet]**](PropertySet.md) | | [optional]
1212
**classifications** | [**[Classification]**](Classification.md) | | [optional]
13+
**layers** | [**[LayerElement]**](LayerElement.md) | | [optional]
1314

1415

docs/FullTopic.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,6 @@ Name | Type | Description | Notes
2424
**dueDate** | **Date** | | [optional]
2525
**comments** | [**[Comment]**](Comment.md) | | [optional]
2626
**viewpoints** | [**[Viewpoint]**](Viewpoint.md) | | [optional]
27+
**project** | **Number** | |
2728

2829

docs/IdentityProviderApi.md

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ All URIs are relative to *https://api-beta.bimdata.io*
55
Method | HTTP request | Description
66
------------- | ------------- | -------------
77
[**acceptInvitation**](IdentityProviderApi.md#acceptInvitation) | **POST** /identity-provider/invitation/{id}/accept | Accept an invitation
8+
[**deleteUser**](IdentityProviderApi.md#deleteUser) | **DELETE** /identity-provider/user | Delete user form BIMData
89
[**denyInvitation**](IdentityProviderApi.md#denyInvitation) | **POST** /identity-provider/invitation/{id}/deny | Deny an invitation
910
[**getInvitation**](IdentityProviderApi.md#getInvitation) | **GET** /identity-provider/invitation/{id} | Retrieve an invitation
1011
[**getInvitations**](IdentityProviderApi.md#getInvitations) | **GET** /identity-provider/invitation | Retrieve all invitations
@@ -67,6 +68,62 @@ null (empty response body)
6768
- **Accept**: Not defined
6869

6970

71+
## deleteUser
72+
73+
> deleteUser(data)
74+
75+
Delete user form BIMData
76+
77+
Delete the user and all clouds where the user is alone
78+
79+
### Example
80+
81+
```javascript
82+
import bimdata from '@bimdata/bimdata-api-client';
83+
let defaultClient = bimdata.ApiClient.instance;
84+
// Configure API key authorization: Bearer
85+
let Bearer = defaultClient.authentications['Bearer'];
86+
Bearer.apiKey = 'YOUR API KEY';
87+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
88+
//Bearer.apiKeyPrefix = 'Token';
89+
// Configure OAuth2 access token for authorization: bimdata_connect
90+
let bimdata_connect = defaultClient.authentications['bimdata_connect'];
91+
bimdata_connect.accessToken = 'YOUR ACCESS TOKEN';
92+
// Configure OAuth2 access token for authorization: client_credentials
93+
let client_credentials = defaultClient.authentications['client_credentials'];
94+
client_credentials.accessToken = 'YOUR ACCESS TOKEN';
95+
96+
let apiInstance = new bimdata.IdentityProviderApi();
97+
let data = new bimdata.SelectUser(); // SelectUser |
98+
apiInstance.deleteUser(data).then(() => {
99+
console.log('API called successfully.');
100+
}, (error) => {
101+
console.error(error);
102+
});
103+
104+
```
105+
106+
### Parameters
107+
108+
109+
Name | Type | Description | Notes
110+
------------- | ------------- | ------------- | -------------
111+
**data** | [**SelectUser**](SelectUser.md)| |
112+
113+
### Return type
114+
115+
null (empty response body)
116+
117+
### Authorization
118+
119+
[Bearer](../README.md#Bearer), [bimdata_connect](../README.md#bimdata_connect), [client_credentials](../README.md#client_credentials)
120+
121+
### HTTP request headers
122+
123+
- **Content-Type**: application/json
124+
- **Accept**: Not defined
125+
126+
70127
## denyInvitation
71128

72129
> denyInvitation(id)

docs/Ifc.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,6 @@ Name | Type | Description | Notes
2121
**xktFile** | **String** | | [optional]
2222
**projectId** | **String** | | [optional]
2323
**worldPosition** | **[Number]** | [x,y,z] array of the position of the local_placement in world coordinates | [optional]
24+
**errors** | **[String]** | List for warnings and errors that happened during IFC processing | [optional]
2425

2526

docs/IfcApi.md

Lines changed: 1201 additions & 246 deletions
Large diffs are not rendered by default.

docs/IfcErrors.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# bimdata.IfcErrors
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**errors** | **[String]** | List for warnings and errors that happened during IFC processing | [optional]
8+
9+

docs/Layer.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# bimdata.Layer
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**id** | **Number** | | [optional]
8+
**name** | **String** | Name of the layer |
9+
**identifier** | **String** | | [optional]
10+
**description** | **String** | | [optional]
11+
**elements** | **[String]** | |
12+
13+

0 commit comments

Comments
 (0)