@xfloor/floor-memory-sdk-js 1.0.8 → 1.0.10

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.
Files changed (62) hide show
  1. package/README.md +1 -1
  2. package/dist/ApiClient.js +2 -2
  3. package/dist/api/DefaultApi.js +1 -1
  4. package/dist/api/EditFloorApi.js +1 -1
  5. package/dist/api/EventApi.js +1 -1
  6. package/dist/api/GetFloorInformationApi.js +1 -1
  7. package/dist/api/GetRecentEventsApi.js +1 -1
  8. package/dist/api/QueryApi.js +1 -1
  9. package/dist/model/BlockDetails.js +1 -1
  10. package/dist/model/ChangePassword200Response.js +1 -1
  11. package/dist/model/ConversationThreads200Response.js +1 -1
  12. package/dist/model/ConversationThreads200ResponseThreadsInner.js +1 -1
  13. package/dist/model/EditFloor400Response.js +1 -1
  14. package/dist/model/EditFloor400ResponseError.js +1 -1
  15. package/dist/model/Event400Response.js +1 -1
  16. package/dist/model/Event400ResponseError.js +1 -1
  17. package/dist/model/EventResponse.js +1 -1
  18. package/dist/model/FloorInfo.js +48 -5
  19. package/dist/model/GetConversations200Response.js +1 -1
  20. package/dist/model/GetConversations200ResponseConversationInner.js +1 -1
  21. package/dist/model/GetConversations200ResponseConversationInnerAssistant.js +1 -1
  22. package/dist/model/GetConversations200ResponseConversationInnerAssistantChoicesInner.js +1 -1
  23. package/dist/model/GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetails.js +1 -1
  24. package/dist/model/GetConversations200ResponseConversationInnerAssistantChoicesInnerMessage.js +1 -1
  25. package/dist/model/GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetails.js +1 -1
  26. package/dist/model/GetConversations200ResponseConversationInnerAssistantFetchMultiplePosts.js +1 -1
  27. package/dist/model/GetConversations200ResponseConversationInnerAssistantFetchMultiplePostsResultsInner.js +1 -1
  28. package/dist/model/GetConversations200ResponseConversationInnerUser.js +1 -1
  29. package/dist/model/GetConversations200ResponseConversationInnerUserContext.js +1 -1
  30. package/dist/model/GetFloorInformation200Response.js +48 -5
  31. package/dist/model/GetRecentEvents200Response.js +1 -1
  32. package/dist/model/GetRecentEvents200ResponseItemsInner.js +1 -1
  33. package/dist/model/GetRecentEvents200ResponseItemsInnerAuthor.js +1 -1
  34. package/dist/model/GetRecentEvents400Response.js +1 -1
  35. package/dist/model/GetRecentEvents400ResponseError.js +1 -1
  36. package/dist/model/Media.js +1 -1
  37. package/dist/model/Model400ErrorCode.js +1 -1
  38. package/dist/model/PostAdd.js +1 -1
  39. package/dist/model/Query422Response.js +1 -1
  40. package/dist/model/Query422ResponseError.js +1 -1
  41. package/dist/model/QueryRequest.js +1 -1
  42. package/dist/model/QueryRequestFilters.js +1 -1
  43. package/dist/model/QueryResponse.js +1 -1
  44. package/dist/model/QueryResponseItemsInner.js +1 -1
  45. package/dist/model/ResetPassword200Response.js +1 -1
  46. package/dist/model/ResetPassword400Response.js +1 -1
  47. package/dist/model/SendSignInValidationCode200Response.js +1 -1
  48. package/dist/model/SendValidationCode200Response.js +1 -1
  49. package/dist/model/SendValidationCodeRequest.js +1 -1
  50. package/dist/model/SignInWithEmail200Response.js +1 -1
  51. package/dist/model/SignInWithEmail200ResponsePodInfo.js +1 -1
  52. package/dist/model/SignInWithEmail200ResponseProfile.js +1 -1
  53. package/dist/model/SignInWithEmail200ResponseProfileAvatar.js +1 -1
  54. package/dist/model/SignUp200Response.js +1 -1
  55. package/dist/model/SignUpResponse.js +1 -1
  56. package/dist/model/Threads.js +1 -1
  57. package/dist/model/UserDetails.js +1 -1
  58. package/dist/model/ValidateCode400Response.js +1 -1
  59. package/dist/model/ValidateCode400ResponseError.js +1 -1
  60. package/dist/model/ValidateCode412Response.js +1 -1
  61. package/dist/model/ValidateCodeRequest.js +1 -1
  62. 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.8
