@xfloor/floor-memory-sdk-js 1.0.3 → 1.0.4

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 (47) hide show
  1. package/README.md +2 -1
  2. package/dist/ApiClient.js +2 -2
  3. package/dist/api/DefaultApi.js +2 -2
  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/ResetPassword200Response.js +1 -1
  33. package/dist/model/ResetPassword400Response.js +1 -1
  34. package/dist/model/SendValidationCode200Response.js +1 -1
  35. package/dist/model/SendValidationCodeRequest.js +1 -1
  36. package/dist/model/SignInWithEmail200Response.js +21 -23
  37. package/dist/model/SignInWithEmail200ResponsePodInfo.js +198 -0
  38. package/dist/model/SignInWithEmail200ResponseProfile.js +5 -7
  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 +21 -23
  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/dist/model/ValidateCodeRequest.js +1 -1
  47. 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.3
14
+ - Package version: 1.0.4
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/)
@@ -182,6 +182,7 @@ Class | Method | HTTP request | Description
182
182
  - [XfloorFloorMemorySdkJs.SendValidationCode200Response](docs/SendValidationCode200Response.md)
183
183
  - [XfloorFloorMemorySdkJs.SendValidationCodeRequest](docs/SendValidationCodeRequest.md)
184
184
  - [XfloorFloorMemorySdkJs.SignInWithEmail200Response](docs/SignInWithEmail200Response.md)
185
+ - [XfloorFloorMemorySdkJs.SignInWithEmail200ResponsePodInfo](docs/SignInWithEmail200ResponsePodInfo.md)
185
186
  - [XfloorFloorMemorySdkJs.SignInWithEmail200ResponseProfile](docs/SignInWithEmail200ResponseProfile.md)
186
187
  - [XfloorFloorMemorySdkJs.SignInWithEmail200ResponseProfileAvatar](docs/SignInWithEmail200ResponseProfileAvatar.md)
187
188
  - [XfloorFloorMemorySdkJs.SignUp200Response](docs/SignUp200Response.md)
package/dist/ApiClient.js CHANGED
@@ -25,7 +25,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
25
25
  */
26
26
  /**
27
27
  * @module ApiClient
28
- * @version 1.0.3
28
+ * @version 1.0.4
29
29
  */
