@xfloor/floor-memory-sdk-js 1.0.18 → 1.0.19

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 (46) hide show
  1. package/README.md +2 -1
  2. package/dist/ApiClient.js +6 -6
  3. package/dist/api/DefaultApi.js +7 -7
  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/index.js +7 -0
  10. package/dist/model/BlockDetails.js +1 -1
  11. package/dist/model/ChangePassword200Response.js +1 -1
  12. package/dist/model/EditFloor400Response.js +1 -1
  13. package/dist/model/EditFloor400ResponseError.js +1 -1
  14. package/dist/model/Event400Response.js +1 -1
  15. package/dist/model/Event400ResponseError.js +1 -1
  16. package/dist/model/EventResponse.js +1 -1
  17. package/dist/model/FloorInfo.js +1 -1
  18. package/dist/model/GetFloorInformation200Response.js +1 -1
  19. package/dist/model/GetRecentEvents200Response.js +1 -1
  20. package/dist/model/GetRecentEvents200ResponseItemsInner.js +1 -1
  21. package/dist/model/GetRecentEvents200ResponseItemsInnerAuthor.js +1 -1
  22. package/dist/model/GetRecentEvents400Response.js +1 -1
  23. package/dist/model/GetRecentEvents400ResponseError.js +1 -1
  24. package/dist/model/Media.js +1 -1
  25. package/dist/model/Model400ErrorCode.js +1 -1
  26. package/dist/model/Query422Response.js +1 -1
  27. package/dist/model/Query422ResponseError.js +1 -1
  28. package/dist/model/QueryRequest.js +1 -1
  29. package/dist/model/QueryRequestFilters.js +1 -1
  30. package/dist/model/QueryResponse.js +1 -1
  31. package/dist/model/QueryResponseItemsInner.js +1 -1
  32. package/dist/model/Remaining.js +103 -0
  33. package/dist/model/ResetPassword200Response.js +1 -1
  34. package/dist/model/ResetPassword400Response.js +1 -1
  35. package/dist/model/SendValidationCode200Response.js +1 -1
  36. package/dist/model/SignInWithEmail200Response.js +1 -1
  37. package/dist/model/SignInWithEmail200ResponsePodInfo.js +37 -13
  38. package/dist/model/SignInWithEmail200ResponseProfile.js +33 -37
  39. package/dist/model/SignInWithEmail200ResponseProfileAvatar.js +1 -1
  40. package/dist/model/SignUp200Response.js +1 -1
  41. package/dist/model/SignUpResponse.js +1 -1
  42. package/dist/model/UserDetails.js +1 -1
  43. package/dist/model/ValidateCode400Response.js +1 -1
  44. package/dist/model/ValidateCode400ResponseError.js +1 -1
  45. package/dist/model/ValidateCode412Response.js +1 -1
  46. 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.18
14
+ - Package version: 1.0.19
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/)
@@ -173,6 +173,7 @@ api.changeEmail(newEmailId, activationCode, callback);
173
173
  - [XfloorFloorMemorySdkJs.QueryRequestFilters](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/QueryRequestFilters.md)
174
174
  - [XfloorFloorMemorySdkJs.QueryResponse](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/QueryResponse.md)
175
175
  - [XfloorFloorMemorySdkJs.QueryResponseItemsInner](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/QueryResponseItemsInner.md)
176
+ - [XfloorFloorMemorySdkJs.Remaining](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/Remaining.md)
176
177
  - [XfloorFloorMemorySdkJs.ResetPassword200Response](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/ResetPassword200Response.md)
177
178
  - [XfloorFloorMemorySdkJs.ResetPassword400Response](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/ResetPassword400Response.md)
