@xfloor/floor-memory-sdk-js 1.0.20 → 1.0.22

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 +22 -22
  2. package/dist/ApiClient.js +2 -2
  3. package/dist/api/{DefaultApi.js → AuthApi.js} +40 -194
  4. package/dist/api/EventApi.js +49 -1
  5. package/dist/api/FloorApi.js +306 -0
  6. package/dist/api/QueryApi.js +1 -1
  7. package/dist/index.js +33 -47
  8. package/dist/model/BlockDetails.js +1 -1
  9. package/dist/model/ChangePassword200Response.js +1 -1
  10. package/dist/model/{GetFloorInformation200Response.js → EditFloor200Response.js} +28 -28
  11. package/dist/model/EditFloor400Response.js +1 -1
  12. package/dist/model/EditFloor400ResponseError.js +1 -1
  13. package/dist/model/Event400Response.js +1 -1
  14. package/dist/model/Event400ResponseError.js +1 -1
  15. package/dist/model/EventResponse.js +1 -1
  16. package/dist/model/FloorInfo.js +1 -1
  17. package/dist/model/GetRecentEvents200Response.js +1 -1
  18. package/dist/model/GetRecentEvents200ResponseItemsInner.js +1 -1
  19. package/dist/model/GetRecentEvents200ResponseItemsInnerAuthor.js +1 -1
  20. package/dist/model/GetRecentEvents400Response.js +1 -1
  21. package/dist/model/GetRecentEvents400ResponseError.js +1 -1
  22. package/dist/model/Media.js +1 -1
  23. package/dist/model/Model400ErrorCode.js +1 -1
  24. package/dist/model/Query422Response.js +1 -1
  25. package/dist/model/Query422ResponseError.js +1 -1
  26. package/dist/model/QueryRequest.js +1 -1
  27. package/dist/model/QueryRequestFilters.js +1 -1
  28. package/dist/model/QueryResponse.js +1 -1
  29. package/dist/model/QueryResponseItemsInner.js +1 -1
  30. package/dist/model/Remaining.js +1 -1
  31. package/dist/model/ResetPassword200Response.js +1 -1
  32. package/dist/model/ResetPassword400Response.js +1 -1
  33. package/dist/model/SendValidationCode200Response.js +1 -1
  34. package/dist/model/{SignInWithEmail200Response.js → SignInResponse.js} +32 -32
  35. package/dist/model/SignUp200Response.js +1 -1
  36. package/dist/model/SignUpResponse.js +1 -1
  37. package/dist/model/UserDetails.js +11 -11
  38. package/dist/model/{SignInWithEmail200ResponsePodInfo.js → UserDetailsPodInfo.js} +27 -27
  39. package/dist/model/{SignInWithEmail200ResponseProfile.js → UserDetailsProfile.js} +32 -32
  40. package/dist/model/{SignInWithEmail200ResponseProfileAvatar.js → UserDetailsProfileAvatar.js} +21 -21
  41. package/dist/model/ValidateCode400Response.js +1 -1
  42. package/dist/model/ValidateCode400ResponseError.js +1 -1
  43. package/dist/model/ValidateCode412Response.js +1 -1
  44. package/package.json +1 -1
  45. package/dist/api/EditFloorApi.js +0 -105
  46. package/dist/api/GetFloorInformationApi.js +0 -95
  47. package/dist/api/GetRecentEventsApi.js +0 -94
@@ -7,6 +7,8 @@ exports["default"] = void 0;
7
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
8
  var _Event400Response = _interopRequireDefault(require("../model/Event400Response"));
9
9
  var _EventResponse = _interopRequireDefault(require("../model/EventResponse"));
10
+ var _GetRecentEvents200Response = _interopRequireDefault(require("../model/GetRecentEvents200Response"));
11
+ var _GetRecentEvents400Response = _interopRequireDefault(require("../model/GetRecentEvents400Response"));
10
12
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
11
13
  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
14
  function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
@@ -30,7 +32,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
30
32
  /**
31
33
  * Event service.
32
34
  * @module api/EventApi
33
- * @version 1.0.20
35
+ * @version 1.0.22
34
36
  */