30
30
  /**
31
31
  * Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
@@ -66,7 +66,7 @@ var ApiClient = /*#__PURE__*/function () {
66
66
  * @default {}
67
67
  */
68
68
  this.defaultHeaders = {
69
- 'User-Agent': 'OpenAPI-Generator/1.0.3/Javascript'
69
+ 'User-Agent': 'OpenAPI-Generator/1.0.4/Javascript'
70
70
  };
71
71
 
72
72
  /**
@@ -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.3
43
+ * @version 1.0.4
44
44
  */
45
45
  var DefaultApi = exports["default"] = /*#__PURE__*/function () {
46
46
  /**
@@ -387,7 +387,7 @@ var DefaultApi = exports["default"] = /*#__PURE__*/function () {
387
387
 
388
388
  /**
389
389
  * Send Validation code
390
- * Generates and sends a one-time validation code to the user for verification of sensitive or critical account operations. This API is used across multiple authentication and account-management flows. The validation code is delivered to the user via the appropriate channel (**email or mobile number**), based on the requested operation mode and the input provided. The generated code is **time-bound**, **single-use**, and must be validated using the corresponding verification APIs to complete the requested action. --- ### **Usage Scenarios (Mode Definition)** | Mode | Purpose | | ---- | ----------------------------- | | `0` | Email or mobile number change | | `1` | Password change | | `2` | Delete account | | `3` | Clear account | | `4` | Signup Verification | **Mode `5` – Signup Verification** For login verification, the validation code is sent to **either the email ID or the mobile number provided in the request**. At least **one of email or mobile number must be supplied** for this mode. --- ### **Behavior** * Generates a secure, one-time validation code * Sends the code to the appropriate channel: * Email or mobile number, depending on the operation mode and input * Associates the code with: * User identity (or login identifier) * Requested operation (`mode`) * Application context (if applicable) * Validation codes are valid for a limited duration and **cannot be reused** --- ### **Authentication** This endpoint requires **Bearer Token authentication**, **except** where explicitly allowed (for example, login-related flows). ``` Authorization: Bearer <access_token> ``` --- ### **Successful Response** On success, the API confirms that the validation code has been generated and successfully dispatched to the user. --- ### **Error Response** The API returns an error response if: * The user does not exist or is not eligible for the requested operation * The requested mode is invalid or unsupported * Required identifiers (email or mobile number for login verification) are missing * Rate limits are exceeded * Authorization fails (where applicable) --- ### **Security Notes (Recommended)** * Validation codes are single-use and time-bound * Rate limiting is enforced to prevent abuse * Repeated failures may trigger temporary blocking or additional verification --- ### **One-Line Summary** > Sends a one-time validation code for secure account and authentication operations, including login via email or mobile number.
390
+ * Generates and sends a one-time validation code to the user for verification of sensitive or critical account operations. This API is used across multiple authentication and account-management flows. The validation code is delivered to the user via the appropriate channel (**email or mobile number**), based on the requested operation mode and the input provided. The generated code is **time-bound**, **single-use**, and must be validated using the corresponding verification APIs to complete the requested action. --- ### **Usage Scenarios (Mode Definition)** | Mode | Purpose | | ---- | ----------------------------- | | `0` | Email or mobile number change | | `1` | Password change | | `2` | Delete account | | `3` | Clear account | | `4` | Signup Verification | | `5` | Using OTP for Login | | `6` | OTP for forgot password | **Mode `4` – Signup Verification** For login verification, the validation code is sent to **either the email ID or the mobile number provided in the request**. At least **one of email or mobile number must be supplied** for this mode. --- ### **Behavior** * Generates a secure, one-time validation code * Sends the code to the appropriate channel: * Email or mobile number, depending on the operation mode and input * Associates the code with: * User identity (or login identifier) * Requested operation (`mode`) * Application context (if applicable) * Validation codes are valid for a limited duration and **cannot be reused** --- ### **Authentication** This endpoint requires **Bearer Token authentication**, **except** where explicitly allowed (for example, login-related flows). ``` Authorization: Bearer <access_token> ``` --- ### **Successful Response** On success, the API confirms that the validation code has been generated and successfully dispatched to the user. --- ### **Error Response** The API returns an error response if: * The user does not exist or is not eligible for the requested operation * The requested mode is invalid or unsupported * Required identifiers (email or mobile number for login verification) are missing * Rate limits are exceeded * Authorization fails (where applicable) --- ### **Security Notes (Recommended)** * Validation codes are single-use and time-bound * Rate limiting is enforced to prevent abuse * Repeated failures may trigger temporary blocking or additional verification --- ### **One-Line Summary** > Sends a one-time validation code for secure account and authentication operations, including login via email or mobile number.
391
391
  * @param {module:model/SendValidationCodeRequest} sendValidationCodeRequest
392
392
  * @param {module:api/DefaultApi~sendValidationCodeCallback} callback The callback function, accepting three arguments: error, data, response
393
393
  * data is of type: {@link module:model/SendValidationCode200Response}
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
28
28
  /**
29
29
  * EditFloor service.
30
30
  * @module api/EditFloorApi
31
- * @version 1.0.3
31
+ * @version 1.0.4
32
32
  */
33
33
  var EditFloorApi = exports["default"] = /*#__PURE__*/function () {
34
34
  /**
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
28
28
  /**
29
29
  * Event service.
30
30
  * @module api/EventApi
31
- * @version 1.0.3
31
+ * @version 1.0.4
32
32
  */
33
33
  var EventApi = exports["default"] = /*#__PURE__*/function () {
34
34
  /**
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
28
28
  /**
29
29
  * GetFloorInformation service.
30
30
  * @module api/GetFloorInformationApi
31
- * @version 1.0.3
31
+ * @version 1.0.4
32
32
  */
33
33
  var GetFloorInformationApi = exports["default"] = /*#__PURE__*/function () {
34
34
  /**
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
28
28
  /**
29
29
  * GetRecentEvents service.
30
30
  * @module api/GetRecentEventsApi
31
- * @version 1.0.3
31
+ * @version 1.0.4
32
32
  */
33
33
  var GetRecentEventsApi = exports["default"] = /*#__PURE__*/function () {
34
34
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * Query service.
31
31
  * @module api/QueryApi
32
- * @version 1.0.3
32
+ * @version 1.0.4
33
33
  */
34
34
  var QueryApi = exports["default"] = /*#__PURE__*/function () {
35
35
  /**
package/dist/index.js CHANGED
@@ -207,6 +207,12 @@ Object.defineProperty(exports, "SignInWithEmail200Response", {
207
207
  return _SignInWithEmail200Response["default"];
208
208
  }
209
209
  });
210
+ Object.defineProperty(exports, "SignInWithEmail200ResponsePodInfo", {
211
+ enumerable: true,
212
+ get: function get() {
213
+ return _SignInWithEmail200ResponsePodInfo["default"];
214
+ }
215
+ });
210
216
  Object.defineProperty(exports, "SignInWithEmail200ResponseProfile", {
211
217
  enumerable: true,
212
218
  get: function get() {
@@ -289,6 +295,7 @@ var _ResetPassword400Response = _interopRequireDefault(require("./model/ResetPas
289
295
  var _SendValidationCode200Response = _interopRequireDefault(require("./model/SendValidationCode200Response"));
290
296
  var _SendValidationCodeRequest = _interopRequireDefault(require("./model/SendValidationCodeRequest"));
291
297
  var _SignInWithEmail200Response = _interopRequireDefault(require("./model/SignInWithEmail200Response"));
298
+ var _SignInWithEmail200ResponsePodInfo = _interopRequireDefault(require("./model/SignInWithEmail200ResponsePodInfo"));
292
299
  var _SignInWithEmail200ResponseProfile = _interopRequireDefault(require("./model/SignInWithEmail200ResponseProfile"));
293
300
  var _SignInWithEmail200ResponseProfileAvatar = _interopRequireDefault(require("./model/SignInWithEmail200ResponseProfileAvatar"));
294
301
  var _SignUp200Response = _interopRequireDefault(require("./model/SignUp200Response"));
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * The BlockDetails model module.
31
31
  * @module model/BlockDetails
32
- * @version 1.0.3
32
+ * @version 1.0.4
33
33
  */
34
34
  var BlockDetails = /*#__PURE__*/function () {
35
35
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * The ChangePassword200Response model module.
31
31
  * @module model/ChangePassword200Response
32
- * @version 1.0.3
32
+ * @version 1.0.4
33
33
  */
34
34
  var ChangePassword200Response = /*#__PURE__*/function () {
35
35
  /**
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
30
30
  /**
31
31
  * The EditFloor400Response model module.
32
32
  * @module model/EditFloor400Response
33
- * @version 1.0.3
33
+ * @version 1.0.4
34
34
  */
35
35
  var EditFloor400Response = /*#__PURE__*/function () {
36
36
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * The EditFloor400ResponseError model module.
31
31
  * @module model/EditFloor400ResponseError
32
- * @version 1.0.3
32
+ * @version 1.0.4
33
33
  */
34
34
  var EditFloor400ResponseError = /*#__PURE__*/function () {
35
35
  /**
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
30
30
  /**
31
31
  * The Event400Response model module.
32
32
  * @module model/Event400Response
33
- * @version 1.0.3
33
+ * @version 1.0.4
34
34
  */
35
35
  var Event400Response = /*#__PURE__*/function () {
36
36
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * The Event400ResponseError model module.
31
31
  * @module model/Event400ResponseError
32
- * @version 1.0.3
32
+ * @version 1.0.4
33
33
  */
34
34
  var Event400ResponseError = /*#__PURE__*/function () {
35
35
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * The EventResponse model module.
31
31
  * @module model/EventResponse
32
- * @version 1.0.3
32
+ * @version 1.0.4
33
33
  */
34
34
  var EventResponse = /*#__PURE__*/function () {
35
35
  /**
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
31
31
  /**
32
32
  * The FloorInfo model module.
33
33
  * @module model/FloorInfo
34
- * @version 1.0.3
34
+ * @version 1.0.4
35
35
  */
36
36
  var FloorInfo = /*#__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 GetFloorInformation200Response model module.
33
33
  * @module model/GetFloorInformation200Response
34
- * @version 1.0.3
34
+ * @version 1.0.4
35
35
  */
36
36
  var GetFloorInformation200Response = /*#__PURE__*/function () {
37
37
  /**
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
30
30
  /**
31
31
  * The GetRecentEvents200Response model module.
32
32
  * @module model/GetRecentEvents200Response
33
- * @version 1.0.3
33
+ * @version 1.0.4
34
34
  */
35
35
  var GetRecentEvents200Response = /*#__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
  * The GetRecentEvents200ResponseItemsInner model module.
33
33
  * @module model/GetRecentEvents200ResponseItemsInner
34
- * @version 1.0.3
34
+ * @version 1.0.4
35
35
  */
36
36
  var GetRecentEvents200ResponseItemsInner = /*#__PURE__*/function () {
37
37
  /**
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
27
27
  /**
28
28
  * The GetRecentEvents200ResponseItemsInnerAuthor model module.
29
29
  * @module model/GetRecentEvents200ResponseItemsInnerAuthor
30
- * @version 1.0.3
30
+ * @version 1.0.4
31
31
  */
32
32
  var GetRecentEvents200ResponseItemsInnerAuthor = /*#__PURE__*/function () {
33
33
  /**
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
30
30
  /**
31
31
  * The GetRecentEvents400Response model module.
32
32
  * @module model/GetRecentEvents400Response
33
- * @version 1.0.3
33
+ * @version 1.0.4
34
34
  */
35
35
  var GetRecentEvents400Response = /*#__PURE__*/function () {
36
36
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * The GetRecentEvents400ResponseError model module.
31
31
  * @module model/GetRecentEvents400ResponseError
32
- * @version 1.0.3
32
+ * @version 1.0.4
33
33
  */
34
34
  var GetRecentEvents400ResponseError = /*#__PURE__*/function () {
35
35
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * The Media model module.
31
31
  * @module model/Media
32
- * @version 1.0.3
32
+ * @version 1.0.4
33
33
  */
34
34
  var Media = /*#__PURE__*/function () {
35
35
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * The Model400ErrorCode model module.
31
31
  * @module model/Model400ErrorCode
32
- * @version 1.0.3
32
+ * @version 1.0.4
33
33
  */
34
34
  var Model400ErrorCode = /*#__PURE__*/function () {
35
35
  /**
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
30
30
  /**
31
31
  * The Query422Response model module.
32
32
  * @module model/Query422Response
33
- * @version 1.0.3
33
+ * @version 1.0.4
34
34
  */
35
35
  var Query422Response = /*#__PURE__*/function () {
36
36
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * The Query422ResponseError model module.
31
31
  * @module model/Query422ResponseError
32
- * @version 1.0.3
32
+ * @version 1.0.4
33
33
  */
34
34
  var Query422ResponseError = /*#__PURE__*/function () {
35
35
  /**
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
30
30
  /**
31
31
  * The QueryRequest model module.
32
32
  * @module model/QueryRequest
33
- * @version 1.0.3
33
+ * @version 1.0.4
34
34
  */
35
35
  var QueryRequest = /*#__PURE__*/function () {
36
36
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * The QueryRequestFilters model module.
31
31
  * @module model/QueryRequestFilters
32
- * @version 1.0.3
32
+ * @version 1.0.4
33
33
  */
34
34
  var QueryRequestFilters = /*#__PURE__*/function () {
35
35
  /**
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
30
30
  /**
31
31
  * The QueryResponse model module.
32
32
  * @module model/QueryResponse
33
- * @version 1.0.3
33
+ * @version 1.0.4
34
34
  */
35
35
  var QueryResponse = /*#__PURE__*/function () {
36
36
  /**
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
26
26
  /**
27
27
  * The QueryResponseItemsInner model module.
28
28
  * @module model/QueryResponseItemsInner
29
- * @version 1.0.3
29
+ * @version 1.0.4
30
30
  */
31
31
  var QueryResponseItemsInner = /*#__PURE__*/function () {
32
32
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * The ResetPassword200Response model module.
31
31
  * @module model/ResetPassword200Response
32
- * @version 1.0.3
32
+ * @version 1.0.4
33
33
  */
34
34
  var ResetPassword200Response = /*#__PURE__*/function () {
35
35
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * The ResetPassword400Response model module.
31
31
  * @module model/ResetPassword400Response
32
- * @version 1.0.3
32
+ * @version 1.0.4
33
33
  */
34
34
  var ResetPassword400Response = /*#__PURE__*/function () {
35
35
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * The SendValidationCode200Response model module.
31
31
  * @module model/SendValidationCode200Response
32
- * @version 1.0.3
32
+ * @version 1.0.4
33
33
  */
34
34
  var SendValidationCode200Response = /*#__PURE__*/function () {
35
35
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * The SendValidationCodeRequest model module.
31
31
  * @module model/SendValidationCodeRequest
32
- * @version 1.0.3
32
+ * @version 1.0.4
33
33
  */
34
34
  var SendValidationCodeRequest = /*#__PURE__*/function () {
35
35
  /**
@@ -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 _FloorInfo = _interopRequireDefault(require("./FloorInfo"));
8
+ var _SignInWithEmail200ResponsePodInfo = _interopRequireDefault(require("./SignInWithEmail200ResponsePodInfo"));
9
9
  var _SignInWithEmail200ResponseProfile = _interopRequireDefault(require("./SignInWithEmail200ResponseProfile"));
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); }
@@ -31,19 +31,18 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
31
31
  /**
32
32
  * The SignInWithEmail200Response model module.
33
33
  * @module model/SignInWithEmail200Response
34
- * @version 1.0.3
34
+ * @version 1.0.4
35
35
  */
36
36
  var SignInWithEmail200Response = /*#__PURE__*/function () {
37
37
  /**
38
38
  * Constructs a new <code>SignInWithEmail200Response</code>.
39
39
  * @alias module:model/SignInWithEmail200Response
40
- * @param podInfo {module:model/FloorInfo}
41
40
  * @param profile {module:model/SignInWithEmail200ResponseProfile}
42
- * @param appId {String} App ID
41
+ * @param podInfo {module:model/SignInWithEmail200ResponsePodInfo}
43
42
  */
44
- function SignInWithEmail200Response(podInfo, profile, appId) {
43
+ function SignInWithEmail200Response(profile, podInfo) {
45
44
  _classCallCheck(this, SignInWithEmail200Response);
46
- SignInWithEmail200Response.initialize(this, podInfo, profile, appId);
45
+ SignInWithEmail200Response.initialize(this, profile, podInfo);
47
46
  }
48
47
 
49
48
  /**
@@ -53,10 +52,9 @@ var SignInWithEmail200Response = /*#__PURE__*/function () {
53
52
  */
54
53
  return _createClass(SignInWithEmail200Response, null, [{
55
54
  key: "initialize",
56
- value: function initialize(obj, podInfo, profile, appId) {
57
- obj['pod_info'] = podInfo;
55
+ value: function initialize(obj, profile, podInfo) {
58
56
  obj['profile'] = profile;
59
- obj['app_id'] = appId;
57
+ obj['pod_info'] = podInfo;
60
58
  }
61
59
 
62
60
  /**
@@ -71,12 +69,12 @@ var SignInWithEmail200Response = /*#__PURE__*/function () {
71
69
  value: function constructFromObject(data, obj) {
72
70
  if (data) {
73
71
  obj = obj || new SignInWithEmail200Response();
74
- if (data.hasOwnProperty('pod_info')) {
75
- obj['pod_info'] = _FloorInfo["default"].constructFromObject(data['pod_info']);
76
- }
77
72
  if (data.hasOwnProperty('profile')) {
78
73
  obj['profile'] = _SignInWithEmail200ResponseProfile["default"].constructFromObject(data['profile']);
79
74
  }
75
+ if (data.hasOwnProperty('pod_info')) {
76
+ obj['pod_info'] = _SignInWithEmail200ResponsePodInfo["default"].constructFromObject(data['pod_info']);
77
+ }
80
78
  if (data.hasOwnProperty('app_id')) {
81
79
  obj['app_id'] = _ApiClient["default"].convertToType(data['app_id'], 'String');
82
80
  }
@@ -102,21 +100,21 @@ var SignInWithEmail200Response = /*#__PURE__*/function () {
102
100
  throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
103
101
  }
104
102
  }
105
- // validate the optional field `pod_info`
103
+ // validate the optional field `profile`
106
104
  } catch (err) {
107
105
  _iterator.e(err);
108
106
  } finally {
109
107
  _iterator.f();
110
108
  }
111
- if (data['pod_info']) {
112
- // data not null
113
- _FloorInfo["default"].validateJSON(data['pod_info']);
114
- }
115
- // validate the optional field `profile`
116
109
  if (data['profile']) {
117
110
  // data not null
118
111
  _SignInWithEmail200ResponseProfile["default"].validateJSON(data['profile']);
119
112
  }
113
+ // validate the optional field `pod_info`
114
+ if (data['pod_info']) {
115
+ // data not null
116
+ _SignInWithEmail200ResponsePodInfo["default"].validateJSON(data['pod_info']);
117
+ }
120
118
  // ensure the json data is a string
121
119
  if (data['app_id'] && !(typeof data['app_id'] === 'string' || data['app_id'] instanceof String)) {
122
120
  throw new Error("Expected the field `app_id` to be a primitive type in the JSON string but got " + data['app_id']);
@@ -125,17 +123,17 @@ var SignInWithEmail200Response = /*#__PURE__*/function () {
125
123
  }
126
124
  }]);
127
125
  }();
128
- SignInWithEmail200Response.RequiredProperties = ["pod_info", "profile", "app_id"];
126
+ SignInWithEmail200Response.RequiredProperties = ["profile", "pod_info"];
129
127
 
130
128
  /**
131
- * @member {module:model/FloorInfo} pod_info
129
+ * @member {module:model/SignInWithEmail200ResponseProfile} profile
132
130
  */
133
- SignInWithEmail200Response.prototype['pod_info'] = undefined;
131
+ SignInWithEmail200Response.prototype['profile'] = undefined;
134
132
 
135
133
  /**
136
- * @member {module:model/SignInWithEmail200ResponseProfile} profile
134
+ * @member {module:model/SignInWithEmail200ResponsePodInfo} pod_info
137
135
  */
138
- SignInWithEmail200Response.prototype['profile'] = undefined;
136
+ SignInWithEmail200Response.prototype['pod_info'] = undefined;
139
137
 
140
138
  /**
141
139
  * App ID
@@ -0,0 +1,198 @@
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
+ var _BlockDetails = _interopRequireDefault(require("./BlockDetails"));
9
+ var _Media = _interopRequireDefault(require("./Media"));
10
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
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); }
12
+ function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
13
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
14
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
15
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
16
+ 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); } }
17
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
18
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
19
+ 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); } /**
20
+ * Floor Memory
21
+ * 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. - Memory and - 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.
22
+ *
23
+ * The version of the OpenAPI document: 1.0.0
24
+ * Contact: contact@ipomo.in
25
+ *
26
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
27
+ * https://openapi-generator.tech
28
+ * Do not edit the class manually.
29
+ *
30
+ */
31
+ /**
32
+ * The SignInWithEmail200ResponsePodInfo model module.
33
+ * @module model/SignInWithEmail200ResponsePodInfo
34
+ * @version 1.0.4
35
+ */
36
+ var SignInWithEmail200ResponsePodInfo = /*#__PURE__*/function () {
37
+ /**
38
+ * Constructs a new <code>SignInWithEmail200ResponsePodInfo</code>.
39
+ * @alias module:model/SignInWithEmail200ResponsePodInfo
40
+ * @param floorId {String}
41
+ * @param title {String}
42
+ * @param fid {String}
43
+ * @param blocks {Array.<module:model/BlockDetails>}
44
+ */
45
+ function SignInWithEmail200ResponsePodInfo(floorId, title, fid, blocks) {
46
+ _classCallCheck(this, SignInWithEmail200ResponsePodInfo);
47
+ SignInWithEmail200ResponsePodInfo.initialize(this, floorId, title, fid, blocks);
48
+ }
49
+
50
+ /**
51
+ * Initializes the fields of this object.
52
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
53
+ * Only for internal use.
54
+ */
55
+ return _createClass(SignInWithEmail200ResponsePodInfo, null, [{
56
+ key: "initialize",
57
+ value: function initialize(obj, floorId, title, fid, blocks) {
58
+ obj['floor_id'] = floorId;
59
+ obj['title'] = title;
60
+ obj['fid'] = fid;
61
+ obj['blocks'] = blocks;
62
+ }
63
+
64
+ /**
65
+ * Constructs a <code>SignInWithEmail200ResponsePodInfo</code> from a plain JavaScript object, optionally creating a new instance.
66
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
67
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
68
+ * @param {module:model/SignInWithEmail200ResponsePodInfo} obj Optional instance to populate.
69
+ * @return {module:model/SignInWithEmail200ResponsePodInfo} The populated <code>SignInWithEmail200ResponsePodInfo</code> instance.
70
+ */
71
+ }, {
72
+ key: "constructFromObject",
73
+ value: function constructFromObject(data, obj) {
74
+ if (data) {
75
+ obj = obj || new SignInWithEmail200ResponsePodInfo();
76
+ if (data.hasOwnProperty('floor_id')) {
77
+ obj['floor_id'] = _ApiClient["default"].convertToType(data['floor_id'], 'String');
78
+ }
79
+ if (data.hasOwnProperty('title')) {
80
+ obj['title'] = _ApiClient["default"].convertToType(data['title'], 'String');
81
+ }
82
+ if (data.hasOwnProperty('details')) {
83
+ obj['details'] = _ApiClient["default"].convertToType(data['details'], 'String');
84
+ }
85
+ if (data.hasOwnProperty('fid')) {
86
+ obj['fid'] = _ApiClient["default"].convertToType(data['fid'], 'String');
87
+ }
88
+ if (data.hasOwnProperty('blocks')) {
89
+ obj['blocks'] = _ApiClient["default"].convertToType(data['blocks'], [_BlockDetails["default"]]);
90
+ }
91
+ if (data.hasOwnProperty('avatar')) {
92
+ obj['avatar'] = _Media["default"].constructFromObject(data['avatar']);
93
+ }
94
+ }
95
+ return obj;
96
+ }
97
+
98
+ /**
99
+ * Validates the JSON data with respect to <code>SignInWithEmail200ResponsePodInfo</code>.
100
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
101
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>SignInWithEmail200ResponsePodInfo</code>.
102
+ */
103
+ }, {
104
+ key: "validateJSON",
105
+ value: function validateJSON(data) {
106
+ // check to make sure all required properties are present in the JSON string
107
+ var _iterator = _createForOfIteratorHelper(SignInWithEmail200ResponsePodInfo.RequiredProperties),
108
+ _step;
109
+ try {
110
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
111
+ var property = _step.value;
112
+ if (!data.hasOwnProperty(property)) {
113
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
114
+ }
115
+ }
116
+ // ensure the json data is a string
117
+ } catch (err) {
118
+ _iterator.e(err);
119
+ } finally {
120
+ _iterator.f();
121
+ }
122
+ if (data['floor_id'] && !(typeof data['floor_id'] === 'string' || data['floor_id'] instanceof String)) {
123
+ throw new Error("Expected the field `floor_id` to be a primitive type in the JSON string but got " + data['floor_id']);
124
+ }
125
+ // ensure the json data is a string
126
+ if (data['title'] && !(typeof data['title'] === 'string' || data['title'] instanceof String)) {
127
+ throw new Error("Expected the field `title` to be a primitive type in the JSON string but got " + data['title']);
128
+ }
129
+ // ensure the json data is a string
130
+ if (data['details'] && !(typeof data['details'] === 'string' || data['details'] instanceof String)) {
131
+ throw new Error("Expected the field `details` to be a primitive type in the JSON string but got " + data['details']);
132
+ }
133
+ // ensure the json data is a string
134
+ if (data['fid'] && !(typeof data['fid'] === 'string' || data['fid'] instanceof String)) {
135
+ throw new Error("Expected the field `fid` to be a primitive type in the JSON string but got " + data['fid']);
136
+ }
137
+ if (data['blocks']) {
138
+ // data not null
139
+ // ensure the json data is an array
140
+ if (!Array.isArray(data['blocks'])) {
141
+ throw new Error("Expected the field `blocks` to be an array in the JSON data but got " + data['blocks']);
142
+ }
143
+ // validate the optional field `blocks` (array)
144
+ var _iterator2 = _createForOfIteratorHelper(data['blocks']),
145
+ _step2;
146
+ try {
147
+ for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
148
+ var item = _step2.value;
149
+ _BlockDetails["default"].validateJSON(item);
150
+ }
151
+ } catch (err) {
152
+ _iterator2.e(err);
153
+ } finally {
154
+ _iterator2.f();
155
+ }
156
+ ;
157
+ }
158
+ // validate the optional field `avatar`
159
+ if (data['avatar']) {
160
+ // data not null
161
+ _Media["default"].validateJSON(data['avatar']);
162
+ }
163
+ return true;
164
+ }
165
+ }]);
166
+ }();
167
+ SignInWithEmail200ResponsePodInfo.RequiredProperties = ["floor_id", "title", "fid", "blocks"];
168
+
169
+ /**
170
+ * @member {String} floor_id
171
+ */
172
+ SignInWithEmail200ResponsePodInfo.prototype['floor_id'] = undefined;
173
+
174
+ /**
175
+ * @member {String} title
176
+ */
177
+ SignInWithEmail200ResponsePodInfo.prototype['title'] = undefined;
178
+
179
+ /**
180
+ * @member {String} details
181
+ */
182
+ SignInWithEmail200ResponsePodInfo.prototype['details'] = undefined;
183
+
184
+ /**
185
+ * @member {String} fid
186
+ */
187
+ SignInWithEmail200ResponsePodInfo.prototype['fid'] = undefined;
188
+
189
+ /**
190
+ * @member {Array.<module:model/BlockDetails>} blocks
191
+ */
192
+ SignInWithEmail200ResponsePodInfo.prototype['blocks'] = undefined;
193
+
194
+ /**
195
+ * @member {module:model/Media} avatar
196
+ */
197
+ SignInWithEmail200ResponsePodInfo.prototype['avatar'] = undefined;
198
+ var _default = exports["default"] = SignInWithEmail200ResponsePodInfo;
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
31
31
  /**
32
32
  * The SignInWithEmail200ResponseProfile model module.
33
33
  * @module model/SignInWithEmail200ResponseProfile
34
- * @version 1.0.3
34
+ * @version 1.0.4
35
35
  */
36
36
  var SignInWithEmail200ResponseProfile = /*#__PURE__*/function () {
37
37
  /**
@@ -40,12 +40,11 @@ var SignInWithEmail200ResponseProfile = /*#__PURE__*/function () {
40
40
  * @alias module:model/SignInWithEmail200ResponseProfile
41
41
  * @param floorId {String} Associated floor ID
42
42
  * @param fid {String} Unique ID of floor
43
- * @param blocks {Array.<module:model/BlockDetails>} List of Blocks
44
43
  * @param userId {String} Unique User ID
45
44
  */
46
- function SignInWithEmail200ResponseProfile(floorId, fid, blocks, userId) {
45
+ function SignInWithEmail200ResponseProfile(floorId, fid, userId) {
47
46
  _classCallCheck(this, SignInWithEmail200ResponseProfile);
48
- SignInWithEmail200ResponseProfile.initialize(this, floorId, fid, blocks, userId);
47
+ SignInWithEmail200ResponseProfile.initialize(this, floorId, fid, userId);
49
48
  }
50
49
 
51
50
  /**
@@ -55,10 +54,9 @@ var SignInWithEmail200ResponseProfile = /*#__PURE__*/function () {
55
54
  */
56
55
  return _createClass(SignInWithEmail200ResponseProfile, null, [{
57
56
  key: "initialize",
58
- value: function initialize(obj, floorId, fid, blocks, userId) {
57
+ value: function initialize(obj, floorId, fid, userId) {
59
58
  obj['floor_id'] = floorId;
60
59
  obj['fid'] = fid;
61
- obj['blocks'] = blocks;
62
60
  obj['user_id'] = userId;
63
61
  }
64
62
 
@@ -179,7 +177,7 @@ var SignInWithEmail200ResponseProfile = /*#__PURE__*/function () {
179
177
  }
180
178
  }]);
181
179
  }();
182
- SignInWithEmail200ResponseProfile.RequiredProperties = ["floor_id", "fid", "blocks", "user_id"];
180
+ SignInWithEmail200ResponseProfile.RequiredProperties = ["floor_id", "fid", "user_id"];
183
181
 
184
182
  /**
185
183
  * Associated floor ID
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * The SignInWithEmail200ResponseProfileAvatar model module.
31
31
  * @module model/SignInWithEmail200ResponseProfileAvatar
32
- * @version 1.0.3
32
+ * @version 1.0.4
33
33
  */
34
34
  var SignInWithEmail200ResponseProfileAvatar = /*#__PURE__*/function () {
35
35
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * The SignUp200Response model module.
31
31
  * @module model/SignUp200Response
32
- * @version 1.0.3
32
+ * @version 1.0.4
33
33
  */
34
34
  var SignUp200Response = /*#__PURE__*/function () {
35
35
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * The SignUpResponse model module.
31
31
  * @module model/SignUpResponse
32
- * @version 1.0.3
32
+ * @version 1.0.4
33
33
  */
34
34
  var SignUpResponse = /*#__PURE__*/function () {
35
35
  /**
@@ -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 _FloorInfo = _interopRequireDefault(require("./FloorInfo"));
8
+ var _SignInWithEmail200ResponsePodInfo = _interopRequireDefault(require("./SignInWithEmail200ResponsePodInfo"));
9
9
  var _SignInWithEmail200ResponseProfile = _interopRequireDefault(require("./SignInWithEmail200ResponseProfile"));
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); }
@@ -31,19 +31,18 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
31
31
  /**
32
32
  * The UserDetails model module.
33
33
  * @module model/UserDetails
34
- * @version 1.0.3
34
+ * @version 1.0.4
35
35
  */
36
36
  var UserDetails = /*#__PURE__*/function () {
37
37
  /**
38
38
  * Constructs a new <code>UserDetails</code>.
39
39
  * @alias module:model/UserDetails
40
- * @param podInfo {module:model/FloorInfo}
41
40
  * @param profile {module:model/SignInWithEmail200ResponseProfile}
42
- * @param appId {String} App ID
41
+ * @param podInfo {module:model/SignInWithEmail200ResponsePodInfo}
43
42
  */
44
- function UserDetails(podInfo, profile, appId) {
43
+ function UserDetails(profile, podInfo) {
45
44
  _classCallCheck(this, UserDetails);
46
- UserDetails.initialize(this, podInfo, profile, appId);
45
+ UserDetails.initialize(this, profile, podInfo);
47
46
  }
48
47
 
49
48
  /**
@@ -53,10 +52,9 @@ var UserDetails = /*#__PURE__*/function () {
53
52
  */
54
53
  return _createClass(UserDetails, null, [{
55
54
  key: "initialize",
56
- value: function initialize(obj, podInfo, profile, appId) {
57
- obj['pod_info'] = podInfo;
55
+ value: function initialize(obj, profile, podInfo) {
58
56
  obj['profile'] = profile;
59
- obj['app_id'] = appId;
57
+ obj['pod_info'] = podInfo;
60
58
  }
61
59
 
62
60
  /**
@@ -71,12 +69,12 @@ var UserDetails = /*#__PURE__*/function () {
71
69
  value: function constructFromObject(data, obj) {
72
70
  if (data) {
73
71
  obj = obj || new UserDetails();
74
- if (data.hasOwnProperty('pod_info')) {
75
- obj['pod_info'] = _FloorInfo["default"].constructFromObject(data['pod_info']);
76
- }
77
72
  if (data.hasOwnProperty('profile')) {
78
73
  obj['profile'] = _SignInWithEmail200ResponseProfile["default"].constructFromObject(data['profile']);
79
74
  }
75
+ if (data.hasOwnProperty('pod_info')) {
76
+ obj['pod_info'] = _SignInWithEmail200ResponsePodInfo["default"].constructFromObject(data['pod_info']);
77
+ }
80
78
  if (data.hasOwnProperty('app_id')) {
81
79
  obj['app_id'] = _ApiClient["default"].convertToType(data['app_id'], 'String');
82
80
  }
@@ -102,21 +100,21 @@ var UserDetails = /*#__PURE__*/function () {
102
100
  throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
103
101
  }
104
102
  }
105
- // validate the optional field `pod_info`
103
+ // validate the optional field `profile`
106
104
  } catch (err) {
107
105
  _iterator.e(err);
108
106
  } finally {
109
107
  _iterator.f();
110
108
  }
111
- if (data['pod_info']) {
112
- // data not null
113
- _FloorInfo["default"].validateJSON(data['pod_info']);
114
- }
115
- // validate the optional field `profile`
116
109
  if (data['profile']) {
117
110
  // data not null
118
111
  _SignInWithEmail200ResponseProfile["default"].validateJSON(data['profile']);
119
112
  }
113
+ // validate the optional field `pod_info`
114
+ if (data['pod_info']) {
115
+ // data not null
116
+ _SignInWithEmail200ResponsePodInfo["default"].validateJSON(data['pod_info']);
117
+ }
120
118
  // ensure the json data is a string
121
119
  if (data['app_id'] && !(typeof data['app_id'] === 'string' || data['app_id'] instanceof String)) {
122
120
  throw new Error("Expected the field `app_id` to be a primitive type in the JSON string but got " + data['app_id']);
@@ -125,17 +123,17 @@ var UserDetails = /*#__PURE__*/function () {
125
123
  }
126
124
  }]);
127
125
  }();
128
- UserDetails.RequiredProperties = ["pod_info", "profile", "app_id"];
126
+ UserDetails.RequiredProperties = ["profile", "pod_info"];
129
127
 
130
128
  /**
131
- * @member {module:model/FloorInfo} pod_info
129
+ * @member {module:model/SignInWithEmail200ResponseProfile} profile
132
130
  */
133
- UserDetails.prototype['pod_info'] = undefined;
131
+ UserDetails.prototype['profile'] = undefined;
134
132
 
135
133
  /**
136
- * @member {module:model/SignInWithEmail200ResponseProfile} profile
134
+ * @member {module:model/SignInWithEmail200ResponsePodInfo} pod_info
137
135
  */
138
- UserDetails.prototype['profile'] = undefined;
136
+ UserDetails.prototype['pod_info'] = undefined;
139
137
 
140
138
  /**
141
139
  * App ID
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
30
30
  /**
31
31
  * The ValidateCode400Response model module.
32
32
  * @module model/ValidateCode400Response
33
- * @version 1.0.3
33
+ * @version 1.0.4
34
34
  */
35
35
  var ValidateCode400Response = /*#__PURE__*/function () {
36
36
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * The ValidateCode400ResponseError model module.
31
31
  * @module model/ValidateCode400ResponseError
32
- * @version 1.0.3
32
+ * @version 1.0.4
33
33
  */
34
34
  var ValidateCode400ResponseError = /*#__PURE__*/function () {
35
35
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * The ValidateCode412Response model module.
31
31
  * @module model/ValidateCode412Response
32
- * @version 1.0.3
32
+ * @version 1.0.4
33
33
  */
34
34
  var ValidateCode412Response = /*#__PURE__*/function () {
35
35
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * The ValidateCodeRequest model module.
31
31
  * @module model/ValidateCodeRequest
32
- * @version 1.0.3
32
+ * @version 1.0.4
33
33
  */
34
34
  var ValidateCodeRequest = /*#__PURE__*/function () {
35
35
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xfloor/floor-memory-sdk-js",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "JavaScript SDK for xFloor Memory APIs (Memory + Registration).",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",