178
179
  - [XfloorFloorMemorySdkJs.SendValidationCode200Response](https://github.com/xFloorllm/floor-memory-sdk-client/blob/main/js/docs/SendValidationCode200Response.md)
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.18
30
+ * @version 1.0.19
31
31
  */
32
32
  /**
33
33
  * Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
@@ -43,12 +43,12 @@ var ApiClient = /*#__PURE__*/function () {
43
43
  * @param {String} basePath
44
44
  */
45
45
  function ApiClient() {
46
- var basePath = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'https://floortv.in';
46
+ var basePath = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'https://appfloor.in';
47
47
  _classCallCheck(this, ApiClient);
48
48
  /**
49
49
  * The base URL against which to resolve every API call's (relative) path.
50
50
  * @type {String}
51
- * @default https://floortv.in
51
+ * @default https://appfloor.in
52
52
  */
53
53
  this.basePath = basePath.replace(/\/+$/, '');
54
54
 
@@ -68,7 +68,7 @@ var ApiClient = /*#__PURE__*/function () {
68
68
  * @default {}
69
69
  */
70
70
  this.defaultHeaders = {
71
- 'User-Agent': 'OpenAPI-Generator/1.0.18/Javascript'
71
+ 'User-Agent': 'OpenAPI-Generator/1.0.19/Javascript'
72
72
  };
73
73
 
74
74
  /**
@@ -524,8 +524,8 @@ var ApiClient = /*#__PURE__*/function () {
524
524
  */
525
525
  function hostSettings() {
526
526
  return [{
527
- 'url': "https://floortv.in",
528
- 'description': "Testing Env"
527
+ 'url': "https://appfloor.in",
528
+ 'description': "Prod Env"
529
529
  }];
530
530
  }
531
531
  }, {
@@ -40,7 +40,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
40
40
  /**
41
41
  * Default service.
42
42
  * @module api/DefaultApi
43
- * @version 1.0.18
43
+ * @version 1.0.19
44
44
  */
45
45
  var DefaultApi = exports["default"] = /*#__PURE__*/function () {
46
46
  /**
@@ -59,7 +59,7 @@ var DefaultApi = exports["default"] = /*#__PURE__*/function () {
59
59
  * Callback function to receive the result of the changeEmail operation.
60
60
  * @callback module:api/DefaultApi~changeEmailCallback
61
61
  * @param {String} error Error message, if any.
62
- * @param {Object} data The data returned by the service call.
62
+ * @param {module:model/SignInWithEmail200Response} data The data returned by the service call.
63
63
  * @param {String} response The complete HTTP response.
64
64
  */
65
65
 
@@ -69,7 +69,7 @@ var DefaultApi = exports["default"] = /*#__PURE__*/function () {
69
69
  * @param {String} newEmailId New Email ID
70
70
  * @param {String} activationCode Validation code
71
71
  * @param {module:api/DefaultApi~changeEmailCallback} callback The callback function, accepting three arguments: error, data, response
72
- * data is of type: {@link Object}
72
+ * data is of type: {@link module:model/SignInWithEmail200Response}
73
73
  */
74
74
  return _createClass(DefaultApi, [{
75
75
  key: "changeEmail",
@@ -93,7 +93,7 @@ var DefaultApi = exports["default"] = /*#__PURE__*/function () {
93
93
  var authNames = ['bearer'];
94
94
  var contentTypes = ['multipart/form-data'];
95
95
  var accepts = ['application/json'];
96
- var returnType = Object;
96
+ var returnType = _SignInWithEmail200Response["default"];
97
97
  return this.apiClient.callApi('/auth-service/change/email', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
98
98
  }
99
99
 
@@ -101,7 +101,7 @@ var DefaultApi = exports["default"] = /*#__PURE__*/function () {
101
101
  * Callback function to receive the result of the changeMobileNumber operation.
102
102
  * @callback module:api/DefaultApi~changeMobileNumberCallback
103
103
  * @param {String} error Error message, if any.
104
- * @param {Object} data The data returned by the service call.
104
+ * @param {module:model/SignInWithEmail200Response} data The data returned by the service call.
105
105
  * @param {String} response The complete HTTP response.
106
106
  */
107
107
 
@@ -111,7 +111,7 @@ var DefaultApi = exports["default"] = /*#__PURE__*/function () {
111
111
  * @param {String} newMobileNumber New mobile number
112
112
  * @param {String} activationCode Activation code
113
113
  * @param {module:api/DefaultApi~changeMobileNumberCallback} callback The callback function, accepting three arguments: error, data, response
114
- * data is of type: {@link Object}
114
+ * data is of type: {@link module:model/SignInWithEmail200Response}
115
115
  */
116
116
  }, {
117
117
  key: "changeMobileNumber",
@@ -135,7 +135,7 @@ var DefaultApi = exports["default"] = /*#__PURE__*/function () {
135
135
  var authNames = ['bearer'];
136
136
  var contentTypes = ['multipart/form-data'];
137
137
  var accepts = ['application/json'];
138
- var returnType = Object;
138
+ var returnType = _SignInWithEmail200Response["default"];
139
139
  return this.apiClient.callApi('/auth-service/change/mobile', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
140
140
  }
141
141
 
@@ -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.18
33
+ * @version 1.0.19
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.18
33
+ * @version 1.0.19
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.18
33
+ * @version 1.0.19
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.18
33
+ * @version 1.0.19
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.18
34
+ * @version 1.0.19
35
35
  */
36
36
  var QueryApi = exports["default"] = /*#__PURE__*/function () {
37
37
  /**
package/dist/index.js CHANGED
@@ -177,6 +177,12 @@ Object.defineProperty(exports, "QueryResponseItemsInner", {
177
177
  return _QueryResponseItemsInner["default"];
178
178
  }
179
179
  });
180
+ Object.defineProperty(exports, "Remaining", {
181
+ enumerable: true,
182
+ get: function get() {
183
+ return _Remaining["default"];
184
+ }
185
+ });
180
186
  Object.defineProperty(exports, "ResetPassword200Response", {
181
187
  enumerable: true,
182
188
  get: function get() {
@@ -278,6 +284,7 @@ var _QueryRequest = _interopRequireDefault(require("./model/QueryRequest"));
278
284
  var _QueryRequestFilters = _interopRequireDefault(require("./model/QueryRequestFilters"));
279
285
  var _QueryResponse = _interopRequireDefault(require("./model/QueryResponse"));
280
286
  var _QueryResponseItemsInner = _interopRequireDefault(require("./model/QueryResponseItemsInner"));
287
+ var _Remaining = _interopRequireDefault(require("./model/Remaining"));
281
288
  var _ResetPassword200Response = _interopRequireDefault(require("./model/ResetPassword200Response"));
282
289
  var _ResetPassword400Response = _interopRequireDefault(require("./model/ResetPassword400Response"));
283
290
  var _SendValidationCode200Response = _interopRequireDefault(require("./model/SendValidationCode200Response"));
@@ -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.18
34
+ * @version 1.0.19
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.18
34
+ * @version 1.0.19
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 EditFloor400Response model module.
34
34
  * @module model/EditFloor400Response
35
- * @version 1.0.18
35
+ * @version 1.0.19
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.18
34
+ * @version 1.0.19
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.18
35
+ * @version 1.0.19
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.18
34
+ * @version 1.0.19
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.18
34
+ * @version 1.0.19
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.18
36
+ * @version 1.0.19
37
37
  */
38
38
  var FloorInfo = /*#__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 GetFloorInformation200Response model module.
35
35
  * @module model/GetFloorInformation200Response
36
- * @version 1.0.18
36
+ * @version 1.0.19
37
37
  */
38
38
  var GetFloorInformation200Response = /*#__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 GetRecentEvents200Response model module.
34
34
  * @module model/GetRecentEvents200Response
35
- * @version 1.0.18
35
+ * @version 1.0.19
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.18
36
+ * @version 1.0.19
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.18
32
+ * @version 1.0.19
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.18
35
+ * @version 1.0.19
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.18
34
+ * @version 1.0.19
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.18
34
+ * @version 1.0.19
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.18
34
+ * @version 1.0.19
35
35
  */
36
36
  var Model400ErrorCode = /*#__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.18
35
+ * @version 1.0.19
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.18
34
+ * @version 1.0.19
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.18
35
+ * @version 1.0.19
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.18
34
+ * @version 1.0.19
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.18
35
+ * @version 1.0.19
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.18
31
+ * @version 1.0.19
32
32
  */
33
33
  var QueryResponseItemsInner = /*#__PURE__*/function () {
34
34
  /**
@@ -0,0 +1,103 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
9
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
10
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
11
+ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
12
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
13
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
14
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
15
+ * Floor Memory
16
+ * The set APIs are used to develop Floor pds which can be used as their personal assistants. This set of APIs are divided into two parts.
17
+ * - Memory and
18
+ * - Registration. The developer has two ways of using the APIs for the app development. Developer can choose to the Registration APIs for using the existing xfloor infracture or can implement custom Registration process. In the case of custom registration process, the developer is bound to provide proper authentication mechanisms and then send the user information to xlfoor.
19
+ *
20
+ * The version of the OpenAPI document: 1.0.0
21
+ * Contact: contact@ipomo.in
22
+ *
23
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
24
+ * https://openapi-generator.tech
25
+ * Do not edit the class manually.
26
+ *
27
+ */
28
+ /**
29
+ * The Remaining model module.
30
+ * @module model/Remaining
31
+ * @version 1.0.19
32
+ */
33
+ var Remaining = /*#__PURE__*/function () {
34
+ /**
35
+ * Constructs a new <code>Remaining</code>.
36
+ * @alias module:model/Remaining
37
+ */
38
+ function Remaining() {
39
+ _classCallCheck(this, Remaining);
40
+ Remaining.initialize(this);
41
+ }
42
+
43
+ /**
44
+ * Initializes the fields of this object.
45
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
46
+ * Only for internal use.
47
+ */
48
+ return _createClass(Remaining, null, [{
49
+ key: "initialize",
50
+ value: function initialize(obj) {}
51
+
52
+ /**
53
+ * Constructs a <code>Remaining</code> from a plain JavaScript object, optionally creating a new instance.
54
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
55
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
56
+ * @param {module:model/Remaining} obj Optional instance to populate.
57
+ * @return {module:model/Remaining} The populated <code>Remaining</code> instance.
58
+ */
59
+ }, {
60
+ key: "constructFromObject",
61
+ value: function constructFromObject(data, obj) {
62
+ if (data) {
63
+ obj = obj || new Remaining();
64
+ if (data.hasOwnProperty('permitted')) {
65
+ obj['permitted'] = _ApiClient["default"].convertToType(data['permitted'], 'String');
66
+ }
67
+ if (data.hasOwnProperty('remaining')) {
68
+ obj['remaining'] = _ApiClient["default"].convertToType(data['remaining'], 'String');
69
+ }
70
+ }
71
+ return obj;
72
+ }
73
+
74
+ /**
75
+ * Validates the JSON data with respect to <code>Remaining</code>.
76
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
77
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>Remaining</code>.
78
+ */
79
+ }, {
80
+ key: "validateJSON",
81
+ value: function validateJSON(data) {
82
+ // ensure the json data is a string
83
+ if (data['permitted'] && !(typeof data['permitted'] === 'string' || data['permitted'] instanceof String)) {
84
+ throw new Error("Expected the field `permitted` to be a primitive type in the JSON string but got " + data['permitted']);
85
+ }
86
+ // ensure the json data is a string
87
+ if (data['remaining'] && !(typeof data['remaining'] === 'string' || data['remaining'] instanceof String)) {
88
+ throw new Error("Expected the field `remaining` to be a primitive type in the JSON string but got " + data['remaining']);
89
+ }
90
+ return true;
91
+ }
92
+ }]);
93
+ }();
94
+ /**
95
+ * @member {String} permitted
96
+ */
97
+ Remaining.prototype['permitted'] = undefined;
98
+
99
+ /**
100
+ * @member {String} remaining
101
+ */
102
+ Remaining.prototype['remaining'] = undefined;
103
+ var _default = exports["default"] = Remaining;
@@ -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.18
34
+ * @version 1.0.19
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.18
34
+ * @version 1.0.19
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 SendValidationCode200Response model module.
33
33
  * @module model/SendValidationCode200Response
34
- * @version 1.0.18
34
+ * @version 1.0.19
35
35
  */
36
36
  var SendValidationCode200Response = /*#__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.18
36
+ * @version 1.0.19
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.18
36
+ * @version 1.0.19
37
37
  */
38
38
  var SignInWithEmail200ResponsePodInfo = /*#__PURE__*/function () {
39
39
  /**
@@ -41,12 +41,12 @@ var SignInWithEmail200ResponsePodInfo = /*#__PURE__*/function () {
41
41
  * @alias module:model/SignInWithEmail200ResponsePodInfo
42
42
  * @param floorId {String}
43
43
  * @param title {String}
44
- * @param fid {String}
44
+ * @param floorUid {String}
45
45
  * @param blocks {Array.<module:model/BlockDetails>}
46
46
  */
47
- function SignInWithEmail200ResponsePodInfo(floorId, title, fid, blocks) {
47
+ function SignInWithEmail200ResponsePodInfo(floorId, title, floorUid, blocks) {
48
48
  _classCallCheck(this, SignInWithEmail200ResponsePodInfo);
49
- SignInWithEmail200ResponsePodInfo.initialize(this, floorId, title, fid, blocks);
49
+ SignInWithEmail200ResponsePodInfo.initialize(this, floorId, title, floorUid, blocks);
50
50
  }
51
51
 
52
52
  /**
@@ -56,10 +56,10 @@ var SignInWithEmail200ResponsePodInfo = /*#__PURE__*/function () {
56
56
  */
57
57
  return _createClass(SignInWithEmail200ResponsePodInfo, null, [{
58
58
  key: "initialize",
59
- value: function initialize(obj, floorId, title, fid, blocks) {
59
+ value: function initialize(obj, floorId, title, floorUid, blocks) {
60
60
  obj['floor_id'] = floorId;
61
61
  obj['title'] = title;
62
- obj['fid'] = fid;
62
+ obj['floor_uid'] = floorUid;
63
63
  obj['blocks'] = blocks;
64
64
  }
65
65
 
@@ -78,14 +78,20 @@ var SignInWithEmail200ResponsePodInfo = /*#__PURE__*/function () {
78
78
  if (data.hasOwnProperty('floor_id')) {
79
79
  obj['floor_id'] = _ApiClient["default"].convertToType(data['floor_id'], 'String');
80
80
  }
81
+ if (data.hasOwnProperty('is_owner')) {
82
+ obj['is_owner'] = _ApiClient["default"].convertToType(data['is_owner'], 'String');
83
+ }
84
+ if (data.hasOwnProperty('app_id')) {
85
+ obj['app_id'] = _ApiClient["default"].convertToType(data['app_id'], 'String');
86
+ }
81
87
  if (data.hasOwnProperty('title')) {
82
88
  obj['title'] = _ApiClient["default"].convertToType(data['title'], 'String');
83
89
  }
84
90
  if (data.hasOwnProperty('details')) {
85
91
  obj['details'] = _ApiClient["default"].convertToType(data['details'], 'String');
86
92
  }
87
- if (data.hasOwnProperty('fid')) {
88
- obj['fid'] = _ApiClient["default"].convertToType(data['fid'], 'String');
93
+ if (data.hasOwnProperty('floor_uid')) {
94
+ obj['floor_uid'] = _ApiClient["default"].convertToType(data['floor_uid'], 'String');
89
95
  }
90
96
  if (data.hasOwnProperty('blocks')) {
91
97
  obj['blocks'] = _ApiClient["default"].convertToType(data['blocks'], [_BlockDetails["default"]]);
@@ -125,6 +131,14 @@ var SignInWithEmail200ResponsePodInfo = /*#__PURE__*/function () {
125
131
  throw new Error("Expected the field `floor_id` to be a primitive type in the JSON string but got " + data['floor_id']);
126
132
  }
127
133
  // ensure the json data is a string
134
+ if (data['is_owner'] && !(typeof data['is_owner'] === 'string' || data['is_owner'] instanceof String)) {
135
+ throw new Error("Expected the field `is_owner` to be a primitive type in the JSON string but got " + data['is_owner']);
136
+ }
137
+ // ensure the json data is a string
138
+ if (data['app_id'] && !(typeof data['app_id'] === 'string' || data['app_id'] instanceof String)) {
139
+ throw new Error("Expected the field `app_id` to be a primitive type in the JSON string but got " + data['app_id']);
140
+ }
141
+ // ensure the json data is a string
128
142
  if (data['title'] && !(typeof data['title'] === 'string' || data['title'] instanceof String)) {
129
143
  throw new Error("Expected the field `title` to be a primitive type in the JSON string but got " + data['title']);
130
144
  }
@@ -133,8 +147,8 @@ var SignInWithEmail200ResponsePodInfo = /*#__PURE__*/function () {
133
147
  throw new Error("Expected the field `details` to be a primitive type in the JSON string but got " + data['details']);
134
148
  }
135
149
  // ensure the json data is a string
136
- if (data['fid'] && !(typeof data['fid'] === 'string' || data['fid'] instanceof String)) {
137
- throw new Error("Expected the field `fid` to be a primitive type in the JSON string but got " + data['fid']);
150
+ if (data['floor_uid'] && !(typeof data['floor_uid'] === 'string' || data['floor_uid'] instanceof String)) {
151
+ throw new Error("Expected the field `floor_uid` to be a primitive type in the JSON string but got " + data['floor_uid']);
138
152
  }
139
153
  if (data['blocks']) {
140
154
  // data not null
@@ -166,13 +180,23 @@ var SignInWithEmail200ResponsePodInfo = /*#__PURE__*/function () {
166
180
  }
167
181
  }]);
168
182
  }();
169
- SignInWithEmail200ResponsePodInfo.RequiredProperties = ["floor_id", "title", "fid", "blocks"];
183
+ SignInWithEmail200ResponsePodInfo.RequiredProperties = ["floor_id", "title", "floor_uid", "blocks"];
170
184
 
171
185
  /**
172
186
  * @member {String} floor_id
173
187
  */
174
188
  SignInWithEmail200ResponsePodInfo.prototype['floor_id'] = undefined;
175
189
 
190
+ /**
191
+ * @member {String} is_owner
192
+ */
193
+ SignInWithEmail200ResponsePodInfo.prototype['is_owner'] = undefined;
194
+
195
+ /**
196
+ * @member {String} app_id
197
+ */
198
+ SignInWithEmail200ResponsePodInfo.prototype['app_id'] = undefined;
199
+
176
200
  /**
177
201
  * @member {String} title
178
202
  */
@@ -184,9 +208,9 @@ SignInWithEmail200ResponsePodInfo.prototype['title'] = undefined;
184
208
  SignInWithEmail200ResponsePodInfo.prototype['details'] = undefined;
185
209
 
186
210
  /**
187
- * @member {String} fid
211
+ * @member {String} floor_uid
188
212
  */
189
- SignInWithEmail200ResponsePodInfo.prototype['fid'] = undefined;
213
+ SignInWithEmail200ResponsePodInfo.prototype['floor_uid'] = undefined;
190
214
 
191
215
  /**
192
216
  * @member {Array.<module:model/BlockDetails>} blocks
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
- var _BlockDetails = _interopRequireDefault(require("./BlockDetails"));
8
+ var _Remaining = _interopRequireDefault(require("./Remaining"));
9
9
  var _SignInWithEmail200ResponseProfileAvatar = _interopRequireDefault(require("./SignInWithEmail200ResponseProfileAvatar"));
10
10
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
11
11
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
@@ -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.18
36
+ * @version 1.0.19
37
37
  */
38
38
  var SignInWithEmail200ResponseProfile = /*#__PURE__*/function () {
39
39
  /**
@@ -41,12 +41,12 @@ var SignInWithEmail200ResponseProfile = /*#__PURE__*/function () {
41
41
  * User profile details
42
42
  * @alias module:model/SignInWithEmail200ResponseProfile
43
43
  * @param floorId {String} Associated floor ID
44
- * @param fid {String} Unique ID of floor
44
+ * @param FID {String} Unique ID of floor
45
45
  * @param userId {String} Unique User ID
46
46
  */
47
- function SignInWithEmail200ResponseProfile(floorId, fid, userId) {
47
+ function SignInWithEmail200ResponseProfile(floorId, FID, userId) {
48
48
  _classCallCheck(this, SignInWithEmail200ResponseProfile);
49
- SignInWithEmail200ResponseProfile.initialize(this, floorId, fid, userId);
49
+ SignInWithEmail200ResponseProfile.initialize(this, floorId, FID, userId);
50
50
  }
51
51
 
52
52
  /**
@@ -56,9 +56,9 @@ var SignInWithEmail200ResponseProfile = /*#__PURE__*/function () {
56
56
  */
57
57
  return _createClass(SignInWithEmail200ResponseProfile, null, [{
58
58
  key: "initialize",
59
- value: function initialize(obj, floorId, fid, userId) {
59
+ value: function initialize(obj, floorId, FID, userId) {
60
60
  obj['floor_id'] = floorId;
61
- obj['fid'] = fid;
61
+ obj['FID'] = FID;
62
62
  obj['user_id'] = userId;
63
63
  }
64
64
 
@@ -77,11 +77,14 @@ var SignInWithEmail200ResponseProfile = /*#__PURE__*/function () {
77
77
  if (data.hasOwnProperty('floor_id')) {
78
78
  obj['floor_id'] = _ApiClient["default"].convertToType(data['floor_id'], 'String');
79
79
  }
80
- if (data.hasOwnProperty('fid')) {
81
- obj['fid'] = _ApiClient["default"].convertToType(data['fid'], 'String');
80
+ if (data.hasOwnProperty('floors')) {
81
+ obj['floors'] = _Remaining["default"].constructFromObject(data['floors']);
82
82
  }
83
83
  if (data.hasOwnProperty('blocks')) {
84
- obj['blocks'] = _ApiClient["default"].convertToType(data['blocks'], [_BlockDetails["default"]]);
84
+ obj['blocks'] = _Remaining["default"].constructFromObject(data['blocks']);
85
+ }
86
+ if (data.hasOwnProperty('FID')) {
87
+ obj['FID'] = _ApiClient["default"].convertToType(data['FID'], 'String');
85
88
  }
86
89
  if (data.hasOwnProperty('name')) {
87
90
  obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
@@ -129,30 +132,19 @@ var SignInWithEmail200ResponseProfile = /*#__PURE__*/function () {
129
132
  if (data['floor_id'] && !(typeof data['floor_id'] === 'string' || data['floor_id'] instanceof String)) {
130
133
  throw new Error("Expected the field `floor_id` to be a primitive type in the JSON string but got " + data['floor_id']);
131
134
  }
132
- // ensure the json data is a string
133
- if (data['fid'] && !(typeof data['fid'] === 'string' || data['fid'] instanceof String)) {
134
- throw new Error("Expected the field `fid` to be a primitive type in the JSON string but got " + data['fid']);
135
+ // validate the optional field `floors`
136
+ if (data['floors']) {
137
+ // data not null
138
+ _Remaining["default"].validateJSON(data['floors']);
135
139
  }
140
+ // validate the optional field `blocks`
136
141
  if (data['blocks']) {
137
142
  // data not null
138
- // ensure the json data is an array
139
- if (!Array.isArray(data['blocks'])) {
140
- throw new Error("Expected the field `blocks` to be an array in the JSON data but got " + data['blocks']);
141
- }
142
- // validate the optional field `blocks` (array)
143
- var _iterator2 = _createForOfIteratorHelper(data['blocks']),
144
- _step2;
145
- try {
146
- for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
147
- var item = _step2.value;
148
- _BlockDetails["default"].validateJSON(item);
149
- }
150
- } catch (err) {
151
- _iterator2.e(err);
152
- } finally {
153
- _iterator2.f();
154
- }
155
- ;
143
+ _Remaining["default"].validateJSON(data['blocks']);
144
+ }
145
+ // ensure the json data is a string
146
+ if (data['FID'] && !(typeof data['FID'] === 'string' || data['FID'] instanceof String)) {
147
+ throw new Error("Expected the field `FID` to be a primitive type in the JSON string but got " + data['FID']);
156
148
  }
157
149
  // ensure the json data is a string
158
150
  if (data['name'] && !(typeof data['name'] === 'string' || data['name'] instanceof String)) {
@@ -179,7 +171,7 @@ var SignInWithEmail200ResponseProfile = /*#__PURE__*/function () {
179
171
  }
180
172
  }]);
181
173
  }();
182
- SignInWithEmail200ResponseProfile.RequiredProperties = ["floor_id", "fid", "user_id"];
174
+ SignInWithEmail200ResponseProfile.RequiredProperties = ["floor_id", "FID", "user_id"];
183
175
 
184
176
  /**
185
177
  * Associated floor ID
@@ -188,17 +180,21 @@ SignInWithEmail200ResponseProfile.RequiredProperties = ["floor_id", "fid", "user
188
180
  SignInWithEmail200ResponseProfile.prototype['floor_id'] = undefined;
189
181
 
190
182
  /**
191
- * Unique ID of floor
192
- * @member {String} fid
183
+ * @member {module:model/Remaining} floors
193
184
  */
194
- SignInWithEmail200ResponseProfile.prototype['fid'] = undefined;
185
+ SignInWithEmail200ResponseProfile.prototype['floors'] = undefined;
195
186
 
196
187
  /**
197
- * List of Blocks
198
- * @member {Array.<module:model/BlockDetails>} blocks
188
+ * @member {module:model/Remaining} blocks
199
189
  */
200
190
  SignInWithEmail200ResponseProfile.prototype['blocks'] = undefined;
201
191
 
192
+ /**
193
+ * Unique ID of floor
194
+ * @member {String} FID
195
+ */
196
+ SignInWithEmail200ResponseProfile.prototype['FID'] = undefined;
197
+
202
198
  /**
203
199
  * User Name
204
200
  * @member {String} name
@@ -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.18
34
+ * @version 1.0.19
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.18
34
+ * @version 1.0.19
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.18
34
+ * @version 1.0.19
35
35
  */
36
36
  var SignUpResponse = /*#__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.18
36
+ * @version 1.0.19
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.18
35
+ * @version 1.0.19
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.18
34
+ * @version 1.0.19
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.18
34
+ * @version 1.0.19
35
35
  */
36
36
  var ValidateCode412Response = /*#__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.18",
3
+ "version": "1.0.19",
4
4
  "description": "JavaScript SDK for xFloor Memory APIs (Memory + Registration).",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",