35
37
  var EventApi = exports["default"] = /*#__PURE__*/function () {
36
38
  /**
@@ -96,5 +98,51 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
96
98
  var returnType = _EventResponse["default"];
97
99
  return this.apiClient.callApi('/api/memory/events', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
98
100
  }
101
+
102
+ /**
103
+ * Callback function to receive the result of the getRecentEvents operation.
104
+ * @callback module:api/EventApi~getRecentEventsCallback
105
+ * @param {String} error Error message, if any.
106
+ * @param {module:model/GetRecentEvents200Response} data The data returned by the service call.
107
+ * @param {String} response The complete HTTP response.
108
+ */
109
+
110
+ /**
111
+ * Recent Events
112
+ * This API retrieves the **latest posts (events)** from a specified floor. The behaviour of the API changes based on whether a **user ID** is provided: * **If `user_id` is provided** → The API returns **recent posts relevant to that user**, scoped within the given floor. This includes posts from: * Floors the user follows * Floors created by the user * Pod floors associated with the user (if applicable) * **If `user_id` is NOT provided** → The API returns the **most recent posts available in the specified floor**, without user-specific filtering. This makes the API suitable for: * Personalized activity feeds * Floor-level public timelines * Pod-based content aggregation * Developer-built pods and custom clients --- ## **Key Concepts** * A **floor** represents a content space (independent floor, followed floor, or pod floor) * A **pod floor** may aggregate content across multiple related floors * Posts are returned **in reverse chronological order** (latest first) * Each post belongs to a specific **block** within the floor --- ## **Request Method** `GET` --- ## **Request Parameters (Query Params)** | Parameter Name | Type | Required | Description | | -------------- | ------ | -------- | -------------------------------------------------------------------------------------------------------------------------- | | `floor_id` | String | **Yes** | Floor identifier from which events should be fetched. Can be a pod floor ID, followed floor ID, or an independent floor ID | | `user_id` | String | No | If provided, returns posts relevant to the user within the given floor | | `app_id` | String | No | Identifier for external developers or pod-based applications consuming this API | --- ## **Behavior Summary** | Scenario | Result | | ---------------------- | ----------------------------------------- | | `floor_id` only | Latest posts from the specified floor | | `floor_id` + `user_id` | User-relevant posts within that floor | | Pod floor ID | Aggregated posts across pod-linked floors | | Independent floor ID | Posts only from that floor | --- ## **Response Format** `application/json` --- ## **Response Structure** ### **Top-Level Fields** | Field | Type | Description | | ------------ | ------ | ------------------------------ | | `post_count` | String | Total number of posts returned | | `items` | Array | List of recent post objects | --- ### **Post Object (`items[]`)** | Field | Type | Description | | --------------- | ------ | ------------------------------------------------------------------------- | | `event_id` | String | Unique identifier of the post/event | | `block_type` | String | Type of block where the post was created (e.g., blog, forum, audio, etc.) | | `block_id` | String | Identifier of the block within the floor | | `floor_uid` | String | Floor identifier where the post belongs | | `title` | String | Title of the post (may be empty) | | `text` | String | Text or HTML content of the post | | `media` | Array | Media objects (audio, image, etc.), if any | | `created_at_ms` | String | Post creation time in milliseconds (epoch) | --- ### **Author Object** | Field | Type | Description | | ----------- | ------ | ---------------------------- | | `name` | String | Display name of the author | | `floor_uid` | String | Author’s floor/user handle | | `avatar` | Object | Author profile image details | --- ### **Media Object** | Field | Type | Description | | ------ | ------ | ----------------------------------- | | `type` | String | Media type (e.g., `AUDIO`, `IMAGE`) | | `url` | String | Public URL of the media file | --- ## **Sample Success Response** *(structure abbreviated for clarity)* ```json { \"post_count\": \"18\", \"items\": [ { \"event_id\": \"1766557274836\", \"block_type\": \"0\", \"title\": \"voice-note-1766557272764.wav\", \"text\": \"You\", \"created_at_ms\": \"1766557275000\", \"author\": { \"name\": \"MEGHANA G\", \"floor_uid\": \"meghanag\", \"avatar\": { \"type\": \"IMAGE\", \"url\": \"https://...\" } }, \"media\": [ { \"type\": \"AUDIO\", \"url\": \"https://...\" } ] } ] } ``` --- ## **Notes** * Posts may contain **plain text or HTML** * Media is optional and may be absent * Ordering is **latest first** * The API is read-only and does not require authentication by default * Access control (public/private floors) is enforced internally --- ## **Typical Use Cases** * Floor activity feed * Pod-level dashboards * User-personalized timelines * Public floor landing pages * External developer pods using `app_id`
113
+ * @param {String} floorId
114
+ * @param {String} appId
115
+ * @param {Object} opts Optional parameters
116
+ * @param {String} [userId]
117
+ * @param {module:api/EventApi~getRecentEventsCallback} callback The callback function, accepting three arguments: error, data, response
118
+ * data is of type: {@link module:model/GetRecentEvents200Response}
119
+ */
120
+ }, {
121
+ key: "getRecentEvents",
122
+ value: function getRecentEvents(floorId, appId, opts, callback) {
123
+ opts = opts || {};
124
+ var postBody = null;
125
+ // verify the required parameter 'floorId' is set
126
+ if (floorId === undefined || floorId === null) {
127
+ throw new Error("Missing the required parameter 'floorId' when calling getRecentEvents");
128
+ }
129
+ // verify the required parameter 'appId' is set
130
+ if (appId === undefined || appId === null) {
131
+ throw new Error("Missing the required parameter 'appId' when calling getRecentEvents");
132
+ }
133
+ var pathParams = {};
134
+ var queryParams = {
135
+ 'user_id': opts['userId'],
136
+ 'floor_id': floorId,
137
+ 'app_id': appId
138
+ };
139
+ var headerParams = {};
140
+ var formParams = {};
141
+ var authNames = ['bearer'];
142
+ var contentTypes = [];
143
+ var accepts = ['application/json'];
144
+ var returnType = _GetRecentEvents200Response["default"];
145
+ return this.apiClient.callApi('/api/memory/recent/events', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
146
+ }
99
147
  }]);
100
148
  }();
