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

Commit 540a148

Browse files
committed
PATCH: fix wrong role invitation type
1 parent 91d93d1 commit 540a148

File tree

2 files changed

+3
-31
lines changed

2 files changed

+3
-31
lines changed

docs/CloudInvitation.md

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,6 @@ Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**email** | **String** | |
77
**redirectUri** | **String** | User will be redirected to this uri when they accept the invitation |
8-
**role** | **String** | | [optional]
9-
10-
11-
<a name="RoleEnum"></a>
12-
## Enum: RoleEnum
13-
14-
15-
* `100` (value: `"100"`)
16-
17-
* `50` (value: `"50"`)
18-
19-
8+
**role** | **Number** | | [optional]
209

2110

src/model/CloudInvitation.js

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
obj['redirect_uri'] = ApiClient.convertToType(data['redirect_uri'], 'String');
7171
}
7272
if (data.hasOwnProperty('role')) {
73-
obj['role'] = ApiClient.convertToType(data['role'], 'String');
73+
obj['role'] = ApiClient.convertToType(data['role'], 'Number');
7474
}
7575
}
7676
return obj;
@@ -86,28 +86,11 @@
8686
*/
8787
exports.prototype['redirect_uri'] = undefined;
8888
/**
89-
* @member {module:model/CloudInvitation.RoleEnum} role
89+
* @member {Number} role
9090
*/
9191
exports.prototype['role'] = undefined;
9292

9393

94-
/**
95-
* Allowed values for the <code>role</code> property.
96-
* @enum {String}
97-
* @readonly
98-
*/
99-
exports.RoleEnum = {
100-
/**
101-
* value: "100"
102-
* @const
103-
*/
104-
"100": "100",
105-
/**
106-
* value: "50"
107-
* @const
108-
*/
109-
"50": "50" };
110-
11194

11295
return exports;
11396
}));

0 commit comments

Comments
 (0)