@xfloor/floor-memory-sdk-js 1.0.8 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/ApiClient.js +2 -2
- package/dist/api/DefaultApi.js +1 -1
- package/dist/api/EditFloorApi.js +1 -1
- package/dist/api/EventApi.js +1 -1
- package/dist/api/GetFloorInformationApi.js +1 -1
- package/dist/api/GetRecentEventsApi.js +1 -1
- package/dist/api/QueryApi.js +1 -1
- package/dist/model/BlockDetails.js +1 -1
- package/dist/model/ChangePassword200Response.js +1 -1
- package/dist/model/ConversationThreads200Response.js +1 -1
- package/dist/model/ConversationThreads200ResponseThreadsInner.js +1 -1
- package/dist/model/EditFloor400Response.js +1 -1
- package/dist/model/EditFloor400ResponseError.js +1 -1
- package/dist/model/Event400Response.js +1 -1
- package/dist/model/Event400ResponseError.js +1 -1
- package/dist/model/EventResponse.js +1 -1
- package/dist/model/FloorInfo.js +35 -5
- package/dist/model/GetConversations200Response.js +1 -1
- package/dist/model/GetConversations200ResponseConversationInner.js +1 -1
- package/dist/model/GetConversations200ResponseConversationInnerAssistant.js +1 -1
- package/dist/model/GetConversations200ResponseConversationInnerAssistantChoicesInner.js +1 -1
- package/dist/model/GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetails.js +1 -1
- package/dist/model/GetConversations200ResponseConversationInnerAssistantChoicesInnerMessage.js +1 -1
- package/dist/model/GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetails.js +1 -1
- package/dist/model/GetConversations200ResponseConversationInnerAssistantFetchMultiplePosts.js +1 -1
- package/dist/model/GetConversations200ResponseConversationInnerAssistantFetchMultiplePostsResultsInner.js +1 -1
- package/dist/model/GetConversations200ResponseConversationInnerUser.js +1 -1
- package/dist/model/GetConversations200ResponseConversationInnerUserContext.js +1 -1
- package/dist/model/GetFloorInformation200Response.js +35 -5
- package/dist/model/GetRecentEvents200Response.js +1 -1
- package/dist/model/GetRecentEvents200ResponseItemsInner.js +1 -1
- package/dist/model/GetRecentEvents200ResponseItemsInnerAuthor.js +1 -1
- package/dist/model/GetRecentEvents400Response.js +1 -1
- package/dist/model/GetRecentEvents400ResponseError.js +1 -1
- package/dist/model/Media.js +1 -1
- package/dist/model/Model400ErrorCode.js +1 -1
- package/dist/model/PostAdd.js +1 -1
- package/dist/model/Query422Response.js +1 -1
- package/dist/model/Query422ResponseError.js +1 -1
- package/dist/model/QueryRequest.js +1 -1
- package/dist/model/QueryRequestFilters.js +1 -1
- package/dist/model/QueryResponse.js +1 -1
- package/dist/model/QueryResponseItemsInner.js +1 -1
- package/dist/model/ResetPassword200Response.js +1 -1
- package/dist/model/ResetPassword400Response.js +1 -1
- package/dist/model/SendSignInValidationCode200Response.js +1 -1
- package/dist/model/SendValidationCode200Response.js +1 -1
- package/dist/model/SendValidationCodeRequest.js +1 -1
- package/dist/model/SignInWithEmail200Response.js +1 -1
- package/dist/model/SignInWithEmail200ResponsePodInfo.js +1 -1
- package/dist/model/SignInWithEmail200ResponseProfile.js +1 -1
- package/dist/model/SignInWithEmail200ResponseProfileAvatar.js +1 -1
- package/dist/model/SignUp200Response.js +1 -1
- package/dist/model/SignUpResponse.js +1 -1
- package/dist/model/Threads.js +1 -1
- package/dist/model/UserDetails.js +1 -1
- package/dist/model/ValidateCode400Response.js +1 -1
- package/dist/model/ValidateCode400ResponseError.js +1 -1
- package/dist/model/ValidateCode412Response.js +1 -1
- package/dist/model/ValidateCodeRequest.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@ The developer has two ways of using the APIs for the app development. Developer
|
|
|
11
11
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
12
12
|
|
|
13
13
|
- API version: 1.0.0
|
|
14
|
-
- Package version: 1.0.
|
|
14
|
+
- Package version: 1.0.9
|
|
15
15
|
- Generator version: 7.18.0
|
|
16
16
|
- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
|
|
17
17
|
For more information, please visit [https://xfloor.ai/ipomo/blog1551084548304/](https://xfloor.ai/ipomo/blog1551084548304/)
|
package/dist/ApiClient.js
CHANGED
|
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
27
27
|
*/
|
|
28
28
|
/**
|
|
29
29
|
* @module ApiClient
|
|
30
|
-
* @version 1.0.
|
|
30
|
+
* @version 1.0.9
|
|
31
31
|
*/
|
|
32
32
|
/**
|
|
33
33
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
@@ -68,7 +68,7 @@ var ApiClient = /*#__PURE__*/function () {
|
|
|
68
68
|
* @default {}
|
|
69
69
|
*/
|
|
70
70
|
this.defaultHeaders = {
|
|
71
|
-
'User-Agent': 'OpenAPI-Generator/1.0.
|
|
71
|
+
'User-Agent': 'OpenAPI-Generator/1.0.9/Javascript'
|
|
72
72
|
};
|
|
73
73
|
|
|
74
74
|
/**
|
package/dist/api/DefaultApi.js
CHANGED
package/dist/api/EditFloorApi.js
CHANGED
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* EditFloor service.
|
|
32
32
|
* @module api/EditFloorApi
|
|
33
|
-
* @version 1.0.
|
|
33
|
+
* @version 1.0.9
|
|
34
34
|
*/
|
|
35
35
|
var EditFloorApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
package/dist/api/EventApi.js
CHANGED
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* GetFloorInformation service.
|
|
32
32
|
* @module api/GetFloorInformationApi
|
|
33
|
-
* @version 1.0.
|
|
33
|
+
* @version 1.0.9
|
|
34
34
|
*/
|
|
35
35
|
var GetFloorInformationApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* GetRecentEvents service.
|
|
32
32
|
* @module api/GetRecentEventsApi
|
|
33
|
-
* @version 1.0.
|
|
33
|
+
* @version 1.0.9
|
|
34
34
|
*/
|
|
35
35
|
var GetRecentEventsApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
package/dist/api/QueryApi.js
CHANGED
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The ChangePassword200Response model module.
|
|
33
33
|
* @module model/ChangePassword200Response
|
|
34
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.9
|
|
35
35
|
*/
|
|
36
36
|
var ChangePassword200Response = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
@@ -32,7 +32,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
32
32
|
/**
|
|
33
33
|
* The ConversationThreads200Response model module.
|
|
34
34
|
* @module model/ConversationThreads200Response
|
|
35
|
-
* @version 1.0.
|
|
35
|
+
* @version 1.0.9
|
|
36
36
|
*/
|
|
37
37
|
var ConversationThreads200Response = /*#__PURE__*/function () {
|
|
38
38
|
/**
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The ConversationThreads200ResponseThreadsInner model module.
|
|
33
33
|
* @module model/ConversationThreads200ResponseThreadsInner
|
|
34
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.9
|
|
35
35
|
*/
|
|
36
36
|
var ConversationThreads200ResponseThreadsInner = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
@@ -32,7 +32,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
32
32
|
/**
|
|
33
33
|
* The EditFloor400Response model module.
|
|
34
34
|
* @module model/EditFloor400Response
|
|
35
|
-
* @version 1.0.
|
|
35
|
+
* @version 1.0.9
|
|
36
36
|
*/
|
|
37
37
|
var EditFloor400Response = /*#__PURE__*/function () {
|
|
38
38
|
/**
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The EditFloor400ResponseError model module.
|
|
33
33
|
* @module model/EditFloor400ResponseError
|
|
34
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.9
|
|
35
35
|
*/
|
|
36
36
|
var EditFloor400ResponseError = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
@@ -32,7 +32,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
32
32
|
/**
|
|
33
33
|
* The Event400Response model module.
|
|
34
34
|
* @module model/Event400Response
|
|
35
|
-
* @version 1.0.
|
|
35
|
+
* @version 1.0.9
|
|
36
36
|
*/
|
|
37
37
|
var Event400Response = /*#__PURE__*/function () {
|
|
38
38
|
/**
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The Event400ResponseError model module.
|
|
33
33
|
* @module model/Event400ResponseError
|
|
34
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.9
|
|
35
35
|
*/
|
|
36
36
|
var Event400ResponseError = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
package/dist/model/FloorInfo.js
CHANGED
|
@@ -33,7 +33,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
33
33
|
/**
|
|
34
34
|
* The FloorInfo model module.
|
|
35
35
|
* @module model/FloorInfo
|
|
36
|
-
* @version 1.0.
|
|
36
|
+
* @version 1.0.9
|
|
37
37
|
*/
|
|
38
38
|
var FloorInfo = /*#__PURE__*/function () {
|
|
39
39
|
/**
|
|
@@ -43,10 +43,12 @@ var FloorInfo = /*#__PURE__*/function () {
|
|
|
43
43
|
* @param floorId {String} Pod floor ID
|
|
44
44
|
* @param title {String} Title
|
|
45
45
|
* @param floorUid {String} Unique numeric ID of the pod floor
|
|
46
|
+
* @param isOwner {String} Is the user Owner
|
|
47
|
+
* @param floorType {String} Type of floor (POD, PUBLIC or PRIVATE)
|
|
46
48
|
*/
|
|
47
|
-
function FloorInfo(floorId, title, floorUid) {
|
|
49
|
+
function FloorInfo(floorId, title, floorUid, isOwner, floorType) {
|
|
48
50
|
_classCallCheck(this, FloorInfo);
|
|
49
|
-
FloorInfo.initialize(this, floorId, title, floorUid);
|
|
51
|
+
FloorInfo.initialize(this, floorId, title, floorUid, isOwner, floorType);
|
|
50
52
|
}
|
|
51
53
|
|
|
52
54
|
/**
|
|
@@ -56,10 +58,12 @@ var FloorInfo = /*#__PURE__*/function () {
|
|
|
56
58
|
*/
|
|
57
59
|
return _createClass(FloorInfo, null, [{
|
|
58
60
|
key: "initialize",
|
|
59
|
-
value: function initialize(obj, floorId, title, floorUid) {
|
|
61
|
+
value: function initialize(obj, floorId, title, floorUid, isOwner, floorType) {
|
|
60
62
|
obj['floor_id'] = floorId;
|
|
61
63
|
obj['title'] = title;
|
|
62
64
|
obj['floor_uid'] = floorUid;
|
|
65
|
+
obj['is_owner'] = isOwner;
|
|
66
|
+
obj['floor_type'] = floorType;
|
|
63
67
|
}
|
|
64
68
|
|
|
65
69
|
/**
|
|
@@ -92,6 +96,12 @@ var FloorInfo = /*#__PURE__*/function () {
|
|
|
92
96
|
if (data.hasOwnProperty('avatar')) {
|
|
93
97
|
obj['avatar'] = _Media["default"].constructFromObject(data['avatar']);
|
|
94
98
|
}
|
|
99
|
+
if (data.hasOwnProperty('is_owner')) {
|
|
100
|
+
obj['is_owner'] = _ApiClient["default"].convertToType(data['is_owner'], 'String');
|
|
101
|
+
}
|
|
102
|
+
if (data.hasOwnProperty('floor_type')) {
|
|
103
|
+
obj['floor_type'] = _ApiClient["default"].convertToType(data['floor_type'], 'String');
|
|
104
|
+
}
|
|
95
105
|
}
|
|
96
106
|
return obj;
|
|
97
107
|
}
|
|
@@ -161,11 +171,19 @@ var FloorInfo = /*#__PURE__*/function () {
|
|
|
161
171
|
// data not null
|
|
162
172
|
_Media["default"].validateJSON(data['avatar']);
|
|
163
173
|
}
|
|
174
|
+
// ensure the json data is a string
|
|
175
|
+
if (data['is_owner'] && !(typeof data['is_owner'] === 'string' || data['is_owner'] instanceof String)) {
|
|
176
|
+
throw new Error("Expected the field `is_owner` to be a primitive type in the JSON string but got " + data['is_owner']);
|
|
177
|
+
}
|
|
178
|
+
// ensure the json data is a string
|
|
179
|
+
if (data['floor_type'] && !(typeof data['floor_type'] === 'string' || data['floor_type'] instanceof String)) {
|
|
180
|
+
throw new Error("Expected the field `floor_type` to be a primitive type in the JSON string but got " + data['floor_type']);
|
|
181
|
+
}
|
|
164
182
|
return true;
|
|
165
183
|
}
|
|
166
184
|
}]);
|
|
167
185
|
}();
|
|
168
|
-
FloorInfo.RequiredProperties = ["floor_id", "title", "floor_uid"];
|
|
186
|
+
FloorInfo.RequiredProperties = ["floor_id", "title", "floor_uid", "is_owner", "floor_type"];
|
|
169
187
|
|
|
170
188
|
/**
|
|
171
189
|
* Pod floor ID
|
|
@@ -201,4 +219,16 @@ FloorInfo.prototype['blocks'] = undefined;
|
|
|
201
219
|
* @member {module:model/Media} avatar
|
|
202
220
|
*/
|
|
203
221
|
FloorInfo.prototype['avatar'] = undefined;
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* Is the user Owner
|
|
225
|
+
* @member {String} is_owner
|
|
226
|
+
*/
|
|
227
|
+
FloorInfo.prototype['is_owner'] = undefined;
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* Type of floor (POD, PUBLIC or PRIVATE)
|
|
231
|
+
* @member {String} floor_type
|
|
232
|
+
*/
|
|
233
|
+
FloorInfo.prototype['floor_type'] = undefined;
|
|
204
234
|
var _default = exports["default"] = FloorInfo;
|
|
@@ -32,7 +32,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
32
32
|
/**
|
|
33
33
|
* The GetConversations200Response model module.
|
|
34
34
|
* @module model/GetConversations200Response
|
|
35
|
-
* @version 1.0.
|
|
35
|
+
* @version 1.0.9
|
|
36
36
|
*/
|
|
37
37
|
var GetConversations200Response = /*#__PURE__*/function () {
|
|
38
38
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* The GetConversations200ResponseConversationInner model module.
|
|
32
32
|
* @module model/GetConversations200ResponseConversationInner
|
|
33
|
-
* @version 1.0.
|
|
33
|
+
* @version 1.0.9
|
|
34
34
|
*/
|
|
35
35
|
var GetConversations200ResponseConversationInner = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -33,7 +33,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
33
33
|
/**
|
|
34
34
|
* The GetConversations200ResponseConversationInnerAssistant model module.
|
|
35
35
|
* @module model/GetConversations200ResponseConversationInnerAssistant
|
|
36
|
-
* @version 1.0.
|
|
36
|
+
* @version 1.0.9
|
|
37
37
|
*/
|
|
38
38
|
var GetConversations200ResponseConversationInnerAssistant = /*#__PURE__*/function () {
|
|
39
39
|
/**
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The GetConversations200ResponseConversationInnerAssistantChoicesInner model module.
|
|
33
33
|
* @module model/GetConversations200ResponseConversationInnerAssistantChoicesInner
|
|
34
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.9
|
|
35
35
|
*/
|
|
36
36
|
var GetConversations200ResponseConversationInnerAssistantChoicesInner = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetails model module.
|
|
33
33
|
* @module model/GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetails
|
|
34
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.9
|
|
35
35
|
*/
|
|
36
36
|
var GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetails = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
package/dist/model/GetConversations200ResponseConversationInnerAssistantChoicesInnerMessage.js
CHANGED
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The GetConversations200ResponseConversationInnerAssistantChoicesInnerMessage model module.
|
|
33
33
|
* @module model/GetConversations200ResponseConversationInnerAssistantChoicesInnerMessage
|
|
34
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.9
|
|
35
35
|
*/
|
|
36
36
|
var GetConversations200ResponseConversationInnerAssistantChoicesInnerMessage = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
package/dist/model/GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetails.js
CHANGED
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetails model module.
|
|
33
33
|
* @module model/GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetails
|
|
34
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.9
|
|
35
35
|
*/
|
|
36
36
|
var GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetails = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
package/dist/model/GetConversations200ResponseConversationInnerAssistantFetchMultiplePosts.js
CHANGED
|
@@ -32,7 +32,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
32
32
|
/**
|
|
33
33
|
* The GetConversations200ResponseConversationInnerAssistantFetchMultiplePosts model module.
|
|
34
34
|
* @module model/GetConversations200ResponseConversationInnerAssistantFetchMultiplePosts
|
|
35
|
-
* @version 1.0.
|
|
35
|
+
* @version 1.0.9
|
|
36
36
|
*/
|
|
37
37
|
var GetConversations200ResponseConversationInnerAssistantFetchMultiplePosts = /*#__PURE__*/function () {
|
|
38
38
|
/**
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The GetConversations200ResponseConversationInnerAssistantFetchMultiplePostsResultsInner model module.
|
|
33
33
|
* @module model/GetConversations200ResponseConversationInnerAssistantFetchMultiplePostsResultsInner
|
|
34
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.9
|
|
35
35
|
*/
|
|
36
36
|
var GetConversations200ResponseConversationInnerAssistantFetchMultiplePostsResultsInner = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
@@ -32,7 +32,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
32
32
|
/**
|
|
33
33
|
* The GetConversations200ResponseConversationInnerUser model module.
|
|
34
34
|
* @module model/GetConversations200ResponseConversationInnerUser
|
|
35
|
-
* @version 1.0.
|
|
35
|
+
* @version 1.0.9
|
|
36
36
|
*/
|
|
37
37
|
var GetConversations200ResponseConversationInnerUser = /*#__PURE__*/function () {
|
|
38
38
|
/**
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The GetConversations200ResponseConversationInnerUserContext model module.
|
|
33
33
|
* @module model/GetConversations200ResponseConversationInnerUserContext
|
|
34
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.9
|
|
35
35
|
*/
|
|
36
36
|
var GetConversations200ResponseConversationInnerUserContext = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
@@ -33,7 +33,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
33
33
|
/**
|
|
34
34
|
* The GetFloorInformation200Response model module.
|
|
35
35
|
* @module model/GetFloorInformation200Response
|
|
36
|
-
* @version 1.0.
|
|
36
|
+
* @version 1.0.9
|
|
37
37
|
*/
|
|
38
38
|
var GetFloorInformation200Response = /*#__PURE__*/function () {
|
|
39
39
|
/**
|
|
@@ -42,10 +42,12 @@ var GetFloorInformation200Response = /*#__PURE__*/function () {
|
|
|
42
42
|
* @param floorId {String} Pod floor ID
|
|
43
43
|
* @param title {String} Title
|
|
44
44
|
* @param floorUid {String} Unique numeric ID of the pod floor
|
|
45
|
+
* @param isOwner {String} Is the user Owner
|
|
46
|
+
* @param floorType {String} Type of floor (POD, PUBLIC or PRIVATE)
|
|
45
47
|
*/
|
|
46
|
-
function GetFloorInformation200Response(floorId, title, floorUid) {
|
|
48
|
+
function GetFloorInformation200Response(floorId, title, floorUid, isOwner, floorType) {
|
|
47
49
|
_classCallCheck(this, GetFloorInformation200Response);
|
|
48
|
-
GetFloorInformation200Response.initialize(this, floorId, title, floorUid);
|
|
50
|
+
GetFloorInformation200Response.initialize(this, floorId, title, floorUid, isOwner, floorType);
|
|
49
51
|
}
|
|
50
52
|
|
|
51
53
|
/**
|
|
@@ -55,10 +57,12 @@ var GetFloorInformation200Response = /*#__PURE__*/function () {
|
|
|
55
57
|
*/
|
|
56
58
|
return _createClass(GetFloorInformation200Response, null, [{
|
|
57
59
|
key: "initialize",
|
|
58
|
-
value: function initialize(obj, floorId, title, floorUid) {
|
|
60
|
+
value: function initialize(obj, floorId, title, floorUid, isOwner, floorType) {
|
|
59
61
|
obj['floor_id'] = floorId;
|
|
60
62
|
obj['title'] = title;
|
|
61
63
|
obj['floor_uid'] = floorUid;
|
|
64
|
+
obj['is_owner'] = isOwner;
|
|
65
|
+
obj['floor_type'] = floorType;
|
|
62
66
|
}
|
|
63
67
|
|
|
64
68
|
/**
|
|
@@ -91,6 +95,12 @@ var GetFloorInformation200Response = /*#__PURE__*/function () {
|
|
|
91
95
|
if (data.hasOwnProperty('avatar')) {
|
|
92
96
|
obj['avatar'] = _Media["default"].constructFromObject(data['avatar']);
|
|
93
97
|
}
|
|
98
|
+
if (data.hasOwnProperty('is_owner')) {
|
|
99
|
+
obj['is_owner'] = _ApiClient["default"].convertToType(data['is_owner'], 'String');
|
|
100
|
+
}
|
|
101
|
+
if (data.hasOwnProperty('floor_type')) {
|
|
102
|
+
obj['floor_type'] = _ApiClient["default"].convertToType(data['floor_type'], 'String');
|
|
103
|
+
}
|
|
94
104
|
}
|
|
95
105
|
return obj;
|
|
96
106
|
}
|
|
@@ -160,11 +170,19 @@ var GetFloorInformation200Response = /*#__PURE__*/function () {
|
|
|
160
170
|
// data not null
|
|
161
171
|
_Media["default"].validateJSON(data['avatar']);
|
|
162
172
|
}
|
|
173
|
+
// ensure the json data is a string
|
|
174
|
+
if (data['is_owner'] && !(typeof data['is_owner'] === 'string' || data['is_owner'] instanceof String)) {
|
|
175
|
+
throw new Error("Expected the field `is_owner` to be a primitive type in the JSON string but got " + data['is_owner']);
|
|
176
|
+
}
|
|
177
|
+
// ensure the json data is a string
|
|
178
|
+
if (data['floor_type'] && !(typeof data['floor_type'] === 'string' || data['floor_type'] instanceof String)) {
|
|
179
|
+
throw new Error("Expected the field `floor_type` to be a primitive type in the JSON string but got " + data['floor_type']);
|
|
180
|
+
}
|
|
163
181
|
return true;
|
|
164
182
|
}
|
|
165
183
|
}]);
|
|
166
184
|
}();
|
|
167
|
-
GetFloorInformation200Response.RequiredProperties = ["floor_id", "title", "floor_uid"];
|
|
185
|
+
GetFloorInformation200Response.RequiredProperties = ["floor_id", "title", "floor_uid", "is_owner", "floor_type"];
|
|
168
186
|
|
|
169
187
|
/**
|
|
170
188
|
* Pod floor ID
|
|
@@ -200,4 +218,16 @@ GetFloorInformation200Response.prototype['blocks'] = undefined;
|
|
|
200
218
|
* @member {module:model/Media} avatar
|
|
201
219
|
*/
|
|
202
220
|
GetFloorInformation200Response.prototype['avatar'] = undefined;
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* Is the user Owner
|
|
224
|
+
* @member {String} is_owner
|
|
225
|
+
*/
|
|
226
|
+
GetFloorInformation200Response.prototype['is_owner'] = undefined;
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* Type of floor (POD, PUBLIC or PRIVATE)
|
|
230
|
+
* @member {String} floor_type
|
|
231
|
+
*/
|
|
232
|
+
GetFloorInformation200Response.prototype['floor_type'] = undefined;
|
|
203
233
|
var _default = exports["default"] = GetFloorInformation200Response;
|
|
@@ -32,7 +32,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
32
32
|
/**
|
|
33
33
|
* The GetRecentEvents200Response model module.
|
|
34
34
|
* @module model/GetRecentEvents200Response
|
|
35
|
-
* @version 1.0.
|
|
35
|
+
* @version 1.0.9
|
|
36
36
|
*/
|
|
37
37
|
var GetRecentEvents200Response = /*#__PURE__*/function () {
|
|
38
38
|
/**
|
|
@@ -33,7 +33,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
33
33
|
/**
|
|
34
34
|
* The GetRecentEvents200ResponseItemsInner model module.
|
|
35
35
|
* @module model/GetRecentEvents200ResponseItemsInner
|
|
36
|
-
* @version 1.0.
|
|
36
|
+
* @version 1.0.9
|
|
37
37
|
*/
|
|
38
38
|
var GetRecentEvents200ResponseItemsInner = /*#__PURE__*/function () {
|
|
39
39
|
/**
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The GetRecentEvents200ResponseItemsInnerAuthor model module.
|
|
31
31
|
* @module model/GetRecentEvents200ResponseItemsInnerAuthor
|
|
32
|
-
* @version 1.0.
|
|
32
|
+
* @version 1.0.9
|
|
33
33
|
*/
|
|
34
34
|
var GetRecentEvents200ResponseItemsInnerAuthor = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -32,7 +32,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
32
32
|
/**
|
|
33
33
|
* The GetRecentEvents400Response model module.
|
|
34
34
|
* @module model/GetRecentEvents400Response
|
|
35
|
-
* @version 1.0.
|
|
35
|
+
* @version 1.0.9
|
|
36
36
|
*/
|
|
37
37
|
var GetRecentEvents400Response = /*#__PURE__*/function () {
|
|
38
38
|
/**
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The GetRecentEvents400ResponseError model module.
|
|
33
33
|
* @module model/GetRecentEvents400ResponseError
|
|
34
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.9
|
|
35
35
|
*/
|
|
36
36
|
var GetRecentEvents400ResponseError = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
package/dist/model/Media.js
CHANGED
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The Model400ErrorCode model module.
|
|
33
33
|
* @module model/Model400ErrorCode
|
|
34
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.9
|
|
35
35
|
*/
|
|
36
36
|
var Model400ErrorCode = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
package/dist/model/PostAdd.js
CHANGED
|
@@ -32,7 +32,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
32
32
|
/**
|
|
33
33
|
* The Query422Response model module.
|
|
34
34
|
* @module model/Query422Response
|
|
35
|
-
* @version 1.0.
|
|
35
|
+
* @version 1.0.9
|
|
36
36
|
*/
|
|
37
37
|
var Query422Response = /*#__PURE__*/function () {
|
|
38
38
|
/**
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The Query422ResponseError model module.
|
|
33
33
|
* @module model/Query422ResponseError
|
|
34
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.9
|
|
35
35
|
*/
|
|
36
36
|
var Query422ResponseError = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The QueryRequestFilters model module.
|
|
33
33
|
* @module model/QueryRequestFilters
|
|
34
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.9
|
|
35
35
|
*/
|
|
36
36
|
var QueryRequestFilters = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
/**
|
|
29
29
|
* The QueryResponseItemsInner model module.
|
|
30
30
|
* @module model/QueryResponseItemsInner
|
|
31
|
-
* @version 1.0.
|
|
31
|
+
* @version 1.0.9
|
|
32
32
|
*/
|
|
33
33
|
var QueryResponseItemsInner = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The ResetPassword200Response model module.
|
|
33
33
|
* @module model/ResetPassword200Response
|
|
34
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.9
|
|
35
35
|
*/
|
|
36
36
|
var ResetPassword200Response = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The ResetPassword400Response model module.
|
|
33
33
|
* @module model/ResetPassword400Response
|
|
34
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.9
|
|
35
35
|
*/
|
|
36
36
|
var ResetPassword400Response = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The SendSignInValidationCode200Response model module.
|
|
33
33
|
* @module model/SendSignInValidationCode200Response
|
|
34
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.9
|
|
35
35
|
*/
|
|
36
36
|
var SendSignInValidationCode200Response = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The SendValidationCode200Response model module.
|
|
33
33
|
* @module model/SendValidationCode200Response
|
|
34
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.9
|
|
35
35
|
*/
|
|
36
36
|
var SendValidationCode200Response = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The SendValidationCodeRequest model module.
|
|
33
33
|
* @module model/SendValidationCodeRequest
|
|
34
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.9
|
|
35
35
|
*/
|
|
36
36
|
var SendValidationCodeRequest = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
@@ -33,7 +33,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
33
33
|
/**
|
|
34
34
|
* The SignInWithEmail200Response model module.
|
|
35
35
|
* @module model/SignInWithEmail200Response
|
|
36
|
-
* @version 1.0.
|
|
36
|
+
* @version 1.0.9
|
|
37
37
|
*/
|
|
38
38
|
var SignInWithEmail200Response = /*#__PURE__*/function () {
|
|
39
39
|
/**
|
|
@@ -33,7 +33,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
33
33
|
/**
|
|
34
34
|
* The SignInWithEmail200ResponsePodInfo model module.
|
|
35
35
|
* @module model/SignInWithEmail200ResponsePodInfo
|
|
36
|
-
* @version 1.0.
|
|
36
|
+
* @version 1.0.9
|
|
37
37
|
*/
|
|
38
38
|
var SignInWithEmail200ResponsePodInfo = /*#__PURE__*/function () {
|
|
39
39
|
/**
|
|
@@ -33,7 +33,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
33
33
|
/**
|
|
34
34
|
* The SignInWithEmail200ResponseProfile model module.
|
|
35
35
|
* @module model/SignInWithEmail200ResponseProfile
|
|
36
|
-
* @version 1.0.
|
|
36
|
+
* @version 1.0.9
|
|
37
37
|
*/
|
|
38
38
|
var SignInWithEmail200ResponseProfile = /*#__PURE__*/function () {
|
|
39
39
|
/**
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The SignInWithEmail200ResponseProfileAvatar model module.
|
|
33
33
|
* @module model/SignInWithEmail200ResponseProfileAvatar
|
|
34
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.9
|
|
35
35
|
*/
|
|
36
36
|
var SignInWithEmail200ResponseProfileAvatar = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The SignUp200Response model module.
|
|
33
33
|
* @module model/SignUp200Response
|
|
34
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.9
|
|
35
35
|
*/
|
|
36
36
|
var SignUp200Response = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The SignUpResponse model module.
|
|
33
33
|
* @module model/SignUpResponse
|
|
34
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.9
|
|
35
35
|
*/
|
|
36
36
|
var SignUpResponse = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
package/dist/model/Threads.js
CHANGED
|
@@ -32,7 +32,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
32
32
|
/**
|
|
33
33
|
* The ValidateCode400Response model module.
|
|
34
34
|
* @module model/ValidateCode400Response
|
|
35
|
-
* @version 1.0.
|
|
35
|
+
* @version 1.0.9
|
|
36
36
|
*/
|
|
37
37
|
var ValidateCode400Response = /*#__PURE__*/function () {
|
|
38
38
|
/**
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The ValidateCode400ResponseError model module.
|
|
33
33
|
* @module model/ValidateCode400ResponseError
|
|
34
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.9
|
|
35
35
|
*/
|
|
36
36
|
var ValidateCode400ResponseError = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The ValidateCode412Response model module.
|
|
33
33
|
* @module model/ValidateCode412Response
|
|
34
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.9
|
|
35
35
|
*/
|
|
36
36
|
var ValidateCode412Response = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The ValidateCodeRequest model module.
|
|
33
33
|
* @module model/ValidateCodeRequest
|
|
34
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.9
|
|
35
35
|
*/
|
|
36
36
|
var ValidateCodeRequest = /*#__PURE__*/function () {
|
|
37
37
|
/**
|