14
+ - Package version: 1.0.10
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.8
30
+ * @version 1.0.10
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.8/Javascript'
71
+ 'User-Agent': 'OpenAPI-Generator/1.0.10/Javascript'
72
72
  };
73
73
 
74
74
  /**
@@ -45,7 +45,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
45
45
  /**
46
46
  * Default service.
47
47
  * @module api/DefaultApi
48
- * @version 1.0.8
48
+ * @version 1.0.10
49
49
  */
50
50
  var DefaultApi = exports["default"] = /*#__PURE__*/function () {
51
51
  /**
@@ -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.8
33
+ * @version 1.0.10
34
34
  */
35
35
  var EditFloorApi = 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
  * Event service.
32
32
  * @module api/EventApi
33
- * @version 1.0.8
33
+ * @version 1.0.10
34
34
  */
35
35
  var EventApi = 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
  * GetFloorInformation service.
32
32
  * @module api/GetFloorInformationApi
33
- * @version 1.0.8
33
+ * @version 1.0.10
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.8
33
+ * @version 1.0.10
34
34
  */
35
35
  var GetRecentEventsApi = exports["default"] = /*#__PURE__*/function () {
36
36
  /**
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
31
31
  /**
32
32
  * Query service.
33
33
  * @module api/QueryApi
34
- * @version 1.0.8
34
+ * @version 1.0.10
35
35
  */
36
36
  var QueryApi = exports["default"] = /*#__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 BlockDetails model module.
33
33
  * @module model/BlockDetails
34
- * @version 1.0.8
34
+ * @version 1.0.10
35
35
  */
36
36
  var BlockDetails = /*#__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 ChangePassword200Response model module.
33
33
  * @module model/ChangePassword200Response
34
- * @version 1.0.8
34
+ * @version 1.0.10
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.8
35
+ * @version 1.0.10
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.8
34
+ * @version 1.0.10
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.8
35
+ * @version 1.0.10
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.8
34
+ * @version 1.0.10
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.8
35
+ * @version 1.0.10
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.8
34
+ * @version 1.0.10
35
35
  */
36
36
  var Event400ResponseError = /*#__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 EventResponse model module.
33
33
  * @module model/EventResponse
34
- * @version 1.0.8
34
+ * @version 1.0.10
35
35
  */
36
36
  var EventResponse = /*#__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 FloorInfo model module.
35
35
  * @module model/FloorInfo
36
- * @version 1.0.8
36
+ * @version 1.0.10
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,15 @@ 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
+ }
105
+ if (data.hasOwnProperty('app_id')) {
106
+ obj['app_id'] = _ApiClient["default"].convertToType(data['app_id'], 'String');
107
+ }
95
108
  }
96
109
  return obj;
97
110
  }
@@ -161,11 +174,23 @@ var FloorInfo = /*#__PURE__*/function () {
161
174
  // data not null
162
175
  _Media["default"].validateJSON(data['avatar']);
163
176
  }
177
+ // ensure the json data is a string
178
+ if (data['is_owner'] && !(typeof data['is_owner'] === 'string' || data['is_owner'] instanceof String)) {
179
+ throw new Error("Expected the field `is_owner` to be a primitive type in the JSON string but got " + data['is_owner']);
180
+ }
181
+ // ensure the json data is a string
182
+ if (data['floor_type'] && !(typeof data['floor_type'] === 'string' || data['floor_type'] instanceof String)) {
183
+ throw new Error("Expected the field `floor_type` to be a primitive type in the JSON string but got " + data['floor_type']);
184
+ }
185
+ // ensure the json data is a string
186
+ if (data['app_id'] && !(typeof data['app_id'] === 'string' || data['app_id'] instanceof String)) {
187
+ throw new Error("Expected the field `app_id` to be a primitive type in the JSON string but got " + data['app_id']);
188
+ }
164
189
  return true;
165
190
  }
166
191
  }]);
167
192
  }();
