@xfloor/floor-memory-sdk-js 1.0.21 → 1.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -6
- package/dist/ApiClient.js +2 -2
- package/dist/api/AuthApi.js +7 -48
- package/dist/api/EventApi.js +1 -1
- package/dist/api/FloorApi.js +1 -1
- package/dist/api/QueryApi.js +1 -1
- package/dist/index.js +21 -28
- package/dist/model/BlockDetails.js +1 -1
- package/dist/model/ChangePassword200Response.js +1 -1
- package/dist/model/EditFloor200Response.js +1 -1
- package/dist/model/EditFloor400Response.js +1 -1
- package/dist/model/EditFloor400ResponseError.js +1 -1
- package/dist/model/Event400Response.js +1 -1
- package/dist/model/Event400ResponseError.js +1 -1
- package/dist/model/EventResponse.js +1 -1
- package/dist/model/FloorInfo.js +1 -1
- package/dist/model/GetRecentEvents200Response.js +1 -1
- package/dist/model/GetRecentEvents200ResponseItemsInner.js +1 -1
- package/dist/model/GetRecentEvents200ResponseItemsInnerAuthor.js +1 -1
- package/dist/model/GetRecentEvents400Response.js +1 -1
- package/dist/model/GetRecentEvents400ResponseError.js +1 -1
- package/dist/model/Media.js +1 -1
- package/dist/model/Model400ErrorCode.js +1 -1
- package/dist/model/Query422Response.js +1 -1
- package/dist/model/Query422ResponseError.js +1 -1
- package/dist/model/QueryRequest.js +1 -1
- package/dist/model/QueryRequestFilters.js +1 -1
- package/dist/model/QueryResponse.js +1 -1
- package/dist/model/QueryResponseItemsInner.js +1 -1
- package/dist/model/Remaining.js +1 -1
- package/dist/model/ResetPassword200Response.js +1 -1
- package/dist/model/ResetPassword400Response.js +1 -1
- package/dist/model/SendValidationCode200Response.js +1 -1
- package/dist/model/SignInResponse.js +11 -11
- package/dist/model/SignUp200Response.js +1 -1
- package/dist/model/SignUpResponse.js +1 -1
- package/dist/model/UserDetails.js +11 -11
- package/dist/model/{ChangeEmail200ResponsePodInfo.js → UserDetailsPodInfo.js} +27 -27
- package/dist/model/{ChangeEmail200ResponseProfile.js → UserDetailsProfile.js} +32 -32
- package/dist/model/{ChangeEmail200ResponseProfileAvatar.js → UserDetailsProfileAvatar.js} +29 -29
- package/dist/model/ValidateCode400Response.js +1 -1
- package/dist/model/ValidateCode400ResponseError.js +1 -1
- package/dist/model/ValidateCode412Response.js +1 -1
- package/package.json +1 -1
- package/dist/model/ChangeEmail200Response.js +0 -145
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The SignUpResponse model module.
|
|
33
33
|
* @module model/SignUpResponse
|
|
34
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.23
|
|
35
35
|
*/
|
|
36
36
|
var SignUpResponse = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
@@ -5,8 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
-
var
|
|
9
|
-
var
|
|
8
|
+
var _UserDetailsPodInfo = _interopRequireDefault(require("./UserDetailsPodInfo"));
|
|
9
|
+
var _UserDetailsProfile = _interopRequireDefault(require("./UserDetailsProfile"));
|
|
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); }
|
|
12
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; } } }; }
|
|
@@ -33,14 +33,14 @@ 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.
|
|
36
|
+
* @version 1.0.23
|
|
37
37
|
*/
|
|
38
38
|
var UserDetails = /*#__PURE__*/function () {
|
|
39
39
|
/**
|
|
40
40
|
* Constructs a new <code>UserDetails</code>.
|
|
41
41
|
* @alias module:model/UserDetails
|
|
42
|
-
* @param profile {module:model/
|
|
43
|
-
* @param podInfo {module:model/
|
|
42
|
+
* @param profile {module:model/UserDetailsProfile}
|
|
43
|
+
* @param podInfo {module:model/UserDetailsPodInfo}
|
|
44
44
|
*/
|
|
45
45
|
function UserDetails(profile, podInfo) {
|
|
46
46
|
_classCallCheck(this, UserDetails);
|
|
@@ -72,10 +72,10 @@ var UserDetails = /*#__PURE__*/function () {
|
|
|
72
72
|
if (data) {
|
|
73
73
|
obj = obj || new UserDetails();
|
|
74
74
|
if (data.hasOwnProperty('profile')) {
|
|
75
|
-
obj['profile'] =
|
|
75
|
+
obj['profile'] = _UserDetailsProfile["default"].constructFromObject(data['profile']);
|
|
76
76
|
}
|
|
77
77
|
if (data.hasOwnProperty('pod_info')) {
|
|
78
|
-
obj['pod_info'] =
|
|
78
|
+
obj['pod_info'] = _UserDetailsPodInfo["default"].constructFromObject(data['pod_info']);
|
|
79
79
|
}
|
|
80
80
|
if (data.hasOwnProperty('app_id')) {
|
|
81
81
|
obj['app_id'] = _ApiClient["default"].convertToType(data['app_id'], 'String');
|
|
@@ -110,12 +110,12 @@ var UserDetails = /*#__PURE__*/function () {
|
|
|
110
110
|
}
|
|
111
111
|
if (data['profile']) {
|
|
112
112
|
// data not null
|
|
113
|
-
|
|
113
|
+
_UserDetailsProfile["default"].validateJSON(data['profile']);
|
|
114
114
|
}
|
|
115
115
|
// validate the optional field `pod_info`
|
|
116
116
|
if (data['pod_info']) {
|
|
117
117
|
// data not null
|
|
118
|
-
|
|
118
|
+
_UserDetailsPodInfo["default"].validateJSON(data['pod_info']);
|
|
119
119
|
}
|
|
120
120
|
// ensure the json data is a string
|
|
121
121
|
if (data['app_id'] && !(typeof data['app_id'] === 'string' || data['app_id'] instanceof String)) {
|
|
@@ -128,12 +128,12 @@ var UserDetails = /*#__PURE__*/function () {
|
|
|
128
128
|
UserDetails.RequiredProperties = ["profile", "pod_info"];
|
|
129
129
|
|
|
130
130
|
/**
|
|
131
|
-
* @member {module:model/
|
|
131
|
+
* @member {module:model/UserDetailsProfile} profile
|
|
132
132
|
*/
|
|
133
133
|
UserDetails.prototype['profile'] = undefined;
|
|
134
134
|
|
|
135
135
|
/**
|
|
136
|
-
* @member {module:model/
|
|
136
|
+
* @member {module:model/UserDetailsPodInfo} pod_info
|
|
137
137
|
*/
|
|
138
138
|
UserDetails.prototype['pod_info'] = undefined;
|
|
139
139
|
|
|
@@ -31,22 +31,22 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
*
|
|
32
32
|
*/
|
|
33
33
|
/**
|
|
34
|
-
* The
|
|
35
|
-
* @module model/
|
|
36
|
-
* @version 1.0.
|
|
34
|
+
* The UserDetailsPodInfo model module.
|
|
35
|
+
* @module model/UserDetailsPodInfo
|
|
36
|
+
* @version 1.0.23
|
|
37
37
|
*/
|
|
38
|
-
var
|
|
38
|
+
var UserDetailsPodInfo = /*#__PURE__*/function () {
|
|
39
39
|
/**
|
|
40
|
-
* Constructs a new <code>
|
|
41
|
-
* @alias module:model/
|
|
40
|
+
* Constructs a new <code>UserDetailsPodInfo</code>.
|
|
41
|
+
* @alias module:model/UserDetailsPodInfo
|
|
42
42
|
* @param floorId {String}
|
|
43
43
|
* @param title {String}
|
|
44
44
|
* @param floorUid {String}
|
|
45
45
|
* @param blocks {Array.<module:model/BlockDetails>}
|
|
46
46
|
*/
|
|
47
|
-
function
|
|
48
|
-
_classCallCheck(this,
|
|
49
|
-
|
|
47
|
+
function UserDetailsPodInfo(floorId, title, floorUid, blocks) {
|
|
48
|
+
_classCallCheck(this, UserDetailsPodInfo);
|
|
49
|
+
UserDetailsPodInfo.initialize(this, floorId, title, floorUid, blocks);
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
/**
|
|
@@ -54,7 +54,7 @@ var ChangeEmail200ResponsePodInfo = /*#__PURE__*/function () {
|
|
|
54
54
|
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
55
55
|
* Only for internal use.
|
|
56
56
|
*/
|
|
57
|
-
return _createClass(
|
|
57
|
+
return _createClass(UserDetailsPodInfo, null, [{
|
|
58
58
|
key: "initialize",
|
|
59
59
|
value: function initialize(obj, floorId, title, floorUid, blocks) {
|
|
60
60
|
obj['floor_id'] = floorId;
|
|
@@ -64,17 +64,17 @@ var ChangeEmail200ResponsePodInfo = /*#__PURE__*/function () {
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
/**
|
|
67
|
-
* Constructs a <code>
|
|
67
|
+
* Constructs a <code>UserDetailsPodInfo</code> from a plain JavaScript object, optionally creating a new instance.
|
|
68
68
|
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
69
69
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
70
|
-
* @param {module:model/
|
|
71
|
-
* @return {module:model/
|
|
70
|
+
* @param {module:model/UserDetailsPodInfo} obj Optional instance to populate.
|
|
71
|
+
* @return {module:model/UserDetailsPodInfo} The populated <code>UserDetailsPodInfo</code> instance.
|
|
72
72
|
*/
|
|
73
73
|
}, {
|
|
74
74
|
key: "constructFromObject",
|
|
75
75
|
value: function constructFromObject(data, obj) {
|
|
76
76
|
if (data) {
|
|
77
|
-
obj = obj || new
|
|
77
|
+
obj = obj || new UserDetailsPodInfo();
|
|
78
78
|
if (data.hasOwnProperty('floor_id')) {
|
|
79
79
|
obj['floor_id'] = _ApiClient["default"].convertToType(data['floor_id'], 'String');
|
|
80
80
|
}
|
|
@@ -104,15 +104,15 @@ var ChangeEmail200ResponsePodInfo = /*#__PURE__*/function () {
|
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
/**
|
|
107
|
-
* Validates the JSON data with respect to <code>
|
|
107
|
+
* Validates the JSON data with respect to <code>UserDetailsPodInfo</code>.
|
|
108
108
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
109
|
-
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>
|
|
109
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>UserDetailsPodInfo</code>.
|
|
110
110
|
*/
|
|
111
111
|
}, {
|
|
112
112
|
key: "validateJSON",
|
|
113
113
|
value: function validateJSON(data) {
|
|
114
114
|
// check to make sure all required properties are present in the JSON string
|
|
115
|
-
var _iterator = _createForOfIteratorHelper(
|
|
115
|
+
var _iterator = _createForOfIteratorHelper(UserDetailsPodInfo.RequiredProperties),
|
|
116
116
|
_step;
|
|
117
117
|
try {
|
|
118
118
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
@@ -180,45 +180,45 @@ var ChangeEmail200ResponsePodInfo = /*#__PURE__*/function () {
|
|
|
180
180
|
}
|
|
181
181
|
}]);
|
|
182
182
|
}();
|
|
183
|
-
|
|
183
|
+
UserDetailsPodInfo.RequiredProperties = ["floor_id", "title", "floor_uid", "blocks"];
|
|
184
184
|
|
|
185
185
|
/**
|
|
186
186
|
* @member {String} floor_id
|
|
187
187
|
*/
|
|
188
|
-
|
|
188
|
+
UserDetailsPodInfo.prototype['floor_id'] = undefined;
|
|
189
189
|
|
|
190
190
|
/**
|
|
191
191
|
* @member {String} is_owner
|
|
192
192
|
*/
|
|
193
|
-
|
|
193
|
+
UserDetailsPodInfo.prototype['is_owner'] = undefined;
|
|
194
194
|
|
|
195
195
|
/**
|
|
196
196
|
* @member {String} app_id
|
|
197
197
|
*/
|
|
198
|
-
|
|
198
|
+
UserDetailsPodInfo.prototype['app_id'] = undefined;
|
|
199
199
|
|
|
200
200
|
/**
|
|
201
201
|
* @member {String} title
|
|
202
202
|
*/
|
|
203
|
-
|
|
203
|
+
UserDetailsPodInfo.prototype['title'] = undefined;
|
|
204
204
|
|
|
205
205
|
/**
|
|
206
206
|
* @member {String} details
|
|
207
207
|
*/
|
|
208
|
-
|
|
208
|
+
UserDetailsPodInfo.prototype['details'] = undefined;
|
|
209
209
|
|
|
210
210
|
/**
|
|
211
211
|
* @member {String} floor_uid
|
|
212
212
|
*/
|
|
213
|
-
|
|
213
|
+
UserDetailsPodInfo.prototype['floor_uid'] = undefined;
|
|
214
214
|
|
|
215
215
|
/**
|
|
216
216
|
* @member {Array.<module:model/BlockDetails>} blocks
|
|
217
217
|
*/
|
|
218
|
-
|
|
218
|
+
UserDetailsPodInfo.prototype['blocks'] = undefined;
|
|
219
219
|
|
|
220
220
|
/**
|
|
221
221
|
* @member {module:model/Media} avatar
|
|
222
222
|
*/
|
|
223
|
-
|
|
224
|
-
var _default = exports["default"] =
|
|
223
|
+
UserDetailsPodInfo.prototype['avatar'] = undefined;
|
|
224
|
+
var _default = exports["default"] = UserDetailsPodInfo;
|
|
@@ -5,8 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
-
var _ChangeEmail200ResponseProfileAvatar = _interopRequireDefault(require("./ChangeEmail200ResponseProfileAvatar"));
|
|
9
8
|
var _Remaining = _interopRequireDefault(require("./Remaining"));
|
|
9
|
+
var _UserDetailsProfileAvatar = _interopRequireDefault(require("./UserDetailsProfileAvatar"));
|
|
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); }
|
|
12
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; } } }; }
|
|
@@ -31,22 +31,22 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
*
|
|
32
32
|
*/
|
|
33
33
|
/**
|
|
34
|
-
* The
|
|
35
|
-
* @module model/
|
|
36
|
-
* @version 1.0.
|
|
34
|
+
* The UserDetailsProfile model module.
|
|
35
|
+
* @module model/UserDetailsProfile
|
|
36
|
+
* @version 1.0.23
|
|
37
37
|
*/
|
|
38
|
-
var
|
|
38
|
+
var UserDetailsProfile = /*#__PURE__*/function () {
|
|
39
39
|
/**
|
|
40
|
-
* Constructs a new <code>
|
|
40
|
+
* Constructs a new <code>UserDetailsProfile</code>.
|
|
41
41
|
* User profile details
|
|
42
|
-
* @alias module:model/
|
|
42
|
+
* @alias module:model/UserDetailsProfile
|
|
43
43
|
* @param floorId {String} Associated floor ID
|
|
44
44
|
* @param FID {String} Unique ID of floor
|
|
45
45
|
* @param userId {String} Unique User ID
|
|
46
46
|
*/
|
|
47
|
-
function
|
|
48
|
-
_classCallCheck(this,
|
|
49
|
-
|
|
47
|
+
function UserDetailsProfile(floorId, FID, userId) {
|
|
48
|
+
_classCallCheck(this, UserDetailsProfile);
|
|
49
|
+
UserDetailsProfile.initialize(this, floorId, FID, userId);
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
/**
|
|
@@ -54,7 +54,7 @@ var ChangeEmail200ResponseProfile = /*#__PURE__*/function () {
|
|
|
54
54
|
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
55
55
|
* Only for internal use.
|
|
56
56
|
*/
|
|
57
|
-
return _createClass(
|
|
57
|
+
return _createClass(UserDetailsProfile, null, [{
|
|
58
58
|
key: "initialize",
|
|
59
59
|
value: function initialize(obj, floorId, FID, userId) {
|
|
60
60
|
obj['floor_id'] = floorId;
|
|
@@ -63,17 +63,17 @@ var ChangeEmail200ResponseProfile = /*#__PURE__*/function () {
|
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
/**
|
|
66
|
-
* Constructs a <code>
|
|
66
|
+
* Constructs a <code>UserDetailsProfile</code> from a plain JavaScript object, optionally creating a new instance.
|
|
67
67
|
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
68
68
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
69
|
-
* @param {module:model/
|
|
70
|
-
* @return {module:model/
|
|
69
|
+
* @param {module:model/UserDetailsProfile} obj Optional instance to populate.
|
|
70
|
+
* @return {module:model/UserDetailsProfile} The populated <code>UserDetailsProfile</code> instance.
|
|
71
71
|
*/
|
|
72
72
|
}, {
|
|
73
73
|
key: "constructFromObject",
|
|
74
74
|
value: function constructFromObject(data, obj) {
|
|
75
75
|
if (data) {
|
|
76
|
-
obj = obj || new
|
|
76
|
+
obj = obj || new UserDetailsProfile();
|
|
77
77
|
if (data.hasOwnProperty('floor_id')) {
|
|
78
78
|
obj['floor_id'] = _ApiClient["default"].convertToType(data['floor_id'], 'String');
|
|
79
79
|
}
|
|
@@ -99,22 +99,22 @@ var ChangeEmail200ResponseProfile = /*#__PURE__*/function () {
|
|
|
99
99
|
obj['user_id'] = _ApiClient["default"].convertToType(data['user_id'], 'String');
|
|
100
100
|
}
|
|
101
101
|
if (data.hasOwnProperty('avatar')) {
|
|
102
|
-
obj['avatar'] =
|
|
102
|
+
obj['avatar'] = _UserDetailsProfileAvatar["default"].constructFromObject(data['avatar']);
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
return obj;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
/**
|
|
109
|
-
* Validates the JSON data with respect to <code>
|
|
109
|
+
* Validates the JSON data with respect to <code>UserDetailsProfile</code>.
|
|
110
110
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
111
|
-
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>
|
|
111
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>UserDetailsProfile</code>.
|
|
112
112
|
*/
|
|
113
113
|
}, {
|
|
114
114
|
key: "validateJSON",
|
|
115
115
|
value: function validateJSON(data) {
|
|
116
116
|
// check to make sure all required properties are present in the JSON string
|
|
117
|
-
var _iterator = _createForOfIteratorHelper(
|
|
117
|
+
var _iterator = _createForOfIteratorHelper(UserDetailsProfile.RequiredProperties),
|
|
118
118
|
_step;
|
|
119
119
|
try {
|
|
120
120
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
@@ -165,62 +165,62 @@ var ChangeEmail200ResponseProfile = /*#__PURE__*/function () {
|
|
|
165
165
|
// validate the optional field `avatar`
|
|
166
166
|
if (data['avatar']) {
|
|
167
167
|
// data not null
|
|
168
|
-
|
|
168
|
+
_UserDetailsProfileAvatar["default"].validateJSON(data['avatar']);
|
|
169
169
|
}
|
|
170
170
|
return true;
|
|
171
171
|
}
|
|
172
172
|
}]);
|
|
173
173
|
}();
|
|
174
|
-
|
|
174
|
+
UserDetailsProfile.RequiredProperties = ["floor_id", "FID", "user_id"];
|
|
175
175
|
|
|
176
176
|
/**
|
|
177
177
|
* Associated floor ID
|
|
178
178
|
* @member {String} floor_id
|
|
179
179
|
*/
|
|
180
|
-
|
|
180
|
+
UserDetailsProfile.prototype['floor_id'] = undefined;
|
|
181
181
|
|
|
182
182
|
/**
|
|
183
183
|
* @member {module:model/Remaining} floor_count_info
|
|
184
184
|
*/
|
|
185
|
-
|
|
185
|
+
UserDetailsProfile.prototype['floor_count_info'] = undefined;
|
|
186
186
|
|
|
187
187
|
/**
|
|
188
188
|
* @member {module:model/Remaining} block_count_info
|
|
189
189
|
*/
|
|
190
|
-
|
|
190
|
+
UserDetailsProfile.prototype['block_count_info'] = undefined;
|
|
191
191
|
|
|
192
192
|
/**
|
|
193
193
|
* Unique ID of floor
|
|
194
194
|
* @member {String} FID
|
|
195
195
|
*/
|
|
196
|
-
|
|
196
|
+
UserDetailsProfile.prototype['FID'] = undefined;
|
|
197
197
|
|
|
198
198
|
/**
|
|
199
199
|
* User Name
|
|
200
200
|
* @member {String} name
|
|
201
201
|
*/
|
|
202
|
-
|
|
202
|
+
UserDetailsProfile.prototype['name'] = undefined;
|
|
203
203
|
|
|
204
204
|
/**
|
|
205
205
|
* Email ID
|
|
206
206
|
* @member {String} email
|
|
207
207
|
*/
|
|
208
|
-
|
|
208
|
+
UserDetailsProfile.prototype['email'] = undefined;
|
|
209
209
|
|
|
210
210
|
/**
|
|
211
211
|
* Mobile number
|
|
212
212
|
* @member {String} mobile_number
|
|
213
213
|
*/
|
|
214
|
-
|
|
214
|
+
UserDetailsProfile.prototype['mobile_number'] = undefined;
|
|
215
215
|
|
|
216
216
|
/**
|
|
217
217
|
* Unique User ID
|
|
218
218
|
* @member {String} user_id
|
|
219
219
|
*/
|
|
220
|
-
|
|
220
|
+
UserDetailsProfile.prototype['user_id'] = undefined;
|
|
221
221
|
|
|
222
222
|
/**
|
|
223
|
-
* @member {module:model/
|
|
223
|
+
* @member {module:model/UserDetailsProfileAvatar} avatar
|
|
224
224
|
*/
|
|
225
|
-
|
|
226
|
-
var _default = exports["default"] =
|
|
225
|
+
UserDetailsProfile.prototype['avatar'] = undefined;
|
|
226
|
+
var _default = exports["default"] = UserDetailsProfile;
|
|
@@ -29,21 +29,21 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
*
|
|
30
30
|
*/
|
|
31
31
|
/**
|
|
32
|
-
* The
|
|
33
|
-
* @module model/
|
|
34
|
-
* @version 1.0.
|
|
32
|
+
* The UserDetailsProfileAvatar model module.
|
|
33
|
+
* @module model/UserDetailsProfileAvatar
|
|
34
|
+
* @version 1.0.23
|
|
35
35
|
*/
|
|
36
|
-
var
|
|
36
|
+
var UserDetailsProfileAvatar = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
38
|
-
* Constructs a new <code>
|
|
38
|
+
* Constructs a new <code>UserDetailsProfileAvatar</code>.
|
|
39
39
|
* Profile Pick details
|
|
40
|
-
* @alias module:model/
|
|
40
|
+
* @alias module:model/UserDetailsProfileAvatar
|
|
41
41
|
* @param url {String} Image URL
|
|
42
|
-
* @param
|
|
42
|
+
* @param type {String} Image ID
|
|
43
43
|
*/
|
|
44
|
-
function
|
|
45
|
-
_classCallCheck(this,
|
|
46
|
-
|
|
44
|
+
function UserDetailsProfileAvatar(url, type) {
|
|
45
|
+
_classCallCheck(this, UserDetailsProfileAvatar);
|
|
46
|
+
UserDetailsProfileAvatar.initialize(this, url, type);
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
/**
|
|
@@ -51,45 +51,45 @@ var ChangeEmail200ResponseProfileAvatar = /*#__PURE__*/function () {
|
|
|
51
51
|
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
52
52
|
* Only for internal use.
|
|
53
53
|
*/
|
|
54
|
-
return _createClass(
|
|
54
|
+
return _createClass(UserDetailsProfileAvatar, null, [{
|
|
55
55
|
key: "initialize",
|
|
56
|
-
value: function initialize(obj, url,
|
|
56
|
+
value: function initialize(obj, url, type) {
|
|
57
57
|
obj['url'] = url;
|
|
58
|
-
obj['
|
|
58
|
+
obj['type'] = type;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
/**
|
|
62
|
-
* Constructs a <code>
|
|
62
|
+
* Constructs a <code>UserDetailsProfileAvatar</code> from a plain JavaScript object, optionally creating a new instance.
|
|
63
63
|
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
64
64
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
65
|
-
* @param {module:model/
|
|
66
|
-
* @return {module:model/
|
|
65
|
+
* @param {module:model/UserDetailsProfileAvatar} obj Optional instance to populate.
|
|
66
|
+
* @return {module:model/UserDetailsProfileAvatar} The populated <code>UserDetailsProfileAvatar</code> instance.
|
|
67
67
|
*/
|
|
68
68
|
}, {
|
|
69
69
|
key: "constructFromObject",
|
|
70
70
|
value: function constructFromObject(data, obj) {
|
|
71
71
|
if (data) {
|
|
72
|
-
obj = obj || new
|
|
72
|
+
obj = obj || new UserDetailsProfileAvatar();
|
|
73
73
|
if (data.hasOwnProperty('url')) {
|
|
74
74
|
obj['url'] = _ApiClient["default"].convertToType(data['url'], 'String');
|
|
75
75
|
}
|
|
76
|
-
if (data.hasOwnProperty('
|
|
77
|
-
obj['
|
|
76
|
+
if (data.hasOwnProperty('type')) {
|
|
77
|
+
obj['type'] = _ApiClient["default"].convertToType(data['type'], 'String');
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
return obj;
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
/**
|
|
84
|
-
* Validates the JSON data with respect to <code>
|
|
84
|
+
* Validates the JSON data with respect to <code>UserDetailsProfileAvatar</code>.
|
|
85
85
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
86
|
-
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>
|
|
86
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>UserDetailsProfileAvatar</code>.
|
|
87
87
|
*/
|
|
88
88
|
}, {
|
|
89
89
|
key: "validateJSON",
|
|
90
90
|
value: function validateJSON(data) {
|
|
91
91
|
// check to make sure all required properties are present in the JSON string
|
|
92
|
-
var _iterator = _createForOfIteratorHelper(
|
|
92
|
+
var _iterator = _createForOfIteratorHelper(UserDetailsProfileAvatar.RequiredProperties),
|
|
93
93
|
_step;
|
|
94
94
|
try {
|
|
95
95
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
@@ -108,24 +108,24 @@ var ChangeEmail200ResponseProfileAvatar = /*#__PURE__*/function () {
|
|
|
108
108
|
throw new Error("Expected the field `url` to be a primitive type in the JSON string but got " + data['url']);
|
|
109
109
|
}
|
|
110
110
|
// ensure the json data is a string
|
|
111
|
-
if (data['
|
|
112
|
-
throw new Error("Expected the field `
|
|
111
|
+
if (data['type'] && !(typeof data['type'] === 'string' || data['type'] instanceof String)) {
|
|
112
|
+
throw new Error("Expected the field `type` to be a primitive type in the JSON string but got " + data['type']);
|
|
113
113
|
}
|
|
114
114
|
return true;
|
|
115
115
|
}
|
|
116
116
|
}]);
|
|
117
117
|
}();
|
|
118
|
-
|
|
118
|
+
UserDetailsProfileAvatar.RequiredProperties = ["url", "type"];
|
|
119
119
|
|
|
120
120
|
/**
|
|
121
121
|
* Image URL
|
|
122
122
|
* @member {String} url
|
|
123
123
|
*/
|
|
124
|
-
|
|
124
|
+
UserDetailsProfileAvatar.prototype['url'] = undefined;
|
|
125
125
|
|
|
126
126
|
/**
|
|
127
127
|
* Image ID
|
|
128
|
-
* @member {String}
|
|
128
|
+
* @member {String} type
|
|
129
129
|
*/
|
|
130
|
-
|
|
131
|
-
var _default = exports["default"] =
|
|
130
|
+
UserDetailsProfileAvatar.prototype['type'] = undefined;
|
|
131
|
+
var _default = exports["default"] = UserDetailsProfileAvatar;
|
|
@@ -32,7 +32,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
32
32
|
/**
|
|
33
33
|
* The ValidateCode400Response model module.
|
|
34
34
|
* @module model/ValidateCode400Response
|
|
35
|
-
* @version 1.0.
|
|
35
|
+
* @version 1.0.23
|
|
36
36
|
*/
|
|
37
37
|
var ValidateCode400Response = /*#__PURE__*/function () {
|
|
38
38
|
/**
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The ValidateCode400ResponseError model module.
|
|
33
33
|
* @module model/ValidateCode400ResponseError
|
|
34
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.23
|
|
35
35
|
*/
|
|
36
36
|
var ValidateCode400ResponseError = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The ValidateCode412Response model module.
|
|
33
33
|
* @module model/ValidateCode412Response
|
|
34
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.23
|
|
35
35
|
*/
|
|
36
36
|
var ValidateCode412Response = /*#__PURE__*/function () {
|
|
37
37
|
/**
|