@xfloor/floor-memory-sdk-js 1.0.20 → 1.0.21
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 +24 -22
- package/dist/ApiClient.js +2 -2
- package/dist/api/{DefaultApi.js → AuthApi.js} +66 -179
- package/dist/api/EventApi.js +49 -1
- package/dist/api/FloorApi.js +306 -0
- package/dist/api/QueryApi.js +1 -1
- package/dist/index.js +46 -53
- package/dist/model/BlockDetails.js +1 -1
- package/dist/model/{SignInWithEmail200Response.js → ChangeEmail200Response.js} +32 -32
- package/dist/model/{SignInWithEmail200ResponsePodInfo.js → ChangeEmail200ResponsePodInfo.js} +27 -27
- package/dist/model/{SignInWithEmail200ResponseProfile.js → ChangeEmail200ResponseProfile.js} +32 -32
- package/dist/model/{SignInWithEmail200ResponseProfileAvatar.js → ChangeEmail200ResponseProfileAvatar.js} +21 -21
- package/dist/model/ChangePassword200Response.js +1 -1
- package/dist/model/{GetFloorInformation200Response.js → EditFloor200Response.js} +28 -28
- 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 +145 -0
- package/dist/model/SignUp200Response.js +1 -1
- package/dist/model/SignUpResponse.js +1 -1
- package/dist/model/UserDetails.js +11 -11
- 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/api/EditFloorApi.js +0 -105
- package/dist/api/GetFloorInformationApi.js +0 -95
- package/dist/api/GetRecentEventsApi.js +0 -94
|
@@ -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 _ChangeEmail200ResponsePodInfo = _interopRequireDefault(require("./ChangeEmail200ResponsePodInfo"));
|
|
9
|
+
var _ChangeEmail200ResponseProfile = _interopRequireDefault(require("./ChangeEmail200ResponseProfile"));
|
|
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,20 +31,20 @@ 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 ChangeEmail200Response model module.
|
|
35
|
+
* @module model/ChangeEmail200Response
|
|
36
|
+
* @version 1.0.21
|
|
37
37
|
*/
|
|
38
|
-
var
|
|
38
|
+
var ChangeEmail200Response = /*#__PURE__*/function () {
|
|
39
39
|
/**
|
|
40
|
-
* Constructs a new <code>
|
|
41
|
-
* @alias module:model/
|
|
42
|
-
* @param profile {module:model/
|
|
43
|
-
* @param podInfo {module:model/
|
|
40
|
+
* Constructs a new <code>ChangeEmail200Response</code>.
|
|
41
|
+
* @alias module:model/ChangeEmail200Response
|
|
42
|
+
* @param profile {module:model/ChangeEmail200ResponseProfile}
|
|
43
|
+
* @param podInfo {module:model/ChangeEmail200ResponsePodInfo}
|
|
44
44
|
*/
|
|
45
|
-
function
|
|
46
|
-
_classCallCheck(this,
|
|
47
|
-
|
|
45
|
+
function ChangeEmail200Response(profile, podInfo) {
|
|
46
|
+
_classCallCheck(this, ChangeEmail200Response);
|
|
47
|
+
ChangeEmail200Response.initialize(this, profile, podInfo);
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
/**
|
|
@@ -52,7 +52,7 @@ var SignInWithEmail200Response = /*#__PURE__*/function () {
|
|
|
52
52
|
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
53
53
|
* Only for internal use.
|
|
54
54
|
*/
|
|
55
|
-
return _createClass(
|
|
55
|
+
return _createClass(ChangeEmail200Response, null, [{
|
|
56
56
|
key: "initialize",
|
|
57
57
|
value: function initialize(obj, profile, podInfo) {
|
|
58
58
|
obj['profile'] = profile;
|
|
@@ -60,22 +60,22 @@ var SignInWithEmail200Response = /*#__PURE__*/function () {
|
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
/**
|
|
63
|
-
* Constructs a <code>
|
|
63
|
+
* Constructs a <code>ChangeEmail200Response</code> from a plain JavaScript object, optionally creating a new instance.
|
|
64
64
|
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
65
65
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
66
|
-
* @param {module:model/
|
|
67
|
-
* @return {module:model/
|
|
66
|
+
* @param {module:model/ChangeEmail200Response} obj Optional instance to populate.
|
|
67
|
+
* @return {module:model/ChangeEmail200Response} The populated <code>ChangeEmail200Response</code> instance.
|
|
68
68
|
*/
|
|
69
69
|
}, {
|
|
70
70
|
key: "constructFromObject",
|
|
71
71
|
value: function constructFromObject(data, obj) {
|
|
72
72
|
if (data) {
|
|
73
|
-
obj = obj || new
|
|
73
|
+
obj = obj || new ChangeEmail200Response();
|
|
74
74
|
if (data.hasOwnProperty('profile')) {
|
|
75
|
-
obj['profile'] =
|
|
75
|
+
obj['profile'] = _ChangeEmail200ResponseProfile["default"].constructFromObject(data['profile']);
|
|
76
76
|
}
|
|
77
77
|
if (data.hasOwnProperty('pod_info')) {
|
|
78
|
-
obj['pod_info'] =
|
|
78
|
+
obj['pod_info'] = _ChangeEmail200ResponsePodInfo["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');
|
|
@@ -85,15 +85,15 @@ var SignInWithEmail200Response = /*#__PURE__*/function () {
|
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
/**
|
|
88
|
-
* Validates the JSON data with respect to <code>
|
|
88
|
+
* Validates the JSON data with respect to <code>ChangeEmail200Response</code>.
|
|
89
89
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
90
|
-
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>
|
|
90
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>ChangeEmail200Response</code>.
|
|
91
91
|
*/
|
|
92
92
|
}, {
|
|
93
93
|
key: "validateJSON",
|
|
94
94
|
value: function validateJSON(data) {
|
|
95
95
|
// check to make sure all required properties are present in the JSON string
|
|
96
|
-
var _iterator = _createForOfIteratorHelper(
|
|
96
|
+
var _iterator = _createForOfIteratorHelper(ChangeEmail200Response.RequiredProperties),
|
|
97
97
|
_step;
|
|
98
98
|
try {
|
|
99
99
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
@@ -110,12 +110,12 @@ var SignInWithEmail200Response = /*#__PURE__*/function () {
|
|
|
110
110
|
}
|
|
111
111
|
if (data['profile']) {
|
|
112
112
|
// data not null
|
|
113
|
-
|
|
113
|
+
_ChangeEmail200ResponseProfile["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
|
+
_ChangeEmail200ResponsePodInfo["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)) {
|
|
@@ -125,21 +125,21 @@ var SignInWithEmail200Response = /*#__PURE__*/function () {
|
|
|
125
125
|
}
|
|
126
126
|
}]);
|
|
127
127
|
}();
|
|
128
|
-
|
|
128
|
+
ChangeEmail200Response.RequiredProperties = ["profile", "pod_info"];
|
|
129
129
|
|
|
130
130
|
/**
|
|
131
|
-
* @member {module:model/
|
|
131
|
+
* @member {module:model/ChangeEmail200ResponseProfile} profile
|
|
132
132
|
*/
|
|
133
|
-
|
|
133
|
+
ChangeEmail200Response.prototype['profile'] = undefined;
|
|
134
134
|
|
|
135
135
|
/**
|
|
136
|
-
* @member {module:model/
|
|
136
|
+
* @member {module:model/ChangeEmail200ResponsePodInfo} pod_info
|
|
137
137
|
*/
|
|
138
|
-
|
|
138
|
+
ChangeEmail200Response.prototype['pod_info'] = undefined;
|
|
139
139
|
|
|
140
140
|
/**
|
|
141
141
|
* App ID
|
|
142
142
|
* @member {String} app_id
|
|
143
143
|
*/
|
|
144
|
-
|
|
145
|
-
var _default = exports["default"] =
|
|
144
|
+
ChangeEmail200Response.prototype['app_id'] = undefined;
|
|
145
|
+
var _default = exports["default"] = ChangeEmail200Response;
|
package/dist/model/{SignInWithEmail200ResponsePodInfo.js → ChangeEmail200ResponsePodInfo.js}
RENAMED
|
@@ -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 ChangeEmail200ResponsePodInfo model module.
|
|
35
|
+
* @module model/ChangeEmail200ResponsePodInfo
|
|
36
|
+
* @version 1.0.21
|
|
37
37
|
*/
|
|
38
|
-
var
|
|
38
|
+
var ChangeEmail200ResponsePodInfo = /*#__PURE__*/function () {
|
|
39
39
|
/**
|
|
40
|
-
* Constructs a new <code>
|
|
41
|
-
* @alias module:model/
|
|
40
|
+
* Constructs a new <code>ChangeEmail200ResponsePodInfo</code>.
|
|
41
|
+
* @alias module:model/ChangeEmail200ResponsePodInfo
|
|
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 ChangeEmail200ResponsePodInfo(floorId, title, floorUid, blocks) {
|
|
48
|
+
_classCallCheck(this, ChangeEmail200ResponsePodInfo);
|
|
49
|
+
ChangeEmail200ResponsePodInfo.initialize(this, floorId, title, floorUid, blocks);
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
/**
|
|
@@ -54,7 +54,7 @@ var SignInWithEmail200ResponsePodInfo = /*#__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(ChangeEmail200ResponsePodInfo, 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 SignInWithEmail200ResponsePodInfo = /*#__PURE__*/function () {
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
/**
|
|
67
|
-
* Constructs a <code>
|
|
67
|
+
* Constructs a <code>ChangeEmail200ResponsePodInfo</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/ChangeEmail200ResponsePodInfo} obj Optional instance to populate.
|
|
71
|
+
* @return {module:model/ChangeEmail200ResponsePodInfo} The populated <code>ChangeEmail200ResponsePodInfo</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 ChangeEmail200ResponsePodInfo();
|
|
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 SignInWithEmail200ResponsePodInfo = /*#__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>ChangeEmail200ResponsePodInfo</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>ChangeEmail200ResponsePodInfo</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(ChangeEmail200ResponsePodInfo.RequiredProperties),
|
|
116
116
|
_step;
|
|
117
117
|
try {
|
|
118
118
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
@@ -180,45 +180,45 @@ var SignInWithEmail200ResponsePodInfo = /*#__PURE__*/function () {
|
|
|
180
180
|
}
|
|
181
181
|
}]);
|
|
182
182
|
}();
|
|
183
|
-
|
|
183
|
+
ChangeEmail200ResponsePodInfo.RequiredProperties = ["floor_id", "title", "floor_uid", "blocks"];
|
|
184
184
|
|
|
185
185
|
/**
|
|
186
186
|
* @member {String} floor_id
|
|
187
187
|
*/
|
|
188
|
-
|
|
188
|
+
ChangeEmail200ResponsePodInfo.prototype['floor_id'] = undefined;
|
|
189
189
|
|
|
190
190
|
/**
|
|
191
191
|
* @member {String} is_owner
|
|
192
192
|
*/
|
|
193
|
-
|
|
193
|
+
ChangeEmail200ResponsePodInfo.prototype['is_owner'] = undefined;
|
|
194
194
|
|
|
195
195
|
/**
|
|
196
196
|
* @member {String} app_id
|
|
197
197
|
*/
|
|
198
|
-
|
|
198
|
+
ChangeEmail200ResponsePodInfo.prototype['app_id'] = undefined;
|
|
199
199
|
|
|
200
200
|
/**
|
|
201
201
|
* @member {String} title
|
|
202
202
|
*/
|
|
203
|
-
|
|
203
|
+
ChangeEmail200ResponsePodInfo.prototype['title'] = undefined;
|
|
204
204
|
|
|
205
205
|
/**
|
|
206
206
|
* @member {String} details
|
|
207
207
|
*/
|
|
208
|
-
|
|
208
|
+
ChangeEmail200ResponsePodInfo.prototype['details'] = undefined;
|
|
209
209
|
|
|
210
210
|
/**
|
|
211
211
|
* @member {String} floor_uid
|
|
212
212
|
*/
|
|
213
|
-
|
|
213
|
+
ChangeEmail200ResponsePodInfo.prototype['floor_uid'] = undefined;
|
|
214
214
|
|
|
215
215
|
/**
|
|
216
216
|
* @member {Array.<module:model/BlockDetails>} blocks
|
|
217
217
|
*/
|
|
218
|
-
|
|
218
|
+
ChangeEmail200ResponsePodInfo.prototype['blocks'] = undefined;
|
|
219
219
|
|
|
220
220
|
/**
|
|
221
221
|
* @member {module:model/Media} avatar
|
|
222
222
|
*/
|
|
223
|
-
|
|
224
|
-
var _default = exports["default"] =
|
|
223
|
+
ChangeEmail200ResponsePodInfo.prototype['avatar'] = undefined;
|
|
224
|
+
var _default = exports["default"] = ChangeEmail200ResponsePodInfo;
|
package/dist/model/{SignInWithEmail200ResponseProfile.js → ChangeEmail200ResponseProfile.js}
RENAMED
|
@@ -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"));
|
|
8
9
|
var _Remaining = _interopRequireDefault(require("./Remaining"));
|
|
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); }
|
|
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 ChangeEmail200ResponseProfile model module.
|
|
35
|
+
* @module model/ChangeEmail200ResponseProfile
|
|
36
|
+
* @version 1.0.21
|
|
37
37
|
*/
|
|
38
|
-
var
|
|
38
|
+
var ChangeEmail200ResponseProfile = /*#__PURE__*/function () {
|
|
39
39
|
/**
|
|
40
|
-
* Constructs a new <code>
|
|
40
|
+
* Constructs a new <code>ChangeEmail200ResponseProfile</code>.
|
|
41
41
|
* User profile details
|
|
42
|
-
* @alias module:model/
|
|
42
|
+
* @alias module:model/ChangeEmail200ResponseProfile
|
|
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 ChangeEmail200ResponseProfile(floorId, FID, userId) {
|
|
48
|
+
_classCallCheck(this, ChangeEmail200ResponseProfile);
|
|
49
|
+
ChangeEmail200ResponseProfile.initialize(this, floorId, FID, userId);
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
/**
|
|
@@ -54,7 +54,7 @@ var SignInWithEmail200ResponseProfile = /*#__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(ChangeEmail200ResponseProfile, 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 SignInWithEmail200ResponseProfile = /*#__PURE__*/function () {
|
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
/**
|
|
66
|
-
* Constructs a <code>
|
|
66
|
+
* Constructs a <code>ChangeEmail200ResponseProfile</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/ChangeEmail200ResponseProfile} obj Optional instance to populate.
|
|
70
|
+
* @return {module:model/ChangeEmail200ResponseProfile} The populated <code>ChangeEmail200ResponseProfile</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 ChangeEmail200ResponseProfile();
|
|
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 SignInWithEmail200ResponseProfile = /*#__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'] = _ChangeEmail200ResponseProfileAvatar["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>ChangeEmail200ResponseProfile</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>ChangeEmail200ResponseProfile</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(ChangeEmail200ResponseProfile.RequiredProperties),
|
|
118
118
|
_step;
|
|
119
119
|
try {
|
|
120
120
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
@@ -165,62 +165,62 @@ var SignInWithEmail200ResponseProfile = /*#__PURE__*/function () {
|
|
|
165
165
|
// validate the optional field `avatar`
|
|
166
166
|
if (data['avatar']) {
|
|
167
167
|
// data not null
|
|
168
|
-
|
|
168
|
+
_ChangeEmail200ResponseProfileAvatar["default"].validateJSON(data['avatar']);
|
|
169
169
|
}
|
|
170
170
|
return true;
|
|
171
171
|
}
|
|
172
172
|
}]);
|
|
173
173
|
}();
|
|
174
|
-
|
|
174
|
+
ChangeEmail200ResponseProfile.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
|
+
ChangeEmail200ResponseProfile.prototype['floor_id'] = undefined;
|
|
181
181
|
|
|
182
182
|
/**
|
|
183
183
|
* @member {module:model/Remaining} floor_count_info
|
|
184
184
|
*/
|
|
185
|
-
|
|
185
|
+
ChangeEmail200ResponseProfile.prototype['floor_count_info'] = undefined;
|
|
186
186
|
|
|
187
187
|
/**
|
|
188
188
|
* @member {module:model/Remaining} block_count_info
|
|
189
189
|
*/
|
|
190
|
-
|
|
190
|
+
ChangeEmail200ResponseProfile.prototype['block_count_info'] = undefined;
|
|
191
191
|
|
|
192
192
|
/**
|
|
193
193
|
* Unique ID of floor
|
|
194
194
|
* @member {String} FID
|
|
195
195
|
*/
|
|
196
|
-
|
|
196
|
+
ChangeEmail200ResponseProfile.prototype['FID'] = undefined;
|
|
197
197
|
|
|
198
198
|
/**
|
|
199
199
|
* User Name
|
|
200
200
|
* @member {String} name
|
|
201
201
|
*/
|
|
202
|
-
|
|
202
|
+
ChangeEmail200ResponseProfile.prototype['name'] = undefined;
|
|
203
203
|
|
|
204
204
|
/**
|
|
205
205
|
* Email ID
|
|
206
206
|
* @member {String} email
|
|
207
207
|
*/
|
|
208
|
-
|
|
208
|
+
ChangeEmail200ResponseProfile.prototype['email'] = undefined;
|
|
209
209
|
|
|
210
210
|
/**
|
|
211
211
|
* Mobile number
|
|
212
212
|
* @member {String} mobile_number
|
|
213
213
|
*/
|
|
214
|
-
|
|
214
|
+
ChangeEmail200ResponseProfile.prototype['mobile_number'] = undefined;
|
|
215
215
|
|
|
216
216
|
/**
|
|
217
217
|
* Unique User ID
|
|
218
218
|
* @member {String} user_id
|
|
219
219
|
*/
|
|
220
|
-
|
|
220
|
+
ChangeEmail200ResponseProfile.prototype['user_id'] = undefined;
|
|
221
221
|
|
|
222
222
|
/**
|
|
223
|
-
* @member {module:model/
|
|
223
|
+
* @member {module:model/ChangeEmail200ResponseProfileAvatar} avatar
|
|
224
224
|
*/
|
|
225
|
-
|
|
226
|
-
var _default = exports["default"] =
|
|
225
|
+
ChangeEmail200ResponseProfile.prototype['avatar'] = undefined;
|
|
226
|
+
var _default = exports["default"] = ChangeEmail200ResponseProfile;
|
|
@@ -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 ChangeEmail200ResponseProfileAvatar model module.
|
|
33
|
+
* @module model/ChangeEmail200ResponseProfileAvatar
|
|
34
|
+
* @version 1.0.21
|
|
35
35
|
*/
|
|
36
|
-
var
|
|
36
|
+
var ChangeEmail200ResponseProfileAvatar = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
38
|
-
* Constructs a new <code>
|
|
38
|
+
* Constructs a new <code>ChangeEmail200ResponseProfileAvatar</code>.
|
|
39
39
|
* Profile Pick details
|
|
40
|
-
* @alias module:model/
|
|
40
|
+
* @alias module:model/ChangeEmail200ResponseProfileAvatar
|
|
41
41
|
* @param url {String} Image URL
|
|
42
42
|
* @param id {String} Image ID
|
|
43
43
|
*/
|
|
44
|
-
function
|
|
45
|
-
_classCallCheck(this,
|
|
46
|
-
|
|
44
|
+
function ChangeEmail200ResponseProfileAvatar(url, id) {
|
|
45
|
+
_classCallCheck(this, ChangeEmail200ResponseProfileAvatar);
|
|
46
|
+
ChangeEmail200ResponseProfileAvatar.initialize(this, url, id);
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
/**
|
|
@@ -51,7 +51,7 @@ var SignInWithEmail200ResponseProfileAvatar = /*#__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(ChangeEmail200ResponseProfileAvatar, null, [{
|
|
55
55
|
key: "initialize",
|
|
56
56
|
value: function initialize(obj, url, id) {
|
|
57
57
|
obj['url'] = url;
|
|
@@ -59,17 +59,17 @@ var SignInWithEmail200ResponseProfileAvatar = /*#__PURE__*/function () {
|
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
/**
|
|
62
|
-
* Constructs a <code>
|
|
62
|
+
* Constructs a <code>ChangeEmail200ResponseProfileAvatar</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/ChangeEmail200ResponseProfileAvatar} obj Optional instance to populate.
|
|
66
|
+
* @return {module:model/ChangeEmail200ResponseProfileAvatar} The populated <code>ChangeEmail200ResponseProfileAvatar</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 ChangeEmail200ResponseProfileAvatar();
|
|
73
73
|
if (data.hasOwnProperty('url')) {
|
|
74
74
|
obj['url'] = _ApiClient["default"].convertToType(data['url'], 'String');
|
|
75
75
|
}
|
|
@@ -81,15 +81,15 @@ var SignInWithEmail200ResponseProfileAvatar = /*#__PURE__*/function () {
|
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
/**
|
|
84
|
-
* Validates the JSON data with respect to <code>
|
|
84
|
+
* Validates the JSON data with respect to <code>ChangeEmail200ResponseProfileAvatar</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>ChangeEmail200ResponseProfileAvatar</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(ChangeEmail200ResponseProfileAvatar.RequiredProperties),
|
|
93
93
|
_step;
|
|
94
94
|
try {
|
|
95
95
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
@@ -115,17 +115,17 @@ var SignInWithEmail200ResponseProfileAvatar = /*#__PURE__*/function () {
|
|
|
115
115
|
}
|
|
116
116
|
}]);
|
|
117
117
|
}();
|
|
118
|
-
|
|
118
|
+
ChangeEmail200ResponseProfileAvatar.RequiredProperties = ["url", "id"];
|
|
119
119
|
|
|
120
120
|
/**
|
|
121
121
|
* Image URL
|
|
122
122
|
* @member {String} url
|
|
123
123
|
*/
|
|
124
|
-
|
|
124
|
+
ChangeEmail200ResponseProfileAvatar.prototype['url'] = undefined;
|
|
125
125
|
|
|
126
126
|
/**
|
|
127
127
|
* Image ID
|
|
128
128
|
* @member {String} id
|
|
129
129
|
*/
|
|
130
|
-
|
|
131
|
-
var _default = exports["default"] =
|
|
130
|
+
ChangeEmail200ResponseProfileAvatar.prototype['id'] = undefined;
|
|
131
|
+
var _default = exports["default"] = ChangeEmail200ResponseProfileAvatar;
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The ChangePassword200Response model module.
|
|
33
33
|
* @module model/ChangePassword200Response
|
|
34
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.21
|
|
35
35
|
*/
|
|
36
36
|
var ChangePassword200Response = /*#__PURE__*/function () {
|
|
37
37
|
/**
|