168
- FloorInfo.RequiredProperties = ["floor_id", "title", "floor_uid"];
193
+ FloorInfo.RequiredProperties = ["floor_id", "title", "floor_uid", "is_owner", "floor_type"];
169
194
 
170
195
  /**
171
196
  * Pod floor ID
@@ -201,4 +226,22 @@ FloorInfo.prototype['blocks'] = undefined;
201
226
  * @member {module:model/Media} avatar
202
227
  */
203
228
  FloorInfo.prototype['avatar'] = undefined;
229
+
230
+ /**
231
+ * Is the user Owner
232
+ * @member {String} is_owner
233
+ */
234
+ FloorInfo.prototype['is_owner'] = undefined;
235
+
236
+ /**
237
+ * Type of floor (POD, PUBLIC or PRIVATE)
238
+ * @member {String} floor_type
239
+ */
240
+ FloorInfo.prototype['floor_type'] = undefined;
241
+
242
+ /**
243
+ * Optional - Applicable only if pod is present.
244
+ * @member {String} app_id
245
+ */
246
+ FloorInfo.prototype['app_id'] = undefined;
204
247
  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.8
35
+ * @version 1.0.10
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.8
33
+ * @version 1.0.10
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.8
36
+ * @version 1.0.10
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.8
34
+ * @version 1.0.10
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.8
34
+ * @version 1.0.10
35
35
  */
36
36
  var GetConversations200ResponseConversationInnerAssistantChoicesInnerAiModelDetails = /*#__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 GetConversations200ResponseConversationInnerAssistantChoicesInnerMessage model module.
33
33
  * @module model/GetConversations200ResponseConversationInnerAssistantChoicesInnerMessage
34
- * @version 1.0.8
34
+ * @version 1.0.10
35
35
  */
36
36
  var GetConversations200ResponseConversationInnerAssistantChoicesInnerMessage = /*#__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 GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetails model module.
33
33
  * @module model/GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetails
34
- * @version 1.0.8
34
+ * @version 1.0.10
35
35
  */
36
36
  var GetConversations200ResponseConversationInnerAssistantChoicesInnerPromptDetails = /*#__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 GetConversations200ResponseConversationInnerAssistantFetchMultiplePosts model module.
34
34
  * @module model/GetConversations200ResponseConversationInnerAssistantFetchMultiplePosts
35
- * @version 1.0.8
35
+ * @version 1.0.10
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.8
34
+ * @version 1.0.10
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.8
35
+ * @version 1.0.10
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.8
34
+ * @version 1.0.10
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.8
36
+ * @version 1.0.10
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,15 @@ 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
+ }
104
+ if (data.hasOwnProperty('app_id')) {
105
+ obj['app_id'] = _ApiClient["default"].convertToType(data['app_id'], 'String');
106
+ }
94
107
  }
95
108
  return obj;
96
109
  }
@@ -160,11 +173,23 @@ var GetFloorInformation200Response = /*#__PURE__*/function () {
160
173
  // data not null
161
174
  _Media["default"].validateJSON(data['avatar']);
162
175
  }
176
+ // ensure the json data is a string
177
+ if (data['is_owner'] && !(typeof data['is_owner'] === 'string' || data['is_owner'] instanceof String)) {
178
+ throw new Error("Expected the field `is_owner` to be a primitive type in the JSON string but got " + data['is_owner']);
179
+ }
180
+ // ensure the json data is a string
181
+ if (data['floor_type'] && !(typeof data['floor_type'] === 'string' || data['floor_type'] instanceof String)) {
182
+ throw new Error("Expected the field `floor_type` to be a primitive type in the JSON string but got " + data['floor_type']);
183
+ }
184
+ // ensure the json data is a string
185
+ if (data['app_id'] && !(typeof data['app_id'] === 'string' || data['app_id'] instanceof String)) {
186
+ throw new Error("Expected the field `app_id` to be a primitive type in the JSON string but got " + data['app_id']);
187
+ }
163
188
  return true;
164
189
  }
165
190
  }]);
166
191
  }();
167
- GetFloorInformation200Response.RequiredProperties = ["floor_id", "title", "floor_uid"];
192
+ GetFloorInformation200Response.RequiredProperties = ["floor_id", "title", "floor_uid", "is_owner", "floor_type"];
168
193
 