@@ -0,0 +1,306 @@
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 _EditFloor200Response = _interopRequireDefault(require("../model/EditFloor200Response"));
9
+ var _EditFloor400Response = _interopRequireDefault(require("../model/EditFloor400Response"));
10
+ var _FloorInfo = _interopRequireDefault(require("../model/FloorInfo"));
11
+ var _GetRecentEvents400Response = _interopRequireDefault(require("../model/GetRecentEvents400Response"));
12
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
13
+ 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); }
14
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
15
+ 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); } }
16
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
17
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
18
+ 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); } /**
19
+ * Floor Memory
20
+ * 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.
21
+ * - Memory and
22
+ * - 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.
23
+ *
24
+ * The version of the OpenAPI document: 1.0.0
25
+ * Contact: contact@ipomo.in
26
+ *
27
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
28
+ * https://openapi-generator.tech
29
+ * Do not edit the class manually.
30
+ *
31
+ */
32
+ /**
33
+ * Floor service.
34
+ * @module api/FloorApi
35
+ * @version 1.0.22
36
+ */
37
+ var FloorApi = exports["default"] = /*#__PURE__*/function () {
38
+ /**
39
+ * Constructs a new FloorApi.
40
+ * @alias module:api/FloorApi
41
+ * @class
42
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
43
+ * default to {@link module:ApiClient#instance} if unspecified.
44
+ */
45
+ function FloorApi(apiClient) {
46
+ _classCallCheck(this, FloorApi);
47
+ this.apiClient = apiClient || _ApiClient["default"].instance;
48
+ }
49
+
50
+ /**
51
+ * Callback function to receive the result of the editFloor operation.
52
+ * @callback module:api/FloorApi~editFloorCallback
53
+ * @param {String} error Error message, if any.
54
+ * @param {module:model/EditFloor200Response} data The data returned by the service call.
55
+ * @param {String} response The complete HTTP response.
56
+ */
57
+
58
+ /**
59
+ * Edit floor
60
+ * This API updates an existing floor’s profile metadata using **multipart form data**. A floor **can be edited only by its owner**. If the authenticated user is **not the owner of the floor**, the request will be rejected, even if the user is a member or follower of the floor. The API allows the floor owner to update: * Floor **title** * Floor **details/description** * Floor **logo/avatar image** After a successful update, the API returns the **latest floor object**, including the updated avatar and the current list of blocks associated with the floor. --- ## Authorization Rules (Critical) * The caller **must be authenticated** * The caller **must be the owner of the floor** * Members, followers, or pod consumers **cannot** edit the floor * Ownership is validated internally using the authenticated user context > **Ownership is mandatory. There are no partial permissions for this API.** --- ## Content-Type `multipart/form-data` --- ## Request Body (Multipart Form Data) ### Form Fields | Field Name | Type | Required | Description | | ---------- | ------ | ------------ | ---------------------------------------- | | `floor_id` | String | Optional* | Public / human-readable floor identifier | | `title` | String | Optional | New floor title | | `details` | String | Optional | New floor description | | `logo` | File | Optional | New floor logo image (PNG/JPG/WebP) | * At least **one floor identifier** (`fid` or `floor_id`) must be provided. **Best practice:** Use `fid` as the primary identifier. --- ## Update Rules * At least one of `title`, `details`, or `logo` must be present * Missing update fields result in a validation error * If `logo` is provided, the previous logo is replaced --- ## Response Format `application/json` --- ## Sample Success Response ```json { \"floor_id\": \"my_floor\", \"title\": \"daughter ouch upon yummy clamor\", \"details\": \"nostrud occaecat incididunt dolor adipisicing\", \"fid\": \"86\", \"blocks\": [ { \"bid\": \"83\", \"type\": \"pariatur\", \"title\": \"wherever demobilise acidly refute\" } ], \"avatar\": { \"url\": \"https://legal-availability.name/\", \"id\": \"98\" } } ``` --- ## Error Responses (Authorization Focus) ### Not Floor Owner ```json { \"status\": \"ERROR\", \"message\": \"Only the floor owner can edit this floor\" } ``` ### Floor Not Found ```json { \"status\": \"ERROR\", \"message\": \"Floor not found\" } ``` ### No Update Fields ```json { \"status\": \"ERROR\", \"message\": \"No update fields provided\" } ``` --- ## Notes * This API is **owner-only by design** * Pods and developer tools must operate using **owner credentials** * Blocks are returned for convenience but are **not editable through this API** ---
61
+ * @param {String} floorId
62
+ * @param {String} userId User ID
63
+ * @param {String} appId App ID
64
+ * @param {Object} opts Optional parameters
65
+ * @param {File} [logoFile] Floor avatar
66
+ * @param {String} [title] Floor title
67
+ * @param {String} [details] Floor decription
68
+ * @param {module:api/FloorApi~editFloorCallback} callback The callback function, accepting three arguments: error, data, response
69
+ * data is of type: {@link module:model/EditFloor200Response}
70
+ */
71
+ return _createClass(FloorApi, [{
72
+ key: "editFloor",
73
+ value: function editFloor(floorId, userId, appId, opts, callback) {
74
+ opts = opts || {};
75
+ var postBody = null;
76
+ // verify the required parameter 'floorId' is set
77
+ if (floorId === undefined || floorId === null) {
78
+ throw new Error("Missing the required parameter 'floorId' when calling editFloor");
79
+ }
80
+ // verify the required parameter 'userId' is set
81
+ if (userId === undefined || userId === null) {
82
+ throw new Error("Missing the required parameter 'userId' when calling editFloor");
83
+ }
84
+ // verify the required parameter 'appId' is set
85
+ if (appId === undefined || appId === null) {
86
+ throw new Error("Missing the required parameter 'appId' when calling editFloor");
87
+ }
88
+ var pathParams = {
89
+ 'floor_id': floorId
90
+ };
91
+ var queryParams = {};
92
+ var headerParams = {};
93
+ var formParams = {
94
+ 'user_id': userId,
95
+ 'app_id': appId,
96
+ 'logo_file': opts['logoFile'],
97
+ 'title': opts['title'],
98
+ 'details': opts['details']
99
+ };
100
+ var authNames = ['bearer'];
101
+ var contentTypes = ['multipart/form-data'];
102
+ var accepts = ['application/json'];
103
+ var returnType = _EditFloor200Response["default"];
104
+ return this.apiClient.callApi('/api/memory/edit/floor/{floor_id}', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
105
+ }
106
+
107
+ /**
108
+ * Callback function to receive the result of the getFloorInformation operation.
109
+ * @callback module:api/FloorApi~getFloorInformationCallback
110
+ * @param {String} error Error message, if any.
111
+ * @param {module:model/FloorInfo} data The data returned by the service call.
112
+ * @param {String} response The complete HTTP response.
113
+ */
114
+
115
+ /**
116
+ * Basic information of a floor
117
+ * This API returns the **basic profile information of a floor**. It is used to fetch all essential metadata required to **render a floor landing page, header, or navigation context**. The response includes: * Floor identity and type * Ownership information relative to the requesting user * Floor metadata (title, description, avatar) * List of blocks available in the floor * App association (for pod / developer use cases) This API does **not** return posts or content; it only provides **structural and descriptive information** about the floor. --- ## Typical Use Cases * Render floor header (title, logo, description) * Decide UI permissions (owner vs non-owner) * Display available blocks (Feeds, Blog, Quiz, etc.) * Pod discovery or developer-managed floor rendering * Lightweight floor metadata fetch before loading content --- ## Authorization & Context * The API may be called by authenticated or unauthenticated users (depending on floor visibility). * The `is_owner` field is calculated **relative to the requesting user context** (if authenticated). --- ## Response Format `application/json` --- ## Response Structure ### Top-Level Fields | Field | Type | Description | | ------------ | ---------------------- | ---------------------------------------------------------------- | | `floor_id` | String | Public, human-readable identifier of the floor | | `floor_uid` | String | Internal unique identifier of the floor | | `title` | String | Display title of the floor | | `details` | String | Short description or summary of the floor | | `floor_type` | String | Type of floor (`PUBLIC`, `PRIVATE`, `POD`) | | `is_owner` | String (`\"0\"` / `\"1\"`) | Indicates whether the requesting user is the owner | | `blocks` | Array | List of blocks available in the floor | | `avatar` | Object | Floor logo / avatar metadata | | `app_id` | String | Associated application ID (used mainly for pod/developer floors) | --- ## Ownership Indicator ### `is_owner` ```json \"is_owner\": \"0\" ``` | Value | Meaning | | ----- | ----------------------------------------- | | `\"1\"` | Requesting user is the owner of the floor | | `\"0\"` | Requesting user is not the owner | This field is typically used by clients to: * Enable or disable edit/settings UI * Show owner-only actions --- ## Blocks Object ```json \"blocks\": [ { \"block_id\": \"1765960948723\", \"type\": \"1\", \"title\": \"Feeds\" } ] ``` Each block represents a **content category or service** available inside the floor. ### Block Fields | Field | Type | Description | | ------- | ------ | ----------------------------------------------------- | | `block_id` | String | Unique identifier of the block | | `type` | String | Block type identifier (e.g., feed, blog, forum, quiz) | | `title` | String | Display name of the block | --- ## Avatar Object ```json \"avatar\": { \"id\": \"1767009204367\", \"url\": \"https://...\" } ``` | Field | Type | Description | | ----- | ------ | ------------------------------ | | `id` | String | Media identifier of the avatar | | `url` | String | CDN URL of the floor logo | Used to render the floor’s profile image or banner. --- ## Floor Type ```json \"floor_type\": \"POD\" ``` | Value | Meaning | | --------- | ------------------------------------- | | `PUBLIC` | Open floor visible to everyone | | `PRIVATE` | Restricted floor | | `POD` | Aggregated or developer-managed floor | `POD` floors are often associated with an `app_id` and may aggregate or serve content programmatically. --- ## Sample Success Response ```json { \"is_owner\": \"0\", \"blocks\": [ { \"block_id\": \"1765960948723\", \"type\": \"1\", \"title\": \"Feeds\" } ], \"floor_uid\": \"1765960956967\", \"floor_id\": \"raghupodfloor1\", \"details\": \"raghu\", \"avatar\": { \"id\": \"1767009204367\", \"url\": \"https://d2e5822u5ecuq8.cloudfront.net/room/1765960956967/logo/1765960956967.jpg\" }, \"title\": \"raghu\", \"floor_type\": \"POD\", \"app_id\": \"1765949734005\" } ``` --- ## Notes for Developers * This is a **lightweight metadata API** and is safe to call frequently. * Use this API **before** loading posts or analytics. * `blocks` ordering can be used directly for navigation UI. * `floor_type` + `is_owner` together determine which UI actions are allowed. --- ## Common Error Scenarios ### Floor Not Found ```json { \"status\": \"ERROR\", \"message\": \"Floor not found\" } ``` ### Access Restricted ```json { \"status\": \"ERROR\", \"message\": \"Access denied for this floor\" } ``` --- ### Final Mental Model > **This API answers: “What is this floor, who owns it, and what can I do here?”**
118
+ * @param {String} floorId
119
+ * @param {String} appId App ID - 13 digit numeric identity
120
+ * @param {Object} opts Optional parameters
121
+ * @param {String} [userId] User ID - 13 digit numeric identity
122
+ * @param {module:api/FloorApi~getFloorInformationCallback} callback The callback function, accepting three arguments: error, data, response
123
+ * data is of type: {@link module:model/FloorInfo}
124
+ */
125
+ }, {
126
+ key: "getFloorInformation",
127
+ value: function getFloorInformation(floorId, appId, opts, callback) {
128
+ opts = opts || {};
129
+ var postBody = null;
130
+ // verify the required parameter 'floorId' is set
131
+ if (floorId === undefined || floorId === null) {
132
+ throw new Error("Missing the required parameter 'floorId' when calling getFloorInformation");
133
+ }
134
+ // verify the required parameter 'appId' is set
135
+ if (appId === undefined || appId === null) {
136
+ throw new Error("Missing the required parameter 'appId' when calling getFloorInformation");
137
+ }
138
+ var pathParams = {
139
+ 'floor_id': floorId
140
+ };
141
+ var queryParams = {
142
+ 'user_id': opts['userId'],
143
+ 'app_id': appId
144
+ };
145
+ var headerParams = {};
146
+ var formParams = {};
147
+ var authNames = ['bearer'];
148
+ var contentTypes = [];
149
+ var accepts = ['application/json'];
150
+ var returnType = _FloorInfo["default"];
151
+ return this.apiClient.callApi('/api/memory/floor/info/{floor_id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
152
+ }
153
+
154
+ /**
155
+ * Callback function to receive the result of the makeFloorPrivate operation.
156
+ * @callback module:api/FloorApi~makeFloorPrivateCallback
157
+ * @param {String} error Error message, if any.
158
+ * @param {module:model/EditFloor200Response} data The data returned by the service call.
159
+ * @param {String} response The complete HTTP response.
160
+ */
161
+
162
+ /**
163
+ * Make floor Private
164
+ * This API changes a floor’s visibility to **PRIVATE**. It is used when a floor owner wants to **restrict access** to a floor that is currently public. After the update, the floor becomes private and is no longer accessible to non-authorized users (based on your platform’s access rules). This endpoint is **state-changing**: * If the floor is **PUBLIC**, it will be converted to **PRIVATE** * If the floor is already **PRIVATE**, the API returns success (idempotent) or an “already private” response depending on implementation This API is commonly used in: * Floor settings → “Privacy” toggle * Developer-managed pod workflows (app_id context) * Admin tools (if applicable) --- ## Request Method `POST` --- ## Content-Type `application/x-www-form-urlencoded` (or `multipart/form-data` if your system uses form-data) *(Document whichever you actually accept; below assumes standard form fields.)* --- ## Request Parameters (Form Fields) | Field | Type | Required | Description | | ---------- | ------ | -------- | -------------------------------------------------------------------- | | `user_id` | String | **Yes** | User requesting the change. Must be the **owner** of the floor. | | `floor_id` | String | **Yes** | Public identifier of the floor to update. | | `app_id` | String | No | Calling application identifier (used for developer/pod integration). | --- ## Authorization Rules (Critical) * The caller must be authenticated as `user_id` * **Only the floor owner** can change floor visibility * If the user is not the owner, the request must be rejected --- ## Behavior Rules * Converts visibility from **PUBLIC → PRIVATE** * Does not modify floor content or blocks * Access enforcement for private floors is applied immediately after the change **Idempotency** * Calling this API multiple times should not cause repeated changes * If already private, the API should either: * return success with a message like `\"already private\"`, or * return a specific error/status indicating no-op --- ## Response Format `application/json` --- ## Sample Success Response *(Example — adjust to match your actual response format)* ```json { \"status\": \"SUCCESS\", \"floor_id\": \"my_floor\", \"visibility\": \"PRIVATE\", \"message\": \"Floor is now private\" } ``` --- ## Sample No-Op Response (Already Private) ```json { \"status\": \"SUCCESS\", \"floor_id\": \"my_floor\", \"visibility\": \"PRIVATE\", \"message\": \"Floor is already private\" } ``` --- ## Error Responses (Examples) ### Not Authorized (Not Owner) ```json { \"status\": \"ERROR\", \"message\": \"Only the floor owner can change floor visibility\" } ``` ### Floor Not Found ```json { \"status\": \"ERROR\", \"message\": \"Floor not found\" } ``` ### Invalid Request ```json { \"status\": \"ERROR\", \"message\": \"user_id and floor_id are required\" } ``` --- ## Notes * This API is intended to control floor visibility only; membership/invite rules (for private floors) are handled elsewhere. * `app_id` is provided for developer/pod applications and is optional unless enforced by your app model. * If you support floor types like `POD`, document whether pods are allowed to be private or not (some platforms restrict this).
165
+ * @param {String} floorId
166
+ * @param {String} userId User ID
167
+ * @param {String} appId App ID
168
+ * @param {module:api/FloorApi~makeFloorPrivateCallback} callback The callback function, accepting three arguments: error, data, response
169
+ * data is of type: {@link module:model/EditFloor200Response}
170
+ */
171
+ }, {
172
+ key: "makeFloorPrivate",
173
+ value: function makeFloorPrivate(floorId, userId, appId, callback) {
174
+ var postBody = null;
175
+ // verify the required parameter 'floorId' is set
176
+ if (floorId === undefined || floorId === null) {
177
+ throw new Error("Missing the required parameter 'floorId' when calling makeFloorPrivate");
178
+ }
179
+ // verify the required parameter 'userId' is set
180
+ if (userId === undefined || userId === null) {
181
+ throw new Error("Missing the required parameter 'userId' when calling makeFloorPrivate");
182
+ }
183
+ // verify the required parameter 'appId' is set
184
+ if (appId === undefined || appId === null) {
185
+ throw new Error("Missing the required parameter 'appId' when calling makeFloorPrivate");
186
+ }
187
+ var pathParams = {
188
+ 'floor_id': floorId
189
+ };
190
+ var queryParams = {
191
+ 'user_id': userId,
192
+ 'app_id': appId
193
+ };
194
+ var headerParams = {};
195
+ var formParams = {};
196
+ var authNames = ['bearer'];
197
+ var contentTypes = [];
198
+ var accepts = ['application/json'];
199
+ var returnType = _EditFloor200Response["default"];
200
+ return this.apiClient.callApi('/api/memory/make/floor/private/{floor_id}', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
201
+ }
202
+
203
+ /**
204
+ * Callback function to receive the result of the makeFloorPublic operation.
205
+ * @callback module:api/FloorApi~makeFloorPublicCallback
206
+ * @param {String} error Error message, if any.
207
+ * @param {module:model/EditFloor200Response} data The data returned by the service call.
208
+ * @param {String} response The complete HTTP response.
209
+ */
210
+
211
+ /**
212
+ * Make floor public
213
+ * This API changes a floor’s visibility to **PUBLIC**. It is used when a floor owner wants to **make a private floor accessible to everyone**. After the update, the floor becomes public and can be viewed and discovered by any user, subject to platform rules (search, feeds, pods, etc.). This endpoint performs a **visibility state transition**: * **PRIVATE → PUBLIC** * If the floor is already public, the operation is treated as **idempotent** (no state change). This API is typically used from: * Floor settings → Privacy / Visibility controls * Owner or admin tools * Developer or pod-based applications using `app_id` --- ## Request Method `POST` --- ## Content-Type `application/x-www-form-urlencoded` (or `multipart/form-data`, depending on your implementation) --- ## Request Parameters (Form Fields) | Field | Type | Required | Description | | ---------- | ------ | -------- | ------------------------------------------------------------------------------- | | `user_id` | String | **Yes** | User requesting the change. Must be the **owner** of the floor. | | `floor_id` | String | **Yes** | Public identifier of the floor whose visibility is to be changed. | | `app_id` | String | No | Identifier of the calling application (used mainly for pod/developer contexts). | --- ## Authorization Rules (Critical) * The caller must be authenticated as `user_id` * **Only the floor owner** is allowed to change the floor’s visibility * Requests from non-owners must be rejected --- ## Behavior Rules * Converts floor visibility from **PRIVATE → PUBLIC** * Does not modify floor content, blocks, or ownership * Visibility change takes effect immediately ### Idempotency * If the floor is already public, the API should: * Return success with a message indicating no change, or * Return a specific “already public” status (implementation-dependent) --- ## Response Format `application/json` --- ## Sample Success Response ```json { \"status\": \"SUCCESS\", \"floor_id\": \"my_floor\", \"visibility\": \"PUBLIC\", \"message\": \"Floor is now public\" } ``` --- ## Sample No-Op Response (Already Public) ```json { \"status\": \"SUCCESS\", \"floor_id\": \"my_floor\", \"visibility\": \"PUBLIC\", \"message\": \"Floor is already public\" } ``` --- ## Error Responses (Examples) ### Not Authorized (Not Owner) ```json { \"status\": \"ERROR\", \"message\": \"Only the floor owner can change floor visibility\" } ``` --- ### Floor Not Found ```json { \"status\": \"ERROR\", \"message\": \"Floor not found\" } ``` --- ### Invalid Request ```json { \"status\": \"ERROR\", \"message\": \"user_id and floor_id are required\" } ``` --- ## Notes for Developers * This API controls **visibility only**. Membership, invitations, and moderation rules are handled by separate APIs. * `app_id` is optional and primarily used for developer-managed or pod floors. * Clients should refresh floor metadata (e.g., via `/api/floor/info`) after a successful visibility change. --- ### Mental Model (One Line) > **This API answers: “Make this floor visible to everyone.”**
214
+ * @param {String} floorId
215
+ * @param {String} userId User ID
216
+ * @param {String} appId App ID
217
+ * @param {module:api/FloorApi~makeFloorPublicCallback} callback The callback function, accepting three arguments: error, data, response
218
+ * data is of type: {@link module:model/EditFloor200Response}
219
+ */
220
+ }, {
221
+ key: "makeFloorPublic",
222
+ value: function makeFloorPublic(floorId, userId, appId, callback) {
223
+ var postBody = null;
224
+ // verify the required parameter 'floorId' is set
225
+ if (floorId === undefined || floorId === null) {
226
+ throw new Error("Missing the required parameter 'floorId' when calling makeFloorPublic");
227
+ }
228
+ // verify the required parameter 'userId' is set
229
+ if (userId === undefined || userId === null) {
230
+ throw new Error("Missing the required parameter 'userId' when calling makeFloorPublic");
231
+ }
232
+ // verify the required parameter 'appId' is set
233
+ if (appId === undefined || appId === null) {
234
+ throw new Error("Missing the required parameter 'appId' when calling makeFloorPublic");
235
+ }
236
+ var pathParams = {
237
+ 'floor_id': floorId
238
+ };
239
+ var queryParams = {
240
+ 'user_id': userId,
241
+ 'app_id': appId
242
+ };
243
+ var headerParams = {};
244
+ var formParams = {};
245
+ var authNames = ['bearer'];
246
+ var contentTypes = [];
247
+ var accepts = ['application/json'];
248
+ var returnType = _EditFloor200Response["default"];
249
+ return this.apiClient.callApi('/api/memory/make/floor/public/{floor_id}', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
250
+ }
251
+
252
+ /**
253
+ * Callback function to receive the result of the renameFloor operation.
254
+ * @callback module:api/FloorApi~renameFloorCallback
255
+ * @param {String} error Error message, if any.
256
+ * @param {module:model/EditFloor200Response} data The data returned by the service call.
257
+ * @param {String} response The complete HTTP response.
258
+ */
259
+
260
+ /**
261
+ * Rename floor
262
+ * This API renames a floor by changing knowing the **floor identifier (floor_id)**. It allows the **floor owner** to update the public-facing floor ID (slug/handle) from an old value to a new value. This is typically used when the owner wants to rebrand, reorganize, or correct the floor’s identifier. ⚠️ **This operation affects how the floor is accessed and referenced externally**, so it must be performed carefully. --- ## Ownership & Authorization (Critical) * The caller **must be authenticated** * **Only the floor owner** is allowed to rename a floor * Members, followers, or non-owners **cannot** perform this operation * Ownership is validated internally using `user_id` > If the user is not the owner, the request must be rejected. --- ## Request Method `POST` --- ## Content-Type `application/x-www-form-urlencoded` (or equivalent form-data encoding) --- ## Request Parameters (Form Fields) | Parameter | Type | Required | Description | | --------- | ------ | -------- | ------------------------------------------------------------------------------- | | `user_id` | String | **Yes** | User requesting the rename. Must be the **owner** of the floor. | | `from` | String | **Yes** | Existing floor ID (current identifier to be renamed). | | `to` | String | **Yes** | New floor ID to assign to the floor. | | `app_id` | String | No | Identifier of the calling application (used mainly for pod/developer contexts). | --- ## Rename Rules & Constraints * The `from` floor ID **must exist** * The `to` floor ID **must be unique** and not already in use * The rename operation updates **only the floor ID** * Floor ownership, blocks, posts, and internal `fid` remain unchanged * Any links or references using the old floor ID may no longer be valid after rename --- ## Behavior Summary | Scenario | Result | | ---------------------------- | ------------------------------------------------- | | Valid owner + unique new ID | Floor ID renamed successfully | | Non-owner user | Request rejected | | `from` floor ID not found | Error | | `to` floor ID already exists | Error | | `from` == `to` | No-op or validation error (implementation choice) | --- ## Response Format `application/json` --- ## Sample Success Response ```json { \"status\": \"SUCCESS\", \"old_floor_id\": \"oldfloorid\", \"new_floor_id\": \"newfloorid\", \"message\": \"Floor ID renamed successfully\" } ``` --- ## Sample Error Responses ### Not Floor Owner ```json { \"status\": \"ERROR\", \"message\": \"Only the floor owner can rename the floor\" } ``` --- ### Floor Not Found ```json { \"status\": \"ERROR\", \"message\": \"Source floor ID does not exist\" } ``` --- ### Floor ID Already Exists ```json { \"status\": \"ERROR\", \"message\": \"Target floor ID is already in use\" } ``` --- ### Invalid Request ```json { \"status\": \"ERROR\", \"message\": \"user_id, from, and to are required\" } ``` --- ## Notes for Developers * This API **renames the public identifier only**; the internal immutable floor ID (`fid`) is not affected. * Clients should refresh cached floor metadata after a successful rename. * If your platform supports deep links or bookmarks, consider redirect or alias handling for old floor IDs (if supported). --- ### One-Line Mental Model > **This API answers: “Change the public identity (ID) of a floor, owner-only.”**
263
+ * @param {String} userId User ID
264
+ * @param {String} appId App ID
265
+ * @param {String} from Old floor ID
266
+ * @param {String} to New floor ID
267
+ * @param {module:api/FloorApi~renameFloorCallback} callback The callback function, accepting three arguments: error, data, response
268
+ * data is of type: {@link module:model/EditFloor200Response}
269
+ */
270
+ }, {
271
+ key: "renameFloor",
272
+ value: function renameFloor(userId, appId, from, to, callback) {
273
+ var postBody = null;
274
+ // verify the required parameter 'userId' is set
275
+ if (userId === undefined || userId === null) {
276
+ throw new Error("Missing the required parameter 'userId' when calling renameFloor");
277
+ }
278
+ // verify the required parameter 'appId' is set
279
+ if (appId === undefined || appId === null) {
280
+ throw new Error("Missing the required parameter 'appId' when calling renameFloor");
281
+ }
282
+ // verify the required parameter 'from' is set
283
+ if (from === undefined || from === null) {
284
+ throw new Error("Missing the required parameter 'from' when calling renameFloor");
285
+ }
286
+ // verify the required parameter 'to' is set
287
+ if (to === undefined || to === null) {
288
+ throw new Error("Missing the required parameter 'to' when calling renameFloor");
289
+ }
290
+ var pathParams = {};
291
+ var queryParams = {
292
+ 'user_id': userId,
293
+ 'app_id': appId,
294
+ 'from': from,
295
+ 'to': to
296
+ };
297
+ var headerParams = {};
298
+ var formParams = {};
299
+ var authNames = ['bearer'];
300
+ var contentTypes = [];
301
+ var accepts = ['application/json'];
302
+ var returnType = _EditFloor200Response["default"];
303
+ return this.apiClient.callApi('/api/memory/change/floor/id', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
304
+ }
305
+ }]);
306
+ }();
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
31
31
  /**
32
32
  * Query service.
33
33
  * @module api/QueryApi
34
- * @version 1.0.20
34
+ * @version 1.0.22
35
35
  */
36
36
  var QueryApi = exports["default"] = /*#__PURE__*/function () {
37
37
  /**
package/dist/index.js CHANGED
@@ -9,6 +9,12 @@ Object.defineProperty(exports, "ApiClient", {
9
9
  return _ApiClient["default"];
10
10
  }
11
11
  });
12
+ Object.defineProperty(exports, "AuthApi", {
13
+ enumerable: true,
14
+ get: function get() {
15
+ return _AuthApi["default"];
16
+ }
17
+ });
12
18
  Object.defineProperty(exports, "BlockDetails", {
13
19
  enumerable: true,
14
20
  get: function get() {
@@ -21,10 +27,10 @@ Object.defineProperty(exports, "ChangePassword200Response", {
21
27
  return _ChangePassword200Response["default"];
22
28
  }
23
29
  });
24
- Object.defineProperty(exports, "DefaultApi", {
30
+ Object.defineProperty(exports, "EditFloor200Response", {
25
31
  enumerable: true,
26
32
  get: function get() {
27
- return _DefaultApi["default"];
33
+ return _EditFloor200Response["default"];
28
34
  }
29
35
  });
30
36
  Object.defineProperty(exports, "EditFloor400Response", {
@@ -39,12 +45,6 @@ Object.defineProperty(exports, "EditFloor400ResponseError", {
39
45
  return _EditFloor400ResponseError["default"];
40
46
  }
41
47
  });
42
- Object.defineProperty(exports, "EditFloorApi", {
43
- enumerable: true,
44
- get: function get() {
45
- return _EditFloorApi["default"];
46
- }
47
- });
48
48
  Object.defineProperty(exports, "Event400Response", {
49
49
  enumerable: true,
50
50
  get: function get() {
@@ -69,22 +69,16 @@ Object.defineProperty(exports, "EventResponse", {
69
69
  return _EventResponse["default"];
70
70
  }
71
71
  });
72
- Object.defineProperty(exports, "FloorInfo", {
73
- enumerable: true,
74
- get: function get() {
75
- return _FloorInfo["default"];
76
- }
77
- });
78
- Object.defineProperty(exports, "GetFloorInformation200Response", {
72
+ Object.defineProperty(exports, "FloorApi", {
79
73
  enumerable: true,
80
74
  get: function get() {
81
- return _GetFloorInformation200Response["default"];
75
+ return _FloorApi["default"];
82
76
  }
83
77
  });
84
- Object.defineProperty(exports, "GetFloorInformationApi", {
78
+ Object.defineProperty(exports, "FloorInfo", {
85
79
  enumerable: true,
86
80
  get: function get() {
87
- return _GetFloorInformationApi["default"];
81
+ return _FloorInfo["default"];
88
82
  }
89
83
  });
90
84
  Object.defineProperty(exports, "GetRecentEvents200Response", {
@@ -117,12 +111,6 @@ Object.defineProperty(exports, "GetRecentEvents400ResponseError", {
117
111
  return _GetRecentEvents400ResponseError["default"];
118
112
  }
119
113
  });
120
- Object.defineProperty(exports, "GetRecentEventsApi", {
121
- enumerable: true,
122
- get: function get() {
123
- return _GetRecentEventsApi["default"];
124
- }
125
- });
126
114
  Object.defineProperty(exports, "Media", {
127
115
  enumerable: true,
128
116
  get: function get() {
@@ -201,46 +189,46 @@ Object.defineProperty(exports, "SendValidationCode200Response", {
201
189
  return _SendValidationCode200Response["default"];
202
190
  }
203
191
  });
204
- Object.defineProperty(exports, "SignInWithEmail200Response", {
192
+ Object.defineProperty(exports, "SignInResponse", {
205
193
  enumerable: true,
206
194
  get: function get() {
207
- return _SignInWithEmail200Response["default"];
195
+ return _SignInResponse["default"];
208
196
  }
209
197
  });
210
- Object.defineProperty(exports, "SignInWithEmail200ResponsePodInfo", {
198
+ Object.defineProperty(exports, "SignUp200Response", {
211
199
  enumerable: true,
212
200
  get: function get() {
213
- return _SignInWithEmail200ResponsePodInfo["default"];
201
+ return _SignUp200Response["default"];
214
202
  }
215
203
  });
216
- Object.defineProperty(exports, "SignInWithEmail200ResponseProfile", {
204
+ Object.defineProperty(exports, "SignUpResponse", {
217
205
  enumerable: true,
218
206
  get: function get() {
219
- return _SignInWithEmail200ResponseProfile["default"];
207
+ return _SignUpResponse["default"];
220
208
  }
221
209
  });
222
- Object.defineProperty(exports, "SignInWithEmail200ResponseProfileAvatar", {
210
+ Object.defineProperty(exports, "UserDetails", {
223
211
  enumerable: true,
224
212
  get: function get() {
225
- return _SignInWithEmail200ResponseProfileAvatar["default"];
213
+ return _UserDetails["default"];
226
214
  }
227
215
  });
228
- Object.defineProperty(exports, "SignUp200Response", {
216
+ Object.defineProperty(exports, "UserDetailsPodInfo", {
229
217
  enumerable: true,
230
218
  get: function get() {
231
- return _SignUp200Response["default"];
219
+ return _UserDetailsPodInfo["default"];
232
220
  }
233
221
  });
234
- Object.defineProperty(exports, "SignUpResponse", {
222
+ Object.defineProperty(exports, "UserDetailsProfile", {
235
223
  enumerable: true,
236
224
  get: function get() {
237
- return _SignUpResponse["default"];
225
+ return _UserDetailsProfile["default"];
238
226
  }
239
227
  });
240
- Object.defineProperty(exports, "UserDetails", {
228
+ Object.defineProperty(exports, "UserDetailsProfileAvatar", {
241
229
  enumerable: true,
242
230
  get: function get() {
243
- return _UserDetails["default"];
231
+ return _UserDetailsProfileAvatar["default"];
244
232
  }
245
233
  });
246
234
  Object.defineProperty(exports, "ValidateCode400Response", {
@@ -264,13 +252,13 @@ Object.defineProperty(exports, "ValidateCode412Response", {
264
252
  var _ApiClient = _interopRequireDefault(require("./ApiClient"));
265
253
  var _BlockDetails = _interopRequireDefault(require("./model/BlockDetails"));
266
254
  var _ChangePassword200Response = _interopRequireDefault(require("./model/ChangePassword200Response"));
255
+ var _EditFloor200Response = _interopRequireDefault(require("./model/EditFloor200Response"));
267
256
  var _EditFloor400Response = _interopRequireDefault(require("./model/EditFloor400Response"));
268
257
  var _EditFloor400ResponseError = _interopRequireDefault(require("./model/EditFloor400ResponseError"));
269
258
  var _Event400Response = _interopRequireDefault(require("./model/Event400Response"));
270
259
  var _Event400ResponseError = _interopRequireDefault(require("./model/Event400ResponseError"));
271
260
  var _EventResponse = _interopRequireDefault(require("./model/EventResponse"));
272
261
  var _FloorInfo = _interopRequireDefault(require("./model/FloorInfo"));
273
- var _GetFloorInformation200Response = _interopRequireDefault(require("./model/GetFloorInformation200Response"));
274
262
  var _GetRecentEvents200Response = _interopRequireDefault(require("./model/GetRecentEvents200Response"));
275
263
  var _GetRecentEvents200ResponseItemsInner = _interopRequireDefault(require("./model/GetRecentEvents200ResponseItemsInner"));
276
264
  var _GetRecentEvents200ResponseItemsInnerAuthor = _interopRequireDefault(require("./model/GetRecentEvents200ResponseItemsInnerAuthor"));
@@ -288,20 +276,18 @@ var _Remaining = _interopRequireDefault(require("./model/Remaining"));
288
276
  var _ResetPassword200Response = _interopRequireDefault(require("./model/ResetPassword200Response"));
289
277
  var _ResetPassword400Response = _interopRequireDefault(require("./model/ResetPassword400Response"));
290
278
  var _SendValidationCode200Response = _interopRequireDefault(require("./model/SendValidationCode200Response"));
291
- var _SignInWithEmail200Response = _interopRequireDefault(require("./model/SignInWithEmail200Response"));
292
- var _SignInWithEmail200ResponsePodInfo = _interopRequireDefault(require("./model/SignInWithEmail200ResponsePodInfo"));
293
- var _SignInWithEmail200ResponseProfile = _interopRequireDefault(require("./model/SignInWithEmail200ResponseProfile"));
294
- var _SignInWithEmail200ResponseProfileAvatar = _interopRequireDefault(require("./model/SignInWithEmail200ResponseProfileAvatar"));
279
+ var _SignInResponse = _interopRequireDefault(require("./model/SignInResponse"));
295
280
  var _SignUp200Response = _interopRequireDefault(require("./model/SignUp200Response"));
296
281
  var _SignUpResponse = _interopRequireDefault(require("./model/SignUpResponse"));
297
282
  var _UserDetails = _interopRequireDefault(require("./model/UserDetails"));
283
+ var _UserDetailsPodInfo = _interopRequireDefault(require("./model/UserDetailsPodInfo"));
284
+ var _UserDetailsProfile = _interopRequireDefault(require("./model/UserDetailsProfile"));
285
+ var _UserDetailsProfileAvatar = _interopRequireDefault(require("./model/UserDetailsProfileAvatar"));
298
286
  var _ValidateCode400Response = _interopRequireDefault(require("./model/ValidateCode400Response"));
299
287
  var _ValidateCode400ResponseError = _interopRequireDefault(require("./model/ValidateCode400ResponseError"));
300
288
  var _ValidateCode412Response = _interopRequireDefault(require("./model/ValidateCode412Response"));
301
- var _DefaultApi = _interopRequireDefault(require("./api/DefaultApi"));
302
- var _EditFloorApi = _interopRequireDefault(require("./api/EditFloorApi"));
289
+ var _AuthApi = _interopRequireDefault(require("./api/AuthApi"));
303
290
  var _EventApi = _interopRequireDefault(require("./api/EventApi"));
304
- var _GetFloorInformationApi = _interopRequireDefault(require("./api/GetFloorInformationApi"));
305
- var _GetRecentEventsApi = _interopRequireDefault(require("./api/GetRecentEventsApi"));
291
+ var _FloorApi = _interopRequireDefault(require("./api/FloorApi"));
306
292
  var _QueryApi = _interopRequireDefault(require("./api/QueryApi"));
307
293
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
31
31
  /**
32
32
  * The BlockDetails model module.
33
33
  * @module model/BlockDetails
34
- * @version 1.0.20
34
+ * @version 1.0.22
35
35
  */
36
36
  var BlockDetails = /*#__PURE__*/function () {
37
37
  /**
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
31
31
  /**
32
32
  * The ChangePassword200Response model module.
33
33
  * @module model/ChangePassword200Response
34
- * @version 1.0.20
34
+ * @version 1.0.22
35
35
  */
36
36
  var ChangePassword200Response = /*#__PURE__*/function () {
37
37
  /**