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

Commit a1f5362

Browse files
committed
PATCH: fix invitation method name
1 parent 4e3306b commit a1f5362

29 files changed

+458
-2172
lines changed

README.md

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -217,19 +217,17 @@ Class | Method | HTTP request | Description
217217
*bimdata.CheckplanApi* | [**updateRule**](docs/CheckplanApi.md#updateRule) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/checkplan/{check_plan_pk}/ruleset/{ruleset_pk}/rule/{id} |
218218
*bimdata.CheckplanApi* | [**updateRuleComponent**](docs/CheckplanApi.md#updateRuleComponent) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/checkplan/{check_plan_pk}/ruleset/{ruleset_pk}/rule/{rule_pk}/rulecomponent/{id} |
219219
*bimdata.CheckplanApi* | [**updateRuleset**](docs/CheckplanApi.md#updateRuleset) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/checkplan/{check_plan_pk}/ruleset/{id} |
220+
*bimdata.CloudApi* | [**cloudInvite**](docs/CloudApi.md#cloudInvite) | **POST** /cloud/{id}/invite |
220221
*bimdata.CloudApi* | [**createCloud**](docs/CloudApi.md#createCloud) | **POST** /cloud |
221-
*bimdata.CloudApi* | [**createCloudUser**](docs/CloudApi.md#createCloudUser) | **POST** /cloud/{cloud_pk}/user |
222222
*bimdata.CloudApi* | [**createDemo**](docs/CloudApi.md#createDemo) | **POST** /cloud/{id}/create-demo |
223223
*bimdata.CloudApi* | [**deleteCloudUser**](docs/CloudApi.md#deleteCloudUser) | **DELETE** /cloud/{cloud_pk}/user/{id} |
224224
*bimdata.CloudApi* | [**fullUpdateCloud**](docs/CloudApi.md#fullUpdateCloud) | **PUT** /cloud/{id} |
225-
*bimdata.CloudApi* | [**fullUpdateCloudUser**](docs/CloudApi.md#fullUpdateCloudUser) | **PUT** /cloud/{cloud_pk}/user/{id} |
226225
*bimdata.CloudApi* | [**getCloud**](docs/CloudApi.md#getCloud) | **GET** /cloud/{id} |
227226
*bimdata.CloudApi* | [**getCloudSize**](docs/CloudApi.md#getCloudSize) | **GET** /cloud/{id}/size |
228227
*bimdata.CloudApi* | [**getCloudUser**](docs/CloudApi.md#getCloudUser) | **GET** /cloud/{cloud_pk}/user/{id} |
229228
*bimdata.CloudApi* | [**getCloudUsers**](docs/CloudApi.md#getCloudUsers) | **GET** /cloud/{cloud_pk}/user |
230229
*bimdata.CloudApi* | [**getClouds**](docs/CloudApi.md#getClouds) | **GET** /cloud |
231230
*bimdata.CloudApi* | [**updateCloud**](docs/CloudApi.md#updateCloud) | **PATCH** /cloud/{id} |
232-
*bimdata.CloudApi* | [**updateCloudUser**](docs/CloudApi.md#updateCloudUser) | **PATCH** /cloud/{cloud_pk}/user/{id} |
233231
*bimdata.IfcApi* | [**bulkDeleteIfcClassifications**](docs/IfcApi.md#bulkDeleteIfcClassifications) | **DELETE** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/classification/list_destroy |
234232
*bimdata.IfcApi* | [**bulkDeleteIfcProperties**](docs/IfcApi.md#bulkDeleteIfcProperties) | **DELETE** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/property/bulk_destroy |
235233
*bimdata.IfcApi* | [**bulkDeleteIfcPropertyDefinitions**](docs/IfcApi.md#bulkDeleteIfcPropertyDefinitions) | **DELETE** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/propertydefinition/bulk_destroy |
@@ -330,7 +328,6 @@ Class | Method | HTTP request | Description
330328
*bimdata.ProjectApi* | [**createDocument**](docs/ProjectApi.md#createDocument) | **POST** /cloud/{cloud_pk}/project/{project_pk}/document |
331329
*bimdata.ProjectApi* | [**createFolder**](docs/ProjectApi.md#createFolder) | **POST** /cloud/{cloud_pk}/project/{project_pk}/folder |
332330
*bimdata.ProjectApi* | [**createProject**](docs/ProjectApi.md#createProject) | **POST** /cloud/{cloud_pk}/project |
333-
*bimdata.ProjectApi* | [**createProjectUser**](docs/ProjectApi.md#createProjectUser) | **POST** /cloud/{cloud_pk}/project/{project_pk}/user |
334331
*bimdata.ProjectApi* | [**deleteClassification**](docs/ProjectApi.md#deleteClassification) | **DELETE** /cloud/{cloud_pk}/project/{project_pk}/classification/{id} |
335332
*bimdata.ProjectApi* | [**deleteDocument**](docs/ProjectApi.md#deleteDocument) | **DELETE** /cloud/{cloud_pk}/project/{project_pk}/document/{id} |
336333
*bimdata.ProjectApi* | [**deleteFolder**](docs/ProjectApi.md#deleteFolder) | **DELETE** /cloud/{cloud_pk}/project/{project_pk}/folder/{id} |
@@ -340,7 +337,6 @@ Class | Method | HTTP request | Description
340337
*bimdata.ProjectApi* | [**fullUpdateDocument**](docs/ProjectApi.md#fullUpdateDocument) | **PUT** /cloud/{cloud_pk}/project/{project_pk}/document/{id} |
341338
*bimdata.ProjectApi* | [**fullUpdateFolder**](docs/ProjectApi.md#fullUpdateFolder) | **PUT** /cloud/{cloud_pk}/project/{project_pk}/folder/{id} |
342339
*bimdata.ProjectApi* | [**fullUpdateProject**](docs/ProjectApi.md#fullUpdateProject) | **PUT** /cloud/{cloud_pk}/project/{id} |
343-
*bimdata.ProjectApi* | [**fullUpdateProjectUser**](docs/ProjectApi.md#fullUpdateProjectUser) | **PUT** /cloud/{cloud_pk}/project/{project_pk}/user/{id} |
344340
*bimdata.ProjectApi* | [**getClassification**](docs/ProjectApi.md#getClassification) | **GET** /cloud/{cloud_pk}/project/{project_pk}/classification/{id} |
345341
*bimdata.ProjectApi* | [**getClassifications**](docs/ProjectApi.md#getClassifications) | **GET** /cloud/{cloud_pk}/project/{project_pk}/classification |
346342
*bimdata.ProjectApi* | [**getDocument**](docs/ProjectApi.md#getDocument) | **GET** /cloud/{cloud_pk}/project/{project_pk}/document/{id} |
@@ -352,21 +348,13 @@ Class | Method | HTTP request | Description
352348
*bimdata.ProjectApi* | [**getProjectUser**](docs/ProjectApi.md#getProjectUser) | **GET** /cloud/{cloud_pk}/project/{project_pk}/user/{id} |
353349
*bimdata.ProjectApi* | [**getProjectUsers**](docs/ProjectApi.md#getProjectUsers) | **GET** /cloud/{cloud_pk}/project/{project_pk}/user |
354350
*bimdata.ProjectApi* | [**getProjects**](docs/ProjectApi.md#getProjects) | **GET** /cloud/{cloud_pk}/project |
351+
*bimdata.ProjectApi* | [**projectInvite**](docs/ProjectApi.md#projectInvite) | **POST** /cloud/{cloud_pk}/project/{id}/invite |
355352
*bimdata.ProjectApi* | [**updateClassification**](docs/ProjectApi.md#updateClassification) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/classification/{id} |
356353
*bimdata.ProjectApi* | [**updateDocument**](docs/ProjectApi.md#updateDocument) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/document/{id} |
357354
*bimdata.ProjectApi* | [**updateFolder**](docs/ProjectApi.md#updateFolder) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/folder/{id} |
358355
*bimdata.ProjectApi* | [**updateProject**](docs/ProjectApi.md#updateProject) | **PATCH** /cloud/{cloud_pk}/project/{id} |
359-
*bimdata.ProjectApi* | [**updateProjectUser**](docs/ProjectApi.md#updateProjectUser) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/user/{id} |
360-
*bimdata.UserApi* | [**askResetPasswordToken**](docs/UserApi.md#askResetPasswordToken) | **POST** /user/forgot-password |
361-
*bimdata.UserApi* | [**fullUpdateNotification**](docs/UserApi.md#fullUpdateNotification) | **PUT** /user/notification/{id} |
362-
*bimdata.UserApi* | [**getNotification**](docs/UserApi.md#getNotification) | **GET** /user/notification/{id} |
363-
*bimdata.UserApi* | [**getSelfNotifications**](docs/UserApi.md#getSelfNotifications) | **GET** /user/notification |
364356
*bimdata.UserApi* | [**getSelfProjects**](docs/UserApi.md#getSelfProjects) | **GET** /user/projects |
365357
*bimdata.UserApi* | [**getSelfUser**](docs/UserApi.md#getSelfUser) | **GET** /user |
366-
*bimdata.UserApi* | [**resetPassword**](docs/UserApi.md#resetPassword) | **POST** /user/reset-password |
367-
*bimdata.UserApi* | [**signUp**](docs/UserApi.md#signUp) | **POST** /user/signup |
368-
*bimdata.UserApi* | [**signUpWithInvitationToken**](docs/UserApi.md#signUpWithInvitationToken) | **POST** /user/invited-signup |
369-
*bimdata.UserApi* | [**updateNotification**](docs/UserApi.md#updateNotification) | **PATCH** /user/notification/{id} |
370358
*bimdata.UserApi* | [**updateSelfUser**](docs/UserApi.md#updateSelfUser) | **PATCH** /user |
371359

372360

@@ -379,6 +367,7 @@ Class | Method | HTTP request | Description
379367
- [bimdata.Classification](docs/Classification.md)
380368
- [bimdata.ClippingPlane](docs/ClippingPlane.md)
381369
- [bimdata.Cloud](docs/Cloud.md)
370+
- [bimdata.CloudInvitation](docs/CloudInvitation.md)
382371
- [bimdata.CloudRole](docs/CloudRole.md)
383372
- [bimdata.Coloring](docs/Coloring.md)
384373
- [bimdata.Comment](docs/Comment.md)
@@ -392,22 +381,19 @@ Class | Method | HTTP request | Description
392381
- [bimdata.Extensions](docs/Extensions.md)
393382
- [bimdata.Feature](docs/Feature.md)
394383
- [bimdata.Folder](docs/Folder.md)
395-
- [bimdata.ForgotPassword](docs/ForgotPassword.md)
396384
- [bimdata.Ifc](docs/Ifc.md)
397385
- [bimdata.IfcChecker](docs/IfcChecker.md)
398386
- [bimdata.IfcCheckerCheckplan](docs/IfcCheckerCheckplan.md)
399387
- [bimdata.IfcCheckerResults](docs/IfcCheckerResults.md)
400388
- [bimdata.IfcFiles](docs/IfcFiles.md)
401-
- [bimdata.InviteUser](docs/InviteUser.md)
402-
- [bimdata.InvitedSignUpUser](docs/InvitedSignUpUser.md)
403389
- [bimdata.Label](docs/Label.md)
404390
- [bimdata.LineSeriaizer](docs/LineSeriaizer.md)
405-
- [bimdata.Notification](docs/Notification.md)
406391
- [bimdata.OrthogonalCamera](docs/OrthogonalCamera.md)
407392
- [bimdata.PerspectiveCamera](docs/PerspectiveCamera.md)
408393
- [bimdata.Point](docs/Point.md)
409394
- [bimdata.Priority](docs/Priority.md)
410395
- [bimdata.Project](docs/Project.md)
396+
- [bimdata.ProjectInvitation](docs/ProjectInvitation.md)
411397
- [bimdata.ProjectRole](docs/ProjectRole.md)
412398
- [bimdata.Property](docs/Property.md)
413399
- [bimdata.PropertyDefinition](docs/PropertyDefinition.md)
@@ -418,13 +404,11 @@ Class | Method | HTTP request | Description
418404
- [bimdata.RawProperty](docs/RawProperty.md)
419405
- [bimdata.RawPropertySet](docs/RawPropertySet.md)
420406
- [bimdata.RawUnit](docs/RawUnit.md)
421-
- [bimdata.ResetPassword](docs/ResetPassword.md)
422407
- [bimdata.Rule](docs/Rule.md)
423408
- [bimdata.RuleComponent](docs/RuleComponent.md)
424409
- [bimdata.Ruleset](docs/Ruleset.md)
425410
- [bimdata.SelfBcfUser](docs/SelfBcfUser.md)
426411
- [bimdata.SelfUser](docs/SelfUser.md)
427-
- [bimdata.SignUpUser](docs/SignUpUser.md)
428412
- [bimdata.SingleJsonTopic](docs/SingleJsonTopic.md)
429413
- [bimdata.Snapshot](docs/Snapshot.md)
430414
- [bimdata.Space](docs/Space.md)

docs/CloudApi.md

Lines changed: 21 additions & 119 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,26 @@ All URIs are relative to *https://api-beta.bimdata.io*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
7+
[**cloudInvite**](CloudApi.md#cloudInvite) | **POST** /cloud/{id}/invite |
78
[**createCloud**](CloudApi.md#createCloud) | **POST** /cloud |
8-
[**createCloudUser**](CloudApi.md#createCloudUser) | **POST** /cloud/{cloud_pk}/user |
99
[**createDemo**](CloudApi.md#createDemo) | **POST** /cloud/{id}/create-demo |
1010
[**deleteCloudUser**](CloudApi.md#deleteCloudUser) | **DELETE** /cloud/{cloud_pk}/user/{id} |
1111
[**fullUpdateCloud**](CloudApi.md#fullUpdateCloud) | **PUT** /cloud/{id} |
12-
[**fullUpdateCloudUser**](CloudApi.md#fullUpdateCloudUser) | **PUT** /cloud/{cloud_pk}/user/{id} |
1312
[**getCloud**](CloudApi.md#getCloud) | **GET** /cloud/{id} |
1413
[**getCloudSize**](CloudApi.md#getCloudSize) | **GET** /cloud/{id}/size |
1514
[**getCloudUser**](CloudApi.md#getCloudUser) | **GET** /cloud/{cloud_pk}/user/{id} |
1615
[**getCloudUsers**](CloudApi.md#getCloudUsers) | **GET** /cloud/{cloud_pk}/user |
1716
[**getClouds**](CloudApi.md#getClouds) | **GET** /cloud |
1817
[**updateCloud**](CloudApi.md#updateCloud) | **PATCH** /cloud/{id} |
19-
[**updateCloudUser**](CloudApi.md#updateCloudUser) | **PATCH** /cloud/{cloud_pk}/user/{id} |
2018

2119

22-
<a name="createCloud"></a>
23-
# **createCloud**
24-
> Cloud createCloud(cloud)
20+
<a name="cloudInvite"></a>
21+
# **cloudInvite**
22+
> cloudInvite(id, cloudInvitation)
23+
2524

2625

26+
Invite a cloud administrator. They will have the ADMIN role on the cloud and on each project of the cloud
2727

2828
### Example
2929
```javascript
@@ -36,9 +36,10 @@ Bearer.apiKey = 'YOUR API KEY';
3636
//Bearer.apiKeyPrefix = 'Token';
3737

3838
var apiInstance = new bimdata.CloudApi();
39-
var cloud = new bimdata.Cloud(); // Cloud |
40-
apiInstance.createCloud(cloud).then(function(data) {
41-
console.log('API called successfully. Returned data: ' + data);
39+
var id = 56; // Number | A unique integer value identifying this cloud.
40+
var cloudInvitation = new bimdata.CloudInvitation(); // CloudInvitation |
41+
apiInstance.cloudInvite(id, cloudInvitation).then(function() {
42+
console.log('API called successfully.');
4243
}, function(error) {
4344
console.error(error);
4445
});
@@ -49,11 +50,12 @@ apiInstance.createCloud(cloud).then(function(data) {
4950

5051
Name | Type | Description | Notes
5152
------------- | ------------- | ------------- | -------------
52-
**cloud** | [**Cloud**](Cloud.md)| |
53+
**id** | **Number**| A unique integer value identifying this cloud. |
54+
**cloudInvitation** | [**CloudInvitation**](CloudInvitation.md)| |
5355

5456
### Return type
5557

56-
[**Cloud**](Cloud.md)
58+
null (empty response body)
5759

5860
### Authorization
5961

@@ -62,11 +64,11 @@ Name | Type | Description | Notes
6264
### HTTP request headers
6365

6466
- **Content-Type**: application/json
65-
- **Accept**: application/json
67+
- **Accept**: Not defined
6668

67-
<a name="createCloudUser"></a>
68-
# **createCloudUser**
69-
> InviteUser createCloudUser(cloudPk, inviteUser)
69+
<a name="createCloud"></a>
70+
# **createCloud**
71+
> Cloud createCloud(cloud)
7072
7173

7274

@@ -81,9 +83,8 @@ Bearer.apiKey = 'YOUR API KEY';
8183
//Bearer.apiKeyPrefix = 'Token';
8284

8385
var apiInstance = new bimdata.CloudApi();
84-
var cloudPk = "cloudPk_example"; // String |
85-
var inviteUser = new bimdata.InviteUser(); // InviteUser |
86-
apiInstance.createCloudUser(cloudPk, inviteUser).then(function(data) {
86+
var cloud = new bimdata.Cloud(); // Cloud |
87+
apiInstance.createCloud(cloud).then(function(data) {
8788
console.log('API called successfully. Returned data: ' + data);
8889
}, function(error) {
8990
console.error(error);
@@ -95,12 +96,11 @@ apiInstance.createCloudUser(cloudPk, inviteUser).then(function(data) {
9596

9697
Name | Type | Description | Notes
9798
------------- | ------------- | ------------- | -------------
98-
**cloudPk** | **String**| |
99-
**inviteUser** | [**InviteUser**](InviteUser.md)| |
99+
**cloud** | [**Cloud**](Cloud.md)| |
100100

101101
### Return type
102102

103-
[**InviteUser**](InviteUser.md)
103+
[**Cloud**](Cloud.md)
104104

105105
### Authorization
106106

@@ -247,55 +247,6 @@ Name | Type | Description | Notes
247247

248248
[Bearer](../README.md#Bearer)
249249

250-
### HTTP request headers
251-
252-
- **Content-Type**: application/json
253-
- **Accept**: application/json
254-
255-
<a name="fullUpdateCloudUser"></a>
256-
# **fullUpdateCloudUser**
257-
> InviteUser fullUpdateCloudUser(cloudPk, id, inviteUser)
258-
259-
260-
261-
### Example
262-
```javascript
263-
var bimdata = require('@bimdata/bimdata-api-client');
264-
var defaultClient = bimdata.ApiClient.instance;
265-
// Configure API key authorization: Bearer
266-
var Bearer = defaultClient.authentications['Bearer'];
267-
Bearer.apiKey = 'YOUR API KEY';
268-
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
269-
//Bearer.apiKeyPrefix = 'Token';
270-
271-
var apiInstance = new bimdata.CloudApi();
272-
var cloudPk = "cloudPk_example"; // String |
273-
var id = "id_example"; // String |
274-
var inviteUser = new bimdata.InviteUser(); // InviteUser |
275-
apiInstance.fullUpdateCloudUser(cloudPk, id, inviteUser).then(function(data) {
276-
console.log('API called successfully. Returned data: ' + data);
277-
}, function(error) {
278-
console.error(error);
279-
});
280-
281-
```
282-
283-
### Parameters
284-
285-
Name | Type | Description | Notes
286-
------------- | ------------- | ------------- | -------------
287-
**cloudPk** | **String**| |
288-
**id** | **String**| |
289-
**inviteUser** | [**InviteUser**](InviteUser.md)| |
290-
291-
### Return type
292-
293-
[**InviteUser**](InviteUser.md)
294-
295-
### Authorization
296-
297-
[Bearer](../README.md#Bearer)
298-
299250
### HTTP request headers
300251

301252
- **Content-Type**: application/json
@@ -575,52 +526,3 @@ Name | Type | Description | Notes
575526
- **Content-Type**: application/json
576527
- **Accept**: application/json
577528

578-
<a name="updateCloudUser"></a>
579-
# **updateCloudUser**
580-
> InviteUser updateCloudUser(cloudPk, id, inviteUser)
581-
582-
583-
584-
### Example
585-
```javascript
586-
var bimdata = require('@bimdata/bimdata-api-client');
587-
var defaultClient = bimdata.ApiClient.instance;
588-
// Configure API key authorization: Bearer
589-
var Bearer = defaultClient.authentications['Bearer'];
590-
Bearer.apiKey = 'YOUR API KEY';
591-
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
592-
//Bearer.apiKeyPrefix = 'Token';
593-
594-
var apiInstance = new bimdata.CloudApi();
595-
var cloudPk = "cloudPk_example"; // String |
596-
var id = "id_example"; // String |
597-
var inviteUser = new bimdata.InviteUser(); // InviteUser |
598-
apiInstance.updateCloudUser(cloudPk, id, inviteUser).then(function(data) {
599-
console.log('API called successfully. Returned data: ' + data);
600-
}, function(error) {
601-
console.error(error);
602-
});
603-
604-
```
605-
606-
### Parameters
607-
608-
Name | Type | Description | Notes
609-
------------- | ------------- | ------------- | -------------
610-
**cloudPk** | **String**| |
611-
**id** | **String**| |
612-
**inviteUser** | [**InviteUser**](InviteUser.md)| |
613-
614-
### Return type
615-
616-
[**InviteUser**](InviteUser.md)
617-
618-
### Authorization
619-
620-
[Bearer](../README.md#Bearer)
621-
622-
### HTTP request headers
623-
624-
- **Content-Type**: application/json
625-
- **Accept**: application/json
626-
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
# bimdata.ForgotPassword
1+
# bimdata.CloudInvitation
22

33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**email** | **String** | |
7+
**redirectUri** | **String** | User will be redirected to this uri when he accepts the invitation |
78

89

docs/InviteUser.md

Lines changed: 0 additions & 37 deletions
This file was deleted.

docs/InvitedSignUpUser.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

docs/Notification.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)