169
194
  /**
170
195
  * Pod floor ID
@@ -200,4 +225,22 @@ GetFloorInformation200Response.prototype['blocks'] = undefined;
200
225
  * @member {module:model/Media} avatar
201
226
  */
202
227
  GetFloorInformation200Response.prototype['avatar'] = undefined;
228
+
229
+ /**
230
+ * Is the user Owner
231
+ * @member {String} is_owner
232
+ */
233
+ GetFloorInformation200Response.prototype['is_owner'] = undefined;
234
+
235
+ /**
236
+ * Type of floor (POD, PUBLIC or PRIVATE)
237
+ * @member {String} floor_type
238
+ */
239
+ GetFloorInformation200Response.prototype['floor_type'] = undefined;
240
+
241
+ /**
242
+ * Optional - Applicable only if pod is present.
243
+ * @member {String} app_id
244
+ */
245
+ GetFloorInformation200Response.prototype['app_id'] = undefined;
203
246
  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.8
35
+ * @version 1.0.10
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.8
36
+ * @version 1.0.10
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.8
32
+ * @version 1.0.10
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.8
35
+ * @version 1.0.10
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.8
34
+ * @version 1.0.10
35
35
  */
36
36
  var GetRecentEvents400ResponseError = /*#__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 Media model module.
33
33
  * @module model/Media
34
- * @version 1.0.8
34
+ * @version 1.0.10
35
35
  */
36
36
  var Media = /*#__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 Model400ErrorCode model module.
33
33
  * @module model/Model400ErrorCode
34
- * @version 1.0.8
34
+ * @version 1.0.10
35
35
  */
36
36
  var Model400ErrorCode = /*#__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 PostAdd model module.
33
33
  * @module model/PostAdd
34
- * @version 1.0.8
34
+ * @version 1.0.10
35
35
  */
36
36
  var PostAdd = /*#__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 Query422Response model module.
34
34
  * @module model/Query422Response
35
- * @version 1.0.8
35
+ * @version 1.0.10
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.8
34
+ * @version 1.0.10
35
35
  */
36
36
  var Query422ResponseError = /*#__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 QueryRequest model module.
34
34
  * @module model/QueryRequest
35
- * @version 1.0.8
35
+ * @version 1.0.10
36
36
  */
37
37
  var QueryRequest = /*#__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 QueryRequestFilters model module.
33
33
  * @module model/QueryRequestFilters
34
- * @version 1.0.8
34
+ * @version 1.0.10
35
35
  */
36
36
  var QueryRequestFilters = /*#__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 QueryResponse model module.
34
34
  * @module model/QueryResponse
35
- * @version 1.0.8
35
+ * @version 1.0.10
36
36
  */
37
37
  var QueryResponse = /*#__PURE__*/function () {
38
38
  /**
@@ -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.8
31
+ * @version 1.0.10
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.8
34
+ * @version 1.0.10
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.8
34
+ * @version 1.0.10
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.8
34
+ * @version 1.0.10
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.8
34
+ * @version 1.0.10
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.8
34
+ * @version 1.0.10
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.8
36
+ * @version 1.0.10
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.8
36
+ * @version 1.0.10
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.8
36
+ * @version 1.0.10
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.8
34
+ * @version 1.0.10
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.8
34
+ * @version 1.0.10
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.8
34
+ * @version 1.0.10
35
35
  */
36
36
  var SignUpResponse = /*#__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 Threads model module.
33
33
  * @module model/Threads
34
- * @version 1.0.8
34
+ * @version 1.0.10
35
35
  */
36
36
  var Threads = /*#__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 UserDetails model module.
35
35
  * @module model/UserDetails
36
- * @version 1.0.8
36
+ * @version 1.0.10
37
37
  */
38
38
  var UserDetails = /*#__PURE__*/function () {
39
39
  /**
@@ -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.8
35
+ * @version 1.0.10
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.8
34
+ * @version 1.0.10
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.8
34
+ * @version 1.0.10
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.8
34
+ * @version 1.0.10
35
35
  */
36
36
  var ValidateCodeRequest = /*#__PURE__*/function () {
37
37
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xfloor/floor-memory-sdk-js",
3
- "version": "1.0.8",
3
+ "version": "1.0.10",
4
4
  "description": "JavaScript SDK for xFloor Memory APIs (Memory + Registration).",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",